@arcgis/charts-components 5.0.0-next.12 → 5.0.0-next.13
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/{STMOAC2M.js → 23ZMWSAR.js} +2 -2
- package/dist/cdn/{JZ4MUN6S.js → 2DZVA65I.js} +2 -2
- package/dist/cdn/{7NQBB57M.js → 2IQVM3N4.js} +2 -2
- package/dist/cdn/{WO2Z2LJQ.js → 2KGRZS4B.js} +2 -2
- package/dist/cdn/{GR2YDGSB.js → 2KZRELLP.js} +2 -2
- package/dist/cdn/{IPO64FZF.js → 2ROUX6TO.js} +2 -2
- package/dist/cdn/{ZPQJ4OHR.js → 2WY5I7MT.js} +2 -2
- package/dist/cdn/{LL3DJZYY.js → 2YKNEYVJ.js} +2 -2
- package/dist/cdn/{AG63GBD4.js → 3YGBJRGR.js} +2 -2
- package/dist/cdn/{M6JQULWR.js → 427SAJZF.js} +2 -2
- package/dist/cdn/{RTDUUVHQ.js → 44RLTQMQ.js} +2 -2
- package/dist/cdn/{VBPIBHRL.js → 4CS3FR2O.js} +2 -2
- package/dist/cdn/{ETEJECER.js → 4LWVC4DU.js} +2 -2
- package/dist/cdn/{BXEYZKCK.js → 4PIDVK66.js} +2 -2
- package/dist/cdn/{AKGFWH5D.js → 4ZMMW6TF.js} +2 -2
- package/dist/cdn/{5I4UMBK4.js → 54ZLBQBJ.js} +2 -2
- package/dist/cdn/{ZQQSRS5N.js → 57635DD6.js} +2 -2
- package/dist/cdn/{SMLIAVED.js → 5EI4WAME.js} +2 -2
- package/dist/cdn/{BQK5ZYBJ.js → 5P7UJ6TT.js} +2 -2
- package/dist/cdn/{HWTRDFNM.js → 5S67JF46.js} +2 -2
- package/dist/cdn/{OKM3TERJ.js → 5YKE32ZS.js} +2 -2
- package/dist/cdn/{SVGOJZWQ.js → 6D4POUHT.js} +2 -2
- package/dist/cdn/{ZZUXTTIM.js → 6H2Z22XB.js} +2 -2
- package/dist/cdn/{HPV6VPJO.js → 6LPANFJT.js} +2 -2
- package/dist/cdn/{GUOEC2KW.js → 6UOH6XYF.js} +22 -22
- package/dist/cdn/{HVLM6CNI.js → 6YKFHI43.js} +2 -2
- package/dist/cdn/{TIFA2X4Z.js → 76KBTH62.js} +2 -2
- package/dist/cdn/{OY3LIXLM.js → 7CWODO7C.js} +2 -2
- package/dist/cdn/{KMGG327W.js → 7DWESA4W.js} +2 -2
- package/dist/cdn/{5Z7UMLPL.js → 7HF3N6H5.js} +1 -1
- package/dist/cdn/{RVC7X533.js → 7LU6ZBNR.js} +2 -2
- package/dist/cdn/{EECTIMWO.js → 7MECPUCX.js} +2 -2
- package/dist/cdn/{AYQOIEGG.js → 7NIFGXTS.js} +2 -2
- package/dist/cdn/{STNAE3OA.js → 7PTJ4CQ2.js} +2 -2
- package/dist/cdn/{2OXTTDB4.js → 7RYUYLI3.js} +2 -2
- package/dist/cdn/{VAWSAPOU.js → 7USOFA4I.js} +2 -2
- package/dist/cdn/{AG5QFTCY.js → 7VPD6BTC.js} +2 -2
- package/dist/cdn/{UL4KVAYS.js → 7XMX5OUC.js} +2 -2
- package/dist/cdn/{SKAUGJF4.js → 7YLL4R7C.js} +2 -2
- package/dist/cdn/{JAQB6CAY.js → A2RVATQV.js} +2 -2
- package/dist/cdn/{MKLHHQDW.js → AAKHKOUQ.js} +2 -2
- package/dist/cdn/{HKAFIYXH.js → AN3Z3DED.js} +2 -2
- package/dist/cdn/{GHBELWWV.js → ATPRZA2E.js} +2 -2
- package/dist/cdn/{XMVL337M.js → AZ2CKUL5.js} +2 -2
- package/dist/cdn/{3NIZ4BN4.js → B7B2F3VL.js} +2 -2
- package/dist/cdn/{33GIYOKG.js → BBIMUCPL.js} +2 -2
- package/dist/cdn/{OAI4TB6K.js → BI23P3P2.js} +2 -2
- package/dist/cdn/{64SVF7GP.js → BSIWCTLU.js} +2 -2
- package/dist/cdn/{YPZWBASE.js → BVAJGX2B.js} +2 -2
- package/dist/cdn/{OZXWI5SO.js → BY5HY7B3.js} +1 -1
- package/dist/cdn/{BA3R2UGR.js → BZLAVNQJ.js} +2 -2
- package/dist/cdn/{65E6A2OO.js → C5F3ZQKM.js} +2 -2
- package/dist/cdn/{TVVC65FJ.js → CGBFYWHG.js} +2 -2
- package/dist/cdn/{KTPQKBVU.js → CMJ6MWSF.js} +2 -2
- package/dist/cdn/{AADNTWG6.js → CXKIS5FH.js} +2 -2
- package/dist/cdn/{TUGHNK3D.js → D47UATDE.js} +2 -2
- package/dist/cdn/{G2E7M5DL.js → DEWKTZZP.js} +2 -2
- package/dist/cdn/{JVXLHPIT.js → DOPFX4SB.js} +2 -2
- package/dist/cdn/{HCUYSWSJ.js → DY5GHRDF.js} +2 -2
- package/dist/cdn/{ERIN6JQ5.js → DYK7JCLK.js} +2 -2
- package/dist/cdn/{KHZGJ6EJ.js → E5TUJCXM.js} +2 -2
- package/dist/cdn/{VXDIAOEX.js → EDNENDTJ.js} +2 -2
- package/dist/cdn/{OP5YQOKF.js → EEEGEZOI.js} +2 -2
- package/dist/cdn/{YQAOOVTO.js → EFUADL5X.js} +2 -2
- package/dist/cdn/{3W3TWGQH.js → EH5J64LO.js} +2 -2
- package/dist/cdn/{Q4J5F5KF.js → EKNBAJH5.js} +2 -2
- package/dist/cdn/{22IB55EB.js → ERLIW3HZ.js} +2 -2
- package/dist/cdn/{UKCTNQYO.js → EXGXS6IC.js} +2 -2
- package/dist/cdn/F3CH7OY3.js +4 -0
- package/dist/cdn/{RPA6PPH2.js → FBZQGW5A.js} +2 -2
- package/dist/cdn/FSBBCC67.js +4 -0
- package/dist/cdn/{JNOAFULY.js → FWDO34DM.js} +2 -2
- package/dist/cdn/{W6PGLPBY.js → FX6JGERW.js} +2 -2
- package/dist/cdn/{5UWN34G6.js → G2EJYYKN.js} +2 -2
- package/dist/cdn/{2C3MKHKR.js → GXW3BGAY.js} +2 -2
- package/dist/cdn/{F72SPKP6.js → GZVDZDHR.js} +2 -2
- package/dist/cdn/{XZ7YSCBL.js → H3YN4BEX.js} +2 -2
- package/dist/cdn/{B7RB5ZSV.js → H7V6VO3C.js} +2 -2
- package/dist/cdn/{UOPASKCG.js → HMSQ5QXL.js} +2 -2
- package/dist/cdn/{HOFVTVUG.js → HROS2OSX.js} +2 -2
- package/dist/cdn/{7Z2AGBY3.js → I4T6G5TR.js} +2 -2
- package/dist/cdn/{BOPXZV2B.js → I7GRDKGE.js} +2 -2
- package/dist/cdn/{LNTBMXGZ.js → IJ75KTR2.js} +2 -2
- package/dist/cdn/{VX7NI77V.js → ILWDMLET.js} +2 -2
- package/dist/cdn/{NJEE2YX3.js → IOWSM6YZ.js} +1 -1
- package/dist/cdn/{B7RYRRNX.js → IS2ZJXGX.js} +2 -2
- package/dist/cdn/{5OLA4ZRE.js → IUQM7NTE.js} +2 -2
- package/dist/cdn/{RLMD2QSH.js → IVT62N2K.js} +1 -1
- package/dist/cdn/{UXPU4Y2J.js → J5FNKHCP.js} +2 -2
- package/dist/cdn/{OXUH3KV5.js → J65EAWEH.js} +2 -2
- package/dist/cdn/{XCCFBZWO.js → JBGSJHAT.js} +1 -1
- package/dist/cdn/{3JZ44T2W.js → JMNJEVGH.js} +2 -2
- package/dist/cdn/{7YJIUSST.js → JZQVT4V2.js} +2 -2
- package/dist/cdn/{BCL33Z7L.js → K3JAT7M5.js} +2 -2
- package/dist/cdn/{BI2C4GOI.js → KA2Z5KD6.js} +2 -2
- package/dist/cdn/{GN5UM7AR.js → KCVWQ2SH.js} +2 -2
- package/dist/cdn/{IZNICEPC.js → KNW7ZMCD.js} +2 -2
- package/dist/cdn/{XLVY443C.js → KVCJQCE6.js} +2 -2
- package/dist/cdn/{2SWDLR7G.js → KXHUKCOP.js} +2 -2
- package/dist/cdn/{OVDBSOMI.js → KZKGOGEM.js} +2 -2
- package/dist/cdn/{VHZGCXHC.js → LBK2USAQ.js} +2 -2
- package/dist/cdn/{TCQRJQOM.js → LJE2DEA2.js} +2 -2
- package/dist/cdn/{BIONU7A4.js → LSJO3ECB.js} +2 -2
- package/dist/cdn/{NENCSBWP.js → LYFUTZMU.js} +2 -2
- package/dist/cdn/M4SEBR7O.js +4 -0
- package/dist/cdn/{U4UMDYKQ.js → MCO2TTQL.js} +2 -2
- package/dist/cdn/{56JQI4D2.js → MDIIJDZN.js} +2 -2
- package/dist/cdn/{KS2XUMT7.js → MMYQI55D.js} +2 -2
- package/dist/cdn/{JFJVRDN2.js → MO73QHYP.js} +2 -2
- package/dist/cdn/{MYHIOBRJ.js → MPEI7RJI.js} +2 -2
- package/dist/cdn/{SOUD6I5A.js → MUQATTSO.js} +2 -2
- package/dist/cdn/{NGOKMUHU.js → MVSS7SGU.js} +2 -2
- package/dist/cdn/{ZDEWHMLB.js → MZARUXMD.js} +2 -2
- package/dist/cdn/{7FTRD5WA.js → MZD74T66.js} +2 -2
- package/dist/cdn/{UMSRV2K4.js → N7AQDPB7.js} +2 -2
- package/dist/cdn/{FYZNX663.js → NIXAGKKC.js} +2 -2
- package/dist/cdn/{2S2W3AHP.js → O23FJD3R.js} +2 -2
- package/dist/cdn/{64T7WSPH.js → O3LDD74B.js} +2 -2
- package/dist/cdn/{RAAO4LTQ.js → OKQ7WM2R.js} +2 -2
- package/dist/cdn/{NIC2FQFP.js → OMVTQEIR.js} +1 -1
- package/dist/cdn/{A6RAU3DT.js → OQIATH7G.js} +2 -2
- package/dist/cdn/{JJVF47IJ.js → OYHO4BOA.js} +2 -2
- package/dist/cdn/{KMGGRJY3.js → OZTDCWOR.js} +2 -2
- package/dist/cdn/{ZMTBJMWN.js → PDKJGDKZ.js} +2 -2
- package/dist/cdn/{ORZOPEOT.js → PEH65QC7.js} +2 -2
- package/dist/cdn/{ZN2GO7FR.js → PHWXS4LW.js} +2 -2
- package/dist/cdn/{I5YHSYQS.js → PJH6WBIF.js} +2 -2
- package/dist/cdn/{GUTOSBOV.js → PR34OOND.js} +1 -1
- package/dist/cdn/{BSC3HMLF.js → PUPFEXOY.js} +2 -2
- package/dist/cdn/{K6YBXQFQ.js → Q4DN7TK6.js} +2 -2
- package/dist/cdn/{EHJ3WL66.js → Q4HFSM5X.js} +2 -2
- package/dist/cdn/{YRC3SBCB.js → QBVWXU32.js} +2 -2
- package/dist/cdn/{B65MBETP.js → QC6RA53Y.js} +2 -2
- package/dist/cdn/{BSBBZAFU.js → QEKWSEYR.js} +2 -2
- package/dist/cdn/{6KG7OWXY.js → QLSUV3MA.js} +2 -2
- package/dist/cdn/{E27H2XY7.js → QLYDF2JV.js} +2 -2
- package/dist/cdn/{QJDOU4OX.js → QOMAKSSC.js} +2 -2
- package/dist/cdn/{MAQ3BQBQ.js → QSEN63RJ.js} +2 -2
- package/dist/cdn/{DL463G3N.js → R4556EWJ.js} +1 -1
- package/dist/cdn/{RYVUHOFA.js → RFBF27WR.js} +2 -2
- package/dist/cdn/{DH2NSV4P.js → RKBXEX2I.js} +2 -2
- package/dist/cdn/{OQNIAWXM.js → RMMOG7AZ.js} +2 -2
- package/dist/cdn/{AVUD3TS3.js → SCJHQJWS.js} +2 -2
- package/dist/cdn/{DH4V3K32.js → TF5SSMI5.js} +2 -2
- package/dist/cdn/{UJS6GFEO.js → THOFTDTR.js} +2 -2
- package/dist/cdn/{DEIX6GIQ.js → TMTC7FJZ.js} +2 -2
- package/dist/cdn/{VRFM5JOQ.js → TMU3LLUA.js} +2 -2
- package/dist/cdn/{EU4QSJBL.js → TQWAXPE6.js} +2 -2
- package/dist/cdn/{6H755NF6.js → UB23KURL.js} +2 -2
- package/dist/cdn/{C6A6MGAY.js → UGSXATIJ.js} +2 -2
- package/dist/cdn/{SJCFW5C2.js → ULTLJ2O4.js} +2 -2
- package/dist/cdn/{3HDMN2HJ.js → UVHLCTSW.js} +2 -2
- package/dist/cdn/{IREM73Z4.js → UVTVCANZ.js} +2 -2
- package/dist/cdn/{4JIZKUME.js → V6BSO4HF.js} +2 -2
- package/dist/cdn/{JC2EN7UR.js → VCFQ5BLB.js} +2 -2
- package/dist/cdn/{GV4LDHU3.js → VHOIHI3V.js} +2 -2
- package/dist/cdn/{OW2RBVIX.js → VK6HZU5V.js} +2 -2
- package/dist/cdn/{6QYVP6ES.js → VLCMD5G6.js} +2 -2
- package/dist/cdn/{5YSV2K7R.js → VPVWXLLC.js} +2 -2
- package/dist/cdn/{EXHTMS6X.js → VXK3XGG5.js} +2 -2
- package/dist/cdn/{C55MEH5I.js → VXOBVGAM.js} +2 -2
- package/dist/cdn/{OEXIDIAB.js → W345BUVZ.js} +2 -2
- package/dist/cdn/{YKVUAVYM.js → WDFVR55Y.js} +2 -2
- package/dist/cdn/{QTIKZWJY.js → WSALX4ON.js} +2 -2
- package/dist/cdn/{EXEYTQUM.js → WUGCEQ3O.js} +2 -2
- package/dist/cdn/{NSR7MQVM.js → X4ADIM5L.js} +2 -2
- package/dist/cdn/{74ZFZ6O2.js → XCIEWMIP.js} +2 -2
- package/dist/cdn/{BVMXKDIA.js → XLH3FKVE.js} +2 -2
- package/dist/cdn/{OK66ZTMY.js → XQ3WKZR4.js} +2 -2
- package/dist/cdn/{YSICO7J3.js → XQJTQYO3.js} +2 -2
- package/dist/cdn/{6GTYZKJ5.js → XZGAMPZE.js} +2 -2
- package/dist/cdn/{MJEZRDLA.js → Y7QUHFB5.js} +2 -2
- package/dist/cdn/{LK4QUAWM.js → YCQM2VBR.js} +2 -2
- package/dist/cdn/{RZJV3MLI.js → YIVZNNY7.js} +2 -2
- package/dist/cdn/{XBJL7LFX.js → YKGO4QBT.js} +2 -2
- package/dist/cdn/{UD73TXFE.js → YQDON6CP.js} +1 -1
- package/dist/cdn/{L4K6PVG6.js → YVJ4R5D3.js} +1 -1
- package/dist/cdn/{HNJC2DDD.js → Z4NIAXRJ.js} +2 -2
- package/dist/cdn/{LNXCZDFF.js → Z7JZNXHI.js} +2 -2
- package/dist/cdn/{VYLCP4LD.js → ZMYBIPRW.js} +2 -2
- package/dist/cdn/{H3EX6WII.js → ZO2YQVMD.js} +2 -2
- package/dist/cdn/{EAYNJ5AO.js → ZRLBIR7S.js} +2 -2
- package/dist/cdn/index.js +2 -2
- package/dist/chart-rendering/common/defaults/interfaces.d.ts +3 -6
- package/dist/chart-rendering/common/symbols/utils/index.d.ts +9 -0
- package/dist/chart-rendering/next/chart-library-elements/symbols/utils/property-map/index.d.ts +1 -9
- package/dist/chart-rendering/stable/chart-library-elements/symbols/utils/property-map/index.d.ts +1 -9
- package/dist/chunks/action-bar-utils.js +1 -1
- package/dist/chunks/axis-model-wrapper.js +1 -1
- package/dist/chunks/bar-chart-model.js +1 -1
- package/dist/chunks/bar-chart-series.js +1 -1
- package/dist/chunks/baseline-stacking.js +1 -1
- package/dist/chunks/bg_BG.js +1 -1
- package/dist/chunks/bg_BG2.js +1 -1
- package/dist/chunks/box-plot-data.js +1 -1
- package/dist/chunks/box-plot-model.js +1 -1
- package/dist/chunks/chart-ui-utils.js +1 -1
- package/dist/chunks/chart-ui-utils2.js +1 -1
- package/dist/chunks/combo-bar-line-chart-model.js +1 -1
- package/dist/chunks/common.js +1 -1
- package/dist/chunks/config-update.js +315 -312
- package/dist/chunks/data.js +1 -1
- package/dist/chunks/default.js +1 -1
- package/dist/chunks/gauge-model.js +1 -1
- package/dist/chunks/heat-chart-model.js +131 -53
- package/dist/chunks/histogram-data.js +1 -1
- package/dist/chunks/histogram-model.js +1 -1
- package/dist/chunks/index.js +1 -1
- package/dist/chunks/index2.js +1 -1
- package/dist/chunks/index3.js +1 -1
- package/dist/chunks/index4.js +1 -1
- package/dist/chunks/index5.js +1 -1
- package/dist/chunks/interfaces.js +1 -1
- package/dist/chunks/interfaces2.js +1 -1
- package/dist/chunks/interfaces3.js +1 -1
- package/dist/chunks/interfaces4.js +5 -7
- package/dist/chunks/line-chart-model.js +1 -1
- package/dist/chunks/model-with-baseline-stacking.js +1 -1
- package/dist/chunks/model-with-data-labels.js +1 -1
- package/dist/chunks/model-with-multi-axes.js +1 -1
- package/dist/chunks/model-with-rotation.js +1 -1
- package/dist/chunks/pie-chart-data.js +1 -1
- package/dist/chunks/pie-chart-model.js +1 -1
- package/dist/chunks/popover-ui-utils.js +1 -1
- package/dist/chunks/radar-chart-model.js +1 -1
- package/dist/chunks/resource.js +1 -1
- package/dist/chunks/rest-js-object-literals.js +1 -1
- package/dist/chunks/runtime.js +1 -1
- package/dist/chunks/scatterplot-model.js +1 -1
- package/dist/chunks/serial-chart-model.js +1 -1
- package/dist/chunks/series-types.js +1 -1
- package/dist/chunks/series.js +1 -1
- package/dist/chunks/sk_SK.js +1 -1
- package/dist/chunks/store.js +1 -1
- package/dist/chunks/type-guards.js +1 -1
- package/dist/chunks/useT9n.js +1 -1
- package/dist/chunks/web-component-utils.js +1 -1
- package/dist/components/arcgis-chart/customElement.js +3222 -3247
- package/dist/components/arcgis-charts-action-bar/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-axes/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-axis/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-bar-chart/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-bar-chart-data/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-bar-chart-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-bar-chart-series/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-bar-chart-series-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-box-plot/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-box-plot-data/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-box-plot-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-box-plot-series/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-box-plot-series-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-category-format/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-chart-rename-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-color-style/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-colors/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-create-flow/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-field-select/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-font-style/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-format/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-format-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-general/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-guide/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-guide-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-guides/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-guides-type-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-histogram/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-histogram-data/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-histogram-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-invalid-input-message/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-line-chart/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-line-chart-data/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-line-chart-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-line-chart-series/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-line-chart-series-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-line-style/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-number-format/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-pie-chart/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-pie-chart-data/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-pie-chart-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-pie-chart-slices/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-pie-chart-slices-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-scatter-plot/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-scatter-plot-data/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-scatter-plot-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-select-chart-type-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-view-charts/customElement.js +1 -1
- package/dist/docs/api.json +2 -2
- package/dist/docs/docs.json +2 -2
- package/dist/docs/web-types.json +1 -1
- package/dist/index.js +1 -1
- package/dist/loader.js +1 -1
- package/dist/model/heat-chart-model/heat-chart-model.d.ts +60 -5
- package/dist/model/heat-chart-model/utils/heat-chart-data.d.ts +24 -2
- package/dist/model.js +1 -1
- package/package.json +3 -3
- package/dist/cdn/5E5Z2QMR.js +0 -4
- package/dist/cdn/BTW7QYPY.js +0 -4
- package/dist/cdn/JDGI6HGG.js +0 -4
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { W as S, d as Ii, u as W, m as re, b as _, g as me, t as be, e as ke, a as P, n as G, i as j, S as zt, o as $i } from "./series-types.js";
|
|
2
2
|
import "@arcgis/toolkit/intl";
|
|
3
|
-
import { cloneDeep as
|
|
3
|
+
import { cloneDeep as Me, isArray as vt, isEmpty as Ri, isEqual as Pe, sortBy as Ot } from "lodash-es";
|
|
4
4
|
import { extent as ki, mean as ji, max as Wi, min as Qi, sum as Hi, rollup as zi } from "d3-array";
|
|
5
|
-
import { b5 as pt, cz as p, p as
|
|
5
|
+
import { b5 as pt, cz as p, p as E, c8 as Gt, c4 as z, a5 as Ut, B as _t, d as ne, a as he, T as Y, cl as lt, b3 as $e, H as se, r as oe, q as ve, bc as We, aU as Re, a1 as nt, S as xe, cf as ht, cj as ee, l as ge, cq as Gi, c9 as qt, cb as Yt, N as V, k as K, F as U, a3 as k, cu as Kt, D as $, bU as Ui, I as Nt, bz as ye, bH as Q, E as _i, i as we, z as je, cc as Et, aV as Ue, m as Tt, b9 as Ne, c0 as Qe, a2 as Jt, cC as Yi, A as Xt, ce as Se, by as _e, bL as Ki, b_ as Ji, b6 as Vt, R as Xi, bj as Zt, bw as Zi, bk as ea, bY as ta, bZ as ei, bs as ia, ck as mt, c2 as aa, b7 as na, bt as ra, U as sa, n as Fe, bN as ti, bA as oa, bn as ii, bB as la, bC as ca, cB as ae, Q as ua, P as It, bD as ai, bV as da, bv as fa, bh as ni, bu as ma, bx as ga, bf as ya, bi as pa, X as ri, b8 as ha } from "./interfaces.js";
|
|
6
6
|
import "@arcgis/core/geometry/support/jsonUtils.js";
|
|
7
7
|
import "@arcgis/core/rest/support/AttributeBinsQuery.js";
|
|
8
8
|
import "@arcgis/core/rest/support/Query.js";
|
|
@@ -28,7 +28,7 @@ import { c as Aa } from "./index.js";
|
|
|
28
28
|
import { h as Pa } from "./index4.js";
|
|
29
29
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
30
30
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
31
|
-
v5.0.0-next.
|
|
31
|
+
v5.0.0-next.13 */
|
|
32
32
|
async function La(i, e) {
|
|
33
33
|
const t = e.errors[i];
|
|
34
34
|
throw new pt(e.modalHeaders.error, t ?? e.errors.simpleError);
|
|
@@ -73,10 +73,10 @@ function Oa(i) {
|
|
|
73
73
|
function qa(i) {
|
|
74
74
|
return (fe(i?.[0]?.valueFormat) || Ae(i?.[0]?.valueFormat)) && J(i?.[1]?.valueFormat);
|
|
75
75
|
}
|
|
76
|
-
function
|
|
76
|
+
function Ea(i) {
|
|
77
77
|
return J(i?.[0]?.valueFormat) && J(i?.[1]?.valueFormat);
|
|
78
78
|
}
|
|
79
|
-
function
|
|
79
|
+
function Va(i) {
|
|
80
80
|
return J(i?.[0]?.valueFormat) && J(i?.[1]?.valueFormat);
|
|
81
81
|
}
|
|
82
82
|
function Ia(i) {
|
|
@@ -90,10 +90,10 @@ async function uo(i) {
|
|
|
90
90
|
n = Ia, r = "invalidValueFormatForGauge";
|
|
91
91
|
break;
|
|
92
92
|
case S.ScatterSeries:
|
|
93
|
-
n =
|
|
93
|
+
n = Ea, r = "invalidValueFormatForScatterplot";
|
|
94
94
|
break;
|
|
95
95
|
case S.HistogramSeries:
|
|
96
|
-
n =
|
|
96
|
+
n = Va, r = "invalidValueFormatForHistogram";
|
|
97
97
|
break;
|
|
98
98
|
case S.LineSeries:
|
|
99
99
|
n = Ma, r = "invalidValueFormatForLineChart";
|
|
@@ -217,7 +217,7 @@ function St(i, e) {
|
|
|
217
217
|
function go(i) {
|
|
218
218
|
const { chartConfig: e, queryObject: t, chartData: a } = i;
|
|
219
219
|
let n = [];
|
|
220
|
-
const r =
|
|
220
|
+
const r = E(e.series), s = Gt(e), o = z(t), c = e.chartRenderer ?? o?.renderer?.toJSON();
|
|
221
221
|
return n = e.series.map((l, u) => {
|
|
222
222
|
const d = W([l]);
|
|
223
223
|
let f;
|
|
@@ -234,7 +234,7 @@ function Ft(i) {
|
|
|
234
234
|
return i !== p.PieNoAggregation && i !== p.BarAndLineNoAggregation && i !== p.BarAndLineSplitByNoAggregation;
|
|
235
235
|
}
|
|
236
236
|
function ja(i) {
|
|
237
|
-
const e =
|
|
237
|
+
const e = E(i.series);
|
|
238
238
|
return e === p.BarAndLineFromFields || e === p.PieFromFields || e === p.BoxPlotMonoField || e === p.BoxPlotMultiFields || e === p.BoxPlotMonoFieldAndSplitBy || e === p.BoxPlotMultiFieldsAndSplitBy;
|
|
239
239
|
}
|
|
240
240
|
function He(i) {
|
|
@@ -324,7 +324,7 @@ function za(i) {
|
|
|
324
324
|
}
|
|
325
325
|
function oi(i, e) {
|
|
326
326
|
const t = i;
|
|
327
|
-
if (e?.[0] !== void 0 &&
|
|
327
|
+
if (e?.[0] !== void 0 && E(e) === p.PieFromFields) {
|
|
328
328
|
const { x: a, y: n } = e[0];
|
|
329
329
|
(vt(i) ? t : t.dataItems).forEach((o) => (ne in o && a !== ne && (o[a] = o[a] !== void 0 ? o[a] : o[ne], delete o[ne]), he in o && n !== he && (o[n] = o[n] !== void 0 ? o[n] : o[he], delete o[he]), o));
|
|
330
330
|
}
|
|
@@ -385,7 +385,7 @@ function Ga(i, e) {
|
|
|
385
385
|
}
|
|
386
386
|
function ci(i) {
|
|
387
387
|
const { data: e, seriesConfig: t } = i;
|
|
388
|
-
let a =
|
|
388
|
+
let a = Me(e);
|
|
389
389
|
return a !== void 0 && (a = li(a, t), a = Ga(a, t), a = oi(a, t)), a;
|
|
390
390
|
}
|
|
391
391
|
function ui(i) {
|
|
@@ -401,13 +401,13 @@ function Ua(i) {
|
|
|
401
401
|
let e = !0;
|
|
402
402
|
const t = W(i.series);
|
|
403
403
|
if (t === S.BarSeries || t === S.LineSeries || t === S.ComboLineAndBarSeries) {
|
|
404
|
-
const a =
|
|
404
|
+
const a = E(i.series);
|
|
405
405
|
e = a !== p.BarAndLineNoAggregation && a !== p.BarAndLineSplitByNoAggregation;
|
|
406
406
|
}
|
|
407
407
|
return e;
|
|
408
408
|
}
|
|
409
409
|
function _a(i) {
|
|
410
|
-
return
|
|
410
|
+
return E(i.series) !== p.PieNoAggregation;
|
|
411
411
|
}
|
|
412
412
|
function Ya(i) {
|
|
413
413
|
const { dataContext: e, chartConfig: t, chartLimits: a } = i;
|
|
@@ -571,7 +571,7 @@ function on(i, e) {
|
|
|
571
571
|
return He(i) !== He(e);
|
|
572
572
|
}
|
|
573
573
|
function ln(i, e) {
|
|
574
|
-
const t = i.axes?.[0].valueFormat.type, a = e.axes?.[0].valueFormat.type, n =
|
|
574
|
+
const t = i.axes?.[0].valueFormat.type, a = e.axes?.[0].valueFormat.type, n = E(e.series), r = n === p.BarAndLineNoAggregation || n === p.BarAndLineSplitByNoAggregation, s = t === S.DateAxisFormat && a === S.NumberAxisFormat, o = t === S.NumberAxisFormat && a === S.DateAxisFormat;
|
|
575
575
|
return t !== a && (r || s || o);
|
|
576
576
|
}
|
|
577
577
|
function Co(i) {
|
|
@@ -693,7 +693,7 @@ function fi(i, e) {
|
|
|
693
693
|
maxLineThreePlusSeriesCountTotal: g,
|
|
694
694
|
maxPieChartSliceCountTotal: y,
|
|
695
695
|
maxGaugeByFeaturesLimit: h
|
|
696
|
-
} = Re(e), x = W(i.series), F = i.series.length === 0 ? 1 : i.series.length, C =
|
|
696
|
+
} = Re(e), x = W(i.series), F = i.series.length === 0 ? 1 : i.series.length, C = E(i.series);
|
|
697
697
|
switch (x) {
|
|
698
698
|
case S.ComboLineAndBarSeries:
|
|
699
699
|
case S.BarSeries:
|
|
@@ -808,7 +808,7 @@ function Mo(i) {
|
|
|
808
808
|
const { data: e, seriesConfig: t, htmlContainer: a } = i;
|
|
809
809
|
if (a) {
|
|
810
810
|
const n = e;
|
|
811
|
-
let r =
|
|
811
|
+
let r = Me(e.selectionItems);
|
|
812
812
|
r && (r = li(r, t), r = r.map(bt), r = oi(r, t), n.selectionItems = r), a.dispatchEvent(new window.CustomEvent(le.SelectionComplete, ce(n)));
|
|
813
813
|
}
|
|
814
814
|
}
|
|
@@ -838,11 +838,11 @@ function dn(i) {
|
|
|
838
838
|
const { data: e, htmlContainer: t } = i;
|
|
839
839
|
t && e && t.dispatchEvent(new window.CustomEvent(le.SeriesOrder, ce(e)));
|
|
840
840
|
}
|
|
841
|
-
function
|
|
841
|
+
function Eo(i, e) {
|
|
842
842
|
let t, a, n, r;
|
|
843
843
|
return oe(i.series[0]) && (t = i.series[0].temporalBinning?.unit, n = i.series[0].temporalBinning?.size), oe(e.series[0]) && (a = e.series[0].temporalBinning?.unit, r = e.series[0].temporalBinning?.size), St(t, n) && !St(a, r);
|
|
844
844
|
}
|
|
845
|
-
function
|
|
845
|
+
function Vo(i, e) {
|
|
846
846
|
return i.axes?.length === 3 && e.axes?.length === 2 || i.axes?.length === 2 && e.axes?.length === 3;
|
|
847
847
|
}
|
|
848
848
|
function Io(i, e) {
|
|
@@ -886,14 +886,14 @@ function Go(i, e) {
|
|
|
886
886
|
return mn(i, e) || fn(i, e);
|
|
887
887
|
}
|
|
888
888
|
function gn(i) {
|
|
889
|
-
const e =
|
|
889
|
+
const e = E(i.series);
|
|
890
890
|
let t;
|
|
891
891
|
if (i.orderOptions?.data !== void 0) {
|
|
892
892
|
let a = i.orderOptions?.data?.orderType ?? be.Category, n = i.orderOptions?.data?.orderBy;
|
|
893
893
|
if (a === be.Category)
|
|
894
894
|
a = i.series[0].x;
|
|
895
895
|
else {
|
|
896
|
-
a === be.Mean ? a =
|
|
896
|
+
a === be.Mean ? a = V.Average : a === be.Median && (a = V.Median);
|
|
897
897
|
const r = e === p.BoxPlotMultiFieldsAndCategory && typeof i.series[0].y == "string" ? i.series[0].y : void 0, s = K(i.series[0].query?.where), o = ge({
|
|
898
898
|
where: i.series[0].query?.where
|
|
899
899
|
});
|
|
@@ -925,7 +925,7 @@ function yn(i) {
|
|
|
925
925
|
return e;
|
|
926
926
|
}
|
|
927
927
|
function pn(i) {
|
|
928
|
-
const e = i.series[0], { x: t, y: a } = e, n =
|
|
928
|
+
const e = i.series[0], { x: t, y: a } = e, n = E(i.series) === p.PieFromFields, r = E(i.series) === p.BarAndLineFromFields;
|
|
929
929
|
let s, o = "", c;
|
|
930
930
|
if (i.orderOptions?.data !== void 0) {
|
|
931
931
|
if (o = i.orderOptions?.data?.orderType ?? be.Category, c = i.orderOptions?.data?.orderBy, o === be.Category ? o = n ? ne : t : o = n ? he : [a].flat()[0], o !== void 0 && o !== "") {
|
|
@@ -967,6 +967,7 @@ function xt(i) {
|
|
|
967
967
|
break;
|
|
968
968
|
case S.LineSeries:
|
|
969
969
|
case S.BarSeries:
|
|
970
|
+
case S.RadarSeries:
|
|
970
971
|
case S.PieSeries:
|
|
971
972
|
e = pn(i);
|
|
972
973
|
break;
|
|
@@ -974,7 +975,7 @@ function xt(i) {
|
|
|
974
975
|
return e;
|
|
975
976
|
}
|
|
976
977
|
function Uo(i) {
|
|
977
|
-
const { oldConfig: e, newConfig: t, dataUpdateNeeded: a } = i, n =
|
|
978
|
+
const { oldConfig: e, newConfig: t, dataUpdateNeeded: a } = i, n = E(t.series);
|
|
978
979
|
let r = !1, s = !1;
|
|
979
980
|
if (n !== p.BoxPlotMonoField && n !== p.BoxPlotMonoFieldAndSplitBy && t.orderOptions?.data !== void 0) {
|
|
980
981
|
const o = xt(e), c = xt(t);
|
|
@@ -995,13 +996,13 @@ function _o(i, e) {
|
|
|
995
996
|
}), t;
|
|
996
997
|
}
|
|
997
998
|
function Yo(i, e) {
|
|
998
|
-
const t =
|
|
999
|
+
const t = Me(i);
|
|
999
1000
|
if (t && t.series.length > 1) {
|
|
1000
1001
|
const { preferLabel: a, orderBy: n } = t.orderOptions?.series ?? {};
|
|
1001
1002
|
if (n !== void 0) {
|
|
1002
1003
|
let r;
|
|
1003
1004
|
if (a === !1) {
|
|
1004
|
-
const s =
|
|
1005
|
+
const s = E(t.series);
|
|
1005
1006
|
r = Kt(s) ? "splitByValue" : "name";
|
|
1006
1007
|
} else
|
|
1007
1008
|
r = "name";
|
|
@@ -1031,22 +1032,22 @@ function ot(i) {
|
|
|
1031
1032
|
switch (e.valid = !1, t) {
|
|
1032
1033
|
case S.BarSeries:
|
|
1033
1034
|
case S.ComboLineAndBarSeries:
|
|
1034
|
-
e.invalidType =
|
|
1035
|
+
e.invalidType = $.BarElementExceedsLimit;
|
|
1035
1036
|
break;
|
|
1036
1037
|
case S.LineSeries:
|
|
1037
|
-
e.invalidType =
|
|
1038
|
+
e.invalidType = $.LineChartExceedsLimit;
|
|
1038
1039
|
break;
|
|
1039
1040
|
case S.PieSeries:
|
|
1040
|
-
e.invalidType =
|
|
1041
|
+
e.invalidType = $.PieChartExceedsLimit;
|
|
1041
1042
|
break;
|
|
1042
1043
|
case S.GaugeSeries:
|
|
1043
|
-
e.invalidType =
|
|
1044
|
+
e.invalidType = $.GaugeExceedsLimit;
|
|
1044
1045
|
break;
|
|
1045
1046
|
case S.BoxPlotSeries:
|
|
1046
|
-
a?.outlierLimit === !0 ? e.invalidType =
|
|
1047
|
+
a?.outlierLimit === !0 ? e.invalidType = $.BoxPlotOutliersExceedsLimit : e.invalidType = $.BoxPlotExceedsLimit;
|
|
1047
1048
|
break;
|
|
1048
1049
|
case S.HeatSeries:
|
|
1049
|
-
e.invalidType =
|
|
1050
|
+
e.invalidType = $.HeatChartExceedsLimit;
|
|
1050
1051
|
break;
|
|
1051
1052
|
}
|
|
1052
1053
|
}
|
|
@@ -1069,7 +1070,7 @@ async function Ko(i) {
|
|
|
1069
1070
|
const f = new Intl.NumberFormat(o), m = Re(t), { maxCategoryCount: g } = m;
|
|
1070
1071
|
let y = l.modalHeaders.invalidChart;
|
|
1071
1072
|
switch (e) {
|
|
1072
|
-
case
|
|
1073
|
+
case $.BarElementExceedsLimit: {
|
|
1073
1074
|
y = l.modalHeaders.tooManyFeatures;
|
|
1074
1075
|
let x = Number.NaN, F = Number.NaN, C = "";
|
|
1075
1076
|
n !== void 0 && (n <= m.maxBarChartSeriesCount ? n === 1 ? (C = l.errors.uniqueSeriesBarCountCannotExceedLimit, x = m.maxBarUniqueSeriesCountTotal) : n === 2 ? (C = l.errors.twoSeriesBarCountCannotExceedLimit, x = m.maxBarTwoSeriesCountTotal, F = m.maxBarTwoSeriesCountPerSeries) : n > 2 && (C = l.errors.threePlusSeriesBarCountCannotExceedLimit, x = m.maxBarThreePlusSeriesCountTotal, F = m.maxBarThreePlusSeriesCountPerSeries) : (C = l.errors.barSeriesCountCannotExceedLimit, F = m.maxBarChartSeriesCount));
|
|
@@ -1085,7 +1086,7 @@ async function Ko(i) {
|
|
|
1085
1086
|
};
|
|
1086
1087
|
break;
|
|
1087
1088
|
}
|
|
1088
|
-
case
|
|
1089
|
+
case $.LineChartExceedsLimit:
|
|
1089
1090
|
{
|
|
1090
1091
|
y = l.modalHeaders.tooManyFeatures;
|
|
1091
1092
|
let x = Number.NaN, F = Number.NaN, C = "";
|
|
@@ -1102,7 +1103,7 @@ async function Ko(i) {
|
|
|
1102
1103
|
};
|
|
1103
1104
|
}
|
|
1104
1105
|
break;
|
|
1105
|
-
case
|
|
1106
|
+
case $.BoxPlotExceedsLimit:
|
|
1106
1107
|
{
|
|
1107
1108
|
y = l.modalHeaders.tooManyFeatures;
|
|
1108
1109
|
let x = Number.NaN, F = Number.NaN, C = "";
|
|
@@ -1119,7 +1120,7 @@ async function Ko(i) {
|
|
|
1119
1120
|
};
|
|
1120
1121
|
}
|
|
1121
1122
|
break;
|
|
1122
|
-
case
|
|
1123
|
+
case $.BoxPlotOutliersExceedsLimit:
|
|
1123
1124
|
{
|
|
1124
1125
|
y = l.modalHeaders.tooManyFeatures;
|
|
1125
1126
|
const x = l.errors.boxSeriesOutlierCannotExceedLimit, F = m.maxBoxPlotOutlierLimit, C = f.format(F);
|
|
@@ -1128,7 +1129,7 @@ async function Ko(i) {
|
|
|
1128
1129
|
}), d = { actualCount: a ?? Number.NaN, totalLimit: F };
|
|
1129
1130
|
}
|
|
1130
1131
|
break;
|
|
1131
|
-
case
|
|
1132
|
+
case $.HeatChartExceedsLimit:
|
|
1132
1133
|
{
|
|
1133
1134
|
y = l.modalHeaders.tooManyFeatures;
|
|
1134
1135
|
const x = l.errors.heatChartCannotExceedLimit, F = m.maxHeatChartCellLimit, C = f.format(F), B = a !== void 0 ? f.format(a) : "";
|
|
@@ -1141,7 +1142,7 @@ async function Ko(i) {
|
|
|
1141
1142
|
};
|
|
1142
1143
|
}
|
|
1143
1144
|
break;
|
|
1144
|
-
case
|
|
1145
|
+
case $.PieChartExceedsLimit:
|
|
1145
1146
|
{
|
|
1146
1147
|
y = l.modalHeaders.tooManyFeatures;
|
|
1147
1148
|
const x = l.errors.pieChartSlicesCannotExceedLimit, F = m.maxPieChartSliceCountTotal, C = f.format(F), B = a !== void 0 ? f.format(a) : "";
|
|
@@ -1154,7 +1155,7 @@ async function Ko(i) {
|
|
|
1154
1155
|
};
|
|
1155
1156
|
}
|
|
1156
1157
|
break;
|
|
1157
|
-
case
|
|
1158
|
+
case $.GaugeExceedsLimit:
|
|
1158
1159
|
{
|
|
1159
1160
|
y = l.modalHeaders.tooManyFeatures;
|
|
1160
1161
|
const x = l.errors.gaugeCannotExceedLimit, F = m.maxGaugeByFeaturesLimit, C = f.format(F), B = a !== void 0 ? f.format(a) : "";
|
|
@@ -1167,30 +1168,30 @@ async function Ko(i) {
|
|
|
1167
1168
|
};
|
|
1168
1169
|
}
|
|
1169
1170
|
break;
|
|
1170
|
-
case
|
|
1171
|
+
case $.PieChartMixOfNegativePositiveSlices:
|
|
1171
1172
|
y = l.modalHeaders.cannotCombineNegativeAndPositiveSlices, u = l.errors.pieChartCannotHaveMixtureOfPositiveAndNegativeSlices;
|
|
1172
1173
|
break;
|
|
1173
|
-
case
|
|
1174
|
+
case $.NegativeValueInSqrtCalculation:
|
|
1174
1175
|
y = l.modalHeaders.invalidData, u = l.errors.negativeValueInDataForSqrtTransformation;
|
|
1175
1176
|
break;
|
|
1176
|
-
case
|
|
1177
|
+
case $.NegativeValueInLogCalculation:
|
|
1177
1178
|
y = l.modalHeaders.invalidData, u = l.errors.negativeValueInDataForLogTransformation;
|
|
1178
1179
|
break;
|
|
1179
|
-
case
|
|
1180
|
+
case $.HistogramEmptyField:
|
|
1180
1181
|
u = l.errors.histogramEmptyField;
|
|
1181
1182
|
break;
|
|
1182
|
-
case
|
|
1183
|
+
case $.EmptyDataSet:
|
|
1183
1184
|
y = l.modalHeaders.noDataAvailable, s === !0 ? u = l.errors.noDataFBSMessage : Ui(r) ? u = l.errors.noDataFBEMessage : u = l.errors.noDataMessage;
|
|
1184
1185
|
break;
|
|
1185
|
-
case
|
|
1186
|
+
case $.NegativeValueInXAxisLogScale:
|
|
1186
1187
|
u = l.errors.logarithmicXAxisNotPossible;
|
|
1187
1188
|
break;
|
|
1188
|
-
case
|
|
1189
|
+
case $.NegativeValueInYAxisLogScale:
|
|
1189
1190
|
u = l.errors.logarithmicYAxisNotPossible;
|
|
1190
1191
|
break;
|
|
1191
|
-
case
|
|
1192
|
+
case $.BadData:
|
|
1192
1193
|
}
|
|
1193
|
-
if (u === l.errors.defaultInvalidChart && (e ===
|
|
1194
|
+
if (u === l.errors.defaultInvalidChart && (e === $.BarElementExceedsLimit || e === $.LineChartExceedsLimit || e === $.HeatChartExceedsLimit || e === $.PieChartExceedsLimit || e === $.GaugeExceedsLimit || e === $.BoxPlotExceedsLimit) && typeof a == "number" && typeof n == "number" && a / n > g) {
|
|
1194
1195
|
const x = a / n;
|
|
1195
1196
|
u = de(l.errors.categoryCountCannotExceedLimit, {
|
|
1196
1197
|
categoryCount: f.format(x),
|
|
@@ -1198,13 +1199,13 @@ async function Ko(i) {
|
|
|
1198
1199
|
});
|
|
1199
1200
|
}
|
|
1200
1201
|
return {
|
|
1201
|
-
keyword: e ??
|
|
1202
|
+
keyword: e ?? $.BadData,
|
|
1202
1203
|
header: y,
|
|
1203
1204
|
message: u,
|
|
1204
1205
|
params: d
|
|
1205
1206
|
};
|
|
1206
1207
|
}
|
|
1207
|
-
function
|
|
1208
|
+
function Ie(i, e) {
|
|
1208
1209
|
return `${e}_${i}`;
|
|
1209
1210
|
}
|
|
1210
1211
|
function Ct(i) {
|
|
@@ -1220,12 +1221,12 @@ function At(i) {
|
|
|
1220
1221
|
};
|
|
1221
1222
|
const l = U({
|
|
1222
1223
|
...c,
|
|
1223
|
-
key:
|
|
1224
|
+
key: V.Average
|
|
1224
1225
|
}), u = U({
|
|
1225
1226
|
...c,
|
|
1226
|
-
key:
|
|
1227
|
+
key: V.StandardDeviation
|
|
1227
1228
|
}), d = r ?? Number(e[l]), f = s ?? Number(e[u]);
|
|
1228
|
-
return Number.isFinite(d) && Number.isFinite(f) && Object.values(
|
|
1229
|
+
return Number.isFinite(d) && Number.isFinite(f) && Object.values(V).forEach((m) => {
|
|
1229
1230
|
const g = U({
|
|
1230
1231
|
key: m,
|
|
1231
1232
|
y: a,
|
|
@@ -1242,7 +1243,7 @@ function At(i) {
|
|
|
1242
1243
|
standardizeValues: !0
|
|
1243
1244
|
};
|
|
1244
1245
|
let x = U(c);
|
|
1245
|
-
if (o[x] = Ct({ mean: d, stdDev: f, value: h }), m ===
|
|
1246
|
+
if (o[x] = Ct({ mean: d, stdDev: f, value: h }), m === V.Min || m === V.Max) {
|
|
1246
1247
|
c = {
|
|
1247
1248
|
...c,
|
|
1248
1249
|
key: m,
|
|
@@ -1301,8 +1302,8 @@ function xn(i) {
|
|
|
1301
1302
|
dataItem: d,
|
|
1302
1303
|
chartSubType: p.BoxPlotMultiFieldsAndSplitBy,
|
|
1303
1304
|
splitByValue: l,
|
|
1304
|
-
meanPerField: r?.[
|
|
1305
|
-
stdDevPerField: r?.[
|
|
1305
|
+
meanPerField: r?.[Ie(u, P.Average)],
|
|
1306
|
+
stdDevPerField: r?.[Ie(u, P.StandardDeviation)]
|
|
1306
1307
|
})), s.set(u, {
|
|
1307
1308
|
...s.get(u) ?? {},
|
|
1308
1309
|
...d
|
|
@@ -1318,8 +1319,8 @@ function Cn(i) {
|
|
|
1318
1319
|
dataItem: s,
|
|
1319
1320
|
chartSubType: p.BoxPlotMultiFieldsAndCategory,
|
|
1320
1321
|
y: o,
|
|
1321
|
-
meanPerField: n?.[
|
|
1322
|
-
stdDevPerField: n?.[
|
|
1322
|
+
meanPerField: n?.[Ie(o, P.Average)],
|
|
1323
|
+
stdDevPerField: n?.[Ie(o, P.StandardDeviation)]
|
|
1323
1324
|
});
|
|
1324
1325
|
});
|
|
1325
1326
|
}), r;
|
|
@@ -1344,7 +1345,7 @@ function Bn(i) {
|
|
|
1344
1345
|
}), Array.from(n.values());
|
|
1345
1346
|
}
|
|
1346
1347
|
function vn(i, e) {
|
|
1347
|
-
const { series: t } = i, a = t[0], { y: n } = a, r =
|
|
1348
|
+
const { series: t } = i, a = t[0], { y: n } = a, r = E(i.series), s = {
|
|
1348
1349
|
y: r === p.BoxPlotMultiFieldsAndCategory ? n : void 0,
|
|
1349
1350
|
chartSubType: r
|
|
1350
1351
|
}, o = i.series.map((c) => {
|
|
@@ -1360,19 +1361,19 @@ function vn(i, e) {
|
|
|
1360
1361
|
s.splitByValue = l;
|
|
1361
1362
|
const u = U({
|
|
1362
1363
|
...s,
|
|
1363
|
-
key:
|
|
1364
|
+
key: V.Min,
|
|
1364
1365
|
showOutliers: !0
|
|
1365
1366
|
}), d = U({
|
|
1366
1367
|
...s,
|
|
1367
|
-
key:
|
|
1368
|
+
key: V.Min,
|
|
1368
1369
|
showOutliers: !1
|
|
1369
1370
|
}), f = U({
|
|
1370
1371
|
...s,
|
|
1371
|
-
key:
|
|
1372
|
+
key: V.Max,
|
|
1372
1373
|
showOutliers: !0
|
|
1373
1374
|
}), m = U({
|
|
1374
1375
|
...s,
|
|
1375
|
-
key:
|
|
1376
|
+
key: V.Max,
|
|
1376
1377
|
showOutliers: !1
|
|
1377
1378
|
});
|
|
1378
1379
|
c[f] === void 0 && c[m] !== void 0 && (c[f] = c[m]), c[u] === void 0 && c[d] !== void 0 && (c[u] = c[d]);
|
|
@@ -1381,19 +1382,19 @@ function vn(i, e) {
|
|
|
1381
1382
|
}
|
|
1382
1383
|
function Nn(i, e) {
|
|
1383
1384
|
let t, a;
|
|
1384
|
-
const n = i[e[
|
|
1385
|
+
const n = i[e[V.IQR]], r = i[e[V.FirstQuartile]], s = i[e[V.ThirdQuartile]];
|
|
1385
1386
|
return Number.isFinite(n) && Number.isFinite(r) && Number.isFinite(s) && (t = r - n * 1.5, a = s + n * 1.5), { outlierMinThreshold: t, outlierMaxThreshold: a };
|
|
1386
1387
|
}
|
|
1387
1388
|
function Wt(i) {
|
|
1388
1389
|
const { yField: e, xField: t, xValue: a, splitByField: n, splitByValue: r, outlierMaxThreshold: s, outlierMinThreshold: o, target: c } = i;
|
|
1389
1390
|
let l;
|
|
1390
1391
|
if (t !== void 0 && a !== void 0) {
|
|
1391
|
-
const m = typeof a != "string" ? a : `'${
|
|
1392
|
+
const m = typeof a != "string" ? a : `'${Et(a)}'`;
|
|
1392
1393
|
l = `${t}=${m.toString()}`;
|
|
1393
1394
|
}
|
|
1394
1395
|
let u;
|
|
1395
1396
|
if (n !== void 0 && r !== void 0) {
|
|
1396
|
-
const m = typeof r != "string" ? r : `'${
|
|
1397
|
+
const m = typeof r != "string" ? r : `'${Et(r)}'`;
|
|
1397
1398
|
u = `${n}=${m.toString()}`;
|
|
1398
1399
|
}
|
|
1399
1400
|
let d;
|
|
@@ -1422,19 +1423,19 @@ function gi(i) {
|
|
|
1422
1423
|
}
|
|
1423
1424
|
function Tn(i) {
|
|
1424
1425
|
const { data: e, outlierDataItem: t, chartSubType: a, x: n, y: r, meanAndStdDevPerField: s, splitByField: o } = i;
|
|
1425
|
-
let c = s?.[
|
|
1426
|
+
let c = s?.[Ie(r, P.Average)], l = s?.[Ie(r, P.StandardDeviation)];
|
|
1426
1427
|
if (c === void 0 && l === void 0)
|
|
1427
1428
|
switch (a) {
|
|
1428
1429
|
case p.BoxPlotMultiFields: {
|
|
1429
1430
|
const u = je(r), d = e[0];
|
|
1430
|
-
c = Number(d[u[
|
|
1431
|
+
c = Number(d[u[V.Average]]), l = Number(d[u[V.StandardDeviation]]);
|
|
1431
1432
|
break;
|
|
1432
1433
|
}
|
|
1433
1434
|
case p.BoxPlotMultiFieldsAndCategory: {
|
|
1434
1435
|
const u = e.find((d) => d[n] === t[n]);
|
|
1435
1436
|
if (u !== void 0) {
|
|
1436
1437
|
const d = je(r);
|
|
1437
|
-
c = Number(u[d[
|
|
1438
|
+
c = Number(u[d[V.Average]]), l = Number(u[d[V.StandardDeviation]]);
|
|
1438
1439
|
}
|
|
1439
1440
|
break;
|
|
1440
1441
|
}
|
|
@@ -1442,7 +1443,7 @@ function Tn(i) {
|
|
|
1442
1443
|
const u = e.find((d) => d[o] === t[o]);
|
|
1443
1444
|
if (u !== void 0) {
|
|
1444
1445
|
const d = je(r);
|
|
1445
|
-
c = Number(u[d[
|
|
1446
|
+
c = Number(u[d[V.Average]]), l = Number(u[d[V.StandardDeviation]]);
|
|
1446
1447
|
}
|
|
1447
1448
|
break;
|
|
1448
1449
|
}
|
|
@@ -1450,7 +1451,7 @@ function Tn(i) {
|
|
|
1450
1451
|
return { mean: c, stdDev: l };
|
|
1451
1452
|
}
|
|
1452
1453
|
async function An(i) {
|
|
1453
|
-
const { seriesConfig: e, data: t, uniqueQuery: a, queryObject: n, meanAndStdDevPerField: r, abortKey: s } = i, o =
|
|
1454
|
+
const { seriesConfig: e, data: t, uniqueQuery: a, queryObject: n, meanAndStdDevPerField: r, abortKey: s } = i, o = E(e), c = e[0], { x: l } = c, u = K(c.query?.where), d = z(n), f = se(e), m = [];
|
|
1454
1455
|
for (let h = 0; h < f.length; h += 1) {
|
|
1455
1456
|
const x = f[h], { outliersFilterBatches: F } = gi({
|
|
1456
1457
|
data: t,
|
|
@@ -1493,7 +1494,7 @@ async function An(i) {
|
|
|
1493
1494
|
if (B[F] !== void 0) {
|
|
1494
1495
|
l === b.boxPlot.boxPlotCategory && (B[b.boxPlot.boxPlotCategory] = F);
|
|
1495
1496
|
let N = {
|
|
1496
|
-
key:
|
|
1497
|
+
key: V.Outlier,
|
|
1497
1498
|
chartSubType: o
|
|
1498
1499
|
};
|
|
1499
1500
|
switch (o) {
|
|
@@ -1514,15 +1515,15 @@ async function An(i) {
|
|
|
1514
1515
|
}
|
|
1515
1516
|
const v = U(N), T = B[F];
|
|
1516
1517
|
B[v] = T;
|
|
1517
|
-
const
|
|
1518
|
+
const w = `${B[l]}-${B[u]}-${T}`, L = y.get(w);
|
|
1518
1519
|
if (B[Y.uniqueIdsName] = [
|
|
1519
|
-
...
|
|
1520
|
+
...L?.[Y.uniqueIdsName] ?? [],
|
|
1520
1521
|
B[d.objectIdField]
|
|
1521
1522
|
], delete B[d.objectIdField], _i(o)) {
|
|
1522
|
-
const
|
|
1523
|
+
const D = U({
|
|
1523
1524
|
...N,
|
|
1524
1525
|
standardizeValues: !0
|
|
1525
|
-
}), { mean:
|
|
1526
|
+
}), { mean: R, stdDev: M } = Tn({
|
|
1526
1527
|
data: t,
|
|
1527
1528
|
outlierDataItem: B,
|
|
1528
1529
|
chartSubType: o,
|
|
@@ -1531,13 +1532,13 @@ async function An(i) {
|
|
|
1531
1532
|
splitByField: u,
|
|
1532
1533
|
meanAndStdDevPerField: r
|
|
1533
1534
|
});
|
|
1534
|
-
|
|
1535
|
+
R !== void 0 && M !== void 0 && (B[D] = Ct({
|
|
1535
1536
|
value: T,
|
|
1536
|
-
mean:
|
|
1537
|
-
stdDev:
|
|
1537
|
+
mean: R,
|
|
1538
|
+
stdDev: M
|
|
1538
1539
|
}));
|
|
1539
1540
|
}
|
|
1540
|
-
delete B[F], B[b.boxPlot.boxPlotOutlierId] = !0, y.set(
|
|
1541
|
+
delete B[F], B[b.boxPlot.boxPlotOutlierId] = !0, y.set(w, B);
|
|
1541
1542
|
}
|
|
1542
1543
|
});
|
|
1543
1544
|
}
|
|
@@ -1546,7 +1547,7 @@ async function An(i) {
|
|
|
1546
1547
|
async function Pn(i) {
|
|
1547
1548
|
const { data: e, queryObject: t, uniqueQuery: a, elementCount: n, chartConfig: r, chartLimits: s, abortKey: o } = i;
|
|
1548
1549
|
let c = [];
|
|
1549
|
-
const { series: l, showMean: u } = r, d = Nt({ showMean: u, seriesConfig: l }), f =
|
|
1550
|
+
const { series: l, showMean: u } = r, d = Nt({ showMean: u, seriesConfig: l }), f = E(l), m = we(r), { x: g } = m, y = K(m.query?.where), h = [];
|
|
1550
1551
|
for (let F = 0; F < d.length; F += 1) {
|
|
1551
1552
|
const C = d[F], { dataWithoutOutliersFilterBatches: B } = gi({
|
|
1552
1553
|
data: e,
|
|
@@ -1561,10 +1562,10 @@ async function Pn(i) {
|
|
|
1561
1562
|
where: Q([a.where, v])
|
|
1562
1563
|
};
|
|
1563
1564
|
T.outStatistics !== void 0 && (T.outStatistics = T.outStatistics?.filter(
|
|
1564
|
-
(
|
|
1565
|
-
).map((
|
|
1566
|
-
...
|
|
1567
|
-
outStatisticFieldName: `${
|
|
1565
|
+
(w) => (w.statisticType === P.Minimum || w.statisticType === P.Maximum) && w.onStatisticField === C
|
|
1566
|
+
).map((w) => ({
|
|
1567
|
+
...w,
|
|
1568
|
+
outStatisticFieldName: `${w.outStatisticFieldName}${b.boxPlot.boxPlotOutliersSuffix}`
|
|
1568
1569
|
}))), h.push(
|
|
1569
1570
|
ut({
|
|
1570
1571
|
queryObject: t,
|
|
@@ -1590,7 +1591,7 @@ async function Pn(i) {
|
|
|
1590
1591
|
async function Ln(i) {
|
|
1591
1592
|
const { queryObject: e, uniqueQuery: t, chartConfig: a, abortKey: n } = i;
|
|
1592
1593
|
let r;
|
|
1593
|
-
const { series: s, showMean: o } = a, c =
|
|
1594
|
+
const { series: s, showMean: o } = a, c = E(s);
|
|
1594
1595
|
if (c === p.BoxPlotMultiFieldsAndCategory || c === p.BoxPlotMultiFieldsAndSplitBy) {
|
|
1595
1596
|
const l = Nt({ showMean: o, seriesConfig: s }), u = {
|
|
1596
1597
|
...t
|
|
@@ -1634,7 +1635,7 @@ function Mn(i) {
|
|
|
1634
1635
|
});
|
|
1635
1636
|
}
|
|
1636
1637
|
function yi(i) {
|
|
1637
|
-
const { chartConfig: e, data: t, calculateZScore: a = !1, meanAndStdDevPerField: n } = i, { series: r, showMean: s } = e, o =
|
|
1638
|
+
const { chartConfig: e, data: t, calculateZScore: a = !1, meanAndStdDevPerField: n } = i, { series: r, showMean: s } = e, o = we(e), c = E(e.series), { x: l } = o, u = Nt({ showMean: s, seriesConfig: r });
|
|
1638
1639
|
let d = t;
|
|
1639
1640
|
if ((o.type === S.LineSeries || o.type === S.BoxPlotSeries) && t?.[0] !== void 0) {
|
|
1640
1641
|
const f = K(o.query?.where);
|
|
@@ -1757,10 +1758,10 @@ function qn(i) {
|
|
|
1757
1758
|
);
|
|
1758
1759
|
e.groupByFieldsForStatistics = Array.from(new Set(n));
|
|
1759
1760
|
}
|
|
1760
|
-
function
|
|
1761
|
+
function En(i) {
|
|
1761
1762
|
return i.statisticType === P.ContinuousPercentile || i.statisticType === P.DiscretePercentile;
|
|
1762
1763
|
}
|
|
1763
|
-
function
|
|
1764
|
+
function Vn(i) {
|
|
1764
1765
|
const {
|
|
1765
1766
|
uniqueQuery: e,
|
|
1766
1767
|
y: t,
|
|
@@ -1776,7 +1777,7 @@ function En(i) {
|
|
|
1776
1777
|
const { outStatistics: u } = e;
|
|
1777
1778
|
for (let d = 0; d < u.length; d += 1) {
|
|
1778
1779
|
const f = e.outStatistics[d];
|
|
1779
|
-
f !== void 0 &&
|
|
1780
|
+
f !== void 0 && En(f) && (s && !Qe(n) ? (u[d].statisticType = P.Count, delete u[d].statisticParameters) : u[d] = {
|
|
1780
1781
|
...u[d],
|
|
1781
1782
|
statisticParameters: u[d].statisticParameters ?? {
|
|
1782
1783
|
value: b.defaultStatParameterValue
|
|
@@ -1798,28 +1799,28 @@ function En(i) {
|
|
|
1798
1799
|
function In(i) {
|
|
1799
1800
|
const { chartConfig: e, fetchFullBoxPlotData: t } = i, { series: a } = e, n = He(e);
|
|
1800
1801
|
let r = [
|
|
1801
|
-
{ statisticType: P.Average, suffix:
|
|
1802
|
+
{ statisticType: P.Average, suffix: V.Average }
|
|
1802
1803
|
];
|
|
1803
1804
|
t === !0 && (r = [
|
|
1804
1805
|
...r,
|
|
1805
|
-
{ statisticType: P.Minimum, suffix:
|
|
1806
|
+
{ statisticType: P.Minimum, suffix: V.Min },
|
|
1806
1807
|
{
|
|
1807
1808
|
statisticType: P.ContinuousPercentile,
|
|
1808
1809
|
statisticParameters: { value: 0.25 },
|
|
1809
|
-
suffix:
|
|
1810
|
+
suffix: V.FirstQuartile
|
|
1810
1811
|
},
|
|
1811
1812
|
{
|
|
1812
1813
|
statisticType: P.ContinuousPercentile,
|
|
1813
1814
|
statisticParameters: { value: 0.5 },
|
|
1814
|
-
suffix:
|
|
1815
|
+
suffix: V.Median
|
|
1815
1816
|
},
|
|
1816
1817
|
{
|
|
1817
1818
|
statisticType: P.ContinuousPercentile,
|
|
1818
1819
|
statisticParameters: { value: 0.75 },
|
|
1819
|
-
suffix:
|
|
1820
|
+
suffix: V.ThirdQuartile
|
|
1820
1821
|
},
|
|
1821
|
-
{ statisticType: P.Maximum, suffix:
|
|
1822
|
-
{ statisticType: P.StandardDeviation, suffix:
|
|
1822
|
+
{ statisticType: P.Maximum, suffix: V.Max },
|
|
1823
|
+
{ statisticType: P.StandardDeviation, suffix: V.StandardDeviation }
|
|
1823
1824
|
]);
|
|
1824
1825
|
const s = /* @__PURE__ */ new Set();
|
|
1825
1826
|
return n && "y" in a[0] ? [a[0].y].flat().forEach((c) => s.add(c)) : a.forEach((c) => {
|
|
@@ -1859,7 +1860,7 @@ function pi(i) {
|
|
|
1859
1860
|
if (t?.chartLimits?.behaviorAfterLimit === $e.RenderUpToTheLimit) {
|
|
1860
1861
|
const n = fi(e, t?.chartLimits);
|
|
1861
1862
|
if (n !== void 0) {
|
|
1862
|
-
const r =
|
|
1863
|
+
const r = E(e.series);
|
|
1863
1864
|
if (r === p.PieFromFields || r === p.BarAndLineFromFields) {
|
|
1864
1865
|
if (a.outStatistics?.[0] !== void 0) {
|
|
1865
1866
|
const s = (l, u) => l.statisticType === P.EnvelopeAggregate === u, o = a.outStatistics.filter((l) => s(l, !0)), c = a.outStatistics.filter((l) => s(l, !1));
|
|
@@ -1871,14 +1872,14 @@ function pi(i) {
|
|
|
1871
1872
|
}
|
|
1872
1873
|
}
|
|
1873
1874
|
async function ct(i) {
|
|
1874
|
-
const { chartConfig: e, queryConfig: t, options: a, queryObject: n, timeIntervalInfo: r, fetchFullBoxPlotData: s } = i, { setTimeBinningInfoWhenNotProvided: o, returnFeaturesExtent: c } = a ?? {}, l = e.series, u =
|
|
1875
|
+
const { chartConfig: e, queryConfig: t, options: a, queryObject: n, timeIntervalInfo: r, fetchFullBoxPlotData: s } = i, { setTimeBinningInfoWhenNotProvided: o, returnFeaturesExtent: c } = a ?? {}, l = e.series, u = E(l), d = we(e), { query: f, x: m } = d, g = "y" in d ? d.y : void 0, y = ve({
|
|
1875
1876
|
xAxisValueFormatType: pe(e),
|
|
1876
1877
|
setTimeBinningInfoWhenNotProvided: o,
|
|
1877
1878
|
seriesConfig: d
|
|
1878
1879
|
});
|
|
1879
1880
|
let h = /* @__PURE__ */ new Map(), x = !1, F = !1, C = !1, B = !1, N = !1, v = {};
|
|
1880
1881
|
if (f !== void 0) {
|
|
1881
|
-
v =
|
|
1882
|
+
v = Me(f);
|
|
1882
1883
|
const O = K(f.where);
|
|
1883
1884
|
let H = "";
|
|
1884
1885
|
switch (t.fetchNullValues !== !0 && (m !== b.boxPlot.boxPlotCategory && (H = `${m} IS NOT NULL`), O.trim() !== "" && O !== m && !Tt(f.where) && (H = Q([H, `${O} IS NOT NULL`]))), u) {
|
|
@@ -1913,7 +1914,7 @@ async function ct(i) {
|
|
|
1913
1914
|
case p.BarAndLineNoAggregation:
|
|
1914
1915
|
case p.BarAndLineSplitByNoAggregation:
|
|
1915
1916
|
}
|
|
1916
|
-
if (F &&
|
|
1917
|
+
if (F && Vn({
|
|
1917
1918
|
uniqueQuery: v,
|
|
1918
1919
|
y: g,
|
|
1919
1920
|
useGenericOutStatFieldName: x,
|
|
@@ -1923,24 +1924,24 @@ async function ct(i) {
|
|
|
1923
1924
|
returnFeaturesExtent: c,
|
|
1924
1925
|
splitByField: O
|
|
1925
1926
|
}), B && qn({ uniqueQuery: v, splitByField: O, x: m }), N && (v.outStatistics = In({ chartConfig: e, fetchFullBoxPlotData: s })), C ? delete v.orderByFields : t.orderByFields !== void 0 && (v.orderByFields = t.orderByFields.filter((X) => {
|
|
1926
|
-
const
|
|
1927
|
-
return !ee(
|
|
1927
|
+
const I = X.split(" ");
|
|
1928
|
+
return !ee(I[0]);
|
|
1928
1929
|
})), y && oe(l[0])) {
|
|
1929
|
-
const X = z(n), { objectIdField:
|
|
1930
|
+
const X = z(n), { objectIdField: I } = X;
|
|
1930
1931
|
(await Ne(n)).find((te) => te.name === m)?.type !== Ye.DateOnly && Rn({
|
|
1931
1932
|
uniqueQuery: v,
|
|
1932
1933
|
x: m,
|
|
1933
1934
|
splitByField: K(f.where),
|
|
1934
1935
|
unit: r?.unit ?? l[0].temporalBinning?.unit,
|
|
1935
1936
|
chartSubType: u,
|
|
1936
|
-
objectIdField:
|
|
1937
|
+
objectIdField: I
|
|
1937
1938
|
});
|
|
1938
1939
|
}
|
|
1939
1940
|
v.where = H;
|
|
1940
1941
|
}
|
|
1941
1942
|
pi({ chartConfig: e, options: a, uniqueQuery: v });
|
|
1942
|
-
const { gdbVersion: T, geometry:
|
|
1943
|
-
return T !== void 0 && (v.gdbVersion = T),
|
|
1943
|
+
const { gdbVersion: T, geometry: w, distance: L, units: D, timeExtent: R, where: M, objectIds: q, spatialRelationship: A } = t;
|
|
1944
|
+
return T !== void 0 && (v.gdbVersion = T), w !== void 0 && (v.geometry = w), L !== void 0 && (v.distance = L), D !== void 0 && (v.units = D), R !== void 0 && (v.timeExtent = R), q !== void 0 && (v.objectIds = q), A !== void 0 && (v.spatialRelationship = A), M !== void 0 && (v.where = Q([v.where, M])), { uniqueQuery: v, mapToStatField: h };
|
|
1944
1945
|
}
|
|
1945
1946
|
async function kn(i) {
|
|
1946
1947
|
const { queryObject: e, queryConfig: t, chartConfig: a, abortKey: n } = i, r = a.series[0], { x: s, valueConversion: o } = r, c = Xt(a), l = await ye({
|
|
@@ -2040,7 +2041,7 @@ function Wn(i = _.None, e) {
|
|
|
2040
2041
|
}
|
|
2041
2042
|
function hi(i, e) {
|
|
2042
2043
|
const t = { valid: !1 };
|
|
2043
|
-
return e === !0 ? t.invalidType =
|
|
2044
|
+
return e === !0 ? t.invalidType = $.HistogramEmptyField : i === _.Log ? t.invalidType = $.NegativeValueInLogCalculation : i === _.Sqrt && (t.invalidType = $.NegativeValueInSqrtCalculation), t;
|
|
2044
2045
|
}
|
|
2045
2046
|
function Qn(i, e) {
|
|
2046
2047
|
let t = i;
|
|
@@ -2190,35 +2191,35 @@ async function Jn(i) {
|
|
|
2190
2191
|
if (g !== void 0 && (h = new $t({
|
|
2191
2192
|
geometry: g.extent
|
|
2192
2193
|
}), g.extent !== void 0 && Ji(d))) {
|
|
2193
|
-
const { distance:
|
|
2194
|
-
|
|
2194
|
+
const { distance: L, units: D } = t;
|
|
2195
|
+
L !== void 0 && (h.distance = L), D !== void 0 && (h.units = D);
|
|
2195
2196
|
}
|
|
2196
2197
|
if (t.timeExtent) {
|
|
2197
|
-
const
|
|
2198
|
-
h === void 0 ? h = new $t({ timeExtent:
|
|
2198
|
+
const L = { start: t.timeExtent[0], end: t.timeExtent[1] };
|
|
2199
|
+
h === void 0 ? h = new $t({ timeExtent: L }) : h.timeExtent = L;
|
|
2199
2200
|
}
|
|
2200
2201
|
y.filter = h;
|
|
2201
2202
|
let x;
|
|
2202
2203
|
y.outStatisticTypes = { exclude: ["median"] };
|
|
2203
2204
|
try {
|
|
2204
2205
|
x = await Rt(y);
|
|
2205
|
-
} catch (
|
|
2206
|
-
throw new pt(
|
|
2206
|
+
} catch (L) {
|
|
2207
|
+
throw new pt(Vt.QueryFeaturesError, o.errors.queryError, L);
|
|
2207
2208
|
}
|
|
2208
2209
|
y.outStatisticTypes = { include: ["median"] };
|
|
2209
2210
|
try {
|
|
2210
|
-
const
|
|
2211
|
-
|
|
2211
|
+
const L = await Rt(y);
|
|
2212
|
+
L?.median && (x.median = L.median);
|
|
2212
2213
|
} catch {
|
|
2213
2214
|
}
|
|
2214
2215
|
x = Un(x);
|
|
2215
|
-
const { avg: F, count: C, stddev: B, min: N, max: v, sum: T, median:
|
|
2216
|
+
const { avg: F, count: C, stddev: B, min: N, max: v, sum: T, median: w } = x;
|
|
2216
2217
|
if (C === 0)
|
|
2217
2218
|
u = {
|
|
2218
2219
|
...hi(l)
|
|
2219
2220
|
};
|
|
2220
2221
|
else {
|
|
2221
|
-
const
|
|
2222
|
+
const L = Yn({
|
|
2222
2223
|
seriesConfig: c,
|
|
2223
2224
|
layer: d,
|
|
2224
2225
|
view: g,
|
|
@@ -2228,23 +2229,23 @@ async function Jn(i) {
|
|
|
2228
2229
|
valueExpression: y.valueExpression,
|
|
2229
2230
|
queryConfig: t
|
|
2230
2231
|
});
|
|
2231
|
-
|
|
2232
|
-
let
|
|
2232
|
+
L.filter = h;
|
|
2233
|
+
let D;
|
|
2233
2234
|
try {
|
|
2234
|
-
|
|
2235
|
-
} catch (
|
|
2236
|
-
throw new pt(
|
|
2235
|
+
D = await Ba(L);
|
|
2236
|
+
} catch (M) {
|
|
2237
|
+
throw new pt(Vt.QueryFeaturesError, o.errors.queryError, M);
|
|
2237
2238
|
}
|
|
2238
|
-
const
|
|
2239
|
+
const R = Kn(r, n);
|
|
2239
2240
|
u.data = {
|
|
2240
2241
|
mean: F,
|
|
2241
2242
|
stddev: B,
|
|
2242
2243
|
min: N,
|
|
2243
2244
|
max: v,
|
|
2244
|
-
median: Number(
|
|
2245
|
-
bins:
|
|
2245
|
+
median: Number(w),
|
|
2246
|
+
bins: D?.bins,
|
|
2246
2247
|
count: n,
|
|
2247
|
-
nulls:
|
|
2248
|
+
nulls: R,
|
|
2248
2249
|
sum: T ?? void 0
|
|
2249
2250
|
}, u.data.bins.length > 0 && (u.data.bins[u.data.bins.length - 1].isLastBin = !0);
|
|
2250
2251
|
}
|
|
@@ -2326,13 +2327,13 @@ async function tr(i) {
|
|
|
2326
2327
|
let m, g, y, h, x;
|
|
2327
2328
|
const F = e.get(o), C = e.get(c), B = e.get(l), N = e.get(u);
|
|
2328
2329
|
if (F != null && B !== void 0 && B !== null && C !== void 0 && C !== null && N !== void 0 && N !== null && !Number.isNaN(F + C + B + N)) {
|
|
2329
|
-
const { maxScatterPointsAfterAggregation: v } = Re(n?.chartLimits),
|
|
2330
|
+
const { maxScatterPointsAfterAggregation: v } = Re(n?.chartLimits), w = Math.floor(Math.sqrt(v)), L = await er({
|
|
2330
2331
|
queryObject: a,
|
|
2331
2332
|
chartConfig: t,
|
|
2332
2333
|
queryConfig: r,
|
|
2333
2334
|
abortKey: s
|
|
2334
2335
|
});
|
|
2335
|
-
y = Math.min(
|
|
2336
|
+
y = Math.min(L.get(f) ?? Number.NaN, w), h = Math.min(L.get(d) ?? Number.NaN, w), x = h * y, m = C === F ? 0 : (C - F) / (h - 1), g = N === B ? 0 : (N - B) / (y - 1), e.set(b.scatterplotAggregationFields.xStep, m), e.set(b.scatterplotAggregationFields.yStep, g), e.set(b.scatterplotAggregationFields.rowCount, y), e.set(b.scatterplotAggregationFields.columnCount, h), e.set(b.scatterplotAggregationFields.realGridSize, x);
|
|
2336
2337
|
}
|
|
2337
2338
|
}
|
|
2338
2339
|
function ir(i) {
|
|
@@ -2379,27 +2380,27 @@ async function nr(i) {
|
|
|
2379
2380
|
let x;
|
|
2380
2381
|
const F = e?.get(d) ?? Number.NaN, C = e?.get(f) ?? Number.NaN, B = e?.get(y) ?? Number.NaN, N = e?.get(m) ?? F, v = e?.get(g) ?? C;
|
|
2381
2382
|
if (F != null && N !== void 0 && N !== null && C !== void 0 && C !== null && v !== void 0 && v !== null && !Number.isNaN(F + C + N + v)) {
|
|
2382
|
-
const T = z(a), { objectIdField:
|
|
2383
|
-
if (O?.forEach((
|
|
2384
|
-
We(
|
|
2385
|
-
onStatisticField:
|
|
2386
|
-
outStatisticFieldName:
|
|
2383
|
+
const T = z(a), { objectIdField: w } = T, L = e?.get(b.scatterplotAggregationFields.xStep), D = e?.get(b.scatterplotAggregationFields.yStep), R = e?.get(b.scatterplotAggregationFields.realGridSize), M = e?.get(b.scatterplotAggregationFields.rowCount), q = e?.get(b.scatterplotAggregationFields.columnCount), A = /* @__PURE__ */ new Map(), O = await Ne(a);
|
|
2384
|
+
if (O?.forEach((I) => {
|
|
2385
|
+
We(I) && A.set(I.name, {
|
|
2386
|
+
onStatisticField: I.name,
|
|
2387
|
+
outStatisticFieldName: I.name,
|
|
2387
2388
|
statisticType: P.Maximum
|
|
2388
2389
|
});
|
|
2389
|
-
}), (O.filter((
|
|
2390
|
-
We(
|
|
2391
|
-
onStatisticField:
|
|
2392
|
-
outStatisticFieldName:
|
|
2390
|
+
}), (O.filter((I) => c?.additionalTooltipFields?.includes(I.name)) ?? [])?.forEach((I) => {
|
|
2391
|
+
We(I) || A.set(I.name, {
|
|
2392
|
+
onStatisticField: I.name,
|
|
2393
|
+
outStatisticFieldName: I.name,
|
|
2393
2394
|
statisticType: P.Maximum
|
|
2394
2395
|
});
|
|
2395
|
-
}), (await Zt(T)).forEach((
|
|
2396
|
-
A.set(
|
|
2397
|
-
onStatisticField:
|
|
2398
|
-
outStatisticFieldName:
|
|
2396
|
+
}), (await Zt(T)).forEach((I) => {
|
|
2397
|
+
A.set(I, {
|
|
2398
|
+
onStatisticField: I,
|
|
2399
|
+
outStatisticFieldName: I,
|
|
2399
2400
|
statisticType: P.Maximum
|
|
2400
2401
|
});
|
|
2401
|
-
}), A.set(
|
|
2402
|
-
onStatisticField:
|
|
2402
|
+
}), A.set(w, {
|
|
2403
|
+
onStatisticField: w,
|
|
2403
2404
|
outStatisticFieldName: h,
|
|
2404
2405
|
statisticType: P.Count
|
|
2405
2406
|
}).set(l, {
|
|
@@ -2410,50 +2411,50 @@ async function nr(i) {
|
|
|
2410
2411
|
onStatisticField: u,
|
|
2411
2412
|
outStatisticFieldName: u,
|
|
2412
2413
|
statisticType: P.Maximum
|
|
2413
|
-
}),
|
|
2414
|
+
}), L !== void 0 && D !== void 0) {
|
|
2414
2415
|
if (r) {
|
|
2415
|
-
const
|
|
2416
|
+
const I = {
|
|
2416
2417
|
...n,
|
|
2417
2418
|
outStatistics: [...A.values()]
|
|
2418
2419
|
};
|
|
2419
2420
|
x = await Zi({
|
|
2420
2421
|
queryObject: a,
|
|
2421
|
-
queryConfig:
|
|
2422
|
-
xStep:
|
|
2422
|
+
queryConfig: I,
|
|
2423
|
+
xStep: L,
|
|
2423
2424
|
xMin: F,
|
|
2424
2425
|
xMax: C,
|
|
2425
2426
|
x: l,
|
|
2426
2427
|
y: u,
|
|
2427
|
-
yStep:
|
|
2428
|
+
yStep: D,
|
|
2428
2429
|
errorStrings: s
|
|
2429
2430
|
});
|
|
2430
|
-
} else if (
|
|
2431
|
-
let
|
|
2432
|
-
const { maxScatterCellsPerQuery: Z, maxScatterCellsPerQueryForStandard: ue } = Ue(),
|
|
2433
|
-
let dt = !0,
|
|
2431
|
+
} else if (M !== void 0 && q !== void 0) {
|
|
2432
|
+
let I = 0;
|
|
2433
|
+
const { maxScatterCellsPerQuery: Z, maxScatterCellsPerQueryForStandard: ue } = Ue(), De = await ea(T) ? ue : Z, Dt = [];
|
|
2434
|
+
let dt = !0, Oe = F, Te = N, qe = "", Je = 1, ft = 1, Xe = Number.MAX_SAFE_INTEGER, Ze = Number.MIN_SAFE_INTEGER, et = Number.MAX_SAFE_INTEGER, tt = Number.MIN_SAFE_INTEGER;
|
|
2434
2435
|
for (; ft <= q && dt; ) {
|
|
2435
|
-
for (Te = N, Je = 1; Je <=
|
|
2436
|
-
if (
|
|
2437
|
-
groupByFieldsForStatistics:
|
|
2436
|
+
for (Te = N, Je = 1; Je <= M && dt; ) {
|
|
2437
|
+
if (qe = ir({
|
|
2438
|
+
groupByFieldsForStatistics: qe,
|
|
2438
2439
|
x: l,
|
|
2439
2440
|
y: u,
|
|
2440
|
-
xValue:
|
|
2441
|
+
xValue: Oe,
|
|
2441
2442
|
yValue: Te,
|
|
2442
|
-
xStep:
|
|
2443
|
-
yStep:
|
|
2444
|
-
endOfRow: Je ===
|
|
2443
|
+
xStep: L,
|
|
2444
|
+
yStep: D,
|
|
2445
|
+
endOfRow: Je === M,
|
|
2445
2446
|
endOfColumn: ft === q
|
|
2446
|
-
}),
|
|
2447
|
-
|
|
2448
|
-
const
|
|
2447
|
+
}), Oe < Xe && (Xe = Oe), Oe + L > Ze && (Ze = Oe + L), Te < et && (et = Te), Te + L > tt && (tt = Te + D), I += 1, I % De === 0 || I === R || I === B) {
|
|
2448
|
+
qe = `${qe} ${Le.groupByCaseEnd}`;
|
|
2449
|
+
const Vi = {
|
|
2449
2450
|
...n,
|
|
2450
|
-
groupByFieldsForStatistics: [
|
|
2451
|
+
groupByFieldsForStatistics: [qe],
|
|
2451
2452
|
outStatistics: [...A.values()]
|
|
2452
2453
|
};
|
|
2453
2454
|
Dt.push(
|
|
2454
2455
|
ar({
|
|
2455
2456
|
chartConfig: t,
|
|
2456
|
-
queryConfig:
|
|
2457
|
+
queryConfig: Vi,
|
|
2457
2458
|
queryObject: a,
|
|
2458
2459
|
xMin: Xe,
|
|
2459
2460
|
xMax: Ze,
|
|
@@ -2461,11 +2462,11 @@ async function nr(i) {
|
|
|
2461
2462
|
yMax: tt,
|
|
2462
2463
|
abortKey: o
|
|
2463
2464
|
})
|
|
2464
|
-
), Xe = Number.MAX_SAFE_INTEGER, Ze = Number.MIN_SAFE_INTEGER, et = Number.MAX_SAFE_INTEGER, tt = Number.MIN_SAFE_INTEGER,
|
|
2465
|
+
), Xe = Number.MAX_SAFE_INTEGER, Ze = Number.MIN_SAFE_INTEGER, et = Number.MAX_SAFE_INTEGER, tt = Number.MIN_SAFE_INTEGER, qe = "", I === R && (dt = !1);
|
|
2465
2466
|
}
|
|
2466
|
-
Te +=
|
|
2467
|
+
Te += D, Je += 1;
|
|
2467
2468
|
}
|
|
2468
|
-
|
|
2469
|
+
Oe += L, ft += 1;
|
|
2469
2470
|
}
|
|
2470
2471
|
x = (await Promise.all(Dt)).flat();
|
|
2471
2472
|
}
|
|
@@ -2533,18 +2534,18 @@ async function cr(i) {
|
|
|
2533
2534
|
});
|
|
2534
2535
|
if (C !== void 0) {
|
|
2535
2536
|
let B = Number.NaN, N = Number.NaN;
|
|
2536
|
-
const { expr: v } = mt(C, y), { expr: T } = mt(C, h), { expr:
|
|
2537
|
-
v !== void 0 && Number.isFinite(C[v]) && (B = C[v]), T !== void 0 && Number.isFinite(C[T]) && (N = C[T]),
|
|
2538
|
-
const { dataContextXMinField:
|
|
2539
|
-
let Z = q -
|
|
2537
|
+
const { expr: v } = mt(C, y), { expr: T } = mt(C, h), { expr: w } = mt(C, x);
|
|
2538
|
+
v !== void 0 && Number.isFinite(C[v]) && (B = C[v]), T !== void 0 && Number.isFinite(C[T]) && (N = C[T]), w !== void 0 && Number.isFinite(C[w]) && (c = C[w]);
|
|
2539
|
+
const { dataContextXMinField: L, dataContextXMaxField: D, dataContextYMinField: R, dataContextYMaxField: M } = b.scatterplotAggregationFields, q = e.get(L) ?? Number.NaN, A = e.get(D) ?? Number.NaN, O = e.get(R) ?? Number.NaN, H = e.get(M) ?? Number.NaN, I = (A - q) / 100;
|
|
2540
|
+
let Z = q - I, ue = Number.NaN;
|
|
2540
2541
|
for (; !(ue >= O && ue <= H) && Z <= A; )
|
|
2541
|
-
Z +=
|
|
2542
|
-
let te = A +
|
|
2543
|
-
for (; !(
|
|
2544
|
-
te -=
|
|
2542
|
+
Z += I, ue = B * Z + N;
|
|
2543
|
+
let te = A + I, De = Number.NaN;
|
|
2544
|
+
for (; !(De >= O && De <= H) && te >= q; )
|
|
2545
|
+
te -= I, De = B * te + N;
|
|
2545
2546
|
l = [
|
|
2546
2547
|
{ [s]: Z, [o]: ue },
|
|
2547
|
-
{ [s]: te, [o]:
|
|
2548
|
+
{ [s]: te, [o]: De }
|
|
2548
2549
|
];
|
|
2549
2550
|
}
|
|
2550
2551
|
return { r2: c, trendLinePoints: l };
|
|
@@ -2823,11 +2824,11 @@ function hr(i) {
|
|
|
2823
2824
|
const { chartConfig: e, currentSelectionDataItems: t, options: a } = i, { selectionData: n } = a ?? {};
|
|
2824
2825
|
let r = [];
|
|
2825
2826
|
if (e !== void 0) {
|
|
2826
|
-
const s = e.series, o =
|
|
2827
|
+
const s = e.series, o = E(s), { selectionItems: c } = n ?? {};
|
|
2827
2828
|
if (c !== void 0 && pr({
|
|
2828
2829
|
itemsA: c,
|
|
2829
2830
|
itemsB: t,
|
|
2830
|
-
isPieFromFields:
|
|
2831
|
+
isPieFromFields: E(e.series) === p.PieFromFields,
|
|
2831
2832
|
x: e.series[0].x,
|
|
2832
2833
|
y: "y" in e.series[0] ? e.series[0].y.toString() : void 0,
|
|
2833
2834
|
outStatisticFieldName: e.series[0].query?.outStatistics?.[0]?.outStatisticFieldName
|
|
@@ -2908,13 +2909,13 @@ function vi(i) {
|
|
|
2908
2909
|
const c = Fe({ where: a ?? "", normalize: !1, escape: !0 });
|
|
2909
2910
|
let l = "";
|
|
2910
2911
|
if (Wa(s) === !0) {
|
|
2911
|
-
const d =
|
|
2912
|
-
key:
|
|
2912
|
+
const d = E(s.series) === p.BoxPlotMultiFieldsAndCategory ? t : void 0, f = U({
|
|
2913
|
+
key: V.Min,
|
|
2913
2914
|
showOutliers: !0,
|
|
2914
2915
|
splitBy: a,
|
|
2915
2916
|
y: d
|
|
2916
2917
|
}), m = U({
|
|
2917
|
-
key:
|
|
2918
|
+
key: V.Max,
|
|
2918
2919
|
showOutliers: !0,
|
|
2919
2920
|
splitBy: a,
|
|
2920
2921
|
y: d
|
|
@@ -2931,7 +2932,7 @@ function Fr(i) {
|
|
|
2931
2932
|
let s = "";
|
|
2932
2933
|
if (b.dateBinningRange in a)
|
|
2933
2934
|
s = Ci(e, a);
|
|
2934
|
-
else if (
|
|
2935
|
+
else if (E(r.series) !== p.BarAndLineFromFields) {
|
|
2935
2936
|
let l = ze({
|
|
2936
2937
|
value: a[e],
|
|
2937
2938
|
dataContext: a,
|
|
@@ -2950,7 +2951,7 @@ function Fr(i) {
|
|
|
2950
2951
|
function br(i) {
|
|
2951
2952
|
const { xAxisField: e, dataContext: t, chartConfig: a } = i;
|
|
2952
2953
|
let n = b.typeOrDomainIdValue in t ? t[b.typeOrDomainIdValue] : t[b.originalCategoryValue];
|
|
2953
|
-
return n === void 0 && (n = t[e]),
|
|
2954
|
+
return n === void 0 && (n = t[e]), E(a.series) === p.PieFromFields ? "" : Fe({
|
|
2954
2955
|
where: Ce(e, n),
|
|
2955
2956
|
normalize: !1,
|
|
2956
2957
|
escape: !0
|
|
@@ -3138,7 +3139,7 @@ async function Br(i) {
|
|
|
3138
3139
|
return await Promise.all(d);
|
|
3139
3140
|
}
|
|
3140
3141
|
function vr(i) {
|
|
3141
|
-
const { dataFetchingResults: e, numberOfQueries: t, series: a } = i, n = W(a), r =
|
|
3142
|
+
const { dataFetchingResults: e, numberOfQueries: t, series: a } = i, n = W(a), r = E(a);
|
|
3142
3143
|
let s = [];
|
|
3143
3144
|
const o = /* @__PURE__ */ new Map();
|
|
3144
3145
|
for (let c = 0; c < t; c += 1) {
|
|
@@ -3250,15 +3251,15 @@ async function Zo(i) {
|
|
|
3250
3251
|
return r;
|
|
3251
3252
|
}
|
|
3252
3253
|
async function Ar(i) {
|
|
3253
|
-
const { queryObject: e, queryConfig: t, chartConfig: a, currentSelectionDataItems: n, options: r, errorStrings: s, abortKey: o } = i, c =
|
|
3254
|
+
const { queryObject: e, queryConfig: t, chartConfig: a, currentSelectionDataItems: n, options: r, errorStrings: s, abortKey: o } = i, c = E(a.series);
|
|
3254
3255
|
let l = { valid: !0, data: { dataItems: [] } };
|
|
3255
3256
|
if (n !== void 0 && n.length > 0) {
|
|
3256
|
-
const u =
|
|
3257
|
+
const u = we(a), { x: d } = u, f = "y" in u ? u.y : "";
|
|
3257
3258
|
let m;
|
|
3258
3259
|
e !== void 0 && (m = (await Ne(e)).find((B) => B.name === d)?.type);
|
|
3259
3260
|
const g = [], y = n.reduce(
|
|
3260
3261
|
(C, B) => {
|
|
3261
|
-
|
|
3262
|
+
const N = [];
|
|
3262
3263
|
if (Y.uniqueIdsName in B)
|
|
3263
3264
|
g.push(B[Y.uniqueIdsName]);
|
|
3264
3265
|
else {
|
|
@@ -3266,31 +3267,33 @@ async function Ar(i) {
|
|
|
3266
3267
|
case p.BoxPlotMonoFieldAndSplitBy:
|
|
3267
3268
|
case p.BoxPlotMultiFieldsAndSplitBy:
|
|
3268
3269
|
case p.BoxPlotMonoFieldAndCategoryAndSplitBy: {
|
|
3269
|
-
|
|
3270
|
-
|
|
3271
|
-
|
|
3272
|
-
|
|
3273
|
-
|
|
3274
|
-
|
|
3275
|
-
})
|
|
3270
|
+
const w = K(u.query?.where ?? ""), L = `_${V.Average}`;
|
|
3271
|
+
Object.keys(B).forEach((D) => {
|
|
3272
|
+
if (D.includes(L)) {
|
|
3273
|
+
const R = D.replace(L, "");
|
|
3274
|
+
R.trim() !== "" && N.push(Ce(w, R));
|
|
3275
|
+
}
|
|
3276
|
+
});
|
|
3276
3277
|
break;
|
|
3277
3278
|
}
|
|
3278
3279
|
}
|
|
3279
3280
|
const v = [f].flat();
|
|
3280
3281
|
let T = v.length === 1 ? v[0] : "";
|
|
3281
3282
|
if (c === p.BoxPlotMultiFieldsAndCategory) {
|
|
3282
|
-
const
|
|
3283
|
-
|
|
3283
|
+
const w = `_${V.FirstQuartile}`, L = Object.keys(B).find((D) => D.includes(w));
|
|
3284
|
+
L !== void 0 && (T = L.replace(w, ""));
|
|
3284
3285
|
}
|
|
3285
|
-
|
|
3286
|
-
|
|
3287
|
-
|
|
3288
|
-
|
|
3289
|
-
|
|
3290
|
-
|
|
3291
|
-
|
|
3286
|
+
N.length === 0 && N.push(""), N.forEach((w) => {
|
|
3287
|
+
const L = vi({
|
|
3288
|
+
chartConfig: a,
|
|
3289
|
+
xAxisField: d,
|
|
3290
|
+
yAxisField: T,
|
|
3291
|
+
splitBy: w,
|
|
3292
|
+
dataContext: B,
|
|
3293
|
+
xAxisFieldType: m
|
|
3294
|
+
});
|
|
3295
|
+
C.push(L);
|
|
3292
3296
|
});
|
|
3293
|
-
C.push(D);
|
|
3294
3297
|
}
|
|
3295
3298
|
return C;
|
|
3296
3299
|
},
|
|
@@ -3341,8 +3344,8 @@ async function Pr(i) {
|
|
|
3341
3344
|
m.data = { dataItems: g };
|
|
3342
3345
|
break;
|
|
3343
3346
|
case S.PieSeries:
|
|
3344
|
-
if (
|
|
3345
|
-
const { x: h, y: x } = a.series[0], F =
|
|
3347
|
+
if (E(a.series) === p.PieFromFields) {
|
|
3348
|
+
const { x: h, y: x } = a.series[0], F = Me(g);
|
|
3346
3349
|
F.forEach((C) => {
|
|
3347
3350
|
h in C && (C[ne] = C[h], delete C[h]), x in C && (C[he] = C[x], delete C[x]);
|
|
3348
3351
|
}), m.data = { dataItems: F };
|
|
@@ -3391,8 +3394,8 @@ async function Pr(i) {
|
|
|
3391
3394
|
}, m.count = 0;
|
|
3392
3395
|
else {
|
|
3393
3396
|
const { x: h } = u[0], x = g.map((B, N) => {
|
|
3394
|
-
const { minValue: v, maxValue: T } = B,
|
|
3395
|
-
return `${h} >= ${v} AND ${h} ${
|
|
3397
|
+
const { minValue: v, maxValue: T } = B, w = N === g.length - 1 ? "<=" : "<";
|
|
3398
|
+
return `${h} >= ${v} AND ${h} ${w} ${T}`;
|
|
3396
3399
|
}), F = Q(x, "OR"), C = { ...t };
|
|
3397
3400
|
C.where = Q([C.where, F]), m = await Fi({
|
|
3398
3401
|
queryObject: e,
|
|
@@ -3564,7 +3567,7 @@ function Mr(i, e, t) {
|
|
|
3564
3567
|
async function wr(i) {
|
|
3565
3568
|
const { seriesData: e, chartConfig: t, queryConfig: a, queryObject: n, categoryOrDateCount: r, behaviorAfterLimit: s, abortKey: o } = i, { series: c } = t;
|
|
3566
3569
|
let l = e;
|
|
3567
|
-
const u =
|
|
3570
|
+
const u = E(c), d = pe(t);
|
|
3568
3571
|
if (s !== $e.RenderUpToTheLimit && n !== void 0 && r !== void 0 && r > e.length && u !== p.BarAndLineFromFields && u !== p.BarAndLineNoAggregation && u !== p.PieNoAggregation && d === S.CategoryAxisFormat) {
|
|
3569
3572
|
const { x: f } = c[0], m = {
|
|
3570
3573
|
...a,
|
|
@@ -3662,7 +3665,7 @@ function qr(i) {
|
|
|
3662
3665
|
sliceEndIndex: m
|
|
3663
3666
|
};
|
|
3664
3667
|
}
|
|
3665
|
-
function
|
|
3668
|
+
function Er(i) {
|
|
3666
3669
|
const { binFirstOrLastIndex: e, data: t, x: a, timeIntervalInfo: n } = i, { unit: r, size: s } = n, o = r === j.Week ? (s ?? 1) * 7 : s, c = t[e][a];
|
|
3667
3670
|
let l = e;
|
|
3668
3671
|
const u = Be({
|
|
@@ -3690,7 +3693,7 @@ function Vr(i) {
|
|
|
3690
3693
|
last: f
|
|
3691
3694
|
};
|
|
3692
3695
|
}
|
|
3693
|
-
function
|
|
3696
|
+
function Vr(i) {
|
|
3694
3697
|
const { binsToRegroup: e, statisticType: t, y: a, nullPolicy: n } = i;
|
|
3695
3698
|
let r;
|
|
3696
3699
|
n !== re.Interpolate && (r = n === re.Zero ? 0 : null);
|
|
@@ -3730,20 +3733,20 @@ function Ir(i) {
|
|
|
3730
3733
|
};
|
|
3731
3734
|
for (; !h; ) {
|
|
3732
3735
|
let C = {};
|
|
3733
|
-
const { binStartDate: B, binEndDate: N, last: v, nextBinFirstOrLastIndex: T, sliceStartIndex:
|
|
3736
|
+
const { binStartDate: B, binEndDate: N, last: v, nextBinFirstOrLastIndex: T, sliceStartIndex: w, sliceEndIndex: L } = d === G.End ? (
|
|
3734
3737
|
// When grouping from the end we'll start from the last date and move backward to create the bins
|
|
3735
|
-
|
|
3738
|
+
Er(F)
|
|
3736
3739
|
) : (
|
|
3737
3740
|
// When grouping from the start we'll start from the first date and move forward to create the bins
|
|
3738
3741
|
qr(F)
|
|
3739
3742
|
);
|
|
3740
|
-
if (h = v, C = d === G.End ? C = e[
|
|
3741
|
-
const
|
|
3743
|
+
if (h = v, C = d === G.End ? C = e[L - 1] : C = e[x], N > r && B < r || B < n && N > n || B >= n && N <= r) {
|
|
3744
|
+
const D = e.slice(w, L).filter((q) => !(b.dateBinModel in q));
|
|
3742
3745
|
g.forEach((q) => {
|
|
3743
|
-
C[q] =
|
|
3746
|
+
C[q] = Vr({ binsToRegroup: D, statisticType: y, y: q, nullPolicy: f });
|
|
3744
3747
|
});
|
|
3745
|
-
const
|
|
3746
|
-
|
|
3748
|
+
const R = D.map((q) => q[xe]).filter((q) => q !== void 0), M = Qa(R);
|
|
3749
|
+
M !== void 0 && (C[xe] = M), C[u] = B, C[b.xAxisField] = B, C[b.dateBinningRange] = [B, N], delete C[b.dateBinModel], s.push(C);
|
|
3747
3750
|
} else v && d !== G.End && s.length > 0 && (s[s.length - 1][b.dateBinningRange][1] = s[s.length - 1][b.dateBinningRange][1] + 1);
|
|
3748
3751
|
x = T, F.binFirstOrLastIndex = T;
|
|
3749
3752
|
}
|
|
@@ -4014,48 +4017,48 @@ async function Gr(i) {
|
|
|
4014
4017
|
if (!(y && (F === 0 && h === G.End || F === t.length - 1 && h === G.Start))) {
|
|
4015
4018
|
const { attributes: B, stackedAttributes: N } = x;
|
|
4016
4019
|
let v = B[l.lowerBoundaryAlias], T = B[l.upperBoundaryAlias];
|
|
4017
|
-
const
|
|
4018
|
-
let A =
|
|
4019
|
-
if (q === Ye.DateOnly && (typeof
|
|
4020
|
-
if (typeof
|
|
4021
|
-
const O =
|
|
4020
|
+
const w = v, L = T, D = (M, q) => {
|
|
4021
|
+
let A = M;
|
|
4022
|
+
if (q === Ye.DateOnly && (typeof M == "string" && M.length === 10 || typeof M == "number"))
|
|
4023
|
+
if (typeof M == "string") {
|
|
4024
|
+
const O = M.split("-");
|
|
4022
4025
|
O.length === 3 && (A = ae.local(Number(O[0]), Number(O[1]), Number(O[2])).valueOf());
|
|
4023
4026
|
} else
|
|
4024
|
-
A = new Date(
|
|
4025
|
-
else typeof
|
|
4026
|
-
O &&
|
|
4027
|
+
A = new Date(M), A = new Date(A.valueOf() + A.getTimezoneOffset() * 6e4), A = ae.local(A.getFullYear(), A.getMonth() + 1, A.getDate()).valueOf();
|
|
4028
|
+
else typeof M == "string" && ["+", "-"].forEach((O) => {
|
|
4029
|
+
O && M.lastIndexOf(O) === M.length - 6 && (A = new Date(M.slice(0, M.lastIndexOf(O))).valueOf());
|
|
4027
4030
|
});
|
|
4028
4031
|
return A;
|
|
4029
4032
|
};
|
|
4030
|
-
v =
|
|
4031
|
-
const
|
|
4033
|
+
v = D(v, d), T = D(T, d);
|
|
4034
|
+
const R = (M, q) => {
|
|
4032
4035
|
if (q)
|
|
4033
4036
|
switch (!0) {
|
|
4034
|
-
case (o === re.Zero && (
|
|
4035
|
-
|
|
4037
|
+
case (o === re.Zero && (M[q] === void 0 || M[q] === null)):
|
|
4038
|
+
M[q] = 0;
|
|
4036
4039
|
break;
|
|
4037
|
-
case (o === re.Null &&
|
|
4038
|
-
|
|
4040
|
+
case (o === re.Null && M[q] === 0 && g === P.Count):
|
|
4041
|
+
M[q] = null;
|
|
4039
4042
|
break;
|
|
4040
|
-
case (o === re.Interpolate && (
|
|
4041
|
-
delete
|
|
4043
|
+
case (o === re.Interpolate && (M[q] === 0 || M[q] === void 0 || M[q] === null)):
|
|
4044
|
+
delete M[q];
|
|
4042
4045
|
break;
|
|
4043
4046
|
}
|
|
4044
4047
|
};
|
|
4045
4048
|
if (typeof v == "number" && typeof T == "number") {
|
|
4046
|
-
const
|
|
4047
|
-
|
|
4049
|
+
const M = { ...B };
|
|
4050
|
+
M[b.originalServerBinningRange] = [w, L], M[r] = v, M[b.xAxisField] = v, M[b.dateBinningRange] = [v, T], delete M[l.lowerBoundaryAlias], delete M[l.upperBoundaryAlias], N && n && !ee(n) && a ? N.forEach((O) => {
|
|
4048
4051
|
const H = O[n];
|
|
4049
4052
|
if (H === null || typeof H == "string" || typeof H == "number") {
|
|
4050
4053
|
const X = a?.get(H);
|
|
4051
|
-
X !== void 0 && (
|
|
4054
|
+
X !== void 0 && (M[X] = O[Y.outStatistics?.outStatisticFieldName ?? ""], R(M, X));
|
|
4052
4055
|
}
|
|
4053
|
-
}) :
|
|
4056
|
+
}) : R(M, s);
|
|
4054
4057
|
const { featureExtent: q, featureExtentKey: A } = Li({
|
|
4055
4058
|
feature: x,
|
|
4056
4059
|
splitByField: n
|
|
4057
4060
|
});
|
|
4058
|
-
q && (
|
|
4061
|
+
q && (M[A] = q), f.push(M);
|
|
4059
4062
|
}
|
|
4060
4063
|
}
|
|
4061
4064
|
}), f;
|
|
@@ -4195,8 +4198,8 @@ function Zr(i, e) {
|
|
|
4195
4198
|
function es(i, e) {
|
|
4196
4199
|
const t = e, a = se(i), n = a.length === 1;
|
|
4197
4200
|
return a.forEach((r) => {
|
|
4198
|
-
const s = je(n ? void 0 : r), o = t[s[
|
|
4199
|
-
Number.isFinite(o) && Number.isFinite(c) && c >= o && (t[s[
|
|
4201
|
+
const s = je(n ? void 0 : r), o = t[s[V.FirstQuartile]], c = t[s[V.ThirdQuartile]];
|
|
4202
|
+
Number.isFinite(o) && Number.isFinite(c) && c >= o && (t[s[V.IQR]] = c - o);
|
|
4200
4203
|
}), t;
|
|
4201
4204
|
}
|
|
4202
4205
|
function ts(i, e) {
|
|
@@ -4278,7 +4281,7 @@ function os(i) {
|
|
|
4278
4281
|
t && (a === p.BoxPlotMonoFieldAndSplitBy || a === p.BoxPlotMultiFieldsAndSplitBy || a === p.BoxPlotMonoFieldAndCategoryAndSplitBy) && (e[b.boxPlot.boxPlotMeanLineMarkerId] = !0);
|
|
4279
4282
|
}
|
|
4280
4283
|
function ls(i) {
|
|
4281
|
-
const { queryResponse: e, chartConfig: t, maxCategoryCount: a } = i, n =
|
|
4284
|
+
const { queryResponse: e, chartConfig: t, maxCategoryCount: a } = i, n = E(t.series);
|
|
4282
4285
|
return a && Number.isFinite(a) && a < e.length && Ni.includes(n) ? e.slice(0, a) : e;
|
|
4283
4286
|
}
|
|
4284
4287
|
function cs(i) {
|
|
@@ -4309,14 +4312,14 @@ function Mi(i) {
|
|
|
4309
4312
|
showMean: u,
|
|
4310
4313
|
chartLimits: d,
|
|
4311
4314
|
fieldList: f
|
|
4312
|
-
} = i, { series: m } = t, g =
|
|
4313
|
-
let
|
|
4314
|
-
const
|
|
4315
|
-
for (let
|
|
4316
|
-
|
|
4317
|
-
const q =
|
|
4315
|
+
} = i, { series: m } = t, g = E(m), y = W(m), { x: h } = m[0], x = "y" in m[0] ? m[0].y : void 0, F = m[0].query?.outStatistics ?? [], { originalCategoryValue: C, originalDateValue: B, typeOrDomainFieldName: N, typeOrDomainIdValue: v } = b, T = [];
|
|
4316
|
+
let w = 0;
|
|
4317
|
+
const L = /* @__PURE__ */ new Set(), { maxCategoryCount: D } = Re(d), R = ls({ queryResponse: e, chartConfig: t, maxCategoryCount: D });
|
|
4318
|
+
for (let M = 0; R[M] && M < R.length && !(l !== void 0 && w >= l); M += 1) {
|
|
4319
|
+
w += ss(g, t);
|
|
4320
|
+
const q = R[M];
|
|
4318
4321
|
let A = { ...q.attributes };
|
|
4319
|
-
if (cs({ attributes: A, uniqueCategoryList:
|
|
4322
|
+
if (cs({ attributes: A, uniqueCategoryList: L, maxCategoryCount: D, x: h, chartSubType: g }))
|
|
4320
4323
|
continue;
|
|
4321
4324
|
is(A, m), g === p.PieFromFields || g === p.BarAndLineFromFields ? A = as(A, F) : typeof x == "string" && g === p.BarAndLineSplitByNoAggregation ? ns({ dataItem: A, splitByField: n, y: x }) : x && (g === p.BoxPlotMonoField || g === p.BoxPlotMonoFieldAndCategory || g === p.BoxPlotMonoFieldAndSplitBy || g === p.BoxPlotMonoFieldAndCategoryAndSplitBy) && rs(
|
|
4322
4325
|
A,
|
|
@@ -4324,11 +4327,11 @@ function Mi(i) {
|
|
|
4324
4327
|
), os({ attributes: A, showMean: u, chartSubType: g });
|
|
4325
4328
|
let O = A[h];
|
|
4326
4329
|
O === null && m[0]?.query?.fetchNullValues === !0 && g !== p.PieFromFields && (A[C] = null, O = b.nullValue), s && typeof O == "string" ? O = new Date(O).valueOf() : o && (O = Jr(A));
|
|
4327
|
-
const { outStatisticFieldName: H } = Y.outStatistics ?? {}, { featureExtent: X, featureExtentKey:
|
|
4328
|
-
if (X && (A[
|
|
4330
|
+
const { outStatisticFieldName: H } = Y.outStatistics ?? {}, { featureExtent: X, featureExtentKey: I } = Li({ feature: q, splitByField: n, chartSubType: g });
|
|
4331
|
+
if (X && (A[I] = X), g === p.BarAndLineSplitBy && H !== void 0) {
|
|
4329
4332
|
const ue = A[n], te = a?.get(ue);
|
|
4330
4333
|
te !== void 0 && (ue === n && (A[b.technicalFieldSplitByField] = A[te]), A[te] = A[H]), delete A[H];
|
|
4331
|
-
} else (g === p.PieNoAggregation || g === p.BarAndLineNoAggregation || g === p.BarAndLineSplitByNoAggregation) && (s ? A[B] = O : O !== b.nullValue && (A[C] = O), $a({ isXAxis: !0, chartType: y, valueFormat: t.axes?.[0]?.valueFormat }) && (A[b.xAxisField] = `${O}-${
|
|
4334
|
+
} else (g === p.PieNoAggregation || g === p.BarAndLineNoAggregation || g === p.BarAndLineSplitByNoAggregation) && (s ? A[B] = O : O !== b.nullValue && (A[C] = O), $a({ isXAxis: !0, chartType: y, valueFormat: t.axes?.[0]?.valueFormat }) && (A[b.xAxisField] = `${O}-${M}`), A[Y.uniqueIdsName] = A[r]);
|
|
4332
4335
|
const Z = pa({
|
|
4333
4336
|
subtypeInfo: c,
|
|
4334
4337
|
fieldList: f,
|
|
@@ -4351,7 +4354,7 @@ async function ut(i) {
|
|
|
4351
4354
|
showMean: c,
|
|
4352
4355
|
chartLimits: l,
|
|
4353
4356
|
usePopupTemplateFieldsInfo: u
|
|
4354
|
-
} = i, { series: d } = a, f =
|
|
4357
|
+
} = i, { series: d } = a, f = E(d);
|
|
4355
4358
|
let m = [];
|
|
4356
4359
|
const g = f === p.BarAndLineSplitBy || f === p.BarAndLineSplitByNoAggregation ? K(d[0].query?.where) : "", y = await ye({
|
|
4357
4360
|
queryObject: e,
|
|
@@ -4378,7 +4381,7 @@ async function ut(i) {
|
|
|
4378
4381
|
)), m;
|
|
4379
4382
|
}
|
|
4380
4383
|
async function wi(i) {
|
|
4381
|
-
const { chartConfig: e, queryObject: t, queryConfig: a, numberMaxOfFeaturesToFetch: n, behaviorAfterLimit: r, isGaugeByFeature: s } = i, { series: o } = e, c =
|
|
4384
|
+
const { chartConfig: e, queryObject: t, queryConfig: a, numberMaxOfFeaturesToFetch: n, behaviorAfterLimit: r, isGaugeByFeature: s } = i, { series: o } = e, c = E(o), { x: l } = o[0], u = o.length;
|
|
4382
4385
|
let d, f;
|
|
4383
4386
|
if (c === p.BoxPlotMonoField || c === p.BoxPlotMonoFieldAndSplitBy ? (f = u, d = f) : c === p.BoxPlotMultiFields || c === p.BoxPlotMultiFieldsAndSplitBy ? (f = e.series[0].y.length, d = f) : c === p.PieFromFields || c === p.BarAndLineFromFields ? (f = o[0].query?.outStatistics?.filter(
|
|
4384
4387
|
(m) => m.statisticType !== P.EnvelopeAggregate
|
|
@@ -4391,7 +4394,7 @@ async function wi(i) {
|
|
|
4391
4394
|
function Ke(i) {
|
|
4392
4395
|
const { arrayToSort: e, chartConfig: t, fieldList: a, isTimeBinningSeries: n } = i;
|
|
4393
4396
|
if (n !== !0) {
|
|
4394
|
-
const { series: r } = t, s =
|
|
4397
|
+
const { series: r } = t, s = E(r), o = W(r), c = pe(t), l = xt(t);
|
|
4395
4398
|
if (o === S.HeatSeries)
|
|
4396
4399
|
l !== void 0 && Ge({
|
|
4397
4400
|
arrayToSort: e,
|
|
@@ -4402,7 +4405,7 @@ function Ke(i) {
|
|
|
4402
4405
|
const { orderBy: u } = l;
|
|
4403
4406
|
let { sortingField: d } = l;
|
|
4404
4407
|
const f = t.orderOptions?.data?.orderType === be.Category, m = l.preferLabel !== !1, g = s === p.BarAndLineFromFields || s === p.PieFromFields || s === p.BoxPlotMultiFields || s === p.BoxPlotMultiFieldsAndSplitBy, y = g || o === S.PieSeries, h = s === p.PieNoAggregation || s === p.BarAndLineNoAggregation || s === p.BarAndLineSplitByNoAggregation, x = g ? !1 : e?.length > 0 && e.some((F) => Object.hasOwn(F, b.typeOrDomainIdValue));
|
|
4405
|
-
if (f && (!m || o === S.LineSeries && c === S.NumberAxisFormat) && (x ? d = b.typeOrDomainIdValue : y && (d = b.originalCategoryValue)), Array.isArray(u))
|
|
4408
|
+
if (f && (!m || (o === S.LineSeries || o === S.RadarSeries) && c === S.NumberAxisFormat) && (x ? d = b.typeOrDomainIdValue : y && (d = b.originalCategoryValue)), Array.isArray(u))
|
|
4406
4409
|
za({
|
|
4407
4410
|
arrayToSort: e,
|
|
4408
4411
|
orderBy: u,
|
|
@@ -4430,7 +4433,7 @@ function Ke(i) {
|
|
|
4430
4433
|
async function Bt(i) {
|
|
4431
4434
|
const { chartConfig: e, queryConfig: t, fetchFullBoxPlotData: a, options: n, queryObject: r, abortKey: s, fieldList: o } = i, c = "showMean" in e && typeof e.showMean == "boolean" ? e.showMean : !1, { chartLimits: l, usePopupTemplateFieldsInfo: u } = n ?? {}, d = n?.replaceNoValueCategoryWithZero ?? b.options.replaceNoValueCategoryWithZero, { behaviorAfterLimit: f } = l ?? {}, m = { valid: !0 };
|
|
4432
4435
|
let g, y = !1;
|
|
4433
|
-
const h = e.series, x = h[0], F =
|
|
4436
|
+
const h = e.series, x = h[0], F = E(e.series);
|
|
4434
4437
|
if (x !== void 0 && r !== void 0) {
|
|
4435
4438
|
const C = W(h), { uniqueQuery: B, mapToStatField: N } = await ct({
|
|
4436
4439
|
chartConfig: e,
|
|
@@ -4446,14 +4449,14 @@ async function Bt(i) {
|
|
|
4446
4449
|
behaviorAfterLimit: f,
|
|
4447
4450
|
numberMaxOfFeaturesToFetch: B.num
|
|
4448
4451
|
});
|
|
4449
|
-
const
|
|
4450
|
-
let
|
|
4452
|
+
const w = !Number.isFinite(T);
|
|
4453
|
+
let L = w || Se({
|
|
4451
4454
|
count: T ?? 0,
|
|
4452
4455
|
seriesCount: h.length,
|
|
4453
4456
|
chartType: C,
|
|
4454
4457
|
chartLimits: l
|
|
4455
4458
|
});
|
|
4456
|
-
if (
|
|
4459
|
+
if (L && (g = await ut({
|
|
4457
4460
|
queryObject: r,
|
|
4458
4461
|
uniqueQuery: B,
|
|
4459
4462
|
chartConfig: e,
|
|
@@ -4473,12 +4476,12 @@ async function Bt(i) {
|
|
|
4473
4476
|
elementCount: T,
|
|
4474
4477
|
chartLimits: l,
|
|
4475
4478
|
abortKey: s
|
|
4476
|
-
}), l?.maxBoxPlotOutlierLimit !== void 0 && (
|
|
4479
|
+
}), l?.maxBoxPlotOutlierLimit !== void 0 && (L = (m.data.outliers ?? []).length <= l.maxBoxPlotOutlierLimit, y = !L)), w && (v = g.length, T = Ft(F) ? v * h.length : v, L = Se({
|
|
4477
4480
|
count: T,
|
|
4478
4481
|
seriesCount: h.length,
|
|
4479
4482
|
chartType: C,
|
|
4480
4483
|
chartLimits: l
|
|
4481
|
-
})),
|
|
4484
|
+
})), L)) {
|
|
4482
4485
|
if (C === S.PieSeries) {
|
|
4483
4486
|
F === p.PieFromFields && (g = st({
|
|
4484
4487
|
dataToConvert: g[0],
|
|
@@ -4486,8 +4489,8 @@ async function Bt(i) {
|
|
|
4486
4489
|
y: he,
|
|
4487
4490
|
fieldList: o
|
|
4488
4491
|
}));
|
|
4489
|
-
let
|
|
4490
|
-
F === p.PieFromFields ?
|
|
4492
|
+
let D = "";
|
|
4493
|
+
F === p.PieFromFields ? D = he : "y" in x && typeof x.y == "string" && (D = x.y), cn(g, D) ? m.data = { dataItems: g } : Sn(m, $.PieChartMixOfNegativePositiveSlices);
|
|
4491
4494
|
} else if ((C === S.RadarSeries || C === S.BarSeries || C === S.LineSeries || C === S.ComboLineAndBarSeries) && (F === p.BarAndLineFromFields && "y" in x && typeof x.y == "string" ? g = st({
|
|
4492
4495
|
dataToConvert: g[0],
|
|
4493
4496
|
x: x.x,
|
|
@@ -4501,22 +4504,22 @@ async function Bt(i) {
|
|
|
4501
4504
|
categoryOrDateCount: v,
|
|
4502
4505
|
behaviorAfterLimit: f,
|
|
4503
4506
|
abortKey: s
|
|
4504
|
-
}), T = Ft(F) ? g.length * h.length : g.length,
|
|
4507
|
+
}), T = Ft(F) ? g.length * h.length : g.length, L = Se({
|
|
4505
4508
|
count: T,
|
|
4506
4509
|
seriesCount: h.length,
|
|
4507
4510
|
chartType: C,
|
|
4508
4511
|
chartLimits: l
|
|
4509
|
-
}),
|
|
4510
|
-
d && (g = Dr(g, e)), Ke({ arrayToSort: g, chartConfig: e, fieldList: o });
|
|
4511
|
-
let
|
|
4512
|
+
}), L)) {
|
|
4513
|
+
d && (g = Dr(g, e)), Ke({ arrayToSort: g, chartConfig: e, fieldList: o }), console.log("🚀CT: ~ fetchFinishedGenericChartData / data after:", Me(g));
|
|
4514
|
+
let D = {};
|
|
4512
4515
|
if (oe(x)) {
|
|
4513
|
-
const { size:
|
|
4514
|
-
|
|
4516
|
+
const { size: R, unit: M } = x.temporalBinning ?? {};
|
|
4517
|
+
R !== void 0 && M !== void 0 && (D = { size: R, unit: M });
|
|
4515
4518
|
}
|
|
4516
|
-
m.data = { dataItems: g, timeIntervalInfo:
|
|
4519
|
+
m.data = { dataItems: g, timeIntervalInfo: D };
|
|
4517
4520
|
}
|
|
4518
4521
|
}
|
|
4519
|
-
|
|
4522
|
+
L || ot({ dataInfo: m, chartType: C, subError: { outlierLimit: y } }), m.count = T;
|
|
4520
4523
|
}
|
|
4521
4524
|
return m;
|
|
4522
4525
|
}
|
|
@@ -4572,9 +4575,9 @@ async function Di(i) {
|
|
|
4572
4575
|
const B = await yt({ queryObject: a, queryConfig: t, category: f, abortKey: o }), N = await yt({ queryObject: a, queryConfig: t, category: m, abortKey: o });
|
|
4573
4576
|
if (l.length !== B?.length * N?.length) {
|
|
4574
4577
|
const v = B.flatMap(
|
|
4575
|
-
(T) => N.map((
|
|
4578
|
+
(T) => N.map((w) => ({
|
|
4576
4579
|
[k.xField]: T,
|
|
4577
|
-
[k.yField]:
|
|
4580
|
+
[k.yField]: w,
|
|
4578
4581
|
[k.valueField]: d === re.Zero ? 0 : null
|
|
4579
4582
|
}))
|
|
4580
4583
|
);
|
|
@@ -4582,7 +4585,7 @@ async function Di(i) {
|
|
|
4582
4585
|
...l,
|
|
4583
4586
|
...v.filter(
|
|
4584
4587
|
(T) => !l.some(
|
|
4585
|
-
(
|
|
4588
|
+
(w) => `${w[k.xField]}${w[k.yField]}` == `${T[k.xField]}${T[k.yField]}`
|
|
4586
4589
|
)
|
|
4587
4590
|
)
|
|
4588
4591
|
];
|
|
@@ -4597,18 +4600,18 @@ async function Di(i) {
|
|
|
4597
4600
|
}), F = y ? us(y.unit) : await yt({ queryObject: a, queryConfig: t, category: m, abortKey: o });
|
|
4598
4601
|
let C = 0;
|
|
4599
4602
|
l = x?.features.flatMap((B) => {
|
|
4600
|
-
const N = [], { attributes: v, stackedAttributes: T } = B,
|
|
4601
|
-
return T?.forEach((
|
|
4602
|
-
const
|
|
4603
|
-
|
|
4603
|
+
const N = [], { attributes: v, stackedAttributes: T } = B, w = [];
|
|
4604
|
+
return T?.forEach((L) => {
|
|
4605
|
+
const D = `${L[m]}`;
|
|
4606
|
+
w.push(D), N.push({
|
|
4604
4607
|
[k.xField]: `${v.lowerBoundary}`,
|
|
4605
|
-
[k.yField]:
|
|
4606
|
-
[k.valueField]:
|
|
4608
|
+
[k.yField]: D,
|
|
4609
|
+
[k.valueField]: L[h]
|
|
4607
4610
|
});
|
|
4608
|
-
}), n && F &&
|
|
4611
|
+
}), n && F && w.length !== F?.length && F.filter((D) => !w.includes(D.toString())).forEach((D) => {
|
|
4609
4612
|
N.push({
|
|
4610
4613
|
[k.xField]: `${v.lowerBoundary}`,
|
|
4611
|
-
[k.yField]:
|
|
4614
|
+
[k.yField]: D,
|
|
4612
4615
|
[k.valueField]: d === re.Zero ? 0 : null
|
|
4613
4616
|
});
|
|
4614
4617
|
}), C += N.length, N;
|
|
@@ -4668,35 +4671,35 @@ async function wt(i) {
|
|
|
4668
4671
|
j.Minute,
|
|
4669
4672
|
j.Second
|
|
4670
4673
|
].includes(B.unit) && (B.unit = j.Day, B.size = 1), h.size = B.size, h.unit = B.unit);
|
|
4671
|
-
const { uniqueQuery:
|
|
4674
|
+
const { uniqueQuery: w, mapToStatField: L } = await ct({
|
|
4672
4675
|
chartConfig: e,
|
|
4673
4676
|
queryConfig: t,
|
|
4674
4677
|
queryObject: a,
|
|
4675
4678
|
timeIntervalInfo: B,
|
|
4676
4679
|
options: s
|
|
4677
4680
|
});
|
|
4678
|
-
let
|
|
4681
|
+
let D = Se({
|
|
4679
4682
|
count: C ?? 0,
|
|
4680
4683
|
seriesCount: u.length,
|
|
4681
4684
|
chartType: S.LineSeries,
|
|
4682
4685
|
chartLimits: o
|
|
4683
4686
|
});
|
|
4684
|
-
if (
|
|
4687
|
+
if (D) {
|
|
4685
4688
|
if (Qe(a)) {
|
|
4686
|
-
const
|
|
4689
|
+
const R = await ai({
|
|
4687
4690
|
queryObject: a,
|
|
4688
4691
|
dateField: f,
|
|
4689
4692
|
splitByField: m,
|
|
4690
|
-
queryConfig:
|
|
4693
|
+
queryConfig: w,
|
|
4691
4694
|
temporalBinning: h
|
|
4692
|
-
}),
|
|
4695
|
+
}), M = "y" in d && typeof d.y == "string" ? d.y : void 0;
|
|
4693
4696
|
if (y = await Gr({
|
|
4694
4697
|
chartConfig: e,
|
|
4695
|
-
queryResults:
|
|
4696
|
-
mapToStatField:
|
|
4698
|
+
queryResults: R,
|
|
4699
|
+
mapToStatField: L,
|
|
4697
4700
|
splitByField: m,
|
|
4698
4701
|
x: f,
|
|
4699
|
-
y:
|
|
4702
|
+
y: M,
|
|
4700
4703
|
nullPolicy: h.nullPolicy,
|
|
4701
4704
|
queryObject: a
|
|
4702
4705
|
}), !Se({
|
|
@@ -4713,25 +4716,25 @@ async function wt(i) {
|
|
|
4713
4716
|
seriesCount: u.length,
|
|
4714
4717
|
chartType: S.LineSeries,
|
|
4715
4718
|
chartLimits: o
|
|
4716
|
-
}) || (
|
|
4719
|
+
}) || (D = !1);
|
|
4717
4720
|
}
|
|
4718
4721
|
} else if (T?.dateRange.dateMinTimestamp && T.dateRange.dateMaxTimestamp) {
|
|
4719
|
-
const { numberOfFinalBinsWithinDataRange:
|
|
4722
|
+
const { numberOfFinalBinsWithinDataRange: R } = Ai({
|
|
4720
4723
|
dateMinTimestamp: T.dateRange.dateMinTimestamp,
|
|
4721
4724
|
dateMaxTimestamp: T.dateRange.dateMaxTimestamp,
|
|
4722
4725
|
timeIntervalInfo: B
|
|
4723
4726
|
});
|
|
4724
|
-
C =
|
|
4727
|
+
C = R * u.length, C = Ti(C, B.unit), y = r?.data ?? await ut({
|
|
4725
4728
|
queryObject: a,
|
|
4726
|
-
uniqueQuery:
|
|
4729
|
+
uniqueQuery: w,
|
|
4727
4730
|
chartConfig: e,
|
|
4728
|
-
mapToStatField:
|
|
4731
|
+
mapToStatField: L,
|
|
4729
4732
|
elementCount: C,
|
|
4730
4733
|
chartLimits: o,
|
|
4731
4734
|
isTimeBinningSeries: !0,
|
|
4732
4735
|
usePopupTemplateFieldsInfo: c,
|
|
4733
4736
|
abortKey: n
|
|
4734
|
-
}), g.binnedServerData = { data:
|
|
4737
|
+
}), g.binnedServerData = { data: Me(y), timeBinningStats: T }, y = await Ur({
|
|
4735
4738
|
queryObject: a,
|
|
4736
4739
|
queryConfig: t,
|
|
4737
4740
|
queryResults: y,
|
|
@@ -4743,7 +4746,7 @@ async function wt(i) {
|
|
|
4743
4746
|
}
|
|
4744
4747
|
da(a) && y && y?.length === Or && (N = !0), l === $e.RenderUpToTheLimit && y && (y = ds({ chartConfig: e, options: s, data: y }));
|
|
4745
4748
|
}
|
|
4746
|
-
|
|
4749
|
+
D || (g.valid = !1, g.invalidType = $.LineChartExceedsLimit), y && y.length > 0 && (y[y.length - 1][b.lastTemporalBin] = !0), g.data = { dataItems: y, timeIntervalInfo: B, serverLimitReached: N }, g.count = C;
|
|
4747
4750
|
}
|
|
4748
4751
|
}
|
|
4749
4752
|
return g;
|
|
@@ -4862,7 +4865,7 @@ function nl(i) {
|
|
|
4862
4865
|
function Fs(i) {
|
|
4863
4866
|
return i ? i.replace(/[A-Z]/gu, (e) => `-${e.toLowerCase()}`) : void 0;
|
|
4864
4867
|
}
|
|
4865
|
-
const
|
|
4868
|
+
const Ee = {
|
|
4866
4869
|
ChartRenderer: 1,
|
|
4867
4870
|
LayerRenderer: 2
|
|
4868
4871
|
};
|
|
@@ -4872,7 +4875,7 @@ function rl(i) {
|
|
|
4872
4875
|
if (e.chartRenderer)
|
|
4873
4876
|
a = !0;
|
|
4874
4877
|
else {
|
|
4875
|
-
const { series: n } = e, r = W(n), s =
|
|
4878
|
+
const { series: n } = e, r = W(n), s = E(n), o = we(e), c = ve({
|
|
4876
4879
|
seriesConfig: o
|
|
4877
4880
|
}), u = z(t)?.renderer;
|
|
4878
4881
|
switch (u?.type) {
|
|
@@ -4924,7 +4927,7 @@ function qi(i) {
|
|
|
4924
4927
|
delete t[e];
|
|
4925
4928
|
else {
|
|
4926
4929
|
const s = { ...a };
|
|
4927
|
-
s.color !== void 0 && n ===
|
|
4930
|
+
s.color !== void 0 && n === Ee.LayerRenderer && (s.color[3] = ri * 255), n === Ee.LayerRenderer && (delete s.style, delete s.outline, delete s.label), t[e] = s, r = !0;
|
|
4928
4931
|
}
|
|
4929
4932
|
return r;
|
|
4930
4933
|
}
|
|
@@ -4995,7 +4998,7 @@ function vs(i) {
|
|
|
4995
4998
|
}
|
|
4996
4999
|
return r;
|
|
4997
5000
|
}
|
|
4998
|
-
function
|
|
5001
|
+
function Ei(i) {
|
|
4999
5002
|
const { seriesConfig: e, chartSubType: t, rendererType: a, dataItem: n } = i;
|
|
5000
5003
|
let r = vs({
|
|
5001
5004
|
seriesConfig: e,
|
|
@@ -5042,7 +5045,7 @@ async function Ts(i) {
|
|
|
5042
5045
|
const { x: m } = e[0], g = /* @__PURE__ */ new Map();
|
|
5043
5046
|
o && o.trim() !== "" ? e.forEach((y) => {
|
|
5044
5047
|
if (y.type === S.BarSeries || y.type === S.LineSeries || y.type === S.BoxPlotSeries || y.type === S.RadarSeries) {
|
|
5045
|
-
const h =
|
|
5048
|
+
const h = Ei({
|
|
5046
5049
|
seriesConfig: y,
|
|
5047
5050
|
chartSubType: s,
|
|
5048
5051
|
rendererType: n,
|
|
@@ -5119,13 +5122,13 @@ async function sl(i) {
|
|
|
5119
5122
|
const { data: e, queryObject: t, chartConfig: a, allowColorMatch: n } = i;
|
|
5120
5123
|
let r = !1, s = [];
|
|
5121
5124
|
if (n) {
|
|
5122
|
-
const { series: o, chartRenderer: c } = a, l = As(c), u = l ?
|
|
5125
|
+
const { series: o, chartRenderer: c } = a, l = As(c), u = l ? Ee.ChartRenderer : Ee.LayerRenderer, d = t ? z(t) : void 0, f = l ?? d?.renderer;
|
|
5123
5126
|
let m;
|
|
5124
|
-
d && u ===
|
|
5127
|
+
d && u === Ee.LayerRenderer ? s = await Zt(d) : u === Ee.ChartRenderer && (s = Ms(f));
|
|
5125
5128
|
const g = bs(l, d?.renderer), y = Ns({
|
|
5126
5129
|
chartRenderer: c,
|
|
5127
5130
|
queryObject: t
|
|
5128
|
-
}), h =
|
|
5131
|
+
}), h = E(o), x = we(a), F = K(x.query?.where);
|
|
5129
5132
|
m = /* @__PURE__ */ new Map();
|
|
5130
5133
|
for (let C = 0; C < e.length; C += 1) {
|
|
5131
5134
|
const B = e[C], N = await Ts({
|
|
@@ -5149,7 +5152,7 @@ function Ps(i) {
|
|
|
5149
5152
|
const { dataItem: e, seriesConfig: t, chartSubType: a, colorMatch: n, rendererType: r } = i;
|
|
5150
5153
|
let s;
|
|
5151
5154
|
if (n && e !== void 0) {
|
|
5152
|
-
const o =
|
|
5155
|
+
const o = Ei({
|
|
5153
5156
|
seriesConfig: t,
|
|
5154
5157
|
chartSubType: a,
|
|
5155
5158
|
rendererType: r,
|
|
@@ -5181,7 +5184,7 @@ function Ls(i) {
|
|
|
5181
5184
|
function ll(i, e) {
|
|
5182
5185
|
let t = !1;
|
|
5183
5186
|
if (i && e && e.length > 0 && Gt(i)) {
|
|
5184
|
-
const n = ja(i), r =
|
|
5187
|
+
const n = ja(i), r = we(i);
|
|
5185
5188
|
n ? t = Ls(i).some((o) => e.includes(o)) : t = e.includes(r.x);
|
|
5186
5189
|
}
|
|
5187
5190
|
return t;
|
|
@@ -5318,7 +5321,7 @@ async function ml(i, e, t) {
|
|
|
5318
5321
|
if (a !== void 0 && e !== void 0 && (e.series.length > 0 || n !== void 0) && a.addMissingSeries) {
|
|
5319
5322
|
const r = e.series.length === 0;
|
|
5320
5323
|
e.series.length === 0 && n !== void 0 && e.series.push(n);
|
|
5321
|
-
const s =
|
|
5324
|
+
const s = E(e.series);
|
|
5322
5325
|
if (s === p.BoxPlotMonoFieldAndSplitBy || s === p.BoxPlotMultiFieldsAndSplitBy || s === p.BoxPlotMonoFieldAndCategoryAndSplitBy || s === p.BarAndLineSplitBy || s === p.BarAndLineSplitByNoAggregation) {
|
|
5323
5326
|
const o = await ha({
|
|
5324
5327
|
chartConfig: e,
|
|
@@ -5376,7 +5379,7 @@ export {
|
|
|
5376
5379
|
lo as O,
|
|
5377
5380
|
uo as P,
|
|
5378
5381
|
fe as Q,
|
|
5379
|
-
|
|
5382
|
+
Ee as R,
|
|
5380
5383
|
Lo as S,
|
|
5381
5384
|
jo as T,
|
|
5382
5385
|
hn as U,
|
|
@@ -5398,7 +5401,7 @@ export {
|
|
|
5398
5401
|
po as a8,
|
|
5399
5402
|
Ho as a9,
|
|
5400
5403
|
zo as aa,
|
|
5401
|
-
|
|
5404
|
+
Eo as ab,
|
|
5402
5405
|
Uo as ac,
|
|
5403
5406
|
ho as ad,
|
|
5404
5407
|
So as ae,
|
|
@@ -5410,7 +5413,7 @@ export {
|
|
|
5410
5413
|
ci as ak,
|
|
5411
5414
|
To as al,
|
|
5412
5415
|
tl as am,
|
|
5413
|
-
|
|
5416
|
+
Vo as an,
|
|
5414
5417
|
Io as ao,
|
|
5415
5418
|
Wo as ap,
|
|
5416
5419
|
Qo as aq,
|