@progress/kendo-react-charts 7.2.4-develop.2 → 7.2.4-develop.4

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 (599) hide show
  1. package/BaseChart.js +8 -0
  2. package/BaseChart.mjs +248 -0
  3. package/Chart.js +8 -0
  4. package/Chart.mjs +58 -0
  5. package/ChartBreadcrumb.js +8 -0
  6. package/ChartBreadcrumb.mjs +77 -0
  7. package/ChartContext.js +8 -0
  8. package/ChartContext.mjs +14 -0
  9. package/Container.js +8 -0
  10. package/Container.mjs +13 -0
  11. package/DonutCenter.js +8 -0
  12. package/DonutCenter.mjs +48 -0
  13. package/Sparkline.js +8 -0
  14. package/Sparkline.mjs +60 -0
  15. package/StockChart.js +8 -0
  16. package/StockChart.mjs +68 -0
  17. package/components/AxisDefaults.js +8 -0
  18. package/components/AxisDefaults.mjs +14 -0
  19. package/components/CategoryAxis.js +8 -0
  20. package/components/CategoryAxis.mjs +21 -0
  21. package/components/CategoryAxisItem.js +8 -0
  22. package/components/CategoryAxisItem.mjs +15 -0
  23. package/components/ChartArea.js +8 -0
  24. package/components/ChartArea.mjs +14 -0
  25. package/components/Legend.js +8 -0
  26. package/components/Legend.mjs +14 -0
  27. package/components/Navigator.js +8 -0
  28. package/components/Navigator.mjs +14 -0
  29. package/components/Pane.js +8 -0
  30. package/components/Pane.mjs +15 -0
  31. package/components/PaneDefaults.js +8 -0
  32. package/components/PaneDefaults.mjs +15 -0
  33. package/components/Panes.js +8 -0
  34. package/components/Panes.mjs +21 -0
  35. package/components/PlotArea.js +8 -0
  36. package/components/PlotArea.mjs +14 -0
  37. package/components/Series.js +8 -0
  38. package/components/Series.mjs +21 -0
  39. package/components/SeriesDefaults.js +8 -0
  40. package/components/SeriesDefaults.mjs +14 -0
  41. package/components/SeriesItem.js +8 -0
  42. package/components/SeriesItem.mjs +30 -0
  43. package/components/Subtitle.js +8 -0
  44. package/components/Subtitle.mjs +14 -0
  45. package/components/Title.js +8 -0
  46. package/components/Title.mjs +14 -0
  47. package/components/Tooltip.js +8 -0
  48. package/components/Tooltip.mjs +14 -0
  49. package/components/ValueAxis.js +8 -0
  50. package/components/ValueAxis.mjs +21 -0
  51. package/components/ValueAxisItem.js +8 -0
  52. package/components/ValueAxisItem.mjs +15 -0
  53. package/components/XAxis.js +8 -0
  54. package/components/XAxis.mjs +21 -0
  55. package/components/XAxisItem.js +8 -0
  56. package/components/XAxisItem.mjs +15 -0
  57. package/components/YAxis.js +8 -0
  58. package/components/YAxis.mjs +21 -0
  59. package/components/YAxisItem.js +8 -0
  60. package/components/YAxisItem.mjs +15 -0
  61. package/components/Zoomable.js +8 -0
  62. package/components/Zoomable.mjs +14 -0
  63. package/components/axis-defaults/Crosshair.js +8 -0
  64. package/components/axis-defaults/Crosshair.mjs +15 -0
  65. package/components/axis-defaults/CrosshairTooltip.js +8 -0
  66. package/components/axis-defaults/CrosshairTooltip.mjs +15 -0
  67. package/components/axis-defaults/Labels.js +8 -0
  68. package/components/axis-defaults/Labels.mjs +15 -0
  69. package/components/axis-defaults/Title.js +8 -0
  70. package/components/axis-defaults/Title.mjs +15 -0
  71. package/components/base/CollectionConfigurationComponent.js +8 -0
  72. package/components/base/CollectionConfigurationComponent.mjs +35 -0
  73. package/components/base/ConfigurationComponent.js +8 -0
  74. package/components/base/ConfigurationComponent.mjs +47 -0
  75. package/components/category-axis-item/Crosshair.js +8 -0
  76. package/components/category-axis-item/Crosshair.mjs +14 -0
  77. package/components/category-axis-item/CrosshairTooltip.js +8 -0
  78. package/components/category-axis-item/CrosshairTooltip.mjs +14 -0
  79. package/components/category-axis-item/Labels.js +8 -0
  80. package/components/category-axis-item/Labels.mjs +14 -0
  81. package/components/category-axis-item/Notes.js +8 -0
  82. package/components/category-axis-item/Notes.mjs +14 -0
  83. package/components/category-axis-item/NotesIcon.js +8 -0
  84. package/components/category-axis-item/NotesIcon.mjs +14 -0
  85. package/components/category-axis-item/NotesLabel.js +8 -0
  86. package/components/category-axis-item/NotesLabel.mjs +14 -0
  87. package/components/category-axis-item/RangeLabels.js +8 -0
  88. package/components/category-axis-item/RangeLabels.mjs +14 -0
  89. package/components/category-axis-item/Title.js +8 -0
  90. package/components/category-axis-item/Title.mjs +15 -0
  91. package/components/legend/InactiveItems.js +8 -0
  92. package/components/legend/InactiveItems.mjs +15 -0
  93. package/components/legend/Item.js +8 -0
  94. package/components/legend/Item.mjs +15 -0
  95. package/components/legend/Title.js +8 -0
  96. package/components/legend/Title.mjs +15 -0
  97. package/components/navigator/CategoryAxis.js +8 -0
  98. package/components/navigator/CategoryAxis.mjs +15 -0
  99. package/components/navigator/Hint.js +8 -0
  100. package/components/navigator/Hint.mjs +14 -0
  101. package/components/navigator/Pane.js +8 -0
  102. package/components/navigator/Pane.mjs +15 -0
  103. package/components/navigator/Select.js +8 -0
  104. package/components/navigator/Select.mjs +14 -0
  105. package/components/navigator/Series.js +8 -0
  106. package/components/navigator/Series.mjs +21 -0
  107. package/components/navigator/SeriesItem.js +8 -0
  108. package/components/navigator/SeriesItem.mjs +15 -0
  109. package/components/pane-defaults/Title.js +8 -0
  110. package/components/pane-defaults/Title.mjs +15 -0
  111. package/components/series-item/ErrorBars.js +8 -0
  112. package/components/series-item/ErrorBars.mjs +14 -0
  113. package/components/series-item/Extremes.js +8 -0
  114. package/components/series-item/Extremes.mjs +14 -0
  115. package/components/series-item/Highlight.js +8 -0
  116. package/components/series-item/Highlight.mjs +14 -0
  117. package/components/series-item/Labels.js +8 -0
  118. package/components/series-item/Labels.mjs +14 -0
  119. package/components/series-item/LabelsFrom.js +8 -0
  120. package/components/series-item/LabelsFrom.mjs +14 -0
  121. package/components/series-item/LabelsTo.js +8 -0
  122. package/components/series-item/LabelsTo.mjs +14 -0
  123. package/components/series-item/Markers.js +8 -0
  124. package/components/series-item/Markers.mjs +14 -0
  125. package/components/series-item/Notes.js +8 -0
  126. package/components/series-item/Notes.mjs +14 -0
  127. package/components/series-item/NotesIcon.js +8 -0
  128. package/components/series-item/NotesIcon.mjs +14 -0
  129. package/components/series-item/NotesLabel.js +8 -0
  130. package/components/series-item/NotesLabel.mjs +14 -0
  131. package/components/series-item/Outliers.js +8 -0
  132. package/components/series-item/Outliers.mjs +14 -0
  133. package/components/series-item/Tooltip.js +8 -0
  134. package/components/series-item/Tooltip.mjs +14 -0
  135. package/components/value-axis-item/Crosshair.js +8 -0
  136. package/components/value-axis-item/Crosshair.mjs +14 -0
  137. package/components/value-axis-item/CrosshairTooltip.js +8 -0
  138. package/components/value-axis-item/CrosshairTooltip.mjs +14 -0
  139. package/components/value-axis-item/Labels.js +8 -0
  140. package/components/value-axis-item/Labels.mjs +14 -0
  141. package/components/value-axis-item/Notes.js +8 -0
  142. package/components/value-axis-item/Notes.mjs +14 -0
  143. package/components/value-axis-item/NotesIcon.js +8 -0
  144. package/components/value-axis-item/NotesIcon.mjs +14 -0
  145. package/components/value-axis-item/NotesLabel.js +8 -0
  146. package/components/value-axis-item/NotesLabel.mjs +14 -0
  147. package/components/value-axis-item/Title.js +8 -0
  148. package/components/value-axis-item/Title.mjs +15 -0
  149. package/components/x-axis-item/Crosshair.js +8 -0
  150. package/components/x-axis-item/Crosshair.mjs +14 -0
  151. package/components/x-axis-item/CrosshairTooltip.js +8 -0
  152. package/components/x-axis-item/CrosshairTooltip.mjs +14 -0
  153. package/components/x-axis-item/Labels.js +8 -0
  154. package/components/x-axis-item/Labels.mjs +14 -0
  155. package/components/x-axis-item/Notes.js +8 -0
  156. package/components/x-axis-item/Notes.mjs +14 -0
  157. package/components/x-axis-item/NotesIcon.js +8 -0
  158. package/components/x-axis-item/NotesIcon.mjs +14 -0
  159. package/components/x-axis-item/NotesLabel.js +8 -0
  160. package/components/x-axis-item/NotesLabel.mjs +14 -0
  161. package/components/x-axis-item/Title.js +8 -0
  162. package/components/x-axis-item/Title.mjs +15 -0
  163. package/components/y-axis-item/Crosshair.js +8 -0
  164. package/components/y-axis-item/Crosshair.mjs +14 -0
  165. package/components/y-axis-item/CrosshairTooltip.js +8 -0
  166. package/components/y-axis-item/CrosshairTooltip.mjs +14 -0
  167. package/components/y-axis-item/Labels.js +8 -0
  168. package/components/y-axis-item/Labels.mjs +14 -0
  169. package/components/y-axis-item/Notes.js +8 -0
  170. package/components/y-axis-item/Notes.mjs +14 -0
  171. package/components/y-axis-item/NotesIcon.js +8 -0
  172. package/components/y-axis-item/NotesIcon.mjs +14 -0
  173. package/components/y-axis-item/NotesLabel.js +8 -0
  174. package/components/y-axis-item/NotesLabel.mjs +14 -0
  175. package/components/y-axis-item/Title.js +8 -0
  176. package/components/y-axis-item/Title.mjs +15 -0
  177. package/dist/cdn/js/kendo-react-charts.js +8 -65
  178. package/events/axis-label-click-event.js +8 -0
  179. package/events/axis-label-click-event.mjs +20 -0
  180. package/events/base-event.js +8 -0
  181. package/events/base-event.mjs +19 -0
  182. package/events/chart-event-builder.js +8 -0
  183. package/events/chart-event-builder.mjs +61 -0
  184. package/events/dom-event.js +8 -0
  185. package/events/dom-event.mjs +23 -0
  186. package/events/dom-events-builder.js +8 -0
  187. package/events/dom-events-builder.mjs +33 -0
  188. package/events/dom-events.js +8 -0
  189. package/events/dom-events.mjs +128 -0
  190. package/events/drag-end-event.js +8 -0
  191. package/events/drag-end-event.mjs +20 -0
  192. package/events/drag-event.js +8 -0
  193. package/events/drag-event.mjs +20 -0
  194. package/events/drag-start-event.js +8 -0
  195. package/events/drag-start-event.mjs +20 -0
  196. package/events/drilldown-event.js +8 -0
  197. package/events/drilldown-event.mjs +20 -0
  198. package/events/drilldown-state-change-event.js +8 -0
  199. package/events/drilldown-state-change-event.mjs +19 -0
  200. package/events/legend-item-click-event.js +8 -0
  201. package/events/legend-item-click-event.mjs +26 -0
  202. package/events/legend-item-hover-event.js +8 -0
  203. package/events/legend-item-hover-event.mjs +26 -0
  204. package/events/legend-item-leave-event.js +8 -0
  205. package/events/legend-item-leave-event.mjs +26 -0
  206. package/events/navigator-filter-event.js +8 -0
  207. package/events/navigator-filter-event.mjs +20 -0
  208. package/events/note-click-event.js +8 -0
  209. package/events/note-click-event.mjs +20 -0
  210. package/events/note-hover-event.js +8 -0
  211. package/events/note-hover-event.mjs +20 -0
  212. package/events/plot-area-click-event.js +8 -0
  213. package/events/plot-area-click-event.mjs +20 -0
  214. package/events/plot-area-hover-event.js +8 -0
  215. package/events/plot-area-hover-event.mjs +20 -0
  216. package/events/preventable-event.js +8 -0
  217. package/events/preventable-event.mjs +33 -0
  218. package/events/render-event.js +8 -0
  219. package/events/render-event.mjs +20 -0
  220. package/events/select-end-event.js +8 -0
  221. package/events/select-end-event.mjs +20 -0
  222. package/events/select-event.js +8 -0
  223. package/events/select-event.mjs +20 -0
  224. package/events/select-start-event.js +8 -0
  225. package/events/select-start-event.mjs +20 -0
  226. package/events/series-click-event.js +8 -0
  227. package/events/series-click-event.mjs +21 -0
  228. package/events/series-hover-event.js +8 -0
  229. package/events/series-hover-event.mjs +20 -0
  230. package/events/zoom-end-event.js +8 -0
  231. package/events/zoom-end-event.mjs +21 -0
  232. package/events/zoom-event.js +8 -0
  233. package/events/zoom-event.mjs +21 -0
  234. package/events/zoom-start-event.js +8 -0
  235. package/events/zoom-start-event.mjs +21 -0
  236. package/index.d.mts +8704 -5
  237. package/index.d.ts +8704 -34
  238. package/index.js +8 -65
  239. package/index.mjs +240 -1820
  240. package/methods/index.js +8 -0
  241. package/methods/index.mjs +27 -0
  242. package/package-metadata.js +8 -0
  243. package/package-metadata.mjs +19 -0
  244. package/package.json +5 -5
  245. package/sankey/Sankey.js +8 -0
  246. package/sankey/Sankey.mjs +65 -0
  247. package/sankey/propTypes.js +8 -0
  248. package/sankey/propTypes.mjs +82 -0
  249. package/sankey/theme-service.js +25 -0
  250. package/sankey/theme-service.mjs +98 -0
  251. package/store/reducer.js +8 -0
  252. package/store/reducer.mjs +59 -0
  253. package/store/store.js +8 -0
  254. package/store/store.mjs +20 -0
  255. package/theming/theme-service.js +51 -0
  256. package/theming/theme-service.mjs +122 -0
  257. package/tooltip/Crosshair.js +8 -0
  258. package/tooltip/Crosshair.mjs +70 -0
  259. package/tooltip/CrosshairContainer.js +8 -0
  260. package/tooltip/CrosshairContainer.mjs +65 -0
  261. package/tooltip/Point.js +8 -0
  262. package/tooltip/Point.mjs +22 -0
  263. package/tooltip/Popup.js +8 -0
  264. package/tooltip/Popup.mjs +69 -0
  265. package/tooltip/Series.js +8 -0
  266. package/tooltip/Series.mjs +112 -0
  267. package/tooltip/SharedTooltipContent.js +8 -0
  268. package/tooltip/SharedTooltipContent.mjs +22 -0
  269. package/utils/index.js +8 -0
  270. package/utils/index.mjs +31 -0
  271. package/BaseChart.d.ts +0 -125
  272. package/BaseChartProps.d.ts +0 -199
  273. package/Chart.d.ts +0 -82
  274. package/ChartBreadcrumb.d.ts +0 -46
  275. package/ChartContext.d.ts +0 -21
  276. package/ChartProps.d.ts +0 -14
  277. package/Container.d.ts +0 -12
  278. package/DonutCenter.d.ts +0 -41
  279. package/Sparkline.d.ts +0 -91
  280. package/SparklineProps.d.ts +0 -18
  281. package/StockChart.d.ts +0 -45
  282. package/StockChartProps.d.ts +0 -19
  283. package/api-types/axis-range.interface.d.ts +0 -17
  284. package/api-types/chart-axis.interface.d.ts +0 -40
  285. package/api-types/chart-drilldown-state.interface.d.ts +0 -28
  286. package/api-types/chart-pane.interface.d.ts +0 -18
  287. package/api-types/chart-plotarea.interface.d.ts +0 -18
  288. package/api-types/event-axis-options.interface.d.ts +0 -13
  289. package/api-types/event-series-options.interface.d.ts +0 -21
  290. package/api-types/series-point.interface.d.ts +0 -42
  291. package/argument-types/axis-label-visual-args.interface.d.ts +0 -47
  292. package/argument-types/axis-note-visual-args.interface.d.ts +0 -31
  293. package/argument-types/drilldown-series-factory-props.interface.d.ts +0 -21
  294. package/argument-types/error-bars-visual-args.interface.d.ts +0 -35
  295. package/argument-types/highlight-toggle-args.interface.d.ts +0 -38
  296. package/argument-types/highlight-visual-args.interface.d.ts +0 -55
  297. package/argument-types/legend-item-visual-args.interface.d.ts +0 -31
  298. package/argument-types/legend-labels-content-args.interface.d.ts +0 -25
  299. package/argument-types/markers-visual-args.interface.d.ts +0 -43
  300. package/argument-types/plot-band-label-visual-args.interface.d.ts +0 -31
  301. package/argument-types/series-labels-visual-args.interface.d.ts +0 -31
  302. package/argument-types/series-note-visual-args.interface.d.ts +0 -47
  303. package/argument-types/series-visual-args.interface.d.ts +0 -80
  304. package/argument-types/title-visual-args.interface.d.ts +0 -31
  305. package/common/api-types.d.ts +0 -12
  306. package/common/charts.d.ts +0 -9
  307. package/common/events.d.ts +0 -26
  308. package/common/property-types.d.ts +0 -136
  309. package/components/AxisDefaults.d.ts +0 -13
  310. package/components/CategoryAxis.d.ts +0 -13
  311. package/components/CategoryAxisItem.d.ts +0 -17
  312. package/components/ChartArea.d.ts +0 -13
  313. package/components/Legend.d.ts +0 -17
  314. package/components/Navigator.d.ts +0 -17
  315. package/components/Pane.d.ts +0 -13
  316. package/components/PaneDefaults.d.ts +0 -17
  317. package/components/Panes.d.ts +0 -13
  318. package/components/PlotArea.d.ts +0 -13
  319. package/components/Series.d.ts +0 -13
  320. package/components/SeriesDefaults.d.ts +0 -13
  321. package/components/SeriesItem.d.ts +0 -25
  322. package/components/Subtitle.d.ts +0 -13
  323. package/components/Title.d.ts +0 -13
  324. package/components/Tooltip.d.ts +0 -15
  325. package/components/ValueAxis.d.ts +0 -13
  326. package/components/ValueAxisItem.d.ts +0 -17
  327. package/components/XAxis.d.ts +0 -13
  328. package/components/XAxisItem.d.ts +0 -17
  329. package/components/YAxis.d.ts +0 -13
  330. package/components/YAxisItem.d.ts +0 -17
  331. package/components/Zoomable.d.ts +0 -13
  332. package/components/axis-defaults/Crosshair.d.ts +0 -13
  333. package/components/axis-defaults/CrosshairTooltip.d.ts +0 -13
  334. package/components/axis-defaults/Labels.d.ts +0 -13
  335. package/components/axis-defaults/Title.d.ts +0 -13
  336. package/components/axis-defaults/index.d.ts +0 -9
  337. package/components/base/CollectionConfigurationComponent.d.ts +0 -23
  338. package/components/base/ConfigurationComponent.d.ts +0 -28
  339. package/components/category-axis-item/Crosshair.d.ts +0 -17
  340. package/components/category-axis-item/CrosshairTooltip.d.ts +0 -13
  341. package/components/category-axis-item/Labels.d.ts +0 -13
  342. package/components/category-axis-item/Notes.d.ts +0 -13
  343. package/components/category-axis-item/NotesIcon.d.ts +0 -13
  344. package/components/category-axis-item/NotesLabel.d.ts +0 -13
  345. package/components/category-axis-item/RangeLabels.d.ts +0 -13
  346. package/components/category-axis-item/Select.d.ts +0 -11
  347. package/components/category-axis-item/Title.d.ts +0 -13
  348. package/components/category-axis-item/index.d.ts +0 -14
  349. package/components/index.d.ts +0 -39
  350. package/components/legend/InactiveItems.d.ts +0 -13
  351. package/components/legend/Item.d.ts +0 -13
  352. package/components/legend/Title.d.ts +0 -17
  353. package/components/legend/index.d.ts +0 -8
  354. package/components/navigator/CategoryAxis.d.ts +0 -13
  355. package/components/navigator/Hint.d.ts +0 -13
  356. package/components/navigator/Pane.d.ts +0 -13
  357. package/components/navigator/Select.d.ts +0 -13
  358. package/components/navigator/Series.d.ts +0 -13
  359. package/components/navigator/SeriesItem.d.ts +0 -13
  360. package/components/navigator/category-axis/Crosshair.d.ts +0 -13
  361. package/components/navigator/category-axis/CrosshairTooltip.d.ts +0 -13
  362. package/components/navigator/category-axis/Labels.d.ts +0 -13
  363. package/components/navigator/category-axis/Notes.d.ts +0 -13
  364. package/components/navigator/category-axis/NotesIcon.d.ts +0 -13
  365. package/components/navigator/category-axis/NotesLabel.d.ts +0 -13
  366. package/components/navigator/category-axis/Select.d.ts +0 -11
  367. package/components/navigator/category-axis/Title.d.ts +0 -13
  368. package/components/navigator/category-axis/index.d.ts +0 -13
  369. package/components/navigator/index.d.ts +0 -14
  370. package/components/navigator/pane/Title.d.ts +0 -13
  371. package/components/navigator/pane/index.d.ts +0 -6
  372. package/components/navigator/series-item/ErrorBars.d.ts +0 -13
  373. package/components/navigator/series-item/Extremes.d.ts +0 -13
  374. package/components/navigator/series-item/Highlight.d.ts +0 -13
  375. package/components/navigator/series-item/Labels.d.ts +0 -13
  376. package/components/navigator/series-item/LabelsFrom.d.ts +0 -13
  377. package/components/navigator/series-item/LabelsTo.d.ts +0 -13
  378. package/components/navigator/series-item/Markers.d.ts +0 -13
  379. package/components/navigator/series-item/Notes.d.ts +0 -13
  380. package/components/navigator/series-item/NotesIcon.d.ts +0 -13
  381. package/components/navigator/series-item/NotesLabel.d.ts +0 -13
  382. package/components/navigator/series-item/Outliers.d.ts +0 -13
  383. package/components/navigator/series-item/Tooltip.d.ts +0 -15
  384. package/components/navigator/series-item/index.d.ts +0 -17
  385. package/components/pane/Title.d.ts +0 -13
  386. package/components/pane/index.d.ts +0 -6
  387. package/components/pane-defaults/Title.d.ts +0 -13
  388. package/components/pane-defaults/index.d.ts +0 -6
  389. package/components/series-defaults/Labels.d.ts +0 -13
  390. package/components/series-defaults/LabelsFrom.d.ts +0 -13
  391. package/components/series-defaults/LabelsTo.d.ts +0 -13
  392. package/components/series-defaults/Notes.d.ts +0 -13
  393. package/components/series-defaults/NotesIcon.d.ts +0 -13
  394. package/components/series-defaults/NotesLabel.d.ts +0 -13
  395. package/components/series-defaults/Tooltip.d.ts +0 -15
  396. package/components/series-defaults/index.d.ts +0 -12
  397. package/components/series-item/ErrorBars.d.ts +0 -13
  398. package/components/series-item/Extremes.d.ts +0 -13
  399. package/components/series-item/Highlight.d.ts +0 -13
  400. package/components/series-item/Labels.d.ts +0 -17
  401. package/components/series-item/LabelsFrom.d.ts +0 -13
  402. package/components/series-item/LabelsTo.d.ts +0 -13
  403. package/components/series-item/Markers.d.ts +0 -13
  404. package/components/series-item/Notes.d.ts +0 -13
  405. package/components/series-item/NotesIcon.d.ts +0 -13
  406. package/components/series-item/NotesLabel.d.ts +0 -13
  407. package/components/series-item/Outliers.d.ts +0 -13
  408. package/components/series-item/Tooltip.d.ts +0 -15
  409. package/components/series-item/index.d.ts +0 -17
  410. package/components/value-axis-item/Crosshair.d.ts +0 -17
  411. package/components/value-axis-item/CrosshairTooltip.d.ts +0 -13
  412. package/components/value-axis-item/Labels.d.ts +0 -13
  413. package/components/value-axis-item/Notes.d.ts +0 -13
  414. package/components/value-axis-item/NotesIcon.d.ts +0 -13
  415. package/components/value-axis-item/NotesLabel.d.ts +0 -13
  416. package/components/value-axis-item/Title.d.ts +0 -13
  417. package/components/value-axis-item/index.d.ts +0 -12
  418. package/components/x-axis-item/Crosshair.d.ts +0 -17
  419. package/components/x-axis-item/CrosshairTooltip.d.ts +0 -13
  420. package/components/x-axis-item/Labels.d.ts +0 -13
  421. package/components/x-axis-item/Notes.d.ts +0 -13
  422. package/components/x-axis-item/NotesIcon.d.ts +0 -13
  423. package/components/x-axis-item/NotesLabel.d.ts +0 -13
  424. package/components/x-axis-item/Title.d.ts +0 -13
  425. package/components/x-axis-item/index.d.ts +0 -12
  426. package/components/y-axis-item/Crosshair.d.ts +0 -17
  427. package/components/y-axis-item/CrosshairTooltip.d.ts +0 -13
  428. package/components/y-axis-item/Labels.d.ts +0 -13
  429. package/components/y-axis-item/Notes.d.ts +0 -13
  430. package/components/y-axis-item/NotesIcon.d.ts +0 -13
  431. package/components/y-axis-item/NotesLabel.d.ts +0 -13
  432. package/components/y-axis-item/Title.d.ts +0 -13
  433. package/components/y-axis-item/index.d.ts +0 -12
  434. package/events/axis-label-click-event.d.ts +0 -36
  435. package/events/base-event.d.ts +0 -18
  436. package/events/chart-event-builder.d.ts +0 -10
  437. package/events/dom-event.d.ts +0 -23
  438. package/events/dom-events-builder.d.ts +0 -11
  439. package/events/dom-events.d.ts +0 -28
  440. package/events/drag-end-event.d.ts +0 -26
  441. package/events/drag-event.d.ts +0 -26
  442. package/events/drag-start-event.d.ts +0 -26
  443. package/events/drilldown-event.d.ts +0 -42
  444. package/events/drilldown-state-change-event.d.ts +0 -26
  445. package/events/legend-item-click-event.d.ts +0 -36
  446. package/events/legend-item-hover-event.d.ts +0 -36
  447. package/events/legend-item-leave-event.d.ts +0 -36
  448. package/events/navigator-filter-event.d.ts +0 -23
  449. package/events/note-click-event.d.ts +0 -36
  450. package/events/note-hover-event.d.ts +0 -36
  451. package/events/plot-area-click-event.d.ts +0 -35
  452. package/events/plot-area-hover-event.d.ts +0 -35
  453. package/events/preventable-event.d.ts +0 -22
  454. package/events/render-event.d.ts +0 -15
  455. package/events/select-end-event.d.ts +0 -28
  456. package/events/select-event.d.ts +0 -28
  457. package/events/select-start-event.d.ts +0 -28
  458. package/events/series-click-event.d.ts +0 -49
  459. package/events/series-hover-event.d.ts +0 -53
  460. package/events/zoom-end-event.d.ts +0 -28
  461. package/events/zoom-event.d.ts +0 -32
  462. package/events/zoom-start-event.d.ts +0 -26
  463. package/field-types/auto-base-unit-steps.interface.d.ts +0 -43
  464. package/field-types/axis-labels-position.d.ts +0 -26
  465. package/field-types/axis-line.interface.d.ts +0 -26
  466. package/field-types/axis-ticks.interface.d.ts +0 -33
  467. package/field-types/axis-title-position.d.ts +0 -26
  468. package/field-types/base-unit.d.ts +0 -38
  469. package/field-types/border.interface.d.ts +0 -22
  470. package/field-types/bullet-target-line.interface.d.ts +0 -13
  471. package/field-types/bullet-target.interface.d.ts +0 -23
  472. package/field-types/category-base-unit.d.ts +0 -39
  473. package/field-types/dash-type.d.ts +0 -32
  474. package/field-types/date-formats.interface.d.ts +0 -43
  475. package/field-types/drag-action.interface.d.ts +0 -19
  476. package/field-types/error-bar-line.interface.d.ts +0 -18
  477. package/field-types/grid-lines.interface.d.ts +0 -34
  478. package/field-types/highlight-line.interface.d.ts +0 -26
  479. package/field-types/label-connectors.interface.d.ts +0 -21
  480. package/field-types/label-rotation.interface.d.ts +0 -23
  481. package/field-types/legend-labels.interface.d.ts +0 -32
  482. package/field-types/line-style.d.ts +0 -32
  483. package/field-types/lock-axis.d.ts +0 -8
  484. package/field-types/margin.interface.d.ts +0 -25
  485. package/field-types/marker-type.d.ts +0 -35
  486. package/field-types/modifier-key.d.ts +0 -8
  487. package/field-types/mousewheel-select.interface.d.ts +0 -22
  488. package/field-types/mousewheel-zoom.interface.d.ts +0 -22
  489. package/field-types/negative-bubble-values.interface.d.ts +0 -17
  490. package/field-types/note-label-position.d.ts +0 -33
  491. package/field-types/note-line.interface.d.ts +0 -26
  492. package/field-types/note-position.d.ts +0 -33
  493. package/field-types/overlay.interface.d.ts +0 -19
  494. package/field-types/padding.interface.d.ts +0 -10
  495. package/field-types/plot-band-label.interface.d.ts +0 -91
  496. package/field-types/plot-band.interface.d.ts +0 -34
  497. package/field-types/series-labels-position.d.ts +0 -20
  498. package/field-types/series-line.interface.d.ts +0 -32
  499. package/field-types/series-stack.interface.d.ts +0 -21
  500. package/field-types/series-type.d.ts +0 -73
  501. package/field-types/trendline-forecast.interface.d.ts +0 -17
  502. package/field-types/week-start-day.enum.d.ts +0 -37
  503. package/methods/index.d.ts +0 -40
  504. package/option-types/axis-defaults/crosshair.interface.d.ts +0 -45
  505. package/option-types/axis-defaults/crosshair.tooltip.interface.d.ts +0 -38
  506. package/option-types/axis-defaults/labels.interface.d.ts +0 -73
  507. package/option-types/axis-defaults/title.interface.d.ts +0 -71
  508. package/option-types/axis-defaults.interface.d.ts +0 -77
  509. package/option-types/category-axis-item/crosshair.interface.d.ts +0 -44
  510. package/option-types/category-axis-item/crosshair.tooltip.interface.d.ts +0 -38
  511. package/option-types/category-axis-item/labels.interface.d.ts +0 -108
  512. package/option-types/category-axis-item/notes.icon.interface.d.ts +0 -36
  513. package/option-types/category-axis-item/notes.interface.d.ts +0 -49
  514. package/option-types/category-axis-item/notes.label.interface.d.ts +0 -50
  515. package/option-types/category-axis-item/range-labels.interface.d.ts +0 -28
  516. package/option-types/category-axis-item/select.interface.d.ts +0 -30
  517. package/option-types/category-axis-item/title.interface.d.ts +0 -69
  518. package/option-types/category-axis-item.interface.d.ts +0 -163
  519. package/option-types/chart-area.interface.d.ts +0 -34
  520. package/option-types/legend/inactive-items.interface.d.ts +0 -14
  521. package/option-types/legend/item.interface.d.ts +0 -121
  522. package/option-types/legend/legend-title.interface.d.ts +0 -65
  523. package/option-types/legend.interface.d.ts +0 -98
  524. package/option-types/navigator/hint.interface.d.ts +0 -25
  525. package/option-types/navigator/select.interface.d.ts +0 -22
  526. package/option-types/navigator.interface.d.ts +0 -41
  527. package/option-types/pane/title.interface.d.ts +0 -60
  528. package/option-types/pane-defaults/title.interface.d.ts +0 -56
  529. package/option-types/pane-defaults.interface.d.ts +0 -43
  530. package/option-types/pane.interface.d.ts +0 -43
  531. package/option-types/plot-area.interface.d.ts +0 -30
  532. package/option-types/series-defaults/labels.from.interface.d.ts +0 -55
  533. package/option-types/series-defaults/labels.interface.d.ts +0 -77
  534. package/option-types/series-defaults/labels.to.interface.d.ts +0 -55
  535. package/option-types/series-defaults/notes.icon.interface.d.ts +0 -36
  536. package/option-types/series-defaults/notes.interface.d.ts +0 -40
  537. package/option-types/series-defaults/notes.label.interface.d.ts +0 -50
  538. package/option-types/series-defaults/tooltip.interface.d.ts +0 -45
  539. package/option-types/series-defaults.interface.d.ts +0 -95
  540. package/option-types/series-item/error-bars.interface.d.ts +0 -59
  541. package/option-types/series-item/extremes.interface.d.ts +0 -36
  542. package/option-types/series-item/highlight.interface.d.ts +0 -67
  543. package/option-types/series-item/labels.from.interface.d.ts +0 -71
  544. package/option-types/series-item/labels.interface.d.ts +0 -101
  545. package/option-types/series-item/labels.to.interface.d.ts +0 -69
  546. package/option-types/series-item/markers.interface.d.ts +0 -69
  547. package/option-types/series-item/notes.icon.interface.d.ts +0 -36
  548. package/option-types/series-item/notes.interface.d.ts +0 -50
  549. package/option-types/series-item/notes.label.interface.d.ts +0 -50
  550. package/option-types/series-item/outliers.interface.d.ts +0 -36
  551. package/option-types/series-item/tooltip.interface.d.ts +0 -46
  552. package/option-types/series-item/trendline.interface.d.ts +0 -34
  553. package/option-types/series-item.interface.d.ts +0 -474
  554. package/option-types/subtitle.interface.d.ts +0 -65
  555. package/option-types/title.interface.d.ts +0 -59
  556. package/option-types/tooltip.interface.d.ts +0 -52
  557. package/option-types/value-axis-item/crosshair.interface.d.ts +0 -30
  558. package/option-types/value-axis-item/crosshair.tooltip.interface.d.ts +0 -38
  559. package/option-types/value-axis-item/labels.interface.d.ts +0 -86
  560. package/option-types/value-axis-item/notes.icon.interface.d.ts +0 -36
  561. package/option-types/value-axis-item/notes.interface.d.ts +0 -49
  562. package/option-types/value-axis-item/notes.label.interface.d.ts +0 -50
  563. package/option-types/value-axis-item/title.interface.d.ts +0 -70
  564. package/option-types/value-axis-item.interface.d.ts +0 -118
  565. package/option-types/x-axis-item/crosshair.interface.d.ts +0 -30
  566. package/option-types/x-axis-item/crosshair.tooltip.interface.d.ts +0 -38
  567. package/option-types/x-axis-item/labels.interface.d.ts +0 -93
  568. package/option-types/x-axis-item/notes.icon.interface.d.ts +0 -36
  569. package/option-types/x-axis-item/notes.interface.d.ts +0 -50
  570. package/option-types/x-axis-item/notes.label.interface.d.ts +0 -50
  571. package/option-types/x-axis-item/title.interface.d.ts +0 -69
  572. package/option-types/x-axis-item.interface.d.ts +0 -139
  573. package/option-types/y-axis-item/crosshair.interface.d.ts +0 -30
  574. package/option-types/y-axis-item/crosshair.tooltip.interface.d.ts +0 -38
  575. package/option-types/y-axis-item/labels.interface.d.ts +0 -93
  576. package/option-types/y-axis-item/notes.icon.interface.d.ts +0 -36
  577. package/option-types/y-axis-item/notes.interface.d.ts +0 -49
  578. package/option-types/y-axis-item/notes.label.interface.d.ts +0 -50
  579. package/option-types/y-axis-item/title.interface.d.ts +0 -70
  580. package/option-types/y-axis-item.interface.d.ts +0 -135
  581. package/option-types/zoomable.interface.d.ts +0 -18
  582. package/package-metadata.d.ts +0 -9
  583. package/sankey/Sankey.d.ts +0 -10
  584. package/sankey/index.d.ts +0 -7
  585. package/sankey/propTypes.d.ts +0 -117
  586. package/sankey/theme-service.d.ts +0 -9
  587. package/sankey/types.d.ts +0 -124
  588. package/store/reducer.d.ts +0 -18
  589. package/store/store.d.ts +0 -30
  590. package/theming/theme-service.d.ts +0 -10
  591. package/tooltip/Context.d.ts +0 -15
  592. package/tooltip/Crosshair.d.ts +0 -40
  593. package/tooltip/CrosshairContainer.d.ts +0 -32
  594. package/tooltip/Point.d.ts +0 -72
  595. package/tooltip/Popup.d.ts +0 -35
  596. package/tooltip/Series.d.ts +0 -39
  597. package/tooltip/SharedTooltipContent.d.ts +0 -15
  598. package/tooltip/index.d.ts +0 -7
  599. package/utils/index.d.ts +0 -17
