vue-data-ui 2.9.7-beta.1 → 2.9.7-beta.2

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 (163) hide show
  1. package/dist/{Arrow-Bz2zEcyE.js → Arrow-CqzHZi8Q.js} +1 -1
  2. package/dist/{Arrow-BDYqVc7p.cjs → Arrow-Dmv3DG1O.cjs} +1 -1
  3. package/dist/{BaseIcon-xGT7xJnn.js → BaseIcon-Co2GD8iT.js} +1 -1
  4. package/dist/{BaseIcon-Dvzth12-.cjs → BaseIcon-u4GDoMqC.cjs} +1 -1
  5. package/dist/{ColorPicker-Be4dyfSY.js → ColorPicker-BCkyeJDN.js} +3 -3
  6. package/dist/{ColorPicker-BTyFezxo.cjs → ColorPicker-TxdEJSJA.cjs} +1 -1
  7. package/dist/{DataTable-jQUrRh9B.js → DataTable-B3skHSzt.js} +2 -2
  8. package/dist/{DataTable-DkpRxpK1.cjs → DataTable-Pc2DuENx.cjs} +1 -1
  9. package/dist/{Legend-6QUlR6nT.cjs → Legend-D7ABxVCH.cjs} +1 -1
  10. package/dist/{Legend-DCwwpz6j.js → Legend-DTJsfZrl.js} +2 -2
  11. package/dist/{PackageVersion-Dffpfs0E.js → PackageVersion-BgDb-mVy.js} +1 -1
  12. package/dist/{PackageVersion-Bmq_Rden.cjs → PackageVersion-cu45Cd7Q.cjs} +1 -1
  13. package/dist/{PenAndPaper-ByeWWt4I.cjs → PenAndPaper-DsGKn0if.cjs} +1 -1
  14. package/dist/{PenAndPaper-DgeL3oKs.js → PenAndPaper-DvnLOqKv.js} +3 -3
  15. package/dist/{Shape-Cd10Dxv4.js → Shape-C3dD_oLo.js} +1 -1
  16. package/dist/{Shape-CkE4y7L4.cjs → Shape-aAU_ZjZn.cjs} +1 -1
  17. package/dist/{Slicer-M1ResLDK.js → Slicer-CX9XuFH6.js} +2 -2
  18. package/dist/{Slicer-CsZdctS1.cjs → Slicer-CvgJkIO1.cjs} +1 -1
  19. package/dist/{Title-CvXzZeEb.cjs → Title-D7CSzIey.cjs} +1 -1
  20. package/dist/{Title-DTFwdW6y.js → Title-DHJyUsEV.js} +1 -1
  21. package/dist/{Tooltip-CNgQVGXX.js → Tooltip-BiDlRju4.js} +1 -1
  22. package/dist/{Tooltip-DQgWYT7j.cjs → Tooltip-gOeHT7nf.cjs} +1 -1
  23. package/dist/{dom-to-png-y63T8Y5f.js → dom-to-png-BTRzNtXu.js} +1 -1
  24. package/dist/{dom-to-png-Bl85cZIy.cjs → dom-to-png-DAQ_l__k.cjs} +1 -1
  25. package/dist/{img-uWJ1eTug.cjs → img-BaTvkV_a.cjs} +1 -1
  26. package/dist/{img-BAvFNhyt.js → img-CzBF7u0N.js} +1 -1
  27. package/dist/{index-dZn5kXWH.js → index-DJL8Ofhe.js} +700 -685
  28. package/dist/{index-BxxejAie.cjs → index-DLbKJzFv.cjs} +5 -5
  29. package/dist/{pdf-B3FJiCmw.cjs → pdf-BlmUC6sI.cjs} +1 -1
  30. package/dist/{pdf-hCbsffvj.js → pdf-DhJ5pt15.js} +1 -1
  31. package/dist/style.css +1 -1
  32. package/dist/{useNestedProp-fJ2Uyt99.cjs → useNestedProp-Dk1b2iP1.cjs} +1 -1
  33. package/dist/{useNestedProp-uXqTvVZ6.js → useNestedProp-nW23xHng.js} +1 -1
  34. package/dist/{usePrinter-B5W9BghM.js → usePrinter-BB_LyyCt.js} +3 -3
  35. package/dist/{usePrinter-piikzkuQ.cjs → usePrinter-ND-BQoMz.cjs} +1 -1
  36. package/dist/{vue-data-ui-B4xWWnGz.js → vue-data-ui-CgQH4LgG.js} +62 -62
  37. package/dist/{vue-data-ui-C2dYJIR6.cjs → vue-data-ui-c3RnvmYN.cjs} +1 -1
  38. package/dist/vue-data-ui.cjs +1 -1
  39. package/dist/vue-data-ui.js +1 -1
  40. package/dist/{vue-ui-3d-bar-B5kPeh3R.cjs → vue-ui-3d-bar-CE8WiQxp.cjs} +1 -1
  41. package/dist/{vue-ui-3d-bar-Fzal48H7.js → vue-ui-3d-bar-HpDKnl32.js} +9 -9
  42. package/dist/{vue-ui-accordion-hnKAB3UB.js → vue-ui-accordion-CFo12sAN.js} +3 -3
  43. package/dist/{vue-ui-accordion-D324uXUs.cjs → vue-ui-accordion-CqH39_fY.cjs} +1 -1
  44. package/dist/{vue-ui-age-pyramid-CqkyzIXi.cjs → vue-ui-age-pyramid-BC9-B9yv.cjs} +1 -1
  45. package/dist/{vue-ui-age-pyramid-Dw8RU3fo.js → vue-ui-age-pyramid-CN-sq5YS.js} +10 -10
  46. package/dist/{vue-ui-annotator-pUd0z7hH.cjs → vue-ui-annotator-CthlwI9C.cjs} +1 -1
  47. package/dist/{vue-ui-annotator-Cg44qBNA.js → vue-ui-annotator-D0LfKtI0.js} +2 -2
  48. package/dist/{vue-ui-bullet-BZ3vfRq7.js → vue-ui-bullet-CIs7dVYD.js} +8 -8
  49. package/dist/{vue-ui-bullet-BKAEOpim.cjs → vue-ui-bullet-qFLSoZ7R.cjs} +1 -1
  50. package/dist/{vue-ui-candlestick-CSJ9mWo0.js → vue-ui-candlestick-CZXoNI5-.js} +11 -11
  51. package/dist/{vue-ui-candlestick-BH3Fr64W.cjs → vue-ui-candlestick-D3itWQyS.cjs} +1 -1
  52. package/dist/{vue-ui-carousel-table-f4g2tPd6.js → vue-ui-carousel-table-BJks-t0F.js} +4 -4
  53. package/dist/{vue-ui-carousel-table-BvFacP5B.cjs → vue-ui-carousel-table-DR6mLDXS.cjs} +1 -1
  54. package/dist/{vue-ui-chestnut-B4tH1NsY.js → vue-ui-chestnut-DtwKoZVx.js} +8 -8
  55. package/dist/{vue-ui-chestnut-CsHD47W2.cjs → vue-ui-chestnut-vbMTupca.cjs} +1 -1
  56. package/dist/{vue-ui-circle-pack-Dv1JM47Y.cjs → vue-ui-circle-pack-CjQ2Y9gC.cjs} +1 -1
  57. package/dist/{vue-ui-circle-pack-BCekfuTl.js → vue-ui-circle-pack-bUeFMf5j.js} +9 -9
  58. package/dist/{vue-ui-cursor-BOaEBh8K.js → vue-ui-cursor-C0L8cauU.js} +2 -2
  59. package/dist/{vue-ui-cursor-DILIt5Ls.cjs → vue-ui-cursor-CdGDHOul.cjs} +1 -1
  60. package/dist/{vue-ui-dashboard-Dg09VIwT.js → vue-ui-dashboard-8vtjWsF-.js} +62 -62
  61. package/dist/{vue-ui-dashboard-yky1BoX1.cjs → vue-ui-dashboard-IUEnZPy6.cjs} +1 -1
  62. package/dist/{vue-ui-digits-rCyDXucx.cjs → vue-ui-digits-C8DYjCtf.cjs} +1 -1
  63. package/dist/{vue-ui-digits-DHSipUKE.js → vue-ui-digits-DJbK1Zc6.js} +2 -2
  64. package/dist/{vue-ui-donut-Dz4uz6yZ.cjs → vue-ui-donut-AYQgS2Mc.cjs} +1 -1
  65. package/dist/{vue-ui-donut-C0-b6MaS.js → vue-ui-donut-BYzTJfDn.js} +12 -12
  66. package/dist/{vue-ui-donut-evolution-T2o954MU.js → vue-ui-donut-evolution-BrGPzJc1.js} +11 -11
  67. package/dist/{vue-ui-donut-evolution-BfFxQ53a.cjs → vue-ui-donut-evolution-OPRjDSk0.cjs} +1 -1
  68. package/dist/{vue-ui-dumbbell-DirbX29v.cjs → vue-ui-dumbbell-BGE-Vtn-.cjs} +1 -1
  69. package/dist/{vue-ui-dumbbell-C-JHVfQK.js → vue-ui-dumbbell-Df1Urqjs.js} +10 -10
  70. package/dist/{vue-ui-flow-pdIZMWGU.cjs → vue-ui-flow-CiB4nD91.cjs} +1 -1
  71. package/dist/{vue-ui-flow-Cnqon6JE.js → vue-ui-flow-MlzqqBrd.js} +9 -9
  72. package/dist/{vue-ui-funnel-D0EYYR5q.cjs → vue-ui-funnel-Bhklhpio.cjs} +1 -1
  73. package/dist/{vue-ui-funnel-DDGgRUL_.js → vue-ui-funnel-DTdKm16w.js} +9 -9
  74. package/dist/{vue-ui-galaxy-5Lp5jcVx.js → vue-ui-galaxy-DOUHqcDm.js} +11 -11
  75. package/dist/{vue-ui-galaxy-C4QUHRn3.cjs → vue-ui-galaxy-P9p_cDXv.cjs} +1 -1
  76. package/dist/{vue-ui-gauge-BWdmnfk7.js → vue-ui-gauge-BbI8A7r2.js} +7 -7
  77. package/dist/{vue-ui-gauge-n0llGxB3.cjs → vue-ui-gauge-Df-gHwfR.cjs} +1 -1
  78. package/dist/{vue-ui-gizmo-56KcpzEi.cjs → vue-ui-gizmo-B114Z8rm.cjs} +1 -1
  79. package/dist/{vue-ui-gizmo-CwXTG2rg.js → vue-ui-gizmo-CMG7lxqw.js} +3 -3
  80. package/dist/{vue-ui-heatmap-BPhN0t20.cjs → vue-ui-heatmap-C6ImAtcX.cjs} +1 -1
  81. package/dist/{vue-ui-heatmap-DsuOdL-_.js → vue-ui-heatmap-gEpHCMS4.js} +10 -10
  82. package/dist/{vue-ui-history-plot-CYury7gY.cjs → vue-ui-history-plot-C4OvU51J.cjs} +1 -1
  83. package/dist/{vue-ui-history-plot-C4F8Dt5u.js → vue-ui-history-plot-DK23xnI5.js} +11 -11
  84. package/dist/{vue-ui-kpi-DWJKi_Rg.cjs → vue-ui-kpi-CIl0Doue.cjs} +1 -1
  85. package/dist/{vue-ui-kpi-BUZSIvhd.js → vue-ui-kpi-rNIvGzIt.js} +3 -3
  86. package/dist/{vue-ui-mini-loader-CZHn7s8C.js → vue-ui-mini-loader-BbgEf7vG.js} +2 -2
  87. package/dist/{vue-ui-mini-loader-C6KZynyq.cjs → vue-ui-mini-loader-Dvs2ojcn.cjs} +1 -1
  88. package/dist/{vue-ui-molecule-CESE6y3-.cjs → vue-ui-molecule-BhC-Mwbx.cjs} +1 -1
  89. package/dist/{vue-ui-molecule-RkEuKZfw.js → vue-ui-molecule-CesW7xLf.js} +11 -11
  90. package/dist/{vue-ui-mood-radar-D8cC7b4H.js → vue-ui-mood-radar-CAzWMx5r.js} +11 -11
  91. package/dist/{vue-ui-mood-radar-s5D-LXhx.cjs → vue-ui-mood-radar-DrE2J_Yc.cjs} +1 -1
  92. package/dist/{vue-ui-nested-donuts-BPV5CMmn.cjs → vue-ui-nested-donuts-Bz9iokWt.cjs} +1 -1
  93. package/dist/{vue-ui-nested-donuts-D-FYuXRA.js → vue-ui-nested-donuts-uxgCIhIq.js} +11 -11
  94. package/dist/{vue-ui-onion-D-hvBCBK.cjs → vue-ui-onion-B7RD5guS.cjs} +1 -1
  95. package/dist/{vue-ui-onion-C2IuYY1_.js → vue-ui-onion-LcWmxpSV.js} +11 -11
  96. package/dist/{vue-ui-parallel-coordinate-plot-nOYz2jJn.cjs → vue-ui-parallel-coordinate-plot-BDco3R-T.cjs} +1 -1
  97. package/dist/{vue-ui-parallel-coordinate-plot-B1O55-rm.js → vue-ui-parallel-coordinate-plot-BhAk5SsH.js} +12 -12
  98. package/dist/{vue-ui-quadrant-DYhGwlfe.cjs → vue-ui-quadrant-BShHcqi4.cjs} +1 -1
  99. package/dist/{vue-ui-quadrant-B0_OxcFz.js → vue-ui-quadrant-DnOiPnEZ.js} +12 -12
  100. package/dist/{vue-ui-quick-chart-Dh5PExEE.cjs → vue-ui-quick-chart-1Rb8Gdxh.cjs} +1 -1
  101. package/dist/{vue-ui-quick-chart-DRmt8uTr.js → vue-ui-quick-chart-BiuwgTza.js} +9 -9
  102. package/dist/{vue-ui-radar-BSKl6NaZ.js → vue-ui-radar-B44Cnogk.js} +12 -12
  103. package/dist/{vue-ui-radar-bTmYQTD8.cjs → vue-ui-radar-Cu9lFbgi.cjs} +1 -1
  104. package/dist/{vue-ui-rating-DhZNtU-G.cjs → vue-ui-rating-BNLwAuiQ.cjs} +1 -1
  105. package/dist/{vue-ui-rating-h8ElTbDc.js → vue-ui-rating-HcMLaCbL.js} +2 -2
  106. package/dist/{vue-ui-relation-circle-QKX4wATN.cjs → vue-ui-relation-circle-Cd_cW1qY.cjs} +1 -1
  107. package/dist/{vue-ui-relation-circle-BaWJr8To.js → vue-ui-relation-circle-D3hnErJq.js} +7 -7
  108. package/dist/vue-ui-ridgeline-CgqC0n4D.cjs +1 -0
  109. package/dist/{vue-ui-ridgeline-D1GUsvXX.js → vue-ui-ridgeline-D5JbWdEM.js} +69 -71
  110. package/dist/{vue-ui-rings-CTejFHE3.js → vue-ui-rings-D-aQntRc.js} +12 -12
  111. package/dist/{vue-ui-rings-BF-pJGFw.cjs → vue-ui-rings-DPxshbGw.cjs} +1 -1
  112. package/dist/{vue-ui-scatter-CxzLQ9E9.cjs → vue-ui-scatter-CuCMFwJg.cjs} +1 -1
  113. package/dist/{vue-ui-scatter-DwAuYDAJ.js → vue-ui-scatter-br228rFX.js} +12 -12
  114. package/dist/{vue-ui-skeleton-BncdTK_J.cjs → vue-ui-skeleton-CMaSSD6o.cjs} +1 -1
  115. package/dist/{vue-ui-skeleton-N92OEV1V.js → vue-ui-skeleton-D7wiUDgm.js} +3 -3
  116. package/dist/{vue-ui-smiley-C0XYZpqy.js → vue-ui-smiley-DVo_0MHj.js} +2 -2
  117. package/dist/{vue-ui-smiley-CbodcLLJ.cjs → vue-ui-smiley-kyFpW_kA.cjs} +1 -1
  118. package/dist/{vue-ui-spark-trend-Dj8qsN6G.js → vue-ui-spark-trend-D_ModK3j.js} +5 -5
  119. package/dist/{vue-ui-spark-trend-y_GuosnD.cjs → vue-ui-spark-trend-aTK-J8aC.cjs} +1 -1
  120. package/dist/{vue-ui-sparkbar-Benj8HGj.js → vue-ui-sparkbar-D7Vsnq63.js} +4 -4
  121. package/dist/{vue-ui-sparkbar-CxJmv5ML.cjs → vue-ui-sparkbar-DiDgX0gr.cjs} +1 -1
  122. package/dist/{vue-ui-sparkgauge-zIBTPmsR.cjs → vue-ui-sparkgauge-DJm_Nvcx.cjs} +1 -1
  123. package/dist/{vue-ui-sparkgauge-E-1gEmG-.js → vue-ui-sparkgauge-DRA3dpfC.js} +4 -4
  124. package/dist/{vue-ui-sparkhistogram-pICEX61o.js → vue-ui-sparkhistogram-B7U0t5tO.js} +5 -5
  125. package/dist/{vue-ui-sparkhistogram-XRkWTqkN.cjs → vue-ui-sparkhistogram-ClG0n9e6.cjs} +1 -1
  126. package/dist/{vue-ui-sparkline-DV5D_RQh.cjs → vue-ui-sparkline-D_e4klXq.cjs} +1 -1
  127. package/dist/{vue-ui-sparkline-D81DEBjv.js → vue-ui-sparkline-Dcqe9RMU.js} +4 -4
  128. package/dist/{vue-ui-sparkstackbar-DMNg9ak3.cjs → vue-ui-sparkstackbar-ClZHR3KP.cjs} +1 -1
  129. package/dist/{vue-ui-sparkstackbar-BpcCOvAI.js → vue-ui-sparkstackbar-DhVYMKpF.js} +5 -5
  130. package/dist/{vue-ui-stackbar-PnD1hK3i.cjs → vue-ui-stackbar-DVW990H1.cjs} +1 -1
  131. package/dist/{vue-ui-stackbar-G15qxsMd.js → vue-ui-stackbar-DXyeVGTw.js} +13 -13
  132. package/dist/{vue-ui-strip-plot-ChHICkYn.cjs → vue-ui-strip-plot-BlT2QZb4.cjs} +1 -1
  133. package/dist/{vue-ui-strip-plot-DJ1j7lKY.js → vue-ui-strip-plot-CHPFuwaa.js} +11 -11
  134. package/dist/{vue-ui-table-CPWbYP3g.js → vue-ui-table-BU_RX8eF.js} +3 -3
  135. package/dist/{vue-ui-table-B3GPUNC6.cjs → vue-ui-table-DY1LtXlo.cjs} +1 -1
  136. package/dist/{vue-ui-table-heatmap-BozZIGw6.js → vue-ui-table-heatmap--MfqVTuk.js} +4 -4
  137. package/dist/{vue-ui-table-heatmap-eN_RvRGE.cjs → vue-ui-table-heatmap-BQ6f7H8R.cjs} +1 -1
  138. package/dist/{vue-ui-table-sparkline-CdDRwxTd.js → vue-ui-table-sparkline-AnQprRCq.js} +5 -5
  139. package/dist/{vue-ui-table-sparkline-8n1TE1wF.cjs → vue-ui-table-sparkline-B80CgEgL.cjs} +1 -1
  140. package/dist/{vue-ui-thermometer-BVRKMtH8.cjs → vue-ui-thermometer-B6JxCWyh.cjs} +1 -1
  141. package/dist/{vue-ui-thermometer-Bi8kEUpd.js → vue-ui-thermometer-DEcbD5Vl.js} +7 -7
  142. package/dist/{vue-ui-timer-BTKEuhNh.cjs → vue-ui-timer-CW8OvzpT.cjs} +1 -1
  143. package/dist/{vue-ui-timer-DM3UD4U1.js → vue-ui-timer-sF5kCLeW.js} +5 -5
  144. package/dist/{vue-ui-tiremarks-B7VBbIEY.js → vue-ui-tiremarks-CjrIF2Mk.js} +7 -7
  145. package/dist/{vue-ui-tiremarks-_i2hr2b5.cjs → vue-ui-tiremarks-dm0DjTho.cjs} +1 -1
  146. package/dist/{vue-ui-treemap-CB0VxAnH.js → vue-ui-treemap-Bxg0U82X.js} +12 -12
  147. package/dist/{vue-ui-treemap-CKy9D8Ea.cjs → vue-ui-treemap-gHiNxWQX.cjs} +1 -1
  148. package/dist/{vue-ui-vertical-bar-BBJzPtdF.cjs → vue-ui-vertical-bar-BY4Hs3yT.cjs} +1 -1
  149. package/dist/{vue-ui-vertical-bar-BEPc3lno.js → vue-ui-vertical-bar-Bj0TK9XT.js} +12 -12
  150. package/dist/{vue-ui-waffle-BzFCNnbT.js → vue-ui-waffle-DPDYdYlN.js} +12 -12
  151. package/dist/{vue-ui-waffle-jsCU5pDG.cjs → vue-ui-waffle-GD5dIHI0.cjs} +1 -1
  152. package/dist/{vue-ui-wheel-Fngpvu0X.js → vue-ui-wheel-BpzWH2Ar.js} +7 -7
  153. package/dist/{vue-ui-wheel-BFQjYYox.cjs → vue-ui-wheel-CMTdv2q8.cjs} +1 -1
  154. package/dist/{vue-ui-word-cloud-LaXnNCwH.cjs → vue-ui-word-cloud-DzFQGIIN.cjs} +1 -1
  155. package/dist/{vue-ui-word-cloud-DVk6cKMt.js → vue-ui-word-cloud-ajv3G3Ci.js} +10 -10
  156. package/dist/{vue-ui-world-jSuq2wK6.js → vue-ui-world-CQ0SuEaE.js} +11 -11
  157. package/dist/{vue-ui-world-mEXGnJBH.cjs → vue-ui-world-Cwsb-iTP.cjs} +1 -1
  158. package/dist/{vue-ui-xy-DL8afDjw.js → vue-ui-xy-N35O_x2x.js} +16 -16
  159. package/dist/{vue-ui-xy-canvas-BolKnmNP.js → vue-ui-xy-canvas-C9PGQ5GZ.js} +12 -12
  160. package/dist/{vue-ui-xy-canvas-BnH7Yka3.cjs → vue-ui-xy-canvas-CRTd0LAN.cjs} +1 -1
  161. package/dist/{vue-ui-xy-b2wVPLx_.cjs → vue-ui-xy-eSIDt2oX.cjs} +2 -2
  162. package/package.json +1 -1
  163. package/dist/vue-ui-ridgeline-DqHfwFSt.cjs +0 -1
