vue-data-ui 2.3.76 → 2.3.77

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 (161) hide show
  1. package/dist/{Arrow-DY9RKUmG.js → Arrow-Dj2zuGLq.js} +1 -1
  2. package/dist/{Arrow-D7M4-bW7.cjs → Arrow-VCEIU9wi.cjs} +1 -1
  3. package/dist/{BaseIcon-DB7Apwv_.cjs → BaseIcon-CP535rdy.cjs} +1 -1
  4. package/dist/{BaseIcon-rwm-10Hu.js → BaseIcon-Cbr8np30.js} +1 -1
  5. package/dist/{DataTable-CsNozyz7.cjs → DataTable-CeHw-cqZ.cjs} +1 -1
  6. package/dist/{DataTable-e2fnfjXV.js → DataTable-OAUXdIYA.js} +2 -2
  7. package/dist/{Legend-5cQ0xZjK.js → Legend-BVByqGqZ.js} +1 -1
  8. package/dist/{Legend-DgFd-O0m.cjs → Legend-DfU44fjz.cjs} +1 -1
  9. package/dist/{Shape-yPECDLiP.cjs → Shape-B6cEKeIN.cjs} +1 -1
  10. package/dist/{Shape-CiTElr_0.js → Shape-Clmb3iTX.js} +1 -1
  11. package/dist/{Slicer-DwBBu3kB.js → Slicer-BlRQsQu0.js} +12 -12
  12. package/dist/{Slicer-DaZgCKV7.cjs → Slicer-Dt9iqvAA.cjs} +1 -1
  13. package/dist/{Title-3EduyW4p.cjs → Title-D9lSjLTg.cjs} +1 -1
  14. package/dist/{Title-gUz6GDA3.js → Title-gvR5aS6q.js} +1 -1
  15. package/dist/{Tooltip-DfSM1mNP.js → Tooltip-BGmkuAK4.js} +23 -23
  16. package/dist/Tooltip-C0PSN8vf.cjs +1 -0
  17. package/dist/{index-CaV1s-yZ.js → index-0KN57HdM.js} +1147 -1145
  18. package/dist/index-TabZg_HV.cjs +4 -0
  19. package/dist/style.css +1 -1
  20. package/dist/{useNestedProp-CisbRRo_.cjs → useNestedProp-CoLyVvV9.cjs} +1 -1
  21. package/dist/{useNestedProp-tWCzZrLx.js → useNestedProp-NeGalTYk.js} +1 -1
  22. package/dist/{usePrinter-DzTaA1eh.cjs → usePrinter--7sLxlpn.cjs} +1 -1
  23. package/dist/{usePrinter-rvJyT65A.js → usePrinter-BvKYEc1z.js} +1 -1
  24. package/dist/{vue-data-ui-BGkWRPUY.cjs → vue-data-ui-CNZP_Hk4.cjs} +1 -1
  25. package/dist/{vue-data-ui-BO89gTtq.js → vue-data-ui-Du0OReJH.js} +57 -57
  26. package/dist/vue-data-ui.cjs +1 -1
  27. package/dist/vue-data-ui.js +9 -9
  28. package/dist/vue-ui-3d-bar-AUSKibZS.cjs +19 -0
  29. package/dist/{vue-ui-3d-bar-CcTMIHiB.js → vue-ui-3d-bar-Dasj0J9j.js} +342 -342
  30. package/dist/{vue-ui-accordion-7e4Myhcg.cjs → vue-ui-accordion-0uSZBHsp.cjs} +1 -1
  31. package/dist/{vue-ui-accordion-CpzGQ63y.js → vue-ui-accordion-CczyfFaC.js} +3 -3
  32. package/dist/vue-ui-age-pyramid-CjBr4CXC.cjs +1 -0
  33. package/dist/{vue-ui-age-pyramid-D71ZLkVV.js → vue-ui-age-pyramid-DZ7vnojR.js} +22 -22
  34. package/dist/{vue-ui-annotator-B8Iu6cYt.js → vue-ui-annotator-BWwxpp_v.js} +39 -39
  35. package/dist/{vue-ui-annotator-BKQrweqm.cjs → vue-ui-annotator-CyYSiELS.cjs} +2 -2
  36. package/dist/{vue-ui-candlestick-DAc1FQ-i.cjs → vue-ui-candlestick-B9oSgBPN.cjs} +2 -2
  37. package/dist/{vue-ui-candlestick-Bx4QVkY0.js → vue-ui-candlestick-Dr9aS-Ku.js} +34 -34
  38. package/dist/{vue-ui-carousel-table-uFRqkghO.cjs → vue-ui-carousel-table-CjDze14W.cjs} +1 -1
  39. package/dist/{vue-ui-carousel-table-xuQG6bcH.js → vue-ui-carousel-table-D2LK5a9p.js} +31 -31
  40. package/dist/{vue-ui-chestnut-Bo6rDcU7.js → vue-ui-chestnut-DIqR-vZo.js} +291 -288
  41. package/dist/vue-ui-chestnut-RhZaDeRG.cjs +6 -0
  42. package/dist/vue-ui-cursor-7QhVReKN.cjs +1 -0
  43. package/dist/{vue-ui-cursor-C0KOqEOq.js → vue-ui-cursor-BxHK0bB7.js} +20 -20
  44. package/dist/{vue-ui-dashboard-0Hsjx-bO.cjs → vue-ui-dashboard-DO-zVgDu.cjs} +1 -1
  45. package/dist/{vue-ui-dashboard-BT71xS7P.js → vue-ui-dashboard-fYKECIc7.js} +2 -2
  46. package/dist/{vue-ui-digits-BRqpKYvD.js → vue-ui-digits-B8hAl2RW.js} +2 -2
  47. package/dist/{vue-ui-digits-C2ReH6w0.cjs → vue-ui-digits-CSsB4Zlr.cjs} +1 -1
  48. package/dist/{vue-ui-donut-NQW-3prf.js → vue-ui-donut-D5DTvWXB.js} +60 -60
  49. package/dist/vue-ui-donut-D8evqk7g.cjs +1 -0
  50. package/dist/vue-ui-donut-evolution-BUdWXb-N.cjs +1 -0
  51. package/dist/{vue-ui-donut-evolution-jbXQQGTc.js → vue-ui-donut-evolution-CPTiiUY6.js} +106 -106
  52. package/dist/{vue-ui-dumbbell-Dyz8xdtC.js → vue-ui-dumbbell-CfeTfNTU.js} +17 -17
  53. package/dist/{vue-ui-dumbbell-DXQSg6wa.cjs → vue-ui-dumbbell-Fm-Bqc5W.cjs} +1 -1
  54. package/dist/{vue-ui-flow-UqSNwH9d.cjs → vue-ui-flow-24WIcZVL.cjs} +1 -1
  55. package/dist/{vue-ui-flow-BL3JWW1m.js → vue-ui-flow-B2WWQo6P.js} +28 -28
  56. package/dist/{vue-ui-galaxy-DTQWGvRH.cjs → vue-ui-galaxy-DkRizJxm.cjs} +1 -1
  57. package/dist/{vue-ui-galaxy-Dx9nsOuM.js → vue-ui-galaxy-yfpv7Hky.js} +22 -22
  58. package/dist/vue-ui-gauge-BkB7BlNM.cjs +1 -0
  59. package/dist/{vue-ui-gauge-CLaKGi0-.js → vue-ui-gauge-CRVB3wlV.js} +99 -108
  60. package/dist/{vue-ui-gizmo-of-4s5HG.js → vue-ui-gizmo-DJYOx_YH.js} +2 -2
  61. package/dist/{vue-ui-gizmo-Kitfqu0J.cjs → vue-ui-gizmo-Zyo15xm3.cjs} +1 -1
  62. package/dist/{vue-ui-heatmap-BIzjOMXO.js → vue-ui-heatmap-C6fDCc7O.js} +17 -17
  63. package/dist/{vue-ui-heatmap-DUw2350O.cjs → vue-ui-heatmap-uynT8kN9.cjs} +1 -1
  64. package/dist/{vue-ui-kpi-By3YPwgo.js → vue-ui-kpi-CGC4h9uF.js} +3 -3
  65. package/dist/{vue-ui-kpi-DyL2Hcz-.cjs → vue-ui-kpi-CqEEFb04.cjs} +1 -1
  66. package/dist/{vue-ui-mini-loader-DnK3V2z2.js → vue-ui-mini-loader-2A0YUUIB.js} +2 -2
  67. package/dist/{vue-ui-mini-loader-C048-8Kd.cjs → vue-ui-mini-loader-ku9X16tx.cjs} +1 -1
  68. package/dist/{vue-ui-molecule-D-ahly6R.cjs → vue-ui-molecule-Bv1IBx1L.cjs} +1 -1
  69. package/dist/{vue-ui-molecule-BfhbIqa5.js → vue-ui-molecule-CwcUmg-k.js} +33 -33
  70. package/dist/vue-ui-mood-radar-Bf5g118s.cjs +1 -0
  71. package/dist/{vue-ui-mood-radar-DXxEKr3x.js → vue-ui-mood-radar-V04waMIM.js} +129 -132
  72. package/dist/{vue-ui-nested-donuts-C7qM_FRw.cjs → vue-ui-nested-donuts-DgVrAToy.cjs} +2 -2
  73. package/dist/{vue-ui-nested-donuts-BdUdHFd-.js → vue-ui-nested-donuts-DoFALZtp.js} +98 -98
  74. package/dist/{vue-ui-onion-DX3gofXZ.cjs → vue-ui-onion-BdZC2qt8.cjs} +1 -1
  75. package/dist/{vue-ui-onion-D0vF5jBt.js → vue-ui-onion-_GaJ78t_.js} +9 -9
  76. package/dist/{vue-ui-parallel-coordinate-plot-DEx5kFYd.cjs → vue-ui-parallel-coordinate-plot-BHYr1iqZ.cjs} +1 -1
  77. package/dist/{vue-ui-parallel-coordinate-plot-CTZY-pY8.js → vue-ui-parallel-coordinate-plot-Eh0gXDVG.js} +24 -24
  78. package/dist/vue-ui-quadrant-BEhnCog2.cjs +1 -0
  79. package/dist/{vue-ui-quadrant-ByY8GP3y.js → vue-ui-quadrant-C4LHosyR.js} +35 -35
  80. package/dist/{vue-ui-quick-chart-DTxJ__7j.js → vue-ui-quick-chart-IqY67olA.js} +69 -69
  81. package/dist/{vue-ui-quick-chart-DWZEgUJF.cjs → vue-ui-quick-chart-YFEmJP_6.cjs} +1 -1
  82. package/dist/{vue-ui-radar-5UBmAU6W.js → vue-ui-radar-BSsDvnVt.js} +39 -39
  83. package/dist/{vue-ui-radar-DEED0rTz.cjs → vue-ui-radar-Cel3ZnfN.cjs} +1 -1
  84. package/dist/{vue-ui-rating-Dr6jquxh.js → vue-ui-rating-Bb1xXC_r.js} +6 -6
  85. package/dist/{vue-ui-rating-Ce_Ewqtl.cjs → vue-ui-rating-D-qBEM1w.cjs} +1 -1
  86. package/dist/{vue-ui-relation-circle-BU8i2miI.js → vue-ui-relation-circle-CSqi6DqF.js} +29 -29
  87. package/dist/vue-ui-relation-circle-fb8g1ms8.cjs +1 -0
  88. package/dist/{vue-ui-rings-OQ8a1Ruw.cjs → vue-ui-rings-Bgb538Wa.cjs} +2 -2
  89. package/dist/{vue-ui-rings-Ctl3Jywh.js → vue-ui-rings-ezoy9PIq.js} +31 -31
  90. package/dist/vue-ui-scatter-B7z6AOLU.cjs +1 -0
  91. package/dist/{vue-ui-scatter-BwJ_koWT.js → vue-ui-scatter-Ci5l--xS.js} +95 -95
  92. package/dist/{vue-ui-screenshot-BS3L5vhN.js → vue-ui-screenshot-C2X1am1d.js} +4 -4
  93. package/dist/{vue-ui-screenshot-bAVk3EPl.cjs → vue-ui-screenshot-DLXQWgeo.cjs} +1 -1
  94. package/dist/vue-ui-skeleton-CYeXVNFu.cjs +41 -0
  95. package/dist/{vue-ui-skeleton-CvFX_ExX.js → vue-ui-skeleton-dgMXr8k9.js} +96 -96
  96. package/dist/{vue-ui-smiley-sF8QIso1.cjs → vue-ui-smiley-CDhXPYa7.cjs} +1 -1
  97. package/dist/{vue-ui-smiley-CGYZpNt9.js → vue-ui-smiley-DXb5VqXk.js} +2 -2
  98. package/dist/vue-ui-spark-trend-1hcgCu8H.cjs +1 -0
  99. package/dist/{vue-ui-spark-trend-B4XSSKl9.js → vue-ui-spark-trend-Bv1-LLRs.js} +21 -21
  100. package/dist/vue-ui-sparkbar-CWdFQTkx.cjs +1 -0
  101. package/dist/{vue-ui-sparkbar-BbsJGDMZ.js → vue-ui-sparkbar-CbmzVXcW.js} +10 -10
  102. package/dist/{vue-ui-sparkgauge-D4w_i_QJ.js → vue-ui-sparkgauge-CHODK9jn.js} +8 -8
  103. package/dist/{vue-ui-sparkgauge-BKyQoI7C.cjs → vue-ui-sparkgauge-r7VEpPtv.cjs} +1 -1
  104. package/dist/{vue-ui-sparkhistogram-CYybrW-6.js → vue-ui-sparkhistogram-CKiO1LGI.js} +111 -101
  105. package/dist/vue-ui-sparkhistogram-Do5qTT2U.cjs +1 -0
  106. package/dist/vue-ui-sparkline-Bw3dw-vW.cjs +1 -0
  107. package/dist/{vue-ui-sparkline-DjN1SVdO.js → vue-ui-sparkline-DLU7hK0K.js} +34 -34
  108. package/dist/{vue-ui-sparkstackbar-BLMhJxaN.js → vue-ui-sparkstackbar-B3TQVHlU.js} +5 -5
  109. package/dist/{vue-ui-sparkstackbar-BZ2bESBi.cjs → vue-ui-sparkstackbar-CD-HZ4Rq.cjs} +1 -1
  110. package/dist/{vue-ui-stackbar-DRHaJFR8.cjs → vue-ui-stackbar-2WJh-QtY.cjs} +2 -2
  111. package/dist/{vue-ui-stackbar-BTKOHUYc.js → vue-ui-stackbar-BnIeIS12.js} +202 -200
  112. package/dist/{vue-ui-strip-plot-o6GTsGAT.js → vue-ui-strip-plot-CddHmHSX.js} +26 -26
  113. package/dist/{vue-ui-strip-plot-DxQxFbWg.cjs → vue-ui-strip-plot-DyL8FH29.cjs} +1 -1
  114. package/dist/{vue-ui-table-CnquiTpr.js → vue-ui-table-BZ6yonvx.js} +1 -1
  115. package/dist/{vue-ui-table-BFIj1Rgh.cjs → vue-ui-table-_Sxgp6iC.cjs} +1 -1
  116. package/dist/{vue-ui-table-heatmap-CZRIwv-Q.js → vue-ui-table-heatmap-CYOgunS2.js} +24 -24
  117. package/dist/{vue-ui-table-heatmap-CCGK12Fa.cjs → vue-ui-table-heatmap-DGWhBhp0.cjs} +1 -1
  118. package/dist/{vue-ui-table-sparkline-B3zEeq6Z.js → vue-ui-table-sparkline-D33NLyyx.js} +26 -26
  119. package/dist/{vue-ui-table-sparkline-DYmgfHz4.cjs → vue-ui-table-sparkline-IVMQG6tp.cjs} +1 -1
  120. package/dist/{vue-ui-thermometer-CzPRBt6c.cjs → vue-ui-thermometer-8XDaKLt5.cjs} +1 -1
  121. package/dist/{vue-ui-thermometer-BopiohUh.js → vue-ui-thermometer-DMwZ2O16.js} +40 -40
  122. package/dist/{vue-ui-timer-Bonw69Lt.cjs → vue-ui-timer-B3_-DhDj.cjs} +1 -1
  123. package/dist/{vue-ui-timer-C7WkW8hK.js → vue-ui-timer-D59VSia6.js} +8 -8
  124. package/dist/{vue-ui-tiremarks-BurRtFv4.js → vue-ui-tiremarks-Bczw28td.js} +18 -18
  125. package/dist/{vue-ui-tiremarks-DkIGfq8t.cjs → vue-ui-tiremarks-Br_jF9bH.cjs} +1 -1
  126. package/dist/{vue-ui-treemap-DWy4voIr.js → vue-ui-treemap-DGJNw2WX.js} +29 -29
  127. package/dist/{vue-ui-treemap-CalhJmnp.cjs → vue-ui-treemap-DLHdaXss.cjs} +1 -1
  128. package/dist/vue-ui-vertical-bar-BGYrmyAK.cjs +4 -0
  129. package/dist/{vue-ui-vertical-bar-CJW1YhtY.js → vue-ui-vertical-bar-De0N4Ggo.js} +14 -14
  130. package/dist/{vue-ui-waffle-faQMBYNx.cjs → vue-ui-waffle-CJPVEDgC.cjs} +1 -1
  131. package/dist/{vue-ui-waffle-DB7X6nTS.js → vue-ui-waffle-CnXLf5xd.js} +84 -84
  132. package/dist/{vue-ui-wheel-CryKap2E.js → vue-ui-wheel-Bciq0JM9.js} +24 -24
  133. package/dist/{vue-ui-wheel-BzjbGP6a.cjs → vue-ui-wheel-CAKYmn0b.cjs} +1 -1
  134. package/dist/{vue-ui-word-cloud-DJN9I4q4.cjs → vue-ui-word-cloud-4ooTRM2O.cjs} +1 -1
  135. package/dist/{vue-ui-word-cloud-COqUkvei.js → vue-ui-word-cloud-CWm6r9Zf.js} +19 -19
  136. package/dist/{vue-ui-xy-b1Z_HPsx.js → vue-ui-xy-B5nBhYgd.js} +351 -350
  137. package/dist/vue-ui-xy-Ch5hDEec.cjs +3 -0
  138. package/dist/{vue-ui-xy-canvas-BgbLnY5B.js → vue-ui-xy-canvas-CzLTSmDS.js} +18 -18
  139. package/dist/vue-ui-xy-canvas-d-EE9_dN.cjs +9 -0
  140. package/package.json +1 -1
  141. package/dist/Tooltip-DScSrYXJ.cjs +0 -1
  142. package/dist/index-BTgtr0F8.cjs +0 -4
  143. package/dist/vue-ui-3d-bar-DzmcGuqh.cjs +0 -19
  144. package/dist/vue-ui-age-pyramid-C7qr9EwB.cjs +0 -1
  145. package/dist/vue-ui-chestnut-DJkm72oD.cjs +0 -6
  146. package/dist/vue-ui-cursor-BQbeuW-k.cjs +0 -1
  147. package/dist/vue-ui-donut-evolution-DOe-cwLi.cjs +0 -1
  148. package/dist/vue-ui-donut-v81suIOX.cjs +0 -1
  149. package/dist/vue-ui-gauge-BUB7H0qA.cjs +0 -1
  150. package/dist/vue-ui-mood-radar-DD8R9BpJ.cjs +0 -1
  151. package/dist/vue-ui-quadrant-CgApzie6.cjs +0 -1
  152. package/dist/vue-ui-relation-circle-CRcQ6Zcy.cjs +0 -1
  153. package/dist/vue-ui-scatter-B8StSjt8.cjs +0 -1
  154. package/dist/vue-ui-skeleton-CMQzFTs9.cjs +0 -41
  155. package/dist/vue-ui-spark-trend-CdIoxaqb.cjs +0 -1
  156. package/dist/vue-ui-sparkbar-C3i1K7hi.cjs +0 -1
  157. package/dist/vue-ui-sparkhistogram-CvTYEmbz.cjs +0 -1
  158. package/dist/vue-ui-sparkline-CDowaDRS.cjs +0 -1
  159. package/dist/vue-ui-vertical-bar-rwWp-sai.cjs +0 -4
  160. package/dist/vue-ui-xy-BmA0tspd.cjs +0 -3
  161. package/dist/vue-ui-xy-canvas-DOM2Kq_s.cjs +0 -9
