vue-data-ui 2.7.2 → 2.7.4

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 (195) hide show
  1. package/dist/{Arrow-Cuf9zUpa.cjs → Arrow-Bslu6In_.cjs} +1 -1
  2. package/dist/{Arrow-SOQeOwmT.js → Arrow-Kbu7LT-f.js} +1 -1
  3. package/dist/{BaseIcon-DqYzMisq.js → BaseIcon-BLhJaEYy.js} +4 -3
  4. package/dist/{BaseIcon-C0unoacb.cjs → BaseIcon-WIhlX3LN.cjs} +1 -1
  5. package/dist/{ColorPicker-DyOTLjAA.js → ColorPicker-Dlg-p-yo.js} +3 -3
  6. package/dist/{ColorPicker-DLNc3kpl.cjs → ColorPicker-mXlj2N11.cjs} +1 -1
  7. package/dist/{DataTable-C_28ZqiP.js → DataTable-DOKlm7k4.js} +2 -2
  8. package/dist/{DataTable-ByOfBGEi.cjs → DataTable-c3nDhwbO.cjs} +1 -1
  9. package/dist/{Legend-mrAy7yUC.cjs → Legend-Bhl2d6oj.cjs} +1 -1
  10. package/dist/{Legend-CmKaL7xe.js → Legend-CIjMjfNk.js} +2 -2
  11. package/dist/{PackageVersion-39l3KkzC.js → PackageVersion-BCLALL_i.js} +1 -1
  12. package/dist/{PackageVersion-By81XV8X.cjs → PackageVersion-DFYAej2o.cjs} +1 -1
  13. package/dist/PenAndPaper-CAqWCUZx.cjs +1 -0
  14. package/dist/PenAndPaper-CZs431Nx.js +374 -0
  15. package/dist/{Shape-iIO-95sh.js → Shape-D9MuIPm8.js} +1 -1
  16. package/dist/{Shape-x7U3IhoM.cjs → Shape-wMij_bxG.cjs} +1 -1
  17. package/dist/{Slicer-C49MotZz.js → Slicer-CqYLlNlU.js} +2 -2
  18. package/dist/{Slicer-Ct66sqV1.cjs → Slicer-Duh-nBCD.cjs} +1 -1
  19. package/dist/{Title-BgVFZwZZ.cjs → Title-C5w8bVlo.cjs} +1 -1
  20. package/dist/{Title-Co3F59jq.js → Title-UjBqdYyD.js} +1 -1
  21. package/dist/{Tooltip-Cr89wMKa.js → Tooltip-3NNIdJ6N.js} +1 -1
  22. package/dist/{Tooltip-B8E9uCVm.cjs → Tooltip-Dbe23pmt.cjs} +1 -1
  23. package/dist/{dom-to-png-DtBlqZMR.js → dom-to-png-6NoDv4_U.js} +1 -1
  24. package/dist/{dom-to-png-D9eujpXB.cjs → dom-to-png-C-_IolaZ.cjs} +1 -1
  25. package/dist/{img-DQDP5JIH.js → img-BxGd_UqS.js} +1 -1
  26. package/dist/{img-DgRUFehB.cjs → img-DCkGlbCr.cjs} +1 -1
  27. package/dist/{index-gC66Se26.js → index-D3VntmA9.js} +1 -1
  28. package/dist/{index-BeJeDy5m.cjs → index-MIJJ8liG.cjs} +1 -1
  29. package/dist/{pdf-Bu1ahAX2.cjs → pdf-BGp1xMhT.cjs} +1 -1
  30. package/dist/{pdf-lJiGVhtL.js → pdf-BpVckOt1.js} +1 -1
  31. package/dist/style.css +1 -1
  32. package/dist/types/vue-data-ui.d.cts +2 -1
  33. package/dist/types/vue-data-ui.d.ts +2 -1
  34. package/dist/{useNestedProp-BusTOV-6.js → useNestedProp-DTlOqz2P.js} +1 -1
  35. package/dist/{useNestedProp-CF-iHhIC.cjs → useNestedProp-DwR4JSzw.cjs} +1 -1
  36. package/dist/{usePrinter-KMFl0n0s.js → usePrinter-H3tAjGXs.js} +3 -3
  37. package/dist/{usePrinter-Bz_kd3vb.cjs → usePrinter-U1x-RAEA.cjs} +1 -1
  38. package/dist/{vue-data-ui-Bak-lr4I.cjs → vue-data-ui-BuY9ggUz.cjs} +1 -1
  39. package/dist/{vue-data-ui-BApY_erH.js → vue-data-ui-DFwVHeO8.js} +60 -60
  40. package/dist/vue-data-ui.cjs +1 -1
  41. package/dist/vue-data-ui.js +1 -1
  42. package/dist/vue-ui-3d-bar-DeTBYGV_.cjs +19 -0
  43. package/dist/{vue-ui-3d-bar-BWjU0K3_.js → vue-ui-3d-bar-NNib9NTc.js} +30 -30
  44. package/dist/{vue-ui-accordion-j2beIma_.js → vue-ui-accordion-DGJQIcdB.js} +3 -3
  45. package/dist/{vue-ui-accordion-CZBJSHT_.cjs → vue-ui-accordion-cBSqrYy3.cjs} +1 -1
  46. package/dist/{vue-ui-age-pyramid-Cmw4WVB4.js → vue-ui-age-pyramid-DWG7C-nA.js} +22 -22
  47. package/dist/vue-ui-age-pyramid-DfGSS3SE.cjs +1 -0
  48. package/dist/{vue-ui-annotator-BVv5XkoE.cjs → vue-ui-annotator-Bpy0V7AA.cjs} +1 -1
  49. package/dist/{vue-ui-annotator-CKmqZjUD.js → vue-ui-annotator-D21j4NL0.js} +2 -2
  50. package/dist/vue-ui-bullet-CrgeKJBE.cjs +34 -0
  51. package/dist/{vue-ui-bullet-U_yJjO0m.js → vue-ui-bullet-MrNlqcTX.js} +36 -36
  52. package/dist/vue-ui-candlestick-DfEQ057F.cjs +2 -0
  53. package/dist/{vue-ui-candlestick-DhdlFIQE.js → vue-ui-candlestick-Dgwjzuq0.js} +11 -11
  54. package/dist/{vue-ui-carousel-table-BhC5cEe3.cjs → vue-ui-carousel-table-B9AHiJLA.cjs} +1 -1
  55. package/dist/{vue-ui-carousel-table-Ej7qzKkp.js → vue-ui-carousel-table-TOSDOJ0J.js} +4 -4
  56. package/dist/{vue-ui-chestnut-BzNHXzDj.cjs → vue-ui-chestnut-BQwGKI2l.cjs} +1 -1
  57. package/dist/{vue-ui-chestnut-L0bS5jtX.js → vue-ui-chestnut-DAlxKIqD.js} +32 -32
  58. package/dist/vue-ui-circle-pack-B9HW-E4V.cjs +1 -0
  59. package/dist/{vue-ui-circle-pack-DwCzeO3L.js → vue-ui-circle-pack-BjD7UG4l.js} +44 -44
  60. package/dist/{vue-ui-cursor-0mZP5nBc.cjs → vue-ui-cursor-Bv_hn_5f.cjs} +1 -1
  61. package/dist/{vue-ui-cursor-DwHdXwLS.js → vue-ui-cursor-CS0L4MjH.js} +2 -2
  62. package/dist/{vue-ui-dashboard-DILmOchy.js → vue-ui-dashboard-Cu4QabFb.js} +3 -3
  63. package/dist/{vue-ui-dashboard-CegApY8_.cjs → vue-ui-dashboard-DGJjS8TM.cjs} +1 -1
  64. package/dist/{vue-ui-digits-me8Nky0A.cjs → vue-ui-digits-BusMzORo.cjs} +1 -1
  65. package/dist/{vue-ui-digits-Dbwzk-sl.js → vue-ui-digits-CrqD5QXP.js} +2 -2
  66. package/dist/{vue-ui-donut-DwE-iZSV.js → vue-ui-donut-CbDkvk9s.js} +12 -12
  67. package/dist/{vue-ui-donut-evolution-DhFABvEv.js → vue-ui-donut-evolution-DKD_efmP.js} +69 -69
  68. package/dist/vue-ui-donut-evolution-Dul--Pi_.cjs +1 -0
  69. package/dist/vue-ui-donut-vqs5auMD.cjs +1 -0
  70. package/dist/{vue-ui-dumbbell-Cqq4iV6-.js → vue-ui-dumbbell-BGN-Rshy.js} +52 -52
  71. package/dist/{vue-ui-dumbbell-CL15d-aQ.cjs → vue-ui-dumbbell-CB6lYwMc.cjs} +1 -1
  72. package/dist/vue-ui-flow-CDPkL02l.cjs +1 -0
  73. package/dist/{vue-ui-flow-CU-orj9I.js → vue-ui-flow-g93Xo1mO.js} +75 -75
  74. package/dist/vue-ui-funnel-D1PhFKgP.cjs +1 -0
  75. package/dist/{vue-ui-funnel-DQmQmdNV.js → vue-ui-funnel-r_WI2IRS.js} +28 -28
  76. package/dist/{vue-ui-galaxy-nqyCbQ9j.js → vue-ui-galaxy-B4JnwjLW.js} +39 -39
  77. package/dist/vue-ui-galaxy-DSXcoM3k.cjs +1 -0
  78. package/dist/{vue-ui-gauge-BV3CJfqe.js → vue-ui-gauge-BPz7mbOb.js} +26 -26
  79. package/dist/vue-ui-gauge-Ct1Knstr.cjs +1 -0
  80. package/dist/{vue-ui-gizmo-CJwSAsxs.js → vue-ui-gizmo-BbUqDkQz.js} +3 -3
  81. package/dist/{vue-ui-gizmo-CNRAH2zT.cjs → vue-ui-gizmo-tet3qRDX.cjs} +1 -1
  82. package/dist/{vue-ui-heatmap-B1s7KejC.js → vue-ui-heatmap-BbmFxESu.js} +10 -10
  83. package/dist/vue-ui-heatmap-RHN_eSK2.cjs +1 -0
  84. package/dist/vue-ui-history-plot-B8_Kig_-.cjs +1 -0
  85. package/dist/{vue-ui-history-plot-z_KFt5z_.js → vue-ui-history-plot-CJFtY1Rm.js} +35 -35
  86. package/dist/{vue-ui-kpi-FaGp6_XP.cjs → vue-ui-kpi-C0IWPkaZ.cjs} +1 -1
  87. package/dist/{vue-ui-kpi-DabR5K70.js → vue-ui-kpi-CQo8VsEv.js} +3 -3
  88. package/dist/{vue-ui-mini-loader-w-BmywLJ.js → vue-ui-mini-loader-8wZYNxLC.js} +2 -2
  89. package/dist/{vue-ui-mini-loader-_plxZxma.cjs → vue-ui-mini-loader-DoOFKxep.cjs} +1 -1
  90. package/dist/{vue-ui-molecule-aiWG--to.js → vue-ui-molecule-DHb8Roml.js} +45 -45
  91. package/dist/{vue-ui-molecule-3ClCLk7L.cjs → vue-ui-molecule-HnReqNMq.cjs} +1 -1
  92. package/dist/vue-ui-mood-radar-BjmCUY0q.cjs +1 -0
  93. package/dist/{vue-ui-mood-radar-DwxCn06q.js → vue-ui-mood-radar-CdBmESCg.js} +40 -40
  94. package/dist/{vue-ui-nested-donuts-ONgAaLY-.js → vue-ui-nested-donuts-CO7sSeR-.js} +65 -65
  95. package/dist/vue-ui-nested-donuts-SBaCzHQP.cjs +17 -0
  96. package/dist/vue-ui-onion-BehdICTa.cjs +5 -0
  97. package/dist/{vue-ui-onion-DjoQuBo8.js → vue-ui-onion-Ci15BQ0y.js} +75 -75
  98. package/dist/{vue-ui-parallel-coordinate-plot-DWGVzaHE.js → vue-ui-parallel-coordinate-plot-BJbrb-Mp.js} +38 -38
  99. package/dist/vue-ui-parallel-coordinate-plot-BLLONfts.cjs +8 -0
  100. package/dist/{vue-ui-quadrant-CgiD9c7i.js → vue-ui-quadrant-BZTZY3LG.js} +54 -54
  101. package/dist/vue-ui-quadrant-ntmlYIVx.cjs +1 -0
  102. package/dist/{vue-ui-quick-chart-5NiRxtpD.js → vue-ui-quick-chart-B2OUF1Pk.js} +9 -9
  103. package/dist/vue-ui-quick-chart-BCdm0tx2.cjs +15 -0
  104. package/dist/vue-ui-radar-CUoLdojY.cjs +1 -0
  105. package/dist/{vue-ui-radar-CfKAy0nI.js → vue-ui-radar-D8DHrSPP.js} +55 -55
  106. package/dist/{vue-ui-rating-yiM_5H0W.cjs → vue-ui-rating-BWlmz08s.cjs} +1 -1
  107. package/dist/{vue-ui-rating-CbZvsZNv.js → vue-ui-rating-D4H6cT0d.js} +2 -2
  108. package/dist/{vue-ui-relation-circle-RRK2jhHr.js → vue-ui-relation-circle-CWvX8cvJ.js} +7 -7
  109. package/dist/vue-ui-relation-circle-DighSxmd.cjs +1 -0
  110. package/dist/vue-ui-rings-CPIzjzdm.cjs +2 -0
  111. package/dist/{vue-ui-rings-CiMKMEpp.js → vue-ui-rings-Dq5YT7h-.js} +62 -62
  112. package/dist/{vue-ui-scatter-9PFXuvoo.js → vue-ui-scatter-BMuJyp6q.js} +44 -44
  113. package/dist/vue-ui-scatter-BSgMQLjw.cjs +1 -0
  114. package/dist/{vue-ui-skeleton-KW-jcPRN.cjs → vue-ui-skeleton-DOE444ST.cjs} +1 -1
  115. package/dist/{vue-ui-skeleton-7Zfds6H1.js → vue-ui-skeleton-pHcbvN3-.js} +3 -3
  116. package/dist/{vue-ui-smiley-D0jhMBUh.js → vue-ui-smiley-BsPExuQ7.js} +2 -2
  117. package/dist/{vue-ui-smiley-BNQlshyY.cjs → vue-ui-smiley-bHv8hVve.cjs} +1 -1
  118. package/dist/{vue-ui-spark-trend-CLm12POW.cjs → vue-ui-spark-trend-S0FbKqDW.cjs} +1 -1
  119. package/dist/{vue-ui-spark-trend-D8nDY0fS.js → vue-ui-spark-trend-eJ5IZSRQ.js} +5 -5
  120. package/dist/{vue-ui-sparkbar-ChEbpWYC.cjs → vue-ui-sparkbar-B1pwFeeg.cjs} +1 -1
  121. package/dist/{vue-ui-sparkbar-wKlwMCph.js → vue-ui-sparkbar-B9E03kBf.js} +4 -4
  122. package/dist/{vue-ui-sparkgauge-DG824sGI.cjs → vue-ui-sparkgauge-BpAFpJN9.cjs} +1 -1
  123. package/dist/{vue-ui-sparkgauge-CvhIe_mP.js → vue-ui-sparkgauge-CbtRwF8H.js} +4 -4
  124. package/dist/{vue-ui-sparkhistogram-B8k8a538.cjs → vue-ui-sparkhistogram-4gAnz36n.cjs} +1 -1
  125. package/dist/{vue-ui-sparkhistogram-CVmbTFTc.js → vue-ui-sparkhistogram-BJfFPQ-X.js} +5 -5
  126. package/dist/{vue-ui-sparkline-7wnWuXDQ.cjs → vue-ui-sparkline-CJ8rlJiI.cjs} +1 -1
  127. package/dist/{vue-ui-sparkline-CtqAbSzZ.js → vue-ui-sparkline-CLz-PMi0.js} +4 -4
  128. package/dist/{vue-ui-sparkstackbar-DfwEeUC5.js → vue-ui-sparkstackbar-C5ZzOhRM.js} +5 -5
  129. package/dist/{vue-ui-sparkstackbar-57SONMGP.cjs → vue-ui-sparkstackbar-ja3t34Mt.cjs} +1 -1
  130. package/dist/{vue-ui-stackbar-CGSVPiPx.js → vue-ui-stackbar-BnuJOk6L.js} +86 -86
  131. package/dist/vue-ui-stackbar-DSWEq3Pa.cjs +6 -0
  132. package/dist/{vue-ui-strip-plot-fJFkn8_0.js → vue-ui-strip-plot-Cbr3Dkmd.js} +36 -36
  133. package/dist/vue-ui-strip-plot-CyiaXAxw.cjs +1 -0
  134. package/dist/{vue-ui-table-Das3959J.cjs → vue-ui-table-CPJeRMDV.cjs} +1 -1
  135. package/dist/{vue-ui-table-CliL2Wsp.js → vue-ui-table-Cr6jEi4z.js} +1 -1
  136. package/dist/{vue-ui-table-heatmap-C28ozf2S.cjs → vue-ui-table-heatmap-BfKruH6W.cjs} +1 -1
  137. package/dist/{vue-ui-table-heatmap-ZsJMMGpG.js → vue-ui-table-heatmap-C0J52xWN.js} +4 -4
  138. package/dist/{vue-ui-table-sparkline-CrQNShdH.js → vue-ui-table-sparkline-C9PHXjbW.js} +5 -5
  139. package/dist/{vue-ui-table-sparkline-0i9FAXug.cjs → vue-ui-table-sparkline-CGUs_6Ij.cjs} +1 -1
  140. package/dist/{vue-ui-thermometer-BaGL6WSb.js → vue-ui-thermometer-Cs8Xt7tQ.js} +50 -50
  141. package/dist/vue-ui-thermometer-DWC--OtD.cjs +1 -0
  142. package/dist/{vue-ui-timer-CFtgJ_Vi.cjs → vue-ui-timer-DD0VvMEs.cjs} +1 -1
  143. package/dist/{vue-ui-timer-Nk94fV-n.js → vue-ui-timer-DDZHmPLV.js} +5 -5
  144. package/dist/vue-ui-tiremarks-B_koqVkj.cjs +1 -0
  145. package/dist/{vue-ui-tiremarks-zYgdq_99.js → vue-ui-tiremarks-DHAdNbAA.js} +25 -25
  146. package/dist/vue-ui-treemap-C_yhbpyF.cjs +1 -0
  147. package/dist/{vue-ui-treemap-CAxPcxn-.js → vue-ui-treemap-CfH-P5Oh.js} +12 -12
  148. package/dist/vue-ui-vertical-bar-BRplGFjj.cjs +4 -0
  149. package/dist/{vue-ui-vertical-bar-Di3FBkwJ.js → vue-ui-vertical-bar-oBdc4YQS.js} +80 -80
  150. package/dist/vue-ui-waffle-Bg5T7RVn.cjs +1 -0
  151. package/dist/{vue-ui-waffle-DBJAQsEf.js → vue-ui-waffle-DZ2zIujl.js} +45 -45
  152. package/dist/{vue-ui-wheel-BTZEr2Vs.js → vue-ui-wheel-BerXCO4A.js} +27 -27
  153. package/dist/vue-ui-wheel-Bj3Z92nh.cjs +1 -0
  154. package/dist/{vue-ui-word-cloud-BEaRWIu-.cjs → vue-ui-word-cloud-BWQ1ogz9.cjs} +1 -1
  155. package/dist/{vue-ui-word-cloud-DBCVUkLM.js → vue-ui-word-cloud-U5KISxTe.js} +72 -72
  156. package/dist/{vue-ui-xy-DbN93Pcf.cjs → vue-ui-xy-C078AHoi.cjs} +2 -2
  157. package/dist/vue-ui-xy-canvas-BpblELcE.js +1672 -0
  158. package/dist/vue-ui-xy-canvas-C76OoGNJ.cjs +9 -0
  159. package/dist/{vue-ui-xy-aKaGgYGL.js → vue-ui-xy-y9zEQYMK.js} +16 -16
  160. package/package.json +1 -1
  161. package/dist/PenAndPaper-CmcfpltX.js +0 -243
  162. package/dist/PenAndPaper-DNbX5hR8.cjs +0 -1
  163. package/dist/vue-ui-3d-bar-CmbTiJVx.cjs +0 -19
  164. package/dist/vue-ui-age-pyramid-Sv-HbbDJ.cjs +0 -1
  165. package/dist/vue-ui-bullet-vcmTY4AX.cjs +0 -34
  166. package/dist/vue-ui-candlestick-DQT-8PRz.cjs +0 -2
  167. package/dist/vue-ui-circle-pack-CVLJs0XP.cjs +0 -1
  168. package/dist/vue-ui-donut-FoRYusUX.cjs +0 -1
  169. package/dist/vue-ui-donut-evolution-BIK2yfIJ.cjs +0 -1
  170. package/dist/vue-ui-flow-N825fjRf.cjs +0 -1
  171. package/dist/vue-ui-funnel-B6XMYl89.cjs +0 -1
  172. package/dist/vue-ui-galaxy-p-sbDnSY.cjs +0 -1
  173. package/dist/vue-ui-gauge-DsZFk8T_.cjs +0 -1
  174. package/dist/vue-ui-heatmap-VXgeMOwT.cjs +0 -1
  175. package/dist/vue-ui-history-plot-JmeGiR--.cjs +0 -1
  176. package/dist/vue-ui-mood-radar-CO5sPVVG.cjs +0 -1
  177. package/dist/vue-ui-nested-donuts-D0nALasd.cjs +0 -17
  178. package/dist/vue-ui-onion-CBqx4q4k.cjs +0 -5
  179. package/dist/vue-ui-parallel-coordinate-plot-uNCmnSvz.cjs +0 -8
  180. package/dist/vue-ui-quadrant-BOkyMgCm.cjs +0 -1
  181. package/dist/vue-ui-quick-chart-BRp_bNso.cjs +0 -15
  182. package/dist/vue-ui-radar-BpicgiWF.cjs +0 -1
  183. package/dist/vue-ui-relation-circle-Dg6rdyGP.cjs +0 -1
  184. package/dist/vue-ui-rings-A49lyv-J.cjs +0 -2
  185. package/dist/vue-ui-scatter-C_jHsy8M.cjs +0 -1
  186. package/dist/vue-ui-stackbar--0FZ_eBi.cjs +0 -6
  187. package/dist/vue-ui-strip-plot-C_ggDAQ-.cjs +0 -1
  188. package/dist/vue-ui-thermometer-h0rymM2v.cjs +0 -1
  189. package/dist/vue-ui-tiremarks-Cj8-XGcp.cjs +0 -1
  190. package/dist/vue-ui-treemap-CybL6mVf.cjs +0 -1
  191. package/dist/vue-ui-vertical-bar-D4IkwvAB.cjs +0 -4
  192. package/dist/vue-ui-waffle-7otLUrER.cjs +0 -1
  193. package/dist/vue-ui-wheel-BUJXtmeP.cjs +0 -1
  194. package/dist/vue-ui-xy-canvas-CF_lqLg-.cjs +0 -9
  195. package/dist/vue-ui-xy-canvas-CVQ__d4u.js +0 -1500
