vue-data-ui 2.6.19 → 2.6.21

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 (171) hide show
  1. package/README.md +8 -0
  2. package/dist/{Arrow-QMACp9z-.cjs → Arrow-C1pcd-am.cjs} +1 -1
  3. package/dist/{Arrow-DTtLZwne.js → Arrow-DQaZQgi6.js} +1 -1
  4. package/dist/{BaseIcon-BpRuwiFD.cjs → BaseIcon-BQwivF_K.cjs} +1 -1
  5. package/dist/{BaseIcon-nz-vbP7I.js → BaseIcon-DH34CAFx.js} +1 -1
  6. package/dist/{DataTable-Dr-djTUz.cjs → DataTable-D5572vAU.cjs} +1 -1
  7. package/dist/{DataTable-pNLWbeCL.js → DataTable-DfMqgTjL.js} +2 -2
  8. package/dist/{Legend-BHbX2C8f.cjs → Legend-CoREnR30.cjs} +1 -1
  9. package/dist/{Legend-s9DRKvJo.js → Legend-PL8rU0J1.js} +2 -2
  10. package/dist/{PackageVersion-hltZM-fb.js → PackageVersion-1Y7SXTrk.js} +1 -1
  11. package/dist/{PackageVersion-DsoqDgVf.cjs → PackageVersion-JsuXjgR_.cjs} +1 -1
  12. package/dist/PenAndPaper-7lGhxIH8.cjs +1 -0
  13. package/dist/{PenAndPaper-qmkn1GhB.js → PenAndPaper-BYhUvcy4.js} +20 -16
  14. package/dist/{PenAndPaper.vue_vue_type_style_index_0_scoped_c968a401_lang-z17A_S1M.js → PenAndPaper.vue_vue_type_style_index_0_scoped_3cea7589_lang-AmNwJZI7.js} +3 -3
  15. package/dist/{PenAndPaper.vue_vue_type_style_index_0_scoped_c968a401_lang-lH7bkq1z.cjs → PenAndPaper.vue_vue_type_style_index_0_scoped_3cea7589_lang-NplvneD1.cjs} +1 -1
  16. package/dist/{Shape-YhMDtuHk.cjs → Shape-HtDeeGqp.cjs} +1 -1
  17. package/dist/{Shape-C3y6rj0O.js → Shape-Ov27sl2L.js} +1 -1
  18. package/dist/{Slicer-BIW17-XH.js → Slicer-6F4tHrZR.js} +3 -3
  19. package/dist/{Slicer-BA8XF-Ak.cjs → Slicer-COXIFuZ-.cjs} +1 -1
  20. package/dist/{Title-dsg3PqUg.js → Title-1PWD04Gh.js} +1 -1
  21. package/dist/{Title-DWqgN4Kv.cjs → Title-Pgt1Ixvo.cjs} +1 -1
  22. package/dist/{Tooltip-DRFQIslg.js → Tooltip-BTO5NGkn.js} +1 -1
  23. package/dist/{Tooltip-B6T_qzJD.cjs → Tooltip-te_h24w6.cjs} +1 -1
  24. package/dist/{index-3OrObUP-.cjs → index-DM-Bs-Ua.cjs} +1 -1
  25. package/dist/{index-DvAaY6OP.js → index-DUnEDLbc.js} +1 -1
  26. package/dist/index.es-DvaaoatM.cjs +18 -0
  27. package/dist/index.es-RWt7DWPC.js +6645 -0
  28. package/dist/{jspdf.es.min-C5v1xtPn.cjs → jspdf.es.min-Rw70uifz.cjs} +23 -23
  29. package/dist/{jspdf.es.min-DKXYalZb.js → jspdf.es.min-eTA26cmm.js} +476 -470
  30. package/dist/{pdf-CHXlEvWj.cjs → pdf-DSkQT5iH.cjs} +1 -1
  31. package/dist/{pdf-70oZh5Jp.js → pdf-DVWl3Adn.js} +1 -1
  32. package/dist/style.css +1 -1
  33. package/dist/{useNestedProp-CGzX7c5Q.js → useNestedProp-CEMeoM-f.js} +1 -1
  34. package/dist/{useNestedProp-B53Yi1Rk.cjs → useNestedProp-CYy5g-mh.cjs} +1 -1
  35. package/dist/usePrinter-DbpIk44f.cjs +1 -0
  36. package/dist/{usePrinter-D_2jA4x8.js → usePrinter-Undaynpo.js} +73 -71
  37. package/dist/useResponsive-N8jl0-aC.cjs +1 -0
  38. package/dist/{useResponsive-BWapHhVH.js → useResponsive-vZgZwV-S.js} +65 -64
  39. package/dist/{vue-data-ui-CTjgYwlW.cjs → vue-data-ui-BapofDyJ.cjs} +1 -1
  40. package/dist/{vue-data-ui-DMl9rAwQ.js → vue-data-ui-DnaIYz0z.js} +61 -61
  41. package/dist/vue-data-ui.cjs +1 -1
  42. package/dist/vue-data-ui.js +1 -1
  43. package/dist/{vue-ui-3d-bar-DBVRoMwv.js → vue-ui-3d-bar-DLYaW0-y.js} +105 -98
  44. package/dist/{vue-ui-3d-bar-OwVsZokU.cjs → vue-ui-3d-bar-DansBM76.cjs} +2 -2
  45. package/dist/{vue-ui-accordion-LbUarYuf.js → vue-ui-accordion-C8Couc_G.js} +3 -3
  46. package/dist/{vue-ui-accordion-BmScSwW2.cjs → vue-ui-accordion-ZIsT4At8.cjs} +1 -1
  47. package/dist/{vue-ui-age-pyramid-DQ5dL4yb.cjs → vue-ui-age-pyramid-BSXnW9GF.cjs} +1 -1
  48. package/dist/{vue-ui-age-pyramid-rmfEfmj7.js → vue-ui-age-pyramid-BdruKMmo.js} +76 -69
  49. package/dist/{vue-ui-annotator-nS_RSspz.cjs → vue-ui-annotator-B7Go0M7W.cjs} +1 -1
  50. package/dist/{vue-ui-annotator-FlMkU7Kj.js → vue-ui-annotator-DVfdPMa7.js} +2 -2
  51. package/dist/{vue-ui-bullet-esfPgi-9.js → vue-ui-bullet-CkCJgmoJ.js} +145 -138
  52. package/dist/{vue-ui-bullet-BGTTcXBJ.cjs → vue-ui-bullet-N9ud2cQ7.cjs} +4 -4
  53. package/dist/{vue-ui-candlestick-RHrlnUqs.js → vue-ui-candlestick-C9B13qeU.js} +116 -109
  54. package/dist/{vue-ui-candlestick-BUEGFHg_.cjs → vue-ui-candlestick-DPIs9tEW.cjs} +2 -2
  55. package/dist/{vue-ui-carousel-table-6uP-Kk9U.js → vue-ui-carousel-table-BLo52Rqu.js} +130 -123
  56. package/dist/{vue-ui-carousel-table-DCcPnWRU.cjs → vue-ui-carousel-table-DgcY4j9y.cjs} +1 -1
  57. package/dist/{vue-ui-chestnut-B7Ep4Lho.cjs → vue-ui-chestnut-C9Zw_bey.cjs} +2 -2
  58. package/dist/{vue-ui-chestnut-Dh4y5s_v.js → vue-ui-chestnut-D8oXG8Tf.js} +131 -124
  59. package/dist/vue-ui-circle-pack-CrEdkNM7.js +648 -0
  60. package/dist/vue-ui-circle-pack-DYW-e2E5.cjs +1 -0
  61. package/dist/{vue-ui-cursor-D-IzE_jd.cjs → vue-ui-cursor-CtSijliN.cjs} +1 -1
  62. package/dist/{vue-ui-cursor-C21WgpGu.js → vue-ui-cursor-DkW4pJcP.js} +2 -2
  63. package/dist/{vue-ui-dashboard-T0LqYCqM.js → vue-ui-dashboard-5_Du0Yr2.js} +3 -3
  64. package/dist/{vue-ui-dashboard-DQ_wht4B.cjs → vue-ui-dashboard-Dh5vRbdI.cjs} +1 -1
  65. package/dist/{vue-ui-digits-CwV6mhHZ.cjs → vue-ui-digits-DEmYk7sS.cjs} +1 -1
  66. package/dist/{vue-ui-digits-CLFrlUIW.js → vue-ui-digits-DhA1bHdz.js} +2 -2
  67. package/dist/{vue-ui-donut-dVplEheX.js → vue-ui-donut-B-G7gRdV.js} +118 -111
  68. package/dist/{vue-ui-donut-b_UXDeKJ.cjs → vue-ui-donut-BrZxaijU.cjs} +1 -1
  69. package/dist/{vue-ui-donut-evolution-Bl50EWBG.js → vue-ui-donut-evolution-B4almlBq.js} +164 -157
  70. package/dist/{vue-ui-donut-evolution-VxNtQWGH.cjs → vue-ui-donut-evolution-CTbXi7wk.cjs} +1 -1
  71. package/dist/{vue-ui-dumbbell-B-7s7x7a.cjs → vue-ui-dumbbell-CAIlnhsM.cjs} +2 -2
  72. package/dist/{vue-ui-dumbbell-Bp685TTG.js → vue-ui-dumbbell-kZGa__IU.js} +75 -68
  73. package/dist/{vue-ui-flow-CHbfoU97.js → vue-ui-flow-Bc31ZN1W.js} +177 -170
  74. package/dist/{vue-ui-flow-DJqOVlD7.cjs → vue-ui-flow-D2UNbwlp.cjs} +1 -1
  75. package/dist/{vue-ui-funnel-B77giO54.cjs → vue-ui-funnel-DfCz1GNN.cjs} +1 -1
  76. package/dist/{vue-ui-funnel-Bhv0XRzJ.js → vue-ui-funnel-V7hu2Iib.js} +129 -122
  77. package/dist/{vue-ui-galaxy-Dt4dx9bS.cjs → vue-ui-galaxy-CNBC7IbU.cjs} +1 -1
  78. package/dist/{vue-ui-galaxy-DMA8AX8h.js → vue-ui-galaxy-DLCcy7Kq.js} +77 -70
  79. package/dist/{vue-ui-gauge-CBlurlZk.js → vue-ui-gauge-CZMHtEcr.js} +153 -146
  80. package/dist/{vue-ui-gauge-Bh3iSbSd.cjs → vue-ui-gauge-D8IglqIF.cjs} +1 -1
  81. package/dist/{vue-ui-gizmo-CHhJKge-.js → vue-ui-gizmo-BuAVBMBp.js} +3 -3
  82. package/dist/{vue-ui-gizmo-BMrnNfYR.cjs → vue-ui-gizmo-fyC414Iv.cjs} +1 -1
  83. package/dist/vue-ui-heatmap-CDOry_F1.cjs +1 -0
  84. package/dist/{vue-ui-heatmap-CB4852rp.js → vue-ui-heatmap-hUfFzGck.js} +139 -132
  85. package/dist/{vue-ui-history-plot-AwmdEhYL.js → vue-ui-history-plot-C79l8rPm.js} +122 -115
  86. package/dist/{vue-ui-history-plot-BG7r0ZF7.cjs → vue-ui-history-plot-CIXgvWpk.cjs} +1 -1
  87. package/dist/{vue-ui-kpi-DcxE4Vv7.js → vue-ui-kpi-C3tHthXH.js} +3 -3
  88. package/dist/{vue-ui-kpi-BYCMEzBt.cjs → vue-ui-kpi-yiWxNLJ-.cjs} +1 -1
  89. package/dist/{vue-ui-mini-loader-CdDRH8Rb.js → vue-ui-mini-loader-1p1jAKx_.js} +2 -2
  90. package/dist/{vue-ui-mini-loader-DOqUfxRJ.cjs → vue-ui-mini-loader-26yCYjxn.cjs} +1 -1
  91. package/dist/{vue-ui-molecule-C-Z0Ywq1.cjs → vue-ui-molecule-Bw0dYLfu.cjs} +1 -1
  92. package/dist/{vue-ui-molecule-BskBKGbQ.js → vue-ui-molecule-COQ-yrBr.js} +249 -242
  93. package/dist/{vue-ui-mood-radar-BAPZ1LyF.js → vue-ui-mood-radar-CwfGiQ43.js} +111 -104
  94. package/dist/{vue-ui-mood-radar-BIrQKfVf.cjs → vue-ui-mood-radar-Cyde9hnR.cjs} +1 -1
  95. package/dist/{vue-ui-nested-donuts-BB2Kgb5F.js → vue-ui-nested-donuts-BVaW7w1U.js} +117 -110
  96. package/dist/{vue-ui-nested-donuts-7YjtP-jC.cjs → vue-ui-nested-donuts-Y07lLGRa.cjs} +2 -2
  97. package/dist/{vue-ui-onion-BWb18zcN.cjs → vue-ui-onion-DkXss-B_.cjs} +2 -2
  98. package/dist/{vue-ui-onion-BjMfXAZK.js → vue-ui-onion-h6DP9kOi.js} +143 -136
  99. package/dist/{vue-ui-parallel-coordinate-plot-D6Vs-5Vh.cjs → vue-ui-parallel-coordinate-plot-CkI21cq2.cjs} +2 -2
  100. package/dist/{vue-ui-parallel-coordinate-plot-ryqdfkHL.js → vue-ui-parallel-coordinate-plot-O5cwKbzH.js} +113 -106
  101. package/dist/{vue-ui-quadrant-Cr4ypLzT.js → vue-ui-quadrant-CfywvXnV.js} +112 -105
  102. package/dist/{vue-ui-quadrant-BmsHBpKo.cjs → vue-ui-quadrant-F6w-QJE_.cjs} +1 -1
  103. package/dist/{vue-ui-quick-chart-45IEXHb0.cjs → vue-ui-quick-chart-BeMHD_Kz.cjs} +3 -3
  104. package/dist/{vue-ui-quick-chart-C9dIHRYi.js → vue-ui-quick-chart-C1AwFGSr.js} +195 -188
  105. package/dist/{vue-ui-radar-Nr5JmVlk.cjs → vue-ui-radar-BejYh3DW.cjs} +1 -1
  106. package/dist/{vue-ui-radar-T6xdl9ic.js → vue-ui-radar-DDKXLi5o.js} +101 -94
  107. package/dist/{vue-ui-rating-C5AaiBqZ.js → vue-ui-rating-BrGbM0Op.js} +2 -2
  108. package/dist/{vue-ui-rating-CFIhZlG-.cjs → vue-ui-rating-C40ktvn7.cjs} +1 -1
  109. package/dist/{vue-ui-relation-circle-Cw-DcsRY.cjs → vue-ui-relation-circle-C4qT13SI.cjs} +1 -1
  110. package/dist/{vue-ui-relation-circle-BktS594K.js → vue-ui-relation-circle-DrtdiTMX.js} +103 -96
  111. package/dist/{vue-ui-rings-_evAK3j7.js → vue-ui-rings-C4IdhEUE.js} +169 -162
  112. package/dist/{vue-ui-rings-2j5fsO_o.cjs → vue-ui-rings-Cd8WyeDZ.cjs} +2 -2
  113. package/dist/{vue-ui-scatter-C5ePnByD.js → vue-ui-scatter-BS8sgyMi.js} +85 -78
  114. package/dist/{vue-ui-scatter-W1_ChsfO.cjs → vue-ui-scatter-MmvIeu4D.cjs} +1 -1
  115. package/dist/{vue-ui-screenshot-B6ASKPJf.cjs → vue-ui-screenshot-BB51-eRL.cjs} +1 -1
  116. package/dist/{vue-ui-screenshot-DM-PQM2g.js → vue-ui-screenshot-tnFPT1vi.js} +1 -1
  117. package/dist/{vue-ui-skeleton-WoggMoff.js → vue-ui-skeleton-DieABKlo.js} +3 -3
  118. package/dist/{vue-ui-skeleton-DaowWOKJ.cjs → vue-ui-skeleton-DlC-U64G.cjs} +1 -1
  119. package/dist/{vue-ui-smiley-gulDZ8i7.js → vue-ui-smiley-C32wVXgu.js} +2 -2
  120. package/dist/{vue-ui-smiley-hlaNlq2y.cjs → vue-ui-smiley-DSxKw3ud.cjs} +1 -1
  121. package/dist/{vue-ui-spark-trend-LbApLsdt.js → vue-ui-spark-trend-B_x1dX38.js} +5 -5
  122. package/dist/{vue-ui-spark-trend-BcrMflk6.cjs → vue-ui-spark-trend-vexkCCy9.cjs} +1 -1
  123. package/dist/{vue-ui-sparkbar-BdfaDBkw.cjs → vue-ui-sparkbar-CsOEiHDQ.cjs} +1 -1
  124. package/dist/{vue-ui-sparkbar-CnL6FbaE.js → vue-ui-sparkbar-ZSbB6Llo.js} +4 -4
  125. package/dist/{vue-ui-sparkgauge-CHv1q1cO.cjs → vue-ui-sparkgauge-Bdh7X--h.cjs} +1 -1
  126. package/dist/{vue-ui-sparkgauge-Du7PRJyB.js → vue-ui-sparkgauge-Cf3bDk98.js} +4 -4
  127. package/dist/{vue-ui-sparkhistogram-CyEyZvbD.js → vue-ui-sparkhistogram-CrZy1xf0.js} +5 -5
  128. package/dist/{vue-ui-sparkhistogram-CBqKXnvX.cjs → vue-ui-sparkhistogram-fALwb3uK.cjs} +1 -1
  129. package/dist/{vue-ui-sparkline-DRHE0kK8.cjs → vue-ui-sparkline-D4WDvcZR.cjs} +1 -1
  130. package/dist/{vue-ui-sparkline-BMNXPHhB.js → vue-ui-sparkline-DTW_lXgp.js} +5 -5
  131. package/dist/{vue-ui-sparkstackbar-D6wuDd8h.cjs → vue-ui-sparkstackbar-DBPLhUoi.cjs} +1 -1
  132. package/dist/{vue-ui-sparkstackbar-D33lwh8d.js → vue-ui-sparkstackbar-Db2Ndf0k.js} +5 -5
  133. package/dist/{vue-ui-stackbar-CnxGAca-.cjs → vue-ui-stackbar-B3eaSIoO.cjs} +3 -3
  134. package/dist/{vue-ui-stackbar-C5yoqQAY.js → vue-ui-stackbar-DbF3ZJTD.js} +211 -204
  135. package/dist/{vue-ui-strip-plot-Cg1B7i3X.js → vue-ui-strip-plot-CpkH2Gfd.js} +83 -76
  136. package/dist/{vue-ui-strip-plot-DDTTc2jA.cjs → vue-ui-strip-plot-DiCVf5u-.cjs} +1 -1
  137. package/dist/{vue-ui-table-BGfZl0wF.js → vue-ui-table-D6zWwikN.js} +1 -1
  138. package/dist/{vue-ui-table-TV5Coa0A.cjs → vue-ui-table-K13fqkDI.cjs} +1 -1
  139. package/dist/{vue-ui-table-heatmap-Jjx8L8St.cjs → vue-ui-table-heatmap-BgenCoVa.cjs} +1 -1
  140. package/dist/{vue-ui-table-heatmap-D0j2OFv0.js → vue-ui-table-heatmap-EAevgnzN.js} +63 -56
  141. package/dist/{vue-ui-table-sparkline-D0_FhhN5.cjs → vue-ui-table-sparkline-3JMqr89P.cjs} +1 -1
  142. package/dist/{vue-ui-table-sparkline-C2sUG_7S.js → vue-ui-table-sparkline-s_oWe6MG.js} +90 -83
  143. package/dist/{vue-ui-thermometer-Bw35Fw8v.cjs → vue-ui-thermometer--mYRly4x.cjs} +1 -1
  144. package/dist/{vue-ui-thermometer-CdLZ8te2.js → vue-ui-thermometer-Bo3l_0Kf.js} +113 -106
  145. package/dist/{vue-ui-timer-1-kXQ5_q.js → vue-ui-timer-C9EuUurN.js} +6 -6
  146. package/dist/{vue-ui-timer-Deg5YPx0.cjs → vue-ui-timer-Djh-ZDNe.cjs} +1 -1
  147. package/dist/{vue-ui-tiremarks-uSgVLSbo.cjs → vue-ui-tiremarks-CKv_KApZ.cjs} +1 -1
  148. package/dist/{vue-ui-tiremarks-BHTSw0fa.js → vue-ui-tiremarks-DgdpEDJ1.js} +76 -69
  149. package/dist/{vue-ui-treemap-7W_lvbV0.cjs → vue-ui-treemap-AkNJjd2c.cjs} +1 -1
  150. package/dist/{vue-ui-treemap-C2u5sEzh.js → vue-ui-treemap-D13sISL0.js} +144 -137
  151. package/dist/{vue-ui-vertical-bar-BlzOi8LC.cjs → vue-ui-vertical-bar-CQlvpdJl.cjs} +3 -3
  152. package/dist/{vue-ui-vertical-bar-U3LQF-NS.js → vue-ui-vertical-bar-DfegzHj4.js} +120 -113
  153. package/dist/{vue-ui-waffle-DUXvINoC.cjs → vue-ui-waffle-Dve1LWVt.cjs} +1 -1
  154. package/dist/{vue-ui-waffle-qAheWwiI.js → vue-ui-waffle-f72Lq8_D.js} +78 -71
  155. package/dist/{vue-ui-wheel-DIoKCgCS.cjs → vue-ui-wheel-BG1GcVvN.cjs} +1 -1
  156. package/dist/{vue-ui-wheel-CuLQchDK.js → vue-ui-wheel-BxefMdit.js} +105 -98
  157. package/dist/{vue-ui-word-cloud-B-nFH7hZ.js → vue-ui-word-cloud-BYY4K2G4.js} +123 -116
  158. package/dist/{vue-ui-word-cloud-BSvmRQ5n.cjs → vue-ui-word-cloud-CRRR7H7h.cjs} +1 -1
  159. package/dist/{vue-ui-xy-DXMoSF2C.js → vue-ui-xy-BS0_aTIH.js} +73 -66
  160. package/dist/{vue-ui-xy-BGsFH9wE.cjs → vue-ui-xy-DGYZFgdd.cjs} +2 -2
  161. package/dist/{vue-ui-xy-canvas-CTymfSH6.js → vue-ui-xy-canvas-Bl2v7Z3U.js} +200 -193
  162. package/dist/{vue-ui-xy-canvas-i13v43UX.cjs → vue-ui-xy-canvas-R_pPaj0X.cjs} +2 -2
  163. package/package.json +2 -7
  164. package/dist/PenAndPaper-Dbw8Fph9.cjs +0 -1
  165. package/dist/index-Dwoe0gcF.cjs +0 -15
  166. package/dist/index-Fl-W8YeZ.js +0 -3971
  167. package/dist/usePrinter-bPnqqKha.cjs +0 -1
  168. package/dist/useResponsive-YQYQrAZ_.cjs +0 -1
  169. package/dist/vue-ui-circle-pack-Ce1oEvgz.cjs +0 -1
  170. package/dist/vue-ui-circle-pack-CrgnQ_jY.js +0 -663
  171. package/dist/vue-ui-heatmap-DvItO4xs.cjs +0 -1
