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 { ref as n, computed as v, watch as Re, onMounted as Ve, onBeforeUnmount as Be, openBlock as r, createElementBlock as f, normalizeClass as W, normalizeStyle as O, createBlock as _, createCommentVNode as k, unref as i, createSlots as De, withCtx as p, renderSlot as h, normalizeProps as I, guardReactiveProps as M, createVNode as fe, createElementVNode as C, Fragment as ye, renderList as me, createTextVNode as be, toDisplayString as E, nextTick as Ue } from "vue";
2
- import { u as We, c as ke, t as Ee, a as Ge, p as x, o as He, e as Y, g as Xe, b as je, J as Ye, d as Ce, f as N, X as qe, s as Je, w as Ke, v as q, i as we, x as Qe, y as Ze, q as et, r as tt } from "./index-BtL_cLa8.js";
3
- import { t as lt, u as ot } from "./useResponsive-CoxXLe23.js";
4
- import { _ as at } from "./Title-CIsKiWgN.js";
5
- import { u as st, U as nt } from "./usePrinter-sRt2SKr2.js";
6
- import { _ as rt } from "./Tooltip-B1LgrF9R.js";
7
- import { D as ut } from "./DataTable-CQ8fQnex.js";
8
- import { L as it } from "./Legend-Br7MWNDo.js";
9
- import vt from "./vue-ui-skeleton-DjFU2X3P.js";
10
- import ct from "./vue-ui-accordion-Cjc683tN.js";
11
- import { u as $e } from "./useNestedProp-CEAfm1tu.js";
12
- import { _ as dt } from "./PackageVersion-BV3fHO46.js";
13
- import { P as pt } from "./PenAndPaper-CCOywdmm.js";
14
- import { _ as ht } from "./_plugin-vue_export-helper-CHgC5LLL.js";
15
- const gt = ["id"], ft = ["xmlns", "viewBox"], yt = ["id"], mt = ["stop-color"], bt = ["stop-color"], kt = ["stroke", "cx", "cy", "r", "fill"], Ct = ["stroke", "stroke-width", "cx", "cy", "r", "fill"], wt = ["cx", "cy", "r", "onMouseenter"], $t = {
1
+ import { ref as n, computed as v, watch as Be, onMounted as De, onBeforeUnmount as We, openBlock as u, createElementBlock as f, normalizeClass as W, normalizeStyle as S, unref as r, createBlock as _, createCommentVNode as k, createSlots as Ee, withCtx as p, renderSlot as h, normalizeProps as I, guardReactiveProps as M, createVNode as be, createElementVNode as C, Fragment as ke, renderList as Ce, createTextVNode as we, toDisplayString as E, nextTick as Ge } from "vue";
2
+ import { u as He, c as $e, t as Xe, a as je, p as x, o as Ye, e as Y, g as qe, b as Je, J as Ke, d as Te, f as N, X as Qe, s as Ze, w as et, v as q, i as _e, x as tt, y as lt, q as ot, r as at } from "./index-BbPeL8Gp.js";
3
+ import { t as st, u as nt } from "./useResponsive-CoxXLe23.js";
4
+ import { _ as rt } from "./Title-aSAft5dl.js";
5
+ import { u as ut, U as it } from "./usePrinter-DaybDVqP.js";
6
+ import { _ as vt } from "./Tooltip-smutPF--.js";
7
+ import { D as ct } from "./DataTable-DGf6RrOJ.js";
8
+ import { L as dt } from "./Legend-BLaZxMge.js";
9
+ import pt from "./vue-ui-skeleton-Bniq21d9.js";
10
+ import ht from "./vue-ui-accordion-5d5iVpr7.js";
11
+ import { u as xe } from "./useNestedProp-BN8claGG.js";
12
+ import { _ as gt } from "./PackageVersion-CxJghxYD.js";
13
+ import { P as ft } from "./PenAndPaper-ZdZEumki.js";
14
+ import { u as yt } from "./useUserOptionState-BIvW1Kz7.js";
15
+ import { _ as mt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
16
+ const bt = ["id"], kt = ["xmlns", "viewBox"], Ct = ["id"], wt = ["stop-color"], $t = ["stop-color"], Tt = ["stroke", "cx", "cy", "r", "fill"], _t = ["stroke", "stroke-width", "cx", "cy", "r", "fill"], xt = ["cx", "cy", "r", "onMouseenter"], Nt = {
16
17
  key: 5,
17
18
  class: "vue-data-ui-watermark"
18
- }, Tt = ["onClick"], _t = { key: 0 }, xt = { key: 1 }, Nt = ["innerHTML"], Pt = {
19
+ }, Pt = ["onClick"], Ot = { key: 0 }, St = { key: 1 }, Lt = ["innerHTML"], At = {
19
20
  __name: "vue-ui-rings",
20
21
  props: {
21
22
  config: {
@@ -32,40 +33,40 @@ const gt = ["id"], ft = ["xmlns", "viewBox"], yt = ["id"], mt = ["stop-color"],
32
33
  }
33
34
  },
34
35
  emits: ["selectLegend"],
35
- setup(Te, { expose: _e, emit: xe }) {
36
- const y = Te, { vue_ui_rings: Ne } = We(), S = n(!1), z = v(() => !!y.dataset && y.dataset.length), A = n(ke()), Pe = n(null), R = n(!1), G = n(""), T = n(null), J = n(0), P = n(null), K = n(null), Q = n(null), Z = n(null), ee = n(null), te = n(0), le = n(0), oe = n(0), e = v({
37
- get: () => ae(),
36
+ setup(Ne, { expose: Pe, emit: Oe }) {
37
+ const y = Ne, { vue_ui_rings: Se } = He(), L = n(!1), V = v(() => !!y.dataset && y.dataset.length), A = n($e()), Le = n(null), z = n(!1), G = n(""), T = n(null), J = n(0), P = n(null), K = n(null), Q = n(null), Z = n(null), ee = n(null), te = n(0), le = n(0), oe = n(0), e = v({
38
+ get: () => re(),
38
39
  set: (t) => t
39
- });
40
- function ae() {
41
- const t = $e({
40
+ }), { userOptionsVisible: ae, setUserOptionsVisibility: se, keepUserOptionState: ne } = yt({ config: e.value });
41
+ function re() {
42
+ const t = xe({
42
43
  userConfig: y.config,
43
- defaultConfig: Ne
44
+ defaultConfig: Se
44
45
  });
45
46
  return t.theme ? {
46
- ...$e({
47
- userConfig: Ee.vue_ui_rings[t.theme] || y.config,
47
+ ...xe({
48
+ userConfig: Xe.vue_ui_rings[t.theme] || y.config,
48
49
  defaultConfig: t
49
50
  }),
50
- customPalette: Ge[t.theme] || x
51
+ customPalette: je[t.theme] || x
51
52
  } : t;
52
53
  }
53
- Re(() => y.config, (t) => {
54
- e.value = ae(), se(), te.value += 1, le.value += 1, oe.value += 1;
54
+ Be(() => y.config, (t) => {
55
+ e.value = re(), ue(), te.value += 1, le.value += 1, oe.value += 1;
55
56
  }, { deep: !0 });
56
- const V = n(null);
57
- Ve(() => {
58
- se();
57
+ const R = n(null);
58
+ De(() => {
59
+ ue();
59
60
  });
60
- function se() {
61
- if (He(y.dataset) ? Y({
61
+ function ue() {
62
+ if (Ye(y.dataset) ? Y({
62
63
  componentName: "VueUiRings",
63
64
  type: "dataset"
64
65
  }) : y.dataset.forEach((t, o) => {
65
66
  t.values.length || Y({
66
67
  componentName: "VueUiRings",
67
68
  type: "dataset"
68
- }), Xe({
69
+ }), qe({
69
70
  datasetObject: t,
70
71
  requiredAttributes: ["name", "values"]
71
72
  }).forEach((l) => {
@@ -77,80 +78,80 @@ const gt = ["id"], ft = ["xmlns", "viewBox"], yt = ["id"], mt = ["stop-color"],
77
78
  });
78
79
  });
79
80
  }), e.value.responsive) {
80
- const t = lt(() => {
81
- const { width: o, height: l } = ot({
81
+ const t = st(() => {
82
+ const { width: o, height: l } = nt({
82
83
  chart: P.value,
83
84
  title: e.value.style.chart.title.text ? K.value : null,
84
85
  legend: e.value.style.chart.legend.show ? Q.value : null,
85
86
  source: Z.value,
86
87
  noTitle: ee.value
87
88
  });
88
- u.value.width = o, u.value.height = l;
89
+ i.value.width = o, i.value.height = l;
89
90
  });
90
- V.value = new ResizeObserver(t), V.value.observe(P.value.parentNode);
91
+ R.value = new ResizeObserver(t), R.value.observe(P.value.parentNode);
91
92
  }
92
93
  setTimeout(() => {
93
- S.value = !0;
94
+ L.value = !0;
94
95
  }, 600);
95
96
  }
96
- Be(() => {
97
- V.value && V.value.disconnect();
97
+ We(() => {
98
+ R.value && R.value.disconnect();
98
99
  });
99
- const { isPrinting: ne, isImaging: re, generatePdf: ue, generateImage: ie } = st({
100
+ const { isPrinting: ie, isImaging: ve, generatePdf: ce, generateImage: de } = ut({
100
101
  elementId: `rings_${A.value}`,
101
102
  fileName: e.value.style.chart.title.text || "vue-ui-rings"
102
- }), Le = v(() => e.value.userOptions.show && !e.value.style.chart.title.text), ve = v(() => je(e.value.customPalette)), w = n({
103
+ }), Ae = v(() => e.value.userOptions.show && !e.value.style.chart.title.text), pe = v(() => Je(e.value.customPalette)), w = n({
103
104
  showTable: e.value.table.show,
104
105
  showTooltip: e.value.style.chart.tooltip.show
105
- }), u = n({
106
+ }), i = n({
106
107
  height: 360,
107
108
  width: 360
108
- }), Se = v(() => Math.min(u.value.height, u.value.width)), c = n([]);
109
+ }), Fe = v(() => Math.min(i.value.height, i.value.width)), c = n([]);
109
110
  function H(t) {
110
- c.value.includes(t) ? c.value = c.value.filter((o) => o !== t) : c.value.push(t), xe("selectLegend", d.value.map((o) => ({
111
+ c.value.includes(t) ? c.value = c.value.filter((o) => o !== t) : c.value.push(t), Oe("selectLegend", d.value.map((o) => ({
111
112
  name: o.name,
112
113
  color: o.color,
113
114
  value: o.value
114
115
  })));
115
116
  }
116
- const Ae = v(() => Math.max(
117
- ...B.value.filter((t) => !c.value.includes(t.uid)).map(({ value: t }) => t)
117
+ const Ie = v(() => Math.max(
118
+ ...U.value.filter((t) => !c.value.includes(t.uid)).map(({ value: t }) => t)
118
119
  ));
119
- function ce(t) {
120
- return t / Ae.value;
120
+ function he(t) {
121
+ return t / Ie.value;
121
122
  }
122
- const B = v(() => y.dataset.map(({ values: t, name: o, color: l = null }, a) => {
123
- const s = Ye(t).reduce((b, F) => b + F, 0);
123
+ const U = v(() => y.dataset.map(({ values: t, name: o, color: l = null }, a) => {
124
+ const s = Ke(t).reduce((b, F) => b + F, 0);
124
125
  return {
125
126
  name: o,
126
- color: l || Ce(l) || ve.value[a] || x[a] || x[a % x.length],
127
+ color: l || Te(l) || pe.value[a] || x[a] || x[a % x.length],
127
128
  value: s,
128
- proportion: s / y.dataset.map((b) => (b.values || []).reduce((F, ze) => F + ze, 0)).reduce((b, F) => b + F, 0),
129
- uid: ke()
129
+ proportion: s / y.dataset.map((b) => (b.values || []).reduce((F, Ue) => F + Ue, 0)).reduce((b, F) => b + F, 0),
130
+ uid: $e()
130
131
  };
131
- })), de = v(() => B.value.map((t) => ({
132
+ })), ge = v(() => U.value.map((t) => ({
132
133
  ...t,
133
134
  shape: "circle",
134
135
  opacity: c.value.includes(t.uid) ? 0.5 : 1,
135
136
  segregate: () => H(t.uid),
136
137
  isSegregated: c.value.includes(t.uid)
137
- })).toSorted((t, o) => o.value - t.value)), Fe = v(() => ({
138
+ })).toSorted((t, o) => o.value - t.value)), Me = v(() => ({
138
139
  cy: "rings-div-legend",
139
140
  backgroundColor: e.value.style.chart.legend.backgroundColor,
140
141
  color: e.value.style.chart.legend.color,
141
142
  fontSize: e.value.style.chart.legend.fontSize,
142
143
  paddingBottom: 12,
143
144
  fontWeight: e.value.style.chart.legend.bold ? "bold" : ""
144
- })), m = v(() => B.value.filter((t) => !c.value.includes(t.uid)).map(({ value: t }) => t).reduce((t, o) => t + o, 0)), d = v(() => B.value.filter((t) => !c.value.includes(t.uid)).map(({ name: t, value: o, color: l = null, uid: a }, s) => ({
145
+ })), m = v(() => U.value.filter((t) => !c.value.includes(t.uid)).map(({ value: t }) => t).reduce((t, o) => t + o, 0)), d = v(() => U.value.filter((t) => !c.value.includes(t.uid)).map(({ name: t, value: o, color: l = null, uid: a }, s) => ({
145
146
  uid: a,
146
147
  name: t,
147
- color: l || Ce(l) || ve.value[s] || x[s] || x[s % x.length],
148
+ color: l || Te(l) || pe.value[s] || x[s] || x[s % x.length],
148
149
  value: o,
149
- proportion: ce(o),
150
+ proportion: he(o),
150
151
  percentage: o / m.value * 100,
151
- strokeWidth: e.value.style.chart.layout.rings.strokeWidth * ce(o)
152
+ strokeWidth: e.value.style.chart.layout.rings.strokeWidth * he(o)
152
153
  })).toSorted((t, o) => o.value - t.value));
153
- function Oe() {
154
+ function Ve() {
154
155
  return d.value.map(
155
156
  ({ name: t, color: o, value: l, absoluteValues: a, percentage: s }) => ({
156
157
  name: t,
@@ -161,8 +162,8 @@ const gt = ["id"], ft = ["xmlns", "viewBox"], yt = ["id"], mt = ["stop-color"],
161
162
  })
162
163
  );
163
164
  }
164
- const g = v(() => Se.value - e.value.style.chart.layout.rings.strokeWidth * 2), X = n(null);
165
- function Ie(t, o) {
165
+ const g = v(() => Fe.value - e.value.style.chart.layout.rings.strokeWidth * 2), X = n(null);
166
+ function ze(t, o) {
166
167
  if (c.value.length === y.dataset.length) return;
167
168
  X.value = {
168
169
  datapoint: o,
@@ -171,7 +172,7 @@ const gt = ["id"], ft = ["xmlns", "viewBox"], yt = ["id"], mt = ["stop-color"],
171
172
  config: e.value
172
173
  }, T.value = t;
173
174
  const l = d.value[t], a = e.value.style.chart.tooltip.customFormat;
174
- if (Qe(a) && Ze(() => a({
175
+ if (tt(a) && lt(() => a({
175
176
  seriesIndex: t,
176
177
  datapoint: o,
177
178
  series: d.value,
@@ -185,7 +186,7 @@ const gt = ["id"], ft = ["xmlns", "viewBox"], yt = ["id"], mt = ["stop-color"],
185
186
  });
186
187
  else {
187
188
  let s = "";
188
- s += `<div style="width:100%;text-align:center;border-bottom:1px solid ${e.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>`, e.value.style.chart.tooltip.showValue && (s += `<b>${we(
189
+ s += `<div style="width:100%;text-align:center;border-bottom:1px solid ${e.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>`, e.value.style.chart.tooltip.showValue && (s += `<b>${_e(
189
190
  e.value.style.chart.layout.labels.dataLabels.formatter,
190
191
  l.value,
191
192
  N({
@@ -206,7 +207,7 @@ const gt = ["id"], ft = ["xmlns", "viewBox"], yt = ["id"], mt = ["stop-color"],
206
207
  r: e.value.style.chart.tooltip.roundingPercentage
207
208
  })}</b></div>`), G.value = s;
208
209
  }
209
- R.value = !0;
210
+ z.value = !0;
210
211
  }
211
212
  const $ = v(() => {
212
213
  const t = d.value.map((l) => ({
@@ -214,7 +215,7 @@ const gt = ["id"], ft = ["xmlns", "viewBox"], yt = ["id"], mt = ["stop-color"],
214
215
  color: l.color
215
216
  })), o = d.value.map((l) => l.value);
216
217
  return { head: t, body: o };
217
- }), D = v(() => {
218
+ }), B = v(() => {
218
219
  const t = [
219
220
  ' <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>',
220
221
  N({ p: e.value.style.chart.layout.labels.dataLabels.prefix, v: m.value, s: e.value.style.chart.layout.labels.dataLabels.suffix, r: e.value.table.td.roundingValue }),
@@ -250,68 +251,69 @@ const gt = ["id"], ft = ["xmlns", "viewBox"], yt = ["id"], mt = ["stop-color"],
250
251
  colNames: a
251
252
  };
252
253
  });
253
- function pe() {
254
- Ue(() => {
254
+ function fe() {
255
+ Ge(() => {
255
256
  const t = $.value.head.map((a, s) => [[
256
257
  a.name
257
- ], [$.value.body[s]], [isNaN($.value.body[s] / m.value) ? "-" : $.value.body[s] / m.value * 100]]), o = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [[""], ["val"], ["%"]]].concat(t), l = et(o);
258
- tt({ csvContent: l, title: e.value.style.chart.title.text || "vue-ui-rings" });
258
+ ], [$.value.body[s]], [isNaN($.value.body[s] / m.value) ? "-" : $.value.body[s] / m.value * 100]]), o = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [[""], ["val"], ["%"]]].concat(t), l = ot(o);
259
+ at({ csvContent: l, title: e.value.style.chart.title.text || "vue-ui-rings" });
259
260
  });
260
261
  }
261
- const L = n(!1);
262
- function Me(t) {
263
- L.value = t, J.value += 1;
262
+ const O = n(!1);
263
+ function Re(t) {
264
+ O.value = t, J.value += 1;
264
265
  }
265
- function he() {
266
+ function ye() {
266
267
  w.value.showTable = !w.value.showTable;
267
268
  }
268
- function ge() {
269
+ function me() {
269
270
  w.value.showTooltip = !w.value.showTooltip;
270
271
  }
271
- const U = n(!1);
272
+ const D = n(!1);
272
273
  function j() {
273
- U.value = !U.value;
274
+ D.value = !D.value;
274
275
  }
275
- return _e({
276
- getData: Oe,
277
- generatePdf: ue,
278
- generateCsv: pe,
279
- generateImage: ie,
280
- toggleTable: he,
281
- toggleTooltip: ge,
276
+ return Pe({
277
+ getData: Ve,
278
+ generatePdf: ce,
279
+ generateCsv: fe,
280
+ generateImage: de,
281
+ toggleTable: ye,
282
+ toggleTooltip: me,
282
283
  toggleAnnotator: j
283
- }), (t, o) => (r(), f("div", {
284
+ }), (t, o) => (u(), f("div", {
284
285
  ref_key: "ringsChart",
285
286
  ref: P,
286
- class: W(`vue-ui-rings ${L.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.value.useCssAnimation ? "" : "vue-ui-dna"}`),
287
- style: O(`font-family:${e.value.style.fontFamily};text-align:center;width:100%;background:${e.value.style.chart.backgroundColor};${e.value.responsive ? "height: 100%" : ""}`),
287
+ class: W(`vue-ui-rings ${O.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.value.useCssAnimation ? "" : "vue-ui-dna"}`),
288
+ style: S(`font-family:${e.value.style.fontFamily};text-align:center;width:100%;background:${e.value.style.chart.backgroundColor};${e.value.responsive ? "height: 100%" : ""}`),
288
289
  id: `rings_${A.value}`,
289
290
  onMouseleave: o[3] || (o[3] = (l) => {
290
- T.value = null, R.value = !1;
291
- })
291
+ T.value = null, z.value = !1, r(se)(!1);
292
+ }),
293
+ onMouseenter: o[4] || (o[4] = () => r(se)(!0))
292
294
  }, [
293
- e.value.userOptions.buttons.annotator ? (r(), _(pt, {
295
+ e.value.userOptions.buttons.annotator ? (u(), _(ft, {
294
296
  key: 0,
295
297
  parent: P.value,
296
298
  backgroundColor: e.value.style.chart.backgroundColor,
297
299
  color: e.value.style.chart.color,
298
- active: U.value,
300
+ active: D.value,
299
301
  onClose: j
300
302
  }, null, 8, ["parent", "backgroundColor", "color", "active"])) : k("", !0),
301
- Le.value ? (r(), f("div", {
303
+ Ae.value ? (u(), f("div", {
302
304
  key: 1,
303
305
  ref_key: "noTitle",
304
306
  ref: ee,
305
307
  class: "vue-data-ui-no-title-space",
306
308
  style: "height:36px; width: 100%;background:transparent"
307
309
  }, null, 512)) : k("", !0),
308
- e.value.style.chart.title.text ? (r(), f("div", {
310
+ e.value.style.chart.title.text ? (u(), f("div", {
309
311
  key: 2,
310
312
  ref_key: "chartTitle",
311
313
  ref: K,
312
314
  style: "width:100%;background:transparent"
313
315
  }, [
314
- (r(), _(at, {
316
+ (u(), _(rt, {
315
317
  key: `title_${te.value}`,
316
318
  config: {
317
319
  title: {
@@ -325,14 +327,14 @@ const gt = ["id"], ft = ["xmlns", "viewBox"], yt = ["id"], mt = ["stop-color"],
325
327
  }
326
328
  }, null, 8, ["config"]))
327
329
  ], 512)) : k("", !0),
328
- e.value.userOptions.show && z.value ? (r(), _(nt, {
330
+ e.value.userOptions.show && V.value && (r(ne) || r(ae)) ? (u(), _(it, {
329
331
  ref_key: "details",
330
- ref: Pe,
332
+ ref: Le,
331
333
  key: `user_options_${J.value}`,
332
334
  backgroundColor: e.value.style.chart.backgroundColor,
333
335
  color: e.value.style.chart.color,
334
- isPrinting: i(ne),
335
- isImaging: i(re),
336
+ isPrinting: r(ie),
337
+ isImaging: r(ve),
336
338
  uid: A.value,
337
339
  hasTooltip: e.value.userOptions.buttons.tooltip && e.value.style.chart.tooltip.show,
338
340
  hasPdf: e.value.userOptions.buttons.pdf,
@@ -341,20 +343,23 @@ const gt = ["id"], ft = ["xmlns", "viewBox"], yt = ["id"], mt = ["stop-color"],
341
343
  hasTable: e.value.userOptions.buttons.table,
342
344
  hasFullscreen: e.value.userOptions.buttons.fullscreen,
343
345
  isTooltip: w.value.showTooltip,
344
- isFullscreen: L.value,
346
+ isFullscreen: O.value,
345
347
  titles: { ...e.value.userOptions.buttonTitles },
346
348
  chartElement: P.value,
347
349
  position: e.value.userOptions.position,
348
350
  hasAnnotator: e.value.userOptions.buttons.annotator,
349
- isAnnotation: U.value,
350
- onToggleFullscreen: Me,
351
- onGeneratePdf: i(ue),
352
- onGenerateCsv: pe,
353
- onGenerateImage: i(ie),
354
- onToggleTable: he,
355
- onToggleTooltip: ge,
356
- onToggleAnnotator: j
357
- }, De({ _: 2 }, [
351
+ isAnnotation: D.value,
352
+ onToggleFullscreen: Re,
353
+ onGeneratePdf: r(ce),
354
+ onGenerateCsv: fe,
355
+ onGenerateImage: r(de),
356
+ onToggleTable: ye,
357
+ onToggleTooltip: me,
358
+ onToggleAnnotator: j,
359
+ style: S({
360
+ visibility: r(ne) ? r(ae) ? "visible" : "hidden" : "visible"
361
+ })
362
+ }, Ee({ _: 2 }, [
358
363
  t.$slots.optionTooltip ? {
359
364
  name: "optionTooltip",
360
365
  fn: p(() => [
@@ -404,17 +409,17 @@ const gt = ["id"], ft = ["xmlns", "viewBox"], yt = ["id"], mt = ["stop-color"],
404
409
  ]),
405
410
  key: "6"
406
411
  } : void 0
407
- ]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasTooltip", "hasPdf", "hasXls", "hasImg", "hasTable", "hasFullscreen", "isTooltip", "isFullscreen", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "onGeneratePdf", "onGenerateImage"])) : k("", !0),
408
- z.value ? (r(), f("svg", {
412
+ ]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasTooltip", "hasPdf", "hasXls", "hasImg", "hasTable", "hasFullscreen", "isTooltip", "isFullscreen", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "onGeneratePdf", "onGenerateImage", "style"])) : k("", !0),
413
+ V.value ? (u(), f("svg", {
409
414
  key: 4,
410
- xmlns: i(qe),
411
- class: W({ "vue-data-ui-fullscreen--on": L.value, "vue-data-ui-fulscreen--off": !L.value }),
412
- viewBox: `0 0 ${u.value.width <= 0 ? 10 : u.value.width} ${u.value.height <= 0 ? 10 : u.value.height}`,
413
- style: O(`max-width:100%;overflow:visible;background:transparent;color:${e.value.style.chart.color}`)
415
+ xmlns: r(Qe),
416
+ class: W({ "vue-data-ui-fullscreen--on": O.value, "vue-data-ui-fulscreen--off": !O.value }),
417
+ viewBox: `0 0 ${i.value.width <= 0 ? 10 : i.value.width} ${i.value.height <= 0 ? 10 : i.value.height}`,
418
+ style: S(`max-width:100%;overflow:visible;background:transparent;color:${e.value.style.chart.color}`)
414
419
  }, [
415
- fe(dt),
420
+ be(gt),
416
421
  C("defs", null, [
417
- (r(!0), f(ye, null, me(d.value, (l, a) => (r(), f("radialGradient", {
422
+ (u(!0), f(ke, null, Ce(d.value, (l, a) => (u(), f("radialGradient", {
418
423
  cx: "50%",
419
424
  cy: "30%",
420
425
  r: "50%",
@@ -424,62 +429,62 @@ const gt = ["id"], ft = ["xmlns", "viewBox"], yt = ["id"], mt = ["stop-color"],
424
429
  }, [
425
430
  C("stop", {
426
431
  offset: "0%",
427
- "stop-color": i(Je)(i(Ke)(l.color, 0.05), 100 - e.value.style.chart.layout.rings.gradient.intensity)
428
- }, null, 8, mt),
432
+ "stop-color": r(Ze)(r(et)(l.color, 0.05), 100 - e.value.style.chart.layout.rings.gradient.intensity)
433
+ }, null, 8, wt),
429
434
  C("stop", {
430
435
  offset: "100%",
431
436
  "stop-color": l.color
432
- }, null, 8, bt)
433
- ], 8, yt))), 256))
437
+ }, null, 8, $t)
438
+ ], 8, Ct))), 256))
434
439
  ]),
435
- (r(!0), f(ye, null, me(d.value, (l, a) => (r(), f("g", null, [
440
+ (u(!0), f(ke, null, Ce(d.value, (l, a) => (u(), f("g", null, [
436
441
  C("circle", {
437
442
  class: W({
438
- "vue-ui-rings-item": S.value && e.value.useCssAnimation,
439
- "vue-rings-item-onload": !S.value && e.value.useCssAnimation,
443
+ "vue-ui-rings-item": L.value && e.value.useCssAnimation,
444
+ "vue-rings-item-onload": !L.value && e.value.useCssAnimation,
440
445
  "vue-ui-rings-opacity": T.value !== null && T.value !== a
441
446
  }),
442
- style: O(`animation-delay:${a * 100}ms`),
447
+ style: S(`animation-delay:${a * 100}ms`),
443
448
  stroke: e.value.style.chart.layout.rings.stroke,
444
- cx: u.value.width / 2,
445
- cy: a === 0 ? u.value.height / 2 : u.value.height / 2 + g.value * d.value[0].proportion / 2 - g.value * l.proportion / 2 - 2 * (a + 1),
446
- r: i(q)(g.value * l.proportion / 2 * 0.9 <= 0 ? 1e-4 : g.value * l.proportion / 2 * 0.9),
449
+ cx: i.value.width / 2,
450
+ cy: a === 0 ? i.value.height / 2 : i.value.height / 2 + g.value * d.value[0].proportion / 2 - g.value * l.proportion / 2 - 2 * (a + 1),
451
+ r: r(q)(g.value * l.proportion / 2 * 0.9 <= 0 ? 1e-4 : g.value * l.proportion / 2 * 0.9),
447
452
  fill: e.value.style.chart.layout.rings.gradient.underlayerColor
448
- }, null, 14, kt),
453
+ }, null, 14, Tt),
449
454
  C("circle", {
450
455
  class: W({
451
- "vue-ui-rings-item": S.value && e.value.useCssAnimation,
452
- "vue-rings-item-onload": !S.value && e.value.useCssAnimation,
456
+ "vue-ui-rings-item": L.value && e.value.useCssAnimation,
457
+ "vue-rings-item-onload": !L.value && e.value.useCssAnimation,
453
458
  "vue-ui-rings-shadow": e.value.style.chart.layout.rings.useShadow,
454
459
  "vue-ui-rings-blur": T.value !== null && T.value !== a
455
460
  }),
456
- style: O(`animation-delay:${a * 100}ms`),
461
+ style: S(`animation-delay:${a * 100}ms`),
457
462
  stroke: e.value.style.chart.layout.rings.stroke,
458
463
  "stroke-width": l.strokeWidth < 0.5 ? 0.5 : l.strokeWidth,
459
- cx: u.value.width / 2,
460
- cy: a === 0 ? u.value.height / 2 : u.value.height / 2 + g.value * d.value[0].proportion / 2 - g.value * l.proportion / 2 - 2 * (a + 1),
461
- r: i(q)(g.value * l.proportion / 2 * 0.9 <= 0 ? 1e-4 : g.value * l.proportion / 2 * 0.9),
464
+ cx: i.value.width / 2,
465
+ cy: a === 0 ? i.value.height / 2 : i.value.height / 2 + g.value * d.value[0].proportion / 2 - g.value * l.proportion / 2 - 2 * (a + 1),
466
+ r: r(q)(g.value * l.proportion / 2 * 0.9 <= 0 ? 1e-4 : g.value * l.proportion / 2 * 0.9),
462
467
  fill: e.value.style.chart.layout.rings.gradient.show ? `url(#gradient_${A.value}_${a})` : l.color
463
- }, null, 14, Ct),
468
+ }, null, 14, _t),
464
469
  C("circle", {
465
470
  "data-cy-trap": "",
466
471
  stroke: "none",
467
- cx: u.value.width / 2,
468
- cy: a === 0 ? u.value.height / 2 : u.value.height / 2 + g.value * d.value[0].proportion / 2 - g.value * l.proportion / 2 - 2 * (a + 1),
469
- r: i(q)(g.value * l.proportion / 2 * 0.9 <= 0 ? 1e-4 : g.value * l.proportion / 2 * 0.9),
472
+ cx: i.value.width / 2,
473
+ cy: a === 0 ? i.value.height / 2 : i.value.height / 2 + g.value * d.value[0].proportion / 2 - g.value * l.proportion / 2 - 2 * (a + 1),
474
+ r: r(q)(g.value * l.proportion / 2 * 0.9 <= 0 ? 1e-4 : g.value * l.proportion / 2 * 0.9),
470
475
  fill: "transparent",
471
- onMouseenter: (s) => Ie(a, l),
476
+ onMouseenter: (s) => ze(a, l),
472
477
  onMouseleave: o[0] || (o[0] = (s) => {
473
- T.value = null, R.value = !1;
478
+ T.value = null, z.value = !1;
474
479
  })
475
- }, null, 40, wt)
480
+ }, null, 40, xt)
476
481
  ]))), 256)),
477
- h(t.$slots, "svg", { svg: u.value }, void 0, !0)
478
- ], 14, ft)) : k("", !0),
479
- t.$slots.watermark ? (r(), f("div", $t, [
480
- h(t.$slots, "watermark", I(M({ isPrinting: i(ne) || i(re) })), void 0, !0)
482
+ h(t.$slots, "svg", { svg: i.value }, void 0, !0)
483
+ ], 14, kt)) : k("", !0),
484
+ t.$slots.watermark ? (u(), f("div", Nt, [
485
+ h(t.$slots, "watermark", I(M({ isPrinting: r(ie) || r(ve) })), void 0, !0)
481
486
  ])) : k("", !0),
482
- z.value ? k("", !0) : (r(), _(vt, {
487
+ V.value ? k("", !0) : (u(), _(pt, {
483
488
  key: 6,
484
489
  config: {
485
490
  type: "rings",
@@ -495,22 +500,22 @@ const gt = ["id"], ft = ["xmlns", "viewBox"], yt = ["id"], mt = ["stop-color"],
495
500
  ref_key: "chartLegend",
496
501
  ref: Q
497
502
  }, [
498
- e.value.style.chart.legend.show ? (r(), _(it, {
503
+ e.value.style.chart.legend.show ? (u(), _(dt, {
499
504
  key: `legend_${oe.value}`,
500
- legendSet: de.value,
501
- config: Fe.value,
505
+ legendSet: ge.value,
506
+ config: Me.value,
502
507
  onClickMarker: o[1] || (o[1] = ({ legend: l }) => H(l.uid))
503
508
  }, {
504
509
  item: p(({ legend: l, index: a }) => [
505
510
  C("div", {
506
511
  "data-cy-legend-item": "",
507
512
  onClick: (s) => H(l.uid),
508
- style: O(`opacity:${c.value.includes(l.uid) ? 0.5 : 1}`)
513
+ style: S(`opacity:${c.value.includes(l.uid) ? 0.5 : 1}`)
509
514
  }, [
510
- be(E(l.name) + ": " + E(i(we)(
515
+ we(E(l.name) + ": " + E(r(_e)(
511
516
  e.value.style.chart.layout.labels.dataLabels.formatter,
512
517
  l.value,
513
- i(N)({
518
+ r(N)({
514
519
  p: e.value.style.chart.layout.labels.dataLabels.prefix,
515
520
  v: l.value,
516
521
  s: e.value.style.chart.layout.labels.dataLabels.suffix,
@@ -518,20 +523,20 @@ const gt = ["id"], ft = ["xmlns", "viewBox"], yt = ["id"], mt = ["stop-color"],
518
523
  }),
519
524
  { datapoint: l, seriesIndex: a }
520
525
  )) + " ", 1),
521
- c.value.includes(l.uid) ? (r(), f("span", xt, " ( - % ) ")) : (r(), f("span", _t, " (" + E(isNaN(l.value / m.value) ? "-" : i(N)({
526
+ c.value.includes(l.uid) ? (u(), f("span", St, " ( - % ) ")) : (u(), f("span", Ot, " (" + E(isNaN(l.value / m.value) ? "-" : r(N)({
522
527
  v: l.value / m.value * 100,
523
528
  s: "%",
524
529
  r: e.value.style.chart.legend.roundingPercentage
525
530
  })) + ") ", 1))
526
- ], 12, Tt)
531
+ ], 12, Pt)
527
532
  ]),
528
533
  _: 1
529
534
  }, 8, ["legendSet", "config"])) : h(t.$slots, "legend", {
530
535
  key: 1,
531
- legend: de.value
536
+ legend: ge.value
532
537
  }, void 0, !0)
533
538
  ], 512),
534
- t.$slots.source ? (r(), f("div", {
539
+ t.$slots.source ? (u(), f("div", {
535
540
  key: 7,
536
541
  ref_key: "source",
537
542
  ref: Z,
@@ -539,8 +544,8 @@ const gt = ["id"], ft = ["xmlns", "viewBox"], yt = ["id"], mt = ["stop-color"],
539
544
  }, [
540
545
  h(t.$slots, "source", {}, void 0, !0)
541
546
  ], 512)) : k("", !0),
542
- fe(rt, {
543
- show: w.value.showTooltip && R.value && c.value.length < y.dataset.length,
547
+ be(vt, {
548
+ show: w.value.showTooltip && z.value && c.value.length < y.dataset.length,
544
549
  backgroundColor: e.value.style.chart.tooltip.backgroundColor,
545
550
  color: e.value.style.chart.tooltip.color,
546
551
  borderRadius: e.value.style.chart.tooltip.borderRadius,
@@ -552,7 +557,7 @@ const gt = ["id"], ft = ["xmlns", "viewBox"], yt = ["id"], mt = ["stop-color"],
552
557
  offsetY: e.value.style.chart.tooltip.offsetY,
553
558
  parent: P.value,
554
559
  content: G.value,
555
- isFullscreen: L.value,
560
+ isFullscreen: O.value,
556
561
  isCustom: e.value.style.chart.tooltip.customFormat && typeof e.value.style.chart.tooltip.customFormat == "function"
557
562
  }, {
558
563
  "tooltip-before": p(() => [
@@ -563,7 +568,7 @@ const gt = ["id"], ft = ["xmlns", "viewBox"], yt = ["id"], mt = ["stop-color"],
563
568
  ]),
564
569
  _: 3
565
570
  }, 8, ["show", "backgroundColor", "color", "borderRadius", "borderColor", "borderWidth", "fontSize", "backgroundOpacity", "position", "offsetY", "parent", "content", "isFullscreen", "isCustom"]),
566
- z.value ? (r(), _(ct, {
571
+ V.value ? (u(), _(ht, {
567
572
  key: 8,
568
573
  hideDetails: "",
569
574
  config: {
@@ -580,12 +585,12 @@ const gt = ["id"], ft = ["xmlns", "viewBox"], yt = ["id"], mt = ["stop-color"],
580
585
  }
581
586
  }, {
582
587
  content: p(() => [
583
- (r(), _(ut, {
588
+ (u(), _(ct, {
584
589
  key: `table_${le.value}`,
585
- colNames: D.value.colNames,
586
- head: D.value.head,
587
- body: D.value.body,
588
- config: D.value.config,
590
+ colNames: B.value.colNames,
591
+ head: B.value.head,
592
+ body: B.value.body,
593
+ config: B.value.config,
589
594
  title: `${e.value.style.chart.title.text}${e.value.style.chart.title.subtitle.text ? ` : ${e.value.style.chart.title.subtitle.text}` : ""}`,
590
595
  onClose: o[2] || (o[2] = (l) => w.value.showTable = !1)
591
596
  }, {
@@ -593,19 +598,19 @@ const gt = ["id"], ft = ["xmlns", "viewBox"], yt = ["id"], mt = ["stop-color"],
593
598
  C("div", {
594
599
  innerHTML: l,
595
600
  style: { display: "flex", "align-items": "center" }
596
- }, null, 8, Nt)
601
+ }, null, 8, Lt)
597
602
  ]),
598
603
  td: p(({ td: l }) => [
599
- be(E(l.name || l), 1)
604
+ we(E(l.name || l), 1)
600
605
  ]),
601
606
  _: 1
602
607
  }, 8, ["colNames", "head", "body", "config", "title"]))
603
608
  ]),
604
609
  _: 1
605
610
  }, 8, ["config"])) : k("", !0)
606
- ], 46, gt));
611
+ ], 46, bt));
607
612
  }
608
- }, Et = /* @__PURE__ */ ht(Pt, [["__scopeId", "data-v-55a9dc26"]]);
613
+ }, Yt = /* @__PURE__ */ mt(At, [["__scopeId", "data-v-fd609855"]]);
609
614
  export {
610
- Et as default
615
+ Yt as default
611
616
  };