vue-data-ui 2.6.50 → 2.6.52-beta.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (186) hide show
  1. package/README.md +1 -3
  2. package/dist/{Arrow-DgCzka34.js → Arrow-BrgzjEu9.js} +1 -1
  3. package/dist/{Arrow-Cj0UP9DN.cjs → Arrow-i892KlJJ.cjs} +1 -1
  4. package/dist/{BaseIcon-Dug6kYBB.js → BaseIcon-1Kh1hniD.js} +1 -1
  5. package/dist/{BaseIcon-BeRHKYU4.cjs → BaseIcon-OIGwOnCM.cjs} +1 -1
  6. package/dist/{ColorPicker-C-VVlvta.cjs → ColorPicker-C5fe9E7-.cjs} +1 -1
  7. package/dist/{ColorPicker-8EgjF14O.js → ColorPicker-Cxeiob9V.js} +3 -3
  8. package/dist/{DataTable-Qe7lM3JL.js → DataTable-C4Zf4XLF.js} +15 -15
  9. package/dist/DataTable-DJyyRRlW.cjs +1 -0
  10. package/dist/{Legend-lzTl1S1b.js → Legend-1pyX_J1z.js} +2 -2
  11. package/dist/{Legend-CjiKxR8b.cjs → Legend-Dx4tku_Q.cjs} +1 -1
  12. package/dist/{PackageVersion-DqsBfaeh.js → PackageVersion-BPpaTwrM.js} +1 -1
  13. package/dist/{PackageVersion-yiiAD1cf.cjs → PackageVersion-Di08b2vs.cjs} +1 -1
  14. package/dist/{PenAndPaper-AvORsvqF.js → PenAndPaper-B21RAf9P.js} +5 -5
  15. package/dist/PenAndPaper-C0I2pjPq.cjs +1 -0
  16. package/dist/{Shape-2KuBmTJV.cjs → Shape-Bn0OAR4-.cjs} +1 -1
  17. package/dist/{Shape-Jg6afnuk.js → Shape-BrtnGizi.js} +1 -1
  18. package/dist/{Slicer-DPPVa8zE.js → Slicer-BeRcAG--.js} +25 -25
  19. package/dist/Slicer-BrIoq1c-.cjs +1 -0
  20. package/dist/{Title-cjYd6IYr.cjs → Title-CcW9kRtT.cjs} +1 -1
  21. package/dist/{Title-DPXXRQ-w.js → Title-rbJs8Cs3.js} +1 -1
  22. package/dist/{Tooltip-YBqthQ_8.cjs → Tooltip-BzDUupFB.cjs} +1 -1
  23. package/dist/{Tooltip-C4H6zELy.js → Tooltip-DZGBhn8l.js} +1 -1
  24. package/dist/documentation/installation.md +0 -1
  25. package/dist/dom-to-png-BpstRczV.cjs +1 -0
  26. package/dist/dom-to-png-DFDQ3B5I.js +119 -0
  27. package/dist/img-DN4K4BLQ.cjs +1 -0
  28. package/dist/img-hntVQbmL.js +19 -0
  29. package/dist/index-CuIvJLJx.cjs +9 -0
  30. package/dist/{index-BdAppyf2.js → index-DYjLUPYr.js} +291 -349
  31. package/dist/pdf-BwewXrne.js +46 -0
  32. package/dist/pdf-ClzzT4YP.cjs +1 -0
  33. package/dist/style.css +1 -1
  34. package/dist/types/vue-data-ui.d.cts +0 -64
  35. package/dist/types/vue-data-ui.d.ts +0 -64
  36. package/dist/{useNestedProp-B3UWJnDQ.cjs → useNestedProp-B3OcLUMU.cjs} +1 -1
  37. package/dist/{useNestedProp-BGSJvQb3.js → useNestedProp-DPpLpUNG.js} +1 -1
  38. package/dist/usePanZoom-CUkkqW81.js +116 -0
  39. package/dist/usePanZoom-PXRi2Rwx.cjs +1 -0
  40. package/dist/usePrinter-BwwdT1Uh.cjs +1 -0
  41. package/dist/{usePrinter-Bvq0gUmP.js → usePrinter-GOjH1UQd.js} +5 -5
  42. package/dist/{vue-data-ui-B66itXhe.js → vue-data-ui-CgYIT4l6.js} +60 -62
  43. package/dist/vue-data-ui-XSn3UFqP.cjs +9 -0
  44. package/dist/vue-data-ui.cjs +1 -1
  45. package/dist/vue-data-ui.js +35 -36
  46. package/dist/{vue-ui-3d-bar-kESBThJe.js → vue-ui-3d-bar-BFA4GviN.js} +11 -11
  47. package/dist/{vue-ui-3d-bar-Bp1Qx_3s.cjs → vue-ui-3d-bar-d2lzwwD0.cjs} +2 -2
  48. package/dist/{vue-ui-accordion-Btv7fZHc.cjs → vue-ui-accordion-ZlcsLKVn.cjs} +1 -1
  49. package/dist/{vue-ui-accordion-dAJcVBnP.js → vue-ui-accordion-zFcofzrb.js} +3 -3
  50. package/dist/{vue-ui-age-pyramid-yogLIZ0-.cjs → vue-ui-age-pyramid-BrS-QXEl.cjs} +1 -1
  51. package/dist/{vue-ui-age-pyramid-DOf4u3G7.js → vue-ui-age-pyramid-HYnV6m7j.js} +10 -10
  52. package/dist/{vue-ui-annotator-CSE9-lNO.js → vue-ui-annotator-Bnl6xoGx.js} +84 -85
  53. package/dist/vue-ui-annotator-DpcBNv4G.cjs +371 -0
  54. package/dist/{vue-ui-bullet-CrO7QKNT.js → vue-ui-bullet-BMAoQg9X.js} +8 -8
  55. package/dist/{vue-ui-bullet-C12nLt5L.cjs → vue-ui-bullet-CUg-Tqm5.cjs} +1 -1
  56. package/dist/{vue-ui-candlestick-DdwcejCS.cjs → vue-ui-candlestick-BB_TlvHs.cjs} +1 -1
  57. package/dist/{vue-ui-candlestick-fZNnGqnR.js → vue-ui-candlestick-D99-OMzs.js} +11 -11
  58. package/dist/{vue-ui-carousel-table-Be2jjnQa.cjs → vue-ui-carousel-table-BLMby8AI.cjs} +1 -1
  59. package/dist/{vue-ui-carousel-table-D7TTErUh.js → vue-ui-carousel-table-Cj28UhyG.js} +4 -4
  60. package/dist/{vue-ui-chestnut-DXxpU3iH.js → vue-ui-chestnut-BcHI2rpx.js} +8 -8
  61. package/dist/{vue-ui-chestnut-OYsNRpL_.cjs → vue-ui-chestnut-CK_b_ta8.cjs} +1 -1
  62. package/dist/{vue-ui-circle-pack-i0GUh3ui.js → vue-ui-circle-pack-BYhg53UE.js} +9 -9
  63. package/dist/{vue-ui-circle-pack-CzGyZQx0.cjs → vue-ui-circle-pack-ClzkEDGg.cjs} +1 -1
  64. package/dist/vue-ui-cursor-B3u3ldcD.cjs +1 -0
  65. package/dist/{vue-ui-cursor-7vhZ073K.js → vue-ui-cursor-DkcChdeb.js} +4 -4
  66. package/dist/{vue-ui-dashboard-Z0ukqnTc.js → vue-ui-dashboard-BdnlFgl5.js} +8 -8
  67. package/dist/vue-ui-dashboard-Nt0DdH9L.cjs +1 -0
  68. package/dist/{vue-ui-digits-CnSmR9jO.js → vue-ui-digits-D_BKH_j3.js} +2 -2
  69. package/dist/{vue-ui-digits-er9gte-s.cjs → vue-ui-digits-LJ5NoBDi.cjs} +1 -1
  70. package/dist/{vue-ui-donut-DlBL_0yx.js → vue-ui-donut-DKIAm-ME.js} +12 -12
  71. package/dist/{vue-ui-donut-evolution-U0GNz2fp.js → vue-ui-donut-evolution-B_aFgOze.js} +14 -14
  72. package/dist/{vue-ui-donut-evolution-BDuXBSjv.cjs → vue-ui-donut-evolution-BtnTa4le.cjs} +1 -1
  73. package/dist/{vue-ui-donut-DVg5ro7B.cjs → vue-ui-donut-kRhrhvjt.cjs} +1 -1
  74. package/dist/{vue-ui-dumbbell-PioEuDZQ.cjs → vue-ui-dumbbell-BFYVlYa4.cjs} +1 -1
  75. package/dist/{vue-ui-dumbbell-aIYpaGN0.js → vue-ui-dumbbell-jzYimGnw.js} +10 -10
  76. package/dist/{vue-ui-flow-BOlMAhh0.cjs → vue-ui-flow-BuXSGu-i.cjs} +1 -1
  77. package/dist/{vue-ui-flow-BcaSo6z0.js → vue-ui-flow-CqihZo8O.js} +9 -9
  78. package/dist/{vue-ui-funnel-AgQn4mH5.js → vue-ui-funnel-B9OFgkeR.js} +9 -9
  79. package/dist/{vue-ui-funnel-DrkVJPw1.cjs → vue-ui-funnel-CpaBBSbU.cjs} +1 -1
  80. package/dist/{vue-ui-galaxy-D85_jVQh.cjs → vue-ui-galaxy-BCQr-U2u.cjs} +1 -1
  81. package/dist/{vue-ui-galaxy-DWSIn-eK.js → vue-ui-galaxy-FOIZdAZe.js} +11 -11
  82. package/dist/{vue-ui-gauge-8ULXCGzO.js → vue-ui-gauge-B42XWwB2.js} +7 -7
  83. package/dist/{vue-ui-gauge-BHj3D_VH.cjs → vue-ui-gauge-kZxueLp8.cjs} +1 -1
  84. package/dist/{vue-ui-gizmo-D1j6MDV_.js → vue-ui-gizmo-DNzFp5mg.js} +3 -3
  85. package/dist/{vue-ui-gizmo-CEsmiN_U.cjs → vue-ui-gizmo-DtQnmFnB.cjs} +1 -1
  86. package/dist/{vue-ui-heatmap-tMQOgzTJ.js → vue-ui-heatmap-CBahWBfm.js} +10 -10
  87. package/dist/{vue-ui-heatmap-Cww1BNvU.cjs → vue-ui-heatmap-DwTkeSCE.cjs} +1 -1
  88. package/dist/{vue-ui-history-plot-CrVMrU9H.cjs → vue-ui-history-plot-BLZfokqh.cjs} +1 -1
  89. package/dist/{vue-ui-history-plot-17Ayxmx8.js → vue-ui-history-plot-JF7Cxj70.js} +11 -11
  90. package/dist/{vue-ui-kpi-C9kltMQ9.js → vue-ui-kpi-Dd7_MpTH.js} +3 -3
  91. package/dist/{vue-ui-kpi-BALQ_M2s.cjs → vue-ui-kpi-DgYNzLPE.cjs} +1 -1
  92. package/dist/{vue-ui-mini-loader-DzObX7ZU.cjs → vue-ui-mini-loader-AnEvVAeN.cjs} +1 -1
  93. package/dist/{vue-ui-mini-loader-zkvcqGEg.js → vue-ui-mini-loader-CYlUH9YB.js} +2 -2
  94. package/dist/{vue-ui-molecule-C8d0BNOu.js → vue-ui-molecule-CwjSX0qp.js} +253 -226
  95. package/dist/vue-ui-molecule-DenzPBhZ.cjs +1 -0
  96. package/dist/{vue-ui-mood-radar-Bl-PDTeX.js → vue-ui-mood-radar-B_ZdNRq7.js} +11 -11
  97. package/dist/{vue-ui-mood-radar-B-I03OhG.cjs → vue-ui-mood-radar-oZi1r3t2.cjs} +1 -1
  98. package/dist/{vue-ui-nested-donuts-DnuV1MXZ.cjs → vue-ui-nested-donuts-1iw0Uhgn.cjs} +1 -1
  99. package/dist/{vue-ui-nested-donuts-BxTLEwZg.js → vue-ui-nested-donuts-u6o7Mo5w.js} +11 -11
  100. package/dist/{vue-ui-onion-ChlD0lEh.js → vue-ui-onion-BIgB8q-o.js} +11 -11
  101. package/dist/{vue-ui-onion-jrh-OYsj.cjs → vue-ui-onion-nSs841wa.cjs} +1 -1
  102. package/dist/{vue-ui-parallel-coordinate-plot-DEsxCUkG.cjs → vue-ui-parallel-coordinate-plot-CLZbLwv6.cjs} +1 -1
  103. package/dist/{vue-ui-parallel-coordinate-plot-DaQ5VVjw.js → vue-ui-parallel-coordinate-plot-CzdztQbb.js} +12 -12
  104. package/dist/{vue-ui-quadrant-BhwxemSE.cjs → vue-ui-quadrant-DVJk4jVY.cjs} +1 -1
  105. package/dist/{vue-ui-quadrant-DHwHNx0L.js → vue-ui-quadrant-Dqj0kKDK.js} +12 -12
  106. package/dist/{vue-ui-quick-chart-DCKBR3yK.js → vue-ui-quick-chart-C16V9Aae.js} +9 -9
  107. package/dist/{vue-ui-quick-chart-CKzMyPRh.cjs → vue-ui-quick-chart-DseczpPU.cjs} +1 -1
  108. package/dist/{vue-ui-radar-BKa6M5Wq.cjs → vue-ui-radar-BAeIHJpy.cjs} +1 -1
  109. package/dist/{vue-ui-radar-B5llyhiL.js → vue-ui-radar-Db7iB_Qj.js} +12 -12
  110. package/dist/{vue-ui-rating-ChPyKOUl.cjs → vue-ui-rating-D0Dx6ZXa.cjs} +1 -1
  111. package/dist/{vue-ui-rating-BLdhelA-.js → vue-ui-rating-JEdFnT3W.js} +2 -2
  112. package/dist/{vue-ui-relation-circle-CS8SHw7f.cjs → vue-ui-relation-circle-DQna8U5y.cjs} +1 -1
  113. package/dist/{vue-ui-relation-circle-CDhd8AAr.js → vue-ui-relation-circle-gakSZ4S6.js} +7 -7
  114. package/dist/{vue-ui-rings-bZCTJMWv.js → vue-ui-rings-D5n6DT_A.js} +12 -12
  115. package/dist/{vue-ui-rings-DJS0iOwC.cjs → vue-ui-rings-DtRyfbLl.cjs} +1 -1
  116. package/dist/{vue-ui-scatter-BP8fVV4q.cjs → vue-ui-scatter-Bi6D12HK.cjs} +1 -1
  117. package/dist/{vue-ui-scatter-BKvtGb58.js → vue-ui-scatter-PREHAey0.js} +12 -12
  118. package/dist/{vue-ui-skeleton-CIPY7Xfo.cjs → vue-ui-skeleton-B3iHjtI-.cjs} +1 -1
  119. package/dist/{vue-ui-skeleton-BvIz3HzY.js → vue-ui-skeleton-Bvgys0sE.js} +3 -3
  120. package/dist/{vue-ui-smiley-CF97kVSw.js → vue-ui-smiley-Bbz2pMRt.js} +2 -2
  121. package/dist/{vue-ui-smiley-Dcw6DDUd.cjs → vue-ui-smiley-CPZZHQxU.cjs} +1 -1
  122. package/dist/{vue-ui-spark-trend-H77En2yP.cjs → vue-ui-spark-trend-BQJgJLH1.cjs} +1 -1
  123. package/dist/{vue-ui-spark-trend-DDWZF8FE.js → vue-ui-spark-trend-OSzSYi-e.js} +5 -5
  124. package/dist/{vue-ui-sparkbar-D_J5RsQ7.cjs → vue-ui-sparkbar-CMXau9-B.cjs} +1 -1
  125. package/dist/{vue-ui-sparkbar-DS7rL1J8.js → vue-ui-sparkbar-CTBKE2AF.js} +4 -4
  126. package/dist/{vue-ui-sparkgauge-MSEo6cmu.js → vue-ui-sparkgauge-Cut-q8bg.js} +4 -4
  127. package/dist/{vue-ui-sparkgauge-lyri9BYV.cjs → vue-ui-sparkgauge-DXGiSj1v.cjs} +1 -1
  128. package/dist/{vue-ui-sparkhistogram-DZPn2dDv.js → vue-ui-sparkhistogram-Bc9284wI.js} +5 -5
  129. package/dist/{vue-ui-sparkhistogram-qNy_nXl3.cjs → vue-ui-sparkhistogram-D0JFcRmB.cjs} +1 -1
  130. package/dist/{vue-ui-sparkline-DhUWmLtU.cjs → vue-ui-sparkline-BjuntN3v.cjs} +1 -1
  131. package/dist/{vue-ui-sparkline-DmMQ2SZ_.js → vue-ui-sparkline-JtLdV2lv.js} +4 -4
  132. package/dist/{vue-ui-sparkstackbar-DgmKIPN-.js → vue-ui-sparkstackbar-Dnb7y-aL.js} +5 -5
  133. package/dist/{vue-ui-sparkstackbar-DSWq3rmC.cjs → vue-ui-sparkstackbar-UHMiNIcM.cjs} +1 -1
  134. package/dist/{vue-ui-stackbar-2RHJInUq.cjs → vue-ui-stackbar-B3tfGGNG.cjs} +2 -2
  135. package/dist/{vue-ui-stackbar-DYOgS1Qd.js → vue-ui-stackbar-Do4pbvT_.js} +15 -15
  136. package/dist/{vue-ui-strip-plot-6VO97qw1.cjs → vue-ui-strip-plot-BL_QIbRg.cjs} +1 -1
  137. package/dist/{vue-ui-strip-plot-Dt2b8qR2.js → vue-ui-strip-plot-DpEyBQVy.js} +11 -11
  138. package/dist/{vue-ui-table-DB16XLTw.cjs → vue-ui-table-Bo6YTb5z.cjs} +1 -1
  139. package/dist/{vue-ui-table-CUXgc62i.js → vue-ui-table-DOy0Vino.js} +1 -1
  140. package/dist/{vue-ui-table-heatmap-CCE1VZlG.js → vue-ui-table-heatmap-BBtNwXmc.js} +4 -4
  141. package/dist/{vue-ui-table-heatmap-Awh619At.cjs → vue-ui-table-heatmap-BEyXNXkX.cjs} +1 -1
  142. package/dist/{vue-ui-table-sparkline-Cmmla_Dx.js → vue-ui-table-sparkline-CgMtPPVk.js} +5 -5
  143. package/dist/{vue-ui-table-sparkline-DYQYdZbN.cjs → vue-ui-table-sparkline-CjOt6yUn.cjs} +1 -1
  144. package/dist/{vue-ui-thermometer-DOwFD-a9.cjs → vue-ui-thermometer-DDzJGu-3.cjs} +1 -1
  145. package/dist/{vue-ui-thermometer-C-9ZCOYE.js → vue-ui-thermometer-mxQsDV23.js} +7 -7
  146. package/dist/{vue-ui-timer-DhmCBz29.cjs → vue-ui-timer-BoHc9W-g.cjs} +1 -1
  147. package/dist/{vue-ui-timer-BJWfxtwA.js → vue-ui-timer-py5C5kre.js} +5 -5
  148. package/dist/{vue-ui-tiremarks-C_fjzZx1.cjs → vue-ui-tiremarks-DfzjVsQy.cjs} +1 -1
  149. package/dist/{vue-ui-tiremarks-DWb36mmN.js → vue-ui-tiremarks-cOumsgMp.js} +7 -7
  150. package/dist/vue-ui-treemap-BapuAvm_.cjs +1 -0
  151. package/dist/{vue-ui-treemap-BvQ-fZ2Q.js → vue-ui-treemap-D52gL3aO.js} +185 -185
  152. package/dist/{vue-ui-vertical-bar-Bx-Hgjrl.js → vue-ui-vertical-bar-B7xGhcol.js} +12 -12
  153. package/dist/{vue-ui-vertical-bar-BX82g5XY.cjs → vue-ui-vertical-bar-tUOVTrhe.cjs} +1 -1
  154. package/dist/{vue-ui-waffle-6bPlupZ9.cjs → vue-ui-waffle-D_eTTi3G.cjs} +1 -1
  155. package/dist/{vue-ui-waffle-XBYHZddH.js → vue-ui-waffle-Dl3103a6.js} +12 -12
  156. package/dist/{vue-ui-wheel-BAGyz9kV.cjs → vue-ui-wheel-BF-ixbP0.cjs} +1 -1
  157. package/dist/{vue-ui-wheel-B3opMdjn.js → vue-ui-wheel-j5qr7c2B.js} +7 -7
  158. package/dist/vue-ui-word-cloud-CDCHlEtX.js +628 -0
  159. package/dist/vue-ui-word-cloud-DzhX3V-T.cjs +1 -0
  160. package/dist/{vue-ui-xy-DCMV8GPA.js → vue-ui-xy-Cqd9LwBJ.js} +18 -18
  161. package/dist/vue-ui-xy-DXp678aj.cjs +3 -0
  162. package/dist/{vue-ui-xy-canvas-DKhymJYh.cjs → vue-ui-xy-canvas-DfYwxC06.cjs} +2 -2
  163. package/dist/{vue-ui-xy-canvas-DDf9P1hu.js → vue-ui-xy-canvas-byW5VmrH.js} +16 -16
  164. package/package.json +2 -3
  165. package/dist/DataTable-DtXoZKgy.cjs +0 -1
  166. package/dist/PenAndPaper-Btnlb4RH.cjs +0 -1
  167. package/dist/Slicer-BGrOB5Ac.cjs +0 -1
  168. package/dist/img-BIeSHu0f.js +0 -15
  169. package/dist/img-D6uvziU0.cjs +0 -1
  170. package/dist/index-BVYLM95-.cjs +0 -9
  171. package/dist/pdf-BpXLKlRx.cjs +0 -1
  172. package/dist/pdf-H8Iw_Wax.js +0 -44
  173. package/dist/usePanZoom-BI9ALAYy.cjs +0 -1
  174. package/dist/usePanZoom-D76xCBni.js +0 -97
  175. package/dist/usePrinter-CkJDEgjQ.cjs +0 -1
  176. package/dist/vue-data-ui-CgyB5G6z.cjs +0 -9
  177. package/dist/vue-ui-annotator-DVCxXtI-.cjs +0 -371
  178. package/dist/vue-ui-cursor-BjYOyMry.cjs +0 -1
  179. package/dist/vue-ui-dashboard-zYOnUnUa.cjs +0 -1
  180. package/dist/vue-ui-molecule-mDLCkrh8.cjs +0 -1
  181. package/dist/vue-ui-screenshot-BLvYddQy.cjs +0 -3
  182. package/dist/vue-ui-screenshot-CAciP-qg.js +0 -161
  183. package/dist/vue-ui-treemap-ksooFSp3.cjs +0 -1
  184. package/dist/vue-ui-word-cloud-1Lsf7r8k.cjs +0 -1
  185. package/dist/vue-ui-word-cloud-DJGCUigw.js +0 -571
  186. package/dist/vue-ui-xy-aSB6TWYQ.cjs +0 -3
