vue-data-ui 2.6.40 → 2.6.42

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 (200) hide show
  1. package/dist/{Arrow-DczKng-K.cjs → Arrow-C6-3JiKs.cjs} +1 -1
  2. package/dist/{Arrow-CKYmYJHq.js → Arrow-i50QW7Eq.js} +1 -1
  3. package/dist/{BaseIcon-rw8rKNKS.js → BaseIcon-BYl8WVrn.js} +1 -1
  4. package/dist/{BaseIcon-Db1HIrAt.cjs → BaseIcon-CGjwy6WD.cjs} +1 -1
  5. package/dist/{ColorPicker-oA_W-jVk.cjs → ColorPicker-Cpi--TbY.cjs} +1 -1
  6. package/dist/{ColorPicker-DyZK3Mhl.js → ColorPicker-rv2BDrXO.js} +3 -3
  7. package/dist/{DataTable-DvwmNjb-.js → DataTable-B_PZ5EQ5.js} +2 -2
  8. package/dist/{DataTable-Be-eTBzq.cjs → DataTable-Dp7g_Ei4.cjs} +1 -1
  9. package/dist/{Legend-Be8mrJpb.js → Legend-BB51QBPV.js} +2 -2
  10. package/dist/{Legend-j3YoAtEf.cjs → Legend-BB6S3gBp.cjs} +1 -1
  11. package/dist/{PackageVersion-D9Lm1C1X.js → PackageVersion-Cz-oD7U6.js} +1 -1
  12. package/dist/{PackageVersion-D_gJvbGU.cjs → PackageVersion-Dj3KQ8Ax.cjs} +1 -1
  13. package/dist/{PenAndPaper-DR58HO_U.js → PenAndPaper-DOTH2X_u.js} +3 -3
  14. package/dist/{PenAndPaper-DWG9pfri.cjs → PenAndPaper-OCjAJH70.cjs} +1 -1
  15. package/dist/{Shape-BuwIrUMv.js → Shape-CGBgd_EH.js} +1 -1
  16. package/dist/{Shape-BF6K6die.cjs → Shape-DCTTj5cs.cjs} +1 -1
  17. package/dist/{Slicer-bY7XVDi5.cjs → Slicer-BHKFOTCG.cjs} +1 -1
  18. package/dist/{Slicer-CUm2ijlc.js → Slicer-Dhto2Wym.js} +2 -2
  19. package/dist/{Title-BP4K_GLE.cjs → Title-BkwZ_rBI.cjs} +1 -1
  20. package/dist/{Title-D_MGglyN.js → Title-y0r2c8bY.js} +1 -1
  21. package/dist/{Tooltip-HRgkF8HD.js → Tooltip-CbWEnMUw.js} +1 -1
  22. package/dist/{Tooltip-KXn1rQhr.cjs → Tooltip-DhhX9jKQ.cjs} +1 -1
  23. package/dist/{html2canvas.esm-D53btDlk.cjs → html2canvas.esm-BA_v9SIU.cjs} +2 -2
  24. package/dist/{html2canvas.esm-Dr4iCOK6.js → html2canvas.esm-DgdJBc_o.js} +196 -196
  25. package/dist/img-BIeSHu0f.js +15 -0
  26. package/dist/img-D6uvziU0.cjs +1 -0
  27. package/dist/index-Crz6y51C.cjs +9 -0
  28. package/dist/{index-BaaDnc4F.js → index-DWsIpwzs.js} +426 -384
  29. package/dist/{index.es-RWt7DWPC.js → index.es-BloWY6jv.js} +1285 -1285
  30. package/dist/{index.es-DvaaoatM.cjs → index.es-HygMioe_.cjs} +6 -6
  31. package/dist/{jspdf.es.min-Rw70uifz.cjs → jspdf.es.min-C518mmma.cjs} +57 -57
  32. package/dist/{jspdf.es.min-eTA26cmm.js → jspdf.es.min-t_OLULUR.js} +3038 -3038
  33. package/dist/pdf-BpXLKlRx.cjs +1 -0
  34. package/dist/{pdf-DVWl3Adn.js → pdf-H8Iw_Wax.js} +6 -6
  35. package/dist/style.css +1 -1
  36. package/dist/types/vue-data-ui.d.cts +16 -0
  37. package/dist/types/vue-data-ui.d.ts +16 -0
  38. package/dist/{useNestedProp-0jJvFRhK.cjs → useNestedProp-B8CE091o.cjs} +1 -1
  39. package/dist/{useNestedProp-D8vQcOps.js → useNestedProp-Bole8bsm.js} +1 -1
  40. package/dist/{usePrinter-y4-4tCWT.js → usePrinter-B8LELMkA.js} +125 -122
  41. package/dist/{usePrinter-C1Rlqzcj.cjs → usePrinter-Cqxw0sR7.cjs} +1 -1
  42. package/dist/{vue-data-ui-XwZHx4pB.js → vue-data-ui-BHNNKB7k.js} +61 -61
  43. package/dist/{vue-data-ui-CF4CU0e2.cjs → vue-data-ui-Dizs9qYs.cjs} +1 -1
  44. package/dist/vue-data-ui.cjs +1 -1
  45. package/dist/vue-data-ui.js +8 -8
  46. package/dist/{vue-ui-3d-bar-BOMvMoht.cjs → vue-ui-3d-bar-D-jstByg.cjs} +8 -8
  47. package/dist/{vue-ui-3d-bar-BYV4-yM3.js → vue-ui-3d-bar-D1DTuPTJ.js} +55 -54
  48. package/dist/{vue-ui-accordion-C5C3XQ8f.cjs → vue-ui-accordion-10T9IdE-.cjs} +1 -1
  49. package/dist/{vue-ui-accordion-CF9kQTXq.js → vue-ui-accordion-WrimcQK1.js} +3 -3
  50. package/dist/vue-ui-age-pyramid-0uO95dEL.cjs +1 -0
  51. package/dist/{vue-ui-age-pyramid-8KtaPkny.js → vue-ui-age-pyramid-vSOQxYMZ.js} +13 -12
  52. package/dist/{vue-ui-annotator-Dq1h3MZY.cjs → vue-ui-annotator-CzqmXArP.cjs} +1 -1
  53. package/dist/{vue-ui-annotator-KiLEzFIU.js → vue-ui-annotator-DuX2lvw8.js} +3 -3
  54. package/dist/vue-ui-bullet-hJsuFbdK.cjs +34 -0
  55. package/dist/{vue-ui-bullet-DBEuIuyH.js → vue-ui-bullet-ni1A0wmE.js} +11 -10
  56. package/dist/{vue-ui-candlestick-C13zgiOI.js → vue-ui-candlestick-CtFOtkuX.js} +14 -13
  57. package/dist/{vue-ui-candlestick-VazI0lag.cjs → vue-ui-candlestick-JSYKg3QU.cjs} +2 -2
  58. package/dist/vue-ui-carousel-table-BJsBlOAu.cjs +1 -0
  59. package/dist/{vue-ui-carousel-table-CoA9OyeC.js → vue-ui-carousel-table-Bc8SG-3_.js} +7 -6
  60. package/dist/{vue-ui-chestnut-V0eah1wF.cjs → vue-ui-chestnut-EPeVQvs_.cjs} +2 -2
  61. package/dist/{vue-ui-chestnut-kAdb7Jpi.js → vue-ui-chestnut-VR_UxBpO.js} +37 -36
  62. package/dist/{vue-ui-circle-pack-B0CreTV1.js → vue-ui-circle-pack-ECXVp4H4.js} +14 -13
  63. package/dist/vue-ui-circle-pack-NstojV4G.cjs +1 -0
  64. package/dist/{vue-ui-cursor-sHfZ-rR3.js → vue-ui-cursor-DRP_eOrg.js} +2 -2
  65. package/dist/{vue-ui-cursor-oLpASwAy.cjs → vue-ui-cursor-IZ28NWCv.cjs} +1 -1
  66. package/dist/{vue-ui-dashboard-CB7KJEOi.cjs → vue-ui-dashboard-BVoasjGP.cjs} +1 -1
  67. package/dist/{vue-ui-dashboard-D2ZQBDuk.js → vue-ui-dashboard-Bg4eu3bx.js} +3 -3
  68. package/dist/{vue-ui-digits-CiV3V0ry.js → vue-ui-digits-B2qzXXO6.js} +2 -2
  69. package/dist/{vue-ui-digits-e7EBKTDv.cjs → vue-ui-digits-BKR62-KQ.cjs} +1 -1
  70. package/dist/{vue-ui-donut-CrjqZ1ji.js → vue-ui-donut-BWbLJHC5.js} +15 -14
  71. package/dist/vue-ui-donut-Bnc5n4vE.cjs +1 -0
  72. package/dist/{vue-ui-donut-evolution-D_F3H8Oa.js → vue-ui-donut-evolution-Cpmdg9Na.js} +45 -44
  73. package/dist/vue-ui-donut-evolution-DyQPblkZ.cjs +1 -0
  74. package/dist/vue-ui-dumbbell-BjGLUyTB.cjs +9 -0
  75. package/dist/{vue-ui-dumbbell-POvEBmaZ.js → vue-ui-dumbbell-kOEJnUNy.js} +43 -42
  76. package/dist/vue-ui-flow-BxqHFumu.cjs +1 -0
  77. package/dist/{vue-ui-flow-BIfoibps.js → vue-ui-flow-DVvxwHKl.js} +53 -52
  78. package/dist/vue-ui-funnel-CPGQJsTE.cjs +1 -0
  79. package/dist/{vue-ui-funnel-DfF9uQGX.js → vue-ui-funnel-Dh9Zio3k.js} +13 -12
  80. package/dist/{vue-ui-galaxy-D6sV6X5K.js → vue-ui-galaxy-DBrUSx1b.js} +31 -30
  81. package/dist/vue-ui-galaxy-S4L3B76T.cjs +1 -0
  82. package/dist/vue-ui-gauge-Cs-ypQfN.cjs +1 -0
  83. package/dist/{vue-ui-gauge-CvbPkLM2.js → vue-ui-gauge-tZvlIU-S.js} +36 -35
  84. package/dist/{vue-ui-gizmo-DMsTB4ES.cjs → vue-ui-gizmo-CCSsG2_b.cjs} +1 -1
  85. package/dist/{vue-ui-gizmo-DUi7lRRe.js → vue-ui-gizmo-Dci5soUk.js} +3 -3
  86. package/dist/vue-ui-heatmap-DJ7wdUPo.cjs +1 -0
  87. package/dist/{vue-ui-heatmap-Dg8XejgT.js → vue-ui-heatmap-DOcrZCVa.js} +73 -72
  88. package/dist/vue-ui-history-plot-Cdbru79N.cjs +1 -0
  89. package/dist/{vue-ui-history-plot-BSd5bL15.js → vue-ui-history-plot-qtdp25Sg.js} +33 -32
  90. package/dist/{vue-ui-kpi-BAMbt0nE.js → vue-ui-kpi-DTXy_HfT.js} +3 -3
  91. package/dist/{vue-ui-kpi-m4GUxnZu.cjs → vue-ui-kpi-vLsne_Vi.cjs} +1 -1
  92. package/dist/{vue-ui-mini-loader-DiBQaEPy.js → vue-ui-mini-loader-B1MEbk8x.js} +2 -2
  93. package/dist/{vue-ui-mini-loader-BqVkQxqo.cjs → vue-ui-mini-loader-CuWWrNo9.cjs} +1 -1
  94. package/dist/vue-ui-molecule-BwO_9sCz.js +830 -0
  95. package/dist/vue-ui-molecule-huq_1VnO.cjs +1 -0
  96. package/dist/vue-ui-mood-radar-B4k3k2q7.cjs +1 -0
  97. package/dist/{vue-ui-mood-radar-INGk_0vz.js → vue-ui-mood-radar-CLiiGRyR.js} +14 -13
  98. package/dist/{vue-ui-nested-donuts-BABAXqTX.js → vue-ui-nested-donuts-CxAFaOns.js} +14 -13
  99. package/dist/{vue-ui-nested-donuts-COy2x2EF.cjs → vue-ui-nested-donuts-t_TWJrWV.cjs} +2 -2
  100. package/dist/{vue-ui-onion-B1NZLFqG.cjs → vue-ui-onion-DIQLewG_.cjs} +2 -2
  101. package/dist/{vue-ui-onion-CJkmj1Nh.js → vue-ui-onion-gweww1Nd.js} +14 -13
  102. package/dist/{vue-ui-parallel-coordinate-plot-CtpGIUKU.cjs → vue-ui-parallel-coordinate-plot-B48BZpEc.cjs} +2 -2
  103. package/dist/{vue-ui-parallel-coordinate-plot-DTUIv9ah.js → vue-ui-parallel-coordinate-plot-Dos2dhCW.js} +35 -34
  104. package/dist/vue-ui-quadrant-BYDJYypD.cjs +1 -0
  105. package/dist/{vue-ui-quadrant-CxNnHjD9.js → vue-ui-quadrant-fXKeOjn-.js} +43 -42
  106. package/dist/{vue-ui-quick-chart-BaHq9DyU.cjs → vue-ui-quick-chart-BVVVrJyc.cjs} +2 -2
  107. package/dist/{vue-ui-quick-chart-CJnwyWdJ.js → vue-ui-quick-chart-BojZdQHp.js} +12 -11
  108. package/dist/vue-ui-radar-C5mA8lGM.cjs +1 -0
  109. package/dist/{vue-ui-radar-CsvmcspN.js → vue-ui-radar-D4mB15zr.js} +15 -14
  110. package/dist/{vue-ui-rating-D7kDYc6s.js → vue-ui-rating-BG_CF73W.js} +10 -10
  111. package/dist/{vue-ui-rating-C-ef3ayK.cjs → vue-ui-rating-P9KkC2lE.cjs} +1 -1
  112. package/dist/vue-ui-relation-circle-CfNGeO3G.cjs +1 -0
  113. package/dist/{vue-ui-relation-circle-CY8ZIPpL.js → vue-ui-relation-circle-xYqp0Vj9.js} +13 -12
  114. package/dist/{vue-ui-rings-DEuJ9t0h.cjs → vue-ui-rings-Ba7xV0bh.cjs} +2 -2
  115. package/dist/{vue-ui-rings-Cxf9NoYT.js → vue-ui-rings-CTw5Guq9.js} +15 -14
  116. package/dist/{vue-ui-scatter-CiO-B7Jh.js → vue-ui-scatter-CMhOzUfw.js} +45 -44
  117. package/dist/vue-ui-scatter-UeHQSMn_.cjs +1 -0
  118. package/dist/{vue-ui-screenshot-BMuBV3BB.js → vue-ui-screenshot-DkB1LMw4.js} +2 -2
  119. package/dist/{vue-ui-screenshot--OYVY1cw.cjs → vue-ui-screenshot-Dqiqn0Tt.cjs} +1 -1
  120. package/dist/{vue-ui-skeleton-CM4wEsYA.cjs → vue-ui-skeleton-BZsFiqo5.cjs} +1 -1
  121. package/dist/{vue-ui-skeleton-6RiQNJSb.js → vue-ui-skeleton-DDZb9FFJ.js} +57 -57
  122. package/dist/{vue-ui-smiley-CUDVroKW.js → vue-ui-smiley-BgS5Przf.js} +2 -2
  123. package/dist/{vue-ui-smiley-DMzfsrun.cjs → vue-ui-smiley-CUmfLZx6.cjs} +1 -1
  124. package/dist/{vue-ui-spark-trend-fnRrg8Jj.js → vue-ui-spark-trend-NRIFklnc.js} +5 -5
  125. package/dist/{vue-ui-spark-trend-CTI98gTQ.cjs → vue-ui-spark-trend-w10yXsJZ.cjs} +1 -1
  126. package/dist/{vue-ui-sparkbar-HhcSqSxf.cjs → vue-ui-sparkbar-aigBoTy2.cjs} +1 -1
  127. package/dist/{vue-ui-sparkbar-msGI6wfO.js → vue-ui-sparkbar-ejr7X72c.js} +4 -4
  128. package/dist/{vue-ui-sparkgauge-C3obUsLf.js → vue-ui-sparkgauge-BOf5aBj9.js} +4 -4
  129. package/dist/{vue-ui-sparkgauge-DRpIVDwy.cjs → vue-ui-sparkgauge-CkefH_Q3.cjs} +1 -1
  130. package/dist/{vue-ui-sparkhistogram-DOVSl-l-.js → vue-ui-sparkhistogram-C64SJzGD.js} +5 -5
  131. package/dist/{vue-ui-sparkhistogram-OtRll6_F.cjs → vue-ui-sparkhistogram-Dtn7OLFq.cjs} +1 -1
  132. package/dist/{vue-ui-sparkline-Dyd6TPTP.cjs → vue-ui-sparkline-BKGLvlLw.cjs} +1 -1
  133. package/dist/{vue-ui-sparkline-DkX9L35W.js → vue-ui-sparkline-POZCJkr9.js} +15 -15
  134. package/dist/{vue-ui-sparkstackbar-Cfn7LKpJ.cjs → vue-ui-sparkstackbar-BxeVbtHZ.cjs} +1 -1
  135. package/dist/{vue-ui-sparkstackbar-Cq7MW3Jk.js → vue-ui-sparkstackbar-C7v5flng.js} +5 -5
  136. package/dist/{vue-ui-stackbar-BNy2XBmJ.js → vue-ui-stackbar-DUvKoTiT.js} +16 -15
  137. package/dist/{vue-ui-stackbar-DDbZ-_sO.cjs → vue-ui-stackbar-OS-G2tRA.cjs} +2 -2
  138. package/dist/{vue-ui-strip-plot-Cq9CqXxr.js → vue-ui-strip-plot-DvQPyqtk.js} +14 -13
  139. package/dist/vue-ui-strip-plot-IcTvmihM.cjs +1 -0
  140. package/dist/{vue-ui-table-js0Gdfqi.cjs → vue-ui-table-Bo5KWUa-.cjs} +2 -2
  141. package/dist/{vue-ui-table-BowZcUb5.js → vue-ui-table-C8zG8WTp.js} +1 -1
  142. package/dist/vue-ui-table-heatmap-DvRBb7Za.cjs +1 -0
  143. package/dist/{vue-ui-table-heatmap-BmObY7ZK.js → vue-ui-table-heatmap-N2a-kKWJ.js} +9 -8
  144. package/dist/{vue-ui-table-sparkline-BKDgWukC.js → vue-ui-table-sparkline-DOYmxyiy.js} +9 -8
  145. package/dist/vue-ui-table-sparkline-DVhyXHjb.cjs +1 -0
  146. package/dist/vue-ui-thermometer-CshBwaty.cjs +1 -0
  147. package/dist/{vue-ui-thermometer-BOF4YYvE.js → vue-ui-thermometer-DsFTU7hy.js} +26 -25
  148. package/dist/{vue-ui-timer-D6WS06mW.js → vue-ui-timer-BazkEbRz.js} +5 -5
  149. package/dist/{vue-ui-timer-BVoMdC97.cjs → vue-ui-timer-b4eSKrHr.cjs} +1 -1
  150. package/dist/{vue-ui-tiremarks-BD81LT9b.js → vue-ui-tiremarks-LjeTpuwu.js} +20 -19
  151. package/dist/vue-ui-tiremarks-tCyisBN-.cjs +1 -0
  152. package/dist/{vue-ui-treemap-CKETyAhh.js → vue-ui-treemap-CkPWe6se.js} +14 -13
  153. package/dist/vue-ui-treemap-o4rsDy3h.cjs +1 -0
  154. package/dist/{vue-ui-vertical-bar-nq74gMNu.cjs → vue-ui-vertical-bar-D3vjiqvq.cjs} +3 -3
  155. package/dist/{vue-ui-vertical-bar-D4RH4OTK.js → vue-ui-vertical-bar-ViFIMQc9.js} +16 -15
  156. package/dist/vue-ui-waffle-4Wpu2k9B.cjs +1 -0
  157. package/dist/{vue-ui-waffle-BHP27c7Q.js → vue-ui-waffle-D8uQiqvC.js} +15 -14
  158. package/dist/{vue-ui-wheel-BpEPqKp-.js → vue-ui-wheel-DgJ52HhJ.js} +10 -9
  159. package/dist/vue-ui-wheel-Wkp_TkAj.cjs +1 -0
  160. package/dist/{vue-ui-word-cloud-JH_eHxVf.js → vue-ui-word-cloud-BmX0SdIe.js} +39 -38
  161. package/dist/vue-ui-word-cloud-CtR6FmsK.cjs +1 -0
  162. package/dist/vue-ui-xy-B68466-C.cjs +3 -0
  163. package/dist/{vue-ui-xy-BGOtOn8w.js → vue-ui-xy-CnNugA_v.js} +52 -50
  164. package/dist/{vue-ui-xy-canvas-DLZANhlq.cjs → vue-ui-xy-canvas-D7IJkVz1.cjs} +2 -2
  165. package/dist/{vue-ui-xy-canvas-DVzzeUmj.js → vue-ui-xy-canvas-DRbFpLFp.js} +134 -133
  166. package/package.json +2 -2
  167. package/dist/img-BPGizWpM.cjs +0 -1
  168. package/dist/img-itj0Vdmx.js +0 -15
  169. package/dist/index-CBRI5uwl.cjs +0 -9
  170. package/dist/pdf-DSkQT5iH.cjs +0 -1
  171. package/dist/vue-ui-age-pyramid-Cm10v1iS.cjs +0 -1
  172. package/dist/vue-ui-bullet-yeUQYuwe.cjs +0 -34
  173. package/dist/vue-ui-carousel-table-Dkqumt0q.cjs +0 -1
  174. package/dist/vue-ui-circle-pack-CnYgigzx.cjs +0 -1
  175. package/dist/vue-ui-donut-DL51Fl9m.cjs +0 -1
  176. package/dist/vue-ui-donut-evolution-mCx3HfHW.cjs +0 -1
  177. package/dist/vue-ui-dumbbell-BIDzrdGX.cjs +0 -9
  178. package/dist/vue-ui-flow-D8CWkD2E.cjs +0 -1
  179. package/dist/vue-ui-funnel-DNQKb-CW.cjs +0 -1
  180. package/dist/vue-ui-galaxy-CXAhWSW2.cjs +0 -1
  181. package/dist/vue-ui-gauge-CODDDBdK.cjs +0 -1
  182. package/dist/vue-ui-heatmap-DDo0YoPA.cjs +0 -1
  183. package/dist/vue-ui-history-plot-Wb0vm3oN.cjs +0 -1
  184. package/dist/vue-ui-molecule-SgHDaN5w.cjs +0 -1
  185. package/dist/vue-ui-molecule-kryFDlxX.js +0 -826
  186. package/dist/vue-ui-mood-radar-p2yhGTuV.cjs +0 -1
  187. package/dist/vue-ui-quadrant-ZmF2s1_3.cjs +0 -1
  188. package/dist/vue-ui-radar-BgeUqzpX.cjs +0 -1
  189. package/dist/vue-ui-relation-circle-DRkjUqb1.cjs +0 -1
  190. package/dist/vue-ui-scatter-BlBNhmJ4.cjs +0 -1
  191. package/dist/vue-ui-strip-plot-t6_CVzQF.cjs +0 -1
  192. package/dist/vue-ui-table-heatmap-BAczw65J.cjs +0 -1
  193. package/dist/vue-ui-table-sparkline-HE8HXlhe.cjs +0 -1
  194. package/dist/vue-ui-thermometer-2RqSKVQ8.cjs +0 -1
  195. package/dist/vue-ui-tiremarks-CiZUYcuP.cjs +0 -1
  196. package/dist/vue-ui-treemap-BQeFDdrJ.cjs +0 -1
  197. package/dist/vue-ui-waffle-atvdP-Pb.cjs +0 -1
  198. package/dist/vue-ui-wheel-Diad5HyF.cjs +0 -1
  199. package/dist/vue-ui-word-cloud-B_ykSDTr.cjs +0 -1
  200. package/dist/vue-ui-xy-Csz1n4M-.cjs +0 -3
