vue-data-ui 2.4.67 → 2.4.68

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 (152) hide show
  1. package/README.md +17 -16
  2. package/dist/{Arrow-Pw0XdelV.js → Arrow-D5Ik6Rl_.js} +1 -1
  3. package/dist/{Arrow-BgFoJ_7c.cjs → Arrow-DTyx6yXe.cjs} +1 -1
  4. package/dist/{BaseIcon-Bo_1SPIG.cjs → BaseIcon-At97xJaA.cjs} +1 -1
  5. package/dist/{BaseIcon-Dog_ErJD.js → BaseIcon-D7H3G8-f.js} +1 -1
  6. package/dist/{DataTable-BLV7zzyw.js → DataTable-CNH8bChE.js} +2 -2
  7. package/dist/{DataTable-1WuyQJQK.cjs → DataTable-Dng-zRfh.cjs} +1 -1
  8. package/dist/{Legend-ynYWBX3Z.js → Legend-kF7sC1KK.js} +2 -2
  9. package/dist/{Legend-DoFd_NOd.cjs → Legend-kMbr5DZt.cjs} +1 -1
  10. package/dist/{PackageVersion-BachziuZ.cjs → PackageVersion-CHUMvFGr.cjs} +1 -1
  11. package/dist/{PackageVersion-BazXxXqy.js → PackageVersion-m6HC0skh.js} +1 -1
  12. package/dist/{PenAndPaper-D6E7hDYd.cjs → PenAndPaper-DmMAK04m.cjs} +1 -1
  13. package/dist/{PenAndPaper-D4nWibJ3.js → PenAndPaper-FOhKSug_.js} +3 -3
  14. package/dist/{Shape-C8aWG3A1.cjs → Shape-Ajzs1V3O.cjs} +1 -1
  15. package/dist/{Shape-Bz-gcdva.js → Shape-CfcWXI5g.js} +1 -1
  16. package/dist/{Slicer-CL0kQ_HB.js → Slicer-Bq3BajcJ.js} +2 -2
  17. package/dist/{Slicer-hEQW3UhE.cjs → Slicer-Cgyw5vYE.cjs} +1 -1
  18. package/dist/{Title-CFqlh_YB.cjs → Title-C7y-iI1m.cjs} +1 -1
  19. package/dist/{Title-CEILAOdT.js → Title-L52l_KMR.js} +1 -1
  20. package/dist/{Tooltip-CgY3ZV9q.js → Tooltip-FYp9ljnj.js} +1 -1
  21. package/dist/{Tooltip-BA_0hLX8.cjs → Tooltip-Y622sV6l.cjs} +1 -1
  22. package/dist/{index-CnwO8xcH.js → index-3_ulDZ6w.js} +1 -1
  23. package/dist/{index-DVvHP4A_.cjs → index-CPtAxuTc.cjs} +1 -1
  24. package/dist/style.css +1 -1
  25. package/dist/{useNestedProp-DPMt3Iiy.js → useNestedProp-Bs6ltq3I.js} +1 -1
  26. package/dist/{useNestedProp-CsmZqXml.cjs → useNestedProp-BtCZVKOm.cjs} +1 -1
  27. package/dist/{usePrinter-a7rkFhGa.cjs → usePrinter-BmNhTUGE.cjs} +1 -1
  28. package/dist/{usePrinter-BEBjMPUP.js → usePrinter-NdwnpHUu.js} +1 -1
  29. package/dist/{vue-data-ui-DEys4N5t.cjs → vue-data-ui-C4MFJb3X.cjs} +1 -1
  30. package/dist/{vue-data-ui-BRdOwa-y.js → vue-data-ui-qqS_JEAb.js} +60 -60
  31. package/dist/vue-data-ui.cjs +1 -1
  32. package/dist/vue-data-ui.js +1 -1
  33. package/dist/{vue-ui-3d-bar-CvpX7WMe.js → vue-ui-3d-bar-B-DPM6sB.js} +9 -9
  34. package/dist/{vue-ui-3d-bar-Dh0cv4h8.cjs → vue-ui-3d-bar-D1Q5GpB8.cjs} +1 -1
  35. package/dist/{vue-ui-accordion-DDF-Fm2i.js → vue-ui-accordion-DXlXtAML.js} +3 -3
  36. package/dist/{vue-ui-accordion-Dghh8xxy.cjs → vue-ui-accordion-Dd0mfQys.cjs} +1 -1
  37. package/dist/{vue-ui-age-pyramid-DPWG69uQ.js → vue-ui-age-pyramid-CEw1j90S.js} +10 -10
  38. package/dist/{vue-ui-age-pyramid-a4H5S4cY.cjs → vue-ui-age-pyramid-Dn8sTUD1.cjs} +1 -1
  39. package/dist/{vue-ui-annotator-C0sEr9cJ.cjs → vue-ui-annotator-DLwKn7nJ.cjs} +1 -1
  40. package/dist/{vue-ui-annotator-DUePPHtb.js → vue-ui-annotator-I7b5208U.js} +1 -1
  41. package/dist/{vue-ui-bullet-D4-xLewd.cjs → vue-ui-bullet-B_toFHM0.cjs} +1 -1
  42. package/dist/{vue-ui-bullet-BbaaoPyS.js → vue-ui-bullet-CUpzxv8b.js} +8 -8
  43. package/dist/{vue-ui-candlestick-tUuVLgBm.js → vue-ui-candlestick-D4poOC-A.js} +11 -11
  44. package/dist/{vue-ui-candlestick-DsBReIGb.cjs → vue-ui-candlestick-DUjJP9IX.cjs} +1 -1
  45. package/dist/{vue-ui-carousel-table-Bz2AtsF0.cjs → vue-ui-carousel-table-BRdt1LUl.cjs} +1 -1
  46. package/dist/{vue-ui-carousel-table-_uE3nbkS.js → vue-ui-carousel-table-CMP41H6W.js} +4 -4
  47. package/dist/{vue-ui-chestnut-BL0oYXve.cjs → vue-ui-chestnut-BGpagpDQ.cjs} +1 -1
  48. package/dist/{vue-ui-chestnut-3lzZH1Ax.js → vue-ui-chestnut-BzCjWlbs.js} +8 -8
  49. package/dist/{vue-ui-cursor-Co96syV2.js → vue-ui-cursor-CdhhPJ2w.js} +2 -2
  50. package/dist/{vue-ui-cursor-B6WmdWgg.cjs → vue-ui-cursor-Ike72xN1.cjs} +1 -1
  51. package/dist/{vue-ui-dashboard-BL0Fl8-5.js → vue-ui-dashboard-CDUpQHzg.js} +2 -2
  52. package/dist/{vue-ui-dashboard-CxVP2i4u.cjs → vue-ui-dashboard-CFF1xhGw.cjs} +1 -1
  53. package/dist/{vue-ui-digits-B9fsrbIE.js → vue-ui-digits-Cje8oZYA.js} +2 -2
  54. package/dist/{vue-ui-digits-BJg4hobZ.cjs → vue-ui-digits-Cu3AtNFJ.cjs} +1 -1
  55. package/dist/{vue-ui-donut-BdWF8vMH.cjs → vue-ui-donut-BNmui7ee.cjs} +1 -1
  56. package/dist/{vue-ui-donut-D3Hz4Vfa.js → vue-ui-donut-DyEbJv8M.js} +12 -12
  57. package/dist/{vue-ui-donut-evolution-Dw4I7fhN.js → vue-ui-donut-evolution-B_kVMwY5.js} +11 -11
  58. package/dist/{vue-ui-donut-evolution-BlwoTXwM.cjs → vue-ui-donut-evolution-BxElmgKr.cjs} +1 -1
  59. package/dist/{vue-ui-dumbbell-COjyZaXJ.cjs → vue-ui-dumbbell-Bb4_UIZL.cjs} +1 -1
  60. package/dist/{vue-ui-dumbbell-Bl6xGSLF.js → vue-ui-dumbbell-XSwVUKkI.js} +10 -10
  61. package/dist/{vue-ui-flow-D5u54RzI.cjs → vue-ui-flow-BxSDPsTX.cjs} +1 -1
  62. package/dist/{vue-ui-flow-D2zRJ6wq.js → vue-ui-flow-CT9Ikm2q.js} +9 -9
  63. package/dist/{vue-ui-funnel-CSZWnJYH.cjs → vue-ui-funnel-4Xz5KcCC.cjs} +1 -1
  64. package/dist/{vue-ui-funnel-Ds3ZEPq6.js → vue-ui-funnel-xE-KSwUY.js} +9 -9
  65. package/dist/{vue-ui-galaxy-C9byGzin.cjs → vue-ui-galaxy-BKyxc95s.cjs} +1 -1
  66. package/dist/{vue-ui-galaxy-pt_aAhOb.js → vue-ui-galaxy-CQu_2tM7.js} +11 -11
  67. package/dist/{vue-ui-gauge-DpZjO3xY.js → vue-ui-gauge-BML0PHj7.js} +7 -7
  68. package/dist/{vue-ui-gauge-D888JxSB.cjs → vue-ui-gauge-BY-_g8oh.cjs} +1 -1
  69. package/dist/{vue-ui-gizmo-CqLVPIN1.js → vue-ui-gizmo-CZdz1ws4.js} +3 -3
  70. package/dist/{vue-ui-gizmo-D2-_xuYD.cjs → vue-ui-gizmo-DCDez8vm.cjs} +1 -1
  71. package/dist/{vue-ui-heatmap-E0PqMLPl.cjs → vue-ui-heatmap-B6TqJ0rT.cjs} +1 -1
  72. package/dist/{vue-ui-heatmap-Cs6oP4_Y.js → vue-ui-heatmap-BBhBotdK.js} +10 -10
  73. package/dist/{vue-ui-history-plot-CJSEFhv8.js → vue-ui-history-plot-CEGzb0go.js} +11 -11
  74. package/dist/{vue-ui-history-plot-CjTLuCZR.cjs → vue-ui-history-plot-ICiiX_iG.cjs} +1 -1
  75. package/dist/{vue-ui-kpi-BHb8giSN.js → vue-ui-kpi-CcY9SiQU.js} +3 -3
  76. package/dist/{vue-ui-kpi-DUe_KvC1.cjs → vue-ui-kpi-b1KYFaD5.cjs} +1 -1
  77. package/dist/{vue-ui-mini-loader-Dg7oL6ff.js → vue-ui-mini-loader-ChYeDs8b.js} +2 -2
  78. package/dist/{vue-ui-mini-loader-Dz80iGWP.cjs → vue-ui-mini-loader-DRDOwWX4.cjs} +1 -1
  79. package/dist/{vue-ui-molecule-DhWn7i2n.cjs → vue-ui-molecule-BC9pfKLe.cjs} +1 -1
  80. package/dist/{vue-ui-molecule-BY_0F7Mg.js → vue-ui-molecule-C7RlUrep.js} +11 -11
  81. package/dist/{vue-ui-mood-radar-CLv01TXT.cjs → vue-ui-mood-radar-DuyOelxm.cjs} +1 -1
  82. package/dist/{vue-ui-mood-radar-C0ukSxB9.js → vue-ui-mood-radar-MwQGdQBk.js} +11 -11
  83. package/dist/{vue-ui-nested-donuts-B7iIvgEq.js → vue-ui-nested-donuts-CTjWqxm1.js} +11 -11
  84. package/dist/{vue-ui-nested-donuts-BmOh6Y2M.cjs → vue-ui-nested-donuts-DV_fUt8X.cjs} +1 -1
  85. package/dist/{vue-ui-onion-BOTGL-Ks.cjs → vue-ui-onion-CMJQd4hJ.cjs} +1 -1
  86. package/dist/{vue-ui-onion-B1rP-YG7.js → vue-ui-onion-DQU2quzY.js} +11 -11
  87. package/dist/{vue-ui-parallel-coordinate-plot-C0Yj3ecn.js → vue-ui-parallel-coordinate-plot-el0qRCNH.js} +12 -12
  88. package/dist/{vue-ui-parallel-coordinate-plot-AjSZELcj.cjs → vue-ui-parallel-coordinate-plot-mr_VL-5e.cjs} +1 -1
  89. package/dist/{vue-ui-quadrant-C3lCo2lR.js → vue-ui-quadrant-D4JbzGnx.js} +12 -12
  90. package/dist/{vue-ui-quadrant-C4KVaPPD.cjs → vue-ui-quadrant-p1PqQgE8.cjs} +1 -1
  91. package/dist/{vue-ui-quick-chart-D0JIO11E.js → vue-ui-quick-chart-C7dbfJas.js} +9 -9
  92. package/dist/{vue-ui-quick-chart-BjiYIerq.cjs → vue-ui-quick-chart-CpVCnKQR.cjs} +1 -1
  93. package/dist/{vue-ui-radar-C1IEsGcq.cjs → vue-ui-radar-B8w_jmnj.cjs} +1 -1
  94. package/dist/{vue-ui-radar-CVHSHTIW.js → vue-ui-radar-DwcDudGq.js} +12 -12
  95. package/dist/{vue-ui-rating-UOowmV6D.cjs → vue-ui-rating-CF611kMg.cjs} +1 -1
  96. package/dist/{vue-ui-rating-CQQnfz6s.js → vue-ui-rating-CVWVcuH4.js} +2 -2
  97. package/dist/{vue-ui-relation-circle-CoNtvSYN.js → vue-ui-relation-circle-DOqHTAlr.js} +7 -7
  98. package/dist/{vue-ui-relation-circle-BrdUzD5q.cjs → vue-ui-relation-circle-i-IWbtjG.cjs} +1 -1
  99. package/dist/{vue-ui-rings-Bn8O1_X5.js → vue-ui-rings-CYtiwLoa.js} +12 -12
  100. package/dist/{vue-ui-rings-DD-JSPqp.cjs → vue-ui-rings-HITb7jlj.cjs} +1 -1
  101. package/dist/{vue-ui-scatter-BH1LZ7XU.js → vue-ui-scatter-Cz4FEjWs.js} +12 -12
  102. package/dist/{vue-ui-scatter-uwcz6Dui.cjs → vue-ui-scatter-OHMJOdMx.cjs} +1 -1
  103. package/dist/{vue-ui-screenshot-CupnT9Fr.js → vue-ui-screenshot-BdztwxL8.js} +1 -1
  104. package/dist/{vue-ui-screenshot-Dv20cwPs.cjs → vue-ui-screenshot-PgLhVqsE.cjs} +1 -1
  105. package/dist/{vue-ui-skeleton-Bw4w98Z_.cjs → vue-ui-skeleton-DkZB7ae3.cjs} +1 -1
  106. package/dist/{vue-ui-skeleton-DyIz4SMi.js → vue-ui-skeleton-uAX1ZH1F.js} +3 -3
  107. package/dist/{vue-ui-smiley-bhbvfV3Y.js → vue-ui-smiley-B8AEl3OB.js} +2 -2
  108. package/dist/{vue-ui-smiley-Ce8lEqra.cjs → vue-ui-smiley-CdtUIpXZ.cjs} +1 -1
  109. package/dist/{vue-ui-spark-trend-D_YPkSzD.cjs → vue-ui-spark-trend-BvYBFEgW.cjs} +1 -1
  110. package/dist/{vue-ui-spark-trend-Cft_rb44.js → vue-ui-spark-trend-C4TeGkYj.js} +5 -5
  111. package/dist/{vue-ui-sparkbar-DgaxPc1h.js → vue-ui-sparkbar-CTjfAkYo.js} +4 -4
  112. package/dist/{vue-ui-sparkbar-BDgJFX4N.cjs → vue-ui-sparkbar-DB7UzjAD.cjs} +1 -1
  113. package/dist/{vue-ui-sparkgauge-Dl20cigA.js → vue-ui-sparkgauge-BlPTNi74.js} +4 -4
  114. package/dist/{vue-ui-sparkgauge-oNVmAtjA.cjs → vue-ui-sparkgauge-Bn2BPZoT.cjs} +1 -1
  115. package/dist/{vue-ui-sparkhistogram-ChgeNYIQ.cjs → vue-ui-sparkhistogram-B1mF8U0R.cjs} +1 -1
  116. package/dist/{vue-ui-sparkhistogram-c4jnOFhu.js → vue-ui-sparkhistogram-BKRqTMvf.js} +5 -5
  117. package/dist/{vue-ui-sparkline-fHgH7VCW.js → vue-ui-sparkline-Bg-TapoG.js} +4 -4
  118. package/dist/{vue-ui-sparkline-CJDCb22O.cjs → vue-ui-sparkline-Dj0hFEo0.cjs} +1 -1
  119. package/dist/{vue-ui-sparkstackbar-kG-HctgQ.js → vue-ui-sparkstackbar-D8KqTPqH.js} +5 -5
  120. package/dist/{vue-ui-sparkstackbar-B9uRFWik.cjs → vue-ui-sparkstackbar-DzI-MFl3.cjs} +1 -1
  121. package/dist/{vue-ui-stackbar-Sg4hlIIU.js → vue-ui-stackbar-6vF4VXMO.js} +13 -13
  122. package/dist/{vue-ui-stackbar-B18q0nZn.cjs → vue-ui-stackbar-e1b5UPvn.cjs} +1 -1
  123. package/dist/{vue-ui-strip-plot-BpXdYlYa.cjs → vue-ui-strip-plot-GsQbr3zj.cjs} +1 -1
  124. package/dist/{vue-ui-strip-plot-BxN4hG2t.js → vue-ui-strip-plot-sWs8kbbo.js} +11 -11
  125. package/dist/{vue-ui-table-BL1egpui.cjs → vue-ui-table-CJVmhYep.cjs} +1 -1
  126. package/dist/{vue-ui-table-QB-vjlCq.js → vue-ui-table-SRSARac3.js} +1 -1
  127. package/dist/{vue-ui-table-heatmap-BvtvK493.js → vue-ui-table-heatmap-CKiO41aZ.js} +4 -4
  128. package/dist/{vue-ui-table-heatmap-D-gPys1-.cjs → vue-ui-table-heatmap-D1xntRRZ.cjs} +1 -1
  129. package/dist/{vue-ui-table-sparkline-Bl8bzMSu.cjs → vue-ui-table-sparkline-BZJqRwhf.cjs} +1 -1
  130. package/dist/{vue-ui-table-sparkline-Bl6CBllu.js → vue-ui-table-sparkline-hyCYl7SR.js} +5 -5
  131. package/dist/{vue-ui-thermometer-CQBwx4Sr.cjs → vue-ui-thermometer-0bxewTlH.cjs} +1 -1
  132. package/dist/{vue-ui-thermometer-DvkQCKJ8.js → vue-ui-thermometer-uYO2Cbv6.js} +7 -7
  133. package/dist/{vue-ui-timer-CTPxmrXy.js → vue-ui-timer-DO2sPtaA.js} +5 -5
  134. package/dist/{vue-ui-timer-mGjVAf8m.cjs → vue-ui-timer-hehskDGP.cjs} +1 -1
  135. package/dist/{vue-ui-tiremarks-8Oi7eeFT.cjs → vue-ui-tiremarks-C3Y478uT.cjs} +1 -1
  136. package/dist/{vue-ui-tiremarks-DxwcalRe.js → vue-ui-tiremarks-DQjOkAad.js} +7 -7
  137. package/dist/{vue-ui-treemap-CaDJCGUj.js → vue-ui-treemap-Bv36Ha7O.js} +11 -11
  138. package/dist/{vue-ui-treemap-BquPyE0p.cjs → vue-ui-treemap-_4nb3nS1.cjs} +1 -1
  139. package/dist/{vue-ui-vertical-bar-BbFt098V.js → vue-ui-vertical-bar-DeP6cUWy.js} +12 -12
  140. package/dist/{vue-ui-vertical-bar-D3xJyfKa.cjs → vue-ui-vertical-bar-LquYjKVD.cjs} +1 -1
  141. package/dist/{vue-ui-waffle-BmNA6NLx.js → vue-ui-waffle-BfzfWmf5.js} +304 -276
  142. package/dist/vue-ui-waffle-Hlsl5QtL.cjs +1 -0
  143. package/dist/{vue-ui-wheel-BAcTVwye.cjs → vue-ui-wheel--e6UBwL4.cjs} +1 -1
  144. package/dist/{vue-ui-wheel-Cb-feR-M.js → vue-ui-wheel-DJC5YCbw.js} +7 -7
  145. package/dist/{vue-ui-word-cloud-DaHs0ide.cjs → vue-ui-word-cloud-AGcxc9Jb.cjs} +1 -1
  146. package/dist/{vue-ui-word-cloud-zx7YU5O2.js → vue-ui-word-cloud-CVsld1uE.js} +10 -10
  147. package/dist/{vue-ui-xy-wZOHLmBv.cjs → vue-ui-xy-DiZVwKYl.cjs} +1 -1
  148. package/dist/{vue-ui-xy-DOEHuFSz.js → vue-ui-xy-DwwIMZEo.js} +14 -14
  149. package/dist/{vue-ui-xy-canvas-B_LyiCyr.js → vue-ui-xy-canvas-ChBRm7Zw.js} +11 -11
  150. package/dist/{vue-ui-xy-canvas-7u6MWjcr.cjs → vue-ui-xy-canvas-D1kEOzE6.cjs} +1 -1
  151. package/package.json +1 -1
  152. package/dist/vue-ui-waffle-3cY5r2QB.cjs +0 -1
