vue-data-ui 2.4.50 → 2.4.51

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 (199) hide show
  1. package/README.md +12 -0
  2. package/dist/{Arrow-DuuEh1Nr.cjs → Arrow-2a_SwBgz.cjs} +1 -1
  3. package/dist/{Arrow-D1z9KkQN.js → Arrow-BUz63pb2.js} +1 -1
  4. package/dist/{BaseIcon-DemqZ_13.cjs → BaseIcon-BASl_NFX.cjs} +1 -1
  5. package/dist/{BaseIcon-BHwqOTt4.js → BaseIcon-CmiukQBl.js} +1 -1
  6. package/dist/{DataTable-CQ8fQnex.js → DataTable-DGf6RrOJ.js} +2 -2
  7. package/dist/{DataTable-CovKV5Yy.cjs → DataTable-G3ICK-5h.cjs} +1 -1
  8. package/dist/{Legend-Br7MWNDo.js → Legend-BLaZxMge.js} +1 -1
  9. package/dist/{Legend-Bbz-hKDf.cjs → Legend-BiuPlEMg.cjs} +1 -1
  10. package/dist/{PackageVersion-BEtuCME5.cjs → PackageVersion-Bj34UNnQ.cjs} +1 -1
  11. package/dist/{PackageVersion-BV3fHO46.js → PackageVersion-CxJghxYD.js} +1 -1
  12. package/dist/{PenAndPaper-BIcmfBvD.cjs → PenAndPaper-D9yQnc0e.cjs} +1 -1
  13. package/dist/{PenAndPaper-CCOywdmm.js → PenAndPaper-ZdZEumki.js} +3 -3
  14. package/dist/{Shape-B7Mekpyf.js → Shape-DIKzzpFm.js} +1 -1
  15. package/dist/{Shape-BD37ZaX9.cjs → Shape-yducHWd0.cjs} +1 -1
  16. package/dist/{Slicer-CWvkt-8k.cjs → Slicer-BHS9W4MJ.cjs} +1 -1
  17. package/dist/{Slicer-ahFReg7h.js → Slicer-Cxdl3cDt.js} +2 -2
  18. package/dist/{Title-C2siG5N2.cjs → Title-Bk_55doC.cjs} +1 -1
  19. package/dist/{Title-CIsKiWgN.js → Title-aSAft5dl.js} +1 -1
  20. package/dist/{Tooltip-CS4C58T7.cjs → Tooltip-G7ENx87_.cjs} +1 -1
  21. package/dist/{Tooltip-B1LgrF9R.js → Tooltip-smutPF--.js} +1 -1
  22. package/dist/{index-BtL_cLa8.js → index-BbPeL8Gp.js} +5 -1
  23. package/dist/index-DhDYBLBe.cjs +9 -0
  24. package/dist/style.css +1 -1
  25. package/dist/types/vue-data-ui.d.cts +5 -1
  26. package/dist/types/vue-data-ui.d.ts +5 -1
  27. package/dist/{useNestedProp-CEAfm1tu.js → useNestedProp-BN8claGG.js} +1 -1
  28. package/dist/{useNestedProp-D_feh7A_.cjs → useNestedProp-BphUExEh.cjs} +1 -1
  29. package/dist/{usePrinter-B4xDG31F.cjs → usePrinter-2_QjJFdH.cjs} +1 -1
  30. package/dist/{usePrinter-sRt2SKr2.js → usePrinter-DaybDVqP.js} +1 -1
  31. package/dist/useUserOptionState-BIvW1Kz7.js +17 -0
  32. package/dist/useUserOptionState-BgepsfED.cjs +1 -0
  33. package/dist/{vue-data-ui-CuEYAddV.cjs → vue-data-ui-C5vsHRHD.cjs} +1 -1
  34. package/dist/{vue-data-ui-NkhaiK6y.js → vue-data-ui-Ckbp-yIf.js} +60 -60
  35. package/dist/vue-data-ui.cjs +1 -1
  36. package/dist/vue-data-ui.js +1 -1
  37. package/dist/vue-ui-3d-bar-DUgumRsg.cjs +19 -0
  38. package/dist/{vue-ui-3d-bar-BeXYzdzu.js → vue-ui-3d-bar-wDYs3sVe.js} +345 -339
  39. package/dist/{vue-ui-accordion-Cjc683tN.js → vue-ui-accordion-5d5iVpr7.js} +3 -3
  40. package/dist/{vue-ui-accordion-CBxsUoGb.cjs → vue-ui-accordion-B7tNzRWB.cjs} +1 -1
  41. package/dist/{vue-ui-age-pyramid-rnt8M-Qz.js → vue-ui-age-pyramid-BH1khaaq.js} +260 -254
  42. package/dist/vue-ui-age-pyramid-Dxx1mVwR.cjs +1 -0
  43. package/dist/{vue-ui-annotator-CFU5Zyfk.js → vue-ui-annotator-B9VKE_qz.js} +1 -1
  44. package/dist/{vue-ui-annotator-Yu-mHS2N.cjs → vue-ui-annotator-jXkB5XnD.cjs} +1 -1
  45. package/dist/{vue-ui-bullet-CRbW1ON6.js → vue-ui-bullet-BLi9CSZw.js} +152 -146
  46. package/dist/vue-ui-bullet-QrXtipbT.cjs +34 -0
  47. package/dist/{vue-ui-candlestick-D-ERLtI1.js → vue-ui-candlestick-Bjz1uFbv.js} +223 -217
  48. package/dist/vue-ui-candlestick-Da4ygGXR.cjs +2 -0
  49. package/dist/{vue-ui-carousel-table-I1m4HMWf.js → vue-ui-carousel-table-B6zgTL-W.js} +160 -154
  50. package/dist/vue-ui-carousel-table-Cfif8Oiz.cjs +1 -0
  51. package/dist/vue-ui-chestnut-C_N7EbjQ.cjs +6 -0
  52. package/dist/{vue-ui-chestnut-CqJRKECX.js → vue-ui-chestnut-D5HpkuIa.js} +237 -231
  53. package/dist/{vue-ui-cursor-S83QIsxQ.cjs → vue-ui-cursor-A_siHYBc.cjs} +1 -1
  54. package/dist/{vue-ui-cursor-jrrdh8Lf.js → vue-ui-cursor-DZNIbvR2.js} +2 -2
  55. package/dist/{vue-ui-dashboard-DW1mIInG.cjs → vue-ui-dashboard-BfPJyiY9.cjs} +1 -1
  56. package/dist/{vue-ui-dashboard-DR_Bhwa3.js → vue-ui-dashboard-DCqe4BZg.js} +2 -2
  57. package/dist/{vue-ui-digits-1jZdiwHJ.js → vue-ui-digits-BEWCnojc.js} +2 -2
  58. package/dist/{vue-ui-digits-s5f9eFtW.cjs → vue-ui-digits-BEhLa3jI.cjs} +1 -1
  59. package/dist/vue-ui-donut-By3QRfkV.cjs +1 -0
  60. package/dist/{vue-ui-donut-evolution-DsHTZ9T2.js → vue-ui-donut-evolution-Cu6dmlT2.js} +300 -294
  61. package/dist/vue-ui-donut-evolution-DEABWsj0.cjs +1 -0
  62. package/dist/{vue-ui-donut-BAYiPsxp.js → vue-ui-donut-g5ZLhYPx.js} +376 -370
  63. package/dist/vue-ui-dumbbell-Dfb1l5qP.cjs +9 -0
  64. package/dist/{vue-ui-dumbbell-DcMmBxLy.js → vue-ui-dumbbell-bb4-Ep6o.js} +256 -250
  65. package/dist/vue-ui-flow-CCvTnu7z.cjs +1 -0
  66. package/dist/{vue-ui-flow-BTXEmIQG.js → vue-ui-flow-hD0F6mTK.js} +164 -158
  67. package/dist/vue-ui-funnel-DKxAPRi_.cjs +1 -0
  68. package/dist/{vue-ui-funnel-BB_h0FKg.js → vue-ui-funnel-hcbE4yky.js} +178 -172
  69. package/dist/{vue-ui-galaxy-DlBk1FUz.js → vue-ui-galaxy-ByKjxVWV.js} +187 -181
  70. package/dist/vue-ui-galaxy-D2kmqwpI.cjs +1 -0
  71. package/dist/vue-ui-gauge-BFA_unjg.cjs +1 -0
  72. package/dist/{vue-ui-gauge-1SFhSMfU.js → vue-ui-gauge-PGirbe6O.js} +220 -214
  73. package/dist/{vue-ui-gizmo-C8rLR4n5.cjs → vue-ui-gizmo-CHMApil6.cjs} +1 -1
  74. package/dist/{vue-ui-gizmo-CtX6KFN2.js → vue-ui-gizmo-ChSfBYZ_.js} +3 -3
  75. package/dist/vue-ui-heatmap-C0VxwPhr.cjs +1 -0
  76. package/dist/{vue-ui-heatmap-BzyvTePn.js → vue-ui-heatmap-CK3FIWpo.js} +270 -264
  77. package/dist/vue-ui-history-plot-BmGodgUx.cjs +1 -0
  78. package/dist/{vue-ui-history-plot-BEoHuZ3N.js → vue-ui-history-plot-EmQ-Byiz.js} +236 -230
  79. package/dist/{vue-ui-kpi-LO4KKRR9.cjs → vue-ui-kpi-BdungaO2.cjs} +1 -1
  80. package/dist/{vue-ui-kpi-BYOyJjYg.js → vue-ui-kpi-DjC68pSz.js} +3 -3
  81. package/dist/{vue-ui-mini-loader-ChHdx5me.js → vue-ui-mini-loader-CzrblCCD.js} +2 -2
  82. package/dist/{vue-ui-mini-loader-wlUD77O6.cjs → vue-ui-mini-loader-jwL_pZjb.cjs} +1 -1
  83. package/dist/{vue-ui-molecule-Bo7XYpf-.js → vue-ui-molecule-DBQJQs4Y.js} +294 -289
  84. package/dist/vue-ui-molecule-Dzh-0SWI.cjs +1 -0
  85. package/dist/{vue-ui-mood-radar-DXj4Ce6l.js → vue-ui-mood-radar-Ca9wPZpJ.js} +205 -199
  86. package/dist/vue-ui-mood-radar-DV6ZZIXF.cjs +1 -0
  87. package/dist/{vue-ui-nested-donuts-BBLpNVwF.js → vue-ui-nested-donuts-C8at93dN.js} +286 -280
  88. package/dist/vue-ui-nested-donuts-DEdS6dpj.cjs +17 -0
  89. package/dist/{vue-ui-onion-DC8VIInA.js → vue-ui-onion-B-PXxNu6.js} +198 -192
  90. package/dist/vue-ui-onion-B2ioudP5.cjs +5 -0
  91. package/dist/{vue-ui-parallel-coordinate-plot-Cl1wiHsK.js → vue-ui-parallel-coordinate-plot-ByM3So9k.js} +236 -230
  92. package/dist/vue-ui-parallel-coordinate-plot-DtJi9cT0.cjs +8 -0
  93. package/dist/{vue-ui-quadrant-b5cuEH9z.js → vue-ui-quadrant-BqOJBcsI.js} +255 -249
  94. package/dist/vue-ui-quadrant-CIr4i6cC.cjs +1 -0
  95. package/dist/{vue-ui-quick-chart-CFBPYw2J.js → vue-ui-quick-chart-BfXxT3KM.js} +474 -466
  96. package/dist/vue-ui-quick-chart-Bt9KA82P.cjs +15 -0
  97. package/dist/{vue-ui-radar-DP8360kx.js → vue-ui-radar-BKpD9xDr.js} +256 -250
  98. package/dist/vue-ui-radar-Czmsd_uv.cjs +1 -0
  99. package/dist/{vue-ui-rating-D7b-kfyp.cjs → vue-ui-rating-BE545aI4.cjs} +1 -1
  100. package/dist/{vue-ui-rating-DIthBSp_.js → vue-ui-rating-DQRuqev5.js} +2 -2
  101. package/dist/vue-ui-relation-circle-B1uMTqFP.cjs +1 -0
  102. package/dist/vue-ui-relation-circle-nZ2nBpWX.js +498 -0
  103. package/dist/vue-ui-rings-B7JzZ3ub.cjs +2 -0
  104. package/dist/{vue-ui-rings-y9Zx-DaI.js → vue-ui-rings-C1PV0873.js} +177 -172
  105. package/dist/vue-ui-scatter-CTI943ks.cjs +1 -0
  106. package/dist/{vue-ui-scatter-Cbu5GDc1.js → vue-ui-scatter-dgs1m3-2.js} +310 -304
  107. package/dist/{vue-ui-screenshot-oH-YnZBE.cjs → vue-ui-screenshot--cHV0jG3.cjs} +1 -1
  108. package/dist/{vue-ui-screenshot-BZh_sgjP.js → vue-ui-screenshot-Dxj0l8Jg.js} +1 -1
  109. package/dist/{vue-ui-skeleton-DjFU2X3P.js → vue-ui-skeleton-Bniq21d9.js} +3 -3
  110. package/dist/{vue-ui-skeleton-Nuju6X7l.cjs → vue-ui-skeleton-lkPDknHn.cjs} +1 -1
  111. package/dist/{vue-ui-smiley-DtQVEc4B.cjs → vue-ui-smiley-CozXoiti.cjs} +1 -1
  112. package/dist/{vue-ui-smiley-DdnzzEYS.js → vue-ui-smiley-D4DAZIpA.js} +2 -2
  113. package/dist/{vue-ui-spark-trend-B36zW41F.cjs → vue-ui-spark-trend-CSqyvI_K.cjs} +1 -1
  114. package/dist/{vue-ui-spark-trend-CaIGk_53.js → vue-ui-spark-trend-ZqrwhwqS.js} +5 -5
  115. package/dist/{vue-ui-sparkbar-iQKGtxo8.cjs → vue-ui-sparkbar-Bph8KIjk.cjs} +1 -1
  116. package/dist/{vue-ui-sparkbar-DixeozKp.js → vue-ui-sparkbar-q0G4GvFm.js} +4 -4
  117. package/dist/{vue-ui-sparkgauge-C01VB6KP.js → vue-ui-sparkgauge-DA_h9jcN.js} +4 -4
  118. package/dist/{vue-ui-sparkgauge-DEvgucF7.cjs → vue-ui-sparkgauge-nSAW83dN.cjs} +1 -1
  119. package/dist/{vue-ui-sparkhistogram-C_6lHF3O.js → vue-ui-sparkhistogram-B1WyBiq_.js} +5 -5
  120. package/dist/{vue-ui-sparkhistogram-CTUuxOma.cjs → vue-ui-sparkhistogram-BLYhRNpt.cjs} +1 -1
  121. package/dist/{vue-ui-sparkline-DrZWPGOG.cjs → vue-ui-sparkline-PNix1-R9.cjs} +1 -1
  122. package/dist/{vue-ui-sparkline-Btm4HVgi.js → vue-ui-sparkline-ccfl0s3m.js} +4 -4
  123. package/dist/{vue-ui-sparkstackbar-7pcfCNMr.cjs → vue-ui-sparkstackbar-DpuvEumy.cjs} +1 -1
  124. package/dist/{vue-ui-sparkstackbar-D0UGUm-1.js → vue-ui-sparkstackbar-PNKwVRu8.js} +5 -5
  125. package/dist/{vue-ui-stackbar-BPMDmY04.js → vue-ui-stackbar-BBYnF8qm.js} +367 -361
  126. package/dist/vue-ui-stackbar-D4AIFoQT.cjs +6 -0
  127. package/dist/vue-ui-strip-plot-ClNxSw9M.cjs +1 -0
  128. package/dist/{vue-ui-strip-plot-BfWQMGXy.js → vue-ui-strip-plot-TVlnzXFq.js} +269 -263
  129. package/dist/{vue-ui-table-Cdo265Yt.cjs → vue-ui-table-CHdv3KuM.cjs} +1 -1
  130. package/dist/{vue-ui-table-D8GaLhM9.js → vue-ui-table-CsEajH9S.js} +1 -1
  131. package/dist/vue-ui-table-heatmap-BE3UT8U9.cjs +1 -0
  132. package/dist/vue-ui-table-heatmap-CubRipoB.js +262 -0
  133. package/dist/vue-ui-table-sparkline-BeYviUrb.cjs +1 -0
  134. package/dist/{vue-ui-table-sparkline-DMHf03C9.js → vue-ui-table-sparkline-YV8DUOqh.js} +173 -167
  135. package/dist/vue-ui-thermometer-C6lMWRiF.cjs +1 -0
  136. package/dist/{vue-ui-thermometer-BCVqil7E.js → vue-ui-thermometer-DmMjSLc1.js} +170 -164
  137. package/dist/{vue-ui-timer-gxiLCP1n.cjs → vue-ui-timer-DteYgv9y.cjs} +1 -1
  138. package/dist/{vue-ui-timer-DF5HkeeS.js → vue-ui-timer-DvE_nqd9.js} +5 -5
  139. package/dist/vue-ui-tiremarks-CCrkDgjX.js +323 -0
  140. package/dist/vue-ui-tiremarks-PGGgsNgS.cjs +1 -0
  141. package/dist/vue-ui-treemap-BzRVKqXL.cjs +1 -0
  142. package/dist/{vue-ui-treemap-CIZaPmbi.js → vue-ui-treemap-C4A4spvg.js} +243 -237
  143. package/dist/{vue-ui-vertical-bar-dQoTddqU.js → vue-ui-vertical-bar-8iL1xiaz.js} +238 -232
  144. package/dist/vue-ui-vertical-bar-B60lSXNq.cjs +4 -0
  145. package/dist/{vue-ui-waffle-CnvWOEVU.js → vue-ui-waffle-CaYNz-Kd.js} +316 -310
  146. package/dist/vue-ui-waffle-O8pAEf4X.cjs +1 -0
  147. package/dist/vue-ui-wheel-BRR2rGou.js +305 -0
  148. package/dist/vue-ui-wheel-CnFdB_B1.cjs +1 -0
  149. package/dist/vue-ui-word-cloud-X4mp280j.cjs +1 -0
  150. package/dist/{vue-ui-word-cloud-o3zU6r0-.js → vue-ui-word-cloud-y2GGxwoq.js} +246 -240
  151. package/dist/{vue-ui-xy-GR4PGBDy.js → vue-ui-xy-CXoWP8bh.js} +708 -697
  152. package/dist/vue-ui-xy-CbM75yXK.cjs +3 -0
  153. package/dist/{vue-ui-xy-canvas-BKGOnjut.js → vue-ui-xy-canvas-D7MrUJj7.js} +334 -328
  154. package/dist/vue-ui-xy-canvas-DWvIvSry.cjs +9 -0
  155. package/package.json +1 -1
  156. package/dist/index-DoD-GxZR.cjs +0 -9
  157. package/dist/vue-ui-3d-bar-RduHvzwG.cjs +0 -19
  158. package/dist/vue-ui-age-pyramid-DVtbyRJw.cjs +0 -1
  159. package/dist/vue-ui-bullet-Be5aYhtp.cjs +0 -34
  160. package/dist/vue-ui-candlestick-B6wSs-JC.cjs +0 -2
  161. package/dist/vue-ui-carousel-table-7reErH8M.cjs +0 -1
  162. package/dist/vue-ui-chestnut-D-WzX16q.cjs +0 -6
  163. package/dist/vue-ui-donut-Ce1SaXNu.cjs +0 -1
  164. package/dist/vue-ui-donut-evolution-DI8yeIa4.cjs +0 -1
  165. package/dist/vue-ui-dumbbell-CFJkwtM8.cjs +0 -9
  166. package/dist/vue-ui-flow-B4MtorhO.cjs +0 -1
  167. package/dist/vue-ui-funnel-DNL12vLQ.cjs +0 -1
  168. package/dist/vue-ui-galaxy-CmCZGOKz.cjs +0 -1
  169. package/dist/vue-ui-gauge-B7ieQMud.cjs +0 -1
  170. package/dist/vue-ui-heatmap-Bfi3KJwS.cjs +0 -1
  171. package/dist/vue-ui-history-plot-5kZ54hgy.cjs +0 -1
  172. package/dist/vue-ui-molecule-D-4cRS5w.cjs +0 -1
  173. package/dist/vue-ui-mood-radar-C3x_LH7Q.cjs +0 -1
  174. package/dist/vue-ui-nested-donuts-DrL7-SUd.cjs +0 -17
  175. package/dist/vue-ui-onion-8Vz3lPbn.cjs +0 -5
  176. package/dist/vue-ui-parallel-coordinate-plot-D6q4WQ0B.cjs +0 -8
  177. package/dist/vue-ui-quadrant-DBZS5jFQ.cjs +0 -1
  178. package/dist/vue-ui-quick-chart-Cno_1mzu.cjs +0 -15
  179. package/dist/vue-ui-radar-ChcBO21S.cjs +0 -1
  180. package/dist/vue-ui-relation-circle-C5pO0iHY.cjs +0 -1
  181. package/dist/vue-ui-relation-circle-D2iwmChn.js +0 -492
  182. package/dist/vue-ui-rings-C_NLJYs8.cjs +0 -2
  183. package/dist/vue-ui-scatter-BNeMGDNk.cjs +0 -1
  184. package/dist/vue-ui-stackbar-BwRdmPvB.cjs +0 -6
  185. package/dist/vue-ui-strip-plot-CLN9LikJ.cjs +0 -1
  186. package/dist/vue-ui-table-heatmap-C4DRSfsE.js +0 -256
  187. package/dist/vue-ui-table-heatmap-CDAf1IIk.cjs +0 -1
  188. package/dist/vue-ui-table-sparkline-Cw7NOiYx.cjs +0 -1
  189. package/dist/vue-ui-thermometer-7BORZJjd.cjs +0 -1
  190. package/dist/vue-ui-tiremarks-CwGnFx4f.cjs +0 -1
  191. package/dist/vue-ui-tiremarks-lidhcJsi.js +0 -317
  192. package/dist/vue-ui-treemap-BZ_LmiBK.cjs +0 -1
  193. package/dist/vue-ui-vertical-bar-venrkqjM.cjs +0 -4
  194. package/dist/vue-ui-waffle-oR54BbIg.cjs +0 -1
  195. package/dist/vue-ui-wheel-BUHZEzPr.cjs +0 -1
  196. package/dist/vue-ui-wheel-D3itrMku.js +0 -299
  197. package/dist/vue-ui-word-cloud-87gwksmM.cjs +0 -1
  198. package/dist/vue-ui-xy-D56pm4L0.cjs +0 -3
  199. package/dist/vue-ui-xy-canvas-uikeVe72.cjs +0 -9