@@ -1,20 +1,20 @@
1
- import { ref as i, computed as T, onMounted as _e, nextTick as Ie, onBeforeUnmount as bt, watch as te, createElementBlock as X, openBlock as C, Fragment as We, createCommentVNode as le, normalizeClass as fe, createElementVNode as U, withDirectives as Ut, normalizeStyle as W, createVNode as ke, vModelText as Wt, withModifiers as dt, unref as D, renderList as Vt, useSlots as Zt, createBlock as ue, createSlots as _t, withCtx as z, renderSlot as M, normalizeProps as ve, guardReactiveProps as de, toDisplayString as ht, createTextVNode as Gt } from "vue";
2
- import { l as xt, X as jt, u as qt, c as Qt, t as Jt, p as he, a as Kt, C as Ne, b as el, D as Ve, i as be, f as xe, d as ft, _ as tl, J as ll, ab as al, o as ol, e as rl, x as yt, q as nl, r as sl, y as ul, s as Me } from "./index-BaaDnc4F.js";
1
+ import { ref as i, computed as T, onMounted as Ge, nextTick as Ie, onBeforeUnmount as bt, watch as te, createElementBlock as X, openBlock as C, Fragment as We, createCommentVNode as le, normalizeClass as fe, createElementVNode as U, withDirectives as Ut, normalizeStyle as W, createVNode as ke, vModelText as Wt, withModifiers as dt, unref as D, renderList as Vt, useSlots as Zt, createBlock as ue, createSlots as Gt, withCtx as z, renderSlot as M, normalizeProps as ve, guardReactiveProps as de, toDisplayString as ht, createTextVNode as _t } from "vue";
2
+ import { l as xt, X as jt, u as qt, c as Qt, t as Jt, p as he, a as Kt, C as Ne, b as el, D as Ve, i as be, f as xe, d as ft, $ as tl, J as ll, ac as al, o as ol, e as nl, x as yt, q as rl, r as sl, y as ul, s as Me } from "./index-DWsIpwzs.js";
3
3
  import { d as il, t as cl, u as vl, c as dl, a as gt, l as I, r as Ze, b as ee, p as pt } from "./useResponsive-vZgZwV-S.js";