@@ -1,21 +1,21 @@
1
1
  import { useCssVars as xt, ref as h, reactive as bt, computed as w, onUnmounted as kt, createBlock as T, openBlock as r, Teleport as wt, createElementBlock as u, createCommentVNode as y, withModifiers as W, normalizeStyle as P, createElementVNode as c, unref as g, renderSlot as k, createVNode as qe, nextTick as Je, onMounted as Ct, onBeforeUnmount as $t, watch as Re, normalizeClass as Be, createSlots as We, withCtx as C, normalizeProps as de, guardReactiveProps as ve, Fragment as b, renderList as M, mergeProps as Ye, toDisplayString as j, createTextVNode as Ve } from "vue";
2
- import { X as Ke, u as At, c as $e, o as St, e as Ae, g as Ue, b as _t, d as zt, p as he, ak as Ge, a7 as Mt, R as Lt, G as Tt, i as fe, f as ge, t as Ot, a as Et, q as Pt, r as Dt } from "./index-dZn5kXWH.js";
3
- import { u as Nt } from "./useUserOptionState-BIvW1Kz7.js";
4
- import { u as Xt } from "./useChartAccessibility-BWojgys7.js";
5
- import { u as It, U as Ft } from "./usePrinter-B5W9BghM.js";
6
- import { t as Ht, u as Rt } from "./useResponsive-Cw4oZ8sQ.js";
7
- import { u as je } from "./useNestedProp-uXqTvVZ6.js";
8
- import Bt from "./vue-ui-accordion-hnKAB3UB.js";
9
- import Wt from "./BaseIcon-xGT7xJnn.js";
2
+ import { X as Ke, u as At, c as $e, o as St, e as Ae, g as Ue, b as _t, d as zt, p as he, ak as Ge, a7 as Mt, R as Lt, G as Tt, i as fe, f as ge, t as Ot, a as Et, q as Pt, r as Dt, al as Nt } from "./index-DJL8Ofhe.js";
3
+ import { u as Xt } from "./useUserOptionState-BIvW1Kz7.js";
4
+ import { u as It } from "./useChartAccessibility-BWojgys7.js";
5
+ import { u as Ft, U as Ht } from "./usePrinter-BB_LyyCt.js";
6
+ import { t as Rt, u as Bt } from "./useResponsive-Cw4oZ8sQ.js";
7
+ import { u as je } from "./useNestedProp-nW23xHng.js";
8
+ import Wt from "./vue-ui-accordion-CFo12sAN.js";
9
+ import Yt from "./BaseIcon-Co2GD8iT.js";
10
10
  import { _ as Qe } from "./_plugin-vue_export-helper-CHgC5LLL.js";