@@ -1,20 +1,20 @@
1
- import { computed as k, ref as g, watch as He, onMounted as Je, onBeforeUnmount as Ke, openBlock as o, createElementBlock as r, normalizeClass as We, normalizeStyle as Y, createBlock as q, createCommentVNode as d, unref as y, createSlots as Qe, withCtx as w, renderSlot as T, normalizeProps as ae, guardReactiveProps as oe, createElementVNode as c, Fragment as P, renderList as X, toDisplayString as $, createVNode as Fe, createTextVNode as Ze, nextTick as et } from "vue";
2
- import { u as tt, c as lt, t as at, a as ot, p as U, o as st, e as ce, b as ut, g as Oe, P as Xe, X as rt, R as it, w as de, i as j, s as M, f as W, x as nt, y as yt, q as vt, r as ct } from "./index-CaV1s-yZ.js";
1
+ import { computed as k, ref as g, watch as He, onMounted as Qe, onBeforeUnmount as Je, openBlock as o, createElementBlock as r, normalizeClass as Pe, normalizeStyle as Y, createBlock as q, createCommentVNode as d, unref as y, createSlots as Ke, withCtx as w, renderSlot as T, normalizeProps as ae, guardReactiveProps as oe, createElementVNode as c, Fragment as W, renderList as X, toDisplayString as M, createVNode as Fe, createTextVNode as Ze, nextTick as et } from "vue";
2
+ import { u as tt, c as lt, t as at, a as ot, p as U, o as st, e as ce, b as ut, g as Oe, Q as Xe, X as rt, S as it, s as de, i as j, v as $, f as P, x as nt, y as yt, q as vt, r as ct } from "./index-0KN57HdM.js";
3
3
  import { t as dt, u as ht } from "./useResponsive-NZB-WLRF.js";