@@ -1,20 +1,20 @@
1
- import { computed as v, ref as n, watch as we, onMounted as Xe, onBeforeUnmount as Ge, createElementBlock as u, openBlock as s, unref as i, normalizeStyle as B, normalizeClass as U, createBlock as C, createCommentVNode as f, createElementVNode as _, createVNode as $e, createSlots as Ee, withCtx as g, renderSlot as h, normalizeProps as S, guardReactiveProps as F, Fragment as M, renderList as N, toDisplayString as O, createTextVNode as He, nextTick as We } from "vue";
2
- import { u as je, c as qe, t as Je, p as Ce, a as Ke, b as Qe, o as Ze, e as K, d as et, X as tt, f as R, i as Q, x as xe, q as at, r as lt, y as ot } from "./index-DvAaY6OP.js";
3
- import { t as rt, u as st } from "./useResponsive-BWapHhVH.js";
4
- import { _ as nt } from "./Title-dsg3PqUg.js";
5
- import { u as ut, U as it } from "./usePrinter-D_2jA4x8.js";
6
- import { L as ct } from "./Legend-s9DRKvJo.js";
7
- import { D as dt } from "./DataTable-pNLWbeCL.js";
8
- import { _ as vt } from "./Tooltip-DRFQIslg.js";
9
- import ht from "./vue-ui-skeleton-WoggMoff.js";
10
- import ft from "./vue-ui-accordion-LbUarYuf.js";
11
- import { u as Te } from "./useNestedProp-CGzX7c5Q.js";
12
- import { _ as gt } from "./PackageVersion-hltZM-fb.js";
13
- import { P as pt } from "./PenAndPaper-qmkn1GhB.js";
1
+ import { computed as h, ref as r, watch as we, onMounted as Xe, onBeforeUnmount as Ge, createElementBlock as u, openBlock as s, unref as i, normalizeStyle as B, normalizeClass as U, createBlock as C, createCommentVNode as g, createElementVNode as O, createVNode as $e, createSlots as Ee, withCtx as f, renderSlot as d, normalizeProps as _, guardReactiveProps as P, Fragment as M, renderList as N, toDisplayString as I, createTextVNode as He, nextTick as We } from "vue";
2
+ import { u as je, c as qe, t as Je, p as Ce, a as Ke, b as Qe, o as Ze, e as K, d as et, X as tt, f as R, i as Q, x as xe, q as at, r as lt, y as ot } from "./index-DUnEDLbc.js";
3
+ import { t as nt, u as st } from "./useResponsive-vZgZwV-S.js";
4
+ import { _ as rt } from "./Title-1PWD04Gh.js";
5
+ import { u as ut, U as it } from "./usePrinter-Undaynpo.js";
6
+ import { L as ct } from "./Legend-PL8rU0J1.js";
7
+ import { D as dt } from "./DataTable-DfMqgTjL.js";
8
+ import { _ as vt } from "./Tooltip-BTO5NGkn.js";
9
+ import ht from "./vue-ui-skeleton-DieABKlo.js";
10
+ import ft from "./vue-ui-accordion-C8Couc_G.js";
11
+ import { u as Te } from "./useNestedProp-CEMeoM-f.js";
12
+ import { _ as gt } from "./PackageVersion-1Y7SXTrk.js";
13
+ import { P as pt } from "./PenAndPaper-BYhUvcy4.js";
14
14
  import { u as yt } from "./useUserOptionState-BIvW1Kz7.js";
