@arcgis/charts-components 5.0.0-next.91 → 5.0.0-next.93
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/{VMEPSBQU.js → 25NVRCT6.js} +2 -2
- package/dist/cdn/{T6HT4FAT.js → 2IXKMILJ.js} +2 -2
- package/dist/cdn/{JKFO2EOX.js → 2MSMGA2J.js} +2 -2
- package/dist/cdn/{7F7C3ZWS.js → 2NN7DTQI.js} +2 -2
- package/dist/cdn/{SC225Z7N.js → 3EJD4IXF.js} +2 -2
- package/dist/cdn/{T4CCIRIK.js → 3HMU3PVL.js} +2 -2
- package/dist/cdn/{SIJC45DX.js → 3HSFH7N2.js} +2 -2
- package/dist/cdn/{NZSGP452.js → 3KWO7E3K.js} +2 -2
- package/dist/cdn/{TVAB2XLM.js → 3MKEPXJ7.js} +2 -2
- package/dist/cdn/{FOZPPU4H.js → 3Z2QSCTV.js} +2 -2
- package/dist/cdn/{2TKYTFWD.js → 44YYFJKT.js} +2 -2
- package/dist/cdn/{UYLMI7VC.js → 4KFXWKQ6.js} +2 -2
- package/dist/cdn/{PPO4TBIM.js → 4LJ4JQJ7.js} +2 -2
- package/dist/cdn/4OGDPZU4.js +4 -0
- package/dist/cdn/{6FGDRS2Q.js → 4OQDLJ47.js} +2 -2
- package/dist/cdn/{UQ52P23G.js → 4Q36RWLW.js} +2 -2
- package/dist/cdn/{I5AVRL4O.js → 4RMWQX3V.js} +2 -2
- package/dist/cdn/{IN72YTIO.js → 4XHCRD2W.js} +2 -2
- package/dist/cdn/{L4I6QP2P.js → 5CJM57Q3.js} +2 -2
- package/dist/cdn/{D6WYIR67.js → 5EYMB54L.js} +2 -2
- package/dist/cdn/{CZZ3TOYN.js → 5FRU47KA.js} +2 -2
- package/dist/cdn/{2Q7TZTRR.js → 5KOCJLXO.js} +2 -2
- package/dist/cdn/{WIUBTXT3.js → 5NZMPRMC.js} +2 -2
- package/dist/cdn/{BQ653CTG.js → 5PJDTFKF.js} +2 -2
- package/dist/cdn/5W5OABAX.js +4 -0
- package/dist/cdn/{BVV4M3YP.js → 5XMAGN24.js} +2 -2
- package/dist/cdn/{KEENISPO.js → 5YCW374H.js} +2 -2
- package/dist/cdn/{TEQBMVA6.js → 5YH3BEGE.js} +2 -2
- package/dist/cdn/{JDSOO5CG.js → 6GTU6OIS.js} +2 -2
- package/dist/cdn/{OAXIOJHM.js → 6RFZ5GHL.js} +2 -2
- package/dist/cdn/{ACU4W5CO.js → 6UEXWTID.js} +2 -2
- package/dist/cdn/{52YZAURV.js → 6WV3HHL3.js} +2 -2
- package/dist/cdn/{UKA2OA26.js → 6ZBGSDBP.js} +2 -2
- package/dist/cdn/{2MWI4CIS.js → 77U5H6TC.js} +2 -2
- package/dist/cdn/{VF7W4ESG.js → 7N42OAF5.js} +2 -2
- package/dist/cdn/{MBLGRL64.js → 7RTYOWRE.js} +1 -1
- package/dist/cdn/{57IAECSW.js → 7VEIW6BO.js} +2 -2
- package/dist/cdn/{XSCA4NNH.js → 7YJ6DBB4.js} +2 -2
- package/dist/cdn/{OHYZQONU.js → A225XV4O.js} +2 -2
- package/dist/cdn/{VHBQG36W.js → A73DJHKG.js} +2 -2
- package/dist/cdn/A7BFPV6D.js +4 -0
- package/dist/cdn/{QK7UUPWF.js → ACP52WBE.js} +2 -2
- package/dist/cdn/{74ZVXYUW.js → AGBJUYQI.js} +2 -2
- package/dist/cdn/{AE47OBPF.js → B2BGJQNP.js} +2 -2
- package/dist/cdn/{ENA6BAVJ.js → BAHKLOWY.js} +2 -2
- package/dist/cdn/{YJMX4SIP.js → BTW3B5RQ.js} +2 -2
- package/dist/cdn/BTYDNDRO.js +4 -0
- package/dist/cdn/{FEMBZWZ4.js → CCCD7SQM.js} +2 -2
- package/dist/cdn/{S34KHWDC.js → CGY65CGB.js} +2 -2
- package/dist/cdn/{N5BDX2XX.js → CIKKQQIV.js} +1 -1
- package/dist/cdn/{TWFZFNGW.js → CRLH7XPB.js} +2 -2
- package/dist/cdn/{IYZ6IE6Y.js → CSKFAIL3.js} +2 -2
- package/dist/cdn/{FFVQD5TJ.js → D2PRTFSA.js} +2 -2
- package/dist/cdn/{PD7KYRRU.js → DEMM5Y74.js} +2 -2
- package/dist/cdn/{DJFY6MKZ.js → DNYRP3S2.js} +2 -2
- package/dist/cdn/{TUINCJSB.js → DV6XXDO5.js} +4 -4
- package/dist/cdn/{SHCOQ3ZY.js → DWM7CRT2.js} +2 -2
- package/dist/cdn/{SMRECMVE.js → EHRODA5M.js} +2 -2
- package/dist/cdn/{746F73WC.js → EJJA2CDN.js} +2 -2
- package/dist/cdn/{TINJQNR6.js → EPKFOC2Y.js} +2 -2
- package/dist/cdn/{GCNTTQNF.js → ET76CRZP.js} +2 -2
- package/dist/cdn/{4ENNXHQW.js → EXMRNG3S.js} +2 -2
- package/dist/cdn/{QUHOGIFV.js → F76XUZ25.js} +2 -2
- package/dist/cdn/{DXEZMMJF.js → FCALQILZ.js} +2 -2
- package/dist/cdn/{TGGHTJWC.js → FH4X2QLC.js} +1 -1
- package/dist/cdn/{Q2MA2UGY.js → FIAAFHXU.js} +2 -2
- package/dist/cdn/{VI6CYSMA.js → FK4IRDPX.js} +2 -2
- package/dist/cdn/{EJMTVKBR.js → FN5637J3.js} +2 -2
- package/dist/cdn/{7AWMPCKF.js → FSDWXW4O.js} +2 -2
- package/dist/cdn/{GZO2YG2N.js → FSYRFW3I.js} +2 -2
- package/dist/cdn/{5KGN3VAK.js → FTK47RG3.js} +2 -2
- package/dist/cdn/{OGT6X6AI.js → FZGEGRKZ.js} +2 -2
- package/dist/cdn/{IG6ETR3Z.js → GAIQQUOT.js} +2 -2
- package/dist/cdn/{H3OI365G.js → GCKF33T7.js} +2 -2
- package/dist/cdn/{BQP663KL.js → GH7OQ4OD.js} +2 -2
- package/dist/cdn/{QTZACBZE.js → GHWIHXXL.js} +2 -2
- package/dist/cdn/{NCWEAW7P.js → GTIREMJ6.js} +2 -2
- package/dist/cdn/{TK7BYOQU.js → GUHM7HZH.js} +2 -2
- package/dist/cdn/{OJNUFGPO.js → GXHJSEQS.js} +2 -2
- package/dist/cdn/{SUNRYKMM.js → HFTFS2QM.js} +2 -2
- package/dist/cdn/{NYWNQDR7.js → HNJVNSXX.js} +2 -2
- package/dist/cdn/{7OUVJ5BC.js → HYBT33ME.js} +2 -2
- package/dist/cdn/{OSKFPBVQ.js → I3IFVDAK.js} +2 -2
- package/dist/cdn/{SIZ3XXMV.js → IDZVHCFR.js} +2 -2
- package/dist/cdn/{3FAG4WR4.js → IE33YJON.js} +2 -2
- package/dist/cdn/{7SG6BYU6.js → IEIXE3OQ.js} +2 -2
- package/dist/cdn/{IU6L73I3.js → IJS45TBY.js} +2 -2
- package/dist/cdn/{A2ME7CP2.js → IRLBAZYM.js} +2 -2
- package/dist/cdn/{4YD3DM7B.js → ISXWM2OK.js} +2 -2
- package/dist/cdn/{I5KCY44G.js → IT67OUEE.js} +2 -2
- package/dist/cdn/{YXG2RWCO.js → IZMWTHFC.js} +2 -2
- package/dist/cdn/{4JLUPZQZ.js → J6NHMZ3R.js} +2 -2
- package/dist/cdn/{7G22NYHQ.js → JJXE7GKV.js} +2 -2
- package/dist/cdn/{Z6R6AP6J.js → JK3JVA5A.js} +2 -2
- package/dist/cdn/{KICFZEZR.js → JLPIXSYU.js} +2 -2
- package/dist/cdn/{SUEKRFAO.js → JSXDDBVL.js} +4 -4
- package/dist/cdn/{DTPUXCPG.js → JW5YMLJT.js} +2 -2
- package/dist/cdn/{JTYHXZMQ.js → JWIKRNCB.js} +2 -2
- package/dist/cdn/{JXT7VL2Q.js → JXHDBPT6.js} +2 -2
- package/dist/cdn/{VPOXYUKT.js → KAZ5P7A3.js} +2 -2
- package/dist/cdn/{HHL4LHRW.js → KE3DDQR4.js} +2 -2
- package/dist/cdn/{QPLESBEI.js → KIUVQGAD.js} +2 -2
- package/dist/cdn/{PIYIEOTZ.js → L65P7HWG.js} +2 -2
- package/dist/cdn/{ADLV7CMM.js → LAJJTOOI.js} +2 -2
- package/dist/cdn/{3AHAK2VA.js → LWJ3KNGH.js} +2 -2
- package/dist/cdn/{XAJ7BBXI.js → MGS63JHV.js} +2 -2
- package/dist/cdn/{FTC53IVN.js → MH7W3VD7.js} +2 -2
- package/dist/cdn/{QKFKAA35.js → MHA5ADHY.js} +2 -2
- package/dist/cdn/{7XZWBZOH.js → MHRLFRCI.js} +2 -2
- package/dist/cdn/{VY4YKIIQ.js → MKLPOMZL.js} +2 -2
- package/dist/cdn/{5YPSFRJG.js → MRIC23VP.js} +2 -2
- package/dist/cdn/{OAOR3NI5.js → NEPHLRES.js} +2 -2
- package/dist/cdn/{6O5FSW2A.js → NLXHEPHE.js} +2 -2
- package/dist/cdn/{C2J6C2P5.js → NX4ZYQKI.js} +2 -2
- package/dist/cdn/{WZNKEKV4.js → O2IDJNIQ.js} +2 -2
- package/dist/cdn/{TFJF63KL.js → OH5N5A25.js} +2 -2
- package/dist/cdn/{5RQL5YBX.js → OI5LIKMK.js} +2 -2
- package/dist/cdn/{YD2CL3ZK.js → P7Q7VGOV.js} +2 -2
- package/dist/cdn/PASITS4S.js +4 -0
- package/dist/cdn/{ADS3FZOB.js → PXPZ52KW.js} +2 -2
- package/dist/cdn/{M4RLF6ZY.js → PZMWBEQD.js} +2 -2
- package/dist/cdn/{KLGLYEJJ.js → QBDHQMBT.js} +2 -2
- package/dist/cdn/{3TUHMDGM.js → QDIN3724.js} +1 -1
- package/dist/cdn/{ILHX5MVR.js → QQYVRX5O.js} +1 -1
- package/dist/cdn/{GP3GRCA5.js → R3ARFK7U.js} +1 -1
- package/dist/cdn/{2GF4KQZC.js → R4XPHEQA.js} +1 -1
- package/dist/cdn/{ZK7NTLVD.js → RLBG4KL3.js} +2 -2
- package/dist/cdn/{LYK24PWV.js → S44EDX7K.js} +2 -2
- package/dist/cdn/{25NTCRVU.js → SHRPD3BH.js} +2 -2
- package/dist/cdn/{44XTCPG3.js → SIHY4ZJT.js} +2 -2
- package/dist/cdn/{5ZFLKL2D.js → SNMRFKE4.js} +2 -2
- package/dist/cdn/{XZMVXWSM.js → SP5BCW6D.js} +2 -2
- package/dist/cdn/{N2WMAMNO.js → SPCKOH4U.js} +2 -2
- package/dist/cdn/{T23QZPVB.js → SWLLI4I6.js} +2 -2
- package/dist/cdn/{BLXAGOF5.js → SZEDL76Q.js} +2 -2
- package/dist/cdn/{SE7NN54K.js → TON755AO.js} +2 -2
- package/dist/cdn/{6KEWPULW.js → TROW2MMR.js} +2 -2
- package/dist/cdn/{AZIMD6YS.js → TZXRKTSQ.js} +2 -2
- package/dist/cdn/{P6BSGMG2.js → U4M7M63Y.js} +2 -2
- package/dist/cdn/{QMD3XNZD.js → UAPNXZFH.js} +2 -2
- package/dist/cdn/{OOOBDTCN.js → UCQCQCRT.js} +2 -2
- package/dist/cdn/{CSHEGJX7.js → UKIVUV46.js} +2 -2
- package/dist/cdn/{KLBYHBL4.js → ULM7PJN3.js} +2 -2
- package/dist/cdn/{K66S232V.js → UUSGQX34.js} +2 -2
- package/dist/cdn/{BFD2YEBK.js → UYCAKFS5.js} +2 -2
- package/dist/cdn/{VBK3AKYZ.js → UZ2IKZEE.js} +2 -2
- package/dist/cdn/{PTVBKTAJ.js → V2BTZTTF.js} +2 -2
- package/dist/cdn/{OIOQPTNS.js → V2DPDVG2.js} +2 -2
- package/dist/cdn/{ARJIJJUZ.js → VEAH7EOT.js} +2 -2
- package/dist/cdn/{K63WLRMW.js → VKKYYLX7.js} +2 -2
- package/dist/cdn/{HYQDLBZV.js → VKLQAILN.js} +2 -2
- package/dist/cdn/{3AD3O4F3.js → VN2NYXC5.js} +2 -2
- package/dist/cdn/{BK3K6LCW.js → VQ64OCX7.js} +2 -2
- package/dist/cdn/{7RMKX24B.js → VTSGZ4ND.js} +2 -2
- package/dist/cdn/{FJNU33XH.js → VVIT3L65.js} +2 -2
- package/dist/cdn/{Q7YHRPGS.js → WAZU2WPD.js} +2 -2
- package/dist/cdn/{VASRWU2R.js → WOFAT6UF.js} +2 -2
- package/dist/cdn/{6PIFXC4F.js → WRI5TFQC.js} +2 -2
- package/dist/cdn/{5DXUILOW.js → X7AMREMG.js} +1 -1
- package/dist/cdn/{5KDURKRJ.js → X7EUF4HO.js} +2 -2
- package/dist/cdn/{NL7WPCID.js → XFMYRFQI.js} +2 -2
- package/dist/cdn/{GY5JANYQ.js → XXJAOJ7R.js} +2 -2
- package/dist/cdn/{5MG4PTO3.js → Y3E37OLZ.js} +2 -2
- package/dist/cdn/{EMNBNQBJ.js → YAYYVHLA.js} +2 -2
- package/dist/cdn/YBU2OWH6.js +4 -0
- package/dist/cdn/{6UU7PSML.js → YBZDUPL2.js} +2 -2
- package/dist/cdn/{JY2GWIBZ.js → YUCNN7WQ.js} +2 -2
- package/dist/cdn/{RX3U5XOH.js → YXXUBCXK.js} +2 -2
- package/dist/cdn/{LX4S3BK4.js → Z5AKM2PE.js} +2 -2
- package/dist/cdn/{YRSMUW6A.js → Z7FX5SJM.js} +2 -2
- package/dist/cdn/{25P5VILT.js → ZGRD4WOV.js} +2 -2
- package/dist/cdn/{UCWZ7Z2F.js → ZIWU65CX.js} +26 -26
- package/dist/cdn/ZNNYQFJJ.js +4 -0
- 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 +10 -10
- package/dist/chunks/axis-model-wrapper.js +1 -1
- package/dist/chunks/bar-chart-model.js +2 -2
- 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 +27 -27
- package/dist/chunks/box-plot-model.js +2 -2
- package/dist/chunks/chart-ui-utils.js +1 -1
- package/dist/chunks/chart-ui-utils2.js +16 -16
- package/dist/chunks/combo-bar-line-chart-model.js +2 -2
- package/dist/chunks/common.js +1 -1
- package/dist/chunks/data.js +58 -58
- package/dist/chunks/default.js +1 -1
- package/dist/chunks/gauge-model.js +11 -11
- package/dist/chunks/heat-chart-model.js +9 -9
- package/dist/chunks/histogram-data.js +2 -2
- package/dist/chunks/histogram-model.js +8 -8
- package/dist/chunks/index.js +2872 -2822
- 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 +9 -9
- package/dist/chunks/model-with-multi-axes.js +536 -467
- package/dist/chunks/pie-chart-data.js +22 -22
- package/dist/chunks/pie-chart-model.js +250 -191
- package/dist/chunks/popover-ui-utils.js +1 -1
- package/dist/chunks/radar-chart-model.js +5 -5
- package/dist/chunks/resource.js +4 -4
- package/dist/chunks/rest-js-object-literals.js +1 -1
- package/dist/chunks/runtime.js +1 -1
- package/dist/chunks/scatterplot-model.js +20 -20
- package/dist/chunks/serial-chart-data.js +393 -381
- package/dist/chunks/serial-chart-model.js +2 -2
- 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 +76 -44
- package/dist/chunks/useT9n.js +1 -1
- package/dist/chunks/web-component-utils.js +55 -55
- package/dist/components/arcgis-chart/customElement.d.ts +7 -0
- package/dist/components/arcgis-chart/customElement.js +5144 -4959
- package/dist/components/arcgis-charts-action-bar/customElement.js +2 -2
- 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 +2 -2
- package/dist/components/arcgis-charts-config-bar-chart-data/customElement.js +10 -10
- package/dist/components/arcgis-charts-config-bar-chart-popover/customElement.js +13 -13
- package/dist/components/arcgis-charts-config-bar-chart-series/customElement.js +6 -6
- package/dist/components/arcgis-charts-config-bar-chart-series-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-box-plot/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-box-plot-data/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-box-plot-popover/customElement.js +6 -6
- package/dist/components/arcgis-charts-config-box-plot-series/customElement.js +2 -2
- 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 +11 -11
- package/dist/components/arcgis-charts-config-field-select/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-font-style/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-format/customElement.js +10 -10
- package/dist/components/arcgis-charts-config-format-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-general/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-guide/customElement.js +16 -16
- package/dist/components/arcgis-charts-config-guide-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-guides/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-guides-type-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-histogram/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-histogram-data/customElement.js +5 -5
- package/dist/components/arcgis-charts-config-histogram-popover/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-invalid-input-message/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-line-chart/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-line-chart-data/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-line-chart-popover/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-line-chart-series/customElement.js +2 -2
- 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 +2 -2
- package/dist/components/arcgis-charts-config-pie-chart-data/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-pie-chart-popover/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-pie-chart-slices/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-pie-chart-slices-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-scatter-plot/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-scatter-plot-data/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-scatter-plot-popover/customElement.js +2 -2
- 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 +31 -2
- package/dist/docs/docs.json +24 -2
- package/dist/docs/vscode.html-custom-data.json +5 -0
- package/dist/docs/web-types.json +14 -1
- package/dist/index.js +406 -396
- package/dist/loader.js +2 -2
- package/dist/model/mixins/model-with-basic-x-axis.d.ts +5 -0
- package/dist/model/mixins/model-with-multi-axes.d.ts +27 -1
- package/dist/model/mixins/utils/axes.d.ts +29 -1
- package/dist/model/mixins/utils/guides.d.ts +2 -0
- package/dist/model/pie-chart-model/pie-chart-legend-model.d.ts +12 -1
- package/dist/model/pie-chart-model/pie-chart-model.d.ts +18 -0
- package/dist/model/pie-chart-model/utils/pie-chart-legend.d.ts +13 -1
- package/dist/model/pie-chart-model/utils/pie-chart-series.d.ts +26 -0
- package/dist/model/shared/type-guards.d.ts +44 -3
- package/dist/model.js +36 -28
- package/dist/types/lumina.d.ts +1 -1
- package/dist/types/preact.d.ts +1 -1
- package/dist/types/preact10.d.ts +1 -1
- package/dist/types/react.d.ts +1 -1
- package/dist/types/stencil.d.ts +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/components/themes.d.ts +133 -0
- package/dist/utils/defaults/index.d.ts +5 -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/3LBMQGIY.js +0 -4
- package/dist/cdn/BVEKDMZC.js +0 -4
- package/dist/cdn/DQUWDUMB.js +0 -4
- package/dist/cdn/FFYG7H7E.js +0 -4
- package/dist/cdn/JJGHWM6E.js +0 -4
- package/dist/cdn/MMWPMPL6.js +0 -4
- package/dist/cdn/POGYX3EV.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 h, u as de, W as M, d as G, t as T, m as Q, n as we, i as _ } from "./series-types.js";
|
|
4
4
|
import "d3-array";
|
|
5
|
-
import {
|
|
5
|
+
import { bN as De, ce as ue, bO as ee, ah as ye, bP as te, c_ as Me, l as Y, db as Pe, aK as H, cS as Ee, br as ge, cW as V, aI as I, aG as L, bB as F, b0 as Re, aJ as ke, r as N, U as $e, V as Xe, cF as je, p as K, dd as D, k as Ue, cD as We, bJ as Ye, bV as Ke, an as ze, q as Ge, dj as Qe, cz as _e, dk as ae, ca as He, c6 as Je, _ as k, df as fe, m as Ze, b as j, bM as et, b3 as tt, b4 as it, b6 as st, bL as re, aL as at, aM 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 B } 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
|
|
28
|
-
import { c as
|
|
27
|
+
import { b as $, 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.93 */
|
|
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) => Y({ 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,
|
|
@@ -111,48 +111,48 @@ async function yt(t) {
|
|
|
111
111
|
})
|
|
112
112
|
);
|
|
113
113
|
}
|
|
114
|
-
function
|
|
114
|
+
function U(t, e, i) {
|
|
115
115
|
const s = t?.axes?.[e];
|
|
116
|
-
s?.title !== void 0 ? s.title.content.text = i : s !== void 0 && (s.title =
|
|
116
|
+
s?.title !== void 0 ? s.title.content.text = i : s !== void 0 && (s.title = I({
|
|
117
117
|
text: i,
|
|
118
118
|
visible: !0,
|
|
119
|
-
font:
|
|
119
|
+
font: L(F.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
|
-
const c =
|
|
132
|
-
r ===
|
|
131
|
+
const c = V(i.layerFieldsInfo, a[0]);
|
|
132
|
+
r === h.NoAggregation ? o = c : r === h.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 ===
|
|
136
|
+
} else a.length > 1 && (r === h.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 be = (t, e, i) => t.axes?.[e] ?? Re(i, t.type)[e], Fe = (t) => {
|
|
143
143
|
const { config: e, axis: i, axisIndex: s } = t;
|
|
144
144
|
e.axes !== void 0 && (e.axes[s] = i);
|
|
145
|
-
},
|
|
145
|
+
}, bi = (t) => {
|
|
146
146
|
const { config: e, axisIndex: i, isMax: s } = t;
|
|
147
147
|
let a = Number.NaN;
|
|
148
148
|
return s ? a = e.axes?.[i]?.maximum : a = e.axes?.[i]?.minimum, a ?? Number.NaN;
|
|
149
|
-
},
|
|
149
|
+
}, b = (t) => {
|
|
150
150
|
const { config: e, value: i, axisIndex: s, isMax: a } = t, r = e?.axes?.[s];
|
|
151
151
|
r !== void 0 && (a ? r.maximum = i : r.minimum = i);
|
|
152
|
-
},
|
|
153
|
-
|
|
154
|
-
},
|
|
155
|
-
const s =
|
|
152
|
+
}, Fi = (t, e) => {
|
|
153
|
+
b({ config: t, value: e, axisIndex: 0, isMax: !1 });
|
|
154
|
+
}, Te = (t) => t.axes?.[0]?.valueFormat ?? H(), ft = (t, e, i) => {
|
|
155
|
+
const s = be(t, 0, e);
|
|
156
156
|
if (s !== void 0 && i !== void 0) {
|
|
157
157
|
const a = {
|
|
158
158
|
...s,
|
|
@@ -160,25 +160,25 @@ const Se = (t, e, i) => t.axes?.[e] ?? Ee(i, t.type)[e], Fe = (t) => {
|
|
|
160
160
|
};
|
|
161
161
|
Fe({ 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 &&
|
|
180
|
-
},
|
|
181
|
-
const { config: e, commonStrings: i, valueFormat: s, axisIndex: a = 0 } = t, r =
|
|
179
|
+
return (t === 0 || t >= 1 && lt(s)) && (i = s), i;
|
|
180
|
+
}, vi = (t) => {
|
|
181
|
+
const { config: e, commonStrings: i, valueFormat: s, axisIndex: a = 0 } = t, r = be(e, a, i);
|
|
182
182
|
if (r !== void 0 && s !== void 0) {
|
|
183
183
|
const o = {
|
|
184
184
|
...r,
|
|
@@ -190,130 +190,141 @@ const Se = (t, e, i) => t.axes?.[e] ?? Ee(i, t.type)[e], Fe = (t) => {
|
|
|
190
190
|
axisIndex: a
|
|
191
191
|
});
|
|
192
192
|
}
|
|
193
|
-
},
|
|
193
|
+
}, Ai = (t, e) => t.axes?.[e]?.isLogarithmic ?? !1, Bi = (t) => {
|
|
194
194
|
const { config: e, isLogarithmic: i, axisIndex: s } = t, a = e.axes?.[s];
|
|
195
|
-
a && (a.isLogarithmic = i,
|
|
195
|
+
a && (a.isLogarithmic = i, b({ config: e, value: null, axisIndex: s, isMax: !0 }), b({ config: e, value: null, axisIndex: s, isMax: !1 }));
|
|
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,
|
|
200
|
-
e.title !== void 0 ? e.title.content.text = t : e.title === void 0 && t !== void 0 && (e.title =
|
|
199
|
+
}, Ii = (t) => t.version, xt = (t) => t.title?.content.text ?? "", Li = (t, e) => {
|
|
200
|
+
e.title !== void 0 ? e.title.content.text = t : e.title === void 0 && t !== void 0 && (e.title = I({
|
|
201
201
|
text: t,
|
|
202
202
|
visible: !0,
|
|
203
|
-
font:
|
|
203
|
+
font: L(F.ChartTitle)
|
|
204
204
|
}));
|
|
205
205
|
}, Vi = (t) => t.subtitle?.content.text ?? "", Ni = (t, e) => {
|
|
206
|
-
e.subtitle !== void 0 ? e.subtitle.content.text = t : e.subtitle === void 0 && t !== void 0 && (e.subtitle =
|
|
206
|
+
e.subtitle !== void 0 ? e.subtitle.content.text = t : e.subtitle === void 0 && t !== void 0 && (e.subtitle = I({
|
|
207
207
|
text: t,
|
|
208
208
|
visible: !0,
|
|
209
|
-
font:
|
|
209
|
+
font: L(F.ChartSubtitle)
|
|
210
210
|
}));
|
|
211
|
-
},
|
|
212
|
-
e.footer !== void 0 ? e.footer.content.text = t : e.footer === void 0 && t !== void 0 && (e.footer =
|
|
211
|
+
}, qi = (t) => t.footer?.content.text ?? "", Oi = (t, e) => {
|
|
212
|
+
e.footer !== void 0 ? e.footer.content.text = t : e.footer === void 0 && t !== void 0 && (e.footer = I({
|
|
213
213
|
text: t,
|
|
214
214
|
visible: !0,
|
|
215
|
-
font:
|
|
215
|
+
font: L(F.DescriptionText)
|
|
216
216
|
}));
|
|
217
217
|
}, wi = (t) => t.title ? t.title.visible ?? !0 : !1, Di = (t, e) => {
|
|
218
|
-
e.title !== void 0 ? e.title.visible = t : e.title === void 0 && (e.title =
|
|
218
|
+
e.title !== void 0 ? e.title.visible = t : e.title === void 0 && (e.title = I({
|
|
219
219
|
text: "",
|
|
220
220
|
visible: t,
|
|
221
|
-
font:
|
|
221
|
+
font: L(F.ChartTitle)
|
|
222
222
|
}));
|
|
223
223
|
}, Mi = (t) => t.subtitle ? t.subtitle.visible ?? !0 : !1, Pi = (t, e) => {
|
|
224
|
-
e.subtitle !== void 0 ? e.subtitle.visible = t : e.subtitle === void 0 && (e.subtitle =
|
|
224
|
+
e.subtitle !== void 0 ? e.subtitle.visible = t : e.subtitle === void 0 && (e.subtitle = I({
|
|
225
225
|
text: "",
|
|
226
226
|
visible: t,
|
|
227
|
-
font:
|
|
227
|
+
font: L(F.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 = I({
|
|
231
231
|
text: "",
|
|
232
232
|
visible: !0,
|
|
233
|
-
font:
|
|
233
|
+
font: L(F.DescriptionText)
|
|
234
234
|
}));
|
|
235
|
-
}, Ri = (t) => t.chartRenderer,
|
|
235
|
+
}, Ri = (t) => t.chartRenderer, ki = (t, e) => {
|
|
236
236
|
e.chartRenderer = t;
|
|
237
|
-
},
|
|
237
|
+
}, $i = (t, e) => t.axes?.[e]?.title?.content, Xi = (t) => {
|
|
238
238
|
const { config: e, axisIndex: i, symbol: s } = t, a = e.axes?.[i];
|
|
239
239
|
if (a !== void 0) {
|
|
240
240
|
const r = a.title?.content.text;
|
|
241
|
-
(a.title === void 0 || s === void 0) && (a.title =
|
|
241
|
+
(a.title === void 0 || s === void 0) && (a.title = I({
|
|
242
242
|
text: "",
|
|
243
243
|
visible: !0,
|
|
244
|
-
font:
|
|
245
|
-
type:
|
|
244
|
+
font: L(F.AxisTitle),
|
|
245
|
+
type: F.AxisTitle
|
|
246
246
|
})), s !== void 0 && (a.title.content = s), a.title.content.text = r;
|
|
247
247
|
}
|
|
248
|
-
},
|
|
248
|
+
}, ji = (t) => {
|
|
249
249
|
for (const e of t.axes ?? [])
|
|
250
250
|
if (e?.labels !== void 0)
|
|
251
251
|
return e.labels.content;
|
|
252
|
-
},
|
|
252
|
+
}, Ui = (t, e) => {
|
|
253
253
|
for (const i of e.axes ?? [])
|
|
254
254
|
if (i !== void 0) {
|
|
255
255
|
const s = i.labels?.content.text;
|
|
256
|
-
t === void 0 ? i.labels =
|
|
256
|
+
t === void 0 ? i.labels = I({
|
|
257
257
|
text: "",
|
|
258
258
|
visible: !0,
|
|
259
|
-
font:
|
|
260
|
-
type:
|
|
259
|
+
font: L(F.AxisLabels),
|
|
260
|
+
type: F.AxisLabels
|
|
261
261
|
}) : i.labels.content = R(t), i.labels.content.text = s;
|
|
262
262
|
}
|
|
263
|
-
},
|
|
263
|
+
}, Wi = (t) => {
|
|
264
264
|
for (const e of t.axes ?? [])
|
|
265
265
|
if (e?.lineSymbol !== void 0)
|
|
266
266
|
return e.lineSymbol;
|
|
267
|
-
},
|
|
267
|
+
}, Yi = (t, e) => {
|
|
268
268
|
for (const i of e.axes ?? [])
|
|
269
|
-
i !== void 0 && (i.lineSymbol = R(t) ??
|
|
270
|
-
},
|
|
269
|
+
i !== void 0 && (i.lineSymbol = R(t) ?? ke());
|
|
270
|
+
}, Ki = (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 ?? "", Gi = (t, e, i) => {
|
|
280
280
|
const s = i.axes?.[e];
|
|
281
|
-
s?.title !== void 0 ? s.title.content.text = t : s !== void 0 && s?.title === void 0 && (s.title =
|
|
281
|
+
s?.title !== void 0 ? s.title.content.text = t : s !== void 0 && s?.title === void 0 && (s.title = I({
|
|
282
282
|
text: t,
|
|
283
283
|
visible: !0,
|
|
284
|
-
font:
|
|
284
|
+
font: L(F.AxisTitle)
|
|
285
|
+
}));
|
|
286
|
+
}, Qi = (t, e) => e.axes?.[t]?.visible ?? !0, _i = (t, e, i) => {
|
|
287
|
+
const s = i.axes?.[e];
|
|
288
|
+
s !== void 0 && (s.visible = t);
|
|
289
|
+
}, Hi = (t, e) => e.axes?.[t]?.labels?.visible ?? !0, Ji = (t, e, i) => {
|
|
290
|
+
const s = i.axes?.[e];
|
|
291
|
+
s?.labels !== void 0 ? s.labels.visible = t : s !== void 0 && s?.labels === void 0 && (s.labels = I({
|
|
292
|
+
text: "",
|
|
293
|
+
visible: t,
|
|
294
|
+
font: L(F.AxisLabels),
|
|
295
|
+
type: F.AxisLabels
|
|
285
296
|
}));
|
|
286
|
-
},
|
|
297
|
+
}, Zi = (t, e) => e.axes?.[t]?.title?.visible ?? !1, es = (t, e, i) => {
|
|
287
298
|
const s = i.axes?.[e];
|
|
288
|
-
s?.title !== void 0 ? s.title.visible = t : s !== void 0 && s?.title === void 0 && (s.title =
|
|
299
|
+
s?.title !== void 0 ? s.title.visible = t : s !== void 0 && s?.title === void 0 && (s.title = I({
|
|
289
300
|
text: X(e, i),
|
|
290
301
|
visible: t,
|
|
291
|
-
font:
|
|
302
|
+
font: L(F.AxisTitle)
|
|
292
303
|
}));
|
|
293
|
-
},
|
|
304
|
+
}, ts = (t, e) => t.axes?.[e]?.displayZeroLine ?? !1, is = (t, e, i) => {
|
|
294
305
|
t.axes?.[i] !== void 0 && (t.axes[i].displayZeroLine = e);
|
|
295
|
-
},
|
|
306
|
+
}, ss = (t, e) => t.axes?.[e]?.displayCursorTooltip ?? !1, as = (t) => {
|
|
296
307
|
const { config: e, displayCursorTooltip: i, axisIndex: s } = t;
|
|
297
308
|
e.axes?.[s] !== void 0 && (e.axes[s].displayCursorTooltip = i);
|
|
298
|
-
},
|
|
309
|
+
}, rs = (t, e) => t.axes?.[e]?.buffer ?? !1, os = (t) => {
|
|
299
310
|
const { config: e, buffer: i, axisIndex: s } = t, a = e.axes?.[s];
|
|
300
311
|
a !== void 0 && (a.buffer = i);
|
|
301
|
-
},
|
|
312
|
+
}, ls = (t, e) => t.axes?.[e]?.tickSpacing, ns = (t) => {
|
|
302
313
|
const { config: e, tickSpacing: i, axisIndex: s } = t;
|
|
303
314
|
e.axes?.[s] !== void 0 && (e.axes[s].tickSpacing = i);
|
|
304
|
-
},
|
|
315
|
+
}, cs = (t, e) => t.axes?.[e]?.integerOnlyValues ?? !1, ds = (t) => {
|
|
305
316
|
const { config: e, integerOnlyValues: i, axisIndex: s } = t;
|
|
306
317
|
e.axes?.[s] !== void 0 && (e.axes[s].integerOnlyValues = i);
|
|
307
|
-
},
|
|
318
|
+
}, us = (t, e) => {
|
|
308
319
|
e.series.forEach((i) => {
|
|
309
320
|
i.query && (i.query.fetchNullValues = t);
|
|
310
321
|
});
|
|
311
|
-
},
|
|
322
|
+
}, ys = (t) => t.series.some((e) => e.query?.fetchNullValues), gs = (t) => (
|
|
312
323
|
// TODO: Look into split-by values gotchas cases once done
|
|
313
|
-
t.series.map((e) => String(
|
|
314
|
-
),
|
|
324
|
+
t.series.map((e) => String(Y({ where: e.query?.where }))).filter((e) => e !== void 0 && e.trim() !== "")
|
|
325
|
+
), fs = (t) => t.dataFilters, ps = (t, e) => {
|
|
315
326
|
t !== void 0 ? e.dataFilters = t : delete e.dataFilters;
|
|
316
|
-
},
|
|
327
|
+
}, bt = (t) => {
|
|
317
328
|
let e;
|
|
318
329
|
const i = t.series[0];
|
|
319
330
|
return N(i) && (e = i.temporalBinning?.size), e;
|
|
@@ -321,69 +332,69 @@ const Se = (t, e, i) => t.axes?.[e] ?? Ee(i, t.type)[e], Fe = (t) => {
|
|
|
321
332
|
let e;
|
|
322
333
|
const i = t.series[0];
|
|
323
334
|
return N(i) && (e = i.temporalBinning?.unit), e;
|
|
324
|
-
},
|
|
335
|
+
}, Tt = (t) => {
|
|
325
336
|
let e;
|
|
326
337
|
const i = t.series[0];
|
|
327
338
|
return N(i) && (e = i.temporalBinning?.timeAggregationType), e;
|
|
328
|
-
},
|
|
339
|
+
}, ht = (t) => {
|
|
329
340
|
let e;
|
|
330
341
|
const i = t.series[0];
|
|
331
342
|
return N(i) && (e = i.temporalBinning?.trimIncompleteTimeInterval), e;
|
|
332
|
-
},
|
|
343
|
+
}, vt = (t) => {
|
|
333
344
|
let e;
|
|
334
345
|
const i = t.series[0];
|
|
335
346
|
return N(i) && (e = i.temporalBinning?.nullPolicy), e;
|
|
336
|
-
},
|
|
347
|
+
}, he = (t, e) => {
|
|
337
348
|
e?.series?.forEach((i) => {
|
|
338
349
|
N(i) && (i.temporalBinning ??= {}, i.temporalBinning.size = t);
|
|
339
|
-
}),
|
|
350
|
+
}), b({ config: e, value: null, axisIndex: 1, isMax: !1 }), b({ config: e, value: null, axisIndex: 1, isMax: !0 });
|
|
340
351
|
}, At = (t, e) => {
|
|
341
352
|
e?.series?.forEach((i) => {
|
|
342
353
|
N(i) && (i.temporalBinning ??= {}, i.temporalBinning.nullPolicy = t);
|
|
343
|
-
}),
|
|
344
|
-
},
|
|
354
|
+
}), b({ config: e, value: null, axisIndex: 1, isMax: !1 }), b({ config: e, value: null, axisIndex: 1, isMax: !0 });
|
|
355
|
+
}, ms = (t, e) => {
|
|
345
356
|
e.series?.forEach((i) => {
|
|
346
357
|
N(i) && (i.temporalBinning ??= {}, i.temporalBinning.unit = t);
|
|
347
|
-
}),
|
|
348
|
-
},
|
|
358
|
+
}), b({ config: e, value: null, axisIndex: 1, isMax: !1 }), b({ config: e, value: null, axisIndex: 1, isMax: !0 });
|
|
359
|
+
}, xs = (t, e) => {
|
|
349
360
|
e.series?.forEach((i) => {
|
|
350
361
|
N(i) && (i.temporalBinning ??= {}, i.temporalBinning.timeAggregationType = t);
|
|
351
|
-
}),
|
|
352
|
-
},
|
|
362
|
+
}), b({ config: e, value: null, axisIndex: 1, isMax: !1 }), b({ config: e, value: null, axisIndex: 1, isMax: !0 });
|
|
363
|
+
}, Ss = (t, e) => {
|
|
353
364
|
e.series?.forEach((i) => {
|
|
354
365
|
N(i) && (i.temporalBinning ??= {}, i.temporalBinning.trimIncompleteTimeInterval = t);
|
|
355
|
-
}),
|
|
356
|
-
},
|
|
357
|
-
|
|
358
|
-
},
|
|
359
|
-
function
|
|
366
|
+
}), b({ config: e, value: null, axisIndex: 1, isMax: !1 }), b({ config: e, value: null, axisIndex: 1, isMax: !0 });
|
|
367
|
+
}, bs = (t) => {
|
|
368
|
+
he(0, t);
|
|
369
|
+
}, Bt = (t) => t.series.length ?? 0, Fs = (t, e) => e.series[t].visible ?? !0;
|
|
370
|
+
function Ts(t, e) {
|
|
360
371
|
let i;
|
|
361
372
|
return t.length !== 0 && e < t.length && (i = t[e].dataTooltipValueFormat), i;
|
|
362
373
|
}
|
|
363
|
-
function
|
|
374
|
+
function hs(t) {
|
|
364
375
|
const { series: e, seriesIndex: i, valueFormat: s } = t;
|
|
365
376
|
e.length !== 0 && i < e.length && (e[i].dataTooltipValueFormat = s);
|
|
366
377
|
}
|
|
367
|
-
function
|
|
378
|
+
function vs(t, e) {
|
|
368
379
|
let i;
|
|
369
380
|
return e !== void 0 && (i = { ...e }, i.legend !== void 0 && (i.legend.position = t)), i;
|
|
370
381
|
}
|
|
371
|
-
function
|
|
382
|
+
function As(t, e) {
|
|
372
383
|
let i;
|
|
373
384
|
return e !== void 0 && (i = { ...e }, i.legend !== void 0 && (i.legend.visible = t)), i;
|
|
374
385
|
}
|
|
375
|
-
function
|
|
386
|
+
function Bs(t, e) {
|
|
376
387
|
let i;
|
|
377
388
|
return e !== void 0 && (i = { ...e, rotated: t }), i;
|
|
378
389
|
}
|
|
379
|
-
function
|
|
390
|
+
function ve(t) {
|
|
380
391
|
let e;
|
|
381
392
|
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
393
|
}
|
|
383
|
-
function
|
|
384
|
-
return e != null ||
|
|
394
|
+
function Cs(t, e) {
|
|
395
|
+
return e != null || me(t);
|
|
385
396
|
}
|
|
386
|
-
async function
|
|
397
|
+
async function Ct(t) {
|
|
387
398
|
const { queryObject: e, chartConfig: i, options: s, splitByField: a } = t;
|
|
388
399
|
let r = [], o;
|
|
389
400
|
const l = R(i), n = l.series[0], c = Ke({
|
|
@@ -392,18 +403,18 @@ async function Bt(t) {
|
|
|
392
403
|
runtimeDataFilters: s?.runtimeDataFilters,
|
|
393
404
|
ignoreViewExtent: s?.ignoreViewExtent
|
|
394
405
|
});
|
|
395
|
-
if (c.outStatistics?.[0]?.outStatisticFieldName && (c.outStatistics[0].outStatisticFieldName =
|
|
396
|
-
xAxisValueFormatType:
|
|
406
|
+
if (c.outStatistics?.[0]?.outStatisticFieldName && (c.outStatistics[0].outStatisticFieldName = ze.outStatistics.outStatisticFieldName), N(n) && Ge({
|
|
407
|
+
xAxisValueFormatType: Qe(l),
|
|
397
408
|
setTimeBinningInfoWhenNotProvided: s?.setTimeBinningInfoWhenNotProvided,
|
|
398
409
|
seriesConfig: n
|
|
399
|
-
}) &&
|
|
400
|
-
const { temporalBinning: f, x: d } = n, { uniqueQuery: x } = await
|
|
410
|
+
}) && _e(e)) {
|
|
411
|
+
const { temporalBinning: f, x: d } = n, { uniqueQuery: x } = await ae({
|
|
401
412
|
chartConfig: l,
|
|
402
413
|
queryConfig: c,
|
|
403
414
|
queryObject: e,
|
|
404
415
|
options: s
|
|
405
416
|
});
|
|
406
|
-
o = await
|
|
417
|
+
o = await He({
|
|
407
418
|
queryObject: e,
|
|
408
419
|
dateField: d,
|
|
409
420
|
splitByField: a,
|
|
@@ -419,13 +430,13 @@ async function Bt(t) {
|
|
|
419
430
|
).values()
|
|
420
431
|
);
|
|
421
432
|
} else {
|
|
422
|
-
const { uniqueQuery: f } = await
|
|
433
|
+
const { uniqueQuery: f } = await ae({
|
|
423
434
|
chartConfig: l,
|
|
424
435
|
queryObject: e,
|
|
425
436
|
queryConfig: c,
|
|
426
437
|
options: s
|
|
427
438
|
});
|
|
428
|
-
o = await
|
|
439
|
+
o = await Je({
|
|
429
440
|
queryObject: e,
|
|
430
441
|
queryConfig: f,
|
|
431
442
|
featureCount: 1
|
|
@@ -437,10 +448,10 @@ async function Bt(t) {
|
|
|
437
448
|
}
|
|
438
449
|
return { allValues: r, preFetchedQueryResponse: o };
|
|
439
450
|
}
|
|
440
|
-
function
|
|
451
|
+
function It(t, e) {
|
|
441
452
|
const i = /* @__PURE__ */ new Map();
|
|
442
453
|
return t.series.forEach((s) => {
|
|
443
|
-
let a =
|
|
454
|
+
let a = Y({
|
|
444
455
|
where: s.query?.where,
|
|
445
456
|
// normalize the value so it matches what we get from getAllValues()
|
|
446
457
|
// Refer to https://devtopia.esri.com/WebGIS/arcgis-charts/issues/8127
|
|
@@ -450,14 +461,14 @@ function Ct(t, e) {
|
|
|
450
461
|
escape: !1
|
|
451
462
|
});
|
|
452
463
|
e && a !== null && (a = Number(a));
|
|
453
|
-
const r =
|
|
464
|
+
const r = de([s]);
|
|
454
465
|
r !== void 0 && i.set(r, [
|
|
455
466
|
...i.get(r) ?? [],
|
|
456
467
|
a
|
|
457
468
|
]);
|
|
458
469
|
}), i;
|
|
459
470
|
}
|
|
460
|
-
function
|
|
471
|
+
function Lt(t) {
|
|
461
472
|
const { allValues: e, configUniqueValuesPerSeriesType: i, initialConfigWasEmpty: s } = t, a = /* @__PURE__ */ new Map();
|
|
462
473
|
return Array.from(i.keys()).forEach((r) => {
|
|
463
474
|
const o = i.get(r) ?? [];
|
|
@@ -467,7 +478,7 @@ function It(t) {
|
|
|
467
478
|
}), a.set(r, l);
|
|
468
479
|
}), a;
|
|
469
480
|
}
|
|
470
|
-
function
|
|
481
|
+
function Vt(t) {
|
|
471
482
|
const { chartConfig: e, missingValue: i, splitByField: s, seriesTemplate: a } = t, r = JSON.parse(
|
|
472
483
|
JSON.stringify({
|
|
473
484
|
...e.series[0],
|
|
@@ -484,24 +495,24 @@ function Lt(t) {
|
|
|
484
495
|
}
|
|
485
496
|
return r;
|
|
486
497
|
}
|
|
487
|
-
async function
|
|
498
|
+
async function Nt(t) {
|
|
488
499
|
const { updateSplitBySeries: e, config: i, options: s, queryObject: a } = t, { seriesTemplate: r } = e ?? {};
|
|
489
500
|
let o;
|
|
490
501
|
if (e !== void 0 && i !== void 0 && (i.series.length > 0 || r !== void 0) && e.addMissingSeries) {
|
|
491
502
|
const l = i.series.length === 0;
|
|
492
503
|
i.series.length === 0 && r !== void 0 && i.series.push(r);
|
|
493
|
-
const n =
|
|
494
|
-
if ((n ===
|
|
495
|
-
const c = Ue(i.series[0]?.query?.where), f =
|
|
504
|
+
const n = K(i.series);
|
|
505
|
+
if ((n === D.BoxPlotMonoFieldAndSplitBy || n === D.BoxPlotMultiFieldsAndSplitBy || n === D.BoxPlotMonoFieldAndCategoryAndSplitBy || n === D.BarAndLineSplitBy || n === D.BarAndLineSplitByNoAggregation) && a !== void 0) {
|
|
506
|
+
const c = Ue(i.series[0]?.query?.where), f = We(a);
|
|
496
507
|
await f.load();
|
|
497
|
-
const d = f.getField(c)?.toJSON(), x = Ye(d), m = await
|
|
508
|
+
const d = f.getField(c)?.toJSON(), x = Ye(d), m = await Ct({
|
|
498
509
|
queryObject: a,
|
|
499
510
|
chartConfig: i,
|
|
500
511
|
splitByField: c,
|
|
501
512
|
options: s
|
|
502
513
|
}), { allValues: y } = m;
|
|
503
514
|
if ({ preFetchedQueryResponse: o } = m, y.length > 0) {
|
|
504
|
-
const g =
|
|
515
|
+
const g = It(i, x), S = Lt({
|
|
505
516
|
allValues: y,
|
|
506
517
|
configUniqueValuesPerSeriesType: g,
|
|
507
518
|
initialConfigWasEmpty: l
|
|
@@ -509,7 +520,7 @@ async function Vt(t) {
|
|
|
509
520
|
Array.from(S.keys()).forEach((p) => {
|
|
510
521
|
(S.get(p) ?? []).forEach((q) => {
|
|
511
522
|
i.series.push(
|
|
512
|
-
|
|
523
|
+
Vt({
|
|
513
524
|
chartConfig: i,
|
|
514
525
|
seriesTemplate: r,
|
|
515
526
|
missingValue: q,
|
|
@@ -523,10 +534,10 @@ async function Vt(t) {
|
|
|
523
534
|
}
|
|
524
535
|
return o;
|
|
525
536
|
}
|
|
526
|
-
function
|
|
527
|
-
e && !
|
|
537
|
+
function qt(t, e) {
|
|
538
|
+
e && !me(e) && (e = je({ chartConfig: e, queryObject: t }));
|
|
528
539
|
}
|
|
529
|
-
async function
|
|
540
|
+
async function Is(t) {
|
|
530
541
|
const {
|
|
531
542
|
configToAlter: e,
|
|
532
543
|
layer: i,
|
|
@@ -539,71 +550,68 @@ async function As(t) {
|
|
|
539
550
|
previousConfig: c
|
|
540
551
|
} = t;
|
|
541
552
|
let f = e, d;
|
|
542
|
-
return
|
|
553
|
+
return qt(i, f), f = await ut(f, i), s && (d = await Nt({
|
|
543
554
|
updateSplitBySeries: a,
|
|
544
555
|
config: f,
|
|
545
556
|
options: n,
|
|
546
557
|
queryObject: l
|
|
547
|
-
})), (o || c && $e(c, f)) && (f =
|
|
558
|
+
})), (o || c && $e(c, f)) && (f = Xe(f, r)), { alteredConfig: f, preFetchedQueryResponse: d };
|
|
548
559
|
}
|
|
549
|
-
const
|
|
550
|
-
const { xField: e, config: i, layerInfo: s } = t, { layerFieldsInfo: a } = s, r = X(0, i), o = Ot(i), l =
|
|
551
|
-
if (typeof e == "string" && o !== e && n && (n.x = e,
|
|
552
|
-
const c =
|
|
553
|
-
|
|
560
|
+
const Ls = (t) => {
|
|
561
|
+
const { xField: e, config: i, layerInfo: s } = t, { layerFieldsInfo: a } = s, r = X(0, i), o = Ot(i), l = k(i), n = i.series[0];
|
|
562
|
+
if (typeof e == "string" && o !== e && n && (n.x = e, ve(i), o === r || l)) {
|
|
563
|
+
const c = V(a, e);
|
|
564
|
+
U(i, 0, c);
|
|
554
565
|
}
|
|
555
|
-
}, Ot = (t) => t.series[0].x ?? "",
|
|
566
|
+
}, Ot = (t) => t.series[0].x ?? "", Vs = (t) => t.hideEmptyRowsAndColumns, Ns = (t, e) => {
|
|
556
567
|
t.hideEmptyRowsAndColumns = e;
|
|
557
|
-
},
|
|
568
|
+
}, qs = (t, e) => {
|
|
558
569
|
const i = t.series[0];
|
|
559
570
|
i.heatRulesType = e;
|
|
560
|
-
},
|
|
571
|
+
}, Os = (t) => t.series[0].heatRulesType, ws = (t, e) => {
|
|
561
572
|
const i = t.series[0];
|
|
562
573
|
i.gradientRules = e;
|
|
563
|
-
},
|
|
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,
|
|
566
|
-
const c =
|
|
567
|
-
|
|
574
|
+
}, Ds = (t) => t.series[0].gradientRules, Ms = (t) => {
|
|
575
|
+
const { yField: e, config: i, layerInfo: s } = t, { layerFieldsInfo: a } = s, r = X(1, i), o = wt(i), l = k(i), n = i.series[0];
|
|
576
|
+
if (typeof e == "string" && o !== e && n && (n.y = e, ve(i), o === r || l)) {
|
|
577
|
+
const c = V(a, e);
|
|
578
|
+
U(i, 1, c);
|
|
568
579
|
}
|
|
569
|
-
},
|
|
580
|
+
}, wt = (t) => t.series[0].y ?? "", Ps = (t, e) => {
|
|
570
581
|
const i = e.series[0];
|
|
571
582
|
i.xTemporalBinning = t;
|
|
572
|
-
},
|
|
583
|
+
}, Es = (t) => t.series[0].xTemporalBinning, Rs = (t, e) => {
|
|
573
584
|
const i = e.series[0];
|
|
574
585
|
i.yTemporalBinning = t;
|
|
575
|
-
},
|
|
586
|
+
}, ks = (t) => t.series[0].yTemporalBinning, Dt = (t, e) => {
|
|
576
587
|
e.orderOptions ??= {};
|
|
577
|
-
const i = e.axes?.[0]?.valueFormat?.type === "category" ?
|
|
588
|
+
const i = e.axes?.[0]?.valueFormat?.type === "category" ? T.Category : T.YValue, s = Z(e)[0], a = e.axes?.[1]?.valueFormat?.type === "category" ? T.Category : T.YValue, r = Z(e)[1], o = {
|
|
578
589
|
...e.orderOptions.data ?? {},
|
|
579
|
-
orderType:
|
|
590
|
+
orderType: T.MultiAxes
|
|
580
591
|
};
|
|
581
|
-
s ===
|
|
582
|
-
},
|
|
592
|
+
s === J.customSort && i === T.Category && (o.orderByX = [...t]), r === J.customSort && a === T.Category && (o.orderByY = [...t]), Object.keys(o).length > 1 && (e.orderOptions.data = o);
|
|
593
|
+
}, $s = (t, e) => {
|
|
583
594
|
const i = e.series[0];
|
|
584
595
|
i.gridLine && (i.gridLine.width = t);
|
|
585
|
-
},
|
|
596
|
+
}, Xs = (t) => t.series[0].gridLine?.width, js = (t, e) => {
|
|
586
597
|
const i = e.series[0], s = t?.length === 4 && t.every((a) => typeof a == "number");
|
|
587
598
|
i.gridLine && s && (i.gridLine.color = t);
|
|
588
|
-
},
|
|
599
|
+
}, Us = (t) => t.series[0].gridLine?.color, Ws = (t, e) => {
|
|
589
600
|
const i = e.legend;
|
|
590
|
-
t ===
|
|
591
|
-
},
|
|
601
|
+
t === G.Bottom && i && (i.position = G.Bottom);
|
|
602
|
+
}, Ys = (t) => t.legend?.position ?? G.Bottom, Ks = (t) => t.series[0].query?.outStatistics?.[0]?.onStatisticField, zs = (t, e) => {
|
|
592
603
|
const i = e.series[0].query?.outStatistics?.[0];
|
|
593
604
|
i && (i.onStatisticField = t, i.outStatisticFieldName = `${i.statisticType}_${t}`);
|
|
594
|
-
},
|
|
605
|
+
}, Gs = (t) => t.series[0].query?.outStatistics?.[0].statisticType ?? h.Count, Qs = (t, e) => {
|
|
595
606
|
const i = e.series[0]?.query?.outStatistics?.[0];
|
|
596
|
-
i && t !==
|
|
597
|
-
},
|
|
607
|
+
i && t !== h.NoAggregation && (i.statisticType = t, i.outStatisticFieldName = `${t}_${i.onStatisticField}`);
|
|
608
|
+
}, _s = (t) => t.nullPolicy, Hs = (t, e) => {
|
|
598
609
|
e.nullPolicy = t;
|
|
599
|
-
},
|
|
610
|
+
}, Js = (t) => t.series[0].emptyCells?.text, Zs = (t, e) => {
|
|
600
611
|
e.series[0].emptyCells ? e.series[0].emptyCells.text = t : e.series[0].emptyCells = { text: t };
|
|
601
|
-
},
|
|
612
|
+
}, ea = (t) => t.series[0].emptyCells?.symbol, ta = (t, e) => {
|
|
602
613
|
e.series[0].emptyCells ? e.series[0].emptyCells.symbol = t : e.series[0].emptyCells = { symbol: t };
|
|
603
614
|
};
|
|
604
|
-
function Dt(t) {
|
|
605
|
-
return K(t.series) === O.HeatSeries;
|
|
606
|
-
}
|
|
607
615
|
function E(t) {
|
|
608
616
|
const { seriesIndex: e, xAxisField: i, aggregationType: s, config: a, layerInfo: r, commonStrings: o } = t, { objectIdField: l } = r ?? {};
|
|
609
617
|
let n;
|
|
@@ -611,18 +619,18 @@ function E(t) {
|
|
|
611
619
|
let f = !1, d = !1;
|
|
612
620
|
if (c === void 0) {
|
|
613
621
|
const y = a.series;
|
|
614
|
-
f = y.slice(0, e).every((g) => A(g)), d = y.slice(0, e).every((g) =>
|
|
622
|
+
f = y.slice(0, e).every((g) => A(g)), d = y.slice(0, e).every((g) => B(g));
|
|
615
623
|
} else
|
|
616
|
-
f = A(c), d =
|
|
617
|
-
f ? n =
|
|
624
|
+
f = A(c), d = B(c);
|
|
625
|
+
f ? n = tt({
|
|
618
626
|
commonStrings: o,
|
|
619
627
|
seriesIndex: e,
|
|
620
628
|
objectIDField: l
|
|
621
|
-
}) : d ? n =
|
|
629
|
+
}) : d ? n = it({
|
|
622
630
|
commonStrings: o,
|
|
623
631
|
seriesIndex: e,
|
|
624
632
|
objectIDField: l
|
|
625
|
-
}) : n =
|
|
633
|
+
}) : n = st({
|
|
626
634
|
seriesIndex: e,
|
|
627
635
|
objectIDField: l,
|
|
628
636
|
commonStrings: o
|
|
@@ -633,14 +641,14 @@ function E(t) {
|
|
|
633
641
|
y: "",
|
|
634
642
|
dataLabels: {
|
|
635
643
|
...n.dataLabels,
|
|
636
|
-
type: n.dataLabels?.type ??
|
|
637
|
-
content: { ...n.dataLabels?.content, ...x?.content, type:
|
|
644
|
+
type: n.dataLabels?.type ?? M.Text,
|
|
645
|
+
content: { ...n.dataLabels?.content, ...x?.content, type: ot.TS },
|
|
638
646
|
visible: x?.visible ?? !1
|
|
639
647
|
}
|
|
640
648
|
};
|
|
641
649
|
if (m.query = {
|
|
642
650
|
groupByFieldsForStatistics: [i]
|
|
643
|
-
}, s !==
|
|
651
|
+
}, s !== h.NoAggregation && l !== void 0) {
|
|
644
652
|
const y = `${s}_${l}_0`.toUpperCase();
|
|
645
653
|
m.y = y, m.query.outStatistics = [
|
|
646
654
|
{
|
|
@@ -650,59 +658,59 @@ function E(t) {
|
|
|
650
658
|
}
|
|
651
659
|
];
|
|
652
660
|
}
|
|
653
|
-
if (A(m) ||
|
|
661
|
+
if (A(m) || B(m) || C(m) && a.series[0]?.binTemporalData) {
|
|
654
662
|
let y;
|
|
655
|
-
if (a?.series?.[0] !== void 0 && (y =
|
|
663
|
+
if (a?.series?.[0] !== void 0 && (y = K(a.series)), y !== D.BarAndLineNoAggregation && y !== D.BarAndLineSplitByNoAggregation) {
|
|
656
664
|
let g = Ft(a);
|
|
657
665
|
g === _.Quarter && (g = _.Month), m.temporalBinning = {
|
|
658
|
-
size:
|
|
666
|
+
size: bt(a),
|
|
659
667
|
unit: g,
|
|
660
|
-
timeAggregationType:
|
|
661
|
-
trimIncompleteTimeInterval:
|
|
662
|
-
nullPolicy:
|
|
668
|
+
timeAggregationType: Tt(a),
|
|
669
|
+
trimIncompleteTimeInterval: ht(a),
|
|
670
|
+
nullPolicy: vt(a)
|
|
663
671
|
};
|
|
664
672
|
}
|
|
665
673
|
}
|
|
666
674
|
return R(m);
|
|
667
675
|
}
|
|
668
676
|
function Ae(t, e, i) {
|
|
669
|
-
const { layerFieldsInfo: s, objectIdField: a } = e, r =
|
|
677
|
+
const { layerFieldsInfo: s, objectIdField: a } = e, r = $(t), o = se(t), l = Ce(t), n = W(t), c = o.length === 0 || o.includes(a), f = ge(l, i), d = c ? "" : o.map((u) => V(s ?? [], u)).join(", "), x = V(s ?? [], r), m = V(s ?? [], n), y = t.series.some((u) => C(u)), g = y ? "category" : "xAxisField", S = x;
|
|
670
678
|
let p = "";
|
|
671
|
-
if (
|
|
679
|
+
if (xe({
|
|
672
680
|
fieldName: r,
|
|
673
681
|
numericFields: o,
|
|
674
682
|
fieldList: s
|
|
675
683
|
}))
|
|
676
|
-
p =
|
|
684
|
+
p = w(i.titleLabels.aggrTypeOfAggrFields, {
|
|
677
685
|
aggregationType: f,
|
|
678
686
|
aggregationFields: d
|
|
679
687
|
});
|
|
680
|
-
else if (l ===
|
|
688
|
+
else if (l === h.NoAggregation) {
|
|
681
689
|
const u = c ? a : d;
|
|
682
690
|
if (n === "") {
|
|
683
691
|
const q = y ? "aggrTypeCategory" : "aggrTypeXAxisField";
|
|
684
|
-
p =
|
|
692
|
+
p = w(i.titleLabels[q], {
|
|
685
693
|
aggregationType: u,
|
|
686
694
|
[g]: S
|
|
687
695
|
});
|
|
688
696
|
} else {
|
|
689
697
|
const q = y ? "aggrTypeCategoryBySplitBy" : "aggrTypeXAxisFieldBySplitBy";
|
|
690
|
-
p =
|
|
698
|
+
p = w(i.titleLabels[q], {
|
|
691
699
|
aggregationType: u,
|
|
692
700
|
[g]: S,
|
|
693
701
|
splitByField: m
|
|
694
702
|
});
|
|
695
703
|
}
|
|
696
|
-
} else if (l ===
|
|
704
|
+
} else if (l === h.Count)
|
|
697
705
|
if (n === "") {
|
|
698
706
|
const u = y ? "aggrTypeCategory" : "aggrTypeXAxisField";
|
|
699
|
-
p =
|
|
707
|
+
p = w(i.titleLabels[u], {
|
|
700
708
|
aggregationType: f,
|
|
701
709
|
[g]: S
|
|
702
710
|
});
|
|
703
711
|
} else {
|
|
704
712
|
const u = y ? "aggrTypeCategoryBySplitBy" : "aggrTypeXAxisFieldBySplitBy";
|
|
705
|
-
p =
|
|
713
|
+
p = w(i.titleLabels[u], {
|
|
706
714
|
aggregationType: f,
|
|
707
715
|
[g]: S,
|
|
708
716
|
splitByField: m
|
|
@@ -710,7 +718,7 @@ function Ae(t, e, i) {
|
|
|
710
718
|
}
|
|
711
719
|
else if (n !== "") {
|
|
712
720
|
const u = y ? "aggrTypeOfAggrFieldByCategoryBySplitByField" : "aggrTypeOfAggrFieldByXAxisFieldBySplitByField";
|
|
713
|
-
p =
|
|
721
|
+
p = w(i.titleLabels[u], {
|
|
714
722
|
aggregationType: f,
|
|
715
723
|
aggregationField: d,
|
|
716
724
|
[g]: S,
|
|
@@ -718,7 +726,7 @@ function Ae(t, e, i) {
|
|
|
718
726
|
});
|
|
719
727
|
} else if (o.length > 0) {
|
|
720
728
|
const u = y ? "aggrTypeOfAggrFieldsByCategory" : "aggrTypeOfAggrFieldsByXAxisField";
|
|
721
|
-
p =
|
|
729
|
+
p = w(i.titleLabels[u], {
|
|
722
730
|
aggregationType: f,
|
|
723
731
|
aggregationFields: d,
|
|
724
732
|
[g]: S
|
|
@@ -726,22 +734,22 @@ function Ae(t, e, i) {
|
|
|
726
734
|
}
|
|
727
735
|
return p;
|
|
728
736
|
}
|
|
729
|
-
const
|
|
737
|
+
const Be = (t) => Y({
|
|
730
738
|
where: t.query?.where,
|
|
731
739
|
normalize: !1,
|
|
732
740
|
escape: !1
|
|
733
|
-
}) ?? "",
|
|
741
|
+
}) ?? "", Ce = (t) => t?.series?.[0]?.query?.outStatistics?.[0]?.statisticType ?? h.NoAggregation, W = ne(
|
|
734
742
|
(t) => {
|
|
735
743
|
const e = t?.series?.[0]?.query?.where?.split("=")[0].trim() ?? "";
|
|
736
|
-
return
|
|
744
|
+
return Ze(t?.series?.[0]?.query?.where) ? "" : e;
|
|
737
745
|
},
|
|
738
746
|
(t) => t?.series?.[0]?.query?.where
|
|
739
|
-
),
|
|
747
|
+
), se = ne(
|
|
740
748
|
// without memoizing, the worst case efficiency is O(series.length), best case is O(1)
|
|
741
749
|
// with memoizing, the worst case efficiency for repeated calls becomes O(1)
|
|
742
750
|
(t) => {
|
|
743
751
|
let e = [];
|
|
744
|
-
if (
|
|
752
|
+
if (W(t) === "")
|
|
745
753
|
e = t?.series.map((i) => {
|
|
746
754
|
const s = i.query?.outStatistics?.map((a) => a.onStatisticField) ?? [];
|
|
747
755
|
return s?.length > 0 ? s : i.y;
|
|
@@ -758,24 +766,24 @@ const ve = (t) => W({
|
|
|
758
766
|
function Mt(t) {
|
|
759
767
|
const { numericFields: e, aggregationType: i, config: s, layerInfo: a } = t;
|
|
760
768
|
let r = !1;
|
|
761
|
-
i ===
|
|
769
|
+
i === h.Count ? r = !0 : i === h.NoAggregation && (r = e.every((n) => {
|
|
762
770
|
const c = a.layerFieldsInfo.find((f) => f.name === n);
|
|
763
|
-
return c !== void 0 ?
|
|
764
|
-
})),
|
|
765
|
-
const o = s.series.some((n) => A(n)), l = s.series.some((n) =>
|
|
771
|
+
return c !== void 0 ? re(c) : !1;
|
|
772
|
+
})), le(s, 1, r);
|
|
773
|
+
const o = s.series.some((n) => A(n)), l = s.series.some((n) => B(n));
|
|
766
774
|
if (o || l) {
|
|
767
|
-
const n =
|
|
768
|
-
|
|
775
|
+
const n = $(s), c = a.layerFieldsInfo.find((d) => d.name === n), f = c !== void 0 && re(c);
|
|
776
|
+
le(s, 0, f);
|
|
769
777
|
}
|
|
770
778
|
}
|
|
771
|
-
const
|
|
779
|
+
const Z = (t) => {
|
|
772
780
|
let e;
|
|
773
|
-
if (
|
|
774
|
-
const
|
|
775
|
-
e = [
|
|
781
|
+
if (fe(t)) {
|
|
782
|
+
const i = t.orderOptions?.data?.orderByX ?? [""], s = t.orderOptions?.data?.orderByY ?? [""], a = t.axes?.[0]?.valueFormat?.type === "category" ? T.Category : T.YValue, r = t.axes?.[1]?.valueFormat?.type === "category" ? T.Category : T.YValue;
|
|
783
|
+
e = [oe(i, a), oe(s, r)];
|
|
776
784
|
} else {
|
|
777
|
-
const
|
|
778
|
-
e = [
|
|
785
|
+
const i = t.orderOptions?.data?.orderType ?? T.Category, s = t.orderOptions?.data && "orderBy" in t.orderOptions.data ? t.orderOptions.data.orderBy : ce.Ascending;
|
|
786
|
+
e = [dt(s, i)];
|
|
779
787
|
}
|
|
780
788
|
return e;
|
|
781
789
|
};
|
|
@@ -789,7 +797,7 @@ function Pt(t) {
|
|
|
789
797
|
layerInfo: r,
|
|
790
798
|
seriesIndex: 0,
|
|
791
799
|
commonStrings: o
|
|
792
|
-
}), f =
|
|
800
|
+
}), f = ie({
|
|
793
801
|
config: a,
|
|
794
802
|
xAxisField: e,
|
|
795
803
|
numericFields: i,
|
|
@@ -800,7 +808,7 @@ function Pt(t) {
|
|
|
800
808
|
...c,
|
|
801
809
|
id: `series_${Date.now()}`,
|
|
802
810
|
name: o.axisLabels.values,
|
|
803
|
-
x:
|
|
811
|
+
x: j,
|
|
804
812
|
y: f
|
|
805
813
|
}, x = [];
|
|
806
814
|
for (const y of i)
|
|
@@ -811,9 +819,9 @@ function Pt(t) {
|
|
|
811
819
|
});
|
|
812
820
|
d.query = { outStatistics: x };
|
|
813
821
|
const m = a.series[0];
|
|
814
|
-
return m !== void 0 && (d.id = m.id, a.colorMatch || (C(m) && C(d) ? d.fillSymbol = m.fillSymbol : (A(d) && A(m) ||
|
|
822
|
+
return m !== void 0 && (d.id = m.id, a.colorMatch || (C(m) && C(d) ? d.fillSymbol = m.fillSymbol : (A(d) && A(m) || B(d) && B(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) || B(d)) && (d.lineSymbol = a.series[0].lineSymbol, d.markerSymbol = a.series[0].markerSymbol), n = !0), a.colorMatch = !n, [d];
|
|
815
823
|
}
|
|
816
|
-
function
|
|
824
|
+
function Ie(t) {
|
|
817
825
|
const { xAxisField: e, numericFields: i, aggregationType: s, config: a, layerInfo: r, commonStrings: o } = t, { layerFieldsInfo: l, objectIdField: n } = r, c = [];
|
|
818
826
|
let f = !1;
|
|
819
827
|
for (let d = 0; d < i.length; d += 1) {
|
|
@@ -824,7 +832,7 @@ function Ce(t) {
|
|
|
824
832
|
layerInfo: r,
|
|
825
833
|
seriesIndex: d,
|
|
826
834
|
commonStrings: o
|
|
827
|
-
}), m =
|
|
835
|
+
}), m = ie({
|
|
828
836
|
config: a,
|
|
829
837
|
xAxisField: e,
|
|
830
838
|
numericFields: i,
|
|
@@ -842,10 +850,10 @@ function Ce(t) {
|
|
|
842
850
|
y !== n && (g = {
|
|
843
851
|
...g,
|
|
844
852
|
id: y,
|
|
845
|
-
name:
|
|
853
|
+
name: V(l, y)
|
|
846
854
|
});
|
|
847
855
|
let S = y;
|
|
848
|
-
g.query !== void 0 && (s !==
|
|
856
|
+
g.query !== void 0 && (s !== h.NoAggregation ? (S = m, g.query.outStatistics = [
|
|
849
857
|
{
|
|
850
858
|
...x.query?.outStatistics?.[0] ?? {},
|
|
851
859
|
onStatisticField: y,
|
|
@@ -857,7 +865,7 @@ function Ce(t) {
|
|
|
857
865
|
(u) => u.query?.outStatistics?.[0]?.onStatisticField === y && u.query.where === void 0
|
|
858
866
|
);
|
|
859
867
|
if (p !== void 0 && typeof p.y == "string" && p.y.trim() !== "") {
|
|
860
|
-
a.colorMatch || (C(g) && C(p) ? g.fillSymbol = p.fillSymbol : (A(g) && A(p) ||
|
|
868
|
+
a.colorMatch || (C(g) && C(p) ? g.fillSymbol = p.fillSymbol : (A(g) && A(p) || B(g) && B(p)) && (g.lineSymbol = p.lineSymbol, g.markerSymbol = p.markerSymbol), f = !0);
|
|
861
869
|
const u = E({
|
|
862
870
|
config: a,
|
|
863
871
|
xAxisField: e,
|
|
@@ -870,10 +878,10 @@ function Ce(t) {
|
|
|
870
878
|
}
|
|
871
879
|
c.push(g);
|
|
872
880
|
}
|
|
873
|
-
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]) ||
|
|
881
|
+
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]) || B(a.series[0]) && B(c[0])) && (c[0].lineSymbol = a.series[0].lineSymbol, c[0].markerSymbol = a.series[0].markerSymbol), f = !0), a.colorMatch = !f, c;
|
|
874
882
|
}
|
|
875
883
|
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 !==
|
|
884
|
+
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 !== j ? i : void 0, { categoriesArray: x, splitByFieldType: m, numericalField: y } = await yt({
|
|
877
885
|
config: r,
|
|
878
886
|
layer: n,
|
|
879
887
|
layerFieldsInfo: c,
|
|
@@ -884,7 +892,7 @@ async function Et(t) {
|
|
|
884
892
|
});
|
|
885
893
|
let g = [], S = !1;
|
|
886
894
|
if (x.length === 0) {
|
|
887
|
-
g =
|
|
895
|
+
g = Ie({
|
|
888
896
|
xAxisField: i,
|
|
889
897
|
numericFields: s,
|
|
890
898
|
aggregationType: a,
|
|
@@ -896,7 +904,7 @@ async function Et(t) {
|
|
|
896
904
|
p.query && (p.query.where = `${e}=''`);
|
|
897
905
|
} else
|
|
898
906
|
for (let p = 0; p < x.length; p += 1) {
|
|
899
|
-
const u = x[p], q =
|
|
907
|
+
const u = x[p], q = ie({
|
|
900
908
|
config: r,
|
|
901
909
|
xAxisField: i,
|
|
902
910
|
numericFields: s,
|
|
@@ -912,20 +920,20 @@ async function Et(t) {
|
|
|
912
920
|
layerInfo: o,
|
|
913
921
|
seriesIndex: p,
|
|
914
922
|
commonStrings: l
|
|
915
|
-
}),
|
|
923
|
+
}), Le = {
|
|
916
924
|
fieldName: e,
|
|
917
925
|
fieldValueToMatch: u ?? "",
|
|
918
|
-
subtypeInfo:
|
|
926
|
+
subtypeInfo: ee(o.layer),
|
|
919
927
|
fieldList: o.layerFieldsInfo
|
|
920
|
-
},
|
|
928
|
+
}, Ve = te(Le), z = `${u}`, v = {
|
|
921
929
|
...P,
|
|
922
930
|
id: z,
|
|
923
|
-
name:
|
|
931
|
+
name: Ve ?? z,
|
|
924
932
|
y: q,
|
|
925
933
|
query: {
|
|
926
934
|
...P.query,
|
|
927
|
-
where: `${e}=${m ===
|
|
928
|
-
outStatistics: a !==
|
|
935
|
+
where: `${e}=${m === pe.String && u !== null ? `'${u}'` : u}`,
|
|
936
|
+
outStatistics: a !== h.NoAggregation ? [
|
|
929
937
|
{
|
|
930
938
|
...P.query?.outStatistics?.[0] ?? {},
|
|
931
939
|
onStatisticField: y,
|
|
@@ -935,27 +943,27 @@ async function Et(t) {
|
|
|
935
943
|
] : void 0
|
|
936
944
|
}
|
|
937
945
|
};
|
|
938
|
-
a ===
|
|
939
|
-
const
|
|
940
|
-
(
|
|
946
|
+
a === h.NoAggregation && (v.query !== void 0 && (delete v.query.outStatistics, delete v.query.groupByFieldsForStatistics), v.y = y);
|
|
947
|
+
const O = r.series.find(
|
|
948
|
+
(Ne) => String(Be(Ne)).trim().replace(/'/gu, "") === z
|
|
941
949
|
);
|
|
942
|
-
|
|
950
|
+
O !== void 0 && (r.colorMatch || (C(v) && C(O) ? v.fillSymbol = O.fillSymbol : (A(v) && A(O) || B(v) && B(O)) && (v.lineSymbol = O.lineSymbol, v.markerSymbol = O.markerSymbol), S = !0), v.id = O.id, v.name = O.name), g.push(v);
|
|
943
951
|
}
|
|
944
952
|
return r.colorMatch = !S, g;
|
|
945
953
|
}
|
|
946
|
-
const
|
|
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 =
|
|
954
|
+
const ia = async (t) => {
|
|
955
|
+
const { xAxisField: e, splitByField: i, numericFields: s, aggregationType: a, config: r, layerInfo: o, commonStrings: l } = t, { layerFieldsInfo: n } = o ?? {}, c = Bt(r), f = $(r), d = Rt(r, o, l), x = kt(r, o, l), m = $t(r, o);
|
|
956
|
+
let y = Te(r);
|
|
957
|
+
const g = r.series.some((u) => C(u)), S = nt(r.series), p = ct(r.series);
|
|
950
958
|
if (n !== void 0) {
|
|
951
|
-
const u =
|
|
952
|
-
!u.includes(f) && u.includes(e) ? y =
|
|
959
|
+
const u = et(n);
|
|
960
|
+
!u.includes(f) && u.includes(e) ? y = at() : u.includes(f) && !u.includes(e) && (g ? y = H() : y = rt()), n.find((P) => P.name === e)?.type === pe.String && (y = H()), y !== void 0 && ft(r, l, y);
|
|
953
961
|
}
|
|
954
962
|
if (c === 0 && (r.series = [
|
|
955
963
|
E({ config: r, xAxisField: e, aggregationType: a, layerInfo: o, commonStrings: l })
|
|
956
964
|
]), r.series.forEach((u) => {
|
|
957
965
|
u.x = e, u.query !== void 0 && (u.query.groupByFieldsForStatistics = [e]);
|
|
958
|
-
}), i === "" || s.length > 1 ?
|
|
966
|
+
}), i === "" || s.length > 1 ? xe({
|
|
959
967
|
fieldName: e,
|
|
960
968
|
numericFields: s,
|
|
961
969
|
fieldList: n
|
|
@@ -966,7 +974,7 @@ const Js = async (t) => {
|
|
|
966
974
|
numericFields: s,
|
|
967
975
|
aggregationType: a,
|
|
968
976
|
commonStrings: l
|
|
969
|
-
}) : r.series =
|
|
977
|
+
}) : r.series = Ie({
|
|
970
978
|
config: r,
|
|
971
979
|
layerInfo: o,
|
|
972
980
|
xAxisField: e,
|
|
@@ -982,216 +990,220 @@ const Js = async (t) => {
|
|
|
982
990
|
aggregationType: a,
|
|
983
991
|
commonStrings: l
|
|
984
992
|
})), m) {
|
|
985
|
-
const u =
|
|
986
|
-
|
|
993
|
+
const u = V(n, e);
|
|
994
|
+
U(r, 0, u);
|
|
987
995
|
}
|
|
988
996
|
if (x) {
|
|
989
|
-
const u =
|
|
997
|
+
const u = Se({
|
|
990
998
|
config: r,
|
|
991
999
|
layerInfo: o,
|
|
992
1000
|
commonStrings: l,
|
|
993
1001
|
numericFields: s,
|
|
994
1002
|
aggregationType: a
|
|
995
1003
|
});
|
|
996
|
-
|
|
1004
|
+
U(r, 1, u);
|
|
997
1005
|
}
|
|
998
|
-
if (r.title && d && (r.title.content.text = Ae(r, o, l)),
|
|
999
|
-
|
|
1000
|
-
const u = y?.type ===
|
|
1006
|
+
if (r.title && d && (r.title.content.text = Ae(r, o, l)), b({ config: r, value: null, axisIndex: 1, isMax: !1 }), b({ config: r, value: null, axisIndex: 1, isMax: !0 }), Mt({ numericFields: s, aggregationType: a, config: r, layerInfo: o }), S || p) {
|
|
1007
|
+
b({ config: r, value: null, axisIndex: 0, isMax: !1 }), b({ config: r, value: null, axisIndex: 0, isMax: !0 }), he(0, r);
|
|
1008
|
+
const u = y?.type === M.DateAxisFormat ? Q.Null : Q.Interpolate;
|
|
1001
1009
|
At(u, r);
|
|
1002
1010
|
}
|
|
1003
|
-
},
|
|
1004
|
-
const { config: e, seriesIndex: i, layerInfo: s, commonStrings: a } = t, r = e.series?.[i], o =
|
|
1011
|
+
}, sa = (t) => {
|
|
1012
|
+
const { config: e, seriesIndex: i, layerInfo: s, commonStrings: a } = t, r = e.series?.[i], o = W(e);
|
|
1005
1013
|
let l;
|
|
1006
|
-
if (
|
|
1014
|
+
if (K(e.series) === D.BarAndLineFromFields)
|
|
1007
1015
|
l = a.axisLabels.values;
|
|
1008
|
-
else if (
|
|
1016
|
+
else if (qe(o)) {
|
|
1009
1017
|
const c = r.query?.outStatistics?.[0]?.onStatisticField;
|
|
1010
|
-
c !== void 0 && c !== s.objectIdField && (l =
|
|
1018
|
+
c !== void 0 && c !== s.objectIdField && (l = V(s.layerFieldsInfo, c));
|
|
1011
1019
|
} else {
|
|
1012
|
-
const c = String(
|
|
1013
|
-
fieldName:
|
|
1020
|
+
const c = String(Be(r)).trim().replace(/'/gu, ""), f = {
|
|
1021
|
+
fieldName: W(e),
|
|
1014
1022
|
fieldValueToMatch: c ?? "",
|
|
1015
|
-
subtypeInfo:
|
|
1023
|
+
subtypeInfo: ee(s.layer),
|
|
1016
1024
|
fieldList: s.layerFieldsInfo
|
|
1017
1025
|
};
|
|
1018
|
-
l =
|
|
1026
|
+
l = te(f) ?? c;
|
|
1019
1027
|
}
|
|
1020
1028
|
return l ?? r.id;
|
|
1021
|
-
},
|
|
1022
|
-
if (
|
|
1023
|
-
|
|
1029
|
+
}, aa = (t, e) => {
|
|
1030
|
+
if (fe(e))
|
|
1031
|
+
Dt(t, e);
|
|
1024
1032
|
else {
|
|
1025
1033
|
e.orderOptions ??= {};
|
|
1026
1034
|
const i = e.orderOptions?.data?.orderType;
|
|
1027
|
-
|
|
1028
|
-
orderType:
|
|
1035
|
+
Z(e)[0] === J.customSort && i === T.Category && (e.orderOptions.data = {
|
|
1036
|
+
orderType: T.Category,
|
|
1029
1037
|
orderBy: [...t]
|
|
1030
1038
|
});
|
|
1031
1039
|
}
|
|
1032
|
-
},
|
|
1033
|
-
const i =
|
|
1040
|
+
}, ra = async (t, e) => {
|
|
1041
|
+
const i = $(t), s = Te(t)?.type, a = se(t), r = K(t.series);
|
|
1034
1042
|
let o = [];
|
|
1035
|
-
return s ===
|
|
1043
|
+
return s === M.CategoryAxisFormat && (r === D.BarAndLineFromFields || i === j ? o = a.map((l) => V(e?.layerFieldsInfo, l)) : i.trim() !== "" && i !== j && e !== void 0 && (o = await gt({
|
|
1036
1044
|
layerInfo: e,
|
|
1037
1045
|
config: t,
|
|
1038
1046
|
category: i
|
|
1039
1047
|
}))), o;
|
|
1040
1048
|
};
|
|
1041
1049
|
function Rt(t, e, i) {
|
|
1042
|
-
const s = Ae(t, e, i), a =
|
|
1050
|
+
const s = Ae(t, e, i), a = xt(t), r = k(t);
|
|
1043
1051
|
return s === a || r;
|
|
1044
1052
|
}
|
|
1045
|
-
function
|
|
1046
|
-
const s =
|
|
1053
|
+
function kt(t, e, i) {
|
|
1054
|
+
const s = Se({
|
|
1047
1055
|
config: t,
|
|
1048
1056
|
layerInfo: e,
|
|
1049
1057
|
commonStrings: i,
|
|
1050
|
-
numericFields:
|
|
1051
|
-
aggregationType:
|
|
1052
|
-
}), a = X(1, t), r =
|
|
1058
|
+
numericFields: se(t),
|
|
1059
|
+
aggregationType: Ce(t)
|
|
1060
|
+
}), a = X(1, t), r = k(t);
|
|
1053
1061
|
return s === a || r;
|
|
1054
1062
|
}
|
|
1055
|
-
function
|
|
1056
|
-
const i =
|
|
1063
|
+
function $t(t, e) {
|
|
1064
|
+
const i = V(e.layerFieldsInfo, $(t)), s = X(0, t), a = k(t);
|
|
1057
1065
|
return i === s || a;
|
|
1058
1066
|
}
|
|
1059
|
-
function
|
|
1067
|
+
function oa(t) {
|
|
1060
1068
|
return t.series[0]?.binTemporalData ?? !1;
|
|
1061
1069
|
}
|
|
1062
|
-
function
|
|
1070
|
+
function la(t, e) {
|
|
1063
1071
|
e?.series.forEach((i) => {
|
|
1064
|
-
(i?.type ===
|
|
1072
|
+
(i?.type === M.BarSeries || i?.type === M.LineSeries) && (i.binTemporalData = t, t ? i.temporalBinning = {
|
|
1065
1073
|
unit: _.Day,
|
|
1066
1074
|
size: 0,
|
|
1067
|
-
timeAggregationType:
|
|
1075
|
+
timeAggregationType: we.Start,
|
|
1068
1076
|
trimIncompleteTimeInterval: !0,
|
|
1069
|
-
nullPolicy:
|
|
1077
|
+
nullPolicy: Q.Null
|
|
1070
1078
|
} : delete i.temporalBinning);
|
|
1071
1079
|
});
|
|
1072
1080
|
}
|
|
1073
1081
|
export {
|
|
1074
|
-
|
|
1075
|
-
|
|
1076
|
-
|
|
1077
|
-
|
|
1078
|
-
|
|
1079
|
-
|
|
1080
|
-
|
|
1081
|
-
|
|
1082
|
-
|
|
1083
|
-
|
|
1084
|
-
|
|
1085
|
-
|
|
1086
|
-
|
|
1087
|
-
|
|
1088
|
-
|
|
1089
|
-
|
|
1090
|
-
|
|
1091
|
-
|
|
1092
|
-
|
|
1082
|
+
yt as $,
|
|
1083
|
+
Rs as A,
|
|
1084
|
+
Vs as B,
|
|
1085
|
+
Ns as C,
|
|
1086
|
+
Xs as D,
|
|
1087
|
+
$s as E,
|
|
1088
|
+
Us as F,
|
|
1089
|
+
js as G,
|
|
1090
|
+
Os as H,
|
|
1091
|
+
qs as I,
|
|
1092
|
+
Ds as J,
|
|
1093
|
+
ws as K,
|
|
1094
|
+
Ks as L,
|
|
1095
|
+
zs as M,
|
|
1096
|
+
Gs as N,
|
|
1097
|
+
Qs as O,
|
|
1098
|
+
Ys as P,
|
|
1099
|
+
Ws as Q,
|
|
1100
|
+
_s as R,
|
|
1093
1101
|
Hs as S,
|
|
1094
|
-
|
|
1095
|
-
|
|
1096
|
-
|
|
1097
|
-
|
|
1098
|
-
|
|
1099
|
-
|
|
1100
|
-
|
|
1101
|
-
|
|
1102
|
+
Js as T,
|
|
1103
|
+
Zs as U,
|
|
1104
|
+
ea as V,
|
|
1105
|
+
ta as W,
|
|
1106
|
+
gs as X,
|
|
1107
|
+
Te as Y,
|
|
1108
|
+
gt as Z,
|
|
1109
|
+
ft as _,
|
|
1102
1110
|
X as a,
|
|
1103
|
-
|
|
1104
|
-
|
|
1105
|
-
|
|
1111
|
+
os as a$,
|
|
1112
|
+
le as a0,
|
|
1113
|
+
qi as a1,
|
|
1106
1114
|
Ii as a2,
|
|
1107
1115
|
Li as a3,
|
|
1108
1116
|
Vi as a4,
|
|
1109
1117
|
Ni as a5,
|
|
1110
|
-
|
|
1118
|
+
Oi as a6,
|
|
1111
1119
|
wi as a7,
|
|
1112
1120
|
Di as a8,
|
|
1113
1121
|
Mi as a9,
|
|
1114
|
-
|
|
1115
|
-
|
|
1116
|
-
|
|
1117
|
-
|
|
1122
|
+
bt as aA,
|
|
1123
|
+
he as aB,
|
|
1124
|
+
Ft as aC,
|
|
1125
|
+
ms as aD,
|
|
1118
1126
|
Tt as aE,
|
|
1119
|
-
|
|
1127
|
+
xs as aF,
|
|
1120
1128
|
ht as aG,
|
|
1121
|
-
|
|
1122
|
-
|
|
1123
|
-
|
|
1124
|
-
|
|
1125
|
-
|
|
1126
|
-
|
|
1127
|
-
|
|
1128
|
-
|
|
1129
|
-
|
|
1130
|
-
|
|
1131
|
-
|
|
1132
|
-
|
|
1133
|
-
|
|
1134
|
-
|
|
1135
|
-
|
|
1129
|
+
Ss as aH,
|
|
1130
|
+
vt as aI,
|
|
1131
|
+
At as aJ,
|
|
1132
|
+
bs as aK,
|
|
1133
|
+
Ti as aL,
|
|
1134
|
+
Ki as aM,
|
|
1135
|
+
zi as aN,
|
|
1136
|
+
ls as aO,
|
|
1137
|
+
Qi as aP,
|
|
1138
|
+
_i as aQ,
|
|
1139
|
+
hi as aR,
|
|
1140
|
+
vi as aS,
|
|
1141
|
+
Ai as aT,
|
|
1142
|
+
Bi as aU,
|
|
1143
|
+
Ci as aV,
|
|
1136
1144
|
ts as aW,
|
|
1137
1145
|
is as aX,
|
|
1138
|
-
|
|
1139
|
-
|
|
1140
|
-
|
|
1146
|
+
ss as aY,
|
|
1147
|
+
as as aZ,
|
|
1148
|
+
rs as a_,
|
|
1141
1149
|
Pi as aa,
|
|
1142
|
-
|
|
1150
|
+
St as ab,
|
|
1143
1151
|
Ei as ac,
|
|
1144
1152
|
Ri as ad,
|
|
1145
|
-
|
|
1146
|
-
|
|
1147
|
-
|
|
1148
|
-
|
|
1149
|
-
|
|
1150
|
-
|
|
1151
|
-
|
|
1152
|
-
|
|
1153
|
-
|
|
1154
|
-
|
|
1155
|
-
|
|
1156
|
-
|
|
1157
|
-
|
|
1158
|
-
|
|
1159
|
-
|
|
1160
|
-
|
|
1161
|
-
|
|
1162
|
-
|
|
1163
|
-
|
|
1164
|
-
|
|
1165
|
-
|
|
1166
|
-
|
|
1167
|
-
|
|
1168
|
-
|
|
1169
|
-
|
|
1170
|
-
|
|
1171
|
-
|
|
1172
|
-
|
|
1173
|
-
|
|
1153
|
+
ki as ae,
|
|
1154
|
+
Fs as af,
|
|
1155
|
+
Bt as ag,
|
|
1156
|
+
Ts as ah,
|
|
1157
|
+
hs as ai,
|
|
1158
|
+
ys as aj,
|
|
1159
|
+
us as ak,
|
|
1160
|
+
fs as al,
|
|
1161
|
+
ps as am,
|
|
1162
|
+
Gi as an,
|
|
1163
|
+
Hi as ao,
|
|
1164
|
+
Ji as ap,
|
|
1165
|
+
Zi as aq,
|
|
1166
|
+
es as ar,
|
|
1167
|
+
bi as as,
|
|
1168
|
+
Fi as at,
|
|
1169
|
+
$i as au,
|
|
1170
|
+
Xi as av,
|
|
1171
|
+
ji as aw,
|
|
1172
|
+
Ui as ax,
|
|
1173
|
+
Wi as ay,
|
|
1174
|
+
Yi as az,
|
|
1175
|
+
Se as b,
|
|
1176
|
+
ns as b0,
|
|
1177
|
+
cs as b1,
|
|
1178
|
+
ds as b2,
|
|
1179
|
+
Is as b3,
|
|
1180
|
+
Cs as b4,
|
|
1181
|
+
Bs as b5,
|
|
1182
|
+
vs as b6,
|
|
1183
|
+
As as b7,
|
|
1184
|
+
ve as b8,
|
|
1185
|
+
sa as c,
|
|
1174
1186
|
Si as d,
|
|
1175
1187
|
xi as e,
|
|
1176
|
-
|
|
1177
|
-
|
|
1178
|
-
|
|
1188
|
+
Z as f,
|
|
1189
|
+
xt as g,
|
|
1190
|
+
ra as h,
|
|
1179
1191
|
mi as i,
|
|
1180
|
-
|
|
1181
|
-
|
|
1182
|
-
|
|
1183
|
-
|
|
1184
|
-
|
|
1185
|
-
|
|
1186
|
-
|
|
1192
|
+
aa as j,
|
|
1193
|
+
oa as k,
|
|
1194
|
+
la as l,
|
|
1195
|
+
Ce as m,
|
|
1196
|
+
W as n,
|
|
1197
|
+
se as o,
|
|
1198
|
+
ia as p,
|
|
1187
1199
|
Ae as q,
|
|
1188
1200
|
Ot as r,
|
|
1189
|
-
|
|
1190
|
-
|
|
1191
|
-
|
|
1192
|
-
|
|
1193
|
-
|
|
1194
|
-
|
|
1195
|
-
|
|
1196
|
-
|
|
1201
|
+
b as s,
|
|
1202
|
+
Ls as t,
|
|
1203
|
+
U as u,
|
|
1204
|
+
wt as v,
|
|
1205
|
+
Ms as w,
|
|
1206
|
+
Es as x,
|
|
1207
|
+
Ps as y,
|
|
1208
|
+
ks as z
|
|
1197
1209
|
};
|