@@ -1,7 +1,7 @@
1
- import k from "./html2canvas.esm-DgdJBc_o.js";
2
- import { E as p } from "./jspdf.es.min-t_OLULUR.js";
3
- import { z as v, A, u as w, B as M } from "./index-BdAppyf2.js";
4
- import { createElementBlock as d, openBlock as n, createElementVNode as r, normalizeStyle as c, toDisplayString as u, createCommentVNode as a, normalizeClass as y, createStaticVNode as F, withDirectives as N, vModelCheckbox as C, vModelText as x, renderSlot as O, Fragment as L, renderList as G } from "vue";
1
+ import { z as k, A as p, u as v, B as w } from "./index-DYjLUPYr.js";
2
+ import { d as A } from "./dom-to-png-DFDQ3B5I.js";
3
+ import { E as M } from "./jspdf.es.min-t_OLULUR.js";
4
+ import { createElementBlock as d, openBlock as n, createElementVNode as r, normalizeStyle as c, toDisplayString as u, createCommentVNode as a, normalizeClass as y, createStaticVNode as F, withDirectives as N, vModelCheckbox as g, vModelText as C, renderSlot as O, Fragment as L, renderList as G } from "vue";
5
5
  import { _ } from "./_plugin-vue_export-helper-CHgC5LLL.js";
