vue-data-ui 2.6.18 → 2.6.20

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 (157) hide show
  1. package/README.md +8 -0
  2. package/dist/{Arrow-Ci41JBXA.js → Arrow-C9wt_iwE.js} +1 -1
  3. package/dist/{Arrow-C-haYOvL.cjs → Arrow-mU42Peiq.cjs} +1 -1
  4. package/dist/{BaseIcon-D0Ifzd3J.js → BaseIcon-CR8s5lLC.js} +1 -1
  5. package/dist/{BaseIcon-Brc1PN_Z.cjs → BaseIcon-DMhDupLt.cjs} +1 -1
  6. package/dist/{DataTable-BH56SPdO.js → DataTable-CMUyDj6S.js} +2 -2
  7. package/dist/{DataTable-AQsQHTem.cjs → DataTable-Qba16zLZ.cjs} +1 -1
  8. package/dist/{Legend-w7VxyGN0.js → Legend-CaMKYW-V.js} +2 -2
  9. package/dist/{Legend-CNiGY3Yx.cjs → Legend-EauKcdAx.cjs} +1 -1
  10. package/dist/{PackageVersion-D1edJun6.js → PackageVersion-CURzw4q1.js} +1 -1
  11. package/dist/{PackageVersion-DO_17qoR.cjs → PackageVersion-Vv7wNIAl.cjs} +1 -1
  12. package/dist/{PenAndPaper-DWnLI5jM.js → PenAndPaper-CjiJra09.js} +3 -3
  13. package/dist/{PenAndPaper-BPAfK8a6.cjs → PenAndPaper-DSEAEpTs.cjs} +1 -1
  14. package/dist/{PenAndPaper.vue_vue_type_style_index_0_scoped_c968a401_lang-Bnwg64-7.js → PenAndPaper.vue_vue_type_style_index_0_scoped_c968a401_lang-BzSorLrT.js} +3 -3
  15. package/dist/{PenAndPaper.vue_vue_type_style_index_0_scoped_c968a401_lang-Cw1RBp7H.cjs → PenAndPaper.vue_vue_type_style_index_0_scoped_c968a401_lang-DB_DsgPX.cjs} +1 -1
  16. package/dist/{Shape-RfSE_FzV.js → Shape-F5v4f45p.js} +1 -1
  17. package/dist/{Shape-J26jxMZ5.cjs → Shape-gLknKTb6.cjs} +1 -1
  18. package/dist/{Slicer-oASHP3Lx.cjs → Slicer-CVVRixhP.cjs} +1 -1
  19. package/dist/{Slicer-DMdxtlpr.js → Slicer-DQp19cm1.js} +2 -2
  20. package/dist/{Title-xfHZTDT9.js → Title-CUHNtIyE.js} +1 -1
  21. package/dist/{Title-ypQseB5s.cjs → Title-m1x23s4w.cjs} +1 -1
  22. package/dist/{Tooltip-DQZLR6XD.cjs → Tooltip-BXY2gKbA.cjs} +1 -1
  23. package/dist/{Tooltip-CF9cKbnr.js → Tooltip-BuAQ8HVL.js} +1 -1
  24. package/dist/{index-CkqI12gj.cjs → index-CmhvuQro.cjs} +1 -1
  25. package/dist/{index-Df45PKBw.js → index-Cq7-va_5.js} +2 -2
  26. package/dist/style.css +1 -1
  27. package/dist/{useNestedProp-BaSIdRPe.js → useNestedProp-BEyJNlaO.js} +1 -1
  28. package/dist/{useNestedProp-B5QzQ7cl.cjs → useNestedProp-CnH-XcZU.cjs} +1 -1
  29. package/dist/usePrinter-DhZH4pcR.cjs +1 -0
  30. package/dist/{usePrinter-MC5pKUx5.js → usePrinter-jRjc8Naz.js} +72 -70
  31. package/dist/{vue-data-ui-BiXf5MnL.js → vue-data-ui-BPSCRfcK.js} +61 -61
  32. package/dist/{vue-data-ui--Yx3VAj0.cjs → vue-data-ui-DD5SV4SW.cjs} +1 -1
  33. package/dist/vue-data-ui.cjs +1 -1
  34. package/dist/vue-data-ui.js +1 -1
  35. package/dist/{vue-ui-3d-bar-BXW-ZMgi.cjs → vue-ui-3d-bar-BlCSdagh.cjs} +2 -2
  36. package/dist/{vue-ui-3d-bar-DBJJ2kqD.js → vue-ui-3d-bar-TB1XdncJ.js} +105 -98
  37. package/dist/{vue-ui-accordion-4ngKbp5a.cjs → vue-ui-accordion-C3Ljak65.cjs} +1 -1
  38. package/dist/{vue-ui-accordion-BbCvey8w.js → vue-ui-accordion-vAQ_LLoP.js} +3 -3
  39. package/dist/{vue-ui-age-pyramid-04E6Wqie.js → vue-ui-age-pyramid-BUWoRp_B.js} +75 -68
  40. package/dist/{vue-ui-age-pyramid-Cpi72E7Q.cjs → vue-ui-age-pyramid-CrDKpPil.cjs} +1 -1
  41. package/dist/{vue-ui-annotator-tv-3u5J-.js → vue-ui-annotator-BVE-xqSy.js} +1 -1
  42. package/dist/{vue-ui-annotator-BzdyBaoy.cjs → vue-ui-annotator-wjsB7Ihy.cjs} +1 -1
  43. package/dist/{vue-ui-bullet-B-UjWb-f.cjs → vue-ui-bullet-BcU0lGMw.cjs} +4 -4
  44. package/dist/{vue-ui-bullet-B0jpb3iz.js → vue-ui-bullet-Cj4GC_-F.js} +145 -138
  45. package/dist/{vue-ui-candlestick-Cx6UAvss.js → vue-ui-candlestick-C2hAp3Fi.js} +115 -108
  46. package/dist/{vue-ui-candlestick-DEK3P-Tu.cjs → vue-ui-candlestick-n--kSbN7.cjs} +2 -2
  47. package/dist/{vue-ui-carousel-table-BPvJKE6W.cjs → vue-ui-carousel-table-CU96d16y.cjs} +1 -1
  48. package/dist/{vue-ui-carousel-table-Bk6LMH1D.js → vue-ui-carousel-table-Do1uzI_G.js} +130 -123
  49. package/dist/{vue-ui-chestnut-DKesYDji.cjs → vue-ui-chestnut-DJq8IWIL.cjs} +2 -2
  50. package/dist/{vue-ui-chestnut-BLYeNCKN.js → vue-ui-chestnut-fb3ioT4a.js} +131 -124
  51. package/dist/{vue-ui-circle-pack-DF8CPgPU.js → vue-ui-circle-pack-DByIHOMA.js} +165 -158
  52. package/dist/{vue-ui-circle-pack-D_2k6N20.cjs → vue-ui-circle-pack-DnwKX38S.cjs} +1 -1
  53. package/dist/{vue-ui-cursor-B29UJWQo.cjs → vue-ui-cursor-DSCiOK2l.cjs} +1 -1
  54. package/dist/{vue-ui-cursor-DySRIo_p.js → vue-ui-cursor-scYLETJY.js} +2 -2
  55. package/dist/{vue-ui-dashboard-5JkE1uRk.cjs → vue-ui-dashboard-BBDfkeCW.cjs} +1 -1
  56. package/dist/{vue-ui-dashboard-CHO6UMlJ.js → vue-ui-dashboard-DjxJGI1j.js} +2 -2
  57. package/dist/{vue-ui-digits-D5h4HAzq.js → vue-ui-digits-7bQAdMhs.js} +2 -2
  58. package/dist/{vue-ui-digits-DvANBwd7.cjs → vue-ui-digits-Cmn1NNzQ.cjs} +1 -1
  59. package/dist/{vue-ui-donut-DLaBSyI4.cjs → vue-ui-donut-C291KoIU.cjs} +1 -1
  60. package/dist/{vue-ui-donut-rVvCGOGk.js → vue-ui-donut-RJQUTfyW.js} +117 -110
  61. package/dist/{vue-ui-donut-evolution-DjGFFyxj.js → vue-ui-donut-evolution-DPW_ITH8.js} +164 -157
  62. package/dist/{vue-ui-donut-evolution-B06eelN-.cjs → vue-ui-donut-evolution-Dp15D88c.cjs} +1 -1
  63. package/dist/{vue-ui-dumbbell-B3AlzGCf.js → vue-ui-dumbbell-B8Zm8EVd.js} +74 -67
  64. package/dist/{vue-ui-dumbbell-9Oy-W4-B.cjs → vue-ui-dumbbell-BdEUvUV7.cjs} +2 -2
  65. package/dist/{vue-ui-flow-1eYWWjX-.js → vue-ui-flow-BNIgPNGy.js} +177 -170
  66. package/dist/{vue-ui-flow-BakKHKRq.cjs → vue-ui-flow-BukV6_Zl.cjs} +1 -1
  67. package/dist/{vue-ui-funnel-uSID1YS9.js → vue-ui-funnel-BrPqtGct.js} +128 -121
  68. package/dist/{vue-ui-funnel-IbAUMuoN.cjs → vue-ui-funnel-CIgZpg3T.cjs} +1 -1
  69. package/dist/{vue-ui-galaxy-3ksrzeio.js → vue-ui-galaxy-D1IYOUwX.js} +77 -70
  70. package/dist/{vue-ui-galaxy-BFGRkm7x.cjs → vue-ui-galaxy-FGqZ4tWB.cjs} +1 -1
  71. package/dist/{vue-ui-gauge-DgPnw4Q5.cjs → vue-ui-gauge-B00JvBFF.cjs} +1 -1
  72. package/dist/{vue-ui-gauge-DxUp_-uc.js → vue-ui-gauge-BsOXy5MV.js} +152 -145
  73. package/dist/{vue-ui-gizmo-Dw9HiCwa.js → vue-ui-gizmo-Cyl89etd.js} +3 -3
  74. package/dist/{vue-ui-gizmo-4T51Z8I8.cjs → vue-ui-gizmo-D_uv6qkV.cjs} +1 -1
  75. package/dist/vue-ui-heatmap-CGg2_xWH.cjs +1 -0
  76. package/dist/{vue-ui-heatmap-CwtUNQu0.js → vue-ui-heatmap-CgF4n8Bh.js} +139 -132
  77. package/dist/{vue-ui-history-plot-CC7sYtWu.cjs → vue-ui-history-plot-DR11Ips0.cjs} +1 -1
  78. package/dist/{vue-ui-history-plot-BaV1bX_U.js → vue-ui-history-plot-Rdjb-yOk.js} +121 -114
  79. package/dist/{vue-ui-kpi-DiuK6mKA.js → vue-ui-kpi-COfnJm-X.js} +3 -3
  80. package/dist/{vue-ui-kpi-DxXlf8be.cjs → vue-ui-kpi-CbAgFb-9.cjs} +1 -1
  81. package/dist/{vue-ui-mini-loader-DQ_oXH1a.cjs → vue-ui-mini-loader-CizZv79e.cjs} +1 -1
  82. package/dist/{vue-ui-mini-loader-Kwzi6dLA.js → vue-ui-mini-loader-DNM7jU2W.js} +2 -2
  83. package/dist/{vue-ui-molecule-Bfhay2Cw.cjs → vue-ui-molecule-CiOIVjFk.cjs} +1 -1
  84. package/dist/{vue-ui-molecule-BMiNGYBh.js → vue-ui-molecule-Cv6jp9D_.js} +249 -242
  85. package/dist/{vue-ui-mood-radar-j2_LSQyN.js → vue-ui-mood-radar-B-VE2pVS.js} +111 -104
  86. package/dist/{vue-ui-mood-radar-C6CXwCzk.cjs → vue-ui-mood-radar-CoHouhrl.cjs} +1 -1
  87. package/dist/{vue-ui-nested-donuts-CVsN5wLZ.js → vue-ui-nested-donuts-D-7tn_Qe.js} +116 -109
  88. package/dist/{vue-ui-nested-donuts-BEb5qHRa.cjs → vue-ui-nested-donuts-ITcu4gJW.cjs} +2 -2
  89. package/dist/{vue-ui-onion-DlqFOcMu.js → vue-ui-onion-B4SgCj8L.js} +143 -136
  90. package/dist/{vue-ui-onion-C-y9Jsfq.cjs → vue-ui-onion-fzXsWjjI.cjs} +2 -2
  91. package/dist/{vue-ui-parallel-coordinate-plot-t2isL1XO.cjs → vue-ui-parallel-coordinate-plot-CTFOY5xi.cjs} +2 -2
  92. package/dist/{vue-ui-parallel-coordinate-plot-DxwECisr.js → vue-ui-parallel-coordinate-plot-CpQOyh-W.js} +112 -105
  93. package/dist/{vue-ui-quadrant-DMYZ6Rbh.cjs → vue-ui-quadrant-ByRNr-XD.cjs} +1 -1
  94. package/dist/{vue-ui-quadrant-rVy92h_8.js → vue-ui-quadrant-DhODDM5V.js} +111 -104
  95. package/dist/{vue-ui-quick-chart-CE-Qg_jo.cjs → vue-ui-quick-chart-BsQAMw9M.cjs} +3 -3
  96. package/dist/{vue-ui-quick-chart-DkUCMlp7.js → vue-ui-quick-chart-DpeGH277.js} +194 -187
  97. package/dist/{vue-ui-radar-j-mDD4Dn.js → vue-ui-radar-CWkrni4Y.js} +100 -93
  98. package/dist/{vue-ui-radar-DkL4kk1W.cjs → vue-ui-radar-D-qttZKw.cjs} +1 -1
  99. package/dist/{vue-ui-rating-K_pyDN_G.cjs → vue-ui-rating-CY25IY75.cjs} +1 -1
  100. package/dist/{vue-ui-rating-CpvfKsg0.js → vue-ui-rating-DB4nQsuM.js} +2 -2
  101. package/dist/{vue-ui-relation-circle-O0d-4bj0.js → vue-ui-relation-circle-B_PxY9ZN.js} +102 -95
  102. package/dist/{vue-ui-relation-circle-ChFxKSb0.cjs → vue-ui-relation-circle-KDFaFqqu.cjs} +1 -1
  103. package/dist/{vue-ui-rings-Cv5WcU9y.cjs → vue-ui-rings-C1Upd5ja.cjs} +2 -2
  104. package/dist/{vue-ui-rings-DK-HgFva.js → vue-ui-rings-D5-sTr38.js} +168 -161
  105. package/dist/{vue-ui-scatter-BHCYJgHS.cjs → vue-ui-scatter-B-aqlIcn.cjs} +1 -1
  106. package/dist/{vue-ui-scatter-CTmhFDqS.js → vue-ui-scatter-C8cn3MR5.js} +85 -78
  107. package/dist/{vue-ui-screenshot-Ci56oD2d.cjs → vue-ui-screenshot-D9EV_KXZ.cjs} +1 -1
  108. package/dist/{vue-ui-screenshot-Bpp3trys.js → vue-ui-screenshot-kQRZJHLO.js} +1 -1
  109. package/dist/{vue-ui-skeleton-BIYEApQO.js → vue-ui-skeleton-DIrE1OTF.js} +3 -3
  110. package/dist/{vue-ui-skeleton-CKwwTTRF.cjs → vue-ui-skeleton-DyJu1ibj.cjs} +1 -1
  111. package/dist/{vue-ui-smiley-BjcqO7zZ.cjs → vue-ui-smiley-B7dNRQyO.cjs} +1 -1
  112. package/dist/{vue-ui-smiley-B5ufG407.js → vue-ui-smiley-DVjsjIa4.js} +2 -2
  113. package/dist/{vue-ui-spark-trend-qz-BtG6X.cjs → vue-ui-spark-trend-DRtaXADG.cjs} +1 -1
  114. package/dist/{vue-ui-spark-trend-DnB59fUO.js → vue-ui-spark-trend-DsUy3aw-.js} +5 -5
  115. package/dist/{vue-ui-sparkbar-D_sMmqjC.js → vue-ui-sparkbar-Dm8xksUj.js} +4 -4
  116. package/dist/{vue-ui-sparkbar-DQ-IFuy6.cjs → vue-ui-sparkbar-x0F1llCZ.cjs} +1 -1
  117. package/dist/{vue-ui-sparkgauge-Ce5NGB8P.cjs → vue-ui-sparkgauge-B4DRMVOW.cjs} +1 -1
  118. package/dist/{vue-ui-sparkgauge-76-wdTdR.js → vue-ui-sparkgauge-_gF53YgV.js} +4 -4
  119. package/dist/{vue-ui-sparkhistogram-DviUQdRD.js → vue-ui-sparkhistogram-CD_0ihS9.js} +5 -5
  120. package/dist/{vue-ui-sparkhistogram-DcSCtmaT.cjs → vue-ui-sparkhistogram-CIMJUDlb.cjs} +1 -1
  121. package/dist/{vue-ui-sparkline-C75odp3q.js → vue-ui-sparkline-Cs0h6tKI.js} +6 -6
  122. package/dist/{vue-ui-sparkline-_nWAin6t.cjs → vue-ui-sparkline-DzOL1IDW.cjs} +1 -1
  123. package/dist/{vue-ui-sparkstackbar-pRfBTPV0.cjs → vue-ui-sparkstackbar-BBz1lDg0.cjs} +1 -1
  124. package/dist/{vue-ui-sparkstackbar-JgAJd1j5.js → vue-ui-sparkstackbar-Dhula5ka.js} +5 -5
  125. package/dist/{vue-ui-stackbar-DK4W1meR.cjs → vue-ui-stackbar-BuUtwfyC.cjs} +3 -3
  126. package/dist/{vue-ui-stackbar-Ctym-Udc.js → vue-ui-stackbar-DanAQnBd.js} +210 -203
  127. package/dist/{vue-ui-strip-plot-BU6tkAvd.cjs → vue-ui-strip-plot-95uUJ2fc.cjs} +1 -1
  128. package/dist/{vue-ui-strip-plot-BLmj_-sa.js → vue-ui-strip-plot-DIlGTBzG.js} +82 -75
  129. package/dist/{vue-ui-table-Cvt9DTpO.cjs → vue-ui-table-CDS7xlZS.cjs} +1 -1
  130. package/dist/{vue-ui-table-Bot5LadX.js → vue-ui-table-FKZF6cxI.js} +1 -1
  131. package/dist/{vue-ui-table-heatmap-DE1swMTl.js → vue-ui-table-heatmap-BcGX_vpU.js} +63 -56
  132. package/dist/{vue-ui-table-heatmap-fALEi4E_.cjs → vue-ui-table-heatmap-qVmiG576.cjs} +1 -1
  133. package/dist/{vue-ui-table-sparkline-CWGl8LJc.js → vue-ui-table-sparkline-CVY9EZ7Q.js} +90 -83
  134. package/dist/{vue-ui-table-sparkline-pQlBn8xE.cjs → vue-ui-table-sparkline-CnVFXbUB.cjs} +1 -1
  135. package/dist/{vue-ui-thermometer-N5j1BAqA.cjs → vue-ui-thermometer-BTer1qaq.cjs} +1 -1
  136. package/dist/{vue-ui-thermometer-DDOVwF0r.js → vue-ui-thermometer-tcTgQiAu.js} +113 -106
  137. package/dist/{vue-ui-timer-CQ9pLz7T.cjs → vue-ui-timer-CmLGKRcK.cjs} +1 -1
  138. package/dist/{vue-ui-timer-1zEhowHL.js → vue-ui-timer-DO_VKZHm.js} +5 -5
  139. package/dist/{vue-ui-tiremarks-zlgbR7II.js → vue-ui-tiremarks-BKnAiR_H.js} +76 -69
  140. package/dist/{vue-ui-tiremarks-DOXxQKUB.cjs → vue-ui-tiremarks-BPxAgMQx.cjs} +1 -1
  141. package/dist/{vue-ui-treemap-ZJAvws86.cjs → vue-ui-treemap-BnKYnm8A.cjs} +1 -1
  142. package/dist/{vue-ui-treemap-C7oZrYCa.js → vue-ui-treemap-oE2QDc_9.js} +143 -136
  143. package/dist/{vue-ui-vertical-bar-rtqu_UjN.js → vue-ui-vertical-bar-BfFnXSO5.js} +119 -112
  144. package/dist/{vue-ui-vertical-bar-BFeF_dBM.cjs → vue-ui-vertical-bar-CHUZAnfv.cjs} +3 -3
  145. package/dist/{vue-ui-waffle-C0E54-ms.cjs → vue-ui-waffle-DxL_bhhX.cjs} +1 -1
  146. package/dist/{vue-ui-waffle-CgsNawVA.js → vue-ui-waffle-YwQAGMlZ.js} +77 -70
  147. package/dist/{vue-ui-wheel-StQOeYIO.cjs → vue-ui-wheel-CbEf5uhL.cjs} +1 -1
  148. package/dist/{vue-ui-wheel-Cm7g8eux.js → vue-ui-wheel-gZQIZUx1.js} +104 -97
  149. package/dist/{vue-ui-word-cloud-qNxRgN5J.js → vue-ui-word-cloud-CXpfOcDf.js} +122 -115
  150. package/dist/{vue-ui-word-cloud-Bc31_IfR.cjs → vue-ui-word-cloud-Ddmhs5i-.cjs} +1 -1
  151. package/dist/{vue-ui-xy-wbWmX1Zh.cjs → vue-ui-xy-BFdih9uG.cjs} +2 -2
  152. package/dist/{vue-ui-xy-BTjOTcAY.js → vue-ui-xy-BHGNHgRk.js} +72 -65
  153. package/dist/{vue-ui-xy-canvas-BpyntzCo.js → vue-ui-xy-canvas-BFZjHXBj.js} +200 -193
  154. package/dist/{vue-ui-xy-canvas-BljjkGUh.cjs → vue-ui-xy-canvas-hM1oa-dn.cjs} +2 -2
  155. package/package.json +1 -1
  156. package/dist/usePrinter-DB2FudbZ.cjs +0 -1
  157. package/dist/vue-ui-heatmap-Bz5l9BbM.cjs +0 -1
