@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
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { ChartConfig } from '../../utils/types';
|
|
2
|
+
import { ChartModelBase } from '../chart-model/chart-model-base';
|
|
3
|
+
/**
|
|
4
|
+
* Type guard for model `WithRotatedState`.
|
|
5
|
+
*/
|
|
6
|
+
export declare function isModelWithRotatedState(model: ChartModelBase | undefined): model is WithRotatedState;
|
|
7
|
+
/**
|
|
8
|
+
* Whether the chart is rotated.
|
|
9
|
+
*/
|
|
10
|
+
export declare const getRotatedState: (config: ChartConfig) => boolean;
|
|
11
|
+
/**
|
|
12
|
+
* Whether the chart is rotated.
|
|
13
|
+
*/
|
|
14
|
+
export declare const setRotatedState: (rotated: boolean, config: ChartConfig) => void;
|
|
15
|
+
/**
|
|
16
|
+
* Adds support for working with the chart rotated state.
|
|
17
|
+
*/
|
|
18
|
+
export declare abstract class WithRotatedState extends ChartModelBase {
|
|
19
|
+
/**
|
|
20
|
+
* Whether the chart is rotated.
|
|
21
|
+
*/
|
|
22
|
+
get rotatedState(): boolean;
|
|
23
|
+
set rotatedState(rotated: boolean);
|
|
24
|
+
}
|
|
@@ -4,6 +4,7 @@ import { SerialChartModel } from '../serial-chart-model/serial-chart-model';
|
|
|
4
4
|
import { ModelParams } from '../interfaces/chart-interfaces';
|
|
5
5
|
import { ModelWithLineMarkerStyling } from '../mixins';
|
|
6
6
|
import { LayerInfo, ModelTypes } from '../interfaces/common';
|
|
7
|
+
import { MixinInstances } from '../shared/utils';
|
|
7
8
|
import { WithNegativeValuesStackedToBaseline } from '../properties/series/negative-values-stacked-to-baseline';
|
|
8
9
|
export declare class RadarChartModel extends SerialChartModel {
|
|
9
10
|
/**
|
|
@@ -31,5 +32,7 @@ export declare class RadarChartModel extends SerialChartModel {
|
|
|
31
32
|
*/
|
|
32
33
|
resetAvailable(): boolean;
|
|
33
34
|
}
|
|
34
|
-
|
|
35
|
+
declare const radarChartMixins: readonly [typeof WithNegativeValuesStackedToBaseline, typeof ModelWithLineMarkerStyling];
|
|
36
|
+
export interface RadarChartModel extends MixinInstances<typeof radarChartMixins> {
|
|
35
37
|
}
|
|
38
|
+
export {};
|
|
@@ -1,10 +1,13 @@
|
|
|
1
1
|
import { ISimpleLineSymbol, ISimpleMarkerSymbol, WebChart, SizePolicy, ScatterplotOverlays } from '../../spec';
|
|
2
2
|
import { ChartConfig, XYChartTypes } from '../../utils';
|
|
3
|
+
import { MixinInstances } from '../shared/utils';
|
|
3
4
|
import { ModelParams } from '../interfaces/chart-interfaces';
|
|
4
5
|
import { LayerInfo, ModelTypes } from '../interfaces/common';
|
|
5
6
|
import { ChartModel } from '../chart-model/chart-model';
|
|
6
|
-
import {
|
|
7
|
+
import { ModelWithXGuides, ModelWithYGuides, ModelWithLegend, ModelWithMultiAxes, ModelWithTooltips } from '../mixins';
|
|
7
8
|
import { WithColorMatch } from '../properties/color-match';
|
|
9
|
+
import { WithDataLabelsVisibility } from '../properties/data-labels/data-labels-visibility';
|
|
10
|
+
import { WithDataLabelsSymbol } from '../properties/data-labels/data-labels-symbol';
|
|
8
11
|
export declare class ScatterplotModel extends ChartModel {
|
|
9
12
|
/**
|
|
10
13
|
* Current configuration used for the scatterplot.
|
|
@@ -69,5 +72,7 @@ export declare class ScatterplotModel extends ChartModel {
|
|
|
69
72
|
generateYAxisTitle(): string;
|
|
70
73
|
protected generateDefaultConfig(): Omit<typeof this._config, "iLayer">;
|
|
71
74
|
}
|
|
72
|
-
|
|
75
|
+
declare const scatterplotMixins: readonly [typeof ModelWithMultiAxes, typeof ModelWithLegend, typeof ModelWithTooltips, typeof WithColorMatch, typeof WithDataLabelsVisibility, typeof WithDataLabelsSymbol, typeof ModelWithXGuides, typeof ModelWithYGuides];
|
|
76
|
+
export interface ScatterplotModel extends MixinInstances<typeof scatterplotMixins> {
|
|
73
77
|
}
|
|
78
|
+
export {};
|
|
@@ -2,9 +2,13 @@ import { SerialChartTypes } from '../../utils';
|
|
|
2
2
|
import { ChartModel } from '../chart-model/chart-model';
|
|
3
3
|
import { Color, WebChartDataFilters, WebChartNullCategory, WebChartStackedKinds, WebChartStatisticType } from '../../spec';
|
|
4
4
|
import { SerialChartConfig } from '../interfaces/chart-interfaces';
|
|
5
|
+
import { MixinInstances } from '../shared/utils';
|
|
5
6
|
import { HeatChartDataSortingKinds, SerialChartDataSortingKinds } from '../interfaces/common';
|
|
6
|
-
import {
|
|
7
|
+
import { ModelWithLegend, ModelWithTooltips, ModelWithTemporalBinning, ModelWithXGuides, ModelWithYGuides, ModelWithMultiAxes } from '../mixins';
|
|
7
8
|
import { WithColorMatch } from '../properties/color-match';
|
|
9
|
+
import { WithRotatedState } from '../properties/rotated-state';
|
|
10
|
+
import { WithDataLabelsVisibility } from '../properties/data-labels/data-labels-visibility';
|
|
11
|
+
import { WithDataLabelsSymbol } from '../properties/data-labels/data-labels-symbol';
|
|
8
12
|
export declare abstract class SerialChartModel extends ChartModel {
|
|
9
13
|
/**
|
|
10
14
|
* Current chart type.
|
|
@@ -208,5 +212,7 @@ export declare abstract class SerialChartModel extends ChartModel {
|
|
|
208
212
|
*/
|
|
209
213
|
generateYAxisTitle(): string;
|
|
210
214
|
}
|
|
211
|
-
|
|
215
|
+
declare const serialChartMixins: readonly [typeof ModelWithMultiAxes, typeof ModelWithLegend, typeof ModelWithTooltips, typeof WithColorMatch, typeof WithRotatedState, typeof WithDataLabelsVisibility, typeof WithDataLabelsSymbol, typeof ModelWithXGuides, typeof ModelWithYGuides, typeof ModelWithTemporalBinning];
|
|
216
|
+
export interface SerialChartModel extends MixinInstances<typeof serialChartMixins> {
|
|
212
217
|
}
|
|
218
|
+
export {};
|
|
@@ -67,13 +67,6 @@ export declare const setMinXBound: (config: ChartConfig, newMinXBound: number |
|
|
|
67
67
|
*/
|
|
68
68
|
export declare const getXAxisValueFormat: (config: ChartConfig) => CategoryFormatOptions | DateTimeFormatOptions | NumberFormatOptions | undefined;
|
|
69
69
|
export declare const setXAxisValueFormat: (config: ChartConfig, commonStrings: CommonStrings, valueFormat?: CategoryFormatOptions | DateTimeFormatOptions | NumberFormatOptions) => void;
|
|
70
|
-
/**
|
|
71
|
-
* Get the valueFormat of the y-axis.
|
|
72
|
-
*
|
|
73
|
-
* @param config - the config object
|
|
74
|
-
*/
|
|
75
|
-
export declare const getYAxisValueFormat: (config: ChartConfig) => NumberFormatOptions | undefined;
|
|
76
|
-
export declare const setYAxisValueFormat: (config: ChartConfig, commonStrings: CommonStrings, valueFormat?: NumberFormatOptions) => void;
|
|
77
70
|
/**
|
|
78
71
|
* Set the integer only values in the axis
|
|
79
72
|
* @param config - the config object
|
|
@@ -1,17 +1,23 @@
|
|
|
1
|
-
import { BarChartModel, BoxPlotModel, ChartModel, ComboBarLineChartModel, GaugeModel, HistogramModel, LineChartModel, ModelOfType, ModelTypes, PieChartLegendModel, PieChartModel, ScatterplotModel, SerialChartModel } from '..';
|
|
2
1
|
import { WebChart } from '../../spec';
|
|
2
|
+
import { ModelWithBasicXAxis, ModelWithGuides, ModelWithLegend, ModelWithLineMarkerStyling, ModelWithMultiAxes, ModelWithTemporalBinning, ModelWithTooltips, ModelWithXGuides, ModelWithYGuides } from '../mixins/index';
|
|
3
3
|
import { HeatChartModel } from '../heat-chart-model/heat-chart-model';
|
|
4
|
-
import {
|
|
4
|
+
import { BarChartModel } from '../bar-chart-model/bar-chart-model';
|
|
5
|
+
import { BoxPlotModel } from '../box-plot-model/box-plot-model';
|
|
6
|
+
import { ChartModel } from '../chart-model/chart-model';
|
|
7
|
+
import { ComboBarLineChartModel } from '../combo-bar-line-chart-model/combo-bar-line-chart-model';
|
|
8
|
+
import { GaugeModel } from '../gauge-model/gauge-model';
|
|
9
|
+
import { HistogramModel } from '../histogram-model/histogram-model';
|
|
10
|
+
import { ModelTypes, ModelOfType } from '../interfaces/common';
|
|
11
|
+
import { LineChartModel } from '../line-chart-model/line-chart-model';
|
|
12
|
+
import { PieChartLegendModel } from '../pie-chart-model/pie-chart-legend-model';
|
|
13
|
+
import { PieChartModel } from '../pie-chart-model/pie-chart-model';
|
|
14
|
+
import { ScatterplotModel } from '../scatterplot-model/scatterplot-model';
|
|
15
|
+
import { SerialChartModel } from '../serial-chart-model/serial-chart-model';
|
|
5
16
|
/**
|
|
6
17
|
* Determines if the provided model or config is a `ChartModel`.
|
|
7
18
|
* @param model The model to check.
|
|
8
19
|
*/
|
|
9
20
|
export declare function isChartModel(model: ChartModel | WebChart | undefined): model is ChartModel;
|
|
10
|
-
/**
|
|
11
|
-
* Determines if the provided `model` is of type `HeatChartModel`.
|
|
12
|
-
* @param model The model to check.
|
|
13
|
-
*/
|
|
14
|
-
export declare function isHeatChartModel(model: ChartModel | undefined): model is HeatChartModel;
|
|
15
21
|
/**
|
|
16
22
|
* Determines if the provided `model` is of type `BarChartModel`.
|
|
17
23
|
* @param model The model to check.
|
|
@@ -54,6 +60,11 @@ export declare function isScatterplotModel(model: ChartModel | undefined): model
|
|
|
54
60
|
* @param model The model to check.
|
|
55
61
|
*/
|
|
56
62
|
export declare function isHistogramModel(model: ChartModel | undefined): model is HistogramModel;
|
|
63
|
+
/**
|
|
64
|
+
* Determines if the provided `model` is of type `HeatChartModel`.
|
|
65
|
+
* @param {ChartModel | undefined} model The model to check.
|
|
66
|
+
*/
|
|
67
|
+
export declare function isHeatChartModel(model: ChartModel | undefined): model is HeatChartModel;
|
|
57
68
|
/**
|
|
58
69
|
* Determines if the provided `model` is of type `GaugeModel`.
|
|
59
70
|
* @param model The model to check.
|
|
@@ -79,16 +90,6 @@ export declare function isModelWithLineMarkerStyling(model: ChartModel | undefin
|
|
|
79
90
|
* @param model
|
|
80
91
|
*/
|
|
81
92
|
export declare function isModelWithTooltips(model: ChartModel | undefined): model is ModelWithTooltips;
|
|
82
|
-
/**
|
|
83
|
-
* Type guard for ModelWithRotation
|
|
84
|
-
* @param model
|
|
85
|
-
*/
|
|
86
|
-
export declare function isModelWithRotation(model: ChartModel | undefined): model is ModelWithRotation;
|
|
87
|
-
/**
|
|
88
|
-
* Determines if the provided `model` is of type `ModelWithDataLabels`.
|
|
89
|
-
* @param model The model to check.
|
|
90
|
-
*/
|
|
91
|
-
export declare function isModelWithDataLabels(model: ChartModel | undefined): model is ModelWithDataLabels;
|
|
92
93
|
/**
|
|
93
94
|
* Determines if the provided `model` is of type `ModelWithGuides`.
|
|
94
95
|
* @param model The model to check.
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { SupportedLayer } from '../../interfaces';
|
|
2
|
-
import { IField, WebChart, WebChartAxis, WebChartGaugeAxis } from '../../spec';
|
|
2
|
+
import { IField, WebChart, WebChartAxis, WebChartGaugeAxis, WebHeatChart } from '../../spec';
|
|
3
|
+
import { ChartConfig } from '../../utils';
|
|
3
4
|
import { LayerInfo, SplitByFieldInfos } from '../interfaces/common';
|
|
4
5
|
/**
|
|
5
6
|
* Returns the necessary information for building series based on a split-by field.
|
|
@@ -24,10 +25,16 @@ export declare function getSplitByFieldInfos(props: {
|
|
|
24
25
|
export declare function isWebGaugeChartAxis(params: WebChartAxis[] | [WebChartGaugeAxis] | undefined): params is [WebChartGaugeAxis];
|
|
25
26
|
export declare function isValidSplitByField(layerFieldsInfo: IField[], splitByField: string): boolean;
|
|
26
27
|
export declare function isValidNumericFields(layerFieldsInfo: IField[], numericFields: string[]): boolean;
|
|
28
|
+
type AbstractConstructor = abstract new (...args: any) => any;
|
|
29
|
+
export type MixinInstances<T extends readonly AbstractConstructor[]> = T extends readonly [infer H, ...infer R] ? H extends AbstractConstructor ? R extends readonly AbstractConstructor[] ? InstanceType<H> & MixinInstances<R> : InstanceType<H> : unknown : unknown;
|
|
27
30
|
/**
|
|
28
|
-
*
|
|
31
|
+
* Runtime helper that copies prototype members from each mixin constructor onto the target.
|
|
32
|
+
*
|
|
33
|
+
* Accepts a readonly tuple so it lines up with the typed mixin lists used in MixinInstances.
|
|
34
|
+
*
|
|
35
|
+
* [source](https://www.typescriptlang.org/docs/handbook/mixins.html)
|
|
29
36
|
*/
|
|
30
|
-
export declare function applyMixins(derivedCtor: any, constructors:
|
|
37
|
+
export declare function applyMixins(derivedCtor: any, constructors: readonly AbstractConstructor[]): void;
|
|
31
38
|
/**
|
|
32
39
|
* Get the list of category's values or labels from the layer.
|
|
33
40
|
*
|
|
@@ -40,3 +47,12 @@ export declare function getCategoryLabels(props: {
|
|
|
40
47
|
config: WebChart;
|
|
41
48
|
category: string;
|
|
42
49
|
}): Promise<string[]>;
|
|
50
|
+
/**
|
|
51
|
+
* Checks if the given chart config is a matrix heat chart. A matrix heat chart is defined as a heat chart with
|
|
52
|
+
* both axes using a category value format.
|
|
53
|
+
*
|
|
54
|
+
* @param chartConfig The chart config
|
|
55
|
+
* @returns True if the chart is a matrix heat chart, false otherwise
|
|
56
|
+
*/
|
|
57
|
+
export declare function isMatrixHeatChart(chartConfig?: ChartConfig | WebHeatChart): boolean;
|
|
58
|
+
export {};
|
package/dist/model.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { M as i } from "./chunks/common.js";
|
|
2
2
|
import { B as m, C as y, F as g, G as C, H as w, L as f, a as u, P as L, b, S as p, T, c as S } from "./chunks/common.js";
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
3
|
+
import { w as r, x as s, y as n } from "./chunks/type-guards.js";
|
|
4
|
+
import { a as B, f as P, i as x, c as W, k as v, j as G, h as H, b as K, v as D, l as F, p as O, s as A, n as E, m as R, u as X, o as Y, q as $, r as j, t as q, e as z, g as I, d as J } from "./chunks/type-guards.js";
|
|
5
5
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
6
6
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
7
|
-
v5.0.0-next.
|
|
8
|
-
async function
|
|
7
|
+
v5.0.0-next.116 */
|
|
8
|
+
async function c(t) {
|
|
9
9
|
const o = "config" in t ? r(t.config) : t.chartType;
|
|
10
10
|
let a;
|
|
11
11
|
if (!("layer" in t) && !("iLayer" in t) && "config" in t && t.config.iLayer === void 0)
|
|
@@ -91,7 +91,7 @@ export {
|
|
|
91
91
|
b as PieChartSlicesDisplay,
|
|
92
92
|
p as SerialChartDataSortingKinds,
|
|
93
93
|
T as TextFormatKeys,
|
|
94
|
-
|
|
94
|
+
c as createModel,
|
|
95
95
|
S as customSortString,
|
|
96
96
|
B as isBarChartModel,
|
|
97
97
|
P as isBoxPlotModel,
|
|
@@ -103,18 +103,16 @@ export {
|
|
|
103
103
|
K as isLineChartModel,
|
|
104
104
|
D as isModelOfType,
|
|
105
105
|
F as isModelWithBasicXAxis,
|
|
106
|
-
A as isModelWithDataLabels,
|
|
107
106
|
O as isModelWithGuides,
|
|
108
|
-
|
|
107
|
+
A as isModelWithLegend,
|
|
109
108
|
E as isModelWithLineMarkerStyling,
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
Q as isSerialChartModel
|
|
109
|
+
R as isModelWithMultiAxes,
|
|
110
|
+
X as isModelWithTemporalBinning,
|
|
111
|
+
Y as isModelWithTooltips,
|
|
112
|
+
$ as isModelWithXGuides,
|
|
113
|
+
j as isModelWithYGuides,
|
|
114
|
+
q as isPieChartLegendModel,
|
|
115
|
+
z as isPieChartModel,
|
|
116
|
+
I as isScatterplotModel,
|
|
117
|
+
J as isSerialChartModel
|
|
120
118
|
};
|
|
@@ -312,3 +312,30 @@ export interface WebChartOrderSeriesBy {
|
|
|
312
312
|
*/
|
|
313
313
|
orderBy?: WebChartSortOrderKinds;
|
|
314
314
|
}
|
|
315
|
+
/**
|
|
316
|
+
* Represents the different types of views that can be applied to a heat chart.
|
|
317
|
+
*/
|
|
318
|
+
export declare const WebChartHeatChartViewTypes: {
|
|
319
|
+
/**
|
|
320
|
+
* A single calendar view showing all data in one calendar.
|
|
321
|
+
*/
|
|
322
|
+
readonly singleCalendarView: "SingleCalendarView";
|
|
323
|
+
/**
|
|
324
|
+
* Multiple sequential calendar views (e.g., years).
|
|
325
|
+
*/
|
|
326
|
+
readonly sequentialCalendarViews: "SequentialCalendarViews";
|
|
327
|
+
};
|
|
328
|
+
export type WebChartHeatChartViewTypes = (typeof WebChartHeatChartViewTypes)[keyof typeof WebChartHeatChartViewTypes];
|
|
329
|
+
/**
|
|
330
|
+
* Class break types for data classification in charts.
|
|
331
|
+
*/
|
|
332
|
+
export declare const WebChartClassBreakTypes: {
|
|
333
|
+
readonly equalInterval: "equal-interval";
|
|
334
|
+
readonly quantile: "quantile";
|
|
335
|
+
readonly naturalBreaks: "natural-breaks";
|
|
336
|
+
readonly manual: "manual";
|
|
337
|
+
};
|
|
338
|
+
/**
|
|
339
|
+
* Class break types for data classification in charts.
|
|
340
|
+
*/
|
|
341
|
+
export type WebChartClassBreakTypes = (typeof WebChartClassBreakTypes)[keyof typeof WebChartClassBreakTypes];
|
package/dist/spec/web-chart.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { GaugeChartSubTypes, SizePolicyScaleTypes, WebChartCalendarDatePartsUnits, WebChartDataTransformations, WebChartDirectionalDataOrder, WebChartHeatChartHeatRulesTypes, WebChartLabelBehavior, WebChartLegendPositions, WebChartMultiAxesDataOrder, WebChartNullPolicyTypes, WebChartOrderSeriesBy, WebChartPredefinedLabelsDataOrder, WebChartRadarChartAxisLabelsOrientation, WebChartStackedKinds, WebChartTemporalBinningUnits, WebChartTimeAggregationTypes, WebChartTypes } from './chart-object-literals';
|
|
1
|
+
import { GaugeChartSubTypes, SizePolicyScaleTypes, WebChartCalendarDatePartsUnits, WebChartClassBreakTypes, WebChartDataTransformations, WebChartDirectionalDataOrder, WebChartHeatChartHeatRulesTypes, WebChartHeatChartViewTypes, WebChartLabelBehavior, WebChartLegendPositions, WebChartMultiAxesDataOrder, WebChartNullPolicyTypes, WebChartOrderSeriesBy, WebChartPredefinedLabelsDataOrder, WebChartRadarChartAxisLabelsOrientation, WebChartStackedKinds, WebChartTemporalBinningUnits, WebChartTimeAggregationTypes, WebChartTypes } from './chart-object-literals';
|
|
2
2
|
import { TimeIntervalInfo } from './data-source';
|
|
3
3
|
import { RESTUnits } from './rest-js-object-literals';
|
|
4
4
|
import { Color, IDrawingInfo, IEnvelope, IExtent, IFeatureLayer, IPoint, IPolygon, IPolygonWithCurves, IPolyline, ISimpleFillSymbol, ISimpleLineSymbol, ISimpleMarkerSymbol, IStatisticDefinition, ITextSymbol } from './rest-js-types';
|
|
@@ -6,7 +6,7 @@ import { QueryMixin } from '@arcgis/core/rest/support/QueryMixin';
|
|
|
6
6
|
/**
|
|
7
7
|
* Version of the current specification.
|
|
8
8
|
*/
|
|
9
|
-
export declare const WebChartCurrentVersion = "
|
|
9
|
+
export declare const WebChartCurrentVersion = "25.0.0";
|
|
10
10
|
/**
|
|
11
11
|
* Stores information regarding a numeric conversion.
|
|
12
12
|
*/
|
|
@@ -763,6 +763,11 @@ interface WebChartTemporalBinningExtras {
|
|
|
763
763
|
nullPolicy?: WebChartNullPolicyTypes;
|
|
764
764
|
}
|
|
765
765
|
export interface WebChartCalendarDatePartsBinning extends WebChartTemporalBinningBase {
|
|
766
|
+
/**
|
|
767
|
+
* Represents a unique string identifier for the CalendarDatePartsBinning object.
|
|
768
|
+
* For CalendarDatePartsBinning object, it is "calendarDateParts".
|
|
769
|
+
*/
|
|
770
|
+
type: typeof WebChartTypes.CalendarDateParts;
|
|
766
771
|
/**
|
|
767
772
|
* Represents the unit to use to bin the data.
|
|
768
773
|
*/
|
|
@@ -1326,6 +1331,38 @@ export interface WebChartHeatChartGradient {
|
|
|
1326
1331
|
*/
|
|
1327
1332
|
outsideRangeUpperColor?: Color;
|
|
1328
1333
|
}
|
|
1334
|
+
/**
|
|
1335
|
+
* JSON representation of the Heat chart - class breaks type
|
|
1336
|
+
*/
|
|
1337
|
+
export interface WebChartHeatChartHeatClassBreaks {
|
|
1338
|
+
/**
|
|
1339
|
+
* The number of classes breaks to be used for the heat chart.
|
|
1340
|
+
*
|
|
1341
|
+
* @default 5
|
|
1342
|
+
*/
|
|
1343
|
+
breaksCount?: number;
|
|
1344
|
+
/**
|
|
1345
|
+
* The classification method to be used for the heat chart.
|
|
1346
|
+
*/
|
|
1347
|
+
classificationMethod?: WebChartClassBreakTypes;
|
|
1348
|
+
}
|
|
1349
|
+
/**
|
|
1350
|
+
* JSON representation of the Heat chart empty cell configuration
|
|
1351
|
+
*/
|
|
1352
|
+
export interface WebChartHeatChartEmptyCell {
|
|
1353
|
+
/**
|
|
1354
|
+
* Specifies the text to use by the empty cells.
|
|
1355
|
+
* If none is provided, the default `null` text will be used.
|
|
1356
|
+
*
|
|
1357
|
+
* @default `null`
|
|
1358
|
+
*/
|
|
1359
|
+
text?: string;
|
|
1360
|
+
/**
|
|
1361
|
+
* Specifies the symbol to use by the empty cells.
|
|
1362
|
+
* If none is provided, the default symbol will be used.
|
|
1363
|
+
*/
|
|
1364
|
+
symbol?: ISimpleFillSymbol;
|
|
1365
|
+
}
|
|
1329
1366
|
/**
|
|
1330
1367
|
* JSON representation of the Heat chart series
|
|
1331
1368
|
*/
|
|
@@ -1358,23 +1395,14 @@ export interface WebChartHeatChartSeries extends WebChartSeries {
|
|
|
1358
1395
|
* Specifies the details of the gradient rules for the heat chart.
|
|
1359
1396
|
*/
|
|
1360
1397
|
gradientRules?: WebChartHeatChartGradient;
|
|
1398
|
+
/**
|
|
1399
|
+
* Specifies the details of the class breaks rules for the heat chart.
|
|
1400
|
+
*/
|
|
1401
|
+
classBreaksRules?: WebChartHeatChartHeatClassBreaks;
|
|
1361
1402
|
/**
|
|
1362
1403
|
* Specifies how to display the empty cells, in terms of text and symbology.
|
|
1363
1404
|
*/
|
|
1364
|
-
emptyCells?:
|
|
1365
|
-
/**
|
|
1366
|
-
* Specifies the text to use by the empty cells.
|
|
1367
|
-
* If none is provided, the default `null` text will be used.
|
|
1368
|
-
*
|
|
1369
|
-
* @default `null`
|
|
1370
|
-
*/
|
|
1371
|
-
text?: string;
|
|
1372
|
-
/**
|
|
1373
|
-
* Specifies the symbol to use by the empty cells.
|
|
1374
|
-
* If none is provided, the default symbol will be used.
|
|
1375
|
-
*/
|
|
1376
|
-
symbol?: ISimpleFillSymbol;
|
|
1377
|
-
};
|
|
1405
|
+
emptyCells?: WebChartHeatChartEmptyCell;
|
|
1378
1406
|
}
|
|
1379
1407
|
export type WebChartRadarChartSeries = WebChartLineChartSeries<"radarSeries">;
|
|
1380
1408
|
/**
|
|
@@ -1607,6 +1635,12 @@ export interface WebHeatChart extends WebChart, WebChartTemporalBinningExtras {
|
|
|
1607
1635
|
* @default false
|
|
1608
1636
|
*/
|
|
1609
1637
|
hideEmptyRowsAndColumns?: boolean;
|
|
1638
|
+
/**
|
|
1639
|
+
* The calendar view type for the heat chart.
|
|
1640
|
+
*
|
|
1641
|
+
* **NOTE**: This property is only applicable to the Calendar heat chart.
|
|
1642
|
+
*/
|
|
1643
|
+
viewType?: WebChartHeatChartViewTypes;
|
|
1610
1644
|
/**
|
|
1611
1645
|
* Whether to include leap day (Feb. 29th) in queries
|
|
1612
1646
|
* @default false
|
|
@@ -272,6 +272,12 @@ declare function renameChartSubtitle(configToUpdate: WebChart): WebChart;
|
|
|
272
272
|
* @param configToUpdate The chart's config to update
|
|
273
273
|
*/
|
|
274
274
|
declare function convertTemporalBinningProps2(configToUpdate: WebChart): WebChart;
|
|
275
|
+
/**
|
|
276
|
+
* Add the `type` property to temporal binning properties in the heat chart series
|
|
277
|
+
* @param configToUpdate
|
|
278
|
+
* @returns
|
|
279
|
+
*/
|
|
280
|
+
declare function transformPropsInHeatChart(configToUpdate: WebChart): WebChart;
|
|
275
281
|
/**
|
|
276
282
|
* Conversions for 1.0.1:
|
|
277
283
|
* - orderByField adjustment for PieFromFields
|
|
@@ -413,6 +419,13 @@ declare function convertTo23x3x0(configToUpdate: WebChart): WebChart;
|
|
|
413
419
|
* @returns The updated chart config
|
|
414
420
|
*/
|
|
415
421
|
declare function convertTo24x8x0(configToUpdate: WebChart): WebChart;
|
|
422
|
+
/**
|
|
423
|
+
* Conversion for v25.0.0:
|
|
424
|
+
* - Add the `type` property to temporal binning properties in the heat chart series
|
|
425
|
+
* @param configToUpdate The chart's config to update
|
|
426
|
+
* @returns The updated chart config
|
|
427
|
+
*/
|
|
428
|
+
declare function convertTo25x0x0(configToUpdate: WebChart): WebChart;
|
|
416
429
|
/**
|
|
417
430
|
* Apply the needed function calls depending on the current chart version.
|
|
418
431
|
* Note: Additional switch cases and convertToxxx functions are to be added to this function accordingly.
|
|
@@ -499,7 +512,9 @@ export declare const chartConfigConverterPrivateFunctions: {
|
|
|
499
512
|
convertTo21x1x0: typeof convertTo21x1x0;
|
|
500
513
|
convertTo23x3x0: typeof convertTo23x3x0;
|
|
501
514
|
convertTo24x8x0: typeof convertTo24x8x0;
|
|
515
|
+
convertTo25x0x0: typeof convertTo25x0x0;
|
|
502
516
|
convertTemporalBinningProps2: typeof convertTemporalBinningProps2;
|
|
517
|
+
transformPropsInHeatChart: typeof transformPropsInHeatChart;
|
|
503
518
|
applyConversions: typeof applyConversions;
|
|
504
519
|
convertDataSourceToILayer: typeof convertDataSourceToILayer;
|
|
505
520
|
applyDefaultFirstDayOfWeek: typeof applyDefaultFirstDayOfWeek;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { IFeatureLayer, WebChart, WebChartCalendarBinningOffsetUnits, WebChartDataTypes, WebChartNullPolicyTypes, WebChartSeries, WebChartSeriesQuery, WebChartSortOrderKinds, WebChartTemporalSeries, WebChartText, WebChartTimeAggregationTypes } from '../../../spec';
|
|
1
|
+
import { IFeatureLayer, WebChart, WebChartCalendarBinningOffsetUnits, WebChartCalendarDatePartsUnits, WebChartClassBreakTypes, WebChartDataTypes, WebChartNullPolicyTypes, WebChartSeries, WebChartSeriesQuery, WebChartSortOrderKinds, WebChartTemporalSeries, WebChartText, WebChartTimeAggregationTypes } from '../../../spec';
|
|
2
2
|
export type FormerWebChartSubtitle = WebChart & {
|
|
3
3
|
subTitle?: WebChartText;
|
|
4
4
|
};
|
|
@@ -46,6 +46,18 @@ export type FormerWebChartWithDataPreferLabel = WebChart & {
|
|
|
46
46
|
};
|
|
47
47
|
};
|
|
48
48
|
};
|
|
49
|
+
export type FormerWebHeatChartWithDifferentProps = WebChart & {
|
|
50
|
+
series: {
|
|
51
|
+
breaksCount?: number;
|
|
52
|
+
classificationMethod?: WebChartClassBreakTypes;
|
|
53
|
+
xTemporalBinning: {
|
|
54
|
+
unit: WebChartCalendarDatePartsUnits;
|
|
55
|
+
};
|
|
56
|
+
yTemporalBinning: {
|
|
57
|
+
unit: WebChartCalendarDatePartsUnits;
|
|
58
|
+
};
|
|
59
|
+
}[];
|
|
60
|
+
};
|
|
49
61
|
/**
|
|
50
62
|
* JSON representation of the inline data source
|
|
51
63
|
*/
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { RESTSymbolType, RESTSimpleFillSymbolStyle, Color } from '../../../../spec';
|
|
2
|
+
export interface ClassBreakInfo {
|
|
3
|
+
label: string;
|
|
4
|
+
classMinValue: number;
|
|
5
|
+
classMaxValue: number;
|
|
6
|
+
symbol: {
|
|
7
|
+
type: RESTSymbolType;
|
|
8
|
+
style: RESTSimpleFillSymbolStyle;
|
|
9
|
+
color: Color;
|
|
10
|
+
outline: {
|
|
11
|
+
style: RESTSimpleFillSymbolStyle;
|
|
12
|
+
color: Color;
|
|
13
|
+
width: number;
|
|
14
|
+
};
|
|
15
|
+
};
|
|
16
|
+
}
|
|
@@ -401,23 +401,6 @@ export declare function doesConfigChangeRequireNewData(props: {
|
|
|
401
401
|
* @returns
|
|
402
402
|
*/
|
|
403
403
|
declare function hasConfigSeriesNamesChanged(oldConfig: WebChart, newConfig: WebChart): boolean;
|
|
404
|
-
/**
|
|
405
|
-
* Determines if the series order has changed between the old and the new configs.
|
|
406
|
-
*
|
|
407
|
-
* @param oldConfig The previous chart config
|
|
408
|
-
* @param newConfig The new chart config
|
|
409
|
-
* @returns
|
|
410
|
-
*/
|
|
411
|
-
declare function hasSeriesOrderChanged(oldConfig: WebChart, newConfig: WebChart): boolean;
|
|
412
|
-
/**
|
|
413
|
-
* Determines whether a sort by series is needed.
|
|
414
|
-
* A sort by series is needed when either the series order has changed or any of the series names have changed.
|
|
415
|
-
*
|
|
416
|
-
* @param oldConfig The previous chart config.
|
|
417
|
-
* @param newConfig The new chart config.
|
|
418
|
-
* @returns
|
|
419
|
-
*/
|
|
420
|
-
export declare function isSortBySeriesNeeded(oldConfig: WebChart, newConfig: WebChart): boolean;
|
|
421
404
|
/**
|
|
422
405
|
* Sorts the series in the config based on the series sort options.
|
|
423
406
|
* When no sort option is provide, no sorting is performed.
|
|
@@ -437,7 +420,6 @@ export declare const chartConfigUtilsPrivateFunctions: {
|
|
|
437
420
|
isNewDataRequiredForValueFormatChange: typeof isNewDataRequiredForValueFormatChange;
|
|
438
421
|
hasShowMeanChanged: typeof hasShowMeanChanged;
|
|
439
422
|
hasHeatChartBinningChanged: typeof hasHeatChartBinningChanged;
|
|
440
|
-
hasSeriesOrderChanged: typeof hasSeriesOrderChanged;
|
|
441
423
|
hasConfigSeriesNamesChanged: typeof hasConfigSeriesNamesChanged;
|
|
442
424
|
};
|
|
443
425
|
export {};
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { RESTSimpleLineSymbolStyle } from '../../spec';
|
|
2
|
-
import { NumericFieldsChangeProps } from '../../interfaces';
|
|
2
|
+
import { NumericFieldsChangeProps, WebChartCalendarTypes } from '../../interfaces';
|
|
3
3
|
import { FormatKeys } from '../../model';
|
|
4
|
+
import { HeatChartModel } from '../../model/heat-chart-model/heat-chart-model';
|
|
4
5
|
export interface RGB {
|
|
5
6
|
r: number;
|
|
6
7
|
g: number;
|
|
@@ -110,3 +111,9 @@ export declare function downloadFile(objectURL: string, downloadString: string):
|
|
|
110
111
|
* @returns Null return for caller to easily reset tooltip object to null
|
|
111
112
|
*/
|
|
112
113
|
export declare function destroyTooltip(tooltip: HTMLCalciteTooltipElement | null | undefined): null;
|
|
114
|
+
/**
|
|
115
|
+
* Gets the calendar type based on the heat chart model's temporal binning configuration.
|
|
116
|
+
* @param {HeatChartModel} model - The heat chart model.
|
|
117
|
+
* @returns {WebChartCalendarTypes | undefined} The calendar type, or undefined if not applicable.
|
|
118
|
+
*/
|
|
119
|
+
export declare function getCalendarType(model: HeatChartModel): WebChartCalendarTypes | undefined;
|
|
@@ -2,9 +2,9 @@ import { default as Graphic } from '@arcgis/core/Graphic';
|
|
|
2
2
|
import { default as FeatureLayerView } from '@arcgis/core/views/layers/FeatureLayerView';
|
|
3
3
|
import { ChartOptions } from '../../chart-rendering/common/interfaces';
|
|
4
4
|
import { ArcgisChart } from '../../components/arcgis-chart/customElement.js';
|
|
5
|
+
import { SupportedLayer } from '../../interfaces';
|
|
5
6
|
import { WebBoxPlot, WebChart, WebChartLegendPositions } from '../../spec';
|
|
6
7
|
import { QueryObject } from '../../utils';
|
|
7
|
-
import { SupportedLayer } from '../../interfaces';
|
|
8
8
|
/**
|
|
9
9
|
* Updates the legend position for a given WebChart config.
|
|
10
10
|
* Returns the updated config.
|
|
@@ -49,15 +49,18 @@ export declare function isValidDataSource(config?: WebChart, layer?: FeatureLaye
|
|
|
49
49
|
* - add the iLayer if missing
|
|
50
50
|
* - convert it to the latest version
|
|
51
51
|
* @param props.configToAlter The config to alter
|
|
52
|
+
* @param props.chartContainer The chart container
|
|
53
|
+
* @param props.queryObject The query object
|
|
54
|
+
* @param props.options The runtime options
|
|
55
|
+
* @param props.updateSplitBySeries The updateSplitBySeries property
|
|
56
|
+
* @param props.addMissingSeries Whether to add missing series for split-by charts
|
|
52
57
|
* @param props.layer The component's layer
|
|
53
58
|
*/
|
|
54
59
|
export declare function prepareConfigForRendering(props: {
|
|
55
|
-
creation: boolean;
|
|
56
60
|
configToAlter: WebChart | undefined;
|
|
57
61
|
chartContainer?: HTMLElement;
|
|
58
62
|
queryObject: QueryObject;
|
|
59
63
|
options: ChartOptions;
|
|
60
|
-
previousConfig?: WebChart | undefined;
|
|
61
64
|
updateSplitBySeries: ArcgisChart["updateSplitBySeries"];
|
|
62
65
|
addMissingSeries: boolean;
|
|
63
66
|
layer: ArcgisChart["layer"];
|