@arcgis/charts-components 5.0.0-next.22 → 5.0.0-next.24
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/{5LDE52ZG.js → 22LMNVZ2.js} +2 -2
- package/dist/cdn/{4AGUUEY7.js → 24UUJDMB.js} +2 -2
- package/dist/cdn/{CFKXDKDA.js → 2CIIM437.js} +2 -2
- package/dist/cdn/{3DFKSASW.js → 2HCJFTCX.js} +2 -2
- package/dist/cdn/{A3QPVFLY.js → 2HIMITPJ.js} +2 -2
- package/dist/cdn/{IVBE77HX.js → 2KYCZ6HY.js} +2 -2
- package/dist/cdn/{NXPXPFWP.js → 2Q33IXZB.js} +2 -2
- package/dist/cdn/{UH6CFCLT.js → 2W3SVPRK.js} +2 -2
- package/dist/cdn/{UD5DHBID.js → 34BE47CG.js} +2 -2
- package/dist/cdn/{7TUQ4IQ3.js → 3E6Q52LF.js} +2 -2
- package/dist/cdn/{7Q6MBASQ.js → 3FAXGDQG.js} +2 -2
- package/dist/cdn/{YKPKAFAE.js → 3PWK2OEA.js} +2 -2
- package/dist/cdn/{PPXPQJ7L.js → 3XTDYZCX.js} +2 -2
- package/dist/cdn/{PERHTP2L.js → 3ZMUG5W5.js} +1 -1
- package/dist/cdn/{BJ66IO53.js → 43ZMJSAY.js} +2 -2
- package/dist/cdn/{ZPAAZWBD.js → 4AHQ5SXI.js} +2 -2
- package/dist/cdn/{HDELCYJK.js → 4K5H4IIC.js} +2 -2
- package/dist/cdn/{BGGRD4GZ.js → 4UHZZJIJ.js} +2 -2
- package/dist/cdn/4Y2HJNTD.js +4 -0
- package/dist/cdn/{MQ3Z3VOL.js → 52ZNPAKG.js} +2 -2
- package/dist/cdn/{VAWLI7KW.js → 53YQYJVG.js} +2 -2
- package/dist/cdn/{EKMAQTDI.js → 54LTRZAM.js} +2 -2
- package/dist/cdn/{RXASOFR3.js → 56MT7MME.js} +2 -2
- package/dist/cdn/{J2KLZF4I.js → 57DL54HK.js} +2 -2
- package/dist/cdn/{PHNMARPA.js → 5CTQIA4D.js} +2 -2
- package/dist/cdn/{2SZHG3HO.js → 5LJLYRXP.js} +2 -2
- package/dist/cdn/{FPF7YSW7.js → 5MSKZ3X6.js} +2 -2
- package/dist/cdn/5O2H4A2X.js +4 -0
- package/dist/cdn/{UI2CLFCA.js → 5VLE3SJG.js} +2 -2
- package/dist/cdn/{GSOVLQHE.js → 5WQDNSG6.js} +2 -2
- package/dist/cdn/{WXP5KLFE.js → 66Z7CGSI.js} +2 -2
- package/dist/cdn/{I4MKXTN4.js → 6BOTXYP6.js} +2 -2
- package/dist/cdn/{MDZMV4BF.js → 6GB7GIXA.js} +2 -2
- package/dist/cdn/{XWSS3C7U.js → 6P554JVC.js} +2 -2
- package/dist/cdn/{BQBYL3N2.js → 6Q3FTC6I.js} +2 -2
- package/dist/cdn/{E7GCTDV4.js → 6RBVOBYK.js} +2 -2
- package/dist/cdn/{SHKCRHBK.js → 6WWUZICV.js} +2 -2
- package/dist/cdn/74FN5PHE.js +4 -0
- package/dist/cdn/{MOOVAF6P.js → 75ABSXHK.js} +2 -2
- package/dist/cdn/{7W7HNSO3.js → 7BUM6BJN.js} +2 -2
- package/dist/cdn/{KBIG4RFG.js → 7KNB6BCT.js} +2 -2
- package/dist/cdn/{KIBPAYYA.js → 7O5HNYLE.js} +2 -2
- package/dist/cdn/{NT2YTCJB.js → 7SUFZGMR.js} +2 -2
- package/dist/cdn/{YLQIMT46.js → 7WL7JFUE.js} +2 -2
- package/dist/cdn/{NBWZJ73L.js → A5SLMYH4.js} +2 -2
- package/dist/cdn/{SJOUE3F7.js → AAB5CYMF.js} +2 -2
- package/dist/cdn/{CUMDUWFV.js → AABHM5IU.js} +2 -2
- package/dist/cdn/{OQBQR4GN.js → AEQ4THFN.js} +2 -2
- package/dist/cdn/{LLOOLSBQ.js → AORLOH4J.js} +2 -2
- package/dist/cdn/{J4AH5AVR.js → AQJMM6PQ.js} +2 -2
- package/dist/cdn/ARYJXNZY.js +4 -0
- package/dist/cdn/{XLLJNH5L.js → AVZCQNM7.js} +2 -2
- package/dist/cdn/{LJNYNTT4.js → AWWCMSB6.js} +2 -2
- package/dist/cdn/{AJ7NTAAO.js → BF4ZUY4Z.js} +2 -2
- package/dist/cdn/{PYIZO24N.js → BHQ2JJ5Y.js} +18 -18
- package/dist/cdn/{CDV3LPKQ.js → BILZPN5Z.js} +2 -2
- package/dist/cdn/{2U544GXC.js → BTVKBWYL.js} +2 -2
- package/dist/cdn/{ZJCZKGLK.js → C34F3MI2.js} +2 -2
- package/dist/cdn/C3SO6A2I.js +4 -0
- package/dist/cdn/{LCBBKN2D.js → C4OP6FL2.js} +2 -2
- package/dist/cdn/{QA2XCRHL.js → CBPCNXVK.js} +2 -2
- package/dist/cdn/CE4OHHT6.js +4 -0
- package/dist/cdn/{2G54D3OF.js → CG5E2OSK.js} +2 -2
- package/dist/cdn/{UMPYOKZC.js → CIQUCT5V.js} +2 -2
- package/dist/cdn/{JAVTY3NP.js → CIZIXCQI.js} +2 -2
- package/dist/cdn/{SF24B37U.js → CS2SKG6L.js} +2 -2
- package/dist/cdn/{U2PEZXCE.js → CYZUI6RX.js} +2 -2
- package/dist/cdn/{UOVOBY2X.js → D625Q6AO.js} +2 -2
- package/dist/cdn/{GEAHE5YN.js → DAKQGQTK.js} +2 -2
- package/dist/cdn/{MH7X24UV.js → DFR5ASOW.js} +2 -2
- package/dist/cdn/{LM3XBG7S.js → DOAHYWSH.js} +1 -1
- package/dist/cdn/{72CSJHQI.js → DOZXKG5J.js} +2 -2
- package/dist/cdn/{XCQX4QQO.js → DTVDB7XR.js} +2 -2
- package/dist/cdn/{4EI6NVYW.js → E3OU73RM.js} +2 -2
- package/dist/cdn/{MB653WLY.js → EJY7M4TB.js} +2 -2
- package/dist/cdn/{ZSLNOAER.js → EK6GYHQW.js} +2 -2
- package/dist/cdn/ERTDHAQ2.js +4 -0
- package/dist/cdn/{3SMSV7UM.js → F2NR3K6J.js} +2 -2
- package/dist/cdn/{S7PLFJQG.js → F6TI5VZ3.js} +2 -2
- package/dist/cdn/FPJNPTR2.js +4 -0
- package/dist/cdn/G4ODLV5V.js +4 -0
- package/dist/cdn/{SJ5BFV5F.js → G5DQS6R3.js} +2 -2
- package/dist/cdn/{Q7IWCRMK.js → GGXAEV4J.js} +2 -2
- package/dist/cdn/{GSWFJVZW.js → GKDC255O.js} +2 -2
- package/dist/cdn/{EXD3SZVY.js → GLISPNPO.js} +2 -2
- package/dist/cdn/{4ZEA6ANY.js → GU56O5YZ.js} +2 -2
- package/dist/cdn/{XYHI6GPX.js → HESTXB4W.js} +2 -2
- package/dist/cdn/{4A6PM22T.js → HFN33C3O.js} +2 -2
- package/dist/cdn/{SVC32YBI.js → HIKMPMPH.js} +2 -2
- package/dist/cdn/{3AQIKGGP.js → HPDUVIFG.js} +2 -2
- package/dist/cdn/{RS4FXHBP.js → HXKLCDWF.js} +2 -2
- package/dist/cdn/IGVADTNV.js +4 -0
- package/dist/cdn/{34OBKOP2.js → IHDBVR3V.js} +2 -2
- package/dist/cdn/IHRUJZ4V.js +42 -0
- package/dist/cdn/{JDVSIO5P.js → IRH6JXTV.js} +2 -2
- package/dist/cdn/IRTPBRMM.js +4 -0
- package/dist/cdn/{3GCSCDVN.js → IVAD3MLP.js} +2 -2
- package/dist/cdn/{GZFPTE4C.js → IYX7JQCS.js} +2 -2
- package/dist/cdn/{OA6RKTMT.js → J5WOV4L5.js} +1 -1
- package/dist/cdn/{WNSVRHPU.js → JC2TOH2N.js} +2 -2
- package/dist/cdn/{2MM3QN5G.js → JE2VQESS.js} +2 -2
- package/dist/cdn/{SV54UJL3.js → JGVJ4QZU.js} +2 -2
- package/dist/cdn/{YOBFS4DR.js → K2TRHPCU.js} +2 -2
- package/dist/cdn/{VGPYB7SC.js → KCATM5A6.js} +2 -2
- package/dist/cdn/{LK3ZULRA.js → KMIQYYPD.js} +2 -2
- package/dist/cdn/{EGW2HLRN.js → KQNCBAFR.js} +2 -2
- package/dist/cdn/{YQS57S5A.js → KRNJ6725.js} +2 -2
- package/dist/cdn/{76F6IH5J.js → KRQU2VVH.js} +2 -2
- package/dist/cdn/{QBNYXUPS.js → KTCLKKQV.js} +2 -2
- package/dist/cdn/{UCLJHOYI.js → LCABMHS3.js} +2 -2
- package/dist/cdn/{UDIEB3CT.js → LCPQLW4N.js} +2 -2
- package/dist/cdn/{QIUAWWNX.js → LH7JXFZV.js} +2 -2
- package/dist/cdn/{547XPZD3.js → LKQS4G43.js} +1 -1
- package/dist/cdn/LNABTX6W.js +4 -0
- package/dist/cdn/{ZZW4DMYZ.js → LRZ4KPRH.js} +1 -1
- package/dist/cdn/LZYHEE3A.js +6 -0
- package/dist/cdn/{R6GDZOI5.js → M6I4GWPX.js} +2 -2
- package/dist/cdn/{OZVLYLZE.js → MAZJEBZX.js} +2 -2
- package/dist/cdn/MOOH4R4I.js +4 -0
- package/dist/cdn/{ZCLOJW4C.js → MTH4ZJMT.js} +2 -2
- package/dist/cdn/{HGRDXWSR.js → MUAY2ZFD.js} +2 -2
- package/dist/cdn/{MA3SDR4L.js → MVRWISV7.js} +2 -2
- package/dist/cdn/{PMGTXCKQ.js → MWFMMCZ2.js} +2 -2
- package/dist/cdn/{3IFWU7LL.js → MWWXWMZ3.js} +2 -2
- package/dist/cdn/{MHUXUGBF.js → N42ZTZTN.js} +2 -2
- package/dist/cdn/NPZM43GJ.js +4 -0
- package/dist/cdn/{LGYSYLFO.js → NZOTAYYG.js} +2 -2
- package/dist/cdn/{3X3SDWFQ.js → O2KI7OAN.js} +2 -2
- package/dist/cdn/ODBKMQU5.js +4 -0
- package/dist/cdn/{YXWTG3QK.js → OH354KS5.js} +2 -2
- package/dist/cdn/{KZFF5ARP.js → OULDTBSA.js} +2 -2
- package/dist/cdn/{BFTOG7LL.js → OWC76L4E.js} +2 -2
- package/dist/cdn/P4FOVDOK.js +4 -0
- package/dist/cdn/{4FQHH7QS.js → P4SZVGSI.js} +2 -2
- package/dist/cdn/{WPV6YSJE.js → PDLU3IN5.js} +2 -2
- package/dist/cdn/PSIFLLVB.js +4 -0
- package/dist/cdn/{GAQCRFPS.js → PTN6JMSD.js} +1 -1
- package/dist/cdn/{QCS2A5JD.js → PXYBVARC.js} +2 -2
- package/dist/cdn/{QYB4YYTW.js → QP6QF7TO.js} +2 -2
- package/dist/cdn/{CJRRTYNK.js → QX5L2GN7.js} +2 -2
- package/dist/cdn/{ZB5AFSTQ.js → R3FN2YWH.js} +2 -2
- package/dist/cdn/{TXOMCG6X.js → R6IXZQL2.js} +2 -2
- package/dist/cdn/{5DWI4B7H.js → R6JYMGAL.js} +2 -2
- package/dist/cdn/{BKFEYLFG.js → RAAUIA77.js} +2 -2
- package/dist/cdn/{X4FIJU4Z.js → RFUL7F6Q.js} +2 -2
- package/dist/cdn/{6GECH5DY.js → RQRNMZRC.js} +2 -2
- package/dist/cdn/{X4Q7VKUW.js → RVUCITO5.js} +2 -2
- package/dist/cdn/{D7WLXNMN.js → S6OPXP57.js} +2 -2
- package/dist/cdn/{343FRDKB.js → SEQG6AC3.js} +2 -2
- package/dist/cdn/{ZIUZ6CNX.js → SVATWD7C.js} +1 -1
- package/dist/cdn/{5BSRPD5I.js → TB6LX2UK.js} +2 -2
- package/dist/cdn/{ZQXGF6JZ.js → TPD4XFBX.js} +2 -2
- package/dist/cdn/{UYLRDGGG.js → TQHWGSEQ.js} +1 -1
- package/dist/cdn/{FZMEBFJZ.js → TQU7G77A.js} +2 -2
- package/dist/cdn/{OY7W5YYW.js → TRWXADFK.js} +2 -2
- package/dist/cdn/{DIWIFUGL.js → U5H3KFO7.js} +2 -2
- package/dist/cdn/{T3FMPT5X.js → UOUSF765.js} +2 -2
- package/dist/cdn/{LZ2HU4VU.js → V7W7DXLH.js} +2 -2
- package/dist/cdn/{HDFIEBOY.js → VL3VPK6Z.js} +2 -2
- package/dist/cdn/{PFE3CLAB.js → VLN7GOTE.js} +2 -2
- package/dist/cdn/{7VC5UHPQ.js → VSSRAQAB.js} +1 -1
- package/dist/cdn/{R4EOYEK6.js → VTMJJADU.js} +2 -2
- package/dist/cdn/W4LTEWOO.js +4 -0
- package/dist/cdn/{3V7U7JR7.js → WWMV6AFN.js} +2 -2
- package/dist/cdn/{YWCZA65Y.js → WZ5R2GBE.js} +1 -1
- package/dist/cdn/{UPMAPFMF.js → WZV3KQDI.js} +2 -2
- package/dist/cdn/{SITXDT62.js → X627ILMN.js} +2 -2
- package/dist/cdn/{FDECLHKY.js → XHLDGKPF.js} +2 -2
- package/dist/cdn/{W6RPLGJV.js → XIBEFKZ6.js} +2 -2
- package/dist/cdn/{NDL7FEYI.js → XJQ267Y6.js} +2 -2
- package/dist/cdn/{WMZT7YMW.js → XNPV3IB3.js} +2 -2
- package/dist/cdn/{THAW5FU6.js → YAFNWOUG.js} +2 -2
- package/dist/cdn/{RNVZTP3Q.js → YDGDTK3Q.js} +2 -2
- package/dist/cdn/{NE5OHK2L.js → YF3F3EB5.js} +2 -2
- package/dist/cdn/{ZCHUX66X.js → YNXFAFRS.js} +2 -2
- package/dist/cdn/{KKIJGIOW.js → YSMOM5ME.js} +2 -2
- package/dist/cdn/{RLCWYLE2.js → YUK4R65L.js} +2 -2
- package/dist/cdn/{UCDH7JF3.js → YY5YAH4F.js} +2 -2
- package/dist/cdn/{ETN5GBTR.js → Z34TFSAK.js} +2 -2
- package/dist/cdn/{KIRGSKAU.js → Z5IFN4LC.js} +2 -2
- package/dist/cdn/{QEBHIDPZ.js → ZIYPW7CB.js} +2 -2
- package/dist/cdn/ZZR7VDLV.js +4 -0
- package/dist/cdn/{PAG6VO5Q.js → ZZWJPJT4.js} +2 -2
- package/dist/cdn/index.js +2 -2
- package/dist/chunks/action-bar-utils.js +6 -6
- 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/baseline-stacking.js +1 -1
- package/dist/chunks/bg_BG.js +1 -1
- package/dist/chunks/bg_BG2.js +1 -1
- package/dist/chunks/box-plot-data.js +216 -202
- package/dist/chunks/box-plot-model.js +9 -9
- package/dist/chunks/chart-ui-utils.js +1 -1
- package/dist/chunks/chart-ui-utils2.js +2 -2
- package/dist/chunks/combo-bar-line-chart-model.js +1 -1
- package/dist/chunks/common.js +1 -1
- package/dist/chunks/config-update.js +5 -3
- package/dist/chunks/data.js +59 -927
- package/dist/chunks/data2.js +907 -0
- package/dist/chunks/default.js +1 -1
- package/dist/chunks/gauge-model.js +2 -2
- package/dist/chunks/heat-chart-model.js +8 -8
- package/dist/chunks/histogram-data.js +3 -3
- package/dist/chunks/histogram-model.js +3 -3
- package/dist/chunks/index.js +128 -123
- package/dist/chunks/index2.js +4 -4
- package/dist/chunks/index3.js +2 -2
- package/dist/chunks/index4.js +1 -1
- package/dist/chunks/index5.js +1 -1
- package/dist/chunks/interfaces.js +1637 -1588
- package/dist/chunks/interfaces2.js +1 -1
- package/dist/chunks/interfaces3.js +1 -1
- package/dist/chunks/interfaces4.js +1 -1
- package/dist/chunks/line-chart-model.js +2 -2
- package/dist/chunks/model-with-baseline-stacking.js +1 -1
- package/dist/chunks/model-with-data-labels.js +1 -1
- package/dist/chunks/model-with-multi-axes.js +23 -23
- package/dist/chunks/model-with-rotation.js +2 -2
- package/dist/chunks/pie-chart-data.js +113 -111
- package/dist/chunks/pie-chart-model.js +3 -3
- package/dist/chunks/popover-ui-utils.js +1 -1
- package/dist/chunks/radar-chart-model.js +2 -2
- package/dist/chunks/resource.js +1 -1
- package/dist/chunks/rest-js-object-literals.js +1 -1
- package/dist/chunks/runtime.js +1 -1
- package/dist/chunks/scatterplot-model.js +3 -3
- package/dist/chunks/serial-chart-model.js +32 -27
- package/dist/chunks/series-types.js +1 -1
- package/dist/chunks/series.js +1 -1
- package/dist/chunks/sk_SK.js +1 -1
- package/dist/chunks/store.js +1 -1
- package/dist/chunks/type-guards.js +1 -1
- package/dist/chunks/useT9n.js +1 -1
- package/dist/chunks/web-component-utils.js +136 -133
- package/dist/components/arcgis-chart/customElement.js +1940 -1928
- package/dist/components/arcgis-charts-action-bar/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-axes/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-axis/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-bar-chart/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-bar-chart-data/customElement.js +20 -15
- package/dist/components/arcgis-charts-config-bar-chart-popover/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-bar-chart-series/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-bar-chart-series-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-box-plot/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-box-plot-data/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-box-plot-popover/customElement.js +2 -2
- 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 +5 -5
- package/dist/components/arcgis-charts-config-field-select/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-font-style/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-format/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-format-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-general/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-guide/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-guide-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-guides/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-guides-type-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-histogram/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-histogram-data/customElement.js +2 -2
- 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 +1 -1
- package/dist/components/arcgis-charts-config-line-chart-data/customElement.js +27 -22
- 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 +1 -1
- package/dist/components/arcgis-charts-config-pie-chart-data/customElement.js +23 -18
- package/dist/components/arcgis-charts-config-pie-chart-popover/customElement.js +2 -2
- 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 +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 +2 -2
- package/dist/docs/docs.json +2 -2
- package/dist/docs/web-types.json +1 -1
- package/dist/index.js +320 -318
- package/dist/json-schema/index.d.ts +5 -0
- package/dist/loader.js +1 -1
- package/dist/model/serial-chart-model/serial-chart-model.d.ts +4 -0
- package/dist/model/shared/data.d.ts +26 -2
- package/dist/model.js +1 -1
- package/dist/spec/data-source.d.ts +6 -0
- package/dist/utils/chart-config/converter/index.d.ts +24 -0
- package/dist/utils/layer/index.d.ts +49 -1
- package/package.json +3 -3
- package/dist/cdn/23LIUPGT.js +0 -4
- package/dist/cdn/3XXE2VVK.js +0 -4
- package/dist/cdn/5NZ4FFVZ.js +0 -4
- package/dist/cdn/6T4AJS45.js +0 -4
- package/dist/cdn/6VPFWSHN.js +0 -4
- package/dist/cdn/EAJGHL5O.js +0 -42
- package/dist/cdn/EBANJFK5.js +0 -4
- package/dist/cdn/EW2FRYL5.js +0 -4
- package/dist/cdn/GHUJZJGZ.js +0 -4
- package/dist/cdn/ISIPXF6V.js +0 -4
- package/dist/cdn/KL6BATFJ.js +0 -4
- package/dist/cdn/KR25QXSD.js +0 -4
- package/dist/cdn/MSHWZF5N.js +0 -6
- package/dist/cdn/QUSQ2AAN.js +0 -4
- package/dist/cdn/SQFDMTLM.js +0 -4
- package/dist/cdn/UFWNL7KT.js +0 -4
- package/dist/cdn/WYGIGZWX.js +0 -4
- package/dist/cdn/ZPU32XDL.js +0 -4
- package/dist/cdn/ZWKHKFX6.js +0 -4
- package/dist/cdn/ZZTVNQK3.js +0 -4
- package/dist/test/chart-rendering/test-utils/utils.d.ts +0 -7
- package/dist/test/utils/test-utils/utils.d.ts +0 -13
package/dist/chunks/data.js
CHANGED
|
@@ -1,9 +1,7 @@
|
|
|
1
|
-
import { substitute as M } from "@arcgis/core/intl.js";
|
|
2
|
-
import { cloneDeep as K, capitalize as $, memoize as ne, isEmpty as Be } from "lodash-es";
|
|
3
|
-
import { e as Ie, a as T, u as W, W as b, g as D, t as L, m as Y, n as Ce, i as Z } from "./series-types.js";
|
|
4
|
-
import { a as ce, R as Le } from "./rest-js-object-literals.js";
|
|
5
|
-
import { ae as G, cc as Ve, aX as de, cg as w, ac as V, aa as N, b5 as I, aw as Ne, ad as De, p as z, c5 as Oe, cA as P, b as U, c as qe, a as Me, r as O, bh as we, bI as ue, bi as Q, bj as H, ck as ke, l as J, cy as $e, m as je, bg as Pe, x as ee, az as Ue, aA as Ee, aC as Xe, bf as re, af as Re, ag as Ke } from "./interfaces.js";
|
|
6
1
|
import "@arcgis/toolkit/intl";
|
|
2
|
+
import { capitalize as c } from "lodash-es";
|
|
3
|
+
import { u as g, W as o, a as f, g as p, t as n } from "./series-types.js";
|
|
4
|
+
import { bn as C, b as O, d as $, a3 as L, p as D, c7 as N, cC as I, c as _, a as P } from "./interfaces.js";
|
|
7
5
|
import "d3-array";
|
|
8
6
|
import "@arcgis/core/geometry/support/jsonUtils.js";
|
|
9
7
|
import "@arcgis/core/rest/support/AttributeBinsQuery.js";
|
|
@@ -13,948 +11,82 @@ import "@arcgis/core/time/TimeExtent.js";
|
|
|
13
11
|
import "@arcgis/core/core/promiseUtils.js";
|
|
14
12
|
import "@arcgis/core/request.js";
|
|
15
13
|
import "./runtime.js";
|
|
16
|
-
import { q as We, l as C, n as ze, o as _e, j as v, k as B } from "./index4.js";
|
|
17
14
|
import "@arcgis/toolkit/dom";
|
|
18
|
-
import { a as
|
|
19
|
-
import { u as ye } from "./index2.js";
|
|
15
|
+
import { a as W, S as a } from "./common.js";
|
|
20
16
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
21
17
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
22
|
-
v5.0.0-next.
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
const { config: e, layerInfo: i, commonStrings: s, numericFields: a, aggregationType: r } = t;
|
|
33
|
-
let l = "";
|
|
34
|
-
if (e)
|
|
35
|
-
if (Ve(e) === Ie.Stacked100)
|
|
36
|
-
l = s.utilsStrings.statistics.percent;
|
|
37
|
-
else {
|
|
38
|
-
const g = de(r, s);
|
|
39
|
-
if (a.length === 1) {
|
|
40
|
-
const y = w(i.layerFieldsInfo, a[0]);
|
|
41
|
-
r === T.NoAggregation ? l = y : r === T.Count && a[0] === i.objectIdField ? l = s.utilsStrings.statistics.count : l = M(s.axisLabels.aggregationOfFieldName, {
|
|
42
|
-
aggregation: g,
|
|
43
|
-
fieldName: y
|
|
44
|
-
});
|
|
45
|
-
} else a.length > 1 && (r === T.NoAggregation ? l = s.axisLabels.values : l = M(s.axisLabels.aggregationOfValues, {
|
|
46
|
-
aggregation: g
|
|
47
|
-
}));
|
|
48
|
-
}
|
|
49
|
-
return l;
|
|
50
|
-
}
|
|
51
|
-
const fe = (t, e, i) => t.axes?.[e] ?? Ne(i, t.type)[e], me = (t) => {
|
|
52
|
-
const { config: e, axis: i, axisIndex: s } = t;
|
|
53
|
-
e.axes !== void 0 && (e.axes[s] = i);
|
|
54
|
-
}, jt = (t) => {
|
|
55
|
-
const { config: e, axisIndex: i, isMax: s } = t;
|
|
56
|
-
let a = Number.NaN;
|
|
57
|
-
return s ? a = e.axes?.[i]?.maximum : a = e.axes?.[i]?.minimum, a ?? Number.NaN;
|
|
58
|
-
}, A = (t) => {
|
|
59
|
-
const { config: e, value: i, axisIndex: s, isMax: a } = t, r = e?.axes?.[s];
|
|
60
|
-
r !== void 0 && (a ? r.maximum = i : r.minimum = i);
|
|
61
|
-
}, Pt = (t, e) => {
|
|
62
|
-
A({ config: t, value: e, axisIndex: 0, isMax: !1 });
|
|
63
|
-
}, xe = (t) => t.axes?.[0]?.valueFormat ?? G(), Ze = (t, e, i) => {
|
|
64
|
-
const s = fe(t, 0, e);
|
|
65
|
-
if (s !== void 0 && i !== void 0) {
|
|
66
|
-
const a = {
|
|
67
|
-
...s,
|
|
68
|
-
valueFormat: i
|
|
69
|
-
};
|
|
70
|
-
me({ config: t, axis: a, axisIndex: 0 });
|
|
71
|
-
}
|
|
72
|
-
}, oe = (t, e, i) => {
|
|
73
|
-
const s = t.axes?.[e];
|
|
74
|
-
s !== void 0 && (s.integerOnlyValues = i);
|
|
75
|
-
}, Ge = (t) => {
|
|
76
|
-
const e = W(t.series);
|
|
77
|
-
return e === b.BarSeries || e === b.ComboLineAndBarSeries || e === b.LineSeries;
|
|
78
|
-
}, Qe = (t) => {
|
|
79
|
-
const { axisIndex: e, config: i, isMultiAxis: s } = t;
|
|
80
|
-
let a = !1;
|
|
81
|
-
return e === 0 || e === 1 && s ? a = !0 : e === 2 && (a = Ge(i)), a;
|
|
82
|
-
}, Ut = (t) => {
|
|
83
|
-
const { axisIndex: e, func: i, config: s } = t;
|
|
84
|
-
return Qe({ axisIndex: e, config: s, isMultiAxis: !0 }) ? i(e) : void 0;
|
|
85
|
-
}, Et = (t, e) => {
|
|
86
|
-
let i;
|
|
87
|
-
const s = e.axes?.[t]?.valueFormat;
|
|
88
|
-
return (t === 0 || t >= 1 && We(s)) && (i = s), i;
|
|
89
|
-
}, Xt = (t) => {
|
|
90
|
-
const { config: e, commonStrings: i, valueFormat: s, axisIndex: a = 0 } = t, r = fe(e, a, i);
|
|
91
|
-
if (r !== void 0 && s !== void 0) {
|
|
92
|
-
const l = {
|
|
93
|
-
...r,
|
|
94
|
-
valueFormat: s
|
|
95
|
-
};
|
|
96
|
-
me({
|
|
97
|
-
config: e,
|
|
98
|
-
axis: l,
|
|
99
|
-
axisIndex: a
|
|
100
|
-
});
|
|
101
|
-
}
|
|
102
|
-
}, Rt = (t, e) => t.axes?.[e]?.isLogarithmic ?? !1, Kt = (t) => {
|
|
103
|
-
const { config: e, isLogarithmic: i, axisIndex: s } = t, a = e.axes?.[s];
|
|
104
|
-
a && (a.isLogarithmic = i, A({ config: e, value: null, axisIndex: s, isMax: !0 }), A({ config: e, value: null, axisIndex: s, isMax: !1 }));
|
|
105
|
-
}, Wt = (t) => {
|
|
106
|
-
const { config: e, scrollbar: i, axisIndex: s } = t;
|
|
107
|
-
e.axes?.[s] !== void 0 && (e.axes[s].scrollbar = i);
|
|
108
|
-
}, zt = (t) => t.version, He = (t) => t.title?.content.text ?? "", _t = (t, e) => {
|
|
109
|
-
e.title !== void 0 ? e.title.content.text = t : e.title === void 0 && t !== void 0 && (e.title = V({
|
|
110
|
-
text: t,
|
|
111
|
-
visible: !0,
|
|
112
|
-
font: N(I.ChartTitle)
|
|
113
|
-
}));
|
|
114
|
-
}, Yt = (t) => t.subtitle?.content.text ?? "", Zt = (t, e) => {
|
|
115
|
-
e.subtitle !== void 0 ? e.subtitle.content.text = t : e.subtitle === void 0 && t !== void 0 && (e.subtitle = V({
|
|
116
|
-
text: t,
|
|
117
|
-
visible: !0,
|
|
118
|
-
font: N(I.ChartSubtitle)
|
|
119
|
-
}));
|
|
120
|
-
}, Gt = (t) => t.footer?.content.text ?? "", Qt = (t, e) => {
|
|
121
|
-
e.footer !== void 0 ? e.footer.content.text = t : e.footer === void 0 && t !== void 0 && (e.footer = V({
|
|
122
|
-
text: t,
|
|
123
|
-
visible: !0,
|
|
124
|
-
font: N(I.DescriptionText)
|
|
125
|
-
}));
|
|
126
|
-
}, Ht = (t) => t.title ? t.title.visible ?? !0 : !1, Jt = (t, e) => {
|
|
127
|
-
e.title !== void 0 ? e.title.visible = t : e.title === void 0 && (e.title = V({
|
|
128
|
-
text: "",
|
|
129
|
-
visible: t,
|
|
130
|
-
font: N(I.ChartTitle)
|
|
131
|
-
}));
|
|
132
|
-
}, ei = (t) => t.subtitle ? t.subtitle.visible ?? !0 : !1, ti = (t, e) => {
|
|
133
|
-
e.subtitle !== void 0 ? e.subtitle.visible = t : e.subtitle === void 0 && (e.subtitle = V({
|
|
134
|
-
text: "",
|
|
135
|
-
visible: t,
|
|
136
|
-
font: N(I.ChartSubtitle)
|
|
137
|
-
}));
|
|
138
|
-
}, Je = (t) => t.footer?.visible ?? !1, ii = (t, e) => {
|
|
139
|
-
e.footer !== void 0 ? e.footer.visible = t : e.footer === void 0 && t !== Je(e) && (e.footer = V({
|
|
140
|
-
text: "",
|
|
141
|
-
visible: !0,
|
|
142
|
-
font: N(I.DescriptionText)
|
|
143
|
-
}));
|
|
144
|
-
}, si = (t) => t.chartRenderer, ai = (t, e) => {
|
|
145
|
-
e.chartRenderer = t;
|
|
146
|
-
}, ri = (t, e) => t.axes?.[e]?.title?.content, li = (t) => {
|
|
147
|
-
const { config: e, axisIndex: i, symbol: s } = t, a = e.axes?.[i];
|
|
148
|
-
if (a !== void 0) {
|
|
149
|
-
const r = a.title?.content.text;
|
|
150
|
-
(a.title === void 0 || s === void 0) && (a.title = V({
|
|
151
|
-
text: "",
|
|
152
|
-
visible: !0,
|
|
153
|
-
font: N(I.AxisTitle),
|
|
154
|
-
type: I.AxisTitle
|
|
155
|
-
})), s !== void 0 && (a.title.content = s), a.title.content.text = r;
|
|
156
|
-
}
|
|
157
|
-
}, oi = (t) => {
|
|
158
|
-
for (const e of t.axes ?? [])
|
|
159
|
-
if (e?.labels !== void 0)
|
|
160
|
-
return e.labels.content;
|
|
161
|
-
}, ni = (t, e) => {
|
|
162
|
-
for (const i of e.axes ?? [])
|
|
163
|
-
if (i !== void 0) {
|
|
164
|
-
const s = i.labels?.content.text;
|
|
165
|
-
t === void 0 ? i.labels = V({
|
|
166
|
-
text: "",
|
|
167
|
-
visible: !0,
|
|
168
|
-
font: N(I.AxisLabels),
|
|
169
|
-
type: I.AxisLabels
|
|
170
|
-
}) : i.labels.content = K(t), i.labels.content.text = s;
|
|
171
|
-
}
|
|
172
|
-
}, ci = (t) => {
|
|
173
|
-
for (const e of t.axes ?? [])
|
|
174
|
-
if (e?.lineSymbol !== void 0)
|
|
175
|
-
return e.lineSymbol;
|
|
176
|
-
}, di = (t, e) => {
|
|
177
|
-
for (const i of e.axes ?? [])
|
|
178
|
-
i !== void 0 && (i.lineSymbol = K(t) ?? De());
|
|
179
|
-
}, ui = (t) => {
|
|
180
|
-
for (const e of t.axes ?? [])
|
|
181
|
-
if (e?.grid !== void 0)
|
|
182
|
-
return e.grid;
|
|
183
|
-
}, yi = (t, e, i) => {
|
|
184
|
-
const s = e.axes;
|
|
185
|
-
i.forEach((a) => {
|
|
186
|
-
s?.[a] !== void 0 && (s[a].grid = K(t));
|
|
187
|
-
});
|
|
188
|
-
}, te = (t, e) => e.axes?.[t]?.title?.content.text ?? "", gi = (t, e, i) => {
|
|
189
|
-
const s = i.axes?.[e];
|
|
190
|
-
s?.title !== void 0 ? s.title.content.text = t : s !== void 0 && s?.title === void 0 && (s.title = V({
|
|
191
|
-
text: t,
|
|
192
|
-
visible: !0,
|
|
193
|
-
font: N(I.AxisTitle)
|
|
194
|
-
}));
|
|
195
|
-
}, fi = (t, e) => e.axes?.[t]?.title?.visible ?? !1, mi = (t, e, i) => {
|
|
196
|
-
const s = i.axes?.[e];
|
|
197
|
-
s?.title !== void 0 ? s.title.visible = t : s !== void 0 && s?.title === void 0 && (s.title = V({
|
|
198
|
-
text: te(e, i),
|
|
199
|
-
visible: t,
|
|
200
|
-
font: N(I.AxisTitle)
|
|
201
|
-
}));
|
|
202
|
-
}, xi = (t, e) => t.axes?.[e]?.displayZeroLine ?? !1, pi = (t, e, i) => {
|
|
203
|
-
t.axes?.[i] !== void 0 && (t.axes[i].displayZeroLine = e);
|
|
204
|
-
}, Si = (t, e) => t.axes?.[e]?.displayCursorTooltip ?? !1, Fi = (t) => {
|
|
205
|
-
const { config: e, displayCursorTooltip: i, axisIndex: s } = t;
|
|
206
|
-
e.axes?.[s] !== void 0 && (e.axes[s].displayCursorTooltip = i);
|
|
207
|
-
}, bi = (t, e) => t.axes?.[e]?.buffer ?? !1, Ai = (t) => {
|
|
208
|
-
const { config: e, buffer: i, axisIndex: s } = t, a = e.axes?.[s];
|
|
209
|
-
a !== void 0 && (a.buffer = i);
|
|
210
|
-
}, Ti = (t, e) => t.axes?.[e]?.tickSpacing, hi = (t) => {
|
|
211
|
-
const { config: e, tickSpacing: i, axisIndex: s } = t;
|
|
212
|
-
e.axes?.[s] !== void 0 && (e.axes[s].tickSpacing = i);
|
|
213
|
-
}, vi = (t, e) => t.axes?.[e]?.integerOnlyValues ?? !1, Bi = (t) => {
|
|
214
|
-
const { config: e, integerOnlyValues: i, axisIndex: s } = t;
|
|
215
|
-
e.axes?.[s] !== void 0 && (e.axes[s].integerOnlyValues = i);
|
|
216
|
-
}, et = (t) => {
|
|
217
|
-
let e = F.xAxisAsc;
|
|
218
|
-
const i = t.orderOptions?.data?.orderType ?? L.Category, s = t.orderOptions?.data?.orderBy ?? D.Ascending;
|
|
219
|
-
return i === L.Category && Array.isArray(s) ? e = F.customSort : i === L.Category ? s === D.Ascending ? e = F.xAxisAsc : e = F.xAxisDesc : s === D.Ascending ? e = F.yAxisAsc : e = F.yAxisDesc, e;
|
|
220
|
-
}, tt = (t) => {
|
|
221
|
-
const e = W(t.series);
|
|
222
|
-
let i = !1;
|
|
223
|
-
return (e === b.BarSeries || e === b.LineSeries) && (i = et(t) === F.customSort), i;
|
|
224
|
-
}, Ii = (t) => {
|
|
18
|
+
v5.0.0-next.24 */
|
|
19
|
+
const U = (r) => {
|
|
20
|
+
let e = a.xAxisAsc;
|
|
21
|
+
const t = r.orderOptions?.data?.orderType ?? n.Category, s = r.orderOptions?.data?.orderBy ?? p.Ascending;
|
|
22
|
+
return t === n.Category && Array.isArray(s) ? e = a.customSort : t === n.Category ? s === p.Ascending ? e = a.xAxisAsc : e = a.xAxisDesc : s === p.Ascending ? e = a.yAxisAsc : e = a.yAxisDesc, e;
|
|
23
|
+
}, v = (r) => {
|
|
24
|
+
const e = g(r.series);
|
|
25
|
+
let t = !1;
|
|
26
|
+
return (e === o.BarSeries || e === o.LineSeries) && (t = U(r) === a.customSort), t;
|
|
27
|
+
}, w = (r) => {
|
|
225
28
|
let e = [];
|
|
226
|
-
const
|
|
227
|
-
return
|
|
228
|
-
},
|
|
229
|
-
let s =
|
|
230
|
-
const
|
|
231
|
-
e.orderOptions ??= {},
|
|
29
|
+
const t = r.orderOptions?.data?.orderType;
|
|
30
|
+
return v(r) && t === n.Category && (e = r.orderOptions?.data?.orderBy), e;
|
|
31
|
+
}, ee = (r, e, t) => {
|
|
32
|
+
let s = n.Category, i = p.Ascending;
|
|
33
|
+
const l = g(e.series);
|
|
34
|
+
e.orderOptions ??= {}, r === a.customSort && t !== void 0 ? (i = [...t], e.orderOptions.data = {
|
|
232
35
|
orderType: s,
|
|
233
|
-
orderBy:
|
|
234
|
-
}) : (
|
|
36
|
+
orderBy: i
|
|
37
|
+
}) : (l === o.BarSeries || l === o.LineSeries) && (s = r === a.xAxisAsc || r === a.xAxisDesc ? n.Category : n.YValue, i = r === a.xAxisAsc || r === a.yAxisAsc ? p.Ascending : p.Descending, e.orderOptions.data = {
|
|
235
38
|
orderType: s,
|
|
236
|
-
orderBy:
|
|
39
|
+
orderBy: i
|
|
237
40
|
});
|
|
238
|
-
},
|
|
41
|
+
}, re = (r) => r?.series?.[0]?.x ?? "", se = (r) => {
|
|
239
42
|
const {
|
|
240
43
|
config: e,
|
|
241
|
-
xAxisField:
|
|
44
|
+
xAxisField: t,
|
|
242
45
|
numericFields: s,
|
|
243
|
-
aggregationType:
|
|
244
|
-
mode:
|
|
245
|
-
layer:
|
|
246
|
-
numericFieldIndex:
|
|
247
|
-
seriesIndex:
|
|
248
|
-
splitByField:
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
46
|
+
aggregationType: i,
|
|
47
|
+
mode: l,
|
|
48
|
+
layer: m,
|
|
49
|
+
numericFieldIndex: y,
|
|
50
|
+
seriesIndex: x,
|
|
51
|
+
splitByField: h = "",
|
|
52
|
+
fieldList: S
|
|
53
|
+
} = r, b = g(e.series), T = D(e.series), B = m ? N(m).objectIdField : "FID", F = s.length === 1 && s[0] === B;
|
|
54
|
+
let d = "y", u = "y";
|
|
55
|
+
switch (b) {
|
|
56
|
+
case o.PieSeries: {
|
|
57
|
+
i !== f.NoAggregation ? l === W.Category ? (d = `${i}_${s[0]}_0`.toUpperCase(), u = F ? c(f.Count) : c(`${i} of ${s[0]}`)) : d = P : d = s[0];
|
|
254
58
|
break;
|
|
255
59
|
}
|
|
256
|
-
case
|
|
257
|
-
case
|
|
258
|
-
case
|
|
259
|
-
case
|
|
260
|
-
if (
|
|
261
|
-
|
|
60
|
+
case o.BarSeries:
|
|
61
|
+
case o.LineSeries:
|
|
62
|
+
case o.ComboLineAndBarSeries:
|
|
63
|
+
case o.RadarSeries: {
|
|
64
|
+
if (h === "" || s.length > 1)
|
|
65
|
+
V({
|
|
66
|
+
fieldName: t,
|
|
67
|
+
numericFields: s,
|
|
68
|
+
fieldList: S ?? []
|
|
69
|
+
}) || T === I.BarAndLineFromFields ? d = _ : (d = `${i}_${s[y ?? 0]}_${y ?? 0}`.toUpperCase(), u = F ? c(f.Count) : c(`${i} of ${s[y ?? 0]}`));
|
|
262
70
|
else {
|
|
263
|
-
const
|
|
264
|
-
|
|
71
|
+
const A = s[0];
|
|
72
|
+
d = `${i}_${A}_${x ?? 0}`.toUpperCase(), u = F ? c(f.Count) : c(`${i} of ${A}`);
|
|
265
73
|
}
|
|
266
74
|
break;
|
|
267
75
|
}
|
|
268
76
|
}
|
|
269
77
|
return {
|
|
270
|
-
name:
|
|
271
|
-
description:
|
|
78
|
+
name: d,
|
|
79
|
+
description: u
|
|
272
80
|
};
|
|
273
81
|
};
|
|
274
|
-
function
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
const it = (t) => {
|
|
278
|
-
let e;
|
|
279
|
-
const i = t.series[0];
|
|
280
|
-
return O(i) && (e = i.temporalBinning?.size), e;
|
|
281
|
-
}, st = (t) => {
|
|
282
|
-
let e;
|
|
283
|
-
const i = t.series[0];
|
|
284
|
-
return O(i) && (e = i.temporalBinning?.unit), e;
|
|
285
|
-
}, at = (t) => {
|
|
286
|
-
let e;
|
|
287
|
-
const i = t.series[0];
|
|
288
|
-
return O(i) && (e = i.temporalBinning?.timeAggregationType), e;
|
|
289
|
-
}, rt = (t) => {
|
|
290
|
-
let e;
|
|
291
|
-
const i = t.series[0];
|
|
292
|
-
return O(i) && (e = i.temporalBinning?.trimIncompleteTimeInterval), e;
|
|
293
|
-
}, lt = (t) => {
|
|
294
|
-
let e;
|
|
295
|
-
const i = t.series[0];
|
|
296
|
-
return O(i) && (e = i.temporalBinning?.nullPolicy), e;
|
|
297
|
-
}, pe = (t, e) => {
|
|
298
|
-
e?.series?.forEach((i) => {
|
|
299
|
-
O(i) && (i.temporalBinning ??= {}, i.temporalBinning.size = t);
|
|
300
|
-
}), A({ config: e, value: null, axisIndex: 1, isMax: !1 }), A({ config: e, value: null, axisIndex: 1, isMax: !0 });
|
|
301
|
-
}, ot = (t, e) => {
|
|
302
|
-
e?.series?.forEach((i) => {
|
|
303
|
-
O(i) && (i.temporalBinning ??= {}, i.temporalBinning.nullPolicy = t);
|
|
304
|
-
}), A({ config: e, value: null, axisIndex: 1, isMax: !1 }), A({ config: e, value: null, axisIndex: 1, isMax: !0 });
|
|
305
|
-
}, Li = (t, e) => {
|
|
306
|
-
e.series?.forEach((i) => {
|
|
307
|
-
O(i) && (i.temporalBinning ??= {}, i.temporalBinning.unit = t);
|
|
308
|
-
}), A({ config: e, value: null, axisIndex: 1, isMax: !1 }), A({ config: e, value: null, axisIndex: 1, isMax: !0 });
|
|
309
|
-
}, Vi = (t, e) => {
|
|
310
|
-
e.series?.forEach((i) => {
|
|
311
|
-
O(i) && (i.temporalBinning ??= {}, i.temporalBinning.timeAggregationType = t);
|
|
312
|
-
}), A({ config: e, value: null, axisIndex: 1, isMax: !1 }), A({ config: e, value: null, axisIndex: 1, isMax: !0 });
|
|
313
|
-
}, Ni = (t, e) => {
|
|
314
|
-
e.series?.forEach((i) => {
|
|
315
|
-
O(i) && (i.temporalBinning ??= {}, i.temporalBinning.trimIncompleteTimeInterval = t);
|
|
316
|
-
}), A({ config: e, value: null, axisIndex: 1, isMax: !1 }), A({ config: e, value: null, axisIndex: 1, isMax: !0 });
|
|
317
|
-
}, Di = (t) => {
|
|
318
|
-
pe(0, t);
|
|
319
|
-
};
|
|
320
|
-
async function nt(t) {
|
|
321
|
-
const { config: e, layer: i, xAxisField: s, splitByField: a, layerFieldsInfo: r, aggregationFields: l, fetchNullValues: n } = t, y = r.filter((f) => f.name === a)[0]?.type, c = n !== !0 ? `${a} IS NOT NULL` : "", x = s && n !== !0 ? `${s} IS NOT NULL` : "", { where: m } = e?.dataFilters ?? {}, p = {
|
|
322
|
-
where: ue([m, c, x]),
|
|
323
|
-
// excluding the null values from the list
|
|
324
|
-
orderByFields: ke(a) ? [] : [`${a} ${D.Ascending}`],
|
|
325
|
-
// default sorting ascending for split-by field
|
|
326
|
-
geometry: e?.dataFilters?.geometry
|
|
327
|
-
}, u = i;
|
|
328
|
-
let d = "";
|
|
329
|
-
l.length === 0 ? d = u?.objectIdField ?? "" : [d] = l;
|
|
330
|
-
let S = await ye({
|
|
331
|
-
queryObject: u,
|
|
332
|
-
category: e?.series[0].x ?? "",
|
|
333
|
-
splitByField: a,
|
|
334
|
-
queryConfig: p
|
|
335
|
-
});
|
|
336
|
-
if (e) {
|
|
337
|
-
const f = e?.series.map((o) => J({ where: o.query?.where })?.toString() ?? "").filter((o) => o !== void 0 && o !== "");
|
|
338
|
-
S = $e({
|
|
339
|
-
arrayA: S,
|
|
340
|
-
arrayB: f,
|
|
341
|
-
getKey: (o) => o === null ? null : o?.toString()
|
|
342
|
-
});
|
|
343
|
-
}
|
|
344
|
-
return { categoriesArray: S, splitByFieldType: y, numericalField: d };
|
|
345
|
-
}
|
|
346
|
-
function Oi(t, e) {
|
|
347
|
-
let i = e === "";
|
|
348
|
-
for (const s of t)
|
|
349
|
-
if (e === s.name) {
|
|
350
|
-
i = !0;
|
|
351
|
-
break;
|
|
352
|
-
}
|
|
353
|
-
return i;
|
|
354
|
-
}
|
|
355
|
-
function qi(t, e) {
|
|
356
|
-
const i = we(t);
|
|
357
|
-
let s = e.length === 0, a = 0;
|
|
358
|
-
for (const r of e) {
|
|
359
|
-
for (const l of i)
|
|
360
|
-
if (r === l && (a += 1), a === e.length) {
|
|
361
|
-
s = !0;
|
|
362
|
-
break;
|
|
363
|
-
}
|
|
364
|
-
if (s)
|
|
365
|
-
break;
|
|
366
|
-
}
|
|
367
|
-
return s;
|
|
368
|
-
}
|
|
369
|
-
function Mi(t, e) {
|
|
370
|
-
e.forEach((i) => {
|
|
371
|
-
Object.getOwnPropertyNames(i.prototype).forEach((s) => {
|
|
372
|
-
Object.defineProperty(
|
|
373
|
-
t.prototype,
|
|
374
|
-
s,
|
|
375
|
-
Object.getOwnPropertyDescriptor(i.prototype, s) || /* @__PURE__ */ Object.create(null)
|
|
376
|
-
);
|
|
377
|
-
});
|
|
378
|
-
});
|
|
379
|
-
}
|
|
380
|
-
async function ct(t) {
|
|
381
|
-
const { layerInfo: e, config: i, category: s } = t, { layer: a } = e, { where: r } = i?.dataFilters ?? {}, { fetchNullValues: l } = i?.series?.[0]?.query ?? {}, n = l !== !0 ? `${s} IS NOT NULL` : "", g = {
|
|
382
|
-
where: ue([r, n]),
|
|
383
|
-
// excluding the null values from the list
|
|
384
|
-
orderByFields: [],
|
|
385
|
-
geometry: i?.dataFilters?.geometry
|
|
386
|
-
}, y = Q(a);
|
|
387
|
-
return (
|
|
388
|
-
// fetch unique category values asynchronously
|
|
389
|
-
(await ye({ queryObject: a, category: s, queryConfig: g })).map((x) => {
|
|
390
|
-
const m = String(x);
|
|
391
|
-
return H({
|
|
392
|
-
fieldName: s,
|
|
393
|
-
fieldValueToMatch: m,
|
|
394
|
-
subtypeInfo: y,
|
|
395
|
-
// use the retrieved subtype information
|
|
396
|
-
fieldList: e.layerFieldsInfo
|
|
397
|
-
// list of field information from the layer
|
|
398
|
-
}) ?? m;
|
|
399
|
-
})
|
|
400
|
-
);
|
|
82
|
+
function V(r) {
|
|
83
|
+
const { fieldName: e, fieldList: t, numericFields: s } = r, i = s.filter((m) => C(t ?? [], m)?.type !== "esriFieldTypeOID"), l = C(t ?? [], e);
|
|
84
|
+
return (e === O || e === $ || e === L || e === void 0 || e.trim() === "" || l === void 0) && (i?.length ?? 0) > 0;
|
|
401
85
|
}
|
|
402
|
-
const wi = (t, e) => e.series[t]?.id, ki = (t, e) => e.series.findIndex((i) => i.id === t), dt = (t) => t.series.length ?? 0, $i = (t, e) => e.series[t].visible ?? !0;
|
|
403
|
-
function ji(t, e) {
|
|
404
|
-
let i;
|
|
405
|
-
return t.length !== 0 && e < t.length && (i = t[e].dataTooltipValueFormat), i;
|
|
406
|
-
}
|
|
407
|
-
function Pi(t) {
|
|
408
|
-
const { series: e, seriesIndex: i, valueFormat: s } = t;
|
|
409
|
-
e.length !== 0 && i < e.length && (e[i].dataTooltipValueFormat = s);
|
|
410
|
-
}
|
|
411
|
-
function E(t) {
|
|
412
|
-
const { seriesIndex: e, xAxisField: i, aggregationType: s, config: a, layerInfo: r, commonStrings: l } = t, { objectIdField: n } = r ?? {};
|
|
413
|
-
let g;
|
|
414
|
-
const y = a.series[e ?? 0];
|
|
415
|
-
let c = !1, x = !1;
|
|
416
|
-
if (y === void 0) {
|
|
417
|
-
const u = a.series;
|
|
418
|
-
c = u.slice(0, e).every((d) => v(d)), x = u.slice(0, e).every((d) => B(d));
|
|
419
|
-
} else
|
|
420
|
-
c = v(y), x = B(y);
|
|
421
|
-
c ? g = Ue({
|
|
422
|
-
commonStrings: l,
|
|
423
|
-
seriesIndex: e,
|
|
424
|
-
objectIDField: n
|
|
425
|
-
}) : x ? g = Ee({
|
|
426
|
-
commonStrings: l,
|
|
427
|
-
seriesIndex: e,
|
|
428
|
-
objectIDField: n
|
|
429
|
-
}) : g = Xe({
|
|
430
|
-
seriesIndex: e,
|
|
431
|
-
objectIDField: n,
|
|
432
|
-
commonStrings: l
|
|
433
|
-
});
|
|
434
|
-
const m = a.series[0]?.dataLabels, p = {
|
|
435
|
-
...g,
|
|
436
|
-
x: i,
|
|
437
|
-
y: "",
|
|
438
|
-
dataLabels: {
|
|
439
|
-
...g.dataLabels,
|
|
440
|
-
type: g.dataLabels?.type ?? b.Text,
|
|
441
|
-
content: { ...g.dataLabels?.content, ...m?.content, type: Le.TS },
|
|
442
|
-
visible: m?.visible ?? !1
|
|
443
|
-
}
|
|
444
|
-
};
|
|
445
|
-
if (p.query = {
|
|
446
|
-
groupByFieldsForStatistics: [i]
|
|
447
|
-
}, s !== T.NoAggregation && n !== void 0) {
|
|
448
|
-
const u = `${s}_${n}_0`.toUpperCase();
|
|
449
|
-
p.y = u, p.query.outStatistics = [
|
|
450
|
-
{
|
|
451
|
-
statisticType: s,
|
|
452
|
-
onStatisticField: n,
|
|
453
|
-
outStatisticFieldName: u
|
|
454
|
-
}
|
|
455
|
-
];
|
|
456
|
-
}
|
|
457
|
-
if (v(p) || B(p) || C(p) && a.series[0]?.binTemporalData) {
|
|
458
|
-
let u;
|
|
459
|
-
if (a?.series?.[0] !== void 0 && (u = z(a.series)), u !== P.BarAndLineNoAggregation && u !== P.BarAndLineSplitByNoAggregation) {
|
|
460
|
-
let d = st(a);
|
|
461
|
-
d === Z.Quarter && (d = Z.Month), p.temporalBinning = {
|
|
462
|
-
size: it(a),
|
|
463
|
-
unit: d,
|
|
464
|
-
timeAggregationType: at(a),
|
|
465
|
-
trimIncompleteTimeInterval: rt(a),
|
|
466
|
-
nullPolicy: lt(a)
|
|
467
|
-
};
|
|
468
|
-
}
|
|
469
|
-
}
|
|
470
|
-
return K(p);
|
|
471
|
-
}
|
|
472
|
-
function Se(t, e, i) {
|
|
473
|
-
const { layerFieldsInfo: s, objectIdField: a } = e, r = X(t), l = ae(t), n = be(t), g = R(t), y = l.length === 0 || l.includes(a), c = de(n, i), x = y ? "" : l.map((o) => w(s ?? [], o)).join(", "), m = w(s ?? [], r), p = w(s ?? [], g), u = t.series.some((o) => C(o)), d = u ? "category" : "xAxisField", S = m;
|
|
474
|
-
let f = "";
|
|
475
|
-
if (se(r, l))
|
|
476
|
-
f = M(i.titleLabels.aggrTypeOfAggrFields, {
|
|
477
|
-
aggregationType: c,
|
|
478
|
-
aggregationFields: x
|
|
479
|
-
});
|
|
480
|
-
else if (n === T.NoAggregation) {
|
|
481
|
-
const o = y ? a : x;
|
|
482
|
-
if (g === "") {
|
|
483
|
-
const k = u ? "aggrTypeCategory" : "aggrTypeXAxisField";
|
|
484
|
-
f = M(i.titleLabels[k], {
|
|
485
|
-
aggregationType: o,
|
|
486
|
-
[d]: S
|
|
487
|
-
});
|
|
488
|
-
} else {
|
|
489
|
-
const k = u ? "aggrTypeCategoryBySplitBy" : "aggrTypeXAxisFieldBySplitBy";
|
|
490
|
-
f = M(i.titleLabels[k], {
|
|
491
|
-
aggregationType: o,
|
|
492
|
-
[d]: S,
|
|
493
|
-
splitByField: p
|
|
494
|
-
});
|
|
495
|
-
}
|
|
496
|
-
} else if (n === T.Count)
|
|
497
|
-
if (g === "") {
|
|
498
|
-
const o = u ? "aggrTypeCategory" : "aggrTypeXAxisField";
|
|
499
|
-
f = M(i.titleLabels[o], {
|
|
500
|
-
aggregationType: c,
|
|
501
|
-
[d]: S
|
|
502
|
-
});
|
|
503
|
-
} else {
|
|
504
|
-
const o = u ? "aggrTypeCategoryBySplitBy" : "aggrTypeXAxisFieldBySplitBy";
|
|
505
|
-
f = M(i.titleLabels[o], {
|
|
506
|
-
aggregationType: c,
|
|
507
|
-
[d]: S,
|
|
508
|
-
splitByField: p
|
|
509
|
-
});
|
|
510
|
-
}
|
|
511
|
-
else if (g !== "") {
|
|
512
|
-
const o = u ? "aggrTypeOfAggrFieldByCategoryBySplitByField" : "aggrTypeOfAggrFieldByXAxisFieldBySplitByField";
|
|
513
|
-
f = M(i.titleLabels[o], {
|
|
514
|
-
aggregationType: c,
|
|
515
|
-
aggregationField: x,
|
|
516
|
-
[d]: S,
|
|
517
|
-
splitByField: p
|
|
518
|
-
});
|
|
519
|
-
} else if (l.length > 0) {
|
|
520
|
-
const o = u ? "aggrTypeOfAggrFieldsByCategory" : "aggrTypeOfAggrFieldsByXAxisField";
|
|
521
|
-
f = M(i.titleLabels[o], {
|
|
522
|
-
aggregationType: c,
|
|
523
|
-
aggregationFields: x,
|
|
524
|
-
[d]: S
|
|
525
|
-
});
|
|
526
|
-
}
|
|
527
|
-
return f;
|
|
528
|
-
}
|
|
529
|
-
const Fe = (t) => J({
|
|
530
|
-
where: t.query?.where,
|
|
531
|
-
normalize: !1,
|
|
532
|
-
escape: !1
|
|
533
|
-
}) ?? "", be = (t) => t?.series?.[0]?.query?.outStatistics?.[0]?.statisticType ?? T.NoAggregation, R = ne(
|
|
534
|
-
(t) => {
|
|
535
|
-
const e = t?.series?.[0]?.query?.where?.split("=")[0].trim() ?? "";
|
|
536
|
-
return je(t?.series?.[0]?.query?.where) ? "" : e;
|
|
537
|
-
},
|
|
538
|
-
(t) => t?.series?.[0]?.query?.where
|
|
539
|
-
), ae = ne(
|
|
540
|
-
// without memoizing, the worst case efficiency is O(series.length), best case is O(1)
|
|
541
|
-
// with memoizing, the worst case efficiency for repeated calls becomes O(1)
|
|
542
|
-
(t) => {
|
|
543
|
-
let e = [];
|
|
544
|
-
if (R(t) === "")
|
|
545
|
-
e = t?.series.map((i) => {
|
|
546
|
-
const s = i.query?.outStatistics?.map((a) => a.onStatisticField) ?? [];
|
|
547
|
-
return s?.length > 0 ? s : i.y;
|
|
548
|
-
}).flat() ?? [];
|
|
549
|
-
else {
|
|
550
|
-
const i = t?.series?.[0], s = i?.query?.outStatistics?.[0]?.onStatisticField ?? [i?.y].flat()[0];
|
|
551
|
-
e = s !== void 0 ? [s] : [];
|
|
552
|
-
}
|
|
553
|
-
return [...new Set(e.filter((i) => i !== ""))];
|
|
554
|
-
},
|
|
555
|
-
// using series array address as key, since a change to the numeric fields will always rebuild a fresh series array
|
|
556
|
-
(t) => t?.series
|
|
557
|
-
);
|
|
558
|
-
function ut(t) {
|
|
559
|
-
const { numericFields: e, aggregationType: i, config: s, layerInfo: a } = t;
|
|
560
|
-
let r = !1;
|
|
561
|
-
i === T.Count ? r = !0 : i === T.NoAggregation && (r = e.every((g) => {
|
|
562
|
-
const y = a.layerFieldsInfo.find((c) => c.name === g);
|
|
563
|
-
return y !== void 0 ? re(y) : !1;
|
|
564
|
-
})), oe(s, 1, r);
|
|
565
|
-
const l = s.series.some((g) => v(g)), n = s.series.some((g) => B(g));
|
|
566
|
-
if (l || n) {
|
|
567
|
-
const g = X(s), y = a.layerFieldsInfo.find((x) => x.name === g), c = y !== void 0 && re(y);
|
|
568
|
-
oe(s, 0, c);
|
|
569
|
-
}
|
|
570
|
-
}
|
|
571
|
-
const yt = (t) => {
|
|
572
|
-
let e = F.xAxisAsc;
|
|
573
|
-
const i = t.orderOptions?.data?.orderType ?? L.Category, s = t.orderOptions?.data?.orderBy ?? D.Ascending;
|
|
574
|
-
return i === L.Category && Array.isArray(s) ? e = F.customSort : i === L.Category ? s === D.Ascending ? e = F.xAxisAsc : e = F.xAxisDesc : s === D.Ascending ? e = F.yAxisAsc : e = F.yAxisDesc, e;
|
|
575
|
-
};
|
|
576
|
-
function gt(t) {
|
|
577
|
-
const { xAxisField: e, numericFields: i, aggregationType: s, config: a, layerInfo: r, commonStrings: l } = t;
|
|
578
|
-
let n = !1;
|
|
579
|
-
const g = E({
|
|
580
|
-
config: a,
|
|
581
|
-
xAxisField: e,
|
|
582
|
-
aggregationType: s,
|
|
583
|
-
layerInfo: r,
|
|
584
|
-
seriesIndex: 0,
|
|
585
|
-
commonStrings: l
|
|
586
|
-
}), y = ie({
|
|
587
|
-
config: a,
|
|
588
|
-
xAxisField: e,
|
|
589
|
-
numericFields: i,
|
|
590
|
-
aggregationType: s,
|
|
591
|
-
layer: r.layer
|
|
592
|
-
}).name, c = {
|
|
593
|
-
...g,
|
|
594
|
-
id: `series_${Date.now()}`,
|
|
595
|
-
name: l.axisLabels.values,
|
|
596
|
-
x: U,
|
|
597
|
-
y
|
|
598
|
-
}, x = [];
|
|
599
|
-
for (const p of i)
|
|
600
|
-
x.push({
|
|
601
|
-
onStatisticField: p,
|
|
602
|
-
outStatisticFieldName: `${p}_0`.toUpperCase(),
|
|
603
|
-
statisticType: s
|
|
604
|
-
});
|
|
605
|
-
c.query = { outStatistics: x };
|
|
606
|
-
const m = a.series[0];
|
|
607
|
-
return m !== void 0 && (c.id = m.id, a.colorMatch || (C(m) && C(c) ? c.fillSymbol = m.fillSymbol : (v(c) && v(m) || B(c) && B(m)) && (c.lineSymbol = m.lineSymbol, c.markerSymbol = m.markerSymbol), n = !0), c.id = m.id, m.name !== g.name && (c.name = m.name)), a.series.length === 1 && !a.colorMatch && (C(c) ? c.fillSymbol = a.series[0].fillSymbol : (v(c) || B(c)) && (c.lineSymbol = a.series[0].lineSymbol, c.markerSymbol = a.series[0].markerSymbol), n = !0), a.colorMatch = !n, [c];
|
|
608
|
-
}
|
|
609
|
-
function Ae(t) {
|
|
610
|
-
const { xAxisField: e, numericFields: i, aggregationType: s, config: a, layerInfo: r, commonStrings: l } = t, { layerFieldsInfo: n, objectIdField: g } = r, y = [];
|
|
611
|
-
let c = !1;
|
|
612
|
-
for (let x = 0; x < i.length; x += 1) {
|
|
613
|
-
const m = E({
|
|
614
|
-
config: a,
|
|
615
|
-
xAxisField: e,
|
|
616
|
-
aggregationType: s,
|
|
617
|
-
layerInfo: r,
|
|
618
|
-
seriesIndex: x,
|
|
619
|
-
commonStrings: l
|
|
620
|
-
}), p = ie({
|
|
621
|
-
config: a,
|
|
622
|
-
xAxisField: e,
|
|
623
|
-
numericFields: i,
|
|
624
|
-
aggregationType: s,
|
|
625
|
-
layer: r.layer,
|
|
626
|
-
numericFieldIndex: x
|
|
627
|
-
}).name, u = i[x];
|
|
628
|
-
let d = {
|
|
629
|
-
...m,
|
|
630
|
-
query: {
|
|
631
|
-
...m.query
|
|
632
|
-
}
|
|
633
|
-
};
|
|
634
|
-
u !== g && (d = {
|
|
635
|
-
...d,
|
|
636
|
-
id: u,
|
|
637
|
-
name: w(n, u)
|
|
638
|
-
});
|
|
639
|
-
let S = u;
|
|
640
|
-
d.query !== void 0 && (s !== T.NoAggregation ? (S = p, d.query.outStatistics = [
|
|
641
|
-
{
|
|
642
|
-
...m.query?.outStatistics?.[0] ?? {},
|
|
643
|
-
onStatisticField: u,
|
|
644
|
-
outStatisticFieldName: p,
|
|
645
|
-
statisticType: s
|
|
646
|
-
}
|
|
647
|
-
]) : delete d.query.outStatistics), d.y = S;
|
|
648
|
-
const f = a.series.find(
|
|
649
|
-
(o) => o.query?.outStatistics?.[0]?.onStatisticField === u && o.query.where === void 0
|
|
650
|
-
);
|
|
651
|
-
if (f !== void 0 && typeof f.y == "string" && f.y.trim() !== "") {
|
|
652
|
-
a.colorMatch || (C(d) && C(f) ? d.fillSymbol = f.fillSymbol : (v(d) && v(f) || B(d) && B(f)) && (d.lineSymbol = f.lineSymbol, d.markerSymbol = f.markerSymbol), c = !0);
|
|
653
|
-
const o = E({
|
|
654
|
-
config: a,
|
|
655
|
-
xAxisField: e,
|
|
656
|
-
aggregationType: s,
|
|
657
|
-
layerInfo: r,
|
|
658
|
-
seriesIndex: x,
|
|
659
|
-
commonStrings: l
|
|
660
|
-
});
|
|
661
|
-
d.id = f.id, f.id !== o.id && f.name !== o.name && (d.id = f.id, d.name = f.name);
|
|
662
|
-
}
|
|
663
|
-
y.push(d);
|
|
664
|
-
}
|
|
665
|
-
return a.series.length === 1 && y.length === 1 && !a.colorMatch && (C(a.series[0]) && C(y[0]) ? y[0].fillSymbol = a.series[0].fillSymbol : (v(a.series[0]) && v(y[0]) || B(a.series[0]) && B(y[0])) && (y[0].lineSymbol = a.series[0].lineSymbol, y[0].markerSymbol = a.series[0].markerSymbol), c = !0), a.colorMatch = !c, y;
|
|
666
|
-
}
|
|
667
|
-
async function ft(t) {
|
|
668
|
-
const { splitByField: e, xAxisField: i, numericFields: s, aggregationType: a, config: r, layerInfo: l, commonStrings: n } = t, { layer: g, layerFieldsInfo: y } = l, { fetchNullValues: c } = r?.series?.[0]?.query ?? {}, x = i !== U ? i : void 0, { categoriesArray: m, splitByFieldType: p, numericalField: u } = await nt({
|
|
669
|
-
config: r,
|
|
670
|
-
layer: g,
|
|
671
|
-
layerFieldsInfo: y,
|
|
672
|
-
xAxisField: x,
|
|
673
|
-
aggregationFields: s,
|
|
674
|
-
splitByField: e,
|
|
675
|
-
fetchNullValues: c
|
|
676
|
-
});
|
|
677
|
-
let d = [], S = !1;
|
|
678
|
-
if (m.length === 0) {
|
|
679
|
-
d = Ae({
|
|
680
|
-
xAxisField: i,
|
|
681
|
-
numericFields: s,
|
|
682
|
-
aggregationType: a,
|
|
683
|
-
config: r,
|
|
684
|
-
layerInfo: l,
|
|
685
|
-
commonStrings: n
|
|
686
|
-
});
|
|
687
|
-
for (const f of d)
|
|
688
|
-
f.query && (f.query.where = `${e}=''`);
|
|
689
|
-
} else
|
|
690
|
-
for (let f = 0; f < m.length; f += 1) {
|
|
691
|
-
const o = m[f], k = ie({
|
|
692
|
-
config: r,
|
|
693
|
-
xAxisField: i,
|
|
694
|
-
numericFields: s,
|
|
695
|
-
aggregationType: a,
|
|
696
|
-
layer: l.layer,
|
|
697
|
-
seriesIndex: f,
|
|
698
|
-
splitByField: e
|
|
699
|
-
}).name, j = E({
|
|
700
|
-
config: r,
|
|
701
|
-
xAxisField: i,
|
|
702
|
-
aggregationType: a,
|
|
703
|
-
layerInfo: l,
|
|
704
|
-
seriesIndex: f,
|
|
705
|
-
commonStrings: n
|
|
706
|
-
}), Te = {
|
|
707
|
-
fieldName: e,
|
|
708
|
-
fieldValueToMatch: o ?? "",
|
|
709
|
-
subtypeInfo: Q(l.layer),
|
|
710
|
-
fieldList: l.layerFieldsInfo
|
|
711
|
-
}, he = H(Te), _ = `${o}`, h = {
|
|
712
|
-
...j,
|
|
713
|
-
id: _,
|
|
714
|
-
name: he ?? _,
|
|
715
|
-
y: k,
|
|
716
|
-
query: {
|
|
717
|
-
...j.query,
|
|
718
|
-
where: `${e}=${p === ce.String && o !== null ? `'${o}'` : o}`,
|
|
719
|
-
outStatistics: a !== T.NoAggregation ? [
|
|
720
|
-
{
|
|
721
|
-
...j.query?.outStatistics?.[0] ?? {},
|
|
722
|
-
onStatisticField: u,
|
|
723
|
-
outStatisticFieldName: k,
|
|
724
|
-
statisticType: a
|
|
725
|
-
}
|
|
726
|
-
] : void 0
|
|
727
|
-
}
|
|
728
|
-
};
|
|
729
|
-
a === T.NoAggregation && (h.query !== void 0 && (delete h.query.outStatistics, delete h.query.groupByFieldsForStatistics), h.y = u);
|
|
730
|
-
const q = r.series.find(
|
|
731
|
-
(ve) => String(Fe(ve)).trim().replace(/'/gu, "") === _
|
|
732
|
-
);
|
|
733
|
-
q !== void 0 && (r.colorMatch || (C(h) && C(q) ? h.fillSymbol = q.fillSymbol : (v(h) && v(q) || B(h) && B(q)) && (h.lineSymbol = q.lineSymbol, h.markerSymbol = q.markerSymbol), S = !0), h.id = q.id, h.name = q.name), d.push(h);
|
|
734
|
-
}
|
|
735
|
-
return r.colorMatch = !S, d;
|
|
736
|
-
}
|
|
737
|
-
const Ui = async (t) => {
|
|
738
|
-
const { xAxisField: e, splitByField: i, numericFields: s, aggregationType: a, config: r, layerInfo: l, commonStrings: n } = t, { layerFieldsInfo: g } = l ?? {}, y = dt(r), c = X(r), x = mt(r, l, n), m = xt(r, l, n), p = pt(r, l);
|
|
739
|
-
let u = xe(r);
|
|
740
|
-
const d = r.series.some((o) => C(o)), S = ze(r.series), f = _e(r.series);
|
|
741
|
-
if (g !== void 0) {
|
|
742
|
-
const o = Pe(g);
|
|
743
|
-
!o.includes(c) && o.includes(e) ? u = Re() : o.includes(c) && !o.includes(e) && (d ? u = G() : u = Ke()), g.find((j) => j.name === e)?.type === ce.String && (u = G()), u !== void 0 && Ze(r, n, u);
|
|
744
|
-
}
|
|
745
|
-
if (y === 0 && (r.series = [
|
|
746
|
-
E({ config: r, xAxisField: e, aggregationType: a, layerInfo: l, commonStrings: n })
|
|
747
|
-
]), r.series.forEach((o) => {
|
|
748
|
-
o.x = e, o.query !== void 0 && (o.query.groupByFieldsForStatistics = [e]);
|
|
749
|
-
}), i === "" || s.length > 1 ? se(e, s) ? r.series = gt({
|
|
750
|
-
config: r,
|
|
751
|
-
layerInfo: l,
|
|
752
|
-
xAxisField: e,
|
|
753
|
-
numericFields: s,
|
|
754
|
-
aggregationType: a,
|
|
755
|
-
commonStrings: n
|
|
756
|
-
}) : r.series = Ae({
|
|
757
|
-
config: r,
|
|
758
|
-
layerInfo: l,
|
|
759
|
-
xAxisField: e,
|
|
760
|
-
numericFields: s,
|
|
761
|
-
aggregationType: a,
|
|
762
|
-
commonStrings: n
|
|
763
|
-
}) : (await Promise.resolve(), r.series = await ft({
|
|
764
|
-
config: r,
|
|
765
|
-
layerInfo: l,
|
|
766
|
-
splitByField: i,
|
|
767
|
-
xAxisField: e,
|
|
768
|
-
numericFields: s,
|
|
769
|
-
aggregationType: a,
|
|
770
|
-
commonStrings: n
|
|
771
|
-
})), p) {
|
|
772
|
-
const o = w(g, e);
|
|
773
|
-
le(r, 0, o);
|
|
774
|
-
}
|
|
775
|
-
if (m) {
|
|
776
|
-
const o = ge({
|
|
777
|
-
config: r,
|
|
778
|
-
layerInfo: l,
|
|
779
|
-
commonStrings: n,
|
|
780
|
-
numericFields: s,
|
|
781
|
-
aggregationType: a
|
|
782
|
-
});
|
|
783
|
-
le(r, 1, o);
|
|
784
|
-
}
|
|
785
|
-
if (r.title && x && (r.title.content.text = Se(r, l, n)), A({ config: r, value: null, axisIndex: 1, isMax: !1 }), A({ config: r, value: null, axisIndex: 1, isMax: !0 }), ut({ numericFields: s, aggregationType: a, config: r, layerInfo: l }), S || f) {
|
|
786
|
-
A({ config: r, value: null, axisIndex: 0, isMax: !1 }), A({ config: r, value: null, axisIndex: 0, isMax: !0 }), pe(0, r);
|
|
787
|
-
const o = u?.type === b.DateAxisFormat ? Y.Null : Y.Interpolate;
|
|
788
|
-
ot(o, r);
|
|
789
|
-
}
|
|
790
|
-
}, Ei = (t) => {
|
|
791
|
-
const { config: e, seriesIndex: i, layerInfo: s, commonStrings: a } = t, r = e.series?.[i], l = R(e);
|
|
792
|
-
let n;
|
|
793
|
-
if (z(e.series) === P.BarAndLineFromFields)
|
|
794
|
-
n = a.axisLabels.values;
|
|
795
|
-
else if (Be(l)) {
|
|
796
|
-
const y = r.query?.outStatistics?.[0]?.onStatisticField;
|
|
797
|
-
y !== void 0 && y !== s.objectIdField && (n = w(s.layerFieldsInfo, y));
|
|
798
|
-
} else {
|
|
799
|
-
const y = String(Fe(r)).trim().replace(/'/gu, ""), c = {
|
|
800
|
-
fieldName: R(e),
|
|
801
|
-
fieldValueToMatch: y ?? "",
|
|
802
|
-
subtypeInfo: Q(s.layer),
|
|
803
|
-
fieldList: s.layerFieldsInfo
|
|
804
|
-
};
|
|
805
|
-
n = H(c) ?? y;
|
|
806
|
-
}
|
|
807
|
-
return n ?? r.id;
|
|
808
|
-
}, Xi = (t, e) => {
|
|
809
|
-
e.orderOptions ??= {};
|
|
810
|
-
const i = e.orderOptions?.data?.orderType;
|
|
811
|
-
yt(e) === F.customSort && i === L.Category && (e.orderOptions.data = {
|
|
812
|
-
orderType: L.Category,
|
|
813
|
-
orderBy: [...t]
|
|
814
|
-
});
|
|
815
|
-
}, Ri = async (t, e) => {
|
|
816
|
-
const i = X(t), s = xe(t)?.type, a = ae(t), r = z(t.series);
|
|
817
|
-
let l = [];
|
|
818
|
-
return s === b.CategoryAxisFormat && (r === P.BarAndLineFromFields || i === U ? l = a.map((n) => w(e?.layerFieldsInfo, n)) : i.trim() !== "" && i !== U && e !== void 0 && (l = await ct({
|
|
819
|
-
layerInfo: e,
|
|
820
|
-
config: t,
|
|
821
|
-
category: i
|
|
822
|
-
}))), l;
|
|
823
|
-
};
|
|
824
|
-
function mt(t, e, i) {
|
|
825
|
-
const s = Se(t, e, i), a = He(t), r = ee(t);
|
|
826
|
-
return s === a || r;
|
|
827
|
-
}
|
|
828
|
-
function xt(t, e, i) {
|
|
829
|
-
const s = ge({
|
|
830
|
-
config: t,
|
|
831
|
-
layerInfo: e,
|
|
832
|
-
commonStrings: i,
|
|
833
|
-
numericFields: ae(t),
|
|
834
|
-
aggregationType: be(t)
|
|
835
|
-
}), a = te(1, t), r = ee(t);
|
|
836
|
-
return s === a || r;
|
|
837
|
-
}
|
|
838
|
-
function pt(t, e) {
|
|
839
|
-
const i = w(e.layerFieldsInfo, X(t)), s = te(0, t), a = ee(t);
|
|
840
|
-
return i === s || a;
|
|
841
|
-
}
|
|
842
|
-
function Ki(t) {
|
|
843
|
-
return t.series[0]?.binTemporalData ?? !1;
|
|
844
|
-
}
|
|
845
|
-
function Wi(t, e) {
|
|
846
|
-
e?.series.forEach((i) => {
|
|
847
|
-
(i?.type === b.BarSeries || i?.type === b.LineSeries) && (i.binTemporalData = t, t ? i.temporalBinning = {
|
|
848
|
-
unit: Z.Day,
|
|
849
|
-
size: 0,
|
|
850
|
-
timeAggregationType: Ce.Start,
|
|
851
|
-
trimIncompleteTimeInterval: !0,
|
|
852
|
-
nullPolicy: Y.Null
|
|
853
|
-
} : delete i.temporalBinning);
|
|
854
|
-
});
|
|
855
|
-
}
|
|
856
|
-
const zi = (t, e) => {
|
|
857
|
-
e.series.forEach((i) => {
|
|
858
|
-
i.query && (i.query.fetchNullValues = t);
|
|
859
|
-
});
|
|
860
|
-
}, _i = (t) => t.series.some((e) => e.query?.fetchNullValues), Yi = (t) => (
|
|
861
|
-
// TODO: Look into split-by values gotchas cases once done
|
|
862
|
-
t.series.map((e) => String(J({ where: e.query?.where }))).filter((e) => e !== void 0 && e.trim() !== "")
|
|
863
|
-
), Zi = (t) => t.dataFilters, Gi = (t, e) => {
|
|
864
|
-
t !== void 0 ? e.dataFilters = t : delete e.dataFilters;
|
|
865
|
-
};
|
|
866
86
|
export {
|
|
867
|
-
|
|
868
|
-
|
|
869
|
-
|
|
870
|
-
|
|
871
|
-
|
|
872
|
-
Di as E,
|
|
873
|
-
yt as F,
|
|
874
|
-
Ci as G,
|
|
875
|
-
Ri as H,
|
|
876
|
-
Ii as I,
|
|
877
|
-
Xi as J,
|
|
878
|
-
Ki as K,
|
|
879
|
-
Wi as L,
|
|
880
|
-
Ui as M,
|
|
881
|
-
Se as N,
|
|
882
|
-
Gt as O,
|
|
883
|
-
zt as P,
|
|
884
|
-
_t as Q,
|
|
885
|
-
Yt as R,
|
|
886
|
-
Zt as S,
|
|
887
|
-
Qt as T,
|
|
888
|
-
Ht as U,
|
|
889
|
-
Jt as V,
|
|
890
|
-
ei as W,
|
|
891
|
-
ti as X,
|
|
892
|
-
Je as Y,
|
|
893
|
-
ii as Z,
|
|
894
|
-
si as _,
|
|
895
|
-
te as a,
|
|
896
|
-
$i as a0,
|
|
897
|
-
wi as a1,
|
|
898
|
-
ki as a2,
|
|
899
|
-
dt as a3,
|
|
900
|
-
ji as a4,
|
|
901
|
-
Pi as a5,
|
|
902
|
-
_i as a6,
|
|
903
|
-
zi as a7,
|
|
904
|
-
Zi as a8,
|
|
905
|
-
Gi as a9,
|
|
906
|
-
hi as aA,
|
|
907
|
-
vi as aB,
|
|
908
|
-
Bi as aC,
|
|
909
|
-
gi as aa,
|
|
910
|
-
fi as ab,
|
|
911
|
-
mi as ac,
|
|
912
|
-
jt as ad,
|
|
913
|
-
Pt as ae,
|
|
914
|
-
ri as af,
|
|
915
|
-
li as ag,
|
|
916
|
-
oi as ah,
|
|
917
|
-
ni as ai,
|
|
918
|
-
ci as aj,
|
|
919
|
-
di as ak,
|
|
920
|
-
Ut as al,
|
|
921
|
-
ui as am,
|
|
922
|
-
yi as an,
|
|
923
|
-
Ti as ao,
|
|
924
|
-
Et as ap,
|
|
925
|
-
Xt as aq,
|
|
926
|
-
Rt as ar,
|
|
927
|
-
Kt as as,
|
|
928
|
-
Wt as at,
|
|
929
|
-
xi as au,
|
|
930
|
-
pi as av,
|
|
931
|
-
Si as aw,
|
|
932
|
-
Fi as ax,
|
|
933
|
-
bi as ay,
|
|
934
|
-
Ai as az,
|
|
935
|
-
ge as b,
|
|
936
|
-
ie as c,
|
|
937
|
-
Ei as d,
|
|
938
|
-
Mi as e,
|
|
939
|
-
Oi as f,
|
|
940
|
-
He as g,
|
|
941
|
-
X as h,
|
|
942
|
-
qi as i,
|
|
943
|
-
be as j,
|
|
944
|
-
ae as k,
|
|
945
|
-
Yi as l,
|
|
946
|
-
R as m,
|
|
947
|
-
xe as n,
|
|
948
|
-
ct as o,
|
|
949
|
-
Ze as p,
|
|
950
|
-
nt as q,
|
|
951
|
-
oe as r,
|
|
952
|
-
A as s,
|
|
953
|
-
it as t,
|
|
954
|
-
le as u,
|
|
955
|
-
pe as v,
|
|
956
|
-
st as w,
|
|
957
|
-
Li as x,
|
|
958
|
-
at as y,
|
|
959
|
-
Vi as z
|
|
87
|
+
re as a,
|
|
88
|
+
ee as b,
|
|
89
|
+
w as c,
|
|
90
|
+
se as g,
|
|
91
|
+
V as s
|
|
960
92
|
};
|