@@ -1,24 +1,24 @@
1
- import { computed as x, ref as h, watch as at, onMounted as ot, onBeforeUnmount as st, createElementBlock as r, openBlock as o, unref as n, normalizeStyle as Y, normalizeClass as Re, createBlock as V, createCommentVNode as c, createElementVNode as d, createVNode as pe, createSlots as ut, withCtx as _, renderSlot as M, normalizeProps as K, guardReactiveProps as Q, Fragment as P, renderList as I, toDisplayString as C, createTextVNode as rt, nextTick as it } from "vue";
2
- import { u as nt, c as vt, t as yt, p as q, a as ct, o as dt, e as fe, b as ht, g as Ee, U as pt, Z as ft, S as gt, X as mt, s as ge, V as xt, i as j, v as A, f as W, q as bt, r as kt, x as wt, y as _t } from "./index-Df45PKBw.js";
3
- import { t as Mt, u as $t } from "./useResponsive-BWapHhVH.js";
4
- import { _ as Ct } from "./Title-xfHZTDT9.js";
5
- import { u as At, U as zt } from "./usePrinter-MC5pKUx5.js";
6
- import { _ as St } from "./Tooltip-CF9cKbnr.js";
7
- import { L as Tt } from "./Legend-w7VxyGN0.js";
8
- import { _ as Ue } from "./Shape-RfSE_FzV.js";
9
- import { D as Lt } from "./DataTable-BH56SPdO.js";
10
- import Bt from "./vue-ui-skeleton-BIYEApQO.js";
11
- import Ot from "./vue-ui-accordion-BbCvey8w.js";
12
- import { u as Ge } from "./useNestedProp-BaSIdRPe.js";
13
- import { _ as Nt } from "./PackageVersion-D1edJun6.js";
14
- import { P as Pt } from "./PenAndPaper-DWnLI5jM.js";
1
+ import { computed as x, ref as h, watch as at, onMounted as ot, onBeforeUnmount as st, createElementBlock as r, openBlock as o, unref as n, normalizeStyle as Y, normalizeClass as Re, createBlock as V, createCommentVNode as c, createElementVNode as d, createVNode as pe, createSlots as ut, withCtx as _, renderSlot as $, normalizeProps as J, guardReactiveProps as K, Fragment as P, renderList as X, toDisplayString as C, createTextVNode as rt, nextTick as it } from "vue";
2
+ import { u as nt, c as vt, t as yt, p as q, a as ct, o as dt, e as fe, b as ht, g as Ee, U as pt, Z as ft, S as gt, X as mt, s as ge, V as xt, i as j, v as A, f as W, q as bt, r as kt, x as wt, y as _t } from "./index-Cq7-va_5.js";
3
+ import { t as $t, u as Mt } from "./useResponsive-BWapHhVH.js";
4
+ import { _ as Ct } from "./Title-CUHNtIyE.js";
5
+ import { u as At, U as zt } from "./usePrinter-jRjc8Naz.js";
6
+ import { _ as St } from "./Tooltip-BuAQ8HVL.js";
7
+ import { L as Tt } from "./Legend-CaMKYW-V.js";
8
+ import { _ as Ue } from "./Shape-F5v4f45p.js";
9
+ import { D as Lt } from "./DataTable-CMUyDj6S.js";
10
+ import Bt from "./vue-ui-skeleton-DIrE1OTF.js";
11
+ import Ot from "./vue-ui-accordion-vAQ_LLoP.js";
12
+ import { u as Ge } from "./useNestedProp-BEyJNlaO.js";
13
+ import { _ as Nt } from "./PackageVersion-CURzw4q1.js";
14
+ import { P as Pt } from "./PenAndPaper-CjiJra09.js";
15
15
  import { u as Wt } from "./useUserOptionState-BIvW1Kz7.js";