11
- import { D as Yt } from "./DataTable-jQUrRh9B.js";
12
- import { L as Vt } from "./Legend-DCwwpz6j.js";
13
- import { _ as Ut } from "./PenAndPaper-DgeL3oKs.js";
14
- import { _ as Gt } from "./Shape-Cd10Dxv4.js";
15
- import jt from "./vue-ui-skeleton-N92OEV1V.js";
16
- import { _ as qt } from "./Title-DTFwdW6y.js";
17
- import Jt from "./vue-ui-xy-DL8afDjw.js";
18
- const Kt = ["xmlns"], Qt = { class: "modal-title" }, Zt = { class: "modal-body" }, ea = {
11
+ import { D as Vt } from "./DataTable-B3skHSzt.js";
12
+ import { L as Ut } from "./Legend-DTJsfZrl.js";
13
+ import { _ as Gt } from "./PenAndPaper-DvnLOqKv.js";
14
+ import { _ as jt } from "./Shape-C3dD_oLo.js";
15
+ import qt from "./vue-ui-skeleton-D7wiUDgm.js";
16
+ import { _ as Jt } from "./Title-DHJyUsEV.js";
17
+ import Kt from "./vue-ui-xy-N35O_x2x.js";
18
+ const Qt = ["xmlns"], Zt = { class: "modal-title" }, ea = { class: "modal-body" }, ta = {
19
19
  __name: "BaseDraggableDialog",
20
20
  props: {
21
21
  backgroundColor: { type: String },
@@ -162,22 +162,22 @@ const Kt = ["xmlns"], Qt = { class: "modal-title" }, Zt = { class: "modal-body"
162
162
  c("path", { d: "M12 15m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0" }, null, -1),
163
163
  c("path", { d: "M19 9m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0" }, null, -1),
164
164
  c("path", { d: "M19 15m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0" }, null, -1)
165
- ]), 8, Kt))
165
+ ]), 8, Qt))
166
166
  ], 32),
167
- c("span", Qt, [
167
+ c("span", Zt, [
168
168
  k(i.$slots, "title", {}, void 0, !0)
169
169
  ]),
170
170
  c("button", {
171
171
  class: "close",
172
172
  onClick: q
173
173
  }, [
174
- qe(Wt, {
174
+ qe(Yt, {
175
175
  name: "close",
176
176
  stroke: X.headerColor
177
177
  }, null, 8, ["stroke"])
178
178
  ])
179
179
  ], 4),
180
- c("div", Zt, [
180
+ c("div", ea, [
181
181
  k(i.$slots, "default", {}, void 0, !0)
182
182
  ]),
183
183
  c("div", {
@@ -193,10 +193,10 @@ const Kt = ["xmlns"], Qt = { class: "modal-title" }, Zt = { class: "modal-body"
193
193
  ], 4)) : y("", !0)
194
194
  ]));
195
195
  }
196
- }, ta = /* @__PURE__ */ Qe(ea, [["__scopeId", "data-v-f854cee8"]]), aa = ["id"], la = ["xmlns", "viewBox"], oa = ["id"], sa = ["stop-color"], na = ["stop-color"], ra = ["stop-color"], ia = ["stop-color"], ua = ["id"], ca = ["stop-color"], da = ["stop-color"], va = ["stop-color"], ha = ["stop-color"], fa = { key: 0 }, ga = ["fill", "d"], ya = ["fill", "stroke", "stroke-width", "d"], pa = ["stroke", "stroke-dasharray", "stroke-width", "d"], ma = ["x1", "y1", "x2", "y2", "stroke", "stroke-width", "stroke-dasharray"], xa = ["cx", "cy", "stroke", "stroke-width", "r", "fill"], ba = ["x", "y", "font-size", "font-weight", "fill", "text-decoration", "onMouseenter", "onClick"], ka = { key: 1 }, wa = ["font-size", "fill", "font-weight", "transform", "text-anchor"], Ca = ["x", "y", "width", "height", "onMouseenter", "onClick"], $a = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], Aa = ["cx", "cy", "stroke", "stroke-width", "r", "fill"], Sa = ["x", "y", "text-anchor", "font-size", "fill"], _a = {
196
+ }, aa = /* @__PURE__ */ Qe(ta, [["__scopeId", "data-v-f854cee8"]]), la = ["id"], oa = ["xmlns", "viewBox"], sa = ["id"], na = ["stop-color"], ra = ["stop-color"], ia = ["stop-color"], ua = ["stop-color"], ca = ["id"], da = ["stop-color"], va = ["stop-color"], ha = ["stop-color"], fa = ["stop-color"], ga = { key: 0 }, ya = ["fill", "d"], pa = ["fill", "stroke", "stroke-width", "d"], ma = ["stroke", "stroke-dasharray", "stroke-width", "d"], xa = ["x1", "y1", "x2", "y2", "stroke", "stroke-width", "stroke-dasharray"], ba = ["cx", "cy", "stroke", "stroke-width", "r", "fill"], ka = ["x", "y", "font-size", "font-weight", "fill", "text-decoration", "onMouseenter", "onClick"], wa = { key: 1 }, Ca = ["font-size", "fill", "font-weight", "transform", "text-anchor"], $a = ["x", "y", "width", "height", "onMouseenter", "onClick"], Aa = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], Sa = ["cx", "cy", "stroke", "stroke-width", "r", "fill"], _a = ["x", "y", "text-anchor", "font-size", "fill"], za = {
197
197
  key: 5,
198
198
  class: "vue-data-ui-watermark"
199
- }, za = ["onClick"], Ma = ["innerHTML"], La = {
199
+ }, Ma = ["onClick"], La = ["innerHTML"], Ta = {
200
200
  __name: "vue-ui-ridgeline",
201
201
  props: {
202
202
  config: {
@@ -245,7 +245,7 @@ const Kt = ["xmlns"], Qt = { class: "modal-title" }, Zt = { class: "modal-body"
245
245
  userOptionsVisible: Q,
246
246
  setUserOptionsVisibility: re,
247
247
  keepUserOptionState: Z
248
- } = Nt({ config: e.value }), { svgRef: xe } = Xt({ config: e.value.style.chart.title });
248
+ } = Xt({ config: e.value }), { svgRef: xe } = It({ config: e.value.style.chart.title });
249
249
  Ct(be), $t(() => {
250
250
  V.value && V.value.disconnect();
251
251
  });
@@ -281,8 +281,8 @@ const Kt = ["xmlns"], Qt = { class: "modal-title" }, Zt = { class: "modal-body"
281
281
  e.value.style.chart.areas.height,
282
282
  e.value.style.chart.areas.rowHeight
283
283
  ), e.value.responsive) {
284
- const a = Ht(() => {
285
- const { width: n, height: t } = Rt({
284
+ const a = Rt(() => {
285
+ const { width: n, height: t } = Bt({
286
286
  chart: l.value,
287
287
  title: e.value.style.chart.title.text ? se.value : null,
288
288
  legend: e.value.style.chart.legend.show ? q.value : null,
@@ -296,7 +296,7 @@ const Kt = ["xmlns"], Qt = { class: "modal-title" }, Zt = { class: "modal-body"
296
296
  V.value = new ResizeObserver(a), V.value.observe(l.value.parentNode);
297
297
  }
298
298
  }
299
- const { isPrinting: Se, isImaging: _e, generatePdf: ze, generateImage: Me } = It({
299
+ const { isPrinting: Se, isImaging: _e, generatePdf: ze, generateImage: Me } = Ft({
300
300
  elementId: `vue-ui-ridgeline_${A.value}`,
301
301
  fileName: e.value.style.chart.title.text || "vue-ui-ridgeline",
302
302
  options: e.value.userOptions.print
@@ -318,9 +318,7 @@ const Kt = ["xmlns"], Qt = { class: "modal-title" }, Zt = { class: "modal-body"
318
318
  labelLen: lt(a.name, e.value.style.chart.yAxis.labels.fontSize),
319
319
  uid: $e(),
320
320
  datapoints: a.datapoints.map((t, s) => {
321
- const o = t.color ? zt(t.color) : et.value[s] || he[s] || he[s % he.length];
322
- console.log(o);
323
- const d = Ge(t.name);
321
+ const o = t.color ? zt(t.color) : et.value[s] || he[s] || he[s % he.length], d = Ge(t.name);
324
322
  return {
325
323
  ...t,
326
324
  color: o,
@@ -446,7 +444,7 @@ const Kt = ["xmlns"], Qt = { class: "modal-title" }, Zt = { class: "modal-body"
446
444
  useArea: !0,
447
445
  smooth: e.value.style.chart.areas.smooth,
448
446
  series: n.values
449
- })), i.value = a, Ee.value = {
447
+ })), i.value = a, Ee.value = Nt({
450
448
  ...e.value.style.chart.dialog.xyChart,
451
449
  responsive: !0,
452
450
  // Overriding
@@ -469,7 +467,7 @@ const Kt = ["xmlns"], Qt = { class: "modal-title" }, Zt = { class: "modal-body"
469
467
  // Overriding
470
468
  }
471
469
  }
472
- }, v.value && v.value.open());
470
+ }), v.value && v.value.open());
473
471
  }
474
472
  const we = h(null);
475
473
  function it(a) {
@@ -561,7 +559,7 @@ const Kt = ["xmlns"], Qt = { class: "modal-title" }, Zt = { class: "modal-body"
561
559
  onMouseenter: n[4] || (n[4] = () => g(re)(!0)),
562
560
  onMouseleave: n[5] || (n[5] = () => g(re)(!1))
563
561
  }, [
564
- e.value.userOptions.buttons.annotator && g(xe) ? (r(), T(Ut, {
562
+ e.value.userOptions.buttons.annotator && g(xe) ? (r(), T(Gt, {
565
563
  key: 0,
566
564
  color: e.value.style.chart.color,
567
565
  backgroundColor: e.value.style.chart.backgroundColor,
@@ -583,7 +581,7 @@ const Kt = ["xmlns"], Qt = { class: "modal-title" }, Zt = { class: "modal-body"
583
581
  ref: se,
584
582
  style: "width:100%;background:transparent;padding-bottom:24px"
585
583
  }, [
586
- (r(), T(qt, {
584
+ (r(), T(Jt, {
587
585
  key: `title_${I.value}`,
588
586
  config: {
589
587
  title: {
@@ -597,7 +595,7 @@ const Kt = ["xmlns"], Qt = { class: "modal-title" }, Zt = { class: "modal-body"
597
595
  }
598
596
  }, null, 8, ["config"]))
599
597
  ], 512)) : y("", !0),
600
- e.value.userOptions.show && L.value && (g(Z) || g(Q)) ? (r(), T(Ft, {
598
+ e.value.userOptions.show && L.value && (g(Z) || g(Q)) ? (r(), T(Ht, {
601
599
  ref: "details",
602
600
  key: `user_option_${D.value}`,
603
601
  backgroundColor: e.value.style.chart.backgroundColor,
@@ -707,23 +705,23 @@ const Kt = ["xmlns"], Qt = { class: "modal-title" }, Zt = { class: "modal-body"
707
705
  offset: "0%",
708
706
  "stop-color": t.color,
709
707
  "stop-opacity": "1"
710
- }, null, 8, sa),
708
+ }, null, 8, na),
711
709
  c("stop", {
712
710
  offset: "30%",
713
711
  "stop-color": t.color,
714
712
  "stop-opacity": "0.7"
715
- }, null, 8, na),
713
+ }, null, 8, ra),
716
714
  c("stop", {
717
715
  offset: "70%",
718
716
  "stop-color": t.color,
719
717
  "stop-opacity": "0.3"
720
- }, null, 8, ra),
718
+ }, null, 8, ia),
721
719
  c("stop", {
722
720
  offset: "100%",
723
721
  "stop-color": t.color,
724
722
  "stop-opacity": "0.1"
725
- }, null, 8, ia)
726
- ], 8, oa))), 256)),
723
+ }, null, 8, ua)
724
+ ], 8, sa))), 256)),
727
725
  (r(!0), u(b, null, M(G.value, (t, s) => (r(), u(b, null, [
728
726
  (r(!0), u(b, null, M(t.datapoints, (o, d) => (r(), u("linearGradient", {
729
727
  key: `grad${o.id}`,
@@ -737,26 +735,26 @@ const Kt = ["xmlns"], Qt = { class: "modal-title" }, Zt = { class: "modal-body"
737
735
  offset: "0%",
738
736
  "stop-color": o.color,
739
737
  "stop-opacity": "1"
740
- }, null, 8, ca),
738
+ }, null, 8, da),
741
739
  c("stop", {
742
740
  offset: "30%",
743
741
  "stop-color": o.color,
744
742
  "stop-opacity": "0.7"
745
- }, null, 8, da),
743
+ }, null, 8, va),
746
744
  c("stop", {
747
745
  offset: "70%",
748
746
  "stop-color": o.color,
749
747
  "stop-opacity": "0.3"
750
- }, null, 8, va),
748
+ }, null, 8, ha),
751
749
  c("stop", {
752
750
  offset: "100%",
753
751
  "stop-color": o.color,
754
752
  "stop-opacity": "0.1"
755
- }, null, 8, ha)
756
- ], 8, ua))), 128))
753
+ }, null, 8, fa)
754
+ ], 8, ca))), 128))
757
755
  ], 64))), 256))
