@progress/kendo-charts 2.7.2-dev.202502101310 → 2.7.2-develop.1

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 (363) hide show
  1. package/dist/cdn/js/kendo-charts.js +1 -1
  2. package/dist/cdn/main.js +1 -1
  3. package/dist/es/barcode/barcode-validator.js +10 -12
  4. package/dist/es/barcode/barcode.js +84 -96
  5. package/dist/es/barcode/encodings/code11.js +41 -57
  6. package/dist/es/barcode/encodings/code128.js +222 -354
  7. package/dist/es/barcode/encodings/code39-extended.js +20 -34
  8. package/dist/es/barcode/encodings/code39.js +49 -75
  9. package/dist/es/barcode/encodings/code93-extended.js +12 -24
  10. package/dist/es/barcode/encodings/code93.js +52 -70
  11. package/dist/es/barcode/encodings/ean13.js +28 -42
  12. package/dist/es/barcode/encodings/ean8.js +8 -18
  13. package/dist/es/barcode/encodings/encoding.js +18 -24
  14. package/dist/es/barcode/encodings/main.js +13 -10
  15. package/dist/es/barcode/encodings/msi.js +56 -112
  16. package/dist/es/barcode/encodings/postnet.js +31 -45
  17. package/dist/es/barcode/surface-size.js +2 -2
  18. package/dist/es/chart/aggregates/aggregates.js +23 -23
  19. package/dist/es/chart/aggregates/default-aggregates.js +10 -18
  20. package/dist/es/chart/aggregates/series-aggregator.js +42 -54
  21. package/dist/es/chart/animations/bar-chart-animation.js +15 -26
  22. package/dist/es/chart/animations/bubble-animation.js +7 -17
  23. package/dist/es/chart/animations/clip-animation.js +13 -23
  24. package/dist/es/chart/animations/fade-in-animation.js +6 -16
  25. package/dist/es/chart/animations/pie-animation.js +6 -16
  26. package/dist/es/chart/api-elements/chart-axis.js +14 -22
  27. package/dist/es/chart/api-elements/chart-pane.js +10 -8
  28. package/dist/es/chart/api-elements/chart-plotarea.js +4 -10
  29. package/dist/es/chart/api-elements/find-axis-by-name.js +1 -1
  30. package/dist/es/chart/area-chart/area-chart.js +46 -60
  31. package/dist/es/chart/area-chart/area-segment.js +46 -52
  32. package/dist/es/chart/area-chart/spline-area-segment.js +12 -21
  33. package/dist/es/chart/area-chart/step-area-segment.js +6 -15
  34. package/dist/es/chart/axis-group-range-tracker.js +14 -20
  35. package/dist/es/chart/bar-chart/bar-chart.js +65 -80
  36. package/dist/es/chart/bar-chart/bar-label.js +25 -32
  37. package/dist/es/chart/bar-chart/bar.js +76 -91
  38. package/dist/es/chart/box-plot-chart/box-plot-chart.js +33 -48
  39. package/dist/es/chart/box-plot-chart/box-plot.js +55 -68
  40. package/dist/es/chart/box-plot-chart/vertical-box-plot.js +13 -23
  41. package/dist/es/chart/bubble-chart/bubble-chart.js +51 -64
  42. package/dist/es/chart/bubble-chart/bubble.js +21 -27
  43. package/dist/es/chart/bullet-chart/bullet-chart.js +45 -57
  44. package/dist/es/chart/bullet-chart/bullet.js +48 -57
  45. package/dist/es/chart/bullet-chart/target.js +1 -11
  46. package/dist/es/chart/candlestick-chart/candlestick-chart.js +41 -55
  47. package/dist/es/chart/candlestick-chart/candlestick.js +60 -69
  48. package/dist/es/chart/categorical-chart.js +178 -206
  49. package/dist/es/chart/chart-container.js +30 -39
  50. package/dist/es/chart/chart.js +641 -701
  51. package/dist/es/chart/constants.js +103 -103
  52. package/dist/es/chart/crosshair/crosshair-tooltip.js +22 -34
  53. package/dist/es/chart/crosshair/crosshair.js +39 -47
  54. package/dist/es/chart/donut-chart/donut-chart.js +36 -48
  55. package/dist/es/chart/donut-chart/donut-segment.js +12 -24
  56. package/dist/es/chart/error-bars/categorical-error-bar.js +5 -15
  57. package/dist/es/chart/error-bars/error-bar-base.js +37 -49
  58. package/dist/es/chart/error-bars/error-range-calculator.js +46 -56
  59. package/dist/es/chart/error-bars/scatter-error-bar.js +6 -16
  60. package/dist/es/chart/funnel-chart/funnel-chart.js +86 -103
  61. package/dist/es/chart/funnel-chart/funnel-segment.js +46 -54
  62. package/dist/es/chart/funnel-chart/pyramid-chart.js +5 -11
  63. package/dist/es/chart/heatmap-chart/color-scale.js +7 -9
  64. package/dist/es/chart/heatmap-chart/heatmap-chart.js +87 -110
  65. package/dist/es/chart/heatmap-chart/heatmap-point.js +72 -78
  66. package/dist/es/chart/highlight.js +26 -36
  67. package/dist/es/chart/layout/cluster-layout.js +16 -25
  68. package/dist/es/chart/layout/radar-cluster-layout.js +15 -24
  69. package/dist/es/chart/layout/radar-stack-layout.js +10 -22
  70. package/dist/es/chart/layout/stack-wrap.js +12 -24
  71. package/dist/es/chart/layout/utils.js +2 -2
  72. package/dist/es/chart/legend/legend-item-line-area.js +8 -19
  73. package/dist/es/chart/legend/legend-item-line.js +21 -31
  74. package/dist/es/chart/legend/legend-item-marker.js +18 -28
  75. package/dist/es/chart/legend/legend-item-square.js +8 -18
  76. package/dist/es/chart/legend/legend-item.js +91 -105
  77. package/dist/es/chart/legend/legend-layout.js +18 -25
  78. package/dist/es/chart/legend/legend.js +68 -92
  79. package/dist/es/chart/line-chart/line-chart.js +35 -48
  80. package/dist/es/chart/line-chart/line-point.js +90 -103
  81. package/dist/es/chart/line-chart/line-segment.js +23 -34
  82. package/dist/es/chart/line-chart/spline-segment.js +10 -20
  83. package/dist/es/chart/line-chart/step-line-mixin.js +14 -17
  84. package/dist/es/chart/line-chart/step-line-segment.js +4 -14
  85. package/dist/es/chart/mixins/accessibility-attributes-mixin.js +7 -7
  86. package/dist/es/chart/mixins/clip-animation-mixin.js +7 -7
  87. package/dist/es/chart/mixins/line-chart-mixin.js +27 -31
  88. package/dist/es/chart/mixins/note-mixin.js +3 -3
  89. package/dist/es/chart/mixins/pie-chart-mixin.js +9 -9
  90. package/dist/es/chart/mixins/plotarea-events-mixin.js +1 -1
  91. package/dist/es/chart/mixins/point-events-mixin.js +1 -1
  92. package/dist/es/chart/ohlc-chart/ohlc-chart.js +4 -14
  93. package/dist/es/chart/ohlc-chart/ohlc-point.js +15 -28
  94. package/dist/es/chart/pan-and-zoom/accept-key.js +3 -3
  95. package/dist/es/chart/pan-and-zoom/mousewheel-zoom.js +25 -33
  96. package/dist/es/chart/pan-and-zoom/pannable.js +29 -37
  97. package/dist/es/chart/pan-and-zoom/to-chart-axis-ranges.js +3 -3
  98. package/dist/es/chart/pan-and-zoom/zoom-selection.js +61 -70
  99. package/dist/es/chart/pane.js +71 -79
  100. package/dist/es/chart/pie-chart/pie-chart.js +153 -183
  101. package/dist/es/chart/pie-chart/pie-segment.js +82 -98
  102. package/dist/es/chart/plotarea/categorical-plotarea.js +285 -318
  103. package/dist/es/chart/plotarea/donut-plotarea.js +12 -22
  104. package/dist/es/chart/plotarea/funnel-plotarea.js +17 -27
  105. package/dist/es/chart/plotarea/heatmap-plotarea.js +139 -167
  106. package/dist/es/chart/plotarea/pie-plotarea.js +15 -25
  107. package/dist/es/chart/plotarea/plotarea-base.js +423 -462
  108. package/dist/es/chart/plotarea/plotarea-factory.js +15 -20
  109. package/dist/es/chart/plotarea/polar-plotarea-base.js +37 -51
  110. package/dist/es/chart/plotarea/polar-plotarea.js +39 -49
  111. package/dist/es/chart/plotarea/radar-plotarea.js +55 -65
  112. package/dist/es/chart/plotarea/xy-plotarea.js +111 -128
  113. package/dist/es/chart/polar-area-chart/polar-area-chart.js +22 -36
  114. package/dist/es/chart/polar-area-chart/polar-area-segment.js +7 -17
  115. package/dist/es/chart/polar-area-chart/spline-polar-area-segment.js +15 -25
  116. package/dist/es/chart/polar-line-chart/polar-line-chart.js +2 -11
  117. package/dist/es/chart/polar-scatter-chart/polar-scatter-chart.js +6 -16
  118. package/dist/es/chart/radar-area-chart/radar-area-chart.js +11 -21
  119. package/dist/es/chart/radar-area-chart/radar-area-segment.js +3 -13
  120. package/dist/es/chart/radar-area-chart/spline-radar-area-segment.js +3 -13
  121. package/dist/es/chart/radar-bar-chart/radar-bar-chart.js +19 -29
  122. package/dist/es/chart/radar-bar-chart/radar-segment.js +6 -12
  123. package/dist/es/chart/radar-line-chart/radar-line-chart.js +26 -35
  124. package/dist/es/chart/range-area-chart/range-area-chart.js +46 -58
  125. package/dist/es/chart/range-area-chart/range-area-point.js +55 -66
  126. package/dist/es/chart/range-area-chart/range-area-segment.js +19 -28
  127. package/dist/es/chart/range-area-chart/range-line-point.js +4 -14
  128. package/dist/es/chart/range-area-chart/spline-range-area-segment.js +11 -18
  129. package/dist/es/chart/range-area-chart/step-range-area-segment.js +7 -16
  130. package/dist/es/chart/range-bar-chart/range-bar-chart.js +18 -29
  131. package/dist/es/chart/range-bar-chart/range-bar.js +10 -23
  132. package/dist/es/chart/register-charts.js +20 -16
  133. package/dist/es/chart/scatter-charts/scatter-chart.js +100 -122
  134. package/dist/es/chart/scatter-charts/scatter-line-chart.js +15 -25
  135. package/dist/es/chart/selection.js +176 -201
  136. package/dist/es/chart/series-binder.js +55 -66
  137. package/dist/es/chart/theme/base-theme.js +75 -79
  138. package/dist/es/chart/theme/load-theme.js +52 -52
  139. package/dist/es/chart/tooltip/base-tooltip.js +17 -24
  140. package/dist/es/chart/tooltip/shared-tooltip.js +25 -31
  141. package/dist/es/chart/tooltip/tooltip.js +10 -20
  142. package/dist/es/chart/trendlines/calculate-moving-average.js +11 -13
  143. package/dist/es/chart/trendlines/calculate-polynomial.js +24 -26
  144. package/dist/es/chart/trendlines/calculate-slope.js +12 -14
  145. package/dist/es/chart/trendlines/check-all-positive.js +2 -5
  146. package/dist/es/chart/trendlines/exponential-trendline.js +15 -24
  147. package/dist/es/chart/trendlines/get-scatter-trendline-data.js +6 -7
  148. package/dist/es/chart/trendlines/get-trendline-data.js +6 -6
  149. package/dist/es/chart/trendlines/linear-trendline.js +12 -21
  150. package/dist/es/chart/trendlines/logarithmic-trendline.js +14 -23
  151. package/dist/es/chart/trendlines/moving-average.js +15 -26
  152. package/dist/es/chart/trendlines/polynomial-trendline.js +13 -21
  153. package/dist/es/chart/trendlines/power-trendline.js +15 -24
  154. package/dist/es/chart/trendlines/scatter-exponential-trendline.js +15 -24
  155. package/dist/es/chart/trendlines/scatter-linear-trendline.js +10 -16
  156. package/dist/es/chart/trendlines/scatter-logarithmic-trendline.js +17 -27
  157. package/dist/es/chart/trendlines/scatter-moving-average.js +7 -10
  158. package/dist/es/chart/trendlines/scatter-polynomial-trendline.js +11 -16
  159. package/dist/es/chart/trendlines/scatter-power-trendline.js +15 -22
  160. package/dist/es/chart/trendlines/scatter-trendline-registry.js +1 -1
  161. package/dist/es/chart/trendlines/scatter-value-getter.js +2 -5
  162. package/dist/es/chart/trendlines/trendline-factory.js +1 -1
  163. package/dist/es/chart/trendlines/trendline-registry.js +1 -1
  164. package/dist/es/chart/trendlines/x-value-limits.js +6 -8
  165. package/dist/es/chart/utils/any-has-z-index.js +1 -1
  166. package/dist/es/chart/utils/bind-segments.js +8 -8
  167. package/dist/es/chart/utils/categories-count.js +3 -3
  168. package/dist/es/chart/utils/count-numbers.js +4 -4
  169. package/dist/es/chart/utils/create-out-of-range-points.js +13 -22
  170. package/dist/es/chart/utils/eval-options.js +7 -10
  171. package/dist/es/chart/utils/filter-series-by-type.js +4 -4
  172. package/dist/es/chart/utils/get-field.js +1 -1
  173. package/dist/es/chart/utils/has-gradient-overlay.js +1 -1
  174. package/dist/es/chart/utils/is-date-axis.js +2 -2
  175. package/dist/es/chart/utils/parse-date-category.js +2 -2
  176. package/dist/es/chart/utils/segment-visible.js +2 -2
  177. package/dist/es/chart/waterfall-chart/waterfall-chart.js +41 -55
  178. package/dist/es/chart/waterfall-chart/waterfall-segment.js +16 -24
  179. package/dist/es/chart-wizard/get-wizard-data-from-data-rows.js +5 -6
  180. package/dist/es/chart-wizard/messages.js +1 -1
  181. package/dist/es/chart-wizard/state.js +145 -137
  182. package/dist/es/chart-wizard.js +12 -12
  183. package/dist/es/common/add-class.js +3 -3
  184. package/dist/es/common/align-path-to-pixel.js +2 -2
  185. package/dist/es/common/auto-text-color.js +1 -1
  186. package/dist/es/common/constants.js +53 -53
  187. package/dist/es/common/create-hash-set.js +59 -65
  188. package/dist/es/common/cycleDown.js +1 -1
  189. package/dist/es/common/deep-extend.js +10 -12
  190. package/dist/es/common/element-scale.js +9 -9
  191. package/dist/es/common/element-styles.js +8 -8
  192. package/dist/es/common/event-map.js +4 -4
  193. package/dist/es/common/event-utils.js +13 -13
  194. package/dist/es/common/find.js +2 -2
  195. package/dist/es/common/font-loader.js +42 -44
  196. package/dist/es/common/get-aria-template.js +2 -4
  197. package/dist/es/common/get-spacing.js +2 -4
  198. package/dist/es/common/get-supported-features.js +7 -7
  199. package/dist/es/common/get-template.js +2 -4
  200. package/dist/es/common/getter.js +5 -5
  201. package/dist/es/common/grep.js +3 -3
  202. package/dist/es/common/has-classes.js +2 -2
  203. package/dist/es/common/hash-map.js +11 -11
  204. package/dist/es/common/instance-observer.js +28 -33
  205. package/dist/es/common/keys.js +1 -1
  206. package/dist/es/common/map.js +4 -4
  207. package/dist/es/common/matrix.js +142 -150
  208. package/dist/es/common/mousewheel-delta.js +2 -2
  209. package/dist/es/common/observable.js +40 -52
  210. package/dist/es/common/remove-class.js +1 -1
  211. package/dist/es/common/render-icon.js +50 -60
  212. package/dist/es/common/set-default-options.js +1 -1
  213. package/dist/es/common/sparse-array-limits.js +4 -4
  214. package/dist/es/common/user-events.js +124 -150
  215. package/dist/es/core/axis-label.js +38 -43
  216. package/dist/es/core/axis.js +293 -345
  217. package/dist/es/core/box-element.js +36 -46
  218. package/dist/es/core/box.js +75 -83
  219. package/dist/es/core/category-axis.js +265 -314
  220. package/dist/es/core/chart-element.js +98 -109
  221. package/dist/es/core/constants.js +3 -3
  222. package/dist/es/core/curve-processor.js +86 -93
  223. package/dist/es/core/date-category-axis.js +381 -413
  224. package/dist/es/core/date-value-axis.js +108 -118
  225. package/dist/es/core/float-element.js +54 -78
  226. package/dist/es/core/gradients.js +3 -3
  227. package/dist/es/core/logarithmic-axis.js +134 -186
  228. package/dist/es/core/mixins/grid-lines-mixin.js +18 -20
  229. package/dist/es/core/mixins/radar-numeric-axis-mixin.js +46 -51
  230. package/dist/es/core/note.js +58 -73
  231. package/dist/es/core/numeric-axis.js +111 -133
  232. package/dist/es/core/pattern.js +4 -8
  233. package/dist/es/core/point.js +25 -34
  234. package/dist/es/core/polar-axis.js +73 -91
  235. package/dist/es/core/radar-category-axis.js +90 -114
  236. package/dist/es/core/radar-logarithmic-axis.js +10 -20
  237. package/dist/es/core/radar-numeric-axis.js +10 -20
  238. package/dist/es/core/ring.js +61 -68
  239. package/dist/es/core/root-element.js +40 -48
  240. package/dist/es/core/sector.js +11 -17
  241. package/dist/es/core/shape-builder.js +13 -23
  242. package/dist/es/core/shape-element.js +27 -37
  243. package/dist/es/core/text-box.js +50 -59
  244. package/dist/es/core/text.js +13 -24
  245. package/dist/es/core/title.js +19 -25
  246. package/dist/es/core/utils/auto-axis-max.js +3 -3
  247. package/dist/es/core/utils/auto-axis-min.js +3 -3
  248. package/dist/es/core/utils/auto-major-unit.js +4 -4
  249. package/dist/es/core/utils/box-diff.js +9 -9
  250. package/dist/es/core/utils/create-axis-grid-line.js +2 -4
  251. package/dist/es/core/utils/create-axis-tick.js +2 -4
  252. package/dist/es/core/utils/guid.js +3 -3
  253. package/dist/es/core/utils/rect-to-box.js +2 -2
  254. package/dist/es/date-utils/absolute-date-diff.js +2 -2
  255. package/dist/es/date-utils/add-duration.js +5 -5
  256. package/dist/es/date-utils/ceil-date.js +1 -1
  257. package/dist/es/date-utils/constants.js +17 -17
  258. package/dist/es/date-utils/date-index.js +3 -3
  259. package/dist/es/date-utils/duration.js +1 -1
  260. package/dist/es/date-utils/lte-date-index.js +4 -4
  261. package/dist/es/date-utils/parse-date.js +1 -1
  262. package/dist/es/date-utils/parse-dates.js +2 -2
  263. package/dist/es/date-utils/start-of-week.js +3 -5
  264. package/dist/es/date-utils/to-date.js +1 -1
  265. package/dist/es/date-utils/to-time.js +2 -2
  266. package/dist/es/drawing-utils.js +18 -17
  267. package/dist/es/gauges/arc/arc-gauge.js +29 -38
  268. package/dist/es/gauges/arc/arc-scale.js +16 -29
  269. package/dist/es/gauges/arc/range-pointer-animation.js +16 -25
  270. package/dist/es/gauges/arc/range-pointer.js +25 -46
  271. package/dist/es/gauges/circular/circular-gauge.js +7 -17
  272. package/dist/es/gauges/constants.js +14 -14
  273. package/dist/es/gauges/gauge.js +84 -96
  274. package/dist/es/gauges/linear/arrow-linear-pointer-animation.js +13 -25
  275. package/dist/es/gauges/linear/arrow-linear-pointer.js +23 -35
  276. package/dist/es/gauges/linear/bar-linear-pointer-animation.js +15 -24
  277. package/dist/es/gauges/linear/bar-linear-pointer.js +38 -51
  278. package/dist/es/gauges/linear/linear-gauge.js +61 -83
  279. package/dist/es/gauges/linear/linear-pointer.js +25 -39
  280. package/dist/es/gauges/linear/linear-scale.js +57 -74
  281. package/dist/es/gauges/pointer.js +11 -21
  282. package/dist/es/gauges/radial/radial-gauge.js +58 -81
  283. package/dist/es/gauges/radial/radial-pointer-animation.js +9 -15
  284. package/dist/es/gauges/radial/radial-pointer.js +33 -48
  285. package/dist/es/gauges/radial/radial-scale.js +154 -186
  286. package/dist/es/gauges/utils/build-label-element.js +10 -12
  287. package/dist/es/gauges/utils/get-range.js +2 -2
  288. package/dist/es/gauges/utils/pad.js +3 -3
  289. package/dist/es/gauges/utils/unpad.js +1 -1
  290. package/dist/es/map/attribution.js +42 -52
  291. package/dist/es/map/constants.js +5 -5
  292. package/dist/es/map/crs.js +68 -112
  293. package/dist/es/map/datums.js +3 -3
  294. package/dist/es/map/extent.js +40 -54
  295. package/dist/es/map/layers/bubble.js +52 -70
  296. package/dist/es/map/layers/layer.js +50 -56
  297. package/dist/es/map/layers/marker.js +109 -129
  298. package/dist/es/map/layers/shape.js +111 -133
  299. package/dist/es/map/layers/tile.js +144 -170
  300. package/dist/es/map/location.js +70 -78
  301. package/dist/es/map/map.js +261 -291
  302. package/dist/es/map/navigator.js +33 -39
  303. package/dist/es/map/scroller/draggable.js +98 -134
  304. package/dist/es/map/scroller/fx.js +39 -46
  305. package/dist/es/map/scroller/scroller.js +144 -174
  306. package/dist/es/map/tooltip/tooltip.js +15 -25
  307. package/dist/es/map/utils.js +25 -26
  308. package/dist/es/map/zoom.js +30 -36
  309. package/dist/es/qrcode/encodings/data-modes/alpha-numeric-data-mode.js +14 -26
  310. package/dist/es/qrcode/encodings/data-modes/byte-data-mode.js +15 -25
  311. package/dist/es/qrcode/encodings/data-modes/data-mode-instances.js +8 -7
  312. package/dist/es/qrcode/encodings/data-modes/numeric-data-mode.js +14 -24
  313. package/dist/es/qrcode/encodings/data-modes/qr-data-mode.js +15 -21
  314. package/dist/es/qrcode/encodings/encoders/iso-encoder.js +6 -16
  315. package/dist/es/qrcode/encodings/encoders/utf8-encoder.js +28 -36
  316. package/dist/es/qrcode/encodings/encoding-result.js +4 -10
  317. package/dist/es/qrcode/encodings/encoding.js +68 -192
  318. package/dist/es/qrcode/encodings/free-cell-visitor.js +16 -24
  319. package/dist/es/qrcode/encodings/utils/choose-mode.js +44 -0
  320. package/dist/es/qrcode/encodings/utils/get-data-codewords-count.js +13 -0
  321. package/dist/es/qrcode/encodings/utils/get-data-string.js +13 -0
  322. package/dist/es/qrcode/encodings/utils/get-modes.js +35 -0
  323. package/dist/es/qrcode/encodings/utils/get-version.js +23 -0
  324. package/dist/es/qrcode/encodings/utils/index.js +5 -0
  325. package/dist/es/qrcode/encodings/version-codewords.js +1 -1
  326. package/dist/es/qrcode/qrcode-validator.js +3 -5
  327. package/dist/es/qrcode/qrcode.js +104 -114
  328. package/dist/es/qrcode/utils.js +4 -4
  329. package/dist/es/sankey/calculation.js +286 -307
  330. package/dist/es/sankey/element.js +15 -23
  331. package/dist/es/sankey/label.js +29 -44
  332. package/dist/es/sankey/legend.js +15 -29
  333. package/dist/es/sankey/link.js +80 -98
  334. package/dist/es/sankey/node.js +26 -37
  335. package/dist/es/sankey/sankey.js +318 -385
  336. package/dist/es/sankey/title.js +9 -20
  337. package/dist/es/sankey/utils.js +18 -23
  338. package/dist/es/services/chart-service.js +24 -28
  339. package/dist/es/services/dom-events-builder.js +15 -15
  340. package/dist/es/services/format-service.js +30 -35
  341. package/dist/es/services/intl-service.js +14 -18
  342. package/dist/es/services/map-service.js +11 -11
  343. package/dist/es/services/template-service.js +9 -9
  344. package/dist/es/sparkline/shared-tooltip.js +11 -21
  345. package/dist/es/sparkline/sparkline.js +50 -60
  346. package/dist/es/stock/constants.js +3 -3
  347. package/dist/es/stock/fade-out-animation.js +12 -21
  348. package/dist/es/stock/navigator-hint.js +37 -49
  349. package/dist/es/stock/navigator.js +130 -161
  350. package/dist/es/stock/stock-chart.js +58 -67
  351. package/dist/es2015/chart/legend/legend-item.js +1 -1
  352. package/dist/es2015/qrcode/encodings/encoders/iso-encoder.js +1 -1
  353. package/dist/es2015/qrcode/encodings/encoders/utf8-encoder.js +1 -1
  354. package/dist/es2015/qrcode/encodings/encoding.js +3 -127
  355. package/dist/es2015/qrcode/encodings/utils/choose-mode.js +44 -0
  356. package/dist/es2015/qrcode/encodings/utils/get-data-codewords-count.js +13 -0
  357. package/dist/es2015/qrcode/encodings/utils/get-data-string.js +13 -0
  358. package/dist/es2015/qrcode/encodings/utils/get-modes.js +35 -0
  359. package/dist/es2015/qrcode/encodings/utils/get-version.js +23 -0
  360. package/dist/es2015/qrcode/encodings/utils/index.js +5 -0
  361. package/dist/npm/main.js +3222 -3589
  362. package/dist/systemjs/kendo-charts.js +1 -1
  363. package/package.json +19 -57