4
- import { _ as hl } from "./Tooltip-HRgkF8HD.js";
5
- import { L as fl } from "./Legend-Be8mrJpb.js";
6
- import { _ as yl } from "./Title-D_MGglyN.js";
7
- import { S as gl } from "./Slicer-CUm2ijlc.js";
8
- import { u as pl, U as ml } from "./usePrinter-y4-4tCWT.js";
9
- import bl from "./vue-ui-accordion-CF9kQTXq.js";
10
- import { D as xl } from "./DataTable-DvwmNjb-.js";
11
- import kl from "./vue-ui-skeleton-6RiQNJSb.js";
12
- import { u as mt } from "./useNestedProp-D8vQcOps.js";
13
- import { _ as kt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
4
+ import { _ as hl } from "./Tooltip-CbWEnMUw.js";
5
+ import { L as fl } from "./Legend-BB51QBPV.js";
6
+ import { _ as yl } from "./Title-y0r2c8bY.js";
7
+ import { S as gl } from "./Slicer-Dhto2Wym.js";
8
+ import { u as pl, U as ml } from "./usePrinter-B8LELMkA.js";
9
+ import bl from "./vue-ui-accordion-WrimcQK1.js";
10
+ import { D as xl } from "./DataTable-B_PZ5EQ5.js";
11
+ import kl from "./vue-ui-skeleton-DDZb9FFJ.js";
12
+ import { u as mt } from "./useNestedProp-Bole8bsm.js";
14
13
  import { u as Ll } from "./useUserOptionState-BIvW1Kz7.js";
15
14
  import { u as Cl } from "./useChartAccessibility-BWojgys7.js";
16
- import Ye from "./BaseIcon-rw8rKNKS.js";
17
- import { C as wl } from "./ColorPicker-DyZK3Mhl.js";
15
+ import Ye from "./BaseIcon-BYl8WVrn.js";
16
+ import { C as wl } from "./ColorPicker-rv2BDrXO.js";
17
+ import { _ as kt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
18
18
  const $l = {
19
19
  class: /* @__PURE__ */ fe({
20
20
  "vue-ui-pen-and-paper-action": !0
@@ -46,11 +46,11 @@ const $l = {
46
46
  ae.value = `0 0 ${d} ${c}`;
47
47
  }
48
48
  const Q = i(null);
49
- _e(() => {
49
+ Ge(() => {
50
50
  Ie(() => {
51
51
  if (q.parent) {
52
- Q.value = new ResizeObserver((n) => {
53
- for (const v of n) {
52
+ Q.value = new ResizeObserver((r) => {
53
+ for (const v of r) {
54
54
  const { width: y, height: k } = v.contentRect;
55
55
  B({ width: y, height: k });
56
56
  }
@@ -65,84 +65,84 @@ const $l = {
65
65
  () => q.parent,
66
66
  (d) => {
67
67
  if (!d) return;
68
- const { width: c, height: n } = q.parent.getBoundingClientRect();
69
- B({ width: c, height: n });
68
+ const { width: c, height: r } = q.parent.getBoundingClientRect();
69
+ B({ width: c, height: r });
70
70
  },
71
71
  { immediate: !0 }
72
72
  );
73
- const h = i(!1), _ = i(""), oe = i(null);
73
+ const h = i(!1), G = i(""), oe = i(null);
74
74
  function E(d) {
75
75
  if (!oe.value) return;
76
76
  h.value = !0;
77
- const { x: c, y: n } = Ce(d);
78
- _.value = `M ${c} ${n}`;
77
+ const { x: c, y: r } = Ce(d);
78
+ G.value = `M ${c} ${r}`;
79
79
  }
80
80
  function J(d) {
81
81
  if (!h.value || !oe.value) return;
82
- const { x: c, y: n } = Ce(d);
83
- _.value += ` ${c} ${n}`;
82
+ const { x: c, y: r } = Ce(d);
83
+ G.value += ` ${c} ${r}`;
84
84
  }
85
- function G(d) {
85
+ function _(d) {
86
86
  const c = d.trim().split(/\s+/);
87
87
  if (c.length < 4)
88
88
  return d;
89
- const n = c.slice(1).map(Number);
90
- if (n.length % 2 !== 0)
89
+ const r = c.slice(1).map(Number);
90
+ if (r.length % 2 !== 0)
91
91
  return d;
92
- const v = re(n), y = [`M ${v[0]} ${v[1]}`];
92
+ const v = ne(r), y = [`M ${v[0]} ${v[1]}`];
93
93
  for (let A = 2; A < v.length - 2; A += 2) {
94
- const t = v[A - 2], F = v[A - 1], P = v[A], R = v[A + 1], O = (t + P) / 2, ne = (F + R) / 2;
95
- y.push(`Q ${t} ${F} ${O} ${ne}`);
94
+ const t = v[A - 2], F = v[A - 1], P = v[A], R = v[A + 1], O = (t + P) / 2, re = (F + R) / 2;
95
+ y.push(`Q ${t} ${F} ${O} ${re}`);
96
96
  }
97
97
  const k = v[v.length - 2], w = v[v.length - 1];
98
98
  return y.push(`L ${k} ${w}`), y.join(" ");
99
99
  }
100
- function re(d, c = 1) {
101
- const n = [...d];
100
+ function ne(d, c = 1) {
101
+ const r = [...d];
102
102
  for (let v = 2; v < d.length - 2; v += 2) {
103
103
  const y = d[v], k = d[v + 1], w = d[v - 2], A = d[v - 1], t = d[v + 2], F = d[v + 3];
104
- n[v] = y + c * ((w + t) / 2 - y), n[v + 1] = k + c * ((A + F) / 2 - k);
104
+ r[v] = y + c * ((w + t) / 2 - y), r[v + 1] = k + c * ((A + F) / 2 - k);
105
105
  }
106
- return n;
106
+ return r;
107
107
  }
108
108
  function Le(d) {
109
109
  const c = d.trim().split(/\s+/);
110
- let n = "", v = "", y = null, k = null;
110
+ let r = "", v = "", y = null, k = null;
111
111
  for (let w = 0; w < c.length; w += 1) {
112
112
  const A = c[w];
113
113
  if (isNaN(A)) {
114
114
  if (v = A, v === "M" || v === "L")
115
- y = parseFloat(c[++w]), k = parseFloat(c[++w]), n += `${v}${y} ${k}`;
115
+ y = parseFloat(c[++w]), k = parseFloat(c[++w]), r += `${v}${y} ${k}`;
116
116
  else if (v === "Q") {
117
117
  const t = parseFloat(c[++w]), F = parseFloat(c[++w]), P = parseFloat(c[++w]), R = parseFloat(c[++w]);
118
- t === y && F === k ? n += `t${P - y} ${R - k}` : n += `q${t - y} ${F - k} ${P - y} ${R - k}`, y = P, k = R;
118
+ t === y && F === k ? r += `t${P - y} ${R - k}` : r += `q${t - y} ${F - k} ${P - y} ${R - k}`, y = P, k = R;
119
119
  }
120
120
  } else {
121
121
  const t = parseFloat(A), F = parseFloat(c[++w]);
122
122
  if (v === "L") {
123
123
  const P = t - y, R = F - k;
124
- P === 0 ? n += `v${R}` : R === 0 ? n += `h${P}` : n += `l${P} ${R}`, y = t, k = F;
124
+ P === 0 ? r += `v${R}` : R === 0 ? r += `h${P}` : r += `l${P} ${R}`, y = t, k = F;
125
125
  } else if (v === "Q") {
126
- const P = t, R = F, O = parseFloat(c[++w]), ne = parseFloat(c[++w]);
127
- P === y && R === k ? n += `t${O - y} ${ne - k}` : n += `q${P - y} ${R - k} ${O - y} ${ne - k}`, y = O, k = ne;
126
+ const P = t, R = F, O = parseFloat(c[++w]), re = parseFloat(c[++w]);
127
+ P === y && R === k ? r += `t${O - y} ${re - k}` : r += `q${P - y} ${R - k} ${O - y} ${re - k}`, y = O, k = re;
128
128
  }
129
129
  }
130
130
  }
131
- return n;
131
+ return r;
132
132
  }
133
133
  function ye() {
134
134
  h.value && (m.value.push({
135
135
  strokeWidth: u.value,
136
- path: Le(G(_.value)),
136
+ path: Le(_(G.value)),
137
137
  color: Z.value
138
- }), V.value = [], _.value = ""), h.value = !1;
138
+ }), V.value = [], G.value = ""), h.value = !1;
139
139
  }
140
140
  function Ce(d) {
141
141
  if (!oe.value) return { x: 0, y: 0 };
142
142
  const c = oe.value.getBoundingClientRect();
143
- let n, v;
144
- return d.touches && d.touches.length ? (n = d.touches[0].clientX, v = d.touches[0].clientY) : (n = d.clientX, v = d.clientY), {
145
- x: n - c.left,
143
+ let r, v;
144
+ return d.touches && d.touches.length ? (r = d.touches[0].clientX, v = d.touches[0].clientY) : (r = d.clientX, v = d.clientY), {
145
+ x: r - c.left,
146
146
  y: v - c.top
147
147
  };
148
148
  }
@@ -178,7 +178,7 @@ const $l = {
178
178
  backgroundColor: $.backgroundColor,
179
179
  border: `1px solid ${b.value}`
180
180
  }),
181
- onClick: c[0] || (c[0] = (n) => Be("close"))
181
+ onClick: c[0] || (c[0] = (r) => Be("close"))
182
182
  }, [
183
183
  ke(Ye, {
184
184
  name: "close",
@@ -188,7 +188,7 @@ const $l = {
188
188
  U("button", $l, [
189
189
  ke(wl, {
190
190
  value: Z.value,
191
- "onUpdate:value": c[1] || (c[1] = (n) => Z.value = n),
191
+ "onUpdate:value": c[1] || (c[1] = (r) => Z.value = r),
192
192
  backgroundColor: $.backgroundColor,
193
193
  buttonBorderColor: b.value
194
194
  }, null, 8, ["value", "backgroundColor", "buttonBorderColor"])
@@ -251,7 +251,7 @@ const $l = {
251
251
  min: 0.5,
252
252
  max: 12,
253
253
  step: 0.1,
254
- "onUpdate:modelValue": c[2] || (c[2] = (n) => u.value = n),
254
+ "onUpdate:modelValue": c[2] || (c[2] = (r) => u.value = r),
255
255
  style: W({
256
256
  accentColor: $.color
257
257
  })
@@ -276,26 +276,26 @@ const $l = {
276
276
  onTouchmove: dt(J, ["prevent"]),
277
277
  onTouchend: ye
278
278
  }, [
279
- (C(!0), X(We, null, Vt(m.value, (n) => (C(), X(We, { key: n }, [
280
- n.path.replace("M", "").split(" ").length === 2 ? (C(), X("circle", {
279
+ (C(!0), X(We, null, Vt(m.value, (r) => (C(), X(We, { key: r }, [
280
+ r.path.replace("M", "").split(" ").length === 2 ? (C(), X("circle", {
281
281
  key: 0,
282
- cx: n.path.replace("M", "").split(" ")[0],
283
- cy: n.path.replace("M", "").split(" ")[1],
284
- r: n.strokeWidth / 2,
285
- fill: n.color
282
+ cx: r.path.replace("M", "").split(" ")[0],
283
+ cy: r.path.replace("M", "").split(" ")[1],
284
+ r: r.strokeWidth / 2,
285
+ fill: r.color
286
286
  }, null, 8, Ml)) : (C(), X("path", {
287
287
  key: 1,
288
288
  class: "vue-ui-pen-and-paper-path",
289
- d: n.path,
290
- stroke: n.color,
291
- "stroke-width": n.strokeWidth,
289
+ d: r.path,
290
+ stroke: r.color,
291
+ "stroke-width": r.strokeWidth,
292
292
  fill: "none"
293
293
  }, null, 8, Il))
294
294
  ], 64))), 128)),
295
295
  h.value ? (C(), X("path", {
296
296
  key: 0,
297
297
  class: "vue-ui-pen-and-paper-path vue-ui-pen-and-paper-path-drawing",
298
- d: G(_.value),
298
+ d: _(G.value),
299
299
  stroke: Z.value,
300
300
  "stroke-width": u.value * 1.1,
301
301
  fill: "none"
@@ -324,15 +324,15 @@ const $l = {
324
324
  },
325
325
  emits: ["selectLegend"],
326
326
  setup($, { expose: Xe, emit: q }) {
327
- const { vue_ui_xy_canvas: Be } = qt(), m = $, V = i(Qt()), ae = i(null), Z = i(null), u = i(null), b = i(1), B = i(1), Q = i(!1), h = i(null), _ = i(""), oe = i(null), E = i([]), J = i(1), G = i(!0), re = i(!0), Le = i(null), ye = i(0), Ce = i(0), ge = i(!1), Te = i(null), Fe = i(null), Pe = i(null), d = i(null), c = i(0), n = i(0), v = i(0), y = i(null), k = T(() => !!m.dataset && m.dataset.length), w = q, A = Zt();
328
- _e(() => {
327
+ const { vue_ui_xy_canvas: Be } = qt(), m = $, V = i(Qt()), ae = i(null), Z = i(null), u = i(null), b = i(1), B = i(1), Q = i(!1), h = i(null), G = i(""), oe = i(null), E = i([]), J = i(1), _ = i(!0), ne = i(!0), Le = i(null), ye = i(0), Ce = i(0), ge = i(!1), Te = i(null), Fe = i(null), Pe = i(null), d = i(null), c = i(0), r = i(0), v = i(0), y = i(null), k = T(() => !!m.dataset && m.dataset.length), w = q, A = Zt();
328
+ Ge(() => {
329
329
  A["chart-background"] && console.warn("VueUiXyCanvas does not support the #chart-background slot.");
330
330
  });
331
331
  const t = T({
332
- get: () => ne(),
332
+ get: () => re(),
333
333
  set: (e) => e
334
334
  }), { userOptionsVisible: F, setUserOptionsVisibility: P, keepUserOptionState: R } = Ll({ config: t.value }), { svgRef: O } = Cl({ config: t.value.style.chart.title });
335
- function ne() {
335
+ function re() {
336
336
  const e = mt({
337
337
  userConfig: m.config,
338
338
  defaultConfig: Be
@@ -347,13 +347,14 @@ const $l = {
347
347
  } : a = e, m.config && Ne(m.config, "style.chart.scale.min") ? a.style.chart.scale.min = m.config.style.chart.scale.min : a.style.chart.scale.min = null, m.config && Ne(m.config, "style.chart.scale.max") ? a.style.chart.scale.max = m.config.style.chart.scale.max : a.style.chart.scale.max = null, m.config && Ne(m.config, "style.chart.zoom.startIndex") ? a.style.chart.zoom.startIndex = m.config.style.chart.zoom.startIndex : a.style.chart.zoom.startIndex = null, m.config && Ne(m.config, "style.chart.zoom.endIndex") ? a.style.chart.zoom.endIndex = m.config.style.chart.zoom.endIndex : a.style.chart.zoom.endIndex = null, a;
348
348
  }
349
349
  te(() => m.config, (e) => {
350
- t.value = ne(), F.value = !t.value.userOptions.showOnChartHover, He(), c.value += 1, n.value += 1, v.value += 1, s.value.showTable = t.value.table.show, s.value.showDataLabels = t.value.style.chart.dataLabels.show, s.value.stacked = t.value.style.chart.stacked, s.value.showTooltip = t.value.style.chart.tooltip.show;
350
+ t.value = re(), F.value = !t.value.userOptions.showOnChartHover, He(), c.value += 1, r.value += 1, v.value += 1, s.value.showTable = t.value.table.show, s.value.showDataLabels = t.value.style.chart.dataLabels.show, s.value.stacked = t.value.style.chart.stacked, s.value.showTooltip = t.value.style.chart.tooltip.show;
351
351
  }, { deep: !0 }), te(() => m.dataset, () => {
352
- He(), c.value += 1, n.value += 1, v.value += 1;
352
+ He(), c.value += 1, r.value += 1, v.value += 1;
353
353
  }, { deep: !0 });
354
- const Ge = i(t.value.style.chart.aspectRatio), { isPrinting: je, isImaging: qe, generatePdf: Qe, generateImage: Je } = pl({
354
+ const _e = i(t.value.style.chart.aspectRatio), { isPrinting: je, isImaging: qe, generatePdf: Qe, generateImage: Je } = pl({
355
355
  elementId: `xy_canvas_${V.value}`,
356
- fileName: t.value.style.chart.title.text || "vue-ui-xy-canvas"
356
+ fileName: t.value.style.chart.title.text || "vue-ui-xy-canvas",
357
+ options: t.value.userOptions.print
357
358
  }), s = i({
358
359
  showTable: t.value.table.show,
359
360
  showDataLabels: t.value.style.chart.dataLabels.show,
@@ -374,7 +375,7 @@ const $l = {
374
375
  bottom: B.value - B.value * t.value.style.chart.paddingProportions.bottom,
375
376
  width: e,
376
377
  height: B.value - B.value * (t.value.style.chart.paddingProportions.top + t.value.style.chart.paddingProportions.bottom),
377
- slot: e / (r.value.end - r.value.start)
378
+ slot: e / (n.value.end - n.value.start)
378
379
  };
379
380
  });
380
381
  function et(e, a) {
@@ -394,7 +395,7 @@ const $l = {
394
395
  });
395
396
  }
396
397
  const S = T(() => {
397
- const e = t.value.style.chart.scale.min !== null ? t.value.style.chart.scale.min : Math.min(...pe.value.filter((g, L) => !E.value.includes(g.absoluteIndex)).flatMap((g) => g.series.slice(r.value.start, r.value.end))), a = t.value.style.chart.scale.max !== null ? t.value.style.chart.scale.max : Math.max(...pe.value.filter((g, L) => !E.value.includes(g.absoluteIndex)).flatMap((g) => g.series.slice(r.value.start, r.value.end))), o = Ve(e < 0 ? e : 0, a === e ? e + 1 < 0 ? 0 : e + 1 : a < 0 ? 0 : a, t.value.style.chart.scale.ticks), f = o.min < 0 ? Math.abs(o.min) : 0, p = l.value.bottom - l.value.height * (f / (o.max + f)), Y = o.ticks.map((g) => ({
398
+ const e = t.value.style.chart.scale.min !== null ? t.value.style.chart.scale.min : Math.min(...pe.value.filter((g, L) => !E.value.includes(g.absoluteIndex)).flatMap((g) => g.series.slice(n.value.start, n.value.end))), a = t.value.style.chart.scale.max !== null ? t.value.style.chart.scale.max : Math.max(...pe.value.filter((g, L) => !E.value.includes(g.absoluteIndex)).flatMap((g) => g.series.slice(n.value.start, n.value.end))), o = Ve(e < 0 ? e : 0, a === e ? e + 1 < 0 ? 0 : e + 1 : a < 0 ? 0 : a, t.value.style.chart.scale.ticks), f = o.min < 0 ? Math.abs(o.min) : 0, p = l.value.bottom - l.value.height * (f / (o.max + f)), Y = o.ticks.map((g) => ({
398
399
  y: l.value.bottom - l.value.height * ((g + f) / (o.max + f)),
399
400
  x: l.value.left - 8,
400
401
  value: g
@@ -439,7 +440,7 @@ const $l = {
439
440
  });
440
441
  const x = T(() => al(pe.value.filter((e, a) => !E.value.includes(e.absoluteIndex))).map((e, a) => ({
441
442
  ...e,
442
- series: e.series.slice(r.value.start, r.value.end)
443
+ series: e.series.slice(n.value.start, n.value.end)
443
444
  })).map((e, a) => {
444
445
  let o = [null, void 0].includes(e.scaleMin) ? Math.min(...e.series) || 0 : e.scaleMin, f = [null, void 0].includes(e.scaleMax) ? Math.max(...e.series) || 1 : e.scaleMax;
445
446
  o === f && (o = o >= 0 ? f - 1 : o, f = f >= 0 ? f : o + 1), e.series.filter((K) => ![null, void 0].includes(K)).map((K) => (K - o) / (f - o));
@@ -478,7 +479,7 @@ const $l = {
478
479
  yOffset: L,
479
480
  individualHeight: H
480
481
  };
481
- })), r = i({
482
+ })), n = i({
482
483
  start: 0,
483
484
  end: j.value
484
485
  });
@@ -487,7 +488,7 @@ const $l = {
487
488
  }
488
489
  const me = i(null);
489
490
  async function lt() {
490
- (t.value.style.chart.zoom.startIndex !== null || t.value.style.chart.zoom.endIndex !== null) && me.value ? (t.value.style.chart.zoom.startIndex !== null && (await Ie(), await Ie(), me.value && me.value.setStartValue(t.value.style.chart.zoom.startIndex)), t.value.style.chart.zoom.endIndex !== null && (await Ie(), await Ie(), me.value && me.value.setEndValue($t(t.value.style.chart.zoom.endIndex + 1)))) : (r.value = {
491
+ (t.value.style.chart.zoom.startIndex !== null || t.value.style.chart.zoom.endIndex !== null) && me.value ? (t.value.style.chart.zoom.startIndex !== null && (await Ie(), await Ie(), me.value && me.value.setStartValue(t.value.style.chart.zoom.startIndex)), t.value.style.chart.zoom.endIndex !== null && (await Ie(), await Ie(), me.value && me.value.setEndValue($t(t.value.style.chart.zoom.endIndex + 1)))) : (n.value = {
491
492
  start: 0,
492
493
  end: j.value
493
494
  }, ye.value += 1);
@@ -505,8 +506,8 @@ const $l = {
505
506
  }
506
507
  function Mt() {
507
508
  if (u.value.clearRect(0, 0, 1e4, 1e4), u.value.fillStyle = t.value.style.chart.backgroundColor, u.value.fillRect(0, 0, l.value.canvasWidth, l.value.canvasHeight), s.value.stacked)
508
- t.value.style.chart.grid.y.verticalLines.show && r.value.end - r.value.start < t.value.style.chart.grid.y.verticalLines.hideUnderXLength ? x.value.forEach((e) => {
509
- for (let a = 0; a < r.value.end - r.value.start + 1; a += 1)
509
+ t.value.style.chart.grid.y.verticalLines.show && n.value.end - n.value.start < t.value.style.chart.grid.y.verticalLines.hideUnderXLength ? x.value.forEach((e) => {
510
+ for (let a = 0; a < n.value.end - n.value.start + 1; a += 1)
510
511
  I(
511
512
  u.value,
512
513
  [
@@ -523,17 +524,17 @@ const $l = {
523
524
  color: t.value.style.chart.grid.y.verticalLines.color
524
525
  }
525
526
  );
526
- }) : t.value.style.chart.grid.y.verticalLines.show && r.value.end - r.value.start >= t.value.style.chart.grid.y.verticalLines.hideUnderXLength && x.value.forEach((e) => {
527
- for (let a = r.value.start; a < r.value.end; a += 1)
528
- a % Math.floor((r.value.end - r.value.start) / t.value.style.chart.grid.y.timeLabels.modulo) === 0 && I(
527
+ }) : t.value.style.chart.grid.y.verticalLines.show && n.value.end - n.value.start >= t.value.style.chart.grid.y.verticalLines.hideUnderXLength && x.value.forEach((e) => {
528
+ for (let a = n.value.start; a < n.value.end; a += 1)
529
+ a % Math.floor((n.value.end - n.value.start) / t.value.style.chart.grid.y.timeLabels.modulo) === 0 && I(
529
530
  u.value,
530
531
  [
531
532
  {
532
- x: l.value.left + l.value.slot * (a - r.value.start) + l.value.slot / 2,
533
+ x: l.value.left + l.value.slot * (a - n.value.start) + l.value.slot / 2,
533
534
  y: l.value.bottom - e.yOffset - e.individualHeight
534
535
  },
535
536
  {
536
- x: l.value.left + l.value.slot * (a - r.value.start) + l.value.slot / 2,
537
+ x: l.value.left + l.value.slot * (a - n.value.start) + l.value.slot / 2,
537
538
  y: l.value.bottom - e.yOffset
538
539
  }
539
540
  ],
@@ -558,7 +559,7 @@ const $l = {
558
559
  );
559
560
  });
560
561
  }) : x.value.forEach((e) => {
561
- e.localYLabels.slice(r.value.start, r.value.end).forEach((a) => {
562
+ e.localYLabels.slice(n.value.start, n.value.end).forEach((a) => {
562
563
  I(
563
564
  u.value,
564
565
  [
@@ -617,8 +618,8 @@ const $l = {
617
618
  );
618
619
  });
619
620
  else {
620
- if (t.value.style.chart.grid.y.verticalLines.show && r.value.end - r.value.start < t.value.style.chart.grid.y.verticalLines.hideUnderXLength)
621
- for (let e = 0; e < r.value.end - r.value.start + 1; e += 1)
621
+ if (t.value.style.chart.grid.y.verticalLines.show && n.value.end - n.value.start < t.value.style.chart.grid.y.verticalLines.hideUnderXLength)
622
+ for (let e = 0; e < n.value.end - n.value.start + 1; e += 1)
622
623
  I(
623
624
  u.value,
624
625
  [
@@ -629,13 +630,13 @@ const $l = {
629
630
  color: t.value.style.chart.grid.y.verticalLines.color
630
631
  }
631
632
  );
632
- else if (t.value.style.chart.grid.y.verticalLines.show && r.value.end - r.value.start >= t.value.style.chart.grid.y.verticalLines.hideUnderXLength)
633
- for (let e = r.value.start; e < r.value.end; e += 1)
634
- e % Math.floor((r.value.end - r.value.start) / t.value.style.chart.grid.y.timeLabels.modulo) === 0 && I(
633
+ else if (t.value.style.chart.grid.y.verticalLines.show && n.value.end - n.value.start >= t.value.style.chart.grid.y.verticalLines.hideUnderXLength)
634
+ for (let e = n.value.start; e < n.value.end; e += 1)
635
+ e % Math.floor((n.value.end - n.value.start) / t.value.style.chart.grid.y.timeLabels.modulo) === 0 && I(
635
636
  u.value,
636
637
  [
637
- { x: l.value.left + l.value.slot * (e - r.value.start) + l.value.slot / 2, y: l.value.top },
638
- { x: l.value.left + l.value.slot * (e - r.value.start) + l.value.slot / 2, y: l.value.bottom }
638
+ { x: l.value.left + l.value.slot * (e - n.value.start) + l.value.slot / 2, y: l.value.top },
639
+ { x: l.value.left + l.value.slot * (e - n.value.start) + l.value.slot / 2, y: l.value.bottom }
639
640
  ],
640
641
  {
641
642
  color: t.value.style.chart.grid.y.verticalLines.color
@@ -836,16 +837,16 @@ const $l = {
836
837
  );
837
838
  }
838
839
  function Rt() {
839
- for (let e = r.value.start; e < r.value.end; e += 1)
840
- (r.value.end - r.value.start < t.value.style.chart.grid.y.timeLabels.modulo || r.value.end - r.value.start >= t.value.style.chart.grid.y.timeLabels.modulo && (e % Math.floor((r.value.end - r.value.start) / t.value.style.chart.grid.y.timeLabels.modulo) === 0 || e === h.value + r.value.start && t.value.style.chart.grid.y.timeLabels.showMarker)) && ee(
840
+ for (let e = n.value.start; e < n.value.end; e += 1)
841
+ (n.value.end - n.value.start < t.value.style.chart.grid.y.timeLabels.modulo || n.value.end - n.value.start >= t.value.style.chart.grid.y.timeLabels.modulo && (e % Math.floor((n.value.end - n.value.start) / t.value.style.chart.grid.y.timeLabels.modulo) === 0 || e === h.value + n.value.start && t.value.style.chart.grid.y.timeLabels.showMarker)) && ee(
841
842
  u.value,
842
843
  t.value.style.chart.grid.y.timeLabels.values[e] || e + 1,
843
- l.value.left + l.value.slot * (e - r.value.start) + l.value.slot / 2,
844
+ l.value.left + l.value.slot * (e - n.value.start) + l.value.slot / 2,
844
845
  l.value.bottom + b.value / t.value.style.chart.grid.y.timeLabels.offsetY,
845
846
  {
846
847
  align: t.value.style.chart.grid.y.timeLabels.rotation === 0 ? "center" : t.value.style.chart.grid.y.timeLabels.rotation > 0 ? "left" : "right",
847
848
  font: `${t.value.style.chart.grid.y.timeLabels.bold ? "bold " : ""}${Math.round(b.value / 40 * t.value.style.chart.grid.y.timeLabels.fontSizeRatio)}px ${t.value.style.fontFamily}`,
848
- color: t.value.style.chart.grid.y.timeLabels.showMarker ? Me(t.value.style.chart.grid.y.timeLabels.color, h.value !== null ? h.value + r.value.start === e ? 100 : 20 : 100) : t.value.style.chart.grid.y.timeLabels.color,
849
+ color: t.value.style.chart.grid.y.timeLabels.showMarker ? Me(t.value.style.chart.grid.y.timeLabels.color, h.value !== null ? h.value + n.value.start === e ? 100 : 20 : 100) : t.value.style.chart.grid.y.timeLabels.color,
849
850
  rotation: t.value.style.chart.grid.y.timeLabels.rotation
850
851
  }
851
852
  );
@@ -980,8 +981,8 @@ const $l = {
980
981
  });
981
982
  }
982
983
  function we() {
983
- Mt(), G.value ? (h.value !== null && t.value.style.chart.selector.show && at(), Dt(), s.value.stacked && t.value.style.chart.grid.x.showAxis && At(), St.value.forEach((e) => {
984
- (e.type === "line" || !e.type) && Et(e), re.value && (It(e), s.value.showDataLabels && [!0, void 0].includes(e.dataLabels) && Pt(e));
984
+ Mt(), _.value ? (h.value !== null && t.value.style.chart.selector.show && at(), Dt(), s.value.stacked && t.value.style.chart.grid.x.showAxis && At(), St.value.forEach((e) => {
985
+ (e.type === "line" || !e.type) && Et(e), ne.value && (It(e), s.value.showDataLabels && [!0, void 0].includes(e.dataLabels) && Pt(e));
985
986
  }), Le.value = dl(O.value)) : (Le.value && (u.value.clearRect(0, 0, 1e4, 1e4), u.value.drawImage(Le.value, 0, 0)), h.value !== null && t.value.style.chart.selector.show && at(), h.value !== null && x.value.forEach((e) => {
986
987
  if (e.type === "line" || !e.type || e.type === "plot") {
987
988
  if (!e.coordinatesLine[h.value]) return;
@@ -998,11 +999,11 @@ const $l = {
998
999
  }
999
1000
  );
1000
1001
  }
1001
- })), t.value.style.chart.grid.y.timeLabels.show && Rt(), t.value.style.chart.selector.show && t.value.style.chart.selector.showHorizontalSelector && Ot(), Ft(), Tt(), G.value = !1;
1002
+ })), t.value.style.chart.grid.y.timeLabels.show && Rt(), t.value.style.chart.selector.show && t.value.style.chart.selector.showHorizontalSelector && Ot(), Ft(), Tt(), _.value = !1;
1002
1003
  }
1003
1004
  const Re = il(() => {
1004
- re.value = !0, zt();
1005
- }, j.value > 200 ? 10 : 1, !re.value);
1005
+ ne.value = !0, zt();
1006
+ }, j.value > 200 ? 10 : 1, !ne.value);
1006
1007
  function $e(e) {
1007
1008
  if ([null, void 0].includes(h.value) || !e.coordinatesLine[h.value]) return !1;
1008
1009
  const { y: a, value: o } = e.coordinatesLine[h.value];
@@ -1015,7 +1016,7 @@ const $l = {
1015
1016
  return;
1016
1017
  }
1017
1018
  const p = f * 2 - l.value.left;
1018
- if (h.value = Math.floor(p / l.value.slot), Q.value = !0, !re.value) return;
1019
+ if (h.value = Math.floor(p / l.value.slot), Q.value = !0, !ne.value) return;
1019
1020
  let Y = "";
1020
1021
  const g = t.value.style.chart.tooltip.customFormat;
1021
1022
  yt(g) && ul(() => g({
@@ -1029,7 +1030,7 @@ const $l = {
1029
1030
  })),
1030
1031
  series: x.value,
1031
1032
  config: t.value
1032
- })) ? _.value = g({
1033
+ })) ? G.value = g({
1033
1034
  seriesIndex: h.value,
1034
1035
  datapoint: x.value.map((L) => ({
1035
1036
  shape: L.shape || null,
@@ -1040,30 +1041,30 @@ const $l = {
1040
1041
  })),
1041
1042
  series: x.value,
1042
1043
  config: t.value
1043
- }) : (t.value.style.chart.grid.y.timeLabels.values.slice(r.value.start, r.value.end)[h.value] && (Y += `<div style="padding-bottom: 6px; margin-bottom: 4px; border-bottom: 1px solid ${t.value.style.chart.tooltip.borderColor}; width:100%">${t.value.style.chart.grid.y.timeLabels.values.slice(r.value.start, r.value.end)[h.value]}</div>`), Y += wt.value.join(""), _.value = Y), re.value = !1;
1044
+ }) : (t.value.style.chart.grid.y.timeLabels.values.slice(n.value.start, n.value.end)[h.value] && (Y += `<div style="padding-bottom: 6px; margin-bottom: 4px; border-bottom: 1px solid ${t.value.style.chart.tooltip.borderColor}; width:100%">${t.value.style.chart.grid.y.timeLabels.values.slice(n.value.start, n.value.end)[h.value]}</div>`), Y += wt.value.join(""), G.value = Y), ne.value = !1;
1044
1045
  }
1045
1046
  te(() => h.value, (e) => {
1046
1047
  Re();
1047
- }), te(() => r.value, (e) => {
1048
- G.value = !0, we();
1048
+ }), te(() => n.value, (e) => {
1049
+ _.value = !0, we();
1049
1050
  }, {
1050
1051
  deep: !0
1051
1052
  }), te(() => s.value.showDataLabels, (e) => {
1052
- G.value = !0, we();
1053
+ _.value = !0, we();
1053
1054
  }), te(() => y.value, (e) => {
1054
1055
  e && we();
1055
1056
  }), te(() => s.value.stacked, (e) => {
1056
- G.value = !0, re.value = !0, Re();
1057
+ _.value = !0, ne.value = !0, Re();
1057
1058
  });
1058
1059
  function Yt() {
1059
- Q.value = !1, h.value = null, _.value = "", y.value = null, we();
1060
+ Q.value = !1, h.value = null, G.value = "", y.value = null, we();
1060
1061
  }
1061
1062
  const Oe = i(null), De = i(null);
1062
- _e(() => {
1063
+ Ge(() => {
1063
1064
  He();
1064
1065
  });
1065
1066
  function He() {
1066
- if (ol(m.dataset) ? rl({
1067
+ if (ol(m.dataset) ? nl({
1067
1068
  componentName: "VueUiXyCanvas",
1068
1069
  type: "dataset"
1069
1070
  }) : O.value && (u.value = O.value.getContext("2d", { willReadFrequently: !0 })), t.value.responsive) {
@@ -1076,23 +1077,23 @@ const $l = {
1076
1077
  source: d.value
1077
1078
  });
1078
1079
  requestAnimationFrame(() => {
1079
- Ge.value = `${a} / ${o}`;
1080
+ _e.value = `${a} / ${o}`;
1080
1081
  });
1081
1082
  });
1082
1083
  Oe.value = new ResizeObserver(e), Oe.value.observe(ae.value.parentNode);
1083
1084
  }
1084
1085
  De.value = new ResizeObserver((e) => {
1085
1086
  for (const a of e)
1086
- a.contentBoxSize && Z.value && (G.value = !0, Re());
1087
+ a.contentBoxSize && Z.value && (_.value = !0, Re());
1087
1088
  }), De.value.observe(Z.value), lt();
1088
1089
  }
1089
1090
  bt(() => {
1090
1091
  De.value && De.value.disconnect(), Oe.value && Oe.value.disconnect();
1091
1092
  });
1092
1093
  function ot(e) {
1093
- w("selectLegend", x.value.find((a) => a.absoluteIndex === e)), E.value.includes(e) ? E.value = E.value.filter((a) => a !== e) : E.value.push(e), G.value = !0, Re();
1094
+ w("selectLegend", x.value.find((a) => a.absoluteIndex === e)), E.value.includes(e) ? E.value = E.value.filter((a) => a !== e) : E.value.push(e), _.value = !0, Re();
1094
1095
  }
1095
- const rt = T(() => pe.value.map((e, a) => ({
1096
+ const nt = T(() => pe.value.map((e, a) => ({
1096
1097
  ...e,
1097
1098
  name: e.name,
1098
1099
  color: ft(e.color) || Ke.value[a] || he[a] || he[a % he.length],
@@ -1117,7 +1118,7 @@ const $l = {
1117
1118
  let a = [];
1118
1119
  for (let p = 0; p < j.value; p += 1) {
1119
1120
  const Y = x.value.map((g) => g.series[p] ?? 0).reduce((g, L) => g + L, 0);
1120
- a.push([t.value.style.chart.grid.y.timeLabels.values.slice(r.value.start, r.value.end)[p] ?? p + 1].concat(x.value.map((g) => (g.series[p] ?? 0).toFixed(t.value.table.rounding))).concat((Y ?? 0).toFixed(t.value.table.rounding)));
1121
+ a.push([t.value.style.chart.grid.y.timeLabels.values.slice(n.value.start, n.value.end)[p] ?? p + 1].concat(x.value.map((g) => (g.series[p] ?? 0).toFixed(t.value.table.rounding))).concat((Y ?? 0).toFixed(t.value.table.rounding)));
1121
1122
  }
1122
1123
  const o = {
1123
1124
  th: {
@@ -1132,15 +1133,15 @@ const $l = {
1132
1133
  },
1133
1134
  breakpoint: t.value.table.responsiveBreakpoint
1134
1135
  }, f = [t.value.table.columnNames.period].concat(x.value.map((p) => p.name)).concat(t.value.table.columnNames.total);
1135
- return { head: e, body: a.slice(0, r.value.end - r.value.start), config: o, colNames: f };
1136
- }), nt = T(() => {
1136
+ return { head: e, body: a.slice(0, n.value.end - n.value.start), config: o, colNames: f };
1137
+ }), rt = T(() => {
1137
1138
  if (x.value.length === 0) return { head: [], body: [], config: {}, columnNames: [] };
1138
1139
  const e = x.value.map((o) => ({
1139
1140
  label: o.name,
1140
1141
  color: o.color,
1141
1142
  type: o.type
1142
1143
  })), a = [];
1143
- for (let o = r.value.start; o < r.value.end; o += 1) {
1144
+ for (let o = n.value.start; o < n.value.end; o += 1) {
1144
1145
  const f = [t.value.style.chart.grid.y.timeLabels.values[o] || o + 1];
1145
1146
  x.value.forEach((p) => {
1146
1147
  f.push(Number((p.series[o] || 0).toFixed(t.value.table.rounding)));
@@ -1149,7 +1150,7 @@ const $l = {
1149
1150
  return { head: e, body: a };
1150
1151
  });
1151
1152
  function st() {
1152
- const e = [[t.value.style.chart.title.text], [t.value.style.chart.title.subtitle.text], [""]], a = ["", ...nt.value.head.map((Y) => Y.label)], o = nt.value.body, f = e.concat([a]).concat(o), p = nl(f);
1153
+ const e = [[t.value.style.chart.title.text], [t.value.style.chart.title.subtitle.text], [""]], a = ["", ...rt.value.head.map((Y) => Y.label)], o = rt.value.body, f = e.concat([a]).concat(o), p = rl(f);
1153
1154
  sl({ csvContent: p, title: t.value.style.chart.title.text || "vue-ui-xy-canvas" });
1154
1155
  }
1155
1156
  function Bt() {
@@ -1225,7 +1226,7 @@ const $l = {
1225
1226
  hasLabel: t.value.userOptions.buttons.labels,
1226
1227
  hasStack: $.dataset.length > 1 && t.value.userOptions.buttons.stack,
1227
1228
  hasFullscreen: t.value.userOptions.buttons.fullscreen,
1228
- hasTable: r.value.end - r.value.start < 200 && t.value.userOptions.buttons.table,
1229
+ hasTable: n.value.end - n.value.start < 200 && t.value.userOptions.buttons.table,
1229
1230
  isFullscreen: ge.value,
1230
1231
  isTooltip: s.value.showTooltip,
1231
1232
  isStacked: s.value.stacked,
@@ -1246,7 +1247,7 @@ const $l = {
1246
1247
  style: W({
1247
1248
  visibility: D(R) ? D(F) ? "visible" : "hidden" : "visible"
1248
1249
  })
1249
- }, _t({ _: 2 }, [
1250
+ }, Gt({ _: 2 }, [
1250
1251
  e.$slots.menuIcon ? {
1251
1252
  name: "menuIcon",
1252
1253
  fn: z(({ isOpen: o, color: f }) => [
@@ -1320,7 +1321,7 @@ const $l = {
1320
1321
  ]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasTooltip", "hasPdf", "hasImg", "hasXls", "hasLabel", "hasStack", "hasFullscreen", "hasTable", "isFullscreen", "isTooltip", "isStacked", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "onGeneratePdf", "onGenerateImage", "style"])) : le("", !0),
1321
1322
  U("div", {
1322
1323
  class: "vue-ui-xy-canvas",
1323
- style: W(`position: relative; aspect-ratio: ${Ge.value}`),
1324
+ style: W(`position: relative; aspect-ratio: ${_e.value}`),
1324
1325
  ref_key: "container",
1325
1326
  ref: Z
1326
1327
  }, [
@@ -1360,7 +1361,7 @@ const $l = {
1360
1361
  position: t.value.style.chart.tooltip.position,
1361
1362
  offsetY: t.value.style.chart.tooltip.offsetY,
1362
1363
  parent: D(O),
1363
- content: _.value,
1364
+ content: G.value,
1364
1365
  isFullscreen: ge.value,
1365
1366
  backgroundOpacity: t.value.style.chart.tooltip.backgroundOpacity,
1366
1367
  isCustom: D(yt)(t.value.style.chart.tooltip.customFormat)
@@ -1388,19 +1389,19 @@ const $l = {
1388
1389
  borderColor: t.value.style.chart.backgroundColor,
1389
1390
  fontSize: t.value.style.chart.zoom.fontSize,
1390
1391
  useResetSlot: t.value.style.chart.zoom.useResetSlot,
1391
- labelLeft: t.value.style.chart.grid.y.timeLabels.values[r.value.start] ? t.value.style.chart.grid.y.timeLabels.values[r.value.start] : "",
1392
- labelRight: t.value.style.chart.grid.y.timeLabels.values[r.value.end - 1] ? t.value.style.chart.grid.y.timeLabels.values[r.value.end - 1] : "",
1392
+ labelLeft: t.value.style.chart.grid.y.timeLabels.values[n.value.start] ? t.value.style.chart.grid.y.timeLabels.values[n.value.start] : "",
1393
+ labelRight: t.value.style.chart.grid.y.timeLabels.values[n.value.end - 1] ? t.value.style.chart.grid.y.timeLabels.values[n.value.end - 1] : "",
1393
1394
  textColor: t.value.style.chart.color,
1394
1395
  inputColor: t.value.style.chart.zoom.color,
1395
1396
  selectColor: t.value.style.chart.zoom.highlightColor,
1396
1397
  max: j.value,
1397
1398
  min: 0,
1398
- valueStart: r.value.start,
1399
- valueEnd: r.value.end,
1400
- start: r.value.start,
1401
- "onUpdate:start": a[1] || (a[1] = (o) => r.value.start = o),
1402
- end: r.value.end,
1403
- "onUpdate:end": a[2] || (a[2] = (o) => r.value.end = o),
1399
+ valueStart: n.value.start,
1400
+ valueEnd: n.value.end,
1401
+ start: n.value.start,
1402
+ "onUpdate:start": a[1] || (a[1] = (o) => n.value.start = o),
1403
+ end: n.value.end,
1404
+ "onUpdate:end": a[2] || (a[2] = (o) => n.value.end = o),
1404
1405
  refreshStartPoint: t.value.style.chart.zoom.startIndex !== null ? t.value.style.chart.zoom.startIndex : 0,
1405
1406
  refreshEndPoint: t.value.style.chart.zoom.endIndex !== null ? t.value.style.chart.zoom.endIndex + 1 : j.value,
1406
1407
  enableRangeHandles: t.value.style.chart.zoom.enableRangeHandles,
@@ -1418,7 +1419,7 @@ const $l = {
1418
1419
  ref: Fe
1419
1420
  }, [
1420
1421
  t.value.style.chart.legend.show && k.value ? (C(), ue(fl, {
1421
- legendSet: rt.value,
1422
+ legendSet: nt.value,
1422
1423
  config: Xt.value,
1423
1424
  key: `legend_${v.value}`,
1424
1425
  onClickMarker: a[3] || (a[3] = ({ i: o }) => ot(o))
@@ -1432,7 +1433,7 @@ const $l = {
1432
1433
  _: 1
1433
1434
  }, 8, ["legendSet", "config"])) : M(e.$slots, "legend", {
1434
1435
  key: 1,
1435
- legend: rt.value
1436
+ legend: nt.value
1436
1437
  }, void 0, !0)
1437
1438
  ], 512),
1438
1439
  e.$slots.watermark ? (C(), X("div", Dl, [
@@ -1446,7 +1447,7 @@ const $l = {
1446
1447
  }, [
1447
1448
  M(e.$slots, "source", {}, void 0, !0)
1448
1449
  ], 512)) : le("", !0),
1449
- r.value.end - r.value.start < 200 ? (C(), ue(bl, {
1450
+ n.value.end - n.value.start < 200 ? (C(), ue(bl, {
1450
1451
  key: 4,
1451
1452
  hideDetails: "",
1452
1453
  config: {
@@ -1464,7 +1465,7 @@ const $l = {
1464
1465
  }, {
1465
1466
  content: z(() => [
1466
1467
  (C(), ue(xl, {
1467
- key: `table_${n.value}`,
1468
+ key: `table_${r.value}`,
1468
1469
  colNames: Ee.value.colNames,
1469
1470
  head: Ee.value.head,
1470
1471
  body: Ee.value.body,
@@ -1476,7 +1477,7 @@ const $l = {
1476
1477
  U("div", { innerHTML: o }, null, 8, El)
1477
1478
  ]),
1478
1479
  td: z(({ td: o }) => [
1479
- Gt(ht(o), 1)
1480
+ _t(ht(o), 1)
1480
1481
  ]),
1481
1482
  _: 1
1482
1483
  }, 8, ["colNames", "head", "body", "config", "title"]))
@@ -1493,7 +1494,7 @@ const $l = {
1493
1494
  }, null, 8, ["parent", "backgroundColor", "color", "active"])) : le("", !0)
1494
1495
  ], 46, Rl));
1495
1496
  }
1496
- }, ta = /* @__PURE__ */ kt(Al, [["__scopeId", "data-v-73b06dd8"]]);
1497
+ }, ta = /* @__PURE__ */ kt(Al, [["__scopeId", "data-v-9fd65fd2"]]);
1497
1498
  export {
1498
1499
  ta as default
1499
1500
  };