vue-data-ui 2.6.5 → 2.6.7

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 (201) hide show
  1. package/dist/{Arrow-DfGZcZu4.js → Arrow-BxUmDF04.js} +1 -1
  2. package/dist/{Arrow-CyeGXbbD.cjs → Arrow-PPbxds1Q.cjs} +1 -1
  3. package/dist/{BaseIcon-B5DvqSYe.cjs → BaseIcon-BmVwfJg2.cjs} +1 -1
  4. package/dist/{BaseIcon-BzuvxztF.js → BaseIcon-CDx9pxUG.js} +1 -1
  5. package/dist/{DataTable-zpYtivMM.cjs → DataTable-Cv_TVAas.cjs} +1 -1
  6. package/dist/{DataTable-BCCBpyhr.js → DataTable-TjJIVFlL.js} +2 -2
  7. package/dist/{Legend-CJkkmRNE.cjs → Legend-DunrYGuw.cjs} +1 -1
  8. package/dist/{Legend-CyJrN721.js → Legend-NKGwxkI7.js} +2 -2
  9. package/dist/{PackageVersion-Dv25_ZxF.cjs → PackageVersion-DJKkRuOD.cjs} +1 -1
  10. package/dist/{PackageVersion-PZr4BkQ5.js → PackageVersion-QRvxRYPv.js} +1 -1
  11. package/dist/{PenAndPaper-Cniu2YEX.js → PenAndPaper-CxC1lWGK.js} +3 -3
  12. package/dist/{PenAndPaper-Cx3_Liuv.cjs → PenAndPaper-MTTJ3Gd9.cjs} +1 -1
  13. package/dist/{Shape-BXTmpde5.js → Shape-58uyOuYc.js} +26 -23
  14. package/dist/Shape-D_1vUjCL.cjs +1 -0
  15. package/dist/{Slicer-DzKrIvL0.cjs → Slicer-BGEieXKn.cjs} +1 -1
  16. package/dist/{Slicer-D3tEQT9Z.js → Slicer-C7ormJRw.js} +2 -2
  17. package/dist/{Title-CXBc1TH6.js → Title-BI8etrRU.js} +1 -1
  18. package/dist/{Title-DdUtciJN.cjs → Title-Dk92HYMu.cjs} +1 -1
  19. package/dist/Tooltip-ClMeqejQ.cjs +1 -0
  20. package/dist/{Tooltip-C9lPh5bN.js → Tooltip-Cxc8c50d.js} +23 -20
  21. package/dist/{index-DLCyjPV0.js → index-9EeNZMz1.js} +6 -1
  22. package/dist/index-DEnRHTzk.cjs +9 -0
  23. package/dist/style.css +1 -1
  24. package/dist/types/vue-data-ui.d.cts +89 -62
  25. package/dist/types/vue-data-ui.d.ts +89 -62
  26. package/dist/useChartAccessibility-BWojgys7.js +13 -0
  27. package/dist/useChartAccessibility-Cm7nkzTG.cjs +1 -0
  28. package/dist/{useNestedProp-BdTohsDJ.cjs → useNestedProp-BNT60LxO.cjs} +1 -1
  29. package/dist/{useNestedProp-q86V3_LA.js → useNestedProp-df_bKQEI.js} +1 -1
  30. package/dist/{usePrinter-CPqTP09H.cjs → usePrinter-dyVny55M.cjs} +1 -1
  31. package/dist/{usePrinter-CpHZjw3G.js → usePrinter-ngrh00Ym.js} +1 -1
  32. package/dist/{vue-data-ui-CR9Dof80.cjs → vue-data-ui-BYX-I7HQ.cjs} +1 -1
  33. package/dist/{vue-data-ui-CzqznXmA.js → vue-data-ui-CDD7JcMs.js} +61 -61
  34. package/dist/vue-data-ui.cjs +1 -1
  35. package/dist/vue-data-ui.js +1 -1
  36. package/dist/{vue-ui-3d-bar-DvHdA_uo.js → vue-ui-3d-bar-BArLjlrc.js} +171 -168
  37. package/dist/vue-ui-3d-bar-DegdXf_S.cjs +19 -0
  38. package/dist/{vue-ui-accordion-FM16tlk7.cjs → vue-ui-accordion-D2qxHGzp.cjs} +1 -1
  39. package/dist/{vue-ui-accordion-DR2qjfsa.js → vue-ui-accordion-Qo8JxnIN.js} +3 -3
  40. package/dist/{vue-ui-age-pyramid-BoXxK9_W.js → vue-ui-age-pyramid-Biz02m7c.js} +85 -82
  41. package/dist/vue-ui-age-pyramid-kpaaJ2Gx.cjs +1 -0
  42. package/dist/{vue-ui-annotator-5tI8NuFh.cjs → vue-ui-annotator-By6XNYm0.cjs} +1 -1
  43. package/dist/{vue-ui-annotator-D4kCCpAK.js → vue-ui-annotator-MXs48Lua.js} +1 -1
  44. package/dist/{vue-ui-bullet-X3Xa_OZ6.js → vue-ui-bullet-CtBs_r3I.js} +92 -89
  45. package/dist/vue-ui-bullet-Dkz6vX0T.cjs +34 -0
  46. package/dist/vue-ui-candlestick-DiEUIuW8.cjs +2 -0
  47. package/dist/{vue-ui-candlestick-BTW5toA5.js → vue-ui-candlestick-gPztmuJE.js} +155 -152
  48. package/dist/{vue-ui-carousel-table-Cmnwv9Y3.cjs → vue-ui-carousel-table-CYeXP21y.cjs} +1 -1
  49. package/dist/{vue-ui-carousel-table-D7s_SrJR.js → vue-ui-carousel-table-D9ckYNKZ.js} +4 -4
  50. package/dist/{vue-ui-chestnut-DN9EZShg.js → vue-ui-chestnut-DWjn-jcN.js} +186 -183
  51. package/dist/vue-ui-chestnut-oZtRERnV.cjs +6 -0
  52. package/dist/{vue-ui-circle-pack-ts3rurGX.js → vue-ui-circle-pack-Bz5yVvAM.js} +99 -96
  53. package/dist/vue-ui-circle-pack-DCJ6N00S.cjs +1 -0
  54. package/dist/{vue-ui-cursor-SW96fYT3.js → vue-ui-cursor-BrrVDy1u.js} +2 -2
  55. package/dist/{vue-ui-cursor-CpWkrHpR.cjs → vue-ui-cursor-DZhRygRy.cjs} +1 -1
  56. package/dist/{vue-ui-dashboard-BZcfgajg.js → vue-ui-dashboard-DEmGN8Js.js} +2 -2
  57. package/dist/{vue-ui-dashboard-Buh9xBz-.cjs → vue-ui-dashboard-o8Ju_cXW.cjs} +1 -1
  58. package/dist/{vue-ui-digits-rB78vJRR.cjs → vue-ui-digits-CgyYdrQ5.cjs} +1 -1
  59. package/dist/{vue-ui-digits-C00yOT24.js → vue-ui-digits-DbOrROu7.js} +2 -2
  60. package/dist/vue-ui-donut-9pWaRwf3.cjs +1 -0
  61. package/dist/{vue-ui-donut-BkGR2Q-_.js → vue-ui-donut-CP5uWglM.js} +158 -156
  62. package/dist/{vue-ui-donut-evolution-B7WrjiTO.js → vue-ui-donut-evolution-BAMD1wQ5.js} +133 -131
  63. package/dist/vue-ui-donut-evolution-Ci_gIrkO.cjs +1 -0
  64. package/dist/{vue-ui-dumbbell-gQadUH53.js → vue-ui-dumbbell-CFYd-Ypn.js} +125 -122
  65. package/dist/vue-ui-dumbbell-DUNYoZxT.cjs +9 -0
  66. package/dist/{vue-ui-flow-CqSTZbgP.js → vue-ui-flow-CdvGWFzv.js} +96 -93
  67. package/dist/vue-ui-flow-W89ofPB-.cjs +1 -0
  68. package/dist/{vue-ui-funnel-Jr9TMTsq.js → vue-ui-funnel-DYutKyoz.js} +88 -85
  69. package/dist/vue-ui-funnel-RvdVrhFu.cjs +1 -0
  70. package/dist/{vue-ui-galaxy-BrQ10tPo.js → vue-ui-galaxy-BCBRlYS1.js} +123 -120
  71. package/dist/vue-ui-galaxy-Djdx-ca8.cjs +1 -0
  72. package/dist/{vue-ui-gauge-DOMio6Mv.js → vue-ui-gauge-BNAAZt4F.js} +86 -83
  73. package/dist/vue-ui-gauge-BVVmf09x.cjs +1 -0
  74. package/dist/{vue-ui-gizmo-SKS1idHb.js → vue-ui-gizmo-BFQ_KgLX.js} +3 -3
  75. package/dist/{vue-ui-gizmo-C3NimqVM.cjs → vue-ui-gizmo-Ceh0oFY3.cjs} +1 -1
  76. package/dist/vue-ui-heatmap-CiZpI-tA.cjs +1 -0
  77. package/dist/{vue-ui-heatmap-l4vCjb6f.js → vue-ui-heatmap-Ct3qaBv7.js} +109 -106
  78. package/dist/vue-ui-history-plot-Ci8Y2EFg.cjs +1 -0
  79. package/dist/{vue-ui-history-plot-B05tJML1.js → vue-ui-history-plot-shn74MJ6.js} +130 -127
  80. package/dist/{vue-ui-kpi-DF4U5E1w.js → vue-ui-kpi-B_pV-2JJ.js} +3 -3
  81. package/dist/{vue-ui-kpi-DQJr571M.cjs → vue-ui-kpi-DfYrbxlX.cjs} +1 -1
  82. package/dist/{vue-ui-mini-loader-BMARnOW4.js → vue-ui-mini-loader-BFnWQs5p.js} +2 -2
  83. package/dist/{vue-ui-mini-loader-BZkVKkqn.cjs → vue-ui-mini-loader-LIqf62jk.cjs} +1 -1
  84. package/dist/vue-ui-molecule-D8YuYTKv.cjs +1 -0
  85. package/dist/{vue-ui-molecule-C1ycekVJ.js → vue-ui-molecule-DNz1m8XZ.js} +147 -144
  86. package/dist/{vue-ui-mood-radar-_Kd-Lhpm.js → vue-ui-mood-radar-DiYB_zhM.js} +97 -94
  87. package/dist/vue-ui-mood-radar-uvH7qUHy.cjs +1 -0
  88. package/dist/{vue-ui-nested-donuts-DIwRSn-O.js → vue-ui-nested-donuts-9hn-g4ir.js} +99 -96
  89. package/dist/vue-ui-nested-donuts-C7ikDjp7.cjs +17 -0
  90. package/dist/vue-ui-onion-5Rqvd4Fw.cjs +5 -0
  91. package/dist/{vue-ui-onion-Dqb0gwGl.js → vue-ui-onion-DCWfNTNu.js} +105 -102
  92. package/dist/{vue-ui-parallel-coordinate-plot-De-tYNNy.js → vue-ui-parallel-coordinate-plot-CaPFL9_1.js} +97 -94
  93. package/dist/vue-ui-parallel-coordinate-plot-tlgTbaNX.cjs +8 -0
  94. package/dist/vue-ui-quadrant-B0Sw5NGo.cjs +1 -0
  95. package/dist/{vue-ui-quadrant-BQ5maxJq.js → vue-ui-quadrant-BoQZ375K.js} +155 -153
  96. package/dist/vue-ui-quick-chart-D3zV1d7t.cjs +15 -0
  97. package/dist/{vue-ui-quick-chart-DF_510YT.js → vue-ui-quick-chart-vfMN8F1q.js} +164 -161
  98. package/dist/{vue-ui-radar-DDHd0AYs.js → vue-ui-radar-CAuu6wkh.js} +129 -127
  99. package/dist/vue-ui-radar-CNMJCAwo.cjs +1 -0
  100. package/dist/{vue-ui-rating-Chi3OOtp.js → vue-ui-rating-Bm0HZ3du.js} +2 -2
  101. package/dist/{vue-ui-rating-D9kQcY2a.cjs → vue-ui-rating-dsRDRL98.cjs} +1 -1
  102. package/dist/{vue-ui-relation-circle-CV1xQOok.js → vue-ui-relation-circle-5OZMN9jR.js} +127 -124
  103. package/dist/vue-ui-relation-circle-iD7BufNH.cjs +1 -0
  104. package/dist/{vue-ui-rings-D2ezwyae.js → vue-ui-rings-COefBaQT.js} +114 -112
  105. package/dist/vue-ui-rings-DC4WG4sK.cjs +2 -0
  106. package/dist/vue-ui-scatter-5ny76dmi.cjs +1 -0
  107. package/dist/{vue-ui-scatter-BxbUYPk1.js → vue-ui-scatter-DhO83TZZ.js} +157 -154
  108. package/dist/{vue-ui-screenshot-Bc7Lv1i8.cjs → vue-ui-screenshot-DABH_phE.cjs} +1 -1
  109. package/dist/{vue-ui-screenshot-cxDgcXJB.js → vue-ui-screenshot-brillPo5.js} +1 -1
  110. package/dist/{vue-ui-skeleton-D6ojufhb.js → vue-ui-skeleton-BmJiYGtE.js} +3 -3
  111. package/dist/{vue-ui-skeleton-DvdPnQbR.cjs → vue-ui-skeleton-_DN0U6W6.cjs} +1 -1
  112. package/dist/{vue-ui-smiley-DEJ6S-We.cjs → vue-ui-smiley-CW6714mb.cjs} +1 -1
  113. package/dist/{vue-ui-smiley-9nGRDSn7.js → vue-ui-smiley-D9NRimij.js} +2 -2
  114. package/dist/{vue-ui-spark-trend-DiNeAGXR.js → vue-ui-spark-trend-BKZj03CQ.js} +5 -5
  115. package/dist/{vue-ui-spark-trend-BosbwgVe.cjs → vue-ui-spark-trend-expbkxgR.cjs} +1 -1
  116. package/dist/{vue-ui-sparkbar-DNf_Majv.js → vue-ui-sparkbar-CYRORE5i.js} +4 -4
  117. package/dist/{vue-ui-sparkbar-DGFKrcg0.cjs → vue-ui-sparkbar-Cr9FtevP.cjs} +1 -1
  118. package/dist/vue-ui-sparkgauge-BHXFhvTv.cjs +1 -0
  119. package/dist/{vue-ui-sparkgauge-D89HjxSK.js → vue-ui-sparkgauge-JV4tYB7P.js} +56 -53
  120. package/dist/{vue-ui-sparkhistogram-CU1_P6AJ.js → vue-ui-sparkhistogram-DKINHX2q.js} +93 -90
  121. package/dist/vue-ui-sparkhistogram-T4a3DDck.cjs +1 -0
  122. package/dist/{vue-ui-sparkline-C2McLmh5.js → vue-ui-sparkline-CbRTHtig.js} +109 -106
  123. package/dist/vue-ui-sparkline-Dc6Sf3n8.cjs +1 -0
  124. package/dist/{vue-ui-sparkstackbar-Cu4aG9PB.js → vue-ui-sparkstackbar-6u9-2nG4.js} +59 -56
  125. package/dist/vue-ui-sparkstackbar-CV5SkdsP.cjs +1 -0
  126. package/dist/{vue-ui-stackbar-6m5CpvNM.js → vue-ui-stackbar-CUppObfj.js} +136 -133
  127. package/dist/vue-ui-stackbar-CXB-nd71.cjs +6 -0
  128. package/dist/vue-ui-strip-plot-6IXF_U6-.cjs +1 -0
  129. package/dist/{vue-ui-strip-plot-DlZ2Eez4.js → vue-ui-strip-plot-doaNZAW4.js} +127 -124
  130. package/dist/{vue-ui-table-U0_3I0fu.js → vue-ui-table-CZsNuDR5.js} +1 -1
  131. package/dist/{vue-ui-table-BjhcV9qB.cjs → vue-ui-table-S66UCskD.cjs} +1 -1
  132. package/dist/{vue-ui-table-heatmap-Bfqytiv5.cjs → vue-ui-table-heatmap-BU9UU15H.cjs} +1 -1
  133. package/dist/{vue-ui-table-heatmap-BrGkCaOG.js → vue-ui-table-heatmap-CjohHqDV.js} +4 -4
  134. package/dist/{vue-ui-table-sparkline-CXlnp8E3.cjs → vue-ui-table-sparkline-CHFFTD0a.cjs} +1 -1
  135. package/dist/{vue-ui-table-sparkline-C1wNBDqO.js → vue-ui-table-sparkline-ab2rwdKB.js} +5 -5
  136. package/dist/{vue-ui-thermometer-Bx2abW1B.js → vue-ui-thermometer-C72mHwUi.js} +84 -81
  137. package/dist/vue-ui-thermometer-Ccd6RGh8.cjs +1 -0
  138. package/dist/vue-ui-timer-C8Fn2B0b.cjs +64 -0
  139. package/dist/{vue-ui-timer-3UkgrtEj.js → vue-ui-timer-D-LNi6lz.js} +183 -180
  140. package/dist/{vue-ui-tiremarks-C_xuD4De.js → vue-ui-tiremarks-Bo8EWsJ8.js} +59 -56
  141. package/dist/vue-ui-tiremarks-SOzvMOz4.cjs +1 -0
  142. package/dist/vue-ui-treemap-BqTTQrVh.cjs +1 -0
  143. package/dist/{vue-ui-treemap-BjDSR72h.js → vue-ui-treemap-uj94elVB.js} +123 -120
  144. package/dist/{vue-ui-vertical-bar-DUhOoSNl.js → vue-ui-vertical-bar-BUTOw-DK.js} +108 -106
  145. package/dist/vue-ui-vertical-bar-C4Sxun4Q.cjs +4 -0
  146. package/dist/{vue-ui-waffle-Dpox5n5s.js → vue-ui-waffle-CTWA1frT.js} +107 -104
  147. package/dist/vue-ui-waffle-DYWGRKdT.cjs +1 -0
  148. package/dist/vue-ui-wheel-8K72ZKda.js +330 -0
  149. package/dist/vue-ui-wheel-Cz5-0klT.cjs +1 -0
  150. package/dist/{vue-ui-word-cloud-u5S86-Ft.js → vue-ui-word-cloud-CSwBPDB8.js} +97 -94
  151. package/dist/vue-ui-word-cloud-D39riLZb.cjs +1 -0
  152. package/dist/vue-ui-xy-BbWXjajH.cjs +3 -0
  153. package/dist/{vue-ui-xy-0nBQDwL2.js → vue-ui-xy-DpDKutd7.js} +65 -58
  154. package/dist/{vue-ui-xy-canvas-yQlThVu7.cjs → vue-ui-xy-canvas-BCj0SCqe.cjs} +2 -2
  155. package/dist/{vue-ui-xy-canvas-DI7LiD4U.js → vue-ui-xy-canvas-BQm9gah4.js} +82 -81
  156. package/package.json +1 -1
  157. package/dist/Shape-GAZUIBfN.cjs +0 -1
  158. package/dist/Tooltip-BlGVq6xj.cjs +0 -1
  159. package/dist/index-DSGAenF3.cjs +0 -9
  160. package/dist/vue-ui-3d-bar-vvpkf_bv.cjs +0 -19
  161. package/dist/vue-ui-age-pyramid-CMMnrI3R.cjs +0 -1
  162. package/dist/vue-ui-bullet-nXPlud-q.cjs +0 -34
  163. package/dist/vue-ui-candlestick-B6T0LhEG.cjs +0 -2
  164. package/dist/vue-ui-chestnut-D8Gq_i77.cjs +0 -6
  165. package/dist/vue-ui-circle-pack-DCz3OWlu.cjs +0 -1
  166. package/dist/vue-ui-donut-BpgK-I9o.cjs +0 -1
  167. package/dist/vue-ui-donut-evolution-BVJCDPQ2.cjs +0 -1
  168. package/dist/vue-ui-dumbbell-DRcemHVG.cjs +0 -9
  169. package/dist/vue-ui-flow-DdQsK5DR.cjs +0 -1
  170. package/dist/vue-ui-funnel-Bq4yoTfd.cjs +0 -1
  171. package/dist/vue-ui-galaxy-ia1UNlpc.cjs +0 -1
  172. package/dist/vue-ui-gauge-C3FbYOSi.cjs +0 -1
  173. package/dist/vue-ui-heatmap-BCau2Z3U.cjs +0 -1
  174. package/dist/vue-ui-history-plot-DL7VjOd0.cjs +0 -1
  175. package/dist/vue-ui-molecule-B5XDGmLx.cjs +0 -1
  176. package/dist/vue-ui-mood-radar-DyMCJKFb.cjs +0 -1
  177. package/dist/vue-ui-nested-donuts-B4Am-r6T.cjs +0 -17
  178. package/dist/vue-ui-onion-YeBdJrdx.cjs +0 -5
  179. package/dist/vue-ui-parallel-coordinate-plot-CoecETlm.cjs +0 -8
  180. package/dist/vue-ui-quadrant-Btzq3qNJ.cjs +0 -1
  181. package/dist/vue-ui-quick-chart-5cWjffLJ.cjs +0 -15
  182. package/dist/vue-ui-radar-t22bqFiQ.cjs +0 -1
  183. package/dist/vue-ui-relation-circle-CWgGPxDJ.cjs +0 -1
  184. package/dist/vue-ui-rings-CiLJkRwa.cjs +0 -2
  185. package/dist/vue-ui-scatter-B24gGA8q.cjs +0 -1
  186. package/dist/vue-ui-sparkgauge-DwK7dzdJ.cjs +0 -1
  187. package/dist/vue-ui-sparkhistogram-DKoI6_TT.cjs +0 -1
  188. package/dist/vue-ui-sparkline-Bp7GMRrA.cjs +0 -1
  189. package/dist/vue-ui-sparkstackbar-Dayxdcr7.cjs +0 -1
  190. package/dist/vue-ui-stackbar-C21xTVy9.cjs +0 -6
  191. package/dist/vue-ui-strip-plot-DAo8FMup.cjs +0 -1
  192. package/dist/vue-ui-thermometer-CBdAwYdC.cjs +0 -1
  193. package/dist/vue-ui-timer-CRDQbqJ_.cjs +0 -64
  194. package/dist/vue-ui-tiremarks-C78mfaBr.cjs +0 -1
  195. package/dist/vue-ui-treemap-CP__1pdb.cjs +0 -1
  196. package/dist/vue-ui-vertical-bar-DTB8r4LH.cjs +0 -4
  197. package/dist/vue-ui-waffle-CrVyCF7k.cjs +0 -1
  198. package/dist/vue-ui-wheel-DV2zgr4d.cjs +0 -1
  199. package/dist/vue-ui-wheel-ykD8OULJ.js +0 -319
  200. package/dist/vue-ui-word-cloud-DBkAo2uX.cjs +0 -1
  201. package/dist/vue-ui-xy-mEVVQr_U.cjs +0 -3
