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
@@ -211,6 +211,14 @@ declare module "vue-data-ui" {
211
211
  table?: string;
212
212
  tooltip?: string;
213
213
  };
214
+ // html2canvas options
215
+ print?: {
216
+ allowTaint?: boolean;
217
+ backgroundColor?: string;
218
+ useCORS?: boolean;
219
+ onclone?: null | ((doc: Document) => void);
220
+ scale?: number;
221
+ };
214
222
  };
215
223
 
216
224
  export type ChartTableCell = {
@@ -735,6 +743,7 @@ declare module "vue-data-ui" {
735
743
  name: string;
736
744
  details?: string;
737
745
  nodes?: VueUiMoleculeDatasetNode[];
746
+ color?: string;
738
747
  };
739
748
 
740
749
  export type VueUiMoleculeConfig = {
@@ -5115,6 +5124,13 @@ declare module "vue-data-ui" {
5115
5124
  fullscreen?: string;
5116
5125
  annotator?: string;
5117
5126
  };
5127
+ userOptionsPrint?: {
5128
+ allowTaint?: boolean;
5129
+ backgroundColor?: string;
5130
+ useCORS?: boolean;
5131
+ onclone?: null | ((doc: Document) => void),
5132
+ scale?: number;
5133
+ };
5118
5134
  showUserOptionsOnChartHover?: boolean;
5119
5135
  keepUserOptionsStateOnChartLeave?: boolean;
5120
5136
  };
@@ -211,6 +211,14 @@ declare module "vue-data-ui" {
211
211
  table?: string;
212
212
  tooltip?: string;
213
213
  };
214
+ // html2canvas options
215
+ print?: {
216
+ allowTaint?: boolean;
217
+ backgroundColor?: string;
218
+ useCORS?: boolean;
219
+ onclone?: null | ((doc: Document) => void);
220
+ scale?: number;
221
+ };
214
222
  };
215
223
 
