@arcgis/charts-components 5.0.0-next.122 → 5.0.0-next.124
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/{BPAX5LDZ.js → 2D5EDHYN.js} +2 -2
- package/dist/cdn/{BXJDGM4L.js → 2MS2UCMT.js} +2 -2
- package/dist/cdn/{Q6ZSMRXV.js → 2YH4S6R2.js} +2 -2
- package/dist/cdn/{NNZ5JOFW.js → 3GNZ6W5K.js} +2 -2
- package/dist/cdn/{TILDF2IQ.js → 3KHBL2HS.js} +2 -2
- package/dist/cdn/{6UPOP73K.js → 3PPWCDCJ.js} +2 -2
- package/dist/cdn/{SE5HOGZZ.js → 3X7QLZLE.js} +2 -2
- package/dist/cdn/{3HGC7PGI.js → 3YX74DF2.js} +1 -1
- package/dist/cdn/{2DKYAYHY.js → 43UQ4RML.js} +2 -2
- package/dist/cdn/{HJKT3XJL.js → 44SCILTL.js} +2 -2
- package/dist/cdn/{4DQIBSFO.js → 4C222VDK.js} +2 -2
- package/dist/cdn/{UMXPXELL.js → 4HCLTLQ4.js} +2 -2
- package/dist/cdn/{JKWTT3AE.js → 4JNZBZMT.js} +2 -2
- package/dist/cdn/{GES2WEH5.js → 4WWFFD7Q.js} +2 -2
- package/dist/cdn/{BPMT42MN.js → 55FUE6UE.js} +2 -2
- package/dist/cdn/{T2JMM7SD.js → 57CI5J4N.js} +2 -2
- package/dist/cdn/{I5HIC2IK.js → 5IQIHGWP.js} +2 -2
- package/dist/cdn/{YM3KNT3I.js → 5IZCBNLA.js} +2 -2
- package/dist/cdn/{AJBYT4MH.js → 5PC6AV3A.js} +2 -2
- package/dist/cdn/{BW4EOPPJ.js → 5VUKOFOE.js} +2 -2
- package/dist/cdn/{HOZ44UTB.js → 5X46EGJ4.js} +2 -2
- package/dist/cdn/{QBKDVOYP.js → 5ZQNHXXD.js} +2 -2
- package/dist/cdn/{XU523TMP.js → 655OVJFP.js} +2 -2
- package/dist/cdn/{56MKGEI5.js → 6CTF3LVX.js} +2 -2
- package/dist/cdn/{B3TZI4Z5.js → 6HRJYONF.js} +2 -2
- package/dist/cdn/{GHR74V5R.js → 6QNIVBNW.js} +2 -2
- package/dist/cdn/{QRNWBX73.js → 6RWCW3UO.js} +2 -2
- package/dist/cdn/{HNPJXXBV.js → 6XX34RTG.js} +2 -2
- package/dist/cdn/{SJAXE5EO.js → 76LO3EHS.js} +2 -2
- package/dist/cdn/{JW6GZE4C.js → 7EW6LYPG.js} +2 -2
- package/dist/cdn/{KVJPDC7D.js → 7IJWGHYS.js} +2 -2
- package/dist/cdn/{AIOTWK6M.js → 7RH3XZWT.js} +2 -2
- package/dist/cdn/{66CNCEJE.js → 7SRXBXPZ.js} +1 -1
- package/dist/cdn/AOKVSUIH.js +4 -0
- package/dist/cdn/{M7YXARDE.js → AOX55UWJ.js} +2 -2
- package/dist/cdn/{IURE5EFW.js → ATHPEPG3.js} +2 -2
- package/dist/cdn/{DWS64R4Z.js → B7CIWHRP.js} +2 -2
- package/dist/cdn/{BENVAVQA.js → BGA7WGKS.js} +2 -2
- package/dist/cdn/{MBAY4KQ2.js → BGQBSD5V.js} +2 -2
- package/dist/cdn/{GFPDR527.js → BM2LI7QH.js} +2 -2
- package/dist/cdn/{VGDXVARE.js → BYMWEK3G.js} +2 -2
- package/dist/cdn/{QGXQOAKT.js → BZPIEEDJ.js} +2 -2
- package/dist/cdn/{7TI756JI.js → C4OWDLDM.js} +2 -2
- package/dist/cdn/{MAVN7C5Q.js → C7OKJYN7.js} +2 -2
- package/dist/cdn/{ZVTZUKHM.js → CNO7MVUY.js} +2 -2
- package/dist/cdn/{GIV53VKQ.js → CX4D6GWY.js} +2 -2
- package/dist/cdn/{6CMF3QZD.js → CZ4QFJN6.js} +2 -2
- package/dist/cdn/{KKN6FUWO.js → D34QFF3X.js} +2 -2
- package/dist/cdn/{WK7YR3NB.js → D5SH6HG6.js} +2 -2
- package/dist/cdn/{D3YZQVC6.js → DCCED6GZ.js} +2 -2
- package/dist/cdn/{ENIPA2F2.js → DJYAEAGR.js} +2 -2
- package/dist/cdn/{RFLJORXE.js → DMHAI37D.js} +2 -2
- package/dist/cdn/{QAQ3E2J3.js → DWPKUBVW.js} +2 -2
- package/dist/cdn/{EGYRMXXK.js → EGZMAYNW.js} +2 -2
- package/dist/cdn/{DIAU6PE2.js → EQEQE67W.js} +1 -1
- package/dist/cdn/{OPXOETVT.js → ESRJRU26.js} +2 -2
- package/dist/cdn/{7W2ZYXNQ.js → EZ2LYGYL.js} +2 -2
- package/dist/cdn/{LRGNHI7Z.js → F7NRRR3T.js} +2 -2
- package/dist/cdn/FE33CRUK.js +4 -0
- package/dist/cdn/{SASYKHLG.js → FMALP4BH.js} +2 -2
- package/dist/cdn/{KLELWDKV.js → FT3ZXFJE.js} +2 -2
- package/dist/cdn/{ELL34MS3.js → FZ4SJYZ6.js} +2 -2
- package/dist/cdn/{H7UFI7QG.js → G3GVJVSG.js} +2 -2
- package/dist/cdn/{AQRUZOOC.js → G3HDHYLX.js} +2 -2
- package/dist/cdn/{4EZSXQJ6.js → GBSVT554.js} +2 -2
- package/dist/cdn/{UAVJ57G4.js → GIZYIH77.js} +2 -2
- package/dist/cdn/{SB2HFPIW.js → GNNDUEVI.js} +2 -2
- package/dist/cdn/{U3Y2TAQK.js → GO4C26OI.js} +2 -2
- package/dist/cdn/{KFVVDOGP.js → GR3U6ZIK.js} +2 -2
- package/dist/cdn/{KR36UAHF.js → GRRFZGXJ.js} +2 -2
- package/dist/cdn/{GIQ4H3IF.js → GZRGFME2.js} +2 -2
- package/dist/cdn/{J6UTMEKL.js → HGRXTY54.js} +2 -2
- package/dist/cdn/{T4332JLO.js → HHH22MZL.js} +2 -2
- package/dist/cdn/{LHVANY6L.js → HVR7IPTU.js} +2 -2
- package/dist/cdn/{45NBJYSN.js → HXUD4YD5.js} +2 -2
- package/dist/cdn/{4ZXSIXV7.js → HZPY6DNK.js} +2 -2
- package/dist/cdn/{T47P5F2U.js → I7GCNDDT.js} +2 -2
- package/dist/cdn/{3I7CSGHN.js → IGM4UGTH.js} +2 -2
- package/dist/cdn/{JUXLJCTJ.js → IMDCZRKX.js} +2 -2
- package/dist/cdn/{4FKE3H45.js → IMQFKMPS.js} +2 -2
- package/dist/cdn/{OZ6M364D.js → IN6PWUNI.js} +2 -2
- package/dist/cdn/{OZKJYYCR.js → ISNET2BC.js} +2 -2
- package/dist/cdn/{TNJ4E46T.js → ITRLHIN6.js} +2 -2
- package/dist/cdn/{P36E2JPT.js → IVBO3UZX.js} +2 -2
- package/dist/cdn/{7LIY7YIW.js → JGPXA4KQ.js} +8 -8
- package/dist/cdn/{ZYFZMYSC.js → JI5RWIXQ.js} +2 -2
- package/dist/cdn/{UA3VD3FU.js → JJS3F6GU.js} +2 -2
- package/dist/cdn/{XSLDRJZS.js → JKVFIMBB.js} +1 -1
- package/dist/cdn/{2A6XWNKP.js → JLHG2CB2.js} +1 -1
- package/dist/cdn/{KQKOYGJT.js → JTYNPEFS.js} +2 -2
- package/dist/cdn/{IEL2CVEP.js → JWMIS654.js} +2 -2
- package/dist/cdn/{MP33O3E5.js → K5CBCSDB.js} +2 -2
- package/dist/cdn/{GZ24K7TJ.js → KHD7ZZ3C.js} +2 -2
- package/dist/cdn/{BZC625SA.js → KLP7IYTM.js} +2 -2
- package/dist/cdn/{6CPLWVI2.js → KPS2S4MH.js} +2 -2
- package/dist/cdn/{KQW7EHAP.js → KS4HIDA2.js} +2 -2
- package/dist/cdn/{PRXXVENS.js → KW7WUR52.js} +2 -2
- package/dist/cdn/{GK3ZOJTH.js → KWCCDTNA.js} +2 -2
- package/dist/cdn/{PZ47342P.js → LRKUFVPM.js} +2 -2
- package/dist/cdn/{SZXAREGY.js → LSHWTF42.js} +2 -2
- package/dist/cdn/{IJT7TD3Y.js → LTFM5NKH.js} +2 -2
- package/dist/cdn/{YIN7ARHE.js → M5R5MFMW.js} +2 -2
- package/dist/cdn/{3PJSFK4K.js → MC3M3JDB.js} +2 -2
- package/dist/cdn/{T274BL2P.js → MEKRZZV7.js} +2 -2
- package/dist/cdn/{CVCV4SE4.js → MI7MLBEV.js} +2 -2
- package/dist/cdn/{T6FFTSYS.js → ML67VUPG.js} +2 -2
- package/dist/cdn/{H22QEVL4.js → N4SMAGEG.js} +2 -2
- package/dist/cdn/{ATJ7MWFA.js → N4ZQJQAW.js} +2 -2
- package/dist/cdn/{23PRTKUU.js → N7MCHAWE.js} +2 -2
- package/dist/cdn/{QZFMHKXR.js → NJS62ZQP.js} +2 -2
- package/dist/cdn/{FAEG4QFH.js → NWAGI43Q.js} +2 -2
- package/dist/cdn/{TQYH77D3.js → NXLS44FO.js} +2 -2
- package/dist/cdn/{AKZ4CMJK.js → O2GMJWE4.js} +2 -2
- package/dist/cdn/{5LNPMUB6.js → O47JQDR4.js} +4 -4
- package/dist/cdn/{5FA5TBRL.js → O4QFRRKK.js} +2 -2
- package/dist/cdn/{HY2BJLIR.js → OCKE7CUE.js} +2 -2
- package/dist/cdn/OL36EBBK.js +4 -0
- package/dist/cdn/{IDV5ZOWS.js → OLETCYC4.js} +2 -2
- package/dist/cdn/{QTCRHJ26.js → OMBNC7SB.js} +2 -2
- package/dist/cdn/{JEU4AMXY.js → OMIIGK3F.js} +2 -2
- package/dist/cdn/{ZPIWJ5QC.js → OPI3SGBW.js} +2 -2
- package/dist/cdn/{2SQIRUQS.js → OXDG56YL.js} +2 -2
- package/dist/cdn/{RAE6544M.js → OYHNC2SA.js} +2 -2
- package/dist/cdn/{WGLSF6RP.js → P2EORQVS.js} +2 -2
- package/dist/cdn/{RT5J7AVA.js → PD4Q6GZE.js} +2 -2
- package/dist/cdn/{5NSWAD5Y.js → PXWSFT73.js} +2 -2
- package/dist/cdn/{IP52N6M7.js → QDNHFVAT.js} +2 -2
- package/dist/cdn/{PB7TFXRL.js → QNFRQUY2.js} +2 -2
- package/dist/cdn/{3BRBJQOB.js → QNMYBOGS.js} +2 -2
- package/dist/cdn/{QJEH5XOI.js → QOZYNDKK.js} +2 -2
- package/dist/cdn/{IAF2K6G2.js → QT5UYLQ4.js} +2 -2
- package/dist/cdn/{3HH7LGDI.js → QTD73XWY.js} +2 -2
- package/dist/cdn/{JQORYXNN.js → QU4A7QPE.js} +1 -1
- package/dist/cdn/{P67A3VUA.js → R2YNWG73.js} +2 -2
- package/dist/cdn/{M5WPEXU5.js → R36AM327.js} +2 -2
- package/dist/cdn/{KDG4GRFJ.js → R6OITWD5.js} +2 -2
- package/dist/cdn/{RVUKKCQ5.js → RATBUCY6.js} +2 -2
- package/dist/cdn/{XRHNPELK.js → RBSOFFDG.js} +2 -2
- package/dist/cdn/{MHGZBP24.js → RHEZNEQE.js} +2 -2
- package/dist/cdn/{46DDKTMT.js → RMU2CIGT.js} +2 -2
- package/dist/cdn/{UWV32QMG.js → RQ6S74GA.js} +2 -2
- package/dist/cdn/{FAFSWA4Y.js → RSPHI4BO.js} +2 -2
- package/dist/cdn/{2WZB5AM4.js → RUEIU24U.js} +2 -2
- package/dist/cdn/{GWTDBXS6.js → RUZY3A2W.js} +1 -1
- package/dist/cdn/{YQOGJGMJ.js → RWZIWFW2.js} +2 -2
- package/dist/cdn/{2O43QSDU.js → RXXCTZJV.js} +2 -2
- package/dist/cdn/{NQJ67Z4L.js → S3UD7LY2.js} +2 -2
- package/dist/cdn/{DC6DZYH4.js → S5ELHZKG.js} +2 -2
- package/dist/cdn/{JQTJGQ27.js → SC76G3QP.js} +2 -2
- package/dist/cdn/{SEVBIYWO.js → SDYHRUT5.js} +2 -2
- package/dist/cdn/{PDRAFFHM.js → SJVORS7J.js} +2 -2
- package/dist/cdn/{QCCD2LM7.js → SMRIUQDY.js} +2 -2
- package/dist/cdn/{2IPP3LAG.js → STA72KQH.js} +2 -2
- package/dist/cdn/{DD7WE3XJ.js → SUJSBDM5.js} +2 -2
- package/dist/cdn/{RSEKIBA5.js → T4N4JEIW.js} +2 -2
- package/dist/cdn/{YXKZ5KSO.js → THVLXND3.js} +2 -2
- package/dist/cdn/{WHSBOFFX.js → THZM3X2A.js} +2 -2
- package/dist/cdn/{VM7CEYYR.js → TMNXZ2P2.js} +2 -2
- package/dist/cdn/{IHTVJWFX.js → TTGW7K5G.js} +2 -2
- package/dist/cdn/{VO765B3C.js → UCWBWNTL.js} +2 -2
- package/dist/cdn/{46VHFQUG.js → UEM3MUED.js} +2 -2
- package/dist/cdn/{325AT5IA.js → ULU4K6SN.js} +2 -2
- package/dist/cdn/{PQJFSRIT.js → USGO4QRN.js} +2 -2
- package/dist/cdn/{PBLIXD2C.js → UX5AAEZQ.js} +2 -2
- package/dist/cdn/{LGQX6AM6.js → V2RBEV67.js} +2 -2
- package/dist/cdn/{23QHNUZR.js → V4C25BVV.js} +2 -2
- package/dist/cdn/{DECT22AJ.js → V64AI4RB.js} +2 -2
- package/dist/cdn/{GBT4RHT2.js → VSNSRQWP.js} +2 -2
- package/dist/cdn/{4VGG34MI.js → VSOUQS2X.js} +2 -2
- package/dist/cdn/{SGC2SEEM.js → VWQJJEWQ.js} +2 -2
- package/dist/cdn/{CRR7EVCF.js → WJ4LHER2.js} +2 -2
- package/dist/cdn/{2CZEQWZJ.js → WKJSDXQI.js} +2 -2
- package/dist/cdn/{PV5FWCDN.js → XELT5Y3X.js} +2 -2
- package/dist/cdn/{OKXLAW2C.js → XUAJX5PS.js} +2 -2
- package/dist/cdn/{FUHN7NNH.js → YGWW67SB.js} +2 -2
- package/dist/cdn/{6NVTUKFH.js → YS2FXGAU.js} +2 -2
- package/dist/cdn/{3HHUNWVG.js → YTQZKWA6.js} +2 -2
- package/dist/cdn/{QULEP6QF.js → YUS4PQGH.js} +2 -2
- package/dist/cdn/{6FUSBAG3.js → YUUP7TFJ.js} +1 -1
- package/dist/cdn/{OMGWR5KZ.js → YVMTYOW2.js} +2 -2
- package/dist/cdn/{3GAAVHTW.js → YZZRXAD4.js} +2 -2
- package/dist/cdn/{JGIFVK2C.js → ZFDJUSVB.js} +2 -2
- package/dist/cdn/{ECIDH67O.js → ZOQ5F4KQ.js} +2 -2
- package/dist/cdn/{EYNVBXNH.js → ZPTBU5IU.js} +2 -2
- package/dist/cdn/{QEPVBOOE.js → ZTT6BCX2.js} +2 -2
- package/dist/cdn/{7GCHSTZF.js → ZV37BEXJ.js} +2 -2
- package/dist/cdn/{YXHDJVQY.js → ZZJJZZFN.js} +2 -2
- package/dist/cdn/assets/common/t9n/messages.en.json +1 -1
- package/dist/cdn/index.js +2 -2
- package/dist/chunks/action-bar-utils.js +1 -1
- package/dist/chunks/axis-lines-symbol.js +1 -1
- package/dist/chunks/axis-model-wrapper.js +1 -1
- package/dist/chunks/bar-chart-model.js +1 -1
- package/dist/chunks/bar-chart-series.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 +12 -8
- package/dist/chunks/chart-ui-utils2.js +1 -1
- package/dist/chunks/class-breaks.js +1 -1
- package/dist/chunks/combo-bar-line-chart-model.js +1 -1
- package/dist/chunks/common.js +1 -1
- package/dist/chunks/data-labels-symbol.js +1 -1
- package/dist/chunks/data-labels-visibility.js +1 -1
- package/dist/chunks/data.js +1 -1
- package/dist/chunks/default.js +1 -1
- package/dist/chunks/gauge-model.js +1 -1
- package/dist/chunks/generate-x-axis-title.js +1 -1
- package/dist/chunks/heat-chart-model.js +77 -65
- package/dist/chunks/histogram-data.js +1 -1
- package/dist/chunks/histogram-model.js +1 -1
- package/dist/chunks/index.js +1359 -1381
- package/dist/chunks/index2.js +1 -1
- package/dist/chunks/index3.js +1 -1
- package/dist/chunks/index4.js +1 -1
- package/dist/chunks/index5.js +1 -1
- package/dist/chunks/interfaces.js +1 -1
- package/dist/chunks/line-chart-model.js +1 -1
- package/dist/chunks/model-setter.js +1 -1
- package/dist/chunks/model-with-multi-axes.js +1 -1
- package/dist/chunks/negative-values-stacked-to-baseline.js +1 -1
- package/dist/chunks/pie-chart-data.js +1 -1
- package/dist/chunks/pie-chart-model.js +1 -1
- package/dist/chunks/popover-ui-utils.js +1 -1
- package/dist/chunks/radar-chart-model.js +1 -1
- package/dist/chunks/resource.js +1 -1
- package/dist/chunks/rest-js-object-literals.js +1 -1
- package/dist/chunks/rotated-state.js +1 -1
- package/dist/chunks/runtime.js +1 -1
- package/dist/chunks/scatterplot-model.js +1 -1
- package/dist/chunks/serial-chart-data.js +192 -186
- package/dist/chunks/serial-chart-model.js +1 -1
- package/dist/chunks/series-types.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/utils.js +1 -1
- package/dist/chunks/utils2.js +1 -1
- package/dist/chunks/web-component-utils.js +1 -1
- package/dist/chunks/x-axis-labels-visibility.js +1 -1
- package/dist/components/arcgis-chart/customElement.d.ts +22 -16
- package/dist/components/arcgis-chart/customElement.js +389 -389
- 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-heat-chart/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-heat-chart-data/customElement.js +79 -75
- package/dist/components/arcgis-charts-config-heat-chart-data/index.d.ts +1 -0
- package/dist/components/arcgis-charts-config-heat-chart-data/index.js +1 -0
- package/dist/components/arcgis-charts-config-heat-chart-popover/customElement.js +35 -35
- 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/utils/heat-chart-data.d.ts +16 -6
- package/dist/model.js +1 -1
- package/dist/utils/localization/interfaces.d.ts +22 -16
- package/package.json +3 -3
- package/dist/cdn/5CWLAPP6.js +0 -4
- package/dist/cdn/B35ILGAZ.js +0 -4
- package/dist/cdn/WJ6COA54.js +0 -4
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { m as Ae, C as H } from "./model-setter.js";
|
|
2
2
|
import "@arcgis/toolkit/intl";
|
|
3
|
-
import { cloneDeep as re, memoize as
|
|
3
|
+
import { cloneDeep as re, memoize as ne, isEmpty as ve } from "lodash-es";
|
|
4
4
|
import "d3-array";
|
|
5
|
-
import { aH as Ie, aF as Le, bA as qe, k as Q, q as I, U as Ve, cG as Ne, o as
|
|
6
|
-
import { w as Ze, a as A, d as et, t as
|
|
5
|
+
import { aH as Ie, aF as Le, bA as qe, k as Q, q as I, U as Ve, cG as Ne, o as $, de as V, j as we, cE as Oe, bK as De, bW as Pe, am as Me, p as ke, dm as Re, cA as Ee, dn as Z, cb as $e, c7 as Ue, aS as We, Z as U, cX as N, dl as Xe, dj as k, bJ as W, bP as le, bQ as oe, dg as de, l as je, b as R, bN as Ye, bq as Ke, b2 as _e, b3 as He, aZ as Qe, b5 as ze, bM as ee, aK as Ge, aJ as te, aL as Je } from "./index.js";
|
|
6
|
+
import { w as Ze, a as A, d as et, t as T, g as tt, W as O, m as j, n as st, i as Y } from "./series-types.js";
|
|
7
7
|
import "@arcgis/core/geometry/support/jsonUtils.js";
|
|
8
8
|
import "@arcgis/core/rest/support/AttributeBinsQuery.js";
|
|
9
9
|
import "@arcgis/core/rest/support/Query.js";
|
|
@@ -17,7 +17,7 @@ import { substitute as w } from "@arcgis/core/intl.js";
|
|
|
17
17
|
import { R as ue, f as it } from "./rest-js-object-literals.js";
|
|
18
18
|
import { h as ce, l as v, o as at, p as rt, j as B, k as b, m as se } from "./index4.js";
|
|
19
19
|
import { S as K } from "./common.js";
|
|
20
|
-
import { s as x, u as
|
|
20
|
+
import { s as x, u as D, d as ye, e as nt, f as lt, g as ge, h as ot, j as ie } from "./utils.js";
|
|
21
21
|
import { b as M, d as pe, g as z, e as ae, f as dt } from "./data.js";
|
|
22
22
|
import "@arcgis/core/Graphic.js";
|
|
23
23
|
import "@arcgis/core/renderers/support/jsonUtils.js";
|
|
@@ -31,10 +31,10 @@ import { g as G } from "./utils2.js";
|
|
|
31
31
|
import { c as ut } from "./index2.js";
|
|
32
32
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
33
33
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
34
|
-
v5.0.0-next.
|
|
34
|
+
v5.0.0-next.124 */
|
|
35
35
|
var ct = Object.defineProperty, yt = Object.getOwnPropertyDescriptor, gt = (t, e, s, r) => {
|
|
36
|
-
for (var a = yt(e, s), i = t.length - 1,
|
|
37
|
-
(
|
|
36
|
+
for (var a = yt(e, s), i = t.length - 1, n; i >= 0; i--)
|
|
37
|
+
(n = t[i]) && (a = n(e, s, a) || a);
|
|
38
38
|
return a && ct(e, s, a), a;
|
|
39
39
|
};
|
|
40
40
|
const me = (t) => t.title?.content.text ?? "", pt = (t, e) => {
|
|
@@ -75,11 +75,11 @@ const St = (t) => {
|
|
|
75
75
|
let e;
|
|
76
76
|
const s = t.series[0];
|
|
77
77
|
return I(s) && (e = s.temporalBinning?.unit), e;
|
|
78
|
-
},
|
|
78
|
+
}, ht = (t) => {
|
|
79
79
|
let e;
|
|
80
80
|
const s = t.series[0];
|
|
81
81
|
return I(s) && (e = s.temporalBinning?.timeAggregationType), e;
|
|
82
|
-
},
|
|
82
|
+
}, Tt = (t) => {
|
|
83
83
|
let e;
|
|
84
84
|
const s = t.series[0];
|
|
85
85
|
return I(s) && (e = s.temporalBinning?.trimIncompleteTimeInterval), e;
|
|
@@ -103,11 +103,11 @@ const St = (t) => {
|
|
|
103
103
|
e.series?.forEach((s) => {
|
|
104
104
|
I(s) && (s.temporalBinning ??= {}, s.temporalBinning.timeAggregationType = t);
|
|
105
105
|
}), x({ config: e, value: null, axisIndex: 1, isMax: !1 }), x({ config: e, value: null, axisIndex: 1, isMax: !0 });
|
|
106
|
-
},
|
|
106
|
+
}, hs = (t, e) => {
|
|
107
107
|
e.series?.forEach((s) => {
|
|
108
108
|
I(s) && (s.temporalBinning ??= {}, s.temporalBinning.trimIncompleteTimeInterval = t);
|
|
109
109
|
}), x({ config: e, value: null, axisIndex: 1, isMax: !1 }), x({ config: e, value: null, axisIndex: 1, isMax: !0 });
|
|
110
|
-
},
|
|
110
|
+
}, Ts = (t) => {
|
|
111
111
|
fe(0, t);
|
|
112
112
|
}, Se = (t) => t.series.length ?? 0;
|
|
113
113
|
class xs extends H {
|
|
@@ -139,25 +139,25 @@ function As(t, e) {
|
|
|
139
139
|
}
|
|
140
140
|
async function bt(t) {
|
|
141
141
|
const { queryObject: e, chartConfig: s, options: r, splitByField: a } = t;
|
|
142
|
-
let i = [],
|
|
143
|
-
const
|
|
142
|
+
let i = [], n;
|
|
143
|
+
const l = re(s), o = l.series[0], d = Pe({
|
|
144
144
|
queryObject: e,
|
|
145
|
-
chartConfig:
|
|
145
|
+
chartConfig: l,
|
|
146
146
|
runtimeDataFilters: r?.runtimeDataFilters,
|
|
147
147
|
ignoreViewExtent: r?.ignoreViewExtent
|
|
148
148
|
});
|
|
149
|
-
if (d.outStatistics?.[0]?.outStatisticFieldName && (d.outStatistics[0].outStatisticFieldName =
|
|
150
|
-
xAxisValueFormatType: Re(
|
|
149
|
+
if (d.outStatistics?.[0]?.outStatisticFieldName && (d.outStatistics[0].outStatisticFieldName = Me.outStatistics.outStatisticFieldName), I(o) && ke({
|
|
150
|
+
xAxisValueFormatType: Re(l),
|
|
151
151
|
setTimeBinningInfoWhenNotProvided: r?.setTimeBinningInfoWhenNotProvided,
|
|
152
152
|
seriesConfig: o
|
|
153
153
|
}) && Ee(e)) {
|
|
154
154
|
const { temporalBinning: f, x: u } = o, { uniqueQuery: F } = await Z({
|
|
155
|
-
chartConfig:
|
|
155
|
+
chartConfig: l,
|
|
156
156
|
queryConfig: d,
|
|
157
157
|
queryObject: e,
|
|
158
158
|
options: r
|
|
159
159
|
});
|
|
160
|
-
|
|
160
|
+
n = await $e({
|
|
161
161
|
queryObject: e,
|
|
162
162
|
dateField: u,
|
|
163
163
|
splitByField: a,
|
|
@@ -165,7 +165,7 @@ async function bt(t) {
|
|
|
165
165
|
temporalBinning: f
|
|
166
166
|
}), i = Array.from(
|
|
167
167
|
new Set(
|
|
168
|
-
|
|
168
|
+
n.flatMap((S) => {
|
|
169
169
|
const { stackedAttributes: y } = S;
|
|
170
170
|
let c = [];
|
|
171
171
|
return y && (c = y.map((m) => m[a]).filter((m) => m !== void 0)), c;
|
|
@@ -174,22 +174,22 @@ async function bt(t) {
|
|
|
174
174
|
);
|
|
175
175
|
} else {
|
|
176
176
|
const { uniqueQuery: f } = await Z({
|
|
177
|
-
chartConfig:
|
|
177
|
+
chartConfig: l,
|
|
178
178
|
queryObject: e,
|
|
179
179
|
queryConfig: d,
|
|
180
180
|
options: r
|
|
181
181
|
});
|
|
182
|
-
|
|
182
|
+
n = await Ue({
|
|
183
183
|
queryObject: e,
|
|
184
184
|
queryConfig: f,
|
|
185
185
|
featureCount: 1
|
|
186
186
|
}), i = Array.from(
|
|
187
187
|
new Set(
|
|
188
|
-
|
|
188
|
+
n.map((u) => u.attributes[a]).filter((u) => u !== void 0)
|
|
189
189
|
).values()
|
|
190
190
|
);
|
|
191
191
|
}
|
|
192
|
-
return { allValues: i, preFetchedQueryResponse:
|
|
192
|
+
return { allValues: i, preFetchedQueryResponse: n };
|
|
193
193
|
}
|
|
194
194
|
function At(t, e) {
|
|
195
195
|
const s = /* @__PURE__ */ new Map();
|
|
@@ -214,11 +214,11 @@ function At(t, e) {
|
|
|
214
214
|
function vt(t) {
|
|
215
215
|
const { allValues: e, configUniqueValuesPerSeriesType: s, initialConfigWasEmpty: r } = t, a = /* @__PURE__ */ new Map();
|
|
216
216
|
return Array.from(s.keys()).forEach((i) => {
|
|
217
|
-
const
|
|
218
|
-
let
|
|
219
|
-
r ?
|
|
220
|
-
|
|
221
|
-
}), a.set(i,
|
|
217
|
+
const n = s.get(i) ?? [];
|
|
218
|
+
let l = [];
|
|
219
|
+
r ? l = e : e.forEach((o) => {
|
|
220
|
+
n.includes(o) || l.push(o);
|
|
221
|
+
}), a.set(i, l);
|
|
222
222
|
}), a;
|
|
223
223
|
}
|
|
224
224
|
function It(t) {
|
|
@@ -230,21 +230,21 @@ function It(t) {
|
|
|
230
230
|
);
|
|
231
231
|
if (i.query) {
|
|
232
232
|
if (i.id = `${s}-${e.series.length}-${Date.now()}`, i.name = `${s}`, i.query.outStatistics?.[0] !== void 0) {
|
|
233
|
-
const
|
|
234
|
-
i.query.outStatistics[0].outStatisticFieldName =
|
|
233
|
+
const l = i.id;
|
|
234
|
+
i.query.outStatistics[0].outStatisticFieldName = l, "y" in i && (i.y = l);
|
|
235
235
|
}
|
|
236
|
-
const
|
|
237
|
-
i.query.where = `${r}=${
|
|
236
|
+
const n = typeof s == "number" || s === null ? s : `'${s}'`;
|
|
237
|
+
i.query.where = `${r}=${n}`;
|
|
238
238
|
}
|
|
239
239
|
return i;
|
|
240
240
|
}
|
|
241
241
|
async function Lt(t) {
|
|
242
242
|
const { updateSplitBySeries: e, config: s, options: r, queryObject: a } = t, { seriesTemplate: i } = e ?? {};
|
|
243
|
-
let
|
|
243
|
+
let n;
|
|
244
244
|
if (e !== void 0 && s !== void 0 && (s.series.length > 0 || i !== void 0) && e.addMissingSeries) {
|
|
245
|
-
const
|
|
245
|
+
const l = s.series.length === 0;
|
|
246
246
|
s.series.length === 0 && i !== void 0 && s.series.push(i);
|
|
247
|
-
const o =
|
|
247
|
+
const o = $(s.series);
|
|
248
248
|
if ((o === V.BoxPlotMonoFieldAndSplitBy || o === V.BoxPlotMultiFieldsAndSplitBy || o === V.BoxPlotMonoFieldAndCategoryAndSplitBy || o === V.BarAndLineSplitBy || o === V.BarAndLineSplitByNoAggregation) && a !== void 0) {
|
|
249
249
|
const d = we(s.series[0]?.query?.where), f = Oe(a);
|
|
250
250
|
await f.load();
|
|
@@ -254,40 +254,40 @@ async function Lt(t) {
|
|
|
254
254
|
splitByField: d,
|
|
255
255
|
options: r
|
|
256
256
|
}), { allValues: y } = S;
|
|
257
|
-
if ({ preFetchedQueryResponse:
|
|
257
|
+
if ({ preFetchedQueryResponse: n } = S, y.length > 0) {
|
|
258
258
|
const c = At(s, F), m = vt({
|
|
259
259
|
allValues: y,
|
|
260
260
|
configUniqueValuesPerSeriesType: c,
|
|
261
|
-
initialConfigWasEmpty:
|
|
261
|
+
initialConfigWasEmpty: l
|
|
262
262
|
});
|
|
263
263
|
Array.from(m.keys()).forEach((p) => {
|
|
264
|
-
(m.get(p) ?? []).forEach((
|
|
264
|
+
(m.get(p) ?? []).forEach((h) => {
|
|
265
265
|
s.series.push(
|
|
266
266
|
It({
|
|
267
267
|
chartConfig: s,
|
|
268
268
|
seriesTemplate: i,
|
|
269
|
-
missingValue:
|
|
269
|
+
missingValue: h,
|
|
270
270
|
splitByField: d
|
|
271
271
|
})
|
|
272
272
|
);
|
|
273
|
-
}),
|
|
273
|
+
}), l && s.series.shift();
|
|
274
274
|
});
|
|
275
275
|
}
|
|
276
276
|
}
|
|
277
277
|
}
|
|
278
|
-
return
|
|
278
|
+
return n;
|
|
279
279
|
}
|
|
280
280
|
function qt(t, e) {
|
|
281
281
|
e && !ce(e) && (e = Ne({ chartConfig: e, queryObject: t }));
|
|
282
282
|
}
|
|
283
283
|
async function vs(t) {
|
|
284
|
-
const { configToAlter: e, layer: s, addMissingSeries: r, updateSplitBySeries: a, chartContainer: i, queryObject:
|
|
284
|
+
const { configToAlter: e, layer: s, addMissingSeries: r, updateSplitBySeries: a, chartContainer: i, queryObject: n, options: l } = t;
|
|
285
285
|
let o = e, d;
|
|
286
286
|
return o && (qt(s, o), o = await ut(o, s), r && (d = await Lt({
|
|
287
287
|
updateSplitBySeries: a,
|
|
288
288
|
config: o,
|
|
289
|
-
options:
|
|
290
|
-
queryObject:
|
|
289
|
+
options: l,
|
|
290
|
+
queryObject: n
|
|
291
291
|
})), o = Ve(o, i)), { alteredConfig: o, preFetchedQueryResponse: d };
|
|
292
292
|
}
|
|
293
293
|
const Is = (t) => t.hideEmptyRowsAndColumns, Ls = (t, e) => {
|
|
@@ -299,34 +299,40 @@ const Is = (t) => t.hideEmptyRowsAndColumns, Ls = (t, e) => {
|
|
|
299
299
|
const s = t.series[0];
|
|
300
300
|
s.gradientRules = e;
|
|
301
301
|
}, ws = (t) => t.series[0].gradientRules, Os = (t) => {
|
|
302
|
-
const { yField: e, config: s, layerInfo: r } = t, { layerFieldsInfo: a } = r, i = G(1, s),
|
|
303
|
-
if (typeof e == "string" &&
|
|
302
|
+
const { yField: e, config: s, layerInfo: r } = t, { layerFieldsInfo: a } = r, i = G(1, s), n = Vt(s), l = U(s), o = s.series[0];
|
|
303
|
+
if (typeof e == "string" && n !== e && o && (o.y = e, Bt(s), n === i || l)) {
|
|
304
304
|
const d = N(a, e);
|
|
305
|
-
|
|
305
|
+
D(s, 1, d);
|
|
306
|
+
}
|
|
307
|
+
}, Vt = (t) => t.series[0].y ?? "", Ds = (t) => {
|
|
308
|
+
const { binning: e, config: s, commonStrings: r } = t, a = s.series[0];
|
|
309
|
+
if (a.xTemporalBinning = e, e?.unit !== void 0 && e.unit in r.utilsStrings.heatChartCalendarDatePartsUnits) {
|
|
310
|
+
const i = r.utilsStrings.heatChartCalendarDatePartsUnits[e.unit];
|
|
311
|
+
D(s, 0, i);
|
|
312
|
+
}
|
|
313
|
+
}, Ps = (t) => t.series[0].xTemporalBinning, Ms = (t) => {
|
|
314
|
+
const { binning: e, config: s, commonStrings: r } = t, a = s.series[0];
|
|
315
|
+
if (a.yTemporalBinning = e, e?.unit !== void 0 && e.unit in r.utilsStrings.heatChartCalendarDatePartsUnits) {
|
|
316
|
+
const i = r.utilsStrings.heatChartCalendarDatePartsUnits[e.unit];
|
|
317
|
+
D(s, 1, i);
|
|
306
318
|
}
|
|
307
|
-
}, Vt = (t) => t.series[0].y ?? "", Ds = (t, e) => {
|
|
308
|
-
const s = e.series[0];
|
|
309
|
-
s.xTemporalBinning = t;
|
|
310
|
-
}, Ms = (t) => t.series[0].xTemporalBinning, Ps = (t, e) => {
|
|
311
|
-
const s = e.series[0];
|
|
312
|
-
s.yTemporalBinning = t;
|
|
313
319
|
}, ks = (t) => t.series[0].yTemporalBinning, Nt = (t, e) => {
|
|
314
320
|
e.orderOptions ??= {};
|
|
315
|
-
const s = e.axes?.[0]?.valueFormat?.type === "category" ?
|
|
321
|
+
const s = e.axes?.[0]?.valueFormat?.type === "category" ? T.Category : T.YValue, r = _(e)[0], a = e.axes?.[1]?.valueFormat?.type === "category" ? T.Category : T.YValue, i = _(e)[1], n = {
|
|
316
322
|
...e.orderOptions.data ?? {},
|
|
317
|
-
orderType:
|
|
323
|
+
orderType: T.MultiAxes
|
|
318
324
|
};
|
|
319
|
-
r === K.customSort && s ===
|
|
325
|
+
r === K.customSort && s === T.Category && (n.orderByX = [...t]), i === K.customSort && a === T.Category && (n.orderByY = [...t]), Object.keys(n).length > 1 && (e.orderOptions.data = n);
|
|
320
326
|
}, Rs = (t, e) => {
|
|
321
327
|
const s = e.series[0];
|
|
322
328
|
s.gridLine && (s.gridLine.width = t);
|
|
323
329
|
}, Es = (t) => t.series[0].gridLine?.width, $s = (t, e) => {
|
|
324
330
|
const s = e.series[0], r = t?.length === 4 && t.every((a) => typeof a == "number");
|
|
325
331
|
s.gridLine && r && (s.gridLine.color = t);
|
|
326
|
-
},
|
|
332
|
+
}, Us = (t) => t.series[0].gridLine?.color, Ws = (t, e) => {
|
|
327
333
|
const s = e.legend;
|
|
328
334
|
s && (s.position = t);
|
|
329
|
-
},
|
|
335
|
+
}, Xs = (t) => t.legend?.position ?? et.Bottom, js = (t) => t.series[0].query?.outStatistics?.[0]?.onStatisticField, Ys = (t, e) => {
|
|
330
336
|
const s = e.series[0].query?.outStatistics?.[0];
|
|
331
337
|
s ? (s.onStatisticField = t, s.outStatisticFieldName = `${s.statisticType}_${t}`) : e.series[0].query = {
|
|
332
338
|
outStatistics: [
|
|
@@ -337,7 +343,7 @@ const Is = (t) => t.hideEmptyRowsAndColumns, Ls = (t, e) => {
|
|
|
337
343
|
}
|
|
338
344
|
]
|
|
339
345
|
};
|
|
340
|
-
},
|
|
346
|
+
}, Ks = (t) => t.series[0].query?.outStatistics?.[0].statisticType ?? A.Count, _s = (t, e) => {
|
|
341
347
|
const s = e.series[0]?.query?.outStatistics?.[0];
|
|
342
348
|
s && t !== A.NoAggregation && (s.statisticType = t, s.outStatisticFieldName = `${t}_${s.onStatisticField}`);
|
|
343
349
|
}, Hs = (t) => t.nullPolicy, Qs = (t, e) => {
|
|
@@ -352,20 +358,20 @@ const Is = (t) => t.hideEmptyRowsAndColumns, Ls = (t, e) => {
|
|
|
352
358
|
e.series[0].emptyCells ? e.series[0].emptyCells.symbol = t : e.series[0].emptyCells = { symbol: t };
|
|
353
359
|
};
|
|
354
360
|
function ai(t) {
|
|
355
|
-
return
|
|
361
|
+
return We(t);
|
|
356
362
|
}
|
|
357
363
|
function ri(t) {
|
|
358
364
|
return t.viewType;
|
|
359
365
|
}
|
|
360
|
-
function
|
|
361
|
-
|
|
366
|
+
function ni(t, e) {
|
|
367
|
+
Xe(e) || (e.viewType = t);
|
|
362
368
|
}
|
|
363
|
-
function
|
|
364
|
-
return t.series[0].classBreaksRules?.breaksCount ??
|
|
369
|
+
function li(t) {
|
|
370
|
+
return t.series[0].classBreaksRules?.breaksCount ?? k.classBreaks.breaksCount;
|
|
365
371
|
}
|
|
366
372
|
function oi(t, e) {
|
|
367
|
-
e.series[0].classBreaksRules !== void 0 ? e.series[0].classBreaksRules.breaksCount = t ??
|
|
368
|
-
breaksCount: t ??
|
|
373
|
+
e.series[0].classBreaksRules !== void 0 ? e.series[0].classBreaksRules.breaksCount = t ?? k.classBreaks.breaksCount : e.series[0].classBreaksRules = {
|
|
374
|
+
breaksCount: t ?? k.classBreaks.breaksCount
|
|
369
375
|
};
|
|
370
376
|
}
|
|
371
377
|
function di(t) {
|
|
@@ -374,10 +380,10 @@ function di(t) {
|
|
|
374
380
|
function ui(t, e) {
|
|
375
381
|
e.series[0].classBreaksRules !== void 0 ? e.series[0].classBreaksRules.classificationMethod = t : e.series[0].classBreaksRules = {
|
|
376
382
|
classificationMethod: t
|
|
377
|
-
}, e.series[0].classBreaksRules.breaksCount = e.series[0].classBreaksRules.breaksCount ??
|
|
383
|
+
}, e.series[0].classBreaksRules.breaksCount = e.series[0].classBreaksRules.breaksCount ?? k.classBreaks.breaksCount;
|
|
378
384
|
}
|
|
379
|
-
function
|
|
380
|
-
const { seriesIndex: e, xAxisField: s, aggregationType: r, config: a, layerInfo: i, commonStrings:
|
|
385
|
+
function P(t) {
|
|
386
|
+
const { seriesIndex: e, xAxisField: s, aggregationType: r, config: a, layerInfo: i, commonStrings: n } = t, l = W(i?.layer).idField;
|
|
381
387
|
let o;
|
|
382
388
|
const d = a.series[e ?? 0];
|
|
383
389
|
let f = !1, u = !1, F = !1;
|
|
@@ -387,17 +393,17 @@ function D(t) {
|
|
|
387
393
|
} else
|
|
388
394
|
f = B(d), u = b(d), F = se(d);
|
|
389
395
|
f ? o = _e({
|
|
390
|
-
commonStrings:
|
|
396
|
+
commonStrings: n,
|
|
391
397
|
seriesIndex: e,
|
|
392
|
-
objectIDField:
|
|
398
|
+
objectIDField: l
|
|
393
399
|
}) : u ? o = He({
|
|
394
|
-
commonStrings:
|
|
400
|
+
commonStrings: n,
|
|
395
401
|
seriesIndex: e,
|
|
396
|
-
objectIDField:
|
|
397
|
-
}) : F ? o = Qe(
|
|
402
|
+
objectIDField: l
|
|
403
|
+
}) : F ? o = Qe(n, l) : o = ze({
|
|
398
404
|
seriesIndex: e,
|
|
399
|
-
objectIDField:
|
|
400
|
-
commonStrings:
|
|
405
|
+
objectIDField: l,
|
|
406
|
+
commonStrings: n
|
|
401
407
|
});
|
|
402
408
|
const S = a.series[0]?.dataLabels, y = {
|
|
403
409
|
...o,
|
|
@@ -412,25 +418,25 @@ function D(t) {
|
|
|
412
418
|
};
|
|
413
419
|
if (y.query = {
|
|
414
420
|
groupByFieldsForStatistics: [s]
|
|
415
|
-
}, r !== A.NoAggregation &&
|
|
416
|
-
const c = `${r}_${
|
|
421
|
+
}, r !== A.NoAggregation && l !== void 0) {
|
|
422
|
+
const c = `${r}_${l}_0`.toUpperCase();
|
|
417
423
|
y.y = c, y.query.outStatistics = [
|
|
418
424
|
{
|
|
419
425
|
statisticType: r,
|
|
420
|
-
onStatisticField:
|
|
426
|
+
onStatisticField: l,
|
|
421
427
|
outStatisticFieldName: c
|
|
422
428
|
}
|
|
423
429
|
];
|
|
424
430
|
}
|
|
425
431
|
if (B(y) || b(y) || v(y) && a.series[0]?.binTemporalData) {
|
|
426
432
|
let c;
|
|
427
|
-
if (a?.series?.[0] !== void 0 && (c =
|
|
433
|
+
if (a?.series?.[0] !== void 0 && (c = $(a.series)), c !== V.BarAndLineNoAggregation && c !== V.BarAndLineSplitByNoAggregation) {
|
|
428
434
|
let m = Ft(a);
|
|
429
435
|
m === Y.Quarter && (m = Y.Month), y.temporalBinning = {
|
|
430
436
|
size: St(a),
|
|
431
437
|
unit: m,
|
|
432
|
-
timeAggregationType:
|
|
433
|
-
trimIncompleteTimeInterval:
|
|
438
|
+
timeAggregationType: ht(a),
|
|
439
|
+
trimIncompleteTimeInterval: Tt(a),
|
|
434
440
|
nullPolicy: xt(a)
|
|
435
441
|
};
|
|
436
442
|
}
|
|
@@ -438,11 +444,11 @@ function D(t) {
|
|
|
438
444
|
return re(y);
|
|
439
445
|
}
|
|
440
446
|
function Fe(t, e, s) {
|
|
441
|
-
const { layerFieldsInfo: r } = e, { idField: a, isTraditionalTypeOID: i } = W(e.layer),
|
|
447
|
+
const { layerFieldsInfo: r } = e, { idField: a, isTraditionalTypeOID: i } = W(e.layer), n = M(t), l = J(t), o = Te(t), d = E(t), f = i && (l.length === 0 || l.includes(a)), u = Ke(o, s), F = f ? "" : l.map((h) => N(r ?? [], h)).join(", "), S = N(r ?? [], n), y = N(r ?? [], d), c = t.series.some((h) => v(h)), m = c ? "category" : "xAxisField", p = S;
|
|
442
448
|
let g = "";
|
|
443
449
|
if (pe({
|
|
444
|
-
fieldName:
|
|
445
|
-
numericFields:
|
|
450
|
+
fieldName: n,
|
|
451
|
+
numericFields: l,
|
|
446
452
|
fieldList: r
|
|
447
453
|
}))
|
|
448
454
|
g = w(s.titleLabels.aggrTypeOfAggrFields, {
|
|
@@ -450,47 +456,47 @@ function Fe(t, e, s) {
|
|
|
450
456
|
aggregationFields: F
|
|
451
457
|
});
|
|
452
458
|
else if (o === A.NoAggregation) {
|
|
453
|
-
const
|
|
459
|
+
const h = f ? a : F;
|
|
454
460
|
if (d === "") {
|
|
455
461
|
const L = c ? "aggrTypeCategory" : "aggrTypeXAxisField";
|
|
456
462
|
g = w(s.titleLabels[L], {
|
|
457
|
-
aggregationType:
|
|
463
|
+
aggregationType: h,
|
|
458
464
|
[m]: p
|
|
459
465
|
});
|
|
460
466
|
} else {
|
|
461
467
|
const L = c ? "aggrTypeCategoryBySplitBy" : "aggrTypeXAxisFieldBySplitBy";
|
|
462
468
|
g = w(s.titleLabels[L], {
|
|
463
|
-
aggregationType:
|
|
469
|
+
aggregationType: h,
|
|
464
470
|
[m]: p,
|
|
465
471
|
splitByField: y
|
|
466
472
|
});
|
|
467
473
|
}
|
|
468
474
|
} else if (o === A.Count)
|
|
469
475
|
if (d === "") {
|
|
470
|
-
const
|
|
471
|
-
g = w(s.titleLabels[
|
|
476
|
+
const h = c ? "aggrTypeCategory" : "aggrTypeXAxisField";
|
|
477
|
+
g = w(s.titleLabels[h], {
|
|
472
478
|
aggregationType: u,
|
|
473
479
|
[m]: p
|
|
474
480
|
});
|
|
475
481
|
} else {
|
|
476
|
-
const
|
|
477
|
-
g = w(s.titleLabels[
|
|
482
|
+
const h = c ? "aggrTypeCategoryBySplitBy" : "aggrTypeXAxisFieldBySplitBy";
|
|
483
|
+
g = w(s.titleLabels[h], {
|
|
478
484
|
aggregationType: u,
|
|
479
485
|
[m]: p,
|
|
480
486
|
splitByField: y
|
|
481
487
|
});
|
|
482
488
|
}
|
|
483
489
|
else if (d !== "") {
|
|
484
|
-
const
|
|
485
|
-
g = w(s.titleLabels[
|
|
490
|
+
const h = c ? "aggrTypeOfAggrFieldByCategoryBySplitByField" : "aggrTypeOfAggrFieldByXAxisFieldBySplitByField";
|
|
491
|
+
g = w(s.titleLabels[h], {
|
|
486
492
|
aggregationType: u,
|
|
487
493
|
aggregationField: F,
|
|
488
494
|
[m]: p,
|
|
489
495
|
splitByField: y
|
|
490
496
|
});
|
|
491
|
-
} else if (
|
|
492
|
-
const
|
|
493
|
-
g = w(s.titleLabels[
|
|
497
|
+
} else if (l.length > 0) {
|
|
498
|
+
const h = c ? "aggrTypeOfAggrFieldsByCategory" : "aggrTypeOfAggrFieldsByXAxisField";
|
|
499
|
+
g = w(s.titleLabels[h], {
|
|
494
500
|
aggregationType: u,
|
|
495
501
|
aggregationFields: F,
|
|
496
502
|
[m]: p
|
|
@@ -498,22 +504,22 @@ function Fe(t, e, s) {
|
|
|
498
504
|
}
|
|
499
505
|
return g;
|
|
500
506
|
}
|
|
501
|
-
const
|
|
507
|
+
const he = (t) => Q({
|
|
502
508
|
where: t.query?.where,
|
|
503
509
|
normalize: !1,
|
|
504
510
|
escape: !1
|
|
505
|
-
}) ?? "",
|
|
511
|
+
}) ?? "", Te = (t) => t?.series?.[0]?.query?.outStatistics?.[0]?.statisticType ?? A.NoAggregation, E = ne(
|
|
506
512
|
(t) => {
|
|
507
513
|
const e = t?.series?.[0]?.query?.where?.split("=")[0].trim() ?? "";
|
|
508
|
-
return
|
|
514
|
+
return je(t?.series?.[0]?.query?.where) ? "" : e;
|
|
509
515
|
},
|
|
510
516
|
(t) => t?.series?.[0]?.query?.where
|
|
511
|
-
), J =
|
|
517
|
+
), J = ne(
|
|
512
518
|
// without memoizing, the worst case efficiency is O(series.length), best case is O(1)
|
|
513
519
|
// with memoizing, the worst case efficiency for repeated calls becomes O(1)
|
|
514
520
|
(t) => {
|
|
515
521
|
let e = [];
|
|
516
|
-
if (
|
|
522
|
+
if (E(t) === "")
|
|
517
523
|
e = t?.series.map((s) => {
|
|
518
524
|
const r = s.query?.outStatistics?.map((a) => a.onStatisticField) ?? [];
|
|
519
525
|
return r?.length > 0 ? r : s.y;
|
|
@@ -534,8 +540,8 @@ function wt(t) {
|
|
|
534
540
|
const d = a.layerFieldsInfo.find((f) => f.name === o);
|
|
535
541
|
return d !== void 0 ? ee(d) : !1;
|
|
536
542
|
})), ie(r, 1, i);
|
|
537
|
-
const
|
|
538
|
-
if (
|
|
543
|
+
const n = r.series.some((o) => B(o)), l = r.series.some((o) => b(o));
|
|
544
|
+
if (n || l) {
|
|
539
545
|
const o = M(r), d = a.layerFieldsInfo.find((u) => u.name === o), f = d !== void 0 && ee(d);
|
|
540
546
|
ie(r, 0, f);
|
|
541
547
|
}
|
|
@@ -543,36 +549,36 @@ function wt(t) {
|
|
|
543
549
|
const _ = (t) => {
|
|
544
550
|
let e;
|
|
545
551
|
if (de(t)) {
|
|
546
|
-
const s = t.orderOptions?.data?.orderByX ?? [""], r = t.orderOptions?.data?.orderByY ?? [""], a = t.axes?.[0]?.valueFormat?.type === "category" ?
|
|
552
|
+
const s = t.orderOptions?.data?.orderByX ?? [""], r = t.orderOptions?.data?.orderByY ?? [""], a = t.axes?.[0]?.valueFormat?.type === "category" ? T.Category : T.YValue, i = t.axes?.[1]?.valueFormat?.type === "category" ? T.Category : T.YValue;
|
|
547
553
|
e = [ae(s, a), ae(r, i)];
|
|
548
554
|
} else {
|
|
549
|
-
const s = t.orderOptions?.data?.orderType ??
|
|
555
|
+
const s = t.orderOptions?.data?.orderType ?? T.Category, r = t.orderOptions?.data && "orderBy" in t.orderOptions.data ? t.orderOptions.data.orderBy : tt.Ascending;
|
|
550
556
|
e = [dt(r, s)];
|
|
551
557
|
}
|
|
552
558
|
return e;
|
|
553
559
|
};
|
|
554
560
|
function Ot(t) {
|
|
555
|
-
const { xAxisField: e, numericFields: s, aggregationType: r, config: a, layerInfo: i, commonStrings:
|
|
561
|
+
const { xAxisField: e, numericFields: s, aggregationType: r, config: a, layerInfo: i, commonStrings: n } = t, { layerFieldsInfo: l } = i;
|
|
556
562
|
let o = !1;
|
|
557
|
-
const d =
|
|
563
|
+
const d = P({
|
|
558
564
|
config: a,
|
|
559
565
|
xAxisField: e,
|
|
560
566
|
aggregationType: r,
|
|
561
567
|
layerInfo: i,
|
|
562
568
|
seriesIndex: 0,
|
|
563
|
-
commonStrings:
|
|
569
|
+
commonStrings: n
|
|
564
570
|
}), f = z({
|
|
565
571
|
config: a,
|
|
566
572
|
xAxisField: e,
|
|
567
573
|
numericFields: s,
|
|
568
574
|
aggregationType: r,
|
|
569
575
|
layer: i.layer,
|
|
570
|
-
fieldList:
|
|
576
|
+
fieldList: l
|
|
571
577
|
}).name, u = {
|
|
572
578
|
...d,
|
|
573
579
|
id: `series_${Date.now()}`,
|
|
574
|
-
name:
|
|
575
|
-
x:
|
|
580
|
+
name: n.axisLabels.values,
|
|
581
|
+
x: R,
|
|
576
582
|
y: f
|
|
577
583
|
}, F = [];
|
|
578
584
|
for (const y of s)
|
|
@@ -586,16 +592,16 @@ function Ot(t) {
|
|
|
586
592
|
return S !== void 0 && (u.id = S.id, a.colorMatch || (v(S) && v(u) ? u.fillSymbol = S.fillSymbol : (B(u) && B(S) || b(u) && b(S)) && (u.lineSymbol = S.lineSymbol, u.markerSymbol = S.markerSymbol), o = !0), u.id = S.id, S.name !== d.name && (u.name = S.name)), a.series.length === 1 && !a.colorMatch && (v(u) ? u.fillSymbol = a.series[0].fillSymbol : (B(u) || b(u)) && (u.lineSymbol = a.series[0].lineSymbol, u.markerSymbol = a.series[0].markerSymbol), o = !0), a.colorMatch = !o, [u];
|
|
587
593
|
}
|
|
588
594
|
function xe(t) {
|
|
589
|
-
const { xAxisField: e, numericFields: s, aggregationType: r, config: a, layerInfo: i, commonStrings:
|
|
595
|
+
const { xAxisField: e, numericFields: s, aggregationType: r, config: a, layerInfo: i, commonStrings: n } = t, { layerFieldsInfo: l } = i, o = W(i.layer).idField, d = [];
|
|
590
596
|
let f = !1;
|
|
591
597
|
for (let u = 0; u < s.length; u += 1) {
|
|
592
|
-
const F =
|
|
598
|
+
const F = P({
|
|
593
599
|
config: a,
|
|
594
600
|
xAxisField: e,
|
|
595
601
|
aggregationType: r,
|
|
596
602
|
layerInfo: i,
|
|
597
603
|
seriesIndex: u,
|
|
598
|
-
commonStrings:
|
|
604
|
+
commonStrings: n
|
|
599
605
|
}), S = z({
|
|
600
606
|
config: a,
|
|
601
607
|
xAxisField: e,
|
|
@@ -603,7 +609,7 @@ function xe(t) {
|
|
|
603
609
|
aggregationType: r,
|
|
604
610
|
layer: i.layer,
|
|
605
611
|
numericFieldIndex: u,
|
|
606
|
-
fieldList:
|
|
612
|
+
fieldList: l
|
|
607
613
|
}).name, y = s[u];
|
|
608
614
|
let c = {
|
|
609
615
|
...F,
|
|
@@ -614,7 +620,7 @@ function xe(t) {
|
|
|
614
620
|
s && y !== o && (c = {
|
|
615
621
|
...c,
|
|
616
622
|
id: y,
|
|
617
|
-
name: N(
|
|
623
|
+
name: N(l, y)
|
|
618
624
|
});
|
|
619
625
|
let m = y;
|
|
620
626
|
c.query !== void 0 && (r !== A.NoAggregation ? (m = S, c.query.outStatistics = [
|
|
@@ -630,13 +636,13 @@ function xe(t) {
|
|
|
630
636
|
);
|
|
631
637
|
if (p !== void 0 && typeof p.y == "string" && p.y.trim() !== "") {
|
|
632
638
|
a.colorMatch || (v(c) && v(p) ? c.fillSymbol = p.fillSymbol : (B(c) && B(p) || b(c) && b(p)) && (c.lineSymbol = p.lineSymbol, c.markerSymbol = p.markerSymbol), f = !0);
|
|
633
|
-
const g =
|
|
639
|
+
const g = P({
|
|
634
640
|
config: a,
|
|
635
641
|
xAxisField: e,
|
|
636
642
|
aggregationType: r,
|
|
637
643
|
layerInfo: i,
|
|
638
644
|
seriesIndex: u,
|
|
639
|
-
commonStrings:
|
|
645
|
+
commonStrings: n
|
|
640
646
|
});
|
|
641
647
|
c.id = p.id, p.id !== g.id && p.name !== g.name && (c.id = p.id, c.name = p.name);
|
|
642
648
|
}
|
|
@@ -645,7 +651,7 @@ function xe(t) {
|
|
|
645
651
|
return a.series.length === 1 && d.length === 1 && !a.colorMatch && (v(a.series[0]) && v(d[0]) ? d[0].fillSymbol = a.series[0].fillSymbol : (B(a.series[0]) && B(d[0]) || b(a.series[0]) && b(d[0])) && (d[0].lineSymbol = a.series[0].lineSymbol, d[0].markerSymbol = a.series[0].markerSymbol), f = !0), a.colorMatch = !f, d;
|
|
646
652
|
}
|
|
647
653
|
async function Dt(t) {
|
|
648
|
-
const { splitByField: e, xAxisField: s, numericFields: r, aggregationType: a, config: i, layerInfo:
|
|
654
|
+
const { splitByField: e, xAxisField: s, numericFields: r, aggregationType: a, config: i, layerInfo: n, commonStrings: l } = t, { layer: o, layerFieldsInfo: d } = n, { fetchNullValues: f } = i?.series?.[0]?.query ?? {}, u = s !== R ? s : void 0, { categoriesArray: F, splitByFieldType: S, numericalField: y } = await ot({
|
|
649
655
|
config: i,
|
|
650
656
|
layer: o,
|
|
651
657
|
layerFieldsInfo: d,
|
|
@@ -661,39 +667,39 @@ async function Dt(t) {
|
|
|
661
667
|
numericFields: r,
|
|
662
668
|
aggregationType: a,
|
|
663
669
|
config: i,
|
|
664
|
-
layerInfo:
|
|
665
|
-
commonStrings:
|
|
670
|
+
layerInfo: n,
|
|
671
|
+
commonStrings: l
|
|
666
672
|
});
|
|
667
673
|
for (const p of c)
|
|
668
674
|
p.query && (p.query.where = `${e}=''`);
|
|
669
675
|
} else
|
|
670
676
|
for (let p = 0; p < F.length; p += 1) {
|
|
671
|
-
const g = F[p],
|
|
677
|
+
const g = F[p], h = z({
|
|
672
678
|
config: i,
|
|
673
679
|
xAxisField: s,
|
|
674
680
|
numericFields: r,
|
|
675
681
|
aggregationType: a,
|
|
676
|
-
layer:
|
|
682
|
+
layer: n.layer,
|
|
677
683
|
seriesIndex: p,
|
|
678
684
|
splitByField: e,
|
|
679
685
|
fieldList: d
|
|
680
|
-
}).name, L =
|
|
686
|
+
}).name, L = P({
|
|
681
687
|
config: i,
|
|
682
688
|
xAxisField: s,
|
|
683
689
|
aggregationType: a,
|
|
684
|
-
layerInfo:
|
|
690
|
+
layerInfo: n,
|
|
685
691
|
seriesIndex: p,
|
|
686
|
-
commonStrings:
|
|
692
|
+
commonStrings: l
|
|
687
693
|
}), Ce = {
|
|
688
694
|
fieldName: e,
|
|
689
695
|
fieldValueToMatch: g ?? "",
|
|
690
|
-
subtypeInfo:
|
|
691
|
-
fieldList:
|
|
696
|
+
subtypeInfo: le(n.layer),
|
|
697
|
+
fieldList: n.layerFieldsInfo
|
|
692
698
|
}, Be = oe(Ce), X = `${g}`, C = {
|
|
693
699
|
...L,
|
|
694
700
|
id: X,
|
|
695
701
|
name: Be ?? X,
|
|
696
|
-
y:
|
|
702
|
+
y: h,
|
|
697
703
|
query: {
|
|
698
704
|
...L.query,
|
|
699
705
|
where: `${e}=${S === ue.String && g !== null ? `'${g}'` : g}`,
|
|
@@ -701,7 +707,7 @@ async function Dt(t) {
|
|
|
701
707
|
{
|
|
702
708
|
...L.query?.outStatistics?.[0] ?? {},
|
|
703
709
|
onStatisticField: y,
|
|
704
|
-
outStatisticFieldName:
|
|
710
|
+
outStatisticFieldName: h,
|
|
705
711
|
statisticType: a
|
|
706
712
|
}
|
|
707
713
|
] : void 0
|
|
@@ -709,22 +715,22 @@ async function Dt(t) {
|
|
|
709
715
|
};
|
|
710
716
|
a === A.NoAggregation && (C.query !== void 0 && (delete C.query.outStatistics, delete C.query.groupByFieldsForStatistics), C.y = y);
|
|
711
717
|
const q = i.series.find(
|
|
712
|
-
(be) => String(
|
|
718
|
+
(be) => String(he(be)).trim().replace(/'/gu, "") === X
|
|
713
719
|
);
|
|
714
720
|
q !== void 0 && (i.colorMatch || (v(C) && v(q) ? C.fillSymbol = q.fillSymbol : (B(C) && B(q) || b(C) && b(q)) && (C.lineSymbol = q.lineSymbol, C.markerSymbol = q.markerSymbol), m = !0), C.id = q.id, C.name = q.name), c.push(C);
|
|
715
721
|
}
|
|
716
722
|
return i.colorMatch = !m, c;
|
|
717
723
|
}
|
|
718
724
|
const ci = async (t) => {
|
|
719
|
-
const { xAxisField: e, splitByField: s, numericFields: r, aggregationType: a, config: i, layerInfo:
|
|
725
|
+
const { xAxisField: e, splitByField: s, numericFields: r, aggregationType: a, config: i, layerInfo: n, commonStrings: l } = t, { layerFieldsInfo: o } = n ?? {}, d = Se(i), f = M(i), u = Pt(i, n, l), F = Mt(i, n, l), S = kt(i, n);
|
|
720
726
|
let y = ye(i);
|
|
721
727
|
const c = i.series.some((g) => v(g)), m = at(i.series), p = rt(i.series);
|
|
722
728
|
if (o !== void 0) {
|
|
723
|
-
const g =
|
|
724
|
-
!g.includes(f) && g.includes(e) ? y = Ge() : g.includes(f) && !g.includes(e) && (c ? y = te() : y = Je()), o.find((L) => L.name === e)?.type === ue.String && (y = te()), y !== void 0 &&
|
|
729
|
+
const g = Ye(o);
|
|
730
|
+
!g.includes(f) && g.includes(e) ? y = Ge() : g.includes(f) && !g.includes(e) && (c ? y = te() : y = Je()), o.find((L) => L.name === e)?.type === ue.String && (y = te()), y !== void 0 && lt(i, l, y);
|
|
725
731
|
}
|
|
726
732
|
if (d === 0 && (i.series = [
|
|
727
|
-
|
|
733
|
+
P({ config: i, xAxisField: e, aggregationType: a, layerInfo: n, commonStrings: l })
|
|
728
734
|
]), i.series.forEach((g) => {
|
|
729
735
|
g.x = e, g.query !== void 0 && (g.query.groupByFieldsForStatistics = [e]);
|
|
730
736
|
}), s === "" || r.length > 1 ? pe({
|
|
@@ -733,99 +739,99 @@ const ci = async (t) => {
|
|
|
733
739
|
fieldList: o
|
|
734
740
|
}) ? i.series = Ot({
|
|
735
741
|
config: i,
|
|
736
|
-
layerInfo:
|
|
742
|
+
layerInfo: n,
|
|
737
743
|
xAxisField: e,
|
|
738
744
|
numericFields: r,
|
|
739
745
|
aggregationType: a,
|
|
740
|
-
commonStrings:
|
|
746
|
+
commonStrings: l
|
|
741
747
|
}) : i.series = xe({
|
|
742
748
|
config: i,
|
|
743
|
-
layerInfo:
|
|
749
|
+
layerInfo: n,
|
|
744
750
|
xAxisField: e,
|
|
745
751
|
numericFields: r,
|
|
746
752
|
aggregationType: a,
|
|
747
|
-
commonStrings:
|
|
753
|
+
commonStrings: l
|
|
748
754
|
}) : (await Promise.resolve(), i.series = await Dt({
|
|
749
755
|
config: i,
|
|
750
|
-
layerInfo:
|
|
756
|
+
layerInfo: n,
|
|
751
757
|
splitByField: s,
|
|
752
758
|
xAxisField: e,
|
|
753
759
|
numericFields: r,
|
|
754
760
|
aggregationType: a,
|
|
755
|
-
commonStrings:
|
|
761
|
+
commonStrings: l
|
|
756
762
|
})), S) {
|
|
757
763
|
const g = N(o, e);
|
|
758
|
-
|
|
764
|
+
D(i, 0, g);
|
|
759
765
|
}
|
|
760
766
|
if (F) {
|
|
761
767
|
const g = ge({
|
|
762
768
|
config: i,
|
|
763
|
-
layerInfo:
|
|
764
|
-
commonStrings:
|
|
769
|
+
layerInfo: n,
|
|
770
|
+
commonStrings: l,
|
|
765
771
|
numericFields: r,
|
|
766
772
|
aggregationType: a
|
|
767
773
|
});
|
|
768
|
-
|
|
774
|
+
D(i, 1, g);
|
|
769
775
|
}
|
|
770
|
-
if (i.title && u && (i.title.content.text = Fe(i,
|
|
776
|
+
if (i.title && u && (i.title.content.text = Fe(i, n, l)), x({ config: i, value: null, axisIndex: 1, isMax: !1 }), x({ config: i, value: null, axisIndex: 1, isMax: !0 }), wt({ numericFields: r, aggregationType: a, config: i, layerInfo: n }), m || p) {
|
|
771
777
|
x({ config: i, value: null, axisIndex: 0, isMax: !1 }), x({ config: i, value: null, axisIndex: 0, isMax: !0 }), fe(0, i);
|
|
772
778
|
const g = y?.type === O.DateAxisFormat ? j.Null : j.Interpolate;
|
|
773
779
|
Ct(g, i);
|
|
774
780
|
}
|
|
775
781
|
}, yi = (t) => {
|
|
776
|
-
const { config: e, seriesIndex: s, layerInfo: r, commonStrings: a } = t, i = e.series?.[s],
|
|
777
|
-
let
|
|
778
|
-
if (
|
|
779
|
-
|
|
780
|
-
else if (ve(
|
|
782
|
+
const { config: e, seriesIndex: s, layerInfo: r, commonStrings: a } = t, i = e.series?.[s], n = E(e);
|
|
783
|
+
let l;
|
|
784
|
+
if ($(e.series) === V.BarAndLineFromFields)
|
|
785
|
+
l = a.axisLabels.values;
|
|
786
|
+
else if (ve(n)) {
|
|
781
787
|
const d = i.query?.outStatistics?.[0]?.onStatisticField;
|
|
782
|
-
d !== void 0 && d !== W(r.layer).idField && (
|
|
788
|
+
d !== void 0 && d !== W(r.layer).idField && (l = N(r.layerFieldsInfo, d));
|
|
783
789
|
} else {
|
|
784
|
-
const d = String(
|
|
785
|
-
fieldName:
|
|
790
|
+
const d = String(he(i)).trim().replace(/'/gu, ""), f = {
|
|
791
|
+
fieldName: E(e),
|
|
786
792
|
fieldValueToMatch: d ?? "",
|
|
787
|
-
subtypeInfo:
|
|
793
|
+
subtypeInfo: le(r.layer),
|
|
788
794
|
fieldList: r.layerFieldsInfo
|
|
789
795
|
};
|
|
790
|
-
|
|
796
|
+
l = oe(f) ?? d;
|
|
791
797
|
}
|
|
792
|
-
return
|
|
798
|
+
return l ?? i.id;
|
|
793
799
|
}, gi = (t, e) => {
|
|
794
800
|
if (de(e))
|
|
795
801
|
Nt(t, e);
|
|
796
802
|
else {
|
|
797
803
|
e.orderOptions ??= {};
|
|
798
804
|
const s = e.orderOptions?.data?.orderType;
|
|
799
|
-
_(e)[0] === K.customSort && s ===
|
|
800
|
-
orderType:
|
|
805
|
+
_(e)[0] === K.customSort && s === T.Category && (e.orderOptions.data = {
|
|
806
|
+
orderType: T.Category,
|
|
801
807
|
orderBy: [...t]
|
|
802
808
|
});
|
|
803
809
|
}
|
|
804
810
|
}, pi = async (t, e) => {
|
|
805
|
-
const s = M(t), r = ye(t)?.type, a = J(t), i =
|
|
806
|
-
let
|
|
807
|
-
return r === O.CategoryAxisFormat && (i === V.BarAndLineFromFields || s ===
|
|
811
|
+
const s = M(t), r = ye(t)?.type, a = J(t), i = $(t.series);
|
|
812
|
+
let n = [];
|
|
813
|
+
return r === O.CategoryAxisFormat && (i === V.BarAndLineFromFields || s === R ? n = a.map((l) => N(e?.layerFieldsInfo, l)) : s.trim() !== "" && s !== R && e !== void 0 && (n = await nt({
|
|
808
814
|
layerInfo: e,
|
|
809
815
|
config: t,
|
|
810
816
|
category: s
|
|
811
|
-
}))),
|
|
817
|
+
}))), n;
|
|
812
818
|
};
|
|
813
|
-
function
|
|
814
|
-
const r = Fe(t, e, s), a = me(t), i =
|
|
819
|
+
function Pt(t, e, s) {
|
|
820
|
+
const r = Fe(t, e, s), a = me(t), i = U(t);
|
|
815
821
|
return r === a || i;
|
|
816
822
|
}
|
|
817
|
-
function
|
|
823
|
+
function Mt(t, e, s) {
|
|
818
824
|
const r = ge({
|
|
819
825
|
config: t,
|
|
820
826
|
layerInfo: e,
|
|
821
827
|
commonStrings: s,
|
|
822
828
|
numericFields: J(t),
|
|
823
|
-
aggregationType:
|
|
824
|
-
}), a = G(1, t), i =
|
|
829
|
+
aggregationType: Te(t)
|
|
830
|
+
}), a = G(1, t), i = U(t);
|
|
825
831
|
return r === a || i;
|
|
826
832
|
}
|
|
827
833
|
function kt(t, e) {
|
|
828
|
-
const s = N(e.layerFieldsInfo, M(t)), r = G(0, t), a =
|
|
834
|
+
const s = N(e.layerFieldsInfo, M(t)), r = G(0, t), a = U(t);
|
|
829
835
|
return s === r || a;
|
|
830
836
|
}
|
|
831
837
|
function mi(t) {
|
|
@@ -847,18 +853,18 @@ export {
|
|
|
847
853
|
Ls as A,
|
|
848
854
|
Es as B,
|
|
849
855
|
Rs as C,
|
|
850
|
-
|
|
856
|
+
Us as D,
|
|
851
857
|
$s as E,
|
|
852
858
|
Vs as F,
|
|
853
859
|
qs as G,
|
|
854
860
|
ws as H,
|
|
855
861
|
Ns as I,
|
|
856
|
-
|
|
857
|
-
|
|
858
|
-
|
|
862
|
+
js as J,
|
|
863
|
+
Ys as K,
|
|
864
|
+
Ks as L,
|
|
859
865
|
_s as M,
|
|
860
|
-
|
|
861
|
-
|
|
866
|
+
Xs as N,
|
|
867
|
+
Ws as O,
|
|
862
868
|
Hs as P,
|
|
863
869
|
Qs as Q,
|
|
864
870
|
zs as R,
|
|
@@ -877,13 +883,13 @@ export {
|
|
|
877
883
|
fe as a2,
|
|
878
884
|
Ft as a3,
|
|
879
885
|
Ss as a4,
|
|
880
|
-
|
|
886
|
+
ht as a5,
|
|
881
887
|
Fs as a6,
|
|
882
|
-
|
|
883
|
-
|
|
888
|
+
Tt as a7,
|
|
889
|
+
hs as a8,
|
|
884
890
|
xt as a9,
|
|
885
891
|
Ct as aa,
|
|
886
|
-
|
|
892
|
+
Ts as ab,
|
|
887
893
|
vs as ac,
|
|
888
894
|
As as ad,
|
|
889
895
|
bs as ae,
|
|
@@ -894,9 +900,9 @@ export {
|
|
|
894
900
|
pi as c,
|
|
895
901
|
mi as d,
|
|
896
902
|
fi as e,
|
|
897
|
-
|
|
903
|
+
Te as f,
|
|
898
904
|
me as g,
|
|
899
|
-
|
|
905
|
+
E as h,
|
|
900
906
|
J as i,
|
|
901
907
|
ci as j,
|
|
902
908
|
Fe as k,
|
|
@@ -904,13 +910,13 @@ export {
|
|
|
904
910
|
Vt as m,
|
|
905
911
|
Os as n,
|
|
906
912
|
ri as o,
|
|
907
|
-
|
|
908
|
-
|
|
913
|
+
ni as p,
|
|
914
|
+
Ps as q,
|
|
909
915
|
Ds as r,
|
|
910
916
|
gi as s,
|
|
911
917
|
ks as t,
|
|
912
|
-
|
|
913
|
-
|
|
918
|
+
Ms as u,
|
|
919
|
+
li as v,
|
|
914
920
|
oi as w,
|
|
915
921
|
di as x,
|
|
916
922
|
ui as y,
|