@progress/kendo-react-charts 13.3.0-develop.9 → 13.4.0-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 (342) hide show
  1. package/BaseChart.d.ts +137 -0
  2. package/BaseChartProps.d.ts +207 -0
  3. package/Chart.d.ts +86 -0
  4. package/ChartBreadcrumb.d.ts +49 -0
  5. package/ChartBreadcrumb.js +1 -1
  6. package/ChartBreadcrumb.mjs +1 -2
  7. package/ChartContext.d.ts +24 -0
  8. package/ChartNoDataOverlay.d.ts +30 -0
  9. package/ChartProps.d.ts +17 -0
  10. package/Container.d.ts +15 -0
  11. package/DonutCenter.d.ts +45 -0
  12. package/Sparkline.d.ts +92 -0
  13. package/SparklineProps.d.ts +21 -0
  14. package/StockChart.d.ts +47 -0
  15. package/StockChartProps.d.ts +26 -0
  16. package/api-types/axis-range.interface.d.ts +20 -0
  17. package/api-types/chart-axis.interface.d.ts +43 -0
  18. package/api-types/chart-drilldown-state.interface.d.ts +31 -0
  19. package/api-types/chart-pane.interface.d.ts +21 -0
  20. package/api-types/chart-plotarea.interface.d.ts +21 -0
  21. package/api-types/event-axis-options.interface.d.ts +16 -0
  22. package/api-types/event-series-options.interface.d.ts +24 -0
  23. package/api-types/series-point.interface.d.ts +45 -0
  24. package/argument-types/axis-label-visual-args.interface.d.ts +50 -0
  25. package/argument-types/axis-note-visual-args.interface.d.ts +34 -0
  26. package/argument-types/drilldown-series-factory-props.interface.d.ts +24 -0
  27. package/argument-types/error-bars-visual-args.interface.d.ts +38 -0
  28. package/argument-types/highlight-toggle-args.interface.d.ts +41 -0
  29. package/argument-types/highlight-visual-args.interface.d.ts +58 -0
  30. package/argument-types/legend-item-visual-args.interface.d.ts +34 -0
  31. package/argument-types/legend-labels-content-args.interface.d.ts +28 -0
  32. package/argument-types/markers-visual-args.interface.d.ts +46 -0
  33. package/argument-types/plot-band-label-visual-args.interface.d.ts +34 -0
  34. package/argument-types/series-labels-visual-args.interface.d.ts +34 -0
  35. package/argument-types/series-note-visual-args.interface.d.ts +50 -0
  36. package/argument-types/series-visual-args.interface.d.ts +83 -0
  37. package/argument-types/title-visual-args.interface.d.ts +34 -0
  38. package/common/api-types.d.ts +15 -0
  39. package/common/charts.d.ts +12 -0
  40. package/common/events.d.ts +29 -0
  41. package/common/property-types.d.ts +140 -0
  42. package/components/AxisDefaults.d.ts +26 -0
  43. package/components/CategoryAxis.d.ts +25 -0
  44. package/components/CategoryAxisItem.d.ts +27 -0
  45. package/components/ChartArea.d.ts +22 -0
  46. package/components/Legend.d.ts +26 -0
  47. package/components/Navigator.d.ts +26 -0
  48. package/components/Pane.d.ts +22 -0
  49. package/components/PaneDefaults.d.ts +26 -0
  50. package/components/Panes.d.ts +25 -0
  51. package/components/PlotArea.d.ts +19 -0
  52. package/components/Series.d.ts +25 -0
  53. package/components/SeriesDefaults.d.ts +22 -0
  54. package/components/SeriesItem.d.ts +34 -0
  55. package/components/Subtitle.d.ts +19 -0
  56. package/components/Title.d.ts +19 -0
  57. package/components/Tooltip.d.ts +29 -0
  58. package/components/ValueAxis.d.ts +25 -0
  59. package/components/ValueAxisItem.d.ts +26 -0
  60. package/components/XAxis.d.ts +25 -0
  61. package/components/XAxisItem.d.ts +26 -0
  62. package/components/YAxis.d.ts +25 -0
  63. package/components/YAxisItem.d.ts +20 -0
  64. package/components/Zoomable.d.ts +19 -0
  65. package/components/axis-defaults/Crosshair.d.ts +26 -0
  66. package/components/axis-defaults/CrosshairTooltip.d.ts +19 -0
  67. package/components/axis-defaults/Labels.d.ts +19 -0
  68. package/components/axis-defaults/Title.d.ts +19 -0
  69. package/components/axis-defaults/index.d.ts +12 -0
  70. package/components/base/CollectionConfigurationComponent.d.ts +27 -0
  71. package/components/base/ConfigurationComponent.d.ts +33 -0
  72. package/components/category-axis-item/Crosshair.d.ts +26 -0
  73. package/components/category-axis-item/CrosshairTooltip.d.ts +19 -0
  74. package/components/category-axis-item/Labels.d.ts +19 -0
  75. package/components/category-axis-item/Notes.d.ts +25 -0
  76. package/components/category-axis-item/NotesIcon.d.ts +19 -0
  77. package/components/category-axis-item/NotesLabel.d.ts +19 -0
  78. package/components/category-axis-item/RangeLabels.d.ts +19 -0
  79. package/components/category-axis-item/Select.d.ts +14 -0
  80. package/components/category-axis-item/Title.d.ts +19 -0
  81. package/components/category-axis-item/index.d.ts +17 -0
  82. package/components/index.d.ts +42 -0
  83. package/components/legend/InactiveItems.d.ts +19 -0
  84. package/components/legend/Item.d.ts +19 -0
  85. package/components/legend/Title.d.ts +20 -0
  86. package/components/legend/index.d.ts +11 -0
  87. package/components/navigator/CategoryAxis.d.ts +23 -0
  88. package/components/navigator/Hint.d.ts +20 -0
  89. package/components/navigator/Pane.d.ts +22 -0
  90. package/components/navigator/Select.d.ts +19 -0
  91. package/components/navigator/Series.d.ts +25 -0
  92. package/components/navigator/SeriesItem.d.ts +23 -0
  93. package/components/navigator/category-axis/Crosshair.d.ts +22 -0
  94. package/components/navigator/category-axis/CrosshairTooltip.d.ts +19 -0
  95. package/components/navigator/category-axis/Labels.d.ts +19 -0
  96. package/components/navigator/category-axis/Notes.d.ts +19 -0
  97. package/components/navigator/category-axis/NotesIcon.d.ts +19 -0
  98. package/components/navigator/category-axis/NotesLabel.d.ts +19 -0
  99. package/components/navigator/category-axis/Select.d.ts +14 -0
  100. package/components/navigator/category-axis/Title.d.ts +19 -0
  101. package/components/navigator/category-axis/index.d.ts +16 -0
  102. package/components/navigator/index.d.ts +17 -0
  103. package/components/navigator/pane/Title.d.ts +19 -0
  104. package/components/navigator/pane/index.d.ts +9 -0
  105. package/components/navigator/series-item/ErrorBars.d.ts +19 -0
  106. package/components/navigator/series-item/Extremes.d.ts +19 -0
  107. package/components/navigator/series-item/Highlight.d.ts +19 -0
  108. package/components/navigator/series-item/Labels.d.ts +22 -0
  109. package/components/navigator/series-item/LabelsFrom.d.ts +19 -0
  110. package/components/navigator/series-item/LabelsTo.d.ts +19 -0
  111. package/components/navigator/series-item/Markers.d.ts +19 -0
  112. package/components/navigator/series-item/Notes.d.ts +22 -0
  113. package/components/navigator/series-item/NotesIcon.d.ts +19 -0
  114. package/components/navigator/series-item/NotesLabel.d.ts +19 -0
  115. package/components/navigator/series-item/Outliers.d.ts +19 -0
  116. package/components/navigator/series-item/Tooltip.d.ts +27 -0
  117. package/components/navigator/series-item/index.d.ts +20 -0
  118. package/components/pane/Title.d.ts +19 -0
  119. package/components/pane/index.d.ts +9 -0
  120. package/components/pane-defaults/Title.d.ts +19 -0
  121. package/components/pane-defaults/index.d.ts +9 -0
  122. package/components/series-defaults/Labels.d.ts +22 -0
  123. package/components/series-defaults/LabelsFrom.d.ts +19 -0
  124. package/components/series-defaults/LabelsTo.d.ts +19 -0
  125. package/components/series-defaults/Notes.d.ts +22 -0
  126. package/components/series-defaults/NotesIcon.d.ts +19 -0
  127. package/components/series-defaults/NotesLabel.d.ts +19 -0
  128. package/components/series-defaults/Tooltip.d.ts +27 -0
  129. package/components/series-defaults/index.d.ts +15 -0
  130. package/components/series-item/ErrorBars.d.ts +19 -0
  131. package/components/series-item/Extremes.d.ts +19 -0
  132. package/components/series-item/Highlight.d.ts +19 -0
  133. package/components/series-item/Labels.d.ts +26 -0
  134. package/components/series-item/LabelsFrom.d.ts +19 -0
  135. package/components/series-item/LabelsTo.d.ts +19 -0
  136. package/components/series-item/Markers.d.ts +19 -0
  137. package/components/series-item/Notes.d.ts +22 -0
  138. package/components/series-item/NotesIcon.d.ts +19 -0
  139. package/components/series-item/NotesLabel.d.ts +19 -0
  140. package/components/series-item/Outliers.d.ts +19 -0
  141. package/components/series-item/Tooltip.d.ts +27 -0
  142. package/components/series-item/index.d.ts +20 -0
  143. package/components/value-axis-item/Crosshair.d.ts +26 -0
  144. package/components/value-axis-item/CrosshairTooltip.d.ts +19 -0
  145. package/components/value-axis-item/Labels.d.ts +19 -0
  146. package/components/value-axis-item/Notes.d.ts +26 -0
  147. package/components/value-axis-item/NotesIcon.d.ts +19 -0
  148. package/components/value-axis-item/NotesLabel.d.ts +19 -0
  149. package/components/value-axis-item/Title.d.ts +19 -0
  150. package/components/value-axis-item/index.d.ts +15 -0
  151. package/components/x-axis-item/Crosshair.d.ts +26 -0
  152. package/components/x-axis-item/CrosshairTooltip.d.ts +19 -0
  153. package/components/x-axis-item/Labels.d.ts +19 -0
  154. package/components/x-axis-item/Notes.d.ts +26 -0
  155. package/components/x-axis-item/NotesIcon.d.ts +19 -0
  156. package/components/x-axis-item/NotesLabel.d.ts +19 -0
  157. package/components/x-axis-item/Title.d.ts +19 -0
  158. package/components/x-axis-item/index.d.ts +15 -0
  159. package/components/y-axis-item/Crosshair.d.ts +26 -0
  160. package/components/y-axis-item/CrosshairTooltip.d.ts +19 -0
  161. package/components/y-axis-item/Labels.d.ts +19 -0
  162. package/components/y-axis-item/Notes.d.ts +22 -0
  163. package/components/y-axis-item/NotesIcon.d.ts +19 -0
  164. package/components/y-axis-item/NotesLabel.d.ts +19 -0
  165. package/components/y-axis-item/Title.d.ts +19 -0
  166. package/components/y-axis-item/index.d.ts +15 -0
  167. package/defaults.d.ts +8 -0
  168. package/dist/cdn/js/kendo-react-charts.js +1 -1
  169. package/events/axis-label-click-event.d.ts +39 -0
  170. package/events/base-event.d.ts +21 -0
  171. package/events/chart-event-builder.d.ts +13 -0
  172. package/events/dom-event.d.ts +26 -0
  173. package/events/drag-end-event.d.ts +29 -0
  174. package/events/drag-event.d.ts +29 -0
  175. package/events/drag-start-event.d.ts +29 -0
  176. package/events/drilldown-event.d.ts +45 -0
  177. package/events/drilldown-state-change-event.d.ts +29 -0
  178. package/events/legend-item-click-event.d.ts +39 -0
  179. package/events/legend-item-hover-event.d.ts +39 -0
  180. package/events/legend-item-leave-event.d.ts +39 -0
  181. package/events/navigator-filter-event.d.ts +26 -0
  182. package/events/note-click-event.d.ts +39 -0
  183. package/events/note-hover-event.d.ts +39 -0
  184. package/events/plot-area-click-event.d.ts +38 -0
  185. package/events/plot-area-hover-event.d.ts +38 -0
  186. package/events/preventable-event.d.ts +25 -0
  187. package/events/render-event.d.ts +18 -0
  188. package/events/select-end-event.d.ts +31 -0
  189. package/events/select-event.d.ts +31 -0
  190. package/events/select-start-event.d.ts +31 -0
  191. package/events/series-click-event.d.ts +52 -0
  192. package/events/series-hover-event.d.ts +56 -0
  193. package/events/zoom-end-event.d.ts +31 -0
  194. package/events/zoom-event.d.ts +35 -0
  195. package/events/zoom-start-event.d.ts +29 -0
  196. package/field-types/auto-base-unit-steps.interface.d.ts +46 -0
  197. package/field-types/axis-labels-position.d.ts +24 -0
  198. package/field-types/axis-line.interface.d.ts +29 -0
  199. package/field-types/axis-ticks.interface.d.ts +36 -0
  200. package/field-types/axis-title-position.d.ts +24 -0
  201. package/field-types/base-unit.d.ts +36 -0
  202. package/field-types/border.interface.d.ts +31 -0
  203. package/field-types/bullet-target-line.interface.d.ts +16 -0
  204. package/field-types/bullet-target.interface.d.ts +26 -0
  205. package/field-types/category-base-unit.d.ts +37 -0
  206. package/field-types/dash-type.d.ts +30 -0
  207. package/field-types/date-formats.interface.d.ts +46 -0
  208. package/field-types/drag-action.interface.d.ts +22 -0
  209. package/field-types/error-bar-line.interface.d.ts +21 -0
  210. package/field-types/grid-lines.interface.d.ts +37 -0
  211. package/field-types/highlight-line.interface.d.ts +29 -0
  212. package/field-types/label-connectors.interface.d.ts +24 -0
  213. package/field-types/label-rotation.interface.d.ts +26 -0
  214. package/field-types/legend-labels.interface.d.ts +35 -0
  215. package/field-types/line-style.d.ts +30 -0
  216. package/field-types/lock-axis.d.ts +11 -0
  217. package/field-types/margin.interface.d.ts +28 -0
  218. package/field-types/marker-type.d.ts +33 -0
  219. package/field-types/modifier-key.d.ts +11 -0
  220. package/field-types/mousewheel-select.interface.d.ts +25 -0
  221. package/field-types/mousewheel-zoom.interface.d.ts +25 -0
  222. package/field-types/negative-bubble-values.interface.d.ts +20 -0
  223. package/field-types/note-label-position.d.ts +31 -0
  224. package/field-types/note-line.interface.d.ts +29 -0
  225. package/field-types/note-position.d.ts +31 -0
  226. package/field-types/overlay.interface.d.ts +22 -0
  227. package/field-types/padding.interface.d.ts +13 -0
  228. package/field-types/plot-band-label.interface.d.ts +94 -0
  229. package/field-types/plot-band.interface.d.ts +37 -0
  230. package/field-types/series-labels-position.d.ts +23 -0
  231. package/field-types/series-line.interface.d.ts +35 -0
  232. package/field-types/series-stack.interface.d.ts +24 -0
  233. package/field-types/series-type.d.ts +31 -0
  234. package/field-types/trendline-forecast.interface.d.ts +20 -0
  235. package/field-types/week-start-day.enum.d.ts +40 -0
  236. package/index.d.mts +32 -9258
  237. package/index.d.ts +32 -9258
  238. package/messages.d.ts +17 -0
  239. package/methods/index.d.ts +43 -0
  240. package/option-types/axis-crosshair-tooltip.interface.d.ts +42 -0
  241. package/option-types/axis-defaults/crosshair.interface.d.ts +48 -0
  242. package/option-types/axis-defaults/crosshair.tooltip.interface.d.ts +13 -0
  243. package/option-types/axis-defaults/labels.interface.d.ts +76 -0
  244. package/option-types/axis-defaults/title.interface.d.ts +74 -0
  245. package/option-types/axis-defaults.interface.d.ts +80 -0
  246. package/option-types/category-axis-item/crosshair.interface.d.ts +47 -0
  247. package/option-types/category-axis-item/crosshair.tooltip.interface.d.ts +13 -0
  248. package/option-types/category-axis-item/labels.interface.d.ts +110 -0
  249. package/option-types/category-axis-item/notes.icon.interface.d.ts +39 -0
  250. package/option-types/category-axis-item/notes.interface.d.ts +52 -0
  251. package/option-types/category-axis-item/notes.label.interface.d.ts +53 -0
  252. package/option-types/category-axis-item/range-labels.interface.d.ts +31 -0
  253. package/option-types/category-axis-item/select.interface.d.ts +33 -0
  254. package/option-types/category-axis-item/title.interface.d.ts +72 -0
  255. package/option-types/category-axis-item.interface.d.ts +166 -0
  256. package/option-types/chart-area.interface.d.ts +37 -0
  257. package/option-types/legend/inactive-items.interface.d.ts +17 -0
  258. package/option-types/legend/item.interface.d.ts +124 -0
  259. package/option-types/legend/legend-title.interface.d.ts +68 -0
  260. package/option-types/legend.interface.d.ts +106 -0
  261. package/option-types/navigator/hint.interface.d.ts +25 -0
  262. package/option-types/navigator/select.interface.d.ts +25 -0
  263. package/option-types/navigator.interface.d.ts +44 -0
  264. package/option-types/pane/title.interface.d.ts +65 -0
  265. package/option-types/pane-defaults/title.interface.d.ts +59 -0
  266. package/option-types/pane-defaults.interface.d.ts +46 -0
  267. package/option-types/pane.interface.d.ts +53 -0
  268. package/option-types/plot-area.interface.d.ts +33 -0
  269. package/option-types/series-defaults/labels.from.interface.d.ts +58 -0
  270. package/option-types/series-defaults/labels.interface.d.ts +80 -0
  271. package/option-types/series-defaults/labels.to.interface.d.ts +58 -0
  272. package/option-types/series-defaults/notes.icon.interface.d.ts +39 -0
  273. package/option-types/series-defaults/notes.interface.d.ts +43 -0
  274. package/option-types/series-defaults/notes.label.interface.d.ts +53 -0
  275. package/option-types/series-defaults/tooltip.interface.d.ts +48 -0
  276. package/option-types/series-defaults.interface.d.ts +103 -0
  277. package/option-types/series-item/error-bars.interface.d.ts +64 -0
  278. package/option-types/series-item/extremes.interface.d.ts +39 -0
  279. package/option-types/series-item/highlight.interface.d.ts +74 -0
  280. package/option-types/series-item/labels.from.interface.d.ts +74 -0
  281. package/option-types/series-item/labels.interface.d.ts +109 -0
  282. package/option-types/series-item/labels.to.interface.d.ts +72 -0
  283. package/option-types/series-item/markers.interface.d.ts +72 -0
  284. package/option-types/series-item/notes.icon.interface.d.ts +39 -0
  285. package/option-types/series-item/notes.interface.d.ts +53 -0
  286. package/option-types/series-item/notes.label.interface.d.ts +53 -0
  287. package/option-types/series-item/outliers.interface.d.ts +39 -0
  288. package/option-types/series-item/tooltip.interface.d.ts +49 -0
  289. package/option-types/series-item/trendline.interface.d.ts +37 -0
  290. package/option-types/series-item.interface.d.ts +492 -0
  291. package/option-types/subtitle.interface.d.ts +68 -0
  292. package/option-types/title.interface.d.ts +66 -0
  293. package/option-types/tooltip-border.interface.d.ts +22 -0
  294. package/option-types/tooltip.interface.d.ts +56 -0
  295. package/option-types/value-axis-item/crosshair.interface.d.ts +33 -0
  296. package/option-types/value-axis-item/crosshair.tooltip.interface.d.ts +13 -0
  297. package/option-types/value-axis-item/labels.interface.d.ts +88 -0
  298. package/option-types/value-axis-item/notes.icon.interface.d.ts +39 -0
  299. package/option-types/value-axis-item/notes.interface.d.ts +52 -0
  300. package/option-types/value-axis-item/notes.label.interface.d.ts +53 -0
  301. package/option-types/value-axis-item/title.interface.d.ts +73 -0
  302. package/option-types/value-axis-item.interface.d.ts +121 -0
  303. package/option-types/x-axis-item/crosshair.interface.d.ts +33 -0
  304. package/option-types/x-axis-item/crosshair.tooltip.interface.d.ts +13 -0
  305. package/option-types/x-axis-item/labels.interface.d.ts +95 -0
  306. package/option-types/x-axis-item/notes.icon.interface.d.ts +39 -0
  307. package/option-types/x-axis-item/notes.interface.d.ts +53 -0
  308. package/option-types/x-axis-item/notes.label.interface.d.ts +53 -0
  309. package/option-types/x-axis-item/title.interface.d.ts +72 -0
  310. package/option-types/x-axis-item.interface.d.ts +142 -0
  311. package/option-types/y-axis-item/crosshair.interface.d.ts +33 -0
  312. package/option-types/y-axis-item/crosshair.tooltip.interface.d.ts +13 -0
  313. package/option-types/y-axis-item/labels.interface.d.ts +95 -0
  314. package/option-types/y-axis-item/notes.icon.interface.d.ts +39 -0
  315. package/option-types/y-axis-item/notes.interface.d.ts +52 -0
  316. package/option-types/y-axis-item/notes.label.interface.d.ts +53 -0
  317. package/option-types/y-axis-item/title.interface.d.ts +73 -0
  318. package/option-types/y-axis-item.interface.d.ts +138 -0
  319. package/option-types/zoomable.interface.d.ts +21 -0
  320. package/package-metadata.d.ts +12 -0
  321. package/package-metadata.js +1 -1
  322. package/package-metadata.mjs +10 -16
  323. package/package.json +6 -6
  324. package/sankey/Sankey.d.ts +13 -0
  325. package/sankey/SankeyTooltip.d.ts +12 -0
  326. package/sankey/index.d.ts +11 -0
  327. package/sankey/messages.d.ts +17 -0
  328. package/sankey/propTypes.d.ts +226 -0
  329. package/sankey/theme-service.d.ts +12 -0
  330. package/sankey/types.d.ts +206 -0
  331. package/sankey/utils.d.ts +12 -0
  332. package/store/reducer.d.ts +21 -0
  333. package/store/store.d.ts +32 -0
  334. package/tooltip/Context.d.ts +36 -0
  335. package/tooltip/Crosshair.d.ts +44 -0
  336. package/tooltip/CrosshairContainer.d.ts +35 -0
  337. package/tooltip/Point.d.ts +78 -0
  338. package/tooltip/Popup.d.ts +39 -0
  339. package/tooltip/Series.d.ts +42 -0
  340. package/tooltip/SharedTooltipContent.d.ts +19 -0
  341. package/tooltip/index.d.ts +10 -0
  342. package/utils/index.d.ts +20 -0
