@arcgis/charts-components 5.0.0-next.117 → 5.0.0-next.119
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/{LXD5X7ZY.js → 223NEAGA.js} +2 -2
- package/dist/cdn/{GBSDPG4G.js → 256KKJSH.js} +2 -2
- package/dist/cdn/{XOSYZNZJ.js → 2MX4ZWOJ.js} +2 -2
- package/dist/cdn/{TOQ5DNUX.js → 2PJLNESN.js} +2 -2
- package/dist/cdn/{74IWPSEP.js → 2RWTISYF.js} +2 -2
- package/dist/cdn/{YT2LZNMZ.js → 2UJKE6FB.js} +2 -2
- package/dist/cdn/{COWAKYQ6.js → 2XBD36ZE.js} +2 -2
- package/dist/cdn/324DFPNT.js +4 -0
- package/dist/cdn/32P3N7AM.js +4 -0
- package/dist/cdn/{WHJRI7JK.js → 35LS7MFI.js} +2 -2
- package/dist/cdn/{A7PT5SX6.js → 35T3LPQE.js} +2 -2
- package/dist/cdn/{E45OKUM7.js → 3E4DK2JQ.js} +2 -2
- package/dist/cdn/{RWO2RJS2.js → 3ESEQGKB.js} +2 -2
- package/dist/cdn/{RW3GWFUR.js → 3HSTFNWE.js} +2 -2
- package/dist/cdn/{URI4L4T5.js → 3JLPFS4I.js} +2 -2
- package/dist/cdn/{4JXPTPMD.js → 3L6QBJHK.js} +2 -2
- package/dist/cdn/{F2OWOF5Y.js → 3ME2VICY.js} +2 -2
- package/dist/cdn/{VR6TODJV.js → 3MGXWTYZ.js} +2 -2
- package/dist/cdn/{7JMKA2SP.js → 3PXEGDAG.js} +2 -2
- package/dist/cdn/{2FCPA74U.js → 3S6LZ5P2.js} +2 -2
- package/dist/cdn/{YDS3UZIZ.js → 3VZWWHNA.js} +2 -2
- package/dist/cdn/{A3VSH4WG.js → 3YIYCZFW.js} +2 -2
- package/dist/cdn/{OXQ4OWSM.js → 42OGWWAQ.js} +2 -2
- package/dist/cdn/435FKIME.js +4 -0
- package/dist/cdn/{VX7S5GJY.js → 4CNEQXKV.js} +2 -2
- package/dist/cdn/{LEVOWPZ2.js → 4HGPXO46.js} +2 -2
- package/dist/cdn/{UZ2C574O.js → 4HIXGA3G.js} +2 -2
- package/dist/cdn/{5YBSPHTJ.js → 4KSGHOWA.js} +2 -2
- package/dist/cdn/{EHX67NFV.js → 4P4UANA7.js} +2 -2
- package/dist/cdn/{MOUNYJZG.js → 4RX6ERRB.js} +2 -2
- package/dist/cdn/{N5E7J7A3.js → 4TECLR52.js} +2 -2
- package/dist/cdn/{5BWVKNDZ.js → 4VVX4DHE.js} +1 -1
- package/dist/cdn/{6ZEBWDDO.js → 53VGTJGN.js} +2 -2
- package/dist/cdn/{X6BQFUZR.js → 54PI45SV.js} +2 -2
- package/dist/cdn/{SNILRKET.js → 5CCMPLWA.js} +2 -2
- package/dist/cdn/{XKJUGF23.js → 5D3NFNGL.js} +2 -2
- package/dist/cdn/{PFY4ICLF.js → 5DLXLGL3.js} +2 -2
- package/dist/cdn/{W4CEO3WL.js → 5RLQUBSP.js} +2 -2
- package/dist/cdn/{XK7K6ECD.js → 5Y3LAF65.js} +2 -2
- package/dist/cdn/{NYDN7HC7.js → 66IRQE5F.js} +2 -2
- package/dist/cdn/{S55YYUDV.js → 6JXV2RMP.js} +1 -1
- package/dist/cdn/6OCG57WR.js +4 -0
- package/dist/cdn/{CCTXJZH6.js → 6POZ3HS7.js} +1 -1
- package/dist/cdn/{AZJ6JJR5.js → 6V55Y7JQ.js} +2 -2
- package/dist/cdn/{KCJRRNDH.js → 6WKFDTTD.js} +2 -2
- package/dist/cdn/{FXFPQLPZ.js → 6XIDDRBS.js} +2 -2
- package/dist/cdn/7AZYUMOC.js +4 -0
- package/dist/cdn/{P2RTKCFA.js → 7QXBDIKY.js} +2 -2
- package/dist/cdn/{P32SEZNC.js → A3F64PEM.js} +2 -2
- package/dist/cdn/{AZLXFMTU.js → AABHIA6U.js} +1 -1
- package/dist/cdn/{4T2LVJTX.js → ABJSRBIE.js} +2 -2
- package/dist/cdn/{4LWXWPX3.js → AE2DZ7WA.js} +2 -2
- package/dist/cdn/AEUW5FDQ.js +4 -0
- package/dist/cdn/{N2372LFK.js → AWTVGEW7.js} +2 -2
- package/dist/cdn/{LCUG2RM6.js → AYZF3RZL.js} +2 -2
- package/dist/cdn/{VTGV5JY4.js → B325BD2C.js} +1 -1
- package/dist/cdn/{EKR4R6U3.js → BASOR3GW.js} +1 -1
- package/dist/cdn/{PMHJEFDB.js → BIZOF5TZ.js} +2 -2
- package/dist/cdn/{XQIK5GMM.js → BKQJXFNP.js} +2 -2
- package/dist/cdn/{IQM7DCX2.js → BLUCCT5C.js} +2 -2
- package/dist/cdn/{XTHH4V3V.js → BPZ6PO5N.js} +2 -2
- package/dist/cdn/{ET5SZKJH.js → BXRL54XC.js} +2 -2
- package/dist/cdn/BYVULQSA.js +4 -0
- package/dist/cdn/{3XLOVXYZ.js → DAJGIRZ5.js} +2 -2
- package/dist/cdn/{SAHYJWMQ.js → DSPIZ2M7.js} +2 -2
- package/dist/cdn/{SCGLPNXE.js → DZ5IYUDG.js} +2 -2
- package/dist/cdn/{H2MKVU7A.js → E3OX3CJE.js} +2 -2
- package/dist/cdn/{5FN52Q6N.js → E5DHQJN6.js} +2 -2
- package/dist/cdn/{KPRSIIOH.js → E7LC2ADR.js} +2 -2
- package/dist/cdn/{TLQDYWQ7.js → EJVDDE5Z.js} +2 -2
- package/dist/cdn/{6E2IJ3VP.js → ELNKQRWT.js} +2 -2
- package/dist/cdn/{5NIAIF3Z.js → EQRVLLFF.js} +2 -2
- package/dist/cdn/{PSVGLVQY.js → EZ2IRGES.js} +2 -2
- package/dist/cdn/{6UKV7VBW.js → F7NFRVW7.js} +2 -2
- package/dist/cdn/{6HJTRHFS.js → FGXQWLYG.js} +2 -2
- package/dist/cdn/FILT2BI7.js +4 -0
- package/dist/cdn/FOWG7NCN.js +4 -0
- package/dist/cdn/{OKFZKPUG.js → GMOANKWR.js} +2 -2
- package/dist/cdn/GYUWJQNU.js +4 -0
- package/dist/cdn/HDSWUHIY.js +4 -0
- package/dist/cdn/HKGKALMG.js +4 -0
- package/dist/cdn/{BQZP6PNO.js → IIBLYBRJ.js} +2 -2
- package/dist/cdn/{ZKNCAH5W.js → ILD42A2W.js} +2 -2
- package/dist/cdn/{BUUG7FCE.js → INXWV37X.js} +2 -2
- package/dist/cdn/{RILKT5QY.js → ITDHTQHK.js} +2 -2
- package/dist/cdn/{XMOMN4Y3.js → IYUAPU5X.js} +2 -2
- package/dist/cdn/{KFHRMFEQ.js → JFCM5D6Y.js} +2 -2
- package/dist/cdn/{3YV57KTB.js → JI6HWIHM.js} +2 -2
- package/dist/cdn/{4C234FS5.js → JNSPV5ED.js} +2 -2
- package/dist/cdn/{PLEPPE4S.js → JRO7UTDD.js} +8 -8
- package/dist/cdn/{C574PEKH.js → JUYBWFM2.js} +2 -2
- package/dist/cdn/{NBSTVTIC.js → KDP4OC3V.js} +2 -2
- package/dist/cdn/{V2ESSVDJ.js → KH73GMUM.js} +2 -2
- package/dist/cdn/{7ISLGMRZ.js → KNET2SPL.js} +2 -2
- package/dist/cdn/{H6YGZB7P.js → KU3ZEC6F.js} +2 -2
- package/dist/cdn/{MYNSVEGX.js → LH2J4BYT.js} +2 -2
- package/dist/cdn/{3IMG7BGV.js → LSGS5XRO.js} +2 -2
- package/dist/cdn/{6TRWTZMQ.js → LSQNQ2FM.js} +2 -2
- package/dist/cdn/{BPEGR3FS.js → LUR7UARS.js} +2 -2
- package/dist/cdn/{WXHTMWCI.js → LWORBEK4.js} +2 -2
- package/dist/cdn/{6Q2LRRQJ.js → M5VYSCQ6.js} +2 -2
- package/dist/cdn/{A2HE36RR.js → M6QZXYLO.js} +2 -2
- package/dist/cdn/{4EUFCIAH.js → MJSOG5SV.js} +2 -2
- package/dist/cdn/{DLPKUJBO.js → N3LTMT4S.js} +2 -2
- package/dist/cdn/N6IEAAQG.js +4 -0
- package/dist/cdn/{5RQNKTX3.js → NIONDQI4.js} +2 -2
- package/dist/cdn/NLXLLHTR.js +4 -0
- package/dist/cdn/{I4NZCWAJ.js → NQUQZLD7.js} +2 -2
- package/dist/cdn/{7DEPFBPP.js → NU7KDUU3.js} +2 -2
- package/dist/cdn/{YTNPGKUR.js → NWKAAW3D.js} +2 -2
- package/dist/cdn/{6L3XEF7H.js → OQZDA7UV.js} +2 -2
- package/dist/cdn/{CZ3SECPV.js → OZKFUW5B.js} +2 -2
- package/dist/cdn/{MEPPMEJG.js → PJLDCHHU.js} +2 -2
- package/dist/cdn/{7U6QPELY.js → PMBDG4GX.js} +2 -2
- package/dist/cdn/{Y7UQ2AA4.js → PNDAXWC7.js} +2 -2
- package/dist/cdn/{JT6QGHYK.js → POIQWUS2.js} +2 -2
- package/dist/cdn/{7M4BISSR.js → Q2BCNXU7.js} +2 -2
- package/dist/cdn/{ZSKR46OB.js → Q4ZXDM3G.js} +2 -2
- package/dist/cdn/{VUN7CK6B.js → QCWLVECN.js} +2 -2
- package/dist/cdn/{44NXILUI.js → QFPCYPHH.js} +2 -2
- package/dist/cdn/{WY4TL3RW.js → QSRARVHF.js} +2 -2
- package/dist/cdn/{YBQATV27.js → QVIO3PEY.js} +2 -2
- package/dist/cdn/{5CXQWTG5.js → QXSAPJLV.js} +2 -2
- package/dist/cdn/{7EWK3X2Z.js → R2JURXYN.js} +2 -2
- package/dist/cdn/{WTRAWTEY.js → R64P7BNE.js} +2 -2
- package/dist/cdn/{ZZCLWWFT.js → R7I6IXOW.js} +2 -2
- package/dist/cdn/{6WRM5HV4.js → RJFDPCZL.js} +2 -2
- package/dist/cdn/{ILBVOTGK.js → S5NRTSM4.js} +2 -2
- package/dist/cdn/{SFM3Q45A.js → SAH7LFJ6.js} +2 -2
- package/dist/cdn/SD2MM5H4.js +4 -0
- package/dist/cdn/{OZSMZQM5.js → SHXBSROO.js} +2 -2
- package/dist/cdn/{ULSUNJE6.js → SIXZODDV.js} +2 -2
- package/dist/cdn/{73KXIMIS.js → SKESVJ22.js} +2 -2
- package/dist/cdn/{7HF56D2T.js → SMGINTCX.js} +2 -2
- package/dist/cdn/{IKWTPZWX.js → SPFCXX24.js} +2 -2
- package/dist/cdn/{FIJYY7P7.js → SU7N2I47.js} +2 -2
- package/dist/cdn/{PRRLTN7B.js → SZY6UANL.js} +2 -2
- package/dist/cdn/{GLYY4YW2.js → TA2DNBLF.js} +2 -2
- package/dist/cdn/{3TWOFUIH.js → TADWDPN2.js} +2 -2
- package/dist/cdn/{WKCDE5YM.js → TIZEQBDB.js} +2 -2
- package/dist/cdn/{PJJGSZMK.js → TMBOI2L2.js} +2 -2
- package/dist/cdn/TOFSMBRX.js +4 -0
- package/dist/cdn/{ZP3KLNIJ.js → TOJXSGEU.js} +1 -1
- package/dist/cdn/{F33E6ADK.js → TWY3CGJX.js} +2 -2
- package/dist/cdn/{EOUIJJTP.js → UA326IP5.js} +2 -2
- package/dist/cdn/{67N5ORHA.js → UBJCJ2RI.js} +2 -2
- package/dist/cdn/UDVYL6TL.js +6 -0
- package/dist/cdn/UEEOHBNN.js +4 -0
- package/dist/cdn/{UWOFXGVS.js → UELGIAG5.js} +2 -2
- package/dist/cdn/{NG6RJDVL.js → UXQXSRSJ.js} +2 -2
- package/dist/cdn/{IPMHAF2P.js → VAKW5ERZ.js} +2 -2
- package/dist/cdn/{CE4C3O4H.js → VB3BD3ZG.js} +2 -2
- package/dist/cdn/VHQASITR.js +4 -0
- package/dist/cdn/{EEWP3DAR.js → VIW65VTC.js} +2 -2
- package/dist/cdn/{TWO4CIKW.js → VK3RKB5U.js} +2 -2
- package/dist/cdn/{IDCLKVX3.js → VNA25U2C.js} +2 -2
- package/dist/cdn/{ZB5FEQ4M.js → W2DWOTTS.js} +2 -2
- package/dist/cdn/{FU33SYWA.js → WFVZA7HA.js} +2 -2
- package/dist/cdn/{KHCGCGMJ.js → WLBRL4RO.js} +2 -2
- package/dist/cdn/{ZS7P3VGR.js → WW2L7SZS.js} +2 -2
- package/dist/cdn/{UO5UCQGE.js → WWVSOEC6.js} +2 -2
- package/dist/cdn/X27FNDWF.js +4 -0
- package/dist/cdn/X2NVH6AS.js +4 -0
- package/dist/cdn/{DK4Z4LDN.js → X3SRU6AZ.js} +2 -2
- package/dist/cdn/X5PURIMD.js +4 -0
- package/dist/cdn/X6SGLKFD.js +4 -0
- package/dist/cdn/{Q4AV7S5M.js → XCTDFKRQ.js} +2 -2
- package/dist/cdn/{AVOWFVPG.js → XGB35L3B.js} +2 -2
- package/dist/cdn/XHH44337.js +4 -0
- package/dist/cdn/Y2E4RMW5.js +4 -0
- package/dist/cdn/{FQW4C4SJ.js → Y7AENSXF.js} +1 -1
- package/dist/cdn/{HWCNX3GX.js → YBJQ7KBV.js} +2 -2
- package/dist/cdn/{2GWCL5LC.js → YCSFY2MU.js} +2 -2
- package/dist/cdn/{SGXB7FL6.js → YGHCCY6P.js} +2 -2
- package/dist/cdn/YGS4OL7S.js +4 -0
- package/dist/cdn/{6Z5AQ6CF.js → YLROMYWQ.js} +2 -2
- package/dist/cdn/{4SO6SS74.js → YPHRVXU7.js} +2 -2
- package/dist/cdn/{BU7Y55AC.js → YRKRFUOF.js} +2 -2
- package/dist/cdn/{LTSJRUX4.js → YTM2PQPL.js} +2 -2
- package/dist/cdn/{L4SN2NER.js → YV4SANRJ.js} +2 -2
- package/dist/cdn/{XHJNHX7G.js → ZAFBBSHU.js} +2 -2
- package/dist/cdn/{B2CEJXUU.js → ZHAEZPFV.js} +2 -2
- package/dist/cdn/{W7DRSPUD.js → ZK4OCVM5.js} +2 -2
- package/dist/cdn/{6VKVVM5C.js → ZKWH5TS7.js} +2 -2
- package/dist/cdn/{CYE2RMFG.js → ZLFHLNFI.js} +2 -2
- package/dist/cdn/{E4P57SOR.js → ZLUE4I46.js} +2 -2
- package/dist/cdn/{BKCZWX4R.js → ZNRVOACP.js} +2 -2
- package/dist/cdn/index.js +2 -2
- package/dist/chunks/action-bar-utils.js +2 -2
- package/dist/chunks/axis-lines-symbol.js +126 -0
- 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 +38 -37
- package/dist/chunks/box-plot-model.js +101 -96
- package/dist/chunks/chart-ui-utils.js +1 -1
- package/dist/chunks/chart-ui-utils2.js +1 -1
- package/dist/chunks/class-breaks.js +1 -1
- package/dist/chunks/combo-bar-line-chart-model.js +1 -1
- package/dist/chunks/common.js +1 -1
- package/dist/chunks/data-labels-symbol.js +1 -1
- package/dist/chunks/data-labels-visibility.js +1 -1
- package/dist/chunks/data.js +1 -1
- package/dist/chunks/default.js +1 -1
- package/dist/chunks/gauge-model.js +136 -123
- package/dist/chunks/generate-x-axis-title.js +95 -0
- package/dist/chunks/heat-chart-model.js +6 -6
- package/dist/chunks/histogram-data.js +37 -36
- package/dist/chunks/histogram-model.js +78 -73
- package/dist/chunks/index.js +1 -1
- package/dist/chunks/index2.js +1 -1
- package/dist/chunks/index3.js +1 -1
- package/dist/chunks/index4.js +1 -1
- package/dist/chunks/index5.js +1 -1
- package/dist/chunks/interfaces.js +1 -1
- package/dist/chunks/line-chart-model.js +2 -2
- package/dist/chunks/model-setter.js +12 -6
- package/dist/chunks/model-with-multi-axes.js +814 -903
- package/dist/chunks/negative-values-stacked-to-baseline.js +1 -1
- package/dist/chunks/pie-chart-data.js +13 -12
- 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 +2 -2
- package/dist/chunks/resource.js +2 -2
- package/dist/chunks/rest-js-object-literals.js +1 -1
- package/dist/chunks/rotated-state.js +1 -1
- package/dist/chunks/runtime.js +1 -1
- package/dist/chunks/scatterplot-model.js +105 -100
- package/dist/chunks/serial-chart-data.js +455 -561
- package/dist/chunks/serial-chart-model.js +87 -82
- 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 +82 -85
- package/dist/chunks/useT9n.js +1 -1
- package/dist/chunks/utils.js +42 -45
- package/dist/chunks/utils2.js +70 -0
- package/dist/chunks/web-component-utils.js +115 -115
- package/dist/chunks/x-axis-labels-visibility.js +70 -0
- package/dist/components/arcgis-chart/customElement.js +2 -2
- 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 +1 -1
- package/dist/components/arcgis-charts-config-bar-chart-data/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-bar-chart-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-bar-chart-series/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-bar-chart-series-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-box-plot/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-box-plot-data/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-box-plot-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-box-plot-series/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-box-plot-series-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-category-format/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-chart-rename-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-color-style/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-colors/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-create-flow/customElement.js +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 +85 -84
- package/dist/components/arcgis-charts-config-format-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-general/customElement.js +35 -34
- package/dist/components/arcgis-charts-config-guide/customElement.js +2 -2
- 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-heat-chart/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-heat-chart-data/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-heat-chart-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 +822 -818
- package/dist/docs/docs.json +180 -180
- package/dist/docs/vscode.html-custom-data.json +2 -2
- package/dist/docs/web-types.json +3 -3
- package/dist/index.d.ts +2 -2
- package/dist/index.js +44 -45
- package/dist/loader.js +1 -1
- package/dist/model/box-plot-model/box-plot-model.d.ts +9 -5
- package/dist/model/chart-model/chart-model-base.d.ts +4 -0
- package/dist/model/chart-model/chart-model.d.ts +1 -2
- package/dist/model/gauge-model/gauge-model.d.ts +10 -2
- package/dist/model/histogram-model/histogram-model.d.ts +9 -5
- package/dist/model/mixins/index.d.ts +0 -1
- package/dist/model/mixins/model-with-multi-axes.d.ts +2 -7
- package/dist/model/mixins/utils/axes.d.ts +1 -89
- package/dist/model/properties/axes/axis-labels-symbol.d.ts +30 -0
- package/dist/model/properties/axes/axis-lines-symbol.d.ts +30 -0
- package/dist/model/properties/axes/utils.d.ts +38 -0
- package/dist/model/properties/axes/x-axis/generate-x-axis-title.d.ts +14 -0
- package/dist/model/properties/axes/x-axis/max-x-bound.d.ts +24 -0
- package/dist/model/properties/axes/x-axis/min-x-bound.d.ts +24 -0
- package/dist/model/properties/axes/x-axis/x-axis-labels-visibility.d.ts +15 -0
- package/dist/model/properties/axes/x-axis/x-axis-title-symbol.d.ts +16 -0
- package/dist/model/properties/axes/x-axis/x-axis-title-text.d.ts +15 -0
- package/dist/model/properties/axes/x-axis/x-axis-title-visibility.d.ts +17 -0
- package/dist/model/properties/axes/x-axis/x-bounds.d.ts +14 -0
- package/dist/model/scatterplot-model/scatterplot-model.d.ts +9 -5
- package/dist/model/serial-chart-model/serial-chart-model.d.ts +9 -5
- package/dist/model/shared/axes.d.ts +0 -7
- package/dist/model/shared/type-guards.d.ts +13 -17
- package/dist/model.js +20 -21
- package/dist/types/components.d.ts +1 -0
- package/dist/types/lumina.d.ts +2 -2
- package/dist/types/preact.d.ts +2 -2
- package/dist/types/react.d.ts +2 -2
- package/dist/types/stencil.d.ts +2 -2
- package/package.json +4 -4
- package/dist/cdn/2B4ZHQYJ.js +0 -4
- package/dist/cdn/3TBKADAC.js +0 -4
- package/dist/cdn/54ZA6YA3.js +0 -4
- package/dist/cdn/5TNEIU2Z.js +0 -4
- package/dist/cdn/7JCSHIF4.js +0 -4
- package/dist/cdn/AJUPI2BQ.js +0 -4
- package/dist/cdn/BOBX3JJQ.js +0 -4
- package/dist/cdn/DDW2RFH6.js +0 -4
- package/dist/cdn/EPGE3OAE.js +0 -4
- package/dist/cdn/MU7WY4MR.js +0 -4
- package/dist/cdn/N4EGV2V4.js +0 -4
- package/dist/cdn/OF3F5R5Q.js +0 -4
- package/dist/cdn/PNBDWEMR.js +0 -4
- package/dist/cdn/SJSL534W.js +0 -4
- package/dist/cdn/SZBK4FEO.js +0 -4
- package/dist/cdn/UGNJERHH.js +0 -4
- package/dist/cdn/WEZ5DYDU.js +0 -4
- package/dist/cdn/XX3JHJQW.js +0 -4
- package/dist/cdn/YFVEJYCG.js +0 -4
- package/dist/cdn/YXBECKPO.js +0 -4
- package/dist/cdn/ZQUMRIOZ.js +0 -4
- package/dist/cdn/ZZSBWUTO.js +0 -6
- package/dist/model/mixins/model-with-basic-x-axis.d.ts +0 -50
- package/dist/model/properties/chart-type.d.ts +0 -10
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { m as
|
|
1
|
+
import { m as Ae, C as H } from "./model-setter.js";
|
|
2
2
|
import "@arcgis/toolkit/intl";
|
|
3
|
-
import { cloneDeep as
|
|
4
|
-
import { w as
|
|
3
|
+
import { cloneDeep as re, memoize as le, isEmpty as ve } from "lodash-es";
|
|
4
|
+
import { w as Ie, a as A, d as Le, t as h, g as qe, W as O, m as j, n as Ve, i as Y } from "./series-types.js";
|
|
5
5
|
import "d3-array";
|
|
6
|
-
import { aH as
|
|
6
|
+
import { aH as Ne, aF as we, bA as Oe, k as Q, q as I, U as De, cG as Me, o as E, de as V, j as Pe, cE as ke, bK as Re, bW as Ee, am as $e, p as We, dm as Xe, cA as je, dn as Z, cb as Ye, c7 as Ke, aS as Ue, Z as $, cX as N, dl as _e, dj as P, bJ as W, bP as ne, bQ as oe, dg as de, l as He, b as k, bN as Qe, bq as ze, b2 as Ge, b3 as Je, aZ as Ze, b5 as et, bM as ee, aK as tt, aJ as te, aL as st } from "./index.js";
|
|
7
7
|
import "@arcgis/core/geometry/support/jsonUtils.js";
|
|
8
8
|
import "@arcgis/core/rest/support/AttributeBinsQuery.js";
|
|
9
9
|
import "@arcgis/core/rest/support/Query.js";
|
|
@@ -13,12 +13,12 @@ import "@arcgis/core/core/promiseUtils.js";
|
|
|
13
13
|
import "@arcgis/core/request.js";
|
|
14
14
|
import "./runtime.js";
|
|
15
15
|
import "@arcgis/toolkit/dom";
|
|
16
|
-
import { substitute as
|
|
17
|
-
import { R as
|
|
18
|
-
import { h as
|
|
19
|
-
import { S as
|
|
20
|
-
import { s as
|
|
21
|
-
import { b as
|
|
16
|
+
import { substitute as w } from "@arcgis/core/intl.js";
|
|
17
|
+
import { R as ue, f as it } from "./rest-js-object-literals.js";
|
|
18
|
+
import { h as ce, l as v, o as at, p as rt, j as B, k as b, m as se } from "./index4.js";
|
|
19
|
+
import { S as K } from "./common.js";
|
|
20
|
+
import { s as x, u as U, d as ye, e as lt, f as nt, g as ge, h as ot, j as ie } from "./utils.js";
|
|
21
|
+
import { b as M, d as pe, g as z, e as ae, f as dt } from "./data.js";
|
|
22
22
|
import "@arcgis/core/Graphic.js";
|
|
23
23
|
import "@arcgis/core/renderers/support/jsonUtils.js";
|
|
24
24
|
import "@arcgis/core/symbols/support/symbolUtils.js";
|
|
@@ -27,186 +27,106 @@ import "@arcgis/core/smartMapping/statistics/histogram.js";
|
|
|
27
27
|
import "@arcgis/core/smartMapping/statistics/summaryStatistics.js";
|
|
28
28
|
import "simple-statistics";
|
|
29
29
|
import "@arcgis/core/AttributeBinsGraphic.js";
|
|
30
|
+
import { g as G } from "./utils2.js";
|
|
30
31
|
import { c as ut } from "./index2.js";
|
|
31
32
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
32
33
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
33
|
-
v5.0.0-next.
|
|
34
|
-
var
|
|
35
|
-
for (var a =
|
|
36
|
-
(l = t[
|
|
37
|
-
return a &&
|
|
34
|
+
v5.0.0-next.119 */
|
|
35
|
+
var ct = Object.defineProperty, yt = Object.getOwnPropertyDescriptor, gt = (t, e, s, r) => {
|
|
36
|
+
for (var a = yt(e, s), i = t.length - 1, l; i >= 0; i--)
|
|
37
|
+
(l = t[i]) && (a = l(e, s, a) || a);
|
|
38
|
+
return a && ct(e, s, a), a;
|
|
38
39
|
};
|
|
39
|
-
const
|
|
40
|
-
e.title !== void 0 ? e.title.content.text = t : e.title === void 0 && t !== void 0 && (e.title =
|
|
40
|
+
const me = (t) => t.title?.content.text ?? "", pt = (t, e) => {
|
|
41
|
+
e.title !== void 0 ? e.title.content.text = t : e.title === void 0 && t !== void 0 && (e.title = Ne({
|
|
41
42
|
text: t,
|
|
42
43
|
visible: !0,
|
|
43
|
-
font:
|
|
44
|
+
font: we(Oe.ChartTitle)
|
|
44
45
|
}));
|
|
45
46
|
};
|
|
46
|
-
class
|
|
47
|
+
class mt extends H {
|
|
47
48
|
/**
|
|
48
49
|
* The chart title text.
|
|
49
50
|
*/
|
|
50
51
|
get titleText() {
|
|
51
|
-
return
|
|
52
|
+
return me(this._config);
|
|
52
53
|
}
|
|
53
54
|
set titleText(e) {
|
|
54
|
-
|
|
55
|
+
pt(e, this._config);
|
|
55
56
|
}
|
|
56
57
|
}
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
],
|
|
60
|
-
const
|
|
61
|
-
|
|
62
|
-
if (a !== void 0) {
|
|
63
|
-
const r = a.title?.content.text;
|
|
64
|
-
(a.title === void 0 || i === void 0) && (a.title = D({
|
|
65
|
-
text: "",
|
|
66
|
-
visible: !0,
|
|
67
|
-
font: k(w.AxisTitle),
|
|
68
|
-
type: w.AxisTitle
|
|
69
|
-
})), i !== void 0 && (a.title.content = i), a.title.content.text = r;
|
|
70
|
-
}
|
|
71
|
-
}, Ss = (t) => {
|
|
72
|
-
for (const e of t.axes ?? [])
|
|
73
|
-
if (e?.labels !== void 0)
|
|
74
|
-
return e.labels.content;
|
|
75
|
-
}, Ts = (t, e) => {
|
|
76
|
-
for (const s of e.axes ?? [])
|
|
77
|
-
if (s !== void 0) {
|
|
78
|
-
const i = s.labels?.content.text;
|
|
79
|
-
t === void 0 ? s.labels = D({
|
|
80
|
-
text: "",
|
|
81
|
-
visible: !0,
|
|
82
|
-
font: k(w.AxisLabels),
|
|
83
|
-
type: w.AxisLabels
|
|
84
|
-
}) : s.labels.content = R(t), s.labels.content.text = i;
|
|
85
|
-
}
|
|
86
|
-
}, Fs = (t) => {
|
|
87
|
-
for (const e of t.axes ?? [])
|
|
88
|
-
if (e?.lineSymbol !== void 0)
|
|
89
|
-
return e.lineSymbol;
|
|
90
|
-
}, bs = (t, e) => {
|
|
91
|
-
for (const s of e.axes ?? [])
|
|
92
|
-
s !== void 0 && (s.lineSymbol = R(t) ?? De());
|
|
93
|
-
}, hs = (t) => {
|
|
94
|
-
for (const e of t.axes ?? [])
|
|
95
|
-
if (e?.grid !== void 0)
|
|
96
|
-
return e.grid;
|
|
97
|
-
}, Cs = (t, e, s) => {
|
|
98
|
-
const i = e.axes;
|
|
99
|
-
s.forEach((a) => {
|
|
100
|
-
i?.[a] !== void 0 && (i[a].grid = R(t));
|
|
101
|
-
});
|
|
102
|
-
}, U = (t, e) => e.axes?.[t]?.title?.content.text ?? "", Bs = (t, e, s) => {
|
|
103
|
-
const i = s.axes?.[e];
|
|
104
|
-
i?.title !== void 0 ? i.title.content.text = t : i !== void 0 && i?.title === void 0 && (i.title = D({
|
|
105
|
-
text: t,
|
|
106
|
-
visible: !0,
|
|
107
|
-
font: k(w.AxisTitle)
|
|
108
|
-
}));
|
|
109
|
-
}, As = (t, e) => e.axes?.[t]?.visible ?? !0, vs = (t, e, s) => {
|
|
110
|
-
const i = s.axes?.[e];
|
|
111
|
-
i !== void 0 && (i.visible = t);
|
|
112
|
-
}, Ls = (t, e) => e.axes?.[t]?.labels?.visible ?? !0, Is = (t, e, s) => {
|
|
113
|
-
const i = s.axes?.[e];
|
|
114
|
-
i?.labels !== void 0 ? i.labels.visible = t : i !== void 0 && i?.labels === void 0 && (i.labels = D({
|
|
115
|
-
text: "",
|
|
116
|
-
visible: t,
|
|
117
|
-
font: k(w.AxisLabels),
|
|
118
|
-
type: w.AxisLabels
|
|
119
|
-
}));
|
|
120
|
-
}, Vs = (t, e) => e.axes?.[t]?.title?.visible ?? !1, qs = (t, e, s) => {
|
|
121
|
-
const i = s.axes?.[e];
|
|
122
|
-
i?.title !== void 0 ? i.title.visible = t : i !== void 0 && i?.title === void 0 && (i.title = D({
|
|
123
|
-
text: U(e, s),
|
|
124
|
-
visible: t,
|
|
125
|
-
font: k(w.AxisTitle)
|
|
126
|
-
}));
|
|
127
|
-
}, Ns = (t, e) => t.axes?.[e]?.displayZeroLine ?? !1, ws = (t, e, s) => {
|
|
128
|
-
t.axes?.[s] !== void 0 && (t.axes[s].displayZeroLine = e);
|
|
129
|
-
}, Os = (t, e) => t.axes?.[e]?.displayCursorTooltip ?? !1, Ds = (t) => {
|
|
130
|
-
const { config: e, displayCursorTooltip: s, axisIndex: i } = t;
|
|
131
|
-
e.axes?.[i] !== void 0 && (e.axes[i].displayCursorTooltip = s);
|
|
132
|
-
}, ks = (t, e) => t.axes?.[e]?.buffer ?? !1, Ms = (t) => {
|
|
133
|
-
const { config: e, buffer: s, axisIndex: i } = t, a = e.axes?.[i];
|
|
134
|
-
a !== void 0 && (a.buffer = s);
|
|
135
|
-
}, Ps = (t, e) => t.axes?.[e]?.tickSpacing, Rs = (t) => {
|
|
136
|
-
const { config: e, tickSpacing: s, axisIndex: i } = t;
|
|
137
|
-
e.axes?.[i] !== void 0 && (e.axes[i].tickSpacing = s);
|
|
138
|
-
}, Es = (t, e) => t.axes?.[e]?.integerOnlyValues ?? !1, $s = (t) => {
|
|
139
|
-
const { config: e, integerOnlyValues: s, axisIndex: i } = t;
|
|
140
|
-
e.axes?.[i] !== void 0 && (e.axes[i].integerOnlyValues = s);
|
|
141
|
-
}, xt = (t) => t.series.map((e) => String(ee({ where: e.query?.where }))).filter((e) => e !== void 0 && e.trim() !== "");
|
|
142
|
-
class Ws extends J {
|
|
58
|
+
gt([
|
|
59
|
+
Ae
|
|
60
|
+
], mt.prototype, "titleText");
|
|
61
|
+
const ft = (t) => t.series.map((e) => String(Q({ where: e.query?.where }))).filter((e) => e !== void 0 && e.trim() !== "");
|
|
62
|
+
class fs extends H {
|
|
143
63
|
/**
|
|
144
64
|
* The split-by values for the chart.
|
|
145
65
|
*/
|
|
146
66
|
get splitByValues() {
|
|
147
|
-
return
|
|
67
|
+
return ft(this._config);
|
|
148
68
|
}
|
|
149
69
|
}
|
|
150
70
|
const St = (t) => {
|
|
151
71
|
let e;
|
|
152
72
|
const s = t.series[0];
|
|
153
|
-
return
|
|
154
|
-
}, Tt = (t) => {
|
|
155
|
-
let e;
|
|
156
|
-
const s = t.series[0];
|
|
157
|
-
return L(s) && (e = s.temporalBinning?.unit), e;
|
|
73
|
+
return I(s) && (e = s.temporalBinning?.size), e;
|
|
158
74
|
}, Ft = (t) => {
|
|
159
75
|
let e;
|
|
160
76
|
const s = t.series[0];
|
|
161
|
-
return
|
|
162
|
-
},
|
|
77
|
+
return I(s) && (e = s.temporalBinning?.unit), e;
|
|
78
|
+
}, Tt = (t) => {
|
|
163
79
|
let e;
|
|
164
80
|
const s = t.series[0];
|
|
165
|
-
return
|
|
81
|
+
return I(s) && (e = s.temporalBinning?.timeAggregationType), e;
|
|
166
82
|
}, ht = (t) => {
|
|
167
83
|
let e;
|
|
168
84
|
const s = t.series[0];
|
|
169
|
-
return
|
|
170
|
-
},
|
|
85
|
+
return I(s) && (e = s.temporalBinning?.trimIncompleteTimeInterval), e;
|
|
86
|
+
}, xt = (t) => {
|
|
87
|
+
let e;
|
|
88
|
+
const s = t.series[0];
|
|
89
|
+
return I(s) && (e = s.temporalBinning?.nullPolicy), e;
|
|
90
|
+
}, fe = (t, e) => {
|
|
171
91
|
e?.series?.forEach((s) => {
|
|
172
|
-
|
|
173
|
-
}),
|
|
92
|
+
I(s) && (s.temporalBinning ??= {}, s.temporalBinning.size = t);
|
|
93
|
+
}), x({ config: e, value: null, axisIndex: 1, isMax: !1 }), x({ config: e, value: null, axisIndex: 1, isMax: !0 });
|
|
174
94
|
}, Ct = (t, e) => {
|
|
175
95
|
e?.series?.forEach((s) => {
|
|
176
|
-
|
|
177
|
-
}),
|
|
178
|
-
},
|
|
96
|
+
I(s) && (s.temporalBinning ??= {}, s.temporalBinning.nullPolicy = t);
|
|
97
|
+
}), x({ config: e, value: null, axisIndex: 1, isMax: !1 }), x({ config: e, value: null, axisIndex: 1, isMax: !0 });
|
|
98
|
+
}, Ss = (t, e) => {
|
|
179
99
|
e.series?.forEach((s) => {
|
|
180
|
-
|
|
181
|
-
}),
|
|
182
|
-
},
|
|
100
|
+
I(s) && (s.temporalBinning ??= {}, s.temporalBinning.unit = t);
|
|
101
|
+
}), x({ config: e, value: null, axisIndex: 1, isMax: !1 }), x({ config: e, value: null, axisIndex: 1, isMax: !0 });
|
|
102
|
+
}, Fs = (t, e) => {
|
|
183
103
|
e.series?.forEach((s) => {
|
|
184
|
-
|
|
185
|
-
}),
|
|
186
|
-
},
|
|
104
|
+
I(s) && (s.temporalBinning ??= {}, s.temporalBinning.timeAggregationType = t);
|
|
105
|
+
}), x({ config: e, value: null, axisIndex: 1, isMax: !1 }), x({ config: e, value: null, axisIndex: 1, isMax: !0 });
|
|
106
|
+
}, Ts = (t, e) => {
|
|
187
107
|
e.series?.forEach((s) => {
|
|
188
|
-
|
|
189
|
-
}),
|
|
190
|
-
},
|
|
191
|
-
|
|
192
|
-
},
|
|
193
|
-
class
|
|
108
|
+
I(s) && (s.temporalBinning ??= {}, s.temporalBinning.trimIncompleteTimeInterval = t);
|
|
109
|
+
}), x({ config: e, value: null, axisIndex: 1, isMax: !1 }), x({ config: e, value: null, axisIndex: 1, isMax: !0 });
|
|
110
|
+
}, hs = (t) => {
|
|
111
|
+
fe(0, t);
|
|
112
|
+
}, Se = (t) => t.series.length ?? 0;
|
|
113
|
+
class xs extends H {
|
|
194
114
|
/**
|
|
195
115
|
* The length of the series array.
|
|
196
116
|
*/
|
|
197
117
|
get seriesLength() {
|
|
198
|
-
return
|
|
118
|
+
return Se(this._config);
|
|
199
119
|
}
|
|
200
120
|
}
|
|
201
|
-
function
|
|
121
|
+
function Cs(t, e) {
|
|
202
122
|
let s;
|
|
203
123
|
return e !== void 0 && (s = { ...e }, s.legend !== void 0 && (s.legend.position = t)), s;
|
|
204
124
|
}
|
|
205
|
-
function
|
|
125
|
+
function Bs(t, e) {
|
|
206
126
|
let s;
|
|
207
127
|
return e !== void 0 && (s = { ...e }, s.legend !== void 0 && (s.legend.visible = t)), s;
|
|
208
128
|
}
|
|
209
|
-
function
|
|
129
|
+
function bs(t, e) {
|
|
210
130
|
let s;
|
|
211
131
|
return e !== void 0 && (s = { ...e, rotated: t }), s;
|
|
212
132
|
}
|
|
@@ -214,68 +134,68 @@ function Bt(t) {
|
|
|
214
134
|
let e;
|
|
215
135
|
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;
|
|
216
136
|
}
|
|
217
|
-
function
|
|
218
|
-
return e != null ||
|
|
137
|
+
function As(t, e) {
|
|
138
|
+
return e != null || ce(t);
|
|
219
139
|
}
|
|
220
|
-
async function
|
|
221
|
-
const { queryObject: e, chartConfig: s, options:
|
|
222
|
-
let
|
|
223
|
-
const n =
|
|
140
|
+
async function bt(t) {
|
|
141
|
+
const { queryObject: e, chartConfig: s, options: r, splitByField: a } = t;
|
|
142
|
+
let i = [], l;
|
|
143
|
+
const n = re(s), o = n.series[0], d = Ee({
|
|
224
144
|
queryObject: e,
|
|
225
145
|
chartConfig: n,
|
|
226
|
-
runtimeDataFilters:
|
|
227
|
-
ignoreViewExtent:
|
|
146
|
+
runtimeDataFilters: r?.runtimeDataFilters,
|
|
147
|
+
ignoreViewExtent: r?.ignoreViewExtent
|
|
228
148
|
});
|
|
229
|
-
if (d.outStatistics?.[0]?.outStatisticFieldName && (d.outStatistics[0].outStatisticFieldName =
|
|
230
|
-
xAxisValueFormatType:
|
|
231
|
-
setTimeBinningInfoWhenNotProvided:
|
|
149
|
+
if (d.outStatistics?.[0]?.outStatisticFieldName && (d.outStatistics[0].outStatisticFieldName = $e.outStatistics.outStatisticFieldName), I(o) && We({
|
|
150
|
+
xAxisValueFormatType: Xe(n),
|
|
151
|
+
setTimeBinningInfoWhenNotProvided: r?.setTimeBinningInfoWhenNotProvided,
|
|
232
152
|
seriesConfig: o
|
|
233
|
-
}) &&
|
|
234
|
-
const { temporalBinning: f, x:
|
|
153
|
+
}) && je(e)) {
|
|
154
|
+
const { temporalBinning: f, x: u } = o, { uniqueQuery: F } = await Z({
|
|
235
155
|
chartConfig: n,
|
|
236
156
|
queryConfig: d,
|
|
237
157
|
queryObject: e,
|
|
238
|
-
options:
|
|
158
|
+
options: r
|
|
239
159
|
});
|
|
240
|
-
l = await
|
|
160
|
+
l = await Ye({
|
|
241
161
|
queryObject: e,
|
|
242
|
-
dateField:
|
|
162
|
+
dateField: u,
|
|
243
163
|
splitByField: a,
|
|
244
|
-
queryConfig:
|
|
164
|
+
queryConfig: F,
|
|
245
165
|
temporalBinning: f
|
|
246
|
-
}),
|
|
166
|
+
}), i = Array.from(
|
|
247
167
|
new Set(
|
|
248
|
-
l.flatMap((
|
|
249
|
-
const { stackedAttributes: y } =
|
|
250
|
-
let
|
|
251
|
-
return y && (
|
|
168
|
+
l.flatMap((S) => {
|
|
169
|
+
const { stackedAttributes: y } = S;
|
|
170
|
+
let c = [];
|
|
171
|
+
return y && (c = y.map((m) => m[a]).filter((m) => m !== void 0)), c;
|
|
252
172
|
})
|
|
253
173
|
).values()
|
|
254
174
|
);
|
|
255
175
|
} else {
|
|
256
|
-
const { uniqueQuery: f } = await
|
|
176
|
+
const { uniqueQuery: f } = await Z({
|
|
257
177
|
chartConfig: n,
|
|
258
178
|
queryObject: e,
|
|
259
179
|
queryConfig: d,
|
|
260
|
-
options:
|
|
180
|
+
options: r
|
|
261
181
|
});
|
|
262
|
-
l = await
|
|
182
|
+
l = await Ke({
|
|
263
183
|
queryObject: e,
|
|
264
184
|
queryConfig: f,
|
|
265
185
|
featureCount: 1
|
|
266
|
-
}),
|
|
186
|
+
}), i = Array.from(
|
|
267
187
|
new Set(
|
|
268
|
-
l.map((
|
|
188
|
+
l.map((u) => u.attributes[a]).filter((u) => u !== void 0)
|
|
269
189
|
).values()
|
|
270
190
|
);
|
|
271
191
|
}
|
|
272
|
-
return { allValues:
|
|
192
|
+
return { allValues: i, preFetchedQueryResponse: l };
|
|
273
193
|
}
|
|
274
|
-
function
|
|
194
|
+
function At(t, e) {
|
|
275
195
|
const s = /* @__PURE__ */ new Map();
|
|
276
|
-
return t.series.forEach((
|
|
277
|
-
let a =
|
|
278
|
-
where:
|
|
196
|
+
return t.series.forEach((r) => {
|
|
197
|
+
let a = Q({
|
|
198
|
+
where: r.query?.where,
|
|
279
199
|
// normalize the value so it matches what we get from getAllValues()
|
|
280
200
|
// Refer to https://devtopia.esri.com/WebGIS/arcgis-charts/issues/8127
|
|
281
201
|
normalize: !0,
|
|
@@ -284,60 +204,60 @@ function vt(t, e) {
|
|
|
284
204
|
escape: !1
|
|
285
205
|
});
|
|
286
206
|
e && a !== null && (a = Number(a));
|
|
287
|
-
const
|
|
288
|
-
|
|
289
|
-
...s.get(
|
|
207
|
+
const i = Ie([r]);
|
|
208
|
+
i !== void 0 && s.set(i, [
|
|
209
|
+
...s.get(i) ?? [],
|
|
290
210
|
a
|
|
291
211
|
]);
|
|
292
212
|
}), s;
|
|
293
213
|
}
|
|
294
|
-
function
|
|
295
|
-
const { allValues: e, configUniqueValuesPerSeriesType: s, initialConfigWasEmpty:
|
|
296
|
-
return Array.from(s.keys()).forEach((
|
|
297
|
-
const l = s.get(
|
|
214
|
+
function vt(t) {
|
|
215
|
+
const { allValues: e, configUniqueValuesPerSeriesType: s, initialConfigWasEmpty: r } = t, a = /* @__PURE__ */ new Map();
|
|
216
|
+
return Array.from(s.keys()).forEach((i) => {
|
|
217
|
+
const l = s.get(i) ?? [];
|
|
298
218
|
let n = [];
|
|
299
|
-
|
|
219
|
+
r ? n = e : e.forEach((o) => {
|
|
300
220
|
l.includes(o) || n.push(o);
|
|
301
|
-
}), a.set(
|
|
221
|
+
}), a.set(i, n);
|
|
302
222
|
}), a;
|
|
303
223
|
}
|
|
304
224
|
function It(t) {
|
|
305
|
-
const { chartConfig: e, missingValue: s, splitByField:
|
|
225
|
+
const { chartConfig: e, missingValue: s, splitByField: r, seriesTemplate: a } = t, i = JSON.parse(
|
|
306
226
|
JSON.stringify({
|
|
307
227
|
...e.series[0],
|
|
308
228
|
...a
|
|
309
229
|
})
|
|
310
230
|
);
|
|
311
|
-
if (
|
|
312
|
-
if (
|
|
313
|
-
const n =
|
|
314
|
-
|
|
231
|
+
if (i.query) {
|
|
232
|
+
if (i.id = `${s}-${e.series.length}-${Date.now()}`, i.name = `${s}`, i.query.outStatistics?.[0] !== void 0) {
|
|
233
|
+
const n = i.id;
|
|
234
|
+
i.query.outStatistics[0].outStatisticFieldName = n, "y" in i && (i.y = n);
|
|
315
235
|
}
|
|
316
236
|
const l = typeof s == "number" || s === null ? s : `'${s}'`;
|
|
317
|
-
|
|
237
|
+
i.query.where = `${r}=${l}`;
|
|
318
238
|
}
|
|
319
|
-
return
|
|
239
|
+
return i;
|
|
320
240
|
}
|
|
321
|
-
async function
|
|
322
|
-
const { updateSplitBySeries: e, config: s, options:
|
|
241
|
+
async function Lt(t) {
|
|
242
|
+
const { updateSplitBySeries: e, config: s, options: r, queryObject: a } = t, { seriesTemplate: i } = e ?? {};
|
|
323
243
|
let l;
|
|
324
|
-
if (e !== void 0 && s !== void 0 && (s.series.length > 0 ||
|
|
244
|
+
if (e !== void 0 && s !== void 0 && (s.series.length > 0 || i !== void 0) && e.addMissingSeries) {
|
|
325
245
|
const n = s.series.length === 0;
|
|
326
|
-
s.series.length === 0 &&
|
|
327
|
-
const o =
|
|
328
|
-
if ((o ===
|
|
329
|
-
const d = Pe(s.series[0]?.query?.where), f =
|
|
246
|
+
s.series.length === 0 && i !== void 0 && s.series.push(i);
|
|
247
|
+
const o = E(s.series);
|
|
248
|
+
if ((o === V.BoxPlotMonoFieldAndSplitBy || o === V.BoxPlotMultiFieldsAndSplitBy || o === V.BoxPlotMonoFieldAndCategoryAndSplitBy || o === V.BarAndLineSplitBy || o === V.BarAndLineSplitByNoAggregation) && a !== void 0) {
|
|
249
|
+
const d = Pe(s.series[0]?.query?.where), f = ke(a);
|
|
330
250
|
await f.load();
|
|
331
|
-
const
|
|
251
|
+
const u = f.getField(d)?.toJSON(), F = Re(u), S = await bt({
|
|
332
252
|
queryObject: a,
|
|
333
253
|
chartConfig: s,
|
|
334
254
|
splitByField: d,
|
|
335
|
-
options:
|
|
336
|
-
}), { allValues: y } =
|
|
337
|
-
if ({ preFetchedQueryResponse: l } =
|
|
338
|
-
const
|
|
255
|
+
options: r
|
|
256
|
+
}), { allValues: y } = S;
|
|
257
|
+
if ({ preFetchedQueryResponse: l } = S, y.length > 0) {
|
|
258
|
+
const c = At(s, F), m = vt({
|
|
339
259
|
allValues: y,
|
|
340
|
-
configUniqueValuesPerSeriesType:
|
|
260
|
+
configUniqueValuesPerSeriesType: c,
|
|
341
261
|
initialConfigWasEmpty: n
|
|
342
262
|
});
|
|
343
263
|
Array.from(m.keys()).forEach((p) => {
|
|
@@ -345,7 +265,7 @@ async function Vt(t) {
|
|
|
345
265
|
s.series.push(
|
|
346
266
|
It({
|
|
347
267
|
chartConfig: s,
|
|
348
|
-
seriesTemplate:
|
|
268
|
+
seriesTemplate: i,
|
|
349
269
|
missingValue: T,
|
|
350
270
|
splitByField: d
|
|
351
271
|
})
|
|
@@ -358,55 +278,55 @@ async function Vt(t) {
|
|
|
358
278
|
return l;
|
|
359
279
|
}
|
|
360
280
|
function qt(t, e) {
|
|
361
|
-
e && !
|
|
281
|
+
e && !ce(e) && (e = Me({ chartConfig: e, queryObject: t }));
|
|
362
282
|
}
|
|
363
|
-
async function
|
|
364
|
-
const { configToAlter: e, layer: s, addMissingSeries:
|
|
283
|
+
async function vs(t) {
|
|
284
|
+
const { configToAlter: e, layer: s, addMissingSeries: r, updateSplitBySeries: a, chartContainer: i, queryObject: l, options: n } = t;
|
|
365
285
|
let o = e, d;
|
|
366
|
-
return o && (qt(s, o), o = await ut(o, s),
|
|
286
|
+
return o && (qt(s, o), o = await ut(o, s), r && (d = await Lt({
|
|
367
287
|
updateSplitBySeries: a,
|
|
368
288
|
config: o,
|
|
369
289
|
options: n,
|
|
370
290
|
queryObject: l
|
|
371
|
-
})), o =
|
|
291
|
+
})), o = De(o, i)), { alteredConfig: o, preFetchedQueryResponse: d };
|
|
372
292
|
}
|
|
373
|
-
const
|
|
293
|
+
const Is = (t) => t.hideEmptyRowsAndColumns, Ls = (t, e) => {
|
|
374
294
|
t.hideEmptyRowsAndColumns = e;
|
|
375
|
-
},
|
|
295
|
+
}, qs = (t, e) => {
|
|
376
296
|
const s = t.series[0];
|
|
377
297
|
s.heatRulesType = e;
|
|
378
|
-
},
|
|
298
|
+
}, Vs = (t) => t.series[0].heatRulesType, Ns = (t, e) => {
|
|
379
299
|
const s = t.series[0];
|
|
380
300
|
s.gradientRules = e;
|
|
381
|
-
},
|
|
382
|
-
const { yField: e, config: s, layerInfo:
|
|
383
|
-
if (typeof e == "string" && l !== e && o && (o.y = e, Bt(s), l ===
|
|
301
|
+
}, ws = (t) => t.series[0].gradientRules, Os = (t) => {
|
|
302
|
+
const { yField: e, config: s, layerInfo: r } = t, { layerFieldsInfo: a } = r, i = G(1, s), l = Vt(s), n = $(s), o = s.series[0];
|
|
303
|
+
if (typeof e == "string" && l !== e && o && (o.y = e, Bt(s), l === i || n)) {
|
|
384
304
|
const d = N(a, e);
|
|
385
|
-
|
|
305
|
+
U(s, 1, d);
|
|
386
306
|
}
|
|
387
|
-
},
|
|
307
|
+
}, Vt = (t) => t.series[0].y ?? "", Ds = (t, e) => {
|
|
388
308
|
const s = e.series[0];
|
|
389
309
|
s.xTemporalBinning = t;
|
|
390
|
-
},
|
|
310
|
+
}, Ms = (t) => t.series[0].xTemporalBinning, Ps = (t, e) => {
|
|
391
311
|
const s = e.series[0];
|
|
392
312
|
s.yTemporalBinning = t;
|
|
393
|
-
},
|
|
313
|
+
}, ks = (t) => t.series[0].yTemporalBinning, Nt = (t, e) => {
|
|
394
314
|
e.orderOptions ??= {};
|
|
395
|
-
const s = e.axes?.[0]?.valueFormat?.type === "category" ?
|
|
315
|
+
const s = e.axes?.[0]?.valueFormat?.type === "category" ? h.Category : h.YValue, r = _(e)[0], a = e.axes?.[1]?.valueFormat?.type === "category" ? h.Category : h.YValue, i = _(e)[1], l = {
|
|
396
316
|
...e.orderOptions.data ?? {},
|
|
397
|
-
orderType:
|
|
317
|
+
orderType: h.MultiAxes
|
|
398
318
|
};
|
|
399
|
-
|
|
400
|
-
},
|
|
319
|
+
r === K.customSort && s === h.Category && (l.orderByX = [...t]), i === K.customSort && a === h.Category && (l.orderByY = [...t]), Object.keys(l).length > 1 && (e.orderOptions.data = l);
|
|
320
|
+
}, Rs = (t, e) => {
|
|
401
321
|
const s = e.series[0];
|
|
402
322
|
s.gridLine && (s.gridLine.width = t);
|
|
403
|
-
},
|
|
404
|
-
const s = e.series[0],
|
|
405
|
-
s.gridLine &&
|
|
406
|
-
},
|
|
323
|
+
}, Es = (t) => t.series[0].gridLine?.width, $s = (t, e) => {
|
|
324
|
+
const s = e.series[0], r = t?.length === 4 && t.every((a) => typeof a == "number");
|
|
325
|
+
s.gridLine && r && (s.gridLine.color = t);
|
|
326
|
+
}, Ws = (t) => t.series[0].gridLine?.color, Xs = (t, e) => {
|
|
407
327
|
const s = e.legend;
|
|
408
328
|
s && (s.position = t);
|
|
409
|
-
},
|
|
329
|
+
}, js = (t) => t.legend?.position ?? Le.Bottom, Ys = (t) => t.series[0].query?.outStatistics?.[0]?.onStatisticField, Ks = (t, e) => {
|
|
410
330
|
const s = e.series[0].query?.outStatistics?.[0];
|
|
411
331
|
s ? (s.onStatisticField = t, s.outStatisticFieldName = `${s.statisticType}_${t}`) : e.series[0].query = {
|
|
412
332
|
outStatistics: [
|
|
@@ -417,129 +337,129 @@ const Zs = (t) => t.hideEmptyRowsAndColumns, Js = (t, e) => {
|
|
|
417
337
|
}
|
|
418
338
|
]
|
|
419
339
|
};
|
|
420
|
-
},
|
|
340
|
+
}, Us = (t) => t.series[0].query?.outStatistics?.[0].statisticType ?? A.Count, _s = (t, e) => {
|
|
421
341
|
const s = e.series[0]?.query?.outStatistics?.[0];
|
|
422
342
|
s && t !== A.NoAggregation && (s.statisticType = t, s.outStatisticFieldName = `${t}_${s.onStatisticField}`);
|
|
423
|
-
},
|
|
343
|
+
}, Hs = (t) => t.nullPolicy, Qs = (t, e) => {
|
|
424
344
|
e.nullPolicy = t;
|
|
425
|
-
},
|
|
345
|
+
}, zs = (t) => t.series[0].emptyCells, Gs = (t, e) => {
|
|
426
346
|
e.series[0].emptyCells = t;
|
|
427
|
-
},
|
|
347
|
+
}, Js = (t) => t.series[0].emptyCells?.text, Zs = (t, e) => {
|
|
428
348
|
e.series[0].emptyCells ? e.series[0].emptyCells.text = t : e.series[0].emptyCells = { text: t };
|
|
429
|
-
},
|
|
349
|
+
}, ei = (t) => t.includeLeapDay, ti = (t, e) => {
|
|
430
350
|
e.includeLeapDay = t;
|
|
431
|
-
},
|
|
351
|
+
}, si = (t) => t.series[0].emptyCells?.symbol, ii = (t, e) => {
|
|
432
352
|
e.series[0].emptyCells ? e.series[0].emptyCells.symbol = t : e.series[0].emptyCells = { symbol: t };
|
|
433
353
|
};
|
|
434
|
-
function
|
|
435
|
-
return
|
|
354
|
+
function ai(t) {
|
|
355
|
+
return Ue(t);
|
|
436
356
|
}
|
|
437
|
-
function
|
|
357
|
+
function ri(t) {
|
|
438
358
|
return t.viewType;
|
|
439
359
|
}
|
|
440
|
-
function
|
|
441
|
-
|
|
360
|
+
function li(t, e) {
|
|
361
|
+
_e(e) || (e.viewType = t);
|
|
442
362
|
}
|
|
443
|
-
function
|
|
444
|
-
return t.series[0].classBreaksRules?.breaksCount ??
|
|
363
|
+
function ni(t) {
|
|
364
|
+
return t.series[0].classBreaksRules?.breaksCount ?? P.classBreaks.breaksCount;
|
|
445
365
|
}
|
|
446
|
-
function
|
|
447
|
-
e.series[0].classBreaksRules !== void 0 ? e.series[0].classBreaksRules.breaksCount = t ??
|
|
448
|
-
breaksCount: t ??
|
|
366
|
+
function oi(t, e) {
|
|
367
|
+
e.series[0].classBreaksRules !== void 0 ? e.series[0].classBreaksRules.breaksCount = t ?? P.classBreaks.breaksCount : e.series[0].classBreaksRules = {
|
|
368
|
+
breaksCount: t ?? P.classBreaks.breaksCount
|
|
449
369
|
};
|
|
450
370
|
}
|
|
451
|
-
function
|
|
371
|
+
function di(t) {
|
|
452
372
|
return t.series[0].classBreaksRules?.classificationMethod;
|
|
453
373
|
}
|
|
454
|
-
function
|
|
374
|
+
function ui(t, e) {
|
|
455
375
|
e.series[0].classBreaksRules !== void 0 ? e.series[0].classBreaksRules.classificationMethod = t : e.series[0].classBreaksRules = {
|
|
456
376
|
classificationMethod: t
|
|
457
|
-
}, e.series[0].classBreaksRules.breaksCount = e.series[0].classBreaksRules.breaksCount ??
|
|
377
|
+
}, e.series[0].classBreaksRules.breaksCount = e.series[0].classBreaksRules.breaksCount ?? P.classBreaks.breaksCount;
|
|
458
378
|
}
|
|
459
|
-
function
|
|
460
|
-
const { seriesIndex: e, xAxisField: s, aggregationType:
|
|
379
|
+
function D(t) {
|
|
380
|
+
const { seriesIndex: e, xAxisField: s, aggregationType: r, config: a, layerInfo: i, commonStrings: l } = t, n = W(i?.layer).idField;
|
|
461
381
|
let o;
|
|
462
382
|
const d = a.series[e ?? 0];
|
|
463
|
-
let f = !1,
|
|
383
|
+
let f = !1, u = !1, F = !1;
|
|
464
384
|
if (d === void 0) {
|
|
465
|
-
const
|
|
466
|
-
f =
|
|
385
|
+
const c = a.series;
|
|
386
|
+
f = c.slice(0, e).every((m) => B(m)), u = c.slice(0, e).every((m) => b(m)), F = c.slice(0, e).every((m) => se(m));
|
|
467
387
|
} else
|
|
468
|
-
f =
|
|
469
|
-
f ? o =
|
|
388
|
+
f = B(d), u = b(d), F = se(d);
|
|
389
|
+
f ? o = Ge({
|
|
470
390
|
commonStrings: l,
|
|
471
391
|
seriesIndex: e,
|
|
472
392
|
objectIDField: n
|
|
473
|
-
}) :
|
|
393
|
+
}) : u ? o = Je({
|
|
474
394
|
commonStrings: l,
|
|
475
395
|
seriesIndex: e,
|
|
476
396
|
objectIDField: n
|
|
477
|
-
}) :
|
|
397
|
+
}) : F ? o = Ze(l, n) : o = et({
|
|
478
398
|
seriesIndex: e,
|
|
479
399
|
objectIDField: n,
|
|
480
400
|
commonStrings: l
|
|
481
401
|
});
|
|
482
|
-
const
|
|
402
|
+
const S = a.series[0]?.dataLabels, y = {
|
|
483
403
|
...o,
|
|
484
404
|
x: s,
|
|
485
405
|
y: "",
|
|
486
406
|
dataLabels: {
|
|
487
407
|
...o.dataLabels,
|
|
488
|
-
type: o.dataLabels?.type ??
|
|
489
|
-
content: { ...o.dataLabels?.content, ...
|
|
490
|
-
visible:
|
|
408
|
+
type: o.dataLabels?.type ?? O.Text,
|
|
409
|
+
content: { ...o.dataLabels?.content, ...S?.content, type: it.TS },
|
|
410
|
+
visible: S?.visible ?? !1
|
|
491
411
|
}
|
|
492
412
|
};
|
|
493
413
|
if (y.query = {
|
|
494
414
|
groupByFieldsForStatistics: [s]
|
|
495
|
-
},
|
|
496
|
-
const
|
|
497
|
-
y.y =
|
|
415
|
+
}, r !== A.NoAggregation && n !== void 0) {
|
|
416
|
+
const c = `${r}_${n}_0`.toUpperCase();
|
|
417
|
+
y.y = c, y.query.outStatistics = [
|
|
498
418
|
{
|
|
499
|
-
statisticType:
|
|
419
|
+
statisticType: r,
|
|
500
420
|
onStatisticField: n,
|
|
501
|
-
outStatisticFieldName:
|
|
421
|
+
outStatisticFieldName: c
|
|
502
422
|
}
|
|
503
423
|
];
|
|
504
424
|
}
|
|
505
|
-
if (
|
|
506
|
-
let
|
|
507
|
-
if (a?.series?.[0] !== void 0 && (
|
|
508
|
-
let m =
|
|
509
|
-
m ===
|
|
425
|
+
if (B(y) || b(y) || v(y) && a.series[0]?.binTemporalData) {
|
|
426
|
+
let c;
|
|
427
|
+
if (a?.series?.[0] !== void 0 && (c = E(a.series)), c !== V.BarAndLineNoAggregation && c !== V.BarAndLineSplitByNoAggregation) {
|
|
428
|
+
let m = Ft(a);
|
|
429
|
+
m === Y.Quarter && (m = Y.Month), y.temporalBinning = {
|
|
510
430
|
size: St(a),
|
|
511
431
|
unit: m,
|
|
512
|
-
timeAggregationType:
|
|
513
|
-
trimIncompleteTimeInterval:
|
|
514
|
-
nullPolicy:
|
|
432
|
+
timeAggregationType: Tt(a),
|
|
433
|
+
trimIncompleteTimeInterval: ht(a),
|
|
434
|
+
nullPolicy: xt(a)
|
|
515
435
|
};
|
|
516
436
|
}
|
|
517
437
|
}
|
|
518
|
-
return
|
|
438
|
+
return re(y);
|
|
519
439
|
}
|
|
520
|
-
function
|
|
521
|
-
const { layerFieldsInfo:
|
|
440
|
+
function Fe(t, e, s) {
|
|
441
|
+
const { layerFieldsInfo: r } = e, { idField: a, isTraditionalTypeOID: i } = W(e.layer), l = M(t), n = J(t), o = he(t), d = R(t), f = i && (n.length === 0 || n.includes(a)), u = ze(o, s), F = f ? "" : n.map((T) => N(r ?? [], T)).join(", "), S = N(r ?? [], l), y = N(r ?? [], d), c = t.series.some((T) => v(T)), m = c ? "category" : "xAxisField", p = S;
|
|
522
442
|
let g = "";
|
|
523
|
-
if (
|
|
443
|
+
if (pe({
|
|
524
444
|
fieldName: l,
|
|
525
445
|
numericFields: n,
|
|
526
|
-
fieldList:
|
|
446
|
+
fieldList: r
|
|
527
447
|
}))
|
|
528
|
-
g =
|
|
529
|
-
aggregationType:
|
|
530
|
-
aggregationFields:
|
|
448
|
+
g = w(s.titleLabels.aggrTypeOfAggrFields, {
|
|
449
|
+
aggregationType: u,
|
|
450
|
+
aggregationFields: F
|
|
531
451
|
});
|
|
532
452
|
else if (o === A.NoAggregation) {
|
|
533
|
-
const T = f ? a :
|
|
453
|
+
const T = f ? a : F;
|
|
534
454
|
if (d === "") {
|
|
535
|
-
const
|
|
536
|
-
g =
|
|
455
|
+
const L = c ? "aggrTypeCategory" : "aggrTypeXAxisField";
|
|
456
|
+
g = w(s.titleLabels[L], {
|
|
537
457
|
aggregationType: T,
|
|
538
458
|
[m]: p
|
|
539
459
|
});
|
|
540
460
|
} else {
|
|
541
|
-
const
|
|
542
|
-
g =
|
|
461
|
+
const L = c ? "aggrTypeCategoryBySplitBy" : "aggrTypeXAxisFieldBySplitBy";
|
|
462
|
+
g = w(s.titleLabels[L], {
|
|
543
463
|
aggregationType: T,
|
|
544
464
|
[m]: p,
|
|
545
465
|
splitByField: y
|
|
@@ -547,239 +467,239 @@ function be(t, e, s) {
|
|
|
547
467
|
}
|
|
548
468
|
} else if (o === A.Count)
|
|
549
469
|
if (d === "") {
|
|
550
|
-
const T =
|
|
551
|
-
g =
|
|
552
|
-
aggregationType:
|
|
470
|
+
const T = c ? "aggrTypeCategory" : "aggrTypeXAxisField";
|
|
471
|
+
g = w(s.titleLabels[T], {
|
|
472
|
+
aggregationType: u,
|
|
553
473
|
[m]: p
|
|
554
474
|
});
|
|
555
475
|
} else {
|
|
556
|
-
const T =
|
|
557
|
-
g =
|
|
558
|
-
aggregationType:
|
|
476
|
+
const T = c ? "aggrTypeCategoryBySplitBy" : "aggrTypeXAxisFieldBySplitBy";
|
|
477
|
+
g = w(s.titleLabels[T], {
|
|
478
|
+
aggregationType: u,
|
|
559
479
|
[m]: p,
|
|
560
480
|
splitByField: y
|
|
561
481
|
});
|
|
562
482
|
}
|
|
563
483
|
else if (d !== "") {
|
|
564
|
-
const T =
|
|
565
|
-
g =
|
|
566
|
-
aggregationType:
|
|
567
|
-
aggregationField:
|
|
484
|
+
const T = c ? "aggrTypeOfAggrFieldByCategoryBySplitByField" : "aggrTypeOfAggrFieldByXAxisFieldBySplitByField";
|
|
485
|
+
g = w(s.titleLabels[T], {
|
|
486
|
+
aggregationType: u,
|
|
487
|
+
aggregationField: F,
|
|
568
488
|
[m]: p,
|
|
569
489
|
splitByField: y
|
|
570
490
|
});
|
|
571
491
|
} else if (n.length > 0) {
|
|
572
|
-
const T =
|
|
573
|
-
g =
|
|
574
|
-
aggregationType:
|
|
575
|
-
aggregationFields:
|
|
492
|
+
const T = c ? "aggrTypeOfAggrFieldsByCategory" : "aggrTypeOfAggrFieldsByXAxisField";
|
|
493
|
+
g = w(s.titleLabels[T], {
|
|
494
|
+
aggregationType: u,
|
|
495
|
+
aggregationFields: F,
|
|
576
496
|
[m]: p
|
|
577
497
|
});
|
|
578
498
|
}
|
|
579
499
|
return g;
|
|
580
500
|
}
|
|
581
|
-
const
|
|
501
|
+
const Te = (t) => Q({
|
|
582
502
|
where: t.query?.where,
|
|
583
503
|
normalize: !1,
|
|
584
504
|
escape: !1
|
|
585
|
-
}) ?? "",
|
|
505
|
+
}) ?? "", he = (t) => t?.series?.[0]?.query?.outStatistics?.[0]?.statisticType ?? A.NoAggregation, R = le(
|
|
586
506
|
(t) => {
|
|
587
507
|
const e = t?.series?.[0]?.query?.where?.split("=")[0].trim() ?? "";
|
|
588
|
-
return
|
|
508
|
+
return He(t?.series?.[0]?.query?.where) ? "" : e;
|
|
589
509
|
},
|
|
590
510
|
(t) => t?.series?.[0]?.query?.where
|
|
591
|
-
),
|
|
511
|
+
), J = le(
|
|
592
512
|
// without memoizing, the worst case efficiency is O(series.length), best case is O(1)
|
|
593
513
|
// with memoizing, the worst case efficiency for repeated calls becomes O(1)
|
|
594
514
|
(t) => {
|
|
595
515
|
let e = [];
|
|
596
|
-
if (
|
|
516
|
+
if (R(t) === "")
|
|
597
517
|
e = t?.series.map((s) => {
|
|
598
|
-
const
|
|
599
|
-
return
|
|
518
|
+
const r = s.query?.outStatistics?.map((a) => a.onStatisticField) ?? [];
|
|
519
|
+
return r?.length > 0 ? r : s.y;
|
|
600
520
|
}).flat() ?? [];
|
|
601
521
|
else {
|
|
602
|
-
const s = t?.series?.[0],
|
|
603
|
-
e =
|
|
522
|
+
const s = t?.series?.[0], r = s?.query?.outStatistics?.[0]?.onStatisticField ?? [s?.y].flat()[0];
|
|
523
|
+
e = r !== void 0 ? [r] : [];
|
|
604
524
|
}
|
|
605
525
|
return [...new Set(e.filter((s) => s !== ""))];
|
|
606
526
|
},
|
|
607
527
|
// using series array address as key, since a change to the numeric fields will always rebuild a fresh series array
|
|
608
528
|
(t) => t?.series
|
|
609
529
|
);
|
|
610
|
-
function
|
|
611
|
-
const { numericFields: e, aggregationType: s, config:
|
|
612
|
-
let
|
|
613
|
-
s === A.Count ?
|
|
530
|
+
function wt(t) {
|
|
531
|
+
const { numericFields: e, aggregationType: s, config: r, layerInfo: a } = t;
|
|
532
|
+
let i = !1;
|
|
533
|
+
s === A.Count ? i = !0 : s === A.NoAggregation && (i = e.every((o) => {
|
|
614
534
|
const d = a.layerFieldsInfo.find((f) => f.name === o);
|
|
615
|
-
return d !== void 0 ?
|
|
616
|
-
})),
|
|
617
|
-
const l =
|
|
535
|
+
return d !== void 0 ? ee(d) : !1;
|
|
536
|
+
})), ie(r, 1, i);
|
|
537
|
+
const l = r.series.some((o) => B(o)), n = r.series.some((o) => b(o));
|
|
618
538
|
if (l || n) {
|
|
619
|
-
const o =
|
|
620
|
-
|
|
539
|
+
const o = M(r), d = a.layerFieldsInfo.find((u) => u.name === o), f = d !== void 0 && ee(d);
|
|
540
|
+
ie(r, 0, f);
|
|
621
541
|
}
|
|
622
542
|
}
|
|
623
|
-
const
|
|
543
|
+
const _ = (t) => {
|
|
624
544
|
let e;
|
|
625
|
-
if (
|
|
626
|
-
const s = t.orderOptions?.data?.orderByX ?? [""],
|
|
627
|
-
e = [
|
|
545
|
+
if (de(t)) {
|
|
546
|
+
const s = t.orderOptions?.data?.orderByX ?? [""], r = t.orderOptions?.data?.orderByY ?? [""], a = t.axes?.[0]?.valueFormat?.type === "category" ? h.Category : h.YValue, i = t.axes?.[1]?.valueFormat?.type === "category" ? h.Category : h.YValue;
|
|
547
|
+
e = [ae(s, a), ae(r, i)];
|
|
628
548
|
} else {
|
|
629
|
-
const s = t.orderOptions?.data?.orderType ??
|
|
630
|
-
e = [
|
|
549
|
+
const s = t.orderOptions?.data?.orderType ?? h.Category, r = t.orderOptions?.data && "orderBy" in t.orderOptions.data ? t.orderOptions.data.orderBy : qe.Ascending;
|
|
550
|
+
e = [dt(r, s)];
|
|
631
551
|
}
|
|
632
552
|
return e;
|
|
633
553
|
};
|
|
634
|
-
function
|
|
635
|
-
const { xAxisField: e, numericFields: s, aggregationType:
|
|
554
|
+
function Ot(t) {
|
|
555
|
+
const { xAxisField: e, numericFields: s, aggregationType: r, config: a, layerInfo: i, commonStrings: l } = t, { layerFieldsInfo: n } = i;
|
|
636
556
|
let o = !1;
|
|
637
|
-
const d =
|
|
557
|
+
const d = D({
|
|
638
558
|
config: a,
|
|
639
559
|
xAxisField: e,
|
|
640
|
-
aggregationType:
|
|
641
|
-
layerInfo:
|
|
560
|
+
aggregationType: r,
|
|
561
|
+
layerInfo: i,
|
|
642
562
|
seriesIndex: 0,
|
|
643
563
|
commonStrings: l
|
|
644
|
-
}), f =
|
|
564
|
+
}), f = z({
|
|
645
565
|
config: a,
|
|
646
566
|
xAxisField: e,
|
|
647
567
|
numericFields: s,
|
|
648
|
-
aggregationType:
|
|
649
|
-
layer:
|
|
568
|
+
aggregationType: r,
|
|
569
|
+
layer: i.layer,
|
|
650
570
|
fieldList: n
|
|
651
|
-
}).name,
|
|
571
|
+
}).name, u = {
|
|
652
572
|
...d,
|
|
653
573
|
id: `series_${Date.now()}`,
|
|
654
574
|
name: l.axisLabels.values,
|
|
655
|
-
x:
|
|
575
|
+
x: k,
|
|
656
576
|
y: f
|
|
657
|
-
},
|
|
577
|
+
}, F = [];
|
|
658
578
|
for (const y of s)
|
|
659
|
-
|
|
579
|
+
F.push({
|
|
660
580
|
onStatisticField: y,
|
|
661
581
|
outStatisticFieldName: `${y}_0`.toUpperCase(),
|
|
662
|
-
statisticType:
|
|
582
|
+
statisticType: r
|
|
663
583
|
});
|
|
664
|
-
|
|
665
|
-
const
|
|
666
|
-
return
|
|
584
|
+
u.query = { outStatistics: F };
|
|
585
|
+
const S = a.series[0];
|
|
586
|
+
return S !== void 0 && (u.id = S.id, a.colorMatch || (v(S) && v(u) ? u.fillSymbol = S.fillSymbol : (B(u) && B(S) || b(u) && b(S)) && (u.lineSymbol = S.lineSymbol, u.markerSymbol = S.markerSymbol), o = !0), u.id = S.id, S.name !== d.name && (u.name = S.name)), a.series.length === 1 && !a.colorMatch && (v(u) ? u.fillSymbol = a.series[0].fillSymbol : (B(u) || b(u)) && (u.lineSymbol = a.series[0].lineSymbol, u.markerSymbol = a.series[0].markerSymbol), o = !0), a.colorMatch = !o, [u];
|
|
667
587
|
}
|
|
668
|
-
function
|
|
669
|
-
const { xAxisField: e, numericFields: s, aggregationType:
|
|
588
|
+
function xe(t) {
|
|
589
|
+
const { xAxisField: e, numericFields: s, aggregationType: r, config: a, layerInfo: i, commonStrings: l } = t, { layerFieldsInfo: n } = i, o = W(i.layer).idField, d = [];
|
|
670
590
|
let f = !1;
|
|
671
|
-
for (let
|
|
672
|
-
const
|
|
591
|
+
for (let u = 0; u < s.length; u += 1) {
|
|
592
|
+
const F = D({
|
|
673
593
|
config: a,
|
|
674
594
|
xAxisField: e,
|
|
675
|
-
aggregationType:
|
|
676
|
-
layerInfo:
|
|
677
|
-
seriesIndex:
|
|
595
|
+
aggregationType: r,
|
|
596
|
+
layerInfo: i,
|
|
597
|
+
seriesIndex: u,
|
|
678
598
|
commonStrings: l
|
|
679
|
-
}),
|
|
599
|
+
}), S = z({
|
|
680
600
|
config: a,
|
|
681
601
|
xAxisField: e,
|
|
682
602
|
numericFields: s,
|
|
683
|
-
aggregationType:
|
|
684
|
-
layer:
|
|
685
|
-
numericFieldIndex:
|
|
603
|
+
aggregationType: r,
|
|
604
|
+
layer: i.layer,
|
|
605
|
+
numericFieldIndex: u,
|
|
686
606
|
fieldList: n
|
|
687
|
-
}).name, y = s[
|
|
688
|
-
let
|
|
689
|
-
...
|
|
607
|
+
}).name, y = s[u];
|
|
608
|
+
let c = {
|
|
609
|
+
...F,
|
|
690
610
|
query: {
|
|
691
|
-
...
|
|
611
|
+
...F.query
|
|
692
612
|
}
|
|
693
613
|
};
|
|
694
|
-
s && y !== o && (
|
|
695
|
-
...
|
|
614
|
+
s && y !== o && (c = {
|
|
615
|
+
...c,
|
|
696
616
|
id: y,
|
|
697
617
|
name: N(n, y)
|
|
698
618
|
});
|
|
699
619
|
let m = y;
|
|
700
|
-
|
|
620
|
+
c.query !== void 0 && (r !== A.NoAggregation ? (m = S, c.query.outStatistics = [
|
|
701
621
|
{
|
|
702
|
-
...
|
|
622
|
+
...F.query?.outStatistics?.[0] ?? {},
|
|
703
623
|
onStatisticField: y,
|
|
704
|
-
outStatisticFieldName:
|
|
705
|
-
statisticType:
|
|
624
|
+
outStatisticFieldName: S,
|
|
625
|
+
statisticType: r
|
|
706
626
|
}
|
|
707
|
-
]) : delete
|
|
627
|
+
]) : delete c.query.outStatistics), c.y = m;
|
|
708
628
|
const p = a.series.find(
|
|
709
629
|
(g) => g.query?.outStatistics?.[0]?.onStatisticField === y && g.query.where === void 0
|
|
710
630
|
);
|
|
711
631
|
if (p !== void 0 && typeof p.y == "string" && p.y.trim() !== "") {
|
|
712
|
-
a.colorMatch || (v(
|
|
713
|
-
const g =
|
|
632
|
+
a.colorMatch || (v(c) && v(p) ? c.fillSymbol = p.fillSymbol : (B(c) && B(p) || b(c) && b(p)) && (c.lineSymbol = p.lineSymbol, c.markerSymbol = p.markerSymbol), f = !0);
|
|
633
|
+
const g = D({
|
|
714
634
|
config: a,
|
|
715
635
|
xAxisField: e,
|
|
716
|
-
aggregationType:
|
|
717
|
-
layerInfo:
|
|
718
|
-
seriesIndex:
|
|
636
|
+
aggregationType: r,
|
|
637
|
+
layerInfo: i,
|
|
638
|
+
seriesIndex: u,
|
|
719
639
|
commonStrings: l
|
|
720
640
|
});
|
|
721
|
-
|
|
641
|
+
c.id = p.id, p.id !== g.id && p.name !== g.name && (c.id = p.id, c.name = p.name);
|
|
722
642
|
}
|
|
723
|
-
d.push(
|
|
643
|
+
d.push(c);
|
|
724
644
|
}
|
|
725
|
-
return a.series.length === 1 && d.length === 1 && !a.colorMatch && (v(a.series[0]) && v(d[0]) ? d[0].fillSymbol = a.series[0].fillSymbol : (
|
|
645
|
+
return a.series.length === 1 && d.length === 1 && !a.colorMatch && (v(a.series[0]) && v(d[0]) ? d[0].fillSymbol = a.series[0].fillSymbol : (B(a.series[0]) && B(d[0]) || b(a.series[0]) && b(d[0])) && (d[0].lineSymbol = a.series[0].lineSymbol, d[0].markerSymbol = a.series[0].markerSymbol), f = !0), a.colorMatch = !f, d;
|
|
726
646
|
}
|
|
727
|
-
async function
|
|
728
|
-
const { splitByField: e, xAxisField: s, numericFields:
|
|
729
|
-
config:
|
|
647
|
+
async function Dt(t) {
|
|
648
|
+
const { splitByField: e, xAxisField: s, numericFields: r, aggregationType: a, config: i, layerInfo: l, commonStrings: n } = t, { layer: o, layerFieldsInfo: d } = l, { fetchNullValues: f } = i?.series?.[0]?.query ?? {}, u = s !== k ? s : void 0, { categoriesArray: F, splitByFieldType: S, numericalField: y } = await ot({
|
|
649
|
+
config: i,
|
|
730
650
|
layer: o,
|
|
731
651
|
layerFieldsInfo: d,
|
|
732
|
-
xAxisField:
|
|
733
|
-
aggregationFields:
|
|
652
|
+
xAxisField: u,
|
|
653
|
+
aggregationFields: r,
|
|
734
654
|
splitByField: e,
|
|
735
655
|
fetchNullValues: f
|
|
736
656
|
});
|
|
737
|
-
let
|
|
738
|
-
if (
|
|
739
|
-
|
|
657
|
+
let c = [], m = !1;
|
|
658
|
+
if (F.length === 0) {
|
|
659
|
+
c = xe({
|
|
740
660
|
xAxisField: s,
|
|
741
|
-
numericFields:
|
|
661
|
+
numericFields: r,
|
|
742
662
|
aggregationType: a,
|
|
743
|
-
config:
|
|
663
|
+
config: i,
|
|
744
664
|
layerInfo: l,
|
|
745
665
|
commonStrings: n
|
|
746
666
|
});
|
|
747
|
-
for (const p of
|
|
667
|
+
for (const p of c)
|
|
748
668
|
p.query && (p.query.where = `${e}=''`);
|
|
749
669
|
} else
|
|
750
|
-
for (let p = 0; p <
|
|
751
|
-
const g =
|
|
752
|
-
config:
|
|
670
|
+
for (let p = 0; p < F.length; p += 1) {
|
|
671
|
+
const g = F[p], T = z({
|
|
672
|
+
config: i,
|
|
753
673
|
xAxisField: s,
|
|
754
|
-
numericFields:
|
|
674
|
+
numericFields: r,
|
|
755
675
|
aggregationType: a,
|
|
756
676
|
layer: l.layer,
|
|
757
677
|
seriesIndex: p,
|
|
758
678
|
splitByField: e,
|
|
759
679
|
fieldList: d
|
|
760
|
-
}).name,
|
|
761
|
-
config:
|
|
680
|
+
}).name, L = D({
|
|
681
|
+
config: i,
|
|
762
682
|
xAxisField: s,
|
|
763
683
|
aggregationType: a,
|
|
764
684
|
layerInfo: l,
|
|
765
685
|
seriesIndex: p,
|
|
766
686
|
commonStrings: n
|
|
767
|
-
}),
|
|
687
|
+
}), Ce = {
|
|
768
688
|
fieldName: e,
|
|
769
689
|
fieldValueToMatch: g ?? "",
|
|
770
|
-
subtypeInfo:
|
|
690
|
+
subtypeInfo: ne(l.layer),
|
|
771
691
|
fieldList: l.layerFieldsInfo
|
|
772
|
-
},
|
|
773
|
-
...
|
|
774
|
-
id:
|
|
775
|
-
name:
|
|
692
|
+
}, Be = oe(Ce), X = `${g}`, C = {
|
|
693
|
+
...L,
|
|
694
|
+
id: X,
|
|
695
|
+
name: Be ?? X,
|
|
776
696
|
y: T,
|
|
777
697
|
query: {
|
|
778
|
-
...
|
|
779
|
-
where: `${e}=${
|
|
698
|
+
...L.query,
|
|
699
|
+
where: `${e}=${S === ue.String && g !== null ? `'${g}'` : g}`,
|
|
780
700
|
outStatistics: a !== A.NoAggregation ? [
|
|
781
701
|
{
|
|
782
|
-
...
|
|
702
|
+
...L.query?.outStatistics?.[0] ?? {},
|
|
783
703
|
onStatisticField: y,
|
|
784
704
|
outStatisticFieldName: T,
|
|
785
705
|
statisticType: a
|
|
@@ -787,238 +707,212 @@ async function kt(t) {
|
|
|
787
707
|
] : void 0
|
|
788
708
|
}
|
|
789
709
|
};
|
|
790
|
-
a === A.NoAggregation && (
|
|
791
|
-
const
|
|
792
|
-
(
|
|
710
|
+
a === A.NoAggregation && (C.query !== void 0 && (delete C.query.outStatistics, delete C.query.groupByFieldsForStatistics), C.y = y);
|
|
711
|
+
const q = i.series.find(
|
|
712
|
+
(be) => String(Te(be)).trim().replace(/'/gu, "") === X
|
|
793
713
|
);
|
|
794
|
-
|
|
714
|
+
q !== void 0 && (i.colorMatch || (v(C) && v(q) ? C.fillSymbol = q.fillSymbol : (B(C) && B(q) || b(C) && b(q)) && (C.lineSymbol = q.lineSymbol, C.markerSymbol = q.markerSymbol), m = !0), C.id = q.id, C.name = q.name), c.push(C);
|
|
795
715
|
}
|
|
796
|
-
return
|
|
716
|
+
return i.colorMatch = !m, c;
|
|
797
717
|
}
|
|
798
|
-
const
|
|
799
|
-
const { xAxisField: e, splitByField: s, numericFields:
|
|
800
|
-
let y =
|
|
801
|
-
const
|
|
718
|
+
const ci = async (t) => {
|
|
719
|
+
const { xAxisField: e, splitByField: s, numericFields: r, aggregationType: a, config: i, layerInfo: l, commonStrings: n } = t, { layerFieldsInfo: o } = l ?? {}, d = Se(i), f = M(i), u = Mt(i, l, n), F = Pt(i, l, n), S = kt(i, l);
|
|
720
|
+
let y = ye(i);
|
|
721
|
+
const c = i.series.some((g) => v(g)), m = at(i.series), p = rt(i.series);
|
|
802
722
|
if (o !== void 0) {
|
|
803
723
|
const g = Qe(o);
|
|
804
|
-
!g.includes(f) && g.includes(e) ? y =
|
|
724
|
+
!g.includes(f) && g.includes(e) ? y = tt() : g.includes(f) && !g.includes(e) && (c ? y = te() : y = st()), o.find((L) => L.name === e)?.type === ue.String && (y = te()), y !== void 0 && nt(i, n, y);
|
|
805
725
|
}
|
|
806
|
-
if (d === 0 && (
|
|
807
|
-
|
|
808
|
-
]),
|
|
726
|
+
if (d === 0 && (i.series = [
|
|
727
|
+
D({ config: i, xAxisField: e, aggregationType: a, layerInfo: l, commonStrings: n })
|
|
728
|
+
]), i.series.forEach((g) => {
|
|
809
729
|
g.x = e, g.query !== void 0 && (g.query.groupByFieldsForStatistics = [e]);
|
|
810
|
-
}), s === "" ||
|
|
730
|
+
}), s === "" || r.length > 1 ? pe({
|
|
811
731
|
fieldName: e,
|
|
812
|
-
numericFields:
|
|
732
|
+
numericFields: r,
|
|
813
733
|
fieldList: o
|
|
814
|
-
}) ?
|
|
815
|
-
config:
|
|
734
|
+
}) ? i.series = Ot({
|
|
735
|
+
config: i,
|
|
816
736
|
layerInfo: l,
|
|
817
737
|
xAxisField: e,
|
|
818
|
-
numericFields:
|
|
738
|
+
numericFields: r,
|
|
819
739
|
aggregationType: a,
|
|
820
740
|
commonStrings: n
|
|
821
|
-
}) :
|
|
822
|
-
config:
|
|
741
|
+
}) : i.series = xe({
|
|
742
|
+
config: i,
|
|
823
743
|
layerInfo: l,
|
|
824
744
|
xAxisField: e,
|
|
825
|
-
numericFields:
|
|
745
|
+
numericFields: r,
|
|
826
746
|
aggregationType: a,
|
|
827
747
|
commonStrings: n
|
|
828
|
-
}) : (await Promise.resolve(),
|
|
829
|
-
config:
|
|
748
|
+
}) : (await Promise.resolve(), i.series = await Dt({
|
|
749
|
+
config: i,
|
|
830
750
|
layerInfo: l,
|
|
831
751
|
splitByField: s,
|
|
832
752
|
xAxisField: e,
|
|
833
|
-
numericFields:
|
|
753
|
+
numericFields: r,
|
|
834
754
|
aggregationType: a,
|
|
835
755
|
commonStrings: n
|
|
836
|
-
})),
|
|
756
|
+
})), S) {
|
|
837
757
|
const g = N(o, e);
|
|
838
|
-
|
|
758
|
+
U(i, 0, g);
|
|
839
759
|
}
|
|
840
|
-
if (
|
|
841
|
-
const g =
|
|
842
|
-
config:
|
|
760
|
+
if (F) {
|
|
761
|
+
const g = ge({
|
|
762
|
+
config: i,
|
|
843
763
|
layerInfo: l,
|
|
844
764
|
commonStrings: n,
|
|
845
|
-
numericFields:
|
|
765
|
+
numericFields: r,
|
|
846
766
|
aggregationType: a
|
|
847
767
|
});
|
|
848
|
-
|
|
768
|
+
U(i, 1, g);
|
|
849
769
|
}
|
|
850
|
-
if (
|
|
851
|
-
|
|
852
|
-
const g = y?.type ===
|
|
853
|
-
Ct(g,
|
|
770
|
+
if (i.title && u && (i.title.content.text = Fe(i, l, n)), x({ config: i, value: null, axisIndex: 1, isMax: !1 }), x({ config: i, value: null, axisIndex: 1, isMax: !0 }), wt({ numericFields: r, aggregationType: a, config: i, layerInfo: l }), m || p) {
|
|
771
|
+
x({ config: i, value: null, axisIndex: 0, isMax: !1 }), x({ config: i, value: null, axisIndex: 0, isMax: !0 }), fe(0, i);
|
|
772
|
+
const g = y?.type === O.DateAxisFormat ? j.Null : j.Interpolate;
|
|
773
|
+
Ct(g, i);
|
|
854
774
|
}
|
|
855
|
-
},
|
|
856
|
-
const { config: e, seriesIndex: s, layerInfo:
|
|
775
|
+
}, yi = (t) => {
|
|
776
|
+
const { config: e, seriesIndex: s, layerInfo: r, commonStrings: a } = t, i = e.series?.[s], l = R(e);
|
|
857
777
|
let n;
|
|
858
|
-
if (
|
|
778
|
+
if (E(e.series) === V.BarAndLineFromFields)
|
|
859
779
|
n = a.axisLabels.values;
|
|
860
|
-
else if (
|
|
861
|
-
const d =
|
|
862
|
-
d !== void 0 && d !==
|
|
780
|
+
else if (ve(l)) {
|
|
781
|
+
const d = i.query?.outStatistics?.[0]?.onStatisticField;
|
|
782
|
+
d !== void 0 && d !== W(r.layer).idField && (n = N(r.layerFieldsInfo, d));
|
|
863
783
|
} else {
|
|
864
|
-
const d = String(
|
|
865
|
-
fieldName:
|
|
784
|
+
const d = String(Te(i)).trim().replace(/'/gu, ""), f = {
|
|
785
|
+
fieldName: R(e),
|
|
866
786
|
fieldValueToMatch: d ?? "",
|
|
867
|
-
subtypeInfo:
|
|
868
|
-
fieldList:
|
|
787
|
+
subtypeInfo: ne(r.layer),
|
|
788
|
+
fieldList: r.layerFieldsInfo
|
|
869
789
|
};
|
|
870
|
-
n =
|
|
790
|
+
n = oe(f) ?? d;
|
|
871
791
|
}
|
|
872
|
-
return n ??
|
|
873
|
-
},
|
|
874
|
-
if (
|
|
875
|
-
|
|
792
|
+
return n ?? i.id;
|
|
793
|
+
}, gi = (t, e) => {
|
|
794
|
+
if (de(e))
|
|
795
|
+
Nt(t, e);
|
|
876
796
|
else {
|
|
877
797
|
e.orderOptions ??= {};
|
|
878
798
|
const s = e.orderOptions?.data?.orderType;
|
|
879
|
-
|
|
880
|
-
orderType:
|
|
799
|
+
_(e)[0] === K.customSort && s === h.Category && (e.orderOptions.data = {
|
|
800
|
+
orderType: h.Category,
|
|
881
801
|
orderBy: [...t]
|
|
882
802
|
});
|
|
883
803
|
}
|
|
884
|
-
},
|
|
885
|
-
const s =
|
|
804
|
+
}, pi = async (t, e) => {
|
|
805
|
+
const s = M(t), r = ye(t)?.type, a = J(t), i = E(t.series);
|
|
886
806
|
let l = [];
|
|
887
|
-
return
|
|
807
|
+
return r === O.CategoryAxisFormat && (i === V.BarAndLineFromFields || s === k ? l = a.map((n) => N(e?.layerFieldsInfo, n)) : s.trim() !== "" && s !== k && e !== void 0 && (l = await lt({
|
|
888
808
|
layerInfo: e,
|
|
889
809
|
config: t,
|
|
890
810
|
category: s
|
|
891
811
|
}))), l;
|
|
892
812
|
};
|
|
893
813
|
function Mt(t, e, s) {
|
|
894
|
-
const
|
|
895
|
-
return
|
|
814
|
+
const r = Fe(t, e, s), a = me(t), i = $(t);
|
|
815
|
+
return r === a || i;
|
|
896
816
|
}
|
|
897
817
|
function Pt(t, e, s) {
|
|
898
|
-
const
|
|
818
|
+
const r = ge({
|
|
899
819
|
config: t,
|
|
900
820
|
layerInfo: e,
|
|
901
821
|
commonStrings: s,
|
|
902
|
-
numericFields:
|
|
903
|
-
aggregationType:
|
|
904
|
-
}), a =
|
|
905
|
-
return
|
|
822
|
+
numericFields: J(t),
|
|
823
|
+
aggregationType: he(t)
|
|
824
|
+
}), a = G(1, t), i = $(t);
|
|
825
|
+
return r === a || i;
|
|
906
826
|
}
|
|
907
|
-
function
|
|
908
|
-
const s = N(e.layerFieldsInfo,
|
|
909
|
-
return s ===
|
|
827
|
+
function kt(t, e) {
|
|
828
|
+
const s = N(e.layerFieldsInfo, M(t)), r = G(0, t), a = $(t);
|
|
829
|
+
return s === r || a;
|
|
910
830
|
}
|
|
911
|
-
function
|
|
831
|
+
function mi(t) {
|
|
912
832
|
return t.series[0]?.binTemporalData ?? !1;
|
|
913
833
|
}
|
|
914
|
-
function
|
|
834
|
+
function fi(t, e) {
|
|
915
835
|
e?.series.forEach((s) => {
|
|
916
|
-
(s?.type ===
|
|
917
|
-
unit:
|
|
836
|
+
(s?.type === O.BarSeries || s?.type === O.LineSeries) && (s.binTemporalData = t, t ? s.temporalBinning = {
|
|
837
|
+
unit: Y.Day,
|
|
918
838
|
size: 0,
|
|
919
|
-
timeAggregationType:
|
|
839
|
+
timeAggregationType: Ve.Start,
|
|
920
840
|
trimIncompleteTimeInterval: !0,
|
|
921
|
-
nullPolicy:
|
|
841
|
+
nullPolicy: j.Null
|
|
922
842
|
} : delete s.temporalBinning);
|
|
923
843
|
});
|
|
924
844
|
}
|
|
925
845
|
export {
|
|
926
|
-
|
|
927
|
-
|
|
928
|
-
|
|
929
|
-
|
|
930
|
-
|
|
931
|
-
|
|
932
|
-
|
|
933
|
-
|
|
934
|
-
|
|
935
|
-
|
|
936
|
-
|
|
937
|
-
|
|
938
|
-
|
|
939
|
-
|
|
940
|
-
|
|
941
|
-
|
|
942
|
-
|
|
943
|
-
|
|
944
|
-
|
|
945
|
-
|
|
946
|
-
|
|
947
|
-
|
|
948
|
-
|
|
949
|
-
|
|
950
|
-
|
|
951
|
-
|
|
952
|
-
|
|
953
|
-
|
|
954
|
-
|
|
955
|
-
|
|
956
|
-
|
|
957
|
-
|
|
958
|
-
|
|
959
|
-
|
|
960
|
-
|
|
961
|
-
|
|
962
|
-
|
|
963
|
-
|
|
964
|
-
|
|
965
|
-
|
|
966
|
-
|
|
967
|
-
|
|
968
|
-
|
|
969
|
-
|
|
970
|
-
|
|
971
|
-
|
|
972
|
-
Bt as
|
|
973
|
-
|
|
974
|
-
|
|
975
|
-
|
|
976
|
-
|
|
977
|
-
|
|
978
|
-
|
|
979
|
-
|
|
980
|
-
|
|
981
|
-
|
|
982
|
-
|
|
983
|
-
|
|
984
|
-
|
|
985
|
-
|
|
986
|
-
|
|
987
|
-
|
|
988
|
-
|
|
989
|
-
|
|
990
|
-
|
|
991
|
-
|
|
992
|
-
|
|
993
|
-
ws as au,
|
|
994
|
-
Os as av,
|
|
995
|
-
Ds as aw,
|
|
996
|
-
ks as ax,
|
|
997
|
-
Ms as ay,
|
|
998
|
-
Rs as az,
|
|
999
|
-
Pi as b,
|
|
1000
|
-
Z as c,
|
|
1001
|
-
Ei as d,
|
|
1002
|
-
$i as e,
|
|
1003
|
-
Wi as f,
|
|
1004
|
-
Se as g,
|
|
1005
|
-
Ce as h,
|
|
1006
|
-
X as i,
|
|
1007
|
-
se as j,
|
|
1008
|
-
Mi as k,
|
|
1009
|
-
be as l,
|
|
1010
|
-
Vi as m,
|
|
1011
|
-
Nt as n,
|
|
1012
|
-
ai as o,
|
|
1013
|
-
qi as p,
|
|
1014
|
-
Ni as q,
|
|
1015
|
-
li as r,
|
|
1016
|
-
Ri as s,
|
|
1017
|
-
ri as t,
|
|
1018
|
-
oi as u,
|
|
846
|
+
xs as $,
|
|
847
|
+
Ls as A,
|
|
848
|
+
Es as B,
|
|
849
|
+
Rs as C,
|
|
850
|
+
Ws as D,
|
|
851
|
+
$s as E,
|
|
852
|
+
Vs as F,
|
|
853
|
+
qs as G,
|
|
854
|
+
ws as H,
|
|
855
|
+
Ns as I,
|
|
856
|
+
Ys as J,
|
|
857
|
+
Ks as K,
|
|
858
|
+
Us as L,
|
|
859
|
+
_s as M,
|
|
860
|
+
js as N,
|
|
861
|
+
Xs as O,
|
|
862
|
+
Hs as P,
|
|
863
|
+
Qs as Q,
|
|
864
|
+
zs as R,
|
|
865
|
+
Gs as S,
|
|
866
|
+
Js as T,
|
|
867
|
+
Zs as U,
|
|
868
|
+
ei as V,
|
|
869
|
+
ti as W,
|
|
870
|
+
si as X,
|
|
871
|
+
ii as Y,
|
|
872
|
+
ft as Z,
|
|
873
|
+
mt as _,
|
|
874
|
+
yi as a,
|
|
875
|
+
fs as a0,
|
|
876
|
+
St as a1,
|
|
877
|
+
fe as a2,
|
|
878
|
+
Ft as a3,
|
|
879
|
+
Ss as a4,
|
|
880
|
+
Tt as a5,
|
|
881
|
+
Fs as a6,
|
|
882
|
+
ht as a7,
|
|
883
|
+
Ts as a8,
|
|
884
|
+
xt as a9,
|
|
885
|
+
Ct as aa,
|
|
886
|
+
hs as ab,
|
|
887
|
+
vs as ac,
|
|
888
|
+
As as ad,
|
|
889
|
+
bs as ae,
|
|
890
|
+
Cs as af,
|
|
891
|
+
Bs as ag,
|
|
892
|
+
Bt as ah,
|
|
893
|
+
_ as b,
|
|
894
|
+
pi as c,
|
|
895
|
+
mi as d,
|
|
896
|
+
fi as e,
|
|
897
|
+
he as f,
|
|
898
|
+
me as g,
|
|
899
|
+
R as h,
|
|
900
|
+
J as i,
|
|
901
|
+
ci as j,
|
|
902
|
+
Fe as k,
|
|
903
|
+
ai as l,
|
|
904
|
+
Vt as m,
|
|
905
|
+
Os as n,
|
|
906
|
+
ri as o,
|
|
907
|
+
li as p,
|
|
908
|
+
Ms as q,
|
|
909
|
+
Ds as r,
|
|
910
|
+
gi as s,
|
|
911
|
+
ks as t,
|
|
912
|
+
Ps as u,
|
|
1019
913
|
ni as v,
|
|
1020
|
-
|
|
1021
|
-
|
|
1022
|
-
|
|
1023
|
-
|
|
914
|
+
oi as w,
|
|
915
|
+
di as x,
|
|
916
|
+
ui as y,
|
|
917
|
+
Is as z
|
|
1024
918
|
};
|