@arcgis/charts-components 5.0.0-next.32 → 5.0.0-next.33
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/{62WCBMEY.js → 22USELG5.js} +2 -2
- package/dist/cdn/{SSENV2B7.js → 2B7TDTIP.js} +2 -2
- package/dist/cdn/{GL3NNB2Z.js → 2EGA4VUA.js} +2 -2
- package/dist/cdn/{2YOAI3K7.js → 2PQ2EFJE.js} +2 -2
- package/dist/cdn/{FOMWAHZ5.js → 2WAGQMWF.js} +2 -2
- package/dist/cdn/{W6CJSCJH.js → 2XJRNEBO.js} +2 -2
- package/dist/cdn/{J275IJT6.js → 36AWWFSY.js} +2 -2
- package/dist/cdn/{WOBXTMSZ.js → 3G2AUVXQ.js} +2 -2
- package/dist/cdn/{KP64PWHR.js → 3IYPGB4I.js} +2 -2
- package/dist/cdn/{VL7XBNFA.js → 3NNYQKS3.js} +2 -2
- package/dist/cdn/{QXN7LKNZ.js → 3U6557QR.js} +2 -2
- package/dist/cdn/{22UKGKDU.js → 46Y57DAT.js} +2 -2
- package/dist/cdn/{R2UPM52S.js → 4CAW3R3I.js} +2 -2
- package/dist/cdn/{WNNN6ALV.js → 4H6KAINA.js} +2 -2
- package/dist/cdn/{CDOUFRY4.js → 4HL4C4CL.js} +2 -2
- package/dist/cdn/{7VXL36O4.js → 4P3QLWAM.js} +2 -2
- package/dist/cdn/{3ZCJF43J.js → 4UXZGMJV.js} +2 -2
- package/dist/cdn/{A7J4TYZ7.js → 4W3BB7RL.js} +2 -2
- package/dist/cdn/{VEMZGR73.js → 5HGUGVCP.js} +2 -2
- package/dist/cdn/{UKQWFDKG.js → 5IRB3LZG.js} +2 -2
- package/dist/cdn/{W2T24PD5.js → 5LPN2LH2.js} +2 -2
- package/dist/cdn/{XALECQNK.js → 5P3WLDLI.js} +2 -2
- package/dist/cdn/{L6YB2SU3.js → 5SD3RE2W.js} +2 -2
- package/dist/cdn/{CBI7CPMT.js → 5UKGQUMX.js} +2 -2
- package/dist/cdn/{TELCOPSY.js → 6Q4AY3KZ.js} +2 -2
- package/dist/cdn/{CZMLWB4D.js → 6QHTJSFX.js} +2 -2
- package/dist/cdn/{TQ7VCHHS.js → 6QLPCXTS.js} +2 -2
- package/dist/cdn/{7RGKWPVU.js → 6VQ6PAUJ.js} +2 -2
- package/dist/cdn/{AVNCN452.js → 74N3Q4XF.js} +2 -2
- package/dist/cdn/{UF3SB5GI.js → 7COGZVL3.js} +2 -2
- package/dist/cdn/{77LSZ3GS.js → 7MEIKJXQ.js} +2 -2
- package/dist/cdn/{3H4CDXZR.js → 7MQT27DT.js} +2 -2
- package/dist/cdn/{XIMFN2VM.js → 7SEEKS6C.js} +2 -2
- package/dist/cdn/{2NMZH65Q.js → A3X2WHSQ.js} +2 -2
- package/dist/cdn/{YBZW5ALS.js → AG67255S.js} +2 -2
- package/dist/cdn/{KINR5RRV.js → ALM4S4R3.js} +2 -2
- package/dist/cdn/{WHERTMFT.js → ALZCYTCN.js} +1 -1
- package/dist/cdn/{QABU7GRZ.js → AXFUXGUV.js} +1 -1
- package/dist/cdn/{2AKFKKZT.js → B2GFQKHG.js} +1 -1
- package/dist/cdn/{VMJJJTF4.js → BHQNA3DP.js} +2 -2
- package/dist/cdn/{JE5G5J5L.js → BIYOA7EA.js} +2 -2
- package/dist/cdn/{HRFQ2Y4S.js → BJTCOIFW.js} +2 -2
- package/dist/cdn/{SXIE3CME.js → BOOSSJX5.js} +2 -2
- package/dist/cdn/{DH7YCWEL.js → BOY2UZMB.js} +2 -2
- package/dist/cdn/{YANZ52IL.js → BPF7K6PU.js} +2 -2
- package/dist/cdn/{6GMGZPZ6.js → BTZ5U4QW.js} +2 -2
- package/dist/cdn/{BNWOFTV4.js → C3XOX2XO.js} +2 -2
- package/dist/cdn/{I5POEM2N.js → CAGMD6VC.js} +2 -2
- package/dist/cdn/{W4ZE7SDD.js → CAUMRXX4.js} +2 -2
- package/dist/cdn/{HU6DNFKE.js → CIC3AISQ.js} +2 -2
- package/dist/cdn/{THBKX3DE.js → CKJW5WMM.js} +2 -2
- package/dist/cdn/{7PKJM3UG.js → CRYCGTTF.js} +2 -2
- package/dist/cdn/{IOE3CD5W.js → CWNWJUV3.js} +2 -2
- package/dist/cdn/{TBXN5CKV.js → DDIKMLX5.js} +2 -2
- package/dist/cdn/{PT67R3XN.js → DJGFNHDI.js} +2 -2
- package/dist/cdn/{B6YBU22T.js → DOLKXJ7G.js} +2 -2
- package/dist/cdn/{LHW4UB2Y.js → DSU4EVKO.js} +2 -2
- package/dist/cdn/{3L6OKIGB.js → DTJFEHPD.js} +2 -2
- package/dist/cdn/{F53WTNTX.js → DUQ4FQWN.js} +2 -2
- package/dist/cdn/{MBHLCTL7.js → DVVE47WD.js} +2 -2
- package/dist/cdn/{LJVZ5F2G.js → DZ763PV4.js} +2 -2
- package/dist/cdn/{BCSJ5ES5.js → EIXZMTXQ.js} +2 -2
- package/dist/cdn/{BSSBTLSL.js → ENGUSRWB.js} +2 -2
- package/dist/cdn/{H7TDMD65.js → EVWMNSYQ.js} +2 -2
- package/dist/cdn/{M2EUT3TC.js → EX6A5XQD.js} +2 -2
- package/dist/cdn/{ITXFI6KW.js → EY4KLHOE.js} +2 -2
- package/dist/cdn/{CUG5VN3B.js → F3QZ6V77.js} +2 -2
- package/dist/cdn/{EAP4D5ZE.js → F5T7J6WA.js} +2 -2
- package/dist/cdn/{JX5OQFZU.js → FGD3XHLJ.js} +2 -2
- package/dist/cdn/{XN7U545X.js → FPHGNMLK.js} +2 -2
- package/dist/cdn/{IABNWKWT.js → FXDPZHLC.js} +2 -2
- package/dist/cdn/{H2ASG3DU.js → FYQ73FDD.js} +2 -2
- package/dist/cdn/{V6CI5NNX.js → FZSKWAXV.js} +2 -2
- package/dist/cdn/{4QO7SISZ.js → GAOCIRS3.js} +2 -2
- package/dist/cdn/{JT2LQQ5B.js → GMFAIIY6.js} +17 -17
- package/dist/cdn/{62GMN7GC.js → HFDDVLER.js} +2 -2
- package/dist/cdn/{X7NJDTPZ.js → HWLDTK43.js} +2 -2
- package/dist/cdn/{MN7LBNDM.js → HXBY2OEF.js} +2 -2
- package/dist/cdn/{4GJHDECN.js → IBBJ5POF.js} +2 -2
- package/dist/cdn/{C34SS6ZA.js → IC5X6WUP.js} +1 -1
- package/dist/cdn/{TT2TGF6R.js → ILH7J6V6.js} +2 -2
- package/dist/cdn/{OCJHZ2NN.js → ILXGHXRA.js} +2 -2
- package/dist/cdn/{PLCJZIVJ.js → IQA2NVWJ.js} +2 -2
- package/dist/cdn/{7PB2NMCN.js → J6S6JUDA.js} +2 -2
- package/dist/cdn/{L7FBDO3N.js → JARSYFKQ.js} +2 -2
- package/dist/cdn/{CXDTVDH2.js → JFANK4MA.js} +2 -2
- package/dist/cdn/{J3NOWFAO.js → JNDJTNGD.js} +2 -2
- package/dist/cdn/{4AJ2PSJD.js → JXWAN7W2.js} +2 -2
- package/dist/cdn/{KJEJZ2QZ.js → JZMTHTZP.js} +2 -2
- package/dist/cdn/{RRTCEVXL.js → JZPFPV2G.js} +2 -2
- package/dist/cdn/{XUZ37UGG.js → KAP4LLHJ.js} +2 -2
- package/dist/cdn/{PQXZZGYJ.js → KE5MO6ME.js} +2 -2
- package/dist/cdn/{4NAHHSLF.js → KFVS52DO.js} +2 -2
- package/dist/cdn/{DZO2565V.js → KIUT7QAZ.js} +2 -2
- package/dist/cdn/{CIW4H3JI.js → KK4KSV5Y.js} +2 -2
- package/dist/cdn/{WX5DWO3L.js → KMN6Y4MI.js} +2 -2
- package/dist/cdn/{AZEAFCNO.js → KMNE5D25.js} +2 -2
- package/dist/cdn/{BGAKQLMO.js → KQFPAKKH.js} +2 -2
- package/dist/cdn/{HEUVGRXB.js → L4W6QIUP.js} +2 -2
- package/dist/cdn/{ET5Q6YGR.js → L6LQUVBX.js} +2 -2
- package/dist/cdn/{LYBGFBMF.js → L7AIJ7PS.js} +2 -2
- package/dist/cdn/{2NYHM2EM.js → LHET3P7X.js} +2 -2
- package/dist/cdn/{IWN2FOW2.js → ME34MEVH.js} +2 -2
- package/dist/cdn/{5CAG4YAA.js → ME5P4MAS.js} +2 -2
- package/dist/cdn/{I7IRI4TY.js → MGS2MYLN.js} +2 -2
- package/dist/cdn/{D2PXNSZQ.js → MIPFJ47L.js} +2 -2
- package/dist/cdn/{LJFBSW63.js → MPCMTD3P.js} +2 -2
- package/dist/cdn/{N4E526SY.js → MXIL2E5Q.js} +2 -2
- package/dist/cdn/{OFLUWH62.js → NENY36YV.js} +2 -2
- package/dist/cdn/{QYN5ZQWY.js → NGWABUKE.js} +2 -2
- package/dist/cdn/{54X773HO.js → NKY5WFSJ.js} +2 -2
- package/dist/cdn/{ZAHR3MCE.js → NT6JUARD.js} +2 -2
- package/dist/cdn/{CNMPTQJU.js → NZYGL4CD.js} +2 -2
- package/dist/cdn/{SCACL6Y4.js → OPTGAZPI.js} +2 -2
- package/dist/cdn/{KTPG26A7.js → OXLHELMY.js} +2 -2
- package/dist/cdn/{KEQZDLGT.js → OYUM6COY.js} +2 -2
- package/dist/cdn/{4IS5YOFT.js → PL2WQORP.js} +2 -2
- package/dist/cdn/{D54KP4CQ.js → PMBXUGOI.js} +2 -2
- package/dist/cdn/{6J7LWQ6P.js → PRZUJEE2.js} +2 -2
- package/dist/cdn/{NLSWJJKG.js → Q3NGC5NG.js} +2 -2
- package/dist/cdn/{OIXCVRDX.js → QFEDYX2Y.js} +2 -2
- package/dist/cdn/{KW5LTE6P.js → QLACMS42.js} +2 -2
- package/dist/cdn/{D2Q6VWAG.js → QMJLDRYB.js} +2 -2
- package/dist/cdn/{MX5VGYWX.js → RFGZXLAO.js} +2 -2
- package/dist/cdn/{RWTHIKG7.js → RIHVY5ZN.js} +2 -2
- package/dist/cdn/{O7OPKGWC.js → RPNFQG2I.js} +2 -2
- package/dist/cdn/{PDDXIPZJ.js → RSHJL3CY.js} +2 -2
- package/dist/cdn/{WJ3RVYRD.js → S4QNSW73.js} +2 -2
- package/dist/cdn/{X4N7RPRB.js → S5DIIJKE.js} +1 -1
- package/dist/cdn/{RQNTIL75.js → SBTGYX5M.js} +2 -2
- package/dist/cdn/{HHIZEJDG.js → SQ6Y74YR.js} +2 -2
- package/dist/cdn/{4WECPOP3.js → ST62QVZH.js} +2 -2
- package/dist/cdn/{BFKVQ4LO.js → T5SFSKDR.js} +2 -2
- package/dist/cdn/{DGVQXLEE.js → T6KQ2HXD.js} +2 -2
- package/dist/cdn/{CE2JJDUM.js → TBJYNDJC.js} +1 -1
- package/dist/cdn/{WVHKXUUT.js → TLQYUX2G.js} +2 -2
- package/dist/cdn/{JE24SFTC.js → TS62HQHD.js} +2 -2
- package/dist/cdn/{JGDYUUMM.js → TTMZWSIV.js} +2 -2
- package/dist/cdn/{VZBOPD6Y.js → TZZFWWFY.js} +2 -2
- package/dist/cdn/{MIHSGFMV.js → U4NMGP7B.js} +1 -1
- package/dist/cdn/{FNZ24SMO.js → UDQU22G7.js} +2 -2
- package/dist/cdn/{ONFDNVR2.js → UFZ7F7IB.js} +2 -2
- package/dist/cdn/{S4KTZASF.js → UK5ZM3V6.js} +2 -2
- package/dist/cdn/{3D72MJED.js → UMKI5QLS.js} +2 -2
- package/dist/cdn/{S6S7OSHR.js → US23QVF4.js} +2 -2
- package/dist/cdn/{ONB3GACA.js → UXOLN7K2.js} +2 -2
- package/dist/cdn/{LYGIYQ3H.js → UYCEY4VS.js} +2 -2
- package/dist/cdn/{OTXEY63R.js → VAZ74522.js} +2 -2
- package/dist/cdn/{7G55XGCX.js → VHKQP2L2.js} +2 -2
- package/dist/cdn/{XDMLG4NP.js → VKWJKMT2.js} +2 -2
- package/dist/cdn/{GBDRX2E2.js → VU5Z35U6.js} +2 -2
- package/dist/cdn/{CPY3TUU2.js → W5TZBA43.js} +2 -2
- package/dist/cdn/{XQKTXW7N.js → W63Q44QP.js} +2 -2
- package/dist/cdn/{FXKRRTOJ.js → WBBU7BSZ.js} +2 -2
- package/dist/cdn/{OCV7Q52T.js → WPW4TL6Q.js} +2 -2
- package/dist/cdn/{KN5B65B7.js → WXQLFEBL.js} +2 -2
- package/dist/cdn/{66UD5FBI.js → WYLPP5NA.js} +2 -2
- package/dist/cdn/{CMGJ7UO4.js → X4NZXYGY.js} +2 -2
- package/dist/cdn/{GH6ZFNWW.js → XGGZ7AKE.js} +2 -2
- package/dist/cdn/{VBKZGCNL.js → XP3LEI7X.js} +2 -2
- package/dist/cdn/{7PF6ONS7.js → XSEVMNOV.js} +2 -2
- package/dist/cdn/{GRW534AY.js → XSGTCRKJ.js} +2 -2
- package/dist/cdn/{2HWQ6QZB.js → XW7MEKLD.js} +2 -2
- package/dist/cdn/{LCGTTYHB.js → Y6SYUN5J.js} +2 -2
- package/dist/cdn/{UZP6BGRH.js → YBYA2TWU.js} +2 -2
- package/dist/cdn/{UDZIPV5R.js → YF6ZRLTN.js} +2 -2
- package/dist/cdn/{U3WXBOGR.js → YH7HTCMF.js} +1 -1
- package/dist/cdn/{XJ4KEDVT.js → YJK2EDI5.js} +2 -2
- package/dist/cdn/{EJ4CFHYS.js → YM7HRSH2.js} +2 -2
- package/dist/cdn/{2YBHREZM.js → YPRQGJ33.js} +1 -1
- package/dist/cdn/{Z23VJKRN.js → YQWYYKNO.js} +2 -2
- package/dist/cdn/{TL2DW45T.js → Z2BISXHQ.js} +2 -2
- package/dist/cdn/{GILCKB4S.js → ZA5RNKNL.js} +2 -2
- package/dist/cdn/{FGYMXIXF.js → ZELNJONZ.js} +2 -2
- package/dist/cdn/{2EC4IJ7A.js → ZHPYYBN3.js} +2 -2
- package/dist/cdn/{ARZX57QY.js → ZHTCW2O5.js} +2 -2
- package/dist/cdn/{AAJ5UWTU.js → ZKU7DVNJ.js} +2 -2
- package/dist/cdn/{7YG3TXR2.js → ZP4GONMV.js} +2 -2
- package/dist/cdn/{TQCCMH6U.js → ZRYJAIRV.js} +2 -2
- package/dist/cdn/{M4LL3OEM.js → ZTUBQ3DW.js} +2 -2
- package/dist/cdn/index.js +2 -2
- package/dist/chart-rendering/common/defaults/interfaces.d.ts +1 -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/config-update.js +1 -1
- package/dist/chunks/data.js +1 -1
- package/dist/chunks/default.js +1 -1
- package/dist/chunks/gauge-model.js +1 -1
- package/dist/chunks/heat-chart-model.js +1 -1
- package/dist/chunks/histogram-data.js +1 -1
- package/dist/chunks/histogram-model.js +1 -1
- package/dist/chunks/index.js +3 -4
- 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/line-chart-model.js +1 -1
- package/dist/chunks/model-with-baseline-stacking.js +1 -1
- package/dist/chunks/model-with-data-labels.js +1 -1
- package/dist/chunks/model-with-multi-axes.js +1 -1
- package/dist/chunks/model-with-rotation.js +1 -1
- package/dist/chunks/pie-chart-data.js +1 -1
- package/dist/chunks/pie-chart-model.js +1 -1
- package/dist/chunks/popover-ui-utils.js +1 -1
- package/dist/chunks/radar-chart-model.js +1 -1
- package/dist/chunks/resource.js +1 -1
- package/dist/chunks/rest-js-object-literals.js +1 -1
- package/dist/chunks/runtime.js +1 -1
- package/dist/chunks/scatterplot-model.js +1 -1
- package/dist/chunks/serial-chart-data.js +1 -1
- package/dist/chunks/serial-chart-model.js +1 -1
- package/dist/chunks/series-types.js +1 -1
- package/dist/chunks/series.js +1 -1
- package/dist/chunks/sk_SK.js +1 -1
- package/dist/chunks/store.js +1 -1
- package/dist/chunks/type-guards.js +1 -1
- package/dist/chunks/useT9n.js +1 -1
- package/dist/chunks/web-component-utils.js +1 -1
- package/dist/components/arcgis-chart/customElement.js +629 -621
- 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/model.js +1 -1
- package/package.json +3 -3
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { c as Cm } from "../../chunks/runtime.js";
|
|
2
2
|
import { substitute as Da } from "@arcgis/core/intl.js";
|
|
3
|
-
import * as
|
|
3
|
+
import * as ti from "@arcgis/core/core/reactiveUtils.js";
|
|
4
4
|
import Jr from "@arcgis/core/layers/FeatureLayer.js";
|
|
5
5
|
import { LitElement as vm, createEvent as St, safeClassMap as el } from "@arcgis/lumina";
|
|
6
6
|
import Lm from "html2canvas";
|
|
@@ -8,11 +8,11 @@ import Fm from "jszip";
|
|
|
8
8
|
import { html as Go, css as Am } from "lit";
|
|
9
9
|
import { createRef as Tm, ref as tl } from "lit/directives/ref.js";
|
|
10
10
|
import { cloneDeep as He, debounce as Ve, isEqual as ro, isEmpty as Aa } from "lodash-es";
|
|
11
|
-
import { p as Y, d5 as N, d as
|
|
12
|
-
import { color as fo, percent as gt, LinePattern as ad, RectanglePattern as cg, p50 as Te, p0 as Qe, p100 as ke, Label as
|
|
11
|
+
import { p as Y, d5 as N, d as ii, db as Ai, da as G, dc as Va, ap as ei, cN as Oe, b0 as qo, ai as Lo, dd as A, de as ft, at as ai, aj as fn, df as mn, dg as yc, dh as Sc, di as oi, cR as be, m as km, l as Zi, k as Ti, ag as wa, ab as ee, a2 as pe, dj as Im, ar as Ne, Y as Z, dk as ni, dl as ht, cP as xc, a6 as Bs, O as we, dm as je, dn as Cc, cH as qt, cJ as Et, dp as si, dq as Ms, cX as Me, cu as pt, dr as lo, cL as vc, q as Wa, ds as ui, dt as vt, aD as Ns, aF as Lc, bA as $m, bB as Dm, aO as Ps, aP as Fc, aE as gn, cG as ki, du as Lt, dv as Bt, dw as Ea, d6 as Pe, dx as co, cV as jo, dy as Ac, dz as Fo, dA as Ki, dB as Tc, dC as Zo, bd as kc, b$ as Ic, dD as $c, dE as Ii, a4 as $i, cn as Vs, bx as It, ch as bi, dF as Dc, ci as Oa, dG as wc, bt as hi, dH as Oc, dI as Rc, dJ as Bc, dK as Ko, bG as Ws, cB as Mc, dL as Nc, dM as Es, aq as Hs, dN as Ao, a0 as Di, a9 as hn, a8 as wm, dO as Pc, dP as zs, $ as Gs, dQ as Om, dR as il, dS as Ha, dT as Qi, aA as To, dU as ko, Z as Kn, dV as za, dW as Rm, aY as Vc, dX as Xs, aL as Ys, a1 as uo, aN as Wc, aM as Ec, dY as Us, dZ as Hc, a as Ta, am as zc, bF as Gc, d7 as pn, d_ as Xc, d$ as Yc, a7 as Uc, X as pi, e0 as Ga, e1 as yi, e2 as Ji, cC as bn, e3 as _c, bu as ao, F as Bm, G as qc, v as jc, J as _s, K as Mm, C as Zc, e4 as qs, w as Nm, x as Pm, e5 as Kc, e6 as Qc, i as Jc, y as us, e7 as yn, e8 as js, bk as ed, as as Vm, e9 as Wm, R as fs, a3 as Em, c2 as Hm, cx as td, ea as id, eb as zm, D as Gm, E as Xm, cI as al, H as Ym, I as Um, cM as _m, r as qm, B as jm, A as Zm, ec as Km, bw as ms, L as Qm, ct as No, S as oa, s as Jm, g as eg, ed as ol, cW as tg, U as ig, ee as ag, ef as og, eg as ng, bQ as nl, cZ as sg, h as rg, cy as lg } from "../../chunks/index.js";
|
|
12
|
+
import { color as fo, percent as gt, LinePattern as ad, RectanglePattern as cg, p50 as Te, p0 as Qe, p100 as ke, Label as Si, Rectangle as Zs, DateFormatter as dg, NumberFormatter as od, Series as Ks, HeatLegend as nd, Container as zi, Legend as Sn, Scrollbar as gs, SerialChart as Ra, Tooltip as Xa, Template as Ya, Graphics as fi, Bullet as wi, RoundedRectangle as mo, Slice as Ba, Timezone as ug, DataItem as fg, Color as mg, Modal as gg, addLicense as hg, registry as pg, Root as bg } from "@amcharts/amcharts5";
|
|
13
13
|
import { PieChart as _t, PieSeries as bt } from "@amcharts/amcharts5/percent.js";
|
|
14
|
-
import { AxisRendererCircular as
|
|
15
|
-
import { XYChart as ye, AxisRendererX as Dt, LineSeries as ge, XYCursor as rd, ColumnSeries as ze, StepLineSeries as xn, CandlestickSeries as ua, DateAxis as
|
|
14
|
+
import { AxisRendererCircular as mi, RadarCursor as sd, ClockHand as hs, RadarChart as Yi, AxisRendererRadial as yg, RadarLineSeries as Qs } from "@amcharts/amcharts5/radar.js";
|
|
15
|
+
import { XYChart as ye, AxisRendererX as Dt, LineSeries as ge, XYCursor as rd, ColumnSeries as ze, StepLineSeries as xn, CandlestickSeries as ua, DateAxis as at, ValueAxis as De, XYSeries as Js, CategoryAxis as xt, AxisRendererY as Ui, AxisBullet as Sg } from "@amcharts/amcharts5/xy.js";
|
|
16
16
|
import { unsafeGetElementDirection as er } from "@arcgis/toolkit/dom";
|
|
17
17
|
import { getElementLocale as Cn } from "@arcgis/toolkit/intl";
|
|
18
18
|
import { d as X, W as y, u as E, g as vn, e as $e, S as ld, a as Ht, j as zt, i as Ce, r as _i, v as xg, o as Ie, s as sl, l as Cg, m as cd, h as rl, q as ka, p as vg } from "../../chunks/series-types.js";
|
|
@@ -24,7 +24,7 @@ import "@arcgis/core/time/TimeExtent.js";
|
|
|
24
24
|
import "@arcgis/core/core/promiseUtils.js";
|
|
25
25
|
import "@arcgis/core/request.js";
|
|
26
26
|
import { range as Lg } from "d3-array";
|
|
27
|
-
import { d as
|
|
27
|
+
import { d as Jt, c as Je, b as dt, R as Q, i as Qn, e as re, f as te, a as Fg, j as Jn } from "../../chunks/rest-js-object-literals.js";
|
|
28
28
|
import "@arcgis/core/renderers/support/jsonUtils.js";
|
|
29
29
|
import "@arcgis/core/symbols/support/symbolUtils.js";
|
|
30
30
|
import "@arcgis/core/Graphic.js";
|
|
@@ -37,7 +37,7 @@ import { L as ae, t as ll, b as cl, D as Ag, g as dl, m as Tg } from "../../chun
|
|
|
37
37
|
import kg from "@amcharts/amcharts5/themes/Animated.js";
|
|
38
38
|
import Ig from "@amcharts/amcharts5/themes/Responsive.js";
|
|
39
39
|
import { b as Qo, d as Jo, c as dd, q as ud, s as es, t as $g, r as Dg, u as Ln, h as ts } from "../../chunks/index3.js";
|
|
40
|
-
import { LineSeriesDataItem as ea, DateAxis as Ge, ValueAxis as Le, CategoryAxis as lt, CategoryAxisDataItem as Ma, DateAxisDataItem as Fn, XYChart as oe, PieChart as Fe, AxisFill as wg, AxisFillCircular as Og, LineSeries as ue, ColumnSeries as _e, PieSeries as Nt, GaugeChart as yt, XYCursor as fd, XYSeries as
|
|
40
|
+
import { LineSeriesDataItem as ea, DateAxis as Ge, ValueAxis as Le, CategoryAxis as lt, CategoryAxisDataItem as Ma, DateAxisDataItem as Fn, XYChart as oe, PieChart as Fe, AxisFill as wg, AxisFillCircular as Og, LineSeries as ue, ColumnSeries as _e, PieSeries as Nt, GaugeChart as yt, XYCursor as fd, XYSeries as xi, SerialChart as md, Cursor as Rg, AxisLabel as tr, ColumnSeriesDataItem as Io, CandlestickSeries as Ze, StepLineSeries as Ct, LegendDataItem as ta, CandlestickSeriesDataItem as Bg, PieSeriesDataItem as ri, Legend as Mg, Series as Ng, AxisRendererX as $t, AxisRendererCircular as An, AxisLabelCircular as ir, ValueAxisDataItem as ar, AxisRendererY as Na, ClockHand as Pg } from "@amcharts/amcharts4/charts.js";
|
|
41
41
|
import { Exporting as Vg } from "@amcharts/amcharts5/plugins/exporting.js";
|
|
42
42
|
import { isLight as Wg } from "@amcharts/amcharts5/.internal/core/util/Utils.js";
|
|
43
43
|
import { curveLinearClosed as Eg, curveLinear as Hg, curveCardinal as zg, curveBumpY as Gg, curveBumpX as Xg } from "d3-shape";
|
|
@@ -56,7 +56,7 @@ import { n as hl } from "../../chunks/chart-ui-utils2.js";
|
|
|
56
56
|
import { p as pl, i as bl, u as ah, a as oh, r as nh } from "../../chunks/config-update.js";
|
|
57
57
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
58
58
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
59
|
-
v5.0.0-next.
|
|
59
|
+
v5.0.0-next.33 */
|
|
60
60
|
var Vo = { exports: {} }, is, yl;
|
|
61
61
|
function sh() {
|
|
62
62
|
if (yl) return is;
|
|
@@ -208,7 +208,7 @@ function rh() {
|
|
|
208
208
|
return Vo.exports = e, Vo.exports.promise = o, Vo.exports;
|
|
209
209
|
}
|
|
210
210
|
var lh = rh();
|
|
211
|
-
const
|
|
211
|
+
const Wi = {
|
|
212
212
|
Show: "show",
|
|
213
213
|
Hide: "hide",
|
|
214
214
|
NotifyPanel: "notifyPanel",
|
|
@@ -217,7 +217,7 @@ const Vi = {
|
|
|
217
217
|
};
|
|
218
218
|
function ch(t) {
|
|
219
219
|
const { dataContext: e, dataIndex: i, objectIdField: a } = t;
|
|
220
|
-
return `${
|
|
220
|
+
return `${ei.sliceIdPrefix}-${e[a ?? ""]?.toString() ?? i}`;
|
|
221
221
|
}
|
|
222
222
|
function dh(t) {
|
|
223
223
|
const { chartConfig: e, chartData: i, fieldList: a } = t, o = Y(e.series) === N.PieFromFields;
|
|
@@ -239,9 +239,9 @@ function dh(t) {
|
|
|
239
239
|
}
|
|
240
240
|
}
|
|
241
241
|
function kn(t) {
|
|
242
|
-
const { data: e, newChartConfig: i, pieSlicesSymbols: a, fieldList: o } = t, n = i.series[0], s = Y(i.series) === N.PieFromFields ?
|
|
242
|
+
const { data: e, newChartConfig: i, pieSlicesSymbols: a, fieldList: o } = t, n = i.series[0], s = Y(i.series) === N.PieFromFields ? ii : n.x;
|
|
243
243
|
e.forEach((r) => {
|
|
244
|
-
const l =
|
|
244
|
+
const l = Ai(r), c = r[G.pieChart.technicalFieldSliceId], d = l ? n.sliceGrouping?.label : an(a?.slices, c)?.label;
|
|
245
245
|
uh({ dataContext: r, x: s, newLabel: d });
|
|
246
246
|
}), dh({ chartConfig: i, chartData: e, fieldList: o });
|
|
247
247
|
}
|
|
@@ -256,11 +256,11 @@ function an(t, e) {
|
|
|
256
256
|
function vd(t) {
|
|
257
257
|
const { dataContext: e, isNonAggregatedChart: i, x: a, dataIndex: o, objectIdField: n, isPieFromFields: s } = t;
|
|
258
258
|
let r = "";
|
|
259
|
-
return s === !0 ? r = e[G.originalCategoryValue] ?? e[
|
|
259
|
+
return s === !0 ? r = e[G.originalCategoryValue] ?? e[ii] : i ? r = ch({
|
|
260
260
|
dataContext: e,
|
|
261
261
|
dataIndex: o,
|
|
262
262
|
objectIdField: n
|
|
263
|
-
}) : (r = e[G.typeOrDomainIdValue] ?? e[G.originalCategoryValue], r === "" ? r =
|
|
263
|
+
}) : (r = e[G.typeOrDomainIdValue] ?? e[G.originalCategoryValue], r === "" ? r = ei.emptySliceId : r === null && (r = ei.nullSliceId), r = r ?? e[a]), r === void 0 && (r = ei.undefinedSliceId), r.toString();
|
|
264
264
|
}
|
|
265
265
|
function Ld(t) {
|
|
266
266
|
const {
|
|
@@ -275,7 +275,7 @@ function Ld(t) {
|
|
|
275
275
|
utilsStrings: c
|
|
276
276
|
} = t, { sliceGrouping: d } = o;
|
|
277
277
|
let { x: u } = o;
|
|
278
|
-
s && (u =
|
|
278
|
+
s && (u = ii);
|
|
279
279
|
const f = e[u] ?? e[G.originalCategoryValue], g = e[G.originalCategoryValue] ?? f;
|
|
280
280
|
let h = f;
|
|
281
281
|
if (r) {
|
|
@@ -297,12 +297,12 @@ function Fd(t, e) {
|
|
|
297
297
|
}
|
|
298
298
|
function $o(t) {
|
|
299
299
|
const { groupOfSlicesDataContext: e, chartData: i } = t;
|
|
300
|
-
return (e ?? i?.find((n) => n[
|
|
300
|
+
return (e ?? i?.find((n) => n[ei.defaultGroupOfSlicesId] === !0))?.[G.pieChart.technicalFieldGroupedSlices];
|
|
301
301
|
}
|
|
302
302
|
function rr(t) {
|
|
303
303
|
const { dataContext: e, pieSlicesSymbols: i, seriesConfig: a } = t;
|
|
304
304
|
let o = a.fillSymbol ? { ...a.fillSymbol } : qo();
|
|
305
|
-
if (
|
|
305
|
+
if (Ai(e))
|
|
306
306
|
o = {
|
|
307
307
|
...G.pieChart.sliceGrouping.fillSymbol,
|
|
308
308
|
...i?.groupOfSlices?.fillSymbol
|
|
@@ -355,7 +355,7 @@ function qi(t, e) {
|
|
|
355
355
|
function Ua(t, e) {
|
|
356
356
|
fa(t, e);
|
|
357
357
|
}
|
|
358
|
-
function
|
|
358
|
+
function Oi(t, e) {
|
|
359
359
|
return ma(t, e);
|
|
360
360
|
}
|
|
361
361
|
function hh(t, e) {
|
|
@@ -410,22 +410,22 @@ function Ad(t, e) {
|
|
|
410
410
|
let i = "";
|
|
411
411
|
const n = (e ?? 0) / 2, s = 0 - n, r = 0 + n, l = 0 - n, c = 0 + n;
|
|
412
412
|
switch (t) {
|
|
413
|
-
case
|
|
413
|
+
case Jt.Circle:
|
|
414
414
|
i = `M ${s},0 a ${n},${n} 0 1,0 ${n * 2},0 a ${n},${n} 0 1,0 ${-n * 2},0`;
|
|
415
415
|
break;
|
|
416
|
-
case
|
|
416
|
+
case Jt.Cross:
|
|
417
417
|
i = `M ${s},0 L ${r},0 M 0,${l} L 0,${c} E`;
|
|
418
418
|
break;
|
|
419
|
-
case
|
|
419
|
+
case Jt.Diamond:
|
|
420
420
|
i = `M ${s},0 L 0,${l} L ${r},0 L 0,${c} L ${s},0 Z`;
|
|
421
421
|
break;
|
|
422
|
-
case
|
|
422
|
+
case Jt.Square:
|
|
423
423
|
i = `M ${s},${c} L ${s},${l} L ${r},${l} L ${r},${c} L ${s},${c} Z`;
|
|
424
424
|
break;
|
|
425
|
-
case
|
|
425
|
+
case Jt.Triangle:
|
|
426
426
|
i = `M ${s},${c} L 0,${l} L ${r},${c} L ${s},${c} Z`;
|
|
427
427
|
break;
|
|
428
|
-
case
|
|
428
|
+
case Jt.X:
|
|
429
429
|
i = `M ${s},${c} L ${r},${l} M ${s},${l} L ${r},${c} E`;
|
|
430
430
|
break;
|
|
431
431
|
}
|
|
@@ -445,15 +445,15 @@ function xh(t, e) {
|
|
|
445
445
|
return e !== !0 || t?.includes("Dot") === !0 ? "round" : "square";
|
|
446
446
|
}
|
|
447
447
|
function Ch(t, e) {
|
|
448
|
-
const i = t ??
|
|
449
|
-
[
|
|
450
|
-
[
|
|
451
|
-
[
|
|
452
|
-
[
|
|
453
|
-
[
|
|
454
|
-
[
|
|
448
|
+
const i = t ?? Je.Solid, a = e ?? A.lineWidth, o = {
|
|
449
|
+
[Je.Solid]: [],
|
|
450
|
+
[Je.Dot]: [1, a],
|
|
451
|
+
[Je.DashDotDot]: [4 * a, a, 1, a, 1, a],
|
|
452
|
+
[Je.Dash]: [4 * a, 3 * a],
|
|
453
|
+
[Je.DashDot]: [4 * a, 3 * a, 1, 3 * a],
|
|
454
|
+
[Je.Null]: []
|
|
455
455
|
};
|
|
456
|
-
return o[i] ?? o[
|
|
456
|
+
return o[i] ?? o[Je.Null];
|
|
457
457
|
}
|
|
458
458
|
function vh(t) {
|
|
459
459
|
const { root: e, fill: i, rotation: a, isLinePattern: o } = t;
|
|
@@ -520,14 +520,14 @@ function kd(t, e) {
|
|
|
520
520
|
};
|
|
521
521
|
if (t != null) {
|
|
522
522
|
const a = le(t.color);
|
|
523
|
-
i.stroke = a.color, i.strokeOpacity = a.opacity, t.width !== void 0 && (i.strokeWidth = t.width, i.strokeOpacity = t.width === 0 ? 0 : a.opacity), t.style !== void 0 && t.style !==
|
|
523
|
+
i.stroke = a.color, i.strokeOpacity = a.opacity, t.width !== void 0 && (i.strokeWidth = t.width, i.strokeOpacity = t.width === 0 ? 0 : a.opacity), t.style !== void 0 && t.style !== Je.Null && (i.strokeDasharray = Ch(t.style, i.strokeWidth), i.linecap = xh(t.style, e));
|
|
524
524
|
}
|
|
525
525
|
return i;
|
|
526
526
|
}
|
|
527
527
|
function Id(t, e) {
|
|
528
528
|
let i = t;
|
|
529
529
|
const [a, o, n, s] = t?.color ?? e ?? A.color, r = [a, o, n, s];
|
|
530
|
-
return i == null ? i = { type:
|
|
530
|
+
return i == null ? i = { type: Q.SLS, color: r } : i.color === void 0 && (i.color = r), kd(i, !1);
|
|
531
531
|
}
|
|
532
532
|
function Fh(t, e) {
|
|
533
533
|
const { color: i, outline: a, style: o } = t, n = le(i);
|
|
@@ -540,10 +540,18 @@ function Fh(t, e) {
|
|
|
540
540
|
}
|
|
541
541
|
function Ah(t) {
|
|
542
542
|
const { color: e, style: i, size: a, outline: o, xoffset: n, yoffset: s, angle: r } = t, l = Td(r), c = i !== void 0 ? Ad(i, a) : "", d = le(e);
|
|
543
|
-
|
|
543
|
+
let u = o;
|
|
544
|
+
return i !== Jt.Cross && i !== Jt.X && a !== void 0 && a <= A.lineSeries.marker.markerSizeThresholdForTooltipDisplay && (o?.width === void 0 || o.width === 0) && (u = {
|
|
545
|
+
type: Q.SLS,
|
|
546
|
+
style: o?.style ?? Je.Solid,
|
|
547
|
+
color: [0, 0, 0, 0],
|
|
548
|
+
// making the outline transparent, so the color won't matter
|
|
549
|
+
width: A.lineSeries.marker.markerSizeThresholdForTooltipDisplay - a
|
|
550
|
+
// setting the outline width so marker + outline = threshold size (5px)
|
|
551
|
+
}), {
|
|
544
552
|
path: c,
|
|
545
553
|
fill: d.color,
|
|
546
|
-
outline: Id(
|
|
554
|
+
outline: Id(u, e),
|
|
547
555
|
xOffset: n ?? 0,
|
|
548
556
|
yOffset: s ?? 0,
|
|
549
557
|
angle: l,
|
|
@@ -581,14 +589,14 @@ function $d(t, e) {
|
|
|
581
589
|
function Dd(t, e) {
|
|
582
590
|
let i = Te;
|
|
583
591
|
switch (t ?? e) {
|
|
584
|
-
case
|
|
592
|
+
case te.Top:
|
|
585
593
|
i = Qe;
|
|
586
594
|
break;
|
|
587
|
-
case
|
|
595
|
+
case te.Bottom:
|
|
588
596
|
i = ke;
|
|
589
597
|
break;
|
|
590
|
-
case
|
|
591
|
-
case
|
|
598
|
+
case te.Baseline:
|
|
599
|
+
case te.Middle:
|
|
592
600
|
}
|
|
593
601
|
return i;
|
|
594
602
|
}
|
|
@@ -603,9 +611,9 @@ function cr(t) {
|
|
|
603
611
|
let s;
|
|
604
612
|
if (a === !0) {
|
|
605
613
|
const r = n ? fn : Lo;
|
|
606
|
-
if (i.color = i.color ??
|
|
614
|
+
if (i.color = i.color ?? ai({ colorIndex: o, opacity: r }), Qo(i) || Jo(i)) {
|
|
607
615
|
const { outline: l } = i;
|
|
608
|
-
l !== void 0 && (l.color = l?.color ??
|
|
616
|
+
l !== void 0 && (l.color = l?.color ?? ai({ colorIndex: o }), i.outline = { ...l });
|
|
609
617
|
}
|
|
610
618
|
}
|
|
611
619
|
return dd(i) ? s = kd(i, !0) : Jo(i) ? (i.style ??= A.lineSeries.marker.markerStyle, i.size ??= A.lineSeries.marker.markerBigSize, s = Ah(i)) : Qo(i) && (s = Fh(i, e)), s;
|
|
@@ -645,7 +653,7 @@ function wd(t, e) {
|
|
|
645
653
|
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", Dd(e.verticalCenter)), e.horizontalCenter !== void 0 && t.set("x", $d(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));
|
|
646
654
|
}
|
|
647
655
|
function po(t) {
|
|
648
|
-
const { root: e, parent: i, defaults: a, index: o, id: n } = t, s =
|
|
656
|
+
const { root: e, parent: i, defaults: a, index: o, id: n } = t, s = Si.new(e, {
|
|
649
657
|
text: "",
|
|
650
658
|
textAlign: "center",
|
|
651
659
|
background: Zs.new(e, {}),
|
|
@@ -658,7 +666,7 @@ function po(t) {
|
|
|
658
666
|
}
|
|
659
667
|
function Cl(t) {
|
|
660
668
|
const { label: e, offset: i, offsetProperty: a } = t;
|
|
661
|
-
e.adapters.remove(a), (e instanceof
|
|
669
|
+
e.adapters.remove(a), (e instanceof Si ? [e] : e.entities).forEach((n) => {
|
|
662
670
|
if (typeof i == "string" && !Number.isFinite(Number(i))) {
|
|
663
671
|
let s = mn(i);
|
|
664
672
|
typeof s == "number" && (s /= 100, n.adapters.add(a, () => (a === "dx" ? n.width() : n.height()) * (s ?? 0)));
|
|
@@ -671,7 +679,7 @@ function Cl(t) {
|
|
|
671
679
|
function Pt(t) {
|
|
672
680
|
const { label: e, labelConfig: i, defaults: a, skipSettingText: o, skipSettingXAndY: n } = t, s = i?.visible ?? !0;
|
|
673
681
|
if (e !== void 0 && !e.isDisposed() && i !== void 0) {
|
|
674
|
-
const r = e instanceof
|
|
682
|
+
const r = e instanceof Si && Ft(e.uid, "isGuide"), l = $h({ input: i.content, isGuideLabel: r, defaults: a });
|
|
675
683
|
e.setAll({
|
|
676
684
|
fill: l.fill,
|
|
677
685
|
fontFamily: l.fontFamily,
|
|
@@ -699,12 +707,12 @@ function Pt(t) {
|
|
|
699
707
|
})), e.get("background")?.setAll({
|
|
700
708
|
strokeWidth: l.borderWidth,
|
|
701
709
|
strokeOpacity: 1
|
|
702
|
-
}), e.set("visible", s), e instanceof
|
|
710
|
+
}), e.set("visible", s), e instanceof Si ? Be(e, s) : e.entities.forEach((c) => {
|
|
703
711
|
Be(c, s);
|
|
704
712
|
});
|
|
705
713
|
}
|
|
706
714
|
}
|
|
707
|
-
function
|
|
715
|
+
function Ci(t) {
|
|
708
716
|
const { chart: e, label: i, labelType: a } = t, { legendTitle: o } = A.legendProperties, n = D(e.uid, "config");
|
|
709
717
|
let s = o.maxWidth ?? Number.NaN, r = Number.NaN;
|
|
710
718
|
switch (a) {
|
|
@@ -739,9 +747,9 @@ function xi(t) {
|
|
|
739
747
|
}
|
|
740
748
|
function bo(t) {
|
|
741
749
|
const { chart: e } = t;
|
|
742
|
-
|
|
750
|
+
Ci(t), e.events.on(
|
|
743
751
|
se.BoundsChanged,
|
|
744
|
-
Ve(() =>
|
|
752
|
+
Ve(() => Ci(t), A.debounceTime)
|
|
745
753
|
);
|
|
746
754
|
}
|
|
747
755
|
function Od(t) {
|
|
@@ -797,13 +805,13 @@ function on(t, e) {
|
|
|
797
805
|
break;
|
|
798
806
|
}
|
|
799
807
|
switch (u) {
|
|
800
|
-
case
|
|
808
|
+
case te.Bottom:
|
|
801
809
|
h ? g = -l : g = -l / 2;
|
|
802
810
|
break;
|
|
803
|
-
case
|
|
811
|
+
case te.Middle:
|
|
804
812
|
g = -r / 2;
|
|
805
813
|
break;
|
|
806
|
-
case
|
|
814
|
+
case te.Top:
|
|
807
815
|
default:
|
|
808
816
|
g = -r + l / 2;
|
|
809
817
|
break;
|
|
@@ -823,13 +831,13 @@ function on(t, e) {
|
|
|
823
831
|
break;
|
|
824
832
|
}
|
|
825
833
|
switch (u) {
|
|
826
|
-
case
|
|
834
|
+
case te.Bottom:
|
|
827
835
|
h ? g = r / 2 : g = l;
|
|
828
836
|
break;
|
|
829
|
-
case
|
|
837
|
+
case te.Top:
|
|
830
838
|
h ? g = -r / 2 + l / 2 : g = -l;
|
|
831
839
|
break;
|
|
832
|
-
case
|
|
840
|
+
case te.Middle:
|
|
833
841
|
default:
|
|
834
842
|
h || (g = -l / 2);
|
|
835
843
|
break;
|
|
@@ -879,14 +887,14 @@ function Oh(t) {
|
|
|
879
887
|
if (a.label !== void 0) {
|
|
880
888
|
const s = e.get("renderer") instanceof Dt;
|
|
881
889
|
let r;
|
|
882
|
-
e instanceof
|
|
890
|
+
e instanceof mi || (s ? o === Q.SFS ? r = A.verticalSurfaceGuideLabels : r = A.verticalLineGuideLabels : o === Q.SFS ? r = A.horizontalSurfaceGuideLabels : r = A.horizontalLineGuideLabels), lr(n.uid, { guideLabelConfig: a.label });
|
|
883
891
|
const l = {
|
|
884
892
|
type: y.Text,
|
|
885
893
|
visible: a.visible,
|
|
886
894
|
content: {
|
|
887
895
|
...a.label,
|
|
888
896
|
// Resetting the alignments - they will be fully handled by adjustGuideLabelsPositionCallback()
|
|
889
|
-
verticalAlignment:
|
|
897
|
+
verticalAlignment: te.Middle,
|
|
890
898
|
horizontalAlignment: re.Center,
|
|
891
899
|
// For guide labels, when dir attribute is set to "rtl" along with the "lang",
|
|
892
900
|
// we need to ignore the guide label's rtl property and set the rightToLeft property from labelConfig
|
|
@@ -990,13 +998,13 @@ function mt(t) {
|
|
|
990
998
|
colorRampIndex: a
|
|
991
999
|
}, f = c ?? { ...o };
|
|
992
1000
|
switch (o.type) {
|
|
993
|
-
case
|
|
1001
|
+
case Q.SLS:
|
|
994
1002
|
d = Yt({
|
|
995
1003
|
...u,
|
|
996
1004
|
lineSymbol: f
|
|
997
1005
|
});
|
|
998
1006
|
break;
|
|
999
|
-
case
|
|
1007
|
+
case Q.SFS:
|
|
1000
1008
|
d = na({
|
|
1001
1009
|
...u,
|
|
1002
1010
|
fillSymbol: f,
|
|
@@ -1004,7 +1012,7 @@ function mt(t) {
|
|
|
1004
1012
|
keepCurrentVisibility: l
|
|
1005
1013
|
});
|
|
1006
1014
|
break;
|
|
1007
|
-
case
|
|
1015
|
+
case Q.SMS:
|
|
1008
1016
|
d = Nd({
|
|
1009
1017
|
...u,
|
|
1010
1018
|
markerSymbol: f
|
|
@@ -1207,35 +1215,35 @@ function Wh(t) {
|
|
|
1207
1215
|
function Eh(t) {
|
|
1208
1216
|
const { chartSubType: e, yAxisField: i, splitBy: a, showOutliers: o } = t, n = e === N.BoxPlotMultiFieldsAndCategory ? i : void 0, s = { y: n, splitBy: a }, r = pe({
|
|
1209
1217
|
...s,
|
|
1210
|
-
key:
|
|
1218
|
+
key: ee.Outlier
|
|
1211
1219
|
}), l = pe({
|
|
1212
1220
|
...s,
|
|
1213
|
-
key:
|
|
1221
|
+
key: ee.Max,
|
|
1214
1222
|
showOutliers: o
|
|
1215
1223
|
}), c = pe({
|
|
1216
1224
|
...s,
|
|
1217
|
-
key:
|
|
1225
|
+
key: ee.Min,
|
|
1218
1226
|
showOutliers: o
|
|
1219
1227
|
}), d = pe({
|
|
1220
1228
|
...s,
|
|
1221
|
-
key:
|
|
1229
|
+
key: ee.Max,
|
|
1222
1230
|
showOutliers: !1
|
|
1223
1231
|
}), u = pe({
|
|
1224
1232
|
...s,
|
|
1225
|
-
key:
|
|
1233
|
+
key: ee.Min,
|
|
1226
1234
|
showOutliers: !1
|
|
1227
1235
|
}), f = pe({
|
|
1228
1236
|
...s,
|
|
1229
|
-
key:
|
|
1237
|
+
key: ee.Max,
|
|
1230
1238
|
showOutliers: !0
|
|
1231
1239
|
}), g = pe({
|
|
1232
1240
|
...s,
|
|
1233
|
-
key:
|
|
1241
|
+
key: ee.Min,
|
|
1234
1242
|
showOutliers: !0
|
|
1235
1243
|
}), h = pe({
|
|
1236
1244
|
splitBy: a,
|
|
1237
1245
|
y: n,
|
|
1238
|
-
key:
|
|
1246
|
+
key: ee.IQR
|
|
1239
1247
|
});
|
|
1240
1248
|
return {
|
|
1241
1249
|
selectedOutlierKey: r,
|
|
@@ -1254,7 +1262,7 @@ function Hh(t) {
|
|
|
1254
1262
|
if (l?.[G.boxPlot.boxPlotMeanLineMarkerId] === !0) {
|
|
1255
1263
|
const u = pe({
|
|
1256
1264
|
splitBy: o,
|
|
1257
|
-
key:
|
|
1265
|
+
key: ee.Average
|
|
1258
1266
|
});
|
|
1259
1267
|
c = (f) => {
|
|
1260
1268
|
const g = !a || !(a in f && a in l) || f[a] === l[a], h = u in f && u in l;
|
|
@@ -1318,9 +1326,9 @@ function dr(t) {
|
|
|
1318
1326
|
n = a[e]?.toString() === i[e]?.toString();
|
|
1319
1327
|
else {
|
|
1320
1328
|
let s = i[G.typeOrDomainIdValue];
|
|
1321
|
-
s === void 0 && (s = i[G.originalCategoryValue]), s === void 0 && (s = i[o]), s === void 0 && (s = i[
|
|
1329
|
+
s === void 0 && (s = i[G.originalCategoryValue]), s === void 0 && (s = i[o]), s === void 0 && (s = i[ii]);
|
|
1322
1330
|
let r = a[G.typeOrDomainIdValue];
|
|
1323
|
-
r === void 0 && (r = a[G.originalCategoryValue]), r === void 0 && (r = a[o]), r === void 0 && (r = a[
|
|
1331
|
+
r === void 0 && (r = a[G.originalCategoryValue]), r === void 0 && (r = a[o]), r === void 0 && (r = a[ii]), n = s !== void 0 && r !== void 0 && s === r;
|
|
1324
1332
|
}
|
|
1325
1333
|
return n;
|
|
1326
1334
|
}
|
|
@@ -1402,7 +1410,7 @@ function In(t) {
|
|
|
1402
1410
|
break;
|
|
1403
1411
|
case y.PieSeries:
|
|
1404
1412
|
n !== void 0 && (d = (h) => {
|
|
1405
|
-
const b = i, p =
|
|
1413
|
+
const b = i, p = Ai(b), S = [b];
|
|
1406
1414
|
return p && S.push(...$o({ groupOfSlicesDataContext: b }) ?? []), S.some(
|
|
1407
1415
|
(C) => dr({
|
|
1408
1416
|
sliceDataContext: C,
|
|
@@ -1416,7 +1424,7 @@ function In(t) {
|
|
|
1416
1424
|
}
|
|
1417
1425
|
return d !== void 0 && (c = a.some(d)), c;
|
|
1418
1426
|
}
|
|
1419
|
-
function
|
|
1427
|
+
function vi(t) {
|
|
1420
1428
|
const {
|
|
1421
1429
|
isFeatureCollectionLayer: e,
|
|
1422
1430
|
dataContext: i,
|
|
@@ -1434,12 +1442,12 @@ function Ci(t) {
|
|
|
1434
1442
|
r !== y.PieSeries && (e || l !== N.BarAndLineNoAggregation && l !== N.BarAndLineSplitByNoAggregation) && o.forEach((f) => {
|
|
1435
1443
|
f !== a && delete d[f];
|
|
1436
1444
|
});
|
|
1437
|
-
const u =
|
|
1445
|
+
const u = oi({
|
|
1438
1446
|
value: i[n],
|
|
1439
1447
|
dataContext: i,
|
|
1440
1448
|
keepNullValues: !0
|
|
1441
1449
|
});
|
|
1442
|
-
d[n] = u, !be(s) && !km(s) && (d[
|
|
1450
|
+
d[n] = u, !be(s) && !km(s) && (d[Ti(s)] = Zi({ where: s, escape: !1 }));
|
|
1443
1451
|
} else if (r === y.BoxPlotSeries) {
|
|
1444
1452
|
d = { [n]: i[n] }, [
|
|
1445
1453
|
wa.uniqueIdsName,
|
|
@@ -1450,7 +1458,7 @@ function Ci(t) {
|
|
|
1450
1458
|
i[f] && (d[f] = i[f]);
|
|
1451
1459
|
});
|
|
1452
1460
|
const u = l === N.BoxPlotMultiFieldsAndCategory ? a : void 0;
|
|
1453
|
-
Object.values(
|
|
1461
|
+
Object.values(ee).forEach((f) => {
|
|
1454
1462
|
const g = pe({ key: f, y: u, splitBy: s, showOutliers: c });
|
|
1455
1463
|
i[g] !== void 0 && (d[g] = i[g]);
|
|
1456
1464
|
});
|
|
@@ -1503,7 +1511,7 @@ function ut(t) {
|
|
|
1503
1511
|
const { element: e, selected: i, multiSelect: a, isDateOrCategoryAxis: o, backToDefaultState: n } = t;
|
|
1504
1512
|
let s = !1;
|
|
1505
1513
|
if (e !== void 0) {
|
|
1506
|
-
const r =
|
|
1514
|
+
const r = Oi(e.uid, "selected") ?? !1;
|
|
1507
1515
|
s = r, a !== !0 ? o === !0 ? s = r ? !1 : r !== i : s = i : s = r !== i;
|
|
1508
1516
|
const l = n === !0 ? st.Default : st.CustomInactive;
|
|
1509
1517
|
e.states.apply(st.Default), e.states.apply(s ? st.CustomActive : l), s !== r && hh(e.uid, { selected: s });
|
|
@@ -1543,7 +1551,7 @@ function Pa(t) {
|
|
|
1543
1551
|
formatLocale: a,
|
|
1544
1552
|
root: o
|
|
1545
1553
|
});
|
|
1546
|
-
return typeof e == "number" && i.type === y.NumberAxisFormat ? n = s.format(e,
|
|
1554
|
+
return typeof e == "number" && i.type === y.NumberAxisFormat ? n = s.format(e, ni(i)) : (typeof e == "number" || e instanceof Date) && i.type === y.DateAxisFormat && (n = s.format(e, ni(i))), n;
|
|
1547
1555
|
}
|
|
1548
1556
|
async function Xh(t) {
|
|
1549
1557
|
const { root: e, exportOptions: i } = t, { format: a, quality: o = 1, ...n } = i, s = o < 0 || o > 1 ? 1 : o, l = await Vg.new(e, {}).exportImage(a, {
|
|
@@ -1661,9 +1669,9 @@ function zd(t) {
|
|
|
1661
1669
|
visible: s,
|
|
1662
1670
|
content: {
|
|
1663
1671
|
...r,
|
|
1664
|
-
type:
|
|
1672
|
+
type: Q.TS,
|
|
1665
1673
|
text: ".",
|
|
1666
|
-
verticalAlignment:
|
|
1674
|
+
verticalAlignment: te.Middle,
|
|
1667
1675
|
// The horizontalAlignment value needs to be consistent with the one set by `handleValueLabelsRightAlignment()`. It avoids flickering the labels.
|
|
1668
1676
|
horizontalAlignment: T ? re.Right : re.Center
|
|
1669
1677
|
}
|
|
@@ -1950,7 +1958,7 @@ const m = {
|
|
|
1950
1958
|
`${m.NonRotated}-${m.RTL}-${m.Stacked100}-${m.LegendRight}-${m.ValueAxis}-${m.OrderByFieldsDESC}`,
|
|
1951
1959
|
`${m.Rotated}-${m.RTL}-${m.Stacked100}-${m.LegendTop}-${m.ValueAxis}-${m.OrderByFieldsDESC}`,
|
|
1952
1960
|
`${m.Rotated}-${m.RTL}-${m.Stacked100}-${m.LegendBottom}-${m.ValueAxis}-${m.OrderByFieldsDESC}`
|
|
1953
|
-
]), $n = "arcgis_charts_title_container", fr = "arcgis_charts_subtitle_container", Dn = "arcgis_charts_footer_container", Ud = "arcgis_charts_title", _d = "arcgis_charts_subtitle", qd = "arcgis_charts_footer",
|
|
1961
|
+
]), $n = "arcgis_charts_title_container", fr = "arcgis_charts_subtitle_container", Dn = "arcgis_charts_footer_container", Ud = "arcgis_charts_title", _d = "arcgis_charts_subtitle", qd = "arcgis_charts_footer", Ri = "arcgis_charts_legend_container", ga = "arcgis_charts_legend_title", Ll = "arcgis_charts_axis_title_id", jd = "arcgis_charts_loader_container", Zd = "arcgis_charts_loader_spinner";
|
|
1954
1962
|
function Kd(t) {
|
|
1955
1963
|
const { root: e } = t, i = D(t.uid, "rtl") ?? !1, a = D(t.uid, "config"), o = a?.series[0], { start: n, end: s } = Qd(i, o), r = a?.legend?.position ?? A.heatChart.legend.position, l = r === X.Top || r === X.Bottom;
|
|
1956
1964
|
return nd.new(e, {
|
|
@@ -2072,7 +2080,7 @@ function Jh(t, e) {
|
|
|
2072
2080
|
visible: e?.visible,
|
|
2073
2081
|
content: {
|
|
2074
2082
|
...e?.body,
|
|
2075
|
-
type:
|
|
2083
|
+
type: Q.TS,
|
|
2076
2084
|
text: " "
|
|
2077
2085
|
// using a non empty string to kick in the adapter on `text`
|
|
2078
2086
|
}
|
|
@@ -2112,7 +2120,7 @@ function au(t) {
|
|
|
2112
2120
|
if (a) {
|
|
2113
2121
|
const { chart: o } = a;
|
|
2114
2122
|
if (o instanceof Ra) {
|
|
2115
|
-
const n = ve({ childId:
|
|
2123
|
+
const n = ve({ childId: Ri, parent: o });
|
|
2116
2124
|
n !== void 0 && n.dataItems?.forEach((s) => {
|
|
2117
2125
|
s.get("id") === e && n.set("opacity", i ? 1 : A.legendProperties.legendLabelReducedOpacity);
|
|
2118
2126
|
});
|
|
@@ -2126,7 +2134,7 @@ function ip(t) {
|
|
|
2126
2134
|
const { dataContext: i } = e, a = typeof i == "object" && i !== null && "component" in i ? i.component : i;
|
|
2127
2135
|
if (a instanceof Ks) {
|
|
2128
2136
|
const n = { visible: !a.get("visible") };
|
|
2129
|
-
|
|
2137
|
+
Bi(a) || Do(a) ? n.overlayType = he(a.uid, "type") : n.seriesId = a.get("id"), Cc(n, a.root.dom);
|
|
2130
2138
|
}
|
|
2131
2139
|
}
|
|
2132
2140
|
}
|
|
@@ -2216,14 +2224,14 @@ function Fl(t) {
|
|
|
2216
2224
|
}), Math.ceil(e);
|
|
2217
2225
|
}
|
|
2218
2226
|
function io(t, e) {
|
|
2219
|
-
const { root: i } = t, a = ve({ childId:
|
|
2227
|
+
const { root: i } = t, a = ve({ childId: Ri, parent: t });
|
|
2220
2228
|
if (a !== void 0) {
|
|
2221
|
-
const o = D(t.uid, "config"), n = D(t.uid, "rtl"), s = o?.title ? o.title.visible ?? !0 : !1, r = o?.subtitle ? o.subtitle.visible ?? !0 : !1, l = o?.footer ? o.footer.visible ?? !0 : !1, c = o?.legend ? o.legend.visible ?? !0 : !1, d = o?.legend?.title ? o.legend.title.visible ?? !0 : !1, u = ve({ childId: $n, parent: t }), f = u instanceof zi && s ? u.height() : 0, g = ve({ childId: fr, parent: t }), h = g instanceof zi && r ? g.height() : 0, b = ve({ childId: Dn, parent: t }), p = b instanceof zi && l ? b.height() : 0, S = ve({ childId: ga, parent: a }), x = S instanceof
|
|
2229
|
+
const o = D(t.uid, "config"), n = D(t.uid, "rtl"), s = o?.title ? o.title.visible ?? !0 : !1, r = o?.subtitle ? o.subtitle.visible ?? !0 : !1, l = o?.footer ? o.footer.visible ?? !0 : !1, c = o?.legend ? o.legend.visible ?? !0 : !1, d = o?.legend?.title ? o.legend.title.visible ?? !0 : !1, u = ve({ childId: $n, parent: t }), f = u instanceof zi && s ? u.height() : 0, g = ve({ childId: fr, parent: t }), h = g instanceof zi && r ? g.height() : 0, b = ve({ childId: Dn, parent: t }), p = b instanceof zi && l ? b.height() : 0, S = ve({ childId: ga, parent: a }), x = S instanceof Si && c && d ? S?.height() : 0, C = o?.legend?.position ?? A.legendProperties.position;
|
|
2222
2230
|
let v;
|
|
2223
2231
|
const F = e.get("verticalScrollbar");
|
|
2224
2232
|
let T = Te, k = Te, $ = i.verticalLayout, w = Te, O = Te, R = Te, B = Te, P = 0, W;
|
|
2225
2233
|
const H = e.height() + x;
|
|
2226
|
-
let z = 0, ie = 0, ne = 0,
|
|
2234
|
+
let z = 0, ie = 0, ne = 0, J = 0, _, j;
|
|
2227
2235
|
switch (C) {
|
|
2228
2236
|
case X.Left:
|
|
2229
2237
|
$ = i.verticalLayout, w = Qe, R = Qe, O = Qe, B = Qe, W = void 0, T = Qe, k = Qe, z = a.width(), P = f + h, H < t.seriesContainer.height() && (P += t.seriesContainer.height() / 2 - H / 2), v = Fl(e), F?.width() !== void 0 && v && F.isVisible() && (v += F.width() + A.scrollbarPadding), n && (_ = ke, j = v);
|
|
@@ -2235,7 +2243,7 @@ function io(t, e) {
|
|
|
2235
2243
|
$ = i.gridLayout, w = Te, R = Te, O = Qe, B = Qe, W = ke, T = Te, k = Te, ne += H, P += f + h, v = void 0, n && (_ = void 0);
|
|
2236
2244
|
break;
|
|
2237
2245
|
case X.Bottom:
|
|
2238
|
-
$ = i.gridLayout, w = Te, R = Te, O = ke, B = ke, W = ke, T = Te, k = Te,
|
|
2246
|
+
$ = i.gridLayout, w = Te, R = Te, O = ke, B = ke, W = ke, T = Te, k = Te, J = H, P = -J - p, v = void 0, n && (_ = void 0);
|
|
2239
2247
|
break;
|
|
2240
2248
|
}
|
|
2241
2249
|
(v === void 0 || v > 0) && (e.setPrivate("width", v), n && e.itemContainers.template.setAll({
|
|
@@ -2250,7 +2258,7 @@ function io(t, e) {
|
|
|
2250
2258
|
width: W,
|
|
2251
2259
|
height: 0
|
|
2252
2260
|
}), t.chartContainer.setAll({
|
|
2253
|
-
paddingBottom:
|
|
2261
|
+
paddingBottom: J,
|
|
2254
2262
|
paddingTop: ne,
|
|
2255
2263
|
paddingLeft: z,
|
|
2256
2264
|
paddingRight: ie
|
|
@@ -2294,7 +2302,7 @@ function sp(t, e) {
|
|
|
2294
2302
|
n instanceof bt ? o = (a.dataItem?.dataContext?.[n.get("categoryField") ?? ""] ?? i)?.toString() : n instanceof Ks && (o = n.get("name"));
|
|
2295
2303
|
const s = D(t.uid, "config");
|
|
2296
2304
|
if (s !== void 0) {
|
|
2297
|
-
const { legend: r } = s, l = { ...r?.body, type:
|
|
2305
|
+
const { legend: r } = s, l = { ...r?.body, type: Q.TS, text: o };
|
|
2298
2306
|
o = ft({ textSymbol: l, format: "amChartsV5" });
|
|
2299
2307
|
}
|
|
2300
2308
|
return o;
|
|
@@ -2303,7 +2311,7 @@ function sp(t, e) {
|
|
|
2303
2311
|
function rp(t, e) {
|
|
2304
2312
|
e.seriesContainer.onPrivate("height", (i) => {
|
|
2305
2313
|
let a = 0;
|
|
2306
|
-
const o = D(e.uid, "config"), n = o?.legend, s = ve({ childId:
|
|
2314
|
+
const o = D(e.uid, "config"), n = o?.legend, s = ve({ childId: Ri, parent: e });
|
|
2307
2315
|
if (s !== void 0) {
|
|
2308
2316
|
const l = ve({ childId: ga, parent: s });
|
|
2309
2317
|
l !== void 0 && n?.visible !== !1 && n?.title?.visible !== !1 && (a = l.height());
|
|
@@ -2350,7 +2358,7 @@ function dp(t) {
|
|
|
2350
2358
|
}
|
|
2351
2359
|
const c = a ? t.yAxes.getIndex(0) : t.xAxes.getIndex(0);
|
|
2352
2360
|
let d;
|
|
2353
|
-
c instanceof
|
|
2361
|
+
c instanceof at ? d = m.DateAxis : c instanceof De ? d = m.ValueAxis : d = m.CategoryAxis;
|
|
2354
2362
|
const f = i?.orderOptions?.data?.orderBy === vn.Descending ? m.OrderByFieldsDESC : m.OrderByFieldsASC;
|
|
2355
2363
|
e = `${o}-${r}-${s}-${l}-${d}-${f}`;
|
|
2356
2364
|
}
|
|
@@ -2375,7 +2383,7 @@ function su(t, e, i) {
|
|
|
2375
2383
|
}
|
|
2376
2384
|
}
|
|
2377
2385
|
function fp(t, e) {
|
|
2378
|
-
const i = ve({ childId:
|
|
2386
|
+
const i = ve({ childId: Ri, parent: t });
|
|
2379
2387
|
if (i !== void 0) {
|
|
2380
2388
|
const a = ve({ childId: ga, parent: i }) ?? nu(t, i);
|
|
2381
2389
|
if (e !== void 0) {
|
|
@@ -2383,8 +2391,8 @@ function fp(t, e) {
|
|
|
2383
2391
|
o !== void 0 ? (Pt({
|
|
2384
2392
|
label: a,
|
|
2385
2393
|
labelConfig: { ...o, visible: n !== !1 && o.visible !== !1 },
|
|
2386
|
-
defaults: { ...s, verticalCenter:
|
|
2387
|
-
}),
|
|
2394
|
+
defaults: { ...s, verticalCenter: te.Top }
|
|
2395
|
+
}), Ci({
|
|
2388
2396
|
chart: t,
|
|
2389
2397
|
label: a,
|
|
2390
2398
|
labelType: ae.LegendTitle
|
|
@@ -2409,13 +2417,13 @@ function gp(t) {
|
|
|
2409
2417
|
visible: i?.visible,
|
|
2410
2418
|
content: {
|
|
2411
2419
|
...i?.body,
|
|
2412
|
-
type:
|
|
2420
|
+
type: Q.TS,
|
|
2413
2421
|
text: " "
|
|
2414
2422
|
// using a non empty string to kick in the adapter on `text`
|
|
2415
2423
|
}
|
|
2416
2424
|
};
|
|
2417
2425
|
if (a === y.PieSeries) {
|
|
2418
|
-
const r = ve({ childId:
|
|
2426
|
+
const r = ve({ childId: Ri, parent: n });
|
|
2419
2427
|
r !== void 0 && ve({ childId: ga, parent: r }) !== void 0 && zd({
|
|
2420
2428
|
legend: e,
|
|
2421
2429
|
seriesConfig: o,
|
|
@@ -2438,7 +2446,7 @@ function Al(t) {
|
|
|
2438
2446
|
n = ep(e);
|
|
2439
2447
|
else {
|
|
2440
2448
|
const s = zi.new(o, {
|
|
2441
|
-
id: Xt(
|
|
2449
|
+
id: Xt(Ri, e.uid),
|
|
2442
2450
|
layout: o.verticalLayout
|
|
2443
2451
|
});
|
|
2444
2452
|
n = Sn.new(o, { verticalScrollbar: gs.new(o, { orientation: "vertical" }) }), e instanceof _t ? _h(n) : n.valueLabels.template.setAll({ forceHidden: !0, textAlign: "left" }), sp(e, n), nu(e, s), ap(n), op(n, e), np({ chart: e, legend: n, legendContainer: s }), rp(n, e), lp(n, e, E(i)), s.children.push(n), e.children.push(s);
|
|
@@ -2446,13 +2454,13 @@ function Al(t) {
|
|
|
2446
2454
|
return n;
|
|
2447
2455
|
}
|
|
2448
2456
|
function pp(t) {
|
|
2449
|
-
const { chart: e, legend: i, showLegend: a } = t, o = ve({ childId:
|
|
2457
|
+
const { chart: e, legend: i, showLegend: a } = t, o = ve({ childId: Ri, parent: e });
|
|
2450
2458
|
o && (Be(o, a), Be(i, a));
|
|
2451
2459
|
}
|
|
2452
2460
|
function bp(t) {
|
|
2453
2461
|
const { chart: e, showLegend: i, legendConfig: a } = t;
|
|
2454
2462
|
if (a) {
|
|
2455
|
-
const { title: o, visible: n } = a, s = o !== void 0 && n !== !1 && o.visible !== !1, r = ve({ childId:
|
|
2463
|
+
const { title: o, visible: n } = a, s = o !== void 0 && n !== !1 && o.visible !== !1, r = ve({ childId: Ri, parent: e });
|
|
2456
2464
|
if (r) {
|
|
2457
2465
|
const l = ve({ childId: ga, parent: r });
|
|
2458
2466
|
l && (o ? Be(l, s) : Be(l, i));
|
|
@@ -2466,7 +2474,7 @@ function ru(t) {
|
|
|
2466
2474
|
chart: e,
|
|
2467
2475
|
chartConfig: i
|
|
2468
2476
|
});
|
|
2469
|
-
else if (a instanceof Sn && a !== void 0 && ve({ childId:
|
|
2477
|
+
else if (a instanceof Sn && a !== void 0 && ve({ childId: Ri, parent: e }) !== void 0) {
|
|
2470
2478
|
const u = xc(c) && l !== void 0 && l.visible !== !1;
|
|
2471
2479
|
if (pp({ chart: e, legend: a, showLegend: u }), bp({ chart: e, showLegend: u, legendConfig: l }), u) {
|
|
2472
2480
|
mp(a, l?.roundMarkers), gp({
|
|
@@ -2509,7 +2517,7 @@ function lu(t) {
|
|
|
2509
2517
|
}
|
|
2510
2518
|
}
|
|
2511
2519
|
}
|
|
2512
|
-
function
|
|
2520
|
+
function li(t, e) {
|
|
2513
2521
|
return e != null && e !== "" ? e : t;
|
|
2514
2522
|
}
|
|
2515
2523
|
function cu(t, e) {
|
|
@@ -2569,7 +2577,7 @@ function du(t) {
|
|
|
2569
2577
|
return f === N.BarAndLineNoAggregation ? r = l ?? Oe(i, d) : f === N.BarAndLineSplitByNoAggregation ? r = Oe(i, d) : (r = p === Ht.Count && h === g ? s.statistics.count : Da(s.statistics.aggregation, {
|
|
2570
2578
|
statistics: S,
|
|
2571
2579
|
fieldName: b ?? l
|
|
2572
|
-
}), f === N.BarAndLineMonoField && !n && (r =
|
|
2580
|
+
}), f === N.BarAndLineMonoField && !n && (r = li(r, u[1].title?.content?.text))), r;
|
|
2573
2581
|
}
|
|
2574
2582
|
function wn(t) {
|
|
2575
2583
|
return t != null && !t.isDisposed();
|
|
@@ -2598,7 +2606,7 @@ function Sp(t) {
|
|
|
2598
2606
|
let r;
|
|
2599
2607
|
const l = D(a.chart?.uid ?? 0, "rtl") ?? !1, c = ht(l);
|
|
2600
2608
|
return s === !1 ? r = (d, u, f) => "" : r = (d, u, f) => {
|
|
2601
|
-
const g = Oe(o, i.x), h =
|
|
2609
|
+
const g = Oe(o, i.x), h = li(g, e?.[0].title?.content?.text), b = li(n?.statistics.count ?? "", e?.[1]?.title?.content?.text ?? ""), p = he(
|
|
2602
2610
|
a.uid,
|
|
2603
2611
|
"tooltipValueXNumberFormatCallback"
|
|
2604
2612
|
), S = he(
|
|
@@ -2708,7 +2716,7 @@ function Fp(t) {
|
|
|
2708
2716
|
const l = i.dataItem;
|
|
2709
2717
|
if (l !== void 0) {
|
|
2710
2718
|
const c = l, d = c.get("category") ?? "", u = l.dataContext;
|
|
2711
|
-
let f =
|
|
2719
|
+
let f = si(u);
|
|
2712
2720
|
f === void 0 && (f = d);
|
|
2713
2721
|
const g = c.get("value"), h = c.get("valuePercentTotal");
|
|
2714
2722
|
typeof g == "number" && g !== 0 && n?.series?.[0]?.dataTooltipVisible !== !1 ? (i.set("disabled", !1), Lp(c.get("slice")), a = r(d, g, h, f)) : i.set("disabled", !0);
|
|
@@ -2995,12 +3003,12 @@ function $p(t) {
|
|
|
2995
3003
|
const r = s.get("valueX"), l = s.get("valueY"), c = s.get("valueXTotalPercent"), d = s.get("valueYTotalPercent"), u = o ? r : l;
|
|
2996
3004
|
let f;
|
|
2997
3005
|
o && typeof c == "number" ? f = c : !o && typeof d == "number" && (f = d), f && (f /= 100);
|
|
2998
|
-
const g = s.dataContext ?? {}, h = D(i.chart?.uid ?? 0, "config"), b = D(i.chart?.uid ?? 0, "rendererFieldNames"), p =
|
|
3006
|
+
const g = s.dataContext ?? {}, h = D(i.chart?.uid ?? 0, "config"), b = D(i.chart?.uid ?? 0, "rendererFieldNames"), p = oi({
|
|
2999
3007
|
value: g[e.x],
|
|
3000
3008
|
dataContext: g,
|
|
3001
3009
|
useRendererLabel: lo(h, b)
|
|
3002
3010
|
});
|
|
3003
|
-
let S =
|
|
3011
|
+
let S = si(g);
|
|
3004
3012
|
S === void 0 && (S = p);
|
|
3005
3013
|
const x = g[A.dateBinningRange];
|
|
3006
3014
|
if (S !== void 0 || u !== void 0 || f !== void 0 || x !== void 0)
|
|
@@ -3161,7 +3169,7 @@ function wp(t) {
|
|
|
3161
3169
|
series: s,
|
|
3162
3170
|
dateRange: l,
|
|
3163
3171
|
xAxisValueFormat: i
|
|
3164
|
-
}) :
|
|
3172
|
+
}) : ui(i) && r !== void 0 ? d = Pa({
|
|
3165
3173
|
root: c,
|
|
3166
3174
|
value: r,
|
|
3167
3175
|
valueFormat: n ?? i,
|
|
@@ -3211,7 +3219,7 @@ function Rp(t) {
|
|
|
3211
3219
|
if (g !== void 0) {
|
|
3212
3220
|
const { dataTooltipVisible: h } = n, b = o instanceof ge ? n.markerVisible : void 0;
|
|
3213
3221
|
if (h !== !1 && b !== !1) {
|
|
3214
|
-
const p = g.axes, S = p[0].valueFormat, x = p[1].valueFormat, C = Y(g.series), v = Et(g) === $e.Stacked100, F = pt(a)?.objectIdField, T = Oe(i, n.x), k =
|
|
3222
|
+
const p = g.axes, S = p[0].valueFormat, x = p[1].valueFormat, C = Y(g.series), v = Et(g) === $e.Stacked100, F = pt(a)?.objectIdField, T = Oe(i, n.x), k = li(T, p[0].title?.content.text), $ = du({
|
|
3215
3223
|
config: g,
|
|
3216
3224
|
fieldList: i,
|
|
3217
3225
|
objectIdField: F,
|
|
@@ -3237,37 +3245,37 @@ function Rp(t) {
|
|
|
3237
3245
|
series: o,
|
|
3238
3246
|
statValue: P,
|
|
3239
3247
|
percentValue: W
|
|
3240
|
-
}),
|
|
3248
|
+
}), J = [`[bold]${k}${O} [/]${z}`];
|
|
3241
3249
|
switch (C) {
|
|
3242
3250
|
case N.BarAndLineFromFields: {
|
|
3243
|
-
|
|
3251
|
+
J.pop();
|
|
3244
3252
|
const _ = mr({
|
|
3245
3253
|
config: g,
|
|
3246
3254
|
fieldName: Oe(i, z ?? ""),
|
|
3247
3255
|
utilsStrings: e
|
|
3248
3256
|
});
|
|
3249
|
-
|
|
3257
|
+
J.push(`[bold]${_}${O} [/]${ie}`);
|
|
3250
3258
|
break;
|
|
3251
3259
|
}
|
|
3252
3260
|
case N.BarAndLineMonoField:
|
|
3253
3261
|
case N.BarAndLineNoAggregation:
|
|
3254
3262
|
case N.BarAndLineMultiFields:
|
|
3255
|
-
|
|
3263
|
+
J.push(`[bold]${$}${O} [/]${ie}`);
|
|
3256
3264
|
break;
|
|
3257
3265
|
case N.BarAndLineSplitByNoAggregation:
|
|
3258
3266
|
case N.BarAndLineSplitBy:
|
|
3259
3267
|
{
|
|
3260
|
-
const _ =
|
|
3268
|
+
const _ = Ti(n.query?.where, !1), j = vc({
|
|
3261
3269
|
value: Oe(i, _)
|
|
3262
3270
|
});
|
|
3263
|
-
|
|
3271
|
+
J.push(
|
|
3264
3272
|
`[bold]${j}${O} [/]${B}
|
|
3265
3273
|
[bold]${$}${O} [/]${ie}`
|
|
3266
3274
|
);
|
|
3267
3275
|
}
|
|
3268
3276
|
break;
|
|
3269
3277
|
}
|
|
3270
|
-
return v &&
|
|
3278
|
+
return v && J.push(`[bold]${e.statistics.percent}${O} [/]${ne}`), J.join(`
|
|
3271
3279
|
`);
|
|
3272
3280
|
};
|
|
3273
3281
|
}
|
|
@@ -3436,14 +3444,14 @@ function Ep(t, e) {
|
|
|
3436
3444
|
calculateAggregates: !1
|
|
3437
3445
|
});
|
|
3438
3446
|
}
|
|
3439
|
-
function
|
|
3447
|
+
function Bi(t) {
|
|
3440
3448
|
return t.get("id") === A.overlayId.scatterplotTrendLine;
|
|
3441
3449
|
}
|
|
3442
3450
|
function Su(t) {
|
|
3443
|
-
return t.series.values.find((e) => !
|
|
3451
|
+
return t.series.values.find((e) => !Bi(e));
|
|
3444
3452
|
}
|
|
3445
3453
|
function xu(t) {
|
|
3446
|
-
return t.series.values.find((e) =>
|
|
3454
|
+
return t.series.values.find((e) => Bi(e));
|
|
3447
3455
|
}
|
|
3448
3456
|
function Hp(t) {
|
|
3449
3457
|
const { root: e, xAxis: i, yAxis: a, seriesConfig: o } = t, { x: n, y: s } = o, r = ge.new(e, {
|
|
@@ -3460,7 +3468,7 @@ function Hp(t) {
|
|
|
3460
3468
|
function zp(t, e) {
|
|
3461
3469
|
const i = Ya.new({});
|
|
3462
3470
|
We(t.uid, { bulletTemplate: i }), t.bullets.push((a) => {
|
|
3463
|
-
const o =
|
|
3471
|
+
const o = fi.new(
|
|
3464
3472
|
a,
|
|
3465
3473
|
{
|
|
3466
3474
|
nonScalingStroke: !0,
|
|
@@ -3469,7 +3477,7 @@ function zp(t, e) {
|
|
|
3469
3477
|
},
|
|
3470
3478
|
i
|
|
3471
3479
|
);
|
|
3472
|
-
return jt(o, e?.selectionTheme), Zt(o, t), wu(o, t),
|
|
3480
|
+
return jt(o, e?.selectionTheme), Zt(o, t), wu(o, t), wi.new(a, {
|
|
3473
3481
|
sprite: o
|
|
3474
3482
|
});
|
|
3475
3483
|
});
|
|
@@ -3499,7 +3507,7 @@ function Gp(t) {
|
|
|
3499
3507
|
}
|
|
3500
3508
|
function Xp(t) {
|
|
3501
3509
|
const { root: e, trendLineSeries: i, data: a, valueFormat: o, defaultR2Value: n, chartConfig: s } = t, { chart: r } = i, l = s.series[0], c = l.overlays?.trendLine, d = c?.symbol ?? {
|
|
3502
|
-
type:
|
|
3510
|
+
type: Q.SLS
|
|
3503
3511
|
}, u = c?.created === !0 && c.visible !== !1;
|
|
3504
3512
|
if (a !== void 0) {
|
|
3505
3513
|
const f = A.scatterplotSeries, g = r !== void 0 ? D(r.uid, "formatLocale") : void 0, { x: h, y: b } = l;
|
|
@@ -3515,7 +3523,7 @@ function Xp(t) {
|
|
|
3515
3523
|
}) : void 0, S = p !== void 0 ? `R² = ${p}` : n;
|
|
3516
3524
|
i.set("name", S);
|
|
3517
3525
|
}
|
|
3518
|
-
d.color === void 0 && (d.color =
|
|
3526
|
+
d.color === void 0 && (d.color = ai({ colorIndex: 1 })), Yt({
|
|
3519
3527
|
element: i,
|
|
3520
3528
|
lineSymbol: d,
|
|
3521
3529
|
visible: u
|
|
@@ -3524,7 +3532,7 @@ function Xp(t) {
|
|
|
3524
3532
|
function Yp(t) {
|
|
3525
3533
|
const { root: e, chartConfig: i, markerSeries: a } = t, o = a.chart;
|
|
3526
3534
|
if (o) {
|
|
3527
|
-
const n = i.series[0], s =
|
|
3535
|
+
const n = i.series[0], s = ki(i);
|
|
3528
3536
|
let r, l;
|
|
3529
3537
|
const c = Ps(), d = /* @__PURE__ */ new Set();
|
|
3530
3538
|
a.dataItems.forEach((f) => {
|
|
@@ -3594,7 +3602,7 @@ function _p(t) {
|
|
|
3594
3602
|
data: l,
|
|
3595
3603
|
valueFormat: gn(),
|
|
3596
3604
|
defaultR2Value: f.notAvailable
|
|
3597
|
-
}), Ep(a, s),
|
|
3605
|
+
}), Ep(a, s), Mi(t) && Ni({
|
|
3598
3606
|
// TODO: Remove the type assertion and correct the typings
|
|
3599
3607
|
styleCallback: Yp,
|
|
3600
3608
|
callbackProps: { root: e, chartConfig: i, markerSeries: s, dataWasUpdated: c },
|
|
@@ -3676,7 +3684,7 @@ function Zt(t, e) {
|
|
|
3676
3684
|
const r = i.target, l = zh(i, e);
|
|
3677
3685
|
ut({
|
|
3678
3686
|
element: r,
|
|
3679
|
-
selected:
|
|
3687
|
+
selected: Oi(r.uid, "selected") !== !0
|
|
3680
3688
|
// switching the bullet state
|
|
3681
3689
|
}), l && a.series.each((c) => {
|
|
3682
3690
|
c instanceof ge ? c.dataItems.forEach((d) => {
|
|
@@ -3723,7 +3731,7 @@ function Zp(t) {
|
|
|
3723
3731
|
const b = f.top;
|
|
3724
3732
|
f.top = f.bottom, f.bottom = b;
|
|
3725
3733
|
}
|
|
3726
|
-
const h = !(f.left > i.right || f.right < i.left || f.top > i.bottom || f.bottom < i.top) || a &&
|
|
3734
|
+
const h = !(f.left > i.right || f.right < i.left || f.top > i.bottom || f.bottom < i.top) || a && Oi(s.uid, "selected") === !0;
|
|
3727
3735
|
ut({ element: s, selected: h });
|
|
3728
3736
|
}
|
|
3729
3737
|
});
|
|
@@ -3733,7 +3741,7 @@ function Kp(t) {
|
|
|
3733
3741
|
e.dataItems.forEach((o) => {
|
|
3734
3742
|
const n = o.bullets?.[0]?.get("sprite");
|
|
3735
3743
|
if (n) {
|
|
3736
|
-
const s = o.bullets?.[0]?.get("sprite").get("x"), r = o.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 &&
|
|
3744
|
+
const s = o.bullets?.[0]?.get("sprite").get("x"), r = o.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 && Oi(n.uid, "selected") === !0;
|
|
3737
3745
|
ut({ element: n, selected: c });
|
|
3738
3746
|
}
|
|
3739
3747
|
});
|
|
@@ -3755,7 +3763,7 @@ function Jp(t) {
|
|
|
3755
3763
|
if (o && n) {
|
|
3756
3764
|
const s = t.get("cursor"), r = Qp({ cursor: s, xAxis: o, yAxis: n }), l = Ed(i);
|
|
3757
3765
|
t.series.each((c) => {
|
|
3758
|
-
!
|
|
3766
|
+
!Bi(c) && !Do(c) && (c instanceof ze || c instanceof ge) && (c instanceof ze ? Zp({ series: c, cursorBounds: r, multiSelect: l }) : c instanceof ge && Kp({ series: c, cursorBounds: r, multiSelect: l }));
|
|
3759
3767
|
}), Be(s.selection, !1), await br(t, Pe.SelectionByRange);
|
|
3760
3768
|
}
|
|
3761
3769
|
}
|
|
@@ -3842,10 +3850,10 @@ function tb(t) {
|
|
|
3842
3850
|
function ib(t) {
|
|
3843
3851
|
const { series: e, isRotated: i, externalDataLabelFormatter: a } = t;
|
|
3844
3852
|
e.bullets.push(() => {
|
|
3845
|
-
const s = D(e.chart?.uid ?? Number.NaN, "config")?.series?.find((d) => d.id === e.get("id"))?.dataLabels ?? t.dataLabelsConfig, r = e.get("stacked"), l =
|
|
3853
|
+
const s = D(e.chart?.uid ?? Number.NaN, "config")?.series?.find((d) => d.id === e.get("id"))?.dataLabels ?? t.dataLabelsConfig, r = e.get("stacked"), l = wi.new(e.root, {
|
|
3846
3854
|
locationY: !r && !i ? 1 : void 0,
|
|
3847
3855
|
locationX: !r && i ? 1 : void 0,
|
|
3848
|
-
sprite:
|
|
3856
|
+
sprite: Si.new(e.root, {
|
|
3849
3857
|
text: i ? "{valueX}" : "{valueY}",
|
|
3850
3858
|
populateText: !0,
|
|
3851
3859
|
centerY: ke,
|
|
@@ -3942,7 +3950,7 @@ function On(t) {
|
|
|
3942
3950
|
} = t, { chart: f } = e;
|
|
3943
3951
|
if (a !== void 0) {
|
|
3944
3952
|
let g = u;
|
|
3945
|
-
const h = n?.content ?? { type:
|
|
3953
|
+
const h = n?.content ?? { type: Q.TS };
|
|
3946
3954
|
if (u === void 0 && d !== void 0 && s?.type === y.NumberAxisFormat && f) {
|
|
3947
3955
|
const C = D(f.uid, "formatLocale"), v = wt({
|
|
3948
3956
|
root: f.root,
|
|
@@ -4050,9 +4058,9 @@ function Tu(t) {
|
|
|
4050
4058
|
function sb(t) {
|
|
4051
4059
|
const { series: e, labelDefaults: i, externalDataLabelFormatter: a, seriesType: o } = t;
|
|
4052
4060
|
e.bullets.push(() => {
|
|
4053
|
-
const s = D(e.chart?.uid ?? Number.NaN, "config")?.series?.[0]?.dataLabels ?? t.dataLabelsConfig, r =
|
|
4061
|
+
const s = D(e.chart?.uid ?? Number.NaN, "config")?.series?.[0]?.dataLabels ?? t.dataLabelsConfig, r = wi.new(e.root, {
|
|
4054
4062
|
locationY: 1,
|
|
4055
|
-
sprite:
|
|
4063
|
+
sprite: Si.new(e.root, {
|
|
4056
4064
|
populateText: !0,
|
|
4057
4065
|
oversizedBehavior: "hide",
|
|
4058
4066
|
centerY: ke,
|
|
@@ -4252,8 +4260,8 @@ function gb(t) {
|
|
|
4252
4260
|
if (!i)
|
|
4253
4261
|
Be(e, !1);
|
|
4254
4262
|
else {
|
|
4255
|
-
const { symbol: n, created: s, visible: r } = i, l = he(e.uid, "type"), c = n ?? { type:
|
|
4256
|
-
if (i.symbol?.color === void 0 && (c.color =
|
|
4263
|
+
const { symbol: n, created: s, visible: r } = i, l = he(e.uid, "type"), c = n ?? { type: Q.SLS };
|
|
4264
|
+
if (i.symbol?.color === void 0 && (c.color = ai({
|
|
4257
4265
|
colorIndex: jo(l),
|
|
4258
4266
|
histogramOverlays: !0
|
|
4259
4267
|
})), Yt({
|
|
@@ -4318,8 +4326,8 @@ function hb(t) {
|
|
|
4318
4326
|
if (!i)
|
|
4319
4327
|
Be(e, !1);
|
|
4320
4328
|
else {
|
|
4321
|
-
const { symbol: n, created: s, visible: r } = i, l = n ?? { type:
|
|
4322
|
-
if (i?.symbol?.color === void 0 && (l.color =
|
|
4329
|
+
const { symbol: n, created: s, visible: r } = i, l = n ?? { type: Q.SLS };
|
|
4330
|
+
if (i?.symbol?.color === void 0 && (l.color = ai({
|
|
4323
4331
|
colorIndex: jo(we.Normal),
|
|
4324
4332
|
histogramOverlays: !0
|
|
4325
4333
|
})), Yt({
|
|
@@ -4376,7 +4384,7 @@ async function pb(t) {
|
|
|
4376
4384
|
});
|
|
4377
4385
|
h = b.rendererSymbol, de(e.chart?.uid ?? Number.NaN, { colorMatchApplied: b.colorMatchApplied });
|
|
4378
4386
|
}
|
|
4379
|
-
|
|
4387
|
+
Mi(t) && Ni({
|
|
4380
4388
|
// TODO: Remove the type assertion and correct the typings
|
|
4381
4389
|
styleCallback: db,
|
|
4382
4390
|
callbackProps: { ...t, rendererSymbol: h },
|
|
@@ -4469,7 +4477,7 @@ function xb(t) {
|
|
|
4469
4477
|
function Cb(t) {
|
|
4470
4478
|
const { chart: e, chartType: i, showMean: a } = t;
|
|
4471
4479
|
return e.series.values.filter(
|
|
4472
|
-
(n) => !
|
|
4480
|
+
(n) => !Bi(n) && !Do(n) && (i !== y.BoxPlotSeries || !a || a && he(n.uid, "isBoxPlotMeanLineSeries"))
|
|
4473
4481
|
).every((n) => he(n.uid, "isSelectionApplied") === !0);
|
|
4474
4482
|
}
|
|
4475
4483
|
function vb(t) {
|
|
@@ -4477,7 +4485,7 @@ function vb(t) {
|
|
|
4477
4485
|
}
|
|
4478
4486
|
function Lb(t) {
|
|
4479
4487
|
let e = [];
|
|
4480
|
-
if (!
|
|
4488
|
+
if (!Bi(t) && !Do(t))
|
|
4481
4489
|
switch (!0) {
|
|
4482
4490
|
case t instanceof bt:
|
|
4483
4491
|
e = t.slices.values;
|
|
@@ -4489,7 +4497,7 @@ function Lb(t) {
|
|
|
4489
4497
|
if (a) {
|
|
4490
4498
|
const o = E(a?.series);
|
|
4491
4499
|
let n = [];
|
|
4492
|
-
o === y.HistogramSeries ? n = [co.Count] : o === y.HeatSeries ? n = [Ne.valueField] : n =
|
|
4500
|
+
o === y.HistogramSeries ? n = [co.Count] : o === y.HeatSeries ? n = [Ne.valueField] : n = $i(a?.series, [t.get("id") ?? ""]), e = t.columns.values.filter((s) => {
|
|
4493
4501
|
let r = !1;
|
|
4494
4502
|
const l = s.dataItem?.dataContext;
|
|
4495
4503
|
return l && (r = n.some((c) => c in l && Number.isFinite(l[c]))), r;
|
|
@@ -4510,7 +4518,7 @@ function $u(t, e) {
|
|
|
4510
4518
|
});
|
|
4511
4519
|
}
|
|
4512
4520
|
function Fb(t, e) {
|
|
4513
|
-
const i = [], a = [], o = D(t.uid, "config"), n = D(t.uid, "queryObject"), s =
|
|
4521
|
+
const i = [], a = [], o = D(t.uid, "config"), n = D(t.uid, "queryObject"), s = Ii(o), r = $i(o?.series ?? []), l = Y(o?.series), c = E(o?.series);
|
|
4514
4522
|
return t.series.each((d, u) => {
|
|
4515
4523
|
if (o && d.get("visible") === !0 && d.get("id") !== A.overlayId.scatterplotTrendLine) {
|
|
4516
4524
|
const f = o.series[0].x, g = wo(d), h = e.get(u);
|
|
@@ -4520,7 +4528,7 @@ function Fb(t, e) {
|
|
|
4520
4528
|
const { indexesToSelect: p } = h;
|
|
4521
4529
|
b.forEach((S, x) => {
|
|
4522
4530
|
if (p === void 0 || p.includes(x)) {
|
|
4523
|
-
const C =
|
|
4531
|
+
const C = vi({
|
|
4524
4532
|
dataContext: S.dataItem?.dataContext,
|
|
4525
4533
|
yList: r,
|
|
4526
4534
|
yAxisField: g,
|
|
@@ -4528,7 +4536,7 @@ function Fb(t, e) {
|
|
|
4528
4536
|
chartType: c,
|
|
4529
4537
|
chartSubType: l,
|
|
4530
4538
|
showOutliers: s,
|
|
4531
|
-
isFeatureCollectionLayer:
|
|
4539
|
+
isFeatureCollectionLayer: bi(n)
|
|
4532
4540
|
});
|
|
4533
4541
|
C !== void 0 && i.push(C), a.push(S);
|
|
4534
4542
|
} else
|
|
@@ -4550,12 +4558,12 @@ function Ab(t) {
|
|
|
4550
4558
|
xAxisField: r,
|
|
4551
4559
|
yAxisField: l,
|
|
4552
4560
|
splitBy: c
|
|
4553
|
-
} = t, d = E(i.series), u = Y(i.series), f =
|
|
4561
|
+
} = t, d = E(i.series), u = Y(i.series), f = Ii(i), g = D(e.uid, "queryObject"), h = [], b = [], p = [], S = $i(i.series);
|
|
4554
4562
|
return o.forEach((x, C) => {
|
|
4555
4563
|
const v = x instanceof mo || x instanceof Ba ? x : x.bullets?.[0]?.get("sprite");
|
|
4556
4564
|
if (v !== void 0) {
|
|
4557
4565
|
let F = x instanceof mo || x instanceof Ba ? v.dataItem?.dataContext : x.dataContext;
|
|
4558
|
-
if (F !== void 0 && d === y.BoxPlotSeries && F[A.boxPlot.boxPlotOutlierId] !== !0 && (F =
|
|
4566
|
+
if (F !== void 0 && d === y.BoxPlotSeries && F[A.boxPlot.boxPlotOutlierId] !== !0 && (F = vi({
|
|
4559
4567
|
dataContext: F,
|
|
4560
4568
|
yAxisField: l,
|
|
4561
4569
|
yList: S,
|
|
@@ -4564,7 +4572,7 @@ function Ab(t) {
|
|
|
4564
4572
|
chartType: d,
|
|
4565
4573
|
chartSubType: u,
|
|
4566
4574
|
showOutliers: f,
|
|
4567
|
-
isFeatureCollectionLayer:
|
|
4575
|
+
isFeatureCollectionLayer: bi(g)
|
|
4568
4576
|
})), In({
|
|
4569
4577
|
elementDataContext: F,
|
|
4570
4578
|
options: a,
|
|
@@ -4581,7 +4589,7 @@ function Ab(t) {
|
|
|
4581
4589
|
p.push(F);
|
|
4582
4590
|
else {
|
|
4583
4591
|
const k = /* @__PURE__ */ new Set();
|
|
4584
|
-
d === y.PieSeries &&
|
|
4592
|
+
d === y.PieSeries && Ai(F) ? ($o({
|
|
4585
4593
|
groupOfSlicesDataContext: F
|
|
4586
4594
|
}) ?? []).forEach((w) => {
|
|
4587
4595
|
n.forEach((O) => {
|
|
@@ -4593,7 +4601,7 @@ function Ab(t) {
|
|
|
4593
4601
|
}) && k.add(w);
|
|
4594
4602
|
});
|
|
4595
4603
|
}) : k.add(F), Array.from(k)?.forEach(($) => {
|
|
4596
|
-
const w =
|
|
4604
|
+
const w = vi({
|
|
4597
4605
|
dataContext: $,
|
|
4598
4606
|
yAxisField: l,
|
|
4599
4607
|
yList: S,
|
|
@@ -4602,7 +4610,7 @@ function Ab(t) {
|
|
|
4602
4610
|
chartType: d,
|
|
4603
4611
|
chartSubType: u,
|
|
4604
4612
|
showOutliers: f,
|
|
4605
|
-
isFeatureCollectionLayer:
|
|
4613
|
+
isFeatureCollectionLayer: bi(g)
|
|
4606
4614
|
});
|
|
4607
4615
|
w !== void 0 && p.push(w);
|
|
4608
4616
|
});
|
|
@@ -4675,7 +4683,7 @@ function Tb(t) {
|
|
|
4675
4683
|
if (V.push(...W), x.series.length > 1 && F !== N.BarAndLineNoAggregation && F !== N.BarAndLineSplitByNoAggregation && (V = Bc({
|
|
4676
4684
|
data: V,
|
|
4677
4685
|
x: x.series[0].x,
|
|
4678
|
-
splitByField:
|
|
4686
|
+
splitByField: Ti(x.series[0].query?.where)
|
|
4679
4687
|
})), de(u.uid, { computedSelectionDataItems: V }), b === !0) {
|
|
4680
4688
|
const H = Array.from(new Set(P));
|
|
4681
4689
|
let z = D(
|
|
@@ -4705,7 +4713,7 @@ function Tb(t) {
|
|
|
4705
4713
|
const V = W instanceof mo || W instanceof Ba ? W : W.bullets?.[0]?.get("sprite");
|
|
4706
4714
|
V !== void 0 && ut({
|
|
4707
4715
|
element: V,
|
|
4708
|
-
selected:
|
|
4716
|
+
selected: Oi(V.uid, "selected") === !0 || P(V)
|
|
4709
4717
|
});
|
|
4710
4718
|
});
|
|
4711
4719
|
}
|
|
@@ -4746,7 +4754,7 @@ async function kb(t) {
|
|
|
4746
4754
|
options: i,
|
|
4747
4755
|
errorStrings: r
|
|
4748
4756
|
});
|
|
4749
|
-
u !== void 0 && i !== void 0 && (i.selectionData = { ...i?.selectionData, selectionItems: u }), e.series.values.filter((f) => !
|
|
4757
|
+
u !== void 0 && i !== void 0 && (i.selectionData = { ...i?.selectionData, selectionItems: u }), e.series.values.filter((f) => !Bi(f) && !Do(f)).forEach((f) => {
|
|
4750
4758
|
const { seriesConfig: g, seriesIndex: h } = Rn(f, n);
|
|
4751
4759
|
if (g) {
|
|
4752
4760
|
const b = g.x, p = g.type === y.BoxPlotSeries || g.type === y.HeatSeries ? g.y.toString() : wo(f), S = g.query?.where ?? "";
|
|
@@ -4762,7 +4770,7 @@ async function kb(t) {
|
|
|
4762
4770
|
async function br(t, e) {
|
|
4763
4771
|
const i = D(t.uid, "config"), a = D(t.uid, "queryObject");
|
|
4764
4772
|
if (i) {
|
|
4765
|
-
const o = D(t.uid, "options"), n = E(i.series), s = Y(i.series), r =
|
|
4773
|
+
const o = D(t.uid, "options"), n = E(i.series), s = Y(i.series), r = Ii(i), l = $i(i.series), c = i.series[0].x, d = Oa(a), u = pt(a), g = Vs(u).dateFieldsTimeZone, h = i.series[0].type === y.HeatSeries ? i.outTimeZone : void 0;
|
|
4766
4774
|
let b;
|
|
4767
4775
|
a !== void 0 && (b = (await It(a)).find((S) => S.name === c)?.type);
|
|
4768
4776
|
try {
|
|
@@ -4773,11 +4781,11 @@ async function br(t, e) {
|
|
|
4773
4781
|
let R;
|
|
4774
4782
|
T instanceof ge ? R = T.dataItems : T instanceof ze ? R = T.columns.values : T instanceof bt && (R = T.slices.values), R?.forEach((B, P) => {
|
|
4775
4783
|
const W = B instanceof mo || B instanceof Ba ? B : B.bullets?.[0]?.get("sprite");
|
|
4776
|
-
if (W !== void 0 &&
|
|
4784
|
+
if (W !== void 0 && Oi(W.uid, "selected") === !0) {
|
|
4777
4785
|
F += 1;
|
|
4778
4786
|
let V = B instanceof mo || B instanceof Ba ? B.dataItem?.dataContext : B.dataContext;
|
|
4779
4787
|
if (V !== void 0) {
|
|
4780
|
-
if (V =
|
|
4788
|
+
if (V = vi({
|
|
4781
4789
|
dataContext: V,
|
|
4782
4790
|
yAxisField: O,
|
|
4783
4791
|
yList: l,
|
|
@@ -4786,7 +4794,7 @@ async function br(t, e) {
|
|
|
4786
4794
|
chartType: n,
|
|
4787
4795
|
chartSubType: s,
|
|
4788
4796
|
showOutliers: r,
|
|
4789
|
-
isFeatureCollectionLayer:
|
|
4797
|
+
isFeatureCollectionLayer: bi(a)
|
|
4790
4798
|
}), p.has(JSON.stringify(V)) || (p.add(JSON.stringify(V)), S.push(V)), P !== void 0) {
|
|
4791
4799
|
const z = x.get(k)?.indexesToSelect ?? [];
|
|
4792
4800
|
z.push(P), x.set(k, {
|
|
@@ -4847,7 +4855,7 @@ async function br(t, e) {
|
|
|
4847
4855
|
}
|
|
4848
4856
|
} catch (p) {
|
|
4849
4857
|
de(t.uid, { pendingSelectionQueries: !1 });
|
|
4850
|
-
const { httpStatus: S } = p instanceof
|
|
4858
|
+
const { httpStatus: S } = p instanceof hi ? p.details.details : p.details ?? {};
|
|
4851
4859
|
if (S === 429)
|
|
4852
4860
|
xb(t);
|
|
4853
4861
|
else
|
|
@@ -4860,7 +4868,7 @@ function ja(t, e) {
|
|
|
4860
4868
|
const { y: i, query: a } = e, n = Y(t.series) === N.BarAndLineSplitByNoAggregation ? `${i.toString()}_${Zi({ where: a?.where, keepSurroundingQuotes: !1, escape: !1 })}` : [i].flat()[0], s = A.xAxisField, r = t.rotated === !0 ? "categoryYField" : "categoryXField", l = t.rotated === !0 ? "valueYField" : "valueXField", c = t.axes?.[0]?.valueFormat.type === y.CategoryAxisFormat ? r : l, d = t.rotated === !0 ? "valueXField" : "valueYField";
|
|
4861
4869
|
return { xField: s, yField: n, xAxisField: c, yAxisField: d };
|
|
4862
4870
|
}
|
|
4863
|
-
function
|
|
4871
|
+
function Mi(t) {
|
|
4864
4872
|
const {
|
|
4865
4873
|
chartConfig: e,
|
|
4866
4874
|
seriesWereReinitialized: i,
|
|
@@ -4932,7 +4940,7 @@ function Ib(t) {
|
|
|
4932
4940
|
seriesConfig: a
|
|
4933
4941
|
});
|
|
4934
4942
|
}
|
|
4935
|
-
function
|
|
4943
|
+
function Ni(t) {
|
|
4936
4944
|
const { series: e, styleCallback: i, callbackProps: a, seriesConfig: o } = t;
|
|
4937
4945
|
Du({
|
|
4938
4946
|
callbackInfo: { styleCallback: i, callbackProps: a, type: "style" },
|
|
@@ -5028,7 +5036,7 @@ function Sr(t) {
|
|
|
5028
5036
|
const r = Y(e.series);
|
|
5029
5037
|
let l = s.name;
|
|
5030
5038
|
if (r === N.BarAndLineSplitBy || r === N.BarAndLineSplitByNoAggregation) {
|
|
5031
|
-
const c =
|
|
5039
|
+
const c = Ti(s.query?.where);
|
|
5032
5040
|
l = Ws({
|
|
5033
5041
|
subtypeInfo: o,
|
|
5034
5042
|
fieldList: n,
|
|
@@ -5186,7 +5194,7 @@ function Pb(t) {
|
|
|
5186
5194
|
};
|
|
5187
5195
|
}
|
|
5188
5196
|
function Vb(t, e) {
|
|
5189
|
-
const i = { ...
|
|
5197
|
+
const i = { ...ni(e) }, a = [
|
|
5190
5198
|
"year",
|
|
5191
5199
|
"month",
|
|
5192
5200
|
"day",
|
|
@@ -5206,12 +5214,12 @@ function wl(t) {
|
|
|
5206
5214
|
isXAxis: !0,
|
|
5207
5215
|
chartType: a,
|
|
5208
5216
|
valueFormat: i
|
|
5209
|
-
}), n =
|
|
5217
|
+
}), n = ui(i) && e instanceof at, s = vt(i) && e instanceof De && !(e instanceof at), r = o && e instanceof xt;
|
|
5210
5218
|
return !n && !s && !r;
|
|
5211
5219
|
}
|
|
5212
5220
|
function Ru(t) {
|
|
5213
5221
|
const { dataContext: e, defaultValue: i, chartUID: a } = t;
|
|
5214
|
-
let o =
|
|
5222
|
+
let o = si(e);
|
|
5215
5223
|
const n = D(a, "config"), s = D(a, "rendererFieldNames"), r = E(n?.series), l = Y(n?.series);
|
|
5216
5224
|
if (r === y.BoxPlotSeries && (l === N.BoxPlotMonoField || l === N.BoxPlotMultiFields || l === N.BoxPlotMonoFieldAndSplitBy || l === N.BoxPlotMultiFieldsAndSplitBy))
|
|
5217
5225
|
o = e?.[Hs];
|
|
@@ -5219,18 +5227,18 @@ function Ru(t) {
|
|
|
5219
5227
|
o = e?.[co.Start];
|
|
5220
5228
|
else if (r === y.BarSeries && n !== void 0) {
|
|
5221
5229
|
const c = n.series?.[0]?.nullCategory;
|
|
5222
|
-
o = o === null && c?.text !== void 0 ? c.text :
|
|
5230
|
+
o = o === null && c?.text !== void 0 ? c.text : oi({
|
|
5223
5231
|
value: i ?? "",
|
|
5224
5232
|
dataContext: e,
|
|
5225
5233
|
useRendererLabel: lo(n, s)
|
|
5226
5234
|
});
|
|
5227
5235
|
} else
|
|
5228
|
-
o =
|
|
5236
|
+
o = oi({
|
|
5229
5237
|
value: i ?? "",
|
|
5230
5238
|
dataContext: e,
|
|
5231
5239
|
useRendererLabel: lo(n, s)
|
|
5232
5240
|
});
|
|
5233
|
-
return { labelValue: o, originalLabelValue:
|
|
5241
|
+
return { labelValue: o, originalLabelValue: si(e) };
|
|
5234
5242
|
}
|
|
5235
5243
|
function Wb(t, e) {
|
|
5236
5244
|
const { chart: i } = t;
|
|
@@ -5244,7 +5252,7 @@ function Wb(t, e) {
|
|
|
5244
5252
|
if (!Ft(s.uid, "isGuide") && l !== void 0) {
|
|
5245
5253
|
let d, u;
|
|
5246
5254
|
switch (!0) {
|
|
5247
|
-
case t instanceof
|
|
5255
|
+
case t instanceof at:
|
|
5248
5256
|
case t instanceof De:
|
|
5249
5257
|
d = s.dataItem?._settings?.value;
|
|
5250
5258
|
break;
|
|
@@ -5253,7 +5261,7 @@ function Wb(t, e) {
|
|
|
5253
5261
|
let f = n;
|
|
5254
5262
|
const g = s.dataItem?.dataContext, h = D(t.chart?.uid ?? Number.NaN, "config");
|
|
5255
5263
|
if (E(h?.series) === y.HeatSeries) {
|
|
5256
|
-
const x =
|
|
5264
|
+
const x = Li(t.get("renderer")) ? g?.[Ne.xField] : g?.[Ne.yField];
|
|
5257
5265
|
typeof x == "string" && (f = x);
|
|
5258
5266
|
}
|
|
5259
5267
|
const p = Ru({
|
|
@@ -5272,8 +5280,8 @@ function Wb(t, e) {
|
|
|
5272
5280
|
let r = n;
|
|
5273
5281
|
const l = D(i.uid, "config");
|
|
5274
5282
|
if (!Ft(s.uid, "isGuide") && l !== void 0) {
|
|
5275
|
-
const d = l.rotated ?? !1, u =
|
|
5276
|
-
type:
|
|
5283
|
+
const d = l.rotated ?? !1, u = Li(t.get("renderer"), d), f = l.axes?.[u ? 0 : 1], g = {
|
|
5284
|
+
type: Q.TS,
|
|
5277
5285
|
...f?.labels.content,
|
|
5278
5286
|
text: n
|
|
5279
5287
|
};
|
|
@@ -5288,10 +5296,10 @@ function Wb(t, e) {
|
|
|
5288
5296
|
}
|
|
5289
5297
|
function Eb(t) {
|
|
5290
5298
|
const { axis: e, isRotated: i, chartConfig: a } = t;
|
|
5291
|
-
if (e instanceof xt || e instanceof
|
|
5299
|
+
if (e instanceof xt || e instanceof at) {
|
|
5292
5300
|
const o = a.orderOptions?.data?.orderBy === vn.Descending;
|
|
5293
5301
|
let n = i === !0;
|
|
5294
|
-
o && e instanceof
|
|
5302
|
+
o && e instanceof at && (n = !n), e.get("renderer").set("inversed", n);
|
|
5295
5303
|
}
|
|
5296
5304
|
}
|
|
5297
5305
|
function Hb(t) {
|
|
@@ -5310,7 +5318,7 @@ function Hb(t) {
|
|
|
5310
5318
|
isXAxis: i,
|
|
5311
5319
|
chartType: a,
|
|
5312
5320
|
valueFormat: o
|
|
5313
|
-
}), u = e instanceof De && !(e instanceof
|
|
5321
|
+
}), u = e instanceof De && !(e instanceof at) && vt(o), f = e instanceof at && ui(o), g = e instanceof xt && d;
|
|
5314
5322
|
if (!(u || f || g))
|
|
5315
5323
|
Es("mismatchAxisAndValueFormat", l);
|
|
5316
5324
|
else {
|
|
@@ -5347,8 +5355,8 @@ function zb(t) {
|
|
|
5347
5355
|
}), p = h === void 0 || n || f !== void 0 && wl({ axis: h, valueFormat: f, chartType: l });
|
|
5348
5356
|
return r || s?.[0] || s?.[1] || b || p;
|
|
5349
5357
|
}
|
|
5350
|
-
function
|
|
5351
|
-
return t instanceof Dt && e !== !0 || t instanceof Ui && e === !0 || t instanceof
|
|
5358
|
+
function Li(t, e) {
|
|
5359
|
+
return t instanceof Dt && e !== !0 || t instanceof Ui && e === !0 || t instanceof mi;
|
|
5352
5360
|
}
|
|
5353
5361
|
function Bn(t) {
|
|
5354
5362
|
return t instanceof Dt;
|
|
@@ -5377,12 +5385,12 @@ function Bu(t) {
|
|
|
5377
5385
|
if (o !== void 0) {
|
|
5378
5386
|
const s = D(o.uid, "config"), r = D(o.uid, "isRotated");
|
|
5379
5387
|
if (s !== void 0) {
|
|
5380
|
-
const l =
|
|
5388
|
+
const l = Li(e.get("renderer"), r);
|
|
5381
5389
|
let c = 0;
|
|
5382
5390
|
l || (c = i === !0 ? 2 : 1);
|
|
5383
5391
|
const { isLogarithmic: d } = s.axes?.[c] ?? {};
|
|
5384
5392
|
if (d === !0) {
|
|
5385
|
-
const u = Ao({ chartConfig: s, isSecondValueAxis: i }), f = a !== void 0 && "dataItems" in a ?
|
|
5393
|
+
const u = Ao({ chartConfig: s, isSecondValueAxis: i }), f = a !== void 0 && "dataItems" in a ? Di(a) : void 0, { minY: g, maxY: h, minX: b, maxX: p } = hn({
|
|
5386
5394
|
chartConfig: s,
|
|
5387
5395
|
chartData: f ?? o.series.getIndex(0)?.data.values ?? [],
|
|
5388
5396
|
filteredSeriesIds: u
|
|
@@ -5395,7 +5403,7 @@ function Bu(t) {
|
|
|
5395
5403
|
}
|
|
5396
5404
|
function Yb(t) {
|
|
5397
5405
|
const { axis: e, isLogarithmic: i, isSecondValueAxis: a } = t;
|
|
5398
|
-
(e instanceof
|
|
5406
|
+
(e instanceof at || e instanceof De) && e.setAll({
|
|
5399
5407
|
logarithmic: i === !0 && Bu({ axis: e, isSecondValueAxis: a }),
|
|
5400
5408
|
// zero values could mess up log calculations
|
|
5401
5409
|
// https://www.amcharts.com/docs/v5/charts/xy-chart/axes/value-axis/#Avoiding_zero_values
|
|
@@ -5434,7 +5442,7 @@ function _b(t) {
|
|
|
5434
5442
|
}
|
|
5435
5443
|
function qb(t) {
|
|
5436
5444
|
const { axis: e, timeIntervalInfo: i, dateBaseInterval: a } = t;
|
|
5437
|
-
if (e instanceof
|
|
5445
|
+
if (e instanceof at) {
|
|
5438
5446
|
let { size: o, unit: n } = i ?? {};
|
|
5439
5447
|
if (n || ({ size: o, unit: n } = a ?? {}), o !== void 0 && n !== void 0) {
|
|
5440
5448
|
let s;
|
|
@@ -5467,11 +5475,11 @@ function qb(t) {
|
|
|
5467
5475
|
}
|
|
5468
5476
|
function jb(t, e) {
|
|
5469
5477
|
let { buffer: i } = e ?? {};
|
|
5470
|
-
return i ??= A.buffer, t instanceof De && !(t instanceof
|
|
5478
|
+
return i ??= A.buffer, t instanceof De && !(t instanceof at) && !i;
|
|
5471
5479
|
}
|
|
5472
5480
|
function Zb(t, e) {
|
|
5473
5481
|
let i = !1;
|
|
5474
|
-
return t instanceof De && !(t instanceof
|
|
5482
|
+
return t instanceof De && !(t instanceof at) && (i = jb(t, e), t.set("strictMinMax", i)), i;
|
|
5475
5483
|
}
|
|
5476
5484
|
function Ol(t, e) {
|
|
5477
5485
|
let i;
|
|
@@ -5490,7 +5498,7 @@ function Kb(t) {
|
|
|
5490
5498
|
if (l !== void 0) {
|
|
5491
5499
|
const c = D(l.uid, "config"), d = c?.rotated;
|
|
5492
5500
|
if (l instanceof ye && c !== void 0) {
|
|
5493
|
-
const u = E(c?.series), f = Et(c), g =
|
|
5501
|
+
const u = E(c?.series), f = Et(c), g = Li(e.get("renderer"), d), h = $b(l), b = Ao({ chartConfig: c, isSecondValueAxis: n, seriesIds: h }), p = Di(o), S = hn({
|
|
5494
5502
|
chartConfig: c,
|
|
5495
5503
|
// using either the provided data (at creation or after a data update) or the current series data
|
|
5496
5504
|
chartData: p ?? l.series.getIndex(0)?.data.values ?? [],
|
|
@@ -5504,7 +5512,7 @@ function Kb(t) {
|
|
|
5504
5512
|
}
|
|
5505
5513
|
function Qb(t) {
|
|
5506
5514
|
const { axis: e, axisConfig: i, minimumFromConfig: a, maximumFromConfig: o, isLogarithmic: n, chartType: s, data: r, isSecondValueAxis: l } = t;
|
|
5507
|
-
if (e instanceof De || e instanceof
|
|
5515
|
+
if (e instanceof De || e instanceof at)
|
|
5508
5516
|
if (Zb(e, i)) {
|
|
5509
5517
|
let d = Number.isNaN(a) ? void 0 : a, u = Number.isNaN(o) ? void 0 : o;
|
|
5510
5518
|
if (
|
|
@@ -5601,9 +5609,9 @@ function Rl(t, e) {
|
|
|
5601
5609
|
if (i) {
|
|
5602
5610
|
const a = D(i.uid, "isRotated"), o = D(i.uid, "config"), n = E(o?.series), s = [], r = (l, c) => {
|
|
5603
5611
|
if (l instanceof De) {
|
|
5604
|
-
const d = l.get("renderer") instanceof
|
|
5612
|
+
const d = l.get("renderer") instanceof mi;
|
|
5605
5613
|
s.push({
|
|
5606
|
-
isXAxis:
|
|
5614
|
+
isXAxis: Li(l.get("renderer"), a),
|
|
5607
5615
|
isSecondValueAxis: c === 1 && n !== y.HistogramSeries,
|
|
5608
5616
|
// histogram have 2 x-axes but it's not what we consider as "second value axis"
|
|
5609
5617
|
minimum: d ? l.get("min") : l.getPrivate("min"),
|
|
@@ -5646,7 +5654,7 @@ function iy(t) {
|
|
|
5646
5654
|
s.adapters.add("tooltipText", (c, d) => {
|
|
5647
5655
|
let u = c;
|
|
5648
5656
|
const { dataItem: f } = d;
|
|
5649
|
-
if (!(e.get("renderer") instanceof
|
|
5657
|
+
if (!(e.get("renderer") instanceof mi)) {
|
|
5650
5658
|
const g = qi(
|
|
5651
5659
|
e.uid,
|
|
5652
5660
|
"guideTooltipFormatter"
|
|
@@ -5654,7 +5662,7 @@ function iy(t) {
|
|
|
5654
5662
|
if (g !== void 0 && f instanceof fg) {
|
|
5655
5663
|
let h, b;
|
|
5656
5664
|
switch (!0) {
|
|
5657
|
-
case e instanceof
|
|
5665
|
+
case e instanceof at:
|
|
5658
5666
|
case e instanceof De:
|
|
5659
5667
|
h = f.get("value"), b = f.get("endValue");
|
|
5660
5668
|
break;
|
|
@@ -5679,7 +5687,7 @@ function iy(t) {
|
|
|
5679
5687
|
if (u && d) {
|
|
5680
5688
|
const f = D(u.uid, "config"), g = D(u.uid, "isRotated");
|
|
5681
5689
|
if (f) {
|
|
5682
|
-
const b = !
|
|
5690
|
+
const b = !Li(e.get("renderer"), g) ? 1 : 0, S = f?.axes?.[b]?.guides?.[a];
|
|
5683
5691
|
if (S) {
|
|
5684
5692
|
const { tooltipReverseColor: x } = S;
|
|
5685
5693
|
pu(d, x);
|
|
@@ -5695,9 +5703,9 @@ function ay(t, e) {
|
|
|
5695
5703
|
const { guideName: a, start: o, end: n } = i, { chart: s, root: r } = t;
|
|
5696
5704
|
let l = "";
|
|
5697
5705
|
if (s !== void 0) {
|
|
5698
|
-
const c = D(s.uid, "config"), d = D(s.uid, "isRotated"), f = !
|
|
5706
|
+
const c = D(s.uid, "config"), d = D(s.uid, "isRotated"), f = !Li(t.get("renderer"), d) ? 1 : 0, h = c?.axes?.[f]?.guides;
|
|
5699
5707
|
let b = o, p = n;
|
|
5700
|
-
if (t instanceof
|
|
5708
|
+
if (t instanceof at) {
|
|
5701
5709
|
let F;
|
|
5702
5710
|
if (s !== void 0) {
|
|
5703
5711
|
const T = D(t.chart?.uid ?? Number.NaN, "formatLocale");
|
|
@@ -5739,7 +5747,7 @@ function Nl(t) {
|
|
|
5739
5747
|
let n = e;
|
|
5740
5748
|
if (e != null)
|
|
5741
5749
|
switch (!0) {
|
|
5742
|
-
case i instanceof
|
|
5750
|
+
case i instanceof at:
|
|
5743
5751
|
n = e;
|
|
5744
5752
|
break;
|
|
5745
5753
|
case i instanceof xt:
|
|
@@ -5814,7 +5822,7 @@ function Pu(t, e) {
|
|
|
5814
5822
|
const { start: i, end: a } = e ?? {};
|
|
5815
5823
|
let o;
|
|
5816
5824
|
if (e !== void 0 && i !== void 0 && i !== null) {
|
|
5817
|
-
const n = t instanceof De ? t.get("min") : void 0, s = t instanceof De ? t.get("max") : void 0, r = Nl({ inputValue: i, axis: t, axisMin: n, axisMax: s }), l = e.style?.type ===
|
|
5825
|
+
const n = t instanceof De ? t.get("min") : void 0, s = t instanceof De ? t.get("max") : void 0, r = Nl({ inputValue: i, axis: t, axisMin: n, axisMax: s }), l = e.style?.type === Q.SFS && a !== null && a !== void 0 ? Nl({ inputValue: a, axis: t, axisMin: n, axisMax: s }) : r;
|
|
5818
5826
|
o = {
|
|
5819
5827
|
isValidGuide: r != null && (a === void 0 || l != null),
|
|
5820
5828
|
start: r,
|
|
@@ -5837,7 +5845,7 @@ function cy(t) {
|
|
|
5837
5845
|
if (r.isValidGuide) {
|
|
5838
5846
|
let l, c;
|
|
5839
5847
|
switch (!0) {
|
|
5840
|
-
case e instanceof
|
|
5848
|
+
case e instanceof at:
|
|
5841
5849
|
case e instanceof De:
|
|
5842
5850
|
l = "value", c = "endValue";
|
|
5843
5851
|
break;
|
|
@@ -5854,11 +5862,11 @@ function dy(t) {
|
|
|
5854
5862
|
if (i) {
|
|
5855
5863
|
const o = i.get("axisFill"), n = i.get("label");
|
|
5856
5864
|
if (a !== void 0) {
|
|
5857
|
-
bh(i.uid, { name: a.name }), Be(i, a.visible), cy({ axis: e, guide: i, guideConfig: a }), a.style.type ===
|
|
5865
|
+
bh(i.uid, { name: a.name }), Be(i, a.visible), cy({ axis: e, guide: i, guideConfig: a }), a.style.type === Q.SLS ? na({
|
|
5858
5866
|
element: o,
|
|
5859
|
-
fillSymbol: { type:
|
|
5867
|
+
fillSymbol: { type: Q.SFS, color: a.style?.color, outline: a.style },
|
|
5860
5868
|
visible: a.visible
|
|
5861
|
-
}) : a.style.type ===
|
|
5869
|
+
}) : a.style.type === Q.SFS && na({ element: o, fillSymbol: a.style, visible: a.visible }), Oh({ axis: e, guide: i, guideConfig: a, guideType: a.style.type }), i.get("axisFill")?.setAll({ layer: a.above ? A.zIndexes.guide : 0 });
|
|
5862
5870
|
const { chart: s } = e;
|
|
5863
5871
|
} else
|
|
5864
5872
|
o !== void 0 && o.set("disabled", !0), n !== void 0 && n.set("disabled", !0);
|
|
@@ -5910,7 +5918,7 @@ function gy(t, e) {
|
|
|
5910
5918
|
s.innerWidth()
|
|
5911
5919
|
));
|
|
5912
5920
|
});
|
|
5913
|
-
const n = t instanceof
|
|
5921
|
+
const n = t instanceof at ? t.width() / A.maxNumberOfXAxisLabelsInWrapModeForDateAxis : t.width() / A.maxNumberOfXAxisLabelsInWrapMode;
|
|
5914
5922
|
a = Math.max(o, n);
|
|
5915
5923
|
} else if (e === Ie.Hide) {
|
|
5916
5924
|
let o = Number.MIN_SAFE_INTEGER;
|
|
@@ -5933,7 +5941,7 @@ function hy(t) {
|
|
|
5933
5941
|
if (typeof n == "number" && Number.isFinite(n))
|
|
5934
5942
|
l = n;
|
|
5935
5943
|
else if (i !== y.RadarSeries)
|
|
5936
|
-
if (r instanceof
|
|
5944
|
+
if (r instanceof mi)
|
|
5937
5945
|
l = A.gauge.gaugeMinGridDistance;
|
|
5938
5946
|
else if (e instanceof De)
|
|
5939
5947
|
l = r instanceof Dt ? A.xAxisMinGridDistance : A.yAxisMinGridDistance;
|
|
@@ -6039,7 +6047,7 @@ function Sy(t) {
|
|
|
6039
6047
|
labelConfig: n,
|
|
6040
6048
|
chartType: s
|
|
6041
6049
|
} = t, r = e.get("renderer");
|
|
6042
|
-
if (!(r instanceof
|
|
6050
|
+
if (!(r instanceof mi))
|
|
6043
6051
|
if (Bn(r) && o?.[0] === !0)
|
|
6044
6052
|
switch (s === y.HistogramSeries && i === void 0 ? Ie.Hide : i) {
|
|
6045
6053
|
case Ie.Hide:
|
|
@@ -6066,7 +6074,7 @@ function xy(t) {
|
|
|
6066
6074
|
e.labels.template.setAll({ textType: "adjusted" }), e.labels.template.remove("radius");
|
|
6067
6075
|
break;
|
|
6068
6076
|
case sl.Radial:
|
|
6069
|
-
e.labels.template.setAll({ textType: "radial", radius: 35 }), a.content.verticalAlignment =
|
|
6077
|
+
e.labels.template.setAll({ textType: "radial", radius: 35 }), a.content.verticalAlignment = te.Middle;
|
|
6070
6078
|
break;
|
|
6071
6079
|
default:
|
|
6072
6080
|
e.labels.template.setAll({ textType: "circular" }), e.labels.template.remove("radius");
|
|
@@ -6081,7 +6089,7 @@ function Cy(t) {
|
|
|
6081
6089
|
axisLabelsBehaviorChanged: n,
|
|
6082
6090
|
chartType: s
|
|
6083
6091
|
} = t, r = { ...i }, l = e.get("renderer"), c = l?.get("opposite");
|
|
6084
|
-
Bn(l) ? (r.content.horizontalAlignment = re.Center, r.content.verticalAlignment = c ?
|
|
6092
|
+
Bn(l) ? (r.content.horizontalAlignment = re.Center, r.content.verticalAlignment = c ? te.Bottom : te.Top) : (r.content.horizontalAlignment = c ? re.Left : re.Right, r.content.verticalAlignment = te.Middle), l instanceof mi ? xy({ renderer: l, axisConfig: t.axisConfig, labelConfig: i }) : r.content.angle = r.content.angle ?? l.labels.template.get("rotation"), Pt({
|
|
6085
6093
|
label: l.labels.template,
|
|
6086
6094
|
labelConfig: r
|
|
6087
6095
|
}), Sy({
|
|
@@ -6097,9 +6105,9 @@ function vy(t) {
|
|
|
6097
6105
|
const { axis: e, isHorizontalAxis: i, label: a } = t, { chart: o } = e;
|
|
6098
6106
|
if (o) {
|
|
6099
6107
|
const n = i ? "width" : "height", s = i ? ae.XAxisTitle : ae.YAxisTitle;
|
|
6100
|
-
|
|
6108
|
+
Ci({ chart: o, label: a, labelType: s }), e.onPrivate(
|
|
6101
6109
|
n,
|
|
6102
|
-
Ve(() =>
|
|
6110
|
+
Ve(() => Ci({ chart: o, label: a, labelType: s }), A.debounceTime)
|
|
6103
6111
|
);
|
|
6104
6112
|
}
|
|
6105
6113
|
}
|
|
@@ -6251,7 +6259,7 @@ function wy(t, e) {
|
|
|
6251
6259
|
}
|
|
6252
6260
|
async function Oy(t) {
|
|
6253
6261
|
const { chart: e, chartConfig: i, data: a, queryObject: o, xAxisLabelFormatter: n, utilsStrings: s, errorStrings: r } = t, { axes: l, series: c } = i, d = Gs(i), { featureIndex: u, x: f } = c[0], g = l?.[0], h = e.xAxes.getIndex(0), b = { ...g };
|
|
6254
|
-
if (h instanceof De && h.get("renderer") instanceof
|
|
6262
|
+
if (h instanceof De && h.get("renderer") instanceof mi && b !== void 0 && a && "dataItems" in a) {
|
|
6255
6263
|
const { valueFormat: p, needle: S } = b;
|
|
6256
6264
|
Dy(e, i), wy(e, i);
|
|
6257
6265
|
const x = await Hu({
|
|
@@ -6298,7 +6306,7 @@ function Ry(t) {
|
|
|
6298
6306
|
De.new(o, {
|
|
6299
6307
|
min: 0,
|
|
6300
6308
|
max: 100,
|
|
6301
|
-
renderer:
|
|
6309
|
+
renderer: mi.new(o, {})
|
|
6302
6310
|
})
|
|
6303
6311
|
);
|
|
6304
6312
|
Iy(n), Nu(n);
|
|
@@ -6380,14 +6388,14 @@ function Cs(t, e) {
|
|
|
6380
6388
|
const i = D(t.chart?.uid ?? Number.NaN, "config"), a = qt(i) ? 1 : 0, o = i?.axes?.[a]?.title?.content?.verticalAlignment, n = ey(t);
|
|
6381
6389
|
let s = n;
|
|
6382
6390
|
switch (o) {
|
|
6383
|
-
case
|
|
6384
|
-
case
|
|
6391
|
+
case te.Baseline:
|
|
6392
|
+
case te.Middle:
|
|
6385
6393
|
s = n / 2;
|
|
6386
6394
|
break;
|
|
6387
|
-
case
|
|
6395
|
+
case te.Bottom:
|
|
6388
6396
|
s = Math.min(n, 0);
|
|
6389
6397
|
break;
|
|
6390
|
-
case
|
|
6398
|
+
case te.Top:
|
|
6391
6399
|
}
|
|
6392
6400
|
e?.set("dy", s);
|
|
6393
6401
|
}
|
|
@@ -6395,7 +6403,7 @@ function Ny(t) {
|
|
|
6395
6403
|
t instanceof De && (t.onPrivate("min", Rl), t.onPrivate("max", Rl));
|
|
6396
6404
|
}
|
|
6397
6405
|
function Py(t) {
|
|
6398
|
-
const { axis: e, isHorizontalAxis: i, isSecondValueAxis: a } = t, { root: o } = e, n = i ? { ...A.xAxisTitleLabel, verticalCenter:
|
|
6406
|
+
const { axis: e, isHorizontalAxis: i, isSecondValueAxis: a } = t, { root: o } = e, n = i ? { ...A.xAxisTitleLabel, verticalCenter: te.Top } : A.yAxisTitleLabel, s = po({ root: o, id: zu(e, i), defaults: n });
|
|
6399
6407
|
return e.get("renderer") instanceof Ui && a !== !0 || e.get("renderer") instanceof Dt && a === !0 ? e.children.unshift(s) : e.children.push(s), i && a !== !0 && (e.events.on(
|
|
6400
6408
|
se.BoundsChanged,
|
|
6401
6409
|
Ve(() => {
|
|
@@ -6438,8 +6446,8 @@ function Gi(t) {
|
|
|
6438
6446
|
break;
|
|
6439
6447
|
}
|
|
6440
6448
|
u && (d = i.push(xt.new(e, { categoryField: u, renderer: n })));
|
|
6441
|
-
} else if (
|
|
6442
|
-
d = i.push(
|
|
6449
|
+
} else if (ui(o))
|
|
6450
|
+
d = i.push(at.new(e, { strictMinMax: !0, baseInterval: { timeUnit: "day", count: 1 }, renderer: n }));
|
|
6443
6451
|
else if (vt(o) && (d = i.push(De.new(e, { strictMinMax: !0, renderer: n })), s && d instanceof De)) {
|
|
6444
6452
|
const u = i.getIndex(0);
|
|
6445
6453
|
u instanceof De && d.set("syncWithAxis", u);
|
|
@@ -6460,7 +6468,7 @@ function Gi(t) {
|
|
|
6460
6468
|
function Vy(t) {
|
|
6461
6469
|
const { axis: e, data: i, chartType: a } = t;
|
|
6462
6470
|
if (i !== void 0) {
|
|
6463
|
-
const o =
|
|
6471
|
+
const o = Di(i);
|
|
6464
6472
|
if (a !== y.HeatSeries)
|
|
6465
6473
|
e.data.setAll(o ?? []);
|
|
6466
6474
|
else {
|
|
@@ -6476,15 +6484,15 @@ function Vy(t) {
|
|
|
6476
6484
|
}
|
|
6477
6485
|
function Wy(t) {
|
|
6478
6486
|
const { axis: e, axisTitleConfig: i, isSecondValueAxis: a } = t, o = e.get("renderer"), { chart: n } = e, s = Bn(o), r = ve({ childId: zu(e, s), parent: e, useChildId: !0 }) ?? Py({ axis: e, isHorizontalAxis: s, isSecondValueAxis: a });
|
|
6479
|
-
if (r instanceof
|
|
6480
|
-
const l = s ? { ...A.xAxisTitleLabel, verticalCenter:
|
|
6487
|
+
if (r instanceof Si) {
|
|
6488
|
+
const l = s ? { ...A.xAxisTitleLabel, verticalCenter: te.Top } : A.yAxisTitleLabel;
|
|
6481
6489
|
if (Pt({ label: r, labelConfig: i, defaults: l }), s && a !== !0 && Cs(e, r), n) {
|
|
6482
6490
|
const c = {
|
|
6483
6491
|
chart: n,
|
|
6484
6492
|
label: r,
|
|
6485
6493
|
labelType: s ? ae.XAxisTitle : ae.YAxisTitle
|
|
6486
6494
|
};
|
|
6487
|
-
|
|
6495
|
+
Ci(c);
|
|
6488
6496
|
}
|
|
6489
6497
|
}
|
|
6490
6498
|
}
|
|
@@ -6523,7 +6531,7 @@ function Lr(t) {
|
|
|
6523
6531
|
zeroGridLine: { displayZeroLine: k, strokeWidth: F?.width ?? A.lineWidth, visible: F !== void 0 }
|
|
6524
6532
|
}), Yb({ axis: e, isLogarithmic: v, isSecondValueAxis: d }), Hb({
|
|
6525
6533
|
axis: e,
|
|
6526
|
-
isXAxis:
|
|
6534
|
+
isXAxis: Li(e.get("renderer"), V),
|
|
6527
6535
|
chartType: P,
|
|
6528
6536
|
formatOptions: $,
|
|
6529
6537
|
isNonAggregatedChart: c,
|
|
@@ -6592,7 +6600,7 @@ function Hy(t) {
|
|
|
6592
6600
|
...c,
|
|
6593
6601
|
axes: e.xAxes,
|
|
6594
6602
|
valueFormat: r.valueFormat,
|
|
6595
|
-
axisRenderer:
|
|
6603
|
+
axisRenderer: mi.new(s, {}),
|
|
6596
6604
|
isXAxis: !0,
|
|
6597
6605
|
x: o
|
|
6598
6606
|
}), Gi({
|
|
@@ -6736,7 +6744,7 @@ function _u(t, e) {
|
|
|
6736
6744
|
}
|
|
6737
6745
|
function Xy(t, e) {
|
|
6738
6746
|
const i = A.cursorCrosshair.style, a = {
|
|
6739
|
-
type:
|
|
6747
|
+
type: Q.SLS,
|
|
6740
6748
|
style: e?.style ?? i.style,
|
|
6741
6749
|
color: e?.color ?? i.color,
|
|
6742
6750
|
width: e?.width ?? i.width
|
|
@@ -6774,7 +6782,7 @@ function Yy(t) {
|
|
|
6774
6782
|
break;
|
|
6775
6783
|
case o instanceof ge:
|
|
6776
6784
|
const n = he(o.uid, "bulletTemplate");
|
|
6777
|
-
n !== void 0 && !
|
|
6785
|
+
n !== void 0 && !Bi(o) && n.set("cursorOverStyle", a);
|
|
6778
6786
|
break;
|
|
6779
6787
|
case o instanceof bt:
|
|
6780
6788
|
o.slices.template.setAll({ cursorOverStyle: a });
|
|
@@ -6783,7 +6791,7 @@ function Yy(t) {
|
|
|
6783
6791
|
});
|
|
6784
6792
|
}
|
|
6785
6793
|
function Uy(t) {
|
|
6786
|
-
const { chart: e, actionMode: i, cursorRange: a } = t, o = D(e.uid, "isRotated"), n = D(e.uid, "config"), s = E(n?.series), r = s === y.ScatterSeries, l = (s === y.LineSeries || s === y.RadarSeries) && vt(n?.axes?.[0]?.valueFormat), c = (s === y.LineSeries || s === y.RadarSeries) && ko(n?.axes?.[0]?.valueFormat), d = (s === y.LineSeries || s === y.RadarSeries) &&
|
|
6794
|
+
const { chart: e, actionMode: i, cursorRange: a } = t, o = D(e.uid, "isRotated"), n = D(e.uid, "config"), s = E(n?.series), r = s === y.ScatterSeries, l = (s === y.LineSeries || s === y.RadarSeries) && vt(n?.axes?.[0]?.valueFormat), c = (s === y.LineSeries || s === y.RadarSeries) && ko(n?.axes?.[0]?.valueFormat), d = (s === y.LineSeries || s === y.RadarSeries) && ui(n?.axes?.[0]?.valueFormat);
|
|
6787
6795
|
let u, f = !1;
|
|
6788
6796
|
const g = i ?? D(e.uid, "actionMode") ?? A.actionMode;
|
|
6789
6797
|
if (D(e.uid, "filterBySelection") === !0)
|
|
@@ -6860,7 +6868,7 @@ function Zu(t, e) {
|
|
|
6860
6868
|
label: s,
|
|
6861
6869
|
labelConfig: i,
|
|
6862
6870
|
defaults: A.titleLabel
|
|
6863
|
-
}),
|
|
6871
|
+
}), Ci({
|
|
6864
6872
|
chart: t,
|
|
6865
6873
|
label: s,
|
|
6866
6874
|
labelType: ae.ChartTitle
|
|
@@ -6873,7 +6881,7 @@ function Zu(t, e) {
|
|
|
6873
6881
|
label: s,
|
|
6874
6882
|
labelConfig: a,
|
|
6875
6883
|
defaults: A.subtitleLabel
|
|
6876
|
-
}),
|
|
6884
|
+
}), Ci({
|
|
6877
6885
|
chart: t,
|
|
6878
6886
|
label: s,
|
|
6879
6887
|
labelType: ae.ChartSubTitle
|
|
@@ -6908,7 +6916,7 @@ function Ku(t, e) {
|
|
|
6908
6916
|
label: a,
|
|
6909
6917
|
labelConfig: e,
|
|
6910
6918
|
defaults: A.footer
|
|
6911
|
-
}),
|
|
6919
|
+
}), Ci({
|
|
6912
6920
|
chart: t,
|
|
6913
6921
|
label: a,
|
|
6914
6922
|
labelType: ae.ChartFooter
|
|
@@ -6936,7 +6944,7 @@ function Zy(t) {
|
|
|
6936
6944
|
return i.children.push(n), n;
|
|
6937
6945
|
}
|
|
6938
6946
|
function Ky(t) {
|
|
6939
|
-
const { root: e, parent: i, spinnerColor: a } = t, o = le(a ?? A.loaderSpinnerColor), n =
|
|
6947
|
+
const { root: e, parent: i, spinnerColor: a } = t, o = le(a ?? A.loaderSpinnerColor), n = fi.new(e, {
|
|
6940
6948
|
id: Xt(Zd, i.uid),
|
|
6941
6949
|
centerX: Te,
|
|
6942
6950
|
centerY: Te,
|
|
@@ -7101,8 +7109,8 @@ function lS(t) {
|
|
|
7101
7109
|
jt(h.columns.template, s?.selectionTheme);
|
|
7102
7110
|
const b = Ya.new({});
|
|
7103
7111
|
return We(h.uid, { bulletTemplate: b }), Zt(h.columns.template, h), h.bullets.push((p) => {
|
|
7104
|
-
const S =
|
|
7105
|
-
return
|
|
7112
|
+
const S = fi.new(p, {}, b);
|
|
7113
|
+
return wi.new(p, {
|
|
7106
7114
|
sprite: S
|
|
7107
7115
|
});
|
|
7108
7116
|
}), h.columns.template.set("width", gt(100)), xr(h), uu(h, s?.tooltipFormatter), au(h), Ka(h, i), h.appear(), h;
|
|
@@ -7124,7 +7132,7 @@ function cS(t) {
|
|
|
7124
7132
|
seriesIndex: a,
|
|
7125
7133
|
colorMatch: s,
|
|
7126
7134
|
seriesSymbol: g ?? p,
|
|
7127
|
-
element:
|
|
7135
|
+
element: fi.new(l, {}),
|
|
7128
7136
|
isChartFillSymbol: !0
|
|
7129
7137
|
}) : e.columns.each((S) => {
|
|
7130
7138
|
const x = S.dataItem?.dataContext;
|
|
@@ -7274,7 +7282,7 @@ function fS(t) {
|
|
|
7274
7282
|
seriesIndex: n,
|
|
7275
7283
|
tooltipFormatter: o?.tooltipFormatter,
|
|
7276
7284
|
utilsStrings: d
|
|
7277
|
-
}),
|
|
7285
|
+
}), Mi(t) && Ni({
|
|
7278
7286
|
// TODO: Remove the type assertion and correct the typings
|
|
7279
7287
|
styleCallback: dS,
|
|
7280
7288
|
callbackProps: t,
|
|
@@ -7298,22 +7306,22 @@ function mS(t) {
|
|
|
7298
7306
|
}, f = Mn({
|
|
7299
7307
|
chartConfig: e,
|
|
7300
7308
|
seriesConfig: i,
|
|
7301
|
-
key:
|
|
7309
|
+
key: ee.ThirdQuartile
|
|
7302
7310
|
});
|
|
7303
7311
|
return {
|
|
7304
7312
|
properties: {
|
|
7305
7313
|
...f.properties,
|
|
7306
7314
|
low: pe({
|
|
7307
7315
|
...u,
|
|
7308
|
-
key:
|
|
7316
|
+
key: ee.Min
|
|
7309
7317
|
}),
|
|
7310
7318
|
open: pe({
|
|
7311
7319
|
...u,
|
|
7312
|
-
key:
|
|
7320
|
+
key: ee.FirstQuartile
|
|
7313
7321
|
}),
|
|
7314
7322
|
high: pe({
|
|
7315
7323
|
...u,
|
|
7316
|
-
key:
|
|
7324
|
+
key: ee.Max
|
|
7317
7325
|
})
|
|
7318
7326
|
},
|
|
7319
7327
|
dataFields: {
|
|
@@ -7351,7 +7359,7 @@ function hS(t) {
|
|
|
7351
7359
|
e.columns.length === 0 ? d = mt({
|
|
7352
7360
|
...u,
|
|
7353
7361
|
seriesSymbol: c,
|
|
7354
|
-
element:
|
|
7362
|
+
element: fi.new(l, {})
|
|
7355
7363
|
}) : e.columns.each((f) => {
|
|
7356
7364
|
d = mt({
|
|
7357
7365
|
...u,
|
|
@@ -7374,7 +7382,7 @@ function hS(t) {
|
|
|
7374
7382
|
}
|
|
7375
7383
|
function pS(t) {
|
|
7376
7384
|
const { candleStickSeries: e, seriesConfig: i } = t;
|
|
7377
|
-
Za(e, i.name), gS(t),
|
|
7385
|
+
Za(e, i.name), gS(t), Mi(t) && Ni({
|
|
7378
7386
|
// TODO: Remove the type assertion and correct the typings
|
|
7379
7387
|
styleCallback: hS,
|
|
7380
7388
|
callbackProps: t,
|
|
@@ -7404,14 +7412,14 @@ function yS(t) {
|
|
|
7404
7412
|
const { chartConfig: e, seriesConfig: i } = t, a = Y(e.series), { showOutliers: o, standardizeValues: n } = e, { y: s } = i, r = i?.query?.where, l = Xs(e), c = Mn({
|
|
7405
7413
|
chartConfig: l,
|
|
7406
7414
|
seriesConfig: i,
|
|
7407
|
-
key:
|
|
7415
|
+
key: ee.Average
|
|
7408
7416
|
}), d = pe({
|
|
7409
7417
|
y: a === N.BoxPlotMultiFieldsAndCategory && typeof s == "string" ? s : void 0,
|
|
7410
7418
|
chartSubType: a,
|
|
7411
7419
|
splitBy: r,
|
|
7412
7420
|
showOutliers: o,
|
|
7413
7421
|
standardizeValues: uo(a) ? n : !1,
|
|
7414
|
-
key:
|
|
7422
|
+
key: ee.Average
|
|
7415
7423
|
});
|
|
7416
7424
|
return c.properties.value = d, c;
|
|
7417
7425
|
}
|
|
@@ -7444,14 +7452,14 @@ function CS(t) {
|
|
|
7444
7452
|
}), l.appear();
|
|
7445
7453
|
const d = Ya.new({});
|
|
7446
7454
|
We(l.uid, { bulletTemplate: d }), l.bullets.push((u) => {
|
|
7447
|
-
const f =
|
|
7455
|
+
const f = fi.new(
|
|
7448
7456
|
u,
|
|
7449
7457
|
{
|
|
7450
7458
|
focusable: !0
|
|
7451
7459
|
// necessary for accessibility on bullets
|
|
7452
7460
|
},
|
|
7453
7461
|
d
|
|
7454
|
-
), g =
|
|
7462
|
+
), g = wi.new(u, {
|
|
7455
7463
|
sprite: f
|
|
7456
7464
|
});
|
|
7457
7465
|
return jt(f, s?.selectionTheme), l && Zt(f, l), g;
|
|
@@ -7467,7 +7475,7 @@ function LS(t) {
|
|
|
7467
7475
|
return Mn({
|
|
7468
7476
|
chartConfig: e,
|
|
7469
7477
|
seriesConfig: i,
|
|
7470
|
-
key:
|
|
7478
|
+
key: ee.Outlier
|
|
7471
7479
|
});
|
|
7472
7480
|
}
|
|
7473
7481
|
function FS(t) {
|
|
@@ -7481,8 +7489,8 @@ function TS(t) {
|
|
|
7481
7489
|
const { outlierSeries: e, chartSubType: i, seriesConfig: a, colorMatch: o, showOutliers: n } = t;
|
|
7482
7490
|
if (he(e.uid, "bulletTemplate") && a.type === y.BoxPlotSeries) {
|
|
7483
7491
|
const l = a.fillSymbol, c = {
|
|
7484
|
-
type:
|
|
7485
|
-
style:
|
|
7492
|
+
type: Q.SMS,
|
|
7493
|
+
style: Jt.Circle,
|
|
7486
7494
|
color: l?.color,
|
|
7487
7495
|
size: A.boxPlot.boxPlotOutliersSize
|
|
7488
7496
|
};
|
|
@@ -7517,7 +7525,7 @@ function kS(t) {
|
|
|
7517
7525
|
sortChanged: o,
|
|
7518
7526
|
dataWasUpdated: n,
|
|
7519
7527
|
seriesWereReinitialized: r
|
|
7520
|
-
}),
|
|
7528
|
+
}), Mi(t) && Ni({
|
|
7521
7529
|
// TODO: Remove the type assertion and correct the typings
|
|
7522
7530
|
styleCallback: TS,
|
|
7523
7531
|
callbackProps: t,
|
|
@@ -7539,14 +7547,14 @@ function IS(t) {
|
|
|
7539
7547
|
}), l.strokes.template.set("forceHidden", !0);
|
|
7540
7548
|
const d = Ya.new({});
|
|
7541
7549
|
We(l.uid, { bulletTemplate: d }), l.bullets.push((u) => {
|
|
7542
|
-
const f =
|
|
7550
|
+
const f = fi.new(
|
|
7543
7551
|
u,
|
|
7544
7552
|
{
|
|
7545
7553
|
focusable: !0
|
|
7546
7554
|
// necessary for accessibility on bullets
|
|
7547
7555
|
},
|
|
7548
7556
|
d
|
|
7549
|
-
), g =
|
|
7557
|
+
), g = wi.new(u, {
|
|
7550
7558
|
sprite: f
|
|
7551
7559
|
});
|
|
7552
7560
|
return jt(f, s?.selectionTheme), l && Zt(f, l), BS({ outlierSeries: l, bullet: g, seriesConfigId: r.id }), g;
|
|
@@ -7565,13 +7573,13 @@ function $S(t) {
|
|
|
7565
7573
|
let o = "";
|
|
7566
7574
|
switch (a) {
|
|
7567
7575
|
case me.Top:
|
|
7568
|
-
o =
|
|
7576
|
+
o = ee.Max;
|
|
7569
7577
|
break;
|
|
7570
7578
|
case me.Median:
|
|
7571
|
-
o =
|
|
7579
|
+
o = ee.Median;
|
|
7572
7580
|
break;
|
|
7573
7581
|
case me.Bottom:
|
|
7574
|
-
o =
|
|
7582
|
+
o = ee.Min;
|
|
7575
7583
|
break;
|
|
7576
7584
|
}
|
|
7577
7585
|
return Mn({
|
|
@@ -7593,7 +7601,7 @@ function wS(t) {
|
|
|
7593
7601
|
chartSubType: s,
|
|
7594
7602
|
rendererType: r
|
|
7595
7603
|
}), d = (a.fillSymbol ?? Ys(o)).color, u = {
|
|
7596
|
-
type:
|
|
7604
|
+
type: Q.SLS,
|
|
7597
7605
|
width: A.boxPlot.boxPlotLineWidth,
|
|
7598
7606
|
color: c ? A.boxPlot.boxPlotWhiskersColor : d
|
|
7599
7607
|
};
|
|
@@ -7608,7 +7616,7 @@ function wS(t) {
|
|
|
7608
7616
|
}
|
|
7609
7617
|
function OS(t) {
|
|
7610
7618
|
const { stepLineSeries: e, data: i, seriesConfig: a, rotationChanged: o, sortChanged: n, dataWasUpdated: s, seriesWereReinitialized: r } = t, l = a.visible !== !1;
|
|
7611
|
-
e !== void 0 && a.type === y.BoxPlotSeries && (Be(e, l),
|
|
7619
|
+
e !== void 0 && a.type === y.BoxPlotSeries && (Be(e, l), Mi(t) && Ni({
|
|
7612
7620
|
// TODO: Remove the type assertion and correct the typings
|
|
7613
7621
|
styleCallback: wS,
|
|
7614
7622
|
callbackProps: t,
|
|
@@ -7838,8 +7846,8 @@ function WS(t) {
|
|
|
7838
7846
|
function ES(t) {
|
|
7839
7847
|
const { series: e, externalDataLabelFormatter: i } = t;
|
|
7840
7848
|
e.bullets.push(() => {
|
|
7841
|
-
const o = D(e.chart?.uid ?? Number.NaN, "config")?.series?.[0]?.dataLabels ?? t.dataLabelsConfig, n =
|
|
7842
|
-
sprite:
|
|
7849
|
+
const o = D(e.chart?.uid ?? Number.NaN, "config")?.series?.[0]?.dataLabels ?? t.dataLabelsConfig, n = wi.new(e.root, {
|
|
7850
|
+
sprite: Si.new(e.root, {
|
|
7843
7851
|
text: "{value}",
|
|
7844
7852
|
populateText: !0,
|
|
7845
7853
|
centerY: ke,
|
|
@@ -7910,7 +7918,7 @@ function XS(t) {
|
|
|
7910
7918
|
dataField: "value",
|
|
7911
7919
|
key: "fill",
|
|
7912
7920
|
customFunction: (x, C, v, F) => {
|
|
7913
|
-
if (x instanceof
|
|
7921
|
+
if (x instanceof fi) {
|
|
7914
7922
|
let T, k;
|
|
7915
7923
|
Number.isFinite(F) ? typeof d == "number" && F < d ? { color: T, opacity: k } = p : typeof u == "number" && F > u ? { color: T, opacity: k } = S : (T = mg.interpolate((F - C) / (v - C), f, h, "rgb"), k = g + (F - C) / (v - C) * (b - g)) : na({ element: x, fillSymbol: n }), T && x.set("fill", T), k !== void 0 && x.set("fillOpacity", k);
|
|
7916
7924
|
}
|
|
@@ -8119,7 +8127,7 @@ function QS(t) {
|
|
|
8119
8127
|
g.appear();
|
|
8120
8128
|
const h = Ya.new({});
|
|
8121
8129
|
return We(g.uid, { bulletTemplate: h }), g.bullets.push((b) => {
|
|
8122
|
-
const p =
|
|
8130
|
+
const p = fi.new(
|
|
8123
8131
|
b,
|
|
8124
8132
|
{
|
|
8125
8133
|
focusable: !0,
|
|
@@ -8135,7 +8143,7 @@ function QS(t) {
|
|
|
8135
8143
|
},
|
|
8136
8144
|
h
|
|
8137
8145
|
);
|
|
8138
|
-
return jt(p, s?.selectionTheme), Zt(p, g), wu(p, g),
|
|
8146
|
+
return jt(p, s?.selectionTheme), Zt(p, g), wu(p, g), wi.new(b, { sprite: p });
|
|
8139
8147
|
}), xr(g), Ka(g, i), g;
|
|
8140
8148
|
}
|
|
8141
8149
|
function JS(t) {
|
|
@@ -8235,7 +8243,7 @@ function ix(t) {
|
|
|
8235
8243
|
seriesIndex: n,
|
|
8236
8244
|
tooltipFormatter: o?.tooltipFormatter,
|
|
8237
8245
|
utilsStrings: d
|
|
8238
|
-
}),
|
|
8246
|
+
}), Mi(t) && Ni({
|
|
8239
8247
|
// TODO: Remove the type assertion and correct the typings
|
|
8240
8248
|
styleCallback: ex,
|
|
8241
8249
|
callbackProps: t,
|
|
@@ -8408,7 +8416,7 @@ function Xl(t, e) {
|
|
|
8408
8416
|
isPieFromFields: s
|
|
8409
8417
|
});
|
|
8410
8418
|
b[A.pieChart.technicalFieldSliceId] = S;
|
|
8411
|
-
const x = an(r.slices, S), C =
|
|
8419
|
+
const x = an(r.slices, S), C = Ai(b), v = lx({
|
|
8412
8420
|
root: i,
|
|
8413
8421
|
dataContext: b,
|
|
8414
8422
|
seriesConfig: r,
|
|
@@ -8450,7 +8458,7 @@ async function lf(t) {
|
|
|
8450
8458
|
seriesConfig: c,
|
|
8451
8459
|
fieldList: p,
|
|
8452
8460
|
labelUpdateNeeded: r,
|
|
8453
|
-
colorMatch:
|
|
8461
|
+
colorMatch: ki(o),
|
|
8454
8462
|
utilsStrings: l
|
|
8455
8463
|
}, { slices: x, groupOfSlicesSymbols: C, groupOfSlices: v } = Xl(
|
|
8456
8464
|
i,
|
|
@@ -8504,7 +8512,7 @@ function ux(t) {
|
|
|
8504
8512
|
seriesWereReinitialized: s,
|
|
8505
8513
|
loaderHandle: r,
|
|
8506
8514
|
labelUpdateNeeded: l
|
|
8507
|
-
} = t, { x: c, y: d } = a, u = Y([a]), f = u === N.PieFromFields ?
|
|
8515
|
+
} = t, { x: c, y: d } = a, u = Y([a]), f = u === N.PieFromFields ? ii : c;
|
|
8508
8516
|
if (i && (o === !0 || s === !0 || n === !0))
|
|
8509
8517
|
e.setAll({
|
|
8510
8518
|
categoryField: f,
|
|
@@ -8535,7 +8543,7 @@ function gx(t) {
|
|
|
8535
8543
|
const { root: e, seriesConfig: i, options: a, chart: o } = t, { id: n, name: s, x: r, y: l } = i, c = Y([i]), d = bt.new(e, {
|
|
8536
8544
|
id: n,
|
|
8537
8545
|
name: s,
|
|
8538
|
-
categoryField: c === N.PieFromFields ?
|
|
8546
|
+
categoryField: c === N.PieFromFields ? ii : r,
|
|
8539
8547
|
valueField: c === N.PieFromFields ? Ta : l
|
|
8540
8548
|
});
|
|
8541
8549
|
return nx(d, a?.dataLabelFormatter), mu(d, a?.tooltipFormatter), d.slices.template.states.create("hover", {
|
|
@@ -8567,7 +8575,7 @@ function hx(t) {
|
|
|
8567
8575
|
data: s,
|
|
8568
8576
|
loaderHandle: l,
|
|
8569
8577
|
labelUpdateNeeded: c
|
|
8570
|
-
}),
|
|
8578
|
+
}), Mi(t) && Ni({
|
|
8571
8579
|
// TODO: Remove the type assertion and correct the typings
|
|
8572
8580
|
styleCallback: dx,
|
|
8573
8581
|
callbackProps: t,
|
|
@@ -8673,7 +8681,7 @@ function yx(t) {
|
|
|
8673
8681
|
g.appear();
|
|
8674
8682
|
const h = Ya.new({});
|
|
8675
8683
|
return We(g.uid, { bulletTemplate: h }), g.bullets.push((b) => {
|
|
8676
|
-
const p =
|
|
8684
|
+
const p = fi.new(
|
|
8677
8685
|
b,
|
|
8678
8686
|
{
|
|
8679
8687
|
tooltip: gr({
|
|
@@ -8684,7 +8692,7 @@ function yx(t) {
|
|
|
8684
8692
|
},
|
|
8685
8693
|
h
|
|
8686
8694
|
);
|
|
8687
|
-
return jt(p, s?.selectionTheme), Zt(p, g),
|
|
8695
|
+
return jt(p, s?.selectionTheme), Zt(p, g), wi.new(b, { sprite: p });
|
|
8688
8696
|
}), xr(g), Ka(g, i), g;
|
|
8689
8697
|
}
|
|
8690
8698
|
function Sx(t) {
|
|
@@ -8756,7 +8764,7 @@ function Cx(t) {
|
|
|
8756
8764
|
seriesIndex: s,
|
|
8757
8765
|
tooltipFormatter: n?.tooltipFormatter,
|
|
8758
8766
|
utilsStrings: g
|
|
8759
|
-
}),
|
|
8767
|
+
}), Mi(t) && Ni({
|
|
8760
8768
|
// TODO: Remove the type assertion and correct the typings
|
|
8761
8769
|
styleCallback: xx,
|
|
8762
8770
|
callbackProps: t,
|
|
@@ -8893,7 +8901,7 @@ async function Nn(t) {
|
|
|
8893
8901
|
errorStrings: S,
|
|
8894
8902
|
groupOfSlicesUpdateNeeded: x,
|
|
8895
8903
|
labelUpdateNeeded: C
|
|
8896
|
-
} = t, { chartRenderer: v } = i, { root: F } = e, { series: T } = i, k = E(i.series), $ = Y(i.series), w = e.series.values, O =
|
|
8904
|
+
} = t, { chartRenderer: v } = i, { root: F } = e, { series: T } = i, k = E(i.series), $ = Y(i.series), w = e.series.values, O = ki(i), R = i.series.length, B = /* @__PURE__ */ new Map(), P = Gc(h), W = await It(h, a?.usePopupTemplateFieldsInfo), V = pt(h), H = Fo(v, V.renderer), z = l || s || r || c, ie = {
|
|
8897
8905
|
root: F,
|
|
8898
8906
|
chartConfig: i,
|
|
8899
8907
|
queryObject: h,
|
|
@@ -8920,9 +8928,9 @@ async function Nn(t) {
|
|
|
8920
8928
|
seriesSymbolMapForEvent: B,
|
|
8921
8929
|
timeZoneChanged: f
|
|
8922
8930
|
};
|
|
8923
|
-
for (let
|
|
8924
|
-
const _ = T[
|
|
8925
|
-
let j = w[
|
|
8931
|
+
for (let J = 0; J < T.length; J++) {
|
|
8932
|
+
const _ = T[J];
|
|
8933
|
+
let j = w[J];
|
|
8926
8934
|
const Se = _.type;
|
|
8927
8935
|
switch (!0) {
|
|
8928
8936
|
case k === y.HeatSeries: {
|
|
@@ -8940,11 +8948,11 @@ async function Nn(t) {
|
|
|
8940
8948
|
chart: e,
|
|
8941
8949
|
series: j,
|
|
8942
8950
|
data: o,
|
|
8943
|
-
seriesIndex:
|
|
8951
|
+
seriesIndex: J,
|
|
8944
8952
|
seriesConfig: _,
|
|
8945
8953
|
chartConfig: i,
|
|
8946
8954
|
showMean: je(i),
|
|
8947
|
-
showOutliers:
|
|
8955
|
+
showOutliers: Ii(i)
|
|
8948
8956
|
});
|
|
8949
8957
|
break;
|
|
8950
8958
|
}
|
|
@@ -8954,7 +8962,7 @@ async function Nn(t) {
|
|
|
8954
8962
|
series: j,
|
|
8955
8963
|
allChartSeries: w,
|
|
8956
8964
|
data: o,
|
|
8957
|
-
seriesIndex:
|
|
8965
|
+
seriesIndex: J,
|
|
8958
8966
|
seriesConfig: _,
|
|
8959
8967
|
chartRenderer: v,
|
|
8960
8968
|
axes: i.axes
|
|
@@ -8980,12 +8988,12 @@ async function Nn(t) {
|
|
|
8980
8988
|
...ne,
|
|
8981
8989
|
series: j,
|
|
8982
8990
|
data: o,
|
|
8983
|
-
seriesIndex:
|
|
8991
|
+
seriesIndex: J,
|
|
8984
8992
|
seriesConfig: _
|
|
8985
8993
|
}) : Se === y.LineSeries && j instanceof ge && ix({
|
|
8986
8994
|
...ne,
|
|
8987
8995
|
series: j,
|
|
8988
|
-
seriesIndex:
|
|
8996
|
+
seriesIndex: J,
|
|
8989
8997
|
seriesConfig: _,
|
|
8990
8998
|
data: o
|
|
8991
8999
|
}));
|
|
@@ -9007,7 +9015,7 @@ async function Nn(t) {
|
|
|
9007
9015
|
...ne,
|
|
9008
9016
|
series: j,
|
|
9009
9017
|
data: o,
|
|
9010
|
-
seriesIndex:
|
|
9018
|
+
seriesIndex: J,
|
|
9011
9019
|
seriesConfig: _,
|
|
9012
9020
|
chartConfig: i
|
|
9013
9021
|
});
|
|
@@ -9032,20 +9040,20 @@ function Tr(t) {
|
|
|
9032
9040
|
return Number.isFinite(b) || (b = 0), b + g;
|
|
9033
9041
|
}, 0), s = o?.sliceGrouping?.percentageThreshold ?? 0, r = [];
|
|
9034
9042
|
let l, c = 0;
|
|
9035
|
-
const d = e?.find((g) => g[
|
|
9043
|
+
const d = e?.find((g) => g[ei.defaultGroupOfSlicesId] === !0)?.[G.pieChart.technicalFieldGroupedSlices] ?? [], f = [...e, ...d].filter((g) => {
|
|
9036
9044
|
let h = !0;
|
|
9037
9045
|
const b = g[Ta] ?? g[o.y];
|
|
9038
9046
|
if (Number.isFinite(b)) {
|
|
9039
9047
|
const p = b / n * 100;
|
|
9040
|
-
g[G.pieChart.technicalFieldSlicePercent] = p, p <= s && g[
|
|
9041
|
-
} else g[
|
|
9042
|
-
return g[
|
|
9048
|
+
g[G.pieChart.technicalFieldSlicePercent] = p, p <= s && g[ei.defaultGroupOfSlicesId] !== !0 && (c += b, r.push(g), h = !1);
|
|
9049
|
+
} else g[ei.defaultGroupOfSlicesId] !== !0 && (r.push(g), h = s === 0 || s === void 0);
|
|
9050
|
+
return g[ei.defaultGroupOfSlicesId] === !0 && (l = g, h = !1), h;
|
|
9043
9051
|
});
|
|
9044
9052
|
if (s > 0 && r.length > 0) {
|
|
9045
9053
|
const g = c / n * 100, h = Y(i) === N.PieFromFields, b = {
|
|
9046
9054
|
...l,
|
|
9047
|
-
[
|
|
9048
|
-
[h ?
|
|
9055
|
+
[ei.defaultGroupOfSlicesId]: !0,
|
|
9056
|
+
[h ? ii : o.x]: o.sliceGrouping?.label ?? a?.pieChart.defaultSliceGroupingLabel,
|
|
9049
9057
|
[h ? Ta : o.y]: c,
|
|
9050
9058
|
[G.pieChart.technicalFieldSlicePercent]: g,
|
|
9051
9059
|
[G.pieChart.technicalFieldGroupedSlices]: r
|
|
@@ -9069,23 +9077,23 @@ function Lx(t) {
|
|
|
9069
9077
|
}), n?.data.setAll(s)), s;
|
|
9070
9078
|
}
|
|
9071
9079
|
function Fx(t) {
|
|
9072
|
-
|
|
9080
|
+
Bi(t) || t.dataItems.forEach((e) => {
|
|
9073
9081
|
const i = e.bullets?.[0];
|
|
9074
9082
|
if (i) {
|
|
9075
|
-
const a = i.get("sprite"), o =
|
|
9083
|
+
const a = i.get("sprite"), o = Oi(a.uid, "selected") !== !0;
|
|
9076
9084
|
ut({ element: a, selected: o });
|
|
9077
9085
|
}
|
|
9078
9086
|
});
|
|
9079
9087
|
}
|
|
9080
9088
|
function Ax(t) {
|
|
9081
9089
|
t.columns.each((e) => {
|
|
9082
|
-
const i =
|
|
9090
|
+
const i = Oi(e.uid, "selected") !== !0;
|
|
9083
9091
|
ut({ element: e, selected: i });
|
|
9084
9092
|
});
|
|
9085
9093
|
}
|
|
9086
9094
|
function Tx(t) {
|
|
9087
9095
|
t.slices.each((e) => {
|
|
9088
|
-
const i =
|
|
9096
|
+
const i = Oi(e.uid, "selected") !== !0;
|
|
9089
9097
|
ut({ element: e, selected: i });
|
|
9090
9098
|
});
|
|
9091
9099
|
}
|
|
@@ -9175,11 +9183,11 @@ function ff(t) {
|
|
|
9175
9183
|
].forEach((s) => {
|
|
9176
9184
|
const { axis: r, isSecondValueAxis: l } = s;
|
|
9177
9185
|
if (r !== void 0) {
|
|
9178
|
-
const c =
|
|
9186
|
+
const c = Li(r.get("renderer"), n);
|
|
9179
9187
|
Bu({ axis: r, isSecondValueAxis: l, data: a }) || Pn({
|
|
9180
9188
|
chart: e,
|
|
9181
9189
|
chartModal: i,
|
|
9182
|
-
invalidType: c ?
|
|
9190
|
+
invalidType: c ? pi.NegativeValueInXAxisLogScale : pi.NegativeValueInYAxisLogScale,
|
|
9183
9191
|
errorStrings: o
|
|
9184
9192
|
});
|
|
9185
9193
|
}
|
|
@@ -9187,7 +9195,7 @@ function ff(t) {
|
|
|
9187
9195
|
}
|
|
9188
9196
|
}
|
|
9189
9197
|
function mf(t) {
|
|
9190
|
-
const { chart: e, chartModal: i, chartConfig: a, data: o, errorStrings: n } = t, s = D(e.uid, "options"), r =
|
|
9198
|
+
const { chart: e, chartModal: i, chartConfig: a, data: o, errorStrings: n } = t, s = D(e.uid, "options"), r = Di(o);
|
|
9191
9199
|
(i?.get("content") === void 0 || i?.get("content") === "") && Uc({
|
|
9192
9200
|
chartConfig: a,
|
|
9193
9201
|
nullAsValid: s?.nullAsValid,
|
|
@@ -9195,7 +9203,7 @@ function mf(t) {
|
|
|
9195
9203
|
}) && Pn({
|
|
9196
9204
|
chart: e,
|
|
9197
9205
|
chartModal: i,
|
|
9198
|
-
invalidType:
|
|
9206
|
+
invalidType: pi.EmptyDataSet,
|
|
9199
9207
|
chartConfig: a,
|
|
9200
9208
|
errorStrings: n
|
|
9201
9209
|
});
|
|
@@ -9396,7 +9404,7 @@ async function Px(t) {
|
|
|
9396
9404
|
seriesStyleChanged: p,
|
|
9397
9405
|
colorMatchChanged: l,
|
|
9398
9406
|
labelUpdateNeeded: C
|
|
9399
|
-
}),
|
|
9407
|
+
}), yi({
|
|
9400
9408
|
data: S,
|
|
9401
9409
|
seriesConfig: b,
|
|
9402
9410
|
htmlContainer: e.root.dom
|
|
@@ -9491,7 +9499,7 @@ async function Wx(t) {
|
|
|
9491
9499
|
let C = r, v = D(e.uid, "config");
|
|
9492
9500
|
const F = D(e.uid, "initialized");
|
|
9493
9501
|
if (e.isDisposed() || F === !1 || !_c(v, C))
|
|
9494
|
-
throw new
|
|
9502
|
+
throw new hi(ao.ChartDisposed);
|
|
9495
9503
|
if (v ??= C, de(e.uid, { queryObject: f }), s.valid) {
|
|
9496
9504
|
const T = Y(C.series), k = E(C.series), $ = qt(C), w = D(e.uid, "seriesFilteredOut"), O = D(e.uid, "unfilteredConfig");
|
|
9497
9505
|
de(e.uid, {
|
|
@@ -9505,7 +9513,7 @@ async function Wx(t) {
|
|
|
9505
9513
|
oldConfig: w ? O : v,
|
|
9506
9514
|
newConfig: C,
|
|
9507
9515
|
dataWasUpdated: c
|
|
9508
|
-
}),
|
|
9516
|
+
}), J = Nm(v, r) || Pm(v, r), _ = Kc({
|
|
9509
9517
|
oldConfig: v,
|
|
9510
9518
|
newConfig: C,
|
|
9511
9519
|
rotationChanged: P
|
|
@@ -9519,7 +9527,7 @@ async function Wx(t) {
|
|
|
9519
9527
|
elementCount: Qr,
|
|
9520
9528
|
boxPlotMeanLinesData: Ae !== void 0 && "meanLines" in Ae ? Ae.meanLines : void 0,
|
|
9521
9529
|
timeIntervalInfo: Ae !== void 0 && "timeIntervalInfo" in Ae ? Ae.timeIntervalInfo : void 0
|
|
9522
|
-
}), to ? (
|
|
9530
|
+
}), to ? (yi({ data: Ae, seriesConfig: C.series, htmlContainer: p.dom }), df(a)) : (Pn({
|
|
9523
9531
|
chart: e,
|
|
9524
9532
|
chartModal: a,
|
|
9525
9533
|
invalidType: xm,
|
|
@@ -9538,12 +9546,12 @@ async function Wx(t) {
|
|
|
9538
9546
|
hideEmptySeries: l?.hideEmptySeries
|
|
9539
9547
|
}));
|
|
9540
9548
|
}
|
|
9541
|
-
const xe = g?.data ?? D(e.uid, "data"),
|
|
9549
|
+
const xe = g?.data ?? D(e.uid, "data"), gi = Di(xe), Ye = e instanceof _t ? Fd(
|
|
9542
9550
|
j,
|
|
9543
9551
|
Se
|
|
9544
9552
|
) : !1;
|
|
9545
9553
|
(ne || Ye) && (Va({
|
|
9546
|
-
arrayToSort:
|
|
9554
|
+
arrayToSort: gi,
|
|
9547
9555
|
chartConfig: C,
|
|
9548
9556
|
fieldList: R,
|
|
9549
9557
|
isTimeBinningSeries: Wa({
|
|
@@ -9553,16 +9561,16 @@ async function Wx(t) {
|
|
|
9553
9561
|
})
|
|
9554
9562
|
}), k === y.BoxPlotSeries && sf({
|
|
9555
9563
|
chart: e,
|
|
9556
|
-
chartData: c ?
|
|
9564
|
+
chartData: c ? gi : xe,
|
|
9557
9565
|
chartConfig: C
|
|
9558
|
-
}), de(e.uid, { fieldList: R }), xe && "dataItems" in xe && (xe.dataItems =
|
|
9566
|
+
}), de(e.uid, { fieldList: R }), xe && "dataItems" in xe && (xe.dataItems = gi)), (c || ne) && yi({ data: xe, seriesConfig: C.series, htmlContainer: p.dom });
|
|
9559
9567
|
const va = us({ oldConfig: v, newConfig: C }), La = /* @__PURE__ */ new Map();
|
|
9560
9568
|
C.series.forEach((Ae, aa) => {
|
|
9561
9569
|
La.set(Ae.id, aa);
|
|
9562
9570
|
});
|
|
9563
9571
|
const Ee = Ki({ chartConfig: C, queryObject: f }), Ue = je(C), kt = gf({
|
|
9564
9572
|
chart: e,
|
|
9565
|
-
data: Ue ? xe :
|
|
9573
|
+
data: Ue ? xe : gi,
|
|
9566
9574
|
config: C,
|
|
9567
9575
|
hideEmptySeries: l?.hideEmptySeries ?? A.options.hideEmptySeries
|
|
9568
9576
|
});
|
|
@@ -9647,7 +9655,7 @@ async function Wx(t) {
|
|
|
9647
9655
|
hideEmptySeries: l?.hideEmptySeries,
|
|
9648
9656
|
seriesConfig: C.series,
|
|
9649
9657
|
isHeatChart: ct === y.HeatSeries,
|
|
9650
|
-
heatChartLegendUpdatedNeeded:
|
|
9658
|
+
heatChartLegendUpdatedNeeded: J
|
|
9651
9659
|
}), Fs({ chart: e, actionMode: l?.actionMode, cursorRange: l?.cursorRange }), c || o.hideLoader(), mf({ chart: e, chartModal: a, chartConfig: C, data: xe, errorStrings: b }), ff({ chart: e, chartModal: a, data: xe, errorStrings: b });
|
|
9652
9660
|
} else n.updateOptions?.showUIMessages !== !1 && uf({
|
|
9653
9661
|
chartModal: a,
|
|
@@ -9692,7 +9700,7 @@ async function Ex(t) {
|
|
|
9692
9700
|
loaderHandle: s,
|
|
9693
9701
|
utilsStrings: r,
|
|
9694
9702
|
errorStrings: l
|
|
9695
|
-
}),
|
|
9703
|
+
}), yi({
|
|
9696
9704
|
data: c,
|
|
9697
9705
|
seriesConfig: u,
|
|
9698
9706
|
htmlContainer: e.root.dom
|
|
@@ -9805,25 +9813,25 @@ async function zx(t) {
|
|
|
9805
9813
|
timeIntervalInfo: f !== void 0 && "timeIntervalInfo" in f ? f.timeIntervalInfo : void 0
|
|
9806
9814
|
});
|
|
9807
9815
|
const V = /* @__PURE__ */ new Map();
|
|
9808
|
-
S.series.forEach((
|
|
9809
|
-
V.set(
|
|
9816
|
+
S.series.forEach((J, _) => {
|
|
9817
|
+
V.set(J.id, _);
|
|
9810
9818
|
});
|
|
9811
|
-
const H =
|
|
9819
|
+
const H = Di(f), z = je(S);
|
|
9812
9820
|
if (S = gf({
|
|
9813
9821
|
chart: C,
|
|
9814
9822
|
hideEmptySeries: o?.hideEmptySeries ?? A.options.hideEmptySeries,
|
|
9815
9823
|
data: z ? f : H,
|
|
9816
9824
|
config: S
|
|
9817
9825
|
}).updatedConfig, f && "dataItems" in f) {
|
|
9818
|
-
const
|
|
9826
|
+
const J = await Ga({
|
|
9819
9827
|
data: z && "meanLines" in f && f.meanLines !== void 0 ? f.meanLines : f.dataItems,
|
|
9820
9828
|
queryObject: r,
|
|
9821
9829
|
chartConfig: S,
|
|
9822
9830
|
allowColorMatch: Ki({ chartConfig: S, queryObject: r })
|
|
9823
9831
|
});
|
|
9824
|
-
f.dataItems =
|
|
9825
|
-
colorMatchApplied:
|
|
9826
|
-
rendererFieldNames:
|
|
9832
|
+
f.dataItems = J.dataItems, de(C.uid, {
|
|
9833
|
+
colorMatchApplied: J.colorMatchApplied,
|
|
9834
|
+
rendererFieldNames: J.rendererFieldNames
|
|
9827
9835
|
});
|
|
9828
9836
|
}
|
|
9829
9837
|
de(C.uid, { queryConfig: g, initialized: h, elementCount: p, data: f });
|
|
@@ -9832,7 +9840,7 @@ async function zx(t) {
|
|
|
9832
9840
|
chart: C,
|
|
9833
9841
|
chartData: H,
|
|
9834
9842
|
chartConfig: S
|
|
9835
|
-
})),
|
|
9843
|
+
})), yi({ data: f, seriesConfig: S.series, htmlContainer: e }), iS(x, $), C instanceof ye ? await Hx({
|
|
9836
9844
|
chart: C,
|
|
9837
9845
|
data: {
|
|
9838
9846
|
...f,
|
|
@@ -9931,7 +9939,7 @@ function Xe(t, e) {
|
|
|
9931
9939
|
function nt(t, e) {
|
|
9932
9940
|
return ba(t, e);
|
|
9933
9941
|
}
|
|
9934
|
-
function
|
|
9942
|
+
function it(t, e) {
|
|
9935
9943
|
pa(t, e);
|
|
9936
9944
|
}
|
|
9937
9945
|
function _x(t, e) {
|
|
@@ -9943,7 +9951,7 @@ function qx(t, e) {
|
|
|
9943
9951
|
function qe(t, e) {
|
|
9944
9952
|
return ba(t, e);
|
|
9945
9953
|
}
|
|
9946
|
-
function
|
|
9954
|
+
function ci(t, e) {
|
|
9947
9955
|
pa(t, e);
|
|
9948
9956
|
}
|
|
9949
9957
|
const L = {
|
|
@@ -10090,7 +10098,7 @@ function As(t) {
|
|
|
10090
10098
|
isXAxis: !0,
|
|
10091
10099
|
chartType: a,
|
|
10092
10100
|
valueFormat: i
|
|
10093
|
-
}), n =
|
|
10101
|
+
}), n = ui(i) && e instanceof Ge, s = vt(i) && e instanceof Le && !(e instanceof Ge), r = o && e instanceof lt;
|
|
10094
10102
|
return !n && !s && !r;
|
|
10095
10103
|
}
|
|
10096
10104
|
function Ir(t, e) {
|
|
@@ -10111,7 +10119,7 @@ function hf(t) {
|
|
|
10111
10119
|
const n = nt(e.uid, "categoryFormatter"), s = nt(e.uid, "numberFormatter");
|
|
10112
10120
|
if ((s !== void 0 || n !== void 0) && a instanceof Ma) {
|
|
10113
10121
|
const r = I(e.chart.uid, "config"), l = I(e.chart.uid, "rendererFieldNames");
|
|
10114
|
-
let c =
|
|
10122
|
+
let c = oi({
|
|
10115
10123
|
value: a.category,
|
|
10116
10124
|
dataContext: a.dataContext,
|
|
10117
10125
|
useRendererLabel: lo(r, l),
|
|
@@ -10131,7 +10139,7 @@ function hf(t) {
|
|
|
10131
10139
|
const g = I(e.chart.uid, "fieldList");
|
|
10132
10140
|
c = Oe(g, c);
|
|
10133
10141
|
}
|
|
10134
|
-
let f =
|
|
10142
|
+
let f = si(a.dataContext);
|
|
10135
10143
|
f === void 0 && (f = c), o = n(c, f);
|
|
10136
10144
|
}
|
|
10137
10145
|
}
|
|
@@ -10181,11 +10189,11 @@ function tC(t) {
|
|
|
10181
10189
|
}
|
|
10182
10190
|
function iC(t) {
|
|
10183
10191
|
const { axis: e, formatOptions: i, dateAxisFormatter: a } = t;
|
|
10184
|
-
if (
|
|
10192
|
+
if (it(e.uid, { dateFormatter: a }), a === void 0) {
|
|
10185
10193
|
e.renderer.labels.template.adapter.isEnabled("htmlOutput") && (e.renderer.labels.template.adapter.disableKey("htmlOutput"), e.renderer.labels.each((s) => {
|
|
10186
10194
|
s.element instanceof Yg && s.element.removeChildren();
|
|
10187
10195
|
}));
|
|
10188
|
-
const o = { ...
|
|
10196
|
+
const o = { ...ni(i) }, n = [
|
|
10189
10197
|
"year",
|
|
10190
10198
|
"month",
|
|
10191
10199
|
"day",
|
|
@@ -10217,8 +10225,8 @@ function aC(t, e, i, a) {
|
|
|
10217
10225
|
};
|
|
10218
10226
|
}
|
|
10219
10227
|
function Ul(t) {
|
|
10220
|
-
const { axis: e, formatOptions: i, overridePercentMultiplication: a, valueAxisFormatter: o } = t, n =
|
|
10221
|
-
|
|
10228
|
+
const { axis: e, formatOptions: i, overridePercentMultiplication: a, valueAxisFormatter: o } = t, n = ni(i), s = I(e.chart.uid, "formatLocale");
|
|
10229
|
+
it(e.uid, {
|
|
10222
10230
|
numberFormatter: o ?? aC(
|
|
10223
10231
|
n,
|
|
10224
10232
|
e.chart.language.locale,
|
|
@@ -10229,12 +10237,12 @@ function Ul(t) {
|
|
|
10229
10237
|
}
|
|
10230
10238
|
function oC(t) {
|
|
10231
10239
|
const { axis: e, formatOptions: i, categoryAxisFormatter: a } = t, o = a !== void 0 ? a : Us(i.characterLimit);
|
|
10232
|
-
|
|
10240
|
+
it(e.uid, { categoryFormatter: o });
|
|
10233
10241
|
}
|
|
10234
10242
|
function nC(t) {
|
|
10235
10243
|
const { axis: e, labelsTextSymbol: i, axisValueFormatter: a } = t, n = I(e.chart.uid, "config")?.horizontalAxisLabelsBehavior;
|
|
10236
|
-
if (
|
|
10237
|
-
|
|
10244
|
+
if (it(e.uid, { axisLabelsBehavior: n }), a !== void 0)
|
|
10245
|
+
it(e.uid, { fontStyleCallback: void 0 });
|
|
10238
10246
|
else if (nt(e.uid, "fontStyleCallback") === void 0) {
|
|
10239
10247
|
const s = (r) => {
|
|
10240
10248
|
const l = nt(e.uid, "axisLabelsBehavior");
|
|
@@ -10246,7 +10254,7 @@ function nC(t) {
|
|
|
10246
10254
|
defaults: { maxWidth: e.renderer.labels.template.maxWidth }
|
|
10247
10255
|
});
|
|
10248
10256
|
};
|
|
10249
|
-
|
|
10257
|
+
it(e.uid, { fontStyleCallback: s });
|
|
10250
10258
|
}
|
|
10251
10259
|
}
|
|
10252
10260
|
function sC(t) {
|
|
@@ -10270,7 +10278,7 @@ function sC(t) {
|
|
|
10270
10278
|
formatOptions: a,
|
|
10271
10279
|
overridePercentMultiplication: n,
|
|
10272
10280
|
valueAxisFormatter: r
|
|
10273
|
-
}) : e instanceof Ge &&
|
|
10281
|
+
}) : e instanceof Ge && ui(a) ? iC({
|
|
10274
10282
|
axis: e,
|
|
10275
10283
|
formatOptions: a,
|
|
10276
10284
|
dateAxisFormatter: r
|
|
@@ -10278,12 +10286,12 @@ function sC(t) {
|
|
|
10278
10286
|
axis: e,
|
|
10279
10287
|
formatOptions: a,
|
|
10280
10288
|
categoryAxisFormatter: r
|
|
10281
|
-
}),
|
|
10289
|
+
}), it(e.uid, { numberFormatter: void 0 })) : vt(a) ? (Ul({
|
|
10282
10290
|
axis: e,
|
|
10283
10291
|
formatOptions: a,
|
|
10284
10292
|
overridePercentMultiplication: n,
|
|
10285
10293
|
valueAxisFormatter: r
|
|
10286
|
-
}),
|
|
10294
|
+
}), it(e.uid, { categoryFormatter: void 0 })) : d = !0 : d = !0, d && Es("mismatchAxisAndValueFormat", l), nC({ axis: e, labelsTextSymbol: o, axisValueFormatter: r }), e.invalidateLabels();
|
|
10287
10295
|
}
|
|
10288
10296
|
const M = {
|
|
10289
10297
|
Ready: "ready",
|
|
@@ -10450,30 +10458,30 @@ function $r(t, e) {
|
|
|
10450
10458
|
function mC(t, e) {
|
|
10451
10459
|
let i = "none";
|
|
10452
10460
|
switch (t ?? e) {
|
|
10453
|
-
case
|
|
10454
|
-
case
|
|
10461
|
+
case te.Baseline:
|
|
10462
|
+
case te.Middle:
|
|
10455
10463
|
i = "middle";
|
|
10456
10464
|
break;
|
|
10457
|
-
case
|
|
10465
|
+
case te.Top:
|
|
10458
10466
|
i = "top";
|
|
10459
10467
|
break;
|
|
10460
|
-
case
|
|
10468
|
+
case te.Bottom:
|
|
10461
10469
|
i = "bottom";
|
|
10462
10470
|
break;
|
|
10463
10471
|
}
|
|
10464
10472
|
return i;
|
|
10465
10473
|
}
|
|
10466
10474
|
function xf(t, e) {
|
|
10467
|
-
let i =
|
|
10475
|
+
let i = te.Middle;
|
|
10468
10476
|
switch (t ?? e) {
|
|
10469
|
-
case
|
|
10477
|
+
case te.Top:
|
|
10470
10478
|
i = "bottom";
|
|
10471
10479
|
break;
|
|
10472
|
-
case
|
|
10480
|
+
case te.Bottom:
|
|
10473
10481
|
i = "top";
|
|
10474
10482
|
break;
|
|
10475
|
-
case
|
|
10476
|
-
case
|
|
10483
|
+
case te.Baseline:
|
|
10484
|
+
case te.Middle:
|
|
10477
10485
|
default:
|
|
10478
10486
|
i = "middle";
|
|
10479
10487
|
break;
|
|
@@ -10481,15 +10489,15 @@ function xf(t, e) {
|
|
|
10481
10489
|
return i;
|
|
10482
10490
|
}
|
|
10483
10491
|
function gC(t, e) {
|
|
10484
|
-
const i = t ??
|
|
10485
|
-
[
|
|
10486
|
-
[
|
|
10487
|
-
[
|
|
10488
|
-
[
|
|
10489
|
-
[
|
|
10490
|
-
[
|
|
10492
|
+
const i = t ?? Je.Solid, a = e ?? L.lineWidth, o = {
|
|
10493
|
+
[Je.Solid]: "none",
|
|
10494
|
+
[Je.Dot]: [1, a],
|
|
10495
|
+
[Je.DashDotDot]: [4 * a, a, 1, a, 1, a],
|
|
10496
|
+
[Je.Dash]: [4 * a, 3 * a],
|
|
10497
|
+
[Je.DashDot]: [4 * a, 3 * a, 1, 3 * a],
|
|
10498
|
+
[Je.Null]: "none"
|
|
10491
10499
|
};
|
|
10492
|
-
return (o[i] ?? o[
|
|
10500
|
+
return (o[i] ?? o[Je.Null]).toString();
|
|
10493
10501
|
}
|
|
10494
10502
|
function Cf(t, e) {
|
|
10495
10503
|
const i = {
|
|
@@ -10499,12 +10507,12 @@ function Cf(t, e) {
|
|
|
10499
10507
|
strokeLinecap: e !== !0 ? "round" : "square",
|
|
10500
10508
|
strokeOpacity: Lo
|
|
10501
10509
|
};
|
|
10502
|
-
return t != null && (i.stroke = rt(t.color), i.strokeOpacity = 1, t.width !== void 0 && (i.strokeWidth = t.width), t.style !== void 0 && t.style !==
|
|
10510
|
+
return t != null && (i.stroke = rt(t.color), i.strokeOpacity = 1, t.width !== void 0 && (i.strokeWidth = t.width), t.style !== void 0 && t.style !== Je.Null && (i.strokeDasharray = gC(t.style, i.strokeWidth), i.strokeLinecap = fC(t.style, e))), i;
|
|
10503
10511
|
}
|
|
10504
10512
|
function vf(t, e) {
|
|
10505
10513
|
let i = t;
|
|
10506
10514
|
const [a, o, n, s] = t?.color ?? e ?? L.color, r = [a, o, n, s];
|
|
10507
|
-
return i == null ? i = { type:
|
|
10515
|
+
return i == null ? i = { type: Q.SLS, color: r } : i.color === void 0 && (i.color = r), Cf(i, !1);
|
|
10508
10516
|
}
|
|
10509
10517
|
function hC(t, e) {
|
|
10510
10518
|
const { color: i, outline: a, style: o } = t, n = rt(i);
|
|
@@ -10530,9 +10538,9 @@ function Dr(t) {
|
|
|
10530
10538
|
let s;
|
|
10531
10539
|
if (i === !0) {
|
|
10532
10540
|
const r = o ? fn : Lo;
|
|
10533
|
-
if (e.color = e.color ??
|
|
10541
|
+
if (e.color = e.color ?? ai({ colorIndex: a, opacity: r }), Qo(e) || Jo(e)) {
|
|
10534
10542
|
const { outline: l } = e;
|
|
10535
|
-
l !== void 0 && (l.color = l?.color ??
|
|
10543
|
+
l !== void 0 && (l.color = l?.color ?? ai({ colorIndex: a }), e.outline = { ...l });
|
|
10536
10544
|
}
|
|
10537
10545
|
}
|
|
10538
10546
|
return dd(e) ? s = Cf(e, !0) : Jo(e) ? (e.style ??= L.lineSeries.marker.markerStyle, e.size ??= L.lineSeries.marker.markerBigSize, s = pC(e)) : Qo(e) && (s = hC(e, n)), s;
|
|
@@ -10606,7 +10614,7 @@ function xo(t) {
|
|
|
10606
10614
|
e.disabled = !0;
|
|
10607
10615
|
return r;
|
|
10608
10616
|
}
|
|
10609
|
-
function
|
|
10617
|
+
function Fi(t) {
|
|
10610
10618
|
const { element: e, seriesIndex: i, colorMatch: a, seriesSymbol: o, isChartFillSymbol: n, rendererSymbol: s, seriesConfig: r } = t;
|
|
10611
10619
|
let l, c;
|
|
10612
10620
|
a === !0 && s && (l = yc({
|
|
@@ -10621,20 +10629,20 @@ function Li(t) {
|
|
|
10621
10629
|
seriesConfig: r
|
|
10622
10630
|
}, u = l ?? { ...o };
|
|
10623
10631
|
switch (o.type) {
|
|
10624
|
-
case
|
|
10632
|
+
case Q.SLS:
|
|
10625
10633
|
c = Ut({
|
|
10626
10634
|
...d,
|
|
10627
10635
|
lineSymbol: u
|
|
10628
10636
|
});
|
|
10629
10637
|
break;
|
|
10630
|
-
case
|
|
10638
|
+
case Q.SFS:
|
|
10631
10639
|
c = xo({
|
|
10632
10640
|
...d,
|
|
10633
10641
|
fillSymbol: u,
|
|
10634
10642
|
isChartFillSymbol: n
|
|
10635
10643
|
});
|
|
10636
10644
|
break;
|
|
10637
|
-
case
|
|
10645
|
+
case Q.SMS:
|
|
10638
10646
|
c = wr({
|
|
10639
10647
|
...d,
|
|
10640
10648
|
markerSymbol: u
|
|
@@ -10651,7 +10659,7 @@ function ql(t, e) {
|
|
|
10651
10659
|
}
|
|
10652
10660
|
function bC(t, e) {
|
|
10653
10661
|
const i = L.cursorCrosshair.style, a = {
|
|
10654
|
-
type:
|
|
10662
|
+
type: Q.SLS,
|
|
10655
10663
|
style: e.style ?? i.style,
|
|
10656
10664
|
color: e.color ?? i.color,
|
|
10657
10665
|
width: e.width ?? i.width
|
|
@@ -10716,7 +10724,7 @@ function SC(t) {
|
|
|
10716
10724
|
}
|
|
10717
10725
|
}
|
|
10718
10726
|
function xC(t) {
|
|
10719
|
-
const { chart: e, actionMode: i, cursorRange: a } = t, o = I(e.uid, "isRotated"), n = I(e.uid, "config"), s = je(n), r = E(n?.series), l = r === y.ScatterSeries, c = r === y.LineSeries && vt(n?.axes?.[0]?.valueFormat), d = r === y.LineSeries && ko(n?.axes?.[0]?.valueFormat), u = r === y.LineSeries &&
|
|
10727
|
+
const { chart: e, actionMode: i, cursorRange: a } = t, o = I(e.uid, "isRotated"), n = I(e.uid, "config"), s = je(n), r = E(n?.series), l = r === y.ScatterSeries, c = r === y.LineSeries && vt(n?.axes?.[0]?.valueFormat), d = r === y.LineSeries && ko(n?.axes?.[0]?.valueFormat), u = r === y.LineSeries && ui(n?.axes?.[0]?.valueFormat);
|
|
10720
10728
|
let f, g = !1;
|
|
10721
10729
|
const h = i ?? I(e.uid, "actionMode") ?? L.actionMode;
|
|
10722
10730
|
if (I(e.uid, "filterBySelection") === !0)
|
|
@@ -10743,11 +10751,11 @@ function xC(t) {
|
|
|
10743
10751
|
}
|
|
10744
10752
|
function Tf(t) {
|
|
10745
10753
|
let e = "";
|
|
10746
|
-
return t instanceof
|
|
10754
|
+
return t instanceof xi ? e = t.dataFields?.categoryX ?? t.dataFields?.dateX ?? t.dataFields?.valueX ?? "" : t instanceof Nt && (e = t.dataFields?.category ?? ""), e;
|
|
10747
10755
|
}
|
|
10748
10756
|
function kf(t) {
|
|
10749
10757
|
let e = "";
|
|
10750
|
-
return t instanceof
|
|
10758
|
+
return t instanceof xi ? e = t.dataFields?.categoryY ?? t.dataFields?.dateY ?? t.dataFields?.valueY ?? "" : t instanceof Nt && (e = t.dataFields?.value ?? ""), e;
|
|
10751
10759
|
}
|
|
10752
10760
|
function If(t) {
|
|
10753
10761
|
return I(t.chart.uid, "isRotated") === !0 ? kf(t) : Tf(t);
|
|
@@ -10767,7 +10775,7 @@ function ra(t) {
|
|
|
10767
10775
|
iLocale: a,
|
|
10768
10776
|
formatLocale: o
|
|
10769
10777
|
});
|
|
10770
|
-
return typeof e == "number" && i.type === y.NumberAxisFormat ? n = s.format(e,
|
|
10778
|
+
return typeof e == "number" && i.type === y.NumberAxisFormat ? n = s.format(e, ni(i)) : (typeof e == "number" || e instanceof Date) && i.type === y.DateAxisFormat && (n = s.format(e, ni(i))), n;
|
|
10771
10779
|
}
|
|
10772
10780
|
function Rt(t) {
|
|
10773
10781
|
const { chart: e, config: i } = t;
|
|
@@ -10938,7 +10946,7 @@ function En(t) {
|
|
|
10938
10946
|
} = t;
|
|
10939
10947
|
if (a !== void 0) {
|
|
10940
10948
|
let u = d;
|
|
10941
|
-
const f = n?.content ?? { type:
|
|
10949
|
+
const f = n?.content ?? { type: Q.TS };
|
|
10942
10950
|
if (d === void 0 && c !== void 0 && s?.type === y.NumberAxisFormat) {
|
|
10943
10951
|
const h = I(e.chart.uid, "formatLocale"), b = Ot({
|
|
10944
10952
|
type: s.type,
|
|
@@ -11062,13 +11070,13 @@ function kC(t) {
|
|
|
11062
11070
|
return t !== void 0 && t.series.length > 0 && (e = t.series.values.map((i) => i.visible ? i.id : "").filter((i) => i !== "")), e;
|
|
11063
11071
|
}
|
|
11064
11072
|
function ss(t) {
|
|
11065
|
-
const { dataItem: e, y: i, splitBy: a, showOutliers: o } = t, n = pe({ key:
|
|
11073
|
+
const { dataItem: e, y: i, splitBy: a, showOutliers: o } = t, n = pe({ key: ee.Min, y: i, splitBy: a, showOutliers: o }), s = pe({ key: ee.Max, y: i, splitBy: a, showOutliers: o }), r = pe({ key: ee.FirstQuartile, y: i, splitBy: a, showOutliers: o }), l = pe({ key: ee.ThirdQuartile, y: i, splitBy: a, showOutliers: o });
|
|
11066
11074
|
return Number.isFinite(e[n]) && Number.isFinite(e[s]) && Number.isFinite(e[r]) && Number.isFinite(e[l]);
|
|
11067
11075
|
}
|
|
11068
11076
|
function IC(t, e) {
|
|
11069
11077
|
let i = !1;
|
|
11070
11078
|
if (e !== void 0) {
|
|
11071
|
-
const a = pe({ key:
|
|
11079
|
+
const a = pe({ key: ee.Average, splitBy: e });
|
|
11072
11080
|
i = Number.isFinite(t[a]);
|
|
11073
11081
|
}
|
|
11074
11082
|
return i;
|
|
@@ -11076,7 +11084,7 @@ function IC(t, e) {
|
|
|
11076
11084
|
function $C(t, e) {
|
|
11077
11085
|
let i = 0;
|
|
11078
11086
|
if (t !== void 0 && e !== void 0) {
|
|
11079
|
-
const a =
|
|
11087
|
+
const a = $i(e.series), o = Y(e.series), n = Ii(e);
|
|
11080
11088
|
t.data.forEach((s) => {
|
|
11081
11089
|
switch (o) {
|
|
11082
11090
|
case N.BoxPlotMonoField:
|
|
@@ -11105,7 +11113,7 @@ function Zl() {
|
|
|
11105
11113
|
return (t) => {
|
|
11106
11114
|
const e = I(t.chart.uid, "config");
|
|
11107
11115
|
let i = !1;
|
|
11108
|
-
if (e !== void 0 && t instanceof
|
|
11116
|
+
if (e !== void 0 && t instanceof xi) {
|
|
11109
11117
|
const a = $C(t.chart, e);
|
|
11110
11118
|
let o = 0, n = 0, s = 0, r = 0, l = 0;
|
|
11111
11119
|
t.chart.series.values.forEach((u) => {
|
|
@@ -11220,7 +11228,7 @@ function wC(t) {
|
|
|
11220
11228
|
onReadyEvent: o
|
|
11221
11229
|
});
|
|
11222
11230
|
}
|
|
11223
|
-
function
|
|
11231
|
+
function Pi(t) {
|
|
11224
11232
|
const { defaultChartItemRole: e } = L.aria;
|
|
11225
11233
|
t instanceof Ze || t instanceof _e ? (t.columns.template.properties.role = e, t.columns.template.focusable = !0, t.columns.template.hoverOnFocus = !0, t.itemReaderText = Ko()) : t instanceof Ct ? t.segments.template.properties.role = e : t instanceof ue ? t.bullets.values.forEach((i) => {
|
|
11226
11234
|
i.focusable = !0, i.properties.role = e, i.readerTitle = Ko(), i.hoverOnFocus = !0;
|
|
@@ -11248,7 +11256,7 @@ function RC(t, e) {
|
|
|
11248
11256
|
}
|
|
11249
11257
|
return i;
|
|
11250
11258
|
}
|
|
11251
|
-
function
|
|
11259
|
+
function Vi(t) {
|
|
11252
11260
|
const { element: e, customSelectionTheme: i, useNativeState: a } = t, o = a === !0 ? st.Active : st.CustomActive, n = e.states.getKey(o) ?? e.states.create(o), s = e.states.getKey(st.CustomInactive) ?? e.states.create(st.CustomInactive), { selectedElementsTheme: r, nonSelectedElementsTheme: l } = i ?? L.selectionTheme ?? {};
|
|
11253
11261
|
ql(n, r), ql(s, l);
|
|
11254
11262
|
}
|
|
@@ -11360,7 +11368,7 @@ function BC(t) {
|
|
|
11360
11368
|
e = Mr(t.slices, i).map(
|
|
11361
11369
|
(l) => {
|
|
11362
11370
|
const c = l.dataItem?.dataContext ?? {};
|
|
11363
|
-
return
|
|
11371
|
+
return Ai(c) && (r = $o({
|
|
11364
11372
|
groupOfSlicesDataContext: c
|
|
11365
11373
|
})), {
|
|
11366
11374
|
...s,
|
|
@@ -11409,7 +11417,7 @@ async function Pf(t) {
|
|
|
11409
11417
|
chartConfig: s
|
|
11410
11418
|
}).forEach((f, g) => {
|
|
11411
11419
|
const h = zn(f, s);
|
|
11412
|
-
if (s && f.visible && q(f.uid, "isOverlay") !== !0 && f instanceof
|
|
11420
|
+
if (s && f.visible && q(f.uid, "isOverlay") !== !0 && f instanceof xi) {
|
|
11413
11421
|
const b = Vn(f, g), p = b === y.BoxPlotSeries ? h?.y : ia(f), S = f.dataFields?.customValue ?? "", x = {
|
|
11414
11422
|
element: {},
|
|
11415
11423
|
yAxisField: p,
|
|
@@ -11528,7 +11536,7 @@ function WC(t) {
|
|
|
11528
11536
|
e !== void 0 && (e.slices.template.clickable = !0, e.slices.template.togglable = !0, e.slices.template.events.enableType(M.Hit), e.slices.template.events.enableType(M.DoubleHit), e.labels.template.clickable = !0, e.labels.template.togglable = !0, e.labels.template.events.enableType(M.Hit), e.labels.template.events.enableType(M.DoubleHit));
|
|
11529
11537
|
} else t instanceof oe && (t.xAxes.each((e) => dn(e, !1)), t.yAxes.each((e) => dn(e, !1)), t.events.enableType(M.Up));
|
|
11530
11538
|
}
|
|
11531
|
-
function
|
|
11539
|
+
function di(t) {
|
|
11532
11540
|
const { element: e, stylingInfo: i, stateKey: a = "default" } = t;
|
|
11533
11541
|
if (e !== void 0 && i !== void 0) {
|
|
11534
11542
|
const o = e.states.getKey(a)?.properties ?? e.defaultState.properties;
|
|
@@ -11544,11 +11552,11 @@ function EC(t, e) {
|
|
|
11544
11552
|
}
|
|
11545
11553
|
function HC(t) {
|
|
11546
11554
|
const e = new go();
|
|
11547
|
-
return e.valign =
|
|
11555
|
+
return e.valign = te.Middle, e.align = re.Center, e.fontSize = L.loaderLabelFontSize, e.dy = 40, e.text = "", e.parent = t, e;
|
|
11548
11556
|
}
|
|
11549
11557
|
function zC(t, e) {
|
|
11550
11558
|
const i = new Sd();
|
|
11551
|
-
return i.parent = t, i.align = re.Center, i.valign =
|
|
11559
|
+
return i.parent = t, i.align = re.Center, i.valign = te.Middle, i.path = "M2.2 16A13.81 13.81 0 0 1 14 2.362v1.01a12.8 12.8 0 1 0 4 0v-1.01A13.792 13.792 0 1 1 2.2 16z", i.stroke = rt(e ?? L.loaderSpinnerColor), i.strokeWidth = 2, i;
|
|
11552
11560
|
}
|
|
11553
11561
|
function GC(t) {
|
|
11554
11562
|
return window.setInterval(() => {
|
|
@@ -11649,12 +11657,12 @@ function Wf(t, e) {
|
|
|
11649
11657
|
if (d !== void 0) {
|
|
11650
11658
|
const u = Rt({ config: s }), f = u ? c.valueX : c.valueY, g = (u ? c.values.valueX.totalPercent : c.values.valueY.totalPercent) / 100, h = c.dataContext ?? {};
|
|
11651
11659
|
if (h !== void 0) {
|
|
11652
|
-
const b = I(n.uid, "rendererFieldNames"), p =
|
|
11660
|
+
const b = I(n.uid, "rendererFieldNames"), p = oi({
|
|
11653
11661
|
value: h[d.x],
|
|
11654
11662
|
dataContext: h,
|
|
11655
11663
|
useRendererLabel: lo(s, b)
|
|
11656
11664
|
});
|
|
11657
|
-
let S =
|
|
11665
|
+
let S = si(h);
|
|
11658
11666
|
S === void 0 && (S = p);
|
|
11659
11667
|
const x = h[L.dateBinningRange];
|
|
11660
11668
|
o = l({
|
|
@@ -11787,7 +11795,7 @@ function Ef(t) {
|
|
|
11787
11795
|
series: s,
|
|
11788
11796
|
dateRange: l,
|
|
11789
11797
|
xAxisValueFormat: i
|
|
11790
|
-
}) :
|
|
11798
|
+
}) : ui(i) && r !== void 0 ? c = ra({
|
|
11791
11799
|
value: r,
|
|
11792
11800
|
valueFormat: n ?? i,
|
|
11793
11801
|
iLocale: s.chart.language.locale,
|
|
@@ -11810,7 +11818,7 @@ function KC(t) {
|
|
|
11810
11818
|
if (h === !1 || b === !1)
|
|
11811
11819
|
u = () => "";
|
|
11812
11820
|
else {
|
|
11813
|
-
const p = g.axes, S = p[0].valueFormat, x = p[1].valueFormat, C = Y(g.series), v = Et(g) === $e.Stacked100, F = pt(a)?.objectIdField, T = Oe(i, s.x), k =
|
|
11821
|
+
const p = g.axes, S = p[0].valueFormat, x = p[1].valueFormat, C = Y(g.series), v = Et(g) === $e.Stacked100, F = pt(a)?.objectIdField, T = Oe(i, s.x), k = li(T, p[0].title?.content.text), $ = du({
|
|
11814
11822
|
config: g,
|
|
11815
11823
|
fieldList: i,
|
|
11816
11824
|
objectIdField: F,
|
|
@@ -11856,11 +11864,11 @@ function KC(t) {
|
|
|
11856
11864
|
case N.BarAndLineSplitByNoAggregation:
|
|
11857
11865
|
case N.BarAndLineSplitBy:
|
|
11858
11866
|
{
|
|
11859
|
-
const ne =
|
|
11867
|
+
const ne = Ti(s.query?.where, !1), J = vc({
|
|
11860
11868
|
value: Oe(i, ne)
|
|
11861
11869
|
});
|
|
11862
11870
|
ie.push(
|
|
11863
|
-
`<b>${
|
|
11871
|
+
`<b>${J}${w} </b>${e.name}<br /><b>${$}${w} </b>${H}`
|
|
11864
11872
|
);
|
|
11865
11873
|
}
|
|
11866
11874
|
break;
|
|
@@ -11917,12 +11925,12 @@ function QC(t) {
|
|
|
11917
11925
|
if (c !== void 0) {
|
|
11918
11926
|
const d = l?.dataContext ?? {};
|
|
11919
11927
|
if (d !== void 0) {
|
|
11920
|
-
const u =
|
|
11928
|
+
const u = oi({
|
|
11921
11929
|
value: d[c.x],
|
|
11922
11930
|
dataContext: d,
|
|
11923
|
-
useRendererLabel:
|
|
11931
|
+
useRendererLabel: ki(a)
|
|
11924
11932
|
});
|
|
11925
|
-
let f =
|
|
11933
|
+
let f = si(d);
|
|
11926
11934
|
f === void 0 && (f = u), r = s({
|
|
11927
11935
|
seriesName: n.name,
|
|
11928
11936
|
xValue: u,
|
|
@@ -11946,12 +11954,12 @@ function JC(t) {
|
|
|
11946
11954
|
if (l !== void 0) {
|
|
11947
11955
|
const c = r.dataContext ?? {};
|
|
11948
11956
|
if (c !== void 0) {
|
|
11949
|
-
const d =
|
|
11957
|
+
const d = oi({
|
|
11950
11958
|
value: c[l.x],
|
|
11951
11959
|
dataContext: c,
|
|
11952
|
-
useRendererLabel:
|
|
11960
|
+
useRendererLabel: ki(a)
|
|
11953
11961
|
});
|
|
11954
|
-
let u =
|
|
11962
|
+
let u = si(c);
|
|
11955
11963
|
u === void 0 && (u = d), s = n({
|
|
11956
11964
|
seriesName: o.name,
|
|
11957
11965
|
xValue: d,
|
|
@@ -11976,12 +11984,12 @@ function ev(t) {
|
|
|
11976
11984
|
if (l !== void 0) {
|
|
11977
11985
|
const c = r.dataContext ?? {};
|
|
11978
11986
|
if (c !== void 0) {
|
|
11979
|
-
const d =
|
|
11987
|
+
const d = oi({
|
|
11980
11988
|
value: c[l.x],
|
|
11981
11989
|
dataContext: c,
|
|
11982
|
-
useRendererLabel:
|
|
11990
|
+
useRendererLabel: ki(a)
|
|
11983
11991
|
});
|
|
11984
|
-
let u =
|
|
11992
|
+
let u = si(c);
|
|
11985
11993
|
u === void 0 && (u = d), s = n({
|
|
11986
11994
|
seriesName: o.name,
|
|
11987
11995
|
xValue: d,
|
|
@@ -12030,12 +12038,12 @@ function av(t) {
|
|
|
12030
12038
|
})
|
|
12031
12039
|
));
|
|
12032
12040
|
}
|
|
12033
|
-
function
|
|
12041
|
+
function Ei(t) {
|
|
12034
12042
|
const { label: e, value: i, strongColon: a, useTable: o } = t, n = `<b>${e}${a}</b> ${i}`;
|
|
12035
12043
|
return o !== !1 ? `<tr><td>${n}</td></tr>` : n;
|
|
12036
12044
|
}
|
|
12037
12045
|
function ov(t) {
|
|
12038
|
-
const { dataContext: e, series: i, dataTooltipValueFormat: a, y: o, splitBy: n, utilsStrings: s, useTable: r } = t, l = a ?? Ns(), c = Object.values(
|
|
12046
|
+
const { dataContext: e, series: i, dataTooltipValueFormat: a, y: o, splitBy: n, utilsStrings: s, useTable: r } = t, l = a ?? Ns(), c = Object.values(ee), d = ht(i.rtl), u = r !== !1 ? ['<tr><td colspan="2"><hr style="border-top: solid black;"></td></tr>'] : [""];
|
|
12039
12047
|
return c.forEach((f) => {
|
|
12040
12048
|
const g = pe({ key: f, y: o, splitBy: n }), h = e[g];
|
|
12041
12049
|
if (h != null && typeof h == "number") {
|
|
@@ -12047,31 +12055,31 @@ function ov(t) {
|
|
|
12047
12055
|
});
|
|
12048
12056
|
let S = "";
|
|
12049
12057
|
switch (f) {
|
|
12050
|
-
case
|
|
12058
|
+
case ee.Min:
|
|
12051
12059
|
S = s.statistics.minimum;
|
|
12052
12060
|
break;
|
|
12053
|
-
case
|
|
12061
|
+
case ee.FirstQuartile:
|
|
12054
12062
|
S = s.statistics.firstQuartile;
|
|
12055
12063
|
break;
|
|
12056
|
-
case
|
|
12064
|
+
case ee.Median:
|
|
12057
12065
|
S = s.statistics.median;
|
|
12058
12066
|
break;
|
|
12059
|
-
case
|
|
12067
|
+
case ee.ThirdQuartile:
|
|
12060
12068
|
S = s.statistics.thirdQuartile;
|
|
12061
12069
|
break;
|
|
12062
|
-
case
|
|
12070
|
+
case ee.Max:
|
|
12063
12071
|
S = s.statistics.maximum;
|
|
12064
12072
|
break;
|
|
12065
|
-
case
|
|
12073
|
+
case ee.IQR:
|
|
12066
12074
|
S = s.statistics.iqr;
|
|
12067
12075
|
break;
|
|
12068
|
-
case
|
|
12076
|
+
case ee.Average:
|
|
12069
12077
|
S = s.statistics.mean;
|
|
12070
12078
|
break;
|
|
12071
|
-
case
|
|
12079
|
+
case ee.StandardDeviation:
|
|
12072
12080
|
}
|
|
12073
12081
|
Aa(S) || u.push(
|
|
12074
|
-
|
|
12082
|
+
Ei({
|
|
12075
12083
|
label: S,
|
|
12076
12084
|
value: p,
|
|
12077
12085
|
strongColon: d,
|
|
@@ -12088,12 +12096,12 @@ function nv(t) {
|
|
|
12088
12096
|
if (r !== void 0) {
|
|
12089
12097
|
const l = I(r.uid, "config");
|
|
12090
12098
|
if (l !== void 0) {
|
|
12091
|
-
const c = l.axes, d = c?.[0].valueFormat, { showMean: u } = l, f = Y(l.series), g =
|
|
12099
|
+
const c = l.axes, d = c?.[0].valueFormat, { showMean: u } = l, f = Y(l.series), g = Ti(a.query?.where), h = Oe(i, g), b = Zi({
|
|
12092
12100
|
where: a.query?.where,
|
|
12093
12101
|
escape: !1
|
|
12094
12102
|
}), p = Oe(i, a.x);
|
|
12095
12103
|
let S;
|
|
12096
|
-
a.x !== Hs && (S =
|
|
12104
|
+
a.x !== Hs && (S = li(p, c?.[0].title?.content.text));
|
|
12097
12105
|
const x = ht(r.rtl);
|
|
12098
12106
|
s = (C) => {
|
|
12099
12107
|
const { dataContext: v, xValue: F } = C, T = Ef({
|
|
@@ -12110,7 +12118,7 @@ function nv(t) {
|
|
|
12110
12118
|
if (T !== void 0 && !Aa(T)) {
|
|
12111
12119
|
const H = f === N.BoxPlotMonoField ? a.name ?? $ : $;
|
|
12112
12120
|
k.push(
|
|
12113
|
-
|
|
12121
|
+
Ei({
|
|
12114
12122
|
label: o.field,
|
|
12115
12123
|
strongColon: x,
|
|
12116
12124
|
value: H
|
|
@@ -12118,7 +12126,7 @@ function nv(t) {
|
|
|
12118
12126
|
);
|
|
12119
12127
|
}
|
|
12120
12128
|
be(h) || k.push(
|
|
12121
|
-
|
|
12129
|
+
Ei({
|
|
12122
12130
|
label: h,
|
|
12123
12131
|
strongColon: x,
|
|
12124
12132
|
value: a.name ?? b?.toString()
|
|
@@ -12129,13 +12137,13 @@ function nv(t) {
|
|
|
12129
12137
|
case N.BoxPlotMonoFieldAndCategory:
|
|
12130
12138
|
case N.BoxPlotMultiFieldsAndCategory: {
|
|
12131
12139
|
k.push(
|
|
12132
|
-
|
|
12140
|
+
Ei({
|
|
12133
12141
|
label: o.field,
|
|
12134
12142
|
strongColon: x,
|
|
12135
12143
|
value: a.name ?? O
|
|
12136
12144
|
})
|
|
12137
12145
|
), T !== void 0 && !Aa(T) && k.push(
|
|
12138
|
-
|
|
12146
|
+
Ei({
|
|
12139
12147
|
label: S,
|
|
12140
12148
|
strongColon: x,
|
|
12141
12149
|
value: $
|
|
@@ -12145,19 +12153,19 @@ function nv(t) {
|
|
|
12145
12153
|
}
|
|
12146
12154
|
case N.BoxPlotMonoFieldAndCategoryAndSplitBy:
|
|
12147
12155
|
k.push(
|
|
12148
|
-
|
|
12156
|
+
Ei({
|
|
12149
12157
|
label: o.field,
|
|
12150
12158
|
strongColon: x,
|
|
12151
12159
|
value: O
|
|
12152
12160
|
})
|
|
12153
12161
|
), T !== void 0 && !Aa(T) && k.push(
|
|
12154
|
-
|
|
12162
|
+
Ei({
|
|
12155
12163
|
label: S,
|
|
12156
12164
|
strongColon: x,
|
|
12157
12165
|
value: $
|
|
12158
12166
|
})
|
|
12159
12167
|
), be(h) || k.push(
|
|
12160
|
-
|
|
12168
|
+
Ei({
|
|
12161
12169
|
label: h,
|
|
12162
12170
|
strongColon: x,
|
|
12163
12171
|
value: a.name ?? b?.toString()
|
|
@@ -12188,7 +12196,7 @@ function sv(t) {
|
|
|
12188
12196
|
}
|
|
12189
12197
|
function rv(t) {
|
|
12190
12198
|
const e = Vt(L.dataLabelInitialize);
|
|
12191
|
-
return
|
|
12199
|
+
return ci(e.uid, { isDataLabel: !0 }), t.bullets.push(e), Rr(e), Or(y.LineSeries, e), $f(y.LineSeries, e), $s(e, t), e.html = "{valueX}", e;
|
|
12192
12200
|
}
|
|
12193
12201
|
function lv(t) {
|
|
12194
12202
|
const { series: e } = t, i = Co(e, "bullets");
|
|
@@ -12304,7 +12312,7 @@ function hv(t) {
|
|
|
12304
12312
|
});
|
|
12305
12313
|
}
|
|
12306
12314
|
function pv(t) {
|
|
12307
|
-
|
|
12315
|
+
ci(t.valueLabels.template.uid, { isLegendValueLabel: !0 }), t.valueLabels.template.adapter.add("htmlOutput", (e, i) => {
|
|
12308
12316
|
let a = e;
|
|
12309
12317
|
const o = Yx(
|
|
12310
12318
|
t.uid,
|
|
@@ -12362,9 +12370,9 @@ function bv(t) {
|
|
|
12362
12370
|
visible: n,
|
|
12363
12371
|
content: {
|
|
12364
12372
|
...s,
|
|
12365
|
-
type:
|
|
12373
|
+
type: Q.TS,
|
|
12366
12374
|
text: ".",
|
|
12367
|
-
verticalAlignment:
|
|
12375
|
+
verticalAlignment: te.Middle,
|
|
12368
12376
|
// The horizontalAlignment value needs to be consistent with the one set by `handleValueLabelsRightAlignment()`. It avoids flickering the labels.
|
|
12369
12377
|
horizontalAlignment: F ? re.Right : re.Center
|
|
12370
12378
|
}
|
|
@@ -12378,7 +12386,7 @@ function bv(t) {
|
|
|
12378
12386
|
}
|
|
12379
12387
|
function yv(t) {
|
|
12380
12388
|
const { dataContext: e } = t.target.dataItem ?? {};
|
|
12381
|
-
if (e instanceof
|
|
12389
|
+
if (e instanceof ri) {
|
|
12382
12390
|
const { component: i } = e;
|
|
12383
12391
|
i instanceof Nt && i.showTooltip();
|
|
12384
12392
|
}
|
|
@@ -12527,7 +12535,7 @@ function Av(t, e) {
|
|
|
12527
12535
|
const { dataContext: o } = i, n = { visible: a };
|
|
12528
12536
|
if (q(o.uid, "isOverlay") === !0)
|
|
12529
12537
|
n.overlayType = q(o.uid, "type");
|
|
12530
|
-
else if (o instanceof
|
|
12538
|
+
else if (o instanceof ri)
|
|
12531
12539
|
I(e.uid, "isNonAggregatedChart") === !0 ? n.sliceData = o.dataContext : n.sliceId = o.category;
|
|
12532
12540
|
else if (o instanceof Ze) {
|
|
12533
12541
|
const r = o.id, l = Bo(e, r);
|
|
@@ -12542,9 +12550,9 @@ function Av(t, e) {
|
|
|
12542
12550
|
c !== void 0 && K(c, a), d !== void 0 && K(d, a), u !== void 0 && K(u, a), n.seriesId = o.id;
|
|
12543
12551
|
} else
|
|
12544
12552
|
n.seriesId = o.id;
|
|
12545
|
-
const s = o instanceof
|
|
12546
|
-
(s instanceof
|
|
12547
|
-
s instanceof
|
|
12553
|
+
const s = o instanceof ri ? o.component : o;
|
|
12554
|
+
(s instanceof xi || s instanceof Nt) && q(s.uid, "isOverlay") !== !0 && s.events.once(M.Validated, () => {
|
|
12555
|
+
s instanceof xi && (rm(s), s.events.dispatchImmediately(M.Validated, {
|
|
12548
12556
|
type: M.Validated,
|
|
12549
12557
|
target: s
|
|
12550
12558
|
}));
|
|
@@ -12633,7 +12641,7 @@ function Dv(t) {
|
|
|
12633
12641
|
if (s !== void 0) {
|
|
12634
12642
|
const { series: l } = s;
|
|
12635
12643
|
if (E(l) === y.PieSeries) {
|
|
12636
|
-
const d = Y(l) === N.PieFromFields ?
|
|
12644
|
+
const d = Y(l) === N.PieFromFields ? ii : l[0].x, u = a.dataItem?.dataContext?.[d];
|
|
12637
12645
|
typeof u == "string" ? n = u : u && typeof u != "object" && (n = u.toString());
|
|
12638
12646
|
} else a.dataItem?.component instanceof Ng && (n = a.dataItem.component.name);
|
|
12639
12647
|
}
|
|
@@ -12654,7 +12662,7 @@ function Ho(t, e) {
|
|
|
12654
12662
|
let a = i;
|
|
12655
12663
|
const o = t.dataItem?.dataContext;
|
|
12656
12664
|
if (o !== void 0) {
|
|
12657
|
-
const n = o instanceof
|
|
12665
|
+
const n = o instanceof ri ? o.component?.chart : o.chart;
|
|
12658
12666
|
if (n !== void 0) {
|
|
12659
12667
|
const s = I(n.uid, "config"), { rectangleMarkerRadius: r, roundedMarkerRadius: l } = L.legendProperties;
|
|
12660
12668
|
a = s?.legend?.roundMarkers === !0 ? l : r;
|
|
@@ -12686,12 +12694,12 @@ function Bv(t) {
|
|
|
12686
12694
|
visible: o,
|
|
12687
12695
|
content: {
|
|
12688
12696
|
...n,
|
|
12689
|
-
type:
|
|
12697
|
+
type: Q.TS,
|
|
12690
12698
|
text: " "
|
|
12691
12699
|
// using a non empty string to kick in the adapter on `textOutput`
|
|
12692
12700
|
}
|
|
12693
12701
|
};
|
|
12694
|
-
At({ label: e.labels.template, labelConfig: r, defaults: L.legendProperties.legendLabels }), e.labels.template.valign =
|
|
12702
|
+
At({ label: e.labels.template, labelConfig: r, defaults: L.legendProperties.legendLabels }), e.labels.template.valign = te.Middle, e.valueLabels.template.valign = te.Middle, s === y.PieSeries && bv(t), e.valueLabels.template.width = Number.NaN;
|
|
12695
12703
|
}
|
|
12696
12704
|
function Mv(t, e) {
|
|
12697
12705
|
e.chartContainer.events.on(
|
|
@@ -12778,14 +12786,14 @@ function Ev(t) {
|
|
|
12778
12786
|
rendererType: Fo(i.chartRenderer, k?.renderer)
|
|
12779
12787
|
}), jf(u, p);
|
|
12780
12788
|
const $ = Hn({ chart: e, lineSeries: p, applyPropertiesToClones: !1 });
|
|
12781
|
-
return Wf($, p), rv(p),
|
|
12789
|
+
return Wf($, p), rv(p), Vi({ element: $, customSelectionTheme: r }), Sa(e, $), Rf({
|
|
12782
12790
|
chart: e,
|
|
12783
12791
|
numberOfChartSeries: c,
|
|
12784
12792
|
series: p,
|
|
12785
12793
|
seriesType: y.LineSeries,
|
|
12786
12794
|
marker: $,
|
|
12787
12795
|
ignoreSmoothRenderingLimit: l
|
|
12788
|
-
}), Ro(p),
|
|
12796
|
+
}), Ro(p), Pi(p), p;
|
|
12789
12797
|
}
|
|
12790
12798
|
function Hv(t) {
|
|
12791
12799
|
const { series: e, seriesIndex: i, chartSubType: a, seriesConfig: o, colorMatch: n, lineColor: s, rendererType: r } = t, l = Re(e);
|
|
@@ -12806,7 +12814,7 @@ function Hv(t) {
|
|
|
12806
12814
|
chartSubType: a,
|
|
12807
12815
|
colorMatch: n,
|
|
12808
12816
|
rendererType: r
|
|
12809
|
-
}), S =
|
|
12817
|
+
}), S = Fi({
|
|
12810
12818
|
seriesConfig: o,
|
|
12811
12819
|
seriesIndex: i,
|
|
12812
12820
|
seriesSymbol: u,
|
|
@@ -12814,9 +12822,9 @@ function Hv(t) {
|
|
|
12814
12822
|
colorMatch: n,
|
|
12815
12823
|
rendererSymbol: p
|
|
12816
12824
|
});
|
|
12817
|
-
d = S.symbolWithColorInfo, g = S.stylingInfo,
|
|
12825
|
+
d = S.symbolWithColorInfo, g = S.stylingInfo, di({ element: h, stylingInfo: g }), f.add(JSON.stringify(g));
|
|
12818
12826
|
}
|
|
12819
|
-
}), c = f.size > 1, c ||
|
|
12827
|
+
}), c = f.size > 1, c || di({ element: l, stylingInfo: g });
|
|
12820
12828
|
}
|
|
12821
12829
|
return c ? void 0 : d;
|
|
12822
12830
|
}
|
|
@@ -12842,7 +12850,7 @@ function qf(t) {
|
|
|
12842
12850
|
chartSubType: o,
|
|
12843
12851
|
colorMatch: n,
|
|
12844
12852
|
rendererType: s
|
|
12845
|
-
}), c =
|
|
12853
|
+
}), c = Fi({
|
|
12846
12854
|
seriesConfig: a,
|
|
12847
12855
|
seriesIndex: i,
|
|
12848
12856
|
seriesSymbol: a.lineSymbol ?? Wc(i),
|
|
@@ -12912,7 +12920,7 @@ function Xv(t) {
|
|
|
12912
12920
|
(S === N.BarAndLineSplitBy || S === N.BarAndLineSplitByNoAggregation) && (x = Ws({
|
|
12913
12921
|
subtypeInfo: s,
|
|
12914
12922
|
fieldList: r,
|
|
12915
|
-
fieldName:
|
|
12923
|
+
fieldName: Ti(C),
|
|
12916
12924
|
fieldValueToMatch: x
|
|
12917
12925
|
}) ?? x), Kt(i, x), tc(i, e), Br({ series: i, seriesConfig: e, rotationChanged: o, stackedType: l, isRotated: p }), tc(i, e), la({
|
|
12918
12926
|
// TODO: Remove the type assertion and correct the typings
|
|
@@ -12957,26 +12965,26 @@ function Wr(t, e) {
|
|
|
12957
12965
|
}
|
|
12958
12966
|
function Yv(t) {
|
|
12959
12967
|
const { chart: e, axisList: i = [], chartConfig: a, seriesIndex: o, hideLoaderHandle: n, selectionTheme: s } = t, r = je(a), l = a.series[o], [c, d] = i, u = new Ze();
|
|
12960
|
-
return u.hoverable = !0, Qt(u, n), r || (
|
|
12968
|
+
return u.hoverable = !0, Qt(u, n), r || (Vi({
|
|
12961
12969
|
element: u.columns.template,
|
|
12962
12970
|
customSelectionTheme: s
|
|
12963
|
-
}), Sa(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(), Kt(u, l.name),
|
|
12971
|
+
}), Sa(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(), Kt(u, l.name), Pi(u), u;
|
|
12964
12972
|
}
|
|
12965
12973
|
function ls(t) {
|
|
12966
12974
|
const { axisList: e = [], chartConfig: i, seriesIndex: a, type: o, hideLoaderHandle: n, selectionTheme: s } = t, r = i.series[a], [l, c] = e, d = new Ct();
|
|
12967
|
-
return d.hoverable = !0, Qt(d, n), d.id = `${r.id}_${o}`, l !== void 0 && (d.xAxis = l), c !== void 0 && (d.yAxis = c), d.noRisers = !0, d.simplifiedProcessing = !0,
|
|
12975
|
+
return d.hoverable = !0, Qt(d, n), d.id = `${r.id}_${o}`, l !== void 0 && (d.xAxis = l), c !== void 0 && (d.yAxis = c), d.noRisers = !0, d.simplifiedProcessing = !0, Vi({
|
|
12968
12976
|
element: d.segments.template,
|
|
12969
12977
|
customSelectionTheme: s
|
|
12970
|
-
}), d.hiddenInLegend = !0,
|
|
12978
|
+
}), d.hiddenInLegend = !0, Pi(d), d;
|
|
12971
12979
|
}
|
|
12972
12980
|
function Uv(t) {
|
|
12973
12981
|
const { chart: e, axisList: i = [], chartConfig: a, hideLoaderHandle: o, seriesIndex: n, selectionTheme: s } = t, r = a.series[n], l = je(a), [c, d] = i, u = new ue();
|
|
12974
12982
|
Xe(u.uid, { isBoxPlotOutliersSeries: !0 }), Qt(u, o), u.id = `${r.id}_${me.Outliers}`, c !== void 0 && (u.xAxis = c), d !== void 0 && (u.yAxis = d), u.simplifiedProcessing = !0, u.hiddenInLegend = !0, u.strokeOpacity = 0;
|
|
12975
12983
|
const f = Hn({ chart: e, lineSeries: u });
|
|
12976
|
-
return l || (
|
|
12984
|
+
return l || (Vi({
|
|
12977
12985
|
element: f,
|
|
12978
12986
|
customSelectionTheme: s
|
|
12979
|
-
}), Sa(e, f)),
|
|
12987
|
+
}), Sa(e, f)), Pi(u), u;
|
|
12980
12988
|
}
|
|
12981
12989
|
function Ja(t) {
|
|
12982
12990
|
const {
|
|
@@ -13002,7 +13010,7 @@ function Ja(t) {
|
|
|
13002
13010
|
splitBy: P,
|
|
13003
13011
|
showOutliers: C,
|
|
13004
13012
|
standardizeValues: uo(B) ? v : !1,
|
|
13005
|
-
key:
|
|
13013
|
+
key: ee.Average
|
|
13006
13014
|
});
|
|
13007
13015
|
T ? (a.dataFields.valueX = W, a.dataFields.categoryY = g) : (a.dataFields.valueY = W, a.dataFields.categoryX = g), a.dataFields.customValue = P;
|
|
13008
13016
|
}
|
|
@@ -13017,28 +13025,28 @@ function Ja(t) {
|
|
|
13017
13025
|
if (o instanceof Ze) {
|
|
13018
13026
|
const B = pe({
|
|
13019
13027
|
...O,
|
|
13020
|
-
key:
|
|
13028
|
+
key: ee.Min
|
|
13021
13029
|
}), P = pe({
|
|
13022
13030
|
...O,
|
|
13023
|
-
key:
|
|
13031
|
+
key: ee.FirstQuartile
|
|
13024
13032
|
}), W = pe({
|
|
13025
13033
|
...O,
|
|
13026
|
-
key:
|
|
13034
|
+
key: ee.Max
|
|
13027
13035
|
}), V = pe({
|
|
13028
13036
|
...O,
|
|
13029
|
-
key:
|
|
13037
|
+
key: ee.ThirdQuartile
|
|
13030
13038
|
});
|
|
13031
13039
|
T ? (o.dataFields.lowValueX = B, o.dataFields.openValueX = P, o.dataFields.highValueX = W, o.dataFields.valueX = V, o.dataFields.categoryY = g) : (o.dataFields.lowValueY = B, o.dataFields.openValueY = P, o.dataFields.highValueY = W, o.dataFields.valueY = V, o.dataFields.categoryX = g), o.dataFields.customValue = w;
|
|
13032
13040
|
}
|
|
13033
13041
|
if (n instanceof Ct && s instanceof Ct && r instanceof Ct) {
|
|
13034
13042
|
const B = pe({
|
|
13035
|
-
key:
|
|
13043
|
+
key: ee.Max,
|
|
13036
13044
|
...O
|
|
13037
13045
|
}), P = pe({
|
|
13038
|
-
key:
|
|
13046
|
+
key: ee.Median,
|
|
13039
13047
|
...O
|
|
13040
13048
|
}), W = pe({
|
|
13041
|
-
key:
|
|
13049
|
+
key: ee.Min,
|
|
13042
13050
|
...O
|
|
13043
13051
|
});
|
|
13044
13052
|
T ? (n.dataFields.valueX = B, s.dataFields.valueX = P, r.dataFields.valueX = W, n.dataFields.categoryY = g, s.dataFields.categoryY = g, r.dataFields.categoryY = g) : (n.dataFields.valueY = B, s.dataFields.valueY = P, r.dataFields.valueY = W, n.dataFields.categoryX = g, s.dataFields.categoryX = g, r.dataFields.categoryX = g), n.dataFields.customValue = w, r.dataFields.customValue = w, s.dataFields.customValue = w;
|
|
@@ -13047,7 +13055,7 @@ function Ja(t) {
|
|
|
13047
13055
|
if (l instanceof ue && S) {
|
|
13048
13056
|
const B = pe({
|
|
13049
13057
|
...O,
|
|
13050
|
-
key:
|
|
13058
|
+
key: ee.Outlier
|
|
13051
13059
|
});
|
|
13052
13060
|
T ? (l.dataFields.valueX = B, l.dataFields.categoryY = g) : (l.dataFields.valueY = B, l.dataFields.categoryX = g), l.dataFields.customValue = w, l.invalidateRawData();
|
|
13053
13061
|
}
|
|
@@ -13059,7 +13067,7 @@ function _v(t) {
|
|
|
13059
13067
|
const { chart: e, axisList: i = [], chartConfig: a, hideLoaderHandle: o, seriesIndex: n, selectionTheme: s } = t, r = a.series[n], [l, c] = i, d = new ue();
|
|
13060
13068
|
Xe(d.uid, { isBoxPlotMeanLineSeries: !0 }), Qt(d, o), d.id = r.id, l !== void 0 && (d.xAxis = l), c !== void 0 && (d.yAxis = c), d.simplifiedProcessing = !0;
|
|
13061
13069
|
const u = Hn({ chart: e, lineSeries: d });
|
|
13062
|
-
return
|
|
13070
|
+
return Vi({ element: u, customSelectionTheme: s }), Sa(e, u), Pi(d), av(d), Ja({
|
|
13063
13071
|
chartConfig: a,
|
|
13064
13072
|
seriesConfig: r,
|
|
13065
13073
|
meanLineSeries: d,
|
|
@@ -13146,8 +13154,8 @@ function Zv(t) {
|
|
|
13146
13154
|
const s = Re(n);
|
|
13147
13155
|
if (s !== void 0) {
|
|
13148
13156
|
const r = Wr(a, i.visible), l = {
|
|
13149
|
-
type:
|
|
13150
|
-
style:
|
|
13157
|
+
type: Q.SMS,
|
|
13158
|
+
style: Jt.Circle,
|
|
13151
13159
|
color: o.color,
|
|
13152
13160
|
size: L.boxPlot.boxPlotOutliersSize
|
|
13153
13161
|
};
|
|
@@ -13174,7 +13182,7 @@ function Kv(t) {
|
|
|
13174
13182
|
const f = /* @__PURE__ */ new Set();
|
|
13175
13183
|
let g = !1;
|
|
13176
13184
|
const h = i.fillSymbol ?? Ys(a);
|
|
13177
|
-
if (e.columns.length === 0 ? (u =
|
|
13185
|
+
if (e.columns.length === 0 ? (u = Fi({
|
|
13178
13186
|
seriesConfig: i,
|
|
13179
13187
|
seriesIndex: a,
|
|
13180
13188
|
seriesSymbol: h,
|
|
@@ -13182,7 +13190,7 @@ function Kv(t) {
|
|
|
13182
13190
|
colorMatch: s,
|
|
13183
13191
|
isChartFillSymbol: !0
|
|
13184
13192
|
}), c = u.symbolWithColorInfo, d = u.stylingInfo) : e.columns.each((b) => {
|
|
13185
|
-
u =
|
|
13193
|
+
u = Fi({
|
|
13186
13194
|
seriesConfig: i,
|
|
13187
13195
|
seriesIndex: a,
|
|
13188
13196
|
seriesSymbol: h,
|
|
@@ -13199,8 +13207,8 @@ function Kv(t) {
|
|
|
13199
13207
|
}), c = u.symbolWithColorInfo, d = u.stylingInfo, f.add(JSON.stringify(c));
|
|
13200
13208
|
}), g = f.size > 1, o > 1) {
|
|
13201
13209
|
const b = e.legendDataItem?.marker.children.getIndex(0);
|
|
13202
|
-
b !== void 0 ?
|
|
13203
|
-
|
|
13210
|
+
b !== void 0 ? di({ element: b, stylingInfo: d }) : e.chart.legend.events.once(M.Validated, () => {
|
|
13211
|
+
di({
|
|
13204
13212
|
element: e.legendDataItem?.marker.children.getIndex(0),
|
|
13205
13213
|
stylingInfo: d
|
|
13206
13214
|
}), e.chart.legend.invalidate();
|
|
@@ -13580,11 +13588,11 @@ function fL(t) {
|
|
|
13580
13588
|
layerOidField: r,
|
|
13581
13589
|
xAxisField: l,
|
|
13582
13590
|
yAxisField: c
|
|
13583
|
-
} = t, d = E(i.series), u = Y(i.series), f =
|
|
13591
|
+
} = t, d = E(i.series), u = Y(i.series), f = Ii(i), g = I(e.uid, "queryObject"), h = [], b = [], p = [], S = $i(i.series), x = a instanceof xi ? a.dataFields?.customValue ?? "" : "";
|
|
13584
13592
|
return n.forEach((C) => {
|
|
13585
13593
|
if (!(C instanceof ta)) {
|
|
13586
13594
|
let v = C.dataItem?.dataContext;
|
|
13587
|
-
if (v !== void 0 && (d === y.BoxPlotSeries && v[L.boxPlot.boxPlotOutlierId] !== !0 || u === N.BarAndLineMultiFields) && (v =
|
|
13595
|
+
if (v !== void 0 && (d === y.BoxPlotSeries && v[L.boxPlot.boxPlotOutlierId] !== !0 || u === N.BarAndLineMultiFields) && (v = vi({
|
|
13588
13596
|
dataContext: v,
|
|
13589
13597
|
yAxisField: c,
|
|
13590
13598
|
yList: S,
|
|
@@ -13593,7 +13601,7 @@ function fL(t) {
|
|
|
13593
13601
|
chartType: d,
|
|
13594
13602
|
chartSubType: u,
|
|
13595
13603
|
showOutliers: f,
|
|
13596
|
-
isFeatureCollectionLayer:
|
|
13604
|
+
isFeatureCollectionLayer: bi(g)
|
|
13597
13605
|
})), In({
|
|
13598
13606
|
elementDataContext: v,
|
|
13599
13607
|
options: o,
|
|
@@ -13610,7 +13618,7 @@ function fL(t) {
|
|
|
13610
13618
|
p.push(v);
|
|
13611
13619
|
else {
|
|
13612
13620
|
const T = /* @__PURE__ */ new Set();
|
|
13613
|
-
d === y.PieSeries &&
|
|
13621
|
+
d === y.PieSeries && Ai(v) ? ($o({
|
|
13614
13622
|
groupOfSlicesDataContext: v
|
|
13615
13623
|
}) ?? []).forEach(($) => {
|
|
13616
13624
|
s.forEach((w) => {
|
|
@@ -13622,7 +13630,7 @@ function fL(t) {
|
|
|
13622
13630
|
}) && T.add($);
|
|
13623
13631
|
});
|
|
13624
13632
|
}) : T.add(v), Array.from(T)?.forEach((k) => {
|
|
13625
|
-
const $ =
|
|
13633
|
+
const $ = vi({
|
|
13626
13634
|
dataContext: k,
|
|
13627
13635
|
yAxisField: c,
|
|
13628
13636
|
yList: S,
|
|
@@ -13631,7 +13639,7 @@ function fL(t) {
|
|
|
13631
13639
|
chartType: d,
|
|
13632
13640
|
chartSubType: u,
|
|
13633
13641
|
showOutliers: f,
|
|
13634
|
-
isFeatureCollectionLayer:
|
|
13642
|
+
isFeatureCollectionLayer: bi(g)
|
|
13635
13643
|
});
|
|
13636
13644
|
$ !== void 0 && p.push($);
|
|
13637
13645
|
});
|
|
@@ -13646,10 +13654,10 @@ function fL(t) {
|
|
|
13646
13654
|
}), Qf(e, h), { selectedIndexes: b, newSelectionDataItems: p };
|
|
13647
13655
|
}
|
|
13648
13656
|
function mL(t, e) {
|
|
13649
|
-
const i = [], a = [], o = I(t.uid, "config"), n = I(t.uid, "queryObject"), s =
|
|
13657
|
+
const i = [], a = [], o = I(t.uid, "config"), n = I(t.uid, "queryObject"), s = Ii(o), r = $i(o?.series ?? []), l = Y(o?.series);
|
|
13650
13658
|
return t.series.each((c, d) => {
|
|
13651
13659
|
if (o && c.visible && q(c.uid, "isOverlay") !== !0) {
|
|
13652
|
-
const u = o.series[0].x, f = ia(c), g = c instanceof
|
|
13660
|
+
const u = o.series[0].x, f = ia(c), g = c instanceof xi ? c.dataFields?.customValue ?? "" : "", h = Vn(c, d), b = e.get(d);
|
|
13653
13661
|
if (b !== void 0) {
|
|
13654
13662
|
let p;
|
|
13655
13663
|
if (c instanceof _e ? p = c.columns : c instanceof Nt ? p = c.slices : p = Re(c)?.clones, p !== void 0) {
|
|
@@ -13657,7 +13665,7 @@ function mL(t, e) {
|
|
|
13657
13665
|
p.each((x, C) => {
|
|
13658
13666
|
if (x && (S === void 0 || S.includes(C))) {
|
|
13659
13667
|
let v;
|
|
13660
|
-
h === y.BoxPlotSeries && x.dataItem instanceof ea ? v = x.dataItem.dataContext : x.dataItem instanceof ta || (v =
|
|
13668
|
+
h === y.BoxPlotSeries && x.dataItem instanceof ea ? v = x.dataItem.dataContext : x.dataItem instanceof ta || (v = vi({
|
|
13661
13669
|
dataContext: x.dataItem?.dataContext,
|
|
13662
13670
|
yList: r,
|
|
13663
13671
|
yAxisField: f,
|
|
@@ -13666,7 +13674,7 @@ function mL(t, e) {
|
|
|
13666
13674
|
chartType: h,
|
|
13667
13675
|
chartSubType: l,
|
|
13668
13676
|
showOutliers: s,
|
|
13669
|
-
isFeatureCollectionLayer:
|
|
13677
|
+
isFeatureCollectionLayer: bi(n)
|
|
13670
13678
|
})), v !== void 0 && i.push(v), a.push(x);
|
|
13671
13679
|
} else
|
|
13672
13680
|
Wt({
|
|
@@ -13787,7 +13795,7 @@ function hL(t) {
|
|
|
13787
13795
|
if (V.push(...W), S.series.length > 1 && T !== N.BarAndLineNoAggregation && T !== N.BarAndLineSplitByNoAggregation && (V = Bc({
|
|
13788
13796
|
data: V,
|
|
13789
13797
|
x: S.series[0].x,
|
|
13790
|
-
splitByField:
|
|
13798
|
+
splitByField: Ti(S.series[0].query?.where)
|
|
13791
13799
|
})), U(p.uid, { computedSelectionDataItems: V }), g === !0) {
|
|
13792
13800
|
const H = Array.from(new Set(P));
|
|
13793
13801
|
let z = I(
|
|
@@ -13801,18 +13809,18 @@ function hL(t) {
|
|
|
13801
13809
|
} else if (b !== void 0 && O)
|
|
13802
13810
|
R = mL(p, b);
|
|
13803
13811
|
else {
|
|
13804
|
-
const P = R === void 0 || R.length === 0, W = e instanceof
|
|
13812
|
+
const P = R === void 0 || R.length === 0, W = e instanceof xi ? e.dataFields?.customValue ?? "" : "", V = (H) => {
|
|
13805
13813
|
let z = H.dataItem?.dataContext;
|
|
13806
|
-
return z !== void 0 && v === y.BoxPlotSeries && z[L.boxPlot.boxPlotOutlierId] !== !0 && (z =
|
|
13814
|
+
return z !== void 0 && v === y.BoxPlotSeries && z[L.boxPlot.boxPlotOutlierId] !== !0 && (z = vi({
|
|
13807
13815
|
dataContext: z,
|
|
13808
13816
|
yAxisField: c,
|
|
13809
|
-
yList:
|
|
13817
|
+
yList: $i(S.series),
|
|
13810
13818
|
xAxisField: l,
|
|
13811
13819
|
splitBy: W,
|
|
13812
13820
|
chartType: v,
|
|
13813
13821
|
chartSubType: T,
|
|
13814
13822
|
showOutliers: x,
|
|
13815
|
-
isFeatureCollectionLayer:
|
|
13823
|
+
isFeatureCollectionLayer: bi(a)
|
|
13816
13824
|
})), In({
|
|
13817
13825
|
elementDataContext: z,
|
|
13818
13826
|
options: o,
|
|
@@ -13924,12 +13932,12 @@ async function Mo(t) {
|
|
|
13924
13932
|
else
|
|
13925
13933
|
try {
|
|
13926
13934
|
Bf(e, "updateSelectionCallbackDisposer");
|
|
13927
|
-
const r =
|
|
13935
|
+
const r = Ii(n), l = [], c = [];
|
|
13928
13936
|
let d = [];
|
|
13929
|
-
const u = /* @__PURE__ */ new Map(), { xAxisField: f } = i[0] ?? {}, g = E(n?.series), h = Y(n?.series), b =
|
|
13937
|
+
const u = /* @__PURE__ */ new Map(), { xAxisField: f } = i[0] ?? {}, g = E(n?.series), h = Y(n?.series), b = $i(n?.series ?? []);
|
|
13930
13938
|
let p;
|
|
13931
13939
|
if (s !== void 0 && (p = (await It(s)).find((C) => C.name === f)?.type), i.forEach((x) => {
|
|
13932
|
-
const { elementDataContext: C, yAxisField: v, splitBy: F } = x, T =
|
|
13940
|
+
const { elementDataContext: C, yAxisField: v, splitBy: F } = x, T = vi({
|
|
13933
13941
|
dataContext: C,
|
|
13934
13942
|
yAxisField: v,
|
|
13935
13943
|
yList: b,
|
|
@@ -13938,7 +13946,7 @@ async function Mo(t) {
|
|
|
13938
13946
|
chartType: g,
|
|
13939
13947
|
chartSubType: h,
|
|
13940
13948
|
showOutliers: r,
|
|
13941
|
-
isFeatureCollectionLayer:
|
|
13949
|
+
isFeatureCollectionLayer: bi(s)
|
|
13942
13950
|
});
|
|
13943
13951
|
T !== void 0 && c.push(T);
|
|
13944
13952
|
const { seriesIndex: k, elementIndex: $ } = x;
|
|
@@ -13994,7 +14002,7 @@ async function Mo(t) {
|
|
|
13994
14002
|
});
|
|
13995
14003
|
} catch (r) {
|
|
13996
14004
|
U(e.uid, { pendingSelectionQueries: !1 });
|
|
13997
|
-
const { httpStatus: l } = r instanceof
|
|
14005
|
+
const { httpStatus: l } = r instanceof hi ? r.details.details : r.details ?? {};
|
|
13998
14006
|
if (l === 429)
|
|
13999
14007
|
cL(e);
|
|
14000
14008
|
else
|
|
@@ -14111,12 +14119,12 @@ function xL(t, e) {
|
|
|
14111
14119
|
}
|
|
14112
14120
|
function CL(t, e) {
|
|
14113
14121
|
const i = t.renderer instanceof An ? new ir() : new tr();
|
|
14114
|
-
return i.disabled = !0, i.axis = t, Wn(i),
|
|
14122
|
+
return i.disabled = !0, i.axis = t, Wn(i), ci(i.uid, { isGuide: e }), vo({ chart: t.chart, label: i, labelType: ae.GuideLabel }), e && xL(t, i), i;
|
|
14115
14123
|
}
|
|
14116
14124
|
function vL(t) {
|
|
14117
14125
|
const { label: e, labelConfig: i, guideType: a } = t, o = e.axis.renderer instanceof $t;
|
|
14118
14126
|
let n;
|
|
14119
|
-
e instanceof ir || (o ? a ===
|
|
14127
|
+
e instanceof ir || (o ? a === Q.SFS ? n = L.verticalSurfaceGuideLabels : n = L.verticalLineGuideLabels : a === Q.SFS ? n = L.horizontalSurfaceGuideLabels : n = L.horizontalLineGuideLabels);
|
|
14120
14128
|
const s = { ...i };
|
|
14121
14129
|
s.content.rightToLeft = e.axis.rtl, At({ label: e, labelConfig: s, defaults: n }), e.axis.invalidateLabels();
|
|
14122
14130
|
}
|
|
@@ -14189,7 +14197,7 @@ function FL(t, e) {
|
|
|
14189
14197
|
}
|
|
14190
14198
|
function AL(t) {
|
|
14191
14199
|
const { axis: e, guideTooltipFormatter: i, utilsStrings: a } = t;
|
|
14192
|
-
|
|
14200
|
+
it(e.uid, {
|
|
14193
14201
|
guideTooltipFormatter: i ?? FL(e, a)
|
|
14194
14202
|
});
|
|
14195
14203
|
}
|
|
@@ -14226,7 +14234,7 @@ function Er(t, e) {
|
|
|
14226
14234
|
axisType: n,
|
|
14227
14235
|
axisMin: s,
|
|
14228
14236
|
axisMax: r
|
|
14229
|
-
}), c = e.style?.type ===
|
|
14237
|
+
}), c = e.style?.type === Q.SFS && a !== null && a !== void 0 ? ic({
|
|
14230
14238
|
inputValue: a,
|
|
14231
14239
|
axisType: n,
|
|
14232
14240
|
axisMin: s,
|
|
@@ -14329,15 +14337,15 @@ function DL(t, e) {
|
|
|
14329
14337
|
function wL(t, e) {
|
|
14330
14338
|
const { axisFill: i, label: a } = t;
|
|
14331
14339
|
if (e !== void 0) {
|
|
14332
|
-
if (t.id = e.name, t.visible = e.visible !== void 0 ? e.visible : t.visible, $L(t, e), e.style.type ===
|
|
14340
|
+
if (t.id = e.name, t.visible = e.visible !== void 0 ? e.visible : t.visible, $L(t, e), e.style.type === Q.SLS ? xo({
|
|
14333
14341
|
element: i,
|
|
14334
14342
|
fillSymbol: {
|
|
14335
|
-
type:
|
|
14343
|
+
type: Q.SFS,
|
|
14336
14344
|
color: e.style?.color,
|
|
14337
14345
|
outline: e.style
|
|
14338
14346
|
},
|
|
14339
14347
|
visible: e.visible
|
|
14340
|
-
}) : e.style.type ===
|
|
14348
|
+
}) : e.style.type === Q.SFS && xo({
|
|
14341
14349
|
element: i,
|
|
14342
14350
|
fillSymbol: e.style,
|
|
14343
14351
|
visible: e.visible
|
|
@@ -14415,7 +14423,7 @@ function WL(t) {
|
|
|
14415
14423
|
iLocale: e.chart.language.locale,
|
|
14416
14424
|
formatLocale: o
|
|
14417
14425
|
});
|
|
14418
|
-
if (n.numberFormat =
|
|
14426
|
+
if (n.numberFormat = ni(i.valueFormat), a !== void 0) {
|
|
14419
14427
|
const s = Ke(e, ce.Ticks);
|
|
14420
14428
|
for (let r = 0; r < a.length; r += 1) {
|
|
14421
14429
|
const l = s[r];
|
|
@@ -14492,7 +14500,7 @@ function GL(t) {
|
|
|
14492
14500
|
zL,
|
|
14493
14501
|
L.debounceTime
|
|
14494
14502
|
);
|
|
14495
|
-
|
|
14503
|
+
it(e.uid, {
|
|
14496
14504
|
debouncedUpdateMinGridDistanceForWrapBehavior: r
|
|
14497
14505
|
}), e.events.on(M.SizeChanged, r), e.dispatchImmediately(M.SizeChanged);
|
|
14498
14506
|
} else a === Ie.Stagger ? s = L.staggerMinGridDistance : s = e instanceof lt ? L.xCategoryAxisMinGridDistance : L.xAxisMinGridDistance;
|
|
@@ -14532,8 +14540,8 @@ function YL(t) {
|
|
|
14532
14540
|
});
|
|
14533
14541
|
const s = nt(e.uid, "labelsSymbol")?.angle ?? 0, l = im(e) >= n + 5;
|
|
14534
14542
|
if (!l && s === 0 || l && s === L.rotatedAxisLabel.rotation) {
|
|
14535
|
-
const c = l ? ln(a.content, e.rtl, L.axisLabel) : ln({ type:
|
|
14536
|
-
|
|
14543
|
+
const c = l ? ln(a.content, e.rtl, L.axisLabel) : ln({ type: Q.TS }, e.rtl, L.rotatedAxisLabel);
|
|
14544
|
+
it(e.uid, { labelsSymbol: c }), e.renderer.invalidateLabels();
|
|
14537
14545
|
}
|
|
14538
14546
|
}
|
|
14539
14547
|
}
|
|
@@ -14562,7 +14570,7 @@ function qL(t) {
|
|
|
14562
14570
|
const { chart: e } = t;
|
|
14563
14571
|
t.renderer.labels.template.paddingLeft = Number.NaN, t.renderer.labels.template.paddingRight = Number.NaN;
|
|
14564
14572
|
const i = nt(t.uid, "debouncedAxisLabelRotationCallback");
|
|
14565
|
-
if (i !== void 0 && (t.events.off(M.Validated, i),
|
|
14573
|
+
if (i !== void 0 && (t.events.off(M.Validated, i), it(t.uid, {
|
|
14566
14574
|
debouncedAxisLabelRotationCallback: void 0
|
|
14567
14575
|
})), e !== void 0) {
|
|
14568
14576
|
const o = I(e.uid, "config")?.axes?.[0].labels;
|
|
@@ -14570,7 +14578,7 @@ function qL(t) {
|
|
|
14570
14578
|
const n = ln(o.content, e.rtl, L.axisLabel), s = t.renderer.labels.template;
|
|
14571
14579
|
s.rotation = n.angle, s.verticalCenter = n.verticalCenter, s.horizontalCenter = n.horizontalCenter, Number.isFinite(n.yOffset) && (s.dy = n.yOffset);
|
|
14572
14580
|
}
|
|
14573
|
-
|
|
14581
|
+
it(t.uid, { labelsSymbol: void 0 });
|
|
14574
14582
|
}
|
|
14575
14583
|
}
|
|
14576
14584
|
function am(t) {
|
|
@@ -14582,18 +14590,18 @@ function jL(t) {
|
|
|
14582
14590
|
t.uid,
|
|
14583
14591
|
"debouncedAxisLabelWrapCallback"
|
|
14584
14592
|
);
|
|
14585
|
-
e !== void 0 && (t.events.off(M.DataRangeChanged, e),
|
|
14593
|
+
e !== void 0 && (t.events.off(M.DataRangeChanged, e), it(t.uid, { debouncedAxisLabelWrapCallback: void 0 }));
|
|
14586
14594
|
}
|
|
14587
14595
|
function ZL(t) {
|
|
14588
14596
|
am(t);
|
|
14589
14597
|
const e = nt(t.uid, "debouncedUpdateMinGridDistanceForWrapBehavior");
|
|
14590
|
-
e !== void 0 && (t.events.off(M.SizeChanged, e),
|
|
14598
|
+
e !== void 0 && (t.events.off(M.SizeChanged, e), it(t.uid, {
|
|
14591
14599
|
debouncedUpdateMinGridDistanceForWrapBehavior: void 0
|
|
14592
14600
|
}));
|
|
14593
14601
|
}
|
|
14594
14602
|
function KL(t) {
|
|
14595
14603
|
const e = nt(t.uid, "debouncedAxisLabelStaggerCallback");
|
|
14596
|
-
e !== void 0 && (t.events.off(M.DataRangeChanged, e),
|
|
14604
|
+
e !== void 0 && (t.events.off(M.DataRangeChanged, e), it(t.uid, {
|
|
14597
14605
|
debouncedAxisLabelStaggerCallback: void 0
|
|
14598
14606
|
})), t.renderer.ticks.each((i) => {
|
|
14599
14607
|
i.length = L.axisTickLength, i.dataItem?.label && (i.dataItem.label.dy = L.axisLabel.dy ?? 0);
|
|
@@ -14607,19 +14615,19 @@ function ac(t) {
|
|
|
14607
14615
|
const e = Ve(YL, L.debounceTime, {
|
|
14608
14616
|
leading: !0
|
|
14609
14617
|
});
|
|
14610
|
-
|
|
14618
|
+
it(t.uid, { debouncedAxisLabelRotationCallback: e }), t.events.on(M.Validated, e), t.dispatchImmediately(M.Validated);
|
|
14611
14619
|
}
|
|
14612
14620
|
function oc(t, e = 1) {
|
|
14613
14621
|
t.renderer.labels.template.wrap = !0, t.renderer.labels.template.paddingLeft = 0.5, t.renderer.labels.template.paddingRight = 0.5, t.renderer.labels.template.textAlign = "middle";
|
|
14614
14622
|
const i = Ve((a) => UL(a, e), L.debounceTime);
|
|
14615
|
-
|
|
14623
|
+
it(t.uid, { debouncedAxisLabelWrapCallback: i }), t.events.on(M.DataRangeChanged, i);
|
|
14616
14624
|
}
|
|
14617
14625
|
function JL(t) {
|
|
14618
14626
|
t.renderer.labels.template.maxWidth = L.yAxisLabelMaxWidth, t.renderer.labels.template.wrap = !0, t.renderer.labels.template.textAlign = "end";
|
|
14619
14627
|
}
|
|
14620
14628
|
function e0(t) {
|
|
14621
14629
|
const e = Ve(_L, L.debounceTime);
|
|
14622
|
-
|
|
14630
|
+
it(t.uid, { debouncedAxisLabelStaggerCallback: e }), t.events.on(M.DataRangeChanged, e);
|
|
14623
14631
|
}
|
|
14624
14632
|
function t0(t) {
|
|
14625
14633
|
const {
|
|
@@ -14689,9 +14697,9 @@ function a0(t, e = !0) {
|
|
|
14689
14697
|
function o0(t, e) {
|
|
14690
14698
|
let i, a;
|
|
14691
14699
|
const o = Vt(L.dataLabelInitialize);
|
|
14692
|
-
|
|
14700
|
+
ci(o.uid, { isDataLabel: !0 }), t.bullets.push(o);
|
|
14693
14701
|
const n = Vt(L.dataLabelInitialize, t.columns.template);
|
|
14694
|
-
return
|
|
14702
|
+
return ci(n.uid, { isDataLabel: !0 }), $s(n, t), $s(o, t), t.events.on(
|
|
14695
14703
|
M.Validated,
|
|
14696
14704
|
Ve(() => {
|
|
14697
14705
|
So(n) && n.clones.each((s) => {
|
|
@@ -14809,7 +14817,7 @@ function u0(t) {
|
|
|
14809
14817
|
if (c instanceof Ma && c.visible)
|
|
14810
14818
|
for (let b = 0; b < s.length; b += 1) {
|
|
14811
14819
|
let p;
|
|
14812
|
-
i === !0 ? p =
|
|
14820
|
+
i === !0 ? p = oi({
|
|
14813
14821
|
value: s[b].category,
|
|
14814
14822
|
dataContext: s[b].dataContext
|
|
14815
14823
|
}) : p = s[b].category.toString(), d === p && (o = !0), u === p && (n = !0);
|
|
@@ -14853,7 +14861,7 @@ function so(t) {
|
|
|
14853
14861
|
let s;
|
|
14854
14862
|
if (js({ isXAxis: a, chartType: n, valueFormat: o }) && !i)
|
|
14855
14863
|
s = e.push(new lt());
|
|
14856
|
-
else if (
|
|
14864
|
+
else if (ui(o))
|
|
14857
14865
|
s = e.push(new Ge());
|
|
14858
14866
|
else if (vt(o)) {
|
|
14859
14867
|
s = e.push(new Le());
|
|
@@ -15222,9 +15230,9 @@ function Gr(t) {
|
|
|
15222
15230
|
{ axis: w, start: P, end: W },
|
|
15223
15231
|
{ axis: O, start: V, end: H }
|
|
15224
15232
|
].forEach((ie) => {
|
|
15225
|
-
const { axis: ne, start:
|
|
15233
|
+
const { axis: ne, start: J, end: _ } = ie;
|
|
15226
15234
|
ne !== void 0 && ne.events.once(M.Validated, () => {
|
|
15227
|
-
Ds({ axis: ne, start:
|
|
15235
|
+
Ds({ axis: ne, start: J, end: _ });
|
|
15228
15236
|
});
|
|
15229
15237
|
}), $ !== void 0 && $.ghostLabel.setPropertyValue("disabled", !0), w !== void 0 && w.ghostLabel.setPropertyValue("disabled", !0), O !== void 0 && O.ghostLabel.setPropertyValue("disabled", !0);
|
|
15230
15238
|
}
|
|
@@ -15288,7 +15296,7 @@ function A0(t) {
|
|
|
15288
15296
|
const x = n === !0 ? e.xAxes.getIndex(0) : e.yAxes.getIndex(0), C = n === !0 ? e.xAxes.getIndex(1) : e.yAxes.getIndex(1);
|
|
15289
15297
|
p === $e.Stacked100 ? (x instanceof Le && (x.calculateTotals = !0), C instanceof Le && (C.calculateTotals = !0)) : (x instanceof Le && (x.calculateTotals = !1), C instanceof Le && (C.calculateTotals = !1));
|
|
15290
15298
|
}
|
|
15291
|
-
const
|
|
15299
|
+
const tt = {
|
|
15292
15300
|
InnerLabel: 0,
|
|
15293
15301
|
InnerLabelSecondary: 1,
|
|
15294
15302
|
AxisLabels: 2,
|
|
@@ -15297,16 +15305,16 @@ const et = {
|
|
|
15297
15305
|
function Xi(t, e) {
|
|
15298
15306
|
let i;
|
|
15299
15307
|
switch (e) {
|
|
15300
|
-
case
|
|
15308
|
+
case tt.InnerLabel:
|
|
15301
15309
|
i = "gaugeAutoResizeInnerLabelFirstDisposer";
|
|
15302
15310
|
break;
|
|
15303
|
-
case
|
|
15311
|
+
case tt.InnerLabelSecondary:
|
|
15304
15312
|
i = "gaugeAutoResizeInnerLabelSecondDisposer";
|
|
15305
15313
|
break;
|
|
15306
|
-
case
|
|
15314
|
+
case tt.AxisLabels:
|
|
15307
15315
|
i = "gaugeAutoResizeAxisLabelsDisposer";
|
|
15308
15316
|
break;
|
|
15309
|
-
case
|
|
15317
|
+
case tt.FirstAndLastLabels:
|
|
15310
15318
|
i = "gaugeAutoResizeFirstAndLastLabelsDisposer";
|
|
15311
15319
|
break;
|
|
15312
15320
|
}
|
|
@@ -15318,18 +15326,18 @@ function Xi(t, e) {
|
|
|
15318
15326
|
function T0(t) {
|
|
15319
15327
|
const { chart: e, labelList: i, scaleToAdjust: a, fontSize: o, type: n, axisConfig: s } = t;
|
|
15320
15328
|
let r = Number.NaN, l = Number.NaN, c = a;
|
|
15321
|
-
if (n ===
|
|
15322
|
-
const u = i[0], f = s?.innerLabel?.content?.verticalAlignment ??
|
|
15329
|
+
if (n === tt.InnerLabel) {
|
|
15330
|
+
const u = i[0], f = s?.innerLabel?.content?.verticalAlignment ?? te.Middle, g = u.dy ?? 0, h = Math.round(e.chartContainer.measuredHeight - e.radarContainer.pixelY - g), b = u.bbox.height * a;
|
|
15323
15331
|
let p = 0;
|
|
15324
15332
|
switch (f) {
|
|
15325
|
-
case
|
|
15333
|
+
case te.Bottom:
|
|
15326
15334
|
p = b;
|
|
15327
15335
|
break;
|
|
15328
|
-
case
|
|
15336
|
+
case te.Top:
|
|
15329
15337
|
p = -b;
|
|
15330
15338
|
break;
|
|
15331
|
-
case
|
|
15332
|
-
case
|
|
15339
|
+
case te.Middle:
|
|
15340
|
+
case te.Baseline:
|
|
15333
15341
|
p = b * 0.5;
|
|
15334
15342
|
break;
|
|
15335
15343
|
}
|
|
@@ -15342,17 +15350,17 @@ function T0(t) {
|
|
|
15342
15350
|
function Xr(t) {
|
|
15343
15351
|
const { chart: e, type: i, labelList: a, currentScale: o, currentFontSize: n, axisConfig: s } = t;
|
|
15344
15352
|
let r = Number.NaN, l = Number.NaN;
|
|
15345
|
-
if (i ===
|
|
15353
|
+
if (i === tt.InnerLabel) {
|
|
15346
15354
|
const c = typeof e.innerRadius == "number" ? e.innerRadius : e.innerRadius.value;
|
|
15347
15355
|
l = (e.xAxes.getIndex(0)?.measuredWidth !== 0 ? e.xAxes.getIndex(0)?.measuredWidth ?? 1 : 1) * c;
|
|
15348
15356
|
} else
|
|
15349
15357
|
l = e.xAxes.getIndex(0)?.measuredHeight ?? 1;
|
|
15350
15358
|
if (l > 1) {
|
|
15351
|
-
const c = i ===
|
|
15359
|
+
const c = i === tt.InnerLabel ? a[0]?.measuredWidth ?? 0 : a.find((d) => d.measuredWidth > 0 && d.measuredHeight > 0)?.measuredHeight ?? 0;
|
|
15352
15360
|
if (c > 0) {
|
|
15353
15361
|
const d = c / l;
|
|
15354
15362
|
if (d > 0) {
|
|
15355
|
-
const { axisLabelToInnerChartRatio: u, innerLabelToInnerChartRatio: f } = L.gauge, g = i ===
|
|
15363
|
+
const { axisLabelToInnerChartRatio: u, innerLabelToInnerChartRatio: f } = L.gauge, g = i === tt.InnerLabel ? f : u;
|
|
15356
15364
|
r = o * (g / d), r = T0({
|
|
15357
15365
|
chart: e,
|
|
15358
15366
|
labelList: a,
|
|
@@ -15372,14 +15380,14 @@ function Un(t) {
|
|
|
15372
15380
|
function k0(t) {
|
|
15373
15381
|
const { chart: e, axisConfig: i, axis: a } = t;
|
|
15374
15382
|
if (i.labels.content.font?.size === void 0 && i.onlyShowFirstAndLastLabels !== !0) {
|
|
15375
|
-
Xi(e,
|
|
15383
|
+
Xi(e, tt.AxisLabels), Xi(e, tt.FirstAndLastLabels);
|
|
15376
15384
|
const o = () => {
|
|
15377
15385
|
a.events.once(M.Validated, () => {
|
|
15378
15386
|
const s = Ke(a, ce.GaugeTicksWithLabels);
|
|
15379
15387
|
if (Un(s)) {
|
|
15380
15388
|
const r = s.map((f) => f.label), l = r[0].scale, c = r[0].fontSize, d = Xr({
|
|
15381
15389
|
chart: e,
|
|
15382
|
-
type:
|
|
15390
|
+
type: tt.AxisLabels,
|
|
15383
15391
|
labelList: r,
|
|
15384
15392
|
currentScale: l,
|
|
15385
15393
|
currentFontSize: c,
|
|
@@ -15395,7 +15403,7 @@ function k0(t) {
|
|
|
15395
15403
|
const n = e.events.on(M.SizeChanged, o);
|
|
15396
15404
|
U(e.uid, { gaugeAutoResizeAxisLabelsDisposer: n }), o();
|
|
15397
15405
|
} else {
|
|
15398
|
-
Xi(e,
|
|
15406
|
+
Xi(e, tt.AxisLabels);
|
|
15399
15407
|
const o = Ke(a, ce.GaugeTicksWithLabels);
|
|
15400
15408
|
o.length > 0 && o.map((s) => s.label).forEach((s) => {
|
|
15401
15409
|
s.scale = 1;
|
|
@@ -15403,7 +15411,7 @@ function k0(t) {
|
|
|
15403
15411
|
}
|
|
15404
15412
|
}
|
|
15405
15413
|
function I0(t, e) {
|
|
15406
|
-
Xi(t,
|
|
15414
|
+
Xi(t, tt.InnerLabel), Xi(t, tt.InnerLabelSecondary);
|
|
15407
15415
|
const i = () => {
|
|
15408
15416
|
const s = I(t.uid, "config")?.axes?.[0];
|
|
15409
15417
|
if (s?.innerLabel?.visible !== !1 && s?.innerLabel?.content?.font?.size === void 0) {
|
|
@@ -15411,7 +15419,7 @@ function I0(t, e) {
|
|
|
15411
15419
|
if (r !== void 0 && r > 0) {
|
|
15412
15420
|
const l = Xr({
|
|
15413
15421
|
chart: t,
|
|
15414
|
-
type:
|
|
15422
|
+
type: tt.InnerLabel,
|
|
15415
15423
|
labelList: [e],
|
|
15416
15424
|
currentScale: e.scale,
|
|
15417
15425
|
currentFontSize: e.fontSize,
|
|
@@ -15433,20 +15441,20 @@ function ws(t) {
|
|
|
15433
15441
|
function $0(t) {
|
|
15434
15442
|
const { chart: e, axisConfig: i, axis: a } = t;
|
|
15435
15443
|
if (ws(i)) {
|
|
15436
|
-
Xi(e,
|
|
15444
|
+
Xi(e, tt.AxisLabels), Xi(e, tt.FirstAndLastLabels);
|
|
15437
15445
|
const o = () => {
|
|
15438
15446
|
const s = Ke(a, ce.GaugeFirstAndLastGuides);
|
|
15439
15447
|
if (Un(s)) {
|
|
15440
15448
|
const r = s.map((u) => u.label), l = r[0].scale, c = r[0].fontSize, d = Xr({
|
|
15441
15449
|
chart: e,
|
|
15442
|
-
type:
|
|
15450
|
+
type: tt.FirstAndLastLabels,
|
|
15443
15451
|
labelList: r,
|
|
15444
15452
|
currentScale: l,
|
|
15445
15453
|
currentFontSize: c,
|
|
15446
15454
|
axisConfig: i
|
|
15447
15455
|
});
|
|
15448
15456
|
Number.isFinite(d) && d > 0 && r.forEach((u) => {
|
|
15449
|
-
|
|
15457
|
+
ci(u.uid, {
|
|
15450
15458
|
originalWidth: u.measuredWidth / u.scale,
|
|
15451
15459
|
originalHeight: u.measuredHeight / u.scale
|
|
15452
15460
|
}), u.scale = d;
|
|
@@ -15460,7 +15468,7 @@ function $0(t) {
|
|
|
15460
15468
|
);
|
|
15461
15469
|
U(e.uid, { gaugeAutoResizeFirstAndLastLabelsDisposer: n }), o();
|
|
15462
15470
|
} else
|
|
15463
|
-
Xi(e,
|
|
15471
|
+
Xi(e, tt.FirstAndLastLabels), Ke(a, ce.GaugeFirstAndLastGuides).map(
|
|
15464
15472
|
(n) => n.label
|
|
15465
15473
|
).forEach((n) => {
|
|
15466
15474
|
n.scale = 1;
|
|
@@ -15558,7 +15566,7 @@ function R0(t) {
|
|
|
15558
15566
|
}
|
|
15559
15567
|
function B0(t) {
|
|
15560
15568
|
const e = Vt(void 0, t.radarContainer);
|
|
15561
|
-
e.isMeasured = !1,
|
|
15569
|
+
e.isMeasured = !1, ci(e.uid, { isGaugeAxisInnerLabel: !0 }), I0(t, e);
|
|
15562
15570
|
}
|
|
15563
15571
|
function M0(t) {
|
|
15564
15572
|
const { chart: e, innerLabelConfig: i, valueFormat: a, gaugeValue: o, gaugeInnerLabelFormatter: n } = t, s = e.radarContainer.children.values.find(
|
|
@@ -15583,7 +15591,7 @@ function N0(t) {
|
|
|
15583
15591
|
}
|
|
15584
15592
|
function P0(t) {
|
|
15585
15593
|
const e = new ir();
|
|
15586
|
-
return e.disabled = !0, e.axis = t, Wn(e), e.padding(10, 10, 10, 10),
|
|
15594
|
+
return e.disabled = !0, e.axis = t, Wn(e), e.padding(10, 10, 10, 10), ci(e.uid, { isGaugeAxisLabel: !0 }), e;
|
|
15587
15595
|
}
|
|
15588
15596
|
function V0(t) {
|
|
15589
15597
|
const { axis: e, min: i, max: a, labelsIncrement: o, numberOfIntervals: n, valueFormat: s } = t, r = Ha(s);
|
|
@@ -15717,14 +15725,14 @@ function U0(t) {
|
|
|
15717
15725
|
if (s !== void 0)
|
|
15718
15726
|
r = s(n);
|
|
15719
15727
|
else {
|
|
15720
|
-
const l =
|
|
15728
|
+
const l = ni(e), c = Ot({
|
|
15721
15729
|
type: y.NumberAxisFormat,
|
|
15722
15730
|
iLocale: i,
|
|
15723
15731
|
formatLocale: a
|
|
15724
15732
|
});
|
|
15725
15733
|
c.numberFormat = l, r = c.format(`${n}`), r = ft({
|
|
15726
15734
|
textSymbol: {
|
|
15727
|
-
type:
|
|
15735
|
+
type: Q.TS,
|
|
15728
15736
|
...o,
|
|
15729
15737
|
text: r
|
|
15730
15738
|
},
|
|
@@ -15740,14 +15748,14 @@ function dm(t) {
|
|
|
15740
15748
|
if (s !== void 0)
|
|
15741
15749
|
r = s(n);
|
|
15742
15750
|
else {
|
|
15743
|
-
const l =
|
|
15751
|
+
const l = ni(e), c = Ot({
|
|
15744
15752
|
type: y.NumberAxisFormat,
|
|
15745
15753
|
iLocale: i,
|
|
15746
15754
|
formatLocale: a
|
|
15747
15755
|
});
|
|
15748
15756
|
c.numberFormat = l, r = c.format(`${n}`), r = ft({
|
|
15749
15757
|
textSymbol: {
|
|
15750
|
-
type:
|
|
15758
|
+
type: Q.TS,
|
|
15751
15759
|
...o,
|
|
15752
15760
|
text: r
|
|
15753
15761
|
},
|
|
@@ -16060,7 +16068,7 @@ function dF(t, e) {
|
|
|
16060
16068
|
}
|
|
16061
16069
|
function uF(t, e) {
|
|
16062
16070
|
t.chart.legend.events.once(M.Validated, () => {
|
|
16063
|
-
|
|
16071
|
+
di({
|
|
16064
16072
|
element: t.legendDataItem?.marker.children.getIndex(0),
|
|
16065
16073
|
stylingInfo: e
|
|
16066
16074
|
}), t.chart.legend.invalidate();
|
|
@@ -16080,7 +16088,7 @@ function fF(t) {
|
|
|
16080
16088
|
};
|
|
16081
16089
|
let h = {};
|
|
16082
16090
|
const b = Vc(a);
|
|
16083
|
-
if (e.columns.length === 0 ? h =
|
|
16091
|
+
if (e.columns.length === 0 ? h = Fi({
|
|
16084
16092
|
seriesConfig: i,
|
|
16085
16093
|
seriesIndex: a,
|
|
16086
16094
|
seriesSymbol: f ?? b,
|
|
@@ -16097,19 +16105,19 @@ function fF(t) {
|
|
|
16097
16105
|
colorMatch: s,
|
|
16098
16106
|
rendererType: r
|
|
16099
16107
|
}), v = (S[L.xAxisField] === L.nullValue && i.nullCategory?.symbol !== void 0 ? i.nullCategory.symbol : f) ?? b;
|
|
16100
|
-
h =
|
|
16108
|
+
h = Fi({
|
|
16101
16109
|
...g,
|
|
16102
16110
|
seriesSymbol: v,
|
|
16103
16111
|
element: p,
|
|
16104
16112
|
rendererSymbol: x
|
|
16105
|
-
}),
|
|
16113
|
+
}), di({ element: p, stylingInfo: h.stylingInfo }), d.add(JSON.stringify(h.symbolWithColorInfo));
|
|
16106
16114
|
}
|
|
16107
16115
|
}), o > 1) {
|
|
16108
16116
|
const p = e.chart.legend.markers.values;
|
|
16109
16117
|
p.length !== 0 ? p.forEach((S) => {
|
|
16110
16118
|
if (S.dataItem instanceof ta) {
|
|
16111
16119
|
const x = S.dataItem.marker.children.getIndex(0);
|
|
16112
|
-
x !== void 0 && x.baseSprite?.parent instanceof _e ?
|
|
16120
|
+
x !== void 0 && x.baseSprite?.parent instanceof _e ? di({
|
|
16113
16121
|
element: x,
|
|
16114
16122
|
stylingInfo: h.stylingInfo
|
|
16115
16123
|
}) : c = !0;
|
|
@@ -16155,7 +16163,7 @@ function mm(t) {
|
|
|
16155
16163
|
(b === N.BarAndLineSplitBy || b === N.BarAndLineSplitByNoAggregation) && (p = Ws({
|
|
16156
16164
|
subtypeInfo: n,
|
|
16157
16165
|
fieldList: c,
|
|
16158
|
-
fieldName:
|
|
16166
|
+
fieldName: Ti(S),
|
|
16159
16167
|
fieldValueToMatch: p
|
|
16160
16168
|
}) ?? p), Kt(i, p), Br({
|
|
16161
16169
|
series: i,
|
|
@@ -16208,10 +16216,10 @@ function hF(t) {
|
|
|
16208
16216
|
rotationChanged: !1,
|
|
16209
16217
|
stackedType: i.stackedType,
|
|
16210
16218
|
isRotated: h
|
|
16211
|
-
}), u.dataFields.customValue = l?.query?.where, Wf(u.columns.template, u), u.columns.template.width = ot(100),
|
|
16219
|
+
}), u.dataFields.customValue = l?.query?.where, Wf(u.columns.template, u), u.columns.template.width = ot(100), Vi({
|
|
16212
16220
|
element: u.columns.template,
|
|
16213
16221
|
customSelectionTheme: s
|
|
16214
|
-
}), Sa(e, u.columns.template), Ro(u), gF(u),
|
|
16222
|
+
}), Sa(e, u.columns.template), Ro(u), gF(u), Pi(u), u;
|
|
16215
16223
|
}
|
|
16216
16224
|
function pF(t) {
|
|
16217
16225
|
const { seriesConfig: e, series: i, seriesIndex: a, axes: o, utilsStrings: n, fieldList: s, queryObject: r, stackedType: l, options: c } = t;
|
|
@@ -16265,7 +16273,7 @@ function bF(t, e) {
|
|
|
16265
16273
|
}
|
|
16266
16274
|
function yF(t) {
|
|
16267
16275
|
const e = Vt(L.dataLabelInitialize);
|
|
16268
|
-
return
|
|
16276
|
+
return ci(e.uid, { isDataLabel: !0 }), t.bullets.push(e), Rr(e), Or(y.HistogramSeries, e), bF(e, t), e.html = "{valueX}", e;
|
|
16269
16277
|
}
|
|
16270
16278
|
function SF(t) {
|
|
16271
16279
|
const { numberFormatter: e, dataLabelsConfigContent: i } = t;
|
|
@@ -16291,7 +16299,7 @@ function CF(t) {
|
|
|
16291
16299
|
let r;
|
|
16292
16300
|
const l = ht(a.rtl);
|
|
16293
16301
|
return s === !1 ? r = (c, d, u) => "" : r = (c, d, u) => {
|
|
16294
|
-
const f = Oe(o, i.x), g =
|
|
16302
|
+
const f = Oe(o, i.x), g = li(f, e?.[0].title?.content?.text), h = li(n.statistics.count, e?.[1].title?.content?.text), b = $a({
|
|
16295
16303
|
series: a,
|
|
16296
16304
|
callbackName: "tooltipValueYNumberFormatCallback",
|
|
16297
16305
|
value: c
|
|
@@ -16343,7 +16351,7 @@ const cs = {
|
|
|
16343
16351
|
Count: "count",
|
|
16344
16352
|
Start: "minValue",
|
|
16345
16353
|
End: "maxValue"
|
|
16346
|
-
},
|
|
16354
|
+
}, et = {
|
|
16347
16355
|
Mean: "Mean",
|
|
16348
16356
|
Median: "Median",
|
|
16349
16357
|
StdDev: "Standard Deviation",
|
|
@@ -16368,13 +16376,13 @@ function FF(t) {
|
|
|
16368
16376
|
const g = o.bins.map((k) => k.count), h = Math.max(...g), { mean: b, stddev: p, median: S } = o, x = b - p, C = b + p;
|
|
16369
16377
|
let v = { x: Number.NaN, y: Number.NaN }, F = { x: Number.NaN, y: Number.NaN };
|
|
16370
16378
|
switch (d) {
|
|
16371
|
-
case
|
|
16379
|
+
case et.Mean:
|
|
16372
16380
|
v = { x: b, y: 0 }, F = { x: b, y: h };
|
|
16373
16381
|
break;
|
|
16374
|
-
case
|
|
16382
|
+
case et.Median:
|
|
16375
16383
|
v = { x: S, y: 0 }, F = { x: S, y: h };
|
|
16376
16384
|
break;
|
|
16377
|
-
case
|
|
16385
|
+
case et.StdDev:
|
|
16378
16386
|
u === !0 ? (v = { x: C, y: 0 }, F = { x: C, y: h }) : (v = { x, y: 0 }, F = { x, y: h });
|
|
16379
16387
|
break;
|
|
16380
16388
|
}
|
|
@@ -16384,19 +16392,19 @@ function FF(t) {
|
|
|
16384
16392
|
e.data = T.data;
|
|
16385
16393
|
}
|
|
16386
16394
|
let f = e.data[0]?.x;
|
|
16387
|
-
if (d ===
|
|
16395
|
+
if (d === et.StdDev && (f = o?.stddev ?? q(e.uid, "stddev"), Xe(e.uid, { stddev: f })), f !== void 0) {
|
|
16388
16396
|
let g = d;
|
|
16389
16397
|
switch (d) {
|
|
16390
|
-
case
|
|
16398
|
+
case et.Mean:
|
|
16391
16399
|
g = n.overlays.mean;
|
|
16392
16400
|
break;
|
|
16393
|
-
case
|
|
16401
|
+
case et.Median:
|
|
16394
16402
|
g = n.overlays.median;
|
|
16395
16403
|
break;
|
|
16396
|
-
case
|
|
16404
|
+
case et.StdDev:
|
|
16397
16405
|
g = n.overlays.stdDev;
|
|
16398
16406
|
break;
|
|
16399
|
-
case
|
|
16407
|
+
case et.Trendline:
|
|
16400
16408
|
g = n.overlays.trendline;
|
|
16401
16409
|
break;
|
|
16402
16410
|
}
|
|
@@ -16417,8 +16425,8 @@ function AF(t, e, i) {
|
|
|
16417
16425
|
const a = new ue();
|
|
16418
16426
|
return Xe(a.uid, {
|
|
16419
16427
|
isOverlay: !0,
|
|
16420
|
-
type:
|
|
16421
|
-
}), a.xAxis = t, a.yAxis = e, a.dataFields.valueX = "x", a.dataFields.valueY = "y", Kt(a, i.overlays.normal), a.hidden = !0, a.id =
|
|
16428
|
+
type: et.Normal
|
|
16429
|
+
}), a.xAxis = t, a.yAxis = e, a.dataFields.valueX = "x", a.dataFields.valueY = "y", Kt(a, i.overlays.normal), a.hidden = !0, a.id = et.Normal, a;
|
|
16422
16430
|
}
|
|
16423
16431
|
function TF(t) {
|
|
16424
16432
|
const { lineSeries: e, overlay: i, seriesData: a, numberOfPoints: o } = t;
|
|
@@ -16450,7 +16458,7 @@ function kF(t) {
|
|
|
16450
16458
|
const { chart: e, seriesConfig: i, axisList: a = [], hideLoaderHandle: o, utilsStrings: n, selectionTheme: s } = t, r = [], l = new _e();
|
|
16451
16459
|
Qt(l, o), l.id = i.id, l.hiddenInLegend = !0;
|
|
16452
16460
|
const [c, d] = a;
|
|
16453
|
-
if (c !== void 0 && (l.xAxis = c), d !== void 0 && (l.yAxis = d), vF(l), yF(l), l.dataItems.template.locations.valueX = 1, l.dataItems.template.locations.openValueX = 0, l.dataFields.openValueX = cs.Start, l.dataFields.valueX = cs.End, l.dataFields.valueY = cs.Count, l.dataFields.customValue = i.x,
|
|
16461
|
+
if (c !== void 0 && (l.xAxis = c), d !== void 0 && (l.yAxis = d), vF(l), yF(l), l.dataItems.template.locations.valueX = 1, l.dataItems.template.locations.openValueX = 0, l.dataFields.openValueX = cs.Start, l.dataFields.valueX = cs.End, l.dataFields.valueY = cs.Count, l.dataFields.customValue = i.x, Pi(l), Vi({
|
|
16454
16462
|
element: l.columns.template,
|
|
16455
16463
|
customSelectionTheme: s
|
|
16456
16464
|
}), Sa(e, l.columns.template), r.push(l), c !== void 0 && d !== void 0) {
|
|
@@ -16458,28 +16466,28 @@ function kF(t) {
|
|
|
16458
16466
|
zo({
|
|
16459
16467
|
xAxis: c,
|
|
16460
16468
|
yAxis: d,
|
|
16461
|
-
type:
|
|
16469
|
+
type: et.Mean,
|
|
16462
16470
|
hideLoaderHandle: o
|
|
16463
16471
|
})
|
|
16464
16472
|
), r.push(
|
|
16465
16473
|
zo({
|
|
16466
16474
|
xAxis: c,
|
|
16467
16475
|
yAxis: d,
|
|
16468
|
-
type:
|
|
16476
|
+
type: et.Median,
|
|
16469
16477
|
hideLoaderHandle: o
|
|
16470
16478
|
})
|
|
16471
16479
|
);
|
|
16472
16480
|
const u = zo({
|
|
16473
16481
|
xAxis: c,
|
|
16474
16482
|
yAxis: d,
|
|
16475
|
-
type:
|
|
16483
|
+
type: et.StdDev,
|
|
16476
16484
|
hideLoaderHandle: o
|
|
16477
16485
|
});
|
|
16478
16486
|
Xe(u.uid, { upper: !1 });
|
|
16479
16487
|
const f = zo({
|
|
16480
16488
|
xAxis: c,
|
|
16481
16489
|
yAxis: d,
|
|
16482
|
-
type:
|
|
16490
|
+
type: et.StdDev,
|
|
16483
16491
|
hideLoaderHandle: o
|
|
16484
16492
|
});
|
|
16485
16493
|
Xe(f.uid, { upper: !0 }), u.events.on(M.Hidden, () => {
|
|
@@ -16498,7 +16506,7 @@ function IF(t) {
|
|
|
16498
16506
|
let n;
|
|
16499
16507
|
const s = i.fillSymbol ?? kc();
|
|
16500
16508
|
if (e.columns.each((r) => {
|
|
16501
|
-
const l =
|
|
16509
|
+
const l = Fi({
|
|
16502
16510
|
element: r,
|
|
16503
16511
|
seriesConfig: i,
|
|
16504
16512
|
seriesSymbol: s,
|
|
@@ -16508,7 +16516,7 @@ function IF(t) {
|
|
|
16508
16516
|
});
|
|
16509
16517
|
n = l.symbolWithColorInfo;
|
|
16510
16518
|
const c = l.stylingInfo;
|
|
16511
|
-
|
|
16519
|
+
di({ element: r, stylingInfo: c });
|
|
16512
16520
|
}), n !== void 0) {
|
|
16513
16521
|
const r = /* @__PURE__ */ new Map();
|
|
16514
16522
|
r.set(0, n), Bt({
|
|
@@ -16536,14 +16544,14 @@ async function $F(t) {
|
|
|
16536
16544
|
const p = a[b];
|
|
16537
16545
|
if (q(p?.uid, "isOverlay") === !0 && p instanceof ue) {
|
|
16538
16546
|
const S = q(p.uid, "type");
|
|
16539
|
-
if (S ===
|
|
16547
|
+
if (S === et.Normal) {
|
|
16540
16548
|
if (h?.comparisonDistribution && h?.comparisonDistribution.symbol?.color === void 0) {
|
|
16541
16549
|
const x = jo(S), C = h?.comparisonDistribution?.symbol ?? {
|
|
16542
|
-
type:
|
|
16550
|
+
type: Q.SLS
|
|
16543
16551
|
};
|
|
16544
16552
|
h.comparisonDistribution.symbol = {
|
|
16545
16553
|
...C,
|
|
16546
|
-
color:
|
|
16554
|
+
color: ai({
|
|
16547
16555
|
colorIndex: x,
|
|
16548
16556
|
histogramOverlays: !0
|
|
16549
16557
|
})
|
|
@@ -16557,20 +16565,20 @@ async function $F(t) {
|
|
|
16557
16565
|
} else {
|
|
16558
16566
|
let x;
|
|
16559
16567
|
switch (S) {
|
|
16560
|
-
case
|
|
16568
|
+
case et.Mean:
|
|
16561
16569
|
x = h?.mean;
|
|
16562
16570
|
break;
|
|
16563
|
-
case
|
|
16571
|
+
case et.Median:
|
|
16564
16572
|
x = h?.median;
|
|
16565
16573
|
break;
|
|
16566
|
-
case
|
|
16574
|
+
case et.StdDev:
|
|
16567
16575
|
x = h?.standardDeviation;
|
|
16568
16576
|
break;
|
|
16569
16577
|
}
|
|
16570
16578
|
if (x && x.symbol?.color === void 0) {
|
|
16571
|
-
x.symbol = { ...x.symbol, type:
|
|
16579
|
+
x.symbol = { ...x.symbol, type: Q.SLS };
|
|
16572
16580
|
const C = jo(S);
|
|
16573
|
-
x.symbol.color =
|
|
16581
|
+
x.symbol.color = ai({
|
|
16574
16582
|
colorIndex: C,
|
|
16575
16583
|
histogramOverlays: !0
|
|
16576
16584
|
});
|
|
@@ -16646,7 +16654,7 @@ function DF(t) {
|
|
|
16646
16654
|
);
|
|
16647
16655
|
let o = e ?? "";
|
|
16648
16656
|
const { dataItem: n } = i;
|
|
16649
|
-
if (n instanceof
|
|
16657
|
+
if (n instanceof ri) {
|
|
16650
16658
|
const { slice: s } = n;
|
|
16651
16659
|
if (s !== void 0 && !So(s))
|
|
16652
16660
|
o = "";
|
|
@@ -16665,7 +16673,7 @@ function wF(t) {
|
|
|
16665
16673
|
const e = t.labels.template;
|
|
16666
16674
|
e.maxWidth = L.pieChart.dataLabels.maxWidth ?? Number.NaN, e.wrap = L.pieChart.dataLabels.wrap ?? !0, e.events.on(M.Over, (i) => {
|
|
16667
16675
|
const { dataItem: a } = i.target ?? {};
|
|
16668
|
-
a instanceof
|
|
16676
|
+
a instanceof ri && a.slice.showTooltip();
|
|
16669
16677
|
}), DF(t);
|
|
16670
16678
|
}
|
|
16671
16679
|
function OF(t, e) {
|
|
@@ -16779,9 +16787,9 @@ function NF(t) {
|
|
|
16779
16787
|
);
|
|
16780
16788
|
if (l !== void 0) {
|
|
16781
16789
|
const { dataItem: c } = a;
|
|
16782
|
-
if (c instanceof
|
|
16790
|
+
if (c instanceof ri) {
|
|
16783
16791
|
const d = c.properties.category ?? "", u = c.dataContext;
|
|
16784
|
-
let f =
|
|
16792
|
+
let f = si(u);
|
|
16785
16793
|
f === void 0 && (f = d);
|
|
16786
16794
|
const g = c.values?.value?.value, h = c.values?.value?.percent;
|
|
16787
16795
|
typeof g == "number" && g !== 0 && s?.series?.[0]?.dataTooltipVisible !== !1 ? (a.tooltip.disabled = !1, MF(a), o = l(`${d}`, g, h, f)) : a.tooltip.disabled = !0;
|
|
@@ -16830,11 +16838,11 @@ function EF(t) {
|
|
|
16830
16838
|
}
|
|
16831
16839
|
}
|
|
16832
16840
|
} : a;
|
|
16833
|
-
return
|
|
16841
|
+
return Vi({
|
|
16834
16842
|
element: l.slices.template,
|
|
16835
16843
|
useNativeState: !0,
|
|
16836
16844
|
customSelectionTheme: d
|
|
16837
|
-
}), l.slices.template.states.removeKey("hover"),
|
|
16845
|
+
}), l.slices.template.states.removeKey("hover"), Pi(l), l.hidden = r === !1, Ro(l), l;
|
|
16838
16846
|
}
|
|
16839
16847
|
function HF(t) {
|
|
16840
16848
|
const { series: e, pieSlicesSymbols: i, seriesConfig: a, selectionTheme: o } = t;
|
|
@@ -16850,7 +16858,7 @@ function HF(t) {
|
|
|
16850
16858
|
colorRampIndex: s,
|
|
16851
16859
|
isChartFillSymbol: !0
|
|
16852
16860
|
});
|
|
16853
|
-
o !== void 0 && o.selectedElementsTheme === void 0 &&
|
|
16861
|
+
o !== void 0 && o.selectedElementsTheme === void 0 && di({
|
|
16854
16862
|
element: n,
|
|
16855
16863
|
stylingInfo: c,
|
|
16856
16864
|
stateKey: st.Active
|
|
@@ -16868,7 +16876,7 @@ async function zF(t) {
|
|
|
16868
16876
|
fieldList: h,
|
|
16869
16877
|
labelUpdateNeeded: o,
|
|
16870
16878
|
chartSubType: d,
|
|
16871
|
-
colorMatch:
|
|
16879
|
+
colorMatch: ki(e),
|
|
16872
16880
|
utilsStrings: n
|
|
16873
16881
|
};
|
|
16874
16882
|
}
|
|
@@ -16904,7 +16912,7 @@ function XF(t) {
|
|
|
16904
16912
|
f.dataItem = {
|
|
16905
16913
|
dataContext: e
|
|
16906
16914
|
};
|
|
16907
|
-
const { symbolWithColorInfo: g } =
|
|
16915
|
+
const { symbolWithColorInfo: g } = Fi({
|
|
16908
16916
|
element: f,
|
|
16909
16917
|
seriesConfig: i,
|
|
16910
16918
|
y: i.y,
|
|
@@ -16944,7 +16952,7 @@ function lc(t, e) {
|
|
|
16944
16952
|
const C = an(s.slices, x);
|
|
16945
16953
|
C?.fillSymbol?.color !== void 0 && b.add(C.fillSymbol.color);
|
|
16946
16954
|
}), t.forEach((p, S) => {
|
|
16947
|
-
const x = p[L.pieChart.technicalFieldSliceId], C = an(s.slices, x), v =
|
|
16955
|
+
const x = p[L.pieChart.technicalFieldSliceId], C = an(s.slices, x), v = Ai(p), F = XF({
|
|
16948
16956
|
dataContext: p,
|
|
16949
16957
|
seriesConfig: s,
|
|
16950
16958
|
existingSlicesColors: b,
|
|
@@ -17004,7 +17012,7 @@ function UF(t) {
|
|
|
17004
17012
|
const { chart: e, seriesConfig: i, series: a, pieSlicesSymbols: o, options: n, utilsStrings: s } = t, { tooltipFormatter: r, dataLabelFormatter: l } = n ?? {}, { x: c, y: d, id: u, innerRadius: f, startAngle: g, endAngle: h } = i;
|
|
17005
17013
|
a.id = u;
|
|
17006
17014
|
const b = Y([i]), p = L.pieChart;
|
|
17007
|
-
a.dataFields.value = b !== N.PieFromFields ? d : Ta, a.dataFields.category = b !== N.PieFromFields ? c :
|
|
17015
|
+
a.dataFields.value = b !== N.PieFromFields ? d : Ta, a.dataFields.category = b !== N.PieFromFields ? c : ii;
|
|
17008
17016
|
const S = e.radius instanceof tn ? e.radius.value : e.radius;
|
|
17009
17017
|
e.innerRadius = ot((f ?? p.innerRadius) * S), a.startAngle = g ?? p.min, a.endAngle = h ?? 360 + a.startAngle, RF({
|
|
17010
17018
|
pieSeries: a,
|
|
@@ -17062,7 +17070,7 @@ function _F(t, e) {
|
|
|
17062
17070
|
}
|
|
17063
17071
|
function qF(t) {
|
|
17064
17072
|
const e = Vt(L.dataLabelInitialize);
|
|
17065
|
-
return
|
|
17073
|
+
return ci(e.uid, { isDataLabel: !0 }), t.bullets.push(e), _F(e, t), e.html = "{valueX} - {valueY}", e;
|
|
17066
17074
|
}
|
|
17067
17075
|
function jF(t) {
|
|
17068
17076
|
const { numberFormatter: e, dataLabelsConfigContent: i } = t;
|
|
@@ -17088,7 +17096,7 @@ function KF(t) {
|
|
|
17088
17096
|
let s;
|
|
17089
17097
|
const r = ht(a.rtl);
|
|
17090
17098
|
return n === !1 ? s = (l, c, d) => "" : s = (l, c, d) => {
|
|
17091
|
-
const u = Oe(o, i.x), f =
|
|
17099
|
+
const u = Oe(o, i.x), f = li(u, e?.[0].title?.content?.text), g = Oe(o, i.y), h = li(g, e?.[1].title?.content?.text), b = $a({
|
|
17092
17100
|
series: a,
|
|
17093
17101
|
callbackName: "tooltipValueXNumberFormatCallback",
|
|
17094
17102
|
value: l
|
|
@@ -17178,7 +17186,7 @@ function aA(t) {
|
|
|
17178
17186
|
const { xAxis: e, yAxis: i, x: a, y: o, name: n, hideLoaderHandle: s } = t, r = new ue();
|
|
17179
17187
|
return Kt(r, n), Qt(r, s), r.ignoreMinMax = !0, Xe(r.uid, {
|
|
17180
17188
|
isOverlay: !0,
|
|
17181
|
-
type:
|
|
17189
|
+
type: et.Trendline
|
|
17182
17190
|
}), r.dataFields.valueX = a, r.dataFields.valueY = o, r.xAxis = e, r.yAxis = i, r.hidden = !0, r;
|
|
17183
17191
|
}
|
|
17184
17192
|
function oA(t) {
|
|
@@ -17195,9 +17203,9 @@ function oA(t) {
|
|
|
17195
17203
|
}
|
|
17196
17204
|
e.hiddenInLegend = i.overlays?.trendLine?.created !== !0;
|
|
17197
17205
|
const r = i.overlays?.trendLine?.created === !0 && i.overlays.trendLine.visible !== !1, l = i.overlays?.trendLine?.symbol ?? {
|
|
17198
|
-
type:
|
|
17206
|
+
type: Q.SLS
|
|
17199
17207
|
};
|
|
17200
|
-
l.color === void 0 && (l.color =
|
|
17208
|
+
l.color === void 0 && (l.color = ai({ colorIndex: 1 })), Ut({
|
|
17201
17209
|
element: e,
|
|
17202
17210
|
lineSymbol: l ?? To(),
|
|
17203
17211
|
visible: r
|
|
@@ -17207,7 +17215,7 @@ function nA(t) {
|
|
|
17207
17215
|
const { chart: e, seriesConfig: i, axisList: a = [], hideLoaderHandle: o, selectionTheme: n, ignoreSmoothRenderingLimit: s } = t, r = L.scatterplotSeries, [l, c] = a, { x: d, y: u, overlays: f, name: g, id: h } = i, b = [], p = new ue();
|
|
17208
17216
|
Xe(p.uid, { type: y.ScatterSeries }), p.id = h, Qt(p, o), p.hiddenInLegend = !0, p.dataFields.valueX = d, p.dataFields.valueY = u, l !== void 0 && (p.xAxis = l), c !== void 0 && (p.yAxis = c);
|
|
17209
17217
|
const S = Hn({ chart: e, lineSeries: p });
|
|
17210
|
-
QF(S, p), qF(p), p.strokeOpacity = r.strokeOpacity, p.minDistance *= Math.ceil(p.data.length / 1e4), p.hidden = !0,
|
|
17218
|
+
QF(S, p), qF(p), p.strokeOpacity = r.strokeOpacity, p.minDistance *= Math.ceil(p.data.length / 1e4), p.hidden = !0, Vi({ element: S, customSelectionTheme: n }), Sa(e, S), Rf({
|
|
17211
17219
|
chart: e,
|
|
17212
17220
|
series: p,
|
|
17213
17221
|
seriesType: y.ScatterSeries,
|
|
@@ -17223,7 +17231,7 @@ function nA(t) {
|
|
|
17223
17231
|
name: g,
|
|
17224
17232
|
visible: x?.visible
|
|
17225
17233
|
});
|
|
17226
|
-
return Ro(C), b.push(C),
|
|
17234
|
+
return Ro(C), b.push(C), Pi(p), b;
|
|
17227
17235
|
}
|
|
17228
17236
|
function sA(t) {
|
|
17229
17237
|
const { seriesConfig: e, series: i, colorMatch: a } = t, { chart: o } = i, n = Re(i), s = tA(e, i), r = () => {
|
|
@@ -17236,14 +17244,14 @@ function sA(t) {
|
|
|
17236
17244
|
seriesConfig: e,
|
|
17237
17245
|
chartSubType: N.NonSpecific,
|
|
17238
17246
|
colorMatch: a
|
|
17239
|
-
}), b =
|
|
17247
|
+
}), b = Fi({
|
|
17240
17248
|
element: g,
|
|
17241
17249
|
seriesSymbol: d,
|
|
17242
17250
|
seriesConfig: e,
|
|
17243
17251
|
colorMatch: a,
|
|
17244
17252
|
rendererSymbol: h
|
|
17245
17253
|
});
|
|
17246
|
-
l = b.symbolWithColorInfo, c = b.stylingInfo,
|
|
17254
|
+
l = b.symbolWithColorInfo, c = b.stylingInfo, di({ element: g, stylingInfo: c }), u.add(JSON.stringify(c));
|
|
17247
17255
|
}), l = u.size > 1 ? void 0 : l;
|
|
17248
17256
|
const f = /* @__PURE__ */ new Map();
|
|
17249
17257
|
f.set(0, l), Bt({
|
|
@@ -17302,7 +17310,7 @@ function rA(t) {
|
|
|
17302
17310
|
}));
|
|
17303
17311
|
}
|
|
17304
17312
|
function lA(t) {
|
|
17305
|
-
const e = t.isHover, i = t.dataItem instanceof
|
|
17313
|
+
const e = t.isHover, i = t.dataItem instanceof ri ? t.dataItem?.label?.isHover : !1;
|
|
17306
17314
|
return e || i;
|
|
17307
17315
|
}
|
|
17308
17316
|
async function cA(t) {
|
|
@@ -17320,7 +17328,7 @@ async function cc(t) {
|
|
|
17320
17328
|
chartConfig: n
|
|
17321
17329
|
};
|
|
17322
17330
|
s.slices.each((u, f) => {
|
|
17323
|
-
u.isActive && (u === i || a || u.dataItem instanceof
|
|
17331
|
+
u.isActive && (u === i || a || u.dataItem instanceof ri && u.dataItem.label.isHover) ? Ai(u.dataItem?.dataContext) ? ($o({
|
|
17324
17332
|
groupOfSlicesDataContext: u.dataItem?.dataContext
|
|
17325
17333
|
}) ?? []).forEach((p) => {
|
|
17326
17334
|
o.push({
|
|
@@ -17360,7 +17368,7 @@ function dA(t) {
|
|
|
17360
17368
|
await cc({ chart: t, multiSelect: s, hitSlice: n });
|
|
17361
17369
|
else if (n instanceof go) {
|
|
17362
17370
|
const r = n.dataItem;
|
|
17363
|
-
if (r instanceof
|
|
17371
|
+
if (r instanceof ri) {
|
|
17364
17372
|
const { slice: l } = r;
|
|
17365
17373
|
l.isActive = !l.isActive, await cc({ chart: t, multiSelect: s, hitSlice: l });
|
|
17366
17374
|
}
|
|
@@ -17472,7 +17480,7 @@ function pm(t) {
|
|
|
17472
17480
|
S !== void 0 && S.clones.each((x) => {
|
|
17473
17481
|
let C = x.measuredWidth;
|
|
17474
17482
|
switch (x.horizontalCenter) {
|
|
17475
|
-
case
|
|
17483
|
+
case te.Middle:
|
|
17476
17484
|
C /= 2;
|
|
17477
17485
|
break;
|
|
17478
17486
|
case re.Right:
|
|
@@ -17580,7 +17588,7 @@ function fc(t) {
|
|
|
17580
17588
|
dataSet: e.data
|
|
17581
17589
|
}) && da({
|
|
17582
17590
|
chart: e,
|
|
17583
|
-
invalidType:
|
|
17591
|
+
invalidType: pi.EmptyDataSet,
|
|
17584
17592
|
chartConfig: i,
|
|
17585
17593
|
errorStrings: a
|
|
17586
17594
|
});
|
|
@@ -17599,7 +17607,7 @@ function mc(t, e) {
|
|
|
17599
17607
|
const s = xa(o.renderer, i);
|
|
17600
17608
|
nm(o, n) || da({
|
|
17601
17609
|
chart: t,
|
|
17602
|
-
invalidType: s ?
|
|
17610
|
+
invalidType: s ? pi.NegativeValueInXAxisLogScale : pi.NegativeValueInYAxisLogScale,
|
|
17603
17611
|
errorStrings: e
|
|
17604
17612
|
});
|
|
17605
17613
|
}
|
|
@@ -17687,7 +17695,7 @@ function bm(t) {
|
|
|
17687
17695
|
break;
|
|
17688
17696
|
}
|
|
17689
17697
|
case y.BoxPlotSeries: {
|
|
17690
|
-
const f =
|
|
17698
|
+
const f = Ii(a);
|
|
17691
17699
|
s.series.forEach((g) => {
|
|
17692
17700
|
let h, b;
|
|
17693
17701
|
g.type === y.BoxPlotSeries ? (h = (i ?? e.data).dataItems, b = h?.some(
|
|
@@ -17931,7 +17939,7 @@ async function Zr(t) {
|
|
|
17931
17939
|
pieSlicesSymbols: S,
|
|
17932
17940
|
utilsStrings: x,
|
|
17933
17941
|
errorStrings: C
|
|
17934
|
-
} = t, v = e.series.values, F = /* @__PURE__ */ new Map(), T = i.series.length, k = E(a), $ =
|
|
17942
|
+
} = t, v = e.series.values, F = /* @__PURE__ */ new Map(), T = i.series.length, k = E(a), $ = ki(i), w = Et(i), O = Gc(f), R = await It(f, g?.usePopupTemplateFieldsInfo), B = pt(f), P = Fo(n, B.renderer);
|
|
17935
17943
|
for (const [W, V] of a.entries()) {
|
|
17936
17944
|
const H = E([V]), z = v[W], ie = {
|
|
17937
17945
|
numberOfSeries: T,
|
|
@@ -17952,14 +17960,14 @@ async function Zr(t) {
|
|
|
17952
17960
|
axes: o,
|
|
17953
17961
|
seriesIndexMapper: s
|
|
17954
17962
|
};
|
|
17955
|
-
let
|
|
17963
|
+
let J = z;
|
|
17956
17964
|
if (e instanceof oe && (H === y.BoxPlotSeries || H === y.LineSeries && k === y.BoxPlotSeries)) {
|
|
17957
|
-
if (
|
|
17965
|
+
if (J = v.find((_) => _.id === V.id), z !== void 0 && (J instanceof Ze || J instanceof ue)) {
|
|
17958
17966
|
const _ = je(i);
|
|
17959
17967
|
sL({
|
|
17960
17968
|
...ie,
|
|
17961
17969
|
chart: e,
|
|
17962
|
-
series:
|
|
17970
|
+
series: J,
|
|
17963
17971
|
seriesIndexMapper: s,
|
|
17964
17972
|
seriesSymbolMapForEvent: F,
|
|
17965
17973
|
chartData: u,
|
|
@@ -18066,17 +18074,17 @@ async function Kr(t) {
|
|
|
18066
18074
|
e.series.forEach((j, Se) => {
|
|
18067
18075
|
z.set(j.id, Se);
|
|
18068
18076
|
});
|
|
18069
|
-
const ie =
|
|
18077
|
+
const ie = Di(T), ne = je(e);
|
|
18070
18078
|
e = bm({
|
|
18071
18079
|
chart: i,
|
|
18072
18080
|
hideEmptySeries: a?.hideEmptySeries ?? L.options.hideEmptySeries,
|
|
18073
18081
|
data: ne ? T : ie,
|
|
18074
18082
|
config: e
|
|
18075
18083
|
}).updatedConfig;
|
|
18076
|
-
const
|
|
18077
|
-
if (
|
|
18084
|
+
const J = T && ne && "meanLines" in T ? T.meanLines : ie;
|
|
18085
|
+
if (J !== void 0 && V !== y.HistogramSeries) {
|
|
18078
18086
|
const { colorMatchApplied: j, rendererFieldNames: Se } = await Ga({
|
|
18079
|
-
data:
|
|
18087
|
+
data: J,
|
|
18080
18088
|
queryObject: n,
|
|
18081
18089
|
chartConfig: e,
|
|
18082
18090
|
allowColorMatch: Ki({ chartConfig: e, queryObject: n })
|
|
@@ -18116,12 +18124,12 @@ async function Kr(t) {
|
|
|
18116
18124
|
meanLines: I(i.uid, "boxPlotMeanLinesData"),
|
|
18117
18125
|
outliers: T?.outliers
|
|
18118
18126
|
};
|
|
18119
|
-
|
|
18127
|
+
yi({
|
|
18120
18128
|
data: i instanceof Fe ? { dataItems: i.data } : T,
|
|
18121
18129
|
seriesConfig: e.series,
|
|
18122
18130
|
htmlContainer: i.htmlContainer
|
|
18123
18131
|
});
|
|
18124
|
-
const
|
|
18132
|
+
const gi = await _r({
|
|
18125
18133
|
chart: i,
|
|
18126
18134
|
data: T,
|
|
18127
18135
|
chartConfig: e,
|
|
@@ -18131,8 +18139,8 @@ async function Kr(t) {
|
|
|
18131
18139
|
utilsStrings: s,
|
|
18132
18140
|
errorStrings: r
|
|
18133
18141
|
});
|
|
18134
|
-
B =
|
|
18135
|
-
const { alteredConfig: Ye, alteredPieSlicesSymbols: va } =
|
|
18142
|
+
B = gi.newValidationStatus ?? B;
|
|
18143
|
+
const { alteredConfig: Ye, alteredPieSlicesSymbols: va } = gi;
|
|
18136
18144
|
if (Se = va, i instanceof Fe && (kn({
|
|
18137
18145
|
data: i.data,
|
|
18138
18146
|
newChartConfig: Ye,
|
|
@@ -18354,7 +18362,7 @@ async function vA(t) {
|
|
|
18354
18362
|
timeIntervalInfoWasReset: w,
|
|
18355
18363
|
axisLabelsBehaviorChanged: ie
|
|
18356
18364
|
});
|
|
18357
|
-
let
|
|
18365
|
+
let J = !1, _, j, Se = F !== y.BarSeries && F !== y.LineSeries && F !== y.ComboLineAndBarSeries && F !== y.HistogramSeries;
|
|
18358
18366
|
const xe = Y(v);
|
|
18359
18367
|
if (U(i.uid, { isNonAggregatedChart: !yn(xe) }), n) {
|
|
18360
18368
|
const { count: Ee, valid: Ue, invalidType: kt, data: ct, queryConfig: Ae } = r ?? {};
|
|
@@ -18369,7 +18377,7 @@ async function vA(t) {
|
|
|
18369
18377
|
r2: ct?.r2,
|
|
18370
18378
|
trendLinePoints: ct?.trendLinePoints
|
|
18371
18379
|
}
|
|
18372
|
-
}), Se = Ue === !0, Se ? (un(i), _ = ct, j =
|
|
18380
|
+
}), Se = Ue === !0, Se ? (un(i), _ = ct, j = Di(_)) : (da({
|
|
18373
18381
|
chart: i,
|
|
18374
18382
|
invalidType: kt,
|
|
18375
18383
|
elementCount: Ee,
|
|
@@ -18386,7 +18394,7 @@ async function vA(t) {
|
|
|
18386
18394
|
chartLimits: g
|
|
18387
18395
|
})), Se) {
|
|
18388
18396
|
const Ue = Qc(C, v);
|
|
18389
|
-
if (Ue.length > 0 && (rC(i.series, Ue), i.feedLegend(),
|
|
18397
|
+
if (Ue.length > 0 && (rC(i.series, Ue), i.feedLegend(), J = !0), qm(v[0])) {
|
|
18390
18398
|
const { binTemporalData: kt } = v[0], { unit: ct, size: Ae } = v[0].temporalBinning ?? {};
|
|
18391
18399
|
kt === !1 && ct !== void 0 && Ae !== void 0 && U(i.uid, { timeIntervalInfo: { unit: ct, size: Ae } });
|
|
18392
18400
|
}
|
|
@@ -18395,13 +18403,13 @@ async function vA(t) {
|
|
|
18395
18403
|
switch (F) {
|
|
18396
18404
|
case y.BarSeries:
|
|
18397
18405
|
case y.ComboLineAndBarSeries:
|
|
18398
|
-
Ue =
|
|
18406
|
+
Ue = pi.BarElementExceedsLimit;
|
|
18399
18407
|
break;
|
|
18400
18408
|
case y.LineSeries:
|
|
18401
|
-
Ue =
|
|
18409
|
+
Ue = pi.LineChartExceedsLimit;
|
|
18402
18410
|
break;
|
|
18403
18411
|
case y.BoxPlotSeries:
|
|
18404
|
-
Ue =
|
|
18412
|
+
Ue = pi.BoxPlotExceedsLimit;
|
|
18405
18413
|
break;
|
|
18406
18414
|
}
|
|
18407
18415
|
da({
|
|
@@ -18430,7 +18438,7 @@ async function vA(t) {
|
|
|
18430
18438
|
}), n || (i.validateData(), F === y.BoxPlotSeries && i.series.each((Ee) => {
|
|
18431
18439
|
Ee instanceof ue && !(Ee instanceof Ct) && Ee.id.includes(me.Outliers) && Ee.validateData();
|
|
18432
18440
|
})));
|
|
18433
|
-
const
|
|
18441
|
+
const gi = n && _ && "bins" in _ ? _ : void 0, Ye = _ && "trendLinePoints" in _ ? _ : I(i.uid, "trendLineData");
|
|
18434
18442
|
_ = {
|
|
18435
18443
|
dataItems: n ? j ?? i.data : i.data,
|
|
18436
18444
|
timeIntervalInfo: I(i.uid, "timeIntervalInfo"),
|
|
@@ -18439,8 +18447,8 @@ async function vA(t) {
|
|
|
18439
18447
|
outliers: n ? _?.outliers : i.series.values.find((Ee) => !(Ee instanceof Ct) && Ee instanceof ue)?.data,
|
|
18440
18448
|
trendLinePoints: Ye?.trendLinePoints,
|
|
18441
18449
|
r2: Ye?.r2,
|
|
18442
|
-
...
|
|
18443
|
-
}, (n || z) &&
|
|
18450
|
+
...gi
|
|
18451
|
+
}, (n || z) && yi({ data: _, seriesConfig: e.series, htmlContainer: i.htmlContainer });
|
|
18444
18452
|
const va = /* @__PURE__ */ new Map();
|
|
18445
18453
|
e.series.forEach((Ee, Ue) => {
|
|
18446
18454
|
va.set(Ee.id, Ue);
|
|
@@ -18493,7 +18501,7 @@ async function vA(t) {
|
|
|
18493
18501
|
chartConfig: e,
|
|
18494
18502
|
seriesIndexMapper: va,
|
|
18495
18503
|
rotationChanged: O,
|
|
18496
|
-
seriesReordered:
|
|
18504
|
+
seriesReordered: J,
|
|
18497
18505
|
outliersVisibilityChanged: W,
|
|
18498
18506
|
standardizeValuesVisibilityChanged: V,
|
|
18499
18507
|
queryObject: c,
|
|
@@ -18547,7 +18555,7 @@ async function LA(t) {
|
|
|
18547
18555
|
let S = !0, x, C, v = !1;
|
|
18548
18556
|
if (o) {
|
|
18549
18557
|
const { count: F, valid: T, invalidType: k, data: $, queryConfig: w } = l ?? {};
|
|
18550
|
-
x = $, U(e.uid, { elementCount: F, queryConfig: w, initialized: T }), S = T === !0, C =
|
|
18558
|
+
x = $, U(e.uid, { elementCount: F, queryConfig: w, initialized: T }), S = T === !0, C = Di(x), S ? C !== void 0 && zm(e.data, C) && (e.data = C, v = !0) : (da({
|
|
18551
18559
|
chart: e,
|
|
18552
18560
|
invalidType: k,
|
|
18553
18561
|
elementCount: F,
|
|
@@ -18583,7 +18591,7 @@ async function LA(t) {
|
|
|
18583
18591
|
usePopupTemplateFieldsInfo: r?.usePopupTemplateFieldsInfo,
|
|
18584
18592
|
utilsStrings: c
|
|
18585
18593
|
});
|
|
18586
|
-
(v || p) && (
|
|
18594
|
+
(v || p) && (yi({
|
|
18587
18595
|
data: { dataItems: e.data },
|
|
18588
18596
|
seriesConfig: n.series,
|
|
18589
18597
|
htmlContainer: e.htmlContainer
|
|
@@ -18672,7 +18680,7 @@ async function FA(t) {
|
|
|
18672
18680
|
let C;
|
|
18673
18681
|
if (r) {
|
|
18674
18682
|
const { count: T, valid: k, invalidType: $, data: w, queryConfig: O } = s ?? {};
|
|
18675
|
-
C = w, C?.dataItems !== void 0 && (e.data = C.dataItems),
|
|
18683
|
+
C = w, C?.dataItems !== void 0 && (e.data = C.dataItems), yi({
|
|
18676
18684
|
data: { dataItems: e.data },
|
|
18677
18685
|
seriesConfig: o.series,
|
|
18678
18686
|
htmlContainer: e.htmlContainer
|
|
@@ -18815,7 +18823,7 @@ async function TA(t) {
|
|
|
18815
18823
|
dataInfo: W
|
|
18816
18824
|
} = T, V = I(h.uid, "initialized"), H = I(h.uid, "config"), z = k?.series, ie = z !== void 0 ? E(z) : void 0;
|
|
18817
18825
|
if (h.isDisposed() || b === void 0 || V === !1 || !_c(H, k))
|
|
18818
|
-
throw new
|
|
18826
|
+
throw new hi(ao.ChartDisposed);
|
|
18819
18827
|
switch (ie) {
|
|
18820
18828
|
case y.BoxPlotSeries:
|
|
18821
18829
|
case y.BarSeries:
|
|
@@ -18953,7 +18961,7 @@ function gc(t) {
|
|
|
18953
18961
|
let i;
|
|
18954
18962
|
if (e !== void 0 && t.layerFilterChangePolicy === ps.Refresh) {
|
|
18955
18963
|
const a = pt(e), o = Vs(a);
|
|
18956
|
-
i =
|
|
18964
|
+
i = ti.watch(
|
|
18957
18965
|
() => o.definitionExpression,
|
|
18958
18966
|
() => {
|
|
18959
18967
|
t.refresh({ updateData: !0, resetAxesBounds: !0 });
|
|
@@ -18967,10 +18975,10 @@ function hc(t) {
|
|
|
18967
18975
|
let o;
|
|
18968
18976
|
if (e !== void 0 && t.layerRendererChangePolicy === bs.Refresh) {
|
|
18969
18977
|
const n = pt(e);
|
|
18970
|
-
o =
|
|
18978
|
+
o = ti.watch(
|
|
18971
18979
|
() => n.renderer,
|
|
18972
18980
|
() => {
|
|
18973
|
-
if (
|
|
18981
|
+
if (ki(a)) {
|
|
18974
18982
|
const s = IA();
|
|
18975
18983
|
t.refresh({ updateData: s });
|
|
18976
18984
|
}
|
|
@@ -18985,11 +18993,11 @@ async function $A(t) {
|
|
|
18985
18993
|
if (e !== void 0 && n !== void 0) {
|
|
18986
18994
|
const r = await ms({ chartConfig: n, view: e, layer: i, filterByExtent: o });
|
|
18987
18995
|
if (Oa(r)) {
|
|
18988
|
-
await
|
|
18996
|
+
await ti.whenOnce(() => !r.updating);
|
|
18989
18997
|
const l = async () => {
|
|
18990
|
-
t.filterByExtent && e.stationary && (r.updating && await
|
|
18998
|
+
t.filterByExtent && e.stationary && (r.updating && await ti.whenOnce(() => !r.updating), await t.refresh({ updateData: !0, resetAxesBounds: !0 }));
|
|
18991
18999
|
};
|
|
18992
|
-
s = [], s.push(
|
|
19000
|
+
s = [], s.push(ti.when(() => e.stationary, l)), s.push(ti.when(() => !r.dataUpdating, l)), await l();
|
|
18993
19001
|
}
|
|
18994
19002
|
}
|
|
18995
19003
|
return s;
|
|
@@ -18997,7 +19005,7 @@ async function $A(t) {
|
|
|
18997
19005
|
function DA(t) {
|
|
18998
19006
|
const { view: e, model: i } = t, a = ho(i) ? i.config : i, o = E(a?.series);
|
|
18999
19007
|
let n;
|
|
19000
|
-
return e !== void 0 && t.viewTimeExtentChangePolicy === Yo.Refresh && o !== y.HistogramSeries && (n =
|
|
19008
|
+
return e !== void 0 && t.viewTimeExtentChangePolicy === Yo.Refresh && o !== y.HistogramSeries && (n = ti.watch(
|
|
19001
19009
|
() => e.timeExtent,
|
|
19002
19010
|
() => {
|
|
19003
19011
|
t.refresh({ updateData: !0 });
|
|
@@ -19009,7 +19017,7 @@ function pc(t) {
|
|
|
19009
19017
|
let i;
|
|
19010
19018
|
if (e !== void 0 && t.layerFieldsChangePolicy === ys.Refresh) {
|
|
19011
19019
|
const a = pt(e), o = Vs(a);
|
|
19012
|
-
i =
|
|
19020
|
+
i = ti.watch(
|
|
19013
19021
|
/**
|
|
19014
19022
|
* array objects need to be passed in as an array to watch. it's a requirement from the watch function's design.
|
|
19015
19023
|
* https://developers.arcgis.com/javascript/latest/api-reference/esri-core-reactiveUtils.html#watch
|
|
@@ -19025,7 +19033,7 @@ function pc(t) {
|
|
|
19025
19033
|
function bc(t) {
|
|
19026
19034
|
const { view: e } = t;
|
|
19027
19035
|
let i;
|
|
19028
|
-
return e !== void 0 && "selectionManager" in e && "selections" in e.selectionManager && (i =
|
|
19036
|
+
return e !== void 0 && "selectionManager" in e && "selections" in e.selectionManager && (i = ti.watch(
|
|
19029
19037
|
// TODO: remove the as any -> @arcgis/core issue - https://devtopia.esri.com/WebGIS/arcgis-js-api/issues/62859#issuecomment-5394936
|
|
19030
19038
|
() => e.selectionManager.selections,
|
|
19031
19039
|
(a) => {
|
|
@@ -19304,7 +19312,7 @@ class BA extends vm {
|
|
|
19304
19312
|
allowUsingObjectIdStat: o?.allowUsingObjectIdStat
|
|
19305
19313
|
});
|
|
19306
19314
|
let g;
|
|
19307
|
-
s && f.valid && (Oa(i) && await
|
|
19315
|
+
s && f.valid && (Oa(i) && await ti.whenOnce(() => !i.updating), g = await ol({
|
|
19308
19316
|
chartConfig: d,
|
|
19309
19317
|
queryObject: i,
|
|
19310
19318
|
options: l,
|
|
@@ -19351,7 +19359,7 @@ class BA extends vm {
|
|
|
19351
19359
|
try {
|
|
19352
19360
|
(!this.config && !this.layer || bl(this.config, this.layer) && !oa(this.config)) && await this.updateQueue?.push();
|
|
19353
19361
|
} catch (e) {
|
|
19354
|
-
this.chartRef.value !== void 0 && (e instanceof
|
|
19362
|
+
this.chartRef.value !== void 0 && (e instanceof hi && e.name === ao.ChartDisposed ? (this.chart?.dispose(), this.chart = void 0, this.chartRef.value.innerHTML = "", await this.createChartInstance(!1)) : (e instanceof hi && e.name === ao.QueryFeaturesError ? this.arcgisDataProcessError.emit(e.details) : e instanceof hi && this.arcgisRuntimeError.emit(e.details ?? e), this.errorAlert(String(e))));
|
|
19355
19363
|
}
|
|
19356
19364
|
else this.chart === void 0 && this.chartCreationProcessing === void 0 && !this.showNotifyPanel && await this.createChartInstance();
|
|
19357
19365
|
this.placeholder !== void 0 ? await this.notify(this.placeholder) : this.enableConfiguration && oa(this.config) && this.applyPlaceholderForPartialConfig(this.config), this.actionBarElement !== void 0 && th({
|
|
@@ -19481,7 +19489,7 @@ class BA extends vm {
|
|
|
19481
19489
|
i === void 0 && typeof e == "number" && this.updatedProps.set("forceDataUpdate", { oldValue: i, newValue: e });
|
|
19482
19490
|
}
|
|
19483
19491
|
disableInteractionsChange(e) {
|
|
19484
|
-
navigator.userAgent.search("Firefox") !== -1 && (e ? this.chartRef.value?.classList.add(
|
|
19492
|
+
navigator.userAgent.search("Firefox") !== -1 && (e ? this.chartRef.value?.classList.add(Wi.DisableInteractions) : this.chartRef.value?.classList.remove(Wi.DisableInteractions));
|
|
19485
19493
|
}
|
|
19486
19494
|
rotationChange(e) {
|
|
19487
19495
|
e !== void 0 && (this.config = sg(e, this.config));
|
|
@@ -19718,11 +19726,11 @@ class BA extends vm {
|
|
|
19718
19726
|
}), this.chart = await this.chartCreationProcessing, this.chartCreationProcessing = void 0, e && (this.addLayerWatchHandlers(), await this.setExtentChangeWatchHandler(), this.setViewTimeExtentChangeWatchHandler());
|
|
19719
19727
|
}
|
|
19720
19728
|
} catch (i) {
|
|
19721
|
-
i instanceof
|
|
19729
|
+
i instanceof hi && i.name === ao.QueryFeaturesError ? this.arcgisDataProcessError.emit(i.details) : i instanceof hi && this.arcgisRuntimeError.emit(i.details ?? i), this.errorAlert(String(i)), this.chart?.dispose(), this.chartCreationProcessing = void 0, this.chart = void 0;
|
|
19722
19730
|
}
|
|
19723
19731
|
}
|
|
19724
19732
|
render() {
|
|
19725
|
-
const e = this.showNotifyPanel ? wA({ heading: this.notifyHeading, message: this.notifyMessage, options: this.notifyOptions }) : null, i = this.showNotifyPanel && this.notifyOptions?.kind === "danger" ?
|
|
19733
|
+
const e = this.showNotifyPanel ? wA({ heading: this.notifyHeading, message: this.notifyMessage, options: this.notifyOptions }) : null, i = this.showNotifyPanel && this.notifyOptions?.kind === "danger" ? Wi.Hide : `${Wi.Chart} ${Wi.Show}`, a = this.showNotifyPanel ? `${Wi.Show} ${Wi.NotifyPanel}` : Wi.Hide;
|
|
19726
19734
|
return Go`<slot name=${Kg.actionBar} @slotchange=${(o) => {
|
|
19727
19735
|
this.actionBarElement = ih(o, this.el, this.config);
|
|
19728
19736
|
}} ${tl(this.actionBarSlotRef)}></slot><div class=${el(i)} ${tl(this.chartRef)}></div><div class=${el(a)}>${e}</div>`;
|