@@ -0,0 +1,19 @@
1
+ /**
2
+ * @license
3
+ *-------------------------------------------------------------------------------------------
4
+ * Copyright © 2026 Progress Software Corporation. All rights reserved.
5
+ * Licensed under commercial license. See LICENSE.md in the package root for more information
6
+ *-------------------------------------------------------------------------------------------
7
+ */
8
+ import { YAxisLabels } from '../../common/property-types.js';
9
+ import * as React from 'react';
10
+ /**
11
+ * Represents the props of the KendoReact ChartYAxisLabels component.
12
+ */
13
+ export interface ChartYAxisLabelsProps extends YAxisLabels {
14
+ }
15
+ /**
16
+ * Represents the KendoReact ChartYAxisLabels component.
17
+ */
18
+ declare const ChartYAxisLabels: React.FunctionComponent<ChartYAxisLabelsProps>;
19
+ export { ChartYAxisLabels };
@@ -0,0 +1,22 @@
1
+ /**
2
+ * @license
3
+ *-------------------------------------------------------------------------------------------
4
+ * Copyright © 2026 Progress Software Corporation. All rights reserved.
5
+ * Licensed under commercial license. See LICENSE.md in the package root for more information
6
+ *-------------------------------------------------------------------------------------------
7
+ */
8
+ import { YAxisNotes } from '../../common/property-types.js';
9
+ import * as React from 'react';
10
+ /**
11
+ * Represents the props of the KendoReact ChartYAxisNotes component.
12
+ */
13
+ export interface ChartYAxisNotesProps extends YAxisNotes {
14
+ }
15
+ /**
16
+ * Represents the KendoReact ChartYAxisNotes component.
17
+ *
18
+ * @remarks
19
+ * Supported children components are: {@link ChartYAxisNotesIcon}, {@link ChartYAxisNotesLabel}.
20
+ */
21
+ declare const ChartYAxisNotes: React.FunctionComponent<ChartYAxisNotesProps>;
22
+ export { ChartYAxisNotes };
@@ -0,0 +1,19 @@
1
+ /**
2
+ * @license
3
+ *-------------------------------------------------------------------------------------------
4
+ * Copyright © 2026 Progress Software Corporation. All rights reserved.
5
+ * Licensed under commercial license. See LICENSE.md in the package root for more information
6
+ *-------------------------------------------------------------------------------------------
7
+ */
8
+ import { YAxisNotesIcon } from '../../common/property-types.js';
9
+ import * as React from 'react';
10
+ /**
11
+ * Represents the props of the KendoReact ChartYAxisNotesIcon component.
12
+ */
13
+ export interface ChartYAxisNotesIconProps extends YAxisNotesIcon {
14
+ }
15
+ /**
16
+ * Represents the KendoReact ChartYAxisNotesIcon component.
17
+ */
18
+ declare const ChartYAxisNotesIcon: React.FunctionComponent<ChartYAxisNotesIconProps>;
19
+ export { ChartYAxisNotesIcon };
@@ -0,0 +1,19 @@
1
+ /**
2
+ * @license
3
+ *-------------------------------------------------------------------------------------------
4
+ * Copyright © 2026 Progress Software Corporation. All rights reserved.
5
+ * Licensed under commercial license. See LICENSE.md in the package root for more information
6
+ *-------------------------------------------------------------------------------------------
7
+ */
8
+ import { YAxisNotesLabel } from '../../common/property-types.js';
9
+ import * as React from 'react';
10
+ /**
11
+ * Represents the props of the KendoReact ChartYAxisNotesLabel component.
12
+ */
13
+ export interface ChartYAxisNotesLabelProps extends YAxisNotesLabel {
14
+ }
15
+ /**
16
+ * Represents the KendoReact ChartYAxisNotesLabel component.
17
+ */
18
+ declare const ChartYAxisNotesLabel: React.FunctionComponent<ChartYAxisNotesLabelProps>;
19
+ export { ChartYAxisNotesLabel };
@@ -0,0 +1,19 @@
1
+ /**
2
+ * @license
3
+ *-------------------------------------------------------------------------------------------
4
+ * Copyright © 2026 Progress Software Corporation. All rights reserved.
5
+ * Licensed under commercial license. See LICENSE.md in the package root for more information
6
+ *-------------------------------------------------------------------------------------------
7
+ */
8
+ import { YAxisTitle } from '../../common/property-types.js';
9
+ import * as React from 'react';
10
+ /**
11
+ * Represents the props of the KendoReact ChartYAxisTitle component.
12
+ */
13
+ export interface ChartYAxisTitleProps extends YAxisTitle {
14
+ }
15
+ /**
16
+ * Represents the KendoReact ChartYAxisTitle component.
17
+ */
18
+ declare const ChartYAxisTitle: React.FunctionComponent<ChartYAxisTitleProps>;
19
+ export { ChartYAxisTitle };
@@ -0,0 +1,15 @@
1
+ /**
2
+ * @license
3
+ *-------------------------------------------------------------------------------------------
4
+ * Copyright © 2026 Progress Software Corporation. All rights reserved.
5
+ * Licensed under commercial license. See LICENSE.md in the package root for more information
6
+ *-------------------------------------------------------------------------------------------
7
+ */
8
+ import { ChartYAxisCrosshair, ChartYAxisCrosshairProps } from './Crosshair.js';
9
+ import { ChartYAxisCrosshairTooltip, ChartYAxisCrosshairTooltipProps } from './CrosshairTooltip.js';
10
+ import { ChartYAxisLabels, ChartYAxisLabelsProps } from './Labels.js';
11
+ import { ChartYAxisNotes, ChartYAxisNotesProps } from './Notes.js';
12
+ import { ChartYAxisNotesIcon, ChartYAxisNotesIconProps } from './NotesIcon.js';
13
+ import { ChartYAxisNotesLabel, ChartYAxisNotesLabelProps } from './NotesLabel.js';
14
+ import { ChartYAxisTitle, ChartYAxisTitleProps } from './Title.js';
15
+ export { ChartYAxisCrosshair, ChartYAxisCrosshairProps, ChartYAxisCrosshairTooltip, ChartYAxisCrosshairTooltipProps, ChartYAxisTitle, ChartYAxisTitleProps, ChartYAxisLabels, ChartYAxisLabelsProps, ChartYAxisNotes, ChartYAxisNotesProps, ChartYAxisNotesIcon, ChartYAxisNotesIconProps, ChartYAxisNotesLabel, ChartYAxisNotesLabelProps };
package/defaults.d.ts ADDED
@@ -0,0 +1,8 @@
1
+ /**
2
+ * @license
3
+ *-------------------------------------------------------------------------------------------
4
+ * Copyright © 2026 Progress Software Corporation. All rights reserved.
5
+ * Licensed under commercial license. See LICENSE.md in the package root for more information
6
+ *-------------------------------------------------------------------------------------------
7
+ */
8
+ export {};
@@ -12,4 +12,4 @@
12
12
  * Licensed under commercial license. See LICENSE.md in the package root for more information
13
13
  *-------------------------------------------------------------------------------------------
14
14
  */
