@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
|
@@ -3,7 +3,7 @@ import { W as p } from "./series-types.js";
|
|
|
3
3
|
import "@arcgis/toolkit/intl";
|
|
4
4
|
import { cloneDeep as M } from "lodash-es";
|
|
5
5
|
import "d3-array";
|
|
6
|
-
import {
|
|
6
|
+
import { aP as d, b7 as v, aL as S, av as P, o as b, de as f, Z as W, bg as A, b9 as w, bJ as G } from "./index.js";
|
|
7
7
|
import "@arcgis/core/geometry/support/jsonUtils.js";
|
|
8
8
|
import "@arcgis/core/rest/support/AttributeBinsQuery.js";
|
|
9
9
|
import "@arcgis/core/rest/support/Query.js";
|
|
@@ -13,10 +13,12 @@ import "@arcgis/core/core/promiseUtils.js";
|
|
|
13
13
|
import "@arcgis/core/request.js";
|
|
14
14
|
import "./runtime.js";
|
|
15
15
|
import "@arcgis/toolkit/dom";
|
|
16
|
-
import { r as T, C as k, t as z
|
|
17
|
-
import {
|
|
16
|
+
import { r as T, C as k, t as z } from "./model-with-multi-axes.js";
|
|
17
|
+
import { m as s } from "./model-setter.js";
|
|
18
18
|
import { b as c, a as h } from "./common.js";
|
|
19
|
-
import { W as
|
|
19
|
+
import { W as B, a as E } from "./data-labels-visibility.js";
|
|
20
|
+
import { W as R } from "./data-labels-symbol.js";
|
|
21
|
+
import { a as V, c as j, e as U } from "./utils.js";
|
|
20
22
|
import "@arcgis/core/Graphic.js";
|
|
21
23
|
import "@arcgis/core/renderers/support/jsonUtils.js";
|
|
22
24
|
import "@arcgis/core/symbols/support/symbolUtils.js";
|
|
@@ -26,26 +28,26 @@ import "@arcgis/core/smartMapping/statistics/histogram.js";
|
|
|
26
28
|
import "@arcgis/core/smartMapping/statistics/summaryStatistics.js";
|
|
27
29
|
import "simple-statistics";
|
|
28
30
|
import "@arcgis/core/AttributeBinsGraphic.js";
|
|
29
|
-
import { g as
|
|
30
|
-
import {
|
|
31
|
+
import { g as _, s as K, a as $, c as J, b as Z, d as q, e as H, f as Q, h as L, i as O, j as X } from "./pie-chart-data.js";
|
|
32
|
+
import { f as y } from "./rest-js-object-literals.js";
|
|
31
33
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
32
34
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
33
|
-
v5.0.0-next.
|
|
34
|
-
const Y = (t) => t.legend?.displayNumericValue ?? !1,
|
|
35
|
+
v5.0.0-next.116 */
|
|
36
|
+
const Y = (t) => t.legend?.displayNumericValue ?? !1, ee = (t, e) => {
|
|
35
37
|
e.series[0]?.type === p.PieSeries && (e.legend === void 0 && (e.legend = d()), e.legend.displayNumericValue = t);
|
|
36
|
-
},
|
|
38
|
+
}, te = (t) => t.legend?.displayCategory ?? !1, ie = (t, e) => {
|
|
37
39
|
e.series[0]?.type === p.PieSeries && (e.legend === void 0 && (e.legend = d()), e.legend.displayCategory = t);
|
|
38
|
-
},
|
|
40
|
+
}, se = (t) => t.legend?.displayPercentage ?? !1, re = (t, e) => {
|
|
39
41
|
e.series[0]?.type === p.PieSeries && (e.legend === void 0 && (e.legend = d()), e.legend.displayPercentage = t);
|
|
40
|
-
},
|
|
42
|
+
}, ae = (t) => t.legend?.labelMaxWidth ?? 200, oe = (t, e) => {
|
|
41
43
|
e.series[0]?.type === p.PieSeries && (e.legend === void 0 && (e.legend = d()), e.legend.labelMaxWidth = t);
|
|
42
|
-
},
|
|
44
|
+
}, le = (t) => t.legend?.valueLabelMaxWidth ?? 200, ne = (t, e) => {
|
|
43
45
|
e.series[0]?.type === p.PieSeries && (e.legend === void 0 && (e.legend = d()), e.legend.valueLabelMaxWidth = t);
|
|
44
46
|
};
|
|
45
|
-
var
|
|
46
|
-
for (var l =
|
|
47
|
+
var ge = Object.defineProperty, ce = Object.getOwnPropertyDescriptor, m = (t, e, i, o) => {
|
|
48
|
+
for (var l = ce(e, i), n = t.length - 1, g; n >= 0; n--)
|
|
47
49
|
(g = t[n]) && (l = g(e, i, l) || l);
|
|
48
|
-
return l &&
|
|
50
|
+
return l && ge(e, i, l), l;
|
|
49
51
|
};
|
|
50
52
|
class u extends T {
|
|
51
53
|
/**
|
|
@@ -57,7 +59,7 @@ class u extends T {
|
|
|
57
59
|
return Y(this._config);
|
|
58
60
|
}
|
|
59
61
|
setDisplayNumericValue(e) {
|
|
60
|
-
|
|
62
|
+
ee(e, this._config);
|
|
61
63
|
}
|
|
62
64
|
/**
|
|
63
65
|
* Gets the setting for the display of percentage in the legend items.
|
|
@@ -65,10 +67,10 @@ class u extends T {
|
|
|
65
67
|
* **Note**: This setting is only applicable to pie charts.
|
|
66
68
|
*/
|
|
67
69
|
getDisplayPercentage() {
|
|
68
|
-
return
|
|
70
|
+
return se(this._config);
|
|
69
71
|
}
|
|
70
72
|
setDisplayPercentage(e) {
|
|
71
|
-
|
|
73
|
+
re(e, this._config);
|
|
72
74
|
}
|
|
73
75
|
/**
|
|
74
76
|
* Gets the maximum width in pixel for the legend item labels.
|
|
@@ -76,29 +78,29 @@ class u extends T {
|
|
|
76
78
|
* **Note**: This setting is only applicable to pie charts.
|
|
77
79
|
*/
|
|
78
80
|
getLabelMaxWidth() {
|
|
79
|
-
return
|
|
81
|
+
return ae(this._config);
|
|
80
82
|
}
|
|
81
83
|
setLabelMaxWidth(e) {
|
|
82
|
-
|
|
84
|
+
oe(e, this._config);
|
|
83
85
|
}
|
|
84
86
|
/**
|
|
85
87
|
* The maximum width in pixel for the legend value labels.
|
|
86
88
|
* @returns {number}
|
|
87
89
|
*/
|
|
88
90
|
get valueLabelMaxWidth() {
|
|
89
|
-
return
|
|
91
|
+
return le(this._config);
|
|
90
92
|
}
|
|
91
93
|
set valueLabelMaxWidth(e) {
|
|
92
|
-
|
|
94
|
+
ne(e, this._config), this.emitConfigUpdate("valueLabelMaxWidth");
|
|
93
95
|
}
|
|
94
96
|
/**
|
|
95
97
|
* Whether to display the category in the legend.
|
|
96
98
|
*/
|
|
97
99
|
get displayCategory() {
|
|
98
|
-
return
|
|
100
|
+
return te(this._config);
|
|
99
101
|
}
|
|
100
102
|
set displayCategory(e) {
|
|
101
|
-
|
|
103
|
+
ie(e, this._config), this.emitConfigUpdate("displayCategory");
|
|
102
104
|
}
|
|
103
105
|
}
|
|
104
106
|
m([
|
|
@@ -110,73 +112,74 @@ m([
|
|
|
110
112
|
m([
|
|
111
113
|
s
|
|
112
114
|
], u.prototype, "setLabelMaxWidth");
|
|
113
|
-
|
|
114
|
-
|
|
115
|
+
const pe = [T];
|
|
116
|
+
V(u, pe);
|
|
117
|
+
const de = (t) => t.series?.[0]?.innerRadius, ue = (t, e) => {
|
|
115
118
|
e.series?.[0] && (e.series[0].innerRadius = t);
|
|
116
|
-
},
|
|
119
|
+
}, fe = (t) => t.series?.[0]?.dataLabelsCharacterLimit, he = (t, e) => {
|
|
117
120
|
e.series?.[0] && (e.series[0].dataLabelsCharacterLimit = t);
|
|
118
|
-
}, D = (t) => t.series[0]?.startAngle,
|
|
121
|
+
}, D = (t) => t.series[0]?.startAngle, ye = (t, e) => {
|
|
119
122
|
e.series?.[0] && (e.series[0].startAngle = t);
|
|
120
|
-
},
|
|
123
|
+
}, me = (t, e) => {
|
|
121
124
|
e.series?.[0] && (e.series[0].endAngle = t);
|
|
122
|
-
},
|
|
125
|
+
}, Se = (t) => t.series?.[0]?.displayCategoryOnTooltip ?? !0, be = (t) => t.series?.[0]?.displayCategoryOnDataLabel ?? !0, _e = (t) => t.series?.[0]?.displayNumericValueOnDataLabel ?? !0, Le = (t) => t.series?.[0]?.displayPercentageOnDataLabel ?? !1, Oe = (t) => t.series?.[0]?.displayNumericValueOnTooltip ?? !0, De = (t) => t.series?.[0]?.displayPercentageOnTooltip ?? !0, Ce = (t, e) => {
|
|
123
126
|
e.series[0] && (e.series[0].displayPercentageOnTooltip = t);
|
|
124
|
-
},
|
|
127
|
+
}, ve = (t) => t.series?.[0]?.valuePrefix, Pe = (t, e) => {
|
|
125
128
|
e.series?.[0] && (e.series[0].valuePrefix = t);
|
|
126
|
-
},
|
|
129
|
+
}, Te = (t) => t.series?.[0]?.valueSuffix, Ve = (t, e) => {
|
|
127
130
|
e.series?.[0] && (e.series[0].valueSuffix = t);
|
|
128
|
-
},
|
|
131
|
+
}, xe = (t) => t.series?.[0]?.percentagePrefix, Ie = (t, e) => {
|
|
129
132
|
e.series?.[0] && (e.series[0].percentagePrefix = t);
|
|
130
|
-
},
|
|
133
|
+
}, Ne = (t) => t.series?.[0]?.percentageSuffix, Fe = (t, e) => {
|
|
131
134
|
e.series?.[0] && (e.series[0].percentageSuffix = t);
|
|
132
|
-
},
|
|
135
|
+
}, Me = (t) => {
|
|
133
136
|
let e;
|
|
134
137
|
const i = t.series?.[0];
|
|
135
138
|
return i?.displayNumericValueOnDataLabel === !0 && i?.displayPercentageOnDataLabel === !0 ? e = c.Both : i?.displayNumericValueOnDataLabel === !0 ? e = c.Value : e = c.Percentage, e;
|
|
136
|
-
},
|
|
139
|
+
}, We = (t, e) => {
|
|
137
140
|
const i = t === c.Value || t === c.Both, o = t === c.Percentage || t === c.Both;
|
|
138
141
|
e.series?.[0] && (e.series[0].displayNumericValueOnDataLabel = i, e.series[0].displayPercentageOnDataLabel = o), e.legend && (e.legend = {
|
|
139
142
|
...e.legend,
|
|
140
143
|
displayNumericValue: i,
|
|
141
144
|
displayPercentage: o
|
|
142
145
|
});
|
|
143
|
-
},
|
|
146
|
+
}, Ae = (t) => t.series?.[0]?.alignDataLabels ?? !1, we = (t, e) => {
|
|
144
147
|
e.series[0] && (e.series[0].alignDataLabels = t);
|
|
145
|
-
},
|
|
148
|
+
}, Ge = (t) => t.series?.[0]?.dataLabelsInside ?? !1, ke = (t, e) => {
|
|
146
149
|
e.series[0] && (e.series[0].dataLabelsInside = t);
|
|
147
|
-
},
|
|
150
|
+
}, ze = (t) => t.series?.[0]?.dataLabelsOffset ?? 10, Be = (t, e) => {
|
|
148
151
|
e.series[0] && (e.series[0].dataLabelsOffset = t);
|
|
149
|
-
},
|
|
152
|
+
}, Ee = (t) => t.series?.[0]?.numericValueFormat?.intlOptions?.minimumFractionDigits, Re = (t, e) => {
|
|
150
153
|
e.series?.[0] && (e.series[0].numericValueFormat ??= S(), e.series[0].numericValueFormat.intlOptions.minimumFractionDigits = t, e.series[0].numericValueFormat.intlOptions.maximumFractionDigits = t, e.series[0].percentValueFormat ??= S(), e.series[0].percentValueFormat.intlOptions.minimumFractionDigits = t, e.series[0].percentValueFormat.intlOptions.maximumFractionDigits = t);
|
|
151
|
-
},
|
|
154
|
+
}, je = (t) => t.series?.[0]?.optimizeDataLabelsOverlapping ?? !1, Ue = (t, e) => {
|
|
152
155
|
e.series[0] && (e.series[0].optimizeDataLabelsOverlapping = t);
|
|
153
|
-
},
|
|
156
|
+
}, Ke = (t) => t.series[0]?.ticks?.visible ?? !1, $e = (t, e) => {
|
|
154
157
|
e.series?.[0] && (e.series[0].ticks ??= v(), e.series[0].ticks.visible = t);
|
|
155
|
-
},
|
|
158
|
+
}, Je = (t) => t.series[0]?.ticks?.lineSymbol, Ze = (t, e) => {
|
|
156
159
|
t && e.series?.[0] && (e.series[0].ticks ??= v(), e.series[0].ticks.lineSymbol = M(t));
|
|
157
|
-
}, qe = (t, e) => e.series?.[0]?.slices?.[t]?.originalLabel, He = (t, e) => e.series?.[0]?.slices?.[t]?.label,
|
|
160
|
+
}, qe = (t, e) => e.series?.[0]?.slices?.[t]?.originalLabel, He = (t, e) => e.series?.[0]?.slices?.[t]?.label, Qe = (t, e, i) => {
|
|
158
161
|
i.series?.[0]?.slices?.[e] && (i.series[0].slices[e].label = t);
|
|
159
|
-
},
|
|
162
|
+
}, Xe = (t, e) => e.series?.[0]?.slices?.[t]?.fillSymbol?.color, Ye = (t, e, i) => {
|
|
160
163
|
const o = i.series?.[0]?.slices?.[e]?.fillSymbol;
|
|
161
164
|
o !== void 0 ? (o.color = t, o.outline !== void 0 ? o.outline.color = t : o.outline = { type: y.SLS, color: t }) : i.series?.[0]?.slices?.[e] !== void 0 && (i.series[0].slices[e].fillSymbol = {
|
|
162
165
|
type: y.SFS,
|
|
163
166
|
color: t,
|
|
164
167
|
outline: { type: y.SLS, color: t }
|
|
165
168
|
});
|
|
166
|
-
},
|
|
169
|
+
}, et = (t) => t.series?.[0]?.slices?.map((e) => e.sliceId), C = (t, e) => {
|
|
167
170
|
e.series?.[0]?.slices?.sort(
|
|
168
171
|
(i, o) => t.findIndex((l) => i.sliceId === l) - t.findIndex((l) => o.sliceId === l)
|
|
169
172
|
);
|
|
170
|
-
},
|
|
173
|
+
}, tt = (t) => t.series?.[0]?.sliceGrouping, x = (t, e) => {
|
|
171
174
|
e.series?.[0] && (e.series[0].sliceGrouping = t);
|
|
172
|
-
}, I = (t) => t.series?.[0]?.sliceGrouping?.percentageThreshold,
|
|
175
|
+
}, I = (t) => t.series?.[0]?.sliceGrouping?.percentageThreshold, it = (t, e) => {
|
|
173
176
|
e.series?.[0]?.sliceGrouping !== void 0 ? e.series[0].sliceGrouping.percentageThreshold = t : e.series[0].sliceGrouping = {
|
|
174
177
|
sliceId: P.defaultGroupOfSlicesId,
|
|
175
178
|
percentageThreshold: t
|
|
176
179
|
};
|
|
177
|
-
},
|
|
180
|
+
}, st = (t) => t.series?.[0]?.slices, N = (t, e) => {
|
|
178
181
|
e.series?.[0] && (e.series[0].slices = t);
|
|
179
|
-
},
|
|
182
|
+
}, rt = (t) => {
|
|
180
183
|
N(void 0, t), x(
|
|
181
184
|
{
|
|
182
185
|
sliceId: P.defaultGroupOfSlicesId,
|
|
@@ -184,11 +187,11 @@ const ce = (t) => t.series?.[0]?.innerRadius, pe = (t, e) => {
|
|
|
184
187
|
},
|
|
185
188
|
t
|
|
186
189
|
);
|
|
187
|
-
},
|
|
188
|
-
var
|
|
189
|
-
for (var l =
|
|
190
|
+
}, at = (t, e) => e.series[0]?.slices?.[t]?.sliceId, ot = (t, e) => e.series[0]?.slices?.findIndex((i) => i.sliceId === t), lt = (t) => t.series[0]?.slices?.length ?? 0;
|
|
191
|
+
var nt = Object.defineProperty, gt = Object.getOwnPropertyDescriptor, a = (t, e, i, o) => {
|
|
192
|
+
for (var l = gt(e, i), n = t.length - 1, g; n >= 0; n--)
|
|
190
193
|
(g = t[n]) && (l = g(e, i, l) || l);
|
|
191
|
-
return l &&
|
|
194
|
+
return l && nt(e, i, l), l;
|
|
192
195
|
};
|
|
193
196
|
class r extends k {
|
|
194
197
|
constructor() {
|
|
@@ -198,7 +201,7 @@ class r extends k {
|
|
|
198
201
|
await this.loadConfigFromLayer(e);
|
|
199
202
|
const { config: i } = e;
|
|
200
203
|
if (i !== void 0) {
|
|
201
|
-
const o =
|
|
204
|
+
const o = b(i.series);
|
|
202
205
|
this._mode = o !== f.PieFromFields ? h.Category : h.Fields;
|
|
203
206
|
}
|
|
204
207
|
typeof this.resolveSetup == "function" && this.resolveSetup();
|
|
@@ -210,10 +213,10 @@ class r extends k {
|
|
|
210
213
|
* Category field for the pie chart.
|
|
211
214
|
*/
|
|
212
215
|
get category() {
|
|
213
|
-
return
|
|
216
|
+
return _(this._config);
|
|
214
217
|
}
|
|
215
218
|
set category(e) {
|
|
216
|
-
(!
|
|
219
|
+
(!W(this._config) || e.trim() !== "") && (K({
|
|
217
220
|
newCategory: e,
|
|
218
221
|
config: this._config,
|
|
219
222
|
layerInfo: this.layerInfo,
|
|
@@ -225,10 +228,10 @@ class r extends k {
|
|
|
225
228
|
* Numeric fields for the pie chart.
|
|
226
229
|
*/
|
|
227
230
|
get numericFields() {
|
|
228
|
-
return
|
|
231
|
+
return $(this._config);
|
|
229
232
|
}
|
|
230
233
|
set numericFields(e) {
|
|
231
|
-
typeof e == "string" && (e = [e]), (this.layerInfo !== void 0 ?
|
|
234
|
+
typeof e == "string" && (e = [e]), (this.layerInfo !== void 0 ? j(this.layerInfo.layerFieldsInfo, e) : !0) ? (J({
|
|
232
235
|
newNumericFields: e,
|
|
233
236
|
config: this._config,
|
|
234
237
|
layerInfo: this.layerInfo,
|
|
@@ -240,10 +243,10 @@ class r extends k {
|
|
|
240
243
|
* Aggregation type for the pie chart.
|
|
241
244
|
*/
|
|
242
245
|
get aggregationType() {
|
|
243
|
-
return
|
|
246
|
+
return Z(this._config, this._mode);
|
|
244
247
|
}
|
|
245
248
|
set aggregationType(e) {
|
|
246
|
-
|
|
249
|
+
q({
|
|
247
250
|
newAggregationType: e,
|
|
248
251
|
config: this._config,
|
|
249
252
|
layerInfo: this.layerInfo,
|
|
@@ -255,7 +258,7 @@ class r extends k {
|
|
|
255
258
|
* Gets the sort order for the pie chart.
|
|
256
259
|
*/
|
|
257
260
|
getSortOrder() {
|
|
258
|
-
return
|
|
261
|
+
return H(this._config, this._mode);
|
|
259
262
|
}
|
|
260
263
|
setSortOrder(e, i) {
|
|
261
264
|
Q({
|
|
@@ -268,10 +271,10 @@ class r extends k {
|
|
|
268
271
|
* List of category's values for custom sort
|
|
269
272
|
*/
|
|
270
273
|
get orderByList() {
|
|
271
|
-
return
|
|
274
|
+
return L(this._config, this._mode);
|
|
272
275
|
}
|
|
273
276
|
set orderByList(e) {
|
|
274
|
-
|
|
277
|
+
O({
|
|
275
278
|
values: e,
|
|
276
279
|
config: this._config,
|
|
277
280
|
mode: this._mode
|
|
@@ -292,17 +295,17 @@ class r extends k {
|
|
|
292
295
|
* Gets the list of the category values for the chart.
|
|
293
296
|
*/
|
|
294
297
|
async getCustomSortValues() {
|
|
295
|
-
const e =
|
|
298
|
+
const e = _(this._config), i = b(this._config.series);
|
|
296
299
|
let o = [];
|
|
297
|
-
return i === f.PieFromFields ? o = this.numericFields : e.trim() !== "" && i === f.PieFromCategory && (o = await
|
|
300
|
+
return i === f.PieFromFields ? o = this.numericFields : e.trim() !== "" && i === f.PieFromCategory && (o = await U({
|
|
298
301
|
category: e,
|
|
299
302
|
config: this._config,
|
|
300
303
|
layerInfo: this.layerInfo
|
|
301
304
|
})), o;
|
|
302
305
|
}
|
|
303
306
|
moveCustomSortValuesInOrderByList(e, i) {
|
|
304
|
-
const o =
|
|
305
|
-
o.splice(i, 0, l),
|
|
307
|
+
const o = L(this._config, this._mode), [l] = o.splice(e, 1);
|
|
308
|
+
o.splice(i, 0, l), O({
|
|
306
309
|
values: o,
|
|
307
310
|
config: this._config,
|
|
308
311
|
mode: this._mode
|
|
@@ -315,10 +318,10 @@ class r extends k {
|
|
|
315
318
|
* Ticks symbol connecting slices to labels.
|
|
316
319
|
*/
|
|
317
320
|
get ticksSymbol() {
|
|
318
|
-
return
|
|
321
|
+
return Je(this._config);
|
|
319
322
|
}
|
|
320
323
|
set ticksSymbol(e) {
|
|
321
|
-
|
|
324
|
+
Ze(e, this._config);
|
|
322
325
|
}
|
|
323
326
|
// ---------------------------------------------------------------------------------------------
|
|
324
327
|
// #region Slices Props
|
|
@@ -327,7 +330,7 @@ class r extends k {
|
|
|
327
330
|
* Array of slices for the pie chart.
|
|
328
331
|
*/
|
|
329
332
|
get slices() {
|
|
330
|
-
return
|
|
333
|
+
return st(this._config);
|
|
331
334
|
}
|
|
332
335
|
set slices(e) {
|
|
333
336
|
N(e, this._config);
|
|
@@ -345,7 +348,7 @@ class r extends k {
|
|
|
345
348
|
* Slice grouping configuration for the pie chart.
|
|
346
349
|
*/
|
|
347
350
|
get sliceGrouping() {
|
|
348
|
-
return
|
|
351
|
+
return tt(this._config);
|
|
349
352
|
}
|
|
350
353
|
set sliceGrouping(e) {
|
|
351
354
|
x(e, this._config);
|
|
@@ -354,10 +357,10 @@ class r extends k {
|
|
|
354
357
|
* Inner radius size for the pie chart.
|
|
355
358
|
*/
|
|
356
359
|
get innerRadiusSize() {
|
|
357
|
-
return
|
|
360
|
+
return de(this._config) ?? 0;
|
|
358
361
|
}
|
|
359
362
|
set innerRadiusSize(e) {
|
|
360
|
-
|
|
363
|
+
ue(e, this._config);
|
|
361
364
|
}
|
|
362
365
|
/**
|
|
363
366
|
* Threshold below which slices will be grouped.
|
|
@@ -366,40 +369,40 @@ class r extends k {
|
|
|
366
369
|
return I(this._config) ?? 0;
|
|
367
370
|
}
|
|
368
371
|
set groupingThreshold(e) {
|
|
369
|
-
|
|
372
|
+
it(e, this._config);
|
|
370
373
|
}
|
|
371
374
|
/**
|
|
372
375
|
* Character limit for the slice labels.
|
|
373
376
|
*/
|
|
374
377
|
get labelCharacterLimit() {
|
|
375
|
-
return
|
|
378
|
+
return fe(this._config) ?? null;
|
|
376
379
|
}
|
|
377
380
|
set labelCharacterLimit(e) {
|
|
378
|
-
|
|
381
|
+
he(e, this._config);
|
|
379
382
|
}
|
|
380
383
|
/**
|
|
381
384
|
* Number of decimal places to display in the slice values.
|
|
382
385
|
*/
|
|
383
386
|
get decimalPlaces() {
|
|
384
|
-
return
|
|
387
|
+
return Ee(this._config) ?? 1;
|
|
385
388
|
}
|
|
386
389
|
set decimalPlaces(e) {
|
|
387
|
-
|
|
390
|
+
Re(e, this._config);
|
|
388
391
|
}
|
|
389
392
|
/**
|
|
390
393
|
* Display type for the pie chart slices. Specifies whether to display the slices as a percentage, value, or both.
|
|
391
394
|
*/
|
|
392
395
|
get displayType() {
|
|
393
|
-
return
|
|
396
|
+
return Me(this._config);
|
|
394
397
|
}
|
|
395
398
|
set displayType(e) {
|
|
396
|
-
|
|
399
|
+
We(e, this._config);
|
|
397
400
|
}
|
|
398
401
|
// ---------------------------------------------------------------------------------------------
|
|
399
402
|
// #region Protected methods
|
|
400
403
|
// ---------------------------------------------------------------------------------------------
|
|
401
404
|
generateDefaultConfig() {
|
|
402
|
-
const e =
|
|
405
|
+
const e = A(this.commonStrings);
|
|
403
406
|
return e.series = [w(this.commonStrings, G(this.layerInfo.layer).idField)], e;
|
|
404
407
|
}
|
|
405
408
|
// ---------------------------------------------------------------------------------------------
|
|
@@ -422,7 +425,7 @@ class r extends k {
|
|
|
422
425
|
return He(e, this._config);
|
|
423
426
|
}
|
|
424
427
|
setSliceName(e, i) {
|
|
425
|
-
|
|
428
|
+
Qe(e, i, this._config);
|
|
426
429
|
}
|
|
427
430
|
/**
|
|
428
431
|
* Gets the color of the slice based on the slice index. If the index is out of bounds, this function will return `undefined`.
|
|
@@ -430,16 +433,16 @@ class r extends k {
|
|
|
430
433
|
* @param sliceIndex - The index of the slice.
|
|
431
434
|
*/
|
|
432
435
|
getSliceColor(e) {
|
|
433
|
-
return
|
|
436
|
+
return Xe(e, this._config);
|
|
434
437
|
}
|
|
435
438
|
setSliceColor(e, i) {
|
|
436
|
-
|
|
439
|
+
Ye(e, i, this._config);
|
|
437
440
|
}
|
|
438
441
|
/**
|
|
439
442
|
* Order of the slice array by returning an array of slice ids
|
|
440
443
|
*/
|
|
441
444
|
get orderOfSlices() {
|
|
442
|
-
return
|
|
445
|
+
return et(this._config);
|
|
443
446
|
}
|
|
444
447
|
set orderOfSlices(e) {
|
|
445
448
|
e !== void 0 && C(e, this._config);
|
|
@@ -457,7 +460,7 @@ class r extends k {
|
|
|
457
460
|
* @param sliceIndex - The index of the slice.
|
|
458
461
|
*/
|
|
459
462
|
getSliceId(e) {
|
|
460
|
-
return
|
|
463
|
+
return at(e, this._config);
|
|
461
464
|
}
|
|
462
465
|
/**
|
|
463
466
|
* Gets the slice index for a given slice id. If the `sliceId` is not found, this function will return `undefined`.
|
|
@@ -465,16 +468,16 @@ class r extends k {
|
|
|
465
468
|
* @param sliceId - The id of the slice.
|
|
466
469
|
*/
|
|
467
470
|
getSliceIndex(e) {
|
|
468
|
-
return
|
|
471
|
+
return ot(e, this._config);
|
|
469
472
|
}
|
|
470
473
|
/**
|
|
471
474
|
* Gets the length of the slices array.
|
|
472
475
|
*/
|
|
473
476
|
getSlicesLength() {
|
|
474
|
-
return
|
|
477
|
+
return lt(this._config);
|
|
475
478
|
}
|
|
476
479
|
resetSlices() {
|
|
477
|
-
|
|
480
|
+
rt(this._config);
|
|
478
481
|
}
|
|
479
482
|
/**
|
|
480
483
|
* Returns whether the series styling is able to be reset.
|
|
@@ -496,10 +499,10 @@ class r extends k {
|
|
|
496
499
|
* Visibility of the ticks.
|
|
497
500
|
*/
|
|
498
501
|
get ticksVisibility() {
|
|
499
|
-
return
|
|
502
|
+
return Ke(this._config);
|
|
500
503
|
}
|
|
501
504
|
set ticksVisibility(e) {
|
|
502
|
-
|
|
505
|
+
$e(e, this._config);
|
|
503
506
|
}
|
|
504
507
|
/**
|
|
505
508
|
* Start angle of the pie chart.
|
|
@@ -508,7 +511,7 @@ class r extends k {
|
|
|
508
511
|
return D(this._config);
|
|
509
512
|
}
|
|
510
513
|
set startAngle(e) {
|
|
511
|
-
|
|
514
|
+
ye(e, this._config);
|
|
512
515
|
}
|
|
513
516
|
/**
|
|
514
517
|
* End angle of the pie chart.
|
|
@@ -517,14 +520,14 @@ class r extends k {
|
|
|
517
520
|
return D(this._config);
|
|
518
521
|
}
|
|
519
522
|
set endAngle(e) {
|
|
520
|
-
|
|
523
|
+
me(e, this._config);
|
|
521
524
|
}
|
|
522
525
|
/**
|
|
523
526
|
* Whether to display the category on the data label.
|
|
524
527
|
* **Note:** If the setting is not found in the config, it will default to `true`.
|
|
525
528
|
*/
|
|
526
529
|
get displayCategoryOnDataLabel() {
|
|
527
|
-
return
|
|
530
|
+
return be(this._config);
|
|
528
531
|
}
|
|
529
532
|
set displayCategoryOnDataLabel(e) {
|
|
530
533
|
this.guardSetterFromAsyncOverwrite(() => {
|
|
@@ -537,7 +540,7 @@ class r extends k {
|
|
|
537
540
|
* **Note**: If the setting is not found in the config, it will default to `true`.
|
|
538
541
|
*/
|
|
539
542
|
get displayCategoryValueOnTooltip() {
|
|
540
|
-
return
|
|
543
|
+
return Se(this._config);
|
|
541
544
|
}
|
|
542
545
|
set displayCategoryValueOnTooltip(e) {
|
|
543
546
|
this._config.series[0].displayCategoryOnTooltip = e;
|
|
@@ -547,7 +550,7 @@ class r extends k {
|
|
|
547
550
|
* **Note:** If the setting is not found in the config, it will default to `true`.
|
|
548
551
|
*/
|
|
549
552
|
get displayNumericValueOnDataLabel() {
|
|
550
|
-
return
|
|
553
|
+
return _e(this._config);
|
|
551
554
|
}
|
|
552
555
|
set displayNumericValueOnDataLabel(e) {
|
|
553
556
|
this.guardSetterFromAsyncOverwrite(() => {
|
|
@@ -559,7 +562,7 @@ class r extends k {
|
|
|
559
562
|
* **Note:** If the setting is not found in the config, it will default to `true`.
|
|
560
563
|
*/
|
|
561
564
|
get displayPercentageOnDataLabel() {
|
|
562
|
-
return
|
|
565
|
+
return Le(this._config);
|
|
563
566
|
}
|
|
564
567
|
set displayPercentageOnDataLabel(e) {
|
|
565
568
|
this.guardSetterFromAsyncOverwrite(() => {
|
|
@@ -572,7 +575,7 @@ class r extends k {
|
|
|
572
575
|
* **Note**: If the setting is not found in the config, it will default to `true`.
|
|
573
576
|
*/
|
|
574
577
|
get displayNumericValueOnTooltip() {
|
|
575
|
-
return
|
|
578
|
+
return Oe(this._config);
|
|
576
579
|
}
|
|
577
580
|
set displayNumericValueOnTooltip(e) {
|
|
578
581
|
this._config.series[0].displayNumericValueOnTooltip = e;
|
|
@@ -583,82 +586,82 @@ class r extends k {
|
|
|
583
586
|
* **Note**: If the setting is not found in the config, it will default to `true`.
|
|
584
587
|
*/
|
|
585
588
|
get displayPercentageOnTooltip() {
|
|
586
|
-
return
|
|
589
|
+
return De(this._config);
|
|
587
590
|
}
|
|
588
591
|
set displayPercentageOnTooltip(e) {
|
|
589
|
-
|
|
592
|
+
Ce(e, this._config);
|
|
590
593
|
}
|
|
591
594
|
/**
|
|
592
595
|
* Prefix of the values of the slices.
|
|
593
596
|
*/
|
|
594
597
|
get valuePrefix() {
|
|
595
|
-
return
|
|
598
|
+
return ve(this._config);
|
|
596
599
|
}
|
|
597
600
|
set valuePrefix(e) {
|
|
598
|
-
|
|
601
|
+
Pe(e, this._config);
|
|
599
602
|
}
|
|
600
603
|
/**
|
|
601
604
|
* Suffix of the values of the slice.
|
|
602
605
|
*/
|
|
603
606
|
get valueSuffix() {
|
|
604
|
-
return
|
|
607
|
+
return Te(this._config);
|
|
605
608
|
}
|
|
606
609
|
set valueSuffix(e) {
|
|
607
|
-
|
|
610
|
+
Ve(e, this._config);
|
|
608
611
|
}
|
|
609
612
|
/**
|
|
610
613
|
* Prefix of the percentages of the slices.
|
|
611
614
|
*/
|
|
612
615
|
get percentagePrefix() {
|
|
613
|
-
return
|
|
616
|
+
return xe(this._config);
|
|
614
617
|
}
|
|
615
618
|
set percentagePrefix(e) {
|
|
616
|
-
|
|
619
|
+
Ie(e, this._config);
|
|
617
620
|
}
|
|
618
621
|
/**
|
|
619
622
|
* Suffix of the percentages of the slices.
|
|
620
623
|
*/
|
|
621
624
|
get percentageSuffix() {
|
|
622
|
-
return
|
|
625
|
+
return Ne(this._config);
|
|
623
626
|
}
|
|
624
627
|
set percentageSuffix(e) {
|
|
625
|
-
|
|
628
|
+
Fe(e, this._config);
|
|
626
629
|
}
|
|
627
630
|
/**
|
|
628
631
|
* Offset for the data labels.
|
|
629
632
|
*/
|
|
630
633
|
get dataLabelsOffset() {
|
|
631
|
-
return
|
|
634
|
+
return ze(this._config);
|
|
632
635
|
}
|
|
633
636
|
set dataLabelsOffset(e) {
|
|
634
|
-
|
|
637
|
+
Be(e, this._config);
|
|
635
638
|
}
|
|
636
639
|
/**
|
|
637
640
|
* Align data labels setting for the pie chart.
|
|
638
641
|
*/
|
|
639
642
|
get alignDataLabels() {
|
|
640
|
-
return
|
|
643
|
+
return Ae(this._config);
|
|
641
644
|
}
|
|
642
645
|
set alignDataLabels(e) {
|
|
643
|
-
|
|
646
|
+
we(e, this._config);
|
|
644
647
|
}
|
|
645
648
|
/**
|
|
646
649
|
* Setting for placing the data labels inside of the slices.
|
|
647
650
|
*/
|
|
648
651
|
get dataLabelsInside() {
|
|
649
|
-
return
|
|
652
|
+
return Ge(this._config);
|
|
650
653
|
}
|
|
651
654
|
set dataLabelsInside(e) {
|
|
652
|
-
|
|
655
|
+
ke(e, this._config);
|
|
653
656
|
}
|
|
654
657
|
/**
|
|
655
658
|
* Optimize data labels overlapping setting for the pie chart.
|
|
656
659
|
*/
|
|
657
660
|
get optimizeDataLabelsOverlapping() {
|
|
658
|
-
return
|
|
661
|
+
return je(this._config);
|
|
659
662
|
}
|
|
660
663
|
set optimizeDataLabelsOverlapping(e) {
|
|
661
|
-
|
|
664
|
+
Ue(e, this._config);
|
|
662
665
|
}
|
|
663
666
|
// ---------------------------------------------------------------------------------------------
|
|
664
667
|
// #region General Props
|
|
@@ -780,7 +783,14 @@ a([
|
|
|
780
783
|
a([
|
|
781
784
|
s
|
|
782
785
|
], r.prototype, "optimizeDataLabelsOverlapping");
|
|
783
|
-
|
|
786
|
+
const ct = [
|
|
787
|
+
u,
|
|
788
|
+
z,
|
|
789
|
+
B,
|
|
790
|
+
E,
|
|
791
|
+
R
|
|
792
|
+
];
|
|
793
|
+
V(r, ct);
|
|
784
794
|
export {
|
|
785
795
|
r as PieChartModel
|
|
786
796
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { isEqual as r } from "lodash-es";
|
|
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.116 */
|
|
5
5
|
const i = (e) => (e?.remove(), null), a = (e, t = !1) => {
|
|
6
6
|
e && (t ? (e.style.setProperty("opacity", "1"), e.style.setProperty("pointer-events", "initial")) : (e.style.removeProperty("opacity"), e.style.removeProperty("pointer-events")), e.triggerDisabled = t, e.open = t);
|
|
7
7
|
}, l = (e, t) => e !== void 0 && t !== void 0 && !r(e, t);
|