@amcharts/amcharts5 5.11.1 → 5.11.2

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.
Files changed (195) hide show
  1. package/.internal/charts/funnel/FunnelSlice.d.ts +24 -0
  2. package/.internal/charts/funnel/FunnelSlice.d.ts.map +1 -1
  3. package/.internal/charts/funnel/FunnelSlice.js +70 -11
  4. package/.internal/charts/funnel/FunnelSlice.js.map +1 -1
  5. package/.internal/charts/stock/SettingsModal.d.ts +7 -0
  6. package/.internal/charts/stock/SettingsModal.d.ts.map +1 -1
  7. package/.internal/charts/stock/SettingsModal.js +8 -7
  8. package/.internal/charts/stock/SettingsModal.js.map +1 -1
  9. package/.internal/charts/stock/drawing/HorizontalLineSeries.d.ts.map +1 -1
  10. package/.internal/charts/stock/drawing/HorizontalLineSeries.js +1 -1
  11. package/.internal/charts/stock/drawing/HorizontalLineSeries.js.map +1 -1
  12. package/.internal/charts/stock/drawing/HorizontalRaySeries.d.ts.map +1 -1
  13. package/.internal/charts/stock/drawing/HorizontalRaySeries.js +1 -1
  14. package/.internal/charts/stock/drawing/HorizontalRaySeries.js.map +1 -1
  15. package/.internal/charts/xy/axes/Axis.d.ts +1 -0
  16. package/.internal/charts/xy/axes/Axis.d.ts.map +1 -1
  17. package/.internal/charts/xy/axes/Axis.js +2 -0
  18. package/.internal/charts/xy/axes/Axis.js.map +1 -1
  19. package/.internal/charts/xy/axes/DateAxis.d.ts +1 -0
  20. package/.internal/charts/xy/axes/DateAxis.d.ts.map +1 -1
  21. package/.internal/charts/xy/axes/DateAxis.js +4 -0
  22. package/.internal/charts/xy/axes/DateAxis.js.map +1 -1
  23. package/.internal/charts/xy/series/XYSeries.d.ts +1 -0
  24. package/.internal/charts/xy/series/XYSeries.d.ts.map +1 -1
  25. package/.internal/charts/xy/series/XYSeries.js +10 -0
  26. package/.internal/charts/xy/series/XYSeries.js.map +1 -1
  27. package/.internal/core/Registry.js +1 -1
  28. package/.internal/core/Registry.js.map +1 -1
  29. package/.internal/core/Root.d.ts.map +1 -1
  30. package/.internal/core/Root.js +57 -4
  31. package/.internal/core/Root.js.map +1 -1
  32. package/.internal/core/render/Container.d.ts +10 -0
  33. package/.internal/core/render/Container.d.ts.map +1 -1
  34. package/.internal/core/render/Container.js.map +1 -1
  35. package/.internal/core/render/SerialChart.d.ts.map +1 -1
  36. package/.internal/core/render/SerialChart.js +1 -0
  37. package/.internal/core/render/SerialChart.js.map +1 -1
  38. package/.internal/core/render/Series.d.ts +1 -0
  39. package/.internal/core/render/Series.d.ts.map +1 -1
  40. package/.internal/core/render/Series.js +2 -0
  41. package/.internal/core/render/Series.js.map +1 -1
  42. package/.internal/core/render/Sprite.d.ts +117 -2
  43. package/.internal/core/render/Sprite.d.ts.map +1 -1
  44. package/.internal/core/render/Sprite.js.map +1 -1
  45. package/.internal/core/util/Accessibility.d.ts +2 -115
  46. package/.internal/core/util/Accessibility.d.ts.map +1 -1
  47. package/.internal/core/util/Accessibility.js.map +1 -1
  48. package/.internal/core/util/Type.js +1 -1
  49. package/.internal/core/util/Type.js.map +1 -1
  50. package/CHANGELOG.md +18 -0
  51. package/examples/javascript/flow-arc-horizontal/package.json +1 -1
  52. package/examples/javascript/flow-arc-vertical/package.json +1 -1
  53. package/examples/javascript/flow-chord/package.json +1 -1
  54. package/examples/javascript/flow-chord-directed/package.json +1 -1
  55. package/examples/javascript/flow-chord-non-ribbon/package.json +1 -1
  56. package/examples/javascript/flow-sankey/package.json +1 -1
  57. package/examples/javascript/gauge/package.json +1 -1
  58. package/examples/javascript/gauge-bands/package.json +1 -1
  59. package/examples/javascript/hierarchy-force-directed/package.json +1 -1
  60. package/examples/javascript/hierarchy-pack/package.json +1 -1
  61. package/examples/javascript/hierarchy-partition/package.json +1 -1
  62. package/examples/javascript/hierarchy-sunburst/package.json +1 -1
  63. package/examples/javascript/hierarchy-tree/package.json +1 -1
  64. package/examples/javascript/hierarchy-treemap/package.json +1 -1
  65. package/examples/javascript/hierarchy-voronoi-treemap/package.json +1 -1
  66. package/examples/javascript/jest/package.json +1 -1
  67. package/examples/javascript/json-pie/package.json +1 -1
  68. package/examples/javascript/json-xy/package.json +1 -1
  69. package/examples/javascript/map-animating-along-lines/package.json +1 -1
  70. package/examples/javascript/map-clustered-points/package.json +1 -1
  71. package/examples/javascript/map-day-and-night/package.json +1 -1
  72. package/examples/javascript/map-globe-rotate-to-country/package.json +1 -1
  73. package/examples/javascript/map-globe-with-projected-circles/package.json +1 -1
  74. package/examples/javascript/map-with-bubbles/package.json +1 -1
  75. package/examples/javascript/map-zoom-to-country/package.json +1 -1
  76. package/examples/javascript/misc-40-charts/package.json +1 -1
  77. package/examples/javascript/misc-microchart-grid/package.json +1 -1
  78. package/examples/javascript/pie-chart/package.json +1 -1
  79. package/examples/javascript/pie-donut-chart/package.json +1 -1
  80. package/examples/javascript/pie-variable-radius/package.json +1 -1
  81. package/examples/javascript/radar-column-iwatch-style/package.json +1 -1
  82. package/examples/javascript/radar-heat-map/package.json +1 -1
  83. package/examples/javascript/radar-line/package.json +1 -1
  84. package/examples/javascript/radar-time-line/package.json +1 -1
  85. package/examples/javascript/sliced-funnel/package.json +1 -1
  86. package/examples/javascript/sliced-pictorial-stacked/package.json +1 -1
  87. package/examples/javascript/sliced-pyramid/package.json +1 -1
  88. package/examples/javascript/stock-chart/package.json +1 -1
  89. package/examples/javascript/stock-chart-comparing-stocks/package.json +1 -1
  90. package/examples/javascript/stock-chart-data-granularity/package.json +1 -1
  91. package/examples/javascript/stock-chart-data-grouping/package.json +1 -1
  92. package/examples/javascript/stock-chart-intraday/package.json +1 -1
  93. package/examples/javascript/stock-chart-live/package.json +1 -1
  94. package/examples/javascript/stock-chart-volume-separate-panel/package.json +1 -1
  95. package/examples/javascript/venn-diagram/package.json +1 -1
  96. package/examples/javascript/wordcloud-with-data/package.json +1 -1
  97. package/examples/javascript/wordcloud-with-text/package.json +1 -1
  98. package/examples/javascript/xy-100-percent-stacked-column/package.json +1 -1
  99. package/examples/javascript/xy-animated-bullet-at-the-end-of-the-series/package.json +1 -1
  100. package/examples/javascript/xy-bubble/package.json +1 -1
  101. package/examples/javascript/xy-candlestick/package.json +1 -1
  102. package/examples/javascript/xy-clustered-column/package.json +1 -1
  103. package/examples/javascript/xy-column/package.json +1 -1
  104. package/examples/javascript/xy-comparing-series-google-analytics-style/package.json +1 -1
  105. package/examples/javascript/xy-data-grouping/package.json +1 -1
  106. package/examples/javascript/xy-draggable-range/package.json +1 -1
  107. package/examples/javascript/xy-drawing-series-with-mouse-or-touch/package.json +1 -1
  108. package/examples/javascript/xy-dumbbell plot/package.json +1 -1
  109. package/examples/javascript/xy-evenly-spaced-date-axis/package.json +1 -1
  110. package/examples/javascript/xy-line/package.json +1 -1
  111. package/examples/javascript/xy-line-highlight-on-legend-hover/package.json +1 -1
  112. package/examples/javascript/xy-live-data/package.json +1 -1
  113. package/examples/javascript/xy-multiple-synced-value-axes/package.json +1 -1
  114. package/examples/javascript/xy-ohlc/package.json +1 -1
  115. package/examples/javascript/xy-real-time-data-sorting/package.json +1 -1
  116. package/examples/javascript/xy-smoothed-line/package.json +1 -1
  117. package/examples/javascript/xy-stacked-and-clustered-column/package.json +1 -1
  118. package/examples/javascript/xy-stacked-column/package.json +1 -1
  119. package/examples/javascript/xy-stacked-step/package.json +1 -1
  120. package/examples/javascript/xy-stock/package.json +1 -1
  121. package/examples/javascript/xy-stock-comparing/package.json +1 -1
  122. package/examples/typescript/flow-arc-horizontal/package.json +1 -1
  123. package/examples/typescript/flow-arc-vertical/package.json +1 -1
  124. package/examples/typescript/flow-chord/package.json +1 -1
  125. package/examples/typescript/flow-chord-directed/package.json +1 -1
  126. package/examples/typescript/flow-chord-non-ribbon/package.json +1 -1
  127. package/examples/typescript/flow-sankey/package.json +1 -1
  128. package/examples/typescript/gauge/package.json +1 -1
  129. package/examples/typescript/gauge-bands/package.json +1 -1
  130. package/examples/typescript/hierarchy-force-directed/package.json +1 -1
  131. package/examples/typescript/hierarchy-pack/package.json +1 -1
  132. package/examples/typescript/hierarchy-partition/package.json +1 -1
  133. package/examples/typescript/hierarchy-sunburst/package.json +1 -1
  134. package/examples/typescript/hierarchy-tree/package.json +1 -1
  135. package/examples/typescript/hierarchy-treemap/package.json +1 -1
  136. package/examples/typescript/hierarchy-voronoi-treemap/package.json +1 -1
  137. package/examples/typescript/jest/package.json +1 -1
  138. package/examples/typescript/json-pie/package.json +1 -1
  139. package/examples/typescript/json-xy/package.json +1 -1
  140. package/examples/typescript/map-animating-along-lines/package.json +1 -1
  141. package/examples/typescript/map-clustered-points/package.json +1 -1
  142. package/examples/typescript/map-day-and-night/package.json +1 -1
  143. package/examples/typescript/map-globe-rotate-to-country/package.json +1 -1
  144. package/examples/typescript/map-globe-with-projected-circles/package.json +1 -1
  145. package/examples/typescript/map-with-bubbles/package.json +1 -1
  146. package/examples/typescript/map-zoom-to-country/package.json +1 -1
  147. package/examples/typescript/misc-40-charts/package.json +1 -1
  148. package/examples/typescript/misc-microchart-grid/package.json +1 -1
  149. package/examples/typescript/pie-chart/package.json +1 -1
  150. package/examples/typescript/pie-donut-chart/package.json +1 -1
  151. package/examples/typescript/pie-variable-radius/package.json +1 -1
  152. package/examples/typescript/radar-column-iwatch-style/package.json +1 -1
  153. package/examples/typescript/radar-heat-map/package.json +1 -1
  154. package/examples/typescript/radar-line/package.json +1 -1
  155. package/examples/typescript/radar-time-line/package.json +1 -1
  156. package/examples/typescript/sliced-funnel/package.json +1 -1
  157. package/examples/typescript/sliced-pictorial-stacked/package.json +1 -1
  158. package/examples/typescript/sliced-pyramid/package.json +1 -1
  159. package/examples/typescript/stock-chart/package.json +1 -1
  160. package/examples/typescript/stock-chart-comparing-stocks/package.json +1 -1
  161. package/examples/typescript/stock-chart-data-granularity/package.json +1 -1
  162. package/examples/typescript/stock-chart-data-grouping/package.json +1 -1
  163. package/examples/typescript/stock-chart-intraday/package.json +1 -1
  164. package/examples/typescript/stock-chart-live/package.json +1 -1
  165. package/examples/typescript/stock-chart-volume-separate-panel/package.json +1 -1
  166. package/examples/typescript/venn-diagram/package.json +1 -1
  167. package/examples/typescript/wordcloud-with-data/package.json +1 -1
  168. package/examples/typescript/wordcloud-with-text/package.json +1 -1
  169. package/examples/typescript/xy-100-percent-stacked-column/package.json +1 -1
  170. package/examples/typescript/xy-animated-bullet-at-the-end-of-the-series/package.json +1 -1
  171. package/examples/typescript/xy-bubble/package.json +1 -1
  172. package/examples/typescript/xy-candlestick/package.json +1 -1
  173. package/examples/typescript/xy-clustered-column/package.json +1 -1
  174. package/examples/typescript/xy-column/package.json +1 -1
  175. package/examples/typescript/xy-comparing-series-google-analytics-style/package.json +1 -1
  176. package/examples/typescript/xy-data-grouping/package.json +1 -1
  177. package/examples/typescript/xy-draggable-range/package.json +1 -1
  178. package/examples/typescript/xy-drawing-series-with-mouse-or-touch/package.json +1 -1
  179. package/examples/typescript/xy-dumbbell plot/package.json +1 -1
  180. package/examples/typescript/xy-evenly-spaced-date-axis/package.json +1 -1
  181. package/examples/typescript/xy-line/package.json +1 -1
  182. package/examples/typescript/xy-line-highlight-on-legend-hover/package.json +1 -1
  183. package/examples/typescript/xy-live-data/package.json +1 -1
  184. package/examples/typescript/xy-multiple-synced-value-axes/package.json +1 -1
  185. package/examples/typescript/xy-ohlc/package.json +1 -1
  186. package/examples/typescript/xy-real-time-data-sorting/package.json +1 -1
  187. package/examples/typescript/xy-smoothed-line/package.json +1 -1
  188. package/examples/typescript/xy-stacked-and-clustered-column/package.json +1 -1
  189. package/examples/typescript/xy-stacked-column/package.json +1 -1
  190. package/examples/typescript/xy-stacked-step/package.json +1 -1
  191. package/examples/typescript/xy-stock/package.json +1 -1
  192. package/examples/typescript/xy-stock-comparing/package.json +1 -1
  193. package/locales/nl_NL.js +1 -1
  194. package/locales/nl_NL.js.map +1 -1
  195. package/package.json +1 -1