216
224
  export type ChartTableCell = {
@@ -735,6 +743,7 @@ declare module "vue-data-ui" {
735
743
  name: string;
736
744
  details?: string;
737
745
  nodes?: VueUiMoleculeDatasetNode[];
746
+ color?: string;
738
747
  };
739
748
 
740
749
  export type VueUiMoleculeConfig = {
@@ -5115,6 +5124,13 @@ declare module "vue-data-ui" {
5115
5124
  fullscreen?: string;
5116
5125
  annotator?: string;
5117
5126
  };
5127
+ userOptionsPrint?: {
5128
+ allowTaint?: boolean;
5129
+ backgroundColor?: string;
5130
+ useCORS?: boolean;
5131
+ onclone?: null | ((doc: Document) => void),
5132
+ scale?: number;
5133
+ };
5118
5134
  showUserOptionsOnChartHover?: boolean;
5119
5135
  keepUserOptionsStateOnChartLeave?: boolean;
5120
5136
  };
@@ -1 +1 @@
1
- "use strict";const r=require("./index-CBRI5uwl.cjs");function o({defaultConfig:e,userConfig:t}){if(!Object.keys(t||{}).length)return e;const n=r.treeShake({defaultConfig:e,userConfig:t});return r.convertConfigColors(n)}exports.useNestedProp=o;
1
+ "use strict";const r=require("./index-Crz6y51C.cjs");function o({defaultConfig:e,userConfig:t}){if(!Object.keys(t||{}).length)return e;const n=r.treeShake({defaultConfig:e,userConfig:t});return r.convertConfigColors(n)}exports.useNestedProp=o;
@@ -1,4 +1,4 @@
1
- import { A as o, z as n } from "./index-BaaDnc4F.js";
1
+ import { A as o, z as n } from "./index-DWsIpwzs.js";
2
2
  function c({ defaultConfig: e, userConfig: r }) {
3
3
  if (!Object.keys(r || {}).length)
4
4
  return e;
@@ -1,10 +1,10 @@
1
- import { ref as d, computed as G, onMounted as J, onBeforeUnmount as Q, withDirectives as Y, createElementBlock as i, openBlock as t, normalizeStyle as g, createElementVNode as V, withKeys as Z, withModifiers as p, renderSlot as k, normalizeProps as E, guardReactiveProps as _, createVNode as ee, normalizeClass as c, createCommentVNode as u, Fragment as C, createBlock as f, toDisplayString as m, mergeProps as P, unref as te } from "vue";
2
- import a from "./BaseIcon-rw8rKNKS.js";
1
+ import { ref as b, computed as G, onMounted as J, onBeforeUnmount as Q, withDirectives as Y, createElementBlock as i, openBlock as t, normalizeStyle as d, createElementVNode as V, withKeys as Z, withModifiers as p, renderSlot as c, normalizeProps as E, guardReactiveProps as _, createVNode as ee, normalizeClass as y, createCommentVNode as u, Fragment as h, createBlock as f, toDisplayString as $, mergeProps as P, unref as te } from "vue";
2
+ import a from "./BaseIcon-BYl8WVrn.js";
3
3
  import { _ as oe } from "./_plugin-vue_export-helper-CHgC5LLL.js";
4
4
  const ne = {
5
- beforeMount(e, S) {
5
+ beforeMount(e, C) {
6
6
  e.clickOutsideEvent = function(r) {
7
- e === r.target || e.contains(r.target) || S.value(r);
7
+ e === r.target || e.contains(r.target) || C.value(r);
8
8
  }, document.addEventListener("click", e.clickOutsideEvent);
9
9
  },
10
10
  unmounted(e) {
@@ -133,70 +133,70 @@ const ne = {
133
133
  }
134
134
  },
135
135
  emits: ["generatePdf", "generateCsv", "generateImage", "toggleTable", "toggleLabels", "toggleSort", "toggleFullscreen", "toggleStack", "toggleTooltip", "toggleAnimation", "toggleAnnotator"],
136
- setup(e, { emit: S }) {
137
- const r = e, v = S;
136
+ setup(e, { emit: C }) {
137
+ const r = e, g = C;
138
+ function S() {
139
+ g("generatePdf");
140
+ }
138
141
  function A() {
139
- v("generatePdf");
142
+ g("generateCsv");
140
143
  }
141
144
  function B() {
142
- v("generateCsv");
145
+ g("generateImage");
143
146
  }
147
+ const M = b(!1);
144
148
  function F() {
145
- v("generateImage");
146
- }
147
- const M = d(!1);
148
- function $() {
149
- M.value = !M.value, v("toggleTable");
149
+ M.value = !M.value, g("toggleTable");
150
150
  }
151
- const h = d(!1), j = d(!0);
151
+ const v = b(!1), j = b(!0);
152
152
  function X() {
153
- b.value = window.innerWidth > 600, h.value = !h.value, h.value && (j.value = !1);
153
+ k.value = window.innerWidth > 600, v.value = !v.value, v.value && (j.value = !1);
154
154
  }
155
155
  function K() {
156
- r.isPrinting || r.isImaging || (h.value = !1);
156
+ r.isPrinting || r.isImaging || (v.value = !1);
157
157
  }
158
158
  function W() {
159
- h.value && K();
159
+ v.value && K();
160
160
  }
161
- const O = d(r.isLabelActive);
161
+ const O = b(r.isLabelActive);
162
162
  function q() {
163
- O.value = !O.value, v("toggleLabels");
163
+ O.value = !O.value, g("toggleLabels");
164
164
  }
165
- const T = d(r.isAnimation);
165
+ const T = b(r.isAnimation);
166
166
  function z() {
167
- T.value = !T.value, v("toggleAnimation");
167
+ T.value = !T.value, g("toggleAnimation");
168
168
  }
169
169
  const I = G({
170
170
  get: () => r.isAnnotation,
171
171
  set: (l) => l
172
172
  });
173
173
  function D() {
174
- I.value = !I.value, v("toggleAnnotator");
174
+ I.value = !I.value, g("toggleAnnotator");
175
175
  }
176
176
  function H() {
177
- v("toggleSort");
177
+ g("toggleSort");
178
178
  }
179
- const L = d(r.isStacked);
179
+ const L = b(r.isStacked);
180
180
  function R() {
181
- L.value = !L.value, v("toggleStack");
181
+ L.value = !L.value, g("toggleStack");
182
182
  }
183
- const w = d(r.isTooltip);
183
+ const w = b(r.isTooltip);
184
184
  function x() {
185
- w.value = !w.value, v("toggleTooltip");
185
+ w.value = !w.value, g("toggleTooltip");
186
186
  }
187
- const y = d(!1);
187
+ const m = b(!1);
188
188
  function N(l) {
189
- r.chartElement && (l === "in" ? (y.value = !0, r.chartElement.requestFullscreen(), v("toggleFullscreen", !0)) : (y.value = !1, document && document.exitFullscreen(), v("toggleFullscreen", !1)));
189
+ r.chartElement && (l === "in" ? (m.value = !0, r.chartElement.requestFullscreen(), g("toggleFullscreen", !0)) : (m.value = !1, document && document.exitFullscreen(), g("toggleFullscreen", !1)));
190
190
  }
191
191
  function U(l) {
192
- document.fullscreenElement ? y.value = !0 : y.value = !1;
192
+ document.fullscreenElement ? m.value = !0 : m.value = !1;
193
193
  }
194
194
  J(() => {
195
195
  document.addEventListener("fullscreenchange", U);
196
196
  }), Q(() => {
197
197
  document.removeEventListener("fullscreenchange", U);
198
198
  });
199
- const b = d(window.innerWidth > 600), n = d({
199
+ const k = b(window.innerWidth > 600), n = b({
200
200
  tooltip: !1,
201
201
  pdf: !1,
202
202
  csv: !1,
@@ -212,27 +212,27 @@ const ne = {
212
212
  return (l, o) => Y((t(), i("div", {
213
213
  "data-html2canvas-ignore": "",
214
214
  class: "vue-ui-user-options",
215
- style: g(`z-index: ${e.zIndex}; height: 34px; position: ${y.value ? "fixed" : "absolute"}; top: 0; ${e.position === "right" ? `right:${y.value ? "12px" : "0"}` : `left:${y.value ? "12px" : "0"}`}; padding: 4px; background:transparent;`)
215
+ style: d(`z-index: ${e.zIndex}; height: 34px; position: ${m.value ? "fixed" : "absolute"}; top: 0; ${e.position === "right" ? `right:${m.value ? "12px" : "0"}` : `left:${m.value ? "12px" : "0"}`}; padding: 4px; background:transparent;`)
216
216
  }, [
217
217
  V("div", {
218
218
  tabindex: "0",
219
- title: h.value ? e.titles.close || "" : e.titles.open || "",
220
- style: g(`width:32px; position: absolute; top: 0;${e.position === "right" ? `right: ${e.offsetX ? e.offsetX : e.noOffset ? 0 : 4}px` : `left: ${e.noOffset ? 0 : 4}px`}; padding: 0 0px; display: flex; align-items:center;justify-content:center;height: 36px; cursor:pointer; background:transparent`),
219
+ title: v.value ? e.titles.close || "" : e.titles.open || "",
220
+ style: d(`width:32px; position: absolute; top: 0;${e.position === "right" ? `right: ${e.offsetX ? e.offsetX : e.noOffset ? 0 : 4}px` : `left: ${e.noOffset ? 0 : 4}px`}; padding: 0 0px; display: flex; align-items:center;justify-content:center;height: 36px; cursor:pointer; background:transparent`),
221
221
  onClick: p(X, ["stop"]),
222
222
  onKeypress: Z(X, ["enter"])
223
223
  }, [
224
- k(l.$slots, "menuIcon", E(_({ isOpen: h.value, color: e.color })), () => [
224
+ c(l.$slots, "menuIcon", E(_({ isOpen: v.value, color: e.color })), () => [
225
225
  ee(a, {
226
- name: h.value ? "close" : "menu",
226
+ name: v.value ? "close" : "menu",
227
227
  stroke: e.color,
228
228
  "stroke-width": 2
229
229
  }, null, 8, ["name", "stroke"])
230
230
  ], !0)
231
231
  ], 44, le),
232
232
  V("div", {
233
- "data-open": h.value,
234
- class: c({ "vue-ui-user-options-drawer": !0 }),
235
- style: g(`background:${e.backgroundColor}; ${e.position === "right" ? `right: ${e.offsetX ? e.offsetX : e.noOffset ? 0 : 4}px` : `left: ${e.noOffset ? 0 : 4}px`}`)
233
+ "data-open": v.value,
234
+ class: y({ "vue-ui-user-options-drawer": !0 }),
235
+ style: d(`background:${e.backgroundColor}; ${e.position === "right" ? `right: ${e.offsetX ? e.offsetX : e.noOffset ? 0 : 4}px` : `left: ${e.noOffset ? 0 : 4}px`}`)
236
236
  }, [
237
237
  e.hasTooltip ? (t(), i("button", {
238
238
  key: 0,
@@ -242,7 +242,7 @@ const ne = {
242
242
  onMouseenter: o[0] || (o[0] = (s) => n.value.tooltip = !0),
243
243
  onMouseout: o[1] || (o[1] = (s) => n.value.tooltip = !1)
244
244
  }, [
245
- l.$slots.optionTooltip ? k(l.$slots, "optionTooltip", { key: 0 }, void 0, !0) : (t(), i(C, { key: 1 }, [
245
+ l.$slots.optionTooltip ? c(l.$slots, "optionTooltip", { key: 0 }, void 0, !0) : (t(), i(h, { key: 1 }, [
246
246
  w.value ? (t(), f(a, {
247
247
  key: 0,
248
248
  name: "tooltip",
@@ -255,22 +255,22 @@ const ne = {
255
255
  style: { "pointer-events": "none" }
256
256
  }, null, 8, ["stroke"]))
257
257
  ], 64)),
258
- b.value && e.titles.tooltip && !l.$slots.optionTooltip ? (t(), i("div", {
258
+ k.value && e.titles.tooltip && !l.$slots.optionTooltip ? (t(), i("div", {
259
259
  key: 2,
260
260
  dir: "auto",
261
- class: c({ "button-info-left": e.position === "left", "button-info-right": e.position === "right", "button-info-left-visible": e.position === "left" && n.value.tooltip, "button-info-right-visible": e.position === "right" && n.value.tooltip }),
262
- style: g({ background: e.backgroundColor, color: e.color })
263
- }, m(e.titles.tooltip), 7)) : u("", !0)
261
+ class: y({ "button-info-left": e.position === "left", "button-info-right": e.position === "right", "button-info-left-visible": e.position === "left" && n.value.tooltip, "button-info-right-visible": e.position === "right" && n.value.tooltip }),
262
+ style: d({ background: e.backgroundColor, color: e.color })
263
+ }, $(e.titles.tooltip), 7)) : u("", !0)
264
264
  ], 32)) : u("", !0),
265
265
  e.hasPdf ? (t(), i("button", {
266
266
  key: 1,
267
267
  tabindex: "0",
268
268
  class: "vue-ui-user-options-button",
269
- onClick: A,
269
+ onClick: S,
270
270
  onMouseenter: o[2] || (o[2] = (s) => n.value.pdf = !0),
271
271
  onMouseout: o[3] || (o[3] = (s) => n.value.pdf = !1)
272
272
  }, [
273
- l.$slots.optionPdf ? k(l.$slots, "optionPdf", { key: 0 }, void 0, !0) : (t(), i(C, { key: 1 }, [
273
+ l.$slots.optionPdf ? c(l.$slots, "optionPdf", { key: 0 }, void 0, !0) : (t(), i(h, { key: 1 }, [
274
274
  e.isPrinting ? (t(), f(a, {
275
275
  key: 0,
276
276
  name: "spin",
@@ -284,43 +284,43 @@ const ne = {
284
284
  style: { "pointer-events": "none" }
285
285
  }, null, 8, ["stroke"]))
286
286
  ], 64)),
287
- b.value && e.titles.pdf && !l.$slots.optionPdf ? (t(), i("div", {
287
+ k.value && e.titles.pdf && !l.$slots.optionPdf ? (t(), i("div", {
288
288
  key: 2,
289
289
  dir: "auto",
290
- class: c({ "button-info-left": e.position === "left", "button-info-right": e.position === "right", "button-info-right-visible": e.position === "right" && n.value.pdf, "button-info-left-visible": e.position === "left" && n.value.pdf }),
291
- style: g({ background: e.backgroundColor, color: e.color })
292
- }, m(e.titles.pdf), 7)) : u("", !0)
290
+ class: y({ "button-info-left": e.position === "left", "button-info-right": e.position === "right", "button-info-right-visible": e.position === "right" && n.value.pdf, "button-info-left-visible": e.position === "left" && n.value.pdf }),
291
+ style: d({ background: e.backgroundColor, color: e.color })
292
+ }, $(e.titles.pdf), 7)) : u("", !0)
293
293
  ], 32)) : u("", !0),
294
294
  e.hasXls ? (t(), i("button", {
295
295
  key: 2,
296
296
  tabindex: "0",
297
297
  class: "vue-ui-user-options-button",
298
- onClick: B,
298
+ onClick: A,
299
299
  onMouseenter: o[4] || (o[4] = (s) => n.value.csv = !0),
300
300
  onMouseout: o[5] || (o[5] = (s) => n.value.csv = !1)
301
301
  }, [
302
- l.$slots.optionCsv ? k(l.$slots, "optionCsv", { key: 0 }, void 0, !0) : (t(), f(a, {
302
+ l.$slots.optionCsv ? c(l.$slots, "optionCsv", { key: 0 }, void 0, !0) : (t(), f(a, {
303
303
  key: 1,
304
304
  name: "excel",
305
305
  stroke: e.color,
306
306
  style: { "pointer-events": "none" }
307
307
  }, null, 8, ["stroke"])),
308
- b.value && e.titles.csv && !l.$slots.optionCsv ? (t(), i("div", {
308
+ k.value && e.titles.csv && !l.$slots.optionCsv ? (t(), i("div", {
309
309
  key: 2,
310
310
  dir: "auto",
311
- class: c({ "button-info-left": e.position === "left", "button-info-right": e.position === "right", "button-info-right-visible": e.position === "right" && n.value.csv, "button-info-left-visible": e.position === "left" && n.value.csv }),
312
- style: g({ background: e.backgroundColor, color: e.color })
313
- }, m(e.titles.csv), 7)) : u("", !0)
311
+ class: y({ "button-info-left": e.position === "left", "button-info-right": e.position === "right", "button-info-right-visible": e.position === "right" && n.value.csv, "button-info-left-visible": e.position === "left" && n.value.csv }),
312
+ style: d({ background: e.backgroundColor, color: e.color })
313
+ }, $(e.titles.csv), 7)) : u("", !0)
314
314
  ], 32)) : u("", !0),
315
315
  e.hasImg ? (t(), i("button", {
316
316
  key: 3,
317
317
  tabindex: "0",
318
318
  class: "vue-ui-user-options-button",
319
- onClick: F,
319
+ onClick: B,
320
320
  onMouseenter: o[6] || (o[6] = (s) => n.value.img = !0),
321
321
  onMouseout: o[7] || (o[7] = (s) => n.value.img = !1)
322
322
  }, [
323
- l.$slots.optionImg ? k(l.$slots, "optionImg", { key: 0 }, void 0, !0) : (t(), i(C, { key: 1 }, [
323
+ l.$slots.optionImg ? c(l.$slots, "optionImg", { key: 0 }, void 0, !0) : (t(), i(h, { key: 1 }, [
324
324
  e.isImaging ? (t(), f(a, {
325
325
  key: 0,
326
326
  name: "spin",
@@ -334,33 +334,33 @@ const ne = {
334
334
  style: { "pointer-events": "none" }
335
335
  }, null, 8, ["stroke"]))
336
336
  ], 64)),
337
- b.value && e.titles.img && !l.$slots.optionImg ? (t(), i("div", {
337
+ k.value && e.titles.img && !l.$slots.optionImg ? (t(), i("div", {
338
338
  key: 2,
339
339
  dir: "auto",
340
- class: c({ "button-info-left": e.position === "left", "button-info-right": e.position === "right", "button-info-right-visible": e.position === "right" && n.value.img, "button-info-left-visible": e.position === "left" && n.value.img }),
341
- style: g({ background: e.backgroundColor, color: e.color })
342
- }, m(e.titles.img), 7)) : u("", !0)
340
+ class: y({ "button-info-left": e.position === "left", "button-info-right": e.position === "right", "button-info-right-visible": e.position === "right" && n.value.img, "button-info-left-visible": e.position === "left" && n.value.img }),
341
+ style: d({ background: e.backgroundColor, color: e.color })
342
+ }, $(e.titles.img), 7)) : u("", !0)
343
343
  ], 32)) : u("", !0),
344
344
  e.hasTable ? (t(), i("button", {
345
345
  key: 4,
346
346
  tabindex: "0",
347
347
  class: "vue-ui-user-options-button",
348
- onClick: $,
348
+ onClick: F,
349
349
  onMouseenter: o[8] || (o[8] = (s) => n.value.table = !0),
350
350
  onMouseout: o[9] || (o[9] = (s) => n.value.table = !1)
351
351
  }, [
352
- l.$slots.optionTable ? k(l.$slots, "optionTable", { key: 0 }, void 0, !0) : (t(), f(a, {
352
+ l.$slots.optionTable ? c(l.$slots, "optionTable", { key: 0 }, void 0, !0) : (t(), f(a, {
353
353
  key: 1,
354
354
  name: M.value ? "tableClose" : "tableOpen",
355
355
  stroke: e.color,
356
356
  style: { "pointer-events": "none" }
357
357
  }, null, 8, ["name", "stroke"])),
358
- b.value && e.titles.table && !l.$slots.optionTable ? (t(), i("div", {
358
+ k.value && e.titles.table && !l.$slots.optionTable ? (t(), i("div", {
359
359
  key: 2,
360
360
  dir: "auto",
361
- class: c({ "button-info-left": e.position === "left", "button-info-right": e.position === "right", "button-info-right-visible": e.position === "right" && n.value.table, "button-info-left-visible": e.position === "left" && n.value.table }),
362
- style: g({ background: e.backgroundColor, color: e.color })
363
- }, m(e.titles.table), 7)) : u("", !0)
361
+ class: y({ "button-info-left": e.position === "left", "button-info-right": e.position === "right", "button-info-right-visible": e.position === "right" && n.value.table, "button-info-left-visible": e.position === "left" && n.value.table }),
362
+ style: d({ background: e.backgroundColor, color: e.color })
363
+ }, $(e.titles.table), 7)) : u("", !0)
364
364
  ], 32)) : u("", !0),
365
365
  e.hasLabel ? (t(), i("button", {
366
366
  key: 5,
@@ -370,18 +370,18 @@ const ne = {
370
370
  onMouseenter: o[10] || (o[10] = (s) => n.value.labels = !0),
371
371
  onMouseout: o[11] || (o[11] = (s) => n.value.labels = !1)
372
372
  }, [
373
- l.$slots.optionLabels ? k(l.$slots, "optionLabels", { key: 0 }, void 0, !0) : (t(), f(a, {
373
+ l.$slots.optionLabels ? c(l.$slots, "optionLabels", { key: 0 }, void 0, !0) : (t(), f(a, {
374
374
  key: 1,
375
375
  name: O.value ? "labelClose" : "labelOpen",
376
376
  stroke: e.color,
377
377
  style: { "pointer-events": "none" }
378
378
  }, null, 8, ["name", "stroke"])),
379
- b.value && e.titles.labels && !l.$slots.optionLabels ? (t(), i("div", {
379
+ k.value && e.titles.labels && !l.$slots.optionLabels ? (t(), i("div", {
380
380
  key: 2,
381
381
  dir: "auto",
382
- class: c({ "button-info-left": e.position === "left", "button-info-right": e.position === "right", "button-info-right-visible": e.position === "right" && n.value.labels, "button-info-left-visible": e.position === "left" && n.value.labels }),
383
- style: g({ background: e.backgroundColor, color: e.color })
384
- }, m(e.titles.labels), 7)) : u("", !0)
382
+ class: y({ "button-info-left": e.position === "left", "button-info-right": e.position === "right", "button-info-right-visible": e.position === "right" && n.value.labels, "button-info-left-visible": e.position === "left" && n.value.labels }),
383
+ style: d({ background: e.backgroundColor, color: e.color })
384
+ }, $(e.titles.labels), 7)) : u("", !0)
385
385
  ], 32)) : u("", !0),
386
386
  e.hasSort ? (t(), i("button", {
387
387
  key: 6,
@@ -391,18 +391,18 @@ const ne = {
391
391
  onMouseenter: o[12] || (o[12] = (s) => n.value.sort = !0),
392
392
  onMouseout: o[13] || (o[13] = (s) => n.value.sort = !1)
393
393
  }, [
394
- l.$slots.optionSort ? k(l.$slots, "optionSort", { key: 0 }, void 0, !0) : (t(), f(a, {
394
+ l.$slots.optionSort ? c(l.$slots, "optionSort", { key: 0 }, void 0, !0) : (t(), f(a, {
395
395
  key: 1,
396
396
  name: "sort",
397
397
  stroke: e.color,
398
398
  style: { "pointer-events": "none" }
399
399
  }, null, 8, ["stroke"])),
400
- b.value && e.titles.sort && !l.$slots.optionSort ? (t(), i("div", {
400
+ k.value && e.titles.sort && !l.$slots.optionSort ? (t(), i("div", {
401
401
  key: 2,
402
402
  dir: "auto",
403
- class: c({ "button-info-left": e.position === "left", "button-info-right": e.position === "right", "button-info-right-visible": e.position === "right" && n.value.sort, "button-info-left-visible": e.position === "left" && n.value.sort }),
404
- style: g({ background: e.backgroundColor, color: e.color })
405
- }, m(e.titles.sort), 7)) : u("", !0)
403
+ class: y({ "button-info-left": e.position === "left", "button-info-right": e.position === "right", "button-info-right-visible": e.position === "right" && n.value.sort, "button-info-left-visible": e.position === "left" && n.value.sort }),
404
+ style: d({ background: e.backgroundColor, color: e.color })
405
+ }, $(e.titles.sort), 7)) : u("", !0)
406
406
  ], 32)) : u("", !0),
407
407
  e.hasStack ? (t(), i("button", {
408
408
  key: 7,
@@ -412,7 +412,7 @@ const ne = {
412
412
  onMouseenter: o[14] || (o[14] = (s) => n.value.stack = !0),
413
413
  onMouseout: o[15] || (o[15] = (s) => n.value.stack = !1)
414
414
  }, [
415
- l.$slots.optionStack ? k(l.$slots, "optionStack", { key: 0 }, void 0, !0) : (t(), i(C, { key: 1 }, [
415
+ l.$slots.optionStack ? c(l.$slots, "optionStack", { key: 0 }, void 0, !0) : (t(), i(h, { key: 1 }, [
416
416
  L.value ? (t(), f(a, {
417
417
  key: 0,
418
418
  name: "unstack",
@@ -425,12 +425,12 @@ const ne = {
425
425
  style: { "pointer-events": "none" }
426
426
  }, null, 8, ["stroke"]))
427
427
  ], 64)),
428
- b.value && e.titles.stack && !l.$slots.optionStack ? (t(), i("div", {
428
+ k.value && e.titles.stack && !l.$slots.optionStack ? (t(), i("div", {
429
429
  key: 2,
430
430
  dir: "auto",
431
- class: c({ "button-info-left": e.position === "left", "button-info-right": e.position === "right", "button-info-right-visible": e.position === "right" && n.value.stack, "button-info-left-visible": e.position === "left" && n.value.stack }),
432
- style: g({ background: e.backgroundColor, color: e.color })
433
- }, m(e.titles.stack), 7)) : u("", !0)
431
+ class: y({ "button-info-left": e.position === "left", "button-info-right": e.position === "right", "button-info-right-visible": e.position === "right" && n.value.stack, "button-info-left-visible": e.position === "left" && n.value.stack }),
432
+ style: d({ background: e.backgroundColor, color: e.color })
433
+ }, $(e.titles.stack), 7)) : u("", !0)
434
434
  ], 32)) : u("", !0),
435
435
  e.hasFullscreen ? (t(), i("button", {
436
436
  key: 8,
@@ -438,28 +438,28 @@ const ne = {
438
438
  class: "vue-ui-user-options-button",
439
439
  onMouseenter: o[16] || (o[16] = (s) => n.value.fullscreen = !0),
440
440
  onMouseout: o[17] || (o[17] = (s) => n.value.fullscreen = !1),
441
- onClick: o[18] || (o[18] = (s) => N(y.value ? "out" : "in"))
441
+ onClick: o[18] || (o[18] = (s) => N(m.value ? "out" : "in"))
442
442
  }, [
443
- l.$slots.optionFullscreen ? k(l.$slots, "optionFullscreen", E(P({ key: 0 }, { toggleFullscreen: N, isFullscreen: y.value })), void 0, !0) : (t(), i(C, { key: 1 }, [
444
- y.value ? (t(), f(a, {
443
+ l.$slots.optionFullscreen ? c(l.$slots, "optionFullscreen", E(P({ key: 0 }, { toggleFullscreen: N, isFullscreen: m.value })), void 0, !0) : (t(), i(h, { key: 1 }, [
444
+ m.value ? (t(), f(a, {
445
445
  key: 0,
446
446
  name: "exitFullscreen",
447
447
  stroke: e.color,
448
448
  style: { "pointer-events": "none" }
449
449
  }, null, 8, ["stroke"])) : u("", !0),
450
- y.value ? u("", !0) : (t(), f(a, {
450
+ m.value ? u("", !0) : (t(), f(a, {
451
451
  key: 1,
452
452
  name: "fullscreen",
453
453
  stroke: e.color,
454
454
  style: { "pointer-events": "none" }
455
455
  }, null, 8, ["stroke"]))
456
456
  ], 64)),
457
- b.value && e.titles.fullscreen && !l.$slots.optionFullscreen ? (t(), i("div", {
457
+ k.value && e.titles.fullscreen && !l.$slots.optionFullscreen ? (t(), i("div", {
458
458
  key: 2,
459
459
  dir: "auto",
460
- class: c({ "button-info-left": e.position === "left", "button-info-right": e.position === "right", "button-info-right-visible": e.position === "right" && n.value.fullscreen, "button-info-left-visible": e.position === "left" && n.value.fullscreen }),
461
- style: g({ background: e.backgroundColor, color: e.color })
462
- }, m(e.titles.fullscreen), 7)) : u("", !0)
460
+ class: y({ "button-info-left": e.position === "left", "button-info-right": e.position === "right", "button-info-right-visible": e.position === "right" && n.value.fullscreen, "button-info-left-visible": e.position === "left" && n.value.fullscreen }),
461
+ style: d({ background: e.backgroundColor, color: e.color })
462
+ }, $(e.titles.fullscreen), 7)) : u("", !0)
463
463
  ], 32)) : u("", !0),
464
464
  e.hasAnimation ? (t(), i("button", {
465
465
  key: 9,
@@ -469,7 +469,7 @@ const ne = {
469
469
  onMouseout: o[20] || (o[20] = (s) => n.value.animation = !1),
470
470
  onClick: z
471
471
  }, [
472
- l.$slots.optionAnimation ? k(l.$slots, "optionAnimation", E(P({ key: 0 }, { toggleAnimation: z, isAnimated: T.value })), void 0, !0) : (t(), i(C, { key: 1 }, [
472
+ l.$slots.optionAnimation ? c(l.$slots, "optionAnimation", E(P({ key: 0 }, { toggleAnimation: z, isAnimated: T.value })), void 0, !0) : (t(), i(h, { key: 1 }, [
473
473
  T.value ? (t(), f(a, {
474
474
  key: 0,
475
475
  name: "play",
@@ -483,12 +483,12 @@ const ne = {
483
483
  style: { "pointer-events": "none" }
484
484
  }, null, 8, ["stroke"]))
485
485
  ], 64)),
486
- b.value && e.titles.fullscreen && !l.$slots.optionAnimation ? (t(), i("div", {
486
+ k.value && e.titles.fullscreen && !l.$slots.optionAnimation ? (t(), i("div", {
487
487
  key: 2,
488
488
  dir: "auto",
489
- class: c({ "button-info-left": e.position === "left", "button-info-right": e.position === "right", "button-info-right-visible": e.position === "right" && n.value.animation, "button-info-left-visible": e.position === "left" && n.value.animation }),
490
- style: g({ background: e.backgroundColor, color: e.color })
491
- }, m(e.titles.animation), 7)) : u("", !0)
489
+ class: y({ "button-info-left": e.position === "left", "button-info-right": e.position === "right", "button-info-right-visible": e.position === "right" && n.value.animation, "button-info-left-visible": e.position === "left" && n.value.animation }),
490
+ style: d({ background: e.backgroundColor, color: e.color })
491
+ }, $(e.titles.animation), 7)) : u("", !0)
492
492
  ], 32)) : u("", !0),
493
493
  e.hasAnnotator ? (t(), i("button", {
494
494
  key: 10,
@@ -498,7 +498,7 @@ const ne = {
498
498
  onMouseout: o[22] || (o[22] = (s) => n.value.annotator = !1),
499
499
  onClick: D
500
500
  }, [
501
- l.$slots.optionAnnotator ? k(l.$slots, "optionAnnotator", E(P({ key: 0 }, { toggleAnnotator: D, isAnnotator: I.value })), void 0, !0) : (t(), i(C, { key: 1 }, [
501
+ l.$slots.optionAnnotator ? c(l.$slots, "optionAnnotator", E(P({ key: 0 }, { toggleAnnotator: D, isAnnotator: I.value })), void 0, !0) : (t(), i(h, { key: 1 }, [
502
502
  I.value ? (t(), f(a, {
503
503
  key: 0,
504
504
  name: "annotatorDisabled",
@@ -512,12 +512,12 @@ const ne = {
512
512
  style: { "pointer-events": "none" }
513
513
  }, null, 8, ["stroke"]))
514
514
  ], 64)),
515
- b.value && e.titles.annotator && !l.$slots.optionAnnotator ? (t(), i("div", {
515
+ k.value && e.titles.annotator && !l.$slots.optionAnnotator ? (t(), i("div", {
516
516
  key: 2,
517
517
  dir: "auto",
518
- class: c({ "button-info-left": e.position === "left", "button-info-right": e.position === "right", "button-info-right-visible": e.position === "right" && n.value.annotator, "button-info-left-visible": e.position === "left" && n.value.annotator }),
519
- style: g({ background: e.backgroundColor, color: e.color })
520
- }, m(e.titles.annotator), 7)) : u("", !0)
518
+ class: y({ "button-info-left": e.position === "left", "button-info-right": e.position === "right", "button-info-right-visible": e.position === "right" && n.value.annotator, "button-info-left-visible": e.position === "left" && n.value.annotator }),
519
+ style: d({ background: e.backgroundColor, color: e.color })
520
+ }, $(e.titles.annotator), 7)) : u("", !0)
521
521
  ], 32)) : u("", !0)
522
522
  ], 12, ie)
523
523
  ], 4)), [
@@ -527,47 +527,50 @@ const ne = {
527
527
  }, fe = /* @__PURE__ */ oe(ue, [["__scopeId", "data-v-0926bd71"]]);
528
528
  function ve({
529
529
  elementId: e,
530
- fileName: S,
531
- canPrint: r = !0
530
+ fileName: C,
531
+ canPrint: r = !0,
532
+ options: g
532
533
  }) {
533
- const v = d(!1), A = d(!1), B = d(null);
534
- async function F() {
535
- !r || v.value || (v.value = !0, clearTimeout(B.value), B.value = setTimeout(async () => {
534
+ const S = b(!1), A = b(!1), B = b(null);
535
+ async function M() {
536
+ !r || S.value || (S.value = !0, clearTimeout(B.value), B.value = setTimeout(async () => {
536
537
  if (r)
537
538
  try {
538
- const { default: $ } = await import("./pdf-DVWl3Adn.js");
539
- await $({
539
+ const { default: v } = await import("./pdf-H8Iw_Wax.js");
540
+ await v({
540
541
  domElement: document.getElementById(e),
541
- fileName: S
542
+ fileName: C,
543
+ options: g
542
544
  });
543
- } catch ($) {
544
- console.error("Error generating PDF:", $);
545
+ } catch (v) {
546
+ console.error("Error generating PDF:", v);
545
547
  } finally {
546
- v.value = !1;
548
+ S.value = !1;
547
549
  }
548
550
  }, 100));
549
551
  }
550
- async function M() {
552
+ async function F() {
551
553
  !r || A.value || (A.value = !0, clearTimeout(B.value), B.value = setTimeout(async () => {
552
554
  if (r)
553
555
  try {
554
- const { default: $ } = await import("./img-itj0Vdmx.js");
555
- await $({
556
+ const { default: v } = await import("./img-BIeSHu0f.js");
557
+ await v({
556
558
  domElement: document.getElementById(e),
557
- fileName: S,
558
- format: "png"
559
+ fileName: C,
560
+ format: "png",
561
+ options: g
559
562
  });
560
- } catch ($) {
561
- console.error("Error generating image:", $);
563
+ } catch (v) {
564
+ console.error("Error generating image:", v);
562
565
  } finally {
563
566
  A.value = !1;
564
567
  }
565
568
  }, 100));
566
569
  }
567
570
  return {
568
- generatePdf: F,
569
- generateImage: M,
570
- isPrinting: v,
571
+ generatePdf: M,
572
+ generateImage: F,
573
+ isPrinting: S,
571
574
  isImaging: A
572
575
  };
573
576
  }