@@ -1,21 +1,22 @@
1
- import { computed as d, ref as s, watch as ye, onMounted as ze, onBeforeUnmount as Ye, openBlock as n, createElementBlock as u, normalizeClass as V, normalizeStyle as q, createBlock as C, createCommentVNode as g, unref as v, createSlots as Be, withCtx as h, renderSlot as f, normalizeProps as S, guardReactiveProps as F, createVNode as me, Fragment as M, renderList as N, createElementVNode as O, toDisplayString as P, createTextVNode as Ve, nextTick as Xe } from "vue";
2
- import { u as Ge, c as Ue, t as Ee, a as He, p as be, b as We, o as je, e as J, d as qe, X as Je, f as R, i as K, x as ke, q as Ke, r as Qe, y as Ze } from "./index-BtL_cLa8.js";
3
- import { t as et, u as tt } from "./useResponsive-CoxXLe23.js";
4
- import { _ as at } from "./Title-CIsKiWgN.js";
5
- import { u as lt, U as ot } from "./usePrinter-sRt2SKr2.js";
6
- import { L as rt } from "./Legend-Br7MWNDo.js";
7
- import { D as nt } from "./DataTable-CQ8fQnex.js";
8
- import { _ as st } from "./Tooltip-B1LgrF9R.js";
9
- import ut from "./vue-ui-skeleton-DjFU2X3P.js";
10
- import it from "./vue-ui-accordion-Cjc683tN.js";
11
- import { u as $e } from "./useNestedProp-CEAfm1tu.js";
12
- import { _ as ct } from "./PackageVersion-BV3fHO46.js";
13
- import { P as dt } from "./PenAndPaper-CCOywdmm.js";
14
- import { _ as vt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
15
- const ht = ["id"], ft = ["xmlns", "viewBox"], gt = ["cx", "cy", "r", "stroke", "stroke-width", "stroke-dasharray", "stroke-dashoffset"], pt = ["cx", "cy", "r", "stroke", "stroke-width", "stroke-dasharray", "stroke-dashoffset"], yt = ["id"], mt = ["stdDeviation"], bt = ["filter"], kt = ["cx", "cy", "r", "stroke-width", "stroke-dasharray", "stroke-dashoffset"], $t = ["cx", "cy", "r", "stroke-width", "stroke-dasharray", "stroke-dashoffset", "onMouseenter"], wt = { key: 1 }, Ct = ["onMouseenter"], xt = ["x", "y", "font-size", "fill", "font-weight"], Tt = {
1
+ import { computed as v, ref as s, watch as ke, onMounted as Be, onBeforeUnmount as Ue, openBlock as n, createElementBlock as u, normalizeClass as B, normalizeStyle as U, unref as i, createBlock as C, createCommentVNode as p, createSlots as Xe, withCtx as h, renderSlot as f, normalizeProps as S, guardReactiveProps as M, createVNode as $e, Fragment as F, renderList as N, createElementVNode as O, toDisplayString as P, createTextVNode as Ge, nextTick as Ee } from "vue";
2
+ import { u as He, c as We, t as je, a as qe, p as we, b as Je, o as Ke, e as J, d as Qe, X as Ze, f as R, i as K, x as Ce, q as et, r as tt, y as at } from "./index-BbPeL8Gp.js";
3
+ import { t as lt, u as ot } from "./useResponsive-CoxXLe23.js";
4
+ import { _ as rt } from "./Title-aSAft5dl.js";
5
+ import { u as nt, U as st } from "./usePrinter-DaybDVqP.js";
6
+ import { L as ut } from "./Legend-BLaZxMge.js";
7
+ import { D as it } from "./DataTable-DGf6RrOJ.js";
8
+ import { _ as ct } from "./Tooltip-smutPF--.js";
9
+ import dt from "./vue-ui-skeleton-Bniq21d9.js";
10
+ import vt from "./vue-ui-accordion-5d5iVpr7.js";
11
+ import { u as xe } from "./useNestedProp-BN8claGG.js";
12
+ import { _ as ht } from "./PackageVersion-CxJghxYD.js";
13
+ import { P as ft } from "./PenAndPaper-ZdZEumki.js";
14
+ import { u as pt } from "./useUserOptionState-BIvW1Kz7.js";
15
+ import { _ as gt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
16
+ const yt = ["id"], mt = ["xmlns", "viewBox"], bt = ["cx", "cy", "r", "stroke", "stroke-width", "stroke-dasharray", "stroke-dashoffset"], kt = ["cx", "cy", "r", "stroke", "stroke-width", "stroke-dasharray", "stroke-dashoffset"], $t = ["id"], wt = ["stdDeviation"], Ct = ["filter"], xt = ["cx", "cy", "r", "stroke-width", "stroke-dasharray", "stroke-dashoffset"], Tt = ["cx", "cy", "r", "stroke-width", "stroke-dasharray", "stroke-dashoffset", "onMouseenter"], _t = { key: 1 }, Ot = ["onMouseenter"], Pt = ["x", "y", "font-size", "fill", "font-weight"], At = {
16
17
  key: 5,
17
18
  class: "vue-data-ui-watermark"
18
- }, _t = ["onClick"], Ot = ["innerHTML"], Pt = {
19
+ }, It = ["onClick"], St = ["innerHTML"], Mt = {
19
20
  __name: "vue-ui-onion",
20
21
  props: {
21
22
  config: {
@@ -32,31 +33,31 @@ const ht = ["id"], ft = ["xmlns", "viewBox"], gt = ["cx", "cy", "r", "stroke", "
32
33
  }
33
34
  },
34
35
  emits: ["selectLegend"],
35
- setup(we, { expose: Ce, emit: xe }) {
36
- const k = we, { vue_ui_onion: Te } = Ge(), D = d(() => !!k.dataset && k.dataset.length), x = s(Ue()), _e = s(null), Q = s(0), L = s(!1), X = s(""), y = s([]), T = s(null), Z = s(null), ee = s(null), te = s(null), ae = s(null), le = s(0), oe = s(0), re = s(0), e = d({
37
- get: () => ne(),
36
+ setup(Te, { expose: _e, emit: Oe }) {
37
+ const k = Te, { vue_ui_onion: Pe } = He(), D = v(() => !!k.dataset && k.dataset.length), x = s(We()), Ae = s(null), Q = s(0), L = s(!1), X = s(""), y = s([]), T = s(null), Z = s(null), ee = s(null), te = s(null), ae = s(null), le = s(0), oe = s(0), re = s(0), e = v({
38
+ get: () => ie(),
38
39
  set: (t) => t
39
- });
40
- function ne() {
41
- const t = $e({
40
+ }), { userOptionsVisible: ne, setUserOptionsVisibility: se, keepUserOptionState: ue } = pt({ config: e.value });
41
+ function ie() {
42
+ const t = xe({
42
43
  userConfig: k.config,
43
- defaultConfig: Te
44
+ defaultConfig: Pe
44
45
  });
45
46
  return t.theme ? {
46
- ...$e({
47
- userConfig: Ee.vue_ui_onion[t.theme] || k.config,
47
+ ...xe({
48
+ userConfig: je.vue_ui_onion[t.theme] || k.config,
48
49
  defaultConfig: t
49
50
  }),
50
- customPalette: He[t.theme] || be
51
+ customPalette: qe[t.theme] || we
51
52
  } : t;
52
53
  }
53
- ye(() => k.config, (t) => {
54
- e.value = ne(), de(), le.value += 1, oe.value += 1, re.value += 1;
54
+ ke(() => k.config, (t) => {
55
+ e.value = ie(), fe(), le.value += 1, oe.value += 1, re.value += 1;
55
56
  }, { deep: !0 });
56
- const { isPrinting: se, isImaging: ue, generatePdf: ie, generateImage: ce } = lt({
57
+ const { isPrinting: ce, isImaging: de, generatePdf: ve, generateImage: he } = nt({
57
58
  elementId: `vue-ui-onion_${x.value}`,
58
59
  fileName: e.value.style.chart.title.text || "vue-ui-onion"
59
- }), Oe = d(() => e.value.userOptions.show && !e.value.style.chart.title.text), Pe = d(() => We(e.value.customPalette)), $ = s({
60
+ }), Ie = v(() => e.value.userOptions.show && !e.value.style.chart.title.text), Se = v(() => Je(e.value.customPalette)), $ = s({
60
61
  showTable: e.value.table.show,
61
62
  showTooltip: e.value.style.chart.tooltip.show
62
63
  }), r = s({
@@ -69,17 +70,17 @@ const ht = ["id"], ft = ["xmlns", "viewBox"], gt = ["cx", "cy", "r", "stroke", "
69
70
  bottom: 64
70
71
  },
71
72
  minRadius: 64
72
- }), z = s(null);
73
- ze(() => {
74
- de();
73
+ }), V = s(null);
74
+ Be(() => {
75
+ fe();
75
76
  });
76
- function de() {
77
- if (je(k.dataset) && J({
77
+ function fe() {
78
+ if (Ke(k.dataset) && J({
78
79
  componentName: "VueUiOnion",
79
80
  type: "dataset"
80
81
  }), e.value.responsive) {
81
- const o = et(() => {
82
- const { width: a, height: l } = tt({
82
+ const o = lt(() => {
83
+ const { width: a, height: l } = ot({
83
84
  chart: T.value,
84
85
  title: e.value.style.chart.title.text ? Z.value : null,
85
86
  legend: e.value.style.chart.legend.show ? ee.value : null,
@@ -88,13 +89,13 @@ const ht = ["id"], ft = ["xmlns", "viewBox"], gt = ["cx", "cy", "r", "stroke", "
88
89
  });
89
90
  r.value.width = a, r.value.height = l, r.value.padding.top = Math.max(a, l) * 0.125, r.value.padding.right = Math.max(a, l) * 0.125, r.value.padding.bottom = Math.max(a, l) * 0.125, r.value.padding.left = Math.max(a, l) * 0.125, r.value.minRadius = Math.min(a, l) * 0.125;
90
91
  });
91
- z.value = new ResizeObserver(o), z.value.observe(T.value.parentNode);
92
+ V.value = new ResizeObserver(o), V.value.observe(T.value.parentNode);
92
93
  }
93
94
  }
94
- Ye(() => {
95
- z.value && z.value.disconnect();
95
+ Ue(() => {
96
+ V.value && V.value.disconnect();
96
97
  });
97
- const i = d(() => ({
98
+ const c = v(() => ({
98
99
  top: r.value.padding.top,
99
100
  left: r.value.padding.left,
100
101
  right: r.value.width - r.value.padding.right,
@@ -105,7 +106,7 @@ const ht = ["id"], ft = ["xmlns", "viewBox"], gt = ["cx", "cy", "r", "stroke", "
105
106
  height: r.value.height - r.value.padding.bottom - r.value.padding.top,
106
107
  minRadius: r.value.minRadius,
107
108
  maxRadius: Math.min(r.value.width, r.value.height) - r.value.padding.top * 2
108
- })), c = d(() => (k.dataset.forEach((t, o) => {
109
+ })), d = v(() => (k.dataset.forEach((t, o) => {
109
110
  [null, void 0].includes(t.name) && J({
110
111
  componentName: "VueUiOnion",
111
112
  type: "datasetSerieAttribute",
@@ -123,86 +124,86 @@ const ht = ["id"], ft = ["xmlns", "viewBox"], gt = ["cx", "cy", "r", "stroke", "
123
124
  ...t,
124
125
  percentage: t.percentage || 0,
125
126
  targetPercentage: t.percentage || 0,
126
- color: qe(t.color) || Pe.value[o] || be[o],
127
+ color: Qe(t.color) || Se.value[o] || we[o],
127
128
  id: a,
128
129
  shape: "circle",
129
130
  opacity: y.value.includes(a) ? 0.5 : 1,
130
131
  absoluteIndex: o,
131
- segregate: () => ve(a),
132
+ segregate: () => pe(a),
132
133
  isSegregated: y.value.includes(a)
133
134
  };
134
- }))), A = s(c.value), Ae = d(() => e.value.useStartAnimation), Ie = s(null), Se = d(() => Math.max(...c.value.map((t) => t.percentage))), G = s(!1);
135
- ye(() => c.value, Fe, { immediate: !0 });
136
- function Fe() {
137
- if (Ae.value && !G.value) {
135
+ }))), A = s(d.value), Me = v(() => e.value.useStartAnimation), Fe = s(null), Ne = v(() => Math.max(...d.value.map((t) => t.percentage))), G = s(!1);
136
+ ke(() => d.value, Re, { immediate: !0 });
137
+ function Re() {
138
+ if (Me.value && !G.value) {
138
139
  let o = function() {
139
- t >= Se.value ? (cancelAnimationFrame(Ie.value), A.value = c.value, G.value = !0) : (A.value = c.value.map((a) => ({
140
+ t >= Ne.value ? (cancelAnimationFrame(Fe.value), A.value = d.value, G.value = !0) : (A.value = d.value.map((a) => ({
140
141
  ...a,
141
142
  percentage: t < a.targetPercentage ? t : a.targetPercentage
142
143
  })), t += 1, requestAnimationFrame(o), G.value = !0);
143
144
  };
144
- A.value = c.value.map((a) => ({
145
+ A.value = d.value.map((a) => ({
145
146
  ...a,
146
147
  percentage: 0
147
148
  }));
148
149
  let t = 0;
149
150
  o();
150
151
  } else
151
- A.value = c.value;
152
+ A.value = d.value;
152
153
  }
153
- const Me = d(() => ({
154
+ const De = v(() => ({
154
155
  cy: "onion-div-legend",
155
156
  backgroundColor: e.value.style.chart.legend.backgroundColor,
156
157
  color: e.value.style.chart.legend.color,
157
158
  fontSize: e.value.style.chart.legend.fontSize,
158
159
  paddingBottom: 12,
159
160
  fontWeight: e.value.style.chart.legend.bold ? "bold" : ""
160
- })), Ne = d(() => c.value.filter((t) => !y.value.includes(t.id)).length), w = d(() => {
161
- const t = Math.min(i.value.width, i.value.height) / 2 / c.value.length;
161
+ })), Le = v(() => d.value.filter((t) => !y.value.includes(t.id)).length), w = v(() => {
162
+ const t = Math.min(c.value.width, c.value.height) / 2 / d.value.length;
162
163
  return {
163
164
  gutter: (t > e.value.style.chart.layout.maxThickness ? e.value.style.chart.layout.maxThickness : t) * e.value.style.chart.layout.gutter.width,
164
165
  track: (t > e.value.style.chart.layout.maxThickness ? e.value.style.chart.layout.maxThickness : t) * e.value.style.chart.layout.track.width
165
166
  };
166
- }), m = d(() => A.value.filter((t) => !y.value.includes(t.id)).map((t, o) => {
167
- const a = (i.value.maxRadius - w.value.track) / Ne.value / 2 * (1 + o), l = i.value.centerY - a;
167
+ }), m = v(() => A.value.filter((t) => !y.value.includes(t.id)).map((t, o) => {
168
+ const a = (c.value.maxRadius - w.value.track) / Le.value / 2 * (1 + o), l = c.value.centerY - a;
168
169
  return {
169
170
  percentage: t.percentage || 0,
170
171
  ...t,
171
172
  labelY: l,
172
173
  radius: a,
173
- path: Re(a, t.percentage || 0)
174
+ path: Ve(a, t.percentage || 0)
174
175
  };
175
176
  }));
176
- function Re(t, o) {
177
- const a = 2 * Math.PI * t, l = a * 0.75, p = `${l} ${a}`, I = l * (1 - o / 100);
177
+ function Ve(t, o) {
178
+ const a = 2 * Math.PI * t, l = a * 0.75, g = `${l} ${a}`, I = l * (1 - o / 100);
178
179
  return {
179
180
  bgDashArray: `${l} ${a}`,
180
181
  bgDashOffset: 0,
181
- dashArray: p,
182
+ dashArray: g,
182
183
  dashOffset: I,
183
184
  fullOffset: 0,
184
185
  active: `
185
- M ${i.value.centerX},${i.value.centerY - t}
186
+ M ${c.value.centerX},${c.value.centerY - t}
186
187
  A ${t},${t} 0 1 1
187
- ${i.value.centerX + t * Math.cos(Math.PI * 3 / 4)},${i.value.centerY + t * Math.sin(Math.PI * 3 / 4)}
188
+ ${c.value.centerX + t * Math.cos(Math.PI * 3 / 4)},${c.value.centerY + t * Math.sin(Math.PI * 3 / 4)}
188
189
  `.trim()
189
190
  };
190
191
  }
191
- function ve(t) {
192
- y.value.includes(t) ? y.value = y.value.filter((o) => o !== t) : y.value.push(t), xe("selectLegend", m.value);
192
+ function pe(t) {
193
+ y.value.includes(t) ? y.value = y.value.filter((o) => o !== t) : y.value.push(t), Oe("selectLegend", m.value);
193
194
  }
194
- function De() {
195
+ function ze() {
195
196
  return m.value;
196
197
  }
197
- const U = d(() => {
198
+ const E = v(() => {
198
199
  const t = [e.value.table.translations.serie, e.value.table.translations.percentage, e.value.table.translations.value], o = m.value.map((a) => [
199
200
  a.name,
200
201
  a.percentage,
201
202
  a.value
202
203
  ]);
203
204
  return { head: t, body: o };
204
- }), Y = d(() => {
205
- const t = U.value.head, o = m.value.map((l) => [
205
+ }), z = v(() => {
206
+ const t = E.value.head, o = m.value.map((l) => [
206
207
  `<span style="color:${l.color}">⬤</span> ${l.name}`,
207
208
  `${Number(l.percentage ?? 0).toFixed(e.value.table.td.roundingPercentage).toLocaleString()}%`,
208
209
  `${l.prefix || ""}${[null, void 0, NaN, "NaN"].includes(l.value) ? "-" : l.value.toFixed(e.value.table.td.roundingValue).toLocaleString()}${l.suffix || ""}`
@@ -221,42 +222,42 @@ const ht = ["id"], ft = ["xmlns", "viewBox"], gt = ["cx", "cy", "r", "stroke", "
221
222
  };
222
223
  return { head: t, body: o, config: a, colNames: t };
223
224
  });
224
- function he() {
225
- Xe(() => {
226
- const t = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [""]], o = U.value.head, a = U.value.body, l = t.concat([o]).concat(a), p = Ke(l);
227
- Qe({ csvContent: p, title: e.value.style.chart.title.text || "vue-ui-onion" });
225
+ function ge() {
226
+ Ee(() => {
227
+ const t = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [""]], o = E.value.head, a = E.value.body, l = t.concat([o]).concat(a), g = et(l);
228
+ tt({ csvContent: g, title: e.value.style.chart.title.text || "vue-ui-onion" });
228
229
  });
229
230
  }
230
231
  const b = s(void 0), _ = s(!1);
231
- function Le(t) {
232
+ function Ye(t) {
232
233
  _.value = t, Q.value += 1;
233
234
  }
234
- const E = s(null);
235
- function fe({ datapoint: t, seriesIndex: o, show: a = !0 }) {
235
+ const H = s(null);
236
+ function ye({ datapoint: t, seriesIndex: o, show: a = !0 }) {
236
237
  const l = t.absoluteIndex;
237
- b.value = o, E.value = {
238
+ b.value = o, H.value = {
238
239
  datapoint: t,
239
240
  seriesIndex: l,
240
- series: c.value,
241
+ series: d.value,
241
242
  config: e.value
242
243
  }, L.value = a;
243
- let p = "";
244
+ let g = "";
244
245
  const I = e.value.style.chart.tooltip.customFormat;
245
- if (ke(I) && Ze(() => I({
246
+ if (Ce(I) && at(() => I({
246
247
  seriesIndex: l,
247
248
  datapoint: t,
248
- series: c.value,
249
+ series: d.value,
249
250
  config: e.value
250
251
  })))
251
252
  X.value = I({
252
253
  seriesIndex: l,
253
254
  datapoint: t,
254
- series: c.value,
255
+ series: d.value,
255
256
  config: e.value
256
257
  });
257
258
  else {
258
- const W = e.value.style.chart.tooltip.showPercentage, j = e.value.style.chart.tooltip.showValue;
259
- p += `<div style="width: 100%; border-bottom: 1px solid ${e.value.style.chart.tooltip.borderColor}; padding-bottom: 6px;margin-bottom:3px;display:flex;flex-direction:row;gap:3px;align-items:center"><svg viewBox="0 0 12 12" height="14" width="14"><circle cx="6" cy="6" r="6" stroke="none" fill="${t.color}"/></svg><span></span>${t.name}</span></div>`, p += `<div style="width:100%;text-align:left;"><b>${W ? R({ p: "", v: t.percentage, s: "%", r: e.value.style.chart.tooltip.roundingPercentage }) : ""}</b> ${W && j ? "(" : ""}${j ? K(
259
+ const j = e.value.style.chart.tooltip.showPercentage, q = e.value.style.chart.tooltip.showValue;
260
+ g += `<div style="width: 100%; border-bottom: 1px solid ${e.value.style.chart.tooltip.borderColor}; padding-bottom: 6px;margin-bottom:3px;display:flex;flex-direction:row;gap:3px;align-items:center"><svg viewBox="0 0 12 12" height="14" width="14"><circle cx="6" cy="6" r="6" stroke="none" fill="${t.color}"/></svg><span></span>${t.name}</span></div>`, g += `<div style="width:100%;text-align:left;"><b>${j ? R({ p: "", v: t.percentage, s: "%", r: e.value.style.chart.tooltip.roundingPercentage }) : ""}</b> ${j && q ? "(" : ""}${q ? K(
260
261
  e.value.style.chart.layout.labels.value.formatter,
261
262
  t.value,
262
263
  R({
@@ -266,56 +267,58 @@ const ht = ["id"], ft = ["xmlns", "viewBox"], gt = ["cx", "cy", "r", "stroke", "
266
267
  r: e.value.style.chart.tooltip.roundingValue
267
268
  }),
268
269
  { datapoint: t, seriesIndex: o }
269
- ) : ""}${W && j ? ")" : ""}</div>`, X.value = `<div>${p}</div>`;
270
+ ) : ""}${j && q ? ")" : ""}</div>`, X.value = `<div>${g}</div>`;
270
271
  }
271
272
  }
272
- function ge() {
273
+ function me() {
273
274
  $.value.showTable = !$.value.showTable;
274
275
  }
275
- function pe() {
276
+ function be() {
276
277
  $.value.showTooltip = !$.value.showTooltip;
277
278
  }
278
- const B = s(!1);
279
- function H() {
280
- B.value = !B.value;
279
+ const Y = s(!1);
280
+ function W() {
281
+ Y.value = !Y.value;
281
282
  }
282
- return Ce({
283
- getData: De,
284
- generatePdf: ie,
285
- generateCsv: he,
286
- generateImage: ce,
287
- toggleTable: ge,
288
- toggleTooltip: pe,
289
- toggleAnnotator: H
283
+ return _e({
284
+ getData: ze,
285
+ generatePdf: ve,
286
+ generateCsv: ge,
287
+ generateImage: he,
288
+ toggleTable: me,
289
+ toggleTooltip: be,
290
+ toggleAnnotator: W
290
291
  }), (t, o) => (n(), u("div", {
291
- class: V(`vue-ui-onion ${_.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.value.useCssAnimation ? "" : "vue-ui-dna"}`),
292
+ class: B(`vue-ui-onion ${_.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.value.useCssAnimation ? "" : "vue-ui-dna"}`),
292
293
  ref_key: "onionChart",
293
294
  ref: T,
294
295
  id: `vue-ui-onion_${x.value}`,
295
- style: q(`font-family:${e.value.style.fontFamily};width:100%; ${e.value.responsive ? "height: 100%;" : ""} text-align:center;background:${e.value.style.chart.backgroundColor}`)
296
+ style: U(`font-family:${e.value.style.fontFamily};width:100%; ${e.value.responsive ? "height: 100%;" : ""} text-align:center;background:${e.value.style.chart.backgroundColor}`),
297
+ onMouseenter: o[4] || (o[4] = () => i(se)(!0)),
298
+ onMouseleave: o[5] || (o[5] = () => i(se)(!1))
296
299
  }, [
297
- e.value.userOptions.buttons.annotator ? (n(), C(dt, {
300
+ e.value.userOptions.buttons.annotator ? (n(), C(ft, {
298
301
  key: 0,
299
302
  parent: T.value,
300
303
  backgroundColor: e.value.style.chart.backgroundColor,
301
304
  color: e.value.style.chart.color,
302
- active: B.value,
303
- onClose: H
304
- }, null, 8, ["parent", "backgroundColor", "color", "active"])) : g("", !0),
305
- Oe.value ? (n(), u("div", {
305
+ active: Y.value,
306
+ onClose: W
307
+ }, null, 8, ["parent", "backgroundColor", "color", "active"])) : p("", !0),
308
+ Ie.value ? (n(), u("div", {
306
309
  key: 1,
307
310
  ref_key: "noTitle",
308
311
  ref: ae,
309
312
  class: "vue-data-ui-no-title-space",
310
313
  style: "height:36px; width: 100%;background:transparent"
311
- }, null, 512)) : g("", !0),
314
+ }, null, 512)) : p("", !0),
312
315
  e.value.style.chart.title.text ? (n(), u("div", {
313
316
  key: 2,
314
317
  ref_key: "chartTitle",
315
318
  ref: Z,
316
319
  style: "width:100%;background:transparent"
317
320
  }, [
318
- (n(), C(at, {
321
+ (n(), C(rt, {
319
322
  key: `title_${le.value}`,
320
323
  config: {
321
324
  title: {
@@ -328,15 +331,15 @@ const ht = ["id"], ft = ["xmlns", "viewBox"], gt = ["cx", "cy", "r", "stroke", "
328
331
  }
329
332
  }
330
333
  }, null, 8, ["config"]))
331
- ], 512)) : g("", !0),
332
- e.value.userOptions.show && D.value ? (n(), C(ot, {
334
+ ], 512)) : p("", !0),
335
+ e.value.userOptions.show && D.value && (i(ue) || i(ne)) ? (n(), C(st, {
333
336
  ref_key: "details",
334
- ref: _e,
337
+ ref: Ae,
335
338
  key: `user_options${Q.value}`,
336
339
  backgroundColor: e.value.style.chart.backgroundColor,
337
340
  color: e.value.style.chart.color,
338
- isImaging: v(ue),
339
- isPrinting: v(se),
341
+ isImaging: i(de),
342
+ isPrinting: i(ce),
340
343
  uid: x.value,
341
344
  hasTooltip: e.value.userOptions.buttons.tooltip && e.value.style.chart.tooltip.show,
342
345
  hasPdf: e.value.userOptions.buttons.pdf,
@@ -350,15 +353,18 @@ const ht = ["id"], ft = ["xmlns", "viewBox"], gt = ["cx", "cy", "r", "stroke", "
350
353
  chartElement: T.value,
351
354
  position: e.value.userOptions.position,
352
355
  hasAnnotator: e.value.userOptions.buttons.annotator,
353
- isAnnotation: B.value,
354
- onToggleFullscreen: Le,
355
- onGeneratePdf: v(ie),
356
- onGenerateCsv: he,
357
- onGenerateImage: v(ce),
358
- onToggleTable: ge,
359
- onToggleTooltip: pe,
360
- onToggleAnnotator: H
361
- }, Be({ _: 2 }, [
356
+ isAnnotation: Y.value,
357
+ onToggleFullscreen: Ye,
358
+ onGeneratePdf: i(ve),
359
+ onGenerateCsv: ge,
360
+ onGenerateImage: i(he),
361
+ onToggleTable: me,
362
+ onToggleTooltip: be,
363
+ onToggleAnnotator: W,
364
+ style: U({
365
+ visibility: i(ue) ? i(ne) ? "visible" : "hidden" : "visible"
366
+ })
367
+ }, Xe({ _: 2 }, [
362
368
  t.$slots.optionTooltip ? {
363
369
  name: "optionTooltip",
364
370
  fn: h(() => [
@@ -397,29 +403,29 @@ const ht = ["id"], ft = ["xmlns", "viewBox"], gt = ["cx", "cy", "r", "stroke", "
397
403
  t.$slots.optionFullscreen ? {
398
404
  name: "optionFullscreen",
399
405
  fn: h(({ toggleFullscreen: a, isFullscreen: l }) => [
400
- f(t.$slots, "optionFullscreen", S(F({ toggleFullscreen: a, isFullscreen: l })), void 0, !0)
406
+ f(t.$slots, "optionFullscreen", S(M({ toggleFullscreen: a, isFullscreen: l })), void 0, !0)
401
407
  ]),
402
408
  key: "5"
403
409
  } : void 0,
404
410
  t.$slots.optionAnnotator ? {
405
411
  name: "optionAnnotator",
406
412
  fn: h(({ toggleAnnotator: a, isAnnotator: l }) => [
407
- f(t.$slots, "optionAnnotator", S(F({ toggleAnnotator: a, isAnnotator: l })), void 0, !0)
413
+ f(t.$slots, "optionAnnotator", S(M({ toggleAnnotator: a, isAnnotator: l })), void 0, !0)
408
414
  ]),
409
415
  key: "6"
410
416
  } : void 0
411
- ]), 1032, ["backgroundColor", "color", "isImaging", "isPrinting", "uid", "hasTooltip", "hasPdf", "hasImg", "hasXls", "hasTable", "hasFullscreen", "isFullscreen", "isTooltip", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "onGeneratePdf", "onGenerateImage"])) : g("", !0),
417
+ ]), 1032, ["backgroundColor", "color", "isImaging", "isPrinting", "uid", "hasTooltip", "hasPdf", "hasImg", "hasXls", "hasTable", "hasFullscreen", "isFullscreen", "isTooltip", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "onGeneratePdf", "onGenerateImage", "style"])) : p("", !0),
412
418
  D.value ? (n(), u("svg", {
413
419
  key: 4,
414
- xmlns: v(Je),
415
- class: V({ "vue-data-ui-fullscreen--on": _.value, "vue-data-ui-fulscreen--off": !_.value }),
420
+ xmlns: i(Ze),
421
+ class: B({ "vue-data-ui-fullscreen--on": _.value, "vue-data-ui-fulscreen--off": !_.value }),
416
422
  viewBox: `0 0 ${r.value.width <= 0 ? 1e-4 : r.value.width} ${r.value.height <= 0 ? 1e-4 : r.value.height}`,
417
- style: q(`max-width:100%;overflow:visible;background:transparent;color:${e.value.style.chart.color}`)
423
+ style: U(`max-width:100%;overflow:visible;background:transparent;color:${e.value.style.chart.color}`)
418
424
  }, [
419
- me(ct),
420
- (n(!0), u(M, null, N(m.value, (a, l) => (n(), u("circle", {
421
- cx: i.value.centerX,
422
- cy: i.value.centerY,
425
+ $e(ht),
426
+ (n(!0), u(F, null, N(m.value, (a, l) => (n(), u("circle", {
427
+ cx: c.value.centerX,
428
+ cy: c.value.centerY,
423
429
  r: a.radius <= 0 ? 1e-4 : a.radius,
424
430
  stroke: e.value.style.chart.layout.gutter.color,
425
431
  "stroke-width": w.value.gutter,
@@ -427,22 +433,22 @@ const ht = ["id"], ft = ["xmlns", "viewBox"], gt = ["cx", "cy", "r", "stroke", "
427
433
  "stroke-dasharray": a.path.bgDashArray,
428
434
  "stroke-dashoffset": a.path.fullOffset,
429
435
  "stroke-linecap": "round",
430
- class: V({ "vue-ui-onion-path": !0, "vue-ui-onion-blur": e.value.useBlurOnHover && ![null, void 0].includes(b.value) && b.value !== l }),
436
+ class: B({ "vue-ui-onion-path": !0, "vue-ui-onion-blur": e.value.useBlurOnHover && ![null, void 0].includes(b.value) && b.value !== l }),
431
437
  style: { transform: "rotate(-90deg)", "transform-origin": "50% 50%" }
432
- }, null, 10, gt))), 256)),
433
- (n(!0), u(M, null, N(m.value, (a, l) => (n(), u("circle", {
434
- cx: i.value.centerX,
435
- cy: i.value.centerY,
438
+ }, null, 10, bt))), 256)),
439
+ (n(!0), u(F, null, N(m.value, (a, l) => (n(), u("circle", {
440
+ cx: c.value.centerX,
441
+ cy: c.value.centerY,
436
442
  r: a.radius < 0 ? 1e-4 : a.radius,
437
443
  stroke: `${a.color}`,
438
444
  "stroke-width": w.value.track,
439
445
  fill: "none",
440
446
  "stroke-dasharray": a.path.dashArray,
441
447
  "stroke-dashoffset": a.path.dashOffset,
442
- class: V({ "vue-ui-onion-path": !0, "vue-ui-onion-blur": e.value.useBlurOnHover && ![null, void 0].includes(b.value) && b.value !== l }),
448
+ class: B({ "vue-ui-onion-path": !0, "vue-ui-onion-blur": e.value.useBlurOnHover && ![null, void 0].includes(b.value) && b.value !== l }),
443
449
  "stroke-linecap": "round",
444
450
  style: { transform: "rotate(-90deg)", "transform-origin": "50% 50%" }
445
- }, null, 10, pt))), 256)),
451
+ }, null, 10, kt))), 256)),
446
452
  O("defs", null, [
447
453
  O("filter", {
448
454
  id: `blur_${x.value}`,
@@ -454,16 +460,16 @@ const ht = ["id"], ft = ["xmlns", "viewBox"], gt = ["cx", "cy", "r", "stroke", "
454
460
  O("feGaussianBlur", {
455
461
  in: "SourceGraphic",
456
462
  stdDeviation: 100 / e.value.style.chart.gradientIntensity
457
- }, null, 8, mt)
458
- ], 8, yt)
463
+ }, null, 8, wt)
464
+ ], 8, $t)
459
465
  ]),
460
466
  e.value.style.chart.useGradient ? (n(), u("g", {
461
467
  key: 0,
462
468
  filter: `url(#blur_${x.value})`
463
469
  }, [
464
- (n(!0), u(M, null, N(m.value, (a, l) => (n(), u("circle", {
465
- cx: i.value.centerX,
466
- cy: i.value.centerY,
470
+ (n(!0), u(F, null, N(m.value, (a, l) => (n(), u("circle", {
471
+ cx: c.value.centerX,
472
+ cy: c.value.centerY,
467
473
  r: a.radius <= 0 ? 1e-4 : a.radius,
468
474
  stroke: "white",
469
475
  "stroke-width": w.value.track / 3,
@@ -472,12 +478,12 @@ const ht = ["id"], ft = ["xmlns", "viewBox"], gt = ["cx", "cy", "r", "stroke", "
472
478
  "stroke-dasharray": a.path.dashArray,
473
479
  "stroke-dashoffset": a.path.dashOffset,
474
480
  style: { transform: "rotate(-90deg)", "transform-origin": "50% 50%" }
475
- }, null, 8, kt))), 256))
476
- ], 8, bt)) : g("", !0),
477
- (n(!0), u(M, null, N(m.value, (a, l) => (n(), u("circle", {
481
+ }, null, 8, xt))), 256))
482
+ ], 8, Ct)) : p("", !0),
483
+ (n(!0), u(F, null, N(m.value, (a, l) => (n(), u("circle", {
478
484
  "data-cy-trap": "",
479
- cx: i.value.centerX,
480
- cy: i.value.centerY,
485
+ cx: c.value.centerX,
486
+ cy: c.value.centerY,
481
487
  r: a.radius <= 0 ? 1e-4 : a.radius,
482
488
  stroke: "transparent",
483
489
  "stroke-width": Math.max(w.value.track, w.value.gutter),
@@ -487,27 +493,27 @@ const ht = ["id"], ft = ["xmlns", "viewBox"], gt = ["cx", "cy", "r", "stroke", "
487
493
  "stroke-linecap": "round",
488
494
  class: "vue-ui-onion-path",
489
495
  style: { transform: "rotate(-90deg)", "transform-origin": "50% 50%" },
490
- onMouseenter: (p) => fe({
496
+ onMouseenter: (g) => ye({
491
497
  datapoint: a,
492
498
  show: !0,
493
499
  seriesIndex: l
494
500
  }),
495
- onMouseleave: o[0] || (o[0] = (p) => {
501
+ onMouseleave: o[0] || (o[0] = (g) => {
496
502
  b.value = void 0, L.value = !1;
497
503
  })
498
- }, null, 40, $t))), 256)),
499
- e.value.style.chart.layout.labels.show ? (n(), u("g", wt, [
500
- (n(!0), u(M, null, N(m.value, (a, l) => (n(), u("g", {
501
- onMouseenter: (p) => fe({
504
+ }, null, 40, Tt))), 256)),
505
+ e.value.style.chart.layout.labels.show ? (n(), u("g", _t, [
506
+ (n(!0), u(F, null, N(m.value, (a, l) => (n(), u("g", {
507
+ onMouseenter: (g) => ye({
502
508
  datapoint: a,
503
509
  show: !0,
504
510
  seriesIndex: l
505
511
  }),
506
- onMouseleave: o[1] || (o[1] = (p) => {
512
+ onMouseleave: o[1] || (o[1] = (g) => {
507
513
  b.value = void 0, L.value = !1;
508
514
  })
509
515
  }, [
510
- y.value.includes(a.id) ? g("", !0) : (n(), u("text", {
516
+ y.value.includes(a.id) ? p("", !0) : (n(), u("text", {
511
517
  key: 0,
512
518
  x: r.value.width / 2 - w.value.gutter * 0.8 + e.value.style.chart.layout.labels.offsetX,
513
519
  y: a.labelY + e.value.style.chart.layout.labels.offsetY,
@@ -515,39 +521,39 @@ const ht = ["id"], ft = ["xmlns", "viewBox"], gt = ["cx", "cy", "r", "stroke", "
515
521
  "font-size": e.value.style.chart.layout.labels.fontSize,
516
522
  fill: e.value.useBlurOnHover && ![null, void 0].includes(b.value) && b.value === l ? a.color : e.value.style.chart.layout.labels.color,
517
523
  "font-weight": e.value.style.chart.layout.labels.bold ? "bold" : "normal"
518
- }, P(a.name ? a.name + ": " : "") + " " + P(e.value.style.chart.layout.labels.percentage.show ? v(R)({
524
+ }, P(a.name ? a.name + ": " : "") + " " + P(e.value.style.chart.layout.labels.percentage.show ? i(R)({
519
525
  v: a.percentage,
520
526
  s: "%",
521
527
  r: e.value.style.chart.layout.labels.roundingPercentage
522
- }) : "") + " " + P(!e.value.style.chart.layout.labels.percentage.show && e.value.style.chart.layout.labels.value.show ? `: ${v(K)(
528
+ }) : "") + " " + P(!e.value.style.chart.layout.labels.percentage.show && e.value.style.chart.layout.labels.value.show ? `: ${i(K)(
523
529
  e.value.style.chart.layout.labels.value.formatter,
524
530
  a.value,
525
- v(R)({
531
+ i(R)({
526
532
  p: a.prefix || "",
527
533
  v: a.value || 0,
528
534
  s: a.suffix || "",
529
535
  r: e.value.style.chart.layout.labels.roundingValue
530
536
  }),
531
537
  { datapoint: a, seriesIndex: l }
532
- )}` : `${e.value.style.chart.layout.labels.value.show && a.value ? `(${v(K)(
538
+ )}` : `${e.value.style.chart.layout.labels.value.show && a.value ? `(${i(K)(
533
539
  e.value.style.chart.layout.labels.value.formatter,
534
540
  a.value,
535
- v(R)({
541
+ i(R)({
536
542
  p: a.prefix || "",
537
543
  v: a.value || 0,
538
544
  s: a.suffix || "",
539
545
  r: e.value.style.chart.layout.labels.roundingValue
540
546
  }),
541
547
  { datapoint: a, seriesIndex: l }
542
- )})` : ""}`), 9, xt))
543
- ], 40, Ct))), 256))
544
- ])) : g("", !0),
548
+ )})` : ""}`), 9, Pt))
549
+ ], 40, Ot))), 256))
550
+ ])) : p("", !0),
545
551
  f(t.$slots, "svg", { svg: r.value }, void 0, !0)
546
- ], 14, ft)) : g("", !0),
547
- t.$slots.watermark ? (n(), u("div", Tt, [
548
- f(t.$slots, "watermark", S(F({ isPrinting: v(se) || v(ue) })), void 0, !0)
549
- ])) : g("", !0),
550
- D.value ? g("", !0) : (n(), C(ut, {
552
+ ], 14, mt)) : p("", !0),
553
+ t.$slots.watermark ? (n(), u("div", At, [
554
+ f(t.$slots, "watermark", S(M({ isPrinting: i(ce) || i(de) })), void 0, !0)
555
+ ])) : p("", !0),
556
+ D.value ? p("", !0) : (n(), C(dt, {
551
557
  key: 6,
552
558
  config: {
553
559
  type: "onion",
@@ -563,23 +569,23 @@ const ht = ["id"], ft = ["xmlns", "viewBox"], gt = ["cx", "cy", "r", "stroke", "
563
569
  ref_key: "chartLegend",
564
570
  ref: ee
565
571
  }, [
566
- e.value.style.chart.legend.show ? (n(), C(rt, {
572
+ e.value.style.chart.legend.show ? (n(), C(ut, {
567
573
  key: `legend_${re.value}`,
568
- legendSet: c.value,
569
- config: Me.value,
570
- onClickMarker: o[2] || (o[2] = ({ legend: a }) => ve(a.id))
574
+ legendSet: d.value,
575
+ config: De.value,
576
+ onClickMarker: o[2] || (o[2] = ({ legend: a }) => pe(a.id))
571
577
  }, {
572
578
  item: h(({ legend: a }) => [
573
579
  O("div", {
574
580
  "data-cy-legend-item": "",
575
581
  onClick: (l) => a.segregate(),
576
- style: q(`opacity:${y.value.includes(a.id) ? 0.5 : 1}`)
577
- }, P(a.name ? a.name + ": " : "") + " " + P((a.percentage || 0).toFixed(e.value.style.chart.legend.roundingPercentage)) + "% ", 13, _t)
582
+ style: U(`opacity:${y.value.includes(a.id) ? 0.5 : 1}`)
583
+ }, P(a.name ? a.name + ": " : "") + " " + P((a.percentage || 0).toFixed(e.value.style.chart.legend.roundingPercentage)) + "% ", 13, It)
578
584
  ]),
579
585
  _: 1
580
586
  }, 8, ["legendSet", "config"])) : f(t.$slots, "legend", {
581
587
  key: 1,
582
- legend: c.value
588
+ legend: d.value
583
589
  }, void 0, !0)
584
590
  ], 512),
585
591
  t.$slots.source ? (n(), u("div", {
@@ -589,8 +595,8 @@ const ht = ["id"], ft = ["xmlns", "viewBox"], gt = ["cx", "cy", "r", "stroke", "
589
595
  dir: "auto"
590
596
  }, [
591
597
  f(t.$slots, "source", {}, void 0, !0)
592
- ], 512)) : g("", !0),
593
- me(st, {
598
+ ], 512)) : p("", !0),
599
+ $e(ct, {
594
600
  show: $.value.showTooltip && L.value,
595
601
  backgroundColor: e.value.style.chart.tooltip.backgroundColor,
596
602
  color: e.value.style.chart.tooltip.color,
@@ -604,17 +610,17 @@ const ht = ["id"], ft = ["xmlns", "viewBox"], gt = ["cx", "cy", "r", "stroke", "
604
610
  parent: T.value,
605
611
  content: X.value,
606
612
  isFullscreen: _.value,
607
- isCustom: v(ke)(e.value.style.chart.tooltip.customFormat)
613
+ isCustom: i(Ce)(e.value.style.chart.tooltip.customFormat)
608
614
  }, {
609
615
  "tooltip-before": h(() => [
610
- f(t.$slots, "tooltip-before", S(F({ ...E.value })), void 0, !0)
616
+ f(t.$slots, "tooltip-before", S(M({ ...H.value })), void 0, !0)
611
617
  ]),
612
618
  "tooltip-after": h(() => [
613
- f(t.$slots, "tooltip-after", S(F({ ...E.value })), void 0, !0)
619
+ f(t.$slots, "tooltip-after", S(M({ ...H.value })), void 0, !0)
614
620
  ]),
615
621
  _: 3
616
622
  }, 8, ["show", "backgroundColor", "color", "borderRadius", "borderColor", "borderWidth", "fontSize", "backgroundOpacity", "position", "offsetY", "parent", "content", "isFullscreen", "isCustom"]),
617
- D.value ? (n(), C(it, {
623
+ D.value ? (n(), C(vt, {
618
624
  key: 8,
619
625
  hideDetails: "",
620
626
  config: {
@@ -631,29 +637,29 @@ const ht = ["id"], ft = ["xmlns", "viewBox"], gt = ["cx", "cy", "r", "stroke", "
631
637
  }
632
638
  }, {
633
639
  content: h(() => [
634
- (n(), C(nt, {
640
+ (n(), C(it, {
635
641
  key: `table_${oe.value}`,
636
- colNames: Y.value.colNames,
637
- head: Y.value.head,
638
- body: Y.value.body,
639
- config: Y.value.config,
642
+ colNames: z.value.colNames,
643
+ head: z.value.head,
644
+ body: z.value.body,
645
+ config: z.value.config,
640
646
  title: `${e.value.style.chart.title.text}${e.value.style.chart.title.subtitle.text ? ` : ${e.value.style.chart.title.subtitle.text}` : ""}`,
641
647
  onClose: o[3] || (o[3] = (a) => $.value.showTable = !1)
642
648
  }, {
643
649
  th: h(({ th: a }) => [
644
- Ve(P(a), 1)
650
+ Ge(P(a), 1)
645
651
  ]),
646
652
  td: h(({ td: a }) => [
647
- O("div", { innerHTML: a }, null, 8, Ot)
653
+ O("div", { innerHTML: a }, null, 8, St)
648
654
  ]),
649
655
  _: 1
650
656
  }, 8, ["colNames", "head", "body", "config", "title"]))
651
657
  ]),
652
658
  _: 1
653
- }, 8, ["config"])) : g("", !0)
654
- ], 14, ht));
659
+ }, 8, ["config"])) : p("", !0)
660
+ ], 46, yt));
655
661
  }
656
- }, Gt = /* @__PURE__ */ vt(Pt, [["__scopeId", "data-v-05f7df3d"]]);
662
+ }, jt = /* @__PURE__ */ gt(Mt, [["__scopeId", "data-v-95f6d188"]]);
657
663
  export {
658
- Gt as default
664
+ jt as default
659
665
  };