16
16
  import { u as Ft } from "./useChartAccessibility-BWojgys7.js";
17
- import { _ as Xt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
18
- const It = ["id"], Dt = ["xmlns", "viewBox"], Yt = ["width", "height"], Vt = { key: 1 }, jt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Rt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Et = { key: 2 }, Ut = ["points", "fill", "stroke-width", "stroke-dasharray", "stroke"], Gt = { key: 0 }, qt = ["cx", "cy", "r", "fill", "stroke", "stroke-width", "onMouseover"], Ht = { key: 1 }, Zt = { key: 3 }, Jt = ["id"], Kt = ["stop-color"], Qt = ["stop-color"], el = ["id"], tl = ["stop-color"], ll = ["stop-color"], al = ["x", "y", "width", "height", "fill", "stroke", "stroke-width", "rx"], ol = ["x", "y", "height", "width", "fill", "stroke", "stroke-width", "rx"], sl = { key: 0 }, ul = ["d", "stroke", "stroke-width"], rl = ["d", "stroke", "stroke-width"], il = ["d", "stroke", "stroke-width"], nl = ["d", "stroke", "stroke-width"], vl = {
17
+ import { _ as It } from "./_plugin-vue_export-helper-CHgC5LLL.js";
18
+ const Xt = ["id"], Dt = ["xmlns", "viewBox"], Yt = ["width", "height"], Vt = { key: 1 }, jt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Rt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Et = { key: 2 }, Ut = ["points", "fill", "stroke-width", "stroke-dasharray", "stroke"], Gt = { key: 0 }, qt = ["cx", "cy", "r", "fill", "stroke", "stroke-width", "onMouseover"], Ht = { key: 1 }, Zt = { key: 3 }, Jt = ["id"], Kt = ["stop-color"], Qt = ["stop-color"], el = ["id"], tl = ["stop-color"], ll = ["stop-color"], al = ["x", "y", "width", "height", "fill", "stroke", "stroke-width", "rx"], ol = ["x", "y", "height", "width", "fill", "stroke", "stroke-width", "rx"], sl = { key: 0 }, ul = ["d", "stroke", "stroke-width"], rl = ["d", "stroke", "stroke-width"], il = ["d", "stroke", "stroke-width"], nl = ["d", "stroke", "stroke-width"], vl = {
19
19
  key: 4,
20
20
  style: { "pointer-events": "none !important" }
21
- }, yl = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], cl = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], dl = ["x", "y", "font-size", "fill", "font-weight", "text-anchor"], hl = ["x", "y", "font-size", "fill", "font-weight"], pl = ["cx", "cy", "r", "fill", "stroke", "stroke-width"], fl = ["cx", "cy", "r", "fill", "stroke", "stroke-width"], gl = ["x", "y", "font-size", "fill", "font-weight", "text-anchor"], ml = { key: 5 }, xl = ["x", "y", "font-size", "fill"], bl = ["x", "y", "font-size", "fill"], kl = ["id", "transform", "font-size", "font-weight", "fill"], wl = { key: 6 }, _l = ["x", "y", "font-size", "fill"], Ml = ["x", "y", "font-size", "fill"], $l = ["font-size", "font-weight", "fill", "x", "y"], Cl = ["id"], Al = ["x", "y", "width", "height"], zl = { key: 7 }, Sl = ["x1", "x2", "y1", "y2", "stroke-dasharray", "stroke", "stroke-width", "clip-path"], Tl = ["x", "y", "fill", "font-size", "font-weight"], Ll = {
21
+ }, yl = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], cl = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], dl = ["x", "y", "font-size", "fill", "font-weight", "text-anchor"], hl = ["x", "y", "font-size", "fill", "font-weight"], pl = ["cx", "cy", "r", "fill", "stroke", "stroke-width"], fl = ["cx", "cy", "r", "fill", "stroke", "stroke-width"], gl = ["x", "y", "font-size", "fill", "font-weight", "text-anchor"], ml = { key: 5 }, xl = ["x", "y", "font-size", "fill"], bl = ["x", "y", "font-size", "fill"], kl = ["id", "transform", "font-size", "font-weight", "fill"], wl = { key: 6 }, _l = ["x", "y", "font-size", "fill"], $l = ["x", "y", "font-size", "fill"], Ml = ["font-size", "font-weight", "fill", "x", "y"], Cl = ["id"], Al = ["x", "y", "width", "height"], zl = { key: 7 }, Sl = ["x1", "x2", "y1", "y2", "stroke-dasharray", "stroke", "stroke-width", "clip-path"], Tl = ["x", "y", "fill", "font-size", "font-weight"], Ll = {
22
22
  key: 5,
23
23
  class: "vue-data-ui-watermark"
24
24
  }, Bl = ["onClick"], Ol = {
@@ -46,7 +46,7 @@ const It = ["id"], Dt = ["xmlns", "viewBox"], Yt = ["width", "height"], Vt = { k
46
46
  }
47
47
  },
