@arcgis/charts-components 5.0.0-next.114 → 5.0.0-next.116
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/2AT47FOV.js +4 -0
- package/dist/cdn/{RQT2MN42.js → 2FBA5PUG.js} +2 -2
- package/dist/cdn/{GMQUAAO2.js → 2GMN5SDI.js} +2 -2
- package/dist/cdn/{6W4YRK74.js → 2QS5TJQ5.js} +2 -2
- package/dist/cdn/{3QGTKNQ6.js → 2UFPDUIM.js} +2 -2
- package/dist/cdn/{53VJWULL.js → 2VJZAFQ5.js} +2 -2
- package/dist/cdn/{3MUVNXGI.js → 2VTJEBKD.js} +2 -2
- package/dist/cdn/32Z3ILDE.js +4 -0
- package/dist/cdn/332VMES2.js +4 -0
- package/dist/cdn/3EIELKWA.js +4 -0
- package/dist/cdn/{TGB5KU2R.js → 3G326OQZ.js} +2 -2
- package/dist/cdn/{5DJXTCA4.js → 3KMT633V.js} +2 -2
- package/dist/cdn/{WQYWISKC.js → 3QIAN4NS.js} +2 -2
- package/dist/cdn/{AM5VHYYJ.js → 3QQW7LHD.js} +2 -2
- package/dist/cdn/3RFGO2LD.js +4 -0
- package/dist/cdn/{CDBECKFD.js → 3RLZ3DW3.js} +2 -2
- package/dist/cdn/{GXJBV5UC.js → 45QWWJD3.js} +2 -2
- package/dist/cdn/{I4ZMBVX7.js → 4J4KBZY3.js} +2 -2
- package/dist/cdn/{7HCPPTUF.js → 4LBJNKKZ.js} +2 -2
- package/dist/cdn/{CU6T4VVL.js → 4OGHM3VZ.js} +2 -2
- package/dist/cdn/{N3QUHG2D.js → 4QFEW5TW.js} +2 -2
- package/dist/cdn/{7TK3JICU.js → 4RMNH5HJ.js} +2 -2
- package/dist/cdn/{Q5YT7SCP.js → 55MXXTNW.js} +2 -2
- package/dist/cdn/{YBWCF4IP.js → 57E24OM4.js} +2 -2
- package/dist/cdn/{R36SCSY2.js → 5DW2ZJAO.js} +2 -2
- package/dist/cdn/{WMPSIJNV.js → 5EWHPJJ5.js} +2 -2
- package/dist/cdn/{NVUJTAXL.js → 5I5JN5D4.js} +2 -2
- package/dist/cdn/65N2W4PE.js +34 -0
- package/dist/cdn/{HGCY5B3V.js → 6EJUU3SQ.js} +2 -2
- package/dist/cdn/6TJC4ARR.js +4 -0
- package/dist/cdn/{QYN5OFQK.js → 6VN7W4Z2.js} +1 -1
- package/dist/cdn/6YNW5VCL.js +4 -0
- package/dist/cdn/7AUAR63V.js +4 -0
- package/dist/cdn/{4SMSSHLX.js → 7GUP5FX5.js} +2 -2
- package/dist/cdn/{3MM3XJPI.js → 7KNKL7YD.js} +2 -2
- package/dist/cdn/{2GULATCF.js → 7LIDKM3N.js} +2 -2
- package/dist/cdn/{P3EOBFDT.js → A4QJGZYT.js} +2 -2
- package/dist/cdn/A4ZWPSMP.js +4 -0
- package/dist/cdn/{55RWZ5NT.js → AHMMJX3X.js} +2 -2
- package/dist/cdn/APSLVZEW.js +4 -0
- package/dist/cdn/{DEFPCI6M.js → AQQXXPQZ.js} +2 -2
- package/dist/cdn/AUWJJX2Y.js +4 -0
- package/dist/cdn/{CW423CUZ.js → AXHOHEHC.js} +1 -1
- package/dist/cdn/{LT2ATX5N.js → BP5JW4TO.js} +2 -2
- package/dist/cdn/{R5Y7ZMDF.js → BQF3ODZK.js} +2 -2
- package/dist/cdn/{U7XLUM43.js → BWHBVBRT.js} +2 -2
- package/dist/cdn/C47CFB4O.js +4 -0
- package/dist/cdn/{T467NUGF.js → CBVYZRGJ.js} +2 -2
- package/dist/cdn/{DH7D2MGT.js → CCFDRTZG.js} +29 -29
- package/dist/cdn/CGR4BWQJ.js +4 -0
- package/dist/cdn/CGXE3LSR.js +4 -0
- package/dist/cdn/{52233W4X.js → CVA2R34Y.js} +2 -2
- package/dist/cdn/CXA7LQDC.js +6 -0
- package/dist/cdn/{YYEUYKQA.js → CZSHY7VL.js} +2 -2
- package/dist/cdn/{JC4ID4OZ.js → D2TJTRO3.js} +2 -2
- package/dist/cdn/{LFAVERZK.js → D6FUQNYT.js} +2 -2
- package/dist/cdn/DEBFITLZ.js +4 -0
- package/dist/cdn/{EHONVPL7.js → DPP5JBQ6.js} +1 -1
- package/dist/cdn/DSBEXXSM.js +4 -0
- package/dist/cdn/{NXA7ZUX6.js → E3YRBMHV.js} +2 -2
- package/dist/cdn/{C46PS4TX.js → EAS3QCTO.js} +2 -2
- package/dist/cdn/{TSFTZUSI.js → F23KF5EO.js} +2 -2
- package/dist/cdn/{3BF4AQED.js → F5R34OKI.js} +2 -2
- package/dist/cdn/{IIIH67B3.js → F6MBWAXU.js} +2 -2
- package/dist/cdn/{3PO4B2K3.js → FV6A53GU.js} +2 -2
- package/dist/cdn/FVRR32JS.js +4 -0
- package/dist/cdn/{2HA2PZQ6.js → G365JBMZ.js} +1 -1
- package/dist/cdn/{WCY2L442.js → GEUAPKKO.js} +2 -2
- package/dist/cdn/GFEH2RHW.js +4 -0
- package/dist/cdn/GFZKNEVQ.js +4 -0
- package/dist/cdn/GVJLDDWJ.js +4 -0
- package/dist/cdn/GWUK3GRV.js +4 -0
- package/dist/cdn/{EF7JCBMS.js → GZLY6HQP.js} +1 -1
- package/dist/cdn/{WYBZLFF7.js → H2AO665N.js} +2 -2
- package/dist/cdn/{3LQWIMRQ.js → HD2ZXNGB.js} +2 -2
- package/dist/cdn/{H7GIIEPS.js → HMSCED6P.js} +2 -2
- package/dist/cdn/HOCGYEJY.js +4 -0
- package/dist/cdn/HT6LU5EY.js +4 -0
- package/dist/cdn/I7HHGT5I.js +4 -0
- package/dist/cdn/{2CX7YXG7.js → IAAJMNRU.js} +2 -2
- package/dist/cdn/{LDBJBLWQ.js → IBAAGUE6.js} +2 -2
- package/dist/cdn/{SNF5E6SM.js → ICDQXJJL.js} +2 -2
- package/dist/cdn/IGJEGPQG.js +4 -0
- package/dist/cdn/{IJJZGPAW.js → IGPDOFMJ.js} +2 -2
- package/dist/cdn/{QIZBGZEE.js → IJL3YCYM.js} +2 -2
- package/dist/cdn/ILR2ZA54.js +4 -0
- package/dist/cdn/IWRMT56Y.js +4 -0
- package/dist/cdn/JBCIMXER.js +4 -0
- package/dist/cdn/{6PDHQMNK.js → JCNLCLEG.js} +2 -2
- package/dist/cdn/{QQYH3KUL.js → JFH3QUYT.js} +2 -2
- package/dist/cdn/JHQ2UAPI.js +4 -0
- package/dist/cdn/JHYUP7LW.js +4 -0
- package/dist/cdn/{SDRKL7IH.js → JMTVC3GN.js} +2 -2
- package/dist/cdn/{47ZJXZXD.js → JQ7YFFRL.js} +2 -2
- package/dist/cdn/JQJIXGU3.js +4 -0
- package/dist/cdn/JV3PG2AD.js +4 -0
- package/dist/cdn/{JGMU7WBA.js → KCSYVBWF.js} +2 -2
- package/dist/cdn/KO5OGIH7.js +4 -0
- package/dist/cdn/KQJAG7ZS.js +4 -0
- package/dist/cdn/{E5FDRUDI.js → L2TWIH5Z.js} +2 -2
- package/dist/cdn/{B3WTAI62.js → L2ZJMBZB.js} +2 -2
- package/dist/cdn/{IW5MVKLI.js → L3VZ5IHX.js} +2 -2
- package/dist/cdn/{4REOTHYM.js → L4OFBY5Y.js} +2 -2
- package/dist/cdn/{BABUC4LE.js → L6QEAS33.js} +2 -2
- package/dist/cdn/{7RC54OTC.js → LATBVT72.js} +2 -2
- package/dist/cdn/{HU3C6O2V.js → LG6SJISO.js} +2 -2
- package/dist/cdn/LHMOTHQN.js +4 -0
- package/dist/cdn/{QY7X4QJI.js → LKT35O5Z.js} +2 -2
- package/dist/cdn/{GQ6Y7I3V.js → LNY7VO77.js} +2 -2
- package/dist/cdn/{NTOILAAX.js → LOMSWOGR.js} +2 -2
- package/dist/cdn/LQRES7J3.js +4 -0
- package/dist/cdn/LVVIF2B4.js +4 -0
- package/dist/cdn/{FT6UC3JB.js → M4V2KEMZ.js} +2 -2
- package/dist/cdn/M6S5OWHP.js +4 -0
- package/dist/cdn/MIIKHSMB.js +4 -0
- package/dist/cdn/{WNORUDAL.js → MVYX2MFL.js} +2 -2
- package/dist/cdn/MZQWX4ZT.js +4 -0
- package/dist/cdn/NI33RNQT.js +4 -0
- package/dist/cdn/NMQALZXT.js +4 -0
- package/dist/cdn/NMT7YR35.js +4 -0
- package/dist/cdn/NSZAL7FV.js +4 -0
- package/dist/cdn/{IOOOPEEX.js → ODOWMT3R.js} +2 -2
- package/dist/cdn/OG6S5Q4T.js +4 -0
- package/dist/cdn/ON4QNUDJ.js +4 -0
- package/dist/cdn/{2DE4F35V.js → OOYEE27X.js} +2 -2
- package/dist/cdn/{ORQ5VVLY.js → OU76SIMR.js} +2 -2
- package/dist/cdn/OXI4STZW.js +4 -0
- package/dist/cdn/{SAQPXQUQ.js → P6RNC2LG.js} +2 -2
- package/dist/cdn/{KHFHQYLZ.js → PNWK6NJT.js} +2 -2
- package/dist/cdn/{GZNIWD74.js → PYSV3QLB.js} +2 -2
- package/dist/cdn/PYYXSBKR.js +4 -0
- package/dist/cdn/QBW7NI3U.js +4 -0
- package/dist/cdn/{DNCJUVXO.js → QC2RKL3B.js} +1 -1
- package/dist/cdn/{QGWKXEI4.js → QXQQWDEZ.js} +2 -2
- package/dist/cdn/{LSSXR6K3.js → R53DVOJE.js} +2 -2
- package/dist/cdn/ROIWM7BI.js +4 -0
- package/dist/cdn/RTAXTMOR.js +4 -0
- package/dist/cdn/S3KVJXFW.js +4 -0
- package/dist/cdn/SAANFMWQ.js +4 -0
- package/dist/cdn/{YNS4GIGO.js → SG2AXP3X.js} +2 -2
- package/dist/cdn/SJZHFPQY.js +4 -0
- package/dist/cdn/STFWYSRQ.js +4 -0
- package/dist/cdn/{72L2KGU3.js → SY2XGQFQ.js} +2 -2
- package/dist/cdn/TBMQYFV3.js +4 -0
- package/dist/cdn/{3CUNETBW.js → THYCR5MP.js} +2 -2
- package/dist/cdn/TOKTXF46.js +4 -0
- package/dist/cdn/TVO6I7Z4.js +4 -0
- package/dist/cdn/{M6XXJ7ZT.js → U5YU25AX.js} +2 -2
- package/dist/cdn/{XYMVLEUO.js → UEUW4SDT.js} +2 -2
- package/dist/cdn/UGPTGIHT.js +4 -0
- package/dist/cdn/{4ACBZIPL.js → UINIKLYT.js} +2 -2
- package/dist/cdn/{4IDW3R33.js → UQUSUIJZ.js} +2 -2
- package/dist/cdn/{A5GRUROJ.js → UWA76BGM.js} +2 -2
- package/dist/cdn/{OUIHKS23.js → UZLKNIS6.js} +2 -2
- package/dist/cdn/{LOURBPI7.js → VAQBU5UZ.js} +2 -2
- package/dist/cdn/{GFJJJNG4.js → VFKVM3NN.js} +2 -2
- package/dist/cdn/{PRUWOI4T.js → VIQWFB6N.js} +2 -2
- package/dist/cdn/{YMTOWVGR.js → VRNNMWD4.js} +2 -2
- package/dist/cdn/{ZIJI7X2J.js → VVU6BIVW.js} +2 -2
- package/dist/cdn/{JYK7MOKB.js → VZ7TPZSI.js} +2 -2
- package/dist/cdn/{AYJ2DAHD.js → VZJHCJ6S.js} +2 -2
- package/dist/cdn/{QVNIWF7Y.js → W24IPQ7R.js} +2 -2
- package/dist/cdn/{F252MJWW.js → W55AMOTU.js} +2 -2
- package/dist/cdn/{7ZCCKCDI.js → WHKYXSL2.js} +2 -2
- package/dist/cdn/WINJFIVF.js +4 -0
- package/dist/cdn/{LWN2GJKZ.js → WJIAB5OJ.js} +2 -2
- package/dist/cdn/{CXNYGDEG.js → WKDKHX46.js} +2 -2
- package/dist/cdn/{NLRPWCMA.js → WQW55OS7.js} +2 -2
- package/dist/cdn/WY7Y5NGU.js +4 -0
- package/dist/cdn/XGH4RVKQ.js +4 -0
- package/dist/cdn/XGOB736F.js +4 -0
- package/dist/cdn/{Y4EIVXNU.js → XGZ3RDUR.js} +2 -2
- package/dist/cdn/XTN72LYW.js +4 -0
- package/dist/cdn/{YW6BKERZ.js → XUGPAMZX.js} +2 -2
- package/dist/cdn/YBRYODCY.js +4 -0
- package/dist/cdn/YEW5KZW7.js +4 -0
- package/dist/cdn/YKWORUIJ.js +4 -0
- package/dist/cdn/{VP6SIJ6W.js → YOZZWZZ2.js} +2 -2
- package/dist/cdn/{AKAY7UUY.js → YTODIPYA.js} +2 -2
- package/dist/cdn/{JZXOZPKS.js → Z5TZMPWH.js} +2 -2
- package/dist/cdn/{KAWA7DCI.js → Z6MC3U6Z.js} +2 -2
- package/dist/cdn/{433XUGGB.js → ZIY3JLY2.js} +2 -2
- package/dist/cdn/{F6HH6GPD.js → ZURYTGOH.js} +2 -2
- package/dist/cdn/assets/charts-config-heat-chart-data/t9n/messages.en.json +1 -0
- package/dist/cdn/assets/charts-config-heat-chart-popover/t9n/messages.en.json +1 -0
- package/dist/cdn/assets/charts-config-select-chart-type-popover/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.en.json +1 -1
- package/dist/cdn/index.js +2 -2
- package/dist/chart-rendering/common/config-utils/index.d.ts +1 -1
- package/dist/chart-rendering/common/defaults/interfaces.d.ts +3 -0
- package/dist/chart-rendering/next/chart-library-elements/legend/heat-legend/index.d.ts +8 -9
- package/dist/chart-rendering/next/chart-library-elements/legend/index.d.ts +2 -2
- package/dist/chart-rendering/next/chart-library-elements/series/heat-chart/index.d.ts +2 -0
- package/dist/chart-rendering/next/defaults/index.d.ts +3 -0
- package/dist/chunks/action-bar-utils.js +20 -19
- package/dist/chunks/axis-model-wrapper.js +1 -1
- package/dist/chunks/bar-chart-model.js +6 -5
- package/dist/chunks/bar-chart-series.js +2 -2
- package/dist/chunks/bg_BG.js +1 -1
- package/dist/chunks/bg_BG2.js +1 -1
- package/dist/chunks/box-plot-data.js +71 -70
- package/dist/chunks/box-plot-model.js +52 -47
- package/dist/chunks/chart-ui-utils.js +26 -22
- package/dist/chunks/chart-ui-utils2.js +84 -77
- package/dist/chunks/class-breaks.js +126 -0
- package/dist/chunks/combo-bar-line-chart-model.js +48 -49
- package/dist/chunks/common.js +1 -1
- package/dist/chunks/data-labels-symbol.js +66 -0
- package/dist/chunks/data-labels-visibility.js +87 -0
- package/dist/chunks/data.js +41 -40
- package/dist/chunks/default.js +4 -4
- package/dist/chunks/gauge-model.js +30 -28
- package/dist/chunks/heat-chart-model.js +174 -128
- package/dist/chunks/histogram-data.js +42 -41
- package/dist/chunks/histogram-model.js +43 -39
- package/dist/chunks/index.js +1711 -1649
- package/dist/chunks/index2.js +180 -161
- package/dist/chunks/index3.js +184 -91
- package/dist/chunks/index4.js +96 -63
- package/dist/chunks/index5.js +67 -0
- package/dist/chunks/interfaces.js +26 -12
- package/dist/chunks/line-chart-model.js +11 -8
- package/dist/chunks/model-setter.js +114 -0
- package/dist/chunks/model-with-multi-axes.js +636 -711
- package/dist/chunks/negative-values-stacked-to-baseline.js +3 -3
- package/dist/chunks/pie-chart-data.js +39 -38
- package/dist/chunks/pie-chart-model.js +128 -118
- package/dist/chunks/popover-ui-utils.js +1 -1
- package/dist/chunks/radar-chart-model.js +9 -6
- package/dist/chunks/resource.js +2 -2
- package/dist/chunks/rest-js-object-literals.js +8 -8
- package/dist/chunks/rotated-state.js +56 -0
- package/dist/chunks/runtime.js +1 -1
- package/dist/chunks/scatterplot-model.js +69 -64
- package/dist/chunks/serial-chart-data.js +705 -949
- package/dist/chunks/serial-chart-model.js +34 -28
- package/dist/chunks/series-types.js +56 -40
- package/dist/chunks/sk_SK.js +1 -1
- package/dist/chunks/store.js +1 -1
- package/dist/chunks/type-guards.js +49 -56
- package/dist/chunks/useT9n.js +1 -1
- package/dist/chunks/utils.js +222 -0
- package/dist/chunks/web-component-utils.js +37 -37
- package/dist/components/arcgis-chart/customElement.d.ts +2 -0
- package/dist/components/arcgis-chart/customElement.js +5219 -4999
- package/dist/components/arcgis-charts-action-bar/customElement.js +6 -5
- 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 +3 -3
- package/dist/components/arcgis-charts-config-bar-chart-data/customElement.js +33 -34
- package/dist/components/arcgis-charts-config-bar-chart-popover/customElement.js +51 -51
- 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 +2 -2
- package/dist/components/arcgis-charts-config-box-plot/customElement.js +3 -3
- package/dist/components/arcgis-charts-config-box-plot-data/customElement.js +6 -6
- package/dist/components/arcgis-charts-config-box-plot-popover/customElement.js +9 -9
- 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 +7 -7
- 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 +2 -2
- package/dist/components/arcgis-charts-config-create-flow/customElement.js +183 -173
- package/dist/components/arcgis-charts-config-create-flow/index.d.ts +1 -0
- package/dist/components/arcgis-charts-config-create-flow/index.js +1 -0
- package/dist/components/arcgis-charts-config-field-select/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-font-style/customElement.js +3 -3
- package/dist/components/arcgis-charts-config-format/customElement.js +22 -20
- package/dist/components/arcgis-charts-config-format-popover/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-general/customElement.js +3 -3
- package/dist/components/arcgis-charts-config-guide/customElement.js +24 -24
- package/dist/components/arcgis-charts-config-guide-popover/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-guides/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-guides-type-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-heat-chart/customElement.d.ts +41 -0
- package/dist/components/arcgis-charts-config-heat-chart/customElement.js +87 -0
- package/dist/components/arcgis-charts-config-heat-chart/index.d.ts +4 -0
- package/dist/components/arcgis-charts-config-heat-chart/index.js +4 -0
- package/dist/components/arcgis-charts-config-heat-chart-data/customElement.d.ts +46 -0
- package/dist/components/arcgis-charts-config-heat-chart-data/customElement.js +370 -0
- package/dist/components/arcgis-charts-config-heat-chart-data/index.d.ts +15 -0
- package/dist/components/arcgis-charts-config-heat-chart-data/index.js +15 -0
- package/dist/components/arcgis-charts-config-heat-chart-data/resources.d.ts +7 -0
- package/dist/components/arcgis-charts-config-heat-chart-popover/customElement.d.ts +103 -0
- package/dist/components/arcgis-charts-config-heat-chart-popover/customElement.js +288 -0
- package/dist/components/arcgis-charts-config-heat-chart-popover/index.d.ts +12 -0
- package/dist/components/arcgis-charts-config-heat-chart-popover/index.js +12 -0
- package/dist/components/arcgis-charts-config-heat-chart-popover/resources.d.ts +18 -0
- package/dist/components/arcgis-charts-config-histogram/customElement.js +3 -3
- package/dist/components/arcgis-charts-config-histogram-data/customElement.js +6 -6
- package/dist/components/arcgis-charts-config-histogram-popover/customElement.js +3 -3
- package/dist/components/arcgis-charts-config-invalid-input-message/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-line-chart/customElement.js +3 -3
- package/dist/components/arcgis-charts-config-line-chart-data/customElement.js +63 -64
- package/dist/components/arcgis-charts-config-line-chart-popover/customElement.js +33 -33
- 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 +3 -3
- package/dist/components/arcgis-charts-config-line-style/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-number-format/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-pie-chart/customElement.js +4 -4
- package/dist/components/arcgis-charts-config-pie-chart-data/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-pie-chart-popover/customElement.js +3 -3
- package/dist/components/arcgis-charts-config-pie-chart-slices/customElement.js +6 -6
- package/dist/components/arcgis-charts-config-pie-chart-slices-popover/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-scatter-plot/customElement.js +3 -3
- package/dist/components/arcgis-charts-config-scatter-plot-data/customElement.js +10 -10
- package/dist/components/arcgis-charts-config-scatter-plot-popover/customElement.js +3 -3
- package/dist/components/arcgis-charts-config-select-chart-type-popover/customElement.d.ts +1 -1
- package/dist/components/arcgis-charts-config-select-chart-type-popover/customElement.js +6 -6
- 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 +407 -583
- package/dist/interfaces.d.ts +19 -0
- package/dist/json-schema/index.d.ts +60 -14
- package/dist/loader.js +4 -1
- package/dist/model/box-plot-model/box-plot-model.d.ts +8 -2
- package/dist/model/chart-model/chart-model.d.ts +4 -1
- package/dist/model/combo-bar-line-chart-model/combo-bar-line-chart-model.d.ts +4 -2
- package/dist/model/gauge-model/gauge-model.d.ts +4 -1
- package/dist/model/heat-chart-model/heat-chart-model.d.ts +42 -13
- package/dist/model/heat-chart-model/utils/heat-chart-data.d.ts +55 -18
- package/dist/model/histogram-model/histogram-model.d.ts +7 -2
- package/dist/model/line-chart-model/line-chart-model.d.ts +4 -1
- package/dist/model/mixins/index.d.ts +0 -2
- package/dist/model/mixins/model-with-multi-axes.d.ts +5 -0
- package/dist/model/mixins/model-with-x-guides.d.ts +5 -0
- package/dist/model/mixins/model-with-y-guides.d.ts +5 -0
- package/dist/model/pie-chart-model/pie-chart-legend-model.d.ts +4 -1
- package/dist/model/pie-chart-model/pie-chart-model.d.ts +7 -2
- package/dist/model/properties/data-labels/data-labels-symbol.d.ts +25 -0
- package/dist/model/properties/data-labels/data-labels-visibility.d.ts +25 -0
- package/dist/model/properties/rotated-state.d.ts +24 -0
- package/dist/model/radar-chart-model/radar-chart-model.d.ts +4 -1
- package/dist/model/scatterplot-model/scatterplot-model.d.ts +7 -2
- package/dist/model/serial-chart-model/serial-chart-model.d.ts +8 -2
- package/dist/model/shared/axes.d.ts +0 -7
- package/dist/model/shared/type-guards.d.ts +18 -17
- package/dist/model/shared/utils.d.ts +19 -3
- package/dist/model.js +15 -17
- package/dist/spec/chart-object-literals.d.ts +27 -0
- package/dist/spec/web-chart.d.ts +50 -16
- package/dist/utils/chart-config/converter/index.d.ts +15 -0
- package/dist/utils/chart-config/converter/interfaces.d.ts +13 -1
- package/dist/utils/chart-config/utils/class-breaks/index.d.ts +16 -0
- package/dist/utils/chart-config/utils/index.d.ts +0 -18
- package/dist/utils/components/chart-ui-utils.d.ts +8 -1
- package/dist/utils/components/config-update.d.ts +6 -3
- package/dist/utils/data/stats/class-breaks.d.ts +91 -0
- package/dist/utils/defaults/index.d.ts +3 -3
- package/dist/utils/localization/interfaces.d.ts +2 -0
- package/dist/utils/type-guards/index.d.ts +12 -1
- package/dist/utils/types/index.d.ts +4 -0
- package/package.json +3 -3
- package/dist/cdn/2HK5DP4Z.js +0 -4
- package/dist/cdn/2J6B67VX.js +0 -4
- package/dist/cdn/2KGX6D5F.js +0 -4
- package/dist/cdn/2ZTCBM34.js +0 -4
- package/dist/cdn/3AC3WNOD.js +0 -4
- package/dist/cdn/3EFUHQNT.js +0 -4
- package/dist/cdn/3IBBMA2A.js +0 -4
- package/dist/cdn/3KTEORBN.js +0 -4
- package/dist/cdn/3OAQQDYR.js +0 -4
- package/dist/cdn/55XCO5XY.js +0 -4
- package/dist/cdn/5ZR4T5HT.js +0 -4
- package/dist/cdn/7A5FF3AI.js +0 -4
- package/dist/cdn/7BHIWXSS.js +0 -4
- package/dist/cdn/7DJBZYIA.js +0 -4
- package/dist/cdn/7IQ2I4LF.js +0 -4
- package/dist/cdn/7NXQKEG4.js +0 -6
- package/dist/cdn/AKL57XN5.js +0 -4
- package/dist/cdn/AW47UABM.js +0 -4
- package/dist/cdn/BBKG2HUU.js +0 -4
- package/dist/cdn/CR4PATFF.js +0 -4
- package/dist/cdn/E7NHJGIP.js +0 -4
- package/dist/cdn/EBYCFLZ7.js +0 -4
- package/dist/cdn/EGC3AWWB.js +0 -4
- package/dist/cdn/EHBSW7CZ.js +0 -4
- package/dist/cdn/FIOJ6UCT.js +0 -4
- package/dist/cdn/GBZWXF7H.js +0 -4
- package/dist/cdn/GEXUZYQM.js +0 -4
- package/dist/cdn/H5BAMOUO.js +0 -4
- package/dist/cdn/HEZL6MN5.js +0 -4
- package/dist/cdn/HJJ3F5RK.js +0 -4
- package/dist/cdn/IA5F2RAW.js +0 -4
- package/dist/cdn/ICJBM7FW.js +0 -4
- package/dist/cdn/IYMPXWG4.js +0 -4
- package/dist/cdn/J3SNSKNC.js +0 -4
- package/dist/cdn/JM6DKNYQ.js +0 -4
- package/dist/cdn/JXVQVJ5E.js +0 -4
- package/dist/cdn/K2XDV2FA.js +0 -4
- package/dist/cdn/K7RWT3Y5.js +0 -4
- package/dist/cdn/KD7WPGSJ.js +0 -4
- package/dist/cdn/LKHZVZT7.js +0 -4
- package/dist/cdn/LZSRP7IC.js +0 -4
- package/dist/cdn/MTCTTNXE.js +0 -4
- package/dist/cdn/N7EHANM3.js +0 -4
- package/dist/cdn/NSKCRQ46.js +0 -4
- package/dist/cdn/ONY47WL2.js +0 -4
- package/dist/cdn/PNXW5DDT.js +0 -4
- package/dist/cdn/Q5RT2IAQ.js +0 -4
- package/dist/cdn/QDHZGFHC.js +0 -4
- package/dist/cdn/QYI2QSH5.js +0 -4
- package/dist/cdn/SCGMS5AE.js +0 -32
- package/dist/cdn/TQTZG3W5.js +0 -4
- package/dist/cdn/U6QB64XJ.js +0 -4
- package/dist/cdn/USUNUI2C.js +0 -4
- package/dist/cdn/UZF3L4UK.js +0 -4
- package/dist/cdn/VMNCZHNP.js +0 -4
- package/dist/cdn/VSO43DDC.js +0 -4
- package/dist/cdn/VYH4PEFA.js +0 -4
- package/dist/cdn/W4X6BXLW.js +0 -4
- package/dist/cdn/Y6BHMVAI.js +0 -4
- package/dist/cdn/Y7FV66TU.js +0 -4
- package/dist/cdn/YOJ4K4LQ.js +0 -4
- package/dist/chunks/color-match.js +0 -33
- package/dist/model/mixins/model-with-data-labels.d.ts +0 -15
- package/dist/model/mixins/model-with-rotation.d.ts +0 -8
- package/dist/model/mixins/utils/data-labels.d.ts +0 -24
|
@@ -20,11 +20,11 @@ import "@arcgis/core/rest/support/StatisticDefinition.js";
|
|
|
20
20
|
import "@arcgis/core/time/TimeExtent.js";
|
|
21
21
|
import "@arcgis/core/core/promiseUtils.js";
|
|
22
22
|
import "./runtime.js";
|
|
23
|
-
import { l as s } from "./
|
|
23
|
+
import { l as s } from "./index4.js";
|
|
24
24
|
import "@arcgis/toolkit/dom";
|
|
25
25
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
26
26
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
27
|
-
v5.0.0-next.
|
|
27
|
+
v5.0.0-next.116 */
|
|
28
28
|
const A = (i, e) => s(e.series?.[i]) ? e.series?.[i].hideOversizedSideBySideLabels : void 0, D = (i, e, r) => {
|
|
29
29
|
s(r.series?.[e]) && (r.series[e].hideOversizedSideBySideLabels = i);
|
|
30
30
|
}, E = (i, e) => s(e.series?.[i]) ? e.series?.[i].hideOversizedStackedLabels : void 0, F = (i, e, r) => {
|
package/dist/chunks/bg_BG.js
CHANGED
package/dist/chunks/bg_BG2.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import "@arcgis/toolkit/intl";
|
|
2
|
-
import { memoize as
|
|
2
|
+
import { memoize as $, isEmpty as ye, isEqual as ue, cloneDeep as J } from "lodash-es";
|
|
3
3
|
import { W as m, t as p, g as h } from "./series-types.js";
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
4
|
+
import { R as me } from "./rest-js-object-literals.js";
|
|
5
|
+
import { aT as q, h as O, aw as C, Z as V, l as fe, aa as Se, bN as pe, cX as w, bP as R, bQ as j, aU as Q, aI as Z, au as _, b6 as G, bx as K, b2 as ge, aK as xe, aJ as be } from "./index.js";
|
|
6
6
|
import "@arcgis/core/geometry/support/jsonUtils.js";
|
|
7
7
|
import "@arcgis/core/rest/support/AttributeBinsQuery.js";
|
|
8
8
|
import "@arcgis/core/rest/support/Query.js";
|
|
@@ -11,10 +11,10 @@ import "@arcgis/core/time/TimeExtent.js";
|
|
|
11
11
|
import "@arcgis/core/core/promiseUtils.js";
|
|
12
12
|
import "@arcgis/core/request.js";
|
|
13
13
|
import "./runtime.js";
|
|
14
|
-
import { g as P,
|
|
14
|
+
import { g as P, r as he } from "./index4.js";
|
|
15
15
|
import "@arcgis/toolkit/dom";
|
|
16
16
|
import { substitute as M } from "@arcgis/core/intl.js";
|
|
17
|
-
import { u as
|
|
17
|
+
import { u as D, d as H, e as Fe, f as Ae, s as U, h as Be } from "./utils.js";
|
|
18
18
|
import { B as u } from "./common.js";
|
|
19
19
|
import "d3-array";
|
|
20
20
|
import "@arcgis/core/Graphic.js";
|
|
@@ -25,14 +25,15 @@ import "@arcgis/core/smartMapping/statistics/histogram.js";
|
|
|
25
25
|
import "@arcgis/core/smartMapping/statistics/summaryStatistics.js";
|
|
26
26
|
import "simple-statistics";
|
|
27
27
|
import "@arcgis/core/AttributeBinsGraphic.js";
|
|
28
|
+
import { a as z, g as Ce } from "./serial-chart-data.js";
|
|
28
29
|
import { d as W } from "./data.js";
|
|
29
30
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
30
31
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
31
|
-
v5.0.0-next.
|
|
32
|
-
const
|
|
32
|
+
v5.0.0-next.116 */
|
|
33
|
+
const ps = (s, e) => e?.series?.[s]?.name, gs = (s, e, t) => {
|
|
33
34
|
const o = t;
|
|
34
35
|
o?.series?.[e] !== void 0 && (o.series[e].name = s);
|
|
35
|
-
},
|
|
36
|
+
}, xs = (s, e) => {
|
|
36
37
|
let t;
|
|
37
38
|
const o = e.series?.[s];
|
|
38
39
|
return o?.type === m.BoxPlotSeries ? t = o.fillSymbol?.color : o?.type === m.LineSeries && (t = o.lineSymbol?.color), t;
|
|
@@ -45,36 +46,36 @@ const Ss = (s, e) => e?.series?.[s]?.name, ps = (s, e, t) => {
|
|
|
45
46
|
...q(),
|
|
46
47
|
color: s
|
|
47
48
|
});
|
|
48
|
-
},
|
|
49
|
+
}, bs = (s, e, t) => {
|
|
49
50
|
const i = t?.series?.[e];
|
|
50
51
|
i?.type === m.BoxPlotSeries && i.fillSymbol !== void 0 ? i.fillSymbol.color = s : i?.type === m.LineSeries && i.lineSymbol !== void 0 && (i.lineSymbol.color = s, i.markerSymbol !== void 0 && (i.markerSymbol.color = s));
|
|
51
52
|
}, Te = (s) => s.series.map((e) => e.id), ve = (s, e) => {
|
|
52
53
|
e?.series?.sort(
|
|
53
54
|
(t, o) => s.findIndex((i) => t.id === i) - s.findIndex((i) => o.id === i)
|
|
54
55
|
);
|
|
55
|
-
},
|
|
56
|
+
}, hs = (s, e, t) => {
|
|
56
57
|
const o = Te(t), [i] = o.splice(s, 1);
|
|
57
58
|
o.splice(e, 0, i), ve(o, t);
|
|
58
|
-
},
|
|
59
|
+
}, Fs = (s) => N(s) ? s.series.findIndex((e) => e.type === m.BoxPlotSeries) : -1;
|
|
59
60
|
function Me(s, e, t) {
|
|
60
|
-
const o = le(s, e, t), i =
|
|
61
|
+
const o = le(s, e, t), i = Ce(s), r = V(s);
|
|
61
62
|
return o === i || r;
|
|
62
63
|
}
|
|
63
64
|
function ee(s, e, t) {
|
|
64
|
-
const o = T(s, e, t), i = z(1, s), r =
|
|
65
|
+
const o = T(s, e, t), i = z(1, s), r = V(s);
|
|
65
66
|
return o === i || r;
|
|
66
67
|
}
|
|
67
68
|
function Ie(s) {
|
|
68
|
-
const { config: e, layerInfo: t, newCategory: o } = s, { layerFieldsInfo: i } = t, r = L(e), l = o !== C ? w(i, r) : "", n = z(0, e), a =
|
|
69
|
+
const { config: e, layerInfo: t, newCategory: o } = s, { layerFieldsInfo: i } = t, r = L(e), l = o !== C ? w(i, r) : "", n = z(0, e), a = V(e);
|
|
69
70
|
return l === n || a || n.trim() === "";
|
|
70
71
|
}
|
|
71
|
-
const L = (s) => O(s)?.x ?? C, Oe =
|
|
72
|
+
const L = (s) => O(s)?.x ?? C, Oe = $(
|
|
72
73
|
(s) => {
|
|
73
74
|
const e = O(s), t = e?.query?.where?.split("=")[0].trim() ?? "";
|
|
74
75
|
return fe(e?.query?.where) ? "" : t;
|
|
75
76
|
},
|
|
76
77
|
(s) => O(s)?.query?.where
|
|
77
|
-
), se =
|
|
78
|
+
), se = $(
|
|
78
79
|
// without memoizing, the worst case efficiency is O(series.length), best case is O(1)
|
|
79
80
|
// with memoizing, the worst case efficiency for repeated calls becomes O(1)
|
|
80
81
|
(s) => Se(s?.series).filter((e) => e !== ""),
|
|
@@ -82,12 +83,12 @@ const L = (s) => O(s)?.x ?? C, Oe = X(
|
|
|
82
83
|
(s) => s?.series
|
|
83
84
|
), I = (s) => {
|
|
84
85
|
const { category: e, seriesIndex: t, y: o, commonStrings: i } = s, l = {
|
|
85
|
-
...
|
|
86
|
+
...G(i, t),
|
|
86
87
|
x: e === void 0 || e === "" ? C : e,
|
|
87
88
|
y: o,
|
|
88
89
|
query: {}
|
|
89
90
|
};
|
|
90
|
-
return
|
|
91
|
+
return J(l);
|
|
91
92
|
}, Pe = (s) => {
|
|
92
93
|
const { category: e, seriesIndex: t, y: o, commonStrings: i } = s, l = {
|
|
93
94
|
...ge({ commonStrings: i, seriesIndex: t }),
|
|
@@ -95,10 +96,10 @@ const L = (s) => O(s)?.x ?? C, Oe = X(
|
|
|
95
96
|
y: o,
|
|
96
97
|
query: {}
|
|
97
98
|
};
|
|
98
|
-
return
|
|
99
|
+
return J(l);
|
|
99
100
|
};
|
|
100
101
|
function te(s) {
|
|
101
|
-
const { x: e, y: t, seriesTemplate: o, commonStrings: i } = s, { id: r, fillSymbol: l } = o ?? {}, n =
|
|
102
|
+
const { x: e, y: t, seriesTemplate: o, commonStrings: i } = s, { id: r, fillSymbol: l } = o ?? {}, n = G(i), a = r ?? `series_${Date.now()}`;
|
|
102
103
|
return n.id = a, n.name = a, n.x = e, n.y = t, l ? n.fillSymbol = l : n.fillSymbol && (n.fillSymbol.color = K, n.fillSymbol?.outline && (n.fillSymbol.outline.color = K)), n;
|
|
103
104
|
}
|
|
104
105
|
function ie(s) {
|
|
@@ -147,8 +148,8 @@ function ie(s) {
|
|
|
147
148
|
}
|
|
148
149
|
return t.series.length === 1 && n.length === 1 && !t.colorMatch && "fillSymbol" in t.series[0] && (n[0].fillSymbol = t.series[0].fillSymbol, y = !0), t.colorMatch = !y, n;
|
|
149
150
|
}
|
|
150
|
-
const oe = (s) => s?.query?.where?.split("=")[1].trim().replace(/'/gu, "") ?? "",
|
|
151
|
-
function
|
|
151
|
+
const oe = (s) => s?.query?.where?.split("=")[1].trim().replace(/'/gu, "") ?? "", De = (s) => s.series.some((e) => e.type === m.LineSeries) && s.series.some((e) => e.type === m.BoxPlotSeries);
|
|
152
|
+
function Ve(s, e, t) {
|
|
152
153
|
const o = [];
|
|
153
154
|
return s.forEach((i) => {
|
|
154
155
|
if (i.type === m.BoxPlotSeries) {
|
|
@@ -157,7 +158,7 @@ function De(s, e, t) {
|
|
|
157
158
|
...n,
|
|
158
159
|
type: m.LineSeries,
|
|
159
160
|
lineSymbol: {
|
|
160
|
-
...
|
|
161
|
+
...Z({ width: _ }),
|
|
161
162
|
...l !== void 0 ? { color: l.color } : {}
|
|
162
163
|
},
|
|
163
164
|
markerSymbol: {
|
|
@@ -200,17 +201,17 @@ function re(s) {
|
|
|
200
201
|
)), i;
|
|
201
202
|
}
|
|
202
203
|
async function Ne(s) {
|
|
203
|
-
const { config: e, layerInfo: t, commonStrings: o, splitByField: i, numericFields: r, category: l } = s, { layer: n, layerFieldsInfo: a } = t, { fetchNullValues: y } = O(e)?.query ?? {}, d = l ?? L(e), { categoriesArray: f, splitByFieldType: F } = await
|
|
204
|
+
const { config: e, layerInfo: t, commonStrings: o, splitByField: i, numericFields: r, category: l } = s, { layer: n, layerFieldsInfo: a } = t, { fetchNullValues: y } = O(e)?.query ?? {}, d = l ?? L(e), { categoriesArray: f, splitByFieldType: F } = await Be({
|
|
204
205
|
config: e,
|
|
205
206
|
layer: n,
|
|
206
207
|
layerFieldsInfo: a,
|
|
207
|
-
xAxisField:
|
|
208
|
+
xAxisField: E(d) ? void 0 : d,
|
|
208
209
|
aggregationFields: r,
|
|
209
210
|
splitByField: i,
|
|
210
211
|
fetchNullValues: y
|
|
211
212
|
});
|
|
212
213
|
let x = [], g = !1;
|
|
213
|
-
const S =
|
|
214
|
+
const S = De(e);
|
|
214
215
|
if (f.length === 0) {
|
|
215
216
|
x = ie({
|
|
216
217
|
numericFields: r,
|
|
@@ -228,18 +229,18 @@ async function Ne(s) {
|
|
|
228
229
|
seriesIndex: c,
|
|
229
230
|
category: d,
|
|
230
231
|
commonStrings: o
|
|
231
|
-
},
|
|
232
|
+
}, Y = S ? Pe(v) : I(v), ae = {
|
|
232
233
|
fieldName: i,
|
|
233
234
|
fieldValueToMatch: B ?? "",
|
|
234
|
-
subtypeInfo:
|
|
235
|
+
subtypeInfo: R(t.layer),
|
|
235
236
|
fieldList: t.layerFieldsInfo
|
|
236
|
-
}, de =
|
|
237
|
-
...
|
|
237
|
+
}, de = j(ae), k = `${B}`, A = {
|
|
238
|
+
...Y,
|
|
238
239
|
id: k,
|
|
239
240
|
name: de ?? k,
|
|
240
241
|
x: d === void 0 || d === "" ? C : d,
|
|
241
242
|
query: {
|
|
242
|
-
...
|
|
243
|
+
...Y.query,
|
|
243
244
|
where: `${i}=${F === me.String && B !== null ? `'${B}'` : B}`
|
|
244
245
|
}
|
|
245
246
|
}, b = e.series.find((ce) => oe(ce) === k);
|
|
@@ -247,7 +248,7 @@ async function Ne(s) {
|
|
|
247
248
|
...q(),
|
|
248
249
|
color: b.lineSymbol?.color
|
|
249
250
|
} : P(b) ? (A.lineSymbol = {
|
|
250
|
-
...
|
|
251
|
+
...Z({ width: _ }),
|
|
251
252
|
...b.fillSymbol !== void 0 ? { color: b.fillSymbol.color } : {}
|
|
252
253
|
}, A.markerSymbol = {
|
|
253
254
|
...Q(),
|
|
@@ -269,10 +270,10 @@ async function Ne(s) {
|
|
|
269
270
|
}
|
|
270
271
|
return x;
|
|
271
272
|
}
|
|
272
|
-
const
|
|
273
|
+
const As = async (s) => {
|
|
273
274
|
const { splitByField: e, numericFields: t, category: o, config: i, layerInfo: r, commonStrings: l } = s, { layerFieldsInfo: n } = r, a = We(o, t, e), y = pe(n), d = L(i), f = Me(i, r, l), F = ee(i, r, l), x = Ie({ config: i, layerInfo: r, newCategory: o });
|
|
274
|
-
let g =
|
|
275
|
-
if (!y.includes(d) && y.includes(o) ? g = xe() : y.includes(d) && !y.includes(o) && (g = be()), g !== void 0 && Ae(i, l, g),
|
|
275
|
+
let g = H(i);
|
|
276
|
+
if (!y.includes(d) && y.includes(o) ? g = xe() : y.includes(d) && !y.includes(o) && (g = be()), g !== void 0 && Ae(i, l, g), X(a ? { newShowMeanLines: i.showMean, config: i, commonStrings: l } : { newShowMeanLines: !1, config: i, commonStrings: l }), i.series = a ? await Ne({
|
|
276
277
|
config: i,
|
|
277
278
|
layerInfo: r,
|
|
278
279
|
splitByField: e,
|
|
@@ -291,11 +292,11 @@ const Fs = async (s) => {
|
|
|
291
292
|
numericFields: t,
|
|
292
293
|
fieldList: n
|
|
293
294
|
}) ? "" : w(n, o);
|
|
294
|
-
|
|
295
|
+
D(i, 0, c);
|
|
295
296
|
}
|
|
296
297
|
if (F) {
|
|
297
298
|
const S = T(i, r, l);
|
|
298
|
-
|
|
299
|
+
D(i, 1, S);
|
|
299
300
|
}
|
|
300
301
|
i?.title !== void 0 && f && (i.title.content.text = le(i, r, l)), U({ config: i, value: null, axisIndex: 1, isMax: !1 }), U({ config: i, value: null, axisIndex: 1, isMax: !0 });
|
|
301
302
|
}, qe = (s) => s?.standardizeValues ?? !1;
|
|
@@ -321,28 +322,28 @@ function le(s, e, t) {
|
|
|
321
322
|
valueField: n
|
|
322
323
|
})), y;
|
|
323
324
|
}
|
|
324
|
-
const
|
|
325
|
+
const Bs = (s) => {
|
|
325
326
|
const { series: e, splitByField: t, layerInfo: o, commonStrings: i } = s;
|
|
326
327
|
let r = typeof e.y == "string" ? w(o.layerFieldsInfo, e.y) : i.axisLabels.values;
|
|
327
328
|
ye(t) || (r = oe(e));
|
|
328
329
|
const l = {
|
|
329
330
|
fieldName: t,
|
|
330
331
|
fieldValueToMatch: r ?? "",
|
|
331
|
-
subtypeInfo:
|
|
332
|
+
subtypeInfo: R(o.layer),
|
|
332
333
|
fieldList: o.layerFieldsInfo
|
|
333
334
|
};
|
|
334
|
-
return r =
|
|
335
|
-
},
|
|
335
|
+
return r = j(l) ?? r, r ?? e.id;
|
|
336
|
+
}, Cs = (s) => s?.showOutliers ?? !1, ws = (s) => {
|
|
336
337
|
const { newShowOutliers: e, config: t, layerInfo: o, commonStrings: i } = s;
|
|
337
338
|
if (t.showOutliers = e, ee(t, o, i)) {
|
|
338
339
|
const l = T(t, o, i);
|
|
339
|
-
|
|
340
|
+
D(t, 1, l);
|
|
340
341
|
}
|
|
341
|
-
},
|
|
342
|
-
const { newStandardizeValues: e, config: t, layerInfo: o, commonStrings: i } = s, r = z(1, t), l = T(t, o, i), n =
|
|
342
|
+
}, Ls = (s) => {
|
|
343
|
+
const { newStandardizeValues: e, config: t, layerInfo: o, commonStrings: i } = s, r = z(1, t), l = T(t, o, i), n = V(t);
|
|
343
344
|
if (t.standardizeValues = e, r === l || n) {
|
|
344
345
|
const a = T(t, o, i);
|
|
345
|
-
|
|
346
|
+
D(t, 1, a);
|
|
346
347
|
}
|
|
347
348
|
}, ne = (s) => {
|
|
348
349
|
let e = u.xAxisAsc;
|
|
@@ -359,7 +360,7 @@ const As = (s) => {
|
|
|
359
360
|
break;
|
|
360
361
|
}
|
|
361
362
|
return e;
|
|
362
|
-
},
|
|
363
|
+
}, Ts = (s, e, t) => {
|
|
363
364
|
let o = p.Category, i = h.Ascending;
|
|
364
365
|
if (e.orderOptions = e.orderOptions ?? {}, s === u.customSort && t !== void 0)
|
|
365
366
|
e.orderOptions.data = {
|
|
@@ -398,70 +399,70 @@ const As = (s) => {
|
|
|
398
399
|
orderBy: i
|
|
399
400
|
};
|
|
400
401
|
}
|
|
401
|
-
}, N = (s) => s.showMean ?? !1,
|
|
402
|
+
}, N = (s) => s.showMean ?? !1, X = (s) => {
|
|
402
403
|
const { newShowMeanLines: e = !1, config: t, commonStrings: o, previousMeanLinesBoxColor: i } = s, r = e ? i : we(t), l = (e ?? !1) !== (t.showMean ?? !1);
|
|
403
404
|
if (t.showMean = e, l) {
|
|
404
405
|
let n;
|
|
405
|
-
e ? n = he(t.series) ?
|
|
406
|
+
e ? n = he(t.series) ? Ve(t.series, o) : t.series : n = ke(t.series), n && (n = re({
|
|
406
407
|
formerSeries: t.series,
|
|
407
408
|
newSeries: n,
|
|
408
409
|
showMean: e
|
|
409
410
|
}), t.series = n);
|
|
410
411
|
}
|
|
411
412
|
return e && i !== void 0 && Le(i, t), { previousMeanLinesBoxColor: r };
|
|
412
|
-
},
|
|
413
|
+
}, vs = (s) => {
|
|
413
414
|
let e = [];
|
|
414
415
|
const t = s.orderOptions?.data?.orderType;
|
|
415
416
|
return ne(s) === u.customSort && t === p.Category && (e = s.orderOptions?.data?.orderBy), e;
|
|
416
|
-
},
|
|
417
|
+
}, Ms = (s, e) => {
|
|
417
418
|
e.orderOptions ??= {};
|
|
418
419
|
const t = e.orderOptions?.data?.orderType;
|
|
419
420
|
ne(e) === u.customSort && t === p.Category && (e.orderOptions.data = {
|
|
420
421
|
orderType: p.Category,
|
|
421
422
|
orderBy: s
|
|
422
423
|
});
|
|
423
|
-
},
|
|
424
|
-
const t = L(s), o =
|
|
424
|
+
}, Is = async (s, e) => {
|
|
425
|
+
const t = L(s), o = H(s)?.type, i = se(s);
|
|
425
426
|
let r = [];
|
|
426
427
|
return o === m.CategoryAxisFormat && (W({
|
|
427
428
|
fieldName: t,
|
|
428
429
|
numericFields: i,
|
|
429
430
|
fieldList: e.layerFieldsInfo
|
|
430
|
-
}) ? r = i :
|
|
431
|
+
}) ? r = i : E(t) || (r = await Fe({
|
|
431
432
|
layerInfo: e,
|
|
432
433
|
config: s,
|
|
433
434
|
category: t
|
|
434
435
|
}))), r;
|
|
435
|
-
},
|
|
436
|
+
}, E = (s) => s.trim() === "" || s === C, ze = (s, e) => e.length > 1 && !E(s), We = (s, e, t) => !ze(s, e) && t !== "";
|
|
436
437
|
export {
|
|
437
|
-
|
|
438
|
+
Fs as A,
|
|
438
439
|
le as B,
|
|
439
440
|
T as C,
|
|
440
|
-
|
|
441
|
-
|
|
441
|
+
Bs as D,
|
|
442
|
+
ws as a,
|
|
442
443
|
qe as b,
|
|
443
|
-
|
|
444
|
+
Ls as c,
|
|
444
445
|
ne as d,
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
446
|
+
Ts as e,
|
|
447
|
+
Is as f,
|
|
448
|
+
Cs as g,
|
|
449
|
+
vs as h,
|
|
450
|
+
Ms as i,
|
|
450
451
|
N as j,
|
|
451
|
-
|
|
452
|
+
X as k,
|
|
452
453
|
we as l,
|
|
453
454
|
Le as m,
|
|
454
455
|
L as n,
|
|
455
456
|
Oe as o,
|
|
456
457
|
se as p,
|
|
457
458
|
We as q,
|
|
458
|
-
|
|
459
|
+
As as r,
|
|
459
460
|
ze as s,
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
461
|
+
ps as t,
|
|
462
|
+
gs as u,
|
|
463
|
+
xs as v,
|
|
464
|
+
bs as w,
|
|
464
465
|
Te as x,
|
|
465
466
|
ve as y,
|
|
466
|
-
|
|
467
|
+
hs as z
|
|
467
468
|
};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import "@arcgis/toolkit/intl";
|
|
2
2
|
import "lodash-es";
|
|
3
|
-
import { W as
|
|
3
|
+
import { W as P } from "./series-types.js";
|
|
4
4
|
import "d3-array";
|
|
5
|
-
import {
|
|
5
|
+
import { aw as d, bd as A, b6 as D, cX as N, aB as V, ap as E, bx as p, at as f, au as y } from "./index.js";
|
|
6
6
|
import "@arcgis/core/Graphic.js";
|
|
7
7
|
import "@arcgis/core/renderers/support/jsonUtils.js";
|
|
8
8
|
import "@arcgis/core/symbols/support/symbolUtils.js";
|
|
@@ -20,25 +20,28 @@ import "@arcgis/core/rest/support/StatisticDefinition.js";
|
|
|
20
20
|
import "@arcgis/core/time/TimeExtent.js";
|
|
21
21
|
import "@arcgis/core/core/promiseUtils.js";
|
|
22
22
|
import "./runtime.js";
|
|
23
|
-
import { j as l } from "./
|
|
23
|
+
import { j as l } from "./index4.js";
|
|
24
24
|
import "@arcgis/toolkit/dom";
|
|
25
|
-
import { C as T,
|
|
26
|
-
import { B as
|
|
27
|
-
import { W as
|
|
28
|
-
import {
|
|
29
|
-
import {
|
|
30
|
-
import {
|
|
25
|
+
import { C as T, K as R, L as m, N as U, O as u, q as z, r as j, t as K, v as Y } from "./model-with-multi-axes.js";
|
|
26
|
+
import { B as k } from "./common.js";
|
|
27
|
+
import { W as q, a as X } from "./data-labels-visibility.js";
|
|
28
|
+
import { W as G } from "./rotated-state.js";
|
|
29
|
+
import { W as H } from "./data-labels-symbol.js";
|
|
30
|
+
import { c as J, b as Q, a as Z } from "./utils.js";
|
|
31
|
+
import { s as $, g as ee, a as te, b as se, c as ie, d as S, e as _, f as L, h as C, i as B, j as re, k as oe, l as ne, m as F, n as ae, o as le, p as he, q as ce, r as M, t as de, u as v, v as ge, w, x as pe, y as fe, z as ye, A as me, B as ue, C as Se, D as x } from "./box-plot-data.js";
|
|
32
|
+
import { m as o } from "./model-setter.js";
|
|
33
|
+
import { log as b } from "@arcgis/toolkit/log";
|
|
31
34
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
32
35
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
33
|
-
v5.0.0-next.
|
|
34
|
-
var
|
|
35
|
-
for (var r =
|
|
36
|
+
v5.0.0-next.116 */
|
|
37
|
+
var _e = Object.defineProperty, Le = Object.getOwnPropertyDescriptor, n = (c, e, t, s) => {
|
|
38
|
+
for (var r = Le(e, t), a = c.length - 1, h; a >= 0; a--)
|
|
36
39
|
(h = c[a]) && (r = h(e, t, r) || r);
|
|
37
|
-
return r &&
|
|
40
|
+
return r && _e(e, t, r), r;
|
|
38
41
|
};
|
|
39
42
|
class i extends T {
|
|
40
43
|
constructor() {
|
|
41
|
-
super(...arguments), this._chartType =
|
|
44
|
+
super(...arguments), this._chartType = P.BoxPlotSeries, this._category = d, this._splitByField = "", this._numericFields = [];
|
|
42
45
|
}
|
|
43
46
|
async setup(e) {
|
|
44
47
|
await this.loadConfigFromLayer(e), this.setupLocalProps(), e.config !== void 0 && await this.updateSeriesFromLayerFilter(), typeof this.resolveSetup == "function" && this.resolveSetup();
|
|
@@ -64,7 +67,7 @@ class i extends T {
|
|
|
64
67
|
}
|
|
65
68
|
set numericFields(e) {
|
|
66
69
|
const { layerFieldsInfo: t } = this.layerInfo;
|
|
67
|
-
typeof e == "string" && (e = [e]),
|
|
70
|
+
typeof e == "string" && (e = [e]), J(t, e) ? (this._numericFields = e, this.dirtyAsyncSetters.push("numericFields"), $(this._category, this._numericFields) && (this._splitByField = "", this.dirtyAsyncSetters.push("splitByField")), this.processSeriesRebuild()) : b("error", "box-plot-model", "Invalid `numericFields`");
|
|
68
71
|
}
|
|
69
72
|
/**
|
|
70
73
|
* The split-by field for the box plot.
|
|
@@ -73,16 +76,16 @@ class i extends T {
|
|
|
73
76
|
return this._splitByField;
|
|
74
77
|
}
|
|
75
78
|
set splitByField(e) {
|
|
76
|
-
|
|
79
|
+
Q(this.layerInfo.layerFieldsInfo, e) ? (this._splitByField = e, this.dirtyAsyncSetters.push("splitByField"), this.processSeriesRebuild()) : b("error", "box-plot-model", "Invalid `splitByField`");
|
|
77
80
|
}
|
|
78
81
|
/**
|
|
79
82
|
* Whether outliers are shown.
|
|
80
83
|
*/
|
|
81
84
|
get showOutliers() {
|
|
82
|
-
return
|
|
85
|
+
return ee(this._config);
|
|
83
86
|
}
|
|
84
87
|
set showOutliers(e) {
|
|
85
|
-
|
|
88
|
+
te({
|
|
86
89
|
newShowOutliers: e,
|
|
87
90
|
config: this._config,
|
|
88
91
|
layerInfo: this.layerInfo,
|
|
@@ -93,10 +96,10 @@ class i extends T {
|
|
|
93
96
|
* Whether values are standardized as z-scores.
|
|
94
97
|
*/
|
|
95
98
|
get standardizeValues() {
|
|
96
|
-
return
|
|
99
|
+
return se(this._config);
|
|
97
100
|
}
|
|
98
101
|
set standardizeValues(e) {
|
|
99
|
-
|
|
102
|
+
ie({
|
|
100
103
|
newStandardizeValues: e,
|
|
101
104
|
config: this._config,
|
|
102
105
|
layerInfo: this.layerInfo,
|
|
@@ -121,7 +124,7 @@ class i extends T {
|
|
|
121
124
|
async setDataFilters(e) {
|
|
122
125
|
super.setDataFilters(e);
|
|
123
126
|
const t = S(this._config);
|
|
124
|
-
if (t ===
|
|
127
|
+
if (t === k.customSort) {
|
|
125
128
|
this.startAsyncUpdate();
|
|
126
129
|
const s = await L(this._config, this.layerInfo);
|
|
127
130
|
_(t, this._config, s), this.finishAsyncUpdate();
|
|
@@ -151,10 +154,10 @@ class i extends T {
|
|
|
151
154
|
* Whether mean lines are shown.
|
|
152
155
|
*/
|
|
153
156
|
get showMeanLines() {
|
|
154
|
-
return
|
|
157
|
+
return re(this._config);
|
|
155
158
|
}
|
|
156
159
|
set showMeanLines(e) {
|
|
157
|
-
const { previousMeanLinesBoxColor: t } =
|
|
160
|
+
const { previousMeanLinesBoxColor: t } = oe({
|
|
158
161
|
newShowMeanLines: e,
|
|
159
162
|
config: this._config,
|
|
160
163
|
commonStrings: this.commonStrings,
|
|
@@ -166,7 +169,7 @@ class i extends T {
|
|
|
166
169
|
* The color of the boxes when showing mean lines. Only applicable when mean lines are shown.
|
|
167
170
|
*/
|
|
168
171
|
get meanLinesBoxColor() {
|
|
169
|
-
return
|
|
172
|
+
return ne(this._config);
|
|
170
173
|
}
|
|
171
174
|
set meanLinesBoxColor(e) {
|
|
172
175
|
F(e, this._config);
|
|
@@ -178,10 +181,10 @@ class i extends T {
|
|
|
178
181
|
* Sets up the local props based on the current config.
|
|
179
182
|
*/
|
|
180
183
|
setupLocalProps() {
|
|
181
|
-
this._category =
|
|
184
|
+
this._category = ae(this._config), this._splitByField = le(this._config), this._numericFields = he(this._config);
|
|
182
185
|
}
|
|
183
186
|
generateDefaultConfig() {
|
|
184
|
-
const e =
|
|
187
|
+
const e = A(this.commonStrings);
|
|
185
188
|
return e.series = [D(this.commonStrings)], e;
|
|
186
189
|
}
|
|
187
190
|
resetConfig() {
|
|
@@ -195,7 +198,7 @@ class i extends T {
|
|
|
195
198
|
* - there are multiple numeric fields
|
|
196
199
|
*/
|
|
197
200
|
canUseSynchronousSeriesRebuild() {
|
|
198
|
-
return !
|
|
201
|
+
return !ce(this.category, this.numericFields, this.splitByField);
|
|
199
202
|
}
|
|
200
203
|
/**
|
|
201
204
|
* Processes the series rebuild.
|
|
@@ -240,7 +243,7 @@ class i extends T {
|
|
|
240
243
|
* @param seriesIndex - The index of the series.
|
|
241
244
|
*/
|
|
242
245
|
getSeriesName(e) {
|
|
243
|
-
return
|
|
246
|
+
return de(e, this._config);
|
|
244
247
|
}
|
|
245
248
|
setSeriesName(e, t) {
|
|
246
249
|
v(e, t, this._config);
|
|
@@ -251,7 +254,7 @@ class i extends T {
|
|
|
251
254
|
* @param seriesIndex - The index of the series.
|
|
252
255
|
*/
|
|
253
256
|
getSeriesColor(e) {
|
|
254
|
-
return
|
|
257
|
+
return ge(e, this._config);
|
|
255
258
|
}
|
|
256
259
|
setSeriesColor(e, t) {
|
|
257
260
|
w(e, t, this._config);
|
|
@@ -270,7 +273,7 @@ class i extends T {
|
|
|
270
273
|
}
|
|
271
274
|
setSeriesLineStyle(e, t) {
|
|
272
275
|
const s = this._config.series[t];
|
|
273
|
-
this.showMeanLines === !0 && l(s) &&
|
|
276
|
+
this.showMeanLines === !0 && l(s) && m(e, s);
|
|
274
277
|
}
|
|
275
278
|
/**
|
|
276
279
|
* Gets the line width of the series based on the series index. If the index is out of bounds, it will return `undefined`.
|
|
@@ -286,19 +289,19 @@ class i extends T {
|
|
|
286
289
|
}
|
|
287
290
|
setSeriesLineWidth(e, t) {
|
|
288
291
|
const s = this._config.series[t];
|
|
289
|
-
this.showMeanLines === !0 && l(s) &&
|
|
292
|
+
this.showMeanLines === !0 && l(s) && u(e, s);
|
|
290
293
|
}
|
|
291
294
|
/**
|
|
292
295
|
* The order of the series array by returning an array of series ids.
|
|
293
296
|
*/
|
|
294
297
|
get orderOfSeries() {
|
|
295
|
-
return
|
|
298
|
+
return pe(this._config);
|
|
296
299
|
}
|
|
297
300
|
set orderOfSeries(e) {
|
|
298
|
-
|
|
301
|
+
fe(e, this._config);
|
|
299
302
|
}
|
|
300
303
|
moveSeries(e, t) {
|
|
301
|
-
|
|
304
|
+
ye(e, t, this._config);
|
|
302
305
|
}
|
|
303
306
|
/**
|
|
304
307
|
* The index of the box plot series in the series array in config object when show mean is true.
|
|
@@ -306,7 +309,7 @@ class i extends T {
|
|
|
306
309
|
* **Note**: There is only one box plot series when show mean is true. The function returns '-1' if show mean is false.
|
|
307
310
|
*/
|
|
308
311
|
get boxPlotSeriesIndexWhenMeanLinesShown() {
|
|
309
|
-
return
|
|
312
|
+
return me(this._config);
|
|
310
313
|
}
|
|
311
314
|
moveCustomSortValuesInOrderByList(e, t) {
|
|
312
315
|
const s = C(this._config), [r] = s.splice(e, 1);
|
|
@@ -331,7 +334,7 @@ class i extends T {
|
|
|
331
334
|
* Generate the proper y-axis title given the current config.
|
|
332
335
|
*/
|
|
333
336
|
generateYAxisTitle() {
|
|
334
|
-
return
|
|
337
|
+
return Se(this._config, this.layerInfo, this.commonStrings);
|
|
335
338
|
}
|
|
336
339
|
resetSeriesStyling() {
|
|
337
340
|
for (let e = this.showMeanLines === !0 ? 1 : 0; e < this.seriesLength; e += 1) {
|
|
@@ -346,7 +349,7 @@ class i extends T {
|
|
|
346
349
|
layerInfo: this.layerInfo,
|
|
347
350
|
commonStrings: this.commonStrings
|
|
348
351
|
});
|
|
349
|
-
v(a ?? t, e, this._config), this.showMeanLines === !0 && l(r) && (
|
|
352
|
+
v(a ?? t, e, this._config), this.showMeanLines === !0 && l(r) && (m(f, r), u(y, r));
|
|
350
353
|
}
|
|
351
354
|
this.showMeanLines === !0 && F(p, this._config), this._config.colorMatch = !0;
|
|
352
355
|
}
|
|
@@ -363,14 +366,14 @@ class i extends T {
|
|
|
363
366
|
splitByField: this._splitByField,
|
|
364
367
|
layerInfo: this.layerInfo,
|
|
365
368
|
commonStrings: this.commonStrings
|
|
366
|
-
}),
|
|
367
|
-
if (g !== void 0 && g !==
|
|
369
|
+
}), I = this.getSeriesName(a);
|
|
370
|
+
if (g !== void 0 && g !== I) {
|
|
368
371
|
s = !0;
|
|
369
372
|
break;
|
|
370
373
|
}
|
|
371
374
|
if (this.showMeanLines === !0 && l(h)) {
|
|
372
|
-
const
|
|
373
|
-
if (
|
|
375
|
+
const O = this.getSeriesLineStyle(a), W = this.getSeriesLineWidth(a);
|
|
376
|
+
if (O !== f || W !== y) {
|
|
374
377
|
r = !0;
|
|
375
378
|
break;
|
|
376
379
|
}
|
|
@@ -427,15 +430,17 @@ n([
|
|
|
427
430
|
n([
|
|
428
431
|
o
|
|
429
432
|
], i.prototype, "resetSeriesStyling");
|
|
430
|
-
|
|
433
|
+
const Ce = [
|
|
431
434
|
z,
|
|
432
435
|
j,
|
|
433
|
-
Y,
|
|
434
|
-
Q,
|
|
435
436
|
K,
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
437
|
+
q,
|
|
438
|
+
G,
|
|
439
|
+
X,
|
|
440
|
+
H,
|
|
441
|
+
Y
|
|
442
|
+
];
|
|
443
|
+
Z(i, Ce);
|
|
439
444
|
export {
|
|
440
445
|
i as BoxPlotModel
|
|
441
446
|
};
|