@arcgis/charts-components 5.0.0-next.22 → 5.0.0-next.23
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/{MHUXUGBF.js → 2CNOZVQC.js} +2 -2
- package/dist/cdn/{MOOVAF6P.js → 2JCNU36N.js} +2 -2
- package/dist/cdn/{SJOUE3F7.js → 2K7THD3M.js} +2 -2
- package/dist/cdn/{CFKXDKDA.js → 2Y5SQY5R.js} +2 -2
- package/dist/cdn/{JAVTY3NP.js → 3IGDV4ZR.js} +2 -2
- package/dist/cdn/{4FQHH7QS.js → 3L36ZXPY.js} +2 -2
- package/dist/cdn/{EGW2HLRN.js → 3QPH5D7P.js} +2 -2
- package/dist/cdn/{BGGRD4GZ.js → 43MAKNY3.js} +2 -2
- package/dist/cdn/4C5MBPZX.js +4 -0
- package/dist/cdn/{SJ5BFV5F.js → 4WJHOV5L.js} +2 -2
- package/dist/cdn/{343FRDKB.js → 4ZZOUYL4.js} +2 -2
- package/dist/cdn/{76F6IH5J.js → 52DGPYON.js} +2 -2
- package/dist/cdn/54XUDOYF.js +4 -0
- package/dist/cdn/{J4AH5AVR.js → 55E2UR6U.js} +2 -2
- package/dist/cdn/{UPMAPFMF.js → 55HXOCTO.js} +2 -2
- package/dist/cdn/{Q7IWCRMK.js → 5ABO5FLN.js} +2 -2
- package/dist/cdn/{3V7U7JR7.js → 5AYQK66X.js} +2 -2
- package/dist/cdn/{4ZEA6ANY.js → 5CFVTVNZ.js} +2 -2
- package/dist/cdn/{72CSJHQI.js → 5CWQ56OJ.js} +2 -2
- package/dist/cdn/{BJ66IO53.js → 5NPFIH5R.js} +2 -2
- package/dist/cdn/5QTNWB6M.js +4 -0
- package/dist/cdn/{GEAHE5YN.js → 5R3UNDPR.js} +2 -2
- package/dist/cdn/{DIWIFUGL.js → 62ZJW3ZL.js} +2 -2
- package/dist/cdn/{WMZT7YMW.js → 67IIXQZW.js} +2 -2
- package/dist/cdn/{2SZHG3HO.js → 6G7Y2NQY.js} +2 -2
- package/dist/cdn/{YQS57S5A.js → 6PX7WRBS.js} +2 -2
- package/dist/cdn/{RLCWYLE2.js → 6T5G7OWG.js} +2 -2
- package/dist/cdn/{547XPZD3.js → 74RHJ4FH.js} +1 -1
- package/dist/cdn/{WPV6YSJE.js → 7CSI47XV.js} +2 -2
- package/dist/cdn/{4A6PM22T.js → 7DAMR4C5.js} +2 -2
- package/dist/cdn/{LGYSYLFO.js → 7ELEMZWW.js} +2 -2
- package/dist/cdn/7GCROMZ3.js +4 -0
- package/dist/cdn/{VAWLI7KW.js → 7K6TBFBK.js} +2 -2
- package/dist/cdn/7QOUCRNR.js +4 -0
- package/dist/cdn/{UDIEB3CT.js → A2AVCME4.js} +2 -2
- package/dist/cdn/{TXOMCG6X.js → A6DFKP5C.js} +2 -2
- package/dist/cdn/{2G54D3OF.js → AL7IFCXO.js} +2 -2
- package/dist/cdn/AQOJCPFP.js +4 -0
- package/dist/cdn/{QEBHIDPZ.js → AR6HQJXG.js} +2 -2
- package/dist/cdn/{NE5OHK2L.js → B5CVWRBC.js} +2 -2
- package/dist/cdn/{JDVSIO5P.js → BCAHE4CH.js} +2 -2
- package/dist/cdn/{YWCZA65Y.js → BCNZXXU6.js} +1 -1
- package/dist/cdn/{RNVZTP3Q.js → BPUC4TEG.js} +2 -2
- package/dist/cdn/{ZQXGF6JZ.js → BSVWOFVL.js} +2 -2
- package/dist/cdn/{PMGTXCKQ.js → BTJDBHCA.js} +2 -2
- package/dist/cdn/{GSOVLQHE.js → C3XAV5ID.js} +2 -2
- package/dist/cdn/{PPXPQJ7L.js → C6KGARTB.js} +2 -2
- package/dist/cdn/{FDECLHKY.js → CBCBPNHH.js} +2 -2
- package/dist/cdn/{5LDE52ZG.js → CDQUD4KN.js} +2 -2
- package/dist/cdn/{PAG6VO5Q.js → CJU7OKTQ.js} +2 -2
- package/dist/cdn/CNH6TZ77.js +6 -0
- package/dist/cdn/{34OBKOP2.js → CUJ7HTP2.js} +2 -2
- package/dist/cdn/{BKFEYLFG.js → DBITGGFE.js} +2 -2
- package/dist/cdn/{WXP5KLFE.js → DDDYIA2P.js} +2 -2
- package/dist/cdn/{4EI6NVYW.js → DGOZ66IX.js} +2 -2
- package/dist/cdn/{EXD3SZVY.js → DGQV2WQU.js} +2 -2
- package/dist/cdn/{RS4FXHBP.js → DOADITCW.js} +2 -2
- package/dist/cdn/{R4EOYEK6.js → E2JQ5WXV.js} +2 -2
- package/dist/cdn/EAM5GJBT.js +4 -0
- package/dist/cdn/EBZWRTY5.js +4 -0
- package/dist/cdn/{FZMEBFJZ.js → EHO64YGK.js} +2 -2
- package/dist/cdn/{HGRDXWSR.js → EONFJMJM.js} +2 -2
- package/dist/cdn/{R6GDZOI5.js → EQBMNUA2.js} +2 -2
- package/dist/cdn/{KIBPAYYA.js → ES5CUH52.js} +2 -2
- package/dist/cdn/EYK5L3UK.js +4 -0
- package/dist/cdn/{I4MKXTN4.js → FGPB2VT7.js} +2 -2
- package/dist/cdn/{MA3SDR4L.js → FJVGGF5W.js} +2 -2
- package/dist/cdn/FM2Y235W.js +4 -0
- package/dist/cdn/FMPXNTO4.js +4 -0
- package/dist/cdn/{LJNYNTT4.js → FOAZUMOO.js} +2 -2
- package/dist/cdn/{J2KLZF4I.js → FT34C2M6.js} +2 -2
- package/dist/cdn/{3AQIKGGP.js → FTMWG3KU.js} +2 -2
- package/dist/cdn/{3X3SDWFQ.js → G4JMPXVY.js} +2 -2
- package/dist/cdn/{X4FIJU4Z.js → GPQ2HBJD.js} +2 -2
- package/dist/cdn/{HDELCYJK.js → H3RCVBHM.js} +2 -2
- package/dist/cdn/{PERHTP2L.js → HB7ECJEJ.js} +1 -1
- package/dist/cdn/{LM3XBG7S.js → HENQDR66.js} +1 -1
- package/dist/cdn/{7Q6MBASQ.js → HJC3VAP6.js} +2 -2
- package/dist/cdn/{7TUQ4IQ3.js → HPFOWU4H.js} +2 -2
- package/dist/cdn/{ZJCZKGLK.js → HUDW7ICC.js} +2 -2
- package/dist/cdn/I25IEX6C.js +4 -0
- package/dist/cdn/{XYHI6GPX.js → I5GRMUSN.js} +2 -2
- package/dist/cdn/IA4RH3OE.js +4 -0
- package/dist/cdn/IDULS6KH.js +4 -0
- package/dist/cdn/{KIRGSKAU.js → IDVGADCW.js} +2 -2
- package/dist/cdn/{2MM3QN5G.js → IFD7LKUW.js} +2 -2
- package/dist/cdn/{PFE3CLAB.js → IKRO5KIH.js} +2 -2
- package/dist/cdn/{BFTOG7LL.js → ILBO3YRY.js} +2 -2
- package/dist/cdn/{ZPAAZWBD.js → IZOTLMFR.js} +2 -2
- package/dist/cdn/{ZCLOJW4C.js → J6LAGYZB.js} +2 -2
- package/dist/cdn/{KBIG4RFG.js → JEOQ45DV.js} +2 -2
- package/dist/cdn/{NXPXPFWP.js → JMKIG7KV.js} +2 -2
- package/dist/cdn/{NBWZJ73L.js → JPTGILNV.js} +2 -2
- package/dist/cdn/JVNPGZSH.js +4 -0
- package/dist/cdn/{EAJGHL5O.js → JW6FA2AV.js} +4 -4
- package/dist/cdn/{SF24B37U.js → KCQ5OWCV.js} +2 -2
- package/dist/cdn/{XWSS3C7U.js → KKIY5PON.js} +2 -2
- package/dist/cdn/{GSWFJVZW.js → KMMW5J55.js} +2 -2
- package/dist/cdn/{S7PLFJQG.js → KNPOBWLH.js} +2 -2
- package/dist/cdn/{UH6CFCLT.js → KWFPH3L3.js} +2 -2
- package/dist/cdn/{QYB4YYTW.js → L5PXS6IU.js} +2 -2
- package/dist/cdn/{PHNMARPA.js → L5SEXM73.js} +2 -2
- package/dist/cdn/{BQBYL3N2.js → LE3BERPI.js} +2 -2
- package/dist/cdn/{7VC5UHPQ.js → LH3D2GKS.js} +1 -1
- package/dist/cdn/{QBNYXUPS.js → LNPRAH5D.js} +2 -2
- package/dist/cdn/{IVBE77HX.js → M22LGT54.js} +2 -2
- package/dist/cdn/{X4Q7VKUW.js → M7NOPC4L.js} +2 -2
- package/dist/cdn/MGKSVOOU.js +4 -0
- package/dist/cdn/{SITXDT62.js → MHXTRGQE.js} +2 -2
- package/dist/cdn/{XCQX4QQO.js → MKNUPWSR.js} +2 -2
- package/dist/cdn/{QIUAWWNX.js → ML3GI3LY.js} +2 -2
- package/dist/cdn/{A3QPVFLY.js → MTEFTSUR.js} +2 -2
- package/dist/cdn/N2EBAIZA.js +4 -0
- package/dist/cdn/{7W7HNSO3.js → N5ZSVQNE.js} +2 -2
- package/dist/cdn/{4AGUUEY7.js → NB4IFGPC.js} +2 -2
- package/dist/cdn/{LK3ZULRA.js → NBIS6UXR.js} +2 -2
- package/dist/cdn/{SV54UJL3.js → NGBVKLRQ.js} +2 -2
- package/dist/cdn/{KKIJGIOW.js → NKZLCXPO.js} +2 -2
- package/dist/cdn/{YOBFS4DR.js → NSWNB22O.js} +2 -2
- package/dist/cdn/{OQBQR4GN.js → NXOOVNCR.js} +2 -2
- package/dist/cdn/{OY7W5YYW.js → OCDA44TP.js} +2 -2
- package/dist/cdn/{WNSVRHPU.js → ODC2XNQX.js} +2 -2
- package/dist/cdn/{UCLJHOYI.js → OII65FLB.js} +2 -2
- package/dist/cdn/{UD5DHBID.js → OIMAZMSL.js} +2 -2
- package/dist/cdn/{GAQCRFPS.js → OJUZB35W.js} +1 -1
- package/dist/cdn/{UI2CLFCA.js → ORFL4XTM.js} +2 -2
- package/dist/cdn/{AJ7NTAAO.js → OS253VZO.js} +2 -2
- package/dist/cdn/{ETN5GBTR.js → OSVYRQYR.js} +2 -2
- package/dist/cdn/{QCS2A5JD.js → OX36PHC5.js} +2 -2
- package/dist/cdn/{THAW5FU6.js → P3FKOD5N.js} +2 -2
- package/dist/cdn/{W6RPLGJV.js → P5BIHUHS.js} +2 -2
- package/dist/cdn/{ZZW4DMYZ.js → P7VG7YYD.js} +1 -1
- package/dist/cdn/{UOVOBY2X.js → PGHOHWP5.js} +2 -2
- package/dist/cdn/{LLOOLSBQ.js → PHY23JIN.js} +2 -2
- package/dist/cdn/{RXASOFR3.js → PIYWJG3S.js} +2 -2
- package/dist/cdn/{NDL7FEYI.js → PLMOPHUD.js} +2 -2
- package/dist/cdn/{VGPYB7SC.js → PXDQQOJT.js} +2 -2
- package/dist/cdn/{U2PEZXCE.js → PXSDUELU.js} +2 -2
- package/dist/cdn/{GZFPTE4C.js → PYO4BPCU.js} +2 -2
- package/dist/cdn/{ZIUZ6CNX.js → Q5QOYEXH.js} +1 -1
- package/dist/cdn/{HDFIEBOY.js → QCRE3DFH.js} +2 -2
- package/dist/cdn/{3SMSV7UM.js → QJJUIDXT.js} +2 -2
- package/dist/cdn/QLNYATU6.js +4 -0
- package/dist/cdn/{3IFWU7LL.js → QNAGU4JT.js} +2 -2
- package/dist/cdn/{UYLRDGGG.js → QTB3K5RF.js} +1 -1
- package/dist/cdn/{ZSLNOAER.js → QVSF6LVO.js} +2 -2
- package/dist/cdn/{OA6RKTMT.js → QY3DCJBW.js} +1 -1
- package/dist/cdn/{EKMAQTDI.js → RF2GZQBP.js} +2 -2
- package/dist/cdn/{LCBBKN2D.js → RU43A6Z2.js} +2 -2
- package/dist/cdn/{CJRRTYNK.js → RY7PWV56.js} +2 -2
- package/dist/cdn/{CUMDUWFV.js → SH45OG27.js} +2 -2
- package/dist/cdn/{YLQIMT46.js → SPGULS5J.js} +2 -2
- package/dist/cdn/{OZVLYLZE.js → T4L5EGZ3.js} +2 -2
- package/dist/cdn/{3GCSCDVN.js → T66G6T3M.js} +2 -2
- package/dist/cdn/{T3FMPT5X.js → TJQKRWL5.js} +2 -2
- package/dist/cdn/{2U544GXC.js → U4LFUA7H.js} +2 -2
- package/dist/cdn/{QA2XCRHL.js → U76BGC5L.js} +2 -2
- package/dist/cdn/{YXWTG3QK.js → UBL4ASS3.js} +2 -2
- package/dist/cdn/{XLLJNH5L.js → UCEIVMFK.js} +2 -2
- package/dist/cdn/{MDZMV4BF.js → UKFSMX2Z.js} +2 -2
- package/dist/cdn/{UMPYOKZC.js → UP6DQ7D2.js} +2 -2
- package/dist/cdn/{YKPKAFAE.js → UQ54R7IO.js} +2 -2
- package/dist/cdn/{5DWI4B7H.js → UYWVGJ7N.js} +2 -2
- package/dist/cdn/{6GECH5DY.js → VEHFBMAW.js} +2 -2
- package/dist/cdn/{ZCHUX66X.js → VL74YRA6.js} +2 -2
- package/dist/cdn/{5BSRPD5I.js → VRMZ3LWX.js} +2 -2
- package/dist/cdn/{E7GCTDV4.js → VZYTA244.js} +2 -2
- package/dist/cdn/{ZB5AFSTQ.js → W32WOR7O.js} +2 -2
- package/dist/cdn/{FPF7YSW7.js → WH7LTP4E.js} +2 -2
- package/dist/cdn/{SVC32YBI.js → WMJQMUZ2.js} +2 -2
- package/dist/cdn/{MH7X24UV.js → WNXSIGHQ.js} +2 -2
- package/dist/cdn/{3DFKSASW.js → WPBN6EQO.js} +2 -2
- package/dist/cdn/{KZFF5ARP.js → WWIJWOTL.js} +2 -2
- package/dist/cdn/{NT2YTCJB.js → X4V2I2UN.js} +2 -2
- package/dist/cdn/{CDV3LPKQ.js → X5M6F4RY.js} +2 -2
- package/dist/cdn/{MB653WLY.js → X7BBKKUS.js} +2 -2
- package/dist/cdn/{MQ3Z3VOL.js → XO2QQ7ZD.js} +2 -2
- package/dist/cdn/{SHKCRHBK.js → XQZVOJCY.js} +2 -2
- package/dist/cdn/{PYIZO24N.js → XTVC3SKV.js} +18 -18
- package/dist/cdn/{D7WLXNMN.js → Z7YAQKV4.js} +2 -2
- package/dist/cdn/ZOJAWFEL.js +4 -0
- package/dist/cdn/{LZ2HU4VU.js → ZRNOQOVE.js} +2 -2
- package/dist/cdn/{UCDH7JF3.js → ZWP2J7OP.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 +1760 -1703
- 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 +28 -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 +1936 -1924
- 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/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/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,6 +1,6 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
3
|
-
v5.0.0-next.
|
|
3
|
+
v5.0.0-next.23 */
|
|
4
4
|
const o = {
|
|
5
5
|
MonoSelection: "monoSelection",
|
|
6
6
|
MultiSelection: "multiSelection",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { a as e } from "./series-types.js";
|
|
2
2
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
4
|
-
v5.0.0-next.
|
|
4
|
+
v5.0.0-next.23 */
|
|
5
5
|
const i = {
|
|
6
6
|
actionBar: "action-bar",
|
|
7
7
|
customActionTop: "custom-action-top",
|
|
@@ -16,7 +16,7 @@ import { A as h } from "./interfaces2.js";
|
|
|
16
16
|
import "@arcgis/toolkit/dom";
|
|
17
17
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
18
18
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
19
|
-
v5.0.0-next.
|
|
19
|
+
v5.0.0-next.23 */
|
|
20
20
|
const i = [150, 150, 150, 255], P = {
|
|
21
21
|
aria: {
|
|
22
22
|
defaultChartItemRole: "figure"
|
|
@@ -17,10 +17,10 @@ import "./model-with-multi-axes.js";
|
|
|
17
17
|
import { M as f, a as S } from "./model-with-baseline-stacking.js";
|
|
18
18
|
import { s as d, a as c, b as g, c as y, d as u } from "./baseline-stacking.js";
|
|
19
19
|
import { S as p, s as b, a as I } from "./serial-chart-model.js";
|
|
20
|
-
import {
|
|
20
|
+
import { c as o, d as L } from "./data2.js";
|
|
21
21
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
22
22
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
23
|
-
v5.0.0-next.
|
|
23
|
+
v5.0.0-next.23 */
|
|
24
24
|
class k extends p {
|
|
25
25
|
constructor() {
|
|
26
26
|
super(...arguments), this._chartType = l.LineSeries;
|
|
@@ -3,7 +3,7 @@ import { s as a } from "./serial-chart-model.js";
|
|
|
3
3
|
import { g as n, a as o, e as g, b as h, f as c, s as S, h as l, c as f, i as d, d as m, j as k, k as u, t as C, u as M, l as _, m as i, n as y, o as L, p as A, q as p, r as v } from "./baseline-stacking.js";
|
|
4
4
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
5
5
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
6
|
-
v5.0.0-next.
|
|
6
|
+
v5.0.0-next.23 */
|
|
7
7
|
class w extends s {
|
|
8
8
|
/**
|
|
9
9
|
* Gets the line style of the series based on the series index. If the index is out of bounds, it will return `undefined`.
|
|
@@ -15,7 +15,7 @@ import "./runtime.js";
|
|
|
15
15
|
import "@arcgis/toolkit/dom";
|
|
16
16
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
17
17
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
18
|
-
v5.0.0-next.
|
|
18
|
+
v5.0.0-next.23 */
|
|
19
19
|
const b = (t) => t.colorMatch ?? !0, c = (t, e) => {
|
|
20
20
|
e.colorMatch = t;
|
|
21
21
|
};
|
|
@@ -2,7 +2,7 @@ import { fetchT9nStringsBundle as _, getElementLocale as C } from "@arcgis/toolk
|
|
|
2
2
|
import { cloneDeep as X } from "lodash-es";
|
|
3
3
|
import { W as p, o as v } from "./series-types.js";
|
|
4
4
|
import "d3-array";
|
|
5
|
-
import { ac as x, b5 as g, aa as f,
|
|
5
|
+
import { ac as x, b5 as g, aa as f, cr as N, p as R, g as E, ba as k, ak as z, ab as W, ad as H, j as Y, a8 as y } 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";
|
|
@@ -16,12 +16,12 @@ import "@arcgis/core/intl.js";
|
|
|
16
16
|
import { R as u } from "./rest-js-object-literals.js";
|
|
17
17
|
import { c as Z, b as j } from "./index4.js";
|
|
18
18
|
import { G as c } from "./common.js";
|
|
19
|
-
import { g as b,
|
|
20
|
-
import { getAssetPath as
|
|
21
|
-
import { c as
|
|
19
|
+
import { g as b, K as A, L as $, M as q, N as K, O as Q, P as J, Q as tt, R as it, S as et, T as st, U as rt, V as ot, W as nt, X as at, Y as gt, Z as ct, _ as lt, $ as ut, a0 as ht, a1 as ft, a2 as dt, a3 as mt, j as xt, a4 as yt, a5 as bt, a as T, a6 as L, a7 as F, a8 as V, a9 as h, s as m, aa as St, ab as w, ac as G, ad as pt, ae as _t, af as Ct, ag as vt, d as S, ah as r, ai as At, aj as Tt, ak as Lt, al as Ft, am as Vt, an as wt, ao as Gt, ap as Ut, aq as Ot, ar as Bt, as as Dt, at as It, au as Mt, av as Xt, aw as Nt, ax as Rt, ay as Et } from "./data2.js";
|
|
20
|
+
import { getAssetPath as kt } from "@esri/calcite-components";
|
|
21
|
+
import { c as zt } from "./index.js";
|
|
22
22
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
23
23
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
24
|
-
v5.0.0-next.
|
|
24
|
+
v5.0.0-next.23 */
|
|
25
25
|
const Wt = (e) => e.title?.content, Ht = (e, t) => {
|
|
26
26
|
if (e) {
|
|
27
27
|
const i = b(t);
|
|
@@ -128,11 +128,11 @@ class U extends EventTarget {
|
|
|
128
128
|
* @returns {string}
|
|
129
129
|
*/
|
|
130
130
|
get subtitleText() {
|
|
131
|
-
return
|
|
131
|
+
return K(this._config);
|
|
132
132
|
}
|
|
133
133
|
set subtitleText(t) {
|
|
134
134
|
this.guardSetterFromAsyncOverwrite(() => {
|
|
135
|
-
|
|
135
|
+
Q(t, this._config), this.emitConfigUpdate("subtitleText");
|
|
136
136
|
});
|
|
137
137
|
}
|
|
138
138
|
/**
|
|
@@ -143,7 +143,7 @@ class U extends EventTarget {
|
|
|
143
143
|
}
|
|
144
144
|
set descriptionText(t) {
|
|
145
145
|
this.guardSetterFromAsyncOverwrite(() => {
|
|
146
|
-
|
|
146
|
+
J(t, this._config), this.emitConfigUpdate("descriptionText");
|
|
147
147
|
});
|
|
148
148
|
}
|
|
149
149
|
/**
|
|
@@ -265,7 +265,7 @@ class U extends EventTarget {
|
|
|
265
265
|
*/
|
|
266
266
|
setSeriesVisibility(t) {
|
|
267
267
|
this.guardSetterFromAsyncOverwrite(() => {
|
|
268
|
-
|
|
268
|
+
N({ detail: t }, this._config), this.emitConfigUpdate("setSeriesVisibility");
|
|
269
269
|
});
|
|
270
270
|
}
|
|
271
271
|
/**
|
|
@@ -298,7 +298,7 @@ class U extends EventTarget {
|
|
|
298
298
|
* The chart sub type of the series.
|
|
299
299
|
*/
|
|
300
300
|
get chartSubType() {
|
|
301
|
-
return
|
|
301
|
+
return R(this._config.series);
|
|
302
302
|
}
|
|
303
303
|
/**
|
|
304
304
|
* Gets the data tooltip value format for a series.
|
|
@@ -391,15 +391,15 @@ class U extends EventTarget {
|
|
|
391
391
|
"messages."
|
|
392
392
|
);
|
|
393
393
|
let n = i;
|
|
394
|
-
if (!n && s && (n = await
|
|
395
|
-
const l = await
|
|
394
|
+
if (!n && s && (n = await E(s)), n) {
|
|
395
|
+
const l = await k(n, !0), { objectIdField: M } = n;
|
|
396
396
|
this.layerInfo = {
|
|
397
397
|
layer: n,
|
|
398
398
|
layerFieldsInfo: l,
|
|
399
399
|
objectIdField: M
|
|
400
400
|
};
|
|
401
401
|
}
|
|
402
|
-
this._config = a !== void 0 ? await
|
|
402
|
+
this._config = a !== void 0 ? await zt(a) : this.generateDefaultConfig(), this._config.legend !== void 0 && this._config.legend?.title === void 0 && (this._config.legend.title = z().title), s && (this._config.iLayer = s);
|
|
403
403
|
}
|
|
404
404
|
/**
|
|
405
405
|
* Guards a setter from being called while an async config update is in progress so that the value being set is not overwritten by the async config update.
|
|
@@ -491,12 +491,12 @@ class O extends U {
|
|
|
491
491
|
});
|
|
492
492
|
}
|
|
493
493
|
}
|
|
494
|
-
const
|
|
494
|
+
const Kt = (e) => {
|
|
495
495
|
for (const t of e.axes ?? [])
|
|
496
496
|
for (const i of t?.guides ?? [])
|
|
497
497
|
if (i.label !== void 0)
|
|
498
498
|
return i.label;
|
|
499
|
-
},
|
|
499
|
+
}, Qt = (e, t) => {
|
|
500
500
|
for (const i of t.axes ?? [])
|
|
501
501
|
for (const s of i?.guides ?? []) {
|
|
502
502
|
const a = s.label?.text ?? "";
|
|
@@ -511,7 +511,7 @@ function o(e) {
|
|
|
511
511
|
orientation: e.orientation ?? c.Y
|
|
512
512
|
};
|
|
513
513
|
}
|
|
514
|
-
const
|
|
514
|
+
const Jt = (e) => {
|
|
515
515
|
const { axis: t, index: i } = o(e);
|
|
516
516
|
return t?.guides?.[i]?.visible ?? !0;
|
|
517
517
|
}, ti = (e) => {
|
|
@@ -584,11 +584,11 @@ class d extends U {
|
|
|
584
584
|
* @returns {WebChartTextSymbol | undefined}
|
|
585
585
|
*/
|
|
586
586
|
get guideLabelsSymbol() {
|
|
587
|
-
return
|
|
587
|
+
return Kt(this._config);
|
|
588
588
|
}
|
|
589
589
|
set guideLabelsSymbol(t) {
|
|
590
590
|
this.guardSetterFromAsyncOverwrite(() => {
|
|
591
|
-
|
|
591
|
+
Qt(t, this._config), this.emitConfigUpdate("guideLabelsSymbol");
|
|
592
592
|
});
|
|
593
593
|
}
|
|
594
594
|
/**
|
|
@@ -598,7 +598,7 @@ class d extends U {
|
|
|
598
598
|
* @returns {boolean}
|
|
599
599
|
*/
|
|
600
600
|
getGuideVisibility(t, i) {
|
|
601
|
-
return
|
|
601
|
+
return Jt({ config: this._config, index: t, orientation: i });
|
|
602
602
|
}
|
|
603
603
|
/**
|
|
604
604
|
* Sets whether a guide is visible
|
|
@@ -1156,7 +1156,7 @@ class wi extends O {
|
|
|
1156
1156
|
async getDefaultXAxisTitleText() {
|
|
1157
1157
|
return (await _(
|
|
1158
1158
|
C(document.documentElement).t9nLocale,
|
|
1159
|
-
|
|
1159
|
+
kt("./assets/common/t9n"),
|
|
1160
1160
|
"messages."
|
|
1161
1161
|
)).utilsStrings.statistics.count;
|
|
1162
1162
|
}
|
|
@@ -1302,7 +1302,7 @@ class wi extends O {
|
|
|
1302
1302
|
config: this._config,
|
|
1303
1303
|
axisIndex: i,
|
|
1304
1304
|
func: (s) => {
|
|
1305
|
-
|
|
1305
|
+
Nt({
|
|
1306
1306
|
config: this._config,
|
|
1307
1307
|
tickSpacing: t,
|
|
1308
1308
|
axisIndex: s
|
|
@@ -1324,7 +1324,7 @@ class wi extends O {
|
|
|
1324
1324
|
return r({
|
|
1325
1325
|
config: this._config,
|
|
1326
1326
|
axisIndex: t,
|
|
1327
|
-
func: (i) =>
|
|
1327
|
+
func: (i) => Rt(this._config, i)
|
|
1328
1328
|
}) ?? !1;
|
|
1329
1329
|
}
|
|
1330
1330
|
/**
|
|
@@ -1343,7 +1343,7 @@ class wi extends O {
|
|
|
1343
1343
|
config: this._config,
|
|
1344
1344
|
axisIndex: i,
|
|
1345
1345
|
func: (s) => {
|
|
1346
|
-
|
|
1346
|
+
Et({
|
|
1347
1347
|
config: this._config,
|
|
1348
1348
|
integerOnlyValues: t,
|
|
1349
1349
|
axisIndex: s
|
|
@@ -2,7 +2,7 @@ import "@arcgis/toolkit/intl";
|
|
|
2
2
|
import "lodash-es";
|
|
3
3
|
import "./series-types.js";
|
|
4
4
|
import "d3-array";
|
|
5
|
-
import {
|
|
5
|
+
import { cc as o, cu as i } 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";
|
|
@@ -15,7 +15,7 @@ import "@arcgis/toolkit/dom";
|
|
|
15
15
|
import { C as r } from "./model-with-multi-axes.js";
|
|
16
16
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
17
17
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
18
|
-
v5.0.0-next.
|
|
18
|
+
v5.0.0-next.23 */
|
|
19
19
|
class M extends r {
|
|
20
20
|
/**
|
|
21
21
|
* Whether the chart is rotated.
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import "@arcgis/toolkit/intl";
|
|
2
2
|
import { memoize as j, isEmpty as W, isNull as E, cloneDeep as R } from "lodash-es";
|
|
3
|
-
import { a as
|
|
3
|
+
import { a as m, g as b, t as F, W as $ } from "./series-types.js";
|
|
4
4
|
import { R as G } from "./rest-js-object-literals.js";
|
|
5
|
-
import { d as A, ak as U, aX as z,
|
|
5
|
+
import { d as A, ak as U, aX as z, ci as B, x as I, aG as _, a as P } from "./interfaces.js";
|
|
6
6
|
import "d3-array";
|
|
7
7
|
import "@arcgis/core/geometry/support/jsonUtils.js";
|
|
8
8
|
import "@arcgis/core/rest/support/AttributeBinsQuery.js";
|
|
@@ -14,35 +14,36 @@ import "@arcgis/core/request.js";
|
|
|
14
14
|
import "./runtime.js";
|
|
15
15
|
import "@arcgis/toolkit/dom";
|
|
16
16
|
import { substitute as h } from "@arcgis/core/intl.js";
|
|
17
|
-
import { a as u, P as
|
|
18
|
-
import { b as
|
|
17
|
+
import { a as u, P as g } from "./common.js";
|
|
18
|
+
import { b as L, u as x, g as k, a as M } from "./data2.js";
|
|
19
|
+
import { g as X } from "./data.js";
|
|
19
20
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
20
21
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
21
|
-
v5.0.0-next.
|
|
22
|
+
v5.0.0-next.23 */
|
|
22
23
|
function N(r) {
|
|
23
|
-
const { config: t, layerInfo: e, mode: i, commonStrings: s } = r, a = e !== void 0 ?
|
|
24
|
-
return a ===
|
|
24
|
+
const { config: t, layerInfo: e, mode: i, commonStrings: s } = r, a = e !== void 0 ? O({ config: t, layerInfo: e, commonStrings: s, mode: i }) : "", l = k(t), c = I(t);
|
|
25
|
+
return a === l || c;
|
|
25
26
|
}
|
|
26
27
|
function q(r) {
|
|
27
|
-
const { config: t, layerInfo: e, mode: i, commonStrings: s } = r, a = e !== void 0 ?
|
|
28
|
+
const { config: t, layerInfo: e, mode: i, commonStrings: s } = r, a = e !== void 0 ? L({
|
|
28
29
|
config: t,
|
|
29
30
|
layerInfo: e,
|
|
30
31
|
commonStrings: s,
|
|
31
|
-
numericFields:
|
|
32
|
+
numericFields: f(t),
|
|
32
33
|
aggregationType: T(t, i)
|
|
33
|
-
}) : "",
|
|
34
|
-
return a ===
|
|
34
|
+
}) : "", l = M(1, t), c = I(t);
|
|
35
|
+
return a === l || c;
|
|
35
36
|
}
|
|
36
37
|
const v = (r) => r.series?.[0]?.x ?? "";
|
|
37
38
|
function H(r, t) {
|
|
38
39
|
const e = r.series?.[0];
|
|
39
|
-
return [`${t === u.Category ? e.y : P} ${
|
|
40
|
+
return [`${t === u.Category ? e.y : P} ${b.Descending}`];
|
|
40
41
|
}
|
|
41
42
|
const V = (r, t) => {
|
|
42
|
-
let e =
|
|
43
|
-
const i = r.orderOptions?.data?.orderType ?? H(r, t), s = r.orderOptions?.data?.orderBy ??
|
|
44
|
-
return i ===
|
|
45
|
-
},
|
|
43
|
+
let e = g.valueDesc;
|
|
44
|
+
const i = r.orderOptions?.data?.orderType ?? H(r, t), s = r.orderOptions?.data?.orderBy ?? b.Descending;
|
|
45
|
+
return i === F.Category && Array.isArray(s) ? e = g.customSort : i === F.Category ? s === b.Ascending ? e = g.labelAsc : e = g.labelDesc : s === b.Ascending ? e = g.valueAsc : e = g.valueDesc, e;
|
|
46
|
+
}, f = j(
|
|
46
47
|
// without memoizing, the worst case efficiency is O(series.length), best case is O(1)
|
|
47
48
|
// with memoizing, the worst case efficiency for repeated calls becomes O(1)
|
|
48
49
|
(r) => {
|
|
@@ -54,19 +55,19 @@ const V = (r, t) => {
|
|
|
54
55
|
// using series array address as key, since a change to the numeric fields will always rebuild a fresh series array
|
|
55
56
|
(r) => r.series
|
|
56
57
|
), T = (r, t) => {
|
|
57
|
-
const e =
|
|
58
|
+
const e = f(r);
|
|
58
59
|
let i;
|
|
59
|
-
return t === u.Fields && e.length === 0 ? i =
|
|
60
|
+
return t === u.Fields && e.length === 0 ? i = m.Sum : i = r.series?.[0]?.query?.outStatistics?.[0]?.statisticType ?? m.NoAggregation, i;
|
|
60
61
|
};
|
|
61
62
|
function w(r) {
|
|
62
|
-
const { config: t, layerInfo: e, mode: i, commonStrings: s } = r, { objectIdField: a } = e ?? {},
|
|
63
|
-
...
|
|
64
|
-
x: i === u.Category ?
|
|
63
|
+
const { config: t, layerInfo: e, mode: i, commonStrings: s } = r, { objectIdField: a } = e ?? {}, l = _(s, a), c = v(t), d = t.series[0]?.dataLabels, o = {
|
|
64
|
+
...l,
|
|
65
|
+
x: i === u.Category ? c : A,
|
|
65
66
|
slices: t.series?.[0]?.slices,
|
|
66
67
|
dataLabels: {
|
|
67
|
-
...
|
|
68
|
-
type:
|
|
69
|
-
content: { ...
|
|
68
|
+
...l.dataLabels,
|
|
69
|
+
type: l.dataLabels?.type ?? $.Text,
|
|
70
|
+
content: { ...l.dataLabels?.content, ...d?.content, type: G.TS },
|
|
70
71
|
visible: d?.visible ?? !1
|
|
71
72
|
},
|
|
72
73
|
innerRadiusSize: t.series?.[0]?.innerRadius,
|
|
@@ -77,195 +78,196 @@ function w(r) {
|
|
|
77
78
|
displayCategoryOnDataLabel: t.series?.[0]?.displayCategoryOnDataLabel,
|
|
78
79
|
displayNumericValueOnDataLabel: t.series?.[0]?.displayNumericValueOnDataLabel,
|
|
79
80
|
displayPercentageOnDataLabel: t.series?.[0]?.displayPercentageOnDataLabel
|
|
80
|
-
},
|
|
81
|
-
if (
|
|
82
|
-
const
|
|
83
|
-
o.y = i === u.Category ?
|
|
81
|
+
}, n = T(t, i);
|
|
82
|
+
if (n !== m.NoAggregation && a !== void 0) {
|
|
83
|
+
const y = `${n}_${a}_0`.toUpperCase();
|
|
84
|
+
o.y = i === u.Category ? y : P, o.query = {
|
|
84
85
|
outStatistics: i === u.Category ? [
|
|
85
86
|
{
|
|
86
|
-
statisticType:
|
|
87
|
+
statisticType: n,
|
|
87
88
|
onStatisticField: a,
|
|
88
|
-
outStatisticFieldName:
|
|
89
|
+
outStatisticFieldName: y
|
|
89
90
|
}
|
|
90
91
|
] : []
|
|
91
92
|
};
|
|
92
93
|
}
|
|
93
|
-
return i === u.Category && o.query !== void 0 ? o.query.groupByFieldsForStatistics = [
|
|
94
|
+
return i === u.Category && o.query !== void 0 ? o.query.groupByFieldsForStatistics = [c] : delete o.query?.groupByFieldsForStatistics, R(o);
|
|
94
95
|
}
|
|
95
|
-
function
|
|
96
|
-
const { config: t, layerInfo: e, mode: i, commonStrings: s } = r, { layerFieldsInfo: a, objectIdField:
|
|
97
|
-
let
|
|
98
|
-
return i === u.Fields ? D = d.length === 0 : D =
|
|
99
|
-
aggregationFields:
|
|
100
|
-
category:
|
|
101
|
-
}) : o ===
|
|
102
|
-
aggregationType:
|
|
103
|
-
category:
|
|
104
|
-
}) : d.length > 0 && (
|
|
105
|
-
aggregationType:
|
|
106
|
-
aggregationFields:
|
|
107
|
-
}) :
|
|
108
|
-
aggregationType:
|
|
109
|
-
aggregationFields:
|
|
110
|
-
category:
|
|
111
|
-
})),
|
|
96
|
+
function O(r) {
|
|
97
|
+
const { config: t, layerInfo: e, mode: i, commonStrings: s } = r, { layerFieldsInfo: a, objectIdField: l } = e, c = v(t), d = f(t), o = T(t, i), n = d.length === 0 || d.includes(l), y = z(o, s), p = n ? "" : d.map((Y) => B(a ?? [], Y)).join(", "), S = B(a ?? [], c);
|
|
98
|
+
let C = "", D;
|
|
99
|
+
return i === u.Fields ? D = d.length === 0 : D = c === "", D ? C = s.utilsStrings.chartType.pieChart : o === m.NoAggregation ? C = h(s.titleLabels.aggrFieldsByCategory, {
|
|
100
|
+
aggregationFields: n ? l : p,
|
|
101
|
+
category: S
|
|
102
|
+
}) : o === m.Count ? C = h(s.titleLabels.aggrTypeCategory, {
|
|
103
|
+
aggregationType: y,
|
|
104
|
+
category: S
|
|
105
|
+
}) : d.length > 0 && (S === A || W(S) || E(S) ? C = h(s.titleLabels.aggrTypeOfAggrFields, {
|
|
106
|
+
aggregationType: y,
|
|
107
|
+
aggregationFields: p
|
|
108
|
+
}) : C = h(s.titleLabels.aggrTypeOfAggrFieldsByCategory, {
|
|
109
|
+
aggregationType: y,
|
|
110
|
+
aggregationFields: p,
|
|
111
|
+
category: S
|
|
112
|
+
})), C;
|
|
112
113
|
}
|
|
113
|
-
const
|
|
114
|
+
const Fe = (r) => {
|
|
114
115
|
const { newSortOrderKind: t, config: e, orderByList: i } = r;
|
|
115
|
-
e.orderOptions ??= {}, t ===
|
|
116
|
-
orderType:
|
|
116
|
+
e.orderOptions ??= {}, t === g.customSort && i !== void 0 ? e.orderOptions.data = {
|
|
117
|
+
orderType: F.Category,
|
|
117
118
|
orderBy: [...i]
|
|
118
119
|
} : e.orderOptions.data = {
|
|
119
|
-
orderType: t ===
|
|
120
|
-
orderBy: t ===
|
|
120
|
+
orderType: t === g.labelAsc || t === g.labelDesc ? F.Category : F.YValue,
|
|
121
|
+
orderBy: t === g.labelAsc || t === g.valueAsc ? b.Ascending : b.Descending
|
|
121
122
|
};
|
|
122
123
|
}, Te = (r) => {
|
|
123
|
-
const { newCategory: t, config: e, layerInfo: i, mode: s, commonStrings: a } = r,
|
|
124
|
+
const { newCategory: t, config: e, layerInfo: i, mode: s, commonStrings: a } = r, l = e.series?.length ?? 0, c = N({ config: e, layerInfo: i, commonStrings: a, mode: s }), d = q({ config: e, layerInfo: i, commonStrings: a, mode: s });
|
|
124
125
|
if (e.series.forEach((o) => {
|
|
125
126
|
o.x = s === u.Category ? t : A, o.query !== void 0 && t !== A ? o.query.groupByFieldsForStatistics = [t] : delete o.query?.groupByFieldsForStatistics;
|
|
126
|
-
}),
|
|
127
|
+
}), l === 0) {
|
|
127
128
|
const o = [w({ config: e, layerInfo: i, mode: s, commonStrings: a })];
|
|
128
129
|
e.series = o;
|
|
129
130
|
}
|
|
130
131
|
if (i !== void 0) {
|
|
131
132
|
if (d) {
|
|
132
|
-
const
|
|
133
|
+
const n = L({
|
|
133
134
|
config: e,
|
|
134
135
|
layerInfo: i,
|
|
135
|
-
numericFields:
|
|
136
|
+
numericFields: f(e),
|
|
136
137
|
aggregationType: T(e, s),
|
|
137
138
|
commonStrings: a
|
|
138
139
|
});
|
|
139
|
-
x(e, 1,
|
|
140
|
+
x(e, 1, n);
|
|
140
141
|
}
|
|
141
|
-
e.title &&
|
|
142
|
-
const o = s === u.Fields ?
|
|
142
|
+
e.title && c && (e.title.content.text = O({ config: e, layerInfo: i, commonStrings: a, mode: s }));
|
|
143
|
+
const o = s === u.Fields ? f(e).filter((n) => n !== i.objectIdField) : f(e);
|
|
143
144
|
J({ newNumericFields: o, config: e, layerInfo: i, mode: s, commonStrings: a });
|
|
144
145
|
}
|
|
145
146
|
};
|
|
146
147
|
function K(r) {
|
|
147
|
-
const { numericFields: t, aggregationType: e, config: i, layerInfo: s, mode: a, commonStrings:
|
|
148
|
+
const { numericFields: t, aggregationType: e, config: i, layerInfo: s, mode: a, commonStrings: l } = r, { layerFieldsInfo: c } = s, d = [], o = w({
|
|
148
149
|
config: i,
|
|
149
150
|
layerInfo: s,
|
|
150
151
|
mode: a,
|
|
151
|
-
commonStrings:
|
|
152
|
-
}),
|
|
153
|
-
...
|
|
152
|
+
commonStrings: l
|
|
153
|
+
}), n = {
|
|
154
|
+
...o,
|
|
154
155
|
query: {
|
|
155
|
-
...
|
|
156
|
+
...o.query
|
|
156
157
|
}
|
|
157
158
|
};
|
|
158
|
-
t.length <= 1 ?
|
|
159
|
-
const
|
|
159
|
+
t.length <= 1 ? n.query.where = o.query?.where : delete n.query.where;
|
|
160
|
+
const y = X({
|
|
160
161
|
config: i,
|
|
161
162
|
xAxisField: v(i),
|
|
162
163
|
numericFields: t,
|
|
163
164
|
aggregationType: e,
|
|
164
165
|
mode: a,
|
|
165
|
-
layer: s.layer
|
|
166
|
+
layer: s.layer,
|
|
167
|
+
fieldList: c
|
|
166
168
|
}).name;
|
|
167
|
-
if (e !==
|
|
169
|
+
if (e !== m.NoAggregation)
|
|
168
170
|
if (a === u.Category) {
|
|
169
171
|
if (t.length > 0) {
|
|
170
|
-
const
|
|
171
|
-
|
|
172
|
+
const p = t[0];
|
|
173
|
+
n.query.outStatistics = [
|
|
172
174
|
{
|
|
173
|
-
...
|
|
174
|
-
onStatisticField:
|
|
175
|
-
outStatisticFieldName:
|
|
175
|
+
...o.query?.outStatistics?.[0] ?? {},
|
|
176
|
+
onStatisticField: p,
|
|
177
|
+
outStatisticFieldName: y,
|
|
176
178
|
statisticType: e
|
|
177
179
|
}
|
|
178
180
|
];
|
|
179
181
|
}
|
|
180
182
|
} else
|
|
181
|
-
for (const
|
|
182
|
-
|
|
183
|
-
onStatisticField:
|
|
184
|
-
outStatisticFieldName:
|
|
183
|
+
for (const p of t)
|
|
184
|
+
n.query.outStatistics?.push({
|
|
185
|
+
onStatisticField: p,
|
|
186
|
+
outStatisticFieldName: p,
|
|
185
187
|
statisticType: e
|
|
186
188
|
});
|
|
187
189
|
else
|
|
188
|
-
|
|
189
|
-
|
|
190
|
+
n.query = {};
|
|
191
|
+
n.y = y, d.push(n), i.series = d;
|
|
190
192
|
}
|
|
191
|
-
const
|
|
192
|
-
const { newAggregationType: t, config: e, layerInfo: i, mode: s, commonStrings: a } = r,
|
|
193
|
+
const Se = (r) => {
|
|
194
|
+
const { newAggregationType: t, config: e, layerInfo: i, mode: s, commonStrings: a } = r, l = f(e), c = N({ config: e, layerInfo: i, commonStrings: a, mode: s }), d = q({ config: e, layerInfo: i, commonStrings: a, mode: s });
|
|
193
195
|
if (K({
|
|
194
196
|
config: e,
|
|
195
197
|
layerInfo: i,
|
|
196
|
-
numericFields:
|
|
198
|
+
numericFields: l,
|
|
197
199
|
aggregationType: t,
|
|
198
200
|
commonStrings: a,
|
|
199
201
|
mode: s
|
|
200
202
|
}), d) {
|
|
201
|
-
const
|
|
203
|
+
const p = L({
|
|
202
204
|
config: e,
|
|
203
205
|
layerInfo: i,
|
|
204
206
|
commonStrings: a,
|
|
205
|
-
numericFields:
|
|
207
|
+
numericFields: f(e),
|
|
206
208
|
aggregationType: T(e, s)
|
|
207
209
|
});
|
|
208
|
-
x(e, 1,
|
|
210
|
+
x(e, 1, p);
|
|
209
211
|
}
|
|
210
|
-
e.title &&
|
|
211
|
-
const o = e.series?.[0]?.displayCategoryOnDataLabel,
|
|
212
|
+
e.title && c && (e.title.content.text = O({ config: e, layerInfo: i, commonStrings: a, mode: s }));
|
|
213
|
+
const o = e.series?.[0]?.displayCategoryOnDataLabel, n = e.series?.[0]?.displayNumericValueOnDataLabel, y = e.series?.[0]?.displayPercentageOnDataLabel;
|
|
212
214
|
e.legend = {
|
|
213
215
|
...e.legend ?? U(),
|
|
214
|
-
displayNumericValue:
|
|
215
|
-
displayPercentage:
|
|
216
|
+
displayNumericValue: n,
|
|
217
|
+
displayPercentage: y,
|
|
216
218
|
displayCategory: o
|
|
217
219
|
};
|
|
218
220
|
}, J = (r) => {
|
|
219
221
|
let { newNumericFields: t } = r;
|
|
220
|
-
const { config: e, layerInfo: i, mode: s, commonStrings: a } = r, { objectIdField:
|
|
221
|
-
let
|
|
222
|
+
const { config: e, layerInfo: i, mode: s, commonStrings: a } = r, { objectIdField: l } = i ?? {};
|
|
223
|
+
let c = T(e, s);
|
|
222
224
|
const d = N({ config: e, layerInfo: i, commonStrings: a, mode: s }), o = q({ config: e, layerInfo: i, commonStrings: a, mode: s });
|
|
223
|
-
if (t = t === "" ? [] : t, t = typeof t == "string" ? [t] : t,
|
|
225
|
+
if (t = t === "" ? [] : t, t = typeof t == "string" ? [t] : t, l !== void 0 && (t.length === 0 && s === u.Category ? (t.push(l), c = m.Count) : c === m.Count && t.length >= 1 && !t.includes(l) && (c = m.Sum)), i !== void 0) {
|
|
224
226
|
if (K({
|
|
225
227
|
config: e,
|
|
226
228
|
layerInfo: i,
|
|
227
229
|
commonStrings: a,
|
|
228
230
|
numericFields: t,
|
|
229
|
-
aggregationType:
|
|
231
|
+
aggregationType: c,
|
|
230
232
|
mode: s
|
|
231
233
|
}), o) {
|
|
232
|
-
const
|
|
234
|
+
const n = L({
|
|
233
235
|
config: e,
|
|
234
236
|
layerInfo: i,
|
|
235
237
|
commonStrings: a,
|
|
236
|
-
numericFields:
|
|
238
|
+
numericFields: f(e),
|
|
237
239
|
aggregationType: T(e, s)
|
|
238
240
|
});
|
|
239
|
-
x(e, 1,
|
|
241
|
+
x(e, 1, n);
|
|
240
242
|
}
|
|
241
|
-
e.title && d && (e.title.content.text =
|
|
243
|
+
e.title && d && (e.title.content.text = O({ config: e, layerInfo: i, commonStrings: a, mode: s }));
|
|
242
244
|
} else
|
|
243
|
-
e.series.forEach((
|
|
244
|
-
delete
|
|
245
|
+
e.series.forEach((n) => {
|
|
246
|
+
delete n.query, n.y = t[0];
|
|
245
247
|
});
|
|
246
|
-
},
|
|
248
|
+
}, Ce = (r, t) => {
|
|
247
249
|
let e = [];
|
|
248
250
|
const i = r.orderOptions?.data?.orderType, s = V(r, t), a = r.orderOptions?.data?.orderBy;
|
|
249
|
-
return s ===
|
|
250
|
-
},
|
|
251
|
+
return s === g.customSort && i === F.Category && Array.isArray(a) && (e = a), e;
|
|
252
|
+
}, be = (r) => {
|
|
251
253
|
const { values: t, config: e, mode: i } = r;
|
|
252
254
|
e.orderOptions ??= {};
|
|
253
255
|
const s = e.orderOptions?.data?.orderType;
|
|
254
|
-
V(e, i) ===
|
|
255
|
-
orderType:
|
|
256
|
+
V(e, i) === g.customSort && s === F.Category && (e.orderOptions.data = {
|
|
257
|
+
orderType: F.Category,
|
|
256
258
|
orderBy: [...t]
|
|
257
259
|
});
|
|
258
260
|
};
|
|
259
261
|
export {
|
|
260
|
-
|
|
262
|
+
f as a,
|
|
261
263
|
T as b,
|
|
262
264
|
J as c,
|
|
263
|
-
|
|
265
|
+
Se as d,
|
|
264
266
|
V as e,
|
|
265
|
-
|
|
267
|
+
Fe as f,
|
|
266
268
|
v as g,
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
269
|
+
Ce as h,
|
|
270
|
+
be as i,
|
|
271
|
+
O as j,
|
|
270
272
|
Te as s
|
|
271
273
|
};
|
|
@@ -2,7 +2,7 @@ import { W as n } from "./series-types.js";
|
|
|
2
2
|
import "@arcgis/toolkit/intl";
|
|
3
3
|
import { cloneDeep as P } from "lodash-es";
|
|
4
4
|
import "d3-array";
|
|
5
|
-
import { ak as c, aE as O, ag as h, a2 as C, p as m,
|
|
5
|
+
import { ak as c, aE as O, ag as h, a2 as C, p as m, cC as o, x as A, aN as I, aG as V } 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";
|
|
@@ -16,12 +16,12 @@ import { C as x } from "./model-with-multi-axes.js";
|
|
|
16
16
|
import { b as a, a as l } from "./common.js";
|
|
17
17
|
import { M as _, a as w, b as U, c as N } from "./model-with-data-labels.js";
|
|
18
18
|
import "@arcgis/core/intl.js";
|
|
19
|
-
import {
|
|
19
|
+
import { d as v, i as M, m as k } from "./data2.js";
|
|
20
20
|
import { g as u, s as G, a as W, c as z, b as B, d as E, e as R, f as K, h as f, i as p, j } from "./pie-chart-data.js";
|
|
21
21
|
import { R as g } from "./rest-js-object-literals.js";
|
|
22
22
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
23
23
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
24
|
-
v5.0.0-next.
|
|
24
|
+
v5.0.0-next.23 */
|
|
25
25
|
const q = (t) => t.legend?.displayNumericValue ?? !1, H = (t, e) => {
|
|
26
26
|
e.series[0]?.type === n.PieSeries && (e.legend === void 0 && (e.legend = c()), e.legend.displayNumericValue = t);
|
|
27
27
|
}, J = (t) => t.legend?.displayPercentage ?? !1, Q = (t, e) => {
|