@arcgis/charts-components 5.0.0-next.91 → 5.0.0-next.92
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/{AE47OBPF.js → 22AK4F2F.js} +2 -2
- package/dist/cdn/{7OUVJ5BC.js → 2JTQH26T.js} +2 -2
- package/dist/cdn/{ZK7NTLVD.js → 2LURLH2T.js} +2 -2
- package/dist/cdn/{C2J6C2P5.js → 2TLDPAT3.js} +2 -2
- package/dist/cdn/{5DXUILOW.js → 33YOF5RY.js} +1 -1
- package/dist/cdn/{VHBQG36W.js → 35O2XZHG.js} +2 -2
- package/dist/cdn/{25P5VILT.js → 3GT2R7QQ.js} +2 -2
- package/dist/cdn/{CZZ3TOYN.js → 3M3GO6E4.js} +2 -2
- package/dist/cdn/{QK7UUPWF.js → 3TREVBT6.js} +2 -2
- package/dist/cdn/{QKFKAA35.js → 3WOXEF52.js} +2 -2
- package/dist/cdn/{Z6R6AP6J.js → 3ZC4BUPF.js} +2 -2
- package/dist/cdn/{M4RLF6ZY.js → 4777QUW4.js} +2 -2
- package/dist/cdn/{7G22NYHQ.js → 4JZIZCJQ.js} +2 -2
- package/dist/cdn/{TK7BYOQU.js → 4KQATRP2.js} +2 -2
- package/dist/cdn/{TUINCJSB.js → 4KT4OKBI.js} +4 -4
- package/dist/cdn/{7RMKX24B.js → 4QV5HUW7.js} +2 -2
- package/dist/cdn/{I5AVRL4O.js → 4R6LUGSM.js} +2 -2
- package/dist/cdn/{FTC53IVN.js → 4VLLPVUD.js} +2 -2
- package/dist/cdn/{QMD3XNZD.js → 4VZ6QMG5.js} +2 -2
- package/dist/cdn/{SE7NN54K.js → 52VUFEZY.js} +2 -2
- package/dist/cdn/{T6HT4FAT.js → 55DS4LOX.js} +2 -2
- package/dist/cdn/{I5KCY44G.js → 55EN2NXJ.js} +2 -2
- package/dist/cdn/{T23QZPVB.js → 5SIATZAU.js} +2 -2
- package/dist/cdn/{GCNTTQNF.js → 5X3KPGHV.js} +2 -2
- package/dist/cdn/{ADLV7CMM.js → 5ZNIFW36.js} +2 -2
- package/dist/cdn/{746F73WC.js → 64FFLV2Z.js} +2 -2
- package/dist/cdn/{2TKYTFWD.js → 6DDMIL4X.js} +2 -2
- package/dist/cdn/{KEENISPO.js → 6DFYJBII.js} +2 -2
- package/dist/cdn/{ADS3FZOB.js → 6NTRO5KX.js} +2 -2
- package/dist/cdn/{QTZACBZE.js → 6ONOSKIW.js} +2 -2
- package/dist/cdn/{3AHAK2VA.js → 6R2BOBKT.js} +2 -2
- package/dist/cdn/{GY5JANYQ.js → 7WKH6224.js} +2 -2
- package/dist/cdn/{VASRWU2R.js → 7YJRE2QY.js} +2 -2
- package/dist/cdn/{WZNKEKV4.js → AAZBQ4WV.js} +2 -2
- package/dist/cdn/{IYZ6IE6Y.js → ADAO26AB.js} +2 -2
- package/dist/cdn/{SMRECMVE.js → B6GMWMC3.js} +2 -2
- package/dist/cdn/{TFJF63KL.js → B7P2A6H4.js} +2 -2
- package/dist/cdn/{Q2MA2UGY.js → BBL25543.js} +2 -2
- package/dist/cdn/{XZMVXWSM.js → BJH2D36B.js} +2 -2
- package/dist/cdn/{5YPSFRJG.js → BMKTYALT.js} +2 -2
- package/dist/cdn/{7F7C3ZWS.js → BOZLCMTH.js} +2 -2
- package/dist/cdn/{PTVBKTAJ.js → BVRRYTYE.js} +2 -2
- package/dist/cdn/{ARJIJJUZ.js → CBMDPUVW.js} +2 -2
- package/dist/cdn/{VBK3AKYZ.js → CME4FZL3.js} +2 -2
- package/dist/cdn/{Q7YHRPGS.js → CXD6IB6P.js} +2 -2
- package/dist/cdn/{SUEKRFAO.js → DP5EMB5H.js} +4 -4
- package/dist/cdn/{VPOXYUKT.js → DVCOVYWF.js} +2 -2
- package/dist/cdn/{OGT6X6AI.js → DXA2FAEM.js} +2 -2
- package/dist/cdn/{52YZAURV.js → E33O6BDQ.js} +2 -2
- package/dist/cdn/{JTYHXZMQ.js → E7ZQWB2M.js} +2 -2
- package/dist/cdn/{PIYIEOTZ.js → EA2MSUSU.js} +2 -2
- package/dist/cdn/{ENA6BAVJ.js → EGALYNNE.js} +2 -2
- package/dist/cdn/{74ZVXYUW.js → EGGBGFEA.js} +2 -2
- package/dist/cdn/{YXG2RWCO.js → EL4AH2XG.js} +2 -2
- package/dist/cdn/{GZO2YG2N.js → EWEEDI2N.js} +2 -2
- package/dist/cdn/{BLXAGOF5.js → EXD2UGCV.js} +2 -2
- package/dist/cdn/{UYLMI7VC.js → EYAL4FRL.js} +2 -2
- package/dist/cdn/{NL7WPCID.js → F32QBAZA.js} +2 -2
- package/dist/cdn/{NYWNQDR7.js → FBBJQGTQ.js} +2 -2
- package/dist/cdn/{57IAECSW.js → FCCAQSJN.js} +2 -2
- package/dist/cdn/{MBLGRL64.js → FCIITVHF.js} +1 -1
- package/dist/cdn/{XAJ7BBXI.js → FF7I7CQ5.js} +2 -2
- package/dist/cdn/{5ZFLKL2D.js → FJQBFLZT.js} +2 -2
- package/dist/cdn/{25NTCRVU.js → FWHFUJH2.js} +2 -2
- package/dist/cdn/{VI6CYSMA.js → G6CSJDUZ.js} +2 -2
- package/dist/cdn/{6PIFXC4F.js → GAF7ZMZC.js} +2 -2
- package/dist/cdn/{RX3U5XOH.js → GNJ55HZ3.js} +2 -2
- package/dist/cdn/{YD2CL3ZK.js → GPV25PDE.js} +2 -2
- package/dist/cdn/{TGGHTJWC.js → HA4SKVSE.js} +1 -1
- package/dist/cdn/{2GF4KQZC.js → HCGKMVNY.js} +1 -1
- package/dist/cdn/{3TUHMDGM.js → HHSW7P2D.js} +1 -1
- package/dist/cdn/{A2ME7CP2.js → HNTO4WLF.js} +2 -2
- package/dist/cdn/{YRSMUW6A.js → HRYX5JOT.js} +2 -2
- package/dist/cdn/{DQUWDUMB.js → HSESSWPA.js} +2 -2
- package/dist/cdn/{WIUBTXT3.js → HSI6OOJB.js} +2 -2
- package/dist/cdn/{TWFZFNGW.js → HYKMJDEO.js} +2 -2
- package/dist/cdn/{6O5FSW2A.js → HZ23PIDY.js} +2 -2
- package/dist/cdn/{LX4S3BK4.js → IGUDJWE5.js} +2 -2
- package/dist/cdn/{QPLESBEI.js → IQ3E64TG.js} +2 -2
- package/dist/cdn/{N2WMAMNO.js → IRYHVRLL.js} +2 -2
- package/dist/cdn/{K66S232V.js → JFRJ5JXQ.js} +2 -2
- package/dist/cdn/{VY4YKIIQ.js → JGPUHVUA.js} +2 -2
- package/dist/cdn/{S34KHWDC.js → JPGBEFJY.js} +2 -2
- package/dist/cdn/{2Q7TZTRR.js → K56TSX5A.js} +2 -2
- package/dist/cdn/KAL77LC7.js +4 -0
- package/dist/cdn/{KLBYHBL4.js → KOBFWR75.js} +2 -2
- package/dist/cdn/{FOZPPU4H.js → KQCSEHI7.js} +2 -2
- package/dist/cdn/{XSCA4NNH.js → KTOREEDV.js} +2 -2
- package/dist/cdn/{GP3GRCA5.js → KTRD4KGM.js} +1 -1
- package/dist/cdn/{4ENNXHQW.js → L5CO2JJU.js} +2 -2
- package/dist/cdn/{6KEWPULW.js → LVOZOQFD.js} +2 -2
- package/dist/cdn/{3AD3O4F3.js → LWQTDICJ.js} +2 -2
- package/dist/cdn/{JKFO2EOX.js → MALMNJGS.js} +2 -2
- package/dist/cdn/{SC225Z7N.js → MAW4POZR.js} +2 -2
- package/dist/cdn/{HHL4LHRW.js → MKQ7K6MX.js} +2 -2
- package/dist/cdn/{IN72YTIO.js → N34TAWFT.js} +2 -2
- package/dist/cdn/{4JLUPZQZ.js → NDPXJ25Q.js} +2 -2
- package/dist/cdn/{ILHX5MVR.js → NHR4AORZ.js} +1 -1
- package/dist/cdn/{7SG6BYU6.js → NKT7GWGS.js} +2 -2
- package/dist/cdn/{4YD3DM7B.js → NYDRB42C.js} +2 -2
- package/dist/cdn/{CSHEGJX7.js → O65YUIVN.js} +2 -2
- package/dist/cdn/{PD7KYRRU.js → O7MHYL5H.js} +2 -2
- package/dist/cdn/{JDSOO5CG.js → OK4U5LPQ.js} +2 -2
- package/dist/cdn/{5KDURKRJ.js → OP5DH6EI.js} +2 -2
- package/dist/cdn/{AZIMD6YS.js → OR5BOTJS.js} +2 -2
- package/dist/cdn/{OJNUFGPO.js → OS3UZMYX.js} +2 -2
- package/dist/cdn/{BVV4M3YP.js → OVG7MVAO.js} +2 -2
- package/dist/cdn/PGINT6OT.js +4 -0
- package/dist/cdn/{DJFY6MKZ.js → PI5QXU3R.js} +2 -2
- package/dist/cdn/{YJMX4SIP.js → PM3JC75G.js} +2 -2
- package/dist/cdn/{DTPUXCPG.js → POOLKYHJ.js} +2 -2
- package/dist/cdn/{BFD2YEBK.js → PVMMRVX2.js} +2 -2
- package/dist/cdn/{NCWEAW7P.js → Q2SBTG5O.js} +2 -2
- package/dist/cdn/{EJMTVKBR.js → QAYQKKZW.js} +2 -2
- package/dist/cdn/{POGYX3EV.js → QLEYELDZ.js} +1 -1
- package/dist/cdn/{VF7W4ESG.js → QOAF3BEM.js} +2 -2
- package/dist/cdn/{LYK24PWV.js → QQNRTBSD.js} +2 -2
- package/dist/cdn/{EMNBNQBJ.js → RG7WAFGP.js} +2 -2
- package/dist/cdn/{TVAB2XLM.js → RH7TSPZI.js} +2 -2
- package/dist/cdn/{D6WYIR67.js → RI6CGF7Q.js} +2 -2
- package/dist/cdn/{SIZ3XXMV.js → RJ5XK5JE.js} +2 -2
- package/dist/cdn/{QUHOGIFV.js → RJAVBT7B.js} +2 -2
- package/dist/cdn/{BQP663KL.js → RLNYLN7R.js} +2 -2
- package/dist/cdn/{SHCOQ3ZY.js → RLYRHI6F.js} +2 -2
- package/dist/cdn/{IU6L73I3.js → RMCMTSKO.js} +2 -2
- package/dist/cdn/{OIOQPTNS.js → RPR4JNE2.js} +2 -2
- package/dist/cdn/{3FAG4WR4.js → RRA3W5KX.js} +2 -2
- package/dist/cdn/{OHYZQONU.js → RTJ7I6AU.js} +2 -2
- package/dist/cdn/{IG6ETR3Z.js → RYQ6SCXY.js} +2 -2
- package/dist/cdn/{TEQBMVA6.js → S7G7QMWT.js} +2 -2
- package/dist/cdn/{OSKFPBVQ.js → SE3MVGV3.js} +2 -2
- package/dist/cdn/{DXEZMMJF.js → SHH4SOQ7.js} +2 -2
- package/dist/cdn/{SUNRYKMM.js → SJYLKIX2.js} +2 -2
- package/dist/cdn/{7AWMPCKF.js → SORRW6L2.js} +2 -2
- package/dist/cdn/{OAXIOJHM.js → SPRMVZEV.js} +2 -2
- package/dist/cdn/{UKA2OA26.js → SZCQ5QNJ.js} +2 -2
- package/dist/cdn/{K63WLRMW.js → T2N7PRNS.js} +2 -2
- package/dist/cdn/{JXT7VL2Q.js → T77ONTPI.js} +2 -2
- package/dist/cdn/{44XTCPG3.js → TJMM56E5.js} +2 -2
- package/dist/cdn/{L4I6QP2P.js → TN23IJY4.js} +2 -2
- package/dist/cdn/{3LBMQGIY.js → TNIMF6GQ.js} +2 -2
- package/dist/cdn/{ACU4W5CO.js → UKSH7SZU.js} +2 -2
- package/dist/cdn/{6UU7PSML.js → UMQEBGAU.js} +2 -2
- package/dist/cdn/{TINJQNR6.js → UNVW7MKQ.js} +2 -2
- package/dist/cdn/{MMWPMPL6.js → UO33HVTL.js} +2 -2
- package/dist/cdn/{KLGLYEJJ.js → VQLNQFW3.js} +2 -2
- package/dist/cdn/{NZSGP452.js → VXLW5ERI.js} +2 -2
- package/dist/cdn/{5MG4PTO3.js → W2OVUC3H.js} +2 -2
- package/dist/cdn/{FFVQD5TJ.js → W7NIWUUF.js} +2 -2
- package/dist/cdn/{5KGN3VAK.js → WB37ZNNA.js} +2 -2
- package/dist/cdn/{N5BDX2XX.js → WCLEO3FE.js} +1 -1
- package/dist/cdn/{VMEPSBQU.js → WODUPWQJ.js} +2 -2
- package/dist/cdn/{UCWZ7Z2F.js → WQ3IKXAI.js} +26 -26
- package/dist/cdn/{JY2GWIBZ.js → WTUTZVLM.js} +2 -2
- package/dist/cdn/{JJGHWM6E.js → X33LEDFS.js} +2 -2
- package/dist/cdn/{7XZWBZOH.js → XADR427A.js} +2 -2
- package/dist/cdn/{H3OI365G.js → XCBQ6WPS.js} +2 -2
- package/dist/cdn/{KICFZEZR.js → XHVLCVK4.js} +2 -2
- package/dist/cdn/{2MWI4CIS.js → XR3G2FWH.js} +2 -2
- package/dist/cdn/{UQ52P23G.js → XSBF3TUF.js} +2 -2
- package/dist/cdn/{SIJC45DX.js → XTAO3PRD.js} +2 -2
- package/dist/cdn/{T4CCIRIK.js → XVKA5WBJ.js} +2 -2
- package/dist/cdn/{OOOBDTCN.js → XY44M4HH.js} +2 -2
- package/dist/cdn/{BK3K6LCW.js → Y6LD4Z7J.js} +2 -2
- package/dist/cdn/{BQ653CTG.js → YLOMCWHK.js} +2 -2
- package/dist/cdn/{FJNU33XH.js → YQJIH6TU.js} +2 -2
- package/dist/cdn/{5RQL5YBX.js → YR5HPG2Z.js} +2 -2
- package/dist/cdn/{6FGDRS2Q.js → YVKVLWFH.js} +2 -2
- package/dist/cdn/{FEMBZWZ4.js → YZGWI7F6.js} +2 -2
- package/dist/cdn/{HYQDLBZV.js → Z27KXTHV.js} +2 -2
- package/dist/cdn/{P6BSGMG2.js → ZLPJTJHE.js} +2 -2
- package/dist/cdn/{PPO4TBIM.js → ZNG4CFXZ.js} +2 -2
- package/dist/cdn/{OAOR3NI5.js → ZUAQNNTO.js} +2 -2
- package/dist/cdn/index.js +2 -2
- package/dist/chart-rendering/common/config-utils/index.d.ts +3 -3
- package/dist/chart-rendering/common/data/index.d.ts +1 -1
- package/dist/chart-rendering/common/series/index.d.ts +3 -3
- 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/bg_BG.js +1 -1
- package/dist/chunks/bg_BG2.js +1 -1
- package/dist/chunks/box-plot-data.js +1 -1
- package/dist/chunks/box-plot-model.js +1 -1
- package/dist/chunks/chart-ui-utils.js +1 -1
- package/dist/chunks/chart-ui-utils2.js +1 -1
- package/dist/chunks/combo-bar-line-chart-model.js +1 -1
- package/dist/chunks/common.js +1 -1
- package/dist/chunks/data.js +57 -57
- package/dist/chunks/default.js +1 -1
- package/dist/chunks/gauge-model.js +1 -1
- package/dist/chunks/heat-chart-model.js +1 -1
- package/dist/chunks/histogram-data.js +1 -1
- package/dist/chunks/histogram-model.js +1 -1
- package/dist/chunks/index.js +2846 -2828
- package/dist/chunks/index2.js +142 -138
- package/dist/chunks/index3.js +1 -1
- package/dist/chunks/index4.js +1 -1
- package/dist/chunks/interfaces.js +1 -1
- package/dist/chunks/line-chart-model.js +1 -1
- package/dist/chunks/model-with-multi-axes.js +1 -1
- package/dist/chunks/pie-chart-data.js +1 -1
- package/dist/chunks/pie-chart-model.js +1 -1
- package/dist/chunks/popover-ui-utils.js +1 -1
- package/dist/chunks/radar-chart-model.js +1 -1
- package/dist/chunks/resource.js +1 -1
- package/dist/chunks/rest-js-object-literals.js +1 -1
- package/dist/chunks/runtime.js +1 -1
- package/dist/chunks/scatterplot-model.js +1 -1
- package/dist/chunks/serial-chart-data.js +204 -207
- 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/web-component-utils.js +2 -2
- package/dist/components/arcgis-chart/customElement.js +4721 -4708
- 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 +2 -2
- package/dist/components/arcgis-charts-config-bar-chart-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-bar-chart-series/customElement.js +2 -2
- 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 +2 -2
- package/dist/components/arcgis-charts-config-field-select/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-font-style/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-format/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-format-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-general/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-guide/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-guide-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-guides/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-guides-type-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-histogram/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-histogram-data/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-histogram-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-invalid-input-message/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-line-chart/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-line-chart-data/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-line-chart-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-line-chart-series/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-line-chart-series-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-line-style/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-number-format/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-pie-chart/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-pie-chart-data/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-pie-chart-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-pie-chart-slices/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-pie-chart-slices-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-scatter-plot/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-scatter-plot-data/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-scatter-plot-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-select-chart-type-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-view-charts/customElement.js +1 -1
- package/dist/docs/api.json +2 -2
- package/dist/docs/docs.json +2 -2
- package/dist/docs/web-types.json +1 -1
- package/dist/index.js +1 -1
- package/dist/loader.js +1 -1
- package/dist/model.js +1 -1
- package/dist/utils/chart-config/converter/index.d.ts +3 -3
- package/dist/utils/chart-config/utils/index.d.ts +10 -10
- package/dist/utils/defaults/index.d.ts +3 -3
- package/dist/utils/layer/query-features/index.d.ts +3 -3
- package/dist/utils/type-guards/chart-types.d.ts +8 -2
- package/package.json +4 -4
- package/dist/cdn/BVEKDMZC.js +0 -4
- package/dist/cdn/FFYG7H7E.js +0 -4
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import "@arcgis/toolkit/intl";
|
|
2
|
-
import { cloneDeep as R, memoize as
|
|
3
|
-
import { g as
|
|
2
|
+
import { cloneDeep as R, memoize as ne, isEmpty as qe } from "lodash-es";
|
|
3
|
+
import { g as ce, e as Oe, a as T, u as de, W as M, d as Q, t as b, m as G, n as we, i as H } from "./series-types.js";
|
|
4
4
|
import "d3-array";
|
|
5
|
-
import { bL as
|
|
5
|
+
import { bL as De, cc as ue, bM as ee, ah as ye, bN as te, cY as Me, l as K, d9 as Pe, aI as _, cQ as Ee, bp as ge, cU as I, aG as L, aE as V, bz as B, a_ as Re, aH as $e, r as N, U as ke, V as Xe, cD as Ue, p as W, db as D, k as je, cB as Ye, bH as Ke, bT as We, an as ze, q as Qe, dh as Ge, cx as He, di as ae, c8 as _e, c4 as Je, _ as $, dd as fe, m as Ze, b as U, bK as et, b1 as tt, b2 as it, b4 as st, bJ as re, aJ as at, aK as rt } from "./index.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";
|
|
@@ -12,10 +12,10 @@ import "@arcgis/core/core/promiseUtils.js";
|
|
|
12
12
|
import "@arcgis/core/request.js";
|
|
13
13
|
import "./runtime.js";
|
|
14
14
|
import "@arcgis/toolkit/dom";
|
|
15
|
-
import { substitute as
|
|
16
|
-
import { a as
|
|
17
|
-
import { q as
|
|
18
|
-
import { S as
|
|
15
|
+
import { substitute as w } from "@arcgis/core/intl.js";
|
|
16
|
+
import { a as pe, R as ot } from "./rest-js-object-literals.js";
|
|
17
|
+
import { q as lt, h as me, l as C, n as nt, o as ct, j as A, k as v } from "./index3.js";
|
|
18
|
+
import { S as J } from "./common.js";
|
|
19
19
|
import "@arcgis/core/Graphic.js";
|
|
20
20
|
import "@arcgis/core/renderers/support/jsonUtils.js";
|
|
21
21
|
import "@arcgis/core/symbols/support/symbolUtils.js";
|
|
@@ -24,16 +24,16 @@ import "@arcgis/core/smartMapping/statistics/histogram.js";
|
|
|
24
24
|
import "@arcgis/core/smartMapping/statistics/summaryStatistics.js";
|
|
25
25
|
import "simple-statistics";
|
|
26
26
|
import "@arcgis/core/AttributeBinsGraphic.js";
|
|
27
|
-
import { b as k, d as
|
|
28
|
-
import { c as
|
|
27
|
+
import { b as k, d as xe, g as ie, e as oe, f as dt } from "./data.js";
|
|
28
|
+
import { c as ut } from "./index2.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.
|
|
32
|
-
async function
|
|
31
|
+
v5.0.0-next.92 */
|
|
32
|
+
async function yt(t) {
|
|
33
33
|
const { config: e, layer: i, xAxisField: s, splitByField: a, layerFieldsInfo: r, aggregationFields: o, fetchNullValues: l } = t, c = r.filter((p) => p.name === a)[0]?.type, f = l !== !0 ? `${a} IS NOT NULL` : "", d = s && l !== !0 ? `${s} IS NOT NULL` : "", { where: x } = e?.dataFilters ?? {}, m = {
|
|
34
34
|
where: ue([x, f, d]),
|
|
35
35
|
// excluding the null values from the list
|
|
36
|
-
orderByFields:
|
|
36
|
+
orderByFields: Me(a) ? [] : [`${a} ${ce.Ascending}`],
|
|
37
37
|
// default sorting ascending for split-by field
|
|
38
38
|
geometry: e?.dataFilters?.geometry
|
|
39
39
|
}, y = i;
|
|
@@ -46,8 +46,8 @@ async function ut(t) {
|
|
|
46
46
|
queryConfig: m
|
|
47
47
|
});
|
|
48
48
|
if (e) {
|
|
49
|
-
const p = e?.series.map((u) =>
|
|
50
|
-
S =
|
|
49
|
+
const p = e?.series.map((u) => K({ where: u.query?.where })?.toString() ?? "").filter((u) => u !== void 0 && u !== "");
|
|
50
|
+
S = Pe({
|
|
51
51
|
arrayA: S,
|
|
52
52
|
arrayB: p,
|
|
53
53
|
getKey: (u) => u === null ? null : u?.toString()
|
|
@@ -65,7 +65,7 @@ function mi(t, e) {
|
|
|
65
65
|
return i;
|
|
66
66
|
}
|
|
67
67
|
function xi(t, e) {
|
|
68
|
-
const i =
|
|
68
|
+
const i = De(t);
|
|
69
69
|
let s = e.length === 0, a = 0;
|
|
70
70
|
for (const r of e) {
|
|
71
71
|
for (const o of i)
|
|
@@ -89,18 +89,18 @@ function Si(t, e) {
|
|
|
89
89
|
});
|
|
90
90
|
});
|
|
91
91
|
}
|
|
92
|
-
async function
|
|
92
|
+
async function gt(t) {
|
|
93
93
|
const { layerInfo: e, config: i, category: s } = t, { layer: a } = e, { where: r } = i?.dataFilters ?? {}, { fetchNullValues: o } = i?.series?.[0]?.query ?? {}, l = o !== !0 ? `${s} IS NOT NULL` : "", n = {
|
|
94
94
|
where: ue([r, l]),
|
|
95
95
|
// excluding the null values from the list
|
|
96
96
|
orderByFields: [],
|
|
97
97
|
geometry: i?.dataFilters?.geometry
|
|
98
|
-
}, c =
|
|
98
|
+
}, c = ee(a);
|
|
99
99
|
return (
|
|
100
100
|
// fetch unique category values asynchronously
|
|
101
101
|
(await ye({ queryObject: a, category: s, queryConfig: n })).map((d) => {
|
|
102
102
|
const x = String(d);
|
|
103
|
-
return
|
|
103
|
+
return te({
|
|
104
104
|
fieldName: s,
|
|
105
105
|
fieldValueToMatch: x,
|
|
106
106
|
subtypeInfo: c,
|
|
@@ -119,27 +119,27 @@ function j(t, e, i) {
|
|
|
119
119
|
font: V(B.AxisTitle)
|
|
120
120
|
}));
|
|
121
121
|
}
|
|
122
|
-
function
|
|
122
|
+
function Se(t) {
|
|
123
123
|
const { config: e, layerInfo: i, commonStrings: s, numericFields: a, aggregationType: r } = t;
|
|
124
124
|
let o = "";
|
|
125
125
|
if (e)
|
|
126
|
-
if (
|
|
126
|
+
if (Ee(e) === Oe.Stacked100)
|
|
127
127
|
o = s.utilsStrings.statistics.percent;
|
|
128
128
|
else {
|
|
129
129
|
const n = ge(r, s);
|
|
130
130
|
if (a.length === 1) {
|
|
131
131
|
const c = I(i.layerFieldsInfo, a[0]);
|
|
132
|
-
r === T.NoAggregation ? o = c : r === T.Count && a[0] === i.objectIdField ? o = s.utilsStrings.statistics.count : o =
|
|
132
|
+
r === T.NoAggregation ? o = c : r === T.Count && a[0] === i.objectIdField ? o = s.utilsStrings.statistics.count : o = w(s.axisLabels.aggregationOfFieldName, {
|
|
133
133
|
aggregation: n,
|
|
134
134
|
fieldName: c
|
|
135
135
|
});
|
|
136
|
-
} else a.length > 1 && (r === T.NoAggregation ? o = s.axisLabels.values : o =
|
|
136
|
+
} else a.length > 1 && (r === T.NoAggregation ? o = s.axisLabels.values : o = w(s.axisLabels.aggregationOfValues, {
|
|
137
137
|
aggregation: n
|
|
138
138
|
}));
|
|
139
139
|
}
|
|
140
140
|
return o;
|
|
141
141
|
}
|
|
142
|
-
const
|
|
142
|
+
const Fe = (t, e, i) => t.axes?.[e] ?? Re(i, t.type)[e], be = (t) => {
|
|
143
143
|
const { config: e, axis: i, axisIndex: s } = t;
|
|
144
144
|
e.axes !== void 0 && (e.axes[s] = i);
|
|
145
145
|
}, Fi = (t) => {
|
|
@@ -151,40 +151,40 @@ const Se = (t, e, i) => t.axes?.[e] ?? Ee(i, t.type)[e], Fe = (t) => {
|
|
|
151
151
|
r !== void 0 && (a ? r.maximum = i : r.minimum = i);
|
|
152
152
|
}, bi = (t, e) => {
|
|
153
153
|
F({ config: t, value: e, axisIndex: 0, isMax: !1 });
|
|
154
|
-
},
|
|
155
|
-
const s =
|
|
154
|
+
}, Te = (t) => t.axes?.[0]?.valueFormat ?? _(), ft = (t, e, i) => {
|
|
155
|
+
const s = Fe(t, 0, e);
|
|
156
156
|
if (s !== void 0 && i !== void 0) {
|
|
157
157
|
const a = {
|
|
158
158
|
...s,
|
|
159
159
|
valueFormat: i
|
|
160
160
|
};
|
|
161
|
-
|
|
161
|
+
be({ config: t, axis: a, axisIndex: 0 });
|
|
162
162
|
}
|
|
163
|
-
},
|
|
163
|
+
}, le = (t, e, i) => {
|
|
164
164
|
const s = t.axes?.[e];
|
|
165
165
|
s !== void 0 && (s.integerOnlyValues = i);
|
|
166
|
-
}, ft = (t) => {
|
|
167
|
-
const e = K(t.series);
|
|
168
|
-
return e === O.BarSeries || e === O.ComboLineAndBarSeries || e === O.LineSeries;
|
|
169
166
|
}, pt = (t) => {
|
|
167
|
+
const e = de(t.series);
|
|
168
|
+
return e === M.BarSeries || e === M.ComboLineAndBarSeries || e === M.LineSeries;
|
|
169
|
+
}, mt = (t) => {
|
|
170
170
|
const { axisIndex: e, config: i, isMultiAxis: s } = t;
|
|
171
171
|
let a = !1;
|
|
172
|
-
return e === 0 || e === 1 && s ? a = !0 : e === 2 && (a =
|
|
172
|
+
return e === 0 || e === 1 && s ? a = !0 : e === 2 && (a = pt(i)), a;
|
|
173
173
|
}, Ti = (t) => {
|
|
174
174
|
const { axisIndex: e, func: i, config: s } = t;
|
|
175
|
-
return
|
|
175
|
+
return mt({ axisIndex: e, config: s, isMultiAxis: !0 }) ? i(e) : void 0;
|
|
176
176
|
}, hi = (t, e) => {
|
|
177
177
|
let i;
|
|
178
178
|
const s = e.axes?.[t]?.valueFormat;
|
|
179
|
-
return (t === 0 || t >= 1 &&
|
|
179
|
+
return (t === 0 || t >= 1 && lt(s)) && (i = s), i;
|
|
180
180
|
}, Ai = (t) => {
|
|
181
|
-
const { config: e, commonStrings: i, valueFormat: s, axisIndex: a = 0 } = t, r =
|
|
181
|
+
const { config: e, commonStrings: i, valueFormat: s, axisIndex: a = 0 } = t, r = Fe(e, a, i);
|
|
182
182
|
if (r !== void 0 && s !== void 0) {
|
|
183
183
|
const o = {
|
|
184
184
|
...r,
|
|
185
185
|
valueFormat: s
|
|
186
186
|
};
|
|
187
|
-
|
|
187
|
+
be({
|
|
188
188
|
config: e,
|
|
189
189
|
axis: o,
|
|
190
190
|
axisIndex: a
|
|
@@ -196,7 +196,7 @@ const Se = (t, e, i) => t.axes?.[e] ?? Ee(i, t.type)[e], Fe = (t) => {
|
|
|
196
196
|
}, Ci = (t) => {
|
|
197
197
|
const { config: e, scrollbar: i, axisIndex: s } = t;
|
|
198
198
|
e.axes?.[s] !== void 0 && (e.axes[s].scrollbar = i);
|
|
199
|
-
}, Ii = (t) => t.version,
|
|
199
|
+
}, Ii = (t) => t.version, xt = (t) => t.title?.content.text ?? "", Li = (t, e) => {
|
|
200
200
|
e.title !== void 0 ? e.title.content.text = t : e.title === void 0 && t !== void 0 && (e.title = L({
|
|
201
201
|
text: t,
|
|
202
202
|
visible: !0,
|
|
@@ -208,7 +208,7 @@ const Se = (t, e, i) => t.axes?.[e] ?? Ee(i, t.type)[e], Fe = (t) => {
|
|
|
208
208
|
visible: !0,
|
|
209
209
|
font: V(B.ChartSubtitle)
|
|
210
210
|
}));
|
|
211
|
-
},
|
|
211
|
+
}, qi = (t) => t.footer?.content.text ?? "", Oi = (t, e) => {
|
|
212
212
|
e.footer !== void 0 ? e.footer.content.text = t : e.footer === void 0 && t !== void 0 && (e.footer = L({
|
|
213
213
|
text: t,
|
|
214
214
|
visible: !0,
|
|
@@ -226,8 +226,8 @@ const Se = (t, e, i) => t.axes?.[e] ?? Ee(i, t.type)[e], Fe = (t) => {
|
|
|
226
226
|
visible: t,
|
|
227
227
|
font: V(B.ChartSubtitle)
|
|
228
228
|
}));
|
|
229
|
-
},
|
|
230
|
-
e.footer !== void 0 ? e.footer.visible = t : e.footer === void 0 && t !==
|
|
229
|
+
}, St = (t) => t.footer?.visible ?? !1, Ei = (t, e) => {
|
|
230
|
+
e.footer !== void 0 ? e.footer.visible = t : e.footer === void 0 && t !== St(e) && (e.footer = L({
|
|
231
231
|
text: "",
|
|
232
232
|
visible: !0,
|
|
233
233
|
font: V(B.DescriptionText)
|
|
@@ -266,24 +266,24 @@ const Se = (t, e, i) => t.axes?.[e] ?? Ee(i, t.type)[e], Fe = (t) => {
|
|
|
266
266
|
return e.lineSymbol;
|
|
267
267
|
}, Ki = (t, e) => {
|
|
268
268
|
for (const i of e.axes ?? [])
|
|
269
|
-
i !== void 0 && (i.lineSymbol = R(t) ??
|
|
269
|
+
i !== void 0 && (i.lineSymbol = R(t) ?? $e());
|
|
270
270
|
}, Wi = (t) => {
|
|
271
271
|
for (const e of t.axes ?? [])
|
|
272
272
|
if (e?.grid !== void 0)
|
|
273
273
|
return e.grid;
|
|
274
|
-
},
|
|
274
|
+
}, zi = (t, e, i) => {
|
|
275
275
|
const s = e.axes;
|
|
276
276
|
i.forEach((a) => {
|
|
277
277
|
s?.[a] !== void 0 && (s[a].grid = R(t));
|
|
278
278
|
});
|
|
279
|
-
}, X = (t, e) => e.axes?.[t]?.title?.content.text ?? "",
|
|
279
|
+
}, X = (t, e) => e.axes?.[t]?.title?.content.text ?? "", Qi = (t, e, i) => {
|
|
280
280
|
const s = i.axes?.[e];
|
|
281
281
|
s?.title !== void 0 ? s.title.content.text = t : s !== void 0 && s?.title === void 0 && (s.title = L({
|
|
282
282
|
text: t,
|
|
283
283
|
visible: !0,
|
|
284
284
|
font: V(B.AxisTitle)
|
|
285
285
|
}));
|
|
286
|
-
},
|
|
286
|
+
}, Gi = (t, e) => e.axes?.[t]?.title?.visible ?? !1, Hi = (t, e, i) => {
|
|
287
287
|
const s = i.axes?.[e];
|
|
288
288
|
s?.title !== void 0 ? s.title.visible = t : s !== void 0 && s?.title === void 0 && (s.title = L({
|
|
289
289
|
text: X(e, i),
|
|
@@ -310,34 +310,34 @@ const Se = (t, e, i) => t.axes?.[e] ?? Ee(i, t.type)[e], Fe = (t) => {
|
|
|
310
310
|
});
|
|
311
311
|
}, ns = (t) => t.series.some((e) => e.query?.fetchNullValues), cs = (t) => (
|
|
312
312
|
// TODO: Look into split-by values gotchas cases once done
|
|
313
|
-
t.series.map((e) => String(
|
|
313
|
+
t.series.map((e) => String(K({ where: e.query?.where }))).filter((e) => e !== void 0 && e.trim() !== "")
|
|
314
314
|
), ds = (t) => t.dataFilters, us = (t, e) => {
|
|
315
315
|
t !== void 0 ? e.dataFilters = t : delete e.dataFilters;
|
|
316
|
-
},
|
|
316
|
+
}, Ft = (t) => {
|
|
317
317
|
let e;
|
|
318
318
|
const i = t.series[0];
|
|
319
319
|
return N(i) && (e = i.temporalBinning?.size), e;
|
|
320
|
-
},
|
|
320
|
+
}, bt = (t) => {
|
|
321
321
|
let e;
|
|
322
322
|
const i = t.series[0];
|
|
323
323
|
return N(i) && (e = i.temporalBinning?.unit), e;
|
|
324
|
-
},
|
|
324
|
+
}, Tt = (t) => {
|
|
325
325
|
let e;
|
|
326
326
|
const i = t.series[0];
|
|
327
327
|
return N(i) && (e = i.temporalBinning?.timeAggregationType), e;
|
|
328
|
-
},
|
|
328
|
+
}, ht = (t) => {
|
|
329
329
|
let e;
|
|
330
330
|
const i = t.series[0];
|
|
331
331
|
return N(i) && (e = i.temporalBinning?.trimIncompleteTimeInterval), e;
|
|
332
|
-
},
|
|
332
|
+
}, At = (t) => {
|
|
333
333
|
let e;
|
|
334
334
|
const i = t.series[0];
|
|
335
335
|
return N(i) && (e = i.temporalBinning?.nullPolicy), e;
|
|
336
|
-
},
|
|
336
|
+
}, he = (t, e) => {
|
|
337
337
|
e?.series?.forEach((i) => {
|
|
338
338
|
N(i) && (i.temporalBinning ??= {}, i.temporalBinning.size = t);
|
|
339
339
|
}), F({ config: e, value: null, axisIndex: 1, isMax: !1 }), F({ config: e, value: null, axisIndex: 1, isMax: !0 });
|
|
340
|
-
},
|
|
340
|
+
}, vt = (t, e) => {
|
|
341
341
|
e?.series?.forEach((i) => {
|
|
342
342
|
N(i) && (i.temporalBinning ??= {}, i.temporalBinning.nullPolicy = t);
|
|
343
343
|
}), F({ config: e, value: null, axisIndex: 1, isMax: !1 }), F({ config: e, value: null, axisIndex: 1, isMax: !0 });
|
|
@@ -354,8 +354,8 @@ const Se = (t, e, i) => t.axes?.[e] ?? Ee(i, t.type)[e], Fe = (t) => {
|
|
|
354
354
|
N(i) && (i.temporalBinning ??= {}, i.temporalBinning.trimIncompleteTimeInterval = t);
|
|
355
355
|
}), F({ config: e, value: null, axisIndex: 1, isMax: !1 }), F({ config: e, value: null, axisIndex: 1, isMax: !0 });
|
|
356
356
|
}, ps = (t) => {
|
|
357
|
-
|
|
358
|
-
},
|
|
357
|
+
he(0, t);
|
|
358
|
+
}, Bt = (t) => t.series.length ?? 0, ms = (t, e) => e.series[t].visible ?? !0;
|
|
359
359
|
function xs(t, e) {
|
|
360
360
|
let i;
|
|
361
361
|
return t.length !== 0 && e < t.length && (i = t[e].dataTooltipValueFormat), i;
|
|
@@ -376,34 +376,34 @@ function Ts(t, e) {
|
|
|
376
376
|
let i;
|
|
377
377
|
return e !== void 0 && (i = { ...e, rotated: t }), i;
|
|
378
378
|
}
|
|
379
|
-
function
|
|
379
|
+
function Ae(t) {
|
|
380
380
|
let e;
|
|
381
381
|
return t !== void 0 && (e = { ...t }, delete e.axes?.[0]?.minimum, delete e.axes?.[0]?.maximum, delete e.axes?.[1]?.minimum, delete e.axes?.[1]?.maximum), e;
|
|
382
382
|
}
|
|
383
383
|
function hs(t, e) {
|
|
384
|
-
return e != null ||
|
|
384
|
+
return e != null || me(t);
|
|
385
385
|
}
|
|
386
|
-
async function
|
|
386
|
+
async function Ct(t) {
|
|
387
387
|
const { queryObject: e, chartConfig: i, options: s, splitByField: a } = t;
|
|
388
388
|
let r = [], o;
|
|
389
|
-
const l = R(i), n = l.series[0], c =
|
|
389
|
+
const l = R(i), n = l.series[0], c = We({
|
|
390
390
|
queryObject: e,
|
|
391
391
|
chartConfig: l,
|
|
392
392
|
runtimeDataFilters: s?.runtimeDataFilters,
|
|
393
393
|
ignoreViewExtent: s?.ignoreViewExtent
|
|
394
394
|
});
|
|
395
|
-
if (c.outStatistics?.[0]?.outStatisticFieldName && (c.outStatistics[0].outStatisticFieldName =
|
|
396
|
-
xAxisValueFormatType:
|
|
395
|
+
if (c.outStatistics?.[0]?.outStatisticFieldName && (c.outStatistics[0].outStatisticFieldName = ze.outStatistics.outStatisticFieldName), N(n) && Qe({
|
|
396
|
+
xAxisValueFormatType: Ge(l),
|
|
397
397
|
setTimeBinningInfoWhenNotProvided: s?.setTimeBinningInfoWhenNotProvided,
|
|
398
398
|
seriesConfig: n
|
|
399
|
-
}) &&
|
|
400
|
-
const { temporalBinning: f, x: d } = n, { uniqueQuery: x } = await
|
|
399
|
+
}) && He(e)) {
|
|
400
|
+
const { temporalBinning: f, x: d } = n, { uniqueQuery: x } = await ae({
|
|
401
401
|
chartConfig: l,
|
|
402
402
|
queryConfig: c,
|
|
403
403
|
queryObject: e,
|
|
404
404
|
options: s
|
|
405
405
|
});
|
|
406
|
-
o = await
|
|
406
|
+
o = await _e({
|
|
407
407
|
queryObject: e,
|
|
408
408
|
dateField: d,
|
|
409
409
|
splitByField: a,
|
|
@@ -419,13 +419,13 @@ async function Bt(t) {
|
|
|
419
419
|
).values()
|
|
420
420
|
);
|
|
421
421
|
} else {
|
|
422
|
-
const { uniqueQuery: f } = await
|
|
422
|
+
const { uniqueQuery: f } = await ae({
|
|
423
423
|
chartConfig: l,
|
|
424
424
|
queryObject: e,
|
|
425
425
|
queryConfig: c,
|
|
426
426
|
options: s
|
|
427
427
|
});
|
|
428
|
-
o = await
|
|
428
|
+
o = await Je({
|
|
429
429
|
queryObject: e,
|
|
430
430
|
queryConfig: f,
|
|
431
431
|
featureCount: 1
|
|
@@ -437,10 +437,10 @@ async function Bt(t) {
|
|
|
437
437
|
}
|
|
438
438
|
return { allValues: r, preFetchedQueryResponse: o };
|
|
439
439
|
}
|
|
440
|
-
function
|
|
440
|
+
function It(t, e) {
|
|
441
441
|
const i = /* @__PURE__ */ new Map();
|
|
442
442
|
return t.series.forEach((s) => {
|
|
443
|
-
let a =
|
|
443
|
+
let a = K({
|
|
444
444
|
where: s.query?.where,
|
|
445
445
|
// normalize the value so it matches what we get from getAllValues()
|
|
446
446
|
// Refer to https://devtopia.esri.com/WebGIS/arcgis-charts/issues/8127
|
|
@@ -450,14 +450,14 @@ function Ct(t, e) {
|
|
|
450
450
|
escape: !1
|
|
451
451
|
});
|
|
452
452
|
e && a !== null && (a = Number(a));
|
|
453
|
-
const r =
|
|
453
|
+
const r = de([s]);
|
|
454
454
|
r !== void 0 && i.set(r, [
|
|
455
455
|
...i.get(r) ?? [],
|
|
456
456
|
a
|
|
457
457
|
]);
|
|
458
458
|
}), i;
|
|
459
459
|
}
|
|
460
|
-
function
|
|
460
|
+
function Lt(t) {
|
|
461
461
|
const { allValues: e, configUniqueValuesPerSeriesType: i, initialConfigWasEmpty: s } = t, a = /* @__PURE__ */ new Map();
|
|
462
462
|
return Array.from(i.keys()).forEach((r) => {
|
|
463
463
|
const o = i.get(r) ?? [];
|
|
@@ -467,7 +467,7 @@ function It(t) {
|
|
|
467
467
|
}), a.set(r, l);
|
|
468
468
|
}), a;
|
|
469
469
|
}
|
|
470
|
-
function
|
|
470
|
+
function Vt(t) {
|
|
471
471
|
const { chartConfig: e, missingValue: i, splitByField: s, seriesTemplate: a } = t, r = JSON.parse(
|
|
472
472
|
JSON.stringify({
|
|
473
473
|
...e.series[0],
|
|
@@ -484,24 +484,24 @@ function Lt(t) {
|
|
|
484
484
|
}
|
|
485
485
|
return r;
|
|
486
486
|
}
|
|
487
|
-
async function
|
|
487
|
+
async function Nt(t) {
|
|
488
488
|
const { updateSplitBySeries: e, config: i, options: s, queryObject: a } = t, { seriesTemplate: r } = e ?? {};
|
|
489
489
|
let o;
|
|
490
490
|
if (e !== void 0 && i !== void 0 && (i.series.length > 0 || r !== void 0) && e.addMissingSeries) {
|
|
491
491
|
const l = i.series.length === 0;
|
|
492
492
|
i.series.length === 0 && r !== void 0 && i.series.push(r);
|
|
493
|
-
const n =
|
|
494
|
-
if ((n ===
|
|
495
|
-
const c =
|
|
493
|
+
const n = W(i.series);
|
|
494
|
+
if ((n === D.BoxPlotMonoFieldAndSplitBy || n === D.BoxPlotMultiFieldsAndSplitBy || n === D.BoxPlotMonoFieldAndCategoryAndSplitBy || n === D.BarAndLineSplitBy || n === D.BarAndLineSplitByNoAggregation) && a !== void 0) {
|
|
495
|
+
const c = je(i.series[0]?.query?.where), f = Ye(a);
|
|
496
496
|
await f.load();
|
|
497
|
-
const d = f.getField(c)?.toJSON(), x =
|
|
497
|
+
const d = f.getField(c)?.toJSON(), x = Ke(d), m = await Ct({
|
|
498
498
|
queryObject: a,
|
|
499
499
|
chartConfig: i,
|
|
500
500
|
splitByField: c,
|
|
501
501
|
options: s
|
|
502
502
|
}), { allValues: y } = m;
|
|
503
503
|
if ({ preFetchedQueryResponse: o } = m, y.length > 0) {
|
|
504
|
-
const g =
|
|
504
|
+
const g = It(i, x), S = Lt({
|
|
505
505
|
allValues: y,
|
|
506
506
|
configUniqueValuesPerSeriesType: g,
|
|
507
507
|
initialConfigWasEmpty: l
|
|
@@ -509,7 +509,7 @@ async function Vt(t) {
|
|
|
509
509
|
Array.from(S.keys()).forEach((p) => {
|
|
510
510
|
(S.get(p) ?? []).forEach((q) => {
|
|
511
511
|
i.series.push(
|
|
512
|
-
|
|
512
|
+
Vt({
|
|
513
513
|
chartConfig: i,
|
|
514
514
|
seriesTemplate: r,
|
|
515
515
|
missingValue: q,
|
|
@@ -523,8 +523,8 @@ async function Vt(t) {
|
|
|
523
523
|
}
|
|
524
524
|
return o;
|
|
525
525
|
}
|
|
526
|
-
function
|
|
527
|
-
e && !
|
|
526
|
+
function qt(t, e) {
|
|
527
|
+
e && !me(e) && (e = Ue({ chartConfig: e, queryObject: t }));
|
|
528
528
|
}
|
|
529
529
|
async function As(t) {
|
|
530
530
|
const {
|
|
@@ -539,16 +539,16 @@ async function As(t) {
|
|
|
539
539
|
previousConfig: c
|
|
540
540
|
} = t;
|
|
541
541
|
let f = e, d;
|
|
542
|
-
return
|
|
542
|
+
return qt(i, f), f = await ut(f, i), s && (d = await Nt({
|
|
543
543
|
updateSplitBySeries: a,
|
|
544
544
|
config: f,
|
|
545
545
|
options: n,
|
|
546
546
|
queryObject: l
|
|
547
|
-
})), (o || c &&
|
|
547
|
+
})), (o || c && ke(c, f)) && (f = Xe(f, r)), { alteredConfig: f, preFetchedQueryResponse: d };
|
|
548
548
|
}
|
|
549
549
|
const vs = (t) => {
|
|
550
550
|
const { xField: e, config: i, layerInfo: s } = t, { layerFieldsInfo: a } = s, r = X(0, i), o = Ot(i), l = $(i), n = i.series[0];
|
|
551
|
-
if (typeof e == "string" && o !== e && n && (n.x = e,
|
|
551
|
+
if (typeof e == "string" && o !== e && n && (n.x = e, Ae(i), o === r || l)) {
|
|
552
552
|
const c = I(a, e);
|
|
553
553
|
j(i, 0, c);
|
|
554
554
|
}
|
|
@@ -560,25 +560,25 @@ const vs = (t) => {
|
|
|
560
560
|
}, Ls = (t) => t.series[0].heatRulesType, Vs = (t, e) => {
|
|
561
561
|
const i = t.series[0];
|
|
562
562
|
i.gradientRules = e;
|
|
563
|
-
}, Ns = (t) => t.series[0].gradientRules,
|
|
564
|
-
const { yField: e, config: i, layerInfo: s } = t, { layerFieldsInfo: a } = s, r = X(1, i), o =
|
|
565
|
-
if (typeof e == "string" && o !== e && n && (n.y = e,
|
|
563
|
+
}, Ns = (t) => t.series[0].gradientRules, qs = (t) => {
|
|
564
|
+
const { yField: e, config: i, layerInfo: s } = t, { layerFieldsInfo: a } = s, r = X(1, i), o = wt(i), l = $(i), n = i.series[0];
|
|
565
|
+
if (typeof e == "string" && o !== e && n && (n.y = e, Ae(i), o === r || l)) {
|
|
566
566
|
const c = I(a, e);
|
|
567
567
|
j(i, 1, c);
|
|
568
568
|
}
|
|
569
|
-
},
|
|
569
|
+
}, wt = (t) => t.series[0].y ?? "", Os = (t, e) => {
|
|
570
570
|
const i = e.series[0];
|
|
571
571
|
i.xTemporalBinning = t;
|
|
572
572
|
}, ws = (t) => t.series[0].xTemporalBinning, Ds = (t, e) => {
|
|
573
573
|
const i = e.series[0];
|
|
574
574
|
i.yTemporalBinning = t;
|
|
575
|
-
}, Ms = (t) => t.series[0].yTemporalBinning,
|
|
575
|
+
}, Ms = (t) => t.series[0].yTemporalBinning, Dt = (t, e) => {
|
|
576
576
|
e.orderOptions ??= {};
|
|
577
|
-
const i = e.axes?.[0]?.valueFormat?.type === "category" ? b.Category : b.YValue, s =
|
|
577
|
+
const i = e.axes?.[0]?.valueFormat?.type === "category" ? b.Category : b.YValue, s = Z(e)[0], a = e.axes?.[1]?.valueFormat?.type === "category" ? b.Category : b.YValue, r = Z(e)[1], o = {
|
|
578
578
|
...e.orderOptions.data ?? {},
|
|
579
579
|
orderType: b.MultiAxes
|
|
580
580
|
};
|
|
581
|
-
s ===
|
|
581
|
+
s === J.customSort && i === b.Category && (o.orderByX = [...t]), r === J.customSort && a === b.Category && (o.orderByY = [...t]), Object.keys(o).length > 1 && (e.orderOptions.data = o);
|
|
582
582
|
}, Ps = (t, e) => {
|
|
583
583
|
const i = e.series[0];
|
|
584
584
|
i.gridLine && (i.gridLine.width = t);
|
|
@@ -594,16 +594,13 @@ const vs = (t) => {
|
|
|
594
594
|
}, Ys = (t) => t.series[0].query?.outStatistics?.[0].statisticType ?? T.Count, Ks = (t, e) => {
|
|
595
595
|
const i = e.series[0]?.query?.outStatistics?.[0];
|
|
596
596
|
i && t !== T.NoAggregation && (i.statisticType = t, i.outStatisticFieldName = `${t}_${i.onStatisticField}`);
|
|
597
|
-
}, Ws = (t) => t.nullPolicy,
|
|
597
|
+
}, Ws = (t) => t.nullPolicy, zs = (t, e) => {
|
|
598
598
|
e.nullPolicy = t;
|
|
599
|
-
},
|
|
599
|
+
}, Qs = (t) => t.series[0].emptyCells?.text, Gs = (t, e) => {
|
|
600
600
|
e.series[0].emptyCells ? e.series[0].emptyCells.text = t : e.series[0].emptyCells = { text: t };
|
|
601
|
-
},
|
|
601
|
+
}, Hs = (t) => t.series[0].emptyCells?.symbol, _s = (t, e) => {
|
|
602
602
|
e.series[0].emptyCells ? e.series[0].emptyCells.symbol = t : e.series[0].emptyCells = { symbol: t };
|
|
603
603
|
};
|
|
604
|
-
function Dt(t) {
|
|
605
|
-
return K(t.series) === O.HeatSeries;
|
|
606
|
-
}
|
|
607
604
|
function E(t) {
|
|
608
605
|
const { seriesIndex: e, xAxisField: i, aggregationType: s, config: a, layerInfo: r, commonStrings: o } = t, { objectIdField: l } = r ?? {};
|
|
609
606
|
let n;
|
|
@@ -614,15 +611,15 @@ function E(t) {
|
|
|
614
611
|
f = y.slice(0, e).every((g) => A(g)), d = y.slice(0, e).every((g) => v(g));
|
|
615
612
|
} else
|
|
616
613
|
f = A(c), d = v(c);
|
|
617
|
-
f ? n =
|
|
614
|
+
f ? n = tt({
|
|
618
615
|
commonStrings: o,
|
|
619
616
|
seriesIndex: e,
|
|
620
617
|
objectIDField: l
|
|
621
|
-
}) : d ? n =
|
|
618
|
+
}) : d ? n = it({
|
|
622
619
|
commonStrings: o,
|
|
623
620
|
seriesIndex: e,
|
|
624
621
|
objectIDField: l
|
|
625
|
-
}) : n =
|
|
622
|
+
}) : n = st({
|
|
626
623
|
seriesIndex: e,
|
|
627
624
|
objectIDField: l,
|
|
628
625
|
commonStrings: o
|
|
@@ -633,8 +630,8 @@ function E(t) {
|
|
|
633
630
|
y: "",
|
|
634
631
|
dataLabels: {
|
|
635
632
|
...n.dataLabels,
|
|
636
|
-
type: n.dataLabels?.type ??
|
|
637
|
-
content: { ...n.dataLabels?.content, ...x?.content, type:
|
|
633
|
+
type: n.dataLabels?.type ?? M.Text,
|
|
634
|
+
content: { ...n.dataLabels?.content, ...x?.content, type: ot.TS },
|
|
638
635
|
visible: x?.visible ?? !1
|
|
639
636
|
}
|
|
640
637
|
};
|
|
@@ -652,28 +649,28 @@ function E(t) {
|
|
|
652
649
|
}
|
|
653
650
|
if (A(m) || v(m) || C(m) && a.series[0]?.binTemporalData) {
|
|
654
651
|
let y;
|
|
655
|
-
if (a?.series?.[0] !== void 0 && (y =
|
|
656
|
-
let g =
|
|
657
|
-
g ===
|
|
658
|
-
size:
|
|
652
|
+
if (a?.series?.[0] !== void 0 && (y = W(a.series)), y !== D.BarAndLineNoAggregation && y !== D.BarAndLineSplitByNoAggregation) {
|
|
653
|
+
let g = bt(a);
|
|
654
|
+
g === H.Quarter && (g = H.Month), m.temporalBinning = {
|
|
655
|
+
size: Ft(a),
|
|
659
656
|
unit: g,
|
|
660
|
-
timeAggregationType:
|
|
661
|
-
trimIncompleteTimeInterval:
|
|
662
|
-
nullPolicy:
|
|
657
|
+
timeAggregationType: Tt(a),
|
|
658
|
+
trimIncompleteTimeInterval: ht(a),
|
|
659
|
+
nullPolicy: At(a)
|
|
663
660
|
};
|
|
664
661
|
}
|
|
665
662
|
}
|
|
666
663
|
return R(m);
|
|
667
664
|
}
|
|
668
|
-
function
|
|
669
|
-
const { layerFieldsInfo: s, objectIdField: a } = e, r = k(t), o =
|
|
665
|
+
function ve(t, e, i) {
|
|
666
|
+
const { layerFieldsInfo: s, objectIdField: a } = e, r = k(t), o = se(t), l = Ce(t), n = Y(t), c = o.length === 0 || o.includes(a), f = ge(l, i), d = c ? "" : o.map((u) => I(s ?? [], u)).join(", "), x = I(s ?? [], r), m = I(s ?? [], n), y = t.series.some((u) => C(u)), g = y ? "category" : "xAxisField", S = x;
|
|
670
667
|
let p = "";
|
|
671
|
-
if (
|
|
668
|
+
if (xe({
|
|
672
669
|
fieldName: r,
|
|
673
670
|
numericFields: o,
|
|
674
671
|
fieldList: s
|
|
675
672
|
}))
|
|
676
|
-
p =
|
|
673
|
+
p = w(i.titleLabels.aggrTypeOfAggrFields, {
|
|
677
674
|
aggregationType: f,
|
|
678
675
|
aggregationFields: d
|
|
679
676
|
});
|
|
@@ -681,13 +678,13 @@ function Ae(t, e, i) {
|
|
|
681
678
|
const u = c ? a : d;
|
|
682
679
|
if (n === "") {
|
|
683
680
|
const q = y ? "aggrTypeCategory" : "aggrTypeXAxisField";
|
|
684
|
-
p =
|
|
681
|
+
p = w(i.titleLabels[q], {
|
|
685
682
|
aggregationType: u,
|
|
686
683
|
[g]: S
|
|
687
684
|
});
|
|
688
685
|
} else {
|
|
689
686
|
const q = y ? "aggrTypeCategoryBySplitBy" : "aggrTypeXAxisFieldBySplitBy";
|
|
690
|
-
p =
|
|
687
|
+
p = w(i.titleLabels[q], {
|
|
691
688
|
aggregationType: u,
|
|
692
689
|
[g]: S,
|
|
693
690
|
splitByField: m
|
|
@@ -696,13 +693,13 @@ function Ae(t, e, i) {
|
|
|
696
693
|
} else if (l === T.Count)
|
|
697
694
|
if (n === "") {
|
|
698
695
|
const u = y ? "aggrTypeCategory" : "aggrTypeXAxisField";
|
|
699
|
-
p =
|
|
696
|
+
p = w(i.titleLabels[u], {
|
|
700
697
|
aggregationType: f,
|
|
701
698
|
[g]: S
|
|
702
699
|
});
|
|
703
700
|
} else {
|
|
704
701
|
const u = y ? "aggrTypeCategoryBySplitBy" : "aggrTypeXAxisFieldBySplitBy";
|
|
705
|
-
p =
|
|
702
|
+
p = w(i.titleLabels[u], {
|
|
706
703
|
aggregationType: f,
|
|
707
704
|
[g]: S,
|
|
708
705
|
splitByField: m
|
|
@@ -710,7 +707,7 @@ function Ae(t, e, i) {
|
|
|
710
707
|
}
|
|
711
708
|
else if (n !== "") {
|
|
712
709
|
const u = y ? "aggrTypeOfAggrFieldByCategoryBySplitByField" : "aggrTypeOfAggrFieldByXAxisFieldBySplitByField";
|
|
713
|
-
p =
|
|
710
|
+
p = w(i.titleLabels[u], {
|
|
714
711
|
aggregationType: f,
|
|
715
712
|
aggregationField: d,
|
|
716
713
|
[g]: S,
|
|
@@ -718,7 +715,7 @@ function Ae(t, e, i) {
|
|
|
718
715
|
});
|
|
719
716
|
} else if (o.length > 0) {
|
|
720
717
|
const u = y ? "aggrTypeOfAggrFieldsByCategory" : "aggrTypeOfAggrFieldsByXAxisField";
|
|
721
|
-
p =
|
|
718
|
+
p = w(i.titleLabels[u], {
|
|
722
719
|
aggregationType: f,
|
|
723
720
|
aggregationFields: d,
|
|
724
721
|
[g]: S
|
|
@@ -726,17 +723,17 @@ function Ae(t, e, i) {
|
|
|
726
723
|
}
|
|
727
724
|
return p;
|
|
728
725
|
}
|
|
729
|
-
const
|
|
726
|
+
const Be = (t) => K({
|
|
730
727
|
where: t.query?.where,
|
|
731
728
|
normalize: !1,
|
|
732
729
|
escape: !1
|
|
733
|
-
}) ?? "",
|
|
730
|
+
}) ?? "", Ce = (t) => t?.series?.[0]?.query?.outStatistics?.[0]?.statisticType ?? T.NoAggregation, Y = ne(
|
|
734
731
|
(t) => {
|
|
735
732
|
const e = t?.series?.[0]?.query?.where?.split("=")[0].trim() ?? "";
|
|
736
|
-
return
|
|
733
|
+
return Ze(t?.series?.[0]?.query?.where) ? "" : e;
|
|
737
734
|
},
|
|
738
735
|
(t) => t?.series?.[0]?.query?.where
|
|
739
|
-
),
|
|
736
|
+
), se = ne(
|
|
740
737
|
// without memoizing, the worst case efficiency is O(series.length), best case is O(1)
|
|
741
738
|
// with memoizing, the worst case efficiency for repeated calls becomes O(1)
|
|
742
739
|
(t) => {
|
|
@@ -760,22 +757,22 @@ function Mt(t) {
|
|
|
760
757
|
let r = !1;
|
|
761
758
|
i === T.Count ? r = !0 : i === T.NoAggregation && (r = e.every((n) => {
|
|
762
759
|
const c = a.layerFieldsInfo.find((f) => f.name === n);
|
|
763
|
-
return c !== void 0 ?
|
|
764
|
-
})),
|
|
760
|
+
return c !== void 0 ? re(c) : !1;
|
|
761
|
+
})), le(s, 1, r);
|
|
765
762
|
const o = s.series.some((n) => A(n)), l = s.series.some((n) => v(n));
|
|
766
763
|
if (o || l) {
|
|
767
|
-
const n = k(s), c = a.layerFieldsInfo.find((d) => d.name === n), f = c !== void 0 &&
|
|
768
|
-
|
|
764
|
+
const n = k(s), c = a.layerFieldsInfo.find((d) => d.name === n), f = c !== void 0 && re(c);
|
|
765
|
+
le(s, 0, f);
|
|
769
766
|
}
|
|
770
767
|
}
|
|
771
|
-
const
|
|
768
|
+
const Z = (t) => {
|
|
772
769
|
let e;
|
|
773
|
-
if (
|
|
774
|
-
const
|
|
775
|
-
e = [
|
|
770
|
+
if (fe(t)) {
|
|
771
|
+
const i = t.orderOptions?.data?.orderByX ?? [""], s = t.orderOptions?.data?.orderByY ?? [""], a = t.axes?.[0]?.valueFormat?.type === "category" ? b.Category : b.YValue, r = t.axes?.[1]?.valueFormat?.type === "category" ? b.Category : b.YValue;
|
|
772
|
+
e = [oe(i, a), oe(s, r)];
|
|
776
773
|
} else {
|
|
777
|
-
const
|
|
778
|
-
e = [
|
|
774
|
+
const i = t.orderOptions?.data?.orderType ?? b.Category, s = t.orderOptions?.data && "orderBy" in t.orderOptions.data ? t.orderOptions.data.orderBy : ce.Ascending;
|
|
775
|
+
e = [dt(s, i)];
|
|
779
776
|
}
|
|
780
777
|
return e;
|
|
781
778
|
};
|
|
@@ -789,7 +786,7 @@ function Pt(t) {
|
|
|
789
786
|
layerInfo: r,
|
|
790
787
|
seriesIndex: 0,
|
|
791
788
|
commonStrings: o
|
|
792
|
-
}), f =
|
|
789
|
+
}), f = ie({
|
|
793
790
|
config: a,
|
|
794
791
|
xAxisField: e,
|
|
795
792
|
numericFields: i,
|
|
@@ -813,7 +810,7 @@ function Pt(t) {
|
|
|
813
810
|
const m = a.series[0];
|
|
814
811
|
return m !== void 0 && (d.id = m.id, a.colorMatch || (C(m) && C(d) ? d.fillSymbol = m.fillSymbol : (A(d) && A(m) || v(d) && v(m)) && (d.lineSymbol = m.lineSymbol, d.markerSymbol = m.markerSymbol), n = !0), d.id = m.id, m.name !== c.name && (d.name = m.name)), a.series.length === 1 && !a.colorMatch && (C(d) ? d.fillSymbol = a.series[0].fillSymbol : (A(d) || v(d)) && (d.lineSymbol = a.series[0].lineSymbol, d.markerSymbol = a.series[0].markerSymbol), n = !0), a.colorMatch = !n, [d];
|
|
815
812
|
}
|
|
816
|
-
function
|
|
813
|
+
function Ie(t) {
|
|
817
814
|
const { xAxisField: e, numericFields: i, aggregationType: s, config: a, layerInfo: r, commonStrings: o } = t, { layerFieldsInfo: l, objectIdField: n } = r, c = [];
|
|
818
815
|
let f = !1;
|
|
819
816
|
for (let d = 0; d < i.length; d += 1) {
|
|
@@ -824,7 +821,7 @@ function Ce(t) {
|
|
|
824
821
|
layerInfo: r,
|
|
825
822
|
seriesIndex: d,
|
|
826
823
|
commonStrings: o
|
|
827
|
-
}), m =
|
|
824
|
+
}), m = ie({
|
|
828
825
|
config: a,
|
|
829
826
|
xAxisField: e,
|
|
830
827
|
numericFields: i,
|
|
@@ -873,7 +870,7 @@ function Ce(t) {
|
|
|
873
870
|
return a.series.length === 1 && c.length === 1 && !a.colorMatch && (C(a.series[0]) && C(c[0]) ? c[0].fillSymbol = a.series[0].fillSymbol : (A(a.series[0]) && A(c[0]) || v(a.series[0]) && v(c[0])) && (c[0].lineSymbol = a.series[0].lineSymbol, c[0].markerSymbol = a.series[0].markerSymbol), f = !0), a.colorMatch = !f, c;
|
|
874
871
|
}
|
|
875
872
|
async function Et(t) {
|
|
876
|
-
const { splitByField: e, xAxisField: i, numericFields: s, aggregationType: a, config: r, layerInfo: o, commonStrings: l } = t, { layer: n, layerFieldsInfo: c } = o, { fetchNullValues: f } = r?.series?.[0]?.query ?? {}, d = i !== U ? i : void 0, { categoriesArray: x, splitByFieldType: m, numericalField: y } = await
|
|
873
|
+
const { splitByField: e, xAxisField: i, numericFields: s, aggregationType: a, config: r, layerInfo: o, commonStrings: l } = t, { layer: n, layerFieldsInfo: c } = o, { fetchNullValues: f } = r?.series?.[0]?.query ?? {}, d = i !== U ? i : void 0, { categoriesArray: x, splitByFieldType: m, numericalField: y } = await yt({
|
|
877
874
|
config: r,
|
|
878
875
|
layer: n,
|
|
879
876
|
layerFieldsInfo: c,
|
|
@@ -884,7 +881,7 @@ async function Et(t) {
|
|
|
884
881
|
});
|
|
885
882
|
let g = [], S = !1;
|
|
886
883
|
if (x.length === 0) {
|
|
887
|
-
g =
|
|
884
|
+
g = Ie({
|
|
888
885
|
xAxisField: i,
|
|
889
886
|
numericFields: s,
|
|
890
887
|
aggregationType: a,
|
|
@@ -896,7 +893,7 @@ async function Et(t) {
|
|
|
896
893
|
p.query && (p.query.where = `${e}=''`);
|
|
897
894
|
} else
|
|
898
895
|
for (let p = 0; p < x.length; p += 1) {
|
|
899
|
-
const u = x[p], q =
|
|
896
|
+
const u = x[p], q = ie({
|
|
900
897
|
config: r,
|
|
901
898
|
xAxisField: i,
|
|
902
899
|
numericFields: s,
|
|
@@ -912,19 +909,19 @@ async function Et(t) {
|
|
|
912
909
|
layerInfo: o,
|
|
913
910
|
seriesIndex: p,
|
|
914
911
|
commonStrings: l
|
|
915
|
-
}),
|
|
912
|
+
}), Le = {
|
|
916
913
|
fieldName: e,
|
|
917
914
|
fieldValueToMatch: u ?? "",
|
|
918
|
-
subtypeInfo:
|
|
915
|
+
subtypeInfo: ee(o.layer),
|
|
919
916
|
fieldList: o.layerFieldsInfo
|
|
920
|
-
},
|
|
917
|
+
}, Ve = te(Le), z = `${u}`, h = {
|
|
921
918
|
...P,
|
|
922
919
|
id: z,
|
|
923
|
-
name:
|
|
920
|
+
name: Ve ?? z,
|
|
924
921
|
y: q,
|
|
925
922
|
query: {
|
|
926
923
|
...P.query,
|
|
927
|
-
where: `${e}=${m ===
|
|
924
|
+
where: `${e}=${m === pe.String && u !== null ? `'${u}'` : u}`,
|
|
928
925
|
outStatistics: a !== T.NoAggregation ? [
|
|
929
926
|
{
|
|
930
927
|
...P.query?.outStatistics?.[0] ?? {},
|
|
@@ -936,26 +933,26 @@ async function Et(t) {
|
|
|
936
933
|
}
|
|
937
934
|
};
|
|
938
935
|
a === T.NoAggregation && (h.query !== void 0 && (delete h.query.outStatistics, delete h.query.groupByFieldsForStatistics), h.y = y);
|
|
939
|
-
const
|
|
940
|
-
(
|
|
936
|
+
const O = r.series.find(
|
|
937
|
+
(Ne) => String(Be(Ne)).trim().replace(/'/gu, "") === z
|
|
941
938
|
);
|
|
942
|
-
|
|
939
|
+
O !== void 0 && (r.colorMatch || (C(h) && C(O) ? h.fillSymbol = O.fillSymbol : (A(h) && A(O) || v(h) && v(O)) && (h.lineSymbol = O.lineSymbol, h.markerSymbol = O.markerSymbol), S = !0), h.id = O.id, h.name = O.name), g.push(h);
|
|
943
940
|
}
|
|
944
941
|
return r.colorMatch = !S, g;
|
|
945
942
|
}
|
|
946
943
|
const Js = async (t) => {
|
|
947
|
-
const { xAxisField: e, splitByField: i, numericFields: s, aggregationType: a, config: r, layerInfo: o, commonStrings: l } = t, { layerFieldsInfo: n } = o ?? {}, c =
|
|
948
|
-
let y =
|
|
949
|
-
const g = r.series.some((u) => C(u)), S =
|
|
944
|
+
const { xAxisField: e, splitByField: i, numericFields: s, aggregationType: a, config: r, layerInfo: o, commonStrings: l } = t, { layerFieldsInfo: n } = o ?? {}, c = Bt(r), f = k(r), d = Rt(r, o, l), x = $t(r, o, l), m = kt(r, o);
|
|
945
|
+
let y = Te(r);
|
|
946
|
+
const g = r.series.some((u) => C(u)), S = nt(r.series), p = ct(r.series);
|
|
950
947
|
if (n !== void 0) {
|
|
951
|
-
const u =
|
|
952
|
-
!u.includes(f) && u.includes(e) ? y =
|
|
948
|
+
const u = et(n);
|
|
949
|
+
!u.includes(f) && u.includes(e) ? y = at() : u.includes(f) && !u.includes(e) && (g ? y = _() : y = rt()), n.find((P) => P.name === e)?.type === pe.String && (y = _()), y !== void 0 && ft(r, l, y);
|
|
953
950
|
}
|
|
954
951
|
if (c === 0 && (r.series = [
|
|
955
952
|
E({ config: r, xAxisField: e, aggregationType: a, layerInfo: o, commonStrings: l })
|
|
956
953
|
]), r.series.forEach((u) => {
|
|
957
954
|
u.x = e, u.query !== void 0 && (u.query.groupByFieldsForStatistics = [e]);
|
|
958
|
-
}), i === "" || s.length > 1 ?
|
|
955
|
+
}), i === "" || s.length > 1 ? xe({
|
|
959
956
|
fieldName: e,
|
|
960
957
|
numericFields: s,
|
|
961
958
|
fieldList: n
|
|
@@ -966,7 +963,7 @@ const Js = async (t) => {
|
|
|
966
963
|
numericFields: s,
|
|
967
964
|
aggregationType: a,
|
|
968
965
|
commonStrings: l
|
|
969
|
-
}) : r.series =
|
|
966
|
+
}) : r.series = Ie({
|
|
970
967
|
config: r,
|
|
971
968
|
layerInfo: o,
|
|
972
969
|
xAxisField: e,
|
|
@@ -986,7 +983,7 @@ const Js = async (t) => {
|
|
|
986
983
|
j(r, 0, u);
|
|
987
984
|
}
|
|
988
985
|
if (x) {
|
|
989
|
-
const u =
|
|
986
|
+
const u = Se({
|
|
990
987
|
config: r,
|
|
991
988
|
layerInfo: o,
|
|
992
989
|
commonStrings: l,
|
|
@@ -995,60 +992,60 @@ const Js = async (t) => {
|
|
|
995
992
|
});
|
|
996
993
|
j(r, 1, u);
|
|
997
994
|
}
|
|
998
|
-
if (r.title && d && (r.title.content.text =
|
|
999
|
-
F({ config: r, value: null, axisIndex: 0, isMax: !1 }), F({ config: r, value: null, axisIndex: 0, isMax: !0 }),
|
|
1000
|
-
const u = y?.type ===
|
|
1001
|
-
|
|
995
|
+
if (r.title && d && (r.title.content.text = ve(r, o, l)), F({ config: r, value: null, axisIndex: 1, isMax: !1 }), F({ config: r, value: null, axisIndex: 1, isMax: !0 }), Mt({ numericFields: s, aggregationType: a, config: r, layerInfo: o }), S || p) {
|
|
996
|
+
F({ config: r, value: null, axisIndex: 0, isMax: !1 }), F({ config: r, value: null, axisIndex: 0, isMax: !0 }), he(0, r);
|
|
997
|
+
const u = y?.type === M.DateAxisFormat ? G.Null : G.Interpolate;
|
|
998
|
+
vt(u, r);
|
|
1002
999
|
}
|
|
1003
1000
|
}, Zs = (t) => {
|
|
1004
1001
|
const { config: e, seriesIndex: i, layerInfo: s, commonStrings: a } = t, r = e.series?.[i], o = Y(e);
|
|
1005
1002
|
let l;
|
|
1006
|
-
if (
|
|
1003
|
+
if (W(e.series) === D.BarAndLineFromFields)
|
|
1007
1004
|
l = a.axisLabels.values;
|
|
1008
|
-
else if (
|
|
1005
|
+
else if (qe(o)) {
|
|
1009
1006
|
const c = r.query?.outStatistics?.[0]?.onStatisticField;
|
|
1010
1007
|
c !== void 0 && c !== s.objectIdField && (l = I(s.layerFieldsInfo, c));
|
|
1011
1008
|
} else {
|
|
1012
|
-
const c = String(
|
|
1009
|
+
const c = String(Be(r)).trim().replace(/'/gu, ""), f = {
|
|
1013
1010
|
fieldName: Y(e),
|
|
1014
1011
|
fieldValueToMatch: c ?? "",
|
|
1015
|
-
subtypeInfo:
|
|
1012
|
+
subtypeInfo: ee(s.layer),
|
|
1016
1013
|
fieldList: s.layerFieldsInfo
|
|
1017
1014
|
};
|
|
1018
|
-
l =
|
|
1015
|
+
l = te(f) ?? c;
|
|
1019
1016
|
}
|
|
1020
1017
|
return l ?? r.id;
|
|
1021
1018
|
}, ea = (t, e) => {
|
|
1022
|
-
if (
|
|
1023
|
-
|
|
1019
|
+
if (fe(e))
|
|
1020
|
+
Dt(t, e);
|
|
1024
1021
|
else {
|
|
1025
1022
|
e.orderOptions ??= {};
|
|
1026
1023
|
const i = e.orderOptions?.data?.orderType;
|
|
1027
|
-
|
|
1024
|
+
Z(e)[0] === J.customSort && i === b.Category && (e.orderOptions.data = {
|
|
1028
1025
|
orderType: b.Category,
|
|
1029
1026
|
orderBy: [...t]
|
|
1030
1027
|
});
|
|
1031
1028
|
}
|
|
1032
1029
|
}, ta = async (t, e) => {
|
|
1033
|
-
const i = k(t), s =
|
|
1030
|
+
const i = k(t), s = Te(t)?.type, a = se(t), r = W(t.series);
|
|
1034
1031
|
let o = [];
|
|
1035
|
-
return s ===
|
|
1032
|
+
return s === M.CategoryAxisFormat && (r === D.BarAndLineFromFields || i === U ? o = a.map((l) => I(e?.layerFieldsInfo, l)) : i.trim() !== "" && i !== U && e !== void 0 && (o = await gt({
|
|
1036
1033
|
layerInfo: e,
|
|
1037
1034
|
config: t,
|
|
1038
1035
|
category: i
|
|
1039
1036
|
}))), o;
|
|
1040
1037
|
};
|
|
1041
1038
|
function Rt(t, e, i) {
|
|
1042
|
-
const s =
|
|
1039
|
+
const s = ve(t, e, i), a = xt(t), r = $(t);
|
|
1043
1040
|
return s === a || r;
|
|
1044
1041
|
}
|
|
1045
1042
|
function $t(t, e, i) {
|
|
1046
|
-
const s =
|
|
1043
|
+
const s = Se({
|
|
1047
1044
|
config: t,
|
|
1048
1045
|
layerInfo: e,
|
|
1049
1046
|
commonStrings: i,
|
|
1050
|
-
numericFields:
|
|
1051
|
-
aggregationType:
|
|
1047
|
+
numericFields: se(t),
|
|
1048
|
+
aggregationType: Ce(t)
|
|
1052
1049
|
}), a = X(1, t), r = $(t);
|
|
1053
1050
|
return s === a || r;
|
|
1054
1051
|
}
|
|
@@ -1061,17 +1058,17 @@ function ia(t) {
|
|
|
1061
1058
|
}
|
|
1062
1059
|
function sa(t, e) {
|
|
1063
1060
|
e?.series.forEach((i) => {
|
|
1064
|
-
(i?.type ===
|
|
1065
|
-
unit:
|
|
1061
|
+
(i?.type === M.BarSeries || i?.type === M.LineSeries) && (i.binTemporalData = t, t ? i.temporalBinning = {
|
|
1062
|
+
unit: H.Day,
|
|
1066
1063
|
size: 0,
|
|
1067
|
-
timeAggregationType:
|
|
1064
|
+
timeAggregationType: we.Start,
|
|
1068
1065
|
trimIncompleteTimeInterval: !0,
|
|
1069
1066
|
nullPolicy: G.Null
|
|
1070
1067
|
} : delete i.temporalBinning);
|
|
1071
1068
|
});
|
|
1072
1069
|
}
|
|
1073
1070
|
export {
|
|
1074
|
-
|
|
1071
|
+
yt as $,
|
|
1075
1072
|
Ds as A,
|
|
1076
1073
|
Bs as B,
|
|
1077
1074
|
Cs as C,
|
|
@@ -1090,39 +1087,39 @@ export {
|
|
|
1090
1087
|
Xs as P,
|
|
1091
1088
|
ks as Q,
|
|
1092
1089
|
Ws as R,
|
|
1093
|
-
|
|
1094
|
-
|
|
1095
|
-
|
|
1096
|
-
|
|
1090
|
+
zs as S,
|
|
1091
|
+
Qs as T,
|
|
1092
|
+
Gs as U,
|
|
1093
|
+
Hs as V,
|
|
1097
1094
|
_s as W,
|
|
1098
1095
|
cs as X,
|
|
1099
|
-
|
|
1100
|
-
|
|
1101
|
-
|
|
1096
|
+
Te as Y,
|
|
1097
|
+
gt as Z,
|
|
1098
|
+
ft as _,
|
|
1102
1099
|
X as a,
|
|
1103
1100
|
As as a$,
|
|
1104
|
-
|
|
1105
|
-
|
|
1101
|
+
le as a0,
|
|
1102
|
+
qi as a1,
|
|
1106
1103
|
Ii as a2,
|
|
1107
1104
|
Li as a3,
|
|
1108
1105
|
Vi as a4,
|
|
1109
1106
|
Ni as a5,
|
|
1110
|
-
|
|
1107
|
+
Oi as a6,
|
|
1111
1108
|
wi as a7,
|
|
1112
1109
|
Di as a8,
|
|
1113
1110
|
Mi as a9,
|
|
1114
|
-
|
|
1111
|
+
bt as aA,
|
|
1115
1112
|
ys as aB,
|
|
1116
|
-
|
|
1113
|
+
Tt as aC,
|
|
1117
1114
|
gs as aD,
|
|
1118
|
-
|
|
1115
|
+
ht as aE,
|
|
1119
1116
|
fs as aF,
|
|
1120
|
-
|
|
1121
|
-
|
|
1117
|
+
At as aG,
|
|
1118
|
+
vt as aH,
|
|
1122
1119
|
ps as aI,
|
|
1123
1120
|
Ti as aJ,
|
|
1124
1121
|
Wi as aK,
|
|
1125
|
-
|
|
1122
|
+
zi as aL,
|
|
1126
1123
|
ss as aM,
|
|
1127
1124
|
hi as aN,
|
|
1128
1125
|
Ai as aO,
|
|
@@ -1139,21 +1136,21 @@ export {
|
|
|
1139
1136
|
rs as aZ,
|
|
1140
1137
|
os as a_,
|
|
1141
1138
|
Pi as aa,
|
|
1142
|
-
|
|
1139
|
+
St as ab,
|
|
1143
1140
|
Ei as ac,
|
|
1144
1141
|
Ri as ad,
|
|
1145
1142
|
$i as ae,
|
|
1146
1143
|
ms as af,
|
|
1147
|
-
|
|
1144
|
+
Bt as ag,
|
|
1148
1145
|
xs as ah,
|
|
1149
1146
|
Ss as ai,
|
|
1150
1147
|
ns as aj,
|
|
1151
1148
|
ls as ak,
|
|
1152
1149
|
ds as al,
|
|
1153
1150
|
us as am,
|
|
1154
|
-
|
|
1155
|
-
|
|
1156
|
-
|
|
1151
|
+
Qi as an,
|
|
1152
|
+
Gi as ao,
|
|
1153
|
+
Hi as ap,
|
|
1157
1154
|
Fi as aq,
|
|
1158
1155
|
bi as ar,
|
|
1159
1156
|
ki as as,
|
|
@@ -1162,36 +1159,36 @@ export {
|
|
|
1162
1159
|
ji as av,
|
|
1163
1160
|
Yi as aw,
|
|
1164
1161
|
Ki as ax,
|
|
1165
|
-
|
|
1166
|
-
|
|
1167
|
-
|
|
1162
|
+
Ft as ay,
|
|
1163
|
+
he as az,
|
|
1164
|
+
Se as b,
|
|
1168
1165
|
hs as b0,
|
|
1169
1166
|
Ts as b1,
|
|
1170
1167
|
Fs as b2,
|
|
1171
1168
|
bs as b3,
|
|
1172
|
-
|
|
1169
|
+
Ae as b4,
|
|
1173
1170
|
Zs as c,
|
|
1174
1171
|
Si as d,
|
|
1175
1172
|
xi as e,
|
|
1176
|
-
|
|
1177
|
-
|
|
1173
|
+
Z as f,
|
|
1174
|
+
xt as g,
|
|
1178
1175
|
ta as h,
|
|
1179
1176
|
mi as i,
|
|
1180
1177
|
ea as j,
|
|
1181
1178
|
ia as k,
|
|
1182
1179
|
sa as l,
|
|
1183
|
-
|
|
1180
|
+
Ce as m,
|
|
1184
1181
|
Y as n,
|
|
1185
|
-
|
|
1182
|
+
se as o,
|
|
1186
1183
|
Js as p,
|
|
1187
|
-
|
|
1184
|
+
ve as q,
|
|
1188
1185
|
Ot as r,
|
|
1189
1186
|
F as s,
|
|
1190
1187
|
vs as t,
|
|
1191
1188
|
j as u,
|
|
1192
|
-
|
|
1193
|
-
|
|
1189
|
+
wt as v,
|
|
1190
|
+
qs as w,
|
|
1194
1191
|
ws as x,
|
|
1195
|
-
|
|
1192
|
+
Os as y,
|
|
1196
1193
|
Ms as z
|
|
1197
1194
|
};
|