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