@@ -2,123 +2,10 @@
2
2
  * Accessibility setting that can be applied to any visual element.
3
3
  *
4
4
  * @see {@link https://www.amcharts.com/docs/v5/concepts/accessibility/} for more info
5
+ * @deprecated Since 5.11.2. Moved to ISpriteSettings
6
+ * @ignore
5
7
  */
6
8
  export interface IAccessibilitySettings {
7
- /**
8
- * An internal order by which focusable elements will be selected within the
9
- * chart.
10
- *
11
- * @see {@link https://www.amcharts.com/docs/v5/concepts/accessibility/#Focusing_elements} for more info
12
- */
13
- tabindexOrder?: number;
14
- /**
15
- * Simulate hover on an element when it gains focus, including changing hover
16
- * appearance and displaying a tooltip if application.
17
- *
18
- * @see {@link https://www.amcharts.com/docs/v5/concepts/accessibility/#Focusing_elements} for more info
19
- */
20
- hoverOnFocus?: boolean;
21
- /**
22
- * Can element be focused, i.e. selected using TAB key.
23
- *
24
- * @see {@link https://www.amcharts.com/docs/v5/concepts/accessibility/#Focusing_elements} for more info
25
- */
26
- focusable?: boolean;
27
- /**
28
- * An identifier by which to group common elements into focusable groups.
29
- *
30
- * If set, only the first element in he group will be focusable via TAB key.
31
- * When it is selected, the rest of the elements in the same group can be
32
- * selected using arrow keys.
33
- *
34
- * It allows users to TAB-through chart elements quickly without the need
35
- * to TAB into each and every element.
36
- *
37
- * It's up to implementer of the charts to provide meaningful `ariaLabel` to
38
- * the element, which advertises this capability and provides adequate
39
- * instructions.
40
- *
41
- * @see {@link https://www.amcharts.com/docs/v5/concepts/accessibility/#Grouping_focusable_elements} for more info
42
- * @since 5.0.6
43
- */
44
- focusableGroup?: string | number;
45
- /**
46
- * If set, the text will be read out (announced) by a screen reader when
47
- * focused element is "clicked" (by pressing ENTER or SPACE).
48
- *
49
- * @since 5.10.8
50
- */
51
- clickAnnounceText?: string;
52
- /**
53
- * Element's role.
54
- *
55
- * @see {@link https://www.amcharts.com/docs/v5/concepts/accessibility/#Roles} for more info
56
- */
57
- role?: Role;
58
- /**
59
- * `aria-live` setting.
60
- */
61
- ariaLive?: AriaLive;
62
- /**
63
- * `aria-checked` setting.
64
- *
65
- * This setting is ignored unless `role` is one of the following:
66
- * * `"checkbox"`
67
- * * `"option"`
68
- * * `"radio"`
69
- * * `"menuitemcheckbox"`
70
- * * `"menuitemradio"`
71
- * * `"treeitem"`
72
- */
73
- ariaChecked?: boolean;
74
- /**
75
- * `aria-current` setting.
76
- *
77
- * @see {@link https://w3c.github.io/aria/#aria-current} for more info
78
- * @since 5.9.8
79
- */
80
- ariaCurrent?: string;
81
- /**
82
- * `aria-selected` setting.
83
- *
84
- * @see {@link https://w3c.github.io/aria/#aria-selected} for more info
85
- * @since 5.9.8
86
- */
87
- ariaSelected?: boolean;
88
- /**
89
- * `aria-hidden` setting.
90
- */
91
- ariaHidden?: boolean;
92
- /**
93
- * Label for the element to use for screen readers.
94
- *
95
- * @see {@link https://www.amcharts.com/docs/v5/concepts/accessibility/#Screen_reader} for more info
96
- */
97
- ariaLabel?: string;
98
- /**
99
- * `aria-orientation` setting.
100
- */
101
- ariaOrientation?: string;
102
- /**
103
- * `aria-valuenow` setting.
104
- */
105
- ariaValueNow?: string;
106
- /**
107
- * `aria-valuemin` setting.
108
- */
109
- ariaValueMin?: string;
110
- /**
111
- * `aria-valuemax` setting.
112
- */
113
- ariaValueMax?: string;
114
- /**
115
- * `aria-valuetext` setting.
116
- */
117
- ariaValueText?: string;
118
- /**
119
- * `aria-controls` setting.
120
- */
121
- ariaControls?: string;
122
9
  }
123
10
  /**
124
11
  * Defines available accessibility roles.
@@ -1 +1 @@
1
- {"version":3,"file":"Accessibility.d.ts","sourceRoot":"","sources":["../../../../../src/.internal/core/util/Accessibility.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,MAAM,WAAW,sBAAsB;IAEtC;;;;;OAKG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC;IAEvB;;;;;OAKG;IACH,YAAY,CAAC,EAAE,OAAO,CAAC;IAEvB;;;;OAIG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;IAEpB;;;;;;;;;;;;;;;;OAgBG;IACH,cAAc,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IAEjC;;;;;OAKG;IACH,iBAAiB,CAAC,E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ACP,YAAY,GACZ,OAAO,GACP,QAAQ,GACR,UAAU,GACV,KAAK,GACL,UAAU,GACV,WAAW,GACX,WAAW,GACX,QAAQ,GACR,SAAS,GACT,aAAa,GACb,QAAQ,GACR,WAAW,GACX,QAAQ,GACR,YAAY,GACZ,QAAQ,GACR,WAAW,GACX,QAAQ,GACR,KAAK,GACL,SAAS,GACT,UAAU,GACV,SAAS,GACT,OAAO,GACP,SAAS,GACT,SAAS,GACT,MAAM,GACN,UAAU,GACV,UAAU,GACV,QAAQ,GACR,QAAQ,CAAC;AAGZ;;GAEG;AACH,oBAAY,QAAQ,GAAG,KAAK,GAAG,QAAQ,GAAG,WAAW,CAAC"}
1
+ {"version":3,"file":"Accessibility.d.ts","sourceRoot":"","sources":["../../../../../src/.internal/core/util/Accessibility.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AACH,MAAM,WAAW,sBAAsB;CAAG;AAG1C;;;;GAIG;AACH,oBAAY,IAAI,GACf,OAAO,GACL,aAAa,GACb,aAAa,GACb,SAAS,GACT,QAAQ,GACR,QAAQ,GACR,UAAU,GACV,cAAc,GACd,UAAU,GACV,SAAS,GACT,eAAe,GACf,WAAW,GACX,aAAa,GACb,YAAY,GACZ,QAAQ,GACR,WAAW,GACX,UAAU,GACV,MAAM,GACN,QAAQ,GACR,MAAM,GACN,UAAU,GACV,OAAO,GACP,SAAS,GACT,KAAK,GACL,OAAO,GACP,UAAU,GACV,MAAM,GACN,MAAM,GACN,SAAS,GACT,UAAU,GACV,KAAK,GACL,MAAM,GACN,SAAS,GACT,MAAM,GACN,MAAM,GACN,SAAS,GACT,UAAU,GACV,kBAAkB,GAClB,eAAe,GACf,YAAY,GACZ,MAAM,GACN,MAAM,GACN,QAAQ,GACR,cAAc,GACd,aAAa,GACb,OAAO,GACP,YAAY,GACZ,OAAO,GACP,QAAQ,GACR,UAAU,GACV,KAAK,GACL,UAAU,GACV,WAAW,GACX,WAAW,GACX,QAAQ,GACR,SAAS,GACT,aAAa,GACb,QAAQ,GACR,WAAW,GACX,QAAQ,GACR,YAAY,GACZ,QAAQ,GACR,WAAW,GACX,QAAQ,GACR,KAAK,GACL,SAAS,GACT,UAAU,GACV,SAAS,GACT,OAAO,GACP,SAAS,GACT,SAAS,GACT,MAAM,GACN,UAAU,GACV,UAAU,GACV,QAAQ,GACR,QAAQ,CAAC;AAGZ;;GAEG;AACH,oBAAY,QAAQ,GAAG,KAAK,GAAG,QAAQ,GAAG,WAAW,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"Accessibility.js","sourceRoot":"","sources":["../../../../../src/.internal/core/util/Accessibility.ts"],"names":[],"mappings":"","sourcesContent":["/**\n * Accessibility setting that can be applied to any visual element.\n *\n * @see {@link https://www.amcharts.com/docs/v5/concepts/accessibility/} for more info\n */\nexport interface IAccessibilitySettings {\n\t\n\t/**\n\t * An internal order by which focusable elements will be selected within the\n\t * chart.\n\t * \n\t * @see {@link https://www.amcharts.com/docs/v5/concepts/accessibility/#Focusing_elements} for more info\n\t */\n\ttabindexOrder?: number;\n\n\t/**\n\t * Simulate hover on an element when it gains focus, including changing hover\n\t * appearance and displaying a tooltip if application.\n\t * \n\t * @see {@link https://www.amcharts.com/docs/v5/concepts/accessibility/#Focusing_elements} for more info\n\t */\n\thoverOnFocus?: boolean;\n\n\t/**\n\t * Can element be focused, i.e. selected using TAB key.\n\t * \n\t * @see {@link https://www.amcharts.com/docs/v5/concepts/accessibility/#Focusing_elements} for more info\n\t */\n\tfocusable?: boolean;\n\n\t/**\n\t * An identifier by which to group common elements into focusable groups.\n\t *\n\t * If set, only the first element in he group will be focusable via TAB key.\n\t * When it is selected, the rest of the elements in the same group can be\n\t * selected using arrow keys.\n\t *\n\t * It allows users to TAB-through chart elements quickly without the need\n\t * to TAB into each and every element.\n\t *\n\t * It's up to implementer of the charts to provide meaningful `ariaLabel` to\n\t * the element, which advertises this capability and provides adequate\n\t * instructions.\n\t *\n\t * @see {@link https://www.amcharts.com/docs/v5/concepts/accessibility/#Grouping_focusable_elements} for more info\n\t * @since 5.0.6\n\t */\n\tfocusableGroup?: string | number;\n\n\t/**\n\t * If set, the text will be read out (announced) by a screen reader when\n\t * focused element is \"clicked\" (by pressing ENTER or SPACE).\n\t * \n\t * @since 5.10.8\n\t */\n\tclickAnnounceText?: string;\n\n\t/**\n\t * Element's role.\n\t * \n\t * @see {@link https://www.amcharts.com/docs/v5/concepts/accessibility/#Roles} for more info\n\t */\n\trole?: Role;\n\n\t/**\n\t * `aria-live` setting.\n\t */\n\tariaLive?: AriaLive;\n\n\t/**\n\t * `aria-checked` setting.\n\t *\n\t * This setting is ignored unless `role` is one of the following:\n\t * * `\"checkbox\"`\n\t * * `\"option\"`\n\t * * `\"radio\"`\n\t * * `\"menuitemcheckbox\"`\n\t * * `\"menuitemradio\"`\n\t * * `\"treeitem\"`\n\t */\n\tariaChecked?: boolean;\n\n\t/**\n\t * `aria-current` setting.\n\t * \n\t * @see {@link https://w3c.github.io/aria/#aria-current} for more info\n\t * @since 5.9.8\n\t */\n\tariaCurrent?: string;\n\n\t/**\n\t * `aria-selected` setting.\n\t * \n\t * @see {@link https://w3c.github.io/aria/#aria-selected} for more info\n\t * @since 5.9.8\n\t */\n\tariaSelected?: boolean;\n\n\t/**\n\t * `aria-hidden` setting.\n\t */\n\tariaHidden?: boolean;\n\n\t/**\n\t * Label for the element to use for screen readers.\n\t * \n\t * @see {@link https://www.amcharts.com/docs/v5/concepts/accessibility/#Screen_reader} for more info\n\t */\n\tariaLabel?: string;\n\n\t/**\n\t * `aria-orientation` setting.\n\t */\n\tariaOrientation?: string;\n\n\t/**\n\t * `aria-valuenow` setting.\n\t */\n\tariaValueNow?: string;\n\n\t/**\n\t * `aria-valuemin` setting.\n\t */\n\tariaValueMin?: string;\n\n\t/**\n\t * `aria-valuemax` setting.\n\t */\n\tariaValueMax?: string;\n\n\t/**\n\t * `aria-valuetext` setting.\n\t */\n\tariaValueText?: string;\n\n\t/**\n\t * `aria-controls` setting.\n\t */\n\tariaControls?: string;\n\n\t//ariaDescription?: string;\n\t//readerControls?: string;\n\n}\n\n\n/**\n * Defines available accessibility roles.\n *\n * @see {@link https://www.amcharts.com/docs/v5/concepts/accessibility/} for more info\n */\nexport type Role =\n\t\"alert\"\n\t| \"alertdialog\"\n\t| \"application\"\n\t| \"article\"\n\t| \"banner\"\n\t| \"button\"\n\t| \"checkbox\"\n\t| \"columnheader\"\n\t| \"combobox\"\n\t| \"command\"\n\t| \"complementary\"\n\t| \"composite\"\n\t| \"contentinfo\"\n\t| \"definition\"\n\t| \"dialog\"\n\t| \"directory\"\n\t| \"document\"\n\t| \"form\"\n\t| \"figure\"\n\t| \"grid\"\n\t| \"gridcell\"\n\t| \"group\"\n\t| \"heading\"\n\t| \"img\"\n\t| \"input\"\n\t| \"landmark\"\n\t| \"link\"\n\t| \"list\"\n\t| \"listbox\"\n\t| \"listitem\"\n\t| \"log\"\n\t| \"main\"\n\t| \"marquee\"\n\t| \"math\"\n\t| \"menu\"\n\t| \"menubar\"\n\t| \"menuitem\"\n\t| \"menuitemcheckbox\"\n\t| \"menuitemradio\"\n\t| \"navigation\"\n\t| \"none\"\n\t| \"note\"\n\t| \"option\"\n\t| \"presentation\"\n\t| \"progressbar\"\n\t| \"radio\"\n\t| \"radiogroup\"\n\t| \"range\"\n\t| \"region\"\n\t| \"roletype\"\n\t| \"row\"\n\t| \"rowgroup\"\n\t| \"rowheader\"\n\t| \"scrollbar\"\n\t| \"search\"\n\t| \"section\"\n\t| \"sectionhead\"\n\t| \"select\"\n\t| \"separator\"\n\t| \"slider\"\n\t| \"spinbutton\"\n\t| \"status\"\n\t| \"structure\"\n\t| \"switch\"\n\t| \"tab\"\n\t| \"tablist\"\n\t| \"tabpanel\"\n\t| \"textbox\"\n\t| \"timer\"\n\t| \"toolbar\"\n\t| \"tooltip\"\n\t| \"tree\"\n\t| \"treegrid\"\n\t| \"treeitem\"\n\t| \"widget\"\n\t| \"window\";\n\n\n/**\n * Available options for `aria-live` attribute\n */\nexport type AriaLive = \"off\" | \"polite\" | \"assertive\";\n"]}
1
+ {"version":3,"file":"Accessibility.js","sourceRoot":"","sources":["../../../../../src/.internal/core/util/Accessibility.ts"],"names":[],"mappings":"","sourcesContent":["/**\n * Accessibility setting that can be applied to any visual element.\n *\n * @see {@link https://www.amcharts.com/docs/v5/concepts/accessibility/} for more info\n * @deprecated Since 5.11.2. Moved to ISpriteSettings\n * @ignore\n */\nexport interface IAccessibilitySettings {}\n\n\n/**\n * Defines available accessibility roles.\n *\n * @see {@link https://www.amcharts.com/docs/v5/concepts/accessibility/} for more info\n */\nexport type Role =\n\t\"alert\"\n\t| \"alertdialog\"\n\t| \"application\"\n\t| \"article\"\n\t| \"banner\"\n\t| \"button\"\n\t| \"checkbox\"\n\t| \"columnheader\"\n\t| \"combobox\"\n\t| \"command\"\n\t| \"complementary\"\n\t| \"composite\"\n\t| \"contentinfo\"\n\t| \"definition\"\n\t| \"dialog\"\n\t| \"directory\"\n\t| \"document\"\n\t| \"form\"\n\t| \"figure\"\n\t| \"grid\"\n\t| \"gridcell\"\n\t| \"group\"\n\t| \"heading\"\n\t| \"img\"\n\t| \"input\"\n\t| \"landmark\"\n\t| \"link\"\n\t| \"list\"\n\t| \"listbox\"\n\t| \"listitem\"\n\t| \"log\"\n\t| \"main\"\n\t| \"marquee\"\n\t| \"math\"\n\t| \"menu\"\n\t| \"menubar\"\n\t| \"menuitem\"\n\t| \"menuitemcheckbox\"\n\t| \"menuitemradio\"\n\t| \"navigation\"\n\t| \"none\"\n\t| \"note\"\n\t| \"option\"\n\t| \"presentation\"\n\t| \"progressbar\"\n\t| \"radio\"\n\t| \"radiogroup\"\n\t| \"range\"\n\t| \"region\"\n\t| \"roletype\"\n\t| \"row\"\n\t| \"rowgroup\"\n\t| \"rowheader\"\n\t| \"scrollbar\"\n\t| \"search\"\n\t| \"section\"\n\t| \"sectionhead\"\n\t| \"select\"\n\t| \"separator\"\n\t| \"slider\"\n\t| \"spinbutton\"\n\t| \"status\"\n\t| \"structure\"\n\t| \"switch\"\n\t| \"tab\"\n\t| \"tablist\"\n\t| \"tabpanel\"\n\t| \"textbox\"\n\t| \"timer\"\n\t| \"toolbar\"\n\t| \"tooltip\"\n\t| \"tree\"\n\t| \"treegrid\"\n\t| \"treeitem\"\n\t| \"widget\"\n\t| \"window\";\n\n\n/**\n * Available options for `aria-live` attribute\n */\nexport type AriaLive = \"off\" | \"polite\" | \"assertive\";\n"]}
@@ -54,7 +54,7 @@ export function assert(condition, message = "Assertion failed") {
54
54
  export function toNumber(value) {
55
55
  if (value != null && !isNumber(value)) {
56
56
  let converted = Number(value);
57
- if (isNaN(converted) && isString(value) && value != "") {
57
+ if (isNaN(converted) && isString(value) && value != "" && value.match(/[0-9]+/)) {
58
58
  return toNumber(value.replace(/[^0-9.\-]+/g, ''));
59
59
  }
60
60
  return converted;
@@ -1 +1 @@
1
- {"version":3,"file":"Type.js","sourceRoot":"","sources":["../../../../../src/.internal/core/util/Type.ts"],"names":[],"mappings":"AAAA;;;GAGG;AA+CH;;;;;GAKG;AAEH;;;;;GAKG;AACH,MAAM,UAAU,KAAK,CAAC,KAAa;IAClC,OAAO,MAAM,CAAC,KAAK,CAAC,KAAK,KAAK,CAAC;AAChC,CAAC;AAaD;;;;;;GAMG;AACH,MAAM,UAAU,OAAO,CAAI,KAAQ;IAClC,OAAO,CAAC,EAAE,CAAC,CAAC,QAAQ,CAAC,IAAI,CAAC,KAAK,CAAS,CAAC;AAC1C,CAAC;AAGD;;;;;;GAMG;AACH,MAAM,UAAU,MAAM,CAAC,SAAkB,EAAE,UAAkB,kBAAkB;IAC9E,IAAI,CAAC,SAAS,EAAE;QACf,MAAM,IAAI,KAAK,CAAC,OAAO,CAAC,CAAC;KACzB;AACF,CAAC;AAGD;;;;;GAKG;AAGH;;;;;GAKG;AACH,MAAM,UAAU,QAAQ,CAAC,KAAU;IAClC,IAAI,KAAK,IAAI,IAAI,IAAI,CAAC,QAAQ,CAAC,KAAK,CAAC,EAAE;QACtC,IAAI,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AAG,QAAQ,GAAG,MAAM,CAAC,GAAG,EAAE,KAAK,CAAC,CAAC;aAC7C;SACD;KACD;IAED,OAAO,QAAQ,CAAC,CAAC,CAAC,GAAG,GAAG,GAAG,CAAC,CAAC,CAAC,GAAG,CAAC;AACnC,CAAC;AAED;;;;;;;;GAQG;AACH,MAAM,UAAU,MAAM,CAAC,MAAc,EAAE,MAAc;IACnD,OAAO,IAAI,KAAK,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;AAC5C,CAAC;AAgBD;;;;;GAKG;AAEH;;;;;GAKG;AACH,MAAM,UAAU,MAAM,CAAC,KAAU;IAChC,OAAO,OAAO,CAAC,KAAK,CAAC,KAAK,eAAe,CAAC;AAC3C,CAAC;AAED;;;;;GAKG;AACH,MAAM,UAAU,QAAQ,CAAC,KAAU;IAClC,OAAO,OAAO,KAAK,KAAK,QAAQ,CAAC;AAClC,CAAC;AAED;;;;;GAKG;AACH,MAAM,UAAU,QAAQ,CAAC,KAAU;IAClC,OAAO,OAAO,KAAK,KAAK,QAAQ,IAAI,MAAM,CAAC,KAAK,CAAC,IAAI,KAAK,CAAC;AAC5D,CAAC;AAED;;;;;GAKG;AACH,MAAM,UAAU,QAAQ,CAAC,KAAU;IAClC,OAAO,OAAO,KAAK,KAAK,QAAQ,IAAI,KAAK,KAAK,IAAI,CAAC;AACpD,CAAC;AAED;;;;;GAKG;AACH,MAAM,UAAU,OAAO,CAAC,KAAU;IACjC,OAAO,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC;AAC7B,CAAC;AAGD;;;;;GAKG;AAGH;;GAEG;AACH,MAAM,CAAC,MAAM,WAAW,GAAW,SAAS,CAAC;AAE7C;;GAEG;AACH,MAAM,CAAC,MAAM,YAAY,GAAW,UAAU,CAAC","sourcesContent":["/**\n * A collection of utility functions for various type checks and conversion\n * @hidden\n */\n\n/**\n * ============================================================================\n * IMPORTS\n * ============================================================================\n * @hidden\n */\n\n/**\n * ============================================================================\n * MISC\n * ============================================================================\n * @hidden\n */\n\ntype Cond<T, Keys extends keyof T> = Keys extends never\n\t? never\n\t: { [K in Keys]: T[K] };\n\ntype Never<T> = T extends undefined ? never : T;\n\n/**\n * Selects all the keys of T which have a value of U.\n */\nexport type SelectKeys<T, U> = Never<{ [K in keyof T]: T[K] extends U ? K : never }[keyof T]>;\n\n/**\n * Creates a new type which is the same as T except it only has the properties of type U.\n */\nexport type Select<T, U> = Cond<T, SelectKeys<T, U>>;\n\n\n/**\n * @todo Description\n * @ignore Exclude from docs\n */\nexport type Public<T> = { [P in keyof T]: T[P] };\n\n\n/**\n * `Keyof<T>` is the same as `keyof T` except it only accepts string keys, not numbers or symbols.\n */\nexport type Keyof<T> = Extract<keyof T, string>;\n\n\n\n/**\n * ============================================================================\n * TYPE CHECK\n * ============================================================================\n * @hidden\n */\n\n/**\n * Returns `true` if value is not a number (NaN).\n *\n * @param value Input value\n * @return Is NaN?\n */\nexport function isNaN(value: number): boolean {\n\treturn Number(value) !== value;\n}\n\n/**\n * Represents a type for all available JavaScript variable types.\n */\nexport type Type\n\t= \"[object Object]\"\n\t| \"[object Array]\"\n\t| \"[object String]\"\n\t| \"[object Number]\"\n\t| \"[object Boolean]\"\n\t| \"[object Date]\";\n\n/**\n * Returns a type of the value.\n *\n * @param value Input value\n * @return Type of the value\n * @ignore\n */\nexport function getType<A>(value: A): Type {\n\treturn ({}).toString.call(value) as Type;\n}\n\n\n/**\n * Asserts that the condition is true.\n *\n * @param condition Condition to check\n * @param message Message to display in the error\n * @ignore\n */\nexport function assert(condition: boolean, message: string = \"Assertion failed\"): asserts condition {\n\tif (!condition) {\n\t\tthrow new Error(message);\n\t}\n}\n\n\n/**\n * ============================================================================\n * QUICK CONVERSION\n * ============================================================================\n * @hidden\n */\n\n\n/**\n * Converts any value into a `number`.\n *\n * @param value Source value\n * @return Number representation of value\n */\nexport function toNumber(value: any): number {\n\tif (value != null && !isNumber(value)) {\n\t\tlet converted = Number(value);\n\t\tif (isNaN(converted) && isString(value) && value != \"\") {\n\t\t\treturn toNumber(value.replace(/[^0-9.\\-]+/g, ''));\n\t\t}\n\t\treturn converted;\n\t}\n\treturn value;\n}\n\n\n\n/**\n * Converts anything to Date object.\n *\n * @param value A value of any type\n * @return Date object representing a value\n */\nexport function toDate(value: Date | number | string): Date {\n\tif (isDate(value)) {\n\t\t// TODO maybe don't create a new Date ?\n\t\treturn new Date(value);\n\t}\n\n\telse if (isNumber(value)) {\n\t\treturn new Date(value);\n\t}\n\n\telse {\n\t\t// Try converting to number (assuming timestamp)\n\t\tlet num = Number(value);\n\n\t\tif (!isNumber(num)) {\n\t\t\treturn new Date(value);\n\t\t}\n\t\telse {\n\t\t\treturn new Date(num);\n\t\t}\n\t}\n}\n\n/**\n * Converts numeric value into string. Deals with large or small numbers that\n * would otherwise use exponents.\n *\n * @param value Numeric value\n * @return Numeric value as string\n */\nexport function numberToString(value: number): string {\n\t// TODO handle Infinity and -Infinity\n\tif (isNaN(value)) {\n\t\treturn \"NaN\";\n\t}\n\n\tif (value === Infinity) {\n\t\treturn \"Infinity\";\n\t}\n\n\tif (value === -Infinity) {\n\t\treturn \"-Infinity\";\n\t}\n\n\t// Negative 0\n\tif ((value === 0) && (1 / value === -Infinity)) {\n\t\treturn \"-0\";\n\t}\n\n\t// Preserve negative and deal with absoute values\n\tlet negative = value < 0;\n\n\tvalue = Math.abs(value);\n\n\t// TODO test this\n\tlet parsed = /^([0-9]+)(?:\\.([0-9]+))?(?:e[\\+\\-]([0-9]+))?$/.exec(\"\" + value)!;\n\tlet digits = parsed[1];\n\tlet decimals = parsed[2] || \"\";\n\n\tlet res: string;\n\n\t// Leave the nummber as it is if it does not use exponents\n\tif (parsed[3] === undefined) {\n\t\tres = (decimals === \"\" ? digits : digits + \".\" + decimals);\n\n\t} else {\n\t\tlet exponent = +parsed[3];\n\n\t\t// Deal with decimals\n\t\tif (value < 1) {\n\t\t\tlet zeros = exponent - 1;\n\n\t\t\tres = \"0.\" + repeat(\"0\", zeros) + digits + decimals;\n\n\t\t\t// Deal with integers\n\t\t} else {\n\t\t\tlet zeros = exponent - decimals.length;\n\n\t\t\tif (zeros === 0) {\n\t\t\t\tres = digits + decimals;\n\n\t\t\t} else if (zeros < 0) {\n\t\t\t\tres = digits + decimals.slice(0, zeros) + \".\" + decimals.slice(zeros);\n\n\t\t\t} else {\n\t\t\t\tres = digits + decimals + repeat(\"0\", zeros);\n\t\t\t}\n\t\t}\n\t}\n\n\treturn negative ? \"-\" + res : res;\n}\n\n/**\n * Repeats a `string` number of times as set in `amount`.\n *\n * @ignore Exclude from docs\n * @todo Make this faster\n * @param string Source string\n * @param amount Number of times to repeat string\n * @return New string\n */\nexport function repeat(string: string, amount: number): string {\n return new Array(amount + 1).join(string);\n}\n\n\n/**\n * ============================================================================\n * VALUE PRESENCE CHECK\n * ============================================================================\n * @hidden\n */\n\n/**\n * Defines an optional value that can be of any type or `undefined`.\n */\nexport type Optional<A> = A | undefined;\n\n\n/**\n * ============================================================================\n * TYPE CHECK\n * ============================================================================\n * @hidden\n */\n\n/**\n * Checks if parameter is `Date`.\n *\n * @param value Input value\n * @return Is Date?\n */\nexport function isDate(value: any): value is Date {\n\treturn getType(value) === \"[object Date]\";\n}\n\n/**\n * Checks if parameter is `string`.\n *\n * @param value Input value\n * @return Is string?\n */\nexport function isString(value: any): value is string {\n\treturn typeof value === \"string\";\n}\n\n/**\n * Checks if parameter is `number`.\n *\n * @param value Input value\n * @return Is number?\n */\nexport function isNumber(value: any): value is number {\n\treturn typeof value === \"number\" && Number(value) == value;\n}\n\n/**\n * Checks if parameter is `object`.\n *\n * @param value Input value\n * @return Is object?\n */\nexport function isObject(value: any): value is object {\n\treturn typeof value === \"object\" && value !== null;\n}\n\n/**\n * Checks if parameter is `Array`.\n *\n * @param value Input value\n * @return Is Array?\n */\nexport function isArray(value: any): value is Array<unknown> {\n\treturn Array.isArray(value);\n}\n\n\n/**\n * ============================================================================\n * STATIC CONSTANTS\n * ============================================================================\n * @hidden\n */\n\n\n/**\n * @ignore Exclude from docs\n */\nexport const PLACEHOLDER: string = \"__§§§__\";\n\n/**\n * @ignore Exclude from docs\n */\nexport const PLACEHOLDER2: string = \"__§§§§__\";\n"]}
1
+ {"version":3,"file":"Type.js","sourceRoot":"","sources":["../../../../../src/.internal/core/util/Type.ts"],"names":[],"mappings":"AAAA;;;GAGG;AA+CH;;;;;GAKG;AAEH;;;;;GAKG;AACH,MAAM,UAAU,KAAK,CAAC,KAAa;IAClC,OAAO,MAAM,CAAC,KAAK,CAAC,KAAK,KAAK,CAAC;AAChC,CAAC;AAaD;;;;;;GAMG;AACH,MAAM,UAAU,OAAO,CAAI,KAAQ;IAClC,OAAO,CAAC,EAAE,CAAC,CAAC,QAAQ,CAAC,IAAI,CAAC,KAAK,CAAS,CAAC;AAC1C,CAAC;AAGD;;;;;;GAMG;AACH,MAAM,UAAU,MAAM,CAAC,SAAkB,EAAE,UAAkB,kBAAkB;IAC9E,IAAI,CAAC,SAAS,EAAE;QACf,MAAM,IAAI,KAAK,CAAC,OAAO,CAAC,CAAC;KACzB;AACF,CAAC;AAGD;;;;;GAKG;AAGH;;;;;GAKG;AACH,MAAM,UAAU,QAAQ,CAAC,KAAU;IAClC,IAAI,KAAK,IAAI,IAAI,IAAI,CAAC,QAAQ,CAAC,KAAK,CAAC,EAAE;QACtC,IAAI,SAAS,GAAG,MAAM,CAAC,KAAK,CAAC,CAAC;QAC9B,IAAI,KAAK,CAAC,SAAS,CAAC,IAAI,QAAQ,CAAC,KAAK,CAAC,IAAI,KAAK,IAAI,EAAE,IAAI,KAAK,CAAC,KAAK,CAAC,QAAQ,CAAC,EAAE;YAChF,OAAO,QAAQ,CAAC,KAAK,CAAC,OAAO,CAAC,aAAa,EAAE,EAAE,CAAC,CAAC,CAAC;SAClD;QACD,OAAO,SAAS,CAAC;KACjB;IACD,OAAO,KAAK,CAAC;AACd,CAAC;AAID;;;;;GAKG;AACH,MAAM,UAAU,MAAM,CAAC,KA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;AAgBD;;;;;GAKG;AAEH;;;;;GAKG;AACH,MAAM,UAAU,MAAM,CAAC,KAAU;IAChC,OAAO,OAAO,CAAC,KAAK,CAAC,KAAK,eAAe,CAAC;AAC3C,CAAC;AAED;;;;;GAKG;AACH,MAAM,UAAU,QAAQ,CAAC,KAAU;IAClC,OAAO,OAAO,KAAK,KAAK,QAAQ,CAAC;AAClC,CAAC;AAED;;;;;GAKG;AACH,MAAM,UAAU,QAAQ,CAAC,KAAU;IAClC,OAAO,OAAO,KAAK,KAAK,QAAQ,IAAI,MAAM,CAAC,KAAK,CAAC,IAAI,KAAK,CAAC;AAC5D,CAAC;AAED;;;;;GAKG;AACH,MAAM,UAAU,QAAQ,CAAC,KAAU;IAClC,OAAO,OAAO,KAAK,KAAK,QAAQ,IAAI,KAAK,KAAK,IAAI,CAAC;AACpD,CAAC;AAED;;;;;GAKG;AACH,MAAM,UAAU,OAAO,CAAC,KAAU;IACjC,OAAO,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC;AAC7B,CAAC;AAGD;;;;;GAKG;AAGH;;GAEG;AACH,MAAM,CAAC,MAAM,WAAW,GAAW,SAAS,CAAC;AAE7C;;GAEG;AACH,MAAM,CAAC,MAAM,YAAY,GAAW,UAAU,CAAC","sourcesContent":["/**\n * A collection of utility functions for various type checks and conversion\n * @hidden\n */\n\n/**\n * ============================================================================\n * IMPORTS\n * ============================================================================\n * @hidden\n */\n\n/**\n * ============================================================================\n * MISC\n * ============================================================================\n * @hidden\n */\n\ntype Cond<T, Keys extends keyof T> = Keys extends never\n\t? never\n\t: { [K in Keys]: T[K] };\n\ntype Never<T> = T extends undefined ? never : T;\n\n/**\n * Selects all the keys of T which have a value of U.\n */\nexport type SelectKeys<T, U> = Never<{ [K in keyof T]: T[K] extends U ? K : never }[keyof T]>;\n\n/**\n * Creates a new type which is the same as T except it only has the properties of type U.\n */\nexport type Select<T, U> = Cond<T, SelectKeys<T, U>>;\n\n\n/**\n * @todo Description\n * @ignore Exclude from docs\n */\nexport type Public<T> = { [P in keyof T]: T[P] };\n\n\n/**\n * `Keyof<T>` is the same as `keyof T` except it only accepts string keys, not numbers or symbols.\n */\nexport type Keyof<T> = Extract<keyof T, string>;\n\n\n\n/**\n * ============================================================================\n * TYPE CHECK\n * ============================================================================\n * @hidden\n */\n\n/**\n * Returns `true` if value is not a number (NaN).\n *\n * @param value Input value\n * @return Is NaN?\n */\nexport function isNaN(value: number): boolean {\n\treturn Number(value) !== value;\n}\n\n/**\n * Represents a type for all available JavaScript variable types.\n */\nexport type Type\n\t= \"[object Object]\"\n\t| \"[object Array]\"\n\t| \"[object String]\"\n\t| \"[object Number]\"\n\t| \"[object Boolean]\"\n\t| \"[object Date]\";\n\n/**\n * Returns a type of the value.\n *\n * @param value Input value\n * @return Type of the value\n * @ignore\n */\nexport function getType<A>(value: A): Type {\n\treturn ({}).toString.call(value) as Type;\n}\n\n\n/**\n * Asserts that the condition is true.\n *\n * @param condition Condition to check\n * @param message Message to display in the error\n * @ignore\n */\nexport function assert(condition: boolean, message: string = \"Assertion failed\"): asserts condition {\n\tif (!condition) {\n\t\tthrow new Error(message);\n\t}\n}\n\n\n/**\n * ============================================================================\n * QUICK CONVERSION\n * ============================================================================\n * @hidden\n */\n\n\n/**\n * Converts any value into a `number`.\n *\n * @param value Source value\n * @return Number representation of value\n */\nexport function toNumber(value: any): number {\n\tif (value != null && !isNumber(value)) {\n\t\tlet converted = Number(value);\n\t\tif (isNaN(converted) && isString(value) && value != \"\" && value.match(/[0-9]+/)) {\n\t\t\treturn toNumber(value.replace(/[^0-9.\\-]+/g, ''));\n\t\t}\n\t\treturn converted;\n\t}\n\treturn value;\n}\n\n\n\n/**\n * Converts anything to Date object.\n *\n * @param value A value of any type\n * @return Date object representing a value\n */\nexport function toDate(value: Date | number | string): Date {\n\tif (isDate(value)) {\n\t\t// TODO maybe don't create a new Date ?\n\t\treturn new Date(value);\n\t}\n\n\telse if (isNumber(value)) {\n\t\treturn new Date(value);\n\t}\n\n\telse {\n\t\t// Try converting to number (assuming timestamp)\n\t\tlet num = Number(value);\n\n\t\tif (!isNumber(num)) {\n\t\t\treturn new Date(value);\n\t\t}\n\t\telse {\n\t\t\treturn new Date(num);\n\t\t}\n\t}\n}\n\n/**\n * Converts numeric value into string. Deals with large or small numbers that\n * would otherwise use exponents.\n *\n * @param value Numeric value\n * @return Numeric value as string\n */\nexport function numberToString(value: number): string {\n\t// TODO handle Infinity and -Infinity\n\tif (isNaN(value)) {\n\t\treturn \"NaN\";\n\t}\n\n\tif (value === Infinity) {\n\t\treturn \"Infinity\";\n\t}\n\n\tif (value === -Infinity) {\n\t\treturn \"-Infinity\";\n\t}\n\n\t// Negative 0\n\tif ((value === 0) && (1 / value === -Infinity)) {\n\t\treturn \"-0\";\n\t}\n\n\t// Preserve negative and deal with absoute values\n\tlet negative = value < 0;\n\n\tvalue = Math.abs(value);\n\n\t// TODO test this\n\tlet parsed = /^([0-9]+)(?:\\.([0-9]+))?(?:e[\\+\\-]([0-9]+))?$/.exec(\"\" + value)!;\n\tlet digits = parsed[1];\n\tlet decimals = parsed[2] || \"\";\n\n\tlet res: string;\n\n\t// Leave the nummber as it is if it does not use exponents\n\tif (parsed[3] === undefined) {\n\t\tres = (decimals === \"\" ? digits : digits + \".\" + decimals);\n\n\t} else {\n\t\tlet exponent = +parsed[3];\n\n\t\t// Deal with decimals\n\t\tif (value < 1) {\n\t\t\tlet zeros = exponent - 1;\n\n\t\t\tres = \"0.\" + repeat(\"0\", zeros) + digits + decimals;\n\n\t\t\t// Deal with integers\n\t\t} else {\n\t\t\tlet zeros = exponent - decimals.length;\n\n\t\t\tif (zeros === 0) {\n\t\t\t\tres = digits + decimals;\n\n\t\t\t} else if (zeros < 0) {\n\t\t\t\tres = digits + decimals.slice(0, zeros) + \".\" + decimals.slice(zeros);\n\n\t\t\t} else {\n\t\t\t\tres = digits + decimals + repeat(\"0\", zeros);\n\t\t\t}\n\t\t}\n\t}\n\n\treturn negative ? \"-\" + res : res;\n}\n\n/**\n * Repeats a `string` number of times as set in `amount`.\n *\n * @ignore Exclude from docs\n * @todo Make this faster\n * @param string Source string\n * @param amount Number of times to repeat string\n * @return New string\n */\nexport function repeat(string: string, amount: number): string {\n return new Array(amount + 1).join(string);\n}\n\n\n/**\n * ============================================================================\n * VALUE PRESENCE CHECK\n * ============================================================================\n * @hidden\n */\n\n/**\n * Defines an optional value that can be of any type or `undefined`.\n */\nexport type Optional<A> = A | undefined;\n\n\n/**\n * ============================================================================\n * TYPE CHECK\n * ============================================================================\n * @hidden\n */\n\n/**\n * Checks if parameter is `Date`.\n *\n * @param value Input value\n * @return Is Date?\n */\nexport function isDate(value: any): value is Date {\n\treturn getType(value) === \"[object Date]\";\n}\n\n/**\n * Checks if parameter is `string`.\n *\n * @param value Input value\n * @return Is string?\n */\nexport function isString(value: any): value is string {\n\treturn typeof value === \"string\";\n}\n\n/**\n * Checks if parameter is `number`.\n *\n * @param value Input value\n * @return Is number?\n */\nexport function isNumber(value: any): value is number {\n\treturn typeof value === \"number\" && Number(value) == value;\n}\n\n/**\n * Checks if parameter is `object`.\n *\n * @param value Input value\n * @return Is object?\n */\nexport function isObject(value: any): value is object {\n\treturn typeof value === \"object\" && value !== null;\n}\n\n/**\n * Checks if parameter is `Array`.\n *\n * @param value Input value\n * @return Is Array?\n */\nexport function isArray(value: any): value is Array<unknown> {\n\treturn Array.isArray(value);\n}\n\n\n/**\n * ============================================================================\n * STATIC CONSTANTS\n * ============================================================================\n * @hidden\n */\n\n\n/**\n * @ignore Exclude from docs\n */\nexport const PLACEHOLDER: string = \"__§§§__\";\n\n/**\n * @ignore Exclude from docs\n */\nexport const PLACEHOLDER2: string = \"__§§§§__\";\n"]}
package/CHANGELOG.md CHANGED
@@ -5,6 +5,24 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/).
5
5
  Please note, that this project, while following numbering syntax, it DOES NOT
6
6
  adhere to [Semantic Versioning](http://semver.org/spec/v2.0.0.html) rules.
7
7
 
8
+ ## [5.11.2] - 2025-03-21
9
+
10
+ ### Added
11
+ - `strokeWidths` setting added to `SettingsModal`.
12
+ - `cornerRadiusTL`, `cornerRadiusTR`, `cornerRadiusBR`, `cornerRadiusBL` added to `FunnelSlice`. Use it to add rounded corner to funnel slices.
13
+
14
+ ### Changed
15
+ - Screen reader alerts were not being read out if the message was exact same text as the last one.
16
+ - All settings from `IAccessibilitySettings` have been moved to `ISpriteSettings`.
17
+
18
+ ### Fixed
19
+ - Fixed a prompt in Dutch (nl_NL) translation.
20
+ - A Horizontal Line drawing restored from serialized data was not visible until chart zoom.
21
+ - HTML content outside of a scrollable `Container` were still visible.
22
+ - `am5.type.toNumber()` could go into infinite loop with some non-numeric input values.
23
+ - Removing of an `XYSeries` from an `XYChart` with a `DateAxis` and data grouping enabled could cause newly added series to be wrongly grouped.
24
+
25
+
8
26
  ## [5.11.1] - 2025-02-25
9
27
 
10
28
  ### Added
@@ -3,7 +3,7 @@
3
3
  "name": "amcharts5-example-flow-arc-horizontal",
4
4
  "version": "0.1.0",
5
5
  "devDependencies": {
6
- "@amcharts/amcharts5": "^5.11.1",
6
+ "@amcharts/amcharts5": "^5.11.2",
7
7
  "source-map-loader": "^4.0.1",
8
8
  "webpack": "^5.1.3",
9
9
  "webpack-cli": "^5.1.1",
@@ -3,7 +3,7 @@
3
3
  "name": "amcharts5-example-flow-arc-vertical",
4
4
  "version": "0.1.0",
5
5
  "devDependencies": {
6
- "@amcharts/amcharts5": "^5.11.1",
6
+ "@amcharts/amcharts5": "^5.11.2",
7
7
  "source-map-loader": "^4.0.1",
8
8
  "webpack": "^5.1.3",
9
9
  "webpack-cli": "^5.1.1",
@@ -3,7 +3,7 @@
3
3
  "name": "amcharts5-example-flow-chord",
4
4
  "version": "0.1.0",
5
5
  "devDependencies": {
6
- "@amcharts/amcharts5": "^5.11.1",
6
+ "@amcharts/amcharts5": "^5.11.2",
7
7
  "source-map-loader": "^4.0.1",
8
8
  "webpack": "^5.1.3",
9
9
  "webpack-cli": "^5.1.1",
@@ -3,7 +3,7 @@
3
3
  "name": "amcharts5-example-flow-chord-directed",
4
4
  "version": "0.1.0",
5
5
  "devDependencies": {
6
- "@amcharts/amcharts5": "^5.11.1",
6
+ "@amcharts/amcharts5": "^5.11.2",
7
7
  "source-map-loader": "^4.0.1",
8
8
  "webpack": "^5.1.3",
9
9
  "webpack-cli": "^5.1.1",
@@ -3,7 +3,7 @@
3
3
  "name": "amcharts5-example-flow-chord-non-ribbon",
4
4
  "version": "0.1.0",
5
5
  "devDependencies": {
6
- "@amcharts/amcharts5": "^5.11.1",
6
+ "@amcharts/amcharts5": "^5.11.2",
7
7
  "source-map-loader": "^4.0.1",
8
8
  "webpack": "^5.1.3",
9
9
  "webpack-cli": "^5.1.1",
@@ -3,7 +3,7 @@
3
3
  "name": "amcharts5-example-flow-sankey",
4
4
  "version": "0.1.0",
5
5
  "devDependencies": {
6
- "@amcharts/amcharts5": "^5.11.1",
6
+ "@amcharts/amcharts5": "^5.11.2",
7
7
  "source-map-loader": "^4.0.1",
8
8
  "webpack": "^5.1.3",
9
9
  "webpack-cli": "^5.1.1",
@@ -3,7 +3,7 @@
3
3
  "name": "amcharts5-example-gauge",
4
4
  "version": "0.1.0",
5
5
  "devDependencies": {
6
- "@amcharts/amcharts5": "^5.11.1",
6
+ "@amcharts/amcharts5": "^5.11.2",
7
7
  "source-map-loader": "^4.0.1",
8
8
  "webpack": "^5.1.3",
9
9
  "webpack-cli": "^5.1.1",
@@ -3,7 +3,7 @@
3
3
  "name": "amcharts5-example-gauge-bands",
4
4
  "version": "0.1.0",
5
5
  "devDependencies": {
6
- "@amcharts/amcharts5": "^5.11.1",
6
+ "@amcharts/amcharts5": "^5.11.2",
7
7
  "source-map-loader": "^4.0.1",
8
8
  "webpack": "^5.1.3",
9
9
  "webpack-cli": "^5.1.1",
@@ -3,7 +3,7 @@
3
3
  "name": "amcharts5-example-hierarchy-force-directed",
4
4
  "version": "0.1.0",
5
5
  "devDependencies": {
6
- "@amcharts/amcharts5": "^5.11.1",
6
+ "@amcharts/amcharts5": "^5.11.2",
7
7
  "source-map-loader": "^4.0.1",
8
8
  "webpack": "^5.1.3",
9
9
  "webpack-cli": "^5.1.1",
@@ -3,7 +3,7 @@
3
3
  "name": "amcharts5-example-hierarchy-pack",
4
4
  "version": "0.1.0",
5
5
  "devDependencies": {
6
- "@amcharts/amcharts5": "^5.11.1",
6
+ "@amcharts/amcharts5": "^5.11.2",
7
7
  "source-map-loader": "^4.0.1",
8
8
  "webpack": "^5.1.3",
9
9
  "webpack-cli": "^5.1.1",
@@ -3,7 +3,7 @@
3
3
  "name": "amcharts5-example-hierarchy-partition",
4
4
  "version": "0.1.0",
5
5
  "devDependencies": {
6
- "@amcharts/amcharts5": "^5.11.1",
6
+ "@amcharts/amcharts5": "^5.11.2",
7
7
  "source-map-loader": "^4.0.1",
8
8
  "webpack": "^5.1.3",
9
9
  "webpack-cli": "^5.1.1",
@@ -3,7 +3,7 @@
3
3
  "name": "amcharts5-example-hierarchy-sunburst",
4
4
  "version": "0.1.0",
5
5
  "devDependencies": {
6
- "@amcharts/amcharts5": "^5.11.1",
6
+ "@amcharts/amcharts5": "^5.11.2",
7
7
  "source-map-loader": "^4.0.1",
8
8
  "webpack": "^5.1.3",
9
9
  "webpack-cli": "^5.1.1",
@@ -3,7 +3,7 @@
3
3
  "name": "amcharts5-example-hierarchy-tree",
4
4
  "version": "0.1.0",
5
5
  "devDependencies": {
6
- "@amcharts/amcharts5": "^5.11.1",
6
+ "@amcharts/amcharts5": "^5.11.2",
7
7
  "source-map-loader": "^4.0.1",
8
8
  "webpack": "^5.1.3",
9
9
  "webpack-cli": "^5.1.1",
@@ -3,7 +3,7 @@
3
3
  "name": "amcharts5-example-hierarchy-treemap",
4
4
  "version": "0.1.0",
5
5
  "devDependencies": {
6
- "@amcharts/amcharts5": "^5.11.1",
6
+ "@amcharts/amcharts5": "^5.11.2",
7
7
  "source-map-loader": "^4.0.1",
8
8
  "webpack": "^5.1.3",
9
9
  "webpack-cli": "^5.1.1",
@@ -3,7 +3,7 @@
3
3
  "name": "amcharts5-example-hierarchy-voronoi-treemap",
4
4
  "version": "0.1.0",
5
5
  "devDependencies": {
6
- "@amcharts/amcharts5": "^5.11.1",
6
+ "@amcharts/amcharts5": "^5.11.2",
7
7
  "source-map-loader": "^4.0.1",
8
8
  "webpack": "^5.1.3",
9
9
  "webpack-cli": "^5.1.1",
@@ -3,7 +3,7 @@
3
3
  "name": "amcharts5-example-jest",
4
4
  "version": "0.1.0",
5
5
  "devDependencies": {
6
- "@amcharts/amcharts5": "^5.11.1",
6
+ "@amcharts/amcharts5": "^5.11.2",
7
7
  "source-map-loader": "^4.0.1",
8
8
  "webpack": "^5.1.3",
9
9
  "webpack-cli": "^5.1.1",
@@ -3,7 +3,7 @@
3
3
  "name": "amcharts5-example-json-pie",
4
4
  "version": "0.1.0",
5
5
  "devDependencies": {
6
- "@amcharts/amcharts5": "^5.11.1",
6
+ "@amcharts/amcharts5": "^5.11.2",
7
7
  "source-map-loader": "^4.0.1",
8
8
  "webpack": "^5.1.3",
9
9
  "webpack-cli": "^5.1.1",
@@ -3,7 +3,7 @@
3
3
  "name": "amcharts5-example-json-xy",
4
4
  "version": "0.1.0",
5
5
  "devDependencies": {
6
- "@amcharts/amcharts5": "^5.11.1",
6
+ "@amcharts/amcharts5": "^5.11.2",
7
7
  "source-map-loader": "^4.0.1",
8
8
  "webpack": "^5.1.3",
9
9
  "webpack-cli": "^5.1.1",
@@ -3,7 +3,7 @@
3
3
  "name": "amcharts5-example-map-animating-along-lines",
4
4
  "version": "0.1.0",
5
5
  "devDependencies": {
6
- "@amcharts/amcharts5": "^5.11.1",
6
+ "@amcharts/amcharts5": "^5.11.2",
7
7
  "@amcharts/amcharts5-geodata": "^5.1.4",
8
8
  "source-map-loader": "^4.0.1",
9
9
  "webpack": "^5.1.3",
@@ -3,7 +3,7 @@
3
3
  "name": "amcharts5-example-map-clustered-points",
4
4
  "version": "0.1.0",
5
5
  "devDependencies": {
6
- "@amcharts/amcharts5": "^5.11.1",
6
+ "@amcharts/amcharts5": "^5.11.2",
7
7
  "@amcharts/amcharts5-geodata": "^5.1.4",
8
8
  "source-map-loader": "^4.0.1",
9
9
  "webpack": "^5.1.3",
@@ -3,7 +3,7 @@
3
3
  "name": "amcharts5-example-map-day-and-night",
4
4
  "version": "0.1.0",
5
5
  "devDependencies": {
6
- "@amcharts/amcharts5": "^5.11.1",
6
+ "@amcharts/amcharts5": "^5.11.2",
7
7
  "@amcharts/amcharts5-geodata": "^5.1.4",
8
8
  "source-map-loader": "^4.0.1",
9
9
  "webpack": "^5.1.3",
@@ -3,7 +3,7 @@
3
3
  "name": "amcharts5-example-map-globe-rotate-to-country",
4
4
  "version": "0.1.0",
5
5
  "devDependencies": {
6
- "@amcharts/amcharts5": "^5.11.1",
6
+ "@amcharts/amcharts5": "^5.11.2",
7
7
  "@amcharts/amcharts5-geodata": "^5.1.4",
8
8
  "source-map-loader": "^4.0.1",
9
9
  "webpack": "^5.1.3",
@@ -3,7 +3,7 @@
3
3
  "name": "amcharts5-example-map-globe-with-projected-circles",
4
4
  "version": "0.1.0",
5
5
  "devDependencies": {
6
- "@amcharts/amcharts5": "^5.11.1",
6
+ "@amcharts/amcharts5": "^5.11.2",
7
7
  "@amcharts/amcharts5-geodata": "^5.1.4",
8
8
  "source-map-loader": "^4.0.1",
9
9
  "webpack": "^5.1.3",
@@ -3,7 +3,7 @@
3
3
  "name": "amcharts5-example-map-with-bubbles",
4
4
  "version": "0.1.0",
5
5
  "devDependencies": {
6
- "@amcharts/amcharts5": "^5.11.1",
6
+ "@amcharts/amcharts5": "^5.11.2",
7
7
  "@amcharts/amcharts5-geodata": "^5.1.4",
8
8
  "source-map-loader": "^4.0.1",
9
9
  "webpack": "^5.1.3",
@@ -3,7 +3,7 @@
3
3
  "name": "amcharts5-example-map-zoom-to-country",
4
4
  "version": "0.1.0",
5
5
  "devDependencies": {
6
- "@amcharts/amcharts5": "^5.11.1",
6
+ "@amcharts/amcharts5": "^5.11.2",
7
7
  "@amcharts/amcharts5-geodata": "^5.1.4",
8
8
  "source-map-loader": "^4.0.1",
9
9
  "webpack": "^5.1.3",
@@ -3,7 +3,7 @@
3
3
  "name": "amcharts5-example-misc-40-charts",
4
4
  "version": "0.1.0",
5
5
  "devDependencies": {
6
- "@amcharts/amcharts5": "^5.11.1",
6
+ "@amcharts/amcharts5": "^5.11.2",
7
7
  "source-map-loader": "^4.0.1",
8
8
  "webpack": "^5.1.3",
9
9
  "webpack-cli": "^5.1.1",
@@ -3,7 +3,7 @@
3
3
  "name": "amcharts5-example-misc-microchart-grid",
4
4
  "version": "0.1.0",
5
5
  "devDependencies": {
6
- "@amcharts/amcharts5": "^5.11.1",
6
+ "@amcharts/amcharts5": "^5.11.2",
7
7
  "source-map-loader": "^4.0.1",
8
8
  "webpack": "^5.1.3",
9
9
  "webpack-cli": "^5.1.1",
@@ -3,7 +3,7 @@
3
3
  "name": "amcharts5-example-pie-chart",
4
4
  "version": "0.1.0",
5
5
  "devDependencies": {
6
- "@amcharts/amcharts5": "^5.11.1",
6
+ "@amcharts/amcharts5": "^5.11.2",
7
7
  "source-map-loader": "^4.0.1",
8
8
  "webpack": "^5.1.3",
9
9
  "webpack-cli": "^5.1.1",
@@ -3,7 +3,7 @@
3
3
  "name": "amcharts5-example-pie-donut-chart",
4
4
  "version": "0.1.0",
5
5
  "devDependencies": {
6
- "@amcharts/amcharts5": "^5.11.1",
6
+ "@amcharts/amcharts5": "^5.11.2",
7
7
  "source-map-loader": "^4.0.1",
8
8
  "webpack": "^5.1.3",
9
9
  "webpack-cli": "^5.1.1",
@@ -3,7 +3,7 @@
3
3
  "name": "amcharts5-example-pie-variable-radius",
4
4
  "version": "0.1.0",
5
5
  "devDependencies": {
6
- "@amcharts/amcharts5": "^5.11.1",
6
+ "@amcharts/amcharts5": "^5.11.2",
7
7
  "source-map-loader": "^4.0.1",
8
8
  "webpack": "^5.1.3",
9
9
  "webpack-cli": "^5.1.1",
@@ -3,7 +3,7 @@
3
3
  "name": "amcharts5-example-radar-column-iwatch-style",
4
4
  "version": "0.1.0",
5
5
  "devDependencies": {
6
- "@amcharts/amcharts5": "^5.11.1",
6
+ "@amcharts/amcharts5": "^5.11.2",
7
7
  "source-map-loader": "^4.0.1",
8
8
  "webpack": "^5.1.3",
9
9
  "webpack-cli": "^5.1.1",
@@ -3,7 +3,7 @@
3
3
  "name": "amcharts5-example-radar-heat-map",
4
4
  "version": "0.1.0",
5
5
  "devDependencies": {
6
- "@amcharts/amcharts5": "^5.11.1",
6
+ "@amcharts/amcharts5": "^5.11.2",
7
7
  "source-map-loader": "^4.0.1",
8
8
  "webpack": "^5.1.3",
9
9
  "webpack-cli": "^5.1.1",
@@ -3,7 +3,7 @@
3
3
  "name": "amcharts5-example-radar-line",
4
4
  "version": "0.1.0",
5
5
  "devDependencies": {
6
- "@amcharts/amcharts5": "^5.11.1",
6
+ "@amcharts/amcharts5": "^5.11.2",
7
7
  "source-map-loader": "^4.0.1",
8
8
  "webpack": "^5.1.3",
9
9
  "webpack-cli": "^5.1.1",
@@ -3,7 +3,7 @@
3
3
  "name": "amcharts5-example-radar-time-line",
4
4
  "version": "0.1.0",
5
5
  "devDependencies": {
6
- "@amcharts/amcharts5": "^5.11.1",
6
+ "@amcharts/amcharts5": "^5.11.2",
7
7
  "source-map-loader": "^4.0.1",
8
8
  "webpack": "^5.1.3",
9
9
  "webpack-cli": "^5.1.1",
@@ -3,7 +3,7 @@
3
3
  "name": "amcharts5-example-sliced-funnel",
4
4
  "version": "0.1.0",
5
5
  "devDependencies": {
6
- "@amcharts/amcharts5": "^5.11.1",
6
+ "@amcharts/amcharts5": "^5.11.2",
7
7
  "source-map-loader": "^4.0.1",
8
8
  "webpack": "^5.1.3",
9
9
  "webpack-cli": "^5.1.1",
@@ -3,7 +3,7 @@
3
3
  "name": "amcharts5-example-sliced-pictorial-stacked",
4
4
  "version": "0.1.0",
5
5
  "devDependencies": {
6
- "@amcharts/amcharts5": "^5.11.1",
6
+ "@amcharts/amcharts5": "^5.11.2",
7
7
  "source-map-loader": "^4.0.1",
8
8
  "webpack": "^5.1.3",
9
9
  "webpack-cli": "^5.1.1",