package/index.mjs CHANGED
@@ -1,1823 +1,243 @@
1
- /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2024 Progress Software Corporation. All rights reserved.
3
- * Licensed under commercial license. See LICENSE.md in the package root for more information
4
- *-------------------------------------------------------------------------------------------*/
1
+ /**
2
+ * @license
3
+ *-------------------------------------------------------------------------------------------
4
+ * Copyright © 2024 Progress Software Corporation. All rights reserved.
5
+ * Licensed under commercial license. See LICENSE.md in the package root for more information
6
+ *-------------------------------------------------------------------------------------------
7
+ */
5
8
  "use client";
6
- import * as n from "react";
7
- import o from "prop-types";
8
- import { provideIntlService as A, registerForIntl as ue } from "@progress/kendo-react-intl";
9
- import { chartBaseTheme as O, InstanceObserver as b, DomEventsBuilder as pe, Chart as me, Sparkline as N, StockChart as ve, Sankey as fe } from "@progress/kendo-charts";
10
- import { canUseDOM as T, classNames as S, validatePackage as $, shouldShowValidationUI as ye, WatermarkOverlay as ge, SvgIcon as Ce } from "@progress/kendo-react-common";
11
- import { Popup as be } from "@progress/kendo-react-popup";
12
- import { Breadcrumb as xe } from "@progress/kendo-react-layout";
13
- import { homeIcon as Se } from "@progress/kendo-svg-icons";
14
- function V(t, e) {
15
- let s = t;
16
- for (; s && s !== e; )
17
- s = s.parentNode;
18
- return !!s;
19
- }
20
- function C(t, e, s, r) {
21
- const a = t[e];
22
- if (a && Array.isArray(a)) {
23
- for (let i of a)
24
- if (!i.type || i.type !== r)
25
- return new Error(
26
- `${s} children should be Array of type ${r.displayName}.`
27
- );
28
- }
29
- return null;
30
- }
31
- const L = (t) => t === void 0 ? !1 : !t, Ee = (t) => ({
32
- x: {
33
- location: t.pageX
34
- },
35
- y: {
36
- location: t.pageY
37
- }
38
- }), Ie = (t, e) => {
39
- const s = t.pointers, r = s[0], a = r.pageX, i = r.pageY;
40
- let c = 0;
41
- if (s.length > 1) {
42
- const h = s[0], d = s[1];
43
- c = Math.sqrt(Math.pow(h.pageX - d.pageX, 2) + Math.pow(h.pageY - d.pageY, 2));
44
- }
45
- return {
46
- distance: c,
47
- event: t.srcEvent,
48
- preventDefault: function() {
49
- t.preventDefault();
50
- },
51
- target: t.target,
52
- touches: s.map(Ee),
53
- type: t.type,
54
- x: {
55
- delta: e ? a - e.x.location : 0,
56
- initialDelta: t.deltaX,
57
- location: a,
58
- startLocation: a - t.deltaX
59
- },
60
- y: {
61
- delta: e ? i - e.y.location : 0,
62
- initialDelta: t.deltaY,
63
- location: i,
64
- startLocation: i - t.deltaY
65
- }
66
- };
67
- };
68
- function ke(t, e) {
69
- for (let s = 0; s < t.length; s++)
70
- if (e[t[s]])
71
- return !0;
72
- return !1;
73
- }
74
- const P = [{
75
- end: "panend",
76
- move: "panmove",
77
- start: "panstart"
78
- }, {
79
- gesturechange: "pinchmove",
80
- gestureend: "pinchend",
81
- gesturestart: "pinchstart"
82
- }, {
83
- press: "press"
84
- }, {
85
- tap: "tap"
86
- }];
87
- class we {
88
- constructor(e, s) {
89
- this.hammerInstance = e, this.eventHandlers = {}, this.tap = this.tap.bind(this), this.press = this.press.bind(this), this.panstart = this.panstart.bind(this), this.panmove = this.panmove.bind(this), this.panend = this.panend.bind(this), this.pinchstart = this.pinchstart.bind(this), this.pinchmove = this.pinchmove.bind(this), this.pinchend = this.pinchend.bind(this), s && this.bind(s);
90
- }
91
- tap(e) {
92
- this.trigger("tap", e);
93
- }
94
- press(e) {
95
- this.trigger("press", e);
96
- }
97
- panstart(e) {
98
- delete this.previous, this.previous = this.trigger("start", e);
99
- }
100
- panmove(e) {
101
- this.previous = this.trigger("move", e);
102
- }
103
- panend(e) {
104
- this.trigger("end", e), delete this.previous;
105
- }
106
- pinchstart(e) {
107
- this.trigger("gesturestart", e);
108
- }
109
- pinchmove(e) {
110
- this.trigger("gesturechange", e);
111
- }
112
- pinchend(e) {
113
- this.trigger("gestureend", e);
114
- }
115
- trigger(e, s) {
116
- const r = Ie(s, this.previous);
117
- return this.eventHandlers[e] && this.eventHandlers[e](r), r;
118
- }
119
- bind(e = {}) {
120
- this.unbind(), this.eventHandlers = e;
121
- for (let s = 0; s < P.length; s++) {
122
- const r = P[s], a = Object.keys(r);
123
- if (ke(a, e))
124
- for (let i = 0; i < a.length; i++) {
125
- const c = r[a[i]];
126
- this.hammerInstance.on(c, this[c]);
127
- }
128
- }
129
- }
130
- unbind() {
131
- this.hammerInstance && this.hammerInstance.off(), this.eventHandlers = {};
132
- }
133
- destroy() {
134
- this.hammerInstance && (this.hammerInstance.destroy(), delete this.hammerInstance), delete this.eventHandlers;
135
- }
136
- toggleDrag(e) {
137
- this.toggle("pan", e);
138
- }
139
- toggleZoom(e) {
140
- this.toggle("pinch", e);
141
- }
142
- toggle(e, s) {
143
- this.hammerInstance && this.hammerInstance.get(e).set({
144
- enable: s
145
- });
146
- }
147
- }
148
- const Te = "Hammerjs is not loaded.Solution: http://www.telerik.com/kendo-react-ui/components/charts/troubleshooting/#toc-installation";
149
- class _e {
150
- static create(e, s) {
151
- if (typeof window != "undefined") {
152
- const r = window.Hammer;
153
- if (!r) {
154
- process.env.NODE_ENV !== "production" && console.warn(Te);
155
- return;
156
- }
157
- const a = new r(e, {
158
- recognizers: [
159
- [r.Tap],
160
- [r.Pan],
161
- [r.Pinch],
162
- [r.Press, { time: 0 }]
163
- ]
164
- });
165
- return new we(a, s);
166
- }
167
- }
168
- }
169
- class v {
170
- /**
171
- * @hidden
172
- */
173
- constructor(e) {
174
- this.target = e;
175
- }
176
- }
177
- class De extends v {
178
- /**
179
- * @hidden
180
- */
181
- constructor(e, s) {
182
- super(s), this.axis = e.axis, this.dataItem = e.dataItem, this.index = e.index, this.text = e.text, this.value = e.value;
183
- }
184
- }
185
- class f extends v {
186
- constructor() {
187
- super(...arguments), this.prevented = !1;
188
- }
189
- /* eslint-disable max-len */
190
- /**
191
- * Prevents the default action for a specified event. In this way, the source component suppresses the built-in behavior that follows the event.
192
- */
193
- preventDefault() {
194
- this.prevented = !0;
195
- }
196
- /**
197
- * Returns `true` if the event was prevented by any of its subscribers.
198
- *
199
- * @returns `true` if the default action was prevented.
200
- * Otherwise, returns `false`.
201
- */
202
- isDefaultPrevented() {
203
- return this.prevented;
204
- }
205
- }
206
- class Ae extends f {
207
- /**
208
- * @hidden
209
- */
210
- constructor(e, s) {
211
- super(s), this.axisRanges = e.axisRanges, this.nativeEvent = e.originalEvent;
212
- }
213
- }
214
- class Oe extends v {
215
- /**
216
- * @hidden
217
- */
218
- constructor(e, s) {
219
- super(s), this.axisRanges = e.axisRanges, this.nativeEvent = e.originalEvent;
220
- }
221
- }
222
- class Ne extends f {
223
- /**
224
- * @hidden
225
- */
226
- constructor(e, s) {
227
- super(s), this.axisRanges = e.axisRanges, this.nativeEvent = e.originalEvent;
228
- }
229
- }
230
- class j extends v {
231
- /**
232
- * @hidden
233
- */
234
- constructor(e, s) {
235
- super(s), this.value = e.value, this.point = e.point, this.series = e.series, this.currentState = e.currentState, this.nextState = e.nextState;
236
- }
237
- }
238
- class Le extends f {
239
- /**
240
- * @hidden
241
- */
242
- constructor(e, s) {
243
- super(s), this.series = e.series, this.seriesIndex = e.seriesIndex, this.pointIndex = e.pointIndex, this.text = e.text;
244
- }
245
- /**
246
- * If called, the series highlight is not shown as a result of hovering over the legend item.
247
- */
248
- preventDefault() {
249
- super.preventDefault();
250
- }
251
- }
252
- class Pe extends f {
253
- /**
254
- * @hidden
255
- */
256
- constructor(e, s) {
257
- super(s), this.series = e.series, this.seriesIndex = e.seriesIndex, this.pointIndex = e.pointIndex, this.text = e.text;
258
- }
259
- /**
260
- * If called, the series visibility is not toggled as a result of clicking the legend item.
261
- */
262
- preventDefault() {
263
- super.preventDefault();
264
- }
265
- }
266
- class Ke extends f {
267
- /**
268
- * @hidden
269
- */
270
- constructor(e, s) {
271
- super(s), this.series = e.series, this.seriesIndex = e.seriesIndex, this.pointIndex = e.pointIndex, this.text = e.text;
272
- }
273
- /**
274
- * @hidden
275
- */
276
- preventDefault() {
277
- super.preventDefault();
278
- }
279
- }
280
- class Re extends v {
281
- /**
282
- * Constructs the event arguments from a raw object.
283
- */
284
- constructor(e, s) {
285
- super(s), this.from = e.from, this.to = e.to;
286
- }
287
- }
288
- class Fe extends v {
289
- /**
290
- * @hidden
291
- */
292
- constructor(e, s) {
293
- super(s), this.category = e.category, this.dataItem = e.dataItem, this.series = e.series, this.value = e.value, this.visual = e.visual;
294
- }
295
- }
296
- class He extends v {
297
- /**
298
- * @hidden
299
- */
300
- constructor(e, s) {
301
- super(s), this.category = e.category, this.dataItem = e.dataItem, this.series = e.series, this.value = e.value, this.visual = e.visual;
302
- }
303
- }
304
- class Me extends v {
305
- /**
306
- * @hidden
307
- */
308
- constructor(e, s) {
309
- super(s), this.category = e.category, this.nativeEvent = e.originalEvent, this.value = e.value, this.x = e.x, this.y = e.y;
310
- }
311
- }
312
- class $e extends v {
313
- /**
314
- * @hidden
315
- */
316
- constructor(e, s) {
317
- super(s), this.category = e.category, this.nativeEvent = e.originalEvent, this.value = e.value, this.x = e.x, this.y = e.y;
318
- }
319
- }
320
- class Ve extends v {
321
- /**
322
- * @hidden
323
- */
324
- constructor(e, s) {
325
- super(s);
326
- }
327
- }
328
- class je extends f {
329
- /**
330
- * @hidden
331
- */
332
- constructor(e, s) {
333
- super(s), this.axis = e.axis, this.from = e.from, this.to = e.to;
334
- }
335
- }
336
- class Be extends v {
337
- /**
338
- * @hidden
339
- */
340
- constructor(e, s) {
341
- super(s), this.axis = e.axis, this.from = e.from, this.to = e.to;
342
- }
343
- }
344
- class qe extends f {
345
- /**
346
- * @hidden
347
- */
348
- constructor(e, s) {
349
- super(s), this.axis = e.axis, this.from = e.from, this.to = e.to;
350
- }
351
- }
352
- class Ue extends v {
353
- // tslint:enable:max-line-length
354
- /**
355
- * @hidden
356
- */
357
- constructor(e, s) {
358
- super(s), 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;
359
- }
360
- }
361
- class ze extends f {
362
- /**
363
- * @hidden
364
- */
365
- constructor(e, s) {
366
- super(s), 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;
367
- }
368
- }
369
- class We extends f {
370
- // tslint:enable:max-line-length
371
- /**
372
- * @hidden
373
- */
374
- constructor(e, s) {
375
- super(s), this.axisRanges = e.axisRanges, this.delta = e.delta, this.nativeEvent = e.originalEvent;
376
- }
377
- }
378
- class Xe extends v {
379
- // tslint:enable:max-line-length
380
- /**
381
- * @hidden
382
- */
383
- constructor(e, s) {
384
- super(s), this.axisRanges = e.axisRanges, this.nativeEvent = e.originalEvent;
385
- }
386
- }
387
- class Ye extends f {
388
- // tslint:enable:max-line-length
389
- /**
390
- * @hidden
391
- */
392
- constructor(e, s) {
393
- super(s), this.axisRanges = e.axisRanges, this.nativeEvent = e.originalEvent;
394
- }
395
- }
396
- const K = {
397
- axisLabelClick: De,
398
- drag: Ae,
399
- dragEnd: Oe,
400
- dragStart: Ne,
401
- drilldownEvent: j,
402
- legendItemHover: Le,
403
- legendItemClick: Pe,
404
- legendItemLeave: Ke,
405
- navigatorFilter: Re,
406
- noteClick: Fe,
407
- noteHover: He,
408
- plotAreaClick: Me,
409
- plotAreaHover: $e,
410
- render: Ve,
411
- select: je,
412
- selectEnd: Be,
413
- selectStart: qe,
414
- seriesClick: Ue,
415
- seriesHover: ze,
416
- zoom: We,
417
- zoomEnd: Xe,
418
- zoomStart: Ye
419
- };
420
- function Ge(t, e, s) {
421
- if (K[t])
422
- return new K[t](e, s);
423
- }
424
- class Ze {
425
- /**
426
- * @hidden
427
- */
428
- constructor(e, s) {
429
- this.sender = e, this.syntheticEvent = s;
430
- }
431
- }
432
- function B(t, e) {
433
- return new Ze(t, e);
434
- }
435
- const E = (t) => `${t.fontWeight} ${t.fontSize} ${t.fontFamily}`, R = (t) => window.getComputedStyle(t).backgroundColor, Je = (t) => t.toLowerCase().charCodeAt(0) - "a".charCodeAt(0), Qe = (t) => {
436
- const e = t.match(/series-([a-z])$/);
437
- if (e !== null)
438
- return Je(e[1]);
439
- const s = t.split("--series-")[1];
440
- return parseInt(s, 10) - 1;
441
- }, et = 30, tt = () => {
442
- let t = `
443
- <div class="k-var--series-a"></div>
444
- <div class="k-var--series-b"></div>
445
- <div class="k-var--series-c"></div>
446
- <div class="k-var--series-d"></div>
447
- <div class="k-var--series-e"></div>
448
- <div class="k-var--series-f"></div>
449
- `;
450
- for (let e = 0; e < et; e++)
451
- t += `
452
- <div class="k-var--series-${e + 1}"></div>`;
453
- return t;
454
- }, st = `
455
- <div class="k-var--primary"></div>
456
- <div class="k-var--base"></div>
457
- <div class="k-var--background"></div>
458
-
459
- <div class="k-var--normal-background"></div>
460
- <div class="k-var--normal-text-color"></div>
461
- <div class="k-var--hover-background"></div>
462
- <div class="k-var--hover-text-color"></div>
463
- <div class="k-var--selected-background"></div>
464
- <div class="k-var--selected-text-color"></div>
465
- <div class="k-var--chart-error-bars-background"></div>
466
- <div class="k-var--chart-notes-background"></div>
467
- <div class="k-var--chart-notes-border"></div>
468
- <div class="k-var--chart-notes-lines"></div>
469
- <div class="k-var--chart-crosshair-background"></div>
470
-
471
- <div class="k-var--chart-inactive"></div>
472
- <div class="k-var--chart-major-lines"></div>
473
- <div class="k-var--chart-minor-lines"></div>
474
- <div class="k-var--chart-area-opacity"></div>
475
- <div class="k-var--chart-area-inactive-opacity"></div>
476
- <div class="k-var--chart-line-inactive-opacity"></div>
477
-
478
- <div class="k-widget k-chart">
479
- <div class="k-var--chart-font"></div>
480
- <div class="k-var--chart-title-font"></div>
481
- <div class="k-var--chart-pane-title-font"></div>
482
- <div class="k-var--chart-label-font"></div>
483
- </div>
484
-
485
- <div class="k-var--series-unset"></div>
486
- <div class="k-var--series">
487
- ${tt()}
488
- </div>
489
- `;
490
- let rt = class {
491
- constructor(e) {
492
- this.store = e;
493
- }
494
- setStyle(e, s) {
495
- this.store.dispatch({ type: "set", payload: { field: e, value: s } });
496
- }
497
- setColors() {
498
- this.mapColor("axisDefaults.crosshair.color", "chart-crosshair-background"), this.mapColor("axisDefaults.labels.color", "normal-text-color"), this.mapColor("axisDefaults.line.color", "chart-major-lines"), this.mapColor("axisDefaults.majorGridLines.color", "chart-major-lines"), this.mapColor("axisDefaults.minorGridLines.color", "chart-minor-lines"), this.mapColor("axisDefaults.notes.icon.background", "chart-notes-background"), this.mapColor("axisDefaults.notes.icon.border.color", "chart-notes-border"), this.mapColor("axisDefaults.notes.line.color", "chart-notes-lines"), this.mapColor("axisDefaults.title.color", "normal-text-color"), this.mapColor("chartArea.background", "background"), this.mapColor("legend.inactiveItems.labels.color", "chart-inactive"), this.mapColor("legend.inactiveItems.markers.color", "chart-inactive"), this.mapColor("legend.labels.color", "normal-text-color"), this.mapColor("seriesDefaults.boxPlot.downColor", "chart-major-lines"), this.mapColor("seriesDefaults.boxPlot.mean.color", "base"), this.mapColor("seriesDefaults.boxPlot.median.color", "base"), this.mapColor("seriesDefaults.boxPlot.whiskers.color", "primary"), this.mapColor("seriesDefaults.bullet.target.color", "normal-text-color"), this.mapColor("seriesDefaults.candlestick.downColor", "normal-text-color"), this.mapColor("seriesDefaults.candlestick.line.color", "normal-text-color"), this.mapColor("seriesDefaults.errorBars.color", "chart-error-bars-background"), this.mapColor("seriesDefaults.horizontalWaterfall.line.color", "chart-major-lines"), this.mapColor("seriesDefaults.icon.border.color", "chart-major-lines"), this.mapColor("seriesDefaults.labels.background", "background"), this.mapColor("seriesDefaults.labels.color", "normal-text-color"), this.mapColor("seriesDefaults.notes.icon.background", "chart-notes-background"), this.mapColor("seriesDefaults.notes.icon.border.color", "chart-notes-border"), this.mapColor("seriesDefaults.notes.line.color", "chart-notes-lines"), this.mapColor("seriesDefaults.verticalBoxPlot.downColor", "chart-major-lines"), this.mapColor("seriesDefaults.verticalBoxPlot.mean.color", "base"), this.mapColor("seriesDefaults.verticalBoxPlot.median.color", "base"), this.mapColor("seriesDefaults.verticalBoxPlot.whiskers.color", "primary"), this.mapColor("seriesDefaults.verticalBullet.target.color", "normal-text-color"), this.mapColor("seriesDefaults.waterfall.line.color", "chart-major-lines"), this.mapColor("title.color", "normal-text-color"), this.mapColor("subtitle.color", "normal-text-color");
499
- const e = parseFloat(this.queryStyle("chart-area-opacity").opacity);
500
- isNaN(e) || (this.setStyle("seriesDefaults.area.opacity", e), this.setStyle("seriesDefaults.radarArea.opacity", e), this.setStyle("seriesDefaults.verticalArea.opacity", e), this.setStyle("seriesDefaults.labels.opacity", e)), this.setInactiveOpacity(["area", "verticalArea"], "chart-area-inactive-opacity"), this.setInactiveOpacity(["line", "verticalLine"], "chart-line-inactive-opacity");
501
- }
502
- setFonts() {
503
- const e = E(this.queryStyle("chart-font")), s = E(this.queryStyle("chart-title-font")), r = E(this.queryStyle("chart-pane-title-font")), a = E(this.queryStyle("chart-label-font"));
504
- this.setStyle("axisDefaults.labels.font", a), this.setStyle("axisDefaults.notes.label.font", e), this.setStyle("axisDefaults.title.font", e), this.setStyle("legend.labels.font", e), this.setStyle("seriesDefaults.labels.font", a), this.setStyle("seriesDefaults.notes.label.font", e), this.setStyle("title.font", s), this.setStyle("subtitle.font", r), this.setStyle("paneDefaults.title.font", r);
505
- }
506
- setSeriesColors() {
507
- const e = this.element, s = [].slice.call(e.querySelectorAll(".k-var--series div")), r = R(e.querySelector(".k-var--series-unset")), a = s.reduce(
508
- (i, c) => {
509
- const h = Qe(c.className), d = R(c);
510
- return d !== r && (i[h] = d), i;
511
- },
512
- []
513
- // Will populate the series colors in this array
514
- );
515
- this.setStyle("seriesColors", a);
516
- }
517
- mapColor(e, s) {
518
- this.setStyle(e, this.queryStyle(s).backgroundColor);
519
- }
520
- queryStyle(e) {
521
- const s = this.element;
522
- return window.getComputedStyle(s.querySelector(`.k-var--${e}`));
523
- }
524
- setInactiveOpacity(e, s) {
525
- const r = parseFloat(this.queryStyle(s).opacity);
526
- !isNaN(r) && r < 1 && e.forEach(
527
- (a) => this.setStyle(`seriesDefaults.${a}.highlight.inactiveOpacity`, r)
528
- );
529
- }
530
- };
531
- const nt = (t, e, s) => {
532
- const r = new rt(t);
533
- if (typeof s == "undefined") {
534
- t.dispatch({ type: "push", payload: O() });
535
- return;
536
- }
537
- const a = r.element = s.createElement("div");
538
- a.style.display = "none", a.innerHTML = st, s.body.appendChild(a);
539
- try {
540
- t.dispatch({ type: "push", payload: O() }), r.setColors(), r.setFonts(), r.setSeriesColors();
541
- } finally {
542
- s.body.removeChild(r.element), delete r.element, e();
543
- }
544
- }, at = 1e3 / 60, it = (t) => {
545
- let e, s, r = [];
546
- const a = () => e, i = (h) => {
547
- e = t(e, h), T && (window.clearTimeout(s), s = window.setTimeout(() => r.forEach((d) => d()), at));
548
- }, c = (h) => (r.push(h), () => r = r.filter((d) => d !== h));
549
- return i({}), { getState: a, dispatch: i, subscribe: c };
550
- }, I = it, q = (t, e) => e.chartCollectionIdxKey ? k.collectionConfigurationItem(t, e) : e.chartKey ? k.configurationItem(t, e) : {}, ot = (t, e) => {
551
- if (e.type)
552
- switch (e.type) {
553
- case "set":
554
- return k.themeItem(t, e);
555
- case "push":
556
- return Object.assign(t, e.payload);
557
- default:
558
- return t;
559
- }
560
- else
561
- return {};
562
- }, lt = (t, e) => {
563
- if (e.type)
564
- switch (e.type) {
565
- case "add":
566
- return [...t, e.payload];
567
- case "remove":
568
- return t.filter((s) => s !== e.payload);
569
- default:
570
- return t;
571
- }
572
- else
573
- return [];
574
- }, k = {
575
- configurationItem(t, e) {
576
- return Object.assign(t, {
577
- [e.chartKey]: e.payload
578
- });
579
- },
580
- collectionConfigurationItem(t, e) {
581
- let s = !1;
582
- const [r, a] = e.chartCollectionIdxKey.split("_"), i = t[r].map((c, h) => parseInt(a, 10) === h ? (s = !0, e.payload) : c);
583
- return s === !1 && i.splice(parseInt(a, 10), 0, e.payload), Object.assign(t, {
584
- [r]: i
585
- });
586
- },
587
- themeItem(t, e) {
588
- let s = {}, r = Object.assign(s, t);
589
- const { field: a, value: i } = e.payload, c = a.split(".");
590
- let h = c.shift();
591
- for (; c.length > 0; )
592
- s = s[h] = s[h] || {}, h = c.shift();
593
- return s[h] = i, r;
594
- }
595
- };
596
- class F {
597
- /**
598
- * @hidden
599
- */
600
- constructor(e, s) {
601
- 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 || s;
602
- }
603
- get formattedValue() {
604
- return this.format ? this.point.formatValue(this.format) : String(this.value);
605
- }
606
- }
607
- const ct = "k-chart-shared-tooltip-marker", ht = (t) => {
608
- const { categoryText: e, colorMarker: s, colspan: r, nameColumn: a, points: i } = t, c = (h, d) => /* @__PURE__ */ n.createElement("tr", { key: d }, s && /* @__PURE__ */ n.createElement("td", null, /* @__PURE__ */ n.createElement(
609
- "span",
610
- {
611
- className: ct,
612
- style: { backgroundColor: h.series.color }
613
- }
614
- )), a && /* @__PURE__ */ n.createElement("td", null, h.series.name), /* @__PURE__ */ n.createElement("td", { dangerouslySetInnerHTML: { __html: h.formattedValue } }));
615
- return /* @__PURE__ */ n.createElement("table", null, /* @__PURE__ */ n.createElement("thead", null, /* @__PURE__ */ n.createElement("tr", null, /* @__PURE__ */ n.createElement("th", { colSpan: r }, e))), /* @__PURE__ */ n.createElement("tbody", null, i.map(c)));
616
- }, y = n.createContext(null);
617
- y.displayName = "ChartContext";
618
- const dt = { horizontal: "fit", vertical: "fit" }, ut = "k-chart-tooltip", pt = "k-chart-tooltip-wrapper";
619
- class _ extends n.Component {
620
- constructor(e, s) {
621
- super(e, s), this.context = null, this.element = null, this.onChartMouseLeave = (r) => {
622
- const { syntheticEvent: a } = r;
623
- return !!V(a.relatedTarget, this.element);
624
- }, this.onMouseLeave = (r) => {
625
- const a = B(this, r);
626
- this.context.childrenObserver.trigger("onMouseLeave", a) && r.preventDefault();
627
- }, this.popupRef = (r) => {
628
- this.element = r;
629
- const a = r && r.closest(".k-animation-container");
630
- a && (a.style.transition = "initial");
631
- }, this.chartObserver = new b(this, {
632
- onMouseLeave: "onChartMouseLeave"
633
- }), s.observersStore.dispatch({
634
- type: "add",
635
- payload: this.chartObserver
636
- });
637
- }
638
- render() {
639
- const { popupShown: e, popupAlign: s, popupOffset: r, popupStyles: a, popupContent: i, className: c } = this.props, h = [ut, c].join(" ").trim();
640
- return /* @__PURE__ */ n.createElement(
641
- be,
642
- {
643
- animate: !1,
644
- popupAlign: s,
645
- offset: r,
646
- show: e,
647
- collision: dt,
648
- className: pt
649
- },
650
- /* @__PURE__ */ n.createElement(
651
- "div",
652
- {
653
- className: h,
654
- style: a,
655
- onMouseLeave: this.onMouseLeave,
656
- ref: this.popupRef
657
- },
658
- i()
659
- )
660
- );
661
- }
662
- componentWillUnmount() {
663
- this.context.observersStore.dispatch({
664
- type: "remove",
665
- payload: this.chartObserver
666
- });
667
- }
668
- }
669
- _.contextType = y;
670
- const mt = "k-chart-shared-tooltip", vt = "k-chart-tooltip-inverse";
671
- class U extends n.Component {
672
- constructor() {
673
- super(...arguments), this.context = null, this.state = {
674
- popupShown: !1
675
- }, this.chartObserver = null;
676
- }
677
- componentDidMount() {
678
- this.chartObserver = new b(this, {
679
- showTooltip: "onShowTooltip",
680
- hideTooltip: "onHideTooltip"
681
- }), this.context.observersStore.dispatch({
682
- type: "add",
683
- payload: this.chartObserver
684
- });
685
- }
686
- render() {
687
- const { popupContext: e, shared: s, className: r, ...a } = this.state, i = this.state.popupShown ? () => {
688
- const h = this.findRenderFunction();
689
- if (s)
690
- return h !== null ? h(e) : /* @__PURE__ */ n.createElement(ht, { ...e });
691
- {
692
- const d = e.point, u = this.findRenderFunctionByIndex(d.series.index);
693
- return u !== null ? u(e) : h !== null ? h(e) : /* @__PURE__ */ n.createElement(
694
- "span",
695
- {
696
- dangerouslySetInnerHTML: { __html: e.point.formattedValue }
697
- }
698
- );
699
- }
700
- } : Function.prototype, c = S({
701
- [mt]: s,
702
- [vt]: !!r
703
- });
704
- return /* @__PURE__ */ n.createElement(
705
- _,
706
- {
707
- ...a,
708
- popupContent: i,
709
- className: c
710
- }
711
- );
712
- }
713
- componentWillUnmount() {
714
- this.context.observersStore.dispatch({
715
- type: "remove",
716
- payload: this.chartObserver
717
- });
718
- }
719
- onShowTooltip(e) {
720
- const { anchor: s, style: r, shared: a, className: i, crosshair: c } = e;
721
- let h;
722
- c || (a ? h = this.createSharedTooltipContext(e) : h = this.createTooltipContext(e), this.setState({
723
- popupShown: !0,
724
- popupAlign: s.align,
725
- popupOffset: s.point,
726
- popupContext: h,
727
- popupStyles: r,
728
- className: i,
729
- shared: a
730
- }));
731
- }
732
- onHideTooltip() {
733
- this.setState({
734
- popupShown: !1,
735
- popupStyles: {},
736
- className: void 0
737
- });
738
- }
739
- createSharedTooltipContext(e) {
740
- const { points: s, categoryText: r } = e, a = s.filter((h) => typeof h.series.name != "undefined").length > 0, i = e.series.length > 1;
741
- let c = 1;
742
- return a && c++, i && c++, {
743
- categoryText: r,
744
- colorMarker: i,
745
- colspan: c,
746
- nameColumn: a,
747
- points: e.points.map((h) => new F(h, e.format))
748
- };
749
- }
750
- createTooltipContext(e) {
751
- const { point: s, format: r } = e;
752
- return { point: new F(s, r) };
753
- }
754
- findRenderFunctionByIndex(e) {
755
- const s = this.context.optionsStore.getState().series;
756
- return s !== void 0 && Array.isArray(s) && s[e] !== void 0 && s[e].hasOwnProperty("tooltip") && s[e].tooltip.hasOwnProperty("render") ? s[e].tooltip.render : null;
757
- }
758
- findRenderFunction() {
759
- const e = this.context.optionsStore.getState().tooltip;
760
- return e !== void 0 && e.hasOwnProperty("render") ? e.render : null;
761
- }
762
- }
763
- U.contextType = y;
764
- const z = (t) => t.children;
765
- z.displayName = "Container";
766
- const ft = "k-chart-crosshair-tooltip", yt = "k-chart-tooltip-inverse";
767
- class W extends n.Component {
768
- constructor(e, s) {
769
- super(e, s), this.context = null, this.state = {
770
- popupShown: !1
771
- }, this.chartObserver = new b(this, {
772
- showTooltip: "onShowTooltip",
773
- hideTooltip: "onHideTooltip"
774
- }), s.observersStore.dispatch({
775
- type: "add",
776
- payload: this.chartObserver
777
- });
778
- }
779
- render() {
780
- const { popupContend: e, className: s, ...r } = this.state, a = this.state.popupShown ? () => e : Function.prototype, i = S({
781
- [ft]: !0,
782
- [yt]: !!s
783
- });
784
- return /* @__PURE__ */ n.createElement(
785
- _,
786
- {
787
- ...r,
788
- popupContent: a,
789
- className: i
790
- }
791
- );
792
- }
793
- componentWillUnmount() {
794
- var e;
795
- (e = this.context) == null || e.observersStore.dispatch({
796
- type: "remove",
797
- payload: this.chartObserver
798
- });
799
- }
800
- onShowTooltip(e) {
801
- const { anchor: s, style: r, className: a, crosshair: i, axisName: c, axisIndex: h, value: d } = e, { name: u, index: m } = this.props;
802
- i && c === u && h === m && this.setState({
803
- popupShown: !0,
804
- popupAlign: s.align,
805
- popupOffset: s.point,
806
- popupContend: d,
807
- popupStyles: r,
808
- className: a
809
- });
810
- }
811
- onHideTooltip() {
812
- this.setState({
813
- popupShown: !1,
814
- popupStyles: {},
815
- className: void 0
816
- });
817
- }
818
- }
819
- W.contextType = y;
820
- const H = ["categoryAxis", "valueAxis", "xAxis", "yAxis"];
821
- function gt(t) {
822
- const e = {};
823
- for (let s = 0; s < H.length; s++) {
824
- const r = Ct(t, H[s]);
825
- for (let a = 0; a < r.length; a++) {
826
- const i = r[a];
827
- e[i.name + i.index] = i;
828
- }
829
- }
830
- return e;
831
- }
832
- function Ct(t, e) {
833
- const s = [];
834
- if (t[e]) {
835
- const r = [].concat(t[e]);
836
- for (let a = 0; a < r.length; a++) {
837
- const i = (r[a].crosshair || {}).tooltip;
838
- i && i.visible && s.push({
839
- index: a,
840
- name: e
841
- });
842
- }
843
- }
844
- return s;
845
- }
846
- class X extends n.Component {
847
- constructor() {
848
- super(...arguments), this.context = null, this.state = {
849
- tooltips: {}
850
- }, this.storeUnsubscriber = Function.prototype, this.subscriber = () => {
851
- var e;
852
- this.setState({
853
- tooltips: gt((e = this.context) == null ? void 0 : e.optionsStore.getState())
854
- });
855
- };
856
- }
857
- componentDidMount() {
858
- this.storeUnsubscriber = this.context.optionsStore.subscribe(this.subscriber);
859
- }
860
- render() {
861
- const { tooltips: e } = this.state, s = Object.keys(e).map((r) => /* @__PURE__ */ n.createElement(W, { ...e[r], key: r }));
862
- return /* @__PURE__ */ n.createElement(z, null, s);
863
- }
864
- componentWillUnmount() {
865
- this.storeUnsubscriber();
866
- }
867
- }
868
- X.contextType = y;
869
- const w = {
870
- name: "@progress/kendo-react-charts",
871
- productName: "KendoReact",
872
- productCodes: ["KENDOUIREACT", "KENDOUICOMPLETE"],
873
- publishDate: 1709198446,
874
- version: "",
875
- licensingDocsUrl: "https://www.telerik.com/kendo-react-ui/components/my-license/"
876
- };
877
- class x extends n.Component {
878
- constructor(e) {
879
- 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 = (s) => {
880
- this.chartInstance !== null && (this.surface = s.sender.surface, this.trigger("render", s));
881
- }, this.onDrilldown = (s) => {
882
- var c;
883
- const { series: r } = this.optionsStore.getState(), a = r.find((h) => h.name === s.series.name);
884
- if (!a.drilldownSeriesFactory)
885
- return !0;
886
- const i = "onDrilldown";
887
- if (this.props.hasOwnProperty(i)) {
888
- const h = { seriesName: a.name, drilldownValue: s.value }, d = [...((c = this.props.drilldownState) == null ? void 0 : c.steps) || [], h], u = this.props.getTarget(), m = {
889
- ...s,
890
- currentState: this.props.drilldownState,
891
- nextState: { steps: d }
892
- }, p = new j(m, u);
893
- this.props[i].call(void 0, p);
894
- }
895
- return !0;
896
- }, this.onLegendItemClick = (s) => {
897
- if (this.chartInstance !== null)
898
- if (this.props.onLegendItemClick)
899
- this.trigger("legendItemClick", s);
900
- else {
901
- const { series: r } = this.optionsStore.getState();
902
- if (!r)
903
- return;
904
- let a = {};
905
- const { seriesIndex: i, pointIndex: c } = s, h = r[i];
906
- if (c === void 0)
907
- a = Object.assign({}, h, { visible: L(h.visible) });
908
- else {
909
- const d = h.pointVisibility = h.pointVisibility || [];
910
- d[c] = L(d[c]), a = Object.assign({}, h);
911
- }
912
- this.optionsStore.dispatch({
913
- chartCollectionIdxKey: `series_${i}`,
914
- payload: a
915
- }), this.suppressTransitions = !0;
916
- }
917
- }, this.onWindowResize = () => {
918
- this.chartInstance !== null && this.chartInstance.resize();
919
- }, this.onChartMouseLeave = (s) => {
920
- const r = B(this, s);
921
- this.triggerDomEvent("onMouseLeave", r) ? s.preventDefault() : this.chartInstance !== null && this.chartInstance.hideElements();
922
- }, this.onChildMouseLeave = (s) => {
923
- const { syntheticEvent: r } = s;
924
- return this.chartInstance && !V(r.relatedTarget, this.element) && this.chartInstance.hideElements(), !1;
925
- }, $(w), this.showLicenseWatermark = ye(w), this.optionsStore = I(q), this.observersStore = I(lt), this.childrenObserver = new b(this, { onMouseLeave: "onChildMouseLeave" }), this.state = {
926
- optionsStore: this.optionsStore,
927
- observersStore: this.observersStore,
928
- childrenObserver: this.childrenObserver,
929
- drilldownState: { steps: [] }
930
- }, this.themeStore = I(ot), this.chartObserver = new b(this, {
931
- render: "onRender",
932
- legendItemClick: "onLegendItemClick",
933
- drilldown: "onDrilldown"
934
- });
935
- }
936
- /**
937
- * @hidden
938
- */
939
- get element() {
940
- return this._element;
941
- }
942
- /**
943
- * @hidden
944
- */
945
- static getDerivedStateFromProps(e, s) {
946
- return {
947
- ...s,
948
- drilldownState: e.drilldownState || []
949
- };
950
- }
951
- /**
952
- * @hidden
953
- */
954
- componentDidMount() {
955
- var s;
956
- const e = ((s = this._element) == null ? void 0 : s.ownerDocument) || document;
957
- nt(this.themeStore, this.instantiateCoreChart.bind(this), e), this.optionsUnsubscriber = this.optionsStore.subscribe(this.refresh.bind(this)), this.themeUnsubscriber = this.themeStore.subscribe(this.refresh.bind(this)), window.addEventListener("resize", this.onWindowResize);
958
- }
959
- /**
960
- * @hidden
961
- */
962
- componentWillUnmount() {
963
- this.optionsUnsubscriber(), this.themeUnsubscriber(), this.chartInstance !== null && (this.chartInstance.destroy(), this.chartInstance = null), window.removeEventListener("resize", this.onWindowResize);
964
- }
965
- /**
966
- * @hidden
967
- */
968
- componentDidUpdate(e) {
969
- const { dir: s, children: r, ...a } = this.props;
970
- if (this.chartInstance !== null) {
971
- const i = A(this), c = this.chartInstance.chartService, h = i.locale !== c._intlService.locale, d = Object.entries(e).filter((u) => u[0] !== "dir" && u[0] !== "children").some((u) => {
972
- const [m, p] = u;
973
- return !(a.hasOwnProperty(m) && a[m] === p);
974
- });
975
- h && (this.chartInstance.chartService._intlService = i, this.chartInstance.chartService.format._intlService = i, d || this.chartInstance.noTransitionsRedraw()), d && this.refresh(), e.dir !== s && this.chartInstance.setDirection(this.getDirection(s));
976
- }
977
- }
978
- /**
979
- * @hidden
980
- */
981
- render() {
982
- const { style: e = {}, className: s, wrapper: r, children: a } = this.props, i = Object.assign({}, e, { position: "relative" }), c = n.createElement(
983
- r,
984
- {
985
- className: s,
986
- style: i,
987
- key: "chartElement"
988
- },
989
- /* @__PURE__ */ n.createElement(
990
- "div",
991
- {
992
- onMouseLeave: this.onChartMouseLeave,
993
- ref: (h) => this._element = h,
994
- className: "k-chart-surface"
995
- },
996
- a
997
- ),
998
- /* @__PURE__ */ n.createElement(n.Fragment, null, this.showLicenseWatermark && /* @__PURE__ */ n.createElement(ge, null))
999
- );
1000
- return /* @__PURE__ */ n.createElement(y.Provider, { value: this.state }, /* @__PURE__ */ n.createElement(U, { key: "seriesTooltip" }), /* @__PURE__ */ n.createElement(X, { key: "crosshairTooltips" }), c);
1001
- }
1002
- /**
1003
- * @hidden
1004
- */
1005
- getDirection(e) {
1006
- return (e !== void 0 ? e : (() => T && window.getComputedStyle(this.element).direction)() || "ltr") === "rtl";
1007
- }
1008
- /**
1009
- * @hidden
1010
- */
1011
- getChartOptions() {
1012
- const {
1013
- renderAs: e,
1014
- pannable: s,
1015
- zoomable: r,
1016
- paneDefaults: a,
1017
- panes: i,
1018
- transitions: c,
1019
- seriesColors: h,
1020
- seriesDefaults: d,
1021
- axisDefaults: u,
1022
- deriveOptionsFromParent: m
1023
- } = this.props;
1024
- let p = {};
1025
- return e !== void 0 && (p.renderAs = e), s !== void 0 && (p.pannable = s), r !== void 0 && (p.zoomable = r), a !== void 0 && (p.paneDefaults = a), i !== void 0 && (p.panes = i), c !== void 0 && (p.transitions = c), h !== void 0 && (p.seriesColors = h), d !== void 0 && (p.seriesDefaults = d), u !== void 0 && (p.axisDefaults = u), p = Object.assign(p, this.optionsStore.getState()), m && (p = m(p)), p;
1026
- }
1027
- /**
1028
- * @hidden
1029
- */
1030
- refresh() {
1031
- if (this.chartInstance !== null) {
1032
- const e = this.themeStore.getState(), s = this.getChartOptions(), r = s.transitions;
1033
- this.suppressTransitions && (s.transitions = !1), this.props.onRefresh ? this.props.onRefresh.call(void 0, s, e, this.chartInstance) : this.chartInstance.setOptions(s, e), this.suppressTransitions && (s.transitions = r, this.suppressTransitions = !1);
1034
- }
1035
- }
1036
- /**
1037
- * @hidden
1038
- */
1039
- instantiateCoreChart() {
1040
- const { dir: e, chartConstructor: s } = this.props, r = this.getChartOptions();
1041
- this.chartInstance = new s(
1042
- this.element,
1043
- r,
1044
- this.themeStore.getState(),
1045
- {
1046
- rtl: this.getDirection(e),
1047
- intlService: A(this),
1048
- observer: this.chartObserver,
1049
- sender: this
1050
- }
1051
- );
1052
- }
1053
- /* Triggers public dom event handlers */
1054
- /**
1055
- * @hidden
1056
- */
1057
- trigger(e, s) {
1058
- const r = this.props.getTarget(), a = Ge(e, s, r), i = "on" + e.charAt(0).toUpperCase() + e.slice(1), c = this.observersStore.getState();
1059
- let h = !1;
1060
- for (let d = 0; d < c.length; d++)
1061
- c[d].trigger(e, s) && (h = !0);
1062
- return h === !1 && a && this.props.hasOwnProperty(i) ? (this.props[i].call(void 0, a), a.isDefaultPrevented && a.isDefaultPrevented()) : h;
1063
- }
1064
- /* Used by (event)InstanceObserver to check the wrapper for supported events */
1065
- /**
1066
- * @hidden
1067
- */
1068
- requiresHandlers(e) {
1069
- for (let s = 0; s < e.length; s++) {
1070
- const r = e[s], a = "on" + r.charAt(0).toUpperCase() + r.slice(1);
1071
- if (this.props.hasOwnProperty(a))
1072
- return !0;
1073
- }
1074
- return !1;
1075
- }
1076
- /* Triggers private dom event handlers */
1077
- /**
1078
- * @hidden
1079
- */
1080
- triggerDomEvent(e, s) {
1081
- const r = this.observersStore.getState();
1082
- let a = !1;
1083
- for (let i = 0; i < r.length; i++)
1084
- r[i].trigger(e, s) && (a = !0);
1085
- return a;
1086
- }
1087
- }
1088
- x.propTypes = {
1089
- dir: o.string,
1090
- renderAs: o.oneOf(["svg", "canvas"])
1091
- };
1092
- x.defaultProps = {
1093
- renderAs: "svg"
1094
- };
1095
- ue(x);
1096
- pe.register(_e);
1097
- class Y extends n.Component {
1098
- constructor(e, s) {
1099
- super(e, s), this.context = null, this.state = {
1100
- donutCenterStyles: null
1101
- }, this.chartObserver = new b(this, {
1102
- render: "onRender"
1103
- }), s.observersStore.dispatch({
1104
- type: "add",
1105
- payload: this.chartObserver
1106
- });
1107
- }
1108
- render() {
1109
- const { render: e } = this.props, { donutCenterStyles: s } = this.state;
1110
- let r = null;
1111
- return e && s && (r = /* @__PURE__ */ n.createElement("div", { className: "k-chart-donut-center", style: s }, /* @__PURE__ */ n.createElement(e, null))), r;
1112
- }
1113
- onRender(e) {
1114
- var m;
1115
- const s = (m = this.context) == null ? void 0 : m.optionsStore.getState().series, r = Array.isArray(s) ? s[0] : null, a = e.sender._plotArea.charts;
1116
- if (!r || r.type !== "donut" || a[0].points.length === 0)
1117
- return;
1118
- const i = a[0].points[0].sector, c = i.innerRadius, h = i.center.y - c, d = i.center.x - c, u = c * 2;
1119
- this.setState({
1120
- donutCenterStyles: {
1121
- height: u,
1122
- left: d,
1123
- top: h,
1124
- width: u
1125
- }
1126
- });
1127
- }
1128
- }
1129
- Y.contextType = y;
1130
- class vs extends n.Component {
1131
- constructor() {
1132
- super(...arguments), this._baseChart = null, this.getTarget = () => this;
1133
- }
1134
- /**
1135
- * @hidden
1136
- */
1137
- get chartInstance() {
1138
- return this._baseChart !== null ? this._baseChart.chartInstance : null;
1139
- }
1140
- /**
1141
- * The Drawing `Surface` of the Chart.
1142
- */
1143
- get surface() {
1144
- return this._baseChart !== null ? this._baseChart.surface : null;
1145
- }
1146
- /**
1147
- * The DOM element of the Chart.
1148
- */
1149
- get element() {
1150
- return this._baseChart !== null ? this._baseChart.element : null;
1151
- }
1152
- /**
1153
- * @hidden
1154
- */
1155
- render() {
1156
- const { donutCenterRender: e, children: s, className: r, ...a } = this.props;
1157
- return /* @__PURE__ */ n.createElement(
1158
- x,
1159
- {
1160
- ...a,
1161
- ref: (i) => this._baseChart = i,
1162
- chartConstructor: me,
1163
- getTarget: this.getTarget,
1164
- wrapper: "div",
1165
- className: S("k-chart k-widget", r)
1166
- },
1167
- s,
1168
- /* @__PURE__ */ n.createElement(Y, { render: e })
1169
- );
1170
- }
1171
- }
1172
- class fs extends n.Component {
1173
- constructor() {
1174
- super(...arguments), this._baseChart = null, this.deriveOptionsFromParent = (e) => {
1175
- const { type: s, data: r } = this.props, a = Object.assign({}, e, { type: s, data: r });
1176
- return N.normalizeOptions(a);
1177
- }, this.getTarget = () => this;
1178
- }
1179
- /**
1180
- * @hidden
1181
- */
1182
- get chartInstance() {
1183
- return this._baseChart !== null ? this._baseChart.chartInstance : null;
1184
- }
1185
- /**
1186
- * The Drawing `Surface` of the Sparkline.
1187
- */
1188
- get surface() {
1189
- return this._baseChart !== null ? this._baseChart.surface : null;
1190
- }
1191
- /**
1192
- * The DOM element of the Sparkline.
1193
- */
1194
- get element() {
1195
- return this._baseChart !== null ? this._baseChart.element : null;
1196
- }
1197
- /**
1198
- * @hidden
1199
- */
1200
- render() {
1201
- const { children: e, type: s, className: r, ...a } = this.props;
1202
- return /* @__PURE__ */ n.createElement(
1203
- x,
1204
- {
1205
- ...a,
1206
- ref: (i) => this._baseChart = i,
1207
- chartConstructor: N,
1208
- getTarget: this.getTarget,
1209
- wrapper: "span",
1210
- deriveOptionsFromParent: this.deriveOptionsFromParent,
1211
- className: S("k-sparkline k-widget", r)
1212
- },
1213
- e
1214
- );
1215
- }
1216
- }
1217
- const bt = {
1218
- autoBindElements: !0,
1219
- liveDrag: !1,
1220
- partialRedraw: !0
1221
- };
1222
- class ys extends n.Component {
1223
- constructor() {
1224
- super(...arguments), this._baseChart = null, this.deriveOptionsFromParent = (e) => {
1225
- const s = Object.assign({}, e.navigator || {}, bt);
1226
- return Object.assign({}, e, { navigator: s });
1227
- }, this.onRefresh = (e, s, r) => {
1228
- this.props.partialRedraw ? (r.applyOptions(e), r.bindCategories(), r.navigator.redrawSlaves()) : r.setOptions(e, s);
1229
- }, this.getTarget = () => this;
1230
- }
1231
- /**
1232
- * @hidden
1233
- */
1234
- get chartInstance() {
1235
- return this._baseChart !== null ? this._baseChart.chartInstance : null;
1236
- }
1237
- /**
1238
- * The Drawing `Surface` of the StockChart.
1239
- */
1240
- get surface() {
1241
- return this._baseChart !== null ? this._baseChart.surface : null;
1242
- }
1243
- /**
1244
- * The DOM element of the StockChart.
1245
- */
1246
- get element() {
1247
- return this._baseChart !== null ? this._baseChart.element : null;
1248
- }
1249
- /**
1250
- * @hidden
1251
- */
1252
- render() {
1253
- const { children: e, className: s, ...r } = this.props;
1254
- return /* @__PURE__ */ n.createElement(
1255
- x,
1256
- {
1257
- ...r,
1258
- ref: (a) => this._baseChart = a,
1259
- chartConstructor: ve,
1260
- getTarget: this.getTarget,
1261
- wrapper: "div",
1262
- deriveOptionsFromParent: this.deriveOptionsFromParent,
1263
- onRefresh: this.onRefresh,
1264
- className: S("k-stockchart k-widget", s)
1265
- },
1266
- e
1267
- );
1268
- }
1269
- }
1270
- class g extends n.Component {
1271
- constructor(e, s) {
1272
- super(e, s), this.optionsStore = s.optionsStore;
1273
- }
1274
- renderChildren(e, s) {
1275
- const { children: r } = e.props, { _chartKey: a, _parentStore: i } = this.props, c = {
1276
- ...e.props,
1277
- _chartCollectionIdxKey: `${a}_${s}`,
1278
- _parentStore: i
1279
- };
1280
- return n.cloneElement(e, c, r);
1281
- }
1282
- render() {
1283
- const { _chartKey: e, _parentStore: s, children: r } = this.props;
1284
- return (s || this.optionsStore).dispatch({
1285
- chartKey: e,
1286
- payload: []
1287
- }), n.Children.map(r, (i, c) => n.isValidElement(i) ? this.renderChildren(i, c) : i);
1288
- }
1289
- }
1290
- g.contextType = y;
1291
- class l extends n.Component {
1292
- constructor(e, s) {
1293
- super(e, s), this.optionsStore = s.optionsStore, this.childStore = I(q);
1294
- }
1295
- render() {
1296
- const { children: e } = this.props;
1297
- return e !== void 0 ? n.Children.map(e, (s) => n.isValidElement(s) ? this.renderChildren(s) : s) : null;
1298
- }
1299
- componentDidMount() {
1300
- this.dispatch();
1301
- }
1302
- componentDidUpdate() {
1303
- this.dispatch();
1304
- }
1305
- dispatch() {
1306
- const { _chartKey: e, _chartCollectionIdxKey: s, _parentStore: r, children: a, ...i } = this.props;
1307
- (r || this.optionsStore).dispatch({
1308
- chartKey: e,
1309
- chartCollectionIdxKey: s,
1310
- payload: Object.assign({}, i, this.childStore.getState())
1311
- });
1312
- }
1313
- renderChildren(e) {
1314
- const { children: s } = e.props, r = {
1315
- ...e.props,
1316
- _parentStore: this.childStore
1317
- };
1318
- return n.cloneElement(e, r, s);
1319
- }
1320
- }
1321
- l.contextType = y;
1322
- class xt {
1323
- /**
1324
- * @hidden
1325
- */
1326
- constructor(e) {
1327
- this.currentState = e.currentState, this.nextState = e.nextState;
1328
- }
1329
- }
1330
- const D = n.forwardRef((t, e) => {
1331
- const s = n.useRef(null), r = n.useRef(null);
1332
- n.useImperativeHandle(s, () => ({
1333
- element: r.current,
1334
- props: t
1335
- })), n.useImperativeHandle(e, () => s.current);
1336
- let i = [{
1337
- id: "0",
1338
- ...t.rootItem || {
1339
- text: "Home",
1340
- icon: /* @__PURE__ */ n.createElement(
1341
- Ce,
1342
- {
1343
- icon: Se,
1344
- style: { marginInlineEnd: "4px" }
1345
- }
1346
- )
1347
- }
1348
- }];
1349
- t.drilldownState && (i = [...i, ...t.drilldownState.steps.map((d, u) => ({ id: (u + 1).toString(), text: d.drilldownValue }))]);
1350
- const c = { ...t, data: i }, h = (d) => {
1351
- var m;
1352
- const u = "onDrilldownStateChange";
1353
- if (t.hasOwnProperty(u)) {
1354
- const p = i.findIndex((de) => de.id === d.id), ce = { steps: (((m = t.drilldownState) == null ? void 0 : m.steps) || []).slice(0, p) }, he = new xt({ currentState: t.drilldownState, nextState: ce });
1355
- t[u].call(void 0, he);
1356
- }
1357
- };
1358
- return /* @__PURE__ */ n.createElement("div", null, /* @__PURE__ */ n.createElement(xe, { ...c, onItemSelect: h }));
1359
- }), St = {
1360
- id: o.string,
1361
- style: o.object,
1362
- className: o.string,
1363
- breadcrumbOrderedList: o.elementType,
1364
- breadcrumbListItem: o.elementType,
1365
- breadcrumbDelimiter: o.elementType,
1366
- breadcrumbLink: o.elementType,
1367
- dir: o.oneOf(["ltr", "rtl"]),
1368
- disabled: o.bool,
1369
- valueField: o.string,
1370
- textField: o.string,
1371
- iconField: o.string,
1372
- iconClassField: o.string,
1373
- onItemSelect: o.func,
1374
- ariaLabel: o.string,
1375
- onDrilldownStateChange: o.func,
1376
- drilldownState: o.shape({
1377
- steps: o.array
1378
- }),
1379
- rootItem: o.object
1380
- }, Et = {
1381
- valueField: "id",
1382
- textField: "text",
1383
- iconField: "icon",
1384
- iconClassField: "iconClass",
1385
- data: []
1386
- };
1387
- D.displayName = "KendoReactChartBreadcrumb";
1388
- D.propTypes = St;
1389
- D.defaultProps = Et;
1390
- const gs = (t) => /* @__PURE__ */ n.createElement(l, { ...t, _chartKey: "chartArea" }), Cs = (t) => /* @__PURE__ */ n.createElement(l, { ...t, _chartKey: "axisDefaults" }), G = (t) => /* @__PURE__ */ n.createElement(l, { ...t });
1391
- G.displayName = "ChartCategoryAxisItem";
1392
- const It = (t) => /* @__PURE__ */ n.createElement(g, { ...t, _chartKey: "categoryAxis" });
1393
- It.propTypes = {
1394
- children: function(t, e, s) {
1395
- return C(t, e, s, G);
1396
- }
1397
- };
1398
- const bs = (t) => /* @__PURE__ */ n.createElement(l, { visible: !0, ...t, _chartKey: "legend" }), xs = (t) => /* @__PURE__ */ n.createElement(l, { visible: !0, position: "bottom", ...t, _chartKey: "navigator" }), Z = (t) => /* @__PURE__ */ n.createElement(l, { ...t });
1399
- Z.displayName = "ChartPane";
1400
- const kt = (t) => /* @__PURE__ */ n.createElement(l, { ...t, _chartKey: "paneDefaults" });
1401
- kt.displayName = "ChartPaneDefaults";
1402
- const wt = (t) => /* @__PURE__ */ n.createElement(g, { ...t, _chartKey: "panes" });
1403
- wt.propTypes = {
1404
- children: function(t, e, s) {
1405
- return C(t, e, s, Z);
1406
- }
1407
- };
1408
- const Ss = (t) => /* @__PURE__ */ n.createElement(l, { ...t, _chartKey: "plotArea" }), J = (t) => {
1409
- let e = (r) => /* @__PURE__ */ n.createElement(n.Fragment, null);
1410
- t.drilldownSeriesFactory && (e = t.drilldownSeriesFactory);
1411
- const s = (r) => {
1412
- var a, i;
1413
- return r && ((i = (a = r.drilldownState) == null ? void 0 : a.steps) == null ? void 0 : i.find(({ seriesName: c }) => c === t.name));
1414
- };
1415
- return /* @__PURE__ */ n.createElement(y.Consumer, null, (r) => s(r) ? /* @__PURE__ */ n.createElement(
1416
- e,
1417
- {
1418
- _chartCollectionIdxKey: t._chartCollectionIdxKey,
1419
- drilldownValue: s(r).drilldownValue
1420
- }
1421
- ) : /* @__PURE__ */ n.createElement(l, { ...t }));
1422
- };
1423
- J.displayName = "ChartSeriesItem";
1424
- const Tt = (t) => /* @__PURE__ */ n.createElement(g, { ...t, _chartKey: "series" });
1425
- Tt.propTypes = {
1426
- children: function(t, e, s) {
1427
- return C(t, e, s, J);
1428
- }
1429
- };
1430
- const Es = (t) => /* @__PURE__ */ n.createElement(l, { ...t, _chartKey: "seriesDefaults" }), Is = (t) => /* @__PURE__ */ n.createElement(l, { ...t, _chartKey: "subtitle" }), ks = (t) => /* @__PURE__ */ n.createElement(l, { ...t, _chartKey: "title" }), ws = (t) => /* @__PURE__ */ n.createElement(l, { visible: !0, ...t, _chartKey: "tooltip" }), Q = (t) => /* @__PURE__ */ n.createElement(l, { ...t });
1431
- Q.displayName = "ChartValueAxisItem";
1432
- const _t = (t) => /* @__PURE__ */ n.createElement(g, { ...t, _chartKey: "valueAxis" });
1433
- _t.propTypes = {
1434
- children: function(t, e, s) {
1435
- return C(t, e, s, Q);
1436
- }
1437
- };
1438
- const ee = (t) => /* @__PURE__ */ n.createElement(l, { ...t });
1439
- ee.displayName = "ChartXAxisItem";
1440
- const Dt = (t) => /* @__PURE__ */ n.createElement(g, { ...t, _chartKey: "xAxis" });
1441
- Dt.prototype = {
1442
- children: function(t, e, s) {
1443
- return C(t, e, s, ee);
1444
- }
1445
- };
1446
- const te = (t) => /* @__PURE__ */ n.createElement(l, { ...t });
1447
- te.displayName = "ChartYAxisItem";
1448
- const At = (t) => /* @__PURE__ */ n.createElement(g, { ...t, _chartKey: "yAxis" });
1449
- At.propTypes = {
1450
- children: function(t, e, s) {
1451
- return C(t, e, s, te);
1452
- }
1453
- };
1454
- const Ts = (t) => /* @__PURE__ */ n.createElement(l, { ...t, _chartKey: "zoomable" }), Ot = (t) => /* @__PURE__ */ n.createElement(l, { ...t, _chartKey: "title" });
1455
- Ot.displayName = "ChartAxisDefaultsTitle";
1456
- const Nt = (t) => /* @__PURE__ */ n.createElement(l, { ...t, _chartKey: "labels" });
1457
- Nt.displayName = "ChartAxisDefaultsLabels";
1458
- const Lt = (t) => /* @__PURE__ */ n.createElement(l, { visible: !0, ...t, _chartKey: "crosshair" });
1459
- Lt.displayName = "ChartAxisDefaultsCrosshair";
1460
- const Pt = (t) => /* @__PURE__ */ n.createElement(l, { visible: !0, ...t, _chartKey: "tooltip" });
1461
- Pt.displayName = "ChartAxisDefaultsCrosshairTooltip";
1462
- const _s = (t) => /* @__PURE__ */ n.createElement(l, { visible: !0, ...t, _chartKey: "crosshair" }), Ds = (t) => /* @__PURE__ */ n.createElement(l, { visible: !0, ...t, _chartKey: "tooltip" }), Kt = (t) => /* @__PURE__ */ n.createElement(l, { ...t, _chartKey: "title" });
1463
- Kt.displayName = "ChartCategoryAxisTitle";
1464
- const As = (t) => /* @__PURE__ */ n.createElement(l, { visible: !0, ...t, _chartKey: "labels" }), Os = (t) => /* @__PURE__ */ n.createElement(l, { ...t, _chartKey: "notes" }), Ns = (t) => /* @__PURE__ */ n.createElement(l, { ...t, _chartKey: "icon" }), Ls = (t) => /* @__PURE__ */ n.createElement(l, { ...t, _chartKey: "label" }), Ps = (t) => /* @__PURE__ */ n.createElement(l, { visible: !0, ...t, _chartKey: "rangeLabels" }), Rt = (t) => /* @__PURE__ */ n.createElement(l, { ...t, _chartKey: "title" });
1465
- Rt.displayName = "ChartPaneDefaultsTitle";
1466
- const Ft = (t) => /* @__PURE__ */ n.createElement(l, { ...t, _chartKey: "item" });
1467
- Ft.displayName = "ChartLegendItem";
1468
- const Ht = (t) => /* @__PURE__ */ n.createElement(l, { ...t, _chartKey: "title" });
1469
- Ht.displayName = "ChartLegendTitle";
1470
- const Mt = (t) => /* @__PURE__ */ n.createElement(l, { ...t, _chartKey: "inactiveItems" });
1471
- Mt.displayName = "ChartLegendInactiveItems";
1472
- const Ks = (t) => /* @__PURE__ */ n.createElement(l, { ...t, _chartKey: "tooltip" }), Rs = (t) => /* @__PURE__ */ n.createElement(l, { ...t, _chartKey: "outliers" }), Fs = (t) => /* @__PURE__ */ n.createElement(l, { ...t, _chartKey: "notes" }), Hs = (t) => /* @__PURE__ */ n.createElement(l, { ...t, _chartKey: "markers" }), Ms = (t) => /* @__PURE__ */ n.createElement(l, { visible: !0, ...t, _chartKey: "labels" }), $s = (t) => /* @__PURE__ */ n.createElement(l, { ...t, _chartKey: "highlight" }), Vs = (t) => /* @__PURE__ */ n.createElement(l, { ...t, _chartKey: "extremes" }), js = (t) => /* @__PURE__ */ n.createElement(l, { ...t, _chartKey: "errorBars" }), Bs = (t) => /* @__PURE__ */ n.createElement(l, { ...t, _chartKey: "from" }), qs = (t) => /* @__PURE__ */ n.createElement(l, { ...t, _chartKey: "to" }), Us = (t) => /* @__PURE__ */ n.createElement(l, { ...t, _chartKey: "label" }), zs = (t) => /* @__PURE__ */ n.createElement(l, { ...t, _chartKey: "icon" }), Ws = (t) => /* @__PURE__ */ n.createElement(l, { visible: !0, ...t, _chartKey: "crosshair" }), Xs = (t) => /* @__PURE__ */ n.createElement(l, { visible: !0, ...t, _chartKey: "tooltip" }), Ys = (t) => /* @__PURE__ */ n.createElement(l, { visible: !0, ...t, _chartKey: "labels" }), Gs = (t) => /* @__PURE__ */ n.createElement(l, { ...t, _chartKey: "notes" }), Zs = (t) => /* @__PURE__ */ n.createElement(l, { ...t, _chartKey: "icon" }), Js = (t) => /* @__PURE__ */ n.createElement(l, { ...t, _chartKey: "label" }), $t = (t) => /* @__PURE__ */ n.createElement(l, { ...t, _chartKey: "title" });
1473
- $t.displayName = "ChartValueAxisTitle";
1474
- const Qs = (t) => /* @__PURE__ */ n.createElement(l, { visible: !0, ...t, _chartKey: "crosshair" }), er = (t) => /* @__PURE__ */ n.createElement(l, { visible: !0, ...t, _chartKey: "tooltip" }), tr = (t) => /* @__PURE__ */ n.createElement(l, { visible: !0, ...t, _chartKey: "labels" }), sr = (t) => /* @__PURE__ */ n.createElement(l, { ...t, _chartKey: "notes" }), rr = (t) => /* @__PURE__ */ n.createElement(l, { ...t, _chartKey: "icon" }), nr = (t) => /* @__PURE__ */ n.createElement(l, { ...t, _chartKey: "label" }), Vt = (t) => /* @__PURE__ */ n.createElement(l, { ...t, _chartKey: "title" });
1475
- Vt.displayName = "ChartXAxisTitle";
1476
- const ar = (t) => /* @__PURE__ */ n.createElement(l, { visible: !0, ...t, _chartKey: "crosshair" }), ir = (t) => /* @__PURE__ */ n.createElement(l, { visible: !0, ...t, _chartKey: "tooltip" }), or = (t) => /* @__PURE__ */ n.createElement(l, { visible: !0, ...t, _chartKey: "labels" }), lr = (t) => /* @__PURE__ */ n.createElement(l, { ...t, _chartKey: "notes" }), cr = (t) => /* @__PURE__ */ n.createElement(l, { ...t, _chartKey: "icon" }), hr = (t) => /* @__PURE__ */ n.createElement(l, { ...t, _chartKey: "label" }), jt = (t) => /* @__PURE__ */ n.createElement(l, { ...t, _chartKey: "title" });
1477
- jt.displayName = "ChartYAxisTitle";
1478
- const Bt = (t) => /* @__PURE__ */ n.createElement(l, { ...t, _chartKey: "categoryAxis" });
1479
- Bt.displayName = "ChartNavigatorCategoryAxis";
1480
- const dr = (t) => /* @__PURE__ */ n.createElement(l, { ...t, _chartKey: "hint" }), qt = (t) => /* @__PURE__ */ n.createElement(l, { ...t, _chartKey: "pane" });
1481
- qt.displayName = "ChartNavigatorPane";
1482
- const ur = (t) => /* @__PURE__ */ n.createElement(l, { ...t, _chartKey: "select" }), se = (t) => /* @__PURE__ */ n.createElement(l, { ...t });
1483
- se.displayName = "ChartNavigatorSeriesItem";
1484
- const Ut = (t) => /* @__PURE__ */ n.createElement(g, { ...t, _chartKey: "series" });
1485
- Ut.propTypes = {
1486
- children: function(t, e, s) {
1487
- return C(t, e, s, se);
1488
- }
1489
- };
1490
- const pr = (t, e) => {
1491
- if (t && t.chartInstance !== null)
1492
- return t.chartInstance.findAxisByName(e);
1493
- }, mr = (t, e) => {
1494
- if (t && t.chartInstance !== null)
1495
- return t.chartInstance.findPaneByIndex(e);
1496
- }, vr = (t, e) => {
1497
- if (t && t.chartInstance !== null)
1498
- return t.chartInstance.findPaneByName(e);
1499
- }, fr = (t, e = {}) => {
1500
- if (t && t.chartInstance !== null)
1501
- return t.chartInstance.exportVisual(e);
1502
- }, zt = (t) => `${t.fontWeight} ${t.fontSize} ${t.fontFamily}`, M = (t) => window.getComputedStyle(t).backgroundColor, Wt = (t) => t.toLowerCase().charCodeAt(0) - "a".charCodeAt(0), Xt = (t) => {
1503
- const e = t.match(/series-([a-z])$/);
1504
- if (e !== null)
1505
- return Wt(e[1]);
1506
- const s = t.split("--series-")[1];
1507
- return parseInt(s, 10) - 1;
1508
- }, Yt = 30, Gt = () => {
1509
- let t = `
1510
- <div class="k-var--series-a"></div>
1511
- <div class="k-var--series-b"></div>
1512
- <div class="k-var--series-c"></div>
1513
- <div class="k-var--series-d"></div>
1514
- <div class="k-var--series-e"></div>
1515
- <div class="k-var--series-f"></div>
1516
- `;
1517
- for (let e = 0; e < Yt; e++)
1518
- t += `
1519
- <div class="k-var--series-${e + 1}"></div>`;
1520
- return t;
1521
- }, Zt = `
1522
- <div class="k-var--normal-text-color"></div>
1523
- <div class="k-widget k-chart">
1524
- <div class="k-var--chart-font"></div>
1525
- </div>
1526
- <div class="k-var--series-unset"></div>
1527
- <div class="k-var--series">
1528
- ${Gt()}
1529
- </div>
1530
- `;
1531
- class Jt {
1532
- constructor(e) {
1533
- this.store = e;
1534
- }
1535
- setStyle(e, s) {
1536
- const r = e.split(".");
1537
- let a = this.store;
1538
- r.forEach((c, h, d) => {
1539
- h < d.length - 1 && (a = a[c] = a[c] || {});
1540
- });
1541
- const i = r.pop();
1542
- i && (a[i] = s);
1543
- }
1544
- setColors() {
1545
- this.mapColor("labels.color", "normal-text-color");
1546
- }
1547
- setFonts() {
1548
- const e = zt(this.queryStyle("chart-font"));
1549
- this.setStyle("labels.font", e);
1550
- }
1551
- setSeriesColors() {
1552
- const e = this.element;
1553
- if (!e)
1554
- return;
1555
- const s = [].slice.call(e.querySelectorAll(".k-var--series div")), r = M(e.querySelector(".k-var--series-unset")), a = s.reduce(
1556
- (i, c) => {
1557
- const h = Xt(c.className), d = M(c);
1558
- return d !== r && (i[h] = d), i;
1559
- },
1560
- []
1561
- // Will populate the colors in this array
1562
- );
1563
- this.setStyle("nodesColors", a);
1564
- }
1565
- mapColor(e, s) {
1566
- this.setStyle(e, this.queryStyle(s).backgroundColor);
1567
- }
1568
- queryStyle(e) {
1569
- const s = this.element;
1570
- return window.getComputedStyle(s.querySelector(`.k-var--${e}`));
1571
- }
1572
- }
1573
- const Qt = (t, e) => {
1574
- const s = {
1575
- // TODO: Move it to themes
1576
- links: {
1577
- color: "#757575"
1578
- },
1579
- nodesColors: []
1580
- }, r = new Jt(s), a = r.element = t.createElement("div");
1581
- a.style.display = "none", a.innerHTML = Zt, t.body.appendChild(a);
1582
- try {
1583
- r.setColors(), r.setFonts(), r.setSeriesColors();
1584
- } finally {
1585
- t.body.removeChild(r.element), r.element = null, e(s);
1586
- }
1587
- }, re = o.exact({
1588
- left: o.number,
1589
- top: o.number
1590
- }), ne = {
1591
- left: o.number,
1592
- right: o.number
1593
- }, es = {
1594
- ...ne,
1595
- top: o.number,
1596
- bottom: o.number
1597
- }, ae = {
1598
- visible: o.bool,
1599
- font: o.string,
1600
- color: o.string,
1601
- opacity: o.number,
1602
- align: o.oneOf(["left", "right", "center"]),
1603
- position: o.oneOf(["inside", "before", "after"]),
1604
- padding: o.oneOfType([
1605
- o.number,
1606
- o.exact(es)
1607
- ]),
1608
- margin: o.exact(ne),
1609
- border: o.exact({
1610
- width: o.number,
1611
- color: o.string,
1612
- opacity: o.number,
1613
- dashType: o.string
1614
- }),
1615
- offset: re
1616
- }, ie = {
1617
- color: o.string,
1618
- opacity: o.number,
1619
- offset: re,
1620
- padding: o.number,
1621
- width: o.number
1622
- }, oe = {
1623
- colorType: o.oneOf(["static", "source", "target"]),
1624
- color: o.string,
1625
- opacity: o.number,
1626
- highlight: o.exact({
1627
- opacity: o.number,
1628
- inactiveOpacity: o.number
1629
- })
1630
- }, ts = o.exact({
1631
- text: o.string,
1632
- ...ae
1633
- }), ss = o.exact({
1634
- id: o.oneOfType([o.string, o.number]).isRequired,
1635
- label: ts.isRequired,
1636
- ...ie
1637
- }), rs = o.exact({
1638
- sourceId: o.oneOfType([o.string, o.number]).isRequired,
1639
- targetId: o.oneOfType([o.string, o.number]).isRequired,
1640
- value: o.number.isRequired,
1641
- ...oe
1642
- }), ns = {
1643
- data: o.exact({
1644
- nodes: o.arrayOf(ss.isRequired).isRequired,
1645
- links: o.arrayOf(rs.isRequired).isRequired
1646
- }).isRequired,
1647
- links: o.exact(oe),
1648
- nodes: o.exact(ie),
1649
- labels: o.exact(ae),
1650
- className: o.string,
1651
- style: o.object,
1652
- onNodeEnter: o.func,
1653
- onNodeLeave: o.func,
1654
- onLinkEnter: o.func,
1655
- onLinkLeave: o.func
1656
- }, as = ["nodeEnter", "nodeLeave", "linkEnter", "linkLeave"], is = (t, e) => {
1657
- t && (t.unbind(), as.forEach((s) => {
1658
- e[s] && t.bind(s, e[s]);
1659
- }));
1660
- }, le = n.forwardRef((t, e) => {
1661
- $(w);
1662
- const s = n.useRef(null), r = n.useRef(null), a = n.useRef(null), { data: i, links: c, nodes: h, labels: d } = t;
1663
- n.useEffect(() => (r.current ? r.current.setOptions({
1664
- data: i,
1665
- links: c,
1666
- nodes: h,
1667
- labels: d
1668
- }) : T && s.current && Qt(s.current.ownerDocument, (m) => {
1669
- r.current = new fe(s.current, {
1670
- data: i,
1671
- links: c,
1672
- nodes: h,
1673
- labels: d
1674
- }, m);
1675
- }), () => {
1676
- r.current && (r.current.destroy(), r.current = null);
1677
- }), [i, c, h, d]), n.useImperativeHandle(a, () => ({
1678
- get element() {
1679
- return s.current;
1680
- },
1681
- props: t
1682
- }), []), n.useImperativeHandle(e, () => a.current);
1683
- const u = n.useCallback((m) => m && ((p) => {
1684
- Object.defineProperty(p, "target", { get: () => a.current }), p.nativeEvent = p.originalEvent || null, m.call(void 0, p);
1685
- }), []);
1686
- return n.useEffect(() => {
1687
- is(r.current, {
1688
- nodeEnter: u(t.onNodeEnter),
1689
- nodeLeave: u(t.onNodeLeave),
1690
- linkEnter: u(t.onLinkEnter),
1691
- linkLeave: u(t.onLinkLeave)
1692
- });
1693
- }, [t.onNodeEnter, t.onNodeLeave, t.onLinkEnter, t.onLinkLeave]), /* @__PURE__ */ n.createElement(
1694
- "div",
1695
- {
1696
- ref: s,
1697
- className: t.className,
1698
- style: t.style
1699
- }
1700
- );
1701
- });
1702
- le.propTypes = ns;
1703
- le.displayName = "KendoReactSankey";
9
+ import { Chart as t } from "./Chart.mjs";
10
+ import { Sparkline as a } from "./Sparkline.mjs";
11
+ import { StockChart as m } from "./StockChart.mjs";
12
+ import { CollectionConfigurationComponent as i } from "./components/base/CollectionConfigurationComponent.mjs";
13
+ import { ConfigurationComponent as f } from "./components/base/ConfigurationComponent.mjs";
14
+ import { DonutCenter as h } from "./DonutCenter.mjs";
15
+ import { TooltipPoint as n } from "./tooltip/Point.mjs";
16
+ import { SeriesTooltip as v } from "./tooltip/Series.mjs";
17
+ import { CrosshairTooltip as S } from "./tooltip/Crosshair.mjs";
18
+ import { TooltipPopup as N } from "./tooltip/Popup.mjs";
19
+ import { SharedTooltipContent as T } from "./tooltip/SharedTooltipContent.mjs";
20
+ import { CrosshairTooltipContainer as c } from "./tooltip/CrosshairContainer.mjs";
21
+ import { ChartBreadcrumb as b } from "./ChartBreadcrumb.mjs";
22
+ import { exportVisual as y, findAxisByName as D, findPaneByIndex as P, findPaneByName as V } from "./methods/index.mjs";
23
+ import { ChartAxisDefaultsTitle as X } from "./components/axis-defaults/Title.mjs";
24
+ import { ChartAxisDefaultsLabels as H } from "./components/axis-defaults/Labels.mjs";
25
+ import { ChartAxisDefaultsCrosshair as Z } from "./components/axis-defaults/Crosshair.mjs";
26
+ import { ChartAxisDefaultsCrosshairTooltip as F } from "./components/axis-defaults/CrosshairTooltip.mjs";
27
+ import { ChartCategoryAxisCrosshair as M } from "./components/category-axis-item/Crosshair.mjs";
28
+ import { ChartCategoryAxisCrosshairTooltip as j } from "./components/category-axis-item/CrosshairTooltip.mjs";
29
+ import { ChartCategoryAxisTitle as z } from "./components/category-axis-item/Title.mjs";
30
+ import { ChartCategoryAxisLabels as J } from "./components/category-axis-item/Labels.mjs";
31
+ import { ChartCategoryAxisNotes as Q } from "./components/category-axis-item/Notes.mjs";
32
+ import { ChartCategoryAxisNotesIcon as W } from "./components/category-axis-item/NotesIcon.mjs";
33
+ import { ChartCategoryAxisNotesLabel as $ } from "./components/category-axis-item/NotesLabel.mjs";
34
+ import { ChartCategoryAxisRangeLabels as or } from "./components/category-axis-item/RangeLabels.mjs";
35
+ import { ChartPaneDefaultsTitle as er } from "./components/pane-defaults/Title.mjs";
36
+ import { ChartLegendItem as xr } from "./components/legend/Item.mjs";
37
+ import { ChartLegendTitle as pr } from "./components/legend/Title.mjs";
38
+ import { ChartLegendInactiveItems as sr } from "./components/legend/InactiveItems.mjs";
39
+ import { ChartSeriesItemTooltip as Cr } from "./components/series-item/Tooltip.mjs";
40
+ import { ChartSeriesItemOutliers as lr } from "./components/series-item/Outliers.mjs";
41
+ import { ChartSeriesNotes as Ar } from "./components/series-item/Notes.mjs";
42
+ import { ChartSeriesMarkers as gr } from "./components/series-item/Markers.mjs";
43
+ import { ChartSeriesLabels as Er } from "./components/series-item/Labels.mjs";
44
+ import { ChartSeriesHighlight as ur } from "./components/series-item/Highlight.mjs";
45
+ import { ChartSeriesExtremes as Lr } from "./components/series-item/Extremes.mjs";
46
+ import { ChartSeriesErrorBars as Ir } from "./components/series-item/ErrorBars.mjs";
47
+ import { ChartSeriesLabelsFrom as dr } from "./components/series-item/LabelsFrom.mjs";
48
+ import { ChartSeriesLabelsTo as Dr } from "./components/series-item/LabelsTo.mjs";
49
+ import { ChartSeriesNotesLabel as Vr } from "./components/series-item/NotesLabel.mjs";
50
+ import { ChartSeriesNotesIcon as Xr } from "./components/series-item/NotesIcon.mjs";
51
+ import { ChartValueAxisCrosshair as Hr } from "./components/value-axis-item/Crosshair.mjs";
52
+ import { ChartValueAxisCrosshairTooltip as Zr } from "./components/value-axis-item/CrosshairTooltip.mjs";
53
+ import { ChartValueAxisTitle as Fr } from "./components/value-axis-item/Title.mjs";
54
+ import { ChartValueAxisLabels as Mr } from "./components/value-axis-item/Labels.mjs";
55
+ import { ChartValueAxisNotes as jr } from "./components/value-axis-item/Notes.mjs";
56
+ import { ChartValueAxisNotesIcon as zr } from "./components/value-axis-item/NotesIcon.mjs";
57
+ import { ChartValueAxisNotesLabel as Jr } from "./components/value-axis-item/NotesLabel.mjs";
58
+ import { ChartXAxisCrosshair as Qr } from "./components/x-axis-item/Crosshair.mjs";
59
+ import { ChartXAxisCrosshairTooltip as Wr } from "./components/x-axis-item/CrosshairTooltip.mjs";
60
+ import { ChartXAxisTitle as $r } from "./components/x-axis-item/Title.mjs";
61
+ import { ChartXAxisLabels as oo } from "./components/x-axis-item/Labels.mjs";
62
+ import { ChartXAxisNotes as eo } from "./components/x-axis-item/Notes.mjs";
63
+ import { ChartXAxisNotesIcon as xo } from "./components/x-axis-item/NotesIcon.mjs";
64
+ import { ChartXAxisNotesLabel as po } from "./components/x-axis-item/NotesLabel.mjs";
65
+ import { ChartYAxisCrosshair as so } from "./components/y-axis-item/Crosshair.mjs";
66
+ import { ChartYAxisCrosshairTooltip as Co } from "./components/y-axis-item/CrosshairTooltip.mjs";
67
+ import { ChartYAxisTitle as lo } from "./components/y-axis-item/Title.mjs";
68
+ import { ChartYAxisLabels as Ao } from "./components/y-axis-item/Labels.mjs";
69
+ import { ChartYAxisNotes as go } from "./components/y-axis-item/Notes.mjs";
70
+ import { ChartYAxisNotesIcon as Eo } from "./components/y-axis-item/NotesIcon.mjs";
71
+ import { ChartYAxisNotesLabel as uo } from "./components/y-axis-item/NotesLabel.mjs";
72
+ import { ChartNavigatorCategoryAxis as Lo } from "./components/navigator/CategoryAxis.mjs";
73
+ import { ChartNavigatorHint as Io } from "./components/navigator/Hint.mjs";
74
+ import { ChartNavigatorPane as yo } from "./components/navigator/Pane.mjs";
75
+ import { ChartNavigatorSelect as Po } from "./components/navigator/Select.mjs";
76
+ import { ChartNavigatorSeries as ko } from "./components/navigator/Series.mjs";
77
+ import { ChartNavigatorSeriesItem as Yo } from "./components/navigator/SeriesItem.mjs";
78
+ import { ChartArea as Bo } from "./components/ChartArea.mjs";
79
+ import { ChartAxisDefaults as wo } from "./components/AxisDefaults.mjs";
80
+ import { ChartCategoryAxis as Ro } from "./components/CategoryAxis.mjs";
81
+ import { ChartCategoryAxisItem as Oo } from "./components/CategoryAxisItem.mjs";
82
+ import { ChartLegend as qo } from "./components/Legend.mjs";
83
+ import { ChartNavigator as Go } from "./components/Navigator.mjs";
84
+ import { ChartPane as Ko } from "./components/Pane.mjs";
85
+ import { ChartPaneDefaults as Uo } from "./components/PaneDefaults.mjs";
86
+ import { ChartPanes as _o } from "./components/Panes.mjs";
87
+ import { ChartPlotArea as rt } from "./components/PlotArea.mjs";
88
+ import { ChartSeries as tt } from "./components/Series.mjs";
89
+ import { ChartSeriesDefaults as at } from "./components/SeriesDefaults.mjs";
90
+ import { ChartSeriesItem as mt } from "./components/SeriesItem.mjs";
91
+ import { ChartSubtitle as it } from "./components/Subtitle.mjs";
92
+ import { ChartTitle as ft } from "./components/Title.mjs";
93
+ import { ChartTooltip as ht } from "./components/Tooltip.mjs";
94
+ import { ChartValueAxis as nt } from "./components/ValueAxis.mjs";
95
+ import { ChartValueAxisItem as vt } from "./components/ValueAxisItem.mjs";
96
+ import { ChartXAxis as St } from "./components/XAxis.mjs";
97
+ import { ChartXAxisItem as Nt } from "./components/XAxisItem.mjs";
98
+ import { ChartYAxis as Tt } from "./components/YAxis.mjs";
99
+ import { ChartYAxisItem as ct } from "./components/YAxisItem.mjs";
100
+ import { ChartZoomable as bt } from "./components/Zoomable.mjs";
101
+ import { AxisLabelClickEvent as yt } from "./events/axis-label-click-event.mjs";
102
+ import { DragEndEvent as Pt } from "./events/drag-end-event.mjs";
103
+ import { DragEvent as kt } from "./events/drag-event.mjs";
104
+ import { DragStartEvent as Yt } from "./events/drag-start-event.mjs";
105
+ import { DrilldownEvent as Bt } from "./events/drilldown-event.mjs";
106
+ import { DrilldownStateChangeEvent as wt } from "./events/drilldown-state-change-event.mjs";
107
+ import { LegendItemClickEvent as Rt } from "./events/legend-item-click-event.mjs";
108
+ import { LegendItemHoverEvent as Ot } from "./events/legend-item-hover-event.mjs";
109
+ import { NavigatorFilterEvent as qt } from "./events/navigator-filter-event.mjs";
110
+ import { NoteClickEvent as Gt } from "./events/note-click-event.mjs";
111
+ import { NoteHoverEvent as Kt } from "./events/note-hover-event.mjs";
112
+ import { PlotAreaClickEvent as Ut } from "./events/plot-area-click-event.mjs";
113
+ import { PlotAreaHoverEvent as _t } from "./events/plot-area-hover-event.mjs";
114
+ import { RenderEvent as re } from "./events/render-event.mjs";
115
+ import { SelectEndEvent as te } from "./events/select-end-event.mjs";
116
+ import { SelectEvent as ae } from "./events/select-event.mjs";
117
+ import { SelectStartEvent as me } from "./events/select-start-event.mjs";
118
+ import { SeriesClickEvent as ie } from "./events/series-click-event.mjs";
119
+ import { SeriesHoverEvent as fe } from "./events/series-hover-event.mjs";
120
+ import { ZoomEndEvent as he } from "./events/zoom-end-event.mjs";
121
+ import { ZoomEvent as ne } from "./events/zoom-event.mjs";
122
+ import { ZoomStartEvent as ve } from "./events/zoom-start-event.mjs";
123
+ import { Sankey as Se } from "./sankey/Sankey.mjs";
1704
124
  export {
1705
- De as AxisLabelClickEvent,
1706
- vs as Chart,
1707
- gs as ChartArea,
1708
- Cs as ChartAxisDefaults,
1709
- Lt as ChartAxisDefaultsCrosshair,
1710
- Pt as ChartAxisDefaultsCrosshairTooltip,
1711
- Nt as ChartAxisDefaultsLabels,
1712
- Ot as ChartAxisDefaultsTitle,
1713
- D as ChartBreadcrumb,
1714
- It as ChartCategoryAxis,
1715
- _s as ChartCategoryAxisCrosshair,
1716
- Ds as ChartCategoryAxisCrosshairTooltip,
1717
- G as ChartCategoryAxisItem,
1718
- As as ChartCategoryAxisLabels,
1719
- Os as ChartCategoryAxisNotes,
1720
- Ns as ChartCategoryAxisNotesIcon,
1721
- Ls as ChartCategoryAxisNotesLabel,
1722
- Ps as ChartCategoryAxisRangeLabels,
1723
- Kt as ChartCategoryAxisTitle,
1724
- bs as ChartLegend,
1725
- Mt as ChartLegendInactiveItems,
1726
- Ft as ChartLegendItem,
1727
- Ht as ChartLegendTitle,
1728
- xs as ChartNavigator,
1729
- Bt as ChartNavigatorCategoryAxis,
1730
- dr as ChartNavigatorHint,
1731
- qt as ChartNavigatorPane,
1732
- ur as ChartNavigatorSelect,
1733
- Ut as ChartNavigatorSeries,
1734
- se as ChartNavigatorSeriesItem,
1735
- Z as ChartPane,
1736
- kt as ChartPaneDefaults,
1737
- Rt as ChartPaneDefaultsTitle,
1738
- wt as ChartPanes,
1739
- Ss as ChartPlotArea,
1740
- Tt as ChartSeries,
1741
- Es as ChartSeriesDefaults,
1742
- js as ChartSeriesErrorBars,
1743
- Vs as ChartSeriesExtremes,
1744
- $s as ChartSeriesHighlight,
1745
- J as ChartSeriesItem,
1746
- Rs as ChartSeriesItemOutliers,
1747
- Ks as ChartSeriesItemTooltip,
1748
- Ms as ChartSeriesLabels,
1749
- Bs as ChartSeriesLabelsFrom,
1750
- qs as ChartSeriesLabelsTo,
1751
- Hs as ChartSeriesMarkers,
1752
- Fs as ChartSeriesNotes,
1753
- zs as ChartSeriesNotesIcon,
1754
- Us as ChartSeriesNotesLabel,
1755
- Is as ChartSubtitle,
1756
- ks as ChartTitle,
1757
- ws as ChartTooltip,
1758
- _t as ChartValueAxis,
1759
- Ws as ChartValueAxisCrosshair,
1760
- Xs as ChartValueAxisCrosshairTooltip,
1761
- Q as ChartValueAxisItem,
1762
- Ys as ChartValueAxisLabels,
1763
- Gs as ChartValueAxisNotes,
1764
- Zs as ChartValueAxisNotesIcon,
1765
- Js as ChartValueAxisNotesLabel,
1766
- $t as ChartValueAxisTitle,
1767
- Dt as ChartXAxis,
1768
- Qs as ChartXAxisCrosshair,
1769
- er as ChartXAxisCrosshairTooltip,
1770
- ee as ChartXAxisItem,
1771
- tr as ChartXAxisLabels,
1772
- sr as ChartXAxisNotes,
1773
- rr as ChartXAxisNotesIcon,
1774
- nr as ChartXAxisNotesLabel,
1775
- Vt as ChartXAxisTitle,
1776
- At as ChartYAxis,
1777
- ar as ChartYAxisCrosshair,
1778
- ir as ChartYAxisCrosshairTooltip,
1779
- te as ChartYAxisItem,
1780
- or as ChartYAxisLabels,
1781
- lr as ChartYAxisNotes,
1782
- cr as ChartYAxisNotesIcon,
1783
- hr as ChartYAxisNotesLabel,
1784
- jt as ChartYAxisTitle,
1785
- Ts as ChartZoomable,
1786
- g as CollectionConfigurationComponent,
1787
- l as ConfigurationComponent,
1788
- W as CrosshairTooltip,
1789
- X as CrosshairTooltipContainer,
1790
- Y as DonutCenter,
1791
- Oe as DragEndEvent,
1792
- Ae as DragEvent,
1793
- Ne as DragStartEvent,
1794
- j as DrilldownEvent,
1795
- xt as DrilldownStateChangeEvent,
1796
- Pe as LegendItemClickEvent,
1797
- Le as LegendItemHoverEvent,
1798
- Re as NavigatorFilterEvent,
1799
- Fe as NoteClickEvent,
1800
- He as NoteHoverEvent,
1801
- Me as PlotAreaClickEvent,
1802
- $e as PlotAreaHoverEvent,
1803
- Ve as RenderEvent,
1804
- le as Sankey,
1805
- Be as SelectEndEvent,
1806
- je as SelectEvent,
1807
- qe as SelectStartEvent,
1808
- Ue as SeriesClickEvent,
1809
- ze as SeriesHoverEvent,
1810
- U as SeriesTooltip,
1811
- ht as SharedTooltipContent,
1812
- fs as Sparkline,
1813
- ys as StockChart,
1814
- F as TooltipPoint,
1815
- _ as TooltipPopup,
1816
- Xe as ZoomEndEvent,
1817
- We as ZoomEvent,
1818
- Ye as ZoomStartEvent,
1819
- fr as exportVisual,
1820
- pr as findAxisByName,
1821
- mr as findPaneByIndex,
1822
- vr as findPaneByName
125
+ yt as AxisLabelClickEvent,
126
+ t as Chart,
127
+ Bo as ChartArea,
128
+ wo as ChartAxisDefaults,
129
+ Z as ChartAxisDefaultsCrosshair,
130
+ F as ChartAxisDefaultsCrosshairTooltip,
131
+ H as ChartAxisDefaultsLabels,
132
+ X as ChartAxisDefaultsTitle,
133
+ b as ChartBreadcrumb,
134
+ Ro as ChartCategoryAxis,
135
+ M as ChartCategoryAxisCrosshair,
136
+ j as ChartCategoryAxisCrosshairTooltip,
137
+ Oo as ChartCategoryAxisItem,
138
+ J as ChartCategoryAxisLabels,
139
+ Q as ChartCategoryAxisNotes,
140
+ W as ChartCategoryAxisNotesIcon,
141
+ $ as ChartCategoryAxisNotesLabel,
142
+ or as ChartCategoryAxisRangeLabels,
143
+ z as ChartCategoryAxisTitle,
144
+ qo as ChartLegend,
145
+ sr as ChartLegendInactiveItems,
146
+ xr as ChartLegendItem,
147
+ pr as ChartLegendTitle,
148
+ Go as ChartNavigator,
149
+ Lo as ChartNavigatorCategoryAxis,
150
+ Io as ChartNavigatorHint,
151
+ yo as ChartNavigatorPane,
152
+ Po as ChartNavigatorSelect,
153
+ ko as ChartNavigatorSeries,
154
+ Yo as ChartNavigatorSeriesItem,
155
+ Ko as ChartPane,
156
+ Uo as ChartPaneDefaults,
157
+ er as ChartPaneDefaultsTitle,
158
+ _o as ChartPanes,
159
+ rt as ChartPlotArea,
160
+ tt as ChartSeries,
161
+ at as ChartSeriesDefaults,
162
+ Ir as ChartSeriesErrorBars,
163
+ Lr as ChartSeriesExtremes,
164
+ ur as ChartSeriesHighlight,
165
+ mt as ChartSeriesItem,
166
+ lr as ChartSeriesItemOutliers,
167
+ Cr as ChartSeriesItemTooltip,
168
+ Er as ChartSeriesLabels,
169
+ dr as ChartSeriesLabelsFrom,
170
+ Dr as ChartSeriesLabelsTo,
171
+ gr as ChartSeriesMarkers,
172
+ Ar as ChartSeriesNotes,
173
+ Xr as ChartSeriesNotesIcon,
174
+ Vr as ChartSeriesNotesLabel,
175
+ it as ChartSubtitle,
176
+ ft as ChartTitle,
177
+ ht as ChartTooltip,
178
+ nt as ChartValueAxis,
179
+ Hr as ChartValueAxisCrosshair,
180
+ Zr as ChartValueAxisCrosshairTooltip,
181
+ vt as ChartValueAxisItem,
182
+ Mr as ChartValueAxisLabels,
183
+ jr as ChartValueAxisNotes,
184
+ zr as ChartValueAxisNotesIcon,
185
+ Jr as ChartValueAxisNotesLabel,
186
+ Fr as ChartValueAxisTitle,
187
+ St as ChartXAxis,
188
+ Qr as ChartXAxisCrosshair,
189
+ Wr as ChartXAxisCrosshairTooltip,
190
+ Nt as ChartXAxisItem,
191
+ oo as ChartXAxisLabels,
192
+ eo as ChartXAxisNotes,
193
+ xo as ChartXAxisNotesIcon,
194
+ po as ChartXAxisNotesLabel,
195
+ $r as ChartXAxisTitle,
196
+ Tt as ChartYAxis,
197
+ so as ChartYAxisCrosshair,
198
+ Co as ChartYAxisCrosshairTooltip,
199
+ ct as ChartYAxisItem,
200
+ Ao as ChartYAxisLabels,
201
+ go as ChartYAxisNotes,
202
+ Eo as ChartYAxisNotesIcon,
203
+ uo as ChartYAxisNotesLabel,
204
+ lo as ChartYAxisTitle,
205
+ bt as ChartZoomable,
206
+ i as CollectionConfigurationComponent,
207
+ f as ConfigurationComponent,
208
+ S as CrosshairTooltip,
209
+ c as CrosshairTooltipContainer,
210
+ h as DonutCenter,
211
+ Pt as DragEndEvent,
212
+ kt as DragEvent,
213
+ Yt as DragStartEvent,
214
+ Bt as DrilldownEvent,
215
+ wt as DrilldownStateChangeEvent,
216
+ Rt as LegendItemClickEvent,
217
+ Ot as LegendItemHoverEvent,
218
+ qt as NavigatorFilterEvent,
219
+ Gt as NoteClickEvent,
220
+ Kt as NoteHoverEvent,
221
+ Ut as PlotAreaClickEvent,
222
+ _t as PlotAreaHoverEvent,
223
+ re as RenderEvent,
224
+ Se as Sankey,
225
+ te as SelectEndEvent,
226
+ ae as SelectEvent,
227
+ me as SelectStartEvent,
228
+ ie as SeriesClickEvent,
229
+ fe as SeriesHoverEvent,
230
+ v as SeriesTooltip,
231
+ T as SharedTooltipContent,
232
+ a as Sparkline,
233
+ m as StockChart,
234
+ n as TooltipPoint,
235
+ N as TooltipPopup,
236
+ he as ZoomEndEvent,
237
+ ne as ZoomEvent,
238
+ ve as ZoomStartEvent,
239
+ y as exportVisual,
240
+ D as findAxisByName,
241
+ P as findPaneByIndex,
242
+ V as findPaneByName
1823
243
  };