15
- !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("react"),require("prop-types"),require("@progress/kendo-react-intl"),require("@progress/kendo-charts"),require("@progress/kendo-react-common"),require("@progress/kendo-react-popup"),require("@progress/kendo-react-layout"),require("@progress/kendo-svg-icons"),require("react-dom")):"function"==typeof define&&define.amd?define(["exports","react","prop-types","@progress/kendo-react-intl","@progress/kendo-charts","@progress/kendo-react-common","@progress/kendo-react-popup","@progress/kendo-react-layout","@progress/kendo-svg-icons","react-dom"],t):t((e="undefined"!=typeof globalThis?globalThis:e||self).KendoReactCharts={},e.React,e.PropTypes,e.KendoReactIntl,e.KendoCharts,e.KendoReactCommon,e.KendoReactPopup,e.KendoReactLayout,e.KendoSvgIcons,e.ReactDOM)}(this,(function(e,t,r,s,n,a,i,o,l,c){"use strict";function h(e){var t=Object.create(null);return e&&Object.keys(e).forEach((function(r){if("default"!==r){var s=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,s.get?s:{enumerable:!0,get:function(){return e[r]}})}})),t.default=e,Object.freeze(t)}var p=h(t),d=h(c);function u(e,t){let r=e;for(;r&&r!==t;)r=r.parentNode;return!!r}function m(e,t,r,s){const n=e[t];if(n&&Array.isArray(n))for(const e of n)if(!e.type||e.type!==s)return new Error(`${r} children should be Array of type ${s.displayName}.`);return null}const y=e=>void 0!==e&&!e;let g=class{constructor(e){this.target=e}},v=class extends g{constructor(e,t){super(t),this.axis=e.axis,this.dataItem=e.dataItem,this.index=e.index,this.text=e.text,this.value=e.value}},C=class extends g{constructor(){super(...arguments),this.prevented=!1}preventDefault(){this.prevented=!0}isDefaultPrevented(){return this.prevented}},b=class extends C{constructor(e,t){super(t),this.axisRanges=e.axisRanges,this.nativeEvent=e.originalEvent}},f=class extends g{constructor(e,t){super(t),this.axisRanges=e.axisRanges,this.nativeEvent=e.originalEvent}},x=class extends C{constructor(e,t){super(t),this.axisRanges=e.axisRanges,this.nativeEvent=e.originalEvent}},E=class extends g{constructor(e,t){super(t),this.value=e.value,this.point=e.point,this.series=e.series,this.currentState=e.currentState,this.nextState=e.nextState}},S=class extends C{constructor(e,t){super(t),this.series=e.series,this.seriesIndex=e.seriesIndex,this.pointIndex=e.pointIndex,this.text=e.text}preventDefault(){super.preventDefault()}},I=class extends C{constructor(e,t){super(t),this.series=e.series,this.seriesIndex=e.seriesIndex,this.pointIndex=e.pointIndex,this.text=e.text}preventDefault(){super.preventDefault()}},N=class extends g{constructor(e,t){super(t),this.from=e.from,this.to=e.to}},_=class extends g{constructor(e,t){super(t),this.category=e.category,this.dataItem=e.dataItem,this.series=e.series,this.value=e.value,this.visual=e.visual}},k=class extends g{constructor(e,t){super(t),this.category=e.category,this.dataItem=e.dataItem,this.series=e.series,this.value=e.value,this.visual=e.visual}},T=class extends g{constructor(e,t){super(t),this.category=e.category,this.nativeEvent=e.originalEvent,this.value=e.value,this.x=e.x,this.y=e.y}},w=class extends g{constructor(e,t){super(t),this.category=e.category,this.nativeEvent=e.originalEvent,this.value=e.value,this.x=e.x,this.y=e.y}},K=class extends g{constructor(e,t){super(t)}},A=class extends C{constructor(e,t){super(t),this.axis=e.axis,this.from=e.from,this.to=e.to}},O=class extends g{constructor(e,t){super(t),this.axis=e.axis,this.from=e.from,this.to=e.to}},L=class extends C{constructor(e,t){super(t),this.axis=e.axis,this.from=e.from,this.to=e.to}},D=class extends g{constructor(e,t){super(t),this.category=e.category,this.dataItem=e.dataItem,this.nativeEvent=e.originalEvent,this.percentage=e.percentage,this.point=e.point,this.series=e.series,this.stackValue=e.stackValue,this.value=e.value}},R=class extends C{constructor(e,t){super(t),this.category=e.category,this.categoryPoints=e.categoryPoints,this.dataItem=e.dataItem,this.nativeEvent=e.originalEvent,this.percentage=e.percentage,this.point=e.point,this.series=e.series,this.stackValue=e.stackValue,this.value=e.value}},P=class extends C{constructor(e,t){super(t),this.axisRanges=e.axisRanges,this.delta=e.delta,this.nativeEvent=e.originalEvent}},F=class extends g{constructor(e,t){super(t),this.axisRanges=e.axisRanges,this.nativeEvent=e.originalEvent}},V=class extends C{constructor(e,t){super(t),this.axisRanges=e.axisRanges,this.nativeEvent=e.originalEvent}};const M={axisLabelClick:v,drag:b,dragEnd:f,dragStart:x,drilldownEvent:E,legendItemHover:S,legendItemClick:I,legendItemLeave:class extends C{constructor(e,t){super(t),this.series=e.series,this.seriesIndex=e.seriesIndex,this.pointIndex=e.pointIndex,this.text=e.text}preventDefault(){super.preventDefault()}},navigatorFilter:N,noteClick:_,noteHover:k,plotAreaClick:T,plotAreaHover:w,render:K,select:A,selectEnd:O,selectStart:L,seriesClick:D,seriesHover:R,zoom:P,zoomEnd:F,zoomStart:V};let H=class{constructor(e,t){this.sender=e,this.syntheticEvent=t}};function j(e,t){return new H(e,t)}const U=e=>{let t,r,s=[];const n=n=>{t=e(t,n),a.canUseDOM&&(window.clearTimeout(r),r=window.setTimeout((()=>s.forEach((e=>e()))),16.666666666666668))};return n({}),{getState:()=>t,dispatch:n,subscribe:e=>(s.push(e),()=>s=s.filter((t=>t!==e)))}},z=(e,t)=>t.chartCollectionIdxKey?W.collectionConfigurationItem(e,t):t.chartKey?W.configurationItem(e,t):{},q=(e,t)=>{if(!t.type)return{};switch(t.type){case"set":return W.themeItem(e,t);case"push":return Object.assign(e,t.payload);default:return e}},B=(e,t)=>{if(!t.type)return[];switch(t.type){case"add":return[...e,t.payload];case"remove":return e.filter((e=>e!==t.payload));default:return e}},W={configurationItem:(e,t)=>Object.assign(e,{[t.chartKey]:t.payload}),collectionConfigurationItem(e,t){let r=!1;const[s,n]=t.chartCollectionIdxKey.split("_"),a=e[s].map(((e,s)=>parseInt(n,10)===s?(r=!0,t.payload):e));return!1===r&&a.splice(parseInt(n,10),0,t.payload),Object.assign(e,{[s]:a})},themeItem(e,t){let r={};const s=Object.assign(r,e),{field:n,value:a}=t.payload,i=n.split(".");let o=i.shift();for(;i.length>0;)r=r[o]=r[o]||{},o=i.shift();return r[o]=a,s}};let X=class{constructor(e,t){this.value=e.value,this.category=e.category,this.categoryIndex=e.categoryIx,this.series=e.series,this.dataItem=e.dataItem,this.percentage=e.percentage,this.runningTotal=e.runningTotal,this.total=e.total,this.low=e.low,this.high=e.high,this.xLow=e.xLow,this.xHigh=e.xHigh,this.yLow=e.yLow,this.yHigh=e.yHigh,this.point=e,this.format=((e.options||{}).tooltip||{}).format||t}get formattedValue(){return this.format?this.point.formatValue(this.format):String(this.value)}};const Y=e=>{const{categoryText:t,colorMarker:r,colspan:s,nameColumn:n,points:a}=e;return p.createElement("table",null,p.createElement("thead",null,p.createElement("tr",null,p.createElement("th",{colSpan:s},t))),p.createElement("tbody",null,a.map(((e,t)=>p.createElement("tr",{key:t},r&&p.createElement("td",null,p.createElement("span",{className:"k-chart-shared-tooltip-marker",style:{backgroundColor:e.series.color}})),n&&p.createElement("td",null,e.series.name),p.createElement("td",{dangerouslySetInnerHTML:{__html:e.formattedValue}}))))))},$=p.createContext(null);$.displayName="ChartContext";const Z={horizontal:"fit",vertical:"fit"},G="k-chart-tooltip",J=class extends p.Component{constructor(e){super(e),this.context=null,this.element=null,this.onChartMouseLeave=e=>{const{syntheticEvent:t}=e;return!!u(t.relatedTarget,this.element)},this.onMouseLeave=e=>{const t=j(this,e);this.context.childrenObserver.trigger("onMouseLeave",t)&&e.preventDefault()},this.popupRef=e=>{this.element=e;const t=e&&e.closest(".k-animation-container");t&&(t.style.transition="initial")},this.chartObserver=new n.InstanceObserver(this,{onMouseLeave:"onChartMouseLeave"})}componentDidMount(){var e;null==(e=this.context)||e.observersStore.dispatch({type:"add",payload:this.chartObserver})}render(){const{popupShown:e,popupAlign:t,popupOffset:r,popupStyles:s,popupContent:n,className:a}=this.props,o=[G,a].join(" ").trim();return p.createElement(i.Popup,{animate:!1,popupAlign:t,offset:r,show:e,collision:Z,className:"k-chart-tooltip-wrapper"},p.createElement("div",{className:o,style:s,onMouseLeave:this.onMouseLeave,ref:this.popupRef},n()))}componentWillUnmount(){this.context.observersStore.dispatch({type:"remove",payload:this.chartObserver})}};J.contextType=$;let Q=J;const ee=class extends p.Component{constructor(){super(...arguments),this.context=null,this.state={popupShown:!1},this.chartObserver=null}componentDidMount(){this.chartObserver=new n.InstanceObserver(this,{showTooltip:"onShowTooltip",hideTooltip:"onHideTooltip"}),this.context.observersStore.dispatch({type:"add",payload:this.chartObserver})}render(){const{popupContext:e,shared:t,className:r,...s}=this.state,n=this.state.popupShown?()=>{const r=this.findRenderFunction();if(t)return null!==r?r(e):p.createElement(Y,{...e});const s=e.point,n=this.findRenderFunctionByIndex(s.series.index);return null!==n?n(e):null!==r?r(e):p.createElement("span",{dangerouslySetInnerHTML:{__html:e.point.formattedValue}})}:Function.prototype,i=a.classNames({"k-chart-shared-tooltip":t,"k-chart-tooltip-inverse":!!r});return p.createElement(Q,{...s,popupContent:n,className:i})}componentWillUnmount(){this.context.observersStore.dispatch({type:"remove",payload:this.chartObserver})}onShowTooltip(e){const{anchor:t,style:r,shared:s,className:n,crosshair:a}=e;let i;a||(i=s?this.createSharedTooltipContext(e):this.createTooltipContext(e),this.setState({popupShown:!0,popupAlign:t.align,popupOffset:t.point,popupContext:i,popupStyles:r,className:n,shared:s}))}onHideTooltip(){this.setState({popupShown:!1,popupStyles:{},className:void 0})}createSharedTooltipContext(e){const{points:t,categoryText:r}=e,s=t.filter((e=>void 0!==e.series.name)).length>0,n=e.series.length>1;let a=1;return s&&a++,n&&a++,{categoryText:r,colorMarker:n,colspan:a,nameColumn:s,points:e.points.map((t=>new X(t,e.format)))}}createTooltipContext(e){const{point:t,format:r}=e;return{point:new X(t,r)}}findRenderFunctionByIndex(e){const t=this.context.optionsStore.getState().series;return void 0!==t&&Array.isArray(t)&&void 0!==t[e]&&t[e].hasOwnProperty("tooltip")&&t[e].tooltip.hasOwnProperty("render")?t[e].tooltip.render:null}findRenderFunction(){const e=this.context.optionsStore.getState().tooltip;return void 0!==e&&e.hasOwnProperty("render")?e.render:null}};ee.contextType=$;let te=ee;const re=e=>e.children;re.displayName="Container";const se=class extends p.Component{constructor(e){super(e),this.context=null,this.state={popupShown:!1},this.chartObserver=new n.InstanceObserver(this,{showTooltip:"onShowTooltip",hideTooltip:"onHideTooltip"})}componentDidMount(){var e;null==(e=this.context)||e.observersStore.dispatch({type:"add",payload:this.chartObserver})}render(){const{popupContend:e,className:t,...r}=this.state,s=this.state.popupShown?()=>e:Function.prototype,n=a.classNames({"k-chart-crosshair-tooltip":!0,"k-chart-tooltip-inverse":!!t});return p.createElement(Q,{...r,popupContent:s,className:n})}componentWillUnmount(){var e;null==(e=this.context)||e.observersStore.dispatch({type:"remove",payload:this.chartObserver})}onShowTooltip(e){const{anchor:t,style:r,className:s,crosshair:n,axisName:a,axisIndex:i,value:o}=e,{name:l,index:c}=this.props;n&&a===l&&i===c&&this.setState({popupShown:!0,popupAlign:t.align,popupOffset:t.point,popupContend:o,popupStyles:r,className:s})}onHideTooltip(){this.setState({popupShown:!1,popupStyles:{},className:void 0})}};se.contextType=$;let ne=se;const ae=["categoryAxis","valueAxis","xAxis","yAxis"];function ie(e){const t={};for(let r=0;r<ae.length;r++){const s=oe(e,ae[r]);for(let e=0;e<s.length;e++){const r=s[e];t[r.name+r.index]=r}}return t}function oe(e,t){const r=[];if(e[t]){const s=[].concat(e[t]);for(let e=0;e<s.length;e++){const n=(s[e].crosshair||{}).tooltip;n&&n.visible&&r.push({index:e,name:t})}}return r}const le=class extends p.Component{constructor(){super(...arguments),this.context=null,this.state={tooltips:{}},this.storeUnsubscriber=Function.prototype,this.subscriber=()=>{var e;this.setState({tooltips:ie(null==(e=this.context)?void 0:e.optionsStore.getState())})}}componentDidMount(){this.storeUnsubscriber=this.context.optionsStore.subscribe(this.subscriber)}render(){const{tooltips:e}=this.state,t=Object.keys(e).map((t=>p.createElement(ne,{...e[t],key:t})));return p.createElement(re,null,t)}componentWillUnmount(){this.storeUnsubscriber()}};le.contextType=$;let ce=le;const he=Object.freeze({name:"@progress/kendo-react-charts",productName:"KendoReact",productCode:"KENDOUIREACT",productCodes:["KENDOUIREACT"],publishDate:0,version:"13.3.0-develop.9",licensingDocsUrl:"https://www.telerik.com/kendo-react-ui/components/my-license/"}),pe=class extends p.Component{constructor(e){super(e),this.chartInstance=null,this.surface=null,this._element=null,this.optionsStore={},this.optionsUnsubscriber=Function.prototype,this.themeStore={},this.themeUnsubscriber=Function.prototype,this.observersStore={},this.suppressTransitions=!1,this.showLicenseWatermark=!1,this.onRender=e=>{null!==this.chartInstance&&(this.surface=e.sender.surface,this.trigger("render",e))},this.onDrilldown=e=>{var t;const{series:r}=this.optionsStore.getState(),s=r.find((t=>t.name===e.series.name));if(s.drilldownSeriesFactory){const r="onDrilldown";if(this.props.hasOwnProperty(r)){const n={seriesName:s.name,drilldownValue:e.value},a=[...(null==(t=this.props.drilldownState)?void 0:t.steps)||[],n],i=this.props.getTarget(),o={...e,currentState:this.props.drilldownState,nextState:{steps:a}},l=new E(o,i);this.props[r].call(void 0,l)}}return!0},this.onLegendItemClick=e=>{if(null!==this.chartInstance)if(this.props.onLegendItemClick)this.trigger("legendItemClick",e);else{const{series:t}=this.optionsStore.getState();if(!t)return;let r={};const{seriesIndex:s,pointIndex:n}=e,a=t[s];if(void 0===n)r=Object.assign({},a,{visible:y(a.visible)});else{const e=a.pointVisibility=a.pointVisibility||[];e[n]=y(e[n]),r=Object.assign({},a)}this.optionsStore.dispatch({chartCollectionIdxKey:`series_${s}`,payload:r}),this.suppressTransitions=!0}},this.onWindowResize=()=>{null!==this.chartInstance&&this.chartInstance.resize()},this.onChartMouseLeave=e=>{const t=j(this,e);this.triggerDomEvent("onMouseLeave",t)?e.preventDefault():null!==this.chartInstance&&this.chartInstance.hideElements()},this.onChildMouseLeave=e=>{const{syntheticEvent:t}=e;return this.chartInstance&&!u(t.relatedTarget,this.element)&&this.chartInstance.hideElements(),!1},this.showLicenseWatermark=!a.validatePackage(he,{component:"Chart"}),this.licenseMessage=a.getLicenseMessage(he),this.optionsStore=U(z),this.observersStore=U(B),this.childrenObserver=new n.InstanceObserver(this,{onMouseLeave:"onChildMouseLeave"}),this.state={optionsStore:this.optionsStore,observersStore:this.observersStore,childrenObserver:this.childrenObserver,drilldownState:{steps:[]}},this.themeStore=U(q),this.chartObserver=new n.InstanceObserver(this,{render:"onRender",legendItemClick:"onLegendItemClick",drilldown:"onDrilldown",styleChanged:"onStyleChanged"})}get element(){return this._element}static getDerivedStateFromProps(e,t){return{...t,drilldownState:e.drilldownState||[]}}componentDidMount(){this._element&&(this.readTheme(),this.instantiateCoreChart()),this.optionsUnsubscriber=this.optionsStore.subscribe(this.refresh.bind(this)),this.themeUnsubscriber=this.themeStore.subscribe(this.refresh.bind(this)),window.addEventListener("resize",this.onWindowResize)}componentWillUnmount(){this.optionsUnsubscriber(),this.themeUnsubscriber(),null!==this.chartInstance&&(this.chartInstance.destroy(),this.chartInstance=null),window.removeEventListener("resize",this.onWindowResize)}componentDidUpdate(e){const{dir:t,children:r,...n}=this.props;if(null!==this.chartInstance){const r=s.provideIntlService(this),a=this.chartInstance.chartService,i=r.locale!==a._intlService.locale,o=Object.entries(e).filter((e=>"dir"!==e[0]&&"children"!==e[0])).some((e=>{const[t,r]=e;return!(n.hasOwnProperty(t)&&n[t]===r)}));i&&(this.chartInstance.chartService._intlService=r,this.chartInstance.chartService.format._intlService=r,o||this.chartInstance.noTransitionsRedraw()),o&&this.refresh(),e.dir!==t&&this.chartInstance.setDirection(this.getDirection(t))}}render(){const{style:e={},className:t,wrapper:r,children:s}=this.props,n=Object.assign({},e,{position:"relative"}),i=p.createElement(r,{className:t,style:n,key:"chartElement"},p.createElement("div",{onMouseLeave:this.onChartMouseLeave,ref:e=>{this._element=e},className:"k-chart-surface"},s),p.createElement(p.Fragment,null,this.showLicenseWatermark&&p.createElement(a.WatermarkOverlay,{message:this.licenseMessage})));return p.createElement($.Provider,{value:this.state},p.createElement(te,{key:"seriesTooltip"}),p.createElement(ce,{key:"crosshairTooltips"}),i)}getDirection(e){return"rtl"===(void 0!==e?e:a.canUseDOM&&window.getComputedStyle(this.element).direction||"ltr")}getChartOptions(){const{renderAs:e,pannable:t,zoomable:r,paneDefaults:s,panes:n,transitions:a,seriesColors:i,seriesDefaults:o,axisDefaults:l,observeStyles:c,deriveOptionsFromParent:h}=this.props;let p={};return void 0!==e&&(p.renderAs=e),void 0!==t&&(p.pannable=t),void 0!==r&&(p.zoomable=r),void 0!==s&&(p.paneDefaults=s),void 0!==n&&(p.panes=n),void 0!==a&&(p.transitions=a),void 0!==i&&(p.seriesColors=i),void 0!==o&&(p.seriesDefaults=o),void 0!==l&&(p.axisDefaults=l),p.observeStyles=void 0===c||c,p=Object.assign(p,this.optionsStore.getState()),h&&(p=h(p)),p}refresh(){if(null!==this.chartInstance){const e=this.themeStore.getState(),t=this.getChartOptions(),r=t.transitions;this.suppressTransitions&&(t.transitions=!1),this.props.onRefresh?this.props.onRefresh.call(void 0,t,e,this.chartInstance):this.chartInstance.setOptions(t,e),this.suppressTransitions&&(t.transitions=r,this.suppressTransitions=!1)}}instantiateCoreChart(){const{dir:e,chartConstructor:t}=this.props,r=this.getChartOptions();this.chartInstance=new t(this.element,r,this.themeStore.getState(),{rtl:this.getDirection(e),intlService:s.provideIntlService(this),observer:this.chartObserver,sender:this})}trigger(e,t){const r=function(e,t,r){if(M[e])return new M[e](t,r)}(e,t,this.props.getTarget()),s="on"+e.charAt(0).toUpperCase()+e.slice(1),n=this.observersStore.getState();let a=!1;for(let r=0;r<n.length;r++)n[r].trigger(e,t)&&(a=!0);return!1===a&&r&&this.props.hasOwnProperty(s)?(this.props[s].call(void 0,r),r.isDefaultPrevented&&r.isDefaultPrevented()):a}requiresHandlers(e){for(let t=0;t<e.length;t++){const r=e[t],s="on"+r.charAt(0).toUpperCase()+r.slice(1);if(this.props.hasOwnProperty(s))return!0}return!1}triggerDomEvent(e,t){const r=this.observersStore.getState();let s=!1;for(let n=0;n<r.length;n++)r[n].trigger(e,t)&&(s=!0);return s}onStyleChanged(){this.suppressTransitions=!0,this.readTheme()}readTheme(){if(this._element){const e=n.chartTheme(this._element),t=n.deepExtend({},n.chartBaseTheme(),e);this.themeStore.dispatch({type:"push",payload:t})}}};pe.propTypes={dir:r.string,renderAs:r.oneOf(["svg","canvas"])},pe.defaultProps={renderAs:"svg"};let de=pe;s.registerForIntl(de);const ue=class extends p.Component{constructor(e){super(e),this.state={donutCenterStyles:null},this.chartObserver=new n.InstanceObserver(this,{render:"onRender"})}componentDidMount(){var e;null==(e=this.context)||e.observersStore.dispatch({type:"add",payload:this.chartObserver})}render(){const{render:e}=this.props,{donutCenterStyles:t}=this.state;let r=null;return e&&t&&(r=p.createElement("div",{className:"k-chart-donut-center",style:t},p.createElement(e,null))),r}onRender(e){var t;const r=null==(t=this.context)?void 0:t.optionsStore.getState().series,s=Array.isArray(r)?r[0]:null,n=e.sender._plotArea.charts;if(!s||"donut"!==s.type||0===n[0].points.length)return;const a=n[0].points[0].sector,i=a.innerRadius,o=a.center.y-i,l=a.center.x-i,c=2*i;this.setState({donutCenterStyles:{height:c,left:l,top:o,width:c}})}};ue.contextType=$;let me=ue,ye=class extends p.Component{constructor(){super(...arguments),this._baseChart=null,this.getTarget=()=>this}get chartInstance(){return null!==this._baseChart?this._baseChart.chartInstance:null}get surface(){return null!==this._baseChart?this._baseChart.surface:null}get element(){return null!==this._baseChart?this._baseChart.element:null}render(){const{donutCenterRender:e,children:t,className:r,...s}=this.props;return p.createElement(de,{...s,ref:e=>{this._baseChart=e},chartConstructor:n.Chart,getTarget:this.getTarget,wrapper:"div",className:a.classNames("k-chart k-widget",r)},t,p.createElement(me,{render:e}))}},ge=class extends p.Component{constructor(){super(...arguments),this._baseChart=null,this.deriveOptionsFromParent=e=>{const{type:t,data:r}=this.props,s=Object.assign({},e,{type:t,data:r});return n.Sparkline.normalizeOptions(s)},this.getTarget=()=>this}get chartInstance(){return null!==this._baseChart?this._baseChart.chartInstance:null}get surface(){return null!==this._baseChart?this._baseChart.surface:null}get element(){return null!==this._baseChart?this._baseChart.element:null}render(){const{children:e,type:t,className:r,...s}=this.props;return p.createElement(de,{...s,ref:e=>{this._baseChart=e},chartConstructor:n.Sparkline,getTarget:this.getTarget,wrapper:"span",deriveOptionsFromParent:this.deriveOptionsFromParent,className:a.classNames("k-sparkline k-widget",r)},e)}};const ve={autoBindElements:!0,liveDrag:!1,partialRedraw:!0};let Ce=class extends p.Component{constructor(){super(...arguments),this._baseChart=null,this.deriveOptionsFromParent=e=>{const t=Object.assign({},e.navigator||{},ve);return Object.assign({},e,{navigator:t})},this.onRefresh=(e,t,r)=>{this.props.partialRedraw?(r.applyOptions(e),r.bindCategories(),r.navigator.redrawSlaves()):r.setOptions(e,t)},this.getTarget=()=>this}get chartInstance(){return null!==this._baseChart?this._baseChart.chartInstance:null}get surface(){return null!==this._baseChart?this._baseChart.surface:null}get element(){return null!==this._baseChart?this._baseChart.element:null}render(){const{children:e,className:t,...r}=this.props;return p.createElement(de,{...r,ref:e=>{this._baseChart=e},chartConstructor:n.StockChart,getTarget:this.getTarget,wrapper:"div",deriveOptionsFromParent:this.deriveOptionsFromParent,onRefresh:this.onRefresh,className:a.classNames("k-chart k-stockchart",t)},e)}};const be=class extends p.Component{get optionsStore(){var e;return null==(e=this.context)?void 0:e.optionsStore}renderChildren(e,t){const{children:r}=e.props,{_chartKey:s,_parentStore:n}=this.props,a={...e.props,_chartCollectionIdxKey:`${s}_${t}`,_parentStore:n};return p.cloneElement(e,a,r)}render(){const{_chartKey:e,_parentStore:t,children:r}=this.props;return(t||this.optionsStore).dispatch({chartKey:e,payload:[]}),p.Children.map(r,((e,t)=>p.isValidElement(e)?this.renderChildren(e,t):e))}};be.contextType=$;let fe=be;const xe=class extends p.Component{get optionsStore(){var e;return null==(e=this.context)?void 0:e.optionsStore}constructor(e){super(e),this.childStore=U(z)}render(){const{children:e}=this.props;return void 0!==e?p.Children.map(e,(e=>p.isValidElement(e)?this.renderChildren(e):e)):null}componentDidMount(){this.dispatch()}componentDidUpdate(){this.dispatch()}dispatch(){const{_chartKey:e,_chartCollectionIdxKey:t,_parentStore:r,children:s,...n}=this.props;(r||this.optionsStore).dispatch({chartKey:e,chartCollectionIdxKey:t,payload:Object.assign({},n,this.childStore.getState())})}renderChildren(e){const{children:t}=e.props,r={...e.props,_parentStore:this.childStore};return p.cloneElement(e,r,t)}};xe.contextType=$;let Ee=xe,Se=class{constructor(e){this.currentState=e.currentState,this.nextState=e.nextState}};const Ie=p.forwardRef(((e,t)=>{const r=p.useRef(null),s=p.useRef(null),n={valueField:_e.valueField,textField:_e.textField,iconField:_e.iconField,iconClassField:_e.iconClassField,...e};p.useImperativeHandle(r,(()=>({element:s.current,props:n}))),p.useImperativeHandle(t,(()=>r.current));let i=[{id:"0",...e.rootItem||{text:"Home",icon:p.createElement(a.SvgIcon,{icon:l.homeIcon,style:{marginInlineEnd:"4px"}})}}];e.drilldownState&&(i=[...i,...e.drilldownState.steps.map(((e,t)=>({id:(t+1).toString(),text:e.drilldownValue})))]);const c={...n,data:i};return p.createElement("div",null,p.createElement(o.Breadcrumb,{...c,onItemSelect:t=>{var r;const s="onDrilldownStateChange";if(e.hasOwnProperty(s)){const n=i.findIndex((e=>e.id===t.id)),a={steps:((null==(r=e.drilldownState)?void 0:r.steps)||[]).slice(0,n)},o=new Se({currentState:e.drilldownState,nextState:a});e[s].call(void 0,o)}}}))})),Ne={id:r.string,style:r.object,className:r.string,breadcrumbOrderedList:r.elementType,breadcrumbListItem:r.elementType,breadcrumbDelimiter:r.elementType,breadcrumbLink:r.elementType,dir:r.oneOf(["ltr","rtl"]),disabled:r.bool,valueField:r.string,textField:r.string,iconField:r.string,iconClassField:r.string,onItemSelect:r.func,ariaLabel:r.string,onDrilldownStateChange:r.func,drilldownState:r.shape({steps:r.array}),rootItem:r.object},_e={valueField:"id",textField:"text",iconField:"icon",iconClassField:"iconClass",data:[]};Ie.displayName="KendoReactChartBreadcrumb",Ie.propTypes=Ne;const ke="charts.nodata",Te={[ke]:"No data available."},we=e=>{const t=s.useLocalization();return p.createElement("div",{className:a.classNames("k-chart-overlay",e.className),style:{display:"none",...e.style}},p.createElement("div",{className:"k-no-data"},void 0===e.children?t.toLanguageString(ke,Te[ke]):e.children))};we.displayName="ChartNoDataOverlay";const Ke=e=>p.createElement(Ee,{...e,_chartKey:"title"});Ke.displayName="ChartAxisDefaultsTitle";const Ae=e=>p.createElement(Ee,{...e,_chartKey:"labels"});Ae.displayName="ChartAxisDefaultsLabels";const Oe=e=>p.createElement(Ee,{visible:!0,...e,_chartKey:"crosshair"});Oe.displayName="ChartAxisDefaultsCrosshair";const Le=e=>p.createElement(Ee,{visible:!0,...e,_chartKey:"tooltip"});Le.displayName="ChartAxisDefaultsCrosshairTooltip";const De=e=>p.createElement(Ee,{...e,_chartKey:"title"});De.displayName="ChartCategoryAxisTitle";const Re=e=>p.createElement(Ee,{...e,_chartKey:"title"});Re.displayName="ChartPaneDefaultsTitle";const Pe=e=>p.createElement(Ee,{...e,_chartKey:"item"});Pe.displayName="ChartLegendItem";const Fe=e=>p.createElement(Ee,{...e,_chartKey:"title"});Fe.displayName="ChartLegendTitle";const Ve=e=>p.createElement(Ee,{...e,_chartKey:"inactiveItems"});Ve.displayName="ChartLegendInactiveItems";const Me=e=>p.createElement(Ee,{...e,_chartKey:"title"});Me.displayName="ChartValueAxisTitle";const He=e=>p.createElement(Ee,{...e,_chartKey:"title"});He.displayName="ChartXAxisTitle";const je=e=>p.createElement(Ee,{...e,_chartKey:"title"});je.displayName="ChartYAxisTitle";const Ue=e=>p.createElement(Ee,{...e,_chartKey:"title"});Ue.displayName="ChartNavigatorPaneTitle";const ze=e=>p.createElement(Ee,{...e,_chartKey:"categoryAxis"});ze.displayName="ChartNavigatorCategoryAxis";const qe=e=>p.createElement(Ee,{...e,_chartKey:"pane"});qe.displayName="ChartNavigatorPane";const Be=e=>p.createElement(Ee,{...e});Be.displayName="ChartNavigatorSeriesItem";const We=e=>p.createElement(fe,{...e,_chartKey:"series"});We.propTypes={children:function(e,t,r){return m(e,t,r,Be)}};const Xe=e=>p.createElement(Ee,{...e,_chartKey:"chartArea"});Xe.displayName="ChartArea";const Ye=e=>p.createElement(Ee,{...e});Ye.displayName="ChartCategoryAxisItem";const $e=e=>p.createElement(fe,{...e,_chartKey:"categoryAxis"});$e.propTypes={children:function(e,t,r){return m(e,t,r,Ye)}},$e.displayName="ChartCategoryAxis";const Ze=e=>p.createElement(Ee,{visible:!0,...e,_chartKey:"legend"});Ze.displayName="ChartLegend";const Ge=e=>p.createElement(Ee,{visible:!0,position:"bottom",...e,_chartKey:"navigator"});Ge.displayName="ChartNavigator";const Je=e=>p.createElement(Ee,{...e});Je.displayName="ChartPane";const Qe=e=>p.createElement(Ee,{...e,_chartKey:"paneDefaults"});Qe.displayName="ChartPaneDefaults";const et=e=>p.createElement(fe,{...e,_chartKey:"panes"});et.propTypes={children:function(e,t,r){return m(e,t,r,Je)}};const tt=e=>{let t=e=>p.createElement(p.Fragment,null);e.drilldownSeriesFactory&&(t=e.drilldownSeriesFactory);const r=t=>{var r,s;return t&&(null==(s=null==(r=t.drilldownState)?void 0:r.steps)?void 0:s.find((({seriesName:t})=>t===e.name)))};return p.createElement($.Consumer,null,(s=>r(s)?p.createElement(t,{_chartCollectionIdxKey:e._chartCollectionIdxKey,drilldownValue:r(s).drilldownValue}):p.createElement(Ee,{...e})))};tt.displayName="ChartSeriesItem";const rt=e=>p.createElement(fe,{...e,_chartKey:"series"});rt.propTypes={children:function(e,t,r){return m(e,t,r,tt)}},rt.displayName="ChartSeries";const st=e=>p.createElement(Ee,{...e,_chartKey:"subtitle"});st.displayName="ChartSubtitle";const nt=e=>p.createElement(Ee,{...e,_chartKey:"title"});nt.displayName="ChartTitle";const at=e=>p.createElement(Ee,{visible:!0,...e,_chartKey:"tooltip"});at.displayName="ChartTooltip";const it=e=>p.createElement(Ee,{...e});it.displayName="ChartValueAxisItem";const ot=e=>p.createElement(fe,{...e,_chartKey:"valueAxis"});ot.propTypes={children:function(e,t,r){return m(e,t,r,it)}},ot.displayName="ChartValueAxis";const lt=e=>p.createElement(Ee,{...e});lt.displayName="ChartXAxisItem";const ct=e=>p.createElement(fe,{...e,_chartKey:"xAxis"});ct.prototype={children:function(e,t,r){return m(e,t,r,lt)}},ct.displayName="ChartXAxis";const ht=e=>p.createElement(Ee,{...e});ht.displayName="ChartYAxisItem";const pt=e=>p.createElement(fe,{...e,_chartKey:"yAxis"});pt.propTypes={children:function(e,t,r){return m(e,t,r,ht)}},pt.displayName="ChartYAxis";const dt=r.exact({left:r.number,top:r.number}),ut={left:r.number,right:r.number},mt={...ut,top:r.number,bottom:r.number},yt=r.oneOfType([r.number,r.exact(mt)]),gt=yt,vt=r.exact({width:r.number,color:r.string,opacity:r.number,dashType:r.string}),Ct={visible:r.bool,font:r.string,color:r.string,opacity:r.number,align:r.oneOf(["left","right","center"]),position:r.oneOf(["inside","before","after"]),padding:gt,margin:r.exact(ut),border:vt,offset:dt},bt={color:r.string,opacity:r.number,offset:dt,padding:r.number,width:r.number,focusHighlight:r.exact({border:vt})},ft={colorType:r.oneOf(["static","source","target"]),color:r.string,opacity:r.number,highlight:r.exact({opacity:r.number,inactiveOpacity:r.number}),focusHighlight:r.exact({border:vt})},xt=r.exact({text:r.string,...Ct}),Et=r.exact({id:r.oneOfType([r.string,r.number]).isRequired,label:xt.isRequired,...bt}),St=r.exact({sourceId:r.oneOfType([r.string,r.number]).isRequired,targetId:r.oneOfType([r.string,r.number]).isRequired,value:r.number.isRequired,...ft}),It={data:r.exact({nodes:r.arrayOf(Et.isRequired).isRequired,links:r.arrayOf(St.isRequired).isRequired}).isRequired,links:r.exact(ft),nodes:r.exact(bt),labels:r.exact(Ct),legend:r.exact({align:r.oneOf(["start","center","end"]),background:r.string,border:vt,height:r.number,labels:r.object,margin:yt,offsetX:r.number,offsetY:r.number,orientation:r.oneOf(["vertical","horizontal"]),padding:gt,position:r.oneOf(["top","bottom","left","right","custom"]),reverse:r.bool,visible:r.bool,width:r.number,item:r.object,title:r.object}),title:r.exact({align:r.oneOf(["center","left","right"]),background:r.string,border:vt,color:r.string,font:r.string,margin:yt,padding:gt,position:r.oneOf(["top","bottom"]),text:r.string,visible:r.bool}),tooltip:r.exact({visible:r.bool,appendTo:r.any,offset:r.number,followPointer:r.bool,delay:r.number,linkComponent:r.any,nodeComponent:r.any}),className:r.string,style:r.object,dir:r.string,disableAutoLayout:r.bool,disableKeyboardNavigation:r.bool,onNodeEnter:r.func,onNodeLeave:r.func,onLinkEnter:r.func,onLinkLeave:r.func,onNodeClick:r.func,onLinkClick:r.func},Nt="sankey.tooltipUnitFormat",_t={[Nt]:"({0} units)"},kt=e=>{const{appendTo:t,Content:r,dir:s,offset:n,event:{tooltipData:a,dataItem:i,nodeValue:o}}=e,l=p.useRef(null);p.useEffect((()=>{const e=l.current;if(!a||!e)return;const t=e.offsetWidth,r=e.offsetHeight,s={...a.popupOffset},i=a.popupAlign;s.left+="left"===i.horizontal?n:-1*n,"right"===i.horizontal&&(s.left-=t),"bottom"===i.vertical?s.top-=r+n:s.top+=n,e.style.left=`${s.left}px`,e.style.top=`${s.top}px`,e.style.visibility=""}),[a,n]);const c=p.createElement("div",{ref:l,style:{visibility:"hidden"},dir:s,className:"k-tooltip k-sankey-tooltip k-chart-tooltip k-chart-shared-tooltip"},p.createElement("div",{className:"k-tooltip-content"},p.createElement(r,{dir:s,dataItem:i,nodeValue:o})));return t?d.createPortal(c,t):c},Tt={display:"flex",alignItems:"center"},wt=e=>p.createElement("div",{style:{width:15,height:15,backgroundColor:e.color,display:"inline-flex",marginLeft:3}}),Kt=e=>p.createElement("span",{style:{margin:"0 3px"}},e.children),At=e=>s.useInternationalization().format(s.useLocalization().toLanguageString(Nt,_t[Nt]),[e||0]),Ot=e=>{const{color:t,label:r}=e.dataItem;return p.createElement("div",{style:Tt,className:"k-tooltip-content"},p.createElement(wt,{color:t}),p.createElement(Kt,null,r.text),p.createElement(Kt,null,At(e.nodeValue)))},Lt=e=>{const{source:t,target:r,value:s}=e.dataItem,n="rtl"===e.dir?l.arrowLeftIcon:l.arrowRightIcon;return p.createElement("div",{style:Tt},p.createElement(wt,{color:t.color}),p.createElement(Kt,null,t.label.text),p.createElement(a.IconWrap,{icon:n,name:n.name}),p.createElement(wt,{color:r.color}),p.createElement(Kt,null,r.label.text),p.createElement(Kt,null,At(s)))},Dt=12,Rt={offset:Dt,visible:!0},Pt=["nodeEnter","nodeLeave","linkEnter","linkLeave","nodeClick","linkClick"],Ft=p.forwardRef(((e,t)=>{const r=!a.validatePackage(he,{component:"Sankey"}),s=a.getLicenseMessage(he),i=p.useRef(null),o=p.useRef(null),l=a.useRtl(i,e.dir,[e.dir,i.current]),c=p.useRef(null),h=a.useDocument(i),{data:d,links:u,nodes:m,labels:y,title:g,legend:v,tooltip:C=Rt,disableAutoLayout:b,disableKeyboardNavigation:f}=e,x=p.useRef(void 0);x.current=e;const[E,S]=p.useState(null),I=p.useCallback((e=>{const{visible:t,appendTo:r=h().body,offset:s=Dt,nodeComponent:n=Ot,linkComponent:a=Lt}={...Rt,...C};if(t){const t={appendTo:r,event:e,offset:s,dir:l,Content:"node"===e.targetType?n:a};S(t)}}),[C,l,h]),N=p.useCallback((()=>{S(null)}),[]),_=p.useCallback(((e,t)=>{const r=x.current[e];if(r){const e={...t,nativeEvent:t.originalEvent,target:c.current};r.call(void 0,e)}}),[]);return p.useEffect((()=>{const e={data:d,links:u,nodes:m,labels:y,title:g,legend:v,disableAutoLayout:b,disableKeyboardNavigation:f,rtl:"rtl"===l,tooltip:{...Rt,...C}};if(o.current)o.current.setOptions(e);else if(a.canUseDOM&&i.current){const t=n.sankeyTheme(i.current);o.current=new n.Sankey(i.current,e,t),((e,t)=>{e&&(e.unbind(),Pt.forEach((r=>{t[r]&&e.bind(r,t[r])})))})(o.current,{nodeEnter:e=>{_("onNodeEnter",e)},nodeLeave:e=>{_("onNodeLeave",e)},linkEnter:e=>{_("onLinkEnter",e)},linkLeave:e=>{_("onLinkLeave",e)},nodeClick:e=>{_("onNodeClick",e)},linkClick:e=>{_("onLinkClick",e)}}),o.current.bind("tooltipShow",I),o.current.bind("tooltipHide",N)}return()=>{o.current&&(o.current.destroy(),o.current=null)}}),[d,u,m,y,g,v,b,f,l,C,N,I,_]),p.useImperativeHandle(c,(()=>({get element(){return i.current},exportVisual:e=>o.current.exportVisual(e),props:e})),[]),p.useImperativeHandle(t,(()=>c.current)),p.createElement(p.Fragment,null,p.createElement("div",{ref:i,className:e.className,style:e.style,dir:l}),E&&p.createElement(kt,{...E}),r&&p.createElement(a.WatermarkOverlay,{message:s}))}));Ft.propTypes=It,Ft.displayName="KendoReactSankey";const Vt=n.createSankeyData;e.AxisLabelClickEvent=v,e.Chart=ye,e.ChartArea=Xe,e.ChartAxisDefaults=e=>p.createElement(Ee,{...e,_chartKey:"axisDefaults"}),e.ChartAxisDefaultsCrosshair=Oe,e.ChartAxisDefaultsCrosshairTooltip=Le,e.ChartAxisDefaultsLabels=Ae,e.ChartAxisDefaultsTitle=Ke,e.ChartBreadcrumb=Ie,e.ChartCategoryAxis=$e,e.ChartCategoryAxisCrosshair=e=>p.createElement(Ee,{visible:!0,...e,_chartKey:"crosshair"}),e.ChartCategoryAxisCrosshairTooltip=e=>p.createElement(Ee,{visible:!0,...e,_chartKey:"tooltip"}),e.ChartCategoryAxisItem=Ye,e.ChartCategoryAxisLabels=e=>p.createElement(Ee,{visible:!0,...e,_chartKey:"labels"}),e.ChartCategoryAxisNotes=e=>p.createElement(Ee,{...e,_chartKey:"notes"}),e.ChartCategoryAxisNotesIcon=e=>p.createElement(Ee,{...e,_chartKey:"icon"}),e.ChartCategoryAxisNotesLabel=e=>p.createElement(Ee,{...e,_chartKey:"label"}),e.ChartCategoryAxisRangeLabels=e=>p.createElement(Ee,{visible:!0,...e,_chartKey:"rangeLabels"}),e.ChartCategoryAxisTitle=De,e.ChartLegend=Ze,e.ChartLegendInactiveItems=Ve,e.ChartLegendItem=Pe,e.ChartLegendTitle=Fe,e.ChartNavigator=Ge,e.ChartNavigatorCategoryAxis=ze,e.ChartNavigatorHint=e=>p.createElement(Ee,{...e,_chartKey:"hint"}),e.ChartNavigatorPane=qe,e.ChartNavigatorPaneTitle=Ue,e.ChartNavigatorSelect=e=>p.createElement(Ee,{...e,_chartKey:"select"}),e.ChartNavigatorSeries=We,e.ChartNavigatorSeriesErrorBars=e=>p.createElement(Ee,{...e,_chartKey:"errorBars"}),e.ChartNavigatorSeriesExtremes=e=>p.createElement(Ee,{...e,_chartKey:"extremes"}),e.ChartNavigatorSeriesHighlight=e=>p.createElement(Ee,{...e,_chartKey:"highlight"}),e.ChartNavigatorSeriesItem=Be,e.ChartNavigatorSeriesItemOutliers=e=>p.createElement(Ee,{...e,_chartKey:"outliers"}),e.ChartNavigatorSeriesItemTooltip=e=>p.createElement(Ee,{...e,_chartKey:"tooltip"}),e.ChartNavigatorSeriesLabels=e=>p.createElement(Ee,{visible:!0,...e,_chartKey:"labels"}),e.ChartNavigatorSeriesLabelsFrom=e=>p.createElement(Ee,{...e,_chartKey:"from"}),e.ChartNavigatorSeriesLabelsTo=e=>p.createElement(Ee,{...e,_chartKey:"to"}),e.ChartNavigatorSeriesMarkers=e=>p.createElement(Ee,{...e,_chartKey:"markers"}),e.ChartNavigatorSeriesNotes=e=>p.createElement(Ee,{...e,_chartKey:"notes"}),e.ChartNavigatorSeriesNotesIcon=e=>p.createElement(Ee,{...e,_chartKey:"icon"}),e.ChartNavigatorSeriesNotesLabel=e=>p.createElement(Ee,{...e,_chartKey:"label"}),e.ChartNoDataOverlay=we,e.ChartPane=Je,e.ChartPaneDefaults=Qe,e.ChartPaneDefaultsTitle=Re,e.ChartPanes=et,e.ChartPlotArea=e=>p.createElement(Ee,{...e,_chartKey:"plotArea"}),e.ChartSeries=rt,e.ChartSeriesDefaults=e=>p.createElement(Ee,{...e,_chartKey:"seriesDefaults"}),e.ChartSeriesErrorBars=e=>p.createElement(Ee,{...e,_chartKey:"errorBars"}),e.ChartSeriesExtremes=e=>p.createElement(Ee,{...e,_chartKey:"extremes"}),e.ChartSeriesHighlight=e=>p.createElement(Ee,{...e,_chartKey:"highlight"}),e.ChartSeriesItem=tt,e.ChartSeriesItemOutliers=e=>p.createElement(Ee,{...e,_chartKey:"outliers"}),e.ChartSeriesItemTooltip=e=>p.createElement(Ee,{...e,_chartKey:"tooltip"}),e.ChartSeriesLabels=e=>p.createElement(Ee,{visible:!0,...e,_chartKey:"labels"}),e.ChartSeriesLabelsFrom=e=>p.createElement(Ee,{...e,_chartKey:"from"}),e.ChartSeriesLabelsTo=e=>p.createElement(Ee,{...e,_chartKey:"to"}),e.ChartSeriesMarkers=e=>p.createElement(Ee,{...e,_chartKey:"markers"}),e.ChartSeriesNotes=e=>p.createElement(Ee,{...e,_chartKey:"notes"}),e.ChartSeriesNotesIcon=e=>p.createElement(Ee,{...e,_chartKey:"icon"}),e.ChartSeriesNotesLabel=e=>p.createElement(Ee,{...e,_chartKey:"label"}),e.ChartSubtitle=st,e.ChartTitle=nt,e.ChartTooltip=at,e.ChartValueAxis=ot,e.ChartValueAxisCrosshair=e=>p.createElement(Ee,{visible:!0,...e,_chartKey:"crosshair"}),e.ChartValueAxisCrosshairTooltip=e=>p.createElement(Ee,{visible:!0,...e,_chartKey:"tooltip"}),e.ChartValueAxisItem=it,e.ChartValueAxisLabels=e=>p.createElement(Ee,{visible:!0,...e,_chartKey:"labels"}),e.ChartValueAxisNotes=e=>p.createElement(Ee,{...e,_chartKey:"notes"}),e.ChartValueAxisNotesIcon=e=>p.createElement(Ee,{...e,_chartKey:"icon"}),e.ChartValueAxisNotesLabel=e=>p.createElement(Ee,{...e,_chartKey:"label"}),e.ChartValueAxisTitle=Me,e.ChartXAxis=ct,e.ChartXAxisCrosshair=e=>p.createElement(Ee,{visible:!0,...e,_chartKey:"crosshair"}),e.ChartXAxisCrosshairTooltip=e=>p.createElement(Ee,{visible:!0,...e,_chartKey:"tooltip"}),e.ChartXAxisItem=lt,e.ChartXAxisLabels=e=>p.createElement(Ee,{visible:!0,...e,_chartKey:"labels"}),e.ChartXAxisNotes=e=>p.createElement(Ee,{...e,_chartKey:"notes"}),e.ChartXAxisNotesIcon=e=>p.createElement(Ee,{...e,_chartKey:"icon"}),e.ChartXAxisNotesLabel=e=>p.createElement(Ee,{...e,_chartKey:"label"}),e.ChartXAxisTitle=He,e.ChartYAxis=pt,e.ChartYAxisCrosshair=e=>p.createElement(Ee,{visible:!0,...e,_chartKey:"crosshair"}),e.ChartYAxisCrosshairTooltip=e=>p.createElement(Ee,{visible:!0,...e,_chartKey:"tooltip"}),e.ChartYAxisItem=ht,e.ChartYAxisLabels=e=>p.createElement(Ee,{visible:!0,...e,_chartKey:"labels"}),e.ChartYAxisNotes=e=>p.createElement(Ee,{...e,_chartKey:"notes"}),e.ChartYAxisNotesIcon=e=>p.createElement(Ee,{...e,_chartKey:"icon"}),e.ChartYAxisNotesLabel=e=>p.createElement(Ee,{...e,_chartKey:"label"}),e.ChartYAxisTitle=je,e.ChartZoomable=e=>p.createElement(Ee,{...e,_chartKey:"zoomable"}),e.CollectionConfigurationComponent=fe,e.ConfigurationComponent=Ee,e.CrosshairTooltip=ne,e.CrosshairTooltipContainer=ce,e.DonutCenter=me,e.DragEndEvent=f,e.DragEvent=b,e.DragStartEvent=x,e.DrilldownEvent=E,e.DrilldownStateChangeEvent=Se,e.LegendItemClickEvent=I,e.LegendItemHoverEvent=S,e.NavigatorFilterEvent=N,e.NoteClickEvent=_,e.NoteHoverEvent=k,e.PlotAreaClickEvent=T,e.PlotAreaHoverEvent=w,e.RenderEvent=K,e.Sankey=Ft,e.SelectEndEvent=O,e.SelectEvent=A,e.SelectStartEvent=L,e.SeriesClickEvent=D,e.SeriesHoverEvent=R,e.SeriesTooltip=te,e.SharedTooltipContent=Y,e.Sparkline=ge,e.StockChart=Ce,e.TooltipPoint=X,e.TooltipPopup=Q,e.ZoomEndEvent=F,e.ZoomEvent=P,e.ZoomStartEvent=V,e.createSankeyData=Vt,e.exportVisual=(e,t={})=>{if(e&&null!==e.chartInstance)return e.chartInstance.exportVisual(t)},e.findAxisByName=(e,t)=>{if(e&&null!==e.chartInstance)return e.chartInstance.findAxisByName(t)},e.findPaneByIndex=(e,t)=>{if(e&&null!==e.chartInstance)return e.chartInstance.findPaneByIndex(t)},e.findPaneByName=(e,t)=>{if(e&&null!==e.chartInstance)return e.chartInstance.findPaneByName(t)}}));
15
+ !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("react"),require("prop-types"),require("@progress/kendo-react-intl"),require("@progress/kendo-charts"),require("@progress/kendo-react-common"),require("@progress/kendo-react-popup"),require("@progress/kendo-react-layout"),require("@progress/kendo-svg-icons"),require("react-dom")):"function"==typeof define&&define.amd?define(["exports","react","prop-types","@progress/kendo-react-intl","@progress/kendo-charts","@progress/kendo-react-common","@progress/kendo-react-popup","@progress/kendo-react-layout","@progress/kendo-svg-icons","react-dom"],t):t((e="undefined"!=typeof globalThis?globalThis:e||self).KendoReactCharts={},e.React,e.PropTypes,e.KendoReactIntl,e.KendoCharts,e.KendoReactCommon,e.KendoReactPopup,e.KendoReactLayout,e.KendoSvgIcons,e.ReactDOM)}(this,function(e,t,r,s,n,a,i,o,l,c){"use strict";function h(e){var t=Object.create(null);return e&&Object.keys(e).forEach(function(r){if("default"!==r){var s=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,s.get?s:{enumerable:!0,get:function(){return e[r]}})}}),t.default=e,Object.freeze(t)}var p=h(t),d=h(c);function u(e,t){let r=e;for(;r&&r!==t;)r=r.parentNode;return!!r}function m(e,t,r,s){const n=e[t];if(n&&Array.isArray(n))for(const e of n)if(!e.type||e.type!==s)return new Error(`${r} children should be Array of type ${s.displayName}.`);return null}const y=e=>void 0!==e&&!e;let g=class{constructor(e){this.target=e}},v=class extends g{constructor(e,t){super(t),this.axis=e.axis,this.dataItem=e.dataItem,this.index=e.index,this.text=e.text,this.value=e.value}},C=class extends g{constructor(){super(...arguments),this.prevented=!1}preventDefault(){this.prevented=!0}isDefaultPrevented(){return this.prevented}},b=class extends C{constructor(e,t){super(t),this.axisRanges=e.axisRanges,this.nativeEvent=e.originalEvent}},f=class extends g{constructor(e,t){super(t),this.axisRanges=e.axisRanges,this.nativeEvent=e.originalEvent}},x=class extends C{constructor(e,t){super(t),this.axisRanges=e.axisRanges,this.nativeEvent=e.originalEvent}},E=class extends g{constructor(e,t){super(t),this.value=e.value,this.point=e.point,this.series=e.series,this.currentState=e.currentState,this.nextState=e.nextState}},S=class extends C{constructor(e,t){super(t),this.series=e.series,this.seriesIndex=e.seriesIndex,this.pointIndex=e.pointIndex,this.text=e.text}preventDefault(){super.preventDefault()}},I=class extends C{constructor(e,t){super(t),this.series=e.series,this.seriesIndex=e.seriesIndex,this.pointIndex=e.pointIndex,this.text=e.text}preventDefault(){super.preventDefault()}},N=class extends g{constructor(e,t){super(t),this.from=e.from,this.to=e.to}},_=class extends g{constructor(e,t){super(t),this.category=e.category,this.dataItem=e.dataItem,this.series=e.series,this.value=e.value,this.visual=e.visual}},k=class extends g{constructor(e,t){super(t),this.category=e.category,this.dataItem=e.dataItem,this.series=e.series,this.value=e.value,this.visual=e.visual}},T=class extends g{constructor(e,t){super(t),this.category=e.category,this.nativeEvent=e.originalEvent,this.value=e.value,this.x=e.x,this.y=e.y}},w=class extends g{constructor(e,t){super(t),this.category=e.category,this.nativeEvent=e.originalEvent,this.value=e.value,this.x=e.x,this.y=e.y}},K=class extends g{constructor(e,t){super(t)}},A=class extends C{constructor(e,t){super(t),this.axis=e.axis,this.from=e.from,this.to=e.to}},O=class extends g{constructor(e,t){super(t),this.axis=e.axis,this.from=e.from,this.to=e.to}},L=class extends C{constructor(e,t){super(t),this.axis=e.axis,this.from=e.from,this.to=e.to}},D=class extends g{constructor(e,t){super(t),this.category=e.category,this.dataItem=e.dataItem,this.nativeEvent=e.originalEvent,this.percentage=e.percentage,this.point=e.point,this.series=e.series,this.stackValue=e.stackValue,this.value=e.value}},R=class extends C{constructor(e,t){super(t),this.category=e.category,this.categoryPoints=e.categoryPoints,this.dataItem=e.dataItem,this.nativeEvent=e.originalEvent,this.percentage=e.percentage,this.point=e.point,this.series=e.series,this.stackValue=e.stackValue,this.value=e.value}},P=class extends C{constructor(e,t){super(t),this.axisRanges=e.axisRanges,this.delta=e.delta,this.nativeEvent=e.originalEvent}},F=class extends g{constructor(e,t){super(t),this.axisRanges=e.axisRanges,this.nativeEvent=e.originalEvent}},V=class extends C{constructor(e,t){super(t),this.axisRanges=e.axisRanges,this.nativeEvent=e.originalEvent}};const M={axisLabelClick:v,drag:b,dragEnd:f,dragStart:x,drilldownEvent:E,legendItemHover:S,legendItemClick:I,legendItemLeave:class extends C{constructor(e,t){super(t),this.series=e.series,this.seriesIndex=e.seriesIndex,this.pointIndex=e.pointIndex,this.text=e.text}preventDefault(){super.preventDefault()}},navigatorFilter:N,noteClick:_,noteHover:k,plotAreaClick:T,plotAreaHover:w,render:K,select:A,selectEnd:O,selectStart:L,seriesClick:D,seriesHover:R,zoom:P,zoomEnd:F,zoomStart:V};let H=class{constructor(e,t){this.sender=e,this.syntheticEvent=t}};function j(e,t){return new H(e,t)}const U=1e3/60,z=e=>{let t,r,s=[];const n=n=>{t=e(t,n),a.canUseDOM&&(window.clearTimeout(r),r=window.setTimeout(()=>s.forEach(e=>e()),U))};return n({}),{getState:()=>t,dispatch:n,subscribe:e=>(s.push(e),()=>s=s.filter(t=>t!==e))}},q=(e,t)=>t.chartCollectionIdxKey?X.collectionConfigurationItem(e,t):t.chartKey?X.configurationItem(e,t):{},B=(e,t)=>{if(!t.type)return{};switch(t.type){case"set":return X.themeItem(e,t);case"push":return Object.assign(e,t.payload);default:return e}},W=(e,t)=>{if(!t.type)return[];switch(t.type){case"add":return[...e,t.payload];case"remove":return e.filter(e=>e!==t.payload);default:return e}},X={configurationItem:(e,t)=>Object.assign(e,{[t.chartKey]:t.payload}),collectionConfigurationItem(e,t){let r=!1;const[s,n]=t.chartCollectionIdxKey.split("_"),a=e[s].map((e,s)=>parseInt(n,10)===s?(r=!0,t.payload):e);return!1===r&&a.splice(parseInt(n,10),0,t.payload),Object.assign(e,{[s]:a})},themeItem(e,t){let r={};const s=Object.assign(r,e),{field:n,value:a}=t.payload,i=n.split(".");let o=i.shift();for(;i.length>0;)r=r[o]=r[o]||{},o=i.shift();return r[o]=a,s}};let Y=class{constructor(e,t){this.value=e.value,this.category=e.category,this.categoryIndex=e.categoryIx,this.series=e.series,this.dataItem=e.dataItem,this.percentage=e.percentage,this.runningTotal=e.runningTotal,this.total=e.total,this.low=e.low,this.high=e.high,this.xLow=e.xLow,this.xHigh=e.xHigh,this.yLow=e.yLow,this.yHigh=e.yHigh,this.point=e,this.format=((e.options||{}).tooltip||{}).format||t}get formattedValue(){return this.format?this.point.formatValue(this.format):String(this.value)}};const $=e=>{const{categoryText:t,colorMarker:r,colspan:s,nameColumn:n,points:a}=e;return p.createElement("table",null,p.createElement("thead",null,p.createElement("tr",null,p.createElement("th",{colSpan:s},t))),p.createElement("tbody",null,a.map((e,t)=>p.createElement("tr",{key:t},r&&p.createElement("td",null,p.createElement("span",{className:"k-chart-shared-tooltip-marker",style:{backgroundColor:e.series.color}})),n&&p.createElement("td",null,e.series.name),p.createElement("td",{dangerouslySetInnerHTML:{__html:e.formattedValue}})))))},Z=p.createContext(null);Z.displayName="ChartContext";const G={horizontal:"fit",vertical:"fit"},J="k-chart-tooltip",Q=class extends p.Component{constructor(e){super(e),this.context=null,this.element=null,this.onChartMouseLeave=e=>{const{syntheticEvent:t}=e;return!!u(t.relatedTarget,this.element)},this.onMouseLeave=e=>{const t=j(this,e);this.context.childrenObserver.trigger("onMouseLeave",t)&&e.preventDefault()},this.popupRef=e=>{this.element=e;const t=e&&e.closest(".k-animation-container");t&&(t.style.transition="initial")},this.chartObserver=new n.InstanceObserver(this,{onMouseLeave:"onChartMouseLeave"})}componentDidMount(){var e;null==(e=this.context)||e.observersStore.dispatch({type:"add",payload:this.chartObserver})}render(){const{popupShown:e,popupAlign:t,popupOffset:r,popupStyles:s,popupContent:n,className:a}=this.props,o=[J,a].join(" ").trim();return p.createElement(i.Popup,{animate:!1,popupAlign:t,offset:r,show:e,collision:G,className:"k-chart-tooltip-wrapper"},p.createElement("div",{className:o,style:s,onMouseLeave:this.onMouseLeave,ref:this.popupRef},n()))}componentWillUnmount(){this.context.observersStore.dispatch({type:"remove",payload:this.chartObserver})}};Q.contextType=Z;let ee=Q;const te="k-chart-shared-tooltip",re="k-chart-tooltip-inverse",se=class extends p.Component{constructor(){super(...arguments),this.context=null,this.state={popupShown:!1},this.chartObserver=null}componentDidMount(){this.chartObserver=new n.InstanceObserver(this,{showTooltip:"onShowTooltip",hideTooltip:"onHideTooltip"}),this.context.observersStore.dispatch({type:"add",payload:this.chartObserver})}render(){const{popupContext:e,shared:t,className:r,...s}=this.state,n=this.state.popupShown?()=>{const r=this.findRenderFunction();if(t)return null!==r?r(e):p.createElement($,{...e});const s=e.point,n=this.findRenderFunctionByIndex(s.series.index);return null!==n?n(e):null!==r?r(e):p.createElement("span",{dangerouslySetInnerHTML:{__html:e.point.formattedValue}})}:Function.prototype,i=a.classNames({[te]:t,[re]:!!r});return p.createElement(ee,{...s,popupContent:n,className:i})}componentWillUnmount(){this.context.observersStore.dispatch({type:"remove",payload:this.chartObserver})}onShowTooltip(e){const{anchor:t,style:r,shared:s,className:n,crosshair:a}=e;let i;a||(i=s?this.createSharedTooltipContext(e):this.createTooltipContext(e),this.setState({popupShown:!0,popupAlign:t.align,popupOffset:t.point,popupContext:i,popupStyles:r,className:n,shared:s}))}onHideTooltip(){this.setState({popupShown:!1,popupStyles:{},className:void 0})}createSharedTooltipContext(e){const{points:t,categoryText:r}=e,s=t.filter(e=>void 0!==e.series.name).length>0,n=e.series.length>1;let a=1;return s&&a++,n&&a++,{categoryText:r,colorMarker:n,colspan:a,nameColumn:s,points:e.points.map(t=>new Y(t,e.format))}}createTooltipContext(e){const{point:t,format:r}=e;return{point:new Y(t,r)}}findRenderFunctionByIndex(e){const t=this.context.optionsStore.getState().series;return void 0!==t&&Array.isArray(t)&&void 0!==t[e]&&t[e].hasOwnProperty("tooltip")&&t[e].tooltip.hasOwnProperty("render")?t[e].tooltip.render:null}findRenderFunction(){const e=this.context.optionsStore.getState().tooltip;return void 0!==e&&e.hasOwnProperty("render")?e.render:null}};se.contextType=Z;let ne=se;const ae=e=>e.children;ae.displayName="Container";const ie="k-chart-crosshair-tooltip",oe="k-chart-tooltip-inverse",le=class extends p.Component{constructor(e){super(e),this.context=null,this.state={popupShown:!1},this.chartObserver=new n.InstanceObserver(this,{showTooltip:"onShowTooltip",hideTooltip:"onHideTooltip"})}componentDidMount(){var e;null==(e=this.context)||e.observersStore.dispatch({type:"add",payload:this.chartObserver})}render(){const{popupContend:e,className:t,...r}=this.state,s=this.state.popupShown?()=>e:Function.prototype,n=a.classNames({[ie]:!0,[oe]:!!t});return p.createElement(ee,{...r,popupContent:s,className:n})}componentWillUnmount(){var e;null==(e=this.context)||e.observersStore.dispatch({type:"remove",payload:this.chartObserver})}onShowTooltip(e){const{anchor:t,style:r,className:s,crosshair:n,axisName:a,axisIndex:i,value:o}=e,{name:l,index:c}=this.props;n&&a===l&&i===c&&this.setState({popupShown:!0,popupAlign:t.align,popupOffset:t.point,popupContend:o,popupStyles:r,className:s})}onHideTooltip(){this.setState({popupShown:!1,popupStyles:{},className:void 0})}};le.contextType=Z;let ce=le;const he=["categoryAxis","valueAxis","xAxis","yAxis"];function pe(e){const t={};for(let r=0;r<he.length;r++){const s=de(e,he[r]);for(let e=0;e<s.length;e++){const r=s[e];t[r.name+r.index]=r}}return t}function de(e,t){const r=[];if(e[t]){const s=[].concat(e[t]);for(let e=0;e<s.length;e++){const n=(s[e].crosshair||{}).tooltip;n&&n.visible&&r.push({index:e,name:t})}}return r}const ue=class extends p.Component{constructor(){super(...arguments),this.context=null,this.state={tooltips:{}},this.storeUnsubscriber=Function.prototype,this.subscriber=()=>{var e;this.setState({tooltips:pe(null==(e=this.context)?void 0:e.optionsStore.getState())})}}componentDidMount(){this.storeUnsubscriber=this.context.optionsStore.subscribe(this.subscriber)}render(){const{tooltips:e}=this.state,t=Object.keys(e).map(t=>p.createElement(ce,{...e[t],key:t}));return p.createElement(ae,null,t)}componentWillUnmount(){this.storeUnsubscriber()}};ue.contextType=Z;let me=ue;const ye=Object.freeze({name:"@progress/kendo-react-charts",productName:"KendoReact",productCode:"KENDOUIREACT",productCodes:["KENDOUIREACT"],publishDate:0,version:"13.4.0-develop.1",licensingDocsUrl:"https://www.telerik.com/kendo-react-ui/components/my-license/"}),ge=class extends p.Component{constructor(e){super(e),this.chartInstance=null,this.surface=null,this._element=null,this.optionsStore={},this.optionsUnsubscriber=Function.prototype,this.themeStore={},this.themeUnsubscriber=Function.prototype,this.observersStore={},this.suppressTransitions=!1,this.showLicenseWatermark=!1,this.onRender=e=>{null!==this.chartInstance&&(this.surface=e.sender.surface,this.trigger("render",e))},this.onDrilldown=e=>{var t;const{series:r}=this.optionsStore.getState(),s=r.find(t=>t.name===e.series.name);if(s.drilldownSeriesFactory){const r="onDrilldown";if(this.props.hasOwnProperty(r)){const n={seriesName:s.name,drilldownValue:e.value},a=[...(null==(t=this.props.drilldownState)?void 0:t.steps)||[],n],i=this.props.getTarget(),o={...e,currentState:this.props.drilldownState,nextState:{steps:a}},l=new E(o,i);this.props[r].call(void 0,l)}}return!0},this.onLegendItemClick=e=>{if(null!==this.chartInstance)if(this.props.onLegendItemClick)this.trigger("legendItemClick",e);else{const{series:t}=this.optionsStore.getState();if(!t)return;let r={};const{seriesIndex:s,pointIndex:n}=e,a=t[s];if(void 0===n)r=Object.assign({},a,{visible:y(a.visible)});else{const e=a.pointVisibility=a.pointVisibility||[];e[n]=y(e[n]),r=Object.assign({},a)}this.optionsStore.dispatch({chartCollectionIdxKey:`series_${s}`,payload:r}),this.suppressTransitions=!0}},this.onWindowResize=()=>{null!==this.chartInstance&&this.chartInstance.resize()},this.onChartMouseLeave=e=>{const t=j(this,e);this.triggerDomEvent("onMouseLeave",t)?e.preventDefault():null!==this.chartInstance&&this.chartInstance.hideElements()},this.onChildMouseLeave=e=>{const{syntheticEvent:t}=e;return this.chartInstance&&!u(t.relatedTarget,this.element)&&this.chartInstance.hideElements(),!1},this.showLicenseWatermark=!a.validatePackage(ye,{component:"Chart"}),this.licenseMessage=a.getLicenseMessage(ye),this.optionsStore=z(q),this.observersStore=z(W),this.childrenObserver=new n.InstanceObserver(this,{onMouseLeave:"onChildMouseLeave"}),this.state={optionsStore:this.optionsStore,observersStore:this.observersStore,childrenObserver:this.childrenObserver,drilldownState:{steps:[]}},this.themeStore=z(B),this.chartObserver=new n.InstanceObserver(this,{render:"onRender",legendItemClick:"onLegendItemClick",drilldown:"onDrilldown",styleChanged:"onStyleChanged"})}get element(){return this._element}static getDerivedStateFromProps(e,t){return{...t,drilldownState:e.drilldownState||[]}}componentDidMount(){this._element&&(this.readTheme(),this.instantiateCoreChart()),this.optionsUnsubscriber=this.optionsStore.subscribe(this.refresh.bind(this)),this.themeUnsubscriber=this.themeStore.subscribe(this.refresh.bind(this)),window.addEventListener("resize",this.onWindowResize)}componentWillUnmount(){this.optionsUnsubscriber(),this.themeUnsubscriber(),null!==this.chartInstance&&(this.chartInstance.destroy(),this.chartInstance=null),window.removeEventListener("resize",this.onWindowResize)}componentDidUpdate(e){const{dir:t,children:r,...n}=this.props;if(null!==this.chartInstance){const r=s.provideIntlService(this),a=this.chartInstance.chartService,i=r.locale!==a._intlService.locale,o=Object.entries(e).filter(e=>"dir"!==e[0]&&"children"!==e[0]).some(e=>{const[t,r]=e;return!(n.hasOwnProperty(t)&&n[t]===r)});i&&(this.chartInstance.chartService._intlService=r,this.chartInstance.chartService.format._intlService=r,o||this.chartInstance.noTransitionsRedraw()),o&&this.refresh(),e.dir!==t&&this.chartInstance.setDirection(this.getDirection(t))}}render(){const{style:e={},className:t,wrapper:r,children:s}=this.props,n=Object.assign({},e,{position:"relative"}),i=p.createElement(r,{className:t,style:n,key:"chartElement"},p.createElement("div",{onMouseLeave:this.onChartMouseLeave,ref:e=>{this._element=e},className:"k-chart-surface"},s),p.createElement(p.Fragment,null,this.showLicenseWatermark&&p.createElement(a.WatermarkOverlay,{message:this.licenseMessage})));return p.createElement(Z.Provider,{value:this.state},p.createElement(ne,{key:"seriesTooltip"}),p.createElement(me,{key:"crosshairTooltips"}),i)}getDirection(e){return"rtl"===(void 0!==e?e:a.canUseDOM&&window.getComputedStyle(this.element).direction||"ltr")}getChartOptions(){const{renderAs:e,pannable:t,zoomable:r,paneDefaults:s,panes:n,transitions:a,seriesColors:i,seriesDefaults:o,axisDefaults:l,observeStyles:c,deriveOptionsFromParent:h}=this.props;let p={};return void 0!==e&&(p.renderAs=e),void 0!==t&&(p.pannable=t),void 0!==r&&(p.zoomable=r),void 0!==s&&(p.paneDefaults=s),void 0!==n&&(p.panes=n),void 0!==a&&(p.transitions=a),void 0!==i&&(p.seriesColors=i),void 0!==o&&(p.seriesDefaults=o),void 0!==l&&(p.axisDefaults=l),p.observeStyles=void 0===c||c,p=Object.assign(p,this.optionsStore.getState()),h&&(p=h(p)),p}refresh(){if(null!==this.chartInstance){const e=this.themeStore.getState(),t=this.getChartOptions(),r=t.transitions;this.suppressTransitions&&(t.transitions=!1),this.props.onRefresh?this.props.onRefresh.call(void 0,t,e,this.chartInstance):this.chartInstance.setOptions(t,e),this.suppressTransitions&&(t.transitions=r,this.suppressTransitions=!1)}}instantiateCoreChart(){const{dir:e,chartConstructor:t}=this.props,r=this.getChartOptions();this.chartInstance=new t(this.element,r,this.themeStore.getState(),{rtl:this.getDirection(e),intlService:s.provideIntlService(this),observer:this.chartObserver,sender:this})}trigger(e,t){const r=function(e,t,r){if(M[e])return new M[e](t,r)}(e,t,this.props.getTarget()),s="on"+e.charAt(0).toUpperCase()+e.slice(1),n=this.observersStore.getState();let a=!1;for(let r=0;r<n.length;r++)n[r].trigger(e,t)&&(a=!0);return!1===a&&r&&this.props.hasOwnProperty(s)?(this.props[s].call(void 0,r),r.isDefaultPrevented&&r.isDefaultPrevented()):a}requiresHandlers(e){for(let t=0;t<e.length;t++){const r=e[t],s="on"+r.charAt(0).toUpperCase()+r.slice(1);if(this.props.hasOwnProperty(s))return!0}return!1}triggerDomEvent(e,t){const r=this.observersStore.getState();let s=!1;for(let n=0;n<r.length;n++)r[n].trigger(e,t)&&(s=!0);return s}onStyleChanged(){this.suppressTransitions=!0,this.readTheme()}readTheme(){if(this._element){const e=n.chartTheme(this._element),t=n.deepExtend({},n.chartBaseTheme(),e);this.themeStore.dispatch({type:"push",payload:t})}}};ge.propTypes={dir:r.string,renderAs:r.oneOf(["svg","canvas"])},ge.defaultProps={renderAs:"svg"};let ve=ge;s.registerForIntl(ve);const Ce=class extends p.Component{constructor(e){super(e),this.state={donutCenterStyles:null},this.chartObserver=new n.InstanceObserver(this,{render:"onRender"})}componentDidMount(){var e;null==(e=this.context)||e.observersStore.dispatch({type:"add",payload:this.chartObserver})}render(){const{render:e}=this.props,{donutCenterStyles:t}=this.state;let r=null;return e&&t&&(r=p.createElement("div",{className:"k-chart-donut-center",style:t},p.createElement(e,null))),r}onRender(e){var t;const r=null==(t=this.context)?void 0:t.optionsStore.getState().series,s=Array.isArray(r)?r[0]:null,n=e.sender._plotArea.charts;if(!s||"donut"!==s.type||0===n[0].points.length)return;const a=n[0].points[0].sector,i=a.innerRadius,o=a.center.y-i,l=a.center.x-i,c=2*i;this.setState({donutCenterStyles:{height:c,left:l,top:o,width:c}})}};Ce.contextType=Z;let be=Ce,fe=class extends p.Component{constructor(){super(...arguments),this._baseChart=null,this.getTarget=()=>this}get chartInstance(){return null!==this._baseChart?this._baseChart.chartInstance:null}get surface(){return null!==this._baseChart?this._baseChart.surface:null}get element(){return null!==this._baseChart?this._baseChart.element:null}render(){const{donutCenterRender:e,children:t,className:r,...s}=this.props;return p.createElement(ve,{...s,ref:e=>{this._baseChart=e},chartConstructor:n.Chart,getTarget:this.getTarget,wrapper:"div",className:a.classNames("k-chart k-widget",r)},t,p.createElement(be,{render:e}))}},xe=class extends p.Component{constructor(){super(...arguments),this._baseChart=null,this.deriveOptionsFromParent=e=>{const{type:t,data:r}=this.props,s=Object.assign({},e,{type:t,data:r});return n.Sparkline.normalizeOptions(s)},this.getTarget=()=>this}get chartInstance(){return null!==this._baseChart?this._baseChart.chartInstance:null}get surface(){return null!==this._baseChart?this._baseChart.surface:null}get element(){return null!==this._baseChart?this._baseChart.element:null}render(){const{children:e,type:t,className:r,...s}=this.props;return p.createElement(ve,{...s,ref:e=>{this._baseChart=e},chartConstructor:n.Sparkline,getTarget:this.getTarget,wrapper:"span",deriveOptionsFromParent:this.deriveOptionsFromParent,className:a.classNames("k-sparkline k-widget",r)},e)}};const Ee={autoBindElements:!0,liveDrag:!1,partialRedraw:!0};let Se=class extends p.Component{constructor(){super(...arguments),this._baseChart=null,this.deriveOptionsFromParent=e=>{const t=Object.assign({},e.navigator||{},Ee);return Object.assign({},e,{navigator:t})},this.onRefresh=(e,t,r)=>{this.props.partialRedraw?(r.applyOptions(e),r.bindCategories(),r.navigator.redrawSlaves()):r.setOptions(e,t)},this.getTarget=()=>this}get chartInstance(){return null!==this._baseChart?this._baseChart.chartInstance:null}get surface(){return null!==this._baseChart?this._baseChart.surface:null}get element(){return null!==this._baseChart?this._baseChart.element:null}render(){const{children:e,className:t,...r}=this.props;return p.createElement(ve,{...r,ref:e=>{this._baseChart=e},chartConstructor:n.StockChart,getTarget:this.getTarget,wrapper:"div",deriveOptionsFromParent:this.deriveOptionsFromParent,onRefresh:this.onRefresh,className:a.classNames("k-chart k-stockchart",t)},e)}};const Ie=class extends p.Component{get optionsStore(){var e;return null==(e=this.context)?void 0:e.optionsStore}renderChildren(e,t){const{children:r}=e.props,{_chartKey:s,_parentStore:n}=this.props,a={...e.props,_chartCollectionIdxKey:`${s}_${t}`,_parentStore:n};return p.cloneElement(e,a,r)}render(){const{_chartKey:e,_parentStore:t,children:r}=this.props;return(t||this.optionsStore).dispatch({chartKey:e,payload:[]}),p.Children.map(r,(e,t)=>p.isValidElement(e)?this.renderChildren(e,t):e)}};Ie.contextType=Z;let Ne=Ie;const _e=class extends p.Component{get optionsStore(){var e;return null==(e=this.context)?void 0:e.optionsStore}constructor(e){super(e),this.childStore=z(q)}render(){const{children:e}=this.props;return void 0!==e?p.Children.map(e,e=>p.isValidElement(e)?this.renderChildren(e):e):null}componentDidMount(){this.dispatch()}componentDidUpdate(){this.dispatch()}dispatch(){const{_chartKey:e,_chartCollectionIdxKey:t,_parentStore:r,children:s,...n}=this.props;(r||this.optionsStore).dispatch({chartKey:e,chartCollectionIdxKey:t,payload:Object.assign({},n,this.childStore.getState())})}renderChildren(e){const{children:t}=e.props,r={...e.props,_parentStore:this.childStore};return p.cloneElement(e,r,t)}};_e.contextType=Z;let ke=_e,Te=class{constructor(e){this.currentState=e.currentState,this.nextState=e.nextState}};const we=p.forwardRef((e,t)=>{const r=p.useRef(null),s=p.useRef(null),n={valueField:Ae.valueField,textField:Ae.textField,iconField:Ae.iconField,iconClassField:Ae.iconClassField,...e};p.useImperativeHandle(r,()=>({element:s.current,props:n})),p.useImperativeHandle(t,()=>r.current);let i=[{id:"0",...e.rootItem||{text:"Home",icon:p.createElement(a.SvgIcon,{icon:l.homeIcon,style:{marginInlineEnd:"4px"}})}}];e.drilldownState&&(i=[...i,...e.drilldownState.steps.map((e,t)=>({id:(t+1).toString(),text:e.drilldownValue}))]);const c={...n,data:i};return p.createElement("div",null,p.createElement(o.Breadcrumb,{...c,onItemSelect:t=>{var r;const s="onDrilldownStateChange";if(e.hasOwnProperty(s)){const n=i.findIndex(e=>e.id===t.id),a={steps:((null==(r=e.drilldownState)?void 0:r.steps)||[]).slice(0,n)},o=new Te({currentState:e.drilldownState,nextState:a});e[s].call(void 0,o)}}}))}),Ke={id:r.string,style:r.object,className:r.string,breadcrumbOrderedList:r.elementType,breadcrumbListItem:r.elementType,breadcrumbDelimiter:r.elementType,breadcrumbLink:r.elementType,dir:r.oneOf(["ltr","rtl"]),disabled:r.bool,valueField:r.string,textField:r.string,iconField:r.string,iconClassField:r.string,onItemSelect:r.func,ariaLabel:r.string,onDrilldownStateChange:r.func,drilldownState:r.shape({steps:r.array}),rootItem:r.object},Ae={valueField:"id",textField:"text",iconField:"icon",iconClassField:"iconClass"};we.displayName="KendoReactChartBreadcrumb",we.propTypes=Ke;const Oe="charts.nodata",Le={[Oe]:"No data available."},De=e=>{const t=s.useLocalization();return p.createElement("div",{className:a.classNames("k-chart-overlay",e.className),style:{display:"none",...e.style}},p.createElement("div",{className:"k-no-data"},void 0===e.children?t.toLanguageString(Oe,Le[Oe]):e.children))};De.displayName="ChartNoDataOverlay";const Re=e=>p.createElement(ke,{...e,_chartKey:"title"});Re.displayName="ChartAxisDefaultsTitle";const Pe=e=>p.createElement(ke,{...e,_chartKey:"labels"});Pe.displayName="ChartAxisDefaultsLabels";const Fe=e=>p.createElement(ke,{visible:!0,...e,_chartKey:"crosshair"});Fe.displayName="ChartAxisDefaultsCrosshair";const Ve=e=>p.createElement(ke,{visible:!0,...e,_chartKey:"tooltip"});Ve.displayName="ChartAxisDefaultsCrosshairTooltip";const Me=e=>p.createElement(ke,{...e,_chartKey:"title"});Me.displayName="ChartCategoryAxisTitle";const He=e=>p.createElement(ke,{...e,_chartKey:"title"});He.displayName="ChartPaneDefaultsTitle";const je=e=>p.createElement(ke,{...e,_chartKey:"item"});je.displayName="ChartLegendItem";const Ue=e=>p.createElement(ke,{...e,_chartKey:"title"});Ue.displayName="ChartLegendTitle";const ze=e=>p.createElement(ke,{...e,_chartKey:"inactiveItems"});ze.displayName="ChartLegendInactiveItems";const qe=e=>p.createElement(ke,{...e,_chartKey:"title"});qe.displayName="ChartValueAxisTitle";const Be=e=>p.createElement(ke,{...e,_chartKey:"title"});Be.displayName="ChartXAxisTitle";const We=e=>p.createElement(ke,{...e,_chartKey:"title"});We.displayName="ChartYAxisTitle";const Xe=e=>p.createElement(ke,{...e,_chartKey:"title"});Xe.displayName="ChartNavigatorPaneTitle";const Ye=e=>p.createElement(ke,{...e,_chartKey:"categoryAxis"});Ye.displayName="ChartNavigatorCategoryAxis";const $e=e=>p.createElement(ke,{...e,_chartKey:"pane"});$e.displayName="ChartNavigatorPane";const Ze=e=>p.createElement(ke,{...e});Ze.displayName="ChartNavigatorSeriesItem";const Ge=e=>p.createElement(Ne,{...e,_chartKey:"series"});Ge.propTypes={children:function(e,t,r){return m(e,t,r,Ze)}};const Je=e=>p.createElement(ke,{...e,_chartKey:"chartArea"});Je.displayName="ChartArea";const Qe=e=>p.createElement(ke,{...e});Qe.displayName="ChartCategoryAxisItem";const et=e=>p.createElement(Ne,{...e,_chartKey:"categoryAxis"});et.propTypes={children:function(e,t,r){return m(e,t,r,Qe)}},et.displayName="ChartCategoryAxis";const tt=e=>p.createElement(ke,{visible:!0,...e,_chartKey:"legend"});tt.displayName="ChartLegend";const rt=e=>p.createElement(ke,{visible:!0,position:"bottom",...e,_chartKey:"navigator"});rt.displayName="ChartNavigator";const st=e=>p.createElement(ke,{...e});st.displayName="ChartPane";const nt=e=>p.createElement(ke,{...e,_chartKey:"paneDefaults"});nt.displayName="ChartPaneDefaults";const at=e=>p.createElement(Ne,{...e,_chartKey:"panes"});at.propTypes={children:function(e,t,r){return m(e,t,r,st)}};const it=e=>{let t=e=>p.createElement(p.Fragment,null);e.drilldownSeriesFactory&&(t=e.drilldownSeriesFactory);const r=t=>{var r,s;return t&&(null==(s=null==(r=t.drilldownState)?void 0:r.steps)?void 0:s.find(({seriesName:t})=>t===e.name))};return p.createElement(Z.Consumer,null,s=>r(s)?p.createElement(t,{_chartCollectionIdxKey:e._chartCollectionIdxKey,drilldownValue:r(s).drilldownValue}):p.createElement(ke,{...e}))};it.displayName="ChartSeriesItem";const ot=e=>p.createElement(Ne,{...e,_chartKey:"series"});ot.propTypes={children:function(e,t,r){return m(e,t,r,it)}},ot.displayName="ChartSeries";const lt=e=>p.createElement(ke,{...e,_chartKey:"subtitle"});lt.displayName="ChartSubtitle";const ct=e=>p.createElement(ke,{...e,_chartKey:"title"});ct.displayName="ChartTitle";const ht=e=>p.createElement(ke,{visible:!0,...e,_chartKey:"tooltip"});ht.displayName="ChartTooltip";const pt=e=>p.createElement(ke,{...e});pt.displayName="ChartValueAxisItem";const dt=e=>p.createElement(Ne,{...e,_chartKey:"valueAxis"});dt.propTypes={children:function(e,t,r){return m(e,t,r,pt)}},dt.displayName="ChartValueAxis";const ut=e=>p.createElement(ke,{...e});ut.displayName="ChartXAxisItem";const mt=e=>p.createElement(Ne,{...e,_chartKey:"xAxis"});mt.prototype={children:function(e,t,r){return m(e,t,r,ut)}},mt.displayName="ChartXAxis";const yt=e=>p.createElement(ke,{...e});yt.displayName="ChartYAxisItem";const gt=e=>p.createElement(Ne,{...e,_chartKey:"yAxis"});gt.propTypes={children:function(e,t,r){return m(e,t,r,yt)}},gt.displayName="ChartYAxis";const vt=r.exact({left:r.number,top:r.number}),Ct={left:r.number,right:r.number},bt={...Ct,top:r.number,bottom:r.number},ft=r.oneOfType([r.number,r.exact(bt)]),xt=ft,Et=r.exact({width:r.number,color:r.string,opacity:r.number,dashType:r.string}),St={visible:r.bool,font:r.string,color:r.string,opacity:r.number,align:r.oneOf(["left","right","center"]),position:r.oneOf(["inside","before","after"]),padding:xt,margin:r.exact(Ct),border:Et,offset:vt},It={color:r.string,opacity:r.number,offset:vt,padding:r.number,width:r.number,focusHighlight:r.exact({border:Et})},Nt={colorType:r.oneOf(["static","source","target"]),color:r.string,opacity:r.number,highlight:r.exact({opacity:r.number,inactiveOpacity:r.number}),focusHighlight:r.exact({border:Et})},_t=r.exact({text:r.string,...St}),kt=r.exact({id:r.oneOfType([r.string,r.number]).isRequired,label:_t.isRequired,...It}),Tt=r.exact({sourceId:r.oneOfType([r.string,r.number]).isRequired,targetId:r.oneOfType([r.string,r.number]).isRequired,value:r.number.isRequired,...Nt}),wt={data:r.exact({nodes:r.arrayOf(kt.isRequired).isRequired,links:r.arrayOf(Tt.isRequired).isRequired}).isRequired,links:r.exact(Nt),nodes:r.exact(It),labels:r.exact(St),legend:r.exact({align:r.oneOf(["start","center","end"]),background:r.string,border:Et,height:r.number,labels:r.object,margin:ft,offsetX:r.number,offsetY:r.number,orientation:r.oneOf(["vertical","horizontal"]),padding:xt,position:r.oneOf(["top","bottom","left","right","custom"]),reverse:r.bool,visible:r.bool,width:r.number,item:r.object,title:r.object}),title:r.exact({align:r.oneOf(["center","left","right"]),background:r.string,border:Et,color:r.string,font:r.string,margin:ft,padding:xt,position:r.oneOf(["top","bottom"]),text:r.string,visible:r.bool}),tooltip:r.exact({visible:r.bool,appendTo:r.any,offset:r.number,followPointer:r.bool,delay:r.number,linkComponent:r.any,nodeComponent:r.any}),className:r.string,style:r.object,dir:r.string,disableAutoLayout:r.bool,disableKeyboardNavigation:r.bool,onNodeEnter:r.func,onNodeLeave:r.func,onLinkEnter:r.func,onLinkLeave:r.func,onNodeClick:r.func,onLinkClick:r.func},Kt="sankey.tooltipUnitFormat",At={[Kt]:"({0} units)"},Ot=e=>{const{appendTo:t,Content:r,dir:s,offset:n,event:{tooltipData:a,dataItem:i,nodeValue:o}}=e,l=p.useRef(null);p.useEffect(()=>{const e=l.current;if(!a||!e)return;const t=e.offsetWidth,r=e.offsetHeight,s={...a.popupOffset},i=a.popupAlign;s.left+="left"===i.horizontal?n:-1*n,"right"===i.horizontal&&(s.left-=t),"bottom"===i.vertical?s.top-=r+n:s.top+=n,e.style.left=`${s.left}px`,e.style.top=`${s.top}px`,e.style.visibility=""},[a,n]);const c=p.createElement("div",{ref:l,style:{visibility:"hidden"},dir:s,className:"k-tooltip k-sankey-tooltip k-chart-tooltip k-chart-shared-tooltip"},p.createElement("div",{className:"k-tooltip-content"},p.createElement(r,{dir:s,dataItem:i,nodeValue:o})));return t?d.createPortal(c,t):c},Lt={display:"flex",alignItems:"center"},Dt=e=>p.createElement("div",{style:{width:15,height:15,backgroundColor:e.color,display:"inline-flex",marginLeft:3}}),Rt=e=>p.createElement("span",{style:{margin:"0 3px"}},e.children),Pt=e=>s.useInternationalization().format(s.useLocalization().toLanguageString(Kt,At[Kt]),[e||0]),Ft=e=>{const{color:t,label:r}=e.dataItem;return p.createElement("div",{style:Lt,className:"k-tooltip-content"},p.createElement(Dt,{color:t}),p.createElement(Rt,null,r.text),p.createElement(Rt,null,Pt(e.nodeValue)))},Vt=e=>{const{source:t,target:r,value:s}=e.dataItem,n="rtl"===e.dir?l.arrowLeftIcon:l.arrowRightIcon;return p.createElement("div",{style:Lt},p.createElement(Dt,{color:t.color}),p.createElement(Rt,null,t.label.text),p.createElement(a.IconWrap,{icon:n,name:n.name}),p.createElement(Dt,{color:r.color}),p.createElement(Rt,null,r.label.text),p.createElement(Rt,null,Pt(s)))},Mt=12,Ht={offset:Mt,visible:!0},jt=["nodeEnter","nodeLeave","linkEnter","linkLeave","nodeClick","linkClick"],Ut=p.forwardRef((e,t)=>{const r=!a.validatePackage(ye,{component:"Sankey"}),s=a.getLicenseMessage(ye),i=p.useRef(null),o=p.useRef(null),l=a.useRtl(i,e.dir,[e.dir,i.current]),c=p.useRef(null),h=a.useDocument(i),{data:d,links:u,nodes:m,labels:y,title:g,legend:v,tooltip:C=Ht,disableAutoLayout:b,disableKeyboardNavigation:f}=e,x=p.useRef(void 0);x.current=e;const[E,S]=p.useState(null),I=p.useCallback(e=>{const{visible:t,appendTo:r=h().body,offset:s=Mt,nodeComponent:n=Ft,linkComponent:a=Vt}={...Ht,...C};if(t){const t={appendTo:r,event:e,offset:s,dir:l,Content:"node"===e.targetType?n:a};S(t)}},[C,l,h]),N=p.useCallback(()=>{S(null)},[]),_=p.useCallback((e,t)=>{const r=x.current[e];if(r){const e={...t,nativeEvent:t.originalEvent,target:c.current};r.call(void 0,e)}},[]);return p.useEffect(()=>{const e={data:d,links:u,nodes:m,labels:y,title:g,legend:v,disableAutoLayout:b,disableKeyboardNavigation:f,rtl:"rtl"===l,tooltip:{...Ht,...C}};if(o.current)o.current.setOptions(e);else if(a.canUseDOM&&i.current){const t=n.sankeyTheme(i.current);o.current=new n.Sankey(i.current,e,t),((e,t)=>{e&&(e.unbind(),jt.forEach(r=>{t[r]&&e.bind(r,t[r])}))})(o.current,{nodeEnter:e=>{_("onNodeEnter",e)},nodeLeave:e=>{_("onNodeLeave",e)},linkEnter:e=>{_("onLinkEnter",e)},linkLeave:e=>{_("onLinkLeave",e)},nodeClick:e=>{_("onNodeClick",e)},linkClick:e=>{_("onLinkClick",e)}}),o.current.bind("tooltipShow",I),o.current.bind("tooltipHide",N)}return()=>{o.current&&(o.current.destroy(),o.current=null)}},[d,u,m,y,g,v,b,f,l,C,N,I,_]),p.useImperativeHandle(c,()=>({get element(){return i.current},exportVisual:e=>o.current.exportVisual(e),props:e}),[]),p.useImperativeHandle(t,()=>c.current),p.createElement(p.Fragment,null,p.createElement("div",{ref:i,className:e.className,style:e.style,dir:l}),E&&p.createElement(Ot,{...E}),r&&p.createElement(a.WatermarkOverlay,{message:s}))});Ut.propTypes=wt,Ut.displayName="KendoReactSankey";const zt=n.createSankeyData;e.AxisLabelClickEvent=v,e.Chart=fe,e.ChartArea=Je,e.ChartAxisDefaults=e=>p.createElement(ke,{...e,_chartKey:"axisDefaults"}),e.ChartAxisDefaultsCrosshair=Fe,e.ChartAxisDefaultsCrosshairTooltip=Ve,e.ChartAxisDefaultsLabels=Pe,e.ChartAxisDefaultsTitle=Re,e.ChartBreadcrumb=we,e.ChartCategoryAxis=et,e.ChartCategoryAxisCrosshair=e=>p.createElement(ke,{visible:!0,...e,_chartKey:"crosshair"}),e.ChartCategoryAxisCrosshairTooltip=e=>p.createElement(ke,{visible:!0,...e,_chartKey:"tooltip"}),e.ChartCategoryAxisItem=Qe,e.ChartCategoryAxisLabels=e=>p.createElement(ke,{visible:!0,...e,_chartKey:"labels"}),e.ChartCategoryAxisNotes=e=>p.createElement(ke,{...e,_chartKey:"notes"}),e.ChartCategoryAxisNotesIcon=e=>p.createElement(ke,{...e,_chartKey:"icon"}),e.ChartCategoryAxisNotesLabel=e=>p.createElement(ke,{...e,_chartKey:"label"}),e.ChartCategoryAxisRangeLabels=e=>p.createElement(ke,{visible:!0,...e,_chartKey:"rangeLabels"}),e.ChartCategoryAxisTitle=Me,e.ChartLegend=tt,e.ChartLegendInactiveItems=ze,e.ChartLegendItem=je,e.ChartLegendTitle=Ue,e.ChartNavigator=rt,e.ChartNavigatorCategoryAxis=Ye,e.ChartNavigatorHint=e=>p.createElement(ke,{...e,_chartKey:"hint"}),e.ChartNavigatorPane=$e,e.ChartNavigatorPaneTitle=Xe,e.ChartNavigatorSelect=e=>p.createElement(ke,{...e,_chartKey:"select"}),e.ChartNavigatorSeries=Ge,e.ChartNavigatorSeriesErrorBars=e=>p.createElement(ke,{...e,_chartKey:"errorBars"}),e.ChartNavigatorSeriesExtremes=e=>p.createElement(ke,{...e,_chartKey:"extremes"}),e.ChartNavigatorSeriesHighlight=e=>p.createElement(ke,{...e,_chartKey:"highlight"}),e.ChartNavigatorSeriesItem=Ze,e.ChartNavigatorSeriesItemOutliers=e=>p.createElement(ke,{...e,_chartKey:"outliers"}),e.ChartNavigatorSeriesItemTooltip=e=>p.createElement(ke,{...e,_chartKey:"tooltip"}),e.ChartNavigatorSeriesLabels=e=>p.createElement(ke,{visible:!0,...e,_chartKey:"labels"}),e.ChartNavigatorSeriesLabelsFrom=e=>p.createElement(ke,{...e,_chartKey:"from"}),e.ChartNavigatorSeriesLabelsTo=e=>p.createElement(ke,{...e,_chartKey:"to"}),e.ChartNavigatorSeriesMarkers=e=>p.createElement(ke,{...e,_chartKey:"markers"}),e.ChartNavigatorSeriesNotes=e=>p.createElement(ke,{...e,_chartKey:"notes"}),e.ChartNavigatorSeriesNotesIcon=e=>p.createElement(ke,{...e,_chartKey:"icon"}),e.ChartNavigatorSeriesNotesLabel=e=>p.createElement(ke,{...e,_chartKey:"label"}),e.ChartNoDataOverlay=De,e.ChartPane=st,e.ChartPaneDefaults=nt,e.ChartPaneDefaultsTitle=He,e.ChartPanes=at,e.ChartPlotArea=e=>p.createElement(ke,{...e,_chartKey:"plotArea"}),e.ChartSeries=ot,e.ChartSeriesDefaults=e=>p.createElement(ke,{...e,_chartKey:"seriesDefaults"}),e.ChartSeriesErrorBars=e=>p.createElement(ke,{...e,_chartKey:"errorBars"}),e.ChartSeriesExtremes=e=>p.createElement(ke,{...e,_chartKey:"extremes"}),e.ChartSeriesHighlight=e=>p.createElement(ke,{...e,_chartKey:"highlight"}),e.ChartSeriesItem=it,e.ChartSeriesItemOutliers=e=>p.createElement(ke,{...e,_chartKey:"outliers"}),e.ChartSeriesItemTooltip=e=>p.createElement(ke,{...e,_chartKey:"tooltip"}),e.ChartSeriesLabels=e=>p.createElement(ke,{visible:!0,...e,_chartKey:"labels"}),e.ChartSeriesLabelsFrom=e=>p.createElement(ke,{...e,_chartKey:"from"}),e.ChartSeriesLabelsTo=e=>p.createElement(ke,{...e,_chartKey:"to"}),e.ChartSeriesMarkers=e=>p.createElement(ke,{...e,_chartKey:"markers"}),e.ChartSeriesNotes=e=>p.createElement(ke,{...e,_chartKey:"notes"}),e.ChartSeriesNotesIcon=e=>p.createElement(ke,{...e,_chartKey:"icon"}),e.ChartSeriesNotesLabel=e=>p.createElement(ke,{...e,_chartKey:"label"}),e.ChartSubtitle=lt,e.ChartTitle=ct,e.ChartTooltip=ht,e.ChartValueAxis=dt,e.ChartValueAxisCrosshair=e=>p.createElement(ke,{visible:!0,...e,_chartKey:"crosshair"}),e.ChartValueAxisCrosshairTooltip=e=>p.createElement(ke,{visible:!0,...e,_chartKey:"tooltip"}),e.ChartValueAxisItem=pt,e.ChartValueAxisLabels=e=>p.createElement(ke,{visible:!0,...e,_chartKey:"labels"}),e.ChartValueAxisNotes=e=>p.createElement(ke,{...e,_chartKey:"notes"}),e.ChartValueAxisNotesIcon=e=>p.createElement(ke,{...e,_chartKey:"icon"}),e.ChartValueAxisNotesLabel=e=>p.createElement(ke,{...e,_chartKey:"label"}),e.ChartValueAxisTitle=qe,e.ChartXAxis=mt,e.ChartXAxisCrosshair=e=>p.createElement(ke,{visible:!0,...e,_chartKey:"crosshair"}),e.ChartXAxisCrosshairTooltip=e=>p.createElement(ke,{visible:!0,...e,_chartKey:"tooltip"}),e.ChartXAxisItem=ut,e.ChartXAxisLabels=e=>p.createElement(ke,{visible:!0,...e,_chartKey:"labels"}),e.ChartXAxisNotes=e=>p.createElement(ke,{...e,_chartKey:"notes"}),e.ChartXAxisNotesIcon=e=>p.createElement(ke,{...e,_chartKey:"icon"}),e.ChartXAxisNotesLabel=e=>p.createElement(ke,{...e,_chartKey:"label"}),e.ChartXAxisTitle=Be,e.ChartYAxis=gt,e.ChartYAxisCrosshair=e=>p.createElement(ke,{visible:!0,...e,_chartKey:"crosshair"}),e.ChartYAxisCrosshairTooltip=e=>p.createElement(ke,{visible:!0,...e,_chartKey:"tooltip"}),e.ChartYAxisItem=yt,e.ChartYAxisLabels=e=>p.createElement(ke,{visible:!0,...e,_chartKey:"labels"}),e.ChartYAxisNotes=e=>p.createElement(ke,{...e,_chartKey:"notes"}),e.ChartYAxisNotesIcon=e=>p.createElement(ke,{...e,_chartKey:"icon"}),e.ChartYAxisNotesLabel=e=>p.createElement(ke,{...e,_chartKey:"label"}),e.ChartYAxisTitle=We,e.ChartZoomable=e=>p.createElement(ke,{...e,_chartKey:"zoomable"}),e.CollectionConfigurationComponent=Ne,e.ConfigurationComponent=ke,e.CrosshairTooltip=ce,e.CrosshairTooltipContainer=me,e.DonutCenter=be,e.DragEndEvent=f,e.DragEvent=b,e.DragStartEvent=x,e.DrilldownEvent=E,e.DrilldownStateChangeEvent=Te,e.LegendItemClickEvent=I,e.LegendItemHoverEvent=S,e.NavigatorFilterEvent=N,e.NoteClickEvent=_,e.NoteHoverEvent=k,e.PlotAreaClickEvent=T,e.PlotAreaHoverEvent=w,e.RenderEvent=K,e.Sankey=Ut,e.SelectEndEvent=O,e.SelectEvent=A,e.SelectStartEvent=L,e.SeriesClickEvent=D,e.SeriesHoverEvent=R,e.SeriesTooltip=ne,e.SharedTooltipContent=$,e.Sparkline=xe,e.StockChart=Se,e.TooltipPoint=Y,e.TooltipPopup=ee,e.ZoomEndEvent=F,e.ZoomEvent=P,e.ZoomStartEvent=V,e.createSankeyData=zt,e.exportVisual=(e,t={})=>{if(e&&null!==e.chartInstance)return e.chartInstance.exportVisual(t)},e.findAxisByName=(e,t)=>{if(e&&null!==e.chartInstance)return e.chartInstance.findAxisByName(t)},e.findPaneByIndex=(e,t)=>{if(e&&null!==e.chartInstance)return e.chartInstance.findPaneByIndex(t)},e.findPaneByName=(e,t)=>{if(e&&null!==e.chartInstance)return e.chartInstance.findPaneByName(t)}});
@@ -0,0 +1,39 @@
1
+ /**
2
+ * @license
3
+ *-------------------------------------------------------------------------------------------
4
+ * Copyright © 2026 Progress Software Corporation. All rights reserved.
5
+ * Licensed under commercial license. See LICENSE.md in the package root for more information
6
+ *-------------------------------------------------------------------------------------------
7
+ */
8
+ import { Charts } from '../common/charts.js';
9
+ import { BaseEvent } from './base-event.js';
10
+ import { EventAxisOptions } from '../api-types/event-axis-options.interface.js';
11
+ /**
12
+ * Arguments for the `axisLabelClick` event.
13
+ */
14
+ export declare class AxisLabelClickEvent extends BaseEvent {
15
+ /**
16
+ * The axis options to which the label belongs.
17
+ */
18
+ axis: EventAxisOptions;
19
+ /**
20
+ * The original data item that is used to generate the label. Available only for category axes which are populated from the `categoryField` of the series.
21
+ */
22
+ dataItem: any;
23
+ /**
24
+ * The label sequential or category index.
25
+ */
26
+ index: number;
27
+ /**
28
+ * The label text.
29
+ */
30
+ text: string;
31
+ /**
32
+ * The label value or category name.
33
+ */
34
+ value: any;
35
+ /**
36
+ * @hidden
37
+ */
38
+ constructor(e: any, target: Charts);
39
+ }
@@ -0,0 +1,21 @@
1
+ /**
2
+ * @license
3
+ *-------------------------------------------------------------------------------------------
4
+ * Copyright © 2026 Progress Software Corporation. All rights reserved.
5
+ * Licensed under commercial license. See LICENSE.md in the package root for more information
6
+ *-------------------------------------------------------------------------------------------
7
+ */
8
+ import { Charts } from '../common/charts.js';
9
+ /**
10
+ * @hidden
11
+ */
12
+ export declare abstract class BaseEvent {
13
+ /**
14
+ * The `Chart` component that triggered the event.
15
+ */
16
+ target: Charts;
17
+ /**
18
+ * @hidden
19
+ */
20
+ constructor(target: Charts);
21
+ }
@@ -0,0 +1,13 @@
1
+ /**
2
+ * @license
3
+ *-------------------------------------------------------------------------------------------
4
+ * Copyright © 2026 Progress Software Corporation. All rights reserved.
5
+ * Licensed under commercial license. See LICENSE.md in the package root for more information
6
+ *-------------------------------------------------------------------------------------------
7
+ */
8
+ import { Charts } from './../common/charts.js';
9
+ /**
10
+ * @hidden
11
+ */
12
+ declare function create(name: string, args: any, sender: Charts): any;
13
+ export { create };
@@ -0,0 +1,26 @@
1
+ /**
2
+ * @license
3
+ *-------------------------------------------------------------------------------------------
4
+ * Copyright © 2026 Progress Software Corporation. All rights reserved.
5
+ * Licensed under commercial license. See LICENSE.md in the package root for more information
6
+ *-------------------------------------------------------------------------------------------
7
+ */
8
+ /**
9
+ * @hidden
10
+ */
11
+ export declare class DomEvent<T> {
12
+ /**
13
+ * The `Chart` component that triggered the event.
14
+ */
15
+ sender: React.Component;
16
+ /**
17
+ * The syntheticEvent
18
+ */
19
+ syntheticEvent: T;
20
+ /**
21
+ * @hidden
22
+ */
23
+ constructor(sender: React.Component, e: T);
24
+ }
25
+ declare function toDomEvent<T>(sender: React.Component, e: T): DomEvent<T>;
26
+ export { toDomEvent };
@@ -0,0 +1,29 @@
1
+ /**
2
+ * @license
3
+ *-------------------------------------------------------------------------------------------
4
+ * Copyright © 2026 Progress Software Corporation. All rights reserved.
5
+ * Licensed under commercial license. See LICENSE.md in the package root for more information
6
+ *-------------------------------------------------------------------------------------------
7
+ */
8
+ import { Charts } from '../common/charts.js';
9
+ import { BaseEvent } from './base-event.js';
10
+ import { AxisRange } from '../api-types/axis-range.interface.js';
11
+ /**
12
+ * Arguments for the `dragEnd` event.
13
+ */
14
+ export declare class DragEndEvent extends BaseEvent {
15
+ /**
16
+ * A dictionary which contains the range (min and max values) of named axes. The axis name is used as a key.
17
+ */
18
+ axisRanges: {
19
+ [name: string]: AxisRange;
20
+ };
21
+ /**
22
+ * The original user event that triggered the drag action.
23
+ */
24
+ nativeEvent: any;
25
+ /**
26
+ * @hidden
27
+ */
28
+ constructor(e: any, target: Charts);
29
+ }
@@ -0,0 +1,29 @@
1
+ /**
2
+ * @license
3
+ *-------------------------------------------------------------------------------------------
4
+ * Copyright © 2026 Progress Software Corporation. All rights reserved.
5
+ * Licensed under commercial license. See LICENSE.md in the package root for more information
6
+ *-------------------------------------------------------------------------------------------
7
+ */
8
+ import { Charts } from '../common/charts.js';
9
+ import { PreventableEvent } from './preventable-event.js';
10
+ import { AxisRange } from '../api-types/axis-range.interface.js';
11
+ /**
12
+ * Arguments for the `drag` event.
13
+ */
14
+ export declare class DragEvent extends PreventableEvent {
15
+ /**
16
+ * A dictionary which contains the range (min and max values) of named axes. The axis name is used as a key.
17
+ */
18
+ axisRanges: {
19
+ [name: string]: AxisRange;
20
+ };
21
+ /**
22
+ * The original user event that triggered the drag action.
23
+ */
24
+ nativeEvent: any;
25
+ /**
26
+ * @hidden
27
+ */
28
+ constructor(e: any, target: Charts);
29
+ }
@@ -0,0 +1,29 @@
1
+ /**
2
+ * @license
3
+ *-------------------------------------------------------------------------------------------
4
+ * Copyright © 2026 Progress Software Corporation. All rights reserved.
5
+ * Licensed under commercial license. See LICENSE.md in the package root for more information
6
+ *-------------------------------------------------------------------------------------------
7
+ */
8
+ import { Charts } from '../common/charts.js';
9
+ import { PreventableEvent } from './preventable-event.js';
10
+ import { AxisRange } from '../api-types/axis-range.interface.js';
11
+ /**
12
+ * Arguments for the `dragStart` event.
13
+ */
14
+ export declare class DragStartEvent extends PreventableEvent {
15
+ /**
16
+ * A dictionary which contains the range (min and max values) of named axes. The axis name is used as a key.
17
+ */
18
+ axisRanges: {
19
+ [name: string]: AxisRange;
20
+ };
21
+ /**
22
+ * The original user event that triggered the drag action.
23
+ */
24
+ nativeEvent: any;
25
+ /**
26
+ * @hidden
27
+ */
28
+ constructor(e: any, target: Charts);
29
+ }
@@ -0,0 +1,45 @@
1
+ /**
2
+ * @license
3
+ *-------------------------------------------------------------------------------------------
4
+ * Copyright © 2026 Progress Software Corporation. All rights reserved.
5
+ * Licensed under commercial license. See LICENSE.md in the package root for more information
6
+ *-------------------------------------------------------------------------------------------
7
+ */
8
+ import { Charts } from '../common/charts.js';
9
+ import { BaseEvent } from './base-event.js';
10
+ import { EventSeriesOptions } from '../api-types/event-series-options.interface.js';
11
+ import { SeriesPointType } from '../api-types/series-point.interface.js';
12
+ import { ChartDrilldownState } from '../api-types/chart-drilldown-state.interface.js';
13
+ /**
14
+ * Arguments for the `drilldown` event.
15
+ *
16
+ * See [Drilldown Charts](https://www.telerik.com/kendo-react-ui/components/charts/drill-down).
17
+ */
18
+ export declare class DrilldownEvent extends BaseEvent {
19
+ /**
20
+ * The clicked series point.
21
+ */
22
+ point: SeriesPointType;
23
+ /**
24
+ * The clicked point series options.
25
+ */
26
+ series: EventSeriesOptions;
27
+ /**
28
+ * The data point value.
29
+ */
30
+ value: any;
31
+ /**
32
+ * The current Chart [drilldown state](https://www.telerik.com/kendo-react-ui/components/charts/api/chartprops#toc-drilldownstate).
33
+ */
34
+ currentState: ChartDrilldownState;
35
+ /**
36
+ * The Chart [drilldown state](https://www.telerik.com/kendo-react-ui/components/charts/api/chartprops#toc-drilldownstate) that will apply the current drilldown operation.
37
+ *
38
+ * See [Drilldown](https://www.telerik.com/kendo-react-ui/components/charts/drill-down) for an application example.
39
+ */
40
+ nextState: ChartDrilldownState;
41
+ /**
42
+ * @hidden
43
+ */
44
+ constructor(e: any, target: Charts);
45
+ }
@@ -0,0 +1,29 @@
1
+ /**
2
+ * @license
3
+ *-------------------------------------------------------------------------------------------
4
+ * Copyright © 2026 Progress Software Corporation. All rights reserved.
5
+ * Licensed under commercial license. See LICENSE.md in the package root for more information
6
+ *-------------------------------------------------------------------------------------------
7
+ */
8
+ import { ChartDrilldownState } from '../api-types/chart-drilldown-state.interface.js';
9
+ /**
10
+ * Arguments for the `drilldownStateChange` event on the Chart Breadcrumb.
11
+ *
12
+ * See [Drilldown Charts](https://www.telerik.com/kendo-react-ui/components/charts/drill-down).
13
+ */
14
+ export declare class DrilldownStateChangeEvent {
15
+ /**
16
+ * The current Chart [drilldown state](https://www.telerik.com/kendo-react-ui/components/charts/api/chartprops#toc-drilldownstate).
17
+ */
18
+ currentState: ChartDrilldownState;
19
+ /**
20
+ * The Chart [drilldown state](https://www.telerik.com/kendo-react-ui/components/charts/api/chartprops#toc-drilldownstate) that will apply the current drilldown operation.
21
+ *
22
+ * See [Drilldown](https://www.telerik.com/kendo-react-ui/components/charts/drill-down) for an application example.
23
+ */
24
+ nextState: ChartDrilldownState;
25
+ /**
26
+ * @hidden
27
+ */
28
+ constructor(e: any);
29
+ }