vue-data-ui 2.3.90 → 2.3.91

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 (182) hide show
  1. package/dist/{Arrow-C_Fnn6al.js → Arrow-CHTslrAF.js} +1 -1
  2. package/dist/{Arrow-D1pymKl6.cjs → Arrow-DpuaFuue.cjs} +1 -1
  3. package/dist/{BaseIcon-BMfi5PnL.js → BaseIcon-DfaCNBgc.js} +1 -1
  4. package/dist/{BaseIcon-CnFXP_n9.cjs → BaseIcon-JWGtHqTA.cjs} +1 -1
  5. package/dist/{DataTable-Cmbf3abv.js → DataTable-BKc3r3k3.js} +2 -2
  6. package/dist/{DataTable-cOEA6Z37.cjs → DataTable-CnkdsvIo.cjs} +1 -1
  7. package/dist/{Legend-XqP6-7Ac.cjs → Legend-BQJV6Xk4.cjs} +1 -1
  8. package/dist/{Legend-CCq0mNRg.js → Legend-WNL92WSx.js} +1 -1
  9. package/dist/PackageVersion-D9PU8glB.js +10 -0
  10. package/dist/PackageVersion-LdLhc8hQ.cjs +1 -0
  11. package/dist/{Shape-B51JGReT.cjs → Shape-CgW0V2Og.cjs} +1 -1
  12. package/dist/{Shape-BNocET8E.js → Shape-DPvoEBm9.js} +1 -1
  13. package/dist/{Slicer-BKszZXjM.js → Slicer-DE9nFM_c.js} +2 -2
  14. package/dist/{Slicer-Bc7OWCcl.cjs → Slicer-Dma3nlzi.cjs} +1 -1
  15. package/dist/{Title-BaR4XyXa.cjs → Title-Bg_BK11V.cjs} +1 -1
  16. package/dist/{Title-DlBwa3-X.js → Title-CECK1w9L.js} +1 -1
  17. package/dist/{Tooltip-w32n-8sY.js → Tooltip-Ci3AprCm.js} +1 -1
  18. package/dist/{Tooltip-CX57w9Q9.cjs → Tooltip-lM1Jzkza.cjs} +1 -1
  19. package/dist/{index-B8EMsnjU.cjs → index-BhH89oF0.cjs} +1 -1
  20. package/dist/{index-DQl1TFXa.js → index-mBy4elhB.js} +1 -1
  21. package/dist/style.css +1 -1
  22. package/dist/{useNestedProp-lmeFt-ev.js → useNestedProp-BrIRtQj1.js} +1 -1
  23. package/dist/{useNestedProp-DlCe_zZz.cjs → useNestedProp-m8IH8hWW.cjs} +1 -1
  24. package/dist/{usePrinter-BmXrEJ99.cjs → usePrinter-B8jr_V3b.cjs} +1 -1
  25. package/dist/{usePrinter-DgKGVvJC.js → usePrinter-Ck-yukK2.js} +1 -1
  26. package/dist/{vue-data-ui-DQurgvN8.cjs → vue-data-ui-BgaY7Noy.cjs} +1 -1
  27. package/dist/{vue-data-ui-Byrb_Y3k.js → vue-data-ui-BuL-2aYA.js} +57 -57
  28. package/dist/vue-data-ui.cjs +1 -1
  29. package/dist/vue-data-ui.js +1 -1
  30. package/dist/vue-ui-3d-bar-C9a-AsIX.cjs +19 -0
  31. package/dist/{vue-ui-3d-bar-CM_usP2U.js → vue-ui-3d-bar-Cv-56A3m.js} +148 -146
  32. package/dist/{vue-ui-accordion-DRI-fN6I.cjs → vue-ui-accordion-Bzq1iTL2.cjs} +1 -1
  33. package/dist/{vue-ui-accordion-CroZrm7T.js → vue-ui-accordion-dyF20BlD.js} +3 -3
  34. package/dist/{vue-ui-age-pyramid-BZU-WI_a.js → vue-ui-age-pyramid-BqsDR6uw.js} +83 -81
  35. package/dist/vue-ui-age-pyramid-DDPU8QV8.cjs +1 -0
  36. package/dist/{vue-ui-annotator-BpzM25VY.cjs → vue-ui-annotator-B9HxrEVE.cjs} +1 -1
  37. package/dist/{vue-ui-annotator-CsfYgmrC.js → vue-ui-annotator-CkJsRR0r.js} +1 -1
  38. package/dist/{vue-ui-candlestick-BPi7aBEf.js → vue-ui-candlestick-B8eYA2g0.js} +113 -111
  39. package/dist/vue-ui-candlestick-DbbbJa-d.cjs +2 -0
  40. package/dist/{vue-ui-carousel-table-tbviS8Fo.js → vue-ui-carousel-table-BCiTg3Ok.js} +4 -4
  41. package/dist/{vue-ui-carousel-table-CpodLcgX.cjs → vue-ui-carousel-table-CCWGcKb7.cjs} +1 -1
  42. package/dist/{vue-ui-chestnut-ql9yEs6j.js → vue-ui-chestnut-DI-N69Ad.js} +161 -159
  43. package/dist/vue-ui-chestnut-rsWP_sXY.cjs +6 -0
  44. package/dist/{vue-ui-cursor-Dw7_R_Pd.js → vue-ui-cursor-BUzJk1oC.js} +2 -2
  45. package/dist/{vue-ui-cursor-B3w0SgJP.cjs → vue-ui-cursor-wY14Z-Vd.cjs} +1 -1
  46. package/dist/{vue-ui-dashboard-enrB5B3P.cjs → vue-ui-dashboard-Cf8TYbAr.cjs} +1 -1
  47. package/dist/{vue-ui-dashboard-DAY0cdat.js → vue-ui-dashboard-CiG3kXLl.js} +2 -2
  48. package/dist/{vue-ui-digits-3Q6uZCzD.cjs → vue-ui-digits-BBho1-xO.cjs} +1 -1
  49. package/dist/{vue-ui-digits-DN6CRpXc.js → vue-ui-digits-DZJI0YuX.js} +2 -2
  50. package/dist/{vue-ui-donut-B3yDJvZI.js → vue-ui-donut-CBG9ECp8.js} +118 -116
  51. package/dist/vue-ui-donut-D4WpeX9W.cjs +1 -0
  52. package/dist/vue-ui-donut-evolution-BVnSrr-b.cjs +1 -0
  53. package/dist/{vue-ui-donut-evolution-CzBvVRKG.js → vue-ui-donut-evolution-BtTiBfLb.js} +102 -100
  54. package/dist/vue-ui-dumbbell-BQKiB9yH.cjs +9 -0
  55. package/dist/{vue-ui-dumbbell-vQ5YRGwJ.js → vue-ui-dumbbell-DlEN2c_X.js} +88 -86
  56. package/dist/{vue-ui-flow-DAOKURA6.js → vue-ui-flow-CXqGztWj.js} +65 -63
  57. package/dist/vue-ui-flow-DfMNmttZ.cjs +1 -0
  58. package/dist/vue-ui-galaxy-CGn5nkD5.cjs +1 -0
  59. package/dist/{vue-ui-galaxy-B86BK1JM.js → vue-ui-galaxy-xI38Kf-S.js} +82 -80
  60. package/dist/{vue-ui-gauge-n8TilFo9.js → vue-ui-gauge-BEludqYn.js} +56 -54
  61. package/dist/vue-ui-gauge-Bz-OSNOJ.cjs +1 -0
  62. package/dist/{vue-ui-gizmo-CFIBlG4V.js → vue-ui-gizmo-BB28OTr1.js} +32 -30
  63. package/dist/vue-ui-gizmo-CZZB7YgY.cjs +1 -0
  64. package/dist/vue-ui-heatmap-BtUvE7rK.cjs +1 -0
  65. package/dist/{vue-ui-heatmap-ZkmD9EAg.js → vue-ui-heatmap-mywZXUV8.js} +99 -97
  66. package/dist/{vue-ui-kpi-D6Myg0y1.cjs → vue-ui-kpi-CEAGjnkj.cjs} +1 -1
  67. package/dist/{vue-ui-kpi-CtJ3t6GX.js → vue-ui-kpi-zr721ux9.js} +3 -3
  68. package/dist/{vue-ui-mini-loader-Cosy9XjR.js → vue-ui-mini-loader-9zyuKIpT.js} +2 -2
  69. package/dist/{vue-ui-mini-loader-BjJ_YYZj.cjs → vue-ui-mini-loader-DBFAzGb2.cjs} +1 -1
  70. package/dist/{vue-ui-molecule-DTFOBjgC.js → vue-ui-molecule-Bv_ppQig.js} +77 -75
  71. package/dist/vue-ui-molecule-DltNL0kV.cjs +1 -0
  72. package/dist/{vue-ui-mood-radar-J_dI9m_i.js → vue-ui-mood-radar-CIK2Xohn.js} +76 -74
  73. package/dist/vue-ui-mood-radar-CQkF2Rp1.cjs +1 -0
  74. package/dist/{vue-ui-nested-donuts-CtqU4xxu.js → vue-ui-nested-donuts-f-cMx3iQ.js} +112 -110
  75. package/dist/vue-ui-nested-donuts-vHr23QlH.cjs +17 -0
  76. package/dist/vue-ui-onion-B6ZrryDW.cjs +5 -0
  77. package/dist/{vue-ui-onion-BMo0Ye54.js → vue-ui-onion-CmUXelhy.js} +82 -80
  78. package/dist/vue-ui-parallel-coordinate-plot-BU0yoxD9.cjs +8 -0
  79. package/dist/{vue-ui-parallel-coordinate-plot-yKLZbDS5.js → vue-ui-parallel-coordinate-plot-h9dS2u_k.js} +91 -89
  80. package/dist/{vue-ui-quadrant-BrRasVaj.js → vue-ui-quadrant-DNT_0fTL.js} +141 -139
  81. package/dist/vue-ui-quadrant-DPPXilUd.cjs +1 -0
  82. package/dist/vue-ui-quick-chart-1gG267X0.cjs +15 -0
  83. package/dist/{vue-ui-quick-chart-uH33UIjX.js → vue-ui-quick-chart-T6C0BTyw.js} +166 -164
  84. package/dist/{vue-ui-radar-BJ3qMHP4.js → vue-ui-radar-CfCHXIYJ.js} +89 -87
  85. package/dist/vue-ui-radar-DpzjMFZD.cjs +1 -0
  86. package/dist/{vue-ui-rating-BEWaQMBR.cjs → vue-ui-rating-DYcT_LS-.cjs} +1 -1
  87. package/dist/{vue-ui-rating-BFskhiyh.js → vue-ui-rating-DuRLpMwk.js} +2 -2
  88. package/dist/vue-ui-relation-circle-BMrPtD2n.cjs +1 -0
  89. package/dist/{vue-ui-relation-circle-DdK4qk0P.js → vue-ui-relation-circle-WmZMKqHL.js} +54 -52
  90. package/dist/{vue-ui-rings-BqHSq6Wt.js → vue-ui-rings-Ce0Z_osd.js} +97 -93
  91. package/dist/{vue-ui-rings-D_T_D6AS.cjs → vue-ui-rings-CkYl3uce.cjs} +2 -2
  92. package/dist/vue-ui-scatter-Cjie2D-t.cjs +1 -0
  93. package/dist/{vue-ui-scatter-C0gfF6NJ.js → vue-ui-scatter-DY9EpoGP.js} +132 -130
  94. package/dist/{vue-ui-screenshot-CbvIYfYU.cjs → vue-ui-screenshot-BCFym6go.cjs} +1 -1
  95. package/dist/{vue-ui-screenshot-6tOLntj9.js → vue-ui-screenshot-lQLJHBQ2.js} +1 -1
  96. package/dist/vue-ui-skeleton-Cf89QIhl.cjs +41 -0
  97. package/dist/{vue-ui-skeleton-BVJGmYjj.js → vue-ui-skeleton-DDhwPZd_.js} +423 -388
  98. package/dist/{vue-ui-smiley-CUgH2tnV.cjs → vue-ui-smiley-DMA6fgGr.cjs} +1 -1
  99. package/dist/{vue-ui-smiley-2EoxEmXW.js → vue-ui-smiley-xxMwBT9c.js} +2 -2
  100. package/dist/vue-ui-spark-trend-Btj_H6fa.cjs +1 -0
  101. package/dist/{vue-ui-spark-trend-DjNPMOkN.js → vue-ui-spark-trend-CLHTqp94.js} +42 -40
  102. package/dist/{vue-ui-sparkbar-BBm3DE1P.js → vue-ui-sparkbar-Btk6snt4.js} +53 -51
  103. package/dist/vue-ui-sparkbar-CKrbBVKQ.cjs +1 -0
  104. package/dist/{vue-ui-sparkgauge-IIW24eJQ.js → vue-ui-sparkgauge-DKJtFTSv.js} +31 -29
  105. package/dist/vue-ui-sparkgauge-DfWLtFYS.cjs +1 -0
  106. package/dist/{vue-ui-sparkhistogram-DVXxA6ji.js → vue-ui-sparkhistogram-JRLlw9EX.js} +69 -67
  107. package/dist/vue-ui-sparkhistogram-wHJ-8zVV.cjs +1 -0
  108. package/dist/vue-ui-sparkline-DElVaalm.cjs +1 -0
  109. package/dist/{vue-ui-sparkline-CH89kcaa.js → vue-ui-sparkline-tBF9iaNm.js} +65 -63
  110. package/dist/{vue-ui-sparkstackbar-Bcod5yu_.js → vue-ui-sparkstackbar-BS9I8en7.js} +46 -44
  111. package/dist/vue-ui-sparkstackbar-tZa2IYHP.cjs +1 -0
  112. package/dist/{vue-ui-stackbar-Djjcgtyg.js → vue-ui-stackbar-UiX8q4yL.js} +128 -126
  113. package/dist/vue-ui-stackbar-rOa0atA9.cjs +6 -0
  114. package/dist/{vue-ui-strip-plot-ByPCQ4xk.js → vue-ui-strip-plot-BOkfg5vB.js} +78 -76
  115. package/dist/vue-ui-strip-plot-hRy6QRHK.cjs +1 -0
  116. package/dist/{vue-ui-table-B6Kpda3o.cjs → vue-ui-table-B9dc0l0k.cjs} +1 -1
  117. package/dist/{vue-ui-table-D8Sm2fzX.js → vue-ui-table-Dtfv71zG.js} +1 -1
  118. package/dist/{vue-ui-table-heatmap-mlq_J56h.js → vue-ui-table-heatmap-BMl-sP5Q.js} +4 -4
  119. package/dist/{vue-ui-table-heatmap-DjEN0l12.cjs → vue-ui-table-heatmap-DUQEHohs.cjs} +1 -1
  120. package/dist/{vue-ui-table-sparkline-DByva7rj.cjs → vue-ui-table-sparkline-BVnGb-lu.cjs} +1 -1
  121. package/dist/{vue-ui-table-sparkline-DF29_qZk.js → vue-ui-table-sparkline-BeunspIj.js} +5 -5
  122. package/dist/vue-ui-thermometer-A3Xxn5Ly.cjs +1 -0
  123. package/dist/{vue-ui-thermometer-BKf-rGuS.js → vue-ui-thermometer-Cb9ALBj_.js} +80 -78
  124. package/dist/{vue-ui-timer-B8jW8M60.js → vue-ui-timer-2PRDq1w6.js} +62 -60
  125. package/dist/vue-ui-timer-DltmIdrq.cjs +64 -0
  126. package/dist/vue-ui-tiremarks-BTlJcW4v.cjs +1 -0
  127. package/dist/{vue-ui-tiremarks-riEfve5q.js → vue-ui-tiremarks-Bse3PMGV.js} +51 -49
  128. package/dist/vue-ui-treemap-Cv_mHK8H.cjs +1 -0
  129. package/dist/{vue-ui-treemap-5F0ynBnb.js → vue-ui-treemap-D8fjVYq0.js} +93 -91
  130. package/dist/{vue-ui-vertical-bar-CxRBvHZy.js → vue-ui-vertical-bar-BVldPT8k.js} +110 -108
  131. package/dist/vue-ui-vertical-bar-ZgJq3_CI.cjs +4 -0
  132. package/dist/vue-ui-waffle-BpeGEjCl.cjs +1 -0
  133. package/dist/{vue-ui-waffle-B8G4i5WH.js → vue-ui-waffle-wikAjwZY.js} +72 -70
  134. package/dist/vue-ui-wheel-BlgfdULS.cjs +1 -0
  135. package/dist/{vue-ui-wheel-DmzkGeCY.js → vue-ui-wheel-D5qyBs0Y.js} +43 -41
  136. package/dist/{vue-ui-word-cloud-dMBTVGVk.js → vue-ui-word-cloud-Bcdl2iE-.js} +60 -58
  137. package/dist/vue-ui-word-cloud-sNzfl_Tq.cjs +1 -0
  138. package/dist/{vue-ui-xy-iUQyB_PL.js → vue-ui-xy-CUjllUSv.js} +507 -504
  139. package/dist/vue-ui-xy-FHLTc7xG.cjs +3 -0
  140. package/dist/{vue-ui-xy-canvas-CCwtKYgd.cjs → vue-ui-xy-canvas-BJUnRVuf.cjs} +1 -1
  141. package/dist/{vue-ui-xy-canvas-nraUv13Y.js → vue-ui-xy-canvas-BkOlPU8e.js} +10 -10
  142. package/package.json +1 -1
  143. package/dist/vue-ui-3d-bar-Ce-Re50D.cjs +0 -19
  144. package/dist/vue-ui-age-pyramid-C08rTXJn.cjs +0 -1
  145. package/dist/vue-ui-candlestick-m8fjxbj-.cjs +0 -2
  146. package/dist/vue-ui-chestnut-Y0gQvbbf.cjs +0 -6
  147. package/dist/vue-ui-donut-CCm7GJsm.cjs +0 -1
  148. package/dist/vue-ui-donut-evolution-DiN8Jm0n.cjs +0 -1
  149. package/dist/vue-ui-dumbbell-lb72j7bY.cjs +0 -9
  150. package/dist/vue-ui-flow-B5Gxaqvl.cjs +0 -1
  151. package/dist/vue-ui-galaxy-Ck5cPkrh.cjs +0 -1
  152. package/dist/vue-ui-gauge-BwIhwSUw.cjs +0 -1
  153. package/dist/vue-ui-gizmo-DrGaoiM_.cjs +0 -1
  154. package/dist/vue-ui-heatmap-BLc6thGZ.cjs +0 -1
  155. package/dist/vue-ui-molecule-CAj1HFit.cjs +0 -1
  156. package/dist/vue-ui-mood-radar-CV2in2wO.cjs +0 -1
  157. package/dist/vue-ui-nested-donuts-4vO23n9z.cjs +0 -17
  158. package/dist/vue-ui-onion-B3mtn6xf.cjs +0 -5
  159. package/dist/vue-ui-parallel-coordinate-plot-DFMbhLY9.cjs +0 -8
  160. package/dist/vue-ui-quadrant-CpJX1Jwa.cjs +0 -1
  161. package/dist/vue-ui-quick-chart-CTxsI2tk.cjs +0 -15
  162. package/dist/vue-ui-radar-DFjsXmJ3.cjs +0 -1
  163. package/dist/vue-ui-relation-circle-DXuKdCih.cjs +0 -1
  164. package/dist/vue-ui-scatter-DPByFMNL.cjs +0 -1
  165. package/dist/vue-ui-skeleton-Bli7jLZ7.cjs +0 -41
  166. package/dist/vue-ui-spark-trend-sfgUJ32Q.cjs +0 -1
  167. package/dist/vue-ui-sparkbar-CKWYzriN.cjs +0 -1
  168. package/dist/vue-ui-sparkgauge-D0q9F9Nz.cjs +0 -1
  169. package/dist/vue-ui-sparkhistogram-CywhBkm2.cjs +0 -1
  170. package/dist/vue-ui-sparkline-Besp8Ffy.cjs +0 -1
  171. package/dist/vue-ui-sparkstackbar-qXm8Ozzm.cjs +0 -1
  172. package/dist/vue-ui-stackbar-D0fGVkCR.cjs +0 -6
  173. package/dist/vue-ui-strip-plot-XDj8rL9m.cjs +0 -1
  174. package/dist/vue-ui-thermometer-C3T56ras.cjs +0 -1
  175. package/dist/vue-ui-timer-B_ZvV1ON.cjs +0 -64
  176. package/dist/vue-ui-tiremarks-DRbSpTgq.cjs +0 -1
  177. package/dist/vue-ui-treemap-CtKUTs2G.cjs +0 -1
  178. package/dist/vue-ui-vertical-bar-BBIWdeXH.cjs +0 -4
  179. package/dist/vue-ui-waffle-9a3C4Nj-.cjs +0 -1
  180. package/dist/vue-ui-wheel-CErxlmqw.cjs +0 -1
  181. package/dist/vue-ui-word-cloud-nmx846H2.cjs +0 -1
  182. package/dist/vue-ui-xy-CLYgZk3Y.cjs +0 -3