@@ -1,31 +1,32 @@
1
- import { useSlots as tt, onMounted as ze, computed as d, ref as c, watch as Ne, onBeforeUnmount as lt, openBlock as s, createElementBlock as n, normalizeClass as Be, normalizeStyle as X, unref as v, createBlock as z, createCommentVNode as y, createSlots as at, withCtx as b, renderSlot as g, normalizeProps as U, guardReactiveProps as G, createVNode as Ve, createElementVNode as k, Fragment as I, renderList as R, toDisplayString as S, createTextVNode as Me, nextTick as ot, pushScopeId as ut, popScopeId as st } from "vue";
2
- import { u as rt, c as nt, t as it, a as ct, p as N, o as vt, e as re, g as dt, b as ht, i as W, f as x, X as pt, s as ft, w as yt, G as gt, L as bt, d as mt, x as wt, y as kt, q as xt, r as Ct } from "./index-CnwO8xcH.js";
3
- import { t as _t, u as $t } from "./useResponsive-CoxXLe23.js";
4
- import { _ as Tt } from "./Title-CEILAOdT.js";
5
- import { u as It, U as St } from "./usePrinter-BEBjMPUP.js";
6
- import { _ as Pt } from "./Tooltip-CgY3ZV9q.js";
7
- import { D as Lt } from "./DataTable-BLV7zzyw.js";
8
- import { L as Ot } from "./Legend-ynYWBX3Z.js";
9
- import At from "./vue-ui-skeleton-DyIz4SMi.js";
10
- import Ft from "./vue-ui-accordion-DDF-Fm2i.js";
11
- import { u as De } from "./useNestedProp-DPMt3Iiy.js";
12
- import { _ as zt } from "./PackageVersion-BazXxXqy.js";
13
- import { P as Nt } from "./PenAndPaper-D4nWibJ3.js";
1
+ import { useSlots as tt, computed as d, ref as v, watch as Ne, onMounted as lt, onBeforeUnmount as at, openBlock as s, createElementBlock as r, normalizeClass as Be, normalizeStyle as X, unref as c, createBlock as N, createCommentVNode as y, createSlots as Ve, withCtx as b, renderSlot as g, normalizeProps as B, guardReactiveProps as V, createVNode as ne, createElementVNode as x, Fragment as _, renderList as O, toDisplayString as A, createTextVNode as Me, nextTick as ot, pushScopeId as ut, popScopeId as st } from "vue";
2
+ import { u as rt, c as nt, t as it, a as vt, p as M, o as ct, e as ie, g as dt, b as ht, i as E, f as C, X as pt, s as yt, w as ft, G as gt, L as bt, d as mt, x as wt, y as kt, q as xt, r as _t } from "./index-3_ulDZ6w.js";
3
+ import { t as Ct, u as $t } from "./useResponsive-CoxXLe23.js";
4
+ import { _ as It } from "./Title-L52l_KMR.js";
5
+ import { u as Tt, U as St } from "./usePrinter-NdwnpHUu.js";
6
+ import { _ as Pt } from "./Tooltip-FYp9ljnj.js";
7
+ import { D as Lt } from "./DataTable-CNH8bChE.js";
8
+ import { L as Ot } from "./Legend-kF7sC1KK.js";
9
+ import At from "./vue-ui-skeleton-uAX1ZH1F.js";
10
+ import Ft from "./vue-ui-accordion-DXlXtAML.js";
11
+ import { u as De } from "./useNestedProp-Bs6ltq3I.js";
12
+ import { _ as zt } from "./PackageVersion-m6HC0skh.js";
13
+ import { P as Nt } from "./PenAndPaper-FOhKSug_.js";
14
14
  import { u as Bt } from "./useUserOptionState-BIvW1Kz7.js";
