vue-data-ui 2.4.50 → 2.4.52

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 (200) hide show
  1. package/README.md +12 -0
  2. package/dist/{Arrow-D1z9KkQN.js → Arrow-BuBoE64l.js} +1 -1
  3. package/dist/{Arrow-DuuEh1Nr.cjs → Arrow-CFlFdPC5.cjs} +1 -1
  4. package/dist/{BaseIcon-DemqZ_13.cjs → BaseIcon-CfhoS_qC.cjs} +1 -1
  5. package/dist/{BaseIcon-BHwqOTt4.js → BaseIcon-zmxwsaLW.js} +1 -1
  6. package/dist/{DataTable-CQ8fQnex.js → DataTable-COkA4Nyz.js} +2 -2
  7. package/dist/{DataTable-CovKV5Yy.cjs → DataTable-CwAdpLng.cjs} +1 -1
  8. package/dist/{Legend-Bbz-hKDf.cjs → Legend-CR9ydX8N.cjs} +1 -1
  9. package/dist/{Legend-Br7MWNDo.js → Legend-bYlSC7I7.js} +1 -1
  10. package/dist/{PackageVersion-BEtuCME5.cjs → PackageVersion-C1F3QLoY.cjs} +1 -1
  11. package/dist/{PackageVersion-BV3fHO46.js → PackageVersion-Dz3KcTL4.js} +1 -1
  12. package/dist/{PenAndPaper-CCOywdmm.js → PenAndPaper-BycdTwSP.js} +3 -3
  13. package/dist/{PenAndPaper-BIcmfBvD.cjs → PenAndPaper-DDheVRNG.cjs} +1 -1
  14. package/dist/{Shape-BD37ZaX9.cjs → Shape-BBp5EwJH.cjs} +1 -1
  15. package/dist/{Shape-B7Mekpyf.js → Shape-BDJJ38uM.js} +1 -1
  16. package/dist/{Slicer-CWvkt-8k.cjs → Slicer-7oTpm-cZ.cjs} +1 -1
  17. package/dist/{Slicer-ahFReg7h.js → Slicer-D_DaIThC.js} +2 -2
  18. package/dist/{Title-C2siG5N2.cjs → Title-B7ruS8yl.cjs} +1 -1
  19. package/dist/{Title-CIsKiWgN.js → Title-aMb2ETf7.js} +1 -1
  20. package/dist/{Tooltip-B1LgrF9R.js → Tooltip-BRZ3DT4p.js} +1 -1
  21. package/dist/{Tooltip-CS4C58T7.cjs → Tooltip-BqSN71SL.cjs} +1 -1
  22. package/dist/index-BkXYJDpD.cjs +9 -0
  23. package/dist/{index-BtL_cLa8.js → index-K5uyh1gA.js} +5 -1
  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-D_feh7A_.cjs → useNestedProp-C6IvqE-r.cjs} +1 -1
  28. package/dist/{useNestedProp-CEAfm1tu.js → useNestedProp-DifqJZAs.js} +1 -1
  29. package/dist/{usePrinter-B4xDG31F.cjs → usePrinter-DHv-BwME.cjs} +1 -1
  30. package/dist/{usePrinter-sRt2SKr2.js → usePrinter-p_ZZlGc9.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-NkhaiK6y.js → vue-data-ui-3PlAeIlX.js} +60 -60
  34. package/dist/{vue-data-ui-CuEYAddV.cjs → vue-data-ui-M0E2b8Dw.cjs} +1 -1
  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-BeXYzdzu.js → vue-ui-3d-bar-PrijRaoI.js} +355 -349
  38. package/dist/vue-ui-3d-bar-VQyMytda.cjs +19 -0
  39. package/dist/{vue-ui-accordion-Cjc683tN.js → vue-ui-accordion-CsJT7Az3.js} +3 -3
  40. package/dist/{vue-ui-accordion-CBxsUoGb.cjs → vue-ui-accordion-kr18wKfc.cjs} +1 -1
  41. package/dist/vue-ui-age-pyramid-BV1MgH8J.cjs +1 -0
  42. package/dist/{vue-ui-age-pyramid-rnt8M-Qz.js → vue-ui-age-pyramid-DFYykOow.js} +260 -254
  43. package/dist/{vue-ui-annotator-CFU5Zyfk.js → vue-ui-annotator-Blg3LdqF.js} +1 -1
  44. package/dist/{vue-ui-annotator-Yu-mHS2N.cjs → vue-ui-annotator-DffUZR4a.cjs} +1 -1
  45. package/dist/vue-ui-bullet-DSampkai.cjs +34 -0
  46. package/dist/{vue-ui-bullet-CRbW1ON6.js → vue-ui-bullet-Ybz4qPWl.js} +147 -141
  47. package/dist/vue-ui-candlestick-BxcwK8UI.cjs +2 -0
  48. package/dist/{vue-ui-candlestick-D-ERLtI1.js → vue-ui-candlestick-DsVBdCz_.js} +231 -225
  49. package/dist/vue-ui-carousel-table-C2ThrWYt.js +379 -0
  50. package/dist/vue-ui-carousel-table-DkWNe0mJ.cjs +1 -0
  51. package/dist/{vue-ui-chestnut-CqJRKECX.js → vue-ui-chestnut-BacH0ZYK.js} +258 -252
  52. package/dist/vue-ui-chestnut-Cw8LKuZG.cjs +6 -0
  53. package/dist/{vue-ui-cursor-jrrdh8Lf.js → vue-ui-cursor-CMKSCQ-v.js} +2 -2
  54. package/dist/{vue-ui-cursor-S83QIsxQ.cjs → vue-ui-cursor-D2kQNFWy.cjs} +1 -1
  55. package/dist/{vue-ui-dashboard-DR_Bhwa3.js → vue-ui-dashboard-9PYl4mWC.js} +2 -2
  56. package/dist/{vue-ui-dashboard-DW1mIInG.cjs → vue-ui-dashboard-BHwlhK33.cjs} +1 -1
  57. package/dist/{vue-ui-digits-s5f9eFtW.cjs → vue-ui-digits-2yacgzrJ.cjs} +1 -1
  58. package/dist/{vue-ui-digits-1jZdiwHJ.js → vue-ui-digits-CyTjq_oN.js} +2 -2
  59. package/dist/vue-ui-donut-BNv1eGiu.cjs +1 -0
  60. package/dist/{vue-ui-donut-BAYiPsxp.js → vue-ui-donut-BxLlCBhU.js} +402 -396
  61. package/dist/{vue-ui-donut-evolution-DsHTZ9T2.js → vue-ui-donut-evolution-Bw9hfwuO.js} +320 -314
  62. package/dist/vue-ui-donut-evolution-DGjHfyq8.cjs +1 -0
  63. package/dist/vue-ui-dumbbell-CjHcgzti.cjs +9 -0
  64. package/dist/{vue-ui-dumbbell-DcMmBxLy.js → vue-ui-dumbbell-D0PjpD19.js} +267 -261
  65. package/dist/{vue-ui-flow-BTXEmIQG.js → vue-ui-flow-BuTJcn6b.js} +174 -168
  66. package/dist/vue-ui-flow-Dc-KV4a3.cjs +1 -0
  67. package/dist/{vue-ui-funnel-BB_h0FKg.js → vue-ui-funnel-CxO1aav3.js} +190 -184
  68. package/dist/vue-ui-funnel-QQGqK4OD.cjs +1 -0
  69. package/dist/{vue-ui-galaxy-DlBk1FUz.js → vue-ui-galaxy-B2uwYVgz.js} +199 -193
  70. package/dist/vue-ui-galaxy-CABgAX76.cjs +1 -0
  71. package/dist/vue-ui-gauge-CTEPbzWe.cjs +1 -0
  72. package/dist/{vue-ui-gauge-1SFhSMfU.js → vue-ui-gauge-CqhJx__t.js} +213 -207
  73. package/dist/{vue-ui-gizmo-CtX6KFN2.js → vue-ui-gizmo-D7G-8Al-.js} +3 -3
  74. package/dist/{vue-ui-gizmo-C8rLR4n5.cjs → vue-ui-gizmo-DlQOItIS.cjs} +1 -1
  75. package/dist/vue-ui-heatmap-BOwY6qNR.cjs +1 -0
  76. package/dist/{vue-ui-heatmap-BzyvTePn.js → vue-ui-heatmap-DLNzJh--.js} +291 -285
  77. package/dist/{vue-ui-history-plot-BEoHuZ3N.js → vue-ui-history-plot-CH2mN74k.js} +258 -252
  78. package/dist/vue-ui-history-plot-EiYWpITj.cjs +1 -0
  79. package/dist/{vue-ui-kpi-BYOyJjYg.js → vue-ui-kpi-Cb3fLQlS.js} +3 -3
  80. package/dist/{vue-ui-kpi-LO4KKRR9.cjs → vue-ui-kpi-DB00TrXv.cjs} +1 -1
  81. package/dist/{vue-ui-mini-loader-ChHdx5me.js → vue-ui-mini-loader-Czn2u6m3.js} +2 -2
  82. package/dist/{vue-ui-mini-loader-wlUD77O6.cjs → vue-ui-mini-loader-DAaZwOTE.cjs} +1 -1
  83. package/dist/{vue-ui-molecule-Bo7XYpf-.js → vue-ui-molecule-BAwzIU19.js} +300 -295
  84. package/dist/vue-ui-molecule-DZ6Z4eru.cjs +1 -0
  85. package/dist/vue-ui-mood-radar-BL3vQzMq.cjs +1 -0
  86. package/dist/{vue-ui-mood-radar-DXj4Ce6l.js → vue-ui-mood-radar-BXOWHB57.js} +202 -196
  87. package/dist/vue-ui-nested-donuts-D1EF5IEw.cjs +17 -0
  88. package/dist/{vue-ui-nested-donuts-BBLpNVwF.js → vue-ui-nested-donuts-F1pwFa1Y.js} +298 -292
  89. package/dist/{vue-ui-onion-DC8VIInA.js → vue-ui-onion-C9dEaRbc.js} +214 -208
  90. package/dist/vue-ui-onion-nA8sXxh-.cjs +5 -0
  91. package/dist/{vue-ui-parallel-coordinate-plot-Cl1wiHsK.js → vue-ui-parallel-coordinate-plot-Cgc8JHMy.js} +260 -254
  92. package/dist/vue-ui-parallel-coordinate-plot-DL4DOhyh.cjs +8 -0
  93. package/dist/{vue-ui-quadrant-b5cuEH9z.js → vue-ui-quadrant-C_hJHr9T.js} +278 -272
  94. package/dist/vue-ui-quadrant-DJGxKeBq.cjs +1 -0
  95. package/dist/vue-ui-quick-chart-C5v_8Kpw.cjs +15 -0
  96. package/dist/{vue-ui-quick-chart-CFBPYw2J.js → vue-ui-quick-chart-D4k-zSan.js} +474 -466
  97. package/dist/vue-ui-radar-BeGVGueh.cjs +1 -0
  98. package/dist/{vue-ui-radar-DP8360kx.js → vue-ui-radar-WKQ-TavD.js} +265 -259
  99. package/dist/{vue-ui-rating-DIthBSp_.js → vue-ui-rating-BrSnMkzF.js} +2 -2
  100. package/dist/{vue-ui-rating-D7b-kfyp.cjs → vue-ui-rating-DI3L8UYN.cjs} +1 -1
  101. package/dist/vue-ui-relation-circle-BJ_TOhIp.cjs +1 -0
  102. package/dist/vue-ui-relation-circle-DzZ5H4og.js +498 -0
  103. package/dist/vue-ui-rings-1qwg2E0O.cjs +2 -0
  104. package/dist/{vue-ui-rings-y9Zx-DaI.js → vue-ui-rings-43dY-4_7.js} +206 -201
  105. package/dist/vue-ui-scatter-cTK10i0K.cjs +1 -0
  106. package/dist/{vue-ui-scatter-Cbu5GDc1.js → vue-ui-scatter-q6Sfqa4W.js} +330 -324
  107. package/dist/{vue-ui-screenshot-BZh_sgjP.js → vue-ui-screenshot-CEy169Mc.js} +1 -1
  108. package/dist/{vue-ui-screenshot-oH-YnZBE.cjs → vue-ui-screenshot-gOGGT_ti.cjs} +1 -1
  109. package/dist/{vue-ui-skeleton-Nuju6X7l.cjs → vue-ui-skeleton-BTN1PKkz.cjs} +1 -1
  110. package/dist/{vue-ui-skeleton-DjFU2X3P.js → vue-ui-skeleton-BhA2lIT6.js} +3 -3
  111. package/dist/{vue-ui-smiley-DdnzzEYS.js → vue-ui-smiley-BAFdctGJ.js} +2 -2
  112. package/dist/{vue-ui-smiley-DtQVEc4B.cjs → vue-ui-smiley-BIEXWWWa.cjs} +1 -1
  113. package/dist/{vue-ui-spark-trend-CaIGk_53.js → vue-ui-spark-trend-Deg6oJxD.js} +5 -5
  114. package/dist/{vue-ui-spark-trend-B36zW41F.cjs → vue-ui-spark-trend-LqnAP3mZ.cjs} +1 -1
  115. package/dist/{vue-ui-sparkbar-iQKGtxo8.cjs → vue-ui-sparkbar-CJR8pSqp.cjs} +1 -1
  116. package/dist/{vue-ui-sparkbar-DixeozKp.js → vue-ui-sparkbar-Dm393iij.js} +4 -4
  117. package/dist/{vue-ui-sparkgauge-DEvgucF7.cjs → vue-ui-sparkgauge-DpP1XF6C.cjs} +1 -1
  118. package/dist/{vue-ui-sparkgauge-C01VB6KP.js → vue-ui-sparkgauge-WTo7H8eC.js} +4 -4
  119. package/dist/{vue-ui-sparkhistogram-CTUuxOma.cjs → vue-ui-sparkhistogram-CEvdVaLZ.cjs} +1 -1
  120. package/dist/{vue-ui-sparkhistogram-C_6lHF3O.js → vue-ui-sparkhistogram-DNVBeCU9.js} +5 -5
  121. package/dist/{vue-ui-sparkline-DrZWPGOG.cjs → vue-ui-sparkline-B87AKRMY.cjs} +1 -1
  122. package/dist/{vue-ui-sparkline-Btm4HVgi.js → vue-ui-sparkline-Bcn_JAfC.js} +4 -4
  123. package/dist/{vue-ui-sparkstackbar-7pcfCNMr.cjs → vue-ui-sparkstackbar-Cmafq74u.cjs} +1 -1
  124. package/dist/{vue-ui-sparkstackbar-D0UGUm-1.js → vue-ui-sparkstackbar-DPPTp1Tm.js} +5 -5
  125. package/dist/{vue-ui-stackbar-BPMDmY04.js → vue-ui-stackbar-BeXW23yH.js} +382 -376
  126. package/dist/vue-ui-stackbar-DeFiDh8a.cjs +6 -0
  127. package/dist/vue-ui-strip-plot-5n6Om5PH.cjs +1 -0
  128. package/dist/{vue-ui-strip-plot-BfWQMGXy.js → vue-ui-strip-plot-CG-wp65N.js} +261 -255
  129. package/dist/{vue-ui-table-Cdo265Yt.cjs → vue-ui-table-Bbfdq7B8.cjs} +1 -1
  130. package/dist/{vue-ui-table-D8GaLhM9.js → vue-ui-table-BzuWkWse.js} +1 -1
  131. package/dist/vue-ui-table-heatmap--Uj5nFcF.cjs +1 -0
  132. package/dist/vue-ui-table-heatmap-obAYC2HB.js +262 -0
  133. package/dist/vue-ui-table-sparkline-Buh41Ovt.cjs +1 -0
  134. package/dist/{vue-ui-table-sparkline-DMHf03C9.js → vue-ui-table-sparkline-CW0-ubzl.js} +288 -236
  135. package/dist/{vue-ui-thermometer-BCVqil7E.js → vue-ui-thermometer-BmgPuIr6.js} +187 -181
  136. package/dist/vue-ui-thermometer-DW10BlzG.cjs +1 -0
  137. package/dist/{vue-ui-timer-DF5HkeeS.js → vue-ui-timer-6eWSNYld.js} +5 -5
  138. package/dist/{vue-ui-timer-gxiLCP1n.cjs → vue-ui-timer-CKp_yNVJ.cjs} +1 -1
  139. package/dist/vue-ui-tiremarks-DeEI5TAa.js +323 -0
  140. package/dist/vue-ui-tiremarks-nb8r7akm.cjs +1 -0
  141. package/dist/vue-ui-treemap-B54QUZ46.cjs +1 -0
  142. package/dist/{vue-ui-treemap-CIZaPmbi.js → vue-ui-treemap-tlPZye6M.js} +261 -255
  143. package/dist/{vue-ui-vertical-bar-dQoTddqU.js → vue-ui-vertical-bar-BIst1a32.js} +251 -245
  144. package/dist/vue-ui-vertical-bar-CCXF79YU.cjs +4 -0
  145. package/dist/vue-ui-waffle-Dctw-uNI.cjs +1 -0
  146. package/dist/{vue-ui-waffle-CnvWOEVU.js → vue-ui-waffle-iJT4g4Ht.js} +333 -327
  147. package/dist/vue-ui-wheel-DnCpgZZo.cjs +1 -0
  148. package/dist/vue-ui-wheel-v1_jsNWp.js +305 -0
  149. package/dist/vue-ui-word-cloud-BXa6XzUJ.cjs +1 -0
  150. package/dist/{vue-ui-word-cloud-o3zU6r0-.js → vue-ui-word-cloud-DR8E1ArH.js} +247 -241
  151. package/dist/{vue-ui-xy-GR4PGBDy.js → vue-ui-xy-BZ3lbw6i.js} +708 -697
  152. package/dist/vue-ui-xy-CvFWhRR-.cjs +3 -0
  153. package/dist/vue-ui-xy-canvas-BVw3zOIC.cjs +9 -0
  154. package/dist/{vue-ui-xy-canvas-BKGOnjut.js → vue-ui-xy-canvas-hPcU2SBK.js} +344 -338
  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-carousel-table-I1m4HMWf.js +0 -373
  163. package/dist/vue-ui-chestnut-D-WzX16q.cjs +0 -6
  164. package/dist/vue-ui-donut-Ce1SaXNu.cjs +0 -1
  165. package/dist/vue-ui-donut-evolution-DI8yeIa4.cjs +0 -1
  166. package/dist/vue-ui-dumbbell-CFJkwtM8.cjs +0 -9
  167. package/dist/vue-ui-flow-B4MtorhO.cjs +0 -1
  168. package/dist/vue-ui-funnel-DNL12vLQ.cjs +0 -1
  169. package/dist/vue-ui-galaxy-CmCZGOKz.cjs +0 -1
  170. package/dist/vue-ui-gauge-B7ieQMud.cjs +0 -1
  171. package/dist/vue-ui-heatmap-Bfi3KJwS.cjs +0 -1
  172. package/dist/vue-ui-history-plot-5kZ54hgy.cjs +0 -1
  173. package/dist/vue-ui-molecule-D-4cRS5w.cjs +0 -1
  174. package/dist/vue-ui-mood-radar-C3x_LH7Q.cjs +0 -1
  175. package/dist/vue-ui-nested-donuts-DrL7-SUd.cjs +0 -17
  176. package/dist/vue-ui-onion-8Vz3lPbn.cjs +0 -5
  177. package/dist/vue-ui-parallel-coordinate-plot-D6q4WQ0B.cjs +0 -8
  178. package/dist/vue-ui-quadrant-DBZS5jFQ.cjs +0 -1
  179. package/dist/vue-ui-quick-chart-Cno_1mzu.cjs +0 -15
  180. package/dist/vue-ui-radar-ChcBO21S.cjs +0 -1
  181. package/dist/vue-ui-relation-circle-C5pO0iHY.cjs +0 -1
  182. package/dist/vue-ui-relation-circle-D2iwmChn.js +0 -492
  183. package/dist/vue-ui-rings-C_NLJYs8.cjs +0 -2
  184. package/dist/vue-ui-scatter-BNeMGDNk.cjs +0 -1
  185. package/dist/vue-ui-stackbar-BwRdmPvB.cjs +0 -6
  186. package/dist/vue-ui-strip-plot-CLN9LikJ.cjs +0 -1
  187. package/dist/vue-ui-table-heatmap-C4DRSfsE.js +0 -256
  188. package/dist/vue-ui-table-heatmap-CDAf1IIk.cjs +0 -1
  189. package/dist/vue-ui-table-sparkline-Cw7NOiYx.cjs +0 -1
  190. package/dist/vue-ui-thermometer-7BORZJjd.cjs +0 -1
  191. package/dist/vue-ui-tiremarks-CwGnFx4f.cjs +0 -1
  192. package/dist/vue-ui-tiremarks-lidhcJsi.js +0 -317
  193. package/dist/vue-ui-treemap-BZ_LmiBK.cjs +0 -1
  194. package/dist/vue-ui-vertical-bar-venrkqjM.cjs +0 -4
  195. package/dist/vue-ui-waffle-oR54BbIg.cjs +0 -1
  196. package/dist/vue-ui-wheel-BUHZEzPr.cjs +0 -1
  197. package/dist/vue-ui-wheel-D3itrMku.js +0 -299
  198. package/dist/vue-ui-word-cloud-87gwksmM.cjs +0 -1
  199. package/dist/vue-ui-xy-D56pm4L0.cjs +0 -3
  200. 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 q, 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 J, i as _e, x as tt, y as lt, q as ot, r as at } from "./index-K5uyh1gA.js";