4
- import { _ as pt } from "./Title-gUz6GDA3.js";
5
- import { u as ft, U as gt } from "./usePrinter-rvJyT65A.js";
6
- import { _ as xt } from "./Tooltip-DfSM1mNP.js";
7
- import { L as mt } from "./Legend-5cQ0xZjK.js";
8
- import { _ as Ie } from "./Shape-CiTElr_0.js";
9
- import { D as bt } from "./DataTable-e2fnfjXV.js";
10
- import kt from "./vue-ui-skeleton-CvFX_ExX.js";
11
- import _t from "./vue-ui-accordion-CpzGQ63y.js";
12
- import { u as De } from "./useNestedProp-tWCzZrLx.js";
4
+ import { _ as pt } from "./Title-gvR5aS6q.js";
5
+ import { u as ft, U as gt } from "./usePrinter-BvKYEc1z.js";
6
+ import { _ as xt } from "./Tooltip-BGmkuAK4.js";
7
+ import { L as mt } from "./Legend-BVByqGqZ.js";
8
+ import { _ as Ie } from "./Shape-Clmb3iTX.js";
9
+ import { D as bt } from "./DataTable-OAUXdIYA.js";
10
+ import kt from "./vue-ui-skeleton-dgMXr8k9.js";
11
+ import _t from "./vue-ui-accordion-CczyfFaC.js";
12
+ import { u as De } from "./useNestedProp-NeGalTYk.js";
13
13
  import { _ as wt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
14
- const $t = ["id"], Mt = ["xmlns", "viewBox"], Ct = { key: 0 }, zt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], St = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], At = { key: 1 }, Lt = ["points", "fill", "stroke-width", "stroke-dasharray", "stroke"], Tt = { key: 0 }, Bt = ["cx", "cy", "r", "fill", "stroke", "stroke-width", "onMouseover"], Nt = { key: 1 }, Pt = { key: 2 }, Wt = ["id"], Ft = ["stop-color"], Ot = ["stop-color"], Xt = ["id"], It = ["stop-color"], Dt = ["stop-color"], Yt = ["x", "y", "width", "height", "fill", "stroke", "stroke-width", "rx"], jt = ["x", "y", "height", "width", "fill", "stroke", "stroke-width", "rx"], Et = { key: 0 }, Vt = ["d", "stroke", "stroke-width"], Gt = ["d", "stroke", "stroke-width"], Rt = ["d", "stroke", "stroke-width"], qt = ["d", "stroke", "stroke-width"], Ut = {
14
+ const Mt = ["id"], $t = ["xmlns", "viewBox"], Ct = { key: 0 }, zt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], St = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], At = { key: 1 }, Lt = ["points", "fill", "stroke-width", "stroke-dasharray", "stroke"], Tt = { key: 0 }, Bt = ["cx", "cy", "r", "fill", "stroke", "stroke-width", "onMouseover"], Nt = { key: 1 }, Wt = { key: 2 }, Pt = ["id"], Ft = ["stop-color"], Ot = ["stop-color"], Xt = ["id"], It = ["stop-color"], Dt = ["stop-color"], Yt = ["x", "y", "width", "height", "fill", "stroke", "stroke-width", "rx"], jt = ["x", "y", "height", "width", "fill", "stroke", "stroke-width", "rx"], Et = { key: 0 }, Vt = ["d", "stroke", "stroke-width"], Gt = ["d", "stroke", "stroke-width"], Rt = ["d", "stroke", "stroke-width"], qt = ["d", "stroke", "stroke-width"], Ut = {
15
15
  key: 3,
16
16
  style: { "pointer-events": "none !important" }
17
- }, Ht = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], Jt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], Kt = ["x", "y", "font-size", "fill", "font-weight", "text-anchor"], Qt = ["x", "y", "font-size", "fill", "font-weight"], Zt = ["cx", "cy", "r", "fill", "stroke", "stroke-width"], el = ["cx", "cy", "r", "fill", "stroke", "stroke-width"], tl = ["x", "y", "font-size", "fill", "font-weight", "text-anchor"], ll = { key: 4 }, al = ["x", "y", "font-size", "fill"], ol = ["x", "y", "font-size", "fill"], sl = ["id", "transform", "font-size", "font-weight", "fill"], ul = { key: 5 }, rl = ["x", "y", "font-size", "fill"], il = ["x", "y", "font-size", "fill"], nl = ["font-size", "font-weight", "fill", "x", "y"], yl = ["id"], vl = ["x", "y", "width", "height"], cl = { key: 6 }, dl = ["x1", "x2", "y1", "y2", "stroke-dasharray", "stroke", "stroke-width", "clip-path"], hl = ["x", "y", "fill", "font-size", "font-weight"], pl = {
17
+ }, Ht = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], Qt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], Jt = ["x", "y", "font-size", "fill", "font-weight", "text-anchor"], Kt = ["x", "y", "font-size", "fill", "font-weight"], Zt = ["cx", "cy", "r", "fill", "stroke", "stroke-width"], el = ["cx", "cy", "r", "fill", "stroke", "stroke-width"], tl = ["x", "y", "font-size", "fill", "font-weight", "text-anchor"], ll = { key: 4 }, al = ["x", "y", "font-size", "fill"], ol = ["x", "y", "font-size", "fill"], sl = ["id", "transform", "font-size", "font-weight", "fill"], ul = { key: 5 }, rl = ["x", "y", "font-size", "fill"], il = ["x", "y", "font-size", "fill"], nl = ["font-size", "font-weight", "fill", "x", "y"], yl = ["id"], vl = ["x", "y", "width", "height"], cl = { key: 6 }, dl = ["x1", "x2", "y1", "y2", "stroke-dasharray", "stroke", "stroke-width", "clip-path"], hl = ["x", "y", "fill", "font-size", "font-weight"], pl = {
18
18
  key: 3,
19
19
  class: "vue-data-ui-watermark"
20
20
  }, fl = ["onClick"], gl = {
@@ -42,7 +42,7 @@ const $t = ["id"], Mt = ["xmlns", "viewBox"], Ct = { key: 0 }, zt = ["x1", "x2",
42
42
  }
43
43
  },