@@ -1,15 +1,15 @@
1
1
  import { useCssVars as Le, computed as v, onMounted as Te, ref as c, watch as Ae, createElementBlock as u, openBlock as s, unref as n, normalizeStyle as _, normalizeClass as T, createBlock as A, createCommentVNode as f, createSlots as Ne, withCtx as g, renderSlot as b, normalizeProps as M, guardReactiveProps as R, createVNode as Oe, createElementVNode as C, mergeProps as q, Fragment as V, renderList as B, toDisplayString as U, createTextVNode as ze, nextTick as Se } from "vue";
2
- import { u as Pe, o as Fe, e as me, g as Ie, c as De, d as Me, l as Re, i as E, f as G, X as Ve, G as Be, F as Y, a as Ue, q as Ee, r as Ge } from "./index-gC66Se26.js";
3
- import { u as be } from "./useNestedProp-BusTOV-6.js";
4
- import { u as je, U as He } from "./usePrinter-KMFl0n0s.js";
5
- import { _ as Xe } from "./Title-Co3F59jq.js";
6
- import { P as qe } from "./PenAndPaper-CmcfpltX.js";
7
- import { D as Ye } from "./DataTable-C_28ZqiP.js";
8
- import We from "./vue-ui-accordion-j2beIma_.js";
2
+ import { u as Fe, o as Ie, e as me, g as Pe, c as De, d as Me, l as Re, i as E, f as G, X as Ve, G as Be, F as Y, a as Ue, q as Ee, r as Ge } from "./index-D3VntmA9.js";
3
+ import { u as be } from "./useNestedProp-DTlOqz2P.js";
4
+ import { u as je, U as He } from "./usePrinter-H3tAjGXs.js";
5
+ import { _ as Xe } from "./Title-UjBqdYyD.js";
6
+ import { _ as qe } from "./PenAndPaper-CZs431Nx.js";
7
+ import { D as Ye } from "./DataTable-DOKlm7k4.js";
8
+ import We from "./vue-ui-accordion-DGJQIcdB.js";
9
9
  import { t as Je, u as Ke } from "./useResponsive-Cw4oZ8sQ.js";