15
- import { _ as Vt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
16
- const Ue = (j) => (ut("data-v-a0b27ef9"), j = j(), st(), j), Mt = ["id"], Dt = ["xmlns", "viewBox"], Ut = ["id"], Gt = ["stop-color"], Rt = ["stop-color"], Wt = ["id"], jt = /* @__PURE__ */ Ue(() => /* @__PURE__ */ k("feGaussianBlur", {
15
+ import { _ as Vt } from "./Shape-CfcWXI5g.js";
16
+ import { _ as Mt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
17
+ const Ue = (W) => (ut("data-v-8a0b99ad"), W = W(), st(), W), Dt = ["id"], Ut = ["xmlns", "viewBox"], Gt = ["id"], Rt = ["stop-color"], jt = ["stop-color"], Et = ["id"], Wt = /* @__PURE__ */ Ue(() => /* @__PURE__ */ x("feGaussianBlur", {
17
18
  in: "SourceGraphic",
18
19
  stdDeviation: 2
19
- }, null, -1)), Et = /* @__PURE__ */ Ue(() => /* @__PURE__ */ k("feColorMatrix", {
20
+ }, null, -1)), qt = /* @__PURE__ */ Ue(() => /* @__PURE__ */ x("feColorMatrix", {
20
21
  type: "saturate",
21
22
  values: "0"
22
- }, null, -1)), qt = [
23
- jt,
24
- Et
25
- ], Ht = ["x", "y", "height", "width"], Xt = ["height", "width"], Yt = ["rx", "x", "y", "height", "width", "stroke", "stroke-width", "filter"], Jt = ["rx", "x", "y", "height", "width", "fill", "stroke", "stroke-width", "filter"], Kt = ["x", "y", "height", "width", "filter"], Qt = { key: 0 }, Zt = { key: 1 }, el = { key: 2 }, tl = { key: 3 }, ll = ["onMouseover", "x", "y", "height", "width"], al = {
23
+ }, null, -1)), Ht = [
24
+ Wt,
25
+ qt
26
+ ], Xt = ["x", "y", "height", "width"], Yt = ["height", "width"], Jt = { key: 0 }, Kt = ["rx", "x", "y", "height", "width", "stroke", "stroke-width", "filter"], Qt = ["rx", "x", "y", "height", "width", "fill", "stroke", "stroke-width", "filter"], Zt = { key: 1 }, el = ["rx", "x", "y", "height", "width", "fill", "filter"], tl = ["x", "y", "height", "width", "filter"], ll = { key: 0 }, al = { key: 1 }, ol = { key: 2 }, ul = { key: 3 }, sl = ["onMouseover", "x", "y", "height", "width"], rl = {
26
27
  key: 5,
27
28
  class: "vue-data-ui-watermark"
28
- }, ol = ["onClick"], ul = { key: 0 }, sl = { key: 1 }, rl = ["innerHTML"], nl = {
29
+ }, nl = ["onClick"], il = { key: 0 }, vl = { key: 1 }, cl = ["innerHTML"], dl = {
29
30
  __name: "vue-ui-waffle",
30
31
  props: {
31
32
  config: {
@@ -42,34 +43,30 @@ const Ue = (j) => (ut("data-v-a0b27ef9"), j = j(), st(), j), Mt = ["id"], Dt = [
42
43
  }
43
44
  },
44
45
  emits: ["selectLegend"],
45
- setup(j, { expose: Ge, emit: Re }) {
46
- const m = j, { vue_ui_waffle: We } = rt(), je = tt();
47
- ze(() => {
48
- je["chart-background"] && console.warn("VueUiWaffle does not support the #chart-background slot.");
49
- });
50
- const Y = d(() => !!m.dataset && m.dataset.length), P = c(nt()), Ee = c(null), ee = c(!1), te = c(""), B = c(null), ne = c(0), V = c(null), ie = c(null), ce = c(null), ve = c(null), de = c(null), he = c(0), pe = c(0), fe = c(0), e = d({
51
- get: () => be(),
46
+ setup(W, { expose: Ge, emit: Re }) {
47
+ const m = W, { vue_ui_waffle: je } = rt(), Ee = tt(), Y = d(() => !!m.dataset && m.dataset.length), k = v(nt()), We = v(null), te = v(!1), le = v(""), D = v(null), ve = v(0), U = v(null), ce = v(null), de = v(null), he = v(null), pe = v(null), ye = v(0), fe = v(0), ge = v(0), e = d({
48
+ get: () => we(),
52
49
  set: (t) => t
53
- }), { userOptionsVisible: le, setUserOptionsVisibility: ye, keepUserOptionState: ge } = Bt({ config: e.value });
54
- function be() {
50
+ }), { userOptionsVisible: ae, setUserOptionsVisibility: be, keepUserOptionState: me } = Bt({ config: e.value });
51
+ function we() {
55
52
  const t = De({
56
53
  userConfig: m.config,
57
- defaultConfig: We
54
+ defaultConfig: je
58
55
  });
59
56
  return t.theme ? {
60
57
  ...De({
61
58
  userConfig: it.vue_ui_waffle[t.theme] || m.config,
62
59
  defaultConfig: t
63
60
  }),
64
- customPalette: ct[t.theme] || N
61
+ customPalette: vt[t.theme] || M
65
62
  } : t;
66
63
  }
67
64
  Ne(() => m.config, (t) => {
68
- e.value = be(), le.value = !e.value.showOnChartHover, me(), he.value += 1, pe.value += 1, fe.value += 1;
65
+ e.value = we(), ae.value = !e.value.showOnChartHover, ke(), ye.value += 1, fe.value += 1, ge.value += 1;
69
66
  }, { deep: !0 });
70
- const J = c(null);
71
- function me() {
72
- if (vt(m.dataset) ? re({
67
+ const J = v(null);
68
+ function ke() {
69
+ if (ct(m.dataset) ? ie({
73
70
  componentName: "VueUiWaffle",
74
71
  type: "dataset"
75
72
  }) : m.dataset.forEach((t, a) => {
@@ -77,7 +74,7 @@ const Ue = (j) => (ut("data-v-a0b27ef9"), j = j(), st(), j), Mt = ["id"], Dt = [
77
74
  datasetObject: t,
78
75
  requiredAttributes: ["name", "values"]
79
76
  }).forEach((l) => {
80
- re({
77
+ ie({
81
78
  componentName: "VueUiWaffle",
82
79
  type: "datasetSerieAttribute",
83
80
  property: l,
@@ -85,68 +82,68 @@ const Ue = (j) => (ut("data-v-a0b27ef9"), j = j(), st(), j), Mt = ["id"], Dt = [
85
82
  });
86
83
  });
87
84
  }), e.value.responsive) {
88
- const t = _t(() => {
85
+ const t = Ct(() => {
89
86
  const { width: a, height: l } = $t({
90
- chart: V.value,
91
- title: e.value.style.chart.title.text ? ie.value : null,
92
- legend: e.value.style.chart.legend.show ? ce.value : null,
93
- source: ve.value,
94
- noTitle: de.value
87
+ chart: U.value,
88
+ title: e.value.style.chart.title.text ? ce.value : null,
89
+ legend: e.value.style.chart.legend.show ? de.value : null,
90
+ source: he.value,
91
+ noTitle: pe.value
95
92
  });
96
- L.value.width = a, L.value.height = l, C.value.width = a, C.value.height = l;
93
+ F.value.width = a, F.value.height = l, $.value.width = a, $.value.height = l;
97
94
  });
98
- J.value = new ResizeObserver(t), J.value.observe(V.value.parentNode);
95
+ J.value = new ResizeObserver(t), J.value.observe(U.value.parentNode);
99
96
  }
100
97
  }
101
- ze(() => {
102
- me();
103
- }), lt(() => {
98
+ lt(() => {
99
+ ke();
100
+ }), at(() => {
104
101
  J.value && J.value.disconnect();
105
102
  });
106
- const { isPrinting: we, isImaging: ke, generatePdf: xe, generateImage: Ce } = It({
107
- elementId: `vue-ui-waffle_${P.value}`,
103
+ const { isPrinting: xe, isImaging: _e, generatePdf: Ce, generateImage: $e } = Tt({
104
+ elementId: `vue-ui-waffle_${k.value}`,
108
105
  fileName: e.value.style.chart.title.text || "vue-ui-waffle"
109
- }), qe = d(() => e.value.userOptions.show && !e.value.style.chart.title.text), _e = d(() => ht(e.value.customPalette)), T = c({
106
+ }), qe = d(() => e.value.userOptions.show && !e.value.style.chart.title.text), Ie = d(() => ht(e.value.customPalette)), L = v({
110
107
  showTable: e.value.table.show,
111
108
  showTooltip: e.value.style.chart.tooltip.show
112
- }), L = c({
109
+ }), F = v({
113
110
  height: 512,
114
111
  width: 512
115
- }), C = c({
112
+ }), $ = v({
116
113
  top: 0,
117
114
  left: 0,
118
115
  height: 512,
119
116
  width: 512
120
- }), O = d(() => (C.value.width - e.value.style.chart.layout.grid.size * e.value.style.chart.layout.grid.spaceBetween) / e.value.style.chart.layout.grid.size), A = d(() => (C.value.height - e.value.style.chart.layout.grid.size * e.value.style.chart.layout.grid.spaceBetween) / e.value.style.chart.layout.grid.size), E = d(() => C.value.width / e.value.style.chart.layout.grid.size), K = d(() => C.value.height / e.value.style.chart.layout.grid.size);
121
- function $e(t) {
122
- const a = e.value.style.chart.layout.grid.size * e.value.style.chart.layout.grid.size, l = t.reduce((w, se) => w + se, 0), o = t.map((w) => w / l * a), u = o.map(Math.floor), i = o.map((w) => w % 1);
123
- let f = a - u.reduce((w, se) => w + se, 0);
117
+ }), I = d(() => ($.value.width - e.value.style.chart.layout.grid.size * e.value.style.chart.layout.grid.spaceBetween) / e.value.style.chart.layout.grid.size), T = d(() => ($.value.height - e.value.style.chart.layout.grid.size * e.value.style.chart.layout.grid.spaceBetween) / e.value.style.chart.layout.grid.size), q = d(() => $.value.width / e.value.style.chart.layout.grid.size), K = d(() => $.value.height / e.value.style.chart.layout.grid.size);
118
+ function Te(t) {
119
+ const a = e.value.style.chart.layout.grid.size * e.value.style.chart.layout.grid.size, l = t.reduce((w, re) => w + re, 0), o = t.map((w) => w / l * a), u = o.map(Math.floor), i = o.map((w) => w % 1);
120
+ let f = a - u.reduce((w, re) => w + re, 0);
124
121
  for (; f > 0; ) {
125
122
  let w = i.indexOf(Math.max(...i));
126
123
  u[w] += 1, i[w] = 0, f -= 1;
127
124
  }
128
125
  return u;
129
126
  }
130
- function Te() {
127
+ function Se() {
131
128
  return m.dataset.map((t, a) => ({
132
129
  ...t,
133
- color: mt(t.color) || _e.value[a] || N[a] || N[a % N.length],
130
+ color: mt(t.color) || Ie.value[a] || M[a] || M[a % M.length],
134
131
  uid: `serie_${a}`,
135
132
  absoluteIndex: a
136
133
  }));
137
134
  }
138
- const Ie = d(() => Te()), h = c(Ie.value);
135
+ const oe = d(() => Se()), h = v(oe.value);
139
136
  Ne(() => m.dataset, (t) => {
140
- h.value = Te();
137
+ h.value = Se();
141
138
  }, { deep: !0 });
142
139
  const He = d(() => {
143
140
  const t = h.value.filter((a, l) => !p.value.includes(a.uid)).map((a, l) => (a.values || []).reduce((o, u) => o + u, 0));
144
- return $e(t);
141
+ return Te(t);
145
142
  }), Xe = d(() => {
146
143
  const t = h.value.map((a, l) => (a.values || []).reduce((o, u) => o + u));
147
- return $e(t);
148
- }), q = d(() => (m.dataset.forEach((t, a) => {
149
- [null, void 0].includes(t.values) && re({
144
+ return Te(t);
145
+ }), H = d(() => (m.dataset.forEach((t, a) => {
146
+ [null, void 0].includes(t.values) && ie({
150
147
  componentName: "VueUiWaffle",
151
148
  type: "datasetSerieAttribute",
152
149
  property: "values (number[])",
@@ -179,7 +176,7 @@ const Ue = (j) => (ut("data-v-a0b27ef9"), j = j(), st(), j), Mt = ["id"], Dt = [
179
176
  }
180
177
  const Ke = d(() => {
181
178
  let t = 0;
182
- return q.value.map((a, l) => {
179
+ return H.value.map((a, l) => {
183
180
  const o = t, u = o + a.proportion, i = [];
184
181
  for (let f = Math.floor(o); f < Math.floor(u); f += 1)
185
182
  i.push(f);
@@ -189,7 +186,7 @@ const Ue = (j) => (ut("data-v-a0b27ef9"), j = j(), st(), j), Mt = ["id"], Dt = [
189
186
  rects: i
190
187
  };
191
188
  });
192
- }), r = d(() => Ke.value.flatMap((t, a) => t.rects.map((l, o) => ({
189
+ }), n = d(() => Ke.value.flatMap((t, a) => t.rects.map((l, o) => ({
193
190
  isFirst: o === 0,
194
191
  isLongEnough: l.length > 2,
195
192
  name: t.name,
@@ -202,60 +199,60 @@ const Ue = (j) => (ut("data-v-a0b27ef9"), j = j(), st(), j), Mt = ["id"], Dt = [
202
199
  }))).map((t, a) => ({
203
200
  ...t,
204
201
  isAbsoluteFirst: a % e.value.style.chart.layout.grid.size === 0
205
- }))), H = d(() => {
202
+ }))), G = d(() => {
206
203
  const t = [];
207
204
  for (let a = 0; a < e.value.style.chart.layout.grid.size; a += 1)
208
205
  for (let l = 0; l < e.value.style.chart.layout.grid.size; l += 1)
209
206
  t.push({
210
207
  isStartOfLine: l === 0,
211
208
  position: e.value.style.chart.layout.grid.vertical ? a : l,
212
- x: (e.value.style.chart.layout.grid.vertical ? a : l) * (O.value + e.value.style.chart.layout.grid.spaceBetween),
213
- y: (e.value.style.chart.layout.grid.vertical ? l : a) * (A.value + e.value.style.chart.layout.grid.spaceBetween) + C.value.top
209
+ x: (e.value.style.chart.layout.grid.vertical ? a : l) * (I.value + e.value.style.chart.layout.grid.spaceBetween),
210
+ y: (e.value.style.chart.layout.grid.vertical ? l : a) * (T.value + e.value.style.chart.layout.grid.spaceBetween) + $.value.top
214
211
  });
215
212
  return t;
216
- }), p = c([]), F = c(!1), Se = c(null), Pe = c(null);
217
- function Le(t) {
213
+ }), p = v([]), z = v(!1), Pe = v(null), Le = v(null);
214
+ function Oe(t) {
218
215
  if (!e.value.useAnimation) {
219
- p.value.includes(t) ? p.value = p.value.filter((u) => u !== t) : p.value.length < M.value.length - 1 && M.value.length > 1 && p.value.push(t);
216
+ p.value.includes(t) ? p.value = p.value.filter((u) => u !== t) : p.value.length < R.value.length - 1 && R.value.length > 1 && p.value.push(t);
220
217
  return;
221
218
  }
222
- const a = Ie.value.find((u) => u.uid === t).values.reduce((u, i) => u + i, 0), l = h.value.find((u) => u.uid === t).values.reduce((u, i) => u + i, 0);
219
+ const a = oe.value.find((u) => u.uid === t).values.reduce((u, i) => u + i, 0), l = h.value.find((u) => u.uid === t).values.reduce((u, i) => u + i, 0);
223
220
  let o = l;
224
221
  if (p.value.includes(t)) {
225
222
  let i = function() {
226
- o > u ? (cancelAnimationFrame(Se.value), h.value = h.value.map((f, w) => f.uid === t ? {
223
+ o > u ? (cancelAnimationFrame(Pe.value), h.value = h.value.map((f, w) => f.uid === t ? {
227
224
  ...f,
228
225
  values: [u]
229
- } : f), F.value = !1) : (F.value = !0, o += u * 0.025, h.value = h.value.map((f, w) => f.uid === t ? {
226
+ } : f), z.value = !1) : (z.value = !0, o += u * 0.025, h.value = h.value.map((f, w) => f.uid === t ? {
230
227
  ...f,
231
228
  values: [o]
232
- } : f), Se.value = requestAnimationFrame(i));
229
+ } : f), Pe.value = requestAnimationFrame(i));
233
230
  };
234
231
  p.value = p.value.filter((f) => f !== t);
235
232
  const u = a;
236
233
  i();
237
- } else if (p.value.length < M.value.length - 1 && M.value.length > 1) {
234
+ } else if (p.value.length < R.value.length - 1 && R.value.length > 1) {
238
235
  let u = function() {
239
- o < l / 100 ? (cancelAnimationFrame(Pe.value), p.value.push(t), h.value = h.value.map((i, f) => i.uid === t ? {
236
+ o < l / 100 ? (cancelAnimationFrame(Le.value), p.value.push(t), h.value = h.value.map((i, f) => i.uid === t ? {
240
237
  ...i,
241
238
  values: [0]
242
- } : i), F.value = !1) : (F.value = !0, o /= 1.15, h.value = h.value.map((i) => i.uid === t ? {
239
+ } : i), z.value = !1) : (z.value = !0, o /= 1.15, h.value = h.value.map((i) => i.uid === t ? {
243
240
  ...i,
244
241
  values: [o]
245
- } : i), Pe.value = requestAnimationFrame(u));
242
+ } : i), Le.value = requestAnimationFrame(u));
246
243
  };
247
244
  u();
248
245
  }
249
- Re("selectLegend", q.value.map((u) => ({
246
+ Re("selectLegend", H.value.map((u) => ({
250
247
  name: u.name,
251
248
  color: u.color,
252
249
  value: u.value,
253
250
  proportion: u.proportion / Math.pow(e.value.style.chart.layout.grid.size, 2)
254
251
  })));
255
252
  }
256
- const M = d(() => h.value.map((t, a) => ({
253
+ const R = d(() => h.value.map((t, a) => ({
257
254
  name: t.name,
258
- color: t.color || _e[a] || N[a] || N[a % N.length],
255
+ color: t.color || Ie[a] || M[a] || M[a % M.length],
259
256
  value: (t.values || []).reduce((l, o) => l + o, 0),
260
257
  uid: t.uid,
261
258
  shape: "square"
@@ -263,7 +260,7 @@ const Ue = (j) => (ut("data-v-a0b27ef9"), j = j(), st(), j), Mt = ["id"], Dt = [
263
260
  ...t,
264
261
  proportion: t.value / h.value.map((a) => (a.values || []).reduce((l, o) => l + o, 0)).reduce((a, l) => a + l, 0),
265
262
  opacity: p.value.includes(t.uid) ? 0.5 : 1,
266
- segregate: () => Le(t.uid),
263
+ segregate: () => Oe(t.uid),
267
264
  isSegregated: p.value.includes(t.uid)
268
265
  }))), Qe = d(() => ({
269
266
  cy: "waffle-div-legend",
@@ -272,35 +269,35 @@ const Ue = (j) => (ut("data-v-a0b27ef9"), j = j(), st(), j), Mt = ["id"], Dt = [
272
269
  fontSize: e.value.style.chart.legend.fontSize,
273
270
  paddingBottom: 12,
274
271
  fontWeight: e.value.style.chart.legend.bold ? "bold" : ""
275
- })), _ = d(() => q.value.map((t) => t.value).reduce((t, a) => t + a, 0)), ae = c(null);
272
+ })), S = d(() => H.value.map((t) => t.value).reduce((t, a) => t + a, 0)), ue = v(null);
276
273
  function Ze(t) {
277
274
  if (p.value.length === m.dataset.length) return;
278
- const a = r.value[t];
279
- ae.value = {
275
+ const a = n.value[t];
276
+ ue.value = {
280
277
  datapoint: a,
281
278
  seriesIndex: a.absoluteIndex,
282
279
  series: h.value,
283
280
  config: e.value
284
- }, ee.value = !0, B.value = r.value[t].serieIndex;
281
+ }, te.value = !0, D.value = n.value[t].serieIndex;
285
282
  const l = e.value.style.chart.tooltip.customFormat;
286
283
  if (wt(l) && kt(() => l({
287
- seriesIndex: r.value[t].absoluteIndex,
284
+ seriesIndex: n.value[t].absoluteIndex,
288
285
  datapoint: a,
289
286
  series: h.value,
290
287
  config: e.value
291
288
  })))
292
- te.value = l({
293
- seriesIndex: r.value[t].absoluteIndex,
289
+ le.value = l({
290
+ seriesIndex: n.value[t].absoluteIndex,
294
291
  datapoint: a,
295
292
  series: h.value,
296
293
  config: e.value
297
294
  });
298
295
  else {
299
296
  let o = "";
300
- if (o += `<div style="width:100%;text-align:center;border-bottom:1px solid ${e.value.style.chart.tooltip.borderColor};padding-bottom:6px;margin-bottom:3px;">${a.name}</div>`, o += `<div style="display:flex;flex-direction:row;gap:6px;align-items:center;"><svg viewBox="0 0 12 12" height="14" width="14"><rect x="0" y="0" height="12" width="12" stroke="none" rx="1" fill="${a.color}" /></svg>`, e.value.style.chart.tooltip.showValue && (o += `<b>${W(
297
+ if (o += `<div style="width:100%;text-align:center;border-bottom:1px solid ${e.value.style.chart.tooltip.borderColor};padding-bottom:6px;margin-bottom:3px;">${a.name}</div>`, o += `<div style="display:flex;flex-direction:row;gap:6px;align-items:center;"><svg viewBox="0 0 60 60" height="14" width="14"><rect x="0" y="0" height="60" width="60" stroke="none" rx="1" fill="${a.color}" />${Ee.pattern ? `<rect x="0" y="0" height="60" width="60" stroke="none" rx="1" stroke="none" fill="url(#pattern_${k.value}_${a.absoluteIndex})"/>` : ""}</svg>`, e.value.style.chart.tooltip.showValue && (o += `<b>${E(
301
298
  e.value.style.chart.layout.labels.dataLabels.formatter,
302
299
  a.value,
303
- x({
300
+ C({
304
301
  p: e.value.style.chart.layout.labels.dataLabels.prefix,
305
302
  v: a.value,
306
303
  s: e.value.style.chart.layout.labels.dataLabels.suffix,
@@ -308,69 +305,69 @@ const Ue = (j) => (ut("data-v-a0b27ef9"), j = j(), st(), j), Mt = ["id"], Dt = [
308
305
  }),
309
306
  {
310
307
  datapoint: a,
311
- seriesIndex: r.value[t].absoluteIndex,
308
+ seriesIndex: n.value[t].absoluteIndex,
312
309
  series: h.value
313
310
  }
314
311
  )}</b>`), e.value.style.chart.tooltip.showPercentage) {
315
- const u = x({
316
- v: a.value / _.value * 100,
312
+ const u = C({
313
+ v: a.value / S.value * 100,
317
314
  s: "%",
318
315
  r: e.value.style.chart.tooltip.roundingPercentage
319
316
  });
320
317
  e.value.style.chart.tooltip.showValue ? o += `<span>(${u})</span></div>` : o += `<b>${u}%</b></div>`;
321
318
  }
322
- te.value = o;
319
+ le.value = o;
323
320
  }
324
321
  }
325
- const $ = d(() => {
326
- const t = q.value.map((l) => ({
322
+ const P = d(() => {
323
+ const t = H.value.map((l) => ({
327
324
  name: l.name,
328
325
  color: l.color
329
- })), a = q.value.map((l) => l.value);
326
+ })), a = H.value.map((l) => l.value);
330
327
  return { head: t, body: a };
331
328
  });
332
- function oe(t) {
333
- return e.value.useBlurOnHover && ![null, void 0].includes(B.value) && B.value !== t ? `url(#blur_${P.value})` : "";
329
+ function Q(t) {
330
+ return e.value.useBlurOnHover && ![null, void 0].includes(D.value) && D.value !== t ? `url(#blur_${k.value})` : "";
334
331
  }
335
- function Oe() {
332
+ function Ae() {
336
333
  ot(() => {
337
- const t = $.value.head.map((o, u) => [[
334
+ const t = P.value.head.map((o, u) => [[
338
335
  o.name
339
- ], [$.value.body[u]], [isNaN($.value.body[u] / _.value) ? "-" : $.value.body[u] / _.value * 100]]), a = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [[""], ["val"], ["%"]]].concat(t), l = xt(a);
340
- Ct({ csvContent: l, title: e.value.style.chart.title.text || "vue-ui-waffle" });
336
+ ], [P.value.body[u]], [isNaN(P.value.body[u] / S.value) ? "-" : P.value.body[u] / S.value * 100]]), a = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [[""], ["val"], ["%"]]].concat(t), l = xt(a);
337
+ _t({ csvContent: l, title: e.value.style.chart.title.text || "vue-ui-waffle" });
341
338
  });
342
339
  }
343
- const Q = d(() => {
340
+ const Z = d(() => {
344
341
  const t = [
345
342
  ' <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>',
346
- W(
343
+ E(
347
344
  e.value.style.chart.layout.labels.dataLabels.formatter,
348
- _.value,
349
- x({
345
+ S.value,
346
+ C({
350
347
  p: e.value.style.chart.layout.labels.dataLabels.prefix,
351
- v: _.value,
348
+ v: S.value,
352
349
  s: e.value.style.chart.layout.labels.dataLabels.suffix,
353
350
  r: e.value.table.td.roundingValue
354
351
  })
355
352
  ),
356
353
  "100%"
357
- ], a = $.value.head.map((u, i) => [
354
+ ], a = P.value.head.map((u, i) => [
358
355
  {
359
356
  color: u.color,
360
357
  name: u.name
361
358
  },
362
- W(
359
+ E(
363
360
  e.value.style.chart.layout.labels.dataLabels.formatter,
364
- $.value.body[i],
365
- x({
361
+ P.value.body[i],
362
+ C({
366
363
  p: e.value.style.chart.layout.labels.dataLabels.prefix,
367
- v: $.value.body[i],
364
+ v: P.value.body[i],
368
365
  s: e.value.style.chart.layout.labels.dataLabels.suffix,
369
366
  r: e.value.table.td.roundingValue
370
367
  })
371
368
  ),
372
- isNaN($.value.body[i] / _.value) ? "-" : x({
373
- v: $.value.body[i] / _.value * 100,
369
+ isNaN(P.value.body[i] / S.value) ? "-" : C({
370
+ v: P.value.body[i] / S.value * 100,
374
371
  s: "%",
375
372
  r: e.value.table.td.roundingPercentage
376
373
  })
@@ -398,60 +395,60 @@ const Ue = (j) => (ut("data-v-a0b27ef9"), j = j(), st(), j), Mt = ["id"], Dt = [
398
395
  config: l,
399
396
  colNames: o
400
397
  };
401
- }), D = c(!1);
398
+ }), j = v(!1);
402
399
  function et(t) {
403
- D.value = t, ne.value += 1;
404
- }
405
- function Ae() {
406
- T.value.showTable = !T.value.showTable;
400
+ j.value = t, ve.value += 1;
407
401
  }
408
402
  function Fe() {
409
- T.value.showTooltip = !T.value.showTooltip;
403
+ L.value.showTable = !L.value.showTable;
410
404
  }
411
- const Z = c(!1);
412
- function ue() {
413
- Z.value = !Z.value;
405
+ function ze() {
406
+ L.value.showTooltip = !L.value.showTooltip;
407
+ }
408
+ const ee = v(!1);
409
+ function se() {
410
+ ee.value = !ee.value;
414
411
  }
415
412
  return Ge({
416
413
  getData: Je,
417
- generatePdf: xe,
418
- generateCsv: Oe,
419
- generateImage: Ce,
420
- toggleTable: Ae,
421
- toggleTooltip: Fe,
422
- toggleAnnotator: ue
423
- }), (t, a) => (s(), n("div", {
424
- class: Be(`vue-ui-waffle ${D.value ? "vue-data-ui-wrapper-fullscreen" : ""}`),
414
+ generatePdf: Ce,
415
+ generateCsv: Ae,
416
+ generateImage: $e,
417
+ toggleTable: Fe,
418
+ toggleTooltip: ze,
419
+ toggleAnnotator: se
420
+ }), (t, a) => (s(), r("div", {
421
+ class: Be(`vue-ui-waffle ${j.value ? "vue-data-ui-wrapper-fullscreen" : ""}`),
425
422
  ref_key: "waffleChart",
426
- ref: V,
427
- id: `vue-ui-waffle_${P.value}`,
423
+ ref: U,
424
+ id: `vue-ui-waffle_${k.value}`,
428
425
  style: X(`font-family:${e.value.style.fontFamily};width:100%; text-align:center;background:${e.value.style.chart.backgroundColor};${e.value.responsive ? "height: 100%" : ""}`),
429
- onMouseenter: a[3] || (a[3] = () => v(ye)(!0)),
430
- onMouseleave: a[4] || (a[4] = () => v(ye)(!1))
426
+ onMouseenter: a[3] || (a[3] = () => c(be)(!0)),
427
+ onMouseleave: a[4] || (a[4] = () => c(be)(!1))
431
428
  }, [
432
- e.value.userOptions.buttons.annotator ? (s(), z(Nt, {
429
+ e.value.userOptions.buttons.annotator ? (s(), N(Nt, {
433
430
  key: 0,
434
- parent: V.value,
431
+ parent: U.value,
435
432
  backgroundColor: e.value.style.chart.backgroundColor,
436
433
  color: e.value.style.chart.color,
437
- active: Z.value,
438
- onClose: ue
434
+ active: ee.value,
435
+ onClose: se
439
436
  }, null, 8, ["parent", "backgroundColor", "color", "active"])) : y("", !0),
440
- qe.value ? (s(), n("div", {
437
+ qe.value ? (s(), r("div", {
441
438
  key: 1,
442
439
  ref_key: "noTitle",
443
- ref: de,
440
+ ref: pe,
444
441
  class: "vue-data-ui-no-title-space",
445
442
  style: "height:36px; width: 100%;background:transparent"
446
443
  }, null, 512)) : y("", !0),
447
- e.value.style.chart.title.text ? (s(), n("div", {
444
+ e.value.style.chart.title.text ? (s(), r("div", {
448
445
  key: 2,
449
446
  ref_key: "chartTitle",
450
- ref: ie,
447
+ ref: ce,
451
448
  style: "width:100%;background:transparent;padding-bottom:12px"
452
449
  }, [
453
- (s(), z(Tt, {
454
- key: `title_${he.value}`,
450
+ (s(), N(It, {
451
+ key: `title_${ye.value}`,
455
452
  config: {
456
453
  title: {
457
454
  cy: "waffle-title",
@@ -464,39 +461,39 @@ const Ue = (j) => (ut("data-v-a0b27ef9"), j = j(), st(), j), Mt = ["id"], Dt = [
464
461
  }
465
462
  }, null, 8, ["config"]))
466
463
  ], 512)) : y("", !0),
467
- e.value.userOptions.show && Y.value && (v(ge) || v(le)) ? (s(), z(St, {
464
+ e.value.userOptions.show && Y.value && (c(me) || c(ae)) ? (s(), N(St, {
468
465
  ref_key: "details",
469
- ref: Ee,
470
- key: `user_options_${ne.value}`,
466
+ ref: We,
467
+ key: `user_options_${ve.value}`,
471
468
  backgroundColor: e.value.style.chart.backgroundColor,
472
469
  color: e.value.style.chart.color,
473
- isPrinting: v(we),
474
- isImaging: v(ke),
475
- uid: P.value,
470
+ isPrinting: c(xe),
471
+ isImaging: c(_e),
472
+ uid: k.value,
476
473
  hasTooltip: e.value.userOptions.buttons.tooltip && e.value.style.chart.tooltip.show,
477
474
  hasPdf: e.value.userOptions.buttons.pdf,
478
475
  hasImg: e.value.userOptions.buttons.img,
479
476
  hasXls: e.value.userOptions.buttons.csv,
480
477
  hasTable: e.value.userOptions.buttons.table,
481
478
  hasFullscreen: e.value.userOptions.buttons.fullscreen,
482
- isFullscreen: D.value,
483
- isTooltip: T.value.showTooltip,
479
+ isFullscreen: j.value,
480
+ isTooltip: L.value.showTooltip,
484
481
  titles: { ...e.value.userOptions.buttonTitles },
485
- chartElement: V.value,
482
+ chartElement: U.value,
486
483
  position: e.value.userOptions.position,
487
484
  hasAnnotator: e.value.userOptions.buttons.annotator,
488
- isAnnotation: Z.value,
485
+ isAnnotation: ee.value,
489
486
  onToggleFullscreen: et,
490
- onGeneratePdf: v(xe),
491
- onGenerateCsv: Oe,
492
- onGenerateImage: v(Ce),
493
- onToggleTable: Ae,
494
- onToggleTooltip: Fe,
495
- onToggleAnnotator: ue,
487
+ onGeneratePdf: c(Ce),
488
+ onGenerateCsv: Ae,
489
+ onGenerateImage: c($e),
490
+ onToggleTable: Fe,
491
+ onToggleTooltip: ze,
492
+ onToggleAnnotator: se,
496
493
  style: X({
497
- visibility: v(ge) ? v(le) ? "visible" : "hidden" : "visible"
494
+ visibility: c(me) ? c(ae) ? "visible" : "hidden" : "visible"
498
495
  })
499
- }, at({ _: 2 }, [
496
+ }, Ve({ _: 2 }, [
500
497
  t.$slots.optionTooltip ? {
501
498
  name: "optionTooltip",
502
499
  fn: b(() => [
@@ -535,154 +532,171 @@ const Ue = (j) => (ut("data-v-a0b27ef9"), j = j(), st(), j), Mt = ["id"], Dt = [
535
532
  t.$slots.optionFullscreen ? {
536
533
  name: "optionFullscreen",
537
534
  fn: b(({ toggleFullscreen: l, isFullscreen: o }) => [
538
- g(t.$slots, "optionFullscreen", U(G({ toggleFullscreen: l, isFullscreen: o })), void 0, !0)
535
+ g(t.$slots, "optionFullscreen", B(V({ toggleFullscreen: l, isFullscreen: o })), void 0, !0)
539
536
  ]),
540
537
  key: "5"
541
538
  } : void 0,
542
539
  t.$slots.optionAnnotator ? {
543
540
  name: "optionAnnotator",
544
541
  fn: b(({ toggleAnnotator: l, isAnnotator: o }) => [
545
- g(t.$slots, "optionAnnotator", U(G({ toggleAnnotator: l, isAnnotator: o })), void 0, !0)
542
+ g(t.$slots, "optionAnnotator", B(V({ toggleAnnotator: l, isAnnotator: o })), void 0, !0)
546
543
  ]),
547
544
  key: "6"
548
545
  } : void 0
549
546
  ]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasTooltip", "hasPdf", "hasImg", "hasXls", "hasTable", "hasFullscreen", "isFullscreen", "isTooltip", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "onGeneratePdf", "onGenerateImage", "style"])) : y("", !0),
550
- Y.value ? (s(), n("svg", {
547
+ Y.value ? (s(), r("svg", {
551
548
  key: 4,
552
- xmlns: v(pt),
553
- class: Be({ "vue-data-ui-fullscreen--on": D.value, "vue-data-ui-fulscreen--off": !D.value }),
554
- viewBox: `0 0 ${L.value.width <= 0 ? 10 : L.value.width} ${L.value.height <= 0 ? 10 : L.value.height}`,
549
+ xmlns: c(pt),
550
+ class: Be({ "vue-data-ui-fullscreen--on": j.value, "vue-data-ui-fulscreen--off": !j.value }),
551
+ viewBox: `0 0 ${F.value.width <= 0 ? 10 : F.value.width} ${F.value.height <= 0 ? 10 : F.value.height}`,
555
552
  style: X(`max-width:100%;overflow:visible;background:transparent;color:${e.value.style.chart.color}`)
556
553
  }, [
557
- Ve(zt),
558
- k("defs", null, [
559
- (s(!0), n(I, null, R(r.value, (l, o) => (s(), n("radialGradient", {
554
+ ne(zt),
555
+ x("defs", null, [
556
+ (s(!0), r(_, null, O(n.value, (l, o) => (s(), r("radialGradient", {
560
557
  cx: "50%",
561
558
  cy: "50%",
562
559
  r: "50%",
563
560
  fx: "50%",
564
561
  fy: "50%",
565
- id: `gradient_${P.value}_${o}`
562
+ id: `gradient_${k.value}_${o}`
566
563
  }, [
567
- k("stop", {
564
+ x("stop", {
568
565
  offset: "0%",
569
- "stop-color": v(ft)(v(yt)(l.color, 0.05), 100 - e.value.style.chart.layout.rect.gradientIntensity)
570
- }, null, 8, Gt),
571
- k("stop", {
566
+ "stop-color": c(yt)(c(ft)(l.color, 0.05), 100 - e.value.style.chart.layout.rect.gradientIntensity)
567
+ }, null, 8, Rt),
568
+ x("stop", {
572
569
  offset: "100%",
573
570
  "stop-color": l.color
574
- }, null, 8, Rt)
575
- ], 8, Ut))), 256))
571
+ }, null, 8, jt)
572
+ ], 8, Gt))), 256))
576
573
  ]),
577
- k("defs", null, [
578
- k("filter", {
579
- id: `blur_${P.value}`,
574
+ x("defs", null, [
575
+ x("filter", {
576
+ id: `blur_${k.value}`,
580
577
  x: "-50%",
581
578
  y: "-50%",
582
579
  width: "200%",
583
580
  height: "200%"
584
- }, qt, 8, Wt)
581
+ }, Ht, 8, Et)
585
582
  ]),
586
- e.value.useCustomCells && r.value.length ? (s(!0), n(I, { key: 0 }, R(H.value, (l, o) => (s(), n("foreignObject", {
583
+ e.value.useCustomCells && n.value.length ? (s(!0), r(_, { key: 0 }, O(G.value, (l, o) => (s(), r("foreignObject", {
587
584
  x: l.x,
588
585
  y: l.y,
589
- height: A.value <= 0 ? 1e-4 : A.value,
590
- width: O.value <= 0 ? 1e-4 : O.value,
586
+ height: T.value <= 0 ? 1e-4 : T.value,
587
+ width: I.value <= 0 ? 1e-4 : I.value,
591
588
  class: "vue-ui-waffle-custom-cell-foreignObject"
592
589
  }, [
593
- g(t.$slots, "cell", U(G({ cell: { ...l, color: r.value[o].color, ...r.value[o] }, isSelected: [null, void 0].includes(B.value) ? !0 : r.value[o].serieIndex === B.value })), void 0, !0)
594
- ], 8, Ht))), 256)) : y("", !0),
595
- !r.value.length && !e.value.useCustomCells ? (s(), n("rect", {
590
+ g(t.$slots, "cell", B(V({ cell: { ...l, color: n.value[o].color, ...n.value[o] }, isSelected: [null, void 0].includes(D.value) ? !0 : n.value[o].serieIndex === D.value })), void 0, !0)
591
+ ], 8, Xt))), 256)) : y("", !0),
592
+ !n.value.length && !e.value.useCustomCells ? (s(), r("rect", {
596
593
  key: 1,
597
594
  x: 12,
598
595
  y: 12,
599
- height: C.value.height - 24,
600
- width: C.value.width - 24,
596
+ height: $.value.height - 24,
597
+ width: $.value.width - 24,
601
598
  rx: 3,
602
599
  fill: "none",
603
600
  stroke: "black"
604
- }, null, 8, Xt)) : r.value.length && !e.value.useCustomCells ? (s(), n(I, { key: 2 }, [
605
- (s(!0), n(I, null, R(H.value, (l, o) => (s(), n("rect", {
601
+ }, null, 8, Yt)) : n.value.length && !e.value.useCustomCells ? (s(), r(_, { key: 2 }, [
602
+ t.$slots.pattern ? (s(), r("g", Jt, [
603
+ (s(!0), r(_, null, O(oe.value, (l) => (s(), r("defs", null, [
604
+ g(t.$slots, "pattern", B(V({ seriesIndex: l.absoluteIndex, patternId: `pattern_${k.value}_${l.absoluteIndex}` })), void 0, !0)
605
+ ]))), 256))
606
+ ])) : y("", !0),
607
+ (s(!0), r(_, null, O(G.value, (l, o) => (s(), r("rect", {
606
608
  rx: e.value.style.chart.layout.rect.rounded ? e.value.style.chart.layout.rect.rounding : 0,
607
609
  x: l.x + e.value.style.chart.layout.grid.spaceBetween / 2,
608
610
  y: l.y + e.value.style.chart.layout.grid.spaceBetween / 2,
609
- height: A.value <= 0 ? 1e-4 : A.value,
610
- width: O.value <= 0 ? 1e-4 : O.value,
611
+ height: T.value <= 0 ? 1e-4 : T.value,
612
+ width: I.value <= 0 ? 1e-4 : I.value,
611
613
  fill: "white",
612
614
  stroke: e.value.style.chart.layout.rect.stroke,
613
615
  "stroke-width": e.value.style.chart.layout.rect.strokeWidth,
614
- filter: oe(r.value[o].serieIndex)
615
- }, null, 8, Yt))), 256)),
616
- (s(!0), n(I, null, R(H.value, (l, o) => (s(), n("rect", {
616
+ filter: Q(n.value[o].serieIndex)
617
+ }, null, 8, Kt))), 256)),
618
+ (s(!0), r(_, null, O(G.value, (l, o) => (s(), r("rect", {
617
619
  rx: e.value.style.chart.layout.rect.rounded ? e.value.style.chart.layout.rect.rounding : 0,
618
620
  x: l.x + e.value.style.chart.layout.grid.spaceBetween / 2,
619
621
  y: l.y + e.value.style.chart.layout.grid.spaceBetween / 2,
620
- height: A.value <= 0 ? 1e-4 : A.value,
621
- width: O.value <= 0 ? 1e-4 : O.value,
622
- fill: e.value.style.chart.layout.rect.useGradient && e.value.style.chart.layout.rect.gradientIntensity > 0 ? `url(#gradient_${P.value}_${o})` : r.value[o].color,
622
+ height: T.value <= 0 ? 1e-4 : T.value,
623
+ width: I.value <= 0 ? 1e-4 : I.value,
624
+ fill: e.value.style.chart.layout.rect.useGradient && e.value.style.chart.layout.rect.gradientIntensity > 0 ? `url(#gradient_${k.value}_${o})` : n.value[o].color,
623
625
  stroke: e.value.style.chart.layout.rect.stroke,
624
626
  "stroke-width": e.value.style.chart.layout.rect.strokeWidth,
625
- filter: oe(r.value[o].serieIndex)
626
- }, null, 8, Jt))), 256))
627
+ filter: Q(n.value[o].serieIndex)
628
+ }, null, 8, Qt))), 256)),
629
+ t.$slots.pattern ? (s(), r("g", Zt, [
630
+ (s(!0), r(_, null, O(G.value, (l, o) => (s(), r("rect", {
631
+ rx: e.value.style.chart.layout.rect.rounded ? e.value.style.chart.layout.rect.rounding : 0,
632
+ x: l.x + e.value.style.chart.layout.grid.spaceBetween / 2,
633
+ y: l.y + e.value.style.chart.layout.grid.spaceBetween / 2,
634
+ height: T.value <= 0 ? 1e-4 : T.value,
635
+ width: I.value <= 0 ? 1e-4 : I.value,
636
+ fill: `url(#pattern_${k.value}_${n.value[o].absoluteIndex})`,
637
+ stroke: "none",
638
+ filter: Q(n.value[o].serieIndex)
639
+ }, null, 8, el))), 256))
640
+ ])) : y("", !0)
627
641
  ], 64)) : y("", !0),
628
- (s(!0), n(I, null, R(H.value, (l, o) => (s(), n(I, null, [
629
- r.value.length && !F.value && !e.value.style.chart.layout.grid.vertical && e.value.style.chart.layout.labels.captions.show && (r.value[o].isFirst && l.position < e.value.style.chart.layout.grid.size - 2 || r.value[o].isAbsoluteFirst && o % e.value.style.chart.layout.grid.size === 0 && r.value[o].absoluteStartIndex) ? (s(), n("foreignObject", {
642
+ (s(!0), r(_, null, O(G.value, (l, o) => (s(), r(_, null, [
643
+ n.value.length && !z.value && !e.value.style.chart.layout.grid.vertical && e.value.style.chart.layout.labels.captions.show && (n.value[o].isFirst && l.position < e.value.style.chart.layout.grid.size - 2 || n.value[o].isAbsoluteFirst && o % e.value.style.chart.layout.grid.size === 0 && n.value[o].absoluteStartIndex) ? (s(), r("foreignObject", {
630
644
  key: 0,
631
645
  x: l.x + e.value.style.chart.layout.labels.captions.offsetX + e.value.style.chart.layout.grid.spaceBetween / 2,
632
646
  y: l.y + e.value.style.chart.layout.labels.captions.offsetY + e.value.style.chart.layout.grid.spaceBetween / 2,
633
647
  height: K.value <= 0 ? 1e-4 : K.value,
634
- width: E.value * e.value.style.chart.layout.grid.size <= 0 ? 1e-4 : E.value * e.value.style.chart.layout.grid.size,
635
- filter: oe(r.value[o].serieIndex)
648
+ width: q.value * e.value.style.chart.layout.grid.size <= 0 ? 1e-4 : q.value * e.value.style.chart.layout.grid.size,
649
+ filter: Q(n.value[o].serieIndex)
636
650
  }, [
637
- k("div", {
651
+ x("div", {
638
652
  class: "vue-ui-waffle-caption",
639
- style: X(`height: 100%; width: 100%; font-size:${e.value.style.chart.layout.labels.captions.fontSize}px;display:flex;align-items:center;justify-content:flex-start;padding: 0 ${E.value / 12}px;color:${v(gt)(r.value[o].color)};gap:2px`)
653
+ style: X(`height: 100%; width: 100%; font-size:${e.value.style.chart.layout.labels.captions.fontSize}px;display:flex;align-items:center;justify-content:flex-start;padding: 0 ${q.value / 12}px;color:${c(gt)(n.value[o].color)};gap:2px`)
640
654
  }, [
641
- e.value.style.chart.layout.labels.captions.showSerieName ? (s(), n("span", Qt, S(e.value.style.chart.layout.labels.captions.serieNameAbbreviation ? v(bt)({ source: r.value[o].name, length: e.value.style.chart.layout.labels.captions.serieNameMaxAbbreviationSize }) : r.value[o].name) + ": ", 1)) : y("", !0),
642
- e.value.style.chart.layout.labels.captions.showPercentage ? (s(), n("span", Zt, S(v(x)({ v: r.value[o].proportion, s: "%", r: e.value.style.chart.layout.labels.captions.roundingPercentage })), 1)) : y("", !0),
643
- e.value.style.chart.layout.labels.captions.showPercentage && e.value.style.chart.layout.labels.captions.showValue ? (s(), n("span", el, " (" + S(v(W)(
655
+ e.value.style.chart.layout.labels.captions.showSerieName ? (s(), r("span", ll, A(e.value.style.chart.layout.labels.captions.serieNameAbbreviation ? c(bt)({ source: n.value[o].name, length: e.value.style.chart.layout.labels.captions.serieNameMaxAbbreviationSize }) : n.value[o].name) + ": ", 1)) : y("", !0),
656
+ e.value.style.chart.layout.labels.captions.showPercentage ? (s(), r("span", al, A(c(C)({ v: n.value[o].proportion, s: "%", r: e.value.style.chart.layout.labels.captions.roundingPercentage })), 1)) : y("", !0),
657
+ e.value.style.chart.layout.labels.captions.showPercentage && e.value.style.chart.layout.labels.captions.showValue ? (s(), r("span", ol, " (" + A(c(E)(
644
658
  e.value.style.chart.layout.labels.dataLabels.formatter,
645
- r.value[o].value,
646
- v(x)({
659
+ n.value[o].value,
660
+ c(C)({
647
661
  p: e.value.style.chart.layout.labels.dataLabels.prefix,
648
- v: r.value[o].value,
662
+ v: n.value[o].value,
649
663
  s: e.value.style.chart.layout.labels.dataLabels.suffix,
650
664
  r: e.value.style.chart.layout.labels.captions.roundingValue
651
665
  }),
652
- { datapoint: r.value[o], position: l }
666
+ { datapoint: n.value[o], position: l }
653
667
  )) + ") ", 1)) : y("", !0),
654
- !e.value.style.chart.layout.labels.captions.showPercentage && e.value.style.chart.layout.labels.captions.showValue ? (s(), n("span", tl, S(v(W)(
668
+ !e.value.style.chart.layout.labels.captions.showPercentage && e.value.style.chart.layout.labels.captions.showValue ? (s(), r("span", ul, A(c(E)(
655
669
  e.value.style.chart.layout.labels.dataLabels.formatter,
656
- r.value[o].value,
657
- v(x)({
670
+ n.value[o].value,
671
+ c(C)({
658
672
  p: e.value.style.chart.layout.labels.dataLabels.prefix,
659
- v: r.value[o].value,
673
+ v: n.value[o].value,
660
674
  s: e.value.style.chart.layout.labels.dataLabels.suffix,
661
675
  r: e.value.style.chart.layout.labels.captions.roundingValue
662
676
  }),
663
- { datapoint: r.value[o], position: l }
677
+ { datapoint: n.value[o], position: l }
664
678
  )), 1)) : y("", !0)
665
679
  ], 4)
666
- ], 8, Kt)) : y("", !0)
680
+ ], 8, tl)) : y("", !0)
667
681
  ], 64))), 256)),
668
- (s(!0), n(I, null, R(H.value, (l, o) => (s(), n("rect", {
682
+ (s(!0), r(_, null, O(G.value, (l, o) => (s(), r("rect", {
669
683
  onMouseover: (u) => Ze(o),
670
684
  onMouseleave: a[0] || (a[0] = (u) => {
671
- ee.value = !1, B.value = null;
685
+ te.value = !1, D.value = null;
672
686
  }),
673
687
  x: l.x + e.value.style.chart.layout.grid.spaceBetween / 2,
674
688
  y: l.y + e.value.style.chart.layout.grid.spaceBetween / 2,
675
689
  height: K.value <= 0 ? 1e-4 : K.value,
676
- width: E.value <= 0 ? 1e-4 : E.value,
690
+ width: q.value <= 0 ? 1e-4 : q.value,
677
691
  fill: "transparent",
678
692
  stroke: "none"
679
- }, null, 40, ll))), 256)),
680
- g(t.$slots, "svg", { svg: L.value }, void 0, !0)
681
- ], 14, Dt)) : y("", !0),
682
- t.$slots.watermark ? (s(), n("div", al, [
683
- g(t.$slots, "watermark", U(G({ isPrinting: v(we) || v(ke) })), void 0, !0)
693
+ }, null, 40, sl))), 256)),
694
+ g(t.$slots, "svg", { svg: F.value }, void 0, !0)
695
+ ], 14, Ut)) : y("", !0),
696
+ t.$slots.watermark ? (s(), r("div", rl, [
697
+ g(t.$slots, "watermark", B(V({ isPrinting: c(xe) || c(_e) })), void 0, !0)
684
698
  ])) : y("", !0),
685
- Y.value ? y("", !0) : (s(), z(At, {
699
+ Y.value ? y("", !0) : (s(), N(At, {
686
700
  key: 6,
687
701
  config: {
688
702
  type: "waffle",
@@ -694,52 +708,66 @@ const Ue = (j) => (ut("data-v-a0b27ef9"), j = j(), st(), j), Mt = ["id"], Dt = [
694
708
  }
695
709
  }
696
710
  }, null, 8, ["config"])),
697
- k("div", {
711
+ x("div", {
698
712
  ref_key: "chartLegend",
699
- ref: ce
713
+ ref: de
700
714
  }, [
701
- e.value.style.chart.legend.show ? (s(), z(Ot, {
702
- key: `legend_${fe.value}`,
703
- legendSet: M.value,
715
+ e.value.style.chart.legend.show ? (s(), N(Ot, {
716
+ key: `legend_${ge.value}`,
717
+ legendSet: R.value,
704
718
  config: Qe.value,
705
- onClickMarker: a[1] || (a[1] = ({ legend: l }) => Le(l.uid))
706
- }, {
719
+ onClickMarker: a[1] || (a[1] = ({ legend: l }) => Oe(l.uid))
720
+ }, Ve({
707
721
  item: b(({ legend: l }) => [
708
- k("div", {
722
+ x("div", {
709
723
  onClick: (o) => l.segregate(),
710
724
  style: X(`opacity:${p.value.includes(l.uid) ? 0.5 : 1}`)
711
725
  }, [
712
- Me(S(l.name) + ": " + S(v(W)(
726
+ Me(A(l.name) + ": " + A(c(E)(
713
727
  e.value.style.chart.layout.labels.dataLabels.formatter,
714
728
  l.value,
715
- v(x)({
729
+ c(C)({
716
730
  p: e.value.style.chart.layout.labels.dataLabels.prefix,
717
731
  v: l.value,
718
732
  s: e.value.style.chart.layout.labels.dataLabels.suffix,
719
733
  r: e.value.style.chart.legend.roundingValue,
720
- isAnimating: F.value
734
+ isAnimating: z.value
721
735
  }),
722
736
  { datapoint: l }
723
737
  )) + " ", 1),
724
- p.value.includes(l.uid) ? (s(), n("span", sl, " ( - % ) ")) : (s(), n("span", ul, " (" + S(isNaN(l.value / _.value) ? "-" : v(x)({ v: l.value / _.value * 100, s: "%", r: e.value.style.chart.legend.roundingPercentage, isAnimating: F.value })) + ") ", 1))
725
- ], 12, ol)
738
+ p.value.includes(l.uid) ? (s(), r("span", vl, " ( - % ) ")) : (s(), r("span", il, " (" + A(isNaN(l.value / S.value) ? "-" : c(C)({ v: l.value / S.value * 100, s: "%", r: e.value.style.chart.legend.roundingPercentage, isAnimating: z.value })) + ") ", 1))
739
+ ], 12, nl)
726
740
  ]),
727
- _: 1
728
- }, 8, ["legendSet", "config"])) : g(t.$slots, "legend", {
741
+ _: 2
742
+ }, [
743
+ t.$slots.pattern ? {
744
+ name: "legend-pattern",
745
+ fn: b(({ legend: l, index: o }) => [
746
+ ne(Vt, {
747
+ shape: l.shape,
748
+ radius: 30,
749
+ stroke: "none",
750
+ plot: { x: 30, y: 30 },
751
+ fill: `url(#pattern_${k.value}_${o})`
752
+ }, null, 8, ["shape", "fill"])
753
+ ]),
754
+ key: "0"
755
+ } : void 0
756
+ ]), 1032, ["legendSet", "config"])) : g(t.$slots, "legend", {
729
757
  key: 1,
730
- legend: M.value
758
+ legend: R.value
731
759
  }, void 0, !0)
732
760
  ], 512),
733
- t.$slots.source ? (s(), n("div", {
761
+ t.$slots.source ? (s(), r("div", {
734
762
  key: 7,
735
763
  ref_key: "source",
736
- ref: ve,
764
+ ref: he,
737
765
  dir: "auto"
738
766
  }, [
739
767
  g(t.$slots, "source", {}, void 0, !0)
740
768
  ], 512)) : y("", !0),
741
- Ve(Pt, {
742
- show: T.value.showTooltip && ee.value && p.value.length < m.dataset.length,
769
+ ne(Pt, {
770
+ show: L.value.showTooltip && te.value && p.value.length < m.dataset.length,
743
771
  backgroundColor: e.value.style.chart.tooltip.backgroundColor,
744
772
  color: e.value.style.chart.tooltip.color,
745
773
  borderRadius: e.value.style.chart.tooltip.borderRadius,
@@ -748,25 +776,25 @@ const Ue = (j) => (ut("data-v-a0b27ef9"), j = j(), st(), j), Mt = ["id"], Dt = [
748
776
  backgroundOpacity: e.value.style.chart.tooltip.backgroundOpacity,
749
777
  position: e.value.style.chart.tooltip.position,
750
778
  offsetY: e.value.style.chart.tooltip.offsetY,
751
- parent: V.value,
752
- content: te.value,
779
+ parent: U.value,
780
+ content: le.value,
753
781
  isCustom: e.value.style.chart.tooltip.customFormat && typeof e.value.style.chart.tooltip.customFormat == "function",
754
782
  fontSize: e.value.style.chart.tooltip.fontSize,
755
- isFullscreen: D.value
783
+ isFullscreen: j.value
756
784
  }, {
757
785
  "tooltip-before": b(() => [
758
- g(t.$slots, "tooltip-before", U(G({ ...ae.value })), void 0, !0)
786
+ g(t.$slots, "tooltip-before", B(V({ ...ue.value })), void 0, !0)
759
787
  ]),
760
788
  "tooltip-after": b(() => [
761
- g(t.$slots, "tooltip-after", U(G({ ...ae.value })), void 0, !0)
789
+ g(t.$slots, "tooltip-after", B(V({ ...ue.value })), void 0, !0)
762
790
  ]),
763
791
  _: 3
764
792
  }, 8, ["show", "backgroundColor", "color", "borderRadius", "borderColor", "borderWidth", "backgroundOpacity", "position", "offsetY", "parent", "content", "isCustom", "fontSize", "isFullscreen"]),
765
- Y.value ? (s(), z(Ft, {
793
+ Y.value ? (s(), N(Ft, {
766
794
  key: 8,
767
795
  hideDetails: "",
768
796
  config: {
769
- open: T.value.showTable,
797
+ open: L.value.showTable,
770
798
  maxHeight: 1e4,
771
799
  body: {
772
800
  backgroundColor: e.value.style.chart.backgroundColor,
@@ -779,32 +807,32 @@ const Ue = (j) => (ut("data-v-a0b27ef9"), j = j(), st(), j), Mt = ["id"], Dt = [
779
807
  }
780
808
  }, {
781
809
  content: b(() => [
782
- (s(), z(Lt, {
783
- key: `table_${pe.value}`,
784
- colNames: Q.value.colNames,
785
- head: Q.value.head,
786
- body: Q.value.body,
787
- config: Q.value.config,
810
+ (s(), N(Lt, {
811
+ key: `table_${fe.value}`,
812
+ colNames: Z.value.colNames,
813
+ head: Z.value.head,
814
+ body: Z.value.body,
815
+ config: Z.value.config,
788
816
  title: `${e.value.style.chart.title.text}${e.value.style.chart.title.subtitle.text ? ` : ${e.value.style.chart.title.subtitle.text}` : ""}`,
789
- onClose: a[2] || (a[2] = (l) => T.value.showTable = !1)
817
+ onClose: a[2] || (a[2] = (l) => L.value.showTable = !1)
790
818
  }, {
791
819
  th: b(({ th: l }) => [
792
- k("div", {
820
+ x("div", {
793
821
  innerHTML: l,
794
822
  style: { display: "flex", "align-items": "center" }
795
- }, null, 8, rl)
823
+ }, null, 8, cl)
796
824
  ]),
797
825
  td: b(({ td: l }) => [
798
- Me(S(l.name || l), 1)
826
+ Me(A(l.name || l), 1)
799
827
  ]),
800
828
  _: 1
801
829
  }, 8, ["colNames", "head", "body", "config", "title"]))
802
830
  ]),
803
831
  _: 1
804
832
  }, 8, ["config"])) : y("", !0)
805
- ], 46, Mt));
833
+ ], 46, Dt));
806
834
  }
807
- }, _l = /* @__PURE__ */ Vt(nl, [["__scopeId", "data-v-a0b27ef9"]]);
835
+ }, Pl = /* @__PURE__ */ Mt(dl, [["__scopeId", "data-v-8a0b99ad"]]);
808
836
  export {
809
- _l as default
837
+ Pl as default
810
838
  };