44
44
  setup(Ye, { expose: je }) {
45
- const F = Ye, { vue_ui_scatter: Ee } = tt(), Q = k(() => !!F.dataset && F.dataset.length), C = g(lt()), Ve = g(null), se = g(!1), ue = g(""), he = g(0), J = g(null), pe = g(null), fe = g(null), ge = g(0), xe = g(0), me = g(0), e = k({
45
+ const F = Ye, { vue_ui_scatter: Ee } = tt(), K = k(() => !!F.dataset && F.dataset.length), C = g(lt()), Ve = g(null), se = g(!1), ue = g(""), he = g(0), Q = g(null), pe = g(null), fe = g(null), ge = g(0), xe = g(0), me = g(0), e = k({
46
46
  get: () => be(),
47
47
  set: (l) => l
48
48
  });
@@ -63,7 +63,7 @@ const $t = ["id"], Mt = ["xmlns", "viewBox"], Ct = { key: 0 }, zt = ["x1", "x2",
63
63
  e.value = be(), ke(), ge.value += 1, xe.value += 1, me.value += 1;
64
64
  }, { deep: !0 });
65
65
  const Z = g(null);
66
- Je(() => {
66
+ Qe(() => {
67
67
  ke();
68
68
  });
69
69
  function ke() {
@@ -73,19 +73,19 @@ const $t = ["id"], Mt = ["xmlns", "viewBox"], Ct = { key: 0 }, zt = ["x1", "x2",
73
73
  }), e.value.responsive) {
74
74
  const l = dt(() => {
75
75
  const { width: i, height: t } = ht({
76
- chart: J.value,
76
+ chart: Q.value,
77
77
  title: e.value.style.title.text ? pe.value : null,
78
78
  legend: e.value.style.legend.show ? fe.value : null
79
79
  });
80
80
  z.value.width = i, z.value.height = t;
81
81
  });
82
- Z.value = new ResizeObserver(l), Z.value.observe(J.value.parentNode);
82
+ Z.value = new ResizeObserver(l), Z.value.observe(Q.value.parentNode);
83
83
  }
84
84
  }
85
- Ke(() => {
85
+ Je(() => {
86
86
  Z.value && Z.value.disconnect();
87
87
  });
88
- const { isPrinting: _e, isImaging: we, generatePdf: $e, generateImage: Me } = ft({
88
+ const { isPrinting: _e, isImaging: we, generatePdf: Me, generateImage: $e } = ft({
89
89
  elementId: `vue-ui-scatter_${C.value}`,
90
90
  fileName: e.value.style.title.text || "vue-ui-scatter"
91
91
  }), Ce = k(() => ut(e.value.customPalette)), I = g({
@@ -262,7 +262,7 @@ const $t = ["id"], Mt = ["xmlns", "viewBox"], Ct = { key: 0 }, zt = ["x1", "x2",
262
262
  }) : (l.clusterName && (t += `<div style="display:flex;gap:3px;align-items:center">${l.clusterName}</div>`), l.v.name && (t += `<div>${l.v.name}</div>`), t += `<div style="text-align:left;margin-top:6px;padding-top:6px;border-top:1px solid ${e.value.style.tooltip.borderColor}">`, t += `<div>${e.value.style.layout.dataLabels.xAxis.name}: <b>${isNaN(l.v.x) ? "-" : j(
263
263
  e.value.style.layout.plots.selectors.labels.x.formatter,
264
264
  l.v.x,
265
- W({
265
+ P({
266
266
  p: e.value.style.tooltip.prefix,
267
267
  v: l.v.x,
268
268
  s: e.value.style.tooltip.suffix,
@@ -272,14 +272,14 @@ const $t = ["id"], Mt = ["xmlns", "viewBox"], Ct = { key: 0 }, zt = ["x1", "x2",
272
272
  )}</b></div>`, t += `<div>${e.value.style.layout.dataLabels.yAxis.name}: <b>${isNaN(l.v.y) ? "-" : j(
273
273
  e.value.style.layout.plots.selectors.labels.y.formatter,
274
274
  l.v.y,
275
- W({
275
+ P({
276
276
  p: e.value.style.tooltip.prefix,
277
277
  v: l.v.y,
278
278
  s: e.value.style.tooltip.suffix,
279
279
  r: e.value.style.tooltip.roundingValue
280
280
  }),
281
281
  { datapoint: l, seriesIndex: i }
282
- )}</b></div>`, t += `${e.value.style.layout.plots.deviation.translation}: <b>${W({
282
+ )}</b></div>`, t += `${e.value.style.layout.plots.deviation.translation}: <b>${P({
283
283
  v: l.deviation,
284
284
  r: e.value.style.layout.plots.deviation.roundingValue
285
285
  })}</b>`, t += "</div>", ue.value = `<div>${t}</div>`), se.value = !0;
@@ -334,27 +334,27 @@ const $t = ["id"], Mt = ["xmlns", "viewBox"], Ct = { key: 0 }, zt = ["x1", "x2",
334
334
  breakpoint: e.value.table.responsiveBreakpoint
335
335
  };
336
336
  return { head: l, body: i, config: t, colNames: l };
337
- }), K = g(!1);
337
+ }), J = g(!1);
338
338
  function Ue(l) {
339
- K.value = l, he.value += 1;
339
+ J.value = l, he.value += 1;
340
340
  }
341
341
  function Ne() {
342
342
  I.value.showTable = !I.value.showTable;
343
343
  }
344
- function Pe() {
344
+ function We() {
345
345
  I.value.showTooltip = !I.value.showTooltip;
346
346
  }
347
347
  return je({
348
348
  getData: Re,
349
- generatePdf: $e,
349
+ generatePdf: Me,
350
350
  generateCsv: Be,
351
- generateImage: Me,
351
+ generateImage: $e,
352
352
  toggleTable: Ne,
353
- toggleTooltip: Pe
353
+ toggleTooltip: We
354
354
  }), (l, i) => (o(), r("div", {
355
- class: We(`vue-ui-scatter ${K.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.value.useCssAnimation ? "" : "vue-ui-dna"}`),
355
+ class: Pe(`vue-ui-scatter ${J.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.value.useCssAnimation ? "" : "vue-ui-dna"}`),
356
356
  ref_key: "scatterChart",
357
- ref: J,
357
+ ref: Q,
358
358
  id: `vue-ui-scatter_${C.value}`,
359
359
  style: Y(`font-family:${e.value.style.fontFamily};width:100%; text-align:center;${e.value.style.title.text ? "" : "padding-top:36px"};background:${e.value.style.backgroundColor};${e.value.responsive ? "height: 100%" : ""}`)
360
360
  }, [
@@ -378,7 +378,7 @@ const $t = ["id"], Mt = ["xmlns", "viewBox"], Ct = { key: 0 }, zt = ["x1", "x2",
378
378
  }
379
379
  }, null, 8, ["config"]))
380
380
  ], 4)) : d("", !0),
381
- e.value.userOptions.show && Q.value ? (o(), q(gt, {
381
+ e.value.userOptions.show && K.value ? (o(), q(gt, {
382
382
  ref_key: "details",
383
383
  ref: Ve,
384
384
  key: `user_options_${he.value}`,
@@ -394,16 +394,16 @@ const $t = ["id"], Mt = ["xmlns", "viewBox"], Ct = { key: 0 }, zt = ["x1", "x2",
394
394
  hasTable: e.value.userOptions.buttons.table,
395
395
  hasFullscreen: e.value.userOptions.buttons.fullscreen,
396
396
  isTooltip: I.value.showTooltip,
397
- isFullscreen: K.value,
397
+ isFullscreen: J.value,
398
398
  titles: { ...e.value.userOptions.buttonTitles },
399
- chartElement: J.value,
399
+ chartElement: Q.value,
400
400
  onToggleFullscreen: Ue,
401
- onGeneratePdf: y($e),
401
+ onGeneratePdf: y(Me),
402
402
  onGenerateCsv: Be,
403
- onGenerateImage: y(Me),
403
+ onGenerateImage: y($e),
404
404
  onToggleTable: Ne,
405
- onToggleTooltip: Pe
406
- }, Qe({ _: 2 }, [
405
+ onToggleTooltip: We
406
+ }, Ke({ _: 2 }, [
407
407
  l.$slots.optionTooltip ? {
408
408
  name: "optionTooltip",
409
409
  fn: w(() => [
@@ -447,10 +447,10 @@ const $t = ["id"], Mt = ["xmlns", "viewBox"], Ct = { key: 0 }, zt = ["x1", "x2",
447
447
  key: "5"
448
448
  } : void 0
449
449
  ]), 1032, ["backgroundColor", "color", "isImaging", "isPrinting", "uid", "hasTooltip", "hasPdf", "hasImg", "hasXls", "hasTable", "hasFullscreen", "isTooltip", "isFullscreen", "titles", "chartElement", "onGeneratePdf", "onGenerateImage"])) : d("", !0),
450
- Q.value ? (o(), r("svg", {
450
+ K.value ? (o(), r("svg", {
451
451
  key: 2,
452
452
  xmlns: y(rt),
453
- class: We({ "vue-data-ui-fullscreen--on": K.value, "vue-data-ui-fulscreen--off": !K.value }),
453
+ class: Pe({ "vue-data-ui-fullscreen--on": J.value, "vue-data-ui-fulscreen--off": !J.value }),
454
454
  viewBox: `0 0 ${z.value.width <= 0 ? 10 : z.value.width} ${z.value.height <= 0 ? 10 : z.value.height}`,
455
455
  style: Y(`max-width:100%;overflow:visible;background:${e.value.style.backgroundColor};color:${e.value.style.color}`)
456
456
  }, [
@@ -475,11 +475,11 @@ const $t = ["id"], Mt = ["xmlns", "viewBox"], Ct = { key: 0 }, zt = ["x1", "x2",
475
475
  }, null, 8, St)
476
476
  ])) : d("", !0),
477
477
  e.value.style.layout.plots.giftWrap.show ? (o(), r("g", At, [
478
- (o(!0), r(P, null, X(S.value, (t, s) => (o(), r("g", null, [
478
+ (o(!0), r(W, null, X(S.value, (t, s) => (o(), r("g", null, [
479
479
  t.plots.length > 2 ? (o(), r("polygon", {
480
480
  key: 0,
481
481
  points: y(it)({ series: t.plots }),
482
- fill: `${t.color}${y(de)[e.value.style.layout.plots.giftWrap.fillOpacity * 100]}`,
482
+ fill: y(de)(t.color, e.value.style.layout.plots.giftWrap.fillOpacity * 100),
483
483
  "stroke-width": e.value.style.layout.plots.giftWrap.strokeWidth,
484
484
  "stroke-dasharray": e.value.style.layout.plots.giftWrap.strokeDasharray,
485
485
  stroke: t.color,
@@ -488,13 +488,13 @@ const $t = ["id"], Mt = ["xmlns", "viewBox"], Ct = { key: 0 }, zt = ["x1", "x2",
488
488
  }, null, 8, Lt)) : d("", !0)
489
489
  ]))), 256))
490
490
  ])) : d("", !0),
491
- (o(!0), r(P, null, X(S.value, (t, s) => (o(), r("g", null, [
491
+ (o(!0), r(W, null, X(S.value, (t, s) => (o(), r("g", null, [
492
492
  !t.shape || t.shape === "circle" ? (o(), r("g", Tt, [
493
- (o(!0), r(P, null, X(t.plots, (a, n) => (o(), r("circle", {
493
+ (o(!0), r(W, null, X(t.plots, (a, n) => (o(), r("circle", {
494
494
  cx: a.x,
495
495
  cy: a.y,
496
496
  r: B.value && B.value === a.id ? a.weight * 2 : a.weight,
497
- fill: `${t.color}${y(de)[e.value.style.layout.plots.opacity * 100]}`,
497
+ fill: y(de)(t.color, e.value.style.layout.plots.opacity * 100),
498
498
  stroke: e.value.style.layout.plots.stroke,
499
499
  "stroke-width": e.value.style.layout.plots.strokeWidth,
500
500
  onMouseover: (m) => Ae(a, s),
@@ -502,11 +502,11 @@ const $t = ["id"], Mt = ["xmlns", "viewBox"], Ct = { key: 0 }, zt = ["x1", "x2",
502
502
  style: Y(`opacity:${B.value && B.value === a.id ? 1 : e.value.style.layout.plots.significance.useDistanceOpacity ? 1 - Math.abs(a.deviation) / ze.value : e.value.style.layout.plots.significance.show && Math.abs(a.deviation) > e.value.style.layout.plots.significance.deviationThreshold ? e.value.style.layout.plots.significance.opacity : 1}`)
503
503
  }, null, 44, Bt))), 256))
504
504
  ])) : (o(), r("g", Nt, [
505
- (o(!0), r(P, null, X(t.plots, (a, n) => (o(), q(Ie, {
505
+ (o(!0), r(W, null, X(t.plots, (a, n) => (o(), q(Ie, {
506
506
  plot: { x: a.x, y: a.y },
507
507
  radius: B.value && B.value === a.id ? a.weight * 2 : a.weight,
508
508
  shape: t.shape,
509
- color: `${t.color}${y(de)[e.value.style.layout.plots.opacity * 100]}`,
509
+ color: y(de)(t.color, e.value.style.layout.plots.opacity * 100),
510
510
  stroke: e.value.style.layout.plots.stroke,
511
511
  strokeWidth: e.value.style.layout.plots.strokeWidth,
512
512
  onMouseover: (m) => Ae(a, s),
@@ -515,7 +515,7 @@ const $t = ["id"], Mt = ["xmlns", "viewBox"], Ct = { key: 0 }, zt = ["x1", "x2",
515
515
  }, null, 8, ["plot", "radius", "shape", "color", "stroke", "strokeWidth", "onMouseover", "style"]))), 256))
516
516
  ]))
517
517
  ]))), 256)),
518
- e.value.style.layout.marginalBars.show ? (o(), r("g", Pt, [
518
+ e.value.style.layout.marginalBars.show ? (o(), r("g", Wt, [
519
519
  c("defs", null, [
520
520
  c("linearGradient", {
521
521
  id: `marginal_x_${C.value}`,
@@ -532,7 +532,7 @@ const $t = ["id"], Mt = ["xmlns", "viewBox"], Ct = { key: 0 }, zt = ["x1", "x2",
532
532
  offset: "100%",
533
533
  "stop-color": e.value.style.backgroundColor
534
534
  }, null, 8, Ot)
535
- ], 8, Wt),
535
+ ], 8, Pt),
536
536
  c("linearGradient", {
537
537
  id: `marginal_y_${C.value}`,
538
538
  x1: "0%",
@@ -550,7 +550,7 @@ const $t = ["id"], Mt = ["xmlns", "viewBox"], Ct = { key: 0 }, zt = ["x1", "x2",
550
550
  }, null, 8, Dt)
551
551
  ], 8, Xt)
552
552
  ]),
553
- (o(!0), r(P, null, X(A.value.x, (t, s) => (o(), r("g", null, [
553
+ (o(!0), r(W, null, X(A.value.x, (t, s) => (o(), r("g", null, [
554
554
  t && A.value.avgX[s] ? (o(), r("rect", {
555
555
  key: 0,
556
556
  x: A.value.avgX[s] - u.value.width / D.value / 2,
@@ -564,7 +564,7 @@ const $t = ["id"], Mt = ["xmlns", "viewBox"], Ct = { key: 0 }, zt = ["x1", "x2",
564
564
  rx: e.value.style.layout.marginalBars.borderRadius
565
565
  }, null, 12, Yt)) : d("", !0)
566
566
  ]))), 256)),
567
- (o(!0), r(P, null, X(A.value.y, (t, s) => (o(), r("g", null, [
567
+ (o(!0), r(W, null, X(A.value.y, (t, s) => (o(), r("g", null, [
568
568
  t && A.value.avgY[s] ? (o(), r("rect", {
569
569
  key: 0,
570
570
  x: u.value.right + e.value.style.layout.marginalBars.offset,
@@ -579,7 +579,7 @@ const $t = ["id"], Mt = ["xmlns", "viewBox"], Ct = { key: 0 }, zt = ["x1", "x2",
579
579
  }, null, 12, jt)) : d("", !0)
580
580
  ]))), 256)),
581
581
  e.value.style.layout.marginalBars.showLines ? (o(), r("g", Et, [
582
- (o(!0), r(P, null, X(qe.value, (t) => (o(), r(P, null, [
582
+ (o(!0), r(W, null, X(qe.value, (t) => (o(), r(W, null, [
583
583
  x.value.includes(t.id) ? d("", !0) : (o(), r("path", {
584
584
  key: 0,
585
585
  d: `M ${t.dX}`,
@@ -641,7 +641,7 @@ const $t = ["id"], Mt = ["xmlns", "viewBox"], Ct = { key: 0 }, zt = ["x1", "x2",
641
641
  "stroke-dasharray": e.value.style.layout.plots.selectors.strokeDasharray,
642
642
  "stroke-linecap": "round",
643
643
  class: "line-pointer"
644
- }, null, 8, Jt),
644
+ }, null, 8, Qt),
645
645
  c("text", {
646
646
  x: p.value.x + (v.value.x > p.value.x ? -6 : 6),
647
647
  y: v.value.y + e.value.style.layout.plots.selectors.labels.fontSize / 3,
@@ -649,17 +649,17 @@ const $t = ["id"], Mt = ["xmlns", "viewBox"], Ct = { key: 0 }, zt = ["x1", "x2",
649
649
  fill: e.value.style.layout.plots.selectors.labels.color,
650
650
  "font-weight": e.value.style.layout.plots.selectors.labels.bold ? "bold" : "normal",
651
651
  "text-anchor": v.value.x > p.value.x ? "end" : "start"
652
- }, $(y(j)(
652
+ }, M(y(j)(
653
653
  e.value.style.layout.plots.selectors.labels.y.formatter,
654
- y(M)(v.value.v.y),
655
- y(W)({
654
+ y($)(v.value.v.y),
655
+ y(P)({
656
656
  p: e.value.style.layout.plots.selectors.labels.prefix,
657
- v: y(M)(v.value.v.y),
657
+ v: y($)(v.value.v.y),
658
658
  s: e.value.style.layout.plots.selectors.labels.suffix,
659
659
  r: e.value.style.layout.plots.selectors.labels.rounding
660
660
  }),
661
661
  { datapoint: v.value }
662
- )), 9, Kt),
662
+ )), 9, Jt),
663
663
  c("text", {
664
664
  x: v.value.x,
665
665
  y: p.value.y + (v.value.y > p.value.y ? -6 : e.value.style.layout.plots.selectors.labels.fontSize + 6),
@@ -667,17 +667,17 @@ const $t = ["id"], Mt = ["xmlns", "viewBox"], Ct = { key: 0 }, zt = ["x1", "x2",
667
667
  fill: e.value.style.layout.plots.selectors.labels.color,
668
668
  "font-weight": e.value.style.layout.plots.selectors.labels.bold ? "bold" : "normal",
669
669
  "text-anchor": "middle"
670
- }, $(y(j)(
670
+ }, M(y(j)(
671
671
  e.value.style.layout.plots.selectors.labels.y.formatter,
672
- y(M)(v.value.v.x),
673
- y(W)({
672
+ y($)(v.value.v.x),
673
+ y(P)({
674
674
  p: e.value.style.layout.plots.selectors.labels.prefix,
675
- v: y(M)(v.value.v.x),
675
+ v: y($)(v.value.v.x),
676
676
  s: e.value.style.layout.plots.selectors.labels.suffix,
677
677
  r: e.value.style.layout.plots.selectors.labels.rounding
678
678
  }),
679
679
  { datapoint: v.value }
680
- )), 9, Qt),
680
+ )), 9, Kt),
681
681
  c("circle", {
682
682
  cx: p.value.x,
683
683
  cy: v.value.y,
@@ -704,7 +704,7 @@ const $t = ["id"], Mt = ["xmlns", "viewBox"], Ct = { key: 0 }, zt = ["x1", "x2",
704
704
  fill: e.value.style.layout.plots.selectors.labels.color,
705
705
  "font-weight": e.value.style.layout.plots.selectors.labels.bold ? "bold" : "normal",
706
706
  "text-anchor": v.value.x < u.value.left + 100 ? "start" : v.value.x > u.value.right - 100 ? "end" : v.value.x > p.value.x ? "start" : "end"
707
- }, $(v.value.v.name), 9, tl)) : d("", !0)
707
+ }, M(v.value.v.name), 9, tl)) : d("", !0)
708
708
  ])) : d("", !0),
709
709
  e.value.style.layout.dataLabels.xAxis.show ? (o(), r("g", ll, [
710
710
  c("text", {
@@ -713,12 +713,12 @@ const $t = ["id"], Mt = ["xmlns", "viewBox"], Ct = { key: 0 }, zt = ["x1", "x2",
713
713
  "text-anchor": "end",
714
714
  "font-size": e.value.style.layout.dataLabels.xAxis.fontSize,
715
715
  fill: e.value.style.layout.dataLabels.xAxis.color
716
- }, $(y(j)(
716
+ }, M(y(j)(
717
717
  e.value.style.layout.plots.selectors.labels.x.formatter,
718
- y(M)(h.value.xMin),
719
- y(W)({
718
+ y($)(h.value.xMin),
719
+ y(P)({
720
720
  p: e.value.style.layout.plots.selectors.labels.prefix,
721
- v: y(M)(h.value.xMin),
721
+ v: y($)(h.value.xMin),
722
722
  s: e.value.style.layout.plots.selectors.labels.suffix,
723
723
  r: e.value.style.layout.dataLabels.xAxis.rounding
724
724
  })
@@ -729,12 +729,12 @@ const $t = ["id"], Mt = ["xmlns", "viewBox"], Ct = { key: 0 }, zt = ["x1", "x2",
729
729
  "text-anchor": "start",
730
730
  "font-size": e.value.style.layout.dataLabels.xAxis.fontSize,
731
731
  fill: e.value.style.layout.dataLabels.xAxis.color
732
- }, $(y(j)(
732
+ }, M(y(j)(
733
733
  e.value.style.layout.plots.selectors.labels.x.formatter,
734
- y(M)(h.value.xMax),
735
- y(W)({
734
+ y($)(h.value.xMax),
735
+ y(P)({
736
736
  p: e.value.style.layout.plots.selectors.labels.prefix,
737
- v: y(M)(h.value.xMax),
737
+ v: y($)(h.value.xMax),
738
738
  s: e.value.style.layout.plots.selectors.labels.suffix,
739
739
  r: e.value.style.layout.dataLabels.xAxis.rounding
740
740
  })
@@ -746,7 +746,7 @@ const $t = ["id"], Mt = ["xmlns", "viewBox"], Ct = { key: 0 }, zt = ["x1", "x2",
746
746
  "font-size": e.value.style.layout.dataLabels.xAxis.fontSize,
747
747
  "font-weight": e.value.style.layout.dataLabels.xAxis.bold ? "bold" : "normal",
748
748
  fill: e.value.style.layout.dataLabels.xAxis.color
749
- }, $(e.value.style.layout.dataLabels.xAxis.name), 9, sl)
749
+ }, M(e.value.style.layout.dataLabels.xAxis.name), 9, sl)
750
750
  ])) : d("", !0),
751
751
  e.value.style.layout.dataLabels.yAxis.show ? (o(), r("g", ul, [
752
752
  c("text", {
@@ -755,12 +755,12 @@ const $t = ["id"], Mt = ["xmlns", "viewBox"], Ct = { key: 0 }, zt = ["x1", "x2",
755
755
  "text-anchor": "middle",
756
756
  "font-size": e.value.style.layout.dataLabels.yAxis.fontSize,
757
757
  fill: e.value.style.layout.dataLabels.yAxis.color
758
- }, $(y(j)(
758
+ }, M(y(j)(
759
759
  e.value.style.layout.plots.selectors.labels.y.formatter,
760
- y(M)(h.value.yMin),
761
- y(W)({
760
+ y($)(h.value.yMin),
761
+ y(P)({
762
762
  p: e.value.style.layout.plots.selectors.labels.prefix,
763
- v: y(M)(h.value.yMin),
763
+ v: y($)(h.value.yMin),
764
764
  s: e.value.style.layout.plots.selectors.labels.suffix,
765
765
  r: e.value.style.layout.dataLabels.yAxis.rounding
766
766
  })
@@ -771,12 +771,12 @@ const $t = ["id"], Mt = ["xmlns", "viewBox"], Ct = { key: 0 }, zt = ["x1", "x2",
771
771
  "text-anchor": "middle",
772
772
  "font-size": e.value.style.layout.dataLabels.yAxis.fontSize,
773
773
  fill: e.value.style.layout.dataLabels.yAxis.color
774
- }, $(y(j)(
774
+ }, M(y(j)(
775
775
  e.value.style.layout.plots.selectors.labels.y.formatter,
776
- y(M)(h.value.yMax),
777
- y(W)({
776
+ y($)(h.value.yMax),
777
+ y(P)({
778
778
  p: e.value.style.layout.plots.selectors.labels.prefix,
779
- v: y(M)(h.value.yMax),
779
+ v: y($)(h.value.yMax),
780
780
  s: e.value.style.layout.plots.selectors.labels.suffix,
781
781
  r: e.value.style.layout.dataLabels.yAxis.rounding
782
782
  })
@@ -788,7 +788,7 @@ const $t = ["id"], Mt = ["xmlns", "viewBox"], Ct = { key: 0 }, zt = ["x1", "x2",
788
788
  fill: e.value.style.layout.dataLabels.yAxis.color,
789
789
  x: u.value.left + u.value.width / 2,
790
790
  y: u.value.bottom + 8 + e.value.style.layout.dataLabels.yAxis.fontSize * 2
791
- }, $(e.value.style.layout.dataLabels.yAxis.name), 9, nl)
791
+ }, M(e.value.style.layout.dataLabels.yAxis.name), 9, nl)
792
792
  ])) : d("", !0),
793
793
  c("clipPath", {
794
794
  id: `clip_path_${C.value}`
@@ -801,7 +801,7 @@ const $t = ["id"], Mt = ["xmlns", "viewBox"], Ct = { key: 0 }, zt = ["x1", "x2",
801
801
  }, null, 8, vl)
802
802
  ], 8, yl),
803
803
  e.value.style.layout.correlation.show ? (o(), r("g", cl, [
804
- (o(!0), r(P, null, X(S.value, (t, s) => (o(), r("line", {
804
+ (o(!0), r(W, null, X(S.value, (t, s) => (o(), r("line", {
805
805
  x1: t.correlation.x1,
806
806
  x2: t.correlation.x2,
807
807
  y1: t.correlation.y1,
@@ -811,7 +811,7 @@ const $t = ["id"], Mt = ["xmlns", "viewBox"], Ct = { key: 0 }, zt = ["x1", "x2",
811
811
  "stroke-width": e.value.style.layout.correlation.strokeWidth,
812
812
  "clip-path": `url(#clip_path_${C.value})`
813
813
  }, null, 8, dl))), 256)),
814
- (o(!0), r(P, null, X(S.value, (t, s) => (o(), r("g", null, [
814
+ (o(!0), r(W, null, X(S.value, (t, s) => (o(), r("g", null, [
815
815
  e.value.style.layout.correlation.label.show ? (o(), r("text", {
816
816
  key: 0,
817
817
  x: t.label.x,
@@ -819,18 +819,18 @@ const $t = ["id"], Mt = ["xmlns", "viewBox"], Ct = { key: 0 }, zt = ["x1", "x2",
819
819
  fill: e.value.style.layout.correlation.label.useSerieColor ? t.color : e.value.style.layout.correlation.label.color,
820
820
  "font-size": e.value.style.layout.correlation.label.fontSize,
821
821
  "font-weight": e.value.style.layout.correlation.label.bold ? "bold" : "normal"
822
- }, $(y(W)({
823
- v: y(M)(t.correlation.coefficient),
822
+ }, M(y(P)({
823
+ v: y($)(t.correlation.coefficient),
824
824
  r: e.value.style.layout.correlation.label.roundingValue
825
825
  })), 9, hl)) : d("", !0)
826
826
  ]))), 256))
827
827
  ])) : d("", !0),
828
828
  T(l.$slots, "svg", { svg: z.value }, void 0, !0)
829
- ], 14, Mt)) : d("", !0),
829
+ ], 14, $t)) : d("", !0),
830
830
  l.$slots.watermark ? (o(), r("div", pl, [
831
831
  T(l.$slots, "watermark", ae(oe({ isPrinting: y(_e) || y(we) })), void 0, !0)
832
832
  ])) : d("", !0),
833
- Q.value ? d("", !0) : (o(), q(kt, {
833
+ K.value ? d("", !0) : (o(), q(kt, {
834
834
  key: 4,
835
835
  config: {
836
836
  type: "quadrant",
@@ -862,7 +862,7 @@ const $t = ["id"], Mt = ["xmlns", "viewBox"], Ct = { key: 0 }, zt = ["x1", "x2",
862
862
  c("div", {
863
863
  onClick: (s) => t.segregate(),
864
864
  style: Y(`opacity:${x.value.includes(t.id) ? 0.5 : 1}`)
865
- }, $(t.name), 13, fl)
865
+ }, M(t.name), 13, fl)
866
866
  ]),
867
867
  _: 1
868
868
  }, 8, ["legendSet", "config"])) : T(l.$slots, "legend", {
@@ -881,7 +881,7 @@ const $t = ["id"], Mt = ["xmlns", "viewBox"], Ct = { key: 0 }, zt = ["x1", "x2",
881
881
  backgroundOpacity: e.value.style.tooltip.backgroundOpacity,
882
882
  position: e.value.style.tooltip.position,
883
883
  offsetY: e.value.style.tooltip.offsetY,
884
- parent: J.value,
884
+ parent: Q.value,
885
885
  content: ue.value,
886
886
  isCustom: e.value.style.tooltip.customFormat && typeof e.value.style.tooltip.customFormat == "function"
887
887
  }, {
@@ -905,7 +905,7 @@ const $t = ["id"], Mt = ["xmlns", "viewBox"], Ct = { key: 0 }, zt = ["x1", "x2",
905
905
  ]),
906
906
  _: 3
907
907
  }, 8, ["show", "backgroundColor", "color", "borderRadius", "borderColor", "borderWidth", "fontSize", "backgroundOpacity", "position", "offsetY", "parent", "content", "isCustom"]),
908
- Q.value ? (o(), q(_t, {
908
+ K.value ? (o(), q(_t, {
909
909
  key: 5,
910
910
  hideDetails: "",
911
911
  config: {
@@ -932,11 +932,11 @@ const $t = ["id"], Mt = ["xmlns", "viewBox"], Ct = { key: 0 }, zt = ["x1", "x2",
932
932
  onClose: i[1] || (i[1] = (t) => I.value.showTable = !1)
933
933
  }, {
934
934
  th: w(({ th: t }) => [
935
- Ze($(t), 1)
935
+ Ze(M(t), 1)
936
936
  ]),
937
937
  td: w(({ td: t }) => [
938
938
  t.shape ? (o(), r("div", ml, [
939
- c("span", null, $(t.content), 1)
939
+ c("span", null, M(t.content), 1)
940
940
  ])) : (o(), r("div", {
941
941
  key: 1,
942
942
  innerHTML: t
@@ -947,9 +947,9 @@ const $t = ["id"], Mt = ["xmlns", "viewBox"], Ct = { key: 0 }, zt = ["x1", "x2",
947
947
  ]),
948
948
  _: 1
949
949
  }, 8, ["config"])) : d("", !0)
950
- ], 14, $t));
950
+ ], 14, Mt));
951
951
  }
952
- }, Wl = /* @__PURE__ */ wt(kl, [["__scopeId", "data-v-88ab605a"]]);
952
+ }, Pl = /* @__PURE__ */ wt(kl, [["__scopeId", "data-v-1c5d942b"]]);
953
953
  export {
954
- Wl as default
954
+ Pl as default
955
955
  };
@@ -1,5 +1,5 @@
1
1
  import { ref as i, computed as N, openBlock as V, createElementBlock as U, nextTick as G } from "vue";
2
- import { u as K, z as P, A as q } from "./index-CaV1s-yZ.js";
2
+ import { u as K, A as P, B as q } from "./index-0KN57HdM.js";
3
3
  import J from "./html2canvas.esm-d2sM-0Wm.js";
4
4
  const te = {
5
5
  __name: "vue-ui-screenshot",
@@ -12,8 +12,8 @@ const te = {
12
12
  }
13
13
  },
14
14
  emits: ["postImage"],
15
- setup(z, { expose: Y, emit: H }) {
16
- const k = z, { vue_ui_screenshot: C } = K(), $ = i(`vue-ui-screenshot-${Math.random()}`), n = N(() => {
15
+ setup(Y, { expose: z, emit: H }) {
16
+ const k = Y, { vue_ui_screenshot: C } = K(), $ = i(`vue-ui-screenshot-${Math.random()}`), n = N(() => {
17
17
  if (!Object.keys(k.config || {}).length)
18
18
  return C;
19
19
  const e = P({
@@ -149,7 +149,7 @@ const te = {
149
149
  }, { passive: !1 }), document.body.appendChild(e), document.addEventListener("mousedown", A), document.addEventListener("touchstart", A), document.addEventListener("mouseup", X), document.addEventListener("touchend", X);
150
150
  });
151
151
  }
152
- return Y({
152
+ return z({
153
153
  shoot: F,
154
154
  close: E
155
155
  }), (e, t) => (V(), U("div"));
@@ -1,3 +1,3 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("vue"),k=require("./index-BTgtr0F8.cjs"),V=require("./html2canvas.esm-BA_v9SIU.cjs"),U={__name:"vue-ui-screenshot",props:{config:{type:Object,default(){return{}}}},emits:["postImage"],setup(z,{expose:T,emit:H}){const C=z,{vue_ui_screenshot:B}=k.useConfig(),$=i.ref(`vue-ui-screenshot-${Math.random()}`),n=i.computed(()=>{if(!Object.keys(C.config||{}).length)return B;const e=k.treeShake({defaultConfig:B,userConfig:C.config});return k.convertConfigColors(e)}),a=i.ref(null),d=i.ref(null),v=i.ref(null),M=i.ref(null),S=i.ref(null),y=i.ref(null),h=i.ref(null),p=i.ref(null),f=i.ref(null),b=i.ref(null),x=i.ref(null),w=i.ref(!1),I=i.ref(null);function R(){const e=document.createElement("DIV"),{innerWidth:t,innerHeight:l}=window;return e.style.position="fixed",e.style.top=`${l?l/2-n.value.style.captureArea.initialHeight/2:200}px`,e.style.left=`${t?t/2-n.value.style.captureArea.initialWidth/2:100}px`,e.style.width=`${n.value.style.captureArea.initialWidth}px`,e.style.height=`${n.value.style.captureArea.initialHeight}px`,e.style.background=n.value.style.captureArea.background,e.style.cursor="move",e.style.boxSizing="border-box",e.style.border=n.value.style.captureArea.border,e.style.resize="both",e.style.padding="none !important",e.style.margin="none !important",e.dataset.cy="screenshot-overlay",e}function E(){a.value&&(clearTimeout(I.value),a.value.remove(),a.value=null)}function W(e){const t=document.createElement("DIV");t.classList.add("vue-ui-screenshot-info-text"),t.innerHTML=n.value.translations.info,t.dataset.html2canvasIgnore="true",t.dataset.cy="screenshot-info-text",t.style.background=n.value.style.info.background,t.style.color=n.value.style.info.color,t.style.fontWeight=n.value.style.info.bold?"bold":"normal",t.style.minWidth=`${n.value.style.info.minWidth}px`,t.style.left="50%",t.style.padding=`${n.value.style.info.padding}px`,t.style.position="absolute",t.style.textAlign="center",t.style.top=`${n.value.style.info.top}px`,t.style.transform="translateX(-50%)",t.style.borderRadius=`${n.value.style.info.borderRadius}px`,t.style.boxShadow=n.value.style.info.boxShadow,t.style.fontFamily=n.value.style.info.fontFamily,t.style.fontSize=`${n.value.style.info.fontSize}px`,t.style.border=n.value.style.info.border,t.style.userSelect="none";const l=document.createElement("BUTTON");l.classList.add("vue-ui-screenshot-close-button"),l.innerHTML='<svg xmlns="http://www.w3.org/2000/svg" width="28" height="28" viewBox="0 0 24 24" stroke-width="2.5" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M18 6l-12 12" /><path d="M6 6l12 12" /></svg>',l.style.outline="none",l.dataset.cy="screenshot-close-button",l.style.display="flex",l.style.cursor="pointer",l.style.borderRadius="50%",l.style.alignItems="center",l.style.position="absolute",l.style.justifyContent="center",l.style.transformOrigin="center",l.style.top=`${n.value.style.cancelButton.top}px`,l.style.right=`${n.value.style.cancelButton.right}px`,l.style.background=n.value.style.cancelButton.background,l.style.color=n.value.style.cancelButton.color,l.style.border=n.value.style.cancelButton.border,l.style.borderRadius=`${n.value.style.cancelButton.borderRadius}px`,l.style.height=`${n.value.style.cancelButton.size}px`,l.style.width=`${n.value.style.cancelButton.size}px`,l.addEventListener("click",E),t.appendChild(l),e.appendChild(t)}function X(e){a.value&&(w.value=!0,e.touches?(y.value=e.touches[0].clientX,h.value=e.touches[0].clientY):(y.value=e.clientX,h.value=e.clientY),b.value=a.value.getBoundingClientRect().width,x.value=a.value.getBoundingClientRect().height,e.target.addEventListener("mousemove",L),e.target.addEventListener("touchmove",L))}function L(e){if(!a.value)return;let t,l;e.touches?(p.value=e.touches[0].clientX,t=e.touches[0].clientX,f.value=e.touches[0].clientY,l=e.touches[0].clientY):(p.value=e.clientX,t=e.clientX,f.value=e.clientY,l=e.clientY);const u=e.target.classList[0],o=a.value.style;switch(!0){case u==="vue-ui-screenshot-handle-nw":o.top=`${l}px`,o.left=`${t}px`,o.width=`${b.value+(y.value-p.value)}px`,o.height=`${x.value+(h.value-f.value)}px`;break;case u==="vue-ui-screenshot-handle-ne":o.top=`${l}px`,o.width=`${b.value+(p.value-y.value)}px`,o.height=`${x.value+(h.value-f.value)}px`;break;case u==="vue-ui-screenshot-handle-sw":o.left=`${t}px`,o.width=`${b.value+(y.value-p.value)}px`,o.height=`${x.value+(f.value-h.value)}px`;break;case u==="vue-ui-screenshot-handle-se":o.width=`${b.value+(p.value-y.value)}px`,o.height=`${x.value+(f.value-h.value)}px`;break}}function A(e){if(!a.value)return;e.stopPropagation();const t=Array.from(e.target.classList);t.includes("vue-ui-screenshot-handle-se")||t.includes("vue-ui-screenshot-handle-sw")||t.includes("vue-ui-screenshot-handle-nw")||t.includes("vue-ui-screenshot-handle-ne")||(w.value=!0,a.value.style.pointerEvents="auto",e.touches?(d.value=e.touches[0].clientX,v.value=e.touches[0].clientY):(d.value=e.clientX,v.value=e.clientY),M.value=d.value,S.value=v.value,document.addEventListener("mousemove",g),document.addEventListener("touchmove",g),document.addEventListener("mouseup",m),document.addEventListener("touchend",m))}function m(){d.value=null,v.value=null,M.value=null,S.value=null,w.value=!1,document.removeEventListener("mousemove",g),document.removeEventListener("mouseup",m),document.removeEventListener("touchmove",g),document.removeEventListener("touchend",m)}function g(e){if(!a.value)return;const t=a.value.getBoundingClientRect();let l,u;e.touches?(l=e.touches[0].clientX-d.value,u=e.touches[0].clientY-v.value,d.value=e.touches[0].clientX,v.value=e.touches[0].clientY):(l=e.clientX-d.value,u=e.clientY-v.value,d.value=e.clientX,v.value=e.clientY),a.value.style.top=`${t.top+u}px`,a.value.style.left=`${t.left+l}px`}function Y(e){e.target.removeEventListener("mousemove",L),e.target.removeEventListener("touchmove",L),document.removeEventListener("mousemove",g),document.removeEventListener("touchmove",g),document.removeEventListener("mouseup",m),document.removeEventListener("touchend",m),w.value=!1}function D(){const e=navigator.userAgent;return/(tablet|ipad|playbook|silk)|(android(?!.*mobi))/i.test(e)?"tablet":/Mobile|iP(hone|od)|Android|BlackBerry|IEMobile|Kindle|Silk-Accelerated|(hpw|web)OS|Opera M(obi|ini)/.test(e)?"mobile":"desktop"}function O(){const e=document.getElementById(`vue-ui-screenshot-button-${$.value}`);e.innerHTML=`<svg id="saveButtonSvg" xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 20 20" stroke-width="1.5" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round">
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("vue"),k=require("./index-TabZg_HV.cjs"),V=require("./html2canvas.esm-BA_v9SIU.cjs"),U={__name:"vue-ui-screenshot",props:{config:{type:Object,default(){return{}}}},emits:["postImage"],setup(z,{expose:T,emit:H}){const C=z,{vue_ui_screenshot:B}=k.useConfig(),$=i.ref(`vue-ui-screenshot-${Math.random()}`),n=i.computed(()=>{if(!Object.keys(C.config||{}).length)return B;const e=k.treeShake({defaultConfig:B,userConfig:C.config});return k.convertConfigColors(e)}),a=i.ref(null),d=i.ref(null),v=i.ref(null),M=i.ref(null),S=i.ref(null),y=i.ref(null),h=i.ref(null),p=i.ref(null),f=i.ref(null),b=i.ref(null),x=i.ref(null),w=i.ref(!1),I=i.ref(null);function R(){const e=document.createElement("DIV"),{innerWidth:t,innerHeight:l}=window;return e.style.position="fixed",e.style.top=`${l?l/2-n.value.style.captureArea.initialHeight/2:200}px`,e.style.left=`${t?t/2-n.value.style.captureArea.initialWidth/2:100}px`,e.style.width=`${n.value.style.captureArea.initialWidth}px`,e.style.height=`${n.value.style.captureArea.initialHeight}px`,e.style.background=n.value.style.captureArea.background,e.style.cursor="move",e.style.boxSizing="border-box",e.style.border=n.value.style.captureArea.border,e.style.resize="both",e.style.padding="none !important",e.style.margin="none !important",e.dataset.cy="screenshot-overlay",e}function E(){a.value&&(clearTimeout(I.value),a.value.remove(),a.value=null)}function W(e){const t=document.createElement("DIV");t.classList.add("vue-ui-screenshot-info-text"),t.innerHTML=n.value.translations.info,t.dataset.html2canvasIgnore="true",t.dataset.cy="screenshot-info-text",t.style.background=n.value.style.info.background,t.style.color=n.value.style.info.color,t.style.fontWeight=n.value.style.info.bold?"bold":"normal",t.style.minWidth=`${n.value.style.info.minWidth}px`,t.style.left="50%",t.style.padding=`${n.value.style.info.padding}px`,t.style.position="absolute",t.style.textAlign="center",t.style.top=`${n.value.style.info.top}px`,t.style.transform="translateX(-50%)",t.style.borderRadius=`${n.value.style.info.borderRadius}px`,t.style.boxShadow=n.value.style.info.boxShadow,t.style.fontFamily=n.value.style.info.fontFamily,t.style.fontSize=`${n.value.style.info.fontSize}px`,t.style.border=n.value.style.info.border,t.style.userSelect="none";const l=document.createElement("BUTTON");l.classList.add("vue-ui-screenshot-close-button"),l.innerHTML='<svg xmlns="http://www.w3.org/2000/svg" width="28" height="28" viewBox="0 0 24 24" stroke-width="2.5" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M18 6l-12 12" /><path d="M6 6l12 12" /></svg>',l.style.outline="none",l.dataset.cy="screenshot-close-button",l.style.display="flex",l.style.cursor="pointer",l.style.borderRadius="50%",l.style.alignItems="center",l.style.position="absolute",l.style.justifyContent="center",l.style.transformOrigin="center",l.style.top=`${n.value.style.cancelButton.top}px`,l.style.right=`${n.value.style.cancelButton.right}px`,l.style.background=n.value.style.cancelButton.background,l.style.color=n.value.style.cancelButton.color,l.style.border=n.value.style.cancelButton.border,l.style.borderRadius=`${n.value.style.cancelButton.borderRadius}px`,l.style.height=`${n.value.style.cancelButton.size}px`,l.style.width=`${n.value.style.cancelButton.size}px`,l.addEventListener("click",E),t.appendChild(l),e.appendChild(t)}function X(e){a.value&&(w.value=!0,e.touches?(y.value=e.touches[0].clientX,h.value=e.touches[0].clientY):(y.value=e.clientX,h.value=e.clientY),b.value=a.value.getBoundingClientRect().width,x.value=a.value.getBoundingClientRect().height,e.target.addEventListener("mousemove",L),e.target.addEventListener("touchmove",L))}function L(e){if(!a.value)return;let t,l;e.touches?(p.value=e.touches[0].clientX,t=e.touches[0].clientX,f.value=e.touches[0].clientY,l=e.touches[0].clientY):(p.value=e.clientX,t=e.clientX,f.value=e.clientY,l=e.clientY);const u=e.target.classList[0],o=a.value.style;switch(!0){case u==="vue-ui-screenshot-handle-nw":o.top=`${l}px`,o.left=`${t}px`,o.width=`${b.value+(y.value-p.value)}px`,o.height=`${x.value+(h.value-f.value)}px`;break;case u==="vue-ui-screenshot-handle-ne":o.top=`${l}px`,o.width=`${b.value+(p.value-y.value)}px`,o.height=`${x.value+(h.value-f.value)}px`;break;case u==="vue-ui-screenshot-handle-sw":o.left=`${t}px`,o.width=`${b.value+(y.value-p.value)}px`,o.height=`${x.value+(f.value-h.value)}px`;break;case u==="vue-ui-screenshot-handle-se":o.width=`${b.value+(p.value-y.value)}px`,o.height=`${x.value+(f.value-h.value)}px`;break}}function A(e){if(!a.value)return;e.stopPropagation();const t=Array.from(e.target.classList);t.includes("vue-ui-screenshot-handle-se")||t.includes("vue-ui-screenshot-handle-sw")||t.includes("vue-ui-screenshot-handle-nw")||t.includes("vue-ui-screenshot-handle-ne")||(w.value=!0,a.value.style.pointerEvents="auto",e.touches?(d.value=e.touches[0].clientX,v.value=e.touches[0].clientY):(d.value=e.clientX,v.value=e.clientY),M.value=d.value,S.value=v.value,document.addEventListener("mousemove",g),document.addEventListener("touchmove",g),document.addEventListener("mouseup",m),document.addEventListener("touchend",m))}function m(){d.value=null,v.value=null,M.value=null,S.value=null,w.value=!1,document.removeEventListener("mousemove",g),document.removeEventListener("mouseup",m),document.removeEventListener("touchmove",g),document.removeEventListener("touchend",m)}function g(e){if(!a.value)return;const t=a.value.getBoundingClientRect();let l,u;e.touches?(l=e.touches[0].clientX-d.value,u=e.touches[0].clientY-v.value,d.value=e.touches[0].clientX,v.value=e.touches[0].clientY):(l=e.clientX-d.value,u=e.clientY-v.value,d.value=e.clientX,v.value=e.clientY),a.value.style.top=`${t.top+u}px`,a.value.style.left=`${t.left+l}px`}function Y(e){e.target.removeEventListener("mousemove",L),e.target.removeEventListener("touchmove",L),document.removeEventListener("mousemove",g),document.removeEventListener("touchmove",g),document.removeEventListener("mouseup",m),document.removeEventListener("touchend",m),w.value=!1}function D(){const e=navigator.userAgent;return/(tablet|ipad|playbook|silk)|(android(?!.*mobi))/i.test(e)?"tablet":/Mobile|iP(hone|od)|Android|BlackBerry|IEMobile|Kindle|Silk-Accelerated|(hpw|web)OS|Opera M(obi|ini)/.test(e)?"mobile":"desktop"}function O(){const e=document.getElementById(`vue-ui-screenshot-button-${$.value}`);e.innerHTML=`<svg id="saveButtonSvg" xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 20 20" stroke-width="1.5" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round">
2
2
  <path fill="none" stroke="currentColor" d="M1 4 1 3C1 2 2 1 3 1L4 1M16 1 17 1C18 1 19 2 19 3L19 4M1 16 1 17C1 18 2 19 3 19L4 19M16 19 17 19C18 19 19 18 19 17L19 16M8 10A1 1 0 0012 10 1 1 0 008 10M5 13 5 8C5 7 5 7 6 7L14 7C15 7 15 7 15 8L15 13C15 14 15 14 14 14L6 14C5 14 5 14 5 13M7 6 13 6" />
3
3
  </svg>`,document.getElementById(`vue-ui-screenshot-button-${$.value}`).animate([{opacity:"0.3"},{opacity:"1"},{opacity:"0.3"}],{duration:1e3,iterations:1/0}),e.classList.add("loading"),e.setAttribute("disabled","true")}function _(){if(!a.value)return;O();const e=a.value.getBoundingClientRect();I.value=setTimeout(()=>{V.default(document.body,{allowTaint:!0,width:e.width,height:e.height,x:e.left+window.scrollX,y:e.top+window.scrollY,useCORS:!0,scale:n.value.quality}).then(t=>{const l=t.toDataURL("image/png",1),u=l.split(",")[1],c=atob(u).length/1024;if(n.value.mode==="download"){const s=document.createElement("a");s.download="screenshot.png",s.href=l,s.click()}n.value.mode==="post"&&H("postImage",{createdAt:Date.now(),fileSize:`${c.toFixed(2)} KB`,image:l,x:e.left+window.scrollX,y:e.top+window.scrollY,screenWidth:window.innerWidth>0?window.innerWidth:screen.width,deviceType:D()})}).finally(E)},10)}function F(e){const t=n.value.style.handles.size/2+4,l=document.createElement("DIV");l.style.top=`${-t}px`,l.style.left=`${-t}px`,l.style.cursor="nw-resize",l.classList.add("vue-ui-screenshot-handle-nw"),l.dataset.cy="screenshot-handle-nw";const u=document.createElement("DIV");u.style.top=`${-t}px`,u.style.left="auto",u.style.right=`${-t}px`,u.style.cursor="ne-resize",u.classList.add("vue-ui-screenshot-handle-ne"),u.dataset.cy="screenshot-handle-ne";const o=document.createElement("DIV");o.style.top="auto",o.style.bottom=`${-t}px`,o.style.left=`${-t}px`,o.style.cursor="sw-resize",o.classList.add("vue-ui-screenshot-handle-sw"),o.dataset.cy="screenshot-handle-sw";const c=document.createElement("DIV");c.style.top="auto",c.style.left="auto",c.style.right=`${-t}px`,c.style.bottom=`${-t}px`,c.style.cursor="se-resize",c.classList.add("vue-ui-screenshot-handle-se"),c.dataset.cy="screenshot-handle-se";const s=document.createElement("BUTTON");s.innerHTML=`<svg id="saveButtonSvg" xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 20 20" stroke-width="1.5" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path fill="none" stroke="currentColor" d="M1 4 1 3C1 2 2 1 3 1L4 1M16 1 17 1C18 1 19 2 19 3L19 4M1 16 1 17C1 18 2 19 3 19L4 19M16 19 17 19C18 19 19 18 19 17L19 16M8 10A1 1 0 0012 10 1 1 0 008 10M5 13 5 8C5 7 5 7 6 7L14 7C15 7 15 7 15 8L15 13C15 14 15 14 14 14L6 14C5 14 5 14 5 13M7 6 13 6" /></svg><span>${n.value.translations.captureButton}</span>`,s.classList.add("vue-ui-screenshot-capture-button"),s.id=`vue-ui-screenshot-button-${$.value}`,s.style.position="absolute",s.style.top="50%",s.style.left="50%",s.style.transform="translate(-50%,-50%)",s.style.background=n.value.style.captureButton.background,s.style.color=n.value.style.captureButton.color,s.style.border=n.value.style.captureButton.border,s.style.outline="none",s.style.cursor="pointer",s.style.padding=n.value.style.captureButton.padding,s.style.fontFamily=n.value.style.captureButton.fontFamily,s.style.fontSize=`${n.value.style.captureButton.fontSize}px`,s.style.minHeight=`${n.value.style.captureButton.minHeight}px`,s.style.width="fit-content",s.style.display="flex",s.style.alignItems="center",s.style.justifyContent="center",s.style.gap="3px",s.style.borderRadius=`${n.value.style.captureButton.borderRadius}px`,s.style.boxShadow=n.value.style.captureButton.boxShadow,s.style.userSelect="none",s.style.opacity="0.95",s.style.textAlign="left",s.style.fontWeight=n.value.style.captureButton.bold?"bold":"normal",s.dataset.cy="screenshot-save-button",s.addEventListener("mouseenter",()=>{s.style.opacity="1"}),s.addEventListener("mouseleave",()=>{s.style.opacity="0.95"}),s.addEventListener("click",_),e.appendChild(s),[l,u,o,c].forEach((r,N)=>{r.classList.add(`handle-${N}`),r.dataset.html2canvasIgnore="true",r.style.position="absolute",r.style.height=`${n.value.style.handles.size}px`,r.style.width=`${n.value.style.handles.size}px`,r.style.background=n.value.style.handles.background,r.style.border=n.value.style.handles.border,r.style.borderRadius=`${n.value.style.handles.borderRadius}px`,r.style.pointerEvents="auto !important",r.addEventListener("mousedown",X),r.addEventListener("touchstart",X),e.appendChild(r)})}function j(){a.value||i.nextTick(()=>{const e=R();e.dataset.html2canvasIgnore=!0,W(e),F(e),a.value=e,e.addEventListener("touchmove",function(t){t.preventDefault()},{passive:!1}),document.body.appendChild(e),document.addEventListener("mousedown",A),document.addEventListener("touchstart",A),document.addEventListener("mouseup",Y),document.addEventListener("touchend",Y)})}return T({shoot:j,close:E}),(e,t)=>(i.openBlock(),i.createElementBlock("div"))}};exports.default=U;