@@ -1,22 +1,23 @@
1
- import { ref as i, computed as x, useSlots as Ea, onMounted as la, watch as E, nextTick as ye, onBeforeUnmount as Aa, createElementBlock as te, openBlock as w, unref as z, normalizeClass as Da, normalizeStyle as V, createCommentVNode as Y, createBlock as A, createElementVNode as oe, createSlots as Ha, withCtx as m, renderSlot as L, normalizeProps as Z, guardReactiveProps as G, createVNode as Na, toDisplayString as ta, createTextVNode as Ya } from "vue";
2
- import { u as _a, c as Ua, t as Wa, p as _, a as Xa, C as fe, b as Ba, D as ze, i as j, f as q, d as oa, _ as Va, J as Za, a9 as Ga, o as ja, e as qa, x as ra, q as Ja, r as Ka, y as Qa, s as re, l as el } from "./index-DLCyjPV0.js";
1
+ import { ref as v, computed as x, useSlots as Ea, onMounted as la, watch as E, nextTick as ye, onBeforeUnmount as Aa, createElementBlock as te, openBlock as z, unref as w, normalizeClass as Da, normalizeStyle as V, createCommentVNode as Y, createBlock as A, createElementVNode as oe, createSlots as Ha, withCtx as m, renderSlot as L, normalizeProps as Z, guardReactiveProps as G, createVNode as Na, toDisplayString as ta, createTextVNode as Ya } from "vue";
2
+ import { u as _a, c as Ua, t as Wa, p as _, a as Xa, C as fe, b as Ba, D as ze, i as j, f as q, d as oa, _ as Va, J as Za, a9 as Ga, o as ja, e as qa, x as ra, q as Ja, r as Ka, y as Qa, s as re, l as el } from "./index-9EeNZMz1.js";
3
3
  import { d as al, t as ll, u as tl, c as ol, a as ua, l as b, r as Se, b as R, p as sa } from "./useResponsive-BWapHhVH.js";