48
48
  setup(qe, { expose: He }) {
49
- const { vue_ui_scatter: Ze } = nt(), F = qe, ee = x(() => !!F.dataset && F.dataset.length), z = h(vt()), Je = h(null), ue = h(!1), re = h(""), me = h(0), J = h(null), xe = h(null), be = h(null), ke = h(null), we = h(null), _e = h(0), Me = h(0), $e = h(0), e = x({
49
+ const { vue_ui_scatter: Ze } = nt(), F = qe, ee = x(() => !!F.dataset && F.dataset.length), z = h(vt()), Je = h(null), ue = h(!1), re = h(""), me = h(0), Q = h(null), xe = h(null), be = h(null), ke = h(null), we = h(null), _e = h(0), $e = h(0), Me = h(0), e = x({
50
50
  get: () => Se(),
51
51
  set: (t) => t
52
52
  }), { userOptionsVisible: ie, setUserOptionsVisibility: Ce, keepUserOptionState: Ae } = Wt({ config: e.value }), { svgRef: ze } = Ft({ config: e.value.style.title });
@@ -64,7 +64,7 @@ const It = ["id"], Dt = ["xmlns", "viewBox"], Yt = ["width", "height"], Vt = { k
64
64
  } : t;
65
65
  }
66
66
  at(() => F.config, (t) => {
67
- e.value = Se(), ie.value = !e.value.userOptions.showOnChartHover, Te(), _e.value += 1, Me.value += 1, $e.value += 1, B.value.showTable = e.value.table.show, B.value.showTooltip = e.value.style.tooltip.show;
67
+ e.value = Se(), ie.value = !e.value.userOptions.showOnChartHover, Te(), _e.value += 1, $e.value += 1, Me.value += 1, B.value.showTable = e.value.table.show, B.value.showTooltip = e.value.style.tooltip.show;
68
68
  }, { deep: !0 });
69
69
  const te = h(null);
70
70
  ot(() => {
@@ -75,9 +75,9 @@ const It = ["id"], Dt = ["xmlns", "viewBox"], Yt = ["width", "height"], Vt = { k
75
75
  componentName: "VueUiScatter",
76
76
  type: "dataset"
77
77
  }), e.value.responsive) {
78
- const t = Mt(() => {
79
- const { width: u, height: l } = $t({
80
- chart: J.value,
78
+ const t = $t(() => {
79
+ const { width: u, height: l } = Mt({
80
+ chart: Q.value,
81
81
  title: e.value.style.title.text ? xe.value : null,
82
82
  legend: e.value.style.legend.show ? be.value : null,
83
83
  source: ke.value,
@@ -87,7 +87,7 @@ const It = ["id"], Dt = ["xmlns", "viewBox"], Yt = ["width", "height"], Vt = { k
87
87
  b.value.width = u, b.value.height = l;
88
88
  });
89
89
  });
90
- te.value = new ResizeObserver(t), te.value.observe(J.value.parentNode);
90
+ te.value = new ResizeObserver(t), te.value.observe(Q.value.parentNode);
91
91
  }
92
92
  }
93
93
  st(() => {
@@ -187,16 +187,16 @@ const It = ["id"], Dt = ["xmlns", "viewBox"], Yt = ["width", "height"], Vt = { k
187
187
  y1: E * i.value.left + Z,
188
188
  y2: E * i.value.right + Z,
189
189
  coefficient: k
190
- }, $ = (N.y2 - N.y1) / (N.x2 - N.x1), L = N.y1 - $ * N.x1, X = Math.min(b.value.width - e.value.style.layout.padding.right, Math.max(e.value.style.layout.padding.left, (i.value.top - L) / $)), se = {
191
- x: X,
192
- y: $ * X + L <= e.value.style.layout.padding.top ? i.value.top : $ * X + L
190
+ }, M = (N.y2 - N.y1) / (N.x2 - N.x1), L = N.y1 - M * N.x1, I = Math.min(b.value.width - e.value.style.layout.padding.right, Math.max(e.value.style.layout.padding.left, (i.value.top - L) / M)), se = {
191
+ x: I,
192
+ y: M * I + L <= e.value.style.layout.padding.top ? i.value.top : M * I + L
193
193
  };
194
194
  return {
195
195
  ...t,
196
196
  correlation: N,
197
197
  label: se,
198
198
  plots: t.plots.map((g) => {
199
- const U = (g.x + $ * g.y - $ * L) / (1 + Math.pow($, 2)), ce = ($ * g.x + Math.pow($, 2) * g.y + L) / (1 + Math.pow($, 2)), w = Math.sqrt(Math.pow(g.x - U, 2) + Math.pow(g.y - ce, 2));
199
+ const U = (g.x + M * g.y - M * L) / (1 + Math.pow(M, 2)), ce = (M * g.x + Math.pow(M, 2) * g.y + L) / (1 + Math.pow(M, 2)), w = Math.sqrt(Math.pow(g.x - U, 2) + Math.pow(g.y - ce, 2));
200
200
  return {
201
201
  ...g,
202
202
  deviation: w,
@@ -221,16 +221,16 @@ const It = ["id"], Dt = ["xmlns", "viewBox"], Yt = ["width", "height"], Vt = { k
221
221
  l.forEach(({ x: w, y: G }) => {
222
222
  s = Math.min(s, w), a = Math.max(a, w), v = Math.min(v, G), k = Math.max(k, G);
223
223
  });
224
- const E = a - s, Z = k - v, N = E / u, $ = Z / u, L = Array(u).fill(0), X = Array(u).fill(0);
224
+ const E = a - s, Z = k - v, N = E / u, M = Z / u, L = Array(u).fill(0), I = Array(u).fill(0);
225
225
  l.forEach(({ x: w, y: G }) => {
226
- const de = Math.floor((w - s) / N), he = Math.floor((G - v) / $);
227
- L[de] || (L[de] = 0), X[he] || (X[he] = 0), L[de] += 1, X[he] += 1;
226
+ const de = Math.floor((w - s) / N), he = Math.floor((G - v) / M);
227
+ L[de] || (L[de] = 0), I[he] || (I[he] = 0), L[de] += 1, I[he] += 1;
228
228
  });
229
229
  const se = [], g = [];
230
230
  for (let w = 0; w < u; w += 1)
231
- se.push(s + (w + 0.5) * N), g.push(v + (w + 0.5) * $);
232
- const U = Math.max(...L), ce = Math.max(...X);
233
- return { x: L, y: X, avgX: se, avgY: g, maxX: U, maxY: ce };
231
+ se.push(s + (w + 0.5) * N), g.push(v + (w + 0.5) * M);
232
+ const U = Math.max(...L), ce = Math.max(...I);
233
+ return { x: L, y: I, avgX: se, avgY: g, maxX: U, maxY: ce };
234
234
  }
235
235
  const D = x(() => e.value.style.layout.marginalBars.tranches), T = x(() => Fe(ne.value, D.value)), tt = x(() => {
236
236
  const t = i.value.top - e.value.style.layout.marginalBars.offset, u = i.value.right + e.value.style.layout.marginalBars.offset;
@@ -251,7 +251,7 @@ const It = ["id"], Dt = ["xmlns", "viewBox"], Yt = ["width", "height"], Vt = { k
251
251
  };
252
252
  });
253
253
  }), O = h(void 0), y = h(null), ve = h(null);
254
- function Xe(t, u) {
254
+ function Ie(t, u) {
255
255
  O.value = t.id, y.value = t;
256
256
  let l = "";
257
257
  ve.value = {
@@ -296,7 +296,7 @@ const It = ["id"], Dt = ["xmlns", "viewBox"], Yt = ["width", "height"], Vt = { k
296
296
  r: e.value.style.layout.plots.deviation.roundingValue
297
297
  })}</b>`, l += "</div>", re.value = `<div>${l}</div>`), ue.value = !0;
298
298
  }
299
- function Ie() {
299
+ function Xe() {
300
300
  ue.value = !1, O.value = void 0, y.value = null;
301
301
  }
302
302
  const m = h([]);
@@ -371,7 +371,7 @@ const It = ["id"], Dt = ["xmlns", "viewBox"], Yt = ["width", "height"], Vt = { k
371
371
  }), (t, u) => (o(), r("div", {
372
372
  class: Re(`vue-ui-scatter ${H.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.value.useCssAnimation ? "" : "vue-ui-dna"}`),
373
373
  ref_key: "scatterChart",
374
- ref: J,
374
+ ref: Q,
375
375
  id: `vue-ui-scatter_${z.value}`,
376
376
  style: Y(`font-family:${e.value.style.fontFamily};width:100%; text-align:center;background:${e.value.style.backgroundColor};${e.value.responsive ? "height: 100%" : ""}`),
377
377
  onMouseenter: u[2] || (u[2] = () => n(Ce)(!0)),
@@ -430,7 +430,7 @@ const It = ["id"], Dt = ["xmlns", "viewBox"], Yt = ["width", "height"], Vt = { k
430
430
  isTooltip: B.value.showTooltip,
431
431
  isFullscreen: H.value,
432
432
  titles: { ...e.value.userOptions.buttonTitles },
433
- chartElement: J.value,
433
+ chartElement: Q.value,
434
434
  position: e.value.userOptions.position,
435
435
  hasAnnotator: e.value.userOptions.buttons.annotator,
436
436
  isAnnotation: oe.value,
@@ -445,54 +445,61 @@ const It = ["id"], Dt = ["xmlns", "viewBox"], Yt = ["width", "height"], Vt = { k
445
445
  visibility: n(Ae) ? n(ie) ? "visible" : "hidden" : "visible"
446
446
  })
447
447
  }, ut({ _: 2 }, [
448
+ t.$slots.menuIcon ? {
449
+ name: "menuIcon",
450
+ fn: _(({ isOpen: l, color: s }) => [
451
+ $(t.$slots, "menuIcon", J(K({ isOpen: l, color: s })), void 0, !0)
452
+ ]),
453
+ key: "0"
454
+ } : void 0,
448
455
  t.$slots.optionTooltip ? {
449
456
  name: "optionTooltip",
450
457
  fn: _(() => [
451
- M(t.$slots, "optionTooltip", {}, void 0, !0)
458
+ $(t.$slots, "optionTooltip", {}, void 0, !0)
452
459
  ]),
453
- key: "0"
460
+ key: "1"
454
461
  } : void 0,
455
462
  t.$slots.optionPdf ? {
456
463
  name: "optionPdf",
457
464
  fn: _(() => [
458
- M(t.$slots, "optionPdf", {}, void 0, !0)
465
+ $(t.$slots, "optionPdf", {}, void 0, !0)
459
466
  ]),
460
- key: "1"
467
+ key: "2"
461
468
  } : void 0,
462
469
  t.$slots.optionCsv ? {
463
470
  name: "optionCsv",
464
471
  fn: _(() => [
465
- M(t.$slots, "optionCsv", {}, void 0, !0)
472
+ $(t.$slots, "optionCsv", {}, void 0, !0)
466
473
  ]),
467
- key: "2"
474
+ key: "3"
468
475
  } : void 0,
469
476
  t.$slots.optionImg ? {
470
477
  name: "optionImg",
471
478
  fn: _(() => [
472
- M(t.$slots, "optionImg", {}, void 0, !0)
479
+ $(t.$slots, "optionImg", {}, void 0, !0)
473
480
  ]),
474
- key: "3"
481
+ key: "4"
475
482
  } : void 0,
476
483
  t.$slots.optionTable ? {
477
484
  name: "optionTable",
478
485
  fn: _(() => [
479
- M(t.$slots, "optionTable", {}, void 0, !0)
486
+ $(t.$slots, "optionTable", {}, void 0, !0)
480
487
  ]),
481
- key: "4"
488
+ key: "5"
482
489
  } : void 0,
483
490
  t.$slots.optionFullscreen ? {
484
491
  name: "optionFullscreen",
485
492
  fn: _(({ toggleFullscreen: l, isFullscreen: s }) => [
486
- M(t.$slots, "optionFullscreen", K(Q({ toggleFullscreen: l, isFullscreen: s })), void 0, !0)
493
+ $(t.$slots, "optionFullscreen", J(K({ toggleFullscreen: l, isFullscreen: s })), void 0, !0)
487
494
  ]),
488
- key: "5"
495
+ key: "6"
489
496
  } : void 0,
490
497
  t.$slots.optionAnnotator ? {
491
498
  name: "optionAnnotator",
492
499
  fn: _(({ toggleAnnotator: l, isAnnotator: s }) => [
493
- M(t.$slots, "optionAnnotator", K(Q({ toggleAnnotator: l, isAnnotator: s })), void 0, !0)
500
+ $(t.$slots, "optionAnnotator", J(K({ toggleAnnotator: l, isAnnotator: s })), void 0, !0)
494
501
  ]),
495
- key: "6"
502
+ key: "7"
496
503
  } : void 0
497
504
  ]), 1032, ["backgroundColor", "color", "isImaging", "isPrinting", "uid", "hasTooltip", "hasPdf", "hasImg", "hasXls", "hasTable", "hasFullscreen", "isTooltip", "isFullscreen", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "onGeneratePdf", "onGenerateImage", "style"])) : c("", !0),
498
505
  ee.value ? (o(), r("svg", {
@@ -515,7 +522,7 @@ const It = ["id"], Dt = ["xmlns", "viewBox"], Yt = ["width", "height"], Vt = { k
515
522
  pointerEvents: "none"
516
523
  }
517
524
  }, [
518
- M(t.$slots, "chart-background", {}, void 0, !0)
525
+ $(t.$slots, "chart-background", {}, void 0, !0)
519
526
  ], 8, Yt)) : c("", !0),
520
527
  e.value.style.layout.axis.show ? (o(), r("g", Vt, [
521
528
  d("line", {
@@ -538,7 +545,7 @@ const It = ["id"], Dt = ["xmlns", "viewBox"], Yt = ["width", "height"], Vt = { k
538
545
  }, null, 8, Rt)
539
546
  ])) : c("", !0),
540
547
  e.value.style.layout.plots.giftWrap.show ? (o(), r("g", Et, [
541
- (o(!0), r(P, null, I(S.value, (l, s) => (o(), r("g", null, [
548
+ (o(!0), r(P, null, X(S.value, (l, s) => (o(), r("g", null, [
542
549
  l.plots.length > 2 ? (o(), r("polygon", {
543
550
  key: 0,
544
551
  points: n(xt)({ series: l.plots }),
@@ -551,29 +558,29 @@ const It = ["id"], Dt = ["xmlns", "viewBox"], Yt = ["width", "height"], Vt = { k
551
558
  }, null, 8, Ut)) : c("", !0)
552
559
  ]))), 256))
553
560
  ])) : c("", !0),
554
- (o(!0), r(P, null, I(S.value, (l, s) => (o(), r("g", null, [
561
+ (o(!0), r(P, null, X(S.value, (l, s) => (o(), r("g", null, [
555
562
  !l.shape || l.shape === "circle" ? (o(), r("g", Gt, [
556
- (o(!0), r(P, null, I(l.plots, (a, v) => (o(), r("circle", {
563
+ (o(!0), r(P, null, X(l.plots, (a, v) => (o(), r("circle", {
557
564
  cx: a.x,
558
565
  cy: a.y,
559
566
  r: O.value && O.value === a.id ? a.weight * 2 : a.weight,
560
567
  fill: n(ge)(l.color, e.value.style.layout.plots.opacity * 100),
561
568
  stroke: e.value.style.layout.plots.stroke,
562
569
  "stroke-width": e.value.style.layout.plots.strokeWidth,
563
- onMouseover: (k) => Xe(a, s),
564
- onMouseleave: Ie,
570
+ onMouseover: (k) => Ie(a, s),
571
+ onMouseleave: Xe,
565
572
  style: Y(`opacity:${O.value && O.value === a.id ? 1 : e.value.style.layout.plots.significance.useDistanceOpacity ? 1 - Math.abs(a.deviation) / We.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}`)
566
573
  }, null, 44, qt))), 256))
567
574
  ])) : (o(), r("g", Ht, [
568
- (o(!0), r(P, null, I(l.plots, (a, v) => (o(), V(Ue, {
575
+ (o(!0), r(P, null, X(l.plots, (a, v) => (o(), V(Ue, {
569
576
  plot: { x: a.x, y: a.y },
570
577
  radius: O.value && O.value === a.id ? a.weight * 2 : a.weight,
571
578
  shape: l.shape,
572
579
  color: n(ge)(l.color, e.value.style.layout.plots.opacity * 100),
573
580
  stroke: e.value.style.layout.plots.stroke,
574
581
  strokeWidth: e.value.style.layout.plots.strokeWidth,
575
- onMouseover: (k) => Xe(a, s),
576
- onMouseleave: Ie,
582
+ onMouseover: (k) => Ie(a, s),
583
+ onMouseleave: Xe,
577
584
  style: Y(`opacity:${O.value && O.value === a.id ? 1 : e.value.style.layout.plots.significance.useDistanceOpacity ? 1 - Math.abs(a.deviation) / We.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}`)
578
585
  }, null, 8, ["plot", "radius", "shape", "color", "stroke", "strokeWidth", "onMouseover", "style"]))), 256))
579
586
  ]))
@@ -613,7 +620,7 @@ const It = ["id"], Dt = ["xmlns", "viewBox"], Yt = ["width", "height"], Vt = { k
613
620
  }, null, 8, ll)
614
621
  ], 8, el)
615
622
  ]),
616
- (o(!0), r(P, null, I(T.value.x, (l, s) => (o(), r("g", null, [
623
+ (o(!0), r(P, null, X(T.value.x, (l, s) => (o(), r("g", null, [
617
624
  l && T.value.avgX[s] ? (o(), r("rect", {
618
625
  key: 0,
619
626
  x: T.value.avgX[s] - i.value.width / D.value / 2,
@@ -627,7 +634,7 @@ const It = ["id"], Dt = ["xmlns", "viewBox"], Yt = ["width", "height"], Vt = { k
627
634
  rx: e.value.style.layout.marginalBars.borderRadius
628
635
  }, null, 12, al)) : c("", !0)
629
636
  ]))), 256)),
630
- (o(!0), r(P, null, I(T.value.y, (l, s) => (o(), r("g", null, [
637
+ (o(!0), r(P, null, X(T.value.y, (l, s) => (o(), r("g", null, [
631
638
  l && T.value.avgY[s] ? (o(), r("rect", {
632
639
  key: 0,
633
640
  x: i.value.right + e.value.style.layout.marginalBars.offset,
@@ -642,7 +649,7 @@ const It = ["id"], Dt = ["xmlns", "viewBox"], Yt = ["width", "height"], Vt = { k
642
649
  }, null, 12, ol)) : c("", !0)
643
650
  ]))), 256)),
644
651
  e.value.style.layout.marginalBars.showLines ? (o(), r("g", sl, [
645
- (o(!0), r(P, null, I(tt.value, (l) => (o(), r(P, null, [
652
+ (o(!0), r(P, null, X(tt.value, (l) => (o(), r(P, null, [
646
653
  m.value.includes(l.id) ? c("", !0) : (o(), r("path", {
647
654
  key: 0,
648
655
  d: `M ${l.dX}`,
@@ -843,7 +850,7 @@ const It = ["id"], Dt = ["xmlns", "viewBox"], Yt = ["width", "height"], Vt = { k
843
850
  s: e.value.style.layout.plots.selectors.labels.suffix,
844
851
  r: e.value.style.layout.dataLabels.yAxis.rounding
845
852
  })
846
- )), 9, Ml),
853
+ )), 9, $l),
847
854
  d("text", {
848
855
  "text-anchor": "middle",
849
856
  "font-size": e.value.style.layout.dataLabels.yAxis.fontSize,
@@ -851,7 +858,7 @@ const It = ["id"], Dt = ["xmlns", "viewBox"], Yt = ["width", "height"], Vt = { k
851
858
  fill: e.value.style.layout.dataLabels.yAxis.color,
852
859
  x: i.value.left + i.value.width / 2,
853
860
  y: i.value.bottom + 8 + e.value.style.layout.dataLabels.yAxis.fontSize * 2
854
- }, C(e.value.style.layout.dataLabels.yAxis.name), 9, $l)
861
+ }, C(e.value.style.layout.dataLabels.yAxis.name), 9, Ml)
855
862
  ])) : c("", !0),
856
863
  d("clipPath", {
857
864
  id: `clip_path_${z.value}`
@@ -864,7 +871,7 @@ const It = ["id"], Dt = ["xmlns", "viewBox"], Yt = ["width", "height"], Vt = { k
864
871
  }, null, 8, Al)
865
872
  ], 8, Cl),
866
873
  e.value.style.layout.correlation.show ? (o(), r("g", zl, [
867
- (o(!0), r(P, null, I(S.value, (l, s) => (o(), r("line", {
874
+ (o(!0), r(P, null, X(S.value, (l, s) => (o(), r("line", {
868
875
  x1: l.correlation.x1,
869
876
  x2: l.correlation.x2,
870
877
  y1: l.correlation.y1,
@@ -874,7 +881,7 @@ const It = ["id"], Dt = ["xmlns", "viewBox"], Yt = ["width", "height"], Vt = { k
874
881
  "stroke-width": e.value.style.layout.correlation.strokeWidth,
875
882
  "clip-path": `url(#clip_path_${z.value})`
876
883
  }, null, 8, Sl))), 256)),
877
- (o(!0), r(P, null, I(S.value, (l, s) => (o(), r("g", null, [
884
+ (o(!0), r(P, null, X(S.value, (l, s) => (o(), r("g", null, [
878
885
  e.value.style.layout.correlation.label.show ? (o(), r("text", {
879
886
  key: 0,
880
887
  x: l.label.x,
@@ -888,10 +895,10 @@ const It = ["id"], Dt = ["xmlns", "viewBox"], Yt = ["width", "height"], Vt = { k
888
895
  })), 9, Tl)) : c("", !0)
889
896
  ]))), 256))
890
897
  ])) : c("", !0),
891
- M(t.$slots, "svg", { svg: b.value }, void 0, !0)
898
+ $(t.$slots, "svg", { svg: b.value }, void 0, !0)
892
899
  ], 14, Dt)) : c("", !0),
893
900
  t.$slots.watermark ? (o(), r("div", Ll, [
894
- M(t.$slots, "watermark", K(Q({ isPrinting: n(Le) || n(Be) })), void 0, !0)
901
+ $(t.$slots, "watermark", J(K({ isPrinting: n(Le) || n(Be) })), void 0, !0)
895
902
  ])) : c("", !0),
896
903
  ee.value ? c("", !0) : (o(), V(Bt, {
897
904
  key: 6,
@@ -916,7 +923,7 @@ const It = ["id"], Dt = ["xmlns", "viewBox"], Yt = ["width", "height"], Vt = { k
916
923
  ref: be
917
924
  }, [
918
925
  e.value.style.legend.show ? (o(), V(Tt, {
919
- key: `legend_${$e.value}`,
926
+ key: `legend_${Me.value}`,
920
927
  legendSet: R.value,
921
928
  config: Qe.value,
922
929
  onClickMarker: u[0] || (u[0] = ({ legend: l }) => De(l.id))
@@ -928,7 +935,7 @@ const It = ["id"], Dt = ["xmlns", "viewBox"], Yt = ["width", "height"], Vt = { k
928
935
  }, C(l.name), 13, Bl)
929
936
  ]),
930
937
  _: 1
931
- }, 8, ["legendSet", "config"])) : M(t.$slots, "legend", {
938
+ }, 8, ["legendSet", "config"])) : $(t.$slots, "legend", {
932
939
  key: 1,
933
940
  legend: R.value
934
941
  }, void 0, !0)
@@ -939,7 +946,7 @@ const It = ["id"], Dt = ["xmlns", "viewBox"], Yt = ["width", "height"], Vt = { k
939
946
  ref: ke,
940
947
  dir: "auto"
941
948
  }, [
942
- M(t.$slots, "source", {}, void 0, !0)
949
+ $(t.$slots, "source", {}, void 0, !0)
943
950
  ], 512)) : c("", !0),
944
951
  pe(St, {
945
952
  show: B.value.showTooltip && ue.value,
@@ -952,16 +959,16 @@ const It = ["id"], Dt = ["xmlns", "viewBox"], Yt = ["width", "height"], Vt = { k
952
959
  backgroundOpacity: e.value.style.tooltip.backgroundOpacity,
953
960
  position: e.value.style.tooltip.position,
954
961
  offsetY: e.value.style.tooltip.offsetY,
955
- parent: J.value,
962
+ parent: Q.value,
956
963
  content: re.value,
957
964
  isFullscreen: H.value,
958
965
  isCustom: e.value.style.tooltip.customFormat && typeof e.value.style.tooltip.customFormat == "function"
959
966
  }, {
960
967
  "tooltip-before": _(() => [
961
- M(t.$slots, "tooltip-before", K(Q({ ...ve.value })), void 0, !0)
968
+ $(t.$slots, "tooltip-before", J(K({ ...ve.value })), void 0, !0)
962
969
  ]),
963
970
  "tooltip-after": _(() => [
964
- M(t.$slots, "tooltip-after", K(Q({ ...ve.value })), void 0, !0)
971
+ $(t.$slots, "tooltip-after", J(K({ ...ve.value })), void 0, !0)
965
972
  ]),
966
973
  default: _(() => [
967
974
  e.value.style.tooltip.showShape ? (o(), r("div", Ol, [
@@ -995,7 +1002,7 @@ const It = ["id"], Dt = ["xmlns", "viewBox"], Yt = ["width", "height"], Vt = { k
995
1002
  }, {
996
1003
  content: _(() => [
997
1004
  (o(), V(Lt, {
998
- key: `table_${Me.value}`,
1005
+ key: `table_${$e.value}`,
999
1006
  colNames: ae.value.colNames,
1000
1007
  head: ae.value.head,
1001
1008
  body: ae.value.body,
@@ -1019,9 +1026,9 @@ const It = ["id"], Dt = ["xmlns", "viewBox"], Yt = ["width", "height"], Vt = { k
1019
1026
  ]),
1020
1027
  _: 1
1021
1028
  }, 8, ["config"])) : c("", !0)
1022
- ], 46, It));
1029
+ ], 46, Xt));
1023
1030
  }
1024
- }, ta = /* @__PURE__ */ Xt(Fl, [["__scopeId", "data-v-6e2f707d"]]);
1031
+ }, ta = /* @__PURE__ */ It(Fl, [["__scopeId", "data-v-fef2b0c8"]]);
1025
1032
  export {
1026
1033
  ta as default
1027
1034
  };
@@ -1,3 +1,3 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("vue"),k=require("./index-CkqI12gj.cjs"),U=require("./html2canvas.esm-D53btDlk.cjs"),q={__name:"vue-ui-screenshot",props:{config:{type:Object,default(){return{}}}},emits:["postImage"],setup(z,{expose:T,emit:H}){const{vue_ui_screenshot:C}=k.useConfig(),B=z,$=i.ref(`vue-ui-screenshot-${Math.random()}`),n=i.computed(()=>{if(!Object.keys(B.config||{}).length)return C;const e=k.treeShake({defaultConfig:C,userConfig:B.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),m=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,m.value=e.touches[0].clientY,l=e.touches[0].clientY):(p.value=e.clientX,t=e.clientX,m.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-m.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-m.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+(m.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+(m.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",f),document.addEventListener("touchend",f))}function f(){d.value=null,v.value=null,M.value=null,S.value=null,w.value=!1,document.removeEventListener("mousemove",g),document.removeEventListener("mouseup",f),document.removeEventListener("touchmove",g),document.removeEventListener("touchend",f)}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",f),document.removeEventListener("touchend",f),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"}const O=H;function _(){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-CmhvuQro.cjs"),U=require("./html2canvas.esm-D53btDlk.cjs"),q={__name:"vue-ui-screenshot",props:{config:{type:Object,default(){return{}}}},emits:["postImage"],setup(z,{expose:T,emit:H}){const{vue_ui_screenshot:C}=k.useConfig(),B=z,$=i.ref(`vue-ui-screenshot-${Math.random()}`),n=i.computed(()=>{if(!Object.keys(B.config||{}).length)return C;const e=k.treeShake({defaultConfig:C,userConfig:B.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),m=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,m.value=e.touches[0].clientY,l=e.touches[0].clientY):(p.value=e.clientX,t=e.clientX,m.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-m.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-m.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+(m.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+(m.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",f),document.addEventListener("touchend",f))}function f(){d.value=null,v.value=null,M.value=null,S.value=null,w.value=!1,document.removeEventListener("mousemove",g),document.removeEventListener("mouseup",f),document.removeEventListener("touchmove",g),document.removeEventListener("touchend",f)}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",f),document.removeEventListener("touchend",f),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"}const O=H;function _(){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 F(){if(!a.value)return;_();const e=a.value.getBoundingClientRect();I.value=setTimeout(()=>{U.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"&&O("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 j(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",F),e.appendChild(s),[l,u,o,c].forEach((r,V)=>{r.classList.add(`handle-${V}`),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 N(){a.value||i.nextTick(()=>{const e=R();e.dataset.html2canvasIgnore=!0,W(e),j(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:N,close:E}),(e,t)=>(i.openBlock(),i.createElementBlock("div"))}};exports.default=q;
@@ -1,5 +1,5 @@
1
1
  import { ref as i, computed as V, createElementBlock as U, openBlock as G, nextTick as K } from "vue";
2
- import { u as P, A as q, z as J } from "./index-Df45PKBw.js";
2
+ import { u as P, A as q, z as J } from "./index-Cq7-va_5.js";
3
3
  import Q from "./html2canvas.esm-Dr4iCOK6.js";
4
4
  const ne = {
5
5
  __name: "vue-ui-screenshot",
@@ -1,7 +1,7 @@
1
1
  import { ref as w, computed as g, createElementBlock as e, openBlock as o, normalizeStyle as n, normalizeClass as N, createCommentVNode as a, unref as s, createVNode as d, createElementVNode as t, Fragment as k, renderList as v, createStaticVNode as $ } from "vue";
2
- import { u as F, P as A, X as c, s as h, W as O } from "./index-Df45PKBw.js";
3
- import { u as V } from "./useNestedProp-BaSIdRPe.js";
4
- import { _ as y } from "./PackageVersion-D1edJun6.js";
2
+ import { u as F, P as A, X as c, s as h, W as O } from "./index-Cq7-va_5.js";
3
+ import { u as V } from "./useNestedProp-BEyJNlaO.js";
4
+ import { _ as y } from "./PackageVersion-CURzw4q1.js";
5
5
  import { _ as X } from "./_plugin-vue_export-helper-CHgC5LLL.js";
6
6
  const G = ["id"], R = ["xmlns"], T = ["stroke"], Y = ["stroke"], D = ["stroke"], U = ["fill", "stroke"], J = ["fill"], K = ["fill", "stroke"], Q = ["fill"], ll = ["fill", "stroke"], tl = ["fill"], el = ["fill", "stroke"], ol = ["fill"], sl = ["fill", "stroke"], rl = ["fill"], il = ["fill", "stroke"], nl = ["fill"], al = ["xmlns"], cl = ["stroke"], ul = ["stroke"], dl = ["stroke"], yl = ["stroke"], kl = ["stroke"], hl = ["stroke"], vl = ["stroke"], _l = ["stroke"], xl = ["stroke"], pl = ["xmlns"], gl = ["stroke", "fill"], fl = ["xmlns"], wl = ["stroke", "fill"], ml = ["xmlns"], bl = ["fill"], Ml = ["fill"], Cl = ["fill"], Ll = ["fill"], $l = ["xmlns"], Al = ["stroke"], Pl = ["fill"], Bl = ["stroke", "fill"], Wl = ["stroke", "fill"], zl = ["fill"], jl = ["stroke", "fill"], ql = ["stroke", "fill"], Hl = ["fill"], El = ["stroke", "fill"], Sl = ["stroke", "fill"], Zl = ["fill"], Il = ["stroke", "fill"], Nl = ["stroke", "fill"], Fl = ["fill"], Ol = ["stroke", "fill"], Vl = ["stroke", "fill"], Xl = ["xmlns"], Gl = ["stroke"], Rl = ["stroke"], Tl = ["stroke", "fill"], Yl = ["stroke", "fill"], Dl = ["stroke", "fill"], Ul = ["stroke", "fill"], Jl = ["stroke", "fill"], Kl = ["stroke", "fill"], Ql = ["stroke", "fill"], lt = ["stroke", "fill"], tt = ["stroke", "fill"], et = ["stroke", "fill"], ot = ["stroke", "fill"], st = ["stroke", "fill"], rt = ["stroke", "fill"], it = ["stroke", "fill"], nt = ["stroke", "fill"], at = ["stroke", "fill"], ct = ["stroke", "fill"], ut = ["stroke", "fill"], dt = ["stroke", "fill"], yt = ["stroke", "fill"], kt = ["stroke", "fill"], ht = ["stroke", "fill"], vt = ["stroke", "fill"], _t = ["xmlns"], xt = ["stroke"], pt = ["xmlns"], gt = ["stroke"], ft = ["xmlns"], wt = ["stroke"], mt = ["xmlns"], bt = ["fill"], Mt = ["fill"], Ct = ["fill"], Lt = ["fill"], $t = ["fill"], At = ["fill"], Pt = ["fill"], Bt = ["fill"], Wt = ["fill"], zt = ["fill"], jt = ["fill"], qt = ["fill"], Ht = ["xmlns"], Et = ["stroke"], St = ["stroke"], Zt = ["stroke"], It = ["stroke"], Nt = ["stroke"], Ft = ["stroke"], Ot = ["xmlns"], Vt = ["stroke"], Xt = ["stroke"], Gt = ["stroke"], Rt = ["stroke"], Tt = ["stroke"], Yt = ["stroke"], Dt = ["stroke"], Ut = ["stroke"], Jt = ["stroke"], Kt = ["xmlns"], Qt = ["stroke"], le = ["xmlns"], te = ["stroke"], ee = ["stroke"], oe = ["stroke"], se = ["stroke"], re = ["stroke"], ie = ["stroke"], ne = ["stroke"], ae = ["stroke"], ce = ["stroke"], ue = ["xmlns"], de = ["x1", "x2", "stroke"], ye = ["xmlns"], ke = ["x", "y", "width", "height", "fill"], he = ["y", "width", "height", "fill"], ve = ["xmlns"], _e = ["fill"], xe = ["fill"], pe = ["fill"], ge = ["xmlns"], fe = ["x1", "x2", "y1", "y2", "stroke"], we = ["stroke"], me = ["fill"], be = ["xmlns"], Me = ["fill"], Ce = ["fill"], Le = ["x1", "y1", "x2", "y2", "stroke-width", "stroke"], $e = ["xmlns"], Ae = { key: 0 }, Pe = ["stroke", "stroke-width"], Be = ["stroke", "stroke-width"], We = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], ze = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], je = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], qe = ["x", "y", "height", "width", "fill"], He = ["xmlns", "viewBox"], Ee = ["x", "y", "stroke", "fill"], Se = ["xmlns"], Ze = ["d", "stroke"], Ie = ["cx", "cy", "r", "fill", "stroke"], Ne = ["cx", "cy", "r", "fill", "stroke"], Fe = ["x", "y", "width", "fill"], Oe = ["cx", "cy", "fill"], Ve = ["cx", "cy", "fill"], Xe = ["stroke"], Ge = ["xmlns"], Re = ["stroke", "stroke-width"], Te = ["stroke", "stroke-width"], Ye = ["stroke", "stroke-width"], De = ["fill"], Ue = ["fill"], Je = ["fill"], Ke = ["fill"], Qe = ["fill"], lo = ["fill"], to = ["xmlns"], eo = { key: 0 }, oo = ["stroke", "stroke-width"], so = ["stroke", "stroke-width"], ro = ["stroke", "stroke-width"], io = { key: 1 }, no = ["r", "fill"], ao = ["r", "fill"], co = ["xmlns"], uo = { key: 0 }, yo = ["stroke", "stroke-width"], ko = ["stroke", "stroke-width"], ho = ["fill", "rx", "x", "y", "width", "height"], vo = ["xmlns"], _o = ["stroke-width", "stroke"], xo = ["stroke-width", "stroke"], po = ["stroke-width", "stroke"], go = ["xmlns"], fo = ["stroke"], wo = ["stroke"], mo = ["stroke"], bo = ["stroke"], Mo = ["fill"], Co = ["stroke"], Lo = ["xmlns"], $o = ["stroke", "stroke-width"], Ao = ["stroke", "stroke-width"], Po = ["fill", "r"], Bo = ["fill", "r"], Wo = ["fill", "r"], zo = ["fill", "r"], jo = ["fill", "r"], qo = ["fill", "r"], Ho = ["fill", "r"], Eo = ["fill", "r"], So = ["fill", "r"], Zo = ["xmlns"], Io = ["d", "stroke", "stroke-width"], No = ["d", "stroke", "stroke-width"], Fo = ["d", "stroke", "stroke-width"], Oo = ["d", "stroke", "stroke-width"], Vo = ["stroke", "stroke-width"], Xo = ["stroke", "stroke-width"], Go = ["stroke", "stroke-width"], Ro = ["fill"], To = ["fill"], Yo = ["xmlns"], Do = ["x", "y", "fill"], Uo = ["x", "y", "fill"], Jo = ["x", "y", "fill"], Ko = ["xmlns"], Qo = ["fill"], ls = ["fill"], ts = ["y1", "y2", "stroke", "stroke-width"], es = ["x1", "x2", "stroke", "stroke-width"], os = ["xmlns", "stroke"], ss = ["fill"], rs = ["xmlns", "stroke"], is = ["xmlns", "stroke"], ns = ["fill"], as = ["xmlns", "stroke"], cs = ["xmlns", "stroke"], us = ["fill"], ds = ["xmlns", "stroke"], ys = ["xmlns", "stroke"], ks = ["fill"], hs = ["xmlns", "stroke"], vs = ["xmlns", "stroke"], _s = ["fill"], xs = ["xmlns", "stroke"], ps = ["xmlns"], gs = ["points", "fill", "stroke", "stroke-width"], fs = ["xmlns"], ws = { key: 0 }, ms = ["stroke", "stroke-width"], bs = ["y", "width", "fill", "rx"], Ms = {
7
7
  __name: "vue-ui-skeleton",