@arcgis/charts-components 4.34.0-next.127 → 4.34.0-next.128
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/{4SB3RZWG.js → 2ELKKDRU.js} +2 -2
- package/dist/cdn/{SP2NLOR5.js → 2FQPDQLM.js} +2 -2
- package/dist/cdn/{IJOTVKGP.js → 2VBQVHDP.js} +2 -2
- package/dist/cdn/{HQ6LYWCZ.js → 2XYBK3OS.js} +2 -2
- package/dist/cdn/{S3Z3N52S.js → 35SATBRX.js} +2 -2
- package/dist/cdn/{47FIHP4B.js → 363BJOGC.js} +2 -2
- package/dist/cdn/{GFL6GNMU.js → 3LF2EO3G.js} +2 -2
- package/dist/cdn/{ERVBPTAV.js → 3SLAT4LF.js} +2 -2
- package/dist/cdn/{2OLM5CYT.js → 44FAKIKI.js} +2 -2
- package/dist/cdn/{JM4WZFLX.js → 47RLCI3A.js} +2 -2
- package/dist/cdn/{JPSHA6EO.js → 4F72BZB2.js} +2 -2
- package/dist/cdn/{TTCF3TUY.js → 4S5Z6OFJ.js} +2 -2
- package/dist/cdn/{NQ37L75M.js → 54PIG7QB.js} +2 -2
- package/dist/cdn/{2ZIQ3XQO.js → 5RNEGVLC.js} +2 -2
- package/dist/cdn/{2JPVQAN2.js → 5SXIYCM7.js} +2 -2
- package/dist/cdn/{XMVF4OZK.js → 6333EHHX.js} +2 -2
- package/dist/cdn/{PT6WEL73.js → 6LBH4TQ4.js} +2 -2
- package/dist/cdn/{ZJITGFAK.js → 6NXNBRGK.js} +2 -2
- package/dist/cdn/{MOPRPUOW.js → 6TIINHVN.js} +2 -2
- package/dist/cdn/{GDZRRWG5.js → 6WCO56O4.js} +2 -2
- package/dist/cdn/{EELLG4B5.js → 727HLEJC.js} +2 -2
- package/dist/cdn/{X33HR6IO.js → 73FAVYFI.js} +2 -2
- package/dist/cdn/{BQ5V2BHE.js → 7EF62DOL.js} +2 -2
- package/dist/cdn/{ZSZX7DYP.js → 7FB4GYAS.js} +2 -2
- package/dist/cdn/{3FLNQKC4.js → 7NLT6JP2.js} +2 -2
- package/dist/cdn/{EQ6XICAJ.js → 7QGEADDP.js} +2 -2
- package/dist/cdn/{HHPFQVOQ.js → 7U3H5VDT.js} +2 -2
- package/dist/cdn/{FMBFRPIK.js → 7W3WE5VD.js} +2 -2
- package/dist/cdn/{CZ5CH26O.js → 7YMC4WNI.js} +2 -2
- package/dist/cdn/{RCFFWJYL.js → AASDXBQB.js} +2 -2
- package/dist/cdn/{YYP3AK7B.js → AASP33VD.js} +2 -2
- package/dist/cdn/{RBZIT6NI.js → AHTW6GUW.js} +2 -2
- package/dist/cdn/{VBU3JNCZ.js → AIY7M6TF.js} +2 -2
- package/dist/cdn/{OZRLMZ2O.js → AR2BR3TN.js} +2 -2
- package/dist/cdn/{VYX62Q27.js → ASHNINKV.js} +2 -2
- package/dist/cdn/{ET5ASJJT.js → AWHRATQG.js} +2 -2
- package/dist/cdn/{CADKFYCK.js → B4BFCYU3.js} +2 -2
- package/dist/cdn/{EBFPWTXS.js → B56EYHIF.js} +2 -2
- package/dist/cdn/{C5OFWT2D.js → B6WJQIOM.js} +2 -2
- package/dist/cdn/{KMEKT5XO.js → BKICR5PT.js} +2 -2
- package/dist/cdn/{Q67V43U5.js → BL53W5C4.js} +19 -19
- package/dist/cdn/{PMFYG2MF.js → BOLMZ7HL.js} +2 -2
- package/dist/cdn/{BKY4Y32V.js → C5NBF54R.js} +2 -2
- package/dist/cdn/{IM7NNJP5.js → CHL36FTV.js} +2 -2
- package/dist/cdn/{G6YOFYHC.js → CKHJB2GO.js} +2 -2
- package/dist/cdn/{WQV6MVRL.js → CKSMPXTM.js} +2 -2
- package/dist/cdn/{MPBAVO5N.js → CLGAG2ZW.js} +2 -2
- package/dist/cdn/{2LYFZ3HL.js → CMV3JIKA.js} +2 -2
- package/dist/cdn/{5B6S24RI.js → CQ3FY2II.js} +2 -2
- package/dist/cdn/{MSPXIOV3.js → D4FBQQ2O.js} +2 -2
- package/dist/cdn/{D5ZUC3L4.js → DS726NTF.js} +2 -2
- package/dist/cdn/{RPUVHTHU.js → DWV2F44U.js} +2 -2
- package/dist/cdn/{WZ7RTREJ.js → DYTQ6ALV.js} +2 -2
- package/dist/cdn/{E5JMVVI7.js → E6IEJW5Q.js} +2 -2
- package/dist/cdn/{UUKS6BPU.js → EC4QOZ5H.js} +2 -2
- package/dist/cdn/{JQ2COHK4.js → ECALXXHA.js} +2 -2
- package/dist/cdn/{LZ6DZHT2.js → EGVCQZTC.js} +2 -2
- package/dist/cdn/{24IA2LBB.js → ENB7BA5H.js} +1 -1
- package/dist/cdn/{4ZA44F74.js → EST5RYOO.js} +2 -2
- package/dist/cdn/{HYXFVWMP.js → ESUI4WL2.js} +2 -2
- package/dist/cdn/{OTBJA7QR.js → EVWOVJ6W.js} +2 -2
- package/dist/cdn/{QTA7BEXB.js → EZNCIUF5.js} +2 -2
- package/dist/cdn/{7M4IQNT4.js → EZRL6QGP.js} +2 -2
- package/dist/cdn/{2ZEJP7ZR.js → FKWTJP5E.js} +2 -2
- package/dist/cdn/{J2J7EGAL.js → FLHXYHWC.js} +2 -2
- package/dist/cdn/{GFFIW6YC.js → FMJX2O5N.js} +2 -2
- package/dist/cdn/{7M35EITL.js → FSN5JOUH.js} +2 -2
- package/dist/cdn/{QMLQIRX2.js → FZD3TBUU.js} +2 -2
- package/dist/cdn/{DOWCB5B3.js → G3LSFVVN.js} +1 -1
- package/dist/cdn/{AF2G6GGW.js → GRAWKB2V.js} +2 -2
- package/dist/cdn/{LC3VEEDF.js → GSMLNWGO.js} +2 -2
- package/dist/cdn/{4FFXZIPC.js → GSXYXQVA.js} +2 -2
- package/dist/cdn/{K3CZZPHW.js → H2FDQB2Y.js} +2 -2
- package/dist/cdn/{FT5ETDEQ.js → H6NJOLCQ.js} +2 -2
- package/dist/cdn/{5IPKPEEA.js → H6XH6ICM.js} +2 -2
- package/dist/cdn/{RMK2CAZW.js → HHI4VKYB.js} +2 -2
- package/dist/cdn/{X4FZGLBE.js → IB55SCM5.js} +2 -2
- package/dist/cdn/{4KIKPKPR.js → IM2KSYY6.js} +2 -2
- package/dist/cdn/{6MFIV4XM.js → IPTGXNT4.js} +2 -2
- package/dist/cdn/{ALNSVJEB.js → J6NA6GNX.js} +2 -2
- package/dist/cdn/{VBAKROJ6.js → JAFB7BCZ.js} +2 -2
- package/dist/cdn/{5DMOHAWQ.js → JHVHAXML.js} +2 -2
- package/dist/cdn/{PHFY2K7O.js → JT3XKDU4.js} +2 -2
- package/dist/cdn/{XOQELTF7.js → K3P6MGXR.js} +2 -2
- package/dist/cdn/{T4X6EIYL.js → KACI3Y2G.js} +2 -2
- package/dist/cdn/{FKMFC336.js → KDYV3C2B.js} +2 -2
- package/dist/cdn/{MBTMBXXS.js → KFQIZTUY.js} +2 -2
- package/dist/cdn/{GAMKRLU7.js → KFTC44NB.js} +2 -2
- package/dist/cdn/{HJJ4Y3CR.js → KJVJWG4Y.js} +2 -2
- package/dist/cdn/{3KXXRKOE.js → KUEET5MI.js} +2 -2
- package/dist/cdn/{CMRJLL26.js → KUFY4O7P.js} +2 -2
- package/dist/cdn/{LWC4I5G6.js → L754RY6K.js} +2 -2
- package/dist/cdn/{52O27OED.js → LLR4YWEE.js} +2 -2
- package/dist/cdn/{AL76X22V.js → LOLYFZ3J.js} +2 -2
- package/dist/cdn/{ZNVM5PIE.js → LUVBGEPX.js} +2 -2
- package/dist/cdn/{G7F5GGWD.js → MJSHEKVO.js} +2 -2
- package/dist/cdn/{6MF6NJN3.js → MPPDERAP.js} +2 -2
- package/dist/cdn/{R2DJ3AB6.js → N5B3GSQ4.js} +2 -2
- package/dist/cdn/{OLDM3R6W.js → NEW5LQMW.js} +2 -2
- package/dist/cdn/{NONQPMVU.js → NKP2BJPW.js} +2 -2
- package/dist/cdn/{T4AEZ2SB.js → NR72AGE3.js} +2 -2
- package/dist/cdn/{HYY5B7CT.js → NT5AGFFL.js} +2 -2
- package/dist/cdn/{RN6SPNMP.js → NWHTVDK7.js} +2 -2
- package/dist/cdn/{QT6GQ7JS.js → NZQKTAG4.js} +2 -2
- package/dist/cdn/{GGE5MPJY.js → O4PV5IUA.js} +2 -2
- package/dist/cdn/{DODRX62X.js → O75YSPFK.js} +2 -2
- package/dist/cdn/{LTPY4OUW.js → ONK4Z76M.js} +2 -2
- package/dist/cdn/{ZIIEMFN3.js → OPOVLWJL.js} +2 -2
- package/dist/cdn/{BQBV4BRZ.js → OWYWTJDF.js} +2 -2
- package/dist/cdn/{SJGNB6QG.js → OX3PJIHZ.js} +2 -2
- package/dist/cdn/{Q2MAX546.js → OYWDYD4Q.js} +2 -2
- package/dist/cdn/{MA4AQZJI.js → PKZPGTRP.js} +2 -2
- package/dist/cdn/{NC3JDQVD.js → PNG6X4XT.js} +2 -2
- package/dist/cdn/{EYTVJMJQ.js → PPLG3GBT.js} +2 -2
- package/dist/cdn/{RJJQK2WU.js → QCLE54TU.js} +2 -2
- package/dist/cdn/{UQBJZ4BK.js → QKDCB5NF.js} +2 -2
- package/dist/cdn/{DS2HCVOC.js → QKT6K5OC.js} +2 -2
- package/dist/cdn/{2R6XISQE.js → QRDISUQN.js} +1 -1
- package/dist/cdn/{U7JI6HT2.js → QV3ZBXLI.js} +2 -2
- package/dist/cdn/{BPHVUVYF.js → QY4AC7BB.js} +2 -2
- package/dist/cdn/{5G7S64O4.js → R54AJOHA.js} +2 -2
- package/dist/cdn/{RXITGCZA.js → RHWMUCAA.js} +2 -2
- package/dist/cdn/{BUIAGG2C.js → RK3BKYL6.js} +2 -2
- package/dist/cdn/{PMF737EW.js → RN6UM7ZY.js} +2 -2
- package/dist/cdn/{Q6M7U7V4.js → ROV2UDHD.js} +2 -2
- package/dist/cdn/{QG72NRZS.js → S4CHTQXT.js} +2 -2
- package/dist/cdn/{4Y5VLO5J.js → S5Z7XVHF.js} +2 -2
- package/dist/cdn/{M6CRX7SF.js → SIHZECON.js} +2 -2
- package/dist/cdn/{CO6K44ZY.js → SLYLXEMI.js} +2 -2
- package/dist/cdn/{6OJDGGEN.js → T6CKJDOC.js} +1 -1
- package/dist/cdn/{DHL323ZS.js → TDWP3V4Y.js} +2 -2
- package/dist/cdn/{PGOEEBA4.js → TVHMRP3S.js} +2 -2
- package/dist/cdn/{NQQH2UMR.js → TWHQHLOA.js} +2 -2
- package/dist/cdn/{2SXPE5UA.js → U272XS5M.js} +2 -2
- package/dist/cdn/{YO6LDHNC.js → U4HCIINC.js} +2 -2
- package/dist/cdn/{XYBP5LYW.js → UBKX4Z5S.js} +2 -2
- package/dist/cdn/{KMGVPLDM.js → UDZ7T3UX.js} +2 -2
- package/dist/cdn/{K6XVMA24.js → UHKYF6GK.js} +1 -1
- package/dist/cdn/{2JZ6UCWG.js → UJSFLPL3.js} +2 -2
- package/dist/cdn/{632XEC4C.js → UQOUWLPA.js} +2 -2
- package/dist/cdn/{OBEGBBQH.js → USSDOYLW.js} +2 -2
- package/dist/cdn/{DZR7FRRF.js → UTPZEMCK.js} +2 -2
- package/dist/cdn/{MXALVRWJ.js → UU6V4TU5.js} +2 -2
- package/dist/cdn/{WX6M65UT.js → UVMYB4OX.js} +2 -2
- package/dist/cdn/{W6OLAXCH.js → UWQNOD6G.js} +1 -1
- package/dist/cdn/{3ISJUAC7.js → UXPAFMKK.js} +2 -2
- package/dist/cdn/{INOSXLRY.js → UZOIVHT4.js} +2 -2
- package/dist/cdn/{NAY2HASH.js → VN6FIFL4.js} +2 -2
- package/dist/cdn/{D2QX7JPK.js → VU6JYITT.js} +2 -2
- package/dist/cdn/{JOQZLDK7.js → VV6JBHZ4.js} +1 -1
- package/dist/cdn/{GNAT35RF.js → VVKNYJ6Q.js} +2 -2
- package/dist/cdn/{Y6BBI4U3.js → W4WEDU5Q.js} +2 -2
- package/dist/cdn/{32PZ46YV.js → W5TW25T5.js} +2 -2
- package/dist/cdn/{VAZMAQTL.js → WKORPEIW.js} +2 -2
- package/dist/cdn/{X62RJRHF.js → WO4WXUMD.js} +2 -2
- package/dist/cdn/{KT3RZCLX.js → WOP7TWXR.js} +2 -2
- package/dist/cdn/{CEMEECRZ.js → WW3YTFJZ.js} +2 -2
- package/dist/cdn/{TF5UBP6E.js → X5CM6Y6J.js} +2 -2
- package/dist/cdn/{ITIP5CPL.js → XE5IPX67.js} +2 -2
- package/dist/cdn/{FSOLK4PJ.js → XJA7CTL3.js} +2 -2
- package/dist/cdn/{47YWCGBB.js → XRU4WBTU.js} +2 -2
- package/dist/cdn/{YWMKSQ5L.js → XU2N7LCO.js} +2 -2
- package/dist/cdn/{WJ5PVWER.js → YJGEOW3U.js} +2 -2
- package/dist/cdn/{5AC4IUTF.js → YK2FH4VN.js} +1 -1
- package/dist/cdn/{KV5AUAE6.js → YLZXZRGA.js} +2 -2
- package/dist/cdn/{KL5RWRQ3.js → YSZJ76Z6.js} +2 -2
- package/dist/cdn/{NRT4FTLB.js → Z3UKWOMZ.js} +2 -2
- package/dist/cdn/{5A5SSNFK.js → ZFYCS73F.js} +2 -2
- package/dist/cdn/{IHNUNIVI.js → ZI62CC6Y.js} +2 -2
- package/dist/cdn/{CTQVP44O.js → ZKP6PJWM.js} +2 -2
- package/dist/cdn/{RK2Y3X2I.js → ZPXU4LJH.js} +2 -2
- package/dist/cdn/{Q7G5SIUX.js → ZQWMHZ6Q.js} +2 -2
- package/dist/cdn/{EBFEBIUM.js → ZUBXLRYH.js} +2 -2
- package/dist/cdn/{RQTC5GFI.js → ZXQNW567.js} +2 -2
- package/dist/cdn/{P723CUBT.js → ZYY3GMH2.js} +2 -2
- package/dist/cdn/assets/common/t9n/messages.en.json +1 -1
- package/dist/cdn/index.js +2 -2
- package/dist/chunks/action-bar-utils.js +1 -1
- package/dist/chunks/axis-model-wrapper.js +1 -1
- package/dist/chunks/bar-chart-model.js +1 -1
- package/dist/chunks/bar-chart-series.js +1 -1
- package/dist/chunks/baseline-stacking.js +1 -1
- package/dist/chunks/bg_BG.js +1 -1
- package/dist/chunks/bg_BG2.js +1 -1
- package/dist/chunks/box-plot-data.js +1 -1
- package/dist/chunks/box-plot-model.js +1 -1
- package/dist/chunks/chart-ui-utils.js +1 -1
- package/dist/chunks/chart-ui-utils2.js +1 -1
- package/dist/chunks/combo-bar-line-chart-model.js +1 -1
- package/dist/chunks/common.js +1 -1
- package/dist/chunks/data.js +1 -1
- package/dist/chunks/default.js +1 -1
- package/dist/chunks/gauge-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/interfaces.js +1 -1
- package/dist/chunks/interfaces2.js +1 -1
- package/dist/chunks/line-chart-model.js +1 -1
- package/dist/chunks/model-with-baseline-stacking.js +1 -1
- package/dist/chunks/model-with-data-labels.js +1 -1
- package/dist/chunks/model-with-multi-axes.js +1 -1
- package/dist/chunks/model-with-rotation.js +1 -1
- package/dist/chunks/pie-chart-data.js +1 -1
- package/dist/chunks/pie-chart-model.js +1 -1
- package/dist/chunks/popover-ui-utils.js +1 -1
- package/dist/chunks/radar-chart-model.js +1 -1
- package/dist/chunks/resource.js +1 -1
- package/dist/chunks/runtime.js +1 -1
- package/dist/chunks/scatterplot-model.js +1 -1
- package/dist/chunks/serial-chart-model.js +1 -1
- package/dist/chunks/series-types.js +1 -1
- package/dist/chunks/series.js +1 -1
- package/dist/chunks/setup-utils.js +1 -1
- package/dist/chunks/sk_SK.js +1 -1
- package/dist/chunks/store.js +1 -1
- package/dist/chunks/type-guards.js +1 -1
- package/dist/chunks/useT9n.js +1 -1
- package/dist/chunks/web-component-utils.js +1 -1
- package/dist/components/arcgis-chart/customElement.js +528 -512
- package/dist/components/arcgis-charts-action-bar/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-axes/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-axis/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-bar-chart/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-bar-chart-data/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-bar-chart-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-bar-chart-series/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-bar-chart-series-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-box-plot/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-box-plot-data/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-box-plot-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-box-plot-series/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-box-plot-series-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-category-format/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-chart-rename-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-color-style/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-colors/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-create-flow/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-field-select/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-font-style/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-format/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-format-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-general/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-guide/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-guide-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-guides/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-guides-type-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-histogram/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-histogram-data/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-histogram-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-invalid-input-message/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-line-chart/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-line-chart-data/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-line-chart-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-line-chart-series/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-line-chart-series-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-line-style/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-number-format/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-pie-chart/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-pie-chart-data/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-pie-chart-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-pie-chart-slices/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-pie-chart-slices-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-scatter-plot/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-scatter-plot-data/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-scatter-plot-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-select-chart-type-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-view-charts/customElement.js +1 -1
- package/dist/docs/api.json +2 -2
- package/dist/docs/docs.json +2 -2
- package/dist/docs/web-types.json +1 -1
- package/dist/index.js +1 -1
- package/dist/loader.js +1 -1
- package/dist/utils/localization/interfaces.d.ts +6 -0
- package/package.json +3 -3
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import { c as Qg } from "../../chunks/runtime.js";
|
|
2
|
-
import { W as y, F as z, p as Qt, e as It, j as Jt, w as $a, h as Ce, d as X, l as _, a as rs, q as Lt, S as ls, r as Ie, D as Vt, R as se, c as gt, b as Ft, x as Et, C as Js, y as me, z as re, g as ee, m as
|
|
2
|
+
import { W as y, F as z, p as Qt, e as It, j as Jt, w as $a, h as Ce, d as X, l as _, a as rs, q as Lt, S as ls, r as Ie, D as Vt, R as se, c as gt, b as Ft, x as Et, C as Js, y as me, z as re, g as ee, m as gi, u as xa, H as Kg, v as mc, o as Zg, k as gc, t as nn, s as Jg } from "../../chunks/series-types.js";
|
|
3
3
|
import { LitElement as eh, createEvent as Rt, safeClassMap as hc } from "@arcgis/lumina";
|
|
4
4
|
import th from "html2canvas";
|
|
5
5
|
import ih from "jszip";
|
|
6
6
|
import { html as $o, css as ah } from "lit";
|
|
7
7
|
import { createRef as nh, ref as pc } from "lit/directives/ref.js";
|
|
8
|
-
import { cloneDeep as Me, isArray as $r, isEmpty as Ma, isEqual as
|
|
8
|
+
import { cloneDeep as Me, isArray as $r, isEmpty as Ma, isEqual as yi, sortBy as bc, debounce as Je } from "lodash-es";
|
|
9
9
|
import oh from "@arcgis/core/layers/FeatureLayer.js";
|
|
10
|
-
import { color as Gn, percent as xt, LinePattern as Rd, RectanglePattern as sh, p50 as $e, p0 as st, p100 as _e, Label as
|
|
11
|
-
import { PieChart as
|
|
12
|
-
import { AxisRendererCircular as
|
|
10
|
+
import { color as Gn, percent as xt, LinePattern as Rd, RectanglePattern as sh, p50 as $e, p0 as st, p100 as _e, Label as ji, Rectangle as Mr, DateFormatter as rh, NumberFormatter as Vd, Series as Pr, Container as on, Legend as Ed, Scrollbar as mr, SerialChart as cn, Tooltip as Sn, Template as xn, Graphics as zi, Bullet as aa, RoundedRectangle as Xn, Slice as dn, Timezone as lh, DataItem as ch, Color as dh, Modal as uh, addLicense as fh, registry as mh, Root as gh } from "@amcharts/amcharts5";
|
|
11
|
+
import { PieChart as Mi, PieSeries as Nt } from "@amcharts/amcharts5/percent.js";
|
|
12
|
+
import { AxisRendererCircular as Hi, RadarCursor as Wd, ClockHand as gr, RadarChart as Ca, AxisRendererRadial as hh, RadarLineSeries as Rr } from "@amcharts/amcharts5/radar.js";
|
|
13
13
|
import { XYChart as Le, AxisRendererX as ei, LineSeries as Ae, XYCursor as zd, StepLineSeries as cs, CandlestickSeries as Xa, DateAxis as dt, ValueAxis as Pe, ColumnSeries as Ke, XYSeries as Vr, CategoryAxis as zt, AxisRendererY as va, AxisBullet as ph } from "@amcharts/amcharts5/xy.js";
|
|
14
14
|
import { unsafeGetElementDirection as Er } from "@arcgis/toolkit/dom";
|
|
15
15
|
import { getElementLocale as ds } from "@arcgis/toolkit/intl";
|
|
16
|
-
import { D as
|
|
17
|
-
import { b3 as Ra, cx as L, p as H, c6 as
|
|
16
|
+
import { D as Di, c as Yn } from "../../chunks/index.js";
|
|
17
|
+
import { b3 as Ra, cx as L, p as H, c6 as Ci, c2 as ve, a5 as ri, B as vi, d as Qe, a as kt, T as et, cj as us, b1 as Cn, H as ut, r as li, q as Yt, aS as vn, a1 as Wt, S as pa, cd as ke, ch as le, l as bt, co as bh, c7 as ti, c9 as Ut, N as Y, k as Ge, F as ne, cs as Hd, D as de, bS as yh, I as Wr, bx as qi, bF as We, E as un, i as na, z as Wn, ca as yc, aT as no, m as fs, b7 as ft, b_ as Un, a2 as oo, A as so, cc as ba, bw as ro, bJ as Sh, bY as xh, b4 as Pa, R as Ch, ba as zr, bh as qd, bu as vh, bi as Fh, bW as jn, bX as ms, bq as Lh, ci as er, c0 as Ah, b5 as Th, br as Bh, a3 as ce, U as wh, n as _i, bL as Gd, bl as Xd, bz as Hr, bA as Ih, Q as kh, P as Sc, bB as Yd, bt as Dh, bf as gs, bs as Nh, bv as Oh, bd as $h, bg as hs, X as Fn, aD as zo, V as lo, by as Mh, cf as Ud, J as qr, O as Re, cn as je, cb as jd, af as Gr, ah as _d, aq as Xr, ar as Qd, ag as ps, cy as qe, cz as _n, cl as Ho, aP as Kd, bR as Qi, M as bs, L as Ph, ac as co, az as Zd, an as Yr, ap as Jd, ao as eu, _ as tu, K as iu, c4 as qo, b6 as fn, v as Ur, aW as au, a4 as Rh, G as Vh, bC as Eh, c8 as xc, c1 as Ao, x as Rn, g as Wh, cm as zh, C as Hh, cp as qh, h as Gh } from "../../chunks/interfaces.js";
|
|
18
18
|
import { A as ie, C as tr, L as Mo, d as Po, e as Ro, S as Vo, V as Vn, b as Cc, E as To, a as Xh } from "../../chunks/index2.js";
|
|
19
19
|
import "@arcgis/core/core/promiseUtils.js";
|
|
20
20
|
import Yh from "@arcgis/core/request.js";
|
|
@@ -24,7 +24,7 @@ import "@arcgis/core/rest/support/Query.js";
|
|
|
24
24
|
import "@arcgis/core/rest/support/StatisticDefinition.js";
|
|
25
25
|
import "@arcgis/core/time/TimeExtent.js";
|
|
26
26
|
import { d as uo, h as nu, l as ou, g as su, c as Uh } from "../../chunks/index3.js";
|
|
27
|
-
import { b as Go, d as sn, c as ru, q as lu, s as ir, t as jh, r as _h, h as
|
|
27
|
+
import { b as Go, d as sn, c as ru, q as lu, s as ir, t as jh, r as _h, h as Ni, u as ys } from "../../chunks/index4.js";
|
|
28
28
|
import { extent as Qh, mean as Kh, max as Zh, min as Jh, sum as ep, rollup as tp, range as ip } from "d3-array";
|
|
29
29
|
import * as ap from "@arcgis/core/renderers/support/jsonUtils.js";
|
|
30
30
|
import * as ar from "@arcgis/core/symbols/support/symbolUtils.js";
|
|
@@ -41,11 +41,11 @@ import { linearRegression as fp, linearRegressionLine as mp, rSquared as gp } fr
|
|
|
41
41
|
import { v5 as Xo } from "uuid";
|
|
42
42
|
import hp from "@amcharts/amcharts5/themes/Animated.js";
|
|
43
43
|
import pp from "@amcharts/amcharts5/themes/Responsive.js";
|
|
44
|
-
import { LineSeriesDataItem as Ba, DateAxis as Ye, ValueAxis as De, CategoryAxis as Ct, CategoryAxisDataItem as mn, DateAxisDataItem as Ss, XYChart as fe, PieChart as Ne, AxisFill as bp, AxisFillCircular as yp, LineSeries as ye, ColumnSeries as Ze, PieSeries as ci, GaugeChart as Ot, XYCursor as cu, XYSeries as
|
|
44
|
+
import { LineSeriesDataItem as Ba, DateAxis as Ye, ValueAxis as De, CategoryAxis as Ct, CategoryAxisDataItem as mn, DateAxisDataItem as Ss, XYChart as fe, PieChart as Ne, AxisFill as bp, AxisFillCircular as yp, LineSeries as ye, ColumnSeries as Ze, PieSeries as ci, GaugeChart as Ot, XYCursor as cu, XYSeries as Ki, SerialChart as du, Cursor as Sp, AxisLabel as jr, ColumnSeriesDataItem as fo, CandlestickSeries as nt, StepLineSeries as Ht, LegendDataItem as wa, CandlestickSeriesDataItem as xp, PieSeriesDataItem as Pi, Legend as Cp, Series as vp, AxisRendererX as Kt, AxisRendererCircular as xs, AxisLabelCircular as _r, ValueAxisDataItem as Qr, AxisRendererY as gn, ClockHand as Fp } from "@amcharts/amcharts4/charts.js";
|
|
45
45
|
import { Exporting as Lp } from "@amcharts/amcharts5/plugins/exporting.js";
|
|
46
46
|
import { isLight as Eo } from "@amcharts/amcharts5/.internal/core/util/Utils.js";
|
|
47
47
|
import { curveLinearClosed as Ap, curveLinear as Tp, curveCardinal as Bp, curveBumpY as wp, curveBumpX as Ip } from "d3-shape";
|
|
48
|
-
import { DateFormatter as uu, NumberFormatter as fu, Group as kp, Color as Yo, percent as ht, LinePattern as mu, RectPattern as gu, color as Cs, MouseCursorStyle as
|
|
48
|
+
import { DateFormatter as uu, NumberFormatter as fu, Group as kp, Color as Yo, percent as ht, LinePattern as mu, RectPattern as gu, color as Cs, MouseCursorStyle as hi, Label as Qn, DropShadowFilter as Dp, Sprite as Kr, utils as hu, Polygon as pu, Container as Zr, Tooltip as bu, RoundedRectangle as Np, Percent as Uo, Slice as yu, options as zn, useTheme as Op, unuseTheme as $p, create as Jr } from "@amcharts/amcharts4/core.js";
|
|
49
49
|
import Ac from "@amcharts/amcharts4/themes/animated.js";
|
|
50
50
|
import "@amcharts/amcharts4/.internal/charts/axes/Axis.js";
|
|
51
51
|
import { isLight as Mp } from "@amcharts/amcharts4/.internal/core/utils/Colors.js";
|
|
@@ -55,10 +55,10 @@ import { f as Pp } from "../../chunks/interfaces2.js";
|
|
|
55
55
|
import { i as wc, a as Rp, b as Vp } from "../../chunks/type-guards.js";
|
|
56
56
|
import { u as Ep, o as Wp } from "../../chunks/action-bar-utils.js";
|
|
57
57
|
import { n as Ic } from "../../chunks/chart-ui-utils2.js";
|
|
58
|
-
import * as
|
|
58
|
+
import * as Ui from "@arcgis/core/core/reactiveUtils.js";
|
|
59
59
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
60
60
|
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
61
|
-
v4.34.0-next.
|
|
61
|
+
v4.34.0-next.128 */
|
|
62
62
|
var Bo = { exports: {} }, or, kc;
|
|
63
63
|
function zp() {
|
|
64
64
|
if (kc) return or;
|
|
@@ -210,7 +210,7 @@ function Hp() {
|
|
|
210
210
|
return Bo.exports = e, Bo.exports.promise = n, Bo.exports;
|
|
211
211
|
}
|
|
212
212
|
var qp = Hp();
|
|
213
|
-
const
|
|
213
|
+
const ma = {
|
|
214
214
|
Show: "show",
|
|
215
215
|
Hide: "hide",
|
|
216
216
|
NotifyPanel: "notifyPanel",
|
|
@@ -224,7 +224,7 @@ async function Ia(t, e) {
|
|
|
224
224
|
function jt(t) {
|
|
225
225
|
return t.axes?.[0]?.valueFormat?.type;
|
|
226
226
|
}
|
|
227
|
-
function
|
|
227
|
+
function Ri(t) {
|
|
228
228
|
return t.intlOptions;
|
|
229
229
|
}
|
|
230
230
|
function Oe(t) {
|
|
@@ -330,7 +330,7 @@ function hr(t, e) {
|
|
|
330
330
|
function eb(t) {
|
|
331
331
|
const { chartConfig: e, queryObject: i, chartData: a } = t;
|
|
332
332
|
let n = [];
|
|
333
|
-
const o = H(e.series), s =
|
|
333
|
+
const o = H(e.series), s = Ci(e), r = ve(i), l = e.chartRenderer ?? r?.renderer?.toJSON();
|
|
334
334
|
return n = e.series.map((c, d) => {
|
|
335
335
|
const u = z([c]);
|
|
336
336
|
let f;
|
|
@@ -353,7 +353,7 @@ function tb(t) {
|
|
|
353
353
|
function ze(t) {
|
|
354
354
|
return t && "showMean" in t && typeof t.showMean == "boolean" ? t.showMean : !1;
|
|
355
355
|
}
|
|
356
|
-
function
|
|
356
|
+
function Gi(t) {
|
|
357
357
|
return t && "showOutliers" in t && typeof t.showOutliers == "boolean" ? t.showOutliers : void 0;
|
|
358
358
|
}
|
|
359
359
|
function jo() {
|
|
@@ -382,7 +382,7 @@ function qt(t) {
|
|
|
382
382
|
}
|
|
383
383
|
return r;
|
|
384
384
|
}
|
|
385
|
-
function
|
|
385
|
+
function Si(t) {
|
|
386
386
|
return t?.[w.typeOrDomainIdValue] !== void 0 ? t?.[w.typeOrDomainIdValue] : t?.[w.originalCategoryValue];
|
|
387
387
|
}
|
|
388
388
|
function _o(t) {
|
|
@@ -465,7 +465,7 @@ function pr(t) {
|
|
|
465
465
|
function nb(t, e) {
|
|
466
466
|
let i = t;
|
|
467
467
|
const a = z(e);
|
|
468
|
-
let n =
|
|
468
|
+
let n = vi(i);
|
|
469
469
|
if (n !== void 0)
|
|
470
470
|
switch (a) {
|
|
471
471
|
case y.ComboLineAndBarSeries:
|
|
@@ -607,7 +607,7 @@ function db(t) {
|
|
|
607
607
|
function ub(t) {
|
|
608
608
|
const { oldConfig: e, newConfig: i, behaviorAfterLimit: a } = t, n = e.series, o = i.series;
|
|
609
609
|
let s = !1, r = !1;
|
|
610
|
-
(a === Cn.RenderUpToTheLimit || e.orderOptions?.data === void 0 || i.orderOptions?.data === void 0) && (r = !
|
|
610
|
+
(a === Cn.RenderUpToTheLimit || e.orderOptions?.data === void 0 || i.orderOptions?.data === void 0) && (r = !yi(e.orderOptions?.orderByFields, i.orderOptions?.orderByFields));
|
|
611
611
|
const l = bc(
|
|
612
612
|
n.map((d) => d.query),
|
|
613
613
|
["where", "outStatistics[0].outStatisticFieldName", "outStatistics[0].onStatisticField"]
|
|
@@ -615,7 +615,7 @@ function ub(t) {
|
|
|
615
615
|
o.map((d) => d.query),
|
|
616
616
|
["where", "outStatistics[0].outStatisticFieldName", "outStatistics[0].onStatisticField"]
|
|
617
617
|
);
|
|
618
|
-
return s = !
|
|
618
|
+
return s = !yi(l, c), s || r;
|
|
619
619
|
}
|
|
620
620
|
function fb(t, e) {
|
|
621
621
|
let i = !1;
|
|
@@ -636,7 +636,7 @@ function mb(t, e) {
|
|
|
636
636
|
function gb(t) {
|
|
637
637
|
const { currentSelectionOIDs: e, options: i } = t;
|
|
638
638
|
let a = !1;
|
|
639
|
-
return i?.filterBySelection === !0 && (a = !
|
|
639
|
+
return i?.filterBySelection === !0 && (a = !yi(e, i?.selectionData?.selectionOIDs)), a;
|
|
640
640
|
}
|
|
641
641
|
function hb(t, e) {
|
|
642
642
|
return JSON.stringify(t.dataFilters) !== JSON.stringify(e.dataFilters);
|
|
@@ -832,7 +832,7 @@ function Ls(t) {
|
|
|
832
832
|
}
|
|
833
833
|
return e;
|
|
834
834
|
}
|
|
835
|
-
const
|
|
835
|
+
const Fi = {
|
|
836
836
|
DataProcessComplete: "arcgisChartsJSDataProcessComplete",
|
|
837
837
|
DataFetchComplete: "arcgisChartsJSDataFetchComplete",
|
|
838
838
|
LegendItemVisibilityChange: "arcgisChartsJSLegendItemVisibilityChange",
|
|
@@ -845,7 +845,7 @@ const vi = {
|
|
|
845
845
|
BadDataWarningRaise: "arcgisChartsJSBadDataWarningRaise",
|
|
846
846
|
SeriesOrder: "arcgisChartsJSSeriesOrder"
|
|
847
847
|
};
|
|
848
|
-
function
|
|
848
|
+
function Li(t) {
|
|
849
849
|
return {
|
|
850
850
|
detail: t,
|
|
851
851
|
composed: !0,
|
|
@@ -853,12 +853,12 @@ function Fi(t) {
|
|
|
853
853
|
bubbles: !0
|
|
854
854
|
};
|
|
855
855
|
}
|
|
856
|
-
function
|
|
856
|
+
function Zi(t) {
|
|
857
857
|
const { data: e, seriesConfig: i, htmlContainer: a } = t;
|
|
858
858
|
if (a && e) {
|
|
859
859
|
const n = el({ data: e, seriesConfig: i });
|
|
860
860
|
a.dispatchEvent(
|
|
861
|
-
new window.CustomEvent(
|
|
861
|
+
new window.CustomEvent(Fi.DataProcessComplete, Li(n))
|
|
862
862
|
);
|
|
863
863
|
}
|
|
864
864
|
}
|
|
@@ -866,37 +866,37 @@ function Au(t) {
|
|
|
866
866
|
const { data: e, chartConfig: i, htmlContainer: a } = t;
|
|
867
867
|
if (a && e) {
|
|
868
868
|
const n = kS(e, i);
|
|
869
|
-
a.dispatchEvent(new window.CustomEvent(
|
|
869
|
+
a.dispatchEvent(new window.CustomEvent(Fi.DataFetchComplete, Li(n)));
|
|
870
870
|
}
|
|
871
871
|
}
|
|
872
872
|
function Tu(t, e) {
|
|
873
873
|
e && e.dispatchEvent(
|
|
874
|
-
new window.CustomEvent(
|
|
874
|
+
new window.CustomEvent(Fi.LegendItemVisibilityChange, Li(t))
|
|
875
875
|
);
|
|
876
876
|
}
|
|
877
877
|
function Da(t, e) {
|
|
878
|
-
e && e.dispatchEvent(new window.CustomEvent(
|
|
878
|
+
e && e.dispatchEvent(new window.CustomEvent(Fi.UpdateComplete, Li(t)));
|
|
879
879
|
}
|
|
880
880
|
function An(t) {
|
|
881
|
-
t && t.dispatchEvent(new window.CustomEvent(
|
|
881
|
+
t && t.dispatchEvent(new window.CustomEvent(Fi.RenderingComplete, Li()));
|
|
882
882
|
}
|
|
883
883
|
function Tn(t) {
|
|
884
884
|
const { data: e, seriesConfig: i, htmlContainer: a } = t;
|
|
885
885
|
if (a) {
|
|
886
886
|
const n = e;
|
|
887
887
|
let o = Me(e.selectionItems);
|
|
888
|
-
o && (o = vu(o, i), o = o.map(pr), o = Cu(o, i), n.selectionItems = o), a.dispatchEvent(new window.CustomEvent(
|
|
888
|
+
o && (o = vu(o, i), o = o.map(pr), o = Cu(o, i), n.selectionItems = o), a.dispatchEvent(new window.CustomEvent(Fi.SelectionComplete, Li(n)));
|
|
889
889
|
}
|
|
890
890
|
}
|
|
891
891
|
function Bu(t) {
|
|
892
|
-
t && t.dispatchEvent(new window.CustomEvent(
|
|
892
|
+
t && t.dispatchEvent(new window.CustomEvent(Fi.TooManySelectedElements, Li()));
|
|
893
893
|
}
|
|
894
894
|
function ni(t) {
|
|
895
895
|
const { data: e, htmlContainer: i, chartId: a, colorMatchApplied: n } = t;
|
|
896
896
|
i && i.dispatchEvent(
|
|
897
897
|
new window.CustomEvent(
|
|
898
|
-
|
|
899
|
-
|
|
898
|
+
Fi.SeriesColorsChange,
|
|
899
|
+
Li({
|
|
900
900
|
chartId: a,
|
|
901
901
|
data: e,
|
|
902
902
|
colorMatchApplied: n
|
|
@@ -905,14 +905,14 @@ function ni(t) {
|
|
|
905
905
|
);
|
|
906
906
|
}
|
|
907
907
|
function wu(t, e) {
|
|
908
|
-
e && e.dispatchEvent(new window.CustomEvent(
|
|
908
|
+
e && e.dispatchEvent(new window.CustomEvent(Fi.AxesMinMaxChange, Li(t)));
|
|
909
909
|
}
|
|
910
910
|
function Iu(t, e) {
|
|
911
|
-
e && e.dispatchEvent(new window.CustomEvent(
|
|
911
|
+
e && e.dispatchEvent(new window.CustomEvent(Fi.BadDataWarningRaise, Li(t)));
|
|
912
912
|
}
|
|
913
913
|
function Lb(t) {
|
|
914
914
|
const { data: e, htmlContainer: i } = t;
|
|
915
|
-
i && e && i.dispatchEvent(new window.CustomEvent(
|
|
915
|
+
i && e && i.dispatchEvent(new window.CustomEvent(Fi.SeriesOrder, Li(e)));
|
|
916
916
|
}
|
|
917
917
|
function ku(t, e) {
|
|
918
918
|
let i, a, n, o;
|
|
@@ -1510,7 +1510,7 @@ async function Xb(t) {
|
|
|
1510
1510
|
outFields: F
|
|
1511
1511
|
};
|
|
1512
1512
|
m.push(
|
|
1513
|
-
|
|
1513
|
+
qi({
|
|
1514
1514
|
queryObject: n,
|
|
1515
1515
|
queryConfig: A,
|
|
1516
1516
|
featureCount: 1,
|
|
@@ -1582,7 +1582,7 @@ async function Xb(t) {
|
|
|
1582
1582
|
async function Yb(t) {
|
|
1583
1583
|
const { data: e, queryObject: i, uniqueQuery: a, elementCount: n, chartConfig: o, chartLimits: s, abortKey: r } = t;
|
|
1584
1584
|
let l = [];
|
|
1585
|
-
const { series: c, showMean: d } = o, u = Wr({ showMean: d, seriesConfig: c }), f = H(c), m =
|
|
1585
|
+
const { series: c, showMean: d } = o, u = Wr({ showMean: d, seriesConfig: c }), f = H(c), m = na(o), { x: g } = m, p = Ge(m.query?.where), b = [];
|
|
1586
1586
|
for (let x = 0; x < u.length; x += 1) {
|
|
1587
1587
|
const C = u[x], { dataWithoutOutliersFilterBatches: v } = Pu({
|
|
1588
1588
|
data: e,
|
|
@@ -1649,7 +1649,7 @@ async function Ub(t) {
|
|
|
1649
1649
|
);
|
|
1650
1650
|
}
|
|
1651
1651
|
d.outStatistics = u;
|
|
1652
|
-
const f = await
|
|
1652
|
+
const f = await qi({
|
|
1653
1653
|
queryObject: e,
|
|
1654
1654
|
queryConfig: d,
|
|
1655
1655
|
featureCount: 1,
|
|
@@ -1670,7 +1670,7 @@ function jb(t) {
|
|
|
1670
1670
|
});
|
|
1671
1671
|
}
|
|
1672
1672
|
function Ru(t) {
|
|
1673
|
-
const { chartConfig: e, data: i, calculateZScore: a = !1, meanAndStdDevPerField: n } = t, { series: o, showMean: s } = e, r =
|
|
1673
|
+
const { chartConfig: e, data: i, calculateZScore: a = !1, meanAndStdDevPerField: n } = t, { series: o, showMean: s } = e, r = na(e), l = H(e.series), { x: c } = r, d = Wr({ showMean: s, seriesConfig: o });
|
|
1674
1674
|
let u = i;
|
|
1675
1675
|
if ((r.type === y.LineSeries || r.type === y.BoxPlotSeries) && i?.[0] !== void 0) {
|
|
1676
1676
|
const f = Ge(r.query?.where);
|
|
@@ -1765,7 +1765,7 @@ async function _b(t) {
|
|
|
1765
1765
|
return { dataItems: c, outliers: d };
|
|
1766
1766
|
}
|
|
1767
1767
|
function Qb() {
|
|
1768
|
-
const t =
|
|
1768
|
+
const t = Di.now().offset / 60;
|
|
1769
1769
|
return t !== 0 ? `${t > 0 ? "+" : "-"}INTERVAL '${Math.abs(t) - 1}:59:59' HOUR TO SECOND` : "";
|
|
1770
1770
|
}
|
|
1771
1771
|
function Kb(t, e) {
|
|
@@ -1933,7 +1933,7 @@ function Vu(t) {
|
|
|
1933
1933
|
}
|
|
1934
1934
|
}
|
|
1935
1935
|
async function Bs(t) {
|
|
1936
|
-
const { chartConfig: e, queryConfig: i, options: a, queryObject: n, timeIntervalInfo: o, fetchFullBoxPlotData: s } = t, { setTimeBinningInfoWhenNotProvided: r, returnFeaturesExtent: l } = a ?? {}, c = e.series, d = H(c), u =
|
|
1936
|
+
const { chartConfig: e, queryConfig: i, options: a, queryObject: n, timeIntervalInfo: o, fetchFullBoxPlotData: s } = t, { setTimeBinningInfoWhenNotProvided: r, returnFeaturesExtent: l } = a ?? {}, c = e.series, d = H(c), u = na(e), { query: f, x: m } = u, g = "y" in u ? u.y : void 0, p = Yt({
|
|
1937
1937
|
xAxisValueFormatType: jt(e),
|
|
1938
1938
|
setTimeBinningInfoWhenNotProvided: r,
|
|
1939
1939
|
seriesConfig: u
|
|
@@ -2005,7 +2005,7 @@ async function Bs(t) {
|
|
|
2005
2005
|
return T !== void 0 && (A.gdbVersion = T), k !== void 0 && (A.geometry = k), D !== void 0 && (A.distance = D), N !== void 0 && (A.units = N), R !== void 0 && (A.timeExtent = R), P !== void 0 && (A.objectIds = P), V !== void 0 && (A.spatialRelationship = V), $ !== void 0 && (A.where = We([A.where, $])), { uniqueQuery: A, mapToStatField: b };
|
|
2006
2006
|
}
|
|
2007
2007
|
async function sy(t) {
|
|
2008
|
-
const { queryObject: e, queryConfig: i, chartConfig: a, abortKey: n } = t, o = a.series[0], { x: s, valueConversion: r } = o, l = so(a), c = await
|
|
2008
|
+
const { queryObject: e, queryConfig: i, chartConfig: a, abortKey: n } = t, o = a.series[0], { x: s, valueConversion: r } = o, l = so(a), c = await qi({
|
|
2009
2009
|
queryObject: e,
|
|
2010
2010
|
queryConfig: i,
|
|
2011
2011
|
featureCount: i.num ?? 1,
|
|
@@ -2343,7 +2343,7 @@ async function xy(t) {
|
|
|
2343
2343
|
};
|
|
2344
2344
|
return {
|
|
2345
2345
|
valid: !0,
|
|
2346
|
-
data: { dataItems: (await
|
|
2346
|
+
data: { dataItems: (await qi({
|
|
2347
2347
|
queryObject: e,
|
|
2348
2348
|
queryConfig: r
|
|
2349
2349
|
})).map((d) => ({
|
|
@@ -2424,7 +2424,7 @@ function Ly(t) {
|
|
|
2424
2424
|
}
|
|
2425
2425
|
async function Ay(t) {
|
|
2426
2426
|
const { chartConfig: e, queryConfig: i, queryObject: a, xMin: n, xMax: o, yMin: s, yMax: r, abortKey: l } = t, c = e.series[0], { x: d, y: u } = c, f = { ...i };
|
|
2427
|
-
return f.where = We([f.where, `${d}>=${n}`, `${d}<=${o}`]), d !== u && (f.where = We([f.where, `${u}>=${s}`, `${u}<=${r}`])), await
|
|
2427
|
+
return f.where = We([f.where, `${d}>=${n}`, `${d}<=${o}`]), d !== u && (f.where = We([f.where, `${u}>=${s}`, `${u}<=${r}`])), await qi({
|
|
2428
2428
|
queryObject: a,
|
|
2429
2429
|
queryConfig: f,
|
|
2430
2430
|
noBatch: !0,
|
|
@@ -2758,7 +2758,7 @@ async function Py(t) {
|
|
|
2758
2758
|
orderByFields: [`${r} ${Jt.Ascending}`],
|
|
2759
2759
|
outFields: m
|
|
2760
2760
|
};
|
|
2761
|
-
return d = await
|
|
2761
|
+
return d = await qi({
|
|
2762
2762
|
queryObject: e,
|
|
2763
2763
|
queryConfig: g,
|
|
2764
2764
|
featureCount: n,
|
|
@@ -2872,7 +2872,7 @@ function rl(t) {
|
|
|
2872
2872
|
!o.includes(g) && !g.includes(w.rendererSymbolField) && (m[g] = u[g]);
|
|
2873
2873
|
}), d.push(m), d;
|
|
2874
2874
|
}, r = (d, u) => JSON.stringify(d).localeCompare(JSON.stringify(u)), l = e?.reduce(s, [])?.sort(r), c = i?.reduce(s, [])?.sort(r);
|
|
2875
|
-
n = !
|
|
2875
|
+
n = !yi(l, c);
|
|
2876
2876
|
}
|
|
2877
2877
|
return n;
|
|
2878
2878
|
}
|
|
@@ -2889,7 +2889,7 @@ function Vy(t) {
|
|
|
2889
2889
|
const c = Ge(s[0].query?.where);
|
|
2890
2890
|
o = go({ data: o, x: s[0].x, splitByField: c });
|
|
2891
2891
|
}
|
|
2892
|
-
|
|
2892
|
+
Xi({
|
|
2893
2893
|
arrayToSort: o,
|
|
2894
2894
|
chartConfig: e
|
|
2895
2895
|
});
|
|
@@ -2919,8 +2919,8 @@ function Ey(t) {
|
|
|
2919
2919
|
}
|
|
2920
2920
|
} else
|
|
2921
2921
|
o = We([
|
|
2922
|
-
|
|
2923
|
-
a !== void 0 ?
|
|
2922
|
+
_i({ where: Fa(i, e[i]) }),
|
|
2923
|
+
a !== void 0 ? _i({ where: Fa(a, e[a]) }) : ""
|
|
2924
2924
|
]);
|
|
2925
2925
|
return o;
|
|
2926
2926
|
}
|
|
@@ -2953,15 +2953,15 @@ function Yu(t) {
|
|
|
2953
2953
|
keepNullValues: !0,
|
|
2954
2954
|
specificField: w.typeOrDomainIdValue
|
|
2955
2955
|
});
|
|
2956
|
-
o === rs.Double ? r = Xu(u, e) : (vt(s.axes?.[0].valueFormat) && (u = hn(u)), r =
|
|
2956
|
+
o === rs.Double ? r = Xu(u, e) : (vt(s.axes?.[0].valueFormat) && (u = hn(u)), r = _i({
|
|
2957
2957
|
where: Fa(e, u),
|
|
2958
2958
|
normalize: !1,
|
|
2959
2959
|
escape: !0
|
|
2960
2960
|
}));
|
|
2961
2961
|
}
|
|
2962
|
-
const l =
|
|
2962
|
+
const l = _i({ where: a ?? "", normalize: !1, escape: !0 });
|
|
2963
2963
|
let c = "";
|
|
2964
|
-
if (
|
|
2964
|
+
if (Gi(s) === !0) {
|
|
2965
2965
|
const u = H(s.series) === L.BoxPlotMultiFieldsAndCategory ? i : void 0, f = ne({
|
|
2966
2966
|
key: Y.Min,
|
|
2967
2967
|
showOutliers: !0,
|
|
@@ -2992,19 +2992,19 @@ function Wy(t) {
|
|
|
2992
2992
|
keepNullValues: !0,
|
|
2993
2993
|
specificField: w.typeOrDomainIdValue
|
|
2994
2994
|
});
|
|
2995
|
-
n === rs.Double ? s = Xu(c, e) : (vt(o.axes?.[0].valueFormat) && (c = hn(c)), s =
|
|
2995
|
+
n === rs.Double ? s = Xu(c, e) : (vt(o.axes?.[0].valueFormat) && (c = hn(c)), s = _i({
|
|
2996
2996
|
where: Fa(e, c),
|
|
2997
2997
|
normalize: !1,
|
|
2998
2998
|
escape: !0
|
|
2999
2999
|
}));
|
|
3000
3000
|
}
|
|
3001
|
-
const r =
|
|
3001
|
+
const r = _i({ where: i ?? "", normalize: !1, escape: !0 });
|
|
3002
3002
|
return We([s, r]);
|
|
3003
3003
|
}
|
|
3004
3004
|
function zy(t) {
|
|
3005
3005
|
const { xAxisField: e, dataContext: i, chartConfig: a } = t;
|
|
3006
3006
|
let n = w.typeOrDomainIdValue in i ? i[w.typeOrDomainIdValue] : i[w.originalCategoryValue];
|
|
3007
|
-
return n === void 0 && (n = i[e]), H(a.series) === L.PieFromFields ? "" :
|
|
3007
|
+
return n === void 0 && (n = i[e]), H(a.series) === L.PieFromFields ? "" : _i({
|
|
3008
3008
|
where: Fa(e, n),
|
|
3009
3009
|
normalize: !1,
|
|
3010
3010
|
escape: !0
|
|
@@ -3026,7 +3026,7 @@ function Hy(t) {
|
|
|
3026
3026
|
if (o.type === y.HeatSeries) {
|
|
3027
3027
|
let r, l;
|
|
3028
3028
|
const c = a[ce.xField], d = a[ce.yField], u = n.axes?.[0]?.valueFormat?.type, f = n.axes?.[1]?.valueFormat?.type;
|
|
3029
|
-
u === y.CategoryAxisFormat ? r =
|
|
3029
|
+
u === y.CategoryAxisFormat ? r = _i({
|
|
3030
3030
|
where: Fa(o.x, c),
|
|
3031
3031
|
normalize: !1,
|
|
3032
3032
|
escape: !0
|
|
@@ -3035,7 +3035,7 @@ function Hy(t) {
|
|
|
3035
3035
|
fieldType: e,
|
|
3036
3036
|
fieldValue: c,
|
|
3037
3037
|
unit: o.xTemporalBinning?.unit
|
|
3038
|
-
}), f === y.CategoryAxisFormat ? l =
|
|
3038
|
+
}), f === y.CategoryAxisFormat ? l = _i({
|
|
3039
3039
|
where: Fa(o.y, d),
|
|
3040
3040
|
normalize: !1,
|
|
3041
3041
|
escape: !0
|
|
@@ -3093,7 +3093,7 @@ async function Gy(t) {
|
|
|
3093
3093
|
const { queryObject: e, queryConfig: i, chartConfig: a, currentSelectionDataItems: n, options: o, errorStrings: s, abortKey: r } = t, l = H(a.series);
|
|
3094
3094
|
let c = { valid: !0, data: { dataItems: [] } };
|
|
3095
3095
|
if (n !== void 0 && n.length > 0) {
|
|
3096
|
-
const d =
|
|
3096
|
+
const d = na(a), { x: u } = d, f = "y" in d ? d.y : "";
|
|
3097
3097
|
let m;
|
|
3098
3098
|
e !== void 0 && (m = (await ft(e)).find((v) => v.name === u)?.type);
|
|
3099
3099
|
const g = [], p = n.reduce(
|
|
@@ -3240,7 +3240,7 @@ async function Xy(t) {
|
|
|
3240
3240
|
break;
|
|
3241
3241
|
}
|
|
3242
3242
|
}
|
|
3243
|
-
return m && u.data !== void 0 &&
|
|
3243
|
+
return m && u.data !== void 0 && Xi({
|
|
3244
3244
|
arrayToSort: "dataItems" in u.data ? u.data.dataItems : u.data,
|
|
3245
3245
|
chartConfig: a
|
|
3246
3246
|
}), u;
|
|
@@ -3389,7 +3389,7 @@ async function jy(t) {
|
|
|
3389
3389
|
outFields: [f]
|
|
3390
3390
|
};
|
|
3391
3391
|
delete m.outStatistics, delete m.orderByFields, delete m.groupByFieldsForStatistics;
|
|
3392
|
-
const p = (await
|
|
3392
|
+
const p = (await qi({
|
|
3393
3393
|
queryObject: n,
|
|
3394
3394
|
queryConfig: m,
|
|
3395
3395
|
featureCount: o,
|
|
@@ -3433,18 +3433,18 @@ function La(t) {
|
|
|
3433
3433
|
const o = a === "next" ? n : -n;
|
|
3434
3434
|
switch (i) {
|
|
3435
3435
|
case _.Second:
|
|
3436
|
-
return
|
|
3436
|
+
return Di.fromMillis(e).plus({ seconds: o }).valueOf();
|
|
3437
3437
|
case _.Minute:
|
|
3438
|
-
return
|
|
3438
|
+
return Di.fromMillis(e).plus({ minutes: o }).valueOf();
|
|
3439
3439
|
case _.Hour:
|
|
3440
|
-
return
|
|
3440
|
+
return Di.fromMillis(e).plus({ hours: o }).valueOf();
|
|
3441
3441
|
case _.Week:
|
|
3442
3442
|
case _.Day:
|
|
3443
|
-
return
|
|
3443
|
+
return Di.fromMillis(e).plus({ days: o }).valueOf();
|
|
3444
3444
|
case _.Month:
|
|
3445
|
-
return
|
|
3445
|
+
return Di.fromMillis(e).plus({ months: o }).valueOf();
|
|
3446
3446
|
case _.Year:
|
|
3447
|
-
return
|
|
3447
|
+
return Di.fromMillis(e).plus({ years: o }).valueOf();
|
|
3448
3448
|
}
|
|
3449
3449
|
}
|
|
3450
3450
|
return e;
|
|
@@ -3585,7 +3585,7 @@ function Qu(t) {
|
|
|
3585
3585
|
let s = 0, r = 0;
|
|
3586
3586
|
if (n !== void 0 && Number.isFinite(n) && Number.isFinite(e) && Number.isFinite(i)) {
|
|
3587
3587
|
let l = -1;
|
|
3588
|
-
const c =
|
|
3588
|
+
const c = Di.fromMillis(e), d = Di.fromMillis(i);
|
|
3589
3589
|
switch (o) {
|
|
3590
3590
|
case _.Second:
|
|
3591
3591
|
l = d.diff(c, "seconds").get("seconds");
|
|
@@ -3793,7 +3793,7 @@ function* sS(t) {
|
|
|
3793
3793
|
outStatistics: u,
|
|
3794
3794
|
orderByFields: void 0
|
|
3795
3795
|
};
|
|
3796
|
-
yield
|
|
3796
|
+
yield qi({
|
|
3797
3797
|
queryObject: e,
|
|
3798
3798
|
queryConfig: m,
|
|
3799
3799
|
noBatch: !0
|
|
@@ -3944,7 +3944,7 @@ function mS(t) {
|
|
|
3944
3944
|
const a = t[`EXPR_${i}`] ?? t[`Expr${i}`] ?? t[`expr${i}`] ?? t[`EXPR${i}`];
|
|
3945
3945
|
a !== null && e.push(a);
|
|
3946
3946
|
}
|
|
3947
|
-
return
|
|
3947
|
+
return Di.local(
|
|
3948
3948
|
Number(e[0] ?? 1969),
|
|
3949
3949
|
Number(e[1] ?? 1),
|
|
3950
3950
|
Number(e[2] ?? 1),
|
|
@@ -4156,7 +4156,7 @@ async function ws(t) {
|
|
|
4156
4156
|
usePopupTemplateFieldsInfo: d
|
|
4157
4157
|
} = t, { series: u } = a, f = H(u);
|
|
4158
4158
|
let m = [];
|
|
4159
|
-
const g = f === L.BarAndLineSplitBy || f === L.BarAndLineSplitByNoAggregation ? Ge(u[0].query?.where) : "", p = await
|
|
4159
|
+
const g = f === L.BarAndLineSplitBy || f === L.BarAndLineSplitByNoAggregation ? Ge(u[0].query?.where) : "", p = await qi({
|
|
4160
4160
|
queryObject: e,
|
|
4161
4161
|
queryConfig: i,
|
|
4162
4162
|
featureCount: s,
|
|
@@ -4191,7 +4191,7 @@ async function ef(t) {
|
|
|
4191
4191
|
}
|
|
4192
4192
|
return o === Cn.RenderUpToTheLimit && f !== void 0 && n !== void 0 && n < f && (f = n, u = Math.ceil(f / d)), { categoryOrDateCount: u, elementCount: f };
|
|
4193
4193
|
}
|
|
4194
|
-
function
|
|
4194
|
+
function Xi(t) {
|
|
4195
4195
|
const { arrayToSort: e, chartConfig: i, fieldList: a, isTimeBinningSeries: n } = t;
|
|
4196
4196
|
if (n !== !0) {
|
|
4197
4197
|
const { series: o } = i, s = H(o), r = z(o), l = jt(i), c = yr(i);
|
|
@@ -4304,7 +4304,7 @@ async function xr(t) {
|
|
|
4304
4304
|
chartType: C,
|
|
4305
4305
|
chartLimits: c
|
|
4306
4306
|
}), D)) {
|
|
4307
|
-
u && (g = _y(g, e)),
|
|
4307
|
+
u && (g = _y(g, e)), Xi({ arrayToSort: g, chartConfig: e, fieldList: r });
|
|
4308
4308
|
let N = {};
|
|
4309
4309
|
if (li(S)) {
|
|
4310
4310
|
const { size: R, unit: $ } = S.temporalBinning ?? {};
|
|
@@ -4538,14 +4538,14 @@ async function wS(t) {
|
|
|
4538
4538
|
});
|
|
4539
4539
|
return r && l.data && "dataItems" in l.data && "meanLines" in l.data && l.data.meanLines && (l.data.dataItems = [...l.data.dataItems, ...l.data.meanLines]), l;
|
|
4540
4540
|
}
|
|
4541
|
-
function
|
|
4541
|
+
function Ai(t) {
|
|
4542
4542
|
return t?.[Wt.defaultGroupOfSlicesId] === !0;
|
|
4543
4543
|
}
|
|
4544
4544
|
function IS(t, e) {
|
|
4545
4545
|
const i = t.filter(
|
|
4546
|
-
(a) => !
|
|
4546
|
+
(a) => !Ai(a)
|
|
4547
4547
|
);
|
|
4548
|
-
return !
|
|
4548
|
+
return !yi(i, e);
|
|
4549
4549
|
}
|
|
4550
4550
|
function kS(t, e) {
|
|
4551
4551
|
let i = t.reduce((a, n) => {
|
|
@@ -4558,7 +4558,7 @@ function kS(t, e) {
|
|
|
4558
4558
|
a.push(n);
|
|
4559
4559
|
return a;
|
|
4560
4560
|
}, []);
|
|
4561
|
-
return
|
|
4561
|
+
return Xi({
|
|
4562
4562
|
arrayToSort: i,
|
|
4563
4563
|
chartConfig: e
|
|
4564
4564
|
}), i = el({
|
|
@@ -4610,7 +4610,7 @@ function Tt(t) {
|
|
|
4610
4610
|
function OS(t) {
|
|
4611
4611
|
return t ? t.replace(/[A-Z]/gu, (e) => `-${e.toLowerCase()}`) : void 0;
|
|
4612
4612
|
}
|
|
4613
|
-
const
|
|
4613
|
+
const Oi = {
|
|
4614
4614
|
ChartRenderer: 1,
|
|
4615
4615
|
LayerRenderer: 2
|
|
4616
4616
|
};
|
|
@@ -4620,7 +4620,7 @@ function Na(t) {
|
|
|
4620
4620
|
if (e.chartRenderer)
|
|
4621
4621
|
a = !0;
|
|
4622
4622
|
else {
|
|
4623
|
-
const { series: n } = e, o = z(n), s = H(n), r =
|
|
4623
|
+
const { series: n } = e, o = z(n), s = H(n), r = na(e), l = Yt({
|
|
4624
4624
|
seriesConfig: r
|
|
4625
4625
|
}), d = ve(i)?.renderer;
|
|
4626
4626
|
switch (d?.type) {
|
|
@@ -4672,7 +4672,7 @@ function af(t) {
|
|
|
4672
4672
|
delete i[e];
|
|
4673
4673
|
else {
|
|
4674
4674
|
const s = { ...a };
|
|
4675
|
-
s.color !== void 0 && n ===
|
|
4675
|
+
s.color !== void 0 && n === Oi.LayerRenderer && (s.color[3] = Fn * 255), n === Oi.LayerRenderer && (delete s.style, delete s.outline, delete s.label), i[e] = s, o = !0;
|
|
4676
4676
|
}
|
|
4677
4677
|
return o;
|
|
4678
4678
|
}
|
|
@@ -4786,7 +4786,7 @@ async function gl(t) {
|
|
|
4786
4786
|
rendererOrigin: o
|
|
4787
4787
|
});
|
|
4788
4788
|
u = m.rendererSymbol, f = m.colorMatchApplied;
|
|
4789
|
-
} else if (!
|
|
4789
|
+
} else if (!Ai(i)) {
|
|
4790
4790
|
const { x: m } = e[0], g = /* @__PURE__ */ new Map();
|
|
4791
4791
|
r && r.trim() !== "" ? e.forEach((p) => {
|
|
4792
4792
|
if (p.type === y.BarSeries || p.type === y.LineSeries || p.type === y.BoxPlotSeries || p.type === y.RadarSeries) {
|
|
@@ -4808,7 +4808,7 @@ async function gl(t) {
|
|
|
4808
4808
|
}
|
|
4809
4809
|
}) : g.set(w.rendererSymbolField, {
|
|
4810
4810
|
...i,
|
|
4811
|
-
[m]:
|
|
4811
|
+
[m]: Si(i)
|
|
4812
4812
|
});
|
|
4813
4813
|
try {
|
|
4814
4814
|
const p = Array.from(g.entries()), b = l.clone();
|
|
@@ -4867,13 +4867,13 @@ async function wn(t) {
|
|
|
4867
4867
|
const { data: e, queryObject: i, chartConfig: a, allowColorMatch: n } = t;
|
|
4868
4868
|
let o = !1, s = [];
|
|
4869
4869
|
if (n) {
|
|
4870
|
-
const { series: r, chartRenderer: l } = a, c = VS(l), d = c ?
|
|
4870
|
+
const { series: r, chartRenderer: l } = a, c = VS(l), d = c ? Oi.ChartRenderer : Oi.LayerRenderer, u = i ? ve(i) : void 0, f = c ?? u?.renderer;
|
|
4871
4871
|
let m;
|
|
4872
|
-
u && d ===
|
|
4872
|
+
u && d === Oi.LayerRenderer ? s = await qd(u) : d === Oi.ChartRenderer && (s = WS(f));
|
|
4873
4873
|
const g = ho(c, u?.renderer), p = ml({
|
|
4874
4874
|
chartRenderer: l,
|
|
4875
4875
|
queryObject: i
|
|
4876
|
-
}), b = H(r), S =
|
|
4876
|
+
}), b = H(r), S = na(a), x = Ge(S.query?.where);
|
|
4877
4877
|
m = /* @__PURE__ */ new Map();
|
|
4878
4878
|
for (let C = 0; C < e.length; C += 1) {
|
|
4879
4879
|
const v = e[C], F = await gl({
|
|
@@ -4925,8 +4925,8 @@ function ES(t) {
|
|
|
4925
4925
|
}
|
|
4926
4926
|
function ks(t, e) {
|
|
4927
4927
|
let i = !1;
|
|
4928
|
-
if (t && e && e.length > 0 &&
|
|
4929
|
-
const n = tb(t), o =
|
|
4928
|
+
if (t && e && e.length > 0 && Ci(t)) {
|
|
4929
|
+
const n = tb(t), o = na(t);
|
|
4930
4930
|
n ? i = ES(t).some((r) => e.includes(r)) : i = e.includes(o.x);
|
|
4931
4931
|
}
|
|
4932
4932
|
return i;
|
|
@@ -4954,7 +4954,7 @@ function zS(t) {
|
|
|
4954
4954
|
function HS(t) {
|
|
4955
4955
|
const { chartConfig: e, chartData: i, fieldList: a } = t;
|
|
4956
4956
|
if (e.orderOptions?.data !== void 0) {
|
|
4957
|
-
|
|
4957
|
+
Xi({
|
|
4958
4958
|
arrayToSort: i,
|
|
4959
4959
|
chartConfig: e,
|
|
4960
4960
|
fieldList: a
|
|
@@ -4973,7 +4973,7 @@ function HS(t) {
|
|
|
4973
4973
|
function Ds(t) {
|
|
4974
4974
|
const { data: e, newChartConfig: i, pieSlicesSymbols: a, fieldList: n } = t, o = i.series[0], s = H(i.series) === L.PieFromFields ? Qe : o.x;
|
|
4975
4975
|
e.forEach((r) => {
|
|
4976
|
-
const l =
|
|
4976
|
+
const l = Ai(r), c = r[w.pieChart.technicalFieldSliceId], d = l ? o.sliceGrouping?.label : Zo(a?.slices, c)?.label;
|
|
4977
4977
|
qS({ dataContext: r, x: s, newLabel: d });
|
|
4978
4978
|
}), HS({ chartConfig: i, chartData: e, fieldList: n });
|
|
4979
4979
|
}
|
|
@@ -5034,7 +5034,7 @@ function po(t) {
|
|
|
5034
5034
|
function hl(t) {
|
|
5035
5035
|
const { dataContext: e, pieSlicesSymbols: i, seriesConfig: a } = t;
|
|
5036
5036
|
let n = a.fillSymbol ? { ...a.fillSymbol } : zo();
|
|
5037
|
-
if (
|
|
5037
|
+
if (Ai(e))
|
|
5038
5038
|
n = {
|
|
5039
5039
|
...w.pieChart.sliceGrouping.fillSymbol,
|
|
5040
5040
|
...i?.groupOfSlices?.fillSymbol
|
|
@@ -5156,7 +5156,7 @@ function Aa(t, e) {
|
|
|
5156
5156
|
function In(t, e) {
|
|
5157
5157
|
Ya(t, e);
|
|
5158
5158
|
}
|
|
5159
|
-
function
|
|
5159
|
+
function oa(t, e) {
|
|
5160
5160
|
return Ua(t, e);
|
|
5161
5161
|
}
|
|
5162
5162
|
function jS(t, e) {
|
|
@@ -5198,10 +5198,10 @@ function He(t, e) {
|
|
|
5198
5198
|
e === !1 && (!("isHiding" in t) || !t.isHiding()) ? (t.set("visible", !1), "hide" in t && t.hide()) : e !== !1 && (!("isShowing" in t) || !t.isShowing()) && (t.set("visible", !0), "show" in t && t.show());
|
|
5199
5199
|
}
|
|
5200
5200
|
function Ve(t) {
|
|
5201
|
-
const { childId: e, parent: i, useChildId: a } = t, n = a ? e :
|
|
5201
|
+
const { childId: e, parent: i, useChildId: a } = t, n = a ? e : pi(e, i.uid);
|
|
5202
5202
|
return i.children.values.find((o) => o.get("id") === n);
|
|
5203
5203
|
}
|
|
5204
|
-
function
|
|
5204
|
+
function pi(t, e) {
|
|
5205
5205
|
return `${t}${e}`;
|
|
5206
5206
|
}
|
|
5207
5207
|
function bl(t, e = 100) {
|
|
@@ -5446,7 +5446,7 @@ function hf(t, e) {
|
|
|
5446
5446
|
e !== void 0 && (e.marginBottom !== void 0 && t.set("marginBottom", e.marginBottom), e.marginTop !== void 0 && t.set("marginTop", e.marginTop), e.marginRight !== void 0 && t.set("marginRight", e.marginRight), e.marginLeft !== void 0 && t.set("marginLeft", e.marginLeft), e.verticalCenter !== void 0 && t.set("y", gf(e.verticalCenter)), e.horizontalCenter !== void 0 && t.set("x", mf(e.horizontalCenter)), e.strokeWidth !== void 0 && t.get("background")?.set("strokeWidth", e.strokeWidth), e.paddingBottom !== void 0 && t.set("paddingBottom", e.paddingBottom), e.paddingTop !== void 0 && t.set("paddingTop", e.paddingTop), e.paddingLeft !== void 0 && t.set("paddingLeft", e.paddingLeft), e.paddingRight !== void 0 && t.set("paddingRight", e.paddingRight), e.maxWidth !== void 0 && t.set("maxWidth", e.maxWidth));
|
|
5447
5447
|
}
|
|
5448
5448
|
function Kn(t) {
|
|
5449
|
-
const { root: e, parent: i, defaults: a, index: n, id: o } = t, s =
|
|
5449
|
+
const { root: e, parent: i, defaults: a, index: n, id: o } = t, s = ji.new(e, {
|
|
5450
5450
|
text: "",
|
|
5451
5451
|
textAlign: "center",
|
|
5452
5452
|
background: Mr.new(e, {}),
|
|
@@ -5459,7 +5459,7 @@ function Kn(t) {
|
|
|
5459
5459
|
}
|
|
5460
5460
|
function Rc(t) {
|
|
5461
5461
|
const { label: e, offset: i, offsetProperty: a } = t;
|
|
5462
|
-
e.adapters.remove(a), (e instanceof
|
|
5462
|
+
e.adapters.remove(a), (e instanceof ji ? [e] : e.entities).forEach((o) => {
|
|
5463
5463
|
if (typeof i == "string" && !Number.isFinite(Number(i))) {
|
|
5464
5464
|
let s = Ls(i);
|
|
5465
5465
|
typeof s == "number" && (s /= 100, o.adapters.add(a, () => (a === "dx" ? o.width() : o.height()) * (s ?? 0)));
|
|
@@ -5469,10 +5469,10 @@ function Rc(t) {
|
|
|
5469
5469
|
}
|
|
5470
5470
|
});
|
|
5471
5471
|
}
|
|
5472
|
-
function
|
|
5472
|
+
function xi(t) {
|
|
5473
5473
|
const { label: e, labelConfig: i, defaults: a, skipSettingText: n } = t, o = i?.visible ?? !0;
|
|
5474
5474
|
if (e !== void 0 && !e.isDisposed() && i !== void 0) {
|
|
5475
|
-
const s = e instanceof
|
|
5475
|
+
const s = e instanceof ji && Gt(e.uid, "isGuide"), r = cx({ input: i.content, isGuideLabel: s, defaults: a });
|
|
5476
5476
|
e.setAll({
|
|
5477
5477
|
fill: r.fill,
|
|
5478
5478
|
fontFamily: r.fontFamily,
|
|
@@ -5499,12 +5499,12 @@ function Si(t) {
|
|
|
5499
5499
|
}), e.get("background")?.setAll({
|
|
5500
5500
|
strokeWidth: r.borderWidth,
|
|
5501
5501
|
strokeOpacity: 1
|
|
5502
|
-
}), e.set("visible", o), e instanceof
|
|
5502
|
+
}), e.set("visible", o), e instanceof ji ? He(e, o) : e.entities.forEach((l) => {
|
|
5503
5503
|
He(l, o);
|
|
5504
5504
|
});
|
|
5505
5505
|
}
|
|
5506
5506
|
}
|
|
5507
|
-
function
|
|
5507
|
+
function Ji(t) {
|
|
5508
5508
|
const { chart: e, label: i, labelType: a } = t, { legendTitle: n } = I.legendProperties, o = M(e.uid, "config");
|
|
5509
5509
|
let s = n.maxWidth ?? Number.NaN, r = Number.NaN;
|
|
5510
5510
|
switch (a) {
|
|
@@ -5539,9 +5539,9 @@ function Zi(t) {
|
|
|
5539
5539
|
}
|
|
5540
5540
|
function Zn(t) {
|
|
5541
5541
|
const { chart: e } = t;
|
|
5542
|
-
|
|
5542
|
+
Ji(t), e.events.on(
|
|
5543
5543
|
he.BoundsChanged,
|
|
5544
|
-
Je(() =>
|
|
5544
|
+
Je(() => Ji(t), I.debounceTime)
|
|
5545
5545
|
);
|
|
5546
5546
|
}
|
|
5547
5547
|
function pf(t) {
|
|
@@ -5679,7 +5679,7 @@ function fx(t) {
|
|
|
5679
5679
|
if (a.label !== void 0) {
|
|
5680
5680
|
const s = e.get("renderer") instanceof ei;
|
|
5681
5681
|
let r;
|
|
5682
|
-
e instanceof
|
|
5682
|
+
e instanceof Hi || (s ? n === se.SFS ? r = I.verticalSurfaceGuideLabels : r = I.verticalLineGuideLabels : n === se.SFS ? r = I.horizontalSurfaceGuideLabels : r = I.horizontalLineGuideLabels), pl(o.uid, { guideLabelConfig: a.label });
|
|
5683
5683
|
const l = {
|
|
5684
5684
|
type: y.Text,
|
|
5685
5685
|
visible: a.visible,
|
|
@@ -5694,7 +5694,7 @@ function fx(t) {
|
|
|
5694
5694
|
rightToLeft: o.get("direction") === "rtl"
|
|
5695
5695
|
}
|
|
5696
5696
|
};
|
|
5697
|
-
|
|
5697
|
+
xi({ label: o, labelConfig: l, defaults: r }), o.events.once(he.BoundsChanged, () => {
|
|
5698
5698
|
Jo(e, i);
|
|
5699
5699
|
}), Jo(e, i);
|
|
5700
5700
|
} else
|
|
@@ -5757,7 +5757,7 @@ function bn(t) {
|
|
|
5757
5757
|
pattern: c.pattern
|
|
5758
5758
|
}), es(i, c.outline))), l || He(i, n)), c;
|
|
5759
5759
|
}
|
|
5760
|
-
function
|
|
5760
|
+
function $i(t) {
|
|
5761
5761
|
const { element: e, lineSymbol: i, visible: a, defaultToColorFromRamp: n, colorRampIndex: o } = t;
|
|
5762
5762
|
let s;
|
|
5763
5763
|
return e !== void 0 && !e.isDisposed() && (i !== void 0 && (s = yl({
|
|
@@ -5791,7 +5791,7 @@ function wt(t) {
|
|
|
5791
5791
|
}, f = c ?? { ...n };
|
|
5792
5792
|
switch (n.type) {
|
|
5793
5793
|
case se.SLS:
|
|
5794
|
-
d =
|
|
5794
|
+
d = $i({
|
|
5795
5795
|
...u,
|
|
5796
5796
|
lineSymbol: f
|
|
5797
5797
|
});
|
|
@@ -6107,8 +6107,8 @@ async function Cf(t) {
|
|
|
6107
6107
|
} = t, { series: c } = e, { selectionData: d, viewExtentUpdated: u, returnSelectionOIDs: f, chartLimits: m } = r ?? {}, { selectionItems: g, selectionOIDs: p } = d ?? {};
|
|
6108
6108
|
let b;
|
|
6109
6109
|
const S = z(c), x = S !== y.HistogramSeries && S !== y.HeatSeries && g !== void 0 && g.length > 0 && !(c[0].x in g[0]) && !(Qe in g[0]) && !(w.boxPlot.boxPlotCategory in g[0]);
|
|
6110
|
-
if (u !== !0 && f !== !1 && p !== void 0 && p.length > 0 && (o === !0 || x || !
|
|
6111
|
-
const v =
|
|
6110
|
+
if (u !== !0 && f !== !1 && p !== void 0 && p.length > 0 && (o === !0 || x || !yi(p, n))) {
|
|
6111
|
+
const v = vi(a);
|
|
6112
6112
|
if (v !== void 0 && !il({ dataContext: v[0], chartConfig: e, chartLimits: m }))
|
|
6113
6113
|
b = v.filter((F) => {
|
|
6114
6114
|
const A = F[et.uniqueIdsName];
|
|
@@ -6397,7 +6397,7 @@ function Ns(t) {
|
|
|
6397
6397
|
break;
|
|
6398
6398
|
case y.PieSeries:
|
|
6399
6399
|
o !== void 0 && (d = (f) => {
|
|
6400
|
-
const m = i, g =
|
|
6400
|
+
const m = i, g = Ai(m), p = [m];
|
|
6401
6401
|
return g && p.push(...po({ groupOfSlicesDataContext: m }) ?? []), p.some(
|
|
6402
6402
|
(S) => Sl({
|
|
6403
6403
|
sliceDataContext: S,
|
|
@@ -6411,7 +6411,7 @@ function Ns(t) {
|
|
|
6411
6411
|
}
|
|
6412
6412
|
return d !== void 0 && (c = a.some(d)), c;
|
|
6413
6413
|
}
|
|
6414
|
-
function
|
|
6414
|
+
function ea(t) {
|
|
6415
6415
|
const {
|
|
6416
6416
|
isFeatureCollectionLayer: e,
|
|
6417
6417
|
dataContext: i,
|
|
@@ -6485,7 +6485,7 @@ const yt = {
|
|
|
6485
6485
|
};
|
|
6486
6486
|
function Tf(t) {
|
|
6487
6487
|
let e = !1, i;
|
|
6488
|
-
if (t.target.dataItem?.component instanceof Pr ? { chart: i } = t.target.dataItem.component : (t.target instanceof zd || t.target instanceof Wd) && ({ chart: i } = t.target), i instanceof Le || i instanceof
|
|
6488
|
+
if (t.target.dataItem?.component instanceof Pr ? { chart: i } = t.target.dataItem.component : (t.target instanceof zd || t.target instanceof Wd) && ({ chart: i } = t.target), i instanceof Le || i instanceof Mi) {
|
|
6489
6489
|
const a = M(i.uid, "actionMode");
|
|
6490
6490
|
if (a !== void 0) {
|
|
6491
6491
|
const { originalEvent: n } = t;
|
|
@@ -6498,7 +6498,7 @@ function At(t) {
|
|
|
6498
6498
|
const { element: e, selected: i, multiSelect: a, isDateOrCategoryAxis: n, backToDefaultState: o } = t;
|
|
6499
6499
|
let s = !1;
|
|
6500
6500
|
if (e !== void 0) {
|
|
6501
|
-
const r =
|
|
6501
|
+
const r = oa(e.uid, "selected") ?? !1;
|
|
6502
6502
|
s = r, a !== !0 ? n === !0 ? s = r ? !1 : r !== i : s = i : s = r !== i;
|
|
6503
6503
|
const l = o === !0 ? yt.Default : yt.CustomInactive;
|
|
6504
6504
|
e.states.apply(yt.Default), e.states.apply(s ? yt.CustomActive : l), s !== r && jS(e.uid, { selected: s });
|
|
@@ -6509,7 +6509,7 @@ function Ax(t, e) {
|
|
|
6509
6509
|
const i = M(e.chart?.uid ?? Number.NaN, "actionMode"), a = Tf(t);
|
|
6510
6510
|
return i === ie.MonoSelection || i === ie.MultiSelectionWithCtrlKey && !a;
|
|
6511
6511
|
}
|
|
6512
|
-
function
|
|
6512
|
+
function Ti(t, e) {
|
|
6513
6513
|
const { selectedElementsTheme: i, nonSelectedElementsTheme: a } = e ?? I.selectionTheme ?? {}, n = t.states.create(yt.CustomActive, {}), o = t.states.create(yt.CustomInactive, {});
|
|
6514
6514
|
Vc(n, i), Vc(o, a);
|
|
6515
6515
|
}
|
|
@@ -6538,7 +6538,7 @@ function yn(t) {
|
|
|
6538
6538
|
formatLocale: a,
|
|
6539
6539
|
root: n
|
|
6540
6540
|
});
|
|
6541
|
-
return (typeof e == "number" && i.type === y.NumberAxisFormat || (typeof e == "number" || e instanceof Date) && i.type === y.DateAxisFormat) && (o = s.format(e,
|
|
6541
|
+
return (typeof e == "number" && i.type === y.NumberAxisFormat || (typeof e == "number" || e instanceof Date) && i.type === y.DateAxisFormat) && (o = s.format(e, Ri(i))), o;
|
|
6542
6542
|
}
|
|
6543
6543
|
async function Bx(t) {
|
|
6544
6544
|
const { root: e, exportOptions: i } = t, { format: a, quality: n = 1, ...o } = i, s = n < 0 || n > 1 ? 1 : n, l = await Lp.new(e, {}).exportImage(a, {
|
|
@@ -6656,7 +6656,7 @@ function wf(t) {
|
|
|
6656
6656
|
horizontalAlignment: A ? me.Right : me.Center
|
|
6657
6657
|
}
|
|
6658
6658
|
};
|
|
6659
|
-
|
|
6659
|
+
xi({
|
|
6660
6660
|
label: e.valueLabels.template,
|
|
6661
6661
|
labelConfig: T,
|
|
6662
6662
|
defaults: I.legendProperties.valueLabels
|
|
@@ -6929,14 +6929,14 @@ const h = {
|
|
|
6929
6929
|
`${h.NonRotated}-${h.RTL}-${h.Stacked100}-${h.LegendRight}-${h.ValueAxis}-${h.OrderByFieldsDESC}`,
|
|
6930
6930
|
`${h.Rotated}-${h.RTL}-${h.Stacked100}-${h.LegendTop}-${h.ValueAxis}-${h.OrderByFieldsDESC}`,
|
|
6931
6931
|
`${h.Rotated}-${h.RTL}-${h.Stacked100}-${h.LegendBottom}-${h.ValueAxis}-${h.OrderByFieldsDESC}`
|
|
6932
|
-
]), Cl = "arcgis_charts_title_container", vl = "arcgis_charts_subtitle_container", Fl = "arcgis_charts_footer_container", kf = "arcgis_charts_title", Df = "arcgis_charts_subtitle", Nf = "arcgis_charts_footer",
|
|
6932
|
+
]), Cl = "arcgis_charts_title_container", vl = "arcgis_charts_subtitle_container", Fl = "arcgis_charts_footer_container", kf = "arcgis_charts_title", Df = "arcgis_charts_subtitle", Nf = "arcgis_charts_footer", sa = "arcgis_charts_legend_container", ja = "arcgis_charts_legend_title", Ec = "arcgis_charts_axis_title_id", Of = "arcgis_charts_loader_container", $f = "arcgis_charts_loader_spinner";
|
|
6933
6933
|
function Mf(t) {
|
|
6934
6934
|
const e = t.get("id");
|
|
6935
6935
|
t.on("visible", (i, a) => {
|
|
6936
6936
|
if (a) {
|
|
6937
6937
|
const { chart: n } = a;
|
|
6938
6938
|
if (n instanceof cn) {
|
|
6939
|
-
const o = Ve({ childId:
|
|
6939
|
+
const o = Ve({ childId: sa, parent: n });
|
|
6940
6940
|
o !== void 0 && o.dataItems?.forEach((s) => {
|
|
6941
6941
|
s.get("id") === e && o.set("opacity", i ? 1 : I.legendProperties.legendLabelReducedOpacity);
|
|
6942
6942
|
});
|
|
@@ -6950,7 +6950,7 @@ function Mx(t) {
|
|
|
6950
6950
|
const { dataContext: i } = e, a = typeof i == "object" && i !== null && "component" in i ? i.component : i;
|
|
6951
6951
|
if (a instanceof Pr) {
|
|
6952
6952
|
const o = { visible: !a.get("visible") };
|
|
6953
|
-
|
|
6953
|
+
ra(a) || bo(a) ? o.overlayType = Te(a.uid, "type") : o.seriesId = a.get("id"), Tu(o, a.root.dom);
|
|
6954
6954
|
}
|
|
6955
6955
|
}
|
|
6956
6956
|
}
|
|
@@ -7040,9 +7040,9 @@ function Wc(t) {
|
|
|
7040
7040
|
}), Math.ceil(e);
|
|
7041
7041
|
}
|
|
7042
7042
|
function En(t, e) {
|
|
7043
|
-
const { root: i } = t, a = Ve({ childId:
|
|
7043
|
+
const { root: i } = t, a = Ve({ childId: sa, parent: t });
|
|
7044
7044
|
if (a !== void 0) {
|
|
7045
|
-
const n = M(t.uid, "config"), o = M(t.uid, "rtl"), s = n?.title ? n.title.visible ?? !0 : !1, r = n?.subtitle ? n.subtitle.visible ?? !0 : !1, l = n?.footer ? n.footer.visible ?? !0 : !1, c = n?.legend ? n.legend.visible ?? !0 : !1, d = n?.legend?.title ? n.legend.title.visible ?? !0 : !1, u = Ve({ childId: Cl, parent: t }), f = u instanceof on && s ? u.height() : 0, m = Ve({ childId: vl, parent: t }), g = m instanceof on && r ? m.height() : 0, p = Ve({ childId: Fl, parent: t }), b = p instanceof on && l ? p.height() : 0, S = Ve({ childId: ja, parent: a }), x = S instanceof
|
|
7045
|
+
const n = M(t.uid, "config"), o = M(t.uid, "rtl"), s = n?.title ? n.title.visible ?? !0 : !1, r = n?.subtitle ? n.subtitle.visible ?? !0 : !1, l = n?.footer ? n.footer.visible ?? !0 : !1, c = n?.legend ? n.legend.visible ?? !0 : !1, d = n?.legend?.title ? n.legend.title.visible ?? !0 : !1, u = Ve({ childId: Cl, parent: t }), f = u instanceof on && s ? u.height() : 0, m = Ve({ childId: vl, parent: t }), g = m instanceof on && r ? m.height() : 0, p = Ve({ childId: Fl, parent: t }), b = p instanceof on && l ? p.height() : 0, S = Ve({ childId: ja, parent: a }), x = S instanceof ji && c && d ? S?.height() : 0, C = n?.legend?.position ?? I.legendProperties.position;
|
|
7046
7046
|
let v;
|
|
7047
7047
|
const F = e.get("verticalScrollbar");
|
|
7048
7048
|
let A = $e, T = $e, k = i.verticalLayout, D = $e, N = $e, R = $e, $ = $e, P = 0, V;
|
|
@@ -7100,7 +7100,7 @@ function Rf(t, e) {
|
|
|
7100
7100
|
root: e.root,
|
|
7101
7101
|
parent: e,
|
|
7102
7102
|
index: 0,
|
|
7103
|
-
id:
|
|
7103
|
+
id: pi(ja, e.uid)
|
|
7104
7104
|
});
|
|
7105
7105
|
return i.set("paddingTop", 10), Zn({
|
|
7106
7106
|
chart: t,
|
|
@@ -7127,7 +7127,7 @@ function Ex(t, e) {
|
|
|
7127
7127
|
function Wx(t, e) {
|
|
7128
7128
|
e.seriesContainer.onPrivate("height", (i) => {
|
|
7129
7129
|
let a = 0;
|
|
7130
|
-
const n = M(e.uid, "config"), o = n?.legend, s = Ve({ childId:
|
|
7130
|
+
const n = M(e.uid, "config"), o = n?.legend, s = Ve({ childId: sa, parent: e });
|
|
7131
7131
|
if (s !== void 0) {
|
|
7132
7132
|
const l = Ve({ childId: ja, parent: s });
|
|
7133
7133
|
l !== void 0 && o?.visible !== !1 && o?.title?.visible !== !1 && (a = l.height());
|
|
@@ -7199,16 +7199,16 @@ function Vf(t, e, i) {
|
|
|
7199
7199
|
}
|
|
7200
7200
|
}
|
|
7201
7201
|
function Xx(t, e) {
|
|
7202
|
-
const i = Ve({ childId:
|
|
7202
|
+
const i = Ve({ childId: sa, parent: t });
|
|
7203
7203
|
if (i !== void 0) {
|
|
7204
7204
|
const a = Ve({ childId: ja, parent: i }) ?? Rf(t, i);
|
|
7205
7205
|
if (e !== void 0) {
|
|
7206
7206
|
const { title: n, visible: o } = e, { legendTitle: s } = I.legendProperties;
|
|
7207
|
-
n !== void 0 ? (
|
|
7207
|
+
n !== void 0 ? (xi({
|
|
7208
7208
|
label: a,
|
|
7209
7209
|
labelConfig: { ...n, visible: o !== !1 && n.visible !== !1 },
|
|
7210
7210
|
defaults: { ...s, verticalCenter: re.Top }
|
|
7211
|
-
}),
|
|
7211
|
+
}), Ji({
|
|
7212
7212
|
chart: t,
|
|
7213
7213
|
label: a,
|
|
7214
7214
|
labelType: ue.LegendTitle
|
|
@@ -7239,7 +7239,7 @@ function Ux(t) {
|
|
|
7239
7239
|
}
|
|
7240
7240
|
};
|
|
7241
7241
|
if (a === y.PieSeries) {
|
|
7242
|
-
const r = Ve({ childId:
|
|
7242
|
+
const r = Ve({ childId: sa, parent: o });
|
|
7243
7243
|
r !== void 0 && Ve({ childId: ja, parent: r }) !== void 0 && wf({
|
|
7244
7244
|
legend: e,
|
|
7245
7245
|
seriesConfig: n,
|
|
@@ -7247,7 +7247,7 @@ function Ux(t) {
|
|
|
7247
7247
|
chart: o
|
|
7248
7248
|
});
|
|
7249
7249
|
}
|
|
7250
|
-
|
|
7250
|
+
xi({ label: e.labels.template, labelConfig: s }), e.labels.template.setAll({ x: void 0, y: void 0, paddingRight: 5 });
|
|
7251
7251
|
}
|
|
7252
7252
|
}
|
|
7253
7253
|
function jx(t, e) {
|
|
@@ -7257,19 +7257,19 @@ function jx(t, e) {
|
|
|
7257
7257
|
}
|
|
7258
7258
|
function zc(t, e) {
|
|
7259
7259
|
const { root: i } = t, a = on.new(i, {
|
|
7260
|
-
id:
|
|
7260
|
+
id: pi(sa, t.uid),
|
|
7261
7261
|
layout: i.verticalLayout
|
|
7262
7262
|
}), n = Ed.new(i, { verticalScrollbar: mr.new(i, { orientation: "vertical" }) });
|
|
7263
|
-
return t instanceof
|
|
7263
|
+
return t instanceof Mi ? Ix(n) : n.valueLabels.template.setAll({ forceHidden: !0, textAlign: "left" }), Ex(t, n), Rf(t, a), Px(n), Rx(n, t), Vx({ chart: t, legend: n, legendContainer: a }), Wx(n, t), zx(n, t, z(e)), a.children.push(n), t.children.push(a), n;
|
|
7264
7264
|
}
|
|
7265
7265
|
function _x(t) {
|
|
7266
|
-
const { chart: e, legend: i, showLegend: a } = t, n = Ve({ childId:
|
|
7266
|
+
const { chart: e, legend: i, showLegend: a } = t, n = Ve({ childId: sa, parent: e });
|
|
7267
7267
|
n && (He(n, a), He(i, a));
|
|
7268
7268
|
}
|
|
7269
7269
|
function Qx(t) {
|
|
7270
7270
|
const { chart: e, showLegend: i, legendConfig: a } = t;
|
|
7271
7271
|
if (a) {
|
|
7272
|
-
const { title: n, visible: o } = a, s = n !== void 0 && o !== !1 && n.visible !== !1, r = Ve({ childId:
|
|
7272
|
+
const { title: n, visible: o } = a, s = n !== void 0 && o !== !1 && n.visible !== !1, r = Ve({ childId: sa, parent: e });
|
|
7273
7273
|
if (r) {
|
|
7274
7274
|
const l = Ve({ childId: ja, parent: r });
|
|
7275
7275
|
l && (n ? He(l, s) : He(l, i));
|
|
@@ -7278,7 +7278,7 @@ function Qx(t) {
|
|
|
7278
7278
|
}
|
|
7279
7279
|
function Ef(t) {
|
|
7280
7280
|
const { chart: e, chartConfig: i, legend: a, hideEmptySeries: n, seriesConfig: o } = t, { legend: s, series: r } = i;
|
|
7281
|
-
if (a !== void 0 && Ve({ childId:
|
|
7281
|
+
if (a !== void 0 && Ve({ childId: sa, parent: e }) !== void 0) {
|
|
7282
7282
|
const c = Ud(r) && s !== void 0 && s.visible !== !1;
|
|
7283
7283
|
if (_x({ chart: e, legend: a, showLegend: c }), Qx({ chart: e, showLegend: c, legendConfig: s }), c) {
|
|
7284
7284
|
Yx(a, s?.roundMarkers), Ux({
|
|
@@ -7289,7 +7289,7 @@ function Ef(t) {
|
|
|
7289
7289
|
chart: e
|
|
7290
7290
|
}), Vf(a, e, z(r)), Pf({ chart: e, legend: a, chartConfig: i, hideEmptySeries: n }), Xx(e, s), En(e, a);
|
|
7291
7291
|
const d = M(e.uid, "options");
|
|
7292
|
-
jx(a, d?.disableTogglingLegendItems), e instanceof
|
|
7292
|
+
jx(a, d?.disableTogglingLegendItems), e instanceof Mi && $x({ legend: a, chart: e, seriesConfig: o, legendConfig: s });
|
|
7293
7293
|
}
|
|
7294
7294
|
}
|
|
7295
7295
|
}
|
|
@@ -7321,7 +7321,7 @@ function Wf(t) {
|
|
|
7321
7321
|
}
|
|
7322
7322
|
}
|
|
7323
7323
|
}
|
|
7324
|
-
function
|
|
7324
|
+
function Vi(t, e) {
|
|
7325
7325
|
return e != null && e !== "" ? e : t;
|
|
7326
7326
|
}
|
|
7327
7327
|
function zf(t, e) {
|
|
@@ -7381,7 +7381,7 @@ function Hf(t) {
|
|
|
7381
7381
|
return f === L.BarAndLineNoAggregation ? r = l ?? ke(i, d) : f === L.BarAndLineSplitByNoAggregation ? r = ke(i, d) : (r = b === X.Count && g === m ? s.statistics.count : Bt(s.statistics.aggregation, {
|
|
7382
7382
|
statistics: S,
|
|
7383
7383
|
fieldName: p ?? l
|
|
7384
|
-
}), f === L.BarAndLineMonoField && !o && (r =
|
|
7384
|
+
}), f === L.BarAndLineMonoField && !o && (r = Vi(r, u[1].title?.content?.text))), r;
|
|
7385
7385
|
}
|
|
7386
7386
|
function qf(t) {
|
|
7387
7387
|
return Xo(t.uid.toString(), cf);
|
|
@@ -7408,7 +7408,7 @@ function Zx(t) {
|
|
|
7408
7408
|
let r;
|
|
7409
7409
|
const l = M(a.chart?.uid ?? 0, "rtl") ?? !1, c = $t(l);
|
|
7410
7410
|
return s === !1 ? r = (d, u, f) => "" : r = (d, u, f) => {
|
|
7411
|
-
const m = ke(n, i.x), g =
|
|
7411
|
+
const m = ke(n, i.x), g = Vi(m, e?.[0].title?.content?.text), p = Vi(o?.statistics.count ?? "", e?.[1]?.title?.content?.text ?? ""), b = Te(
|
|
7412
7412
|
a.uid,
|
|
7413
7413
|
"tooltipValueXNumberFormatCallback"
|
|
7414
7414
|
), S = Te(
|
|
@@ -7514,7 +7514,7 @@ function aC(t) {
|
|
|
7514
7514
|
const l = i.dataItem;
|
|
7515
7515
|
if (l !== void 0) {
|
|
7516
7516
|
const c = l, d = c.get("category") ?? "", u = l.dataContext;
|
|
7517
|
-
let f =
|
|
7517
|
+
let f = Si(u);
|
|
7518
7518
|
f === void 0 && (f = d);
|
|
7519
7519
|
const m = c.get("value"), g = c.get("valuePercentTotal");
|
|
7520
7520
|
typeof m == "number" && m !== 0 && o?.series?.[0]?.dataTooltipVisible !== !1 ? (i.set("disabled", !1), iC(c.get("slice")), a = r(d, m, g, f)) : i.set("disabled", !0);
|
|
@@ -7551,7 +7551,7 @@ function Hc(t) {
|
|
|
7551
7551
|
const { value: e, formatLocale: i, unit: a, config: n, utilsStrings: o } = t;
|
|
7552
7552
|
let s = { label: "", value: e.toString() };
|
|
7553
7553
|
switch (a) {
|
|
7554
|
-
case
|
|
7554
|
+
case gi.DayOfWeek:
|
|
7555
7555
|
s = {
|
|
7556
7556
|
label: o.dayOfWeek,
|
|
7557
7557
|
value: bf({
|
|
@@ -7561,7 +7561,7 @@ function Hc(t) {
|
|
|
7561
7561
|
})
|
|
7562
7562
|
};
|
|
7563
7563
|
break;
|
|
7564
|
-
case
|
|
7564
|
+
case gi.MonthOfYear:
|
|
7565
7565
|
s = {
|
|
7566
7566
|
label: o.monthOfYear,
|
|
7567
7567
|
value: yf({
|
|
@@ -7570,7 +7570,7 @@ function Hc(t) {
|
|
|
7570
7570
|
})
|
|
7571
7571
|
};
|
|
7572
7572
|
break;
|
|
7573
|
-
case
|
|
7573
|
+
case gi.HourOfDay:
|
|
7574
7574
|
s = {
|
|
7575
7575
|
label: o.hourOfDay,
|
|
7576
7576
|
value: pf({
|
|
@@ -7579,18 +7579,36 @@ function Hc(t) {
|
|
|
7579
7579
|
})
|
|
7580
7580
|
};
|
|
7581
7581
|
break;
|
|
7582
|
-
case
|
|
7582
|
+
case gi.DayOfMonth:
|
|
7583
7583
|
s = {
|
|
7584
7584
|
label: o.dayOfMonth,
|
|
7585
7585
|
value: typeof e == "string" ? e : e?.toString() ?? ""
|
|
7586
7586
|
};
|
|
7587
7587
|
break;
|
|
7588
|
-
case
|
|
7588
|
+
case gi.DayOfYear:
|
|
7589
7589
|
s = {
|
|
7590
7590
|
label: o?.dayOfYear,
|
|
7591
7591
|
value: typeof e == "string" ? e : e?.toString() ?? ""
|
|
7592
7592
|
};
|
|
7593
7593
|
break;
|
|
7594
|
+
case gi.MinuteOfDay:
|
|
7595
|
+
s = {
|
|
7596
|
+
label: o?.minuteOfDay,
|
|
7597
|
+
value: typeof e == "string" ? e : e?.toString() ?? ""
|
|
7598
|
+
};
|
|
7599
|
+
break;
|
|
7600
|
+
case gi.WeekOfYear:
|
|
7601
|
+
s = {
|
|
7602
|
+
label: o?.weekOfYear,
|
|
7603
|
+
value: typeof e == "string" ? e : e?.toString() ?? ""
|
|
7604
|
+
};
|
|
7605
|
+
break;
|
|
7606
|
+
case gi.QuarterOfYear:
|
|
7607
|
+
s = {
|
|
7608
|
+
label: o?.quarterOfYear,
|
|
7609
|
+
value: typeof e == "string" ? e : e?.toString() ?? ""
|
|
7610
|
+
};
|
|
7611
|
+
break;
|
|
7594
7612
|
}
|
|
7595
7613
|
return s;
|
|
7596
7614
|
}
|
|
@@ -7773,7 +7791,7 @@ function lC(t) {
|
|
|
7773
7791
|
dataContext: m,
|
|
7774
7792
|
useRendererLabel: ks(g, p)
|
|
7775
7793
|
});
|
|
7776
|
-
let S =
|
|
7794
|
+
let S = Si(m);
|
|
7777
7795
|
S === void 0 && (S = b);
|
|
7778
7796
|
const x = m[I.dateBinningRange];
|
|
7779
7797
|
if (S !== void 0 || u !== void 0 || f !== void 0 || x !== void 0)
|
|
@@ -7982,7 +8000,7 @@ function fC(t) {
|
|
|
7982
8000
|
if (m !== void 0) {
|
|
7983
8001
|
const { dataTooltipVisible: g } = o, p = n instanceof Ae ? o.markerVisible : void 0;
|
|
7984
8002
|
if (g !== !1 && p !== !1) {
|
|
7985
|
-
const b = m.axes, S = b[0].valueFormat, x = b[1].valueFormat, C = H(m.series), v = Ut(m) === Ce.Stacked100, F = ve(a)?.objectIdField, A = ke(i, o.x), T =
|
|
8003
|
+
const b = m.axes, S = b[0].valueFormat, x = b[1].valueFormat, C = H(m.series), v = Ut(m) === Ce.Stacked100, F = ve(a)?.objectIdField, A = ke(i, o.x), T = Vi(A, b[0].title?.content.text), k = Hf({
|
|
7986
8004
|
config: m,
|
|
7987
8005
|
fieldList: i,
|
|
7988
8006
|
objectIdField: F,
|
|
@@ -8185,14 +8203,14 @@ function SC(t, e) {
|
|
|
8185
8203
|
calculateAggregates: !1
|
|
8186
8204
|
});
|
|
8187
8205
|
}
|
|
8188
|
-
function
|
|
8206
|
+
function ra(t) {
|
|
8189
8207
|
return t.get("id") === I.overlayId.scatterplotTrendLine;
|
|
8190
8208
|
}
|
|
8191
8209
|
function Zf(t) {
|
|
8192
|
-
return t.series.values.find((e) => !
|
|
8210
|
+
return t.series.values.find((e) => !ra(e));
|
|
8193
8211
|
}
|
|
8194
8212
|
function Jf(t) {
|
|
8195
|
-
return t.series.values.find((e) =>
|
|
8213
|
+
return t.series.values.find((e) => ra(e));
|
|
8196
8214
|
}
|
|
8197
8215
|
function xC(t) {
|
|
8198
8216
|
const { root: e, xAxis: i, yAxis: a, seriesConfig: n } = t, { x: o, y: s } = n, r = Ae.new(e, {
|
|
@@ -8209,7 +8227,7 @@ function xC(t) {
|
|
|
8209
8227
|
function CC(t, e) {
|
|
8210
8228
|
const i = xn.new({});
|
|
8211
8229
|
Xe(t.uid, { bulletTemplate: i }), t.bullets.push((a) => {
|
|
8212
|
-
const n =
|
|
8230
|
+
const n = zi.new(
|
|
8213
8231
|
a,
|
|
8214
8232
|
{
|
|
8215
8233
|
nonScalingStroke: !0,
|
|
@@ -8219,7 +8237,7 @@ function CC(t, e) {
|
|
|
8219
8237
|
},
|
|
8220
8238
|
i
|
|
8221
8239
|
);
|
|
8222
|
-
return
|
|
8240
|
+
return Ti(n, e?.selectionTheme), Bi(n, t), dm(n, t), aa.new(a, {
|
|
8223
8241
|
sprite: n
|
|
8224
8242
|
});
|
|
8225
8243
|
});
|
|
@@ -8265,7 +8283,7 @@ function FC(t) {
|
|
|
8265
8283
|
}) : void 0, S = b !== void 0 ? `R² = ${b}` : o;
|
|
8266
8284
|
i.set("name", S);
|
|
8267
8285
|
}
|
|
8268
|
-
d.color === void 0 && (d.color = ri({ colorIndex: 1 })),
|
|
8286
|
+
d.color === void 0 && (d.color = ri({ colorIndex: 1 })), $i({
|
|
8269
8287
|
element: i,
|
|
8270
8288
|
lineSymbol: d,
|
|
8271
8289
|
visible: u
|
|
@@ -8274,7 +8292,7 @@ function FC(t) {
|
|
|
8274
8292
|
function LC(t) {
|
|
8275
8293
|
const { root: e, chartConfig: i, markerSeries: a } = t, n = a.chart;
|
|
8276
8294
|
if (n) {
|
|
8277
|
-
const o = i.series[0], s =
|
|
8295
|
+
const o = i.series[0], s = Ci(i);
|
|
8278
8296
|
let r, l;
|
|
8279
8297
|
const c = Xr(), d = /* @__PURE__ */ new Set();
|
|
8280
8298
|
a.dataItems.forEach((f) => {
|
|
@@ -8338,7 +8356,7 @@ function TC(t) {
|
|
|
8338
8356
|
data: l,
|
|
8339
8357
|
valueFormat: ps(),
|
|
8340
8358
|
defaultR2Value: f.notAvailable
|
|
8341
|
-
}), SC(a, s),
|
|
8359
|
+
}), SC(a, s), la(t) && ca({
|
|
8342
8360
|
// TODO: Remove the type assertion and correct the typings
|
|
8343
8361
|
styleCallback: LC,
|
|
8344
8362
|
callbackProps: { root: e, chartConfig: i, markerSeries: s, dataWasUpdated: c },
|
|
@@ -8406,7 +8424,7 @@ function em(t) {
|
|
|
8406
8424
|
const e = t?.selection.width();
|
|
8407
8425
|
return e !== void 0 && e > 0 && t?.selection.width() !== 2e7;
|
|
8408
8426
|
}
|
|
8409
|
-
function
|
|
8427
|
+
function Bi(t, e) {
|
|
8410
8428
|
t.events.on(he.PointerUp, async (i) => {
|
|
8411
8429
|
const { chart: a } = e;
|
|
8412
8430
|
if (a) {
|
|
@@ -8420,7 +8438,7 @@ function Ti(t, e) {
|
|
|
8420
8438
|
const r = i.target, l = Ax(i, e);
|
|
8421
8439
|
At({
|
|
8422
8440
|
element: r,
|
|
8423
|
-
selected:
|
|
8441
|
+
selected: oa(r.uid, "selected") !== !0
|
|
8424
8442
|
// switching the bullet state
|
|
8425
8443
|
}), l && a.series.each((c) => {
|
|
8426
8444
|
c instanceof Ae ? c.dataItems.forEach((d) => {
|
|
@@ -8448,14 +8466,14 @@ function wC(t) {
|
|
|
8448
8466
|
t.plotContainer.events.on(he.PointerUp, () => {
|
|
8449
8467
|
em(e) || Ta({ chart: t });
|
|
8450
8468
|
});
|
|
8451
|
-
} else t instanceof
|
|
8469
|
+
} else t instanceof Mi && t.get("background")?.events.on(he.Click, () => {
|
|
8452
8470
|
Ta({ chart: t });
|
|
8453
8471
|
});
|
|
8454
8472
|
}
|
|
8455
8473
|
function IC(t) {
|
|
8456
8474
|
const { series: e, cursorBounds: i, multiSelect: a } = t, n = M(e.chart?.uid ?? NaN, "config"), o = z(n?.series);
|
|
8457
8475
|
e.columns.each((s) => {
|
|
8458
|
-
const r = s.get("x"), l = s.get("y"), c = s.height() < 0, d = Math.abs(s.height());
|
|
8476
|
+
const r = s.get("x"), l = s.get("y"), c = s.height() < 0 && o !== y.HeatSeries, d = c ? Math.abs(s.height()) : s.height();
|
|
8459
8477
|
if (typeof r == "number" && typeof l == "number") {
|
|
8460
8478
|
const u = c ? l - d : l, f = {
|
|
8461
8479
|
left: r,
|
|
@@ -8467,7 +8485,7 @@ function IC(t) {
|
|
|
8467
8485
|
const p = f.top;
|
|
8468
8486
|
f.top = f.bottom, f.bottom = p;
|
|
8469
8487
|
}
|
|
8470
|
-
const g = !(f.left > i.right || f.right < i.left || f.top > i.bottom || f.bottom < i.top) || a &&
|
|
8488
|
+
const g = !(f.left > i.right || f.right < i.left || f.top > i.bottom || f.bottom < i.top) || a && oa(s.uid, "selected") === !0;
|
|
8471
8489
|
At({ element: s, selected: g });
|
|
8472
8490
|
}
|
|
8473
8491
|
});
|
|
@@ -8477,7 +8495,7 @@ function kC(t) {
|
|
|
8477
8495
|
e.dataItems.forEach((n) => {
|
|
8478
8496
|
const o = n.bullets?.[0]?.get("sprite");
|
|
8479
8497
|
if (o) {
|
|
8480
|
-
const s = n.bullets?.[0]?.get("sprite").get("x"), r = n.bullets?.[0]?.get("sprite").get("y"), c = typeof s == "number" && typeof r == "number" && s >= i.left && s <= i.right && r >= i.top && r <= i.bottom || a &&
|
|
8498
|
+
const s = n.bullets?.[0]?.get("sprite").get("x"), r = n.bullets?.[0]?.get("sprite").get("y"), c = typeof s == "number" && typeof r == "number" && s >= i.left && s <= i.right && r >= i.top && r <= i.bottom || a && oa(o.uid, "selected") === !0;
|
|
8481
8499
|
At({ element: o, selected: c });
|
|
8482
8500
|
}
|
|
8483
8501
|
});
|
|
@@ -8499,7 +8517,7 @@ function NC(t) {
|
|
|
8499
8517
|
if (n && o) {
|
|
8500
8518
|
const s = t.get("cursor"), r = DC({ cursor: s, xAxis: n, yAxis: o }), l = Tf(i);
|
|
8501
8519
|
t.series.each((c) => {
|
|
8502
|
-
!
|
|
8520
|
+
!ra(c) && !bo(c) && (c instanceof Ke || c instanceof Ae) && (c instanceof Ke ? IC({ series: c, cursorBounds: r, multiSelect: l }) : c instanceof Ae && kC({ series: c, cursorBounds: r, multiSelect: l }));
|
|
8503
8521
|
}), He(s.selection, !1), await wl(t, qe.SelectionByRange);
|
|
8504
8522
|
}
|
|
8505
8523
|
}
|
|
@@ -8589,10 +8607,10 @@ function MC(t) {
|
|
|
8589
8607
|
function PC(t) {
|
|
8590
8608
|
const { series: e, isRotated: i, dataLabelsConfig: a, externalDataLabelFormatter: n } = t;
|
|
8591
8609
|
e.bullets.push(() => {
|
|
8592
|
-
const o = e.get("stacked"), s =
|
|
8610
|
+
const o = e.get("stacked"), s = aa.new(e.root, {
|
|
8593
8611
|
locationY: !o && !i ? 1 : void 0,
|
|
8594
8612
|
locationX: !o && i ? 1 : void 0,
|
|
8595
|
-
sprite:
|
|
8613
|
+
sprite: ji.new(e.root, {
|
|
8596
8614
|
text: i ? "{valueX}" : "{valueY}",
|
|
8597
8615
|
populateText: !0,
|
|
8598
8616
|
centerY: _e,
|
|
@@ -8707,7 +8725,7 @@ function $s(t) {
|
|
|
8707
8725
|
}
|
|
8708
8726
|
p !== void 0 && Xe(e.uid, {
|
|
8709
8727
|
[p]: m
|
|
8710
|
-
}), o !== void 0 && (c === y.HeatSeries ? o.content.text = "{value}" : o.content.text = l === !0 ? "{valueX}" : "{valueY}", o.visible = o.visible !== !1),
|
|
8728
|
+
}), o !== void 0 && (c === y.HeatSeries ? o.content.text = "{value}" : o.content.text = l === !0 ? "{valueX}" : "{valueY}", o.visible = o.visible !== !1), xi({
|
|
8711
8729
|
label: a,
|
|
8712
8730
|
labelConfig: o,
|
|
8713
8731
|
defaults: n ?? I.dataLabel,
|
|
@@ -8780,9 +8798,9 @@ function om(t) {
|
|
|
8780
8798
|
function WC(t) {
|
|
8781
8799
|
const { series: e, dataLabelsConfig: i, labelDefaults: a, externalDataLabelFormatter: n, seriesType: o } = t;
|
|
8782
8800
|
e.bullets.push(() => {
|
|
8783
|
-
const s =
|
|
8801
|
+
const s = aa.new(e.root, {
|
|
8784
8802
|
locationY: 1,
|
|
8785
|
-
sprite:
|
|
8803
|
+
sprite: ji.new(e.root, {
|
|
8786
8804
|
populateText: !0,
|
|
8787
8805
|
oversizedBehavior: "hide",
|
|
8788
8806
|
centerY: _e,
|
|
@@ -8929,7 +8947,7 @@ function YC(t) {
|
|
|
8929
8947
|
valueYField: _n.Count,
|
|
8930
8948
|
maskBullets: !1
|
|
8931
8949
|
});
|
|
8932
|
-
return
|
|
8950
|
+
return Ti(c.columns.template, o?.selectionTheme), Bi(c.columns.template, c), c.columns.template.setAll({
|
|
8933
8951
|
width: _e
|
|
8934
8952
|
}), rm({
|
|
8935
8953
|
yAxisValueFormat: s.axes?.[1]?.valueFormat,
|
|
@@ -8985,7 +9003,7 @@ function jC(t) {
|
|
|
8985
9003
|
if (i.symbol?.color === void 0 && (c.color = ri({
|
|
8986
9004
|
colorIndex: Ho(l),
|
|
8987
9005
|
histogramOverlays: !0
|
|
8988
|
-
})),
|
|
9006
|
+
})), $i({
|
|
8989
9007
|
element: e,
|
|
8990
9008
|
lineSymbol: c,
|
|
8991
9009
|
visible: s === !0 && r !== !1
|
|
@@ -9032,15 +9050,13 @@ function jC(t) {
|
|
|
9032
9050
|
f = n.overlays.stdDev;
|
|
9033
9051
|
break;
|
|
9034
9052
|
}
|
|
9035
|
-
const m = M(e.chart?.uid ?? Number.NaN, "formatLocale"), g =
|
|
9036
|
-
let p = `${f}`;
|
|
9037
|
-
const b = yn({
|
|
9053
|
+
const m = M(e.chart?.uid ?? Number.NaN, "formatLocale"), g = yn({
|
|
9038
9054
|
root: e.root,
|
|
9039
9055
|
value: u,
|
|
9040
9056
|
valueFormat: ps(),
|
|
9041
9057
|
formatLocale: m
|
|
9042
|
-
})
|
|
9043
|
-
|
|
9058
|
+
}), p = `${f}: ${g}`;
|
|
9059
|
+
Nn(e, p);
|
|
9044
9060
|
}
|
|
9045
9061
|
}
|
|
9046
9062
|
}
|
|
@@ -9053,7 +9069,7 @@ function _C(t) {
|
|
|
9053
9069
|
if (i?.symbol?.color === void 0 && (l.color = ri({
|
|
9054
9070
|
colorIndex: Ho(Re.Normal),
|
|
9055
9071
|
histogramOverlays: !0
|
|
9056
|
-
})),
|
|
9072
|
+
})), $i({
|
|
9057
9073
|
element: e,
|
|
9058
9074
|
lineSymbol: l,
|
|
9059
9075
|
visible: s === !0 && r !== !1
|
|
@@ -9100,14 +9116,14 @@ async function QC(t) {
|
|
|
9100
9116
|
seriesConfig: [a],
|
|
9101
9117
|
dataItem: {},
|
|
9102
9118
|
renderer: f,
|
|
9103
|
-
rendererOrigin: r !== void 0 ?
|
|
9119
|
+
rendererOrigin: r !== void 0 ? Oi.ChartRenderer : Oi.LayerRenderer,
|
|
9104
9120
|
rendererType: m,
|
|
9105
9121
|
chartSubType: L.NonSpecific,
|
|
9106
9122
|
graphicTemplate: u
|
|
9107
9123
|
});
|
|
9108
9124
|
g = p.rendererSymbol, be(e.chart?.uid ?? Number.NaN, { colorMatchApplied: p.colorMatchApplied });
|
|
9109
9125
|
}
|
|
9110
|
-
|
|
9126
|
+
la(t) && ca({
|
|
9111
9127
|
// TODO: Remove the type assertion and correct the typings
|
|
9112
9128
|
styleCallback: GC,
|
|
9113
9129
|
callbackProps: { ...t, rendererSymbol: g },
|
|
@@ -9200,7 +9216,7 @@ function ev(t) {
|
|
|
9200
9216
|
function tv(t) {
|
|
9201
9217
|
const { chart: e, chartType: i, showMean: a } = t;
|
|
9202
9218
|
return e.series.values.filter(
|
|
9203
|
-
(o) => !
|
|
9219
|
+
(o) => !ra(o) && !bo(o) && (i !== y.BoxPlotSeries || !a || a && Te(o.uid, "isBoxPlotMeanLineSeries"))
|
|
9204
9220
|
).every((o) => Te(o.uid, "isSelectionApplied") === !0);
|
|
9205
9221
|
}
|
|
9206
9222
|
function iv(t) {
|
|
@@ -9208,7 +9224,7 @@ function iv(t) {
|
|
|
9208
9224
|
}
|
|
9209
9225
|
function av(t) {
|
|
9210
9226
|
let e = [];
|
|
9211
|
-
if (!
|
|
9227
|
+
if (!ra(t) && !bo(t))
|
|
9212
9228
|
switch (!0) {
|
|
9213
9229
|
case t instanceof Nt:
|
|
9214
9230
|
e = t.slices.values;
|
|
@@ -9241,7 +9257,7 @@ function lm(t, e) {
|
|
|
9241
9257
|
});
|
|
9242
9258
|
}
|
|
9243
9259
|
function nv(t, e) {
|
|
9244
|
-
const i = [], a = [], n = M(t.uid, "config"), o = M(t.uid, "queryObject"), s =
|
|
9260
|
+
const i = [], a = [], n = M(t.uid, "config"), o = M(t.uid, "queryObject"), s = Gi(n), r = ut(n?.series ?? []), l = H(n?.series), c = z(n?.series);
|
|
9245
9261
|
return t.series.each((d, u) => {
|
|
9246
9262
|
if (n && d.get("visible") === !0 && d.get("id") !== I.overlayId.scatterplotTrendLine) {
|
|
9247
9263
|
const f = n.series[0].x, m = yo(d), g = e.get(u);
|
|
@@ -9251,7 +9267,7 @@ function nv(t, e) {
|
|
|
9251
9267
|
const { indexesToSelect: b } = g;
|
|
9252
9268
|
p.forEach((S, x) => {
|
|
9253
9269
|
if (b === void 0 || b.includes(x)) {
|
|
9254
|
-
const C =
|
|
9270
|
+
const C = ea({
|
|
9255
9271
|
dataContext: S.dataItem?.dataContext,
|
|
9256
9272
|
yList: r,
|
|
9257
9273
|
yAxisField: m,
|
|
@@ -9259,7 +9275,7 @@ function nv(t, e) {
|
|
|
9259
9275
|
chartType: c,
|
|
9260
9276
|
chartSubType: l,
|
|
9261
9277
|
showOutliers: s,
|
|
9262
|
-
isFeatureCollectionLayer:
|
|
9278
|
+
isFeatureCollectionLayer: Qi(o)
|
|
9263
9279
|
});
|
|
9264
9280
|
C !== void 0 && i.push(C), a.push(S);
|
|
9265
9281
|
} else
|
|
@@ -9281,12 +9297,12 @@ function ov(t) {
|
|
|
9281
9297
|
xAxisField: r,
|
|
9282
9298
|
yAxisField: l,
|
|
9283
9299
|
splitBy: c
|
|
9284
|
-
} = t, d = z(i.series), u = H(i.series), f =
|
|
9300
|
+
} = t, d = z(i.series), u = H(i.series), f = Gi(i), m = M(e.uid, "queryObject"), g = [], p = [], b = [], S = ut(i.series);
|
|
9285
9301
|
return n.forEach((x, C) => {
|
|
9286
9302
|
const v = x instanceof Xn || x instanceof dn ? x : x.bullets?.[0]?.get("sprite");
|
|
9287
9303
|
if (v !== void 0) {
|
|
9288
9304
|
let F = x instanceof Xn || x instanceof dn ? v.dataItem?.dataContext : x.dataContext;
|
|
9289
|
-
if (F !== void 0 && d === y.BoxPlotSeries && F[I.boxPlot.boxPlotOutlierId] !== !0 && (F =
|
|
9305
|
+
if (F !== void 0 && d === y.BoxPlotSeries && F[I.boxPlot.boxPlotOutlierId] !== !0 && (F = ea({
|
|
9290
9306
|
dataContext: F,
|
|
9291
9307
|
yAxisField: l,
|
|
9292
9308
|
yList: S,
|
|
@@ -9295,7 +9311,7 @@ function ov(t) {
|
|
|
9295
9311
|
chartType: d,
|
|
9296
9312
|
chartSubType: u,
|
|
9297
9313
|
showOutliers: f,
|
|
9298
|
-
isFeatureCollectionLayer:
|
|
9314
|
+
isFeatureCollectionLayer: Qi(m)
|
|
9299
9315
|
})), Ns({
|
|
9300
9316
|
elementDataContext: F,
|
|
9301
9317
|
options: a,
|
|
@@ -9311,7 +9327,7 @@ function ov(t) {
|
|
|
9311
9327
|
b.push(F);
|
|
9312
9328
|
else {
|
|
9313
9329
|
const T = /* @__PURE__ */ new Set();
|
|
9314
|
-
d === y.PieSeries &&
|
|
9330
|
+
d === y.PieSeries && Ai(F) ? (po({
|
|
9315
9331
|
groupOfSlicesDataContext: F
|
|
9316
9332
|
}) ?? []).forEach((D) => {
|
|
9317
9333
|
o.forEach((N) => {
|
|
@@ -9323,7 +9339,7 @@ function ov(t) {
|
|
|
9323
9339
|
}) && T.add(D);
|
|
9324
9340
|
});
|
|
9325
9341
|
}) : T.add(F), Array.from(T)?.forEach((k) => {
|
|
9326
|
-
const D =
|
|
9342
|
+
const D = ea({
|
|
9327
9343
|
dataContext: k,
|
|
9328
9344
|
yAxisField: l,
|
|
9329
9345
|
yList: S,
|
|
@@ -9332,7 +9348,7 @@ function ov(t) {
|
|
|
9332
9348
|
chartType: d,
|
|
9333
9349
|
chartSubType: u,
|
|
9334
9350
|
showOutliers: f,
|
|
9335
|
-
isFeatureCollectionLayer:
|
|
9351
|
+
isFeatureCollectionLayer: Qi(m)
|
|
9336
9352
|
});
|
|
9337
9353
|
D !== void 0 && b.push(D);
|
|
9338
9354
|
});
|
|
@@ -9377,7 +9393,7 @@ function sv(t) {
|
|
|
9377
9393
|
itemsB: k,
|
|
9378
9394
|
isPieFromFields: F === L.PieFromFields
|
|
9379
9395
|
});
|
|
9380
|
-
const V = !
|
|
9396
|
+
const V = !yi(S, P);
|
|
9381
9397
|
D = o === !0 || n === !0 || s === !0 || d === !0 || R !== void 0 && $;
|
|
9382
9398
|
let W = !0;
|
|
9383
9399
|
if (S !== void 0 && S.size > 0) {
|
|
@@ -9431,7 +9447,7 @@ function sv(t) {
|
|
|
9431
9447
|
const W = V instanceof Xn || V instanceof dn ? V : V.bullets?.[0]?.get("sprite");
|
|
9432
9448
|
W !== void 0 && At({
|
|
9433
9449
|
element: W,
|
|
9434
|
-
selected:
|
|
9450
|
+
selected: oa(W.uid, "selected") === !0 || P(W)
|
|
9435
9451
|
});
|
|
9436
9452
|
});
|
|
9437
9453
|
}
|
|
@@ -9473,7 +9489,7 @@ async function rv(t) {
|
|
|
9473
9489
|
options: i,
|
|
9474
9490
|
errorStrings: r
|
|
9475
9491
|
});
|
|
9476
|
-
u !== void 0 && i !== void 0 && (i.selectionData = { ...i?.selectionData, selectionItems: u }), e.series.values.filter((f) => !
|
|
9492
|
+
u !== void 0 && i !== void 0 && (i.selectionData = { ...i?.selectionData, selectionItems: u }), e.series.values.filter((f) => !ra(f) && !bo(f)).forEach((f) => {
|
|
9477
9493
|
const { seriesConfig: m, seriesIndex: g } = Ms(f, o);
|
|
9478
9494
|
if (m) {
|
|
9479
9495
|
const p = m.x, b = m.type === y.BoxPlotSeries ? m.y.toString() : yo(f), S = m.query?.where ?? "";
|
|
@@ -9489,7 +9505,7 @@ async function rv(t) {
|
|
|
9489
9505
|
async function wl(t, e) {
|
|
9490
9506
|
const i = M(t.uid, "config"), a = M(t.uid, "queryObject");
|
|
9491
9507
|
if (i) {
|
|
9492
|
-
const n = M(t.uid, "options"), o = z(i.series), s = H(i.series), r =
|
|
9508
|
+
const n = M(t.uid, "options"), o = z(i.series), s = H(i.series), r = Gi(i), l = ut(i.series), c = i.series[0].x;
|
|
9493
9509
|
let d;
|
|
9494
9510
|
a !== void 0 && (d = (await ft(a)).find((f) => f.name === c)?.type);
|
|
9495
9511
|
try {
|
|
@@ -9500,11 +9516,11 @@ async function wl(t, e) {
|
|
|
9500
9516
|
let A;
|
|
9501
9517
|
S instanceof Ae ? A = S.dataItems : S instanceof Ke ? A = S.columns.values : S instanceof Nt && (A = S.slices.values), A?.forEach((T, k) => {
|
|
9502
9518
|
const D = T instanceof Xn || T instanceof dn ? T : T.bullets?.[0]?.get("sprite");
|
|
9503
|
-
if (D !== void 0 &&
|
|
9519
|
+
if (D !== void 0 && oa(D.uid, "selected") === !0) {
|
|
9504
9520
|
b += 1;
|
|
9505
9521
|
let N = T instanceof Xn || T instanceof dn ? T.dataItem?.dataContext : T.dataContext;
|
|
9506
9522
|
if (N !== void 0) {
|
|
9507
|
-
if (N =
|
|
9523
|
+
if (N = ea({
|
|
9508
9524
|
dataContext: N,
|
|
9509
9525
|
yAxisField: F,
|
|
9510
9526
|
yList: l,
|
|
@@ -9513,7 +9529,7 @@ async function wl(t, e) {
|
|
|
9513
9529
|
chartType: o,
|
|
9514
9530
|
chartSubType: s,
|
|
9515
9531
|
showOutliers: r,
|
|
9516
|
-
isFeatureCollectionLayer:
|
|
9532
|
+
isFeatureCollectionLayer: Qi(a)
|
|
9517
9533
|
}), u.has(JSON.stringify(N)) || (u.add(JSON.stringify(N)), f.push(N)), k !== void 0) {
|
|
9518
9534
|
const $ = m.get(x)?.indexesToSelect ?? [];
|
|
9519
9535
|
$.push(k), m.set(x, {
|
|
@@ -9585,7 +9601,7 @@ function Dn(t, e) {
|
|
|
9585
9601
|
const { y: i, query: a } = e, o = H(t.series) === L.BarAndLineSplitByNoAggregation ? `${i.toString()}_${bt({ where: a?.where })}` : [i].flat()[0], s = I.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";
|
|
9586
9602
|
return { xField: s, yField: o, xAxisField: c, yAxisField: d };
|
|
9587
9603
|
}
|
|
9588
|
-
function
|
|
9604
|
+
function la(t) {
|
|
9589
9605
|
const {
|
|
9590
9606
|
chartConfig: e,
|
|
9591
9607
|
seriesWereReinitialized: i,
|
|
@@ -9657,7 +9673,7 @@ function lv(t) {
|
|
|
9657
9673
|
seriesConfig: a
|
|
9658
9674
|
});
|
|
9659
9675
|
}
|
|
9660
|
-
function
|
|
9676
|
+
function ca(t) {
|
|
9661
9677
|
const { series: e, styleCallback: i, callbackProps: a, seriesConfig: n } = t;
|
|
9662
9678
|
cm({
|
|
9663
9679
|
callbackInfo: { styleCallback: i, callbackProps: a, type: "style" },
|
|
@@ -9866,7 +9882,7 @@ function pv(t) {
|
|
|
9866
9882
|
if (d && s !== void 0 && s !== "") {
|
|
9867
9883
|
if (a.type === y.DateAxisFormat && a.intlOptions)
|
|
9868
9884
|
switch (d.unit) {
|
|
9869
|
-
case
|
|
9885
|
+
case gi.DayOfWeek:
|
|
9870
9886
|
r = bf({
|
|
9871
9887
|
weekdayNumber: Number(s),
|
|
9872
9888
|
format: a.intlOptions,
|
|
@@ -9874,14 +9890,14 @@ function pv(t) {
|
|
|
9874
9890
|
locale: l
|
|
9875
9891
|
});
|
|
9876
9892
|
break;
|
|
9877
|
-
case
|
|
9893
|
+
case gi.MonthOfYear:
|
|
9878
9894
|
r = yf({
|
|
9879
9895
|
monthNumber: Number(s),
|
|
9880
9896
|
format: a.intlOptions,
|
|
9881
9897
|
locale: l
|
|
9882
9898
|
});
|
|
9883
9899
|
break;
|
|
9884
|
-
case
|
|
9900
|
+
case gi.HourOfDay:
|
|
9885
9901
|
r = pf({
|
|
9886
9902
|
hour: Number(s),
|
|
9887
9903
|
format: a.intlOptions,
|
|
@@ -9907,7 +9923,7 @@ function pv(t) {
|
|
|
9907
9923
|
};
|
|
9908
9924
|
}
|
|
9909
9925
|
function bv(t, e) {
|
|
9910
|
-
const i = { ...
|
|
9926
|
+
const i = { ...Ri(e) }, a = [
|
|
9911
9927
|
"year",
|
|
9912
9928
|
"month",
|
|
9913
9929
|
"day",
|
|
@@ -9932,13 +9948,13 @@ function Uc(t) {
|
|
|
9932
9948
|
}
|
|
9933
9949
|
function fm(t) {
|
|
9934
9950
|
const { dataContext: e, defaultValue: i, chartUID: a } = t;
|
|
9935
|
-
let n =
|
|
9951
|
+
let n = Si(e);
|
|
9936
9952
|
const o = M(a, "config"), s = M(a, "rendererFieldNames"), r = z(o?.series), l = H(o?.series);
|
|
9937
9953
|
return r === y.BoxPlotSeries && (l === L.BoxPlotMonoField || l === L.BoxPlotMultiFields || l === L.BoxPlotMonoFieldAndSplitBy || l === L.BoxPlotMultiFieldsAndSplitBy) ? n = e?.[oo] : r === y.HistogramSeries ? n = e?.[_n.Start] : n = qt({
|
|
9938
9954
|
value: i ?? "",
|
|
9939
9955
|
dataContext: e,
|
|
9940
9956
|
useRendererLabel: ks(o, s)
|
|
9941
|
-
}), { labelValue: n, originalLabelValue:
|
|
9957
|
+
}), { labelValue: n, originalLabelValue: Si(e) };
|
|
9942
9958
|
}
|
|
9943
9959
|
function yv(t, e) {
|
|
9944
9960
|
const { chart: i } = t;
|
|
@@ -9961,7 +9977,7 @@ function yv(t, e) {
|
|
|
9961
9977
|
let f = o;
|
|
9962
9978
|
const m = s.dataItem?.dataContext, g = M(t.chart?.uid ?? NaN, "config");
|
|
9963
9979
|
if (z(g?.series) === y.HeatSeries) {
|
|
9964
|
-
const x =
|
|
9980
|
+
const x = ta(t.get("renderer")) ? m?.[ce.xField] : m?.[ce.yField];
|
|
9965
9981
|
typeof x == "string" && (f = x);
|
|
9966
9982
|
}
|
|
9967
9983
|
const b = fm({
|
|
@@ -9980,7 +9996,7 @@ function yv(t, e) {
|
|
|
9980
9996
|
let r = o;
|
|
9981
9997
|
const l = M(i.uid, "config");
|
|
9982
9998
|
if (!Gt(s.uid, "isGuide") && l !== void 0) {
|
|
9983
|
-
const d = l.rotated ?? !1, u =
|
|
9999
|
+
const d = l.rotated ?? !1, u = ta(t.get("renderer"), d), f = l.axes?.[u ? 0 : 1], m = {
|
|
9984
10000
|
type: se.TS,
|
|
9985
10001
|
...f?.labels.content,
|
|
9986
10002
|
text: o
|
|
@@ -10055,8 +10071,8 @@ function Cv(t) {
|
|
|
10055
10071
|
}), b = g === void 0 || o || f !== void 0 && Uc({ axis: g, valueFormat: f, chartType: l });
|
|
10056
10072
|
return r || s?.[0] || s?.[1] || p || b;
|
|
10057
10073
|
}
|
|
10058
|
-
function
|
|
10059
|
-
return t instanceof ei && e !== !0 || t instanceof va && e === !0 || t instanceof
|
|
10074
|
+
function ta(t, e) {
|
|
10075
|
+
return t instanceof ei && e !== !0 || t instanceof va && e === !0 || t instanceof Hi;
|
|
10060
10076
|
}
|
|
10061
10077
|
function Ps(t) {
|
|
10062
10078
|
return t instanceof ei;
|
|
@@ -10085,12 +10101,12 @@ function mm(t) {
|
|
|
10085
10101
|
if (n !== void 0) {
|
|
10086
10102
|
const s = M(n.uid, "config"), r = M(n.uid, "isRotated");
|
|
10087
10103
|
if (s !== void 0) {
|
|
10088
|
-
const l =
|
|
10104
|
+
const l = ta(e.get("renderer"), r);
|
|
10089
10105
|
let c = 0;
|
|
10090
10106
|
l || (c = i === !0 ? 2 : 1);
|
|
10091
10107
|
const { isLogarithmic: d } = s.axes?.[c] ?? {};
|
|
10092
10108
|
if (d === !0) {
|
|
10093
|
-
const u = mo({ chartConfig: s, isSecondValueAxis: i }), f = a !== void 0 && "dataItems" in a ?
|
|
10109
|
+
const u = mo({ chartConfig: s, isSecondValueAxis: i }), f = a !== void 0 && "dataItems" in a ? vi(a) : void 0, { minY: m, maxY: g, minX: p, maxX: b } = bs({
|
|
10094
10110
|
chartConfig: s,
|
|
10095
10111
|
chartData: f ?? n.series.getIndex(0)?.data.values ?? [],
|
|
10096
10112
|
filteredSeriesIds: u
|
|
@@ -10198,7 +10214,7 @@ function kv(t) {
|
|
|
10198
10214
|
if (l !== void 0) {
|
|
10199
10215
|
const c = M(l.uid, "config"), d = c?.rotated;
|
|
10200
10216
|
if (l instanceof Le && c !== void 0) {
|
|
10201
|
-
const u = z(c?.series), f = Ut(c), m =
|
|
10217
|
+
const u = z(c?.series), f = Ut(c), m = ta(e.get("renderer"), d), g = cv(l), p = mo({ chartConfig: c, isSecondValueAxis: o, seriesIds: g }), b = vi(n), S = bs({
|
|
10202
10218
|
chartConfig: c,
|
|
10203
10219
|
// using either the provided data (at creation or after a data update) or the current series data
|
|
10204
10220
|
chartData: b ?? l.series.getIndex(0)?.data.values ?? [],
|
|
@@ -10309,9 +10325,9 @@ function _c(t, e) {
|
|
|
10309
10325
|
if (i) {
|
|
10310
10326
|
const a = M(i.uid, "isRotated"), n = M(i.uid, "config"), o = z(n?.series), s = [], r = (l, c) => {
|
|
10311
10327
|
if (l instanceof Pe) {
|
|
10312
|
-
const d = l.get("renderer") instanceof
|
|
10328
|
+
const d = l.get("renderer") instanceof Hi;
|
|
10313
10329
|
s.push({
|
|
10314
|
-
isXAxis:
|
|
10330
|
+
isXAxis: ta(l.get("renderer"), a),
|
|
10315
10331
|
isSecondValueAxis: c === 1 && o !== y.HistogramSeries,
|
|
10316
10332
|
// histogram have 2 x-axes but it's not what we consider as "second value axis"
|
|
10317
10333
|
minimum: d ? l.get("min") : l.getPrivate("min"),
|
|
@@ -10354,7 +10370,7 @@ function Mv(t) {
|
|
|
10354
10370
|
s.adapters.add("tooltipText", (c, d) => {
|
|
10355
10371
|
let u = c;
|
|
10356
10372
|
const { dataItem: f } = d;
|
|
10357
|
-
if (!(e.get("renderer") instanceof
|
|
10373
|
+
if (!(e.get("renderer") instanceof Hi)) {
|
|
10358
10374
|
const m = Aa(
|
|
10359
10375
|
e.uid,
|
|
10360
10376
|
"guideTooltipFormatter"
|
|
@@ -10387,7 +10403,7 @@ function Mv(t) {
|
|
|
10387
10403
|
if (u && d) {
|
|
10388
10404
|
const f = M(u.uid, "config"), m = M(u.uid, "isRotated");
|
|
10389
10405
|
if (f) {
|
|
10390
|
-
const p = !
|
|
10406
|
+
const p = !ta(e.get("renderer"), m) ? 1 : 0, S = f?.axes?.[p]?.guides?.[a];
|
|
10391
10407
|
if (S) {
|
|
10392
10408
|
const { tooltipReverseColor: x } = S;
|
|
10393
10409
|
_f(d, x);
|
|
@@ -10403,7 +10419,7 @@ function Pv(t, e) {
|
|
|
10403
10419
|
const { guideName: a, start: n, end: o } = i, { chart: s, root: r } = t;
|
|
10404
10420
|
let l = "";
|
|
10405
10421
|
if (s !== void 0) {
|
|
10406
|
-
const c = M(s.uid, "config"), d = M(s.uid, "isRotated"), f = !
|
|
10422
|
+
const c = M(s.uid, "config"), d = M(s.uid, "isRotated"), f = !ta(t.get("renderer"), d) ? 1 : 0, g = c?.axes?.[f]?.guides;
|
|
10407
10423
|
let p = n, b = o;
|
|
10408
10424
|
if (t instanceof dt) {
|
|
10409
10425
|
let F;
|
|
@@ -10641,7 +10657,7 @@ function jv(t) {
|
|
|
10641
10657
|
if (typeof o == "number" && Number.isFinite(o))
|
|
10642
10658
|
l = o;
|
|
10643
10659
|
else if (i !== y.RadarSeries)
|
|
10644
|
-
if (r instanceof
|
|
10660
|
+
if (r instanceof Hi)
|
|
10645
10661
|
l = I.gauge.gaugeMinGridDistance;
|
|
10646
10662
|
else if (e instanceof Pe)
|
|
10647
10663
|
l = r instanceof ei ? I.xAxisMinGridDistance : I.yAxisMinGridDistance;
|
|
@@ -10747,7 +10763,7 @@ function Zv(t) {
|
|
|
10747
10763
|
labelConfig: o,
|
|
10748
10764
|
chartType: s
|
|
10749
10765
|
} = t, r = e.get("renderer");
|
|
10750
|
-
if (!(r instanceof
|
|
10766
|
+
if (!(r instanceof Hi))
|
|
10751
10767
|
if (Ps(r) && n?.[0] === !0)
|
|
10752
10768
|
switch (s === y.HistogramSeries && i === void 0 ? Ie.Hide : i) {
|
|
10753
10769
|
case Ie.Hide:
|
|
@@ -10789,7 +10805,7 @@ function eF(t) {
|
|
|
10789
10805
|
axisLabelsBehaviorChanged: o,
|
|
10790
10806
|
chartType: s
|
|
10791
10807
|
} = t, r = { ...i }, l = e.get("renderer"), c = l?.get("opposite");
|
|
10792
|
-
Ps(l) ? (r.content.horizontalAlignment = me.Center, r.content.verticalAlignment = c ? re.Bottom : re.Top) : (r.content.horizontalAlignment = c ? me.Left : me.Right, r.content.verticalAlignment = re.Middle), l instanceof
|
|
10808
|
+
Ps(l) ? (r.content.horizontalAlignment = me.Center, r.content.verticalAlignment = c ? re.Bottom : re.Top) : (r.content.horizontalAlignment = c ? me.Left : me.Right, r.content.verticalAlignment = re.Middle), l instanceof Hi ? Jv({ renderer: l, axisConfig: t.axisConfig, labelConfig: i }) : r.content.angle = r.content.angle ?? l.labels.template.get("rotation"), xi({
|
|
10793
10809
|
label: l.labels.template,
|
|
10794
10810
|
labelConfig: r
|
|
10795
10811
|
}), Zv({
|
|
@@ -10805,9 +10821,9 @@ function tF(t) {
|
|
|
10805
10821
|
const { axis: e, isHorizontalAxis: i, label: a } = t, { chart: n } = e;
|
|
10806
10822
|
if (n) {
|
|
10807
10823
|
const o = i ? "width" : "height", s = i ? ue.XAxisTitle : ue.YAxisTitle;
|
|
10808
|
-
|
|
10824
|
+
Ji({ chart: n, label: a, labelType: s }), e.onPrivate(
|
|
10809
10825
|
o,
|
|
10810
|
-
Je(() =>
|
|
10826
|
+
Je(() => Ji({ chart: n, label: a, labelType: s }), I.debounceTime)
|
|
10811
10827
|
);
|
|
10812
10828
|
}
|
|
10813
10829
|
}
|
|
@@ -10959,7 +10975,7 @@ function dF(t, e) {
|
|
|
10959
10975
|
}
|
|
10960
10976
|
async function uF(t) {
|
|
10961
10977
|
const { chart: e, chartConfig: i, data: a, queryObject: n, xAxisLabelFormatter: o, utilsStrings: s, errorStrings: r } = t, { axes: l, series: c } = i, d = so(i), { featureIndex: u, x: f } = c[0], m = l?.[0], g = e.xAxes.getIndex(0), p = { ...m };
|
|
10962
|
-
if (g instanceof Pe && g.get("renderer") instanceof
|
|
10978
|
+
if (g instanceof Pe && g.get("renderer") instanceof Hi && p !== void 0 && a && "dataItems" in a) {
|
|
10963
10979
|
const { valueFormat: b, needle: S } = p;
|
|
10964
10980
|
cF(e, i), dF(e, i);
|
|
10965
10981
|
const x = await xm({
|
|
@@ -11006,7 +11022,7 @@ async function fF(t) {
|
|
|
11006
11022
|
Pe.new(n, {
|
|
11007
11023
|
min: 0,
|
|
11008
11024
|
max: 100,
|
|
11009
|
-
renderer:
|
|
11025
|
+
renderer: Hi.new(n, {})
|
|
11010
11026
|
})
|
|
11011
11027
|
);
|
|
11012
11028
|
rF(o), hm(o);
|
|
@@ -11163,7 +11179,7 @@ function ya(t) {
|
|
|
11163
11179
|
function bF(t) {
|
|
11164
11180
|
const { axis: e, data: i, chartType: a } = t;
|
|
11165
11181
|
if (i !== void 0) {
|
|
11166
|
-
const n =
|
|
11182
|
+
const n = vi(i);
|
|
11167
11183
|
if (a !== y.HeatSeries)
|
|
11168
11184
|
e.data.setAll(n ?? []);
|
|
11169
11185
|
else {
|
|
@@ -11179,11 +11195,11 @@ function bF(t) {
|
|
|
11179
11195
|
}
|
|
11180
11196
|
function yF(t) {
|
|
11181
11197
|
const { axis: e, axisTitleConfig: i, isSecondValueAxis: a } = t, n = e.get("renderer"), { chart: o } = e, s = Ps(n), r = Ve({ childId: Cm(e, s), parent: e, useChildId: !0 }) ?? pF({ axis: e, isHorizontalAxis: s, isSecondValueAxis: a });
|
|
11182
|
-
if (r instanceof
|
|
11198
|
+
if (r instanceof ji) {
|
|
11183
11199
|
const l = s ? { ...I.xAxisTitleLabel, verticalCenter: re.Top } : I.yAxisTitleLabel;
|
|
11184
|
-
if (
|
|
11200
|
+
if (xi({ label: r, labelConfig: i, defaults: l }), s && a !== !0 && vm(e, r), o) {
|
|
11185
11201
|
const c = { chart: o, label: r, labelType: s ? ue.XAxisTitle : ue.YAxisTitle };
|
|
11186
|
-
|
|
11202
|
+
Ji(c);
|
|
11187
11203
|
}
|
|
11188
11204
|
}
|
|
11189
11205
|
}
|
|
@@ -11222,18 +11238,18 @@ async function $l(t) {
|
|
|
11222
11238
|
zeroGridLine: { displayZeroLine: T, strokeWidth: F?.width ?? I.lineWidth, visible: F !== void 0 }
|
|
11223
11239
|
}), Lv({ axis: e, isLogarithmic: v, isSecondValueAxis: d }), await xv({
|
|
11224
11240
|
axis: e,
|
|
11225
|
-
isXAxis:
|
|
11241
|
+
isXAxis: ta(e.get("renderer"), W),
|
|
11226
11242
|
chartType: P,
|
|
11227
11243
|
formatOptions: k,
|
|
11228
11244
|
isNonAggregatedChart: c,
|
|
11229
11245
|
overridePercentMultiplication: V === Ce.Stacked100,
|
|
11230
11246
|
externalAxisLabelFormatter: f,
|
|
11231
11247
|
errorStrings: p
|
|
11232
|
-
}), Sv({ axis: e, isRotated: W, chartConfig: u }), Bv({ axis: e, timeIntervalInfo: n, dateBaseInterval: R }),
|
|
11248
|
+
}), Sv({ axis: e, isRotated: W, chartConfig: u }), Bv({ axis: e, timeIntervalInfo: n, dateBaseInterval: R }), $i({
|
|
11233
11249
|
element: G,
|
|
11234
11250
|
lineSymbol: { color: [...I.color], ...S ?? co() },
|
|
11235
11251
|
visible: b
|
|
11236
|
-
}),
|
|
11252
|
+
}), $i({ element: G.ticks.template, lineSymbol: S, visible: b }), $i({ element: G.grid.template, lineSymbol: F, visible: b }), F === void 0 && (e.get("renderer").grid.template.set("strokeWidth", I.lineWidth), e.markDirtyValues()), eF({
|
|
11237
11253
|
axis: e,
|
|
11238
11254
|
axisConfig: a,
|
|
11239
11255
|
chartType: P,
|
|
@@ -11291,7 +11307,7 @@ async function xF(t) {
|
|
|
11291
11307
|
...c,
|
|
11292
11308
|
axes: e.xAxes,
|
|
11293
11309
|
valueFormat: r.valueFormat,
|
|
11294
|
-
axisRenderer:
|
|
11310
|
+
axisRenderer: Hi.new(s, {}),
|
|
11295
11311
|
isXAxis: !0,
|
|
11296
11312
|
x: n
|
|
11297
11313
|
}), ya({
|
|
@@ -11440,7 +11456,7 @@ function FF(t, e) {
|
|
|
11440
11456
|
color: e?.color ?? i.color,
|
|
11441
11457
|
width: e?.width ?? i.width
|
|
11442
11458
|
}, n = t.get("cursor")?.lineX, o = t.get("cursor")?.lineY;
|
|
11443
|
-
|
|
11459
|
+
$i({ element: n, lineSymbol: a }), $i({ element: o, lineSymbol: a });
|
|
11444
11460
|
}
|
|
11445
11461
|
function wm(t) {
|
|
11446
11462
|
const { root: e, chart: i, config: a } = t;
|
|
@@ -11473,7 +11489,7 @@ function LF(t) {
|
|
|
11473
11489
|
break;
|
|
11474
11490
|
case n instanceof Ae:
|
|
11475
11491
|
const o = Te(n.uid, "bulletTemplate");
|
|
11476
|
-
o !== void 0 && !
|
|
11492
|
+
o !== void 0 && !ra(n) && o.set("cursorOverStyle", a);
|
|
11477
11493
|
break;
|
|
11478
11494
|
case n instanceof Nt:
|
|
11479
11495
|
n.slices.template.setAll({ cursorOverStyle: a });
|
|
@@ -11522,24 +11538,24 @@ function BF(t, e) {
|
|
|
11522
11538
|
root: t,
|
|
11523
11539
|
defaults: I.headerContainer,
|
|
11524
11540
|
parent: e,
|
|
11525
|
-
id:
|
|
11541
|
+
id: pi(Cl, e.uid),
|
|
11526
11542
|
index: 0
|
|
11527
11543
|
}), a = Fr({
|
|
11528
11544
|
root: t,
|
|
11529
11545
|
defaults: I.headerContainer,
|
|
11530
11546
|
parent: e,
|
|
11531
|
-
id:
|
|
11547
|
+
id: pi(vl, e.uid),
|
|
11532
11548
|
index: 1
|
|
11533
11549
|
}), n = Kn({
|
|
11534
11550
|
root: t,
|
|
11535
11551
|
parent: i,
|
|
11536
11552
|
defaults: I.titleLabel,
|
|
11537
|
-
id:
|
|
11553
|
+
id: pi(kf, i.uid)
|
|
11538
11554
|
}), o = Kn({
|
|
11539
11555
|
root: t,
|
|
11540
11556
|
parent: a,
|
|
11541
11557
|
defaults: I.subtitleLabel,
|
|
11542
|
-
id:
|
|
11558
|
+
id: pi(Df, a.uid)
|
|
11543
11559
|
});
|
|
11544
11560
|
Zn({
|
|
11545
11561
|
chart: e,
|
|
@@ -11555,11 +11571,11 @@ function km(t, e) {
|
|
|
11555
11571
|
const { title: i, subtitle: a } = e ?? {}, n = Ve({ childId: Cl, parent: t });
|
|
11556
11572
|
if (n !== void 0) {
|
|
11557
11573
|
const s = Ve({ childId: kf, parent: n });
|
|
11558
|
-
s !== void 0 && (
|
|
11574
|
+
s !== void 0 && (xi({
|
|
11559
11575
|
label: s,
|
|
11560
11576
|
labelConfig: i,
|
|
11561
11577
|
defaults: I.titleLabel
|
|
11562
|
-
}),
|
|
11578
|
+
}), Ji({
|
|
11563
11579
|
chart: t,
|
|
11564
11580
|
label: s,
|
|
11565
11581
|
labelType: ue.ChartTitle
|
|
@@ -11568,11 +11584,11 @@ function km(t, e) {
|
|
|
11568
11584
|
const o = Ve({ childId: vl, parent: t });
|
|
11569
11585
|
if (o !== void 0) {
|
|
11570
11586
|
const s = Ve({ childId: Df, parent: o });
|
|
11571
|
-
s !== void 0 && (
|
|
11587
|
+
s !== void 0 && (xi({
|
|
11572
11588
|
label: s,
|
|
11573
11589
|
labelConfig: a,
|
|
11574
11590
|
defaults: I.subtitleLabel
|
|
11575
|
-
}),
|
|
11591
|
+
}), Ji({
|
|
11576
11592
|
chart: t,
|
|
11577
11593
|
label: s,
|
|
11578
11594
|
labelType: ue.ChartSubTitle
|
|
@@ -11587,11 +11603,11 @@ function wF(t) {
|
|
|
11587
11603
|
root: e,
|
|
11588
11604
|
defaults: I.footerContainer,
|
|
11589
11605
|
parent: t,
|
|
11590
|
-
id:
|
|
11606
|
+
id: pi(Fl, t.uid)
|
|
11591
11607
|
}), a = Kn({
|
|
11592
11608
|
root: e,
|
|
11593
11609
|
parent: i,
|
|
11594
|
-
id:
|
|
11610
|
+
id: pi(Nf, i.uid)
|
|
11595
11611
|
});
|
|
11596
11612
|
Zn({
|
|
11597
11613
|
chart: t,
|
|
@@ -11603,11 +11619,11 @@ function Dm(t, e) {
|
|
|
11603
11619
|
const i = Ve({ childId: Fl, parent: t });
|
|
11604
11620
|
if (i !== void 0) {
|
|
11605
11621
|
const a = Ve({ childId: Nf, parent: i });
|
|
11606
|
-
a !== void 0 && (
|
|
11622
|
+
a !== void 0 && (xi({
|
|
11607
11623
|
label: a,
|
|
11608
11624
|
labelConfig: e,
|
|
11609
11625
|
defaults: I.footer
|
|
11610
|
-
}),
|
|
11626
|
+
}), Ji({
|
|
11611
11627
|
chart: t,
|
|
11612
11628
|
label: a,
|
|
11613
11629
|
labelType: ue.ChartFooter
|
|
@@ -11616,7 +11632,7 @@ function Dm(t, e) {
|
|
|
11616
11632
|
}
|
|
11617
11633
|
function IF(t) {
|
|
11618
11634
|
const { root: e, parent: i, curtainColor: a } = t, n = ge(a ?? I.backgroundColor), o = on.new(e, {
|
|
11619
|
-
id:
|
|
11635
|
+
id: pi(Of, i.uid),
|
|
11620
11636
|
width: _e,
|
|
11621
11637
|
height: _e,
|
|
11622
11638
|
interactive: !0,
|
|
@@ -11631,8 +11647,8 @@ function IF(t) {
|
|
|
11631
11647
|
return i.children.push(o), o;
|
|
11632
11648
|
}
|
|
11633
11649
|
function kF(t) {
|
|
11634
|
-
const { root: e, parent: i, spinnerColor: a } = t, n = ge(a ?? I.loaderSpinnerColor), o =
|
|
11635
|
-
id:
|
|
11650
|
+
const { root: e, parent: i, spinnerColor: a } = t, n = ge(a ?? I.loaderSpinnerColor), o = zi.new(e, {
|
|
11651
|
+
id: pi($f, i.uid),
|
|
11636
11652
|
centerX: $e,
|
|
11637
11653
|
centerY: $e,
|
|
11638
11654
|
x: $e,
|
|
@@ -11789,11 +11805,11 @@ function zF(t) {
|
|
|
11789
11805
|
[f]: d,
|
|
11790
11806
|
maskBullets: !1
|
|
11791
11807
|
});
|
|
11792
|
-
|
|
11808
|
+
Ti(g.columns.template, s?.selectionTheme);
|
|
11793
11809
|
const p = xn.new({});
|
|
11794
|
-
return Xe(g.uid, { bulletTemplate: p }),
|
|
11795
|
-
const S =
|
|
11796
|
-
return
|
|
11810
|
+
return Xe(g.uid, { bulletTemplate: p }), Bi(g.columns.template, g), g.bullets.push((b) => {
|
|
11811
|
+
const S = zi.new(b, {}, p);
|
|
11812
|
+
return aa.new(b, {
|
|
11797
11813
|
sprite: S
|
|
11798
11814
|
});
|
|
11799
11815
|
}), g.columns.template.set("width", xt(100)), Dl(g), Gf(g), Mf(g), So(g), g.appear(), g;
|
|
@@ -11815,7 +11831,7 @@ function HF(t) {
|
|
|
11815
11831
|
seriesIndex: a,
|
|
11816
11832
|
colorMatch: s,
|
|
11817
11833
|
seriesSymbol: m ?? b,
|
|
11818
|
-
element:
|
|
11834
|
+
element: zi.new(l, {}),
|
|
11819
11835
|
isChartFillSymbol: !0
|
|
11820
11836
|
}) : e.columns.each((S) => {
|
|
11821
11837
|
const x = S.dataItem?.dataContext;
|
|
@@ -11961,7 +11977,7 @@ function XF(t) {
|
|
|
11961
11977
|
seriesIndex: o,
|
|
11962
11978
|
tooltipFormatter: n?.tooltipFormatter,
|
|
11963
11979
|
utilsStrings: d
|
|
11964
|
-
}),
|
|
11980
|
+
}), la(t) && ca({
|
|
11965
11981
|
// TODO: Remove the type assertion and correct the typings
|
|
11966
11982
|
styleCallback: qF,
|
|
11967
11983
|
callbackProps: t,
|
|
@@ -12038,7 +12054,7 @@ function jF(t) {
|
|
|
12038
12054
|
e.columns.length === 0 ? d = wt({
|
|
12039
12055
|
...u,
|
|
12040
12056
|
seriesSymbol: c,
|
|
12041
|
-
element:
|
|
12057
|
+
element: zi.new(l, {})
|
|
12042
12058
|
}) : e.columns.each((f) => {
|
|
12043
12059
|
d = wt({
|
|
12044
12060
|
...u,
|
|
@@ -12061,7 +12077,7 @@ function jF(t) {
|
|
|
12061
12077
|
}
|
|
12062
12078
|
function _F(t) {
|
|
12063
12079
|
const { candleStickSeries: e, seriesConfig: i } = t;
|
|
12064
|
-
Nn(e, i.name), UF(t),
|
|
12080
|
+
Nn(e, i.name), UF(t), la(t) && ca({
|
|
12065
12081
|
// TODO: Remove the type assertion and correct the typings
|
|
12066
12082
|
styleCallback: jF,
|
|
12067
12083
|
callbackProps: t,
|
|
@@ -12083,7 +12099,7 @@ function QF(t) {
|
|
|
12083
12099
|
[c.dataFields.high]: c.properties.high,
|
|
12084
12100
|
[c.dataFields.value]: c.properties.value,
|
|
12085
12101
|
[c.dataFields.category]: c.properties.category
|
|
12086
|
-
}), l.columns.template.setAll({ themeTags: [], width: xt(80) }),
|
|
12102
|
+
}), l.columns.template.setAll({ themeTags: [], width: xt(80) }), Ti(l.columns.template, s?.selectionTheme), Bi(l.columns.template, l);
|
|
12087
12103
|
}
|
|
12088
12104
|
return l;
|
|
12089
12105
|
}
|
|
@@ -12131,7 +12147,7 @@ function eL(t) {
|
|
|
12131
12147
|
}), l.appear();
|
|
12132
12148
|
const d = xn.new({});
|
|
12133
12149
|
Xe(l.uid, { bulletTemplate: d }), l.bullets.push((u) => {
|
|
12134
|
-
const f =
|
|
12150
|
+
const f = zi.new(
|
|
12135
12151
|
u,
|
|
12136
12152
|
{
|
|
12137
12153
|
tooltipText: " ",
|
|
@@ -12140,10 +12156,10 @@ function eL(t) {
|
|
|
12140
12156
|
// necessary for accessibility on bullets
|
|
12141
12157
|
},
|
|
12142
12158
|
d
|
|
12143
|
-
), m =
|
|
12159
|
+
), m = aa.new(u, {
|
|
12144
12160
|
sprite: f
|
|
12145
12161
|
});
|
|
12146
|
-
return
|
|
12162
|
+
return Ti(f, s?.selectionTheme), l && Bi(f, l), m;
|
|
12147
12163
|
}), Xe(l.uid, { isBoxPlotMeanLineSeries: !0 });
|
|
12148
12164
|
}
|
|
12149
12165
|
return l;
|
|
@@ -12206,7 +12222,7 @@ function sL(t) {
|
|
|
12206
12222
|
sortChanged: n,
|
|
12207
12223
|
dataWasUpdated: o,
|
|
12208
12224
|
seriesWereReinitialized: r
|
|
12209
|
-
}),
|
|
12225
|
+
}), la(t) && ca({
|
|
12210
12226
|
// TODO: Remove the type assertion and correct the typings
|
|
12211
12227
|
styleCallback: oL,
|
|
12212
12228
|
callbackProps: t,
|
|
@@ -12228,7 +12244,7 @@ function rL(t) {
|
|
|
12228
12244
|
}), l.strokes.template.set("forceHidden", !0);
|
|
12229
12245
|
const d = xn.new({});
|
|
12230
12246
|
Xe(l.uid, { bulletTemplate: d }), l.bullets.push((u) => {
|
|
12231
|
-
const f =
|
|
12247
|
+
const f = zi.new(
|
|
12232
12248
|
u,
|
|
12233
12249
|
{
|
|
12234
12250
|
tooltipText: " ",
|
|
@@ -12237,10 +12253,10 @@ function rL(t) {
|
|
|
12237
12253
|
// necessary for accessibility on bullets
|
|
12238
12254
|
},
|
|
12239
12255
|
d
|
|
12240
|
-
), m =
|
|
12256
|
+
), m = aa.new(u, {
|
|
12241
12257
|
sprite: f
|
|
12242
12258
|
});
|
|
12243
|
-
return
|
|
12259
|
+
return Ti(f, s?.selectionTheme), l && Bi(f, l), mL({ outlierSeries: l, bullet: m, seriesConfigId: r.id }), m;
|
|
12244
12260
|
}), Xe(l.uid, { isBoxPlotOutliersSeries: !0 }), l.appear();
|
|
12245
12261
|
}
|
|
12246
12262
|
return l;
|
|
@@ -12299,7 +12315,7 @@ function dL(t) {
|
|
|
12299
12315
|
}
|
|
12300
12316
|
function uL(t) {
|
|
12301
12317
|
const { stepLineSeries: e, data: i, seriesConfig: a, rotationChanged: n, sortChanged: o, dataWasUpdated: s, seriesWereReinitialized: r } = t, l = a.visible !== !1;
|
|
12302
|
-
e !== void 0 && a.type === y.BoxPlotSeries && (He(e, l),
|
|
12318
|
+
e !== void 0 && a.type === y.BoxPlotSeries && (He(e, l), la(t) && ca({
|
|
12303
12319
|
// TODO: Remove the type assertion and correct the typings
|
|
12304
12320
|
styleCallback: dL,
|
|
12305
12321
|
callbackProps: t,
|
|
@@ -12326,7 +12342,7 @@ function sr(t) {
|
|
|
12326
12342
|
noRisers: !0,
|
|
12327
12343
|
[d.dataFields.value]: d.properties.value,
|
|
12328
12344
|
[d.dataFields.category]: d.properties.category
|
|
12329
|
-
}),
|
|
12345
|
+
}), Ti(c.strokes.template, r?.selectionTheme), Bi(c.strokes.template, c);
|
|
12330
12346
|
}
|
|
12331
12347
|
return c;
|
|
12332
12348
|
}
|
|
@@ -12529,8 +12545,8 @@ function yL(t) {
|
|
|
12529
12545
|
function SL(t) {
|
|
12530
12546
|
const { series: e, dataLabelsConfig: i, externalDataLabelFormatter: a } = t;
|
|
12531
12547
|
e.bullets.push(() => {
|
|
12532
|
-
const n =
|
|
12533
|
-
sprite:
|
|
12548
|
+
const n = aa.new(e.root, {
|
|
12549
|
+
sprite: ji.new(e.root, {
|
|
12534
12550
|
text: "{value}",
|
|
12535
12551
|
populateText: !0,
|
|
12536
12552
|
centerY: _e,
|
|
@@ -12587,7 +12603,7 @@ Value: {${ce.valueField}}`,
|
|
|
12587
12603
|
width: xt(120),
|
|
12588
12604
|
// TODO: figure out why 100% is not producing the expected result. Is there a stroke interfering?
|
|
12589
12605
|
height: xt(120)
|
|
12590
|
-
}), Uf(o),
|
|
12606
|
+
}), Uf(o), Ti(o.columns.template, n?.selectionTheme), Bi(o.columns.template, o), o;
|
|
12591
12607
|
}
|
|
12592
12608
|
function vL(t) {
|
|
12593
12609
|
const { columnSeries: e, data: i, loaderHandle: a } = t;
|
|
@@ -12603,7 +12619,7 @@ function FL(t) {
|
|
|
12603
12619
|
dataField: "value",
|
|
12604
12620
|
key: "fill",
|
|
12605
12621
|
customFunction: (C, v, F, A) => {
|
|
12606
|
-
if (C instanceof
|
|
12622
|
+
if (C instanceof zi) {
|
|
12607
12623
|
let T, k;
|
|
12608
12624
|
Number.isFinite(A) ? typeof d == "number" && A < d ? { color: T, opacity: k } = S : typeof u == "number" && A > u ? { color: T, opacity: k } = x : (T = dh.interpolate((A - v) / (F - v), f, g, "rgb"), k = m + (A - v) / (F - v) * (p - m)) : { color: T, opacity: k } = b, T && C.set("fill", T), k !== void 0 && C.set("fillOpacity", k);
|
|
12609
12625
|
}
|
|
@@ -12806,7 +12822,7 @@ function kL(t) {
|
|
|
12806
12822
|
m.appear();
|
|
12807
12823
|
const g = xn.new({});
|
|
12808
12824
|
return Xe(m.uid, { bulletTemplate: g }), m.bullets.push((p) => {
|
|
12809
|
-
const b =
|
|
12825
|
+
const b = zi.new(
|
|
12810
12826
|
p,
|
|
12811
12827
|
{
|
|
12812
12828
|
focusable: !0,
|
|
@@ -12824,7 +12840,7 @@ function kL(t) {
|
|
|
12824
12840
|
},
|
|
12825
12841
|
g
|
|
12826
12842
|
);
|
|
12827
|
-
return
|
|
12843
|
+
return Ti(b, s?.selectionTheme), Bi(b, m), dm(b, m), aa.new(p, { sprite: b });
|
|
12828
12844
|
}), Dl(m), So(m), m;
|
|
12829
12845
|
}
|
|
12830
12846
|
function DL(t) {
|
|
@@ -12924,7 +12940,7 @@ function $L(t) {
|
|
|
12924
12940
|
seriesIndex: o,
|
|
12925
12941
|
tooltipFormatter: n?.tooltipFormatter,
|
|
12926
12942
|
utilsStrings: d
|
|
12927
|
-
}),
|
|
12943
|
+
}), la(t) && ca({
|
|
12928
12944
|
// TODO: Remove the type assertion and correct the typings
|
|
12929
12945
|
styleCallback: NL,
|
|
12930
12946
|
callbackProps: t,
|
|
@@ -13024,7 +13040,7 @@ function EL(t) {
|
|
|
13024
13040
|
const { pieSeries: e, seriesConfig: i, dataLabelFormatter: a } = t, { dataLabels: n } = i, o = i.dataLabelsOffset ?? I.pieChart.dataLabelsOffset, s = i.dataLabelsInside ?? I.pieChart.dataLabelsInside;
|
|
13025
13041
|
Xe(e.uid, {
|
|
13026
13042
|
pieChartDataLabelFormatter: a ?? VL(e, i)
|
|
13027
|
-
}),
|
|
13043
|
+
}), xi({
|
|
13028
13044
|
label: e.labels.template,
|
|
13029
13045
|
labelConfig: n,
|
|
13030
13046
|
defaults: {
|
|
@@ -13091,7 +13107,7 @@ function rd(t, e) {
|
|
|
13091
13107
|
isPieFromFields: s
|
|
13092
13108
|
});
|
|
13093
13109
|
p[I.pieChart.technicalFieldSliceId] = S;
|
|
13094
|
-
const x = Zo(r.slices, S), C =
|
|
13110
|
+
const x = Zo(r.slices, S), C = Ai(p), v = WL({
|
|
13095
13111
|
root: i,
|
|
13096
13112
|
dataContext: p,
|
|
13097
13113
|
seriesConfig: r,
|
|
@@ -13133,7 +13149,7 @@ async function Wm(t) {
|
|
|
13133
13149
|
seriesConfig: c,
|
|
13134
13150
|
fieldList: b,
|
|
13135
13151
|
labelUpdateNeeded: r,
|
|
13136
|
-
colorMatch:
|
|
13152
|
+
colorMatch: Ci(n),
|
|
13137
13153
|
utilsStrings: l
|
|
13138
13154
|
}, { slices: x, groupOfSlicesSymbols: C, groupOfSlices: v } = rd(
|
|
13139
13155
|
i,
|
|
@@ -13154,7 +13170,7 @@ function zL(t, e) {
|
|
|
13154
13170
|
crisp: !1
|
|
13155
13171
|
});
|
|
13156
13172
|
const n = i?.lineSymbol ?? co({ color: tu });
|
|
13157
|
-
a && (n.width = 0),
|
|
13173
|
+
a && (n.width = 0), $i({
|
|
13158
13174
|
element: t.ticks.template,
|
|
13159
13175
|
lineSymbol: n,
|
|
13160
13176
|
visible: !a
|
|
@@ -13226,7 +13242,7 @@ function YL(t) {
|
|
|
13226
13242
|
// Prevent scaling on hover
|
|
13227
13243
|
stateAnimationDuration: 0
|
|
13228
13244
|
// Remove animation
|
|
13229
|
-
}),
|
|
13245
|
+
}), Ti(d.slices.template, a?.selectionTheme), Bi(d.slices.template, d), d.appear(), n instanceof Mi && jL(n, d), d;
|
|
13230
13246
|
}
|
|
13231
13247
|
function UL(t) {
|
|
13232
13248
|
const {
|
|
@@ -13250,7 +13266,7 @@ function UL(t) {
|
|
|
13250
13266
|
data: s,
|
|
13251
13267
|
loaderHandle: l,
|
|
13252
13268
|
labelUpdateNeeded: c
|
|
13253
|
-
}),
|
|
13269
|
+
}), la(t) && ca({
|
|
13254
13270
|
// TODO: Remove the type assertion and correct the typings
|
|
13255
13271
|
styleCallback: HL,
|
|
13256
13272
|
callbackProps: t,
|
|
@@ -13350,12 +13366,12 @@ function KL(t) {
|
|
|
13350
13366
|
m.appear();
|
|
13351
13367
|
const g = xn.new({});
|
|
13352
13368
|
return Xe(m.uid, { bulletTemplate: g }), m.bullets.push((p) => {
|
|
13353
|
-
const b =
|
|
13369
|
+
const b = zi.new(
|
|
13354
13370
|
p,
|
|
13355
13371
|
{ tooltip: Al(p, m), tooltipText: " " },
|
|
13356
13372
|
g
|
|
13357
13373
|
);
|
|
13358
|
-
return
|
|
13374
|
+
return Ti(b, s?.selectionTheme), Bi(b, m), aa.new(p, { sprite: b });
|
|
13359
13375
|
}), Dl(m), So(m), m;
|
|
13360
13376
|
}
|
|
13361
13377
|
function ZL(t) {
|
|
@@ -13427,7 +13443,7 @@ function e0(t) {
|
|
|
13427
13443
|
seriesIndex: s,
|
|
13428
13444
|
tooltipFormatter: o?.tooltipFormatter,
|
|
13429
13445
|
utilsStrings: m
|
|
13430
|
-
}),
|
|
13446
|
+
}), la(t) && ca({
|
|
13431
13447
|
// TODO: Remove the type assertion and correct the typings
|
|
13432
13448
|
styleCallback: JL,
|
|
13433
13449
|
callbackProps: t,
|
|
@@ -13564,7 +13580,7 @@ async function Vs(t) {
|
|
|
13564
13580
|
errorStrings: S,
|
|
13565
13581
|
groupOfSlicesUpdateNeeded: x,
|
|
13566
13582
|
labelUpdateNeeded: C
|
|
13567
|
-
} = t, { chartRenderer: v } = i, { root: F } = e, { series: A } = i, T = z(i.series), k = H(i.series), D = e.series.values, N =
|
|
13583
|
+
} = t, { chartRenderer: v } = i, { root: F } = e, { series: A } = i, T = z(i.series), k = H(i.series), D = e.series.values, N = Ci(i), R = i.series.length, $ = /* @__PURE__ */ new Map(), P = gs(g), V = await ft(g, a?.usePopupTemplateFieldsInfo), W = ve(g), G = ho(v, W.renderer), q = l || s || r || c, j = {
|
|
13568
13584
|
root: F,
|
|
13569
13585
|
chartConfig: i,
|
|
13570
13586
|
queryObject: g,
|
|
@@ -13615,7 +13631,7 @@ async function Vs(t) {
|
|
|
13615
13631
|
seriesConfig: U,
|
|
13616
13632
|
chartConfig: i,
|
|
13617
13633
|
showMean: ze(i),
|
|
13618
|
-
showOutliers:
|
|
13634
|
+
showOutliers: Gi(i)
|
|
13619
13635
|
});
|
|
13620
13636
|
break;
|
|
13621
13637
|
}
|
|
@@ -13633,7 +13649,7 @@ async function Vs(t) {
|
|
|
13633
13649
|
break;
|
|
13634
13650
|
}
|
|
13635
13651
|
case Fe === y.PieSeries: {
|
|
13636
|
-
Q instanceof Nt && e instanceof
|
|
13652
|
+
Q instanceof Nt && e instanceof Mi && ir(n) && UL({
|
|
13637
13653
|
...j,
|
|
13638
13654
|
series: Q,
|
|
13639
13655
|
seriesConfig: U,
|
|
@@ -13740,23 +13756,23 @@ function i0(t) {
|
|
|
13740
13756
|
}), o?.data.setAll(s)), s;
|
|
13741
13757
|
}
|
|
13742
13758
|
function a0(t) {
|
|
13743
|
-
|
|
13759
|
+
ra(t) || t.dataItems.forEach((e) => {
|
|
13744
13760
|
const i = e.bullets?.[0];
|
|
13745
13761
|
if (i) {
|
|
13746
|
-
const a = i.get("sprite"), n =
|
|
13762
|
+
const a = i.get("sprite"), n = oa(a.uid, "selected") !== !0;
|
|
13747
13763
|
At({ element: a, selected: n });
|
|
13748
13764
|
}
|
|
13749
13765
|
});
|
|
13750
13766
|
}
|
|
13751
13767
|
function n0(t) {
|
|
13752
13768
|
t.columns.each((e) => {
|
|
13753
|
-
const i =
|
|
13769
|
+
const i = oa(e.uid, "selected") !== !0;
|
|
13754
13770
|
At({ element: e, selected: i });
|
|
13755
13771
|
});
|
|
13756
13772
|
}
|
|
13757
13773
|
function o0(t) {
|
|
13758
13774
|
t.slices.each((e) => {
|
|
13759
|
-
const i =
|
|
13775
|
+
const i = oa(e.uid, "selected") !== !0;
|
|
13760
13776
|
At({ element: e, selected: i });
|
|
13761
13777
|
});
|
|
13762
13778
|
}
|
|
@@ -13846,7 +13862,7 @@ async function qm(t) {
|
|
|
13846
13862
|
].forEach((r) => {
|
|
13847
13863
|
const { axis: l, isSecondValueAxis: c } = r;
|
|
13848
13864
|
if (l !== void 0) {
|
|
13849
|
-
const d =
|
|
13865
|
+
const d = ta(l.get("renderer"), o);
|
|
13850
13866
|
mm({ axis: l, isSecondValueAxis: c, data: a }) || s.push(
|
|
13851
13867
|
Es({
|
|
13852
13868
|
chart: e,
|
|
@@ -13860,7 +13876,7 @@ async function qm(t) {
|
|
|
13860
13876
|
}
|
|
13861
13877
|
}
|
|
13862
13878
|
async function Gm(t) {
|
|
13863
|
-
const { chart: e, chartModal: i, chartConfig: a, data: n, errorStrings: o } = t, s = M(e.uid, "options"), r =
|
|
13879
|
+
const { chart: e, chartModal: i, chartConfig: a, data: n, errorStrings: o } = t, s = M(e.uid, "options"), r = vi(n);
|
|
13864
13880
|
(i?.get("content") === void 0 || i?.get("content") === "") && iu({
|
|
13865
13881
|
chartConfig: a,
|
|
13866
13882
|
nullAsValid: s?.nullAsValid,
|
|
@@ -13942,7 +13958,7 @@ function c0(t, e) {
|
|
|
13942
13958
|
), l = s(n, y.BarSeries).concat(
|
|
13943
13959
|
s(n, y.LineSeries)
|
|
13944
13960
|
)) : (r = s(a, a[0].type), l = s(n, n[0].type));
|
|
13945
|
-
const c = !
|
|
13961
|
+
const c = !yi(r, l);
|
|
13946
13962
|
let d = !1;
|
|
13947
13963
|
switch (o) {
|
|
13948
13964
|
case y.LineSeries:
|
|
@@ -13952,7 +13968,7 @@ function c0(t, e) {
|
|
|
13952
13968
|
(u) => u.type === y.LineSeries || u.type === y.RadarSeries
|
|
13953
13969
|
).some((u) => {
|
|
13954
13970
|
const f = a.find((m) => m.id === u.id);
|
|
13955
|
-
return (u.showArea ?? I.lineSeries.showArea) !== (f?.showArea ?? I.lineSeries.showArea) || (u.lineSmoothed ?? I.lineSeries.lineSmoothed) !== (f?.lineSmoothed ?? I.lineSeries.lineSmoothed) || (u.markerVisible ?? I.lineSeries.markerVisible) !== (f?.markerVisible ?? I.lineSeries.markerVisible) || u.showArea && !
|
|
13971
|
+
return (u.showArea ?? I.lineSeries.showArea) !== (f?.showArea ?? I.lineSeries.showArea) || (u.lineSmoothed ?? I.lineSeries.lineSmoothed) !== (f?.lineSmoothed ?? I.lineSeries.lineSmoothed) || (u.markerVisible ?? I.lineSeries.markerVisible) !== (f?.markerVisible ?? I.lineSeries.markerVisible) || u.showArea && !yi(u.areaColor, f?.areaColor);
|
|
13956
13972
|
});
|
|
13957
13973
|
break;
|
|
13958
13974
|
}
|
|
@@ -13998,7 +14014,7 @@ function h0(t, e) {
|
|
|
13998
14014
|
a = Ca;
|
|
13999
14015
|
break;
|
|
14000
14016
|
case y.PieSeries:
|
|
14001
|
-
a =
|
|
14017
|
+
a = Mi;
|
|
14002
14018
|
break;
|
|
14003
14019
|
default:
|
|
14004
14020
|
a = Le;
|
|
@@ -14069,7 +14085,7 @@ async function p0(t) {
|
|
|
14069
14085
|
seriesStyleChanged: b,
|
|
14070
14086
|
colorMatchChanged: l,
|
|
14071
14087
|
labelUpdateNeeded: C
|
|
14072
|
-
}),
|
|
14088
|
+
}), Zi({
|
|
14073
14089
|
data: S,
|
|
14074
14090
|
seriesConfig: p,
|
|
14075
14091
|
htmlContainer: e.root.dom
|
|
@@ -14161,7 +14177,7 @@ async function y0(t) {
|
|
|
14161
14177
|
const C = M(e.uid, "initialized");
|
|
14162
14178
|
if (e.isDisposed() || C === !1 || !xu(x, S))
|
|
14163
14179
|
throw new Ra(Pa.ChartDisposed);
|
|
14164
|
-
S !== void 0 && !
|
|
14180
|
+
S !== void 0 && !Ni(S) && (S = qo({
|
|
14165
14181
|
chartConfig: S,
|
|
14166
14182
|
queryObject: g
|
|
14167
14183
|
})), S = await Yn(S, g);
|
|
@@ -14176,7 +14192,7 @@ async function y0(t) {
|
|
|
14176
14192
|
x !== void 0 && Nu(x, S) && (S = As(S, f.dom));
|
|
14177
14193
|
const A = H(S.series), T = z(S.series), k = jn(M(e.uid, "queryObject"));
|
|
14178
14194
|
let D = i;
|
|
14179
|
-
(g !== void 0 ||
|
|
14195
|
+
(g !== void 0 || Ni(S)) && (D = await fn({ layer: g, view: p, chartConfig: S }), be(e.uid, { queryObject: D }));
|
|
14180
14196
|
const N = ti(S), R = M(e.uid, "filterBySelection"), $ = M(e.uid, "seriesFilteredOut"), P = M(e.uid, "unfilteredConfig");
|
|
14181
14197
|
be(e.uid, {
|
|
14182
14198
|
config: Me(S),
|
|
@@ -14210,25 +14226,25 @@ async function y0(t) {
|
|
|
14210
14226
|
let mi;
|
|
14211
14227
|
if (V) {
|
|
14212
14228
|
o.showLoader(l?.hideLoaderAnimation !== !0);
|
|
14213
|
-
const
|
|
14229
|
+
const ki = await ft(i, b);
|
|
14214
14230
|
mi = await Bn({
|
|
14215
14231
|
chartConfig: S,
|
|
14216
14232
|
queryObject: D,
|
|
14217
14233
|
options: l,
|
|
14218
14234
|
currentSelectionDataItems: M(e.uid, "currentSelectionDataItems"),
|
|
14219
14235
|
binnedServerData: M(e.uid, "binnedServerData"),
|
|
14220
|
-
fieldList:
|
|
14236
|
+
fieldList: ki,
|
|
14221
14237
|
errorStrings: u,
|
|
14222
14238
|
abortKey: qf(e)
|
|
14223
14239
|
});
|
|
14224
|
-
const { data:
|
|
14240
|
+
const { data: Yi, queryConfig: jg, valid: uc, count: fc, invalidType: _g } = mi;
|
|
14225
14241
|
be(e.uid, {
|
|
14226
14242
|
queryConfig: jg,
|
|
14227
14243
|
initialized: uc,
|
|
14228
14244
|
elementCount: fc,
|
|
14229
|
-
boxPlotMeanLinesData:
|
|
14230
|
-
timeIntervalInfo:
|
|
14231
|
-
}), uc ? (
|
|
14245
|
+
boxPlotMeanLinesData: Yi !== void 0 && "meanLines" in Yi ? Yi.meanLines : void 0,
|
|
14246
|
+
timeIntervalInfo: Yi !== void 0 && "timeIntervalInfo" in Yi ? Yi.timeIntervalInfo : void 0
|
|
14247
|
+
}), uc ? (Zi({ data: Yi, seriesConfig: S.series, htmlContainer: f.dom }), zm(n)) : (await Es({
|
|
14232
14248
|
chart: e,
|
|
14233
14249
|
chartModal: n,
|
|
14234
14250
|
invalidType: _g,
|
|
@@ -14239,24 +14255,24 @@ async function y0(t) {
|
|
|
14239
14255
|
}), o.hideLoader());
|
|
14240
14256
|
}
|
|
14241
14257
|
if (e instanceof cn) {
|
|
14242
|
-
const
|
|
14243
|
-
|
|
14258
|
+
const ki = Ou(Be, oi);
|
|
14259
|
+
ki.length > 0 && (d0(e.series, ki), a && Pf({
|
|
14244
14260
|
chart: e,
|
|
14245
14261
|
legend: a,
|
|
14246
14262
|
chartConfig: S,
|
|
14247
14263
|
hideEmptySeries: l?.hideEmptySeries
|
|
14248
14264
|
}));
|
|
14249
14265
|
}
|
|
14250
|
-
const ae = mi?.data ?? M(e.uid, "data"), we =
|
|
14266
|
+
const ae = mi?.data ?? M(e.uid, "data"), we = vi(ae), mt = await ft(D, l?.usePopupTemplateFieldsInfo), it = e instanceof Mi ? lf(
|
|
14251
14267
|
Be,
|
|
14252
14268
|
oi
|
|
14253
14269
|
) : !1;
|
|
14254
|
-
(tt || it) && (
|
|
14270
|
+
(tt || it) && (Xi({
|
|
14255
14271
|
arrayToSort: we,
|
|
14256
14272
|
chartConfig: S,
|
|
14257
14273
|
fieldList: mt,
|
|
14258
14274
|
isTimeBinningSeries: Yt({
|
|
14259
|
-
seriesConfig:
|
|
14275
|
+
seriesConfig: na(r),
|
|
14260
14276
|
xAxisValueFormatType: jt(r),
|
|
14261
14277
|
setTimeBinningInfoWhenNotProvided: l?.setTimeBinningInfoWhenNotProvided
|
|
14262
14278
|
})
|
|
@@ -14264,10 +14280,10 @@ async function y0(t) {
|
|
|
14264
14280
|
chart: e,
|
|
14265
14281
|
chartData: V ? we : ae,
|
|
14266
14282
|
chartConfig: S
|
|
14267
|
-
}), be(e.uid, { fieldList: mt }), ae && "dataItems" in ae && (ae.dataItems = we)), (V || tt) &&
|
|
14268
|
-
const Pt = br({ oldConfig: x, newConfig: S }),
|
|
14269
|
-
S.series.forEach((
|
|
14270
|
-
|
|
14283
|
+
}), be(e.uid, { fieldList: mt }), ae && "dataItems" in ae && (ae.dataItems = we)), (V || tt) && Zi({ data: ae, seriesConfig: S.series, htmlContainer: f.dom });
|
|
14284
|
+
const Pt = br({ oldConfig: x, newConfig: S }), fa = /* @__PURE__ */ new Map();
|
|
14285
|
+
S.series.forEach((ki, Yi) => {
|
|
14286
|
+
fa.set(ki.id, Yi);
|
|
14271
14287
|
});
|
|
14272
14288
|
const Pn = Na({ chartConfig: S, queryObject: D }), cc = ze(S), dc = Xm({
|
|
14273
14289
|
chart: e,
|
|
@@ -14276,15 +14292,15 @@ async function y0(t) {
|
|
|
14276
14292
|
hideEmptySeries: l?.hideEmptySeries ?? I.options.hideEmptySeries
|
|
14277
14293
|
});
|
|
14278
14294
|
if (S = dc.updatedConfig, ae && "dataItems" in ae && (V || U)) {
|
|
14279
|
-
const
|
|
14295
|
+
const ki = await wn({
|
|
14280
14296
|
data: cc && "meanLines" in ae && ae.meanLines !== void 0 ? ae.meanLines : ae.dataItems,
|
|
14281
14297
|
chartConfig: S,
|
|
14282
14298
|
queryObject: D,
|
|
14283
14299
|
allowColorMatch: Pn
|
|
14284
14300
|
});
|
|
14285
|
-
ae.dataItems =
|
|
14286
|
-
colorMatchApplied:
|
|
14287
|
-
rendererFieldNames:
|
|
14301
|
+
ae.dataItems = ki.dataItems, be(e.uid, {
|
|
14302
|
+
colorMatchApplied: ki.colorMatchApplied,
|
|
14303
|
+
rendererFieldNames: ki.rendererFieldNames
|
|
14288
14304
|
});
|
|
14289
14305
|
}
|
|
14290
14306
|
switch (be(e.uid, { data: ae }), Am(e, S.background), km(e, { title: S.title, subtitle: S.subtitle }), Dm(e, S.footer), Im({
|
|
@@ -14294,7 +14310,7 @@ async function y0(t) {
|
|
|
14294
14310
|
config: S
|
|
14295
14311
|
}), z(S.series)) {
|
|
14296
14312
|
case y.PieSeries: {
|
|
14297
|
-
e instanceof
|
|
14313
|
+
e instanceof Mi && await p0({
|
|
14298
14314
|
chart: e,
|
|
14299
14315
|
chartConfig: S,
|
|
14300
14316
|
options: l,
|
|
@@ -14330,7 +14346,7 @@ async function y0(t) {
|
|
|
14330
14346
|
options: l,
|
|
14331
14347
|
data: ae,
|
|
14332
14348
|
dataWasUpdated: V,
|
|
14333
|
-
seriesIndexMapper:
|
|
14349
|
+
seriesIndexMapper: fa,
|
|
14334
14350
|
updateNeededDetails: W,
|
|
14335
14351
|
seriesFilteredOut: dc.seriesFilteredOut,
|
|
14336
14352
|
sortChanged: tt,
|
|
@@ -14398,7 +14414,7 @@ async function S0(t) {
|
|
|
14398
14414
|
loaderHandle: s,
|
|
14399
14415
|
utilsStrings: r,
|
|
14400
14416
|
errorStrings: l
|
|
14401
|
-
}),
|
|
14417
|
+
}), Zi({
|
|
14402
14418
|
data: c,
|
|
14403
14419
|
seriesConfig: u,
|
|
14404
14420
|
htmlContainer: e.root.dom
|
|
@@ -14457,9 +14473,9 @@ async function C0(t) {
|
|
|
14457
14473
|
const { chartContainer: e, chartConfig: i, options: a, globalOptions: n, t9nStrings: o } = t, { errorStrings: s, utilsStrings: r } = o, { layer: l, view: c, createMessage: d } = a ?? {};
|
|
14458
14474
|
u0(), e == null && await Ia("divNode", s);
|
|
14459
14475
|
let u;
|
|
14460
|
-
i !== void 0 && (
|
|
14476
|
+
i !== void 0 && (Ni(i) ? u = i : u = qo({ chartConfig: i, queryObject: l })), u = await Yn(u, l);
|
|
14461
14477
|
let f;
|
|
14462
|
-
(
|
|
14478
|
+
(Ni(u) || l !== void 0) && (f = await fn({ chartConfig: u, layer: l, view: c }));
|
|
14463
14479
|
const m = g0(e);
|
|
14464
14480
|
KS(m, n?.enableResponsiveFeatures);
|
|
14465
14481
|
const g = h0(m, u);
|
|
@@ -14529,7 +14545,7 @@ async function C0(t) {
|
|
|
14529
14545
|
u.series.forEach((U, Q) => {
|
|
14530
14546
|
G.set(U.id, Q);
|
|
14531
14547
|
});
|
|
14532
|
-
const q =
|
|
14548
|
+
const q = vi(R), j = ze(u);
|
|
14533
14549
|
if (u = Xm({
|
|
14534
14550
|
chart: g,
|
|
14535
14551
|
hideEmptySeries: a?.hideEmptySeries ?? I.options.hideEmptySeries,
|
|
@@ -14549,11 +14565,11 @@ async function C0(t) {
|
|
|
14549
14565
|
}
|
|
14550
14566
|
be(g.uid, { queryConfig: $, initialized: P, elementCount: W, data: R });
|
|
14551
14567
|
const Z = H(u.series);
|
|
14552
|
-
z(u.series) === y.BoxPlotSeries && Z !== L.BoxPlotMonoField && Z !== L.BoxPlotMonoFieldAndSplitBy && (
|
|
14568
|
+
z(u.series) === y.BoxPlotSeries && Z !== L.BoxPlotMonoField && Z !== L.BoxPlotMonoFieldAndSplitBy && (Xi({ arrayToSort: q, chartConfig: u, fieldList: N }), Vm({
|
|
14553
14569
|
chart: g,
|
|
14554
14570
|
chartData: q,
|
|
14555
14571
|
chartConfig: u
|
|
14556
|
-
})),
|
|
14572
|
+
})), Zi({ data: R, seriesConfig: u.series, htmlContainer: e }), MF(m, v), g instanceof Le ? await x0({
|
|
14557
14573
|
chart: g,
|
|
14558
14574
|
data: {
|
|
14559
14575
|
...R,
|
|
@@ -14567,7 +14583,7 @@ async function C0(t) {
|
|
|
14567
14583
|
loaderHandle: b,
|
|
14568
14584
|
utilsStrings: r,
|
|
14569
14585
|
errorStrings: s
|
|
14570
|
-
}) : g instanceof
|
|
14586
|
+
}) : g instanceof Mi && await S0({
|
|
14571
14587
|
chart: g,
|
|
14572
14588
|
data: R,
|
|
14573
14589
|
chartConfig: u,
|
|
@@ -14660,7 +14676,7 @@ function B0(t, e) {
|
|
|
14660
14676
|
function at(t, e) {
|
|
14661
14677
|
return Ka(t, e);
|
|
14662
14678
|
}
|
|
14663
|
-
function
|
|
14679
|
+
function Ei(t, e) {
|
|
14664
14680
|
Qa(t, e);
|
|
14665
14681
|
}
|
|
14666
14682
|
const B = {
|
|
@@ -14847,7 +14863,7 @@ function Ym(t) {
|
|
|
14847
14863
|
const m = O(e.chart.uid, "fieldList");
|
|
14848
14864
|
c = ke(m, c);
|
|
14849
14865
|
}
|
|
14850
|
-
let f =
|
|
14866
|
+
let f = Si(a.dataContext);
|
|
14851
14867
|
f === void 0 && (f = c), n = o(c, f);
|
|
14852
14868
|
}
|
|
14853
14869
|
}
|
|
@@ -14901,7 +14917,7 @@ function M0(t) {
|
|
|
14901
14917
|
e.renderer.labels.template.adapter.isEnabled("htmlOutput") && (e.renderer.labels.template.adapter.disableKey("htmlOutput"), e.renderer.labels.each((s) => {
|
|
14902
14918
|
s.element instanceof kp && s.element.removeChildren();
|
|
14903
14919
|
}));
|
|
14904
|
-
const n = { ...
|
|
14920
|
+
const n = { ...Ri(i) }, o = [
|
|
14905
14921
|
"year",
|
|
14906
14922
|
"month",
|
|
14907
14923
|
"day",
|
|
@@ -14933,7 +14949,7 @@ function P0(t, e, i, a) {
|
|
|
14933
14949
|
};
|
|
14934
14950
|
}
|
|
14935
14951
|
function cd(t) {
|
|
14936
|
-
const { axis: e, formatOptions: i, overridePercentMultiplication: a, valueAxisFormatter: n } = t, o =
|
|
14952
|
+
const { axis: e, formatOptions: i, overridePercentMultiplication: a, valueAxisFormatter: n } = t, o = Ri(i), s = O(e.chart.uid, "formatLocale");
|
|
14937
14953
|
ct(e.uid, {
|
|
14938
14954
|
numberFormatter: n ?? P0(
|
|
14939
14955
|
o,
|
|
@@ -15322,7 +15338,7 @@ function Hl(t) {
|
|
|
15322
15338
|
colorRampIndex: o
|
|
15323
15339
|
}), s !== void 0 && (e.path = s.path, e.rotation = s.angle, e.dx = s.xOffset, e.dy = s.yOffset, eg(e, s.fill), rn(e, s.outline)), oe(e, a), e.disabled = a === !1) : e.disabled = !0, s;
|
|
15324
15340
|
}
|
|
15325
|
-
function
|
|
15341
|
+
function bi(t) {
|
|
15326
15342
|
const { element: e, lineSymbol: i, visible: a, defaultToColorFromRamp: n, colorRampIndex: o } = t;
|
|
15327
15343
|
let s;
|
|
15328
15344
|
return i !== void 0 ? (s = zl({
|
|
@@ -15350,7 +15366,7 @@ function to(t) {
|
|
|
15350
15366
|
e.disabled = !0;
|
|
15351
15367
|
return r;
|
|
15352
15368
|
}
|
|
15353
|
-
function
|
|
15369
|
+
function ia(t) {
|
|
15354
15370
|
const { element: e, seriesIndex: i, colorMatch: a, seriesSymbol: n, isChartFillSymbol: o, rendererSymbol: s, seriesConfig: r } = t;
|
|
15355
15371
|
let l, c;
|
|
15356
15372
|
a === !0 && s && (l = of({
|
|
@@ -15366,7 +15382,7 @@ function ta(t) {
|
|
|
15366
15382
|
}, u = l ?? { ...n };
|
|
15367
15383
|
switch (n.type) {
|
|
15368
15384
|
case se.SLS:
|
|
15369
|
-
c =
|
|
15385
|
+
c = bi({
|
|
15370
15386
|
...d,
|
|
15371
15387
|
lineSymbol: u
|
|
15372
15388
|
});
|
|
@@ -15400,7 +15416,7 @@ function K0(t, e) {
|
|
|
15400
15416
|
color: e.color ?? i.color,
|
|
15401
15417
|
width: e.width ?? i.width
|
|
15402
15418
|
};
|
|
15403
|
-
|
|
15419
|
+
bi({ element: t.cursor.lineX, lineSymbol: a }), bi({ element: t.cursor.lineY, lineSymbol: a });
|
|
15404
15420
|
}
|
|
15405
15421
|
function tg(t) {
|
|
15406
15422
|
!(t instanceof Ot) && !(t instanceof Ne) && (t.cursor = new cu());
|
|
@@ -15423,7 +15439,7 @@ function Br(t, e) {
|
|
|
15423
15439
|
});
|
|
15424
15440
|
}
|
|
15425
15441
|
function J0(t) {
|
|
15426
|
-
const { chart: e, chartType: i, showMean: a, enabled: n } = t, o = n ?
|
|
15442
|
+
const { chart: e, chartType: i, showMean: a, enabled: n } = t, o = n ? hi.pointer : hi.default;
|
|
15427
15443
|
switch (i) {
|
|
15428
15444
|
case y.HistogramSeries:
|
|
15429
15445
|
case y.ComboLineAndBarSeries:
|
|
@@ -15439,11 +15455,11 @@ function J0(t) {
|
|
|
15439
15455
|
let r = o;
|
|
15440
15456
|
if (s instanceof ye) {
|
|
15441
15457
|
const l = Ee(s);
|
|
15442
|
-
l !== void 0 && (a && te(s.uid, "isBoxPlotOutliersSeries") && (r =
|
|
15458
|
+
l !== void 0 && (a && te(s.uid, "isBoxPlotOutliersSeries") && (r = hi.default), l.cursorOverStyle = r, l.clones.each((c) => {
|
|
15443
15459
|
c.cursorOverStyle = r;
|
|
15444
15460
|
}));
|
|
15445
15461
|
} else
|
|
15446
|
-
s.cursorOverStyle = a ?
|
|
15462
|
+
s.cursorOverStyle = a ? hi.default : o;
|
|
15447
15463
|
});
|
|
15448
15464
|
break;
|
|
15449
15465
|
case y.LineSeries:
|
|
@@ -15487,11 +15503,11 @@ function eA(t) {
|
|
|
15487
15503
|
}
|
|
15488
15504
|
function ag(t) {
|
|
15489
15505
|
let e = "";
|
|
15490
|
-
return t instanceof
|
|
15506
|
+
return t instanceof Ki ? e = t.dataFields?.categoryX ?? t.dataFields?.dateX ?? t.dataFields?.valueX ?? "" : t instanceof ci && (e = t.dataFields?.category ?? ""), e;
|
|
15491
15507
|
}
|
|
15492
15508
|
function ng(t) {
|
|
15493
15509
|
let e = "";
|
|
15494
|
-
return t instanceof
|
|
15510
|
+
return t instanceof Ki ? e = t.dataFields?.categoryY ?? t.dataFields?.dateY ?? t.dataFields?.valueY ?? "" : t instanceof ci && (e = t.dataFields?.value ?? ""), e;
|
|
15495
15511
|
}
|
|
15496
15512
|
function og(t) {
|
|
15497
15513
|
return O(t.chart.uid, "isRotated") === !0 ? ng(t) : ag(t);
|
|
@@ -15511,7 +15527,7 @@ function za(t) {
|
|
|
15511
15527
|
iLocale: a,
|
|
15512
15528
|
formatLocale: n
|
|
15513
15529
|
});
|
|
15514
|
-
return (typeof e == "number" && i.type === y.NumberAxisFormat || (typeof e == "number" || e instanceof Date) && i.type === y.DateAxisFormat) && (o = s.format(e,
|
|
15530
|
+
return (typeof e == "number" && i.type === y.NumberAxisFormat || (typeof e == "number" || e instanceof Date) && i.type === y.DateAxisFormat) && (o = s.format(e, Ri(i))), o;
|
|
15515
15531
|
}
|
|
15516
15532
|
function ai(t) {
|
|
15517
15533
|
const { chart: e, config: i } = t;
|
|
@@ -15729,7 +15745,7 @@ function lg(t, e) {
|
|
|
15729
15745
|
let i;
|
|
15730
15746
|
return t instanceof Ye ? i = e === !0 ? "dateY" : "dateX" : t instanceof Ct ? i = e === !0 ? "categoryY" : "categoryX" : i = e === !0 ? "valueY" : "valueX", i;
|
|
15731
15747
|
}
|
|
15732
|
-
function
|
|
15748
|
+
function wi(t, e) {
|
|
15733
15749
|
t.name = e;
|
|
15734
15750
|
}
|
|
15735
15751
|
function cg(t) {
|
|
@@ -15820,7 +15836,7 @@ function lA(t, e) {
|
|
|
15820
15836
|
function cA(t, e) {
|
|
15821
15837
|
let i = 0;
|
|
15822
15838
|
if (t !== void 0 && e !== void 0) {
|
|
15823
|
-
const a = ut(e.series), n = H(e.series), o =
|
|
15839
|
+
const a = ut(e.series), n = H(e.series), o = Gi(e);
|
|
15824
15840
|
t.data.forEach((s) => {
|
|
15825
15841
|
switch (n) {
|
|
15826
15842
|
case L.BoxPlotMonoField:
|
|
@@ -15849,7 +15865,7 @@ function md() {
|
|
|
15849
15865
|
return (t) => {
|
|
15850
15866
|
const e = O(t.chart.uid, "config");
|
|
15851
15867
|
let i = !1;
|
|
15852
|
-
if (e !== void 0 && t instanceof
|
|
15868
|
+
if (e !== void 0 && t instanceof Ki) {
|
|
15853
15869
|
const a = cA(t.chart, e);
|
|
15854
15870
|
let n = 0, o = 0, s = 0, r = 0, l = 0;
|
|
15855
15871
|
t.chart.series.values.forEach((u) => {
|
|
@@ -15964,7 +15980,7 @@ function uA(t) {
|
|
|
15964
15980
|
onReadyEvent: n
|
|
15965
15981
|
});
|
|
15966
15982
|
}
|
|
15967
|
-
function
|
|
15983
|
+
function da(t) {
|
|
15968
15984
|
const { defaultChartItemRole: e } = B.aria;
|
|
15969
15985
|
t instanceof nt || t instanceof Ze ? (t.columns.template.properties.role = e, t.columns.template.focusable = !0, t.columns.template.hoverOnFocus = !0, t.itemReaderText = jo()) : t instanceof Ht ? t.segments.template.properties.role = e : t instanceof ye ? t.bullets.values.forEach((i) => {
|
|
15970
15986
|
i.focusable = !0, i.properties.role = e, i.readerTitle = jo(), i.hoverOnFocus = !0;
|
|
@@ -15992,7 +16008,7 @@ function mA(t, e) {
|
|
|
15992
16008
|
}
|
|
15993
16009
|
return i;
|
|
15994
16010
|
}
|
|
15995
|
-
function
|
|
16011
|
+
function ua(t) {
|
|
15996
16012
|
const { element: e, customSelectionTheme: i, useNativeState: a } = t, n = a === !0 ? yt.Active : yt.CustomActive, o = e.states.getKey(n) ?? e.states.create(n), s = e.states.getKey(yt.CustomInactive) ?? e.states.create(yt.CustomInactive), { selectedElementsTheme: r, nonSelectedElementsTheme: l } = i ?? B.selectionTheme ?? {};
|
|
15997
16013
|
ud(o, r), ud(s, l);
|
|
15998
16014
|
}
|
|
@@ -16104,7 +16120,7 @@ function gA(t) {
|
|
|
16104
16120
|
e = Yl(t.slices, i).map(
|
|
16105
16121
|
(l) => {
|
|
16106
16122
|
const c = l.dataItem?.dataContext ?? {};
|
|
16107
|
-
return
|
|
16123
|
+
return Ai(c) && (r = po({
|
|
16108
16124
|
groupOfSlicesDataContext: c
|
|
16109
16125
|
})), {
|
|
16110
16126
|
...s,
|
|
@@ -16153,7 +16169,7 @@ async function gg(t) {
|
|
|
16153
16169
|
chartConfig: s
|
|
16154
16170
|
}).forEach((f, m) => {
|
|
16155
16171
|
const g = Gs(f, s);
|
|
16156
|
-
if (s && f.visible && te(f.uid, "isOverlay") !== !0 && f instanceof
|
|
16172
|
+
if (s && f.visible && te(f.uid, "isOverlay") !== !0 && f instanceof Ki) {
|
|
16157
16173
|
const p = Ws(f, m), b = p === y.BoxPlotSeries ? g?.y : Oa(f), S = f.dataFields?.customValue ?? "", x = {
|
|
16158
16174
|
element: {},
|
|
16159
16175
|
yAxisField: b,
|
|
@@ -16272,7 +16288,7 @@ function SA(t) {
|
|
|
16272
16288
|
e !== void 0 && (e.slices.template.clickable = !0, e.slices.template.togglable = !0, e.slices.template.events.enableType(E.Hit), e.slices.template.events.enableType(E.DoubleHit), e.labels.template.clickable = !0, e.labels.template.togglable = !0, e.labels.template.events.enableType(E.Hit), e.labels.template.events.enableType(E.DoubleHit));
|
|
16273
16289
|
} else t instanceof fe && (t.xAxes.each((e) => os(e, !1)), t.yAxes.each((e) => os(e, !1)), t.events.enableType(E.Up));
|
|
16274
16290
|
}
|
|
16275
|
-
function
|
|
16291
|
+
function Wi(t) {
|
|
16276
16292
|
const { element: e, stylingInfo: i, stateKey: a = "default" } = t;
|
|
16277
16293
|
if (e !== void 0 && i !== void 0) {
|
|
16278
16294
|
const n = e.states.getKey(a)?.properties ?? e.defaultState.properties;
|
|
@@ -16333,7 +16349,7 @@ function TA(t, e) {
|
|
|
16333
16349
|
function Co(t) {
|
|
16334
16350
|
return t.values.every((i) => i.isReady());
|
|
16335
16351
|
}
|
|
16336
|
-
function
|
|
16352
|
+
function Ii(t, e) {
|
|
16337
16353
|
t.events.on(E.Ready, () => {
|
|
16338
16354
|
const { chart: i } = t;
|
|
16339
16355
|
i !== void 0 && Co(t.chart.series) && (fA(i), e(), An(t.chart.htmlContainer));
|
|
@@ -16398,7 +16414,7 @@ function pg(t, e) {
|
|
|
16398
16414
|
dataContext: g,
|
|
16399
16415
|
useRendererLabel: ks(s, p)
|
|
16400
16416
|
});
|
|
16401
|
-
let S =
|
|
16417
|
+
let S = Si(g);
|
|
16402
16418
|
S === void 0 && (S = b);
|
|
16403
16419
|
const x = g[B.dateBinningRange];
|
|
16404
16420
|
n = l({
|
|
@@ -16554,7 +16570,7 @@ function DA(t) {
|
|
|
16554
16570
|
if (g === !1 || p === !1)
|
|
16555
16571
|
u = () => "";
|
|
16556
16572
|
else {
|
|
16557
|
-
const b = m.axes, S = b[0].valueFormat, x = b[1].valueFormat, C = H(m.series), v = Ut(m) === Ce.Stacked100, F = ve(a)?.objectIdField, A = ke(i, s.x), T =
|
|
16573
|
+
const b = m.axes, S = b[0].valueFormat, x = b[1].valueFormat, C = H(m.series), v = Ut(m) === Ce.Stacked100, F = ve(a)?.objectIdField, A = ke(i, s.x), T = Vi(A, b[0].title?.content.text), k = Hf({
|
|
16558
16574
|
config: m,
|
|
16559
16575
|
fieldList: i,
|
|
16560
16576
|
objectIdField: F,
|
|
@@ -16664,9 +16680,9 @@ function NA(t) {
|
|
|
16664
16680
|
const u = qt({
|
|
16665
16681
|
value: d[c.x],
|
|
16666
16682
|
dataContext: d,
|
|
16667
|
-
useRendererLabel:
|
|
16683
|
+
useRendererLabel: Ci(a)
|
|
16668
16684
|
});
|
|
16669
|
-
let f =
|
|
16685
|
+
let f = Si(d);
|
|
16670
16686
|
f === void 0 && (f = u), r = s({
|
|
16671
16687
|
seriesName: o.name,
|
|
16672
16688
|
xValue: u,
|
|
@@ -16693,9 +16709,9 @@ function OA(t) {
|
|
|
16693
16709
|
const d = qt({
|
|
16694
16710
|
value: c[l.x],
|
|
16695
16711
|
dataContext: c,
|
|
16696
|
-
useRendererLabel:
|
|
16712
|
+
useRendererLabel: Ci(a)
|
|
16697
16713
|
});
|
|
16698
|
-
let u =
|
|
16714
|
+
let u = Si(c);
|
|
16699
16715
|
u === void 0 && (u = d), s = o({
|
|
16700
16716
|
seriesName: n.name,
|
|
16701
16717
|
xValue: d,
|
|
@@ -16723,9 +16739,9 @@ function $A(t) {
|
|
|
16723
16739
|
const d = qt({
|
|
16724
16740
|
value: c[l.x],
|
|
16725
16741
|
dataContext: c,
|
|
16726
|
-
useRendererLabel:
|
|
16742
|
+
useRendererLabel: Ci(a)
|
|
16727
16743
|
});
|
|
16728
|
-
let u =
|
|
16744
|
+
let u = Si(c);
|
|
16729
16745
|
u === void 0 && (u = d), s = o({
|
|
16730
16746
|
seriesName: n.name,
|
|
16731
16747
|
xValue: d,
|
|
@@ -16774,7 +16790,7 @@ function RA(t) {
|
|
|
16774
16790
|
})
|
|
16775
16791
|
));
|
|
16776
16792
|
}
|
|
16777
|
-
function
|
|
16793
|
+
function ga(t) {
|
|
16778
16794
|
const { label: e, value: i, strongColon: a, useTable: n } = t, o = `<b>${e}${a}</b> ${i}`;
|
|
16779
16795
|
return n !== !1 ? `<tr><td>${o}</td></tr>` : o;
|
|
16780
16796
|
}
|
|
@@ -16815,7 +16831,7 @@ function VA(t) {
|
|
|
16815
16831
|
case Y.StandardDeviation:
|
|
16816
16832
|
}
|
|
16817
16833
|
Ma(S) || u.push(
|
|
16818
|
-
|
|
16834
|
+
ga({
|
|
16819
16835
|
label: S,
|
|
16820
16836
|
value: b,
|
|
16821
16837
|
strongColon: d,
|
|
@@ -16837,7 +16853,7 @@ function EA(t) {
|
|
|
16837
16853
|
escape: !1
|
|
16838
16854
|
}), b = ke(i, a.x);
|
|
16839
16855
|
let S;
|
|
16840
|
-
a.x !== oo && (S =
|
|
16856
|
+
a.x !== oo && (S = Vi(b, c?.[0].title?.content.text));
|
|
16841
16857
|
const x = $t(r.rtl);
|
|
16842
16858
|
s = (C) => {
|
|
16843
16859
|
const { dataContext: v, xValue: F } = C, A = bg({
|
|
@@ -16854,7 +16870,7 @@ function EA(t) {
|
|
|
16854
16870
|
if (A !== void 0 && !Ma(A)) {
|
|
16855
16871
|
const G = f === L.BoxPlotMonoField ? a.name ?? k : k;
|
|
16856
16872
|
T.push(
|
|
16857
|
-
|
|
16873
|
+
ga({
|
|
16858
16874
|
label: n.field,
|
|
16859
16875
|
strongColon: x,
|
|
16860
16876
|
value: G
|
|
@@ -16862,7 +16878,7 @@ function EA(t) {
|
|
|
16862
16878
|
);
|
|
16863
16879
|
}
|
|
16864
16880
|
le(g) || T.push(
|
|
16865
|
-
|
|
16881
|
+
ga({
|
|
16866
16882
|
label: g,
|
|
16867
16883
|
strongColon: x,
|
|
16868
16884
|
value: a.name ?? p?.toString()
|
|
@@ -16873,13 +16889,13 @@ function EA(t) {
|
|
|
16873
16889
|
case L.BoxPlotMonoFieldAndCategory:
|
|
16874
16890
|
case L.BoxPlotMultiFieldsAndCategory: {
|
|
16875
16891
|
T.push(
|
|
16876
|
-
|
|
16892
|
+
ga({
|
|
16877
16893
|
label: n.field,
|
|
16878
16894
|
strongColon: x,
|
|
16879
16895
|
value: a.name ?? N
|
|
16880
16896
|
})
|
|
16881
16897
|
), A !== void 0 && !Ma(A) && T.push(
|
|
16882
|
-
|
|
16898
|
+
ga({
|
|
16883
16899
|
label: S,
|
|
16884
16900
|
strongColon: x,
|
|
16885
16901
|
value: k
|
|
@@ -16889,19 +16905,19 @@ function EA(t) {
|
|
|
16889
16905
|
}
|
|
16890
16906
|
case L.BoxPlotMonoFieldAndCategoryAndSplitBy:
|
|
16891
16907
|
T.push(
|
|
16892
|
-
|
|
16908
|
+
ga({
|
|
16893
16909
|
label: n.field,
|
|
16894
16910
|
strongColon: x,
|
|
16895
16911
|
value: N
|
|
16896
16912
|
})
|
|
16897
16913
|
), A !== void 0 && !Ma(A) && T.push(
|
|
16898
|
-
|
|
16914
|
+
ga({
|
|
16899
16915
|
label: S,
|
|
16900
16916
|
strongColon: x,
|
|
16901
16917
|
value: k
|
|
16902
16918
|
})
|
|
16903
16919
|
), le(g) || T.push(
|
|
16904
|
-
|
|
16920
|
+
ga({
|
|
16905
16921
|
label: g,
|
|
16906
16922
|
strongColon: x,
|
|
16907
16923
|
value: a.name ?? p?.toString()
|
|
@@ -16932,7 +16948,7 @@ function WA(t) {
|
|
|
16932
16948
|
}
|
|
16933
16949
|
function zA(t) {
|
|
16934
16950
|
const e = ui(B.dataLabelInitialize);
|
|
16935
|
-
return
|
|
16951
|
+
return Ei(e.uid, { isDataLabel: !0 }), t.bullets.push(e), Gl(e), ql(y.LineSeries, e), sg(y.LineSeries, e), kr(e, t), e.html = "{valueX}", e;
|
|
16936
16952
|
}
|
|
16937
16953
|
function HA(t) {
|
|
16938
16954
|
const { series: e } = t, i = io(e, "bullets");
|
|
@@ -17049,7 +17065,7 @@ function _A(t) {
|
|
|
17049
17065
|
});
|
|
17050
17066
|
}
|
|
17051
17067
|
function QA(t) {
|
|
17052
|
-
|
|
17068
|
+
Ei(t.valueLabels.template.uid, { isLegendValueLabel: !0 }), t.valueLabels.template.adapter.add("htmlOutput", (e, i) => {
|
|
17053
17069
|
let a = e;
|
|
17054
17070
|
const n = L0(
|
|
17055
17071
|
t.uid,
|
|
@@ -17123,7 +17139,7 @@ function KA(t) {
|
|
|
17123
17139
|
}
|
|
17124
17140
|
function ZA(t) {
|
|
17125
17141
|
const { dataContext: e } = t.target.dataItem ?? {};
|
|
17126
|
-
if (e instanceof
|
|
17142
|
+
if (e instanceof Pi) {
|
|
17127
17143
|
const { component: i } = e;
|
|
17128
17144
|
i instanceof ci && i.showTooltip();
|
|
17129
17145
|
}
|
|
@@ -17272,7 +17288,7 @@ function oT(t, e) {
|
|
|
17272
17288
|
const { dataContext: n } = i, o = { visible: a };
|
|
17273
17289
|
if (te(n.uid, "isOverlay") === !0)
|
|
17274
17290
|
o.overlayType = te(n.uid, "type");
|
|
17275
|
-
else if (n instanceof
|
|
17291
|
+
else if (n instanceof Pi)
|
|
17276
17292
|
O(e.uid, "isNonAggregatedChart") === !0 ? o.sliceData = n.dataContext : o.sliceId = n.category;
|
|
17277
17293
|
else if (n instanceof nt) {
|
|
17278
17294
|
const r = n.id, l = Fo(e, r);
|
|
@@ -17287,9 +17303,9 @@ function oT(t, e) {
|
|
|
17287
17303
|
c !== void 0 && oe(c, a), d !== void 0 && oe(d, a), u !== void 0 && oe(u, a), o.seriesId = n.id;
|
|
17288
17304
|
} else
|
|
17289
17305
|
o.seriesId = n.id;
|
|
17290
|
-
const s = n instanceof
|
|
17291
|
-
(s instanceof
|
|
17292
|
-
s instanceof
|
|
17306
|
+
const s = n instanceof Pi ? n.component : n;
|
|
17307
|
+
(s instanceof Ki || s instanceof ci) && te(s.uid, "isOverlay") !== !0 && s.events.once(E.Validated, () => {
|
|
17308
|
+
s instanceof Ki && (Pg(s), s.events.dispatchImmediately(E.Validated, {
|
|
17293
17309
|
type: E.Validated,
|
|
17294
17310
|
target: s
|
|
17295
17311
|
}));
|
|
@@ -17399,7 +17415,7 @@ function No(t, e) {
|
|
|
17399
17415
|
let a = i;
|
|
17400
17416
|
const n = t.dataItem?.dataContext;
|
|
17401
17417
|
if (n !== void 0) {
|
|
17402
|
-
const o = n instanceof
|
|
17418
|
+
const o = n instanceof Pi ? n.component?.chart : n.chart;
|
|
17403
17419
|
if (o !== void 0) {
|
|
17404
17420
|
const s = O(o.uid, "config"), { rectangleMarkerRadius: r, roundedMarkerRadius: l } = B.legendProperties;
|
|
17405
17421
|
a = s?.legend?.roundMarkers === !0 ? l : r;
|
|
@@ -17462,8 +17478,8 @@ function yT(t, e) {
|
|
|
17462
17478
|
e === ee.Right || e === ee.Left ? t.width = Number.NaN : t.maxWidth = Number.MAX_SAFE_INTEGER;
|
|
17463
17479
|
}
|
|
17464
17480
|
function Lg(t, e) {
|
|
17465
|
-
let i =
|
|
17466
|
-
e === !0 ? (t.itemContainers.template.clickable = !1, t.itemContainers.template.focusable = !1, i =
|
|
17481
|
+
let i = hi.pointer;
|
|
17482
|
+
e === !0 ? (t.itemContainers.template.clickable = !1, t.itemContainers.template.focusable = !1, i = hi.default) : (t.itemContainers.template.clickable = !0, t.itemContainers.template.focusable = !0), t.itemContainers.values.forEach((a) => {
|
|
17467
17483
|
a.cursorOverStyle = i;
|
|
17468
17484
|
});
|
|
17469
17485
|
}
|
|
@@ -17501,7 +17517,7 @@ function xT(t) {
|
|
|
17501
17517
|
selectionTheme: s,
|
|
17502
17518
|
ignoreSmoothRenderingLimit: r
|
|
17503
17519
|
} = t, l = i.series.length, { rotated: c } = i, d = i.series[a], { y: u, name: f, id: m, assignToSecondValueAxis: g } = d, p = new ye();
|
|
17504
|
-
p.id = m,
|
|
17520
|
+
p.id = m, Ii(p, o), wi(p, f);
|
|
17505
17521
|
let b, S;
|
|
17506
17522
|
c !== !0 ? (b = n[0], S = g === !0 && n[2] ? n[2] : n[1]) : (b = g === !0 && n[2] ? n[2] : n[0], S = n[1]), b !== void 0 && (p.xAxis = b), S !== void 0 && (p.yAxis = S);
|
|
17507
17523
|
const x = ai({ chart: e }), v = H(i.series) === L.BarAndLineSplitByNoAggregation ? `${u.toString()}_${bt({ where: d.query?.where })}` : [u].flat()[0];
|
|
@@ -17513,14 +17529,14 @@ function xT(t) {
|
|
|
17513
17529
|
}
|
|
17514
17530
|
p.dataFields.customValue = d?.query?.where;
|
|
17515
17531
|
const A = qs({ chart: e, lineSeries: p, applyPropertiesToClones: !1 });
|
|
17516
|
-
return pg(A, p), zA(p),
|
|
17532
|
+
return pg(A, p), zA(p), ua({ element: A, customSelectionTheme: s }), Ja(e, A), dg({
|
|
17517
17533
|
chart: e,
|
|
17518
17534
|
numberOfChartSeries: l,
|
|
17519
17535
|
series: p,
|
|
17520
17536
|
seriesType: y.LineSeries,
|
|
17521
17537
|
marker: A,
|
|
17522
17538
|
ignoreSmoothRenderingLimit: r
|
|
17523
|
-
}), vo(p),
|
|
17539
|
+
}), vo(p), da(p), p;
|
|
17524
17540
|
}
|
|
17525
17541
|
function CT(t) {
|
|
17526
17542
|
const { series: e, seriesIndex: i, chartSubType: a, seriesConfig: n, colorMatch: o, lineColor: s, rendererType: r } = t, l = Ee(e);
|
|
@@ -17542,7 +17558,7 @@ function CT(t) {
|
|
|
17542
17558
|
chartSubType: a,
|
|
17543
17559
|
colorMatch: o,
|
|
17544
17560
|
rendererType: r
|
|
17545
|
-
}), x =
|
|
17561
|
+
}), x = ia({
|
|
17546
17562
|
seriesConfig: n,
|
|
17547
17563
|
seriesIndex: i,
|
|
17548
17564
|
seriesSymbol: u,
|
|
@@ -17550,9 +17566,9 @@ function CT(t) {
|
|
|
17550
17566
|
colorMatch: o,
|
|
17551
17567
|
rendererSymbol: S
|
|
17552
17568
|
});
|
|
17553
|
-
d = x.symbolWithColorInfo, g = x.stylingInfo,
|
|
17569
|
+
d = x.symbolWithColorInfo, g = x.stylingInfo, Wi({ element: p, stylingInfo: g }), m.add(JSON.stringify(g));
|
|
17554
17570
|
}
|
|
17555
|
-
}), c = m.size > 1, c ||
|
|
17571
|
+
}), c = m.size > 1, c || Wi({ element: l, stylingInfo: g });
|
|
17556
17572
|
}
|
|
17557
17573
|
return c ? void 0 : d;
|
|
17558
17574
|
}
|
|
@@ -17578,7 +17594,7 @@ function FT(t) {
|
|
|
17578
17594
|
chartSubType: n,
|
|
17579
17595
|
colorMatch: o,
|
|
17580
17596
|
rendererType: s
|
|
17581
|
-
}), c =
|
|
17597
|
+
}), c = ia({
|
|
17582
17598
|
seriesConfig: a,
|
|
17583
17599
|
seriesIndex: i,
|
|
17584
17600
|
seriesSymbol: a.lineSymbol ?? Jd(i),
|
|
@@ -17650,7 +17666,7 @@ function TT(t) {
|
|
|
17650
17666
|
fieldList: r,
|
|
17651
17667
|
fieldName: Ge(C),
|
|
17652
17668
|
fieldValueToMatch: x
|
|
17653
|
-
}) ?? x),
|
|
17669
|
+
}) ?? x), wi(i, x), yd(i, e), Xl({ series: i, seriesConfig: e, rotationChanged: n, stackedType: l, isRotated: b }), yd(i, e), Ha({
|
|
17654
17670
|
// TODO: Remove the type assertion and correct the typings
|
|
17655
17671
|
styleCallback: Ag,
|
|
17656
17672
|
callbackProps: t,
|
|
@@ -17693,26 +17709,26 @@ function Ql(t, e) {
|
|
|
17693
17709
|
}
|
|
17694
17710
|
function BT(t) {
|
|
17695
17711
|
const { chart: e, axisList: i = [], chartConfig: a, seriesIndex: n, hideLoaderHandle: o, selectionTheme: s } = t, r = ze(a), l = a.series[n], [c, d] = i, u = new nt();
|
|
17696
|
-
return u.hoverable = !0,
|
|
17712
|
+
return u.hoverable = !0, Ii(u, o), r || (ua({
|
|
17697
17713
|
element: u.columns.template,
|
|
17698
17714
|
customSelectionTheme: s
|
|
17699
|
-
}), Ja(e, u.columns.template)), u.id = l.id, c !== void 0 && (u.xAxis = c), d !== void 0 && (u.yAxis = d), u.simplifiedProcessing = !0, u.columns.template.applyOnClones = !0, u.riseFromOpenState.reset(), u.riseFromPreviousState.reset(), u.dropFromOpenState.reset(), u.dropFromPreviousState.reset(),
|
|
17715
|
+
}), Ja(e, u.columns.template)), u.id = l.id, c !== void 0 && (u.xAxis = c), d !== void 0 && (u.yAxis = d), u.simplifiedProcessing = !0, u.columns.template.applyOnClones = !0, u.riseFromOpenState.reset(), u.riseFromPreviousState.reset(), u.dropFromOpenState.reset(), u.dropFromPreviousState.reset(), wi(u, l.name), da(u), u;
|
|
17700
17716
|
}
|
|
17701
17717
|
function dr(t) {
|
|
17702
17718
|
const { axisList: e = [], chartConfig: i, seriesIndex: a, type: n, hideLoaderHandle: o, selectionTheme: s } = t, r = i.series[a], [l, c] = e, d = new Ht();
|
|
17703
|
-
return d.hoverable = !0,
|
|
17719
|
+
return d.hoverable = !0, Ii(d, o), d.id = `${r.id}_${n}`, l !== void 0 && (d.xAxis = l), c !== void 0 && (d.yAxis = c), d.noRisers = !0, d.simplifiedProcessing = !0, ua({
|
|
17704
17720
|
element: d.segments.template,
|
|
17705
17721
|
customSelectionTheme: s
|
|
17706
|
-
}), d.hiddenInLegend = !0,
|
|
17722
|
+
}), d.hiddenInLegend = !0, da(d), d;
|
|
17707
17723
|
}
|
|
17708
17724
|
function wT(t) {
|
|
17709
17725
|
const { chart: e, axisList: i = [], chartConfig: a, hideLoaderHandle: n, seriesIndex: o, selectionTheme: s } = t, r = a.series[o], l = ze(a), [c, d] = i, u = new ye();
|
|
17710
|
-
Ue(u.uid, { isBoxPlotOutliersSeries: !0 }),
|
|
17726
|
+
Ue(u.uid, { isBoxPlotOutliersSeries: !0 }), Ii(u, n), u.id = `${r.id}_${xe.Outliers}`, c !== void 0 && (u.xAxis = c), d !== void 0 && (u.yAxis = d), u.simplifiedProcessing = !0, u.hiddenInLegend = !0, u.strokeOpacity = 0;
|
|
17711
17727
|
const f = qs({ chart: e, lineSeries: u });
|
|
17712
|
-
return l || (
|
|
17728
|
+
return l || (ua({
|
|
17713
17729
|
element: f,
|
|
17714
17730
|
customSelectionTheme: s
|
|
17715
|
-
}), Ja(e, f)),
|
|
17731
|
+
}), Ja(e, f)), da(u), u;
|
|
17716
17732
|
}
|
|
17717
17733
|
function $n(t) {
|
|
17718
17734
|
const {
|
|
@@ -17793,9 +17809,9 @@ function $n(t) {
|
|
|
17793
17809
|
}
|
|
17794
17810
|
function IT(t) {
|
|
17795
17811
|
const { chart: e, axisList: i = [], chartConfig: a, hideLoaderHandle: n, seriesIndex: o, selectionTheme: s } = t, r = a.series[o], [l, c] = i, d = new ye();
|
|
17796
|
-
Ue(d.uid, { isBoxPlotMeanLineSeries: !0 }),
|
|
17812
|
+
Ue(d.uid, { isBoxPlotMeanLineSeries: !0 }), Ii(d, n), d.id = r.id, l !== void 0 && (d.xAxis = l), c !== void 0 && (d.yAxis = c), d.simplifiedProcessing = !0;
|
|
17797
17813
|
const u = qs({ chart: e, lineSeries: d });
|
|
17798
|
-
return
|
|
17814
|
+
return ua({ element: u, customSelectionTheme: s }), Ja(e, u), da(d), RA(d), $n({
|
|
17799
17815
|
chartConfig: a,
|
|
17800
17816
|
seriesConfig: r,
|
|
17801
17817
|
meanLineSeries: d,
|
|
@@ -17910,7 +17926,7 @@ function OT(t) {
|
|
|
17910
17926
|
const f = /* @__PURE__ */ new Set();
|
|
17911
17927
|
let m = !1;
|
|
17912
17928
|
const g = i.fillSymbol ?? Yr(a);
|
|
17913
|
-
if (e.columns.length === 0 ? (u =
|
|
17929
|
+
if (e.columns.length === 0 ? (u = ia({
|
|
17914
17930
|
seriesConfig: i,
|
|
17915
17931
|
seriesIndex: a,
|
|
17916
17932
|
seriesSymbol: g,
|
|
@@ -17918,7 +17934,7 @@ function OT(t) {
|
|
|
17918
17934
|
colorMatch: s,
|
|
17919
17935
|
isChartFillSymbol: !0
|
|
17920
17936
|
}), c = u.symbolWithColorInfo, d = u.stylingInfo) : e.columns.each((p) => {
|
|
17921
|
-
u =
|
|
17937
|
+
u = ia({
|
|
17922
17938
|
seriesConfig: i,
|
|
17923
17939
|
seriesIndex: a,
|
|
17924
17940
|
seriesSymbol: g,
|
|
@@ -17935,8 +17951,8 @@ function OT(t) {
|
|
|
17935
17951
|
}), c = u.symbolWithColorInfo, d = u.stylingInfo, f.add(JSON.stringify(c));
|
|
17936
17952
|
}), m = f.size > 1, n > 1) {
|
|
17937
17953
|
const p = e.legendDataItem?.marker.children.getIndex(0);
|
|
17938
|
-
p !== void 0 ?
|
|
17939
|
-
|
|
17954
|
+
p !== void 0 ? Wi({ element: p, stylingInfo: d }) : e.chart.legend.events.once(E.Validated, () => {
|
|
17955
|
+
Wi({
|
|
17940
17956
|
element: e.legendDataItem?.marker.children.getIndex(0),
|
|
17941
17957
|
stylingInfo: d
|
|
17942
17958
|
}), e.chart.legend.invalidate();
|
|
@@ -18077,7 +18093,7 @@ function ET(t) {
|
|
|
18077
18093
|
outliersVisibilityChanged: l,
|
|
18078
18094
|
standardizeValuesVisibilityChanged: c
|
|
18079
18095
|
} = t;
|
|
18080
|
-
|
|
18096
|
+
wi(e, i?.name), $n({
|
|
18081
18097
|
chartConfig: r,
|
|
18082
18098
|
seriesConfig: i,
|
|
18083
18099
|
meanLineSeries: e,
|
|
@@ -18101,7 +18117,7 @@ function WT(t) {
|
|
|
18101
18117
|
outliersVisibilityChanged: o,
|
|
18102
18118
|
standardizeValuesVisibilityChanged: s
|
|
18103
18119
|
} = t;
|
|
18104
|
-
|
|
18120
|
+
wi(e, a?.name), e.hiddenInLegend = ze(i), $n({
|
|
18105
18121
|
chartConfig: i,
|
|
18106
18122
|
seriesConfig: a,
|
|
18107
18123
|
candleStickSeries: e,
|
|
@@ -18313,11 +18329,11 @@ function jT(t) {
|
|
|
18313
18329
|
layerOidField: r,
|
|
18314
18330
|
xAxisField: l,
|
|
18315
18331
|
yAxisField: c
|
|
18316
|
-
} = t, d = z(i.series), u = H(i.series), f =
|
|
18332
|
+
} = t, d = z(i.series), u = H(i.series), f = Gi(i), m = O(e.uid, "queryObject"), g = [], p = [], b = [], S = ut(i.series), x = a instanceof Ki ? a.dataFields?.customValue ?? "" : "";
|
|
18317
18333
|
return o.forEach((C) => {
|
|
18318
18334
|
if (!(C instanceof wa)) {
|
|
18319
18335
|
let v = C.dataItem?.dataContext;
|
|
18320
|
-
if (v !== void 0 && (d === y.BoxPlotSeries && v[B.boxPlot.boxPlotOutlierId] !== !0 || u === L.BarAndLineMultiFields) && (v =
|
|
18336
|
+
if (v !== void 0 && (d === y.BoxPlotSeries && v[B.boxPlot.boxPlotOutlierId] !== !0 || u === L.BarAndLineMultiFields) && (v = ea({
|
|
18321
18337
|
dataContext: v,
|
|
18322
18338
|
yAxisField: c,
|
|
18323
18339
|
yList: S,
|
|
@@ -18326,7 +18342,7 @@ function jT(t) {
|
|
|
18326
18342
|
chartType: d,
|
|
18327
18343
|
chartSubType: u,
|
|
18328
18344
|
showOutliers: f,
|
|
18329
|
-
isFeatureCollectionLayer:
|
|
18345
|
+
isFeatureCollectionLayer: Qi(m)
|
|
18330
18346
|
})), Ns({
|
|
18331
18347
|
elementDataContext: v,
|
|
18332
18348
|
options: n,
|
|
@@ -18342,7 +18358,7 @@ function jT(t) {
|
|
|
18342
18358
|
b.push(v);
|
|
18343
18359
|
else {
|
|
18344
18360
|
const A = /* @__PURE__ */ new Set();
|
|
18345
|
-
d === y.PieSeries &&
|
|
18361
|
+
d === y.PieSeries && Ai(v) ? (po({
|
|
18346
18362
|
groupOfSlicesDataContext: v
|
|
18347
18363
|
}) ?? []).forEach((k) => {
|
|
18348
18364
|
s.forEach((D) => {
|
|
@@ -18354,7 +18370,7 @@ function jT(t) {
|
|
|
18354
18370
|
}) && A.add(k);
|
|
18355
18371
|
});
|
|
18356
18372
|
}) : A.add(v), Array.from(A)?.forEach((T) => {
|
|
18357
|
-
const k =
|
|
18373
|
+
const k = ea({
|
|
18358
18374
|
dataContext: T,
|
|
18359
18375
|
yAxisField: c,
|
|
18360
18376
|
yList: S,
|
|
@@ -18363,7 +18379,7 @@ function jT(t) {
|
|
|
18363
18379
|
chartType: d,
|
|
18364
18380
|
chartSubType: u,
|
|
18365
18381
|
showOutliers: f,
|
|
18366
|
-
isFeatureCollectionLayer:
|
|
18382
|
+
isFeatureCollectionLayer: Qi(m)
|
|
18367
18383
|
});
|
|
18368
18384
|
k !== void 0 && b.push(k);
|
|
18369
18385
|
});
|
|
@@ -18378,10 +18394,10 @@ function jT(t) {
|
|
|
18378
18394
|
}), Bg(e, g), { selectedIndexes: p, newSelectionDataItems: b };
|
|
18379
18395
|
}
|
|
18380
18396
|
function _T(t, e) {
|
|
18381
|
-
const i = [], a = [], n = O(t.uid, "config"), o = O(t.uid, "queryObject"), s =
|
|
18397
|
+
const i = [], a = [], n = O(t.uid, "config"), o = O(t.uid, "queryObject"), s = Gi(n), r = ut(n?.series ?? []), l = H(n?.series);
|
|
18382
18398
|
return t.series.each((c, d) => {
|
|
18383
18399
|
if (n && c.visible && te(c.uid, "isOverlay") !== !0) {
|
|
18384
|
-
const u = n.series[0].x, f = Oa(c), m = c instanceof
|
|
18400
|
+
const u = n.series[0].x, f = Oa(c), m = c instanceof Ki ? c.dataFields?.customValue ?? "" : "", g = Ws(c, d), p = e.get(d);
|
|
18385
18401
|
if (p !== void 0) {
|
|
18386
18402
|
let b;
|
|
18387
18403
|
if (c instanceof Ze ? b = c.columns : c instanceof ci ? b = c.slices : b = Ee(c)?.clones, b !== void 0) {
|
|
@@ -18389,7 +18405,7 @@ function _T(t, e) {
|
|
|
18389
18405
|
b.each((x, C) => {
|
|
18390
18406
|
if (x && (S === void 0 || S.includes(C))) {
|
|
18391
18407
|
let v;
|
|
18392
|
-
g === y.BoxPlotSeries && x.dataItem instanceof Ba ? v = x.dataItem.dataContext : x.dataItem instanceof wa || (v =
|
|
18408
|
+
g === y.BoxPlotSeries && x.dataItem instanceof Ba ? v = x.dataItem.dataContext : x.dataItem instanceof wa || (v = ea({
|
|
18393
18409
|
dataContext: x.dataItem?.dataContext,
|
|
18394
18410
|
yList: r,
|
|
18395
18411
|
yAxisField: f,
|
|
@@ -18398,7 +18414,7 @@ function _T(t, e) {
|
|
|
18398
18414
|
chartType: g,
|
|
18399
18415
|
chartSubType: l,
|
|
18400
18416
|
showOutliers: s,
|
|
18401
|
-
isFeatureCollectionLayer:
|
|
18417
|
+
isFeatureCollectionLayer: Qi(o)
|
|
18402
18418
|
})), v !== void 0 && i.push(v), a.push(x);
|
|
18403
18419
|
} else
|
|
18404
18420
|
fi({
|
|
@@ -18494,7 +18510,7 @@ function KT(t) {
|
|
|
18494
18510
|
itemsB: k,
|
|
18495
18511
|
isPieFromFields: A === L.PieFromFields
|
|
18496
18512
|
});
|
|
18497
|
-
const V = !
|
|
18513
|
+
const V = !yi(p, P);
|
|
18498
18514
|
D = s === !0 || o === !0 || r === !0 || d === !0 || R !== void 0 && $;
|
|
18499
18515
|
let W = !0;
|
|
18500
18516
|
if (p !== void 0 && p.size > 0) {
|
|
@@ -18533,9 +18549,9 @@ function KT(t) {
|
|
|
18533
18549
|
} else if (p !== void 0 && N)
|
|
18534
18550
|
R = _T(b, p);
|
|
18535
18551
|
else {
|
|
18536
|
-
const P = R === void 0 || R.length === 0, V = e instanceof
|
|
18552
|
+
const P = R === void 0 || R.length === 0, V = e instanceof Ki ? e.dataFields?.customValue ?? "" : "", W = (G) => {
|
|
18537
18553
|
let q = G.dataItem?.dataContext;
|
|
18538
|
-
return q !== void 0 && v === y.BoxPlotSeries && q[B.boxPlot.boxPlotOutlierId] !== !0 && (q =
|
|
18554
|
+
return q !== void 0 && v === y.BoxPlotSeries && q[B.boxPlot.boxPlotOutlierId] !== !0 && (q = ea({
|
|
18539
18555
|
dataContext: q,
|
|
18540
18556
|
yAxisField: c,
|
|
18541
18557
|
yList: ut(S.series),
|
|
@@ -18544,7 +18560,7 @@ function KT(t) {
|
|
|
18544
18560
|
chartType: v,
|
|
18545
18561
|
chartSubType: A,
|
|
18546
18562
|
showOutliers: x,
|
|
18547
|
-
isFeatureCollectionLayer:
|
|
18563
|
+
isFeatureCollectionLayer: Qi(a)
|
|
18548
18564
|
})), Ns({
|
|
18549
18565
|
elementDataContext: q,
|
|
18550
18566
|
options: n,
|
|
@@ -18656,12 +18672,12 @@ async function Lo(t) {
|
|
|
18656
18672
|
else
|
|
18657
18673
|
try {
|
|
18658
18674
|
ug(e, "updateSelectionCallbackDisposer");
|
|
18659
|
-
const r =
|
|
18675
|
+
const r = Gi(o), l = [], c = [];
|
|
18660
18676
|
let d = [];
|
|
18661
18677
|
const u = /* @__PURE__ */ new Map(), { xAxisField: f } = i[0] ?? {}, m = z(o?.series), g = H(o?.series), p = ut(o?.series ?? []);
|
|
18662
18678
|
let b;
|
|
18663
18679
|
if (s !== void 0 && (b = (await ft(s)).find((C) => C.name === f)?.type), i.forEach((x) => {
|
|
18664
|
-
const { elementDataContext: C, yAxisField: v, splitBy: F } = x, A =
|
|
18680
|
+
const { elementDataContext: C, yAxisField: v, splitBy: F } = x, A = ea({
|
|
18665
18681
|
dataContext: C,
|
|
18666
18682
|
yAxisField: v,
|
|
18667
18683
|
yList: p,
|
|
@@ -18670,7 +18686,7 @@ async function Lo(t) {
|
|
|
18670
18686
|
chartType: m,
|
|
18671
18687
|
chartSubType: g,
|
|
18672
18688
|
showOutliers: r,
|
|
18673
|
-
isFeatureCollectionLayer:
|
|
18689
|
+
isFeatureCollectionLayer: Qi(s)
|
|
18674
18690
|
});
|
|
18675
18691
|
A !== void 0 && c.push(A);
|
|
18676
18692
|
const { seriesIndex: T, elementIndex: k } = x;
|
|
@@ -18791,17 +18807,17 @@ function tB(t) {
|
|
|
18791
18807
|
t.renderer.labels.template.events.on(E.Hit, async (a) => {
|
|
18792
18808
|
t.renderer.labels.template.events.isEnabled(E.Hit) && await eB(a);
|
|
18793
18809
|
});
|
|
18794
|
-
const i = O(t.chart.uid, "filterBySelection") === !0 ?
|
|
18810
|
+
const i = O(t.chart.uid, "filterBySelection") === !0 ? hi.default : hi.pointer;
|
|
18795
18811
|
Br(t, i);
|
|
18796
18812
|
}
|
|
18797
18813
|
}
|
|
18798
18814
|
function os(t, e) {
|
|
18799
18815
|
if (_t(t?.renderer?.labels?.template) && (t instanceof Ct || t instanceof Ye))
|
|
18800
18816
|
if (e)
|
|
18801
|
-
t.renderer.labels.template.events.disableType(E.Hit), Br(t,
|
|
18817
|
+
t.renderer.labels.template.events.disableType(E.Hit), Br(t, hi.default);
|
|
18802
18818
|
else {
|
|
18803
18819
|
t.renderer.labels.template.events.enableType(E.Hit);
|
|
18804
|
-
const a = O(t.chart.uid, "filterBySelection") === !0 ?
|
|
18820
|
+
const a = O(t.chart.uid, "filterBySelection") === !0 ? hi.default : hi.pointer;
|
|
18805
18821
|
Br(t, a);
|
|
18806
18822
|
}
|
|
18807
18823
|
}
|
|
@@ -18844,7 +18860,7 @@ function iB(t, e) {
|
|
|
18844
18860
|
}
|
|
18845
18861
|
function aB(t, e) {
|
|
18846
18862
|
const i = t.renderer instanceof xs ? new _r() : new jr();
|
|
18847
|
-
return i.disabled = !0, i.axis = t, zs(i),
|
|
18863
|
+
return i.disabled = !0, i.axis = t, zs(i), Ei(i.uid, { isGuide: e }), ao({ chart: t.chart, label: i, labelType: ue.GuideLabel }), e && iB(t, i), i;
|
|
18848
18864
|
}
|
|
18849
18865
|
function nB(t) {
|
|
18850
18866
|
const { label: e, labelConfig: i, guideType: a } = t, n = e.axis.renderer instanceof Kt;
|
|
@@ -19131,7 +19147,7 @@ function yB(t) {
|
|
|
19131
19147
|
}
|
|
19132
19148
|
function SB(t) {
|
|
19133
19149
|
const { axisTick: e, value: i, axisConfig: a, numberFormatter: n } = t;
|
|
19134
|
-
e.value = i, a.labels.content.text = n.format(i),
|
|
19150
|
+
e.value = i, a.labels.content.text = n.format(i), bi({
|
|
19135
19151
|
element: e.tick,
|
|
19136
19152
|
lineSymbol: a.lineSymbol,
|
|
19137
19153
|
visible: a.visible
|
|
@@ -19148,7 +19164,7 @@ function CB(t) {
|
|
|
19148
19164
|
iLocale: e.chart.language.locale,
|
|
19149
19165
|
formatLocale: n
|
|
19150
19166
|
});
|
|
19151
|
-
if (o.numberFormat =
|
|
19167
|
+
if (o.numberFormat = Ri(i.valueFormat), a !== void 0) {
|
|
19152
19168
|
const s = ot(e, pe.Ticks);
|
|
19153
19169
|
for (let r = 0; r < a.length; r += 1) {
|
|
19154
19170
|
const l = s[r];
|
|
@@ -19422,9 +19438,9 @@ function EB(t, e = !0) {
|
|
|
19422
19438
|
function WB(t, e) {
|
|
19423
19439
|
let i, a;
|
|
19424
19440
|
const n = ui(B.dataLabelInitialize);
|
|
19425
|
-
|
|
19441
|
+
Ei(n.uid, { isDataLabel: !0 }), t.bullets.push(n);
|
|
19426
19442
|
const o = ui(B.dataLabelInitialize, t.columns.template);
|
|
19427
|
-
return
|
|
19443
|
+
return Ei(o.uid, { isDataLabel: !0 }), kr(o, t), kr(n, t), t.events.on(
|
|
19428
19444
|
E.Validated,
|
|
19429
19445
|
Je(() => {
|
|
19430
19446
|
eo(o) && o.clones.each((s) => {
|
|
@@ -19847,18 +19863,18 @@ async function Wo(t) {
|
|
|
19847
19863
|
tickSpacing: D,
|
|
19848
19864
|
dateBaseInterval: N
|
|
19849
19865
|
} = i;
|
|
19850
|
-
ew({ axis: e, timeIntervalInfo: a, dateBaseInterval: N }),
|
|
19866
|
+
ew({ axis: e, timeIntervalInfo: a, dateBaseInterval: N }), bi({
|
|
19851
19867
|
element: e.renderer.grid.template,
|
|
19852
19868
|
lineSymbol: x,
|
|
19853
19869
|
visible: p
|
|
19854
|
-
}),
|
|
19870
|
+
}), bi({
|
|
19855
19871
|
element: e.renderer.line,
|
|
19856
19872
|
lineSymbol: {
|
|
19857
19873
|
color: [...B.color],
|
|
19858
19874
|
...C ?? co()
|
|
19859
19875
|
},
|
|
19860
19876
|
visible: p
|
|
19861
|
-
}),
|
|
19877
|
+
}), bi({
|
|
19862
19878
|
element: e.renderer.ticks.template,
|
|
19863
19879
|
lineSymbol: C,
|
|
19864
19880
|
visible: p
|
|
@@ -20177,7 +20193,7 @@ function uw(t) {
|
|
|
20177
20193
|
axisConfig: i
|
|
20178
20194
|
}), u = d / l;
|
|
20179
20195
|
Number.isFinite(d) && d > 0 && (u <= 0.98 || u > 1.02) && r.forEach((f) => {
|
|
20180
|
-
|
|
20196
|
+
Ei(f.uid, {
|
|
20181
20197
|
originalWidth: f.measuredWidth / f.scale,
|
|
20182
20198
|
originalHeight: f.measuredHeight / f.scale
|
|
20183
20199
|
}), f.scale = d;
|
|
@@ -20289,7 +20305,7 @@ function hw(t) {
|
|
|
20289
20305
|
}
|
|
20290
20306
|
function pw(t) {
|
|
20291
20307
|
const e = ui(void 0, t.radarContainer);
|
|
20292
|
-
e.isMeasured = !1,
|
|
20308
|
+
e.isMeasured = !1, Ei(e.uid, { isGaugeAxisInnerLabel: !0 }), dw(t, e);
|
|
20293
20309
|
}
|
|
20294
20310
|
function bw(t) {
|
|
20295
20311
|
const { chart: e, innerLabelConfig: i, valueFormat: a, gaugeValue: n, gaugeInnerLabelFormatter: o } = t, s = e.radarContainer.children.values.find(
|
|
@@ -20314,7 +20330,7 @@ function yw(t) {
|
|
|
20314
20330
|
}
|
|
20315
20331
|
function Sw(t) {
|
|
20316
20332
|
const e = new _r();
|
|
20317
|
-
return e.disabled = !0, e.axis = t, zs(e), e.padding(10, 10, 10, 10),
|
|
20333
|
+
return e.disabled = !0, e.axis = t, zs(e), e.padding(10, 10, 10, 10), Ei(e.uid, { isGaugeAxisLabel: !0 }), e;
|
|
20318
20334
|
}
|
|
20319
20335
|
function xw(t) {
|
|
20320
20336
|
const { axis: e, min: i, max: a, labelsIncrement: n, numberOfIntervals: o, valueFormat: s } = t, r = Ln(s);
|
|
@@ -20436,7 +20452,7 @@ function ww(t) {
|
|
|
20436
20452
|
if (s !== void 0)
|
|
20437
20453
|
r = s(o);
|
|
20438
20454
|
else {
|
|
20439
|
-
const l =
|
|
20455
|
+
const l = Ri(e), c = ii({
|
|
20440
20456
|
type: y.NumberAxisFormat,
|
|
20441
20457
|
iLocale: i,
|
|
20442
20458
|
formatLocale: a
|
|
@@ -20459,7 +20475,7 @@ function Eg(t) {
|
|
|
20459
20475
|
if (s !== void 0)
|
|
20460
20476
|
r = s(o);
|
|
20461
20477
|
else {
|
|
20462
|
-
const l =
|
|
20478
|
+
const l = Ri(e), c = ii({
|
|
20463
20479
|
type: y.NumberAxisFormat,
|
|
20464
20480
|
iLocale: i,
|
|
20465
20481
|
formatLocale: a
|
|
@@ -20779,7 +20795,7 @@ function Yw(t, e) {
|
|
|
20779
20795
|
}
|
|
20780
20796
|
function Uw(t, e) {
|
|
20781
20797
|
t.chart.legend.events.once(E.Validated, () => {
|
|
20782
|
-
|
|
20798
|
+
Wi({
|
|
20783
20799
|
element: t.legendDataItem?.marker.children.getIndex(0),
|
|
20784
20800
|
stylingInfo: e
|
|
20785
20801
|
}), t.chart.legend.invalidate();
|
|
@@ -20799,7 +20815,7 @@ function jw(t) {
|
|
|
20799
20815
|
};
|
|
20800
20816
|
let g = {};
|
|
20801
20817
|
const p = Zd(a);
|
|
20802
|
-
if (e.columns.length === 0 ? g =
|
|
20818
|
+
if (e.columns.length === 0 ? g = ia({
|
|
20803
20819
|
seriesConfig: i,
|
|
20804
20820
|
seriesIndex: a,
|
|
20805
20821
|
seriesSymbol: f ?? p,
|
|
@@ -20816,19 +20832,19 @@ function jw(t) {
|
|
|
20816
20832
|
colorMatch: s,
|
|
20817
20833
|
rendererType: r
|
|
20818
20834
|
});
|
|
20819
|
-
g =
|
|
20835
|
+
g = ia({
|
|
20820
20836
|
...m,
|
|
20821
20837
|
seriesSymbol: f ?? p,
|
|
20822
20838
|
element: b,
|
|
20823
20839
|
rendererSymbol: x
|
|
20824
|
-
}),
|
|
20840
|
+
}), Wi({ element: b, stylingInfo: g.stylingInfo }), d.add(JSON.stringify(g.symbolWithColorInfo));
|
|
20825
20841
|
}
|
|
20826
20842
|
}), n > 1) {
|
|
20827
20843
|
const b = e.chart.legend.markers.values;
|
|
20828
20844
|
b.length !== 0 ? b.forEach((S) => {
|
|
20829
20845
|
if (S.dataItem instanceof wa) {
|
|
20830
20846
|
const x = S.dataItem.marker.children.getIndex(0);
|
|
20831
|
-
x !== void 0 && x.baseSprite?.parent instanceof Ze ?
|
|
20847
|
+
x !== void 0 && x.baseSprite?.parent instanceof Ze ? Wi({
|
|
20832
20848
|
element: x,
|
|
20833
20849
|
stylingInfo: g.stylingInfo
|
|
20834
20850
|
}) : c = !0;
|
|
@@ -20876,7 +20892,7 @@ function Hg(t) {
|
|
|
20876
20892
|
fieldList: c,
|
|
20877
20893
|
fieldName: Ge(S),
|
|
20878
20894
|
fieldValueToMatch: b
|
|
20879
|
-
}) ?? b),
|
|
20895
|
+
}) ?? b), wi(i, b), Xl({
|
|
20880
20896
|
series: i,
|
|
20881
20897
|
seriesConfig: e,
|
|
20882
20898
|
rotationChanged: n,
|
|
@@ -20911,7 +20927,7 @@ function Qw(t) {
|
|
|
20911
20927
|
}
|
|
20912
20928
|
function Kw(t) {
|
|
20913
20929
|
const { chart: e, chartConfig: i, seriesIndex: a, axisList: n = [], hideLoaderHandle: o, selectionTheme: s } = t, { rotated: r } = i, l = i.series[a], { y: c, assignToSecondValueAxis: d } = l, u = new Ze();
|
|
20914
|
-
|
|
20930
|
+
Ii(u, o), u.id = l.id;
|
|
20915
20931
|
let f, m;
|
|
20916
20932
|
r !== !0 ? (f = n[0], m = d === !0 && n[2] ? n[2] : n[1]) : (f = d === !0 && n[2] ? n[2] : n[0], m = n[1]), f !== void 0 && (u.xAxis = f), m !== void 0 && (u.yAxis = m);
|
|
20917
20933
|
const g = e instanceof fe ? ai({ chart: e }) : !1, b = H(i.series) !== L.BarAndLineSplitByNoAggregation ? c : `${c}_${bt({ where: l.query?.where })}`;
|
|
@@ -20927,10 +20943,10 @@ function Kw(t) {
|
|
|
20927
20943
|
rotationChanged: !1,
|
|
20928
20944
|
stackedType: i.stackedType,
|
|
20929
20945
|
isRotated: g
|
|
20930
|
-
}), u.dataFields.customValue = l?.query?.where, pg(u.columns.template, u), u.columns.template.width = ht(100),
|
|
20946
|
+
}), u.dataFields.customValue = l?.query?.where, pg(u.columns.template, u), u.columns.template.width = ht(100), ua({
|
|
20931
20947
|
element: u.columns.template,
|
|
20932
20948
|
customSelectionTheme: s
|
|
20933
|
-
}), Ja(e, u.columns.template), vo(u), Qw(u),
|
|
20949
|
+
}), Ja(e, u.columns.template), vo(u), Qw(u), da(u), u;
|
|
20934
20950
|
}
|
|
20935
20951
|
function Zw(t) {
|
|
20936
20952
|
const { seriesConfig: e, series: i, seriesIndex: a, axes: n, utilsStrings: o, fieldList: s, queryObject: r, stackedType: l, options: c } = t;
|
|
@@ -20984,7 +21000,7 @@ function Jw(t, e) {
|
|
|
20984
21000
|
}
|
|
20985
21001
|
function eI(t) {
|
|
20986
21002
|
const e = ui(B.dataLabelInitialize);
|
|
20987
|
-
return
|
|
21003
|
+
return Ei(e.uid, { isDataLabel: !0 }), t.bullets.push(e), Gl(e), ql(y.HistogramSeries, e), Jw(e, t), e.html = "{valueX}", e;
|
|
20988
21004
|
}
|
|
20989
21005
|
function tI(t) {
|
|
20990
21006
|
const { numberFormatter: e, dataLabelsConfigContent: i } = t;
|
|
@@ -21010,7 +21026,7 @@ function aI(t) {
|
|
|
21010
21026
|
let r;
|
|
21011
21027
|
const l = $t(a.rtl);
|
|
21012
21028
|
return s === !1 ? r = (c, d, u) => "" : r = (c, d, u) => {
|
|
21013
|
-
const f = ke(n, i.x), m =
|
|
21029
|
+
const f = ke(n, i.x), m = Vi(f, e?.[0].title?.content?.text), g = Vi(o.statistics.count, e?.[1].title?.content?.text), p = ln({
|
|
21014
21030
|
series: a,
|
|
21015
21031
|
callbackName: "tooltipValueYNumberFormatCallback",
|
|
21016
21032
|
value: c
|
|
@@ -21071,7 +21087,7 @@ const ur = {
|
|
|
21071
21087
|
};
|
|
21072
21088
|
async function Oo(t) {
|
|
21073
21089
|
const { xAxis: e, yAxis: i, type: a, hideLoaderHandle: n } = t, o = new ye();
|
|
21074
|
-
return o.id = a,
|
|
21090
|
+
return o.id = a, Ii(o, n), Ue(o.uid, { isOverlay: !0, type: a }), o.dataFields.valueX = "x", o.dataFields.valueY = "y", e !== void 0 && (o.xAxis = e), i !== void 0 && (o.yAxis = i), o.hidden = !0, o;
|
|
21075
21091
|
}
|
|
21076
21092
|
function sI(t) {
|
|
21077
21093
|
const { lineSeries: e, valueFormat: i, overlay: a, chartData: n, utilsStrings: o } = t;
|
|
@@ -21079,7 +21095,7 @@ function sI(t) {
|
|
|
21079
21095
|
oe(e, !1), e.hiddenInLegend = !0;
|
|
21080
21096
|
else {
|
|
21081
21097
|
const { symbol: s, created: r, visible: l } = a, c = r === !0 && l !== !1, d = te(e.uid, "type"), u = te(e.uid, "upper");
|
|
21082
|
-
if (
|
|
21098
|
+
if (bi({
|
|
21083
21099
|
element: e,
|
|
21084
21100
|
lineSymbol: s,
|
|
21085
21101
|
visible: c
|
|
@@ -21120,7 +21136,7 @@ function sI(t) {
|
|
|
21120
21136
|
break;
|
|
21121
21137
|
}
|
|
21122
21138
|
const g = O(e.chart.uid, "formatLocale");
|
|
21123
|
-
|
|
21139
|
+
wi(
|
|
21124
21140
|
e,
|
|
21125
21141
|
`${m}: ${za({
|
|
21126
21142
|
value: f,
|
|
@@ -21137,7 +21153,7 @@ async function rI(t, e, i) {
|
|
|
21137
21153
|
return Ue(a.uid, {
|
|
21138
21154
|
isOverlay: !0,
|
|
21139
21155
|
type: rt.Normal
|
|
21140
|
-
}), a.xAxis = t, a.yAxis = e, a.dataFields.valueX = "x", a.dataFields.valueY = "y",
|
|
21156
|
+
}), a.xAxis = t, a.yAxis = e, a.dataFields.valueX = "x", a.dataFields.valueY = "y", wi(a, i.overlays.normal), a.hidden = !0, a.id = rt.Normal, a;
|
|
21141
21157
|
}
|
|
21142
21158
|
function lI(t) {
|
|
21143
21159
|
const { lineSeries: e, overlay: i, seriesData: a, numberOfPoints: n } = t;
|
|
@@ -21145,7 +21161,7 @@ function lI(t) {
|
|
|
21145
21161
|
oe(e, !1), e.hiddenInLegend = !0;
|
|
21146
21162
|
else {
|
|
21147
21163
|
const { symbol: o, created: s, visible: r } = i;
|
|
21148
|
-
if (
|
|
21164
|
+
if (bi({
|
|
21149
21165
|
element: e,
|
|
21150
21166
|
lineSymbol: o,
|
|
21151
21167
|
visible: s === !0 && r !== !1
|
|
@@ -21167,9 +21183,9 @@ function lI(t) {
|
|
|
21167
21183
|
}
|
|
21168
21184
|
async function cI(t) {
|
|
21169
21185
|
const { chart: e, seriesConfig: i, axisList: a = [], hideLoaderHandle: n, utilsStrings: o, selectionTheme: s } = t, r = [], l = new Ze();
|
|
21170
|
-
|
|
21186
|
+
Ii(l, n), l.id = i.id, l.hiddenInLegend = !0;
|
|
21171
21187
|
const [c, d] = a;
|
|
21172
|
-
if (c !== void 0 && (l.xAxis = c), d !== void 0 && (l.yAxis = d), nI(l), eI(l), l.dataItems.template.locations.valueX = 1, l.dataItems.template.locations.openValueX = 0, l.dataFields.openValueX = ur.Start, l.dataFields.valueX = ur.End, l.dataFields.valueY = ur.Count, l.dataFields.customValue = i.x,
|
|
21188
|
+
if (c !== void 0 && (l.xAxis = c), d !== void 0 && (l.yAxis = d), nI(l), eI(l), l.dataItems.template.locations.valueX = 1, l.dataItems.template.locations.openValueX = 0, l.dataFields.openValueX = ur.Start, l.dataFields.valueX = ur.End, l.dataFields.valueY = ur.Count, l.dataFields.customValue = i.x, da(l), ua({
|
|
21173
21189
|
element: l.columns.template,
|
|
21174
21190
|
customSelectionTheme: s
|
|
21175
21191
|
}), Ja(e, l.columns.template), r.push(l), c !== void 0 && d !== void 0) {
|
|
@@ -21217,7 +21233,7 @@ function dI(t) {
|
|
|
21217
21233
|
let o;
|
|
21218
21234
|
const s = i.fillSymbol ?? Kd();
|
|
21219
21235
|
if (e.columns.each((r) => {
|
|
21220
|
-
const l =
|
|
21236
|
+
const l = ia({
|
|
21221
21237
|
element: r,
|
|
21222
21238
|
seriesConfig: i,
|
|
21223
21239
|
seriesSymbol: s,
|
|
@@ -21227,7 +21243,7 @@ function dI(t) {
|
|
|
21227
21243
|
});
|
|
21228
21244
|
o = l.symbolWithColorInfo;
|
|
21229
21245
|
const c = l.stylingInfo;
|
|
21230
|
-
|
|
21246
|
+
Wi({ element: r, stylingInfo: c });
|
|
21231
21247
|
}), o !== void 0) {
|
|
21232
21248
|
const r = /* @__PURE__ */ new Map();
|
|
21233
21249
|
r.set(0, o), ni({
|
|
@@ -21309,7 +21325,7 @@ async function uI(t) {
|
|
|
21309
21325
|
});
|
|
21310
21326
|
});
|
|
21311
21327
|
} else if (b instanceof Ze) {
|
|
21312
|
-
b.id = i.id, oe(b, i.visible),
|
|
21328
|
+
b.id = i.id, oe(b, i.visible), wi(b, i.name);
|
|
21313
21329
|
const S = ve(l), x = ml({
|
|
21314
21330
|
chartRenderer: c,
|
|
21315
21331
|
queryObject: l
|
|
@@ -21323,7 +21339,7 @@ async function uI(t) {
|
|
|
21323
21339
|
seriesConfig: [i],
|
|
21324
21340
|
dataItem: {},
|
|
21325
21341
|
renderer: C,
|
|
21326
|
-
rendererOrigin: c !== void 0 ?
|
|
21342
|
+
rendererOrigin: c !== void 0 ? Oi.ChartRenderer : Oi.LayerRenderer,
|
|
21327
21343
|
rendererType: v,
|
|
21328
21344
|
chartSubType: L.NonSpecific,
|
|
21329
21345
|
graphicTemplate: x
|
|
@@ -21365,7 +21381,7 @@ function fI(t) {
|
|
|
21365
21381
|
);
|
|
21366
21382
|
let n = e ?? "";
|
|
21367
21383
|
const { dataItem: o } = i;
|
|
21368
|
-
if (o instanceof
|
|
21384
|
+
if (o instanceof Pi) {
|
|
21369
21385
|
const { slice: s } = o;
|
|
21370
21386
|
if (s !== void 0 && !eo(s))
|
|
21371
21387
|
n = "";
|
|
@@ -21384,7 +21400,7 @@ function mI(t) {
|
|
|
21384
21400
|
const e = t.labels.template;
|
|
21385
21401
|
e.maxWidth = B.pieChart.dataLabels.maxWidth ?? Number.NaN, e.wrap = B.pieChart.dataLabels.wrap ?? !0, e.events.on(E.Over, (i) => {
|
|
21386
21402
|
const { dataItem: a } = i.target ?? {};
|
|
21387
|
-
a instanceof
|
|
21403
|
+
a instanceof Pi && a.slice.showTooltip();
|
|
21388
21404
|
}), fI(t);
|
|
21389
21405
|
}
|
|
21390
21406
|
function gI(t, e) {
|
|
@@ -21498,9 +21514,9 @@ function yI(t) {
|
|
|
21498
21514
|
);
|
|
21499
21515
|
if (l !== void 0) {
|
|
21500
21516
|
const { dataItem: c } = a;
|
|
21501
|
-
if (c instanceof
|
|
21517
|
+
if (c instanceof Pi) {
|
|
21502
21518
|
const d = c.properties.category ?? "", u = c.dataContext;
|
|
21503
|
-
let f =
|
|
21519
|
+
let f = Si(u);
|
|
21504
21520
|
f === void 0 && (f = d);
|
|
21505
21521
|
const m = c.values?.value?.value, g = c.values?.value?.percent;
|
|
21506
21522
|
typeof m == "number" && m !== 0 && s?.series?.[0]?.dataTooltipVisible !== !1 ? (a.tooltip.disabled = !1, bI(a), n = l(`${d}`, m, g, f)) : a.tooltip.disabled = !0;
|
|
@@ -21536,7 +21552,7 @@ function CI(t) {
|
|
|
21536
21552
|
}
|
|
21537
21553
|
function vI(t) {
|
|
21538
21554
|
const { seriesConfig: e, hideLoaderHandle: i, selectionTheme: a } = t, { x: n, y: o, id: s, visible: r } = e, l = new ci();
|
|
21539
|
-
l.id = s,
|
|
21555
|
+
l.id = s, Ii(l, i), l.dataFields.value = o, l.dataFields.category = n;
|
|
21540
21556
|
const c = B.pieChart;
|
|
21541
21557
|
l.startAngle = c.min, l.endAngle = 360 + l.startAngle, xI(l), yI(l), mI(l);
|
|
21542
21558
|
const d = a !== void 0 && a.selectedElementsTheme?.transformation?.opacity === void 0 ? {
|
|
@@ -21549,11 +21565,11 @@ function vI(t) {
|
|
|
21549
21565
|
}
|
|
21550
21566
|
}
|
|
21551
21567
|
} : a;
|
|
21552
|
-
return
|
|
21568
|
+
return ua({
|
|
21553
21569
|
element: l.slices.template,
|
|
21554
21570
|
useNativeState: !0,
|
|
21555
21571
|
customSelectionTheme: d
|
|
21556
|
-
}), l.slices.template.states.removeKey("hover"),
|
|
21572
|
+
}), l.slices.template.states.removeKey("hover"), da(l), l.hidden = r === !1, vo(l), l;
|
|
21557
21573
|
}
|
|
21558
21574
|
function FI(t) {
|
|
21559
21575
|
const { series: e, pieSlicesSymbols: i, seriesConfig: a, selectionTheme: n } = t;
|
|
@@ -21569,7 +21585,7 @@ function FI(t) {
|
|
|
21569
21585
|
colorRampIndex: s,
|
|
21570
21586
|
isChartFillSymbol: !0
|
|
21571
21587
|
});
|
|
21572
|
-
n !== void 0 && n.selectedElementsTheme === void 0 &&
|
|
21588
|
+
n !== void 0 && n.selectedElementsTheme === void 0 && Wi({
|
|
21573
21589
|
element: o,
|
|
21574
21590
|
stylingInfo: c,
|
|
21575
21591
|
stateKey: yt.Active
|
|
@@ -21587,7 +21603,7 @@ async function LI(t) {
|
|
|
21587
21603
|
fieldList: g,
|
|
21588
21604
|
labelUpdateNeeded: n,
|
|
21589
21605
|
chartSubType: d,
|
|
21590
|
-
colorMatch:
|
|
21606
|
+
colorMatch: Ci(e),
|
|
21591
21607
|
utilsStrings: o
|
|
21592
21608
|
};
|
|
21593
21609
|
}
|
|
@@ -21623,7 +21639,7 @@ function TI(t) {
|
|
|
21623
21639
|
f.dataItem = {
|
|
21624
21640
|
dataContext: e
|
|
21625
21641
|
};
|
|
21626
|
-
const { symbolWithColorInfo: m } =
|
|
21642
|
+
const { symbolWithColorInfo: m } = ia({
|
|
21627
21643
|
element: f,
|
|
21628
21644
|
seriesConfig: i,
|
|
21629
21645
|
y: i.y,
|
|
@@ -21663,7 +21679,7 @@ function Ad(t, e) {
|
|
|
21663
21679
|
const C = Zo(s.slices, x);
|
|
21664
21680
|
C?.fillSymbol?.color !== void 0 && p.add(C.fillSymbol.color);
|
|
21665
21681
|
}), t.forEach((b, S) => {
|
|
21666
|
-
const x = b[B.pieChart.technicalFieldSliceId], C = Zo(s.slices, x), v =
|
|
21682
|
+
const x = b[B.pieChart.technicalFieldSliceId], C = Zo(s.slices, x), v = Ai(b), F = TI({
|
|
21667
21683
|
dataContext: b,
|
|
21668
21684
|
seriesConfig: s,
|
|
21669
21685
|
existingSlicesColors: p,
|
|
@@ -21713,7 +21729,7 @@ function BI(t, e) {
|
|
|
21713
21729
|
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;
|
|
21714
21730
|
t.ticks.template.disabled = a, t.ticks.template.strokeOpacity = B.pieChart.ticksOpacity;
|
|
21715
21731
|
const n = i?.lineSymbol ?? co({ color: tu });
|
|
21716
|
-
a && (n.width = 0),
|
|
21732
|
+
a && (n.width = 0), bi({
|
|
21717
21733
|
element: t.ticks.template,
|
|
21718
21734
|
lineSymbol: n,
|
|
21719
21735
|
visible: !a
|
|
@@ -21781,7 +21797,7 @@ function II(t, e) {
|
|
|
21781
21797
|
}
|
|
21782
21798
|
function kI(t) {
|
|
21783
21799
|
const e = ui(B.dataLabelInitialize);
|
|
21784
|
-
return
|
|
21800
|
+
return Ei(e.uid, { isDataLabel: !0 }), t.bullets.push(e), II(e, t), e.html = "{valueX} - {valueY}", e;
|
|
21785
21801
|
}
|
|
21786
21802
|
function DI(t) {
|
|
21787
21803
|
const { numberFormatter: e, dataLabelsConfigContent: i } = t;
|
|
@@ -21807,7 +21823,7 @@ function OI(t) {
|
|
|
21807
21823
|
let s;
|
|
21808
21824
|
const r = $t(a.rtl);
|
|
21809
21825
|
return o === !1 ? s = (l, c, d) => "" : s = (l, c, d) => {
|
|
21810
|
-
const u = ke(n, i.x), f =
|
|
21826
|
+
const u = ke(n, i.x), f = Vi(u, e?.[0].title?.content?.text), m = ke(n, i.y), g = Vi(m, e?.[1].title?.content?.text), p = ln({
|
|
21811
21827
|
series: a,
|
|
21812
21828
|
callbackName: "tooltipValueXNumberFormatCallback",
|
|
21813
21829
|
value: l
|
|
@@ -21895,7 +21911,7 @@ function VI(t) {
|
|
|
21895
21911
|
}
|
|
21896
21912
|
async function EI(t) {
|
|
21897
21913
|
const { xAxis: e, yAxis: i, x: a, y: n, name: o, hideLoaderHandle: s } = t, r = new ye();
|
|
21898
|
-
return
|
|
21914
|
+
return wi(r, o), Ii(r, s), r.ignoreMinMax = !0, Ue(r.uid, {
|
|
21899
21915
|
isOverlay: !0,
|
|
21900
21916
|
type: rt.Trendline
|
|
21901
21917
|
}), r.dataFields.valueX = a, r.dataFields.valueY = n, r.xAxis = e, r.yAxis = i, r.hidden = !0, r;
|
|
@@ -21910,13 +21926,13 @@ function WI(t) {
|
|
|
21910
21926
|
iLocale: e.chart.language.locale,
|
|
21911
21927
|
formatLocale: c
|
|
21912
21928
|
}) : void 0, u = d !== void 0 ? `R² = ${d}` : o;
|
|
21913
|
-
|
|
21929
|
+
wi(e, u);
|
|
21914
21930
|
}
|
|
21915
21931
|
e.hiddenInLegend = i.overlays?.trendLine?.created !== !0;
|
|
21916
21932
|
const r = i.overlays?.trendLine?.created === !0 && i.overlays.trendLine.visible !== !1, l = i.overlays?.trendLine?.symbol ?? {
|
|
21917
21933
|
type: se.SLS
|
|
21918
21934
|
};
|
|
21919
|
-
l.color === void 0 && (l.color = ri({ colorIndex: 1 })),
|
|
21935
|
+
l.color === void 0 && (l.color = ri({ colorIndex: 1 })), bi({
|
|
21920
21936
|
element: e,
|
|
21921
21937
|
lineSymbol: l ?? co(),
|
|
21922
21938
|
visible: r
|
|
@@ -21924,9 +21940,9 @@ function WI(t) {
|
|
|
21924
21940
|
}
|
|
21925
21941
|
async function zI(t) {
|
|
21926
21942
|
const { chart: e, seriesConfig: i, axisList: a = [], hideLoaderHandle: n, selectionTheme: o, ignoreSmoothRenderingLimit: s } = t, r = B.scatterplotSeries, [l, c] = a, { x: d, y: u, overlays: f, name: m, id: g } = i, p = [], b = new ye();
|
|
21927
|
-
Ue(b.uid, { type: y.ScatterSeries }), b.id = g,
|
|
21943
|
+
Ue(b.uid, { type: y.ScatterSeries }), b.id = g, Ii(b, n), b.hiddenInLegend = !0, b.dataFields.valueX = d, b.dataFields.valueY = u, l !== void 0 && (b.xAxis = l), c !== void 0 && (b.yAxis = c);
|
|
21928
21944
|
const S = qs({ chart: e, lineSeries: b });
|
|
21929
|
-
$I(S, b), kI(b), b.strokeOpacity = r.strokeOpacity, b.minDistance *= Math.ceil(b.data.length / 1e4), b.hidden = !0,
|
|
21945
|
+
$I(S, b), kI(b), b.strokeOpacity = r.strokeOpacity, b.minDistance *= Math.ceil(b.data.length / 1e4), b.hidden = !0, ua({ element: S, customSelectionTheme: o }), Ja(e, S), dg({
|
|
21930
21946
|
chart: e,
|
|
21931
21947
|
series: b,
|
|
21932
21948
|
seriesType: y.ScatterSeries,
|
|
@@ -21942,7 +21958,7 @@ async function zI(t) {
|
|
|
21942
21958
|
name: m,
|
|
21943
21959
|
visible: x?.visible
|
|
21944
21960
|
});
|
|
21945
|
-
return vo(C), p.push(C),
|
|
21961
|
+
return vo(C), p.push(C), da(b), p;
|
|
21946
21962
|
}
|
|
21947
21963
|
function HI(t) {
|
|
21948
21964
|
const { seriesConfig: e, series: i, colorMatch: a } = t, { chart: n } = i, o = Ee(i), s = RI(e, i), r = () => {
|
|
@@ -21955,14 +21971,14 @@ function HI(t) {
|
|
|
21955
21971
|
seriesConfig: e,
|
|
21956
21972
|
chartSubType: L.NonSpecific,
|
|
21957
21973
|
colorMatch: a
|
|
21958
|
-
}), p =
|
|
21974
|
+
}), p = ia({
|
|
21959
21975
|
element: m,
|
|
21960
21976
|
seriesSymbol: d,
|
|
21961
21977
|
seriesConfig: e,
|
|
21962
21978
|
colorMatch: a,
|
|
21963
21979
|
rendererSymbol: g
|
|
21964
21980
|
});
|
|
21965
|
-
l = p.symbolWithColorInfo, c = p.stylingInfo,
|
|
21981
|
+
l = p.symbolWithColorInfo, c = p.stylingInfo, Wi({ element: m, stylingInfo: c }), u.add(JSON.stringify(c));
|
|
21966
21982
|
}), l = u.size > 1 ? void 0 : l;
|
|
21967
21983
|
const f = /* @__PURE__ */ new Map();
|
|
21968
21984
|
f.set(0, l), ni({
|
|
@@ -22021,7 +22037,7 @@ function qI(t) {
|
|
|
22021
22037
|
}));
|
|
22022
22038
|
}
|
|
22023
22039
|
function GI(t) {
|
|
22024
|
-
const e = t.isHover, i = t.dataItem instanceof
|
|
22040
|
+
const e = t.isHover, i = t.dataItem instanceof Pi ? t.dataItem?.label?.isHover : !1;
|
|
22025
22041
|
return e || i;
|
|
22026
22042
|
}
|
|
22027
22043
|
async function XI(t) {
|
|
@@ -22039,7 +22055,7 @@ async function Td(t) {
|
|
|
22039
22055
|
chartConfig: o
|
|
22040
22056
|
};
|
|
22041
22057
|
s.slices.each((u, f) => {
|
|
22042
|
-
u.isActive && (u === i || a || u.dataItem instanceof
|
|
22058
|
+
u.isActive && (u === i || a || u.dataItem instanceof Pi && u.dataItem.label.isHover) ? Ai(u.dataItem?.dataContext) ? (po({
|
|
22043
22059
|
groupOfSlicesDataContext: u.dataItem?.dataContext
|
|
22044
22060
|
}) ?? []).forEach((b) => {
|
|
22045
22061
|
n.push({
|
|
@@ -22079,7 +22095,7 @@ function YI(t) {
|
|
|
22079
22095
|
await Td({ chart: t, multiSelect: s, hitSlice: o });
|
|
22080
22096
|
else if (o instanceof Qn) {
|
|
22081
22097
|
const r = o.dataItem;
|
|
22082
|
-
if (r instanceof
|
|
22098
|
+
if (r instanceof Pi) {
|
|
22083
22099
|
const { slice: l } = r;
|
|
22084
22100
|
l.isActive = !l.isActive, await Td({ chart: t, multiSelect: s, hitSlice: l });
|
|
22085
22101
|
}
|
|
@@ -22404,7 +22420,7 @@ function Yg(t) {
|
|
|
22404
22420
|
break;
|
|
22405
22421
|
}
|
|
22406
22422
|
case y.BoxPlotSeries: {
|
|
22407
|
-
const f =
|
|
22423
|
+
const f = Gi(a);
|
|
22408
22424
|
s.series.forEach((m) => {
|
|
22409
22425
|
let g, p;
|
|
22410
22426
|
m.type === y.BoxPlotSeries ? (g = (i ?? e.data).dataItems, p = g?.some(
|
|
@@ -22655,7 +22671,7 @@ async function rc(t) {
|
|
|
22655
22671
|
pieSlicesSymbols: S,
|
|
22656
22672
|
utilsStrings: x,
|
|
22657
22673
|
errorStrings: C
|
|
22658
|
-
} = t, v = e.series.values, F = /* @__PURE__ */ new Map(), A = i.series.length, T = z(a), k =
|
|
22674
|
+
} = t, v = e.series.values, F = /* @__PURE__ */ new Map(), A = i.series.length, T = z(a), k = Ci(i), D = Ut(i), N = gs(f), R = await ft(f, m?.usePopupTemplateFieldsInfo), $ = ve(f), P = ho(o, $.renderer);
|
|
22659
22675
|
for (const [V, W] of a.entries()) {
|
|
22660
22676
|
const G = z([W]), q = v[V], j = {
|
|
22661
22677
|
numberOfSeries: A,
|
|
@@ -22806,7 +22822,7 @@ async function lc(t) {
|
|
|
22806
22822
|
e.series.forEach((Q, Fe) => {
|
|
22807
22823
|
q.set(Q.id, Fe);
|
|
22808
22824
|
});
|
|
22809
|
-
const j =
|
|
22825
|
+
const j = vi(P), Z = ze(e);
|
|
22810
22826
|
e = Yg({
|
|
22811
22827
|
chart: i,
|
|
22812
22828
|
hideEmptySeries: a?.hideEmptySeries ?? B.options.hideEmptySeries,
|
|
@@ -22835,7 +22851,7 @@ async function lc(t) {
|
|
|
22835
22851
|
else {
|
|
22836
22852
|
j !== void 0 && (i.data = j);
|
|
22837
22853
|
const Q = H(e.series);
|
|
22838
|
-
D === y.BoxPlotSeries && Q !== L.BoxPlotMonoField && Q !== L.BoxPlotMonoFieldAndSplitBy && (
|
|
22854
|
+
D === y.BoxPlotSeries && Q !== L.BoxPlotMonoField && Q !== L.BoxPlotMonoFieldAndSplitBy && (Xi({ arrayToSort: i.data, chartConfig: e }), Tg({ chart: i, chartData: i.data, chartConfig: e }));
|
|
22839
22855
|
let Fe;
|
|
22840
22856
|
i instanceof Ne && (qg({
|
|
22841
22857
|
chart: i,
|
|
@@ -22855,7 +22871,7 @@ async function lc(t) {
|
|
|
22855
22871
|
meanLines: O(i.uid, "boxPlotMeanLinesData"),
|
|
22856
22872
|
outliers: P?.outliers
|
|
22857
22873
|
};
|
|
22858
|
-
|
|
22874
|
+
Zi({
|
|
22859
22875
|
data: i instanceof Ne ? { dataItems: i.data } : P,
|
|
22860
22876
|
seriesConfig: e.series,
|
|
22861
22877
|
htmlContainer: i.htmlContainer
|
|
@@ -22885,11 +22901,11 @@ async function lc(t) {
|
|
|
22885
22901
|
}), Au({ data: i.data, chartConfig: Be, htmlContainer: i.htmlContainer })), A?.valid !== !1) {
|
|
22886
22902
|
const { title: mi, subtitle: ae, footer: we, series: mt, background: it } = Be;
|
|
22887
22903
|
C = Ew(i), Qs(C, { title: mi, subtitle: ae }), v = Ww(i), Ks(v, we), F = ST(i, mt), YA(i);
|
|
22888
|
-
const Pt = ai({ config: Be }),
|
|
22904
|
+
const Pt = ai({ config: Be }), fa = H(mt);
|
|
22889
22905
|
K(i.uid, {
|
|
22890
22906
|
config: Be,
|
|
22891
22907
|
isRotated: Pt,
|
|
22892
|
-
isNonAggregatedChart: !Va(
|
|
22908
|
+
isNonAggregatedChart: !Va(fa)
|
|
22893
22909
|
}), Be.axes !== void 0 && (await JI({ chart: i, axesConfig: Be.axes, chartType: D, isRotated: Pt, errorStrings: r }), await sc({
|
|
22894
22910
|
chart: i,
|
|
22895
22911
|
chartConfig: Be,
|
|
@@ -23085,7 +23101,7 @@ async function nk(t) {
|
|
|
23085
23101
|
invalidType: mt,
|
|
23086
23102
|
data: it,
|
|
23087
23103
|
binnedServerData: Pt,
|
|
23088
|
-
queryConfig:
|
|
23104
|
+
queryConfig: fa
|
|
23089
23105
|
} = await Bn({
|
|
23090
23106
|
chartConfig: e,
|
|
23091
23107
|
queryObject: o,
|
|
@@ -23099,14 +23115,14 @@ async function nk(t) {
|
|
|
23099
23115
|
elementCount: ae,
|
|
23100
23116
|
initialized: we,
|
|
23101
23117
|
binnedServerData: Pt,
|
|
23102
|
-
queryConfig:
|
|
23118
|
+
queryConfig: fa,
|
|
23103
23119
|
boxPlotMeanLinesData: it?.meanLines,
|
|
23104
23120
|
timeIntervalInfo: it?.timeIntervalInfo,
|
|
23105
23121
|
trendLineData: {
|
|
23106
23122
|
r2: it?.r2,
|
|
23107
23123
|
trendLinePoints: it?.trendLinePoints
|
|
23108
23124
|
}
|
|
23109
|
-
}), Fe = we, Fe ? (ss(i), U = it, Q =
|
|
23125
|
+
}), Fe = we, Fe ? (ss(i), U = it, Q = vi(U)) : (await Ga({
|
|
23110
23126
|
chart: i,
|
|
23111
23127
|
invalidType: mt,
|
|
23112
23128
|
elementCount: ae,
|
|
@@ -23151,12 +23167,12 @@ async function nk(t) {
|
|
|
23151
23167
|
}), a.loaderHandle.hideLoader();
|
|
23152
23168
|
}
|
|
23153
23169
|
}
|
|
23154
|
-
q && (
|
|
23170
|
+
q && (Xi({
|
|
23155
23171
|
arrayToSort: F ? Q ?? i.data : i.data,
|
|
23156
23172
|
chartConfig: e,
|
|
23157
23173
|
fieldList: O(i.uid, "fieldList"),
|
|
23158
23174
|
isTimeBinningSeries: Yt({
|
|
23159
|
-
seriesConfig:
|
|
23175
|
+
seriesConfig: na(e),
|
|
23160
23176
|
xAxisValueFormatType: jt(e),
|
|
23161
23177
|
setTimeBinningInfoWhenNotProvided: n?.setTimeBinningInfoWhenNotProvided
|
|
23162
23178
|
})
|
|
@@ -23176,7 +23192,7 @@ async function nk(t) {
|
|
|
23176
23192
|
trendLinePoints: Be?.trendLinePoints,
|
|
23177
23193
|
r2: Be?.r2,
|
|
23178
23194
|
...Mt
|
|
23179
|
-
}, (F || q) &&
|
|
23195
|
+
}, (F || q) && Zi({ data: U, seriesConfig: e.series, htmlContainer: i.htmlContainer });
|
|
23180
23196
|
const oi = /* @__PURE__ */ new Map();
|
|
23181
23197
|
e.series.forEach((ae, we) => {
|
|
23182
23198
|
oi.set(ae.id, we);
|
|
@@ -23190,13 +23206,13 @@ async function nk(t) {
|
|
|
23190
23206
|
hideEmptySeries: n?.hideEmptySeries ?? B.options.hideEmptySeries
|
|
23191
23207
|
});
|
|
23192
23208
|
if (e = we.updatedConfig, k = we.seriesFilteredOut, (F || G) && C !== y.HistogramSeries) {
|
|
23193
|
-
const it = ze(e), Pt = U && it && "meanLines" in U ? U.meanLines : Q ?? i.data, { colorMatchApplied:
|
|
23209
|
+
const it = ze(e), Pt = U && it && "meanLines" in U ? U.meanLines : Q ?? i.data, { colorMatchApplied: fa, rendererFieldNames: Pn } = await wn({
|
|
23194
23210
|
data: Pt,
|
|
23195
23211
|
queryObject: o,
|
|
23196
23212
|
chartConfig: e,
|
|
23197
23213
|
allowColorMatch: mi
|
|
23198
23214
|
});
|
|
23199
|
-
K(i.uid, { colorMatchApplied:
|
|
23215
|
+
K(i.uid, { colorMatchApplied: fa, rendererFieldNames: Pn });
|
|
23200
23216
|
}
|
|
23201
23217
|
Q !== void 0 && (i.data = Q), e.axes !== void 0 && await sc({
|
|
23202
23218
|
chart: i,
|
|
@@ -23296,7 +23312,7 @@ async function ok(t) {
|
|
|
23296
23312
|
abortKey: xo(e),
|
|
23297
23313
|
errorStrings: l
|
|
23298
23314
|
});
|
|
23299
|
-
S = T, K(e.uid, { elementCount: v, queryConfig: k, initialized: F }), b = F, x =
|
|
23315
|
+
S = T, K(e.uid, { elementCount: v, queryConfig: k, initialized: F }), b = F, x = vi(S), b ? x !== void 0 && IS(e.data, x) && (e.data = x, C = !0) : (await Ga({
|
|
23300
23316
|
chart: e,
|
|
23301
23317
|
invalidType: A,
|
|
23302
23318
|
elementCount: v,
|
|
@@ -23318,7 +23334,7 @@ async function ok(t) {
|
|
|
23318
23334
|
});
|
|
23319
23335
|
}
|
|
23320
23336
|
const v = lf(u, f);
|
|
23321
|
-
(C || v) && qg({ chart: e, seriesConfig: f, utilsStrings: r }), (p || v) && (
|
|
23337
|
+
(C || v) && qg({ chart: e, seriesConfig: f, utilsStrings: r }), (p || v) && (Xi({
|
|
23322
23338
|
arrayToSort: x ?? e.data,
|
|
23323
23339
|
chartConfig: a,
|
|
23324
23340
|
fieldList: O(e.uid, "fieldList")
|
|
@@ -23332,7 +23348,7 @@ async function ok(t) {
|
|
|
23332
23348
|
usePopupTemplateFieldsInfo: s?.usePopupTemplateFieldsInfo,
|
|
23333
23349
|
utilsStrings: r
|
|
23334
23350
|
});
|
|
23335
|
-
(C || p) && (
|
|
23351
|
+
(C || p) && (Zi({
|
|
23336
23352
|
data: { dataItems: e.data },
|
|
23337
23353
|
seriesConfig: a.series,
|
|
23338
23354
|
htmlContainer: e.htmlContainer
|
|
@@ -23423,7 +23439,7 @@ async function sk(t) {
|
|
|
23423
23439
|
abortKey: xo(e),
|
|
23424
23440
|
errorStrings: l
|
|
23425
23441
|
});
|
|
23426
|
-
C = D, C?.dataItems !== void 0 && (e.data = C.dataItems),
|
|
23442
|
+
C = D, C?.dataItems !== void 0 && (e.data = C.dataItems), Zi({
|
|
23427
23443
|
data: { dataItems: e.data },
|
|
23428
23444
|
seriesConfig: a.series,
|
|
23429
23445
|
htmlContainer: e.htmlContainer
|
|
@@ -23512,9 +23528,9 @@ async function rk(t) {
|
|
|
23512
23528
|
async function lk(t) {
|
|
23513
23529
|
const { chartContainer: e, chartConfig: i, t9nStrings: a, options: n, globalOptions: o } = t, { errorStrings: s } = a, { layer: r, view: l } = n ?? {}, c = !Bd(e);
|
|
23514
23530
|
let d;
|
|
23515
|
-
i !== void 0 && (
|
|
23531
|
+
i !== void 0 && (Ni(i) ? d = i : d = qo({ chartConfig: i, queryObject: r })), d = await Yn(d, r);
|
|
23516
23532
|
let u;
|
|
23517
|
-
d && (
|
|
23533
|
+
d && (Ni(d) || r !== void 0) && (u = await fn({ chartConfig: d, layer: r, view: l }));
|
|
23518
23534
|
const f = await rk({
|
|
23519
23535
|
chartContainer: e,
|
|
23520
23536
|
chartConfig: d,
|
|
@@ -23582,7 +23598,7 @@ async function lk(t) {
|
|
|
23582
23598
|
}
|
|
23583
23599
|
async function S(A) {
|
|
23584
23600
|
const { layerUpdate: T, newConfig: k, viewUpdate: D } = A;
|
|
23585
|
-
k && (T !== void 0 ||
|
|
23601
|
+
k && (T !== void 0 || Ni(k)) && (u = await fn({ layer: T, view: D, chartConfig: k }), K(m.uid, { queryObject: u }));
|
|
23586
23602
|
}
|
|
23587
23603
|
async function x(A) {
|
|
23588
23604
|
const { newChartConfig: T, updateOptions: k, updateGlobalOptions: D, t9nStrings: N } = A, { errorStrings: R, utilsStrings: $ } = N;
|
|
@@ -23590,7 +23606,7 @@ async function lk(t) {
|
|
|
23590
23606
|
const { layer: P, view: V, dataUpdated: W } = k ?? {}, G = !Bd(e), q = await ft(u, n?.usePopupTemplateFieldsInfo);
|
|
23591
23607
|
K(m.uid, { chartWasUpdatedWhileHidden: G, options: k, fieldList: q });
|
|
23592
23608
|
let j;
|
|
23593
|
-
|
|
23609
|
+
Ni(T) ? j = T : T !== void 0 && (j = qo({ chartConfig: T, queryObject: P })), j = await Yn(j, P);
|
|
23594
23610
|
const Z = jn(u);
|
|
23595
23611
|
await S({ layerUpdate: P, newConfig: j, viewUpdate: V });
|
|
23596
23612
|
const J = O(m.uid, "config");
|
|
@@ -23642,7 +23658,7 @@ function uk(t) {
|
|
|
23642
23658
|
return t !== void 0 && (e = { ...t }, delete e.axes?.[0]?.minimum, delete e.axes?.[0]?.maximum, delete e.axes?.[1]?.minimum, delete e.axes?.[1]?.maximum), e;
|
|
23643
23659
|
}
|
|
23644
23660
|
function Dd(t, e) {
|
|
23645
|
-
return e != null ||
|
|
23661
|
+
return e != null || Ni(t);
|
|
23646
23662
|
}
|
|
23647
23663
|
async function fk(t) {
|
|
23648
23664
|
const { queryObject: e, chartConfig: i, options: a, splitByField: n } = t;
|
|
@@ -23680,7 +23696,7 @@ async function fk(t) {
|
|
|
23680
23696
|
queryObject: e,
|
|
23681
23697
|
queryConfig: l,
|
|
23682
23698
|
options: a
|
|
23683
|
-
}), d = await
|
|
23699
|
+
}), d = await qi({
|
|
23684
23700
|
queryObject: e,
|
|
23685
23701
|
queryConfig: c,
|
|
23686
23702
|
featureCount: 1
|
|
@@ -23816,7 +23832,7 @@ async function Od(t) {
|
|
|
23816
23832
|
let i;
|
|
23817
23833
|
if (e !== void 0 && t.layerFilterChangePolicy === Mo.Refresh) {
|
|
23818
23834
|
const a = ve(e), n = ms(a);
|
|
23819
|
-
i =
|
|
23835
|
+
i = Ui.watch(
|
|
23820
23836
|
() => n.definitionExpression,
|
|
23821
23837
|
async () => {
|
|
23822
23838
|
await t.refresh({ updateData: !0, resetAxesBounds: !0 });
|
|
@@ -23830,10 +23846,10 @@ async function $d(t) {
|
|
|
23830
23846
|
let n;
|
|
23831
23847
|
if (e !== void 0 && t.layerRendererChangePolicy === Po.Refresh) {
|
|
23832
23848
|
const o = ve(e);
|
|
23833
|
-
n =
|
|
23849
|
+
n = Ui.watch(
|
|
23834
23850
|
() => o.renderer,
|
|
23835
23851
|
async () => {
|
|
23836
|
-
if (
|
|
23852
|
+
if (Ci(a)) {
|
|
23837
23853
|
const s = bk();
|
|
23838
23854
|
await t.refresh({ updateData: s });
|
|
23839
23855
|
}
|
|
@@ -23847,18 +23863,18 @@ async function yk(t) {
|
|
|
23847
23863
|
let o;
|
|
23848
23864
|
if (e !== void 0 && n !== void 0) {
|
|
23849
23865
|
const s = await fn({ chartConfig: n, view: e, layer: i });
|
|
23850
|
-
await
|
|
23866
|
+
await Ui.whenOnce(() => !s.updating);
|
|
23851
23867
|
const r = async () => {
|
|
23852
|
-
e.stationary && (s.updating && await
|
|
23868
|
+
e.stationary && (s.updating && await Ui.whenOnce(() => !s.updating), await t.refresh({ updateData: !0, resetAxesBounds: !0, updateExtent: !0 }));
|
|
23853
23869
|
};
|
|
23854
|
-
o = [], o.push(
|
|
23870
|
+
o = [], o.push(Ui.when(() => e.stationary, r)), o.push(Ui.when(() => !s.updating, r)), await r();
|
|
23855
23871
|
}
|
|
23856
23872
|
return o;
|
|
23857
23873
|
}
|
|
23858
23874
|
async function Sk(t) {
|
|
23859
23875
|
const { view: e, model: i } = t, a = i && "getConfig" in i ? i.getConfig() : i, n = z(a?.series);
|
|
23860
23876
|
let o;
|
|
23861
|
-
return e !== void 0 && t.viewTimeExtentChangePolicy === Vn.Refresh && n !== y.HistogramSeries && (o =
|
|
23877
|
+
return e !== void 0 && t.viewTimeExtentChangePolicy === Vn.Refresh && n !== y.HistogramSeries && (o = Ui.watch(
|
|
23862
23878
|
() => e.timeExtent,
|
|
23863
23879
|
async () => {
|
|
23864
23880
|
await t.refresh({ updateData: !0 });
|
|
@@ -23870,7 +23886,7 @@ async function Md(t) {
|
|
|
23870
23886
|
let i;
|
|
23871
23887
|
if (e !== void 0 && t.layerFieldsChangePolicy === Ro.Refresh) {
|
|
23872
23888
|
const a = ve(e), n = ms(a);
|
|
23873
|
-
i =
|
|
23889
|
+
i = Ui.watch(
|
|
23874
23890
|
/**
|
|
23875
23891
|
* array objects need to be passed in as an array to watch. it's a requirement from the watch function's design.
|
|
23876
23892
|
* https://developers.arcgis.com/javascript/latest/api-reference/esri-core-reactiveUtils.html#watch
|
|
@@ -23886,7 +23902,7 @@ async function Md(t) {
|
|
|
23886
23902
|
async function Pd(t) {
|
|
23887
23903
|
const { view: e } = t;
|
|
23888
23904
|
let i;
|
|
23889
|
-
return e !== void 0 && "selectionManager" in e && "selections" in e.selectionManager && (i =
|
|
23905
|
+
return e !== void 0 && "selectionManager" in e && "selections" in e.selectionManager && (i = Ui.watch(
|
|
23890
23906
|
// TODO: remove the as any -> @arcgis/core issue - https://devtopia.esri.com/WebGIS/arcgis-js-api/issues/62859#issuecomment-5394936
|
|
23891
23907
|
() => e.selectionManager.selections,
|
|
23892
23908
|
(a) => {
|
|
@@ -23904,7 +23920,7 @@ class vk extends eh {
|
|
|
23904
23920
|
"chartLimits"
|
|
23905
23921
|
], this.updatedProps = /* @__PURE__ */ new Set(), this._showNotifyPanel = !1, this.handleExternalSelection = (e) => {
|
|
23906
23922
|
const i = e, { selectionData: a, model: n } = i.detail, o = this.layer && n?.getLayer()?.id === Ao(this.layer).id;
|
|
23907
|
-
this.syncSelection && o && e.target !== this.el && !
|
|
23923
|
+
this.syncSelection && o && e.target !== this.el && !yi(a.selectionOIDs, this.selectionData?.selectionOIDs) && (a.selectionOIDs ? (this.selectionData = {
|
|
23908
23924
|
selectionOIDs: a.selectionOIDs,
|
|
23909
23925
|
selectionSource: qe.ProgrammaticSelection
|
|
23910
23926
|
}, this.arcgisSelectionComplete.emit({ selectionData: this.selectionData, model: this._model })) : this.clearSelection());
|
|
@@ -24011,7 +24027,7 @@ class vk extends eh {
|
|
|
24011
24027
|
async exportAsCSV(e) {
|
|
24012
24028
|
let i, a;
|
|
24013
24029
|
if (this.chartData) {
|
|
24014
|
-
const n = this.layer ?? (
|
|
24030
|
+
const n = this.layer ?? (Ni(this.config) && this.config?.iLayer !== void 0 ? await Wh(this.config.iLayer) : void 0), o = await ft(n, this.usePopupTemplateFieldsInfo), s = wc(this.model) ? this.model.getTitleText() : "chart";
|
|
24015
24031
|
if (Object.values(this.chartData).filter((l) => Array.isArray(l) && l.length > 0).length > 1) {
|
|
24016
24032
|
const l = new ih();
|
|
24017
24033
|
Object.entries(this.chartData).forEach(([d, u]) => {
|
|
@@ -24241,7 +24257,7 @@ class vk extends eh {
|
|
|
24241
24257
|
i === void 0 && typeof e == "number" && this.updatedProps.add("forceDataUpdate");
|
|
24242
24258
|
}
|
|
24243
24259
|
async disableInteractionsChange(e) {
|
|
24244
|
-
navigator.userAgent.search("Firefox") !== -1 && (e ? this.chartRef.value?.classList.add(
|
|
24260
|
+
navigator.userAgent.search("Firefox") !== -1 && (e ? this.chartRef.value?.classList.add(ma.DisableInteractions) : this.chartRef.value?.classList.remove(ma.DisableInteractions));
|
|
24245
24261
|
}
|
|
24246
24262
|
rotationChange(e) {
|
|
24247
24263
|
e !== void 0 && (this.config = qh(e, this.config));
|
|
@@ -24456,7 +24472,7 @@ class vk extends eh {
|
|
|
24456
24472
|
}
|
|
24457
24473
|
}
|
|
24458
24474
|
render() {
|
|
24459
|
-
const e = this.showNotifyPanel ? xk({ heading: this.notifyHeading, message: this.notifyMessage, options: this.notifyOptions }) : null, i = this.showNotifyPanel && this.notifyOptions?.kind === "danger" ?
|
|
24475
|
+
const e = this.showNotifyPanel ? xk({ heading: this.notifyHeading, message: this.notifyMessage, options: this.notifyOptions }) : null, i = this.showNotifyPanel && this.notifyOptions?.kind === "danger" ? ma.Hide : `${ma.Chart} ${ma.Show}`, a = this.showNotifyPanel ? `${ma.Show} ${ma.NotifyPanel}` : ma.Hide;
|
|
24460
24476
|
return $o`<slot name=${Pp.actionBar} @slotchange=${(n) => {
|
|
24461
24477
|
this.actionBarElement = Wp(n, this.el, this.config);
|
|
24462
24478
|
}} ${pc(this.actionBarSlotRef)}></slot><div class=${hc(i)} ${pc(this.chartRef)}></div><div class=${hc(a)}>${e}</div>`;
|