@arcgis/charts-components 5.0.0-next.122 → 5.0.0-next.124
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/{BPAX5LDZ.js → 2D5EDHYN.js} +2 -2
- package/dist/cdn/{BXJDGM4L.js → 2MS2UCMT.js} +2 -2
- package/dist/cdn/{Q6ZSMRXV.js → 2YH4S6R2.js} +2 -2
- package/dist/cdn/{NNZ5JOFW.js → 3GNZ6W5K.js} +2 -2
- package/dist/cdn/{TILDF2IQ.js → 3KHBL2HS.js} +2 -2
- package/dist/cdn/{6UPOP73K.js → 3PPWCDCJ.js} +2 -2
- package/dist/cdn/{SE5HOGZZ.js → 3X7QLZLE.js} +2 -2
- package/dist/cdn/{3HGC7PGI.js → 3YX74DF2.js} +1 -1
- package/dist/cdn/{2DKYAYHY.js → 43UQ4RML.js} +2 -2
- package/dist/cdn/{HJKT3XJL.js → 44SCILTL.js} +2 -2
- package/dist/cdn/{4DQIBSFO.js → 4C222VDK.js} +2 -2
- package/dist/cdn/{UMXPXELL.js → 4HCLTLQ4.js} +2 -2
- package/dist/cdn/{JKWTT3AE.js → 4JNZBZMT.js} +2 -2
- package/dist/cdn/{GES2WEH5.js → 4WWFFD7Q.js} +2 -2
- package/dist/cdn/{BPMT42MN.js → 55FUE6UE.js} +2 -2
- package/dist/cdn/{T2JMM7SD.js → 57CI5J4N.js} +2 -2
- package/dist/cdn/{I5HIC2IK.js → 5IQIHGWP.js} +2 -2
- package/dist/cdn/{YM3KNT3I.js → 5IZCBNLA.js} +2 -2
- package/dist/cdn/{AJBYT4MH.js → 5PC6AV3A.js} +2 -2
- package/dist/cdn/{BW4EOPPJ.js → 5VUKOFOE.js} +2 -2
- package/dist/cdn/{HOZ44UTB.js → 5X46EGJ4.js} +2 -2
- package/dist/cdn/{QBKDVOYP.js → 5ZQNHXXD.js} +2 -2
- package/dist/cdn/{XU523TMP.js → 655OVJFP.js} +2 -2
- package/dist/cdn/{56MKGEI5.js → 6CTF3LVX.js} +2 -2
- package/dist/cdn/{B3TZI4Z5.js → 6HRJYONF.js} +2 -2
- package/dist/cdn/{GHR74V5R.js → 6QNIVBNW.js} +2 -2
- package/dist/cdn/{QRNWBX73.js → 6RWCW3UO.js} +2 -2
- package/dist/cdn/{HNPJXXBV.js → 6XX34RTG.js} +2 -2
- package/dist/cdn/{SJAXE5EO.js → 76LO3EHS.js} +2 -2
- package/dist/cdn/{JW6GZE4C.js → 7EW6LYPG.js} +2 -2
- package/dist/cdn/{KVJPDC7D.js → 7IJWGHYS.js} +2 -2
- package/dist/cdn/{AIOTWK6M.js → 7RH3XZWT.js} +2 -2
- package/dist/cdn/{66CNCEJE.js → 7SRXBXPZ.js} +1 -1
- package/dist/cdn/AOKVSUIH.js +4 -0
- package/dist/cdn/{M7YXARDE.js → AOX55UWJ.js} +2 -2
- package/dist/cdn/{IURE5EFW.js → ATHPEPG3.js} +2 -2
- package/dist/cdn/{DWS64R4Z.js → B7CIWHRP.js} +2 -2
- package/dist/cdn/{BENVAVQA.js → BGA7WGKS.js} +2 -2
- package/dist/cdn/{MBAY4KQ2.js → BGQBSD5V.js} +2 -2
- package/dist/cdn/{GFPDR527.js → BM2LI7QH.js} +2 -2
- package/dist/cdn/{VGDXVARE.js → BYMWEK3G.js} +2 -2
- package/dist/cdn/{QGXQOAKT.js → BZPIEEDJ.js} +2 -2
- package/dist/cdn/{7TI756JI.js → C4OWDLDM.js} +2 -2
- package/dist/cdn/{MAVN7C5Q.js → C7OKJYN7.js} +2 -2
- package/dist/cdn/{ZVTZUKHM.js → CNO7MVUY.js} +2 -2
- package/dist/cdn/{GIV53VKQ.js → CX4D6GWY.js} +2 -2
- package/dist/cdn/{6CMF3QZD.js → CZ4QFJN6.js} +2 -2
- package/dist/cdn/{KKN6FUWO.js → D34QFF3X.js} +2 -2
- package/dist/cdn/{WK7YR3NB.js → D5SH6HG6.js} +2 -2
- package/dist/cdn/{D3YZQVC6.js → DCCED6GZ.js} +2 -2
- package/dist/cdn/{ENIPA2F2.js → DJYAEAGR.js} +2 -2
- package/dist/cdn/{RFLJORXE.js → DMHAI37D.js} +2 -2
- package/dist/cdn/{QAQ3E2J3.js → DWPKUBVW.js} +2 -2
- package/dist/cdn/{EGYRMXXK.js → EGZMAYNW.js} +2 -2
- package/dist/cdn/{DIAU6PE2.js → EQEQE67W.js} +1 -1
- package/dist/cdn/{OPXOETVT.js → ESRJRU26.js} +2 -2
- package/dist/cdn/{7W2ZYXNQ.js → EZ2LYGYL.js} +2 -2
- package/dist/cdn/{LRGNHI7Z.js → F7NRRR3T.js} +2 -2
- package/dist/cdn/FE33CRUK.js +4 -0
- package/dist/cdn/{SASYKHLG.js → FMALP4BH.js} +2 -2
- package/dist/cdn/{KLELWDKV.js → FT3ZXFJE.js} +2 -2
- package/dist/cdn/{ELL34MS3.js → FZ4SJYZ6.js} +2 -2
- package/dist/cdn/{H7UFI7QG.js → G3GVJVSG.js} +2 -2
- package/dist/cdn/{AQRUZOOC.js → G3HDHYLX.js} +2 -2
- package/dist/cdn/{4EZSXQJ6.js → GBSVT554.js} +2 -2
- package/dist/cdn/{UAVJ57G4.js → GIZYIH77.js} +2 -2
- package/dist/cdn/{SB2HFPIW.js → GNNDUEVI.js} +2 -2
- package/dist/cdn/{U3Y2TAQK.js → GO4C26OI.js} +2 -2
- package/dist/cdn/{KFVVDOGP.js → GR3U6ZIK.js} +2 -2
- package/dist/cdn/{KR36UAHF.js → GRRFZGXJ.js} +2 -2
- package/dist/cdn/{GIQ4H3IF.js → GZRGFME2.js} +2 -2
- package/dist/cdn/{J6UTMEKL.js → HGRXTY54.js} +2 -2
- package/dist/cdn/{T4332JLO.js → HHH22MZL.js} +2 -2
- package/dist/cdn/{LHVANY6L.js → HVR7IPTU.js} +2 -2
- package/dist/cdn/{45NBJYSN.js → HXUD4YD5.js} +2 -2
- package/dist/cdn/{4ZXSIXV7.js → HZPY6DNK.js} +2 -2
- package/dist/cdn/{T47P5F2U.js → I7GCNDDT.js} +2 -2
- package/dist/cdn/{3I7CSGHN.js → IGM4UGTH.js} +2 -2
- package/dist/cdn/{JUXLJCTJ.js → IMDCZRKX.js} +2 -2
- package/dist/cdn/{4FKE3H45.js → IMQFKMPS.js} +2 -2
- package/dist/cdn/{OZ6M364D.js → IN6PWUNI.js} +2 -2
- package/dist/cdn/{OZKJYYCR.js → ISNET2BC.js} +2 -2
- package/dist/cdn/{TNJ4E46T.js → ITRLHIN6.js} +2 -2
- package/dist/cdn/{P36E2JPT.js → IVBO3UZX.js} +2 -2
- package/dist/cdn/{7LIY7YIW.js → JGPXA4KQ.js} +8 -8
- package/dist/cdn/{ZYFZMYSC.js → JI5RWIXQ.js} +2 -2
- package/dist/cdn/{UA3VD3FU.js → JJS3F6GU.js} +2 -2
- package/dist/cdn/{XSLDRJZS.js → JKVFIMBB.js} +1 -1
- package/dist/cdn/{2A6XWNKP.js → JLHG2CB2.js} +1 -1
- package/dist/cdn/{KQKOYGJT.js → JTYNPEFS.js} +2 -2
- package/dist/cdn/{IEL2CVEP.js → JWMIS654.js} +2 -2
- package/dist/cdn/{MP33O3E5.js → K5CBCSDB.js} +2 -2
- package/dist/cdn/{GZ24K7TJ.js → KHD7ZZ3C.js} +2 -2
- package/dist/cdn/{BZC625SA.js → KLP7IYTM.js} +2 -2
- package/dist/cdn/{6CPLWVI2.js → KPS2S4MH.js} +2 -2
- package/dist/cdn/{KQW7EHAP.js → KS4HIDA2.js} +2 -2
- package/dist/cdn/{PRXXVENS.js → KW7WUR52.js} +2 -2
- package/dist/cdn/{GK3ZOJTH.js → KWCCDTNA.js} +2 -2
- package/dist/cdn/{PZ47342P.js → LRKUFVPM.js} +2 -2
- package/dist/cdn/{SZXAREGY.js → LSHWTF42.js} +2 -2
- package/dist/cdn/{IJT7TD3Y.js → LTFM5NKH.js} +2 -2
- package/dist/cdn/{YIN7ARHE.js → M5R5MFMW.js} +2 -2
- package/dist/cdn/{3PJSFK4K.js → MC3M3JDB.js} +2 -2
- package/dist/cdn/{T274BL2P.js → MEKRZZV7.js} +2 -2
- package/dist/cdn/{CVCV4SE4.js → MI7MLBEV.js} +2 -2
- package/dist/cdn/{T6FFTSYS.js → ML67VUPG.js} +2 -2
- package/dist/cdn/{H22QEVL4.js → N4SMAGEG.js} +2 -2
- package/dist/cdn/{ATJ7MWFA.js → N4ZQJQAW.js} +2 -2
- package/dist/cdn/{23PRTKUU.js → N7MCHAWE.js} +2 -2
- package/dist/cdn/{QZFMHKXR.js → NJS62ZQP.js} +2 -2
- package/dist/cdn/{FAEG4QFH.js → NWAGI43Q.js} +2 -2
- package/dist/cdn/{TQYH77D3.js → NXLS44FO.js} +2 -2
- package/dist/cdn/{AKZ4CMJK.js → O2GMJWE4.js} +2 -2
- package/dist/cdn/{5LNPMUB6.js → O47JQDR4.js} +4 -4
- package/dist/cdn/{5FA5TBRL.js → O4QFRRKK.js} +2 -2
- package/dist/cdn/{HY2BJLIR.js → OCKE7CUE.js} +2 -2
- package/dist/cdn/OL36EBBK.js +4 -0
- package/dist/cdn/{IDV5ZOWS.js → OLETCYC4.js} +2 -2
- package/dist/cdn/{QTCRHJ26.js → OMBNC7SB.js} +2 -2
- package/dist/cdn/{JEU4AMXY.js → OMIIGK3F.js} +2 -2
- package/dist/cdn/{ZPIWJ5QC.js → OPI3SGBW.js} +2 -2
- package/dist/cdn/{2SQIRUQS.js → OXDG56YL.js} +2 -2
- package/dist/cdn/{RAE6544M.js → OYHNC2SA.js} +2 -2
- package/dist/cdn/{WGLSF6RP.js → P2EORQVS.js} +2 -2
- package/dist/cdn/{RT5J7AVA.js → PD4Q6GZE.js} +2 -2
- package/dist/cdn/{5NSWAD5Y.js → PXWSFT73.js} +2 -2
- package/dist/cdn/{IP52N6M7.js → QDNHFVAT.js} +2 -2
- package/dist/cdn/{PB7TFXRL.js → QNFRQUY2.js} +2 -2
- package/dist/cdn/{3BRBJQOB.js → QNMYBOGS.js} +2 -2
- package/dist/cdn/{QJEH5XOI.js → QOZYNDKK.js} +2 -2
- package/dist/cdn/{IAF2K6G2.js → QT5UYLQ4.js} +2 -2
- package/dist/cdn/{3HH7LGDI.js → QTD73XWY.js} +2 -2
- package/dist/cdn/{JQORYXNN.js → QU4A7QPE.js} +1 -1
- package/dist/cdn/{P67A3VUA.js → R2YNWG73.js} +2 -2
- package/dist/cdn/{M5WPEXU5.js → R36AM327.js} +2 -2
- package/dist/cdn/{KDG4GRFJ.js → R6OITWD5.js} +2 -2
- package/dist/cdn/{RVUKKCQ5.js → RATBUCY6.js} +2 -2
- package/dist/cdn/{XRHNPELK.js → RBSOFFDG.js} +2 -2
- package/dist/cdn/{MHGZBP24.js → RHEZNEQE.js} +2 -2
- package/dist/cdn/{46DDKTMT.js → RMU2CIGT.js} +2 -2
- package/dist/cdn/{UWV32QMG.js → RQ6S74GA.js} +2 -2
- package/dist/cdn/{FAFSWA4Y.js → RSPHI4BO.js} +2 -2
- package/dist/cdn/{2WZB5AM4.js → RUEIU24U.js} +2 -2
- package/dist/cdn/{GWTDBXS6.js → RUZY3A2W.js} +1 -1
- package/dist/cdn/{YQOGJGMJ.js → RWZIWFW2.js} +2 -2
- package/dist/cdn/{2O43QSDU.js → RXXCTZJV.js} +2 -2
- package/dist/cdn/{NQJ67Z4L.js → S3UD7LY2.js} +2 -2
- package/dist/cdn/{DC6DZYH4.js → S5ELHZKG.js} +2 -2
- package/dist/cdn/{JQTJGQ27.js → SC76G3QP.js} +2 -2
- package/dist/cdn/{SEVBIYWO.js → SDYHRUT5.js} +2 -2
- package/dist/cdn/{PDRAFFHM.js → SJVORS7J.js} +2 -2
- package/dist/cdn/{QCCD2LM7.js → SMRIUQDY.js} +2 -2
- package/dist/cdn/{2IPP3LAG.js → STA72KQH.js} +2 -2
- package/dist/cdn/{DD7WE3XJ.js → SUJSBDM5.js} +2 -2
- package/dist/cdn/{RSEKIBA5.js → T4N4JEIW.js} +2 -2
- package/dist/cdn/{YXKZ5KSO.js → THVLXND3.js} +2 -2
- package/dist/cdn/{WHSBOFFX.js → THZM3X2A.js} +2 -2
- package/dist/cdn/{VM7CEYYR.js → TMNXZ2P2.js} +2 -2
- package/dist/cdn/{IHTVJWFX.js → TTGW7K5G.js} +2 -2
- package/dist/cdn/{VO765B3C.js → UCWBWNTL.js} +2 -2
- package/dist/cdn/{46VHFQUG.js → UEM3MUED.js} +2 -2
- package/dist/cdn/{325AT5IA.js → ULU4K6SN.js} +2 -2
- package/dist/cdn/{PQJFSRIT.js → USGO4QRN.js} +2 -2
- package/dist/cdn/{PBLIXD2C.js → UX5AAEZQ.js} +2 -2
- package/dist/cdn/{LGQX6AM6.js → V2RBEV67.js} +2 -2
- package/dist/cdn/{23QHNUZR.js → V4C25BVV.js} +2 -2
- package/dist/cdn/{DECT22AJ.js → V64AI4RB.js} +2 -2
- package/dist/cdn/{GBT4RHT2.js → VSNSRQWP.js} +2 -2
- package/dist/cdn/{4VGG34MI.js → VSOUQS2X.js} +2 -2
- package/dist/cdn/{SGC2SEEM.js → VWQJJEWQ.js} +2 -2
- package/dist/cdn/{CRR7EVCF.js → WJ4LHER2.js} +2 -2
- package/dist/cdn/{2CZEQWZJ.js → WKJSDXQI.js} +2 -2
- package/dist/cdn/{PV5FWCDN.js → XELT5Y3X.js} +2 -2
- package/dist/cdn/{OKXLAW2C.js → XUAJX5PS.js} +2 -2
- package/dist/cdn/{FUHN7NNH.js → YGWW67SB.js} +2 -2
- package/dist/cdn/{6NVTUKFH.js → YS2FXGAU.js} +2 -2
- package/dist/cdn/{3HHUNWVG.js → YTQZKWA6.js} +2 -2
- package/dist/cdn/{QULEP6QF.js → YUS4PQGH.js} +2 -2
- package/dist/cdn/{6FUSBAG3.js → YUUP7TFJ.js} +1 -1
- package/dist/cdn/{OMGWR5KZ.js → YVMTYOW2.js} +2 -2
- package/dist/cdn/{3GAAVHTW.js → YZZRXAD4.js} +2 -2
- package/dist/cdn/{JGIFVK2C.js → ZFDJUSVB.js} +2 -2
- package/dist/cdn/{ECIDH67O.js → ZOQ5F4KQ.js} +2 -2
- package/dist/cdn/{EYNVBXNH.js → ZPTBU5IU.js} +2 -2
- package/dist/cdn/{QEPVBOOE.js → ZTT6BCX2.js} +2 -2
- package/dist/cdn/{7GCHSTZF.js → ZV37BEXJ.js} +2 -2
- package/dist/cdn/{YXHDJVQY.js → ZZJJZZFN.js} +2 -2
- package/dist/cdn/assets/common/t9n/messages.en.json +1 -1
- package/dist/cdn/index.js +2 -2
- package/dist/chunks/action-bar-utils.js +1 -1
- package/dist/chunks/axis-lines-symbol.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/bg_BG.js +1 -1
- package/dist/chunks/bg_BG2.js +1 -1
- package/dist/chunks/box-plot-data.js +1 -1
- package/dist/chunks/box-plot-model.js +1 -1
- package/dist/chunks/chart-ui-utils.js +12 -8
- package/dist/chunks/chart-ui-utils2.js +1 -1
- package/dist/chunks/class-breaks.js +1 -1
- package/dist/chunks/combo-bar-line-chart-model.js +1 -1
- package/dist/chunks/common.js +1 -1
- package/dist/chunks/data-labels-symbol.js +1 -1
- package/dist/chunks/data-labels-visibility.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/generate-x-axis-title.js +1 -1
- package/dist/chunks/heat-chart-model.js +77 -65
- package/dist/chunks/histogram-data.js +1 -1
- package/dist/chunks/histogram-model.js +1 -1
- package/dist/chunks/index.js +1359 -1381
- 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/line-chart-model.js +1 -1
- package/dist/chunks/model-setter.js +1 -1
- package/dist/chunks/model-with-multi-axes.js +1 -1
- package/dist/chunks/negative-values-stacked-to-baseline.js +1 -1
- package/dist/chunks/pie-chart-data.js +1 -1
- package/dist/chunks/pie-chart-model.js +1 -1
- package/dist/chunks/popover-ui-utils.js +1 -1
- package/dist/chunks/radar-chart-model.js +1 -1
- package/dist/chunks/resource.js +1 -1
- package/dist/chunks/rest-js-object-literals.js +1 -1
- package/dist/chunks/rotated-state.js +1 -1
- package/dist/chunks/runtime.js +1 -1
- package/dist/chunks/scatterplot-model.js +1 -1
- package/dist/chunks/serial-chart-data.js +192 -186
- package/dist/chunks/serial-chart-model.js +1 -1
- package/dist/chunks/series-types.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/utils.js +1 -1
- package/dist/chunks/utils2.js +1 -1
- package/dist/chunks/web-component-utils.js +1 -1
- package/dist/chunks/x-axis-labels-visibility.js +1 -1
- package/dist/components/arcgis-chart/customElement.d.ts +22 -16
- package/dist/components/arcgis-chart/customElement.js +389 -389
- package/dist/components/arcgis-charts-action-bar/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-axes/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-axis/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-bar-chart/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-bar-chart-data/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-bar-chart-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-bar-chart-series/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-bar-chart-series-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-box-plot/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-box-plot-data/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-box-plot-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-box-plot-series/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-box-plot-series-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-category-format/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-chart-rename-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-color-style/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-colors/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-create-flow/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-field-select/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-font-style/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-format/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-format-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-general/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-guide/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-guide-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-guides/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-guides-type-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-heat-chart/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-heat-chart-data/customElement.js +79 -75
- package/dist/components/arcgis-charts-config-heat-chart-data/index.d.ts +1 -0
- package/dist/components/arcgis-charts-config-heat-chart-data/index.js +1 -0
- package/dist/components/arcgis-charts-config-heat-chart-popover/customElement.js +35 -35
- package/dist/components/arcgis-charts-config-histogram/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-histogram-data/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-histogram-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-invalid-input-message/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-line-chart/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-line-chart-data/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-line-chart-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-line-chart-series/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-line-chart-series-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-line-style/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-number-format/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-pie-chart/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-pie-chart-data/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-pie-chart-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-pie-chart-slices/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-pie-chart-slices-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-scatter-plot/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-scatter-plot-data/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-scatter-plot-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-select-chart-type-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-view-charts/customElement.js +1 -1
- package/dist/docs/api.json +2 -2
- package/dist/docs/docs.json +2 -2
- package/dist/docs/web-types.json +1 -1
- package/dist/index.js +1 -1
- package/dist/loader.js +1 -1
- package/dist/model/heat-chart-model/utils/heat-chart-data.d.ts +16 -6
- package/dist/model.js +1 -1
- package/dist/utils/localization/interfaces.d.ts +22 -16
- package/package.json +3 -3
- package/dist/cdn/5CWLAPP6.js +0 -4
- package/dist/cdn/B35ILGAZ.js +0 -4
- package/dist/cdn/WJ6COA54.js +0 -4
|
@@ -3,18 +3,18 @@ import * as ai from "@arcgis/core/core/reactiveUtils.js";
|
|
|
3
3
|
import { substitute as Ia } from "@arcgis/core/intl.js";
|
|
4
4
|
import Jn from "@arcgis/core/layers/FeatureLayer.js";
|
|
5
5
|
import { LitElement as Mm, createEvent as mt, safeClassMap as nl } from "@arcgis/lumina";
|
|
6
|
-
import { unsafeGetElementDirection as Vs, unsafeGetCalciteModeName as
|
|
6
|
+
import { unsafeGetElementDirection as Vs, unsafeGetCalciteModeName as Pm, observeAncestorsMutation as Nm } from "@arcgis/toolkit/dom";
|
|
7
7
|
import { log as Vm } from "@arcgis/toolkit/log";
|
|
8
8
|
import Wm from "html2canvas";
|
|
9
9
|
import Em from "jszip";
|
|
10
10
|
import { html as Uo, css as Hm } from "lit";
|
|
11
11
|
import { createRef as zm, ref as sl } from "lit/directives/ref.js";
|
|
12
12
|
import { cloneDeep as Ie, debounce as pt, isEqual as wa, isEmpty as La } from "lodash-es";
|
|
13
|
-
import { o as Y, de as
|
|
14
|
-
import { color as mo, percent as st, LinePattern as hc, RectanglePattern as Bg, p50 as be, p0 as Ge, p100 as he, Label as Ot, Rectangle as go, DateFormatter as Mg, NumberFormatter as pc, Series as Cn, Bullet as $i, Tooltip as _i, Graphics as Rt, Color as
|
|
13
|
+
import { o as Y, de as P, d as ni, dp as Fi, dj as z, dq as sa, av as ii, cX as Ve, b8 as Ko, ao as Fo, dr as A, ds as Ft, aB as ea, ap as Ws, dt as mn, du as Dd, dv as Od, dw as si, c$ as Se, l as Gm, k as Ai, j as Ti, am as $a, ah as K, a8 as ye, dx as Xm, ax as Be, a2 as j, dy as bi, d5 as qe, dz as Vt, dA as ri, dB as Es, bK as Ym, bL as Um, cT as Zt, cE as bt, bJ as ra, dC as co, cV as Rd, p as Ea, dD as ui, dE as xt, aL as Hs, aN as Bd, dg as Da, dF as Gt, cZ as Md, ac as zs, O as De, dG as dt, dH as Pd, cR as ft, aW as Nd, aX as qm, aM as Vd, cQ as ki, dI as Dt, dJ as Ha, df as Pe, dK as uo, d3 as Wd, dL as jm, dk as gn, dM as la, dN as _m, dO as rl, bl as Zm, c9 as Ed, dP as Hd, dQ as fi, aa as Ii, cx as Gs, bG as It, cr as yi, dR as zd, cs as Oa, dS as Gd, bB as gi, dT as Xd, dU as Yd, dV as Ud, dW as Qo, bQ as Xs, cL as qd, dX as jd, dY as Ys, aw as Us, dZ as Ao, a6 as wi, af as hn, d_ as _d, ae as Km, d$ as qs, a5 as js, e0 as Qm, e1 as ll, e2 as za, e3 as Ui, aI as pn, e4 as To, a3 as es, e5 as qi, e6 as Jm, b4 as Zd, e7 as _s, aT as Zs, a7 as fo, aV as Kd, aU as Qd, e8 as Ks, e9 as Jd, a as Fa, as as ec, dh as wt, bP as tc, dm as bn, ea as ic, eb as ac, ad as oc, a1 as hi, ec as nc, ed as Ga, ee as Si, ef as ji, cM as yn, eg as sc, bC as no, K as eg, L as rc, w as lc, x as tg, P as Qs, Q as ig, H as dc, R as ag, S as og, eh as Js, C as ng, A as sg, z as rg, B as lg, s as dg, ei as cc, h as uc, D as ms, ej as Sn, ek as er, bs as fc, ay as cg, el as ug, Y as gs, a9 as fg, cc as mg, cH as mc, em as gc, en as gg, I as hg, J as pg, cS as dl, M as bg, N as yg, cW as Sg, q as Cg, G as xg, F as vg, eo as Lg, T as Fg, aA as to, az as No, bF as hs, cD as Vo, Z as va, r as Ag, bE as Tg, ep as cl, d4 as kg, $ as Ig, eq as wg, er as $g, es as Dg, b_ as ul, g as Og, cI as Rg } from "../../chunks/index.js";
|
|
14
|
+
import { color as mo, percent as st, LinePattern as hc, RectanglePattern as Bg, p50 as be, p0 as Ge, p100 as he, Label as Ot, Rectangle as go, DateFormatter as Mg, NumberFormatter as pc, Series as Cn, Bullet as $i, Tooltip as _i, Graphics as Rt, Color as Pg, Container as oi, HeatLegend as Jo, LinearGradient as Ng, Legend as tr, Scrollbar as ps, SerialChart as Ra, Template as Xa, time as Vg, RoundedRectangle as ho, Slice as Ba, Timezone as Wg, DataItem as Eg, Modal as Hg, addLicense as zg, registry as Gg, Root as Xg } from "@amcharts/amcharts5";
|
|
15
15
|
import { PieChart as _t, PieSeries as yt } from "@amcharts/amcharts5/percent.js";
|
|
16
16
|
import { AxisRendererCircular as Kt, RadarCursor as ir, ClockHand as bs, RadarChart as Ei, AxisRendererRadial as Yg, RadarLineSeries as ar } from "@amcharts/amcharts5/radar.js";
|
|
17
|
-
import { XYChart as pe, AxisRendererX as Bt, LineSeries as Ce, XYCursor as bc, ColumnSeries as
|
|
17
|
+
import { XYChart as pe, AxisRendererX as Bt, LineSeries as Ce, XYCursor as bc, ColumnSeries as Ne, CategoryAxis as rt, StepLineSeries as xn, CandlestickSeries as da, DateAxis as Ye, ValueAxis as Ae, XYSeries as or, AxisRendererY as Hi, AxisBullet as Ug } from "@amcharts/amcharts5/xy.js";
|
|
18
18
|
import { getElementLocale as vn } from "@arcgis/toolkit/intl";
|
|
19
19
|
import { d as X, W as y, e as Oe, S as yc, a as Yt, i as Le, j as Ut, l as Aa, w as E, g as Ln, r as fl, x as qg, o as ke, s as ml, m as Sc, h as gl, q as Ta, p as jg } from "../../chunks/series-types.js";
|
|
20
20
|
import "@arcgis/core/geometry/support/jsonUtils.js";
|
|
@@ -58,7 +58,7 @@ import { L as ys, b as Ss, c as Cs, S as qo, V as jo, A as Fl, E as Wo } from ".
|
|
|
58
58
|
import { createModel as Oh } from "../../model.js";
|
|
59
59
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
60
60
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
61
|
-
v5.0.0-next.
|
|
61
|
+
v5.0.0-next.124 */
|
|
62
62
|
var Eo = { exports: {} }, ns, Al;
|
|
63
63
|
function Rh() {
|
|
64
64
|
if (Al) return ns;
|
|
@@ -217,12 +217,12 @@ const Mi = {
|
|
|
217
217
|
DisableInteractions: "disable-interactions",
|
|
218
218
|
Chart: "chart"
|
|
219
219
|
};
|
|
220
|
-
function
|
|
220
|
+
function Ph(t) {
|
|
221
221
|
const { dataContext: e, dataIndex: i, objectIdField: a } = t;
|
|
222
222
|
return `${ii.sliceIdPrefix}-${e[a ?? ""]?.toString() ?? i}`;
|
|
223
223
|
}
|
|
224
|
-
function
|
|
225
|
-
const { chartConfig: e, chartData: i, fieldList: a } = t, o = Y(e.series) ===
|
|
224
|
+
function Nh(t) {
|
|
225
|
+
const { chartConfig: e, chartData: i, fieldList: a } = t, o = Y(e.series) === P.PieFromFields;
|
|
226
226
|
if (e.orderOptions?.data !== void 0 || o) {
|
|
227
227
|
sa({
|
|
228
228
|
arrayToSort: i,
|
|
@@ -241,11 +241,11 @@ function Ph(t) {
|
|
|
241
241
|
}
|
|
242
242
|
}
|
|
243
243
|
function In(t) {
|
|
244
|
-
const { data: e, newChartConfig: i, pieSlicesSymbols: a, fieldList: o } = t, n = i.series[0], s = Y(i.series) ===
|
|
244
|
+
const { data: e, newChartConfig: i, pieSlicesSymbols: a, fieldList: o } = t, n = i.series[0], s = Y(i.series) === P.PieFromFields ? ni : n.x;
|
|
245
245
|
e.forEach((r) => {
|
|
246
246
|
const l = Fi(r), d = r[z.pieChart.technicalFieldSliceId], c = l ? n.sliceGrouping?.label : on(a?.slices, d)?.label;
|
|
247
247
|
Vh({ dataContext: r, x: s, newLabel: c });
|
|
248
|
-
}),
|
|
248
|
+
}), Nh({ chartConfig: i, chartData: e, fieldList: o });
|
|
249
249
|
}
|
|
250
250
|
function Vh(t) {
|
|
251
251
|
const { dataContext: e, newLabel: i, x: a } = t;
|
|
@@ -258,7 +258,7 @@ function on(t, e) {
|
|
|
258
258
|
function Rc(t) {
|
|
259
259
|
const { dataContext: e, isNonAggregatedChart: i, x: a, dataIndex: o, objectIdField: n, isPieFromFields: s } = t;
|
|
260
260
|
let r = "";
|
|
261
|
-
return s === !0 ? r = e[z.originalCategoryValue] ?? e[ni] : i ? r =
|
|
261
|
+
return s === !0 ? r = e[z.originalCategoryValue] ?? e[ni] : i ? r = Ph({
|
|
262
262
|
dataContext: e,
|
|
263
263
|
dataIndex: o,
|
|
264
264
|
objectIdField: n
|
|
@@ -418,7 +418,7 @@ function _e(t, e) {
|
|
|
418
418
|
function Gi(t, e = 100) {
|
|
419
419
|
return setTimeout(() => t(), e);
|
|
420
420
|
}
|
|
421
|
-
function
|
|
421
|
+
function Pc(t, e) {
|
|
422
422
|
let i = "";
|
|
423
423
|
const n = (e ?? 0) / 2, s = 0 - n, r = 0 + n, l = 0 - n, d = 0 + n;
|
|
424
424
|
switch (t) {
|
|
@@ -519,7 +519,7 @@ function Kh(t) {
|
|
|
519
519
|
}
|
|
520
520
|
return n !== void 0 && i !== void 0 && (o = Zh({ root: i, fill: e, rotation: n, isLinePattern: s })), o;
|
|
521
521
|
}
|
|
522
|
-
function
|
|
522
|
+
function Nc(t, e = 0) {
|
|
523
523
|
return (t ?? e) % 360;
|
|
524
524
|
}
|
|
525
525
|
function Vc(t, e) {
|
|
@@ -551,7 +551,7 @@ function Qh(t, e) {
|
|
|
551
551
|
};
|
|
552
552
|
}
|
|
553
553
|
function Jh(t) {
|
|
554
|
-
const { color: e, style: i, size: a, outline: o, xoffset: n, yoffset: s, angle: r } = t, l =
|
|
554
|
+
const { color: e, style: i, size: a, outline: o, xoffset: n, yoffset: s, angle: r } = t, l = Nc(r), d = i !== void 0 ? Pc(i, a) : "", c = Z(e);
|
|
555
555
|
let u = o;
|
|
556
556
|
return i !== ti.Cross && i !== ti.X && a !== void 0 && a <= A.lineSeries.marker.markerSizeThresholdForTooltipDisplay && (o?.width === void 0 || o.width === 0) && (u = {
|
|
557
557
|
type: q.SLS,
|
|
@@ -631,7 +631,7 @@ function gr(t) {
|
|
|
631
631
|
return Cc(i) ? s = Vc(i, !0) : en(i) ? (i.style ??= A.lineSeries.marker.markerStyle, i.size ??= A.lineSeries.marker.markerBigSize, s = Jh(i)) : po(i) && (s = Qh(i, e)), s;
|
|
632
632
|
}
|
|
633
633
|
function ap(t) {
|
|
634
|
-
const { input: e, isGuideLabel: i, defaults: a } = t, o =
|
|
634
|
+
const { input: e, isGuideLabel: i, defaults: a } = t, o = Nc(e.angle, a?.rotation), n = Ec(e.horizontalAlignment, a?.horizontalCenter), s = Hc(e.verticalAlignment, a?.verticalCenter), { align: r, valign: l, horizontalCenter: d, verticalCenter: c } = ip({
|
|
635
635
|
angle: o,
|
|
636
636
|
mappedHAlignment: n,
|
|
637
637
|
mappedVAlignment: s,
|
|
@@ -664,7 +664,7 @@ function ap(t) {
|
|
|
664
664
|
function zc(t, e) {
|
|
665
665
|
e !== void 0 && (e.marginBottom !== void 0 && t.set("marginBottom", e.marginBottom), e.marginTop !== void 0 && t.set("marginTop", e.marginTop), e.marginRight !== void 0 && t.set("marginRight", e.marginRight), e.marginLeft !== void 0 && t.set("marginLeft", e.marginLeft), e.verticalCenter !== void 0 && t.set("y", Hc(e.verticalCenter)), e.horizontalCenter !== void 0 && t.set("x", Ec(e.horizontalCenter)), e.strokeWidth !== void 0 && t.get("background")?.set("strokeWidth", e.strokeWidth), e.paddingBottom !== void 0 && t.set("paddingBottom", e.paddingBottom), e.paddingTop !== void 0 && t.set("paddingTop", e.paddingTop), e.paddingLeft !== void 0 && t.set("paddingLeft", e.paddingLeft), e.paddingRight !== void 0 && t.set("paddingRight", e.paddingRight), e.maxWidth !== void 0 && t.set("maxWidth", e.maxWidth));
|
|
666
666
|
}
|
|
667
|
-
function
|
|
667
|
+
function Pa(t) {
|
|
668
668
|
const { root: e, parent: i, defaults: a, index: o, id: n } = t, s = Ot.new(e, {
|
|
669
669
|
text: "",
|
|
670
670
|
textAlign: "center",
|
|
@@ -757,7 +757,7 @@ function li(t) {
|
|
|
757
757
|
oversizedBehavior: "wrap"
|
|
758
758
|
});
|
|
759
759
|
}
|
|
760
|
-
function
|
|
760
|
+
function Na(t) {
|
|
761
761
|
const { chart: e } = t;
|
|
762
762
|
li(t), e.events.onDebounced(
|
|
763
763
|
ie.BoundsChanged,
|
|
@@ -885,7 +885,7 @@ function np(t) {
|
|
|
885
885
|
if (o !== void 0) {
|
|
886
886
|
zc(o), mr(o.uid, { isGuide: !0, guideLabelConfig: a });
|
|
887
887
|
const { chart: n } = i;
|
|
888
|
-
n !== void 0 &&
|
|
888
|
+
n !== void 0 && Na({
|
|
889
889
|
chart: n,
|
|
890
890
|
label: o,
|
|
891
891
|
labelType: Q.GuideLabel
|
|
@@ -1180,7 +1180,7 @@ const fe = {
|
|
|
1180
1180
|
Bottom: "bottom",
|
|
1181
1181
|
Median: "median",
|
|
1182
1182
|
Outliers: "outliers"
|
|
1183
|
-
},
|
|
1183
|
+
}, Ni = {
|
|
1184
1184
|
Outlier: "outlier",
|
|
1185
1185
|
Box: "box",
|
|
1186
1186
|
OutlierToOutlier: "outlier-outlier",
|
|
@@ -1189,7 +1189,7 @@ const fe = {
|
|
|
1189
1189
|
BoxToBox: "box-box"
|
|
1190
1190
|
};
|
|
1191
1191
|
function lp(t, e) {
|
|
1192
|
-
const i = t[z.boxPlot.boxPlotOutlierId] === !0 ?
|
|
1192
|
+
const i = t[z.boxPlot.boxPlotOutlierId] === !0 ? Ni.Outlier : Ni.Box, a = typeof e == "number" ? Ni.Outlier : Ni.Box;
|
|
1193
1193
|
return `${i}-${a}`;
|
|
1194
1194
|
}
|
|
1195
1195
|
function dp(t) {
|
|
@@ -1220,7 +1220,7 @@ function mp(t) {
|
|
|
1220
1220
|
return o === n;
|
|
1221
1221
|
}
|
|
1222
1222
|
function gp(t) {
|
|
1223
|
-
const { chartSubType: e, yAxisField: i, splitBy: a, showOutliers: o } = t, n = e ===
|
|
1223
|
+
const { chartSubType: e, yAxisField: i, splitBy: a, showOutliers: o } = t, n = e === P.BoxPlotMultiFieldsAndCategory ? i : void 0, s = { y: n, splitBy: a }, r = ye({
|
|
1224
1224
|
...s,
|
|
1225
1225
|
key: K.Outlier
|
|
1226
1226
|
}), l = ye({
|
|
@@ -1294,13 +1294,13 @@ function hp(t) {
|
|
|
1294
1294
|
let O = mp({ oneSelectedItem: u, dataContext: l, xAxisField: a });
|
|
1295
1295
|
if (O)
|
|
1296
1296
|
switch (lp(u, L)) {
|
|
1297
|
-
case
|
|
1297
|
+
case Ni.OutlierToOutlier:
|
|
1298
1298
|
O = dp({ oneSelectedItem: u, dataContext: l, selectedOutlierKey: g });
|
|
1299
1299
|
break;
|
|
1300
|
-
case
|
|
1300
|
+
case Ni.OutlierToBox:
|
|
1301
1301
|
O = cp({ elementMin: I, elementMax: k, selectedOutlierValue: T });
|
|
1302
1302
|
break;
|
|
1303
|
-
case
|
|
1303
|
+
case Ni.BoxToOutlier:
|
|
1304
1304
|
O = up({
|
|
1305
1305
|
selectedMin: w,
|
|
1306
1306
|
selectedMax: R,
|
|
@@ -1309,7 +1309,7 @@ function hp(t) {
|
|
|
1309
1309
|
iqrField: v
|
|
1310
1310
|
});
|
|
1311
1311
|
break;
|
|
1312
|
-
case
|
|
1312
|
+
case Ni.BoxToBox:
|
|
1313
1313
|
O = fp({
|
|
1314
1314
|
selectedMin: w,
|
|
1315
1315
|
selectedMax: R,
|
|
@@ -1372,7 +1372,7 @@ function wn(t) {
|
|
|
1372
1372
|
const p = i;
|
|
1373
1373
|
m = (S) => {
|
|
1374
1374
|
let C, x = o;
|
|
1375
|
-
if (d ===
|
|
1375
|
+
if (d === P.BarAndLineSplitByNoAggregation) {
|
|
1376
1376
|
const v = Ai({ where: l, keepSurroundingQuotes: !1, escape: !1 });
|
|
1377
1377
|
x = `${o}_${v}`;
|
|
1378
1378
|
}
|
|
@@ -1465,7 +1465,7 @@ function vi(t) {
|
|
|
1465
1465
|
let c = { ...i };
|
|
1466
1466
|
if (i !== void 0) {
|
|
1467
1467
|
if (r === y.RadarSeries || r === y.BarSeries || r === y.LineSeries || r === y.ComboLineAndBarSeries || r === y.PieSeries) {
|
|
1468
|
-
r !== y.PieSeries && (e || l !==
|
|
1468
|
+
r !== y.PieSeries && (e || l !== P.BarAndLineNoAggregation && l !== P.BarAndLineSplitByNoAggregation) && o.forEach((m) => {
|
|
1469
1469
|
m !== a && delete c[m];
|
|
1470
1470
|
});
|
|
1471
1471
|
const u = si({
|
|
@@ -1484,7 +1484,7 @@ function vi(t) {
|
|
|
1484
1484
|
].forEach((m) => {
|
|
1485
1485
|
i[m] && (c[m] = i[m]);
|
|
1486
1486
|
});
|
|
1487
|
-
const u = l ===
|
|
1487
|
+
const u = l === P.BoxPlotMultiFieldsAndCategory ? a : void 0;
|
|
1488
1488
|
Object.values(K).forEach((m) => {
|
|
1489
1489
|
const g = ye({ key: m, y: u, splitBy: s, showOutliers: d });
|
|
1490
1490
|
i[g] !== void 0 && (c[g] = i[g]);
|
|
@@ -1965,7 +1965,7 @@ function Tp(t) {
|
|
|
1965
1965
|
let r = n ?? "";
|
|
1966
1966
|
const l = s.dataItem, d = ne(
|
|
1967
1967
|
i.uid,
|
|
1968
|
-
i instanceof
|
|
1968
|
+
i instanceof Ne ? "barSeriesDataLabelFormatter" : "lineSeriesDataLabelFormatter"
|
|
1969
1969
|
);
|
|
1970
1970
|
if (d !== void 0 && i.chart && l) {
|
|
1971
1971
|
const c = $(i.chart.uid, "isRotated"), u = c === !0 ? l.get("valueX") : l.get("valueY"), m = c === !0 ? l.get("valueXTotalPercent") : l.get("valueYTotalPercent"), g = i.get("valueYShow") === "valueYTotalPercent" || i.get("valueXShow") === "valueXTotalPercent";
|
|
@@ -2219,10 +2219,10 @@ function ou(t) {
|
|
|
2219
2219
|
const { config: e, fieldList: i, objectIdField: a, seriesIndex: o, isStacked100: n, utilsStrings: s } = t;
|
|
2220
2220
|
let r = "";
|
|
2221
2221
|
const l = e.series[o].name, d = e.series[o], c = [d.y].flat()[0], u = e.axes, m = Y(e.series), g = a ?? $a.outStatistics.onStatisticField, h = d.query?.outStatistics?.[0].onStatisticField ?? g, b = Ve(i, h), p = d.query?.outStatistics?.[0].statisticType ?? yc.statisticType, S = au(p, s);
|
|
2222
|
-
return m ===
|
|
2222
|
+
return m === P.BarAndLineNoAggregation ? r = l ?? Ve(i, c) : m === P.BarAndLineSplitByNoAggregation ? r = Ve(i, c) : (r = p === Yt.Count && h === g ? s.statistics.count : Ia(s.statistics.aggregation, {
|
|
2223
2223
|
statistics: S,
|
|
2224
2224
|
fieldName: b ?? l
|
|
2225
|
-
}), m ===
|
|
2225
|
+
}), m === P.BarAndLineMonoField && !n && (r = Wa(r, u[1].title?.content?.text))), r;
|
|
2226
2226
|
}
|
|
2227
2227
|
function nu(t, e) {
|
|
2228
2228
|
const i = qa(t);
|
|
@@ -2387,14 +2387,14 @@ ${T}` : T;
|
|
|
2387
2387
|
return S;
|
|
2388
2388
|
}, i;
|
|
2389
2389
|
}
|
|
2390
|
-
function
|
|
2390
|
+
function Pp(t) {
|
|
2391
2391
|
const e = t.get("tooltip");
|
|
2392
2392
|
if (e !== void 0) {
|
|
2393
2393
|
let i = t.get("fill");
|
|
2394
2394
|
i instanceof hc && (i = i.get("fill")), e.get("background")?.set("fill", i);
|
|
2395
2395
|
}
|
|
2396
2396
|
}
|
|
2397
|
-
function
|
|
2397
|
+
function Np(t) {
|
|
2398
2398
|
const { pieSeries: e, tooltip: i } = t;
|
|
2399
2399
|
let a = "";
|
|
2400
2400
|
const { chart: o } = e;
|
|
@@ -2412,7 +2412,7 @@ function Pp(t) {
|
|
|
2412
2412
|
let m = ri(u);
|
|
2413
2413
|
m === void 0 && (m = c);
|
|
2414
2414
|
const g = d.get("value"), h = d.get("valuePercentTotal");
|
|
2415
|
-
typeof g == "number" && g !== 0 && n?.series?.[0]?.dataTooltipVisible !== !1 ? (i.set("disabled", !1),
|
|
2415
|
+
typeof g == "number" && g !== 0 && n?.series?.[0]?.dataTooltipVisible !== !1 ? (i.set("disabled", !1), Pp(d.get("slice")), a = r(c, g, h, m)) : i.set("disabled", !0);
|
|
2416
2416
|
}
|
|
2417
2417
|
}
|
|
2418
2418
|
} else
|
|
@@ -2706,7 +2706,7 @@ function fa(t) {
|
|
|
2706
2706
|
});
|
|
2707
2707
|
break;
|
|
2708
2708
|
case y.PieSeries:
|
|
2709
|
-
i instanceof yt && e instanceof _i && (o =
|
|
2709
|
+
i instanceof yt && e instanceof _i && (o = Np({
|
|
2710
2710
|
pieSeries: i,
|
|
2711
2711
|
tooltip: e
|
|
2712
2712
|
}));
|
|
@@ -2881,7 +2881,7 @@ function qp(t) {
|
|
|
2881
2881
|
percentValue: W
|
|
2882
2882
|
}), ge = [`[bold]${k}${O} [/]${J}`];
|
|
2883
2883
|
switch (x) {
|
|
2884
|
-
case
|
|
2884
|
+
case P.BarAndLineFromFields: {
|
|
2885
2885
|
ge.pop();
|
|
2886
2886
|
const te = br({
|
|
2887
2887
|
config: g,
|
|
@@ -2891,13 +2891,13 @@ function qp(t) {
|
|
|
2891
2891
|
ge.push(`[bold]${te}${O} [/]${ee}`);
|
|
2892
2892
|
break;
|
|
2893
2893
|
}
|
|
2894
|
-
case
|
|
2895
|
-
case
|
|
2896
|
-
case
|
|
2894
|
+
case P.BarAndLineMonoField:
|
|
2895
|
+
case P.BarAndLineNoAggregation:
|
|
2896
|
+
case P.BarAndLineMultiFields:
|
|
2897
2897
|
ge.push(`[bold]${w}${O} [/]${ee}`);
|
|
2898
2898
|
break;
|
|
2899
|
-
case
|
|
2900
|
-
case
|
|
2899
|
+
case P.BarAndLineSplitByNoAggregation:
|
|
2900
|
+
case P.BarAndLineSplitBy:
|
|
2901
2901
|
{
|
|
2902
2902
|
const te = Ti(n.query?.where, !1), de = Rd({
|
|
2903
2903
|
value: Ve(i, te)
|
|
@@ -2926,7 +2926,7 @@ function Cr(t) {
|
|
|
2926
2926
|
function jp(t) {
|
|
2927
2927
|
const { chartType: e, series: i, tooltipFormatter: a } = t;
|
|
2928
2928
|
switch (!0) {
|
|
2929
|
-
case (e === y.HistogramSeries && i instanceof
|
|
2929
|
+
case (e === y.HistogramSeries && i instanceof Ne): {
|
|
2930
2930
|
ru(i, a);
|
|
2931
2931
|
break;
|
|
2932
2932
|
}
|
|
@@ -2939,11 +2939,11 @@ function jp(t) {
|
|
|
2939
2939
|
He(i.uid, { tooltipCallback: n });
|
|
2940
2940
|
break;
|
|
2941
2941
|
}
|
|
2942
|
-
case (e === y.HeatSeries && i instanceof
|
|
2942
|
+
case (e === y.HeatSeries && i instanceof Ne): {
|
|
2943
2943
|
gu(i, a);
|
|
2944
2944
|
break;
|
|
2945
2945
|
}
|
|
2946
|
-
case ((e === y.ComboLineAndBarSeries || e === y.BarSeries) && i instanceof
|
|
2946
|
+
case ((e === y.ComboLineAndBarSeries || e === y.BarSeries) && i instanceof Ne): {
|
|
2947
2947
|
nu(i, a);
|
|
2948
2948
|
break;
|
|
2949
2949
|
}
|
|
@@ -2974,7 +2974,7 @@ function Rl(t) {
|
|
|
2974
2974
|
switch (a) {
|
|
2975
2975
|
case Ut.DayOfWeek:
|
|
2976
2976
|
s = {
|
|
2977
|
-
label: n.dayOfWeek,
|
|
2977
|
+
label: n.heatChartCalendarDatePartsUnits.dayOfWeek,
|
|
2978
2978
|
value: Xc({
|
|
2979
2979
|
weekdayNumber: e,
|
|
2980
2980
|
firstDayOfWeek: "firstDayOfWeek" in o ? o.firstDayOfWeek : A.heatChartFirstDayOfWeek,
|
|
@@ -2984,7 +2984,7 @@ function Rl(t) {
|
|
|
2984
2984
|
break;
|
|
2985
2985
|
case Ut.MonthOfYear:
|
|
2986
2986
|
s = {
|
|
2987
|
-
label: n.monthOfYear,
|
|
2987
|
+
label: n.heatChartCalendarDatePartsUnits.monthOfYear,
|
|
2988
2988
|
value: Yc({
|
|
2989
2989
|
monthNumber: e,
|
|
2990
2990
|
locale: i
|
|
@@ -2993,7 +2993,7 @@ function Rl(t) {
|
|
|
2993
2993
|
break;
|
|
2994
2994
|
case Ut.HourOfDay:
|
|
2995
2995
|
s = {
|
|
2996
|
-
label: n.hourOfDay,
|
|
2996
|
+
label: n.heatChartCalendarDatePartsUnits.hourOfDay,
|
|
2997
2997
|
value: Gc({
|
|
2998
2998
|
hour: e,
|
|
2999
2999
|
locale: i
|
|
@@ -3002,31 +3002,31 @@ function Rl(t) {
|
|
|
3002
3002
|
break;
|
|
3003
3003
|
case Ut.DayOfMonth:
|
|
3004
3004
|
s = {
|
|
3005
|
-
label: n.dayOfMonth,
|
|
3005
|
+
label: n.heatChartCalendarDatePartsUnits.dayOfMonth,
|
|
3006
3006
|
value: typeof e == "string" ? e : e?.toString() ?? ""
|
|
3007
3007
|
};
|
|
3008
3008
|
break;
|
|
3009
3009
|
case Ut.DayOfYear:
|
|
3010
3010
|
s = {
|
|
3011
|
-
label: n
|
|
3011
|
+
label: n.heatChartCalendarDatePartsUnits.dayOfYear,
|
|
3012
3012
|
value: typeof e == "string" ? e : e?.toString() ?? ""
|
|
3013
3013
|
};
|
|
3014
3014
|
break;
|
|
3015
3015
|
case Ut.MinuteOfDay:
|
|
3016
3016
|
s = {
|
|
3017
|
-
label: n
|
|
3017
|
+
label: n.heatChartCalendarDatePartsUnits.minuteOfDay,
|
|
3018
3018
|
value: typeof e == "string" ? e : e?.toString() ?? ""
|
|
3019
3019
|
};
|
|
3020
3020
|
break;
|
|
3021
3021
|
case Ut.WeekOfYear:
|
|
3022
3022
|
s = {
|
|
3023
|
-
label: n
|
|
3023
|
+
label: n.heatChartCalendarDatePartsUnits.weekOfYear,
|
|
3024
3024
|
value: typeof e == "string" ? e : e?.toString() ?? ""
|
|
3025
3025
|
};
|
|
3026
3026
|
break;
|
|
3027
3027
|
case Ut.QuarterOfYear:
|
|
3028
3028
|
s = {
|
|
3029
|
-
label: n
|
|
3029
|
+
label: n.heatChartCalendarDatePartsUnits.quarterOfYear,
|
|
3030
3030
|
value: typeof e == "string" ? e : e?.toString() ?? ""
|
|
3031
3031
|
};
|
|
3032
3032
|
break;
|
|
@@ -3126,7 +3126,7 @@ const pi = {
|
|
|
3126
3126
|
strokeField: "stroke"
|
|
3127
3127
|
};
|
|
3128
3128
|
function Qp(t) {
|
|
3129
|
-
const { root: e, xAxis: i, yAxis: a, options: o, chartConfig: n } = t, s =
|
|
3129
|
+
const { root: e, xAxis: i, yAxis: a, options: o, chartConfig: n } = t, s = Ne.new(e, {
|
|
3130
3130
|
calculateAggregates: !0,
|
|
3131
3131
|
stroke: Z(A.backgroundColor).color,
|
|
3132
3132
|
clustered: !1,
|
|
@@ -3170,7 +3170,7 @@ function eb(t) {
|
|
|
3170
3170
|
(!Number.isFinite(I) || B) && r && (O = Ie(r), !r.outline && s && (O.outline = s)), O ? ta({
|
|
3171
3171
|
element: v,
|
|
3172
3172
|
fillSymbol: O
|
|
3173
|
-
}) : (typeof m == "number" && I < m ? { color: w, opacity: R } = C : typeof g == "number" && I > g ? { color: w, opacity: R } = x : (w =
|
|
3173
|
+
}) : (typeof m == "number" && I < m ? { color: w, opacity: R } = C : typeof g == "number" && I > g ? { color: w, opacity: R } = x : L === T ? (w = h, R = b) : (w = Pg.interpolate((I - L) / (T - L), h, p, "rgb"), R = b + (I - L) / (T - L) * (S - b)), w && v.set("fill", w), R !== void 0 && v.set("fillOpacity", R));
|
|
3174
3174
|
}
|
|
3175
3175
|
}
|
|
3176
3176
|
}
|
|
@@ -3470,7 +3470,7 @@ function Au(t) {
|
|
|
3470
3470
|
let w = 0;
|
|
3471
3471
|
e.get("orientation") === "vertical" && (w = 90), k.set(
|
|
3472
3472
|
"fillGradient",
|
|
3473
|
-
|
|
3473
|
+
Ng.new(e.root, {
|
|
3474
3474
|
stops: L,
|
|
3475
3475
|
rotation: w
|
|
3476
3476
|
})
|
|
@@ -3536,13 +3536,13 @@ function vr(t) {
|
|
|
3536
3536
|
), Lu(t, {}), rb(t);
|
|
3537
3537
|
}
|
|
3538
3538
|
function Lr(t, e) {
|
|
3539
|
-
const i =
|
|
3539
|
+
const i = Pa({
|
|
3540
3540
|
root: e.root,
|
|
3541
3541
|
parent: e,
|
|
3542
3542
|
index: 0,
|
|
3543
3543
|
id: _e(Xt, e.uid)
|
|
3544
3544
|
});
|
|
3545
|
-
return i.set("paddingTop", A.heatChart.legend.titlePadding),
|
|
3545
|
+
return i.set("paddingTop", A.heatChart.legend.titlePadding), Na({
|
|
3546
3546
|
chart: t,
|
|
3547
3547
|
label: i,
|
|
3548
3548
|
labelType: Q.LegendTitle
|
|
@@ -3649,7 +3649,7 @@ function lb(t) {
|
|
|
3649
3649
|
function db(t) {
|
|
3650
3650
|
const { chart: e, chartConfig: i, heatLegendPositionChanged: a, heatRulesTypeChanged: o } = t, { legend: n } = i, s = n !== void 0 && n.visible !== !1, r = e.series.values[0];
|
|
3651
3651
|
if (a || o)
|
|
3652
|
-
vr(e), s && r instanceof
|
|
3652
|
+
vr(e), s && r instanceof Ne && Gi(() => {
|
|
3653
3653
|
const l = xu(e), d = oi.new(e.root, {
|
|
3654
3654
|
id: _e(ht, e.uid),
|
|
3655
3655
|
layout: e.root.verticalLayout
|
|
@@ -3660,7 +3660,7 @@ function db(t) {
|
|
|
3660
3660
|
legendContainer: d
|
|
3661
3661
|
});
|
|
3662
3662
|
});
|
|
3663
|
-
else if (r instanceof
|
|
3663
|
+
else if (r instanceof Ne) {
|
|
3664
3664
|
const l = lb(e);
|
|
3665
3665
|
if (l) {
|
|
3666
3666
|
Ml(e, l), vs({ chart: e, legendConfig: n });
|
|
@@ -3858,7 +3858,7 @@ function bb(t) {
|
|
|
3858
3858
|
const { dataContext: i } = e, a = typeof i == "object" && i !== null && "component" in i ? i.component : i;
|
|
3859
3859
|
if (a instanceof Cn) {
|
|
3860
3860
|
const n = { visible: !a.get("visible") };
|
|
3861
|
-
Di(a) || wo(a) ? n.overlayType = ne(a.uid, "type") : n.seriesId = a.get("id"),
|
|
3861
|
+
Di(a) || wo(a) ? n.overlayType = ne(a.uid, "type") : n.seriesId = a.get("id"), Pd(n, a.root.dom);
|
|
3862
3862
|
}
|
|
3863
3863
|
}
|
|
3864
3864
|
}
|
|
@@ -3922,7 +3922,7 @@ function Cb(t) {
|
|
|
3922
3922
|
if (o !== !1) {
|
|
3923
3923
|
const u = a.series.find((m) => m.id === d.get("id"));
|
|
3924
3924
|
if (u !== void 0 && "y" in u && typeof u.y == "string") {
|
|
3925
|
-
const { x: m, y: g } = u, h = l ===
|
|
3925
|
+
const { x: m, y: g } = u, h = l === P.BarAndLineSplitByNoAggregation ? `${g}_${Ai({ where: u.query?.where, keepSurroundingQuotes: !1, escape: !1 })}` : g;
|
|
3926
3926
|
c = d.data.values.some(
|
|
3927
3927
|
(p) => zs({ dataItem: p, x: m, y: h })
|
|
3928
3928
|
);
|
|
@@ -3938,7 +3938,7 @@ function Cb(t) {
|
|
|
3938
3938
|
}
|
|
3939
3939
|
case y.HeatSeries: {
|
|
3940
3940
|
const d = e.series.getIndex(0);
|
|
3941
|
-
if (d instanceof
|
|
3941
|
+
if (d instanceof Ne) {
|
|
3942
3942
|
const c = hu({
|
|
3943
3943
|
queryObject: n,
|
|
3944
3944
|
chartConfig: a,
|
|
@@ -3957,7 +3957,7 @@ function Cb(t) {
|
|
|
3957
3957
|
i.data.setAll(r);
|
|
3958
3958
|
}
|
|
3959
3959
|
}
|
|
3960
|
-
function
|
|
3960
|
+
function Pl(t) {
|
|
3961
3961
|
let e = 0;
|
|
3962
3962
|
return t.dataItems.forEach((i) => {
|
|
3963
3963
|
const a = i.get("itemContainer").width();
|
|
@@ -3975,10 +3975,10 @@ function oo(t, e) {
|
|
|
3975
3975
|
let G = 0, J = 0, ee = 0, ve = 0, ge, te;
|
|
3976
3976
|
switch (x) {
|
|
3977
3977
|
case X.Left:
|
|
3978
|
-
k = i.verticalLayout, w = Ge, O = Ge, R = Ge, B = Ge, V = void 0, T = Ge, I = Ge, G = a.width(), M = m + h, H < t.seriesContainer.height() && (M += t.seriesContainer.height() / 2 - H / 2), v =
|
|
3978
|
+
k = i.verticalLayout, w = Ge, O = Ge, R = Ge, B = Ge, V = void 0, T = Ge, I = Ge, G = a.width(), M = m + h, H < t.seriesContainer.height() && (M += t.seriesContainer.height() / 2 - H / 2), v = Pl(e), L?.width() !== void 0 && v && L.isVisible() && (v += L.width() + A.scrollbarPadding), n && (ge = he, te = v);
|
|
3979
3979
|
break;
|
|
3980
3980
|
case X.Right:
|
|
3981
|
-
k = i.verticalLayout, w = he, O = he, R = Ge, B = Ge, V = void 0, T = Ge, I = Ge, J = a.width(), M = m + h, H < t.seriesContainer.height() && (M += t.seriesContainer.height() / 2 - H / 2), v =
|
|
3981
|
+
k = i.verticalLayout, w = he, O = he, R = Ge, B = Ge, V = void 0, T = Ge, I = Ge, J = a.width(), M = m + h, H < t.seriesContainer.height() && (M += t.seriesContainer.height() / 2 - H / 2), v = Pl(e), L?.width() !== void 0 && v && L.isVisible() && (v += L.width() + A.scrollbarPadding), n && (ge = he, te = v);
|
|
3982
3982
|
break;
|
|
3983
3983
|
case X.Top:
|
|
3984
3984
|
k = i.gridLayout, w = be, O = be, R = Ge, B = Ge, V = he, T = be, I = be, ee += H, M += m + h, v = void 0, n && (ge = void 0);
|
|
@@ -4021,13 +4021,13 @@ function xb(t) {
|
|
|
4021
4021
|
});
|
|
4022
4022
|
}
|
|
4023
4023
|
function Ou(t, e) {
|
|
4024
|
-
const i =
|
|
4024
|
+
const i = Pa({
|
|
4025
4025
|
root: e.root,
|
|
4026
4026
|
parent: e,
|
|
4027
4027
|
index: 0,
|
|
4028
4028
|
id: _e(Xt, e.uid)
|
|
4029
4029
|
});
|
|
4030
|
-
return i.set("paddingTop", 10),
|
|
4030
|
+
return i.set("paddingTop", 10), Na({
|
|
4031
4031
|
chart: t,
|
|
4032
4032
|
label: i,
|
|
4033
4033
|
labelType: Q.LegendTitle
|
|
@@ -4189,7 +4189,7 @@ function Ob(t) {
|
|
|
4189
4189
|
() => $(i.uid, "options")?.disableTogglingLegendItems === !0 ? "default" : "pointer"
|
|
4190
4190
|
);
|
|
4191
4191
|
}
|
|
4192
|
-
function
|
|
4192
|
+
function Nl(t, e) {
|
|
4193
4193
|
const { root: i } = t;
|
|
4194
4194
|
let a;
|
|
4195
4195
|
if ($u(e?.series))
|
|
@@ -4274,7 +4274,7 @@ function Bb(t) {
|
|
|
4274
4274
|
const { seriesConfig: e, series: i, sizePolicyChanged: a } = t, { sizePolicy: o } = e, n = i.get("heatRules")?.[0], s = ne(i.uid, "bulletTemplate");
|
|
4275
4275
|
if (s !== void 0)
|
|
4276
4276
|
if (o !== void 0) {
|
|
4277
|
-
const { scaleType: r, field: l, minSize: d, maxSize: c } = o, u = qm(), m = e.markerSymbol?.size ??
|
|
4277
|
+
const { scaleType: r, field: l, minSize: d, maxSize: c } = o, u = qm(), m = e.markerSymbol?.size ?? Nd().size ?? 1, g = (d ?? u.minSize) / m, h = (c ?? u.maxSize) / m;
|
|
4278
4278
|
n !== void 0 ? a && (n.min = g, n.max = h, n.logarithmic = r === fl.Logarithmic, i.set("valueField", l), i.markDirtySize()) : i.setAll({
|
|
4279
4279
|
valueField: l,
|
|
4280
4280
|
calculateAggregates: !0,
|
|
@@ -4305,7 +4305,7 @@ function Mb(t) {
|
|
|
4305
4305
|
function Mu(t) {
|
|
4306
4306
|
return t.series.values.find((e) => Di(e));
|
|
4307
4307
|
}
|
|
4308
|
-
function
|
|
4308
|
+
function Pb(t) {
|
|
4309
4309
|
const { root: e, xAxis: i, yAxis: a, seriesConfig: o } = t, { x: n, y: s } = o, r = Ce.new(e, {
|
|
4310
4310
|
xAxis: i,
|
|
4311
4311
|
yAxis: a,
|
|
@@ -4317,7 +4317,7 @@ function Nb(t) {
|
|
|
4317
4317
|
type: De.Trendline
|
|
4318
4318
|
}), r;
|
|
4319
4319
|
}
|
|
4320
|
-
function
|
|
4320
|
+
function Nb(t, e) {
|
|
4321
4321
|
const i = Xa.new({});
|
|
4322
4322
|
He(t.uid, { bulletTemplate: i }), ze(i, e?.selectionTheme), t.bullets.push((a) => {
|
|
4323
4323
|
const o = Rt.new(
|
|
@@ -4348,8 +4348,8 @@ function Vb(t) {
|
|
|
4348
4348
|
maskBullets: !1,
|
|
4349
4349
|
layer: A.zIndexes.bulletMarkers
|
|
4350
4350
|
});
|
|
4351
|
-
u.strokes.template.set("forceHidden", !0),
|
|
4352
|
-
const m =
|
|
4351
|
+
u.strokes.template.set("forceHidden", !0), Nb(u, s), Za(u, i), c.push(u);
|
|
4352
|
+
const m = Pb({
|
|
4353
4353
|
root: e,
|
|
4354
4354
|
xAxis: o,
|
|
4355
4355
|
yAxis: n,
|
|
@@ -4395,14 +4395,14 @@ function Eb(t) {
|
|
|
4395
4395
|
if (o) {
|
|
4396
4396
|
const n = i.series[0], s = ki(i);
|
|
4397
4397
|
let r, l;
|
|
4398
|
-
const d =
|
|
4398
|
+
const d = Nd(), c = /* @__PURE__ */ new Set();
|
|
4399
4399
|
a.dataItems.forEach((m) => {
|
|
4400
4400
|
const g = m.bullets?.[0]?.get("sprite");
|
|
4401
4401
|
if (g !== void 0) {
|
|
4402
4402
|
const h = Dt({
|
|
4403
4403
|
dataItem: m?.dataContext,
|
|
4404
4404
|
seriesConfig: n,
|
|
4405
|
-
chartSubType:
|
|
4405
|
+
chartSubType: P.NonSpecific,
|
|
4406
4406
|
colorMatch: s
|
|
4407
4407
|
}), b = gt({
|
|
4408
4408
|
root: e,
|
|
@@ -4498,7 +4498,7 @@ function Gb(t) {
|
|
|
4498
4498
|
selected: !1,
|
|
4499
4499
|
backToDefaultState: !0
|
|
4500
4500
|
});
|
|
4501
|
-
}) : e instanceof
|
|
4501
|
+
}) : e instanceof Ne ? e.columns.each((i) => {
|
|
4502
4502
|
ot({
|
|
4503
4503
|
element: i,
|
|
4504
4504
|
selected: !1,
|
|
@@ -4527,12 +4527,12 @@ function ma(t) {
|
|
|
4527
4527
|
pendingSelectionQueries: !1
|
|
4528
4528
|
}), $n(e) && Gb(e), a && Ha({
|
|
4529
4529
|
data: {
|
|
4530
|
-
selectionSource: i ??
|
|
4530
|
+
selectionSource: i ?? Pe.ClearSelection
|
|
4531
4531
|
},
|
|
4532
4532
|
htmlContainer: e.root.dom
|
|
4533
4533
|
});
|
|
4534
4534
|
}
|
|
4535
|
-
function
|
|
4535
|
+
function Pu(t) {
|
|
4536
4536
|
const e = t?.selection.width();
|
|
4537
4537
|
return e !== void 0 && e > 0 && e !== 2e7;
|
|
4538
4538
|
}
|
|
@@ -4541,7 +4541,7 @@ function Qt(t, e) {
|
|
|
4541
4541
|
const { chart: a } = e;
|
|
4542
4542
|
if (a) {
|
|
4543
4543
|
const o = a.get("cursor");
|
|
4544
|
-
if (!
|
|
4544
|
+
if (!Pu(o)) {
|
|
4545
4545
|
const n = $(e.chart?.uid ?? Number.NaN, "actionMode");
|
|
4546
4546
|
if (!$(
|
|
4547
4547
|
e.chart?.uid ?? Number.NaN,
|
|
@@ -4556,12 +4556,12 @@ function Qt(t, e) {
|
|
|
4556
4556
|
d instanceof Ce ? d.dataItems.forEach((c) => {
|
|
4557
4557
|
const u = c.bullets?.[0]?.get("sprite");
|
|
4558
4558
|
u !== r && ot({ element: u, selected: !1 });
|
|
4559
|
-
}) : d instanceof
|
|
4559
|
+
}) : d instanceof Ne ? d.columns.each((c) => {
|
|
4560
4560
|
c !== r && ot({ element: c, selected: !1 });
|
|
4561
4561
|
}) : d instanceof yt && d.slices.each((c) => {
|
|
4562
4562
|
c !== r && ot({ element: c, selected: !1 });
|
|
4563
4563
|
});
|
|
4564
|
-
}), await Fr(a,
|
|
4564
|
+
}), await Fr(a, Pe.SelectionByClick);
|
|
4565
4565
|
}
|
|
4566
4566
|
}
|
|
4567
4567
|
}
|
|
@@ -4588,7 +4588,7 @@ function El(t, e) {
|
|
|
4588
4588
|
function Xb(t) {
|
|
4589
4589
|
const e = () => {
|
|
4590
4590
|
const i = t instanceof pe ? t.get("cursor") : void 0, a = $(t.uid, "filterBySelection");
|
|
4591
|
-
(i === void 0 || !
|
|
4591
|
+
(i === void 0 || !Pu(i)) && !a && ma({ chart: t });
|
|
4592
4592
|
};
|
|
4593
4593
|
t.get("background")?.events.on(ie.Click, e), t instanceof pe && t.plotContainer.events.on(ie.PointerUp, e);
|
|
4594
4594
|
}
|
|
@@ -4656,8 +4656,8 @@ function _b(t) {
|
|
|
4656
4656
|
if (o && n) {
|
|
4657
4657
|
const s = $(t.uid, "config"), r = E(s?.series), l = t.get("cursor"), d = jb({ cursor: l, xAxis: o, yAxis: n }), c = jc(i);
|
|
4658
4658
|
t.series.each((u) => {
|
|
4659
|
-
!Di(u) && !wo(u) && (u instanceof
|
|
4660
|
-
}), Te(l.selection, !1), await Fr(t,
|
|
4659
|
+
!Di(u) && !wo(u) && (u instanceof Ne ? Yb({ series: u, cursorBounds: d, multiSelect: c }) : u instanceof Ce && (r === y.RadarSeries ? qb({ xAxis: o, series: u, cursorBounds: d, multiSelect: c }) : Ub({ series: u, cursorBounds: d, multiSelect: c })));
|
|
4660
|
+
}), Te(l.selection, !1), await Fr(t, Pe.SelectionByRange);
|
|
4661
4661
|
}
|
|
4662
4662
|
}
|
|
4663
4663
|
});
|
|
@@ -4689,7 +4689,7 @@ function Zb(t) {
|
|
|
4689
4689
|
dataLabel: l,
|
|
4690
4690
|
dataLabelsConfig: s,
|
|
4691
4691
|
labelDefaults: i,
|
|
4692
|
-
defaultDataLabelFormatter:
|
|
4692
|
+
defaultDataLabelFormatter: Nu
|
|
4693
4693
|
})), r;
|
|
4694
4694
|
});
|
|
4695
4695
|
}
|
|
@@ -4710,7 +4710,7 @@ function Kb(t) {
|
|
|
4710
4710
|
return o === "html" ? qe(r) : r;
|
|
4711
4711
|
});
|
|
4712
4712
|
}
|
|
4713
|
-
function
|
|
4713
|
+
function Nu(t) {
|
|
4714
4714
|
const { numberFormatter: e, dataLabelsConfigContent: i, externalDataLabelFormatter: a } = t;
|
|
4715
4715
|
return (o, n, s) => Ft({
|
|
4716
4716
|
textSymbol: {
|
|
@@ -4730,7 +4730,7 @@ function Qb(t) {
|
|
|
4730
4730
|
...t,
|
|
4731
4731
|
dataLabel: s,
|
|
4732
4732
|
labelDefaults: i,
|
|
4733
|
-
defaultDataLabelFormatter:
|
|
4733
|
+
defaultDataLabelFormatter: Nu,
|
|
4734
4734
|
externalDataLabelFormatter: a
|
|
4735
4735
|
});
|
|
4736
4736
|
}
|
|
@@ -4806,7 +4806,7 @@ function Ho(t) {
|
|
|
4806
4806
|
return o === De.Normal && _a(s, n.overlays.normal), He(s.uid, { isOverlay: !0, type: o }), s.set("connect", !1), s.appear(), s;
|
|
4807
4807
|
}
|
|
4808
4808
|
function iy(t) {
|
|
4809
|
-
const { root: e, seriesConfig: i, xAxis: a, yAxis: o, options: n, chartConfig: s } = t, { id: r, name: l } = i, d =
|
|
4809
|
+
const { root: e, seriesConfig: i, xAxis: a, yAxis: o, options: n, chartConfig: s } = t, { id: r, name: l } = i, d = Ne.new(e, {
|
|
4810
4810
|
id: r,
|
|
4811
4811
|
name: l,
|
|
4812
4812
|
xAxis: a,
|
|
@@ -4987,7 +4987,7 @@ async function sy(t) {
|
|
|
4987
4987
|
renderer: g,
|
|
4988
4988
|
rendererOrigin: r !== void 0 ? rl.ChartRenderer : rl.LayerRenderer,
|
|
4989
4989
|
rendererType: h,
|
|
4990
|
-
chartSubType:
|
|
4990
|
+
chartSubType: P.NonSpecific,
|
|
4991
4991
|
graphicTemplate: m
|
|
4992
4992
|
});
|
|
4993
4993
|
b = p.rendererSymbol, re(e.chart?.uid ?? Number.NaN, { colorMatchApplied: p.colorMatchApplied });
|
|
@@ -5048,7 +5048,7 @@ async function ry(t) {
|
|
|
5048
5048
|
utilsStrings: o
|
|
5049
5049
|
});
|
|
5050
5050
|
}
|
|
5051
|
-
} else m instanceof
|
|
5051
|
+
} else m instanceof Ne && (await sy({ ...t, series: m }), Vu({
|
|
5052
5052
|
series: m,
|
|
5053
5053
|
yAxisValueFormat: d.axes?.[1]?.valueFormat,
|
|
5054
5054
|
seriesConfig: i,
|
|
@@ -5098,7 +5098,7 @@ function my(t) {
|
|
|
5098
5098
|
case t instanceof yt:
|
|
5099
5099
|
e = t.slices.values;
|
|
5100
5100
|
break;
|
|
5101
|
-
case t instanceof
|
|
5101
|
+
case t instanceof Ne:
|
|
5102
5102
|
const { chart: i } = t;
|
|
5103
5103
|
if (i) {
|
|
5104
5104
|
const a = $(i.uid, "config");
|
|
@@ -5264,7 +5264,7 @@ function py(t) {
|
|
|
5264
5264
|
B = Yd({
|
|
5265
5265
|
itemsA: O,
|
|
5266
5266
|
itemsB: k,
|
|
5267
|
-
isPieFromFields: L ===
|
|
5267
|
+
isPieFromFields: L === P.PieFromFields,
|
|
5268
5268
|
x: r,
|
|
5269
5269
|
y: l,
|
|
5270
5270
|
outStatisticFieldName: C.series[0].query?.outStatistics?.[0]?.outStatisticFieldName
|
|
@@ -5291,7 +5291,7 @@ function py(t) {
|
|
|
5291
5291
|
splitBy: d
|
|
5292
5292
|
});
|
|
5293
5293
|
let W = $(u.uid, "computedSelectionDataItems") ?? [];
|
|
5294
|
-
if (W.push(...V), C.series.length > 1 && L !==
|
|
5294
|
+
if (W.push(...V), C.series.length > 1 && L !== P.BarAndLineNoAggregation && L !== P.BarAndLineSplitByNoAggregation && (W = Ud({
|
|
5295
5295
|
data: W,
|
|
5296
5296
|
x: C.series[0].x,
|
|
5297
5297
|
splitByField: Ti(C.series[0].query?.where)
|
|
@@ -5337,11 +5337,11 @@ function py(t) {
|
|
|
5337
5337
|
).map((W) => JSON.parse(W)), O !== void 0 && re(u.uid, { currentSelectionDataItems: M }), h?.selectionOIDs !== void 0 && re(u.uid, { currentSelectionOIDs: h.selectionOIDs });
|
|
5338
5338
|
let V;
|
|
5339
5339
|
if (b === !0 && (V = $(u.uid, "computedSelectionIndexes") ?? S, V !== void 0 && re(u.uid, { currentSelectionIndexes: V })), M === void 0 || M.length === 0)
|
|
5340
|
-
ma({ chart: u, selectionSource:
|
|
5340
|
+
ma({ chart: u, selectionSource: Pe.ProgrammaticSelection });
|
|
5341
5341
|
else {
|
|
5342
5342
|
const W = {
|
|
5343
5343
|
selectionItems: M,
|
|
5344
|
-
selectionSource:
|
|
5344
|
+
selectionSource: Pe.ProgrammaticSelection
|
|
5345
5345
|
};
|
|
5346
5346
|
b === !0 && (W.selectionIndexes = V), p !== !1 && (W.selectionOIDs = h?.selectionOIDs ?? $(u.uid, "currentSelectionOIDs")), Ha({
|
|
5347
5347
|
data: W,
|
|
@@ -5391,7 +5391,7 @@ async function Fr(t, e) {
|
|
|
5391
5391
|
if (t.series.each((T, I) => {
|
|
5392
5392
|
const { seriesConfig: k } = Mn(T, i), w = k?.query?.where ?? "", R = k?.type === y.BoxPlotSeries ? k.y.toString() : $o(T);
|
|
5393
5393
|
let O;
|
|
5394
|
-
T instanceof Ce ? O = T.dataItems : T instanceof
|
|
5394
|
+
T instanceof Ce ? O = T.dataItems : T instanceof Ne ? O = T.columns.values : T instanceof yt && (O = T.slices.values), O?.forEach((B, M) => {
|
|
5395
5395
|
const V = B instanceof ho || B instanceof Ba ? B : B.bullets?.[0]?.get("sprite");
|
|
5396
5396
|
if (V !== void 0 && mi(V.uid, "selected") === !0) {
|
|
5397
5397
|
L += 1;
|
|
@@ -5477,7 +5477,7 @@ async function Fr(t, e) {
|
|
|
5477
5477
|
}
|
|
5478
5478
|
}
|
|
5479
5479
|
function ja(t, e) {
|
|
5480
|
-
const { y: i, query: a } = e, n = Y(t.series) ===
|
|
5480
|
+
const { y: i, query: a } = e, n = Y(t.series) === P.BarAndLineSplitByNoAggregation ? `${i.toString()}_${Ai({ where: a?.where, keepSurroundingQuotes: !1, escape: !1 })}` : [i].flat()[0], s = A.xAxisField, r = t.rotated === !0 ? "categoryYField" : "categoryXField", l = t.rotated === !0 ? "valueYField" : "valueXField", d = t.axes?.[0]?.valueFormat.type === y.CategoryAxisFormat ? r : l, c = t.rotated === !0 ? "valueXField" : "valueYField";
|
|
5481
5481
|
return { xField: s, yField: n, xAxisField: d, yAxisField: c };
|
|
5482
5482
|
}
|
|
5483
5483
|
function Oi(t) {
|
|
@@ -5510,7 +5510,7 @@ function Eu(t) {
|
|
|
5510
5510
|
case e instanceof xn:
|
|
5511
5511
|
e.events.once(ie.DataValidated, () => o(i));
|
|
5512
5512
|
break;
|
|
5513
|
-
case e instanceof
|
|
5513
|
+
case e instanceof Ne:
|
|
5514
5514
|
{
|
|
5515
5515
|
const s = e.root.events.on(ie.FrameEnded, () => {
|
|
5516
5516
|
e.columns.length === e.dataItems.length && (s.dispose(), o(i));
|
|
@@ -5611,7 +5611,7 @@ function Cy(t) {
|
|
|
5611
5611
|
function Za(t, e) {
|
|
5612
5612
|
const { series: i } = e, a = E(i);
|
|
5613
5613
|
switch (!0) {
|
|
5614
|
-
case t instanceof
|
|
5614
|
+
case t instanceof Ne:
|
|
5615
5615
|
t.columns.template.setAll({ hoverOnFocus: !0 }), a === y.HeatSeries ? t.columns.template.set("ariaLabel", Ly()) : t.columns.template.set("ariaLabel", Qo());
|
|
5616
5616
|
break;
|
|
5617
5617
|
}
|
|
@@ -5641,7 +5641,7 @@ function Tr(t) {
|
|
|
5641
5641
|
if (s) {
|
|
5642
5642
|
const r = Y(e.series);
|
|
5643
5643
|
let l = s.name;
|
|
5644
|
-
if (r ===
|
|
5644
|
+
if (r === P.BarAndLineSplitBy || r === P.BarAndLineSplitByNoAggregation) {
|
|
5645
5645
|
const d = Ti(s.query?.where);
|
|
5646
5646
|
l = Xs({
|
|
5647
5647
|
subtypeInfo: o,
|
|
@@ -5734,11 +5734,11 @@ function Ay(t) {
|
|
|
5734
5734
|
else if (i.type === y.CategoryAxisFormat) {
|
|
5735
5735
|
const c = Y(d?.series);
|
|
5736
5736
|
if ([
|
|
5737
|
-
|
|
5738
|
-
|
|
5739
|
-
|
|
5740
|
-
|
|
5741
|
-
|
|
5737
|
+
P.BoxPlotMonoField,
|
|
5738
|
+
P.BoxPlotMultiFields,
|
|
5739
|
+
P.BoxPlotMonoFieldAndSplitBy,
|
|
5740
|
+
P.BoxPlotMultiFieldsAndSplitBy,
|
|
5741
|
+
P.BarAndLineFromFields
|
|
5742
5742
|
].includes(c) && typeof s == "string") {
|
|
5743
5743
|
const g = $(e.uid, "fieldList");
|
|
5744
5744
|
s = Ve(g, s);
|
|
@@ -5827,7 +5827,7 @@ function Gu(t) {
|
|
|
5827
5827
|
const { dataContext: e, defaultValue: i, chartUID: a } = t;
|
|
5828
5828
|
let o = ri(e);
|
|
5829
5829
|
const n = $(a, "config"), s = $(a, "rendererFieldNames"), r = E(n?.series), l = Y(n?.series);
|
|
5830
|
-
if (r === y.BoxPlotSeries && (l ===
|
|
5830
|
+
if (r === y.BoxPlotSeries && (l === P.BoxPlotMonoField || l === P.BoxPlotMultiFields || l === P.BoxPlotMonoFieldAndSplitBy || l === P.BoxPlotMultiFieldsAndSplitBy))
|
|
5831
5831
|
o = e?.[Us];
|
|
5832
5832
|
else if (r === y.HistogramSeries)
|
|
5833
5833
|
o = e?.[uo.Start];
|
|
@@ -5964,7 +5964,7 @@ function Dy(t) {
|
|
|
5964
5964
|
function Li(t, e) {
|
|
5965
5965
|
return t instanceof Bt && !e || t instanceof Hi && e || t instanceof Kt;
|
|
5966
5966
|
}
|
|
5967
|
-
function
|
|
5967
|
+
function Pn(t) {
|
|
5968
5968
|
return t instanceof Bt;
|
|
5969
5969
|
}
|
|
5970
5970
|
function Oy(t) {
|
|
@@ -6042,11 +6042,11 @@ function Yu(t, e) {
|
|
|
6042
6042
|
return s;
|
|
6043
6043
|
}), a;
|
|
6044
6044
|
}
|
|
6045
|
-
function
|
|
6045
|
+
function Py(t) {
|
|
6046
6046
|
const { root: e, axis: i, displayCursorTooltip: a } = t;
|
|
6047
6047
|
(i.get("tooltip") ?? Yu(e, i)).set("forceHidden", a !== !0);
|
|
6048
6048
|
}
|
|
6049
|
-
function
|
|
6049
|
+
function Ny(t) {
|
|
6050
6050
|
const { axis: e, timeIntervalInfo: i, dateBaseInterval: a } = t;
|
|
6051
6051
|
if (e instanceof Ye) {
|
|
6052
6052
|
let { size: o, unit: n } = i ?? {};
|
|
@@ -6653,7 +6653,7 @@ function lS(t) {
|
|
|
6653
6653
|
chartType: s
|
|
6654
6654
|
} = t, r = e.get("renderer");
|
|
6655
6655
|
if (!(r instanceof Kt))
|
|
6656
|
-
if (
|
|
6656
|
+
if (Pn(r) && o?.[0] === !0)
|
|
6657
6657
|
switch (s === y.HistogramSeries && i === void 0 ? ke.Hide : i) {
|
|
6658
6658
|
case ke.Hide:
|
|
6659
6659
|
break;
|
|
@@ -6694,7 +6694,7 @@ function cS(t) {
|
|
|
6694
6694
|
axisLabelsBehaviorChanged: n,
|
|
6695
6695
|
chartType: s
|
|
6696
6696
|
} = t, r = { ...i }, l = e.get("renderer"), d = l?.get("opposite");
|
|
6697
|
-
|
|
6697
|
+
Pn(l) ? (r.content.horizontalAlignment = oe.Center, r.content.verticalAlignment = d ? _.Bottom : _.Top) : (r.content.horizontalAlignment = d ? oe.Left : oe.Right, r.content.verticalAlignment = _.Middle), l instanceof Kt ? dS({ renderer: l, axisConfig: t.axisConfig, labelConfig: i }) : r.content.angle = r.content.angle ?? l.labels.template.get("rotation"), Mt({
|
|
6698
6698
|
label: l.labels.template,
|
|
6699
6699
|
labelConfig: r
|
|
6700
6700
|
}), lS({
|
|
@@ -7014,7 +7014,7 @@ function AS(t) {
|
|
|
7014
7014
|
t instanceof Ae && (t.onPrivate("min", Gl), t.onPrivate("max", Gl));
|
|
7015
7015
|
}
|
|
7016
7016
|
function TS(t) {
|
|
7017
|
-
const { axis: e, isHorizontalAxis: i, isSecondValueAxis: a } = t, { root: o } = e, n = i ? { ...A.xAxisTitleLabel, verticalCenter: _.Top } : A.yAxisTitleLabel, s =
|
|
7017
|
+
const { axis: e, isHorizontalAxis: i, isSecondValueAxis: a } = t, { root: o } = e, n = i ? { ...A.xAxisTitleLabel, verticalCenter: _.Top } : A.yAxisTitleLabel, s = Pa({ root: o, id: Qu(e, i), defaults: n });
|
|
7018
7018
|
return e.get("renderer") instanceof Hi && a !== !0 || e.get("renderer") instanceof Bt && a === !0 ? e.children.unshift(s) : e.children.push(s), i && a !== !0 && (e.events.onDebounced(
|
|
7019
7019
|
ie.BoundsChanged,
|
|
7020
7020
|
() => As(e, s),
|
|
@@ -7064,7 +7064,7 @@ function Vi(t) {
|
|
|
7064
7064
|
if (c !== void 0 && !d) {
|
|
7065
7065
|
zy(c), Yu(e, c);
|
|
7066
7066
|
const u = r === y.HistogramSeries || r === y.HeatSeries ? 0 : 0.1, m = r === y.HistogramSeries || r === y.HeatSeries ? 1 : 0.9;
|
|
7067
|
-
c.get("renderer").setAll({ cellStartLocation: u, cellEndLocation: m }), Uu(c), AS(c),
|
|
7067
|
+
c.get("renderer").setAll({ cellStartLocation: u, cellEndLocation: m }), Uu(c), AS(c), Pn(c.get("renderer")) ? c.get("renderer").labels.template.set(
|
|
7068
7068
|
s ? "paddingBottom" : "paddingTop",
|
|
7069
7069
|
A.axisLabelSpacing.horizontalAxisLabelPaddingTop
|
|
7070
7070
|
) : n instanceof Hi && c.get("renderer").labels.template.set(
|
|
@@ -7100,7 +7100,7 @@ function kS(t) {
|
|
|
7100
7100
|
}
|
|
7101
7101
|
}
|
|
7102
7102
|
function IS(t) {
|
|
7103
|
-
const { axis: e, axisTitleConfig: i, isSecondValueAxis: a } = t, o = e.get("renderer"), { chart: n } = e, s =
|
|
7103
|
+
const { axis: e, axisTitleConfig: i, isSecondValueAxis: a } = t, o = e.get("renderer"), { chart: n } = e, s = Pn(o), r = le({ childId: Qu(e, s), parent: e, useChildId: !0 }) ?? TS({ axis: e, isHorizontalAxis: s, isSecondValueAxis: a });
|
|
7104
7104
|
if (r instanceof Ot) {
|
|
7105
7105
|
const l = s ? { ...A.xAxisTitleLabel, verticalCenter: _.Top } : A.yAxisTitleLabel;
|
|
7106
7106
|
if (Mt({ label: r, labelConfig: i, defaults: l }), s && a !== !0 && As(e, r), n) {
|
|
@@ -7159,7 +7159,7 @@ function $r(t) {
|
|
|
7159
7159
|
overridePercentMultiplication: J === Oe.Stacked100,
|
|
7160
7160
|
externalAxisLabelFormatter: p,
|
|
7161
7161
|
errorStrings: x
|
|
7162
|
-
}), wy({ axis: e, isRotated: ee, chartConfig: b }),
|
|
7162
|
+
}), wy({ axis: e, isRotated: ee, chartConfig: b }), Ny({ axis: e, timeIntervalInfo: l, dateBaseInterval: W }), jt({
|
|
7163
7163
|
element: ve,
|
|
7164
7164
|
lineSymbol: { color: [...A.color], ...L ?? pn() },
|
|
7165
7165
|
visible: v
|
|
@@ -7177,7 +7177,7 @@ function $r(t) {
|
|
|
7177
7177
|
horizontalAxisLabelsBehavior: d,
|
|
7178
7178
|
isSecondValueAxis: h,
|
|
7179
7179
|
tickSpacing: V
|
|
7180
|
-
}),
|
|
7180
|
+
}), Py({ root: H, axis: e, displayCursorTooltip: R }), iS({ axis: e, guideConfigs: M, guideTooltipFormatter: S, anyGuideAboveChanged: m, utilsStrings: C }), kS({
|
|
7181
7181
|
axis: e,
|
|
7182
7182
|
data: i,
|
|
7183
7183
|
chartType: G,
|
|
@@ -7409,7 +7409,7 @@ function BS(t) {
|
|
|
7409
7409
|
const { chart: e, enabled: i } = t, a = i ? "pointer" : "default";
|
|
7410
7410
|
e instanceof Ra && e.series.each((o) => {
|
|
7411
7411
|
switch (!0) {
|
|
7412
|
-
case o instanceof
|
|
7412
|
+
case o instanceof Ne:
|
|
7413
7413
|
o.columns.template.set("cursorOverStyle", a);
|
|
7414
7414
|
break;
|
|
7415
7415
|
case o instanceof Ce:
|
|
@@ -7448,17 +7448,17 @@ function MS(t) {
|
|
|
7448
7448
|
}
|
|
7449
7449
|
e instanceof pe && e.get("cursor") !== void 0 && u !== void 0 && e.get("cursor")?.set("behavior", u), BS({ chart: e, enabled: m });
|
|
7450
7450
|
}
|
|
7451
|
-
function
|
|
7451
|
+
function PS(t, e) {
|
|
7452
7452
|
e !== void 0 && (e.width !== void 0 && t.set("width", kl(e.width)), e.height !== void 0 && t.set("height", kl(e.height)), e.paddingTop !== void 0 && t.set("paddingTop", e.paddingTop), e.paddingBottom !== void 0 && t.set("paddingBottom", e.paddingBottom));
|
|
7453
7453
|
}
|
|
7454
7454
|
function Ts(t) {
|
|
7455
7455
|
const { root: e, defaults: i, parent: a, id: o, index: n } = t, s = oi.new(e, {});
|
|
7456
|
-
return
|
|
7456
|
+
return PS(s, i), a !== void 0 && a.children.insertIndex(n ?? a.children.length, s), o !== void 0 && s.set("id", o), s;
|
|
7457
7457
|
}
|
|
7458
7458
|
function ks(t, e) {
|
|
7459
7459
|
e ? t.hide() : t.show();
|
|
7460
7460
|
}
|
|
7461
|
-
function
|
|
7461
|
+
function NS(t, e) {
|
|
7462
7462
|
const i = Ts({
|
|
7463
7463
|
root: t,
|
|
7464
7464
|
defaults: A.headerContainer,
|
|
@@ -7471,22 +7471,22 @@ function PS(t, e) {
|
|
|
7471
7471
|
parent: e,
|
|
7472
7472
|
id: _e(xr, e.uid),
|
|
7473
7473
|
index: 1
|
|
7474
|
-
}), o =
|
|
7474
|
+
}), o = Pa({
|
|
7475
7475
|
root: t,
|
|
7476
7476
|
parent: i,
|
|
7477
7477
|
defaults: A.titleLabel,
|
|
7478
7478
|
id: _e(pu, i.uid)
|
|
7479
|
-
}), n =
|
|
7479
|
+
}), n = Pa({
|
|
7480
7480
|
root: t,
|
|
7481
7481
|
parent: a,
|
|
7482
7482
|
defaults: A.subtitleLabel,
|
|
7483
7483
|
id: _e(bu, a.uid)
|
|
7484
7484
|
});
|
|
7485
|
-
|
|
7485
|
+
Na({
|
|
7486
7486
|
chart: e,
|
|
7487
7487
|
label: o,
|
|
7488
7488
|
labelType: Q.ChartTitle
|
|
7489
|
-
}),
|
|
7489
|
+
}), Na({
|
|
7490
7490
|
chart: e,
|
|
7491
7491
|
label: n,
|
|
7492
7492
|
labelType: Q.ChartSubTitle
|
|
@@ -7529,12 +7529,12 @@ function VS(t) {
|
|
|
7529
7529
|
defaults: A.footerContainer,
|
|
7530
7530
|
parent: t,
|
|
7531
7531
|
id: _e(Rn, t.uid)
|
|
7532
|
-
}), a =
|
|
7532
|
+
}), a = Pa({
|
|
7533
7533
|
root: e,
|
|
7534
7534
|
parent: i,
|
|
7535
7535
|
id: _e(yu, i.uid)
|
|
7536
7536
|
});
|
|
7537
|
-
|
|
7537
|
+
Na({
|
|
7538
7538
|
chart: t,
|
|
7539
7539
|
label: a,
|
|
7540
7540
|
labelType: Q.ChartFooter
|
|
@@ -7728,7 +7728,7 @@ function ZS(t, e) {
|
|
|
7728
7728
|
});
|
|
7729
7729
|
}
|
|
7730
7730
|
function KS(t) {
|
|
7731
|
-
const { root: e, chartConfig: i, seriesConfig: a, xAxis: o, yAxis: n, options: s } = t, { id: r, name: l } = a, { xField: d, yField: c, xAxisField: u, yAxisField: m } = ja(i, a), g = Jm(i), h =
|
|
7731
|
+
const { root: e, chartConfig: i, seriesConfig: a, xAxis: o, yAxis: n, options: s } = t, { id: r, name: l } = a, { xField: d, yField: c, xAxisField: u, yAxisField: m } = ja(i, a), g = Jm(i), h = Ne.new(e, {
|
|
7732
7732
|
id: r,
|
|
7733
7733
|
name: l,
|
|
7734
7734
|
stacked: g,
|
|
@@ -7933,12 +7933,12 @@ function tC(t) {
|
|
|
7933
7933
|
}
|
|
7934
7934
|
function iC(t) {
|
|
7935
7935
|
const { chartConfig: e, seriesConfig: i } = t, a = ft(e), o = e.showOutliers, n = e.standardizeValues, s = dt(e), { y: r } = i, l = _s(e), d = Y(l.series), c = s ? void 0 : i?.query?.where, u = {
|
|
7936
|
-
y: d ===
|
|
7936
|
+
y: d === P.BoxPlotMultiFieldsAndCategory && typeof r == "string" ? r : void 0,
|
|
7937
7937
|
chartSubType: d,
|
|
7938
7938
|
splitBy: c,
|
|
7939
7939
|
showOutliers: o,
|
|
7940
7940
|
standardizeValues: fo(d) ? n : !1
|
|
7941
|
-
}, m =
|
|
7941
|
+
}, m = Nn({
|
|
7942
7942
|
chartConfig: e,
|
|
7943
7943
|
seriesConfig: i,
|
|
7944
7944
|
key: K.ThirdQuartile
|
|
@@ -8044,12 +8044,12 @@ function sC(t) {
|
|
|
8044
8044
|
return l;
|
|
8045
8045
|
}
|
|
8046
8046
|
function rC(t) {
|
|
8047
|
-
const { chartConfig: e, seriesConfig: i } = t, a = Y(e.series), { showOutliers: o, standardizeValues: n } = e, { y: s } = i, r = i?.query?.where, l = _s(e), d =
|
|
8047
|
+
const { chartConfig: e, seriesConfig: i } = t, a = Y(e.series), { showOutliers: o, standardizeValues: n } = e, { y: s } = i, r = i?.query?.where, l = _s(e), d = Nn({
|
|
8048
8048
|
chartConfig: l,
|
|
8049
8049
|
seriesConfig: i,
|
|
8050
8050
|
key: K.Average
|
|
8051
8051
|
}), c = ye({
|
|
8052
|
-
y: a ===
|
|
8052
|
+
y: a === P.BoxPlotMultiFieldsAndCategory && typeof s == "string" ? s : void 0,
|
|
8053
8053
|
chartSubType: a,
|
|
8054
8054
|
splitBy: r,
|
|
8055
8055
|
showOutliers: o,
|
|
@@ -8109,7 +8109,7 @@ function uC(t, e) {
|
|
|
8109
8109
|
}
|
|
8110
8110
|
function fC(t) {
|
|
8111
8111
|
const { chartConfig: e, seriesConfig: i } = t;
|
|
8112
|
-
return
|
|
8112
|
+
return Nn({
|
|
8113
8113
|
chartConfig: e,
|
|
8114
8114
|
seriesConfig: i,
|
|
8115
8115
|
key: K.Outlier
|
|
@@ -8206,7 +8206,7 @@ function bC(t) {
|
|
|
8206
8206
|
}
|
|
8207
8207
|
function ff(t) {
|
|
8208
8208
|
const { data: e, colorMatch: i, chartSubType: a, rendererType: o } = t;
|
|
8209
|
-
return e !== void 0 && i && o !== void 0 && (a ===
|
|
8209
|
+
return e !== void 0 && i && o !== void 0 && (a === P.BoxPlotMultiFields && (o === is.UniqueValue || o === is.PieChart) || a === P.BoxPlotMonoFieldAndCategory && o === is.UniqueValue) && e.some(
|
|
8210
8210
|
(n) => Object.keys(n).some((s) => s.includes(z.rendererSymbolField))
|
|
8211
8211
|
);
|
|
8212
8212
|
}
|
|
@@ -8224,7 +8224,7 @@ function yC(t) {
|
|
|
8224
8224
|
o = K.Min;
|
|
8225
8225
|
break;
|
|
8226
8226
|
}
|
|
8227
|
-
return
|
|
8227
|
+
return Nn({
|
|
8228
8228
|
chartConfig: e,
|
|
8229
8229
|
seriesConfig: i,
|
|
8230
8230
|
key: o
|
|
@@ -8289,14 +8289,14 @@ function rs(t) {
|
|
|
8289
8289
|
}
|
|
8290
8290
|
return d;
|
|
8291
8291
|
}
|
|
8292
|
-
function
|
|
8292
|
+
function Nn(t) {
|
|
8293
8293
|
const { chartConfig: e, seriesConfig: i, key: a } = t, o = ft(e), n = e.showOutliers, s = e.standardizeValues, r = dt(e), l = Y(e.series), { x: d, y: c } = i, u = r ? void 0 : i?.query?.where, m = {
|
|
8294
|
-
y: l ===
|
|
8294
|
+
y: l === P.BoxPlotMultiFieldsAndCategory && typeof c == "string" ? c : void 0,
|
|
8295
8295
|
chartSubType: l,
|
|
8296
8296
|
splitBy: u,
|
|
8297
8297
|
showOutliers: n,
|
|
8298
8298
|
standardizeValues: fo(l) ? s : !1
|
|
8299
|
-
}, g = l ===
|
|
8299
|
+
}, g = l === P.BoxPlotMonoField || l === P.BoxPlotMultiFields || l === P.BoxPlotMonoFieldAndSplitBy || l === P.BoxPlotMultiFieldsAndSplitBy ? Us : d;
|
|
8300
8300
|
return {
|
|
8301
8301
|
dataFields: {
|
|
8302
8302
|
value: o ? "valueXField" : "valueYField",
|
|
@@ -8325,7 +8325,7 @@ function mf(t, e) {
|
|
|
8325
8325
|
return { topStepLineSeries: i, medianStepLineSeries: a, bottomStepLineSeries: o };
|
|
8326
8326
|
}
|
|
8327
8327
|
function gf(t) {
|
|
8328
|
-
return t !==
|
|
8328
|
+
return t !== P.BoxPlotMonoField && t !== P.BoxPlotMultiFields && t !== P.BoxPlotMonoFieldAndCategory;
|
|
8329
8329
|
}
|
|
8330
8330
|
function hf(t) {
|
|
8331
8331
|
const { chart: e, candleSeriesIndex: i, numberOfCandleStickSeries: a } = t;
|
|
@@ -8689,7 +8689,7 @@ function MC(t, e) {
|
|
|
8689
8689
|
const { connectLines: i, temporalBinning: a } = e, o = a?.nullPolicy;
|
|
8690
8690
|
t.set("connect", i !== !1 && o !== Sc.Null);
|
|
8691
8691
|
}
|
|
8692
|
-
function
|
|
8692
|
+
function PC(t) {
|
|
8693
8693
|
const {
|
|
8694
8694
|
series: e,
|
|
8695
8695
|
data: i,
|
|
@@ -8747,7 +8747,7 @@ function NC(t) {
|
|
|
8747
8747
|
seriesConfig: S
|
|
8748
8748
|
}), Tr({ chartConfig: a, series: e, seriesIndex: n, subtypeInfo: l, fieldList: d });
|
|
8749
8749
|
}
|
|
8750
|
-
function
|
|
8750
|
+
function NC(t, e) {
|
|
8751
8751
|
const i = t.labels.template;
|
|
8752
8752
|
i.adapters.remove("text"), i.adapters.remove("html");
|
|
8753
8753
|
const a = e !== void 0 ? "html" : "text";
|
|
@@ -8789,7 +8789,7 @@ function WC(t, e) {
|
|
|
8789
8789
|
oversizedBehavior: A.pieChart.dataLabels.wrap ?? !0 ? "wrap" : "none",
|
|
8790
8790
|
centerX: be,
|
|
8791
8791
|
centerY: be
|
|
8792
|
-
}),
|
|
8792
|
+
}), NC(t, e), i.adapters.add(
|
|
8793
8793
|
"fill",
|
|
8794
8794
|
(a, o, n) => VC(o)
|
|
8795
8795
|
);
|
|
@@ -8945,7 +8945,7 @@ function ed(t, e) {
|
|
|
8945
8945
|
}), { slices: m, groupOfSlicesSymbols: g, groupOfSlices: h };
|
|
8946
8946
|
}
|
|
8947
8947
|
async function yf(t) {
|
|
8948
|
-
const { data: e } = t, i = e && "dataItems" in e ? e.dataItems : [], { root: a, chartConfig: o, queryObject: n, usePopupTemplateFieldsInfo: s, labelUpdateNeeded: r, utilsStrings: l } = t, d = o.series[0], { x: c } = d, u = !Jd({ chartConfig: o }), g = Y([d]) ===
|
|
8948
|
+
const { data: e } = t, i = e && "dataItems" in e ? e.dataItems : [], { root: a, chartConfig: o, queryObject: n, usePopupTemplateFieldsInfo: s, labelUpdateNeeded: r, utilsStrings: l } = t, d = o.series[0], { x: c } = d, u = !Jd({ chartConfig: o }), g = Y([d]) === P.PieFromFields, h = bt(n), b = ra(h).idField, p = await It(n, s), S = {
|
|
8949
8949
|
root: a,
|
|
8950
8950
|
x: c,
|
|
8951
8951
|
isNonAggregatedChart: u,
|
|
@@ -9009,11 +9009,11 @@ function YC(t) {
|
|
|
9009
9009
|
loaderHandle: r,
|
|
9010
9010
|
labelUpdateNeeded: l,
|
|
9011
9011
|
groupOfSlicesUpdateNeeded: d
|
|
9012
|
-
} = t, { x: c, y: u } = a, m = Y([a]), g = m ===
|
|
9012
|
+
} = t, { x: c, y: u } = a, m = Y([a]), g = m === P.PieFromFields ? ni : c;
|
|
9013
9013
|
if (i && (o === !0 || s === !0 || n === !0 || d === !0))
|
|
9014
9014
|
e.setAll({
|
|
9015
9015
|
categoryField: g,
|
|
9016
|
-
valueField: m ===
|
|
9016
|
+
valueField: m === P.PieFromFields ? Fa : u
|
|
9017
9017
|
}), e.events.once(ie.DataValidated, () => {
|
|
9018
9018
|
r.hideLoader();
|
|
9019
9019
|
}), e.data.setAll(i.dataItems);
|
|
@@ -9040,8 +9040,8 @@ function jC(t) {
|
|
|
9040
9040
|
const { root: e, seriesConfig: i, options: a, chart: o } = t, { id: n, name: s, x: r, y: l } = i, d = Y([i]), c = yt.new(e, {
|
|
9041
9041
|
id: n,
|
|
9042
9042
|
name: s,
|
|
9043
|
-
categoryField: d ===
|
|
9044
|
-
valueField: d ===
|
|
9043
|
+
categoryField: d === P.PieFromFields ? ni : r,
|
|
9044
|
+
valueField: d === P.PieFromFields ? Fa : l
|
|
9045
9045
|
});
|
|
9046
9046
|
return WC(c, a?.dataLabelFormatter), lu(c, a?.tooltipFormatter), c.slices.template.states.create("hover", {
|
|
9047
9047
|
scale: 1,
|
|
@@ -9441,7 +9441,7 @@ async function Vn(t) {
|
|
|
9441
9441
|
const ct = de.type;
|
|
9442
9442
|
switch (!0) {
|
|
9443
9443
|
case w === y.HeatSeries: {
|
|
9444
|
-
me instanceof
|
|
9444
|
+
me instanceof Ne && e instanceof pe && Da(i) && ib({
|
|
9445
9445
|
...ge,
|
|
9446
9446
|
series: me,
|
|
9447
9447
|
data: o,
|
|
@@ -9466,7 +9466,7 @@ async function Vn(t) {
|
|
|
9466
9466
|
break;
|
|
9467
9467
|
}
|
|
9468
9468
|
case ct === y.HistogramSeries: {
|
|
9469
|
-
me instanceof
|
|
9469
|
+
me instanceof Ne && e instanceof pe && eh(o) && await ry({
|
|
9470
9470
|
...ge,
|
|
9471
9471
|
series: me,
|
|
9472
9472
|
allChartSeries: O,
|
|
@@ -9493,13 +9493,13 @@ async function Vn(t) {
|
|
|
9493
9493
|
break;
|
|
9494
9494
|
}
|
|
9495
9495
|
case (w === y.ComboLineAndBarSeries || w === y.BarSeries || w === y.LineSeries):
|
|
9496
|
-
e instanceof pe && as(o) && (ct === y.BarSeries && me instanceof
|
|
9496
|
+
e instanceof pe && as(o) && (ct === y.BarSeries && me instanceof Ne ? tC({
|
|
9497
9497
|
...ge,
|
|
9498
9498
|
series: me,
|
|
9499
9499
|
data: o,
|
|
9500
9500
|
seriesIndex: te,
|
|
9501
9501
|
seriesConfig: de
|
|
9502
|
-
}) : ct === y.LineSeries && me instanceof Ce &&
|
|
9502
|
+
}) : ct === y.LineSeries && me instanceof Ce && PC({
|
|
9503
9503
|
...ge,
|
|
9504
9504
|
series: me,
|
|
9505
9505
|
seriesIndex: te,
|
|
@@ -9560,7 +9560,7 @@ function Rr(t) {
|
|
|
9560
9560
|
return g[ii.defaultGroupOfSlicesId] === !0 && (l = g, h = !1), h;
|
|
9561
9561
|
});
|
|
9562
9562
|
if (s > 0 && r.length > 0) {
|
|
9563
|
-
const g = d / n * 100, h = Y(i) ===
|
|
9563
|
+
const g = d / n * 100, h = Y(i) === P.PieFromFields, b = {
|
|
9564
9564
|
...l,
|
|
9565
9565
|
[ii.defaultGroupOfSlicesId]: !0,
|
|
9566
9566
|
[h ? ni : o.x]: o.sliceGrouping?.label ?? a?.pieChart.defaultSliceGroupingLabel,
|
|
@@ -9612,7 +9612,7 @@ async function rx(t) {
|
|
|
9612
9612
|
const e = $(t.uid, "actionMode");
|
|
9613
9613
|
e !== j.MonoSelection && e !== j.None && (t.series.each((i) => {
|
|
9614
9614
|
switch (!0) {
|
|
9615
|
-
case i instanceof
|
|
9615
|
+
case i instanceof Ne:
|
|
9616
9616
|
nx(i);
|
|
9617
9617
|
break;
|
|
9618
9618
|
case i instanceof Ce:
|
|
@@ -9622,7 +9622,7 @@ async function rx(t) {
|
|
|
9622
9622
|
sx(i);
|
|
9623
9623
|
break;
|
|
9624
9624
|
}
|
|
9625
|
-
}), await Fr(t,
|
|
9625
|
+
}), await Fr(t, Pe.ProgrammaticSelection));
|
|
9626
9626
|
}
|
|
9627
9627
|
}
|
|
9628
9628
|
function lx(t) {
|
|
@@ -9739,7 +9739,7 @@ function Ff(t) {
|
|
|
9739
9739
|
case y.LineSeries: {
|
|
9740
9740
|
s.series.forEach((m) => {
|
|
9741
9741
|
let g = "";
|
|
9742
|
-
"y" in m && (g = Array.isArray(m.y) ? m.y[0] : m.y, d ===
|
|
9742
|
+
"y" in m && (g = Array.isArray(m.y) ? m.y[0] : m.y, d === P.BarAndLineSplitByNoAggregation && (g = `${g}_${Ai({ where: m.query?.where, keepSurroundingQuotes: !1, escape: !1 })}`), Array.isArray(i) && i.some(
|
|
9743
9743
|
(b) => zs({ dataItem: b, x: m.x, y: g })
|
|
9744
9744
|
) && c.add(m));
|
|
9745
9745
|
});
|
|
@@ -9828,7 +9828,7 @@ function Is(t) {
|
|
|
9828
9828
|
const { chart: e, actionMode: i, cursorRange: a } = t;
|
|
9829
9829
|
if ($n(e)) {
|
|
9830
9830
|
const o = i ?? $(e.uid, "actionMode") ?? A.actionMode;
|
|
9831
|
-
re(e.uid, { actionMode: o }), o === j.None && ma({ chart: e, selectionSource:
|
|
9831
|
+
re(e.uid, { actionMode: o }), o === j.None && ma({ chart: e, selectionSource: Pe.ClearSelection }), MS({ chart: e, actionMode: o, cursorRange: a });
|
|
9832
9832
|
}
|
|
9833
9833
|
}
|
|
9834
9834
|
function hx(t) {
|
|
@@ -10093,15 +10093,15 @@ async function Sx(t) {
|
|
|
10093
10093
|
x.series.forEach((kt, Qn) => {
|
|
10094
10094
|
Bi.set(kt.id, Qn);
|
|
10095
10095
|
});
|
|
10096
|
-
const Kn = la({ chartConfig: x, queryObject: m }),
|
|
10096
|
+
const Kn = la({ chartConfig: x, queryObject: m }), Po = dt(x), al = Ff({
|
|
10097
10097
|
chart: e,
|
|
10098
|
-
data:
|
|
10098
|
+
data: Po ? ae : Tt,
|
|
10099
10099
|
config: x,
|
|
10100
10100
|
hideEmptySeries: l?.hideEmptySeries ?? A.options.hideEmptySeries
|
|
10101
10101
|
});
|
|
10102
10102
|
if (x = al.updatedConfig, ae && "dataItems" in ae && (d || H)) {
|
|
10103
10103
|
const kt = await Ga({
|
|
10104
|
-
data:
|
|
10104
|
+
data: Po && "meanLines" in ae && ae.meanLines !== void 0 ? ae.meanLines : ae.dataItems,
|
|
10105
10105
|
chartConfig: x,
|
|
10106
10106
|
queryObject: m,
|
|
10107
10107
|
allowColorMatch: Kn
|
|
@@ -10321,7 +10321,7 @@ async function vx(t) {
|
|
|
10321
10321
|
config: S
|
|
10322
10322
|
});
|
|
10323
10323
|
const { title: O, subtitle: B, footer: M } = S;
|
|
10324
|
-
|
|
10324
|
+
NS(C, x), rf(x, { title: O, subtitle: B }), VS(x), lf(x, M), OS(C, x), tf(x, S.background);
|
|
10325
10325
|
const V = await It(r, o?.usePopupTemplateFieldsInfo);
|
|
10326
10326
|
if (re(x.uid, { fieldList: V }), !h)
|
|
10327
10327
|
Wn({
|
|
@@ -10366,7 +10366,7 @@ async function vx(t) {
|
|
|
10366
10366
|
}
|
|
10367
10367
|
re(x.uid, { queryConfig: g, initialized: h, elementCount: p, data: m });
|
|
10368
10368
|
const J = Y(S.series);
|
|
10369
|
-
wt(S) && J !==
|
|
10369
|
+
wt(S) && J !== P.BoxPlotMonoField && J !== P.BoxPlotMonoFieldAndSplitBy && (sa({ arrayToSort: H, chartConfig: S, fieldList: V }), pf({
|
|
10370
10370
|
chart: x,
|
|
10371
10371
|
chartData: H,
|
|
10372
10372
|
chartConfig: S
|
|
@@ -10393,7 +10393,7 @@ async function vx(t) {
|
|
|
10393
10393
|
loaderHandle: L,
|
|
10394
10394
|
utilsStrings: c,
|
|
10395
10395
|
errorStrings: d
|
|
10396
|
-
}), x instanceof Ra && (v =
|
|
10396
|
+
}), x instanceof Ra && (v = Nl(x, S), Bu({
|
|
10397
10397
|
chart: x,
|
|
10398
10398
|
chartConfig: S,
|
|
10399
10399
|
legend: v,
|
|
@@ -10417,7 +10417,7 @@ async function vx(t) {
|
|
|
10417
10417
|
}
|
|
10418
10418
|
return {
|
|
10419
10419
|
update: async (k) => {
|
|
10420
|
-
v === void 0 && (v =
|
|
10420
|
+
v === void 0 && (v = Nl(x, k.newChartConfig)), await Sx({ chart: x, legend: v, chartModal: T, loaderHandle: L, updateProps: k });
|
|
10421
10421
|
},
|
|
10422
10422
|
dispose: () => mx(C),
|
|
10423
10423
|
notify: (k, w, R) => dx({ chartModal: T, chart: x, message: k, heading: w, options: R }),
|
|
@@ -10657,11 +10657,11 @@ function Tf(t) {
|
|
|
10657
10657
|
else if (n !== void 0) {
|
|
10658
10658
|
const c = Y(r?.series);
|
|
10659
10659
|
if ([
|
|
10660
|
-
|
|
10661
|
-
|
|
10662
|
-
|
|
10663
|
-
|
|
10664
|
-
|
|
10660
|
+
P.BoxPlotMonoField,
|
|
10661
|
+
P.BoxPlotMultiFields,
|
|
10662
|
+
P.BoxPlotMonoFieldAndSplitBy,
|
|
10663
|
+
P.BoxPlotMultiFieldsAndSplitBy,
|
|
10664
|
+
P.BarAndLineFromFields
|
|
10665
10665
|
].includes(c) && typeof d == "string") {
|
|
10666
10666
|
const g = D(e.chart.uid, "fieldList");
|
|
10667
10667
|
d = Ve(g, d);
|
|
@@ -10714,7 +10714,7 @@ function Bx(t) {
|
|
|
10714
10714
|
function Mx(t) {
|
|
10715
10715
|
t instanceof we && !(t instanceof Ee) ? $x(t) : t instanceof lt ? Dx(t) : t instanceof Ee && Rx(t), Bx(t);
|
|
10716
10716
|
}
|
|
10717
|
-
function
|
|
10717
|
+
function Px(t) {
|
|
10718
10718
|
const { axis: e, formatOptions: i, dateAxisFormatter: a } = t;
|
|
10719
10719
|
if (Ke(e.uid, { dateFormatter: a }), a === void 0) {
|
|
10720
10720
|
e.renderer.labels.template.adapter.isEnabled("htmlOutput") && (e.renderer.labels.template.adapter.disableKey("htmlOutput"), e.renderer.labels.each((s) => {
|
|
@@ -10740,7 +10740,7 @@ function Nx(t) {
|
|
|
10740
10740
|
} else
|
|
10741
10741
|
e.renderer.labels.template.html = F.htmlEmptyContent, e.renderer.labels.template.adapter.enableKey("htmlOutput");
|
|
10742
10742
|
}
|
|
10743
|
-
function
|
|
10743
|
+
function Nx(t, e, i, a) {
|
|
10744
10744
|
const o = di({
|
|
10745
10745
|
type: y.NumberAxisFormat,
|
|
10746
10746
|
iLocale: e,
|
|
@@ -10754,7 +10754,7 @@ function Px(t, e, i, a) {
|
|
|
10754
10754
|
function id(t) {
|
|
10755
10755
|
const { axis: e, formatOptions: i, overridePercentMultiplication: a, valueAxisFormatter: o } = t, n = bi(i), s = D(e.chart.uid, "formatLocale");
|
|
10756
10756
|
Ke(e.uid, {
|
|
10757
|
-
numberFormatter: o ??
|
|
10757
|
+
numberFormatter: o ?? Nx(
|
|
10758
10758
|
n,
|
|
10759
10759
|
e.chart.language.locale,
|
|
10760
10760
|
s,
|
|
@@ -10805,7 +10805,7 @@ function Ex(t) {
|
|
|
10805
10805
|
formatOptions: a,
|
|
10806
10806
|
overridePercentMultiplication: n,
|
|
10807
10807
|
valueAxisFormatter: r
|
|
10808
|
-
}) : e instanceof Ee && ui(a) ?
|
|
10808
|
+
}) : e instanceof Ee && ui(a) ? Px({
|
|
10809
10809
|
axis: e,
|
|
10810
10810
|
formatOptions: a,
|
|
10811
10811
|
dateAxisFormatter: r
|
|
@@ -10824,7 +10824,7 @@ function Hx(t) {
|
|
|
10824
10824
|
let e = t;
|
|
10825
10825
|
return t >= 1 ? e = 10 ** (t.toFixed(0).length - 1) : t < 1 && t > 0 && (e = 10 ** -Math.abs(Math.floor(Math.log10(t)))), e;
|
|
10826
10826
|
}
|
|
10827
|
-
const
|
|
10827
|
+
const N = {
|
|
10828
10828
|
Ready: "ready",
|
|
10829
10829
|
Hidden: "hidden",
|
|
10830
10830
|
Shown: "shown",
|
|
@@ -11054,7 +11054,7 @@ function Zx(t, e) {
|
|
|
11054
11054
|
};
|
|
11055
11055
|
}
|
|
11056
11056
|
function Kx(t) {
|
|
11057
|
-
const { color: e, outline: i, xoffset: a, yoffset: o, style: n, size: s, angle: r } = t, l = n !== void 0 ?
|
|
11057
|
+
const { color: e, outline: i, xoffset: a, yoffset: o, style: n, size: s, angle: r } = t, l = n !== void 0 ? Pc(n, s) : "", d = wf(r);
|
|
11058
11058
|
return {
|
|
11059
11059
|
path: l,
|
|
11060
11060
|
fill: nt(e),
|
|
@@ -11064,7 +11064,7 @@ function Kx(t) {
|
|
|
11064
11064
|
angle: d
|
|
11065
11065
|
};
|
|
11066
11066
|
}
|
|
11067
|
-
function
|
|
11067
|
+
function Pr(t) {
|
|
11068
11068
|
const { symbol: e, defaultToColorFromRamp: i, colorRampIndex: a, isChartFillSymbol: o = !1, chartBackgroundColor: n } = t;
|
|
11069
11069
|
let s;
|
|
11070
11070
|
if (i === !0) {
|
|
@@ -11108,10 +11108,10 @@ function Bf(t, e, i) {
|
|
|
11108
11108
|
function ka(t, e) {
|
|
11109
11109
|
t.stroke = e.stroke, t.strokeOpacity = e.stroke.alpha === 0 ? 0 : 1, t.strokeDasharray = e.strokeDasharray, t.strokeLinecap = e.strokeLinecap, t.strokeWidth = e.strokeWidth;
|
|
11110
11110
|
}
|
|
11111
|
-
function
|
|
11111
|
+
function Nr(t) {
|
|
11112
11112
|
const { element: e, markerSymbol: i, visible: a, defaultToColorFromRamp: o, colorRampIndex: n } = t;
|
|
11113
11113
|
let s;
|
|
11114
|
-
return i !== void 0 ? (s =
|
|
11114
|
+
return i !== void 0 ? (s = Pr({
|
|
11115
11115
|
symbol: i,
|
|
11116
11116
|
defaultToColorFromRamp: o,
|
|
11117
11117
|
colorRampIndex: n
|
|
@@ -11120,7 +11120,7 @@ function Pr(t) {
|
|
|
11120
11120
|
function Ji(t) {
|
|
11121
11121
|
const { element: e, lineSymbol: i, visible: a, defaultToColorFromRamp: o, colorRampIndex: n } = t;
|
|
11122
11122
|
let s;
|
|
11123
|
-
return i !== void 0 ? (s =
|
|
11123
|
+
return i !== void 0 ? (s = Pr({
|
|
11124
11124
|
symbol: i,
|
|
11125
11125
|
defaultToColorFromRamp: o,
|
|
11126
11126
|
colorRampIndex: n
|
|
@@ -11134,7 +11134,7 @@ function xo(t) {
|
|
|
11134
11134
|
const d = Gx(e);
|
|
11135
11135
|
d !== void 0 && (l = Xx(d));
|
|
11136
11136
|
}
|
|
11137
|
-
r =
|
|
11137
|
+
r = Pr({
|
|
11138
11138
|
symbol: i,
|
|
11139
11139
|
defaultToColorFromRamp: o,
|
|
11140
11140
|
colorRampIndex: n,
|
|
@@ -11174,7 +11174,7 @@ function aa(t) {
|
|
|
11174
11174
|
});
|
|
11175
11175
|
break;
|
|
11176
11176
|
case q.SMS:
|
|
11177
|
-
d =
|
|
11177
|
+
d = Nr({
|
|
11178
11178
|
...c,
|
|
11179
11179
|
markerSymbol: u
|
|
11180
11180
|
});
|
|
@@ -11200,7 +11200,7 @@ function Qx(t, e) {
|
|
|
11200
11200
|
function Mf(t) {
|
|
11201
11201
|
!(t instanceof St) && !(t instanceof $e) && (t.cursor = new vc());
|
|
11202
11202
|
}
|
|
11203
|
-
function
|
|
11203
|
+
function Pf(t, e) {
|
|
11204
11204
|
if (!(t instanceof St) && !(t instanceof $e)) {
|
|
11205
11205
|
const i = t, a = i.cursor ?? new vc();
|
|
11206
11206
|
e?.style !== void 0 && Qx(i, e.style);
|
|
@@ -11213,7 +11213,7 @@ function Jx(t) {
|
|
|
11213
11213
|
}
|
|
11214
11214
|
function $s(t, e) {
|
|
11215
11215
|
const i = t.renderer.labels.template;
|
|
11216
|
-
i.events.hasListenersByType(
|
|
11216
|
+
i.events.hasListenersByType(N.Hit) && (i.cursorOverStyle = e), t.renderer.labels.each((a) => {
|
|
11217
11217
|
a.cursorOverStyle = e;
|
|
11218
11218
|
});
|
|
11219
11219
|
}
|
|
@@ -11278,7 +11278,7 @@ function tv(t) {
|
|
|
11278
11278
|
}
|
|
11279
11279
|
e instanceof ce && e.cursor !== void 0 && u !== void 0 && (e.cursor.behavior = u), ev({ chart: e, chartType: r, enabled: m, showMean: s });
|
|
11280
11280
|
}
|
|
11281
|
-
function
|
|
11281
|
+
function Nf(t) {
|
|
11282
11282
|
let e = "";
|
|
11283
11283
|
return t instanceof Ci ? e = t.dataFields?.categoryX ?? t.dataFields?.dateX ?? t.dataFields?.valueX ?? "" : t instanceof Et && (e = t.dataFields?.category ?? ""), e;
|
|
11284
11284
|
}
|
|
@@ -11287,10 +11287,10 @@ function Vf(t) {
|
|
|
11287
11287
|
return t instanceof Ci ? e = t.dataFields?.categoryY ?? t.dataFields?.dateY ?? t.dataFields?.valueY ?? "" : t instanceof Et && (e = t.dataFields?.value ?? ""), e;
|
|
11288
11288
|
}
|
|
11289
11289
|
function Wf(t) {
|
|
11290
|
-
return D(t.chart.uid, "isRotated") === !0 ? Vf(t) :
|
|
11290
|
+
return D(t.chart.uid, "isRotated") === !0 ? Vf(t) : Nf(t);
|
|
11291
11291
|
}
|
|
11292
11292
|
function Qi(t) {
|
|
11293
|
-
return D(t.chart.uid, "isRotated") === !0 ?
|
|
11293
|
+
return D(t.chart.uid, "isRotated") === !0 ? Nf(t) : Vf(t);
|
|
11294
11294
|
}
|
|
11295
11295
|
function En(t, e = 0) {
|
|
11296
11296
|
const i = D(t.chart.uid, "config");
|
|
@@ -11306,7 +11306,7 @@ function vo(t) {
|
|
|
11306
11306
|
});
|
|
11307
11307
|
return typeof e == "number" && i.type === y.NumberAxisFormat ? n = s.format(e, bi(i)) : (typeof e == "number" || e instanceof Date) && i.type === y.DateAxisFormat && (n = s.format(e, bi(i))), n;
|
|
11308
11308
|
}
|
|
11309
|
-
function
|
|
11309
|
+
function Pt(t) {
|
|
11310
11310
|
const { chart: e, config: i } = t;
|
|
11311
11311
|
let a = i;
|
|
11312
11312
|
return i === void 0 && e !== void 0 && (a = D(e.uid, "config")), ft(a);
|
|
@@ -11376,7 +11376,7 @@ function nd(t) {
|
|
|
11376
11376
|
} else
|
|
11377
11377
|
e[a] = i;
|
|
11378
11378
|
}
|
|
11379
|
-
function
|
|
11379
|
+
function Nt(t) {
|
|
11380
11380
|
const { label: e, labelConfig: i, defaults: a, skipSettingText: o } = t;
|
|
11381
11381
|
if (i !== void 0) {
|
|
11382
11382
|
const n = dn(i.content, e.rtl, a);
|
|
@@ -11499,7 +11499,7 @@ function Xf(t) {
|
|
|
11499
11499
|
}
|
|
11500
11500
|
g !== void 0 && Jt(e.uid, {
|
|
11501
11501
|
[g]: u
|
|
11502
|
-
}), n !== void 0 && (n.content.text = l === !0 ? "{valueX}" : "{valueY}", n.visible = n.visible !== !1),
|
|
11502
|
+
}), n !== void 0 && (n.content.text = l === !0 ? "{valueX}" : "{valueY}", n.visible = n.visible !== !1), Nt({
|
|
11503
11503
|
label: a,
|
|
11504
11504
|
labelConfig: n,
|
|
11505
11505
|
defaults: o ?? F.dataLabel
|
|
@@ -11553,9 +11553,9 @@ function dv(t) {
|
|
|
11553
11553
|
const { chart: e, series: i, seriesType: a, marker: o, numberOfChartSeries: n, ignoreSmoothRenderingLimit: s } = t;
|
|
11554
11554
|
let r = lv({ marker: o, chart: e });
|
|
11555
11555
|
const l = n ?? 1, d = e.data.length * l + l;
|
|
11556
|
-
s !== !0 && d > F.elementLimitForSmoothRendering && (r = pt(r, F.debounceTime)), e.xAxes.getIndex(0)?.events.on(
|
|
11556
|
+
s !== !0 && d > F.elementLimitForSmoothRendering && (r = pt(r, F.debounceTime)), e.xAxes.getIndex(0)?.events.on(N.Validated, r), e.yAxes.getIndex(0)?.events.on(N.Validated, r), a === y.LineSeries && (e.xAxes.getIndex(0)?.events.on(N.Validated, () => {
|
|
11557
11557
|
Ds(i);
|
|
11558
|
-
}), e.yAxes.getIndex(0)?.events.on(
|
|
11558
|
+
}), e.yAxes.getIndex(0)?.events.on(N.Validated, () => {
|
|
11559
11559
|
Ds(i);
|
|
11560
11560
|
}));
|
|
11561
11561
|
}
|
|
@@ -11587,19 +11587,19 @@ function fv(t, e) {
|
|
|
11587
11587
|
const a = Ii(e.series), o = Y(e.series), n = fi(e);
|
|
11588
11588
|
t.data.forEach((s) => {
|
|
11589
11589
|
switch (o) {
|
|
11590
|
-
case
|
|
11591
|
-
case
|
|
11592
|
-
case
|
|
11590
|
+
case P.BoxPlotMonoField:
|
|
11591
|
+
case P.BoxPlotMultiFields:
|
|
11592
|
+
case P.BoxPlotMonoFieldAndCategory:
|
|
11593
11593
|
ds({ dataItem: s, showOutliers: n }) && (i += 1);
|
|
11594
11594
|
break;
|
|
11595
|
-
case
|
|
11595
|
+
case P.BoxPlotMultiFieldsAndCategory:
|
|
11596
11596
|
a.forEach((r) => {
|
|
11597
11597
|
ds({ dataItem: s, y: r, showOutliers: n }) && (i += 1);
|
|
11598
11598
|
});
|
|
11599
11599
|
break;
|
|
11600
|
-
case
|
|
11601
|
-
case
|
|
11602
|
-
case
|
|
11600
|
+
case P.BoxPlotMonoFieldAndSplitBy:
|
|
11601
|
+
case P.BoxPlotMultiFieldsAndSplitBy:
|
|
11602
|
+
case P.BoxPlotMonoFieldAndCategoryAndSplitBy:
|
|
11603
11603
|
e.series.forEach((r) => {
|
|
11604
11604
|
ds({ dataItem: s, splitBy: r.query?.where, showOutliers: n }) && (i += 1);
|
|
11605
11605
|
});
|
|
@@ -11650,7 +11650,7 @@ function mv(t, e) {
|
|
|
11650
11650
|
case y.BarSeries:
|
|
11651
11651
|
i = (a, o) => {
|
|
11652
11652
|
if (a instanceof et) {
|
|
11653
|
-
const n =
|
|
11653
|
+
const n = Pt({ chart: a.chart });
|
|
11654
11654
|
let s = 0;
|
|
11655
11655
|
if (o.type === y.BarSeries) {
|
|
11656
11656
|
const r = (n ? a.dataFields.valueX : a.dataFields.valueY) ?? o.y;
|
|
@@ -11666,7 +11666,7 @@ function mv(t, e) {
|
|
|
11666
11666
|
case y.LineSeries:
|
|
11667
11667
|
e === !0 ? i = sd() : i = (a, o) => {
|
|
11668
11668
|
if (a instanceof xe) {
|
|
11669
|
-
const n =
|
|
11669
|
+
const n = Pt({ chart: a.chart }), s = We(a);
|
|
11670
11670
|
let r = 0;
|
|
11671
11671
|
if (o.type === y.LineSeries) {
|
|
11672
11672
|
const { y: l } = o, d = (n ? a.dataFields.valueX : a.dataFields.valueY) ?? [l].flat()[0];
|
|
@@ -11693,13 +11693,13 @@ function qf(t) {
|
|
|
11693
11693
|
const { type: h, callbackProps: b } = g;
|
|
11694
11694
|
h === "selection" ? QL(b) : g.styleCallback !== void 0 && (se(e, a.visible), await g.styleCallback(b));
|
|
11695
11695
|
};
|
|
11696
|
-
o === !0 && e.events.once(
|
|
11696
|
+
o === !0 && e.events.once(N.Ready, async () => await d(i));
|
|
11697
11697
|
let c = tt(e.uid, l);
|
|
11698
11698
|
c !== void 0 && c.dispose();
|
|
11699
11699
|
const u = mv(s, r);
|
|
11700
|
-
c = (s === y.PieSeries ? e.chart : e).events.on(
|
|
11700
|
+
c = (s === y.PieSeries ? e.chart : e).events.on(N.Validated, async () => {
|
|
11701
11701
|
u !== void 0 && u(e, a) && (c !== void 0 && c.dispose(), await d(i));
|
|
11702
|
-
}), e.dispatchImmediately(
|
|
11702
|
+
}), e.dispatchImmediately(N.Validated), Jt(e.uid, { [l]: c });
|
|
11703
11703
|
}
|
|
11704
11704
|
function zn(t) {
|
|
11705
11705
|
const { series: e, styleCallback: i, callbackProps: a, onReadyEvent: o, seriesConfig: n } = t;
|
|
@@ -11774,9 +11774,9 @@ function jf(t) {
|
|
|
11774
11774
|
let a = !1, o = !1, n = !1, s = !1;
|
|
11775
11775
|
if (t instanceof ce) {
|
|
11776
11776
|
a = t.xAxes.values.some(
|
|
11777
|
-
(l) => l.renderer.labels.template.events.has(
|
|
11777
|
+
(l) => l.renderer.labels.template.events.has(N.Hit) && l.renderer.isHover
|
|
11778
11778
|
), o = t.yAxes.values.some(
|
|
11779
|
-
(l) => l.renderer.labels.template.events.has(
|
|
11779
|
+
(l) => l.renderer.labels.template.events.has(N.Hit) && l.renderer.isHover
|
|
11780
11780
|
), n = a || o;
|
|
11781
11781
|
const r = D(t.uid, "config");
|
|
11782
11782
|
dt(r) && (s = t.series.values.find((d) => d instanceof Ue)?.isHover ?? !1);
|
|
@@ -11886,7 +11886,7 @@ function yv(t) {
|
|
|
11886
11886
|
const { chart: e, selectionSource: i, chartConfig: a } = t;
|
|
11887
11887
|
let o = !1, n = [];
|
|
11888
11888
|
if (wt(a)) {
|
|
11889
|
-
if (o = dt(a), n = e.series.values.filter((s) => !(s instanceof Ct)), i ===
|
|
11889
|
+
if (o = dt(a), n = e.series.values.filter((s) => !(s instanceof Ct)), i === Pe.SelectionByClick) {
|
|
11890
11890
|
const s = /* @__PURE__ */ new Set(), r = n.find(
|
|
11891
11891
|
(l) => l instanceof Ue && l.isHover
|
|
11892
11892
|
);
|
|
@@ -11926,7 +11926,7 @@ async function _f(t) {
|
|
|
11926
11926
|
const T = v.isActive, I = v === n || pv(v, i);
|
|
11927
11927
|
I && (c = !1);
|
|
11928
11928
|
let k = !1;
|
|
11929
|
-
T ? I ? k = o !==
|
|
11929
|
+
T ? I ? k = o !== Pe.SelectionByClick : k = a === !0 : k = I, k && l.push({
|
|
11930
11930
|
...C,
|
|
11931
11931
|
element: v,
|
|
11932
11932
|
elementDataContext: v.dataItem?.dataContext,
|
|
@@ -11956,18 +11956,18 @@ function Sv(t) {
|
|
|
11956
11956
|
chart: t,
|
|
11957
11957
|
cursorSelectionRectangle: o,
|
|
11958
11958
|
multiSelect: n,
|
|
11959
|
-
selectionSource:
|
|
11959
|
+
selectionSource: Pe.SelectionByRange
|
|
11960
11960
|
});
|
|
11961
11961
|
}
|
|
11962
11962
|
}
|
|
11963
11963
|
a.selection.hide();
|
|
11964
11964
|
};
|
|
11965
|
-
At(t) && t.events.on(
|
|
11965
|
+
At(t) && t.events.on(N.Up, async (i) => {
|
|
11966
11966
|
const a = i.target.cursor, o = Lx(t.uid, "selectEndedCallbackDisposer");
|
|
11967
11967
|
if (o !== void 0 && o.dispose(), a.xRange !== void 0 && i.event instanceof TouchEvent)
|
|
11968
11968
|
await e(i);
|
|
11969
11969
|
else {
|
|
11970
|
-
const n = a.events.once(
|
|
11970
|
+
const n = a.events.once(N.SelectEnded, async () => {
|
|
11971
11971
|
await e(i);
|
|
11972
11972
|
});
|
|
11973
11973
|
Fx(t.uid, {
|
|
@@ -11984,16 +11984,16 @@ async function cn(t, e) {
|
|
|
11984
11984
|
chart: e,
|
|
11985
11985
|
cursorSelectionRectangle: o,
|
|
11986
11986
|
multiSelect: n,
|
|
11987
|
-
selectionSource:
|
|
11987
|
+
selectionSource: Pe.SelectionByClick,
|
|
11988
11988
|
hitElement: i
|
|
11989
11989
|
});
|
|
11990
11990
|
}
|
|
11991
11991
|
}
|
|
11992
11992
|
function Cv(t) {
|
|
11993
|
-
At(t) && (t.zoomOutButton.hoverable = !0, t.events.on(
|
|
11993
|
+
At(t) && (t.zoomOutButton.hoverable = !0, t.events.on(N.Hit, async (e) => await cn(e, t)), t.events.on(N.DoubleHit, async (e) => await cn(e, t)));
|
|
11994
11994
|
}
|
|
11995
11995
|
function Oo(t, e) {
|
|
11996
|
-
e.events.on(
|
|
11996
|
+
e.events.on(N.Hit, async (i) => await cn(i, t)), e.events.on(N.DoubleHit, async (i) => await cn(i, t));
|
|
11997
11997
|
}
|
|
11998
11998
|
async function xv(t) {
|
|
11999
11999
|
const { series: e } = t;
|
|
@@ -12012,23 +12012,23 @@ async function xv(t) {
|
|
|
12012
12012
|
await Mo({
|
|
12013
12013
|
chart: t,
|
|
12014
12014
|
listSelectedElements: o,
|
|
12015
|
-
selectionSource:
|
|
12015
|
+
selectionSource: Pe.ProgrammaticSelection
|
|
12016
12016
|
}), t instanceof $e && t.feedLegend();
|
|
12017
12017
|
}
|
|
12018
12018
|
}
|
|
12019
12019
|
function cs(t) {
|
|
12020
12020
|
if (At(t))
|
|
12021
|
-
if (t.events.disableType(
|
|
12021
|
+
if (t.events.disableType(N.Hit), t.events.disableType(N.DoubleHit), t instanceof $e) {
|
|
12022
12022
|
const e = t.series.getIndex(0);
|
|
12023
|
-
e !== void 0 && (e.slices.template.clickable = !1, e.slices.template.togglable = !1, e.slices.template.events.disableType(
|
|
12024
|
-
} else t instanceof ce && (t.xAxes.each((e) => un(e, !0)), t.yAxes.each((e) => un(e, !0)), t.events.disableType(
|
|
12023
|
+
e !== void 0 && (e.slices.template.clickable = !1, e.slices.template.togglable = !1, e.slices.template.events.disableType(N.Hit), e.slices.template.events.disableType(N.DoubleHit), e.labels.template.clickable = !1, e.labels.template.togglable = !1, e.labels.template.events.disableType(N.Hit), e.labels.template.events.disableType(N.DoubleHit));
|
|
12024
|
+
} else t instanceof ce && (t.xAxes.each((e) => un(e, !0)), t.yAxes.each((e) => un(e, !0)), t.events.disableType(N.Up));
|
|
12025
12025
|
}
|
|
12026
12026
|
function vv(t) {
|
|
12027
12027
|
if (At(t))
|
|
12028
|
-
if (t.events.enableType(
|
|
12028
|
+
if (t.events.enableType(N.Hit), t.events.enableType(N.DoubleHit), t instanceof $e) {
|
|
12029
12029
|
const e = t.series.getIndex(0);
|
|
12030
|
-
e !== void 0 && (e.slices.template.clickable = !0, e.slices.template.togglable = !0, e.slices.template.events.enableType(
|
|
12031
|
-
} else t instanceof ce && (t.xAxes.each((e) => un(e, !1)), t.yAxes.each((e) => un(e, !1)), t.events.enableType(
|
|
12030
|
+
e !== void 0 && (e.slices.template.clickable = !0, e.slices.template.togglable = !0, e.slices.template.events.enableType(N.Hit), e.slices.template.events.enableType(N.DoubleHit), e.labels.template.clickable = !0, e.labels.template.togglable = !0, e.labels.template.events.enableType(N.Hit), e.labels.template.events.enableType(N.DoubleHit));
|
|
12031
|
+
} else t instanceof ce && (t.xAxes.each((e) => un(e, !1)), t.yAxes.each((e) => un(e, !1)), t.events.enableType(N.Up));
|
|
12032
12032
|
}
|
|
12033
12033
|
function Yi(t) {
|
|
12034
12034
|
const { element: e, stylingInfo: i, stateKey: a = "default" } = t;
|
|
@@ -12092,7 +12092,7 @@ function Ro(t) {
|
|
|
12092
12092
|
return t.values.every((i) => i.isReady());
|
|
12093
12093
|
}
|
|
12094
12094
|
function ya(t, e) {
|
|
12095
|
-
t.events.on(
|
|
12095
|
+
t.events.on(N.Ready, () => {
|
|
12096
12096
|
const { chart: i } = t;
|
|
12097
12097
|
i !== void 0 && Ro(t.chart.series) && (hv(i), e(), qi(t.chart.htmlContainer));
|
|
12098
12098
|
});
|
|
@@ -12114,7 +12114,7 @@ function Zf(t, e) {
|
|
|
12114
12114
|
}
|
|
12115
12115
|
function $v(t) {
|
|
12116
12116
|
const e = t.tooltip ?? new Dc();
|
|
12117
|
-
e.pointerOrientation = "vertical", t instanceof Ue || t instanceof Ct ? e.label.maxWidth = F.boxPlot.boxPlotTooltipLabelWidth : e.label.maxWidth = F.tooltipWidth, e.label.wrap = !0, e.events.on(
|
|
12117
|
+
e.pointerOrientation = "vertical", t instanceof Ue || t instanceof Ct ? e.label.maxWidth = F.boxPlot.boxPlotTooltipLabelWidth : e.label.maxWidth = F.tooltipWidth, e.label.wrap = !0, e.events.on(N.Shown, (i) => {
|
|
12118
12118
|
const a = D(t.chart.uid, "config");
|
|
12119
12119
|
if (a !== void 0) {
|
|
12120
12120
|
const o = Gn(t, a), { dataTooltipReverseColor: n } = o ?? {};
|
|
@@ -12145,7 +12145,7 @@ function Kf(t, e) {
|
|
|
12145
12145
|
if (d instanceof sr || d instanceof Ya) {
|
|
12146
12146
|
const c = s?.series.find((u) => u.id === e.id);
|
|
12147
12147
|
if (c !== void 0) {
|
|
12148
|
-
const u =
|
|
12148
|
+
const u = Pt({ config: s }), m = u ? d.valueX : d.valueY, g = (u ? d.values.valueX.totalPercent : d.values.valueY.totalPercent) / 100, h = d.dataContext ?? {};
|
|
12149
12149
|
if (h !== void 0) {
|
|
12150
12150
|
const b = D(n.uid, "rendererFieldNames"), p = si({
|
|
12151
12151
|
value: h[c.x],
|
|
@@ -12336,7 +12336,7 @@ function Bv(t) {
|
|
|
12336
12336
|
percentValue: B
|
|
12337
12337
|
}), J = [`<b>${I}${w} </b>${W}`];
|
|
12338
12338
|
switch (x) {
|
|
12339
|
-
case
|
|
12339
|
+
case P.BarAndLineFromFields: {
|
|
12340
12340
|
J.pop();
|
|
12341
12341
|
const ee = br({
|
|
12342
12342
|
config: g,
|
|
@@ -12346,13 +12346,13 @@ function Bv(t) {
|
|
|
12346
12346
|
J.push(`<b>${ee}${w} </b>${H}`);
|
|
12347
12347
|
break;
|
|
12348
12348
|
}
|
|
12349
|
-
case
|
|
12350
|
-
case
|
|
12351
|
-
case
|
|
12349
|
+
case P.BarAndLineMonoField:
|
|
12350
|
+
case P.BarAndLineNoAggregation:
|
|
12351
|
+
case P.BarAndLineMultiFields:
|
|
12352
12352
|
J.push(`<b>${k}${w} </b>${H}`);
|
|
12353
12353
|
break;
|
|
12354
|
-
case
|
|
12355
|
-
case
|
|
12354
|
+
case P.BarAndLineSplitByNoAggregation:
|
|
12355
|
+
case P.BarAndLineSplitBy:
|
|
12356
12356
|
{
|
|
12357
12357
|
const ee = Ti(s.query?.where, !1), ve = Rd({
|
|
12358
12358
|
value: Ve(i, ee)
|
|
@@ -12432,7 +12432,7 @@ function Mv(t) {
|
|
|
12432
12432
|
}
|
|
12433
12433
|
return r;
|
|
12434
12434
|
}
|
|
12435
|
-
function
|
|
12435
|
+
function Pv(t) {
|
|
12436
12436
|
const { target: e, defaultTooltipHTML: i, config: a, meanLineSeries: o, boxPlotTooltipFormatter: n } = t;
|
|
12437
12437
|
let s = i;
|
|
12438
12438
|
if (o !== void 0) {
|
|
@@ -12462,7 +12462,7 @@ function Nv(t) {
|
|
|
12462
12462
|
}
|
|
12463
12463
|
return s;
|
|
12464
12464
|
}
|
|
12465
|
-
function
|
|
12465
|
+
function Nv(t) {
|
|
12466
12466
|
const { target: e, defaultTooltipHTML: i, config: a, candleStickSeries: o, boxPlotTooltipFormatter: n } = t;
|
|
12467
12467
|
let s = i;
|
|
12468
12468
|
if (o !== void 0) {
|
|
@@ -12499,7 +12499,7 @@ function Vv(t) {
|
|
|
12499
12499
|
target: i,
|
|
12500
12500
|
defaultTooltipHTML: e ?? "",
|
|
12501
12501
|
candleStickSeries: t,
|
|
12502
|
-
tooltipCallback:
|
|
12502
|
+
tooltipCallback: Nv
|
|
12503
12503
|
})
|
|
12504
12504
|
);
|
|
12505
12505
|
}
|
|
@@ -12524,11 +12524,11 @@ function Ev(t) {
|
|
|
12524
12524
|
target: a,
|
|
12525
12525
|
defaultTooltipHTML: i ?? "",
|
|
12526
12526
|
meanLineSeries: t,
|
|
12527
|
-
tooltipCallback:
|
|
12527
|
+
tooltipCallback: Pv
|
|
12528
12528
|
})
|
|
12529
12529
|
));
|
|
12530
12530
|
}
|
|
12531
|
-
function
|
|
12531
|
+
function Pi(t) {
|
|
12532
12532
|
const { label: e, value: i, strongColon: a, useTable: o } = t, n = `<b>${e}${a}</b> ${i}`;
|
|
12533
12533
|
return o !== !1 ? `<tr><td>${n}</td></tr>` : n;
|
|
12534
12534
|
}
|
|
@@ -12569,7 +12569,7 @@ function Hv(t) {
|
|
|
12569
12569
|
case K.StandardDeviation:
|
|
12570
12570
|
}
|
|
12571
12571
|
La(S) || u.push(
|
|
12572
|
-
|
|
12572
|
+
Pi({
|
|
12573
12573
|
label: S,
|
|
12574
12574
|
value: p,
|
|
12575
12575
|
strongColon: c,
|
|
@@ -12601,14 +12601,14 @@ function zv(t) {
|
|
|
12601
12601
|
xValue: L
|
|
12602
12602
|
}), I = [], k = T !== void 0 && !La(T) ? Ve(i, T) : "", w = u === !0 ? [l.series[0].y].flat()[0] : [a.y].flat()[0], R = Ve(i, w);
|
|
12603
12603
|
switch (m) {
|
|
12604
|
-
case
|
|
12605
|
-
case
|
|
12606
|
-
case
|
|
12607
|
-
case
|
|
12604
|
+
case P.BoxPlotMonoField:
|
|
12605
|
+
case P.BoxPlotMultiFields:
|
|
12606
|
+
case P.BoxPlotMonoFieldAndSplitBy:
|
|
12607
|
+
case P.BoxPlotMultiFieldsAndSplitBy: {
|
|
12608
12608
|
if (T !== void 0 && !La(T)) {
|
|
12609
|
-
const H = m ===
|
|
12609
|
+
const H = m === P.BoxPlotMonoField ? a.name ?? k : k;
|
|
12610
12610
|
I.push(
|
|
12611
|
-
|
|
12611
|
+
Pi({
|
|
12612
12612
|
label: o.field,
|
|
12613
12613
|
strongColon: C,
|
|
12614
12614
|
value: H
|
|
@@ -12616,7 +12616,7 @@ function zv(t) {
|
|
|
12616
12616
|
);
|
|
12617
12617
|
}
|
|
12618
12618
|
Se(h) || I.push(
|
|
12619
|
-
|
|
12619
|
+
Pi({
|
|
12620
12620
|
label: h,
|
|
12621
12621
|
strongColon: C,
|
|
12622
12622
|
value: a.name ?? b?.toString()
|
|
@@ -12624,16 +12624,16 @@ function zv(t) {
|
|
|
12624
12624
|
);
|
|
12625
12625
|
break;
|
|
12626
12626
|
}
|
|
12627
|
-
case
|
|
12628
|
-
case
|
|
12627
|
+
case P.BoxPlotMonoFieldAndCategory:
|
|
12628
|
+
case P.BoxPlotMultiFieldsAndCategory: {
|
|
12629
12629
|
I.push(
|
|
12630
|
-
|
|
12630
|
+
Pi({
|
|
12631
12631
|
label: o.field,
|
|
12632
12632
|
strongColon: C,
|
|
12633
12633
|
value: a.name ?? R
|
|
12634
12634
|
})
|
|
12635
12635
|
), T !== void 0 && !La(T) && I.push(
|
|
12636
|
-
|
|
12636
|
+
Pi({
|
|
12637
12637
|
label: S,
|
|
12638
12638
|
strongColon: C,
|
|
12639
12639
|
value: k
|
|
@@ -12641,21 +12641,21 @@ function zv(t) {
|
|
|
12641
12641
|
);
|
|
12642
12642
|
break;
|
|
12643
12643
|
}
|
|
12644
|
-
case
|
|
12644
|
+
case P.BoxPlotMonoFieldAndCategoryAndSplitBy:
|
|
12645
12645
|
I.push(
|
|
12646
|
-
|
|
12646
|
+
Pi({
|
|
12647
12647
|
label: o.field,
|
|
12648
12648
|
strongColon: C,
|
|
12649
12649
|
value: R
|
|
12650
12650
|
})
|
|
12651
12651
|
), T !== void 0 && !La(T) && I.push(
|
|
12652
|
-
|
|
12652
|
+
Pi({
|
|
12653
12653
|
label: S,
|
|
12654
12654
|
strongColon: C,
|
|
12655
12655
|
value: k
|
|
12656
12656
|
})
|
|
12657
12657
|
), Se(h) || I.push(
|
|
12658
|
-
|
|
12658
|
+
Pi({
|
|
12659
12659
|
label: h,
|
|
12660
12660
|
strongColon: C,
|
|
12661
12661
|
value: a.name ?? b?.toString()
|
|
@@ -12663,7 +12663,7 @@ function zv(t) {
|
|
|
12663
12663
|
);
|
|
12664
12664
|
break;
|
|
12665
12665
|
}
|
|
12666
|
-
const O = [
|
|
12666
|
+
const O = [P.BoxPlotMultiFieldsAndCategory], B = v[F.boxPlot.boxPlotMeanLineMarkerId] !== void 0, M = I.length > 0 && !B, V = Hv({
|
|
12667
12667
|
dataContext: v,
|
|
12668
12668
|
series: e,
|
|
12669
12669
|
dataTooltipValueFormat: n,
|
|
@@ -12744,7 +12744,7 @@ function Zv(t, e) {
|
|
|
12744
12744
|
a.chartAndLegendContainer.paddingTop = s.paddingTop ?? 0, a.chartContainer.paddingBottom = n.paddingBottom ?? 0;
|
|
12745
12745
|
}
|
|
12746
12746
|
};
|
|
12747
|
-
e.events.on(
|
|
12747
|
+
e.events.on(N.PositionChanged, () => {
|
|
12748
12748
|
i(t, e);
|
|
12749
12749
|
});
|
|
12750
12750
|
}
|
|
@@ -12796,7 +12796,7 @@ function Kv(t) {
|
|
|
12796
12796
|
return i !== void 0 && (e = !t.labels.values.some((a) => a.parent?.y !== i)), e;
|
|
12797
12797
|
}
|
|
12798
12798
|
function Qv(t) {
|
|
12799
|
-
t.events.on(
|
|
12799
|
+
t.events.on(N.LayoutValidated, () => {
|
|
12800
12800
|
const e = im(t), i = Kv(t), a = e || !i ? oe.Right : oe.Center;
|
|
12801
12801
|
t.valueLabels.template.horizontalCenter = Mr(a), t.valueLabels.template.align = $f(a);
|
|
12802
12802
|
});
|
|
@@ -12867,7 +12867,7 @@ function eL(t) {
|
|
|
12867
12867
|
horizontalAlignment: L ? oe.Right : oe.Center
|
|
12868
12868
|
}
|
|
12869
12869
|
};
|
|
12870
|
-
|
|
12870
|
+
Nt({
|
|
12871
12871
|
label: e.valueLabels.template,
|
|
12872
12872
|
labelConfig: T,
|
|
12873
12873
|
defaults: F.legendProperties.valueLabels
|
|
@@ -12896,7 +12896,7 @@ function iL(t) {
|
|
|
12896
12896
|
}
|
|
12897
12897
|
}
|
|
12898
12898
|
};
|
|
12899
|
-
t.events.on(
|
|
12899
|
+
t.events.on(N.Validated, e), e();
|
|
12900
12900
|
}
|
|
12901
12901
|
function dd(t, e) {
|
|
12902
12902
|
const { legendLabelReducedOpacity: i } = F.legendProperties;
|
|
@@ -12909,7 +12909,7 @@ function io(t) {
|
|
|
12909
12909
|
});
|
|
12910
12910
|
}
|
|
12911
12911
|
function Gr(t) {
|
|
12912
|
-
t instanceof Et ? (t.slices.template.events.on(
|
|
12912
|
+
t instanceof Et ? (t.slices.template.events.on(N.Shown, (e) => {
|
|
12913
12913
|
const i = e.target.dataItem.category;
|
|
12914
12914
|
io({
|
|
12915
12915
|
labels: t.chart?.legend?.labels,
|
|
@@ -12918,7 +12918,7 @@ function Gr(t) {
|
|
|
12918
12918
|
labels: t.chart?.legend?.valueLabels,
|
|
12919
12919
|
sliceCategory: i
|
|
12920
12920
|
});
|
|
12921
|
-
}), t.slices.template.events.on(
|
|
12921
|
+
}), t.slices.template.events.on(N.Hidden, (e) => {
|
|
12922
12922
|
const i = e.target.dataItem.category;
|
|
12923
12923
|
io({
|
|
12924
12924
|
labels: t.chart?.legend?.labels,
|
|
@@ -12927,7 +12927,7 @@ function Gr(t) {
|
|
|
12927
12927
|
labels: t.chart?.legend?.valueLabels,
|
|
12928
12928
|
sliceCategory: i
|
|
12929
12929
|
});
|
|
12930
|
-
})) : t.events.on(
|
|
12930
|
+
})) : t.events.on(N.VisibilityChanged, (e) => {
|
|
12931
12931
|
const i = e.target.id;
|
|
12932
12932
|
io({ labels: t.chart?.legend?.labels, seriesId: i });
|
|
12933
12933
|
});
|
|
@@ -13038,9 +13038,9 @@ function lL(t, e) {
|
|
|
13038
13038
|
} else
|
|
13039
13039
|
n.seriesId = o.id;
|
|
13040
13040
|
const s = o instanceof xi ? o.component : o;
|
|
13041
|
-
(s instanceof Ci || s instanceof Et) && s.events.once(
|
|
13042
|
-
s instanceof Ci && (bm(s), s.events.dispatchImmediately(
|
|
13043
|
-
type:
|
|
13041
|
+
(s instanceof Ci || s instanceof Et) && s.events.once(N.Validated, () => {
|
|
13042
|
+
s instanceof Ci && (bm(s), s.events.dispatchImmediately(N.Validated, {
|
|
13043
|
+
type: N.Validated,
|
|
13044
13044
|
target: s
|
|
13045
13045
|
}));
|
|
13046
13046
|
const r = s instanceof Et, l = D(
|
|
@@ -13057,7 +13057,7 @@ function lL(t, e) {
|
|
|
13057
13057
|
// back to default state when there's no selection at all
|
|
13058
13058
|
}), r && c === j.None && (m.clickable = !1));
|
|
13059
13059
|
});
|
|
13060
|
-
}),
|
|
13060
|
+
}), Pd(n, e.htmlContainer);
|
|
13061
13061
|
}
|
|
13062
13062
|
}
|
|
13063
13063
|
function dL(t) {
|
|
@@ -13102,7 +13102,7 @@ function fL(t) {
|
|
|
13102
13102
|
...a,
|
|
13103
13103
|
visible: s
|
|
13104
13104
|
};
|
|
13105
|
-
|
|
13105
|
+
Nt({ label: i, labelConfig: r, defaults: n }), i.marginLeft = n.marginLeft ?? 0;
|
|
13106
13106
|
}
|
|
13107
13107
|
o === X.Top || o === X.Bottom ? (i.maxWidth = Number.NaN, i.isMeasured = !1) : (i.maxWidth = n.maxWidth ?? Number.NaN, i.marginTop = s ? i.bbox?.height ?? a?.content?.font?.size ?? F.generalFontSize : 0, i.isMeasured = !0);
|
|
13108
13108
|
}
|
|
@@ -13128,7 +13128,7 @@ function mL(t) {
|
|
|
13128
13128
|
if (s !== void 0) {
|
|
13129
13129
|
const { series: l } = s;
|
|
13130
13130
|
if (E(l) === y.PieSeries) {
|
|
13131
|
-
const c = Y(l) ===
|
|
13131
|
+
const c = Y(l) === P.PieFromFields ? ni : l[0].x, u = a.dataItem?.dataContext?.[c];
|
|
13132
13132
|
typeof u == "string" ? n = u : u && typeof u != "object" && (n = u.toString());
|
|
13133
13133
|
} else a.dataItem?.component instanceof Fc && (n = a.dataItem.component.name);
|
|
13134
13134
|
}
|
|
@@ -13139,7 +13139,7 @@ function mL(t) {
|
|
|
13139
13139
|
});
|
|
13140
13140
|
}
|
|
13141
13141
|
function gL(t, e) {
|
|
13142
|
-
t.itemContainers.template.events.on(
|
|
13142
|
+
t.itemContainers.template.events.on(N.Hit, (i) => lL(i, e)), e instanceof $e && t.itemContainers.template.events.on(N.Over, (i) => tL(i));
|
|
13143
13143
|
}
|
|
13144
13144
|
function hL(t) {
|
|
13145
13145
|
t.itemContainers.template.reverseOrder = t.rtl;
|
|
@@ -13165,9 +13165,9 @@ function cd(t) {
|
|
|
13165
13165
|
});
|
|
13166
13166
|
}
|
|
13167
13167
|
function pL(t) {
|
|
13168
|
-
t.markers.template.events.on(
|
|
13168
|
+
t.markers.template.events.on(N.Inited, () => {
|
|
13169
13169
|
cd(t);
|
|
13170
|
-
}), t.events.once(
|
|
13170
|
+
}), t.events.once(N.Validated, () => {
|
|
13171
13171
|
cd(t);
|
|
13172
13172
|
});
|
|
13173
13173
|
}
|
|
@@ -13186,11 +13186,11 @@ function bL(t) {
|
|
|
13186
13186
|
// using a non empty string to kick in the adapter on `textOutput`
|
|
13187
13187
|
}
|
|
13188
13188
|
};
|
|
13189
|
-
|
|
13189
|
+
Nt({ label: e.labels.template, labelConfig: r, defaults: F.legendProperties.legendLabels }), e.labels.template.valign = _.Middle, e.valueLabels.template.valign = _.Middle, s === y.PieSeries && eL(t), e.valueLabels.template.width = Number.NaN;
|
|
13190
13190
|
}
|
|
13191
13191
|
function yL(t, e) {
|
|
13192
13192
|
e.chartContainer.events.on(
|
|
13193
|
-
|
|
13193
|
+
N.SizeChanged,
|
|
13194
13194
|
pt(() => {
|
|
13195
13195
|
let a = D(e.uid, "config")?.legend?.maxHeight ?? Number.NaN;
|
|
13196
13196
|
Number.isFinite(a) || (t.position === X.Top || t.position === X.Bottom ? a = F.legendProperties.maxHeight : a = e instanceof $e ? e.chartContainer.measuredHeight : e.seriesContainer.measuredHeight), t.maxHeight = a, t.invalidateLayout();
|
|
@@ -13204,7 +13204,7 @@ function SL(t, e) {
|
|
|
13204
13204
|
}
|
|
13205
13205
|
function CL(t, e) {
|
|
13206
13206
|
const { legend: i } = t;
|
|
13207
|
-
i.events.on(
|
|
13207
|
+
i.events.on(N.DataItemsValidated, () => {
|
|
13208
13208
|
i.dataItems.length > 0 && om(t, e);
|
|
13209
13209
|
});
|
|
13210
13210
|
}
|
|
@@ -13221,7 +13221,7 @@ function vL(t, e) {
|
|
|
13221
13221
|
const i = new nh();
|
|
13222
13222
|
t.legend = i, cL(i);
|
|
13223
13223
|
const a = uL(i);
|
|
13224
|
-
return mL(i), Jv(i), gL(i, t), hL(i), dL(i), CL({ legend: i, legendTitle: a }, E(e)), yL(i, t), Zv(t, a), iL(i), t.legend.events.on(
|
|
13224
|
+
return mL(i), Jv(i), gL(i, t), hL(i), dL(i), CL({ legend: i, legendTitle: a }, E(e)), yL(i, t), Zv(t, a), iL(i), t.legend.events.on(N.ChildAdded, () => {
|
|
13225
13225
|
const o = D(t.uid, "options");
|
|
13226
13226
|
nm(i, o?.disableTogglingLegendItems);
|
|
13227
13227
|
}), { legend: i, legendTitle: a };
|
|
@@ -13254,7 +13254,7 @@ function LL(t) {
|
|
|
13254
13254
|
p.id = h, ya(p, s), Qa(p, g);
|
|
13255
13255
|
let S, C;
|
|
13256
13256
|
c !== !0 ? (S = o[0], C = b === !0 && o[2] ? o[2] : o[1]) : (S = b === !0 && o[2] ? o[2] : o[0], C = o[1]), S !== void 0 && (p.xAxis = S), C !== void 0 && (p.yAxis = C);
|
|
13257
|
-
const x =
|
|
13257
|
+
const x = Pt({ chart: e }), v = Y(i.series), L = v === P.BarAndLineSplitByNoAggregation ? `${m.toString()}_${Ai({ where: u.query?.where, keepSurroundingQuotes: !1, escape: !1 })}` : [m].flat()[0];
|
|
13258
13258
|
x ? p.dataFields.valueX = L : p.dataFields.valueY = L;
|
|
13259
13259
|
const T = x ? o[1] : o[0];
|
|
13260
13260
|
if (T !== void 0) {
|
|
@@ -13290,7 +13290,7 @@ function FL(t) {
|
|
|
13290
13290
|
u === void 0 && (u = Qd(), u.color = s), n ? u.color = s : u.color ??= s;
|
|
13291
13291
|
const m = /* @__PURE__ */ new Set();
|
|
13292
13292
|
let g;
|
|
13293
|
-
|
|
13293
|
+
Nr({ element: l, markerSymbol: u }), l.clones.each((h) => {
|
|
13294
13294
|
if (h.dataItem instanceof Zi)
|
|
13295
13295
|
h.states.getKey(at.CustomActive)?.reset(), h.states.getKey(at.CustomInactive)?.reset();
|
|
13296
13296
|
else {
|
|
@@ -13399,11 +13399,11 @@ function kL(t) {
|
|
|
13399
13399
|
queryObject: d,
|
|
13400
13400
|
options: c,
|
|
13401
13401
|
utilsStrings: u
|
|
13402
|
-
} = t, { visible: m, name: g } = e, h = a[1].valueFormat, b = D(i.chart.uid, "config"), p =
|
|
13402
|
+
} = t, { visible: m, name: g } = e, h = a[1].valueFormat, b = D(i.chart.uid, "config"), p = Pt({ config: b }), S = Y(b?.series);
|
|
13403
13403
|
i.id = e.id, se(i, m);
|
|
13404
13404
|
let C = g;
|
|
13405
13405
|
const x = i.dataFields?.customValue ?? "";
|
|
13406
|
-
(S ===
|
|
13406
|
+
(S === P.BarAndLineSplitBy || S === P.BarAndLineSplitByNoAggregation) && (C = Xs({
|
|
13407
13407
|
subtypeInfo: s,
|
|
13408
13408
|
fieldList: r,
|
|
13409
13409
|
fieldName: Ti(x),
|
|
@@ -13488,10 +13488,10 @@ function Ja(t) {
|
|
|
13488
13488
|
standardizeValuesVisibilityChanged: m
|
|
13489
13489
|
} = t, { x: g, y: h } = i, b = d || c === !0 || m === !0, p = b || u === !0, S = b, C = b;
|
|
13490
13490
|
if (e !== void 0) {
|
|
13491
|
-
const { showOutliers: x, standardizeValues: v, showMean: L } = e, T =
|
|
13491
|
+
const { showOutliers: x, standardizeValues: v, showMean: L } = e, T = Pt({ config: e });
|
|
13492
13492
|
if (a instanceof xe && C) {
|
|
13493
13493
|
const B = Y(e.series), M = i?.query?.where, V = ye({
|
|
13494
|
-
y: B ===
|
|
13494
|
+
y: B === P.BoxPlotMultiFieldsAndCategory ? h : void 0,
|
|
13495
13495
|
chartSubType: B,
|
|
13496
13496
|
splitBy: M,
|
|
13497
13497
|
showOutliers: x,
|
|
@@ -13501,7 +13501,7 @@ function Ja(t) {
|
|
|
13501
13501
|
T ? (a.dataFields.valueX = V, a.dataFields.categoryY = g) : (a.dataFields.valueY = V, a.dataFields.categoryX = g), a.dataFields.customValue = M;
|
|
13502
13502
|
}
|
|
13503
13503
|
const I = _s(e), k = Y(I.series), w = L === !0 ? void 0 : i?.query?.where, R = {
|
|
13504
|
-
y: k ===
|
|
13504
|
+
y: k === P.BoxPlotMultiFieldsAndCategory ? h : void 0,
|
|
13505
13505
|
chartSubType: k,
|
|
13506
13506
|
splitBy: w,
|
|
13507
13507
|
showOutliers: x,
|
|
@@ -13649,7 +13649,7 @@ function RL(t) {
|
|
|
13649
13649
|
const c = e.dataItems.values.find(
|
|
13650
13650
|
(u) => (u.categories.categoryX ?? u.categories.categoryY) === (d.dataItem?.categories.categoryX ?? d.dataItem?.categories.categoryY)
|
|
13651
13651
|
)?.column.fill;
|
|
13652
|
-
|
|
13652
|
+
Nr({
|
|
13653
13653
|
element: d,
|
|
13654
13654
|
markerSymbol: {
|
|
13655
13655
|
...l,
|
|
@@ -13693,7 +13693,7 @@ function BL(t) {
|
|
|
13693
13693
|
}), d = u.symbolWithColorInfo, c = u.stylingInfo, m.add(JSON.stringify(d));
|
|
13694
13694
|
}), g = m.size > 1, o > 1) {
|
|
13695
13695
|
const b = e.legendDataItem?.marker.children.getIndex(0);
|
|
13696
|
-
b !== void 0 ? Yi({ element: b, stylingInfo: c }) : e.chart.legend.events.once(
|
|
13696
|
+
b !== void 0 ? Yi({ element: b, stylingInfo: c }) : e.chart.legend.events.once(N.Validated, () => {
|
|
13697
13697
|
Yi({
|
|
13698
13698
|
element: e.legendDataItem?.marker.children.getIndex(0),
|
|
13699
13699
|
stylingInfo: c
|
|
@@ -13761,8 +13761,8 @@ function ML(t) {
|
|
|
13761
13761
|
colorMatchApplied: Do(e.chart)
|
|
13762
13762
|
});
|
|
13763
13763
|
}
|
|
13764
|
-
function
|
|
13765
|
-
const { numberOfSeries: e, chart: i, showMean: a } = t, o =
|
|
13764
|
+
function PL(t) {
|
|
13765
|
+
const { numberOfSeries: e, chart: i, showMean: a } = t, o = Pt({ chart: i }), n = o ? i.yAxes.getIndex(0)?.renderer : i.xAxes.getIndex(0)?.renderer;
|
|
13766
13766
|
if (n !== void 0) {
|
|
13767
13767
|
const { cellStartLocation: s, cellEndLocation: r } = n, l = s / (a === !0 ? 1 : e), d = i.series.values.filter((c) => c instanceof Ue);
|
|
13768
13768
|
d.forEach((c, u) => {
|
|
@@ -13779,7 +13779,7 @@ function NL(t) {
|
|
|
13779
13779
|
});
|
|
13780
13780
|
}
|
|
13781
13781
|
}
|
|
13782
|
-
function
|
|
13782
|
+
function NL(t) {
|
|
13783
13783
|
const { outliersSeries: e, chartData: i, dataWasUpdated: a, rotationChanged: o, seriesReordered: n } = t;
|
|
13784
13784
|
(o === !0 || a === !0 || n === !0) && (e.data = i?.outliers ?? []);
|
|
13785
13785
|
}
|
|
@@ -13805,7 +13805,7 @@ function WL(t) {
|
|
|
13805
13805
|
const g = We(m);
|
|
13806
13806
|
if (g !== void 0) {
|
|
13807
13807
|
const h = Yr(s, a.visible);
|
|
13808
|
-
g.disabled = !h,
|
|
13808
|
+
g.disabled = !h, NL({
|
|
13809
13809
|
outliersSeries: m,
|
|
13810
13810
|
chartData: o,
|
|
13811
13811
|
dataWasUpdated: r,
|
|
@@ -13912,7 +13912,7 @@ function GL(t) {
|
|
|
13912
13912
|
rotationChanged: h,
|
|
13913
13913
|
options: b
|
|
13914
13914
|
} = t, { tooltipFormatter: p } = b ?? {};
|
|
13915
|
-
|
|
13915
|
+
PL({
|
|
13916
13916
|
numberOfSeries: t.numberOfSeries,
|
|
13917
13917
|
chart: e,
|
|
13918
13918
|
showMean: c
|
|
@@ -14031,7 +14031,7 @@ function eo(t) {
|
|
|
14031
14031
|
pendingSelectionQueries: !1
|
|
14032
14032
|
}), At(e) && (e instanceof ce ? YL(e, a ?? !0) : e instanceof $e && XL(e)), n && Ha({
|
|
14033
14033
|
data: {
|
|
14034
|
-
selectionSource: i ??
|
|
14034
|
+
selectionSource: i ?? Pe.ClearSelection
|
|
14035
14035
|
},
|
|
14036
14036
|
htmlContainer: e.htmlContainer
|
|
14037
14037
|
});
|
|
@@ -14078,7 +14078,7 @@ function _L(t) {
|
|
|
14078
14078
|
return n.forEach((x) => {
|
|
14079
14079
|
if (!(x instanceof Zi)) {
|
|
14080
14080
|
let v = x.dataItem?.dataContext;
|
|
14081
|
-
if (v !== void 0 && (c === y.BoxPlotSeries && v[F.boxPlot.boxPlotOutlierId] !== !0 || u ===
|
|
14081
|
+
if (v !== void 0 && (c === y.BoxPlotSeries && v[F.boxPlot.boxPlotOutlierId] !== !0 || u === P.BarAndLineMultiFields) && (v = vi({
|
|
14082
14082
|
dataContext: v,
|
|
14083
14083
|
yAxisField: d,
|
|
14084
14084
|
yList: S,
|
|
@@ -14255,7 +14255,7 @@ function QL(t) {
|
|
|
14255
14255
|
B = Yd({
|
|
14256
14256
|
itemsA: O,
|
|
14257
14257
|
itemsB: k,
|
|
14258
|
-
isPieFromFields: T ===
|
|
14258
|
+
isPieFromFields: T === P.PieFromFields
|
|
14259
14259
|
});
|
|
14260
14260
|
const V = b?.keys.length !== M?.keys.length || !wa(b, M);
|
|
14261
14261
|
w = s === !0 || n === !0 || r === !0 || c === !0 || O !== void 0 && B;
|
|
@@ -14279,7 +14279,7 @@ function QL(t) {
|
|
|
14279
14279
|
yAxisField: d
|
|
14280
14280
|
});
|
|
14281
14281
|
let W = D(p.uid, "computedSelectionDataItems") ?? [];
|
|
14282
|
-
if (W.push(...V), S.series.length > 1 && T !==
|
|
14282
|
+
if (W.push(...V), S.series.length > 1 && T !== P.BarAndLineNoAggregation && T !== P.BarAndLineSplitByNoAggregation && (W = Ud({
|
|
14283
14283
|
data: W,
|
|
14284
14284
|
x: S.series[0].x,
|
|
14285
14285
|
splitByField: Ti(S.series[0].query?.where)
|
|
@@ -14347,12 +14347,12 @@ function QL(t) {
|
|
|
14347
14347
|
})), M === void 0 || M.length === 0)
|
|
14348
14348
|
eo({
|
|
14349
14349
|
chart: p,
|
|
14350
|
-
selectionSource:
|
|
14350
|
+
selectionSource: Pe.ProgrammaticSelection
|
|
14351
14351
|
});
|
|
14352
14352
|
else {
|
|
14353
14353
|
const W = {
|
|
14354
14354
|
selectionItems: M,
|
|
14355
|
-
selectionSource:
|
|
14355
|
+
selectionSource: Pe.ProgrammaticSelection
|
|
14356
14356
|
};
|
|
14357
14357
|
g === !0 && (W.selectionIndexes = V), h !== !1 && (W.selectionOIDs = m?.selectionOIDs ?? D(p.uid, "currentSelectionOIDs")), Ha({
|
|
14358
14358
|
data: W,
|
|
@@ -14544,14 +14544,14 @@ async function t0(t) {
|
|
|
14544
14544
|
}), await Mo({
|
|
14545
14545
|
chart: a,
|
|
14546
14546
|
listSelectedElements: l,
|
|
14547
|
-
selectionSource:
|
|
14547
|
+
selectionSource: Pe.SelectionByClick
|
|
14548
14548
|
});
|
|
14549
14549
|
}
|
|
14550
14550
|
}
|
|
14551
14551
|
function i0(t) {
|
|
14552
14552
|
if (At(t.renderer.labels.template)) {
|
|
14553
|
-
t.renderer.labels.template.events.on(
|
|
14554
|
-
t.renderer.labels.template.events.isEnabled(
|
|
14553
|
+
t.renderer.labels.template.events.on(N.Hit, async (a) => {
|
|
14554
|
+
t.renderer.labels.template.events.isEnabled(N.Hit) && await t0(a);
|
|
14555
14555
|
});
|
|
14556
14556
|
const i = D(t.chart.uid, "filterBySelection") === !0 ? qt.default : qt.pointer;
|
|
14557
14557
|
$s(t, i);
|
|
@@ -14560,9 +14560,9 @@ function i0(t) {
|
|
|
14560
14560
|
function un(t, e) {
|
|
14561
14561
|
if (At(t?.renderer?.labels?.template) && (t instanceof lt || t instanceof Ee))
|
|
14562
14562
|
if (e)
|
|
14563
|
-
t.renderer.labels.template.events.disableType(
|
|
14563
|
+
t.renderer.labels.template.events.disableType(N.Hit), $s(t, qt.default);
|
|
14564
14564
|
else {
|
|
14565
|
-
t.renderer.labels.template.events.enableType(
|
|
14565
|
+
t.renderer.labels.template.events.enableType(N.Hit);
|
|
14566
14566
|
const a = D(t.chart.uid, "filterBySelection") === !0 ? qt.default : qt.pointer;
|
|
14567
14567
|
$s(t, a);
|
|
14568
14568
|
}
|
|
@@ -14593,7 +14593,7 @@ function Lo(t) {
|
|
|
14593
14593
|
oa(t);
|
|
14594
14594
|
const a = i === Q.YAxisTitle ? 1 : 0;
|
|
14595
14595
|
e.events.on(
|
|
14596
|
-
|
|
14596
|
+
N.Validated,
|
|
14597
14597
|
pt(() => oa(t), F.debounceTime),
|
|
14598
14598
|
a
|
|
14599
14599
|
);
|
|
@@ -14613,7 +14613,7 @@ function n0(t) {
|
|
|
14613
14613
|
let n;
|
|
14614
14614
|
e instanceof rr || (o ? a === q.SFS ? n = F.verticalSurfaceGuideLabels : n = F.verticalLineGuideLabels : a === q.SFS ? n = F.horizontalSurfaceGuideLabels : n = F.horizontalLineGuideLabels);
|
|
14615
14615
|
const s = { ...i };
|
|
14616
|
-
s.content.rightToLeft = e.axis.rtl,
|
|
14616
|
+
s.content.rightToLeft = e.axis.rtl, Nt({ label: e, labelConfig: s, defaults: n }), e.axis.invalidateLabels();
|
|
14617
14617
|
}
|
|
14618
14618
|
function s0(t, e, i) {
|
|
14619
14619
|
const a = i.chart;
|
|
@@ -14639,7 +14639,7 @@ function s0(t, e, i) {
|
|
|
14639
14639
|
}
|
|
14640
14640
|
}
|
|
14641
14641
|
return s;
|
|
14642
|
-
}), t.axisFill.tooltip.events.on(
|
|
14642
|
+
}), t.axisFill.tooltip.events.on(N.Shown, (o) => {
|
|
14643
14643
|
const n = D(t.axisFill.axis.chart.uid, "config");
|
|
14644
14644
|
if (n !== void 0) {
|
|
14645
14645
|
const s = D(t.axisFill.axis.chart.uid, "isRotated"), l = !Sa(t.axisFill.axis.renderer, s) ? 1 : 0, c = n.axes?.[l]?.guides, { tooltipReverseColor: u } = c?.[e] ?? {};
|
|
@@ -14928,7 +14928,7 @@ function L0(t) {
|
|
|
14928
14928
|
);
|
|
14929
14929
|
Ke(e.uid, {
|
|
14930
14930
|
debouncedUpdateMinGridDistanceForWrapBehavior: r
|
|
14931
|
-
}), e.events.on(
|
|
14931
|
+
}), e.events.on(N.SizeChanged, r), e.dispatchImmediately(N.SizeChanged);
|
|
14932
14932
|
} else a === ke.Stagger ? s = F.staggerMinGridDistance : s = e instanceof lt ? F.xCategoryAxisMinGridDistance : F.xAxisMinGridDistance;
|
|
14933
14933
|
else
|
|
14934
14934
|
s = e instanceof lt ? F.yCategoryAxisMinGridDistance : F.yAxisMinGridDistance;
|
|
@@ -14996,7 +14996,7 @@ function I0(t) {
|
|
|
14996
14996
|
const { chart: e } = t;
|
|
14997
14997
|
t.renderer.labels.template.paddingLeft = Number.NaN, t.renderer.labels.template.paddingRight = Number.NaN;
|
|
14998
14998
|
const i = Je(t.uid, "debouncedAxisLabelRotationCallback");
|
|
14999
|
-
if (i !== void 0 && (t.events.off(
|
|
14999
|
+
if (i !== void 0 && (t.events.off(N.Validated, i), Ke(t.uid, {
|
|
15000
15000
|
debouncedAxisLabelRotationCallback: void 0
|
|
15001
15001
|
})), e !== void 0) {
|
|
15002
15002
|
const o = D(e.uid, "config")?.axes?.[0].labels;
|
|
@@ -15016,18 +15016,18 @@ function w0(t) {
|
|
|
15016
15016
|
t.uid,
|
|
15017
15017
|
"debouncedAxisLabelWrapCallback"
|
|
15018
15018
|
);
|
|
15019
|
-
e !== void 0 && (t.events.off(
|
|
15019
|
+
e !== void 0 && (t.events.off(N.DataRangeChanged, e), Ke(t.uid, { debouncedAxisLabelWrapCallback: void 0 }));
|
|
15020
15020
|
}
|
|
15021
15021
|
function $0(t) {
|
|
15022
15022
|
fm(t);
|
|
15023
15023
|
const e = Je(t.uid, "debouncedUpdateMinGridDistanceForWrapBehavior");
|
|
15024
|
-
e !== void 0 && (t.events.off(
|
|
15024
|
+
e !== void 0 && (t.events.off(N.SizeChanged, e), Ke(t.uid, {
|
|
15025
15025
|
debouncedUpdateMinGridDistanceForWrapBehavior: void 0
|
|
15026
15026
|
}));
|
|
15027
15027
|
}
|
|
15028
15028
|
function D0(t) {
|
|
15029
15029
|
const e = Je(t.uid, "debouncedAxisLabelStaggerCallback");
|
|
15030
|
-
e !== void 0 && (t.events.off(
|
|
15030
|
+
e !== void 0 && (t.events.off(N.DataRangeChanged, e), Ke(t.uid, {
|
|
15031
15031
|
debouncedAxisLabelStaggerCallback: void 0
|
|
15032
15032
|
})), t.renderer.ticks.each((i) => {
|
|
15033
15033
|
i.length = F.axisTickLength, i.dataItem?.label && (i.dataItem.label.dy = F.axisLabel.dy ?? 0);
|
|
@@ -15041,19 +15041,19 @@ function md(t) {
|
|
|
15041
15041
|
const e = pt(A0, F.debounceTime, {
|
|
15042
15042
|
leading: !0
|
|
15043
15043
|
});
|
|
15044
|
-
Ke(t.uid, { debouncedAxisLabelRotationCallback: e }), t.events.on(
|
|
15044
|
+
Ke(t.uid, { debouncedAxisLabelRotationCallback: e }), t.events.on(N.Validated, e), t.dispatchImmediately(N.Validated);
|
|
15045
15045
|
}
|
|
15046
15046
|
function gd(t, e = 1) {
|
|
15047
15047
|
t.renderer.labels.template.wrap = !0, t.renderer.labels.template.paddingLeft = 0.5, t.renderer.labels.template.paddingRight = 0.5, t.renderer.labels.template.textAlign = "middle";
|
|
15048
15048
|
const i = pt((a) => T0(a, e), F.debounceTime);
|
|
15049
|
-
Ke(t.uid, { debouncedAxisLabelWrapCallback: i }), t.events.on(
|
|
15049
|
+
Ke(t.uid, { debouncedAxisLabelWrapCallback: i }), t.events.on(N.DataRangeChanged, i);
|
|
15050
15050
|
}
|
|
15051
15051
|
function R0(t) {
|
|
15052
15052
|
t.renderer.labels.template.maxWidth = F.yAxisLabelMaxWidth, t.renderer.labels.template.wrap = !0, t.renderer.labels.template.textAlign = "end";
|
|
15053
15053
|
}
|
|
15054
15054
|
function B0(t) {
|
|
15055
15055
|
const e = pt(k0, F.debounceTime);
|
|
15056
|
-
Ke(t.uid, { debouncedAxisLabelStaggerCallback: e }), t.events.on(
|
|
15056
|
+
Ke(t.uid, { debouncedAxisLabelStaggerCallback: e }), t.events.on(N.DataRangeChanged, e);
|
|
15057
15057
|
}
|
|
15058
15058
|
function M0(t) {
|
|
15059
15059
|
const {
|
|
@@ -15084,7 +15084,7 @@ function M0(t) {
|
|
|
15084
15084
|
}
|
|
15085
15085
|
} else e.renderer instanceof ko && (a !== ke.Hide ? R0(e) : $0(e));
|
|
15086
15086
|
}
|
|
15087
|
-
function
|
|
15087
|
+
function P0(t) {
|
|
15088
15088
|
const {
|
|
15089
15089
|
axis: e,
|
|
15090
15090
|
axisConfig: i,
|
|
@@ -15096,7 +15096,7 @@ function N0(t) {
|
|
|
15096
15096
|
r.axis = e;
|
|
15097
15097
|
const { labels: l } = i, d = e.renderer instanceof $t && r.rotation === F.rotatedAxisLabel.rotation, c = l;
|
|
15098
15098
|
let u;
|
|
15099
|
-
d ? (c.content.angle = void 0, c.content.horizontalAlignment = void 0, c.content.verticalAlignment = void 0, c.content.yoffset = void 0, u = F.rotatedAxisLabel) : e.renderer instanceof $t && (a === ke.Stagger || a === ke.Wrap) && (u = { wrap: !0, dy: F.axisLabel.dy }), e.renderer instanceof ko && o !== ke.Hide && (u = { wrap: !0 }),
|
|
15099
|
+
d ? (c.content.angle = void 0, c.content.horizontalAlignment = void 0, c.content.verticalAlignment = void 0, c.content.yoffset = void 0, u = F.rotatedAxisLabel) : e.renderer instanceof $t && (a === ke.Stagger || a === ke.Wrap) && (u = { wrap: !0, dy: F.axisLabel.dy }), e.renderer instanceof ko && o !== ke.Hide && (u = { wrap: !0 }), Nt({ label: r, labelConfig: c, defaults: u }), e.renderer.labels.template.paddingTop = e.renderer instanceof $t ? 0 : F.axisLabel.dy, r.align = "none", r.valign = "none", M0({
|
|
15100
15100
|
axis: e,
|
|
15101
15101
|
horizontalAxisLabelsBehavior: a,
|
|
15102
15102
|
verticalAxisLabelsBehavior: o,
|
|
@@ -15113,7 +15113,7 @@ function mm(t, e) {
|
|
|
15113
15113
|
const o = Os(t, "bullets"), n = Os(t, "columns"), s = qr(e);
|
|
15114
15114
|
return s && o !== void 0 ? (i = o, a = n) : s || (i = n, a = o), { labelToRender: i, labelToHide: a };
|
|
15115
15115
|
}
|
|
15116
|
-
function
|
|
15116
|
+
function N0(t, e = !0) {
|
|
15117
15117
|
t.hideOversized = e;
|
|
15118
15118
|
}
|
|
15119
15119
|
function V0(t, e) {
|
|
@@ -15122,7 +15122,7 @@ function V0(t, e) {
|
|
|
15122
15122
|
Xi(o.uid, { isDataLabel: !0 }), t.bullets.push(o);
|
|
15123
15123
|
const n = ci(F.dataLabelInitialize, t.columns.template);
|
|
15124
15124
|
return Xi(n.uid, { isDataLabel: !0 }), Rs(n, t), Rs(o, t), t.events.on(
|
|
15125
|
-
|
|
15125
|
+
N.Validated,
|
|
15126
15126
|
pt(() => {
|
|
15127
15127
|
Co(n) && n.clones.each((s) => {
|
|
15128
15128
|
Co(s) && s.validate();
|
|
@@ -15138,7 +15138,7 @@ function W0(t) {
|
|
|
15138
15138
|
s = c, r = u;
|
|
15139
15139
|
}
|
|
15140
15140
|
let l = F.dataLabel, d = !0;
|
|
15141
|
-
qr(i) ? (l = a === !0 ? F.dataLabelRotated : F.dataLabel, d = n === !0) : (l = a === !0 ? F.dataLabelStackedRotated : F.dataLabelStackedNonRotated, d = o !== !1),
|
|
15141
|
+
qr(i) ? (l = a === !0 ? F.dataLabelRotated : F.dataLabel, d = n === !0) : (l = a === !0 ? F.dataLabelStackedRotated : F.dataLabelStackedNonRotated, d = o !== !1), N0(s, d), r !== void 0 && (r.visible = !1, r.disabled = !0), s.html = "{valueX}", Xf({
|
|
15142
15142
|
...t,
|
|
15143
15143
|
dataLabel: s,
|
|
15144
15144
|
labelDefaults: l,
|
|
@@ -15170,10 +15170,10 @@ function Sa(t, e) {
|
|
|
15170
15170
|
return t instanceof $t && e !== !0 || t instanceof ko && e === !0;
|
|
15171
15171
|
}
|
|
15172
15172
|
function H0(t) {
|
|
15173
|
-
At(t.labels.template) && (t.labels.template.events.on(
|
|
15173
|
+
At(t.labels.template) && (t.labels.template.events.on(N.Over, (e) => {
|
|
15174
15174
|
const { axisLabelOveredOpacity: i } = F;
|
|
15175
15175
|
e.target.fillOpacity = (e.target.fillOpacity ?? 1) * i;
|
|
15176
|
-
}), t.labels.template.events.on(
|
|
15176
|
+
}), t.labels.template.events.on(N.Out, (e) => {
|
|
15177
15177
|
const { axisLabelOveredOpacity: i } = F;
|
|
15178
15178
|
e.target.fillOpacity = (e.target.fillOpacity ?? 0.5) / i;
|
|
15179
15179
|
}));
|
|
@@ -15185,7 +15185,7 @@ function z0(t) {
|
|
|
15185
15185
|
label: e.title,
|
|
15186
15186
|
labelType: e.renderer instanceof $t ? Q.XAxisTitle : Q.YAxisTitle
|
|
15187
15187
|
}), e.renderer instanceof $t && e.events.on(
|
|
15188
|
-
|
|
15188
|
+
N.Validated,
|
|
15189
15189
|
pt(() => {
|
|
15190
15190
|
x0({ axis: e, restoreLabelsVisibility: !0 });
|
|
15191
15191
|
}, F.debounceTime)
|
|
@@ -15226,7 +15226,7 @@ function G0(t) {
|
|
|
15226
15226
|
}
|
|
15227
15227
|
}
|
|
15228
15228
|
function X0(t) {
|
|
15229
|
-
t.events.on(
|
|
15229
|
+
t.events.on(N.Validated, pt(G0, F.debounceTime));
|
|
15230
15230
|
}
|
|
15231
15231
|
function Y0(t) {
|
|
15232
15232
|
const { axis: e, isNonAggregatedChart: i } = t;
|
|
@@ -15273,7 +15273,7 @@ function U0(t) {
|
|
|
15273
15273
|
axis: t,
|
|
15274
15274
|
axisMinimum: t.min,
|
|
15275
15275
|
axisMaximum: e
|
|
15276
|
-
}), e))) : t instanceof lt && t.events.on(
|
|
15276
|
+
}), e))) : t instanceof lt && t.events.on(N.Validated, () => {
|
|
15277
15277
|
const e = D(t.chart.uid, "isNonAggregatedChart");
|
|
15278
15278
|
Y0({ axis: t, isNonAggregatedChart: e });
|
|
15279
15279
|
});
|
|
@@ -15445,9 +15445,9 @@ function J0(t, e) {
|
|
|
15445
15445
|
}
|
|
15446
15446
|
function eF(t, e) {
|
|
15447
15447
|
const i = t.renderer instanceof $t;
|
|
15448
|
-
t.events.once(
|
|
15448
|
+
t.events.once(N.Validated, () => {
|
|
15449
15449
|
let a = t.renderer instanceof ko ? F.yAxisTitleLabel : F.xAxisTitleLabel;
|
|
15450
|
-
i && (a = { ...a, dy: a.dy ?? 0 }),
|
|
15450
|
+
i && (a = { ...a, dy: a.dy ?? 0 }), Nt({ label: t.title, labelConfig: e, defaults: a }), oa({
|
|
15451
15451
|
chart: t.chart,
|
|
15452
15452
|
label: t.title,
|
|
15453
15453
|
labelType: t.renderer instanceof $t ? Q.XAxisTitle : Q.YAxisTitle
|
|
@@ -15488,7 +15488,7 @@ function bm(t) {
|
|
|
15488
15488
|
chartType: o,
|
|
15489
15489
|
axisConfig: C,
|
|
15490
15490
|
isSecondValueAxis: v
|
|
15491
|
-
}), x !== void 0 && S.events.once(
|
|
15491
|
+
}), x !== void 0 && S.events.once(N.Validated, () => {
|
|
15492
15492
|
const { labelToRender: L } = mm(t, s);
|
|
15493
15493
|
L && (L.html = n === !0 ? "{valueX}" : "{valueY}");
|
|
15494
15494
|
}));
|
|
@@ -15496,7 +15496,7 @@ function bm(t) {
|
|
|
15496
15496
|
}
|
|
15497
15497
|
}
|
|
15498
15498
|
}, F.debounceTime);
|
|
15499
|
-
t.events.once(
|
|
15499
|
+
t.events.once(N.Validated, e);
|
|
15500
15500
|
}
|
|
15501
15501
|
function iF(t, e) {
|
|
15502
15502
|
if (t instanceof we) {
|
|
@@ -15549,7 +15549,7 @@ function Zo(t) {
|
|
|
15549
15549
|
element: e.renderer.ticks.template,
|
|
15550
15550
|
lineSymbol: x,
|
|
15551
15551
|
visible: b
|
|
15552
|
-
}),
|
|
15552
|
+
}), P0({
|
|
15553
15553
|
axis: e,
|
|
15554
15554
|
axisConfig: i,
|
|
15555
15555
|
horizontalAxisLabelsBehavior: n,
|
|
@@ -15643,7 +15643,7 @@ function aF(t) {
|
|
|
15643
15643
|
{ axis: R, start: W, end: H }
|
|
15644
15644
|
].forEach((J) => {
|
|
15645
15645
|
const { axis: ee, start: ve, end: ge } = J;
|
|
15646
|
-
ee !== void 0 && ee.events.once(
|
|
15646
|
+
ee !== void 0 && ee.events.once(N.Validated, () => {
|
|
15647
15647
|
Bs({ axis: ee, start: ve, end: ge });
|
|
15648
15648
|
});
|
|
15649
15649
|
}), k !== void 0 && k.ghostLabel.setPropertyValue("disabled", !0), w !== void 0 && w.ghostLabel.setPropertyValue("disabled", !0), R !== void 0 && R.ghostLabel.setPropertyValue("disabled", !0);
|
|
@@ -15794,7 +15794,7 @@ function rF(t) {
|
|
|
15794
15794
|
if (i.labels.content.font?.size === void 0 && i.onlyShowFirstAndLastLabels !== !0) {
|
|
15795
15795
|
Wi(e, Ze.AxisLabels), Wi(e, Ze.FirstAndLastLabels);
|
|
15796
15796
|
const o = () => {
|
|
15797
|
-
a.events.once(
|
|
15797
|
+
a.events.once(N.Validated, () => {
|
|
15798
15798
|
const s = Lt(a, Fe.GaugeTicksWithLabels);
|
|
15799
15799
|
if (Un(s)) {
|
|
15800
15800
|
const r = s.map((m) => m.label), l = r[0].scale, d = r[0].fontSize, c = _r({
|
|
@@ -15811,8 +15811,8 @@ function rF(t) {
|
|
|
15811
15811
|
}
|
|
15812
15812
|
}), a.validate();
|
|
15813
15813
|
};
|
|
15814
|
-
e.events.once(
|
|
15815
|
-
const n = e.events.on(
|
|
15814
|
+
e.events.once(N.Validated, o);
|
|
15815
|
+
const n = e.events.on(N.SizeChanged, o);
|
|
15816
15816
|
U(e.uid, { gaugeAutoResizeAxisLabelsDisposer: n }), o();
|
|
15817
15817
|
} else {
|
|
15818
15818
|
Wi(e, Ze.AxisLabels);
|
|
@@ -15841,7 +15841,7 @@ function lF(t, e) {
|
|
|
15841
15841
|
}
|
|
15842
15842
|
} else
|
|
15843
15843
|
e.scale = 1;
|
|
15844
|
-
}, a = t.events.on(
|
|
15844
|
+
}, a = t.events.on(N.Validated, i), o = t.events.on(N.SizeChanged, i);
|
|
15845
15845
|
U(t.uid, {
|
|
15846
15846
|
gaugeAutoResizeInnerLabelFirstDisposer: o,
|
|
15847
15847
|
gaugeAutoResizeInnerLabelSecondDisposer: a
|
|
@@ -15873,9 +15873,9 @@ function dF(t) {
|
|
|
15873
15873
|
});
|
|
15874
15874
|
}
|
|
15875
15875
|
};
|
|
15876
|
-
e.events.once(
|
|
15876
|
+
e.events.once(N.Validated, o);
|
|
15877
15877
|
const n = e.events.on(
|
|
15878
|
-
|
|
15878
|
+
N.SizeChanged,
|
|
15879
15879
|
o
|
|
15880
15880
|
);
|
|
15881
15881
|
U(e.uid, { gaugeAutoResizeFirstAndLastLabelsDisposer: n }), o();
|
|
@@ -15886,7 +15886,7 @@ function dF(t) {
|
|
|
15886
15886
|
n.scale = 1;
|
|
15887
15887
|
});
|
|
15888
15888
|
}
|
|
15889
|
-
function
|
|
15889
|
+
function Ps(t, e) {
|
|
15890
15890
|
const i = t.xAxes.getIndex(0);
|
|
15891
15891
|
if (i !== void 0) {
|
|
15892
15892
|
const a = e ?? D(t.uid, "config"), { onlyShowFirstAndLastLabels: o } = a?.axes?.[0] ?? {};
|
|
@@ -15933,9 +15933,9 @@ function Ns(t, e) {
|
|
|
15933
15933
|
}
|
|
15934
15934
|
function cF(t) {
|
|
15935
15935
|
const e = t.xAxes.getIndex(0);
|
|
15936
|
-
e !== void 0 && (e.events.on(
|
|
15937
|
-
|
|
15938
|
-
pt(() =>
|
|
15936
|
+
e !== void 0 && (e.events.on(N.SizeChanged, () => Ps(t)), e.events.on(
|
|
15937
|
+
N.Validated,
|
|
15938
|
+
pt(() => Ps(t), F.debounceTime)
|
|
15939
15939
|
));
|
|
15940
15940
|
}
|
|
15941
15941
|
function Sm(t) {
|
|
@@ -15985,7 +15985,7 @@ function hF(t) {
|
|
|
15985
15985
|
(r) => Xe(r.uid, "isGaugeAxisInnerLabel") === !0
|
|
15986
15986
|
);
|
|
15987
15987
|
if (s !== void 0) {
|
|
15988
|
-
|
|
15988
|
+
Nt({ label: s, labelConfig: i, defaults: F.gaugeInnerLabel });
|
|
15989
15989
|
const r = D(e.uid, "formatLocale");
|
|
15990
15990
|
s.html = TF({
|
|
15991
15991
|
valueFormat: a,
|
|
@@ -16028,7 +16028,7 @@ function SF(t) {
|
|
|
16028
16028
|
if (Un(r)) {
|
|
16029
16029
|
const l = D(e.uid, "formatLocale");
|
|
16030
16030
|
r.forEach((d) => {
|
|
16031
|
-
|
|
16031
|
+
Nt({ label: d.label, labelConfig: n }), Fn(d) && (d.label.html = Cm({
|
|
16032
16032
|
valueFormat: o,
|
|
16033
16033
|
iLocale: e.language.locale,
|
|
16034
16034
|
formatLocale: l,
|
|
@@ -16268,7 +16268,7 @@ async function kF(t) {
|
|
|
16268
16268
|
valueFormat: C,
|
|
16269
16269
|
gaugeValue: M,
|
|
16270
16270
|
gaugeInnerLabelFormatter: s
|
|
16271
|
-
}), xF(p, S),
|
|
16271
|
+
}), xF(p, S), Ps(e, i), e.validateData();
|
|
16272
16272
|
}
|
|
16273
16273
|
}
|
|
16274
16274
|
function IF(t) {
|
|
@@ -16283,7 +16283,7 @@ function wF(t) {
|
|
|
16283
16283
|
}
|
|
16284
16284
|
function jn(t, e) {
|
|
16285
16285
|
const { title: i, subtitle: a, headerContainer: o } = t;
|
|
16286
|
-
|
|
16286
|
+
Nt({ label: i, labelConfig: e?.title, defaults: F.titleLabel }), Nt({ label: a, labelConfig: e?.subtitle, defaults: F.titleLabel }), tm(o, i.disabled && a.disabled), oa({
|
|
16287
16287
|
chart: i.parent,
|
|
16288
16288
|
label: i,
|
|
16289
16289
|
labelType: Q.ChartTitle
|
|
@@ -16299,7 +16299,7 @@ function $F(t) {
|
|
|
16299
16299
|
}
|
|
16300
16300
|
function _n(t, e) {
|
|
16301
16301
|
const { footer: i, footerContainer: a } = t;
|
|
16302
|
-
|
|
16302
|
+
Nt({ label: i, labelConfig: e, defaults: F.footer }), tm(a, i.disabled || e?.content.text === ""), oa({
|
|
16303
16303
|
chart: i.parent,
|
|
16304
16304
|
label: i,
|
|
16305
16305
|
labelType: Q.ChartFooter
|
|
@@ -16367,13 +16367,13 @@ function vm(t) {
|
|
|
16367
16367
|
});
|
|
16368
16368
|
}
|
|
16369
16369
|
}
|
|
16370
|
-
function
|
|
16370
|
+
function PF(t, e) {
|
|
16371
16371
|
t.columns.each((i) => {
|
|
16372
16372
|
(i.dataItem?.dataContext)[e] === 0 && (i.strokeOpacity = 0);
|
|
16373
16373
|
});
|
|
16374
16374
|
}
|
|
16375
|
-
function
|
|
16376
|
-
t.chart.legend.events.once(
|
|
16375
|
+
function NF(t, e) {
|
|
16376
|
+
t.chart.legend.events.once(N.Validated, () => {
|
|
16377
16377
|
Yi({
|
|
16378
16378
|
element: t.legendDataItem?.marker.children.getIndex(0),
|
|
16379
16379
|
stylingInfo: e
|
|
@@ -16430,7 +16430,7 @@ function VF(t) {
|
|
|
16430
16430
|
}
|
|
16431
16431
|
}) : d = !0;
|
|
16432
16432
|
}
|
|
16433
|
-
return d &&
|
|
16433
|
+
return d && NF(e, b.stylingInfo), c.size <= 1 && (u = b.symbolWithColorInfo ?? m), PF(e, l), u;
|
|
16434
16434
|
}
|
|
16435
16435
|
function WF(t) {
|
|
16436
16436
|
const { series: e, seriesSymbolMapForEvent: i, seriesIndexMapper: a, seriesIndex: o, colorMatch: n, rendererType: s } = t, r = t.seriesConfig, l = D(e.chart.uid, "config"), d = l?.series.length ?? 0, c = Y(l?.series), u = VF({
|
|
@@ -16462,11 +16462,11 @@ function Lm(t) {
|
|
|
16462
16462
|
fieldList: d,
|
|
16463
16463
|
seriesIndex: c,
|
|
16464
16464
|
seriesSymbolMapForEvent: u
|
|
16465
|
-
} = t, { name: m } = e, g = D(i.chart.uid, "config"), h =
|
|
16465
|
+
} = t, { name: m } = e, g = D(i.chart.uid, "config"), h = Pt({ config: g }), b = Y(g?.series);
|
|
16466
16466
|
se(i, e.visible);
|
|
16467
16467
|
let p = m;
|
|
16468
16468
|
const S = i.dataFields?.customValue ?? "";
|
|
16469
|
-
(b ===
|
|
16469
|
+
(b === P.BarAndLineSplitBy || b === P.BarAndLineSplitByNoAggregation) && (p = Xs({
|
|
16470
16470
|
subtypeInfo: n,
|
|
16471
16471
|
fieldList: d,
|
|
16472
16472
|
fieldName: Ti(S),
|
|
@@ -16493,7 +16493,7 @@ function Lm(t) {
|
|
|
16493
16493
|
});
|
|
16494
16494
|
}
|
|
16495
16495
|
function EF(t) {
|
|
16496
|
-
t.events.on(
|
|
16496
|
+
t.events.on(N.Validated, () => {
|
|
16497
16497
|
const e = tt(
|
|
16498
16498
|
t.uid,
|
|
16499
16499
|
"barSeriesLastUpdate"
|
|
@@ -16509,7 +16509,7 @@ function HF(t) {
|
|
|
16509
16509
|
ya(u, n), u.id = l.id;
|
|
16510
16510
|
let m, g;
|
|
16511
16511
|
r !== !0 ? (m = o[0], g = c === !0 && o[2] ? o[2] : o[1]) : (m = c === !0 && o[2] ? o[2] : o[0], g = o[1]), m !== void 0 && (u.xAxis = m), g !== void 0 && (u.yAxis = g);
|
|
16512
|
-
const h = e instanceof ce ?
|
|
16512
|
+
const h = e instanceof ce ? Pt({ chart: e }) : !1, p = Y(i.series) !== P.BarAndLineSplitByNoAggregation ? d : `${d}_${Ai({ where: l.query?.where, keepSurroundingQuotes: !1, escape: !1 })}`;
|
|
16513
16513
|
h ? u.dataFields.valueX = p : u.dataFields.valueY = p;
|
|
16514
16514
|
const S = h ? o[1] : o[0];
|
|
16515
16515
|
if (S !== void 0) {
|
|
@@ -16530,7 +16530,7 @@ function HF(t) {
|
|
|
16530
16530
|
function zF(t) {
|
|
16531
16531
|
const { seriesConfig: e, series: i, seriesIndex: a, axes: o, utilsStrings: n, fieldList: s, queryObject: r, stackedType: l, options: d } = t;
|
|
16532
16532
|
i.id = e.id;
|
|
16533
|
-
const c =
|
|
16533
|
+
const c = Pt({ chart: i.chart });
|
|
16534
16534
|
W0({
|
|
16535
16535
|
series: i,
|
|
16536
16536
|
seriesType: y.BarSeries,
|
|
@@ -16583,7 +16583,7 @@ function GF(t) {
|
|
|
16583
16583
|
}
|
|
16584
16584
|
function XF(t) {
|
|
16585
16585
|
const e = t.labels.template;
|
|
16586
|
-
e.maxWidth = F.pieChart.dataLabels.maxWidth ?? Number.NaN, e.wrap = F.pieChart.dataLabels.wrap ?? !0, e.events.on(
|
|
16586
|
+
e.maxWidth = F.pieChart.dataLabels.maxWidth ?? Number.NaN, e.wrap = F.pieChart.dataLabels.wrap ?? !0, e.events.on(N.Over, (i) => {
|
|
16587
16587
|
const { dataItem: a } = i.target ?? {};
|
|
16588
16588
|
a instanceof xi && a.slice.showTooltip();
|
|
16589
16589
|
}), GF(t);
|
|
@@ -16629,7 +16629,7 @@ function UF(t) {
|
|
|
16629
16629
|
const { pieSeries: e, seriesConfig: i, dataLabelFormatter: a } = t, { dataLabels: o } = i, n = i.dataLabelsOffset ?? F.pieChart.dataLabelsOffset, s = i.dataLabelsInside ?? F.pieChart.dataLabelsInside;
|
|
16630
16630
|
Jt(e.uid, {
|
|
16631
16631
|
pieChartDataLabelFormatter: a ?? YF(e, i)
|
|
16632
|
-
}),
|
|
16632
|
+
}), Nt({
|
|
16633
16633
|
label: e.labels.template,
|
|
16634
16634
|
labelConfig: o,
|
|
16635
16635
|
defaults: {
|
|
@@ -16778,7 +16778,7 @@ function eA(t) {
|
|
|
16778
16778
|
});
|
|
16779
16779
|
}
|
|
16780
16780
|
async function tA(t) {
|
|
16781
|
-
const { chartConfig: e, queryObject: i, usePopupTemplateFieldsInfo: a, labelUpdateNeeded: o, utilsStrings: n } = t, { series: s } = e, r = s[0], { x: l } = r, d = !Jd({ chartConfig: e }), c = Y([r]), u = c ===
|
|
16781
|
+
const { chartConfig: e, queryObject: i, usePopupTemplateFieldsInfo: a, labelUpdateNeeded: o, utilsStrings: n } = t, { series: s } = e, r = s[0], { x: l } = r, d = !Jd({ chartConfig: e }), c = Y([r]), u = c === P.PieFromFields, m = bt(i), g = ra(m).idField, h = await It(i, a);
|
|
16782
16782
|
return {
|
|
16783
16783
|
x: l,
|
|
16784
16784
|
isNonAggregatedChart: d,
|
|
@@ -16924,7 +16924,7 @@ function nA(t) {
|
|
|
16924
16924
|
const { chart: e, seriesConfig: i, series: a, pieSlicesSymbols: o, options: n, utilsStrings: s } = t, { tooltipFormatter: r, dataLabelFormatter: l } = n ?? {}, { x: d, y: c, id: u, innerRadius: m, startAngle: g, endAngle: h } = i;
|
|
16925
16925
|
a.id = u;
|
|
16926
16926
|
const b = Y([i]), p = F.pieChart;
|
|
16927
|
-
a.dataFields.value = b !==
|
|
16927
|
+
a.dataFields.value = b !== P.PieFromFields ? c : Fa, a.dataFields.category = b !== P.PieFromFields ? d : ni;
|
|
16928
16928
|
const S = e.radius instanceof an ? e.radius.value : e.radius;
|
|
16929
16929
|
e.innerRadius = Qe((m ?? p.innerRadius) * S), a.startAngle = g ?? p.min, a.endAngle = h ?? 360 + a.startAngle, UF({
|
|
16930
16930
|
pieSeries: a,
|
|
@@ -16990,7 +16990,7 @@ async function Sd(t) {
|
|
|
16990
16990
|
});
|
|
16991
16991
|
});
|
|
16992
16992
|
}
|
|
16993
|
-
await Mo({ chart: e, listSelectedElements: o, selectionSource:
|
|
16993
|
+
await Mo({ chart: e, listSelectedElements: o, selectionSource: Pe.SelectionByClick });
|
|
16994
16994
|
}
|
|
16995
16995
|
e.feedLegend();
|
|
16996
16996
|
}
|
|
@@ -17007,12 +17007,12 @@ function sA(t) {
|
|
|
17007
17007
|
const { slice: l } = r;
|
|
17008
17008
|
l.isActive = !l.isActive, await Sd({ chart: t, multiSelect: s, hitSlice: l });
|
|
17009
17009
|
}
|
|
17010
|
-
} else n === t.background && await Mo({ chart: t, listSelectedElements: [], selectionSource:
|
|
17010
|
+
} else n === t.background && await Mo({ chart: t, listSelectedElements: [], selectionSource: Pe.SelectionByClick });
|
|
17011
17011
|
}
|
|
17012
17012
|
}, i = t.series.getIndex(0)?.slices.template;
|
|
17013
|
-
i !== void 0 && (i.events.on(
|
|
17013
|
+
i !== void 0 && (i.events.on(N.Hit, e), i.events.on(N.DoubleHit, e));
|
|
17014
17014
|
const a = t.series.getIndex(0)?.labels.template;
|
|
17015
|
-
a !== void 0 && a.events.on(
|
|
17015
|
+
a !== void 0 && a.events.on(N.Hit, e), t.background.events.on(N.Hit, e), t.background.events.on(N.DoubleHit, e);
|
|
17016
17016
|
}
|
|
17017
17017
|
function Cd(t) {
|
|
17018
17018
|
return t?.offsetParent !== null;
|
|
@@ -17020,7 +17020,7 @@ function Cd(t) {
|
|
|
17020
17020
|
function rA(t, e) {
|
|
17021
17021
|
t !== void 0 && e !== void 0 && window.IntersectionObserver !== void 0 && new IntersectionObserver(
|
|
17022
17022
|
(a) => {
|
|
17023
|
-
a[0].intersectionRatio > 0 && (D(t.uid, "chartWasCreatedWhileHidden") === !0 ? (t.reinit(), t.events.once(
|
|
17023
|
+
a[0].intersectionRatio > 0 && (D(t.uid, "chartWasCreatedWhileHidden") === !0 ? (t.reinit(), t.events.once(N.Validated, () => {
|
|
17024
17024
|
t.reinit();
|
|
17025
17025
|
}), U(t.uid, {
|
|
17026
17026
|
chartWasCreatedWhileHidden: !1
|
|
@@ -17091,7 +17091,7 @@ function Am(t) {
|
|
|
17091
17091
|
}
|
|
17092
17092
|
return o;
|
|
17093
17093
|
};
|
|
17094
|
-
t.events.on(
|
|
17094
|
+
t.events.on(N.SizeChanged, pt(i, F.debounceTime)), i(), t.validate();
|
|
17095
17095
|
}
|
|
17096
17096
|
}
|
|
17097
17097
|
function Tm(t) {
|
|
@@ -17104,7 +17104,7 @@ function Tm(t) {
|
|
|
17104
17104
|
chartPaddingRightWhenLegendNotOnRight: n,
|
|
17105
17105
|
chartContainerPaddingTopWhenRotated: s,
|
|
17106
17106
|
chartContainer: r
|
|
17107
|
-
} = F, l = a?.series, d = E(l), c =
|
|
17107
|
+
} = F, l = a?.series, d = E(l), c = Pt({ config: a }), u = l?.[0]?.dataLabels?.visible ?? !0;
|
|
17108
17108
|
let m = F.chartDefaultPaddingRight;
|
|
17109
17109
|
if (c && u && (d === y.LineSeries || d === y.ComboLineAndBarSeries || d === y.BarSeries && (a?.stackedType ?? fc()) === Oe.Side)) {
|
|
17110
17110
|
let h = 0;
|
|
@@ -17133,7 +17133,7 @@ function Tm(t) {
|
|
|
17133
17133
|
};
|
|
17134
17134
|
let i = 0;
|
|
17135
17135
|
t.series.each((a) => {
|
|
17136
|
-
a.events.once(
|
|
17136
|
+
a.events.once(N.Validated, () => {
|
|
17137
17137
|
i += 1, i === t.series.length && e();
|
|
17138
17138
|
});
|
|
17139
17139
|
});
|
|
@@ -17155,9 +17155,9 @@ function uA(t) {
|
|
|
17155
17155
|
t.modal?.elements.wrapper && (t.modal.elements.wrapper.style.backgroundColor = i, t.modal.elements.wrapper.style.color = a), t.modal?.elements.curtain && (t.modal.elements.curtain.style.backgroundColor = i);
|
|
17156
17156
|
}
|
|
17157
17157
|
function fA(t) {
|
|
17158
|
-
t.modal !== void 0 && (t.modal.classPrefix = "modal", fs(t, "static"), t.modal.events.on(
|
|
17158
|
+
t.modal !== void 0 && (t.modal.classPrefix = "modal", fs(t, "static"), t.modal.events.on(N.Opened, () => {
|
|
17159
17159
|
fs(t, "relative"), cA(t), uA(t);
|
|
17160
|
-
}), t.modal.events.on(
|
|
17160
|
+
}), t.modal.events.on(N.Closed, () => {
|
|
17161
17161
|
fs(t, "static");
|
|
17162
17162
|
}));
|
|
17163
17163
|
}
|
|
@@ -17180,7 +17180,7 @@ function Ca(t) {
|
|
|
17180
17180
|
if (e.modal !== void 0) {
|
|
17181
17181
|
let c, u;
|
|
17182
17182
|
if (e.modal.closable = !1, i === void 0)
|
|
17183
|
-
u = o === void 0 ? n.modalHeaders.newChart : void 0, c = o ?? n.errors.newChartRequest, e.modal.events.once(
|
|
17183
|
+
u = o === void 0 ? n.modalHeaders.newChart : void 0, c = o ?? n.errors.newChartRequest, e.modal.events.once(N.Opened, () => {
|
|
17184
17184
|
if (o !== void 0) {
|
|
17185
17185
|
const m = e.modal?.elements?.title?.parentElement ?? null;
|
|
17186
17186
|
m !== null && (m.style.visibility = "hidden");
|
|
@@ -17314,7 +17314,7 @@ function km(t) {
|
|
|
17314
17314
|
case y.LineSeries: {
|
|
17315
17315
|
s.series.forEach((m) => {
|
|
17316
17316
|
let g = "";
|
|
17317
|
-
"y" in m && (g = Array.isArray(m.y) ? m.y[0] : m.y, d ===
|
|
17317
|
+
"y" in m && (g = Array.isArray(m.y) ? m.y[0] : m.y, d === P.BarAndLineSplitByNoAggregation && (g = `${g}_${Ai({
|
|
17318
17318
|
where: m.query?.where,
|
|
17319
17319
|
keepSurroundingQuotes: !1,
|
|
17320
17320
|
escape: !1
|
|
@@ -17373,7 +17373,7 @@ function Zn(t) {
|
|
|
17373
17373
|
case j.None:
|
|
17374
17374
|
eo({
|
|
17375
17375
|
chart: e,
|
|
17376
|
-
selectionSource:
|
|
17376
|
+
selectionSource: Pe.ClearSelection,
|
|
17377
17377
|
clearOnlyVisibleSeries: !1,
|
|
17378
17378
|
disposeStyleAndSelection: !1
|
|
17379
17379
|
}), cs(e);
|
|
@@ -17667,7 +17667,7 @@ async function il(t) {
|
|
|
17667
17667
|
else {
|
|
17668
17668
|
J !== void 0 && (i.data = J);
|
|
17669
17669
|
const te = Y(e.series);
|
|
17670
|
-
wt(e) && te !==
|
|
17670
|
+
wt(e) && te !== P.BoxPlotMonoField && te !== P.BoxPlotMonoFieldAndSplitBy && (sa({ arrayToSort: i.data, chartConfig: e }), dm({ chart: i, chartData: i.data, chartConfig: e }));
|
|
17671
17671
|
let de;
|
|
17672
17672
|
i instanceof $e && (Fm({
|
|
17673
17673
|
chart: i,
|
|
@@ -17722,7 +17722,7 @@ async function il(t) {
|
|
|
17722
17722
|
})), B?.valid !== !1) {
|
|
17723
17723
|
const { title: Me, subtitle: ae, footer: Tt, series: ut, background: ei } = Re;
|
|
17724
17724
|
w = wF(i), jn(w, { title: Me, subtitle: ae }), R = $F(i), _n(R, Tt), O = vL(i, ut), _v(i);
|
|
17725
|
-
const Bi =
|
|
17725
|
+
const Bi = Pt({ config: Re }), Kn = Y(ut);
|
|
17726
17726
|
U(i.uid, {
|
|
17727
17727
|
config: Re,
|
|
17728
17728
|
isRotated: Bi,
|
|
@@ -17770,16 +17770,16 @@ async function il(t) {
|
|
|
17770
17770
|
chart: i,
|
|
17771
17771
|
scrollbarXConfig: Re.axes?.[0]?.scrollbar,
|
|
17772
17772
|
scrollbarYConfig: Re.axes?.[1]?.scrollbar
|
|
17773
|
-
}), Mf(i),
|
|
17774
|
-
const
|
|
17775
|
-
i.dateFormatter.intlLocales =
|
|
17773
|
+
}), Mf(i), Pf(i, Re?.cursorCrosshair), Zn({ chart: i, actionMode: m, cursorRange: u });
|
|
17774
|
+
const Po = yn(i.htmlContainer ?? document.documentElement);
|
|
17775
|
+
i.dateFormatter.intlLocales = Po, mA(i, o?.enableResponsiveFeatures), (i instanceof St || Ro(i.series)) && (V.hideLoader(), qi(i.htmlContainer)), Tm(i);
|
|
17776
17776
|
}
|
|
17777
17777
|
}
|
|
17778
17778
|
return { chartElements: w !== void 0 && R !== void 0 && O !== void 0 && M !== void 0 ? { headerElements: w, footerElements: R, legendElements: O, loaderHandle: V, loaderElements: M } : void 0, configValidationStatus: B };
|
|
17779
17779
|
}
|
|
17780
17780
|
function wm(t) {
|
|
17781
17781
|
t.series.each((e) => {
|
|
17782
|
-
e.events.on(
|
|
17782
|
+
e.events.on(N.Ready, () => {
|
|
17783
17783
|
Ro(t.series) && jr(t);
|
|
17784
17784
|
});
|
|
17785
17785
|
});
|
|
@@ -17797,7 +17797,7 @@ async function hA(t) {
|
|
|
17797
17797
|
} = t, { errorStrings: d, utilsStrings: c } = s, { createMessage: u } = r ?? {}, m = ur(e, ce);
|
|
17798
17798
|
m.id = i?.id ?? m.uid, U(m.uid, { queryObject: o });
|
|
17799
17799
|
const { t9nLocale: g } = vn(m.htmlContainer ?? document.documentElement), h = yn(m.htmlContainer ?? document.documentElement), b = Vs(m.htmlContainer ?? document.documentElement) === "rtl";
|
|
17800
|
-
await Jr(m, { locale: g, formatLocale: h, rtl: b }), Kr(m), m.events.on(
|
|
17800
|
+
await Jr(m, { locale: g, formatLocale: h, rtl: b }), Kr(m), m.events.on(N.Inited, () => m.zoomOutButton.deepInvalidate()), Ca({
|
|
17801
17801
|
chart: m,
|
|
17802
17802
|
chartConfig: i,
|
|
17803
17803
|
configValidationStatus: a,
|
|
@@ -17911,7 +17911,7 @@ async function yA(t) {
|
|
|
17911
17911
|
errorStrings: u
|
|
17912
17912
|
}), wv(a.loaderElements, l), o.valid && e) {
|
|
17913
17913
|
a.loaderHandle.showLoader(l?.hideLoaderAnimation !== !0);
|
|
17914
|
-
const p = D(i.uid, "seriesFilteredOut"), S = D(i.uid, "unfilteredConfig"), C = D(i.uid, "config"), x = C?.series, v = e.series, L = E(v), T =
|
|
17914
|
+
const p = D(i.uid, "seriesFilteredOut"), S = D(i.uid, "unfilteredConfig"), C = D(i.uid, "config"), x = C?.series, v = e.series, L = E(v), T = Pt({ config: e });
|
|
17915
17915
|
U(i.uid, { config: Ie(e), isRotated: T }), U(i.uid, { filterBySelection: l?.filterBySelection }), Zn({ chart: i, actionMode: l?.actionMode, cursorRange: l?.cursorRange });
|
|
17916
17916
|
const { xOrYChanged: I, layerChanged: k } = s?.common ?? {};
|
|
17917
17917
|
let { numberOfSeriesChanged: w } = s?.common ?? {};
|
|
@@ -18086,7 +18086,7 @@ async function yA(t) {
|
|
|
18086
18086
|
}
|
|
18087
18087
|
Ro(i.series) && (a.loaderHandle.hideLoader(), qi(i.htmlContainer));
|
|
18088
18088
|
}
|
|
18089
|
-
ji(o, i.htmlContainer),
|
|
18089
|
+
ji(o, i.htmlContainer), Pf(i, e?.cursorCrosshair);
|
|
18090
18090
|
const b = Jx(i);
|
|
18091
18091
|
(b.behavior === ue.SelectX || b.behavior === ue.SelectXY || b.behavior === ue.SelectY || b.behavior === ue.None) && i.scrollbarX.start === 0 && i.scrollbarX.end === 1 && i.scrollbarY.start === 0 && i.scrollbarY.end === 1 && jr(i), Tm(i), bm(i.series.values[0]);
|
|
18092
18092
|
}
|
|
@@ -18474,7 +18474,7 @@ async function vA(t) {
|
|
|
18474
18474
|
}
|
|
18475
18475
|
}
|
|
18476
18476
|
function v(T, I, k) {
|
|
18477
|
-
h.modal !== void 0 && !h.isDisposed() && (h.modal.closable = k?.closable ?? !1, T !== void 0 ? (h.modal.events.once(
|
|
18477
|
+
h.modal !== void 0 && !h.isDisposed() && (h.modal.closable = k?.closable ?? !1, T !== void 0 ? (h.modal.events.once(N.Opened, () => {
|
|
18478
18478
|
const w = h.modal?.elements?.title?.parentElement;
|
|
18479
18479
|
w instanceof HTMLElement && h.modal?.elements?.title?.innerText.length === 0 && (w.style.visibility = "hidden");
|
|
18480
18480
|
}), h.openModal(T, I)) : h.closeModal());
|
|
@@ -18555,8 +18555,8 @@ function Xo(t) {
|
|
|
18555
18555
|
}
|
|
18556
18556
|
return e;
|
|
18557
18557
|
}
|
|
18558
|
-
function
|
|
18559
|
-
return
|
|
18558
|
+
function Ns(t) {
|
|
18559
|
+
return Pm(t) === "dark";
|
|
18560
18560
|
}
|
|
18561
18561
|
function $m(t) {
|
|
18562
18562
|
const e = window.getComputedStyle(t);
|
|
@@ -18614,7 +18614,7 @@ function Yo(t) {
|
|
|
18614
18614
|
function Dm(t, e) {
|
|
18615
18615
|
t && (t.colorMatch = !1, t.series.forEach((i, a) => {
|
|
18616
18616
|
i.dataLabels?.content && e.textColor && (i.dataLabels.content.color = e.textColor);
|
|
18617
|
-
const o =
|
|
18617
|
+
const o = No[a % No.length];
|
|
18618
18618
|
switch (i.type) {
|
|
18619
18619
|
case y.BarSeries:
|
|
18620
18620
|
Yo({
|
|
@@ -18649,7 +18649,7 @@ function Dm(t, e) {
|
|
|
18649
18649
|
i.slices?.forEach((n, s) => {
|
|
18650
18650
|
Yo({
|
|
18651
18651
|
configElementWithFillSymbol: n,
|
|
18652
|
-
fillColor:
|
|
18652
|
+
fillColor: No[s % No.length],
|
|
18653
18653
|
lineColor: e.lineColor
|
|
18654
18654
|
});
|
|
18655
18655
|
});
|
|
@@ -18707,7 +18707,7 @@ function Ad(t) {
|
|
|
18707
18707
|
}
|
|
18708
18708
|
function Td(t, e) {
|
|
18709
18709
|
const i = Ie(e);
|
|
18710
|
-
if (i &&
|
|
18710
|
+
if (i && Ns(t)) {
|
|
18711
18711
|
const a = $m(t);
|
|
18712
18712
|
TA(i, a), kA(i, a), AA(i, a), Dm(i, a), wA(i, a), $A(i, a), IA(i, a), DA(i, a);
|
|
18713
18713
|
}
|
|
@@ -18801,8 +18801,8 @@ function $d(t) {
|
|
|
18801
18801
|
}
|
|
18802
18802
|
)), i;
|
|
18803
18803
|
}
|
|
18804
|
-
const MA = ({ message: t, heading: e, options: i }) => Uo`<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 ? Uo`<div slot=title>${e}</div>` : null}${t !== void 0 ? Uo`<div slot=message>${t}</div>` : null}</calcite-alert>`,
|
|
18805
|
-
class
|
|
18804
|
+
const MA = ({ message: t, heading: e, options: i }) => Uo`<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 ? Uo`<div slot=title>${e}</div>` : null}${t !== void 0 ? Uo`<div slot=message>${t}</div>` : null}</calcite-alert>`, PA = Hm`.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}`;
|
|
18805
|
+
class NA extends Mm {
|
|
18806
18806
|
constructor() {
|
|
18807
18807
|
super(), this._messages = yl(), this.chartRef = zm(), this.guid = wh(), this.commonStrings = yl({ name: "common", blocking: !0 }), this.dataUpdateNeededProps = [
|
|
18808
18808
|
"forceDataUpdate",
|
|
@@ -18814,7 +18814,7 @@ class PA extends Mm {
|
|
|
18814
18814
|
const i = e, { selectionData: a, model: o } = i.detail, n = this.layer && o?.layer?.id === Vo(this.layer).id;
|
|
18815
18815
|
this.syncSelection && n && e.target !== this.el && !wa(a.selectionOIDs, this.selectionData?.selectionOIDs) && (a.selectionOIDs ? (this.selectionData = {
|
|
18816
18816
|
selectionOIDs: a.selectionOIDs,
|
|
18817
|
-
selectionSource:
|
|
18817
|
+
selectionSource: Pe.ProgrammaticSelection
|
|
18818
18818
|
}, this.arcgisSelectionComplete.emit({ selectionData: this.selectionData, model: this._model })) : this.clearSelection());
|
|
18819
18819
|
}, this.configPanelNumberChange = (e) => {
|
|
18820
18820
|
const i = e, { panelNumber: a, modelList: o } = i.detail;
|
|
@@ -18841,7 +18841,7 @@ class PA extends Mm {
|
|
|
18841
18841
|
this.properties = { isWarningDisplayed: 16, showNotifyPanel: [16, { hasChanged: (e) => e }], config: 16, enableBetaFeatures: 5, model: 0, enableConfiguration: 5, disableAutoTheming: 5, syncSelection: 5, rotation: [5, { hasChanged: () => !1 }], actionMode: 1, cursorRange: 1, legendPosition: [1, { hasChanged: () => !1 }], legendVisibility: [5, { hasChanged: () => !1 }], allowUsingObjectIdStat: 5, nullAsValid: 5, showUIMessages: 5, hideEmptySeries: 5, autoInverseDataLabelTextColor: 5, replaceNoValueCategoryWithZero: 5, ignoreSmoothRenderingLimit: 5, chartWillRender: 0, legendValueLabelFormatter: 0, timeZone: 1, view: [0, { hasChanged: () => !1 }], layer: 0, layerItemId: 1, chartIndex: 9, selectionData: 0, returnSelectionOIDs: 5, returnSelectionIndexes: 5, returnFeaturesExtent: 5, filterBySelection: 5, filterByExtent: [5, { hasChanged: () => !1 }], disableInteractions: [5, { hasChanged: () => !1 }], queueChartCreation: 5, useAnimatedCharts: 5, hideLicenseWatermark: 5, enableResponsiveFeatures: 5, autoDisposeChart: 5, featureIndex: [9, { hasChanged: () => !1 }], placeholder: 1, selectionTheme: 0, setTimeBinningInfoWhenNotProvided: 5, chartLimits: 0, tooltipFormatter: 0, dataLabelFormatter: 0, guideTooltipFormatter: 0, xAxisLabelFormatter: 0, yAxisLabelFormatter: 0, secondaryYAxisLabelFormatter: 0, gaugeInnerLabelFormatter: 0, errorPolicy: 1, disableTogglingLegendItems: 5, hideLoaderAnimation: 5, loaderColors: 0, runtimeDataFilters: 0, usePopupTemplateFieldsInfo: 5, layerFilterChangePolicy: 1, viewTimeExtentChangePolicy: 1, layerRendererChangePolicy: 1, layerFieldsChangePolicy: 1, syncSelectionsBetweenChartAndLayerViewPolicy: 1, ignoreViewExtent: 5, updateSplitBySeries: 0, messageOverrides: 0, autoDestroyDisabled: 5 };
|
|
18842
18842
|
}
|
|
18843
18843
|
static {
|
|
18844
|
-
this.styles =
|
|
18844
|
+
this.styles = PA;
|
|
18845
18845
|
}
|
|
18846
18846
|
get showNotifyPanel() {
|
|
18847
18847
|
return this._showNotifyPanel;
|
|
@@ -18982,7 +18982,7 @@ class PA extends Mm {
|
|
|
18982
18982
|
const e = this.getSelectionFromLayerView();
|
|
18983
18983
|
e && (this.selectionData = {
|
|
18984
18984
|
selectionOIDs: e,
|
|
18985
|
-
selectionSource:
|
|
18985
|
+
selectionSource: Pe.ProgrammaticSelection
|
|
18986
18986
|
});
|
|
18987
18987
|
}
|
|
18988
18988
|
this.updateQueue = Mh.promise(async () => {
|
|
@@ -19105,7 +19105,7 @@ class PA extends Mm {
|
|
|
19105
19105
|
const e = this.getSelectionFromLayerView();
|
|
19106
19106
|
e && (this.selectionData = {
|
|
19107
19107
|
selectionOIDs: e,
|
|
19108
|
-
selectionSource:
|
|
19108
|
+
selectionSource: Pe.ProgrammaticSelection
|
|
19109
19109
|
}, this.arcgisSelectionComplete.emit({ selectionData: this.selectionData, model: this._model }));
|
|
19110
19110
|
}
|
|
19111
19111
|
handleDataProcessComplete(e) {
|
|
@@ -19254,7 +19254,7 @@ class PA extends Mm {
|
|
|
19254
19254
|
}
|
|
19255
19255
|
setSelectionInLayerView() {
|
|
19256
19256
|
let e;
|
|
19257
|
-
const i = this.selectionData?.selectionOIDs?.length === 0 || this.selectionData?.selectionOIDs === void 0 || this.selectionData?.selectionSource ===
|
|
19257
|
+
const i = this.selectionData?.selectionOIDs?.length === 0 || this.selectionData?.selectionOIDs === void 0 || this.selectionData?.selectionSource === Pe.ClearSelection, a = (this.selectionData?.selectionOIDs?.length ?? 0) > 0;
|
|
19258
19258
|
i ? e = [] : a && this.selectionData && (e = this.selectionData.selectionOIDs);
|
|
19259
19259
|
const o = this.view;
|
|
19260
19260
|
e && o !== void 0 && "selectionManager" in o && "setSelection" in o.selectionManager && o.selectionManager.setSelection(this.layer, e);
|
|
@@ -19353,9 +19353,9 @@ class PA extends Mm {
|
|
|
19353
19353
|
};
|
|
19354
19354
|
}
|
|
19355
19355
|
addMutationObserverForCalciteTheme() {
|
|
19356
|
-
|
|
19356
|
+
Nm(this.el, ["class"], () => {
|
|
19357
19357
|
if (!this.disableAutoTheming) {
|
|
19358
|
-
const e =
|
|
19358
|
+
const e = Ns(this.el);
|
|
19359
19359
|
(this.calciteThemeApplied === "dark" && !e || this.calciteThemeApplied !== "dark" && e) && (this.calciteThemeApplied = e ? "dark" : void 0, this.refresh({ updateData: !1 }));
|
|
19360
19360
|
}
|
|
19361
19361
|
});
|
|
@@ -19439,7 +19439,7 @@ class PA extends Mm {
|
|
|
19439
19439
|
abortKey: this.guid
|
|
19440
19440
|
}));
|
|
19441
19441
|
const l = this.dataFetching ? await this.dataFetching : void 0;
|
|
19442
|
-
this.addMutationObserverForCalciteTheme(), this.disableAutoTheming || (o = Td(this.el, o), this.calciteThemeApplied =
|
|
19442
|
+
this.addMutationObserverForCalciteTheme(), this.disableAutoTheming || (o = Td(this.el, o), this.calciteThemeApplied = Ns(this.el) ? "dark" : void 0, a = Ad({
|
|
19443
19443
|
chartElement: this.el,
|
|
19444
19444
|
options: a,
|
|
19445
19445
|
config: o,
|
|
@@ -19472,7 +19472,7 @@ class PA extends Mm {
|
|
|
19472
19472
|
}} ${sl(this.actionBarSlotRef)}></slot><div class=${nl(i)} ${sl(this.chartRef)}></div><div class=${nl(a)}>${e}</div>`;
|
|
19473
19473
|
}
|
|
19474
19474
|
}
|
|
19475
|
-
Bm("arcgis-chart",
|
|
19475
|
+
Bm("arcgis-chart", NA);
|
|
19476
19476
|
export {
|
|
19477
|
-
|
|
19477
|
+
NA as ArcgisChart
|
|
19478
19478
|
};
|