@@ -1,15 +1,16 @@
1
- import { computed as p, ref as o, watch as L, onMounted as V, onBeforeUnmount as ee, openBlock as r, createElementBlock as v, normalizeStyle as U, createBlock as b, createCommentVNode as d, unref as n, createSlots as te, withCtx as _, renderSlot as f, normalizeProps as X, guardReactiveProps as B, normalizeClass as G, Fragment as ae, renderList as le, toDisplayString as se } from "vue";
2
- import { u as ne, c as oe, t as re, o as ue, e as ie, w as T, X as ce, i as he, v as E, f as ve } from "./index-DQl1TFXa.js";
3
- import { _ as de } from "./Title-DlBwa3-X.js";
4
- import { u as fe, U as ye } from "./usePrinter-DgKGVvJC.js";
5
- import { t as me, u as ge } from "./useResponsive-NZB-WLRF.js";
6
- import pe from "./vue-ui-skeleton-BVJGmYjj.js";
7
- import { u as R } from "./useNestedProp-lmeFt-ev.js";
8
- import { _ as ke } from "./_plugin-vue_export-helper-CHgC5LLL.js";
9
- const we = ["id"], Ce = ["xmlns", "viewBox"], be = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-linecap"], _e = ["cx", "cy", "r", "stroke", "stroke-width"], xe = ["x", "y", "font-size", "fill", "font-weight"], Ie = {
1
+ import { computed as p, ref as o, watch as L, onMounted as V, onBeforeUnmount as ee, openBlock as r, createElementBlock as v, normalizeStyle as U, createBlock as C, createCommentVNode as d, unref as n, createSlots as te, withCtx as _, renderSlot as f, normalizeProps as X, guardReactiveProps as B, normalizeClass as G, createVNode as ae, Fragment as le, renderList as se, toDisplayString as ne } from "vue";
2
+ import { u as oe, c as re, t as ue, o as ie, e as ce, w as T, X as he, i as ve, v as E, f as de } from "./index-mBy4elhB.js";
3
+ import { _ as fe } from "./Title-CECK1w9L.js";
4
+ import { u as ye, U as me } from "./usePrinter-Ck-yukK2.js";
5
+ import { t as ge, u as pe } from "./useResponsive-NZB-WLRF.js";
6
+ import ke from "./vue-ui-skeleton-DDhwPZd_.js";
7
+ import { u as R } from "./useNestedProp-BrIRtQj1.js";
8
+ import { _ as we } from "./PackageVersion-D9PU8glB.js";
9
+ import { _ as be } from "./_plugin-vue_export-helper-CHgC5LLL.js";
10
+ const Ce = ["id"], _e = ["xmlns", "viewBox"], xe = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-linecap"], Ie = ["cx", "cy", "r", "stroke", "stroke-width"], $e = ["x", "y", "font-size", "fill", "font-weight"], Fe = {
10
11
  key: 3,