@@ -7,23 +7,15 @@ import SplineAreaSegment from './spline-area-segment';
7
7
 
8
8
  import { STEP, SMOOTH, ZERO } from '../constants';
9
9
 
10
- var AreaChart = (function (LineChart) {
11
- function AreaChart () {
12
- LineChart.apply(this, arguments);
13
- }
14
-
15
- if ( LineChart ) AreaChart.__proto__ = LineChart;
16
- AreaChart.prototype = Object.create( LineChart && LineChart.prototype );
17
- AreaChart.prototype.constructor = AreaChart;
10
+ class AreaChart extends LineChart {
11
+ createSegment(linePoints, currentSeries, seriesIx, prevSegment) {
12
+ const isStacked = this.options.isStacked;
13
+ const style = (currentSeries.line || {}).style;
14
+ let previousSegment;
18
15
 
19
- AreaChart.prototype.createSegment = function createSegment (linePoints, currentSeries, seriesIx, prevSegment) {
20
- var isStacked = this.options.isStacked;
21
- var style = (currentSeries.line || {}).style;
22
- var previousSegment;
23
-
24
- var stackPoints;
16
+ let stackPoints;
25
17
  if (isStacked && seriesIx > 0 && prevSegment) {
26
- var missingValues = this.seriesMissingValues(currentSeries);
18
+ const missingValues = this.seriesMissingValues(currentSeries);
27
19
  if (missingValues !== "gap") {
28
20
  stackPoints = prevSegment.linePoints;
29
21
  previousSegment = prevSegment;
@@ -32,7 +24,7 @@ var AreaChart = (function (LineChart) {
32
24
  }
33
25
  }
34
26
 
35
- var pointType;
27
+ let pointType;
36
28
  if (style === STEP) {
37
29
  pointType = StepAreaSegment;
38
30
  } else if (style === SMOOTH) {
@@ -42,43 +34,39 @@ var AreaChart = (function (LineChart) {
42
34
  }
43
35
 
44
36
  return new pointType(linePoints, currentSeries, seriesIx, previousSegment, stackPoints);
45
- };
46
-
47
- AreaChart.prototype.reflow = function reflow (targetBox) {
48
- var this$1 = this;
37
+ }
49
38
 
50
- LineChart.prototype.reflow.call(this, targetBox);
39
+ reflow(targetBox) {
40
+ super.reflow(targetBox);
51
41
 
52
- var stackPoints = this._stackPoints;
42
+ const stackPoints = this._stackPoints;
53
43
  if (stackPoints) {
54
- for (var idx = 0; idx < stackPoints.length; idx++) {
55
- var stackPoint = stackPoints[idx];
56
- var pointSlot = this$1.categoryAxis.getSlot(stackPoint.categoryIx);
44
+ for (let idx = 0; idx < stackPoints.length; idx++) {
45
+ const stackPoint = stackPoints[idx];
46
+ const pointSlot = this.categoryAxis.getSlot(stackPoint.categoryIx);
57
47
  stackPoint.reflow(pointSlot);
58
48
  }
59
49
  }
60
- };
61
-
62
- AreaChart.prototype._gapStackPoints = function _gapStackPoints (linePoints, seriesIx, style) {
63
- var this$1 = this;
50
+ }
64
51
 
65
- var seriesPoints = this.seriesPoints;
66
- var startIdx = linePoints[0].categoryIx;
67
- var length = linePoints.length;
52
+ _gapStackPoints(linePoints, seriesIx, style) {
53
+ const seriesPoints = this.seriesPoints;
54
+ let startIdx = linePoints[0].categoryIx;
55
+ let length = linePoints.length;
68
56
  if (startIdx < 0) {
69
57
  startIdx = 0;
70
58
  length--;
71
59
  }
72
60
 
73
- var endIdx = startIdx + length;
74
- var pointOffset = this.seriesOptions[0]._outOfRangeMinPoint ? 1 : 0;
75
- var stackPoints = [];
61
+ const endIdx = startIdx + length;
62
+ const pointOffset = this.seriesOptions[0]._outOfRangeMinPoint ? 1 : 0;
63
+ const stackPoints = [];
76
64
 
77
65
  this._stackPoints = this._stackPoints || [];
78
- for (var categoryIx = startIdx; categoryIx < endIdx; categoryIx++) {
79
- var pointIx = categoryIx + pointOffset;
80
- var currentSeriesIx = seriesIx;
81
- var point = (void 0);
66
+ for (let categoryIx = startIdx; categoryIx < endIdx; categoryIx++) {
67
+ const pointIx = categoryIx + pointOffset;
68
+ let currentSeriesIx = seriesIx;
69
+ let point;
82
70
 
83
71
  do {
84
72
  currentSeriesIx--;
@@ -87,28 +75,28 @@ var AreaChart = (function (LineChart) {
87
75
 
88
76
  if (point) {
89
77
  if (style !== STEP && categoryIx > startIdx && !seriesPoints[currentSeriesIx][pointIx - 1]) {
90
- stackPoints.push(this$1._previousSegmentPoint(categoryIx, pointIx, pointIx - 1, currentSeriesIx));
78
+ stackPoints.push(this._previousSegmentPoint(categoryIx, pointIx, pointIx - 1, currentSeriesIx));
91
79
  }
92
80
 
93
81
  stackPoints.push(point);
94
82
 
95
83
  if (style !== STEP && categoryIx + 1 < endIdx && !seriesPoints[currentSeriesIx][pointIx + 1]) {
96
- stackPoints.push(this$1._previousSegmentPoint(categoryIx, pointIx, pointIx + 1, currentSeriesIx));
84
+ stackPoints.push(this._previousSegmentPoint(categoryIx, pointIx, pointIx + 1, currentSeriesIx));
97
85
  }
98
86
  } else {
99
- var gapStackPoint = this$1._createGapStackPoint(categoryIx);
100
- this$1._stackPoints.push(gapStackPoint);
87
+ const gapStackPoint = this._createGapStackPoint(categoryIx);
88
+ this._stackPoints.push(gapStackPoint);
101
89
  stackPoints.push(gapStackPoint);
102
90
  }
103
91
  }
104
92
 
105
93
  return stackPoints;
106
- };
94
+ }
107
95
 
108
- AreaChart.prototype._previousSegmentPoint = function _previousSegmentPoint (categoryIx, pointIx, segmentIx, seriesIdx) {
109
- var seriesPoints = this.seriesPoints;
110
- var index = seriesIdx;
111
- var point;
96
+ _previousSegmentPoint(categoryIx, pointIx, segmentIx, seriesIdx) {
97
+ const seriesPoints = this.seriesPoints;
98
+ let index = seriesIdx;
99
+ let point;
112
100
 
113
101
  while (index > 0 && !point) {
114
102
  index--;
@@ -123,26 +111,24 @@ var AreaChart = (function (LineChart) {
123
111
  }
124
112
 
125
113
  return point;
126
- };
114
+ }
127
115
 
128
- AreaChart.prototype._createGapStackPoint = function _createGapStackPoint (categoryIx) {
129
- var options = this.pointOptions({}, 0);
130
- var point = new LinePoint(0, options);
116
+ _createGapStackPoint(categoryIx) {
117
+ const options = this.pointOptions({}, 0);
118
+ const point = new LinePoint(0, options);
131
119
  point.categoryIx = categoryIx;
132
120
  point.series = {};
133
121
 
134
122
  return point;
135
- };
123
+ }
136
124
 
137
- AreaChart.prototype.seriesMissingValues = function seriesMissingValues (series) {
125
+ seriesMissingValues(series) {
138
126
  return series.missingValues || ZERO;
139
- };
127
+ }
140
128
 
141
- AreaChart.prototype.supportsPointInactiveOpacity = function supportsPointInactiveOpacity () {
129
+ supportsPointInactiveOpacity() {
142
130
  return false;
143
- };
144
-
145
- return AreaChart;
146
- }(LineChart));
131
+ }
132
+ }
147
133
 
148
134
  export default AreaChart;
@@ -4,23 +4,19 @@ import LineSegment from '../line-chart/line-segment';
4
4
  import { append, deepExtend, isFunction, last } from '../../common';
5
5
  import { createPatternFill } from '../../core/pattern';
6
6
 
7
- var AreaSegment = (function (LineSegment) {
8
- function AreaSegment(linePoints, currentSeries, seriesIx, prevSegment, stackPoints) {
9
- LineSegment.call(this, linePoints, currentSeries, seriesIx);
7
+ class AreaSegment extends LineSegment {
8
+ constructor(linePoints, currentSeries, seriesIx, prevSegment, stackPoints) {
9
+ super(linePoints, currentSeries, seriesIx);
10
10
 
11
11
  this.prevSegment = prevSegment;
12
12
  this.stackPoints = stackPoints;
13
13
  }
14
14
 
15
- if ( LineSegment ) AreaSegment.__proto__ = LineSegment;
16
- AreaSegment.prototype = Object.create( LineSegment && LineSegment.prototype );
17
- AreaSegment.prototype.constructor = AreaSegment;
18
-
19
- AreaSegment.prototype.createVisual = function createVisual () {
20
- var series = this.series;
21
- var defaults = series._defaults;
22
- var lineOptions = series.line || {};
23
- var color = series.color;
15
+ createVisual() {
16
+ const series = this.series;
17
+ const defaults = series._defaults;
18
+ const lineOptions = series.line || {};
19
+ let color = series.color;
24
20
 
25
21
  if (isFunction(color) && defaults) {
26
22
  color = defaults.color;
@@ -47,61 +43,61 @@ var AreaSegment = (function (LineSegment) {
47
43
  }, lineOptions)
48
44
  });
49
45
  }
50
- };
46
+ }
51
47
 
52
- AreaSegment.prototype.strokeSegments = function strokeSegments () {
53
- var segments = this._strokeSegments;
48
+ strokeSegments() {
49
+ let segments = this._strokeSegments;
54
50
 
55
51
  if (!segments) {
56
52
  segments = this._strokeSegments = this.createStrokeSegments();
57
53
  }
58
54
 
59
55
  return segments;
60
- };
56
+ }
61
57
 
62
- AreaSegment.prototype.createStrokeSegments = function createStrokeSegments () {
58
+ createStrokeSegments() {
63
59
  return this.segmentsFromPoints(this.points());
64
- };
60
+ }
65
61
 
66
- AreaSegment.prototype.stackSegments = function stackSegments () {
62
+ stackSegments() {
67
63
  if (this.prevSegment) {
68
64
  return this.prevSegment.createStackSegments(this.stackPoints);
69
65
  }
70
66
 
71
67
  return this.createStackSegments(this.stackPoints);
72
- };
68
+ }
73
69
 
74
- AreaSegment.prototype.createStackSegments = function createStackSegments (stackPoints) {
70
+ createStackSegments(stackPoints) {
75
71
  return this.segmentsFromPoints(this.toGeometryPoints(stackPoints)).reverse();
76
- };
72
+ }
77
73
 
78
- AreaSegment.prototype.segmentsFromPoints = function segmentsFromPoints (points) {
79
- return points.map(function (point) { return new geom.Segment(point); });
80
- };
74
+ segmentsFromPoints(points) {
75
+ return points.map((point) => new geom.Segment(point));
76
+ }
81
77
 
82
- AreaSegment.prototype.createStroke = function createStroke (style) {
83
- var stroke = new draw.Path(style);
78
+ createStroke(style) {
79
+ const stroke = new draw.Path(style);
84
80
  stroke.segments.push.apply(stroke.segments, this.strokeSegments());
85
81
 
86
82
  this.visual.append(stroke);
87
- };
83
+ }
88
84
 
89
- AreaSegment.prototype.hasStackSegment = function hasStackSegment () {
85
+ hasStackSegment() {
90
86
  return this.prevSegment || (this.stackPoints && this.stackPoints.length);
91
- };
87
+ }
92
88
 
93
- AreaSegment.prototype.createFill = function createFill (style) {
94
- var strokeSegments = this.strokeSegments();
95
- var fillSegments = strokeSegments.slice(0);
96
- var hasStackSegments = this.hasStackSegment();
89
+ createFill(style) {
90
+ const strokeSegments = this.strokeSegments();
91
+ const fillSegments = strokeSegments.slice(0);
92
+ const hasStackSegments = this.hasStackSegment();
97
93
 
98
94
  if (hasStackSegments) {
99
- var stackSegments = this.stackSegments();
95
+ const stackSegments = this.stackSegments();
100
96
 
101
97
  append(fillSegments, stackSegments);
102
98
  }
103
99
 
104
- var fill = new draw.Path(style);
100
+ const fill = new draw.Path(style);
105
101
  fill.segments.push.apply(fill.segments, fillSegments);
106
102
 
107
103
  if (!hasStackSegments && strokeSegments.length > 1) {
@@ -109,18 +105,18 @@ var AreaSegment = (function (LineSegment) {
109
105
  }
110
106
 
111
107
  this.visual.append(fill);
112
- };
113
-
114
- AreaSegment.prototype.fillToAxes = function fillToAxes (fillPath) {
115
- var chart = this.parent;
116
- var invertAxes = chart.options.invertAxes;
117
- var valueAxis = chart.seriesValueAxis(this.series);
118
- var crossingValue = chart.categoryAxisCrossingValue(valueAxis);
119
- var endSlot = valueAxis.getSlot(crossingValue, crossingValue, true);
120
- var segments = this.strokeSegments();
121
- var firstPoint = segments[0].anchor();
122
- var lastPoint = last(segments).anchor();
123
- var end = invertAxes ? endSlot.x1 : endSlot.y1;
108
+ }
109
+
110
+ fillToAxes(fillPath) {
111
+ const chart = this.parent;
112
+ const invertAxes = chart.options.invertAxes;
113
+ const valueAxis = chart.seriesValueAxis(this.series);
114
+ const crossingValue = chart.categoryAxisCrossingValue(valueAxis);
115
+ const endSlot = valueAxis.getSlot(crossingValue, crossingValue, true);
116
+ const segments = this.strokeSegments();
117
+ const firstPoint = segments[0].anchor();
118
+ const lastPoint = last(segments).anchor();
119
+ let end = invertAxes ? endSlot.x1 : endSlot.y1;
124
120
 
125
121
  if (invertAxes) {
126
122
  fillPath.lineTo(end, lastPoint.y)
@@ -129,9 +125,7 @@ var AreaSegment = (function (LineSegment) {
129
125
  fillPath.lineTo(lastPoint.x, end)
130
126
  .lineTo(firstPoint.x, end);
131
127
  }
132
- };
133
-
134
- return AreaSegment;
135
- }(LineSegment));
128
+ }
129
+ }
136
130
 
137
131
  export default AreaSegment;
@@ -3,27 +3,20 @@ import { CurveProcessor } from '../../core';
3
3
 
4
4
  import AreaSegment from './area-segment';
5
5
 
6
- var SplineAreaSegment = (function (AreaSegment) {
7
- function SplineAreaSegment () {
8
- AreaSegment.apply(this, arguments);
9
- }
10
-
11
- if ( AreaSegment ) SplineAreaSegment.__proto__ = AreaSegment;
12
- SplineAreaSegment.prototype = Object.create( AreaSegment && AreaSegment.prototype );
13
- SplineAreaSegment.prototype.constructor = SplineAreaSegment;
6
+ class SplineAreaSegment extends AreaSegment {
14
7
 
15
- SplineAreaSegment.prototype.createStrokeSegments = function createStrokeSegments () {
16
- var curveProcessor = new CurveProcessor(this.options.closed);
17
- var linePoints = this.points();
8
+ createStrokeSegments() {
9
+ const curveProcessor = new CurveProcessor(this.options.closed);
10
+ const linePoints = this.points();
18
11
 
19
12
  return curveProcessor.process(linePoints);
20
- };
13
+ }
21
14
 
22
- SplineAreaSegment.prototype.createStackSegments = function createStackSegments () {
23
- var strokeSegments = this.strokeSegments();
24
- var stackSegments = [];
25
- for (var idx = strokeSegments.length - 1; idx >= 0; idx--) {
26
- var segment = strokeSegments[idx];
15
+ createStackSegments() {
16
+ const strokeSegments = this.strokeSegments();
17
+ const stackSegments = [];
18
+ for (let idx = strokeSegments.length - 1; idx >= 0; idx--) {
19
+ const segment = strokeSegments[idx];
27
20
  stackSegments.push(new geom.Segment(
28
21
  segment.anchor(),
29
22
  segment.controlOut(),
@@ -32,9 +25,7 @@ var SplineAreaSegment = (function (AreaSegment) {
32
25
  }
33
26
 
34
27
  return stackSegments;
35
- };
36
-
37
- return SplineAreaSegment;
38
- }(AreaSegment));
28
+ }
29
+ }
39
30
 
40
31
  export default SplineAreaSegment;
@@ -3,25 +3,16 @@ import AreaSegment from './area-segment';
3
3
 
4
4
  import { deepExtend } from '../../common';
5
5
 
6
- var StepAreaSegment = (function (AreaSegment) {
7
- function StepAreaSegment () {
8
- AreaSegment.apply(this, arguments);
9
- }
10
-
11
- if ( AreaSegment ) StepAreaSegment.__proto__ = AreaSegment;
12
- StepAreaSegment.prototype = Object.create( AreaSegment && AreaSegment.prototype );
13
- StepAreaSegment.prototype.constructor = StepAreaSegment;
6
+ class StepAreaSegment extends AreaSegment {
14
7
 
15
- StepAreaSegment.prototype.createStrokeSegments = function createStrokeSegments () {
8
+ createStrokeSegments() {
16
9
  return this.segmentsFromPoints(this.calculateStepPoints(this.linePoints));
17
- };
10
+ }
18
11
 
19
- StepAreaSegment.prototype.createStackSegments = function createStackSegments (stackPoints) {
12
+ createStackSegments(stackPoints) {
20
13
  return this.segmentsFromPoints(this.calculateStepPoints(stackPoints)).reverse();
21
- };
22
-
23
- return StepAreaSegment;
24
- }(AreaSegment));
14
+ }
15
+ }
25
16
 
26
17
  deepExtend(StepAreaSegment.prototype, StepLineMixin);
27
18
 
@@ -1,39 +1,33 @@
1
1
  import { MIN_VALUE, MAX_VALUE } from '../common/constants';
2
2
  import { Class } from '../common';
3
3
 
4
- var AxisGroupRangeTracker = (function (Class) {
5
- function AxisGroupRangeTracker() {
6
- Class.call(this);
4
+ class AxisGroupRangeTracker extends Class {
5
+ constructor() {
6
+ super();
7
7
 
8
8
  this.axisRanges = {};
9
9
  }
10
10
 
11
- if ( Class ) AxisGroupRangeTracker.__proto__ = Class;
12
- AxisGroupRangeTracker.prototype = Object.create( Class && Class.prototype );
13
- AxisGroupRangeTracker.prototype.constructor = AxisGroupRangeTracker;
11
+ update(chartAxisRanges) {
12
+ const axisRanges = this.axisRanges;
14
13
 
15
- AxisGroupRangeTracker.prototype.update = function update (chartAxisRanges) {
16
- var axisRanges = this.axisRanges;
17
-
18
- for (var axisName in chartAxisRanges) {
19
- var chartRange = chartAxisRanges[axisName];
20
- var range = axisRanges[axisName];
14
+ for (let axisName in chartAxisRanges) {
15
+ const chartRange = chartAxisRanges[axisName];
16
+ let range = axisRanges[axisName];
21
17
  axisRanges[axisName] = range = range || { min: MAX_VALUE, max: MIN_VALUE };
22
18
 
23
19
  range.min = Math.min(range.min, chartRange.min);
24
20
  range.max = Math.max(range.max, chartRange.max);
25
21
  }
26
- };
22
+ }
27
23
 
28
- AxisGroupRangeTracker.prototype.reset = function reset (axisName) {
24
+ reset(axisName) {
29
25
  this.axisRanges[axisName] = undefined;
30
- };
26
+ }
31
27
 
32
- AxisGroupRangeTracker.prototype.query = function query (axisName) {
28
+ query(axisName) {
33
29
  return this.axisRanges[axisName];
34
- };
35
-
36
- return AxisGroupRangeTracker;
37
- }(Class));
30
+ }
31
+ }
38
32
 
39
33
  export default AxisGroupRangeTracker;