3
+ import { t as st, u as nt } from "./useResponsive-CoxXLe23.js";
4
+ import { _ as rt } from "./Title-aMb2ETf7.js";
5
+ import { u as ut, U as it } from "./usePrinter-p_ZZlGc9.js";
6
+ import { _ as vt } from "./Tooltip-BRZ3DT4p.js";
7
+ import { D as ct } from "./DataTable-COkA4Nyz.js";
8
+ import { L as dt } from "./Legend-bYlSC7I7.js";
9
+ import pt from "./vue-ui-skeleton-BhA2lIT6.js";
10
+ import ht from "./vue-ui-accordion-CsJT7Az3.js";
11
+ import { u as xe } from "./useNestedProp-DifqJZAs.js";
12
+ import { _ as gt } from "./PackageVersion-Dz3KcTL4.js";
13
+ import { P as ft } from "./PenAndPaper-BycdTwSP.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
+ }, Ot = ["onClick"], Pt = { key: 0 }, St = { key: 1 }, Lt = ["innerHTML"], At = {
19
20
  __name: "vue-ui-rings",
20
21
  props: {
21
22
  config: {
@@ -32,44 +33,44 @@ 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: Oe, emit: Pe }) {
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), K = n(0), O = n(null), Q = n(null), Z = n(null), ee = n(null), te = n(null), le = n(0), oe = n(0), ae = n(0), e = v({
38
+ get: () => re(),
38
39
  set: (t) => t
39
- });
40
- function ae() {
41
- const t = $e({
40
+ }), { userOptionsVisible: H, 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(), H.value = !e.value.showOnChartHover, ue(), le.value += 1, oe.value += 1, ae.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) ? q({
62
63
  componentName: "VueUiRings",
63
64
  type: "dataset"
64
65
  }) : y.dataset.forEach((t, o) => {
65
- t.values.length || Y({
66
+ t.values.length || q({
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) => {
72
- Y({
73
+ q({
73
74
  componentName: "VueUiRings",
74
75
  type: "datasetSerieAttribute",
75
76
  property: 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({
82
- chart: P.value,
83
- title: e.value.style.chart.title.text ? K.value : null,
84
- legend: e.value.style.chart.legend.show ? Q.value : null,
85
- source: Z.value,
86
- noTitle: ee.value
81
+ const t = st(() => {
82
+ const { width: o, height: l } = nt({
83
+ chart: O.value,
84
+ title: e.value.style.chart.title.text ? Q.value : null,
85
+ legend: e.value.style.chart.legend.show ? Z.value : null,
86
+ source: ee.value,
87
+ noTitle: te.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(O.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
- 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) => ({
109
+ }), Fe = v(() => Math.min(i.value.height, i.value.width)), c = n([]);
110
+ function X(t) {
111
+ c.value.includes(t) ? c.value = c.value.filter((o) => o !== t) : c.value.push(t), Pe("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
- segregate: () => H(t.uid),
136
+ segregate: () => X(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,17 +162,17 @@ 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), j = n(null);
166
+ function ze(t, o) {
166
167
  if (c.value.length === y.dataset.length) return;
167
- X.value = {
168
+ j.value = {
168
169
  datapoint: o,
169
170
  seriesIndex: t,
170
171
  series: d.value,
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,69 +251,70 @@ 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 P = n(!1);
263
+ function Re(t) {
264
+ P.value = t, K.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
- function j() {
273
- U.value = !U.value;
272
+ const D = n(!1);
273
+ function Y() {
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,
282
- toggleAnnotator: j
283
- }), (t, o) => (r(), f("div", {
276
+ return Oe({
277
+ getData: Ve,
278
+ generatePdf: ce,
279
+ generateCsv: fe,
280
+ generateImage: de,
281
+ toggleTable: ye,
282
+ toggleTooltip: me,
283
+ toggleAnnotator: Y
284
+ }), (t, o) => (u(), f("div", {
284
285
  ref_key: "ringsChart",
285
- 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%" : ""}`),
286
+ ref: O,
287
+ class: W(`vue-ui-rings ${P.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
- parent: P.value,
297
+ parent: O.value,
296
298
  backgroundColor: e.value.style.chart.backgroundColor,
297
299
  color: e.value.style.chart.color,
298
- active: U.value,
299
- onClose: j
300
+ active: D.value,
301
+ onClose: Y
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
- ref: ee,
306
+ ref: te,
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
- ref: K,
313
+ ref: Q,
312
314
  style: "width:100%;background:transparent"
313
315
  }, [
314
- (r(), _(at, {
315
- key: `title_${te.value}`,
316
+ (u(), _(rt, {
317
+ key: `title_${le.value}`,
316
318
  config: {
317
319
  title: {
318
320
  cy: "rings-div-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(H)) ? (u(), _(it, {
329
331
  ref_key: "details",
330
- ref: Pe,
331
- key: `user_options_${J.value}`,
332
+ ref: Le,
333
+ key: `user_options_${K.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: P.value,
345
347
  titles: { ...e.value.userOptions.buttonTitles },
346
- chartElement: P.value,
348
+ chartElement: O.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: Y,
359
+ style: S({
360
+ visibility: r(ne) ? r(H) ? "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": P.value, "vue-data-ui-fulscreen--off": !P.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(J)(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(J)(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(J)(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",
@@ -493,24 +498,24 @@ const gt = ["id"], ft = ["xmlns", "viewBox"], yt = ["id"], mt = ["stop-color"],
493
498
  }, null, 8, ["config"])),
494
499
  C("div", {
495
500
  ref_key: "chartLegend",
496
- ref: Q
501
+ ref: Z
497
502
  }, [
498
- e.value.style.chart.legend.show ? (r(), _(it, {
499
- key: `legend_${oe.value}`,
500
- legendSet: de.value,
501
- config: Fe.value,
502
- onClickMarker: o[1] || (o[1] = ({ legend: l }) => H(l.uid))
503
+ e.value.style.chart.legend.show ? (u(), _(dt, {
504
+ key: `legend_${ae.value}`,
505
+ legendSet: ge.value,
506
+ config: Me.value,
507
+ onClickMarker: o[1] || (o[1] = ({ legend: l }) => X(l.uid))
503
508
  }, {
504
509
  item: p(({ legend: l, index: a }) => [
505
510
  C("div", {
506
511
  "data-cy-legend-item": "",
507
- onClick: (s) => H(l.uid),
508
- style: O(`opacity:${c.value.includes(l.uid) ? 0.5 : 1}`)
512
+ onClick: (s) => X(l.uid),
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,29 +523,29 @@ 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", Pt, " (" + 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, Ot)
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
- ref: Z,
542
+ ref: ee,
538
543
  dir: "auto"
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,
@@ -550,20 +555,20 @@ const gt = ["id"], ft = ["xmlns", "viewBox"], yt = ["id"], mt = ["stop-color"],
550
555
  backgroundOpacity: e.value.style.chart.tooltip.backgroundOpacity,
551
556
  position: e.value.style.chart.tooltip.position,
552
557
  offsetY: e.value.style.chart.tooltip.offsetY,
553
- parent: P.value,
558
+ parent: O.value,
554
559
  content: G.value,
555
- isFullscreen: L.value,
560
+ isFullscreen: P.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(() => [
559
- h(t.$slots, "tooltip-before", I(M({ ...X.value })), void 0, !0)
564
+ h(t.$slots, "tooltip-before", I(M({ ...j.value })), void 0, !0)
560
565
  ]),
561
566
  "tooltip-after": p(() => [
562
- h(t.$slots, "tooltip-after", I(M({ ...X.value })), void 0, !0)
567
+ h(t.$slots, "tooltip-after", I(M({ ...j.value })), void 0, !0)
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, {
584
- key: `table_${le.value}`,
585
- colNames: D.value.colNames,
586
- head: D.value.head,
587
- body: D.value.body,
588
- config: D.value.config,
588
+ (u(), _(ct, {
589
+ key: `table_${oe.value}`,
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-2f2c85e4"]]);
609
614
  export {
610
- Et as default
615
+ Yt as default
611
616
  };