vue-data-ui 3.19.9 → 3.20.0

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 (326) hide show
  1. package/dist/{A11yDataTable-q2-8fSlJ.js → A11yDataTable-BCbtxMU6.js} +1 -1
  2. package/dist/{Arrow-Cj6W6Xbi.js → Arrow-D6j6ocXm.js} +1 -1
  3. package/dist/{BaseDraggableDialog-DUUu2E2Q.js → BaseDraggableDialog-4hDW-Rj2.js} +4 -4
  4. package/dist/{BaseIcon-DM1x8hQF.js → BaseIcon-DfLoHNUj.js} +3 -3
  5. package/dist/{BaseLegendToggle-CJTwLGXL.js → BaseLegendToggle-C_Db-y7s.js} +2 -2
  6. package/dist/{BaseScanner-C7dmAref.js → BaseScanner-Dr2a1Msy.js} +1 -1
  7. package/dist/{BaseZoomControls-BkajQ8q9.js → BaseZoomControls-CG7hI_1P.js} +3 -3
  8. package/dist/{ColorPicker-DTQeqKUV.js → ColorPicker-Bjwxnvfh.js} +4 -4
  9. package/dist/{DataTable-DmE8Oo4i.js → DataTable-B--IN22e.js} +3 -3
  10. package/dist/{Legend-Gg5Q4Clb.js → Legend-Cz2uQ5gs.js} +4 -4
  11. package/dist/{NonSvgPenAndPaper-tvWXeCsd.js → NonSvgPenAndPaper-gLNJ1Lmr.js} +28 -28
  12. package/dist/{PackageVersion-Dl9W5zJD.js → PackageVersion-xcyrdRmY.js} +2 -2
  13. package/dist/{PenAndPaper-DNgm6y3l.js → PenAndPaper-DqrClVfb.js} +11 -11
  14. package/dist/{Shape-DEGOZ6GG.js → Shape-BPCJfphn.js} +1 -1
  15. package/dist/{Slicer-CPWGgGSp.js → Slicer-SHBj0VaV.js} +19 -19
  16. package/dist/{SlicerPreview-BU3ZeHjR.js → SlicerPreview-DdihbUSJ.js} +474 -361
  17. package/dist/{SparkTooltip-c2DL7gqD.js → SparkTooltip-CfE6yCad.js} +7 -7
  18. package/dist/{Title-__gWq2g6.js → Title-NWp4qB4K.js} +2 -2
  19. package/dist/{Tooltip-CuWEYGr3.js → Tooltip-BENq327o.js} +1 -1
  20. package/dist/{UserOptions-D7zR0tnR.js → UserOptions-C1NgoGu6.js} +5 -5
  21. package/dist/components/arrow.js +1 -1
  22. package/dist/components/vue-ui-3d-bar.js +1 -1
  23. package/dist/components/vue-ui-accordion.js +1 -1
  24. package/dist/components/vue-ui-age-pyramid.js +1 -1
  25. package/dist/components/vue-ui-annotator.js +1 -1
  26. package/dist/components/vue-ui-bullet.js +1 -1
  27. package/dist/components/vue-ui-bump.js +1 -1
  28. package/dist/components/vue-ui-candlestick.js +1 -1
  29. package/dist/components/vue-ui-carousel-table.js +1 -1
  30. package/dist/components/vue-ui-chestnut.js +1 -1
  31. package/dist/components/vue-ui-chord.js +1 -1
  32. package/dist/components/vue-ui-circle-pack.js +1 -1
  33. package/dist/components/vue-ui-cursor.js +1 -1
  34. package/dist/components/vue-ui-dag.js +1 -1
  35. package/dist/components/vue-ui-dashboard.js +1 -1
  36. package/dist/components/vue-ui-digits.js +1 -1
  37. package/dist/components/vue-ui-donut-evolution.js +1 -1
  38. package/dist/components/vue-ui-donut.js +1 -1
  39. package/dist/components/vue-ui-dumbbell.js +1 -1
  40. package/dist/components/vue-ui-flow.js +1 -1
  41. package/dist/components/vue-ui-funnel.js +1 -1
  42. package/dist/components/vue-ui-galaxy.js +1 -1
  43. package/dist/components/vue-ui-gauge.js +1 -1
  44. package/dist/components/vue-ui-geo.js +1 -1
  45. package/dist/components/vue-ui-gizmo.js +1 -1
  46. package/dist/components/vue-ui-heatmap.js +1 -1
  47. package/dist/components/vue-ui-history-plot.js +1 -1
  48. package/dist/components/vue-ui-horizontal-bar.js +1 -1
  49. package/dist/components/vue-ui-icon.js +1 -1
  50. package/dist/components/vue-ui-kpi.js +1 -1
  51. package/dist/components/vue-ui-mini-loader.js +1 -1
  52. package/dist/components/vue-ui-molecule.js +1 -1
  53. package/dist/components/vue-ui-mood-radar.js +1 -1
  54. package/dist/components/vue-ui-nested-donuts.js +1 -1
  55. package/dist/components/vue-ui-onion.js +1 -1
  56. package/dist/components/vue-ui-parallel-coordinate-plot.js +1 -1
  57. package/dist/components/vue-ui-pattern-seed.js +1 -1
  58. package/dist/components/vue-ui-pattern.js +1 -1
  59. package/dist/components/vue-ui-quadrant.js +1 -1
  60. package/dist/components/vue-ui-quick-chart.js +1 -1
  61. package/dist/components/vue-ui-radar.js +1 -1
  62. package/dist/components/vue-ui-rating.js +1 -1
  63. package/dist/components/vue-ui-relation-circle.js +1 -1
  64. package/dist/components/vue-ui-ridgeline.js +1 -1
  65. package/dist/components/vue-ui-rings.js +1 -1
  66. package/dist/components/vue-ui-scatter.js +1 -1
  67. package/dist/components/vue-ui-skeleton.js +1 -1
  68. package/dist/components/vue-ui-smiley.js +1 -1
  69. package/dist/components/vue-ui-spark-trend.js +1 -1
  70. package/dist/components/vue-ui-sparkbar.js +1 -1
  71. package/dist/components/vue-ui-sparkgauge.js +1 -1
  72. package/dist/components/vue-ui-sparkhistogram.js +1 -1
  73. package/dist/components/vue-ui-sparkline.js +1 -1
  74. package/dist/components/vue-ui-sparkstackbar.js +1 -1
  75. package/dist/components/vue-ui-stackbar.js +1 -1
  76. package/dist/components/vue-ui-stackline.js +1 -1
  77. package/dist/components/vue-ui-strip-plot.js +1 -1
  78. package/dist/components/vue-ui-table-heatmap.js +1 -1
  79. package/dist/components/vue-ui-table-sparkline.js +1 -1
  80. package/dist/components/vue-ui-table.js +1 -1
  81. package/dist/components/vue-ui-thermometer.js +1 -1
  82. package/dist/components/vue-ui-timer.js +1 -1
  83. package/dist/components/vue-ui-tiremarks.js +1 -1
  84. package/dist/components/vue-ui-treemap.js +1 -1
  85. package/dist/components/vue-ui-vertical-bar.js +1 -1
  86. package/dist/components/vue-ui-waffle.js +1 -1
  87. package/dist/components/vue-ui-wheel.js +1 -1
  88. package/dist/components/vue-ui-word-cloud.js +1 -1
  89. package/dist/components/vue-ui-world.js +1 -1
  90. package/dist/components/vue-ui-xy-canvas.js +1 -1
  91. package/dist/components/vue-ui-xy.js +1 -1
  92. package/dist/{dom-to-png-9WSt6hXe.js → dom-to-png-BYtB4BF3.js} +1 -1
  93. package/dist/exposedLib-CI8ji8G-.js +19 -0
  94. package/dist/{geoProjections-CQIkC70z.js → geoProjections-Czak6Jn1.js} +3 -4
  95. package/dist/{img-BjOr008R.js → img-1cKsci8e.js} +2 -2
  96. package/dist/{labelUtils-Cr97N8E1.js → labelUtils-CUctkYoA.js} +1 -1
  97. package/dist/{lib-BkiwukKO.js → lib-DUeYQsS0.js} +4 -1
  98. package/dist/{pdf-DSXSFUnK.js → pdf-D0eZ99cP.js} +1 -1
  99. package/dist/style.css +1 -1
  100. package/dist/types/vue-data-ui.d.ts +1557 -193
  101. package/dist/types/vue-ui-3d-bar.d.ts +16 -1
  102. package/dist/types/vue-ui-age-pyramid.d.ts +14 -1
  103. package/dist/types/vue-ui-annotator.d.ts +28 -6
  104. package/dist/types/vue-ui-bullet.d.ts +14 -1
  105. package/dist/types/vue-ui-bump.d.ts +16 -1
  106. package/dist/types/vue-ui-candlestick.d.ts +16 -3
  107. package/dist/types/vue-ui-carousel-table.d.ts +14 -1
  108. package/dist/types/vue-ui-chestnut.d.ts +20 -1
  109. package/dist/types/vue-ui-chord.d.ts +20 -1
  110. package/dist/types/vue-ui-circle-pack.d.ts +16 -1
  111. package/dist/types/vue-ui-dag.d.ts +20 -1
  112. package/dist/types/vue-ui-dashboard.d.ts +16 -1
  113. package/dist/types/vue-ui-donut-evolution.d.ts +16 -1
  114. package/dist/types/vue-ui-donut.d.ts +18 -1
  115. package/dist/types/vue-ui-dumbbell.d.ts +16 -1
  116. package/dist/types/vue-ui-flow.d.ts +14 -1
  117. package/dist/types/vue-ui-funnel.d.ts +14 -1
  118. package/dist/types/vue-ui-galaxy.d.ts +18 -1
  119. package/dist/types/vue-ui-gauge.d.ts +14 -1
  120. package/dist/types/vue-ui-geo.d.ts +14 -1
  121. package/dist/types/vue-ui-heatmap.d.ts +16 -1
  122. package/dist/types/vue-ui-history-plot.d.ts +18 -1
  123. package/dist/types/vue-ui-horizontal-bar.d.ts +18 -1
  124. package/dist/types/vue-ui-molecule.d.ts +16 -1
  125. package/dist/types/vue-ui-mood-radar.d.ts +14 -1
  126. package/dist/types/vue-ui-nested-donuts.d.ts +18 -1
  127. package/dist/types/vue-ui-onion.d.ts +16 -1
  128. package/dist/types/vue-ui-parallel-coordinate-plot.d.ts +18 -1
  129. package/dist/types/vue-ui-quadrant.d.ts +24 -1
  130. package/dist/types/vue-ui-quick-chart.d.ts +20 -1
  131. package/dist/types/vue-ui-radar.d.ts +16 -1
  132. package/dist/types/vue-ui-rating.d.ts +12 -1
  133. package/dist/types/vue-ui-relation-circle.d.ts +14 -1
  134. package/dist/types/vue-ui-ridgeline.d.ts +22 -1
  135. package/dist/types/vue-ui-rings.d.ts +16 -1
  136. package/dist/types/vue-ui-scatter.d.ts +16 -1
  137. package/dist/types/vue-ui-smiley.d.ts +22 -6
  138. package/dist/types/vue-ui-sparkbar.d.ts +14 -1
  139. package/dist/types/vue-ui-sparkhistogram.d.ts +14 -1
  140. package/dist/types/vue-ui-sparkline.d.ts +16 -1
  141. package/dist/types/vue-ui-sparkstackbar.d.ts +16 -1
  142. package/dist/types/vue-ui-stackbar.d.ts +22 -1
  143. package/dist/types/vue-ui-stackline.d.ts +22 -1
  144. package/dist/types/vue-ui-strip-plot.d.ts +16 -1
  145. package/dist/types/vue-ui-table-sparkline.d.ts +14 -1
  146. package/dist/types/vue-ui-table.d.ts +17 -4
  147. package/dist/types/vue-ui-thermometer.d.ts +14 -1
  148. package/dist/types/vue-ui-timer.d.ts +14 -1
  149. package/dist/types/vue-ui-tiremarks.d.ts +14 -1
  150. package/dist/types/vue-ui-treemap.d.ts +18 -1
  151. package/dist/types/vue-ui-waffle.d.ts +16 -1
  152. package/dist/types/vue-ui-wheel.d.ts +14 -1
  153. package/dist/types/vue-ui-word-cloud.d.ts +14 -1
  154. package/dist/types/vue-ui-world.d.ts +18 -1
  155. package/dist/types/vue-ui-xy-canvas.d.ts +18 -1
  156. package/dist/types/vue-ui-xy.d.ts +22 -1
  157. package/dist/{useAutoSizeLabelsInsideViewbox-dp-3Gg97.js → useAutoSizeLabelsInsideViewbox-BIVntRZp.js} +1 -1
  158. package/dist/{useConfig-ByaaSKhz.js → useConfig-DAyQk86L.js} +9 -1
  159. package/dist/{useNestedProp-Ck4hsrpu.js → useNestedProp-CNcoy38D.js} +2 -2
  160. package/dist/{useObjectBindings-BR1sGimd.js → useObjectBindings-BI7hP-BC.js} +53 -53
  161. package/dist/{usePrinter-X0yWOynH.js → usePrinter-C1Gqt_Sp.js} +2 -2
  162. package/dist/utils.js +4 -4
  163. package/dist/{vue-data-ui-nsosW-n5.js → vue-data-ui-qpQv-4uP.js} +69 -69
  164. package/dist/vue-data-ui.js +75 -75
  165. package/dist/{vue-ui-3d-bar-CTvvvgBE.js → vue-ui-3d-bar-C8cputoI.js} +312 -312
  166. package/dist/{vue-ui-accordion-BX9WL-QF.js → vue-ui-accordion-Dw4MHKVB.js} +6 -6
  167. package/dist/vue-ui-age-pyramid-Cv2Ndbb5.js +1238 -0
  168. package/dist/{vue-ui-annotator-Be3VpH8Z.js → vue-ui-annotator-DLPUAKlm.js} +66 -66
  169. package/dist/vue-ui-bullet-DLxmtMJ9.js +710 -0
  170. package/dist/{vue-ui-bump-LQuPTOlm.js → vue-ui-bump-DVaqtZbd.js} +260 -260
  171. package/dist/{vue-ui-candlestick-BeO06tlH.js → vue-ui-candlestick-CkApimw1.js} +81 -81
  172. package/dist/vue-ui-carousel-table-CbfIBWl3.js +455 -0
  173. package/dist/vue-ui-chestnut-CQT4nCFL.js +2010 -0
  174. package/dist/vue-ui-chord-8IjSrg6f.js +1391 -0
  175. package/dist/{vue-ui-circle-pack-DyTYvEg3.js → vue-ui-circle-pack-B1CpTtpw.js} +51 -51
  176. package/dist/{vue-ui-cursor-C5_wkWul.js → vue-ui-cursor-NaTj5i2-.js} +6 -6
  177. package/dist/{vue-ui-dag-mH0baWM3.js → vue-ui-dag-DH4ocx0S.js} +46 -46
  178. package/dist/{vue-ui-dashboard-F7pEuJDh.js → vue-ui-dashboard-Ckff1yim.js} +73 -73
  179. package/dist/{vue-ui-digits-BYBtwXy_.js → vue-ui-digits-DwLlJqbW.js} +6 -6
  180. package/dist/vue-ui-donut-DQdIdwRU.js +2410 -0
  181. package/dist/{vue-ui-donut-evolution-C46h0gLy.js → vue-ui-donut-evolution-MfM5kK6w.js} +417 -417
  182. package/dist/vue-ui-dumbbell-B2T4vlK-.js +1530 -0
  183. package/dist/{vue-ui-flow-BYYyk5KL.js → vue-ui-flow-CJh6f72m.js} +107 -107
  184. package/dist/vue-ui-funnel-C9gfXNCr.js +777 -0
  185. package/dist/{vue-ui-galaxy-D061gTYS.js → vue-ui-galaxy-pBR_FESJ.js} +302 -302
  186. package/dist/vue-ui-gauge-CAemxCGl.js +920 -0
  187. package/dist/{vue-ui-geo-BwOMFUVr.js → vue-ui-geo-BDQqaukJ.js} +35 -35
  188. package/dist/{vue-ui-gizmo-CQsP8Nd3.js → vue-ui-gizmo-B1ppjqPj.js} +63 -63
  189. package/dist/{vue-ui-heatmap-DOsulVoP.js → vue-ui-heatmap-BiC9xp8L.js} +259 -259
  190. package/dist/vue-ui-history-plot-iAPjlOja.js +1554 -0
  191. package/dist/vue-ui-horizontal-bar-CcgClgLg.js +1681 -0
  192. package/dist/{vue-ui-kpi-CE-JFZ1o.js → vue-ui-kpi-CJ5oyYLS.js} +6 -6
  193. package/dist/{vue-ui-mini-loader-DDJUya9e.js → vue-ui-mini-loader-CyqBt2g4.js} +5 -5
  194. package/dist/vue-ui-molecule-Cg9ZHa6b.js +925 -0
  195. package/dist/{vue-ui-mood-radar-B29gVcTN.js → vue-ui-mood-radar-N8osOTFR.js} +36 -36
  196. package/dist/vue-ui-nested-donuts-CwH3wKgX.js +1487 -0
  197. package/dist/{vue-ui-onion-MN-PjNJq.js → vue-ui-onion-C56gFjO6.js} +294 -294
  198. package/dist/{vue-ui-parallel-coordinate-plot-C9zU7MP5.js → vue-ui-parallel-coordinate-plot-C-jj819p.js} +123 -128
  199. package/dist/{vue-ui-pattern-seed-abRweCDE.js → vue-ui-pattern-seed-BB1honLm.js} +1 -1
  200. package/dist/{vue-ui-quadrant-h-QFG9O4.js → vue-ui-quadrant-DYc9xZY3.js} +443 -443
  201. package/dist/{vue-ui-quick-chart-PAVz4c9z.js → vue-ui-quick-chart-BG7kK_-q.js} +193 -193
  202. package/dist/{vue-ui-radar-D2pVd53z.js → vue-ui-radar-CgKog9Xw.js} +77 -77
  203. package/dist/{vue-ui-rating-D_QR_A3V.js → vue-ui-rating-BG4lf1z8.js} +41 -41
  204. package/dist/vue-ui-relation-circle-D-rUk-0P.js +924 -0
  205. package/dist/{vue-ui-ridgeline-DamvqiyJ.js → vue-ui-ridgeline-DPrlVJTW.js} +376 -376
  206. package/dist/{vue-ui-rings-DkHS5dwd.js → vue-ui-rings-CIvvHHsF.js} +107 -107
  207. package/dist/vue-ui-scatter-CeBQJbGx.js +2413 -0
  208. package/dist/{vue-ui-skeleton-zhkS1cmh.js → vue-ui-skeleton-BKoa_G6d.js} +44 -44
  209. package/dist/{vue-ui-smiley-rFdGxZK6.js → vue-ui-smiley-G89TxRU-.js} +14 -14
  210. package/dist/{vue-ui-spark-trend-fQ10-UvM.js → vue-ui-spark-trend-DGOrPr9I.js} +121 -121
  211. package/dist/{vue-ui-sparkbar-D5toou8V.js → vue-ui-sparkbar-BVumo-YD.js} +107 -107
  212. package/dist/{vue-ui-sparkgauge-DRZcIPYf.js → vue-ui-sparkgauge-BoCwdQcu.js} +56 -56
  213. package/dist/{vue-ui-sparkhistogram-YizEqFdN.js → vue-ui-sparkhistogram-4qXY1LXW.js} +112 -112
  214. package/dist/vue-ui-sparkline-C0kzXrwI.js +1507 -0
  215. package/dist/vue-ui-sparkstackbar-DG7hz_KM.js +662 -0
  216. package/dist/{vue-ui-stackbar-BFLCEsRk.js → vue-ui-stackbar-Dnq4l5xs.js} +296 -293
  217. package/dist/vue-ui-stackline-CaNOHQYl.js +2398 -0
  218. package/dist/{vue-ui-strip-plot-ByaDLFSL.js → vue-ui-strip-plot-D2CcJw_5.js} +79 -79
  219. package/dist/{vue-ui-table-DuA_CfGn.js → vue-ui-table-NBQrkVnO.js} +84 -84
  220. package/dist/{vue-ui-table-heatmap-BFKyJTr1.js → vue-ui-table-heatmap-CCGjbSzQ.js} +22 -22
  221. package/dist/{vue-ui-table-sparkline-Dfei_QrJ.js → vue-ui-table-sparkline-BZDkOEEl.js} +125 -125
  222. package/dist/vue-ui-thermometer-BXyHOQ7T.js +763 -0
  223. package/dist/{vue-ui-timer-9LNNDl4q.js → vue-ui-timer-CcLK1wbi.js} +29 -29
  224. package/dist/{vue-ui-tiremarks-kF0Baqia.js → vue-ui-tiremarks-B6txvBg-.js} +25 -25
  225. package/dist/{vue-ui-treemap-BexKMBhz.js → vue-ui-treemap-O3SBpD3K.js} +416 -416
  226. package/dist/{vue-ui-waffle-Dq50j_uw.js → vue-ui-waffle-DN5zG3b0.js} +289 -289
  227. package/dist/{vue-ui-wheel-BETHlWsO.js → vue-ui-wheel-CxnJGXkX.js} +134 -134
  228. package/dist/{vue-ui-word-cloud-D1AQtzmT.js → vue-ui-word-cloud-CM5yPCXb.js} +54 -54
  229. package/dist/{vue-ui-world-CcgbuSp_.js → vue-ui-world-DCPgXKxh.js} +447 -447
  230. package/dist/{vue-ui-xy-canvas-4ABYnasj.js → vue-ui-xy-canvas-BUPnRZ3C.js} +89 -88
  231. package/dist/vue-ui-xy-lfMIx0wK.js +4578 -0
  232. package/dist/{vue_ui_3d_bar-CXKqO5Ej.js → vue_ui_3d_bar-C4R7o-yX.js} +1 -1
  233. package/dist/{vue_ui_age_pyramid-BON8QI6X.js → vue_ui_age_pyramid-BY6c-oX_.js} +1 -1
  234. package/dist/{vue_ui_bullet-CE5sFT7u.js → vue_ui_bullet-ClzdLoOv.js} +1 -1
  235. package/dist/{vue_ui_bump-frnXaXul.js → vue_ui_bump-Vl-zYAtG.js} +1 -1
  236. package/dist/{vue_ui_candlestick-sY6UtOop.js → vue_ui_candlestick-J8jmJvxP.js} +1 -1
  237. package/dist/{vue_ui_chestnut-BiUZFv40.js → vue_ui_chestnut-D2oUhad6.js} +1 -1
  238. package/dist/{vue_ui_chord-DpyR_b9A.js → vue_ui_chord-DPfS1Umc.js} +1 -1
  239. package/dist/{vue_ui_circle_pack-FjH0ZQeb.js → vue_ui_circle_pack-DZC_rdfn.js} +1 -1
  240. package/dist/{vue_ui_dag-Ci_MOnvd.js → vue_ui_dag-TsJ_azQq.js} +1 -1
  241. package/dist/{vue_ui_donut-Cx2_BGcQ.js → vue_ui_donut-BDGqG07h.js} +1 -1
  242. package/dist/{vue_ui_donut_evolution-CAJefrHs.js → vue_ui_donut_evolution-D1yAAIHr.js} +1 -1
  243. package/dist/{vue_ui_dumbbell-CClzAZTN.js → vue_ui_dumbbell-Bfe_jFyi.js} +1 -1
  244. package/dist/{vue_ui_flow-CCHO1Lo9.js → vue_ui_flow-BewZjjKG.js} +1 -1
  245. package/dist/{vue_ui_funnel-h8q2mRpC.js → vue_ui_funnel-_Og4EEkO.js} +1 -1
  246. package/dist/{vue_ui_galaxy-70vtkEBw.js → vue_ui_galaxy-Ig0cc1_h.js} +1 -1
  247. package/dist/{vue_ui_gauge-C17CgfzN.js → vue_ui_gauge-Cf1RZc9q.js} +1 -1
  248. package/dist/{vue_ui_geo-C0UbQ0Lc.js → vue_ui_geo-B8TODs-G.js} +1 -1
  249. package/dist/{vue_ui_heatmap-BqPP3J4M.js → vue_ui_heatmap-B2BBBSWG.js} +1 -1
  250. package/dist/{vue_ui_history_plot-C5nytDHh.js → vue_ui_history_plot-CuN63VEc.js} +1 -1
  251. package/dist/{vue_ui_horizontal_bar-Bqxorkc_.js → vue_ui_horizontal_bar-C4J4QzXf.js} +1 -1
  252. package/dist/{vue_ui_molecule-Dka4JBOp.js → vue_ui_molecule-CO9L59SF.js} +1 -1
  253. package/dist/{vue_ui_mood_radar-Dg4ijm53.js → vue_ui_mood_radar-BA6LAKhk.js} +1 -1
  254. package/dist/{vue_ui_nested_donuts-BY9cOoHF.js → vue_ui_nested_donuts-B8csIoVO.js} +1 -1
  255. package/dist/{vue_ui_onion-DTV9cup-.js → vue_ui_onion-1FTFFS46.js} +1 -1
  256. package/dist/{vue_ui_parallel_coordinate_plot-CNWrDh96.js → vue_ui_parallel_coordinate_plot-CBiOBira.js} +1 -1
  257. package/dist/{vue_ui_quadrant-3kjYvxpj.js → vue_ui_quadrant-CDSTKTJz.js} +1 -1
  258. package/dist/{vue_ui_quick_chart--VaYQuM4.js → vue_ui_quick_chart-mZBdml3Z.js} +1 -1
  259. package/dist/{vue_ui_radar-Dxx9GJmj.js → vue_ui_radar-jafTED5j.js} +1 -1
  260. package/dist/{vue_ui_relation_circle-Cr0I2SoU.js → vue_ui_relation_circle-D0p4mXmv.js} +1 -1
  261. package/dist/{vue_ui_ridgeline-CAtYca4b.js → vue_ui_ridgeline-VM8_mx4J.js} +1 -1
  262. package/dist/{vue_ui_rings-DXC1VeX5.js → vue_ui_rings-BVgD2aMn.js} +1 -1
  263. package/dist/{vue_ui_scatter-D2S2j0ap.js → vue_ui_scatter-I0POnicu.js} +1 -1
  264. package/dist/{vue_ui_spark_trend-BHMQ6_1p.js → vue_ui_spark_trend-DxVmpkmC.js} +1 -1
  265. package/dist/{vue_ui_sparkbar-BR6hbuDE.js → vue_ui_sparkbar-z6qO--Kf.js} +1 -1
  266. package/dist/{vue_ui_sparkgauge-xfPRHnMv.js → vue_ui_sparkgauge-BX1MS3bA.js} +1 -1
  267. package/dist/{vue_ui_sparkhistogram-CJRENZ1C.js → vue_ui_sparkhistogram-BRgvKUH6.js} +1 -1
  268. package/dist/{vue_ui_sparkline-wgk7yO7E.js → vue_ui_sparkline-auZhap6Y.js} +1 -1
  269. package/dist/{vue_ui_sparkstackbar-C5qZMmAl.js → vue_ui_sparkstackbar-BOjuQnZd.js} +1 -1
  270. package/dist/{vue_ui_stackbar-BW_C3MXw.js → vue_ui_stackbar-COOrQQdK.js} +1 -1
  271. package/dist/{vue_ui_stackline-DXxzibUd.js → vue_ui_stackline-DQqKPA9z.js} +1 -1
  272. package/dist/{vue_ui_strip_plot-8ZelqC5b.js → vue_ui_strip_plot-CtJe8_gq.js} +1 -1
  273. package/dist/{vue_ui_table_heatmap-BGUjA0WA.js → vue_ui_table_heatmap-w8vx5k6f.js} +1 -1
  274. package/dist/{vue_ui_table_sparkline-i0Q-N_we.js → vue_ui_table_sparkline-DAbkUrNz.js} +1 -1
  275. package/dist/{vue_ui_thermometer-CuN7Gpez.js → vue_ui_thermometer-DxgqWKlE.js} +1 -1
  276. package/dist/{vue_ui_tiremarks-A6UHC0c3.js → vue_ui_tiremarks-CdEPieWV.js} +1 -1
  277. package/dist/{vue_ui_treemap-BQp06q-g.js → vue_ui_treemap-DoEtkRN6.js} +1 -1
  278. package/dist/{vue_ui_waffle-C_Ev4l7B.js → vue_ui_waffle-DIARFc7g.js} +1 -1
  279. package/dist/{vue_ui_wheel-DdkTPXJU.js → vue_ui_wheel-DZ_nR--t.js} +1 -1
  280. package/dist/{vue_ui_word_cloud-B1PbsYPc.js → vue_ui_word_cloud-C-qIMNLu.js} +1 -1
  281. package/dist/{vue_ui_xy-BYPqfYyx.js → vue_ui_xy-BLUkWEAm.js} +1 -1
  282. package/dist/{vue_ui_xy_canvas-CMHGNrLf.js → vue_ui_xy_canvas-Cb6dg3eK.js} +1 -1
  283. package/package.json +6 -6
  284. package/dist/exposedLib-CwWU4zv-.js +0 -19
  285. package/dist/vue-ui-age-pyramid-ckZtLlmH.js +0 -1238
  286. package/dist/vue-ui-bullet-3CkhGOSb.js +0 -710
  287. package/dist/vue-ui-carousel-table-nZJ1k6se.js +0 -455
  288. package/dist/vue-ui-chestnut-BWItE1hg.js +0 -2010
  289. package/dist/vue-ui-chord-YflKRyWK.js +0 -1391
  290. package/dist/vue-ui-donut-B3L7jeHL.js +0 -2410
  291. package/dist/vue-ui-dumbbell-xekp1obI.js +0 -1527
  292. package/dist/vue-ui-funnel-BfY509t-.js +0 -777
  293. package/dist/vue-ui-gauge-BRxZNBBS.js +0 -920
  294. package/dist/vue-ui-history-plot-CXW6lF42.js +0 -1559
  295. package/dist/vue-ui-horizontal-bar-CideXtlg.js +0 -1681
  296. package/dist/vue-ui-molecule-B1Prm5Lk.js +0 -925
  297. package/dist/vue-ui-nested-donuts-Bsx5f9Gv.js +0 -1487
  298. package/dist/vue-ui-relation-circle-BjB0J53V.js +0 -924
  299. package/dist/vue-ui-scatter-dFDowCVQ.js +0 -2413
  300. package/dist/vue-ui-sparkline-w2nclIW0.js +0 -1507
  301. package/dist/vue-ui-sparkstackbar-CTShNXhW.js +0 -662
  302. package/dist/vue-ui-stackline-CU6s-hhv.js +0 -2395
  303. package/dist/vue-ui-thermometer-biw3ivMI.js +0 -763
  304. package/dist/vue-ui-xy-BQ1YONCq.js +0 -4219
  305. /package/dist/{RecursiveCircles-DPpLel6f.js → RecursiveCircles-D6aDPmoe.js} +0 -0
  306. /package/dist/{RecursiveLabels-DBMJf_to.js → RecursiveLabels-D9rfID6q.js} +0 -0
  307. /package/dist/{RecursiveLinks-D06dBL4a.js → RecursiveLinks-BygcpDiT.js} +0 -0
  308. /package/dist/{_plugin-vue_export-helper-Dq1MygBL.js → _plugin-vue_export-helper-B3ysoDQm.js} +0 -0
  309. /package/dist/{canvas-lib-DTaADQOK.js → canvas-lib-BOP_HS11.js} +0 -0
  310. /package/dist/{patternUtils-B7BWu5bV.js → patternUtils-CS7hn6at.js} +0 -0
  311. /package/dist/{rolldown-runtime-CAFD8bLK.js → rolldown-runtime-Dy4uBu1J.js} +0 -0
  312. /package/dist/{useChartAccessibility-Do37qcw2.js → useChartAccessibility-DYqac8yF.js} +0 -0
  313. /package/dist/{useFitSvgText-C-MEdAfe.js → useFitSvgText-CT3nmlaS.js} +0 -0
  314. /package/dist/{usePanZoom-B-4M_gmY.js → usePanZoom-CYU3B4T3.js} +0 -0
  315. /package/dist/{usePrefersMotion-BywLbIko.js → usePrefersMotion-BC-CsqR1.js} +0 -0
  316. /package/dist/{useResponsive-CrAInupd.js → useResponsive-BfnK0KxU.js} +0 -0
  317. /package/dist/{useStableElementSize-0I1IpHPl.js → useStableElementSize-C7KADDKj.js} +0 -0
  318. /package/dist/{useSvgExport-Dtu973wa.js → useSvgExport-SVIsDot8.js} +0 -0
  319. /package/dist/{useTableResponsive-DrM1xqII.js → useTableResponsive-B24Uwt2E.js} +0 -0
  320. /package/dist/{useThemeCheck-rFK9Zlb_.js → useThemeCheck-C43Tcqmk.js} +0 -0
  321. /package/dist/{useTimeLabelCollider-Dm55Emzg.js → useTimeLabelCollider-AEcY4Ioe.js} +0 -0
  322. /package/dist/{useTimeLabels-C0x7zUXP.js → useTimeLabels-BmBRv27Y.js} +0 -0
  323. /package/dist/{useUserOptionState-CjPJPTg2.js → useUserOptionState-DK-_1ddE.js} +0 -0
  324. /package/dist/{vClickOutside-CbX_bC9A.js → vClickOutside-DUrZWttG.js} +0 -0
  325. /package/dist/{vue-ui-pattern-Bj-IPFr2.js → vue-ui-pattern-DKozfnVn.js} +0 -0
  326. /package/dist/{vue_ui_vertical_bar-CJSD1FZS.js → vue_ui_vertical_bar-CP-MKz1j.js} +0 -0
