@arcgis/charts-components 4.34.0-next.120 → 4.34.0-next.121
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/{VCGMMJ7B.js → 24DSCQYL.js} +2 -2
- package/dist/cdn/{LNTFSJKG.js → 25UZBETP.js} +2 -2
- package/dist/cdn/{WNMWVSJD.js → 2TN6FVE5.js} +2 -2
- package/dist/cdn/{66CPFY7T.js → 32NBLHMR.js} +2 -2
- package/dist/cdn/{RLSENIBG.js → 32OWZWOV.js} +2 -2
- package/dist/cdn/{BVN6G7GO.js → 35KK7CKX.js} +1 -1
- package/dist/cdn/3COY6C6Y.js +4 -0
- package/dist/cdn/{77ZXANFC.js → 3HR6TYVY.js} +2 -2
- package/dist/cdn/{IZDDNZGP.js → 3QIT56TW.js} +2 -2
- package/dist/cdn/{GTNEDFEG.js → 3SYE3QT5.js} +1 -1
- package/dist/cdn/{7XM2XRC5.js → 3V63Y5JC.js} +2 -2
- package/dist/cdn/{DYJPSOYZ.js → 3YNNQAH4.js} +2 -2
- package/dist/cdn/{FQHZXGUL.js → 4BI3A644.js} +2 -2
- package/dist/cdn/{EH5QSFIP.js → 4BMUSYIY.js} +2 -2
- package/dist/cdn/{ZJGPXJY4.js → 4BVVSEQL.js} +2 -2
- package/dist/cdn/{R36VXP7T.js → 4IF3XVGQ.js} +2 -2
- package/dist/cdn/{OCKLUIVN.js → 4MBYRGFB.js} +2 -2
- package/dist/cdn/{M77YUDMT.js → 4YXFGO65.js} +2 -2
- package/dist/cdn/{N6BWQCUP.js → 5KQKZK35.js} +2 -2
- package/dist/cdn/{PQXBRXRY.js → 5PWKPTPD.js} +2 -2
- package/dist/cdn/{7B5H5F55.js → 643NZBFI.js} +2 -2
- package/dist/cdn/{BMJIPGMR.js → 6GOSRGDZ.js} +2 -2
- package/dist/cdn/{ZZ3FZEBA.js → 6JXQOEHH.js} +2 -2
- package/dist/cdn/{SEA6RC6W.js → 6LKYWSFV.js} +2 -2
- package/dist/cdn/{MIXETQM7.js → 6MTOWT3G.js} +2 -2
- package/dist/cdn/{MBYBU2JS.js → 6QHJWVAZ.js} +2 -2
- package/dist/cdn/{O7QACK6S.js → 6TIFVKEE.js} +2 -2
- package/dist/cdn/{OWX6QE24.js → 726CUQ43.js} +2 -2
- package/dist/cdn/{MS7FZJAT.js → 72RYRDRX.js} +2 -2
- package/dist/cdn/{3FIGOV25.js → 75GFQV2T.js} +2 -2
- package/dist/cdn/{2PNL2RB2.js → 75S2RNTT.js} +2 -2
- package/dist/cdn/{VUXCOZZ5.js → 75ZKTRQA.js} +2 -2
- package/dist/cdn/{O2Y6X6CA.js → 7AE7ZWU6.js} +2 -2
- package/dist/cdn/{TYF7TY6M.js → 7I2I5LWH.js} +2 -2
- package/dist/cdn/{7T5U576B.js → A2CRE3JK.js} +2 -2
- package/dist/cdn/{6LWIZJWC.js → A55DI3E4.js} +1 -1
- package/dist/cdn/{35E3WAFF.js → AHLGEIR7.js} +2 -2
- package/dist/cdn/{XA3XQOM4.js → AS7KTYSR.js} +2 -2
- package/dist/cdn/{RWKG2ZVX.js → AYHAHXIS.js} +2 -2
- package/dist/cdn/{KZJI45MU.js → BB2XMIY3.js} +2 -2
- package/dist/cdn/{2NQ6ISWC.js → BCFFENCI.js} +2 -2
- package/dist/cdn/{TD45EZ6A.js → BCJZER62.js} +2 -2
- package/dist/cdn/{2XRXZUWV.js → BIIXXBNF.js} +2 -2
- package/dist/cdn/{TQK3WI6O.js → BQTORW22.js} +2 -2
- package/dist/cdn/{ABOVQX3G.js → BSCAVDX7.js} +2 -2
- package/dist/cdn/{XJ2NR7GY.js → BWX4HMWG.js} +2 -2
- package/dist/cdn/{IYGQ74TQ.js → CGBO4MDT.js} +2 -2
- package/dist/cdn/{6BTWORY7.js → CH3NSKRQ.js} +2 -2
- package/dist/cdn/{PHIMIQ76.js → CIZGQYNX.js} +2 -2
- package/dist/cdn/{YDFFOW74.js → CN64VWDD.js} +2 -2
- package/dist/cdn/{F5L3P6CE.js → CTAYOON3.js} +2 -2
- package/dist/cdn/{CRY43GOF.js → CW6SDZW2.js} +2 -2
- package/dist/cdn/{QUQJ64HR.js → D2BMJ3K5.js} +2 -2
- package/dist/cdn/{LI3VZ2FD.js → D2D536RQ.js} +2 -2
- package/dist/cdn/{XKM2YWI3.js → D4UODAEI.js} +2 -2
- package/dist/cdn/{LJOSAG2G.js → DKHOLZ6W.js} +2 -2
- package/dist/cdn/{E3XPFA2T.js → DNJQ73I5.js} +2 -2
- package/dist/cdn/{UJKCMZJA.js → DS3DICEN.js} +2 -2
- package/dist/cdn/{5ZXIXC2B.js → DUEHWUGW.js} +2 -2
- package/dist/cdn/{SALDFJFB.js → EAAV6LOE.js} +2 -2
- package/dist/cdn/{Y3GGND3S.js → ELM2CSYN.js} +2 -2
- package/dist/cdn/{F2ADEJ4M.js → ETY2SECN.js} +2 -2
- package/dist/cdn/EUQKRNOO.css +1 -0
- package/dist/cdn/{HNUCNFVN.js → F7M7H6V4.js} +2 -2
- package/dist/cdn/{K5ZDY5O2.js → FE2ZXMKG.js} +2 -2
- package/dist/cdn/{AEGFSB42.js → FIEEYQCA.js} +2 -2
- package/dist/cdn/{OIQ3DTTC.js → FINSESAJ.js} +2 -2
- package/dist/cdn/{VRLJCMHS.js → FISLBG3O.js} +2 -2
- package/dist/cdn/{5ZWLQN4V.js → FKNZMCLV.js} +2 -2
- package/dist/cdn/{J4ZS364G.js → FLZCAWKD.js} +2 -2
- package/dist/cdn/{BNCWWKBI.js → FQXFXQKP.js} +1 -1
- package/dist/cdn/{7GM2WIDW.js → FWVTMQQV.js} +2 -2
- package/dist/cdn/{OILW4EHD.js → G2HB67YA.js} +2 -2
- package/dist/cdn/{VFY3SHXR.js → G3KLJJCH.js} +2 -2
- package/dist/cdn/{GQLJAJJO.js → G7ZQR6GA.js} +2 -2
- package/dist/cdn/{CSARVMY6.js → GAHOYK5N.js} +2 -2
- package/dist/cdn/{M4IWBHMP.js → GBAN6U5D.js} +2 -2
- package/dist/cdn/{NCF2IT5N.js → H4ENQZZ6.js} +2 -2
- package/dist/cdn/{ZNXTPISR.js → H7ZG6EU3.js} +2 -2
- package/dist/cdn/{MLNUPZQX.js → HEHWLRGY.js} +2 -2
- package/dist/cdn/{B7SLQ437.js → HIT44KOF.js} +2 -2
- package/dist/cdn/{MRGHNY34.js → HZPBDXTY.js} +2 -2
- package/dist/cdn/{OXRLN5G5.js → IEXSIIFO.js} +2 -2
- package/dist/cdn/{7AYP27OX.js → IIETA3OW.js} +2 -2
- package/dist/cdn/{4K52D7PS.js → IKFNPJLQ.js} +2 -2
- package/dist/cdn/{Q27KJWVD.js → IQIWMK6X.js} +2 -2
- package/dist/cdn/{ULYEFAXH.js → IUCXWMVG.js} +2 -2
- package/dist/cdn/{GGOXV2QI.js → IZ7BNK7V.js} +1 -1
- package/dist/cdn/{65M7ZTIR.js → JAKM6US6.js} +2 -2
- package/dist/cdn/{XSEOMN5O.js → JECO6DZ2.js} +2 -2
- package/dist/cdn/{ULXSJAVK.js → JG4JWBCH.js} +2 -2
- package/dist/cdn/{5GEEELOG.js → JIFN3HER.js} +2 -2
- package/dist/cdn/{RKIGUSM2.js → JJ5VVMGA.js} +2 -2
- package/dist/cdn/{5LKKHE4Q.js → JMHPW6UL.js} +2 -2
- package/dist/cdn/{H2ZB3YZI.js → JSUKVRWZ.js} +2 -2
- package/dist/cdn/{BA3RPXSA.js → JVEICMBD.js} +2 -2
- package/dist/cdn/{EZPF4ENJ.js → JY36TQG2.js} +2 -2
- package/dist/cdn/{LWGJT5CM.js → JYATXYYE.js} +2 -2
- package/dist/cdn/{4SEGNAW3.js → KBS76TEQ.js} +2 -2
- package/dist/cdn/{RQUIL3UD.js → KYE5HSNS.js} +2 -2
- package/dist/cdn/{RBOXRFWL.js → LDZIGPZL.js} +2 -2
- package/dist/cdn/{GVHSSWBW.js → MA23MMTK.js} +7 -7
- package/dist/cdn/{3S5O3TDN.js → MDQYBME4.js} +2 -2
- package/dist/cdn/{ZUJAERA3.js → ME7YRDMH.js} +2 -2
- package/dist/cdn/{KRHATRN2.js → MHCKBACK.js} +2 -2
- package/dist/cdn/{FBIULBD5.js → MQ5RSCJ3.js} +2 -2
- package/dist/cdn/{32EBAO3L.js → MWC4Y3G2.js} +2 -2
- package/dist/cdn/{5RIDKNOA.js → MWSG6HB3.js} +2 -2
- package/dist/cdn/{E5DRZ5U3.js → NAPV5O4A.js} +2 -2
- package/dist/cdn/{4HBR6KPW.js → NBHJJYZI.js} +2 -2
- package/dist/cdn/{DFVDBZHP.js → NCZN2PYY.js} +2 -2
- package/dist/cdn/{5ROWLWF2.js → NDVZPC3G.js} +2 -2
- package/dist/cdn/{KKFGCXEW.js → NFFWFOUK.js} +2 -2
- package/dist/cdn/{XP3QBBZZ.js → NFLBCGHU.js} +2 -2
- package/dist/cdn/{VV2UXJBR.js → NS7NFL2R.js} +2 -2
- package/dist/cdn/{WDLFBXK7.js → NVVQ3YE2.js} +2 -2
- package/dist/cdn/{2KOGMY6O.js → NX2CLI7H.js} +1 -1
- package/dist/cdn/{H4ZIESVV.js → OFGDSNY3.js} +2 -2
- package/dist/cdn/{FU7TP32H.js → OIF4PP4M.js} +2 -2
- package/dist/cdn/{TFEA6MT4.js → OIJ5QEES.js} +2 -2
- package/dist/cdn/{COKQDKUW.js → OJ3LBCKQ.js} +2 -2
- package/dist/cdn/{DFGZJD7K.js → OKY537FA.js} +2 -2
- package/dist/cdn/{NGU4U5A6.js → OOIKSYNY.js} +2 -2
- package/dist/cdn/{A73MY5IL.js → OPZCFYWU.js} +2 -2
- package/dist/cdn/{7ASVILLL.js → PB2NX6NA.js} +2 -2
- package/dist/cdn/{S63QTAPK.js → PCOJSCK7.js} +2 -2
- package/dist/cdn/{REGY7JC5.js → PZPIQRJU.js} +2 -2
- package/dist/cdn/{IA2SCKCI.js → Q5TNRIUH.js} +2 -2
- package/dist/cdn/{KGS7MOK7.js → QD7GJTHQ.js} +2 -2
- package/dist/cdn/{EWR2KRQT.js → QGGPVFMR.js} +2 -2
- package/dist/cdn/{NUS73AT5.js → QMQKEUH2.js} +2 -2
- package/dist/cdn/{2HOOHLEX.js → QNFJEMKN.js} +2 -2
- package/dist/cdn/{NPSC4FXK.js → QV5IJO2Z.js} +2 -2
- package/dist/cdn/{G7RWVBVE.js → RCVHFXOP.js} +2 -2
- package/dist/cdn/{LC4QXKUC.js → RFUVGWJN.js} +2 -2
- package/dist/cdn/{P2ND5SY2.js → RNGK6KCM.js} +1 -1
- package/dist/cdn/{2LO22ZVO.js → RUL7UIUI.js} +2 -2
- package/dist/cdn/{QV2N6Q56.js → SIX2YH57.js} +2 -2
- package/dist/cdn/{XMPMP6RB.js → SM5CS6YN.js} +2 -2
- package/dist/cdn/{67GM5VRZ.js → T5M3ESIR.js} +2 -2
- package/dist/cdn/{26NU5BZY.js → TKPMJHFP.js} +2 -2
- package/dist/cdn/{R3WPVGSG.js → TS4WANDN.js} +2 -2
- package/dist/cdn/{NOOFSFWA.js → TYL72ATI.js} +2 -2
- package/dist/cdn/{RJN6V2NK.js → U7FR4IYM.js} +2 -2
- package/dist/cdn/{YR6KICZZ.js → ULR72CV3.js} +1 -1
- package/dist/cdn/{DSEA2FVZ.js → UOMWOI4Z.js} +2 -2
- package/dist/cdn/{G36YNBB2.js → USWZLWAH.js} +2 -2
- package/dist/cdn/{BTYZQKHJ.js → UTOSEVCL.js} +2 -2
- package/dist/cdn/{COKZW3P5.js → V2HOCHLN.js} +2 -2
- package/dist/cdn/{PCSFFTOY.js → V5U2ICY6.js} +2 -2
- package/dist/cdn/{MUTYYLDT.js → V7E5QO2X.js} +2 -2
- package/dist/cdn/{TF323QUN.js → V7MC6QUB.js} +2 -2
- package/dist/cdn/{F5732DDI.js → VEZ7ERCR.js} +2 -2
- package/dist/cdn/{SQYTJP3F.js → VJULVVR6.js} +2 -2
- package/dist/cdn/{TV4AGCBY.js → VNARFLWG.js} +2 -2
- package/dist/cdn/{PZDEVSXA.js → VREO6T36.js} +2 -2
- package/dist/cdn/{XU5ULJ44.js → VYGU363U.js} +2 -2
- package/dist/cdn/{ULHGM4LB.js → VYXM6RQX.js} +2 -2
- package/dist/cdn/{JEYV355B.js → W5CTUX2S.js} +2 -2
- package/dist/cdn/{KWDVQL4K.js → W5YEXTVB.js} +2 -2
- package/dist/cdn/{GRTAT3LE.js → W7L6GQH3.js} +2 -2
- package/dist/cdn/{BQKXTTAI.js → WAV7HNTH.js} +2 -2
- package/dist/cdn/{AK27ZBGX.js → WQSJL2UM.js} +2 -2
- package/dist/cdn/{6OMLFMX3.js → WXGOB5HQ.js} +2 -2
- package/dist/cdn/{4ZKAGCOA.js → WXGUAEBM.js} +2 -2
- package/dist/cdn/{UQ42JPG3.js → WZ6X7UTT.js} +2 -2
- package/dist/cdn/{DGM6WX6X.js → XETN2BQP.js} +2 -2
- package/dist/cdn/{N2Z7BDB2.js → XHNWKT76.js} +2 -2
- package/dist/cdn/{BR3KSEWN.js → XNPLAQTZ.js} +2 -2
- package/dist/cdn/{Q2I457IY.js → XWATM26Z.js} +2 -2
- package/dist/cdn/{G6QKRYDX.js → YFDOLRTB.js} +2 -2
- package/dist/cdn/{P7CQDJIY.js → YT5TV6OQ.js} +2 -2
- package/dist/cdn/{GJC4OXWI.js → YTWAXYYB.js} +2 -2
- package/dist/cdn/{MXAGRBOC.js → YYGATDC4.js} +2 -2
- package/dist/cdn/{POXUWOVG.js → ZQPMVVLU.js} +2 -2
- package/dist/cdn/{MQBABEZU.js → ZXYBAGIE.js} +2 -2
- package/dist/cdn/index.js +2 -2
- package/dist/cdn/stdin.css +1 -0
- package/dist/chunks/action-bar-utils.js +1 -1
- package/dist/chunks/axis-model-wrapper.js +1 -1
- package/dist/chunks/bar-chart-model.js +1 -1
- package/dist/chunks/bar-chart-series.js +1 -1
- package/dist/chunks/baseline-stacking.js +1 -1
- package/dist/chunks/bg_BG.js +1 -1
- package/dist/chunks/bg_BG2.js +1 -1
- package/dist/chunks/box-plot-data.js +1 -1
- package/dist/chunks/box-plot-model.js +1 -1
- package/dist/chunks/chart-ui-utils.js +1 -1
- package/dist/chunks/chart-ui-utils2.js +1 -1
- package/dist/chunks/combo-bar-line-chart-model.js +1 -1
- package/dist/chunks/common.js +1 -1
- package/dist/chunks/data.js +1 -1
- package/dist/chunks/default.js +1 -1
- package/dist/chunks/gauge-model.js +1 -1
- package/dist/chunks/histogram-data.js +1 -1
- package/dist/chunks/histogram-model.js +1 -1
- package/dist/chunks/index.js +1 -1
- package/dist/chunks/index2.js +1 -1
- package/dist/chunks/index3.js +1 -1
- package/dist/chunks/index4.js +1 -1
- package/dist/chunks/interfaces.js +1 -1
- package/dist/chunks/interfaces2.js +1 -1
- package/dist/chunks/line-chart-model.js +1 -1
- package/dist/chunks/model-with-baseline-stacking.js +1 -1
- package/dist/chunks/model-with-data-labels.js +1 -1
- package/dist/chunks/model-with-multi-axes.js +1 -1
- package/dist/chunks/model-with-rotation.js +1 -1
- package/dist/chunks/pie-chart-data.js +1 -1
- package/dist/chunks/pie-chart-model.js +1 -1
- package/dist/chunks/popover-ui-utils.js +1 -1
- package/dist/chunks/radar-chart-model.js +1 -1
- package/dist/chunks/resource.js +1 -1
- package/dist/chunks/runtime.js +1 -1
- package/dist/chunks/scatterplot-model.js +1 -1
- package/dist/chunks/serial-chart-model.js +1 -1
- package/dist/chunks/series-types.js +1 -1
- package/dist/chunks/series.js +1 -1
- package/dist/chunks/setup-utils.js +1 -1
- package/dist/chunks/sk_SK.js +1 -1
- package/dist/chunks/store.js +1 -1
- package/dist/chunks/type-guards.js +1 -1
- package/dist/chunks/useT9n.js +1 -1
- package/dist/chunks/web-component-utils.js +1 -1
- package/dist/components/arcgis-chart/customElement.js +727 -726
- 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/package.json +4 -4
- package/dist/cdn/UZMDH6R7.js +0 -4
|
@@ -14,7 +14,7 @@ import { XYChart as we, AxisRendererX as fi, LineSeries as ke, XYCursor as tm, S
|
|
|
14
14
|
import { unsafeGetElementDirection as bc } from "@arcgis/toolkit/dom";
|
|
15
15
|
import { getElementLocale as br } from "@arcgis/toolkit/intl";
|
|
16
16
|
import { c as $s } from "../../chunks/index.js";
|
|
17
|
-
import { b3 as fn, cx as
|
|
17
|
+
import { b3 as fn, cx as L, p as H, c6 as Ei, c2 as Le, a5 as vi, B as Wi, d as nt, a as zt, T as rt, cj as Sr, b1 as is, H as St, r as Fi, q as ai, aS as as, a1 as Qt, S as Wa, cd as We, ch as he, l as At, co as kb, c7 as mi, c9 as ni, N as Y, k as Ze, F as re, cs as im, D as ue, bS as Ib, I as Sc, bx as sa, bF as Ye, E as Un, i as La, z as Is, ca as iu, aT as js, m as xr, b7 as xt, b_ as Ps, a2 as _s, A as Zs, cc as za, bw as Qs, bJ as Db, bY as Ob, b4 as un, R as Nb, ba as xc, bh as am, bu as Bb, bi as Mb, bW as Rs, bX as Cr, bq as $b, ci as gl, c0 as Pb, b5 as Rb, br as Vb, a3 as $e, U as Eb, n as ma, bL as Wb, bl as nm, bz as Cc, bA as zb, Q as Hb, P as au, bB as sm, bt as qb, bf as vr, bs as Gb, bv as Ub, bd as Yb, bg as Fr, X as ns, aD as Go, V as Ks, by as Xb, cf as om, J as vc, O as qe, cn as it, cb as rm, af as Fc, ah as lm, aq as Lc, ar as cm, ag as Lr, cy as _e, cz as Vs, cl as Uo, aP as dm, bR as ga, M as Tr, L as jb, ac as Js, az as um, an as Tc, ap as fm, ao as mm, _ as gm, K as hm, c4 as Yo, b6 as Yn, v as Ac, aW as pm, a4 as _b, G as Zb, bC as Qb, c8 as nu, c1 as xo, x as vs, g as Kb, cm as Jb, C as eS, cp as tS, h as iS } from "../../chunks/interfaces.js";
|
|
18
18
|
import { A as se, C as hl, L as $o, d as Po, e as Ro, S as Vo, V as Ls, b as su, E as Co, a as aS } from "../../chunks/index2.js";
|
|
19
19
|
import "@arcgis/core/core/promiseUtils.js";
|
|
20
20
|
import nS from "@arcgis/core/request.js";
|
|
@@ -58,7 +58,7 @@ import { n as mu } from "../../chunks/chart-ui-utils2.js";
|
|
|
58
58
|
import * as da from "@arcgis/core/core/reactiveUtils.js";
|
|
59
59
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
60
60
|
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
61
|
-
v4.34.0-next.
|
|
61
|
+
v4.34.0-next.121 */
|
|
62
62
|
var vo = { exports: {} }, bl, gu;
|
|
63
63
|
function JS() {
|
|
64
64
|
if (gu) return bl;
|
|
@@ -99,11 +99,11 @@ function ex() {
|
|
|
99
99
|
idle: C,
|
|
100
100
|
length: y,
|
|
101
101
|
getQueue: S,
|
|
102
|
-
unshift:
|
|
102
|
+
unshift: F,
|
|
103
103
|
empty: i,
|
|
104
104
|
kill: w,
|
|
105
105
|
killAndDrain: N,
|
|
106
|
-
error:
|
|
106
|
+
error: I
|
|
107
107
|
};
|
|
108
108
|
return m;
|
|
109
109
|
function g() {
|
|
@@ -113,35 +113,35 @@ function ex() {
|
|
|
113
113
|
m.paused = !0;
|
|
114
114
|
}
|
|
115
115
|
function y() {
|
|
116
|
-
for (var
|
|
117
|
-
|
|
116
|
+
for (var D = c, $ = 0; D; )
|
|
117
|
+
D = D.next, $++;
|
|
118
118
|
return $;
|
|
119
119
|
}
|
|
120
120
|
function S() {
|
|
121
|
-
for (var
|
|
122
|
-
$.push(
|
|
121
|
+
for (var D = c, $ = []; D; )
|
|
122
|
+
$.push(D.value), D = D.next;
|
|
123
123
|
return $;
|
|
124
124
|
}
|
|
125
125
|
function x() {
|
|
126
126
|
if (m.paused) {
|
|
127
127
|
m.paused = !1;
|
|
128
|
-
for (var
|
|
128
|
+
for (var D = 0; D < m.concurrency; D++)
|
|
129
129
|
u++, T();
|
|
130
130
|
}
|
|
131
131
|
}
|
|
132
132
|
function C() {
|
|
133
133
|
return u === 0 && m.length() === 0;
|
|
134
134
|
}
|
|
135
|
-
function v(
|
|
135
|
+
function v(D, $) {
|
|
136
136
|
var M = l.get();
|
|
137
|
-
M.context = s, M.release = T, M.value =
|
|
137
|
+
M.context = s, M.release = T, M.value = D, M.callback = $ || i, M.errorHandler = f, u === m.concurrency || m.paused ? d ? (d.next = M, d = M) : (c = M, d = M, m.saturated()) : (u++, o.call(s, M.value, M.worked));
|
|
138
138
|
}
|
|
139
|
-
function
|
|
139
|
+
function F(D, $) {
|
|
140
140
|
var M = l.get();
|
|
141
|
-
M.context = s, M.release = T, M.value =
|
|
141
|
+
M.context = s, M.release = T, M.value = D, M.callback = $ || i, u === m.concurrency || m.paused ? c ? (M.next = c, c = M) : (c = M, d = M, m.saturated()) : (u++, o.call(s, M.value, M.worked));
|
|
142
142
|
}
|
|
143
|
-
function T(
|
|
144
|
-
|
|
143
|
+
function T(D) {
|
|
144
|
+
D && l.release(D);
|
|
145
145
|
var $ = c;
|
|
146
146
|
$ ? m.paused ? u-- : (d === c && (d = null), c = $.next, $.next = null, o.call(s, $.value, $.worked), d === null && m.empty()) : --u === 0 && m.drain();
|
|
147
147
|
}
|
|
@@ -151,8 +151,8 @@ function ex() {
|
|
|
151
151
|
function N() {
|
|
152
152
|
c = null, d = null, m.drain(), m.drain = i;
|
|
153
153
|
}
|
|
154
|
-
function D
|
|
155
|
-
f =
|
|
154
|
+
function I(D) {
|
|
155
|
+
f = D;
|
|
156
156
|
}
|
|
157
157
|
}
|
|
158
158
|
function i() {
|
|
@@ -344,11 +344,11 @@ function fx(t) {
|
|
|
344
344
|
}).filter((c) => c !== void 0), n;
|
|
345
345
|
}
|
|
346
346
|
function mn(t) {
|
|
347
|
-
return t !==
|
|
347
|
+
return t !== L.PieNoAggregation && t !== L.BarAndLineNoAggregation && t !== L.BarAndLineSplitByNoAggregation;
|
|
348
348
|
}
|
|
349
349
|
function mx(t) {
|
|
350
350
|
const e = H(t.series);
|
|
351
|
-
return e ===
|
|
351
|
+
return e === L.BarAndLineFromFields || e === L.PieFromFields || e === L.BoxPlotMonoField || e === L.BoxPlotMultiFields || e === L.BoxPlotMonoFieldAndSplitBy || e === L.BoxPlotMultiFieldsAndSplitBy;
|
|
352
352
|
}
|
|
353
353
|
function Xe(t) {
|
|
354
354
|
return t && "showMean" in t && typeof t.showMean == "boolean" ? t.showMean : !1;
|
|
@@ -429,7 +429,7 @@ function hx(t) {
|
|
|
429
429
|
}
|
|
430
430
|
function Mm(t, e) {
|
|
431
431
|
const i = t;
|
|
432
|
-
if (e?.[0] !== void 0 && H(e) ===
|
|
432
|
+
if (e?.[0] !== void 0 && H(e) === L.PieFromFields) {
|
|
433
433
|
const { x: a, y: n } = e[0];
|
|
434
434
|
(mc(t) ? i : i.dataItems).forEach((r) => (nt in r && a !== nt && (r[a] = r[a] !== void 0 ? r[a] : r[nt], delete r[nt]), zt in r && n !== zt && (r[n] = r[n] !== void 0 ? r[n] : r[zt], delete r[zt]), r));
|
|
435
435
|
}
|
|
@@ -507,12 +507,12 @@ function yx(t) {
|
|
|
507
507
|
const i = z(t.series);
|
|
508
508
|
if (i === b.BarSeries || i === b.LineSeries || i === b.ComboLineAndBarSeries) {
|
|
509
509
|
const a = H(t.series);
|
|
510
|
-
e = a !==
|
|
510
|
+
e = a !== L.BarAndLineNoAggregation && a !== L.BarAndLineSplitByNoAggregation;
|
|
511
511
|
}
|
|
512
512
|
return e;
|
|
513
513
|
}
|
|
514
514
|
function bx(t) {
|
|
515
|
-
return H(t.series) !==
|
|
515
|
+
return H(t.series) !== L.PieNoAggregation;
|
|
516
516
|
}
|
|
517
517
|
function $c(t) {
|
|
518
518
|
const { dataContext: e, chartConfig: i, chartLimits: a } = t;
|
|
@@ -658,7 +658,7 @@ function Ox(t, e) {
|
|
|
658
658
|
return Xe(t) !== Xe(e);
|
|
659
659
|
}
|
|
660
660
|
function Nx(t, e) {
|
|
661
|
-
const i = t.axes?.[0].valueFormat.type, a = e.axes?.[0].valueFormat.type, n = H(e.series), s = n ===
|
|
661
|
+
const i = t.axes?.[0].valueFormat.type, a = e.axes?.[0].valueFormat.type, n = H(e.series), s = n === L.BarAndLineNoAggregation || n === L.BarAndLineSplitByNoAggregation, o = i === b.DateAxisFormat && a === b.NumberAxisFormat, r = i === b.NumberAxisFormat && a === b.DateAxisFormat;
|
|
662
662
|
return i !== a && (s || o || r);
|
|
663
663
|
}
|
|
664
664
|
function Or(t) {
|
|
@@ -804,7 +804,7 @@ function Rm(t, e) {
|
|
|
804
804
|
// handled through the number of bins
|
|
805
805
|
case b.BoxPlotSeries:
|
|
806
806
|
}
|
|
807
|
-
return (C ===
|
|
807
|
+
return (C === L.BarAndLineNoAggregation || C === L.BarAndLineMultiFields) && i !== void 0 && (i = Math.ceil(i / x)), i;
|
|
808
808
|
}
|
|
809
809
|
function er(t, e) {
|
|
810
810
|
let i = t;
|
|
@@ -968,7 +968,7 @@ function Ux(t) {
|
|
|
968
968
|
a = t.series[0].x;
|
|
969
969
|
else {
|
|
970
970
|
a === ln.Mean ? a = Y.Average : a === ln.Median && (a = Y.Median);
|
|
971
|
-
const s = e ===
|
|
971
|
+
const s = e === L.BoxPlotMultiFieldsAndCategory && typeof t.series[0].y == "string" ? t.series[0].y : void 0, o = Ze(t.series[0].query?.where), r = At({
|
|
972
972
|
where: t.series[0].query?.where
|
|
973
973
|
});
|
|
974
974
|
a = re({
|
|
@@ -987,7 +987,7 @@ function Ux(t) {
|
|
|
987
987
|
return i;
|
|
988
988
|
}
|
|
989
989
|
function Yx(t) {
|
|
990
|
-
const e = t.series[0], { x: i, y: a } = e, n = H(t.series) ===
|
|
990
|
+
const e = t.series[0], { x: i, y: a } = e, n = H(t.series) === L.PieFromFields;
|
|
991
991
|
let s, o = "", r;
|
|
992
992
|
if (t.orderOptions?.data !== void 0 && (o = t.orderOptions?.data?.orderType ?? ln.Category, r = t.orderOptions?.data?.orderBy, o === ln.Category ? o = n ? nt : i : o = n ? zt : [a].flat()[0]), o !== void 0 && o !== "") {
|
|
993
993
|
const l = ni(t);
|
|
@@ -1030,7 +1030,7 @@ function Wl(t) {
|
|
|
1030
1030
|
function Vc(t) {
|
|
1031
1031
|
const { oldConfig: e, newConfig: i, dataUpdateNeeded: a } = t, n = H(i.series);
|
|
1032
1032
|
let s = !1, o = !1;
|
|
1033
|
-
if (n !==
|
|
1033
|
+
if (n !== L.BoxPlotMonoField && n !== L.BoxPlotMonoFieldAndSplitBy && i.orderOptions?.data !== void 0) {
|
|
1034
1034
|
const r = Wl(e), l = Wl(i);
|
|
1035
1035
|
o = e.orderOptions?.data?.orderType !== i.orderOptions?.data?.orderType || r?.sortingField !== l?.sortingField || r?.orderBy !== l?.orderBy || (r?.preferLabel ?? !0) !== (l?.preferLabel ?? !0), s = o || a;
|
|
1036
1036
|
}
|
|
@@ -1120,10 +1120,10 @@ async function _m(t) {
|
|
|
1120
1120
|
p = c.modalHeaders.tooManyFeatures;
|
|
1121
1121
|
let S = Number.NaN, x = Number.NaN, C = "";
|
|
1122
1122
|
n !== void 0 && (n <= m.maxBarChartSeriesCount ? n === 1 ? (C = c.errors.uniqueSeriesBarCountCannotExceedLimit, S = m.maxBarUniqueSeriesCountTotal) : n === 2 ? (C = c.errors.twoSeriesBarCountCannotExceedLimit, S = m.maxBarTwoSeriesCountTotal, x = m.maxBarTwoSeriesCountPerSeries) : n > 2 && (C = c.errors.threePlusSeriesBarCountCannotExceedLimit, S = m.maxBarThreePlusSeriesCountTotal, x = m.maxBarThreePlusSeriesCountPerSeries) : (C = c.errors.barSeriesCountCannotExceedLimit, x = m.maxBarChartSeriesCount));
|
|
1123
|
-
const v = f.format(S),
|
|
1123
|
+
const v = f.format(S), F = f.format(x), T = a !== void 0 ? f.format(a) : "";
|
|
1124
1124
|
d = Vt(C, {
|
|
1125
1125
|
totalLimit: v,
|
|
1126
|
-
seriesLimit:
|
|
1126
|
+
seriesLimit: F,
|
|
1127
1127
|
elementCount: T
|
|
1128
1128
|
}), u = {
|
|
1129
1129
|
actualCount: a ?? Number.NaN,
|
|
@@ -1137,10 +1137,10 @@ async function _m(t) {
|
|
|
1137
1137
|
p = c.modalHeaders.tooManyFeatures;
|
|
1138
1138
|
let S = Number.NaN, x = Number.NaN, C = "";
|
|
1139
1139
|
n !== void 0 && (n <= m.maxLineChartSeriesCount ? n === 1 ? (C = l ? c.errors.uniqueTemporalSeriesLineCountCannotExceedLimit : c.errors.uniqueSeriesLineCountCannotExceedLimit, S = m.maxLineUniqueSeriesCountTotal) : n === 2 ? (C = l ? c.errors.twoTemporalSeriesLineCountCannotExceedLimit : c.errors.twoSeriesLineCountCannotExceedLimit, S = m.maxLineTwoSeriesCountTotal, x = m.maxLineTwoSeriesCountPerSeries) : n > 2 && (C = l ? c.errors.threePlusTemporalSeriesLineCountCannotExceedLimit : c.errors.threePlusSeriesLineCountCannotExceedLimit, S = m.maxLineThreePlusSeriesCountTotal, x = m.maxLineThreePlusSeriesCountPerSeries) : (C = c.errors.lineSeriesCountCannotExceedLimit, x = m.maxLineChartSeriesCount));
|
|
1140
|
-
const v = f.format(S),
|
|
1140
|
+
const v = f.format(S), F = f.format(x), T = a !== void 0 ? f.format(a) : "";
|
|
1141
1141
|
d = Vt(C, {
|
|
1142
1142
|
elementCount: T,
|
|
1143
|
-
seriesLimit:
|
|
1143
|
+
seriesLimit: F,
|
|
1144
1144
|
totalLimit: v
|
|
1145
1145
|
}), u = {
|
|
1146
1146
|
actualCount: a ?? Number.NaN,
|
|
@@ -1154,10 +1154,10 @@ async function _m(t) {
|
|
|
1154
1154
|
p = c.modalHeaders.tooManyFeatures;
|
|
1155
1155
|
let S = Number.NaN, x = Number.NaN, C = "";
|
|
1156
1156
|
n !== void 0 && (n <= m.maxBoxPlotSeriesCount ? n === 1 ? (C = c.errors.uniqueSeriesBoxCountCannotExceedLimit, S = m.maxBoxUniqueSeriesCountTotal) : n === 2 ? (C = c.errors.twoSeriesBoxCountCannotExceedLimit, S = m.maxBoxTwoSeriesCountTotal, x = m.maxBoxTwoSeriesCountPerSeries) : n > 2 && (C = c.errors.threePlusBoxLineCountCannotExceedLimit, S = m.maxBoxThreePlusSeriesCountTotal, x = m.maxBoxThreePlusSeriesCountPerSeries) : (C = c.errors.boxSeriesCountCannotExceedLimit, x = m.maxBoxPlotSeriesCount));
|
|
1157
|
-
const v = f.format(S),
|
|
1157
|
+
const v = f.format(S), F = f.format(x), T = a !== void 0 ? f.format(a) : "";
|
|
1158
1158
|
d = Vt(C, {
|
|
1159
1159
|
elementCount: T,
|
|
1160
|
-
seriesLimit:
|
|
1160
|
+
seriesLimit: F,
|
|
1161
1161
|
totalLimit: v
|
|
1162
1162
|
}), u = {
|
|
1163
1163
|
actualCount: a ?? Number.NaN,
|
|
@@ -1305,7 +1305,7 @@ function jx(t) {
|
|
|
1305
1305
|
Object.keys(n).forEach((c) => {
|
|
1306
1306
|
c.startsWith(r) ? l[c.replace(`${r}_`, "")] = n[c] : c.includes(k.rendererSymbolField) && (l[c] = n[c]), l[k.boxPlot.boxPlotCategory] = r, a && (l = Ec({
|
|
1307
1307
|
dataItem: l,
|
|
1308
|
-
chartSubType:
|
|
1308
|
+
chartSubType: L.BoxPlotMultiFields
|
|
1309
1309
|
}));
|
|
1310
1310
|
}), s.set(r, l);
|
|
1311
1311
|
}), Array.from(s.values());
|
|
@@ -1333,7 +1333,7 @@ function Zx(t) {
|
|
|
1333
1333
|
f.startsWith(`${d}_`) ? u[`${c}_${f.replace(`${d}_`, "")}`] = m : f.includes(k.rendererSymbolField) ? u[`${f}_${c}`] = m : f === k.boxPlot.boxPlotMeanLineMarkerId && (u[f] = l[f]);
|
|
1334
1334
|
}), n && (u = Ec({
|
|
1335
1335
|
dataItem: u,
|
|
1336
|
-
chartSubType:
|
|
1336
|
+
chartSubType: L.BoxPlotMultiFieldsAndSplitBy,
|
|
1337
1337
|
splitByValue: c,
|
|
1338
1338
|
meanPerField: s?.[Zn(d, U.Average)],
|
|
1339
1339
|
stdDevPerField: s?.[Zn(d, U.StandardDeviation)]
|
|
@@ -1350,7 +1350,7 @@ function Qx(t) {
|
|
|
1350
1350
|
i.forEach((r) => {
|
|
1351
1351
|
Ec({
|
|
1352
1352
|
dataItem: o,
|
|
1353
|
-
chartSubType:
|
|
1353
|
+
chartSubType: L.BoxPlotMultiFieldsAndCategory,
|
|
1354
1354
|
y: r,
|
|
1355
1355
|
meanPerField: n?.[Zn(r, U.Average)],
|
|
1356
1356
|
stdDevPerField: n?.[Zn(r, U.StandardDeviation)]
|
|
@@ -1379,7 +1379,7 @@ function Kx(t) {
|
|
|
1379
1379
|
}
|
|
1380
1380
|
function Jx(t, e) {
|
|
1381
1381
|
const { series: i } = t, a = i[0], { y: n } = a, s = H(t.series), o = {
|
|
1382
|
-
y: s ===
|
|
1382
|
+
y: s === L.BoxPlotMultiFieldsAndCategory ? n : void 0,
|
|
1383
1383
|
chartSubType: s
|
|
1384
1384
|
}, r = t.series.map((l) => {
|
|
1385
1385
|
let c = At({
|
|
@@ -1434,7 +1434,7 @@ function yu(t) {
|
|
|
1434
1434
|
return l === "outliers" && r !== o ? u = `(${e}<${r} OR ${e}>${o})` : l === "alternativeData" && (r === o ? u = `(${e}=${r})` : u = `(${e}>=${r} AND ${e}<=${o})`), [c, d, u].filter((m) => m !== void 0).join(" AND ");
|
|
1435
1435
|
}
|
|
1436
1436
|
function Zm(t) {
|
|
1437
|
-
const { data: e, yField: i, x: a, chartSubType: n, splitByField: s } = t, o = n ===
|
|
1437
|
+
const { data: e, yField: i, x: a, chartSubType: n, splitByField: s } = t, o = n === L.BoxPlotMonoField || n === L.BoxPlotMonoFieldAndCategory || n === L.BoxPlotMonoFieldAndSplitBy || n === L.BoxPlotMonoFieldAndCategoryAndSplitBy ? void 0 : i, r = Is(o), l = [], c = [], { maxOperandsPerWhereClause: d } = js();
|
|
1438
1438
|
let u = [], f = [], m = 1;
|
|
1439
1439
|
return e.forEach((g, p) => {
|
|
1440
1440
|
const { outlierMinThreshold: y, outlierMaxThreshold: S } = eC(g, r);
|
|
@@ -1444,12 +1444,12 @@ function Zm(t) {
|
|
|
1444
1444
|
outlierMinThreshold: y,
|
|
1445
1445
|
outlierMaxThreshold: S
|
|
1446
1446
|
};
|
|
1447
|
-
(n ===
|
|
1447
|
+
(n === L.BoxPlotMonoFieldAndCategory || n === L.BoxPlotMultiFieldsAndCategory || n === L.BoxPlotMonoFieldAndCategoryAndSplitBy) && a !== void 0 && a in g && (x.xField = a, x.xValue = ei({
|
|
1448
1448
|
value: g[a],
|
|
1449
1449
|
dataContext: g,
|
|
1450
1450
|
keepNullValues: !0,
|
|
1451
1451
|
specificField: k.typeOrDomainIdValue
|
|
1452
|
-
})), (n ===
|
|
1452
|
+
})), (n === L.BoxPlotMonoFieldAndSplitBy || n === L.BoxPlotMultiFieldsAndSplitBy || n === L.BoxPlotMonoFieldAndCategoryAndSplitBy) && s !== void 0 && s in g && (x.splitByField = s, x.splitByValue = g[s]), u.push(yu({ ...x, target: "outliers" })), f.push(yu({ ...x, target: "alternativeData" })), (m % d === 0 || p === e.length - 1) && (l.push(Ye(u, "OR")), c.push(Ye(f, "OR")), u = [], f = []);
|
|
1453
1453
|
}
|
|
1454
1454
|
m += 1;
|
|
1455
1455
|
}), { outliersFilterBatches: l, dataWithoutOutliersFilterBatches: c };
|
|
@@ -1459,12 +1459,12 @@ function tC(t) {
|
|
|
1459
1459
|
let l = o?.[Zn(s, U.Average)], c = o?.[Zn(s, U.StandardDeviation)];
|
|
1460
1460
|
if (l === void 0 && c === void 0)
|
|
1461
1461
|
switch (a) {
|
|
1462
|
-
case
|
|
1462
|
+
case L.BoxPlotMultiFields: {
|
|
1463
1463
|
const d = Is(s), u = e[0];
|
|
1464
1464
|
l = Number(u[d[Y.Average]]), c = Number(u[d[Y.StandardDeviation]]);
|
|
1465
1465
|
break;
|
|
1466
1466
|
}
|
|
1467
|
-
case
|
|
1467
|
+
case L.BoxPlotMultiFieldsAndCategory: {
|
|
1468
1468
|
const d = e.find((u) => u[n] === i[n]);
|
|
1469
1469
|
if (d !== void 0) {
|
|
1470
1470
|
const u = Is(s);
|
|
@@ -1472,7 +1472,7 @@ function tC(t) {
|
|
|
1472
1472
|
}
|
|
1473
1473
|
break;
|
|
1474
1474
|
}
|
|
1475
|
-
case
|
|
1475
|
+
case L.BoxPlotMultiFieldsAndSplitBy: {
|
|
1476
1476
|
const d = e.find((u) => u[r] === i[r]);
|
|
1477
1477
|
if (d !== void 0) {
|
|
1478
1478
|
const u = Is(s);
|
|
@@ -1496,8 +1496,8 @@ async function iC(t) {
|
|
|
1496
1496
|
for (let C = 0; C < x.length; C += 1) {
|
|
1497
1497
|
const v = x[C];
|
|
1498
1498
|
if (v !== "") {
|
|
1499
|
-
const
|
|
1500
|
-
c !== k.boxPlot.boxPlotCategory &&
|
|
1499
|
+
const F = [];
|
|
1500
|
+
c !== k.boxPlot.boxPlotCategory && F.push(c), F.push(S), d !== "" && F.push(d), F.push(u.objectIdField);
|
|
1501
1501
|
const T = {
|
|
1502
1502
|
...a,
|
|
1503
1503
|
where: Ye([a.where, v]),
|
|
@@ -1505,7 +1505,7 @@ async function iC(t) {
|
|
|
1505
1505
|
outStatistics: void 0,
|
|
1506
1506
|
orderByFields: void 0,
|
|
1507
1507
|
num: void 0,
|
|
1508
|
-
outFields:
|
|
1508
|
+
outFields: F
|
|
1509
1509
|
};
|
|
1510
1510
|
m.push(
|
|
1511
1511
|
sa({
|
|
@@ -1526,35 +1526,35 @@ async function iC(t) {
|
|
|
1526
1526
|
const v = { ...C.attributes };
|
|
1527
1527
|
if (v[x] !== void 0) {
|
|
1528
1528
|
c === k.boxPlot.boxPlotCategory && (v[k.boxPlot.boxPlotCategory] = x);
|
|
1529
|
-
let
|
|
1529
|
+
let F = {
|
|
1530
1530
|
key: Y.Outlier,
|
|
1531
1531
|
chartSubType: r
|
|
1532
1532
|
};
|
|
1533
1533
|
switch (r) {
|
|
1534
|
-
case
|
|
1535
|
-
case
|
|
1536
|
-
case
|
|
1537
|
-
|
|
1538
|
-
...
|
|
1534
|
+
case L.BoxPlotMonoFieldAndSplitBy:
|
|
1535
|
+
case L.BoxPlotMultiFieldsAndSplitBy:
|
|
1536
|
+
case L.BoxPlotMonoFieldAndCategoryAndSplitBy:
|
|
1537
|
+
F = {
|
|
1538
|
+
...F,
|
|
1539
1539
|
splitByValue: v[d]
|
|
1540
1540
|
};
|
|
1541
1541
|
break;
|
|
1542
|
-
case
|
|
1543
|
-
|
|
1544
|
-
...
|
|
1542
|
+
case L.BoxPlotMultiFieldsAndCategory:
|
|
1543
|
+
F = {
|
|
1544
|
+
...F,
|
|
1545
1545
|
y: x
|
|
1546
1546
|
};
|
|
1547
1547
|
break;
|
|
1548
1548
|
}
|
|
1549
|
-
const T = re(
|
|
1549
|
+
const T = re(F), w = v[x];
|
|
1550
1550
|
v[T] = w;
|
|
1551
|
-
const N = `${v[c]}-${v[d]}-${w}`,
|
|
1551
|
+
const N = `${v[c]}-${v[d]}-${w}`, I = p.get(N);
|
|
1552
1552
|
if (v[rt.uniqueIdsName] = [
|
|
1553
|
-
...
|
|
1553
|
+
...I?.[rt.uniqueIdsName] ?? [],
|
|
1554
1554
|
v[u.objectIdField]
|
|
1555
1555
|
], delete v[u.objectIdField], Un(r)) {
|
|
1556
|
-
const
|
|
1557
|
-
...
|
|
1556
|
+
const D = re({
|
|
1557
|
+
...F,
|
|
1558
1558
|
standardizeValues: !0
|
|
1559
1559
|
}), { mean: $, stdDev: M } = tC({
|
|
1560
1560
|
data: i,
|
|
@@ -1565,7 +1565,7 @@ async function iC(t) {
|
|
|
1565
1565
|
splitByField: d,
|
|
1566
1566
|
meanAndStdDevPerField: s
|
|
1567
1567
|
});
|
|
1568
|
-
$ !== void 0 && M !== void 0 && (v[
|
|
1568
|
+
$ !== void 0 && M !== void 0 && (v[D] = zl({
|
|
1569
1569
|
value: w,
|
|
1570
1570
|
mean: $,
|
|
1571
1571
|
stdDev: M
|
|
@@ -1589,8 +1589,8 @@ async function aC(t) {
|
|
|
1589
1589
|
chartSubType: f,
|
|
1590
1590
|
splitByField: p
|
|
1591
1591
|
});
|
|
1592
|
-
for (let
|
|
1593
|
-
const T = v[
|
|
1592
|
+
for (let F = 0; F < v.length; F += 1) {
|
|
1593
|
+
const T = v[F], w = {
|
|
1594
1594
|
...a,
|
|
1595
1595
|
where: Ye([a.where, T])
|
|
1596
1596
|
};
|
|
@@ -1616,7 +1616,7 @@ async function aC(t) {
|
|
|
1616
1616
|
const S = await Promise.all(y);
|
|
1617
1617
|
for (let x = 0; x < S.length; x += 1)
|
|
1618
1618
|
l.push(...S[x]);
|
|
1619
|
-
return f !==
|
|
1619
|
+
return f !== L.BoxPlotMonoFieldAndCategoryAndSplitBy && (l = ro({
|
|
1620
1620
|
data: l,
|
|
1621
1621
|
x: p !== void 0 && p !== "" ? p : g
|
|
1622
1622
|
})), l;
|
|
@@ -1625,7 +1625,7 @@ async function nC(t) {
|
|
|
1625
1625
|
const { queryObject: e, uniqueQuery: i, chartConfig: a, abortKey: n } = t;
|
|
1626
1626
|
let s;
|
|
1627
1627
|
const { series: o, showMean: r } = a, l = H(o);
|
|
1628
|
-
if (l ===
|
|
1628
|
+
if (l === L.BoxPlotMultiFieldsAndCategory || l === L.BoxPlotMultiFieldsAndSplitBy) {
|
|
1629
1629
|
const c = Sc({ showMean: r, seriesConfig: o }), d = {
|
|
1630
1630
|
...i
|
|
1631
1631
|
};
|
|
@@ -1673,17 +1673,17 @@ function Qm(t) {
|
|
|
1673
1673
|
if ((r.type === b.LineSeries || r.type === b.BoxPlotSeries) && i?.[0] !== void 0) {
|
|
1674
1674
|
const f = Ze(r.query?.where);
|
|
1675
1675
|
switch (l) {
|
|
1676
|
-
case
|
|
1676
|
+
case L.BoxPlotMonoField:
|
|
1677
1677
|
u[0][k.boxPlot.boxPlotCategory] = d[0];
|
|
1678
1678
|
break;
|
|
1679
|
-
case
|
|
1679
|
+
case L.BoxPlotMultiFields:
|
|
1680
1680
|
u = jx({
|
|
1681
1681
|
data: i,
|
|
1682
1682
|
yList: d,
|
|
1683
1683
|
calculateZScore: a
|
|
1684
1684
|
});
|
|
1685
1685
|
break;
|
|
1686
|
-
case
|
|
1686
|
+
case L.BoxPlotMonoFieldAndSplitBy:
|
|
1687
1687
|
u = _x({
|
|
1688
1688
|
data: i,
|
|
1689
1689
|
splitByField: f,
|
|
@@ -1691,7 +1691,7 @@ function Qm(t) {
|
|
|
1691
1691
|
// there's only one `y` value for that query type
|
|
1692
1692
|
});
|
|
1693
1693
|
break;
|
|
1694
|
-
case
|
|
1694
|
+
case L.BoxPlotMultiFieldsAndSplitBy:
|
|
1695
1695
|
u = Zx({
|
|
1696
1696
|
splitByField: f,
|
|
1697
1697
|
data: i,
|
|
@@ -1700,7 +1700,7 @@ function Qm(t) {
|
|
|
1700
1700
|
calculateZScore: a
|
|
1701
1701
|
});
|
|
1702
1702
|
break;
|
|
1703
|
-
case
|
|
1703
|
+
case L.BoxPlotMultiFieldsAndCategory:
|
|
1704
1704
|
u = Qx({
|
|
1705
1705
|
data: i,
|
|
1706
1706
|
yList: d,
|
|
@@ -1708,14 +1708,14 @@ function Qm(t) {
|
|
|
1708
1708
|
calculateZScore: a
|
|
1709
1709
|
});
|
|
1710
1710
|
break;
|
|
1711
|
-
case
|
|
1711
|
+
case L.BoxPlotMonoFieldAndCategoryAndSplitBy:
|
|
1712
1712
|
u = Kx({
|
|
1713
1713
|
splitByField: f,
|
|
1714
1714
|
x: c,
|
|
1715
1715
|
data: i
|
|
1716
1716
|
});
|
|
1717
1717
|
break;
|
|
1718
|
-
case
|
|
1718
|
+
case L.BoxPlotMonoFieldAndCategory:
|
|
1719
1719
|
}
|
|
1720
1720
|
}
|
|
1721
1721
|
return Jx(e, u), u;
|
|
@@ -5879,23 +5879,23 @@ class K {
|
|
|
5879
5879
|
let y, S, x = wo(l, c);
|
|
5880
5880
|
p ? (y = i0, S = e0, x = ir(x, o, r)) : d ? (y = a0, S = t0, x = vl(x)) : (y = zo, S = Kg);
|
|
5881
5881
|
let C = !1;
|
|
5882
|
-
for (const
|
|
5883
|
-
const $ = s[
|
|
5884
|
-
ne($) ? C ? s[
|
|
5885
|
-
}
|
|
5886
|
-
const v = p ? BC(s, o, r) : d ? MC(s) : Lg(s),
|
|
5887
|
-
if (
|
|
5888
|
-
return K.invalid(
|
|
5889
|
-
const T = p ? ku(s, o, r) : d ? Iu(s) : s, [w, N] = Wo(T, c, a),
|
|
5882
|
+
for (const D of y) {
|
|
5883
|
+
const $ = s[D];
|
|
5884
|
+
ne($) ? C ? s[D] = S[D] : s[D] = x[D] : C = !0;
|
|
5885
|
+
}
|
|
5886
|
+
const v = p ? BC(s, o, r) : d ? MC(s) : Lg(s), F = v || Tg(s);
|
|
5887
|
+
if (F)
|
|
5888
|
+
return K.invalid(F);
|
|
5889
|
+
const T = p ? ku(s, o, r) : d ? Iu(s) : s, [w, N] = Wo(T, c, a), I = new K({
|
|
5890
5890
|
ts: w,
|
|
5891
5891
|
zone: a,
|
|
5892
5892
|
o: N,
|
|
5893
5893
|
loc: n
|
|
5894
5894
|
});
|
|
5895
|
-
return s.weekday && m && e.weekday !==
|
|
5895
|
+
return s.weekday && m && e.weekday !== I.weekday ? K.invalid(
|
|
5896
5896
|
"mismatched weekday",
|
|
5897
|
-
`you can't specify both a weekday of ${s.weekday} and a date of ${
|
|
5898
|
-
) :
|
|
5897
|
+
`you can't specify both a weekday of ${s.weekday} and a date of ${I.toISO()}`
|
|
5898
|
+
) : I.isValid ? I : K.invalid(I.invalid);
|
|
5899
5899
|
}
|
|
5900
5900
|
/**
|
|
5901
5901
|
* Create a DateTime from an ISO 8601 string
|
|
@@ -7344,7 +7344,7 @@ function u0(t) {
|
|
|
7344
7344
|
splitByField: l
|
|
7345
7345
|
} = t, c = rt.outStatistics;
|
|
7346
7346
|
if (e.outStatistics?.[0] !== void 0) {
|
|
7347
|
-
s !==
|
|
7347
|
+
s !== L.PieFromFields && s !== L.BarAndLineFromFields && (e.outStatistics[0].outStatisticFieldName = a ? c.outStatisticFieldName : [i].flat()[0]);
|
|
7348
7348
|
const { outStatistics: d } = e;
|
|
7349
7349
|
for (let u = 0; u < d.length; u += 1) {
|
|
7350
7350
|
const f = e.outStatistics[u];
|
|
@@ -7417,7 +7417,7 @@ function g0(t) {
|
|
|
7417
7417
|
const { uniqueQuery: e, x: i, splitByField: a, unit: n, chartSubType: s, objectIdField: o } = t;
|
|
7418
7418
|
if (n !== void 0) {
|
|
7419
7419
|
const r = o0(i, n);
|
|
7420
|
-
e.orderByFields = r, e.groupByFieldsForStatistics = r, s ===
|
|
7420
|
+
e.orderByFields = r, e.groupByFieldsForStatistics = r, s === L.BarAndLineSplitBy && !he(a) ? e.groupByFieldsForStatistics.push(a) : s === L.BarAndLineNoAggregation && (e.groupByFieldsForStatistics.push(o), e.outStatistics = [
|
|
7421
7421
|
{
|
|
7422
7422
|
onStatisticField: o,
|
|
7423
7423
|
outStatisticFieldName: `COUNT_${o}`,
|
|
@@ -7432,7 +7432,7 @@ function Jg(t) {
|
|
|
7432
7432
|
const n = Rm(e, i?.chartLimits);
|
|
7433
7433
|
if (n !== void 0) {
|
|
7434
7434
|
const s = H(e.series);
|
|
7435
|
-
if (s ===
|
|
7435
|
+
if (s === L.PieFromFields || s === L.BarAndLineFromFields) {
|
|
7436
7436
|
if (a.outStatistics?.[0] !== void 0) {
|
|
7437
7437
|
const o = (c, d) => c.statisticType === U.EnvelopeAggregate === d, r = a.outStatistics.filter((c) => o(c, !0)), l = a.outStatistics.filter((c) => o(c, !1));
|
|
7438
7438
|
l.splice(n), a.outStatistics = [...l, ...r];
|
|
@@ -7448,42 +7448,42 @@ async function Wr(t) {
|
|
|
7448
7448
|
setTimeBinningInfoWhenNotProvided: r,
|
|
7449
7449
|
seriesConfig: u
|
|
7450
7450
|
});
|
|
7451
|
-
let y = /* @__PURE__ */ new Map(), S = !1, x = !1, C = !1, v = !1,
|
|
7451
|
+
let y = /* @__PURE__ */ new Map(), S = !1, x = !1, C = !1, v = !1, F = !1, T = {};
|
|
7452
7452
|
if (f !== void 0) {
|
|
7453
7453
|
T = ze(f);
|
|
7454
7454
|
const W = Ze(f.where);
|
|
7455
7455
|
let G = "";
|
|
7456
7456
|
switch (i.fetchNullValues !== !0 && (m !== k.boxPlot.boxPlotCategory && (G = `${m} IS NOT NULL`), W.trim() !== "" && W !== m && !xr(f.where) && (G = Ye([G, `${W} IS NOT NULL`]))), d) {
|
|
7457
|
-
case
|
|
7457
|
+
case L.BarAndLineSplitBy: {
|
|
7458
7458
|
y = l0(c), v = !0, S = !0, x = !0;
|
|
7459
7459
|
break;
|
|
7460
7460
|
}
|
|
7461
|
-
case
|
|
7461
|
+
case L.BarAndLineMultiFields:
|
|
7462
7462
|
m0(T, c), x = !0;
|
|
7463
7463
|
break;
|
|
7464
|
-
case
|
|
7465
|
-
case
|
|
7464
|
+
case L.PieFromFields:
|
|
7465
|
+
case L.BarAndLineFromFields:
|
|
7466
7466
|
G = "", C = !0, x = !0;
|
|
7467
7467
|
break;
|
|
7468
|
-
case
|
|
7469
|
-
case
|
|
7468
|
+
case L.BarAndLineMonoField:
|
|
7469
|
+
case L.PieFromCategory:
|
|
7470
7470
|
x = !0;
|
|
7471
7471
|
break;
|
|
7472
|
-
case
|
|
7473
|
-
case
|
|
7474
|
-
C = !0,
|
|
7472
|
+
case L.BoxPlotMonoField:
|
|
7473
|
+
case L.BoxPlotMultiFields:
|
|
7474
|
+
C = !0, F = !0;
|
|
7475
7475
|
break;
|
|
7476
|
-
case
|
|
7477
|
-
case
|
|
7478
|
-
case
|
|
7479
|
-
case
|
|
7480
|
-
case
|
|
7481
|
-
|
|
7476
|
+
case L.BoxPlotMonoFieldAndCategory:
|
|
7477
|
+
case L.BoxPlotMultiFieldsAndCategory:
|
|
7478
|
+
case L.BoxPlotMonoFieldAndSplitBy:
|
|
7479
|
+
case L.BoxPlotMonoFieldAndCategoryAndSplitBy:
|
|
7480
|
+
case L.BoxPlotMultiFieldsAndSplitBy: {
|
|
7481
|
+
F = !0, v = !0, C = !0;
|
|
7482
7482
|
break;
|
|
7483
7483
|
}
|
|
7484
|
-
case
|
|
7485
|
-
case
|
|
7486
|
-
case
|
|
7484
|
+
case L.PieNoAggregation:
|
|
7485
|
+
case L.BarAndLineNoAggregation:
|
|
7486
|
+
case L.BarAndLineSplitByNoAggregation:
|
|
7487
7487
|
}
|
|
7488
7488
|
if (x && u0({
|
|
7489
7489
|
uniqueQuery: T,
|
|
@@ -7494,7 +7494,7 @@ async function Wr(t) {
|
|
|
7494
7494
|
isTimeBinningSeries: p,
|
|
7495
7495
|
returnFeaturesExtent: l,
|
|
7496
7496
|
splitByField: W
|
|
7497
|
-
}), v && c0({ uniqueQuery: T, splitByField: W, x: m }),
|
|
7497
|
+
}), v && c0({ uniqueQuery: T, splitByField: W, x: m }), F && (T.outStatistics = f0({ chartConfig: e, fetchFullBoxPlotData: o })), C ? delete T.orderByFields : i.orderByFields !== void 0 && (T.orderByFields = i.orderByFields.filter((q) => {
|
|
7498
7498
|
const _ = q.split(" ");
|
|
7499
7499
|
return !he(_[0]);
|
|
7500
7500
|
})), p && Fi(c[0])) {
|
|
@@ -7511,8 +7511,8 @@ async function Wr(t) {
|
|
|
7511
7511
|
T.where = G;
|
|
7512
7512
|
}
|
|
7513
7513
|
Jg({ chartConfig: e, options: a, uniqueQuery: T });
|
|
7514
|
-
const { gdbVersion: w, geometry: N, distance:
|
|
7515
|
-
return w !== void 0 && (T.gdbVersion = w), N !== void 0 && (T.geometry = N),
|
|
7514
|
+
const { gdbVersion: w, geometry: N, distance: I, units: D, timeExtent: $, where: M, objectIds: P, spatialRelationship: V } = i;
|
|
7515
|
+
return w !== void 0 && (T.gdbVersion = w), N !== void 0 && (T.geometry = N), I !== void 0 && (T.distance = I), D !== void 0 && (T.units = D), $ !== void 0 && (T.timeExtent = $), P !== void 0 && (T.objectIds = P), V !== void 0 && (T.spatialRelationship = V), M !== void 0 && (T.where = Ye([T.where, M])), { uniqueQuery: T, mapToStatField: y };
|
|
7516
7516
|
}
|
|
7517
7517
|
async function h0(t) {
|
|
7518
7518
|
const { queryObject: e, queryConfig: i, chartConfig: a, abortKey: n } = t, s = a.series[0], { x: o, valueConversion: r } = s, l = Zs(a), c = await sa({
|
|
@@ -7770,44 +7770,44 @@ async function k0(t) {
|
|
|
7770
7770
|
geometry: g.extent
|
|
7771
7771
|
});
|
|
7772
7772
|
if (g.extent !== void 0 && Ob(u)) {
|
|
7773
|
-
const { distance:
|
|
7774
|
-
|
|
7773
|
+
const { distance: I, units: D } = i;
|
|
7774
|
+
I !== void 0 && (y.distance = I), D !== void 0 && (y.units = D);
|
|
7775
7775
|
}
|
|
7776
7776
|
i.timeExtent && (y.timeExtent = { start: i.timeExtent[0], end: i.timeExtent[1] }), p.filter = y;
|
|
7777
7777
|
let S;
|
|
7778
7778
|
p.outStatisticTypes = { exclude: ["median"] };
|
|
7779
7779
|
try {
|
|
7780
7780
|
S = await lu(p);
|
|
7781
|
-
} catch (
|
|
7782
|
-
throw new fn(un.QueryFeaturesError, r.errors.queryError,
|
|
7781
|
+
} catch (I) {
|
|
7782
|
+
throw new fn(un.QueryFeaturesError, r.errors.queryError, I);
|
|
7783
7783
|
}
|
|
7784
7784
|
p.outStatisticTypes = { include: ["median"] };
|
|
7785
7785
|
try {
|
|
7786
|
-
const
|
|
7787
|
-
|
|
7786
|
+
const I = await lu(p);
|
|
7787
|
+
I?.median && (S.median = I.median);
|
|
7788
7788
|
} catch {
|
|
7789
7789
|
}
|
|
7790
7790
|
S = L0(S);
|
|
7791
|
-
const { avg: x, count: C, stddev: v, min:
|
|
7791
|
+
const { avg: x, count: C, stddev: v, min: F, max: T, sum: w, median: N } = S;
|
|
7792
7792
|
if (C === 0)
|
|
7793
7793
|
d = {
|
|
7794
7794
|
...eh(c)
|
|
7795
7795
|
};
|
|
7796
7796
|
else {
|
|
7797
|
-
const
|
|
7797
|
+
const I = A0({
|
|
7798
7798
|
seriesConfig: l,
|
|
7799
7799
|
layer: u,
|
|
7800
7800
|
view: g,
|
|
7801
7801
|
useFeaturesInView: m,
|
|
7802
|
-
minValue: x0(
|
|
7802
|
+
minValue: x0(F),
|
|
7803
7803
|
maxValue: T,
|
|
7804
7804
|
valueExpression: p.valueExpression,
|
|
7805
7805
|
queryConfig: i
|
|
7806
7806
|
});
|
|
7807
|
-
|
|
7808
|
-
let
|
|
7807
|
+
I.filter = y;
|
|
7808
|
+
let D;
|
|
7809
7809
|
try {
|
|
7810
|
-
|
|
7810
|
+
D = await CS(I);
|
|
7811
7811
|
} catch (M) {
|
|
7812
7812
|
throw new fn(un.QueryFeaturesError, r.errors.queryError, M);
|
|
7813
7813
|
}
|
|
@@ -7815,10 +7815,10 @@ async function k0(t) {
|
|
|
7815
7815
|
d.data = {
|
|
7816
7816
|
mean: x,
|
|
7817
7817
|
stddev: v,
|
|
7818
|
-
min:
|
|
7818
|
+
min: F,
|
|
7819
7819
|
max: T,
|
|
7820
7820
|
median: Number(N),
|
|
7821
|
-
bins:
|
|
7821
|
+
bins: D?.bins,
|
|
7822
7822
|
count: n,
|
|
7823
7823
|
nulls: $,
|
|
7824
7824
|
sum: w ?? void 0
|
|
@@ -7900,15 +7900,15 @@ async function N0(t) {
|
|
|
7900
7900
|
dataContextCountDistinctY: f
|
|
7901
7901
|
} = k.scatterplotAggregationFields;
|
|
7902
7902
|
let m, g, p, y, S;
|
|
7903
|
-
const x = e.get(r), C = e.get(l), v = e.get(c),
|
|
7904
|
-
if (x != null && v !== void 0 && v !== null && C !== void 0 && C !== null &&
|
|
7905
|
-
const { maxScatterPointsAfterAggregation: T } = as(n?.chartLimits), N = Math.floor(Math.sqrt(T)),
|
|
7903
|
+
const x = e.get(r), C = e.get(l), v = e.get(c), F = e.get(d);
|
|
7904
|
+
if (x != null && v !== void 0 && v !== null && C !== void 0 && C !== null && F !== void 0 && F !== null && !Number.isNaN(x + C + v + F)) {
|
|
7905
|
+
const { maxScatterPointsAfterAggregation: T } = as(n?.chartLimits), N = Math.floor(Math.sqrt(T)), I = await O0({
|
|
7906
7906
|
queryObject: a,
|
|
7907
7907
|
chartConfig: i,
|
|
7908
7908
|
queryConfig: s,
|
|
7909
7909
|
abortKey: o
|
|
7910
7910
|
});
|
|
7911
|
-
p = Math.min(
|
|
7911
|
+
p = Math.min(I.get(f) ?? Number.NaN, N), y = Math.min(I.get(u) ?? Number.NaN, N), S = y * p, m = C === x ? 0 : (C - x) / (y - 1), g = F === v ? 0 : (F - v) / (p - 1), e.set(k.scatterplotAggregationFields.xStep, m), e.set(k.scatterplotAggregationFields.yStep, g), e.set(k.scatterplotAggregationFields.rowCount, p), e.set(k.scatterplotAggregationFields.columnCount, y), e.set(k.scatterplotAggregationFields.realGridSize, S);
|
|
7912
7912
|
}
|
|
7913
7913
|
}
|
|
7914
7914
|
function B0(t) {
|
|
@@ -7953,9 +7953,9 @@ async function $0(t) {
|
|
|
7953
7953
|
queryNumberOfAggregatedFeatures: y
|
|
7954
7954
|
} = k.scatterplotAggregationFields;
|
|
7955
7955
|
let S;
|
|
7956
|
-
const x = e?.get(u) ?? Number.NaN, C = e?.get(f) ?? Number.NaN, v = e?.get(p) ?? Number.NaN,
|
|
7957
|
-
if (x != null &&
|
|
7958
|
-
const w = Le(a), { objectIdField: N } = w,
|
|
7956
|
+
const x = e?.get(u) ?? Number.NaN, C = e?.get(f) ?? Number.NaN, v = e?.get(p) ?? Number.NaN, F = e?.get(m) ?? x, T = e?.get(g) ?? C;
|
|
7957
|
+
if (x != null && F !== void 0 && F !== null && C !== void 0 && C !== null && T !== void 0 && T !== null && !Number.isNaN(x + C + F + T)) {
|
|
7958
|
+
const w = Le(a), { objectIdField: N } = w, I = e?.get(k.scatterplotAggregationFields.xStep), D = e?.get(k.scatterplotAggregationFields.yStep), $ = e?.get(k.scatterplotAggregationFields.realGridSize), M = e?.get(k.scatterplotAggregationFields.rowCount), P = e?.get(k.scatterplotAggregationFields.columnCount), V = /* @__PURE__ */ new Map();
|
|
7959
7959
|
if ((await xt(a))?.forEach((q) => {
|
|
7960
7960
|
xc(q) && V.set(q.name, {
|
|
7961
7961
|
onStatisticField: q.name,
|
|
@@ -7980,7 +7980,7 @@ async function $0(t) {
|
|
|
7980
7980
|
onStatisticField: d,
|
|
7981
7981
|
outStatisticFieldName: d,
|
|
7982
7982
|
statisticType: U.Maximum
|
|
7983
|
-
}),
|
|
7983
|
+
}), I !== void 0 && D !== void 0) {
|
|
7984
7984
|
if (s) {
|
|
7985
7985
|
const q = {
|
|
7986
7986
|
...n,
|
|
@@ -7989,31 +7989,31 @@ async function $0(t) {
|
|
|
7989
7989
|
S = await Bb({
|
|
7990
7990
|
queryObject: a,
|
|
7991
7991
|
queryConfig: q,
|
|
7992
|
-
xStep:
|
|
7992
|
+
xStep: I,
|
|
7993
7993
|
xMin: x,
|
|
7994
7994
|
xMax: C,
|
|
7995
7995
|
x: c,
|
|
7996
7996
|
y: d,
|
|
7997
|
-
yStep:
|
|
7997
|
+
yStep: D,
|
|
7998
7998
|
errorStrings: o
|
|
7999
7999
|
});
|
|
8000
8000
|
} else if (M !== void 0 && P !== void 0) {
|
|
8001
8001
|
let q = 0;
|
|
8002
8002
|
const { maxScatterCellsPerQuery: _, maxScatterCellsPerQueryForStandard: ee } = js(), j = await Mb(w) ? ee : _, Q = [];
|
|
8003
|
-
let Te = !0, lt = x, Yt =
|
|
8003
|
+
let Te = !0, lt = x, Yt = F, Ne = "", yi = 1, wi = 1, oe = Number.MAX_SAFE_INTEGER, Be = Number.MIN_SAFE_INTEGER, Ct = Number.MAX_SAFE_INTEGER, ct = Number.MIN_SAFE_INTEGER;
|
|
8004
8004
|
for (; wi <= P && Te; ) {
|
|
8005
|
-
for (Yt =
|
|
8005
|
+
for (Yt = F, yi = 1; yi <= M && Te; ) {
|
|
8006
8006
|
if (Ne = B0({
|
|
8007
8007
|
groupByFieldsForStatistics: Ne,
|
|
8008
8008
|
x: c,
|
|
8009
8009
|
y: d,
|
|
8010
8010
|
xValue: lt,
|
|
8011
8011
|
yValue: Yt,
|
|
8012
|
-
xStep:
|
|
8013
|
-
yStep:
|
|
8012
|
+
xStep: I,
|
|
8013
|
+
yStep: D,
|
|
8014
8014
|
endOfRow: yi === M,
|
|
8015
8015
|
endOfColumn: wi === P
|
|
8016
|
-
}), lt < oe && (oe = lt), lt +
|
|
8016
|
+
}), lt < oe && (oe = lt), lt + I > Be && (Be = lt + I), Yt < Ct && (Ct = Yt), Yt + I > ct && (ct = Yt + D), q += 1, q % j === 0 || q === $ || q === v) {
|
|
8017
8017
|
Ne = `${Ne} ${gn.groupByCaseEnd}`;
|
|
8018
8018
|
const Xt = {
|
|
8019
8019
|
...n,
|
|
@@ -8033,9 +8033,9 @@ async function $0(t) {
|
|
|
8033
8033
|
})
|
|
8034
8034
|
), oe = Number.MAX_SAFE_INTEGER, Be = Number.MIN_SAFE_INTEGER, Ct = Number.MAX_SAFE_INTEGER, ct = Number.MIN_SAFE_INTEGER, Ne = "", q === $ && (Te = !1);
|
|
8035
8035
|
}
|
|
8036
|
-
Yt +=
|
|
8036
|
+
Yt += D, yi += 1;
|
|
8037
8037
|
}
|
|
8038
|
-
lt +=
|
|
8038
|
+
lt += I, wi += 1;
|
|
8039
8039
|
}
|
|
8040
8040
|
S = (await Promise.all(Q)).flat();
|
|
8041
8041
|
}
|
|
@@ -8102,16 +8102,16 @@ async function W0(t) {
|
|
|
8102
8102
|
outAnalytics: x
|
|
8103
8103
|
});
|
|
8104
8104
|
if (C !== void 0) {
|
|
8105
|
-
let v = Number.NaN,
|
|
8105
|
+
let v = Number.NaN, F = Number.NaN;
|
|
8106
8106
|
const { expr: T } = gl(C, p), { expr: w } = gl(C, y), { expr: N } = gl(C, S);
|
|
8107
|
-
T !== void 0 && Number.isFinite(C[T]) && (v = C[T]), w !== void 0 && Number.isFinite(C[w]) && (
|
|
8108
|
-
const { dataContextXMinField:
|
|
8107
|
+
T !== void 0 && Number.isFinite(C[T]) && (v = C[T]), w !== void 0 && Number.isFinite(C[w]) && (F = C[w]), N !== void 0 && Number.isFinite(C[N]) && (l = C[N]);
|
|
8108
|
+
const { dataContextXMinField: I, dataContextXMaxField: D, dataContextYMinField: $, dataContextYMaxField: M } = k.scatterplotAggregationFields, P = e.get(I) ?? Number.NaN, V = e.get(D) ?? Number.NaN, W = e.get($) ?? Number.NaN, G = e.get(M) ?? Number.NaN, _ = (V - P) / 100;
|
|
8109
8109
|
let ee = P - _, te = Number.NaN;
|
|
8110
8110
|
for (; !(te >= W && te <= G) && ee <= V; )
|
|
8111
|
-
ee += _, te = v * ee +
|
|
8111
|
+
ee += _, te = v * ee + F;
|
|
8112
8112
|
let j = V + _, Q = Number.NaN;
|
|
8113
8113
|
for (; !(Q >= W && Q <= G) && j >= P; )
|
|
8114
|
-
j -= _, Q = v * j +
|
|
8114
|
+
j -= _, Q = v * j + F;
|
|
8115
8115
|
c = [
|
|
8116
8116
|
{ [o]: ee, [r]: te },
|
|
8117
8117
|
{ [o]: j, [r]: Q }
|
|
@@ -8394,8 +8394,8 @@ function X0(t) {
|
|
|
8394
8394
|
if (l !== void 0 && jc({
|
|
8395
8395
|
itemsA: l,
|
|
8396
8396
|
itemsB: i,
|
|
8397
|
-
isPieFromFields: H(e.series) ===
|
|
8398
|
-
}) ? s = l : s = i ?? [], o.length > 1 && r !==
|
|
8397
|
+
isPieFromFields: H(e.series) === L.PieFromFields
|
|
8398
|
+
}) ? s = l : s = i ?? [], o.length > 1 && r !== L.BarAndLineNoAggregation && r !== L.BarAndLineSplitByNoAggregation) {
|
|
8399
8399
|
const c = Ze(o[0].query?.where);
|
|
8400
8400
|
s = ro({ data: s, x: o[0].x, splitByField: c });
|
|
8401
8401
|
}
|
|
@@ -8472,7 +8472,7 @@ function rh(t) {
|
|
|
8472
8472
|
const l = ma({ where: a ?? "", normalize: !1, escape: !0 });
|
|
8473
8473
|
let c = "";
|
|
8474
8474
|
if (oa(o) === !0) {
|
|
8475
|
-
const u = H(o.series) ===
|
|
8475
|
+
const u = H(o.series) === L.BoxPlotMultiFieldsAndCategory ? i : void 0, f = re({
|
|
8476
8476
|
key: Y.Min,
|
|
8477
8477
|
showOutliers: !0,
|
|
8478
8478
|
splitBy: a,
|
|
@@ -8495,7 +8495,7 @@ function _0(t) {
|
|
|
8495
8495
|
let o = "";
|
|
8496
8496
|
if (k.dateBinningRange in a)
|
|
8497
8497
|
o = sh(e, a);
|
|
8498
|
-
else if (H(s.series) !==
|
|
8498
|
+
else if (H(s.series) !== L.BarAndLineFromFields) {
|
|
8499
8499
|
let c = ei({
|
|
8500
8500
|
value: a[e],
|
|
8501
8501
|
dataContext: a,
|
|
@@ -8514,7 +8514,7 @@ function _0(t) {
|
|
|
8514
8514
|
function Z0(t) {
|
|
8515
8515
|
const { xAxisField: e, dataContext: i, chartConfig: a } = t;
|
|
8516
8516
|
let n = k.typeOrDomainIdValue in i ? i[k.typeOrDomainIdValue] : i[k.originalCategoryValue];
|
|
8517
|
-
return n === void 0 && (n = i[e]), H(a.series) ===
|
|
8517
|
+
return n === void 0 && (n = i[e]), H(a.series) === L.PieFromFields ? "" : ma({
|
|
8518
8518
|
where: ja(e, n),
|
|
8519
8519
|
normalize: !1,
|
|
8520
8520
|
escape: !0
|
|
@@ -8608,35 +8608,35 @@ async function J0(t) {
|
|
|
8608
8608
|
e !== void 0 && (m = (await xt(e)).find((v) => v.name === u)?.type);
|
|
8609
8609
|
const g = [], p = n.reduce(
|
|
8610
8610
|
(C, v) => {
|
|
8611
|
-
let
|
|
8611
|
+
let F = "";
|
|
8612
8612
|
if (rt.uniqueIdsName in v)
|
|
8613
8613
|
g.push(v[rt.uniqueIdsName]);
|
|
8614
8614
|
else {
|
|
8615
8615
|
switch (l) {
|
|
8616
|
-
case
|
|
8617
|
-
case
|
|
8618
|
-
case
|
|
8619
|
-
|
|
8620
|
-
const
|
|
8621
|
-
let
|
|
8616
|
+
case L.BoxPlotMonoFieldAndSplitBy:
|
|
8617
|
+
case L.BoxPlotMultiFieldsAndSplitBy:
|
|
8618
|
+
case L.BoxPlotMonoFieldAndCategoryAndSplitBy: {
|
|
8619
|
+
F = d.query?.where ?? "";
|
|
8620
|
+
const I = Ze(F);
|
|
8621
|
+
let D = "";
|
|
8622
8622
|
const $ = `_${Y.Average}`;
|
|
8623
8623
|
Object.keys(v).forEach((M) => {
|
|
8624
|
-
M.includes($) && (
|
|
8625
|
-
}),
|
|
8624
|
+
M.includes($) && (D = M.replace($, ""));
|
|
8625
|
+
}), D.trim() !== "" && (F = ja(I, D));
|
|
8626
8626
|
break;
|
|
8627
8627
|
}
|
|
8628
8628
|
}
|
|
8629
8629
|
const T = [f].flat();
|
|
8630
8630
|
let w = T.length === 1 ? T[0] : "";
|
|
8631
|
-
if (l ===
|
|
8632
|
-
const
|
|
8633
|
-
|
|
8631
|
+
if (l === L.BoxPlotMultiFieldsAndCategory) {
|
|
8632
|
+
const I = `_${Y.FirstQuartile}`, D = Object.keys(v).find(($) => $.includes(I));
|
|
8633
|
+
D !== void 0 && (w = D.replace(I, ""));
|
|
8634
8634
|
}
|
|
8635
8635
|
const N = rh({
|
|
8636
8636
|
chartConfig: a,
|
|
8637
8637
|
xAxisField: u,
|
|
8638
8638
|
yAxisField: w,
|
|
8639
|
-
splitBy:
|
|
8639
|
+
splitBy: F,
|
|
8640
8640
|
dataContext: v,
|
|
8641
8641
|
xAxisFieldType: m
|
|
8642
8642
|
});
|
|
@@ -8672,7 +8672,7 @@ async function eF(t) {
|
|
|
8672
8672
|
u.data = { dataItems: f };
|
|
8673
8673
|
break;
|
|
8674
8674
|
case b.PieSeries:
|
|
8675
|
-
if (H(a.series) ===
|
|
8675
|
+
if (H(a.series) === L.PieFromFields) {
|
|
8676
8676
|
const { x: g, y: p } = a.series[0], y = ze(f);
|
|
8677
8677
|
y.forEach((S) => {
|
|
8678
8678
|
g in S && (S[nt] = S[g], delete S[g]), p in S && (S[zt] = S[p], delete S[p]);
|
|
@@ -8722,8 +8722,8 @@ async function eF(t) {
|
|
|
8722
8722
|
}, u.count = 0;
|
|
8723
8723
|
else {
|
|
8724
8724
|
const { x: g } = l[0], p = f.map((x, C) => {
|
|
8725
|
-
const { minValue: v, maxValue:
|
|
8726
|
-
return `${g} >= ${v} AND ${g} ${T} ${
|
|
8725
|
+
const { minValue: v, maxValue: F } = x, T = C === f.length - 1 ? "<=" : "<";
|
|
8726
|
+
return `${g} >= ${v} AND ${g} ${T} ${F}`;
|
|
8727
8727
|
}), y = Ye(p, "OR"), S = { ...i };
|
|
8728
8728
|
S.where = Ye([S.where, y]), u = await ih({
|
|
8729
8729
|
queryObject: e,
|
|
@@ -8892,7 +8892,7 @@ async function aF(t) {
|
|
|
8892
8892
|
const { seriesData: e, chartConfig: i, queryConfig: a, queryObject: n, categoryOrDateCount: s, behaviorAfterLimit: o, abortKey: r } = t, { series: l } = i;
|
|
8893
8893
|
let c = e;
|
|
8894
8894
|
const d = H(l), u = si(i);
|
|
8895
|
-
if (o !== is.RenderUpToTheLimit && n !== void 0 && s !== void 0 && s > e.length && d !==
|
|
8895
|
+
if (o !== is.RenderUpToTheLimit && n !== void 0 && s !== void 0 && s > e.length && d !== L.BarAndLineFromFields && d !== L.BarAndLineNoAggregation && d !== L.PieNoAggregation && u === b.CategoryAxisFormat) {
|
|
8896
8896
|
const { x: f } = l[0], m = {
|
|
8897
8897
|
...a,
|
|
8898
8898
|
returnDistinctValues: !0,
|
|
@@ -8925,13 +8925,13 @@ function nF(t, e) {
|
|
|
8925
8925
|
return i;
|
|
8926
8926
|
}
|
|
8927
8927
|
const ch = [
|
|
8928
|
-
|
|
8929
|
-
|
|
8930
|
-
|
|
8931
|
-
|
|
8932
|
-
|
|
8933
|
-
|
|
8934
|
-
|
|
8928
|
+
L.BarAndLineMonoField,
|
|
8929
|
+
L.BarAndLineMultiFields,
|
|
8930
|
+
L.PieNoAggregation,
|
|
8931
|
+
L.PieFromCategory,
|
|
8932
|
+
L.BoxPlotMonoFieldAndCategory,
|
|
8933
|
+
L.BoxPlotMultiFieldsAndCategory,
|
|
8934
|
+
L.BoxPlotMonoFieldAndCategoryAndSplitBy
|
|
8935
8935
|
];
|
|
8936
8936
|
function dh(t, e) {
|
|
8937
8937
|
let i = t;
|
|
@@ -9057,20 +9057,20 @@ function lF(t) {
|
|
|
9057
9057
|
};
|
|
9058
9058
|
for (; !y; ) {
|
|
9059
9059
|
let C = {};
|
|
9060
|
-
const { binStartDate: v, binEndDate:
|
|
9060
|
+
const { binStartDate: v, binEndDate: F, last: T, nextBinFirstOrLastIndex: w, sliceStartIndex: N, sliceEndIndex: I } = u === Mt.End ? (
|
|
9061
9061
|
// When grouping from the end we'll start from the last date and move backward to create the bins
|
|
9062
9062
|
oF(x)
|
|
9063
9063
|
) : (
|
|
9064
9064
|
// When grouping from the start we'll start from the first date and move forward to create the bins
|
|
9065
9065
|
sF(x)
|
|
9066
9066
|
);
|
|
9067
|
-
if (y = T, C = u === Mt.End ? C = e[
|
|
9068
|
-
const
|
|
9067
|
+
if (y = T, C = u === Mt.End ? C = e[I - 1] : C = e[S], F > s && v < s || v < n && F > n || v >= n && F <= s) {
|
|
9068
|
+
const D = e.slice(N, I).filter((P) => !(k.dateBinModel in P));
|
|
9069
9069
|
g.forEach((P) => {
|
|
9070
|
-
C[P] = rF({ binsToRegroup:
|
|
9070
|
+
C[P] = rF({ binsToRegroup: D, statisticType: p, y: P, nullPolicy: f });
|
|
9071
9071
|
});
|
|
9072
|
-
const $ =
|
|
9073
|
-
M !== void 0 && (C[Wa] = M), C[d] = v, C[k.xAxisField] = v, C[k.dateBinningRange] = [v,
|
|
9072
|
+
const $ = D.map((P) => P[Wa]).filter((P) => P !== void 0), M = gx($);
|
|
9073
|
+
M !== void 0 && (C[Wa] = M), C[d] = v, C[k.xAxisField] = v, C[k.dateBinningRange] = [v, F], delete C[k.dateBinModel], o.push(C);
|
|
9074
9074
|
} else T && u !== Mt.End && o.length > 0 && (o[o.length - 1][k.dateBinningRange][1] = o[o.length - 1][k.dateBinningRange][1] + 1);
|
|
9075
9075
|
S = w, x.binFirstOrLastIndex = w;
|
|
9076
9076
|
}
|
|
@@ -9339,15 +9339,15 @@ async function yF(t) {
|
|
|
9339
9339
|
const { chartConfig: e, queryResults: i, mapToStatField: a, splitByField: n, x: s, y: o, nullPolicy: r, queryObject: l } = t, c = zb(s), u = (await xt(l)).find((S) => S.name === s)?.type, f = [], m = e.series[0], g = m.query?.outStatistics?.[0]?.statisticType, p = "temporalBinning" in m ? m.temporalBinning?.trimIncompleteTimeInterval : !1, y = "temporalBinning" in m ? m.temporalBinning?.timeAggregationType : !1;
|
|
9340
9340
|
return i.forEach((S, x) => {
|
|
9341
9341
|
if (!(p && (x === 0 && y === Mt.End || x === i.length - 1 && y === Mt.Start))) {
|
|
9342
|
-
const { attributes: v, stackedAttributes:
|
|
9342
|
+
const { attributes: v, stackedAttributes: F } = S;
|
|
9343
9343
|
let T = v[c.lowerBoundaryAlias], w = v[c.upperBoundaryAlias];
|
|
9344
|
-
const N = T,
|
|
9344
|
+
const N = T, I = w, D = (M) => {
|
|
9345
9345
|
const { boundary: P, separator: V, xFieldType: W } = M;
|
|
9346
9346
|
let G = P;
|
|
9347
9347
|
return W === hr.DateOnly && (typeof P == "string" && P.length === 10 || typeof P == "number") ? (G = new Date(P), G = new Date(G.valueOf() + G.getTimezoneOffset() * 6e4).valueOf()) : typeof P == "string" && P.lastIndexOf(V) === P.length - 6 && (G = new Date(P.slice(0, P.lastIndexOf(V))).valueOf()), G;
|
|
9348
9348
|
};
|
|
9349
9349
|
["+", "-"].forEach((M) => {
|
|
9350
|
-
T =
|
|
9350
|
+
T = D({ boundary: T, separator: M, xFieldType: u }), w = D({ boundary: w, separator: M, xFieldType: u });
|
|
9351
9351
|
});
|
|
9352
9352
|
const $ = (M, P) => {
|
|
9353
9353
|
if (P)
|
|
@@ -9365,7 +9365,7 @@ async function yF(t) {
|
|
|
9365
9365
|
};
|
|
9366
9366
|
if (typeof T == "number" && typeof w == "number") {
|
|
9367
9367
|
const M = { ...v };
|
|
9368
|
-
M[k.originalServerBinningRange] = [N,
|
|
9368
|
+
M[k.originalServerBinningRange] = [N, I], M[s] = T, M[k.xAxisField] = T, M[k.dateBinningRange] = [T, w], delete M[c.lowerBoundaryAlias], delete M[c.upperBoundaryAlias], F && n && !he(n) && a ? F.forEach((W) => {
|
|
9369
9369
|
const G = W[n];
|
|
9370
9370
|
if (G === null || typeof G == "string" || typeof G == "number") {
|
|
9371
9371
|
const q = a?.get(G);
|
|
@@ -9469,7 +9469,7 @@ function mh(t) {
|
|
|
9469
9469
|
e.aggregateGeometries && "Extent" in e.aggregateGeometries ? n = e.aggregateGeometries.Extent : { extent: n } = e.aggregateGeometries ?? e.geometry ?? {};
|
|
9470
9470
|
const s = n?.toJSON();
|
|
9471
9471
|
let o = Wa;
|
|
9472
|
-
return s !== void 0 && i !== void 0 && a !== void 0 && a ===
|
|
9472
|
+
return s !== void 0 && i !== void 0 && a !== void 0 && a === L.BarAndLineSplitBy && (o = e.attributes[i] !== void 0 ? `${Wa}_${e.attributes[i]}` : Wa), { featureExtent: s, featureExtentKey: o };
|
|
9473
9473
|
}
|
|
9474
9474
|
function FF(t) {
|
|
9475
9475
|
const { input: e, x: i, splitByField: a } = t;
|
|
@@ -9562,33 +9562,33 @@ function DF(t, e) {
|
|
|
9562
9562
|
function OF(t, e) {
|
|
9563
9563
|
let i = 1;
|
|
9564
9564
|
switch (t) {
|
|
9565
|
-
case
|
|
9566
|
-
case
|
|
9565
|
+
case L.BarAndLineFromFields:
|
|
9566
|
+
case L.PieFromFields:
|
|
9567
9567
|
i = e.series[0].query?.outStatistics?.length ?? 1;
|
|
9568
9568
|
break;
|
|
9569
|
-
case
|
|
9570
|
-
case
|
|
9569
|
+
case L.BoxPlotMultiFields:
|
|
9570
|
+
case L.BoxPlotMultiFieldsAndSplitBy:
|
|
9571
9571
|
i = e.series[0].y.length;
|
|
9572
9572
|
break;
|
|
9573
|
-
case
|
|
9574
|
-
case
|
|
9575
|
-
case
|
|
9576
|
-
case
|
|
9577
|
-
case
|
|
9578
|
-
case
|
|
9579
|
-
case
|
|
9580
|
-
case
|
|
9581
|
-
case
|
|
9582
|
-
case
|
|
9583
|
-
case
|
|
9584
|
-
case
|
|
9585
|
-
case
|
|
9573
|
+
case L.BarAndLineNoAggregation:
|
|
9574
|
+
case L.BoxPlotMonoField:
|
|
9575
|
+
case L.BoxPlotMonoFieldAndCategory:
|
|
9576
|
+
case L.BoxPlotMultiFieldsAndCategory:
|
|
9577
|
+
case L.BoxPlotMonoFieldAndSplitBy:
|
|
9578
|
+
case L.BoxPlotMonoFieldAndCategoryAndSplitBy:
|
|
9579
|
+
case L.PieFromCategory:
|
|
9580
|
+
case L.BarAndLineSplitByNoAggregation:
|
|
9581
|
+
case L.PieNoAggregation:
|
|
9582
|
+
case L.BarAndLineSplitBy:
|
|
9583
|
+
case L.BarAndLineMonoField:
|
|
9584
|
+
case L.BarAndLineMultiFields:
|
|
9585
|
+
case L.NonSpecific:
|
|
9586
9586
|
}
|
|
9587
9587
|
return i;
|
|
9588
9588
|
}
|
|
9589
9589
|
function NF(t) {
|
|
9590
9590
|
const { attributes: e, showMean: i, chartSubType: a } = t;
|
|
9591
|
-
i && (a ===
|
|
9591
|
+
i && (a === L.BoxPlotMonoFieldAndSplitBy || a === L.BoxPlotMultiFieldsAndSplitBy || a === L.BoxPlotMonoFieldAndCategoryAndSplitBy) && (e[k.boxPlot.boxPlotMeanLineMarkerId] = !0);
|
|
9592
9592
|
}
|
|
9593
9593
|
function BF(t) {
|
|
9594
9594
|
const { queryResponse: e, chartConfig: i, maxCategoryCount: a } = t, n = H(i.series);
|
|
@@ -9598,7 +9598,7 @@ function MF(t) {
|
|
|
9598
9598
|
const { attributes: e, uniqueCategoryList: i, maxCategoryCount: a, x: n, chartSubType: s } = t;
|
|
9599
9599
|
let o = !1;
|
|
9600
9600
|
if (n && a && Number.isFinite(a) && !ch.includes(s))
|
|
9601
|
-
if ((s ===
|
|
9601
|
+
if ((s === L.BarAndLineFromFields || s === L.PieFromFields) && Object.keys(e).length > a)
|
|
9602
9602
|
Object.keys(e).filter((r) => r !== U.EnvelopeAggregate).forEach((r, l) => {
|
|
9603
9603
|
l >= a && delete e[r];
|
|
9604
9604
|
});
|
|
@@ -9622,33 +9622,33 @@ function gh(t) {
|
|
|
9622
9622
|
showMean: d,
|
|
9623
9623
|
chartLimits: u,
|
|
9624
9624
|
fieldList: f
|
|
9625
|
-
} = t, { series: m } = i, g = H(m), p = z(m), { x: y } = m[0], S = "y" in m[0] ? m[0].y : void 0, x = m[0].query?.outStatistics ?? [], { originalCategoryValue: C, originalDateValue: v, typeOrDomainFieldName:
|
|
9625
|
+
} = t, { series: m } = i, g = H(m), p = z(m), { x: y } = m[0], S = "y" in m[0] ? m[0].y : void 0, x = m[0].query?.outStatistics ?? [], { originalCategoryValue: C, originalDateValue: v, typeOrDomainFieldName: F, typeOrDomainIdValue: T } = k, w = [];
|
|
9626
9626
|
let N = 0;
|
|
9627
|
-
const
|
|
9627
|
+
const I = /* @__PURE__ */ new Set(), { maxCategoryCount: D } = as(u), $ = BF({ queryResponse: e, chartConfig: i, maxCategoryCount: D });
|
|
9628
9628
|
for (let M = 0; $[M] && M < $.length && !(c !== void 0 && N >= c); M += 1) {
|
|
9629
9629
|
N += OF(g, i);
|
|
9630
9630
|
const P = $[M];
|
|
9631
9631
|
let V = { ...P.attributes };
|
|
9632
|
-
if (MF({ attributes: V, uniqueCategoryList:
|
|
9632
|
+
if (MF({ attributes: V, uniqueCategoryList: I, maxCategoryCount: D, x: y, chartSubType: g }))
|
|
9633
9633
|
continue;
|
|
9634
|
-
wF(V, m), g ===
|
|
9634
|
+
wF(V, m), g === L.PieFromFields || g === L.BarAndLineFromFields ? V = kF(V, x) : typeof S == "string" && g === L.BarAndLineSplitByNoAggregation ? IF({ dataItem: V, splitByField: n, y: S }) : S && (g === L.BoxPlotMonoField || g === L.BoxPlotMonoFieldAndCategory || g === L.BoxPlotMonoFieldAndSplitBy || g === L.BoxPlotMonoFieldAndCategoryAndSplitBy) && DF(
|
|
9635
9635
|
V,
|
|
9636
9636
|
typeof S == "string" ? S : S[0]
|
|
9637
9637
|
), NF({ attributes: V, showMean: d, chartSubType: g });
|
|
9638
9638
|
let W = V[y];
|
|
9639
|
-
W === null && m[0]?.query?.fetchNullValues === !0 && g !==
|
|
9639
|
+
W === null && m[0]?.query?.fetchNullValues === !0 && g !== L.PieFromFields && (V[C] = null, W = k.nullValue), o && typeof W == "string" ? W = new Date(W).valueOf() : r && (W = vF(V));
|
|
9640
9640
|
const { outStatisticFieldName: G } = rt.outStatistics ?? {}, { featureExtent: q, featureExtentKey: _ } = mh({ feature: P, splitByField: n, chartSubType: g });
|
|
9641
|
-
if (q && (V[_] = q), g ===
|
|
9641
|
+
if (q && (V[_] = q), g === L.BarAndLineSplitBy && G !== void 0) {
|
|
9642
9642
|
const te = V[n], j = a?.get(te);
|
|
9643
9643
|
j !== void 0 && (V[j] = V[G]), delete V[G];
|
|
9644
|
-
} else (g ===
|
|
9644
|
+
} else (g === L.PieNoAggregation || g === L.BarAndLineNoAggregation || g === L.BarAndLineSplitByNoAggregation) && (o ? V[v] = W : W !== k.nullValue && (V[C] = W), Dr({ isXAxis: !0, chartType: p, valueFormat: i.axes?.[0]?.valueFormat }) && (V[k.xAxisField] = `${W}-${M}`), V[rt.uniqueIdsName] = V[s]);
|
|
9645
9645
|
const ee = Fr({
|
|
9646
9646
|
subtypeInfo: l,
|
|
9647
9647
|
fieldList: f,
|
|
9648
9648
|
fieldName: y,
|
|
9649
9649
|
fieldValueToMatch: W
|
|
9650
9650
|
});
|
|
9651
|
-
ee !== void 0 && ee !== W && g !==
|
|
9651
|
+
ee !== void 0 && ee !== W && g !== L.PieFromFields && (V[C] = ee, V[F] = y, V[T] = W), p === b.BoxPlotSeries && (V = TF(m, V)), p === b.PieSeries && typeof W == "number" && (V[C] === void 0 && (V[C] = V[y]), W = `${W}`), W !== void 0 && (V[C] === void 0 && (V[C] = V[y]), V[y] = ee ?? W, V[y] === null && (V[y] = k.nullValue), V[k.xAxisField] === void 0 && (V[k.xAxisField] = V[T] ?? V[y])), V = AF(V, i), w.push(V);
|
|
9652
9652
|
}
|
|
9653
9653
|
return w;
|
|
9654
9654
|
}
|
|
@@ -9666,26 +9666,26 @@ async function zr(t) {
|
|
|
9666
9666
|
usePopupTemplateFieldsInfo: d
|
|
9667
9667
|
} = t, { series: u } = a, f = H(u);
|
|
9668
9668
|
let m = [];
|
|
9669
|
-
const g = f ===
|
|
9669
|
+
const g = f === L.BarAndLineSplitBy || f === L.BarAndLineSplitByNoAggregation ? Ze(u[0].query?.where) : "", p = await sa({
|
|
9670
9670
|
queryObject: e,
|
|
9671
9671
|
queryConfig: i,
|
|
9672
9672
|
featureCount: o,
|
|
9673
9673
|
abortKey: s
|
|
9674
|
-
}), y = await xt(e, d), x = Le(e).objectIdField, C = Yb(y), { x: v } = u[0],
|
|
9674
|
+
}), y = await xt(e, d), x = Le(e).objectIdField, C = Yb(y), { x: v } = u[0], F = C.includes(v), T = vr(e);
|
|
9675
9675
|
return m = gh({
|
|
9676
9676
|
queryResponse: p,
|
|
9677
9677
|
chartConfig: a,
|
|
9678
9678
|
mapToStatField: n,
|
|
9679
9679
|
splitByField: g,
|
|
9680
9680
|
fieldOID: x,
|
|
9681
|
-
isDateField:
|
|
9681
|
+
isDateField: F,
|
|
9682
9682
|
isTimeBinningSeries: r,
|
|
9683
9683
|
subtypeInfo: T,
|
|
9684
9684
|
fieldList: y,
|
|
9685
9685
|
resultLimit: i.num,
|
|
9686
9686
|
showMean: l,
|
|
9687
9687
|
chartLimits: c
|
|
9688
|
-
}), f !==
|
|
9688
|
+
}), f !== L.BarAndLineSplitByNoAggregation && f !== L.BarAndLineFromFields && (g !== "" && (m = ro({ data: m, x: v, splitByField: g })), m = LF(
|
|
9689
9689
|
m,
|
|
9690
9690
|
u
|
|
9691
9691
|
)), m;
|
|
@@ -9693,10 +9693,10 @@ async function zr(t) {
|
|
|
9693
9693
|
async function hh(t) {
|
|
9694
9694
|
const { chartConfig: e, queryObject: i, queryConfig: a, numberMaxOfFeaturesToFetch: n, behaviorAfterLimit: s, isGaugeByFeature: o } = t, { series: r } = e, l = H(r), { x: c } = r[0], d = r.length;
|
|
9695
9695
|
let u, f;
|
|
9696
|
-
if (l ===
|
|
9696
|
+
if (l === L.BoxPlotMonoField || l === L.BoxPlotMonoFieldAndSplitBy ? (f = d, u = f) : l === L.BoxPlotMultiFields || l === L.BoxPlotMultiFieldsAndSplitBy ? (f = e.series[0].y.length, u = f) : l === L.PieFromFields || l === L.BarAndLineFromFields ? (f = r[0].query?.outStatistics?.filter(
|
|
9697
9697
|
(m) => m.statisticType !== U.EnvelopeAggregate
|
|
9698
9698
|
).length ?? 0, u = f) : u = await Ub({ queryObject: i, x: c, chartSubType: l, queryConfig: a, isGaugeByFeature: o }), u !== void 0) {
|
|
9699
|
-
const m = l ===
|
|
9699
|
+
const m = l === L.BoxPlotMonoField || l === L.BoxPlotMonoFieldAndCategory || l === L.BoxPlotMonoFieldAndSplitBy;
|
|
9700
9700
|
f = mn(l) && !m ? u * d : u;
|
|
9701
9701
|
}
|
|
9702
9702
|
return s === is.RenderUpToTheLimit && f !== void 0 && n !== void 0 && n < f && (f = n, u = Math.ceil(f / d)), { categoryOrDateCount: u, elementCount: f };
|
|
@@ -9708,7 +9708,7 @@ function ra(t) {
|
|
|
9708
9708
|
if (c !== void 0 && e !== void 0 && e.length > 1) {
|
|
9709
9709
|
const { orderBy: d } = c;
|
|
9710
9710
|
let { sortingField: u } = c;
|
|
9711
|
-
const f = i.orderOptions?.data?.orderType === ln.Category, m = c.preferLabel !== !1, g = o ===
|
|
9711
|
+
const f = i.orderOptions?.data?.orderType === ln.Category, m = c.preferLabel !== !1, g = o === L.BarAndLineFromFields || o === L.PieFromFields || o === L.BoxPlotMultiFields || o === L.BoxPlotMultiFieldsAndSplitBy, p = g || r === b.PieSeries, y = o === L.PieNoAggregation || o === L.BarAndLineNoAggregation || o === L.BarAndLineSplitByNoAggregation, S = g ? !1 : e?.length > 0 && e.some((x) => Object.hasOwn(x, k.typeOrDomainIdValue));
|
|
9712
9712
|
if (f && (!m || r === b.LineSeries && l === b.NumberAxisFormat) && (S ? u = k.typeOrDomainIdValue : p && (u = k.originalCategoryValue)), Array.isArray(d))
|
|
9713
9713
|
hx({
|
|
9714
9714
|
arrayToSort: e,
|
|
@@ -9739,7 +9739,7 @@ async function Jl(t) {
|
|
|
9739
9739
|
let g, p = !1;
|
|
9740
9740
|
const y = e.series, S = y[0], x = H(e.series);
|
|
9741
9741
|
if (S !== void 0 && s !== void 0) {
|
|
9742
|
-
const C = z(y), { uniqueQuery: v, mapToStatField:
|
|
9742
|
+
const C = z(y), { uniqueQuery: v, mapToStatField: F } = await Wr({
|
|
9743
9743
|
chartConfig: e,
|
|
9744
9744
|
queryObject: s,
|
|
9745
9745
|
queryConfig: i,
|
|
@@ -9754,17 +9754,17 @@ async function Jl(t) {
|
|
|
9754
9754
|
numberMaxOfFeaturesToFetch: v.num
|
|
9755
9755
|
});
|
|
9756
9756
|
const N = !Number.isFinite(w);
|
|
9757
|
-
let
|
|
9757
|
+
let I = N || za({
|
|
9758
9758
|
count: w ?? 0,
|
|
9759
9759
|
seriesCount: y.length,
|
|
9760
9760
|
chartType: C,
|
|
9761
9761
|
chartLimits: c
|
|
9762
9762
|
});
|
|
9763
|
-
if (
|
|
9763
|
+
if (I && (g = await zr({
|
|
9764
9764
|
queryObject: s,
|
|
9765
9765
|
uniqueQuery: v,
|
|
9766
9766
|
chartConfig: e,
|
|
9767
|
-
mapToStatField:
|
|
9767
|
+
mapToStatField: F,
|
|
9768
9768
|
elementCount: w,
|
|
9769
9769
|
isTimeBinningSeries: !1,
|
|
9770
9770
|
showMean: l,
|
|
@@ -9780,22 +9780,22 @@ async function Jl(t) {
|
|
|
9780
9780
|
elementCount: w,
|
|
9781
9781
|
chartLimits: c,
|
|
9782
9782
|
abortKey: o
|
|
9783
|
-
}), c?.maxBoxPlotOutlierLimit !== void 0 && (
|
|
9783
|
+
}), c?.maxBoxPlotOutlierLimit !== void 0 && (I = (m.data.outliers ?? []).length <= c.maxBoxPlotOutlierLimit, p = !I)), N && (T = g.length, w = mn(x) ? T * y.length : T, I = za({
|
|
9784
9784
|
count: w,
|
|
9785
9785
|
seriesCount: y.length,
|
|
9786
9786
|
chartType: C,
|
|
9787
9787
|
chartLimits: c
|
|
9788
|
-
})),
|
|
9788
|
+
})), I)) {
|
|
9789
9789
|
if (C === b.PieSeries) {
|
|
9790
|
-
x ===
|
|
9790
|
+
x === L.PieFromFields && (g = Jo({
|
|
9791
9791
|
dataToConvert: g[0],
|
|
9792
9792
|
x: nt,
|
|
9793
9793
|
y: zt,
|
|
9794
9794
|
fieldList: r
|
|
9795
9795
|
}));
|
|
9796
|
-
let
|
|
9797
|
-
x ===
|
|
9798
|
-
} else if ((C === b.RadarSeries || C === b.BarSeries || C === b.LineSeries || C === b.ComboLineAndBarSeries) && (x ===
|
|
9796
|
+
let D = "";
|
|
9797
|
+
x === L.PieFromFields ? D = zt : "y" in S && typeof S.y == "string" && (D = S.y), Mx(g, D) ? m.data = { dataItems: g } : Xx(m, ue.PieChartMixOfNegativePositiveSlices);
|
|
9798
|
+
} else if ((C === b.RadarSeries || C === b.BarSeries || C === b.LineSeries || C === b.ComboLineAndBarSeries) && (x === L.BarAndLineFromFields && "y" in S && typeof S.y == "string" ? g = Jo({
|
|
9799
9799
|
dataToConvert: g[0],
|
|
9800
9800
|
x: S.x,
|
|
9801
9801
|
y: S.y,
|
|
@@ -9808,22 +9808,22 @@ async function Jl(t) {
|
|
|
9808
9808
|
categoryOrDateCount: T,
|
|
9809
9809
|
behaviorAfterLimit: f,
|
|
9810
9810
|
abortKey: o
|
|
9811
|
-
}), w = mn(x) ? g.length * y.length : g.length,
|
|
9811
|
+
}), w = mn(x) ? g.length * y.length : g.length, I = za({
|
|
9812
9812
|
count: w,
|
|
9813
9813
|
seriesCount: y.length,
|
|
9814
9814
|
chartType: C,
|
|
9815
9815
|
chartLimits: c
|
|
9816
|
-
}),
|
|
9816
|
+
}), I)) {
|
|
9817
9817
|
u && (g = nF(g, e)), ra({ arrayToSort: g, chartConfig: e, fieldList: r });
|
|
9818
|
-
let
|
|
9818
|
+
let D = {};
|
|
9819
9819
|
if (Fi(S)) {
|
|
9820
9820
|
const { size: $, unit: M } = S.temporalBinning ?? {};
|
|
9821
|
-
$ !== void 0 && M !== void 0 && (
|
|
9821
|
+
$ !== void 0 && M !== void 0 && (D = { size: $, unit: M });
|
|
9822
9822
|
}
|
|
9823
|
-
m.data = { dataItems: g, timeIntervalInfo:
|
|
9823
|
+
m.data = { dataItems: g, timeIntervalInfo: D };
|
|
9824
9824
|
}
|
|
9825
9825
|
}
|
|
9826
|
-
|
|
9826
|
+
I || jm({ dataInfo: m, chartType: C, subError: { outlierLimit: p } }), m.count = w;
|
|
9827
9827
|
}
|
|
9828
9828
|
return m;
|
|
9829
9829
|
}
|
|
@@ -9886,13 +9886,13 @@ async function Qc(t) {
|
|
|
9886
9886
|
if (a && y) {
|
|
9887
9887
|
const { unit: S, size: x } = y;
|
|
9888
9888
|
let C = 1, v = { unit: S, size: x };
|
|
9889
|
-
const
|
|
9889
|
+
const F = CF({
|
|
9890
9890
|
series: u,
|
|
9891
9891
|
isTimeBinningSeries: !0,
|
|
9892
9892
|
setTimeBinningInfoWhenNotProvided: o?.setTimeBinningInfoWhenNotProvided
|
|
9893
9893
|
});
|
|
9894
9894
|
let T = s?.timeBinningStats;
|
|
9895
|
-
!T && (!Ps(a) ||
|
|
9895
|
+
!T && (!Ps(a) || F) && (T = await uF({ queryObject: a, queryConfig: i, x: f })), F && T && (v = xF(T), y.size = v.size, y.unit = v.unit);
|
|
9896
9896
|
const { uniqueQuery: w, mapToStatField: N } = await Wr({
|
|
9897
9897
|
chartConfig: e,
|
|
9898
9898
|
queryConfig: i,
|
|
@@ -9900,15 +9900,15 @@ async function Qc(t) {
|
|
|
9900
9900
|
timeIntervalInfo: v,
|
|
9901
9901
|
options: o
|
|
9902
9902
|
});
|
|
9903
|
-
let
|
|
9903
|
+
let I = za({
|
|
9904
9904
|
count: C ?? 0,
|
|
9905
9905
|
seriesCount: d.length,
|
|
9906
9906
|
chartType: b.LineSeries,
|
|
9907
9907
|
chartLimits: r
|
|
9908
9908
|
});
|
|
9909
|
-
if (
|
|
9909
|
+
if (I) {
|
|
9910
9910
|
if (Ps(a)) {
|
|
9911
|
-
const
|
|
9911
|
+
const D = await sm({
|
|
9912
9912
|
queryObject: a,
|
|
9913
9913
|
dateField: f,
|
|
9914
9914
|
splitByField: m,
|
|
@@ -9917,7 +9917,7 @@ async function Qc(t) {
|
|
|
9917
9917
|
}), $ = "y" in u && typeof u.y == "string" ? u.y : void 0;
|
|
9918
9918
|
if (p = await yF({
|
|
9919
9919
|
chartConfig: e,
|
|
9920
|
-
queryResults:
|
|
9920
|
+
queryResults: D,
|
|
9921
9921
|
mapToStatField: N,
|
|
9922
9922
|
splitByField: m,
|
|
9923
9923
|
x: f,
|
|
@@ -9938,15 +9938,15 @@ async function Qc(t) {
|
|
|
9938
9938
|
seriesCount: d.length,
|
|
9939
9939
|
chartType: b.LineSeries,
|
|
9940
9940
|
chartLimits: r
|
|
9941
|
-
}) || (
|
|
9941
|
+
}) || (I = !1);
|
|
9942
9942
|
}
|
|
9943
9943
|
} else if (T) {
|
|
9944
|
-
const { numberOfFinalBinsWithinDataRange:
|
|
9944
|
+
const { numberOfFinalBinsWithinDataRange: D } = uh({
|
|
9945
9945
|
dateMinTimestamp: T.dateRange.dateMinTimestamp,
|
|
9946
9946
|
dateMaxTimestamp: T.dateRange.dateMaxTimestamp,
|
|
9947
9947
|
timeIntervalInfo: v
|
|
9948
9948
|
});
|
|
9949
|
-
C =
|
|
9949
|
+
C = D * d.length, C = dh(C, v.unit), p = s?.data ?? await zr({
|
|
9950
9950
|
queryObject: a,
|
|
9951
9951
|
uniqueQuery: w,
|
|
9952
9952
|
chartConfig: e,
|
|
@@ -9967,11 +9967,11 @@ async function Qc(t) {
|
|
|
9967
9967
|
});
|
|
9968
9968
|
}
|
|
9969
9969
|
if (c === is.RenderUpToTheLimit && p) {
|
|
9970
|
-
const
|
|
9971
|
-
|
|
9970
|
+
const D = Rm(e, o?.chartLimits);
|
|
9971
|
+
D !== void 0 && p.splice(D);
|
|
9972
9972
|
}
|
|
9973
9973
|
}
|
|
9974
|
-
|
|
9974
|
+
I || (g.valid = !1, g.invalidType = ue.LineChartExceedsLimit), p && p.length > 0 && (p[p.length - 1][k.lastTemporalBin] = !0), g.data = { dataItems: p, timeIntervalInfo: v }, g.count = C;
|
|
9975
9975
|
}
|
|
9976
9976
|
}
|
|
9977
9977
|
return g;
|
|
@@ -10105,19 +10105,19 @@ function nn(t) {
|
|
|
10105
10105
|
}), d = Le(i)?.renderer;
|
|
10106
10106
|
switch (d?.type) {
|
|
10107
10107
|
case _t.Simple:
|
|
10108
|
-
a = s === b.HistogramSeries || s === b.ScatterSeries || o ===
|
|
10108
|
+
a = s === b.HistogramSeries || s === b.ScatterSeries || o === L.BarAndLineMonoField || o === L.BoxPlotMonoField || o === L.BoxPlotMultiFields || o === L.BoxPlotMonoFieldAndCategory || o === L.BarAndLineNoAggregation && n.length === 1 && !l;
|
|
10109
10109
|
break;
|
|
10110
10110
|
case _t.UniqueValue:
|
|
10111
10111
|
{
|
|
10112
10112
|
const f = d?.field, m = Ze(r.query?.where), { x: g } = r;
|
|
10113
|
-
a = (o ===
|
|
10113
|
+
a = (o === L.BoxPlotMonoFieldAndSplitBy || o === L.BoxPlotMultiFieldsAndSplitBy || o === L.BoxPlotMonoFieldAndCategoryAndSplitBy || o === L.BarAndLineSplitByNoAggregation || o === L.BarAndLineSplitBy) && f === m || (o === L.BoxPlotMonoFieldAndCategory || o === L.PieFromCategory || o === L.BarAndLineMonoField) && f === g || o === L.BarAndLineNoAggregation || o === L.PieNoAggregation || s === b.ScatterSeries;
|
|
10114
10114
|
}
|
|
10115
10115
|
break;
|
|
10116
10116
|
case _t.PieChart:
|
|
10117
|
-
a = o ===
|
|
10117
|
+
a = o === L.PieFromFields || o === L.BarAndLineFromFields || o === L.BarAndLineMultiFields || o === L.BarAndLineMonoField || o === L.BoxPlotMonoField || o === L.BoxPlotMultiFields || o === L.BoxPlotMonoFieldAndCategory || o === L.BoxPlotMultiFieldsAndCategory;
|
|
10118
10118
|
break;
|
|
10119
10119
|
case _t.ClassBreaks:
|
|
10120
|
-
a = s === b.ScatterSeries || o ===
|
|
10120
|
+
a = s === b.ScatterSeries || o === L.BarAndLineNoAggregation || o === L.PieNoAggregation;
|
|
10121
10121
|
break;
|
|
10122
10122
|
case _t.Dictionary:
|
|
10123
10123
|
case _t.DotDensity:
|
|
@@ -10172,17 +10172,17 @@ function GF(t) {
|
|
|
10172
10172
|
case b.LineSeries:
|
|
10173
10173
|
case b.ComboLineAndBarSeries:
|
|
10174
10174
|
case b.RadarSeries:
|
|
10175
|
-
if (a !==
|
|
10175
|
+
if (a !== L.BarAndLineFromFields) {
|
|
10176
10176
|
const x = i.find((C) => C.query?.outStatistics?.[0]?.onStatisticField === f);
|
|
10177
10177
|
x !== void 0 && "y" in x ? f = [x.y].flat()[0] : f = "";
|
|
10178
10178
|
}
|
|
10179
|
-
y = a !==
|
|
10179
|
+
y = a !== L.BarAndLineFromFields || f === n[k.originalCategoryValue];
|
|
10180
10180
|
break;
|
|
10181
10181
|
case b.PieSeries:
|
|
10182
|
-
y = a ===
|
|
10182
|
+
y = a === L.PieFromFields && f === n[k.originalCategoryValue];
|
|
10183
10183
|
break;
|
|
10184
10184
|
case b.BoxPlotSeries:
|
|
10185
|
-
a ===
|
|
10185
|
+
a === L.BoxPlotMonoField || a === L.BoxPlotMonoFieldAndCategory ? y = f === i[0].y : f && (a === L.BoxPlotMultiFields || a === L.BoxPlotMultiFieldsAndCategory) && (y = i.map((C) => C.y).flat().includes(f)), S = !1;
|
|
10186
10186
|
break;
|
|
10187
10187
|
}
|
|
10188
10188
|
y && p && (o = {
|
|
@@ -10191,7 +10191,7 @@ function GF(t) {
|
|
|
10191
10191
|
label: S && g ? g : void 0
|
|
10192
10192
|
}, c != null && (o.outline = c), yh({
|
|
10193
10193
|
dataItem: n,
|
|
10194
|
-
symbolField: a ===
|
|
10194
|
+
symbolField: a === L.BarAndLineFromFields || a === L.PieFromFields ? k.rendererSymbolField : `${k.rendererSymbolField}_${f}`,
|
|
10195
10195
|
rendererSymbol: o,
|
|
10196
10196
|
rendererOrigin: s
|
|
10197
10197
|
}) && (r = !0));
|
|
@@ -10206,18 +10206,18 @@ function UF(t) {
|
|
|
10206
10206
|
const o = At({
|
|
10207
10207
|
where: e.query?.where
|
|
10208
10208
|
});
|
|
10209
|
-
o === null ? s = k.nullValue : i ===
|
|
10209
|
+
o === null ? s = k.nullValue : i === L.BarAndLineSplitBy && typeof e.y == "string" ? s = e.y : i === L.BarAndLineSplitByNoAggregation && typeof e.y == "string" ? s = `${e.y}_${o}` : s = `${o}`;
|
|
10210
10210
|
}
|
|
10211
10211
|
} else if (a === _t.PieChart)
|
|
10212
10212
|
switch (i) {
|
|
10213
|
-
case
|
|
10213
|
+
case L.BoxPlotMultiFields:
|
|
10214
10214
|
s = Array.isArray(e.y) ? e.y.flat() : e.y;
|
|
10215
10215
|
break;
|
|
10216
|
-
case
|
|
10217
|
-
case
|
|
10218
|
-
case
|
|
10219
|
-
case
|
|
10220
|
-
case
|
|
10216
|
+
case L.BarAndLineMonoField:
|
|
10217
|
+
case L.BarAndLineMultiFields:
|
|
10218
|
+
case L.BoxPlotMonoField:
|
|
10219
|
+
case L.BoxPlotMonoFieldAndCategory:
|
|
10220
|
+
case L.BoxPlotMultiFieldsAndCategory:
|
|
10221
10221
|
s = e.y;
|
|
10222
10222
|
break;
|
|
10223
10223
|
}
|
|
@@ -10356,7 +10356,7 @@ async function ms(t) {
|
|
|
10356
10356
|
}), y = H(r), S = La(a), x = Ze(S.query?.where);
|
|
10357
10357
|
m = /* @__PURE__ */ new Map();
|
|
10358
10358
|
for (let C = 0; C < e.length; C += 1) {
|
|
10359
|
-
const v = e[C],
|
|
10359
|
+
const v = e[C], F = await td({
|
|
10360
10360
|
seriesConfig: a.series,
|
|
10361
10361
|
dataItem: v,
|
|
10362
10362
|
renderer: f,
|
|
@@ -10368,7 +10368,7 @@ async function ms(t) {
|
|
|
10368
10368
|
mapAttributesToSymbol: m,
|
|
10369
10369
|
rendererFieldNames: o
|
|
10370
10370
|
});
|
|
10371
|
-
s = s ||
|
|
10371
|
+
s = s || F.colorMatchApplied;
|
|
10372
10372
|
}
|
|
10373
10373
|
}
|
|
10374
10374
|
return { dataItems: e, colorMatchApplied: s, rendererFieldNames: o };
|
|
@@ -10451,7 +10451,7 @@ function ZF(t) {
|
|
|
10451
10451
|
}
|
|
10452
10452
|
}
|
|
10453
10453
|
function Gr(t) {
|
|
10454
|
-
const { data: e, newChartConfig: i, pieSlicesSymbols: a, fieldList: n } = t, s = i.series[0], o = H(i.series) ===
|
|
10454
|
+
const { data: e, newChartConfig: i, pieSlicesSymbols: a, fieldList: n } = t, s = i.series[0], o = H(i.series) === L.PieFromFields ? nt : s.x;
|
|
10455
10455
|
e.forEach((r) => {
|
|
10456
10456
|
const l = qi(r), c = r[k.pieChart.technicalFieldSliceId], d = l ? s.sliceGrouping?.label : sr(a?.slices, c)?.label;
|
|
10457
10457
|
QF({ dataContext: r, x: o, newLabel: d });
|
|
@@ -11547,11 +11547,11 @@ function AL(t) {
|
|
|
11547
11547
|
[f]: m[f]
|
|
11548
11548
|
}))
|
|
11549
11549
|
);
|
|
11550
|
-
} else c.valid && (s ===
|
|
11550
|
+
} else c.valid && (s === L.PieFromFields ? o = Jo({
|
|
11551
11551
|
dataToConvert: d[0],
|
|
11552
11552
|
x: nt,
|
|
11553
11553
|
y: zt
|
|
11554
|
-
}) : s ===
|
|
11554
|
+
}) : s === L.BarAndLineFromFields ? o = Jo({
|
|
11555
11555
|
dataToConvert: d[0],
|
|
11556
11556
|
x: a[0].x,
|
|
11557
11557
|
y: a[0].y
|
|
@@ -11576,12 +11576,12 @@ async function Nh(t) {
|
|
|
11576
11576
|
if (u !== !0 && f !== !1 && p !== void 0 && p.length > 0 && (s === !0 || x || !Mi(p, n))) {
|
|
11577
11577
|
const v = Wi(a);
|
|
11578
11578
|
if (v !== void 0 && !$c({ dataContext: v[0], chartConfig: e, chartLimits: m }))
|
|
11579
|
-
y = v.filter((
|
|
11580
|
-
const T =
|
|
11579
|
+
y = v.filter((F) => {
|
|
11580
|
+
const T = F[rt.uniqueIdsName];
|
|
11581
11581
|
return typeof T == "number" ? p?.includes(T) : !1;
|
|
11582
11582
|
});
|
|
11583
11583
|
else if (p?.[0] !== void 0 && i !== void 0) {
|
|
11584
|
-
const { maxOIDsPerSelectionQuery:
|
|
11584
|
+
const { maxOIDsPerSelectionQuery: F } = js(), T = Math.ceil(p.length / F), w = await TL({
|
|
11585
11585
|
numberOfQueries: T,
|
|
11586
11586
|
selectionOIDs: p,
|
|
11587
11587
|
queryConfig: i,
|
|
@@ -11669,7 +11669,7 @@ function BL(t) {
|
|
|
11669
11669
|
return n === s;
|
|
11670
11670
|
}
|
|
11671
11671
|
function ML(t) {
|
|
11672
|
-
const { chartSubType: e, yAxisField: i, splitBy: a, showOutliers: n } = t, s = e ===
|
|
11672
|
+
const { chartSubType: e, yAxisField: i, splitBy: a, showOutliers: n } = t, s = e === L.BoxPlotMultiFieldsAndCategory ? i : void 0, o = { y: s, splitBy: a }, r = re({
|
|
11673
11673
|
...o,
|
|
11674
11674
|
key: Y.Outlier
|
|
11675
11675
|
}), l = re({
|
|
@@ -11739,10 +11739,10 @@ function $L(t) {
|
|
|
11739
11739
|
selectedMaxFieldWithOutliers: x,
|
|
11740
11740
|
selectedMinFieldWithOutliers: C,
|
|
11741
11741
|
iqrField: v
|
|
11742
|
-
} = ML({ chartSubType: o, yAxisField: s, splitBy: n, showOutliers: r }),
|
|
11742
|
+
} = ML({ chartSubType: o, yAxisField: s, splitBy: n, showOutliers: r }), F = l[m], T = u[m], w = l[p], N = l[g], I = u[S] ?? u[C], D = u[y] ?? u[x];
|
|
11743
11743
|
let $ = BL({ oneSelectedItem: u, dataContext: l, xAxisField: a });
|
|
11744
11744
|
if ($)
|
|
11745
|
-
switch (kL(u,
|
|
11745
|
+
switch (kL(u, F)) {
|
|
11746
11746
|
case Va.OutlierToOutlier:
|
|
11747
11747
|
$ = IL({ oneSelectedItem: u, dataContext: l, selectedOutlierKey: m });
|
|
11748
11748
|
break;
|
|
@@ -11751,17 +11751,17 @@ function $L(t) {
|
|
|
11751
11751
|
break;
|
|
11752
11752
|
case Va.BoxToOutlier:
|
|
11753
11753
|
$ = OL({
|
|
11754
|
-
selectedMin:
|
|
11755
|
-
selectedMax:
|
|
11756
|
-
elementOutlierValue:
|
|
11754
|
+
selectedMin: I,
|
|
11755
|
+
selectedMax: D,
|
|
11756
|
+
elementOutlierValue: F,
|
|
11757
11757
|
oneSelectedItem: u,
|
|
11758
11758
|
iqrField: v
|
|
11759
11759
|
});
|
|
11760
11760
|
break;
|
|
11761
11761
|
case Va.BoxToBox:
|
|
11762
11762
|
$ = NL({
|
|
11763
|
-
selectedMin:
|
|
11764
|
-
selectedMax:
|
|
11763
|
+
selectedMin: I,
|
|
11764
|
+
selectedMax: D,
|
|
11765
11765
|
elementMin: w,
|
|
11766
11766
|
oneSelectedItem: u,
|
|
11767
11767
|
elementMax: N,
|
|
@@ -11836,14 +11836,14 @@ function Ur(t) {
|
|
|
11836
11836
|
return n !== void 0 && n in f && n in m ? g = m[n] === f[n] : g = m[s] === f[s] && m[o] === f[o], g;
|
|
11837
11837
|
};
|
|
11838
11838
|
else {
|
|
11839
|
-
const { dataContextXMinField: m, dataContextXMaxField: g, dataContextYMinField: p, dataContextYMaxField: y } = k.scatterplotAggregationFields, { [m]: S, [g]: x } = f, C = s !== o ? f[p] : S, v = s !== o ? f[y] : x,
|
|
11840
|
-
const N = w[s] ?? Number.NaN,
|
|
11841
|
-
return S === x ? N ===
|
|
11839
|
+
const { dataContextXMinField: m, dataContextXMaxField: g, dataContextYMinField: p, dataContextYMaxField: y } = k.scatterplotAggregationFields, { [m]: S, [g]: x } = f, C = s !== o ? f[p] : S, v = s !== o ? f[y] : x, F = (w) => {
|
|
11840
|
+
const N = w[s] ?? Number.NaN, I = S ?? Number.NaN, D = x ?? Number.NaN;
|
|
11841
|
+
return S === x ? N === I : (N ?? Number.NaN) >= I && (N ?? Number.NaN) < D;
|
|
11842
11842
|
}, T = (w) => {
|
|
11843
|
-
const N = w[o] ?? Number.NaN,
|
|
11844
|
-
return C === v ? N ===
|
|
11843
|
+
const N = w[o] ?? Number.NaN, I = C ?? Number.NaN, D = v ?? Number.NaN;
|
|
11844
|
+
return C === v ? N === I : N >= I && N < D;
|
|
11845
11845
|
};
|
|
11846
|
-
d = (w) =>
|
|
11846
|
+
d = (w) => F(w) && T(w);
|
|
11847
11847
|
}
|
|
11848
11848
|
}
|
|
11849
11849
|
break;
|
|
@@ -11892,7 +11892,7 @@ function ba(t) {
|
|
|
11892
11892
|
let d = { ...i };
|
|
11893
11893
|
if (i !== void 0) {
|
|
11894
11894
|
if (r === b.RadarSeries || r === b.BarSeries || r === b.LineSeries || r === b.ComboLineAndBarSeries || r === b.PieSeries) {
|
|
11895
|
-
r !== b.PieSeries && (e || l !==
|
|
11895
|
+
r !== b.PieSeries && (e || l !== L.BarAndLineNoAggregation && l !== L.BarAndLineSplitByNoAggregation) && n.forEach((f) => {
|
|
11896
11896
|
f !== a && delete d[f];
|
|
11897
11897
|
});
|
|
11898
11898
|
const u = ei({
|
|
@@ -11910,7 +11910,7 @@ function ba(t) {
|
|
|
11910
11910
|
].forEach((f) => {
|
|
11911
11911
|
i[f] && (d[f] = i[f]);
|
|
11912
11912
|
});
|
|
11913
|
-
const u = l ===
|
|
11913
|
+
const u = l === L.BoxPlotMultiFieldsAndCategory ? a : void 0;
|
|
11914
11914
|
Object.values(Y).forEach((f) => {
|
|
11915
11915
|
const m = re({ key: f, y: u, splitBy: o, showOutliers: c });
|
|
11916
11916
|
i[m] !== void 0 && (d[m] = i[m]);
|
|
@@ -12054,8 +12054,8 @@ function rd(t) {
|
|
|
12054
12054
|
return (y, S, x) => {
|
|
12055
12055
|
let C = "";
|
|
12056
12056
|
if (S !== void 0 && x !== void 0) {
|
|
12057
|
-
const v = `${o ?? ""}${f.format(S)}${r ?? ""}`,
|
|
12058
|
-
Number.isFinite(S) ? n === !0 && s === !0 ? C = `${
|
|
12057
|
+
const v = `${o ?? ""}${f.format(S)}${r ?? ""}`, F = `${l ?? ""}${m.format(Math.abs(x / 100))}${c ?? ""}`;
|
|
12058
|
+
Number.isFinite(S) ? n === !0 && s === !0 ? C = `${F}${g}(${v})` : n === !0 ? C = v : s === !0 && (C = F) : C = "";
|
|
12059
12059
|
}
|
|
12060
12060
|
return C;
|
|
12061
12061
|
};
|
|
@@ -12094,7 +12094,7 @@ function Eh(t) {
|
|
|
12094
12094
|
const { numericValueFormat: u, percentValueFormat: f, valuePrefix: m, valueSuffix: g, percentagePrefix: p, percentageSuffix: y } = i[0], S = l ?? O.pieChart.displayNumericValueOnLegend, x = c ?? O.pieChart.displayPercentageOnLegend;
|
|
12095
12095
|
let C = n;
|
|
12096
12096
|
if (n === void 0) {
|
|
12097
|
-
const
|
|
12097
|
+
const I = rd({
|
|
12098
12098
|
pieChart: s,
|
|
12099
12099
|
valueIntlOptions: u?.intlOptions,
|
|
12100
12100
|
percentageIntlOptions: f?.intlOptions,
|
|
@@ -12105,12 +12105,12 @@ function Eh(t) {
|
|
|
12105
12105
|
percentagePrefix: p,
|
|
12106
12106
|
percentageSuffix: y
|
|
12107
12107
|
});
|
|
12108
|
-
C = (
|
|
12108
|
+
C = (D, $) => I("", D, $);
|
|
12109
12109
|
}
|
|
12110
12110
|
tL(e.uid, {
|
|
12111
12111
|
pieChartLegendValueLabelsFormatter: C
|
|
12112
12112
|
});
|
|
12113
|
-
const
|
|
12113
|
+
const F = R(s?.uid ?? 0, "config")?.legend?.position ?? O.legendProperties.position, T = EL(e, F), w = {
|
|
12114
12114
|
type: b.Text,
|
|
12115
12115
|
visible: o,
|
|
12116
12116
|
content: {
|
|
@@ -12480,7 +12480,7 @@ function Xh(t) {
|
|
|
12480
12480
|
if (n !== !1) {
|
|
12481
12481
|
const d = a.series.find((u) => u.id === l.get("id"));
|
|
12482
12482
|
if (d !== void 0 && "y" in d && typeof d.y == "string") {
|
|
12483
|
-
const { x: u, y: f } = d, m = r ===
|
|
12483
|
+
const { x: u, y: f } = d, m = r === L.BarAndLineSplitByNoAggregation ? `${f}_${At({ where: d.query?.where })}` : f;
|
|
12484
12484
|
c = l.data.values.some(
|
|
12485
12485
|
(p) => vc({ dataItem: p, x: u, y: m })
|
|
12486
12486
|
);
|
|
@@ -12510,30 +12510,30 @@ function ks(t, e) {
|
|
|
12510
12510
|
if (a !== void 0) {
|
|
12511
12511
|
const n = R(t.uid, "config"), s = R(t.uid, "rtl"), o = n?.title ? n.title.visible ?? !0 : !1, r = n?.subtitle ? n.subtitle.visible ?? !0 : !1, l = n?.footer ? n.footer.visible ?? !0 : !1, c = n?.legend ? n.legend.visible ?? !0 : !1, d = n?.legend?.title ? n.legend.title.visible ?? !0 : !1, u = Ge({ childId: ld, parent: t }), f = u instanceof Rn && o ? u.height() : 0, m = Ge({ childId: cd, parent: t }), g = m instanceof Rn && r ? m.height() : 0, p = Ge({ childId: dd, parent: t }), y = p instanceof Rn && l ? p.height() : 0, S = Ge({ childId: Ln, parent: a }), x = S instanceof fa && c && d ? S?.height() : 0, C = n?.legend?.position ?? O.legendProperties.position;
|
|
12512
12512
|
let v;
|
|
12513
|
-
const
|
|
12514
|
-
let T = Ee, w = Ee, N = i.verticalLayout,
|
|
12513
|
+
const F = e.get("verticalScrollbar");
|
|
12514
|
+
let T = Ee, w = Ee, N = i.verticalLayout, I = Ee, D = Ee, $ = Ee, M = Ee, P = 0, V;
|
|
12515
12515
|
const G = e.height() + x;
|
|
12516
12516
|
let q = 0, _ = 0, ee = 0, te = 0, j, Q;
|
|
12517
12517
|
switch (C) {
|
|
12518
12518
|
case ie.Left:
|
|
12519
|
-
N = i.verticalLayout,
|
|
12519
|
+
N = i.verticalLayout, I = gt, $ = gt, D = gt, M = gt, V = void 0, T = gt, w = gt, q = a.width(), P = f + g, G < t.seriesContainer.height() && (P += t.seriesContainer.height() / 2 - G / 2), v = ef(e), F?.width() !== void 0 && v && F.isVisible() && (v += F.width() + O.scrollbarPadding), s && (j = at, Q = v);
|
|
12520
12520
|
break;
|
|
12521
12521
|
case ie.Right:
|
|
12522
|
-
N = i.verticalLayout,
|
|
12522
|
+
N = i.verticalLayout, I = at, $ = at, D = gt, M = gt, V = void 0, T = gt, w = gt, _ = a.width(), P = f + g, G < t.seriesContainer.height() && (P += t.seriesContainer.height() / 2 - G / 2), v = ef(e), F?.width() !== void 0 && v && F.isVisible() && (v += F.width() + O.scrollbarPadding), s && (j = at, Q = v);
|
|
12523
12523
|
break;
|
|
12524
12524
|
case ie.Top:
|
|
12525
|
-
N = i.gridLayout,
|
|
12525
|
+
N = i.gridLayout, I = Ee, $ = Ee, D = gt, M = gt, V = at, T = Ee, w = Ee, ee += G, P += f + g, v = void 0, s && (j = void 0);
|
|
12526
12526
|
break;
|
|
12527
12527
|
case ie.Bottom:
|
|
12528
|
-
N = i.gridLayout,
|
|
12528
|
+
N = i.gridLayout, I = Ee, $ = Ee, D = at, M = at, V = at, T = Ee, w = Ee, te = G, P = -te - y, v = void 0, s && (j = void 0);
|
|
12529
12529
|
break;
|
|
12530
12530
|
}
|
|
12531
12531
|
(v === void 0 || v > 0) && (e.setPrivate("width", v), s && e.itemContainers.template.setAll({
|
|
12532
12532
|
centerX: j,
|
|
12533
12533
|
dx: Q
|
|
12534
12534
|
})), e.setAll({ layout: N, x: T, centerX: w }), a.setAll({
|
|
12535
|
-
x:
|
|
12536
|
-
y:
|
|
12535
|
+
x: I,
|
|
12536
|
+
y: D,
|
|
12537
12537
|
centerX: $,
|
|
12538
12538
|
centerY: M,
|
|
12539
12539
|
dy: P,
|
|
@@ -12844,10 +12844,10 @@ function ep(t) {
|
|
|
12844
12844
|
const { config: e, fieldList: i, objectIdField: a, seriesIndex: n, isStacked100: s, utilsStrings: o } = t;
|
|
12845
12845
|
let r = "";
|
|
12846
12846
|
const l = e.series[n].name, c = e.series[n], d = [c.y].flat()[0], u = e.axes, f = H(e.series), m = a ?? rt.outStatistics.onStatisticField, g = c.query?.outStatistics?.[0].onStatisticField ?? m, p = We(i, g), y = c.query?.outStatistics?.[0].statisticType ?? pr.statisticType, S = Kh(y, o);
|
|
12847
|
-
return f ===
|
|
12847
|
+
return f === L.BarAndLineNoAggregation ? r = l ?? We(i, d) : f === L.BarAndLineSplitByNoAggregation ? r = We(i, d) : (r = y === U.Count && g === m ? o.statistics.count : Vt(o.statistics.aggregation, {
|
|
12848
12848
|
statistics: S,
|
|
12849
12849
|
fieldName: p ?? l
|
|
12850
|
-
}), f ===
|
|
12850
|
+
}), f === L.BarAndLineMonoField && !s && (r = ia(r, u[1].title?.content?.text))), r;
|
|
12851
12851
|
}
|
|
12852
12852
|
function tp(t) {
|
|
12853
12853
|
return jo(t.uid.toString(), Fh);
|
|
@@ -12949,10 +12949,10 @@ function fT(t, e) {
|
|
|
12949
12949
|
valueSuffix: u,
|
|
12950
12950
|
percentagePrefix: f,
|
|
12951
12951
|
percentageSuffix: m
|
|
12952
|
-
})("", p, y),
|
|
12953
|
-
if (
|
|
12952
|
+
})("", p, y), F = !he(g) && (r ?? O.pieChart.displayCategoryOnTooltip);
|
|
12953
|
+
if (F && (S = `[bold]${g}[/]`), !he(v)) {
|
|
12954
12954
|
const T = Hr(v);
|
|
12955
|
-
S =
|
|
12955
|
+
S = F ? `${S}
|
|
12956
12956
|
${T}` : T;
|
|
12957
12957
|
}
|
|
12958
12958
|
}
|
|
@@ -13301,14 +13301,14 @@ function xT(t) {
|
|
|
13301
13301
|
if (m !== void 0) {
|
|
13302
13302
|
const { dataTooltipVisible: g } = s, p = n instanceof ke ? s.markerVisible : void 0;
|
|
13303
13303
|
if (g !== !1 && p !== !1) {
|
|
13304
|
-
const y = m.axes, S = y[0].valueFormat, x = y[1].valueFormat, C = H(m.series), v = ni(m) === Fe.Stacked100,
|
|
13304
|
+
const y = m.axes, S = y[0].valueFormat, x = y[1].valueFormat, C = H(m.series), v = ni(m) === Fe.Stacked100, F = Le(a)?.objectIdField, T = We(i, s.x), w = ia(T, y[0].title?.content.text), N = ep({
|
|
13305
13305
|
config: m,
|
|
13306
13306
|
fieldList: i,
|
|
13307
|
-
objectIdField:
|
|
13307
|
+
objectIdField: F,
|
|
13308
13308
|
seriesIndex: o,
|
|
13309
13309
|
utilsStrings: e,
|
|
13310
13310
|
isStacked100: v
|
|
13311
|
-
}),
|
|
13311
|
+
}), I = R(l.uid, "rtl"), D = oi(I ?? !1);
|
|
13312
13312
|
f = ($) => {
|
|
13313
13313
|
const { seriesName: M, statValue: P, percentValue: V, xValue: W, dateBinningRange: G } = $, q = bT({
|
|
13314
13314
|
seriesConfig: s,
|
|
@@ -13328,9 +13328,9 @@ function xT(t) {
|
|
|
13328
13328
|
statValue: P,
|
|
13329
13329
|
percentValue: V
|
|
13330
13330
|
});
|
|
13331
|
-
let te = [`[bold]${w}${
|
|
13332
|
-
switch (
|
|
13333
|
-
case
|
|
13331
|
+
let te = [`[bold]${w}${D} [/]${q}`];
|
|
13332
|
+
switch (I && (te = [`${q} [bold]${w}${D} [/]`]), C) {
|
|
13333
|
+
case L.BarAndLineFromFields: {
|
|
13334
13334
|
te.pop();
|
|
13335
13335
|
const j = Jh({
|
|
13336
13336
|
config: m,
|
|
@@ -13338,33 +13338,33 @@ function xT(t) {
|
|
|
13338
13338
|
utilsStrings: e
|
|
13339
13339
|
});
|
|
13340
13340
|
te.push(
|
|
13341
|
-
|
|
13341
|
+
I ? `${_} [bold]${j}${D} [/]` : `[bold]${j}${D} [/]${_}`
|
|
13342
13342
|
);
|
|
13343
13343
|
break;
|
|
13344
13344
|
}
|
|
13345
|
-
case
|
|
13346
|
-
case
|
|
13347
|
-
case
|
|
13345
|
+
case L.BarAndLineMonoField:
|
|
13346
|
+
case L.BarAndLineNoAggregation:
|
|
13347
|
+
case L.BarAndLineMultiFields:
|
|
13348
13348
|
te.push(
|
|
13349
|
-
|
|
13349
|
+
I ? `${_} [bold]${N}${D} [/]` : `[bold]${N}${D} [/]${_}`
|
|
13350
13350
|
);
|
|
13351
13351
|
break;
|
|
13352
|
-
case
|
|
13353
|
-
case
|
|
13352
|
+
case L.BarAndLineSplitByNoAggregation:
|
|
13353
|
+
case L.BarAndLineSplitBy:
|
|
13354
13354
|
{
|
|
13355
13355
|
const j = Ze(s.query?.where, !1), Q = rm({
|
|
13356
13356
|
value: We(i, j)
|
|
13357
13357
|
});
|
|
13358
13358
|
te.push(
|
|
13359
|
-
|
|
13360
|
-
${_} [bold]${N}${
|
|
13361
|
-
[bold]${N}${
|
|
13359
|
+
I ? `${M} [bold]${Q}${D} [/]
|
|
13360
|
+
${_} [bold]${N}${D} [/]` : `[bold]${Q}${D} [/]${M}
|
|
13361
|
+
[bold]${N}${D} [/]${_}`
|
|
13362
13362
|
);
|
|
13363
13363
|
}
|
|
13364
13364
|
break;
|
|
13365
13365
|
}
|
|
13366
13366
|
return v && te.push(
|
|
13367
|
-
|
|
13367
|
+
I ? `${ee} [bold]${e.statistics.percent}${D} [/]` : `[bold]${e.statistics.percent}${D} [/]${ee}`
|
|
13368
13368
|
), te.join(`
|
|
13369
13369
|
`);
|
|
13370
13370
|
};
|
|
@@ -13427,16 +13427,16 @@ function vT(t) {
|
|
|
13427
13427
|
a.uid,
|
|
13428
13428
|
"tooltipValueYNumberFormatCallback"
|
|
13429
13429
|
), v = C ? C(u) : u;
|
|
13430
|
-
let
|
|
13430
|
+
let F = l ? `${x}[bold]${g}${c} [/]
|
|
13431
13431
|
${v}[bold]${y}${c} [/]` : `[bold]${g}${c} [/]${x}
|
|
13432
13432
|
[bold]${y}${c} [/]${v}`;
|
|
13433
13433
|
if (f !== void 0 && i.sizePolicy?.field !== void 0) {
|
|
13434
13434
|
const T = We(n, i.sizePolicy?.field), w = C ? C(f) : f;
|
|
13435
|
-
|
|
13435
|
+
F += l ? `
|
|
13436
13436
|
${w}[bold]${T}${c} [/]` : `
|
|
13437
13437
|
[bold]${T}${c} [/]${w}`;
|
|
13438
13438
|
}
|
|
13439
|
-
return
|
|
13439
|
+
return F;
|
|
13440
13440
|
}, o;
|
|
13441
13441
|
}
|
|
13442
13442
|
function FT(t) {
|
|
@@ -13608,7 +13608,7 @@ function NT(t) {
|
|
|
13608
13608
|
const g = qt({
|
|
13609
13609
|
dataItem: f?.dataContext,
|
|
13610
13610
|
seriesConfig: s,
|
|
13611
|
-
chartSubType:
|
|
13611
|
+
chartSubType: L.NonSpecific,
|
|
13612
13612
|
colorMatch: o
|
|
13613
13613
|
}), p = Et({
|
|
13614
13614
|
root: e,
|
|
@@ -14427,7 +14427,7 @@ async function nA(t) {
|
|
|
14427
14427
|
renderer: f,
|
|
14428
14428
|
rendererOrigin: r !== void 0 ? Zi.ChartRenderer : Zi.LayerRenderer,
|
|
14429
14429
|
rendererType: m,
|
|
14430
|
-
chartSubType:
|
|
14430
|
+
chartSubType: L.NonSpecific,
|
|
14431
14431
|
graphicTemplate: u
|
|
14432
14432
|
});
|
|
14433
14433
|
g = p.rendererSymbol, be(e.chart?.uid ?? Number.NaN, { colorMatchApplied: p.colorMatchApplied });
|
|
@@ -14610,9 +14610,9 @@ function mA(t) {
|
|
|
14610
14610
|
return n.forEach((x, C) => {
|
|
14611
14611
|
const v = x instanceof Ms || x instanceof Gn ? x : x.bullets?.[0]?.get("sprite");
|
|
14612
14612
|
if (v !== void 0) {
|
|
14613
|
-
let
|
|
14614
|
-
if (
|
|
14615
|
-
dataContext:
|
|
14613
|
+
let F = x instanceof Ms || x instanceof Gn ? v.dataItem?.dataContext : x.dataContext;
|
|
14614
|
+
if (F !== void 0 && d === b.BoxPlotSeries && F[O.boxPlot.boxPlotOutlierId] !== !0 && (F = ba({
|
|
14615
|
+
dataContext: F,
|
|
14616
14616
|
yAxisField: l,
|
|
14617
14617
|
yList: S,
|
|
14618
14618
|
xAxisField: r,
|
|
@@ -14622,7 +14622,7 @@ function mA(t) {
|
|
|
14622
14622
|
showOutliers: f,
|
|
14623
14623
|
isFeatureCollectionLayer: ga(m)
|
|
14624
14624
|
})), Ur({
|
|
14625
|
-
elementDataContext:
|
|
14625
|
+
elementDataContext: F,
|
|
14626
14626
|
options: a,
|
|
14627
14627
|
selectionDataItems: s,
|
|
14628
14628
|
layerOidField: o,
|
|
@@ -14632,23 +14632,23 @@ function mA(t) {
|
|
|
14632
14632
|
chartSubType: u,
|
|
14633
14633
|
showOutliers: f
|
|
14634
14634
|
}))
|
|
14635
|
-
if (g.push(v), p.push(C), v?.dataItem instanceof Ka &&
|
|
14636
|
-
y.push(
|
|
14635
|
+
if (g.push(v), p.push(C), v?.dataItem instanceof Ka && F !== void 0)
|
|
14636
|
+
y.push(F);
|
|
14637
14637
|
else {
|
|
14638
14638
|
const w = /* @__PURE__ */ new Set();
|
|
14639
|
-
d === b.PieSeries && qi(
|
|
14640
|
-
groupOfSlicesDataContext:
|
|
14641
|
-
}) ?? []).forEach((
|
|
14642
|
-
s.forEach((
|
|
14639
|
+
d === b.PieSeries && qi(F) ? (co({
|
|
14640
|
+
groupOfSlicesDataContext: F
|
|
14641
|
+
}) ?? []).forEach((I) => {
|
|
14642
|
+
s.forEach((D) => {
|
|
14643
14643
|
od({
|
|
14644
14644
|
layerOidField: o,
|
|
14645
|
-
sliceDataContext:
|
|
14646
|
-
selectionDataContext:
|
|
14645
|
+
sliceDataContext: I,
|
|
14646
|
+
selectionDataContext: D,
|
|
14647
14647
|
xAxisField: r
|
|
14648
|
-
}) && w.add(
|
|
14648
|
+
}) && w.add(I);
|
|
14649
14649
|
});
|
|
14650
|
-
}) : w.add(
|
|
14651
|
-
const
|
|
14650
|
+
}) : w.add(F), Array.from(w)?.forEach((N) => {
|
|
14651
|
+
const I = ba({
|
|
14652
14652
|
dataContext: N,
|
|
14653
14653
|
yAxisField: l,
|
|
14654
14654
|
yList: S,
|
|
@@ -14659,7 +14659,7 @@ function mA(t) {
|
|
|
14659
14659
|
showOutliers: f,
|
|
14660
14660
|
isFeatureCollectionLayer: ga(m)
|
|
14661
14661
|
});
|
|
14662
|
-
|
|
14662
|
+
I !== void 0 && y.push(I);
|
|
14663
14663
|
});
|
|
14664
14664
|
}
|
|
14665
14665
|
else
|
|
@@ -14681,7 +14681,7 @@ function gA(t) {
|
|
|
14681
14681
|
rotationChanged: d
|
|
14682
14682
|
} = t, { chart: u } = e;
|
|
14683
14683
|
if (u instanceof qn) {
|
|
14684
|
-
const f = R(u.uid, "options"), { filterBySelection: m, selectionData: g, returnSelectionIndexes: p, returnSelectionOIDs: y } = f ?? {}, { selectionIndexes: S } = g ?? {}, x = R(u.uid, "config"), C = Xe(x), v = z(x?.series),
|
|
14684
|
+
const f = R(u.uid, "options"), { filterBySelection: m, selectionData: g, returnSelectionIndexes: p, returnSelectionOIDs: y } = f ?? {}, { selectionIndexes: S } = g ?? {}, x = R(u.uid, "config"), C = Xe(x), v = z(x?.series), F = H(x?.series), T = uA(e);
|
|
14685
14685
|
if (m !== !0 && x !== void 0) {
|
|
14686
14686
|
let w;
|
|
14687
14687
|
a !== void 0 && (w = Le(a).objectIdField);
|
|
@@ -14689,7 +14689,7 @@ function gA(t) {
|
|
|
14689
14689
|
u.uid,
|
|
14690
14690
|
"currentSelectionDataItems"
|
|
14691
14691
|
);
|
|
14692
|
-
let
|
|
14692
|
+
let I = !1, D = !1, $, M = !1;
|
|
14693
14693
|
if (T?.[0] !== void 0) {
|
|
14694
14694
|
if (f?.viewExtentUpdated !== !0) {
|
|
14695
14695
|
$ = f?.selectionData?.selectionItems ?? N;
|
|
@@ -14700,18 +14700,18 @@ function gA(t) {
|
|
|
14700
14700
|
M = jc({
|
|
14701
14701
|
itemsA: $,
|
|
14702
14702
|
itemsB: N,
|
|
14703
|
-
isPieFromFields:
|
|
14703
|
+
isPieFromFields: F === L.PieFromFields
|
|
14704
14704
|
});
|
|
14705
14705
|
const V = !Mi(S, P);
|
|
14706
|
-
|
|
14706
|
+
I = s === !0 || n === !0 || o === !0 || d === !0 || $ !== void 0 && M;
|
|
14707
14707
|
let W = !0;
|
|
14708
14708
|
if (S !== void 0 && S.size > 0) {
|
|
14709
14709
|
const { indexesToSelect: G } = S.get(i ?? 0) ?? {};
|
|
14710
14710
|
W = G !== void 0 && G[0] === void 0;
|
|
14711
14711
|
}
|
|
14712
|
-
|
|
14712
|
+
D = n === !0 || o === !0 || d === !0 || !W && V;
|
|
14713
14713
|
}
|
|
14714
|
-
if (
|
|
14714
|
+
if (I && $ !== void 0 && $.length > 0) {
|
|
14715
14715
|
const { selectedIndexes: P, newSelectionDataItems: V } = mA({
|
|
14716
14716
|
chart: u,
|
|
14717
14717
|
chartConfig: x,
|
|
@@ -14724,7 +14724,7 @@ function gA(t) {
|
|
|
14724
14724
|
splitBy: c
|
|
14725
14725
|
});
|
|
14726
14726
|
let W = R(u.uid, "computedSelectionDataItems") ?? [];
|
|
14727
|
-
if (W.push(...V), x.series.length > 1 &&
|
|
14727
|
+
if (W.push(...V), x.series.length > 1 && F !== L.BarAndLineNoAggregation && F !== L.BarAndLineSplitByNoAggregation && (W = ro({
|
|
14728
14728
|
data: W,
|
|
14729
14729
|
x: x.series[0].x,
|
|
14730
14730
|
splitByField: Ze(x.series[0].query?.where)
|
|
@@ -14736,7 +14736,7 @@ function gA(t) {
|
|
|
14736
14736
|
);
|
|
14737
14737
|
q === void 0 && (q = /* @__PURE__ */ new Map()), G.length === T.length ? q.set(i ?? 0, {}) : q.set(i ?? 0, { indexesToSelect: G }), be(u.uid, { computedSelectionIndexes: q });
|
|
14738
14738
|
}
|
|
14739
|
-
} else if (S !== void 0 &&
|
|
14739
|
+
} else if (S !== void 0 && D)
|
|
14740
14740
|
$ = fA(u, S);
|
|
14741
14741
|
else {
|
|
14742
14742
|
const P = (V) => {
|
|
@@ -14749,7 +14749,7 @@ function gA(t) {
|
|
|
14749
14749
|
xAxisField: r,
|
|
14750
14750
|
yAxisField: l,
|
|
14751
14751
|
chartType: v,
|
|
14752
|
-
chartSubType:
|
|
14752
|
+
chartSubType: F
|
|
14753
14753
|
});
|
|
14754
14754
|
};
|
|
14755
14755
|
T.forEach((V) => {
|
|
@@ -14761,7 +14761,7 @@ function gA(t) {
|
|
|
14761
14761
|
});
|
|
14762
14762
|
}
|
|
14763
14763
|
}
|
|
14764
|
-
if (et(e.uid, { isSelectionApplied: !0 }), cA({ chart: u, chartType: v, showMean: C }) && (dA(u), M ||
|
|
14764
|
+
if (et(e.uid, { isSelectionApplied: !0 }), cA({ chart: u, chartType: v, showMean: C }) && (dA(u), M || D)) {
|
|
14765
14765
|
let P = R(u.uid, "computedSelectionDataItems") ?? $;
|
|
14766
14766
|
P = Array.from(
|
|
14767
14767
|
new Set(P?.map((W) => JSON.stringify(W)))
|
|
@@ -14821,17 +14821,17 @@ async function gd(t, e) {
|
|
|
14821
14821
|
const u = /* @__PURE__ */ new Set(), f = [], m = /* @__PURE__ */ new Map(), g = [];
|
|
14822
14822
|
let p = [], y = 0;
|
|
14823
14823
|
if (t.series.each(async (S, x) => {
|
|
14824
|
-
const { seriesConfig: C } = jr(S, i), v = C?.query?.where ?? "",
|
|
14824
|
+
const { seriesConfig: C } = jr(S, i), v = C?.query?.where ?? "", F = C?.type === b.BoxPlotSeries ? C.y.toString() : mo(S);
|
|
14825
14825
|
let T;
|
|
14826
14826
|
S instanceof ke ? T = S.dataItems : S instanceof ut ? T = S.columns.values : S instanceof Gt && (T = S.slices.values), T?.forEach((w, N) => {
|
|
14827
|
-
const
|
|
14828
|
-
if (
|
|
14827
|
+
const I = w instanceof Ms || w instanceof Gn ? w : w.bullets?.[0]?.get("sprite");
|
|
14828
|
+
if (I !== void 0 && Ta(I.uid, "selected") === !0) {
|
|
14829
14829
|
y += 1;
|
|
14830
|
-
let
|
|
14831
|
-
if (
|
|
14832
|
-
if (
|
|
14833
|
-
dataContext:
|
|
14834
|
-
yAxisField:
|
|
14830
|
+
let D = w instanceof Ms || w instanceof Gn ? w.dataItem?.dataContext : w.dataContext;
|
|
14831
|
+
if (D !== void 0) {
|
|
14832
|
+
if (D = ba({
|
|
14833
|
+
dataContext: D,
|
|
14834
|
+
yAxisField: F,
|
|
14835
14835
|
yList: l,
|
|
14836
14836
|
xAxisField: c,
|
|
14837
14837
|
splitBy: v,
|
|
@@ -14839,21 +14839,21 @@ async function gd(t, e) {
|
|
|
14839
14839
|
chartSubType: o,
|
|
14840
14840
|
showOutliers: r,
|
|
14841
14841
|
isFeatureCollectionLayer: ga(a)
|
|
14842
|
-
}), u.has(JSON.stringify(
|
|
14842
|
+
}), u.has(JSON.stringify(D)) || (u.add(JSON.stringify(D)), f.push(D)), N !== void 0) {
|
|
14843
14843
|
const M = m.get(x)?.indexesToSelect ?? [];
|
|
14844
14844
|
M.push(N), m.set(x, {
|
|
14845
14845
|
indexesToSelect: Array.from(new Set(M))
|
|
14846
14846
|
});
|
|
14847
14847
|
}
|
|
14848
|
-
const $ =
|
|
14848
|
+
const $ = D[rt.uniqueIdsName] !== void 0 ? [D[rt.uniqueIdsName]].flat() : [];
|
|
14849
14849
|
if ($.length > 0)
|
|
14850
14850
|
p.push(...$);
|
|
14851
14851
|
else if (n?.returnSelectionOIDs !== !1) {
|
|
14852
14852
|
const M = lh({
|
|
14853
|
-
dataContext:
|
|
14853
|
+
dataContext: D,
|
|
14854
14854
|
options: n,
|
|
14855
14855
|
xAxisField: c,
|
|
14856
|
-
yAxisField:
|
|
14856
|
+
yAxisField: F ?? "",
|
|
14857
14857
|
splitBy: v,
|
|
14858
14858
|
xAxisFieldType: d,
|
|
14859
14859
|
chartConfig: i
|
|
@@ -14877,8 +14877,8 @@ async function gd(t, e) {
|
|
|
14877
14877
|
if (g.length === y)
|
|
14878
14878
|
p = v;
|
|
14879
14879
|
else
|
|
14880
|
-
for (let
|
|
14881
|
-
p.push(v[
|
|
14880
|
+
for (let F = 0; F < v.length; F += 1)
|
|
14881
|
+
p.push(v[F]);
|
|
14882
14882
|
}
|
|
14883
14883
|
p = Array.from(new Set(p)), be(t.uid, {
|
|
14884
14884
|
currentSelectionDataItems: f,
|
|
@@ -14907,7 +14907,7 @@ async function gd(t, e) {
|
|
|
14907
14907
|
}
|
|
14908
14908
|
}
|
|
14909
14909
|
function ps(t, e) {
|
|
14910
|
-
const { y: i, query: a } = e, s = H(t.series) ===
|
|
14910
|
+
const { y: i, query: a } = e, s = H(t.series) === L.BarAndLineSplitByNoAggregation ? `${i.toString()}_${At({ where: a?.where })}` : [i].flat()[0], o = O.xAxisField, r = t.rotated === !0 ? "categoryYField" : "categoryXField", l = t.rotated === !0 ? "valueYField" : "valueXField", c = t.axes?.[0]?.valueFormat.type === b.CategoryAxisFormat ? r : l, d = t.rotated === !0 ? "valueXField" : "valueYField";
|
|
14911
14911
|
return { xField: o, yField: s, xAxisField: c, yAxisField: d };
|
|
14912
14912
|
}
|
|
14913
14913
|
function ka(t) {
|
|
@@ -15076,7 +15076,7 @@ function pd(t) {
|
|
|
15076
15076
|
if (o) {
|
|
15077
15077
|
const r = H(e.series);
|
|
15078
15078
|
let l = o.name;
|
|
15079
|
-
if (r ===
|
|
15079
|
+
if (r === L.BarAndLineSplitBy || r === L.BarAndLineSplitByNoAggregation) {
|
|
15080
15080
|
const c = Ze(o.query?.where);
|
|
15081
15081
|
l = Fr({
|
|
15082
15082
|
subtypeInfo: n,
|
|
@@ -15166,11 +15166,11 @@ function FA(t) {
|
|
|
15166
15166
|
else if (i.type === b.CategoryAxisFormat) {
|
|
15167
15167
|
const d = H(c?.series);
|
|
15168
15168
|
if ([
|
|
15169
|
-
|
|
15170
|
-
|
|
15171
|
-
|
|
15172
|
-
|
|
15173
|
-
|
|
15169
|
+
L.BoxPlotMonoField,
|
|
15170
|
+
L.BoxPlotMultiFields,
|
|
15171
|
+
L.BoxPlotMonoFieldAndSplitBy,
|
|
15172
|
+
L.BoxPlotMultiFieldsAndSplitBy,
|
|
15173
|
+
L.BarAndLineFromFields
|
|
15174
15174
|
].includes(d) && typeof o == "string") {
|
|
15175
15175
|
const m = R(e.uid, "fieldList");
|
|
15176
15176
|
o = We(m, o);
|
|
@@ -15259,7 +15259,7 @@ function Fp(t) {
|
|
|
15259
15259
|
const { dataContext: e, defaultValue: i, chartUID: a } = t;
|
|
15260
15260
|
let n = $i(e);
|
|
15261
15261
|
const s = R(a, "config"), o = R(a, "rendererFieldNames"), r = z(s?.series), l = H(s?.series);
|
|
15262
|
-
return r === b.BoxPlotSeries && (l ===
|
|
15262
|
+
return r === b.BoxPlotSeries && (l === L.BoxPlotMonoField || l === L.BoxPlotMultiFields || l === L.BoxPlotMonoFieldAndSplitBy || l === L.BoxPlotMultiFieldsAndSplitBy) ? n = e?.[_s] : r === b.HistogramSeries ? n = e?.[Vs.Start] : n = ei({
|
|
15263
15263
|
value: i ?? "",
|
|
15264
15264
|
dataContext: e,
|
|
15265
15265
|
useRendererLabel: qr(s, o)
|
|
@@ -15528,7 +15528,7 @@ function VA(t) {
|
|
|
15528
15528
|
// using either the provided data (at creation or after a data update) or the current series data
|
|
15529
15529
|
chartData: y ?? l.series.getIndex(0)?.data.values ?? [],
|
|
15530
15530
|
filteredSeriesIds: p
|
|
15531
|
-
}), { minX: x, maxX: C, minY: v, maxY:
|
|
15531
|
+
}), { minX: x, maxX: C, minY: v, maxY: F } = S, [T, w] = m ? [x ?? Number.NaN, C ?? Number.NaN] : [v, F];
|
|
15532
15532
|
u === b.BarSeries || u === b.HistogramSeries && !m || u === b.ComboLineAndBarSeries || (u === b.LineSeries || u === b.RadarSeries) && f === Fe.Stacked && !m ? (o = Math.min(T, 0), r = Math.max(w, 0)) : (o = T, r = w);
|
|
15533
15533
|
}
|
|
15534
15534
|
o = i ?? o, r = a ?? r;
|
|
@@ -15726,10 +15726,10 @@ function GA(t, e) {
|
|
|
15726
15726
|
const c = R(o.uid, "config"), d = R(o.uid, "isRotated"), f = !Sa(t.get("renderer"), d) ? 1 : 0, g = c?.axes?.[f]?.guides;
|
|
15727
15727
|
let p = n, y = s;
|
|
15728
15728
|
if (t instanceof bt) {
|
|
15729
|
-
let
|
|
15729
|
+
let F;
|
|
15730
15730
|
if (o !== void 0) {
|
|
15731
15731
|
const T = R(t.chart?.uid ?? Number.NaN, "formatLocale");
|
|
15732
|
-
|
|
15732
|
+
F = Vi({
|
|
15733
15733
|
root: t.root,
|
|
15734
15734
|
type: b.DateAxisFormat,
|
|
15735
15735
|
// iLocale: chart.language.locale, // TODO: iLocale
|
|
@@ -15737,12 +15737,12 @@ function GA(t, e) {
|
|
|
15737
15737
|
formatLocale: T
|
|
15738
15738
|
});
|
|
15739
15739
|
const w = c?.axes?.[0]?.valueFormat?.type === b.DateAxisFormat ? c.axes[0].valueFormat.intlOptions : void 0;
|
|
15740
|
-
p =
|
|
15740
|
+
p = F.format(n, w), s !== void 0 && (y = F.format(s, w));
|
|
15741
15741
|
}
|
|
15742
15742
|
} else if (t instanceof He && !(n instanceof Date) && !(s instanceof Date)) {
|
|
15743
|
-
const
|
|
15743
|
+
const F = g?.find((I) => I.name === a), { start: T, end: w } = wp(t, F);
|
|
15744
15744
|
Number.isFinite(T) && (p = T), Number.isFinite(w) && (y = w);
|
|
15745
|
-
const N = Za(t.uid, "numberFormatter") ?? ((
|
|
15745
|
+
const N = Za(t.uid, "numberFormatter") ?? ((I) => Kf.new(r, {}).format(I));
|
|
15746
15746
|
p = N(p), y !== void 0 && (y = N(y));
|
|
15747
15747
|
} else t instanceof Kt && (p = n, y = s);
|
|
15748
15748
|
const S = p.toString(), x = y?.toString() ?? "";
|
|
@@ -16290,15 +16290,15 @@ async function Sw(t) {
|
|
|
16290
16290
|
queryConfig: R(e.uid, "queryConfig")
|
|
16291
16291
|
});
|
|
16292
16292
|
p.minimum = x.minimum, p.maximum = x.maximum;
|
|
16293
|
-
const { min: C, max: v } = Ip(p),
|
|
16294
|
-
ss(y) ? (
|
|
16295
|
-
axisConfig:
|
|
16293
|
+
const { min: C, max: v } = Ip(p), F = { ...p };
|
|
16294
|
+
ss(y) ? (F.minimum = 0, F.maximum = 1, Dp({
|
|
16295
|
+
axisConfig: F,
|
|
16296
16296
|
axisMin: p.minimum,
|
|
16297
16297
|
axisMax: p.maximum
|
|
16298
|
-
})) : (
|
|
16298
|
+
})) : (F.minimum = C, F.maximum = v), await xd({
|
|
16299
16299
|
chartConfig: i,
|
|
16300
16300
|
axis: g,
|
|
16301
|
-
axisConfig:
|
|
16301
|
+
axisConfig: F,
|
|
16302
16302
|
externalAxisLabelFormatter: s,
|
|
16303
16303
|
utilsStrings: o,
|
|
16304
16304
|
errorStrings: r
|
|
@@ -16530,16 +16530,16 @@ async function xd(t) {
|
|
|
16530
16530
|
title: x,
|
|
16531
16531
|
labels: C,
|
|
16532
16532
|
isLogarithmic: v,
|
|
16533
|
-
grid:
|
|
16533
|
+
grid: F,
|
|
16534
16534
|
displayCursorTooltip: T,
|
|
16535
16535
|
displayZeroLine: w,
|
|
16536
16536
|
valueFormat: N,
|
|
16537
|
-
guides:
|
|
16538
|
-
tickSpacing:
|
|
16537
|
+
guides: I,
|
|
16538
|
+
tickSpacing: D,
|
|
16539
16539
|
dateBaseInterval: $
|
|
16540
16540
|
} = a, { root: M } = e, P = z(u.series), V = ni(u), W = u.rotated, G = e.get("renderer");
|
|
16541
16541
|
gs(e.uid, {
|
|
16542
|
-
zeroGridLine: { displayZeroLine: w, strokeWidth:
|
|
16542
|
+
zeroGridLine: { displayZeroLine: w, strokeWidth: F?.width ?? O.lineWidth, visible: F !== void 0 }
|
|
16543
16543
|
}), NA({ axis: e, isLogarithmic: v, isSecondValueAxis: d }), await kA({
|
|
16544
16544
|
axis: e,
|
|
16545
16545
|
isXAxis: Sa(e.get("renderer"), W),
|
|
@@ -16553,7 +16553,7 @@ async function xd(t) {
|
|
|
16553
16553
|
element: G,
|
|
16554
16554
|
lineSymbol: { color: [...O.color], ...S ?? Js() },
|
|
16555
16555
|
visible: y
|
|
16556
|
-
}), Qi({ element: G.ticks.template, lineSymbol: S, visible: y }), Qi({ element: G.grid.template, lineSymbol:
|
|
16556
|
+
}), Qi({ element: G.ticks.template, lineSymbol: S, visible: y }), Qi({ element: G.grid.template, lineSymbol: F, visible: y }), F === void 0 && (e.get("renderer").grid.template.set("strokeWidth", O.lineWidth), e.markDirtyValues()), lw({
|
|
16557
16557
|
axis: e,
|
|
16558
16558
|
axisConfig: a,
|
|
16559
16559
|
chartType: P,
|
|
@@ -16566,8 +16566,8 @@ async function xd(t) {
|
|
|
16566
16566
|
labelConfig: C,
|
|
16567
16567
|
horizontalAxisLabelsBehavior: s,
|
|
16568
16568
|
isSecondValueAxis: d,
|
|
16569
|
-
tickSpacing:
|
|
16570
|
-
}), MA({ root: M, axis: e, displayCursorTooltip: T }), ew({ axis: e, guideConfigs:
|
|
16569
|
+
tickSpacing: D
|
|
16570
|
+
}), MA({ root: M, axis: e, displayCursorTooltip: T }), ew({ axis: e, guideConfigs: I, guideTooltipFormatter: m, anyGuideAboveChanged: l, utilsStrings: g }), Tw({ axis: e, data: i, chartType: P });
|
|
16571
16571
|
}
|
|
16572
16572
|
async function ww(t) {
|
|
16573
16573
|
const { chart: e, errorStrings: i } = t, { root: a } = e, n = R(e.uid, "config");
|
|
@@ -16665,7 +16665,7 @@ async function Iw(t) {
|
|
|
16665
16665
|
verticalAxisLabelsBehavior: g,
|
|
16666
16666
|
axes: p,
|
|
16667
16667
|
rotated: y
|
|
16668
|
-
} = i, S = z(i.series), x = R(e.uid, "isNonAggregatedChart"), C = e.xAxes.getIndex(0), v = e.yAxes.getIndex(0),
|
|
16668
|
+
} = i, S = z(i.series), x = R(e.uid, "isNonAggregatedChart"), C = e.xAxes.getIndex(0), v = e.yAxes.getIndex(0), F = e.xAxes.getIndex(1) ?? e.yAxes.getIndex(1);
|
|
16669
16669
|
await tn({ chartType: S, axesConfig: p, errorStrings: f });
|
|
16670
16670
|
const T = p?.[y === !0 ? 1 : 0], w = p?.[y === !0 ? 0 : 1];
|
|
16671
16671
|
[
|
|
@@ -16680,18 +16680,18 @@ async function Iw(t) {
|
|
|
16680
16680
|
externalAxisLabelFormatter: y !== !0 ? l : r
|
|
16681
16681
|
},
|
|
16682
16682
|
{
|
|
16683
|
-
axis:
|
|
16683
|
+
axis: F,
|
|
16684
16684
|
axisConfig: p?.[2],
|
|
16685
16685
|
axisLabelFormatter: c,
|
|
16686
16686
|
isSecondValueAxis: !0
|
|
16687
16687
|
}
|
|
16688
16688
|
].forEach(async (N) => {
|
|
16689
|
-
const { axis:
|
|
16690
|
-
|
|
16691
|
-
axis:
|
|
16689
|
+
const { axis: I, axisConfig: D, externalAxisLabelFormatter: $, isSecondValueAxis: M } = N;
|
|
16690
|
+
I !== void 0 && !I.isDisposed() && D !== void 0 && await xd({
|
|
16691
|
+
axis: I,
|
|
16692
16692
|
data: s,
|
|
16693
16693
|
timeIntervalInfo: o,
|
|
16694
|
-
axisConfig:
|
|
16694
|
+
axisConfig: D,
|
|
16695
16695
|
horizontalAxisLabelsBehavior: m,
|
|
16696
16696
|
verticalAxisLabelsBehavior: g,
|
|
16697
16697
|
axisLabelsBehaviorChanged: a,
|
|
@@ -17297,7 +17297,7 @@ function Jw(t) {
|
|
|
17297
17297
|
}
|
|
17298
17298
|
function ek(t) {
|
|
17299
17299
|
const { chartConfig: e, seriesConfig: i } = t, a = mi(e), n = e.showOutliers, s = e.standardizeValues, o = Xe(e), { y: r } = i, l = Mr(e), c = H(l.series), d = o ? void 0 : i?.query?.where, u = {
|
|
17300
|
-
y: c ===
|
|
17300
|
+
y: c === L.BoxPlotMultiFieldsAndCategory && typeof r == "string" ? r : void 0,
|
|
17301
17301
|
chartSubType: c,
|
|
17302
17302
|
splitBy: d,
|
|
17303
17303
|
showOutliers: n,
|
|
@@ -17413,7 +17413,7 @@ function sk(t) {
|
|
|
17413
17413
|
seriesConfig: i,
|
|
17414
17414
|
key: Y.Average
|
|
17415
17415
|
}), d = re({
|
|
17416
|
-
y: a ===
|
|
17416
|
+
y: a === L.BoxPlotMultiFieldsAndCategory && typeof o == "string" ? o : void 0,
|
|
17417
17417
|
chartSubType: a,
|
|
17418
17418
|
splitBy: r,
|
|
17419
17419
|
showOutliers: n,
|
|
@@ -17567,7 +17567,7 @@ function hk(t) {
|
|
|
17567
17567
|
}
|
|
17568
17568
|
function Up(t) {
|
|
17569
17569
|
const { data: e, colorMatch: i, chartSubType: a, rendererType: n } = t;
|
|
17570
|
-
return e !== void 0 && i && n !== void 0 && (a ===
|
|
17570
|
+
return e !== void 0 && i && n !== void 0 && (a === L.BoxPlotMultiFields && (n === _t.UniqueValue || n === _t.PieChart) || a === L.BoxPlotMonoFieldAndCategory && n === _t.UniqueValue) && e.some(
|
|
17571
17571
|
(s) => Object.keys(s).some((o) => o.includes(k.rendererSymbolField))
|
|
17572
17572
|
);
|
|
17573
17573
|
}
|
|
@@ -17652,12 +17652,12 @@ function kl(t) {
|
|
|
17652
17652
|
}
|
|
17653
17653
|
function Zr(t) {
|
|
17654
17654
|
const { chartConfig: e, seriesConfig: i, key: a } = t, n = mi(e), s = e.showOutliers, o = e.standardizeValues, r = Xe(e), l = H(e.series), { x: c, y: d } = i, u = r ? void 0 : i?.query?.where, f = {
|
|
17655
|
-
y: l ===
|
|
17655
|
+
y: l === L.BoxPlotMultiFieldsAndCategory && typeof d == "string" ? d : void 0,
|
|
17656
17656
|
chartSubType: l,
|
|
17657
17657
|
splitBy: u,
|
|
17658
17658
|
showOutliers: s,
|
|
17659
17659
|
standardizeValues: Un(l) ? o : !1
|
|
17660
|
-
}, m = l ===
|
|
17660
|
+
}, m = l === L.BoxPlotMonoField || l === L.BoxPlotMultiFields || l === L.BoxPlotMonoFieldAndSplitBy || l === L.BoxPlotMultiFieldsAndSplitBy ? _s : c;
|
|
17661
17661
|
return {
|
|
17662
17662
|
dataFields: {
|
|
17663
17663
|
value: n ? "valueXField" : "valueYField",
|
|
@@ -17686,7 +17686,7 @@ function Yp(t, e) {
|
|
|
17686
17686
|
return { topStepLineSeries: i, medianStepLineSeries: a, bottomStepLineSeries: n };
|
|
17687
17687
|
}
|
|
17688
17688
|
function Xp(t) {
|
|
17689
|
-
return t !==
|
|
17689
|
+
return t !== L.BoxPlotMonoField && t !== L.BoxPlotMultiFields && t !== L.BoxPlotMonoFieldAndCategory;
|
|
17690
17690
|
}
|
|
17691
17691
|
function jp(t) {
|
|
17692
17692
|
const { chart: e, candleSeriesIndex: i, numberOfCandleStickSeries: a } = t;
|
|
@@ -18397,7 +18397,7 @@ function Cf(t, e) {
|
|
|
18397
18397
|
sliceFromConfig: x,
|
|
18398
18398
|
dataIndex: y,
|
|
18399
18399
|
colorMatch: d
|
|
18400
|
-
}),
|
|
18400
|
+
}), F = Ch({
|
|
18401
18401
|
dataContext: p,
|
|
18402
18402
|
sliceFromConfig: x,
|
|
18403
18403
|
isGroupOfSlices: C,
|
|
@@ -18409,20 +18409,20 @@ function Cf(t, e) {
|
|
|
18409
18409
|
utilsStrings: u
|
|
18410
18410
|
}), T = {
|
|
18411
18411
|
sliceId: S,
|
|
18412
|
-
label:
|
|
18412
|
+
label: F,
|
|
18413
18413
|
fillSymbol: v
|
|
18414
18414
|
};
|
|
18415
18415
|
T.originalLabel = x?.originalLabel ?? (p?.[O.originalCategoryValue] !== void 0 ? p?.[O.originalCategoryValue] : T.label), C ? (g = p[O.pieChart.technicalFieldGroupedSlices], r.sliceGrouping !== void 0 && (m = {
|
|
18416
18416
|
sliceId: r.sliceGrouping.sliceId,
|
|
18417
18417
|
percentageThreshold: r.sliceGrouping.percentageThreshold,
|
|
18418
|
-
label:
|
|
18419
|
-
originalLabel: r.sliceGrouping.originalLabel ??
|
|
18418
|
+
label: F,
|
|
18419
|
+
originalLabel: r.sliceGrouping.originalLabel ?? F,
|
|
18420
18420
|
fillSymbol: v
|
|
18421
18421
|
})) : f.push(T);
|
|
18422
18422
|
}), { slices: f, groupOfSlicesSymbols: m, groupOfSlices: g };
|
|
18423
18423
|
}
|
|
18424
18424
|
async function Qp(t) {
|
|
18425
|
-
const { data: e } = t, i = e && "dataItems" in e ? e.dataItems : [], { root: a, chartConfig: n, queryObject: s, usePopupTemplateFieldsInfo: o, labelUpdateNeeded: r, utilsStrings: l } = t, c = n.series[0], { x: d } = c, u = !$c({ chartConfig: n }), m = H([c]) ===
|
|
18425
|
+
const { data: e } = t, i = e && "dataItems" in e ? e.dataItems : [], { root: a, chartConfig: n, queryObject: s, usePopupTemplateFieldsInfo: o, labelUpdateNeeded: r, utilsStrings: l } = t, c = n.series[0], { x: d } = c, u = !$c({ chartConfig: n }), m = H([c]) === L.PieFromFields, p = Le(s).objectIdField, y = await xt(s, o), S = {
|
|
18426
18426
|
root: a,
|
|
18427
18427
|
x: d,
|
|
18428
18428
|
isNonAggregatedChart: u,
|
|
@@ -18436,10 +18436,10 @@ async function Qp(t) {
|
|
|
18436
18436
|
}, { slices: x, groupOfSlicesSymbols: C, groupOfSlices: v } = Cf(
|
|
18437
18437
|
i,
|
|
18438
18438
|
S
|
|
18439
|
-
), { slices:
|
|
18439
|
+
), { slices: F } = Cf(v ?? [], S);
|
|
18440
18440
|
return {
|
|
18441
18441
|
slices: x,
|
|
18442
|
-
groupedSlices:
|
|
18442
|
+
groupedSlices: F,
|
|
18443
18443
|
groupOfSlices: C
|
|
18444
18444
|
};
|
|
18445
18445
|
}
|
|
@@ -18485,11 +18485,11 @@ function Zk(t) {
|
|
|
18485
18485
|
seriesWereReinitialized: o,
|
|
18486
18486
|
loaderHandle: r,
|
|
18487
18487
|
labelUpdateNeeded: l
|
|
18488
|
-
} = t, { x: c, y: d } = a, u = H([a]), f = u ===
|
|
18488
|
+
} = t, { x: c, y: d } = a, u = H([a]), f = u === L.PieFromFields ? nt : c;
|
|
18489
18489
|
if (i && (n === !0 || o === !0 || s === !0))
|
|
18490
18490
|
e.setAll({
|
|
18491
18491
|
categoryField: f,
|
|
18492
|
-
valueField: u ===
|
|
18492
|
+
valueField: u === L.PieFromFields ? zt : d
|
|
18493
18493
|
}), e.events.once(pe.DataValidated, () => {
|
|
18494
18494
|
r.hideLoader();
|
|
18495
18495
|
}), e.data.setAll(i.dataItems);
|
|
@@ -18516,8 +18516,8 @@ function Jk(t) {
|
|
|
18516
18516
|
const { root: e, seriesConfig: i, options: a, chart: n } = t, { id: s, name: o, x: r, y: l } = i, c = H([i]), d = Gt.new(e, {
|
|
18517
18517
|
id: s,
|
|
18518
18518
|
name: o,
|
|
18519
|
-
categoryField: c ===
|
|
18520
|
-
valueField: c ===
|
|
18519
|
+
categoryField: c === L.PieFromFields ? nt : r,
|
|
18520
|
+
valueField: c === L.PieFromFields ? zt : l
|
|
18521
18521
|
});
|
|
18522
18522
|
return Gk(d), np(d), d.slices.template.states.create("hover", {
|
|
18523
18523
|
scale: 1,
|
|
@@ -18582,14 +18582,14 @@ function tI(t, e) {
|
|
|
18582
18582
|
dataLabelsInside: g
|
|
18583
18583
|
} = c[0];
|
|
18584
18584
|
if (m?.visible === !0 && u === !0 && d === !0 && g !== !0) {
|
|
18585
|
-
const S = O.pieChart.chartOptimizedRadius / 100, x = 500, C = 150, v = 0.6,
|
|
18585
|
+
const S = O.pieChart.chartOptimizedRadius / 100, x = 500, C = 150, v = 0.6, F = 0.5, T = 1, w = t.chartContainer.width() - f * 2, N = Math.max(w - C, 0) / (x - C), I = N < 1 ? (
|
|
18586
18586
|
// case 1: the container width is less than the radiusContainerWidthBreakpoint - we want to scale the radius down.
|
|
18587
18587
|
Math.max(N ** T * v, 0.4)
|
|
18588
18588
|
) : (
|
|
18589
18589
|
// case 2: the container width is at or more than the radiusContainerWidthBreakpoint - ramp up radius to the max radius
|
|
18590
|
-
Math.min(N **
|
|
18590
|
+
Math.min(N ** F * v, S)
|
|
18591
18591
|
);
|
|
18592
|
-
s = It(
|
|
18592
|
+
s = It(I * 100);
|
|
18593
18593
|
} else
|
|
18594
18594
|
s = It(O.pieChart.chartRadius);
|
|
18595
18595
|
n.value.toFixed(1) !== s.value.toFixed(1) && (be(t.uid, { pieChartRadius: s.percent }), Il && clearTimeout(Il), Il = nd(() => {
|
|
@@ -18861,12 +18861,12 @@ async function Qr(t) {
|
|
|
18861
18861
|
errorStrings: S,
|
|
18862
18862
|
groupOfSlicesUpdateNeeded: x,
|
|
18863
18863
|
labelUpdateNeeded: C
|
|
18864
|
-
} = t, { chartRenderer: v } = i, { root:
|
|
18865
|
-
root:
|
|
18864
|
+
} = t, { chartRenderer: v } = i, { root: F } = e, { series: T } = i, w = z(i.series), N = H(i.series), I = e.series.values, D = Ei(i), $ = i.series.length, M = /* @__PURE__ */ new Map(), P = vr(g), V = await xt(g, a?.usePopupTemplateFieldsInfo), W = Le(g), G = lo(v, W.renderer), q = l || o || r || c, _ = {
|
|
18865
|
+
root: F,
|
|
18866
18866
|
chartConfig: i,
|
|
18867
18867
|
queryObject: g,
|
|
18868
18868
|
options: a,
|
|
18869
|
-
colorMatch:
|
|
18869
|
+
colorMatch: D,
|
|
18870
18870
|
dataWasUpdated: o,
|
|
18871
18871
|
sortChanged: r,
|
|
18872
18872
|
seriesWereReinitialized: l,
|
|
@@ -18890,7 +18890,7 @@ async function Qr(t) {
|
|
|
18890
18890
|
};
|
|
18891
18891
|
for (let te = 0; te < T.length; te++) {
|
|
18892
18892
|
const j = T[te];
|
|
18893
|
-
let Q =
|
|
18893
|
+
let Q = I[te];
|
|
18894
18894
|
const Te = j.type;
|
|
18895
18895
|
switch (!0) {
|
|
18896
18896
|
case w === b.HeatChartSeries: {
|
|
@@ -18903,7 +18903,7 @@ async function Qr(t) {
|
|
|
18903
18903
|
break;
|
|
18904
18904
|
}
|
|
18905
18905
|
case w === b.BoxPlotSeries: {
|
|
18906
|
-
Q =
|
|
18906
|
+
Q = I.find((lt) => lt.get("id") === j.id), e instanceof we && (Q instanceof xn || Q instanceof ke) && (Te === b.BoxPlotSeries || Te === b.LineSeries) && Lk({
|
|
18907
18907
|
...ee,
|
|
18908
18908
|
chart: e,
|
|
18909
18909
|
series: Q,
|
|
@@ -18920,7 +18920,7 @@ async function Qr(t) {
|
|
|
18920
18920
|
Q instanceof ut && e instanceof we && rS(n) && await sA({
|
|
18921
18921
|
...ee,
|
|
18922
18922
|
series: Q,
|
|
18923
|
-
allChartSeries:
|
|
18923
|
+
allChartSeries: I,
|
|
18924
18924
|
data: n,
|
|
18925
18925
|
seriesIndex: te,
|
|
18926
18926
|
seriesConfig: j,
|
|
@@ -19010,7 +19010,7 @@ function Fd(t) {
|
|
|
19010
19010
|
return m[Qt.defaultGroupOfSlicesId] === !0 && (l = m, g = !1), g;
|
|
19011
19011
|
});
|
|
19012
19012
|
if (o > 0 && r.length > 0) {
|
|
19013
|
-
const m = c / s * 100, g = H(i) ===
|
|
19013
|
+
const m = c / s * 100, g = H(i) === L.PieFromFields, p = {
|
|
19014
19014
|
...l,
|
|
19015
19015
|
[Qt.defaultGroupOfSlicesId]: !0,
|
|
19016
19016
|
[g ? nt : n.x]: n.sliceGrouping?.label ?? a?.pieChart.defaultSliceGroupingLabel,
|
|
@@ -19191,7 +19191,7 @@ function iy(t) {
|
|
|
19191
19191
|
case b.LineSeries: {
|
|
19192
19192
|
o.series.forEach((f) => {
|
|
19193
19193
|
let m = "";
|
|
19194
|
-
"y" in f && (m = Array.isArray(f.y) ? f.y[0] : f.y, c ===
|
|
19194
|
+
"y" in f && (m = Array.isArray(f.y) ? f.y[0] : f.y, c === L.BarAndLineSplitByNoAggregation && (m = `${m}_${At({ where: f.query?.where })}`), Array.isArray(i) && i.some(
|
|
19195
19195
|
(p) => vc({ dataItem: p, x: f.x, y: m })
|
|
19196
19196
|
) && d.add(f));
|
|
19197
19197
|
});
|
|
@@ -19349,8 +19349,8 @@ async function FI(t) {
|
|
|
19349
19349
|
labelUpdateNeeded: C,
|
|
19350
19350
|
usePopupTemplateFieldsInfo: c?.usePopupTemplateFieldsInfo,
|
|
19351
19351
|
utilsStrings: f
|
|
19352
|
-
}),
|
|
19353
|
-
Gr({ data:
|
|
19352
|
+
}), F = S && "dataItems" in S ? S.dataItems : [];
|
|
19353
|
+
Gr({ data: F, newChartConfig: i, pieSlicesSymbols: v }), await Qr({
|
|
19354
19354
|
chart: e,
|
|
19355
19355
|
chartConfig: i,
|
|
19356
19356
|
options: c,
|
|
@@ -19400,14 +19400,14 @@ async function LI(t) {
|
|
|
19400
19400
|
errorStrings: C
|
|
19401
19401
|
} = t;
|
|
19402
19402
|
let { axisLabelsBehaviorChanged: v } = t;
|
|
19403
|
-
const
|
|
19403
|
+
const F = IA({
|
|
19404
19404
|
chart: e,
|
|
19405
19405
|
chartConfig: i,
|
|
19406
19406
|
rotationChanged: f,
|
|
19407
19407
|
axisLabelsBehaviorChanged: v,
|
|
19408
19408
|
timeIntervalInfoWasReset: y
|
|
19409
|
-
}), T =
|
|
19410
|
-
|
|
19409
|
+
}), T = F || xA({ chart: e, chartConfig: i, updateNeededDetails: o, seriesFilteredOut: l });
|
|
19410
|
+
F && (await Mp({ chart: e, chartConfig: i, errorStrings: C }), v = [!0, !0]), T && (e.series.clear(), await vd({ chart: e, chartConfig: i, options: d, utilsStrings: x })), await $p({
|
|
19411
19411
|
chart: e,
|
|
19412
19412
|
chartConfig: i,
|
|
19413
19413
|
queryObject: u,
|
|
@@ -19464,22 +19464,22 @@ async function TI(t) {
|
|
|
19464
19464
|
})), S = await $s(S, g);
|
|
19465
19465
|
const v = x === void 0;
|
|
19466
19466
|
x ??= S;
|
|
19467
|
-
const
|
|
19467
|
+
const F = await Ac({
|
|
19468
19468
|
input: S,
|
|
19469
19469
|
queryObject: g,
|
|
19470
19470
|
allowUsingObjectIdStat: l?.allowUsingObjectIdStat
|
|
19471
19471
|
});
|
|
19472
|
-
if (
|
|
19472
|
+
if (F.valid) {
|
|
19473
19473
|
x !== void 0 && Ym(x, S) && (S = Br(S, f.dom));
|
|
19474
19474
|
const T = H(S.series), w = z(S.series), N = Rs(R(e.uid, "queryObject"));
|
|
19475
|
-
let
|
|
19476
|
-
(g !== void 0 || _i(S)) && (
|
|
19477
|
-
const
|
|
19475
|
+
let I = i;
|
|
19476
|
+
(g !== void 0 || _i(S)) && (I = await Yn({ layer: g, view: p, chartConfig: S }), be(e.uid, { queryObject: I }));
|
|
19477
|
+
const D = mi(S), $ = R(e.uid, "filterBySelection"), M = R(e.uid, "seriesFilteredOut"), P = R(e.uid, "unfilteredConfig");
|
|
19478
19478
|
be(e.uid, {
|
|
19479
19479
|
config: ze(S),
|
|
19480
19480
|
options: l,
|
|
19481
19481
|
isNonAggregatedChart: !mn(T),
|
|
19482
|
-
isRotated:
|
|
19482
|
+
isRotated: D,
|
|
19483
19483
|
filterBySelection: l?.filterBySelection
|
|
19484
19484
|
}), Hw(e, l);
|
|
19485
19485
|
let { dataUpdateNeeded: V, updateNeededDetails: W } = Or({
|
|
@@ -19493,7 +19493,7 @@ async function TI(t) {
|
|
|
19493
19493
|
currentSelectionOIDs: R(e.uid, "currentSelectionOIDs"),
|
|
19494
19494
|
currentSelectionIndexes: R(e.uid, "currentSelectionIndexes")
|
|
19495
19495
|
});
|
|
19496
|
-
const G = Rs(
|
|
19496
|
+
const G = Rs(I);
|
|
19497
19497
|
V = V || N !== G;
|
|
19498
19498
|
const q = Ex(x, S), _ = Gm(x, S), ee = Pm(x, S), te = pI(x, S), j = Rc(x, S), Q = Hx(x, S), Te = qm(x, S), lt = Vc({
|
|
19499
19499
|
oldConfig: M ? P : x,
|
|
@@ -19510,7 +19510,7 @@ async function TI(t) {
|
|
|
19510
19510
|
const ji = await xt(i, y);
|
|
19511
19511
|
wi = await fs({
|
|
19512
19512
|
chartConfig: S,
|
|
19513
|
-
queryObject:
|
|
19513
|
+
queryObject: I,
|
|
19514
19514
|
options: l,
|
|
19515
19515
|
currentSelectionDataItems: R(e.uid, "currentSelectionDataItems"),
|
|
19516
19516
|
binnedServerData: R(e.uid, "binnedServerData"),
|
|
@@ -19544,7 +19544,7 @@ async function TI(t) {
|
|
|
19544
19544
|
hideEmptySeries: l?.hideEmptySeries
|
|
19545
19545
|
}));
|
|
19546
19546
|
}
|
|
19547
|
-
const oe = wi?.data ?? R(e.uid, "data"), Be = Wi(oe), Ct = await xt(
|
|
19547
|
+
const oe = wi?.data ?? R(e.uid, "data"), Be = Wi(oe), Ct = await xt(I, l?.usePopupTemplateFieldsInfo), ct = e instanceof Ki ? vh(
|
|
19548
19548
|
Ne,
|
|
19549
19549
|
yi
|
|
19550
19550
|
) : !1;
|
|
@@ -19566,7 +19566,7 @@ async function TI(t) {
|
|
|
19566
19566
|
S.series.forEach((ji, la) => {
|
|
19567
19567
|
Na.set(ji.id, la);
|
|
19568
19568
|
});
|
|
19569
|
-
const Cs = nn({ chartConfig: S, queryObject:
|
|
19569
|
+
const Cs = nn({ chartConfig: S, queryObject: I }), Xd = Xe(S), jd = iy({
|
|
19570
19570
|
chart: e,
|
|
19571
19571
|
data: Xd ? oe : Be,
|
|
19572
19572
|
config: S,
|
|
@@ -19576,7 +19576,7 @@ async function TI(t) {
|
|
|
19576
19576
|
const ji = await ms({
|
|
19577
19577
|
data: Xd && "meanLines" in oe && oe.meanLines !== void 0 ? oe.meanLines : oe.dataItems,
|
|
19578
19578
|
chartConfig: S,
|
|
19579
|
-
queryObject:
|
|
19579
|
+
queryObject: I,
|
|
19580
19580
|
allowColorMatch: Cs
|
|
19581
19581
|
});
|
|
19582
19582
|
oe.dataItems = ji.dataItems, be(e.uid, {
|
|
@@ -19600,7 +19600,7 @@ async function TI(t) {
|
|
|
19600
19600
|
slicesConfigChangedSinceLastUpdate: Xt,
|
|
19601
19601
|
chartRendererChanged: j,
|
|
19602
19602
|
sortChanged: lt,
|
|
19603
|
-
queryObject:
|
|
19603
|
+
queryObject: I,
|
|
19604
19604
|
seriesConfig: S.series,
|
|
19605
19605
|
loaderHandle: s,
|
|
19606
19606
|
colorMatchChanged: ee,
|
|
@@ -19638,7 +19638,7 @@ async function TI(t) {
|
|
|
19638
19638
|
seriesStyleChanged: te,
|
|
19639
19639
|
timeZoneChanged: Q,
|
|
19640
19640
|
timeIntervalInfoWasReset: Te,
|
|
19641
|
-
queryObject:
|
|
19641
|
+
queryObject: I,
|
|
19642
19642
|
loaderHandle: s,
|
|
19643
19643
|
utilsStrings: d,
|
|
19644
19644
|
errorStrings: u
|
|
@@ -19656,10 +19656,10 @@ async function TI(t) {
|
|
|
19656
19656
|
chartModal: n,
|
|
19657
19657
|
chartConfig: S,
|
|
19658
19658
|
createMessage: m,
|
|
19659
|
-
status:
|
|
19659
|
+
status: F,
|
|
19660
19660
|
errorStrings: u
|
|
19661
19661
|
});
|
|
19662
|
-
an(
|
|
19662
|
+
an(F, f.dom);
|
|
19663
19663
|
}
|
|
19664
19664
|
async function AI(t) {
|
|
19665
19665
|
const { chart: e, data: i, chartConfig: a, options: n, queryObject: s, loaderHandle: o, utilsStrings: r, errorStrings: l } = t;
|
|
@@ -19771,13 +19771,13 @@ async function kI(t) {
|
|
|
19771
19771
|
});
|
|
19772
19772
|
if (x.valid && !g.isDisposed()) {
|
|
19773
19773
|
u = Br(u, e), y.showLoader(a?.hideLoaderAnimation !== !0);
|
|
19774
|
-
const v = y.hideLoader,
|
|
19774
|
+
const v = y.hideLoader, F = H(u.series), T = mi(u);
|
|
19775
19775
|
be(g.uid, {
|
|
19776
19776
|
options: a,
|
|
19777
19777
|
filterBySelection: a?.filterBySelection,
|
|
19778
19778
|
config: u,
|
|
19779
19779
|
queryObject: f,
|
|
19780
|
-
isNonAggregatedChart: !mn(
|
|
19780
|
+
isNonAggregatedChart: !mn(F),
|
|
19781
19781
|
isRotated: T
|
|
19782
19782
|
}), Ep({ root: m, chart: g, config: u }), Wp({
|
|
19783
19783
|
root: m,
|
|
@@ -19785,10 +19785,10 @@ async function kI(t) {
|
|
|
19785
19785
|
cursorCrosshair: u.cursorCrosshair,
|
|
19786
19786
|
config: u
|
|
19787
19787
|
});
|
|
19788
|
-
const { title: w, subtitle: N, footer:
|
|
19789
|
-
$w(m, g), zp(g, { title: w, subtitle: N }), Pw(g), Hp(g,
|
|
19790
|
-
const
|
|
19791
|
-
be(g.uid, { fieldList:
|
|
19788
|
+
const { title: w, subtitle: N, footer: I } = u;
|
|
19789
|
+
$w(m, g), zp(g, { title: w, subtitle: N }), Pw(g), Hp(g, I), Dw(m, g), Pp(g, u.background);
|
|
19790
|
+
const D = await xt(f, a?.usePopupTemplateFieldsInfo);
|
|
19791
|
+
be(g.uid, { fieldList: D });
|
|
19792
19792
|
const {
|
|
19793
19793
|
data: $,
|
|
19794
19794
|
queryConfig: M,
|
|
@@ -19799,7 +19799,7 @@ async function kI(t) {
|
|
|
19799
19799
|
chartConfig: u,
|
|
19800
19800
|
queryObject: f,
|
|
19801
19801
|
options: a,
|
|
19802
|
-
fieldList:
|
|
19802
|
+
fieldList: D,
|
|
19803
19803
|
errorStrings: o,
|
|
19804
19804
|
abortKey: tp(g)
|
|
19805
19805
|
});
|
|
@@ -19846,7 +19846,7 @@ async function kI(t) {
|
|
|
19846
19846
|
}
|
|
19847
19847
|
be(g.uid, { queryConfig: M, initialized: P, elementCount: W, data: $ });
|
|
19848
19848
|
const ee = H(u.series);
|
|
19849
|
-
z(u.series) === b.BoxPlotSeries && ee !==
|
|
19849
|
+
z(u.series) === b.BoxPlotSeries && ee !== L.BoxPlotMonoField && ee !== L.BoxPlotMonoFieldAndSplitBy && (ra({ arrayToSort: q, chartConfig: u, fieldList: D }), _p({
|
|
19850
19850
|
chart: g,
|
|
19851
19851
|
chartData: q,
|
|
19852
19852
|
chartConfig: u
|
|
@@ -19899,12 +19899,12 @@ async function kI(t) {
|
|
|
19899
19899
|
p === void 0 && (p = tf(g, v.newChartConfig.series)), await TI({ chart: g, queryObject: f, legend: p, chartModal: S, loaderHandle: y, updateProps: v });
|
|
19900
19900
|
},
|
|
19901
19901
|
dispose: () => SI(m),
|
|
19902
|
-
notify: (v,
|
|
19902
|
+
notify: (v, F, T) => hI({ chartModal: S, chart: g, message: v, heading: F, options: T }),
|
|
19903
19903
|
resetZoom: C,
|
|
19904
19904
|
clearSelection: () => Qa({ chart: g }),
|
|
19905
19905
|
switchSelection: async () => await mI(g),
|
|
19906
19906
|
exportImage: async (v) => await VL({ root: m, exportOptions: v }),
|
|
19907
|
-
setActionMode: (v,
|
|
19907
|
+
setActionMode: (v, F) => nc({ chart: g, actionMode: v, cursorRange: F })
|
|
19908
19908
|
};
|
|
19909
19909
|
}
|
|
19910
19910
|
const cr = /* @__PURE__ */ new Map();
|
|
@@ -20135,11 +20135,11 @@ function ay(t) {
|
|
|
20135
20135
|
else if (s !== void 0) {
|
|
20136
20136
|
const d = H(r?.series);
|
|
20137
20137
|
if ([
|
|
20138
|
-
|
|
20139
|
-
|
|
20140
|
-
|
|
20141
|
-
|
|
20142
|
-
|
|
20138
|
+
L.BoxPlotMonoField,
|
|
20139
|
+
L.BoxPlotMultiFields,
|
|
20140
|
+
L.BoxPlotMonoFieldAndSplitBy,
|
|
20141
|
+
L.BoxPlotMultiFieldsAndSplitBy,
|
|
20142
|
+
L.BarAndLineFromFields
|
|
20143
20143
|
].includes(d) && typeof c == "string") {
|
|
20144
20144
|
const m = B(e.chart.uid, "fieldList");
|
|
20145
20145
|
c = We(m, c);
|
|
@@ -21120,19 +21120,19 @@ function pD(t, e) {
|
|
|
21120
21120
|
const a = St(e.series), n = H(e.series), s = oa(e);
|
|
21121
21121
|
t.data.forEach((o) => {
|
|
21122
21122
|
switch (n) {
|
|
21123
|
-
case
|
|
21124
|
-
case
|
|
21125
|
-
case
|
|
21123
|
+
case L.BoxPlotMonoField:
|
|
21124
|
+
case L.BoxPlotMultiFields:
|
|
21125
|
+
case L.BoxPlotMonoFieldAndCategory:
|
|
21126
21126
|
Dl({ dataItem: o, showOutliers: s }) && (i += 1);
|
|
21127
21127
|
break;
|
|
21128
|
-
case
|
|
21128
|
+
case L.BoxPlotMultiFieldsAndCategory:
|
|
21129
21129
|
a.forEach((r) => {
|
|
21130
21130
|
Dl({ dataItem: o, y: r, showOutliers: s }) && (i += 1);
|
|
21131
21131
|
});
|
|
21132
21132
|
break;
|
|
21133
|
-
case
|
|
21134
|
-
case
|
|
21135
|
-
case
|
|
21133
|
+
case L.BoxPlotMonoFieldAndSplitBy:
|
|
21134
|
+
case L.BoxPlotMultiFieldsAndSplitBy:
|
|
21135
|
+
case L.BoxPlotMonoFieldAndCategoryAndSplitBy:
|
|
21136
21136
|
e.series.forEach((r) => {
|
|
21137
21137
|
Dl({ dataItem: o, splitBy: r.query?.where, showOutliers: s }) && (i += 1);
|
|
21138
21138
|
});
|
|
@@ -21460,7 +21460,7 @@ async function Ay(t) {
|
|
|
21460
21460
|
chartConfig: o
|
|
21461
21461
|
};
|
|
21462
21462
|
let C;
|
|
21463
|
-
f instanceof st || f instanceof ft ? (C = f.columns?.values, p === b.HistogramSeries && (x.xAxisField = S)) : f instanceof Jt ? C = f.segments.values : f instanceof Se && (C = Ue(f)?.clones?.values, x.uniqueFeature = !0), C !== void 0 && (c = [...c, ...C], C.forEach((v,
|
|
21463
|
+
f instanceof st || f instanceof ft ? (C = f.columns?.values, p === b.HistogramSeries && (x.xAxisField = S)) : f instanceof Jt ? C = f.segments.values : f instanceof Se && (C = Ue(f)?.clones?.values, x.uniqueFeature = !0), C !== void 0 && (c = [...c, ...C], C.forEach((v, F) => {
|
|
21464
21464
|
if (!(v.dataItem instanceof Ja)) {
|
|
21465
21465
|
const T = v.isActive, w = v === s || xD(v, i);
|
|
21466
21466
|
w && (d = !1);
|
|
@@ -21469,7 +21469,7 @@ async function Ay(t) {
|
|
|
21469
21469
|
...x,
|
|
21470
21470
|
element: v,
|
|
21471
21471
|
elementDataContext: v.dataItem?.dataContext,
|
|
21472
|
-
elementIndex:
|
|
21472
|
+
elementIndex: F
|
|
21473
21473
|
}), Ai({ element: v, selected: N });
|
|
21474
21474
|
}
|
|
21475
21475
|
}));
|
|
@@ -21851,16 +21851,16 @@ function VD(t) {
|
|
|
21851
21851
|
if (g === !1 || p === !1)
|
|
21852
21852
|
u = () => "";
|
|
21853
21853
|
else {
|
|
21854
|
-
const y = m.axes, S = y[0].valueFormat, x = y[1].valueFormat, C = H(m.series), v = ni(m) === Fe.Stacked100,
|
|
21854
|
+
const y = m.axes, S = y[0].valueFormat, x = y[1].valueFormat, C = H(m.series), v = ni(m) === Fe.Stacked100, F = Le(a)?.objectIdField, T = We(i, o.x), w = ia(T, y[0].title?.content.text), N = ep({
|
|
21855
21855
|
config: m,
|
|
21856
21856
|
fieldList: i,
|
|
21857
|
-
objectIdField:
|
|
21857
|
+
objectIdField: F,
|
|
21858
21858
|
seriesIndex: s,
|
|
21859
21859
|
utilsStrings: r,
|
|
21860
21860
|
isStacked100: v
|
|
21861
|
-
}),
|
|
21862
|
-
u = (
|
|
21863
|
-
const { statValue: $, percentValue: M, xValue: P, dateBinningRange: V } =
|
|
21861
|
+
}), I = oi(f.rtl);
|
|
21862
|
+
u = (D) => {
|
|
21863
|
+
const { statValue: $, percentValue: M, xValue: P, dateBinningRange: V } = D, W = Iy({
|
|
21864
21864
|
seriesConfig: o,
|
|
21865
21865
|
xAxisValueFormat: S,
|
|
21866
21866
|
dataTooltipValueFormat: l,
|
|
@@ -21877,36 +21877,36 @@ function VD(t) {
|
|
|
21877
21877
|
series: e,
|
|
21878
21878
|
statValue: $,
|
|
21879
21879
|
percentValue: M
|
|
21880
|
-
}), _ = [`<b>${w}${
|
|
21880
|
+
}), _ = [`<b>${w}${I} </b>${W}`];
|
|
21881
21881
|
switch (C) {
|
|
21882
|
-
case
|
|
21882
|
+
case L.BarAndLineFromFields: {
|
|
21883
21883
|
_.pop();
|
|
21884
21884
|
const ee = Jh({
|
|
21885
21885
|
config: m,
|
|
21886
21886
|
fieldName: We(i, W ?? ""),
|
|
21887
21887
|
utilsStrings: r
|
|
21888
21888
|
});
|
|
21889
|
-
_.push(`<b>${ee}${
|
|
21889
|
+
_.push(`<b>${ee}${I} </b>${G}`);
|
|
21890
21890
|
break;
|
|
21891
21891
|
}
|
|
21892
|
-
case
|
|
21893
|
-
case
|
|
21894
|
-
case
|
|
21895
|
-
_.push(`<b>${N}${
|
|
21892
|
+
case L.BarAndLineMonoField:
|
|
21893
|
+
case L.BarAndLineNoAggregation:
|
|
21894
|
+
case L.BarAndLineMultiFields:
|
|
21895
|
+
_.push(`<b>${N}${I} </b>${G}`);
|
|
21896
21896
|
break;
|
|
21897
|
-
case
|
|
21898
|
-
case
|
|
21897
|
+
case L.BarAndLineSplitByNoAggregation:
|
|
21898
|
+
case L.BarAndLineSplitBy:
|
|
21899
21899
|
{
|
|
21900
21900
|
const ee = Ze(o.query?.where, !1), te = rm({
|
|
21901
21901
|
value: We(i, ee)
|
|
21902
21902
|
});
|
|
21903
21903
|
_.push(
|
|
21904
|
-
`<b>${te}${
|
|
21904
|
+
`<b>${te}${I} </b>${e.name}<br /><b>${N}${I} </b>${G}`
|
|
21905
21905
|
);
|
|
21906
21906
|
}
|
|
21907
21907
|
break;
|
|
21908
21908
|
}
|
|
21909
|
-
return v && _.push(`<b>${r.statistics.percent}${
|
|
21909
|
+
return v && _.push(`<b>${r.statistics.percent}${I} </b>${q}`), _.join("<br />");
|
|
21910
21910
|
};
|
|
21911
21911
|
}
|
|
21912
21912
|
}
|
|
@@ -22137,19 +22137,19 @@ function YD(t) {
|
|
|
22137
22137
|
a.x !== _s && (S = ia(y, c?.[0].title?.content.text));
|
|
22138
22138
|
const x = oi(r.rtl);
|
|
22139
22139
|
o = (C) => {
|
|
22140
|
-
const { dataContext: v, xValue:
|
|
22140
|
+
const { dataContext: v, xValue: F } = C, T = Iy({
|
|
22141
22141
|
seriesConfig: a,
|
|
22142
22142
|
xAxisValueFormat: d,
|
|
22143
22143
|
series: e,
|
|
22144
|
-
xValue:
|
|
22145
|
-
}), w = [], N = T !== void 0 && !cn(T) ? We(i, T) : "",
|
|
22144
|
+
xValue: F
|
|
22145
|
+
}), w = [], N = T !== void 0 && !cn(T) ? We(i, T) : "", I = u === !0 ? [l.series[0].y].flat()[0] : [a.y].flat()[0], D = We(i, I);
|
|
22146
22146
|
switch (f) {
|
|
22147
|
-
case
|
|
22148
|
-
case
|
|
22149
|
-
case
|
|
22150
|
-
case
|
|
22147
|
+
case L.BoxPlotMonoField:
|
|
22148
|
+
case L.BoxPlotMultiFields:
|
|
22149
|
+
case L.BoxPlotMonoFieldAndSplitBy:
|
|
22150
|
+
case L.BoxPlotMultiFieldsAndSplitBy: {
|
|
22151
22151
|
if (T !== void 0 && !cn(T)) {
|
|
22152
|
-
const G = f ===
|
|
22152
|
+
const G = f === L.BoxPlotMonoField ? a.name ?? N : N;
|
|
22153
22153
|
w.push(
|
|
22154
22154
|
$a({
|
|
22155
22155
|
label: n.field,
|
|
@@ -22167,13 +22167,13 @@ function YD(t) {
|
|
|
22167
22167
|
);
|
|
22168
22168
|
break;
|
|
22169
22169
|
}
|
|
22170
|
-
case
|
|
22171
|
-
case
|
|
22170
|
+
case L.BoxPlotMonoFieldAndCategory:
|
|
22171
|
+
case L.BoxPlotMultiFieldsAndCategory: {
|
|
22172
22172
|
w.push(
|
|
22173
22173
|
$a({
|
|
22174
22174
|
label: n.field,
|
|
22175
22175
|
strongColon: x,
|
|
22176
|
-
value: a.name ??
|
|
22176
|
+
value: a.name ?? D
|
|
22177
22177
|
})
|
|
22178
22178
|
), T !== void 0 && !cn(T) && w.push(
|
|
22179
22179
|
$a({
|
|
@@ -22184,12 +22184,12 @@ function YD(t) {
|
|
|
22184
22184
|
);
|
|
22185
22185
|
break;
|
|
22186
22186
|
}
|
|
22187
|
-
case
|
|
22187
|
+
case L.BoxPlotMonoFieldAndCategoryAndSplitBy:
|
|
22188
22188
|
w.push(
|
|
22189
22189
|
$a({
|
|
22190
22190
|
label: n.field,
|
|
22191
22191
|
strongColon: x,
|
|
22192
|
-
value:
|
|
22192
|
+
value: D
|
|
22193
22193
|
})
|
|
22194
22194
|
), T !== void 0 && !cn(T) && w.push(
|
|
22195
22195
|
$a({
|
|
@@ -22206,7 +22206,7 @@ function YD(t) {
|
|
|
22206
22206
|
);
|
|
22207
22207
|
break;
|
|
22208
22208
|
}
|
|
22209
|
-
const $ = [
|
|
22209
|
+
const $ = [L.BoxPlotMultiFieldsAndCategory], M = v[A.boxPlot.boxPlotMeanLineMarkerId] !== void 0, P = w.length > 0 && !M, V = UD({
|
|
22210
22210
|
dataContext: v,
|
|
22211
22211
|
series: e,
|
|
22212
22212
|
dataTooltipValueFormat: s,
|
|
@@ -22318,8 +22318,8 @@ function Bd(t) {
|
|
|
22318
22318
|
return (y, S, x) => {
|
|
22319
22319
|
let C = "";
|
|
22320
22320
|
if (S !== void 0 && x !== void 0) {
|
|
22321
|
-
const v = `${r ?? ""}${f.format(S)}${l ?? ""}`,
|
|
22322
|
-
Number.isFinite(S) ? s === !0 && o === !0 ? C = `${
|
|
22321
|
+
const v = `${r ?? ""}${f.format(S)}${l ?? ""}`, F = `${c ?? ""}${m.format(Math.abs(x / 100))}${d ?? ""}`;
|
|
22322
|
+
Number.isFinite(S) ? s === !0 && o === !0 ? C = `${F}${g}(${v})` : s === !0 ? C = v : o === !0 && (C = F) : C = "";
|
|
22323
22323
|
}
|
|
22324
22324
|
return C;
|
|
22325
22325
|
};
|
|
@@ -22394,12 +22394,12 @@ function nO(t) {
|
|
|
22394
22394
|
percentagePrefix: p,
|
|
22395
22395
|
percentageSuffix: y
|
|
22396
22396
|
});
|
|
22397
|
-
v = (N,
|
|
22397
|
+
v = (N, I) => w("", N, I);
|
|
22398
22398
|
}
|
|
22399
22399
|
NI(e.uid, {
|
|
22400
22400
|
pieChartLegendValueLabelsFormatter: v
|
|
22401
22401
|
});
|
|
22402
|
-
const
|
|
22402
|
+
const F = By(e), T = {
|
|
22403
22403
|
type: b.Text,
|
|
22404
22404
|
visible: s,
|
|
22405
22405
|
content: {
|
|
@@ -22408,7 +22408,7 @@ function nO(t) {
|
|
|
22408
22408
|
text: ".",
|
|
22409
22409
|
verticalAlignment: de.Middle,
|
|
22410
22410
|
// The horizontalAlignment value needs to be consistent with the one set by `handleValueLabelsRightAlignment()`. It avoids flickering the labels.
|
|
22411
|
-
horizontalAlignment:
|
|
22411
|
+
horizontalAlignment: F ? ge.Right : ge.Center
|
|
22412
22412
|
}
|
|
22413
22413
|
};
|
|
22414
22414
|
ii({
|
|
@@ -22675,7 +22675,7 @@ function yO(t) {
|
|
|
22675
22675
|
if (o !== void 0) {
|
|
22676
22676
|
const { series: l } = o;
|
|
22677
22677
|
if (z(l) === b.PieSeries) {
|
|
22678
|
-
const d = H(l) ===
|
|
22678
|
+
const d = H(l) === L.PieFromFields ? nt : l[0].x, u = a.dataItem?.dataContext?.[d];
|
|
22679
22679
|
typeof u == "string" ? s = u : u && typeof u != "object" && (s = u.toString());
|
|
22680
22680
|
} else a.dataItem?.component instanceof BS && (s = a.dataItem.component.name);
|
|
22681
22681
|
}
|
|
@@ -22801,11 +22801,11 @@ function wO(t) {
|
|
|
22801
22801
|
p.id = m, Xi(p, s), Yi(p, f);
|
|
22802
22802
|
let y, S;
|
|
22803
22803
|
c !== !0 ? (y = n[0], S = g === !0 && n[2] ? n[2] : n[1]) : (y = g === !0 && n[2] ? n[2] : n[0], S = n[1]), y !== void 0 && (p.xAxis = y), S !== void 0 && (p.yAxis = S);
|
|
22804
|
-
const x = hi({ chart: e }), v = H(i.series) ===
|
|
22804
|
+
const x = hi({ chart: e }), v = H(i.series) === L.BarAndLineSplitByNoAggregation ? `${u.toString()}_${At({ where: d.query?.where })}` : [u].flat()[0];
|
|
22805
22805
|
x ? p.dataFields.valueX = v : p.dataFields.valueY = v;
|
|
22806
|
-
const
|
|
22807
|
-
if (
|
|
22808
|
-
const w = Sy(
|
|
22806
|
+
const F = x ? n[1] : n[0];
|
|
22807
|
+
if (F !== void 0) {
|
|
22808
|
+
const w = Sy(F, x);
|
|
22809
22809
|
p.dataFields[w] = A.xAxisField;
|
|
22810
22810
|
}
|
|
22811
22811
|
p.dataFields.customValue = d?.query?.where;
|
|
@@ -22942,7 +22942,7 @@ function BO(t) {
|
|
|
22942
22942
|
i.id = e.id, le(i, f);
|
|
22943
22943
|
let x = m;
|
|
22944
22944
|
const C = i.dataFields?.customValue ?? "";
|
|
22945
|
-
(S ===
|
|
22945
|
+
(S === L.BarAndLineSplitBy || S === L.BarAndLineSplitByNoAggregation) && (x = Fr({
|
|
22946
22946
|
subtypeInfo: o,
|
|
22947
22947
|
fieldList: r,
|
|
22948
22948
|
fieldName: Ze(C),
|
|
@@ -23027,10 +23027,10 @@ function Ss(t) {
|
|
|
23027
23027
|
standardizeValuesVisibilityChanged: f
|
|
23028
23028
|
} = t, { x: m, y: g } = i, p = c || d === !0 || f === !0, y = p || u === !0, S = p, x = p;
|
|
23029
23029
|
if (e !== void 0) {
|
|
23030
|
-
const { showOutliers: C, standardizeValues: v, showMean:
|
|
23030
|
+
const { showOutliers: C, standardizeValues: v, showMean: F } = e, T = hi({ config: e });
|
|
23031
23031
|
if (a instanceof Se && x) {
|
|
23032
23032
|
const M = H(e.series), P = i?.query?.where, V = re({
|
|
23033
|
-
y: M ===
|
|
23033
|
+
y: M === L.BoxPlotMultiFieldsAndCategory ? g : void 0,
|
|
23034
23034
|
chartSubType: M,
|
|
23035
23035
|
splitBy: P,
|
|
23036
23036
|
showOutliers: C,
|
|
@@ -23039,50 +23039,50 @@ function Ss(t) {
|
|
|
23039
23039
|
});
|
|
23040
23040
|
T ? (a.dataFields.valueX = V, a.dataFields.categoryY = m) : (a.dataFields.valueY = V, a.dataFields.categoryX = m), a.dataFields.customValue = P;
|
|
23041
23041
|
}
|
|
23042
|
-
const w = Mr(e), N = H(w.series),
|
|
23043
|
-
y: N ===
|
|
23042
|
+
const w = Mr(e), N = H(w.series), I = F === !0 ? void 0 : i?.query?.where, D = {
|
|
23043
|
+
y: N === L.BoxPlotMultiFieldsAndCategory ? g : void 0,
|
|
23044
23044
|
chartSubType: N,
|
|
23045
|
-
splitBy:
|
|
23045
|
+
splitBy: I,
|
|
23046
23046
|
showOutliers: C,
|
|
23047
23047
|
standardizeValues: Un(N) ? v : !1
|
|
23048
23048
|
};
|
|
23049
23049
|
if (y) {
|
|
23050
23050
|
if (n instanceof ft) {
|
|
23051
23051
|
const M = re({
|
|
23052
|
-
...
|
|
23052
|
+
...D,
|
|
23053
23053
|
key: Y.Min
|
|
23054
23054
|
}), P = re({
|
|
23055
|
-
...
|
|
23055
|
+
...D,
|
|
23056
23056
|
key: Y.FirstQuartile
|
|
23057
23057
|
}), V = re({
|
|
23058
|
-
...
|
|
23058
|
+
...D,
|
|
23059
23059
|
key: Y.Max
|
|
23060
23060
|
}), W = re({
|
|
23061
|
-
...
|
|
23061
|
+
...D,
|
|
23062
23062
|
key: Y.ThirdQuartile
|
|
23063
23063
|
});
|
|
23064
|
-
T ? (n.dataFields.lowValueX = M, n.dataFields.openValueX = P, n.dataFields.highValueX = V, n.dataFields.valueX = W, n.dataFields.categoryY = m) : (n.dataFields.lowValueY = M, n.dataFields.openValueY = P, n.dataFields.highValueY = V, n.dataFields.valueY = W, n.dataFields.categoryX = m), n.dataFields.customValue =
|
|
23064
|
+
T ? (n.dataFields.lowValueX = M, n.dataFields.openValueX = P, n.dataFields.highValueX = V, n.dataFields.valueX = W, n.dataFields.categoryY = m) : (n.dataFields.lowValueY = M, n.dataFields.openValueY = P, n.dataFields.highValueY = V, n.dataFields.valueY = W, n.dataFields.categoryX = m), n.dataFields.customValue = I;
|
|
23065
23065
|
}
|
|
23066
23066
|
if (s instanceof Jt && o instanceof Jt && r instanceof Jt) {
|
|
23067
23067
|
const M = re({
|
|
23068
23068
|
key: Y.Max,
|
|
23069
|
-
...
|
|
23069
|
+
...D
|
|
23070
23070
|
}), P = re({
|
|
23071
23071
|
key: Y.Median,
|
|
23072
|
-
...
|
|
23072
|
+
...D
|
|
23073
23073
|
}), V = re({
|
|
23074
23074
|
key: Y.Min,
|
|
23075
|
-
...
|
|
23075
|
+
...D
|
|
23076
23076
|
});
|
|
23077
|
-
T ? (s.dataFields.valueX = M, o.dataFields.valueX = P, r.dataFields.valueX = V, s.dataFields.categoryY = m, o.dataFields.categoryY = m, r.dataFields.categoryY = m) : (s.dataFields.valueY = M, o.dataFields.valueY = P, r.dataFields.valueY = V, s.dataFields.categoryX = m, o.dataFields.categoryX = m, r.dataFields.categoryX = m), s.dataFields.customValue =
|
|
23077
|
+
T ? (s.dataFields.valueX = M, o.dataFields.valueX = P, r.dataFields.valueX = V, s.dataFields.categoryY = m, o.dataFields.categoryY = m, r.dataFields.categoryY = m) : (s.dataFields.valueY = M, o.dataFields.valueY = P, r.dataFields.valueY = V, s.dataFields.categoryX = m, o.dataFields.categoryX = m, r.dataFields.categoryX = m), s.dataFields.customValue = I, r.dataFields.customValue = I, o.dataFields.customValue = I;
|
|
23078
23078
|
}
|
|
23079
23079
|
}
|
|
23080
23080
|
if (l instanceof Se && S) {
|
|
23081
23081
|
const M = re({
|
|
23082
|
-
...
|
|
23082
|
+
...D,
|
|
23083
23083
|
key: Y.Outlier
|
|
23084
23084
|
});
|
|
23085
|
-
T ? (l.dataFields.valueX = M, l.dataFields.categoryY = m) : (l.dataFields.valueY = M, l.dataFields.categoryX = m), l.dataFields.customValue =
|
|
23085
|
+
T ? (l.dataFields.valueX = M, l.dataFields.categoryY = m) : (l.dataFields.valueY = M, l.dataFields.categoryX = m), l.dataFields.customValue = I, l.invalidateRawData();
|
|
23086
23086
|
}
|
|
23087
23087
|
const $ = a?.chart ?? n?.chart;
|
|
23088
23088
|
$ !== void 0 && (y || x) && $.invalidateRawData();
|
|
@@ -23614,7 +23614,7 @@ function tN(t) {
|
|
|
23614
23614
|
return s.forEach((C) => {
|
|
23615
23615
|
if (!(C instanceof Ja)) {
|
|
23616
23616
|
let v = C.dataItem?.dataContext;
|
|
23617
|
-
if (v !== void 0 && (d === b.BoxPlotSeries && v[A.boxPlot.boxPlotOutlierId] !== !0 || u ===
|
|
23617
|
+
if (v !== void 0 && (d === b.BoxPlotSeries && v[A.boxPlot.boxPlotOutlierId] !== !0 || u === L.BarAndLineMultiFields) && (v = ba({
|
|
23618
23618
|
dataContext: v,
|
|
23619
23619
|
yAxisField: c,
|
|
23620
23620
|
yList: S,
|
|
@@ -23642,11 +23642,11 @@ function tN(t) {
|
|
|
23642
23642
|
d === b.PieSeries && qi(v) ? (co({
|
|
23643
23643
|
groupOfSlicesDataContext: v
|
|
23644
23644
|
}) ?? []).forEach((N) => {
|
|
23645
|
-
o.forEach((
|
|
23645
|
+
o.forEach((I) => {
|
|
23646
23646
|
od({
|
|
23647
23647
|
layerOidField: r,
|
|
23648
23648
|
sliceDataContext: N,
|
|
23649
|
-
selectionDataContext:
|
|
23649
|
+
selectionDataContext: I,
|
|
23650
23650
|
xAxisField: l
|
|
23651
23651
|
}) && T.add(N);
|
|
23652
23652
|
});
|
|
@@ -23767,7 +23767,7 @@ function nN(t) {
|
|
|
23767
23767
|
rotationChanged: d
|
|
23768
23768
|
} = t, { filterBySelection: u, selectionData: f, returnSelectionIndexes: m, returnSelectionOIDs: g } = n ?? {}, { selectionIndexes: p } = f ?? {}, { chart: y } = e, S = B(y.uid, "config"), x = S && "showOutliers" in S && typeof S.showOutliers == "boolean" ? S.showOutliers : !1, C = Xe(S), v = z(S?.series);
|
|
23769
23769
|
if (u !== !0 && S !== void 0) {
|
|
23770
|
-
const
|
|
23770
|
+
const F = aN({
|
|
23771
23771
|
series: e,
|
|
23772
23772
|
chartType: v,
|
|
23773
23773
|
showMean: C
|
|
@@ -23778,8 +23778,8 @@ function nN(t) {
|
|
|
23778
23778
|
y.uid,
|
|
23779
23779
|
"currentSelectionDataItems"
|
|
23780
23780
|
);
|
|
23781
|
-
let
|
|
23782
|
-
if (
|
|
23781
|
+
let I = !1, D = !1, $, M = !1;
|
|
23782
|
+
if (F?.[0] !== void 0) {
|
|
23783
23783
|
if (n?.viewExtentUpdated !== !0) {
|
|
23784
23784
|
$ = n?.selectionData?.selectionItems ?? N;
|
|
23785
23785
|
const P = B(
|
|
@@ -23789,31 +23789,31 @@ function nN(t) {
|
|
|
23789
23789
|
M = jc({
|
|
23790
23790
|
itemsA: $,
|
|
23791
23791
|
itemsB: N,
|
|
23792
|
-
isPieFromFields: T ===
|
|
23792
|
+
isPieFromFields: T === L.PieFromFields
|
|
23793
23793
|
});
|
|
23794
23794
|
const V = !Mi(p, P);
|
|
23795
|
-
|
|
23795
|
+
I = o === !0 || s === !0 || r === !0 || d === !0 || $ !== void 0 && M;
|
|
23796
23796
|
let W = !0;
|
|
23797
23797
|
if (p !== void 0 && p.size > 0) {
|
|
23798
23798
|
const { indexesToSelect: G } = p.get(i ?? 0) ?? {};
|
|
23799
23799
|
W = G !== void 0 && G[0] === void 0;
|
|
23800
23800
|
}
|
|
23801
|
-
|
|
23801
|
+
D = s === !0 || r === !0 || d === !0 || !W && V;
|
|
23802
23802
|
}
|
|
23803
|
-
if (
|
|
23803
|
+
if (I && $ !== void 0 && $.length > 0) {
|
|
23804
23804
|
const { selectedIndexes: P, newSelectionDataItems: V } = tN({
|
|
23805
23805
|
chart: y,
|
|
23806
23806
|
chartConfig: S,
|
|
23807
23807
|
options: n,
|
|
23808
23808
|
series: e,
|
|
23809
|
-
elementsToApplySelectionTo:
|
|
23809
|
+
elementsToApplySelectionTo: F,
|
|
23810
23810
|
selectionDataItems: $,
|
|
23811
23811
|
layerOidField: w,
|
|
23812
23812
|
xAxisField: l,
|
|
23813
23813
|
yAxisField: c
|
|
23814
23814
|
});
|
|
23815
23815
|
let W = B(y.uid, "computedSelectionDataItems") ?? [];
|
|
23816
|
-
if (W.push(...V), S.series.length > 1 && T !==
|
|
23816
|
+
if (W.push(...V), S.series.length > 1 && T !== L.BarAndLineNoAggregation && T !== L.BarAndLineSplitByNoAggregation && (W = ro({
|
|
23817
23817
|
data: W,
|
|
23818
23818
|
x: S.series[0].x,
|
|
23819
23819
|
splitByField: Ze(S.series[0].query?.where)
|
|
@@ -23823,11 +23823,11 @@ function nN(t) {
|
|
|
23823
23823
|
y.uid,
|
|
23824
23824
|
"computedSelectionIndexes"
|
|
23825
23825
|
);
|
|
23826
|
-
q === void 0 && (q = /* @__PURE__ */ new Map()), G.length ===
|
|
23826
|
+
q === void 0 && (q = /* @__PURE__ */ new Map()), G.length === F.length ? q.set(i ?? 0, {}) : q.set(i ?? 0, {
|
|
23827
23827
|
indexesToSelect: G
|
|
23828
23828
|
}), J(y.uid, { computedSelectionIndexes: q });
|
|
23829
23829
|
}
|
|
23830
|
-
} else if (p !== void 0 &&
|
|
23830
|
+
} else if (p !== void 0 && D)
|
|
23831
23831
|
$ = iN(y, p);
|
|
23832
23832
|
else {
|
|
23833
23833
|
const P = $ === void 0 || $.length === 0, V = e instanceof Ji ? e.dataFields?.customValue ?? "" : "", W = (G) => {
|
|
@@ -23854,7 +23854,7 @@ function nN(t) {
|
|
|
23854
23854
|
showOutliers: x
|
|
23855
23855
|
});
|
|
23856
23856
|
};
|
|
23857
|
-
|
|
23857
|
+
F.forEach((G) => {
|
|
23858
23858
|
const q = G.isActive || W(G);
|
|
23859
23859
|
Ai({
|
|
23860
23860
|
element: G,
|
|
@@ -23865,7 +23865,7 @@ function nN(t) {
|
|
|
23865
23865
|
});
|
|
23866
23866
|
}
|
|
23867
23867
|
}
|
|
23868
|
-
if (tt(e.uid, { isSelectionApplied: !0 }), JO({ chart: y, chartType: v, showMean: C }) && (eN(y), M ||
|
|
23868
|
+
if (tt(e.uid, { isSelectionApplied: !0 }), JO({ chart: y, chartType: v, showMean: C }) && (eN(y), M || D)) {
|
|
23869
23869
|
let P = B(y.uid, "computedSelectionDataItems") ?? $;
|
|
23870
23870
|
P = Array.from(
|
|
23871
23871
|
new Set(P?.map((W) => JSON.stringify(W)))
|
|
@@ -23955,69 +23955,70 @@ async function So(t) {
|
|
|
23955
23955
|
Fy(e, "updateSelectionCallbackDisposer");
|
|
23956
23956
|
const r = oa(s), l = [], c = [];
|
|
23957
23957
|
let d = [];
|
|
23958
|
-
const u = /* @__PURE__ */ new Map(), { xAxisField: f } = i[0] ?? {}, m =
|
|
23959
|
-
let
|
|
23960
|
-
if (o !== void 0 && (
|
|
23961
|
-
const { elementDataContext:
|
|
23962
|
-
dataContext:
|
|
23963
|
-
yAxisField:
|
|
23964
|
-
yList:
|
|
23958
|
+
const u = /* @__PURE__ */ new Map(), { xAxisField: f } = i[0] ?? {}, m = z(s?.series), g = H(s?.series), p = St(s?.series ?? []);
|
|
23959
|
+
let y;
|
|
23960
|
+
if (o !== void 0 && (y = (await xt(o)).find((C) => C.name === f)?.type), i.forEach((x) => {
|
|
23961
|
+
const { elementDataContext: C, yAxisField: v, splitBy: F } = x, T = ba({
|
|
23962
|
+
dataContext: C,
|
|
23963
|
+
yAxisField: v,
|
|
23964
|
+
yList: p,
|
|
23965
23965
|
xAxisField: f,
|
|
23966
|
-
splitBy:
|
|
23967
|
-
|
|
23966
|
+
splitBy: F,
|
|
23967
|
+
chartType: m,
|
|
23968
|
+
chartSubType: g,
|
|
23968
23969
|
showOutliers: r,
|
|
23969
23970
|
isFeatureCollectionLayer: ga(o)
|
|
23970
23971
|
});
|
|
23971
|
-
|
|
23972
|
-
const { seriesIndex:
|
|
23973
|
-
if (
|
|
23974
|
-
const
|
|
23975
|
-
|
|
23976
|
-
indexesToSelect: Array.from(new Set(
|
|
23972
|
+
T !== void 0 && c.push(T);
|
|
23973
|
+
const { seriesIndex: w, elementIndex: N } = x;
|
|
23974
|
+
if (N !== void 0) {
|
|
23975
|
+
const I = u.get(w)?.indexesToSelect ?? [];
|
|
23976
|
+
I.push(N), u.set(w, {
|
|
23977
|
+
indexesToSelect: Array.from(new Set(I))
|
|
23977
23978
|
});
|
|
23978
23979
|
}
|
|
23979
|
-
if (
|
|
23980
|
-
const
|
|
23981
|
-
if (
|
|
23982
|
-
d.push(...
|
|
23980
|
+
if (C !== void 0) {
|
|
23981
|
+
const I = C[rt.uniqueIdsName] !== void 0 ? [C[rt.uniqueIdsName]].flat() : [];
|
|
23982
|
+
if (I.length > 0)
|
|
23983
|
+
d.push(...I);
|
|
23983
23984
|
else if (n?.returnSelectionOIDs !== !1) {
|
|
23984
23985
|
const D = lh({
|
|
23985
|
-
dataContext:
|
|
23986
|
+
dataContext: C,
|
|
23986
23987
|
options: n,
|
|
23987
23988
|
xAxisField: f,
|
|
23988
|
-
yAxisField:
|
|
23989
|
-
splitBy:
|
|
23990
|
-
xAxisFieldType:
|
|
23989
|
+
yAxisField: v ?? "",
|
|
23990
|
+
splitBy: F,
|
|
23991
|
+
xAxisFieldType: y,
|
|
23991
23992
|
chartConfig: s
|
|
23992
23993
|
});
|
|
23993
23994
|
l.push(D);
|
|
23994
23995
|
}
|
|
23995
23996
|
}
|
|
23996
23997
|
}), n?.returnSelectionOIDs !== !1 && o !== void 0 && l.length > 0) {
|
|
23997
|
-
const
|
|
23998
|
-
delete
|
|
23999
|
-
const
|
|
23998
|
+
const C = { ...B(e.uid, "queryConfig") };
|
|
23999
|
+
delete C.groupByFieldsForStatistics, delete C.orderByFields, delete C.outStatistics;
|
|
24000
|
+
const v = await Bh({
|
|
24000
24001
|
whereList: l,
|
|
24001
24002
|
queryObject: o,
|
|
24002
|
-
queryConfig:
|
|
24003
|
+
queryConfig: C
|
|
24003
24004
|
});
|
|
24004
24005
|
if (l.length === i.length)
|
|
24005
|
-
d =
|
|
24006
|
+
d = v;
|
|
24006
24007
|
else
|
|
24007
|
-
for (let
|
|
24008
|
-
d.push(
|
|
24008
|
+
for (let F = 0; F < v.length; F += 1)
|
|
24009
|
+
d.push(v[F]);
|
|
24009
24010
|
}
|
|
24010
24011
|
J(e.uid, {
|
|
24011
24012
|
currentSelectionDataItems: c,
|
|
24012
24013
|
currentSelectionOIDs: d,
|
|
24013
24014
|
currentSelectionIndexes: u
|
|
24014
24015
|
});
|
|
24015
|
-
const
|
|
24016
|
+
const S = {
|
|
24016
24017
|
selectionItems: c,
|
|
24017
24018
|
selectionSource: a
|
|
24018
24019
|
};
|
|
24019
|
-
n?.returnSelectionIndexes === !0 && (
|
|
24020
|
-
data:
|
|
24020
|
+
n?.returnSelectionIndexes === !0 && (S.selectionIndexes = u), n?.returnSelectionOIDs !== !1 && (S.selectionOIDs = d), rs({
|
|
24021
|
+
data: S,
|
|
24021
24022
|
seriesConfig: s?.series,
|
|
24022
24023
|
htmlContainer: e.htmlContainer
|
|
24023
24024
|
});
|
|
@@ -24189,19 +24190,19 @@ function mN(t, e) {
|
|
|
24189
24190
|
const c = B(r.uid, "config"), d = B(r.uid, "isRotated"), f = !In(t.renderer, d) ? 1 : 0, g = c?.axes?.[f]?.guides;
|
|
24190
24191
|
let p = n, y = s;
|
|
24191
24192
|
if (t instanceof Je) {
|
|
24192
|
-
let v = new Lm(),
|
|
24193
|
+
let v = new Lm(), F;
|
|
24193
24194
|
if (r !== void 0) {
|
|
24194
24195
|
const T = B(t.chart.uid, "formatLocale");
|
|
24195
24196
|
v = gi({
|
|
24196
24197
|
type: b.DateAxisFormat,
|
|
24197
24198
|
iLocale: r.language.locale,
|
|
24198
24199
|
formatLocale: T
|
|
24199
|
-
}),
|
|
24200
|
+
}), F = c?.axes?.[0]?.valueFormat?.intlOptions;
|
|
24200
24201
|
}
|
|
24201
|
-
p = v.format(n,
|
|
24202
|
+
p = v.format(n, F), s !== void 0 && (y = v.format(s, F));
|
|
24202
24203
|
} else if (t instanceof Pe && !(n instanceof Date) && !(s instanceof Date)) {
|
|
24203
|
-
const { start: v, end:
|
|
24204
|
-
Number.isFinite(v) && (p = v), Number.isFinite(
|
|
24204
|
+
const { start: v, end: F } = Pd(t, g?.[o]);
|
|
24205
|
+
Number.isFinite(v) && (p = v), Number.isFinite(F) && (y = F);
|
|
24205
24206
|
const T = Lt(t.uid, "numberFormatter") ?? ((w) => new Tm().format(w));
|
|
24206
24207
|
p = T(p), y !== void 0 && (y = T(y));
|
|
24207
24208
|
} else t instanceof Dt && (p = n, y = s);
|
|
@@ -24855,7 +24856,7 @@ function Rf(t) {
|
|
|
24855
24856
|
const m = s[f], { value: g, endValue: p, axisFill: y, grid: S, label: x } = m;
|
|
24856
24857
|
if (Tt(x?.uid, "isGuide") === !0) {
|
|
24857
24858
|
if (n = m.visible, n && m instanceof Ic) {
|
|
24858
|
-
const { start: v, end:
|
|
24859
|
+
const { start: v, end: F } = Pd(e, u?.[f]), T = Math.min(g, p, v ?? g, F ?? p), w = Math.max(g, p, v ?? g, F ?? p);
|
|
24859
24860
|
T < i && w < i || T > a && w > a ? n = !1 : (m.value = T < i ? i : T, m.endValue = w > a ? a : w);
|
|
24860
24861
|
}
|
|
24861
24862
|
le(y, n), le(S, n), le(x, n);
|
|
@@ -24978,7 +24979,7 @@ function oB(t) {
|
|
|
24978
24979
|
chartConfig: f,
|
|
24979
24980
|
chartData: d.data,
|
|
24980
24981
|
filteredSeriesIds: S
|
|
24981
|
-
}), { minX: C, maxX: v, minY:
|
|
24982
|
+
}), { minX: C, maxX: v, minY: F, maxY: T } = x, [w, N] = p ? [C ?? Number.NaN, v ?? Number.NaN] : [F, T];
|
|
24982
24983
|
m = w, a === b.BarSeries || a === b.HistogramSeries || a === b.ComboLineAndBarSeries || a === b.LineSeries && g === Fe.Stacked && !p ? (l = Math.min(w, 0), c = Math.max(N, 0)) : (l = w, c = N);
|
|
24983
24984
|
}
|
|
24984
24985
|
return l = s ?? l, c = o ?? c, r && l !== void 0 && l !== null && l <= 0 && (l = sB(m)), { min: l, max: c };
|
|
@@ -25097,8 +25098,8 @@ function jy(t) {
|
|
|
25097
25098
|
axisConfig: x,
|
|
25098
25099
|
isSecondValueAxis: v
|
|
25099
25100
|
}), C !== void 0 && S.events.once(E.Validated, () => {
|
|
25100
|
-
const { labelToRender:
|
|
25101
|
-
|
|
25101
|
+
const { labelToRender: F } = Uy(t, o);
|
|
25102
|
+
F && (F.html = s === !0 ? "{valueX}" : "{valueY}");
|
|
25102
25103
|
}));
|
|
25103
25104
|
});
|
|
25104
25105
|
}
|
|
@@ -25135,14 +25136,14 @@ async function qo(t) {
|
|
|
25135
25136
|
grid: x,
|
|
25136
25137
|
lineSymbol: C,
|
|
25137
25138
|
labels: v,
|
|
25138
|
-
guides:
|
|
25139
|
+
guides: F,
|
|
25139
25140
|
valueFormat: T,
|
|
25140
25141
|
displayZeroLine: w,
|
|
25141
25142
|
displayCursorTooltip: N,
|
|
25142
|
-
tickSpacing:
|
|
25143
|
-
dateBaseInterval:
|
|
25143
|
+
tickSpacing: I,
|
|
25144
|
+
dateBaseInterval: D
|
|
25144
25145
|
} = i;
|
|
25145
|
-
rB({ axis: e, timeIntervalInfo: a, dateBaseInterval:
|
|
25146
|
+
rB({ axis: e, timeIntervalInfo: a, dateBaseInterval: D }), Bi({
|
|
25146
25147
|
element: e.renderer.grid.template,
|
|
25147
25148
|
lineSymbol: x,
|
|
25148
25149
|
visible: p
|
|
@@ -25170,7 +25171,7 @@ async function qo(t) {
|
|
|
25170
25171
|
labelsConfig: v,
|
|
25171
25172
|
horizontalAxisLabelsBehavior: s,
|
|
25172
25173
|
isSecondValueAxis: u,
|
|
25173
|
-
tickSpacing:
|
|
25174
|
+
tickSpacing: I
|
|
25174
25175
|
}), await YI({
|
|
25175
25176
|
axis: e,
|
|
25176
25177
|
isXAxis: In(e.renderer, f),
|
|
@@ -25185,7 +25186,7 @@ async function qo(t) {
|
|
|
25185
25186
|
axisConfig: i,
|
|
25186
25187
|
chartType: n,
|
|
25187
25188
|
isSecondValueAxis: u
|
|
25188
|
-
}), iB({ axis: e, isLogarithmic: y, isSecondValueAxis: u }), dB(e, S), cB(e, N), u !== !0 && (LN({ axis: e, guides:
|
|
25189
|
+
}), iB({ axis: e, isLogarithmic: y, isSecondValueAxis: u }), dB(e, S), cB(e, N), u !== !0 && (LN({ axis: e, guides: F, guideTooltipFormatter: l, utilsStrings: m }), lB(e, w));
|
|
25189
25190
|
}
|
|
25190
25191
|
async function Vd(t) {
|
|
25191
25192
|
const {
|
|
@@ -25204,7 +25205,7 @@ async function Vd(t) {
|
|
|
25204
25205
|
errorStrings: m
|
|
25205
25206
|
} = t;
|
|
25206
25207
|
let { axisLabelsBehaviorChanged: g } = t;
|
|
25207
|
-
const p = B(e.uid, "config"), { horizontalAxisLabelsBehavior: y, verticalAxisLabelsBehavior: S } = p, x = z(p.series), C = ni(p), v = n === !0 ? 1 : 0,
|
|
25208
|
+
const p = B(e.uid, "config"), { horizontalAxisLabelsBehavior: y, verticalAxisLabelsBehavior: S } = p, x = z(p.series), C = ni(p), v = n === !0 ? 1 : 0, F = n === !0 ? 0 : 1, T = i?.[v], w = i?.[F];
|
|
25208
25209
|
let N = e.xAxes.getIndex(0);
|
|
25209
25210
|
_y({
|
|
25210
25211
|
chart: e,
|
|
@@ -25218,7 +25219,7 @@ async function Vd(t) {
|
|
|
25218
25219
|
isRotated: n,
|
|
25219
25220
|
chartType: x
|
|
25220
25221
|
}), g = [!0, !0]), N = e.xAxes.getIndex(0);
|
|
25221
|
-
const
|
|
25222
|
+
const I = e.yAxes.getIndex(0), D = e.xAxes.getIndex(1) ?? e.yAxes.getIndex(1), $ = N?.start, M = N?.end, P = I?.start, V = I?.end, W = D?.start, G = D?.end, q = {
|
|
25222
25223
|
timeIntervalInfo: r,
|
|
25223
25224
|
chartType: x,
|
|
25224
25225
|
horizontalAxisLabelsBehavior: y,
|
|
@@ -25235,27 +25236,27 @@ async function Vd(t) {
|
|
|
25235
25236
|
axis: N,
|
|
25236
25237
|
axisConfig: T,
|
|
25237
25238
|
axisValueFormatter: v === 0 ? c : d
|
|
25238
|
-
}),
|
|
25239
|
+
}), I !== void 0 && w !== void 0 && await qo({
|
|
25239
25240
|
...q,
|
|
25240
|
-
axis:
|
|
25241
|
+
axis: I,
|
|
25241
25242
|
axisConfig: w,
|
|
25242
|
-
axisValueFormatter:
|
|
25243
|
-
}),
|
|
25243
|
+
axisValueFormatter: F === 1 ? d : c
|
|
25244
|
+
}), D !== void 0 && i?.[2] !== void 0 && await qo({
|
|
25244
25245
|
...q,
|
|
25245
|
-
axis:
|
|
25246
|
+
axis: D,
|
|
25246
25247
|
axisConfig: i[2],
|
|
25247
25248
|
axisValueFormatter: u,
|
|
25248
25249
|
isSecondValueAxis: !0
|
|
25249
25250
|
}), a === !0 && [
|
|
25250
25251
|
{ axis: N, start: $, end: M },
|
|
25251
|
-
{ axis:
|
|
25252
|
-
{ axis:
|
|
25252
|
+
{ axis: I, start: P, end: V },
|
|
25253
|
+
{ axis: D, start: W, end: G }
|
|
25253
25254
|
].forEach((_) => {
|
|
25254
25255
|
const { axis: ee, start: te, end: j } = _;
|
|
25255
25256
|
ee !== void 0 && ee.events.once(E.Validated, () => {
|
|
25256
25257
|
dc({ axis: ee, start: te, end: j });
|
|
25257
25258
|
});
|
|
25258
|
-
}), N !== void 0 && N.ghostLabel.setPropertyValue("disabled", !0),
|
|
25259
|
+
}), N !== void 0 && N.ghostLabel.setPropertyValue("disabled", !0), I !== void 0 && I.ghostLabel.setPropertyValue("disabled", !0), D !== void 0 && D.ghostLabel.setPropertyValue("disabled", !0);
|
|
25259
25260
|
}
|
|
25260
25261
|
function _y(t) {
|
|
25261
25262
|
const { chart: e, dualAxisChanged: i, rotationChanged: a, timeIntervalInfoWasReset: n, axisLabelsBehaviorChanged: s } = t, o = B(e.uid, "config"), { rotated: r, series: l } = o, c = o.axes, d = z(l), u = r === !0 ? 1 : 0, f = r === !0 ? 0 : 1, m = c?.[u]?.valueFormat, g = c?.[f]?.valueFormat, p = e.xAxes.getIndex(0), y = e.yAxes.getIndex(0), S = p === void 0 || a || m !== void 0 && sc({
|
|
@@ -25308,8 +25309,8 @@ async function gB(t) {
|
|
|
25308
25309
|
const S = s === !0 ? e.yAxes.getIndex(0) : e.xAxes.getIndex(0);
|
|
25309
25310
|
if (S !== void 0) {
|
|
25310
25311
|
S instanceof Dt && (S.dataFields.category = Pc(i));
|
|
25311
|
-
const v = S.renderer,
|
|
25312
|
-
|
|
25312
|
+
const v = S.renderer, F = v.grid.template;
|
|
25313
|
+
F.location = 0, v.cellStartLocation = 0.1, v.cellEndLocation = 0.9;
|
|
25313
25314
|
const T = i.orderOptions?.data?.orderBy === ui.Descending;
|
|
25314
25315
|
let w = s === !0;
|
|
25315
25316
|
T && S instanceof Je && (w = !w), v.inversed = w;
|
|
@@ -25528,7 +25529,7 @@ function uc(t, e) {
|
|
|
25528
25529
|
const c = (o.bbox.width + 5) * o.scale, d = (r.bbox.height + 5) * r.scale, u = typeof i.renderer.labels.template.radius == "number" ? i.renderer.labels.template.radius : i.renderer.labels.template.radius.value, f = (c + u) * 2 + t.radarContainer.measuredWidth + Oo(t.paddingLeft) + Oo(t.paddingRight), m = 80, g = 170, p = t.htmlContainer?.clientHeight ?? 0, y = Math.max(
|
|
25529
25530
|
0,
|
|
25530
25531
|
Math.min(1, (p - m) / (g - m))
|
|
25531
|
-
), S = t.radarContainer.measuredHeight + (d + u * y) * 2 + Oo(t.paddingTop) + Oo(t.paddingBottom), x = t.measuredWidth, C = t.measuredHeight, v = x / f,
|
|
25532
|
+
), S = t.radarContainer.measuredHeight + (d + u * y) * 2 + Oo(t.paddingTop) + Oo(t.paddingBottom), x = t.measuredWidth, C = t.measuredHeight, v = x / f, F = C / S, T = (typeof t.radius == "number" ? t.radius : t.radius.value) * 100, w = Number((T * v).toFixed(2)), N = Number((T * F).toFixed(2)), I = w / T, D = N / T, $ = t.radarContainer.measuredWidth * I, M = t.radarContainer.measuredWidth * D, [P, V] = $ < M ? [w, I] : [N, D];
|
|
25532
25533
|
Number.isFinite(P) && P >= 10 && P <= A.gauge.radius && (V < 0.98 || V > 1.02) && (t.radius = new Zo(P));
|
|
25533
25534
|
}
|
|
25534
25535
|
}
|
|
@@ -25779,7 +25780,7 @@ async function PB(t) {
|
|
|
25779
25780
|
errorStrings: l
|
|
25780
25781
|
} = t, { axes: c, series: d } = i, u = Zs(i), f = z(i.series), { featureIndex: m, x: g } = d[0], p = c?.[0], y = e.xAxes.getIndex(0), S = { ...p };
|
|
25781
25782
|
if (y !== void 0 && S !== void 0) {
|
|
25782
|
-
const { valueFormat: x, needle: C, innerLabel: v, onlyShowFirstAndLastLabels:
|
|
25783
|
+
const { valueFormat: x, needle: C, innerLabel: v, onlyShowFirstAndLastLabels: F } = S;
|
|
25783
25784
|
sc({ axis: y, valueFormat: x, chartType: f }) && Bs({ isXAxis: !0, axes: e.xAxes, valueFormat: x });
|
|
25784
25785
|
const T = await Op({
|
|
25785
25786
|
featureIndex: m,
|
|
@@ -25789,21 +25790,21 @@ async function PB(t) {
|
|
|
25789
25790
|
queryConfig: B(e.uid, "queryConfig")
|
|
25790
25791
|
});
|
|
25791
25792
|
S.minimum = T.minimum, S.maximum = T.maximum;
|
|
25792
|
-
const { min: w, max: N, labelsIncrement:
|
|
25793
|
+
const { min: w, max: N, labelsIncrement: I, numberOfIntervals: D } = Ip(S);
|
|
25793
25794
|
fw({
|
|
25794
25795
|
oldConfig: B(y.chart.uid, "config"),
|
|
25795
25796
|
axisMax: y.max,
|
|
25796
25797
|
min: w,
|
|
25797
25798
|
max: N,
|
|
25798
|
-
labelsIncrement:
|
|
25799
|
-
numberOfIntervals:
|
|
25799
|
+
labelsIncrement: I,
|
|
25800
|
+
numberOfIntervals: D,
|
|
25800
25801
|
valueFormat: x
|
|
25801
25802
|
}) && wB({
|
|
25802
25803
|
axis: y,
|
|
25803
25804
|
min: w,
|
|
25804
25805
|
max: N,
|
|
25805
|
-
labelsIncrement:
|
|
25806
|
-
numberOfIntervals:
|
|
25806
|
+
labelsIncrement: I,
|
|
25807
|
+
numberOfIntervals: D,
|
|
25807
25808
|
valueFormat: x
|
|
25808
25809
|
});
|
|
25809
25810
|
const M = { ...S };
|
|
@@ -25829,14 +25830,14 @@ async function PB(t) {
|
|
|
25829
25830
|
}), IB(y, S), kB({
|
|
25830
25831
|
chart: e,
|
|
25831
25832
|
axis: y,
|
|
25832
|
-
onlyShowFirstAndLastLabels:
|
|
25833
|
+
onlyShowFirstAndLastLabels: F ?? !1,
|
|
25833
25834
|
valueFormat: x,
|
|
25834
25835
|
axisLabelConfigContent: S.labels,
|
|
25835
25836
|
axisValueFormatter: s
|
|
25836
25837
|
}), BB({
|
|
25837
25838
|
chart: e,
|
|
25838
25839
|
axis: y,
|
|
25839
|
-
onlyShowFirstAndLastLabels:
|
|
25840
|
+
onlyShowFirstAndLastLabels: F ?? !1,
|
|
25840
25841
|
valueFormat: x,
|
|
25841
25842
|
gaugeLabelConfigContent: S.labels,
|
|
25842
25843
|
axisValueFormatter: s
|
|
@@ -26163,7 +26164,7 @@ function eb(t) {
|
|
|
26163
26164
|
le(i, e.visible);
|
|
26164
26165
|
let y = f;
|
|
26165
26166
|
const S = i.dataFields?.customValue ?? "";
|
|
26166
|
-
(p ===
|
|
26167
|
+
(p === L.BarAndLineSplitBy || p === L.BarAndLineSplitByNoAggregation) && (y = Fr({
|
|
26167
26168
|
subtypeInfo: s,
|
|
26168
26169
|
fieldList: c,
|
|
26169
26170
|
fieldName: Ze(S),
|
|
@@ -26206,7 +26207,7 @@ function nM(t) {
|
|
|
26206
26207
|
Xi(u, s), u.id = l.id;
|
|
26207
26208
|
let f, m;
|
|
26208
26209
|
r !== !0 ? (f = n[0], m = d === !0 && n[2] ? n[2] : n[1]) : (f = d === !0 && n[2] ? n[2] : n[0], m = n[1]), f !== void 0 && (u.xAxis = f), m !== void 0 && (u.yAxis = m);
|
|
26209
|
-
const g = e instanceof me ? hi({ chart: e }) : !1, y = H(i.series) !==
|
|
26210
|
+
const g = e instanceof me ? hi({ chart: e }) : !1, y = H(i.series) !== L.BarAndLineSplitByNoAggregation ? c : `${c}_${At({ where: l.query?.where })}`;
|
|
26210
26211
|
g ? u.dataFields.valueX = y : u.dataFields.valueY = y;
|
|
26211
26212
|
const S = g ? n[1] : n[0];
|
|
26212
26213
|
if (S !== void 0) {
|
|
@@ -26371,20 +26372,20 @@ function mM(t) {
|
|
|
26371
26372
|
visible: c
|
|
26372
26373
|
}), e.hiddenInLegend = r !== !0 || u === !0, n && "bins" in n) {
|
|
26373
26374
|
const m = n.bins.map((w) => w.count), g = Math.max(...m), { mean: p, stddev: y, median: S } = n, x = p - y, C = p + y;
|
|
26374
|
-
let v = { x: Number.NaN, y: Number.NaN },
|
|
26375
|
+
let v = { x: Number.NaN, y: Number.NaN }, F = { x: Number.NaN, y: Number.NaN };
|
|
26375
26376
|
switch (d) {
|
|
26376
26377
|
case ht.Mean:
|
|
26377
|
-
v = { x: p, y: 0 },
|
|
26378
|
+
v = { x: p, y: 0 }, F = { x: p, y: g };
|
|
26378
26379
|
break;
|
|
26379
26380
|
case ht.Median:
|
|
26380
|
-
v = { x: S, y: 0 },
|
|
26381
|
+
v = { x: S, y: 0 }, F = { x: S, y: g };
|
|
26381
26382
|
break;
|
|
26382
26383
|
case ht.StdDev:
|
|
26383
|
-
u === !0 ? (v = { x: C, y: 0 },
|
|
26384
|
+
u === !0 ? (v = { x: C, y: 0 }, F = { x: C, y: g }) : (v = { x, y: 0 }, F = { x, y: g });
|
|
26384
26385
|
break;
|
|
26385
26386
|
}
|
|
26386
26387
|
const T = {
|
|
26387
|
-
data: [v,
|
|
26388
|
+
data: [v, F]
|
|
26388
26389
|
};
|
|
26389
26390
|
e.data = T.data;
|
|
26390
26391
|
}
|
|
@@ -26600,7 +26601,7 @@ async function bM(t) {
|
|
|
26600
26601
|
chartRenderer: c,
|
|
26601
26602
|
queryObject: l
|
|
26602
26603
|
}), C = c ?? S?.renderer, v = lo(c, S?.renderer);
|
|
26603
|
-
let
|
|
26604
|
+
let F;
|
|
26604
26605
|
if (nn({
|
|
26605
26606
|
chartConfig: e,
|
|
26606
26607
|
queryObject: l
|
|
@@ -26611,15 +26612,15 @@ async function bM(t) {
|
|
|
26611
26612
|
renderer: C,
|
|
26612
26613
|
rendererOrigin: c !== void 0 ? Zi.ChartRenderer : Zi.LayerRenderer,
|
|
26613
26614
|
rendererType: v,
|
|
26614
|
-
chartSubType:
|
|
26615
|
+
chartSubType: L.NonSpecific,
|
|
26615
26616
|
graphicTemplate: x
|
|
26616
26617
|
});
|
|
26617
|
-
|
|
26618
|
+
F = T.rendererSymbol, J(y.chart.uid, { colorMatchApplied: T.colorMatchApplied });
|
|
26618
26619
|
}
|
|
26619
26620
|
yn({
|
|
26620
26621
|
// TODO: Remove the type assertion and correct the typings
|
|
26621
26622
|
styleCallback: yM,
|
|
26622
|
-
callbackProps: { ...t, rendererSymbol:
|
|
26623
|
+
callbackProps: { ...t, rendererSymbol: F },
|
|
26623
26624
|
series: y,
|
|
26624
26625
|
seriesConfig: i
|
|
26625
26626
|
}), cM({
|
|
@@ -26699,15 +26700,15 @@ function CM(t, e) {
|
|
|
26699
26700
|
}), m = Jc(u), g = oi(t.rtl, " ");
|
|
26700
26701
|
return (p, y, S) => {
|
|
26701
26702
|
const x = f(p, y, S), v = n ?? A.pieChart.displayCategoryOnDataLabel ? m(p) : "";
|
|
26702
|
-
let
|
|
26703
|
-
return
|
|
26704
|
-
textSymbol: { ...e.dataLabels.content, text:
|
|
26703
|
+
let F = he(v) ? "" : `${v}${g}`;
|
|
26704
|
+
return F = `${F}${x}`, e.dataLabels?.content !== void 0 && (F = Rt({
|
|
26705
|
+
textSymbol: { ...e.dataLabels.content, text: F },
|
|
26705
26706
|
format: "html",
|
|
26706
26707
|
defaults: {
|
|
26707
26708
|
...A.pieChart.dataLabels,
|
|
26708
26709
|
wrap: e.optimizeDataLabelsOverlapping ?? A.pieChart.dataLabels.wrap
|
|
26709
26710
|
}
|
|
26710
|
-
})),
|
|
26711
|
+
})), F;
|
|
26711
26712
|
};
|
|
26712
26713
|
}
|
|
26713
26714
|
function vM(t) {
|
|
@@ -26756,8 +26757,8 @@ function FM(t, e) {
|
|
|
26756
26757
|
percentageSuffix: m
|
|
26757
26758
|
})("", p, y), v = !he(g) && (r ?? A.pieChart.displayCategoryOnTooltip);
|
|
26758
26759
|
if (v && (S = `<b>${g}</b>`), !he(C)) {
|
|
26759
|
-
const
|
|
26760
|
-
S = v ? `${S}<br />${
|
|
26760
|
+
const F = Hr(C);
|
|
26761
|
+
S = v ? `${S}<br />${F}` : F;
|
|
26761
26762
|
}
|
|
26762
26763
|
return S;
|
|
26763
26764
|
}, i;
|
|
@@ -26863,7 +26864,7 @@ function DM(t) {
|
|
|
26863
26864
|
});
|
|
26864
26865
|
}
|
|
26865
26866
|
async function OM(t) {
|
|
26866
|
-
const { chartConfig: e, queryObject: i, usePopupTemplateFieldsInfo: a, labelUpdateNeeded: n, utilsStrings: s } = t, { series: o } = e, r = o[0], { x: l } = r, c = !$c({ chartConfig: e }), d = H([r]), u = d ===
|
|
26867
|
+
const { chartConfig: e, queryObject: i, usePopupTemplateFieldsInfo: a, labelUpdateNeeded: n, utilsStrings: s } = t, { series: o } = e, r = o[0], { x: l } = r, c = !$c({ chartConfig: e }), d = H([r]), u = d === L.PieFromFields, m = Le(i).objectIdField, g = await xt(i, a);
|
|
26867
26868
|
return {
|
|
26868
26869
|
x: l,
|
|
26869
26870
|
isNonAggregatedChart: c,
|
|
@@ -26949,7 +26950,7 @@ function Ef(t, e) {
|
|
|
26949
26950
|
const C = sr(o.slices, x);
|
|
26950
26951
|
C?.fillSymbol?.color !== void 0 && p.add(C.fillSymbol.color);
|
|
26951
26952
|
}), t.forEach((y, S) => {
|
|
26952
|
-
const x = y[A.pieChart.technicalFieldSliceId], C = sr(o.slices, x), v = qi(y),
|
|
26953
|
+
const x = y[A.pieChart.technicalFieldSliceId], C = sr(o.slices, x), v = qi(y), F = BM({
|
|
26953
26954
|
dataContext: y,
|
|
26954
26955
|
seriesConfig: o,
|
|
26955
26956
|
existingSlicesColors: p,
|
|
@@ -26959,7 +26960,7 @@ function Ef(t, e) {
|
|
|
26959
26960
|
colorMatch: c,
|
|
26960
26961
|
chartSubType: d
|
|
26961
26962
|
});
|
|
26962
|
-
|
|
26963
|
+
F.color && p.add(F.color);
|
|
26963
26964
|
const T = Ch({
|
|
26964
26965
|
dataContext: y,
|
|
26965
26966
|
sliceFromConfig: C,
|
|
@@ -26973,14 +26974,14 @@ function Ef(t, e) {
|
|
|
26973
26974
|
}), w = {
|
|
26974
26975
|
sliceId: x,
|
|
26975
26976
|
label: T,
|
|
26976
|
-
fillSymbol:
|
|
26977
|
+
fillSymbol: F
|
|
26977
26978
|
};
|
|
26978
26979
|
w.originalLabel = C?.originalLabel ?? (y?.[A.originalCategoryValue] !== void 0 ? y?.[A.originalCategoryValue] : w.label), v ? (g = y[A.pieChart.technicalFieldGroupedSlices], o.sliceGrouping !== void 0 && (m = {
|
|
26979
26980
|
sliceId: o.sliceGrouping.sliceId,
|
|
26980
26981
|
percentageThreshold: o.sliceGrouping.percentageThreshold,
|
|
26981
26982
|
label: T,
|
|
26982
26983
|
originalLabel: o.sliceGrouping.originalLabel ?? T,
|
|
26983
|
-
fillSymbol:
|
|
26984
|
+
fillSymbol: F
|
|
26984
26985
|
})) : f.push(w);
|
|
26985
26986
|
}), { slices: f, groupOfSlicesSymbols: m, groupOfSlices: g };
|
|
26986
26987
|
}
|
|
@@ -27009,7 +27010,7 @@ function $M(t) {
|
|
|
27009
27010
|
const { chart: e, seriesConfig: i, series: a, pieSlicesSymbols: n, options: s, utilsStrings: o } = t, { tooltipFormatter: r, dataLabelFormatter: l } = s ?? {}, { x: c, y: d, id: u, innerRadius: f, startAngle: m, endAngle: g } = i;
|
|
27010
27011
|
a.id = u;
|
|
27011
27012
|
const p = H([i]), y = A.pieChart;
|
|
27012
|
-
a.dataFields.value = p !==
|
|
27013
|
+
a.dataFields.value = p !== L.PieFromFields ? d : zt, a.dataFields.category = p !== L.PieFromFields ? c : nt;
|
|
27013
27014
|
const S = e.radius instanceof Zo ? e.radius.value : e.radius;
|
|
27014
27015
|
e.innerRadius = Ft((f ?? y.innerRadius) * S), a.startAngle = m ?? y.min, a.endAngle = g ?? 360 + a.startAngle, vM({
|
|
27015
27016
|
pieSeries: a,
|
|
@@ -27239,7 +27240,7 @@ function _M(t) {
|
|
|
27239
27240
|
const g = qt({
|
|
27240
27241
|
dataItem: m.dataItem?.dataContext,
|
|
27241
27242
|
seriesConfig: e,
|
|
27242
|
-
chartSubType:
|
|
27243
|
+
chartSubType: L.NonSpecific,
|
|
27243
27244
|
colorMatch: a
|
|
27244
27245
|
}), p = Ca({
|
|
27245
27246
|
element: m,
|
|
@@ -27435,9 +27436,9 @@ function ib(t) {
|
|
|
27435
27436
|
dataLabelsInside: f
|
|
27436
27437
|
} = o[0];
|
|
27437
27438
|
if (u?.visible === !0 && c === !0 && l === !0 && f !== !0) {
|
|
27438
|
-
const y = A.pieChart.chartOptimizedRadius / 100, S = 500, x = 150, C = 0.6, v = 0.5,
|
|
27439
|
+
const y = A.pieChart.chartOptimizedRadius / 100, S = 500, x = 150, C = 0.6, v = 0.5, F = 1, T = t.chartContainer.measuredWidth - d * 2, w = Math.max(T - x, 0) / (S - x), N = w < 1 ? (
|
|
27439
27440
|
// case 1: the container width is less than the radiusContainerWidthBreakpoint - we want to scale the radius down.
|
|
27440
|
-
Math.max(w **
|
|
27441
|
+
Math.max(w ** F * C, 0.4)
|
|
27441
27442
|
) : (
|
|
27442
27443
|
// case 2: the container width is at or more than the radiusContainerWidthBreakpoint - ramp up radius to the max radius
|
|
27443
27444
|
Math.min(w ** v * C, y)
|
|
@@ -27677,7 +27678,7 @@ function nb(t) {
|
|
|
27677
27678
|
case b.LineSeries: {
|
|
27678
27679
|
o.series.forEach((f) => {
|
|
27679
27680
|
let m = "";
|
|
27680
|
-
"y" in f && (m = Array.isArray(f.y) ? f.y[0] : f.y, c ===
|
|
27681
|
+
"y" in f && (m = Array.isArray(f.y) ? f.y[0] : f.y, c === L.BarAndLineSplitByNoAggregation && (m = `${m}_${At({
|
|
27681
27682
|
where: f.query?.where
|
|
27682
27683
|
})}`), (i ?? e.data)?.some(
|
|
27683
27684
|
(p) => vc({
|
|
@@ -27914,8 +27915,8 @@ async function sb(t) {
|
|
|
27914
27915
|
}
|
|
27915
27916
|
const S = fx({ chartConfig: i, queryObject: o, chartData: e.data });
|
|
27916
27917
|
if (S.length > 0 && (e.colors.list = S.map((x) => {
|
|
27917
|
-
const [C, v,
|
|
27918
|
-
return new _o({ r: C, g: v, b:
|
|
27918
|
+
const [C, v, F, T] = x;
|
|
27919
|
+
return new _o({ r: C, g: v, b: F, a: T });
|
|
27919
27920
|
})), f.length > 0) {
|
|
27920
27921
|
const x = await Promise.all(f);
|
|
27921
27922
|
e.series.pushAll(x.flat());
|
|
@@ -27941,7 +27942,7 @@ async function Ud(t) {
|
|
|
27941
27942
|
pieSlicesSymbols: S,
|
|
27942
27943
|
utilsStrings: x,
|
|
27943
27944
|
errorStrings: C
|
|
27944
|
-
} = t, v = e.series.values,
|
|
27945
|
+
} = t, v = e.series.values, F = /* @__PURE__ */ new Map(), T = i.series.length, w = z(a), N = Ei(i), I = ni(i), D = vr(f), $ = await xt(f, m?.usePopupTemplateFieldsInfo), M = Le(f), P = lo(s, M.renderer);
|
|
27945
27946
|
for (const [V, W] of a.entries()) {
|
|
27946
27947
|
const G = z([W]), q = v[V];
|
|
27947
27948
|
q instanceof Ji && jy(q);
|
|
@@ -27956,7 +27957,7 @@ async function Ud(t) {
|
|
|
27956
27957
|
options: m,
|
|
27957
27958
|
dataWasUpdated: g,
|
|
27958
27959
|
fieldList: $,
|
|
27959
|
-
subtypeInfo:
|
|
27960
|
+
subtypeInfo: D,
|
|
27960
27961
|
sortChanged: p,
|
|
27961
27962
|
utilsStrings: x
|
|
27962
27963
|
}, ee = {
|
|
@@ -27973,7 +27974,7 @@ async function Ud(t) {
|
|
|
27973
27974
|
chart: e,
|
|
27974
27975
|
series: te,
|
|
27975
27976
|
seriesIndexMapper: o,
|
|
27976
|
-
seriesSymbolMapForEvent:
|
|
27977
|
+
seriesSymbolMapForEvent: F,
|
|
27977
27978
|
chartData: u,
|
|
27978
27979
|
showOutliers: i.showOutliers,
|
|
27979
27980
|
showMean: j,
|
|
@@ -27989,16 +27990,16 @@ async function Ud(t) {
|
|
|
27989
27990
|
case b.BarSeries:
|
|
27990
27991
|
sM({
|
|
27991
27992
|
...ee,
|
|
27992
|
-
stackedType:
|
|
27993
|
-
seriesSymbolMapForEvent:
|
|
27993
|
+
stackedType: I,
|
|
27994
|
+
seriesSymbolMapForEvent: F,
|
|
27994
27995
|
rotationChanged: r
|
|
27995
27996
|
});
|
|
27996
27997
|
break;
|
|
27997
27998
|
case b.LineSeries:
|
|
27998
27999
|
BO({
|
|
27999
28000
|
...ee,
|
|
28000
|
-
stackedType:
|
|
28001
|
-
seriesSymbolMapForEvent:
|
|
28001
|
+
stackedType: I,
|
|
28002
|
+
seriesSymbolMapForEvent: F,
|
|
28002
28003
|
rotationChanged: r
|
|
28003
28004
|
});
|
|
28004
28005
|
break;
|
|
@@ -28057,11 +28058,11 @@ async function Yd(t) {
|
|
|
28057
28058
|
gaugeInnerLabelFormatter: S,
|
|
28058
28059
|
usePopupTemplateFieldsInfo: x
|
|
28059
28060
|
} = a ?? {};
|
|
28060
|
-
let C, v,
|
|
28061
|
+
let C, v, F, T;
|
|
28061
28062
|
const { loaderElements: w, loaderHandle: N } = ND(i, a);
|
|
28062
28063
|
N.showLoader(l !== !0);
|
|
28063
|
-
const
|
|
28064
|
-
J(i.uid, { fieldList:
|
|
28064
|
+
const I = z(e.series), D = await xt(s, x);
|
|
28065
|
+
J(i.uid, { fieldList: D });
|
|
28065
28066
|
const {
|
|
28066
28067
|
valid: $,
|
|
28067
28068
|
invalidType: M,
|
|
@@ -28075,7 +28076,7 @@ async function Yd(t) {
|
|
|
28075
28076
|
abortKey: ho(i),
|
|
28076
28077
|
options: a,
|
|
28077
28078
|
errorStrings: r,
|
|
28078
|
-
fieldList:
|
|
28079
|
+
fieldList: D
|
|
28079
28080
|
});
|
|
28080
28081
|
J(i.uid, {
|
|
28081
28082
|
options: a,
|
|
@@ -28102,7 +28103,7 @@ async function Yd(t) {
|
|
|
28102
28103
|
config: e
|
|
28103
28104
|
}).updatedConfig;
|
|
28104
28105
|
const te = P && ee && "meanLines" in P ? P.meanLines : _;
|
|
28105
|
-
if (te !== void 0 &&
|
|
28106
|
+
if (te !== void 0 && I !== b.HistogramSeries) {
|
|
28106
28107
|
const { colorMatchApplied: Q, rendererFieldNames: Te } = await ms({
|
|
28107
28108
|
data: te,
|
|
28108
28109
|
queryObject: s,
|
|
@@ -28123,7 +28124,7 @@ async function Yd(t) {
|
|
|
28123
28124
|
else {
|
|
28124
28125
|
_ !== void 0 && (i.data = _);
|
|
28125
28126
|
const Q = H(e.series);
|
|
28126
|
-
|
|
28127
|
+
I === b.BoxPlotSeries && Q !== L.BoxPlotMonoField && Q !== L.BoxPlotMonoFieldAndSplitBy && (ra({ arrayToSort: i.data, chartConfig: e }), Vy({ chart: i, chartData: i.data, chartConfig: e }));
|
|
28127
28128
|
let Te;
|
|
28128
28129
|
i instanceof Re && (tb({
|
|
28129
28130
|
chart: i,
|
|
@@ -28172,16 +28173,16 @@ async function Yd(t) {
|
|
|
28172
28173
|
colorMatchApplied: wn(i, Ne)
|
|
28173
28174
|
}), Vm({ data: i.data, chartConfig: Ne, htmlContainer: i.htmlContainer })), T?.valid !== !1) {
|
|
28174
28175
|
const { title: wi, subtitle: oe, footer: Be, series: Ct, background: ct } = Ne;
|
|
28175
|
-
C = YB(i), cl(C, { title: wi, subtitle: oe }), v = XB(i), dl(v, Be),
|
|
28176
|
+
C = YB(i), cl(C, { title: wi, subtitle: oe }), v = XB(i), dl(v, Be), F = AO(i, Ct), JD(i);
|
|
28176
28177
|
const Xt = hi({ config: Ne }), Na = H(Ct);
|
|
28177
28178
|
J(i.uid, {
|
|
28178
28179
|
config: Ne,
|
|
28179
28180
|
isRotated: Xt,
|
|
28180
28181
|
isNonAggregatedChart: !mn(Na)
|
|
28181
|
-
}), Ne.axes !== void 0 && (await o$({ chart: i, axesConfig: Ne.axes, chartType:
|
|
28182
|
+
}), Ne.axes !== void 0 && (await o$({ chart: i, axesConfig: Ne.axes, chartType: I, isRotated: Xt, errorStrings: r }), await Gd({
|
|
28182
28183
|
chart: i,
|
|
28183
28184
|
chartConfig: Ne,
|
|
28184
|
-
chartType:
|
|
28185
|
+
chartType: I,
|
|
28185
28186
|
isRotated: Xt,
|
|
28186
28187
|
data: P,
|
|
28187
28188
|
queryObject: s,
|
|
@@ -28205,7 +28206,7 @@ async function Yd(t) {
|
|
|
28205
28206
|
seriesIndexMapper: q,
|
|
28206
28207
|
rotationChanged: !1,
|
|
28207
28208
|
queryObject: s,
|
|
28208
|
-
chartData:
|
|
28209
|
+
chartData: I === b.BoxPlotSeries ? lt : P,
|
|
28209
28210
|
groupOfSlicesWasUpdated: !0,
|
|
28210
28211
|
pieSlicesSymbols: Te,
|
|
28211
28212
|
dataWasUpdated: !0,
|
|
@@ -28213,7 +28214,7 @@ async function Yd(t) {
|
|
|
28213
28214
|
utilsStrings: o,
|
|
28214
28215
|
errorStrings: r
|
|
28215
28216
|
}), Md({
|
|
28216
|
-
legendElements:
|
|
28217
|
+
legendElements: F,
|
|
28217
28218
|
seriesConfig: Ct,
|
|
28218
28219
|
webChartLegend: Ne.legend,
|
|
28219
28220
|
pieChartLegendValueLabelFormatter: f
|
|
@@ -28226,7 +28227,7 @@ async function Yd(t) {
|
|
|
28226
28227
|
i.dateFormatter.intlLocales = Cs, s$(i, n?.enableResponsiveFeatures), (i instanceof Ut || po(i.series)) && (N.hideLoader(), os(i.htmlContainer)), ab(i);
|
|
28227
28228
|
}
|
|
28228
28229
|
}
|
|
28229
|
-
return { chartElements: C !== void 0 && v !== void 0 &&
|
|
28230
|
+
return { chartElements: C !== void 0 && v !== void 0 && F !== void 0 && w !== void 0 ? { headerElements: C, footerElements: v, legendElements: F, loaderHandle: N, loaderElements: w } : void 0, validationStatus: T };
|
|
28230
28231
|
}
|
|
28231
28232
|
function ob(t) {
|
|
28232
28233
|
t.series.each((e) => {
|
|
@@ -28334,7 +28335,7 @@ async function d$(t) {
|
|
|
28334
28335
|
BD(a.loaderElements, n), a.loaderHandle.showLoader(n?.hideLoaderAnimation !== !0);
|
|
28335
28336
|
const g = B(i.uid, "seriesFilteredOut"), p = B(i.uid, "unfilteredConfig"), y = B(i.uid, "config"), S = y?.series, x = e.series, C = z(x), v = hi({ config: e });
|
|
28336
28337
|
J(i.uid, { config: ze(e), isRotated: v });
|
|
28337
|
-
const { dataUpdateNeeded:
|
|
28338
|
+
const { dataUpdateNeeded: F, updateNeededDetails: T } = Or({
|
|
28338
28339
|
options: n,
|
|
28339
28340
|
forceDataUpdate: o,
|
|
28340
28341
|
oldConfig: g ? p : y,
|
|
@@ -28348,24 +28349,24 @@ async function d$(t) {
|
|
|
28348
28349
|
J(i.uid, { filterBySelection: n?.filterBySelection }), ul({ chart: i, actionMode: n?.actionMode, cursorRange: n?.cursorRange });
|
|
28349
28350
|
const { xOrYChanged: w } = T.common;
|
|
28350
28351
|
let { numberOfSeriesChanged: N } = T.common;
|
|
28351
|
-
const
|
|
28352
|
+
const I = qm(y, e), D = Gm(y, e), $ = Rx(y, e), M = Vx(y, e), P = JSON.stringify(nu(S)) !== JSON.stringify(nu(x)), V = Wx(y, e), W = zx(y, e), G = Rc(y, e), q = Vc({
|
|
28352
28353
|
oldConfig: g ? p : y,
|
|
28353
28354
|
newConfig: e,
|
|
28354
|
-
dataUpdateNeeded:
|
|
28355
|
+
dataUpdateNeeded: F
|
|
28355
28356
|
}), _ = Nm({
|
|
28356
28357
|
oldConfig: y,
|
|
28357
28358
|
newConfig: e,
|
|
28358
|
-
rotationChanged:
|
|
28359
|
+
rotationChanged: D
|
|
28359
28360
|
}), ee = _y({
|
|
28360
28361
|
chart: i,
|
|
28361
28362
|
dualAxisChanged: $,
|
|
28362
|
-
rotationChanged:
|
|
28363
|
-
timeIntervalInfoWasReset:
|
|
28363
|
+
rotationChanged: D,
|
|
28364
|
+
timeIntervalInfoWasReset: I,
|
|
28364
28365
|
axisLabelsBehaviorChanged: _
|
|
28365
28366
|
});
|
|
28366
28367
|
let te = !1, j, Q, Te = C !== b.BarSeries && C !== b.LineSeries && C !== b.ComboLineAndBarSeries && C !== b.HistogramSeries;
|
|
28367
28368
|
const lt = H(x);
|
|
28368
|
-
if (J(i.uid, { isNonAggregatedChart: !mn(lt) }),
|
|
28369
|
+
if (J(i.uid, { isNonAggregatedChart: !mn(lt) }), F) {
|
|
28369
28370
|
(o === !0 || Bx(T)) && J(i.uid, { binnedServerData: void 0 });
|
|
28370
28371
|
const {
|
|
28371
28372
|
count: oe,
|
|
@@ -28440,7 +28441,7 @@ async function d$(t) {
|
|
|
28440
28441
|
}
|
|
28441
28442
|
}
|
|
28442
28443
|
q && (ra({
|
|
28443
|
-
arrayToSort:
|
|
28444
|
+
arrayToSort: F ? Q ?? i.data : i.data,
|
|
28444
28445
|
chartConfig: e,
|
|
28445
28446
|
fieldList: B(i.uid, "fieldList"),
|
|
28446
28447
|
isTimeBinningSeries: ai({
|
|
@@ -28450,34 +28451,34 @@ async function d$(t) {
|
|
|
28450
28451
|
})
|
|
28451
28452
|
}), C === b.BoxPlotSeries && Vy({
|
|
28452
28453
|
chart: i,
|
|
28453
|
-
chartData:
|
|
28454
|
+
chartData: F ? Q ?? i.data : i.data,
|
|
28454
28455
|
chartConfig: e
|
|
28455
|
-
}),
|
|
28456
|
+
}), F || (i.validateData(), C === b.BoxPlotSeries && i.series.each((oe) => {
|
|
28456
28457
|
oe instanceof Se && !(oe instanceof Jt) && oe.id.includes(ve.Outliers) && oe.validateData();
|
|
28457
28458
|
})));
|
|
28458
|
-
const Yt =
|
|
28459
|
+
const Yt = F && j && "bins" in j ? j : void 0, Ne = j && "trendLinePoints" in j ? j : B(i.uid, "trendLineData");
|
|
28459
28460
|
j = {
|
|
28460
|
-
dataItems:
|
|
28461
|
+
dataItems: F ? Q ?? i.data : i.data,
|
|
28461
28462
|
timeIntervalInfo: B(i.uid, "timeIntervalInfo"),
|
|
28462
28463
|
meanLines: B(i.uid, "boxPlotMeanLinesData"),
|
|
28463
|
-
outliers:
|
|
28464
|
+
outliers: F ? j?.outliers : i.series.values.find((oe) => !(oe instanceof Jt) && oe instanceof Se)?.data,
|
|
28464
28465
|
trendLinePoints: Ne?.trendLinePoints,
|
|
28465
28466
|
r2: Ne?.r2,
|
|
28466
28467
|
...Yt
|
|
28467
|
-
}, (
|
|
28468
|
+
}, (F || q) && ha({ data: j, seriesConfig: e.series, htmlContainer: i.htmlContainer });
|
|
28468
28469
|
const yi = /* @__PURE__ */ new Map();
|
|
28469
28470
|
e.series.forEach((oe, Be) => {
|
|
28470
28471
|
yi.set(oe.id, Be);
|
|
28471
28472
|
});
|
|
28472
28473
|
const wi = nn({ chartConfig: e, queryObject: s });
|
|
28473
|
-
if (!
|
|
28474
|
+
if (!F || Te) {
|
|
28474
28475
|
const oe = Xe(e), Be = nb({
|
|
28475
28476
|
chart: i,
|
|
28476
28477
|
data: oe ? j : Q,
|
|
28477
28478
|
config: e,
|
|
28478
28479
|
hideEmptySeries: n?.hideEmptySeries ?? A.options.hideEmptySeries
|
|
28479
28480
|
});
|
|
28480
|
-
if (e = Be.updatedConfig, N = Be.seriesFilteredOut, (
|
|
28481
|
+
if (e = Be.updatedConfig, N = Be.seriesFilteredOut, (F || G) && C !== b.HistogramSeries) {
|
|
28481
28482
|
const ct = Xe(e), Xt = j && ct && "meanLines" in j ? j.meanLines : Q ?? i.data, { colorMatchApplied: Na, rendererFieldNames: Cs } = await ms({
|
|
28482
28483
|
data: Xt,
|
|
28483
28484
|
queryObject: s,
|
|
@@ -28491,8 +28492,8 @@ async function d$(t) {
|
|
|
28491
28492
|
})), e.axes !== void 0 && await Gd({
|
|
28492
28493
|
chart: i,
|
|
28493
28494
|
chartConfig: e,
|
|
28494
|
-
rotationChanged:
|
|
28495
|
-
timeIntervalInfoWasReset:
|
|
28495
|
+
rotationChanged: D,
|
|
28496
|
+
timeIntervalInfoWasReset: I,
|
|
28496
28497
|
axisLabelsBehaviorChanged: _,
|
|
28497
28498
|
chartType: C,
|
|
28498
28499
|
isRotated: v,
|
|
@@ -28507,7 +28508,7 @@ async function d$(t) {
|
|
|
28507
28508
|
const Ct = C === b.BoxPlotSeries && (Dx(x, S) || Ix(x, S));
|
|
28508
28509
|
(i.series === void 0 || i.series.length === 0 || w || N || Be.seriesFilteredOut || P || (C === b.BarSeries || C === b.LineSeries || C === b.RadarSeries || C === b.ComboLineAndBarSeries) && i.series.length !== e.series.length || C !== b.HistogramSeries && ee || M || // NOTE: This fix is here to resolve the issue: https://devtopia.esri.com/webgis/arcgis-charts/issues/6537
|
|
28509
28510
|
// TODO: find a better way to order legends for box plot with split by field rather than re-initializing the series in the future.
|
|
28510
|
-
Ct || T.boxPlot.showMeanChanged) && (!
|
|
28511
|
+
Ct || T.boxPlot.showMeanChanged) && (!F && (D || Ct || ee) && i.invalidateData(), await sb({
|
|
28511
28512
|
chart: i,
|
|
28512
28513
|
chartConfig: e,
|
|
28513
28514
|
hideLoaderHandle: a.loaderHandle.hideLoader,
|
|
@@ -28518,14 +28519,14 @@ async function d$(t) {
|
|
|
28518
28519
|
chart: i,
|
|
28519
28520
|
chartConfig: e,
|
|
28520
28521
|
seriesIndexMapper: yi,
|
|
28521
|
-
rotationChanged:
|
|
28522
|
+
rotationChanged: D,
|
|
28522
28523
|
seriesReordered: te,
|
|
28523
28524
|
outliersVisibilityChanged: V,
|
|
28524
28525
|
standardizeValuesVisibilityChanged: W,
|
|
28525
28526
|
queryObject: s,
|
|
28526
28527
|
chartData: j,
|
|
28527
28528
|
options: n,
|
|
28528
|
-
dataWasUpdated:
|
|
28529
|
+
dataWasUpdated: F,
|
|
28529
28530
|
sortChanged: q,
|
|
28530
28531
|
utilsStrings: r,
|
|
28531
28532
|
errorStrings: l
|
|
@@ -28574,7 +28575,7 @@ async function u$(t) {
|
|
|
28574
28575
|
if (m) {
|
|
28575
28576
|
const {
|
|
28576
28577
|
count: v,
|
|
28577
|
-
valid:
|
|
28578
|
+
valid: F,
|
|
28578
28579
|
invalidType: T,
|
|
28579
28580
|
data: w,
|
|
28580
28581
|
queryConfig: N
|
|
@@ -28586,7 +28587,7 @@ async function u$(t) {
|
|
|
28586
28587
|
abortKey: ho(e),
|
|
28587
28588
|
errorStrings: l
|
|
28588
28589
|
});
|
|
28589
|
-
S = w, J(e.uid, { elementCount: v, queryConfig: N, initialized:
|
|
28590
|
+
S = w, J(e.uid, { elementCount: v, queryConfig: N, initialized: F }), y = F, x = Wi(S), y ? x !== void 0 && RF(e.data, x) && (e.data = x, C = !0) : (await Sn({
|
|
28590
28591
|
chart: e,
|
|
28591
28592
|
invalidType: T,
|
|
28592
28593
|
elementCount: v,
|
|
@@ -28613,12 +28614,12 @@ async function u$(t) {
|
|
|
28613
28614
|
chartConfig: a,
|
|
28614
28615
|
fieldList: B(e.uid, "fieldList")
|
|
28615
28616
|
}), e.validateData());
|
|
28616
|
-
const
|
|
28617
|
+
const F = El({ oldConfig: d, newConfig: a }), T = Pm(d, a);
|
|
28617
28618
|
let w = await Wd({
|
|
28618
28619
|
chart: e,
|
|
28619
28620
|
chartConfig: a,
|
|
28620
28621
|
queryObject: n,
|
|
28621
|
-
labelUpdateNeeded: C ||
|
|
28622
|
+
labelUpdateNeeded: C || F || g || T,
|
|
28622
28623
|
usePopupTemplateFieldsInfo: o?.usePopupTemplateFieldsInfo,
|
|
28623
28624
|
utilsStrings: r
|
|
28624
28625
|
});
|
|
@@ -28639,26 +28640,26 @@ async function u$(t) {
|
|
|
28639
28640
|
errorStrings: l
|
|
28640
28641
|
});
|
|
28641
28642
|
c = N.newValidationStatus ?? c;
|
|
28642
|
-
const { alteredPieSlicesSymbols:
|
|
28643
|
-
w =
|
|
28643
|
+
const { alteredPieSlicesSymbols: I, alteredConfig: D } = N;
|
|
28644
|
+
w = I;
|
|
28644
28645
|
const $ = El({
|
|
28645
28646
|
oldConfig: a,
|
|
28646
|
-
newConfig:
|
|
28647
|
+
newConfig: D
|
|
28647
28648
|
});
|
|
28648
|
-
(m ||
|
|
28649
|
+
(m || F || $ || g || T) && Gr({
|
|
28649
28650
|
data: e.data,
|
|
28650
|
-
newChartConfig:
|
|
28651
|
+
newChartConfig: D,
|
|
28651
28652
|
pieSlicesSymbols: w,
|
|
28652
28653
|
fieldList: B(e.uid, "fieldList")
|
|
28653
28654
|
}), pi({
|
|
28654
28655
|
data: w,
|
|
28655
28656
|
htmlContainer: e.htmlContainer,
|
|
28656
28657
|
chartId: e.id,
|
|
28657
|
-
colorMatchApplied: wn(e,
|
|
28658
|
+
colorMatchApplied: wn(e, D)
|
|
28658
28659
|
}), await Ud({
|
|
28659
28660
|
chart: e,
|
|
28660
28661
|
queryObject: n,
|
|
28661
|
-
chartConfig:
|
|
28662
|
+
chartConfig: D,
|
|
28662
28663
|
seriesIndexMapper: /* @__PURE__ */ new Map(),
|
|
28663
28664
|
// pie chart won't use this
|
|
28664
28665
|
options: o,
|
|
@@ -28670,15 +28671,15 @@ async function u$(t) {
|
|
|
28670
28671
|
utilsStrings: r,
|
|
28671
28672
|
errorStrings: l
|
|
28672
28673
|
}), cl(i.headerElements, {
|
|
28673
|
-
title:
|
|
28674
|
-
subtitle:
|
|
28675
|
-
}), dl(i.footerElements,
|
|
28674
|
+
title: D.title,
|
|
28675
|
+
subtitle: D.subtitle
|
|
28676
|
+
}), dl(i.footerElements, D.footer), Md({
|
|
28676
28677
|
legendElements: i.legendElements,
|
|
28677
|
-
seriesConfig:
|
|
28678
|
-
webChartLegend:
|
|
28678
|
+
seriesConfig: D.series,
|
|
28679
|
+
webChartLegend: D.legend,
|
|
28679
28680
|
disableTogglingLegendItems: o?.disableTogglingLegendItems,
|
|
28680
28681
|
pieChartLegendValueLabelFormatter: o?.pieChartLegendValueLabelFormatter
|
|
28681
|
-
}), ll(e,
|
|
28682
|
+
}), ll(e, D.background), ul({ chart: e, actionMode: o?.actionMode, cursorRange: o?.cursorRange }), ib(e);
|
|
28682
28683
|
}
|
|
28683
28684
|
po(e.series) && (i.loaderHandle.hideLoader(), os(e.htmlContainer));
|
|
28684
28685
|
}
|
|
@@ -28704,8 +28705,8 @@ async function f$(t) {
|
|
|
28704
28705
|
count: T,
|
|
28705
28706
|
valid: w,
|
|
28706
28707
|
invalidType: N,
|
|
28707
|
-
data:
|
|
28708
|
-
queryConfig:
|
|
28708
|
+
data: I,
|
|
28709
|
+
queryConfig: D
|
|
28709
28710
|
} = await fs({
|
|
28710
28711
|
chartConfig: a,
|
|
28711
28712
|
queryObject: n,
|
|
@@ -28713,11 +28714,11 @@ async function f$(t) {
|
|
|
28713
28714
|
abortKey: ho(e),
|
|
28714
28715
|
errorStrings: l
|
|
28715
28716
|
});
|
|
28716
|
-
C =
|
|
28717
|
+
C = I, C?.dataItems !== void 0 && (e.data = C.dataItems), ha({
|
|
28717
28718
|
data: { dataItems: e.data },
|
|
28718
28719
|
seriesConfig: a.series,
|
|
28719
28720
|
htmlContainer: e.htmlContainer
|
|
28720
|
-
}), J(e.uid, { elementCount: T, queryConfig:
|
|
28721
|
+
}), J(e.uid, { elementCount: T, queryConfig: D, initialized: w }), w || (await Sn({
|
|
28721
28722
|
chart: e,
|
|
28722
28723
|
invalidType: N,
|
|
28723
28724
|
elementCount: T,
|
|
@@ -28736,11 +28737,11 @@ async function f$(t) {
|
|
|
28736
28737
|
errorStrings: l
|
|
28737
28738
|
});
|
|
28738
28739
|
g = v.newValidationStatus ?? g;
|
|
28739
|
-
const
|
|
28740
|
+
const F = v.alteredConfig;
|
|
28740
28741
|
if (g.valid) {
|
|
28741
|
-
|
|
28742
|
+
F.axes !== void 0 && await Gd({
|
|
28742
28743
|
chart: e,
|
|
28743
|
-
chartConfig:
|
|
28744
|
+
chartConfig: F,
|
|
28744
28745
|
chartType: S,
|
|
28745
28746
|
data: C,
|
|
28746
28747
|
queryObject: n,
|
|
@@ -28750,11 +28751,11 @@ async function f$(t) {
|
|
|
28750
28751
|
utilsStrings: r,
|
|
28751
28752
|
errorStrings: l
|
|
28752
28753
|
});
|
|
28753
|
-
const T = A.gauge, w = Number.isFinite(
|
|
28754
|
-
e.innerRadius = Ft(w), e.startAngle = N, e.endAngle =
|
|
28755
|
-
title:
|
|
28756
|
-
subtitle:
|
|
28757
|
-
}), dl(i.footerElements,
|
|
28754
|
+
const T = A.gauge, w = Number.isFinite(F?.innerRadius) ? F.innerRadius : T.innerRadius, N = Number.isFinite(F?.startAngle) ? F.startAngle : T.startAngle, I = Number.isFinite(F?.endAngle) ? F.endAngle : T.endAngle;
|
|
28755
|
+
e.innerRadius = Ft(w), e.startAngle = N, e.endAngle = I, cl(i.headerElements, {
|
|
28756
|
+
title: F.title,
|
|
28757
|
+
subtitle: F.subtitle
|
|
28758
|
+
}), dl(i.footerElements, F.footer), ll(e, F.background), J(e.uid, { config: ze(F) }), i.loaderHandle.hideLoader(), os(e.htmlContainer);
|
|
28758
28759
|
}
|
|
28759
28760
|
}
|
|
28760
28761
|
an(g, e.htmlContainer);
|
|
@@ -28823,7 +28824,7 @@ async function g$(t) {
|
|
|
28823
28824
|
Qb.delete(ho(m)), m.isDisposed() || (lD(m), g !== void 0 && (g.loaderHandle.hideLoader(), f.chartElements = void 0), m.dispose());
|
|
28824
28825
|
}
|
|
28825
28826
|
async function y(T) {
|
|
28826
|
-
const { newConfig: w, forceDataUpdate: N, updateOptions:
|
|
28827
|
+
const { newConfig: w, forceDataUpdate: N, updateOptions: I } = T, { utilsStrings: D } = T, $ = B(m.uid, "initialized"), M = B(m.uid, "config"), P = w?.series, V = P !== void 0 ? z(P) : void 0;
|
|
28827
28828
|
if (m.isDisposed() || g === void 0 || $ === !1 || !Bm(M, w))
|
|
28828
28829
|
throw new fn(un.ChartDisposed);
|
|
28829
28830
|
switch (V) {
|
|
@@ -28839,8 +28840,8 @@ async function g$(t) {
|
|
|
28839
28840
|
queryObject: u,
|
|
28840
28841
|
newConfig: w,
|
|
28841
28842
|
forceDataUpdate: N,
|
|
28842
|
-
options:
|
|
28843
|
-
utilsStrings:
|
|
28843
|
+
options: I,
|
|
28844
|
+
utilsStrings: D,
|
|
28844
28845
|
errorStrings: o
|
|
28845
28846
|
});
|
|
28846
28847
|
break;
|
|
@@ -28851,8 +28852,8 @@ async function g$(t) {
|
|
|
28851
28852
|
queryObject: u,
|
|
28852
28853
|
forceDataUpdate: N,
|
|
28853
28854
|
newConfig: w,
|
|
28854
|
-
options:
|
|
28855
|
-
utilsStrings:
|
|
28855
|
+
options: I,
|
|
28856
|
+
utilsStrings: D,
|
|
28856
28857
|
errorStrings: o
|
|
28857
28858
|
});
|
|
28858
28859
|
break;
|
|
@@ -28863,19 +28864,19 @@ async function g$(t) {
|
|
|
28863
28864
|
newConfig: w,
|
|
28864
28865
|
queryObject: u,
|
|
28865
28866
|
forceDataUpdate: N,
|
|
28866
|
-
options:
|
|
28867
|
-
utilsStrings:
|
|
28867
|
+
options: I,
|
|
28868
|
+
utilsStrings: D,
|
|
28868
28869
|
errorStrings: o
|
|
28869
28870
|
});
|
|
28870
28871
|
break;
|
|
28871
28872
|
}
|
|
28872
28873
|
}
|
|
28873
28874
|
async function S(T) {
|
|
28874
|
-
const { layerUpdate: w, newConfig: N, viewUpdate:
|
|
28875
|
-
N && (w !== void 0 || _i(N)) && (u = await Yn({ layer: w, view:
|
|
28875
|
+
const { layerUpdate: w, newConfig: N, viewUpdate: I } = T;
|
|
28876
|
+
N && (w !== void 0 || _i(N)) && (u = await Yn({ layer: w, view: I, chartConfig: N }), J(m.uid, { queryObject: u }));
|
|
28876
28877
|
}
|
|
28877
28878
|
async function x(T) {
|
|
28878
|
-
const { newChartConfig: w, updateOptions: N, updateGlobalOptions:
|
|
28879
|
+
const { newChartConfig: w, updateOptions: N, updateGlobalOptions: I, t9nStrings: D } = T, { errorStrings: $, utilsStrings: M } = D;
|
|
28879
28880
|
e == null && await en("divNode", $);
|
|
28880
28881
|
const { layer: P, view: V, dataUpdated: W } = N ?? {}, G = !zf(e), q = await xt(u, n?.usePopupTemplateFieldsInfo);
|
|
28881
28882
|
J(m.uid, { chartWasUpdatedWhileHidden: G, options: N, fieldList: q });
|
|
@@ -28901,18 +28902,18 @@ async function g$(t) {
|
|
|
28901
28902
|
}
|
|
28902
28903
|
function v(T, w, N) {
|
|
28903
28904
|
m.modal !== void 0 && !m.isDisposed() && (m.modal.closable = N?.closable ?? !1, T !== void 0 ? (m.modal.events.once(E.Opened, () => {
|
|
28904
|
-
const
|
|
28905
|
-
|
|
28905
|
+
const I = m.modal?.elements?.title?.parentElement;
|
|
28906
|
+
I instanceof HTMLElement && m.modal?.elements?.title?.innerText.length === 0 && (I.style.visibility = "hidden");
|
|
28906
28907
|
}), m.openModal(T, w)) : m.closeModal());
|
|
28907
28908
|
}
|
|
28908
|
-
function
|
|
28909
|
+
function F() {
|
|
28909
28910
|
mr(m);
|
|
28910
28911
|
}
|
|
28911
28912
|
return {
|
|
28912
28913
|
update: x,
|
|
28913
28914
|
dispose: p,
|
|
28914
28915
|
notify: v,
|
|
28915
|
-
resetZoom:
|
|
28916
|
+
resetZoom: F,
|
|
28916
28917
|
clearSelection: () => xs({ chart: m }),
|
|
28917
28918
|
switchSelection: C,
|
|
28918
28919
|
exportImage: async (T) => await cD({ chart: m, exportOptions: T }),
|
|
@@ -29036,7 +29037,7 @@ async function Yf(t, e, i) {
|
|
|
29036
29037
|
const s = e.series.length === 0;
|
|
29037
29038
|
e.series.length === 0 && n !== void 0 && e.series.push(n);
|
|
29038
29039
|
const o = H(e.series);
|
|
29039
|
-
if (o ===
|
|
29040
|
+
if (o === L.BoxPlotMonoFieldAndSplitBy || o === L.BoxPlotMultiFieldsAndSplitBy || o === L.BoxPlotMonoFieldAndCategoryAndSplitBy || o === L.BarAndLineSplitBy || o === L.BarAndLineSplitByNoAggregation) {
|
|
29040
29041
|
const r = await Yn({
|
|
29041
29042
|
chartConfig: e,
|
|
29042
29043
|
layer: t.layer,
|