@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
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import "@arcgis/toolkit/intl";
|
|
2
|
-
import { memoize as
|
|
3
|
-
import { W as
|
|
4
|
-
import { a as
|
|
5
|
-
import { ao as
|
|
2
|
+
import { memoize as X, isEmpty as ye, isEqual as ue, cloneDeep as j } from "lodash-es";
|
|
3
|
+
import { W as f, t as p, g as h } from "./series-types.js";
|
|
4
|
+
import { a as fe } from "./rest-js-object-literals.js";
|
|
5
|
+
import { ao as q, i as O, a3 as C, x as V, m as me, I as Se, bg as pe, ci as w, bi as J, bj as R, ap as _, ad as G, a1 as H, aD as Q, b2 as K, az as ge, af as xe, ae as be } from "./interfaces.js";
|
|
6
6
|
import "@arcgis/core/geometry/support/jsonUtils.js";
|
|
7
7
|
import "@arcgis/core/rest/support/AttributeBinsQuery.js";
|
|
8
8
|
import "@arcgis/core/rest/support/Query.js";
|
|
@@ -11,149 +11,155 @@ import "@arcgis/core/time/TimeExtent.js";
|
|
|
11
11
|
import "@arcgis/core/core/promiseUtils.js";
|
|
12
12
|
import "@arcgis/core/request.js";
|
|
13
13
|
import "./runtime.js";
|
|
14
|
-
import { g as P, p as
|
|
14
|
+
import { g as P, p as he } from "./index4.js";
|
|
15
15
|
import "@arcgis/toolkit/dom";
|
|
16
16
|
import { substitute as M } from "@arcgis/core/intl.js";
|
|
17
|
-
import { u as D, a as
|
|
17
|
+
import { u as D, a as z, l as Z, m as Fe, n as Ae, s as U, g as Be, o as Ce } from "./data2.js";
|
|
18
18
|
import { B as u } from "./common.js";
|
|
19
19
|
import "d3-array";
|
|
20
|
+
import { s as W } from "./data.js";
|
|
20
21
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
21
22
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
22
|
-
v5.0.0-next.
|
|
23
|
-
const
|
|
23
|
+
v5.0.0-next.24 */
|
|
24
|
+
const ns = (s, e) => e?.series?.[s]?.name, as = (s, e, t) => {
|
|
24
25
|
const o = t;
|
|
25
26
|
o?.series?.[e] !== void 0 && (o.series[e].name = s);
|
|
26
|
-
},
|
|
27
|
+
}, cs = (s, e) => {
|
|
27
28
|
let t;
|
|
28
29
|
const o = e.series?.[s];
|
|
29
|
-
return o?.type ===
|
|
30
|
+
return o?.type === f.BoxPlotSeries ? t = o.fillSymbol?.color : o?.type === f.LineSeries && (t = o.lineSymbol?.color), t;
|
|
30
31
|
}, we = (s) => {
|
|
31
32
|
const e = s.series[0];
|
|
32
33
|
return s.showMean === !0 && P(e) ? e.fillSymbol?.color : void 0;
|
|
33
|
-
},
|
|
34
|
+
}, Le = (s, e) => {
|
|
34
35
|
const t = e.series[0];
|
|
35
36
|
e.showMean === !0 && P(t) && (t.fillSymbol !== void 0 ? t.fillSymbol.color = s : t.fillSymbol = {
|
|
36
|
-
...
|
|
37
|
+
...q(),
|
|
37
38
|
color: s
|
|
38
39
|
});
|
|
39
|
-
},
|
|
40
|
+
}, ds = (s, e, t) => {
|
|
40
41
|
const i = t?.series?.[e];
|
|
41
|
-
i?.type ===
|
|
42
|
-
}, Te = (s) => s.series.map((e) => e.id),
|
|
42
|
+
i?.type === f.BoxPlotSeries && i.fillSymbol !== void 0 ? i.fillSymbol.color = s : i?.type === f.LineSeries && i.lineSymbol !== void 0 && (i.lineSymbol.color = s, i.markerSymbol !== void 0 && (i.markerSymbol.color = s));
|
|
43
|
+
}, Te = (s) => s.series.map((e) => e.id), ve = (s, e) => {
|
|
43
44
|
e?.series?.sort(
|
|
44
45
|
(t, o) => s.findIndex((i) => t.id === i) - s.findIndex((i) => o.id === i)
|
|
45
46
|
);
|
|
46
|
-
},
|
|
47
|
+
}, ys = (s, e, t) => {
|
|
47
48
|
const o = Te(t), [i] = o.splice(s, 1);
|
|
48
|
-
o.splice(e, 0, i),
|
|
49
|
-
},
|
|
50
|
-
function
|
|
51
|
-
const o =
|
|
49
|
+
o.splice(e, 0, i), ve(o, t);
|
|
50
|
+
}, us = (s) => N(s) ? s.series.findIndex((e) => e.type === f.BoxPlotSeries) : -1;
|
|
51
|
+
function Me(s, e, t) {
|
|
52
|
+
const o = le(s, e, t), i = Be(s), r = V(s);
|
|
52
53
|
return o === i || r;
|
|
53
54
|
}
|
|
54
|
-
function
|
|
55
|
-
const o =
|
|
55
|
+
function ee(s, e, t) {
|
|
56
|
+
const o = T(s, e, t), i = z(1, s), r = V(s);
|
|
56
57
|
return o === i || r;
|
|
57
58
|
}
|
|
58
|
-
function
|
|
59
|
-
const { config: e, layerInfo: t, newCategory: o } = s, { layerFieldsInfo: i } = t, r =
|
|
59
|
+
function Ie(s) {
|
|
60
|
+
const { config: e, layerInfo: t, newCategory: o } = s, { layerFieldsInfo: i } = t, r = L(e), l = o !== C ? w(i, r) : "", n = z(0, e), a = V(e);
|
|
60
61
|
return l === n || a || n.trim() === "";
|
|
61
62
|
}
|
|
62
|
-
const
|
|
63
|
+
const L = (s) => O(s)?.x ?? C, Oe = X(
|
|
63
64
|
(s) => {
|
|
64
65
|
const e = O(s), t = e?.query?.where?.split("=")[0].trim() ?? "";
|
|
65
|
-
return
|
|
66
|
+
return me(e?.query?.where) ? "" : t;
|
|
66
67
|
},
|
|
67
68
|
(s) => O(s)?.query?.where
|
|
68
|
-
),
|
|
69
|
+
), se = X(
|
|
69
70
|
// without memoizing, the worst case efficiency is O(series.length), best case is O(1)
|
|
70
71
|
// with memoizing, the worst case efficiency for repeated calls becomes O(1)
|
|
71
|
-
(s) =>
|
|
72
|
+
(s) => Se(s?.series).filter((e) => e !== ""),
|
|
72
73
|
// using series array address as key, since a change to the numeric fields will always rebuild a fresh series array
|
|
73
74
|
(s) => s?.series
|
|
74
75
|
), I = (s) => {
|
|
75
76
|
const { category: e, seriesIndex: t, y: o, commonStrings: i } = s, l = {
|
|
76
|
-
...
|
|
77
|
-
x: e === void 0 || e === "" ?
|
|
77
|
+
...Q(i, t),
|
|
78
|
+
x: e === void 0 || e === "" ? C : e,
|
|
78
79
|
y: o,
|
|
79
80
|
query: {}
|
|
80
81
|
};
|
|
81
|
-
return
|
|
82
|
-
},
|
|
82
|
+
return j(l);
|
|
83
|
+
}, Pe = (s) => {
|
|
83
84
|
const { category: e, seriesIndex: t, y: o, commonStrings: i } = s, l = {
|
|
84
|
-
...
|
|
85
|
-
x: e === void 0 || e === "" ?
|
|
85
|
+
...ge({ commonStrings: i, seriesIndex: t }),
|
|
86
|
+
x: e === void 0 || e === "" ? C : e,
|
|
86
87
|
y: o,
|
|
87
88
|
query: {}
|
|
88
89
|
};
|
|
89
|
-
return
|
|
90
|
+
return j(l);
|
|
90
91
|
};
|
|
91
|
-
function se(s) {
|
|
92
|
-
const { x: e, y: t, seriesTemplate: o, commonStrings: i } = s, { id: r, fillSymbol: l } = o ?? {}, n = H(i), a = r ?? `series_${Date.now()}`;
|
|
93
|
-
return n.id = a, n.name = a, n.x = e, n.y = t, l ? n.fillSymbol = l : n.fillSymbol && (n.fillSymbol.color = Y, n.fillSymbol?.outline && (n.fillSymbol.outline.color = Y)), n;
|
|
94
|
-
}
|
|
95
92
|
function te(s) {
|
|
96
|
-
const {
|
|
97
|
-
|
|
93
|
+
const { x: e, y: t, seriesTemplate: o, commonStrings: i } = s, { id: r, fillSymbol: l } = o ?? {}, n = Q(i), a = r ?? `series_${Date.now()}`;
|
|
94
|
+
return n.id = a, n.name = a, n.x = e, n.y = t, l ? n.fillSymbol = l : n.fillSymbol && (n.fillSymbol.color = K, n.fillSymbol?.outline && (n.fillSymbol.outline.color = K)), n;
|
|
95
|
+
}
|
|
96
|
+
function ie(s) {
|
|
97
|
+
const { numericFields: e, config: t, layerInfo: o, category: i, commonStrings: r } = s, { layerFieldsInfo: l } = o, n = [], a = i ?? L(t);
|
|
98
|
+
let y = !1;
|
|
99
|
+
const c = W({
|
|
100
|
+
fieldName: a,
|
|
101
|
+
numericFields: e,
|
|
102
|
+
fieldList: l
|
|
103
|
+
});
|
|
98
104
|
if (e.length === 0) {
|
|
99
|
-
const
|
|
105
|
+
const m = I({
|
|
100
106
|
y: "",
|
|
101
107
|
seriesIndex: 0,
|
|
102
108
|
category: a,
|
|
103
109
|
commonStrings: r
|
|
104
110
|
});
|
|
105
|
-
n.push(
|
|
106
|
-
} else if (
|
|
107
|
-
const
|
|
108
|
-
y:
|
|
111
|
+
n.push(m);
|
|
112
|
+
} else if (c) {
|
|
113
|
+
const m = e.length > 1 ? e : e[0], F = I({
|
|
114
|
+
y: m,
|
|
109
115
|
seriesIndex: 0,
|
|
110
116
|
category: a,
|
|
111
117
|
commonStrings: r
|
|
112
|
-
}),
|
|
113
|
-
...
|
|
118
|
+
}), x = e.length > 1 ? r.axisLabels.values : w(o.layerFieldsInfo, e[0]), g = {
|
|
119
|
+
...F,
|
|
114
120
|
id: e[0],
|
|
115
|
-
name:
|
|
116
|
-
x: a
|
|
117
|
-
},
|
|
118
|
-
|
|
121
|
+
name: x,
|
|
122
|
+
x: c ? C : a
|
|
123
|
+
}, S = t.series.find((d) => ue(m, d.y) && d.query?.where === void 0);
|
|
124
|
+
S !== void 0 && (!t.colorMatch && "fillSymbol" in S && (g.fillSymbol = S.fillSymbol, y = !0), g.id = S.id, g.name = S.name), n.push(g);
|
|
119
125
|
} else
|
|
120
|
-
for (let
|
|
121
|
-
const
|
|
122
|
-
y:
|
|
123
|
-
seriesIndex:
|
|
126
|
+
for (let m = 0; m < e.length; m += 1) {
|
|
127
|
+
const F = e[m], x = I({
|
|
128
|
+
y: F,
|
|
129
|
+
seriesIndex: m,
|
|
124
130
|
category: a,
|
|
125
131
|
commonStrings: r
|
|
126
|
-
}),
|
|
127
|
-
...
|
|
128
|
-
id:
|
|
129
|
-
name:
|
|
132
|
+
}), g = w(l, F), S = {
|
|
133
|
+
...x,
|
|
134
|
+
id: F,
|
|
135
|
+
name: g,
|
|
130
136
|
x: a
|
|
131
|
-
},
|
|
132
|
-
|
|
137
|
+
}, d = t.series.find((B) => F === B.y);
|
|
138
|
+
d !== void 0 && (!t.colorMatch && "fillSymbol" in d && (S.fillSymbol = d.fillSymbol, y = !0), S.id = d.id, S.name = d.name), n.push(S);
|
|
133
139
|
}
|
|
134
|
-
return t.series.length === 1 && n.length === 1 && !t.colorMatch && "fillSymbol" in t.series[0] && (n[0].fillSymbol = t.series[0].fillSymbol,
|
|
140
|
+
return t.series.length === 1 && n.length === 1 && !t.colorMatch && "fillSymbol" in t.series[0] && (n[0].fillSymbol = t.series[0].fillSymbol, y = !0), t.colorMatch = !y, n;
|
|
135
141
|
}
|
|
136
|
-
const
|
|
137
|
-
function
|
|
142
|
+
const oe = (s) => s?.query?.where?.split("=")[1].trim().replace(/'/gu, "") ?? "", De = (s) => s.series.some((e) => e.type === f.LineSeries) && s.series.some((e) => e.type === f.BoxPlotSeries);
|
|
143
|
+
function Ve(s, e, t) {
|
|
138
144
|
const o = [];
|
|
139
145
|
return s.forEach((i) => {
|
|
140
|
-
if (i.type ===
|
|
146
|
+
if (i.type === f.BoxPlotSeries) {
|
|
141
147
|
const { type: r, fillSymbol: l, ...n } = i;
|
|
142
148
|
o.push({
|
|
143
149
|
...n,
|
|
144
|
-
type:
|
|
150
|
+
type: f.LineSeries,
|
|
145
151
|
lineSymbol: {
|
|
146
|
-
...
|
|
152
|
+
...G({ width: H }),
|
|
147
153
|
...l !== void 0 ? { color: l.color } : {}
|
|
148
154
|
},
|
|
149
155
|
markerSymbol: {
|
|
150
|
-
...
|
|
156
|
+
..._(),
|
|
151
157
|
...l !== void 0 ? { color: l.color } : {}
|
|
152
158
|
}
|
|
153
159
|
});
|
|
154
160
|
}
|
|
155
161
|
}), o.unshift(
|
|
156
|
-
|
|
162
|
+
te({
|
|
157
163
|
x: s[0].x,
|
|
158
164
|
y: s[0].y,
|
|
159
165
|
seriesTemplate: t,
|
|
@@ -161,14 +167,14 @@ function De(s, e, t) {
|
|
|
161
167
|
})
|
|
162
168
|
), o;
|
|
163
169
|
}
|
|
164
|
-
function
|
|
170
|
+
function ke(s) {
|
|
165
171
|
const e = s.slice(1), t = [];
|
|
166
172
|
return e.forEach((o) => {
|
|
167
|
-
if (o.type ===
|
|
168
|
-
const { type: i, lineSymbol: r, markerSymbol: l, ...n } = o, a =
|
|
173
|
+
if (o.type === f.LineSeries) {
|
|
174
|
+
const { type: i, lineSymbol: r, markerSymbol: l, ...n } = o, a = q();
|
|
169
175
|
t.push({
|
|
170
176
|
...n,
|
|
171
|
-
type:
|
|
177
|
+
type: f.BoxPlotSeries,
|
|
172
178
|
fillSymbol: {
|
|
173
179
|
...a,
|
|
174
180
|
color: r?.color
|
|
@@ -177,201 +183,205 @@ function Ve(s) {
|
|
|
177
183
|
}
|
|
178
184
|
}), t;
|
|
179
185
|
}
|
|
180
|
-
function
|
|
186
|
+
function re(s) {
|
|
181
187
|
const { formerSeries: e, newSeries: t, showMean: o } = s;
|
|
182
188
|
let i = t;
|
|
183
|
-
const r = (a) => a.type === (o ?
|
|
189
|
+
const r = (a) => a.type === (o ? f.LineSeries : f.BoxPlotSeries), l = e.filter(r).map((a) => a.id), n = t.filter(r).map((a) => a.id);
|
|
184
190
|
return l.length === n.length && JSON.stringify(l) !== JSON.stringify(n) && (i = i.sort(
|
|
185
|
-
(a,
|
|
191
|
+
(a, y) => l.findIndex((c) => c === a.id) - l.findIndex((c) => c === y.id)
|
|
186
192
|
)), i;
|
|
187
193
|
}
|
|
188
|
-
async function
|
|
189
|
-
const { config: e, layerInfo: t, commonStrings: o, splitByField: i, numericFields: r, category: l } = s, { layer: n, layerFieldsInfo: a } = t, { fetchNullValues:
|
|
194
|
+
async function Ne(s) {
|
|
195
|
+
const { config: e, layerInfo: t, commonStrings: o, splitByField: i, numericFields: r, category: l } = s, { layer: n, layerFieldsInfo: a } = t, { fetchNullValues: y } = O(e)?.query ?? {}, c = l ?? L(e), { categoriesArray: m, splitByFieldType: F } = await Ce({
|
|
190
196
|
config: e,
|
|
191
197
|
layer: n,
|
|
192
198
|
layerFieldsInfo: a,
|
|
193
|
-
xAxisField:
|
|
199
|
+
xAxisField: E(c) ? void 0 : c,
|
|
194
200
|
aggregationFields: r,
|
|
195
201
|
splitByField: i,
|
|
196
|
-
fetchNullValues:
|
|
202
|
+
fetchNullValues: y
|
|
197
203
|
});
|
|
198
|
-
let
|
|
199
|
-
const
|
|
200
|
-
if (
|
|
201
|
-
|
|
204
|
+
let x = [], g = !1;
|
|
205
|
+
const S = De(e);
|
|
206
|
+
if (m.length === 0) {
|
|
207
|
+
x = ie({
|
|
202
208
|
numericFields: r,
|
|
203
209
|
category: c,
|
|
204
210
|
config: e,
|
|
205
211
|
layerInfo: t,
|
|
206
212
|
commonStrings: o
|
|
207
213
|
});
|
|
208
|
-
for (const
|
|
209
|
-
|
|
214
|
+
for (const d of x)
|
|
215
|
+
d.query && (d.query.where = `${i}=''`);
|
|
210
216
|
} else
|
|
211
|
-
for (let
|
|
212
|
-
const
|
|
217
|
+
for (let d = 0; d < m.length; d += 1) {
|
|
218
|
+
const B = m[d], v = {
|
|
213
219
|
y: r,
|
|
214
|
-
seriesIndex:
|
|
220
|
+
seriesIndex: d,
|
|
215
221
|
category: c,
|
|
216
222
|
commonStrings: o
|
|
217
|
-
},
|
|
223
|
+
}, Y = S ? Pe(v) : I(v), ae = {
|
|
218
224
|
fieldName: i,
|
|
219
|
-
fieldValueToMatch:
|
|
220
|
-
subtypeInfo:
|
|
225
|
+
fieldValueToMatch: B ?? "",
|
|
226
|
+
subtypeInfo: J(t.layer),
|
|
221
227
|
fieldList: t.layerFieldsInfo
|
|
222
|
-
},
|
|
223
|
-
...
|
|
224
|
-
id:
|
|
225
|
-
name:
|
|
226
|
-
x: c === void 0 || c === "" ?
|
|
228
|
+
}, ce = R(ae), k = `${B}`, A = {
|
|
229
|
+
...Y,
|
|
230
|
+
id: k,
|
|
231
|
+
name: ce ?? k,
|
|
232
|
+
x: c === void 0 || c === "" ? C : c,
|
|
227
233
|
query: {
|
|
228
|
-
...
|
|
229
|
-
where: `${i}=${
|
|
234
|
+
...Y.query,
|
|
235
|
+
where: `${i}=${F === fe.String && B !== null ? `'${B}'` : B}`
|
|
230
236
|
}
|
|
231
|
-
},
|
|
232
|
-
|
|
233
|
-
...
|
|
234
|
-
color:
|
|
235
|
-
} : P(
|
|
236
|
-
...
|
|
237
|
-
...
|
|
237
|
+
}, b = e.series.find((de) => oe(de) === k);
|
|
238
|
+
b !== void 0 && (e.colorMatch || (A.type === f.BoxPlotSeries ? P(b) ? A.fillSymbol = b.fillSymbol : A.fillSymbol = {
|
|
239
|
+
...q(),
|
|
240
|
+
color: b.lineSymbol?.color
|
|
241
|
+
} : P(b) ? (A.lineSymbol = {
|
|
242
|
+
...G({ width: H }),
|
|
243
|
+
...b.fillSymbol !== void 0 ? { color: b.fillSymbol.color } : {}
|
|
238
244
|
}, A.markerSymbol = {
|
|
239
|
-
...
|
|
240
|
-
...
|
|
241
|
-
}) : (A.lineSymbol =
|
|
245
|
+
..._(),
|
|
246
|
+
...b.fillSymbol !== void 0 ? { color: b.fillSymbol.color } : {}
|
|
247
|
+
}) : (A.lineSymbol = b.lineSymbol, A.markerSymbol = b.markerSymbol), g = !0), A.id = b.id, A.name = b.name), x.push(A);
|
|
242
248
|
}
|
|
243
|
-
if (
|
|
249
|
+
if (x = re({
|
|
244
250
|
formerSeries: e.series,
|
|
245
|
-
newSeries:
|
|
251
|
+
newSeries: x,
|
|
246
252
|
showMean: N(e)
|
|
247
|
-
}), e.colorMatch = !
|
|
248
|
-
const
|
|
253
|
+
}), e.colorMatch = !g, N(e)) {
|
|
254
|
+
const d = e.series.find((v) => v.type === f.BoxPlotSeries), B = te({
|
|
249
255
|
x: c,
|
|
250
256
|
y: r,
|
|
251
|
-
seriesTemplate:
|
|
257
|
+
seriesTemplate: d,
|
|
252
258
|
commonStrings: o
|
|
253
259
|
});
|
|
254
|
-
|
|
260
|
+
x.unshift(B);
|
|
255
261
|
}
|
|
256
|
-
return
|
|
262
|
+
return x;
|
|
257
263
|
}
|
|
258
|
-
const
|
|
259
|
-
const { splitByField: e, numericFields: t, category: o, config: i, layerInfo: r, commonStrings: l } = s, { layerFieldsInfo: n } = r, a =
|
|
260
|
-
let
|
|
261
|
-
if (!
|
|
264
|
+
const fs = async (s) => {
|
|
265
|
+
const { splitByField: e, numericFields: t, category: o, config: i, layerInfo: r, commonStrings: l } = s, { layerFieldsInfo: n } = r, a = We(o, t, e), y = pe(n), c = L(i), m = Me(i, r, l), F = ee(i, r, l), x = Ie({ config: i, layerInfo: r, newCategory: o });
|
|
266
|
+
let g = Z(i);
|
|
267
|
+
if (!y.includes(c) && y.includes(o) ? g = xe() : y.includes(c) && !y.includes(o) && (g = be()), g !== void 0 && Ae(i, l, g), $(a ? { newShowMeanLines: i.showMean, config: i, commonStrings: l } : { newShowMeanLines: !1, config: i, commonStrings: l }), i.series = a ? await Ne({
|
|
262
268
|
config: i,
|
|
263
269
|
layerInfo: r,
|
|
264
270
|
splitByField: e,
|
|
265
271
|
numericFields: t,
|
|
266
272
|
category: o,
|
|
267
273
|
commonStrings: l
|
|
268
|
-
}) :
|
|
274
|
+
}) : ie({
|
|
269
275
|
numericFields: t,
|
|
270
276
|
config: i,
|
|
271
277
|
layerInfo: r,
|
|
272
278
|
category: o,
|
|
273
279
|
commonStrings: l
|
|
274
|
-
}),
|
|
275
|
-
const
|
|
276
|
-
|
|
280
|
+
}), x) {
|
|
281
|
+
const d = W({
|
|
282
|
+
fieldName: o,
|
|
283
|
+
numericFields: t,
|
|
284
|
+
fieldList: n
|
|
285
|
+
}) ? "" : w(n, o);
|
|
286
|
+
D(i, 0, d);
|
|
277
287
|
}
|
|
278
|
-
if (
|
|
279
|
-
const
|
|
280
|
-
D(i, 1,
|
|
288
|
+
if (F) {
|
|
289
|
+
const S = T(i, r, l);
|
|
290
|
+
D(i, 1, S);
|
|
281
291
|
}
|
|
282
|
-
i?.title !== void 0 &&
|
|
292
|
+
i?.title !== void 0 && m && (i.title.content.text = le(i, r, l)), U({ config: i, value: null, axisIndex: 1, isMax: !1 }), U({ config: i, value: null, axisIndex: 1, isMax: !0 });
|
|
283
293
|
}, qe = (s) => s?.standardizeValues ?? !1;
|
|
284
|
-
function
|
|
294
|
+
function T(s, e, t) {
|
|
285
295
|
const { layerFieldsInfo: o } = e;
|
|
286
296
|
let r = qe(s) ? t.axisLabels.standardizedValues : t.axisLabels.values, l = s?.series?.map((n) => n.y).flat();
|
|
287
|
-
return l = [...new Set(l)], l.length === 1 && (r =
|
|
297
|
+
return l = [...new Set(l)], l.length === 1 && (r = w(o, l[0])), r;
|
|
288
298
|
}
|
|
289
|
-
function
|
|
290
|
-
const { layerFieldsInfo: o } = e, i =
|
|
291
|
-
let
|
|
292
|
-
return r.length > 0 && (i !==
|
|
299
|
+
function le(s, e, t) {
|
|
300
|
+
const { layerFieldsInfo: o } = e, i = L(s), r = se(s), l = Oe(s), n = r.map((c) => w(o ?? [], c)).join(", "), a = w(o ?? [], i);
|
|
301
|
+
let y = "";
|
|
302
|
+
return r.length > 0 && (i !== C && l !== "" ? y = M(t.titleLabels.distributionOfFieldsByCategoryAndSplitBy, {
|
|
293
303
|
valueFields: n,
|
|
294
304
|
category: a,
|
|
295
305
|
splitByField: l
|
|
296
|
-
}) : i !==
|
|
306
|
+
}) : i !== C ? y = M(t.titleLabels.distributionOfFieldsByCategory, {
|
|
297
307
|
valueFields: n,
|
|
298
308
|
category: a
|
|
299
|
-
}) : l !== "" ?
|
|
309
|
+
}) : l !== "" ? y = M(t.titleLabels.distributionOfFieldsByCategory, {
|
|
300
310
|
valueFields: n,
|
|
301
311
|
category: l
|
|
302
|
-
}) :
|
|
312
|
+
}) : y = M(t.titleLabels.distributionOfField, {
|
|
303
313
|
valueField: n
|
|
304
|
-
})),
|
|
314
|
+
})), y;
|
|
305
315
|
}
|
|
306
|
-
const
|
|
316
|
+
const ms = (s) => {
|
|
307
317
|
const { series: e, splitByField: t, layerInfo: o, commonStrings: i } = s;
|
|
308
|
-
let r = typeof e.y == "string" ?
|
|
309
|
-
|
|
318
|
+
let r = typeof e.y == "string" ? w(o.layerFieldsInfo, e.y) : i.axisLabels.values;
|
|
319
|
+
ye(t) || (r = oe(e));
|
|
310
320
|
const l = {
|
|
311
321
|
fieldName: t,
|
|
312
322
|
fieldValueToMatch: r ?? "",
|
|
313
|
-
subtypeInfo:
|
|
323
|
+
subtypeInfo: J(o.layer),
|
|
314
324
|
fieldList: o.layerFieldsInfo
|
|
315
325
|
};
|
|
316
|
-
return r =
|
|
317
|
-
},
|
|
326
|
+
return r = R(l) ?? r, r ?? e.id;
|
|
327
|
+
}, Ss = (s) => s?.showOutliers ?? !1, ps = (s) => {
|
|
318
328
|
const { newShowOutliers: e, config: t, layerInfo: o, commonStrings: i } = s;
|
|
319
|
-
if (t.showOutliers = e,
|
|
320
|
-
const l =
|
|
329
|
+
if (t.showOutliers = e, ee(t, o, i)) {
|
|
330
|
+
const l = T(t, o, i);
|
|
321
331
|
D(t, 1, l);
|
|
322
332
|
}
|
|
323
|
-
},
|
|
324
|
-
const { newStandardizeValues: e, config: t, layerInfo: o, commonStrings: i } = s, r =
|
|
333
|
+
}, gs = (s) => {
|
|
334
|
+
const { newStandardizeValues: e, config: t, layerInfo: o, commonStrings: i } = s, r = z(1, t), l = T(t, o, i), n = V(t);
|
|
325
335
|
if (t.standardizeValues = e, r === l || n) {
|
|
326
|
-
const a =
|
|
336
|
+
const a = T(t, o, i);
|
|
327
337
|
D(t, 1, a);
|
|
328
338
|
}
|
|
329
|
-
},
|
|
339
|
+
}, ne = (s) => {
|
|
330
340
|
let e = u.xAxisAsc;
|
|
331
|
-
const t = s.orderOptions?.data?.orderType ??
|
|
341
|
+
const t = s.orderOptions?.data?.orderType ?? p.Category, o = s.orderOptions?.data?.orderBy ?? h.Ascending;
|
|
332
342
|
switch (t) {
|
|
333
|
-
case
|
|
343
|
+
case p.Category:
|
|
334
344
|
e = Array.isArray(o) ? u.customSort : o === h.Ascending ? u.xAxisAsc : u.xAxisDesc;
|
|
335
345
|
break;
|
|
336
|
-
case
|
|
346
|
+
case p.Mean:
|
|
337
347
|
e = o === h.Ascending ? u.meanAsc : u.meanDesc;
|
|
338
348
|
break;
|
|
339
|
-
case
|
|
349
|
+
case p.Median:
|
|
340
350
|
e = o === h.Ascending ? u.medianAsc : u.medianDesc;
|
|
341
351
|
break;
|
|
342
352
|
}
|
|
343
353
|
return e;
|
|
344
|
-
},
|
|
345
|
-
let o =
|
|
354
|
+
}, xs = (s, e, t) => {
|
|
355
|
+
let o = p.Category, i = h.Ascending;
|
|
346
356
|
if (e.orderOptions = e.orderOptions ?? {}, s === u.customSort && t !== void 0)
|
|
347
357
|
e.orderOptions.data = {
|
|
348
|
-
orderType:
|
|
358
|
+
orderType: p.Category,
|
|
349
359
|
orderBy: t
|
|
350
360
|
};
|
|
351
361
|
else {
|
|
352
362
|
switch (s) {
|
|
353
363
|
case u.xAxisAsc: {
|
|
354
|
-
o =
|
|
364
|
+
o = p.Category, i = h.Ascending;
|
|
355
365
|
break;
|
|
356
366
|
}
|
|
357
367
|
case u.xAxisDesc: {
|
|
358
|
-
o =
|
|
368
|
+
o = p.Category, i = h.Descending;
|
|
359
369
|
break;
|
|
360
370
|
}
|
|
361
371
|
case u.meanAsc: {
|
|
362
|
-
o =
|
|
372
|
+
o = p.Mean, i = h.Ascending;
|
|
363
373
|
break;
|
|
364
374
|
}
|
|
365
375
|
case u.meanDesc: {
|
|
366
|
-
o =
|
|
376
|
+
o = p.Mean, i = h.Descending;
|
|
367
377
|
break;
|
|
368
378
|
}
|
|
369
379
|
case u.medianAsc: {
|
|
370
|
-
o =
|
|
380
|
+
o = p.Median, i = h.Ascending;
|
|
371
381
|
break;
|
|
372
382
|
}
|
|
373
383
|
case u.medianDesc: {
|
|
374
|
-
o =
|
|
384
|
+
o = p.Median, i = h.Descending;
|
|
375
385
|
break;
|
|
376
386
|
}
|
|
377
387
|
}
|
|
@@ -380,66 +390,70 @@ const us = (s) => {
|
|
|
380
390
|
orderBy: i
|
|
381
391
|
};
|
|
382
392
|
}
|
|
383
|
-
}, N = (s) => s.showMean ?? !1,
|
|
393
|
+
}, N = (s) => s.showMean ?? !1, $ = (s) => {
|
|
384
394
|
const { newShowMeanLines: e = !1, config: t, commonStrings: o, previousMeanLinesBoxColor: i } = s, r = e ? i : we(t), l = (e ?? !1) !== (t.showMean ?? !1);
|
|
385
395
|
if (t.showMean = e, l) {
|
|
386
396
|
let n;
|
|
387
|
-
e ? n =
|
|
397
|
+
e ? n = he(t.series) ? Ve(t.series, o) : t.series : n = ke(t.series), n && (n = re({
|
|
388
398
|
formerSeries: t.series,
|
|
389
399
|
newSeries: n,
|
|
390
400
|
showMean: e
|
|
391
401
|
}), t.series = n);
|
|
392
402
|
}
|
|
393
|
-
return e && i !== void 0 &&
|
|
394
|
-
},
|
|
403
|
+
return e && i !== void 0 && Le(i, t), { previousMeanLinesBoxColor: r };
|
|
404
|
+
}, bs = (s) => {
|
|
395
405
|
let e = [];
|
|
396
406
|
const t = s.orderOptions?.data?.orderType;
|
|
397
|
-
return
|
|
398
|
-
},
|
|
407
|
+
return ne(s) === u.customSort && t === p.Category && (e = s.orderOptions?.data?.orderBy), e;
|
|
408
|
+
}, hs = (s, e) => {
|
|
399
409
|
e.orderOptions ??= {};
|
|
400
410
|
const t = e.orderOptions?.data?.orderType;
|
|
401
|
-
|
|
402
|
-
orderType:
|
|
411
|
+
ne(e) === u.customSort && t === p.Category && (e.orderOptions.data = {
|
|
412
|
+
orderType: p.Category,
|
|
403
413
|
orderBy: s
|
|
404
414
|
});
|
|
405
|
-
},
|
|
406
|
-
const t =
|
|
415
|
+
}, Fs = async (s, e) => {
|
|
416
|
+
const t = L(s), o = Z(s)?.type, i = se(s);
|
|
407
417
|
let r = [];
|
|
408
|
-
return o ===
|
|
418
|
+
return o === f.CategoryAxisFormat && (W({
|
|
419
|
+
fieldName: t,
|
|
420
|
+
numericFields: i,
|
|
421
|
+
fieldList: e.layerFieldsInfo
|
|
422
|
+
}) ? r = i : E(t) || (r = await Fe({
|
|
409
423
|
layerInfo: e,
|
|
410
424
|
config: s,
|
|
411
425
|
category: t
|
|
412
426
|
}))), r;
|
|
413
|
-
},
|
|
427
|
+
}, E = (s) => s.trim() === "" || s === C, ze = (s, e) => e.length > 1 && !E(s), We = (s, e, t) => !ze(s, e) && t !== "";
|
|
414
428
|
export {
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
429
|
+
us as A,
|
|
430
|
+
le as B,
|
|
431
|
+
T as C,
|
|
432
|
+
ms as D,
|
|
433
|
+
ps as a,
|
|
420
434
|
qe as b,
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
435
|
+
gs as c,
|
|
436
|
+
ne as d,
|
|
437
|
+
xs as e,
|
|
438
|
+
Fs as f,
|
|
439
|
+
Ss as g,
|
|
440
|
+
bs as h,
|
|
441
|
+
hs as i,
|
|
428
442
|
N as j,
|
|
429
|
-
|
|
443
|
+
$ as k,
|
|
430
444
|
we as l,
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
445
|
+
Le as m,
|
|
446
|
+
L as n,
|
|
447
|
+
Oe as o,
|
|
448
|
+
se as p,
|
|
449
|
+
We as q,
|
|
450
|
+
fs as r,
|
|
451
|
+
ze as s,
|
|
452
|
+
ns as t,
|
|
453
|
+
as as u,
|
|
454
|
+
cs as v,
|
|
455
|
+
ds as w,
|
|
442
456
|
Te as x,
|
|
443
|
-
|
|
444
|
-
|
|
457
|
+
ve as y,
|
|
458
|
+
ys as z
|
|
445
459
|
};
|