@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/loader.js
CHANGED
|
@@ -2,7 +2,7 @@ import { r as e } from "./chunks/runtime.js";
|
|
|
2
2
|
import { makeDefineCustomElements as t } from "@arcgis/lumina";
|
|
3
3
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
4
4
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
5
|
-
v5.0.0-next.
|
|
5
|
+
v5.0.0-next.24 */
|
|
6
6
|
const o = t(e, {
|
|
7
7
|
"arcgis-chart": [() => import("./components/arcgis-chart/customElement.js"), "actionMode,allowUsingObjectIdStat,autoDisposeChart,autoInverseDataLabelTextColor,chartIndex,chartLimits:,chartWillRender:,cursorRange,dataLabelFormatter:,disableInteractions,disableTogglingLegendItems,enableBetaFeatures,enableConfiguration,enableResponsiveFeatures,errorPolicy,featureIndex,filterByExtent,filterBySelection,gaugeInnerLabelFormatter:,guideTooltipFormatter:,hideEmptySeries,hideLicenseWatermark,hideLoaderAnimation,ignoreSmoothRenderingLimit,ignoreViewExtent,layer:,layerFieldsChangePolicy,layerFilterChangePolicy,layerItemId,layerRendererChangePolicy,legendPosition,legendValueLabelFormatter:,legendVisibility,loaderColors:,model:,nullAsValid,placeholder,queueChartCreation,replaceNoValueCategoryWithZero,returnFeaturesExtent,returnSelectionIndexes,returnSelectionOIDs,rotation,runtimeDataFilters:,secondaryYAxisLabelFormatter:,selectionData:,selectionTheme:,setTimeBinningInfoWhenNotProvided,showUIMessages,syncSelection,syncSelectionsBetweenChartAndLayerViewPolicy,timeZone,tooltipFormatter:,updateSplitBySeries:,useAnimatedCharts,usePopupTemplateFieldsInfo,view:,viewTimeExtentChangePolicy,xAxisLabelFormatter:,yAxisLabelFormatter:;clearSelection,errorAlert,exportAsCSV,exportAsImage,loadModel,notify,refresh,resetZoom,switchSelection"],
|
|
8
8
|
"arcgis-charts-action-bar": [() => import("./components/arcgis-charts-action-bar/customElement.js"), "actionBarSelectionMode,chartElement:,chartType,clearSelectionState,clearSelectionTitle,clearSelectionToggle,disableCSVExportForChartTypes:,editChartState,editChartTitle,editChartToggle,expanded,exportActionState,exportAsCSVState,exportAsCSVTitle,exportAsImageState,exportAsImageTitle,filterByExtentState,filterByExtentTitle,filterByExtentToggle,filterBySelectionState,filterBySelectionTitle,filterBySelectionToggle,forceDisableActions,fullExtentState,fullExtentTitle,fullExtentToggle,hiddenActions:,legendState,legendTitle,legendToggle,messageOverrides:,rotateChartState,rotateChartTitle,rotateChartToggle,selectionState,selectionTitle,selectionToggle,switchSelectionState,switchSelectionTitle,switchSelectionToggle,zoomState,zoomTitle,zoomToggle"],
|
|
@@ -165,6 +165,10 @@ export declare abstract class SerialChartModel extends ChartModel {
|
|
|
165
165
|
moveCustomSortValuesInOrderByList(fromIndex: number, toIndex: number): void;
|
|
166
166
|
/**
|
|
167
167
|
* The null category configuration of the bar chart.
|
|
168
|
+
*
|
|
169
|
+
* @requires the following to be set on the model for the null category to be applied:
|
|
170
|
+
* - `fetchNULLValues` to be set to `true` on the model.
|
|
171
|
+
* - `colorMatch` to be set to `false` on the model
|
|
168
172
|
*/
|
|
169
173
|
get nullCategory(): WebChartNullCategory | undefined;
|
|
170
174
|
set nullCategory(nullCategory: WebChartNullCategory | undefined);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ChartConfig } from '../../utils';
|
|
2
|
-
import { SupportedLayer, WebChartStatisticType } from '../../spec';
|
|
2
|
+
import { IField, SupportedLayer, WebChartStatisticType } from '../../spec';
|
|
3
3
|
import { PieChartDataModes, SerialChartDataSortingKinds } from '../interfaces/common';
|
|
4
4
|
import { SerialChartConfig } from '../interfaces/chart-interfaces';
|
|
5
5
|
import { default as FeatureLayerView } from '@arcgis/core/views/layers/FeatureLayerView.js';
|
|
@@ -47,6 +47,10 @@ export declare const getXAxisField: (config: ChartConfig) => string;
|
|
|
47
47
|
* @param {WebChartStatisticType} props.aggregationType - The type of aggregation to apply to the numeric fields.
|
|
48
48
|
* @param {PieChartDataModes} [props.mode] - [Optional] The mode for pie chart data, if applicable.
|
|
49
49
|
* @param {FeatureLayerView | SupportedLayer} [props.layer] - [Optional] The layer from which the data is being queried.
|
|
50
|
+
* @param {number} [props.numericFieldIndex] - [Optional] The index of the numeric field to use when multiple fields are available.
|
|
51
|
+
* @param {number} [props.seriesIndex] - [Optional] The index of the series being configured, useful when multiple series exist.
|
|
52
|
+
* @param {string} [props.splitByField] - [Optional] The field used to split the data into multiple series.
|
|
53
|
+
* @param {IField[]} [props.fieldList] - [Optional] List of fields to use instead of fetching them from the layer.
|
|
50
54
|
*
|
|
51
55
|
* @returns {Object} An object containing the name and description for the series.y field.
|
|
52
56
|
*/
|
|
@@ -60,11 +64,31 @@ export declare const getYForNewSeries: (props: {
|
|
|
60
64
|
numericFieldIndex?: number;
|
|
61
65
|
seriesIndex?: number;
|
|
62
66
|
splitByField?: string;
|
|
67
|
+
fieldList?: IField[];
|
|
63
68
|
}) => {
|
|
64
69
|
name: string;
|
|
65
70
|
description: string;
|
|
66
71
|
};
|
|
67
72
|
/**
|
|
68
73
|
* Determines if the chart should be built as a "chart from fields" based on the x-axis field and numeric fields.
|
|
74
|
+
*
|
|
75
|
+
* This is true when:
|
|
76
|
+
* - the x-axis field is not defined, or
|
|
77
|
+
* - the x-axis field does not match any of the layer fields
|
|
78
|
+
* - the x-axis field is set to the default "from fields" variation name
|
|
79
|
+
*
|
|
80
|
+
* AND
|
|
81
|
+
*
|
|
82
|
+
* - there is at least one numeric field available.
|
|
83
|
+
*
|
|
84
|
+
* @param {string} props.fieldName - The field used for the x-axis.
|
|
85
|
+
* @param {string[]} props.numericFields - The list of numeric fields.
|
|
86
|
+
* @param {QueryObject} props.queryObject - the query object (feature layer or feature layer view)
|
|
87
|
+
* @param {IField[]} [props.fieldList] - list of fields to use instead of fetching them from the layer
|
|
88
|
+
* @param {string} props.objectIdField - the objectId field of the layer
|
|
69
89
|
*/
|
|
70
|
-
export declare function shouldUseChartFromFields(
|
|
90
|
+
export declare function shouldUseChartFromFields(props: {
|
|
91
|
+
fieldName: string;
|
|
92
|
+
numericFields: string[];
|
|
93
|
+
fieldList: IField[];
|
|
94
|
+
}): boolean;
|
package/dist/model.js
CHANGED
|
@@ -4,7 +4,7 @@ import { s as r, t as s, u as n } from "./chunks/type-guards.js";
|
|
|
4
4
|
import { a as B, e as P, i as S, g as x, b as W, r as v, h as G, l as K, m as D, p as F, j as H, k as O, q as R, n as A, o as E, d as X, f as Y, c as $ } from "./chunks/type-guards.js";
|
|
5
5
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
6
6
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
7
|
-
v5.0.0-next.
|
|
7
|
+
v5.0.0-next.24 */
|
|
8
8
|
async function c(t) {
|
|
9
9
|
const o = "config" in t ? r(t.config) : t.chartType;
|
|
10
10
|
let a;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
/// <reference types="@arcgis/core/interfaces.d.ts" />
|
|
1
2
|
import { default as FeatureLayer } from '@arcgis/core/layers/FeatureLayer';
|
|
2
3
|
import { default as SubtypeSublayer } from '@arcgis/core/layers/support/SubtypeSublayer';
|
|
3
4
|
import { WebChartTemporalBinningUnits } from './chart-object-literals';
|
|
@@ -6,6 +7,11 @@ import { Color, IExtent, ISimpleLineSymbol, ISymbol, SimpleFillSymbolStyle, Simp
|
|
|
6
7
|
* Supported layer type for ArcGIS charts.
|
|
7
8
|
*/
|
|
8
9
|
export type SupportedLayer = FeatureLayer | SubtypeSublayer;
|
|
10
|
+
/**
|
|
11
|
+
* Esri Layer type
|
|
12
|
+
* @see {@link https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-Layer.html
|
|
13
|
+
*/
|
|
14
|
+
export type Layer = __esri.Layer;
|
|
9
15
|
/**
|
|
10
16
|
* JSON representation of the color object
|
|
11
17
|
*/
|
|
@@ -17,6 +17,8 @@ declare function applyDefaultFirstDayOfWeek(props: {
|
|
|
17
17
|
chartContainer?: HTMLElement;
|
|
18
18
|
layer?: SupportedLayer;
|
|
19
19
|
}): WebChart | WebHeatChart;
|
|
20
|
+
declare function adjustAxes(configToUpdate: WebChart): WebChart;
|
|
21
|
+
declare function adjustSeries(configToUpdate: WebChart): WebChart;
|
|
20
22
|
/**
|
|
21
23
|
* Matches the config properties that have field names which mismatch the layer data source fields.
|
|
22
24
|
*
|
|
@@ -61,6 +63,11 @@ declare function isBoxPlotConfigWithMeanLinesFromPro(config: WebBoxPlot): boolea
|
|
|
61
63
|
* @returns the updated config
|
|
62
64
|
*/
|
|
63
65
|
declare function adjustBoxPlotConfig(configToUpdate: WebBoxPlot): WebBoxPlot;
|
|
66
|
+
/**
|
|
67
|
+
* Sets the legend max height to `NaN` when the provided value is not a finite number.
|
|
68
|
+
* @param configToUpdate The chart's config to update
|
|
69
|
+
*/
|
|
70
|
+
declare function resetLegendMaxHeight(configToUpdate: WebChart): WebChart;
|
|
64
71
|
/**
|
|
65
72
|
* Copies the information from the config.dataSource.layer into the newest config.iLayer
|
|
66
73
|
* @param configToUpdate The config to update
|
|
@@ -88,6 +95,12 @@ declare function applyMandatoryConversions(props: {
|
|
|
88
95
|
* @param configToUpdate The chart's config to update
|
|
89
96
|
*/
|
|
90
97
|
declare function adjustPieFromFieldsDefaultNameAndValue(configToUpdate: WebChart): WebChart;
|
|
98
|
+
/**
|
|
99
|
+
* Remove the optional `spacing` property for gauge chart (from version 2.0.0).
|
|
100
|
+
* @param configToUpdate The chart's config to update
|
|
101
|
+
* @returns
|
|
102
|
+
*/
|
|
103
|
+
declare function removeSpacingPropertyFromGauge(configToUpdate: WebChart): WebChart;
|
|
91
104
|
/**
|
|
92
105
|
* Moves the series[x].query.extent to config.dataFilters.geometry, and delete
|
|
93
106
|
* the extent properties from all the series query.
|
|
@@ -221,6 +234,12 @@ declare function handleOrderOptionsChanges(configToUpdate: WebChart): WebChart;
|
|
|
221
234
|
* @returns the updated chart config
|
|
222
235
|
*/
|
|
223
236
|
declare function applyDataOrderInstructionForFromFieldsCharts(configToUpdate: WebChart): WebChart;
|
|
237
|
+
/**
|
|
238
|
+
* we convert convert WebChartLabelBehavior.None -> WebChartLabelBehavior.Hide
|
|
239
|
+
* @param configToUpdate Config to update
|
|
240
|
+
* @returns the updated chart config
|
|
241
|
+
*/
|
|
242
|
+
declare function convertWebChartLabelBehaviorNoneToHide(configToUpdate: WebChart): WebChart;
|
|
224
243
|
/**
|
|
225
244
|
* Converts temporal binning properties from the old pattern to the new pattern introduced in version 19.0.0.
|
|
226
245
|
* Former pattern:
|
|
@@ -430,12 +449,16 @@ declare function applyConversions<T extends WebChart>(props: {
|
|
|
430
449
|
*/
|
|
431
450
|
export declare function convertChartSpec<T extends WebChart | WebGaugeChart>(config?: T, layerOrLayerView?: FeatureLayerView | SupportedLayer, chartContainer?: HTMLElement): Promise<T>;
|
|
432
451
|
export declare const chartConfigConverterPrivateFunctions: {
|
|
452
|
+
adjustAxes: typeof adjustAxes;
|
|
453
|
+
adjustSeries: typeof adjustSeries;
|
|
433
454
|
matchChartFieldsToLayerFields: typeof matchChartFieldsToLayerFields;
|
|
455
|
+
resetLegendMaxHeight: typeof resetLegendMaxHeight;
|
|
434
456
|
moveSeriesQueryExtent: typeof moveSeriesQueryExtent;
|
|
435
457
|
moveSeriesRotatedPropToChart: typeof moveSeriesRotatedPropToChart;
|
|
436
458
|
renameDataSourceProperties: typeof renameDataSourceProperties;
|
|
437
459
|
copyDataSourceFilterToConfig: typeof copyDataSourceFilterToConfig;
|
|
438
460
|
adjustPieFromFieldsDefaultNameAndValue: typeof adjustPieFromFieldsDefaultNameAndValue;
|
|
461
|
+
removeSpacingPropertyFromGauge: typeof removeSpacingPropertyFromGauge;
|
|
439
462
|
moveBoxPlotSeriesPropsToChart: typeof moveBoxPlotSeriesPropsToChart;
|
|
440
463
|
movePieSeriesSortLabelsPropToChart: typeof movePieSeriesSortLabelsPropToChart;
|
|
441
464
|
getProBoxPlotSortDataOption: typeof getProBoxPlotSortDataOption;
|
|
@@ -451,6 +474,7 @@ export declare const chartConfigConverterPrivateFunctions: {
|
|
|
451
474
|
getDataOrderFromOrderByFields: typeof getDataOrderFromOrderByFields;
|
|
452
475
|
convertWebChartDataValueTypes: typeof convertWebChartDataValueTypes;
|
|
453
476
|
moveOrConvertSeriesOrderByFieldsToChartOrderOptions: typeof moveOrConvertSeriesOrderByFieldsToChartOrderOptions;
|
|
477
|
+
convertWebChartLabelBehaviorNoneToHide: typeof convertWebChartLabelBehaviorNoneToHide;
|
|
454
478
|
handleOrderOptionsChanges: typeof handleOrderOptionsChanges;
|
|
455
479
|
applyDataOrderInstructionForFromFieldsCharts: typeof applyDataOrderInstructionForFromFieldsCharts;
|
|
456
480
|
convertTemporalBinningProps: typeof convertTemporalBinningProps;
|
|
@@ -1,7 +1,9 @@
|
|
|
1
|
+
/// <reference types="@arcgis/core/interfaces.d.ts" />
|
|
1
2
|
import { IFeatureLayer, IField, SupportedLayer, WebChart, WebChartDataFilters, WebChartQuery } from '../../spec';
|
|
2
3
|
import { default as FeatureLayer } from '@arcgis/core/layers/FeatureLayer.js';
|
|
3
|
-
import { default as SubtypeGroupLayer } from '@arcgis/core/layers/SubtypeGroupLayer';
|
|
4
|
+
import { default as SubtypeGroupLayer } from '@arcgis/core/layers/SubtypeGroupLayer.js';
|
|
4
5
|
import { default as Renderer } from '@arcgis/core/renderers/Renderer';
|
|
6
|
+
import { default as FeatureLayerView } from '@arcgis/core/views/layers/FeatureLayerView';
|
|
5
7
|
import { IFeatureType, QueryObject, QueryObjectProps, RendererInfo, SubtypeInfo } from './interfaces';
|
|
6
8
|
/**
|
|
7
9
|
* Returns the renderer type and the field and normalization field if applicable.
|
|
@@ -145,6 +147,21 @@ export declare function findMatchingLayerFieldName(props: {
|
|
|
145
147
|
fieldToMatch: string;
|
|
146
148
|
returnUndefinedIfNotFound?: boolean;
|
|
147
149
|
}): Promise<string>;
|
|
150
|
+
/**
|
|
151
|
+
* Find the matching field in a list of fields based on the fieldToMatch parameter.
|
|
152
|
+
* It first looks for a perfect match (case-sensitive), then for an approximate match (case-insensitive).
|
|
153
|
+
* @param {IField[]} layerFieldList - The list of fields to search in.
|
|
154
|
+
* @param {string} fieldToMatch - The field name to match.
|
|
155
|
+
* @returns {IField | undefined} - The matching field if found, otherwise undefined.
|
|
156
|
+
*
|
|
157
|
+
* We look for a match in 2 steps:
|
|
158
|
+
*
|
|
159
|
+
* 1. Perfect match: the case of the fields is exactly the same. This helps when the layer has fields with the same name but with a
|
|
160
|
+
* different case (e.g. "field" and "FiElD"). Refer to https://devtopia.esri.com/WebGIS/arcgis-charts/issues/8305
|
|
161
|
+
*
|
|
162
|
+
* 2: Approximate match: we upper-case the fields to compare them
|
|
163
|
+
*/
|
|
164
|
+
export declare function findMatchingField(layerFieldList: IField[], fieldToMatch: string): IField | undefined;
|
|
148
165
|
/**
|
|
149
166
|
* Finds the matching layer fields for a list of fields.
|
|
150
167
|
*
|
|
@@ -200,6 +217,37 @@ export declare function extractFieldsUsedInConfig(config: WebChart, layer: Suppo
|
|
|
200
217
|
* @returns {string[]} The list of layer fields
|
|
201
218
|
*/
|
|
202
219
|
export declare function extractFieldsFromConfigList(layer: SupportedLayer): Promise<string[]>;
|
|
220
|
+
/**
|
|
221
|
+
* Finds the matching layer in the view based on the provided layer.
|
|
222
|
+
* The matching is done based on the portalItem id or the url.
|
|
223
|
+
* If no matching layer is found, returns `undefined`.
|
|
224
|
+
* @param {__esri.MapView | __esri.SceneView | undefined} props.view The map or scene view
|
|
225
|
+
* @param {FeatureLayerView | SupportedLayer | undefined} props.layer The feature layer or feature layer view
|
|
226
|
+
* @param {string | undefined} props.portalItemId The portal item id of the layer
|
|
227
|
+
*
|
|
228
|
+
* @returns {FeatureLayerView | SupportedLayer | undefined} The matching layer in the view or the provided layer
|
|
229
|
+
*
|
|
230
|
+
* @requires
|
|
231
|
+
* - view
|
|
232
|
+
* - layer or portalItemId
|
|
233
|
+
*
|
|
234
|
+
* @example
|
|
235
|
+
* ```ts
|
|
236
|
+
* const matchingLayer = findMatchingLayerFromView({ view, layer: featureLayer });
|
|
237
|
+
* ```
|
|
238
|
+
*
|
|
239
|
+
* @example
|
|
240
|
+
* ```ts
|
|
241
|
+
* const matchingLayer = findMatchingLayerFromView({ view, portalItemId: 'abc123' });
|
|
242
|
+
* ```
|
|
243
|
+
*
|
|
244
|
+
* @category Public
|
|
245
|
+
*/
|
|
246
|
+
export declare function findMatchingLayerFromView(props: {
|
|
247
|
+
view?: __esri.MapView | __esri.SceneView;
|
|
248
|
+
layer?: FeatureLayerView | SupportedLayer;
|
|
249
|
+
portalItemId?: string;
|
|
250
|
+
}): FeatureLayerView | SupportedLayer | undefined;
|
|
203
251
|
export declare const layerPrivateFunctions: {
|
|
204
252
|
getServerRestInfo: typeof getServerRestInfo;
|
|
205
253
|
getSubtypeName: typeof getSubtypeName;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@arcgis/charts-components",
|
|
3
|
-
"version": "5.0.0-next.
|
|
3
|
+
"version": "5.0.0-next.24",
|
|
4
4
|
"description": "Reusable ArcGIS charting Web Components.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -28,8 +28,8 @@
|
|
|
28
28
|
"dependencies": {
|
|
29
29
|
"@amcharts/amcharts4": "^4.10.31",
|
|
30
30
|
"@amcharts/amcharts5": "~5.14.1",
|
|
31
|
-
"@arcgis/lumina": "5.0.0-next.
|
|
32
|
-
"@arcgis/toolkit": "5.0.0-next.
|
|
31
|
+
"@arcgis/lumina": "5.0.0-next.24",
|
|
32
|
+
"@arcgis/toolkit": "5.0.0-next.24",
|
|
33
33
|
"ajv": "6.12.6",
|
|
34
34
|
"d3-array": "^3.2.1",
|
|
35
35
|
"d3-shape": "^3.2.0",
|
package/dist/cdn/23LIUPGT.js
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
-
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
3
|
-
v5.0.0-next.22 */
|
|
4
|
-
import h from"./R4EOYEK6.js";import g from"./KR25QXSD.js";import f from"./JAVTY3NP.js";import e from"./76F6IH5J.js";import d from"./3DFKSASW.js";import c from"./MOOVAF6P.js";import b from"./SQFDMTLM.js";import"./XLLJNH5L.js";import a from"./EAJGHL5O.js";import"./LM3XBG7S.js";import"./UYLRDGGG.js";import"./YWCZA65Y.js";import{a as o}from"./ZZW4DMYZ.js";import"./547XPZD3.js";import"./ZIUZ6CNX.js";export default $arcgis.t(([,,,,,,,{E:n,da:c,ka:d,w:a},{Ea:r},,,,,{b:m,c:h,d:f},{a:g,b:l,c:S,d:p}])=>{var y=class extends f{constructor(){super(...arguments),this._chartType=o.BarSeries}async setup(e){await this.loadConfigFromLayer(e),this.setupLocalProps(),e.config!==void 0&&await this.updateSeriesFromLayerFilter(),typeof this.resolveSetup=="function"&&this.resolveSetup()}generateDefaultConfig(){let e=d(this.commonStrings);return e.series=[c({objectIDField:this.layerInfo?.objectIdField,commonStrings:this.commonStrings})],e}getSeriesHideOversizedSideBySideLabels(e){return g(e,this._config)}setSeriesHideOversizedSideBySideLabels(e,i){this.guardSetterFromAsyncOverwrite(()=>{l(e,i,this._config),this.emitConfigUpdate("setSeriesHideOversizedSideBySideLabels")})}getSeriesHideOversizedStackedLabels(e){return S(e,this._config)}setSeriesHideOversizedStackedLabels(e,i){this.guardSetterFromAsyncOverwrite(()=>{p(e,i,this._config),this.emitConfigUpdate("setSeriesHideOversizedStackedLabels")})}resetSeriesStyling(){this.guardSetterFromAsyncOverwrite(()=>{for(let e=0;e<this.seriesLength;e+=1){let i=this.getSeriesId(e),t=n({colorIndex:e,opacity:a});if(h(t,e,this._config),this.layerInfo!==void 0){let s=r({config:this._config,seriesIndex:e,layerInfo:this.layerInfo,commonStrings:this.commonStrings});s!==this.layerInfo.objectIdField&&m(s??i,e,this._config)}}this._config.colorMatch=!0,this.emitConfigUpdate("resetSeriesStyling")})}resetAvailable(){let e=!this.colorMatch,i=!1;if(!e&&this.layerInfo!==void 0)for(let t=0;t<this.seriesLength;t+=1){let s=r({config:this._config,seriesIndex:t,layerInfo:this.layerInfo,commonStrings:this.commonStrings}),u=this.getSeriesName(t);if(s!==void 0&&s!==this.layerInfo.objectIdField&&s!==u){i=!0;break}}return e||i}};return y},"geometry/support/jsonUtils","rest/support/AttributeBinsQuery","rest/support/Query","rest/support/StatisticDefinition","time/TimeExtent","core/promiseUtils","request",a,b,c,d,e,f,g,h)
|
package/dist/cdn/3XXE2VVK.js
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
-
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
3
|
-
v5.0.0-next.22 */
|
|
4
|
-
import h from"./EBANJFK5.js";import g from"./XCQX4QQO.js";import f from"./JAVTY3NP.js";import e from"./76F6IH5J.js";import d from"./3DFKSASW.js";import c from"./MOOVAF6P.js";import b from"./SQFDMTLM.js";import{i as o}from"./XLLJNH5L.js";import a from"./EAJGHL5O.js";import"./LM3XBG7S.js";import"./UYLRDGGG.js";import{b as x}from"./YWCZA65Y.js";import{a as B}from"./ZZW4DMYZ.js";import"./547XPZD3.js";import"./ZIUZ6CNX.js";export default $arcgis.t(([,,,,,,,,{B:n,E:M,Fa:c,Qa:U,ea:A,la:O,w:I,y:a,z:h},{oa:b,pa:P,qa:D},,{a:E,d:N,e:R},{a:V,b:W,c:z,d:T},k,{a:j,b:g,c:Y,d:l},{A:C,B:F,C:ce,D:ge,a:q,b:d,c:K,d:X,e:m,f:f,g:G,h:H,i:J,j:Q,k:Z,l:$,m:ee,n:y,o:te,p:se,q:ie,r:u,s:re,t:oe,u:ne,v:p,w:S,x:ae,y:he,z:_}])=>{var w=class extends E{constructor(){super(...arguments),this._chartType=B.BoxPlotSeries,this._category=n,this._splitByField="",this._numericFields=[]}async setup(e){await this.loadConfigFromLayer(e),this.setupLocalProps(),e.config!==void 0&&await this.updateSeriesFromLayerFilter(),typeof this.resolveSetup=="function"&&this.resolveSetup()}get category(){return this._category}set category(e){let t=e.trim()==="";this._category=t?n:e,this.dirtyAsyncSetters.push("category"),this.processSeriesRebuild()}get numericFields(){return this._numericFields}set numericFields(e){let{layerFieldsInfo:t}=this.layerInfo;typeof e=="string"&&(e=[e]),P(t,e)?(this._numericFields=e,this.dirtyAsyncSetters.push("numericFields"),ce(this._category,this._numericFields)&&(this._splitByField="",this.dirtyAsyncSetters.push("splitByField")),this.processSeriesRebuild()):console.log("Invalid numericFields")}get splitByField(){return this._splitByField}set splitByField(e){b(this.layerInfo.layerFieldsInfo,e)?(this._splitByField=e,this.dirtyAsyncSetters.push("splitByField"),this.processSeriesRebuild()):console.log("Invalid splitByField")}get showOutliers(){return re(this._config)}set showOutliers(e){this.guardSetterFromAsyncOverwrite(()=>{oe({newShowOutliers:e,config:this._config,layerInfo:this.layerInfo,commonStrings:this.commonStrings}),this.dispatchEvent(new CustomEvent("arcgisChartsModelDataChange")),this.emitConfigUpdate("showOutliers")})}get standardizeValues(){return te(this._config)}set standardizeValues(e){this.guardSetterFromAsyncOverwrite(()=>{ne({newStandardizeValues:e,config:this._config,layerInfo:this.layerInfo,commonStrings:this.commonStrings}),this.dispatchEvent(new CustomEvent("arcgisChartsModelDataChange")),this.emitConfigUpdate("standardizeValues")})}getSortOrder(){return p(this._config)}setSortOrder(e,t){this.guardSetterFromAsyncOverwrite(()=>{S(e,this._config,t),this.emitConfigUpdate("setSortOrder")})}async getCustomSortValues(){return await F(this._config,this.layerInfo)}async setDataFilters(e){super.setDataFilters(e);let t=p(this._config);if(t===x.customSort){let s=await F(this._config,this.layerInfo);S(t,this._config,s)}this.dispatchEvent(new CustomEvent("arcgisChartsModelDataChange")),this.emitConfigUpdate("setDataFilter")}get orderByList(){return _(this._config)}set orderByList(e){this.guardSetterFromAsyncOverwrite(()=>{C(e,this._config),this.emitConfigUpdate("orderByList")})}async updateSeriesFromLayerFilter(){this.dirtyAsyncSetters.push("updateSeriesFromLayerFilter"),await this.processSeriesRebuild()}get showMeanLines(){return ae(this._config)}set showMeanLines(e){this.guardSetterFromAsyncOverwrite(()=>{let{previousMeanLinesBoxColor:t}=he({newShowMeanLines:e,config:this._config,commonStrings:this.commonStrings,previousMeanLinesBoxColor:this.previousMeanLinesBoxColor});this.previousMeanLinesBoxColor=t,this.emitConfigUpdate("showMeanLines")})}get meanLinesBoxColor(){return X(this._config)}set meanLinesBoxColor(e){this.guardSetterFromAsyncOverwrite(()=>{m(e,this._config),this.emitConfigUpdate("meanLinesBoxColor")})}setupLocalProps(){this._category=Z(this._config),this._splitByField=$(this._config),this._numericFields=ee(this._config)}generateDefaultConfig(){let e=O(this.commonStrings);return e.series=[A(this.commonStrings)],e}resetConfig(){let e=this._config.id;this._config=this.generateDefaultConfig(),this._config.id=e,this.setupLocalProps(),this.dispatchEvent(new CustomEvent("arcgisChartsModelDataChange")),this.emitConfigUpdate("resetConfig")}canUseSynchronousSeriesRebuild(){return!ge(this.category,this.numericFields,this.splitByField)}async processSeriesRebuild(){if(this.layerInfo!==void 0){let e=this.dirtyAsyncSetters[this.dirtyAsyncSetters.length-1];if(this.canUseSynchronousSeriesRebuild())this.dirtyAsyncSetters=[],y(this.getBuildNewSeriesProps());else if(!this.asyncConfigUpdateInProgress){for(this.asyncConfigUpdateInProgress=!0,this.setupFinished=new Promise(t=>{this.resolveSetup=t});this.dirtyAsyncSetters.length>0;)this.dirtyAsyncSetters=[],await y(this.getBuildNewSeriesProps());this.asyncConfigUpdateInProgress=!1,this.resolveSetup?.()}this.dispatchEvent(new CustomEvent("arcgisChartsModelDataChange")),this.emitConfigUpdate(e)}}getBuildNewSeriesProps(){return{category:this.category,splitByField:this.splitByField,numericFields:this.numericFields,config:this._config,layerInfo:this.layerInfo,commonStrings:this.commonStrings}}getSeriesName(e){return q(e,this._config)}setSeriesName(e,t){this.guardSetterFromAsyncOverwrite(()=>{d(e,t,this._config),this.emitConfigUpdate("setSeriesName")})}getSeriesColor(e){return K(e,this._config)}setSeriesColor(e,t){this.guardSetterFromAsyncOverwrite(()=>{f(e,t,this._config),this.emitConfigUpdate("setSeriesColor")})}getSeriesLineStyle(e){let t=this._config.series[e];if(this.showMeanLines===!0&&o(t))return j(t)}setSeriesLineStyle(e,t){this.guardSetterFromAsyncOverwrite(()=>{let s=this._config.series[t];this.showMeanLines===!0&&o(s)&&g(e,s),this.emitConfigUpdate("setSeriesLineStyle")})}getSeriesLineWidth(e){let t=this._config.series[e];if(this.showMeanLines===!0&&o(t))return Y(t)}setSeriesLineWidth(e,t){this.guardSetterFromAsyncOverwrite(()=>{let s=this._config.series[t];this.showMeanLines===!0&&o(s)&&l(e,s),this.emitConfigUpdate("setSeriesLineWidth")})}get orderOfSeries(){return G(this._config)}set orderOfSeries(e){this.guardSetterFromAsyncOverwrite(()=>{H(e,this._config),this.emitConfigUpdate("orderOfSeries")})}moveSeries(e,t){this.guardSetterFromAsyncOverwrite(()=>{J(e,t,this._config),this.emitConfigUpdate("moveSeries")})}get boxPlotSeriesIndexWhenMeanLinesShown(){return Q(this._config)}moveCustomSortValuesInOrderByList(e,t){this.guardSetterFromAsyncOverwrite(()=>{let s=_(this._config),[i]=s.splice(e,1);s.splice(t,0,i),C(s,this._config),this.emitConfigUpdate("moveCustomSortValuesInOrderByList")})}generateChartTitle(){return ie(this._config,this.layerInfo,this.commonStrings)}generateXAxisTitle(){return this._category!==n?U(this.layerInfo.layerFieldsInfo,this._category):""}generateYAxisTitle(){return se(this._config,this.layerInfo,this.commonStrings)}resetSeriesStyling(){this.guardSetterFromAsyncOverwrite(()=>{for(let e=this.showMeanLines===!0?1:0;e<this.seriesLength;e+=1){let t=this.getSeriesId(e),s=M({colorIndex:e,opacity:I}),i=this._config.series[e];f(s,e,this._config);let r=u({series:i,splitByField:this._splitByField,layerInfo:this.layerInfo,commonStrings:this.commonStrings});d(r??t,e,this._config),this.showMeanLines===!0&&o(i)&&(g(a,i),l(h,i))}this.showMeanLines===!0&&m(c,this._config),this._config.colorMatch=!0,this.emitConfigUpdate("resetSeriesStyling")})}resetAvailable(){let e=!this.colorMatch,t=this.showMeanLines===!0&&this.meanLinesBoxColor!==c,s=!1,i=!1;if(!e)for(let r=this.showMeanLines===!0?1:0;r<this.seriesLength;r+=1){let L=this._config.series[r],v=u({series:L,splitByField:this._splitByField,layerInfo:this.layerInfo,commonStrings:this.commonStrings}),le=this.getSeriesName(r);if(v!==void 0&&v!==le){s=!0;break}if(this.showMeanLines===!0&&o(L)){let de=this.getSeriesLineStyle(r),me=this.getSeriesLineWidth(r);if(de!==a||me!==h){i=!0;break}}}return e||t||s||i}};D(w,[R,W,z,V,k,T,N]);return w},"geometry/support/jsonUtils","rest/support/AttributeBinsQuery","rest/support/Query","rest/support/StatisticDefinition","time/TimeExtent","core/promiseUtils","request","intl",a,b,c,d,e,f,g,h)
|
package/dist/cdn/5NZ4FFVZ.js
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
-
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
3
|
-
v5.0.0-next.22 */
|
|
4
|
-
import b from"./SQFDMTLM.js";import a from"./EAJGHL5O.js";import{d as V,f as j,i as P,m as $,w as G}from"./LM3XBG7S.js";import{c as d,d as y}from"./YWCZA65Y.js";import{a as E,b as u,h as S,v as f}from"./ZZW4DMYZ.js";export default $arcgis.t(([,,,,,,,{substitute:O},{Bc:N,Qa:v,R:R,ha:z,i:T,j:D,ya:_},{M:K,b:h,ba:U,c:L,q:k}])=>{function B(r){let{config:t,layerInfo:e,mode:o,commonStrings:i}=r,a=e!==void 0?A({config:t,layerInfo:e,commonStrings:i,mode:o}):"",n=k(t),g=N(t);return a===n||g}function x(r){let{config:t,layerInfo:e,mode:o,commonStrings:i}=r,a=e!==void 0?L({config:t,layerInfo:e,commonStrings:i,numericFields:p(t),aggregationType:F(t,o)}):"",n=K(1,t),g=N(t);return a===n||g}var w=r=>r.series?.[0]?.x??"";function M(r,t){let e=r.series?.[0];return[`${t===y.Category?e.y:D} ${S.Descending}`]}var W=(r,t)=>{let e=d.valueDesc,o=r.orderOptions?.data?.orderType??M(r,t),i=r.orderOptions?.data?.orderBy??S.Descending;return o===f.Category&&Array.isArray(i)?e=d.customSort:o===f.Category?i===S.Ascending?e=d.labelAsc:e=d.labelDesc:i===S.Ascending?e=d.valueAsc:e=d.valueDesc,e},p=V(r=>{let t=[];return t=r.series?.[0]?.query?.outStatistics?.map(e=>e.onStatisticField)??[r.series?.[0]?.y??""],[...new Set(t.filter(e=>e!==""))]},r=>r.series),F=(r,t)=>{let e=p(r),o;return t===y.Fields&&e.length===0?o=u.Sum:o=r.series?.[0]?.query?.outStatistics?.[0]?.statisticType??u.NoAggregation,o};function X(r){let{config:t,layerInfo:e,mode:o,commonStrings:i}=r,{objectIdField:a}=e??{},n=z(i,a),g=w(t),l=t.series[0]?.dataLabels,s={...n,x:o===y.Category?g:T,slices:t.series?.[0]?.slices,dataLabels:{...n.dataLabels,type:n.dataLabels?.type??E.Text,content:{...n.dataLabels?.content,...l?.content,type:G.TS},visible:l?.visible??!1},innerRadiusSize:t.series?.[0]?.innerRadius,sliceGrouping:t.series?.[0]?.sliceGrouping,dataLabelsCharacterLimit:t.series?.[0]?.dataLabelsCharacterLimit,numericValueFormat:t.series?.[0]?.numericValueFormat,percentValueFormat:t.series?.[0]?.percentValueFormat,displayCategoryOnDataLabel:t.series?.[0]?.displayCategoryOnDataLabel,displayNumericValueOnDataLabel:t.series?.[0]?.displayNumericValueOnDataLabel,displayPercentageOnDataLabel:t.series?.[0]?.displayPercentageOnDataLabel},c=F(t,o);if(c!==u.NoAggregation&&a!==void 0){let m=`${c}_${a}_0`.toUpperCase();s.y=o===y.Category?m:D,s.query={outStatistics:o===y.Category?[{statisticType:c,onStatisticField:a,outStatisticFieldName:m}]:[]}}return o===y.Category&&s.query!==void 0?s.query.groupByFieldsForStatistics=[g]:delete s.query?.groupByFieldsForStatistics,j(s)}function A(r){let{config:t,layerInfo:e,mode:o,commonStrings:i}=r,{layerFieldsInfo:a,objectIdField:n}=e,g=w(t),l=p(t),s=F(t,o),c=l.length===0||l.includes(n),m=_(s,i),C=c?"":l.map(J=>v(a??[],J)).join(", "),b=v(a??[],g),I="",q;return o===y.Fields?q=l.length===0:q=g==="",q?I=i.utilsStrings.chartType.pieChart:s===u.NoAggregation?I=O(i.titleLabels.aggrFieldsByCategory,{aggregationFields:c?n:C,category:b}):s===u.Count?I=O(i.titleLabels.aggrTypeCategory,{aggregationType:m,category:b}):l.length>0&&(b===T||P(b)||$(b)?I=O(i.titleLabels.aggrTypeOfAggrFields,{aggregationType:m,aggregationFields:C}):I=O(i.titleLabels.aggrTypeOfAggrFieldsByCategory,{aggregationType:m,aggregationFields:C,category:b})),I}var ye=r=>{let{newSortOrderKind:t,config:e,orderByList:o}=r;e.orderOptions??={},t===d.customSort&&o!==void 0?e.orderOptions.data={orderType:f.Category,orderBy:[...o]}:e.orderOptions.data={orderType:t===d.labelAsc||t===d.labelDesc?f.Category:f.YValue,orderBy:t===d.labelAsc||t===d.valueAsc?S.Ascending:S.Descending}},ue=r=>{let{newCategory:t,config:e,layerInfo:o,mode:i,commonStrings:a}=r,n=e.series?.length??0,g=B({config:e,layerInfo:o,commonStrings:a,mode:i}),l=x({config:e,layerInfo:o,commonStrings:a,mode:i});if(e.series.forEach(s=>{s.x=i===y.Category?t:T,s.query!==void 0&&t!==T?s.query.groupByFieldsForStatistics=[t]:delete s.query?.groupByFieldsForStatistics}),n===0){let s=[X({config:e,layerInfo:o,mode:i,commonStrings:a})];e.series=s}if(o!==void 0){if(l){let c=L({config:e,layerInfo:o,numericFields:p(e),aggregationType:F(e,i),commonStrings:a});h(e,1,c)}e.title&&g&&(e.title.content.text=A({config:e,layerInfo:o,commonStrings:a,mode:i}));let s=i===y.Fields?p(e).filter(c=>c!==o.objectIdField):p(e);Y({newNumericFields:s,config:e,layerInfo:o,mode:i,commonStrings:a})}};function H(r){let{numericFields:t,aggregationType:e,config:o,layerInfo:i,mode:a,commonStrings:n}=r,g=[],l=X({config:o,layerInfo:i,mode:a,commonStrings:n}),s={...l,query:{...l.query}};t.length<=1?s.query.where=l.query?.where:delete s.query.where;let c=U({config:o,xAxisField:w(o),numericFields:t,aggregationType:e,mode:a,layer:i.layer}).name;if(e!==u.NoAggregation)if(a===y.Category){if(t.length>0){let m=t[0];s.query.outStatistics=[{...l.query?.outStatistics?.[0]??{},onStatisticField:m,outStatisticFieldName:c,statisticType:e}]}}else for(let m of t)s.query.outStatistics?.push({onStatisticField:m,outStatisticFieldName:m,statisticType:e});else s.query={};s.y=c,g.push(s),o.series=g}var fe=r=>{let{newAggregationType:t,config:e,layerInfo:o,mode:i,commonStrings:a}=r,n=p(e),g=B({config:e,layerInfo:o,commonStrings:a,mode:i}),l=x({config:e,layerInfo:o,commonStrings:a,mode:i});if(H({config:e,layerInfo:o,numericFields:n,aggregationType:t,commonStrings:a,mode:i}),l){let C=L({config:e,layerInfo:o,commonStrings:a,numericFields:p(e),aggregationType:F(e,i)});h(e,1,C)}e.title&&g&&(e.title.content.text=A({config:e,layerInfo:o,commonStrings:a,mode:i}));let s=e.series?.[0]?.displayCategoryOnDataLabel,c=e.series?.[0]?.displayNumericValueOnDataLabel,m=e.series?.[0]?.displayPercentageOnDataLabel;e.legend={...e.legend??R(),displayNumericValue:c,displayPercentage:m,displayCategory:s}},Y=r=>{let{newNumericFields:t}=r,{config:e,layerInfo:o,mode:i,commonStrings:a}=r,{objectIdField:n}=o??{},g=F(e,i),l=B({config:e,layerInfo:o,commonStrings:a,mode:i}),s=x({config:e,layerInfo:o,commonStrings:a,mode:i});if(t=t===""?[]:t,t=typeof t=="string"?[t]:t,n!==void 0&&(t.length===0&&i===y.Category?(t.push(n),g=u.Count):g===u.Count&&t.length>=1&&!t.includes(n)&&(g=u.Sum)),o!==void 0){if(H({config:e,layerInfo:o,commonStrings:a,numericFields:t,aggregationType:g,mode:i}),s){let c=L({config:e,layerInfo:o,commonStrings:a,numericFields:p(e),aggregationType:F(e,i)});h(e,1,c)}e.title&&l&&(e.title.content.text=A({config:e,layerInfo:o,commonStrings:a,mode:i}))}else e.series.forEach(c=>{delete c.query,c.y=t[0]})},pe=(r,t)=>{let e=[],o=r.orderOptions?.data?.orderType,i=W(r,t),a=r.orderOptions?.data?.orderBy;return i===d.customSort&&o===f.Category&&Array.isArray(a)&&(e=a),e},Se=r=>{let{values:t,config:e,mode:o}=r;e.orderOptions??={};let i=e.orderOptions?.data?.orderType;W(e,o)===d.customSort&&i===f.Category&&(e.orderOptions.data={orderType:f.Category,orderBy:[...t]})};return{a:w,b:W,c:p,d:F,e:A,f:ye,g:ue,h:fe,i:Y,j:pe,k:Se}},"geometry/support/jsonUtils","rest/support/AttributeBinsQuery","rest/support/Query","rest/support/StatisticDefinition","time/TimeExtent","core/promiseUtils","request","intl",a,b)
|
package/dist/cdn/6T4AJS45.js
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
-
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
3
|
-
v5.0.0-next.22 */
|
|
4
|
-
import f from"./76F6IH5J.js";import e from"./3DFKSASW.js";import d from"./MOOVAF6P.js";import b from"./SQFDMTLM.js";import"./XLLJNH5L.js";import a from"./EAJGHL5O.js";import{i as c,j as S}from"./LM3XBG7S.js";import"./UYLRDGGG.js";import"./YWCZA65Y.js";import{a as I}from"./ZZW4DMYZ.js";import"./547XPZD3.js";import"./ZIUZ6CNX.js";export default $arcgis.t(([,,,,,,,{substitute:H},{Bc:m,Qa:l,Y:A,Z:d,oc:C,qa:T},{M:p,b:u,e:f,i:_,q:L,qa:b},,{a:w,c:M,d:O,e:P},{a:U,b:z,c:E,d:k}])=>{var N=i=>{f({config:i,value:null,axisIndex:0,isMax:!1}),f({config:i,value:null,axisIndex:0,isMax:!0}),f({config:i,value:null,axisIndex:1,isMax:!1}),f({config:i,value:null,axisIndex:1,isMax:!0})},X=i=>{let{name:e,axisIndex:s,config:r,layerInfo:t}=i,{layerFieldsInfo:o}=t,n=o.find(h=>h.name===e),a=n!==void 0&&C(n);_(r,s,a)};function D(i,e,s){let r=v(i,e,s),t=L(i),o=m(i);return r===t||o}function q(i,e){let{layerFieldsInfo:s}=e,r=l(s,g(i)),t=p(1,i),o=m(i);return r===t||o}function W(i,e){let{layerFieldsInfo:s}=e,r=y(i),t=l(s,r),o=p(0,i),n=m(i);return t===o||n}function v(i,e,s){let r=y(i),t=g(i),{layerFieldsInfo:o}=e,n=l(o,r),a=l(o,t);return H(s.titleLabels.xAndY,{x:n,y:a})}var j=i=>{let{x:e,y:s,config:r,layerInfo:t,updateChartTitle:o,updateXAxisTitle:n,updateYAxisTitle:a,commonStrings:h}=i,{layerFieldsInfo:F}=t,B=l(F,e),G=l(F,s);!c(e)&&n&&u(r,0,B),!c(s)&&a&&u(r,1,G),!c(e)&&!c(s)&&r.title&&o&&(r.title.content.text=v(r,t,h))},y=i=>i.series[0]?.x??"",g=i=>i.series[0]?.y??"",J=i=>{let{fieldName:e,config:s,layerInfo:r,commonStrings:t}=i,o=D(s,r,t),n=W(s,r),a=q(s,r);N(s),s.series[0]&&(s.series[0].x=e),j({x:e,y:g(s),config:s,layerInfo:r,updateChartTitle:o,commonStrings:t,updateXAxisTitle:n,updateYAxisTitle:a}),X({name:e,axisIndex:0,config:s,layerInfo:r})},K=i=>{let{fieldName:e,config:s,layerInfo:r,commonStrings:t}=i,o=D(s,r,t),n=W(s,r),a=q(s,r);N(s),s.series[0]&&(s.series[0].y=e),j({x:y(s),y:e,config:s,layerInfo:r,commonStrings:t,updateChartTitle:o,updateXAxisTitle:n,updateYAxisTitle:a}),X({name:e,axisIndex:1,config:s,layerInfo:r})},Q=i=>{let e={};return i.series[0]?.markerSymbol??e},R=(i,e)=>{e.series[0]&&(e.series[0].markerSymbol=i)},V=i=>(i.series[0]?.overlays?.trendLine?.visible??!0)&&(i.series[0]?.overlays?.trendLine?.created??!1),Z=i=>{let e={};return i.series[0]?.overlays?.trendLine?.symbol??e},$=(i,e)=>{e.series[0].overlays??=d(),e.series[0].overlays.trendLine??=d().trendLine,e.series[0].overlays.trendLine.symbol=i},ee=(i,e)=>{e.series[0].overlays??=d(),e.series[0].overlays.trendLine??=d().trendLine,e.series[0].overlays.trendLine.visible=i},ie=(i,e)=>{!(e.series[0]?.overlays?.trendLine?.created??!1)&&i&&(e.series[0].overlays??=d(),e.series[0].overlays.trendLine??=d().trendLine,e.series[0].overlays.trendLine.created=i),ee(i,e)},Y=i=>i.series[0]?.sizePolicy??A(),se=(i,e)=>{e.series[0]&&(i!==void 0&&i.field?.trim()!==""?e.series[0].sizePolicy={...e.series[0].sizePolicy,...i}:e.series[0].sizePolicy=void 0)},re=i=>i?.series?.[0]?.overlays,te=(i,e)=>{e?.series[0]!==void 0&&(e.series[0].overlays=i)},oe=i=>i.series.find(e=>e.additionalTooltipFields!==void 0)?.additionalTooltipFields??[],ne=(i,e)=>{e.series.forEach(s=>{Array.isArray(i)?s.additionalTooltipFields=i:typeof i=="string"?s.additionalTooltipFields=i.trim()===""?[]:[i]:s.additionalTooltipFields=[]})},x=class extends w{constructor(){super(...arguments),this._chartType=I.ScatterSeries}async setup(e){await this.loadConfigFromLayer(e),typeof this.resolveSetup=="function"&&this.resolveSetup()}get xAxisField(){return y(this._config)}set xAxisField(e){this.guardSetterFromAsyncOverwrite(()=>{J({fieldName:e,config:this._config,layerInfo:this.layerInfo,commonStrings:this.commonStrings}),this.dispatchEvent(new CustomEvent("arcgisChartsModelDataChange")),this.emitConfigUpdate("xAxisField")})}get yAxisField(){return g(this._config)}set yAxisField(e){this.guardSetterFromAsyncOverwrite(()=>{K({fieldName:e,config:this._config,layerInfo:this.layerInfo,commonStrings:this.commonStrings}),this.dispatchEvent(new CustomEvent("arcgisChartsModelDataChange")),this.emitConfigUpdate("yAxisField")})}get showLinearTrend(){return V(this._config)}set showLinearTrend(e){this.guardSetterFromAsyncOverwrite(()=>{ie(e,this._config),this.emitConfigUpdate("showLinearTrend")})}get linearTrendSymbol(){return Z(this._config)}set linearTrendSymbol(e){this.guardSetterFromAsyncOverwrite(()=>{$(e,this._config),this.emitConfigUpdate("linearTrendSymbol")})}get fixedMarkerSymbol(){return Q(this._config)}set fixedMarkerSymbol(e){this.guardSetterFromAsyncOverwrite(()=>{R(e,this._config),this.emitConfigUpdate("fixedMarkerSymbol")})}get sizePolicy(){return Y(this._config)}set sizePolicy(e){this.guardSetterFromAsyncOverwrite(()=>{let s=Y(this._config);S(s,e)||(se(e,this._config),this.emitConfigUpdate("sizePolicy"))})}get seriesOverlays(){return re(this._config)}set seriesOverlays(e){this.guardSetterFromAsyncOverwrite(()=>{e!==void 0&&(te(e,this._config),this.emitConfigUpdate("seriesOverlays"))})}get additionalTooltipField(){return oe(this._config)}set additionalTooltipField(e){this.guardSetterFromAsyncOverwrite(()=>{ne(e,this._config),this.emitConfigUpdate("additionalTooltipField")})}generateChartTitle(){return v(this._config,this.layerInfo,this.commonStrings)}generateXAxisTitle(){let e=this.xAxisField;return l(this.layerInfo.layerFieldsInfo,e)}generateYAxisTitle(){let e=this.yAxisField;return l(this.layerInfo.layerFieldsInfo,e)}generateDefaultConfig(){return T(this.commonStrings)}};b(x,[P,z,E,U,k,M,O]);return x},"geometry/support/jsonUtils","rest/support/AttributeBinsQuery","rest/support/Query","rest/support/StatisticDefinition","time/TimeExtent","core/promiseUtils","request","intl",a,b,d,e,f)
|
package/dist/cdn/6VPFWSHN.js
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
-
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
3
|
-
v5.0.0-next.22 */
|
|
4
|
-
import l from"./LJNYNTT4.js";import k from"./7Q6MBASQ.js";import"./7VC5UHPQ.js";import j from"./ZQXGF6JZ.js";import i from"./KR25QXSD.js";import h from"./JAVTY3NP.js";import f from"./76F6IH5J.js";import e from"./3DFKSASW.js";import d from"./MOOVAF6P.js";import b from"./SQFDMTLM.js";import"./XLLJNH5L.js";import a from"./EAJGHL5O.js";import"./LM3XBG7S.js";import"./UYLRDGGG.js";import"./YWCZA65Y.js";import{a as F,b as c,e as g}from"./ZZW4DMYZ.js";import"./547XPZD3.js";import"./ZIUZ6CNX.js";export default $arcgis.t(([,,,,,,,,{Bc:y,Qa:d,Ua:S,ra:C},{M:f,b:h,qa:_},,,{c:x,d:T},,{a:A,b:v,d:w},,,{Ga:p}])=>{var U=t=>{let{xField:e,config:i,layerInfo:s}=t,{layerFieldsInfo:r}=s,a=f(0,i),o=O(i),l=y(i),n=i.series[0];if(typeof e=="string"&&o!==e&&n&&(n.x=e,p(i),o===a||l)){let m=d(r,e);h(i,0,m)}},O=t=>t.series[0].x??"",L=(t,e)=>{let i=t.series[0];i.heatRulesType=e},I=t=>t.series[0].heatRulesType,R=(t,e)=>{let i=t.series[0];i.gradientRules=e},b=t=>t.series[0].gradientRules,P=t=>{let{yField:e,config:i,layerInfo:s}=t,{layerFieldsInfo:r}=s,a=f(1,i),o=B(i),l=y(i),n=i.series[0];if(typeof e=="string"&&o!==e&&n&&(n.y=e,p(i),o===a||l)){let m=d(r,e);h(i,1,m)}},B=t=>t.series[0].y??"",N=(t,e)=>{let i=e.series[0];i.xTemporalBinning=t},q=t=>t.series[0].xTemporalBinning,W=(t,e)=>{let i=e.series[0];i.yTemporalBinning=t},$=t=>t.series[0].yTemporalBinning,E=(t,e)=>{let i=e.series[0];i.gridLine&&(i.gridLine.width=t)},H=t=>t.series[0].gridLine?.width,M=(t,e)=>{let i=e.series[0],s=t?.length===4&&t.every(r=>typeof r=="number");i.gridLine&&s&&(i.gridLine.color=t)},j=t=>t.series[0].gridLine?.color,k=(t,e)=>{let i=e.legend;t===g.Bottom&&i&&(i.position=g.Bottom)},D=t=>t.legend?.position??g.Bottom,Q=t=>t.series[0].query?.outStatistics?.[0]?.onStatisticField,V=(t,e)=>{let i=e.series[0].query?.outStatistics?.[0];i&&(i.onStatisticField=t,i.outStatisticFieldName=`${i.statisticType}_${t}`)},Z=t=>t.series[0].query?.outStatistics?.[0].statisticType??c.Count,z=(t,e)=>{let i=e.series[0]?.query?.outStatistics?.[0];i&&t!==c.NoAggregation&&(i.statisticType=t,i.outStatisticFieldName=`${t}_${i.onStatisticField}`)},G=t=>t.nullPolicy,J=(t,e)=>{e.nullPolicy=t},K=t=>t.series[0].emptyCells?.text,X=(t,e)=>{e.series[0].emptyCells?e.series[0].emptyCells.text=t:e.series[0].emptyCells={text:t}},Y=t=>t.series[0].emptyCells?.symbol,ee=(t,e)=>{e.series[0].emptyCells?e.series[0].emptyCells.symbol=t:e.series[0].emptyCells={symbol:t}},u=class extends w{constructor(){super(...arguments),this._chartType=F.HeatSeries}generateChartTitle(){throw new Error("Method not implemented.")}async setup(e){await this.loadConfigFromLayer(e),typeof this.resolveSetup=="function"&&this.resolveSetup()}get xAxisField(){return O(this._config)}set xAxisField(e){this.guardSetterFromAsyncOverwrite(()=>{U({xField:e,config:this._config,layerInfo:this.layerInfo}),this.emitConfigUpdate("xAxisField")})}get yAxisField(){return B(this._config)}set yAxisField(e){this.guardSetterFromAsyncOverwrite(()=>{P({yField:e,config:this._config,layerInfo:this.layerInfo}),this.emitConfigUpdate("yAxisField")})}get xTemporalBinning(){return q(this._config)}set xTemporalBinning(e){this.guardSetterFromAsyncOverwrite(()=>{N(e,this._config),this.emitConfigUpdate("xTemporalBinning")})}get yTemporalBinning(){return $(this._config)}set yTemporalBinning(e){this.guardSetterFromAsyncOverwrite(()=>{W(e,this._config),this.emitConfigUpdate("yTemporalBinning")})}get gridLineWidth(){return H(this._config)}set gridLineWidth(e){this.guardSetterFromAsyncOverwrite(()=>{E(e,this._config),this.emitConfigUpdate("gridLineWidth")})}get gridLineColor(){return j(this._config)}set gridLineColor(e){this.guardSetterFromAsyncOverwrite(()=>{M(e,this._config),this.emitConfigUpdate("gridLineColor")})}get seriesName(){return A(0,this._config)}set seriesName(e){this.guardSetterFromAsyncOverwrite(()=>{typeof e=="string"&&(v(e,0,this.config),this.emitConfigUpdate("seriesName"))})}get heatRulesType(){return I(this._config)}set heatRulesType(e){this.guardSetterFromAsyncOverwrite(()=>{L(this._config,e),this.emitConfigUpdate("heatRulesType")})}get gradientRules(){return b(this._config)}set gradientRules(e){this.guardSetterFromAsyncOverwrite(()=>{R(this._config,e),this.emitConfigUpdate("gradientRules")})}get numericFields(){let e=Q(this._config);return e!==void 0?[e]:[]}set numericFields(e){this.guardSetterFromAsyncOverwrite(()=>{let i=e[0];S(i)||(V(i,this._config),this.emitConfigUpdate("numericFields"))})}get aggregationType(){return Z(this._config)}set aggregationType(e){this.guardSetterFromAsyncOverwrite(()=>{z(e,this._config),this.emitConfigUpdate("aggregationType")})}get splitByField(){return""}set splitByField(e){}set legendTitleText(e){this.guardSetterFromAsyncOverwrite(()=>{})}get legendPosition(){return D(this._config)}set legendPosition(e){this.guardSetterFromAsyncOverwrite(()=>{e===g.Bottom&&(k(e,this._config),this.emitConfigUpdate("legendVisibility"))})}set rotatedState(e){this.guardSetterFromAsyncOverwrite(()=>{})}get nullPolicy(){return G(this._config)}set nullPolicy(e){this.guardSetterFromAsyncOverwrite(()=>{J(e,this._config),this.emitConfigUpdate("nullPolicy")})}get emptyCellText(){return K(this._config)}set emptyCellText(e){this.guardSetterFromAsyncOverwrite(()=>{X(e,this._config),this.emitConfigUpdate("emptyCellText")})}get emptyCellSymbol(){return Y(this._config)}set emptyCellSymbol(e){this.guardSetterFromAsyncOverwrite(()=>{ee(e,this._config),this.emitConfigUpdate("emptyCellSymbol")})}generateDefaultConfig(){let e=C(this.commonStrings,this.layerInfo?.objectIdField);return e.axes?.forEach(i=>{i&&(i.valueFormat={intlOptions:{timeZone:void 0},type:"date"})}),e}};_(u,[x,T]);return u},"geometry/support/jsonUtils","rest/support/AttributeBinsQuery","rest/support/Query","rest/support/StatisticDefinition","time/TimeExtent","core/promiseUtils","request","intl",a,b,d,e,f,h,i,j,k,l)
|