@arcgis/charts-components 5.2.0-next.140 → 5.2.0-next.141
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/{FKBLB3H6.js → 24MSASQQ.js} +2 -2
- package/dist/cdn/{67ANW3I4.js → 2BE3GYK4.js} +2 -2
- package/dist/cdn/{3CSWEOBS.js → 2BYGCYAZ.js} +2 -2
- package/dist/cdn/{BFF2FKZX.js → 374V7N4Z.js} +2 -2
- package/dist/cdn/{EY6HH2R4.js → 3PZBMTXN.js} +2 -2
- package/dist/cdn/{N7JJ6DIC.js → 3VMHKSYP.js} +1 -1
- package/dist/cdn/{56RPA4AT.js → 4AZERXMK.js} +2 -2
- package/dist/cdn/{QM6ITQXX.js → 4DXGXATO.js} +2 -2
- package/dist/cdn/{Y6QDEXSZ.js → 4E72WHHU.js} +2 -2
- package/dist/cdn/{VQNAUZFU.js → 4IIEPMHS.js} +2 -2
- package/dist/cdn/{HPKDCGIB.js → 4PT5DHHM.js} +2 -2
- package/dist/cdn/{MR6L7JRO.js → 4WWCOEDU.js} +2 -2
- package/dist/cdn/{JQLHLLZB.js → 5A2FEWAN.js} +2 -2
- package/dist/cdn/{YR2F7I7M.js → 5ALFG7T4.js} +2 -2
- package/dist/cdn/{2U7I6WSI.js → 5D2QRMC6.js} +2 -2
- package/dist/cdn/{DZIKFJ4C.js → 5DLEHZWY.js} +2 -2
- package/dist/cdn/{O62VC4F5.js → 5EKX23CT.js} +2 -2
- package/dist/cdn/{L3CL4LCS.js → 5FZODM64.js} +2 -2
- package/dist/cdn/{ICCD23OE.js → 5GAM5RFW.js} +2 -2
- package/dist/cdn/{27C6PCQ2.js → 5L7BAEX5.js} +2 -2
- package/dist/cdn/{VRDO75EG.js → 5WIR3JWC.js} +2 -2
- package/dist/cdn/{SLZVSMMS.js → 5XJT5ZZ3.js} +2 -2
- package/dist/cdn/{ZNJ32LOJ.js → 5YB5OJYP.js} +2 -2
- package/dist/cdn/{7YQKCXR4.js → 5ZQUHYTV.js} +2 -2
- package/dist/cdn/{PANHH53Q.js → 64B7ILJI.js} +2 -2
- package/dist/cdn/{WDUFLQ32.js → 64JQTZPV.js} +2 -2
- package/dist/cdn/{QGHI4FS2.js → 64L7VJJK.js} +2 -2
- package/dist/cdn/{BHOOYKLJ.js → 6DX4AHKO.js} +2 -2
- package/dist/cdn/{KBGVSXMS.js → 6HBAS6LD.js} +2 -2
- package/dist/cdn/{S6FQN6HR.js → 6P652GSA.js} +2 -2
- package/dist/cdn/{7JRPKBFO.js → 6TJYCFI6.js} +2 -2
- package/dist/cdn/{E5DTUNML.js → 6WKTHJQK.js} +2 -2
- package/dist/cdn/{Y4W4DXLG.js → 74R4YKKJ.js} +2 -2
- package/dist/cdn/{RANPMLRU.js → 77MRFLGO.js} +2 -2
- package/dist/cdn/{EMVUIELY.js → 7C2LVFNV.js} +2 -2
- package/dist/cdn/{5RNBCLC3.js → 7COM5REK.js} +2 -2
- package/dist/cdn/{3FFXNIXY.js → 7OJBKQHA.js} +2 -2
- package/dist/cdn/{2VX2BEON.js → 7SK4E2QB.js} +2 -2
- package/dist/cdn/{KU4TX6R7.js → A3XO2ZEY.js} +2 -2
- package/dist/cdn/{GYILUQLN.js → ACJYOVLW.js} +2 -2
- package/dist/cdn/{KR6LSUUG.js → ADI63OO7.js} +2 -2
- package/dist/cdn/{BC55WS75.js → AFNERY3G.js} +2 -2
- package/dist/cdn/{3HARZAOA.js → AKFXHWQR.js} +2 -2
- package/dist/cdn/{DTUR5Z3G.js → B2SUC7VR.js} +2 -2
- package/dist/cdn/{LYEEM2QH.js → BDEDEGCZ.js} +2 -2
- package/dist/cdn/{6IFXGVJP.js → BIBYTGGD.js} +2 -2
- package/dist/cdn/{GPGC4L7H.js → BK7DHYA7.js} +2 -2
- package/dist/cdn/{2CYT6Z55.js → BPVSEGNN.js} +2 -2
- package/dist/cdn/{FKES55PK.js → BSNYZIRT.js} +2 -2
- package/dist/cdn/{2E3WHSEW.js → BTGS2QCT.js} +2 -2
- package/dist/cdn/{TIWCUJOG.js → BYSUABOV.js} +1 -1
- package/dist/cdn/{C27CFMVY.js → CG7KYJ6V.js} +2 -2
- package/dist/cdn/{PZY7SCUS.js → CSUKCDMZ.js} +2 -2
- package/dist/cdn/{WK6QV47K.js → CXDJLQCL.js} +2 -2
- package/dist/cdn/{2AQOOOLP.js → CYGMXV56.js} +2 -2
- package/dist/cdn/{MY2C7RSR.js → DDDPW2TW.js} +2 -2
- package/dist/cdn/{VSKK65CP.js → DKLABJXF.js} +2 -2
- package/dist/cdn/{VLKDDKZQ.js → DOOEA5G2.js} +2 -2
- package/dist/cdn/{4USN37PO.js → DOOQHQ3P.js} +2 -2
- package/dist/cdn/{RSII6PTR.js → E3EMRNWO.js} +2 -2
- package/dist/cdn/{CVDWQIJ7.js → E4YCSVP4.js} +2 -2
- package/dist/cdn/{KXQEHBC2.js → EAKKFJZR.js} +2 -2
- package/dist/cdn/{2AVN6HEG.js → EKIQVRS6.js} +2 -2
- package/dist/cdn/{HN7A4IOJ.js → ENFJM3LJ.js} +2 -2
- package/dist/cdn/{2IME76YJ.js → EQZBQP5A.js} +2 -2
- package/dist/cdn/{IUFDLDLS.js → FIT3HVL4.js} +2 -2
- package/dist/cdn/{TKOEHAJT.js → FPGTZFM6.js} +2 -2
- package/dist/cdn/{2TCELQTA.js → FSPPNJTF.js} +2 -2
- package/dist/cdn/G5DGXJY4.js +2 -0
- package/dist/cdn/{UPMGFCLQ.js → G6FBGOKD.js} +2 -2
- package/dist/cdn/{WUKFV7JD.js → G6ZRPCEW.js} +2 -2
- package/dist/cdn/{RY665VHB.js → GL2VXFGY.js} +2 -2
- package/dist/cdn/{4LYJWDYQ.js → GWOK245W.js} +2 -2
- package/dist/cdn/{PIGINE4M.js → H36JC7RS.js} +2 -2
- package/dist/cdn/{2WQNU554.js → HDQ4PVJJ.js} +2 -2
- package/dist/cdn/{OYUTQX4U.js → HICARS7N.js} +2 -2
- package/dist/cdn/{6WVZUW3A.js → HP4BKU3R.js} +2 -2
- package/dist/cdn/{IEOIKLLK.js → HPXU7UB6.js} +2 -2
- package/dist/cdn/{PU3CEISS.js → HSARYNW6.js} +2 -2
- package/dist/cdn/{LPRPZNZB.js → HWZ4RJAC.js} +2 -2
- package/dist/cdn/{J2BBY6FO.js → I2BM5KSH.js} +2 -2
- package/dist/cdn/{ICWBI7OR.js → I5XHNL4H.js} +2 -2
- package/dist/cdn/{YA4OQLNH.js → IDAOLPMA.js} +2 -2
- package/dist/cdn/{UTDEVBZI.js → IW6I3CMQ.js} +2 -2
- package/dist/cdn/{V6WYEDMZ.js → JGINWG4F.js} +2 -2
- package/dist/cdn/{HCPETFCJ.js → JNLUISLH.js} +2 -2
- package/dist/cdn/{ICDET4KE.js → K6AONAMI.js} +2 -2
- package/dist/cdn/{Z4XF24BN.js → KECMCTWV.js} +2 -2
- package/dist/cdn/{BXQLCRCF.js → KFLVZ3W6.js} +2 -2
- package/dist/cdn/{ZXXFRYTC.js → KGUFKVDR.js} +2 -2
- package/dist/cdn/{SQQNHK2H.js → KKAK7K7Y.js} +14 -14
- package/dist/cdn/{Z7AXROEU.js → KOY5DWSR.js} +2 -2
- package/dist/cdn/{A2PA7BXZ.js → KPH4NSHX.js} +2 -2
- package/dist/cdn/{WKF53DYD.js → KX7KGXKQ.js} +1 -1
- package/dist/cdn/{UCADTSTO.js → L6O73HFV.js} +2 -2
- package/dist/cdn/{P67ON5B6.js → L7CMLBHB.js} +1 -1
- package/dist/cdn/{FLCOXPGW.js → LAEUROZM.js} +2 -2
- package/dist/cdn/{2CNCTLOI.js → LN2ZLCLE.js} +2 -2
- package/dist/cdn/{CVOU3WQF.js → LR2ES6QN.js} +2 -2
- package/dist/cdn/{INU4I36A.js → LRC4DJI7.js} +2 -2
- package/dist/cdn/{DRSPNN3O.js → LS73CUPP.js} +2 -2
- package/dist/cdn/{G6R5PZ5W.js → LVX77KGE.js} +2 -2
- package/dist/cdn/{MPSFMJZL.js → LWT3HZYN.js} +2 -2
- package/dist/cdn/{SNX7JJYL.js → LZFVVP4V.js} +2 -2
- package/dist/cdn/{CDFPU4RI.js → M262DGFX.js} +2 -2
- package/dist/cdn/{HXF3AFSL.js → ME25F3ZU.js} +2 -2
- package/dist/cdn/{ZHWH7DPA.js → MFJTFFLO.js} +2 -2
- package/dist/cdn/{X4ZLXT7N.js → MRANCBLW.js} +2 -2
- package/dist/cdn/{YPLLIBDE.js → MT27PIIN.js} +2 -2
- package/dist/cdn/{563H5HEV.js → MTXPJFNG.js} +2 -2
- package/dist/cdn/{OZSOICXE.js → NGXRBJKL.js} +1 -1
- package/dist/cdn/{K2BDZCYY.js → NKPZCF5U.js} +2 -2
- package/dist/cdn/{KK532FRP.js → NRXCKYYY.js} +2 -2
- package/dist/cdn/{JN6A6LOP.js → NTWWAPJY.js} +2 -2
- package/dist/cdn/{RKWSCI6H.js → NUD4N547.js} +2 -2
- package/dist/cdn/{KK445MLC.js → NWITMWCT.js} +2 -2
- package/dist/cdn/{KWC3D6QX.js → NWLNHFHJ.js} +2 -2
- package/dist/cdn/{CCOKFB4U.js → NZW73WYE.js} +2 -2
- package/dist/cdn/OAQCPPNF.js +2 -0
- package/dist/cdn/{IBCFYECI.js → OBPAQN4H.js} +1 -1
- package/dist/cdn/{ZCJFZFEV.js → OD2NWPCL.js} +2 -2
- package/dist/cdn/{U2FUO2GZ.js → OISERMTF.js} +2 -2
- package/dist/cdn/{DKV3ENOO.js → OKAZOAYZ.js} +2 -2
- package/dist/cdn/{RFOCYJOH.js → OQFM5DBD.js} +2 -2
- package/dist/cdn/{BX45UDZO.js → OR4RVAPI.js} +2 -2
- package/dist/cdn/{XNRCKK2P.js → OSKZGXXI.js} +2 -2
- package/dist/cdn/{AOZ7ZIHZ.js → OVJOH6TT.js} +2 -2
- package/dist/cdn/{FM6F6ZYW.js → OWHYUDHE.js} +2 -2
- package/dist/cdn/{MG5KAUC3.js → P37JASN4.js} +2 -2
- package/dist/cdn/{Y7ZYTQQ5.js → P5I5RQTN.js} +2 -2
- package/dist/cdn/{YQF7UMEO.js → P6TSRUSY.js} +2 -2
- package/dist/cdn/{OZSHGMU6.js → PABVNO3N.js} +2 -2
- package/dist/cdn/{BRDWYHNB.js → PIZPF2BH.js} +2 -2
- package/dist/cdn/{B6APNE72.js → PNFPQKYB.js} +2 -2
- package/dist/cdn/{5AKOPV7Z.js → POA2XTTK.js} +2 -2
- package/dist/cdn/{RSSRN3O4.js → PTYTLE55.js} +2 -2
- package/dist/cdn/{OTV3YYDU.js → Q45WYAOY.js} +1 -1
- package/dist/cdn/{ML4J5G2E.js → Q4GFCAK4.js} +2 -2
- package/dist/cdn/{D4SDXCEK.js → Q4U7XCT6.js} +2 -2
- package/dist/cdn/{UWQ27S2B.js → QIG5H6WA.js} +2 -2
- package/dist/cdn/{YKNX76GX.js → QKZK6MTN.js} +2 -2
- package/dist/cdn/{FHN6CIIO.js → QP5UAIC6.js} +1 -1
- package/dist/cdn/{BNAX4Y53.js → QVG3TOL4.js} +1 -1
- package/dist/cdn/{C4IPK4VV.js → QYGSQHO2.js} +2 -2
- package/dist/cdn/{TOMJLDIM.js → RB75SK36.js} +2 -2
- package/dist/cdn/{4BAPCH7E.js → RJB4BUDG.js} +2 -2
- package/dist/cdn/{GSCC3FON.js → RP6LD7CU.js} +2 -2
- package/dist/cdn/{K4JNTTAC.js → RRVEFLFX.js} +2 -2
- package/dist/cdn/{F44D4OTZ.js → RXPIQPYP.js} +2 -2
- package/dist/cdn/{ADIHYDO7.js → S6QN5N3G.js} +2 -2
- package/dist/cdn/{SGMTZ5LO.js → SH623BLO.js} +2 -2
- package/dist/cdn/{FSYCJV5T.js → SIKOIW4O.js} +2 -2
- package/dist/cdn/{INYMF2BQ.js → SO5USEBM.js} +2 -2
- package/dist/cdn/{SDQYOTQB.js → SSOL6PCL.js} +2 -2
- package/dist/cdn/{GV333VNC.js → TB7JE5XK.js} +2 -2
- package/dist/cdn/{QQFMQAJ3.js → TDNH4JI7.js} +2 -2
- package/dist/cdn/{FNXREQOE.js → TJ5BGDYZ.js} +2 -2
- package/dist/cdn/{O6GVF76X.js → TOL6YNER.js} +2 -2
- package/dist/cdn/{WIOGS5VR.js → TRAVRA3M.js} +2 -2
- package/dist/cdn/{FGPXOFBE.js → TZLXZSWT.js} +2 -2
- package/dist/cdn/{SZACRMUM.js → UD724V36.js} +2 -2
- package/dist/cdn/{YF6ML4P6.js → UE4KTI5X.js} +2 -2
- package/dist/cdn/{3RGDEDTI.js → UF64V7K2.js} +2 -2
- package/dist/cdn/{QKV23ZMN.js → UGNJ4AF4.js} +2 -2
- package/dist/cdn/{IHAADQBV.js → UIH663J3.js} +2 -2
- package/dist/cdn/{6O6NJZMJ.js → UKF6FHVI.js} +2 -2
- package/dist/cdn/{HLIWUP5F.js → UKNW6RSC.js} +2 -2
- package/dist/cdn/{33LWKOPD.js → UMUPYNTB.js} +2 -2
- package/dist/cdn/{4PZOGAUO.js → UQSD6YZM.js} +2 -2
- package/dist/cdn/{IS6WNL3S.js → UT5D2ZKJ.js} +2 -2
- package/dist/cdn/{ECJI2AWN.js → UUVJGPFG.js} +2 -2
- package/dist/cdn/{JNOGRFLE.js → V3HU64ZI.js} +2 -2
- package/dist/cdn/{OXNMXLJF.js → VKU5WPWI.js} +2 -2
- package/dist/cdn/{D2PAS7YI.js → VLCUXTLC.js} +2 -2
- package/dist/cdn/{ESDXXKLV.js → VNTY3E6P.js} +2 -2
- package/dist/cdn/{DVMGBS2M.js → VPBOE6X6.js} +2 -2
- package/dist/cdn/{3G65X4HN.js → WGSXEPTN.js} +2 -2
- package/dist/cdn/{SKI5Z6UH.js → WOGALV3T.js} +1 -1
- package/dist/cdn/{3VLTTU3Q.js → WTF2PFHV.js} +2 -2
- package/dist/cdn/{YJPTATMT.js → WVNNKAJV.js} +2 -2
- package/dist/cdn/{P4L52WKW.js → XFZBBAMQ.js} +2 -2
- package/dist/cdn/{DUZDY3D4.js → XW2OZUID.js} +2 -2
- package/dist/cdn/{2HAZBMAW.js → Y3C3CPH6.js} +2 -2
- package/dist/cdn/{NOWRHZV7.js → Y3X7AUIP.js} +2 -2
- package/dist/cdn/Y5LE66OJ.js +2 -0
- package/dist/cdn/{ETGI2F7C.js → YCQLYXH4.js} +2 -2
- package/dist/cdn/{FTEOTYTH.js → YD3ETL5Z.js} +2 -2
- package/dist/cdn/{B6EROAY4.js → YG254BNH.js} +2 -2
- package/dist/cdn/{H5VCT3XP.js → YNHYJOH7.js} +2 -2
- package/dist/cdn/{P3D2YICV.js → YU3PMXUH.js} +2 -2
- package/dist/cdn/{PBQRZBQM.js → YVJE3Q7H.js} +2 -2
- package/dist/cdn/{AUKJ4CBR.js → Z5QPCSUQ.js} +2 -2
- package/dist/cdn/{4XLCYB5G.js → ZD5G7A5X.js} +2 -2
- package/dist/cdn/{2R2K5DTZ.js → ZEI2ZKEJ.js} +2 -2
- package/dist/cdn/{DGKQXBUX.js → ZLCRTIQH.js} +2 -2
- package/dist/cdn/{KZSKDWS5.js → ZMFFZLG4.js} +2 -2
- package/dist/cdn/{VTUFKWMW.js → ZSP5DFLS.js} +2 -2
- package/dist/cdn/{3B2AC6Y3.js → ZSPRUAWO.js} +2 -2
- package/dist/cdn/{QZ2NETDY.js → ZXRTE3NQ.js} +2 -2
- package/dist/cdn/{MXQONC3S.js → ZZHKDFTA.js} +2 -2
- package/dist/cdn/index.js +2 -2
- package/dist/cdn/model/shared/setup-utils.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/bg_BG.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-model.js +1 -1
- package/dist/chunks/chart-object-literals.js +1 -1
- package/dist/chunks/chart-ui-utils.js +1 -1
- 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 +1 -1
- package/dist/chunks/histogram-data.js +1 -1
- package/dist/chunks/histogram-model.js +1 -1
- package/dist/chunks/index.js +1 -1
- package/dist/chunks/index2.js +1 -1
- package/dist/chunks/index3.js +1 -1
- package/dist/chunks/index4.js +1 -1
- package/dist/chunks/index5.js +1 -1
- package/dist/chunks/interfaces.js +1 -1
- package/dist/chunks/line-chart-model.js +1 -1
- package/dist/chunks/model-setter.js +1 -1
- package/dist/chunks/model-types.js +1 -1
- package/dist/chunks/model-with-line-marker-styling.js +1 -1
- package/dist/chunks/model-with-x-guides.js +1 -1
- package/dist/chunks/model-with-y-guides.js +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/resources.js +1 -1
- package/dist/chunks/rest-js-object-literals.js +1 -1
- package/dist/chunks/rotated-state.js +1 -1
- package/dist/chunks/rounded-corners.js +1 -1
- package/dist/chunks/runtime.js +2 -2
- package/dist/chunks/scatterplot-model.js +1 -1
- package/dist/chunks/serial-chart-data.js +1 -1
- package/dist/chunks/serial-chart-model.js +1 -1
- package/dist/chunks/series-length.js +1 -1
- package/dist/chunks/series-types.js +1 -1
- package/dist/chunks/series.js +1 -1
- package/dist/chunks/store.js +1 -1
- package/dist/chunks/type-guards.js +1 -1
- package/dist/chunks/type-guards2.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-bounds.js +1 -1
- package/dist/components/arcgis-chart/customElement.js +711 -693
- 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 +2 -2
- package/dist/components/arcgis-charts-config-create-flow/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-field-picker/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 +1 -1
- package/dist/components/arcgis-charts-config-heat-chart-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-histogram/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-histogram-data/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-histogram-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-invalid-input-message/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-line-chart/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-line-chart-data/customElement.js +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-aoi/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/components/arcgis-charts-info-modal/customElement.js +1 -1
- package/dist/docs/api.json +1 -1
- package/dist/docs/docs.json +1 -1
- package/dist/docs/web-types.json +1 -1
- package/dist/index.js +1 -1
- package/dist/loader.js +1 -1
- package/dist/model/shared/setup-utils.js +1 -1
- package/dist/utils/chart-config/converter/index.js +1 -1
- package/package.json +4 -4
- package/dist/cdn/AY35V2JN.js +0 -2
- package/dist/cdn/CC7I5TXU.js +0 -2
- package/dist/cdn/MXTS44AG.js +0 -2
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* COPYRIGHT Esri - https://js.arcgis.com/
|
|
1
|
+
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
2
|
import { g as Pm, c as Vm } from "../../chunks/runtime.js";
|
|
3
3
|
import * as vt from "@arcgis/core/core/reactiveUtils.js";
|
|
4
4
|
import { substitute as Qi } from "@arcgis/core/intl.js";
|
|
@@ -10,16 +10,16 @@ import { getElementLocale as ea } from "@arcgis/toolkit/intl/dom";
|
|
|
10
10
|
import { log as _m } from "@arcgis/toolkit/log";
|
|
11
11
|
import { Task as ai, shallowArrayEquals as Gm, TaskStatus as Sl } from "@lit/task";
|
|
12
12
|
import { snapdom as Xm } from "@zumer/snapdom";
|
|
13
|
-
import { debounce as yt, cloneDeep as ke, isEqual as
|
|
13
|
+
import { debounce as yt, cloneDeep as ke, isEqual as gt, isEmpty as Sa } from "es-toolkit/compat";
|
|
14
14
|
import Ym from "jszip";
|
|
15
15
|
import { html as to, css as Um } from "lit";
|
|
16
16
|
import { createRef as jm, ref as Cl } from "lit/directives/ref.js";
|
|
17
17
|
import { H as Bt } from "../../chunks/resources.js";
|
|
18
|
-
import { XYChart as fe, PieChart as Me, AxisFill as qm, AxisFillCircular as Zm, GaugeChart as kt, DateAxis as
|
|
19
|
-
import { Color as Go, percent as
|
|
18
|
+
import { XYChart as fe, PieChart as Me, AxisFill as qm, AxisFillCircular as Zm, GaugeChart as kt, DateAxis as Ve, ValueAxis as Te, CategoryAxis as dt, CategoryAxisDataItem as Ta, DateAxisDataItem as gn, LineSeries as be, ColumnSeries as ut, PieSeries as Wt, XYCursor as Gc, XYSeries as yi, SerialChart as Zs, Cursor as Km, AxisLabel as Ks, ColumnSeriesDataItem as Qs, LineSeriesDataItem as Va, CandlestickSeries as ze, StepLineSeries as Ft, LegendDataItem as na, Series as Xc, CandlestickSeriesDataItem as Qm, PieSeriesDataItem as Si, Legend as Jm, AxisRendererX as At, AxisRendererCircular as hn, AxisLabelCircular as Js, ValueAxisDataItem as er, AxisRendererY as Wa, ClockHand as eg, Chart as Yc } from "@amcharts/amcharts4/charts.js";
|
|
19
|
+
import { Color as Go, percent as ht, LinePattern as Uc, RectPattern as jc, color as pn, DateFormatter as qc, NumberFormatter as Zc, Group as tg, MouseCursorStyle as Zt, Label as Xo, DropShadowFilter as ig, Sprite as tr, utils as Kc, Tooltip as Qc, Container as ag, RoundedRectangle as og, Percent as Yo, Slice as ng, options as io, useTheme as sg, unuseTheme as rg, create as ir } from "@amcharts/amcharts4/core.js";
|
|
20
20
|
import xl from "@amcharts/amcharts4/themes/animated.js";
|
|
21
21
|
import { W as Ce, a as y, b as ns, c as te, S as Jc, d as jt, e as Ue, f as G, g as bn, h as ed, i as vl, j as Ca, k as Ll, l as ss, m as Fl, n as xa, o as lg } from "../../chunks/chart-object-literals.js";
|
|
22
|
-
import { f as td, e as po, i as no, a as Uo, b as id, m as ad, c as yn, d as od, g as qt, h as nd, j as sd, k as ar, s as or, l as rd, n as ld, o as jo, p as cg, q as Z, r as it, t as sa, u as Lt, v as Et, w as nr, x as oi, y as rs, z as va, A as gi, B as hi, C as bt, D as Oe, E as bo, F as Ea, G as Ci, H as sr, I as ni, J as ka, K as si, L as rr, M as Ct, N as lr, O as Jt, P as
|
|
22
|
+
import { f as td, e as po, i as no, a as Uo, b as id, m as ad, c as yn, d as od, g as qt, h as nd, j as sd, k as ar, s as or, l as rd, n as ld, o as jo, p as cg, q as Z, r as it, t as sa, u as Lt, v as Et, w as nr, x as oi, y as rs, z as va, A as gi, B as hi, C as bt, D as Oe, E as bo, F as Ea, G as Ci, H as sr, I as ni, J as ka, K as si, L as rr, M as Ct, N as lr, O as Jt, P as Ti, Q as ie, R as Se, S as dg, T as Sn, U as Vi, V as fi, W as ki, X as Wi, Y as cr, Z as za, _ as Mt, $ as dr, a0 as cd, a1 as ur, a2 as fr, a3 as Gt, a4 as yo, a5 as so, a6 as mr, a7 as Ha, a8 as dd, a9 as ud, aa as xi, ab as fd, ac as md, ad as Cn, ae as gr, af as xn, ag as hr, ah as pr, ai as gd, aj as hd, ak as pd, al as br, am as bd, an as Al, ao as vn, ap as yd, aq as yr, ar as Sr, as as qo, at as ug, au as Sd, av as Cd, aw as ao, ax as Ln, ay as xd, az as vd, aA as fg, aB as mg, aC as gg, aD as hg, aE as Ld, aF as Fd, aG as pg, aH as bg, aI as yg, aJ as Fn, aK as F, aL as Sg, aM as Ad, aN as Cg, aO as Td, aP as zt, aQ as xg, aR as vg, aS as ro, aT as An, aU as Ki, aV as Lg, aW as kd, aX as Fg, aY as Ag, aZ as Tg, a_ as kg, a$ as Ig, b0 as ls, b1 as Rg, b2 as wg, b3 as Id, b4 as Og, b5 as Dg, b6 as Mg, b7 as $g, b8 as Bg, b9 as Ng, ba as Pg, bb as Vg, bc as Wg, bd as Eo, be as Rd, bf as xs, bg as Tl, bh as Eg, bi as zg, bj as Hg, bk as _g, bl as cs, bm as Gg, bn as Mi, bo as Xg, bp as Yg, bq as Ug, br as jg, bs as qg, bt as kl, bu as Zg, bv as Kg, bw as Qg, bx as Jg, by as eh, bz as Il, bA as th, bB as ih, bC as ah, bD as oh, bE as nh, bF as sh, bG as rh, bH as lh, bI as ch } from "../../chunks/index.js";
|
|
23
23
|
import { C as H, g as _i, a as V, b as $e, s as Xe, i as Ae, c as Tn, d as ds, A as J, e as Qe, f as rt, S as ge, n as wd, h as Cr, j as Zo, k as zo, O as Ie, l as Od, u as dh } from "../../chunks/index2.js";
|
|
24
24
|
import "@amcharts/amcharts4/.internal/charts/axes/Axis.js";
|
|
25
25
|
import { R as Ye, a as tt, b as K, c as us, d as kn, e as Ko } from "../../chunks/rest-js-object-literals.js";
|
|
@@ -28,10 +28,10 @@ import { i as _e, a as ri } from "../../chunks/type-guards.js";
|
|
|
28
28
|
import { g as W, a as vh } from "../../chunks/series-types.js";
|
|
29
29
|
import { isLight as Lh } from "@amcharts/amcharts4/.internal/core/utils/Colors.js";
|
|
30
30
|
import { Scrollbar as Dl } from "@amcharts/amcharts4/.internal/core/elements/Scrollbar.js";
|
|
31
|
-
import { color as lo, Series as Oa, percent as at, LinePattern as Pd, RectanglePattern as Fh, p50 as de, p0 as De, p100 as he, Graphics as Rt, SerialChart as co, Label as st, Rectangle as Da, DateFormatter as Ah, NumberFormatter as Vd, Bullet as
|
|
31
|
+
import { color as lo, Series as Oa, percent as at, LinePattern as Pd, RectanglePattern as Fh, p50 as de, p0 as De, p100 as he, Graphics as Rt, SerialChart as co, Label as st, Rectangle as Da, DateFormatter as Ah, NumberFormatter as Vd, Bullet as Ii, Tooltip as Gi, Template as ra, RoundedRectangle as Ls, Slice as Ml, time as Th, Timezone as kh, DataItem as Tr, Container as bi, Color as Ih, HeatLegend as Qo, LinearGradient as Rh, Legend as Wd, Scrollbar as Fs, addLicense as wh, registry as Oh, Root as Dh } from "@amcharts/amcharts5";
|
|
32
32
|
import { PieSeries as Je, PieChart as Qt } from "@amcharts/amcharts5/percent.js";
|
|
33
|
-
import { RadarCursor as kr, AxisRendererCircular as ei, ClockHand as As, RadarChart as
|
|
34
|
-
import { AxisRendererY as vi, LineSeries as ne, ColumnSeries as xe, CategoryAxis as Ee, XYCursor as Ed, XYChart as pe, CandlestickSeries as
|
|
33
|
+
import { RadarCursor as kr, AxisRendererCircular as ei, ClockHand as As, RadarChart as Ei, AxisRendererRadial as Mh, RadarLineSeries as Ir } from "@amcharts/amcharts5/radar.js";
|
|
34
|
+
import { AxisRendererY as vi, LineSeries as ne, ColumnSeries as xe, CategoryAxis as Ee, XYCursor as Ed, XYChart as pe, CandlestickSeries as Ri, StepLineSeries as la, XYSeries as Rr, AxisRendererX as ft, DateAxis as Pe, ValueAxis as ye, AxisBullet as $h, AxisLabel as $l } from "@amcharts/amcharts5/xy.js";
|
|
35
35
|
import Bh from "@amcharts/amcharts5/themes/Animated.js";
|
|
36
36
|
import Nh from "@amcharts/amcharts5/themes/Responsive.js";
|
|
37
37
|
import { g as Bl, a as Ph, b as Vh, c as Wh, d as Nl, t as Pl, e as Vl } from "../../chunks/web-component-utils.js";
|
|
@@ -138,7 +138,7 @@ function ia(t) {
|
|
|
138
138
|
r: e[0]
|
|
139
139
|
});
|
|
140
140
|
}
|
|
141
|
-
function
|
|
141
|
+
function We(t) {
|
|
142
142
|
return t.bullets.values.find(
|
|
143
143
|
(i) => Lp(i.uid, "isBulletMarker")
|
|
144
144
|
);
|
|
@@ -173,7 +173,7 @@ function jl(t) {
|
|
|
173
173
|
e = t;
|
|
174
174
|
else if (t.includes("%")) {
|
|
175
175
|
const i = Number.parseFloat(t.trim().replace("%", "").trim());
|
|
176
|
-
Number.isFinite(i) && (e =
|
|
176
|
+
Number.isFinite(i) && (e = ht(i));
|
|
177
177
|
}
|
|
178
178
|
return e;
|
|
179
179
|
}
|
|
@@ -324,7 +324,7 @@ function Mp(t, e) {
|
|
|
324
324
|
const i = t.indexOf("]"), a = t.startsWith("[") && i > 1 && t.endsWith("[/]"), o = a ? t.slice(0, i + 1) : "", n = a ? "[/]" : "", r = (a ? t.slice(i + 1, -3) : t).replace(/\s*\n\s*/gu, " "), l = td({ input: r, charsPerLine: e });
|
|
325
325
|
return `${o}${l}${n}`;
|
|
326
326
|
}
|
|
327
|
-
function
|
|
327
|
+
function zi(t) {
|
|
328
328
|
const { chart: e, label: i, labelType: a } = t;
|
|
329
329
|
let o = Number.NaN, n = !1;
|
|
330
330
|
switch (a) {
|
|
@@ -372,8 +372,8 @@ function Ei(t) {
|
|
|
372
372
|
}
|
|
373
373
|
function fo(t) {
|
|
374
374
|
const { chart: e, labelType: i } = t;
|
|
375
|
-
|
|
376
|
-
const a = i === q.YAxisTitle ? 1 : 0, o = yt(() =>
|
|
375
|
+
zi(t);
|
|
376
|
+
const a = i === q.YAxisTitle ? 1 : 0, o = yt(() => zi(t), A.debounceTime);
|
|
377
377
|
e.events.on(N.Validated, o, a), (i === q.YAxisTitle || i === q.XAxisTitle) && e instanceof fe && e.seriesContainer.events.on(N.SizeChanged, o, a);
|
|
378
378
|
}
|
|
379
379
|
function en(t, e) {
|
|
@@ -649,7 +649,7 @@ function Zl(t, e) {
|
|
|
649
649
|
const x = Is(s.slices, C);
|
|
650
650
|
x?.fillSymbol?.color !== void 0 && b.add(ks(x.fillSymbol.color));
|
|
651
651
|
}), e?.forEach((p, S) => {
|
|
652
|
-
const C = p[H.pieChart.technicalFieldSliceId], x = Is(s.slices, C), L =
|
|
652
|
+
const C = p[H.pieChart.technicalFieldSliceId], x = Is(s.slices, C), L = wi(p), v = Ep({
|
|
653
653
|
dataContext: p,
|
|
654
654
|
seriesConfig: s,
|
|
655
655
|
existingSlicesColors: b,
|
|
@@ -770,7 +770,7 @@ async function zp(t) {
|
|
|
770
770
|
rendererFieldNames: C
|
|
771
771
|
};
|
|
772
772
|
}
|
|
773
|
-
function
|
|
773
|
+
function wi(t) {
|
|
774
774
|
return t?.[Pt.defaultGroupOfSlicesId] === !0;
|
|
775
775
|
}
|
|
776
776
|
function Hp(t) {
|
|
@@ -932,7 +932,7 @@ function xo(t) {
|
|
|
932
932
|
function Mr(t) {
|
|
933
933
|
const { dataContext: e, pieSlicesSymbols: i, seriesConfig: a } = t;
|
|
934
934
|
let o = a.fillSymbol ? { ...a.fillSymbol } : vs();
|
|
935
|
-
if (
|
|
935
|
+
if (wi(e))
|
|
936
936
|
o = {
|
|
937
937
|
...H.pieChart.sliceGrouping.fillSymbol,
|
|
938
938
|
...i?.groupOfSlices?.fillSymbol
|
|
@@ -1010,9 +1010,9 @@ function Qp(t, e) {
|
|
|
1010
1010
|
}
|
|
1011
1011
|
function Jd(t, e) {
|
|
1012
1012
|
const i = t?.filter(
|
|
1013
|
-
(a) => !
|
|
1013
|
+
(a) => !wi(a)
|
|
1014
1014
|
);
|
|
1015
|
-
return !
|
|
1015
|
+
return !gt(i, e);
|
|
1016
1016
|
}
|
|
1017
1017
|
function Jp(t) {
|
|
1018
1018
|
const { dataContext: e, newLabel: i, x: a } = t;
|
|
@@ -1021,7 +1021,7 @@ function Jp(t) {
|
|
|
1021
1021
|
function eb(t) {
|
|
1022
1022
|
const { data: e, newChartConfig: i, pieSlicesSymbols: a, fieldList: o } = t, n = i.series[0], s = Z(i.series) === V.PieFromFields ? oi : n.x;
|
|
1023
1023
|
e.forEach((r) => {
|
|
1024
|
-
const l =
|
|
1024
|
+
const l = wi(r), c = r[H.pieChart.technicalFieldSliceId], d = l ? n.sliceGrouping?.label : Is(a?.slices, c)?.label;
|
|
1025
1025
|
Jp({ dataContext: r, x: s, newLabel: d });
|
|
1026
1026
|
}), jp({ chartConfig: i, chartData: e, fieldList: o });
|
|
1027
1027
|
}
|
|
@@ -1118,7 +1118,7 @@ function Rs(t) {
|
|
|
1118
1118
|
isXAxis: !0,
|
|
1119
1119
|
chartType: a,
|
|
1120
1120
|
valueFormat: i
|
|
1121
|
-
}), n = bt(i) && e instanceof
|
|
1121
|
+
}), n = bt(i) && e instanceof Ve, s = Oe(i) && e instanceof Te && !(e instanceof Ve), r = o && e instanceof dt;
|
|
1122
1122
|
return !n && !s && !r;
|
|
1123
1123
|
}
|
|
1124
1124
|
function eu(t, e) {
|
|
@@ -1204,7 +1204,7 @@ function mb(t) {
|
|
|
1204
1204
|
);
|
|
1205
1205
|
}
|
|
1206
1206
|
function gb(t) {
|
|
1207
|
-
t instanceof Te && !(t instanceof
|
|
1207
|
+
t instanceof Te && !(t instanceof Ve) ? cb(t) : t instanceof dt ? db(t) : t instanceof Ve && fb(t), mb(t);
|
|
1208
1208
|
}
|
|
1209
1209
|
function hb(t) {
|
|
1210
1210
|
const { axis: e, formatOptions: i, dateAxisFormatter: a, isTimeOnlyField: o, setTimeZone: n, outTimeZone: s } = t;
|
|
@@ -1316,12 +1316,12 @@ function Sb(t) {
|
|
|
1316
1316
|
valueFormat: a
|
|
1317
1317
|
});
|
|
1318
1318
|
let g = !1;
|
|
1319
|
-
!(e instanceof
|
|
1319
|
+
!(e instanceof Ve) && Oe(a) ? Ql({
|
|
1320
1320
|
axis: e,
|
|
1321
1321
|
formatOptions: a,
|
|
1322
1322
|
overridePercentMultiplication: n,
|
|
1323
1323
|
valueAxisFormatter: r
|
|
1324
|
-
}) : e instanceof
|
|
1324
|
+
}) : e instanceof Ve && bt(a) ? hb({
|
|
1325
1325
|
axis: e,
|
|
1326
1326
|
formatOptions: a,
|
|
1327
1327
|
dateAxisFormatter: r,
|
|
@@ -1411,7 +1411,7 @@ function vb(t) {
|
|
|
1411
1411
|
e.series.each((s) => {
|
|
1412
1412
|
let r = n;
|
|
1413
1413
|
if (s instanceof be) {
|
|
1414
|
-
const l =
|
|
1414
|
+
const l = We(s);
|
|
1415
1415
|
l !== void 0 && (a && Ze(s.uid, "isBoxPlotOutliersSeries") && (r = Zt.default), l.cursorOverStyle = r, l.clones.each((c) => {
|
|
1416
1416
|
c.cursorOverStyle = r;
|
|
1417
1417
|
}));
|
|
@@ -1422,7 +1422,7 @@ function vb(t) {
|
|
|
1422
1422
|
case y.LineSeries:
|
|
1423
1423
|
e.series.each((s) => {
|
|
1424
1424
|
if (s instanceof be) {
|
|
1425
|
-
const r =
|
|
1425
|
+
const r = We(s);
|
|
1426
1426
|
r !== void 0 && (r.cursorOverStyle = n, r.clones.each((l) => {
|
|
1427
1427
|
l.cursorOverStyle = n;
|
|
1428
1428
|
}));
|
|
@@ -1475,7 +1475,7 @@ function On(t, e = 0) {
|
|
|
1475
1475
|
const i = D(t.chart.uid, "config");
|
|
1476
1476
|
return W(i?.series, e);
|
|
1477
1477
|
}
|
|
1478
|
-
const
|
|
1478
|
+
const Bi = {
|
|
1479
1479
|
Outlier: "outlier",
|
|
1480
1480
|
Box: "box",
|
|
1481
1481
|
OutlierToOutlier: "outlier-outlier",
|
|
@@ -1484,7 +1484,7 @@ const $i = {
|
|
|
1484
1484
|
BoxToBox: "box-box"
|
|
1485
1485
|
};
|
|
1486
1486
|
function Fb(t, e) {
|
|
1487
|
-
const i = t[H.boxPlot.boxPlotOutlierId] === !0 ?
|
|
1487
|
+
const i = t[H.boxPlot.boxPlotOutlierId] === !0 ? Bi.Outlier : Bi.Box, a = typeof e == "number" ? Bi.Outlier : Bi.Box;
|
|
1488
1488
|
return `${i}-${a}`;
|
|
1489
1489
|
}
|
|
1490
1490
|
function Ab(t) {
|
|
@@ -1589,13 +1589,13 @@ function Ob(t) {
|
|
|
1589
1589
|
let $ = Rb({ oneSelectedItem: u, dataContext: l, xAxisField: a });
|
|
1590
1590
|
if ($)
|
|
1591
1591
|
switch (Fb(u, v)) {
|
|
1592
|
-
case
|
|
1592
|
+
case Bi.OutlierToOutlier:
|
|
1593
1593
|
$ = Ab({ oneSelectedItem: u, dataContext: l, selectedOutlierKey: g });
|
|
1594
1594
|
break;
|
|
1595
|
-
case
|
|
1595
|
+
case Bi.OutlierToBox:
|
|
1596
1596
|
$ = Tb({ elementMin: k, elementMax: I, selectedOutlierValue: T });
|
|
1597
1597
|
break;
|
|
1598
|
-
case
|
|
1598
|
+
case Bi.BoxToOutlier:
|
|
1599
1599
|
$ = kb({
|
|
1600
1600
|
selectedMin: R,
|
|
1601
1601
|
selectedMax: w,
|
|
@@ -1604,7 +1604,7 @@ function Ob(t) {
|
|
|
1604
1604
|
iqrField: L
|
|
1605
1605
|
});
|
|
1606
1606
|
break;
|
|
1607
|
-
case
|
|
1607
|
+
case Bi.BoxToBox:
|
|
1608
1608
|
$ = Ib({
|
|
1609
1609
|
selectedMin: R,
|
|
1610
1610
|
selectedMax: w,
|
|
@@ -1687,7 +1687,7 @@ function Dn(t) {
|
|
|
1687
1687
|
f = (S) => {
|
|
1688
1688
|
let C, x = o;
|
|
1689
1689
|
if (c === V.BarAndLineSplitByNoAggregation) {
|
|
1690
|
-
const L =
|
|
1690
|
+
const L = Ti({ where: l, keepSurroundingQuotes: !1, escape: !1 });
|
|
1691
1691
|
x = `${o}_${L}`;
|
|
1692
1692
|
}
|
|
1693
1693
|
if (o !== void 0 && o in S && o in p)
|
|
@@ -1750,7 +1750,7 @@ function Dn(t) {
|
|
|
1750
1750
|
break;
|
|
1751
1751
|
case y.PieSeries:
|
|
1752
1752
|
n !== void 0 && (f = (p) => {
|
|
1753
|
-
const S = i, C =
|
|
1753
|
+
const S = i, C = wi(S), x = [S];
|
|
1754
1754
|
return C && x.push(...xo({ groupOfSlicesDataContext: S }) ?? []), x.some(
|
|
1755
1755
|
(v) => $r({
|
|
1756
1756
|
sliceDataContext: v,
|
|
@@ -1787,7 +1787,7 @@ function Fi(t) {
|
|
|
1787
1787
|
dataContext: i,
|
|
1788
1788
|
keepNullValues: !0
|
|
1789
1789
|
});
|
|
1790
|
-
d[n] = u, !Ae(s) && !lr(s) && (d[Jt(s)] =
|
|
1790
|
+
d[n] = u, !Ae(s) && !lr(s) && (d[Jt(s)] = Ti({ where: s, escape: !1 }));
|
|
1791
1791
|
} else if (r === y.BoxPlotSeries) {
|
|
1792
1792
|
d = { [n]: i[n] }, [
|
|
1793
1793
|
// TODO: add `${queryDefaults.uniqueIds}_${feature.attributes[splitByField]}` ?
|
|
@@ -1831,7 +1831,7 @@ function wt(t) {
|
|
|
1831
1831
|
}
|
|
1832
1832
|
function Db(t) {
|
|
1833
1833
|
t instanceof Zs && t.series.each((e) => {
|
|
1834
|
-
Nt(e.uid), e instanceof be && Nt(
|
|
1834
|
+
Nt(e.uid), e instanceof be && Nt(We(e)?.uid), e.bullets.each((i) => {
|
|
1835
1835
|
Nt(i.uid);
|
|
1836
1836
|
}), e instanceof ut && e.columns.template.children.each((i) => {
|
|
1837
1837
|
Nt(i.uid);
|
|
@@ -2029,7 +2029,7 @@ function $n(t, e) {
|
|
|
2029
2029
|
}
|
|
2030
2030
|
function pu(t, e) {
|
|
2031
2031
|
let i;
|
|
2032
|
-
return t instanceof
|
|
2032
|
+
return t instanceof Ve ? i = e === !0 ? "dateY" : "dateX" : t instanceof dt ? i = e === !0 ? "categoryY" : "categoryX" : i = e === !0 ? "valueY" : "valueX", i;
|
|
2033
2033
|
}
|
|
2034
2034
|
function _a(t, e) {
|
|
2035
2035
|
t.name = e;
|
|
@@ -2095,7 +2095,7 @@ function gs(t) {
|
|
|
2095
2095
|
function Eb(t, e) {
|
|
2096
2096
|
let i = 0;
|
|
2097
2097
|
if (t !== void 0 && e !== void 0) {
|
|
2098
|
-
const a = fi(e.series), o = Z(e.series), n =
|
|
2098
|
+
const a = fi(e.series), o = Z(e.series), n = ki(e);
|
|
2099
2099
|
t.data.forEach((s) => {
|
|
2100
2100
|
switch (o) {
|
|
2101
2101
|
case V.BoxPlotC1MonoField:
|
|
@@ -2131,7 +2131,7 @@ function ec() {
|
|
|
2131
2131
|
if (u instanceof ze)
|
|
2132
2132
|
o += u.columns.length;
|
|
2133
2133
|
else if (u instanceof be && !(u instanceof Ft)) {
|
|
2134
|
-
const f =
|
|
2134
|
+
const f = We(u);
|
|
2135
2135
|
if (f !== void 0 && !f.disabled) {
|
|
2136
2136
|
const g = f.clones.values.filter((h) => !(h.dataItem instanceof na))?.length ?? 0;
|
|
2137
2137
|
if (Ze(u.uid, "isBoxPlotMeanLineSeries") === !0) {
|
|
@@ -2179,7 +2179,7 @@ function zb(t, e) {
|
|
|
2179
2179
|
e === !0 ? i = ec() : i = (a, o) => {
|
|
2180
2180
|
let n = !1;
|
|
2181
2181
|
if (a instanceof be) {
|
|
2182
|
-
const s = wt({ chart: a.chart }), r =
|
|
2182
|
+
const s = wt({ chart: a.chart }), r = We(a);
|
|
2183
2183
|
let l = 0;
|
|
2184
2184
|
if (o.type === y.LineSeries) {
|
|
2185
2185
|
const { y: c } = o, d = (s ? a.dataFields.valueX : a.dataFields.valueY) ?? [c].flat()[0];
|
|
@@ -2230,8 +2230,8 @@ function Hb(t) {
|
|
|
2230
2230
|
}
|
|
2231
2231
|
function fa(t) {
|
|
2232
2232
|
const { defaultChartItemRole: e } = A.aria;
|
|
2233
|
-
t instanceof ze || t instanceof ut ? (t.columns.template.properties.role = e, t.columns.template.focusable = !0, t.columns.template.hoverOnFocus = !0, t.itemReaderText =
|
|
2234
|
-
i.focusable = !0, i.properties.role = e, i.readerTitle =
|
|
2233
|
+
t instanceof ze || t instanceof ut ? (t.columns.template.properties.role = e, t.columns.template.focusable = !0, t.columns.template.hoverOnFocus = !0, t.itemReaderText = Vi()) : t instanceof Ft ? t.segments.template.properties.role = e : t instanceof be ? t.bullets.values.forEach((i) => {
|
|
2234
|
+
i.focusable = !0, i.properties.role = e, i.readerTitle = Vi(), i.hoverOnFocus = !0;
|
|
2235
2235
|
}) : t instanceof Wt && (t.slices.template.properties.role = e, t.slices.template.hoverOnFocus = !0, t.itemReaderText = "{category} {value.formatNumber('#.#')} {value.percent.formatNumber('#.#')}%");
|
|
2236
2236
|
}
|
|
2237
2237
|
function _b(t) {
|
|
@@ -2336,7 +2336,7 @@ function tc(t, e) {
|
|
|
2336
2336
|
function ic(t, e) {
|
|
2337
2337
|
let i = [];
|
|
2338
2338
|
if (t.visible) {
|
|
2339
|
-
const a =
|
|
2339
|
+
const a = We(t)?.clones;
|
|
2340
2340
|
if (a !== void 0) {
|
|
2341
2341
|
const { chart: o } = t, n = D(o.uid, "config");
|
|
2342
2342
|
if (n) {
|
|
@@ -2375,7 +2375,7 @@ function Xb(t) {
|
|
|
2375
2375
|
};
|
|
2376
2376
|
Pr(t.slices, i).forEach((r) => {
|
|
2377
2377
|
const l = r.dataItem?.dataContext ?? {};
|
|
2378
|
-
|
|
2378
|
+
wi(l) ? xo({
|
|
2379
2379
|
groupOfSlicesDataContext: l
|
|
2380
2380
|
})?.forEach((d, u) => {
|
|
2381
2381
|
e.push({
|
|
@@ -2397,7 +2397,7 @@ function Xb(t) {
|
|
|
2397
2397
|
function Yb(t) {
|
|
2398
2398
|
const { chart: e, selectionSource: i, chartConfig: a } = t;
|
|
2399
2399
|
let o = !1, n = [];
|
|
2400
|
-
if (
|
|
2400
|
+
if (Wi(a)) {
|
|
2401
2401
|
if (o = Ct(a), n = e.series.values.filter((s) => !(s instanceof Ft)), i === ge.SelectionByClick) {
|
|
2402
2402
|
const s = /* @__PURE__ */ new Set(), r = n.find(
|
|
2403
2403
|
(l) => l instanceof ze && l.isHover
|
|
@@ -2433,7 +2433,7 @@ async function Cu(t) {
|
|
|
2433
2433
|
chartConfig: l
|
|
2434
2434
|
};
|
|
2435
2435
|
let v;
|
|
2436
|
-
h instanceof ut || h instanceof ze ? v = h.columns?.values : h instanceof Ft ? v = h.segments.values : h instanceof be && (v =
|
|
2436
|
+
h instanceof ut || h instanceof ze ? v = h.columns?.values : h instanceof Ft ? v = h.segments.values : h instanceof be && (v = We(h)?.clones?.values, L.uniqueFeature = !0), v !== void 0 && (u = [...u, ...v], v.forEach((T, k) => {
|
|
2437
2437
|
if (!(T.dataItem instanceof na)) {
|
|
2438
2438
|
const I = T.isActive, R = T === n || Gb(T, i);
|
|
2439
2439
|
R && (f = !1);
|
|
@@ -3033,7 +3033,7 @@ function ny(t) {
|
|
|
3033
3033
|
);
|
|
3034
3034
|
}
|
|
3035
3035
|
function sy(t, e) {
|
|
3036
|
-
const i =
|
|
3036
|
+
const i = We(t);
|
|
3037
3037
|
i !== void 0 && (i.tooltipPosition = A.markerTooltipPosition, i.tooltipHTML = A.htmlEmptyContent, t.cursorTooltipEnabled = !1, i.adapter.add(
|
|
3038
3038
|
"tooltipHTML",
|
|
3039
3039
|
(a, o) => Wr({
|
|
@@ -3046,7 +3046,7 @@ function sy(t, e) {
|
|
|
3046
3046
|
));
|
|
3047
3047
|
}
|
|
3048
3048
|
function ry(t) {
|
|
3049
|
-
const e =
|
|
3049
|
+
const e = We(t);
|
|
3050
3050
|
e !== void 0 && (t.cursorTooltipEnabled = !1, e.tooltipPosition = A.markerTooltipPosition, e.tooltipHTML = A.htmlEmptyContent, e.adapter.add(
|
|
3051
3051
|
"tooltipHTML",
|
|
3052
3052
|
(i, a) => Wr({
|
|
@@ -3057,7 +3057,7 @@ function ry(t) {
|
|
|
3057
3057
|
})
|
|
3058
3058
|
));
|
|
3059
3059
|
}
|
|
3060
|
-
function
|
|
3060
|
+
function $i(t) {
|
|
3061
3061
|
const { label: e, value: i, strongColon: a, useTable: o } = t, n = `<b>${e}${a}</b> ${i}`;
|
|
3062
3062
|
return o !== !1 ? `<tr><td>${n}</td></tr>` : n;
|
|
3063
3063
|
}
|
|
@@ -3098,7 +3098,7 @@ function ly(t) {
|
|
|
3098
3098
|
case ie.StandardDeviation:
|
|
3099
3099
|
}
|
|
3100
3100
|
Sa(S) || u.push(
|
|
3101
|
-
|
|
3101
|
+
$i({
|
|
3102
3102
|
label: S,
|
|
3103
3103
|
value: p,
|
|
3104
3104
|
strongColon: d,
|
|
@@ -3115,7 +3115,7 @@ function cy(t) {
|
|
|
3115
3115
|
if (l !== void 0) {
|
|
3116
3116
|
const c = D(l.uid, "config");
|
|
3117
3117
|
if (c !== void 0) {
|
|
3118
|
-
const d = c.axes, u = d?.[0].valueFormat, { showMean: f } = c, g = Z(c.series), h = Jt(a.query?.where), b = $e(i, h), p =
|
|
3118
|
+
const d = c.axes, u = d?.[0].valueFormat, { showMean: f } = c, g = Z(c.series), h = Jt(a.query?.where), b = $e(i, h), p = Ti({
|
|
3119
3119
|
where: a.query?.where,
|
|
3120
3120
|
escape: !1
|
|
3121
3121
|
}), S = $e(i, a.x);
|
|
@@ -3138,7 +3138,7 @@ function cy(t) {
|
|
|
3138
3138
|
if (k !== void 0 && !Sa(k)) {
|
|
3139
3139
|
const X = g === V.BoxPlotC1MonoField ? a.name ?? R : R;
|
|
3140
3140
|
I.push(
|
|
3141
|
-
|
|
3141
|
+
$i({
|
|
3142
3142
|
label: o.field,
|
|
3143
3143
|
strongColon: x,
|
|
3144
3144
|
value: X
|
|
@@ -3146,7 +3146,7 @@ function cy(t) {
|
|
|
3146
3146
|
);
|
|
3147
3147
|
}
|
|
3148
3148
|
Ae(b) || I.push(
|
|
3149
|
-
|
|
3149
|
+
$i({
|
|
3150
3150
|
label: b,
|
|
3151
3151
|
strongColon: x,
|
|
3152
3152
|
value: a.name ?? p?.toString()
|
|
@@ -3157,13 +3157,13 @@ function cy(t) {
|
|
|
3157
3157
|
case V.BoxPlotC3MonoFieldAndCategory:
|
|
3158
3158
|
case V.BoxPlotC4MultiFieldsAndCategory: {
|
|
3159
3159
|
I.push(
|
|
3160
|
-
|
|
3160
|
+
$i({
|
|
3161
3161
|
label: o.field,
|
|
3162
3162
|
strongColon: x,
|
|
3163
3163
|
value: a.name ?? $
|
|
3164
3164
|
})
|
|
3165
3165
|
), k !== void 0 && !Sa(k) && I.push(
|
|
3166
|
-
|
|
3166
|
+
$i({
|
|
3167
3167
|
label: C,
|
|
3168
3168
|
strongColon: x,
|
|
3169
3169
|
value: R
|
|
@@ -3173,19 +3173,19 @@ function cy(t) {
|
|
|
3173
3173
|
}
|
|
3174
3174
|
case V.BoxPlotC7MonoFieldAndCategoryAndSplitBy:
|
|
3175
3175
|
I.push(
|
|
3176
|
-
|
|
3176
|
+
$i({
|
|
3177
3177
|
label: o.field,
|
|
3178
3178
|
strongColon: x,
|
|
3179
3179
|
value: $
|
|
3180
3180
|
})
|
|
3181
3181
|
), k !== void 0 && !Sa(k) && I.push(
|
|
3182
|
-
|
|
3182
|
+
$i({
|
|
3183
3183
|
label: C,
|
|
3184
3184
|
strongColon: x,
|
|
3185
3185
|
value: R
|
|
3186
3186
|
})
|
|
3187
3187
|
), Ae(b) || I.push(
|
|
3188
|
-
|
|
3188
|
+
$i({
|
|
3189
3189
|
label: b,
|
|
3190
3190
|
strongColon: x,
|
|
3191
3191
|
value: a.name ?? p?.toString()
|
|
@@ -3707,7 +3707,7 @@ function Ty(t) {
|
|
|
3707
3707
|
}
|
|
3708
3708
|
const d = o ? e.yAxes.getIndex(0) : e.xAxes.getIndex(0);
|
|
3709
3709
|
let u;
|
|
3710
|
-
d instanceof
|
|
3710
|
+
d instanceof Ve ? u = m.DateAxis : d instanceof Te ? u = m.ValueAxis : u = m.CategoryAxis;
|
|
3711
3711
|
const g = (a?.orderOptions?.data && "orderBy" in a.orderOptions.data ? a.orderOptions.data.orderBy === bn.Descending : !1) ? m.OrderByFieldsDESC : m.OrderByFieldsASC;
|
|
3712
3712
|
i = `${n}-${l}-${r}-${c}-${u}-${g}`;
|
|
3713
3713
|
}
|
|
@@ -3752,7 +3752,7 @@ function Ry(t, e) {
|
|
|
3752
3752
|
else if (o instanceof ze) {
|
|
3753
3753
|
const r = o.id, l = Lo(e, r);
|
|
3754
3754
|
if (l !== void 0) {
|
|
3755
|
-
const f = D(e.uid, "config"), g = _r(f?.showOutliers, a), h =
|
|
3755
|
+
const f = D(e.uid, "config"), g = _r(f?.showOutliers, a), h = We(l);
|
|
3756
3756
|
h !== void 0 && (h.disabled = !g), ce(l, g);
|
|
3757
3757
|
}
|
|
3758
3758
|
const { topStepLineSeries: c, medianStepLineSeries: d, bottomStepLineSeries: u } = Vn(
|
|
@@ -3770,7 +3770,7 @@ function Ry(t, e) {
|
|
|
3770
3770
|
}));
|
|
3771
3771
|
const r = s instanceof Wt, l = D(e.uid, "options")?.selectionData?.selectionItems, c = l !== void 0 && l.length > 0, d = D(e.uid, "actionMode") ?? A.actionMode;
|
|
3772
3772
|
let u;
|
|
3773
|
-
s instanceof ut ? u = s.columns : r ? u = s.slices : s instanceof be && (Iy(s), u =
|
|
3773
|
+
s instanceof ut ? u = s.columns : r ? u = s.slices : s instanceof be && (Iy(s), u = We(s)?.clones), u?.each((f) => {
|
|
3774
3774
|
f.dataItem instanceof na || (Ht({
|
|
3775
3775
|
element: f,
|
|
3776
3776
|
selected: f.isActive,
|
|
@@ -3974,7 +3974,7 @@ function Gy(t) {
|
|
|
3974
3974
|
p.id = h, _a(p, g);
|
|
3975
3975
|
let S, C;
|
|
3976
3976
|
d !== !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);
|
|
3977
|
-
const x = wt({ chart: e }), L = Z(i.series), v = L === V.BarAndLineSplitByNoAggregation ? `${f.toString()}_${
|
|
3977
|
+
const x = wt({ chart: e }), L = Z(i.series), v = L === V.BarAndLineSplitByNoAggregation ? `${f.toString()}_${Ti({ where: u.query?.where, keepSurroundingQuotes: !1, escape: !1 })}` : [f].flat()[0];
|
|
3978
3978
|
x ? p.dataFields.valueX = v : p.dataFields.valueY = v;
|
|
3979
3979
|
const T = x ? o[1] : o[0];
|
|
3980
3980
|
if (T !== void 0) {
|
|
@@ -4002,7 +4002,7 @@ function Gy(t) {
|
|
|
4002
4002
|
}), zr(p), fa(p), p;
|
|
4003
4003
|
}
|
|
4004
4004
|
function Xy(t) {
|
|
4005
|
-
const { series: e, seriesIndex: i, chartSubType: a, seriesConfig: o, colorMatch: n, lineColor: s, rendererType: r } = t, l =
|
|
4005
|
+
const { series: e, seriesIndex: i, chartSubType: a, seriesConfig: o, colorMatch: n, lineColor: s, rendererType: r } = t, l = We(e);
|
|
4006
4006
|
let c = !1, d, u;
|
|
4007
4007
|
if (l !== void 0) {
|
|
4008
4008
|
o.markerVisible !== !1 && o.visible !== !1 ? e.bulletsContainer.show() : e.bulletsContainer.hide();
|
|
@@ -4389,7 +4389,7 @@ function iS(t) {
|
|
|
4389
4389
|
if (o !== void 0) {
|
|
4390
4390
|
const n = Lo(e.chart, e.id);
|
|
4391
4391
|
if (n !== void 0) {
|
|
4392
|
-
const s =
|
|
4392
|
+
const s = We(n);
|
|
4393
4393
|
if (s !== void 0) {
|
|
4394
4394
|
const r = _r(a, i.visible), l = {
|
|
4395
4395
|
type: K.SMS,
|
|
@@ -4544,7 +4544,7 @@ function sS(t) {
|
|
|
4544
4544
|
standardizeValuesVisibilityChanged: l
|
|
4545
4545
|
} = t, c = Lo(e, o);
|
|
4546
4546
|
if (c !== void 0) {
|
|
4547
|
-
const d =
|
|
4547
|
+
const d = We(c);
|
|
4548
4548
|
if (d !== void 0) {
|
|
4549
4549
|
const u = _r(n, a.visible);
|
|
4550
4550
|
d.disabled = !u;
|
|
@@ -4709,14 +4709,14 @@ function fS(t, e = !0) {
|
|
|
4709
4709
|
if (i === y.BarSeries)
|
|
4710
4710
|
n = a.columns?.values;
|
|
4711
4711
|
else if (i === y.LineSeries)
|
|
4712
|
-
n =
|
|
4712
|
+
n = We(a)?.clones?.values;
|
|
4713
4713
|
else if (i === y.BoxPlotSeries) {
|
|
4714
4714
|
if (a instanceof ze)
|
|
4715
4715
|
n.push(...a.columns.values);
|
|
4716
4716
|
else if (a instanceof Ft)
|
|
4717
4717
|
n.push(...a.segments.values);
|
|
4718
4718
|
else if (a instanceof be) {
|
|
4719
|
-
const s =
|
|
4719
|
+
const s = We(a)?.clones?.values;
|
|
4720
4720
|
s !== void 0 && n.push(...s);
|
|
4721
4721
|
}
|
|
4722
4722
|
}
|
|
@@ -4782,7 +4782,7 @@ function pS(t) {
|
|
|
4782
4782
|
xAxisField: l,
|
|
4783
4783
|
yAxisField: c,
|
|
4784
4784
|
queryObject: d
|
|
4785
|
-
} = t, u = W(i.series), f = Z(i.series), g =
|
|
4785
|
+
} = t, u = W(i.series), f = Z(i.series), g = ki(i), h = xn(i), b = [], p = [], S = [], C = fi(i.series), x = a instanceof yi ? a.dataFields?.customValue ?? "" : "";
|
|
4786
4786
|
return n.forEach((L) => {
|
|
4787
4787
|
if (!(L instanceof na)) {
|
|
4788
4788
|
let v = L.dataItem?.dataContext;
|
|
@@ -4813,7 +4813,7 @@ function pS(t) {
|
|
|
4813
4813
|
S.push(v);
|
|
4814
4814
|
else {
|
|
4815
4815
|
const k = /* @__PURE__ */ new Set();
|
|
4816
|
-
u === y.PieSeries &&
|
|
4816
|
+
u === y.PieSeries && wi(v) ? (xo({
|
|
4817
4817
|
groupOfSlicesDataContext: v
|
|
4818
4818
|
}) ?? []).forEach((R) => {
|
|
4819
4819
|
s.forEach((w) => {
|
|
@@ -4849,13 +4849,13 @@ function pS(t) {
|
|
|
4849
4849
|
}), Vu(e, b), { selectedIndexes: p, newSelectionItems: S };
|
|
4850
4850
|
}
|
|
4851
4851
|
function bS(t) {
|
|
4852
|
-
const { chart: e, selectionIndexes: i, queryObject: a } = t, o = [], n = [], s = D(e.uid, "config"), r =
|
|
4852
|
+
const { chart: e, selectionIndexes: i, queryObject: a } = t, o = [], n = [], s = D(e.uid, "config"), r = ki(s), l = fi(s?.series ?? []), c = Z(s?.series);
|
|
4853
4853
|
return e.series.each((d, u) => {
|
|
4854
4854
|
if (s && d.visible) {
|
|
4855
4855
|
const f = s.series[0].x, g = Yi(d), h = d instanceof yi ? d.dataFields?.customValue ?? "" : "", b = On(d, u), p = i.get(u);
|
|
4856
4856
|
if (p !== void 0) {
|
|
4857
4857
|
let S;
|
|
4858
|
-
if (d instanceof ut ? S = d.columns : d instanceof Wt ? S = d.slices : S =
|
|
4858
|
+
if (d instanceof ut ? S = d.columns : d instanceof Wt ? S = d.slices : S = We(d)?.clones, S !== void 0) {
|
|
4859
4859
|
const { indexesToSelect: C } = p;
|
|
4860
4860
|
S.each((x, L) => {
|
|
4861
4861
|
if (x && (C === void 0 || C.includes(L))) {
|
|
@@ -4891,7 +4891,7 @@ function yS(t) {
|
|
|
4891
4891
|
if (e instanceof ut)
|
|
4892
4892
|
o = e.columns.values;
|
|
4893
4893
|
else if (e instanceof be) {
|
|
4894
|
-
const n =
|
|
4894
|
+
const n = We(e);
|
|
4895
4895
|
n !== void 0 && (o = n.clones.values);
|
|
4896
4896
|
}
|
|
4897
4897
|
break;
|
|
@@ -4900,7 +4900,7 @@ function yS(t) {
|
|
|
4900
4900
|
break;
|
|
4901
4901
|
case y.LineSeries:
|
|
4902
4902
|
if (e instanceof be) {
|
|
4903
|
-
const n =
|
|
4903
|
+
const n = We(e);
|
|
4904
4904
|
n !== void 0 && (o = n.clones.values);
|
|
4905
4905
|
}
|
|
4906
4906
|
break;
|
|
@@ -4913,11 +4913,11 @@ function yS(t) {
|
|
|
4913
4913
|
o = [...e.columns.values];
|
|
4914
4914
|
const n = Lo(e.chart, e.id);
|
|
4915
4915
|
if (n !== void 0 && n.visible) {
|
|
4916
|
-
const s =
|
|
4916
|
+
const s = We(n);
|
|
4917
4917
|
s !== void 0 && o.push(...s.clones.values);
|
|
4918
4918
|
}
|
|
4919
4919
|
} else if (a === !0 && e instanceof be && Ze(e.uid, "isBoxPlotMeanLineSeries")) {
|
|
4920
|
-
const n =
|
|
4920
|
+
const n = We(e);
|
|
4921
4921
|
n !== void 0 && (o = n.clones.values);
|
|
4922
4922
|
}
|
|
4923
4923
|
}
|
|
@@ -4944,7 +4944,7 @@ function SS(t) {
|
|
|
4944
4944
|
returnSelectionOIDs: h,
|
|
4945
4945
|
selectionByIndexesChanged: b = !1,
|
|
4946
4946
|
selectionByItemsChanged: p = !1
|
|
4947
|
-
} = o ?? {}, { selectionIndexes: S, selectionFilters: C } = f ?? {}, { chart: x } = e, L = D(x.uid, "config"), v = _e(a), T =
|
|
4947
|
+
} = o ?? {}, { selectionIndexes: S, selectionFilters: C } = f ?? {}, { chart: x } = e, L = D(x.uid, "config"), v = _e(a), T = ki(L), k = xn(L), I = Ct(L), R = W(L?.series);
|
|
4948
4948
|
if (u !== !0 && L !== void 0) {
|
|
4949
4949
|
const w = yS({
|
|
4950
4950
|
series: e,
|
|
@@ -5100,7 +5100,7 @@ async function Fo(t) {
|
|
|
5100
5100
|
else
|
|
5101
5101
|
try {
|
|
5102
5102
|
bu(e, "updateSelectionCallbackDisposer");
|
|
5103
|
-
const c = it(o), d = "objectIdField" in c ? c.objectIdField : void 0, u =
|
|
5103
|
+
const c = it(o), d = "objectIdField" in c ? c.objectIdField : void 0, u = ki(r), f = [], g = [];
|
|
5104
5104
|
let h = [], b = [];
|
|
5105
5105
|
const p = /* @__PURE__ */ new Map(), { xAxisField: S } = i[0] ?? {}, C = W(r?.series), x = Z(r?.series), L = fi(r?.series ?? []), v = Lt(o), T = v.find((R) => R.name === S)?.type, k = v.find((R) => R.name === L[0])?.type;
|
|
5106
5106
|
if (i.forEach((R) => {
|
|
@@ -5127,7 +5127,7 @@ async function Fo(t) {
|
|
|
5127
5127
|
if (d && w[d] !== void 0 && (typeof w[d] == "number" || typeof w[d] == "string"))
|
|
5128
5128
|
b.push(w[d]);
|
|
5129
5129
|
else {
|
|
5130
|
-
const z = lr(M) ? pi.uniqueIds : `${pi.uniqueIds}_${C === y.BoxPlotSeries ?
|
|
5130
|
+
const z = lr(M) ? pi.uniqueIds : `${pi.uniqueIds}_${C === y.BoxPlotSeries ? Ti({ where: M }) : $}`, X = w[z] ?? w[pi.uniqueIds] ?? [], U = fd({
|
|
5131
5131
|
dataContext: w,
|
|
5132
5132
|
options: s,
|
|
5133
5133
|
xAxisField: S,
|
|
@@ -5203,12 +5203,12 @@ async function vS(t, e, i) {
|
|
|
5203
5203
|
}
|
|
5204
5204
|
}
|
|
5205
5205
|
});
|
|
5206
|
-
const l = Nn(t, n), c = o instanceof
|
|
5206
|
+
const l = Nn(t, n), c = o instanceof Ve || o instanceof dt, d = [], u = D(n.uid, "config");
|
|
5207
5207
|
if (u) {
|
|
5208
5208
|
const f = u.series[0].x ?? "";
|
|
5209
5209
|
n.series.each((g, h) => {
|
|
5210
5210
|
let b;
|
|
5211
|
-
if (g instanceof ut ? b = g.columns : b =
|
|
5211
|
+
if (g instanceof ut ? b = g.columns : b = We(g)?.clones, g.visible) {
|
|
5212
5212
|
const p = Yi(g), S = g.dataFields?.customValue ?? "";
|
|
5213
5213
|
b?.each((C, x) => {
|
|
5214
5214
|
const L = s.includes(C);
|
|
@@ -5249,7 +5249,7 @@ function LS(t) {
|
|
|
5249
5249
|
}
|
|
5250
5250
|
}
|
|
5251
5251
|
function sn(t, e) {
|
|
5252
|
-
if ($t(t?.renderer?.labels?.template) && (t instanceof dt || t instanceof
|
|
5252
|
+
if ($t(t?.renderer?.labels?.template) && (t instanceof dt || t instanceof Ve))
|
|
5253
5253
|
if (e)
|
|
5254
5254
|
t.renderer.labels.template.events.disableType(N.Hit), ws(t, Zt.default);
|
|
5255
5255
|
else {
|
|
@@ -5324,7 +5324,7 @@ function IS(t, e) {
|
|
|
5324
5324
|
if (r !== void 0) {
|
|
5325
5325
|
const c = D(r.uid, "config"), d = D(r.uid, "isRotated"), f = !Ao(t.renderer, d) ? 1 : 0, h = c?.axes?.[f]?.guides;
|
|
5326
5326
|
let b = o, p = n;
|
|
5327
|
-
if (t instanceof
|
|
5327
|
+
if (t instanceof Ve) {
|
|
5328
5328
|
let L = new qc(), v;
|
|
5329
5329
|
if (r !== void 0) {
|
|
5330
5330
|
const T = D(t.chart.uid, "formatLocale");
|
|
@@ -5360,7 +5360,7 @@ function RS(t) {
|
|
|
5360
5360
|
}
|
|
5361
5361
|
function wS(t) {
|
|
5362
5362
|
let e = Ca.Value;
|
|
5363
|
-
return t instanceof
|
|
5363
|
+
return t instanceof Ve ? e = Ca.Date : t instanceof dt && (e = Ca.Category), e;
|
|
5364
5364
|
}
|
|
5365
5365
|
function nc(t) {
|
|
5366
5366
|
const { inputValue: e, axisType: i, axisMin: a, axisMax: o } = t;
|
|
@@ -5446,7 +5446,7 @@ function DS(t, e) {
|
|
|
5446
5446
|
o !== -1 && (i = o);
|
|
5447
5447
|
}
|
|
5448
5448
|
let a;
|
|
5449
|
-
return t instanceof dt ? a = new Ta() : t instanceof
|
|
5449
|
+
return t instanceof dt ? a = new Ta() : t instanceof Ve ? a = new gn() : a = new er(), t.axisRanges.insertIndex(i, a), a.label = AS(t, e), a.axisFill.fillOpacity = 1, a.axisFill.disabled = !0, a.grid.strokeOpacity = 1, a;
|
|
5450
5450
|
}
|
|
5451
5451
|
function MS(t, e) {
|
|
5452
5452
|
const i = DS(t, !0);
|
|
@@ -5515,7 +5515,7 @@ function PS(t, e) {
|
|
|
5515
5515
|
});
|
|
5516
5516
|
}
|
|
5517
5517
|
const o = t.component?.chart;
|
|
5518
|
-
o !== void 0 &&
|
|
5518
|
+
o !== void 0 && zi({
|
|
5519
5519
|
chart: o,
|
|
5520
5520
|
label: a,
|
|
5521
5521
|
labelType: q.GuideLabel
|
|
@@ -5572,7 +5572,7 @@ function _S(t) {
|
|
|
5572
5572
|
s.bbox.width
|
|
5573
5573
|
));
|
|
5574
5574
|
});
|
|
5575
|
-
const n = e instanceof
|
|
5575
|
+
const n = e instanceof Ve ? e.pixelWidth / A.maxNumberOfXAxisLabelsInWrapModeForDateAxis : e.pixelWidth / A.maxNumberOfXAxisLabelsInWrapMode;
|
|
5576
5576
|
e.renderer.minGridDistance = Math.max(o + 1, n);
|
|
5577
5577
|
}
|
|
5578
5578
|
}
|
|
@@ -5817,7 +5817,7 @@ function sC(t) {
|
|
|
5817
5817
|
}
|
|
5818
5818
|
function rC(t) {
|
|
5819
5819
|
const e = t.tooltip;
|
|
5820
|
-
e !== void 0 && !(t instanceof
|
|
5820
|
+
e !== void 0 && !(t instanceof Ve) && (e.label.adapter.add("html", (i, a) => {
|
|
5821
5821
|
let o = i ?? "";
|
|
5822
5822
|
return t instanceof Te ? o = eu(t, a.properties?.text ?? i ?? "") : t instanceof dt && (o = tu({
|
|
5823
5823
|
axis: t,
|
|
@@ -5889,7 +5889,7 @@ function dC(t) {
|
|
|
5889
5889
|
}), lC(e), e.renderer instanceof At && (e.events.on(
|
|
5890
5890
|
N.SizeChanged,
|
|
5891
5891
|
yt(() => {
|
|
5892
|
-
|
|
5892
|
+
zi({
|
|
5893
5893
|
chart: e.chart,
|
|
5894
5894
|
label: e.title,
|
|
5895
5895
|
labelType: q.XAxisTitle
|
|
@@ -5995,7 +5995,7 @@ function oo(t) {
|
|
|
5995
5995
|
if (Ea({ isXAxis: a, chartType: n, valueFormat: o }) && !i)
|
|
5996
5996
|
l = e.push(new dt());
|
|
5997
5997
|
else if (bt(o))
|
|
5998
|
-
l = e.push(new
|
|
5998
|
+
l = e.push(new Ve());
|
|
5999
5999
|
else if (Oe(o)) {
|
|
6000
6000
|
l = e.push(new Te());
|
|
6001
6001
|
const c = D(l.chart.uid, "formatLocale");
|
|
@@ -6043,16 +6043,16 @@ function Hu(t) {
|
|
|
6043
6043
|
}
|
|
6044
6044
|
function hC(t) {
|
|
6045
6045
|
const { axis: e, isLogarithmic: i, axisConfigIndex: a } = t, o = D(e.chart.uid, "config"), n = i === !0 && br({ chartConfig: o, chartData: e.chart.data, axisConfigIndex: a });
|
|
6046
|
-
(e instanceof
|
|
6046
|
+
(e instanceof Ve || e instanceof Te) && (e.logarithmic = n, e.treatZeroAs = n ? A.treatZeroValueAs : 0);
|
|
6047
6047
|
}
|
|
6048
6048
|
function pC(t, e) {
|
|
6049
6049
|
const { minimum: i, maximum: a, isLogarithmic: o } = e ?? {};
|
|
6050
6050
|
let { buffer: n } = e ?? {};
|
|
6051
|
-
return n ??= A.buffer, t instanceof Te && !(t instanceof
|
|
6051
|
+
return n ??= A.buffer, t instanceof Te && !(t instanceof Ve) && !n && (o !== !0 || a != null || i != null);
|
|
6052
6052
|
}
|
|
6053
6053
|
function bC(t, e) {
|
|
6054
6054
|
let i = !1;
|
|
6055
|
-
return t instanceof Te && !(t instanceof
|
|
6055
|
+
return t instanceof Te && !(t instanceof Ve) && (i = pC(t, e), t.strictMinMax = i), i;
|
|
6056
6056
|
}
|
|
6057
6057
|
function yC(t) {
|
|
6058
6058
|
const { axis: e, axisConfig: i, chartType: a, isSecondaryYAxis: o } = t, n = i?.minimum, s = i?.maximum, r = i?.isLogarithmic ?? !1;
|
|
@@ -6090,7 +6090,7 @@ function yC(t) {
|
|
|
6090
6090
|
}
|
|
6091
6091
|
function _u(t) {
|
|
6092
6092
|
const { axis: e, axisConfig: i, chartType: a, isSecondaryYAxis: o } = t, { minimum: n, maximum: s, isLogarithmic: r } = i ?? {};
|
|
6093
|
-
if (e instanceof Te || e instanceof
|
|
6093
|
+
if (e instanceof Te || e instanceof Ve)
|
|
6094
6094
|
if (bC(e, i)) {
|
|
6095
6095
|
let c = n, d = s;
|
|
6096
6096
|
if (au({ minimumFromConfig: n, maximumFromConfig: s, isLogarithmic: r })) {
|
|
@@ -6108,7 +6108,7 @@ function _u(t) {
|
|
|
6108
6108
|
}
|
|
6109
6109
|
function SC(t) {
|
|
6110
6110
|
let e;
|
|
6111
|
-
if (t instanceof
|
|
6111
|
+
if (t instanceof Ve) {
|
|
6112
6112
|
const i = t.dataItems.first?.value, a = t.dataItems.last?.value;
|
|
6113
6113
|
if (typeof i == "number" && typeof a == "number") {
|
|
6114
6114
|
const o = a - i;
|
|
@@ -6134,7 +6134,7 @@ function SC(t) {
|
|
|
6134
6134
|
}
|
|
6135
6135
|
function CC(t) {
|
|
6136
6136
|
const { axis: e, timeIntervalInfo: i, dateBaseInterval: a } = t;
|
|
6137
|
-
if (e instanceof
|
|
6137
|
+
if (e instanceof Ve) {
|
|
6138
6138
|
let { size: o, unit: n } = i ?? {};
|
|
6139
6139
|
if (n || ({ size: o, unit: n } = a ?? {}), n || ({ size: o, unit: n } = SC(e) ?? {}), o && n !== void 0) {
|
|
6140
6140
|
let s;
|
|
@@ -6178,7 +6178,7 @@ function LC(t, e) {
|
|
|
6178
6178
|
const i = t.renderer instanceof At;
|
|
6179
6179
|
t.events.once(N.Validated, () => {
|
|
6180
6180
|
let a = t.renderer instanceof Wa ? A.yAxisTitleLabel : A.xAxisTitleLabel;
|
|
6181
|
-
i && (a = { ...a, dy: a.dy ?? 0 }), Ot({ label: t.title, labelConfig: e, defaults: a }),
|
|
6181
|
+
i && (a = { ...a, dy: a.dy ?? 0 }), Ot({ label: t.title, labelConfig: e, defaults: a }), zi({
|
|
6182
6182
|
chart: t.chart,
|
|
6183
6183
|
label: t.title,
|
|
6184
6184
|
labelType: t.renderer instanceof At ? q.XAxisTitle : q.YAxisTitle
|
|
@@ -6450,7 +6450,7 @@ function IC(t) {
|
|
|
6450
6450
|
T.location = 0, v.cellStartLocation = 0.1, v.cellEndLocation = 0.9;
|
|
6451
6451
|
const k = i.orderOptions?.data && "orderBy" in i.orderOptions.data && i.orderOptions.data.orderBy === bn.Descending;
|
|
6452
6452
|
let I = n === !0;
|
|
6453
|
-
k && C instanceof
|
|
6453
|
+
k && C instanceof Ve && (I = !I), v.inversed = I;
|
|
6454
6454
|
}
|
|
6455
6455
|
const x = n === !0 ? e.xAxes.getIndex(0) : e.yAxes.getIndex(0), L = n === !0 ? e.xAxes.getIndex(1) : e.yAxes.getIndex(1);
|
|
6456
6456
|
S === te.Stacked100 ? (x instanceof Te && (x.calculateTotals = !0), L instanceof Te && (L.calculateTotals = !0)) : (x instanceof Te && (x.calculateTotals = !1), L instanceof Te && (L.calculateTotals = !1));
|
|
@@ -6504,7 +6504,7 @@ const qe = {
|
|
|
6504
6504
|
AxisLabels: 2,
|
|
6505
6505
|
FirstAndLastLabels: 3
|
|
6506
6506
|
};
|
|
6507
|
-
function
|
|
6507
|
+
function Ni(t, e) {
|
|
6508
6508
|
let i;
|
|
6509
6509
|
switch (e) {
|
|
6510
6510
|
case qe.InnerLabel:
|
|
@@ -6585,7 +6585,7 @@ function En(t) {
|
|
|
6585
6585
|
function DC(t) {
|
|
6586
6586
|
const { chart: e, axisConfig: i, axis: a } = t;
|
|
6587
6587
|
if (i.labels.content.font?.size === void 0 && i.onlyShowFirstAndLastLabels !== !0) {
|
|
6588
|
-
|
|
6588
|
+
Ni(e, qe.AxisLabels), Ni(e, qe.FirstAndLastLabels);
|
|
6589
6589
|
const o = () => {
|
|
6590
6590
|
a.events.once(N.Validated, () => {
|
|
6591
6591
|
const s = Tt(a, Fe.GaugeTicksWithLabels);
|
|
@@ -6608,7 +6608,7 @@ function DC(t) {
|
|
|
6608
6608
|
const n = e.events.on(N.SizeChanged, o);
|
|
6609
6609
|
ae(e.uid, { gaugeAutoResizeAxisLabelsDisposer: n }), o();
|
|
6610
6610
|
} else {
|
|
6611
|
-
|
|
6611
|
+
Ni(e, qe.AxisLabels);
|
|
6612
6612
|
const o = Tt(a, Fe.GaugeTicksWithLabels);
|
|
6613
6613
|
o.length > 0 && o.map((s) => s.label).forEach((s) => {
|
|
6614
6614
|
s.scale = 1;
|
|
@@ -6634,7 +6634,7 @@ function MC(t, e) {
|
|
|
6634
6634
|
e.scale = 1;
|
|
6635
6635
|
}
|
|
6636
6636
|
function $C(t, e) {
|
|
6637
|
-
|
|
6637
|
+
Ni(t, qe.InnerLabel), Ni(t, qe.InnerLabelSecondary);
|
|
6638
6638
|
const i = t.xAxes.getIndex(0), a = () => {
|
|
6639
6639
|
i?.events.once(N.Validated, () => {
|
|
6640
6640
|
MC(t, e);
|
|
@@ -6670,7 +6670,7 @@ function BC(t) {
|
|
|
6670
6670
|
function NC(t) {
|
|
6671
6671
|
const { chart: e, axisConfig: i, axis: a } = t;
|
|
6672
6672
|
if (Ns(i)) {
|
|
6673
|
-
|
|
6673
|
+
Ni(e, qe.AxisLabels), Ni(e, qe.FirstAndLastLabels);
|
|
6674
6674
|
const o = () => {
|
|
6675
6675
|
a.events.once(N.Validated, () => {
|
|
6676
6676
|
BC(a);
|
|
@@ -6681,7 +6681,7 @@ function NC(t) {
|
|
|
6681
6681
|
);
|
|
6682
6682
|
ae(e.uid, { gaugeAutoResizeFirstAndLastLabelsDisposer: n }), o();
|
|
6683
6683
|
} else
|
|
6684
|
-
|
|
6684
|
+
Ni(e, qe.FirstAndLastLabels), Tt(a, Fe.GaugeFirstAndLastGuides).map(
|
|
6685
6685
|
(n) => n.label
|
|
6686
6686
|
).forEach((n) => {
|
|
6687
6687
|
n.scale = 1;
|
|
@@ -6741,7 +6741,7 @@ function PC(t) {
|
|
|
6741
6741
|
}
|
|
6742
6742
|
function Uu(t) {
|
|
6743
6743
|
const e = t.hands.push(new eg()), i = A.gaugeNeedle, { startWidth: a, endWidth: o, innerRadius: n } = i;
|
|
6744
|
-
e.pin.disabled = !0, e.startWidth = a ?? Number.NaN, e.endWidth = o ?? Number.NaN, e.innerRadius =
|
|
6744
|
+
e.pin.disabled = !0, e.startWidth = a ?? Number.NaN, e.endWidth = o ?? Number.NaN, e.innerRadius = ht(n ?? Number.NaN);
|
|
6745
6745
|
const s = t.xAxes.getIndex(0);
|
|
6746
6746
|
return s !== void 0 && (e.axis = s), e;
|
|
6747
6747
|
}
|
|
@@ -6758,7 +6758,7 @@ function WC(t) {
|
|
|
6758
6758
|
if (o !== void 0) {
|
|
6759
6759
|
mo({ element: o, fillSymbol: i?.symbol });
|
|
6760
6760
|
const { startWidth: n, endWidth: s, innerRadius: r } = A.gaugeNeedle;
|
|
6761
|
-
o.value = VC(e, a), o.pin.disabled = i?.displayPin !== !0, o.visible = i?.visible ?? !0, o.startWidth = i?.startWidth ?? n, o.endWidth = i?.endWidth ?? s, o.innerRadius =
|
|
6761
|
+
o.value = VC(e, a), o.pin.disabled = i?.displayPin !== !0, o.visible = i?.visible ?? !0, o.startWidth = i?.startWidth ?? n, o.endWidth = i?.endWidth ?? s, o.innerRadius = ht(i?.innerRadius ?? r);
|
|
6762
6762
|
}
|
|
6763
6763
|
}
|
|
6764
6764
|
function EC(t) {
|
|
@@ -7023,11 +7023,11 @@ function ex(t) {
|
|
|
7023
7023
|
}
|
|
7024
7024
|
function Hn(t, e) {
|
|
7025
7025
|
const { title: i, subtitle: a, headerContainer: o } = t;
|
|
7026
|
-
Ot({ label: i, labelConfig: e?.title, defaults: A.titleLabel }), Ot({ label: a, labelConfig: e?.subtitle, defaults: A.titleLabel }), wu(o, i.disabled && a.disabled),
|
|
7026
|
+
Ot({ label: i, labelConfig: e?.title, defaults: A.titleLabel }), Ot({ label: a, labelConfig: e?.subtitle, defaults: A.titleLabel }), wu(o, i.disabled && a.disabled), zi({
|
|
7027
7027
|
chart: o.parent,
|
|
7028
7028
|
label: i,
|
|
7029
7029
|
labelType: q.ChartTitle
|
|
7030
|
-
}),
|
|
7030
|
+
}), zi({
|
|
7031
7031
|
chart: o.parent,
|
|
7032
7032
|
label: a,
|
|
7033
7033
|
labelType: q.ChartSubTitle
|
|
@@ -7039,7 +7039,7 @@ function tx(t) {
|
|
|
7039
7039
|
}
|
|
7040
7040
|
function _n(t, e) {
|
|
7041
7041
|
const { footer: i, footerContainer: a } = t;
|
|
7042
|
-
Ot({ label: i, labelConfig: e, defaults: A.footer }), wu(a, i.disabled || e?.content.text === ""),
|
|
7042
|
+
Ot({ label: i, labelConfig: e, defaults: A.footer }), wu(a, i.disabled || e?.content.text === ""), zi({
|
|
7043
7043
|
chart: a.parent,
|
|
7044
7044
|
label: i,
|
|
7045
7045
|
labelType: q.ChartFooter
|
|
@@ -7297,7 +7297,7 @@ function gx(t) {
|
|
|
7297
7297
|
f.id = c.id;
|
|
7298
7298
|
let g, h;
|
|
7299
7299
|
l !== !0 ? (g = o[0], h = u === !0 && o[2] ? o[2] : o[1]) : (g = u === !0 && o[2] ? o[2] : o[0], h = o[1]), g !== void 0 && (f.xAxis = g), h !== void 0 && (f.yAxis = h);
|
|
7300
|
-
const b = e instanceof fe ? wt({ chart: e }) : !1, S = Z(i.series) !== V.BarAndLineSplitByNoAggregation ? d : `${d}_${
|
|
7300
|
+
const b = e instanceof fe ? wt({ chart: e }) : !1, S = Z(i.series) !== V.BarAndLineSplitByNoAggregation ? d : `${d}_${Ti({ where: c.query?.where, keepSurroundingQuotes: !1, escape: !1 })}`;
|
|
7301
7301
|
b ? f.dataFields.valueX = S : f.dataFields.valueY = S;
|
|
7302
7302
|
const C = b ? o[1] : o[0];
|
|
7303
7303
|
if (C !== void 0) {
|
|
@@ -7310,7 +7310,7 @@ function gx(t) {
|
|
|
7310
7310
|
rotationChanged: !1,
|
|
7311
7311
|
stackedType: i.stackedType,
|
|
7312
7312
|
isRotated: b
|
|
7313
|
-
}), f.dataFields.customValue = c?.query?.where, Au(f.columns.template, f), f.columns.template.width =
|
|
7313
|
+
}), f.dataFields.customValue = c?.query?.where, Au(f.columns.template, f), f.columns.template.width = ht(100), cx(f), ma({
|
|
7314
7314
|
element: f.columns.template,
|
|
7315
7315
|
customSelectionTheme: n
|
|
7316
7316
|
}), vo({ chart: e, element: f.columns.template, queryObject: s, errorStrings: r }), zr(f), mx(f), fa(f), f;
|
|
@@ -7426,7 +7426,7 @@ function Sx(t) {
|
|
|
7426
7426
|
skipSettingText: !0
|
|
7427
7427
|
}), e.alignLabels = !s && (i.alignDataLabels ?? A.pieChart.alignDataLabels);
|
|
7428
7428
|
const r = e.labels.template.radius;
|
|
7429
|
-
e.chart.invalidateData(), (s && r !==
|
|
7429
|
+
e.chart.invalidateData(), (s && r !== ht(-40) || !s && r === ht(-40) || n !== void 0 && Number.isFinite(n) && r !== n) && (e.labels.template.radius = s ? ht(-40) : n, e.invalidate());
|
|
7430
7430
|
}
|
|
7431
7431
|
function Cx(t, e) {
|
|
7432
7432
|
let i = (h, b, p) => A.htmlEmptyContent;
|
|
@@ -7580,7 +7580,7 @@ function Rx(t) {
|
|
|
7580
7580
|
const h = Z([i]), b = A.pieChart;
|
|
7581
7581
|
a.dataFields.value = h !== V.PieFromFields ? c : va, a.dataFields.category = h !== V.PieFromFields ? l : oi;
|
|
7582
7582
|
const p = e.radius instanceof Yo ? e.radius.value : e.radius;
|
|
7583
|
-
e.innerRadius =
|
|
7583
|
+
e.innerRadius = ht((u ?? b.innerRadius) * p), a.startAngle = f ?? b.min, a.endAngle = g ?? 360 + a.startAngle, Sx({
|
|
7584
7584
|
pieSeries: a,
|
|
7585
7585
|
seriesConfig: i,
|
|
7586
7586
|
dataLabelFormatter: r
|
|
@@ -7620,7 +7620,7 @@ async function fc(t) {
|
|
|
7620
7620
|
chartConfig: r
|
|
7621
7621
|
};
|
|
7622
7622
|
l.slices.each((f, g) => {
|
|
7623
|
-
f.isActive && (f === i || a || f.dataItem instanceof Si && f.dataItem.label.isHover) ?
|
|
7623
|
+
f.isActive && (f === i || a || f.dataItem instanceof Si && f.dataItem.label.isHover) ? wi(f.dataItem?.dataContext) ? (xo({
|
|
7624
7624
|
groupOfSlicesDataContext: f.dataItem?.dataContext
|
|
7625
7625
|
}) ?? []).forEach((S) => {
|
|
7626
7626
|
s.push({
|
|
@@ -7716,7 +7716,7 @@ function Dx(t, e) {
|
|
|
7716
7716
|
function rn(t) {
|
|
7717
7717
|
const e = D(t.uid, "config");
|
|
7718
7718
|
if (e !== void 0) {
|
|
7719
|
-
const i =
|
|
7719
|
+
const i = ht(
|
|
7720
7720
|
D(t.uid, "pieChartRadius") ?? A.pieChart.chartOptimizedRadius
|
|
7721
7721
|
);
|
|
7722
7722
|
let a = i;
|
|
@@ -7736,10 +7736,10 @@ function rn(t) {
|
|
|
7736
7736
|
// case 2: the container width is at or more than the radiusContainerWidthBreakpoint - ramp up radius to the max radius
|
|
7737
7737
|
Math.min(v ** C * S, h)
|
|
7738
7738
|
);
|
|
7739
|
-
a =
|
|
7739
|
+
a = ht(T * 100);
|
|
7740
7740
|
} else
|
|
7741
|
-
a =
|
|
7742
|
-
i.value.toFixed(1) !== a.value.toFixed(1) && (ae(t.uid, { pieChartRadius: a.percent }), t.radius = a, t.innerRadius =
|
|
7741
|
+
a = ht(A.pieChart.chartRadius);
|
|
7742
|
+
i.value.toFixed(1) !== a.value.toFixed(1) && (ae(t.uid, { pieChartRadius: a.percent }), t.radius = a, t.innerRadius = ht((n ?? A.pieChart.innerRadius) * a.value));
|
|
7743
7743
|
const f = t.series?.values?.[0];
|
|
7744
7744
|
f instanceof Wt && (f.labels.template.maxWidth = Mx(
|
|
7745
7745
|
e?.series[0],
|
|
@@ -7961,7 +7961,7 @@ function af(t) {
|
|
|
7961
7961
|
if (e instanceof fe)
|
|
7962
7962
|
for (let p = 0; p < i.series.length; p += 1) {
|
|
7963
7963
|
const S = i.series[p];
|
|
7964
|
-
if (d = W([S]),
|
|
7964
|
+
if (d = W([S]), Wi(i))
|
|
7965
7965
|
c = eS({
|
|
7966
7966
|
...h,
|
|
7967
7967
|
chart: e,
|
|
@@ -8047,7 +8047,7 @@ function qr(t) {
|
|
|
8047
8047
|
seriesIndexMapper: s
|
|
8048
8048
|
};
|
|
8049
8049
|
let j = X;
|
|
8050
|
-
if (e instanceof fe &&
|
|
8050
|
+
if (e instanceof fe && Wi(i))
|
|
8051
8051
|
j = v.find((E) => E.id === P.id), X !== void 0 && (j instanceof ze || j instanceof be) && dS({
|
|
8052
8052
|
...U,
|
|
8053
8053
|
chart: e,
|
|
@@ -8245,7 +8245,7 @@ function Vx(t) {
|
|
|
8245
8245
|
} = t, f = ir(e, Me);
|
|
8246
8246
|
f.id = i?.id ?? f.uid;
|
|
8247
8247
|
const g = Sd(f.htmlContainer);
|
|
8248
|
-
Ur({ chart: f, localeInfo: g, chartLocale: c }), f.radius =
|
|
8248
|
+
Ur({ chart: f, localeInfo: g, chartLocale: c }), f.radius = ht(A.pieChart.chartRadius);
|
|
8249
8249
|
const h = Zr({
|
|
8250
8250
|
chartConfig: i,
|
|
8251
8251
|
chart: f,
|
|
@@ -8274,7 +8274,7 @@ function Wx(t) {
|
|
|
8274
8274
|
const u = Sd(d.htmlContainer);
|
|
8275
8275
|
Ur({ chart: d, localeInfo: u, chartLocale: r }), d.maskBullets = !1;
|
|
8276
8276
|
const f = A.gauge, g = Number.isFinite(i?.innerRadius) ? i?.innerRadius : f.innerRadius, h = Number.isFinite(i?.startAngle) ? i?.startAngle : f.startAngle, b = Number.isFinite(i?.endAngle) ? i?.endAngle : f.endAngle;
|
|
8277
|
-
d.radius =
|
|
8277
|
+
d.radius = ht(f.radius), typeof g == "number" && (d.innerRadius = ht(g)), typeof h == "number" && (d.startAngle = h), typeof b == "number" && (d.endAngle = b);
|
|
8278
8278
|
const p = Zr({
|
|
8279
8279
|
chartConfig: i,
|
|
8280
8280
|
chart: d,
|
|
@@ -8309,7 +8309,7 @@ function Ex(t) {
|
|
|
8309
8309
|
let { numberOfSeriesChanged: v } = n?.common ?? {};
|
|
8310
8310
|
const T = xd(h, e), k = vd(h, e), I = fg(h, e), R = mg(h, e), w = JSON.stringify(Zo(b)) !== JSON.stringify(Zo(p));
|
|
8311
8311
|
let $ = !1, M = !1;
|
|
8312
|
-
|
|
8312
|
+
Wi(e) && Wi(h) && ($ = gg(h, e), M = hg(h, e));
|
|
8313
8313
|
const B = Ln({
|
|
8314
8314
|
oldConfig: c ? l : h,
|
|
8315
8315
|
newConfig: e,
|
|
@@ -8482,7 +8482,7 @@ function Hx(t) {
|
|
|
8482
8482
|
errorStrings: c
|
|
8483
8483
|
});
|
|
8484
8484
|
const p = A.gauge, S = Number.isFinite(a?.innerRadius) ? a.innerRadius : p.innerRadius, C = Number.isFinite(a?.startAngle) ? a.startAngle : p.startAngle, x = Number.isFinite(a?.endAngle) ? a.endAngle : p.endAngle;
|
|
8485
|
-
e.innerRadius =
|
|
8485
|
+
e.innerRadius = ht(S), e.startAngle = C, e.endAngle = x, Hn(i.headerElements, {
|
|
8486
8486
|
title: a.title,
|
|
8487
8487
|
subtitle: a.subtitle
|
|
8488
8488
|
}), _n(i.footerElements, a.footer), zn(e, a.background), ae(e.uid, { config: ke(a) });
|
|
@@ -8720,7 +8720,7 @@ function ha(t, e) {
|
|
|
8720
8720
|
function O(t, e) {
|
|
8721
8721
|
return ha(t, e);
|
|
8722
8722
|
}
|
|
8723
|
-
function
|
|
8723
|
+
function pt(t, e) {
|
|
8724
8724
|
ga(t, e);
|
|
8725
8725
|
}
|
|
8726
8726
|
function se(t, e) {
|
|
@@ -8729,7 +8729,7 @@ function se(t, e) {
|
|
|
8729
8729
|
function Ge(t, e) {
|
|
8730
8730
|
ga(t, e);
|
|
8731
8731
|
}
|
|
8732
|
-
function
|
|
8732
|
+
function Ai(t, e) {
|
|
8733
8733
|
return ha(t, e);
|
|
8734
8734
|
}
|
|
8735
8735
|
function Ya(t, e) {
|
|
@@ -8741,7 +8741,7 @@ function Yt(t, e) {
|
|
|
8741
8741
|
function jx(t, e) {
|
|
8742
8742
|
ga(t, e);
|
|
8743
8743
|
}
|
|
8744
|
-
function
|
|
8744
|
+
function Ne(t, e) {
|
|
8745
8745
|
return ha(t, e);
|
|
8746
8746
|
}
|
|
8747
8747
|
function Fa(t, e) {
|
|
@@ -9194,7 +9194,7 @@ function pc(t, e) {
|
|
|
9194
9194
|
}
|
|
9195
9195
|
function To(t) {
|
|
9196
9196
|
const { chart: e } = t, i = O(e?.uid ?? Number.NaN, "config"), a = Ct(i);
|
|
9197
|
-
return se(t.uid, "isOverlay") !== !0 && t.get("id") !== F.overlayId.scatterplotTrendLine && (!(t instanceof
|
|
9197
|
+
return se(t.uid, "isOverlay") !== !0 && t.get("id") !== F.overlayId.scatterplotTrendLine && (!(t instanceof Ri) || !a) && !(t instanceof la);
|
|
9198
9198
|
}
|
|
9199
9199
|
function mf(t) {
|
|
9200
9200
|
let e = !1, i;
|
|
@@ -9356,7 +9356,7 @@ function bc(t) {
|
|
|
9356
9356
|
function Dt(t) {
|
|
9357
9357
|
const { label: e, labelConfig: i, defaults: a, skipSettingText: o, skipSettingXAndY: n, skipSettingAbsoluteXY: s } = t, r = e instanceof st ? e.root : e.entities[0]?.root, l = i?.visible ?? !0;
|
|
9358
9358
|
if (e !== void 0 && !e.isDisposed() && i !== void 0) {
|
|
9359
|
-
const c = e instanceof st &&
|
|
9359
|
+
const c = e instanceof st && Ne(e.uid, "isGuide"), d = uv({ root: r, input: i.content, isGuideLabel: c, defaults: a });
|
|
9360
9360
|
e.setAll({
|
|
9361
9361
|
fill: d.fill,
|
|
9362
9362
|
fontFamily: d.fontFamily,
|
|
@@ -9414,12 +9414,12 @@ function ui(t) {
|
|
|
9414
9414
|
const r = O(e.uid, "options")?.truncateLongTitles === !0 && (a === q.ChartTitle || a === q.ChartSubTitle || a === q.ChartFooter);
|
|
9415
9415
|
if (r || a === q.YAxisTitle) {
|
|
9416
9416
|
const l = Number(i.get("fontSize")) || F.generalFontSize, c = l * 2.4, d = Math.max(1, Math.floor(s / Math.max(l * 0.5, 1)));
|
|
9417
|
-
if (Fa(i.uid, { textTruncationCharsPerLine: d }),
|
|
9417
|
+
if (Fa(i.uid, { textTruncationCharsPerLine: d }), Ne(i.uid, "textTruncationAdapterDisposer") === void 0) {
|
|
9418
9418
|
const u = i.adapters.add(
|
|
9419
9419
|
"text",
|
|
9420
9420
|
(f) => td({
|
|
9421
9421
|
input: f ?? "",
|
|
9422
|
-
charsPerLine:
|
|
9422
|
+
charsPerLine: Ne(i.uid, "textTruncationCharsPerLine") ?? d
|
|
9423
9423
|
})
|
|
9424
9424
|
);
|
|
9425
9425
|
Fa(i.uid, { textTruncationAdapterDisposer: u });
|
|
@@ -9432,7 +9432,7 @@ function ui(t) {
|
|
|
9432
9432
|
oversizedBehavior: "none"
|
|
9433
9433
|
});
|
|
9434
9434
|
} else
|
|
9435
|
-
(a === q.ChartTitle || a === q.ChartSubTitle || a === q.ChartFooter) && (
|
|
9435
|
+
(a === q.ChartTitle || a === q.ChartSubTitle || a === q.ChartFooter) && (Ne(i.uid, "textTruncationAdapterDisposer")?.dispose(), Fa(i.uid, {
|
|
9436
9436
|
textTruncationAdapterDisposer: void 0,
|
|
9437
9437
|
textTruncationCharsPerLine: void 0
|
|
9438
9438
|
}), i.setAll({ maxHeight: void 0, breakWords: void 0 })), i.setAll({
|
|
@@ -9521,7 +9521,7 @@ function Ws(t) {
|
|
|
9521
9521
|
function Aa(t, e) {
|
|
9522
9522
|
const i = e.get("axisFill"), a = e.get("label");
|
|
9523
9523
|
if (i !== void 0 && a !== void 0) {
|
|
9524
|
-
const o =
|
|
9524
|
+
const o = Ne(a.uid, "guideLabelConfig"), n = Ne(a.uid, "guideType"), s = t.get("renderer") instanceof ft, r = n === K.SFS, l = Math.round(i.width()), c = Math.round(i.height()), d = Math.round(a.height()), u = Math.round(a.width()), { horizontalAlignment: f, verticalAlignment: g, xoffset: h, yoffset: b } = o ?? {}, { location: p, centerX: S, centerY: C, dx: x, dy: L, offsetsReady: v } = Ws({
|
|
9525
9525
|
isHorizontalAxis: s,
|
|
9526
9526
|
isSurfaceGuide: r,
|
|
9527
9527
|
horizontalAlignment: f,
|
|
@@ -9542,7 +9542,7 @@ function yv(t) {
|
|
|
9542
9542
|
const n = i.get("axisFill");
|
|
9543
9543
|
let s = o;
|
|
9544
9544
|
if (n !== void 0) {
|
|
9545
|
-
const r =
|
|
9545
|
+
const r = Ne(a.uid, "guideLabelConfig"), l = Ne(a.uid, "guideType"), c = e.get("renderer") instanceof ft, d = Ws({
|
|
9546
9546
|
isHorizontalAxis: c,
|
|
9547
9547
|
isSurfaceGuide: l === K.SFS,
|
|
9548
9548
|
horizontalAlignment: r?.horizontalAlignment,
|
|
@@ -9561,7 +9561,7 @@ function yv(t) {
|
|
|
9561
9561
|
const n = i.get("axisFill");
|
|
9562
9562
|
let s = o;
|
|
9563
9563
|
if (n !== void 0) {
|
|
9564
|
-
const r =
|
|
9564
|
+
const r = Ne(a.uid, "guideLabelConfig"), l = Ne(a.uid, "guideType"), c = e.get("renderer") instanceof ft, d = Ws({
|
|
9565
9565
|
isHorizontalAxis: c,
|
|
9566
9566
|
isSurfaceGuide: l === K.SFS,
|
|
9567
9567
|
horizontalAlignment: r?.horizontalAlignment,
|
|
@@ -9805,7 +9805,7 @@ function Rv(t) {
|
|
|
9805
9805
|
function wv(t) {
|
|
9806
9806
|
const { series: e, externalDataLabelFormatter: i } = t;
|
|
9807
9807
|
e.bullets.push(() => {
|
|
9808
|
-
const a = O(e.chart?.uid ?? Number.NaN, "config"), n = a?.series?.find((f) => f.id === e.get("id"))?.dataLabels ?? t.dataLabelsConfig, s = Qe(a), r = t.seriesType === y.LineSeries || t.seriesType === y.RadarSeries ? F.zIndexes.defaultLayer30 : 0, l = e.get("stacked"), c = t.seriesType === y.LineSeries || t.seriesType === y.RadarSeries, d =
|
|
9808
|
+
const a = O(e.chart?.uid ?? Number.NaN, "config"), n = a?.series?.find((f) => f.id === e.get("id"))?.dataLabels ?? t.dataLabelsConfig, s = Qe(a), r = t.seriesType === y.LineSeries || t.seriesType === y.RadarSeries ? F.zIndexes.defaultLayer30 : 0, l = e.get("stacked"), c = t.seriesType === y.LineSeries || t.seriesType === y.RadarSeries, d = Ii.new(e.root, {
|
|
9809
9809
|
...c ? {} : {
|
|
9810
9810
|
locationY: !l && !s ? 1 : void 0,
|
|
9811
9811
|
locationX: !l && s ? 1 : void 0
|
|
@@ -10019,7 +10019,7 @@ function Lf(t) {
|
|
|
10019
10019
|
function el(t, e) {
|
|
10020
10020
|
if (t instanceof pe) {
|
|
10021
10021
|
const i = O(t.uid, "config"), a = Qe(i), o = Td(i);
|
|
10022
|
-
e &&
|
|
10022
|
+
e && pt(t.uid, { dataLabelsPaddingHorizontal: 0, dataLabelsPaddingTop: 0 });
|
|
10023
10023
|
const n = O(t.uid, "dataLabelsPaddingHorizontal") ?? 0, s = O(t.uid, "dataLabelsPaddingTop") ?? 0;
|
|
10024
10024
|
let r = 0, l = 0, c = !0;
|
|
10025
10025
|
if (o && !a && (l = F.chartContainer.paddingTop ?? 0), o && a && Lf(i) && (r = vf(t), r === 0 && t.series.length > 0 && (Av(t), c = !1)), c) {
|
|
@@ -10027,7 +10027,7 @@ function el(t, e) {
|
|
|
10027
10027
|
t.chartContainer.setAll({
|
|
10028
10028
|
paddingRight: Math.max(0, d - n) + r,
|
|
10029
10029
|
paddingTop: Math.max(0, u - s) + l
|
|
10030
|
-
}),
|
|
10030
|
+
}), pt(t.uid, {
|
|
10031
10031
|
dataLabelsPaddingHorizontal: r,
|
|
10032
10032
|
dataLabelsPaddingTop: l
|
|
10033
10033
|
});
|
|
@@ -10072,7 +10072,7 @@ function Af(t) {
|
|
|
10072
10072
|
function Bv(t) {
|
|
10073
10073
|
const { series: e, labelDefaults: i, externalDataLabelFormatter: a, seriesType: o } = t;
|
|
10074
10074
|
e.bullets.push(() => {
|
|
10075
|
-
const s = O(e.chart?.uid ?? Number.NaN, "config")?.series?.[0]?.dataLabels ?? t.dataLabelsConfig, r =
|
|
10075
|
+
const s = O(e.chart?.uid ?? Number.NaN, "config")?.series?.[0]?.dataLabels ?? t.dataLabelsConfig, r = Ii.new(e.root, {
|
|
10076
10076
|
locationY: 1,
|
|
10077
10077
|
sprite: st.new(e.root, {
|
|
10078
10078
|
populateText: !0,
|
|
@@ -10978,7 +10978,7 @@ function Vo(t) {
|
|
|
10978
10978
|
yAxis: a,
|
|
10979
10979
|
visible: !1
|
|
10980
10980
|
});
|
|
10981
|
-
return o === Ie.Normal && ja(s, n.overlays.normal), Ge(s.uid, { isOverlay: !0, type: o }), s.set("connect", !1), s
|
|
10981
|
+
return o === Ie.Normal && ja(s, n.overlays.normal), Ge(s.uid, { isOverlay: !0, type: o }), s.set("connect", !1), s;
|
|
10982
10982
|
}
|
|
10983
10983
|
function cL(t) {
|
|
10984
10984
|
const { root: e, seriesConfig: i, xAxis: a, yAxis: o, options: n, chartConfig: s, queryObject: r, errorStrings: l } = t, { id: c, name: d } = i, u = xe.new(e, {
|
|
@@ -11159,7 +11159,7 @@ function mL(t) {
|
|
|
11159
11159
|
const { series: e, seriesConfig: i, seriesWereReinitialized: a, dataWasUpdated: o, data: n, options: s } = t;
|
|
11160
11160
|
e.set("id", i.id), re(e, i.visible), He(e.columns.template, s?.selectionTheme), ja(e, i.name);
|
|
11161
11161
|
const r = n?.bins.find((l) => "symbol" in l)?.symbol;
|
|
11162
|
-
|
|
11162
|
+
Oi(t) && Di({
|
|
11163
11163
|
styleCallback: () => rL({ ...t, rendererSymbol: r }),
|
|
11164
11164
|
series: e,
|
|
11165
11165
|
seriesConfig: i
|
|
@@ -11301,7 +11301,7 @@ function yL(t) {
|
|
|
11301
11301
|
{
|
|
11302
11302
|
// accessibility for keyboard users — configured here rather than in setAccessibilityFeatures()
|
|
11303
11303
|
role: F.aria.defaultChartItemRole,
|
|
11304
|
-
ariaLabel:
|
|
11304
|
+
ariaLabel: Vi(),
|
|
11305
11305
|
hoverOnFocus: !0,
|
|
11306
11306
|
// show tooltip when the marker receives keyboard focus
|
|
11307
11307
|
nonScalingStroke: !0,
|
|
@@ -11311,7 +11311,7 @@ function yL(t) {
|
|
|
11311
11311
|
},
|
|
11312
11312
|
n
|
|
11313
11313
|
);
|
|
11314
|
-
return ti({ element: r, series: e, queryObject: a, errorStrings: o }), zf(r, e),
|
|
11314
|
+
return ti({ element: r, series: e, queryObject: a, errorStrings: o }), zf(r, e), Ii.new(s, {
|
|
11315
11315
|
sprite: r
|
|
11316
11316
|
});
|
|
11317
11317
|
});
|
|
@@ -11446,7 +11446,7 @@ function LL(t) {
|
|
|
11446
11446
|
seriesWereReinitialized: d,
|
|
11447
11447
|
valueFormat: Bd(),
|
|
11448
11448
|
defaultR2Value: f.notAvailable
|
|
11449
|
-
}), hL({ seriesConfig: a, series: s, sizePolicyChanged: u }),
|
|
11449
|
+
}), hL({ seriesConfig: a, series: s, sizePolicyChanged: u }), Oi(t) && Di({
|
|
11450
11450
|
styleCallback: () => xL({ root: e, chartConfig: i, markerSeries: s }),
|
|
11451
11451
|
series: s,
|
|
11452
11452
|
seriesConfig: a
|
|
@@ -11490,7 +11490,7 @@ function FL(t) {
|
|
|
11490
11490
|
}
|
|
11491
11491
|
function ji(t) {
|
|
11492
11492
|
const { chart: e, selectionSource: i } = t;
|
|
11493
|
-
|
|
11493
|
+
pt(e.uid, {
|
|
11494
11494
|
pendingSelectionQueries: !1
|
|
11495
11495
|
}), Kr(e) && FL(e), O(e.uid, "options")?.selectionData?.selectionItems?.[0] && Ha({
|
|
11496
11496
|
data: {
|
|
@@ -11506,7 +11506,7 @@ function al(t) {
|
|
|
11506
11506
|
let e = [];
|
|
11507
11507
|
if (To(t))
|
|
11508
11508
|
switch (!0) {
|
|
11509
|
-
case t instanceof
|
|
11509
|
+
case t instanceof Ri:
|
|
11510
11510
|
e = t.columns.values;
|
|
11511
11511
|
break;
|
|
11512
11512
|
case t instanceof Je:
|
|
@@ -11540,7 +11540,7 @@ function Nf(t, e) {
|
|
|
11540
11540
|
});
|
|
11541
11541
|
}
|
|
11542
11542
|
function TL(t) {
|
|
11543
|
-
const { chart: e, selectionIndexes: i, queryObject: a } = t, o = [], n = [], s = O(e.uid, "config"), r =
|
|
11543
|
+
const { chart: e, selectionIndexes: i, queryObject: a } = t, o = [], n = [], s = O(e.uid, "config"), r = ki(s), l = fi(s?.series ?? []), c = Z(s?.series), d = W(s?.series);
|
|
11544
11544
|
return e.series.each((u, f) => {
|
|
11545
11545
|
if (s && i && To(u) && u.get("visible") === !0) {
|
|
11546
11546
|
const g = s.series[0].x, h = pa(u), b = i.get(f);
|
|
@@ -11602,7 +11602,7 @@ function kL(t) {
|
|
|
11602
11602
|
});
|
|
11603
11603
|
}
|
|
11604
11604
|
function IL(t) {
|
|
11605
|
-
const { chart: e, chartConfig: i, options: a, selectionItems: o, layerOidField: n, queryObject: s } = t, r = W(i.series), l = Z(i.series), c =
|
|
11605
|
+
const { chart: e, chartConfig: i, options: a, selectionItems: o, layerOidField: n, queryObject: s } = t, r = W(i.series), l = Z(i.series), c = ki(i), d = xn(i), u = [];
|
|
11606
11606
|
let f = [];
|
|
11607
11607
|
const g = /* @__PURE__ */ new Map(), h = fi(i.series);
|
|
11608
11608
|
return e.series.each((b, p) => {
|
|
@@ -11641,7 +11641,7 @@ function IL(t) {
|
|
|
11641
11641
|
f.push(w);
|
|
11642
11642
|
else {
|
|
11643
11643
|
const M = /* @__PURE__ */ new Set();
|
|
11644
|
-
r === y.PieSeries &&
|
|
11644
|
+
r === y.PieSeries && wi(w) ? (xo({
|
|
11645
11645
|
groupOfSlicesDataContext: w
|
|
11646
11646
|
}) ?? []).forEach((P) => {
|
|
11647
11647
|
o.forEach((Y) => {
|
|
@@ -11732,7 +11732,7 @@ function jn(t) {
|
|
|
11732
11732
|
selectionItems: S,
|
|
11733
11733
|
layerOidField: v,
|
|
11734
11734
|
queryObject: a
|
|
11735
|
-
}) : R ? T = TL({ chart: e, selectionIndexes: p, queryObject: a }) : kL({ chart: e, chartConfig: i, selectionItems: S, options: r, layerOidField: v }), (I || R) && (!
|
|
11735
|
+
}) : R ? T = TL({ chart: e, selectionIndexes: p, queryObject: a }) : kL({ chart: e, chartConfig: i, selectionItems: S, options: r, layerOidField: v }), (I || R) && (!gt(S, T) || !gt(k, p)))
|
|
11736
11736
|
if (!T?.[0])
|
|
11737
11737
|
ji({ chart: e, selectionSource: ge.ProgrammaticSelection });
|
|
11738
11738
|
else {
|
|
@@ -11754,7 +11754,7 @@ function jn(t) {
|
|
|
11754
11754
|
async function Ro(t) {
|
|
11755
11755
|
const { chart: e, selectionSource: i, queryObject: a, errorStrings: o } = t, n = O(e.uid, "config"), s = _e(a);
|
|
11756
11756
|
if (n) {
|
|
11757
|
-
const r = O(e.uid, "options"), l = W(n.series), c = Z(n.series), d =
|
|
11757
|
+
const r = O(e.uid, "options"), l = W(n.series), c = Z(n.series), d = ki(n), u = fi(n.series), f = n.series[0].x, g = Ki(a), h = s ? void 0 : An(it(a))?.dateFieldsTimeZone;
|
|
11758
11758
|
let b;
|
|
11759
11759
|
zt(n) ? b = n.outTimeZone : za(n.series[0]) && (b = n.series[0].temporalBinning?.outTimeZone);
|
|
11760
11760
|
const p = it(a), S = "objectIdField" in p ? p.objectIdField : void 0, C = Lt(a), x = C.find((v) => v.name === f)?.type, L = C.find((v) => v.name === u[0])?.type;
|
|
@@ -11791,7 +11791,7 @@ async function Ro(t) {
|
|
|
11791
11791
|
if (S && E[S] !== void 0 && (typeof E[S] == "number" || typeof E[S] == "string"))
|
|
11792
11792
|
w.push(E[S]);
|
|
11793
11793
|
else {
|
|
11794
|
-
const ee = lr(Y) ? pi.uniqueIds : `${pi.uniqueIds}_${l === y.BoxPlotSeries ?
|
|
11794
|
+
const ee = lr(Y) ? pi.uniqueIds : `${pi.uniqueIds}_${l === y.BoxPlotSeries ? Ti({ where: Y }) : z}`, ve = E[ee] ?? E[pi.uniqueIds] ?? [], Le = fd({
|
|
11795
11795
|
dataContext: E,
|
|
11796
11796
|
options: r,
|
|
11797
11797
|
xAxisField: f,
|
|
@@ -11849,14 +11849,14 @@ async function Ro(t) {
|
|
|
11849
11849
|
});
|
|
11850
11850
|
}
|
|
11851
11851
|
} catch (v) {
|
|
11852
|
-
|
|
11852
|
+
pt(e.uid, { pendingSelectionQueries: !1 });
|
|
11853
11853
|
const { httpStatus: T } = v instanceof gi ? v.details.details : v.details ?? {};
|
|
11854
11854
|
if (T === 429)
|
|
11855
11855
|
AL(e);
|
|
11856
11856
|
else
|
|
11857
11857
|
throw v;
|
|
11858
11858
|
}
|
|
11859
|
-
|
|
11859
|
+
pt(e.uid, { pendingSelectionQueries: !1 });
|
|
11860
11860
|
}
|
|
11861
11861
|
}
|
|
11862
11862
|
function Pf(t) {
|
|
@@ -11914,7 +11914,7 @@ function Lc(t, e) {
|
|
|
11914
11914
|
if (n !== void 0 && s !== void 0)
|
|
11915
11915
|
if (e instanceof Ee)
|
|
11916
11916
|
i = e.axisPositionToIndex(e.toAxisPosition(n)), a = e.axisPositionToIndex(e.toAxisPosition(s));
|
|
11917
|
-
else if (e instanceof
|
|
11917
|
+
else if (e instanceof Pe) {
|
|
11918
11918
|
i = e.positionToDate(e.toAxisPosition(n)).getTime(), a = e.positionToDate(e.toAxisPosition(s)).getTime();
|
|
11919
11919
|
const r = e.getPrivate("baseInterval"), l = Th.getDuration(r.timeUnit, r.count) * (e.chart?.series.getIndex(0)?.get("locationX") ?? 1);
|
|
11920
11920
|
i -= l, a -= l;
|
|
@@ -12011,10 +12011,10 @@ function NL(t) {
|
|
|
12011
12011
|
});
|
|
12012
12012
|
}
|
|
12013
12013
|
function Ua(t, e) {
|
|
12014
|
-
const { y: i, query: a } = e, n = Z(t.series) === V.BarAndLineSplitByNoAggregation ? `${i.toString()}_${
|
|
12014
|
+
const { y: i, query: a } = e, n = Z(t.series) === V.BarAndLineSplitByNoAggregation ? `${i.toString()}_${Ti({ where: a?.where, keepSurroundingQuotes: !1, escape: !1 })}` : [i].flat()[0], s = F.xAxisField, r = t.rotated === !0 ? "categoryYField" : "categoryXField", l = t.rotated === !0 ? "valueYField" : "valueXField", c = t.axes?.[0]?.valueFormat?.type === y.CategoryAxisFormat ? r : l, d = t.rotated === !0 ? "valueXField" : "valueYField";
|
|
12015
12015
|
return { xField: s, yField: n, xAxisField: c, yAxisField: d };
|
|
12016
12016
|
}
|
|
12017
|
-
function
|
|
12017
|
+
function Oi(t) {
|
|
12018
12018
|
const {
|
|
12019
12019
|
chartConfig: e,
|
|
12020
12020
|
seriesWereReinitialized: i,
|
|
@@ -12039,7 +12039,7 @@ function wi(t) {
|
|
|
12039
12039
|
}
|
|
12040
12040
|
return u || f;
|
|
12041
12041
|
}
|
|
12042
|
-
function
|
|
12042
|
+
function Di(t) {
|
|
12043
12043
|
const { series: e, styleCallback: i, seriesConfig: a } = t, o = O(e.chart?.uid ?? Number.NaN, "config");
|
|
12044
12044
|
o && bv({
|
|
12045
12045
|
series: e,
|
|
@@ -12101,7 +12101,7 @@ function qn(t, e) {
|
|
|
12101
12101
|
const { series: i } = e, a = W(i);
|
|
12102
12102
|
switch (!0) {
|
|
12103
12103
|
case t instanceof xe:
|
|
12104
|
-
t.columns.template.setAll({ hoverOnFocus: !0 }), a === y.HeatSeries ? t.columns.template.set("ariaLabel", _L()) : t.columns.template.set("ariaLabel",
|
|
12104
|
+
t.columns.template.setAll({ hoverOnFocus: !0 }), a === y.HeatSeries ? t.columns.template.set("ariaLabel", _L()) : t.columns.template.set("ariaLabel", Vi());
|
|
12105
12105
|
break;
|
|
12106
12106
|
case t instanceof Je:
|
|
12107
12107
|
t.slices.template.setAll({
|
|
@@ -12175,7 +12175,7 @@ function qa(t, e) {
|
|
|
12175
12175
|
let a, o;
|
|
12176
12176
|
return e?.series.forEach((n, s) => {
|
|
12177
12177
|
let r = !1;
|
|
12178
|
-
i !== y.BoxPlotSeries || t instanceof
|
|
12178
|
+
i !== y.BoxPlotSeries || t instanceof Ri ? r = t.get("id") === n.id : t instanceof la ? r = t.get("id")?.replace(`_${me.Top}`, "") === n.id || t.get("id")?.replace(`_${me.Median}`, "") === n.id || t.get("id")?.replace(`_${me.Bottom}`, "") === n.id : t instanceof ne && (r = t.get("id")?.replace(`_${me.Outliers}`, "") === n.id), r && (a = n, o = s);
|
|
12179
12179
|
}), { seriesConfig: a, seriesIndex: o };
|
|
12180
12180
|
}
|
|
12181
12181
|
function Fc(t, e) {
|
|
@@ -12384,7 +12384,7 @@ function Ac(t) {
|
|
|
12384
12384
|
isXAxis: !0,
|
|
12385
12385
|
chartType: a,
|
|
12386
12386
|
valueFormat: i
|
|
12387
|
-
}), n = bt(i) && e instanceof
|
|
12387
|
+
}), n = bt(i) && e instanceof Pe, s = Oe(i) && e instanceof ye && !(e instanceof Pe), r = o && e instanceof Ee;
|
|
12388
12388
|
return !n && !s && !r;
|
|
12389
12389
|
}
|
|
12390
12390
|
function _f(t) {
|
|
@@ -12418,11 +12418,11 @@ function qL(t, e) {
|
|
|
12418
12418
|
const o = e !== void 0 ? "html" : "text";
|
|
12419
12419
|
a.adapters.add(o, (n, s) => {
|
|
12420
12420
|
let r = n;
|
|
12421
|
-
const l =
|
|
12422
|
-
if (!
|
|
12421
|
+
const l = Ai(t.uid, "labelFormatter");
|
|
12422
|
+
if (!Ne(s.uid, "isGuide") && l !== void 0) {
|
|
12423
12423
|
let d, u;
|
|
12424
12424
|
switch (!0) {
|
|
12425
|
-
case t instanceof
|
|
12425
|
+
case t instanceof Pe:
|
|
12426
12426
|
case t instanceof ye:
|
|
12427
12427
|
d = s.dataItem?._settings?.value, u = d;
|
|
12428
12428
|
break;
|
|
@@ -12446,21 +12446,31 @@ function qL(t, e) {
|
|
|
12446
12446
|
d !== void 0 && (r = l(d, u), o === "html" && (r = Xe(r)));
|
|
12447
12447
|
}
|
|
12448
12448
|
return r;
|
|
12449
|
-
}), o === "html"
|
|
12449
|
+
}), o === "html" ? a.set("html", F.htmlEmptyContent) : a.set("html", void 0);
|
|
12450
12450
|
}
|
|
12451
12451
|
}
|
|
12452
|
-
function ZL(t) {
|
|
12452
|
+
function ZL(t, e) {
|
|
12453
|
+
const i = t.get("renderer");
|
|
12454
|
+
if (e === "html") {
|
|
12455
|
+
const a = i.labels.template;
|
|
12456
|
+
a.set("html", void 0), a.set("html", F.htmlEmptyContent);
|
|
12457
|
+
} else
|
|
12458
|
+
i.labels.each((a) => {
|
|
12459
|
+
Ne(a.uid, "isGuide") !== !0 && a.text.markDirtyText();
|
|
12460
|
+
});
|
|
12461
|
+
}
|
|
12462
|
+
function KL(t) {
|
|
12453
12463
|
const { axis: e, isRotated: i, chartConfig: a } = t, o = e.get("renderer");
|
|
12454
12464
|
if (o === void 0)
|
|
12455
12465
|
return;
|
|
12456
|
-
const n = e instanceof Ee || e instanceof
|
|
12466
|
+
const n = e instanceof Ee || e instanceof Pe, s = e instanceof ye && !(e instanceof Pe) && i === !0 && qi(o, i);
|
|
12457
12467
|
if (n || s) {
|
|
12458
12468
|
const r = a.orderOptions?.data && "orderBy" in a.orderOptions.data ? a.orderOptions.data.orderBy === bn.Descending : !1;
|
|
12459
12469
|
let l = i === !0;
|
|
12460
|
-
r && e instanceof
|
|
12470
|
+
r && e instanceof Pe && (l = !l), o.set("inversed", l);
|
|
12461
12471
|
}
|
|
12462
12472
|
}
|
|
12463
|
-
function
|
|
12473
|
+
function QL(t) {
|
|
12464
12474
|
const {
|
|
12465
12475
|
axis: e,
|
|
12466
12476
|
isXAxis: i,
|
|
@@ -12479,21 +12489,22 @@ function KL(t) {
|
|
|
12479
12489
|
isXAxis: i,
|
|
12480
12490
|
chartType: a,
|
|
12481
12491
|
valueFormat: o
|
|
12482
|
-
}), h = e instanceof ye && !(e instanceof
|
|
12492
|
+
}), h = e instanceof ye && !(e instanceof Pe) && Oe(o), b = e instanceof Pe && bt(o), p = e instanceof Ee && g;
|
|
12483
12493
|
if (!(h || b || p))
|
|
12484
12494
|
wn("mismatchAxisAndValueFormat", u);
|
|
12485
12495
|
else {
|
|
12486
|
-
|
|
12487
|
-
|
|
12488
|
-
|
|
12496
|
+
const C = r !== void 0 ? "html" : "text", x = Ai(e.uid, "labelFormatSignature"), L = x === void 0, v = x !== void 0 && x.outputMode !== C, T = x === void 0 || x.outputMode !== C || x.externalAxisLabelFormatter !== r || !gt(x.valueFormat, o);
|
|
12497
|
+
(L || v) && qL(e, r);
|
|
12498
|
+
let k = r;
|
|
12499
|
+
r === void 0 && (a === y.HeatSeries ? k = UL({
|
|
12489
12500
|
chart: f,
|
|
12490
12501
|
isXAxis: i,
|
|
12491
12502
|
formatOptions: o
|
|
12492
|
-
}) : p ?
|
|
12503
|
+
}) : p ? k = YL({
|
|
12493
12504
|
chart: f,
|
|
12494
12505
|
formatOptions: o,
|
|
12495
12506
|
isNonAggregatedChart: n
|
|
12496
|
-
}) : h ?
|
|
12507
|
+
}) : h ? k = XL({
|
|
12497
12508
|
axis: e,
|
|
12498
12509
|
intlOptions: o.intlOptions,
|
|
12499
12510
|
overridePercentMultiplication: s,
|
|
@@ -12504,11 +12515,18 @@ function KL(t) {
|
|
|
12504
12515
|
isTimeOnlyField: l,
|
|
12505
12516
|
setTimeZone: c,
|
|
12506
12517
|
outTimeZone: d
|
|
12507
|
-
})), Ya(e.uid, {
|
|
12518
|
+
})), Ya(e.uid, {
|
|
12519
|
+
labelFormatter: k,
|
|
12520
|
+
labelFormatSignature: {
|
|
12521
|
+
outputMode: C,
|
|
12522
|
+
externalAxisLabelFormatter: r,
|
|
12523
|
+
valueFormat: o
|
|
12524
|
+
}
|
|
12525
|
+
}), T && !L && ZL(e, C);
|
|
12508
12526
|
}
|
|
12509
12527
|
}
|
|
12510
12528
|
}
|
|
12511
|
-
function
|
|
12529
|
+
function JL(t) {
|
|
12512
12530
|
const {
|
|
12513
12531
|
chart: e,
|
|
12514
12532
|
chartConfig: { axes: i, series: a },
|
|
@@ -12528,16 +12546,16 @@ function qi(t, e) {
|
|
|
12528
12546
|
function Zn(t) {
|
|
12529
12547
|
return t instanceof ft;
|
|
12530
12548
|
}
|
|
12531
|
-
function
|
|
12549
|
+
function e0(t) {
|
|
12532
12550
|
return t instanceof vi;
|
|
12533
12551
|
}
|
|
12534
|
-
function
|
|
12552
|
+
function t0(t) {
|
|
12535
12553
|
const { axis: e, isLogarithmic: i, axisConfigIndex: a } = t, o = O(e.chart?.uid ?? Number.NaN, "config"), n = i === !0 && br({
|
|
12536
12554
|
chartConfig: o,
|
|
12537
12555
|
axisConfigIndex: a,
|
|
12538
12556
|
chartData: e.chart?.series.getIndex(0)?.data.values
|
|
12539
12557
|
});
|
|
12540
|
-
(e instanceof
|
|
12558
|
+
(e instanceof Pe || e instanceof ye) && e.setAll({
|
|
12541
12559
|
logarithmic: n,
|
|
12542
12560
|
// zero values could mess up log calculations
|
|
12543
12561
|
// https://www.amcharts.com/docs/v5/charts/xy-chart/axes/value-axis/#Avoiding_zero_values
|
|
@@ -12546,7 +12564,7 @@ function e0(t) {
|
|
|
12546
12564
|
maxPrecision: n ? 0 : void 0
|
|
12547
12565
|
});
|
|
12548
12566
|
}
|
|
12549
|
-
function
|
|
12567
|
+
function i0(t, e) {
|
|
12550
12568
|
if (t instanceof ye) {
|
|
12551
12569
|
const { integerOnlyValues: i, valueFormat: a } = e, o = pd(a) ? a.intlOptions.maximumFractionDigits : void 0;
|
|
12552
12570
|
t.set("maxPrecision", i === !0 || o === 0 ? 0 : Number.NaN);
|
|
@@ -12556,7 +12574,7 @@ function Gf(t, e) {
|
|
|
12556
12574
|
const { chart: i } = e, a = Gi.new(t, { forceHidden: !0 });
|
|
12557
12575
|
return e.set("tooltip", a), a.adapters.add("labelText", (o, n) => {
|
|
12558
12576
|
let s = o ?? "";
|
|
12559
|
-
const r =
|
|
12577
|
+
const r = Ai(e.uid, "labelFormatter");
|
|
12560
12578
|
if (!n.isHidden() && r && i) {
|
|
12561
12579
|
const { label: l } = n, c = l.get("text") ?? "";
|
|
12562
12580
|
if (e instanceof ye) {
|
|
@@ -12570,13 +12588,13 @@ function Gf(t, e) {
|
|
|
12570
12588
|
return s;
|
|
12571
12589
|
}), a;
|
|
12572
12590
|
}
|
|
12573
|
-
function
|
|
12591
|
+
function a0(t) {
|
|
12574
12592
|
const { root: e, axis: i, displayCursorTooltip: a } = t;
|
|
12575
12593
|
(i.get("tooltip") ?? Gf(e, i)).set("forceHidden", a !== !0);
|
|
12576
12594
|
}
|
|
12577
|
-
function
|
|
12595
|
+
function o0(t) {
|
|
12578
12596
|
const { axis: e, timeIntervalInfo: i, dateBaseInterval: a, xFieldIsTimeOnly: o } = t;
|
|
12579
|
-
if (e instanceof
|
|
12597
|
+
if (e instanceof Pe) {
|
|
12580
12598
|
let n, s = 1, { size: r, unit: l } = i ?? {};
|
|
12581
12599
|
if (l || ({ size: r, unit: l } = a ?? {}), r && l !== void 0) {
|
|
12582
12600
|
switch (l) {
|
|
@@ -12607,13 +12625,13 @@ function a0(t) {
|
|
|
12607
12625
|
n === void 0 && o && (n = "second", s = 1), n !== void 0 && e.set("baseInterval", { timeUnit: n, count: s });
|
|
12608
12626
|
}
|
|
12609
12627
|
}
|
|
12610
|
-
function
|
|
12628
|
+
function n0(t, e) {
|
|
12611
12629
|
let { buffer: i } = e ?? {};
|
|
12612
|
-
return i ??= F.buffer, t instanceof ye && !(t instanceof
|
|
12630
|
+
return i ??= F.buffer, t instanceof ye && !(t instanceof Pe) && !i;
|
|
12613
12631
|
}
|
|
12614
|
-
function
|
|
12632
|
+
function s0(t, e) {
|
|
12615
12633
|
let i = !1;
|
|
12616
|
-
return t instanceof ye && !(t instanceof
|
|
12634
|
+
return t instanceof ye && !(t instanceof Pe) && (i = n0(t, e), t.set("strictMinMax", i)), i;
|
|
12617
12635
|
}
|
|
12618
12636
|
function Es(t, e) {
|
|
12619
12637
|
let i = t;
|
|
@@ -12627,19 +12645,19 @@ function Tc(t) {
|
|
|
12627
12645
|
let e = F.treatZeroValueAs;
|
|
12628
12646
|
return Number.isFinite(t) && t > 0 && t < e && (e = Es(t, !1)), e;
|
|
12629
12647
|
}
|
|
12630
|
-
function
|
|
12648
|
+
function r0(t) {
|
|
12631
12649
|
const { dataItems: e, seriesConfig: i, filteredSeriesIds: a, isXAxis: o } = t;
|
|
12632
12650
|
let n = [];
|
|
12633
12651
|
return o && i[0] !== void 0 ? n = [i[0].x] : o || (n = fi(i, a)), Tg(e, n);
|
|
12634
12652
|
}
|
|
12635
|
-
function
|
|
12653
|
+
function l0(t) {
|
|
12636
12654
|
const { rawDataMin: e, dataItems: i, seriesConfig: a, filteredSeriesIds: o, isXAxis: n, stackedType: s } = t;
|
|
12637
12655
|
let r;
|
|
12638
12656
|
s === te.Stacked100 ? Number.isFinite(e) && e > 0 && e <= 100 && (r = e) : Number.isFinite(e) && e > 0 && (r = e), r === void 0 && s === te.Stacked100 && !n ? r = Ag({
|
|
12639
12657
|
dataItems: i,
|
|
12640
12658
|
seriesConfig: a,
|
|
12641
12659
|
filteredSeriesIds: o
|
|
12642
|
-
}) : r === void 0 && (r =
|
|
12660
|
+
}) : r === void 0 && (r = r0({
|
|
12643
12661
|
dataItems: i,
|
|
12644
12662
|
seriesConfig: a,
|
|
12645
12663
|
filteredSeriesIds: o,
|
|
@@ -12648,7 +12666,7 @@ function r0(t) {
|
|
|
12648
12666
|
const l = r !== void 0 ? iu(r) : void 0;
|
|
12649
12667
|
return l !== void 0 && l > 0 ? l : F.treatZeroValueAs;
|
|
12650
12668
|
}
|
|
12651
|
-
function
|
|
12669
|
+
function c0(t) {
|
|
12652
12670
|
const { axis: e, xAxis: i, isSecondaryYAxis: a, chartType: o, stackedType: n, isLogarithmic: s } = t;
|
|
12653
12671
|
let r = !1;
|
|
12654
12672
|
const l = [
|
|
@@ -12669,18 +12687,18 @@ function l0(t) {
|
|
|
12669
12687
|
}
|
|
12670
12688
|
return r;
|
|
12671
12689
|
}
|
|
12672
|
-
function
|
|
12690
|
+
function d0(t) {
|
|
12673
12691
|
const { dataMinMax: e, chartType: i, stackedType: a, isXAxis: o, minimumFromConfig: n, maximumFromConfig: s, isLogarithmic: r } = t, { minX: l, maxX: c, minY: d, maxY: u } = e, [f, g] = o ? [l ?? Number.NaN, c ?? Number.NaN] : [d, u];
|
|
12674
12692
|
let h = f, b = g;
|
|
12675
12693
|
return a === te.Stacked100 && !o ? (h = Number.NaN, b = Number.NaN) : ((i === y.BarSeries || i === y.ComboLineAndBarSeries || i === y.HistogramSeries && !o || (i === y.LineSeries || i === y.RadarSeries) && a === te.Stacked && !o) && (h = Math.min(f, 0), b = Math.max(g, 0)), h = n ?? h, b = s ?? b), r === !0 && (h = Number.isFinite(h) ? Es(h, !1) : h, b = Number.isFinite(b) ? Es(b, !0) : b), { min: h ?? Number.NaN, max: b ?? Number.NaN };
|
|
12676
12694
|
}
|
|
12677
|
-
function
|
|
12695
|
+
function u0(t) {
|
|
12678
12696
|
let e = !1;
|
|
12679
12697
|
return Array.isArray(t) && (e = t.every((i) => i !== null && typeof i == "object" && !Array.isArray(i))), e;
|
|
12680
12698
|
}
|
|
12681
|
-
function
|
|
12699
|
+
function f0(t, e) {
|
|
12682
12700
|
let i = [];
|
|
12683
|
-
return t !== void 0 ? i = t :
|
|
12701
|
+
return t !== void 0 ? i = t : u0(e) && (i = e), i;
|
|
12684
12702
|
}
|
|
12685
12703
|
function Xf(t) {
|
|
12686
12704
|
const { axis: e, xAxis: i, isSecondaryYAxis: a, data: o, minimumFromConfig: n, maximumFromConfig: s, isLogarithmic: r } = t;
|
|
@@ -12693,7 +12711,7 @@ function Xf(t) {
|
|
|
12693
12711
|
chartConfig: u,
|
|
12694
12712
|
isSecondaryYAxis: a,
|
|
12695
12713
|
seriesIds: b
|
|
12696
|
-
}), S =
|
|
12714
|
+
}), S = f0(
|
|
12697
12715
|
qt(o),
|
|
12698
12716
|
d.series.getIndex(0)?.data.values
|
|
12699
12717
|
), C = hd({
|
|
@@ -12701,7 +12719,7 @@ function Xf(t) {
|
|
|
12701
12719
|
// using either the provided data (at creation or after a data update) or the current series data
|
|
12702
12720
|
chartData: S,
|
|
12703
12721
|
filteredSeriesIds: p
|
|
12704
|
-
}), x = i ? C.minX ?? Number.NaN : C.minY, L =
|
|
12722
|
+
}), x = i ? C.minX ?? Number.NaN : C.minY, L = d0({
|
|
12705
12723
|
dataMinMax: C,
|
|
12706
12724
|
chartType: f,
|
|
12707
12725
|
stackedType: g,
|
|
@@ -12710,7 +12728,7 @@ function Xf(t) {
|
|
|
12710
12728
|
maximumFromConfig: s,
|
|
12711
12729
|
isLogarithmic: r
|
|
12712
12730
|
});
|
|
12713
|
-
l = L.min, c = L.max, r === !0 && l !== void 0 && l !== null && (l <= 0 || !Number.isFinite(l)) && (l =
|
|
12731
|
+
l = L.min, c = L.max, r === !0 && l !== void 0 && l !== null && (l <= 0 || !Number.isFinite(l)) && (l = l0({
|
|
12714
12732
|
rawDataMin: x,
|
|
12715
12733
|
dataItems: Fg(S) ? [] : S,
|
|
12716
12734
|
seriesConfig: u.series,
|
|
@@ -12726,12 +12744,12 @@ function _o(t) {
|
|
|
12726
12744
|
const { axis: e, min: i, max: a } = t, o = i ?? Number.NaN, n = a ?? Number.NaN;
|
|
12727
12745
|
o >= n ? e.setAll({ min: Number.NaN, max: Number.NaN }) : e.setAll({ min: o, max: n });
|
|
12728
12746
|
}
|
|
12729
|
-
function
|
|
12747
|
+
function m0(t) {
|
|
12730
12748
|
const { isXAxis: e, chartType: i, stackedType: a } = t;
|
|
12731
12749
|
return !e && (i === y.HistogramSeries || a === te.Stacked);
|
|
12732
12750
|
}
|
|
12733
|
-
function
|
|
12734
|
-
const { axis: e, data: i, minimumFromConfig: a, maximumFromConfig: o, isSecondaryYAxis: n, isRotated: s, chartType: r, stackedType: l } = t, c = qi(e.get("renderer"), s), d =
|
|
12751
|
+
function g0(t) {
|
|
12752
|
+
const { axis: e, data: i, minimumFromConfig: a, maximumFromConfig: o, isSecondaryYAxis: n, isRotated: s, chartType: r, stackedType: l } = t, c = qi(e.get("renderer"), s), d = m0({
|
|
12735
12753
|
isXAxis: c,
|
|
12736
12754
|
chartType: r,
|
|
12737
12755
|
stackedType: l
|
|
@@ -12750,7 +12768,7 @@ function m0(t) {
|
|
|
12750
12768
|
} else l === te.Stacked100 && (u = 0, f = 100);
|
|
12751
12769
|
_o({ axis: e, min: u, max: f });
|
|
12752
12770
|
}
|
|
12753
|
-
function
|
|
12771
|
+
function h0(t) {
|
|
12754
12772
|
const {
|
|
12755
12773
|
axis: e,
|
|
12756
12774
|
axisConfig: i,
|
|
@@ -12765,8 +12783,8 @@ function g0(t) {
|
|
|
12765
12783
|
} = t, { chart: u } = e;
|
|
12766
12784
|
if (u && e instanceof ye) {
|
|
12767
12785
|
const f = e, g = qi(f.get("renderer"), l);
|
|
12768
|
-
if (
|
|
12769
|
-
if (
|
|
12786
|
+
if (s0(f, i))
|
|
12787
|
+
if (c0({
|
|
12770
12788
|
chartType: s,
|
|
12771
12789
|
stackedType: r,
|
|
12772
12790
|
isLogarithmic: n,
|
|
@@ -12785,13 +12803,13 @@ function g0(t) {
|
|
|
12785
12803
|
isLogarithmic: n
|
|
12786
12804
|
});
|
|
12787
12805
|
let p = b.min;
|
|
12788
|
-
n && !(f instanceof
|
|
12806
|
+
n && !(f instanceof Pe) && p !== void 0 && p !== null && ((Number.isNaN(p) || p <= 0) && (p = F.treatZeroValueAs), f.set("treatZeroAs", Tc(p))), _o({ axis: f, min: p, max: b.max });
|
|
12789
12807
|
} else {
|
|
12790
12808
|
let b = a;
|
|
12791
|
-
n && !(f instanceof
|
|
12809
|
+
n && !(f instanceof Pe) && b !== void 0 && b !== null && ((Number.isNaN(b) || b <= 0) && (b = F.treatZeroValueAs), f.set("treatZeroAs", Tc(b))), _o({ axis: f, min: b, max: o });
|
|
12792
12810
|
}
|
|
12793
12811
|
else
|
|
12794
|
-
|
|
12812
|
+
g0({
|
|
12795
12813
|
axis: f,
|
|
12796
12814
|
data: c,
|
|
12797
12815
|
minimumFromConfig: a,
|
|
@@ -12825,7 +12843,7 @@ function dn(t, e) {
|
|
|
12825
12843
|
buffer: L,
|
|
12826
12844
|
isLogarithmic: v
|
|
12827
12845
|
} = p ?? {};
|
|
12828
|
-
|
|
12846
|
+
h0({
|
|
12829
12847
|
axis: b,
|
|
12830
12848
|
axisConfig: p,
|
|
12831
12849
|
data: e,
|
|
@@ -12842,16 +12860,16 @@ function dn(t, e) {
|
|
|
12842
12860
|
}
|
|
12843
12861
|
}
|
|
12844
12862
|
}
|
|
12845
|
-
function
|
|
12863
|
+
function p0(t) {
|
|
12846
12864
|
t.get("renderer").grid.template.adapters.add("strokeWidth", (e, i) => {
|
|
12847
|
-
const a =
|
|
12865
|
+
const a = Ai(
|
|
12848
12866
|
t.uid,
|
|
12849
12867
|
"zeroGridLine"
|
|
12850
12868
|
), o = a?.displayZeroLine === !0;
|
|
12851
12869
|
let n = a?.strokeWidth ?? F.lineWidth;
|
|
12852
12870
|
return i.get("themeTags")?.includes("base") && o && (n = (n === 0 ? 1 : n) * 1.5), n;
|
|
12853
12871
|
}), t.get("renderer").grid.template.adapters.add("strokeOpacity", (e, i) => {
|
|
12854
|
-
const a =
|
|
12872
|
+
const a = Ai(
|
|
12855
12873
|
t.uid,
|
|
12856
12874
|
"zeroGridLine"
|
|
12857
12875
|
), o = a?.displayZeroLine === !0;
|
|
@@ -12866,11 +12884,11 @@ function rl(t) {
|
|
|
12866
12884
|
t.chart instanceof pe && dn(t.chart);
|
|
12867
12885
|
});
|
|
12868
12886
|
}
|
|
12869
|
-
function
|
|
12887
|
+
function b0(t) {
|
|
12870
12888
|
let e = 0;
|
|
12871
12889
|
return t.dataItems.forEach((i) => {
|
|
12872
12890
|
const a = i.get("label");
|
|
12873
|
-
a !== void 0 &&
|
|
12891
|
+
a !== void 0 && Ne(a.uid, "isGuide") !== !0 && a.getText() !== void 0 && a.height() > e && a.isVisible() && (e = a.height());
|
|
12874
12892
|
}), e;
|
|
12875
12893
|
}
|
|
12876
12894
|
function kc(t, e) {
|
|
@@ -12903,10 +12921,10 @@ function Ic(t) {
|
|
|
12903
12921
|
function Rc(t) {
|
|
12904
12922
|
t !== void 0 && t.setAll({ start: 0, end: 1 });
|
|
12905
12923
|
}
|
|
12906
|
-
function
|
|
12924
|
+
function y0(t) {
|
|
12907
12925
|
t instanceof pe && (t.xAxes.each((e) => Ic({ axis: e })), t.yAxes.each((e) => Ic({ axis: e })), Rc(t.get("scrollbarX")), Rc(t.get("scrollbarY")));
|
|
12908
12926
|
}
|
|
12909
|
-
function
|
|
12927
|
+
function S0(t) {
|
|
12910
12928
|
const { axis: e, guide: i, guideIndex: a } = t, { root: o, chart: n } = e, s = i.get("axisFill");
|
|
12911
12929
|
s?.set("tooltip", Gi.new(o, { autoTextColor: !1 }));
|
|
12912
12930
|
const r = s?.get("tooltip");
|
|
@@ -12927,14 +12945,14 @@ function y0(t) {
|
|
|
12927
12945
|
let u = c;
|
|
12928
12946
|
const { dataItem: f } = d;
|
|
12929
12947
|
if (!(e.get("renderer") instanceof ei)) {
|
|
12930
|
-
const g =
|
|
12948
|
+
const g = Ai(
|
|
12931
12949
|
e.uid,
|
|
12932
12950
|
"guideTooltipFormatter"
|
|
12933
12951
|
);
|
|
12934
12952
|
if (g !== void 0 && f instanceof Tr) {
|
|
12935
12953
|
let h, b;
|
|
12936
12954
|
switch (!0) {
|
|
12937
|
-
case e instanceof
|
|
12955
|
+
case e instanceof Pe:
|
|
12938
12956
|
case e instanceof ye:
|
|
12939
12957
|
h = f.get("value"), b = f.get("endValue");
|
|
12940
12958
|
break;
|
|
@@ -12970,14 +12988,14 @@ function y0(t) {
|
|
|
12970
12988
|
}));
|
|
12971
12989
|
}
|
|
12972
12990
|
}
|
|
12973
|
-
function
|
|
12991
|
+
function C0(t, e) {
|
|
12974
12992
|
return (i) => {
|
|
12975
12993
|
const { guideName: a, start: o, end: n } = i, { chart: s, root: r } = t;
|
|
12976
12994
|
let l = "";
|
|
12977
12995
|
if (s !== void 0) {
|
|
12978
12996
|
const c = O(s.uid, "config"), d = O(s.uid, "isRotated"), f = !qi(t.get("renderer"), d) ? 1 : 0, h = c?.axes?.[f]?.guides;
|
|
12979
12997
|
let b = o, p = n;
|
|
12980
|
-
if (t instanceof
|
|
12998
|
+
if (t instanceof Pe) {
|
|
12981
12999
|
let v;
|
|
12982
13000
|
if (s !== void 0) {
|
|
12983
13001
|
const T = O(t.chart?.uid ?? Number.NaN, "formatLocale");
|
|
@@ -12994,7 +13012,7 @@ function S0(t, e) {
|
|
|
12994
13012
|
} else if (t instanceof ye && !(o instanceof Date) && !(n instanceof Date)) {
|
|
12995
13013
|
const v = h?.find((R) => R.name === a), { start: T, end: k } = Uf(t, v);
|
|
12996
13014
|
Number.isFinite(T) && (b = T), Number.isFinite(k) && (p = k);
|
|
12997
|
-
const I =
|
|
13015
|
+
const I = Ai(t.uid, "numberFormatter") ?? ((R) => Vd.new(r, {}).format(R));
|
|
12998
13016
|
b = I(b), p !== void 0 && (p = I(p));
|
|
12999
13017
|
} else t instanceof Ee && (b = o, p = n);
|
|
13000
13018
|
const S = b.toString(), C = p?.toString() ?? "";
|
|
@@ -13008,10 +13026,10 @@ function S0(t, e) {
|
|
|
13008
13026
|
return l;
|
|
13009
13027
|
};
|
|
13010
13028
|
}
|
|
13011
|
-
function
|
|
13029
|
+
function x0(t) {
|
|
13012
13030
|
const { axis: e, guideTooltipFormatter: i, utilsStrings: a } = t;
|
|
13013
13031
|
Ya(e.uid, {
|
|
13014
|
-
guideTooltipFormatter: i ??
|
|
13032
|
+
guideTooltipFormatter: i ?? C0(e, a)
|
|
13015
13033
|
});
|
|
13016
13034
|
}
|
|
13017
13035
|
function wc(t) {
|
|
@@ -13019,7 +13037,7 @@ function wc(t) {
|
|
|
13019
13037
|
let n = e;
|
|
13020
13038
|
if (e != null)
|
|
13021
13039
|
switch (!0) {
|
|
13022
|
-
case i instanceof
|
|
13040
|
+
case i instanceof Pe:
|
|
13023
13041
|
n = e;
|
|
13024
13042
|
break;
|
|
13025
13043
|
case i instanceof Ee:
|
|
@@ -13036,7 +13054,7 @@ function wc(t) {
|
|
|
13036
13054
|
}
|
|
13037
13055
|
function ll(t, e) {
|
|
13038
13056
|
return t.axisRanges?.values?.filter((a) => {
|
|
13039
|
-
const o = a.get("label"), n =
|
|
13057
|
+
const o = a.get("label"), n = Ne(o?.uid ?? Number.NaN, "isGuide") ?? !1, s = Ne(o?.uid ?? Number.NaN, "isGaugeAxisLabel") ?? !1;
|
|
13040
13058
|
let r = !1;
|
|
13041
13059
|
switch (e) {
|
|
13042
13060
|
case Fe.Ticks:
|
|
@@ -13052,7 +13070,7 @@ function ll(t, e) {
|
|
|
13052
13070
|
return r;
|
|
13053
13071
|
}) ?? [];
|
|
13054
13072
|
}
|
|
13055
|
-
function
|
|
13073
|
+
function v0(t) {
|
|
13056
13074
|
const { axis: e, guideConfig: i, above: a } = t, o = i !== void 0, n = e.axisRanges.length, s = e.axisRanges.insertIndex(n, e.makeDataItem({ above: a }));
|
|
13057
13075
|
o && (a === !0 && s.get("axisFill")?.setAll({ layer: F.zIndexes.customLayer10 }), Cv({
|
|
13058
13076
|
guide: s,
|
|
@@ -13065,18 +13083,18 @@ function x0(t) {
|
|
|
13065
13083
|
const l = s.get("grid");
|
|
13066
13084
|
return l !== void 0 && o && l.set("strokeOpacity", 0), s;
|
|
13067
13085
|
}
|
|
13068
|
-
function
|
|
13069
|
-
const { axis: e, guideIndex: i, guideConfig: a } = t, o =
|
|
13070
|
-
|
|
13086
|
+
function L0(t) {
|
|
13087
|
+
const { axis: e, guideIndex: i, guideConfig: a } = t, o = v0({ axis: e, guideConfig: a, above: a?.above });
|
|
13088
|
+
S0({ axis: e, guide: o, guideIndex: i });
|
|
13071
13089
|
const n = o.get("tick"), s = o.get("label"), r = o.get("grid");
|
|
13072
13090
|
n !== void 0 && n.set("disabled", !0), s !== void 0 && s.set("inside", !0), r !== void 0 && r.set("disabled", !0);
|
|
13073
13091
|
}
|
|
13074
|
-
function
|
|
13092
|
+
function F0(t, e) {
|
|
13075
13093
|
const a = ll(t, Fe.Guides).length, n = (e?.length ?? a) - a;
|
|
13076
13094
|
for (let s = 0; s < n; s += 1)
|
|
13077
|
-
|
|
13095
|
+
L0({ axis: t, guideIndex: s, guideConfig: e?.[s] });
|
|
13078
13096
|
}
|
|
13079
|
-
function
|
|
13097
|
+
function A0(t, e) {
|
|
13080
13098
|
const { start: i, end: a } = e;
|
|
13081
13099
|
let o = i !== null ? i : void 0, n = a !== null ? a : void 0;
|
|
13082
13100
|
const { chart: s } = t, r = O(s?.uid ?? Number.NaN, "config");
|
|
@@ -13109,20 +13127,20 @@ function Uf(t, e) {
|
|
|
13109
13127
|
o = { isValidGuide: !1, start: void 0, end: void 0 };
|
|
13110
13128
|
return o;
|
|
13111
13129
|
}
|
|
13112
|
-
function
|
|
13130
|
+
function T0(t) {
|
|
13113
13131
|
const { axis: e, guide: i, guideConfig: a } = t, { start: o, end: n } = a;
|
|
13114
13132
|
if (o !== void 0) {
|
|
13115
13133
|
const { chart: s } = e;
|
|
13116
13134
|
let r;
|
|
13117
13135
|
if (e instanceof Ee && s instanceof pe && O(s.uid, "isNonAggregatedChart") === !0) {
|
|
13118
|
-
const { modifiedStart: l, modifiedEnd: c } =
|
|
13136
|
+
const { modifiedStart: l, modifiedEnd: c } = A0(e, a);
|
|
13119
13137
|
r = { isValidGuide: !0, start: l ?? o, end: c ?? n };
|
|
13120
13138
|
} else
|
|
13121
13139
|
r = Uf(e, a);
|
|
13122
13140
|
if (r.isValidGuide) {
|
|
13123
13141
|
let l, c;
|
|
13124
13142
|
switch (!0) {
|
|
13125
|
-
case e instanceof
|
|
13143
|
+
case e instanceof Pe:
|
|
13126
13144
|
case e instanceof ye:
|
|
13127
13145
|
l = "value", c = "endValue";
|
|
13128
13146
|
break;
|
|
@@ -13134,12 +13152,12 @@ function A0(t) {
|
|
|
13134
13152
|
}
|
|
13135
13153
|
}
|
|
13136
13154
|
}
|
|
13137
|
-
function
|
|
13155
|
+
function k0(t) {
|
|
13138
13156
|
const { axis: e, guide: i, guideConfig: a } = t;
|
|
13139
13157
|
if (i) {
|
|
13140
13158
|
const o = i.get("axisFill"), n = i.get("label");
|
|
13141
13159
|
if (a !== void 0) {
|
|
13142
|
-
Zx(i.uid, { name: a.name }), re(i, a.visible),
|
|
13160
|
+
Zx(i.uid, { name: a.name }), re(i, a.visible), T0({ axis: e, guide: i, guideConfig: a }), a.style.type === K.SLS ? Hi({
|
|
13143
13161
|
root: e.root,
|
|
13144
13162
|
element: o,
|
|
13145
13163
|
fillSymbol: { type: K.SFS, color: a.style?.color, outline: a.style },
|
|
@@ -13155,58 +13173,58 @@ function T0(t) {
|
|
|
13155
13173
|
o !== void 0 && o.set("disabled", !0), n !== void 0 && n.set("disabled", !0);
|
|
13156
13174
|
}
|
|
13157
13175
|
}
|
|
13158
|
-
function
|
|
13176
|
+
function I0(t) {
|
|
13159
13177
|
const { axis: e, guideConfigs: i, guideTooltipFormatter: a, utilsStrings: o } = t;
|
|
13160
13178
|
if (i !== void 0) {
|
|
13161
13179
|
const n = ll(e, Fe.Guides);
|
|
13162
13180
|
i.forEach((s, r) => {
|
|
13163
|
-
|
|
13164
|
-
}),
|
|
13181
|
+
k0({ axis: e, guide: n[r], guideConfig: s });
|
|
13182
|
+
}), x0({ axis: e, guideTooltipFormatter: a, utilsStrings: o });
|
|
13165
13183
|
}
|
|
13166
13184
|
}
|
|
13167
|
-
function
|
|
13185
|
+
function R0(t) {
|
|
13168
13186
|
const { axis: e, tickOrGuide: i, numberOfElementsToBeDeleted: a } = t, o = [];
|
|
13169
13187
|
let n = e.axisRanges.length - 1, s = a;
|
|
13170
13188
|
for (; s > 0 && n >= 0; ) {
|
|
13171
13189
|
const r = e.axisRanges.getIndex(n);
|
|
13172
|
-
r !== void 0 && (
|
|
13190
|
+
r !== void 0 && (Ne(r.get("label")?.uid ?? Number.NaN, "isGuide") ?? !1) === !0 && i === Fe.Guides && (o.push(r), s -= 1), n -= 1;
|
|
13173
13191
|
}
|
|
13174
13192
|
for (let r = 0; r < o.length; r += 1)
|
|
13175
13193
|
e.axisRanges.removeValue(o[r]);
|
|
13176
13194
|
}
|
|
13177
13195
|
function Oc(t, e) {
|
|
13178
13196
|
const a = ll(t, Fe.Guides).length, o = e?.length ?? 0, n = a - o;
|
|
13179
|
-
|
|
13197
|
+
R0({
|
|
13180
13198
|
axis: t,
|
|
13181
13199
|
numberOfElementsToBeDeleted: n,
|
|
13182
13200
|
tickOrGuide: Fe.Guides
|
|
13183
13201
|
});
|
|
13184
13202
|
}
|
|
13185
|
-
function
|
|
13203
|
+
function w0(t) {
|
|
13186
13204
|
const { axis: e, guideConfigs: i, anyGuideAboveChanged: a } = t;
|
|
13187
|
-
a && Oc(e),
|
|
13205
|
+
a && Oc(e), F0(e, i), I0(t), Oc(e, i);
|
|
13188
13206
|
}
|
|
13189
13207
|
function jf(t) {
|
|
13190
13208
|
return t.getCellWidthPosition() * t.width();
|
|
13191
13209
|
}
|
|
13192
|
-
function
|
|
13210
|
+
function O0(t, e) {
|
|
13193
13211
|
const i = t.get("renderer");
|
|
13194
13212
|
if (t !== void 0) {
|
|
13195
13213
|
let a = Number.NaN;
|
|
13196
13214
|
if (e === Ce.Wrap) {
|
|
13197
13215
|
let o = Number.MAX_SAFE_INTEGER;
|
|
13198
13216
|
i.labels.each((s) => {
|
|
13199
|
-
|
|
13217
|
+
Ne(s.uid, "isGuide") !== !0 && s.width() > 0 && (o = Math.min(
|
|
13200
13218
|
o,
|
|
13201
13219
|
s.innerWidth()
|
|
13202
13220
|
));
|
|
13203
13221
|
});
|
|
13204
|
-
const n = t instanceof
|
|
13222
|
+
const n = t instanceof Pe ? t.width() / F.maxNumberOfXAxisLabelsInWrapModeForDateAxis : t.width() / F.maxNumberOfXAxisLabelsInWrapMode;
|
|
13205
13223
|
a = Math.max(o, n);
|
|
13206
13224
|
} else if (e === Ce.Hide) {
|
|
13207
13225
|
let o = Number.MIN_SAFE_INTEGER;
|
|
13208
13226
|
i.labels.each((n) => {
|
|
13209
|
-
|
|
13227
|
+
Ne(n.uid, "isGuide") !== !0 && n.width() > 0 && (o = Math.max(
|
|
13210
13228
|
o,
|
|
13211
13229
|
n.innerWidth()
|
|
13212
13230
|
));
|
|
@@ -13215,7 +13233,7 @@ function w0(t, e) {
|
|
|
13215
13233
|
Number.isFinite(a) && a > F.shortestMinGridDistance && i.set("minGridDistance", a);
|
|
13216
13234
|
}
|
|
13217
13235
|
}
|
|
13218
|
-
function
|
|
13236
|
+
function D0(t) {
|
|
13219
13237
|
const { axis: e, chartType: i, labelConfig: a, isSecondaryYAxis: o, tickSpacing: n } = t;
|
|
13220
13238
|
let { horizontalAxisLabelsBehavior: s } = t;
|
|
13221
13239
|
s === void 0 && (s = i !== y.HistogramSeries ? Ce.Rotate : Ce.Hide);
|
|
@@ -13236,12 +13254,12 @@ function O0(t) {
|
|
|
13236
13254
|
l = c * d;
|
|
13237
13255
|
} else if (s === Ce.Wrap || s === Ce.Hide) {
|
|
13238
13256
|
s === Ce.Hide && (l = e instanceof Ee ? F.xCategoryAxisMinGridDistance : F.xAxisMinGridDistance);
|
|
13239
|
-
let c =
|
|
13257
|
+
let c = Ai(
|
|
13240
13258
|
e.uid,
|
|
13241
13259
|
"minGridDistanceCallbackDisposer"
|
|
13242
13260
|
);
|
|
13243
13261
|
c !== void 0 && c.dispose(), c = e.events.on(oe.BoundsChanged, () => {
|
|
13244
|
-
|
|
13262
|
+
O0(e, s);
|
|
13245
13263
|
}), Ya(e.uid, { minGridDistanceCallbackDisposer: c });
|
|
13246
13264
|
} else s === Ce.Stagger ? l = F.staggerMinGridDistance : l = e instanceof Ee ? F.xCategoryAxisMinGridDistance : F.xAxisMinGridDistance;
|
|
13247
13265
|
else
|
|
@@ -13252,7 +13270,7 @@ function Dc(t = 1, e) {
|
|
|
13252
13270
|
const i = e.get("renderer"), a = jf(e);
|
|
13253
13271
|
let o = 0;
|
|
13254
13272
|
i.labels.each((r) => {
|
|
13255
|
-
|
|
13273
|
+
Ne(r.uid, "isGuide") !== !0 && r.getText() !== void 0 && r.width() > 0 && (o += 1);
|
|
13256
13274
|
});
|
|
13257
13275
|
const n = o > 0 ? e.width() / o : 0, s = Math.max(a, n) * t;
|
|
13258
13276
|
if (Number.isFinite(s) && s > 0) {
|
|
@@ -13268,10 +13286,10 @@ function Mc(t, e = 1) {
|
|
|
13268
13286
|
textAlign: "center"
|
|
13269
13287
|
}), t.events.on(oe.BoundsChanged, () => Dc(e, t)), Dc(e, t);
|
|
13270
13288
|
}
|
|
13271
|
-
function
|
|
13289
|
+
function M0(t) {
|
|
13272
13290
|
const e = t.get("renderer").labels.template;
|
|
13273
13291
|
e.adapters.add("rotation", (i, a) => {
|
|
13274
|
-
const o =
|
|
13292
|
+
const o = Ne(a.uid, "isGuide") !== !0 ? Ai(t.uid, "rotation") ?? 0 : i ?? 0;
|
|
13275
13293
|
return e.set("centerX", o === 0 ? de : he), o;
|
|
13276
13294
|
});
|
|
13277
13295
|
}
|
|
@@ -13282,7 +13300,7 @@ function bs(t) {
|
|
|
13282
13300
|
const o = e.labels.getIndex(0)?.get("rotation");
|
|
13283
13301
|
let n = 0;
|
|
13284
13302
|
e.labels.each((l) => {
|
|
13285
|
-
if (
|
|
13303
|
+
if (Ne(l.uid, "isGuide") !== !0 && l.width() > 0) {
|
|
13286
13304
|
const c = o === F.rotatedAxisLabel.rotation ? Math.sqrt(l.innerHeight() ** 2 + l.innerWidth() ** 2) : l.innerWidth();
|
|
13287
13305
|
c > n && (n = c);
|
|
13288
13306
|
}
|
|
@@ -13304,7 +13322,7 @@ function bs(t) {
|
|
|
13304
13322
|
}
|
|
13305
13323
|
function $c(t) {
|
|
13306
13324
|
const e = t.get("renderer");
|
|
13307
|
-
|
|
13325
|
+
M0(t), e.labels.template.setAll({ oversizedBehavior: "hide" }), t instanceof Pe || (e.labels.template.setAll({ multiLocation: 0.5 }), e.ticks.template.setAll({
|
|
13308
13326
|
multiLocation: 0.5
|
|
13309
13327
|
})), t.events.on(oe.BoundsChanged, () => bs(t)), t.events.on(oe.DataValidated, () => bs(t)), bs();
|
|
13310
13328
|
}
|
|
@@ -13313,27 +13331,27 @@ function Bc(t) {
|
|
|
13313
13331
|
let a = 0;
|
|
13314
13332
|
t.dataItems.forEach((o, n) => {
|
|
13315
13333
|
const s = o.get("label");
|
|
13316
|
-
s !== void 0 &&
|
|
13334
|
+
s !== void 0 && Ne(s.uid, "isGuide") !== !0 && s.getText() !== void 0 && s.width() > 0 && n % 2 === 0 && s.innerHeight() > a && (a = s.innerHeight());
|
|
13317
13335
|
}), a = Math.round(a), a > 0 && (t.dataItems.filter((o) => {
|
|
13318
13336
|
const n = o.get("tick"), s = o.get("label");
|
|
13319
|
-
return n !== void 0 && s !== void 0 &&
|
|
13337
|
+
return n !== void 0 && s !== void 0 && Ne(s.uid, "isGuide") !== !0 && s.getText() !== void 0 && s.width() > 0;
|
|
13320
13338
|
}).forEach((o, n) => {
|
|
13321
13339
|
const s = o.get("tick"), r = o.get("label"), l = n % 2 === 1;
|
|
13322
13340
|
s && s.set("length", l ? a + 5 : F.axisTickLength), r && r.set("dy", l ? a : 0);
|
|
13323
13341
|
}), a && t.get("renderer").labels.template.get("paddingBottom") !== a + 5 && t.get("renderer").labels.template.set("paddingBottom", a + 5));
|
|
13324
13342
|
}
|
|
13325
13343
|
}
|
|
13326
|
-
function
|
|
13344
|
+
function $0(t) {
|
|
13327
13345
|
t.get("renderer").labels.template.set("oversizedBehavior", "wrap"), t.events.on(oe.BoundsChanged, () => Bc(t)), Bc(t);
|
|
13328
13346
|
}
|
|
13329
|
-
function
|
|
13347
|
+
function B0(t) {
|
|
13330
13348
|
t.get("renderer").labels.template.setAll({
|
|
13331
13349
|
oversizedBehavior: "wrap",
|
|
13332
13350
|
maxWidth: F.yAxisLabelMaxWidth,
|
|
13333
13351
|
textAlign: "end"
|
|
13334
13352
|
});
|
|
13335
13353
|
}
|
|
13336
|
-
function
|
|
13354
|
+
function N0(t) {
|
|
13337
13355
|
const {
|
|
13338
13356
|
axis: e,
|
|
13339
13357
|
horizontalAxisLabelsBehavior: i,
|
|
@@ -13348,7 +13366,7 @@ function B0(t) {
|
|
|
13348
13366
|
case Ce.Hide:
|
|
13349
13367
|
break;
|
|
13350
13368
|
case Ce.Stagger:
|
|
13351
|
-
|
|
13369
|
+
$0(e), Mc(e, 2);
|
|
13352
13370
|
break;
|
|
13353
13371
|
case Ce.Wrap:
|
|
13354
13372
|
Mc(e);
|
|
@@ -13360,9 +13378,9 @@ function B0(t) {
|
|
|
13360
13378
|
n.content.angle !== null && n.content.angle === void 0 && $c(e);
|
|
13361
13379
|
break;
|
|
13362
13380
|
}
|
|
13363
|
-
else
|
|
13381
|
+
else e0(r) && a !== Ce.Hide && B0(e);
|
|
13364
13382
|
}
|
|
13365
|
-
function
|
|
13383
|
+
function P0(t) {
|
|
13366
13384
|
const { renderer: e, axisConfig: i, labelConfig: a } = t;
|
|
13367
13385
|
switch (i.labelsOrientation) {
|
|
13368
13386
|
case Fl.Horizontal:
|
|
@@ -13375,7 +13393,7 @@ function N0(t) {
|
|
|
13375
13393
|
e.labels.template.setAll({ textType: "circular" }), e.labels.template.remove("radius");
|
|
13376
13394
|
}
|
|
13377
13395
|
}
|
|
13378
|
-
function
|
|
13396
|
+
function V0(t) {
|
|
13379
13397
|
const {
|
|
13380
13398
|
axis: e,
|
|
13381
13399
|
axisConfig: { labels: i },
|
|
@@ -13384,10 +13402,10 @@ function P0(t) {
|
|
|
13384
13402
|
axisLabelsBehaviorChanged: n,
|
|
13385
13403
|
chartType: s
|
|
13386
13404
|
} = t, r = { ...i }, l = e.get("renderer"), c = l?.get("opposite");
|
|
13387
|
-
Zn(l) ? (r.content.horizontalAlignment = "center", r.content.verticalAlignment = c ? "bottom" : "top") : (r.content.horizontalAlignment = c ? "left" : "right", r.content.verticalAlignment = "middle"), l instanceof ei ?
|
|
13405
|
+
Zn(l) ? (r.content.horizontalAlignment = "center", r.content.verticalAlignment = c ? "bottom" : "top") : (r.content.horizontalAlignment = c ? "left" : "right", r.content.verticalAlignment = "middle"), l instanceof ei ? P0({ renderer: l, axisConfig: t.axisConfig, labelConfig: i }) : r.content.angle = r.content.angle ?? l.labels.template.get("rotation"), Dt({
|
|
13388
13406
|
label: l.labels.template,
|
|
13389
13407
|
labelConfig: r
|
|
13390
|
-
}),
|
|
13408
|
+
}), N0({
|
|
13391
13409
|
axis: e,
|
|
13392
13410
|
horizontalAxisLabelsBehavior: a,
|
|
13393
13411
|
verticalAxisLabelsBehavior: o,
|
|
@@ -13396,7 +13414,7 @@ function P0(t) {
|
|
|
13396
13414
|
chartType: s
|
|
13397
13415
|
});
|
|
13398
13416
|
}
|
|
13399
|
-
function
|
|
13417
|
+
function W0(t) {
|
|
13400
13418
|
const { axis: e, isHorizontalAxis: i, label: a } = t, { chart: o } = e;
|
|
13401
13419
|
if (o) {
|
|
13402
13420
|
const n = i ? "width" : "height", s = i ? q.XAxisTitle : q.YAxisTitle;
|
|
@@ -13408,7 +13426,7 @@ function V0(t) {
|
|
|
13408
13426
|
}
|
|
13409
13427
|
}
|
|
13410
13428
|
const Kn = "arcgis_charts_title_container", cl = "arcgis_charts_subtitle_container", Qn = "arcgis_charts_footer_container", qf = "arcgis_charts_title", Zf = "arcgis_charts_subtitle", Kf = "arcgis_charts_footer", St = "arcgis_charts_legend_container", Ut = "arcgis_charts_legend_title", zs = "arcgis_charts_axis_title_id";
|
|
13411
|
-
function
|
|
13429
|
+
function E0(t, e) {
|
|
13412
13430
|
let i = e ?? null;
|
|
13413
13431
|
if (e != null) {
|
|
13414
13432
|
const a = t.xAxes.getIndex(0), o = O(t.uid, "config"), n = a.get("min") ?? o?.axes?.[0].minimum ?? F.gauge.axisMinimum, s = a.get("max") ?? o?.axes?.[0].maximum ?? F.gauge.axisMaximum;
|
|
@@ -13416,7 +13434,7 @@ function W0(t, e) {
|
|
|
13416
13434
|
}
|
|
13417
13435
|
return i ?? void 0;
|
|
13418
13436
|
}
|
|
13419
|
-
function
|
|
13437
|
+
function z0(t) {
|
|
13420
13438
|
const { root: e } = t, i = As.new(e, {
|
|
13421
13439
|
radius: at(100)
|
|
13422
13440
|
}), a = t.makeDataItem({
|
|
@@ -13427,13 +13445,13 @@ function E0(t) {
|
|
|
13427
13445
|
});
|
|
13428
13446
|
return t.createAxisRange(a), a.get("grid")?.set("visible", !1), a.get("tick")?.set("visible", !1), i;
|
|
13429
13447
|
}
|
|
13430
|
-
function
|
|
13448
|
+
function H0(t) {
|
|
13431
13449
|
const { chart: e, axis: i, needleConfig: a, gaugeValue: o } = t, n = i.axisRanges.values.find(
|
|
13432
13450
|
(r) => r.get("bullet")?.get("sprite") instanceof As
|
|
13433
13451
|
), s = n?.get("bullet")?.get("sprite");
|
|
13434
13452
|
if (n && s instanceof As) {
|
|
13435
13453
|
const { startWidth: r, endWidth: l, innerRadius: c } = F.gaugeNeedle;
|
|
13436
|
-
Hi({ root: i.root, element: s.hand, fillSymbol: a?.symbol }), Hi({ root: i.root, element: s.pin, fillSymbol: a?.symbol }), n.set("value",
|
|
13454
|
+
Hi({ root: i.root, element: s.hand, fillSymbol: a?.symbol }), Hi({ root: i.root, element: s.pin, fillSymbol: a?.symbol }), n.set("value", E0(e, o)), s.pin.set("visible", a?.displayPin === !0), s.setAll({
|
|
13437
13455
|
visible: a?.visible ?? !0,
|
|
13438
13456
|
innerRadius: at(a?.innerRadius ?? c),
|
|
13439
13457
|
bottomWidth: a?.startWidth ?? r,
|
|
@@ -13441,19 +13459,19 @@ function z0(t) {
|
|
|
13441
13459
|
});
|
|
13442
13460
|
}
|
|
13443
13461
|
}
|
|
13444
|
-
function
|
|
13462
|
+
function _0(t, e) {
|
|
13445
13463
|
const i = Number.isFinite(e?.innerRadius) ? e?.innerRadius : F.gauge.innerRadius;
|
|
13446
13464
|
typeof i == "number" && Number.isFinite(i) && t.set("innerRadius", at(i));
|
|
13447
13465
|
}
|
|
13448
|
-
function
|
|
13466
|
+
function G0(t, e) {
|
|
13449
13467
|
const i = Number.isFinite(e?.startAngle) ? e?.startAngle : F.gauge.startAngle, a = Number.isFinite(e?.endAngle) ? e?.endAngle : F.gauge.endAngle;
|
|
13450
13468
|
typeof i == "number" && Number.isFinite(i) && t.set("startAngle", i), typeof a == "number" && Number.isFinite(a) && t.set("endAngle", a);
|
|
13451
13469
|
}
|
|
13452
|
-
function
|
|
13470
|
+
function X0(t) {
|
|
13453
13471
|
const { chart: e, chartConfig: i, queryObject: a, data: o, xAxisLabelFormatter: n, utilsStrings: s, errorStrings: r } = t, { axes: l } = i, c = l?.[0], d = e.xAxes.getIndex(0);
|
|
13454
13472
|
if (d instanceof ye && d.get("renderer") instanceof ei && c !== void 0) {
|
|
13455
13473
|
const u = d, { needle: f } = c;
|
|
13456
|
-
|
|
13474
|
+
_0(e, i), G0(e, i), Yu(c), dl({
|
|
13457
13475
|
chartConfig: i,
|
|
13458
13476
|
axis: d,
|
|
13459
13477
|
axisConfig: c,
|
|
@@ -13467,7 +13485,7 @@ function G0(t) {
|
|
|
13467
13485
|
chartData: o !== void 0 && "dataItems" in o ? o.dataItems : void 0,
|
|
13468
13486
|
chartConfig: i
|
|
13469
13487
|
});
|
|
13470
|
-
|
|
13488
|
+
H0({
|
|
13471
13489
|
chart: e,
|
|
13472
13490
|
axis: u,
|
|
13473
13491
|
needleConfig: f,
|
|
@@ -13475,7 +13493,7 @@ function G0(t) {
|
|
|
13475
13493
|
});
|
|
13476
13494
|
}
|
|
13477
13495
|
}
|
|
13478
|
-
function
|
|
13496
|
+
function Y0(t) {
|
|
13479
13497
|
const { chart: e, axesConfig: i, errorStrings: a } = t, { root: o } = e;
|
|
13480
13498
|
Xi({ chartType: y.GaugeSeries, axesConfig: i, errorStrings: a });
|
|
13481
13499
|
const n = e.xAxes.push(
|
|
@@ -13485,9 +13503,9 @@ function X0(t) {
|
|
|
13485
13503
|
renderer: ei.new(o, {})
|
|
13486
13504
|
})
|
|
13487
13505
|
);
|
|
13488
|
-
|
|
13506
|
+
z0(n), Yf(n);
|
|
13489
13507
|
}
|
|
13490
|
-
function
|
|
13508
|
+
function U0(t) {
|
|
13491
13509
|
const {
|
|
13492
13510
|
chart: e,
|
|
13493
13511
|
chartConfig: i,
|
|
@@ -13532,19 +13550,19 @@ function Y0(t) {
|
|
|
13532
13550
|
});
|
|
13533
13551
|
}), dn(e, n);
|
|
13534
13552
|
}
|
|
13535
|
-
function
|
|
13553
|
+
function j0(t) {
|
|
13536
13554
|
const { chart: e, axesConfig: i, x: a, errorStrings: o, queryObject: n } = t, { root: s } = e, r = y.HistogramSeries;
|
|
13537
13555
|
Xi({ chartType: r, axesConfig: i, errorStrings: o });
|
|
13538
13556
|
const l = { root: s, x: a, chartType: r, queryObject: n, errorStrings: o }, c = i?.[0]?.valueFormat, d = i?.[1]?.valueFormat;
|
|
13539
13557
|
if (c !== void 0 && d !== void 0) {
|
|
13540
|
-
const u =
|
|
13558
|
+
const u = Pi({
|
|
13541
13559
|
...l,
|
|
13542
13560
|
axes: e.xAxes,
|
|
13543
13561
|
valueFormat: c,
|
|
13544
13562
|
axisRenderer: ft.new(s, {}),
|
|
13545
13563
|
isXAxis: !0,
|
|
13546
13564
|
x: a
|
|
13547
|
-
}), f =
|
|
13565
|
+
}), f = Pi({
|
|
13548
13566
|
...l,
|
|
13549
13567
|
axes: e.xAxes,
|
|
13550
13568
|
valueFormat: c,
|
|
@@ -13553,7 +13571,7 @@ function U0(t) {
|
|
|
13553
13571
|
isXAxis: !0,
|
|
13554
13572
|
x: a
|
|
13555
13573
|
});
|
|
13556
|
-
|
|
13574
|
+
Pi({
|
|
13557
13575
|
...l,
|
|
13558
13576
|
axes: e.yAxes,
|
|
13559
13577
|
valueFormat: d,
|
|
@@ -13563,7 +13581,7 @@ function U0(t) {
|
|
|
13563
13581
|
}), u && (u.get("renderer").grid.template.set("location", 0), u.get("renderer").ticks.template.set("location", 0), u.get("renderer").labels.template.set("location", 0)), f && (f.set("visible", !1), f.get("renderer").grid.template.set("visible", !1), f.get("renderer").ticks.template.set("visible", !1), f.get("renderer").labels.template.set("visible", !1));
|
|
13564
13582
|
}
|
|
13565
13583
|
}
|
|
13566
|
-
function
|
|
13584
|
+
function q0(t) {
|
|
13567
13585
|
return t.component instanceof Ee;
|
|
13568
13586
|
}
|
|
13569
13587
|
function Qf(t) {
|
|
@@ -13572,11 +13590,11 @@ function Qf(t) {
|
|
|
13572
13590
|
function un(t, e) {
|
|
13573
13591
|
return t === e || t != null && e != null && String(t) === String(e);
|
|
13574
13592
|
}
|
|
13575
|
-
function
|
|
13593
|
+
function Z0(t) {
|
|
13576
13594
|
let e;
|
|
13577
13595
|
return t instanceof $l ? e = t : t.parent instanceof $l && (e = t.parent), e;
|
|
13578
13596
|
}
|
|
13579
|
-
function
|
|
13597
|
+
function K0(t) {
|
|
13580
13598
|
const { originalEvent: e } = t, i = "ctrlKey" in e ? e.ctrlKey : !1, a = "metaKey" in e ? e.metaKey : !1;
|
|
13581
13599
|
return !!(i || a);
|
|
13582
13600
|
}
|
|
@@ -13587,7 +13605,7 @@ function Jf(t) {
|
|
|
13587
13605
|
const e = t.get("graphics");
|
|
13588
13606
|
return e instanceof Ls ? e : void 0;
|
|
13589
13607
|
}
|
|
13590
|
-
function
|
|
13608
|
+
function Q0(t) {
|
|
13591
13609
|
const { dataContext: e } = t.dataItem ?? {};
|
|
13592
13610
|
return e != null && typeof e == "object" ? e : void 0;
|
|
13593
13611
|
}
|
|
@@ -13595,9 +13613,9 @@ function Wo(t) {
|
|
|
13595
13613
|
return t !== void 0 && (Yt(t.uid, "selected") ?? !1);
|
|
13596
13614
|
}
|
|
13597
13615
|
function em(t) {
|
|
13598
|
-
return
|
|
13616
|
+
return Q0(t)?.[Co] === !0;
|
|
13599
13617
|
}
|
|
13600
|
-
function
|
|
13618
|
+
function J0(t) {
|
|
13601
13619
|
const { chart: e, selectionField: i, selectionKey: a } = t;
|
|
13602
13620
|
let o = !1, n = !0, s = !1;
|
|
13603
13621
|
return e.series.each((r) => {
|
|
@@ -13612,10 +13630,10 @@ function Q0(t) {
|
|
|
13612
13630
|
}));
|
|
13613
13631
|
}), { hasMatching: o, allMatchingSelected: n, hasNonMatchingSelected: s };
|
|
13614
13632
|
}
|
|
13615
|
-
function
|
|
13633
|
+
function eF(t) {
|
|
13616
13634
|
t?.selection !== void 0 && re(t.selection, !1);
|
|
13617
13635
|
}
|
|
13618
|
-
function
|
|
13636
|
+
function tF(t) {
|
|
13619
13637
|
t.labels.template.setAll({
|
|
13620
13638
|
cursorOverStyle: "pointer",
|
|
13621
13639
|
interactive: !0
|
|
@@ -13629,20 +13647,20 @@ function eF(t) {
|
|
|
13629
13647
|
);
|
|
13630
13648
|
};
|
|
13631
13649
|
}
|
|
13632
|
-
function
|
|
13633
|
-
|
|
13650
|
+
function iF(t, e) {
|
|
13651
|
+
tF(t), t.labels.template.events.on(oe.Click, e);
|
|
13634
13652
|
}
|
|
13635
|
-
function
|
|
13653
|
+
function aF(t) {
|
|
13636
13654
|
const { axis: e, queryObject: i, errorStrings: a } = t, o = e.get("renderer");
|
|
13637
|
-
|
|
13638
|
-
const { chart: r } = e, l =
|
|
13655
|
+
iF(o, (s) => {
|
|
13656
|
+
const { chart: r } = e, l = Z0(s.target);
|
|
13639
13657
|
let c, d;
|
|
13640
|
-
if (l?.dataItem instanceof Tr &&
|
|
13658
|
+
if (l?.dataItem instanceof Tr && q0(l.dataItem)) {
|
|
13641
13659
|
const u = l.dataItem.get("category");
|
|
13642
13660
|
u !== void 0 && (c = o instanceof ft ? "categoryX" : "categoryY", d = u);
|
|
13643
13661
|
}
|
|
13644
13662
|
if (c !== void 0 && d !== void 0 && r instanceof pe && ol(r.uid)) {
|
|
13645
|
-
const u =
|
|
13663
|
+
const u = K0(s), f = J0({ chart: r, selectionField: c, selectionKey: d }), g = f.hasMatching && f.allMatchingSelected, h = !u && g && !f.hasNonMatchingSelected;
|
|
13646
13664
|
r.series.each((b) => {
|
|
13647
13665
|
!b.isHidden() && !Un(b) && !Ui(b) && (b instanceof ne ? b.dataItems.forEach((p) => {
|
|
13648
13666
|
if (Qf(p)) {
|
|
@@ -13662,7 +13680,7 @@ function iF(t) {
|
|
|
13662
13680
|
}) : we(h ? { element: S, selected: !1 } : { element: S, selected: C });
|
|
13663
13681
|
}
|
|
13664
13682
|
}));
|
|
13665
|
-
}),
|
|
13683
|
+
}), eF(r.get("cursor")), Ro({
|
|
13666
13684
|
chart: r,
|
|
13667
13685
|
selectionSource: ge.SelectionByClick,
|
|
13668
13686
|
queryObject: i,
|
|
@@ -13675,7 +13693,7 @@ function tm(t, e) {
|
|
|
13675
13693
|
return e ? `${zs}_x_${t.uid}` : `${zs}_y_${t.uid}`;
|
|
13676
13694
|
}
|
|
13677
13695
|
function Hs(t, e) {
|
|
13678
|
-
const i = O(t.chart?.uid ?? Number.NaN, "config"), a = Qe(i) ? 1 : 0, o = i?.axes?.[a]?.title?.content?.verticalAlignment, n =
|
|
13696
|
+
const i = O(t.chart?.uid ?? Number.NaN, "config"), a = Qe(i) ? 1 : 0, o = i?.axes?.[a]?.title?.content?.verticalAlignment, n = b0(t);
|
|
13679
13697
|
let s = n;
|
|
13680
13698
|
switch (o) {
|
|
13681
13699
|
case "baseline":
|
|
@@ -13688,10 +13706,10 @@ function Hs(t, e) {
|
|
|
13688
13706
|
}
|
|
13689
13707
|
e?.set("dy", s);
|
|
13690
13708
|
}
|
|
13691
|
-
function
|
|
13709
|
+
function oF(t) {
|
|
13692
13710
|
t instanceof ye && (t.onPrivate("min", kc), t.onPrivate("max", kc));
|
|
13693
13711
|
}
|
|
13694
|
-
function
|
|
13712
|
+
function nF(t) {
|
|
13695
13713
|
const { axis: e, isHorizontalAxis: i, isSecondaryYAxis: a } = t, { root: o } = e, n = i ? { ...F.xAxisTitleLabel, verticalCenter: "top" } : F.yAxisTitleLabel, s = Ba({ root: o, id: tm(e, i), defaults: n });
|
|
13696
13714
|
return e.get("renderer") instanceof vi && a !== !0 || e.get("renderer") instanceof ft && a === !0 ? e.children.unshift(s) : e.children.push(s), i && a !== !0 && (e.events.onDebounced(
|
|
13697
13715
|
oe.BoundsChanged,
|
|
@@ -13701,13 +13719,13 @@ function oF(t) {
|
|
|
13701
13719
|
oe.DataValidated,
|
|
13702
13720
|
() => Hs(e, s),
|
|
13703
13721
|
F.debounceTime
|
|
13704
|
-
),
|
|
13722
|
+
), W0({ axis: e, isHorizontalAxis: i, label: s })), !i && e.chart && oa({
|
|
13705
13723
|
chart: e.chart,
|
|
13706
13724
|
label: s,
|
|
13707
13725
|
labelType: q.YAxisTitle
|
|
13708
13726
|
}), s;
|
|
13709
13727
|
}
|
|
13710
|
-
function
|
|
13728
|
+
function Pi(t) {
|
|
13711
13729
|
const {
|
|
13712
13730
|
root: e,
|
|
13713
13731
|
axes: i,
|
|
@@ -13740,15 +13758,15 @@ function Ni(t) {
|
|
|
13740
13758
|
}
|
|
13741
13759
|
g && (f = i.push(Ee.new(e, { categoryField: g, renderer: n })));
|
|
13742
13760
|
} else if (bt(o))
|
|
13743
|
-
f = i.push(
|
|
13761
|
+
f = i.push(Pe.new(e, { strictMinMax: !0, baseInterval: { timeUnit: "day", count: 1 }, renderer: n }));
|
|
13744
13762
|
else if (Oe(o) && (f = i.push(ye.new(e, { strictMinMax: !0, renderer: n })), s && f instanceof ye)) {
|
|
13745
13763
|
const g = i.getIndex(0);
|
|
13746
13764
|
g instanceof ye && f.set("syncWithAxis", g);
|
|
13747
13765
|
}
|
|
13748
13766
|
if (f !== void 0 && !c) {
|
|
13749
|
-
|
|
13767
|
+
p0(f), Gf(e, f);
|
|
13750
13768
|
const g = r === y.HistogramSeries || r === y.HeatSeries ? 0 : 0.1, h = r === y.HistogramSeries || r === y.HeatSeries ? 1 : 0.9;
|
|
13751
|
-
f.get("renderer").setAll({ cellStartLocation: g, cellEndLocation: h }), r === y.HeatSeries && (n instanceof ft || n instanceof vi) && n.setAll({ layer: F.zIndexes.defaultLayer30 }), Yf(f),
|
|
13769
|
+
f.get("renderer").setAll({ cellStartLocation: g, cellEndLocation: h }), r === y.HeatSeries && (n instanceof ft || n instanceof vi) && n.setAll({ layer: F.zIndexes.defaultLayer30 }), Yf(f), oF(f), Zn(f.get("renderer")) ? f.get("renderer").labels.template.set(
|
|
13752
13770
|
s ? "paddingBottom" : "paddingTop",
|
|
13753
13771
|
F.axisLabelSpacing.horizontalAxisLabelPaddingTop
|
|
13754
13772
|
) : n instanceof vi && f.get("renderer").labels.template.set(
|
|
@@ -13756,7 +13774,7 @@ function Ni(t) {
|
|
|
13756
13774
|
F.axisLabelSpacing.verticalAxisLabelSidePadding
|
|
13757
13775
|
);
|
|
13758
13776
|
const b = f.get("renderer").labels.template;
|
|
13759
|
-
f instanceof Ee && r !== y.HistogramSeries ?
|
|
13777
|
+
f instanceof Ee && r !== y.HistogramSeries ? aF({
|
|
13760
13778
|
axis: f,
|
|
13761
13779
|
queryObject: d,
|
|
13762
13780
|
errorStrings: u
|
|
@@ -13764,7 +13782,7 @@ function Ni(t) {
|
|
|
13764
13782
|
}
|
|
13765
13783
|
return f;
|
|
13766
13784
|
}
|
|
13767
|
-
function
|
|
13785
|
+
function sF(t) {
|
|
13768
13786
|
const {
|
|
13769
13787
|
axis: e,
|
|
13770
13788
|
data: i,
|
|
@@ -13783,8 +13801,8 @@ function nF(t) {
|
|
|
13783
13801
|
e.data.setAll(l ?? []);
|
|
13784
13802
|
}
|
|
13785
13803
|
}
|
|
13786
|
-
function
|
|
13787
|
-
const { axis: e, axisTitleConfig: i, isSecondaryYAxis: a } = t, o = e.get("renderer"), { chart: n } = e, s = Zn(o), r = le({ childId: tm(e, s), parent: e, useChildId: !0 }) ??
|
|
13804
|
+
function rF(t) {
|
|
13805
|
+
const { axis: e, axisTitleConfig: i, isSecondaryYAxis: a } = t, o = e.get("renderer"), { chart: n } = e, s = Zn(o), r = le({ childId: tm(e, s), parent: e, useChildId: !0 }) ?? nF({ axis: e, isHorizontalAxis: s, isSecondaryYAxis: a });
|
|
13788
13806
|
if (r instanceof st) {
|
|
13789
13807
|
const l = s ? { ...F.xAxisTitleLabel, verticalCenter: "top" } : F.yAxisTitleLabel;
|
|
13790
13808
|
if (Dt({ label: r, labelConfig: i, defaults: l }), s && a !== !0 && Hs(e, r), n) {
|
|
@@ -13836,7 +13854,7 @@ function dl(t) {
|
|
|
13836
13854
|
} = r, { root: U } = e, _ = W(p.series), j = rt(p), E = Qe(p), { chart: ee } = e, ve = ee ? O(ee.uid, "config") : void 0, Le = ee ? O(ee.uid, "options") : void 0, et = it(v), mi = Lt(et).find((Do) => Do.name === ve?.series?.[0]?.x), wo = kg(mi), is = cr({ chartConfig: p, queryObject: v, options: Le }), Oo = za(p.series[0]) ? p.series[0].temporalBinning?.outTimeZone : void 0, Ka = e.get("renderer");
|
|
13837
13855
|
Ya(e.uid, {
|
|
13838
13856
|
zeroGridLine: { displayZeroLine: B, strokeWidth: $?.width ?? F.lineWidth, visible: $ !== void 0 }
|
|
13839
|
-
}),
|
|
13857
|
+
}), t0({ axis: e, isLogarithmic: w, axisConfigIndex: l }), QL({
|
|
13840
13858
|
axis: e,
|
|
13841
13859
|
isXAxis: qi(e.get("renderer"), E),
|
|
13842
13860
|
chartType: _,
|
|
@@ -13848,25 +13866,25 @@ function dl(t) {
|
|
|
13848
13866
|
setTimeZone: is,
|
|
13849
13867
|
outTimeZone: Oo,
|
|
13850
13868
|
errorStrings: L
|
|
13851
|
-
}),
|
|
13869
|
+
}), KL({ axis: e, isRotated: E, chartConfig: p }), o0({ axis: e, timeIntervalInfo: c, dateBaseInterval: X, xFieldIsTimeOnly: wo }), Kt({
|
|
13852
13870
|
element: Ka,
|
|
13853
13871
|
lineSymbol: { color: [...F.color], ...k ?? Rn() },
|
|
13854
13872
|
visible: T
|
|
13855
|
-
}), Kt({ element: Ka.ticks.template, lineSymbol: k, visible: T }), Kt({ element: Ka.grid.template, lineSymbol: $, visible: T }), $ === void 0 && (e.get("renderer").grid.template.set("strokeWidth", F.lineWidth), e.markDirtyValues()),
|
|
13873
|
+
}), Kt({ element: Ka.ticks.template, lineSymbol: k, visible: T }), Kt({ element: Ka.grid.template, lineSymbol: $, visible: T }), $ === void 0 && (e.get("renderer").grid.template.set("strokeWidth", F.lineWidth), e.markDirtyValues()), V0({
|
|
13856
13874
|
axis: e,
|
|
13857
13875
|
axisConfig: r,
|
|
13858
13876
|
chartType: _,
|
|
13859
13877
|
horizontalAxisLabelsBehavior: d,
|
|
13860
13878
|
verticalAxisLabelsBehavior: u,
|
|
13861
13879
|
axisLabelsBehaviorChanged: f
|
|
13862
|
-
}),
|
|
13880
|
+
}), rF({ axis: e, axisTitleConfig: I, isSecondaryYAxis: b }), i0(e, r), D0({
|
|
13863
13881
|
axis: e,
|
|
13864
13882
|
chartType: _,
|
|
13865
13883
|
labelConfig: R,
|
|
13866
13884
|
horizontalAxisLabelsBehavior: d,
|
|
13867
13885
|
isSecondaryYAxis: b,
|
|
13868
13886
|
tickSpacing: z
|
|
13869
|
-
}),
|
|
13887
|
+
}), a0({ root: U, axis: e, displayCursorTooltip: M }), w0({ axis: e, guideConfigs: Y, guideTooltipFormatter: C, anyGuideAboveChanged: g, utilsStrings: x }), sF({
|
|
13870
13888
|
axis: e,
|
|
13871
13889
|
data: i,
|
|
13872
13890
|
chartConfig: p,
|
|
@@ -13876,20 +13894,20 @@ function dl(t) {
|
|
|
13876
13894
|
sortChanged: n
|
|
13877
13895
|
});
|
|
13878
13896
|
}
|
|
13879
|
-
function
|
|
13897
|
+
function lF(t) {
|
|
13880
13898
|
const { chart: e, errorStrings: i, queryObject: a } = t, { root: o } = e, n = O(e.uid, "config");
|
|
13881
13899
|
if (n) {
|
|
13882
13900
|
const { x: s } = n.series[0], r = Qe(n), { axes: l } = n, c = W(n.series);
|
|
13883
13901
|
Xi({ chartType: c, axesConfig: l, errorStrings: i });
|
|
13884
13902
|
const d = { root: o, x: s, chartType: c, queryObject: a, errorStrings: i }, u = r ? l?.[1] : l?.[0], f = r ? l?.[0] : l?.[1], g = u?.valueFormat, h = f?.valueFormat;
|
|
13885
|
-
if (g !== void 0 && h !== void 0 && (
|
|
13903
|
+
if (g !== void 0 && h !== void 0 && (Pi({
|
|
13886
13904
|
...d,
|
|
13887
13905
|
axes: e.xAxes,
|
|
13888
13906
|
valueFormat: g,
|
|
13889
13907
|
axisRenderer: ft.new(o, {}),
|
|
13890
13908
|
isXAxis: !r,
|
|
13891
13909
|
x: s
|
|
13892
|
-
}),
|
|
13910
|
+
}), Pi({
|
|
13893
13911
|
...d,
|
|
13894
13912
|
axes: e.yAxes,
|
|
13895
13913
|
valueFormat: h,
|
|
@@ -13898,7 +13916,7 @@ function rF(t) {
|
|
|
13898
13916
|
x: s
|
|
13899
13917
|
}), l?.[2] !== void 0)) {
|
|
13900
13918
|
const b = r ? ft : vi;
|
|
13901
|
-
|
|
13919
|
+
Pi({
|
|
13902
13920
|
...d,
|
|
13903
13921
|
axes: r ? e.xAxes : e.yAxes,
|
|
13904
13922
|
valueFormat: l[2]?.valueFormat,
|
|
@@ -13910,18 +13928,18 @@ function rF(t) {
|
|
|
13910
13928
|
}
|
|
13911
13929
|
}
|
|
13912
13930
|
}
|
|
13913
|
-
function
|
|
13931
|
+
function cF(t) {
|
|
13914
13932
|
const { chart: e, chartType: i, axesConfig: a, x: o, errorStrings: n, queryObject: s } = t, { root: r } = e, l = a?.[0], c = a?.[1];
|
|
13915
13933
|
if (Xi({ chartType: i, axesConfig: a, errorStrings: n }), l?.valueFormat !== void 0 && c?.valueFormat !== void 0) {
|
|
13916
13934
|
const d = { root: r, x: o, chartType: i, queryObject: s, errorStrings: n };
|
|
13917
|
-
|
|
13935
|
+
Pi({
|
|
13918
13936
|
...d,
|
|
13919
13937
|
axes: e.xAxes,
|
|
13920
13938
|
valueFormat: l.valueFormat,
|
|
13921
13939
|
axisRenderer: ei.new(r, {}),
|
|
13922
13940
|
isXAxis: !0,
|
|
13923
13941
|
x: o
|
|
13924
|
-
}),
|
|
13942
|
+
}), Pi({
|
|
13925
13943
|
...d,
|
|
13926
13944
|
axes: e.yAxes,
|
|
13927
13945
|
valueFormat: c.valueFormat,
|
|
@@ -13935,10 +13953,10 @@ function im(t) {
|
|
|
13935
13953
|
const { chart: e, chartConfig: i, errorStrings: a, queryObject: o } = t, { axes: n } = i, { x: s } = i.series[0], r = W(i.series);
|
|
13936
13954
|
switch (e.xAxes.clear(), e.yAxes.clear(), r) {
|
|
13937
13955
|
case y.GaugeSeries:
|
|
13938
|
-
e instanceof
|
|
13956
|
+
e instanceof Ei && Y0({ chart: e, axesConfig: n, errorStrings: a });
|
|
13939
13957
|
break;
|
|
13940
13958
|
case y.HistogramSeries:
|
|
13941
|
-
|
|
13959
|
+
j0({ chart: e, axesConfig: n, x: s, errorStrings: a, queryObject: o });
|
|
13942
13960
|
break;
|
|
13943
13961
|
case y.HeatSeries:
|
|
13944
13962
|
case y.BarSeries:
|
|
@@ -13946,14 +13964,14 @@ function im(t) {
|
|
|
13946
13964
|
case y.ScatterSeries:
|
|
13947
13965
|
case y.LineSeries:
|
|
13948
13966
|
case y.BoxPlotSeries:
|
|
13949
|
-
|
|
13967
|
+
lF({ chart: e, errorStrings: a, queryObject: o });
|
|
13950
13968
|
break;
|
|
13951
13969
|
case y.RadarSeries:
|
|
13952
|
-
e instanceof
|
|
13970
|
+
e instanceof Ei && cF({ chart: e, axesConfig: n, chartType: r, x: s, errorStrings: a, queryObject: o });
|
|
13953
13971
|
break;
|
|
13954
13972
|
}
|
|
13955
13973
|
}
|
|
13956
|
-
function
|
|
13974
|
+
function dF(t) {
|
|
13957
13975
|
const {
|
|
13958
13976
|
chart: e,
|
|
13959
13977
|
chartConfig: i,
|
|
@@ -14024,9 +14042,9 @@ function cF(t) {
|
|
|
14024
14042
|
}
|
|
14025
14043
|
function am(t) {
|
|
14026
14044
|
const { chart: e, chartConfig: i } = t, a = W(i.series);
|
|
14027
|
-
a === y.GaugeSeries && e instanceof
|
|
14045
|
+
a === y.GaugeSeries && e instanceof Ei ? X0(t) : a === y.HistogramSeries ? U0(t) : dF(t);
|
|
14028
14046
|
}
|
|
14029
|
-
function
|
|
14047
|
+
function uF(t, e) {
|
|
14030
14048
|
const i = Q(F.backgroundColor);
|
|
14031
14049
|
e.set(
|
|
14032
14050
|
"background",
|
|
@@ -14044,7 +14062,7 @@ function nm(t, e) {
|
|
|
14044
14062
|
const i = W(e.series);
|
|
14045
14063
|
return t instanceof pe && i !== y.GaugeSeries;
|
|
14046
14064
|
}
|
|
14047
|
-
function
|
|
14065
|
+
function fF(t, e) {
|
|
14048
14066
|
const i = F.cursorCrosshair.style, a = {
|
|
14049
14067
|
type: K.SLS,
|
|
14050
14068
|
style: e?.style ?? i.style,
|
|
@@ -14056,13 +14074,13 @@ function uF(t, e) {
|
|
|
14056
14074
|
function sm(t) {
|
|
14057
14075
|
const { root: e, chart: i, config: a, queryObject: o, errorStrings: n } = t;
|
|
14058
14076
|
let s;
|
|
14059
|
-
return nm(i, a) && (i instanceof
|
|
14077
|
+
return nm(i, a) && (i instanceof Ei ? s = i.set("cursor", kr.new(e, {})) : s = i.set("cursor", Ed.new(e, { clickTolerance: 70 })), NL({ chart: i, queryObject: o, errorStrings: n })), s;
|
|
14060
14078
|
}
|
|
14061
14079
|
function rm(t) {
|
|
14062
14080
|
const { root: e, chart: i, cursorCrosshair: a, config: o, queryObject: n, errorStrings: s } = t;
|
|
14063
14081
|
if (nm(i, o)) {
|
|
14064
14082
|
const r = i.get("cursor") ?? sm({ root: e, chart: i, config: o, queryObject: n, errorStrings: s });
|
|
14065
|
-
r && (
|
|
14083
|
+
r && (fF(i, a?.style), r.lineX.set(
|
|
14066
14084
|
"visible",
|
|
14067
14085
|
a?.verticalLineVisible ?? F.cursorCrosshair.verticalLineVisible
|
|
14068
14086
|
), r.lineY.set(
|
|
@@ -14071,7 +14089,7 @@ function rm(t) {
|
|
|
14071
14089
|
));
|
|
14072
14090
|
}
|
|
14073
14091
|
}
|
|
14074
|
-
function
|
|
14092
|
+
function mF(t) {
|
|
14075
14093
|
const { chart: e, enabled: i } = t, a = i ? "pointer" : "default";
|
|
14076
14094
|
e instanceof co && e.series.each((o) => {
|
|
14077
14095
|
switch (!0) {
|
|
@@ -14088,7 +14106,7 @@ function fF(t) {
|
|
|
14088
14106
|
}
|
|
14089
14107
|
});
|
|
14090
14108
|
}
|
|
14091
|
-
function
|
|
14109
|
+
function gF(t) {
|
|
14092
14110
|
const { chart: e, actionMode: i, cursorRange: a } = t, o = O(e.uid, "isRotated"), n = O(e.uid, "config"), s = W(n?.series), r = s === y.ScatterSeries, l = (s === y.LineSeries || s === y.RadarSeries) && Oe(n?.axes?.[0]?.valueFormat), c = (s === y.LineSeries || s === y.RadarSeries) && hi(n?.axes?.[0]?.valueFormat), d = (s === y.LineSeries || s === y.RadarSeries) && bt(n?.axes?.[0]?.valueFormat);
|
|
14093
14111
|
let u, f = !1;
|
|
14094
14112
|
const g = i ?? O(e.uid, "actionMode") ?? F.actionMode;
|
|
@@ -14112,19 +14130,19 @@ function mF(t) {
|
|
|
14112
14130
|
u = ue.None, f = !1;
|
|
14113
14131
|
break;
|
|
14114
14132
|
}
|
|
14115
|
-
e instanceof pe && e.get("cursor") !== void 0 && u !== void 0 && e.get("cursor")?.set("behavior", u),
|
|
14133
|
+
e instanceof pe && e.get("cursor") !== void 0 && u !== void 0 && e.get("cursor")?.set("behavior", u), mF({ chart: e, enabled: f });
|
|
14116
14134
|
}
|
|
14117
|
-
function
|
|
14135
|
+
function hF(t, e) {
|
|
14118
14136
|
e !== void 0 && (e.width !== void 0 && t.set("width", hc(e.width)), e.height !== void 0 && t.set("height", hc(e.height)), e.paddingTop !== void 0 && t.set("paddingTop", e.paddingTop), e.paddingBottom !== void 0 && t.set("paddingBottom", e.paddingBottom));
|
|
14119
14137
|
}
|
|
14120
14138
|
function _s(t) {
|
|
14121
14139
|
const { root: e, defaults: i, parent: a, id: o, index: n } = t, s = bi.new(e, {});
|
|
14122
|
-
return
|
|
14140
|
+
return hF(s, i), a !== void 0 && a.children.insertIndex(n ?? a.children.length, s), o !== void 0 && s.set("id", o), s;
|
|
14123
14141
|
}
|
|
14124
14142
|
function Gs(t, e) {
|
|
14125
14143
|
e ? t.hide() : t.show();
|
|
14126
14144
|
}
|
|
14127
|
-
function
|
|
14145
|
+
function pF(t, e) {
|
|
14128
14146
|
const i = _s({
|
|
14129
14147
|
root: t,
|
|
14130
14148
|
defaults: F.headerContainer,
|
|
@@ -14191,7 +14209,7 @@ function lm(t, e) {
|
|
|
14191
14209
|
));
|
|
14192
14210
|
}
|
|
14193
14211
|
}
|
|
14194
|
-
function
|
|
14212
|
+
function bF(t) {
|
|
14195
14213
|
const { root: e } = t, i = _s({
|
|
14196
14214
|
root: e,
|
|
14197
14215
|
defaults: F.footerContainer,
|
|
@@ -14223,7 +14241,7 @@ function cm(t, e) {
|
|
|
14223
14241
|
}), Gs(i, a.get("disabled") || (e?.content.text ?? "") === ""));
|
|
14224
14242
|
}
|
|
14225
14243
|
}
|
|
14226
|
-
function
|
|
14244
|
+
function yF(t) {
|
|
14227
14245
|
const { dataLabel: e, series: i, externalDataLabelFormatter: a } = t;
|
|
14228
14246
|
e.adapters.remove("text"), e.adapters.remove("html");
|
|
14229
14247
|
const o = a !== void 0 ? "html" : "text";
|
|
@@ -14240,17 +14258,17 @@ function bF(t) {
|
|
|
14240
14258
|
return o === "html" ? Xe(r) : r;
|
|
14241
14259
|
});
|
|
14242
14260
|
}
|
|
14243
|
-
function
|
|
14261
|
+
function SF(t) {
|
|
14244
14262
|
const { numberFormatter: e } = t;
|
|
14245
14263
|
return (i) => (
|
|
14246
14264
|
// we format the value
|
|
14247
14265
|
e.format(i)
|
|
14248
14266
|
);
|
|
14249
14267
|
}
|
|
14250
|
-
function
|
|
14268
|
+
function CF(t) {
|
|
14251
14269
|
const { series: e, externalDataLabelFormatter: i } = t;
|
|
14252
14270
|
e.bullets.push(() => {
|
|
14253
|
-
const o = O(e.chart?.uid ?? Number.NaN, "config")?.series?.[0]?.dataLabels ?? t.dataLabelsConfig, n =
|
|
14271
|
+
const o = O(e.chart?.uid ?? Number.NaN, "config")?.series?.[0]?.dataLabels ?? t.dataLabelsConfig, n = Ii.new(e.root, {
|
|
14254
14272
|
sprite: st.new(e.root, {
|
|
14255
14273
|
text: "{value}",
|
|
14256
14274
|
populateText: !0,
|
|
@@ -14268,7 +14286,7 @@ function SF(t) {
|
|
|
14268
14286
|
}), s = n.get("sprite");
|
|
14269
14287
|
if (s) {
|
|
14270
14288
|
const r = s;
|
|
14271
|
-
|
|
14289
|
+
yF({
|
|
14272
14290
|
dataLabel: r,
|
|
14273
14291
|
series: e,
|
|
14274
14292
|
externalDataLabelFormatter: i
|
|
@@ -14276,15 +14294,15 @@ function SF(t) {
|
|
|
14276
14294
|
...t,
|
|
14277
14295
|
dataLabelsConfig: o,
|
|
14278
14296
|
dataLabel: r,
|
|
14279
|
-
dataLabelFormatter:
|
|
14297
|
+
dataLabelFormatter: SF
|
|
14280
14298
|
}), r.set("oversizedBehavior", "hide"), r.set("maxWidth", void 0), r.set("maxHeight", void 0);
|
|
14281
14299
|
}
|
|
14282
14300
|
return n;
|
|
14283
14301
|
});
|
|
14284
14302
|
}
|
|
14285
|
-
function
|
|
14303
|
+
function xF(t) {
|
|
14286
14304
|
const { series: e, dataLabelsConfig: i } = t, a = i && i?.visible !== !1;
|
|
14287
|
-
e.bullets.hasIndex(0) && Jr(e, 0), a &&
|
|
14305
|
+
e.bullets.hasIndex(0) && Jr(e, 0), a && CF(t);
|
|
14288
14306
|
}
|
|
14289
14307
|
const je = {
|
|
14290
14308
|
nameField: "name",
|
|
@@ -14301,7 +14319,7 @@ function mn(t) {
|
|
|
14301
14319
|
}, i = t?.color ? t : e, a = t?.color ? Q(t.color).color : void 0, o = t?.color ? Q(t.color).opacity : void 0;
|
|
14302
14320
|
return { outlineSymbol: i, outlineColor: a, outlineOpacity: o };
|
|
14303
14321
|
}
|
|
14304
|
-
function
|
|
14322
|
+
function vF(t) {
|
|
14305
14323
|
const { root: e, xAxis: i, yAxis: a, options: o, chartConfig: n, queryObject: s, errorStrings: r } = t, l = xe.new(e, {
|
|
14306
14324
|
calculateAggregates: !0,
|
|
14307
14325
|
stroke: Q(F.backgroundColor).color,
|
|
@@ -14327,10 +14345,10 @@ Value: {${Re.valueField}}`,
|
|
|
14327
14345
|
(c, d) => d.dataItem?.dataContext?.[Co] ? "auto" : c
|
|
14328
14346
|
), Of(l, o?.tooltipFormatter), qn(l, n), He(l.columns.template, o?.selectionTheme), ti({ element: l.columns.template, series: l, queryObject: s, errorStrings: r }), l;
|
|
14329
14347
|
}
|
|
14330
|
-
function
|
|
14348
|
+
function LF(t, e) {
|
|
14331
14349
|
e?.dataItems && t.data.setAll(e.dataItems);
|
|
14332
14350
|
}
|
|
14333
|
-
function
|
|
14351
|
+
function FF(t) {
|
|
14334
14352
|
const { columnSeries: e, seriesConfig: i } = t, { gradientHeatRules: a } = F.heatChart, { gradientRules: o, heatRulesType: n, gridLine: s } = i, r = i.emptyCells?.symbol ?? F.heatChart.emptyCells?.symbol, l = o?.colorList?.[0] ?? a.minColor, c = o?.colorList?.[1] ?? a.maxColor, d = o?.outsideRangeLowerColor ?? a.outsideRangeLowerColor, u = o?.outsideRangeUpperColor ?? a.outsideRangeUpperColor, { minValue: f, maxValue: g } = o ?? {}, { color: h, opacity: b } = Q(l), { color: p, opacity: S } = Q(c), C = Q(d), x = Q(u);
|
|
14335
14353
|
e.set("heatRules", [
|
|
14336
14354
|
{
|
|
@@ -14369,13 +14387,13 @@ function LF(t) {
|
|
|
14369
14387
|
}
|
|
14370
14388
|
]);
|
|
14371
14389
|
}
|
|
14372
|
-
function
|
|
14390
|
+
function AF(t, e) {
|
|
14373
14391
|
e?.color ? Kt({ element: t.columns.template, lineSymbol: e }) : t.columns.template.setAll({
|
|
14374
14392
|
strokeOpacity: 0,
|
|
14375
14393
|
strokeWidth: 0
|
|
14376
14394
|
});
|
|
14377
14395
|
}
|
|
14378
|
-
function
|
|
14396
|
+
function TF(t) {
|
|
14379
14397
|
const {
|
|
14380
14398
|
series: e,
|
|
14381
14399
|
data: i,
|
|
@@ -14389,10 +14407,10 @@ function AF(t) {
|
|
|
14389
14407
|
queryObject: d,
|
|
14390
14408
|
chartConfig: u
|
|
14391
14409
|
} = t, f = a === !0 || o === !0 || n || s === !0;
|
|
14392
|
-
e.set("id", r.id), re(e, r.visible), Pa(e, !1), He(e.columns.template, c?.selectionTheme), Gv(t),
|
|
14410
|
+
e.set("id", r.id), re(e, r.visible), Pa(e, !1), He(e.columns.template, c?.selectionTheme), Gv(t), AF(e, r.gridLine), FF({
|
|
14393
14411
|
columnSeries: e,
|
|
14394
14412
|
seriesConfig: r
|
|
14395
|
-
}), f &&
|
|
14413
|
+
}), f && LF(e, i), xF({
|
|
14396
14414
|
seriesType: y.HeatSeries,
|
|
14397
14415
|
series: e,
|
|
14398
14416
|
seriesConfig: r,
|
|
@@ -14401,9 +14419,9 @@ function AF(t) {
|
|
|
14401
14419
|
externalDataLabelFormatter: c?.dataLabelFormatter
|
|
14402
14420
|
});
|
|
14403
14421
|
const { chart: g } = e;
|
|
14404
|
-
g &&
|
|
14422
|
+
g && kF({ seriesConfig: r, queryObject: d, chartConfig: u, chart: g }), c?.interactionsDisabled && Pa(e, !0);
|
|
14405
14423
|
}
|
|
14406
|
-
function
|
|
14424
|
+
function kF(t) {
|
|
14407
14425
|
const { seriesConfig: e, queryObject: i, chartConfig: a, chart: o } = t;
|
|
14408
14426
|
let n;
|
|
14409
14427
|
if (e.heatRulesType === xa.Renderer)
|
|
@@ -14431,7 +14449,7 @@ function dm(t, e) {
|
|
|
14431
14449
|
let i = "", a, o, n;
|
|
14432
14450
|
return t && typeof t == "object" && (i = "label" in t && typeof t.label == "string" ? t.label : "", a = "symbol" in t && t.symbol && typeof t.symbol == "object" && "color" in t.symbol && Array.isArray(t.symbol.color) ? t.symbol.color : void 0, n = "symbol" in t && t.symbol && typeof t.symbol == "object" && "outline" in t.symbol && Array.isArray(t.symbol.outline) ? t.symbol.outline : void 0, e && (Array.isArray(a) && ({ color: a, opacity: o } = Q(a)), Array.isArray(n) && (n = Q(n).color))), { legendItemLabel: i, legendItemColor: a, legendItemColorOpacity: o, legendItemStrokeColor: n };
|
|
14433
14451
|
}
|
|
14434
|
-
function
|
|
14452
|
+
function IF(t) {
|
|
14435
14453
|
let e;
|
|
14436
14454
|
const {
|
|
14437
14455
|
outlineColor: i,
|
|
@@ -14462,7 +14480,7 @@ function kF(t) {
|
|
|
14462
14480
|
}
|
|
14463
14481
|
return e;
|
|
14464
14482
|
}
|
|
14465
|
-
function
|
|
14483
|
+
function RF(t) {
|
|
14466
14484
|
let e;
|
|
14467
14485
|
const { legendItemLabel: i, legendItemColor: a, legendItemStrokeColor: o } = dm(t, !1);
|
|
14468
14486
|
return Array.isArray(a) && (!o || Array.isArray(o)) && (e = {
|
|
@@ -14486,7 +14504,7 @@ function um(t) {
|
|
|
14486
14504
|
const u = o?.data.values, f = o?.get("valueField") ?? Re.valueField, g = l.classBreakInfos?.[0], h = g ? g.classMinValue === g.classMaxValue : !1;
|
|
14487
14505
|
n = l.classBreakInfos.map((b, p) => {
|
|
14488
14506
|
let S;
|
|
14489
|
-
return a ? S =
|
|
14507
|
+
return a ? S = IF({
|
|
14490
14508
|
outlineColor: c,
|
|
14491
14509
|
outlineOpacity: d,
|
|
14492
14510
|
dataItems: u,
|
|
@@ -14495,12 +14513,12 @@ function um(t) {
|
|
|
14495
14513
|
classBreakIndex: p,
|
|
14496
14514
|
numberOfClassBreaks: l.classBreakInfos.length,
|
|
14497
14515
|
evaluateUpTo: h
|
|
14498
|
-
}) : S =
|
|
14516
|
+
}) : S = RF(b), S;
|
|
14499
14517
|
}).filter(Boolean);
|
|
14500
14518
|
}
|
|
14501
14519
|
return n;
|
|
14502
14520
|
}
|
|
14503
|
-
function
|
|
14521
|
+
function wF(t) {
|
|
14504
14522
|
const e = t.yAxes.getIndex(0);
|
|
14505
14523
|
if (e) {
|
|
14506
14524
|
const i = le({
|
|
@@ -14510,7 +14528,7 @@ function RF(t) {
|
|
|
14510
14528
|
i instanceof st && i.set("dx", 0);
|
|
14511
14529
|
}
|
|
14512
14530
|
}
|
|
14513
|
-
function
|
|
14531
|
+
function OF(t, e) {
|
|
14514
14532
|
const i = F.axisLabelSpacing.verticalAxisLabelSidePadding, a = F.heatChart.legend.legendPadding + i;
|
|
14515
14533
|
e.set("marginRight", a), t.leftAxesContainer.setAll({
|
|
14516
14534
|
paddingLeft: i
|
|
@@ -14529,7 +14547,7 @@ function fm(t, e) {
|
|
|
14529
14547
|
endOpacity: r.opacity
|
|
14530
14548
|
});
|
|
14531
14549
|
}
|
|
14532
|
-
function
|
|
14550
|
+
function DF(t, e) {
|
|
14533
14551
|
const i = O(e.uid, "rtl") ?? !1, a = O(e.uid, "config");
|
|
14534
14552
|
if (a?.series[0].type === y.HeatSeries) {
|
|
14535
14553
|
const o = a?.series[0], { start: n, end: s } = Jn(i, o);
|
|
@@ -14607,7 +14625,7 @@ function gm(t) {
|
|
|
14607
14625
|
layout: o.verticalLayout,
|
|
14608
14626
|
paddingRight: s.legendPadding,
|
|
14609
14627
|
width: s.width
|
|
14610
|
-
}),
|
|
14628
|
+
}), OF(e, a), l = e.leftAxesContainer;
|
|
14611
14629
|
break;
|
|
14612
14630
|
case G.Right:
|
|
14613
14631
|
a.setAll({
|
|
@@ -14641,7 +14659,7 @@ function gm(t) {
|
|
|
14641
14659
|
}
|
|
14642
14660
|
break;
|
|
14643
14661
|
}
|
|
14644
|
-
|
|
14662
|
+
wF(e), i.markDirty(), hm(e, { chartPaddingTop: d, chartPaddingBottom: c }), di(() => {
|
|
14645
14663
|
l && (u ? l.children.unshift(a) : l.children.push(a), e.markDirty(), i.markDirty(), l.markDirty());
|
|
14646
14664
|
});
|
|
14647
14665
|
}
|
|
@@ -14794,7 +14812,7 @@ function ul(t) {
|
|
|
14794
14812
|
n.dispose();
|
|
14795
14813
|
}), i.children.removeValue(a), a.dispose()), i.markDirty();
|
|
14796
14814
|
}
|
|
14797
|
-
), hm(t, {}),
|
|
14815
|
+
), hm(t, {}), $F(t);
|
|
14798
14816
|
}
|
|
14799
14817
|
function fl(t, e) {
|
|
14800
14818
|
const i = Ba({
|
|
@@ -14842,7 +14860,7 @@ function Xs(t) {
|
|
|
14842
14860
|
}
|
|
14843
14861
|
}
|
|
14844
14862
|
}
|
|
14845
|
-
function
|
|
14863
|
+
function MF(t, e) {
|
|
14846
14864
|
const { root: i } = t, a = O(t.uid, "config"), o = a?.legend, n = t.series.values[0];
|
|
14847
14865
|
ul(t);
|
|
14848
14866
|
const s = fm(t, a ?? e), r = bi.new(i, {
|
|
@@ -14878,11 +14896,11 @@ function Cm(t) {
|
|
|
14878
14896
|
} else
|
|
14879
14897
|
e.set("width", o.width);
|
|
14880
14898
|
}
|
|
14881
|
-
function
|
|
14899
|
+
function $F(t) {
|
|
14882
14900
|
const e = le({ childId: Kn, parent: t });
|
|
14883
14901
|
e instanceof bi && e.set("marginTop", 0);
|
|
14884
14902
|
}
|
|
14885
|
-
function
|
|
14903
|
+
function BF(t) {
|
|
14886
14904
|
let e;
|
|
14887
14905
|
const i = nt(St, t.uid);
|
|
14888
14906
|
return [t.bottomAxesContainer, t.rightAxesContainer, t.leftAxesContainer, t.topAxesContainer].forEach(
|
|
@@ -14907,7 +14925,7 @@ function $F(t) {
|
|
|
14907
14925
|
}
|
|
14908
14926
|
), e;
|
|
14909
14927
|
}
|
|
14910
|
-
function
|
|
14928
|
+
function NF(t) {
|
|
14911
14929
|
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];
|
|
14912
14930
|
if (a || o)
|
|
14913
14931
|
ul(e), s && r instanceof xe && di(() => {
|
|
@@ -14922,11 +14940,11 @@ function BF(t) {
|
|
|
14922
14940
|
});
|
|
14923
14941
|
});
|
|
14924
14942
|
else if (r instanceof xe) {
|
|
14925
|
-
const l =
|
|
14943
|
+
const l = BF(e);
|
|
14926
14944
|
if (l) {
|
|
14927
14945
|
Nc(e, l), Xs({ chart: e, legendConfig: n }), Sm(l, n);
|
|
14928
14946
|
const c = l.parent;
|
|
14929
|
-
c?.get("id") === nt(St, e.uid) && re(c, s), re(l, s),
|
|
14947
|
+
c?.get("id") === nt(St, e.uid) && re(c, s), re(l, s), DF(l, e), c && Ys({
|
|
14930
14948
|
legend: l,
|
|
14931
14949
|
chart: e,
|
|
14932
14950
|
legendContainer: c
|
|
@@ -14938,7 +14956,7 @@ function BF(t) {
|
|
|
14938
14956
|
}
|
|
14939
14957
|
}
|
|
14940
14958
|
}
|
|
14941
|
-
function
|
|
14959
|
+
function PF(t, e) {
|
|
14942
14960
|
let i = !1;
|
|
14943
14961
|
if (e === G.Right || e === G.Left)
|
|
14944
14962
|
i = !0;
|
|
@@ -14948,14 +14966,14 @@ function NF(t, e) {
|
|
|
14948
14966
|
}
|
|
14949
14967
|
return i;
|
|
14950
14968
|
}
|
|
14951
|
-
function
|
|
14969
|
+
function VF(t) {
|
|
14952
14970
|
let e = !1;
|
|
14953
14971
|
const i = t.dataItems[0]?.get("itemContainer").bounds().bottom;
|
|
14954
14972
|
return i !== void 0 && (e = !t.dataItems.some(
|
|
14955
14973
|
(a) => a.get("itemContainer").bounds().bottom !== i
|
|
14956
14974
|
)), e;
|
|
14957
14975
|
}
|
|
14958
|
-
function
|
|
14976
|
+
function WF(t) {
|
|
14959
14977
|
Fa(t.uid, { isLegendValueLabel: !0 }), t.valueLabels.template.adapters.add("text", (e, i) => {
|
|
14960
14978
|
let a = e ?? "";
|
|
14961
14979
|
const o = Yx(
|
|
@@ -14995,7 +15013,7 @@ function xm(t) {
|
|
|
14995
15013
|
Ux(e.uid, {
|
|
14996
15014
|
pieChartLegendValueLabelsFormatter: x
|
|
14997
15015
|
});
|
|
14998
|
-
const v = O(n?.uid ?? 0, "config")?.legend?.position ?? F.legendProperties.position, T = a?.valueLabelMaxWidth, k =
|
|
15016
|
+
const v = O(n?.uid ?? 0, "config")?.legend?.position ?? F.legendProperties.position, T = a?.valueLabelMaxWidth, k = PF(e, v), I = {
|
|
14999
15017
|
type: y.Text,
|
|
15000
15018
|
visible: s,
|
|
15001
15019
|
content: {
|
|
@@ -15024,7 +15042,7 @@ function xm(t) {
|
|
|
15024
15042
|
});
|
|
15025
15043
|
}
|
|
15026
15044
|
}
|
|
15027
|
-
function
|
|
15045
|
+
function EF(t, e) {
|
|
15028
15046
|
t.labels.template.adapters.add("maxWidth", (i) => {
|
|
15029
15047
|
let a = i;
|
|
15030
15048
|
const o = O(e.uid, "config"), n = o?.legend?.labelMaxWidth, s = o?.legend?.position ?? F.legendProperties.position;
|
|
@@ -15056,11 +15074,11 @@ function vm(t, e) {
|
|
|
15056
15074
|
}
|
|
15057
15075
|
return e && i > e ? e : i;
|
|
15058
15076
|
}
|
|
15059
|
-
function
|
|
15077
|
+
function zF(t, e) {
|
|
15060
15078
|
for (const i of t.dataItems)
|
|
15061
15079
|
i.get("label")?.set("width", e);
|
|
15062
15080
|
}
|
|
15063
|
-
function
|
|
15081
|
+
function HF(t, e) {
|
|
15064
15082
|
let i = 0;
|
|
15065
15083
|
for (const a of t.dataItems) {
|
|
15066
15084
|
const o = a.get("marker")?._contentWidth ?? 0, n = a.get("valueLabel")?._contentWidth ?? 0, s = o + e + n;
|
|
@@ -15070,25 +15088,25 @@ function zF(t, e) {
|
|
|
15070
15088
|
}
|
|
15071
15089
|
function Lm(t, e) {
|
|
15072
15090
|
di(() => {
|
|
15073
|
-
const i =
|
|
15074
|
-
|
|
15091
|
+
const i = VF(t), a = e === G.Right || e === G.Left || !i;
|
|
15092
|
+
zF(
|
|
15075
15093
|
t,
|
|
15076
15094
|
a ? vm(t) : void 0
|
|
15077
15095
|
);
|
|
15078
15096
|
});
|
|
15079
15097
|
}
|
|
15080
|
-
function
|
|
15098
|
+
function _F(t) {
|
|
15081
15099
|
const { legend: e, chart: i, seriesConfig: a, legendConfig: o } = t, { displayCategory: n } = o ?? {}, s = n ?? F.pieChart.displayCategoryOnLegend, r = O(i?.uid ?? 0, "rtl") ?? !1;
|
|
15082
15100
|
e.labels.template.setAll({
|
|
15083
15101
|
forceHidden: s === !1,
|
|
15084
15102
|
direction: r ? "rtl" : "ltr",
|
|
15085
15103
|
oversizedBehavior: o?.labelMaxWidth !== void 0 && !Number.isNaN(o.labelMaxWidth) ? "wrap" : "none"
|
|
15086
15104
|
}), di(() => {
|
|
15087
|
-
const l = vm(e, o?.labelMaxWidth), c =
|
|
15105
|
+
const l = vm(e, o?.labelMaxWidth), c = HF(e, l);
|
|
15088
15106
|
e.itemContainers.template.setAll({
|
|
15089
15107
|
width: c,
|
|
15090
15108
|
layout: i.root.horizontalLayout
|
|
15091
|
-
}),
|
|
15109
|
+
}), EF(e, i), xm({
|
|
15092
15110
|
legend: e,
|
|
15093
15111
|
seriesConfig: a,
|
|
15094
15112
|
webChartLegend: o,
|
|
@@ -15101,7 +15119,7 @@ function HF(t) {
|
|
|
15101
15119
|
function Fm(t) {
|
|
15102
15120
|
return t?.[0].type === y.HeatSeries && t[0].heatRulesType !== xa.Renderer;
|
|
15103
15121
|
}
|
|
15104
|
-
function
|
|
15122
|
+
function GF(t) {
|
|
15105
15123
|
const e = t.target.dataItem;
|
|
15106
15124
|
if (e?.dataContext !== void 0) {
|
|
15107
15125
|
const { dataContext: i } = e, a = typeof i == "object" && i !== null && "component" in i ? i.component : i;
|
|
@@ -15111,14 +15129,14 @@ function _F(t) {
|
|
|
15111
15129
|
}
|
|
15112
15130
|
}
|
|
15113
15131
|
}
|
|
15114
|
-
function
|
|
15115
|
-
t.itemContainers.template.events.on(oe.Click,
|
|
15132
|
+
function XF(t) {
|
|
15133
|
+
t.itemContainers.template.events.on(oe.Click, GF);
|
|
15116
15134
|
}
|
|
15117
|
-
function
|
|
15135
|
+
function YF(t, e) {
|
|
15118
15136
|
const i = O(e.uid, "rtl") ?? !1;
|
|
15119
15137
|
t.itemContainers.template.setAll({ reverseChildren: i });
|
|
15120
15138
|
}
|
|
15121
|
-
function
|
|
15139
|
+
function UF(t) {
|
|
15122
15140
|
const { chart: e, legend: i, chartConfig: a, showEmptySeries: o, queryObject: n } = t, s = W(a.series);
|
|
15123
15141
|
if (e.series.length > 1 || s === y.PieSeries || s === y.HeatSeries) {
|
|
15124
15142
|
let r = [];
|
|
@@ -15128,7 +15146,7 @@ function YF(t) {
|
|
|
15128
15146
|
const c = Ct(a);
|
|
15129
15147
|
r = e.series.values.filter((d) => {
|
|
15130
15148
|
let u = !1;
|
|
15131
|
-
return c ? u = d instanceof ne && !(d instanceof la) : u = d instanceof
|
|
15149
|
+
return c ? u = d instanceof ne && !(d instanceof la) : u = d instanceof Ri, u;
|
|
15132
15150
|
});
|
|
15133
15151
|
break;
|
|
15134
15152
|
}
|
|
@@ -15171,7 +15189,7 @@ function YF(t) {
|
|
|
15171
15189
|
if (!o) {
|
|
15172
15190
|
const u = a.series.find((f) => f.id === c.get("id"));
|
|
15173
15191
|
if (u !== void 0 && "y" in u && typeof u.y == "string") {
|
|
15174
|
-
const { x: f, y: g } = u, h = l === V.BarAndLineSplitByNoAggregation ? `${g}_${
|
|
15192
|
+
const { x: f, y: g } = u, h = l === V.BarAndLineSplitByNoAggregation ? `${g}_${Ti({ where: u.query?.where, keepSurroundingQuotes: !1, escape: !1 })}` : g;
|
|
15175
15193
|
d = c.data.values.some(
|
|
15176
15194
|
(p) => Ig({
|
|
15177
15195
|
dataItem: p,
|
|
@@ -15201,7 +15219,7 @@ function YF(t) {
|
|
|
15201
15219
|
});
|
|
15202
15220
|
if (d) {
|
|
15203
15221
|
r = [...d];
|
|
15204
|
-
const u =
|
|
15222
|
+
const u = sA(e);
|
|
15205
15223
|
u !== void 0 && r.push(u);
|
|
15206
15224
|
}
|
|
15207
15225
|
}
|
|
@@ -15260,7 +15278,7 @@ function ya(t, e) {
|
|
|
15260
15278
|
}), el(t, !0), P === void 0 && (a.setPrivate("width", void 0), a.markDirty()), t instanceof Qt && Lm(e, x);
|
|
15261
15279
|
}
|
|
15262
15280
|
}
|
|
15263
|
-
function
|
|
15281
|
+
function jF(t) {
|
|
15264
15282
|
const { chart: e, legend: i, legendContainer: a } = t, o = le({ childId: Ut, parent: a });
|
|
15265
15283
|
o && o.on("visible", () => {
|
|
15266
15284
|
i.root.events.once(oe.FrameEnded, () => {
|
|
@@ -15291,7 +15309,7 @@ function Am(t, e) {
|
|
|
15291
15309
|
labelType: q.LegendTitle
|
|
15292
15310
|
}), i;
|
|
15293
15311
|
}
|
|
15294
|
-
function
|
|
15312
|
+
function qF(t, e) {
|
|
15295
15313
|
e.markers.template.setAll({
|
|
15296
15314
|
width: F.legendProperties.legendMarkersSize,
|
|
15297
15315
|
height: F.legendProperties.legendMarkersSize
|
|
@@ -15320,7 +15338,7 @@ function jF(t, e) {
|
|
|
15320
15338
|
return o;
|
|
15321
15339
|
});
|
|
15322
15340
|
}
|
|
15323
|
-
function
|
|
15341
|
+
function ZF(t, e) {
|
|
15324
15342
|
e.seriesContainer.onPrivate("height", (i) => {
|
|
15325
15343
|
let a = 0;
|
|
15326
15344
|
const o = O(e.uid, "config"), n = o?.legend, s = le({ childId: St, parent: e });
|
|
@@ -15332,12 +15350,12 @@ function qF(t, e) {
|
|
|
15332
15350
|
Number.isFinite(r) || (o?.legend?.position === G.Top || o?.legend?.position === G.Bottom ? r = F.legendProperties.maxHeight : typeof i == "number" && (r = i - a)), t.set("maxHeight", r);
|
|
15333
15351
|
});
|
|
15334
15352
|
}
|
|
15335
|
-
function
|
|
15353
|
+
function KF(t, e, i) {
|
|
15336
15354
|
t.events.on(oe.DataValidated, () => {
|
|
15337
15355
|
t.dataItems.length > 0 && Tm(t, e, i);
|
|
15338
15356
|
});
|
|
15339
15357
|
}
|
|
15340
|
-
function
|
|
15358
|
+
function QF(t) {
|
|
15341
15359
|
let e;
|
|
15342
15360
|
if (t !== void 0) {
|
|
15343
15361
|
const i = O(t?.uid, "config");
|
|
@@ -15345,7 +15363,7 @@ function KF(t) {
|
|
|
15345
15363
|
}
|
|
15346
15364
|
return e ?? !1;
|
|
15347
15365
|
}
|
|
15348
|
-
function
|
|
15366
|
+
function JF(t) {
|
|
15349
15367
|
let e = "";
|
|
15350
15368
|
if (t instanceof pe) {
|
|
15351
15369
|
const i = O(t.uid, "config"), a = Qe(i), o = a ? m.Rotated : m.NonRotated, n = rt(i);
|
|
@@ -15370,31 +15388,31 @@ function QF(t) {
|
|
|
15370
15388
|
}
|
|
15371
15389
|
const c = a ? t.yAxes.getIndex(0) : t.xAxes.getIndex(0);
|
|
15372
15390
|
let d;
|
|
15373
|
-
c instanceof
|
|
15391
|
+
c instanceof Pe ? d = m.DateAxis : c instanceof ye ? d = m.ValueAxis : d = m.CategoryAxis;
|
|
15374
15392
|
const f = (i?.orderOptions?.data && "orderBy" in i.orderOptions.data ? i.orderOptions.data.orderBy === bn.Descending : !1) ? m.OrderByFieldsDESC : m.OrderByFieldsASC;
|
|
15375
15393
|
e = `${o}-${r}-${s}-${l}-${d}-${f}`;
|
|
15376
15394
|
}
|
|
15377
15395
|
return e;
|
|
15378
15396
|
}
|
|
15379
|
-
function
|
|
15380
|
-
const e =
|
|
15397
|
+
function eA(t) {
|
|
15398
|
+
const e = JF(t);
|
|
15381
15399
|
return Iu.has(e);
|
|
15382
15400
|
}
|
|
15383
15401
|
function Tm(t, e, i) {
|
|
15384
15402
|
switch (i) {
|
|
15385
15403
|
case y.HistogramSeries:
|
|
15386
15404
|
case y.PieSeries:
|
|
15387
|
-
t.set("reverseChildren",
|
|
15405
|
+
t.set("reverseChildren", QF(e));
|
|
15388
15406
|
break;
|
|
15389
15407
|
case y.BarSeries:
|
|
15390
15408
|
case y.LineSeries:
|
|
15391
15409
|
case y.RadarSeries:
|
|
15392
15410
|
case y.ComboLineAndBarSeries:
|
|
15393
|
-
t.set("reverseChildren",
|
|
15411
|
+
t.set("reverseChildren", eA(e));
|
|
15394
15412
|
break;
|
|
15395
15413
|
}
|
|
15396
15414
|
}
|
|
15397
|
-
function
|
|
15415
|
+
function tA(t, e) {
|
|
15398
15416
|
const i = le({ childId: St, parent: t });
|
|
15399
15417
|
if (i !== void 0) {
|
|
15400
15418
|
const a = le({ childId: Ut, parent: i }) ?? Am(t, i);
|
|
@@ -15412,7 +15430,7 @@ function eA(t, e) {
|
|
|
15412
15430
|
}
|
|
15413
15431
|
}
|
|
15414
15432
|
}
|
|
15415
|
-
function
|
|
15433
|
+
function iA(t, e = !1) {
|
|
15416
15434
|
const i = e ? F.legendProperties.roundedMarkerRadius : F.legendProperties.rectangleMarkerRadius;
|
|
15417
15435
|
t.markerRectangles.template.setAll({
|
|
15418
15436
|
cornerRadiusTL: i,
|
|
@@ -15421,7 +15439,7 @@ function tA(t, e = !1) {
|
|
|
15421
15439
|
cornerRadiusBR: i
|
|
15422
15440
|
});
|
|
15423
15441
|
}
|
|
15424
|
-
function
|
|
15442
|
+
function aA(t) {
|
|
15425
15443
|
const { legend: e, legendConfig: i, chartType: a, seriesConfig: o, chart: n } = t;
|
|
15426
15444
|
if (e !== void 0) {
|
|
15427
15445
|
const s = {
|
|
@@ -15446,12 +15464,12 @@ function iA(t) {
|
|
|
15446
15464
|
Dt({ label: e.labels.template, labelConfig: s }), e.labels.template.setAll({ x: void 0, y: void 0, paddingRight: 5 });
|
|
15447
15465
|
}
|
|
15448
15466
|
}
|
|
15449
|
-
function
|
|
15467
|
+
function oA(t, e) {
|
|
15450
15468
|
e === !0 && t.itemContainers.each((i) => {
|
|
15451
15469
|
i.events.disableType(oe.Click);
|
|
15452
15470
|
});
|
|
15453
15471
|
}
|
|
15454
|
-
function
|
|
15472
|
+
function nA(t) {
|
|
15455
15473
|
const { legend: e, chart: i, seriesConfig: a } = t;
|
|
15456
15474
|
a?.[0].type !== y.HeatSeries && e.itemContainers.template.adapters.add(
|
|
15457
15475
|
"cursorOverStyle",
|
|
@@ -15462,7 +15480,7 @@ function Vc(t, e) {
|
|
|
15462
15480
|
const { root: i } = t;
|
|
15463
15481
|
let a;
|
|
15464
15482
|
if (Fm(e?.series))
|
|
15465
|
-
a =
|
|
15483
|
+
a = MF(t, e);
|
|
15466
15484
|
else {
|
|
15467
15485
|
const o = bi.new(i, {
|
|
15468
15486
|
id: nt(St, t.uid),
|
|
@@ -15474,11 +15492,11 @@ function Vc(t, e) {
|
|
|
15474
15492
|
fillOpacityField: je.fillOpacityField,
|
|
15475
15493
|
strokeOpacityField: je.strokeOpacityField
|
|
15476
15494
|
} : {};
|
|
15477
|
-
a = Wd.new(i, { ...n, verticalScrollbar: Fs.new(i, { orientation: "vertical" }) }), t instanceof Qt ?
|
|
15495
|
+
a = Wd.new(i, { ...n, verticalScrollbar: Fs.new(i, { orientation: "vertical" }) }), t instanceof Qt ? WF(a) : a.valueLabels.template.setAll({ forceHidden: !0, textAlign: "left" }), qF(t, a), Am(t, o), XF(a), YF(a, t), jF({ chart: t, legend: a, legendContainer: o }), ZF(a, t), KF(a, t, W(e?.series)), nA({ legend: a, chart: t, seriesConfig: e?.series }), o.children.push(a), t.children.push(o);
|
|
15478
15496
|
}
|
|
15479
15497
|
return a;
|
|
15480
15498
|
}
|
|
15481
|
-
function
|
|
15499
|
+
function sA(t) {
|
|
15482
15500
|
const e = O(t.uid ?? NaN, "config"), i = e?.series[0].heatRulesType === xa.Renderer, o = t.series.values[0].data.values.some(
|
|
15483
15501
|
(s) => s[Re.valueField] === null || i && !s[H.rendererSymbolField]
|
|
15484
15502
|
);
|
|
@@ -15522,7 +15540,7 @@ function km(t) {
|
|
|
15522
15540
|
heatLegendPositionChanged: c
|
|
15523
15541
|
} = t, { legend: d, series: u } = i;
|
|
15524
15542
|
if (Fm(s) && o)
|
|
15525
|
-
l && a && (Wc({ chart: e, legend: a, showLegend: !1 }), Ec({ chart: e, showLegend: !1, legendConfig: d })),
|
|
15543
|
+
l && a && (Wc({ chart: e, legend: a, showLegend: !1 }), Ec({ chart: e, showLegend: !1, legendConfig: d })), NF({
|
|
15526
15544
|
chart: e,
|
|
15527
15545
|
chartConfig: i,
|
|
15528
15546
|
heatLegendPositionChanged: c,
|
|
@@ -15531,20 +15549,20 @@ function km(t) {
|
|
|
15531
15549
|
else if (a instanceof Wd && (s?.[0].type === y.HeatSeries && ul(e), le({ childId: St, parent: e }) !== void 0)) {
|
|
15532
15550
|
const g = Cr(u) && d !== void 0 && d.visible !== !1;
|
|
15533
15551
|
if (Wc({ chart: e, legend: a, showLegend: g }), Ec({ chart: e, showLegend: g, legendConfig: d }), g) {
|
|
15534
|
-
|
|
15552
|
+
iA(a, d?.roundMarkers), aA({
|
|
15535
15553
|
legend: a,
|
|
15536
15554
|
legendConfig: d,
|
|
15537
15555
|
chartType: W(u),
|
|
15538
15556
|
seriesConfig: s,
|
|
15539
15557
|
chart: e
|
|
15540
|
-
}), Tm(a, e, W(u)),
|
|
15558
|
+
}), Tm(a, e, W(u)), UF({ chart: e, legend: a, chartConfig: i, showEmptySeries: n, queryObject: r }), tA(e, d), ya(e, a);
|
|
15541
15559
|
const h = O(e.uid, "options");
|
|
15542
|
-
|
|
15560
|
+
oA(a, h?.legendInteractionsDisabled), e instanceof Qt && _F({ legend: a, chart: e, seriesConfig: s, legendConfig: d });
|
|
15543
15561
|
}
|
|
15544
15562
|
}
|
|
15545
15563
|
}
|
|
15546
15564
|
function Im(t) {
|
|
15547
|
-
if (!(t instanceof
|
|
15565
|
+
if (!(t instanceof Ei) && t instanceof pe) {
|
|
15548
15566
|
const { root: e } = t, i = Fs.new(e, {
|
|
15549
15567
|
orientation: "horizontal",
|
|
15550
15568
|
visible: !1,
|
|
@@ -15556,7 +15574,7 @@ function Im(t) {
|
|
|
15556
15574
|
t.setAll({ scrollbarX: i, scrollbarY: a });
|
|
15557
15575
|
}
|
|
15558
15576
|
}
|
|
15559
|
-
function
|
|
15577
|
+
function rA(t, e) {
|
|
15560
15578
|
if (e !== void 0) {
|
|
15561
15579
|
const i = Q(e), a = e[3] / 255, o = a / 2;
|
|
15562
15580
|
[
|
|
@@ -15587,10 +15605,10 @@ function sA(t, e) {
|
|
|
15587
15605
|
});
|
|
15588
15606
|
}
|
|
15589
15607
|
}
|
|
15590
|
-
function
|
|
15608
|
+
function lA(t, e) {
|
|
15591
15609
|
typeof e == "number" && Number.isFinite(e) && (t.get("orientation") === "horizontal" ? t.setAll({ height: e, minHeight: e }) : t.setAll({ width: e, minWidth: e }));
|
|
15592
15610
|
}
|
|
15593
|
-
function
|
|
15611
|
+
function cA(t, e) {
|
|
15594
15612
|
if (typeof e == "number" && Number.isFinite(e)) {
|
|
15595
15613
|
const a = e / 30;
|
|
15596
15614
|
t.startGrip.set("scale", a), t.endGrip.set("scale", a);
|
|
@@ -15601,7 +15619,7 @@ function zc(t, e) {
|
|
|
15601
15619
|
}
|
|
15602
15620
|
function Rm(t) {
|
|
15603
15621
|
const { chart: e, scrollbarXConfig: i, scrollbarYConfig: a } = t;
|
|
15604
|
-
if (!(e instanceof
|
|
15622
|
+
if (!(e instanceof Ei) && e instanceof pe) {
|
|
15605
15623
|
const o = O(e.uid, "isRotated");
|
|
15606
15624
|
(e.get("scrollbarX") === void 0 || e.get("scrollbarY") === void 0) && Im(e);
|
|
15607
15625
|
const n = e.get("scrollbarX"), s = e.get("scrollbarY");
|
|
@@ -15610,17 +15628,17 @@ function Rm(t) {
|
|
|
15610
15628
|
const l = r.get("orientation") === "horizontal" && o !== !0 || r.get("orientation") === "vertical" && o === !0 ? i : a, c = l?.visible !== !0;
|
|
15611
15629
|
if (re(r, !c), l !== void 0 && !c) {
|
|
15612
15630
|
const { width: d, color: u, gripSize: f, margin: g } = l;
|
|
15613
|
-
zc(r, g ?? d ?? F.scrollbarPadding),
|
|
15631
|
+
zc(r, g ?? d ?? F.scrollbarPadding), rA(r, u), cA(r, f), lA(r, d);
|
|
15614
15632
|
} else
|
|
15615
15633
|
zc(r, 0);
|
|
15616
15634
|
}
|
|
15617
15635
|
});
|
|
15618
15636
|
}
|
|
15619
15637
|
}
|
|
15620
|
-
function
|
|
15638
|
+
function dA(t) {
|
|
15621
15639
|
Af(t);
|
|
15622
15640
|
}
|
|
15623
|
-
function
|
|
15641
|
+
function uA(t, e) {
|
|
15624
15642
|
t.columns.each((i) => {
|
|
15625
15643
|
(i.dataItem?.dataContext)[e] === 0 && i.states.lookup("default")?.setAll({
|
|
15626
15644
|
visible: !1
|
|
@@ -15631,7 +15649,7 @@ function ml(t, e) {
|
|
|
15631
15649
|
const i = pa(e);
|
|
15632
15650
|
return Number(t.dataContext?.[i]);
|
|
15633
15651
|
}
|
|
15634
|
-
function
|
|
15652
|
+
function fA(t) {
|
|
15635
15653
|
const e = [], i = t.component, a = i.chart, o = i.dataItems.indexOf(t);
|
|
15636
15654
|
return o >= 0 && a.series.each((n) => {
|
|
15637
15655
|
const s = n;
|
|
@@ -15644,15 +15662,15 @@ function uA(t) {
|
|
|
15644
15662
|
}
|
|
15645
15663
|
}), e;
|
|
15646
15664
|
}
|
|
15647
|
-
function
|
|
15665
|
+
function mA(t) {
|
|
15648
15666
|
let e = !1;
|
|
15649
15667
|
if (t) {
|
|
15650
|
-
const i =
|
|
15668
|
+
const i = fA(t), a = ml(t, t.component), o = i.indexOf(t);
|
|
15651
15669
|
e = a > 0 ? o === i.length - 1 : o === 0;
|
|
15652
15670
|
}
|
|
15653
15671
|
return e;
|
|
15654
15672
|
}
|
|
15655
|
-
function
|
|
15673
|
+
function gA(t) {
|
|
15656
15674
|
const e = [
|
|
15657
15675
|
"cornerRadiusTL",
|
|
15658
15676
|
"cornerRadiusTR",
|
|
@@ -15670,7 +15688,7 @@ function mA(t) {
|
|
|
15670
15688
|
let r = 0;
|
|
15671
15689
|
if (s) {
|
|
15672
15690
|
const l = O(s.uid, "config"), c = l?.roundCorners, d = n ? ml(n, t) : Number.NaN;
|
|
15673
|
-
if (c?.rounded === !0 && Number.isFinite(d) && d !== 0 && (l === void 0 || !yr(l) ||
|
|
15691
|
+
if (c?.rounded === !0 && Number.isFinite(d) && d !== 0 && (l === void 0 || !yr(l) || mA(n))) {
|
|
15674
15692
|
const f = c?.cornerRadius ?? 0;
|
|
15675
15693
|
r = (l?.rotated === !0 ? ["cornerRadiusTR", "cornerRadiusBR"] : ["cornerRadiusTL", "cornerRadiusTR"]).includes(i) ? f : 0;
|
|
15676
15694
|
}
|
|
@@ -15679,7 +15697,7 @@ function mA(t) {
|
|
|
15679
15697
|
});
|
|
15680
15698
|
});
|
|
15681
15699
|
}
|
|
15682
|
-
function
|
|
15700
|
+
function hA(t) {
|
|
15683
15701
|
const { root: e, chartConfig: i, seriesConfig: a, xAxis: o, yAxis: n, options: s, queryObject: r, errorStrings: l } = t, { id: c, name: d } = a, { xField: u, yField: f, xAxisField: g, yAxisField: h } = Ua(i, a), b = yr(i), p = xe.new(e, {
|
|
15684
15702
|
id: c,
|
|
15685
15703
|
name: d,
|
|
@@ -15696,12 +15714,12 @@ function gA(t) {
|
|
|
15696
15714
|
const S = ra.new({});
|
|
15697
15715
|
return Ge(p.uid, { bulletTemplate: S }), ti({ element: p.columns.template, series: p, queryObject: r, errorStrings: l }), p.bullets.push((C) => {
|
|
15698
15716
|
const x = Rt.new(C, {}, S);
|
|
15699
|
-
return
|
|
15717
|
+
return Ii.new(C, {
|
|
15700
15718
|
sprite: x
|
|
15701
15719
|
});
|
|
15702
|
-
}), p.columns.template.set("width", at(100)),
|
|
15720
|
+
}), p.columns.template.set("width", at(100)), gA(p), rl(p), Rf(p, s?.tooltipFormatter), qn(p, i), p.appear(), p;
|
|
15703
15721
|
}
|
|
15704
|
-
function
|
|
15722
|
+
function pA(t) {
|
|
15705
15723
|
const { series: e, seriesConfig: i, seriesIndex: a, numberOfSeries: o, chartSubType: n, colorMatch: s, rendererType: r } = t, l = e.root, c = pa(e), d = /* @__PURE__ */ new Set();
|
|
15706
15724
|
let u, f;
|
|
15707
15725
|
const g = i.fillSymbol, h = {
|
|
@@ -15771,9 +15789,9 @@ function hA(t) {
|
|
|
15771
15789
|
rendererSymbol: f
|
|
15772
15790
|
});
|
|
15773
15791
|
}
|
|
15774
|
-
return d.size <= 1 && (u = p.symbolWithColorInfo ?? g),
|
|
15792
|
+
return d.size <= 1 && (u = p.symbolWithColorInfo ?? g), uA(e, c), u;
|
|
15775
15793
|
}
|
|
15776
|
-
function
|
|
15794
|
+
function bA(t) {
|
|
15777
15795
|
const {
|
|
15778
15796
|
series: e,
|
|
15779
15797
|
seriesConfig: i,
|
|
@@ -15787,7 +15805,7 @@ function pA(t) {
|
|
|
15787
15805
|
if (c !== void 0) {
|
|
15788
15806
|
const d = O(c.uid, "config"), u = d?.series.length ?? 0, f = Z(d?.series);
|
|
15789
15807
|
Pa(e, !1);
|
|
15790
|
-
const g =
|
|
15808
|
+
const g = pA({
|
|
15791
15809
|
series: e,
|
|
15792
15810
|
seriesConfig: i,
|
|
15793
15811
|
seriesIndex: n,
|
|
@@ -15804,7 +15822,7 @@ function pA(t) {
|
|
|
15804
15822
|
});
|
|
15805
15823
|
}
|
|
15806
15824
|
}
|
|
15807
|
-
function
|
|
15825
|
+
function yA(t) {
|
|
15808
15826
|
const {
|
|
15809
15827
|
columnSeries: e,
|
|
15810
15828
|
data: i,
|
|
@@ -15825,7 +15843,7 @@ function bA(t) {
|
|
|
15825
15843
|
}), e.data.setAll(i.dataItems);
|
|
15826
15844
|
}
|
|
15827
15845
|
}
|
|
15828
|
-
function
|
|
15846
|
+
function SA(t) {
|
|
15829
15847
|
const {
|
|
15830
15848
|
series: e,
|
|
15831
15849
|
data: i,
|
|
@@ -15851,7 +15869,7 @@ function yA(t) {
|
|
|
15851
15869
|
series: e,
|
|
15852
15870
|
chartConfig: a,
|
|
15853
15871
|
isRotated: v
|
|
15854
|
-
}),
|
|
15872
|
+
}), dA({
|
|
15855
15873
|
seriesType: y.BarSeries,
|
|
15856
15874
|
series: e,
|
|
15857
15875
|
seriesConfig: L,
|
|
@@ -15859,7 +15877,7 @@ function yA(t) {
|
|
|
15859
15877
|
dataLabelsConfig: L.dataLabels,
|
|
15860
15878
|
autoInverseDataLabelTextColor: f,
|
|
15861
15879
|
externalDataLabelFormatter: o?.dataLabelFormatter
|
|
15862
|
-
}),
|
|
15880
|
+
}), yA({
|
|
15863
15881
|
columnSeries: e,
|
|
15864
15882
|
data: i,
|
|
15865
15883
|
seriesIndex: n,
|
|
@@ -15878,7 +15896,7 @@ function yA(t) {
|
|
|
15878
15896
|
seriesIndex: n,
|
|
15879
15897
|
tooltipFormatter: o?.tooltipFormatter,
|
|
15880
15898
|
utilsStrings: d
|
|
15881
|
-
}),
|
|
15899
|
+
}), Oi(t)) {
|
|
15882
15900
|
const T = {
|
|
15883
15901
|
series: e,
|
|
15884
15902
|
seriesConfig: L,
|
|
@@ -15889,8 +15907,8 @@ function yA(t) {
|
|
|
15889
15907
|
rendererType: x,
|
|
15890
15908
|
interactionsDisabled: o?.interactionsDisabled
|
|
15891
15909
|
};
|
|
15892
|
-
|
|
15893
|
-
styleCallback: () =>
|
|
15910
|
+
Di({
|
|
15911
|
+
styleCallback: () => bA(T),
|
|
15894
15912
|
series: e,
|
|
15895
15913
|
seriesConfig: L
|
|
15896
15914
|
});
|
|
@@ -15902,7 +15920,7 @@ function yA(t) {
|
|
|
15902
15920
|
queryObject: c
|
|
15903
15921
|
});
|
|
15904
15922
|
}
|
|
15905
|
-
function
|
|
15923
|
+
function CA(t) {
|
|
15906
15924
|
const { chartConfig: e, seriesConfig: i } = t, a = Qe(e), o = e.showOutliers, n = e.standardizeValues, s = Ct(e), { y: r } = i, l = mr(e), c = Z(l.series), d = s ? void 0 : i?.query?.where, u = {
|
|
15907
15925
|
y: c === V.BoxPlotC4MultiFieldsAndCategory && typeof r == "string" ? r : void 0,
|
|
15908
15926
|
chartSubType: c,
|
|
@@ -15938,7 +15956,7 @@ function SA(t) {
|
|
|
15938
15956
|
}
|
|
15939
15957
|
};
|
|
15940
15958
|
}
|
|
15941
|
-
function
|
|
15959
|
+
function xA(t) {
|
|
15942
15960
|
const {
|
|
15943
15961
|
chartConfig: e,
|
|
15944
15962
|
seriesConfig: i,
|
|
@@ -15951,7 +15969,7 @@ function CA(t) {
|
|
|
15951
15969
|
} = t;
|
|
15952
15970
|
(n === !0 || r === !0 || s === !0 || l === !0) && a.data.setAll(yo({ chartConfig: e, seriesConfig: i, data: o, seriesType: "candleStick" }));
|
|
15953
15971
|
}
|
|
15954
|
-
function
|
|
15972
|
+
function vA(t) {
|
|
15955
15973
|
const { candleStickSeries: e, seriesConfig: i, seriesIndex: a, chartSubType: o, colorMatch: n, showMean: s, rendererType: r, options: l } = t, { root: c } = e, d = i.fillSymbol ?? Ra(a);
|
|
15956
15974
|
let u = {};
|
|
15957
15975
|
const f = {
|
|
@@ -15985,20 +16003,20 @@ function xA(t) {
|
|
|
15985
16003
|
colorMatch: n
|
|
15986
16004
|
}), l?.interactionsDisabled && Pa(e, !0);
|
|
15987
16005
|
}
|
|
15988
|
-
function
|
|
16006
|
+
function LA(t) {
|
|
15989
16007
|
const { candleStickSeries: e, seriesConfig: i, options: a } = t;
|
|
15990
|
-
He(e.columns.template, a?.selectionTheme), ja(e, i.name),
|
|
15991
|
-
styleCallback: () =>
|
|
16008
|
+
He(e.columns.template, a?.selectionTheme), ja(e, i.name), xA(t), Oi(t) && Di({
|
|
16009
|
+
styleCallback: () => vA(t),
|
|
15992
16010
|
series: e,
|
|
15993
16011
|
seriesConfig: i
|
|
15994
16012
|
});
|
|
15995
16013
|
}
|
|
15996
|
-
function
|
|
16014
|
+
function FA(t) {
|
|
15997
16015
|
const { root: e, xAxis: i, yAxis: a, chartConfig: o, seriesIndex: n, options: s, queryObject: r, errorStrings: l } = t, c = o.series[n];
|
|
15998
16016
|
let d;
|
|
15999
16017
|
if (c.type === y.BoxPlotSeries) {
|
|
16000
|
-
const u =
|
|
16001
|
-
d =
|
|
16018
|
+
const u = CA({ chartConfig: o, seriesConfig: c });
|
|
16019
|
+
d = Ri.new(e, {
|
|
16002
16020
|
id: c.id,
|
|
16003
16021
|
turboMode: !0,
|
|
16004
16022
|
// we enable the turbo mode at initialization to improve the performance; it will be reset properly during the update.
|
|
@@ -16018,7 +16036,7 @@ function LA(t) {
|
|
|
16018
16036
|
}
|
|
16019
16037
|
return d;
|
|
16020
16038
|
}
|
|
16021
|
-
function
|
|
16039
|
+
function AA(t) {
|
|
16022
16040
|
const { chartConfig: e, seriesConfig: i } = t, a = Z(e.series), { showOutliers: o, standardizeValues: n } = e, { y: s } = i, r = i?.query?.where, l = mr(e), c = es({
|
|
16023
16041
|
chartConfig: l,
|
|
16024
16042
|
seriesConfig: i,
|
|
@@ -16033,7 +16051,7 @@ function FA(t) {
|
|
|
16033
16051
|
});
|
|
16034
16052
|
return c.properties.value = d, c;
|
|
16035
16053
|
}
|
|
16036
|
-
function
|
|
16054
|
+
function TA(t) {
|
|
16037
16055
|
const {
|
|
16038
16056
|
chartConfig: e,
|
|
16039
16057
|
seriesConfig: i,
|
|
@@ -16046,7 +16064,7 @@ function AA(t) {
|
|
|
16046
16064
|
} = t;
|
|
16047
16065
|
(n === !0 || r === !0 || s === !0 || l === !0) && a.data.setAll(yo({ chartConfig: e, seriesConfig: i, data: o, seriesType: "meanLines" }));
|
|
16048
16066
|
}
|
|
16049
|
-
function
|
|
16067
|
+
function kA(t) {
|
|
16050
16068
|
const {
|
|
16051
16069
|
meanLineSeries: e,
|
|
16052
16070
|
chartConfig: i,
|
|
@@ -16058,7 +16076,7 @@ function TA(t) {
|
|
|
16058
16076
|
seriesWereReinitialized: l,
|
|
16059
16077
|
options: c
|
|
16060
16078
|
} = t, d = se(e.uid, "bulletTemplate");
|
|
16061
|
-
d && He(d, c?.selectionTheme), ja(e, a?.name),
|
|
16079
|
+
d && He(d, c?.selectionTheme), ja(e, a?.name), TA({
|
|
16062
16080
|
chartConfig: i,
|
|
16063
16081
|
meanLineSeries: e,
|
|
16064
16082
|
data: o,
|
|
@@ -16069,11 +16087,11 @@ function TA(t) {
|
|
|
16069
16087
|
seriesConfig: a
|
|
16070
16088
|
});
|
|
16071
16089
|
}
|
|
16072
|
-
function
|
|
16090
|
+
function IA(t) {
|
|
16073
16091
|
const { root: e, xAxis: i, yAxis: a, chartConfig: o, seriesIndex: n, options: s, queryObject: r, errorStrings: l } = t, c = o.series[n];
|
|
16074
16092
|
let d;
|
|
16075
16093
|
if (c.type === y.LineSeries) {
|
|
16076
|
-
const u =
|
|
16094
|
+
const u = AA({ chartConfig: o, seriesConfig: c });
|
|
16077
16095
|
d = ne.new(e, {
|
|
16078
16096
|
id: c.id,
|
|
16079
16097
|
xAxis: i,
|
|
@@ -16088,12 +16106,12 @@ function kA(t) {
|
|
|
16088
16106
|
{
|
|
16089
16107
|
// accessibility for keyboard users — configured here rather than in setAccessibilityFeatures()
|
|
16090
16108
|
role: F.aria.defaultChartItemRole,
|
|
16091
|
-
ariaLabel:
|
|
16109
|
+
ariaLabel: Vi(),
|
|
16092
16110
|
hoverOnFocus: !0
|
|
16093
16111
|
// show tooltip when the marker receives keyboard focus
|
|
16094
16112
|
},
|
|
16095
16113
|
f
|
|
16096
|
-
), b =
|
|
16114
|
+
), b = Ii.new(g, {
|
|
16097
16115
|
sprite: h
|
|
16098
16116
|
});
|
|
16099
16117
|
return d && ti({ element: h, series: d, queryObject: r, errorStrings: l }), b;
|
|
@@ -16101,10 +16119,10 @@ function kA(t) {
|
|
|
16101
16119
|
}
|
|
16102
16120
|
return d;
|
|
16103
16121
|
}
|
|
16104
|
-
function
|
|
16122
|
+
function RA(t, e) {
|
|
16105
16123
|
return t.get("id") === `${e}_${me.Outliers}`;
|
|
16106
16124
|
}
|
|
16107
|
-
function
|
|
16125
|
+
function wA(t) {
|
|
16108
16126
|
const { chartConfig: e, seriesConfig: i } = t;
|
|
16109
16127
|
return es({
|
|
16110
16128
|
chartConfig: e,
|
|
@@ -16112,7 +16130,7 @@ function RA(t) {
|
|
|
16112
16130
|
key: ie.Outlier
|
|
16113
16131
|
});
|
|
16114
16132
|
}
|
|
16115
|
-
function
|
|
16133
|
+
function OA(t) {
|
|
16116
16134
|
const {
|
|
16117
16135
|
chartConfig: e,
|
|
16118
16136
|
outlierSeries: i,
|
|
@@ -16125,10 +16143,10 @@ function wA(t) {
|
|
|
16125
16143
|
} = t;
|
|
16126
16144
|
(o === !0 || s === !0 || n === !0 || r === !0) && i.data.setAll(yo({ chartConfig: e, seriesConfig: l, data: a, seriesType: "outliers" }));
|
|
16127
16145
|
}
|
|
16128
|
-
function
|
|
16146
|
+
function DA(t, e) {
|
|
16129
16147
|
return (t ?? F.boxPlot.boxPlotOutliersVisibility) && e !== !1;
|
|
16130
16148
|
}
|
|
16131
|
-
function
|
|
16149
|
+
function MA(t) {
|
|
16132
16150
|
const { outlierSeries: e, chartSubType: i, seriesConfig: a, colorMatch: o } = t;
|
|
16133
16151
|
if (se(e.uid, "bulletTemplate") && a.type === y.BoxPlotSeries) {
|
|
16134
16152
|
const s = a.fillSymbol, r = {
|
|
@@ -16157,7 +16175,7 @@ function DA(t) {
|
|
|
16157
16175
|
});
|
|
16158
16176
|
}
|
|
16159
16177
|
}
|
|
16160
|
-
function
|
|
16178
|
+
function $A(t) {
|
|
16161
16179
|
const {
|
|
16162
16180
|
outlierSeries: e,
|
|
16163
16181
|
chartConfig: i,
|
|
@@ -16172,7 +16190,7 @@ function MA(t) {
|
|
|
16172
16190
|
} = t;
|
|
16173
16191
|
if (e && o.type === y.BoxPlotSeries) {
|
|
16174
16192
|
const u = se(e.uid, "bulletTemplate");
|
|
16175
|
-
u && He(u, d?.selectionTheme),
|
|
16193
|
+
u && He(u, d?.selectionTheme), OA({
|
|
16176
16194
|
chartConfig: i,
|
|
16177
16195
|
seriesConfig: o,
|
|
16178
16196
|
outlierSeries: e,
|
|
@@ -16182,19 +16200,19 @@ function MA(t) {
|
|
|
16182
16200
|
dataWasUpdated: r,
|
|
16183
16201
|
seriesWereReinitialized: c
|
|
16184
16202
|
});
|
|
16185
|
-
const f =
|
|
16186
|
-
re(e, f),
|
|
16187
|
-
styleCallback: () =>
|
|
16203
|
+
const f = DA(n, o.visible);
|
|
16204
|
+
re(e, f), Oi(t) && Di({
|
|
16205
|
+
styleCallback: () => MA(t),
|
|
16188
16206
|
series: e,
|
|
16189
16207
|
seriesConfig: o
|
|
16190
16208
|
});
|
|
16191
16209
|
}
|
|
16192
16210
|
}
|
|
16193
|
-
function
|
|
16211
|
+
function BA(t) {
|
|
16194
16212
|
const { root: e, xAxis: i, yAxis: a, chartConfig: o, seriesIndex: n, options: s, queryObject: r, errorStrings: l } = t, c = o.series[n];
|
|
16195
16213
|
let d;
|
|
16196
16214
|
if (c.type === y.BoxPlotSeries) {
|
|
16197
|
-
const u =
|
|
16215
|
+
const u = wA({ chartConfig: o, seriesConfig: c });
|
|
16198
16216
|
d = ne.new(e, {
|
|
16199
16217
|
id: `${c.id}_${me.Outliers}`,
|
|
16200
16218
|
xAxis: i,
|
|
@@ -16209,20 +16227,20 @@ function $A(t) {
|
|
|
16209
16227
|
{
|
|
16210
16228
|
// accessibility for keyboard users — configured here rather than in setAccessibilityFeatures()
|
|
16211
16229
|
role: F.aria.defaultChartItemRole,
|
|
16212
|
-
ariaLabel:
|
|
16230
|
+
ariaLabel: Vi(),
|
|
16213
16231
|
hoverOnFocus: !0
|
|
16214
16232
|
// show tooltip when the marker receives keyboard focus
|
|
16215
16233
|
},
|
|
16216
16234
|
f
|
|
16217
|
-
), b =
|
|
16235
|
+
), b = Ii.new(g, {
|
|
16218
16236
|
sprite: h
|
|
16219
16237
|
});
|
|
16220
|
-
return d && ti({ element: h, series: d, queryObject: r, errorStrings: l }),
|
|
16238
|
+
return d && ti({ element: h, series: d, queryObject: r, errorStrings: l }), zA({ outlierSeries: d, bullet: b, seriesConfigId: c.id }), b;
|
|
16221
16239
|
}), d.appear();
|
|
16222
16240
|
}
|
|
16223
16241
|
return d;
|
|
16224
16242
|
}
|
|
16225
|
-
function
|
|
16243
|
+
function NA(t) {
|
|
16226
16244
|
const { chartConfig: e, seriesConfig: i, type: a } = t;
|
|
16227
16245
|
let o = "";
|
|
16228
16246
|
switch (a) {
|
|
@@ -16242,7 +16260,7 @@ function BA(t) {
|
|
|
16242
16260
|
key: o
|
|
16243
16261
|
});
|
|
16244
16262
|
}
|
|
16245
|
-
function
|
|
16263
|
+
function PA(t) {
|
|
16246
16264
|
const {
|
|
16247
16265
|
chartConfig: e,
|
|
16248
16266
|
stepLineSeries: i,
|
|
@@ -16255,7 +16273,7 @@ function NA(t) {
|
|
|
16255
16273
|
} = t;
|
|
16256
16274
|
(o === !0 || s === !0 || n === !0 || r === !0) && i.data.setAll(yo({ chartConfig: e, seriesConfig: l, data: a, seriesType: "stepLine" }));
|
|
16257
16275
|
}
|
|
16258
|
-
function
|
|
16276
|
+
function VA(t) {
|
|
16259
16277
|
const { stepLineSeries: e, data: i, seriesConfig: a, seriesIndex: o, colorMatch: n, chartSubType: s, rendererType: r } = t;
|
|
16260
16278
|
if (a.type === y.BoxPlotSeries) {
|
|
16261
16279
|
const { root: l } = e, c = du({
|
|
@@ -16277,7 +16295,7 @@ function PA(t) {
|
|
|
16277
16295
|
});
|
|
16278
16296
|
}
|
|
16279
16297
|
}
|
|
16280
|
-
function
|
|
16298
|
+
function WA(t) {
|
|
16281
16299
|
const {
|
|
16282
16300
|
chartConfig: e,
|
|
16283
16301
|
stepLineSeries: i,
|
|
@@ -16288,11 +16306,11 @@ function VA(t) {
|
|
|
16288
16306
|
dataWasUpdated: r,
|
|
16289
16307
|
seriesWereReinitialized: l
|
|
16290
16308
|
} = t, c = o.visible !== !1;
|
|
16291
|
-
i !== void 0 && o.type === y.BoxPlotSeries && (re(i, c),
|
|
16292
|
-
styleCallback: () =>
|
|
16309
|
+
i !== void 0 && o.type === y.BoxPlotSeries && (re(i, c), Oi(t) && Di({
|
|
16310
|
+
styleCallback: () => VA(t),
|
|
16293
16311
|
series: i,
|
|
16294
16312
|
seriesConfig: o
|
|
16295
|
-
}),
|
|
16313
|
+
}), PA({
|
|
16296
16314
|
chartConfig: e,
|
|
16297
16315
|
stepLineSeries: i,
|
|
16298
16316
|
data: a,
|
|
@@ -16307,7 +16325,7 @@ function ys(t) {
|
|
|
16307
16325
|
const { root: e, xAxis: i, yAxis: a, chartConfig: o, seriesIndex: n, type: s, options: r, queryObject: l, errorStrings: c } = t, d = o.series[n];
|
|
16308
16326
|
let u;
|
|
16309
16327
|
if (d.type === y.BoxPlotSeries) {
|
|
16310
|
-
const f =
|
|
16328
|
+
const f = NA({ chartConfig: o, seriesConfig: d, type: s });
|
|
16311
16329
|
u = la.new(e, {
|
|
16312
16330
|
id: `${d.id}_${s}`,
|
|
16313
16331
|
xAxis: i,
|
|
@@ -16346,8 +16364,8 @@ function es(t) {
|
|
|
16346
16364
|
}
|
|
16347
16365
|
};
|
|
16348
16366
|
}
|
|
16349
|
-
function
|
|
16350
|
-
return t.series.values.find((i) =>
|
|
16367
|
+
function EA(t, e) {
|
|
16368
|
+
return t.series.values.find((i) => RA(i, e));
|
|
16351
16369
|
}
|
|
16352
16370
|
function wm(t, e) {
|
|
16353
16371
|
const i = t.series.values.find(
|
|
@@ -16375,7 +16393,7 @@ function Dm(t) {
|
|
|
16375
16393
|
}
|
|
16376
16394
|
return { startLocation: o, endLocation: n };
|
|
16377
16395
|
}
|
|
16378
|
-
function
|
|
16396
|
+
function zA(t) {
|
|
16379
16397
|
const { outlierSeries: e, bullet: i, seriesConfigId: a } = t;
|
|
16380
16398
|
if (e) {
|
|
16381
16399
|
const { chart: o } = e;
|
|
@@ -16384,7 +16402,7 @@ function EA(t) {
|
|
|
16384
16402
|
if (n) {
|
|
16385
16403
|
const s = Z(n.series);
|
|
16386
16404
|
if (Om(s)) {
|
|
16387
|
-
const r = o.series.values.filter((c) => c instanceof
|
|
16405
|
+
const r = o.series.values.filter((c) => c instanceof Ri), l = r?.findIndex((c) => c.get("id") === a);
|
|
16388
16406
|
if (l !== -1 && r[l]) {
|
|
16389
16407
|
const { startLocation: d, endLocation: u } = Dm({
|
|
16390
16408
|
chart: o,
|
|
@@ -16398,12 +16416,12 @@ function EA(t) {
|
|
|
16398
16416
|
}
|
|
16399
16417
|
}
|
|
16400
16418
|
}
|
|
16401
|
-
function
|
|
16419
|
+
function HA(t) {
|
|
16402
16420
|
const e = O(t.uid, "config");
|
|
16403
16421
|
if (e) {
|
|
16404
16422
|
const i = Z(e.series), a = e.series.length, n = Qe(e) ? t.yAxes.getIndex(0)?.get("renderer") : t.xAxes.getIndex(0)?.get("renderer"), s = n?.get("cellStartLocation"), r = n?.get("cellEndLocation");
|
|
16405
16423
|
if (s && r) {
|
|
16406
|
-
const l = t.series.values.filter((c) => c instanceof
|
|
16424
|
+
const l = t.series.values.filter((c) => c instanceof Ri);
|
|
16407
16425
|
l.forEach((c, d) => {
|
|
16408
16426
|
const { topStepLineSeries: u, medianStepLineSeries: f, bottomStepLineSeries: g } = wm(
|
|
16409
16427
|
t,
|
|
@@ -16428,11 +16446,11 @@ function zA(t) {
|
|
|
16428
16446
|
}
|
|
16429
16447
|
}
|
|
16430
16448
|
}
|
|
16431
|
-
function
|
|
16449
|
+
function _A(t) {
|
|
16432
16450
|
const { chartConfig: e, seriesIndex: i } = t, a = e.series[i], o = W([a]), n = [];
|
|
16433
16451
|
if (o === y.BoxPlotSeries)
|
|
16434
16452
|
[
|
|
16435
|
-
|
|
16453
|
+
FA(t),
|
|
16436
16454
|
ys({
|
|
16437
16455
|
...t,
|
|
16438
16456
|
type: me.Top
|
|
@@ -16445,23 +16463,23 @@ function HA(t) {
|
|
|
16445
16463
|
...t,
|
|
16446
16464
|
type: me.Bottom
|
|
16447
16465
|
}),
|
|
16448
|
-
|
|
16466
|
+
BA(t)
|
|
16449
16467
|
].forEach((s) => {
|
|
16450
16468
|
s && n.push(s);
|
|
16451
16469
|
});
|
|
16452
16470
|
else if (o === y.LineSeries) {
|
|
16453
|
-
const s =
|
|
16471
|
+
const s = IA(t);
|
|
16454
16472
|
s && n.push(s);
|
|
16455
16473
|
}
|
|
16456
16474
|
return n;
|
|
16457
16475
|
}
|
|
16458
|
-
function
|
|
16476
|
+
function GA(t) {
|
|
16459
16477
|
const { chart: e, chartConfig: i, series: a, seriesConfig: o } = t;
|
|
16460
16478
|
if (e && i)
|
|
16461
|
-
if (
|
|
16479
|
+
if (HA(e), a instanceof Ri && o.type === y.BoxPlotSeries) {
|
|
16462
16480
|
a.set("id", o.id);
|
|
16463
16481
|
const n = a.get("id") ?? "";
|
|
16464
|
-
|
|
16482
|
+
LA({ ...t, seriesConfig: o, candleStickSeries: a });
|
|
16465
16483
|
const { topStepLineSeries: s, medianStepLineSeries: r, bottomStepLineSeries: l } = wm(
|
|
16466
16484
|
e,
|
|
16467
16485
|
n
|
|
@@ -16471,13 +16489,13 @@ function _A(t) {
|
|
|
16471
16489
|
me.Bottom
|
|
16472
16490
|
];
|
|
16473
16491
|
[s, r, l].forEach((u, f) => {
|
|
16474
|
-
u && (u.set("id", `${o.id}_${c[f]}`),
|
|
16492
|
+
u && (u.set("id", `${o.id}_${c[f]}`), WA({ ...t, stepLineSeries: u }));
|
|
16475
16493
|
});
|
|
16476
|
-
const d =
|
|
16477
|
-
d && (d.set("id", `${o.id}_${me.Outliers}`),
|
|
16478
|
-
} else a instanceof ne && o.type === y.LineSeries &&
|
|
16494
|
+
const d = EA(e, n);
|
|
16495
|
+
d && (d.set("id", `${o.id}_${me.Outliers}`), $A({ ...t, outlierSeries: d }));
|
|
16496
|
+
} else a instanceof ne && o.type === y.LineSeries && kA({ ...t, meanLineSeries: a });
|
|
16479
16497
|
}
|
|
16480
|
-
function
|
|
16498
|
+
function XA(t) {
|
|
16481
16499
|
Af(t);
|
|
16482
16500
|
}
|
|
16483
16501
|
function gl(t) {
|
|
@@ -16485,7 +16503,7 @@ function gl(t) {
|
|
|
16485
16503
|
let o = i ? Eh : zh;
|
|
16486
16504
|
return e && (o = i ? Hh : a ? _h : Gh), o;
|
|
16487
16505
|
}
|
|
16488
|
-
function
|
|
16506
|
+
function YA(t) {
|
|
16489
16507
|
const { series: e, seriesConfig: i, chartSubType: a, colorMatch: o, rendererType: n } = t;
|
|
16490
16508
|
let s;
|
|
16491
16509
|
for (const r of e.dataItems) {
|
|
@@ -16501,8 +16519,8 @@ function XA(t) {
|
|
|
16501
16519
|
}
|
|
16502
16520
|
return s;
|
|
16503
16521
|
}
|
|
16504
|
-
function
|
|
16505
|
-
const { series: e, seriesConfig: i, seriesIndex: a, chartSubType: o, colorMatch: n, rendererType: s } = t, r = e.root, l =
|
|
16522
|
+
function UA(t) {
|
|
16523
|
+
const { series: e, seriesConfig: i, seriesIndex: a, chartSubType: o, colorMatch: n, rendererType: s } = t, r = e.root, l = YA({
|
|
16506
16524
|
series: e,
|
|
16507
16525
|
seriesConfig: i,
|
|
16508
16526
|
chartSubType: o,
|
|
@@ -16519,7 +16537,7 @@ function YA(t) {
|
|
|
16519
16537
|
rendererSymbol: l
|
|
16520
16538
|
}).symbolWithColorInfo;
|
|
16521
16539
|
}
|
|
16522
|
-
function
|
|
16540
|
+
function jA(t) {
|
|
16523
16541
|
const { series: e, seriesIndex: i, chartSubType: a, seriesConfig: o, colorMatch: n, lineColor: s } = t;
|
|
16524
16542
|
let r = !1, l, c;
|
|
16525
16543
|
const d = se(e.uid, "bulletTemplate");
|
|
@@ -16561,7 +16579,7 @@ function UA(t) {
|
|
|
16561
16579
|
}
|
|
16562
16580
|
return r ? void 0 : l;
|
|
16563
16581
|
}
|
|
16564
|
-
function
|
|
16582
|
+
function qA(t, e) {
|
|
16565
16583
|
if (t.showArea === !0) {
|
|
16566
16584
|
const { color: i, opacity: a } = t.areaColor ? Q(t.areaColor) : { color: e.get("stroke"), opacity: F.lineSeries.areaOpacity };
|
|
16567
16585
|
e.set("fill", i), e.fills.template.set("fillOpacity", a);
|
|
@@ -16590,14 +16608,14 @@ function Mm(t) {
|
|
|
16590
16608
|
isRotated: d
|
|
16591
16609
|
});
|
|
16592
16610
|
e.set("curveFactory", h);
|
|
16593
|
-
const b =
|
|
16611
|
+
const b = UA({
|
|
16594
16612
|
series: e,
|
|
16595
16613
|
seriesConfig: i,
|
|
16596
16614
|
seriesIndex: a,
|
|
16597
16615
|
chartSubType: r,
|
|
16598
16616
|
colorMatch: n,
|
|
16599
16617
|
rendererType: s
|
|
16600
|
-
}), p =
|
|
16618
|
+
}), p = jA({
|
|
16601
16619
|
series: e,
|
|
16602
16620
|
seriesConfig: i,
|
|
16603
16621
|
seriesIndex: a,
|
|
@@ -16605,7 +16623,7 @@ function Mm(t) {
|
|
|
16605
16623
|
colorMatch: n,
|
|
16606
16624
|
lineColor: b.color
|
|
16607
16625
|
});
|
|
16608
|
-
|
|
16626
|
+
qA(i, e), c.set(l?.get(i.id) ?? a, {
|
|
16609
16627
|
lineSymbol: b,
|
|
16610
16628
|
markerSymbol: p
|
|
16611
16629
|
}), c.size === o && (Gt({
|
|
@@ -16616,7 +16634,7 @@ function Mm(t) {
|
|
|
16616
16634
|
}), c.clear());
|
|
16617
16635
|
}
|
|
16618
16636
|
}
|
|
16619
|
-
function
|
|
16637
|
+
function ZA(t) {
|
|
16620
16638
|
const { root: e, chartConfig: i, xAxis: a, yAxis: o, seriesConfig: n, options: s, queryObject: r, errorStrings: l } = t, { id: c, name: d } = n, { xField: u, yField: f, xAxisField: g, yAxisField: h } = Ua(i, n), b = ne.new(e, {
|
|
16621
16639
|
id: c,
|
|
16622
16640
|
name: d,
|
|
@@ -16640,7 +16658,7 @@ function qA(t) {
|
|
|
16640
16658
|
{
|
|
16641
16659
|
// accessibility for keyboard users — configured here rather than in setAccessibilityFeatures()
|
|
16642
16660
|
role: F.aria.defaultChartItemRole,
|
|
16643
|
-
ariaLabel:
|
|
16661
|
+
ariaLabel: Vi(),
|
|
16644
16662
|
hoverOnFocus: !0,
|
|
16645
16663
|
// show tooltip when the marker receives keyboard focus
|
|
16646
16664
|
tooltip: Yn({ series: b, tooltipFormatter: s?.tooltipFormatter }),
|
|
@@ -16649,10 +16667,10 @@ function qA(t) {
|
|
|
16649
16667
|
},
|
|
16650
16668
|
p
|
|
16651
16669
|
);
|
|
16652
|
-
return L || (ti({ element: v, series: b, queryObject: r, errorStrings: l }), zf(v, b)),
|
|
16670
|
+
return L || (ti({ element: v, series: b, queryObject: r, errorStrings: l }), zf(v, b)), Ii.new(S, { sprite: v });
|
|
16653
16671
|
}), b.strokes.template.set("lineJoin", F.lineJoin), rl(b), b;
|
|
16654
16672
|
}
|
|
16655
|
-
function
|
|
16673
|
+
function KA(t) {
|
|
16656
16674
|
const {
|
|
16657
16675
|
lineSeries: e,
|
|
16658
16676
|
data: i,
|
|
@@ -16670,7 +16688,7 @@ function ZA(t) {
|
|
|
16670
16688
|
e.setAll({ [h]: f, [b]: g }), e.data.setAll(i.dataItems);
|
|
16671
16689
|
}
|
|
16672
16690
|
}
|
|
16673
|
-
function
|
|
16691
|
+
function QA(t) {
|
|
16674
16692
|
const {
|
|
16675
16693
|
series: e,
|
|
16676
16694
|
seriesConfig: i,
|
|
@@ -16697,11 +16715,11 @@ function KA(t) {
|
|
|
16697
16715
|
});
|
|
16698
16716
|
}
|
|
16699
16717
|
}
|
|
16700
|
-
function
|
|
16718
|
+
function JA(t, e) {
|
|
16701
16719
|
const { connectLines: i, temporalBinning: a } = e, o = a?.nullPolicy;
|
|
16702
16720
|
t.set("connect", i !== !1 && o !== ed.Null);
|
|
16703
16721
|
}
|
|
16704
|
-
function
|
|
16722
|
+
function eT(t) {
|
|
16705
16723
|
const {
|
|
16706
16724
|
series: e,
|
|
16707
16725
|
data: i,
|
|
@@ -16720,14 +16738,14 @@ function JA(t) {
|
|
|
16720
16738
|
} = t, b = a.series[n], p = a.rotated;
|
|
16721
16739
|
e.set("id", b.id), re(e, b.visible), re(e.bulletsContainer, b.markerVisible !== !1 && b.visible !== !1);
|
|
16722
16740
|
const S = se(e.uid, "bulletTemplate");
|
|
16723
|
-
S && He(S, o?.selectionTheme), nl({ series: e, chartConfig: a, isRotated: p }),
|
|
16741
|
+
S && He(S, o?.selectionTheme), nl({ series: e, chartConfig: a, isRotated: p }), XA({
|
|
16724
16742
|
seriesType: y.LineSeries,
|
|
16725
16743
|
series: e,
|
|
16726
16744
|
seriesConfig: b,
|
|
16727
16745
|
isRotated: p,
|
|
16728
16746
|
dataLabelsConfig: b.dataLabels,
|
|
16729
16747
|
externalDataLabelFormatter: o?.dataLabelFormatter
|
|
16730
|
-
}),
|
|
16748
|
+
}), JA(e, b), KA({
|
|
16731
16749
|
lineSeries: e,
|
|
16732
16750
|
seriesIndex: n,
|
|
16733
16751
|
data: i,
|
|
@@ -16746,16 +16764,16 @@ function JA(t) {
|
|
|
16746
16764
|
seriesIndex: n,
|
|
16747
16765
|
tooltipFormatter: o?.tooltipFormatter,
|
|
16748
16766
|
utilsStrings: c
|
|
16749
|
-
}),
|
|
16750
|
-
styleCallback: () =>
|
|
16767
|
+
}), Oi(t) && Di({
|
|
16768
|
+
styleCallback: () => QA(t),
|
|
16751
16769
|
series: e,
|
|
16752
16770
|
seriesConfig: b
|
|
16753
16771
|
}), sl({ chartConfig: a, series: e, seriesIndex: n, queryObject: r });
|
|
16754
16772
|
}
|
|
16755
|
-
function
|
|
16773
|
+
function tT(t) {
|
|
16756
16774
|
return t.component instanceof Je;
|
|
16757
16775
|
}
|
|
16758
|
-
function
|
|
16776
|
+
function iT(t) {
|
|
16759
16777
|
const { series: e, queryObject: i, errorStrings: a } = t, o = e.labels.template;
|
|
16760
16778
|
o.set("cursorOverStyle", "pointer"), o.setup = (n) => {
|
|
16761
16779
|
n.set(
|
|
@@ -16766,7 +16784,7 @@ function tT(t) {
|
|
|
16766
16784
|
})
|
|
16767
16785
|
);
|
|
16768
16786
|
}, o.events.on(oe.Click, (n) => {
|
|
16769
|
-
const { chart: s } = e, { dataItem: r } = n.target, c = (r instanceof Tr &&
|
|
16787
|
+
const { chart: s } = e, { dataItem: r } = n.target, c = (r instanceof Tr && tT(r) ? r : void 0)?.get("slice");
|
|
16770
16788
|
if (s && c && ol(s.uid)) {
|
|
16771
16789
|
const d = gf(n, e);
|
|
16772
16790
|
we({
|
|
@@ -16783,7 +16801,7 @@ function tT(t) {
|
|
|
16783
16801
|
}
|
|
16784
16802
|
});
|
|
16785
16803
|
}
|
|
16786
|
-
function
|
|
16804
|
+
function aT(t, e) {
|
|
16787
16805
|
const i = t.labels.template;
|
|
16788
16806
|
i.adapters.remove("text"), i.adapters.remove("html");
|
|
16789
16807
|
const a = e !== void 0 ? "html" : "text";
|
|
@@ -16803,7 +16821,7 @@ function iT(t, e) {
|
|
|
16803
16821
|
return a === "html" ? Xe(s) : s;
|
|
16804
16822
|
});
|
|
16805
16823
|
}
|
|
16806
|
-
function
|
|
16824
|
+
function oT(t) {
|
|
16807
16825
|
const e = t.dataItem?.component;
|
|
16808
16826
|
let i;
|
|
16809
16827
|
if (e instanceof Je) {
|
|
@@ -16817,7 +16835,7 @@ function aT(t) {
|
|
|
16817
16835
|
}
|
|
16818
16836
|
return i;
|
|
16819
16837
|
}
|
|
16820
|
-
function
|
|
16838
|
+
function nT(t) {
|
|
16821
16839
|
const { pieSeries: e, externalDataLabelFormatter: i, queryObject: a, errorStrings: o } = t, n = e.labels.template;
|
|
16822
16840
|
n.set("cursorOverStyle", "pointer"), n.setAll({
|
|
16823
16841
|
cursorOverStyle: "pointer",
|
|
@@ -16825,12 +16843,12 @@ function oT(t) {
|
|
|
16825
16843
|
oversizedBehavior: F.pieChart.dataLabels.wrap ?? !0 ? "wrap" : "none",
|
|
16826
16844
|
centerX: de,
|
|
16827
16845
|
centerY: de
|
|
16828
|
-
}),
|
|
16846
|
+
}), iT({ series: e, queryObject: a, errorStrings: o }), aT(e, i), n.adapters.add(
|
|
16829
16847
|
"fill",
|
|
16830
|
-
(s, r, l) =>
|
|
16848
|
+
(s, r, l) => oT(r)
|
|
16831
16849
|
);
|
|
16832
16850
|
}
|
|
16833
|
-
function
|
|
16851
|
+
function sT(t, e) {
|
|
16834
16852
|
const {
|
|
16835
16853
|
numericValueFormat: i,
|
|
16836
16854
|
percentValueFormat: a,
|
|
@@ -16867,10 +16885,10 @@ function nT(t, e) {
|
|
|
16867
16885
|
}
|
|
16868
16886
|
return g;
|
|
16869
16887
|
}
|
|
16870
|
-
function
|
|
16888
|
+
function rT(t) {
|
|
16871
16889
|
const { pieSeries: e, seriesConfig: i, dataLabelFormatter: a } = t, { dataLabels: o } = i, n = i.dataLabelsOffset ?? F.pieChart.dataLabelsOffset, s = i.dataLabelsInside ?? F.pieChart.dataLabelsInside;
|
|
16872
16890
|
Ge(e.uid, {
|
|
16873
|
-
pieChartDataLabelFormatter: a ??
|
|
16891
|
+
pieChartDataLabelFormatter: a ?? sT(e, i)
|
|
16874
16892
|
}), Dt({
|
|
16875
16893
|
label: e.labels.template,
|
|
16876
16894
|
labelConfig: o,
|
|
@@ -16893,7 +16911,7 @@ function sT(t) {
|
|
|
16893
16911
|
}) : !s && !c && !l && (e.labels.template.setAll({ baseRadius: he, textType: "adjusted" }), n !== void 0 && Number.isFinite(n) && d !== n && e.labels.template.set("radius", n));
|
|
16894
16912
|
}
|
|
16895
16913
|
let Ss;
|
|
16896
|
-
function
|
|
16914
|
+
function lT(t, e) {
|
|
16897
16915
|
const { ticks: i } = e, a = i?.visible === !1 || e.dataLabelsInside === !0 || e.dataLabels === void 0 || e.dataLabels?.visible === !1 || e.dataLabelsOffset !== void 0 && e.dataLabelsOffset <= 0;
|
|
16898
16916
|
t.ticks.template.setAll({
|
|
16899
16917
|
visible: !a,
|
|
@@ -16908,7 +16926,7 @@ function rT(t, e) {
|
|
|
16908
16926
|
visible: !a
|
|
16909
16927
|
});
|
|
16910
16928
|
}
|
|
16911
|
-
function
|
|
16929
|
+
function cT(t) {
|
|
16912
16930
|
const { series: e, pieSlicesSymbols: i, seriesConfig: a } = t;
|
|
16913
16931
|
e.slices.each((o, n) => {
|
|
16914
16932
|
const s = o.dataItem?.dataContext, r = Mr({
|
|
@@ -16926,13 +16944,13 @@ function lT(t) {
|
|
|
16926
16944
|
});
|
|
16927
16945
|
});
|
|
16928
16946
|
}
|
|
16929
|
-
function
|
|
16947
|
+
function dT(t, e) {
|
|
16930
16948
|
const { originalXValue: i } = H, a = new Map(t.map((o, n) => [o[i], n]));
|
|
16931
16949
|
return [...e].sort(
|
|
16932
16950
|
(o, n) => (a.get(o[i]) ?? 1 / 0) - (a.get(n[i]) ?? 1 / 0)
|
|
16933
16951
|
);
|
|
16934
16952
|
}
|
|
16935
|
-
function
|
|
16953
|
+
function uT(t) {
|
|
16936
16954
|
const {
|
|
16937
16955
|
series: e,
|
|
16938
16956
|
data: i,
|
|
@@ -16949,7 +16967,7 @@ function dT(t) {
|
|
|
16949
16967
|
valueField: u === V.PieFromFields ? va : d
|
|
16950
16968
|
}), e.data.setAll(i.dataItems);
|
|
16951
16969
|
else if (i && r) {
|
|
16952
|
-
const g = e.dataItems, h = g.map((p) => p.dataContext), b =
|
|
16970
|
+
const g = e.dataItems, h = g.map((p) => p.dataContext), b = dT(h, i.dataItems);
|
|
16953
16971
|
g.forEach((p, S) => {
|
|
16954
16972
|
const C = b[S];
|
|
16955
16973
|
if (typeof C[f] == "string") {
|
|
@@ -16961,25 +16979,25 @@ function dT(t) {
|
|
|
16961
16979
|
}), e.markDirty();
|
|
16962
16980
|
}
|
|
16963
16981
|
}
|
|
16964
|
-
function
|
|
16982
|
+
function fT(t, e) {
|
|
16965
16983
|
const { innerRadius: i } = e;
|
|
16966
16984
|
t.set("innerRadius", i ? at(i) : 0);
|
|
16967
16985
|
}
|
|
16968
|
-
function
|
|
16986
|
+
function mT(t, e) {
|
|
16969
16987
|
const { startAngle: i, endAngle: a } = e;
|
|
16970
16988
|
t.setAll({
|
|
16971
16989
|
startAngle: i ?? F.pieChart.min,
|
|
16972
16990
|
endAngle: a ?? 360 + (t.get("startAngle") ?? 0)
|
|
16973
16991
|
});
|
|
16974
16992
|
}
|
|
16975
|
-
function
|
|
16993
|
+
function gT(t) {
|
|
16976
16994
|
const { root: e, seriesConfig: i, options: a, chart: o, chartConfig: n, queryObject: s, errorStrings: r } = t, { id: l, name: c, x: d, y: u } = i, f = Z([i]), g = Je.new(e, {
|
|
16977
16995
|
id: l,
|
|
16978
16996
|
name: c,
|
|
16979
16997
|
categoryField: f === V.PieFromFields ? oi : d,
|
|
16980
16998
|
valueField: f === V.PieFromFields ? va : u
|
|
16981
16999
|
});
|
|
16982
|
-
return
|
|
17000
|
+
return nT({
|
|
16983
17001
|
pieSeries: g,
|
|
16984
17002
|
externalDataLabelFormatter: a?.dataLabelFormatter,
|
|
16985
17003
|
queryObject: s,
|
|
@@ -16991,7 +17009,7 @@ function mT(t) {
|
|
|
16991
17009
|
// Remove animation
|
|
16992
17010
|
}), He(g.slices.template, a?.selectionTheme), ti({ element: g.slices.template, series: g, queryObject: s, errorStrings: r }), qn(g, n), g.appear(), o instanceof Qt && Bm(o, g), g;
|
|
16993
17011
|
}
|
|
16994
|
-
function
|
|
17012
|
+
function hT(t) {
|
|
16995
17013
|
const {
|
|
16996
17014
|
series: e,
|
|
16997
17015
|
seriesConfig: i,
|
|
@@ -17004,7 +17022,7 @@ function gT(t) {
|
|
|
17004
17022
|
utilsStrings: c,
|
|
17005
17023
|
groupOfSlicesUpdateNeeded: d
|
|
17006
17024
|
} = t, { dataLabelFormatter: u, tooltipFormatter: f } = r ?? {};
|
|
17007
|
-
e.set("id", i.id), re(e, i.visible), He(e.slices.template, r?.selectionTheme),
|
|
17025
|
+
e.set("id", i.id), re(e, i.visible), He(e.slices.template, r?.selectionTheme), uT({
|
|
17008
17026
|
series: e,
|
|
17009
17027
|
seriesConfig: i,
|
|
17010
17028
|
seriesWereReinitialized: a,
|
|
@@ -17013,15 +17031,15 @@ function gT(t) {
|
|
|
17013
17031
|
data: s,
|
|
17014
17032
|
labelUpdateNeeded: l,
|
|
17015
17033
|
groupOfSlicesUpdateNeeded: d
|
|
17016
|
-
}),
|
|
17017
|
-
styleCallback: () =>
|
|
17034
|
+
}), Oi(t) && Di({
|
|
17035
|
+
styleCallback: () => cT(t),
|
|
17018
17036
|
series: e,
|
|
17019
17037
|
seriesConfig: i
|
|
17020
|
-
}),
|
|
17038
|
+
}), rT({
|
|
17021
17039
|
pieSeries: e,
|
|
17022
17040
|
seriesConfig: i,
|
|
17023
17041
|
dataLabelFormatter: u
|
|
17024
|
-
}),
|
|
17042
|
+
}), fT(e, i), mT(e, i), lT(e, i), zv({
|
|
17025
17043
|
series: e,
|
|
17026
17044
|
seriesConfig: i,
|
|
17027
17045
|
tooltipFormatter: f
|
|
@@ -17055,15 +17073,15 @@ function $m(t, e) {
|
|
|
17055
17073
|
a = at(I * 100);
|
|
17056
17074
|
} else
|
|
17057
17075
|
a = at(F.pieChart.chartRadius);
|
|
17058
|
-
i.value.toFixed(1) !== a.value.toFixed(1) && (
|
|
17076
|
+
i.value.toFixed(1) !== a.value.toFixed(1) && (pt(t.uid, { pieChartRadius: a.percent }), Ss && clearTimeout(Ss), Ss = di(() => {
|
|
17059
17077
|
const b = t.chartContainer.height();
|
|
17060
17078
|
if (t.chartContainer.set("height", b + 0.1), t.set("radius", a), l && !Number.isNaN(l) && l > 0) {
|
|
17061
17079
|
const p = (l ?? F.pieChart.innerRadius) * a.value;
|
|
17062
17080
|
t.set("innerRadius", at(p));
|
|
17063
17081
|
}
|
|
17064
|
-
t.markDirty(), n?.markDirty(), t.root.resize(),
|
|
17082
|
+
t.markDirty(), n?.markDirty(), t.root.resize(), bT(t);
|
|
17065
17083
|
})), n instanceof Je && n.labels.template.setAll({
|
|
17066
|
-
maxWidth:
|
|
17084
|
+
maxWidth: yT({
|
|
17067
17085
|
seriesConfig: s?.series[0],
|
|
17068
17086
|
chart: t,
|
|
17069
17087
|
newChartRadius: a
|
|
@@ -17071,7 +17089,7 @@ function $m(t, e) {
|
|
|
17071
17089
|
});
|
|
17072
17090
|
}
|
|
17073
17091
|
}
|
|
17074
|
-
function
|
|
17092
|
+
function pT(t) {
|
|
17075
17093
|
t.isDisposed() || t.events.onDebounced(
|
|
17076
17094
|
oe.BoundsChanged,
|
|
17077
17095
|
() => $m(t),
|
|
@@ -17081,15 +17099,15 @@ function hT(t) {
|
|
|
17081
17099
|
function Bm(t, e) {
|
|
17082
17100
|
if (!t.isDisposed()) {
|
|
17083
17101
|
const i = t.radius();
|
|
17084
|
-
|
|
17102
|
+
pt(t.uid, { pieChartRadius: i }), $m(t, e);
|
|
17085
17103
|
}
|
|
17086
17104
|
}
|
|
17087
|
-
function
|
|
17105
|
+
function bT(t) {
|
|
17088
17106
|
di(() => {
|
|
17089
17107
|
t.chartContainer.set("height", at(100)), t.root.resize();
|
|
17090
17108
|
});
|
|
17091
17109
|
}
|
|
17092
|
-
function
|
|
17110
|
+
function yT(t) {
|
|
17093
17111
|
const { seriesConfig: e, chart: i, newChartRadius: a } = t;
|
|
17094
17112
|
let o = F.pieChart.dataLabels.maxWidth ?? 100;
|
|
17095
17113
|
if (e != null) {
|
|
@@ -17109,7 +17127,7 @@ function bT(t) {
|
|
|
17109
17127
|
}
|
|
17110
17128
|
return o;
|
|
17111
17129
|
}
|
|
17112
|
-
function
|
|
17130
|
+
function ST(t) {
|
|
17113
17131
|
const { root: e, chartConfig: i, xAxis: a, yAxis: o, seriesConfig: n, options: s, queryObject: r, errorStrings: l } = t, { id: c, name: d } = n, { xField: u, yField: f, xAxisField: g, yAxisField: h } = Ua(i, n), b = Ir.new(e, {
|
|
17114
17132
|
id: c,
|
|
17115
17133
|
name: d,
|
|
@@ -17132,7 +17150,7 @@ function yT(t) {
|
|
|
17132
17150
|
{
|
|
17133
17151
|
// accessibility for keyboard users — configured here rather than in setAccessibilityFeatures()
|
|
17134
17152
|
role: F.aria.defaultChartItemRole,
|
|
17135
|
-
ariaLabel:
|
|
17153
|
+
ariaLabel: Vi(),
|
|
17136
17154
|
hoverOnFocus: !0,
|
|
17137
17155
|
// show tooltip when the marker receives keyboard focus
|
|
17138
17156
|
tooltip: Yn({
|
|
@@ -17144,10 +17162,10 @@ function yT(t) {
|
|
|
17144
17162
|
},
|
|
17145
17163
|
p
|
|
17146
17164
|
);
|
|
17147
|
-
return ti({ element: C, series: b, queryObject: r, errorStrings: l }),
|
|
17165
|
+
return ti({ element: C, series: b, queryObject: r, errorStrings: l }), Ii.new(S, { sprite: C });
|
|
17148
17166
|
}), b.strokes.template.set("lineJoin", F.lineJoin), rl(b), b;
|
|
17149
17167
|
}
|
|
17150
|
-
function
|
|
17168
|
+
function CT(t) {
|
|
17151
17169
|
const {
|
|
17152
17170
|
radarLineSeries: e,
|
|
17153
17171
|
data: i,
|
|
@@ -17163,7 +17181,7 @@ function ST(t) {
|
|
|
17163
17181
|
e.setAll({ [f]: d, [g]: u }), e.data.setAll(i.dataItems);
|
|
17164
17182
|
}
|
|
17165
17183
|
}
|
|
17166
|
-
function
|
|
17184
|
+
function xT(t) {
|
|
17167
17185
|
const {
|
|
17168
17186
|
series: e,
|
|
17169
17187
|
seriesConfig: i,
|
|
@@ -17190,7 +17208,7 @@ function CT(t) {
|
|
|
17190
17208
|
});
|
|
17191
17209
|
}
|
|
17192
17210
|
}
|
|
17193
|
-
function
|
|
17211
|
+
function vT(t) {
|
|
17194
17212
|
const {
|
|
17195
17213
|
series: e,
|
|
17196
17214
|
data: i,
|
|
@@ -17215,11 +17233,11 @@ function xT(t) {
|
|
|
17215
17233
|
seriesIndex: s,
|
|
17216
17234
|
tooltipFormatter: n?.tooltipFormatter,
|
|
17217
17235
|
utilsStrings: f
|
|
17218
|
-
}),
|
|
17219
|
-
styleCallback: () =>
|
|
17236
|
+
}), Oi(t) && Di({
|
|
17237
|
+
styleCallback: () => xT(t),
|
|
17220
17238
|
series: e,
|
|
17221
17239
|
seriesConfig: g
|
|
17222
|
-
}), sl({ chartConfig: o, series: e, seriesIndex: s, queryObject: u }),
|
|
17240
|
+
}), sl({ chartConfig: o, series: e, seriesIndex: s, queryObject: u }), CT({
|
|
17223
17241
|
radarLineSeries: e,
|
|
17224
17242
|
data: i,
|
|
17225
17243
|
seriesIndex: s,
|
|
@@ -17239,7 +17257,7 @@ function hl(t) {
|
|
|
17239
17257
|
switch (!0) {
|
|
17240
17258
|
case b === y.HeatSeries: {
|
|
17241
17259
|
ri(n), S && x && u.push(
|
|
17242
|
-
|
|
17260
|
+
vF({
|
|
17243
17261
|
...d,
|
|
17244
17262
|
queryObject: n,
|
|
17245
17263
|
xAxis: S,
|
|
@@ -17249,8 +17267,8 @@ function hl(t) {
|
|
|
17249
17267
|
break;
|
|
17250
17268
|
}
|
|
17251
17269
|
case c === y.BoxPlotSeries: {
|
|
17252
|
-
S && x &&
|
|
17253
|
-
...
|
|
17270
|
+
S && x && Wi(i) && u.push(
|
|
17271
|
+
..._A({
|
|
17254
17272
|
...d,
|
|
17255
17273
|
xAxis: S,
|
|
17256
17274
|
yAxis: x,
|
|
@@ -17275,7 +17293,7 @@ function hl(t) {
|
|
|
17275
17293
|
}
|
|
17276
17294
|
case b === y.PieSeries: {
|
|
17277
17295
|
u.push(
|
|
17278
|
-
|
|
17296
|
+
gT({
|
|
17279
17297
|
...d,
|
|
17280
17298
|
seriesConfig: g
|
|
17281
17299
|
})
|
|
@@ -17284,14 +17302,14 @@ function hl(t) {
|
|
|
17284
17302
|
}
|
|
17285
17303
|
case (c === y.ComboLineAndBarSeries || c === y.BarSeries || c === y.LineSeries): {
|
|
17286
17304
|
S && x && (b === y.BarSeries ? u.push(
|
|
17287
|
-
|
|
17305
|
+
hA({
|
|
17288
17306
|
...d,
|
|
17289
17307
|
seriesConfig: g,
|
|
17290
17308
|
xAxis: S,
|
|
17291
17309
|
yAxis: x
|
|
17292
17310
|
})
|
|
17293
17311
|
) : b === y.LineSeries && u.push(
|
|
17294
|
-
|
|
17312
|
+
ZA({
|
|
17295
17313
|
...d,
|
|
17296
17314
|
seriesConfig: g,
|
|
17297
17315
|
xAxis: S,
|
|
@@ -17302,7 +17320,7 @@ function hl(t) {
|
|
|
17302
17320
|
}
|
|
17303
17321
|
case b === y.RadarSeries: {
|
|
17304
17322
|
S && x && u.push(
|
|
17305
|
-
|
|
17323
|
+
ST({
|
|
17306
17324
|
...d,
|
|
17307
17325
|
seriesConfig: g,
|
|
17308
17326
|
xAxis: S,
|
|
@@ -17384,7 +17402,7 @@ function ts(t) {
|
|
|
17384
17402
|
const ee = j.type;
|
|
17385
17403
|
switch (!0) {
|
|
17386
17404
|
case k === y.HeatSeries: {
|
|
17387
|
-
E instanceof xe && e instanceof pe && zt(i) &&
|
|
17405
|
+
E instanceof xe && e instanceof pe && zt(i) && TF({
|
|
17388
17406
|
...U,
|
|
17389
17407
|
series: E,
|
|
17390
17408
|
data: o,
|
|
@@ -17394,8 +17412,8 @@ function ts(t) {
|
|
|
17394
17412
|
break;
|
|
17395
17413
|
}
|
|
17396
17414
|
case k === y.BoxPlotSeries: {
|
|
17397
|
-
E = R.find((ve) => ve.get("id") === j.id), e instanceof pe &&
|
|
17398
|
-
(E instanceof
|
|
17415
|
+
E = R.find((ve) => ve.get("id") === j.id), e instanceof pe && Wi(i) && // TODO: ok to remove these checks?
|
|
17416
|
+
(E instanceof Ri || E instanceof ne) && (ee === y.BoxPlotSeries || ee === y.LineSeries) && GA({
|
|
17399
17417
|
...U,
|
|
17400
17418
|
chart: e,
|
|
17401
17419
|
series: E,
|
|
@@ -17404,7 +17422,7 @@ function ts(t) {
|
|
|
17404
17422
|
seriesConfig: j,
|
|
17405
17423
|
chartConfig: i,
|
|
17406
17424
|
showMean: Ct(i),
|
|
17407
|
-
showOutliers:
|
|
17425
|
+
showOutliers: ki(i)
|
|
17408
17426
|
});
|
|
17409
17427
|
break;
|
|
17410
17428
|
}
|
|
@@ -17421,7 +17439,7 @@ function ts(t) {
|
|
|
17421
17439
|
break;
|
|
17422
17440
|
}
|
|
17423
17441
|
case ee === y.PieSeries: {
|
|
17424
|
-
E instanceof Je && e instanceof Qt && ls(o) &&
|
|
17442
|
+
E instanceof Je && e instanceof Qt && ls(o) && hT({
|
|
17425
17443
|
...X,
|
|
17426
17444
|
series: E,
|
|
17427
17445
|
seriesConfig: j,
|
|
@@ -17435,12 +17453,12 @@ function ts(t) {
|
|
|
17435
17453
|
break;
|
|
17436
17454
|
}
|
|
17437
17455
|
case (k === y.ComboLineAndBarSeries || k === y.BarSeries || k === y.LineSeries):
|
|
17438
|
-
e instanceof pe && ls(o) && (ee === y.BarSeries && E instanceof xe ?
|
|
17456
|
+
e instanceof pe && ls(o) && (ee === y.BarSeries && E instanceof xe ? SA({
|
|
17439
17457
|
...U,
|
|
17440
17458
|
series: E,
|
|
17441
17459
|
data: o,
|
|
17442
17460
|
seriesIndex: _
|
|
17443
|
-
}) : ee === y.LineSeries && E instanceof ne &&
|
|
17461
|
+
}) : ee === y.LineSeries && E instanceof ne && eT({
|
|
17444
17462
|
...U,
|
|
17445
17463
|
series: E,
|
|
17446
17464
|
seriesIndex: _,
|
|
@@ -17462,7 +17480,7 @@ function ts(t) {
|
|
|
17462
17480
|
break;
|
|
17463
17481
|
}
|
|
17464
17482
|
case ee === y.RadarSeries: {
|
|
17465
|
-
E instanceof Ir && e instanceof
|
|
17483
|
+
E instanceof Ir && e instanceof Ei && ls(o) && vT({
|
|
17466
17484
|
...U,
|
|
17467
17485
|
series: E,
|
|
17468
17486
|
data: o,
|
|
@@ -17476,7 +17494,7 @@ function ts(t) {
|
|
|
17476
17494
|
z && k && E && iL({ chartType: k, series: E, tooltipFormatter: a?.tooltipFormatter });
|
|
17477
17495
|
}
|
|
17478
17496
|
}
|
|
17479
|
-
function
|
|
17497
|
+
function LT(t) {
|
|
17480
17498
|
Ui(t) || t.dataItems.forEach((e) => {
|
|
17481
17499
|
const i = e.bullets?.[0];
|
|
17482
17500
|
if (i) {
|
|
@@ -17485,7 +17503,7 @@ function vT(t) {
|
|
|
17485
17503
|
}
|
|
17486
17504
|
});
|
|
17487
17505
|
}
|
|
17488
|
-
function
|
|
17506
|
+
function FT(t) {
|
|
17489
17507
|
t.columns.each((e) => {
|
|
17490
17508
|
if (!e.dataItem?.dataContext?.[Co]) {
|
|
17491
17509
|
const i = Yt(e.uid, "selected") !== !0;
|
|
@@ -17493,26 +17511,26 @@ function LT(t) {
|
|
|
17493
17511
|
}
|
|
17494
17512
|
});
|
|
17495
17513
|
}
|
|
17496
|
-
function
|
|
17514
|
+
function AT(t) {
|
|
17497
17515
|
t.slices.each((e) => {
|
|
17498
17516
|
const i = Yt(e.uid, "selected") !== !0;
|
|
17499
17517
|
we({ element: e, selected: i });
|
|
17500
17518
|
});
|
|
17501
17519
|
}
|
|
17502
|
-
async function
|
|
17520
|
+
async function TT(t) {
|
|
17503
17521
|
const { chart: e, queryObject: i, errorStrings: a } = t;
|
|
17504
17522
|
if (Kr(e)) {
|
|
17505
17523
|
const o = O(e.uid, "actionMode");
|
|
17506
17524
|
o !== J.MonoSelection && o !== J.None && (e.series.each((n) => {
|
|
17507
17525
|
switch (!0) {
|
|
17508
17526
|
case n instanceof xe:
|
|
17509
|
-
|
|
17527
|
+
FT(n);
|
|
17510
17528
|
break;
|
|
17511
17529
|
case n instanceof ne:
|
|
17512
|
-
|
|
17530
|
+
LT(n);
|
|
17513
17531
|
break;
|
|
17514
17532
|
case n instanceof Je:
|
|
17515
|
-
|
|
17533
|
+
AT(n);
|
|
17516
17534
|
break;
|
|
17517
17535
|
}
|
|
17518
17536
|
}), await Ro({
|
|
@@ -17523,7 +17541,7 @@ async function AT(t) {
|
|
|
17523
17541
|
}));
|
|
17524
17542
|
}
|
|
17525
17543
|
}
|
|
17526
|
-
function
|
|
17544
|
+
function kT(t, e) {
|
|
17527
17545
|
let i = !1;
|
|
17528
17546
|
const a = t.series, o = e.series, n = W(o), s = (f, g) => f.filter((h) => h.type === g).flatMap((h) => {
|
|
17529
17547
|
const b = [];
|
|
@@ -17557,7 +17575,7 @@ function TT(t, e) {
|
|
|
17557
17575
|
), l = s(o, y.BarSeries).concat(
|
|
17558
17576
|
s(o, y.LineSeries)
|
|
17559
17577
|
)) : (r = s(a, a[0].type), l = s(o, o[0].type));
|
|
17560
|
-
const c = !
|
|
17578
|
+
const c = !gt(r, l), d = !gt(t.roundCorners, e.roundCorners);
|
|
17561
17579
|
let u = !1;
|
|
17562
17580
|
switch (n) {
|
|
17563
17581
|
case y.LineSeries:
|
|
@@ -17567,7 +17585,7 @@ function TT(t, e) {
|
|
|
17567
17585
|
(f) => f.type === y.LineSeries || f.type === y.RadarSeries
|
|
17568
17586
|
).some((f) => {
|
|
17569
17587
|
const g = a.find((h) => h.id === f.id);
|
|
17570
|
-
return (f.showArea ?? F.lineSeries.showArea) !== (g?.showArea ?? F.lineSeries.showArea) || (f.lineSmoothed ?? F.lineSeries.lineSmoothed) !== (g?.lineSmoothed ?? F.lineSeries.lineSmoothed) || (f.markerVisible ?? F.lineSeries.markerVisible) !== (g?.markerVisible ?? F.lineSeries.markerVisible) || f.showArea && !
|
|
17588
|
+
return (f.showArea ?? F.lineSeries.showArea) !== (g?.showArea ?? F.lineSeries.showArea) || (f.lineSmoothed ?? F.lineSeries.lineSmoothed) !== (g?.lineSmoothed ?? F.lineSeries.lineSmoothed) || (f.markerVisible ?? F.lineSeries.markerVisible) !== (g?.markerVisible ?? F.lineSeries.markerVisible) || f.showArea && !gt(f.areaColor, g?.areaColor);
|
|
17571
17589
|
}), n === y.ComboLineAndBarSeries && (u = u || d);
|
|
17572
17590
|
break;
|
|
17573
17591
|
case y.BarSeries:
|
|
@@ -17579,15 +17597,15 @@ function TT(t, e) {
|
|
|
17579
17597
|
}
|
|
17580
17598
|
return i = c || u, i;
|
|
17581
17599
|
}
|
|
17582
|
-
function
|
|
17600
|
+
function IT() {
|
|
17583
17601
|
wh(Xx);
|
|
17584
17602
|
}
|
|
17585
|
-
function
|
|
17603
|
+
function RT(t) {
|
|
17586
17604
|
t.dispose();
|
|
17587
17605
|
}
|
|
17588
|
-
function
|
|
17606
|
+
function wT(t) {
|
|
17589
17607
|
const { chart: e, chartContainer: i, chartLocale: a } = t, { root: o } = e, { t9nLocale: n } = ea(i ?? document.documentElement), s = bo(i ?? document.documentElement);
|
|
17590
|
-
o.locale = a,
|
|
17608
|
+
o.locale = a, pt(e.uid, {
|
|
17591
17609
|
locale: n,
|
|
17592
17610
|
formatLocale: s,
|
|
17593
17611
|
rtl: qs(i ?? document.documentElement) === "rtl"
|
|
@@ -17597,20 +17615,20 @@ function Us(t) {
|
|
|
17597
17615
|
const { chart: e, actionMode: i, cursorRange: a } = t;
|
|
17598
17616
|
if (Kr(e)) {
|
|
17599
17617
|
const o = O(e.uid, "actionMode"), n = i ?? o ?? F.actionMode;
|
|
17600
|
-
|
|
17618
|
+
pt(e.uid, { actionMode: n }), n === J.None && ji({ chart: e, selectionSource: ge.ClearSelection }), gF({ chart: e, actionMode: n, cursorRange: a });
|
|
17601
17619
|
}
|
|
17602
17620
|
}
|
|
17603
|
-
function
|
|
17621
|
+
function OT(t) {
|
|
17604
17622
|
return Oh.rootElements.find((e) => e.dom === t)?.dispose(), Dh.new(t);
|
|
17605
17623
|
}
|
|
17606
|
-
function
|
|
17624
|
+
function DT(t, e) {
|
|
17607
17625
|
t.container.children.clear();
|
|
17608
17626
|
const i = W(e?.series);
|
|
17609
17627
|
let a;
|
|
17610
17628
|
switch (i) {
|
|
17611
17629
|
case y.RadarSeries:
|
|
17612
17630
|
case y.GaugeSeries:
|
|
17613
|
-
a =
|
|
17631
|
+
a = Ei;
|
|
17614
17632
|
break;
|
|
17615
17633
|
case y.PieSeries:
|
|
17616
17634
|
a = Qt;
|
|
@@ -17630,7 +17648,7 @@ function OT(t, e) {
|
|
|
17630
17648
|
})
|
|
17631
17649
|
);
|
|
17632
17650
|
}
|
|
17633
|
-
function
|
|
17651
|
+
function MT(t) {
|
|
17634
17652
|
const {
|
|
17635
17653
|
chart: e,
|
|
17636
17654
|
chartConfig: i,
|
|
@@ -17674,7 +17692,7 @@ function DT(t) {
|
|
|
17674
17692
|
colorMatchApplied: Za(e)
|
|
17675
17693
|
});
|
|
17676
17694
|
}
|
|
17677
|
-
function
|
|
17695
|
+
function $T(t) {
|
|
17678
17696
|
const {
|
|
17679
17697
|
chart: e,
|
|
17680
17698
|
chartConfig: i,
|
|
@@ -17701,7 +17719,7 @@ function MT(t) {
|
|
|
17701
17719
|
errorStrings: k
|
|
17702
17720
|
} = t;
|
|
17703
17721
|
let { axisLabelsBehaviorChanged: I } = t;
|
|
17704
|
-
const R =
|
|
17722
|
+
const R = JL({
|
|
17705
17723
|
chart: e,
|
|
17706
17724
|
chartConfig: i,
|
|
17707
17725
|
rotationChanged: f,
|
|
@@ -17763,7 +17781,7 @@ function MT(t) {
|
|
|
17763
17781
|
scrollbarYConfig: i.axes?.[1]?.scrollbar
|
|
17764
17782
|
}), w;
|
|
17765
17783
|
}
|
|
17766
|
-
function
|
|
17784
|
+
function BT(t) {
|
|
17767
17785
|
const { chart: e, legend: i, updateProps: a } = t, {
|
|
17768
17786
|
chartConfig: o,
|
|
17769
17787
|
options: n,
|
|
@@ -17783,9 +17801,9 @@ function $T(t) {
|
|
|
17783
17801
|
let v = O(e.uid, "config");
|
|
17784
17802
|
if (e.isDisposed() || !Cd(v, o))
|
|
17785
17803
|
throw new gi(ao.ChartDisposed);
|
|
17786
|
-
v ??= o,
|
|
17804
|
+
v ??= o, pt(e.uid, { queryObject: h });
|
|
17787
17805
|
const T = Z(o.series), k = Qe(o);
|
|
17788
|
-
|
|
17806
|
+
pt(e.uid, {
|
|
17789
17807
|
config: ke(o),
|
|
17790
17808
|
options: n,
|
|
17791
17809
|
isNonAggregatedChart: !Fn(T),
|
|
@@ -17794,7 +17812,7 @@ function $T(t) {
|
|
|
17794
17812
|
colorMatchApplied: d,
|
|
17795
17813
|
rendererFieldNames: u
|
|
17796
17814
|
});
|
|
17797
|
-
const I = Lt(h, L), R = Og(v, o), w = vd(v, o), $ = sd(v, o), M = Dg(v, o), B =
|
|
17815
|
+
const I = Lt(h, L), R = Og(v, o), w = vd(v, o), $ = sd(v, o), M = Dg(v, o), B = kT(v, o), P = JSON.stringify(Zo(v.series)) !== JSON.stringify(Zo(o.series)), Y = ar(v, o), z = Mg(v, o), X = xd(v, o), U = Id(v, o), _ = $g(v, o), j = Ln({
|
|
17798
17816
|
oldConfig: l ? f : v,
|
|
17799
17817
|
newConfig: o,
|
|
17800
17818
|
dataWasUpdated: s
|
|
@@ -17808,7 +17826,7 @@ function $T(t) {
|
|
|
17808
17826
|
}), ii = v.series, mi = o.series;
|
|
17809
17827
|
if (s) {
|
|
17810
17828
|
const { queryConfig: ba, count: as } = b ?? {};
|
|
17811
|
-
|
|
17829
|
+
pt(e.uid, {
|
|
17812
17830
|
fieldList: I,
|
|
17813
17831
|
queryConfig: ba,
|
|
17814
17832
|
elementCount: as,
|
|
@@ -17834,7 +17852,7 @@ function $T(t) {
|
|
|
17834
17852
|
let Do = !1;
|
|
17835
17853
|
switch (Ka) {
|
|
17836
17854
|
case y.PieSeries: {
|
|
17837
|
-
e instanceof Qt && (ri(h),
|
|
17855
|
+
e instanceof Qt && (ri(h), MT({
|
|
17838
17856
|
chart: e,
|
|
17839
17857
|
chartConfig: o,
|
|
17840
17858
|
options: n,
|
|
@@ -17861,7 +17879,7 @@ function $T(t) {
|
|
|
17861
17879
|
case y.GaugeSeries:
|
|
17862
17880
|
case y.HistogramSeries:
|
|
17863
17881
|
case y.BoxPlotSeries:
|
|
17864
|
-
e instanceof pe && (Do =
|
|
17882
|
+
e instanceof pe && (Do = $T({
|
|
17865
17883
|
chart: e,
|
|
17866
17884
|
chartConfig: o,
|
|
17867
17885
|
options: n,
|
|
@@ -17907,9 +17925,9 @@ function $T(t) {
|
|
|
17907
17925
|
}
|
|
17908
17926
|
Us({ chart: e, actionMode: n?.actionMode, cursorRange: n?.cursorRange }), Ef(e), bf({ chart: e, chartConfig: o, delayCallback: s });
|
|
17909
17927
|
}
|
|
17910
|
-
function
|
|
17928
|
+
function NT(t) {
|
|
17911
17929
|
const { chart: e, data: i, chartConfig: a, pieSlicesSymbols: o, options: n, queryObject: s, utilsStrings: r, errorStrings: l } = t;
|
|
17912
|
-
|
|
17930
|
+
pT(e), hl({ chart: e, chartConfig: a, options: n, utilsStrings: r, queryObject: s, errorStrings: l }), ts({
|
|
17913
17931
|
chart: e,
|
|
17914
17932
|
chartConfig: a,
|
|
17915
17933
|
options: n,
|
|
@@ -17931,7 +17949,7 @@ function BT(t) {
|
|
|
17931
17949
|
colorMatchApplied: Za(e)
|
|
17932
17950
|
});
|
|
17933
17951
|
}
|
|
17934
|
-
function
|
|
17952
|
+
function PT(t) {
|
|
17935
17953
|
const { chart: e, data: i, chartConfig: a, options: o, queryObject: n, seriesIndexMapper: s, utilsStrings: r, errorStrings: l } = t;
|
|
17936
17954
|
Im(e), Rm({
|
|
17937
17955
|
chart: e,
|
|
@@ -17970,7 +17988,7 @@ function NT(t) {
|
|
|
17970
17988
|
queryObject: n
|
|
17971
17989
|
}), W(a.series) === y.HeatSeries && mm(e);
|
|
17972
17990
|
}
|
|
17973
|
-
function
|
|
17991
|
+
function VT(t) {
|
|
17974
17992
|
const {
|
|
17975
17993
|
chartContainer: e,
|
|
17976
17994
|
chartConfig: i,
|
|
@@ -17983,15 +18001,15 @@ function PT(t) {
|
|
|
17983
18001
|
queryObject: c,
|
|
17984
18002
|
dataInfo: d
|
|
17985
18003
|
} = t, { errorStrings: u, utilsStrings: f, amChartsStrings: g } = l, { data: h, queryConfig: b, count: p } = d ?? {};
|
|
17986
|
-
|
|
17987
|
-
const S =
|
|
18004
|
+
IT();
|
|
18005
|
+
const S = OT(e);
|
|
17988
18006
|
pv(S, r?.animationEnabled), hv(S, r?.enableResponsiveFeatures);
|
|
17989
|
-
const C =
|
|
17990
|
-
|
|
18007
|
+
const C = DT(S, i);
|
|
18008
|
+
wT({ chart: C, chartContainer: e, chartLocale: g });
|
|
17991
18009
|
let x;
|
|
17992
18010
|
if (!C.isDisposed()) {
|
|
17993
18011
|
const v = Z(i.series), T = Qe(i);
|
|
17994
|
-
|
|
18012
|
+
pt(C.uid, {
|
|
17995
18013
|
options: a,
|
|
17996
18014
|
filterBySelection: a?.filterBySelection,
|
|
17997
18015
|
config: i,
|
|
@@ -18009,9 +18027,9 @@ function PT(t) {
|
|
|
18009
18027
|
errorStrings: u
|
|
18010
18028
|
});
|
|
18011
18029
|
const { title: k, subtitle: I, footer: R } = i;
|
|
18012
|
-
|
|
18030
|
+
pF(S, C), lm(C, { title: k, subtitle: I }), bF(C), cm(C, R), uF(S, C), om(C, i.background);
|
|
18013
18031
|
const w = Lt(c, a?.popupTemplateFieldInfosEnabled);
|
|
18014
|
-
|
|
18032
|
+
pt(C.uid, { fieldList: w }), pt(C.uid, {
|
|
18015
18033
|
options: a,
|
|
18016
18034
|
queryConfig: b,
|
|
18017
18035
|
elementCount: p,
|
|
@@ -18020,10 +18038,10 @@ function PT(t) {
|
|
|
18020
18038
|
const $ = /* @__PURE__ */ new Map();
|
|
18021
18039
|
i.series.forEach((M, B) => {
|
|
18022
18040
|
$.set(M.id, B);
|
|
18023
|
-
}),
|
|
18041
|
+
}), pt(C.uid, {
|
|
18024
18042
|
queryConfig: b,
|
|
18025
18043
|
elementCount: p
|
|
18026
|
-
}), C instanceof pe ?
|
|
18044
|
+
}), C instanceof pe ? PT({
|
|
18027
18045
|
chart: C,
|
|
18028
18046
|
data: h,
|
|
18029
18047
|
chartConfig: i,
|
|
@@ -18031,7 +18049,7 @@ function PT(t) {
|
|
|
18031
18049
|
queryObject: c,
|
|
18032
18050
|
utilsStrings: f,
|
|
18033
18051
|
errorStrings: u
|
|
18034
|
-
}) : C instanceof Qt && h && "dataItems" in h && (ri(c),
|
|
18052
|
+
}) : C instanceof Qt && h && "dataItems" in h && (ri(c), NT({
|
|
18035
18053
|
chart: C,
|
|
18036
18054
|
data: h,
|
|
18037
18055
|
chartConfig: i,
|
|
@@ -18050,16 +18068,16 @@ function PT(t) {
|
|
|
18050
18068
|
})), Us({ chart: C, actionMode: a?.actionMode, cursorRange: a?.cursorRange }), Ef(C), OL(C), bf({ chart: C, chartConfig: i, delayCallback: !0 });
|
|
18051
18069
|
}
|
|
18052
18070
|
function L() {
|
|
18053
|
-
|
|
18071
|
+
y0(C);
|
|
18054
18072
|
}
|
|
18055
18073
|
return {
|
|
18056
18074
|
update: (v) => {
|
|
18057
|
-
x === void 0 && (x = Vc(C, v.chartConfig)),
|
|
18075
|
+
x === void 0 && (x = Vc(C, v.chartConfig)), BT({ chart: C, legend: x, updateProps: v });
|
|
18058
18076
|
},
|
|
18059
|
-
dispose: () =>
|
|
18077
|
+
dispose: () => RT(S),
|
|
18060
18078
|
resetZoom: L,
|
|
18061
18079
|
clearSelection: () => ji({ chart: C }),
|
|
18062
|
-
switchSelection: async () => await
|
|
18080
|
+
switchSelection: async () => await TT({ chart: C, queryObject: c, errorStrings: l.errorStrings }),
|
|
18063
18081
|
setActionMode: (v, T) => Us({ chart: C, actionMode: v, cursorRange: T })
|
|
18064
18082
|
};
|
|
18065
18083
|
}
|
|
@@ -18109,12 +18127,12 @@ function Hc(t) {
|
|
|
18109
18127
|
const i = t.length > 1 ? "ol" : "div";
|
|
18110
18128
|
return `<${i}>${e}</${i}>`;
|
|
18111
18129
|
}
|
|
18112
|
-
function
|
|
18130
|
+
function WT(t) {
|
|
18113
18131
|
const { chartConfig: e, createMessage: i, status: a, errorStrings: o } = t, { schemaErrors: n, customErrors: s, warnings: r } = a;
|
|
18114
18132
|
let l = "", c = "";
|
|
18115
18133
|
return e === void 0 ? (c = i === void 0 ? o.modalHeaders.newChart : "", l = i ?? o.errors.newChartRequest) : n.length > 0 ? (c = o.modalHeaders.error, l = o.errors.simpleError) : s.length > 0 ? (c = o.modalHeaders.error, l = Hc(s)) : r.length > 0 && (c = o.modalHeaders.warning, l = `<p>${o.errors.warningRequest}</p>${Hc(r)}`), { title: c, message: l };
|
|
18116
18134
|
}
|
|
18117
|
-
function
|
|
18135
|
+
function ET(t, e) {
|
|
18118
18136
|
let i;
|
|
18119
18137
|
switch (t) {
|
|
18120
18138
|
case y.PieSeries:
|
|
@@ -18158,7 +18176,7 @@ function eo(t) {
|
|
|
18158
18176
|
}
|
|
18159
18177
|
return e;
|
|
18160
18178
|
}
|
|
18161
|
-
function
|
|
18179
|
+
function zT(t, e) {
|
|
18162
18180
|
return {
|
|
18163
18181
|
backgroundColor: eo(Qa(t, e.background)),
|
|
18164
18182
|
textColor: eo(Qa(t, e.text)),
|
|
@@ -18167,7 +18185,7 @@ function ET(t, e) {
|
|
|
18167
18185
|
spinnerColor: eo(Qa(t, e.spinner))
|
|
18168
18186
|
};
|
|
18169
18187
|
}
|
|
18170
|
-
function
|
|
18188
|
+
function HT(t) {
|
|
18171
18189
|
const { config: e, themeColors: i } = t, a = wa().toString();
|
|
18172
18190
|
e?.axes?.forEach((o) => {
|
|
18173
18191
|
i.textColor && (o?.title?.content && (!o.title.content.color || o.title.content.color.toString() === a) && (o.title.content.color = i.textColor), o?.labels?.content && (!o.labels.content.color || o.labels.content.color.toString() === a) && (o.labels.content.color = i.textColor));
|
|
@@ -18177,29 +18195,29 @@ function zT(t) {
|
|
|
18177
18195
|
});
|
|
18178
18196
|
});
|
|
18179
18197
|
}
|
|
18180
|
-
function
|
|
18198
|
+
function _T(t) {
|
|
18181
18199
|
const { config: e, themeColors: i } = t;
|
|
18182
18200
|
e && i.backgroundColor && (!e.background || e.background.toString() === yh().toString()) && (e.background = i.backgroundColor);
|
|
18183
18201
|
}
|
|
18184
|
-
function
|
|
18202
|
+
function GT(t) {
|
|
18185
18203
|
const { config: e, themeColors: i } = t, a = wa().toString();
|
|
18186
18204
|
i.textColor && (e?.title?.content && (!e.title.content.color || e.title.content.color.toString() === a) && (e.title.content.color = i.textColor), e?.subtitle?.content && (!e.subtitle.content.color || e.subtitle.content.color.toString() === a) && (e.subtitle.content.color = i.textColor), e?.footer?.content && (!e.footer.content.color || e.footer.content.color.toString() === a) && (e.footer.content.color = i.textColor));
|
|
18187
18205
|
}
|
|
18188
|
-
function
|
|
18206
|
+
function XT(t) {
|
|
18189
18207
|
const { config: e, themeColors: i } = t;
|
|
18190
18208
|
e && i.textColor && e.series.forEach((a) => {
|
|
18191
18209
|
a.dataLabels?.content && (!a.dataLabels.content.color || a.dataLabels.content.color.toString() === wa().toString()) && (a.dataLabels.content.color = i.textColor);
|
|
18192
18210
|
});
|
|
18193
18211
|
}
|
|
18194
|
-
function
|
|
18212
|
+
function YT(t) {
|
|
18195
18213
|
const { config: e, themeColors: i } = t, a = e?.series[0];
|
|
18196
18214
|
a?.type === y.PieSeries && a.ticks?.lineSymbol && i.secondaryLineColor && (!a.ticks.lineSymbol.color || a.ticks.lineSymbol.color.toString() === Ar.toString()) && (a.ticks.lineSymbol.color = i.secondaryLineColor);
|
|
18197
18215
|
}
|
|
18198
|
-
function
|
|
18216
|
+
function UT(t) {
|
|
18199
18217
|
const { config: e, themeColors: i } = t, a = wa().toString();
|
|
18200
18218
|
e?.legend && i.textColor && (e.legend.title?.content && (!e.legend.title.content.color || e.legend.title.content.color.toString() === a) && (e.legend.title.content.color = i.textColor), e.legend.body && (!e.legend.body.color || e.legend.body.color.toString() === a) && (e.legend.body.color = i.textColor));
|
|
18201
18219
|
}
|
|
18202
|
-
function
|
|
18220
|
+
function jT(t) {
|
|
18203
18221
|
const { config: e, themeColors: i } = t;
|
|
18204
18222
|
if (Eo(e) && i.textColor) {
|
|
18205
18223
|
const a = wa().toString();
|
|
@@ -18208,23 +18226,23 @@ function UT(t) {
|
|
|
18208
18226
|
});
|
|
18209
18227
|
}
|
|
18210
18228
|
}
|
|
18211
|
-
function
|
|
18229
|
+
function qT(t) {
|
|
18212
18230
|
const { config: e, themeColors: i } = t;
|
|
18213
18231
|
zt(e) && i.lineColor && e.series.forEach((a) => {
|
|
18214
18232
|
a.gridLine && !a.gridLine.color && (a.gridLine.color = i.lineColor);
|
|
18215
18233
|
});
|
|
18216
18234
|
}
|
|
18217
|
-
function
|
|
18235
|
+
function ZT(t, e) {
|
|
18218
18236
|
const i = ke(t), a = {
|
|
18219
18237
|
config: i,
|
|
18220
18238
|
themeColors: e
|
|
18221
18239
|
};
|
|
18222
|
-
return
|
|
18240
|
+
return _T(a), GT(a), HT(a), XT(a), UT(a), jT(a), YT(a), qT(a), i;
|
|
18223
18241
|
}
|
|
18224
|
-
function
|
|
18242
|
+
function KT() {
|
|
18225
18243
|
return !0;
|
|
18226
18244
|
}
|
|
18227
|
-
function
|
|
18245
|
+
function QT(t, e) {
|
|
18228
18246
|
let i;
|
|
18229
18247
|
const a = An(e);
|
|
18230
18248
|
return a !== void 0 && "definitionExpression" in a && t.layerFilterChangePolicy === zd.Refresh && (i = vt.watch(
|
|
@@ -18234,20 +18252,20 @@ function KT(t, e) {
|
|
|
18234
18252
|
}
|
|
18235
18253
|
)), i;
|
|
18236
18254
|
}
|
|
18237
|
-
function
|
|
18255
|
+
function JT(t, e) {
|
|
18238
18256
|
let i;
|
|
18239
18257
|
return e && (i = vt.watch(
|
|
18240
18258
|
() => e.renderer,
|
|
18241
18259
|
() => {
|
|
18242
18260
|
const { model: a } = t, o = lt(a) ? a.config : a;
|
|
18243
18261
|
if (_i(o) && t.layerRendererChangePolicy === Hd.Refresh) {
|
|
18244
|
-
const n =
|
|
18262
|
+
const n = KT();
|
|
18245
18263
|
t.refresh({ updateData: n });
|
|
18246
18264
|
}
|
|
18247
18265
|
}
|
|
18248
18266
|
)), i;
|
|
18249
18267
|
}
|
|
18250
|
-
function
|
|
18268
|
+
function ek(t, e) {
|
|
18251
18269
|
const { view: i, model: a } = t, o = lt(a) ? a.config : a;
|
|
18252
18270
|
let n;
|
|
18253
18271
|
if (i && o && e) {
|
|
@@ -18258,7 +18276,7 @@ function JT(t, e) {
|
|
|
18258
18276
|
}
|
|
18259
18277
|
return n;
|
|
18260
18278
|
}
|
|
18261
|
-
function
|
|
18279
|
+
function tk(t) {
|
|
18262
18280
|
const { view: e } = t;
|
|
18263
18281
|
let i;
|
|
18264
18282
|
return e && (i = vt.watch(
|
|
@@ -18273,7 +18291,7 @@ function js(t) {
|
|
|
18273
18291
|
const { syncViewTimeZone: e, syncViewTimeZoneInclusionList: i, chartConfig: a } = t, o = W(a?.series);
|
|
18274
18292
|
return (e || (o && i.includes(o)) === !0) && (zt(a) || za(a?.series[0]) && a.axes?.[0].valueFormat?.type === y.DateAxisFormat);
|
|
18275
18293
|
}
|
|
18276
|
-
function
|
|
18294
|
+
function ik(t) {
|
|
18277
18295
|
const { view: e, syncViewTimeZone: i, syncViewTimeZoneInclusionList: a } = t;
|
|
18278
18296
|
let o;
|
|
18279
18297
|
return e && "timeZone" in e && (o = vt.watch(
|
|
@@ -18284,7 +18302,7 @@ function tk(t) {
|
|
|
18284
18302
|
}
|
|
18285
18303
|
)), o;
|
|
18286
18304
|
}
|
|
18287
|
-
function
|
|
18305
|
+
function ak(t, e) {
|
|
18288
18306
|
let i;
|
|
18289
18307
|
const a = An(e);
|
|
18290
18308
|
return a !== void 0 && "fields" in a && (i = vt.watch(
|
|
@@ -18298,7 +18316,7 @@ function ik(t, e) {
|
|
|
18298
18316
|
}
|
|
18299
18317
|
)), i;
|
|
18300
18318
|
}
|
|
18301
|
-
function
|
|
18319
|
+
function ok(t) {
|
|
18302
18320
|
const { view: e } = t, i = e?.map;
|
|
18303
18321
|
return i ? vt.watch(
|
|
18304
18322
|
// observe initialization changes so unsupported clones can be retried after loading.
|
|
@@ -18320,23 +18338,23 @@ function Nm(t, e) {
|
|
|
18320
18338
|
}
|
|
18321
18339
|
);
|
|
18322
18340
|
}
|
|
18323
|
-
function
|
|
18341
|
+
function nk(t) {
|
|
18324
18342
|
const { view: e } = t;
|
|
18325
18343
|
let i;
|
|
18326
18344
|
return e?.selectionManager && (i = Nm(t, e.selectionManager)), i;
|
|
18327
18345
|
}
|
|
18328
|
-
function
|
|
18346
|
+
function sk(t) {
|
|
18329
18347
|
const { selectionManager: e } = t;
|
|
18330
18348
|
let i;
|
|
18331
18349
|
return e && (i = Nm(t, e)), i;
|
|
18332
18350
|
}
|
|
18333
|
-
async function
|
|
18351
|
+
async function rk(t) {
|
|
18334
18352
|
const e = Pm(`assets/common/t9n/messages.${t}.json`), i = await fetch(e);
|
|
18335
18353
|
if (!i.ok)
|
|
18336
18354
|
throw new Error(`Failed to load t9n file: ${e}`);
|
|
18337
18355
|
return await i.json();
|
|
18338
18356
|
}
|
|
18339
|
-
async function
|
|
18357
|
+
async function lk(t = ea(document.documentElement).t9nLocale) {
|
|
18340
18358
|
let e = (await import("@amcharts/amcharts4/lang/en_US.js")).default;
|
|
18341
18359
|
switch (t) {
|
|
18342
18360
|
case "ar":
|
|
@@ -18456,7 +18474,7 @@ async function rk(t = ea(document.documentElement).t9nLocale) {
|
|
|
18456
18474
|
}
|
|
18457
18475
|
return e;
|
|
18458
18476
|
}
|
|
18459
|
-
async function
|
|
18477
|
+
async function ck(t = ea(document.documentElement).t9nLocale) {
|
|
18460
18478
|
let e = (await import("@amcharts/amcharts5/locales/en_US.js")).default;
|
|
18461
18479
|
switch (t) {
|
|
18462
18480
|
case "ar":
|
|
@@ -18580,34 +18598,34 @@ async function lk(t = ea(document.documentElement).t9nLocale) {
|
|
|
18580
18598
|
return e;
|
|
18581
18599
|
}
|
|
18582
18600
|
async function _c(t = ea(document.documentElement).t9nLocale, e) {
|
|
18583
|
-
const i = e ? await
|
|
18601
|
+
const i = e ? await ck(t) : await lk(t), a = (await rk(t)).customAmchartsStrings;
|
|
18584
18602
|
return { ...i, ...a };
|
|
18585
18603
|
}
|
|
18586
|
-
const
|
|
18587
|
-
class
|
|
18604
|
+
const dk = ({ message: t, heading: e, options: i }) => to`<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 ? to`<div slot=title>${e}</div>` : null}${t !== void 0 ? to`<div slot=message>${t}</div>` : null}</calcite-alert>`, uk = Um`.hide{visibility:hidden}.am5-html-container{z-index:101!important}.am5-layer-1000{z-index:1000!important}.am5-layer-30{z-index:100!important}.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}.chart>div{justify-content:center;align-items:center}.chart{overflow-y:hidden}:host{width:var(--chart-width, var(--arcgis-charts-default-width));height:var(--chart-height, var(--arcgis-charts-default-height));display:flex;flex-direction:row;position:relative;overflow:hidden}.chart-wrapper{position:relative;width:100%}.chart-container{height:100%;overflow:hidden}`;
|
|
18605
|
+
class fk extends gp {
|
|
18588
18606
|
constructor(e) {
|
|
18589
18607
|
super(e);
|
|
18590
18608
|
}
|
|
18591
18609
|
addLayerWatchHandlers(e) {
|
|
18592
|
-
this.removeLayerWatchHandlers(), this.layerFilterWatchHandler =
|
|
18610
|
+
this.removeLayerWatchHandlers(), this.layerFilterWatchHandler = QT(this.component, e), this.layerRendererWatchHandler = JT(this.component, e), this.layerFieldsWatchHandler = ak(this.component, e);
|
|
18593
18611
|
}
|
|
18594
18612
|
setViewExtentChangeWatchHandler(e, i) {
|
|
18595
|
-
(e ?? (this.component.filterByExtent || this.component.filterByViewExtent)) && (this.removeViewExtentChangeWatchHandlers(), this.viewExtentChangeWatchHandlers =
|
|
18613
|
+
(e ?? (this.component.filterByExtent || this.component.filterByViewExtent)) && (this.removeViewExtentChangeWatchHandlers(), this.viewExtentChangeWatchHandlers = ek(this.component, i));
|
|
18596
18614
|
}
|
|
18597
18615
|
setLayerReplacementWatchHandler() {
|
|
18598
|
-
this.removeLayerReplacementWatchHandler(), this.layerReplacementWatchHandler =
|
|
18616
|
+
this.removeLayerReplacementWatchHandler(), this.layerReplacementWatchHandler = ok(this.component);
|
|
18599
18617
|
}
|
|
18600
18618
|
setViewTimeZoneWatchHandler() {
|
|
18601
|
-
this.removeViewTimeZoneChangeWatchHandler(), this.viewTimeZoneChangeWatchHandler =
|
|
18619
|
+
this.removeViewTimeZoneChangeWatchHandler(), this.viewTimeZoneChangeWatchHandler = ik(this.component);
|
|
18602
18620
|
}
|
|
18603
18621
|
setViewTimeExtentChangeWatchHandler() {
|
|
18604
|
-
this.removeViewTimeExtentChangeWatchHandler(), this.viewTimeExtentChangeWatchHandler =
|
|
18622
|
+
this.removeViewTimeExtentChangeWatchHandler(), this.viewTimeExtentChangeWatchHandler = tk(this.component);
|
|
18605
18623
|
}
|
|
18606
18624
|
setViewSelectionsChangeWatchHandler() {
|
|
18607
|
-
this.removeViewSelectionsChangeWatchHandler(), this.viewSelectionsChangeWatchHandler =
|
|
18625
|
+
this.removeViewSelectionsChangeWatchHandler(), this.viewSelectionsChangeWatchHandler = nk(this.component);
|
|
18608
18626
|
}
|
|
18609
18627
|
setSelectionManagerChangeWatchHandler() {
|
|
18610
|
-
this.removeSelectionManagerChangeWatchHandler(), this.selectionManagerChangeWatchHandler =
|
|
18628
|
+
this.removeSelectionManagerChangeWatchHandler(), this.selectionManagerChangeWatchHandler = sk(this.component);
|
|
18611
18629
|
}
|
|
18612
18630
|
removeLayerWatchHandlers() {
|
|
18613
18631
|
this.removeLayerFilterWatchHandler(), this.removeLayerRendererWatchHandler(), this.removeLayerFieldsWatchHandler();
|
|
@@ -18643,24 +18661,24 @@ class uk extends gp {
|
|
|
18643
18661
|
this.viewTimeExtentChangeWatchHandler?.remove(), this.component.runtimeDataFilters?.timeExtent && delete this.component.runtimeDataFilters.timeExtent;
|
|
18644
18662
|
}
|
|
18645
18663
|
}
|
|
18646
|
-
function fk(t) {
|
|
18647
|
-
return mk(t) || gk(t) || hk(t);
|
|
18648
|
-
}
|
|
18649
18664
|
function mk(t) {
|
|
18650
|
-
return
|
|
18665
|
+
return gk(t) || hk(t) || pk(t);
|
|
18651
18666
|
}
|
|
18652
18667
|
function gk(t) {
|
|
18653
|
-
return pl(t) && t.localName === "arcgis-
|
|
18668
|
+
return pl(t) && t.localName === "arcgis-map";
|
|
18654
18669
|
}
|
|
18655
18670
|
function hk(t) {
|
|
18671
|
+
return pl(t) && t.localName === "arcgis-scene";
|
|
18672
|
+
}
|
|
18673
|
+
function pk(t) {
|
|
18656
18674
|
return pl(t) && t.localName === "arcgis-link-chart";
|
|
18657
18675
|
}
|
|
18658
18676
|
function pl(t) {
|
|
18659
18677
|
return t !== void 0 && "componentOnReady" in t && typeof t.componentOnReady == "function";
|
|
18660
18678
|
}
|
|
18661
|
-
class
|
|
18679
|
+
class bk extends zm {
|
|
18662
18680
|
constructor() {
|
|
18663
|
-
super(), this._messages = Wl(), this._chartRef = jm(), this._commonStrings = Wl({ name: "common", blocking: !0 }), this._watchHandlersController = new
|
|
18681
|
+
super(), this._messages = Wl(), this._chartRef = jm(), this._commonStrings = Wl({ name: "common", blocking: !0 }), this._watchHandlersController = new fk(this), this._rotated = !1, this._legendVisibility = !1, this._showLoader = !1, this._lastRenderedRevision = 0, this._noRenderingUpdateProps = [
|
|
18664
18682
|
"_messages",
|
|
18665
18683
|
"showLoader",
|
|
18666
18684
|
"infoModalMessage",
|
|
@@ -18671,7 +18689,7 @@ class pk extends zm {
|
|
|
18671
18689
|
args: () => [this.referenceElement],
|
|
18672
18690
|
task: async ([e]) => {
|
|
18673
18691
|
const i = e ? hp(this, e) : Hm(this.el, "arcgis-map,arcgis-scene,arcgis-link-chart");
|
|
18674
|
-
if (
|
|
18692
|
+
if (mk(i))
|
|
18675
18693
|
return await i?.componentOnReady(), i;
|
|
18676
18694
|
},
|
|
18677
18695
|
onComplete: (e) => {
|
|
@@ -18812,7 +18830,7 @@ class pk extends zm {
|
|
|
18812
18830
|
let p = e, S;
|
|
18813
18831
|
g && Object.keys(g).forEach((v) => {
|
|
18814
18832
|
const T = g ? g[v] : void 0, k = this[v];
|
|
18815
|
-
p = p || !
|
|
18833
|
+
p = p || !gt(T, k);
|
|
18816
18834
|
}), p = p || h !== c;
|
|
18817
18835
|
const x = Ki(h) !== Ki(c);
|
|
18818
18836
|
p = p || x, S = { common: { layerChanged: x } };
|
|
@@ -18997,7 +19015,7 @@ class pk extends zm {
|
|
|
18997
19015
|
chartData: B,
|
|
18998
19016
|
x: T.series[0].x
|
|
18999
19017
|
});
|
|
19000
|
-
R = { valid: !Number.isNaN(P), data: { ...this._processedChartData } }, Number.isNaN(P) && B.length > 0 && (R.invalidType =
|
|
19018
|
+
R = { valid: !Number.isNaN(P), data: { ...this._processedChartData } }, Number.isNaN(P) && B.length > 0 && (R.invalidType = Mi.NoValue, R.count = B.length);
|
|
19001
19019
|
}
|
|
19002
19020
|
}
|
|
19003
19021
|
return { dataInfo: R, dataWasUpdated: !!R };
|
|
@@ -19032,7 +19050,7 @@ class pk extends zm {
|
|
|
19032
19050
|
this.properties = { layerFromPortalItem: 16, layerLoadError: 16, layerView: 16, queryObject: 16, internalModel: 16, forceDataUpdateTick: 16, taskCompletionTick: 16, infoModalMessage: 16, notifyMessage: 16, showLoader: 16, modelRevision: 16, internalView: 16, enableBetaFeatures: 5, model: 0, enableConfiguration: 5, configurationEnabled: 5, calciteThemingCSSVariables: 0, rotation: [5, { hasChanged: () => !1 }], rotated: [5, { hasChanged: () => !1 }], actionMode: 1, cursorRange: 1, legendPosition: [1, { hasChanged: () => !1 }], legendVisibility: [5, { hasChanged: () => !1 }], allowUsingObjectIdStat: 5, nullAsValid: 5, zeroCountAsValid: 5, showUIMessages: 5, hideUIMessages: 5, hideEmptySeries: 5, showEmptySeries: 5, truncateLongTitles: 5, autoInverseDataLabelTextColor: 5, replaceNoValueCategoryWithZero: 5, hideZeroCountCategories: 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, filterByViewExtent: 5, disableInteractions: 5, interactionsDisabled: 5, queueChartCreation: 5, skipChartCreationQueue: 5, useAnimatedCharts: 5, animationEnabled: 5, hideLicenseWatermark: 5, showLicenseWatermark: 5, enableResponsiveFeatures: 5, autoDisposeChart: 5, featureIndex: [9, { hasChanged: () => !1 }], placeholder: 1, selectionTheme: 0, setTimeBinningInfoWhenNotProvided: 5, chartLimits: 0, aria: 0, tooltipFormatter: 0, dataLabelFormatter: 0, guideTooltipFormatter: 0, xAxisLabelFormatter: 0, yAxisLabelFormatter: 0, secondaryYAxisLabelFormatter: 0, gaugeInnerLabelFormatter: 0, errorPolicy: 1, disableTogglingLegendItems: 5, togglingLegendItemsDisabled: 5, legendInteractionsDisabled: 5, hideLoaderAnimation: 5, loaderColors: 0, runtimeDataFilters: 0, usePopupTemplateFieldsInfo: 5, syncViewTimeZoneInclusionList: 0, syncViewTimeZone: 5, popupTemplateFieldInfosEnabled: 5, layerFilterChangePolicy: 1, viewTimeExtentChangePolicy: 1, syncViewTimeExtent: 5, layerRendererChangePolicy: 1, layerFieldsChangePolicy: 1, syncSelectionsBetweenChartAndLayerViewPolicy: 1, syncViewSelection: 5, syncSelection: 5, syncChartsSelection: 5, ignoreViewExtent: 5, updateSplitBySeries: 0, messageOverrides: 0, autoDestroyDisabled: 5, selectionManager: 0, referenceElement: 1, mapLayerId: 1 };
|
|
19033
19051
|
}
|
|
19034
19052
|
static {
|
|
19035
|
-
this.styles =
|
|
19053
|
+
this.styles = uk;
|
|
19036
19054
|
}
|
|
19037
19055
|
get _isSelectionManagerEnabled() {
|
|
19038
19056
|
return this.selectionManager !== void 0 || this.view?.selectionManager !== void 0 && (this.syncViewSelection || this.syncSelectionsBetweenChartAndLayerViewPolicy === Ts.Enabled);
|
|
@@ -19198,13 +19216,13 @@ class pk extends zm {
|
|
|
19198
19216
|
}
|
|
19199
19217
|
willUpdate(e) {
|
|
19200
19218
|
const i = this.internalModel?.recall(e.get("modelRevision"));
|
|
19201
|
-
(!
|
|
19219
|
+
(!gt(i?.iLayer, this.internalModel?.config?.iLayer) || e.has("layer")) && (this._queryObjectUnloaded = qg({
|
|
19202
19220
|
layerOrLayerView: this.layer,
|
|
19203
19221
|
iLayer: this.internalModel?.config?.iLayer
|
|
19204
19222
|
})), (e.has("layerView") || e.has("filterByViewExtent") || e.has("filterByExtent")) && (this.filterByViewExtent || this.filterByExtent ? this._watchHandlersController.setViewExtentChangeWatchHandler(this.filterByViewExtent, this.layerView) : (this._watchHandlersController.removeViewExtentChangeWatchHandlers(), this.refresh({
|
|
19205
19223
|
updateData: !0,
|
|
19206
19224
|
resetAxesBounds: !0
|
|
19207
|
-
}))), e.has("internalModel") && this._internalModelChange(), e.has("chartLimits") && (fs(this.internalModel) || ms(this.internalModel)) && (this.internalModel.chartLimits = this.chartLimits), (e.has("layerItemId") || e.has("mapLayerId")) && (this.internalModel = void 0), e.has("selectionData") && !
|
|
19225
|
+
}))), e.has("internalModel") && this._internalModelChange(), e.has("chartLimits") && (fs(this.internalModel) || ms(this.internalModel)) && (this.internalModel.chartLimits = this.chartLimits), (e.has("layerItemId") || e.has("mapLayerId")) && (this.internalModel = void 0), e.has("selectionData") && !gt(e.get("selectionData")?.selectionOIDs, this.selectionData?.selectionOIDs) && this._selectionDataChange(), e.has("filterBySelection") && e.get("filterBySelection") !== void 0 && this._filterBySelectionChanged(), e.has("selectionManager") && (this._setSelectionManagerChangeWatchHandler(), this.applySelectionFromSelectionManager());
|
|
19208
19226
|
}
|
|
19209
19227
|
updated(e) {
|
|
19210
19228
|
Array.from(e.keys()).filter((a) => !this._noRenderingUpdateProps.includes(a)).length > 0 && this._updatedAsync(), this._actionBarElement !== void 0 && cp({
|
|
@@ -19231,7 +19249,7 @@ class pk extends zm {
|
|
|
19231
19249
|
applySelectionFromSelectionManager() {
|
|
19232
19250
|
if (this._isSelectionManagerEnabled) {
|
|
19233
19251
|
const e = this._getSelectionFromSelectionManager();
|
|
19234
|
-
|
|
19252
|
+
gt(e, this.selectionData?.selectionOIDs) || (this.selectionData = {
|
|
19235
19253
|
selectionOIDs: e,
|
|
19236
19254
|
selectionSource: ge.ProgrammaticSelection
|
|
19237
19255
|
}, e?.length || this.clearSelection());
|
|
@@ -19309,7 +19327,7 @@ class pk extends zm {
|
|
|
19309
19327
|
_handleExternalSelection(e) {
|
|
19310
19328
|
if (!_e(this.loadedLayer)) {
|
|
19311
19329
|
const i = e, { selectionData: a, model: o } = i.detail, n = this.loadedLayer && o?.layer?.id === this.loadedLayer.id;
|
|
19312
|
-
if ((this.syncSelection || this.syncChartsSelection) && n && e.target !== this.el && (!
|
|
19330
|
+
if ((this.syncSelection || this.syncChartsSelection) && n && e.target !== this.el && (!gt(a.selectionOIDs, this.selectionData?.selectionOIDs) || !gt(a.selectionFilters, this.selectionData?.selectionFilters)))
|
|
19313
19331
|
if (a.selectionOIDs || a.selectionFilters?.[0]) {
|
|
19314
19332
|
this.selectionData = { ...a, selectionSource: ge.ProgrammaticSelection };
|
|
19315
19333
|
const s = lt(this.internalModel) ? this.internalModel : void 0;
|
|
@@ -19398,7 +19416,7 @@ class pk extends zm {
|
|
|
19398
19416
|
const n = this.internalModel?.config;
|
|
19399
19417
|
o = Qg(o, n?.series), o = o.map(Jg), o = eh(o, n?.series), a.selectionItems = o;
|
|
19400
19418
|
}
|
|
19401
|
-
if (!
|
|
19419
|
+
if (!gt({ ...a, SelectionSource: void 0 }, { ...this.selectionData, SelectionSource: void 0 })) {
|
|
19402
19420
|
this.selectionData = a;
|
|
19403
19421
|
const n = lt(this.internalModel) ? this.internalModel : void 0;
|
|
19404
19422
|
this.arcgisSelectionComplete.emit({ selectionData: a, model: n });
|
|
@@ -19511,7 +19529,7 @@ class pk extends zm {
|
|
|
19511
19529
|
this._watchHandlersController.removeSelectionManagerChangeWatchHandler();
|
|
19512
19530
|
}
|
|
19513
19531
|
_applyPlaceholderForPartialConfig(e) {
|
|
19514
|
-
const i = _l(this.internalModel) ? y.ComboLineAndBarSeries : W(e?.series), a =
|
|
19532
|
+
const i = _l(this.internalModel) ? y.ComboLineAndBarSeries : W(e?.series), a = ET(i, this._commonStrings?.errorStrings);
|
|
19515
19533
|
this.notify(a);
|
|
19516
19534
|
}
|
|
19517
19535
|
_checkForIncompatibleChartVersion() {
|
|
@@ -19573,7 +19591,7 @@ class pk extends zm {
|
|
|
19573
19591
|
view: this.view,
|
|
19574
19592
|
viewTimeExtentChangePolicy: this.viewTimeExtentChangePolicy,
|
|
19575
19593
|
syncViewTimeExtent: this.syncViewTimeExtent
|
|
19576
|
-
}), d = this.selectionData?.selectionSource !== ge.SelectionByClick && this.selectionData?.selectionSource !== ge.SelectionByRange && !
|
|
19594
|
+
}), d = this.selectionData?.selectionSource !== ge.SelectionByClick && this.selectionData?.selectionSource !== ge.SelectionByRange && !gt(r?.selectionOIDs, this.selectionData?.selectionOIDs), u = await ih({
|
|
19577
19595
|
chartConfig: a,
|
|
19578
19596
|
chartData: this._processedChartData,
|
|
19579
19597
|
dataWasUpdated: n,
|
|
@@ -19598,7 +19616,7 @@ class pk extends zm {
|
|
|
19598
19616
|
selectionItems: u
|
|
19599
19617
|
});
|
|
19600
19618
|
}
|
|
19601
|
-
i.selectionByIndexesChanged = this.selectionData?.selectionSource !== ge.SelectionByClick && this.selectionData?.selectionSource !== ge.SelectionByRange && !
|
|
19619
|
+
i.selectionByIndexesChanged = this.selectionData?.selectionSource !== ge.SelectionByClick && this.selectionData?.selectionSource !== ge.SelectionByRange && !gt(r?.selectionIndexes, this.selectionData?.selectionIndexes), i.selectionByItemsChanged = this.selectionData?.selectionSource !== ge.SelectionByClick && this.selectionData?.selectionSource !== ge.SelectionByRange && ah({
|
|
19602
19620
|
itemsA: r?.selectionItems,
|
|
19603
19621
|
itemsB: this.selectionData?.selectionItems,
|
|
19604
19622
|
isPieFromFields: l === V.PieFromFields,
|
|
@@ -19655,7 +19673,7 @@ class pk extends zm {
|
|
|
19655
19673
|
axisConfigIndex: n,
|
|
19656
19674
|
chartData: qt(i?.data ?? this._sanitizedChartData)
|
|
19657
19675
|
}) || (a = !1, this._raiseInvalidDataWarning({
|
|
19658
|
-
invalidType: n === 0 ?
|
|
19676
|
+
invalidType: n === 0 ? Mi.NegativeValueInXAxisLogScale : Mi.NegativeValueInYAxisLogScale,
|
|
19659
19677
|
queryObject: e
|
|
19660
19678
|
}));
|
|
19661
19679
|
}), a;
|
|
@@ -19665,13 +19683,13 @@ class pk extends zm {
|
|
|
19665
19683
|
let n = !1;
|
|
19666
19684
|
if (i?.data) {
|
|
19667
19685
|
const s = qt(i.data);
|
|
19668
|
-
let r =
|
|
19686
|
+
let r = Mi.EmptyDataSet;
|
|
19669
19687
|
oh({
|
|
19670
19688
|
chartConfig: a,
|
|
19671
19689
|
nullAsValid: this.nullAsValid,
|
|
19672
19690
|
zeroCountAsValid: this.zeroCountAsValid,
|
|
19673
19691
|
dataSet: s
|
|
19674
|
-
}) && (Eo(this.internalModel?.config) && cs(this.internalModel?.config) && i.count && i.count > 0 && (r =
|
|
19692
|
+
}) && (Eo(this.internalModel?.config) && cs(this.internalModel?.config) && i.count && i.count > 0 && (r = Mi.NoValue), n = !0, this.showLoader = !1, this._raiseInvalidDataWarning({ invalidType: r, elementCount: i.count, queryObject: o }));
|
|
19675
19693
|
}
|
|
19676
19694
|
return n;
|
|
19677
19695
|
}
|
|
@@ -19692,21 +19710,21 @@ class pk extends zm {
|
|
|
19692
19710
|
isByFeatureGauge: l,
|
|
19693
19711
|
errorStrings: this._commonStrings?.errorStrings
|
|
19694
19712
|
});
|
|
19695
|
-
(c.keyword !==
|
|
19713
|
+
(c.keyword !== Mi.EmptyDataSet || this.infoModalMessage === void 0 || c.keyword === Mi.EmptyDataSet && l) && (this.arcgisBadDataWarningRaise.emit(c), this.notify(c.message, c.header));
|
|
19696
19714
|
}
|
|
19697
19715
|
_processInvalidConfigStatus(e, i) {
|
|
19698
19716
|
if (this.enableConfiguration || this.configurationEnabled)
|
|
19699
19717
|
this._handleUpdateCompleted(e);
|
|
19700
19718
|
else {
|
|
19701
19719
|
this.showLoader = !1;
|
|
19702
|
-
const { title: a, message: o } =
|
|
19720
|
+
const { title: a, message: o } = WT({
|
|
19703
19721
|
chartConfig: i,
|
|
19704
19722
|
createMessage: this.placeholder,
|
|
19705
19723
|
status: e,
|
|
19706
19724
|
errorStrings: this._commonStrings?.errorStrings
|
|
19707
19725
|
});
|
|
19708
19726
|
this.arcgisInvalidConfigWarningRaise.emit({
|
|
19709
|
-
keyword:
|
|
19727
|
+
keyword: Mi.InvalidConfig,
|
|
19710
19728
|
header: a,
|
|
19711
19729
|
message: o
|
|
19712
19730
|
}), this.notify(o, a);
|
|
@@ -19820,13 +19838,13 @@ class pk extends zm {
|
|
|
19820
19838
|
options: n,
|
|
19821
19839
|
queryObject: o
|
|
19822
19840
|
}), await this._generateHeatChartClassBreaks(b, u), ar(f, u) && (p = !0);
|
|
19823
|
-
const k =
|
|
19841
|
+
const k = Wi(u) ? u.showMean : void 0, I = b?.data ?? this._sanitizedChartData, R = I && k && "meanLines" in I ? I.meanLines : qt(I);
|
|
19824
19842
|
R && (a || p) && ({ colorMatchApplied: this._colorMatchApplied, rendererFieldNames: this._rendererFieldNames } = await rd({
|
|
19825
19843
|
data: R,
|
|
19826
19844
|
queryObject: o,
|
|
19827
19845
|
chartConfig: u,
|
|
19828
19846
|
allowColorMatch: ld({ chartConfig: u, queryObject: o })
|
|
19829
|
-
})), this._calciteThemeColors && (u =
|
|
19847
|
+
})), this._calciteThemeColors && (u = ZT(u, this._calciteThemeColors), this._calciteThemeApplied = yl(this.el));
|
|
19830
19848
|
let w = !1, $;
|
|
19831
19849
|
if (u.series[0].type === y.PieSeries) {
|
|
19832
19850
|
const B = qt(this._processedChartData), P = qt(b.data);
|
|
@@ -19915,7 +19933,7 @@ class pk extends zm {
|
|
|
19915
19933
|
}
|
|
19916
19934
|
};
|
|
19917
19935
|
if (this.showLoader || (this.showLoader = !0), a) {
|
|
19918
|
-
const X = this._useAmCharts5() ?
|
|
19936
|
+
const X = this._useAmCharts5() ? VT : Gx;
|
|
19919
19937
|
this._chart = X(z);
|
|
19920
19938
|
} else
|
|
19921
19939
|
this._chart?.update(z), this._handleUpdateCompleted(g);
|
|
@@ -19930,8 +19948,8 @@ class pk extends zm {
|
|
|
19930
19948
|
}
|
|
19931
19949
|
}
|
|
19932
19950
|
render() {
|
|
19933
|
-
this._calciteThemeColors =
|
|
19934
|
-
const e = this.notifyMessage ?
|
|
19951
|
+
this._calciteThemeColors = zT(this.el, this.calciteThemingCSSVariables);
|
|
19952
|
+
const e = this.notifyMessage ? dk({ heading: this._notifyHeading, message: this.notifyMessage, options: this._notifyOptions }) : null, i = this.infoModalMessage !== void 0 && this.showUIMessages !== !1 && !this.hideUIMessages || this.showLoader, a = this.notifyMessage && this._notifyOptions?.kind === "danger" || i, o = {
|
|
19935
19953
|
[Bt.ChartWrapper]: !0,
|
|
19936
19954
|
[Bt.Hide]: a,
|
|
19937
19955
|
[Bt.Show]: !a,
|
|
@@ -19948,7 +19966,7 @@ class pk extends zm {
|
|
|
19948
19966
|
}} ${Cl(this._actionBarSlotRef)}></slot>${i ? to`<arcgis-charts-info-modal .heading=${this._infoModalHeading} .message=${this.infoModalMessage} .showLoader=${this.showLoader} .loaderColors=${this.loaderColors} .calciteThemeColors=${this._calciteThemeColors}></arcgis-charts-info-modal>` : null}<div class=${os(o)}><div class=${os(n)} ${Cl(this._chartRef)}></div></div><div class=${os(s)}>${e}</div>`;
|
|
19949
19967
|
}
|
|
19950
19968
|
}
|
|
19951
|
-
Vm("arcgis-chart",
|
|
19969
|
+
Vm("arcgis-chart", bk);
|
|
19952
19970
|
export {
|
|
19953
|
-
|
|
19971
|
+
bk as ArcgisChart
|
|
19954
19972
|
};
|