758
756
  ]),
759
- a.$slots.pattern ? (r(), u("g", fa, [
757
+ a.$slots.pattern ? (r(), u("g", ga, [
760
758
  (r(!0), u(b, null, M(ie.value, (t, s) => (r(), u("defs", null, [
761
759
  k(a.$slots, "pattern", Ye({ ref_for: !0 }, { variable: t, patternId: `pattern_${A.value}_${s}` }), void 0, !0)
762
760
  ]))), 256))
@@ -773,7 +771,7 @@ const Kt = ["xmlns"], Qt = { class: "modal-title" }, Zt = { class: "modal-body"
773
771
  "stroke-linecap": "round",
774
772
  d: e.value.style.chart.areas.smooth ? o.smoothPath : o.straightPath,
775
773
  style: P({ opacity: e.value.style.chart.areas.opacity })
776
- }, null, 12, ga),
774
+ }, null, 12, ya),
777
775
  c("path", {
778
776
  fill: e.value.style.chart.areas.useCommonColor ? `url(#gradient-${o.id}-${A.value})` : `url(#gradient-single-${A.value}-${o.uid})`,
779
777
  stroke: e.value.style.chart.areas.stroke.useSerieColor ? o.color : e.value.style.chart.areas.stroke.color,
@@ -781,14 +779,14 @@ const Kt = ["xmlns"], Qt = { class: "modal-title" }, Zt = { class: "modal-body"
781
779
  d: e.value.style.chart.areas.smooth ? o.smoothPath : o.straightPath,
782
780
  "stroke-linecap": "round",
783
781
  "stroke-linejoin": "round"
784
- }, null, 8, ya),
782
+ }, null, 8, pa),
785
783
  c("path", {
786
784
  stroke: e.value.style.chart.zeroLine.useSerieColor ? o.color : e.value.style.chart.zeroLine.stroke,
787
785
  "stroke-dasharray": e.value.style.chart.zeroLine.strokeDasharray,
788
786
  "stroke-width": e.value.style.chart.zeroLine.strokeWidth,
789
787
  d: o.zeroPath,
790
788
  "stroke-linecap": "round"
791
- }, null, 8, pa),
789
+ }, null, 8, ma),
792
790
  e.value.style.chart.areas.maxPoint.show && o.plots.length > 1 ? (r(!0), u(b, { key: 0 }, M(o.plots, (z) => (r(), u(b, null, [
793
791
  z.isMaxPoint ? (r(), u("line", {
794
792
  key: 0,
@@ -800,7 +798,7 @@ const Kt = ["xmlns"], Qt = { class: "modal-title" }, Zt = { class: "modal-body"
800
798
  "stroke-width": e.value.style.chart.areas.maxPoint.strokeWidth,
801
799
  "stroke-linecap": "round",
802
800
  "stroke-dasharray": e.value.style.chart.areas.maxPoint.strokeDasharray
803
- }, null, 8, ma)) : y("", !0)
801
+ }, null, 8, xa)) : y("", !0)
804
802
  ], 64))), 256)) : y("", !0),
805
803
  o.plots.length === 1 ? (r(), u("circle", {
806
804
  key: 1,
@@ -813,7 +811,7 @@ const Kt = ["xmlns"], Qt = { class: "modal-title" }, Zt = { class: "modal-body"
813
811
  style: {
814
812
  pointerEvents: "none"
815
813
  }
816
- }, null, 8, xa)) : y("", !0)
814
+ }, null, 8, ba)) : y("", !0)
817
815
  ]))), 128)),
818
816
  c("text", {
819
817
  x: t.label.x,
@@ -829,9 +827,9 @@ const Kt = ["xmlns"], Qt = { class: "modal-title" }, Zt = { class: "modal-body"
829
827
  onMouseenter: (o) => it(s),
830
828
  onMouseleave: ut,
831
829
  onClick: (o) => rt(t)
832
- }, j(t.name), 45, ba)
830
+ }, j(t.name), 45, ka)
833
831
  ]))), 128)),
834
- e.value.style.chart.xAxis.labels.values.length ? (r(), u("g", ka, [
832
+ e.value.style.chart.xAxis.labels.values.length ? (r(), u("g", wa, [
835
833
  (r(!0), u(b, null, M(U.value, (t, s) => k(a.$slots, "time-label", Ye({ ref_for: !0 }, {
836
834
  show: t && !e.value.style.chart.xAxis.labels.showOnlyFirstAndLast && !e.value.style.chart.xAxis.labels.showOnlyAtModulo || t && e.value.style.chart.xAxis.labels.showOnlyFirstAndLast && (s === 0 || s === U.value.length - 1) || t && f.value && f.value.index === s || t && !e.value.style.chart.xAxis.labels.showOnlyFirstAndLast && e.value.style.chart.xAxis.labels.showOnlyAtModulo && s % Math.floor(U.value.length / e.value.style.chart.xAxis.labels.modulo) === 0,
837
835
  fontSize: e.value.style.chart.xAxis.labels.fontSize,
@@ -852,7 +850,7 @@ const Kt = ["xmlns"], Qt = { class: "modal-title" }, Zt = { class: "modal-body"
852
850
  style: P({
853
851
  opacity: f.value ? f.value.index === s ? 1 : 0.2 : 1
854
852
  })
855
- }, j(t.label), 13, wa)) : y("", !0)
853
+ }, j(t.label), 13, Ca)) : y("", !0)
856
854
  ], !0)), 256))
857
855
  ])) : y("", !0),
858
856
  c("g", null, [
@@ -865,7 +863,7 @@ const Kt = ["xmlns"], Qt = { class: "modal-title" }, Zt = { class: "modal-body"
865
863
  onMouseenter: (o) => f.value = t,
866
864
  onMouseleave: n[0] || (n[0] = (o) => f.value = null),
867
865
  onClick: () => tt(t)
868
- }, null, 40, Ca))), 256)),
866
+ }, null, 40, $a))), 256)),
869
867
  e.value.style.chart.selector.show && f.value ? (r(), u("line", {
870
868
  key: 0,
871
869
  x1: f.value.selectorX,
@@ -877,7 +875,7 @@ const Kt = ["xmlns"], Qt = { class: "modal-title" }, Zt = { class: "modal-body"
877
875
  "stroke-dasharray": e.value.style.chart.selector.strokeDasharray,
878
876
  "stroke-linecap": "round",
879
877
  style: { pointerEvents: "none" }
880
- }, null, 8, $a)) : y("", !0),
878
+ }, null, 8, Aa)) : y("", !0),
881
879
  f.value ? (r(!0), u(b, { key: 1 }, M(G.value, (t) => (r(), u(b, null, [
882
880
  (r(!0), u(b, null, M(t.datapoints, (s) => (r(), u(b, null, [
883
881
  (r(!0), u(b, null, M(s.plots, (o, d) => (r(), u(b, null, [
@@ -892,7 +890,7 @@ const Kt = ["xmlns"], Qt = { class: "modal-title" }, Zt = { class: "modal-body"
892
890
  style: {
893
891
  pointerEvents: "none"
894
892
  }
895
- }, null, 8, Aa)) : y("", !0),
893
+ }, null, 8, Sa)) : y("", !0),
896
894
  f.value && f.value.index === d ? (r(), u("text", {
897
895
  key: 1,
898
896
  x: Oe(
@@ -938,17 +936,17 @@ const Kt = ["xmlns"], Qt = { class: "modal-title" }, Zt = { class: "modal-body"
938
936
  s: e.value.style.chart.xAxis.labels.suffix,
939
937
  r: e.value.style.chart.selector.labels.rounding
940
938
  })
941
- )), 9, Sa)) : y("", !0)
939
+ )), 9, _a)) : y("", !0)
942
940
  ], 64))), 256))
943
941
  ], 64))), 256))