11
12
  class: "vue-data-ui-watermark"
12
- }, Fe = {
13
+ }, Pe = {
13
14
  __name: "vue-ui-wheel",
14
15
  props: {
15
16
  config: {
@@ -26,33 +27,33 @@ const we = ["id"], Ce = ["xmlns", "viewBox"], be = ["x1", "x2", "y1", "y2", "str
26
27
  }
27
28
  },
28
29
  setup(j, { expose: D }) {
29
- const i = j, { vue_ui_wheel: Y } = ne(), k = p(() => !!i.dataset && Object.keys(i.dataset).length), w = o(oe()), H = o(null), x = o(0), y = o(null), I = o(null), F = o(0), e = p({
30
- get: () => P(),
30
+ const i = j, { vue_ui_wheel: Y } = oe(), k = p(() => !!i.dataset && Object.keys(i.dataset).length), w = o(re()), H = o(null), x = o(0), y = o(null), I = o(null), $ = o(0), e = p({
31
+ get: () => F(),
31
32
  set: (t) => t
32
33
  });
33
- function P() {
34
+ function F() {
34
35
  const t = R({
35
36
  userConfig: i.config,
36
37
  defaultConfig: Y
37
38
  });
38
39
  return t.theme ? {
39
40
  ...R({
40
- userConfig: re.vue_ui_wheel[t.theme] || i.config,
41
+ userConfig: ue.vue_ui_wheel[t.theme] || i.config,
41
42
  defaultConfig: t
42
43
  })
43
44
  } : t;
44
45
  }
45
46
  L(() => i.config, (t) => {
46
- e.value = P(), N(), F.value += 1;
47
+ e.value = F(), N(), $.value += 1;
47
48
  }, { deep: !0 });
48
- const { isPrinting: $, isImaging: z, generatePdf: O, generateImage: S } = fe({
49
+ const { isPrinting: P, isImaging: z, generatePdf: O, generateImage: S } = ye({
49
50
  elementId: w.value,
50
51
  fileName: e.value.style.chart.title.text || "vue-ui-wheel"
51
52
  }), l = o({
52
53
  size: 360,
53
54
  height: 360,
54
55
  width: 360
55
- }), C = o(e.value.style.chart.layout.percentage.fontSize), u = p(() => ({
56
+ }), b = o(e.value.style.chart.layout.percentage.fontSize), u = p(() => ({
56
57
  radius: Math.min(l.value.width, l.value.height) * 0.9 / 2,
57
58
  centerX: l.value.width / 2,
58
59
  centerY: l.value.height / 2
@@ -72,16 +73,16 @@ const we = ["id"], Ce = ["xmlns", "viewBox"], be = ["x1", "x2", "y1", "y2", "str
72
73
  N();
73
74
  });
74
75
  function N() {
75
- if (ue(i.dataset) && ie({
76
+ if (ie(i.dataset) && ce({
76
77
  componentName: "VueUiWheel",
77
78
  type: "dataset"
78
79
  }), A(i.dataset.percentage || 0), e.value.responsive) {
79
- const t = me(() => {
80
- const { width: c, height: a } = ge({
80
+ const t = ge(() => {
81
+ const { width: c, height: a } = pe({
81
82
  chart: y.value,
82
83
  title: e.value.style.chart.title.text ? I.value : null
83
84
  });
84
- l.value.width = c, l.value.height = a, C.value = e.value.style.chart.layout.percentage.fontSize / 360 * Math.min(c, a);
85
+ l.value.width = c, l.value.height = a, b.value = e.value.style.chart.layout.percentage.fontSize / 360 * Math.min(c, a);
85
86
  });
86
87
  m.value = new ResizeObserver(t), m.value.observe(y.value.parentNode);
87
88
  }
@@ -130,8 +131,8 @@ const we = ["id"], Ce = ["xmlns", "viewBox"], be = ["x1", "x2", "y1", "y2", "str
130
131
  ref: I,
131
132
  style: "width:100%;background:transparent;padding-bottom:12px"
132
133
  }, [
133
- (r(), b(de, {
134
- key: `title_${F.value}`,
134
+ (r(), C(fe, {
135
+ key: `title_${$.value}`,
135
136
  config: {
136
137
  title: {
137
138
  cy: "wheel-title",
@@ -144,13 +145,13 @@ const we = ["id"], Ce = ["xmlns", "viewBox"], be = ["x1", "x2", "y1", "y2", "str
144
145
  }
145
146
  }, null, 8, ["config"]))
146
147
  ], 512)) : d("", !0),
147
- e.value.userOptions.show && k.value ? (r(), b(ye, {
148
+ e.value.userOptions.show && k.value ? (r(), C(me, {
148
149
  ref_key: "details",
149
150
  ref: H,
150
151
  key: `user_options_${x.value}`,
151
152
  backgroundColor: e.value.style.chart.backgroundColor,
152
153
  color: e.value.style.chart.color,
153
- isPrinting: n($),
154
+ isPrinting: n(P),
154
155
  isImaging: n(z),
155
156
  uid: w.value,
156
157
  hasPdf: e.value.userOptions.buttons.pdf,
@@ -189,12 +190,13 @@ const we = ["id"], Ce = ["xmlns", "viewBox"], be = ["x1", "x2", "y1", "y2", "str
189
190
  ]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasPdf", "hasImg", "hasFullscreen", "isFullscreen", "position", "titles", "chartElement", "onGeneratePdf", "onGenerateImage"])) : d("", !0),
190
191
  k.value ? (r(), v("svg", {
191
192
  key: 2,
192
- xmlns: n(ce),
193
+ xmlns: n(he),
193
194
  class: G({ "vue-data-ui-fullscreen--on": g.value, "vue-data-ui-fulscreen--off": !g.value }),
194
195
  viewBox: `0 0 ${l.value.width <= 0 ? 10 : l.value.width} ${l.value.height <= 0 ? 10 : l.value.height}`,
195
196
  style: U(`max-width:100%;overflow:visible;background:transparent;color:${e.value.style.chart.color}`)
196
197
  }, [
197
- (r(!0), v(ae, null, le(W.value, (a, h) => (r(), v("line", {
198
+ ae(we),
199
+ (r(!0), v(le, null, se(W.value, (a, h) => (r(), v("line", {
198
200
  x1: a.x1,
199
201
  x2: a.x2,
200
202
  y1: a.y1,
@@ -203,7 +205,7 @@ const we = ["id"], Ce = ["xmlns", "viewBox"], be = ["x1", "x2", "y1", "y2", "str
203
205
  "stroke-width": 5 / 360 * Math.min(l.value.width, l.value.height),
204
206
  "stroke-linecap": e.value.style.chart.layout.wheel.ticks.rounded ? "round" : "butt",
205
207
  class: G({ "vue-ui-tick-animated": e.value.style.chart.animation.use && h <= s.value })
206
- }, null, 10, be))), 256)),
208
+ }, null, 10, xe))), 256)),
207
209
  e.value.style.chart.layout.innerCircle.show ? (r(), v("circle", {
208
210
  key: 0,
209
211
  cx: u.value.centerX,
@@ -212,31 +214,31 @@ const we = ["id"], Ce = ["xmlns", "viewBox"], be = ["x1", "x2", "y1", "y2", "str
212
214
  stroke: e.value.style.chart.layout.innerCircle.stroke,
213
215
  "stroke-width": e.value.style.chart.layout.innerCircle.strokeWidth,
214
216
  fill: "none"
215
- }, null, 8, _e)) : d("", !0),
217
+ }, null, 8, Ie)) : d("", !0),
216
218
  e.value.style.chart.layout.percentage.show ? (r(), v("text", {
217
219
  key: 1,
218
220
  x: u.value.centerX,
219
- y: u.value.centerY + C.value / 3,
220
- "font-size": C.value,
221
+ y: u.value.centerY + b.value / 3,
222
+ "font-size": b.value,
221
223
  fill: e.value.style.chart.layout.wheel.ticks.gradient.show ? n(T)(e.value.style.chart.layout.wheel.ticks.activeColor, s.value / 100 * (e.value.style.chart.layout.wheel.ticks.gradient.shiftHueIntensity / 100)) : e.value.style.chart.layout.wheel.ticks.activeColor,
222
224
  "text-anchor": "middle",
223
225
  "font-weight": e.value.style.chart.layout.percentage.bold ? "bold" : "normal",
224
226
  style: { "font-variant-numeric": "tabluar-nums" }
225
- }, se(n(he)(
227
+ }, ne(n(ve)(
226
228
  e.value.style.chart.layout.percentage.formatter,
227
229
  n(E)(s.value),
228
- n(ve)({
230
+ n(de)({
229
231
  v: n(E)(s.value),
230
232
  s: "%",
231
233
  r: e.value.style.chart.layout.percentage.rounding
232
234
  })
233
- )), 9, xe)) : d("", !0),
235
+ )), 9, $e)) : d("", !0),
234
236
  f(t.$slots, "svg", { svg: l.value }, void 0, !0)
235
- ], 14, Ce)) : d("", !0),
236
- t.$slots.watermark ? (r(), v("div", Ie, [
237
- f(t.$slots, "watermark", X(B({ isPrinting: n($) || n(z) })), void 0, !0)
237
+ ], 14, _e)) : d("", !0),
238
+ t.$slots.watermark ? (r(), v("div", Fe, [
239
+ f(t.$slots, "watermark", X(B({ isPrinting: n(P) || n(z) })), void 0, !0)
238
240
  ])) : d("", !0),
239
- k.value ? d("", !0) : (r(), b(pe, {
241
+ k.value ? d("", !0) : (r(), C(ke, {
240
242
  key: 4,
241
243
  config: {
242
244
  type: "wheel",
@@ -248,9 +250,9 @@ const we = ["id"], Ce = ["xmlns", "viewBox"], be = ["x1", "x2", "y1", "y2", "str
248
250
  }
249
251
  }
250
252
  }, null, 8, ["config"]))
251
- ], 12, we));
253
+ ], 12, Ce));
252
254
  }
253
- }, Le = /* @__PURE__ */ ke(Fe, [["__scopeId", "data-v-c986f267"]]);
255
+ }, Be = /* @__PURE__ */ be(Pe, [["__scopeId", "data-v-b8e98e43"]]);
254
256
  export {
255
- Le as default
257
+ Be as default
256
258
  };
@@ -1,20 +1,21 @@
1
- import { useCssVars as Se, computed as g, openBlock as r, createElementBlock as v, createVNode as Fe, renderSlot as f, createElementVNode as w, normalizeStyle as H, pushScopeId as Ne, popScopeId as _e, ref as c, watch as X, onMounted as Pe, onBeforeUnmount as Te, createBlock as I, createCommentVNode as N, unref as C, createSlots as ze, withCtx as m, normalizeProps as j, guardReactiveProps as q, normalizeClass as se, Fragment as Ie, renderList as Ae, toDisplayString as ne, createTextVNode as Oe, nextTick as re } from "vue";
2
- import { u as Me, Y as De, v as We, c as ue, t as Be, a as Ee, p as R, o as Re, e as ie, g as Ue, f as Ve, X as Ge, q as Le, r as Xe } from "./index-DQl1TFXa.js";
3
- import { _ as je } from "./Title-DlBwa3-X.js";
4
- import { u as qe, U as He } from "./usePrinter-DgKGVvJC.js";
1
+ import { useCssVars as Fe, computed as g, openBlock as r, createElementBlock as v, createVNode as de, renderSlot as f, createElementVNode as w, normalizeStyle as H, pushScopeId as _e, popScopeId as Ne, ref as c, watch as X, onMounted as Pe, onBeforeUnmount as Te, createBlock as I, createCommentVNode as _, unref as C, createSlots as ze, withCtx as m, normalizeProps as j, guardReactiveProps as q, normalizeClass as se, Fragment as Ie, renderList as Ae, toDisplayString as ne, createTextVNode as Oe, nextTick as re } from "vue";
2
+ import { u as Me, Y as De, v as We, c as ue, t as Be, a as Ee, p as R, o as Re, e as ie, g as Ue, f as Ve, X as Ge, q as Le, r as Xe } from "./index-mBy4elhB.js";
3
+ import { _ as je } from "./Title-CECK1w9L.js";
4
+ import { u as qe, U as He } from "./usePrinter-Ck-yukK2.js";
5
5
  import { d as Ye, t as Je, u as Ke } from "./useResponsive-NZB-WLRF.js";
6
- import Qe from "./vue-ui-accordion-CroZrm7T.js";
7
- import { D as Ze } from "./DataTable-Cmbf3abv.js";
8
- import et from "./BaseIcon-BMfi5PnL.js";
9
- import { _ as de } from "./_plugin-vue_export-helper-CHgC5LLL.js";
10
- import { u as ce } from "./useNestedProp-lmeFt-ev.js";
11
- const tt = (u) => (Ne("data-v-3fd7d274"), u = u(), _e(), u), at = { "data-html2canvas-ignore": "" }, ot = {
6
+ import Qe from "./vue-ui-accordion-dyF20BlD.js";
7
+ import { D as Ze } from "./DataTable-BKc3r3k3.js";
8
+ import et from "./BaseIcon-DfaCNBgc.js";
9
+ import { _ as ve } from "./_plugin-vue_export-helper-CHgC5LLL.js";
10
+ import { u as ce } from "./useNestedProp-BrIRtQj1.js";
11
+ import { _ as tt } from "./PackageVersion-D9PU8glB.js";
12
+ const at = (u) => (_e("data-v-3fd7d274"), u = u(), Ne(), u), ot = { "data-html2canvas-ignore": "" }, lt = {
12
13
  key: 0,
13
14
  class: "reset-wrapper"
14
- }, lt = {
15
+ }, st = {
15
16
  key: 1,
16
17
  class: "reset-wrapper"
17
- }, st = { class: "mono-slicer" }, nt = /* @__PURE__ */ tt(() => /* @__PURE__ */ w("div", { class: "slider-track" }, null, -1)), rt = ["min", "max", "value"], ut = {
18
+ }, nt = { class: "mono-slicer" }, rt = /* @__PURE__ */ at(() => /* @__PURE__ */ w("div", { class: "slider-track" }, null, -1)), ut = ["min", "max", "value"], it = {
18
19
  __name: "MonoSlicer",
19
20
  props: {
20
21
  min: {
@@ -61,14 +62,14 @@ const tt = (u) => (Ne("data-v-3fd7d274"), u = u(), _e(), u), at = { "data-html2c
61
62
  emits: ["update:value", "reset"],
62
63
  setup(u, { emit: A }) {
63
64
  const s = u;
64
- Se((b) => ({
65
+ Fe((b) => ({
65
66
  "90ad3208": U.value,
66
67
  "4f9eef70": P.value,
67
- "6e07ae3e": _.value,
68
+ "6e07ae3e": N.value,
68
69
  "2fd430a0": u.selectColor,
69
70
  "6b8169a4": k.value
70
71
  }));
71
- const U = g(() => s.inputColor), k = g(() => s.background), _ = g(() => `${s.selectColor}33`), P = g(() => s.borderColor);
72
+ const U = g(() => s.inputColor), k = g(() => s.background), N = g(() => `${s.selectColor}33`), P = g(() => s.borderColor);
72
73
  function T() {
73
74
  A("reset");
74
75
  }
@@ -80,8 +81,8 @@ const tt = (u) => (Ne("data-v-3fd7d274"), u = u(), _e(), u), at = { "data-html2c
80
81
  background: s.selectColor
81
82
  };
82
83
  });
83
- return (b, p) => (r(), v("div", at, [
84
- u.value !== u.source ? (r(), v("div", ot, [
84
+ return (b, p) => (r(), v("div", ot, [
85
+ u.value !== u.source ? (r(), v("div", lt, [
85
86
  u.useResetSlot ? f(b.$slots, "reset-action", {
86
87
  key: 1,
87
88
  reset: T
@@ -93,14 +94,14 @@ const tt = (u) => (Ne("data-v-3fd7d274"), u = u(), _e(), u), at = { "data-html2c
93
94
  class: "vue-data-ui-refresh-button",
94
95
  onClick: T
95
96
  }, [
96
- Fe(et, {
97
+ de(et, {
97
98
  name: "refresh",
98
99
  stroke: u.textColor
99
100
  }, null, 8, ["stroke"])
100
101
  ]))
101
- ])) : (r(), v("div", lt)),
102
- w("div", st, [
103
- nt,
102
+ ])) : (r(), v("div", st)),
103
+ w("div", nt, [
104
+ rt,
104
105
  w("div", {
105
106
  class: "range-highlight",
106
107
  style: H(x.value)
@@ -111,14 +112,14 @@ const tt = (u) => (Ne("data-v-3fd7d274"), u = u(), _e(), u), at = { "data-html2c
111
112
  max: u.max,
112
113
  value: Number(u.value),
113
114
  onInput: p[0] || (p[0] = ($) => A("update:value", Number($.target.value)))
114
- }, null, 40, rt)
115
+ }, null, 40, ut)
115
116
  ])
116
117
  ]));
117
118
  }
118
- }, it = /* @__PURE__ */ de(ut, [["__scopeId", "data-v-3fd7d274"]]), ct = ["id"], dt = ["xmlns", "viewBox"], vt = ["transform"], ht = ["fill", "font-weight", "x", "y", "font-size", "transform"], mt = {
119
+ }, ct = /* @__PURE__ */ ve(it, [["__scopeId", "data-v-3fd7d274"]]), dt = ["id"], vt = ["xmlns", "viewBox"], ht = ["transform"], mt = ["fill", "font-weight", "x", "y", "font-size", "transform"], ft = {
119
120
  key: 3,
120
121
  class: "vue-data-ui-watermark"
121
- }, ft = ["innerHTML"], gt = {
122
+ }, gt = ["innerHTML"], pt = {
122
123
  __name: "vue-ui-word-cloud",
123
124
  props: {
124
125
  config: {
@@ -142,7 +143,7 @@ const tt = (u) => (Ne("data-v-3fd7d274"), u = u(), _e(), u), at = { "data-html2c
142
143
  set(t) {
143
144
  return t;
144
145
  }
145
- }), _ = c(typeof s.dataset == "string" ? De(s.dataset) : s.dataset.map((t) => ({
146
+ }), N = c(typeof s.dataset == "string" ? De(s.dataset) : s.dataset.map((t) => ({
146
147
  ...t,
147
148
  value: We(t.value)
148
149
  }))), P = c(ue()), T = c(0), x = c(null), b = c(null), p = c(0), $ = c(0), e = g({
@@ -170,7 +171,7 @@ const tt = (u) => (Ne("data-v-3fd7d274"), u = u(), _e(), u), at = { "data-html2c
170
171
  height: e.value.style.chart.height / e.value.style.chart.height * h.value,
171
172
  maxFontSize: e.value.style.chart.words.maxFontSize,
172
173
  minFontSize: e.value.style.chart.words.minFontSize
173
- }), ve = Je(() => {
174
+ }), he = Je(() => {
174
175
  const { width: t, height: o } = Ke({
175
176
  chart: x.value,
176
177
  title: e.value.style.chart.title.text ? b.value : null,
@@ -179,12 +180,12 @@ const tt = (u) => (Ne("data-v-3fd7d274"), u = u(), _e(), u), at = { "data-html2c
179
180
  n.value.width = t, n.value.height = o, re(V);
180
181
  });
181
182
  X(() => h.value, () => {
182
- he();
183
+ me();
183
184
  });
184
- const he = Ye(() => {
185
+ const me = Ye(() => {
185
186
  n.value.width = Number(h.value), n.value.height = e.value.style.chart.height / e.value.style.chart.height * Number(h.value), V();
186
187
  }, 10);
187
- function me() {
188
+ function fe() {
188
189
  h.value = e.value.style.chart.width;
189
190
  }
190
191
  const O = c(null);
@@ -195,7 +196,7 @@ const tt = (u) => (Ne("data-v-3fd7d274"), u = u(), _e(), u), at = { "data-html2c
195
196
  Re(s.dataset) ? ie({
196
197
  componentName: "VueUiWordCloud",
197
198
  type: "dataset"
198
- }) : _.value.forEach((t, o) => {
199
+ }) : N.value.forEach((t, o) => {
199
200
  Ue({
200
201
  datasetObject: t,
201
202
  requiredAttributes: ["name", "value"]
@@ -207,7 +208,7 @@ const tt = (u) => (Ne("data-v-3fd7d274"), u = u(), _e(), u), at = { "data-html2c
207
208
  index: o
208
209
  });
209
210
  });
210
- }), e.value.responsive && (O.value = new ResizeObserver(ve), O.value.observe(x.value.parentNode));
211
+ }), e.value.responsive && (O.value = new ResizeObserver(he), O.value.observe(x.value.parentNode));
211
212
  }
212
213
  Te(() => {
213
214
  O.value && O.value.disconnect();
@@ -218,32 +219,32 @@ const tt = (u) => (Ne("data-v-3fd7d274"), u = u(), _e(), u), at = { "data-html2c
218
219
  }), M = c({
219
220
  showTable: e.value.table.show
220
221
  });
221
- function fe(t, o, a = "Arial") {
222
+ function ge(t, o, a = "Arial") {
222
223
  const l = document.createElement("canvas").getContext("2d");
223
224
  return l.font = `${o}px ${e.value.style.chart.words.bold ? "bold" : "normal"} ${a}`, {
224
225
  width: l.measureText(t).width + e.value.style.chart.words.proximity,
225
226
  height: o
226
227
  };
227
228
  }
228
- function ge(t, o) {
229
+ function pe(t, o) {
229
230
  return t.x < o.x + o.width && t.x + t.width > o.x && t.y < o.y + o.height && t.y + t.height > o.y;
230
231
  }
231
- function pe(t, o, a) {
232
+ function ye(t, o, a) {
232
233
  const i = [], l = { x: -o / 2, y: -a / 2, width: o, height: a }, d = 0, S = 0;
233
234
  return t.forEach((F) => {
234
235
  let G = !1;
235
236
  for (let E = 0; E < Math.max(o, a) / 2 && !G; E += e.value.style.chart.words.packingWeight)
236
237
  for (let L = 0; L < 360 && !G; L += e.value.style.chart.words.packingWeight) {
237
- const le = L * Math.PI / 180, Ce = d + E * Math.cos(le) - F.width / 2, we = S + E * Math.sin(le) - F.height / 2, y = { ...F, x: Ce, y: we }, ke = y.x >= l.x && y.y >= l.y && y.x + y.width <= l.x + l.width && y.y + y.height <= l.y + l.height, xe = i.some(($e) => ge(y, $e));
238
- ke && !xe && (i.push(y), G = !0);
238
+ const le = L * Math.PI / 180, we = d + E * Math.cos(le) - F.width / 2, ke = S + E * Math.sin(le) - F.height / 2, y = { ...F, x: we, y: ke }, xe = y.x >= l.x && y.y >= l.y && y.x + y.width <= l.x + l.width && y.y + y.height <= l.y + l.height, $e = i.some((Se) => pe(y, Se));
239
+ xe && !$e && (i.push(y), G = !0);
239
240
  }
240
241
  }), i;
241
242
  }
242
243
  const z = c([]);
243
244
  X(() => s.dataset, V, { immediate: !0 });
244
245
  function V() {
245
- const t = _.value.map((l) => l.value), o = Math.max(...t), a = Math.min(...t), i = _.value.map((l, d) => {
246
- const S = (l.value - a) / (o - a) * (n.value.maxFontSize - n.value.minFontSize) + n.value.minFontSize, F = fe(l.name, S);
246
+ const t = N.value.map((l) => l.value), o = Math.max(...t), a = Math.min(...t), i = N.value.map((l, d) => {
247
+ const S = (l.value - a) / (o - a) * (n.value.maxFontSize - n.value.minFontSize) + n.value.minFontSize, F = ge(l.name, S);
247
248
  return {
248
249
  ...l,
249
250
  id: ue(),
@@ -253,7 +254,7 @@ const tt = (u) => (Ne("data-v-3fd7d274"), u = u(), _e(), u), at = { "data-html2c
253
254
  color: e.value.style.chart.words.usePalette ? e.value.customPalette[d] || e.value.customPalette[d % e.value.customPalette.length] || R[d] || R[d % R.length] : e.value.style.chart.words.color
254
255
  };
255
256
  });
256
- z.value = pe(i, n.value.width, n.value.height).sort((l, d) => d.fontSize - l.fontSize);
257
+ z.value = ye(i, n.value.width, n.value.height).sort((l, d) => d.fontSize - l.fontSize);
257
258
  }
258
259
  const D = g(() => {
259
260
  const t = z.value.map((a) => ({
@@ -306,17 +307,17 @@ const tt = (u) => (Ne("data-v-3fd7d274"), u = u(), _e(), u), at = { "data-html2c
306
307
  config: a
307
308
  };
308
309
  }), B = c(!1);
309
- function ye(t) {
310
+ function be(t) {
310
311
  B.value = t, T.value += 1;
311
312
  }
312
- function be() {
313
+ function Ce() {
313
314
  return z.value;
314
315
  }
315
316
  function oe() {
316
317
  M.value.showTable = !M.value.showTable;
317
318
  }
318
319
  return A({
319
- getData: be,
320
+ getData: Ce,
320
321
  generateCsv: ae,
321
322
  generatePdf: ee,
322
323
  generateImage: te,
@@ -345,7 +346,7 @@ const tt = (u) => (Ne("data-v-3fd7d274"), u = u(), _e(), u), at = { "data-html2c
345
346
  }
346
347
  }
347
348
  }, null, 8, ["config"]))
348
- ], 512)) : N("", !0),
349
+ ], 512)) : _("", !0),
349
350
  e.value.userOptions.show && k.value ? (r(), I(He, {
350
351
  ref: "details",
351
352
  key: `user_option_${T.value}`,
@@ -363,7 +364,7 @@ const tt = (u) => (Ne("data-v-3fd7d274"), u = u(), _e(), u), at = { "data-html2c
363
364
  titles: { ...e.value.userOptions.buttonTitles },
364
365
  chartElement: x.value,
365
366
  position: e.value.userOptions.position,
366
- onToggleFullscreen: ye,
367
+ onToggleFullscreen: be,
367
368
  onGeneratePdf: C(ee),
368
369
  onGenerateCsv: ae,
369
370
  onGenerateImage: C(te),
@@ -404,7 +405,7 @@ const tt = (u) => (Ne("data-v-3fd7d274"), u = u(), _e(), u), at = { "data-html2c
404
405
  ]),
405
406
  key: "4"
406
407
  } : void 0
407
- ]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasPdf", "hasXls", "hasImg", "hasTable", "hasFullscreen", "isFullscreen", "titles", "chartElement", "position", "onGeneratePdf", "onGenerateImage"])) : N("", !0),
408
+ ]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasPdf", "hasXls", "hasImg", "hasTable", "hasFullscreen", "isFullscreen", "titles", "chartElement", "position", "onGeneratePdf", "onGenerateImage"])) : _("", !0),
408
409
  k.value ? (r(), v("svg", {
409
410
  key: 2,
410
411
  class: se({ "vue-data-ui-fullscreen--on": B.value, "vue-data-ui-fulscreen--off": !B.value }),
@@ -412,6 +413,7 @@ const tt = (u) => (Ne("data-v-3fd7d274"), u = u(), _e(), u), at = { "data-html2c
412
413
  viewBox: `0 0 ${n.value.width <= 0 ? 10 : n.value.width} ${n.value.height <= 0 ? 10 : n.value.height}`,
413
414
  style: "overflow:visible;background:transparent;"
414
415
  }, [
416
+ de(tt),
415
417
  w("g", {
416
418
  transform: `translate(${(n.value.width <= 0 ? 10 : n.value.width) / 2}, ${(n.value.height <= 0 ? 10 : n.value.height) / 2})`
417
419
  }, [
@@ -428,23 +430,23 @@ const tt = (u) => (Ne("data-v-3fd7d274"), u = u(), _e(), u), at = { "data-html2c
428
430
  class: se({ animated: e.value.useCssAnimation }),
429
431
  "text-anchor": "middle",
430
432
  "dominant-baseline": "middle"
431
- }, ne(a.name), 15, ht))
433
+ }, ne(a.name), 15, mt))
432
434
  ]))), 256))
433
- ], 8, vt),
435
+ ], 8, ht),
434
436
  f(t.$slots, "svg", {
435
437
  svg: { height: n.value.height, width: n.value.width }
436
438
  }, void 0, !0)
437
- ], 10, dt)) : N("", !0),
438
- t.$slots.watermark ? (r(), v("div", mt, [
439
+ ], 10, vt)) : _("", !0),
440
+ t.$slots.watermark ? (r(), v("div", ft, [
439
441
  f(t.$slots, "watermark", j(q({ isPrinting: C(Q) || C(Z) })), void 0, !0)
440
- ])) : N("", !0),
442
+ ])) : _("", !0),
441
443
  w("div", {
442
444
  ref_key: "chartSlicer",
443
445
  ref: J,
444
446
  style: "width:100%;background:transparent",
445
447
  "data-html2canvas-ignore": ""
446
448
  }, [
447
- e.value.style.chart.zoom.show ? (r(), I(it, {
449
+ e.value.style.chart.zoom.show ? (r(), I(ct, {
448
450
  key: 0,
449
451
  value: h.value,
450
452
  "onUpdate:value": o[0] || (o[0] = (a) => h.value = a),
@@ -457,13 +459,13 @@ const tt = (u) => (Ne("data-v-3fd7d274"), u = u(), _e(), u), at = { "data-html2c
457
459
  background: e.value.style.chart.zoom.color,
458
460
  borderColor: e.value.style.chart.backgroundColor,
459
461
  source: e.value.style.chart.width,
460
- onReset: me
462
+ onReset: fe
461
463
  }, {
462
464
  "reset-action": m(({ reset: a }) => [
463
465
  f(t.$slots, "reset-action", j(q({ reset: a })), void 0, !0)
464
466
  ]),
465
467
  _: 3
466
- }, 8, ["value", "max", "textColor", "inputColor", "selectColor", "useResetSlot", "background", "borderColor", "source"])) : N("", !0)
468
+ }, 8, ["value", "max", "textColor", "inputColor", "selectColor", "useResetSlot", "background", "borderColor", "source"])) : _("", !0)
467
469
  ], 512),
468
470
  k.value ? (r(), I(Qe, {
469
471
  key: 4,
@@ -495,7 +497,7 @@ const tt = (u) => (Ne("data-v-3fd7d274"), u = u(), _e(), u), at = { "data-html2c
495
497
  w("div", {
496
498
  innerHTML: a,
497
499
  style: { display: "flex", "align-items": "center" }
498
- }, null, 8, ft)
500
+ }, null, 8, gt)
499
501
  ]),
500
502
  td: m(({ td: a }) => [
501
503
  Oe(ne(a.name || a), 1)
@@ -504,10 +506,10 @@ const tt = (u) => (Ne("data-v-3fd7d274"), u = u(), _e(), u), at = { "data-html2c
504
506
  }, 8, ["colNames", "head", "body", "config", "title"]))
505
507
  ]),
506
508
  _: 1
507
- }, 8, ["config"])) : N("", !0)
508
- ], 12, ct));
509
+ }, 8, ["config"])) : _("", !0)
510
+ ], 12, dt));
509
511
  }
510
- }, Nt = /* @__PURE__ */ de(gt, [["__scopeId", "data-v-3b769470"]]);
512
+ }, Pt = /* @__PURE__ */ ve(pt, [["__scopeId", "data-v-e1d21ba1"]]);
511
513
  export {
512
- Nt as default
514
+ Pt as default
513
515
  };
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),u=require("./index-BhH89oF0.cjs"),ie=require("./Title-Bg_BK11V.cjs"),j=require("./usePrinter-B8jr_V3b.cjs"),O=require("./useResponsive-B3TrDDIG.cjs"),ce=require("./vue-ui-accordion-Bzq1iTL2.cjs"),de=require("./DataTable-CnkdsvIo.cjs"),ve=require("./BaseIcon-JWGtHqTA.cjs"),Y=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),H=require("./useNestedProp-m8IH8hWW.cjs"),he=require("./PackageVersion-LdLhc8hQ.cjs"),me=i=>(e.pushScopeId("data-v-3fd7d274"),i=i(),e.popScopeId(),i),fe={"data-html2canvas-ignore":""},pe={key:0,class:"reset-wrapper"},ge={key:1,class:"reset-wrapper"},ye={class:"mono-slicer"},be=me(()=>e.createElementVNode("div",{class:"slider-track"},null,-1)),ke=["min","max","value"],Ce={__name:"MonoSlicer",props:{min:{type:Number,default:0},max:{type:Number,default:0},inputColor:{type:String,default:"#1A1A1A"},background:{type:String,default:"#FFFFFF"},borderColor:{type:String,default:"#FFFFFF"},selectColor:{type:String,default:"#4A4A4A"},textColor:{type:String,default:"#1A1A1A"},useResetSlot:{type:Boolean,default:!1},value:{type:Number,default:0},source:{type:Number,default:0}},emits:["update:value","reset"],setup(i,{emit:N}){const r=i;e.useCssVars(f=>({"90ad3208":T.value,"4f9eef70":w.value,"6e07ae3e":C.value,"2fd430a0":i.selectColor,"6b8169a4":p.value}));const T=e.computed(()=>r.inputColor),p=e.computed(()=>r.background),C=e.computed(()=>`${r.selectColor}33`),w=e.computed(()=>r.borderColor);function x(){N("reset")}const g=e.computed(()=>{const f=r.max-r.min,h=0,y=(r.value-r.min)/f*100;return{left:`${h}%`,width:`${y-h}%`,background:r.selectColor}});return(f,h)=>(e.openBlock(),e.createElementBlock("div",fe,[i.value!==i.source?(e.openBlock(),e.createElementBlock("div",pe,[i.useResetSlot?e.renderSlot(f.$slots,"reset-action",{key:1,reset:x},void 0,!0):(e.openBlock(),e.createElementBlock("button",{key:0,"data-cy-reset":"",tabindex:"0",role:"button",class:"vue-data-ui-refresh-button",onClick:x},[e.createVNode(ve.default,{name:"refresh",stroke:i.textColor},null,8,["stroke"])]))])):(e.openBlock(),e.createElementBlock("div",ge)),e.createElementVNode("div",ye,[be,e.createElementVNode("div",{class:"range-highlight",style:e.normalizeStyle(g.value)},null,4),e.createElementVNode("input",{type:"range",min:i.min,max:i.max,value:Number(i.value),onInput:h[0]||(h[0]=y=>N("update:value",Number(y.target.value)))},null,40,ke)])]))}},we=Y._export_sfc(Ce,[["__scopeId","data-v-3fd7d274"]]),xe=["id"],Se=["xmlns","viewBox"],Ne=["transform"],$e=["fill","font-weight","x","y","font-size","transform"],Be={key:3,class:"vue-data-ui-watermark"},Pe=["innerHTML"],_e={__name:"vue-ui-word-cloud",props:{config:{type:Object,default(){return{}}},dataset:{type:[Array,String],default(){return[]}}},setup(i,{expose:N}){const r=i,{vue_ui_word_cloud:T}=u.useConfig(),p=e.computed({get(){return!!r.dataset&&r.dataset.length},set(o){return o}}),C=e.ref(typeof r.dataset=="string"?u.createWordCloudDatasetFromPlainText(r.dataset):r.dataset.map(o=>({...o,value:u.checkNaN(o.value)}))),w=e.ref(u.createUid()),x=e.ref(0),g=e.ref(null),f=e.ref(null),h=e.ref(0),y=e.ref(0),t=e.computed({get:()=>A(),set:o=>o});function A(){const o=H.useNestedProp({userConfig:r.config,defaultConfig:T});return o.theme?{...H.useNestedProp({userConfig:u.themes.vue_ui_word_cloud[o.theme]||r.config,defaultConfig:o}),customPalette:u.themePalettes[o.theme]||u.palette}:o}e.watch(()=>r.config,o=>{t.value=A(),q(),h.value+=1,y.value+=1,v.value=t.value.style.chart.width},{deep:!0});const M=e.ref(null),v=e.ref(t.value.style.chart.width),s=e.ref({width:v.value,height:t.value.style.chart.height/t.value.style.chart.height*v.value,maxFontSize:t.value.style.chart.words.maxFontSize,minFontSize:t.value.style.chart.words.minFontSize}),J=O.throttle(()=>{const{width:o,height:a}=O.useResponsive({chart:g.value,title:t.value.style.chart.title.text?f.value:null,slicer:t.value.style.chart.zoom.show&&M.value});s.value.width=o,s.value.height=a,e.nextTick(E)});e.watch(()=>v.value,()=>{K()});const K=O.debounce(()=>{s.value.width=Number(v.value),s.value.height=t.value.style.chart.height/t.value.style.chart.height*Number(v.value),E()},10);function Q(){v.value=t.value.style.chart.width}const $=e.ref(null);e.onMounted(()=>{q()});function q(){u.objectIsEmpty(r.dataset)?u.error({componentName:"VueUiWordCloud",type:"dataset"}):C.value.forEach((o,a)=>{u.getMissingDatasetAttributes({datasetObject:o,requiredAttributes:["name","value"]}).forEach(l=>{p.value=!1,u.error({componentName:"VueUiWordCloud",type:"datasetSerieAttribute",property:l,index:a})})}),t.value.responsive&&($.value=new ResizeObserver(J),$.value.observe(g.value.parentNode))}e.onBeforeUnmount(()=>{$.value&&$.value.disconnect()});const{isPrinting:R,isImaging:D,generatePdf:U,generateImage:W}=j.usePrinter({elementId:`wordCloud_${w.value}`,fileName:t.value.style.chart.title.text||"vue-ui-word-cloud"}),B=e.ref({showTable:t.value.table.show});function Z(o,a,l="Arial"){const n=document.createElement("canvas").getContext("2d");return n.font=`${a}px ${t.value.style.chart.words.bold?"bold":"normal"} ${l}`,{width:n.measureText(o).width+t.value.style.chart.words.proximity,height:a}}function ee(o,a){return o.x<a.x+a.width&&o.x+o.width>a.x&&o.y<a.y+a.height&&o.y+o.height>a.y}function te(o,a,l){const c=[],n={x:-a/2,y:-l/2,width:a,height:l},d=0,b=0;return o.forEach(k=>{let I=!1;for(let z=0;z<Math.max(a,l)/2&&!I;z+=t.value.style.chart.words.packingWeight)for(let V=0;V<360&&!I;V+=t.value.style.chart.words.packingWeight){const X=V*Math.PI/180,ae=d+z*Math.cos(X)-k.width/2,ne=b+z*Math.sin(X)-k.height/2,m={...k,x:ae,y:ne},re=m.x>=n.x&&m.y>=n.y&&m.x+m.width<=n.x+n.width&&m.y+m.height<=n.y+n.height,se=c.some(ue=>ee(m,ue));re&&!se&&(c.push(m),I=!0)}}),c}const S=e.ref([]);e.watch(()=>r.dataset,E,{immediate:!0});function E(){const o=C.value.map(n=>n.value),a=Math.max(...o),l=Math.min(...o),c=C.value.map((n,d)=>{const b=(n.value-l)/(a-l)*(s.value.maxFontSize-s.value.minFontSize)+s.value.minFontSize,k=Z(n.name,b);return{...n,id:u.createUid(),fontSize:b,width:k.width,height:k.height,color:t.value.style.chart.words.usePalette?t.value.customPalette[d]||t.value.customPalette[d%t.value.customPalette.length]||u.palette[d]||u.palette[d%u.palette.length]:t.value.style.chart.words.color}});S.value=te(c,s.value.width,s.value.height).sort((n,d)=>d.fontSize-n.fontSize)}const P=e.computed(()=>{const o=S.value.map(l=>({name:l.name,color:l.color})),a=S.value.map(l=>l.value);return{head:o,body:a}});function G(){e.nextTick(()=>{const o=P.value.head.map((c,n)=>[[c.name],[P.value.body[n]]]),a=[[t.value.style.chart.title.text],[t.value.style.chart.title.subtitle.text],[[""],[t.value.table.columnNames.value]]].concat(o),l=u.createCsvContent(a);u.downloadCsv({csvContent:l,title:t.value.style.chart.title.text||"vue-ui-word-cloud"})})}const _=e.computed(()=>{const o=[t.value.table.columnNames.series,t.value.table.columnNames.value],a=P.value.head.map((n,d)=>{const b=u.dataLabel({p:t.value.table.td.prefix,v:P.value.body[d],s:t.value.table.td.suffix,r:t.value.table.td.roundingValue});return[{color:n.color,name:n.name},b]}),l={th:{backgroundColor:t.value.table.th.backgroundColor,color:t.value.table.th.color,outline:t.value.table.th.outline},td:{backgroundColor:t.value.table.td.backgroundColor,color:t.value.table.td.color,outline:t.value.table.td.outline},breakpoint:t.value.table.responsiveBreakpoint};return{colNames:[t.value.table.columnNames.series,t.value.table.columnNames.value],head:o,body:a,config:l}}),F=e.ref(!1);function oe(o){F.value=o,x.value+=1}function le(){return S.value}function L(){B.value.showTable=!B.value.showTable}return N({getData:le,generateCsv:G,generatePdf:U,generateImage:W,toggleTable:L}),(o,a)=>(e.openBlock(),e.createElementBlock("div",{class:"vue-ui-word-cloud",ref_key:"wordCloudChart",ref:g,id:`wordCloud_${w.value}`,style:e.normalizeStyle(`width: 100%; font-family:${t.value.style.fontFamily};background:${t.value.style.chart.backgroundColor};${t.value.responsive?"height:100%":""}`)},[t.value.style.chart.title.text?(e.openBlock(),e.createElementBlock("div",{key:0,ref_key:"chartTitle",ref:f,style:"width:100%;background:transparent;padding-bottom:24px"},[(e.openBlock(),e.createBlock(ie._sfc_main,{key:`title_${h.value}`,config:{title:{...t.value.style.chart.title},subtitle:{...t.value.style.chart.title.subtitle}}},null,8,["config"]))],512)):e.createCommentVNode("",!0),t.value.userOptions.show&&p.value?(e.openBlock(),e.createBlock(j.UserOptions,{ref:"details",key:`user_option_${x.value}`,backgroundColor:t.value.style.chart.backgroundColor,color:t.value.style.chart.color,isPrinting:e.unref(R),isImaging:e.unref(D),uid:w.value,hasPdf:t.value.userOptions.buttons.pdf,hasXls:t.value.userOptions.buttons.csv,hasImg:t.value.userOptions.buttons.img,hasTable:t.value.userOptions.buttons.table,hasFullscreen:t.value.userOptions.buttons.fullscreen,isFullscreen:F.value,titles:{...t.value.userOptions.buttonTitles},chartElement:g.value,position:t.value.userOptions.position,onToggleFullscreen:oe,onGeneratePdf:e.unref(U),onGenerateCsv:G,onGenerateImage:e.unref(W),onToggleTable:L},e.createSlots({_:2},[o.$slots.optionPdf?{name:"optionPdf",fn:e.withCtx(()=>[e.renderSlot(o.$slots,"optionPdf",{},void 0,!0)]),key:"0"}:void 0,o.$slots.optionCsv?{name:"optionCsv",fn:e.withCtx(()=>[e.renderSlot(o.$slots,"optionCsv",{},void 0,!0)]),key:"1"}:void 0,o.$slots.optionImg?{name:"optionImg",fn:e.withCtx(()=>[e.renderSlot(o.$slots,"optionImg",{},void 0,!0)]),key:"2"}:void 0,o.$slots.optionTable?{name:"optionTable",fn:e.withCtx(()=>[e.renderSlot(o.$slots,"optionTable",{},void 0,!0)]),key:"3"}:void 0,o.$slots.optionFullscreen?{name:"optionFullscreen",fn:e.withCtx(({toggleFullscreen:l,isFullscreen:c})=>[e.renderSlot(o.$slots,"optionFullscreen",e.normalizeProps(e.guardReactiveProps({toggleFullscreen:l,isFullscreen:c})),void 0,!0)]),key:"4"}:void 0]),1032,["backgroundColor","color","isPrinting","isImaging","uid","hasPdf","hasXls","hasImg","hasTable","hasFullscreen","isFullscreen","titles","chartElement","position","onGeneratePdf","onGenerateImage"])):e.createCommentVNode("",!0),p.value?(e.openBlock(),e.createElementBlock("svg",{key:2,class:e.normalizeClass({"vue-data-ui-fullscreen--on":F.value,"vue-data-ui-fulscreen--off":!F.value}),xmlns:e.unref(u.XMLNS),viewBox:`0 0 ${s.value.width<=0?10:s.value.width} ${s.value.height<=0?10:s.value.height}`,style:"overflow:visible;background:transparent;"},[e.createVNode(he._sfc_main),e.createElementVNode("g",{transform:`translate(${(s.value.width<=0?10:s.value.width)/2}, ${(s.value.height<=0?10:s.value.height)/2})`},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(S.value,(l,c)=>(e.openBlock(),e.createElementBlock("g",null,[(e.openBlock(),e.createElementBlock("text",{fill:l.color,"font-weight":t.value.style.chart.words.bold?"bold":"normal",key:c,x:l.x,y:l.y,"font-size":l.fontSize,transform:`translate(${l.width/2}, ${l.height/2})`,style:e.normalizeStyle(`animation-delay:${c*t.value.animationDelayMs}ms !important`),class:e.normalizeClass({animated:t.value.useCssAnimation}),"text-anchor":"middle","dominant-baseline":"middle"},e.toDisplayString(l.name),15,$e))]))),256))],8,Ne),e.renderSlot(o.$slots,"svg",{svg:{height:s.value.height,width:s.value.width}},void 0,!0)],10,Se)):e.createCommentVNode("",!0),o.$slots.watermark?(e.openBlock(),e.createElementBlock("div",Be,[e.renderSlot(o.$slots,"watermark",e.normalizeProps(e.guardReactiveProps({isPrinting:e.unref(R)||e.unref(D)})),void 0,!0)])):e.createCommentVNode("",!0),e.createElementVNode("div",{ref_key:"chartSlicer",ref:M,style:"width:100%;background:transparent","data-html2canvas-ignore":""},[t.value.style.chart.zoom.show?(e.openBlock(),e.createBlock(we,{key:0,value:v.value,"onUpdate:value":a[0]||(a[0]=l=>v.value=l),min:100,max:t.value.style.chart.width*3,textColor:t.value.style.chart.color,inputColor:t.value.style.chart.zoom.color,selectColor:t.value.style.chart.zoom.highlightColor,useResetSlot:t.value.style.chart.zoom.useResetSlot,background:t.value.style.chart.zoom.color,borderColor:t.value.style.chart.backgroundColor,source:t.value.style.chart.width,onReset:Q},{"reset-action":e.withCtx(({reset:l})=>[e.renderSlot(o.$slots,"reset-action",e.normalizeProps(e.guardReactiveProps({reset:l})),void 0,!0)]),_:3},8,["value","max","textColor","inputColor","selectColor","useResetSlot","background","borderColor","source"])):e.createCommentVNode("",!0)],512),p.value?(e.openBlock(),e.createBlock(ce.default,{key:4,hideDetails:"",config:{open:B.value.showTable,maxHeight:1e4,body:{backgroundColor:t.value.style.chart.backgroundColor,color:t.value.style.chart.color},head:{backgroundColor:t.value.style.chart.backgroundColor,color:t.value.style.chart.color}}},{content:e.withCtx(()=>[(e.openBlock(),e.createBlock(de.DataTable,{key:`table_${y.value}`,colNames:_.value.colNames,head:_.value.head,body:_.value.body,config:_.value.config,title:`${t.value.style.chart.title.text}${t.value.style.chart.title.subtitle.text?` : ${t.value.style.chart.title.subtitle.text}`:""}`,onClose:a[1]||(a[1]=l=>B.value.showTable=!1)},{th:e.withCtx(({th:l})=>[e.createElementVNode("div",{innerHTML:l,style:{display:"flex","align-items":"center"}},null,8,Pe)]),td:e.withCtx(({td:l})=>[e.createTextVNode(e.toDisplayString(l.name||l),1)]),_:1},8,["colNames","head","body","config","title"]))]),_:1},8,["config"])):e.createCommentVNode("",!0)],12,xe))}},Fe=Y._export_sfc(_e,[["__scopeId","data-v-e1d21ba1"]]);exports.default=Fe;