4
- import { _ as rl } from "./Tooltip-C9lPh5bN.js";
5
- import { L as ul } from "./Legend-CyJrN721.js";
6
- import { _ as sl } from "./Title-CXBc1TH6.js";
7
- import { S as nl } from "./Slicer-D3tEQT9Z.js";
8
- import { u as il, U as vl } from "./usePrinter-CpHZjw3G.js";
9
- import cl from "./vue-ui-accordion-DR2qjfsa.js";
10
- import { D as dl } from "./DataTable-BCCBpyhr.js";
11
- import hl from "./vue-ui-skeleton-D6ojufhb.js";
12
- import { u as na } from "./useNestedProp-q86V3_LA.js";
13
- import { P as yl } from "./PenAndPaper-Cniu2YEX.js";
4
+ import { _ as rl } from "./Tooltip-Cxc8c50d.js";
5
+ import { L as ul } from "./Legend-NKGwxkI7.js";
6
+ import { _ as sl } from "./Title-BI8etrRU.js";
7
+ import { S as nl } from "./Slicer-C7ormJRw.js";
8
+ import { u as il, U as vl } from "./usePrinter-ngrh00Ym.js";
9
+ import cl from "./vue-ui-accordion-Qo8JxnIN.js";
10
+ import { D as dl } from "./DataTable-TjJIVFlL.js";
11
+ import hl from "./vue-ui-skeleton-BmJiYGtE.js";
12
+ import { u as na } from "./useNestedProp-df_bKQEI.js";
13
+ import { P as yl } from "./PenAndPaper-CxC1lWGK.js";
14
14
  import { u as fl } from "./useUserOptionState-BIvW1Kz7.js";