944
942
  ], 64))), 256)) : y("", !0)
945
943
  ]),
946
944
  k(a.$slots, "svg", { svg: x.value }, void 0, !0)
947
- ], 14, la)) : y("", !0),
948
- a.$slots.watermark ? (r(), u("div", _a, [
945
+ ], 14, oa)) : y("", !0),
946
+ a.$slots.watermark ? (r(), u("div", za, [
949
947
  k(a.$slots, "watermark", de(ve({ isPrinting: g(Se) || g(_e) })), void 0, !0)
950
948
  ])) : y("", !0),
951
- L.value ? y("", !0) : (r(), T(jt, {
949
+ L.value ? y("", !0) : (r(), T(qt, {
952
950
  key: 6,
953
951
  config: {
954
952
  type: "ridgeline",
@@ -964,7 +962,7 @@ const Kt = ["xmlns"], Qt = { class: "modal-title" }, Zt = { class: "modal-body"
964
962
  ref_key: "chartLegend",
965
963
  ref: q
966
964
  }, [
967
- e.value.style.chart.legend.show ? (r(), T(Vt, {
965
+ e.value.style.chart.legend.show ? (r(), T(Ut, {
968
966
  key: `legend_${K.value}`,
969
967
  legendSet: ie.value,
970
968
  config: st.value,
@@ -974,14 +972,14 @@ const Kt = ["xmlns"], Qt = { class: "modal-title" }, Zt = { class: "modal-body"
974
972
  c("div", {
975
973
  style: P(`opacity:${N.value.includes(t.id) ? 0.5 : 1}`),
976
974
  onClick: (s) => t.segregate()
977
- }, j(t.name), 13, za)
975
+ }, j(t.name), 13, Ma)
978
976
  ]),
979
977
  _: 2
980
978
  }, [
981
979
  a.$slots.pattern ? {
982
980
  name: "legend-pattern",
983
981
  fn: C(({ legend: t, index: s }) => [
984
- qe(Gt, {
982
+ qe(jt, {
985
983
  shape: t.shape,
986
984
  radius: 30,
987
985
  stroke: "none",
@@ -1002,7 +1000,7 @@ const Kt = ["xmlns"], Qt = { class: "modal-title" }, Zt = { class: "modal-body"
1002
1000
  }, [
1003
1001
  k(a.$slots, "source", {}, void 0, !0)
1004
1002
  ], 512)) : y("", !0),
1005
- L.value ? (r(), T(Bt, {
1003
+ L.value ? (r(), T(Wt, {
1006
1004
  key: 8,
1007
1005
  hideDetails: "",
1008
1006
  config: {
@@ -1019,7 +1017,7 @@ const Kt = ["xmlns"], Qt = { class: "modal-title" }, Zt = { class: "modal-body"
1019
1017
  }
1020
1018
  }, {
1021
1019
  content: C(() => [
1022
- (r(), T(Yt, {
1020
+ (r(), T(Vt, {
1023
1021
  key: `table_${F.value}`,
1024
1022
  colNames: ce.value.colNames,
1025
1023
  head: ce.value.head,
@@ -1029,7 +1027,7 @@ const Kt = ["xmlns"], Qt = { class: "modal-title" }, Zt = { class: "modal-body"
1029
1027
  onClose: n[2] || (n[2] = (t) => ee.value.showTable = !1)
1030
1028
  }, {
1031
1029
  th: C(({ th: t }) => [
1032
- c("div", { innerHTML: t }, null, 8, Ma)
1030
+ c("div", { innerHTML: t }, null, 8, La)
1033
1031
  ]),
1034
1032
  td: C(({ td: t }) => [
1035
1033
  Ve(j(t.name ? t.name : g(fe)(
@@ -1048,7 +1046,7 @@ const Kt = ["xmlns"], Qt = { class: "modal-title" }, Zt = { class: "modal-body"
1048
1046
  ]),
1049
1047
  _: 1
1050
1048
  }, 8, ["config"])) : y("", !0),
1051
- e.value.style.chart.dialog.show ? (r(), T(ta, {
1049
+ e.value.style.chart.dialog.show ? (r(), T(aa, {
1052
1050
  key: 9,
1053
1051
  ref_key: "dialog",
1054
1052
  ref: v,
@@ -1062,7 +1060,7 @@ const Kt = ["xmlns"], Qt = { class: "modal-title" }, Zt = { class: "modal-body"
1062
1060
  Ve(j(i.value.name), 1)
1063
1061
  ]),
1064
1062
  default: C(() => [
1065
- i.value ? (r(), T(Jt, {
1063
+ i.value ? (r(), T(Kt, {
1066
1064
  key: 0,
1067
1065
  config: Ee.value,
1068
1066
  dataset: Pe.value
@@ -1070,9 +1068,9 @@ const Kt = ["xmlns"], Qt = { class: "modal-title" }, Zt = { class: "modal-body"
1070
1068
  ]),
1071
1069
  _: 1
1072
1070
  }, 8, ["backgroundColor", "color", "headerBg", "headerColor"])) : y("", !0)
1073
- ], 46, aa));
1071
+ ], 46, la));
1074
1072
  }
1075
- }, ja = /* @__PURE__ */ Qe(La, [["__scopeId", "data-v-44eef3c6"]]);
1073
+ }, qa = /* @__PURE__ */ Qe(Ta, [["__scopeId", "data-v-d234d120"]]);
1076
1074
  export {
1077
- ja as default
1075
+ qa as default
1078
1076
  };
@@ -1,18 +1,18 @@
1
1
  import { useSlots as He, ref as i, computed as g, watch as Ge, onMounted as je, onBeforeUnmount as Xe, createElementBlock as v, openBlock as n, unref as r, normalizeStyle as I, normalizeClass as M, createBlock as O, createCommentVNode as m, createElementVNode as _, createVNode as J, createSlots as we, withCtx as h, renderSlot as d, normalizeProps as P, guardReactiveProps as F, Fragment as K, renderList as Q, mergeProps as qe, createTextVNode as _e, toDisplayString as E, nextTick as Ye } from "vue";
2
- import { u as Je, c as Te, t as Ke, p as N, a as Qe, o as Ze, e as Z, g as et, b as tt, H as lt, d as xe, f as S, X as ot, s as at, w as st, v as H, i as Ie, q as nt, r as ut, x as rt, y as it } from "./index-dZn5kXWH.js";
2
+ import { u as Je, c as Te, t as Ke, p as N, a as Qe, o as Ze, e as Z, g as et, b as tt, H as lt, d as xe, f as S, X as ot, s as at, w as st, v as H, i as Ie, q as nt, r as ut, x as rt, y as it } from "./index-DJL8Ofhe.js";
3
3
  import { t as vt, u as ct } from "./useResponsive-Cw4oZ8sQ.js";
4
- import { _ as dt } from "./Title-DTFwdW6y.js";
5
- import { u as pt, U as ht } from "./usePrinter-B5W9BghM.js";
6
- import { _ as gt } from "./Tooltip-CNgQVGXX.js";
7
- import { D as ft } from "./DataTable-jQUrRh9B.js";
8
- import { L as yt } from "./Legend-DCwwpz6j.js";
9
- import mt from "./vue-ui-skeleton-N92OEV1V.js";
10
- import bt from "./vue-ui-accordion-hnKAB3UB.js";
11
- import { u as Oe } from "./useNestedProp-uXqTvVZ6.js";
12
- import { _ as kt } from "./PackageVersion-Dffpfs0E.js";
13
- import { _ as Ct } from "./PenAndPaper-DgeL3oKs.js";
4
+ import { _ as dt } from "./Title-DHJyUsEV.js";
5
+ import { u as pt, U as ht } from "./usePrinter-BB_LyyCt.js";
6
+ import { _ as gt } from "./Tooltip-BiDlRju4.js";
7
+ import { D as ft } from "./DataTable-B3skHSzt.js";
8
+ import { L as yt } from "./Legend-DTJsfZrl.js";
9
+ import mt from "./vue-ui-skeleton-D7wiUDgm.js";
10
+ import bt from "./vue-ui-accordion-CFo12sAN.js";
11
+ import { u as Oe } from "./useNestedProp-nW23xHng.js";
12
+ import { _ as kt } from "./PackageVersion-BgDb-mVy.js";
13
+ import { _ as Ct } from "./PenAndPaper-DvnLOqKv.js";
14
14
  import { u as $t } from "./useUserOptionState-BIvW1Kz7.js";
15
- import { _ as wt } from "./Shape-Cd10Dxv4.js";
15
+ import { _ as wt } from "./Shape-C3dD_oLo.js";
16
16
  import { u as _t } from "./useChartAccessibility-BWojgys7.js";
17
17
  import { _ as Tt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
18
18
  const xt = ["id"], It = ["xmlns", "viewBox"], Ot = ["width", "height"], Nt = ["id"], St = ["stop-color"], At = ["stop-color"], Pt = { key: 1 }, Ft = ["stroke", "cx", "cy", "r", "fill"], Lt = ["stroke", "stroke-width", "cx", "cy", "r", "fill"], Rt = ["stroke", "stroke-width", "cx", "cy", "r", "fill"], Mt = ["cx", "cy", "r", "onMouseenter"], Vt = {
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),n=require("./index-BxxejAie.cjs"),oe=require("./useResponsive-DQmBAoBf.cjs"),Ce=require("./Title-CvXzZeEb.cjs"),ae=require("./usePrinter-piikzkuQ.cjs"),we=require("./Tooltip-DQgWYT7j.cjs"),$e=require("./DataTable-DkpRxpK1.cjs"),Ne=require("./Legend-6QUlR6nT.cjs"),Te=require("./vue-ui-skeleton-BncdTK_J.cjs"),xe=require("./vue-ui-accordion-D324uXUs.cjs"),re=require("./useNestedProp-fJ2Uyt99.cjs"),Se=require("./PackageVersion-Bmq_Rden.cjs"),Be=require("./PenAndPaper-ByeWWt4I.cjs"),_e=require("./useUserOptionState-BgepsfED.cjs"),Pe=require("./Shape-CkE4y7L4.cjs"),Ve=require("./useChartAccessibility-Cm7nkzTG.cjs"),Le=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),Oe=["id"],Ee=["xmlns","viewBox"],Ie=["width","height"],Ae=["id"],ze=["stop-color"],Fe=["stop-color"],Re={key:1},qe=["stroke","cx","cy","r","fill"],Me=["stroke","stroke-width","cx","cy","r","fill"],Ue=["stroke","stroke-width","cx","cy","r","fill"],De=["cx","cy","r","onMouseenter"],We={key:5,class:"vue-data-ui-watermark"},He=["onClick"],Ge={key:0},je={key:1},Xe=["innerHTML"],Ye={__name:"vue-ui-rings",props:{config:{type:Object,default(){return{}}},dataset:{type:Array,default(){return[]}}},emits:["selectLegend"],setup(ne,{expose:se,emit:ue}){const{vue_ui_rings:ie}=n.useConfig(),ce=e.useSlots(),p=ne,b=e.ref(!1),$=e.computed(()=>!!p.dataset&&p.dataset.length),g=e.ref(n.createUid()),de=e.ref(null),N=e.ref(!1),_=e.ref(""),m=e.ref(null),E=e.ref(0),C=e.ref(null),I=e.ref(null),A=e.ref(null),z=e.ref(null),F=e.ref(null),R=e.ref(0),q=e.ref(0),M=e.ref(0),t=e.computed({get:()=>H(),set:l=>l}),{userOptionsVisible:P,setUserOptionsVisibility:U,keepUserOptionState:D}=_e.useUserOptionState({config:t.value}),{svgRef:W}=Ve.useChartAccessibility({config:t.value.style.chart.title});function H(){const l=re.useNestedProp({userConfig:p.config,defaultConfig:ie});return l.theme?{...re.useNestedProp({userConfig:n.themes.vue_ui_rings[l.theme]||p.config,defaultConfig:l}),customPalette:n.themePalettes[l.theme]||n.palette}:l}e.watch(()=>p.config,l=>{t.value=H(),P.value=!t.value.userOptions.showOnChartHover,G(),R.value+=1,q.value+=1,M.value+=1,h.value.showTable=t.value.table.show,h.value.showTooltip=t.value.style.chart.tooltip.show},{deep:!0});const T=e.ref(null);e.onMounted(()=>{G()});function G(){if(n.objectIsEmpty(p.dataset)?n.error({componentName:"VueUiRings",type:"dataset"}):p.dataset.forEach((l,a)=>{l.values.length||n.error({componentName:"VueUiRings",type:"dataset"}),n.getMissingDatasetAttributes({datasetObject:l,requiredAttributes:["name","values"]}).forEach(o=>{n.error({componentName:"VueUiRings",type:"datasetSerieAttribute",property:o,index:a})})}),t.value.responsive){const l=oe.throttle(()=>{const{width:a,height:o}=oe.useResponsive({chart:C.value,title:t.value.style.chart.title.text?I.value:null,legend:t.value.style.chart.legend.show?A.value:null,source:z.value,noTitle:F.value});requestAnimationFrame(()=>{s.value.width=a,s.value.height=o})});T.value=new ResizeObserver(l),T.value.observe(C.value.parentNode)}setTimeout(()=>{b.value=!0},600)}e.onBeforeUnmount(()=>{T.value&&T.value.disconnect()});const{isPrinting:j,isImaging:X,generatePdf:Y,generateImage:J}=ae.usePrinter({elementId:`rings_${g.value}`,fileName:t.value.style.chart.title.text||"vue-ui-rings",options:t.value.userOptions.print}),ve=e.computed(()=>t.value.userOptions.show&&!t.value.style.chart.title.text),K=e.computed(()=>n.convertCustomPalette(t.value.customPalette)),h=e.ref({showTable:t.value.table.show,showTooltip:t.value.style.chart.tooltip.show}),s=e.ref({height:360,width:360}),pe=e.computed(()=>Math.min(s.value.height,s.value.width)),he=ue,d=e.ref([]);function V(l){d.value.includes(l)?d.value=d.value.filter(a=>a!==l):d.value.push(l),he("selectLegend",c.value.map(a=>({name:a.name,color:a.color,value:a.value})))}const fe=e.computed(()=>Math.max(...x.value.filter(l=>!d.value.includes(l.uid)).map(({value:l})=>l)));function Q(l){return l/fe.value}const x=e.computed(()=>p.dataset.map(({values:l,name:a,color:o=null},r)=>{const u=n.sanitizeArray(l).reduce((v,w)=>v+w,0);return{name:a,color:o||n.convertColorToHex(o)||K.value[r]||n.palette[r]||n.palette[r%n.palette.length],value:u,proportion:u/p.dataset.map(v=>(v.values||[]).reduce((w,ke)=>w+ke,0)).reduce((v,w)=>v+w,0),uid:n.createUid(),absoluteIndex:r}})),Z=e.computed(()=>x.value.map(l=>({...l,shape:"circle",opacity:d.value.includes(l.uid)?.5:1,segregate:()=>V(l.uid),isSegregated:d.value.includes(l.uid)})).toSorted((l,a)=>a.value-l.value)),ge=e.computed(()=>({cy:"rings-div-legend",backgroundColor:t.value.style.chart.legend.backgroundColor,color:t.value.style.chart.legend.color,fontSize:t.value.style.chart.legend.fontSize,paddingBottom:12,fontWeight:t.value.style.chart.legend.bold?"bold":""})),f=e.computed(()=>x.value.filter(l=>!d.value.includes(l.uid)).map(({value:l})=>l).reduce((l,a)=>l+a,0)),c=e.computed(()=>x.value.filter(l=>!d.value.includes(l.uid)).map(({name:l,value:a,color:o=null,uid:r,absoluteIndex:u},v)=>({absoluteIndex:u,uid:r,name:l,color:o||n.convertColorToHex(o)||K.value[v]||n.palette[v]||n.palette[v%n.palette.length],value:a,proportion:Q(a),percentage:a/f.value*100,strokeWidth:t.value.style.chart.layout.rings.strokeWidth*Q(a)})).toSorted((l,a)=>a.value-l.value));function me(){return c.value.map(({name:l,color:a,value:o,absoluteValues:r,percentage:u})=>({name:l,color:a,value:o,absoluteValues:r,percentage:u}))}const i=e.computed(()=>pe.value-t.value.style.chart.layout.rings.strokeWidth*2),L=e.ref(null);function ye(l,a){if(d.value.length===p.dataset.length)return;L.value={datapoint:a,seriesIndex:l,series:c.value,config:t.value},m.value=l;const o=c.value[l],r=t.value.style.chart.tooltip.customFormat;if(n.isFunction(r)&&n.functionReturnsString(()=>r({seriesIndex:l,datapoint:a,series:c.value,config:t.value})))_.value=r({seriesIndex:l,datapoint:a,series:c.value,config:t.value});else{let u="";u+=`<div style="width:100%;text-align:center;border-bottom:1px solid ${t.value.style.chart.tooltip.borderColor};padding-bottom:6px;margin-bottom:3px;">${o.name}</div>`,u+=`<div style="display:flex;flex-direction:row;gap:6px;align-items:center;"><svg viewBox="0 0 60 60" height="14" width="14"><circle cx="30" cy="30" r="30" stroke="none" fill="${o.color}" />${ce.pattern?`<circle cx="30" cy="30" r="30" stroke="none" fill="url(#pattern_${g.value}_${a.absoluteIndex})" />`:""}</svg>`,t.value.style.chart.tooltip.showValue&&(u+=`<b>${n.applyDataLabel(t.value.style.chart.layout.labels.dataLabels.formatter,o.value,n.dataLabel({p:t.value.style.chart.layout.labels.dataLabels.prefix,v:o.value,s:t.value.style.chart.layout.labels.dataLabels.suffix,r:t.value.style.chart.tooltip.roundingValue}),{datapoint:a,seriesIndex:l})}
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),n=require("./index-DLbKJzFv.cjs"),oe=require("./useResponsive-DQmBAoBf.cjs"),Ce=require("./Title-D7CSzIey.cjs"),ae=require("./usePrinter-ND-BQoMz.cjs"),we=require("./Tooltip-gOeHT7nf.cjs"),$e=require("./DataTable-Pc2DuENx.cjs"),Ne=require("./Legend-D7ABxVCH.cjs"),Te=require("./vue-ui-skeleton-CMaSSD6o.cjs"),xe=require("./vue-ui-accordion-CqH39_fY.cjs"),re=require("./useNestedProp-Dk1b2iP1.cjs"),Se=require("./PackageVersion-cu45Cd7Q.cjs"),Be=require("./PenAndPaper-DsGKn0if.cjs"),_e=require("./useUserOptionState-BgepsfED.cjs"),Pe=require("./Shape-aAU_ZjZn.cjs"),Ve=require("./useChartAccessibility-Cm7nkzTG.cjs"),Le=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),Oe=["id"],Ee=["xmlns","viewBox"],Ie=["width","height"],Ae=["id"],ze=["stop-color"],Fe=["stop-color"],Re={key:1},qe=["stroke","cx","cy","r","fill"],Me=["stroke","stroke-width","cx","cy","r","fill"],Ue=["stroke","stroke-width","cx","cy","r","fill"],De=["cx","cy","r","onMouseenter"],We={key:5,class:"vue-data-ui-watermark"},He=["onClick"],Ge={key:0},je={key:1},Xe=["innerHTML"],Ye={__name:"vue-ui-rings",props:{config:{type:Object,default(){return{}}},dataset:{type:Array,default(){return[]}}},emits:["selectLegend"],setup(ne,{expose:se,emit:ue}){const{vue_ui_rings:ie}=n.useConfig(),ce=e.useSlots(),p=ne,b=e.ref(!1),$=e.computed(()=>!!p.dataset&&p.dataset.length),g=e.ref(n.createUid()),de=e.ref(null),N=e.ref(!1),_=e.ref(""),m=e.ref(null),E=e.ref(0),C=e.ref(null),I=e.ref(null),A=e.ref(null),z=e.ref(null),F=e.ref(null),R=e.ref(0),q=e.ref(0),M=e.ref(0),t=e.computed({get:()=>H(),set:l=>l}),{userOptionsVisible:P,setUserOptionsVisibility:U,keepUserOptionState:D}=_e.useUserOptionState({config:t.value}),{svgRef:W}=Ve.useChartAccessibility({config:t.value.style.chart.title});function H(){const l=re.useNestedProp({userConfig:p.config,defaultConfig:ie});return l.theme?{...re.useNestedProp({userConfig:n.themes.vue_ui_rings[l.theme]||p.config,defaultConfig:l}),customPalette:n.themePalettes[l.theme]||n.palette}:l}e.watch(()=>p.config,l=>{t.value=H(),P.value=!t.value.userOptions.showOnChartHover,G(),R.value+=1,q.value+=1,M.value+=1,h.value.showTable=t.value.table.show,h.value.showTooltip=t.value.style.chart.tooltip.show},{deep:!0});const T=e.ref(null);e.onMounted(()=>{G()});function G(){if(n.objectIsEmpty(p.dataset)?n.error({componentName:"VueUiRings",type:"dataset"}):p.dataset.forEach((l,a)=>{l.values.length||n.error({componentName:"VueUiRings",type:"dataset"}),n.getMissingDatasetAttributes({datasetObject:l,requiredAttributes:["name","values"]}).forEach(o=>{n.error({componentName:"VueUiRings",type:"datasetSerieAttribute",property:o,index:a})})}),t.value.responsive){const l=oe.throttle(()=>{const{width:a,height:o}=oe.useResponsive({chart:C.value,title:t.value.style.chart.title.text?I.value:null,legend:t.value.style.chart.legend.show?A.value:null,source:z.value,noTitle:F.value});requestAnimationFrame(()=>{s.value.width=a,s.value.height=o})});T.value=new ResizeObserver(l),T.value.observe(C.value.parentNode)}setTimeout(()=>{b.value=!0},600)}e.onBeforeUnmount(()=>{T.value&&T.value.disconnect()});const{isPrinting:j,isImaging:X,generatePdf:Y,generateImage:J}=ae.usePrinter({elementId:`rings_${g.value}`,fileName:t.value.style.chart.title.text||"vue-ui-rings",options:t.value.userOptions.print}),ve=e.computed(()=>t.value.userOptions.show&&!t.value.style.chart.title.text),K=e.computed(()=>n.convertCustomPalette(t.value.customPalette)),h=e.ref({showTable:t.value.table.show,showTooltip:t.value.style.chart.tooltip.show}),s=e.ref({height:360,width:360}),pe=e.computed(()=>Math.min(s.value.height,s.value.width)),he=ue,d=e.ref([]);function V(l){d.value.includes(l)?d.value=d.value.filter(a=>a!==l):d.value.push(l),he("selectLegend",c.value.map(a=>({name:a.name,color:a.color,value:a.value})))}const fe=e.computed(()=>Math.max(...x.value.filter(l=>!d.value.includes(l.uid)).map(({value:l})=>l)));function Q(l){return l/fe.value}const x=e.computed(()=>p.dataset.map(({values:l,name:a,color:o=null},r)=>{const u=n.sanitizeArray(l).reduce((v,w)=>v+w,0);return{name:a,color:o||n.convertColorToHex(o)||K.value[r]||n.palette[r]||n.palette[r%n.palette.length],value:u,proportion:u/p.dataset.map(v=>(v.values||[]).reduce((w,ke)=>w+ke,0)).reduce((v,w)=>v+w,0),uid:n.createUid(),absoluteIndex:r}})),Z=e.computed(()=>x.value.map(l=>({...l,shape:"circle",opacity:d.value.includes(l.uid)?.5:1,segregate:()=>V(l.uid),isSegregated:d.value.includes(l.uid)})).toSorted((l,a)=>a.value-l.value)),ge=e.computed(()=>({cy:"rings-div-legend",backgroundColor:t.value.style.chart.legend.backgroundColor,color:t.value.style.chart.legend.color,fontSize:t.value.style.chart.legend.fontSize,paddingBottom:12,fontWeight:t.value.style.chart.legend.bold?"bold":""})),f=e.computed(()=>x.value.filter(l=>!d.value.includes(l.uid)).map(({value:l})=>l).reduce((l,a)=>l+a,0)),c=e.computed(()=>x.value.filter(l=>!d.value.includes(l.uid)).map(({name:l,value:a,color:o=null,uid:r,absoluteIndex:u},v)=>({absoluteIndex:u,uid:r,name:l,color:o||n.convertColorToHex(o)||K.value[v]||n.palette[v]||n.palette[v%n.palette.length],value:a,proportion:Q(a),percentage:a/f.value*100,strokeWidth:t.value.style.chart.layout.rings.strokeWidth*Q(a)})).toSorted((l,a)=>a.value-l.value));function me(){return c.value.map(({name:l,color:a,value:o,absoluteValues:r,percentage:u})=>({name:l,color:a,value:o,absoluteValues:r,percentage:u}))}const i=e.computed(()=>pe.value-t.value.style.chart.layout.rings.strokeWidth*2),L=e.ref(null);function ye(l,a){if(d.value.length===p.dataset.length)return;L.value={datapoint:a,seriesIndex:l,series:c.value,config:t.value},m.value=l;const o=c.value[l],r=t.value.style.chart.tooltip.customFormat;if(n.isFunction(r)&&n.functionReturnsString(()=>r({seriesIndex:l,datapoint:a,series:c.value,config:t.value})))_.value=r({seriesIndex:l,datapoint:a,series:c.value,config:t.value});else{let u="";u+=`<div style="width:100%;text-align:center;border-bottom:1px solid ${t.value.style.chart.tooltip.borderColor};padding-bottom:6px;margin-bottom:3px;">${o.name}</div>`,u+=`<div style="display:flex;flex-direction:row;gap:6px;align-items:center;"><svg viewBox="0 0 60 60" height="14" width="14"><circle cx="30" cy="30" r="30" stroke="none" fill="${o.color}" />${ce.pattern?`<circle cx="30" cy="30" r="30" stroke="none" fill="url(#pattern_${g.value}_${a.absoluteIndex})" />`:""}</svg>`,t.value.style.chart.tooltip.showValue&&(u+=`<b>${n.applyDataLabel(t.value.style.chart.layout.labels.dataLabels.formatter,o.value,n.dataLabel({p:t.value.style.chart.layout.labels.dataLabels.prefix,v:o.value,s:t.value.style.chart.layout.labels.dataLabels.suffix,r:t.value.style.chart.tooltip.roundingValue}),{datapoint:a,seriesIndex:l})}
2
2
  </b>`),t.value.style.chart.tooltip.showPercentage&&(t.value.style.chart.tooltip.showValue?u+=`<span>(${n.dataLabel({v:o.value/f.value*100,s:"%",r:t.value.style.chart.tooltip.roundingPercentage})})</span></div>`:u+=`<b>${n.dataLabel({v:o.value/f.value*100,s:"%",r:t.value.style.chart.tooltip.roundingPercentage})}</b></div>`),_.value=u}N.value=!0}const y=e.computed(()=>{const l=c.value.map(o=>({name:o.name,color:o.color})),a=c.value.map(o=>o.value);return{head:l,body:a}}),S=e.computed(()=>{const l=[' <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M18 16v2a1 1 0 0 1 -1 1h-11l6 -7l-6 -7h11a1 1 0 0 1 1 1v2" /></svg>',n.dataLabel({p:t.value.style.chart.layout.labels.dataLabels.prefix,v:f.value,s:t.value.style.chart.layout.labels.dataLabels.suffix,r:t.value.table.td.roundingValue}),"100%"],a=y.value.head.map((u,v)=>[{color:u.color,name:u.name},n.dataLabel({p:t.value.style.chart.layout.labels.dataLabels.prefix,v:y.value.body[v],s:t.value.style.chart.layout.labels.dataLabels.suffix,r:t.value.table.td.roundingValue}),isNaN(y.value.body[v]/f.value)?"-":(y.value.body[v]/f.value*100).toFixed(t.value.table.td.roundingPercentage)+"%"]),o={th:{backgroundColor:t.value.table.th.backgroundColor,color:t.value.table.th.color,outline:t.value.table.th.outline},td:{backgroundColor:t.value.table.td.backgroundColor,color:t.value.table.td.color,outline:t.value.table.td.outline},breakpoint:t.value.table.responsiveBreakpoint},r=[t.value.table.columnNames.series,t.value.table.columnNames.value,t.value.table.columnNames.percentage];return{head:l,body:a,config:o,colNames:r}});function ee(){e.nextTick(()=>{const l=y.value.head.map((r,u)=>[[r.name],[y.value.body[u]],[isNaN(y.value.body[u]/f.value)?"-":y.value.body[u]/f.value*100]]),a=[[t.value.style.chart.title.text],[t.value.style.chart.title.subtitle.text],[[""],["val"],["%"]]].concat(l),o=n.createCsvContent(a);n.downloadCsv({csvContent:o,title:t.value.style.chart.title.text||"vue-ui-rings"})})}const k=e.ref(!1);function be(l){k.value=l,E.value+=1}function te(){h.value.showTable=!h.value.showTable}function le(){h.value.showTooltip=!h.value.showTooltip}const B=e.ref(!1);function O(){B.value=!B.value}return se({getData:me,generatePdf:Y,generateCsv:ee,generateImage:J,toggleTable:te,toggleTooltip:le,toggleAnnotator:O}),(l,a)=>(e.openBlock(),e.createElementBlock("div",{ref_key:"ringsChart",ref:C,class:e.normalizeClass(`vue-ui-rings ${k.value?"vue-data-ui-wrapper-fullscreen":""} ${t.value.useCssAnimation?"":"vue-ui-dna"}`),style:e.normalizeStyle(`font-family:${t.value.style.fontFamily};text-align:center;width:100%;background:${t.value.style.chart.backgroundColor};${t.value.responsive?"height: 100%":""}`),id:`rings_${g.value}`,onMouseleave:a[3]||(a[3]=o=>{m.value=null,N.value=!1,e.unref(U)(!1)}),onMouseenter:a[4]||(a[4]=()=>e.unref(U)(!0))},[t.value.userOptions.buttons.annotator?(e.openBlock(),e.createBlock(Be._sfc_main,{key:0,svgRef:e.unref(W),backgroundColor:t.value.style.chart.backgroundColor,color:t.value.style.chart.color,active:B.value,onClose:O},null,8,["svgRef","backgroundColor","color","active"])):e.createCommentVNode("",!0),ve.value?(e.openBlock(),e.createElementBlock("div",{key:1,ref_key:"noTitle",ref:F,class:"vue-data-ui-no-title-space",style:"height:36px; width: 100%;background:transparent"},null,512)):e.createCommentVNode("",!0),t.value.style.chart.title.text?(e.openBlock(),e.createElementBlock("div",{key:2,ref_key:"chartTitle",ref:I,style:"width:100%;background:transparent"},[(e.openBlock(),e.createBlock(Ce._sfc_main,{key:`title_${R.value}`,config:{title:{cy:"rings-div-title",...t.value.style.chart.title},subtitle:{cy:"rings-div-subtitle",...t.value.style.chart.title.subtitle}}},null,8,["config"]))],512)):e.createCommentVNode("",!0),t.value.userOptions.show&&$.value&&(e.unref(D)||e.unref(P))?(e.openBlock(),e.createBlock(ae.UserOptions,{ref_key:"details",ref:de,key:`user_options_${E.value}`,backgroundColor:t.value.style.chart.backgroundColor,color:t.value.style.chart.color,isPrinting:e.unref(j),isImaging:e.unref(X),uid:g.value,hasTooltip:t.value.userOptions.buttons.tooltip&&t.value.style.chart.tooltip.show,hasPdf:t.value.userOptions.buttons.pdf,hasXls:t.value.userOptions.buttons.csv,hasImg:t.value.userOptions.buttons.img,hasTable:t.value.userOptions.buttons.table,hasFullscreen:t.value.userOptions.buttons.fullscreen,isTooltip:h.value.showTooltip,isFullscreen:k.value,titles:{...t.value.userOptions.buttonTitles},chartElement:C.value,position:t.value.userOptions.position,hasAnnotator:t.value.userOptions.buttons.annotator,isAnnotation:B.value,onToggleFullscreen:be,onGeneratePdf:e.unref(Y),onGenerateCsv:ee,onGenerateImage:e.unref(J),onToggleTable:te,onToggleTooltip:le,onToggleAnnotator:O,style:e.normalizeStyle({visibility:e.unref(D)?e.unref(P)?"visible":"hidden":"visible"})},e.createSlots({_:2},[l.$slots.menuIcon?{name:"menuIcon",fn:e.withCtx(({isOpen:o,color:r})=>[e.renderSlot(l.$slots,"menuIcon",e.normalizeProps(e.guardReactiveProps({isOpen:o,color:r})),void 0,!0)]),key:"0"}:void 0,l.$slots.optionTooltip?{name:"optionTooltip",fn:e.withCtx(()=>[e.renderSlot(l.$slots,"optionTooltip",{},void 0,!0)]),key:"1"}:void 0,l.$slots.optionPdf?{name:"optionPdf",fn:e.withCtx(()=>[e.renderSlot(l.$slots,"optionPdf",{},void 0,!0)]),key:"2"}:void 0,l.$slots.optionCsv?{name:"optionCsv",fn:e.withCtx(()=>[e.renderSlot(l.$slots,"optionCsv",{},void 0,!0)]),key:"3"}:void 0,l.$slots.optionImg?{name:"optionImg",fn:e.withCtx(()=>[e.renderSlot(l.$slots,"optionImg",{},void 0,!0)]),key:"4"}:void 0,l.$slots.optionTable?{name:"optionTable",fn:e.withCtx(()=>[e.renderSlot(l.$slots,"optionTable",{},void 0,!0)]),key:"5"}:void 0,l.$slots.optionFullscreen?{name:"optionFullscreen",fn:e.withCtx(({toggleFullscreen:o,isFullscreen:r})=>[e.renderSlot(l.$slots,"optionFullscreen",e.normalizeProps(e.guardReactiveProps({toggleFullscreen:o,isFullscreen:r})),void 0,!0)]),key:"6"}:void 0,l.$slots.optionAnnotator?{name:"optionAnnotator",fn:e.withCtx(({toggleAnnotator:o,isAnnotator:r})=>[e.renderSlot(l.$slots,"optionAnnotator",e.normalizeProps(e.guardReactiveProps({toggleAnnotator:o,isAnnotator:r})),void 0,!0)]),key:"7"}:void 0]),1032,["backgroundColor","color","isPrinting","isImaging","uid","hasTooltip","hasPdf","hasXls","hasImg","hasTable","hasFullscreen","isTooltip","isFullscreen","titles","chartElement","position","hasAnnotator","isAnnotation","onGeneratePdf","onGenerateImage","style"])):e.createCommentVNode("",!0),$.value?(e.openBlock(),e.createElementBlock("svg",{key:4,ref_key:"svgRef",ref:W,xmlns:e.unref(n.XMLNS),class:e.normalizeClass({"vue-data-ui-fullscreen--on":k.value,"vue-data-ui-fulscreen--off":!k.value}),viewBox:`0 0 ${s.value.width<=0?10:s.value.width} ${s.value.height<=0?10:s.value.height}`,style:e.normalizeStyle(`max-width:100%;overflow:visible;background:transparent;color:${t.value.style.chart.color}`)},[e.createVNode(Se._sfc_main),l.$slots["chart-background"]?(e.openBlock(),e.createElementBlock("foreignObject",{key:0,x:0,y:0,width:s.value.width<=0?10:s.value.width,height:s.value.height<=0?10:s.value.height,style:{pointerEvents:"none"}},[e.renderSlot(l.$slots,"chart-background",{},void 0,!0)],8,Ie)):e.createCommentVNode("",!0),e.createElementVNode("defs",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(c.value,(o,r)=>(e.openBlock(),e.createElementBlock("radialGradient",{cx:"50%",cy:"30%",r:"50%",fx:"50%",fy:"50%",id:`gradient_${g.value}_${r}`},[e.createElementVNode("stop",{offset:"0%","stop-color":e.unref(n.setOpacity)(e.unref(n.shiftHue)(o.color,.05),100-t.value.style.chart.layout.rings.gradient.intensity)},null,8,ze),e.createElementVNode("stop",{offset:"100%","stop-color":o.color},null,8,Fe)],8,Ae))),256))]),l.$slots.pattern?(e.openBlock(),e.createElementBlock("g",Re,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(c.value,o=>(e.openBlock(),e.createElementBlock("defs",null,[e.renderSlot(l.$slots,"pattern",e.mergeProps({ref_for:!0},{seriesIndex:o.absoluteIndex,patternId:`pattern_${g.value}_${o.absoluteIndex}`}),void 0,!0)]))),256))])):e.createCommentVNode("",!0),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(c.value,(o,r)=>(e.openBlock(),e.createElementBlock("g",null,[e.createElementVNode("circle",{class:e.normalizeClass({"vue-ui-rings-item":b.value&&t.value.useCssAnimation,"vue-rings-item-onload":!b.value&&t.value.useCssAnimation,"vue-ui-rings-opacity":m.value!==null&&m.value!==r}),style:e.normalizeStyle(`animation-delay:${r*100}ms`),stroke:t.value.style.chart.layout.rings.stroke,cx:s.value.width/2,cy:r===0?s.value.height/2:s.value.height/2+i.value*c.value[0].proportion/2-i.value*o.proportion/2-2*(r+1),r:e.unref(n.checkNaN)(i.value*o.proportion/2*.9<=0?1e-4:i.value*o.proportion/2*.9),fill:t.value.style.chart.layout.rings.gradient.underlayerColor},null,14,qe),e.createElementVNode("circle",{class:e.normalizeClass({"vue-ui-rings-item":b.value&&t.value.useCssAnimation,"vue-rings-item-onload":!b.value&&t.value.useCssAnimation,"vue-ui-rings-shadow":t.value.style.chart.layout.rings.useShadow,"vue-ui-rings-blur":m.value!==null&&m.value!==r}),style:e.normalizeStyle(`animation-delay:${r*100}ms`),stroke:t.value.style.chart.layout.rings.stroke,"stroke-width":o.strokeWidth<.5?.5:o.strokeWidth,cx:s.value.width/2,cy:r===0?s.value.height/2:s.value.height/2+i.value*c.value[0].proportion/2-i.value*o.proportion/2-2*(r+1),r:e.unref(n.checkNaN)(i.value*o.proportion/2*.9<=0?1e-4:i.value*o.proportion/2*.9),fill:t.value.style.chart.layout.rings.gradient.show?`url(#gradient_${g.value}_${r})`:o.color},null,14,Me),l.$slots.pattern?(e.openBlock(),e.createElementBlock("circle",{key:0,class:e.normalizeClass({"vue-ui-rings-item":b.value&&t.value.useCssAnimation,"vue-rings-item-onload":!b.value&&t.value.useCssAnimation,"vue-ui-rings-shadow":t.value.style.chart.layout.rings.useShadow,"vue-ui-rings-blur":m.value!==null&&m.value!==r}),style:e.normalizeStyle(`animation-delay:${r*100}ms`),stroke:t.value.style.chart.layout.rings.stroke,"stroke-width":o.strokeWidth<.5?.5:o.strokeWidth,cx:s.value.width/2,cy:r===0?s.value.height/2:s.value.height/2+i.value*c.value[0].proportion/2-i.value*o.proportion/2-2*(r+1),r:e.unref(n.checkNaN)(i.value*o.proportion/2*.9<=0?1e-4:i.value*o.proportion/2*.9),fill:`url(#pattern_${g.value}_${o.absoluteIndex})`},null,14,Ue)):e.createCommentVNode("",!0),e.createElementVNode("circle",{stroke:"none",cx:s.value.width/2,cy:r===0?s.value.height/2:s.value.height/2+i.value*c.value[0].proportion/2-i.value*o.proportion/2-2*(r+1),r:e.unref(n.checkNaN)(i.value*o.proportion/2*.9<=0?1e-4:i.value*o.proportion/2*.9),fill:"transparent",onMouseenter:u=>ye(r,o),onMouseleave:a[0]||(a[0]=u=>{m.value=null,N.value=!1})},null,40,De)]))),256)),e.renderSlot(l.$slots,"svg",{svg:s.value},void 0,!0)],14,Ee)):e.createCommentVNode("",!0),l.$slots.watermark?(e.openBlock(),e.createElementBlock("div",We,[e.renderSlot(l.$slots,"watermark",e.normalizeProps(e.guardReactiveProps({isPrinting:e.unref(j)||e.unref(X)})),void 0,!0)])):e.createCommentVNode("",!0),$.value?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(Te.default,{key:6,config:{type:"rings",style:{backgroundColor:t.value.style.chart.backgroundColor,rings:{color:"#CCCCCC"}}}},null,8,["config"])),e.createElementVNode("div",{ref_key:"chartLegend",ref:A},[t.value.style.chart.legend.show?(e.openBlock(),e.createBlock(Ne.Legend,{key:`legend_${M.value}`,legendSet:Z.value,config:ge.value,onClickMarker:a[1]||(a[1]=({legend:o})=>V(o.uid))},e.createSlots({item:e.withCtx(({legend:o,index:r})=>[e.createElementVNode("div",{onClick:u=>V(o.uid),style:e.normalizeStyle(`opacity:${d.value.includes(o.uid)?.5:1}`)},[e.createTextVNode(e.toDisplayString(o.name)+": "+e.toDisplayString(e.unref(n.applyDataLabel)(t.value.style.chart.layout.labels.dataLabels.formatter,o.value,e.unref(n.dataLabel)({p:t.value.style.chart.layout.labels.dataLabels.prefix,v:o.value,s:t.value.style.chart.layout.labels.dataLabels.suffix,r:t.value.style.chart.legend.roundingValue}),{datapoint:o,seriesIndex:r}))+" ",1),d.value.includes(o.uid)?(e.openBlock(),e.createElementBlock("span",je," ( - % ) ")):(e.openBlock(),e.createElementBlock("span",Ge," ("+e.toDisplayString(isNaN(o.value/f.value)?"-":e.unref(n.dataLabel)({v:o.value/f.value*100,s:"%",r:t.value.style.chart.legend.roundingPercentage}))+") ",1))],12,He)]),_:2},[l.$slots.pattern?{name:"legend-pattern",fn:e.withCtx(({legend:o,index:r})=>[e.createVNode(Pe._sfc_main,{shape:o.shape,radius:30,stroke:"none",plot:{x:30,y:30},fill:`url(#pattern_${g.value}_${r})`},null,8,["shape","fill"])]),key:"0"}:void 0]),1032,["legendSet","config"])):e.renderSlot(l.$slots,"legend",{key:1,legend:Z.value},void 0,!0)],512),l.$slots.source?(e.openBlock(),e.createElementBlock("div",{key:7,ref_key:"source",ref:z,dir:"auto"},[e.renderSlot(l.$slots,"source",{},void 0,!0)],512)):e.createCommentVNode("",!0),e.createVNode(we._sfc_main,{show:h.value.showTooltip&&N.value&&d.value.length<p.dataset.length,backgroundColor:t.value.style.chart.tooltip.backgroundColor,color:t.value.style.chart.tooltip.color,borderRadius:t.value.style.chart.tooltip.borderRadius,borderColor:t.value.style.chart.tooltip.borderColor,borderWidth:t.value.style.chart.tooltip.borderWidth,fontSize:t.value.style.chart.tooltip.fontSize,backgroundOpacity:t.value.style.chart.tooltip.backgroundOpacity,position:t.value.style.chart.tooltip.position,offsetY:t.value.style.chart.tooltip.offsetY,parent:C.value,content:_.value,isFullscreen:k.value,isCustom:t.value.style.chart.tooltip.customFormat&&typeof t.value.style.chart.tooltip.customFormat=="function"},{"tooltip-before":e.withCtx(()=>[e.renderSlot(l.$slots,"tooltip-before",e.normalizeProps(e.guardReactiveProps({...L.value})),void 0,!0)]),"tooltip-after":e.withCtx(()=>[e.renderSlot(l.$slots,"tooltip-after",e.normalizeProps(e.guardReactiveProps({...L.value})),void 0,!0)]),_:3},8,["show","backgroundColor","color","borderRadius","borderColor","borderWidth","fontSize","backgroundOpacity","position","offsetY","parent","content","isFullscreen","isCustom"]),$.value?(e.openBlock(),e.createBlock(xe.default,{key:8,hideDetails:"",config:{open:h.value.showTable,maxHeight:1e4,body:{backgroundColor:t.value.style.chart.backgroundColor,color:t.value.style.chart.color},head:{backgroundColor:t.value.style.chart.backgroundColor,color:t.value.style.chart.color}}},{content:e.withCtx(()=>[(e.openBlock(),e.createBlock($e.DataTable,{key:`table_${q.value}`,colNames:S.value.colNames,head:S.value.head,body:S.value.body,config:S.value.config,title:`${t.value.style.chart.title.text}${t.value.style.chart.title.subtitle.text?` : ${t.value.style.chart.title.subtitle.text}`:""}`,onClose:a[2]||(a[2]=o=>h.value.showTable=!1)},{th:e.withCtx(({th:o})=>[e.createElementVNode("div",{innerHTML:o,style:{display:"flex","align-items":"center"}},null,8,Xe)]),td:e.withCtx(({td:o})=>[e.createTextVNode(e.toDisplayString(o.name||o),1)]),_:1},8,["colNames","head","body","config","title"]))]),_:1},8,["config"])):e.createCommentVNode("",!0)],46,Oe))}},Je=Le._export_sfc(Ye,[["__scopeId","data-v-be9fc972"]]);exports.default=Je;