15
15
  import { u as mt } from "./useChartAccessibility-BWojgys7.js";
16
16
  import { _ as bt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
17
- const kt = ["id"], wt = ["xmlns", "viewBox"], $t = ["width", "height"], Ct = ["cx", "cy", "r", "stroke", "stroke-width", "stroke-dasharray", "stroke-dashoffset"], xt = ["cx", "cy", "r", "stroke", "stroke-width", "stroke-dasharray", "stroke-dashoffset"], Tt = ["id"], _t = ["stdDeviation"], Ot = ["filter"], Pt = ["cx", "cy", "r", "stroke-width", "stroke-dasharray", "stroke-dashoffset"], At = ["cx", "cy", "r", "stroke-width", "stroke-dasharray", "stroke-dashoffset", "onMouseenter"], It = { key: 2 }, St = ["onMouseenter"], Ft = ["x", "y", "font-size", "fill", "font-weight"], Mt = {
17
+ const kt = ["id"], wt = ["xmlns", "viewBox"], $t = ["width", "height"], Ct = ["cx", "cy", "r", "stroke", "stroke-width", "stroke-dasharray", "stroke-dashoffset"], xt = ["cx", "cy", "r", "stroke", "stroke-width", "stroke-dasharray", "stroke-dashoffset"], Tt = ["id"], Ot = ["stdDeviation"], _t = ["filter"], Pt = ["cx", "cy", "r", "stroke-width", "stroke-dasharray", "stroke-dashoffset"], It = ["cx", "cy", "r", "stroke-width", "stroke-dasharray", "stroke-dashoffset", "onMouseenter"], At = { key: 2 }, St = ["onMouseenter"], Ft = ["x", "y", "font-size", "fill", "font-weight"], Mt = {
18
18
  key: 5,
19
19
  class: "vue-data-ui-watermark"
20
20
  }, Nt = ["onClick"], Rt = ["innerHTML"], Dt = {
@@ -34,15 +34,15 @@ const kt = ["id"], wt = ["xmlns", "viewBox"], $t = ["width", "height"], Ct = ["c
34
34
  }
35
35
  },
36
36
  emits: ["selectLegend"],
37
- setup(_e, { expose: Oe, emit: Pe }) {
38
- const { vue_ui_onion: Ae } = je(), w = _e, D = v(() => !!w.dataset && w.dataset.length), x = n(qe()), Ie = n(null), Z = n(0), L = n(!1), X = n(""), y = n([]), P = n(null), ee = n(null), te = n(null), ae = n(null), le = n(null), oe = n(0), re = n(0), se = n(0), e = v({
37
+ setup(Oe, { expose: _e, emit: Pe }) {
38
+ const { vue_ui_onion: Ie } = je(), w = Oe, D = h(() => !!w.dataset && w.dataset.length), x = r(qe()), Ae = r(null), Z = r(0), L = r(!1), X = r(""), y = r([]), A = r(null), ee = r(null), te = r(null), ae = r(null), le = r(null), oe = r(0), ne = r(0), se = r(0), e = h({
39
39
  get: () => ce(),
40
40
  set: (t) => t
41
- }), { userOptionsVisible: G, setUserOptionsVisibility: ne, keepUserOptionState: ue } = yt({ config: e.value }), { svgRef: ie } = mt({ config: e.value.style.chart.title });
41
+ }), { userOptionsVisible: G, setUserOptionsVisibility: re, keepUserOptionState: ue } = yt({ config: e.value }), { svgRef: ie } = mt({ config: e.value.style.chart.title });
42
42
  function ce() {
43
43
  const t = Te({
44
44
  userConfig: w.config,
45
- defaultConfig: Ae
45
+ defaultConfig: Ie
46
46
  });
47
47
  return t.theme ? {
48
48
  ...Te({
@@ -53,15 +53,15 @@ const kt = ["id"], wt = ["xmlns", "viewBox"], $t = ["width", "height"], Ct = ["c
53
53
  } : t;
54
54
  }
55
55
  we(() => w.config, (t) => {
56
- e.value = ce(), G.value = !e.value.userOptions.showOnChartHover, ge(), oe.value += 1, re.value += 1, se.value += 1, m.value.showTable = e.value.table.show, m.value.showTooltip = e.value.style.chart.tooltip.show;
56
+ e.value = ce(), G.value = !e.value.userOptions.showOnChartHover, ge(), oe.value += 1, ne.value += 1, se.value += 1, m.value.showTable = e.value.table.show, m.value.showTooltip = e.value.style.chart.tooltip.show;
57
57
  }, { deep: !0 });
58
58
  const { isPrinting: de, isImaging: ve, generatePdf: he, generateImage: fe } = ut({
59
59
  elementId: `vue-ui-onion_${x.value}`,
60
60
  fileName: e.value.style.chart.title.text || "vue-ui-onion"
61
- }), Se = v(() => e.value.userOptions.show && !e.value.style.chart.title.text), Fe = v(() => Qe(e.value.customPalette)), m = n({
61
+ }), Se = h(() => e.value.userOptions.show && !e.value.style.chart.title.text), Fe = h(() => Qe(e.value.customPalette)), m = r({
62
62
  showTable: e.value.table.show,
63
63
  showTooltip: e.value.style.chart.tooltip.show
64
- }), r = n({
64
+ }), n = r({
65
65
  height: 512,
66
66
  width: 512,
67
67
  padding: {
@@ -71,7 +71,7 @@ const kt = ["id"], wt = ["xmlns", "viewBox"], $t = ["width", "height"], Ct = ["c
71
71
  bottom: 64
72
72
  },
73
73
  minRadius: 64
74
- }), V = n(null);
74
+ }), V = r(null);
75
75
  Xe(() => {
76
76
  ge();
77
77
  });
@@ -80,36 +80,36 @@ const kt = ["id"], wt = ["xmlns", "viewBox"], $t = ["width", "height"], Ct = ["c
80
80
  componentName: "VueUiOnion",
81
81
  type: "dataset"
82
82
  }), e.value.responsive) {
83
- const o = rt(() => {
83
+ const o = nt(() => {
84
84
  const { width: a, height: l } = st({
85
- chart: P.value,
85
+ chart: A.value,
86
86
  title: e.value.style.chart.title.text ? ee.value : null,
87
87
  legend: e.value.style.chart.legend.show ? te.value : null,
88
88
  source: ae.value,
89
89
  noTitle: le.value
90
90
  });
91
91
  requestAnimationFrame(() => {
92
- r.value.width = a, r.value.height = l, r.value.padding.top = Math.max(a, l) * 0.125, r.value.padding.right = Math.max(a, l) * 0.125, r.value.padding.bottom = Math.max(a, l) * 0.125, r.value.padding.left = Math.max(a, l) * 0.125, r.value.minRadius = Math.min(a, l) * 0.125;
92
+ n.value.width = a, n.value.height = l, n.value.padding.top = Math.max(a, l) * 0.125, n.value.padding.right = Math.max(a, l) * 0.125, n.value.padding.bottom = Math.max(a, l) * 0.125, n.value.padding.left = Math.max(a, l) * 0.125, n.value.minRadius = Math.min(a, l) * 0.125;
93
93
  });
94
94
  });
95
- V.value = new ResizeObserver(o), V.value.observe(P.value.parentNode);
95
+ V.value = new ResizeObserver(o), V.value.observe(A.value.parentNode);
96
96
  }
97
97
  }
98
98
  Ge(() => {
99
99
  V.value && V.value.disconnect();
100
100
  });
101
- const c = v(() => ({
102
- top: r.value.padding.top,
103
- left: r.value.padding.left,
104
- right: r.value.width - r.value.padding.right,
105
- bottom: r.value.height - r.value.padding.bottom,
106
- centerX: r.value.width / 2,
107
- centerY: r.value.height / 2,
108
- width: r.value.width - r.value.padding.right - r.value.padding.left,
109
- height: r.value.height - r.value.padding.bottom - r.value.padding.top,
110
- minRadius: r.value.minRadius,
111
- maxRadius: Math.min(r.value.width, r.value.height) - r.value.padding.top * 2
112
- })), d = v(() => (w.dataset.forEach((t, o) => {
101
+ const c = h(() => ({
102
+ top: n.value.padding.top,
103
+ left: n.value.padding.left,
104
+ right: n.value.width - n.value.padding.right,
105
+ bottom: n.value.height - n.value.padding.bottom,
106
+ centerX: n.value.width / 2,
107
+ centerY: n.value.height / 2,
108
+ width: n.value.width - n.value.padding.right - n.value.padding.left,
109
+ height: n.value.height - n.value.padding.bottom - n.value.padding.top,
110
+ minRadius: n.value.minRadius,
111
+ maxRadius: Math.min(n.value.width, n.value.height) - n.value.padding.top * 2
112
+ })), v = h(() => (w.dataset.forEach((t, o) => {
113
113
  [null, void 0].includes(t.name) && K({
114
114
  componentName: "VueUiOnion",
115
115
  type: "datasetSerieAttribute",
@@ -135,39 +135,39 @@ const kt = ["id"], wt = ["xmlns", "viewBox"], $t = ["width", "height"], Ct = ["c
135
135
  segregate: () => pe(a),
136
136
  isSegregated: y.value.includes(a)
137
137
  };
138
- }))), A = n(d.value), Me = v(() => e.value.useStartAnimation), Ne = n(null), Re = v(() => Math.max(...d.value.map((t) => t.percentage))), E = n(!1);
139
- we(() => d.value, De, { immediate: !0 });
138
+ }))), S = r(v.value), Me = h(() => e.value.useStartAnimation), Ne = r(null), Re = h(() => Math.max(...v.value.map((t) => t.percentage))), E = r(!1);
139
+ we(() => v.value, De, { immediate: !0 });
140
140
  function De() {
141
141
  if (Me.value && !E.value) {
142
142
  let o = function() {
143
- t >= Re.value ? (cancelAnimationFrame(Ne.value), A.value = d.value, E.value = !0) : (A.value = d.value.map((a) => ({
143
+ t >= Re.value ? (cancelAnimationFrame(Ne.value), S.value = v.value, E.value = !0) : (S.value = v.value.map((a) => ({
144
144
  ...a,
145
145
  percentage: t < a.targetPercentage ? t : a.targetPercentage
146
146
  })), t += 1, requestAnimationFrame(o), E.value = !0);
147
147
  };
148
- A.value = d.value.map((a) => ({
148
+ S.value = v.value.map((a) => ({
149
149
  ...a,
150
150
  percentage: 0
151
151
  }));
152
152
  let t = 0;
153
153
  o();
154
154
  } else
155
- A.value = d.value;
155
+ S.value = v.value;
156
156
  }
157
- const Le = v(() => ({
157
+ const Le = h(() => ({
158
158
  cy: "onion-div-legend",
159
159
  backgroundColor: e.value.style.chart.legend.backgroundColor,
160
160
  color: e.value.style.chart.legend.color,
161
161
  fontSize: e.value.style.chart.legend.fontSize,
162
162
  paddingBottom: 12,
163
163
  fontWeight: e.value.style.chart.legend.bold ? "bold" : ""
164
- })), Ve = v(() => d.value.filter((t) => !y.value.includes(t.id)).length), $ = v(() => {
165
- const t = Math.min(c.value.width, c.value.height) / 2 / d.value.length;
164
+ })), Ve = h(() => v.value.filter((t) => !y.value.includes(t.id)).length), $ = h(() => {
165
+ const t = Math.min(c.value.width, c.value.height) / 2 / v.value.length;
166
166
  return {
167
167
  gutter: (t > e.value.style.chart.layout.maxThickness ? e.value.style.chart.layout.maxThickness : t) * e.value.style.chart.layout.gutter.width,
168
168
  track: (t > e.value.style.chart.layout.maxThickness ? e.value.style.chart.layout.maxThickness : t) * e.value.style.chart.layout.track.width
169
169
  };
170
- }), b = v(() => A.value.filter((t) => !y.value.includes(t.id)).map((t, o) => {
170
+ }), b = h(() => S.value.filter((t) => !y.value.includes(t.id)).map((t, o) => {
171
171
  const a = (c.value.maxRadius - $.value.track) / Ve.value / 2 * (1 + o), l = c.value.centerY - a;
172
172
  return {
173
173
  percentage: t.percentage || 0,
@@ -178,12 +178,12 @@ const kt = ["id"], wt = ["xmlns", "viewBox"], $t = ["width", "height"], Ct = ["c
178
178
  };
179
179
  }));
180
180
  function ze(t, o) {
181
- const a = 2 * Math.PI * t, l = a * 0.75, p = `${l} ${a}`, I = l * (1 - o / 100);
181
+ const a = 2 * Math.PI * t, l = a * 0.75, p = `${l} ${a}`, F = l * (1 - o / 100);
182
182
  return {
183
183
  bgDashArray: `${l} ${a}`,
184
184
  bgDashOffset: 0,
185
185
  dashArray: p,
186
- dashOffset: I,
186
+ dashOffset: F,
187
187
  fullOffset: 0,
188
188
  active: `
189
189
  M ${c.value.centerX},${c.value.centerY - t}
@@ -199,14 +199,14 @@ const kt = ["id"], wt = ["xmlns", "viewBox"], $t = ["width", "height"], Ct = ["c
199
199
  function Be() {
200
200
  return b.value;
201
201
  }
202
- const H = v(() => {
202
+ const H = h(() => {
203
203
  const t = [e.value.table.translations.serie, e.value.table.translations.percentage, e.value.table.translations.value], o = b.value.map((a) => [
204
204
  a.name,
205
205
  a.percentage,
206
206
  a.value
207
207
  ]);
208
208
  return { head: t, body: o };
209
- }), z = v(() => {
209
+ }), z = h(() => {
210
210
  const t = H.value.head, o = b.value.map((l) => [
211
211
  `<span style="color:${l.color}">⬤</span> ${l.name}`,
212
212
  `${Number(l.percentage ?? 0).toFixed(e.value.table.td.roundingPercentage).toLocaleString()}%`,
@@ -232,31 +232,31 @@ const kt = ["id"], wt = ["xmlns", "viewBox"], $t = ["width", "height"], Ct = ["c
232
232
  lt({ csvContent: p, title: e.value.style.chart.title.text || "vue-ui-onion" });
233
233
  });
234
234
  }
235
- const k = n(void 0), T = n(!1);
235
+ const k = r(void 0), T = r(!1);
236
236
  function Ue(t) {
237
237
  T.value = t, Z.value += 1;
238
238
  }
239
- const W = n(null);
239
+ const W = r(null);
240
240
  function me({ datapoint: t, seriesIndex: o, show: a = !0 }) {
241
241
  const l = t.absoluteIndex;
242
242
  k.value = o, W.value = {
243
243
  datapoint: t,
244
244
  seriesIndex: l,
245
- series: d.value,
245
+ series: v.value,
246
246
  config: e.value
247
247
  }, L.value = a;
248
248
  let p = "";
249
- const I = e.value.style.chart.tooltip.customFormat;
250
- if (xe(I) && ot(() => I({
249
+ const F = e.value.style.chart.tooltip.customFormat;
250
+ if (xe(F) && ot(() => F({
251
251
  seriesIndex: l,
252
252
  datapoint: t,
253
- series: d.value,
253
+ series: v.value,
254
254
  config: e.value
255
255
  })))
256
- X.value = I({
256
+ X.value = F({
257
257
  seriesIndex: l,
258
258
  datapoint: t,
259
- series: d.value,
259
+ series: v.value,
260
260
  config: e.value
261
261
  });
262
262
  else {
@@ -280,11 +280,11 @@ const kt = ["id"], wt = ["xmlns", "viewBox"], $t = ["width", "height"], Ct = ["c
280
280
  function ke() {
281
281
  m.value.showTooltip = !m.value.showTooltip;
282
282
  }
283
- const Y = n(!1);
283
+ const Y = r(!1);
284
284
  function j() {
285
285
  Y.value = !Y.value;
286
286
  }
287
- return Oe({
287
+ return _e({
288
288
  getData: Be,
289
289
  generatePdf: he,
290
290
  generateCsv: ye,
@@ -295,11 +295,11 @@ const kt = ["id"], wt = ["xmlns", "viewBox"], $t = ["width", "height"], Ct = ["c
295
295
  }), (t, o) => (s(), u("div", {
296
296
  class: U(`vue-ui-onion ${T.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.value.useCssAnimation ? "" : "vue-ui-dna"}`),
297
297
  ref_key: "onionChart",
298
- ref: P,
298
+ ref: A,
299
299
  id: `vue-ui-onion_${x.value}`,
300
300
  style: B(`font-family:${e.value.style.fontFamily};width:100%; ${e.value.responsive ? "height: 100%;" : ""} text-align:center;background:${e.value.style.chart.backgroundColor}`),
301
- onMouseenter: o[4] || (o[4] = () => i(ne)(!0)),
302
- onMouseleave: o[5] || (o[5] = () => i(ne)(!1))
301
+ onMouseenter: o[4] || (o[4] = () => i(re)(!0)),
302
+ onMouseleave: o[5] || (o[5] = () => i(re)(!1))
303
303
  }, [
304
304
  e.value.userOptions.buttons.annotator ? (s(), C(pt, {
305
305
  key: 0,
@@ -308,21 +308,21 @@ const kt = ["id"], wt = ["xmlns", "viewBox"], $t = ["width", "height"], Ct = ["c
308
308
  color: e.value.style.chart.color,
309
309
  active: Y.value,
310
310
  onClose: j
311
- }, null, 8, ["svgRef", "backgroundColor", "color", "active"])) : f("", !0),
311
+ }, null, 8, ["svgRef", "backgroundColor", "color", "active"])) : g("", !0),
312
312
  Se.value ? (s(), u("div", {
313
313
  key: 1,
314
314
  ref_key: "noTitle",
315
315
  ref: le,
316
316
  class: "vue-data-ui-no-title-space",
317
317
  style: "height:36px; width: 100%;background:transparent"
318
- }, null, 512)) : f("", !0),
318
+ }, null, 512)) : g("", !0),
319
319
  e.value.style.chart.title.text ? (s(), u("div", {
320
320
  key: 2,
321
321
  ref_key: "chartTitle",
322
322
  ref: ee,
323
323
  style: "width:100%;background:transparent"
324
324
  }, [
325
- (s(), C(nt, {
325
+ (s(), C(rt, {
326
326
  key: `title_${oe.value}`,
327
327
  config: {
328
328
  title: {
@@ -335,10 +335,10 @@ const kt = ["id"], wt = ["xmlns", "viewBox"], $t = ["width", "height"], Ct = ["c
335
335
  }
336
336
  }
337
337
  }, null, 8, ["config"]))
338
- ], 512)) : f("", !0),
338
+ ], 512)) : g("", !0),
339
339
  e.value.userOptions.show && D.value && (i(ue) || i(G)) ? (s(), C(it, {
340
340
  ref_key: "details",
341
- ref: Ie,
341
+ ref: Ae,
342
342
  key: `user_options${Z.value}`,
343
343
  backgroundColor: e.value.style.chart.backgroundColor,
344
344
  color: e.value.style.chart.color,
@@ -354,7 +354,7 @@ const kt = ["id"], wt = ["xmlns", "viewBox"], $t = ["width", "height"], Ct = ["c
354
354
  isFullscreen: T.value,
355
355
  isTooltip: m.value.showTooltip,
356
356
  titles: { ...e.value.userOptions.buttonTitles },
357
- chartElement: P.value,
357
+ chartElement: A.value,
358
358
  position: e.value.userOptions.position,
359
359
  hasAnnotator: e.value.userOptions.buttons.annotator,
360
360
  isAnnotation: Y.value,
@@ -369,63 +369,70 @@ const kt = ["id"], wt = ["xmlns", "viewBox"], $t = ["width", "height"], Ct = ["c
369
369
  visibility: i(ue) ? i(G) ? "visible" : "hidden" : "visible"
370
370
  })
371
371
  }, Ee({ _: 2 }, [
372
+ t.$slots.menuIcon ? {
373
+ name: "menuIcon",
374
+ fn: f(({ isOpen: a, color: l }) => [
375
+ d(t.$slots, "menuIcon", _(P({ isOpen: a, color: l })), void 0, !0)
376
+ ]),
377
+ key: "0"
378
+ } : void 0,
372
379
  t.$slots.optionTooltip ? {
373
380
  name: "optionTooltip",
374
- fn: g(() => [
375
- h(t.$slots, "optionTooltip", {}, void 0, !0)
381
+ fn: f(() => [
382
+ d(t.$slots, "optionTooltip", {}, void 0, !0)
376
383
  ]),
377
- key: "0"
384
+ key: "1"
378
385
  } : void 0,
379
386
  t.$slots.optionPdf ? {
380
387
  name: "optionPdf",
381
- fn: g(() => [
382
- h(t.$slots, "optionPdf", {}, void 0, !0)
388
+ fn: f(() => [
389
+ d(t.$slots, "optionPdf", {}, void 0, !0)
383
390
  ]),
384
- key: "1"
391
+ key: "2"
385
392
  } : void 0,
386
393
  t.$slots.optionCsv ? {
387
394
  name: "optionCsv",
388
- fn: g(() => [
389
- h(t.$slots, "optionCsv", {}, void 0, !0)
395
+ fn: f(() => [
396
+ d(t.$slots, "optionCsv", {}, void 0, !0)
390
397
  ]),
391
- key: "2"
398
+ key: "3"
392
399
  } : void 0,
393
400
  t.$slots.optionImg ? {
394
401
  name: "optionImg",
395
- fn: g(() => [
396
- h(t.$slots, "optionImg", {}, void 0, !0)
402
+ fn: f(() => [
403
+ d(t.$slots, "optionImg", {}, void 0, !0)
397
404
  ]),
398
- key: "3"
405
+ key: "4"
399
406
  } : void 0,
400
407
  t.$slots.optionTable ? {
401
408
  name: "optionTable",
402
- fn: g(() => [
403
- h(t.$slots, "optionTable", {}, void 0, !0)
409
+ fn: f(() => [
410
+ d(t.$slots, "optionTable", {}, void 0, !0)
404
411
  ]),
405
- key: "4"
412
+ key: "5"
406
413
  } : void 0,
407
414
  t.$slots.optionFullscreen ? {
408
415
  name: "optionFullscreen",
409
- fn: g(({ toggleFullscreen: a, isFullscreen: l }) => [
410
- h(t.$slots, "optionFullscreen", S(F({ toggleFullscreen: a, isFullscreen: l })), void 0, !0)
416
+ fn: f(({ toggleFullscreen: a, isFullscreen: l }) => [
417
+ d(t.$slots, "optionFullscreen", _(P({ toggleFullscreen: a, isFullscreen: l })), void 0, !0)
411
418
  ]),
412
- key: "5"
419
+ key: "6"
413
420
  } : void 0,
414
421
  t.$slots.optionAnnotator ? {
415
422
  name: "optionAnnotator",
416
- fn: g(({ toggleAnnotator: a, isAnnotator: l }) => [
417
- h(t.$slots, "optionAnnotator", S(F({ toggleAnnotator: a, isAnnotator: l })), void 0, !0)
423
+ fn: f(({ toggleAnnotator: a, isAnnotator: l }) => [
424
+ d(t.$slots, "optionAnnotator", _(P({ toggleAnnotator: a, isAnnotator: l })), void 0, !0)
418
425
  ]),
419
- key: "6"
426
+ key: "7"
420
427
  } : void 0
421
- ]), 1032, ["backgroundColor", "color", "isImaging", "isPrinting", "uid", "hasTooltip", "hasPdf", "hasImg", "hasXls", "hasTable", "hasFullscreen", "isFullscreen", "isTooltip", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "onGeneratePdf", "onGenerateImage", "style"])) : f("", !0),
428
+ ]), 1032, ["backgroundColor", "color", "isImaging", "isPrinting", "uid", "hasTooltip", "hasPdf", "hasImg", "hasXls", "hasTable", "hasFullscreen", "isFullscreen", "isTooltip", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "onGeneratePdf", "onGenerateImage", "style"])) : g("", !0),
422
429
  D.value ? (s(), u("svg", {
423
430
  key: 4,
424
431
  ref_key: "svgRef",
425
432
  ref: ie,
426
433
  xmlns: i(tt),
427
434
  class: U({ "vue-data-ui-fullscreen--on": T.value, "vue-data-ui-fulscreen--off": !T.value }),
428
- viewBox: `0 0 ${r.value.width <= 0 ? 10 : r.value.width} ${r.value.height <= 0 ? 10 : r.value.height}`,
435
+ viewBox: `0 0 ${n.value.width <= 0 ? 10 : n.value.width} ${n.value.height <= 0 ? 10 : n.value.height}`,
429
436
  style: B(`max-width:100%;overflow:visible;background:transparent;color:${e.value.style.chart.color}`)
430
437
  }, [
431
438
  $e(gt),
@@ -433,14 +440,14 @@ const kt = ["id"], wt = ["xmlns", "viewBox"], $t = ["width", "height"], Ct = ["c
433
440
  key: 0,
434
441
  x: 0,
435
442
  y: 0,
436
- width: r.value.width <= 0 ? 10 : r.value.width,
437
- height: r.value.height <= 0 ? 10 : r.value.height,
443
+ width: n.value.width <= 0 ? 10 : n.value.width,
444
+ height: n.value.height <= 0 ? 10 : n.value.height,
438
445
  style: {
439
446
  pointerEvents: "none"
440
447
  }
441
448
  }, [
442
- h(t.$slots, "chart-background", {}, void 0, !0)
443
- ], 8, $t)) : f("", !0),
449
+ d(t.$slots, "chart-background", {}, void 0, !0)
450
+ ], 8, $t)) : g("", !0),
444
451
  (s(!0), u(M, null, N(b.value, (a, l) => (s(), u("circle", {
445
452
  cx: c.value.centerX,
446
453
  cy: c.value.centerY,
@@ -467,18 +474,18 @@ const kt = ["id"], wt = ["xmlns", "viewBox"], $t = ["width", "height"], Ct = ["c
467
474
  "stroke-linecap": "round",
468
475
  style: { transform: "rotate(-90deg)", "transform-origin": "50% 50%" }
469
476
  }, null, 10, xt))), 256)),
470
- _("defs", null, [
471
- _("filter", {
477
+ O("defs", null, [
478
+ O("filter", {
472
479
  id: `blur_${x.value}`,
473
480
  x: "-50%",
474
481
  y: "-50%",
475
482
  width: "200%",
476
483
  height: "200%"
477
484
  }, [
478
- _("feGaussianBlur", {
485
+ O("feGaussianBlur", {
479
486
  in: "SourceGraphic",
480
487
  stdDeviation: 100 / e.value.style.chart.gradientIntensity
481
- }, null, 8, _t)
488
+ }, null, 8, Ot)
482
489
  ], 8, Tt)
483
490
  ]),
484
491
  e.value.style.chart.useGradient ? (s(), u("g", {
@@ -497,7 +504,7 @@ const kt = ["id"], wt = ["xmlns", "viewBox"], $t = ["width", "height"], Ct = ["c
497
504
  "stroke-dashoffset": a.path.dashOffset,
498
505
  style: { transform: "rotate(-90deg)", "transform-origin": "50% 50%" }
499
506
  }, null, 8, Pt))), 256))
500
- ], 8, Ot)) : f("", !0),
507
+ ], 8, _t)) : g("", !0),
501
508
  (s(!0), u(M, null, N(b.value, (a, l) => (s(), u("circle", {
502
509
  cx: c.value.centerX,
503
510
  cy: c.value.centerY,
@@ -518,8 +525,8 @@ const kt = ["id"], wt = ["xmlns", "viewBox"], $t = ["width", "height"], Ct = ["c
518
525
  onMouseleave: o[0] || (o[0] = (p) => {
519
526
  k.value = void 0, L.value = !1;
520
527
  })
521
- }, null, 40, At))), 256)),
522
- e.value.style.chart.layout.labels.show ? (s(), u("g", It, [
528
+ }, null, 40, It))), 256)),
529
+ e.value.style.chart.layout.labels.show ? (s(), u("g", At, [
523
530
  (s(!0), u(M, null, N(b.value, (a, l) => (s(), u("g", {
524
531
  onMouseenter: (p) => me({
525
532
  datapoint: a,
@@ -530,19 +537,19 @@ const kt = ["id"], wt = ["xmlns", "viewBox"], $t = ["width", "height"], Ct = ["c
530
537
  k.value = void 0, L.value = !1;
531
538
  })
532
539
  }, [
533
- y.value.includes(a.id) ? f("", !0) : (s(), u("text", {
540
+ y.value.includes(a.id) ? g("", !0) : (s(), u("text", {
534
541
  key: 0,
535
- x: r.value.width / 2 - $.value.gutter * 0.8 + e.value.style.chart.layout.labels.offsetX,
542
+ x: n.value.width / 2 - $.value.gutter * 0.8 + e.value.style.chart.layout.labels.offsetX,
536
543
  y: a.labelY + e.value.style.chart.layout.labels.offsetY,
537
544
  "text-anchor": "end",
538
545
  "font-size": e.value.style.chart.layout.labels.fontSize,
539
546
  fill: e.value.useBlurOnHover && ![null, void 0].includes(k.value) && k.value === l ? a.color : e.value.style.chart.layout.labels.color,
540
547
  "font-weight": e.value.style.chart.layout.labels.bold ? "bold" : "normal"
541
- }, O(a.name ? a.name + ": " : "") + " " + O(e.value.style.chart.layout.labels.percentage.show ? i(R)({
548
+ }, I(a.name ? a.name + ": " : "") + " " + I(e.value.style.chart.layout.labels.percentage.show ? i(R)({
542
549
  v: a.percentage,
543
550
  s: "%",
544
551
  r: e.value.style.chart.layout.labels.roundingPercentage
545
- }) : "") + " " + O(!e.value.style.chart.layout.labels.percentage.show && e.value.style.chart.layout.labels.value.show ? `: ${i(Q)(
552
+ }) : "") + " " + I(!e.value.style.chart.layout.labels.percentage.show && e.value.style.chart.layout.labels.value.show ? `: ${i(Q)(
546
553
  e.value.style.chart.layout.labels.value.formatter,
547
554
  a.value,
548
555
  i(R)({
@@ -564,13 +571,13 @@ const kt = ["id"], wt = ["xmlns", "viewBox"], $t = ["width", "height"], Ct = ["c
564
571
  { datapoint: a, seriesIndex: l }
565
572
  )})` : ""}`), 9, Ft))
566
573
  ], 40, St))), 256))
567
- ])) : f("", !0),
568
- h(t.$slots, "svg", { svg: r.value }, void 0, !0)
569
- ], 14, wt)) : f("", !0),
574
+ ])) : g("", !0),
575
+ d(t.$slots, "svg", { svg: n.value }, void 0, !0)
576
+ ], 14, wt)) : g("", !0),
570
577
  t.$slots.watermark ? (s(), u("div", Mt, [
571
- h(t.$slots, "watermark", S(F({ isPrinting: i(de) || i(ve) })), void 0, !0)
572
- ])) : f("", !0),
573
- D.value ? f("", !0) : (s(), C(ht, {
578
+ d(t.$slots, "watermark", _(P({ isPrinting: i(de) || i(ve) })), void 0, !0)
579
+ ])) : g("", !0),
580
+ D.value ? g("", !0) : (s(), C(ht, {
574
581
  key: 6,
575
582
  config: {
576
583
  type: "onion",
@@ -582,27 +589,27 @@ const kt = ["id"], wt = ["xmlns", "viewBox"], $t = ["width", "height"], Ct = ["c
582
589
  }
583
590
  }
584
591
  }, null, 8, ["config"])),
585
- _("div", {
592
+ O("div", {
586
593
  ref_key: "chartLegend",
587
594
  ref: te
588
595
  }, [
589
596
  e.value.style.chart.legend.show ? (s(), C(ct, {
590
597
  key: `legend_${se.value}`,
591
- legendSet: d.value,
598
+ legendSet: v.value,
592
599
  config: Le.value,
593
600
  onClickMarker: o[2] || (o[2] = ({ legend: a }) => pe(a.id))
594
601
  }, {
595
- item: g(({ legend: a }) => [
596
- _("div", {
602
+ item: f(({ legend: a }) => [
603
+ O("div", {
597
604
  "data-cy-legend-item": "",
598
605
  onClick: (l) => a.segregate(),
599
606
  style: B(`opacity:${y.value.includes(a.id) ? 0.5 : 1}`)
600
- }, O(a.name ? a.name + ": " : "") + " " + O((a.percentage || 0).toFixed(e.value.style.chart.legend.roundingPercentage)) + "% ", 13, Nt)
607
+ }, I(a.name ? a.name + ": " : "") + " " + I((a.percentage || 0).toFixed(e.value.style.chart.legend.roundingPercentage)) + "% ", 13, Nt)
601
608
  ]),
602
609
  _: 1
603
- }, 8, ["legendSet", "config"])) : h(t.$slots, "legend", {
610
+ }, 8, ["legendSet", "config"])) : d(t.$slots, "legend", {
604
611
  key: 1,
605
- legend: d.value
612
+ legend: v.value
606
613
  }, void 0, !0)
607
614
  ], 512),
608
615
  t.$slots.source ? (s(), u("div", {
@@ -611,8 +618,8 @@ const kt = ["id"], wt = ["xmlns", "viewBox"], $t = ["width", "height"], Ct = ["c
611
618
  ref: ae,
612
619
  dir: "auto"
613
620
  }, [
614
- h(t.$slots, "source", {}, void 0, !0)
615
- ], 512)) : f("", !0),
621
+ d(t.$slots, "source", {}, void 0, !0)
622
+ ], 512)) : g("", !0),
616
623
  $e(vt, {
617
624
  show: m.value.showTooltip && L.value,
618
625
  backgroundColor: e.value.style.chart.tooltip.backgroundColor,
@@ -624,16 +631,16 @@ const kt = ["id"], wt = ["xmlns", "viewBox"], $t = ["width", "height"], Ct = ["c
624
631
  backgroundOpacity: e.value.style.chart.tooltip.backgroundOpacity,
625
632
  position: e.value.style.chart.tooltip.position,
626
633
  offsetY: e.value.style.chart.tooltip.offsetY,
627
- parent: P.value,
634
+ parent: A.value,
628
635
  content: X.value,
629
636
  isFullscreen: T.value,
630
637
  isCustom: i(xe)(e.value.style.chart.tooltip.customFormat)
631
638
  }, {
632
- "tooltip-before": g(() => [
633
- h(t.$slots, "tooltip-before", S(F({ ...W.value })), void 0, !0)
639
+ "tooltip-before": f(() => [
640
+ d(t.$slots, "tooltip-before", _(P({ ...W.value })), void 0, !0)
634
641
  ]),
635
- "tooltip-after": g(() => [
636
- h(t.$slots, "tooltip-after", S(F({ ...W.value })), void 0, !0)
642
+ "tooltip-after": f(() => [
643
+ d(t.$slots, "tooltip-after", _(P({ ...W.value })), void 0, !0)
637
644
  ]),
638
645
  _: 3
639
646
  }, 8, ["show", "backgroundColor", "color", "borderRadius", "borderColor", "borderWidth", "fontSize", "backgroundOpacity", "position", "offsetY", "parent", "content", "isFullscreen", "isCustom"]),
@@ -653,9 +660,9 @@ const kt = ["id"], wt = ["xmlns", "viewBox"], $t = ["width", "height"], Ct = ["c
653
660
  }
654
661
  }
655
662
  }, {
656
- content: g(() => [
663
+ content: f(() => [
657
664
  (s(), C(dt, {
658
- key: `table_${re.value}`,
665
+ key: `table_${ne.value}`,
659
666
  colNames: z.value.colNames,
660
667
  head: z.value.head,
661
668
  body: z.value.body,
@@ -663,20 +670,20 @@ const kt = ["id"], wt = ["xmlns", "viewBox"], $t = ["width", "height"], Ct = ["c
663
670
  title: `${e.value.style.chart.title.text}${e.value.style.chart.title.subtitle.text ? ` : ${e.value.style.chart.title.subtitle.text}` : ""}`,
664
671
  onClose: o[3] || (o[3] = (a) => m.value.showTable = !1)
665
672
  }, {
666
- th: g(({ th: a }) => [
667
- He(O(a), 1)
673
+ th: f(({ th: a }) => [
674
+ He(I(a), 1)
668
675
  ]),
669
- td: g(({ td: a }) => [
670
- _("div", { innerHTML: a }, null, 8, Rt)
676
+ td: f(({ td: a }) => [
677
+ O("div", { innerHTML: a }, null, 8, Rt)
671
678
  ]),
672
679
  _: 1
673
680
  }, 8, ["colNames", "head", "body", "config", "title"]))
674
681
  ]),
675
682
  _: 1
676
- }, 8, ["config"])) : f("", !0)
683
+ }, 8, ["config"])) : g("", !0)
677
684
  ], 46, kt));
678
685
  }
679
- }, Zt = /* @__PURE__ */ bt(Dt, [["__scopeId", "data-v-63fd0cb5"]]);
686
+ }, Zt = /* @__PURE__ */ bt(Dt, [["__scopeId", "data-v-209c752d"]]);
680
687
  export {
681
688
  Zt as default
682
689
  };