15
- import { _ as gl } from "./_plugin-vue_export-helper-CHgC5LLL.js";
16
- const pl = ["id"], ml = ["onClick"], bl = {
15
+ import { u as gl } from "./useChartAccessibility-BWojgys7.js";
16
+ import { _ as pl } from "./_plugin-vue_export-helper-CHgC5LLL.js";
17
+ const ml = ["id"], bl = ["onClick"], xl = {
17
18
  key: 2,
18
19
  class: "vue-data-ui-watermark"
19
- }, xl = ["innerHTML"], Ll = {
20
+ }, Ll = ["innerHTML"], kl = {
20
21
  __name: "vue-ui-xy-canvas",
21
22
  props: {
22
23
  dataset: {
@@ -34,14 +35,14 @@ const pl = ["id"], ml = ["onClick"], bl = {
34
35
  },
35
36
  emits: ["selectLegend"],
36
37
  setup($e, { expose: ia, emit: va }) {
37
- const { vue_ui_xy_canvas: ca } = _a(), g = $e, ge = i(Ua()), J = i(null), M = i(null), K = i(null), s = i(null), y = i(1), P = i(1), ue = i(!1), c = i(null), se = i(""), Ie = i(null), $ = i([]), U = i(1), D = i(!0), W = i(!0), pe = i(null), Me = i(0), Te = i(0), ne = i(!1), Oe = i(null), Re = i(null), Pe = i(null), Fe = i(null), me = i(0), be = i(0), xe = i(0), T = i(null), Le = x(() => !!g.dataset && g.dataset.length), da = va, ha = Ea();
38
+ const { vue_ui_xy_canvas: ca } = _a(), g = $e, ge = v(Ua()), J = v(null), K = v(null), s = v(null), y = v(1), P = v(1), ue = v(!1), c = v(null), se = v(""), Ie = v(null), $ = v([]), U = v(1), D = v(!0), W = v(!0), pe = v(null), Me = v(0), Te = v(0), ne = v(!1), Oe = v(null), Re = v(null), Pe = v(null), Fe = v(null), me = v(0), be = v(0), xe = v(0), M = v(null), Le = x(() => !!g.dataset && g.dataset.length), da = va, ha = Ea();
38
39
  la(() => {
39
40
  ha["chart-background"] && console.warn("VueUiXyCanvas does not support the #chart-background slot.");
40
41
  });
41
42
  const a = x({
42
43
  get: () => De(),
43
44
  set: (e) => e
44
- }), { userOptionsVisible: ke, setUserOptionsVisibility: Ee, keepUserOptionState: Ae } = fl({ config: a.value });
45
+ }), { userOptionsVisible: ke, setUserOptionsVisibility: Ee, keepUserOptionState: Ae } = fl({ config: a.value }), { svgRef: T } = gl({ config: a.value.style.chart.title });
45
46
  function De() {
46
47
  const e = na({
47
48
  userConfig: g.config,
@@ -61,10 +62,10 @@ const pl = ["id"], ml = ["onClick"], bl = {
61
62
  }, { deep: !0 }), E(() => g.dataset, () => {
62
63
  Ce(), me.value += 1, be.value += 1, xe.value += 1;
63
64
  }, { deep: !0 });
64
- const He = i(a.value.style.chart.aspectRatio), { isPrinting: Ne, isImaging: Ye, generatePdf: _e, generateImage: Ue } = il({
65
+ const He = v(a.value.style.chart.aspectRatio), { isPrinting: Ne, isImaging: Ye, generatePdf: _e, generateImage: Ue } = il({
65
66
  elementId: `xy_canvas_${ge.value}`,
66
67
  fileName: a.value.style.chart.title.text || "vue-ui-xy-canvas"
67
- }), u = i({
68
+ }), u = v({
68
69
  showTable: a.value.table.show,
69
70
  showDataLabels: a.value.style.chart.dataLabels.show,
70
71
  stacked: a.value.style.chart.stacked,
@@ -90,13 +91,13 @@ const pl = ["id"], ml = ["onClick"], bl = {
90
91
  function Xe(e, t) {
91
92
  return e / t;
92
93
  }
93
- function fa({ hasAutoScale: e, series: t, min: o, max: n, scale: d, yOffset: C, individualHeight: v, stackIndex: f = null }) {
94
+ function fa({ hasAutoScale: e, series: t, min: o, max: n, scale: d, yOffset: C, individualHeight: i, stackIndex: f = null }) {
94
95
  return t.map((H, S) => {
95
96
  const F = d.min < 0 ? Math.abs(d.min) : 0, N = Xe(H + F, F + d.max);
96
97
  let ae, le;
97
98
  e && (ae = d.min, le = Xe(H - ae, d.max - ae));
98
99
  let O = 0;
99
- return f === null ? O = l.value.bottom - l.value.height * (e ? le : N) : O = l.value.bottom - C - v * (e ? le : N), {
100
+ return f === null ? O = l.value.bottom - l.value.height * (e ? le : N) : O = l.value.bottom - C - i * (e ? le : N), {
100
101
  x: l.value.left + l.value.slot * S + l.value.slot / 2,
101
102
  y: O,
102
103
  value: H
@@ -104,10 +105,10 @@ const pl = ["id"], ml = ["onClick"], bl = {
104
105
  });
105
106
  }
106
107
  const p = x(() => {
107
- const e = a.value.style.chart.scale.min !== null ? a.value.style.chart.scale.min : Math.min(...X.value.filter((v, f) => !$.value.includes(v.absoluteIndex)).flatMap((v) => v.series.slice(r.value.start, r.value.end))), t = a.value.style.chart.scale.max !== null ? a.value.style.chart.scale.max : Math.max(...X.value.filter((v, f) => !$.value.includes(v.absoluteIndex)).flatMap((v) => v.series.slice(r.value.start, r.value.end))), o = ze(e < 0 ? e : 0, t === e ? e + 1 < 0 ? 0 : e + 1 : t < 0 ? 0 : t, a.value.style.chart.scale.ticks), n = o.min < 0 ? Math.abs(o.min) : 0, d = l.value.bottom - l.value.height * (n / (o.max + n)), C = o.ticks.map((v) => ({
108
- y: l.value.bottom - l.value.height * ((v + n) / (o.max + n)),
108
+ const e = a.value.style.chart.scale.min !== null ? a.value.style.chart.scale.min : Math.min(...X.value.filter((i, f) => !$.value.includes(i.absoluteIndex)).flatMap((i) => i.series.slice(r.value.start, r.value.end))), t = a.value.style.chart.scale.max !== null ? a.value.style.chart.scale.max : Math.max(...X.value.filter((i, f) => !$.value.includes(i.absoluteIndex)).flatMap((i) => i.series.slice(r.value.start, r.value.end))), o = ze(e < 0 ? e : 0, t === e ? e + 1 < 0 ? 0 : e + 1 : t < 0 ? 0 : t, a.value.style.chart.scale.ticks), n = o.min < 0 ? Math.abs(o.min) : 0, d = l.value.bottom - l.value.height * (n / (o.max + n)), C = o.ticks.map((i) => ({
109
+ y: l.value.bottom - l.value.height * ((i + n) / (o.max + n)),
109
110
  x: l.value.left - 8,
110
- value: v
111
+ value: i
111
112
  }));
112
113
  return {
113
114
  absoluteMin: n,
@@ -157,13 +158,13 @@ const pl = ["id"], ml = ["onClick"], bl = {
157
158
  valueMin: o,
158
159
  valueMax: n
159
160
  }, C = e.scaleSteps || a.value.style.chart.scale.ticks;
160
- let v;
161
- e.autoScaling ? v = ze(d.valueMin, d.valueMax, C) : v = ze(d.valueMin < 0 ? d.valueMin : 0, d.valueMax <= 0 ? 0 : d.valueMax, C);
162
- const f = u.value.stacked ? l.value.height * (1 - e.cumulatedStackRatio) : 0, H = u.value.stacked ? l.value.height / a.value.style.chart.stackGap : 0, S = u.value.stacked ? l.value.height * e.stackRatio - H : l.value.height, F = v.min < 0 ? Math.abs(v.min) : 0;
161
+ let i;
162
+ e.autoScaling ? i = ze(d.valueMin, d.valueMax, C) : i = ze(d.valueMin < 0 ? d.valueMin : 0, d.valueMax <= 0 ? 0 : d.valueMax, C);
163
+ const f = u.value.stacked ? l.value.height * (1 - e.cumulatedStackRatio) : 0, H = u.value.stacked ? l.value.height / a.value.style.chart.stackGap : 0, S = u.value.stacked ? l.value.height * e.stackRatio - H : l.value.height, F = i.min < 0 ? Math.abs(i.min) : 0;
163
164
  let N;
164
- e.autoScaling && u.value.stacked && n <= 0 ? N = l.value.bottom - f - S : N = l.value.bottom - f - S * (F / (v.max + F));
165
- const ae = v.ticks.map((O, Fa) => ({
166
- y: l.value.bottom - f - S * (Fa / (v.ticks.length - 1)),
165
+ e.autoScaling && u.value.stacked && n <= 0 ? N = l.value.bottom - f - S : N = l.value.bottom - f - S * (F / (i.max + F));
166
+ const ae = i.ticks.map((O, Fa) => ({
167
+ y: l.value.bottom - f - S * (Fa / (i.ticks.length - 1)),
167
168
  x: l.value.left - 8,
168
169
  value: O
169
170
  })), le = fa({
@@ -171,7 +172,7 @@ const pl = ["id"], ml = ["onClick"], bl = {
171
172
  series: e.series,
172
173
  min: u.value.stacked ? o : p.value.min,
173
174
  max: u.value.stacked ? n : p.value.max,
174
- scale: u.value.stacked ? v : p.value.scale,
175
+ scale: u.value.stacked ? i : p.value.scale,
175
176
  yOffset: f,
176
177
  individualHeight: S,
177
178
  stackIndex: u.value.stacked ? t : null
@@ -181,21 +182,21 @@ const pl = ["id"], ml = ["onClick"], bl = {
181
182
  coordinatesLine: le,
182
183
  min: o,
183
184
  max: n,
184
- localScale: v,
185
+ localScale: i,
185
186
  localZero: N,
186
187
  localMin: F,
187
188
  localYLabels: ae,
188
189
  yOffset: f,
189
190
  individualHeight: S
190
191
  };
191
- })), r = i({
192
+ })), r = v({
192
193
  start: 0,
193
194
  end: I.value
194
195
  });
195
196
  function Be() {
196
197
  Ve();
197
198
  }
198
- const B = i(null);
199
+ const B = v(null);
199
200
  async function Ve() {
200
201
  (a.value.style.chart.zoom.startIndex !== null || a.value.style.chart.zoom.endIndex !== null) && B.value ? (a.value.style.chart.zoom.startIndex !== null && (await ye(), await ye(), B.value && B.value.setStartValue(a.value.style.chart.zoom.startIndex)), a.value.style.chart.zoom.endIndex !== null && (await ye(), await ye(), B.value && B.value.setEndValue(pa(a.value.style.chart.zoom.endIndex + 1)))) : (r.value = {
201
202
  start: 0,
@@ -208,10 +209,10 @@ const pl = ["id"], ml = ["onClick"], bl = {
208
209
  }
209
210
  const ma = x(() => h.value.filter((e) => ["line", "plot", void 0].includes(e.type))), k = x(() => h.value.filter((e) => e.type === "bar"));
210
211
  function ba() {
211
- if (!M.value)
212
+ if (!T.value)
212
213
  return;
213
214
  const e = K.value.offsetWidth, t = K.value.offsetHeight;
214
- M.value.width = e * U.value * 2, M.value.height = t * U.value * 2, y.value = e * U.value * 2, P.value = t * U.value * 2, s.value.scale(U.value, U.value), Q();
215
+ T.value.width = e * U.value * 2, T.value.height = t * U.value * 2, y.value = e * U.value * 2, P.value = t * U.value * 2, s.value.scale(U.value, U.value), Q();
215
216
  }
216
217
  function xa() {
217
218
  if (s.value.clearRect(0, 0, 1e4, 1e4), s.value.fillStyle = a.value.style.chart.backgroundColor, s.value.fillRect(0, 0, l.value.canvasWidth, l.value.canvasHeight), u.value.stacked)
@@ -577,11 +578,11 @@ const pl = ["id"], ml = ["onClick"], bl = {
577
578
  );
578
579
  }
579
580
  function Sa() {
580
- T.value && b(
581
+ M.value && b(
581
582
  s.value,
582
583
  [
583
- { x: l.value.left, y: T.value },
584
- { x: l.value.right, y: T.value }
584
+ { x: l.value.left, y: M.value },
585
+ { x: l.value.right, y: M.value }
585
586
  ],
586
587
  {
587
588
  color: a.value.style.chart.selector.color,
@@ -694,7 +695,7 @@ const pl = ["id"], ml = ["onClick"], bl = {
694
695
  function Q() {
695
696
  xa(), D.value ? (c.value !== null && a.value.style.chart.selector.show && Ze(), $a(), u.value.stacked && a.value.style.chart.grid.x.showAxis && Ma(), ma.value.forEach((e) => {
696
697
  (e.type === "line" || !e.type) && Ia(e), W.value && (La(e), u.value.showDataLabels && [!0, void 0].includes(e.dataLabels) && wa(e));
697
- }), pe.value = ol(M.value)) : (pe.value && (s.value.clearRect(0, 0, 1e4, 1e4), s.value.drawImage(pe.value, 0, 0)), c.value !== null && a.value.style.chart.selector.show && Ze(), c.value !== null && h.value.forEach((e) => {
698
+ }), pe.value = ol(T.value)) : (pe.value && (s.value.clearRect(0, 0, 1e4, 1e4), s.value.drawImage(pe.value, 0, 0)), c.value !== null && a.value.style.chart.selector.show && Ze(), c.value !== null && h.value.forEach((e) => {
698
699
  if (e.type === "line" || !e.type || e.type === "plot") {
699
700
  if (!e.coordinatesLine[c.value]) return;
700
701
  e.coordinatesLine[c.value].x !== void 0 && e.coordinatesLine[c.value].y !== void 0 && ua(
@@ -721,16 +722,16 @@ const pl = ["id"], ml = ["onClick"], bl = {
721
722
  return { y: t, value: o };
722
723
  }
723
724
  function Ta(e) {
724
- const { left: t, top: o } = M.value.getBoundingClientRect(), n = e.clientX - t;
725
- if (T.value = (e.clientY - o) * 2, (T.value < l.value.top || T.value > l.value.bottom) && (T.value = null), n * 2 < l.value.left || n * 2 > l.value.right) {
725
+ const { left: t, top: o } = T.value.getBoundingClientRect(), n = e.clientX - t;
726
+ if (M.value = (e.clientY - o) * 2, (M.value < l.value.top || M.value > l.value.bottom) && (M.value = null), n * 2 < l.value.left || n * 2 > l.value.right) {
726
727
  ue.value = !1, c.value = null;
727
728
  return;
728
729
  }
729
730
  const d = n * 2 - l.value.left;
730
731
  if (c.value = Math.floor(d / l.value.slot), ue.value = !0, !W.value) return;
731
732
  let C = "";
732
- const v = a.value.style.chart.tooltip.customFormat;
733
- ra(v) && Qa(() => v({
733
+ const i = a.value.style.chart.tooltip.customFormat;
734
+ ra(i) && Qa(() => i({
734
735
  seriesIndex: c.value,
735
736
  datapoint: h.value.map((f) => ({
736
737
  shape: f.shape || null,
@@ -741,7 +742,7 @@ const pl = ["id"], ml = ["onClick"], bl = {
741
742
  })),
742
743
  series: h.value,
743
744
  config: a.value
744
- })) ? se.value = v({
745
+ })) ? se.value = i({
745
746
  seriesIndex: c.value,
746
747
  datapoint: h.value.map((f) => ({
747
748
  shape: f.shape || null,
@@ -762,15 +763,15 @@ const pl = ["id"], ml = ["onClick"], bl = {
762
763
  deep: !0
763
764
  }), E(() => u.value.showDataLabels, (e) => {
764
765
  D.value = !0, Q();
765
- }), E(() => T.value, (e) => {
766
+ }), E(() => M.value, (e) => {
766
767
  e && Q();
767
768
  }), E(() => u.value.stacked, (e) => {
768
769
  D.value = !0, W.value = !0, ie();
769
770
  });
770
771
  function Oa() {
771
- ue.value = !1, c.value = null, se.value = "", T.value = null, Q();
772
+ ue.value = !1, c.value = null, se.value = "", M.value = null, Q();
772
773
  }
773
- const ve = i(null), ce = i(null);
774
+ const ve = v(null), ce = v(null);
774
775
  la(() => {
775
776
  Ce();
776
777
  });
@@ -778,7 +779,7 @@ const pl = ["id"], ml = ["onClick"], bl = {
778
779
  if (ja(g.dataset) ? qa({
779
780
  componentName: "VueUiXyCanvas",
780
781
  type: "dataset"
781
- }) : M.value && (s.value = M.value.getContext("2d", { willReadFrequently: !0 })), a.value.responsive) {
782
+ }) : T.value && (s.value = T.value.getContext("2d", { willReadFrequently: !0 })), a.value.responsive) {
782
783
  const e = ll(() => {
783
784
  const { width: t, height: o } = tl({
784
785
  chart: J.value,
@@ -828,8 +829,8 @@ const pl = ["id"], ml = ["onClick"], bl = {
828
829
  const e = [""].concat(h.value.map((d) => d.name)).concat(' <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M18 16v2a1 1 0 0 1 -1 1h-11l6 -7l-6 -7h11a1 1 0 0 1 1 1v2" /></svg>');
829
830
  let t = [];
830
831
  for (let d = 0; d < I.value; d += 1) {
831
- const C = h.value.map((v) => v.series[d] ?? 0).reduce((v, f) => v + f, 0);
832
- t.push([a.value.style.chart.grid.y.timeLabels.values.slice(r.value.start, r.value.end)[d] ?? d + 1].concat(h.value.map((v) => (v.series[d] ?? 0).toFixed(a.value.table.rounding))).concat((C ?? 0).toFixed(a.value.table.rounding)));
832
+ const C = h.value.map((i) => i.series[d] ?? 0).reduce((i, f) => i + f, 0);
833
+ t.push([a.value.style.chart.grid.y.timeLabels.values.slice(r.value.start, r.value.end)[d] ?? d + 1].concat(h.value.map((i) => (i.series[d] ?? 0).toFixed(a.value.table.rounding))).concat((C ?? 0).toFixed(a.value.table.rounding)));
833
834
  }
834
835
  const o = {
835
836
  th: {
@@ -879,7 +880,7 @@ const pl = ["id"], ml = ["onClick"], bl = {
879
880
  function aa() {
880
881
  u.value.showTooltip = !u.value.showTooltip;
881
882
  }
882
- const he = i(!1);
883
+ const he = v(!1);
883
884
  function we() {
884
885
  he.value = !he.value;
885
886
  }
@@ -893,22 +894,22 @@ const pl = ["id"], ml = ["onClick"], bl = {
893
894
  toggleStack: ea,
894
895
  toggleTooltip: aa,
895
896
  toggleAnnotator: we
896
- }), (e, t) => (w(), te("div", {
897
+ }), (e, t) => (z(), te("div", {
897
898
  style: V(`width:100%; position:relative; ${a.value.responsive ? "height: 100%" : ""}`),
898
899
  ref_key: "xy",
899
900
  ref: J,
900
901
  id: `xy_canvas_${ge.value}`,
901
902
  class: Da(`vue-ui-donut ${ne.value ? "vue-data-ui-wrapper-fullscreen" : ""}`),
902
- onMouseenter: t[5] || (t[5] = () => z(Ee)(!0)),
903
- onMouseleave: t[6] || (t[6] = () => z(Ee)(!1))
903
+ onMouseenter: t[5] || (t[5] = () => w(Ee)(!0)),
904
+ onMouseleave: t[6] || (t[6] = () => w(Ee)(!1))
904
905
  }, [
905
- a.value.style.chart.title.text ? (w(), te("div", {
906
+ a.value.style.chart.title.text ? (z(), te("div", {
906
907
  key: 0,
907
908
  ref_key: "chartTitle",
908
909
  ref: Oe,
909
910
  style: V(`width:100%;background:${a.value.style.chart.backgroundColor};`)
910
911
  }, [
911
- (w(), A(sl, {
912
+ (z(), A(sl, {
912
913
  key: `title_${me.value}`,
913
914
  config: {
914
915
  title: {
@@ -922,13 +923,13 @@ const pl = ["id"], ml = ["onClick"], bl = {
922
923
  }
923
924
  }, null, 8, ["config"]))
924
925
  ], 4)) : Y("", !0),
925
- a.value.userOptions.show && Le.value && (z(Ae) || z(ke)) ? (w(), A(vl, {
926
+ a.value.userOptions.show && Le.value && (w(Ae) || w(ke)) ? (z(), A(vl, {
926
927
  ref: "details",
927
928
  key: `user_option_${Te.value}`,
928
929
  backgroundColor: a.value.style.chart.backgroundColor,
929
930
  color: a.value.style.chart.color,
930
- isPrinting: z(Ne),
931
- isImaging: z(Ye),
931
+ isPrinting: w(Ne),
932
+ isImaging: w(Ye),
932
933
  uid: ge.value,
933
934
  hasTooltip: a.value.userOptions.buttons.tooltip && a.value.style.chart.tooltip.show,
934
935
  hasPdf: a.value.userOptions.buttons.pdf,
@@ -947,16 +948,16 @@ const pl = ["id"], ml = ["onClick"], bl = {
947
948
  hasAnnotator: a.value.userOptions.buttons.annotator,
948
949
  isAnnotation: he.value,
949
950
  onToggleFullscreen: ya,
950
- onGeneratePdf: z(_e),
951
+ onGeneratePdf: w(_e),
951
952
  onGenerateCsv: Je,
952
- onGenerateImage: z(Ue),
953
+ onGenerateImage: w(Ue),
953
954
  onToggleTable: Ke,
954
955
  onToggleLabels: Qe,
955
956
  onToggleStack: ea,
956
957
  onToggleTooltip: aa,
957
958
  onToggleAnnotator: we,
958
959
  style: V({
959
- visibility: z(Ae) ? z(ke) ? "visible" : "hidden" : "visible"
960
+ visibility: w(Ae) ? w(ke) ? "visible" : "hidden" : "visible"
960
961
  })
961
962
  }, Ha({ _: 2 }, [
962
963
  e.$slots.optionTooltip ? {
@@ -1029,14 +1030,14 @@ const pl = ["id"], ml = ["onClick"], bl = {
1029
1030
  ref_key: "container",
1030
1031
  ref: K
1031
1032
  }, [
1032
- Le.value ? (w(), te("canvas", {
1033
+ Le.value ? (z(), te("canvas", {
1033
1034
  key: 0,
1034
1035
  ref_key: "canvas",
1035
- ref: M,
1036
+ ref: T,
1036
1037
  style: { width: "100%", height: "100%" },
1037
1038
  onMousemove: t[0] || (t[0] = (o) => Ta(o)),
1038
1039
  onMouseleave: Oa
1039
- }, null, 544)) : (w(), A(hl, {
1040
+ }, null, 544)) : (z(), A(hl, {
1040
1041
  key: 1,
1041
1042
  config: {
1042
1043
  type: "line",
@@ -1064,11 +1065,11 @@ const pl = ["id"], ml = ["onClick"], bl = {
1064
1065
  borderWidth: a.value.style.chart.tooltip.borderWidth,
1065
1066
  position: a.value.style.chart.tooltip.position,
1066
1067
  offsetY: a.value.style.chart.tooltip.offsetY,
1067
- parent: M.value,
1068
+ parent: w(T),
1068
1069
  content: se.value,
1069
1070
  isFullscreen: ne.value,
1070
1071
  backgroundOpacity: a.value.style.chart.tooltip.backgroundOpacity,
1071
- isCustom: z(ra)(a.value.style.chart.tooltip.customFormat)
1072
+ isCustom: w(ra)(a.value.style.chart.tooltip.customFormat)
1072
1073
  }, {
1073
1074
  "tooltip-before": m(() => [
1074
1075
  L(e.$slots, "tooltip-before", Z(G({ ...Ie.value })), void 0, !0)
@@ -1085,7 +1086,7 @@ const pl = ["id"], ml = ["onClick"], bl = {
1085
1086
  style: V(`width:100%;background:${a.value.style.chart.backgroundColor}`),
1086
1087
  "data-html2canvas-ignore": ""
1087
1088
  }, [
1088
- a.value.style.chart.zoom.show && I.value > 1 ? (w(), A(nl, {
1089
+ a.value.style.chart.zoom.show && I.value > 1 ? (z(), A(nl, {
1089
1090
  ref_key: "slicerComponent",
1090
1091
  ref: B,
1091
1092
  key: `slicer_${Me.value}`,
@@ -1122,7 +1123,7 @@ const pl = ["id"], ml = ["onClick"], bl = {
1122
1123
  ref_key: "chartLegend",
1123
1124
  ref: Re
1124
1125
  }, [
1125
- a.value.style.chart.legend.show && Le.value ? (w(), A(ul, {
1126
+ a.value.style.chart.legend.show && Le.value ? (z(), A(ul, {
1126
1127
  legendSet: je.value,
1127
1128
  config: Ra.value,
1128
1129
  key: `legend_${xe.value}`,
@@ -1132,7 +1133,7 @@ const pl = ["id"], ml = ["onClick"], bl = {
1132
1133
  oe("div", {
1133
1134
  onClick: (d) => o.segregate(),
1134
1135
  style: V(`opacity:${$.value.includes(n) ? 0.5 : 1}`)
1135
- }, ta(o.name), 13, ml)
1136
+ }, ta(o.name), 13, bl)
1136
1137
  ]),
1137
1138
  _: 1
1138
1139
  }, 8, ["legendSet", "config"])) : L(e.$slots, "legend", {
@@ -1140,10 +1141,10 @@ const pl = ["id"], ml = ["onClick"], bl = {
1140
1141
  legend: je.value
1141
1142
  }, void 0, !0)
1142
1143
  ], 512),
1143
- e.$slots.watermark ? (w(), te("div", bl, [
1144
- L(e.$slots, "watermark", Z(G({ isPrinting: z(Ne) || z(Ye) })), void 0, !0)
1144
+ e.$slots.watermark ? (z(), te("div", xl, [
1145
+ L(e.$slots, "watermark", Z(G({ isPrinting: w(Ne) || w(Ye) })), void 0, !0)
1145
1146
  ])) : Y("", !0),
1146
- e.$slots.source ? (w(), te("div", {
1147
+ e.$slots.source ? (z(), te("div", {
1147
1148
  key: 3,
1148
1149
  ref_key: "source",
1149
1150
  ref: Fe,
@@ -1151,7 +1152,7 @@ const pl = ["id"], ml = ["onClick"], bl = {
1151
1152
  }, [
1152
1153
  L(e.$slots, "source", {}, void 0, !0)
1153
1154
  ], 512)) : Y("", !0),
1154
- r.value.end - r.value.start < 200 ? (w(), A(cl, {
1155
+ r.value.end - r.value.start < 200 ? (z(), A(cl, {
1155
1156
  key: 4,
1156
1157
  hideDetails: "",
1157
1158
  config: {
@@ -1168,7 +1169,7 @@ const pl = ["id"], ml = ["onClick"], bl = {
1168
1169
  }
1169
1170
  }, {
1170
1171
  content: m(() => [
1171
- (w(), A(dl, {
1172
+ (z(), A(dl, {
1172
1173
  key: `table_${be.value}`,
1173
1174
  colNames: de.value.colNames,
1174
1175
  head: de.value.head,
@@ -1178,7 +1179,7 @@ const pl = ["id"], ml = ["onClick"], bl = {
1178
1179
  onClose: t[4] || (t[4] = (o) => u.value.showTable = !1)
1179
1180
  }, {
1180
1181
  th: m(({ th: o }) => [
1181
- oe("div", { innerHTML: o }, null, 8, xl)
1182
+ oe("div", { innerHTML: o }, null, 8, Ll)
1182
1183
  ]),
1183
1184
  td: m(({ td: o }) => [
1184
1185
  Ya(ta(o), 1)
@@ -1188,7 +1189,7 @@ const pl = ["id"], ml = ["onClick"], bl = {
1188
1189
  ]),
1189
1190
  _: 1
1190
1191
  }, 8, ["config"])) : Y("", !0),
1191
- a.value.userOptions.buttons.annotator && h.value.length ? (w(), A(yl, {
1192
+ a.value.userOptions.buttons.annotator && h.value.length ? (z(), A(yl, {
1192
1193
  key: 5,
1193
1194
  parent: J.value,
1194
1195
  backgroundColor: a.value.style.chart.backgroundColor,
@@ -1196,9 +1197,9 @@ const pl = ["id"], ml = ["onClick"], bl = {
1196
1197
  active: he.value,
1197
1198
  onClose: we
1198
1199
  }, null, 8, ["parent", "backgroundColor", "color", "active"])) : Y("", !0)
1199
- ], 46, pl));
1200
+ ], 46, ml));
1200
1201
  }
1201
- }, Dl = /* @__PURE__ */ gl(Ll, [["__scopeId", "data-v-20d8065f"]]);
1202
+ }, Nl = /* @__PURE__ */ pl(kl, [["__scopeId", "data-v-89446978"]]);
1202
1203
  export {
1203
- Dl as default
1204
+ Nl as default
1204
1205
  };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "vue-data-ui",
3
3
  "private": false,
4
- "version": "2.6.5",
4
+ "version": "2.6.7",
5
5
  "type": "module",
6
6
  "description": "A user-empowering data visualization Vue 3 components library for eloquent data storytelling",
7
7
  "keywords": [
@@ -1 +0,0 @@
1
- "use strict";const o=require("vue"),a=require("./index-DSGAenF3.cjs"),c=["cx","cy","r","fill","stroke","stroke-width"],v=["d","fill","stroke","stroke-width"],p=["points","fill","stroke","stroke-width"],f={__name:"Shape",props:{color:String,isSelected:{type:Boolean,default:!1},limit:{type:Number,default:3},plot:Object,radius:Number,shape:String,stroke:String,strokeWidth:Number,zoom:{type:Number,default:1.3}},emits:["mouseover","mouseout","click"],setup(n,{emit:m}){const e=n,i=m;function d(u){return{circle:{points:1,rotation:0},line:{points:2,rotation:0},triangle:{points:3,rotation:.52},square:{points:4,rotation:.783},diamond:{points:4,rotation:0},pentagon:{points:5,rotation:.95},hexagon:{points:6,rotation:0}}[u]}const l=o.computed(()=>d(e.shape)),s=o.computed(()=>e.shape!=="star"?null:a.createStar({plot:{x:e.plot.x,y:e.plot.y},radius:e.radius*(e.isSelected?e.zoom:1)})),k=o.computed(()=>a.createPolygonPath({plot:{x:e.plot.x,y:e.plot.y},radius:e.radius*(e.isSelected?e.zoom:1),sides:l.value.points,rotation:l.value.rotation}).path);return(u,t)=>(o.openBlock(),o.createElementBlock("g",null,[l.value&&l.value.points===1?(o.openBlock(),o.createElementBlock("circle",{key:0,cx:n.plot.x,cy:n.plot.y,r:e.radius*(e.isSelected?e.zoom:1),fill:n.color,stroke:n.stroke,"stroke-width":n.strokeWidth,onMouseover:t[0]||(t[0]=r=>i("mouseover")),onMouseout:t[1]||(t[1]=r=>i("mouseout")),onClick:t[2]||(t[2]=r=>i("click"))},null,40,c)):o.createCommentVNode("",!0),l.value&&l.value.points>=n.limit?(o.openBlock(),o.createElementBlock("path",{key:1,d:k.value,fill:n.color,stroke:n.stroke,"stroke-width":n.strokeWidth,onMouseover:t[3]||(t[3]=r=>i("mouseover")),onMouseout:t[4]||(t[4]=r=>i("mouseout")),onClick:t[5]||(t[5]=r=>i("click"))},null,40,v)):o.createCommentVNode("",!0),s.value?(o.openBlock(),o.createElementBlock("polygon",{key:2,points:s.value,fill:n.color,stroke:n.stroke,"stroke-width":n.strokeWidth,onMouseover:t[6]||(t[6]=r=>i("mouseover")),onMouseout:t[7]||(t[7]=r=>i("mouseout")),onClick:t[8]||(t[8]=r=>i("click"))},null,40,p)):o.createCommentVNode("",!0)]))}};exports._sfc_main=f;
@@ -1 +0,0 @@
1
- "use strict";const t=require("vue"),p=require("./index-DSGAenF3.cjs");function y({tooltip:e,chart:l,clientPosition:o,positionPreference:u="center",defaultOffsetY:a=24,blockShiftY:f=!1}){const n=t.ref(0),s=t.ref(a);if(e&&l){const{width:r,height:c}=e.getBoundingClientRect(),{right:i,left:d,bottom:v}=l.getBoundingClientRect();u==="center"&&(o.x+r/2>i?n.value=-r+(i-o.x):o.x-r/2<d?n.value=-r+(r-(o.x-d)):n.value=-r/2),u==="right"&&(o.x+r>i?n.value=-r+(i-o.x):n.value=0),u==="left"&&(o.x<d+r?n.value=-r+(r-(o.x-d)):n.value=-r),o.y+c>v&&!f&&(s.value=-c-a)}return{top:o.y+s.value,left:o.x+n.value}}function b(e,l,o){t.onMounted(()=>e.addEventListener(l,o)),t.onUnmounted(()=>e.removeEventListener(l,o))}function m(){const e=t.ref(0),l=t.ref(0);return b(window,"mousemove",o=>{e.value=o.clientX,l.value=o.clientY}),{x:e,y:l}}const g=["innerHTML"],x={__name:"Tooltip",props:{backgroundColor:{type:String,default:"#FFFFFF"},color:{type:String,default:"#000000"},content:String,maxWidth:{type:String,default:"300px"},parent:{type:Object},show:{type:Boolean,default:!1},isCustom:{type:Boolean,default:!1},fontSize:{type:[Number,String],default:14},borderRadius:{type:Number,default:4},borderColor:{type:String,default:"#e1e5e8"},borderWidth:{type:Number,default:1},backgroundOpacity:{type:Number,default:100},position:{type:String,default:"center"},offsetY:{type:Number,default:24},blockShiftY:{type:Boolean,default:!1},isFullscreen:{type:Boolean,default:!1}},setup(e){const l=e,o=t.ref(null),u=t.ref(m(l.parent)),a=t.computed(()=>y({tooltip:o.value,chart:l.parent,clientPosition:u.value,positionPreference:l.position,defaultOffsetY:l.offsetY,blockShiftY:l.blockShiftY})),f=t.computed(()=>p.setOpacity(l.backgroundColor,l.backgroundOpacity));return(n,s)=>(t.openBlock(),t.createBlock(t.Teleport,{to:e.isFullscreen?e.parent:"body"},[e.show?(t.openBlock(),t.createElementBlock("div",{key:0,ref_key:"tooltip",ref:o,class:t.normalizeClass({"vue-data-ui-custom-tooltip":e.isCustom,"vue-data-ui-tooltip":!e.isCustom}),style:t.normalizeStyle(`pointer-events:none;top:${a.value.top}px;left:${a.value.left}px;${e.isCustom?"":`background:${f.value};color:${e.color};max-width:${e.maxWidth};font-size:${e.fontSize}px`};border-radius:${e.borderRadius}px;border:${e.borderWidth}px solid ${e.borderColor};z-index:2147483647;`)},[t.renderSlot(n.$slots,"tooltip-before"),t.renderSlot(n.$slots,"default"),t.createElementVNode("div",{innerHTML:e.content},null,8,g),t.renderSlot(n.$slots,"tooltip-after")],6)):t.createCommentVNode("",!0)],8,["to"]))}};exports._sfc_main=x;exports.useMouse=m;