6
6
  const m = {
7
7
  props: {
@@ -95,7 +95,7 @@ const m = {
95
95
  textAlign: "start",
96
96
  textFont: 20,
97
97
  transparency: 100,
98
- transparencyCodes: M
98
+ transparencyCodes: w
99
99
  };
100
100
  },
101
101
  watch: {
@@ -107,7 +107,7 @@ const m = {
107
107
  },
108
108
  computed: {
109
109
  FINAL_CONFIG() {
110
- const t = w().vue_ui_annotator;
110
+ const t = v().vue_ui_annotator;
111
111
  if (!Object.keys(this.config || {}).length)
112
112
  return t;
113
113
  const i = this.treeShake({
@@ -300,8 +300,8 @@ const m = {
300
300
  });
301
301
  },
302
302
  methods: {
303
- treeShake: A,
304
- convertConfigColors: v,
303
+ treeShake: p,
304
+ convertConfigColors: k,
305
305
  bringShapeTo(t) {
306
306
  const i = this.shapes.find(
307
307
  (o) => o.id === this.lastSelectedShape.id
@@ -475,18 +475,18 @@ const m = {
475
475
  `;
476
476
  case t.type === "text":
477
477
  const h = Array.from(document.getElementsByTagName("text")).find(
478
- (I) => I.id === t.id
478
+ (b) => b.id === t.id
479
479
  );
480
480
  if (!h)
481
481
  return;
482
- const { x: s, y: e, width: l, height: b } = h.getBBox();
482
+ const { x: s, y: e, width: l, height: I } = h.getBBox();
483
483
  return `
484
484
  <rect
485
485
  id="${t.id}"
486
486
  style="stroke-dasharray: 10; display:${this.hoveredShapeId && this.hoveredShapeId === t.id ? "initial" : "none"}"
487
487
  x="${s - 20}"
488
488
  y="${e - 20}"
489
- height="${b + 40}"
489
+ height="${I + 40}"
490
490
  width="${l + 40}"
491
491
  fill="transparent"
492
492
  stroke="grey"
@@ -661,15 +661,15 @@ const m = {
661
661
  `;
662
662
  break;
663
663
  case o.type === "text":
664
- const l = o.textContent.split("‎"), b = [];
665
- for (let I = 0; I < l.length; I += 1)
666
- b.push(`
667
- ${o.isBulletTextMode ? `<tspan x="${o.x - o.fontSize}" y="${o.y + o.fontSize * I}" id="${o.id}" font-size="${o.fontSize / 2}">⬤</tspan>` : ""}
668
- <tspan id="${o.id}" x="${o.x}" y="${o.y + o.fontSize * I}">
669
- ${l[I]}
664
+ const l = o.textContent.split("‎"), I = [];
665
+ for (let b = 0; b < l.length; b += 1)
666
+ I.push(`
667
+ ${o.isBulletTextMode ? `<tspan x="${o.x - o.fontSize}" y="${o.y + o.fontSize * b}" id="${o.id}" font-size="${o.fontSize / 2}">⬤</tspan>` : ""}
668
+ <tspan id="${o.id}" x="${o.x}" y="${o.y + o.fontSize * b}">
669
+ ${l[b]}
670
670
  </tspan>`);
671
671
  t.content += `
672
- ${this.computeTextElement(o, b, o.isBulletTextMode)}
672
+ ${this.computeTextElement(o, I, o.isBulletTextMode)}
673
673
  `;
674
674
  break;
675
675
  }
@@ -742,11 +742,11 @@ const m = {
742
742
  break;
743
743
  case i.type === "text":
744
744
  const e = i.textContent.split("‎"), l = [];
745
- for (let b = 0; b < e.length; b += 1)
745
+ for (let I = 0; I < e.length; I += 1)
746
746
  l.push(`
747
- ${i.isBulletTextMode ? `<tspan x="${this.copy(this.pointerPosition.x) + i.diffX - i.fontSize - t.rectWidth / 2}" y="${this.copy(this.pointerPosition.y) + i.diffY + i.fontSize * b - t.rectHeight / 2}" id="${i.id}" font-size="${i.fontSize / 2}">⬤</tspan>` : ""}
748
- <tspan id="${i.id}" x="${this.copy(this.pointerPosition.x) + i.diffX - t.rectWidth / 2}" y="${this.copy(this.pointerPosition.y) + i.diffY + i.fontSize * b - t.rectHeight / 2}">
749
- ${e[b]}
747
+ ${i.isBulletTextMode ? `<tspan x="${this.copy(this.pointerPosition.x) + i.diffX - i.fontSize - t.rectWidth / 2}" y="${this.copy(this.pointerPosition.y) + i.diffY + i.fontSize * I - t.rectHeight / 2}" id="${i.id}" font-size="${i.fontSize / 2}">⬤</tspan>` : ""}
748
+ <tspan id="${i.id}" x="${this.copy(this.pointerPosition.x) + i.diffX - t.rectWidth / 2}" y="${this.copy(this.pointerPosition.y) + i.diffY + i.fontSize * I - t.rectHeight / 2}">
749
+ ${e[I]}
750
750
  </tspan>`);
751
751
  t.content += `
752
752
  ${this.computeTextElement(i, l, i.isBulletTextMode)}
@@ -911,7 +911,7 @@ const m = {
911
911
  };
912
912
  let i;
913
913
  this.shapes.length > 0 && this.currentTarget && (i = [...this.shapes].find(
914
- (b) => b.id === this.currentTarget.id
914
+ (I) => I.id === this.currentTarget.id
915
915
  ));
916
916
  let o, h, s;
917
917
  i && (o = i.x - this.currentPointer.end.x, h = i.y - this.currentPointer.end.y, s = Math.sqrt(o * o + h * h));
@@ -922,8 +922,8 @@ const m = {
922
922
  this.shapes.at(-1).endX = this.currentPointer.end.x, this.shapes.at(-1).endY = this.currentPointer.end.y;
923
923
  break;
924
924
  case this.activeShape === "circle":
925
- const b = 20;
926
- this.shapes.at(-1).circleRadius = this.isDrawingNewShape ? this.copy(e - l) + b : s + b;
925
+ const I = 20;
926
+ this.shapes.at(-1).circleRadius = this.isDrawingNewShape ? this.copy(e - l) + I : s + I;
927
927
  break;
928
928
  case this.activeShape === "line":
929
929
  this.shapes.at(
@@ -931,8 +931,8 @@ const m = {
931
931
  ).path += ` ${this.pointerPosition.x} ${this.pointerPosition.y} `;
932
932
  break;
933
933
  case ["rect", "group"].includes(this.activeShape):
934
- const I = 20;
935
- this.shapes.at(-1).rectWidth = this.copy(this.currentPointer.end.x - this.shapes.at(-1).x) > 0 ? this.copy(this.currentPointer.end.x - this.shapes.at(-1).x) : I, this.shapes.at(-1).rectHeight = this.copy(this.currentPointer.end.y - this.shapes.at(-1).y) > 0 ? this.copy(this.currentPointer.end.y - this.shapes.at(-1).y) : I;
934
+ const b = 20;
935
+ this.shapes.at(-1).rectWidth = this.copy(this.currentPointer.end.x - this.shapes.at(-1).x) > 0 ? this.copy(this.currentPointer.end.x - this.shapes.at(-1).x) : b, this.shapes.at(-1).rectHeight = this.copy(this.currentPointer.end.y - this.shapes.at(-1).y) > 0 ? this.copy(this.currentPointer.end.y - this.shapes.at(-1).y) : b;
936
936
  }
937
937
  });
938
938
  },
@@ -1058,37 +1058,36 @@ const m = {
1058
1058
  this.shapes = this.shapes.filter((o) => o.id !== t), this.shapes.push(i), this.pointerDownId === -1 && t && this.move(i);
1059
1059
  },
1060
1060
  print() {
1061
- this.isPrinting = !0, this.isDeleteMode = !1, this.isMoveMode = !1, this.isResizeMode = !1, this.isTextMode = !1, this.isWriting = !1, this.isSelectMode = !1, this.activeShape = void 0, this.showCaret = !1, this.$nextTick(() => {
1062
- const t = this.$refs.drawSvgContainer, i = {
1063
- height: 851.89,
1064
- width: 595.28
1065
- };
1066
- this.walkTheDOM(t, (o) => {
1067
- o && o.nodeType === 1 && (o.setAttribute("font-family", "Helvetica"), o.style.fontFamily = "Helvetica", o.replaceWith(o));
1068
- }), k(t).then((o) => {
1069
- const h = o.width, s = o.height, e = h / i.width * i.height;
1070
- let l = s, b = 0;
1071
- const I = i.width, g = 582.28 / h * s, S = o.toDataURL("image/png", 1), f = new p("", "pt", "a4");
1072
- if (l < e)
1073
- f.addImage(S, "PNG", 0, 0, I, g, "", "FAST");
1074
- else
1075
- for (; l > 0; )
1076
- f.addImage(
1077
- S,
1078
- "PNG",
1079
- 0,
1080
- b,
1081
- I,
1082
- g,
1083
- "",
1084
- "FAST"
1085
- ), l -= e, b -= i.height - 24, l > 0 && f.addPage();
1086
- f.save(`${(/* @__PURE__ */ new Date()).toLocaleDateString()}_annotations.pdf`);
1087
- }).finally(() => {
1088
- this.isPrinting = !1, this.walkTheDOM(t, (o) => {
1089
- o && o.nodeType === 1 && (o.setAttribute("font-family", this.FINAL_CONFIG.style.fontFamily), o.style.fontFamily = this.FINAL_CONFIG.style.fontFamily, o.replaceWith(o));
1090
- });
1061
+ this.isPrinting = !0, this.isDeleteMode = !1, this.isMoveMode = !1, this.isResizeMode = !1, this.isTextMode = !1, this.isWriting = !1, this.isSelectMode = !1, this.activeShape = void 0, this.showCaret = !1, this.$nextTick(async () => {
1062
+ const t = this.$refs.drawSvgContainer;
1063
+ this.walkTheDOM(t, (i) => {
1064
+ i && i.nodeType === 1 && (i.setAttribute("font-family", "Helvetica"), i.style.fontFamily = "Helvetica");
1091
1065
  });
1066
+ try {
1067
+ const i = await A({
1068
+ container: t,
1069
+ scale: 2
1070
+ }), o = new Image();
1071
+ o.src = i, o.onload = () => {
1072
+ const h = {
1073
+ width: 595.28,
1074
+ height: 841.89
1075
+ }, s = o.width, e = o.height, l = s / h.width * h.height, I = h.width, b = I / s * e, f = new M("", "pt", "a4");
1076
+ let S = 0, x = e;
1077
+ if (x < l)
1078
+ f.addImage(i, "PNG", 0, 0, I, b, "", "FAST");
1079
+ else
1080
+ for (; x > 0; )
1081
+ f.addImage(i, "PNG", 0, S, I, b, "", "FAST"), x -= l, S -= h.height, x > 0 && f.addPage();
1082
+ f.save(`${(/* @__PURE__ */ new Date()).toLocaleDateString()}_annotations.pdf`);
1083
+ };
1084
+ } catch (i) {
1085
+ console.error("Error generating image:", i);
1086
+ } finally {
1087
+ this.isPrinting = !1, this.walkTheDOM(t, (i) => {
1088
+ i && i.nodeType === 1 && (i.setAttribute("font-family", this.FINAL_CONFIG.style.fontFamily), i.style.fontFamily = this.FINAL_CONFIG.style.fontFamily);
1089
+ });
1090
+ }
1092
1091
  });
1093
1092
  },
1094
1093
  resetDraw() {
@@ -1151,7 +1150,7 @@ const m = {
1151
1150
  });
1152
1151
  }
1153
1152
  }
1154
- }, T = { class: "vue-ui-annotator" }, R = { "data-html2canvas-ignore": "" }, D = {
1153
+ }, T = { class: "vue-ui-annotator" }, R = { "data-dom-to-png-ignore": "" }, D = {
1155
1154
  class: "tool-selection",
1156
1155
  style: { "margin-top": "24px" }
1157
1156
  }, z = ["disabled"], H = ["disabled"], W = ["disabled"], P = ["disabled"], B = {
@@ -1192,14 +1191,14 @@ const m = {
1192
1191
  height: "24",
1193
1192
  width: "24",
1194
1193
  style: { "margin-bottom": "-5px", "margin-top": "-10px" }
1195
- }, bt = ["checked"], It = {
1194
+ }, It = ["checked"], bt = {
1196
1195
  style: { width: "80%" },
1197
1196
  viewBox: "0 0 24 24",
1198
1197
  fill: "currentColor"
1199
1198
  }, Ft = { key: 4 }, Nt = { style: { display: "flex", "flex-direction": "column", "align-items": "center", "justify-content": "center" } }, ft = {
1200
1199
  for: "textFont",
1201
1200
  style: { "font-size": "0.7em" }
1202
- }, xt = { key: 5 }, Ct = { key: 6 }, gt = ["disabled"], St = { key: 7 }, kt = ["disabled"], pt = { key: 8 }, vt = { key: 9 }, At = { key: 10 }, wt = { key: 11 }, Mt = {
1201
+ }, xt = { key: 5 }, Ct = { key: 6 }, gt = ["disabled"], St = { key: 7 }, kt = ["disabled"], pt = { key: 8 }, vt = { key: 9 }, wt = { key: 10 }, At = { key: 11 }, Mt = {
1203
1202
  style: { display: "flex", "flex-direction": "column", "align-items": "center", "justify-content": "center" },
1204
1203
  class: "tooltip"
1205
1204
  }, Ot = { style: { display: "flex", "flex-direction": "column", "align-items": "start", "justify-content": "center" } }, Lt = {
@@ -1237,7 +1236,7 @@ function Dt(t, i, o, h, s, e) {
1237
1236
  e.deleteEmptyTextElement(), s.isMoveMode = !s.isMoveMode, s.activeShape = void 0, s.isDeleteMode = !1, s.isDrawMode = !1, s.isResizeMode = !1, s.isSelectMode = !1, s.isTextMode = !1, s.isWriting = !1, s.showCaret = !1;
1238
1237
  })
1239
1238
  }, [
1240
- i[46] || (i[46] = F('<svg xmlns="http://www.w3.org/2000/svg" width="80%" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round" data-v-14ebd65f><path stroke="none" d="M0 0h24v24H0z" fill="none" data-v-14ebd65f></path><path d="M18 9l3 3l-3 3" data-v-14ebd65f></path><path d="M15 12h6" data-v-14ebd65f></path><path d="M6 9l-3 3l3 3" data-v-14ebd65f></path><path d="M3 12h6" data-v-14ebd65f></path><path d="M9 18l3 3l3 -3" data-v-14ebd65f></path><path d="M12 15v6" data-v-14ebd65f></path><path d="M15 6l-3 -3l-3 3" data-v-14ebd65f></path><path d="M12 3v6" data-v-14ebd65f></path></svg>', 1)),
1239
+ i[46] || (i[46] = F('<svg xmlns="http://www.w3.org/2000/svg" width="80%" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round" data-v-1756cea7><path stroke="none" d="M0 0h24v24H0z" fill="none" data-v-1756cea7></path><path d="M18 9l3 3l-3 3" data-v-1756cea7></path><path d="M15 12h6" data-v-1756cea7></path><path d="M6 9l-3 3l3 3" data-v-1756cea7></path><path d="M3 12h6" data-v-1756cea7></path><path d="M9 18l3 3l3 -3" data-v-1756cea7></path><path d="M12 15v6" data-v-1756cea7></path><path d="M15 6l-3 -3l-3 3" data-v-1756cea7></path><path d="M12 3v6" data-v-1756cea7></path></svg>', 1)),
1241
1240
  e.FINAL_CONFIG.style.showTooltips ? (n(), d("span", {
1242
1241
  key: 0,
1243
1242
  class: "tooltiptext",
@@ -1314,7 +1313,7 @@ function Dt(t, i, o, h, s, e) {
1314
1313
  e.deleteEmptyTextElement(), s.isDeleteMode = !s.isDeleteMode, s.isMoveMode = !1, s.isResizeMode = !1, s.isSelectMode = !1, s.isTextMode = !1, s.isWriting = !1, s.activeShape = void 0, s.showCaret = !1;
1315
1314
  })
1316
1315
  }, [
1317
- i[48] || (i[48] = F('<svg width="80%" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round" data-v-14ebd65f><path stroke="none" d="M0 0h24v24H0z" fill="none" data-v-14ebd65f></path><path d="M4 7l16 0" data-v-14ebd65f></path><path d="M10 11l0 6" data-v-14ebd65f></path><path d="M14 11l0 6" data-v-14ebd65f></path><path d="M5 7l1 12a2 2 0 0 0 2 2h8a2 2 0 0 0 2 -2l1 -12" data-v-14ebd65f></path><path d="M9 7v-3a1 1 0 0 1 1 -1h4a1 1 0 0 1 1 1v3" data-v-14ebd65f></path></svg>', 1)),
1316
+ i[48] || (i[48] = F('<svg width="80%" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round" data-v-1756cea7><path stroke="none" d="M0 0h24v24H0z" fill="none" data-v-1756cea7></path><path d="M4 7l16 0" data-v-1756cea7></path><path d="M10 11l0 6" data-v-1756cea7></path><path d="M14 11l0 6" data-v-1756cea7></path><path d="M5 7l1 12a2 2 0 0 0 2 2h8a2 2 0 0 0 2 -2l1 -12" data-v-1756cea7></path><path d="M9 7v-3a1 1 0 0 1 1 -1h4a1 1 0 0 1 1 1v3" data-v-1756cea7></path></svg>', 1)),
1318
1317
  e.FINAL_CONFIG.style.showTooltips ? (n(), d("span", {
1319
1318
  key: 0,
1320
1319
  class: "tooltiptext",
@@ -1519,7 +1518,7 @@ function Dt(t, i, o, h, s, e) {
1519
1518
  class: y({ "button-tool": !0, tooltip: !0 }),
1520
1519
  onClick: i[8] || (i[8] = (...l) => e.print && e.print(...l))
1521
1520
  }, [
1522
- i[54] || (i[54] = F('<svg width="80%" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round" data-v-14ebd65f><path stroke="none" d="M0 0h24v24H0z" fill="none" data-v-14ebd65f></path><path d="M17 17h2a2 2 0 0 0 2 -2v-4a2 2 0 0 0 -2 -2h-14a2 2 0 0 0 -2 2v4a2 2 0 0 0 2 2h2" data-v-14ebd65f></path><path d="M17 9v-4a2 2 0 0 0 -2 -2h-6a2 2 0 0 0 -2 2v4" data-v-14ebd65f></path><path d="M7 13m0 2a2 2 0 0 1 2 -2h6a2 2 0 0 1 2 2v4a2 2 0 0 1 -2 2h-6a2 2 0 0 1 -2 -2z" data-v-14ebd65f></path></svg>', 1)),
1521
+ i[54] || (i[54] = F('<svg width="80%" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round" data-v-1756cea7><path stroke="none" d="M0 0h24v24H0z" fill="none" data-v-1756cea7></path><path d="M17 17h2a2 2 0 0 0 2 -2v-4a2 2 0 0 0 -2 -2h-14a2 2 0 0 0 -2 2v4a2 2 0 0 0 2 2h2" data-v-1756cea7></path><path d="M17 9v-4a2 2 0 0 0 -2 -2h-6a2 2 0 0 0 -2 2v4" data-v-1756cea7></path><path d="M7 13m0 2a2 2 0 0 1 2 -2h6a2 2 0 0 1 2 2v4a2 2 0 0 1 -2 2h-6a2 2 0 0 1 -2 -2z" data-v-1756cea7></path></svg>', 1)),
1523
1522
  e.FINAL_CONFIG.style.showTooltips ? (n(), d("span", {
1524
1523
  key: 0,
1525
1524
  class: "tooltiptext",
@@ -1543,7 +1542,7 @@ function Dt(t, i, o, h, s, e) {
1543
1542
  class: y({ "button-tool": !0, tooltip: !0 }),
1544
1543
  onClick: i[9] || (i[9] = (...l) => e.save && e.save(...l))
1545
1544
  }, [
1546
- i[55] || (i[55] = F('<svg width="100%" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round" data-v-14ebd65f><path stroke="none" d="M0 0h24v24H0z" fill="none" data-v-14ebd65f></path><path d="M6 4h10l4 4v10a2 2 0 0 1 -2 2h-12a2 2 0 0 1 -2 -2v-12a2 2 0 0 1 2 -2" data-v-14ebd65f></path><path d="M12 14m-2 0a2 2 0 1 0 4 0a2 2 0 1 0 -4 0" data-v-14ebd65f></path><path d="M14 4l0 4l-6 0l0 -4" data-v-14ebd65f></path></svg>', 1)),
1545
+ i[55] || (i[55] = F('<svg width="100%" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round" data-v-1756cea7><path stroke="none" d="M0 0h24v24H0z" fill="none" data-v-1756cea7></path><path d="M6 4h10l4 4v10a2 2 0 0 1 -2 2h-12a2 2 0 0 1 -2 -2v-12a2 2 0 0 1 2 -2" data-v-1756cea7></path><path d="M12 14m-2 0a2 2 0 1 0 4 0a2 2 0 1 0 -4 0" data-v-1756cea7></path><path d="M14 4l0 4l-6 0l0 -4" data-v-1756cea7></path></svg>', 1)),
1547
1546
  e.FINAL_CONFIG.style.showTooltips ? (n(), d("span", {
1548
1547
  key: 0,
1549
1548
  class: "tooltiptext",
@@ -1603,7 +1602,7 @@ function Dt(t, i, o, h, s, e) {
1603
1602
  onChange: i[12] || (i[12] = (...l) => e.setFillOfSelectedCircle && e.setFillOfSelectedCircle(...l)),
1604
1603
  checked: s.options.circle.filled
1605
1604
  }, null, 40, $), [
1606
- [C, s.options.circle.filled]
1605
+ [g, s.options.circle.filled]
1607
1606
  ])
1608
1607
  ])) : a("", !0),
1609
1608
  r("button", {
@@ -1654,7 +1653,7 @@ function Dt(t, i, o, h, s, e) {
1654
1653
  onChange: i[15] || (i[15] = (...l) => e.setFillOfSelectedRect && e.setFillOfSelectedRect(...l)),
1655
1654
  checked: s.options.rect.filled
1656
1655
  }, null, 40, ot), [
1657
- [C, s.options.rect.filled]
1656
+ [g, s.options.rect.filled]
1658
1657
  ])
1659
1658
  ])) : a("", !0),
1660
1659
  r("button", {
@@ -1749,7 +1748,7 @@ function Dt(t, i, o, h, s, e) {
1749
1748
  onInput: i[19] || (i[19] = (...l) => e.setStrokeWidthOfSelectedShape && e.setStrokeWidthOfSelectedShape(...l)),
1750
1749
  style: { padding: "0 4px", width: "40px", border: "1px solid #dadada", "border-radius": "3px" }
1751
1750
  }, null, 544), [
1752
- [x, s.strokeSize]
1751
+ [C, s.strokeSize]
1753
1752
  ])
1754
1753
  ])
1755
1754
  ])) : a("", !0),
@@ -1774,8 +1773,8 @@ function Dt(t, i, o, h, s, e) {
1774
1773
  "onUpdate:modelValue": i[20] || (i[20] = (l) => s.isDash = l),
1775
1774
  onChange: i[21] || (i[21] = (...l) => e.setSelectedShapeToDash && e.setSelectedShapeToDash(...l)),
1776
1775
  checked: s.isDash
1777
- }, null, 40, bt), [
1778
- [C, s.isDash]
1776
+ }, null, 40, It), [
1777
+ [g, s.isDash]
1779
1778
  ])
1780
1779
  ])
1781
1780
  ])) : a("", !0),
@@ -1795,7 +1794,7 @@ function Dt(t, i, o, h, s, e) {
1795
1794
  e.deleteEmptyTextElement(), s.isTextMode = !s.isTextMode, s.isDeleteMode = !1, s.isMoveMode = !1, s.isResizeMode = !1, s.isSelectMode = !1, s.isDrawMode = !1, s.activeShape = void 0;
1796
1795
  })
1797
1796
  }, [
1798
- (n(), d("svg", It, i[58] || (i[58] = [
1797
+ (n(), d("svg", bt, i[58] || (i[58] = [
1799
1798
  r("path", { d: "M18.5,4L19.66,8.35L18.7,8.61C18.25,7.74 17.79,6.87 17.26,6.43C16.73,6 16.11,6 15.5,6H13V16.5C13,17 13,17.5 13.33,17.75C13.67,18 14.33,18 15,18V19H9V18C9.67,18 10.33,18 10.67,17.75C11,17.5 11,17 11,16.5V6H8.5C7.89,6 7.27,6 6.74,6.43C6.21,6.87 5.75,7.74 5.3,8.61L4.34,8.35L5.5,4H18.5Z" }, null, -1)
1800
1799
  ]))),
1801
1800
  e.FINAL_CONFIG.style.showTooltips ? (n(), d("span", {
@@ -1820,7 +1819,7 @@ function Dt(t, i, o, h, s, e) {
1820
1819
  onInput: i[24] || (i[24] = (...l) => e.setCurrentStyleOfSelectedText && e.setCurrentStyleOfSelectedText(...l)),
1821
1820
  style: { padding: "0 4px", width: "40px", border: "1px solid #dadada", "border-radius": "3px" }
1822
1821
  }, null, 544), [
1823
- [x, s.textFont]
1822
+ [C, s.textFont]
1824
1823
  ])
1825
1824
  ])
1826
1825
  ])) : a("", !0),
@@ -1841,7 +1840,7 @@ function Dt(t, i, o, h, s, e) {
1841
1840
  s.isDeleteMode = !1, s.isMoveMode = !1, s.isResizeMode = !1, s.isDrawMode = !1, s.isSelectMode = !1, s.activeShape = void 0, s.textAlign = "start", e.setSelectedTextAlignTo("start");
1842
1841
  })
1843
1842
  }, [
1844
- i[59] || (i[59] = F('<svg width="80%" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round" data-v-14ebd65f><path stroke="none" d="M0 0h24v24H0z" fill="none" data-v-14ebd65f></path><path d="M4 6l16 0" data-v-14ebd65f></path><path d="M4 12l10 0" data-v-14ebd65f></path><path d="M4 18l14 0" data-v-14ebd65f></path></svg>', 1)),
1843
+ i[59] || (i[59] = F('<svg width="80%" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round" data-v-1756cea7><path stroke="none" d="M0 0h24v24H0z" fill="none" data-v-1756cea7></path><path d="M4 6l16 0" data-v-1756cea7></path><path d="M4 12l10 0" data-v-1756cea7></path><path d="M4 18l14 0" data-v-1756cea7></path></svg>', 1)),
1845
1844
  e.FINAL_CONFIG.style.showTooltips ? (n(), d("span", {
1846
1845
  key: 0,
1847
1846
  class: "tooltiptext",
@@ -1873,7 +1872,7 @@ function Dt(t, i, o, h, s, e) {
1873
1872
  s.isDeleteMode = !1, s.isMoveMode = !1, s.isResizeMode = !1, s.isDrawMode = !1, s.isSelectMode = !1, s.activeShape = void 0, s.textAlign = "middle", e.setSelectedTextAlignTo("middle");
1874
1873
  })
1875
1874
  }, [
1876
- i[60] || (i[60] = F('<svg width="80%" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round" data-v-14ebd65f><path stroke="none" d="M0 0h24v24H0z" fill="none" data-v-14ebd65f></path><path d="M4 6l16 0" data-v-14ebd65f></path><path d="M8 12l8 0" data-v-14ebd65f></path><path d="M6 18l12 0" data-v-14ebd65f></path></svg>', 1)),
1875
+ i[60] || (i[60] = F('<svg width="80%" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round" data-v-1756cea7><path stroke="none" d="M0 0h24v24H0z" fill="none" data-v-1756cea7></path><path d="M4 6l16 0" data-v-1756cea7></path><path d="M8 12l8 0" data-v-1756cea7></path><path d="M6 18l12 0" data-v-1756cea7></path></svg>', 1)),
1877
1876
  e.FINAL_CONFIG.style.showTooltips ? (n(), d("span", {
1878
1877
  key: 0,
1879
1878
  class: "tooltiptext",
@@ -1905,7 +1904,7 @@ function Dt(t, i, o, h, s, e) {
1905
1904
  s.isDeleteMode = !1, s.isMoveMode = !1, s.isResizeMode = !1, s.isDrawMode = !1, s.isSelectMode = !1, s.activeShape = void 0, s.textAlign = "end", e.setSelectedTextAlignTo("end");
1906
1905
  })
1907
1906
  }, [
1908
- i[61] || (i[61] = F('<svg width="80%" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round" data-v-14ebd65f><path stroke="none" d="M0 0h24v24H0z" fill="none" data-v-14ebd65f></path><path d="M4 6l16 0" data-v-14ebd65f></path><path d="M10 12l10 0" data-v-14ebd65f></path><path d="M6 18l14 0" data-v-14ebd65f></path></svg>', 1)),
1907
+ i[61] || (i[61] = F('<svg width="80%" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round" data-v-1756cea7><path stroke="none" d="M0 0h24v24H0z" fill="none" data-v-1756cea7></path><path d="M4 6l16 0" data-v-1756cea7></path><path d="M10 12l10 0" data-v-1756cea7></path><path d="M6 18l14 0" data-v-1756cea7></path></svg>', 1)),
1909
1908
  e.FINAL_CONFIG.style.showTooltips ? (n(), d("span", {
1910
1909
  key: 0,
1911
1910
  class: "tooltiptext",
@@ -1936,7 +1935,7 @@ function Dt(t, i, o, h, s, e) {
1936
1935
  s.isDeleteMode = !1, s.isMoveMode = !1, s.isResizeMode = !1, s.isDrawMode = !1, s.isSelectMode = !1, s.activeShape = void 0, s.isBulletTextMode = !s.isBulletTextMode, s.textAlign = "start", e.setSelectedTextAlignTo("start"), e.setCurrentStyleOfSelectedText();
1937
1936
  })
1938
1937
  }, [
1939
- i[62] || (i[62] = F('<svg width="100%" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round" data-v-14ebd65f><path stroke="none" d="M0 0h24v24H0z" fill="none" data-v-14ebd65f></path><path d="M9 6l11 0" data-v-14ebd65f></path><path d="M9 12l11 0" data-v-14ebd65f></path><path d="M9 18l11 0" data-v-14ebd65f></path><path d="M5 6l0 .01" data-v-14ebd65f></path><path d="M5 12l0 .01" data-v-14ebd65f></path><path d="M5 18l0 .01" data-v-14ebd65f></path></svg>', 1)),
1938
+ i[62] || (i[62] = F('<svg width="100%" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round" data-v-1756cea7><path stroke="none" d="M0 0h24v24H0z" fill="none" data-v-1756cea7></path><path d="M9 6l11 0" data-v-1756cea7></path><path d="M9 12l11 0" data-v-1756cea7></path><path d="M9 18l11 0" data-v-1756cea7></path><path d="M5 6l0 .01" data-v-1756cea7></path><path d="M5 12l0 .01" data-v-1756cea7></path><path d="M5 18l0 .01" data-v-1756cea7></path></svg>', 1)),
1940
1939
  e.FINAL_CONFIG.style.showTooltips ? (n(), d("span", {
1941
1940
  key: 0,
1942
1941
  class: "tooltiptext",
@@ -1997,7 +1996,7 @@ function Dt(t, i, o, h, s, e) {
1997
1996
  }, u(e.FINAL_CONFIG.translations.tooltipShapeTextBold), 5)) : a("", !0)
1998
1997
  ], 6)
1999
1998
  ])) : a("", !0),
2000
- s.isTextMode ? (n(), d("div", At, [
1999
+ s.isTextMode ? (n(), d("div", wt, [
2001
2000
  r("button", {
2002
2001
  class: y({
2003
2002
  "button-tool": !0,
@@ -2014,7 +2013,7 @@ function Dt(t, i, o, h, s, e) {
2014
2013
  s.isDeleteMode = !1, s.isMoveMode = !1, s.isResizeMode = !1, s.isDrawMode = !1, s.isSelectMode = !1, s.activeShape = void 0, s.isItalic = !s.isItalic, e.setCurrentStyleOfSelectedText();
2015
2014
  })
2016
2015
  }, [
2017
- i[64] || (i[64] = F('<svg width="100%" height="44" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round" data-v-14ebd65f><path stroke="none" d="M0 0h24v24H0z" fill="none" data-v-14ebd65f></path><path d="M11 5l6 0" data-v-14ebd65f></path><path d="M7 19l6 0" data-v-14ebd65f></path><path d="M14 5l-4 14" data-v-14ebd65f></path></svg>', 1)),
2016
+ i[64] || (i[64] = F('<svg width="100%" height="44" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round" data-v-1756cea7><path stroke="none" d="M0 0h24v24H0z" fill="none" data-v-1756cea7></path><path d="M11 5l6 0" data-v-1756cea7></path><path d="M7 19l6 0" data-v-1756cea7></path><path d="M14 5l-4 14" data-v-1756cea7></path></svg>', 1)),
2018
2017
  e.FINAL_CONFIG.style.showTooltips ? (n(), d("span", {
2019
2018
  key: 0,
2020
2019
  class: "tooltiptext",
@@ -2028,7 +2027,7 @@ function Dt(t, i, o, h, s, e) {
2028
2027
  }, u(e.FINAL_CONFIG.translations.tooltipShapeTextItalic), 5)) : a("", !0)
2029
2028
  ], 6)
2030
2029
  ])) : a("", !0),
2031
- s.isTextMode ? (n(), d("div", wt, [
2030
+ s.isTextMode ? (n(), d("div", At, [
2032
2031
  r("button", {
2033
2032
  class: y({
2034
2033
  "button-tool": !0,
@@ -2084,7 +2083,7 @@ function Dt(t, i, o, h, s, e) {
2084
2083
  onInput: i[33] || (i[33] = (...l) => e.setColorOfSelectedShape && e.setColorOfSelectedShape(...l)),
2085
2084
  style: c(`height: 30px; width: 30px; border-radius: ${e.FINAL_CONFIG.style.buttons.borderRadius}px; cursor: pointer`)
2086
2085
  }, null, 36), [
2087
- [x, s.selectedColor]
2086
+ [C, s.selectedColor]
2088
2087
  ]),
2089
2088
  e.FINAL_CONFIG.style.showTooltips ? (n(), d("span", {
2090
2089
  key: 0,
@@ -2110,7 +2109,7 @@ function Dt(t, i, o, h, s, e) {
2110
2109
  max: 100,
2111
2110
  style: { width: "100px" }
2112
2111
  }, null, 544), [
2113
- [x, s.transparency]
2112
+ [C, s.transparency]
2114
2113
  ])
2115
2114
  ])
2116
2115
  ])
@@ -2142,12 +2141,12 @@ function Dt(t, i, o, h, s, e) {
2142
2141
  onPointerover: i[44] || (i[44] = (l) => e.allowEditAndHoverShapes(l)),
2143
2142
  onClick: i[45] || (i[45] = (l) => e.clickSvg(l))
2144
2143
  }, [
2145
- (n(!0), d(L, null, G(e.userShapes, (l, b) => (n(), d("g", {
2146
- key: `shape_${b}`,
2144
+ (n(!0), d(L, null, G(e.userShapes, (l, I) => (n(), d("g", {
2145
+ key: `shape_${I}`,
2147
2146
  id: l.id,
2148
2147
  innerHTML: l,
2149
- onClick: i[37] || (i[37] = (I) => {
2150
- e.clickShape(I), s.isMoveMode = !1;
2148
+ onClick: i[37] || (i[37] = (b) => {
2149
+ e.clickShape(b), s.isMoveMode = !1;
2151
2150
  })
2152
2151
  }, null, 8, mt))), 128))
2153
2152
  ], 46, _t)) : a("", !0),
@@ -2171,7 +2170,7 @@ function Dt(t, i, o, h, s, e) {
2171
2170
  ], 512)
2172
2171
  ]);
2173
2172
  }
2174
- const Vt = /* @__PURE__ */ _(m, [["render", Dt], ["__scopeId", "data-v-14ebd65f"]]);
2173
+ const Vt = /* @__PURE__ */ _(m, [["render", Dt], ["__scopeId", "data-v-1756cea7"]]);
2175
2174
  export {
2176
2175
  Vt as default
2177
2176
  };