10
- import Qe from "./vue-ui-skeleton-7Zfds6H1.js";
10
+ import Qe from "./vue-ui-skeleton-pHcbvN3-.js";
11
11
  import { u as Ze } from "./useUserOptionState-BIvW1Kz7.js";
12
- import { _ as et } from "./PackageVersion-39l3KkzC.js";
12
+ import { _ as et } from "./PackageVersion-BCLALL_i.js";
13
13
  import { u as tt } from "./useChartAccessibility-BWojgys7.js";
14
14
  import { _ as at } from "./_plugin-vue_export-helper-CHgC5LLL.js";
15
15
  const lt = ["id"], st = ["xmlns", "viewBox"], ot = ["width", "height"], nt = ["id"], rt = ["stop-color"], ut = ["stop-color"], it = ["stop-color"], ct = ["stroke", "stroke-width"], vt = ["stroke", "stroke-width"], dt = ["x", "y", "font-size", "fill", "font-weight"], ht = ["points", "fill"], ft = ["stroke", "stroke-width", "rx"], mt = ["x", "y", "font-size", "fill", "font-weight"], bt = ["x", "y", "font-size", "fill", "font-weight"], yt = {
@@ -35,14 +35,14 @@ const lt = ["id"], st = ["xmlns", "viewBox"], ot = ["width", "height"], nt = ["i
35
35
  Le((t) => ({
36
36
  "58a5200a": _e.value
37
37
  }));
38
- const { vue_ui_funnel: pe } = Pe(), y = ye, x = v(() => !!y.dataset && y.dataset.length);
38
+ const { vue_ui_funnel: pe } = Fe(), y = ye, x = v(() => !!y.dataset && y.dataset.length);
39
39
  Te(W);
40
40
  function W() {
41
- if (Fe(y.dataset) ? me({
41
+ if (Ie(y.dataset) ? me({
42
42
  componentName: "VueUiFunnel",
43
43
  type: "dataset"
44
44
  }) : y.dataset.forEach((t, l) => {
45
- Ie({
45
+ Pe({
46
46
  datasetObject: t,
47
47
  requiredAttributes: ["name", "value"]
48
48
  }).forEach((a) => {
@@ -56,7 +56,7 @@ const lt = ["id"], st = ["xmlns", "viewBox"], ot = ["width", "height"], nt = ["i
56
56
  }), e.value.responsive) {
57
57
  const t = Je(() => {
58
58
  const { width: l, height: a } = Ke({
59
- chart: F.value,
59
+ chart: I.value,
60
60
  title: e.value.style.chart.title.text ? te.value : null,
61
61
  source: ee.value,
62
62
  noTitle: Z.value
@@ -83,10 +83,10 @@ const lt = ["id"], st = ["xmlns", "viewBox"], ot = ["width", "height"], nt = ["i
83
83
  });
84
84
  });
85
85
  });
86
- ae.value = new ResizeObserver(t), ae.value.observe(F.value.parentNode);
86
+ ae.value = new ResizeObserver(t), ae.value.observe(I.value.parentNode);
87
87
  }
88
88
  }
89
- const F = c(null), N = c(De()), J = c(0), K = c(0), Q = c(0), Z = c(null), ee = c(null), te = c(null), ae = c(null), w = c(!1);
89
+ const I = c(null), N = c(De()), J = c(0), K = c(0), Q = c(0), Z = c(null), ee = c(null), te = c(null), ae = c(null), w = c(!1);
90
90
  function le() {
91
91
  const t = be({
92
92
  userConfig: y.config,
@@ -167,9 +167,9 @@ const lt = ["id"], st = ["xmlns", "viewBox"], ot = ["width", "height"], nt = ["i
167
167
  function $e(t) {
168
168
  z.value = t, J.value += 1;
169
169
  }
170
- const _e = v(() => `${p.value.length * 150}ms`), I = c(!1);
170
+ const _e = v(() => `${p.value.length * 150}ms`), P = c(!1);
171
171
  function H() {
172
- I.value = !I.value;
172
+ P.value = !P.value;
173
173
  }
174
174
  function he() {
175
175
  O.value.showTable = !O.value.showTable;
@@ -186,7 +186,7 @@ const lt = ["id"], st = ["xmlns", "viewBox"], ot = ["width", "height"], nt = ["i
186
186
  e.value.table.columnNames.value,
187
187
  e.value.table.columnNames.percentage
188
188
  ], l = S.value.head.map((m, h) => {
189
- const P = E(
189
+ const F = E(
190
190
  e.value.style.chart.bars.dataLabels.value.formatter,
191
191
  S.value.body[h],
192
192
  G({
@@ -208,7 +208,7 @@ const lt = ["id"], st = ["xmlns", "viewBox"], ot = ["width", "height"], nt = ["i
208
208
  );
209
209
  return [
210
210
  { color: m.color, name: m.name },
211
- P,
211
+ F,
212
212
  X
213
213
  ];
214
214
  }), a = {
@@ -255,7 +255,7 @@ const lt = ["id"], st = ["xmlns", "viewBox"], ot = ["width", "height"], nt = ["i
255
255
  toggleAnnotator: H
256
256
  }), (t, l) => (s(), u("div", {
257
257
  ref_key: "funnelChart",
258
- ref: F,
258
+ ref: I,
259
259
  class: T(`vue-ui-funnel ${z.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.value.useCssAnimation ? "" : "vue-ui-dna"}`),
260
260
  style: _(`font-family:${e.value.style.fontFamily};width:100%; ${e.value.responsive ? "height:100%;" : ""} text-align:center;background:${e.value.style.chart.backgroundColor}`),
261
261
  id: `funnel_${N.value}`,
@@ -267,7 +267,7 @@ const lt = ["id"], st = ["xmlns", "viewBox"], ot = ["width", "height"], nt = ["i
267
267
  svgRef: n(ne),
268
268
  backgroundColor: e.value.style.chart.backgroundColor,
269
269
  color: e.value.style.chart.color,
270
- active: I.value,
270
+ active: P.value,
271
271
  onClose: H
272
272
  }, null, 8, ["svgRef", "backgroundColor", "color", "active"])) : f("", !0),
273
273
  ke.value ? (s(), u("div", {
@@ -313,11 +313,11 @@ const lt = ["id"], st = ["xmlns", "viewBox"], ot = ["width", "height"], nt = ["i
313
313
  hasLabel: !1,
314
314
  hasFullscreen: e.value.userOptions.buttons.fullscreen,
315
315
  isFullscreen: z.value,
316
- chartElement: F.value,
316
+ chartElement: I.value,
317
317
  position: e.value.userOptions.position,
318
318
  titles: { ...e.value.userOptions.buttonTitles },
319
319
  hasAnnotator: e.value.userOptions.buttons.annotator,
320
- isAnnotation: I.value,
320
+ isAnnotation: P.value,
321
321
  onToggleAnnotator: H,
322
322
  onToggleFullscreen: $e,
323
323
  onGeneratePdf: n(ie),
@@ -435,14 +435,14 @@ const lt = ["id"], st = ["xmlns", "viewBox"], ot = ["width", "height"], nt = ["i
435
435
  strokeDashoffset: e.value.useCssAnimation ? k.value.height : 0
436
436
  }
437
437
  }), null, 16, ct)) : f("", !0),
438
- (s(!0), u(V, null, B(r.value, ({ cx: a, cy: o, r: m, fill: h }, P) => (s(), u("circle", q({ ref_for: !0 }, { cx: a, cy: o, r: m, fill: h }, {
438
+ (s(!0), u(V, null, B(r.value, ({ cx: a, cy: o, r: m, fill: h }, F) => (s(), u("circle", q({ ref_for: !0 }, { cx: a, cy: o, r: m, fill: h }, {
439
439
  stroke: e.value.style.chart.circles.stroke,
440
440
  "stroke-width": e.value.style.chart.circles.strokeWidth,
441
441
  class: {
442
442
  animated: e.value.useCssAnimation && !w.value
443
443
  },
444
444
  style: {
445
- animationDelay: `${150 * P}ms`
445
+ animationDelay: `${150 * F}ms`
446
446
  }
447
447
  }), null, 16, vt))), 256)),
448
448
  (s(!0), u(V, null, B(r.value, (a, o) => (s(), u("text", {
@@ -479,7 +479,7 @@ const lt = ["id"], st = ["xmlns", "viewBox"], ot = ["width", "height"], nt = ["i
479
479
  transition: e.value.useCssAnimation ? `all ${150 * p.value.length}ms ease-in` : "none"
480
480
  })
481
481
  }, null, 14, ht)) : f("", !0),
482
- (s(!0), u(V, null, B(r.value, ({ x: a, y: o, height: m, width: h, fill: P }, X) => (s(), u("rect", q({ ref_for: !0 }, { x: a, y: o, height: m, width: h, fill: P }, {
482
+ (s(!0), u(V, null, B(r.value, ({ x: a, y: o, height: m, width: h, fill: F }, X) => (s(), u("rect", q({ ref_for: !0 }, { x: a, y: o, height: m, width: h, fill: F }, {
483
483
  stroke: e.value.style.chart.bars.stroke,
484
484
  "stroke-width": e.value.style.chart.bars.strokeWidth,
485
485
  rx: e.value.style.chart.bars.borderRadius,
@@ -600,7 +600,7 @@ const lt = ["id"], st = ["xmlns", "viewBox"], ot = ["width", "height"], nt = ["i
600
600
  }, 8, ["config"])) : f("", !0)
601
601
  ], 46, lt));
602
602
  }
603
- }, Ft = /* @__PURE__ */ at(pt, [["__scopeId", "data-v-1f0bddfb"]]);
603
+ }, It = /* @__PURE__ */ at(pt, [["__scopeId", "data-v-1f0bddfb"]]);
604
604
  export {
605
- Ft as default
605
+ It as default
606
606
  };
@@ -1,15 +1,15 @@
1
- import { computed as h, onMounted as Fe, ref as n, watch as Ae, createElementBlock as i, openBlock as o, unref as u, normalizeStyle as A, normalizeClass as E, createBlock as $, createCommentVNode as c, renderSlot as v, createVNode as ce, createSlots as Ee, withCtx as d, normalizeProps as T, guardReactiveProps as _, createElementVNode as O, Fragment as ve, renderList as de, createTextVNode as he, toDisplayString as V, nextTick as Ve } from "vue";
2
- import { u as Me, o as De, e as pe, g as Be, c as ye, t as Ge, p as M, a as ze, b as Ue, J as fe, d as We, M as Re, f as k, X as He, i as ge, x as be, q as Xe, r as je, y as Ye } from "./index-gC66Se26.js";
3
- import { L as qe } from "./Legend-CmKaL7xe.js";
4
- import { _ as Je } from "./Title-Co3F59jq.js";
5
- import { _ as Ke } from "./Tooltip-Cr89wMKa.js";
6
- import { D as Qe } from "./DataTable-C_28ZqiP.js";
7
- import { u as Ze, U as et } from "./usePrinter-KMFl0n0s.js";
8
- import tt from "./vue-ui-skeleton-7Zfds6H1.js";
9
- import lt from "./vue-ui-accordion-j2beIma_.js";
10
- import { u as me } from "./useNestedProp-BusTOV-6.js";
11
- import { _ as at } from "./PackageVersion-39l3KkzC.js";
12
- import { P as ot } from "./PenAndPaper-CmcfpltX.js";
1
+ import { computed as h, onMounted as Fe, ref as n, watch as Ae, createElementBlock as i, openBlock as o, unref as u, normalizeStyle as A, normalizeClass as E, createBlock as $, createCommentVNode as c, renderSlot as v, createVNode as ce, createSlots as Ee, withCtx as d, normalizeProps as _, guardReactiveProps as T, createElementVNode as O, Fragment as ve, renderList as de, createTextVNode as he, toDisplayString as V, nextTick as Ve } from "vue";
2
+ import { u as Me, o as De, e as pe, g as Be, c as ye, t as Ge, p as M, a as ze, b as Ue, J as fe, d as We, M as Re, f as k, X as He, i as ge, x as be, q as Xe, r as je, y as Ye } from "./index-D3VntmA9.js";
3
+ import { L as qe } from "./Legend-CIjMjfNk.js";
4
+ import { _ as Je } from "./Title-UjBqdYyD.js";
5
+ import { _ as Ke } from "./Tooltip-3NNIdJ6N.js";
6
+ import { D as Qe } from "./DataTable-DOKlm7k4.js";
7
+ import { u as Ze, U as et } from "./usePrinter-H3tAjGXs.js";
8
+ import tt from "./vue-ui-skeleton-pHcbvN3-.js";
9
+ import lt from "./vue-ui-accordion-DGJQIcdB.js";
10
+ import { u as me } from "./useNestedProp-DTlOqz2P.js";
11
+ import { _ as at } from "./PackageVersion-BCLALL_i.js";
12
+ import { _ as ot } from "./PenAndPaper-CZs431Nx.js";
13
13
  import { u as st } from "./useUserOptionState-BIvW1Kz7.js";
14
14
  import { u as rt } from "./useChartAccessibility-BWojgys7.js";
15
15
  import { _ as ut } from "./_plugin-vue_export-helper-CHgC5LLL.js";
@@ -28,7 +28,7 @@ const nt = ["id"], it = {
28
28
  key: 8,
29
29
  ref: "source",
30
30
  dir: "auto"
31
- }, Tt = ["innerHTML"], _t = {
31
+ }, _t = ["innerHTML"], Tt = {
32
32
  __name: "vue-ui-galaxy",
33
33
  props: {
34
34
  config: {
@@ -68,7 +68,7 @@ const nt = ["id"], it = {
68
68
  });
69
69
  });
70
70
  }
71
- const P = n(ye()), D = n(null), xe = n(null), B = n(!1), G = n(""), g = n(null), X = n(0), j = n(0), Y = n(0), q = n(0), e = h({
71
+ const S = n(ye()), D = n(null), xe = n(null), B = n(!1), G = n(""), g = n(null), X = n(0), j = n(0), Y = n(0), q = n(0), e = h({
72
72
  get: () => Z(),
73
73
  set: (t) => t
74
74
  }), { userOptionsVisible: z, setUserOptionsVisibility: J, keepUserOptionState: K } = st({ config: e.value }), { svgRef: Q } = rt({ config: e.value.style.chart.title });
@@ -89,16 +89,16 @@ const nt = ["id"], it = {
89
89
  e.value = Z(), z.value = !e.value.userOptions.showOnChartHover, H(), j.value += 1, Y.value += 1, q.value += 1, p.value.dataLabels.show = e.value.style.chart.layout.labels.dataLabels.show, p.value.showTable = e.value.table.show, p.value.showTooltip = e.value.style.chart.tooltip.show;
90
90
  }, { deep: !0 });
91
91
  const { isPrinting: ee, isImaging: te, generatePdf: le, generateImage: ae } = Ze({
92
- elementId: `galaxy_${P.value}`,
92
+ elementId: `galaxy_${S.value}`,
93
93
  fileName: e.value.style.chart.title.text || "vue-ui-galaxy",
94
94
  options: e.value.userOptions.print
95
- }), Te = h(() => e.value.userOptions.show && !e.value.style.chart.title.text), _e = h(() => Ue(e.value.customPalette)), p = n({
95
+ }), _e = h(() => e.value.userOptions.show && !e.value.style.chart.title.text), Te = h(() => Ue(e.value.customPalette)), p = n({
96
96
  dataLabels: {
97
97
  show: e.value.style.chart.layout.labels.dataLabels.show
98
98
  },
99
99
  showTable: e.value.table.show,
100
100
  showTooltip: e.value.style.chart.tooltip.show
101
- }), S = n({
101
+ }), P = n({
102
102
  height: 180,
103
103
  // or 250 if non fibo
104
104
  width: 250
@@ -112,7 +112,7 @@ const nt = ["id"], it = {
112
112
  }
113
113
  const C = h(() => f.dataset.map((t, a) => ({
114
114
  name: t.name,
115
- color: We(t.color) || _e.value[a] || M[a] || M[a % M.length],
115
+ color: We(t.color) || Te.value[a] || M[a] || M[a % M.length],
116
116
  value: t.values ? fe(t.values).reduce((l, s) => l + s, 0) : 0,
117
117
  absoluteValues: fe(t.values),
118
118
  id: ye(),
@@ -125,11 +125,11 @@ const nt = ["id"], it = {
125
125
  value: t.value
126
126
  }));
127
127
  }
128
- const b = h(() => C.value.filter((t) => !y.value.includes(t.id)).map((t) => t.value).reduce((t, a) => t + a, 0)), Pe = n(190), se = h(() => C.value.filter((t) => !y.value.includes(t.id))), N = h(() => {
128
+ const b = h(() => C.value.filter((t) => !y.value.includes(t.id)).map((t) => t.value).reduce((t, a) => t + a, 0)), Se = n(190), se = h(() => C.value.filter((t) => !y.value.includes(t.id))), N = h(() => {
129
129
  const t = [];
130
130
  for (let a = 0; a < se.value.length; a += 1) {
131
131
  const l = se.value[a];
132
- let s = l.value / b.value * Pe.value;
132
+ let s = l.value / b.value * Se.value;
133
133
  a > 0 && t.length && (s += t[a - 1].points), t.push({
134
134
  points: s,
135
135
  ...l,
@@ -144,7 +144,7 @@ const nt = ["id"], it = {
144
144
  }
145
145
  return t.filter((a, l) => !y.value.includes(a.id)).toSorted((a, l) => l.points - a.points);
146
146
  }), x = n(!1);
147
- function Se(t) {
147
+ function Pe(t) {
148
148
  x.value = t, X.value += 1;
149
149
  }
150
150
  const W = n(null);
@@ -282,7 +282,7 @@ const nt = ["id"], it = {
282
282
  ref: D,
283
283
  class: E(`vue-ui-galaxy ${x.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.value.useCssAnimation ? "" : "vue-ui-dna"}`),
284
284
  style: A(`font-family:${e.value.style.fontFamily};width:100%; text-align:center;${e.value.style.chart.title.text ? "" : "padding-top:36px"};background:${e.value.style.chart.backgroundColor}`),
285
- id: `galaxy_${P.value}`,
285
+ id: `galaxy_${S.value}`,
286
286
  onMouseenter: a[3] || (a[3] = () => u(J)(!0)),
287
287
  onMouseleave: a[4] || (a[4] = () => u(J)(!1))
288
288
  }, [
@@ -294,7 +294,7 @@ const nt = ["id"], it = {
294
294
  active: F.value,
295
295
  onClose: R
296
296
  }, null, 8, ["svgRef", "backgroundColor", "color", "active"])) : c("", !0),
297
- Te.value ? (o(), i("div", it, null, 512)) : c("", !0),
297
+ _e.value ? (o(), i("div", it, null, 512)) : c("", !0),
298
298
  e.value.style.chart.title.text ? (o(), i("div", ct, [
299
299
  (o(), $(Je, {
300
300
  key: `title_${j.value}`,
@@ -318,7 +318,7 @@ const nt = ["id"], it = {
318
318
  color: e.value.style.chart.color,
319
319
  isPrinting: u(ee),
320
320
  isImaging: u(te),
321
- uid: P.value,
321
+ uid: S.value,
322
322
  hasTooltip: e.value.userOptions.buttons.tooltip && e.value.style.chart.tooltip.show,
323
323
  hasPdf: e.value.userOptions.buttons.pdf,
324
324
  hasXls: e.value.userOptions.buttons.csv,
@@ -332,7 +332,7 @@ const nt = ["id"], it = {
332
332
  position: e.value.userOptions.position,
333
333
  hasAnnotator: e.value.userOptions.buttons.annotator,
334
334
  isAnnotation: F.value,
335
- onToggleFullscreen: Se,
335
+ onToggleFullscreen: Pe,
336
336
  onGeneratePdf: u(le),
337
337
  onGenerateCsv: ue,
338
338
  onGenerateImage: u(ae),
@@ -346,7 +346,7 @@ const nt = ["id"], it = {
346
346
  t.$slots.menuIcon ? {
347
347
  name: "menuIcon",
348
348
  fn: d(({ isOpen: l, color: s }) => [
349
- v(t.$slots, "menuIcon", T(_({ isOpen: l, color: s })), void 0, !0)
349
+ v(t.$slots, "menuIcon", _(T({ isOpen: l, color: s })), void 0, !0)
350
350
  ]),
351
351
  key: "0"
352
352
  } : void 0,
@@ -388,14 +388,14 @@ const nt = ["id"], it = {
388
388
  t.$slots.optionFullscreen ? {
389
389
  name: "optionFullscreen",
390
390
  fn: d(({ toggleFullscreen: l, isFullscreen: s }) => [
391
- v(t.$slots, "optionFullscreen", T(_({ toggleFullscreen: l, isFullscreen: s })), void 0, !0)
391
+ v(t.$slots, "optionFullscreen", _(T({ toggleFullscreen: l, isFullscreen: s })), void 0, !0)
392
392
  ]),
393
393
  key: "6"
394
394
  } : void 0,
395
395
  t.$slots.optionAnnotator ? {
396
396
  name: "optionAnnotator",
397
397
  fn: d(({ toggleAnnotator: l, isAnnotator: s }) => [
398
- v(t.$slots, "optionAnnotator", T(_({ toggleAnnotator: l, isAnnotator: s })), void 0, !0)
398
+ v(t.$slots, "optionAnnotator", _(T({ toggleAnnotator: l, isAnnotator: s })), void 0, !0)
399
399
  ]),
400
400
  key: "7"
401
401
  } : void 0
@@ -406,7 +406,7 @@ const nt = ["id"], it = {
406
406
  ref: Q,
407
407
  xmlns: u(He),
408
408
  class: E({ "vue-data-ui-fullscreen--on": x.value, "vue-data-ui-fulscreen--off": !x.value }),
409
- viewBox: `0 0 ${S.value.width} ${S.value.height}`,
409
+ viewBox: `0 0 ${P.value.width} ${P.value.height}`,
410
410
  style: A(`max-width:100%; overflow: visible; background:transparent;color:${e.value.style.chart.color}`)
411
411
  }, [
412
412
  ce(at),
@@ -414,8 +414,8 @@ const nt = ["id"], it = {
414
414
  key: 0,
415
415
  x: 0,
416
416
  y: 0,
417
- width: S.value.width,
418
- height: S.value.height,
417
+ width: P.value.width,
418
+ height: P.value.height,
419
419
  style: {
420
420
  pointerEvents: "none"
421
421
  }
@@ -424,7 +424,7 @@ const nt = ["id"], it = {
424
424
  ], 8, dt)) : c("", !0),
425
425
  O("defs", null, [
426
426
  O("filter", {
427
- id: `blur_${P.value}`,
427
+ id: `blur_${S.value}`,
428
428
  x: "-50%",
429
429
  y: "-50%",
430
430
  width: "200%",
@@ -456,7 +456,7 @@ const nt = ["id"], it = {
456
456
  }, null, 10, ft)) : c("", !0),
457
457
  l.value && e.value.style.chart.layout.arcs.gradient.show ? (o(), i("g", {
458
458
  key: 2,
459
- filter: `url(#blur_${P.value})`
459
+ filter: `url(#blur_${S.value})`
460
460
  }, [
461
461
  O("path", {
462
462
  d: l.path,
@@ -487,10 +487,10 @@ const nt = ["id"], it = {
487
487
  onClick: (r) => oe("selectDatapoint", l)
488
488
  }, null, 40, mt)) : c("", !0)
489
489
  ]))), 256)),
490
- v(t.$slots, "svg", { svg: S.value }, void 0, !0)
490
+ v(t.$slots, "svg", { svg: P.value }, void 0, !0)
491
491
  ], 14, vt)) : c("", !0),
492
492
  t.$slots.watermark ? (o(), i("div", kt, [
493
- v(t.$slots, "watermark", T(_({ isPrinting: u(ee) || u(te) })), void 0, !0)
493
+ v(t.$slots, "watermark", _(T({ isPrinting: u(ee) || u(te) })), void 0, !0)
494
494
  ])) : c("", !0),
495
495
  L.value ? c("", !0) : (o(), $(tt, {
496
496
  key: 6,
@@ -556,10 +556,10 @@ const nt = ["id"], it = {
556
556
  isCustom: u(be)(e.value.style.chart.tooltip.customFormat)
557
557
  }, {
558
558
  "tooltip-before": d(() => [
559
- v(t.$slots, "tooltip-before", T(_({ ...W.value })), void 0, !0)
559
+ v(t.$slots, "tooltip-before", _(T({ ...W.value })), void 0, !0)
560
560
  ]),
561
561
  "tooltip-after": d(() => [
562
- v(t.$slots, "tooltip-after", T(_({ ...W.value })), void 0, !0)
562
+ v(t.$slots, "tooltip-after", _(T({ ...W.value })), void 0, !0)
563
563
  ]),
564
564
  _: 3
565
565
  }, 8, ["show", "backgroundColor", "color", "borderRadius", "borderColor", "borderWidth", "fontSize", "backgroundOpacity", "position", "offsetY", "parent", "content", "isFullscreen", "isCustom"]),
@@ -593,7 +593,7 @@ const nt = ["id"], it = {
593
593
  O("div", {
594
594
  innerHTML: l,
595
595
  style: { display: "flex", "align-items": "center" }
596
- }, null, 8, Tt)
596
+ }, null, 8, _t)
597
597
  ]),
598
598
  td: d(({ td: l }) => [
599
599
  he(V(l.name || l), 1)
@@ -605,7 +605,7 @@ const nt = ["id"], it = {
605
605
  }, 8, ["config"])) : c("", !0)
606
606
  ], 46, nt));
607
607
  }
608
- }, Ut = /* @__PURE__ */ ut(_t, [["__scopeId", "data-v-41382c10"]]);
608
+ }, Ut = /* @__PURE__ */ ut(Tt, [["__scopeId", "data-v-41382c10"]]);
609
609
  export {
610
610
  Ut as default
611
611
  };
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),r=require("./index-MIJJ8liG.cjs"),ce=require("./Legend-Bhl2d6oj.cjs"),de=require("./Title-C5w8bVlo.cjs"),ve=require("./Tooltip-Dbe23pmt.cjs"),he=require("./DataTable-c3nDhwbO.cjs"),Y=require("./usePrinter-U1x-RAEA.cjs"),pe=require("./vue-ui-skeleton-DOE444ST.cjs"),fe=require("./vue-ui-accordion-cBSqrYy3.cjs"),J=require("./useNestedProp-DwR4JSzw.cjs"),ye=require("./PackageVersion-DFYAej2o.cjs"),ge=require("./PenAndPaper-CAqWCUZx.cjs"),me=require("./useUserOptionState-BgepsfED.cjs"),be=require("./useChartAccessibility-Cm7nkzTG.cjs"),ke=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),Ce=["id"],we={key:1,ref:"noTitle",class:"vue-data-ui-no-title-space",style:"height:36px; width: 100%;background:transparent"},xe={key:2,style:"width:100%;background:transparent;padding-bottom:24px"},$e=["xmlns","viewBox"],Be=["width","height"],Se=["id"],Te=["stdDeviation"],Ne=["d","stroke","stroke-width"],Pe=["d","stroke","stroke-width"],_e=["filter"],Ve=["d","stroke","stroke-width"],Ee=["d","stroke-width","onMouseenter","onClick"],Le={key:5,class:"vue-data-ui-watermark"},Oe=["onClick"],Fe={key:0},Ae={key:1},Ie={key:8,ref:"source",dir:"auto"},ze=["innerHTML"],De={__name:"vue-ui-galaxy",props:{config:{type:Object,default(){return{}}},dataset:{type:Array,default(){return[]}}},emits:["selectLegend","selectDatapoint"],setup(K,{expose:Q,emit:Z}){const{vue_ui_galaxy:ee}=r.useConfig(),c=K,k=e.computed(()=>!!c.dataset&&c.dataset.length);e.onMounted(()=>{_()});function _(){r.objectIsEmpty(c.dataset)?r.error({componentName:"VueUiGalaxy",type:"dataset"}):c.dataset.forEach((l,a)=>{r.getMissingDatasetAttributes({datasetObject:l,requiredAttributes:["name","values"]}).forEach(o=>{r.error({componentName:"VueUiGalaxy",type:"datasetSerieAttribute",property:o,index:a})})})}const g=e.ref(r.createUid()),x=e.ref(null),te=e.ref(null),$=e.ref(!1),B=e.ref(""),d=e.ref(null),V=e.ref(0),E=e.ref(0),L=e.ref(0),O=e.ref(0),t=e.computed({get:()=>z(),set:l=>l}),{userOptionsVisible:S,setUserOptionsVisibility:F,keepUserOptionState:A}=me.useUserOptionState({config:t.value}),{svgRef:I}=be.useChartAccessibility({config:t.value.style.chart.title});function z(){const l=J.useNestedProp({userConfig:c.config,defaultConfig:ee});return l.theme?{...J.useNestedProp({userConfig:r.themes.vue_ui_galaxy[l.theme]||c.config,defaultConfig:l}),customPalette:r.themePalettes[l.theme]||r.palette}:l}e.watch(()=>c.config,l=>{t.value=z(),S.value=!t.value.userOptions.showOnChartHover,_(),E.value+=1,L.value+=1,O.value+=1,u.value.dataLabels.show=t.value.style.chart.layout.labels.dataLabels.show,u.value.showTable=t.value.table.show,u.value.showTooltip=t.value.style.chart.tooltip.show},{deep:!0});const{isPrinting:D,isImaging:q,generatePdf:M,generateImage:R}=Y.usePrinter({elementId:`galaxy_${g.value}`,fileName:t.value.style.chart.title.text||"vue-ui-galaxy",options:t.value.userOptions.print}),le=e.computed(()=>t.value.userOptions.show&&!t.value.style.chart.title.text),oe=e.computed(()=>r.convertCustomPalette(t.value.customPalette)),u=e.ref({dataLabels:{show:t.value.style.chart.layout.labels.dataLabels.show},showTable:t.value.table.show,showTooltip:t.value.style.chart.tooltip.show}),m=e.ref({height:180,width:250}),U=Z,i=e.ref([]);function T(l){i.value.includes(l.id)?i.value=i.value.filter(a=>a!==l.id):i.value.push(l.id),U("selectLegend",b.value.map(a=>({name:a.name,color:a.color,value:a.value})))}const p=e.computed(()=>c.dataset.map((l,a)=>({name:l.name,color:r.convertColorToHex(l.color)||oe.value[a]||r.palette[a]||r.palette[a%r.palette.length],value:l.values?r.sanitizeArray(l.values).reduce((o,n)=>o+n,0):0,absoluteValues:r.sanitizeArray(l.values),id:r.createUid(),seriesIndex:a})).sort((l,a)=>a.value-l.value));function ae(){return p.value.map(l=>({name:l.name,color:l.color,value:l.value}))}const v=e.computed(()=>p.value.filter(l=>!i.value.includes(l.id)).map(l=>l.value).reduce((l,a)=>l+a,0)),re=e.ref(190),G=e.computed(()=>p.value.filter(l=>!i.value.includes(l.id))),b=e.computed(()=>{const l=[];for(let a=0;a<G.value.length;a+=1){const o=G.value[a];let n=o.value/v.value*re.value;a>0&&l.length&&(n+=l[a-1].points),l.push({points:n,...o,seriesIndex:a,proportion:o.value/v.value,path:r.createSpiralPath({points:n,startX:115+t.value.style.chart.layout.arcs.offsetX,startY:90+t.value.style.chart.layout.arcs.offsetY})})}return l.filter((a,o)=>!i.value.includes(a.id)).toSorted((a,o)=>o.points-a.points)}),y=e.ref(!1);function ne(l){y.value=l,V.value+=1}const N=e.ref(null);function se({datapoint:l,_relativeIndex:a,seriesIndex:o,show:n=!1}){N.value={datapoint:l,seriesIndex:o,series:p.value,config:t.value},$.value=n,d.value=l.id;let s="";const f=t.value.style.chart.tooltip.customFormat;r.isFunction(f)&&r.functionReturnsString(()=>f({seriesIndex:o,datapoint:l,series:p.value,config:t.value}))?B.value=f({seriesIndex:o,datapoint:l,series:p.value,config:t.value}):(s+=`<div style="width:100%;text-align:center;border-bottom:1px solid ${t.value.style.chart.tooltip.borderColor};padding-bottom:6px;margin-bottom:3px;">${l.name}</div>`,s+=`<div style="display:flex;flex-direction:row;gap:6px;align-items:center;"><svg viewBox="0 0 12 12" height="14" width="14"><circle cx="6" cy="6" r="6" stroke="none" fill="${l.color}"/></svg>`,t.value.style.chart.tooltip.showValue&&(s+=`<b>${r.applyDataLabel(t.value.style.chart.layout.labels.dataLabels.formatter,l.value,r.dataLabel({p:t.value.style.chart.layout.labels.dataLabels.prefix,v:l.value,s:t.value.style.chart.layout.labels.dataLabels.suffix,r:t.value.style.chart.tooltip.roundingValue}),{datapoint:l,seriesIndex:o})}</b>`),t.value.style.chart.tooltip.showPercentage&&(t.value.style.chart.tooltip.showValue?s+=`<span>(${r.dataLabel({v:l.proportion*100,s:"%",r:t.value.style.chart.tooltip.roundingPercentage})})</span></div>`:s+=`<b>${r.dataLabel({v:l.proportion*100,s:"%",r:t.value.style.chart.tooltip.roundingPercentage})}</b></div>`),B.value=`<div>${s}</div>`)}const W=e.computed(()=>p.value.map((l,a)=>({...l,proportion:(l.value||0)/c.dataset.map(o=>(o.values||[]).reduce((n,s)=>n+s,0)).reduce((o,n)=>o+n,0),opacity:i.value.includes(l.id)?.5:1,shape:l.shape||"circle",segregate:()=>T(l),isSegregated:i.value.includes(l.id)}))),ue=e.computed(()=>({cy:"galaxy-div-legend",backgroundColor:t.value.style.chart.legend.backgroundColor,color:t.value.style.chart.legend.color,fontSize:t.value.style.chart.legend.fontSize,paddingBottom:12,fontWeight:t.value.style.chart.legend.bold?"bold":""})),h=e.computed(()=>{const l=b.value.map(o=>({name:o.name,color:o.color})),a=b.value.map(o=>o.value);return{head:l,body:a}});function H(){e.nextTick(()=>{const l=h.value.head.map((n,s)=>[[n.name],[h.value.body[s]],[isNaN(h.value.body[s]/v.value)?"-":h.value.body[s]/v.value*100]]),a=[[t.value.style.chart.title.text],[t.value.style.chart.title.subtitle.text],[[""],["val"],["%"]]].concat(l),o=r.createCsvContent(a);r.downloadCsv({csvContent:o,title:t.value.style.chart.title.text||"vue-ui-galaxy"})})}const C=e.computed(()=>{const l=[' <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M18 16v2a1 1 0 0 1 -1 1h-11l6 -7l-6 -7h11a1 1 0 0 1 1 1v2" /></svg>',r.dataLabel({p:t.value.style.chart.layout.labels.dataLabels.prefix,v:v.value,s:t.value.style.chart.layout.labels.dataLabels.suffix,r:t.value.table.td.roundingValue}),"100%"],a=h.value.head.map((s,f)=>{const ie=r.dataLabel({p:t.value.style.chart.layout.labels.dataLabels.prefix,v:h.value.body[f],s:t.value.style.chart.layout.labels.dataLabels.suffix,r:t.value.table.td.roundingValue});return[{color:s.color,name:s.name},ie,isNaN(h.value.body[f]/v.value)?"-":r.dataLabel({v:h.value.body[f]/v.value*100,s:"%",r:t.value.table.td.roundingPercentage})]}),o={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,t.value.table.columnNames.percentage],head:l,body:a,config:o}});function j(){u.value.showTable=!u.value.showTable}function X(){u.value.showTooltip=!u.value.showTooltip}const w=e.ref(!1);function P(){w.value=!w.value}return Q({getData:ae,generatePdf:M,generateCsv:H,generateImage:R,toggleTable:j,toggleTooltip:X,toggleAnnotator:P}),(l,a)=>(e.openBlock(),e.createElementBlock("div",{ref_key:"galaxyChart",ref:x,class:e.normalizeClass(`vue-ui-galaxy ${y.value?"vue-data-ui-wrapper-fullscreen":""} ${t.value.useCssAnimation?"":"vue-ui-dna"}`),style:e.normalizeStyle(`font-family:${t.value.style.fontFamily};width:100%; text-align:center;${t.value.style.chart.title.text?"":"padding-top:36px"};background:${t.value.style.chart.backgroundColor}`),id:`galaxy_${g.value}`,onMouseenter:a[3]||(a[3]=()=>e.unref(F)(!0)),onMouseleave:a[4]||(a[4]=()=>e.unref(F)(!1))},[t.value.userOptions.buttons.annotator?(e.openBlock(),e.createBlock(ge._sfc_main,{key:0,svgRef:e.unref(I),backgroundColor:t.value.style.chart.backgroundColor,color:t.value.style.chart.color,active:w.value,onClose:P},null,8,["svgRef","backgroundColor","color","active"])):e.createCommentVNode("",!0),le.value?(e.openBlock(),e.createElementBlock("div",we,null,512)):e.createCommentVNode("",!0),t.value.style.chart.title.text?(e.openBlock(),e.createElementBlock("div",xe,[(e.openBlock(),e.createBlock(de._sfc_main,{key:`title_${E.value}`,config:{title:{cy:"galaxy-div-title",...t.value.style.chart.title},subtitle:{cy:"galaxy-div-subtitle",...t.value.style.chart.title.subtitle}}},null,8,["config"]))])):e.createCommentVNode("",!0),t.value.userOptions.show&&k.value&&(e.unref(A)||e.unref(S))?(e.openBlock(),e.createBlock(Y.UserOptions,{ref_key:"details",ref:te,key:`user_option_${V.value}`,backgroundColor:t.value.style.chart.backgroundColor,color:t.value.style.chart.color,isPrinting:e.unref(D),isImaging:e.unref(q),uid:g.value,hasTooltip:t.value.userOptions.buttons.tooltip&&t.value.style.chart.tooltip.show,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,isTooltip:u.value.showTooltip,isFullscreen:y.value,titles:{...t.value.userOptions.buttonTitles},chartElement:x.value,position:t.value.userOptions.position,hasAnnotator:t.value.userOptions.buttons.annotator,isAnnotation:w.value,onToggleFullscreen:ne,onGeneratePdf:e.unref(M),onGenerateCsv:H,onGenerateImage:e.unref(R),onToggleTable:j,onToggleTooltip:X,onToggleAnnotator:P,style:e.normalizeStyle({visibility:e.unref(A)?e.unref(S)?"visible":"hidden":"visible"})},e.createSlots({_:2},[l.$slots.menuIcon?{name:"menuIcon",fn:e.withCtx(({isOpen:o,color:n})=>[e.renderSlot(l.$slots,"menuIcon",e.normalizeProps(e.guardReactiveProps({isOpen:o,color:n})),void 0,!0)]),key:"0"}:void 0,l.$slots.optionTooltip?{name:"optionTooltip",fn:e.withCtx(()=>[e.renderSlot(l.$slots,"optionTooltip",{},void 0,!0)]),key:"1"}:void 0,l.$slots.optionPdf?{name:"optionPdf",fn:e.withCtx(()=>[e.renderSlot(l.$slots,"optionPdf",{},void 0,!0)]),key:"2"}:void 0,l.$slots.optionCsv?{name:"optionCsv",fn:e.withCtx(()=>[e.renderSlot(l.$slots,"optionCsv",{},void 0,!0)]),key:"3"}:void 0,l.$slots.optionImg?{name:"optionImg",fn:e.withCtx(()=>[e.renderSlot(l.$slots,"optionImg",{},void 0,!0)]),key:"4"}:void 0,l.$slots.optionTable?{name:"optionTable",fn:e.withCtx(()=>[e.renderSlot(l.$slots,"optionTable",{},void 0,!0)]),key:"5"}:void 0,l.$slots.optionFullscreen?{name:"optionFullscreen",fn:e.withCtx(({toggleFullscreen:o,isFullscreen:n})=>[e.renderSlot(l.$slots,"optionFullscreen",e.normalizeProps(e.guardReactiveProps({toggleFullscreen:o,isFullscreen:n})),void 0,!0)]),key:"6"}:void 0,l.$slots.optionAnnotator?{name:"optionAnnotator",fn:e.withCtx(({toggleAnnotator:o,isAnnotator:n})=>[e.renderSlot(l.$slots,"optionAnnotator",e.normalizeProps(e.guardReactiveProps({toggleAnnotator:o,isAnnotator:n})),void 0,!0)]),key:"7"}:void 0]),1032,["backgroundColor","color","isPrinting","isImaging","uid","hasTooltip","hasPdf","hasXls","hasImg","hasTable","hasFullscreen","isTooltip","isFullscreen","titles","chartElement","position","hasAnnotator","isAnnotation","onGeneratePdf","onGenerateImage","style"])):e.createCommentVNode("",!0),k.value?(e.openBlock(),e.createElementBlock("svg",{key:4,ref_key:"svgRef",ref:I,xmlns:e.unref(r.XMLNS),class:e.normalizeClass({"vue-data-ui-fullscreen--on":y.value,"vue-data-ui-fulscreen--off":!y.value}),viewBox:`0 0 ${m.value.width} ${m.value.height}`,style:e.normalizeStyle(`max-width:100%; overflow: visible; background:transparent;color:${t.value.style.chart.color}`)},[e.createVNode(ye._sfc_main),l.$slots["chart-background"]?(e.openBlock(),e.createElementBlock("foreignObject",{key:0,x:0,y:0,width:m.value.width,height:m.value.height,style:{pointerEvents:"none"}},[e.renderSlot(l.$slots,"chart-background",{},void 0,!0)],8,Be)):e.createCommentVNode("",!0),e.createElementVNode("defs",null,[e.createElementVNode("filter",{id:`blur_${g.value}`,x:"-50%",y:"-50%",width:"200%",height:"200%"},[e.createElementVNode("feGaussianBlur",{in:"SourceGraphic",stdDeviation:100/t.value.style.chart.layout.arcs.gradient.intensity},null,8,Te)],8,Se)]),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(b.value,o=>(e.openBlock(),e.createElementBlock("g",null,[o.value?(e.openBlock(),e.createElementBlock("path",{key:0,d:o.path,fill:"none",stroke:t.value.style.chart.backgroundColor,"stroke-width":(t.value.style.chart.layout.arcs.strokeWidth+t.value.style.chart.layout.arcs.borderWidth)*(d.value===o.id&&t.value.style.chart.layout.arcs.hoverEffect.show?t.value.style.chart.layout.arcs.hoverEffect.multiplicator:1),"stroke-linecap":"round"},null,8,Ne)):e.createCommentVNode("",!0),o.value?(e.openBlock(),e.createElementBlock("path",{key:1,d:o.path,fill:"none",stroke:o.color,"stroke-width":t.value.style.chart.layout.arcs.strokeWidth*(d.value===o.id&&t.value.style.chart.layout.arcs.hoverEffect.show?t.value.style.chart.layout.arcs.hoverEffect.multiplicator:1),"stroke-linecap":"round",class:e.normalizeClass(`${d.value&&d.value!==o.id&&t.value.useBlurOnHover?"vue-ui-galaxy-blur":""}`)},null,10,Pe)):e.createCommentVNode("",!0),o.value&&t.value.style.chart.layout.arcs.gradient.show?(e.openBlock(),e.createElementBlock("g",{key:2,filter:`url(#blur_${g.value})`},[e.createElementVNode("path",{d:o.path,fill:"none",stroke:t.value.style.chart.layout.arcs.gradient.color,"stroke-width":t.value.style.chart.layout.arcs.strokeWidth/2*(d.value===o.id&&t.value.style.chart.layout.arcs.hoverEffect.show?t.value.style.chart.layout.arcs.hoverEffect.multiplicator:1),"stroke-linecap":"round",class:e.normalizeClass(`vue-ui-galaxy-gradient ${d.value&&d.value!==o.id&&t.value.useBlurOnHover?"vue-ui-galaxy-blur":""}`)},null,10,Ve)],8,_e)):e.createCommentVNode("",!0)]))),256)),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(b.value,(o,n)=>(e.openBlock(),e.createElementBlock("g",null,[o.value?(e.openBlock(),e.createElementBlock("path",{key:0,d:o.path,fill:"none",stroke:"transparent","stroke-width":t.value.style.chart.layout.arcs.strokeWidth+t.value.style.chart.layout.arcs.borderWidth,"stroke-linecap":"round",onMouseenter:s=>se({datapoint:o,seriesIndex:o.seriesIndex,show:!0}),onMouseleave:a[0]||(a[0]=s=>{$.value=!1,d.value=null}),onClick:s=>U("selectDatapoint",o)},null,40,Ee)):e.createCommentVNode("",!0)]))),256)),e.renderSlot(l.$slots,"svg",{svg:m.value},void 0,!0)],14,$e)):e.createCommentVNode("",!0),l.$slots.watermark?(e.openBlock(),e.createElementBlock("div",Le,[e.renderSlot(l.$slots,"watermark",e.normalizeProps(e.guardReactiveProps({isPrinting:e.unref(D)||e.unref(q)})),void 0,!0)])):e.createCommentVNode("",!0),k.value?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(pe.default,{key:6,config:{type:"galaxy",style:{backgroundColor:t.value.style.chart.backgroundColor,galaxy:{color:"#CCCCCC"}}}},null,8,["config"])),t.value.style.chart.legend.show?(e.openBlock(),e.createBlock(ce.Legend,{key:`legend_${O.value}`,legendSet:W.value,config:ue.value,onClickMarker:a[1]||(a[1]=({legend:o})=>T(o))},{item:e.withCtx(({legend:o,index:n})=>[e.createElementVNode("div",{onClick:s=>T(o),style:e.normalizeStyle(`opacity:${i.value.includes(o.id)?.5:1}`)},[e.createTextVNode(e.toDisplayString(o.name)+": "+e.toDisplayString(e.unref(r.applyDataLabel)(t.value.style.chart.layout.labels.dataLabels.formatter,o.value,e.unref(r.dataLabel)({p:t.value.style.chart.layout.labels.dataLabels.prefix,v:o.value,s:t.value.style.chart.layout.labels.dataLabels.suffix,r:t.value.style.chart.legend.roundingValue}),{datapoint:o,seriesIndex:n}))+" ",1),i.value.includes(o.id)?(e.openBlock(),e.createElementBlock("span",Ae," ( - % ) ")):(e.openBlock(),e.createElementBlock("span",Fe," ("+e.toDisplayString(isNaN(o.value/v.value)?"-":e.unref(r.dataLabel)({v:o.value/v.value*100,s:"%",r:t.value.style.chart.legend.roundingPercentage}))+") ",1))],12,Oe)]),_:1},8,["legendSet","config"])):e.createCommentVNode("",!0),e.renderSlot(l.$slots,"legend",{legend:W.value},void 0,!0),l.$slots.source?(e.openBlock(),e.createElementBlock("div",Ie,[e.renderSlot(l.$slots,"source",{},void 0,!0)],512)):e.createCommentVNode("",!0),e.createVNode(ve._sfc_main,{show:u.value.showTooltip&&$.value,backgroundColor:t.value.style.chart.tooltip.backgroundColor,color:t.value.style.chart.tooltip.color,borderRadius:t.value.style.chart.tooltip.borderRadius,borderColor:t.value.style.chart.tooltip.borderColor,borderWidth:t.value.style.chart.tooltip.borderWidth,fontSize:t.value.style.chart.tooltip.fontSize,backgroundOpacity:t.value.style.chart.tooltip.backgroundOpacity,position:t.value.style.chart.tooltip.position,offsetY:t.value.style.chart.tooltip.offsetY,parent:x.value,content:B.value,isFullscreen:y.value,isCustom:e.unref(r.isFunction)(t.value.style.chart.tooltip.customFormat)},{"tooltip-before":e.withCtx(()=>[e.renderSlot(l.$slots,"tooltip-before",e.normalizeProps(e.guardReactiveProps({...N.value})),void 0,!0)]),"tooltip-after":e.withCtx(()=>[e.renderSlot(l.$slots,"tooltip-after",e.normalizeProps(e.guardReactiveProps({...N.value})),void 0,!0)]),_:3},8,["show","backgroundColor","color","borderRadius","borderColor","borderWidth","fontSize","backgroundOpacity","position","offsetY","parent","content","isFullscreen","isCustom"]),k.value?(e.openBlock(),e.createBlock(fe.default,{key:9,hideDetails:"",config:{open:u.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(he.DataTable,{key:`table_${L.value}`,colNames:C.value.colNames,head:C.value.head,body:C.value.body,config:C.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[2]||(a[2]=o=>u.value.showTable=!1)},{th:e.withCtx(({th:o})=>[e.createElementVNode("div",{innerHTML:o,style:{display:"flex","align-items":"center"}},null,8,ze)]),td:e.withCtx(({td:o})=>[e.createTextVNode(e.toDisplayString(o.name||o),1)]),_:1},8,["colNames","head","body","config","title"]))]),_:1},8,["config"])):e.createCommentVNode("",!0)],46,Ce))}},qe=ke._export_sfc(De,[["__scopeId","data-v-41382c10"]]);exports.default=qe;
@@ -1,16 +1,16 @@
1
- import { computed as f, ref as y, watch as pe, onMounted as Ge, onBeforeUnmount as Ee, createElementBlock as u, openBlock as s, unref as i, normalizeStyle as B, normalizeClass as ge, createBlock as G, createCommentVNode as c, createElementVNode as p, withCtx as P, toDisplayString as O, createSlots as Ue, renderSlot as x, normalizeProps as E, guardReactiveProps as U, createVNode as We, Fragment as g, renderList as S, mergeProps as X } from "vue";
2
- import { u as je, c as Te, t as Le, p as ke, a as De, b as Be, o as be, d as Ve, e as W, g as _e, m as V, I as z, N as qe, X as He, s as q, n as Ze, i as H, f as Z, F as J } from "./index-gC66Se26.js";
1
+ import { computed as f, ref as y, watch as pe, onMounted as Ge, onBeforeUnmount as Ee, createElementBlock as u, openBlock as s, unref as i, normalizeStyle as B, normalizeClass as ge, createBlock as G, createCommentVNode as c, createElementVNode as p, withCtx as N, toDisplayString as O, createSlots as Ue, renderSlot as x, normalizeProps as E, guardReactiveProps as U, createVNode as We, Fragment as g, renderList as S, mergeProps as X } from "vue";
2
+ import { u as je, c as Te, t as Le, p as ke, a as De, b as Be, o as be, d as Ve, e as W, g as _e, m as V, I as z, N as qe, X as He, s as q, n as Ze, i as H, f as Z, F as J } from "./index-D3VntmA9.js";
3
3
  import { t as Je, u as Ke } from "./useResponsive-Cw4oZ8sQ.js";
4
- import { u as Qe, U as et } from "./usePrinter-KMFl0n0s.js";
5
- import tt from "./vue-ui-skeleton-7Zfds6H1.js";
6
- import { _ as at } from "./Title-Co3F59jq.js";
7
- import { u as xe } from "./useNestedProp-BusTOV-6.js";
8
- import { _ as lt } from "./PackageVersion-39l3KkzC.js";
9
- import { P as rt } from "./PenAndPaper-CmcfpltX.js";
4
+ import { u as Qe, U as et } from "./usePrinter-H3tAjGXs.js";
5
+ import tt from "./vue-ui-skeleton-pHcbvN3-.js";
6
+ import { _ as at } from "./Title-UjBqdYyD.js";
7
+ import { u as xe } from "./useNestedProp-DTlOqz2P.js";
8
+ import { _ as lt } from "./PackageVersion-BCLALL_i.js";
9
+ import { _ as rt } from "./PenAndPaper-CZs431Nx.js";
10
10
  import { u as st } from "./useUserOptionState-BIvW1Kz7.js";
11
11
  import { u as ot } from "./useChartAccessibility-BWojgys7.js";
12
12
  import { _ as ut } from "./_plugin-vue_export-helper-CHgC5LLL.js";
13
- const nt = ["id"], it = { key: 0 }, ct = ["xmlns", "viewBox"], vt = ["width", "height"], dt = ["id"], ht = ["stop-color"], ft = ["stop-color"], yt = ["stop-color"], mt = ["id"], pt = ["stdDeviation"], gt = { key: 1 }, kt = ["d", "fill", "stroke"], bt = ["d", "fill", "stroke"], _t = ["d", "fill"], xt = ["id", "d"], wt = ["fill", "font-size", "font-weight"], St = ["href", "startOffset"], $t = ["x", "y", "text-anchor", "fill", "font-size", "font-weight"], zt = ["d", "filter"], Ft = ["stroke", "stroke-width"], Ct = ["stroke", "stroke-width"], Ot = ["stroke", "stroke-width"], Mt = ["stroke", "stroke-width"], Pt = { key: 8 }, Nt = ["x", "y", "text-anchor", "font-size", "font-weight", "fill"], Xt = ["x", "y", "font-size", "font-weight", "fill"], It = { key: 0 }, Yt = ["x1", "y1", "x2", "y2", "stroke", "stroke-width"], At = ["x1", "y1", "x2", "y2", "stroke", "stroke-width"], Rt = ["x1", "y1", "x2", "y2", "stroke-width", "filter"], Gt = { key: 1 }, Et = ["d", "fill", "stroke", "stroke-width"], Ut = ["cx", "cy", "fill", "r", "stroke-width", "stroke"], Wt = ["x", "y", "font-size", "fill"], jt = {
13
+ const nt = ["id"], it = { key: 0 }, ct = ["xmlns", "viewBox"], vt = ["width", "height"], dt = ["id"], ht = ["stop-color"], ft = ["stop-color"], yt = ["stop-color"], mt = ["id"], pt = ["stdDeviation"], gt = { key: 1 }, kt = ["d", "fill", "stroke"], bt = ["d", "fill", "stroke"], _t = ["d", "fill"], xt = ["id", "d"], wt = ["fill", "font-size", "font-weight"], St = ["href", "startOffset"], $t = ["x", "y", "text-anchor", "fill", "font-size", "font-weight"], zt = ["d", "filter"], Ft = ["stroke", "stroke-width"], Ct = ["stroke", "stroke-width"], Ot = ["stroke", "stroke-width"], Mt = ["stroke", "stroke-width"], Nt = { key: 8 }, Pt = ["x", "y", "text-anchor", "font-size", "font-weight", "fill"], Xt = ["x", "y", "font-size", "font-weight", "fill"], It = { key: 0 }, Yt = ["x1", "y1", "x2", "y2", "stroke", "stroke-width"], At = ["x1", "y1", "x2", "y2", "stroke", "stroke-width"], Rt = ["x1", "y1", "x2", "y2", "stroke-width", "filter"], Gt = { key: 1 }, Et = ["d", "fill", "stroke", "stroke-width"], Ut = ["cx", "cy", "fill", "r", "stroke-width", "stroke"], Wt = ["x", "y", "font-size", "fill"], jt = {
14
14
  key: 5,
15
15
  class: "vue-data-ui-watermark"
16
16
  }, Tt = {
@@ -269,7 +269,7 @@ const nt = ["id"], it = { key: 0 }, ct = ["xmlns", "viewBox"], vt = ["width", "h
269
269
  let r = 0;
270
270
  return t.map((_) => (r += _, `${r / 100 * a - _ / 4}%`));
271
271
  }
272
- const Me = f(() => Oe(h.value.map((t) => t.proportion * 100))), Pe = f(() => V(
272
+ const Me = f(() => Oe(h.value.map((t) => t.proportion * 100))), Ne = f(() => V(
273
273
  { series: F.value.series },
274
274
  l.value.width / 2,
275
275
  v.value.base,
@@ -281,7 +281,7 @@ const nt = ["id"], it = { key: 0 }, ct = ["xmlns", "viewBox"], vt = ["width", "h
281
281
  180,
282
282
  110.02,
283
283
  2 * l.value.trackSize
284
- )), Ne = f(() => {
284
+ )), Pe = f(() => {
285
285
  const t = $.value >= 0 ? -$.value : Math.abs($.value);
286
286
  return qe(
287
287
  {
@@ -291,9 +291,9 @@ const nt = ["id"], it = { key: 0 }, ct = ["xmlns", "viewBox"], vt = ["width", "h
291
291
  percentage: (m.value + t) / (M.value + t)
292
292
  }
293
293
  );
294
- }), N = y(!1);
294
+ }), P = y(!1);
295
295
  function Xe(t) {
296
- N.value = t, K.value += 1;
296
+ P.value = t, K.value += 1;
297
297
  }
298
298
  const R = y(!1);
299
299
  function D() {
@@ -304,7 +304,7 @@ const nt = ["id"], it = { key: 0 }, ct = ["xmlns", "viewBox"], vt = ["width", "h
304
304
  generateImage: ve,
305
305
  toggleAnnotator: D
306
306
  }), (t, o) => (s(), u("div", {
307
- class: ge(`vue-ui-gauge ${N.value ? "vue-data-ui-wrapper-fullscreen" : ""}`),
307
+ class: ge(`vue-ui-gauge ${P.value ? "vue-data-ui-wrapper-fullscreen" : ""}`),
308
308
  ref_key: "gaugeChart",
309
309
  ref: Y,
310
310
  id: `vue-ui-gauge_${b.value}`,
@@ -346,7 +346,7 @@ const nt = ["id"], it = { key: 0 }, ct = ["xmlns", "viewBox"], vt = ["width", "h
346
346
  }
347
347
  }
348
348
  }, {
349
- default: P(() => [
349
+ default: N(() => [
350
350
  e.value.translations.base && j.dataset.base ? (s(), u("span", it, O(e.value.translations.base) + ": " + O(j.dataset.base), 1)) : c("", !0)
351
351
  ]),
352
352
  _: 1
@@ -365,7 +365,7 @@ const nt = ["id"], it = { key: 0 }, ct = ["xmlns", "viewBox"], vt = ["width", "h
365
365
  hasPdf: e.value.userOptions.buttons.pdf,
366
366
  hasImg: e.value.userOptions.buttons.img,
367
367
  hasFullscreen: e.value.userOptions.buttons.fullscreen,
368
- isFullscreen: N.value,
368
+ isFullscreen: P.value,
369
369
  titles: { ...e.value.userOptions.buttonTitles },
370
370
  chartElement: Y.value,
371
371
  position: e.value.userOptions.position,
@@ -381,35 +381,35 @@ const nt = ["id"], it = { key: 0 }, ct = ["xmlns", "viewBox"], vt = ["width", "h
381
381
  }, Ue({ _: 2 }, [
382
382
  t.$slots.menuIcon ? {
383
383
  name: "menuIcon",
384
- fn: P(({ isOpen: a, color: r }) => [
384
+ fn: N(({ isOpen: a, color: r }) => [
385
385
  x(t.$slots, "menuIcon", E(U({ isOpen: a, color: r })), void 0, !0)
386
386
  ]),
387
387
  key: "0"
388
388
  } : void 0,
389
389
  t.$slots.optionPdf ? {
390
390
  name: "optionPdf",
391
- fn: P(() => [
391
+ fn: N(() => [
392
392
  x(t.$slots, "optionPdf", {}, void 0, !0)
393
393
  ]),
394
394
  key: "1"
395
395
  } : void 0,
396
396
  t.$slots.optionImg ? {
397
397
  name: "optionImg",
398
- fn: P(() => [
398
+ fn: N(() => [
399
399
  x(t.$slots, "optionImg", {}, void 0, !0)
400
400
  ]),
401
401
  key: "2"
402
402
  } : void 0,
403
403
  t.$slots.optionFullscreen ? {
404
404
  name: "optionFullscreen",
405
- fn: P(({ toggleFullscreen: a, isFullscreen: r }) => [
405
+ fn: N(({ toggleFullscreen: a, isFullscreen: r }) => [
406
406
  x(t.$slots, "optionFullscreen", E(U({ toggleFullscreen: a, isFullscreen: r })), void 0, !0)
407
407
  ]),
408
408
  key: "3"
409
409
  } : void 0,
410
410
  t.$slots.optionAnnotator ? {
411
411
  name: "optionAnnotator",
412
- fn: P(({ toggleAnnotator: a, isAnnotator: r }) => [
412
+ fn: N(({ toggleAnnotator: a, isAnnotator: r }) => [
413
413
  x(t.$slots, "optionAnnotator", E(U({ toggleAnnotator: a, isAnnotator: r })), void 0, !0)
414
414
  ]),
415
415
  key: "4"
@@ -420,7 +420,7 @@ const nt = ["id"], it = { key: 0 }, ct = ["xmlns", "viewBox"], vt = ["width", "h
420
420
  ref_key: "svgRef",
421
421
  ref: oe,
422
422
  xmlns: i(He),
423
- class: ge({ "vue-data-ui-fullscreen--on": N.value, "vue-data-ui-fulscreen--off": !N.value }),
423
+ class: ge({ "vue-data-ui-fullscreen--on": P.value, "vue-data-ui-fulscreen--off": !P.value }),
424
424
  viewBox: `0 0 ${l.value.width <= 0 ? 10 : l.value.width} ${l.value.height <= 0 ? 10 : l.value.height}`,
425
425
  style: B(`max-width:100%;overflow:hidden !important;background:transparent;color:${e.value.style.chart.color}`)
426
426
  }, [
@@ -495,7 +495,7 @@ const nt = ["id"], it = { key: 0 }, ct = ["xmlns", "viewBox"], vt = ["width", "h
495
495
  }, null, 8, bt))), 128)) : c("", !0),
496
496
  e.value.style.chart.layout.indicatorArc.show ? (s(), u("path", {
497
497
  key: 3,
498
- d: Ne.value,
498
+ d: Pe.value,
499
499
  fill: e.value.style.chart.layout.indicatorArc.fill
500
500
  }, null, 8, _t)) : c("", !0),
501
501
  e.value.style.chart.layout.segmentNames.show && e.value.style.chart.layout.segmentNames.curved ? (s(), u(g, { key: 4 }, [
@@ -524,7 +524,7 @@ const nt = ["id"], it = { key: 0 }, ct = ["xmlns", "viewBox"], vt = ["width", "h
524
524
  "font-size": l.value.segmentFontSize,
525
525
  "font-weight": e.value.style.chart.layout.segmentNames.bold ? "bold" : "normal"
526
526
  }, O(a.name || ""), 9, $t))), 256)) : c("", !0),
527
- e.value.style.chart.layout.track.useGradient ? (s(!0), u(g, { key: 6 }, S(Pe.value, (a, r) => (s(), u("path", {
527
+ e.value.style.chart.layout.track.useGradient ? (s(!0), u(g, { key: 6 }, S(Ne.value, (a, r) => (s(), u("path", {
528
528
  key: `arc_${r}`,
529
529
  d: a.arcSlice,
530
530
  fill: "#FFFFFF",
@@ -554,7 +554,7 @@ const nt = ["id"], it = { key: 0 }, ct = ["xmlns", "viewBox"], vt = ["width", "h
554
554
  "stroke-linecap": "round"
555
555
  }), null, 16, Mt))), 256))
556
556
  ], 64)) : c("", !0),
557
- e.value.style.chart.layout.markers.show ? (s(), u("g", Pt, [
557
+ e.value.style.chart.layout.markers.show ? (s(), u("g", Nt, [
558
558
  (s(!0), u(g, null, S(h.value, (a, r) => (s(), u("text", {
559
559
  x: i(z)({
560
560
  centerX: n.value.x1,
@@ -583,7 +583,7 @@ const nt = ["id"], it = { key: 0 }, ct = ["xmlns", "viewBox"], vt = ["width", "h
583
583
  s: e.value.style.chart.layout.markers.suffix,
584
584
  r: e.value.style.chart.layout.markers.roundingValue
585
585
  })
586
- )), 9, Nt))), 256))
586
+ )), 9, Pt))), 256))
587
587
  ])) : c("", !0),
588
588
  e.value.style.chart.layout.markers.show ? (s(), u("text", {
589
589
  key: 9,