@@ -0,0 +1,1554 @@
1
+ import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
2
+ import { B as t, Bt as n, Ct as r, Et as i, G as a, H as ee, J as o, Lt as te, Rt as ne, S as re, W as ie, X as ae, bt as oe, h as se, i as s, ot as ce, pt as le, r as ue, t as de, x as fe, y as pe, zt as c } from "./lib-DUeYQsS0.js";
3
+ import { t as me } from "./useConfig-DAyQk86L.js";
4
+ import { t as he } from "./usePrinter-C1Gqt_Sp.js";
5
+ import { n as ge, t as _e } from "./BaseScanner-Dr2a1Msy.js";
6
+ import { t as ve } from "./useSvgExport-SVIsDot8.js";
7
+ import { t as ye } from "./useNestedProp-CNcoy38D.js";
8
+ import { t as be } from "./useThemeCheck-C43Tcqmk.js";
9
+ import { t as xe } from "./useTimeLabelCollider-AEcY4Ioe.js";
10
+ import { t as Se } from "./img-1cKsci8e.js";
11
+ import { n as Ce } from "./Title-NWp4qB4K.js";
12
+ import { t as we } from "./_plugin-vue_export-helper-B3ysoDQm.js";
13
+ import { c as Te } from "./canvas-lib-BOP_HS11.js";
14
+ import { t as Ee } from "./useResponsive-BfnK0KxU.js";
15
+ import { t as De } from "./BaseLegendToggle-C_Db-y7s.js";
16
+ import { t as Oe } from "./A11yDataTable-BCbtxMU6.js";
17
+ import { t as ke } from "./useUserOptionState-DK-_1ddE.js";
18
+ import { t as Ae } from "./useChartAccessibility-DYqac8yF.js";
19
+ import { t as je } from "./Legend-Cz2uQ5gs.js";
20
+ import { t as Me } from "./vue_ui_history_plot-CuN63VEc.js";
21
+ import { Fragment as l, Teleport as Ne, computed as u, createBlock as d, createCommentVNode as f, createElementBlock as p, createElementVNode as m, createSlots as Pe, createTextVNode as Fe, createVNode as Ie, defineAsyncComponent as h, guardReactiveProps as g, mergeProps as Le, nextTick as Re, normalizeClass as _, normalizeProps as v, normalizeStyle as y, onBeforeUnmount as ze, onMounted as Be, openBlock as b, ref as x, renderList as S, renderSlot as C, resolveDynamicComponent as Ve, shallowRef as He, toDisplayString as w, toRefs as Ue, unref as T, watch as We, watchEffect as Ge, withCtx as E } from "vue";
22
+ //#region src/components/vue-ui-history-plot.vue
23
+ var Ke = /* @__PURE__ */ e({ default: () => Nt }), qe = ["id"], Je = ["id"], Ye = ["id"], Xe = { style: { position: "relative" } }, Ze = [
24
+ "xmlns",
25
+ "viewBox",
26
+ "aria-describedby"
27
+ ], Qe = [
28
+ "x",
29
+ "y",
30
+ "width",
31
+ "height"
32
+ ], $e = { key: 1 }, et = ["id"], tt = ["stop-color"], nt = ["stop-color"], rt = ["stop-color"], it = { key: 2 }, at = [
33
+ "x1",
34
+ "x2",
35
+ "y1",
36
+ "y2",
37
+ "stroke",
38
+ "stroke-width"
39
+ ], ot = { key: 3 }, st = [
40
+ "stroke",
41
+ "stroke-width",
42
+ "x1",
43
+ "x2",
44
+ "y1",
45
+ "y2"
46
+ ], ct = [
47
+ "x",
48
+ "y",
49
+ "fill",
50
+ "font-size"
51
+ ], lt = [
52
+ "transform",
53
+ "font-size",
54
+ "fill",
55
+ "font-weight"
56
+ ], ut = { key: 6 }, dt = [
57
+ "x1",
58
+ "x2",
59
+ "y1",
60
+ "y2",
61
+ "stroke",
62
+ "stroke-width"
63
+ ], ft = { key: 7 }, pt = [
64
+ "stroke",
65
+ "stroke-width",
66
+ "x1",
67
+ "x2",
68
+ "y1",
69
+ "y2"
70
+ ], mt = [
71
+ "transform",
72
+ "fill",
73
+ "font-size",
74
+ "text-anchor"
75
+ ], ht = [
76
+ "x",
77
+ "y",
78
+ "font-size",
79
+ "fill",
80
+ "font-weight"
81
+ ], gt = [
82
+ "x1",
83
+ "x2",
84
+ "y1",
85
+ "y2",
86
+ "stroke",
87
+ "stroke-width"
88
+ ], _t = [
89
+ "x1",
90
+ "x2",
91
+ "y1",
92
+ "y2",
93
+ "stroke",
94
+ "stroke-width"
95
+ ], vt = [
96
+ "d",
97
+ "stroke",
98
+ "stroke-width"
99
+ ], yt = [
100
+ "d",
101
+ "stroke",
102
+ "stroke-width"
103
+ ], bt = [
104
+ "cx",
105
+ "cy",
106
+ "fill",
107
+ "r"
108
+ ], xt = [
109
+ "cx",
110
+ "cy",
111
+ "fill",
112
+ "r",
113
+ "stroke",
114
+ "stroke-width"
115
+ ], St = { key: 1 }, Ct = [
116
+ "x",
117
+ "y",
118
+ "font-size",
119
+ "fill",
120
+ "font-weight"
121
+ ], wt = [
122
+ "x",
123
+ "y",
124
+ "font-size",
125
+ "fill",
126
+ "font-weight",
127
+ "innerHTML"
128
+ ], Tt = { key: 2 }, Et = [
129
+ "x",
130
+ "y",
131
+ "font-size",
132
+ "font-weight",
133
+ "fill"
134
+ ], Dt = [
135
+ "cx",
136
+ "cy",
137
+ "r",
138
+ "onMouseenter",
139
+ "onMouseleave",
140
+ "onClick"
141
+ ], Ot = {
142
+ key: 0,
143
+ style: {
144
+ position: "absolute",
145
+ top: "100%",
146
+ left: "0",
147
+ width: "100%"
148
+ },
149
+ "data-dom-to-png-ignore": "",
150
+ "aria-hidden": "true"
151
+ }, kt = {
152
+ key: 5,
153
+ class: "vue-data-ui-watermark"
154
+ }, At = ["id"], jt = ["onClick"], Mt = ["innerHTML"], Nt = /* @__PURE__ */ we({
155
+ __name: "vue-ui-history-plot",
156
+ props: {
157
+ config: {
158
+ type: Object,
159
+ default() {
160
+ return {};
161
+ }
162
+ },
163
+ dataset: {
164
+ type: Array,
165
+ default() {
166
+ return [];
167
+ }
168
+ }
169
+ },
170
+ emits: [
171
+ "selectLegend",
172
+ "selectDatapoint",
173
+ "copyAlt"
174
+ ],
175
+ setup(e, { expose: we, emit: Ke }) {
176
+ let Nt = h(() => import("./Tooltip-BENq327o.js")), Pt = h(() => import("./BaseIcon-DfLoHNUj.js").then((e) => e.n)), Ft = h(() => import("./vue-ui-accordion-Dw4MHKVB.js").then((e) => e.n)), It = h(() => import("./DataTable-B--IN22e.js")), Lt = h(() => import("./PenAndPaper-DqrClVfb.js").then((e) => e.t)), Rt = h(() => import("./UserOptions-C1NgoGu6.js").then((e) => e.n)), zt = h(() => import("./PackageVersion-xcyrdRmY.js").then((e) => e.t)), Bt = h(() => import("./BaseDraggableDialog-4hDW-Rj2.js").then((e) => e.n)), { vue_ui_history_plot: Vt } = me(), { isThemeValid: Ht, warnInvalidTheme: Ut } = be(), D = e, O = x(null), Wt = x(null), Gt = x(0), Kt = x(null), qt = x(0), Jt = x(0), Yt = x(0), k = He(null), A = He(null), Xt = x(null), j = x(ee()), Zt = x(!1), Qt = x(""), M = x([]), N = x(!1), P = x(null), F = x(!1), $t = x(null), en = x(!1), I = x(null), tn = x(null), nn = x(!1), rn = x(!1), an = x(null), on = x(null), sn = x(null), cn = x(null), L = x(null), R = x(null), ln = x({
177
+ x: 0,
178
+ y: 0
179
+ }), un = x("pointer"), dn = x(!1), fn = u({
180
+ get: () => !!D.dataset && D.dataset.length,
181
+ set: (e) => e
182
+ }), pn = Ke;
183
+ Be(() => {
184
+ en.value = !0, hn();
185
+ });
186
+ let mn = u(() => !!z.value.debug);
187
+ function hn() {
188
+ if (r(D.dataset) ? (ae({
189
+ componentName: "VueUiHistoryPlot",
190
+ type: "dataset",
191
+ debug: mn.value
192
+ }), yn.value = !0) : D.dataset.forEach((e, t) => {
193
+ ce({
194
+ datasetObject: e,
195
+ requiredAttributes: ["name", "values"]
196
+ }).forEach((e) => {
197
+ fn.value = !1, ae({
198
+ componentName: "VueUiHistoryPlot",
199
+ type: "datasetSerieAttribute",
200
+ property: e,
201
+ index: t,
202
+ debug: mn.value
203
+ });
204
+ });
205
+ }), r(D.dataset) || (yn.value = z.value.loading), z.value.responsive) {
206
+ let e = Te(() => {
207
+ let { width: e, height: t } = Ee({
208
+ chart: O.value,
209
+ title: z.value.style.chart.title.text ? Wt.value : null,
210
+ noTitle: Xt.value,
211
+ legend: z.value.style.chart.legend.show ? Kt.value : null,
212
+ source: $t.value
213
+ });
214
+ requestAnimationFrame(() => {
215
+ W.value.width = e, W.value.height = t, z.value.responsiveProportionalSizing ? (K.value.plots = c({
216
+ relator: Math.min(e, t),
217
+ adjuster: 600,
218
+ source: z.value.style.chart.plots.radius,
219
+ threshold: 3,
220
+ fallback: 3
221
+ }), K.value.indexLabels = c({
222
+ relator: Math.min(e, t),
223
+ adjuster: 600,
224
+ source: z.value.style.chart.plots.indexLabels.fontSize,
225
+ threshold: 6,
226
+ fallback: 6
227
+ }), K.value.labels = c({
228
+ relator: Math.min(e, t),
229
+ adjuster: 600,
230
+ source: z.value.style.chart.plots.labels.fontSize,
231
+ threshold: 6,
232
+ fallback: 6
233
+ }), K.value.xAxisLabels = c({
234
+ relator: Math.min(e, t),
235
+ adjuster: 600,
236
+ source: z.value.style.chart.axes.x.labels.fontSize,
237
+ threshold: 6,
238
+ fallback: 6
239
+ }), K.value.xAxisName = c({
240
+ relator: Math.min(e, t),
241
+ adjuster: 600,
242
+ source: z.value.style.chart.axes.x.name.fontSize,
243
+ threshold: 6,
244
+ fallback: 6
245
+ }), K.value.yAxisLabels = c({
246
+ relator: Math.min(e, t),
247
+ adjuster: 600,
248
+ source: z.value.style.chart.axes.y.labels.fontSize,
249
+ threshold: 6,
250
+ fallback: 6
251
+ }), K.value.yAxisName = c({
252
+ relator: Math.min(e, t),
253
+ adjuster: 600,
254
+ source: z.value.style.chart.axes.y.name.fontSize,
255
+ threshold: 6,
256
+ fallback: 6
257
+ })) : (K.value.plots = z.value.style.chart.plots.radius, K.value.indexLabels = z.value.style.chart.plots.indexLabels.fontSize, K.value.labels = z.value.style.chart.plots.labels.fontSize, K.value.xAxisLabels = z.value.style.chart.axes.x.labels.fontSize, K.value.xAxisName = z.value.style.chart.axes.x.name.fontSize, K.value.yAxisLabels = z.value.style.chart.axes.y.labels.fontSize, K.value.yAxisName = z.value.style.chart.axes.y.name.fontSize);
258
+ });
259
+ });
260
+ k.value && (A.value && k.value.unobserve(A.value), k.value.disconnect()), k.value = new ResizeObserver(e), A.value = O.value.parentNode, k.value.observe(A.value);
261
+ }
262
+ }
263
+ ze(() => {
264
+ k.value && (A.value && k.value.unobserve(A.value), k.value.disconnect());
265
+ });
266
+ function gn() {
267
+ let e = ye({
268
+ userConfig: D.config,
269
+ defaultConfig: Vt
270
+ }), t = {}, n = e.theme;
271
+ if (n) if (!Ht.value(e)) Ut(e), t = e;
272
+ else {
273
+ let r = ye({
274
+ userConfig: Me[n] || D.config,
275
+ defaultConfig: e
276
+ });
277
+ t = {
278
+ ...ye({
279
+ userConfig: D.config,
280
+ defaultConfig: r
281
+ }),
282
+ customPalette: e.customPalette.length ? e.customPalette : ne[n] || i
283
+ };
284
+ }
285
+ else t = e;
286
+ return t;
287
+ }
288
+ let z = x(gn()), B = u(() => z.value.userOptions.useCursorPointer), _n = u(() => n({
289
+ defaultConfig: {
290
+ userOptions: { show: !1 },
291
+ table: { show: !1 },
292
+ style: { chart: {
293
+ backgroundColor: "#99999930",
294
+ axes: {
295
+ x: {
296
+ scaleMin: 0,
297
+ scaleMax: 10,
298
+ labels: { show: !1 },
299
+ name: { text: "" }
300
+ },
301
+ y: {
302
+ scaleMin: 0,
303
+ scaleMax: 10,
304
+ labels: { show: !1 },
305
+ name: { text: "" }
306
+ }
307
+ },
308
+ grid: {
309
+ xAxis: { stroke: "#6A6A6A" },
310
+ horizontalLines: { stroke: "#6A6A6A50" },
311
+ yAxis: { stroke: "#6A6A6A" },
312
+ verticalLines: { stroke: "#6A6A6A50" }
313
+ },
314
+ legend: { backgroundColor: "transparent" },
315
+ paths: {
316
+ useSerieColor: !1,
317
+ stroke: "#6A6A6A"
318
+ },
319
+ plots: {
320
+ stroke: "#6A6A6A",
321
+ indexLabels: { show: !1 },
322
+ labels: { show: !1 }
323
+ }
324
+ } }
325
+ },
326
+ userConfig: z.value.skeletonConfig ?? {}
327
+ })), { loading: V, FINAL_DATASET: vn, manualLoading: yn } = ge({
328
+ ...Ue(D),
329
+ FINAL_CONFIG: z,
330
+ prepareConfig: gn,
331
+ skeletonDataset: D.config?.skeletonDataset ?? [{
332
+ name: "",
333
+ color: "#CACACA",
334
+ values: [
335
+ {
336
+ label: "",
337
+ x: 1,
338
+ y: 9
339
+ },
340
+ {
341
+ label: "",
342
+ x: 4,
343
+ y: 1
344
+ },
345
+ {
346
+ label: "",
347
+ x: 7,
348
+ y: 9
349
+ },
350
+ {
351
+ label: "",
352
+ x: 9,
353
+ y: 4
354
+ }
355
+ ]
356
+ }],
357
+ skeletonConfig: n({
358
+ defaultConfig: z.value,
359
+ userConfig: _n.value
360
+ })
361
+ }), { userOptionsVisible: bn, setUserOptionsVisibility: xn, keepUserOptionState: Sn } = ke({ config: z.value }), { svgRef: H } = Ae({ config: z.value.style.chart.title });
362
+ We(() => D.config, (e) => {
363
+ V.value || (z.value = gn()), bn.value = !z.value.userOptions.showOnChartHover, hn(), Gt.value += 1, Jt.value += 1, qt.value += 1, W.value.height = z.value.style.chart.height, W.value.width = z.value.style.chart.width, K.value.plots = z.value.style.chart.plots.radius, K.value.indexLabels = z.value.style.chart.plots.indexLabels.fontSize, K.value.labels = z.value.style.chart.plots.labels.fontSize, K.value.xAxisLabels = z.value.style.chart.axes.x.labels.fontSize, K.value.xAxisName = z.value.style.chart.axes.x.name.fontSize, K.value.yAxisLabels = z.value.style.chart.axes.y.labels.fontSize, K.value.yAxisName = z.value.style.chart.axes.y.name.fontSize, U.value.showTable = z.value.table.show, U.value.showTooltip = z.value.style.chart.tooltip.show;
364
+ }, { deep: !0 }), We(() => D.dataset, (e) => {
365
+ Array.isArray(e) && e.length > 0 && (yn.value = !1);
366
+ }, { deep: !0 });
367
+ let { isPrinting: Cn, isImaging: wn, generatePdf: Tn, generateImage: En } = he({
368
+ elementId: `history_plot_${j.value}`,
369
+ fileName: z.value.style.chart.title.text || "vue-ui-history-plot",
370
+ options: z.value.userOptions.print
371
+ }), Dn = u(() => z.value.userOptions.show && !z.value.style.chart.title.text), On = u(() => fe(z.value.customPalette)), U = x({
372
+ showTable: z.value.table.show,
373
+ showTooltip: z.value.style.chart.tooltip.show
374
+ });
375
+ We(z, () => {
376
+ U.value = {
377
+ showTable: z.value.table.show,
378
+ showTooltip: z.value.style.chart.tooltip.show
379
+ };
380
+ }, { immediate: !0 });
381
+ let W = x({
382
+ height: z.value.style.chart.height,
383
+ width: z.value.style.chart.width
384
+ }), kn = u(() => W.value.width), An = u(() => W.value.height);
385
+ function jn() {
386
+ let e = 0;
387
+ cn.value && (e = Array.from(cn.value.querySelectorAll("text")).reduce((e, t) => {
388
+ let n = t.getComputedTextLength();
389
+ return n > e ? n : e;
390
+ }, 0));
391
+ let t = on.value ? on.value.getBoundingClientRect().width : 0;
392
+ return e + t + (t ? 24 : 0);
393
+ }
394
+ let Mn = x(0), Nn = Te((e) => {
395
+ Mn.value = e;
396
+ });
397
+ Ge((e) => {
398
+ let t = sn.value;
399
+ if (!t) return;
400
+ let n = new ResizeObserver((e) => {
401
+ Nn(e[0].contentRect.height);
402
+ });
403
+ n.observe(t), e(() => n.disconnect());
404
+ });
405
+ let Pn = u(() => {
406
+ let e = 0;
407
+ an.value && (e = an.value.getBBox().height + K.value.xAxisName / 2);
408
+ let t = 0;
409
+ return sn.value && (t = Mn.value), e + t;
410
+ }), G = u(() => {
411
+ let e = z.value.style.chart.padding.left, t = z.value.style.chart.padding.top, n = jn(), r = z.value.style.chart.plots.radius;
412
+ return {
413
+ left: e + n + z.value.style.chart.axes.y.name.offsetX,
414
+ top: t + r,
415
+ right: W.value.width - z.value.style.chart.padding.right - r - z.value.style.chart.axes.y.name.offsetX,
416
+ bottom: W.value.height - z.value.style.chart.padding.bottom - Pn.value - r - z.value.style.chart.axes.x.name.offsetY,
417
+ width: W.value.width - e - z.value.style.chart.padding.right - n - r - z.value.style.chart.axes.y.name.offsetX,
418
+ height: W.value.height - t - z.value.style.chart.padding.bottom - Pn.value - r * 2 - z.value.style.chart.axes.x.name.offsetY
419
+ };
420
+ }), K = x({
421
+ plots: z.value.style.chart.plots.radius,
422
+ indexLabels: z.value.style.chart.plots.indexLabels.fontSize,
423
+ labels: z.value.style.chart.plots.labels.fontSize,
424
+ xAxisLabels: z.value.style.chart.axes.x.labels.fontSize,
425
+ xAxisName: z.value.style.chart.axes.x.name.fontSize,
426
+ yAxisLabels: z.value.style.chart.axes.y.labels.fontSize,
427
+ yAxisName: z.value.style.chart.axes.y.name.fontSize
428
+ }), q = u(() => vn.value.map((e, t) => ({
429
+ ...e,
430
+ color: e.color ? pe(e.color) : On.value[t] || i[t] || i[t % i.length],
431
+ seriesIndex: t
432
+ }))), Fn = u(() => Math.max(...q.value.filter((e) => !M.value.includes(e.seriesIndex)).flatMap((e) => e.values.map((e) => e.x)))), In = u(() => {
433
+ let e = Math.min(...q.value.filter((e) => !M.value.includes(e.seriesIndex)).flatMap((e) => e.values.map((e) => e.x)));
434
+ return e < 0 ? e : 0;
435
+ }), Ln = u(() => Math.max(...q.value.filter((e) => !M.value.includes(e.seriesIndex)).flatMap((e) => e.values.map((e) => e.y)))), Rn = u(() => {
436
+ let e = Math.min(...q.value.filter((e) => !M.value.includes(e.seriesIndex)).flatMap((e) => e.values.map((e) => e.y)));
437
+ return e < 0 ? e : 0;
438
+ }), J = u(() => {
439
+ let e = se(z.value.style.chart.axes.x.scaleMin ?? In.value, z.value.style.chart.axes.x.scaleMax ?? Fn.value, z.value.style.chart.axes.x.ticks), t = se(z.value.style.chart.axes.y.scaleMin ?? Rn.value, z.value.style.chart.axes.y.scaleMax ?? Ln.value, z.value.style.chart.axes.y.ticks);
440
+ return {
441
+ x: e,
442
+ y: t,
443
+ tickX: e.ticks.map((t) => ({
444
+ x: G.value.left + (t - e.min) / (e.max - e.min) * G.value.width,
445
+ y1: G.value.top,
446
+ y2: G.value.bottom,
447
+ value: t
448
+ })),
449
+ tickY: t.ticks.map((e) => ({
450
+ y: G.value.bottom - (e - t.min) / (t.max - t.min) * G.value.height,
451
+ x1: G.value.left,
452
+ x2: G.value.right,
453
+ value: e
454
+ }))
455
+ };
456
+ });
457
+ function zn(e) {
458
+ let t = J.value.x.min < 0 ? Math.abs(J.value.x.min) : J.value.x.min > 0 ? -J.value.x.min : 0;
459
+ return G.value.left + ((e || 0) + t) / (J.value.x.max + t) * G.value.width;
460
+ }
461
+ function Bn(e) {
462
+ let t = J.value.y.min < 0 ? Math.abs(J.value.y.min) : J.value.y.min > 0 ? -J.value.y.min : 0;
463
+ return G.value.bottom - ((e || 0) + t) / (J.value.y.max + t) * G.value.height;
464
+ }
465
+ let Y = u(() => q.value.filter((e) => !M.value.includes(e.seriesIndex)).map((e, t) => {
466
+ let n = e.values.map((t, n) => ({
467
+ valueX: t.x,
468
+ valueY: t.y,
469
+ label: t.label,
470
+ x: zn(t.x),
471
+ y: Bn(t.y),
472
+ color: e.color,
473
+ seriesName: e.name,
474
+ id: ee()
475
+ })), r = n.map((e) => `${e.x},${e.y} `).join("").trim();
476
+ return {
477
+ ...e,
478
+ plots: n,
479
+ path: `M${r}`
480
+ };
481
+ }));
482
+ function Vn() {
483
+ M.value.length ? M.value = [] : X.value.forEach((e) => {
484
+ M.value.push(e.seriesIndex);
485
+ }), pn("selectLegend", Y.value);
486
+ }
487
+ function Hn(e) {
488
+ M.value.includes(e) ? M.value = M.value.filter((t) => t !== e) : M.value.push(e), pn("selectLegend", Y.value);
489
+ }
490
+ function Un(e) {
491
+ return q.value.length ? q.value.find((t) => t.name === e) || (z.value.debug && console.warn(`VueUiHistoryPlot - Series name not found "${e}"`), null) : (z.value.debug && console.warn("VueUiHistoryPlot - There are no series to show."), null);
492
+ }
493
+ function Wn(e) {
494
+ let t = Un(e);
495
+ t !== null && M.value.includes(t.seriesIndex) && Hn(t.seriesIndex);
496
+ }
497
+ function Gn(e) {
498
+ let t = Un(e);
499
+ t !== null && (M.value.includes(t.seriesIndex) || Hn(t.seriesIndex));
500
+ }
501
+ let X = u(() => q.value.map((e) => ({
502
+ ...e,
503
+ opacity: M.value.includes(e.seriesIndex) ? .5 : 1,
504
+ segregate: () => Hn(e.seriesIndex),
505
+ isSegregated: M.value.includes(e.seriesIndex),
506
+ shape: "circle"
507
+ }))), Kn = u(() => ({
508
+ cy: "history-plot-div-legend",
509
+ backgroundColor: z.value.style.chart.legend.backgroundColor,
510
+ color: z.value.style.chart.legend.color,
511
+ fontSize: z.value.style.chart.legend.fontSize,
512
+ paddingBottom: 12,
513
+ fontWeight: z.value.style.chart.legend.bold ? "bold" : ""
514
+ }));
515
+ function qn({ datapoint: e, plotIndex: t, seriesIndex: n }) {
516
+ z.value.events.datapointClick && z.value.events.datapointClick({
517
+ datapoint: {
518
+ ...e,
519
+ plotIndex: t,
520
+ seriesIndex: n
521
+ },
522
+ seriesIndex: n
523
+ }), pn("selectDatapoint", e);
524
+ }
525
+ function Jn(e) {
526
+ N.value = e, Yt.value += 1;
527
+ }
528
+ let Yn = x(null);
529
+ function Xn({ datapoint: e, plotIndex: t, seriesIndex: n }) {
530
+ z.value.events.datapointLeave && z.value.events.datapointLeave({
531
+ datapoint: {
532
+ ...e,
533
+ plotIndex: t,
534
+ seriesIndex: n
535
+ },
536
+ seriesIndex: n
537
+ }), !(un.value === "keyboard" && L.value === n && R.value === t) && (Zt.value = !1, P.value = null);
538
+ }
539
+ function Zn(e, t) {
540
+ if (!H.value) return;
541
+ let n = Y.value.find((t) => t.seriesIndex === e);
542
+ if (!n) return;
543
+ let r = n.plots[t];
544
+ if (!r) return;
545
+ let i = te(r.x, r.y, H.value);
546
+ i && (ln.value = i);
547
+ }
548
+ function Qn({ datapoint: e, plotIndex: t, seriesIndex: n, triggerMode: r = "pointer" }) {
549
+ z.value.events.datapointEnter && z.value.events.datapointEnter({
550
+ datapoint: {
551
+ ...e,
552
+ plotIndex: t,
553
+ seriesIndex: n
554
+ },
555
+ seriesIndex: n
556
+ }), L.value = n, R.value = t, un.value = r, Yn.value = {
557
+ datapoint: e,
558
+ seriesIndex: n,
559
+ plotIndex: t,
560
+ config: z.value,
561
+ series: q.value
562
+ }, P.value = e;
563
+ let i = z.value.style.chart.tooltip.customFormat;
564
+ if (F.value = !1, le(i)) try {
565
+ let r = i({
566
+ seriesIndex: n,
567
+ datapoint: e,
568
+ plotIndex: t,
569
+ series: q.value,
570
+ config: z.value
571
+ });
572
+ typeof r == "string" && (Qt.value = r, F.value = !0);
573
+ } catch {
574
+ console.warn("Custom format cannot be applied."), F.value = !1;
575
+ }
576
+ if (!F.value) {
577
+ let t = "";
578
+ t += `<div style="display:flex;flex-direction:row;gap:6px;align-items:center;border-bottom:1px solid ${z.value.style.chart.tooltip.borderColor};margin-bottom:3px;padding-bottom:6px;"><svg viewBox="0 0 12 12" height="14" width="14"><circle cx="6" cy="6" r="6" stroke="none" fill="${e.color}"/></svg><span>${e.seriesName}</span></div>`, t += `<div>${e.label}</div>`, t += `<div>${z.value.style.chart.axes.x.name.text || "x"}: ${s(z.value.style.chart.axes.x.labels.formatter, e.valueX, a({
579
+ p: z.value.style.chart.axes.x.labels.prefix,
580
+ v: e.valueX,
581
+ s: z.value.style.chart.axes.x.labels.suffix,
582
+ r: z.value.style.chart.axes.x.labels.rounding
583
+ }))}</div>`, t += `<div>${z.value.style.chart.axes.y.name.text || "y"}: ${s(z.value.style.chart.axes.y.labels.formatter, e.valueY, a({
584
+ p: z.value.style.chart.axes.y.labels.prefix,
585
+ v: e.valueY,
586
+ s: z.value.style.chart.axes.y.labels.suffix,
587
+ r: z.value.style.chart.axes.y.labels.rounding
588
+ }))}</div>`, Qt.value = `<div>${t}</div>`;
589
+ }
590
+ Zt.value = !0, r === "keyboard" && Re(() => {
591
+ Zn(n, t);
592
+ });
593
+ }
594
+ u(() => ({ head: Y.value.map((e) => ({
595
+ name: e.name,
596
+ color: e.color
597
+ })) }));
598
+ let Z = u(() => {
599
+ let e = [
600
+ z.value.table.columnNames.series,
601
+ z.value.table.columnNames.datapoint,
602
+ z.value.table.columnNames.x,
603
+ z.value.table.columnNames.y
604
+ ];
605
+ return {
606
+ head: e,
607
+ body: Y.value.flatMap((e) => e.plots.map((e) => [
608
+ {
609
+ color: e.color,
610
+ name: e.seriesName
611
+ },
612
+ e.label,
613
+ s(z.value.style.chart.axes.x.labels.formatter, e.valueX, a({
614
+ p: z.value.style.chart.axes.x.labels.prefix,
615
+ v: e.valueX,
616
+ s: z.value.style.chart.axes.x.labels.suffix,
617
+ r: z.value.style.chart.axes.x.labels.rounding
618
+ })),
619
+ s(z.value.style.chart.axes.y.labels.formatter, e.valueY, a({
620
+ p: z.value.style.chart.axes.y.labels.prefix,
621
+ v: e.valueY,
622
+ s: z.value.style.chart.axes.y.labels.suffix,
623
+ r: z.value.style.chart.axes.y.labels.rounding
624
+ }))
625
+ ])),
626
+ config: {
627
+ th: {
628
+ backgroundColor: z.value.table.th.backgroundColor,
629
+ color: z.value.table.th.color,
630
+ outline: z.value.table.th.outline
631
+ },
632
+ td: {
633
+ backgroundColor: z.value.table.td.backgroundColor,
634
+ color: z.value.table.td.color,
635
+ outline: z.value.table.td.outline
636
+ },
637
+ breakpoint: z.value.table.responsiveBreakpoint
638
+ },
639
+ colNames: e
640
+ };
641
+ });
642
+ function $n(e = null) {
643
+ Re(() => {
644
+ let t = [
645
+ [z.value.table.columnNames.series],
646
+ [z.value.table.columnNames.datapoint],
647
+ [z.value.table.columnNames.x],
648
+ [z.value.table.columnNames.y]
649
+ ], n = Y.value.flatMap((e) => e.plots.map((e) => [
650
+ [e.seriesName],
651
+ [e.label],
652
+ [e.valueX],
653
+ [e.valueY]
654
+ ])), r = re([
655
+ [z.value.style.chart.title.text],
656
+ [z.value.style.chart.title.subtitle.text],
657
+ t
658
+ ].concat(n));
659
+ e ? e(r) : o({
660
+ csvContent: r,
661
+ title: z.value.style.chart.title.text || "vue-ui-history-plot"
662
+ });
663
+ });
664
+ }
665
+ let Q = x(!1);
666
+ function er() {
667
+ Q.value = !Q.value;
668
+ }
669
+ function tr() {
670
+ U.value.showTable = !U.value.showTable;
671
+ }
672
+ function nr() {
673
+ U.value.showTooltip = !U.value.showTooltip;
674
+ }
675
+ function rr() {
676
+ return Y.value;
677
+ }
678
+ async function ir({ scale: e = 2 } = {}) {
679
+ if (!O.value) return;
680
+ let { width: t, height: n } = O.value.getBoundingClientRect(), r = t / n, { imageUri: i, base64: a } = await Se({
681
+ domElement: O.value,
682
+ base64: !0,
683
+ img: !0,
684
+ scale: e
685
+ });
686
+ return {
687
+ imageUri: i,
688
+ base64: a,
689
+ title: z.value.style.chart.title.text,
690
+ width: t,
691
+ height: n,
692
+ aspectRatio: r
693
+ };
694
+ }
695
+ xe({
696
+ timeLabelsEls: sn,
697
+ timeLabels: u(() => J.value.tickX),
698
+ slicer: u(() => ({
699
+ start: 0,
700
+ end: J.value.tickX.length
701
+ })),
702
+ configRef: z,
703
+ rotationPath: [
704
+ "style",
705
+ "chart",
706
+ "axes",
707
+ "x",
708
+ "labels",
709
+ "rotation"
710
+ ],
711
+ autoRotatePath: [
712
+ "style",
713
+ "chart",
714
+ "axes",
715
+ "x",
716
+ "labels",
717
+ "autoRotate",
718
+ "enable"
719
+ ],
720
+ isAutoSize: !1,
721
+ width: kn,
722
+ height: An,
723
+ targetClass: ".vue-ui-history-plot-x-axis-scale",
724
+ rotation: z.value.style.chart.axes.x.labels.autoRotate.angle
725
+ });
726
+ let ar = u(() => {
727
+ let e = z.value.table.useDialog && !z.value.table.show, t = U.value.showTable;
728
+ return {
729
+ component: e ? Bt : Ft,
730
+ title: `${z.value.style.chart.title.text}${z.value.style.chart.title.subtitle.text ? `: ${z.value.style.chart.title.subtitle.text}` : ""}`,
731
+ props: e ? {
732
+ backgroundColor: z.value.table.th.backgroundColor,
733
+ color: z.value.table.th.color,
734
+ headerColor: z.value.table.th.color,
735
+ headerBg: z.value.table.th.backgroundColor,
736
+ isFullscreen: N.value,
737
+ fullscreenParent: O.value,
738
+ forcedWidth: Math.min(800, window.innerWidth * .8)
739
+ } : {
740
+ hideDetails: !0,
741
+ config: {
742
+ open: t,
743
+ maxHeight: 1e4,
744
+ body: {
745
+ backgroundColor: z.value.style.chart.backgroundColor,
746
+ color: z.value.style.chart.color
747
+ },
748
+ head: {
749
+ backgroundColor: z.value.style.chart.backgroundColor,
750
+ color: z.value.style.chart.color
751
+ }
752
+ }
753
+ }
754
+ };
755
+ });
756
+ We(() => U.value.showTable, (e) => {
757
+ z.value.table.show || (e && z.value.table.useDialog && I.value ? I.value.open() : "close" in I.value && I.value.close());
758
+ });
759
+ function or() {
760
+ U.value.showTable = !1, tn.value && tn.value.setTableIconState(!1);
761
+ }
762
+ let sr = u(() => z.value.style.chart.backgroundColor), cr = u(() => z.value.style.chart.legend), { exportSvg: lr, getSvg: ur } = ve({
763
+ svg: H,
764
+ title: u(() => z.value.style.chart.title),
765
+ legend: cr,
766
+ legendItems: X,
767
+ backgroundColor: sr
768
+ });
769
+ async function dr({ isCb: e }) {
770
+ rn.value = !0, await Re();
771
+ try {
772
+ if (e) {
773
+ let { blob: e, url: t, text: n, dataUrl: r } = await ur();
774
+ await Promise.resolve(z.value.userOptions.callbacks.svg({
775
+ blob: e,
776
+ url: t,
777
+ text: n,
778
+ dataUrl: r
779
+ }));
780
+ } else await Promise.resolve(lr());
781
+ } finally {
782
+ rn.value = !1;
783
+ }
784
+ }
785
+ function fr(e) {
786
+ if (e?.stage === "start") {
787
+ nn.value = !0;
788
+ return;
789
+ }
790
+ if (e?.stage === "end") {
791
+ nn.value = !1;
792
+ return;
793
+ }
794
+ En();
795
+ }
796
+ async function pr() {
797
+ if (pn("copyAlt", {
798
+ config: z.value,
799
+ dataset: Y.value
800
+ }), !z.value.userOptions.callbacks.altCopy) {
801
+ console.warn("Vue Data UI - A callback must be set for `altCopy` in userOptions.");
802
+ return;
803
+ }
804
+ await Promise.resolve(z.value.userOptions.callbacks.altCopy({
805
+ config: z.value,
806
+ dataset: Y.value
807
+ }));
808
+ }
809
+ let $ = u(() => ({
810
+ head: Z.value.head,
811
+ body: Z.value.body.map((e) => [
812
+ e[0]?.name || "",
813
+ e[1],
814
+ e[2],
815
+ e[3]
816
+ ]),
817
+ caption: z.value.a11y.translations.tableCaption,
818
+ notice: z.value.a11y.translations.tableAvailable
819
+ }));
820
+ function mr(e) {
821
+ return Y.value.findIndex((t) => t.seriesIndex === e);
822
+ }
823
+ function hr() {
824
+ if (L.value !== null && R.value !== null) {
825
+ let e = Y.value.find((e) => e.seriesIndex === L.value)?.plots?.[R.value];
826
+ e && Xn({
827
+ datapoint: e,
828
+ plotIndex: R.value,
829
+ seriesIndex: L.value
830
+ });
831
+ }
832
+ L.value = null, R.value = null, un.value = "pointer", Zt.value = !1, P.value = null;
833
+ }
834
+ function gr() {
835
+ L.value = null, R.value = null, dn.value = !0;
836
+ }
837
+ function _r() {
838
+ hr(), dn.value = !1;
839
+ }
840
+ function vr(e, t) {
841
+ if (!e?.plots?.length) return null;
842
+ let n = e.plots.length;
843
+ return (t % n + n) % n;
844
+ }
845
+ function yr({ seriesIndex: e, plotIndex: t, direction: n }) {
846
+ if (!Y.value.length) return null;
847
+ let r = mr(e);
848
+ if (r === -1) return null;
849
+ if (n === "up" || n === "down") {
850
+ let e = Y.value[r];
851
+ if (!e?.plots?.length) return null;
852
+ let i = vr(e, t + (n === "up" ? -1 : 1));
853
+ return {
854
+ seriesIndex: e.seriesIndex,
855
+ plotIndex: i
856
+ };
857
+ }
858
+ if (n === "left" || n === "right") {
859
+ let e = ((r + (n === "left" ? -1 : 1)) % Y.value.length + Y.value.length) % Y.value.length, i = Y.value[e];
860
+ if (!i?.plots?.length) return null;
861
+ let a = Math.min(t, i.plots.length - 1);
862
+ return {
863
+ seriesIndex: i.seriesIndex,
864
+ plotIndex: a
865
+ };
866
+ }
867
+ return null;
868
+ }
869
+ function br(e) {
870
+ if (!H.value || Q.value || document.activeElement !== H.value || !Y.value.length) return;
871
+ let t = e.key === "ArrowLeft", n = e.key === "ArrowRight", r = e.key === "ArrowUp", i = e.key === "ArrowDown", a = e.key === "Enter" || e.key === " ", ee = e.key === "Escape";
872
+ if (!t && !n && !r && !i && !a && !ee) return;
873
+ if (e.preventDefault(), e.stopPropagation(), ee) {
874
+ hr();
875
+ return;
876
+ }
877
+ if (a) {
878
+ if (L.value === null || R.value === null) return;
879
+ let e = Y.value.find((e) => e.seriesIndex === L.value)?.plots?.[R.value];
880
+ if (!e) return;
881
+ qn({
882
+ datapoint: e,
883
+ plotIndex: R.value,
884
+ seriesIndex: L.value
885
+ });
886
+ return;
887
+ }
888
+ let o = null;
889
+ if (L.value === null || R.value === null) {
890
+ let e = Y.value[0];
891
+ if (!e?.plots?.length) return;
892
+ o = {
893
+ seriesIndex: e.seriesIndex,
894
+ plotIndex: 0
895
+ };
896
+ } else r ? o = yr({
897
+ seriesIndex: L.value,
898
+ plotIndex: R.value,
899
+ direction: "up"
900
+ }) : i ? o = yr({
901
+ seriesIndex: L.value,
902
+ plotIndex: R.value,
903
+ direction: "down"
904
+ }) : t ? o = yr({
905
+ seriesIndex: L.value,
906
+ plotIndex: R.value,
907
+ direction: "left"
908
+ }) : n && (o = yr({
909
+ seriesIndex: L.value,
910
+ plotIndex: R.value,
911
+ direction: "right"
912
+ }));
913
+ if (!o) return;
914
+ let te = Y.value.find((e) => e.seriesIndex === o.seriesIndex)?.plots?.[o.plotIndex];
915
+ te && Qn({
916
+ datapoint: te,
917
+ plotIndex: o.plotIndex,
918
+ seriesIndex: o.seriesIndex,
919
+ triggerMode: "keyboard"
920
+ });
921
+ }
922
+ return we({
923
+ getData: rr,
924
+ getImage: ir,
925
+ generatePdf: Tn,
926
+ generateCsv: $n,
927
+ generateImage: En,
928
+ generateSvg: dr,
929
+ hideSeries: Gn,
930
+ showSeries: Wn,
931
+ toggleTable: tr,
932
+ toggleTooltip: nr,
933
+ toggleAnnotator: er,
934
+ toggleFullscreen: Jn,
935
+ copyAlt: pr
936
+ }), (e, n) => (b(), p("div", {
937
+ id: `history_plot_${j.value}`,
938
+ ref_key: "historyPlotChart",
939
+ ref: O,
940
+ class: _({
941
+ "vue-data-ui-component": !0,
942
+ "vue-ui-history-plot": !0,
943
+ "vue-data-ui-wrapper-fullscreen": N.value
944
+ }),
945
+ style: y(`background:${z.value.style.chart.backgroundColor};color:${z.value.style.chart.color};font-family:${z.value.style.fontFamily}; position: relative; ${z.value.responsive ? "height: 100%" : ""}`),
946
+ onMouseenter: n[2] ||= () => T(xn)(!0),
947
+ onMouseleave: n[3] ||= () => T(xn)(!1)
948
+ }, [
949
+ m("div", {
950
+ id: `chart-instructions-${j.value}`,
951
+ class: "sr-only"
952
+ }, [m("p", null, w(z.value.a11y.translations.keyboardNavigation), 1)], 8, Je),
953
+ $.value.body.length ? (b(), d(Oe, {
954
+ key: 0,
955
+ uid: j.value,
956
+ head: $.value.head,
957
+ body: $.value.body,
958
+ caption: $.value.caption,
959
+ notice: $.value.notice
960
+ }, null, 8, [
961
+ "uid",
962
+ "head",
963
+ "body",
964
+ "caption",
965
+ "notice"
966
+ ])) : f("", !0),
967
+ C(e.$slots, "userConfig", {}, void 0, !0),
968
+ z.value.userOptions.buttons.annotator ? (b(), d(T(Lt), {
969
+ key: 1,
970
+ svgRef: T(H),
971
+ backgroundColor: z.value.style.chart.backgroundColor,
972
+ color: z.value.style.chart.color,
973
+ active: Q.value,
974
+ isCursorPointer: B.value,
975
+ onClose: er
976
+ }, {
977
+ "annotator-action-close": E(() => [C(e.$slots, "annotator-action-close", {}, void 0, !0)]),
978
+ "annotator-action-color": E(({ color: t }) => [C(e.$slots, "annotator-action-color", v(g({ color: t })), void 0, !0)]),
979
+ "annotator-action-draw": E(({ mode: t }) => [C(e.$slots, "annotator-action-draw", v(g({ mode: t })), void 0, !0)]),
980
+ "annotator-action-undo": E(({ disabled: t }) => [C(e.$slots, "annotator-action-undo", v(g({ disabled: t })), void 0, !0)]),
981
+ "annotator-action-redo": E(({ disabled: t }) => [C(e.$slots, "annotator-action-redo", v(g({ disabled: t })), void 0, !0)]),
982
+ "annotator-action-delete": E(({ disabled: t }) => [C(e.$slots, "annotator-action-delete", v(g({ disabled: t })), void 0, !0)]),
983
+ _: 3
984
+ }, 8, [
985
+ "svgRef",
986
+ "backgroundColor",
987
+ "color",
988
+ "active",
989
+ "isCursorPointer"
990
+ ])) : f("", !0),
991
+ Dn.value ? (b(), p("div", {
992
+ key: 2,
993
+ ref_key: "noTitle",
994
+ ref: Xt,
995
+ class: "vue-data-ui-no-title-space",
996
+ style: "height:36px; width: 100%;background:transparent"
997
+ }, null, 512)) : f("", !0),
998
+ z.value.style.chart.title.text ? (b(), p("div", {
999
+ key: 3,
1000
+ ref_key: "chartTitle",
1001
+ ref: Wt,
1002
+ class: "vue-ui-xy-title",
1003
+ style: y(`font-family:${z.value.style.fontFamily}`)
1004
+ }, [(b(), d(Ce, {
1005
+ key: `title_${Gt.value}`,
1006
+ config: {
1007
+ title: {
1008
+ cy: "history-plot-div-title",
1009
+ ...z.value.style.chart.title
1010
+ },
1011
+ subtitle: {
1012
+ cy: "history-plot-div-subtitle",
1013
+ ...z.value.style.chart.title.subtitle
1014
+ }
1015
+ }
1016
+ }, null, 8, ["config"]))], 4)) : f("", !0),
1017
+ m("div", { id: `legend-top-${j.value}` }, null, 8, Ye),
1018
+ z.value.userOptions.show && fn.value && (T(Sn) || T(bn)) ? (b(), d(T(Rt), {
1019
+ ref_key: "userOptionsRef",
1020
+ ref: tn,
1021
+ key: `user_option_${Yt.value}`,
1022
+ backgroundColor: z.value.style.chart.backgroundColor,
1023
+ color: z.value.style.chart.color,
1024
+ isPrinting: T(Cn),
1025
+ isImaging: T(wn),
1026
+ uid: j.value,
1027
+ hasTooltip: z.value.style.chart.tooltip.show && z.value.userOptions.buttons.tooltip,
1028
+ hasPdf: z.value.userOptions.buttons.pdf,
1029
+ hasImg: z.value.userOptions.buttons.img,
1030
+ hasSvg: z.value.userOptions.buttons.svg,
1031
+ hasXls: z.value.userOptions.buttons.csv,
1032
+ hasTable: z.value.userOptions.buttons.table,
1033
+ hasLabel: !1,
1034
+ hasFullscreen: z.value.userOptions.buttons.fullscreen,
1035
+ hasAltCopy: z.value.userOptions.buttons.altCopy,
1036
+ isFullscreen: N.value,
1037
+ chartElement: O.value,
1038
+ position: z.value.userOptions.position,
1039
+ isTooltip: U.value.showTooltip,
1040
+ titles: { ...z.value.userOptions.buttonTitles },
1041
+ hasAnnotator: z.value.userOptions.buttons.annotator,
1042
+ isAnnotation: Q.value,
1043
+ callbacks: z.value.userOptions.callbacks,
1044
+ printScale: z.value.userOptions.print.scale,
1045
+ tableDialog: z.value.table.useDialog,
1046
+ isCursorPointer: B.value,
1047
+ onToggleFullscreen: Jn,
1048
+ onGeneratePdf: T(Tn),
1049
+ onGenerateCsv: $n,
1050
+ onGenerateImage: fr,
1051
+ onGenerateSvg: dr,
1052
+ onToggleTable: tr,
1053
+ onToggleTooltip: nr,
1054
+ onToggleAnnotator: er,
1055
+ onCopyAlt: pr,
1056
+ style: y({ visibility: T(Sn) ? T(bn) ? "visible" : "hidden" : "visible" })
1057
+ }, Pe({ _: 2 }, [
1058
+ e.$slots.menuIcon ? {
1059
+ name: "menuIcon",
1060
+ fn: E(({ isOpen: t, color: n }) => [C(e.$slots, "menuIcon", v(g({
1061
+ isOpen: t,
1062
+ color: n
1063
+ })), void 0, !0)]),
1064
+ key: "0"
1065
+ } : void 0,
1066
+ e.$slots.optionTooltip ? {
1067
+ name: "optionTooltip",
1068
+ fn: E(() => [C(e.$slots, "optionTooltip", {}, void 0, !0)]),
1069
+ key: "1"
1070
+ } : void 0,
1071
+ e.$slots.optionPdf ? {
1072
+ name: "optionPdf",
1073
+ fn: E(() => [C(e.$slots, "optionPdf", {}, void 0, !0)]),
1074
+ key: "2"
1075
+ } : void 0,
1076
+ e.$slots.optionCsv ? {
1077
+ name: "optionCsv",
1078
+ fn: E(() => [C(e.$slots, "optionCsv", {}, void 0, !0)]),
1079
+ key: "3"
1080
+ } : void 0,
1081
+ e.$slots.optionImg ? {
1082
+ name: "optionImg",
1083
+ fn: E(() => [C(e.$slots, "optionImg", {}, void 0, !0)]),
1084
+ key: "4"
1085
+ } : void 0,
1086
+ e.$slots.optionSvg ? {
1087
+ name: "optionSvg",
1088
+ fn: E(() => [C(e.$slots, "optionSvg", {}, void 0, !0)]),
1089
+ key: "5"
1090
+ } : void 0,
1091
+ e.$slots.optionTable ? {
1092
+ name: "optionTable",
1093
+ fn: E(() => [C(e.$slots, "optionTable", {}, void 0, !0)]),
1094
+ key: "6"
1095
+ } : void 0,
1096
+ e.$slots.optionFullscreen ? {
1097
+ name: "optionFullscreen",
1098
+ fn: E(({ toggleFullscreen: t, isFullscreen: n }) => [C(e.$slots, "optionFullscreen", v(g({
1099
+ toggleFullscreen: t,
1100
+ isFullscreen: n
1101
+ })), void 0, !0)]),
1102
+ key: "7"
1103
+ } : void 0,
1104
+ e.$slots.optionAnnotator ? {
1105
+ name: "optionAnnotator",
1106
+ fn: E(({ toggleAnnotator: t, isAnnotator: n }) => [C(e.$slots, "optionAnnotator", v(g({
1107
+ toggleAnnotator: t,
1108
+ isAnnotator: n
1109
+ })), void 0, !0)]),
1110
+ key: "8"
1111
+ } : void 0,
1112
+ e.$slots.optionAltCopy ? {
1113
+ name: "optionAltCopy",
1114
+ fn: E(({ altCopy: t }) => [C(e.$slots, "optionAltCopy", v(g({ altCopy: t })), void 0, !0)]),
1115
+ key: "9"
1116
+ } : void 0,
1117
+ e.$slots["custom-menu-before"] ? {
1118
+ name: "custom-menu-before",
1119
+ fn: E(() => [C(e.$slots, "custom-menu-before", {}, void 0, !0)]),
1120
+ key: "10"
1121
+ } : void 0,
1122
+ e.$slots["custom-menu-after"] ? {
1123
+ name: "custom-menu-after",
1124
+ fn: E(() => [C(e.$slots, "custom-menu-after", {}, void 0, !0)]),
1125
+ key: "11"
1126
+ } : void 0
1127
+ ]), 1032, /* @__PURE__ */ "backgroundColor.color.isPrinting.isImaging.uid.hasTooltip.hasPdf.hasImg.hasSvg.hasXls.hasTable.hasFullscreen.hasAltCopy.isFullscreen.chartElement.position.isTooltip.titles.hasAnnotator.isAnnotation.callbacks.printScale.tableDialog.isCursorPointer.onGeneratePdf.style".split("."))) : f("", !0),
1128
+ m("div", Xe, [(b(), p("svg", {
1129
+ ref_key: "svgRef",
1130
+ ref: H,
1131
+ xmlns: T(de),
1132
+ viewBox: `0 0 ${W.value.width < 0 ? .1 : W.value.width} ${W.value.height < 0 ? .1 : W.value.height}`,
1133
+ style: y(`max-width:100%;overflow:visible;background:transparent;color:${z.value.style.chart.color}`),
1134
+ "aria-describedby": `chart-instructions-${j.value}`,
1135
+ tabindex: "0",
1136
+ onFocus: gr,
1137
+ onBlur: _r,
1138
+ onKeydown: br
1139
+ }, [
1140
+ Ie(T(zt)),
1141
+ e.$slots["chart-background"] ? (b(), p("foreignObject", {
1142
+ key: 0,
1143
+ x: G.value.left,
1144
+ y: G.value.top,
1145
+ width: G.value.width <= 0 ? 10 : G.value.width,
1146
+ height: G.value.height <= 0 ? 10 : G.value.height,
1147
+ style: { pointerEvents: "none" }
1148
+ }, [C(e.$slots, "chart-background", {}, void 0, !0)], 8, Qe)) : f("", !0),
1149
+ z.value.style.chart.plots.gradient.show ? (b(), p("defs", $e, [(b(!0), p(l, null, S(Y.value, (e, t) => (b(), p("radialGradient", {
1150
+ id: `gradient_${t}_${j.value}`,
1151
+ fy: "30%"
1152
+ }, [
1153
+ m("stop", {
1154
+ offset: "10%",
1155
+ "stop-color": T(oe)(e.color, z.value.style.chart.plots.gradient.intensity / 100)
1156
+ }, null, 8, tt),
1157
+ m("stop", {
1158
+ offset: "90%",
1159
+ "stop-color": T(ie)(e.color, .1)
1160
+ }, null, 8, nt),
1161
+ m("stop", {
1162
+ offset: "100%",
1163
+ "stop-color": e.color
1164
+ }, null, 8, rt)
1165
+ ], 8, et))), 256))])) : f("", !0),
1166
+ z.value.style.chart.grid.verticalLines.show ? (b(), p("g", it, [(b(!0), p(l, null, S(J.value.tickX, (e) => (b(), p("line", {
1167
+ x1: e.x,
1168
+ x2: e.x,
1169
+ y1: e.y1,
1170
+ y2: e.y2,
1171
+ stroke: z.value.style.chart.grid.verticalLines.stroke,
1172
+ "stroke-width": z.value.style.chart.grid.verticalLines.strokeWidth,
1173
+ "stroke-linecap": "round"
1174
+ }, null, 8, at))), 256))])) : f("", !0),
1175
+ z.value.style.chart.axes.y.labels.show ? (b(), p("g", ot, [(b(!0), p(l, null, S(J.value.tickY, (e) => (b(), p("line", {
1176
+ stroke: z.value.style.chart.grid.verticalLines.stroke,
1177
+ "stroke-width": z.value.style.chart.grid.verticalLines.strokeWidth,
1178
+ "stroke-linecap": "round",
1179
+ x1: G.value.left - 5,
1180
+ x2: G.value.left,
1181
+ y1: e.y,
1182
+ y2: e.y
1183
+ }, null, 8, st))), 256))])) : f("", !0),
1184
+ z.value.style.chart.axes.y.labels.show ? (b(), p("g", {
1185
+ key: 4,
1186
+ ref_key: "yAxisScales",
1187
+ ref: cn
1188
+ }, [(b(!0), p(l, null, S(J.value.tickY, (e) => (b(), p("text", {
1189
+ x: G.value.left + z.value.style.chart.axes.y.labels.offsetX - 4 - z.value.style.chart.plots.radius,
1190
+ y: e.y + K.value.yAxisLabels / 3,
1191
+ fill: z.value.style.chart.axes.y.labels.color,
1192
+ "font-size": K.value.yAxisLabels,
1193
+ "text-anchor": "end"
1194
+ }, w(T(s)(z.value.style.chart.axes.y.labels.formatter, e.value, T(a)({
1195
+ p: z.value.style.chart.axes.y.labels.prefix,
1196
+ v: e.value,
1197
+ s: z.value.style.chart.axes.y.labels.suffix,
1198
+ r: z.value.style.chart.axes.y.labels.rounding
1199
+ }))), 9, ct))), 256))], 512)) : f("", !0),
1200
+ z.value.style.chart.axes.y.name.text ? (b(), p("text", {
1201
+ key: 5,
1202
+ ref_key: "yAxisLabel",
1203
+ ref: on,
1204
+ transform: `translate(${K.value.yAxisName}, ${W.value.height / 2 + z.value.style.chart.axes.y.name.offsetY}), rotate(-90)`,
1205
+ "font-size": K.value.yAxisName,
1206
+ fill: z.value.style.chart.axes.y.name.color,
1207
+ "font-weight": z.value.style.chart.axes.y.name.bold ? "bold" : "normal",
1208
+ "text-anchor": "middle"
1209
+ }, w(z.value.style.chart.axes.y.name.text), 9, lt)) : f("", !0),
1210
+ z.value.style.chart.grid.horizontalLines.show ? (b(), p("g", ut, [(b(!0), p(l, null, S(J.value.tickY, (e) => (b(), p("line", {
1211
+ x1: e.x1,
1212
+ x2: e.x2,
1213
+ y1: e.y,
1214
+ y2: e.y,
1215
+ stroke: z.value.style.chart.grid.horizontalLines.stroke,
1216
+ "stroke-width": z.value.style.chart.grid.horizontalLines.strokeWidth,
1217
+ "stroke-linecap": "round"
1218
+ }, null, 8, dt))), 256))])) : f("", !0),
1219
+ z.value.style.chart.axes.x.labels.show ? (b(), p("g", ft, [(b(!0), p(l, null, S(J.value.tickX, (e) => (b(), p("line", {
1220
+ stroke: z.value.style.chart.grid.verticalLines.stroke,
1221
+ "stroke-width": z.value.style.chart.grid.verticalLines.strokeWidth,
1222
+ "stroke-linecap": "round",
1223
+ x1: e.x,
1224
+ x2: e.x,
1225
+ y1: G.value.bottom,
1226
+ y2: G.value.bottom + 5
1227
+ }, null, 8, pt))), 256))])) : f("", !0),
1228
+ z.value.style.chart.axes.x.labels.show ? (b(), p("g", {
1229
+ key: 8,
1230
+ ref_key: "xAxisScales",
1231
+ ref: sn
1232
+ }, [(b(!0), p(l, null, S(J.value.tickX, (e) => (b(), p("text", {
1233
+ class: "vue-ui-history-plot-x-axis-scale",
1234
+ transform: `translate(${e.x}, ${G.value.bottom + z.value.style.chart.axes.x.labels.offsetY + K.value.xAxisLabels + z.value.style.chart.plots.radius}), rotate(${z.value.style.chart.axes.x.labels.rotation})`,
1235
+ fill: z.value.style.chart.axes.x.labels.color,
1236
+ "font-size": K.value.xAxisLabels,
1237
+ "text-anchor": z.value.style.chart.axes.x.labels.rotation > 0 ? "start" : z.value.style.chart.axes.x.labels.rotation < 0 ? "end" : "middle"
1238
+ }, w(T(s)(z.value.style.chart.axes.x.labels.formatter, e.value, T(a)({
1239
+ p: z.value.style.chart.axes.x.labels.prefix,
1240
+ v: e.value,
1241
+ s: z.value.style.chart.axes.x.labels.suffix,
1242
+ r: z.value.style.chart.axes.x.labels.rounding
1243
+ }))), 9, mt))), 256))], 512)) : f("", !0),
1244
+ z.value.style.chart.axes.x.name.text ? (b(), p("text", {
1245
+ key: 9,
1246
+ ref_key: "xAxisLabel",
1247
+ ref: an,
1248
+ x: W.value.width / 2 + z.value.style.chart.axes.x.name.offsetX,
1249
+ y: W.value.height,
1250
+ "font-size": K.value.xAxisName,
1251
+ fill: z.value.style.chart.axes.x.name.color,
1252
+ "font-weight": z.value.style.chart.axes.x.name.bold ? "bold" : "normal",
1253
+ "text-anchor": "middle"
1254
+ }, w(z.value.style.chart.axes.x.name.text), 9, ht)) : f("", !0),
1255
+ z.value.style.chart.grid.xAxis.show ? (b(), p("line", {
1256
+ key: 10,
1257
+ x1: G.value.left,
1258
+ x2: G.value.left + G.value.width,
1259
+ y1: G.value.bottom,
1260
+ y2: G.value.bottom,
1261
+ stroke: z.value.style.chart.grid.xAxis.stroke,
1262
+ "stroke-width": z.value.style.chart.grid.xAxis.strokeWidth,
1263
+ "stroke-linecap": "round"
1264
+ }, null, 8, gt)) : f("", !0),
1265
+ z.value.style.chart.grid.yAxis.show ? (b(), p("line", {
1266
+ key: 11,
1267
+ x1: G.value.left,
1268
+ x2: G.value.left,
1269
+ y1: G.value.top,
1270
+ y2: G.value.bottom,
1271
+ stroke: z.value.style.chart.grid.yAxis.stroke,
1272
+ "stroke-width": z.value.style.chart.grid.yAxis.strokeWidth,
1273
+ "stroke-linecap": "round"
1274
+ }, null, 8, _t)) : f("", !0),
1275
+ (b(!0), p(l, null, S(Y.value, (e, n) => (b(), p("g", null, [
1276
+ z.value.style.chart.paths.show ? (b(), p("g", {
1277
+ key: 0,
1278
+ style: y({ opacity: P.value === null ? 1 : .3 })
1279
+ }, [m("path", {
1280
+ d: e.path,
1281
+ stroke: z.value.style.chart.backgroundColor,
1282
+ "stroke-width": z.value.style.chart.paths.strokeWidth + 4,
1283
+ fill: "none",
1284
+ "stroke-linecap": "round",
1285
+ "stroke-linejoin": "round",
1286
+ class: _({ animated: z.value.useCssAnimation && !T(V) })
1287
+ }, null, 10, vt), m("path", {
1288
+ d: e.path,
1289
+ stroke: z.value.style.chart.paths.useSerieColor ? e.color : z.value.style.chart.paths.stroke,
1290
+ "stroke-width": z.value.style.chart.paths.strokeWidth,
1291
+ fill: "none",
1292
+ "stroke-linecap": "round",
1293
+ "stroke-linejoin": "round",
1294
+ class: _({ animated: z.value.useCssAnimation && !T(V) })
1295
+ }, null, 10, yt)], 4)) : f("", !0),
1296
+ (b(!0), p(l, null, S(e.plots, (e) => (b(), p("circle", {
1297
+ cx: e.x,
1298
+ cy: e.y,
1299
+ fill: z.value.style.chart.backgroundColor,
1300
+ r: K.value.plots,
1301
+ stroke: "none"
1302
+ }, null, 8, bt))), 256)),
1303
+ (b(!0), p(l, null, S(e.plots, (e) => (b(), p("circle", {
1304
+ cx: e.x,
1305
+ cy: e.y,
1306
+ fill: z.value.style.chart.plots.gradient.show ? `url(#gradient_${n}_${j.value})` : e.color,
1307
+ r: K.value.plots,
1308
+ stroke: z.value.style.chart.plots.stroke,
1309
+ "stroke-width": z.value.style.chart.plots.strokeWidth,
1310
+ class: _({ animated: z.value.useCssAnimation && !T(V) }),
1311
+ style: y({
1312
+ opacity: P.value === null || P.value.id === e.id ? 1 : .3,
1313
+ transition: "opacity 0.2s ease-in-out"
1314
+ })
1315
+ }, null, 14, xt))), 256)),
1316
+ z.value.style.chart.plots.labels.show ? (b(), p("g", St, [(b(!0), p(l, null, S(e.plots, (e) => (b(), p("g", null, [String(e.label).includes("\n") ? (b(), p("text", {
1317
+ key: 1,
1318
+ x: e.x + z.value.style.chart.plots.labels.offsetX,
1319
+ y: e.y + z.value.style.chart.plots.labels.offsetY + K.value.plots + K.value.labels,
1320
+ "font-size": K.value.labels,
1321
+ fill: z.value.style.chart.plots.labels.color,
1322
+ "font-weight": z.value.style.chart.plots.labels.bold ? "bold" : "normal",
1323
+ "text-anchor": "middle",
1324
+ class: _({ animated: z.value.useCssAnimation && !T(V) }),
1325
+ style: y({
1326
+ opacity: P.value === null || P.value.id === e.id ? 1 : .3,
1327
+ transition: "opacity 0.2s ease-in-out"
1328
+ }),
1329
+ innerHTML: T(t)({
1330
+ content: String(e.label),
1331
+ fontSize: K.value.labels,
1332
+ fill: z.value.style.chart.plots.labels.color,
1333
+ x: e.x + z.value.style.chart.plots.labels.offsetX,
1334
+ y: e.y + z.value.style.chart.plots.labels.offsetY + K.value.plots + K.value.labels
1335
+ })
1336
+ }, null, 14, wt)) : (b(), p("text", {
1337
+ key: 0,
1338
+ x: e.x + z.value.style.chart.plots.labels.offsetX,
1339
+ y: e.y + z.value.style.chart.plots.labels.offsetY + K.value.plots + K.value.labels,
1340
+ "font-size": K.value.labels,
1341
+ fill: z.value.style.chart.plots.labels.color,
1342
+ "font-weight": z.value.style.chart.plots.labels.bold ? "bold" : "normal",
1343
+ "text-anchor": "middle",
1344
+ class: _({ animated: z.value.useCssAnimation && !T(V) }),
1345
+ style: y({
1346
+ opacity: P.value === null || P.value.id === e.id ? 1 : .3,
1347
+ transition: "opacity 0.2s ease-in-out"
1348
+ })
1349
+ }, w(e.label), 15, Ct))]))), 256))])) : f("", !0),
1350
+ z.value.style.chart.plots.indexLabels.show ? (b(), p("g", Tt, [(b(!0), p(l, null, S(e.plots, (t, n) => (b(), p("text", {
1351
+ x: t.x + z.value.style.chart.plots.indexLabels.offsetX,
1352
+ y: t.y + z.value.style.chart.plots.indexLabels.offsetY + K.value.indexLabels / 3,
1353
+ "font-size": K.value.indexLabels,
1354
+ "font-weight": z.value.style.chart.plots.indexLabels.bold ? "bold" : "normal",
1355
+ fill: z.value.style.chart.plots.indexLabels.adaptColorToBackground ? T(ue)(e.color) : z.value.style.chart.plots.indexLabels.color,
1356
+ "text-anchor": "middle",
1357
+ class: _({ animated: z.value.useCssAnimation && !T(V) }),
1358
+ style: y({
1359
+ opacity: P.value === null || P.value.id === t.id ? 1 : .3,
1360
+ transition: "opacity 0.2s ease-in-out"
1361
+ })
1362
+ }, w(z.value.style.chart.plots.indexLabels.startAtZero ? n : n + 1), 15, Et))), 256))])) : f("", !0)
1363
+ ]))), 256)),
1364
+ (b(!0), p(l, null, S(Y.value, (e) => (b(), p("g", null, [(b(!0), p(l, null, S(e.plots, (t, n) => (b(), p("circle", {
1365
+ cx: t.x,
1366
+ cy: t.y,
1367
+ fill: "transparent",
1368
+ r: K.value.plots,
1369
+ stroke: "none",
1370
+ onMouseenter: (r) => Qn({
1371
+ datapoint: t,
1372
+ plotIndex: n,
1373
+ seriesIndex: e.seriesIndex,
1374
+ triggerMode: "pointer"
1375
+ }),
1376
+ onMouseleave: (r) => Xn({
1377
+ datapoint: t,
1378
+ plotIndex: n,
1379
+ seriesIndex: e.seriesIndex
1380
+ }),
1381
+ onClick: (r) => qn({
1382
+ datapoint: t,
1383
+ plotIndex: n,
1384
+ seriesIndex: e.seriesIndex
1385
+ })
1386
+ }, null, 40, Dt))), 256))]))), 256)),
1387
+ C(e.$slots, "svg", { svg: {
1388
+ ...W.value,
1389
+ drawingArea: G.value,
1390
+ isPrintingImg: T(Cn) || T(wn) || nn.value,
1391
+ isPrintingSvg: rn.value
1392
+ } }, void 0, !0)
1393
+ ], 44, Ze)), e.$slots.hint ? (b(), p("div", Ot, [C(e.$slots, "hint", v(g({
1394
+ hint: z.value.a11y.translations.keyboardNavigation,
1395
+ isVisible: dn.value
1396
+ })), void 0, !0)])) : f("", !0)]),
1397
+ e.$slots.watermark ? (b(), p("div", kt, [C(e.$slots, "watermark", v(g({ isPrinting: T(Cn) || T(wn) || nn.value || rn.value })), void 0, !0)])) : f("", !0),
1398
+ m("div", { id: `legend-bottom-${j.value}` }, null, 8, At),
1399
+ en.value && (z.value.style.chart.legend.show || e.$slots.legend) ? (b(), d(Ne, {
1400
+ key: 6,
1401
+ to: z.value.style.chart.legend.position === "top" ? `#legend-top-${j.value}` : `#legend-bottom-${j.value}`
1402
+ }, [m("div", {
1403
+ ref_key: "chartLegend",
1404
+ ref: Kt
1405
+ }, [C(e.$slots, "legend", { legend: X.value }, () => [z.value.style.chart.legend.show && fn.value ? (b(), d(je, {
1406
+ key: `legend_${qt.value}`,
1407
+ legendSet: X.value,
1408
+ config: Kn.value,
1409
+ isCursorPointer: B.value,
1410
+ onClickMarker: n[0] ||= ({ legend: e }) => {
1411
+ Hn(e.seriesIndex);
1412
+ }
1413
+ }, {
1414
+ item: E(({ legend: e, index: t }) => [m("div", {
1415
+ onClick: (t) => e.segregate(),
1416
+ style: y(`opacity:${M.value.includes(e.seriesIndex) ? .5 : 1}`)
1417
+ }, w(e.name), 13, jt)]),
1418
+ legendToggle: E(() => [X.value.length > 2 && z.value.style.chart.legend.selectAllToggle.show && !T(V) ? (b(), d(De, {
1419
+ key: 0,
1420
+ backgroundColor: z.value.style.chart.legend.selectAllToggle.backgroundColor,
1421
+ color: z.value.style.chart.legend.selectAllToggle.color,
1422
+ fontSize: z.value.style.chart.legend.fontSize,
1423
+ checked: M.value.length > 0,
1424
+ isCursorPointer: B.value,
1425
+ onToggle: Vn
1426
+ }, null, 8, [
1427
+ "backgroundColor",
1428
+ "color",
1429
+ "fontSize",
1430
+ "checked",
1431
+ "isCursorPointer"
1432
+ ])) : f("", !0)]),
1433
+ _: 1
1434
+ }, 8, [
1435
+ "legendSet",
1436
+ "config",
1437
+ "isCursorPointer"
1438
+ ])) : f("", !0)], !0)], 512)], 8, ["to"])) : f("", !0),
1439
+ e.$slots.source ? (b(), p("div", {
1440
+ key: 7,
1441
+ ref_key: "source",
1442
+ ref: $t,
1443
+ dir: "auto"
1444
+ }, [C(e.$slots, "source", {}, void 0, !0)], 512)) : f("", !0),
1445
+ Ie(T(Nt), {
1446
+ teleportTo: z.value.style.chart.tooltip.teleportTo,
1447
+ show: U.value.showTooltip && Zt.value,
1448
+ backgroundColor: z.value.style.chart.tooltip.backgroundColor,
1449
+ color: z.value.style.chart.tooltip.color,
1450
+ fontSize: z.value.style.chart.tooltip.fontSize,
1451
+ borderRadius: z.value.style.chart.tooltip.borderRadius,
1452
+ borderColor: z.value.style.chart.tooltip.borderColor,
1453
+ borderWidth: z.value.style.chart.tooltip.borderWidth,
1454
+ backgroundOpacity: z.value.style.chart.tooltip.backgroundOpacity,
1455
+ position: z.value.style.chart.tooltip.position,
1456
+ offsetX: z.value.style.chart.tooltip.offsetX,
1457
+ offsetY: z.value.style.chart.tooltip.offsetY,
1458
+ parent: O.value,
1459
+ content: Qt.value,
1460
+ isCustom: F.value,
1461
+ isFullscreen: N.value,
1462
+ smooth: z.value.style.chart.tooltip.smooth,
1463
+ backdropFilter: z.value.style.chart.tooltip.backdropFilter,
1464
+ smoothForce: z.value.style.chart.tooltip.smoothForce,
1465
+ smoothSnapThreshold: z.value.style.chart.tooltip.smoothSnapThreshold,
1466
+ isA11yMode: un.value === "keyboard",
1467
+ a11yPosition: ln.value
1468
+ }, {
1469
+ "tooltip-before": E(() => [C(e.$slots, "tooltip-before", v(g({ ...Yn.value })), void 0, !0)]),
1470
+ tooltip: E(() => [C(e.$slots, "tooltip", v(g({ ...Yn.value })), void 0, !0)]),
1471
+ "tooltip-after": E(() => [C(e.$slots, "tooltip-after", v(g({ ...Yn.value })), void 0, !0)]),
1472
+ _: 3
1473
+ }, 8, [
1474
+ "teleportTo",
1475
+ "show",
1476
+ "backgroundColor",
1477
+ "color",
1478
+ "fontSize",
1479
+ "borderRadius",
1480
+ "borderColor",
1481
+ "borderWidth",
1482
+ "backgroundOpacity",
1483
+ "position",
1484
+ "offsetX",
1485
+ "offsetY",
1486
+ "parent",
1487
+ "content",
1488
+ "isCustom",
1489
+ "isFullscreen",
1490
+ "smooth",
1491
+ "backdropFilter",
1492
+ "smoothForce",
1493
+ "smoothSnapThreshold",
1494
+ "isA11yMode",
1495
+ "a11yPosition"
1496
+ ]),
1497
+ fn.value && z.value.userOptions.buttons.table ? (b(), d(Ve(ar.value.component), Le({ key: 8 }, ar.value.props, {
1498
+ ref_key: "tableUnit",
1499
+ ref: I,
1500
+ onClose: or
1501
+ }), Pe({
1502
+ content: E(() => [(b(), d(T(It), {
1503
+ key: `table_${Jt.value}`,
1504
+ colNames: Z.value.colNames,
1505
+ head: Z.value.head,
1506
+ body: Z.value.body,
1507
+ config: Z.value.config,
1508
+ title: z.value.table.useDialog ? "" : ar.value.title,
1509
+ withCloseButton: !z.value.table.useDialog,
1510
+ isCursorPointer: B.value,
1511
+ onClose: or
1512
+ }, {
1513
+ th: E(({ th: e }) => [m("div", {
1514
+ innerHTML: e,
1515
+ style: {
1516
+ display: "flex",
1517
+ "align-items": "center"
1518
+ }
1519
+ }, null, 8, Mt)]),
1520
+ td: E(({ td: e }) => [Fe(w(e.name || e), 1)]),
1521
+ _: 1
1522
+ }, 8, [
1523
+ "colNames",
1524
+ "head",
1525
+ "body",
1526
+ "config",
1527
+ "title",
1528
+ "withCloseButton",
1529
+ "isCursorPointer"
1530
+ ]))]),
1531
+ _: 2
1532
+ }, [z.value.table.useDialog ? {
1533
+ name: "title",
1534
+ fn: E(() => [Fe(w(ar.value.title), 1)]),
1535
+ key: "0"
1536
+ } : void 0, z.value.table.useDialog ? {
1537
+ name: "actions",
1538
+ fn: E(() => [m("button", {
1539
+ tabindex: "0",
1540
+ class: "vue-ui-user-options-button",
1541
+ onClick: n[1] ||= (e) => $n(z.value.userOptions.callbacks.csv),
1542
+ style: y({ cursor: B.value ? "pointer" : "default" })
1543
+ }, [Ie(T(Pt), {
1544
+ name: "fileCsv",
1545
+ stroke: ar.value.props.color
1546
+ }, null, 8, ["stroke"])], 4)]),
1547
+ key: "1"
1548
+ } : void 0]), 1040)) : f("", !0),
1549
+ C(e.$slots, "skeleton", {}, () => [T(V) ? (b(), d(_e, { key: 0 })) : f("", !0)], !0)
1550
+ ], 46, qe));
1551
+ }
1552
+ }, [["__scopeId", "data-v-4e9a3690"]]);
1553
+ //#endregion
1554
+ export { Ke as n, Nt as t };