vue-data-ui 2.3.73 → 2.3.75

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 (193) hide show
  1. package/dist/{Arrow-B9ZuNkP-.js → Arrow-BTG7M25z.js} +1 -1
  2. package/dist/{Arrow-B8nZeqNJ.cjs → Arrow-CZK77NmC.cjs} +1 -1
  3. package/dist/{BaseIcon-CXbZK6D-.cjs → BaseIcon--PMhZ3f-.cjs} +1 -1
  4. package/dist/{BaseIcon-_V_BEdy8.js → BaseIcon-BAOfPaXs.js} +1 -1
  5. package/dist/{DataTable-BOdJVZzF.js → DataTable-CQANRZju.js} +2 -2
  6. package/dist/{DataTable-wmKwMbsJ.cjs → DataTable-DjQzrklZ.cjs} +1 -1
  7. package/dist/{Legend-DdndVhHV.cjs → Legend-CtbPB0Bo.cjs} +1 -1
  8. package/dist/{Legend-CHd5QFPM.js → Legend-DX1kv21U.js} +1 -1
  9. package/dist/{Shape-CLRxBhyM.cjs → Shape-CadGs1Am.cjs} +1 -1
  10. package/dist/{Shape-DNbJlwSU.js → Shape-kqcyauhC.js} +1 -1
  11. package/dist/{Slicer-Dts-BToH.cjs → Slicer-i_oECHxH.cjs} +1 -1
  12. package/dist/{Slicer-8Gg45iGX.js → Slicer-yaJs-izT.js} +2 -2
  13. package/dist/{Title-Ngy9HNqO.js → Title-C26I_HC3.js} +1 -1
  14. package/dist/{Title-CujodUjt.cjs → Title-XBiDFYKD.cjs} +1 -1
  15. package/dist/{Tooltip-BCtg7xYX.js → Tooltip-CH8GmDCG.js} +1 -1
  16. package/dist/{Tooltip-DsmWz8gF.cjs → Tooltip-DxtWkIt5.cjs} +1 -1
  17. package/dist/{index-Dvs5Ra-u.js → index-Cm4Iry5c.js} +1 -1
  18. package/dist/{index-sFjJ2dIj.cjs → index-DYUBiaGS.cjs} +1 -1
  19. package/dist/style.css +1 -1
  20. package/dist/{useNestedProp-UohhCyBz.js → useNestedProp-CurQIHTa.js} +1 -1
  21. package/dist/{useNestedProp-ir0jEo5M.cjs → useNestedProp-w7AMWWmz.cjs} +1 -1
  22. package/dist/{usePrinter-B8-keRMa.js → usePrinter-B8RnF8_q.js} +1 -1
  23. package/dist/{usePrinter-DSMMs1w9.cjs → usePrinter-ZlHxdaEz.cjs} +1 -1
  24. package/dist/{vue-data-ui-NvV5qa--.cjs → vue-data-ui-B7amrpT-.cjs} +1 -1
  25. package/dist/{vue-data-ui-Bgo6YUhl.js → vue-data-ui-Bj6kEIpq.js} +57 -57
  26. package/dist/vue-data-ui.cjs +1 -1
  27. package/dist/vue-data-ui.js +1 -1
  28. package/dist/vue-ui-3d-bar-BAz41kL7.cjs +19 -0
  29. package/dist/{vue-ui-3d-bar-DckNIYgA.js → vue-ui-3d-bar-Bg9IgVVc.js} +499 -486
  30. package/dist/{vue-ui-accordion-RuCkf_li.cjs → vue-ui-accordion-1WxrfiCH.cjs} +1 -1
  31. package/dist/{vue-ui-accordion-C-qAry7P.js → vue-ui-accordion-Cb6XBCbu.js} +3 -3
  32. package/dist/{vue-ui-age-pyramid-CamjaXUw.js → vue-ui-age-pyramid-BhwmnQru.js} +182 -169
  33. package/dist/vue-ui-age-pyramid-CHNvRXx8.cjs +1 -0
  34. package/dist/{vue-ui-annotator-D0kYZ56C.cjs → vue-ui-annotator-B22cdlhA.cjs} +1 -1
  35. package/dist/{vue-ui-annotator-DMmdqorj.js → vue-ui-annotator-BiHQvMdW.js} +1 -1
  36. package/dist/{vue-ui-candlestick-DRi8lDTn.js → vue-ui-candlestick-Cl9dyh4l.js} +295 -279
  37. package/dist/vue-ui-candlestick-D7DjdYyw.cjs +2 -0
  38. package/dist/vue-ui-carousel-table-Do5cYRqN.cjs +1 -0
  39. package/dist/{vue-ui-carousel-table-u5OoOMr1.js → vue-ui-carousel-table-QsONwqNz.js} +106 -91
  40. package/dist/vue-ui-chestnut-CyE8MafY.cjs +6 -0
  41. package/dist/{vue-ui-chestnut-D5a4OH1D.js → vue-ui-chestnut-Drb01WMC.js} +215 -204
  42. package/dist/{vue-ui-cursor-Bp_PHbz4.js → vue-ui-cursor-BP04_XbB.js} +2 -2
  43. package/dist/{vue-ui-cursor-DpBsZNEE.cjs → vue-ui-cursor-DZeTQBKz.cjs} +1 -1
  44. package/dist/{vue-ui-dashboard-BwBYH8V_.js → vue-ui-dashboard-BWdx5gjZ.js} +2 -2
  45. package/dist/{vue-ui-dashboard--kjU0uMc.cjs → vue-ui-dashboard-Z63RE1XS.cjs} +1 -1
  46. package/dist/{vue-ui-digits-CIV9J3SW.cjs → vue-ui-digits-CBQaHW6a.cjs} +1 -1
  47. package/dist/{vue-ui-digits-t2G4B6uD.js → vue-ui-digits-DUhkLcmd.js} +2 -2
  48. package/dist/vue-ui-donut-D2YJYgOB.cjs +1 -0
  49. package/dist/{vue-ui-donut-BTug2gsP.js → vue-ui-donut-DRPSwmGr.js} +376 -362
  50. package/dist/{vue-ui-donut-evolution-DTD0Hfgh.js → vue-ui-donut-evolution-gRXAyxq8.js} +270 -255
  51. package/dist/vue-ui-donut-evolution-jAMVgNHQ.cjs +1 -0
  52. package/dist/{vue-ui-dumbbell-BZw7lntE.js → vue-ui-dumbbell-CQo5jqSK.js} +232 -213
  53. package/dist/vue-ui-dumbbell-DLfZcrXq.cjs +9 -0
  54. package/dist/vue-ui-flow-BQ3UbMUb.js +481 -0
  55. package/dist/vue-ui-flow-BlX2-eEC.cjs +1 -0
  56. package/dist/{vue-ui-galaxy-Bjlm3WtB.js → vue-ui-galaxy-BHWugUKG.js} +175 -162
  57. package/dist/vue-ui-galaxy-Cax5o6Yl.cjs +1 -0
  58. package/dist/vue-ui-gauge-DG6_kvKh.js +500 -0
  59. package/dist/vue-ui-gauge-DpGcv_00.cjs +1 -0
  60. package/dist/vue-ui-gizmo-D9Vh9Rmr.cjs +1 -0
  61. package/dist/{vue-ui-gizmo-CiutQM-A.js → vue-ui-gizmo-bV148qAf.js} +66 -53
  62. package/dist/{vue-ui-heatmap-C933pQPU.js → vue-ui-heatmap-BZZUvnMa.js} +157 -143
  63. package/dist/vue-ui-heatmap-B_ELXKKV.cjs +1 -0
  64. package/dist/vue-ui-kpi-C5v7qQvZ.js +98 -0
  65. package/dist/vue-ui-kpi-CwVAvTB2.cjs +1 -0
  66. package/dist/{vue-ui-mini-loader-B5XG2gKd.js → vue-ui-mini-loader-BdKizX_J.js} +2 -2
  67. package/dist/{vue-ui-mini-loader-C67Z1C6r.cjs → vue-ui-mini-loader-DZNY-3rr.cjs} +1 -1
  68. package/dist/{vue-ui-molecule-DzIeuL8t.js → vue-ui-molecule-MKyrhqqm.js} +177 -167
  69. package/dist/vue-ui-molecule-bva6OvPc.cjs +1 -0
  70. package/dist/{vue-ui-mood-radar-02L4M-n_.js → vue-ui-mood-radar-BNIFFvq0.js} +172 -161
  71. package/dist/vue-ui-mood-radar-CzQOAyNI.cjs +1 -0
  72. package/dist/{vue-ui-nested-donuts-BY50trfJ.js → vue-ui-nested-donuts-BDAlZrMF.js} +377 -364
  73. package/dist/vue-ui-nested-donuts-CxdZC6JF.cjs +17 -0
  74. package/dist/{vue-ui-onion-BmQ7B9xY.js → vue-ui-onion-CFa4VD-w.js} +191 -177
  75. package/dist/vue-ui-onion-Df7YcsVR.cjs +5 -0
  76. package/dist/vue-ui-parallel-coordinate-plot-D7Q2zfcR.cjs +8 -0
  77. package/dist/{vue-ui-parallel-coordinate-plot-BdfcqlfT.js → vue-ui-parallel-coordinate-plot-DmqYXT-U.js} +298 -284
  78. package/dist/{vue-ui-quadrant-CLimyRoA.js → vue-ui-quadrant-D5jHkq9g.js} +347 -334
  79. package/dist/vue-ui-quadrant-ZqhcVYf5.cjs +1 -0
  80. package/dist/{vue-ui-quick-chart-CX8Kas-o.js → vue-ui-quick-chart-BjXXSx7V.js} +483 -469
  81. package/dist/vue-ui-quick-chart-Dt9AsEU6.cjs +15 -0
  82. package/dist/vue-ui-radar-2EuZr7i2.cjs +1 -0
  83. package/dist/{vue-ui-radar-CK0PB5oY.js → vue-ui-radar-CW8EKW4o.js} +202 -189
  84. package/dist/{vue-ui-rating-Ceu3pXmF.cjs → vue-ui-rating-DrtLvVA0.cjs} +1 -1
  85. package/dist/{vue-ui-rating-BnqWN2ui.js → vue-ui-rating-eSWsmJUU.js} +2 -2
  86. package/dist/vue-ui-relation-circle-C60OTe88.cjs +1 -0
  87. package/dist/vue-ui-relation-circle-DiUCpEqa.js +322 -0
  88. package/dist/{vue-ui-rings-CYthauSM.js → vue-ui-rings-BxhLbyG0.js} +203 -189
  89. package/dist/vue-ui-rings-CHq-a5ZS.cjs +2 -0
  90. package/dist/{vue-ui-scatter-Cxr9eymz.js → vue-ui-scatter-DQchX_mM.js} +284 -270
  91. package/dist/vue-ui-scatter-DZUZUbnk.cjs +1 -0
  92. package/dist/{vue-ui-screenshot-CVWC5rbJ.js → vue-ui-screenshot-CLa9vMzM.js} +1 -1
  93. package/dist/{vue-ui-screenshot-sBd8-Oyh.cjs → vue-ui-screenshot-SLSIpqx2.cjs} +1 -1
  94. package/dist/{vue-ui-skeleton-CAvlIcgk.js → vue-ui-skeleton-C1oUnz7R.js} +2 -2
  95. package/dist/{vue-ui-skeleton-CqF0NJ4g.cjs → vue-ui-skeleton-ClpTCY1x.cjs} +1 -1
  96. package/dist/{vue-ui-smiley-CXbipVsb.js → vue-ui-smiley-CmWHSt1S.js} +2 -2
  97. package/dist/{vue-ui-smiley-c_I60YOy.cjs → vue-ui-smiley-Daw8fPDy.cjs} +1 -1
  98. package/dist/vue-ui-spark-trend-CO69Dg31.js +263 -0
  99. package/dist/vue-ui-spark-trend-DmDlv8ie.cjs +1 -0
  100. package/dist/{vue-ui-sparkbar-Dm-2_5Ef.js → vue-ui-sparkbar-BRlqpe4e.js} +95 -87
  101. package/dist/vue-ui-sparkbar-BUGdi0BY.cjs +1 -0
  102. package/dist/vue-ui-sparkgauge-CCxKzDjT.cjs +1 -0
  103. package/dist/vue-ui-sparkgauge-CbuFESsM.js +178 -0
  104. package/dist/{vue-ui-sparkhistogram-qf87TXA-.js → vue-ui-sparkhistogram-B4-hrDHz.js} +79 -68
  105. package/dist/vue-ui-sparkhistogram-XtqX10_t.cjs +1 -0
  106. package/dist/vue-ui-sparkline-BZTEi9YC.cjs +1 -0
  107. package/dist/{vue-ui-sparkline-CZBgvY1A.js → vue-ui-sparkline-DlXNmG6M.js} +142 -123
  108. package/dist/vue-ui-sparkstackbar-CDmZeXnq.cjs +1 -0
  109. package/dist/{vue-ui-sparkstackbar-GtkDZDXZ.js → vue-ui-sparkstackbar-J1YowQmP.js} +120 -104
  110. package/dist/{vue-ui-stackbar-D_Ui7xec.js → vue-ui-stackbar-CKIDqkkY.js} +235 -222
  111. package/dist/vue-ui-stackbar-CXGWukoJ.cjs +6 -0
  112. package/dist/vue-ui-strip-plot-CvmoRcYN.cjs +1 -0
  113. package/dist/{vue-ui-strip-plot--VJ3f5UV.js → vue-ui-strip-plot-JVLwIy0j.js} +246 -232
  114. package/dist/{vue-ui-table-BCQ7voEV.js → vue-ui-table-BSi_cHh7.js} +1 -1
  115. package/dist/{vue-ui-table-B_6N0VOD.cjs → vue-ui-table-Dqi64VE7.cjs} +1 -1
  116. package/dist/vue-ui-table-heatmap-BwghEh5t.cjs +1 -0
  117. package/dist/{vue-ui-table-heatmap-UwpQQMHB.js → vue-ui-table-heatmap-CfvW3rcm.js} +106 -95
  118. package/dist/{vue-ui-table-sparkline-Bzqs2Hcp.js → vue-ui-table-sparkline-Y6Lrrzxy.js} +151 -138
  119. package/dist/vue-ui-table-sparkline-bIy3kkHB.cjs +1 -0
  120. package/dist/{vue-ui-thermometer-BQbYzsSV.js → vue-ui-thermometer-BPTs7Nxc.js} +116 -104
  121. package/dist/vue-ui-thermometer-DDtxYr7w.cjs +1 -0
  122. package/dist/{vue-ui-timer-KGEswANF.js → vue-ui-timer-CkB7eZaE.js} +191 -176
  123. package/dist/vue-ui-timer-DRSSYxOX.cjs +64 -0
  124. package/dist/{vue-ui-tiremarks-BSkMCIu1.js → vue-ui-tiremarks-BbOaoY8S.js} +115 -103
  125. package/dist/vue-ui-tiremarks-Bttwg3-p.cjs +1 -0
  126. package/dist/vue-ui-treemap-Chq0WQPe.cjs +1 -0
  127. package/dist/{vue-ui-treemap-DIWveOrq.js → vue-ui-treemap-CoaK3wBl.js} +251 -237
  128. package/dist/{vue-ui-vertical-bar-Dx6wReOw.js → vue-ui-vertical-bar-BA43_uHV.js} +374 -358
  129. package/dist/vue-ui-vertical-bar-BLIUt-HT.cjs +4 -0
  130. package/dist/{vue-ui-waffle-D3jMPOd3.js → vue-ui-waffle-BoEf8CcG.js} +285 -265
  131. package/dist/vue-ui-waffle-NBjY0mko.cjs +1 -0
  132. package/dist/vue-ui-wheel-Bgo2jpj0.js +255 -0
  133. package/dist/vue-ui-wheel-t5bI4a-P.cjs +1 -0
  134. package/dist/vue-ui-word-cloud-DPW_-Hzz.cjs +1 -0
  135. package/dist/vue-ui-word-cloud-Jd9_JUyi.js +512 -0
  136. package/dist/{vue-ui-xy-9_2IHEOX.js → vue-ui-xy-BMBYAC4z.js} +300 -274
  137. package/dist/vue-ui-xy-CBHEBcZK.cjs +3 -0
  138. package/dist/vue-ui-xy-canvas-D5FqRF4p.cjs +9 -0
  139. package/dist/{vue-ui-xy-canvas-DGuGy69l.js → vue-ui-xy-canvas-LOsQ_DM-.js} +345 -327
  140. package/package.json +1 -1
  141. package/dist/vue-ui-3d-bar-DhzN0gd4.cjs +0 -19
  142. package/dist/vue-ui-age-pyramid-CfUUEeKt.cjs +0 -1
  143. package/dist/vue-ui-candlestick-DJIJnnI_.cjs +0 -2
  144. package/dist/vue-ui-carousel-table-uYt1zVjx.cjs +0 -1
  145. package/dist/vue-ui-chestnut-CG5krVO-.cjs +0 -6
  146. package/dist/vue-ui-donut-D6SrEIEJ.cjs +0 -1
  147. package/dist/vue-ui-donut-evolution-Cb45erSA.cjs +0 -1
  148. package/dist/vue-ui-dumbbell-DVabaAYH.cjs +0 -9
  149. package/dist/vue-ui-flow-Bn1EP9Z1.cjs +0 -1
  150. package/dist/vue-ui-flow-Cz_xaLAs.js +0 -469
  151. package/dist/vue-ui-galaxy-Drnhlmmw.cjs +0 -1
  152. package/dist/vue-ui-gauge-CxIVYnG2.js +0 -488
  153. package/dist/vue-ui-gauge-D2reVZ-b.cjs +0 -1
  154. package/dist/vue-ui-gizmo-B6ZwXwFY.cjs +0 -1
  155. package/dist/vue-ui-heatmap-ClFm7qUu.cjs +0 -1
  156. package/dist/vue-ui-kpi-CdPFWSHA.cjs +0 -1
  157. package/dist/vue-ui-kpi-ClreiT4V.js +0 -84
  158. package/dist/vue-ui-molecule-JJQ3af-R.cjs +0 -1
  159. package/dist/vue-ui-mood-radar-DT4JU_6B.cjs +0 -1
  160. package/dist/vue-ui-nested-donuts-D6Dihmne.cjs +0 -17
  161. package/dist/vue-ui-onion-DoNDCpth.cjs +0 -5
  162. package/dist/vue-ui-parallel-coordinate-plot-CJMjEDXR.cjs +0 -8
  163. package/dist/vue-ui-quadrant-DWqmU3-5.cjs +0 -1
  164. package/dist/vue-ui-quick-chart-CB5VelG0.cjs +0 -15
  165. package/dist/vue-ui-radar-aTceo-HQ.cjs +0 -1
  166. package/dist/vue-ui-relation-circle-D1z8MBVH.js +0 -310
  167. package/dist/vue-ui-relation-circle-DWGtziD_.cjs +0 -1
  168. package/dist/vue-ui-rings-gp0sEMy6.cjs +0 -2
  169. package/dist/vue-ui-scatter-BKl2fUIR.cjs +0 -1
  170. package/dist/vue-ui-spark-trend-C3sBXu8D.js +0 -251
  171. package/dist/vue-ui-spark-trend-CXkkMK6N.cjs +0 -1
  172. package/dist/vue-ui-sparkbar-BkN5iTUq.cjs +0 -1
  173. package/dist/vue-ui-sparkgauge-D4EqU3x3.cjs +0 -1
  174. package/dist/vue-ui-sparkgauge-FKTXvE7e.js +0 -167
  175. package/dist/vue-ui-sparkhistogram-BkJz2dBD.cjs +0 -1
  176. package/dist/vue-ui-sparkline-TPkuvKtA.cjs +0 -1
  177. package/dist/vue-ui-sparkstackbar-CzzfnPDS.cjs +0 -1
  178. package/dist/vue-ui-stackbar-NHgsl2-Z.cjs +0 -6
  179. package/dist/vue-ui-strip-plot-CU6OtKt7.cjs +0 -1
  180. package/dist/vue-ui-table-heatmap-DFMF1RZ0.cjs +0 -1
  181. package/dist/vue-ui-table-sparkline-DWvOKdPb.cjs +0 -1
  182. package/dist/vue-ui-thermometer-BOuuVWuf.cjs +0 -1
  183. package/dist/vue-ui-timer-BCiMjXdm.cjs +0 -64
  184. package/dist/vue-ui-tiremarks-DuEz8cO5.cjs +0 -1
  185. package/dist/vue-ui-treemap-BO8gKQ4O.cjs +0 -1
  186. package/dist/vue-ui-vertical-bar-Dpzyha_P.cjs +0 -4
  187. package/dist/vue-ui-waffle-C0-IVDjk.cjs +0 -1
  188. package/dist/vue-ui-wheel-B10kCoLD.js +0 -242
  189. package/dist/vue-ui-wheel-mWdIHlXV.cjs +0 -1
  190. package/dist/vue-ui-word-cloud-CYtRxpdV.cjs +0 -1
  191. package/dist/vue-ui-word-cloud-rhrsHes4.js +0 -498
  192. package/dist/vue-ui-xy-CFqs5rtd.cjs +0 -3
  193. package/dist/vue-ui-xy-canvas-sLH0pM-i.cjs +0 -9
@@ -1,28 +1,28 @@
1
- import { computed as c, ref as v, onMounted as Me, onBeforeUnmount as De, openBlock as r, createElementBlock as i, normalizeClass as xe, normalizeStyle as W, createVNode as oe, createCommentVNode as p, createBlock as Q, unref as h, createSlots as Ee, withCtx as m, renderSlot as b, normalizeProps as q, guardReactiveProps as H, createElementVNode as w, Fragment as T, renderList as V, toDisplayString as S, createTextVNode as Ce, nextTick as Ge, pushScopeId as Re, popScopeId as Ue } from "vue";
2
- import { u as je, c as We, t as qe, a as He, p as B, o as Xe, e as ue, g as Ye, b as Je, d as Ke, i as M, f as x, X as Qe, v as Ze, w as et, E as tt, H as lt, x as at, y as ot, q as ut, r as st } from "./index-Dvs5Ra-u.js";
3
- import { t as rt, u as nt } from "./useResponsive-NZB-WLRF.js";
4
- import { _ as it } from "./Title-Ngy9HNqO.js";
5
- import { u as ct, U as vt } from "./usePrinter-B8-keRMa.js";
6
- import { _ as dt } from "./Tooltip-BCtg7xYX.js";
7
- import { D as ht } from "./DataTable-BOdJVZzF.js";
8
- import { L as yt } from "./Legend-CHd5QFPM.js";
9
- import ft from "./vue-ui-skeleton-CAvlIcgk.js";
10
- import pt from "./vue-ui-accordion-C-qAry7P.js";
11
- import { u as _e } from "./useNestedProp-UohhCyBz.js";
12
- import { _ as gt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
13
- const $e = (D) => (Re("data-v-876ae247"), D = D(), Ue(), D), mt = ["id"], bt = ["xmlns", "viewBox"], wt = ["id"], kt = ["stop-color"], xt = ["stop-color"], Ct = ["id"], _t = /* @__PURE__ */ $e(() => /* @__PURE__ */ w("feGaussianBlur", {
1
+ import { computed as d, ref as c, watch as Te, onMounted as je, onBeforeUnmount as We, openBlock as s, createElementBlock as i, normalizeClass as Se, normalizeStyle as q, createBlock as V, createCommentVNode as f, unref as h, createSlots as qe, withCtx as b, renderSlot as w, normalizeProps as H, guardReactiveProps as X, createElementVNode as k, Fragment as T, renderList as M, toDisplayString as S, createTextVNode as Le, createVNode as He, nextTick as Xe, pushScopeId as Ye, popScopeId as Je } from "vue";
2
+ import { u as Ke, c as Qe, t as Ze, a as et, p as B, o as tt, e as oe, g as lt, b as at, i as D, f as x, X as ot, v as ut, w as st, E as rt, H as nt, d as it, x as ct, y as vt, q as dt, r as ht } from "./index-Cm4Iry5c.js";
3
+ import { t as yt, u as pt } from "./useResponsive-NZB-WLRF.js";
4
+ import { _ as ft } from "./Title-C26I_HC3.js";
5
+ import { u as gt, U as mt } from "./usePrinter-B8RnF8_q.js";
6
+ import { _ as bt } from "./Tooltip-CH8GmDCG.js";
7
+ import { D as wt } from "./DataTable-CQANRZju.js";
8
+ import { L as kt } from "./Legend-DX1kv21U.js";
9
+ import xt from "./vue-ui-skeleton-C1oUnz7R.js";
10
+ import Ct from "./vue-ui-accordion-Cb6XBCbu.js";
11
+ import { u as Pe } from "./useNestedProp-CurQIHTa.js";
12
+ import { _ as _t } from "./_plugin-vue_export-helper-CHgC5LLL.js";
13
+ const ze = (E) => (Ye("data-v-eaa613a1"), E = E(), Je(), E), $t = ["id"], It = ["xmlns", "viewBox"], Tt = ["id"], St = ["stop-color"], Lt = ["stop-color"], Pt = ["id"], zt = /* @__PURE__ */ ze(() => /* @__PURE__ */ k("feGaussianBlur", {
14
14
  in: "SourceGraphic",
15
15
  stdDeviation: 2
16
- }, null, -1)), $t = /* @__PURE__ */ $e(() => /* @__PURE__ */ w("feColorMatrix", {
16
+ }, null, -1)), Ft = /* @__PURE__ */ ze(() => /* @__PURE__ */ k("feColorMatrix", {
17
17
  type: "saturate",
18
18
  values: "0"
19
- }, null, -1)), It = [
20
- _t,
21
- $t
22
- ], Tt = ["x", "y", "height", "width"], St = ["height", "width"], Lt = ["rx", "x", "y", "height", "width", "stroke", "stroke-width", "filter"], Pt = ["rx", "x", "y", "height", "width", "fill", "stroke", "stroke-width", "filter"], zt = ["x", "y", "height", "width", "filter"], Ft = { key: 0 }, Nt = { key: 1 }, Bt = { key: 2 }, Ot = { key: 3 }, At = ["onMouseover", "x", "y", "height", "width"], Vt = {
19
+ }, null, -1)), Nt = [
20
+ zt,
21
+ Ft
22
+ ], Bt = ["x", "y", "height", "width"], Ot = ["height", "width"], At = ["rx", "x", "y", "height", "width", "stroke", "stroke-width", "filter"], Vt = ["rx", "x", "y", "height", "width", "fill", "stroke", "stroke-width", "filter"], Mt = ["x", "y", "height", "width", "filter"], Dt = { key: 0 }, Et = { key: 1 }, Gt = { key: 2 }, Rt = { key: 3 }, Ut = ["onMouseover", "x", "y", "height", "width"], jt = {
23
23
  key: 3,
24
24
  class: "vue-data-ui-watermark"
25
- }, Mt = ["onClick"], Dt = { key: 0 }, Et = { key: 1 }, Gt = ["innerHTML"], Rt = {
25
+ }, Wt = ["onClick"], qt = { key: 0 }, Ht = { key: 1 }, Xt = ["innerHTML"], Yt = {
26
26
  __name: "vue-ui-waffle",
27
27
  props: {
28
28
  config: {
@@ -39,30 +39,38 @@ const $e = (D) => (Re("data-v-876ae247"), D = D(), Ue(), D), mt = ["id"], bt = [
39
39
  }
40
40
  },
41
41
  emits: ["selectLegend"],
42
- setup(D, { expose: Ie, emit: Te }) {
43
- const k = D, { vue_ui_waffle: Se } = je(), X = c(() => !!k.dataset && k.dataset.length), L = v(We()), Le = v(null), Z = v(!1), ee = v(""), O = v(null), se = v(0), E = v(null), re = v(null), ne = v(null), e = c(() => {
44
- const t = _e({
45
- userConfig: k.config,
46
- defaultConfig: Se
42
+ setup(E, { expose: Fe, emit: Ne }) {
43
+ const g = E, { vue_ui_waffle: Be } = Ke(), Y = d(() => !!g.dataset && g.dataset.length), L = c(Qe()), Oe = c(null), Z = c(!1), ee = c(""), O = c(null), ue = c(0), G = c(null), se = c(null), re = c(null), ne = c(0), ie = c(0), ce = c(0), e = d({
44
+ get: () => ve(),
45
+ set: (t) => t
46
+ });
47
+ function ve() {
48
+ const t = Pe({
49
+ userConfig: g.config,
50
+ defaultConfig: Be
47
51
  });
48
52
  return t.theme ? {
49
- ..._e({
50
- userConfig: qe.vue_ui_waffle[t.theme] || k.config,
53
+ ...Pe({
54
+ userConfig: Ze.vue_ui_waffle[t.theme] || g.config,
51
55
  defaultConfig: t
52
56
  }),
53
- customPalette: He[t.theme] || B
57
+ customPalette: et[t.theme] || B
54
58
  } : t;
55
- }), Y = v(null);
56
- Me(() => {
57
- if (Xe(k.dataset) ? ue({
59
+ }
60
+ Te(() => g.config, (t) => {
61
+ e.value = ve(), de(), ne.value += 1, ie.value += 1, ce.value += 1;
62
+ }, { deep: !0 });
63
+ const J = c(null);
64
+ function de() {
65
+ if (tt(g.dataset) ? oe({
58
66
  componentName: "VueUiWaffle",
59
67
  type: "dataset"
60
- }) : k.dataset.forEach((t, o) => {
61
- Ye({
68
+ }) : g.dataset.forEach((t, o) => {
69
+ lt({
62
70
  datasetObject: t,
63
71
  requiredAttributes: ["name", "values"]
64
72
  }).forEach((l) => {
65
- ue({
73
+ oe({
66
74
  componentName: "VueUiWaffle",
67
75
  type: "datasetSerieAttribute",
68
76
  property: l,
@@ -70,99 +78,109 @@ const $e = (D) => (Re("data-v-876ae247"), D = D(), Ue(), D), mt = ["id"], bt = [
70
78
  });
71
79
  });
72
80
  }), e.value.responsive) {
73
- const t = rt(() => {
74
- const { width: o, height: l } = nt({
75
- chart: E.value,
76
- title: e.value.style.chart.title.text ? re.value : null,
77
- legend: e.value.style.chart.legend.show ? ne.value : null
81
+ const t = yt(() => {
82
+ const { width: o, height: l } = pt({
83
+ chart: G.value,
84
+ title: e.value.style.chart.title.text ? se.value : null,
85
+ legend: e.value.style.chart.legend.show ? re.value : null
78
86
  });
79
87
  P.value.width = o, P.value.height = l, C.value.width = o, C.value.height = l;
80
88
  });
81
- Y.value = new ResizeObserver(t), Y.value.observe(E.value.parentNode);
89
+ J.value = new ResizeObserver(t), J.value.observe(G.value.parentNode);
82
90
  }
83
- }), De(() => {
84
- Y.value && Y.value.disconnect();
91
+ }
92
+ je(() => {
93
+ de();
94
+ }), We(() => {
95
+ J.value && J.value.disconnect();
85
96
  });
86
- const { isPrinting: ie, isImaging: ce, generatePdf: ve, generateImage: de } = ct({
97
+ const { isPrinting: he, isImaging: ye, generatePdf: pe, generateImage: fe } = gt({
87
98
  elementId: `vue-ui-waffle_${L.value}`,
88
99
  fileName: e.value.style.chart.title.text || "vue-ui-waffle"
89
- }), he = c(() => Je(e.value.customPalette)), I = v({
100
+ }), ge = d(() => at(e.value.customPalette)), I = c({
90
101
  showTable: e.value.table.show,
91
102
  showTooltip: e.value.style.chart.tooltip.show
92
- }), P = v({
103
+ }), P = c({
93
104
  height: 512,
94
105
  width: 512
95
- }), C = v({
106
+ }), C = c({
96
107
  top: 0,
97
108
  left: 0,
98
109
  height: 512,
99
110
  width: 512
100
- }), z = c(() => (C.value.width - e.value.style.chart.layout.grid.size * e.value.style.chart.layout.grid.spaceBetween) / e.value.style.chart.layout.grid.size), F = c(() => (C.value.height - e.value.style.chart.layout.grid.size * e.value.style.chart.layout.grid.spaceBetween) / e.value.style.chart.layout.grid.size), G = c(() => C.value.width / e.value.style.chart.layout.grid.size), J = c(() => C.value.height / e.value.style.chart.layout.grid.size);
101
- function ye(t) {
102
- const o = e.value.style.chart.layout.grid.size * e.value.style.chart.layout.grid.size, l = t.reduce((g, ae) => g + ae, 0), a = t.map((g) => g / l * o), u = a.map(Math.floor), n = a.map((g) => g % 1);
103
- let f = o - u.reduce((g, ae) => g + ae, 0);
104
- for (; f > 0; ) {
105
- let g = n.indexOf(Math.max(...n));
106
- u[g] += 1, n[g] = 0, f -= 1;
111
+ }), z = 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), F = 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), R = d(() => C.value.width / e.value.style.chart.layout.grid.size), K = d(() => C.value.height / e.value.style.chart.layout.grid.size);
112
+ function me(t) {
113
+ const o = e.value.style.chart.layout.grid.size * e.value.style.chart.layout.grid.size, l = t.reduce((m, ae) => m + ae, 0), a = t.map((m) => m / l * o), u = a.map(Math.floor), n = a.map((m) => m % 1);
114
+ let p = o - u.reduce((m, ae) => m + ae, 0);
115
+ for (; p > 0; ) {
116
+ let m = n.indexOf(Math.max(...n));
117
+ u[m] += 1, n[m] = 0, p -= 1;
107
118
  }
108
119
  return u;
109
120
  }
110
- const fe = c(() => k.dataset.map((t, o) => ({
111
- ...t,
112
- color: Ke(t.color) || he.value[o] || B[o] || B[o % B.length],
113
- uid: `serie_${o}`,
114
- absoluteIndex: o
115
- }))), d = v(fe.value), Pe = c(() => {
116
- const t = d.value.filter((o, l) => !y.value.includes(o.uid)).map((o, l) => (o.values || []).reduce((a, u) => a + u, 0));
117
- return ye(t);
118
- }), ze = c(() => {
119
- const t = d.value.map((o, l) => (o.values || []).reduce((a, u) => a + u));
120
- return ye(t);
121
- }), R = c(() => (k.dataset.forEach((t, o) => {
122
- [null, void 0].includes(t.values) && ue({
121
+ function be() {
122
+ return g.dataset.map((t, o) => ({
123
+ ...t,
124
+ color: it(t.color) || ge.value[o] || B[o] || B[o % B.length],
125
+ uid: `serie_${o}`,
126
+ absoluteIndex: o
127
+ }));
128
+ }
129
+ const we = d(() => be()), v = c(we.value);
130
+ Te(() => g.dataset, (t) => {
131
+ v.value = be();
132
+ }, { deep: !0 });
133
+ const Ae = d(() => {
134
+ const t = v.value.filter((o, l) => !y.value.includes(o.uid)).map((o, l) => (o.values || []).reduce((a, u) => a + u, 0));
135
+ return me(t);
136
+ }), Ve = d(() => {
137
+ const t = v.value.map((o, l) => (o.values || []).reduce((a, u) => a + u));
138
+ return me(t);
139
+ }), U = d(() => (g.dataset.forEach((t, o) => {
140
+ [null, void 0].includes(t.values) && oe({
123
141
  componentName: "VueUiWaffle",
124
142
  type: "datasetSerieAttribute",
125
143
  property: "values (number[])",
126
144
  index: o
127
145
  });
128
- }), d.value.filter((t, o) => !y.value.includes(t.uid)).map((t, o) => ({
146
+ }), v.value.filter((t, o) => !y.value.includes(t.uid)).map((t, o) => ({
129
147
  absoluteIndex: t.absoluteIndex,
130
148
  uid: t.uid,
131
149
  name: t.name,
132
150
  color: t.color,
133
151
  value: (t.values || []).reduce((l, a) => l + a, 0),
134
152
  absoluteValues: t.values || [],
135
- proportion: Pe.value[o]
136
- })))), Fe = c(() => d.value.map((t, o) => ({
153
+ proportion: Ae.value[o]
154
+ })))), Me = d(() => v.value.map((t, o) => ({
137
155
  absoluteIndex: t.absoluteIndex,
138
156
  uid: t.uid,
139
157
  name: t.name,
140
158
  color: t.color,
141
159
  value: (t.values || []).reduce((l, a) => l + a, 0),
142
160
  absoluteValues: t.values || [],
143
- proportion: ze.value[o]
161
+ proportion: Ve.value[o]
144
162
  })));
145
- function Ne() {
146
- return Fe.value.map((t) => ({
163
+ function De() {
164
+ return Me.value.map((t) => ({
147
165
  name: t.name,
148
166
  color: t.color,
149
167
  value: t.value,
150
168
  proportion: t.proportion
151
169
  }));
152
170
  }
153
- const Be = c(() => {
171
+ const Ee = d(() => {
154
172
  let t = 0;
155
- return R.value.map((o, l) => {
173
+ return U.value.map((o, l) => {
156
174
  const a = t, u = a + o.proportion, n = [];
157
- for (let f = Math.floor(a); f < Math.floor(u); f += 1)
158
- n.push(f);
175
+ for (let p = Math.floor(a); p < Math.floor(u); p += 1)
176
+ n.push(p);
159
177
  return t = u, {
160
178
  ...o,
161
179
  start: a,
162
180
  rects: n
163
181
  };
164
182
  });
165
- }), s = c(() => Be.value.flatMap((t, o) => t.rects.map((l, a) => ({
183
+ }), r = d(() => Ee.value.flatMap((t, o) => t.rects.map((l, a) => ({
166
184
  isFirst: a === 0,
167
185
  isLongEnough: l.length > 2,
168
186
  name: t.name,
@@ -175,7 +193,7 @@ const $e = (D) => (Re("data-v-876ae247"), D = D(), Ue(), D), mt = ["id"], bt = [
175
193
  }))).map((t, o) => ({
176
194
  ...t,
177
195
  isAbsoluteFirst: o % e.value.style.chart.layout.grid.size === 0
178
- }))), U = c(() => {
196
+ }))), j = d(() => {
179
197
  const t = [];
180
198
  for (let o = 0; o < e.value.style.chart.layout.grid.size; o += 1)
181
199
  for (let l = 0; l < e.value.style.chart.layout.grid.size; l += 1)
@@ -186,91 +204,91 @@ const $e = (D) => (Re("data-v-876ae247"), D = D(), Ue(), D), mt = ["id"], bt = [
186
204
  y: (e.value.style.chart.layout.grid.vertical ? l : o) * (F.value + e.value.style.chart.layout.grid.spaceBetween) + C.value.top
187
205
  });
188
206
  return t;
189
- }), y = v([]), N = v(!1), pe = v(null), ge = v(null);
190
- function me(t) {
207
+ }), y = c([]), N = c(!1), ke = c(null), xe = c(null);
208
+ function Ce(t) {
191
209
  if (!e.value.useAnimation) {
192
210
  y.value.includes(t) ? y.value = y.value.filter((u) => u !== t) : y.value.length < A.value.length - 1 && A.value.length > 1 && y.value.push(t);
193
211
  return;
194
212
  }
195
- const o = fe.value.find((u) => u.uid === t).values.reduce((u, n) => u + n, 0);
196
- let a = d.value.find((u) => u.uid === t).values.reduce((u, n) => u + n, 0);
213
+ const o = we.value.find((u) => u.uid === t).values.reduce((u, n) => u + n, 0);
214
+ let a = v.value.find((u) => u.uid === t).values.reduce((u, n) => u + n, 0);
197
215
  if (y.value.includes(t)) {
198
216
  let n = function() {
199
- a > u ? (cancelAnimationFrame(pe.value), d.value = d.value.map((f, g) => f.uid === t ? {
200
- ...f,
217
+ a > u ? (cancelAnimationFrame(ke.value), v.value = v.value.map((p, m) => p.uid === t ? {
218
+ ...p,
201
219
  values: [u]
202
- } : f), N.value = !1) : (N.value = !0, a += u * 0.025, d.value = d.value.map((f, g) => f.uid === t ? {
203
- ...f,
220
+ } : p), N.value = !1) : (N.value = !0, a += u * 0.025, v.value = v.value.map((p, m) => p.uid === t ? {
221
+ ...p,
204
222
  values: [a]
205
- } : f), pe.value = requestAnimationFrame(n));
223
+ } : p), ke.value = requestAnimationFrame(n));
206
224
  };
207
- y.value = y.value.filter((f) => f !== t);
225
+ y.value = y.value.filter((p) => p !== t);
208
226
  const u = o;
209
227
  n();
210
228
  } else if (y.value.length < A.value.length - 1 && A.value.length > 1) {
211
229
  let u = function() {
212
- a < 0.1 ? (cancelAnimationFrame(ge.value), y.value.push(t), d.value = d.value.map((n, f) => n.uid === t ? {
230
+ a < 0.1 ? (cancelAnimationFrame(xe.value), y.value.push(t), v.value = v.value.map((n, p) => n.uid === t ? {
213
231
  ...n,
214
232
  values: [0]
215
- } : n), N.value = !1) : (N.value = !0, a /= 1.5, d.value = d.value.map((n, f) => n.uid === t ? {
233
+ } : n), N.value = !1) : (N.value = !0, a /= 1.5, v.value = v.value.map((n, p) => n.uid === t ? {
216
234
  ...n,
217
235
  values: [a]
218
- } : n), ge.value = requestAnimationFrame(u));
236
+ } : n), xe.value = requestAnimationFrame(u));
219
237
  };
220
238
  u();
221
239
  }
222
- Te("selectLegend", R.value.map((u) => ({
240
+ Ne("selectLegend", U.value.map((u) => ({
223
241
  name: u.name,
224
242
  color: u.color,
225
243
  value: u.value,
226
244
  proportion: u.proportion / Math.pow(e.value.style.chart.layout.grid.size, 2)
227
245
  })));
228
246
  }
229
- const A = c(() => d.value.map((t, o) => ({
247
+ const A = d(() => v.value.map((t, o) => ({
230
248
  name: t.name,
231
- color: t.color || he[o] || B[o] || B[o % B.length],
249
+ color: t.color || ge[o] || B[o] || B[o % B.length],
232
250
  value: (t.values || []).reduce((l, a) => l + a, 0),
233
251
  uid: t.uid,
234
252
  shape: "square"
235
253
  })).map((t, o) => ({
236
254
  ...t,
237
- proportion: t.value / d.value.map((l) => (l.values || []).reduce((a, u) => a + u, 0)).reduce((l, a) => l + a, 0),
255
+ proportion: t.value / v.value.map((l) => (l.values || []).reduce((a, u) => a + u, 0)).reduce((l, a) => l + a, 0),
238
256
  opacity: y.value.includes(t.uid) ? 0.5 : 1,
239
- segregate: () => me(t.uid),
257
+ segregate: () => Ce(t.uid),
240
258
  isSegregated: y.value.includes(t.uid)
241
- }))), Oe = c(() => ({
259
+ }))), Ge = d(() => ({
242
260
  cy: "waffle-div-legend",
243
261
  backgroundColor: e.value.style.chart.legend.backgroundColor,
244
262
  color: e.value.style.chart.legend.color,
245
263
  fontSize: e.value.style.chart.legend.fontSize,
246
264
  paddingBottom: 12,
247
265
  fontWeight: e.value.style.chart.legend.bold ? "bold" : ""
248
- })), _ = c(() => R.value.map((t) => t.value).reduce((t, o) => t + o, 0)), te = v(null);
249
- function Ae(t) {
250
- if (y.value.length === k.dataset.length) return;
251
- const o = s.value[t];
266
+ })), _ = d(() => U.value.map((t) => t.value).reduce((t, o) => t + o, 0)), te = c(null);
267
+ function Re(t) {
268
+ if (y.value.length === g.dataset.length) return;
269
+ const o = r.value[t];
252
270
  te.value = {
253
271
  datapoint: o,
254
272
  seriesIndex: o.absoluteIndex,
255
- series: d.value,
273
+ series: v.value,
256
274
  config: e.value
257
- }, Z.value = !0, O.value = s.value[t].serieIndex;
275
+ }, Z.value = !0, O.value = r.value[t].serieIndex;
258
276
  const l = e.value.style.chart.tooltip.customFormat;
259
- if (at(l) && ot(() => l({
260
- seriesIndex: s.value[t].absoluteIndex,
277
+ if (ct(l) && vt(() => l({
278
+ seriesIndex: r.value[t].absoluteIndex,
261
279
  datapoint: o,
262
- series: d.value,
280
+ series: v.value,
263
281
  config: e.value
264
282
  })))
265
283
  ee.value = l({
266
- seriesIndex: s.value[t].absoluteIndex,
284
+ seriesIndex: r.value[t].absoluteIndex,
267
285
  datapoint: o,
268
- series: d.value,
286
+ series: v.value,
269
287
  config: e.value
270
288
  });
271
289
  else {
272
290
  let a = "";
273
- if (a += `<div style="width:100%;text-align:center;border-bottom:1px solid ${e.value.style.chart.tooltip.borderColor};padding-bottom:6px;margin-bottom:3px;">${o.name}</div>`, a += `<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="${o.color}" /></svg>`, e.value.style.chart.tooltip.showValue && (a += `<b>${M(
291
+ if (a += `<div style="width:100%;text-align:center;border-bottom:1px solid ${e.value.style.chart.tooltip.borderColor};padding-bottom:6px;margin-bottom:3px;">${o.name}</div>`, a += `<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="${o.color}" /></svg>`, e.value.style.chart.tooltip.showValue && (a += `<b>${D(
274
292
  e.value.style.chart.layout.labels.dataLabels.formatter,
275
293
  o.value,
276
294
  x({
@@ -281,8 +299,8 @@ const $e = (D) => (Re("data-v-876ae247"), D = D(), Ue(), D), mt = ["id"], bt = [
281
299
  }),
282
300
  {
283
301
  datapoint: o,
284
- seriesIndex: s.value[t].absoluteIndex,
285
- series: d.value
302
+ seriesIndex: r.value[t].absoluteIndex,
303
+ series: v.value
286
304
  }
287
305
  )}</b>`), e.value.style.chart.tooltip.showPercentage) {
288
306
  const u = x({
@@ -295,28 +313,28 @@ const $e = (D) => (Re("data-v-876ae247"), D = D(), Ue(), D), mt = ["id"], bt = [
295
313
  ee.value = a;
296
314
  }
297
315
  }
298
- const $ = c(() => {
299
- const t = R.value.map((l) => ({
316
+ const $ = d(() => {
317
+ const t = U.value.map((l) => ({
300
318
  name: l.name,
301
319
  color: l.color
302
- })), o = R.value.map((l) => l.value);
320
+ })), o = U.value.map((l) => l.value);
303
321
  return { head: t, body: o };
304
322
  });
305
323
  function le(t) {
306
324
  return e.value.useBlurOnHover && ![null, void 0].includes(O.value) && O.value !== t ? `url(#blur_${L.value})` : "";
307
325
  }
308
- function be() {
309
- Ge(() => {
326
+ function _e() {
327
+ Xe(() => {
310
328
  const t = $.value.head.map((a, u) => [[
311
329
  a.name
312
- ], [$.value.body[u]], [isNaN($.value.body[u] / _.value) ? "-" : $.value.body[u] / _.value * 100]]), o = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [[""], ["val"], ["%"]]].concat(t), l = ut(o);
313
- st({ csvContent: l, title: e.value.style.chart.title.text || "vue-ui-waffle" });
330
+ ], [$.value.body[u]], [isNaN($.value.body[u] / _.value) ? "-" : $.value.body[u] / _.value * 100]]), o = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [[""], ["val"], ["%"]]].concat(t), l = dt(o);
331
+ ht({ csvContent: l, title: e.value.style.chart.title.text || "vue-ui-waffle" });
314
332
  });
315
333
  }
316
- const K = c(() => {
334
+ const Q = d(() => {
317
335
  const t = [
318
336
  ' <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>',
319
- M(
337
+ D(
320
338
  e.value.style.chart.layout.labels.dataLabels.formatter,
321
339
  _.value,
322
340
  x({
@@ -332,7 +350,7 @@ const $e = (D) => (Re("data-v-876ae247"), D = D(), Ue(), D), mt = ["id"], bt = [
332
350
  color: u.color,
333
351
  name: u.name
334
352
  },
335
- M(
353
+ D(
336
354
  e.value.style.chart.layout.labels.dataLabels.formatter,
337
355
  $.value.body[n],
338
356
  x({
@@ -371,37 +389,38 @@ const $e = (D) => (Re("data-v-876ae247"), D = D(), Ue(), D), mt = ["id"], bt = [
371
389
  config: l,
372
390
  colNames: a
373
391
  };
374
- }), j = v(!1);
375
- function Ve(t) {
376
- j.value = t, se.value += 1;
392
+ }), W = c(!1);
393
+ function Ue(t) {
394
+ W.value = t, ue.value += 1;
377
395
  }
378
- function we() {
396
+ function $e() {
379
397
  I.value.showTable = !I.value.showTable;
380
398
  }
381
- function ke() {
399
+ function Ie() {
382
400
  I.value.showTooltip = !I.value.showTooltip;
383
401
  }
384
- return Ie({
385
- getData: Ne,
386
- generatePdf: ve,
387
- generateCsv: be,
388
- generateImage: de,
389
- toggleTable: we,
390
- toggleTooltip: ke
391
- }), (t, o) => (r(), i("div", {
392
- class: xe(`vue-ui-waffle ${j.value ? "vue-data-ui-wrapper-fullscreen" : ""}`),
402
+ return Fe({
403
+ getData: De,
404
+ generatePdf: pe,
405
+ generateCsv: _e,
406
+ generateImage: fe,
407
+ toggleTable: $e,
408
+ toggleTooltip: Ie
409
+ }), (t, o) => (s(), i("div", {
410
+ class: Se(`vue-ui-waffle ${W.value ? "vue-data-ui-wrapper-fullscreen" : ""}`),
393
411
  ref_key: "waffleChart",
394
- ref: E,
412
+ ref: G,
395
413
  id: `vue-ui-waffle_${L.value}`,
396
- style: W(`font-family:${e.value.style.fontFamily};width:100%; text-align:center;${e.value.style.chart.title.text ? "" : "padding-top:36px"};background:${e.value.style.chart.backgroundColor};${e.value.responsive ? "height: 100%" : ""}`)
414
+ style: q(`font-family:${e.value.style.fontFamily};width:100%; text-align:center;${e.value.style.chart.title.text ? "" : "padding-top:36px"};background:${e.value.style.chart.backgroundColor};${e.value.responsive ? "height: 100%" : ""}`)
397
415
  }, [
398
- e.value.style.chart.title.text ? (r(), i("div", {
416
+ e.value.style.chart.title.text ? (s(), i("div", {
399
417
  key: 0,
400
418
  ref_key: "chartTitle",
401
- ref: re,
402
- style: W(`width:100%;background:${e.value.style.chart.backgroundColor};padding-bottom:12px`)
419
+ ref: se,
420
+ style: q(`width:100%;background:${e.value.style.chart.backgroundColor};padding-bottom:12px`)
403
421
  }, [
404
- oe(it, {
422
+ (s(), V(ft, {
423
+ key: `title_${ne.value}`,
405
424
  config: {
406
425
  title: {
407
426
  cy: "waffle-title",
@@ -412,16 +431,16 @@ const $e = (D) => (Re("data-v-876ae247"), D = D(), Ue(), D), mt = ["id"], bt = [
412
431
  ...e.value.style.chart.title.subtitle
413
432
  }
414
433
  }
415
- }, null, 8, ["config"])
416
- ], 4)) : p("", !0),
417
- e.value.userOptions.show && X.value ? (r(), Q(vt, {
434
+ }, null, 8, ["config"]))
435
+ ], 4)) : f("", !0),
436
+ e.value.userOptions.show && Y.value ? (s(), V(mt, {
418
437
  ref_key: "details",
419
- ref: Le,
420
- key: `user_options_${se.value}`,
438
+ ref: Oe,
439
+ key: `user_options_${ue.value}`,
421
440
  backgroundColor: e.value.style.chart.backgroundColor,
422
441
  color: e.value.style.chart.color,
423
- isPrinting: h(ie),
424
- isImaging: h(ce),
442
+ isPrinting: h(he),
443
+ isImaging: h(ye),
425
444
  uid: L.value,
426
445
  hasTooltip: e.value.userOptions.buttons.tooltip && e.value.style.chart.tooltip.show,
427
446
  hasPdf: e.value.userOptions.buttons.pdf,
@@ -429,69 +448,69 @@ const $e = (D) => (Re("data-v-876ae247"), D = D(), Ue(), D), mt = ["id"], bt = [
429
448
  hasXls: e.value.userOptions.buttons.csv,
430
449
  hasTable: e.value.userOptions.buttons.table,
431
450
  hasFullscreen: e.value.userOptions.buttons.fullscreen,
432
- isFullscreen: j.value,
451
+ isFullscreen: W.value,
433
452
  isTooltip: I.value.showTooltip,
434
453
  titles: { ...e.value.userOptions.buttonTitles },
435
- chartElement: E.value,
436
- onToggleFullscreen: Ve,
437
- onGeneratePdf: h(ve),
438
- onGenerateCsv: be,
439
- onGenerateImage: h(de),
440
- onToggleTable: we,
441
- onToggleTooltip: ke
442
- }, Ee({ _: 2 }, [
454
+ chartElement: G.value,
455
+ onToggleFullscreen: Ue,
456
+ onGeneratePdf: h(pe),
457
+ onGenerateCsv: _e,
458
+ onGenerateImage: h(fe),
459
+ onToggleTable: $e,
460
+ onToggleTooltip: Ie
461
+ }, qe({ _: 2 }, [
443
462
  t.$slots.optionTooltip ? {
444
463
  name: "optionTooltip",
445
- fn: m(() => [
446
- b(t.$slots, "optionTooltip", {}, void 0, !0)
464
+ fn: b(() => [
465
+ w(t.$slots, "optionTooltip", {}, void 0, !0)
447
466
  ]),
448
467
  key: "0"
449
468
  } : void 0,
450
469
  t.$slots.optionPdf ? {
451
470
  name: "optionPdf",
452
- fn: m(() => [
453
- b(t.$slots, "optionPdf", {}, void 0, !0)
471
+ fn: b(() => [
472
+ w(t.$slots, "optionPdf", {}, void 0, !0)
454
473
  ]),
455
474
  key: "1"
456
475
  } : void 0,
457
476
  t.$slots.optionCsv ? {
458
477
  name: "optionCsv",
459
- fn: m(() => [
460
- b(t.$slots, "optionCsv", {}, void 0, !0)
478
+ fn: b(() => [
479
+ w(t.$slots, "optionCsv", {}, void 0, !0)
461
480
  ]),
462
481
  key: "2"
463
482
  } : void 0,
464
483
  t.$slots.optionImg ? {
465
484
  name: "optionImg",
466
- fn: m(() => [
467
- b(t.$slots, "optionImg", {}, void 0, !0)
485
+ fn: b(() => [
486
+ w(t.$slots, "optionImg", {}, void 0, !0)
468
487
  ]),
469
488
  key: "3"
470
489
  } : void 0,
471
490
  t.$slots.optionTable ? {
472
491
  name: "optionTable",
473
- fn: m(() => [
474
- b(t.$slots, "optionTable", {}, void 0, !0)
492
+ fn: b(() => [
493
+ w(t.$slots, "optionTable", {}, void 0, !0)
475
494
  ]),
476
495
  key: "4"
477
496
  } : void 0,
478
497
  t.$slots.optionFullscreen ? {
479
498
  name: "optionFullscreen",
480
- fn: m(({ toggleFullscreen: l, isFullscreen: a }) => [
481
- b(t.$slots, "optionFullscreen", q(H({ toggleFullscreen: l, isFullscreen: a })), void 0, !0)
499
+ fn: b(({ toggleFullscreen: l, isFullscreen: a }) => [
500
+ w(t.$slots, "optionFullscreen", H(X({ toggleFullscreen: l, isFullscreen: a })), void 0, !0)
482
501
  ]),
483
502
  key: "5"
484
503
  } : void 0
485
- ]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasTooltip", "hasPdf", "hasImg", "hasXls", "hasTable", "hasFullscreen", "isFullscreen", "isTooltip", "titles", "chartElement", "onGeneratePdf", "onGenerateImage"])) : p("", !0),
486
- X.value ? (r(), i("svg", {
504
+ ]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasTooltip", "hasPdf", "hasImg", "hasXls", "hasTable", "hasFullscreen", "isFullscreen", "isTooltip", "titles", "chartElement", "onGeneratePdf", "onGenerateImage"])) : f("", !0),
505
+ Y.value ? (s(), i("svg", {
487
506
  key: 2,
488
- xmlns: h(Qe),
489
- class: xe({ "vue-data-ui-fullscreen--on": j.value, "vue-data-ui-fulscreen--off": !j.value }),
507
+ xmlns: h(ot),
508
+ class: Se({ "vue-data-ui-fullscreen--on": W.value, "vue-data-ui-fulscreen--off": !W.value }),
490
509
  viewBox: `0 0 ${P.value.width <= 0 ? 10 : P.value.width} ${P.value.height <= 0 ? 10 : P.value.height}`,
491
- style: W(`max-width:100%;overflow:visible;background:${e.value.style.chart.backgroundColor};color:${e.value.style.chart.color}`)
510
+ style: q(`max-width:100%;overflow:visible;background:${e.value.style.chart.backgroundColor};color:${e.value.style.chart.color}`)
492
511
  }, [
493
- w("defs", null, [
494
- (r(!0), i(T, null, V(s.value, (l, a) => (r(), i("radialGradient", {
512
+ k("defs", null, [
513
+ (s(!0), i(T, null, M(r.value, (l, a) => (s(), i("radialGradient", {
495
514
  cx: "50%",
496
515
  cy: "50%",
497
516
  r: "50%",
@@ -499,35 +518,35 @@ const $e = (D) => (Re("data-v-876ae247"), D = D(), Ue(), D), mt = ["id"], bt = [
499
518
  fy: "50%",
500
519
  id: `gradient_${L.value}_${a}`
501
520
  }, [
502
- w("stop", {
521
+ k("stop", {
503
522
  offset: "0%",
504
- "stop-color": `${h(Ze)(l.color, 0.05)}${h(et)[100 - e.value.style.chart.layout.rect.gradientIntensity]}`
505
- }, null, 8, kt),
506
- w("stop", {
523
+ "stop-color": `${h(ut)(l.color, 0.05)}${h(st)[100 - e.value.style.chart.layout.rect.gradientIntensity]}`
524
+ }, null, 8, St),
525
+ k("stop", {
507
526
  offset: "100%",
508
527
  "stop-color": l.color
509
- }, null, 8, xt)
510
- ], 8, wt))), 256))
528
+ }, null, 8, Lt)
529
+ ], 8, Tt))), 256))
511
530
  ]),
512
- w("defs", null, [
513
- w("filter", {
531
+ k("defs", null, [
532
+ k("filter", {
514
533
  id: `blur_${L.value}`,
515
534
  x: "-50%",
516
535
  y: "-50%",
517
536
  width: "200%",
518
537
  height: "200%"
519
- }, It, 8, Ct)
538
+ }, Nt, 8, Pt)
520
539
  ]),
521
- e.value.useCustomCells && s.value.length ? (r(!0), i(T, { key: 0 }, V(U.value, (l, a) => (r(), i("foreignObject", {
540
+ e.value.useCustomCells && r.value.length ? (s(!0), i(T, { key: 0 }, M(j.value, (l, a) => (s(), i("foreignObject", {
522
541
  x: l.x,
523
542
  y: l.y,
524
543
  height: F.value <= 0 ? 1e-4 : F.value,
525
544
  width: z.value <= 0 ? 1e-4 : z.value,
526
545
  class: "vue-ui-waffle-custom-cell-foreignObject"
527
546
  }, [
528
- b(t.$slots, "cell", q(H({ cell: { ...l, color: s.value[a].color, ...s.value[a] }, isSelected: [null, void 0].includes(O.value) ? !0 : s.value[a].serieIndex === O.value })), void 0, !0)
529
- ], 8, Tt))), 256)) : p("", !0),
530
- !s.value.length && !e.value.useCustomCells ? (r(), i("rect", {
547
+ w(t.$slots, "cell", H(X({ cell: { ...l, color: r.value[a].color, ...r.value[a] }, isSelected: [null, void 0].includes(O.value) ? !0 : r.value[a].serieIndex === O.value })), void 0, !0)
548
+ ], 8, Bt))), 256)) : f("", !0),
549
+ !r.value.length && !e.value.useCustomCells ? (s(), i("rect", {
531
550
  key: 1,
532
551
  x: 12,
533
552
  y: 12,
@@ -536,8 +555,8 @@ const $e = (D) => (Re("data-v-876ae247"), D = D(), Ue(), D), mt = ["id"], bt = [
536
555
  rx: 3,
537
556
  fill: "none",
538
557
  stroke: "black"
539
- }, null, 8, St)) : s.value.length && !e.value.useCustomCells ? (r(), i(T, { key: 2 }, [
540
- (r(!0), i(T, null, V(U.value, (l, a) => (r(), i("rect", {
558
+ }, null, 8, Ot)) : r.value.length && !e.value.useCustomCells ? (s(), i(T, { key: 2 }, [
559
+ (s(!0), i(T, null, M(j.value, (l, a) => (s(), i("rect", {
541
560
  rx: e.value.style.chart.layout.rect.rounded ? e.value.style.chart.layout.rect.rounding : 0,
542
561
  x: l.x + e.value.style.chart.layout.grid.spaceBetween / 2,
543
562
  y: l.y + e.value.style.chart.layout.grid.spaceBetween / 2,
@@ -546,78 +565,78 @@ const $e = (D) => (Re("data-v-876ae247"), D = D(), Ue(), D), mt = ["id"], bt = [
546
565
  fill: "white",
547
566
  stroke: e.value.style.chart.layout.rect.stroke,
548
567
  "stroke-width": e.value.style.chart.layout.rect.strokeWidth,
549
- filter: le(s.value[a].serieIndex)
550
- }, null, 8, Lt))), 256)),
551
- (r(!0), i(T, null, V(U.value, (l, a) => (r(), i("rect", {
568
+ filter: le(r.value[a].serieIndex)
569
+ }, null, 8, At))), 256)),
570
+ (s(!0), i(T, null, M(j.value, (l, a) => (s(), i("rect", {
552
571
  rx: e.value.style.chart.layout.rect.rounded ? e.value.style.chart.layout.rect.rounding : 0,
553
572
  x: l.x + e.value.style.chart.layout.grid.spaceBetween / 2,
554
573
  y: l.y + e.value.style.chart.layout.grid.spaceBetween / 2,
555
574
  height: F.value <= 0 ? 1e-4 : F.value,
556
575
  width: z.value <= 0 ? 1e-4 : z.value,
557
- fill: e.value.style.chart.layout.rect.useGradient && e.value.style.chart.layout.rect.gradientIntensity > 0 ? `url(#gradient_${L.value}_${a})` : s.value[a].color,
576
+ fill: e.value.style.chart.layout.rect.useGradient && e.value.style.chart.layout.rect.gradientIntensity > 0 ? `url(#gradient_${L.value}_${a})` : r.value[a].color,
558
577
  stroke: e.value.style.chart.layout.rect.stroke,
559
578
  "stroke-width": e.value.style.chart.layout.rect.strokeWidth,
560
- filter: le(s.value[a].serieIndex)
561
- }, null, 8, Pt))), 256))
562
- ], 64)) : p("", !0),
563
- (r(!0), i(T, null, V(U.value, (l, a) => (r(), i(T, null, [
564
- s.value.length && !N.value && !e.value.style.chart.layout.grid.vertical && e.value.style.chart.layout.labels.captions.show && (s.value[a].isFirst && l.position < e.value.style.chart.layout.grid.size - 2 || s.value[a].isAbsoluteFirst && a % e.value.style.chart.layout.grid.size === 0 && s.value[a].absoluteStartIndex) ? (r(), i("foreignObject", {
579
+ filter: le(r.value[a].serieIndex)
580
+ }, null, 8, Vt))), 256))
581
+ ], 64)) : f("", !0),
582
+ (s(!0), i(T, null, M(j.value, (l, a) => (s(), i(T, null, [
583
+ r.value.length && !N.value && !e.value.style.chart.layout.grid.vertical && e.value.style.chart.layout.labels.captions.show && (r.value[a].isFirst && l.position < e.value.style.chart.layout.grid.size - 2 || r.value[a].isAbsoluteFirst && a % e.value.style.chart.layout.grid.size === 0 && r.value[a].absoluteStartIndex) ? (s(), i("foreignObject", {
565
584
  key: 0,
566
585
  x: l.x + e.value.style.chart.layout.labels.captions.offsetX + e.value.style.chart.layout.grid.spaceBetween / 2,
567
586
  y: l.y + e.value.style.chart.layout.labels.captions.offsetY + e.value.style.chart.layout.grid.spaceBetween / 2,
568
- height: J.value <= 0 ? 1e-4 : J.value,
569
- width: G.value * e.value.style.chart.layout.grid.size <= 0 ? 1e-4 : G.value * e.value.style.chart.layout.grid.size,
570
- filter: le(s.value[a].serieIndex)
587
+ height: K.value <= 0 ? 1e-4 : K.value,
588
+ width: R.value * e.value.style.chart.layout.grid.size <= 0 ? 1e-4 : R.value * e.value.style.chart.layout.grid.size,
589
+ filter: le(r.value[a].serieIndex)
571
590
  }, [
572
- w("div", {
591
+ k("div", {
573
592
  class: "vue-ui-waffle-caption",
574
- style: W(`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 ${G.value / 12}px;color:${h(tt)(s.value[a].color)};gap:2px`)
593
+ style: q(`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 ${R.value / 12}px;color:${h(rt)(r.value[a].color)};gap:2px`)
575
594
  }, [
576
- e.value.style.chart.layout.labels.captions.showSerieName ? (r(), i("span", Ft, S(e.value.style.chart.layout.labels.captions.serieNameAbbreviation ? h(lt)({ source: s.value[a].name, length: e.value.style.chart.layout.labels.captions.serieNameMaxAbbreviationSize }) : s.value[a].name) + ": ", 1)) : p("", !0),
577
- e.value.style.chart.layout.labels.captions.showPercentage ? (r(), i("span", Nt, S(h(x)({ v: s.value[a].proportion, s: "%", r: e.value.style.chart.layout.labels.captions.roundingPercentage })), 1)) : p("", !0),
578
- e.value.style.chart.layout.labels.captions.showPercentage && e.value.style.chart.layout.labels.captions.showValue ? (r(), i("span", Bt, " (" + S(h(M)(
595
+ e.value.style.chart.layout.labels.captions.showSerieName ? (s(), i("span", Dt, S(e.value.style.chart.layout.labels.captions.serieNameAbbreviation ? h(nt)({ source: r.value[a].name, length: e.value.style.chart.layout.labels.captions.serieNameMaxAbbreviationSize }) : r.value[a].name) + ": ", 1)) : f("", !0),
596
+ e.value.style.chart.layout.labels.captions.showPercentage ? (s(), i("span", Et, S(h(x)({ v: r.value[a].proportion, s: "%", r: e.value.style.chart.layout.labels.captions.roundingPercentage })), 1)) : f("", !0),
597
+ e.value.style.chart.layout.labels.captions.showPercentage && e.value.style.chart.layout.labels.captions.showValue ? (s(), i("span", Gt, " (" + S(h(D)(
579
598
  e.value.style.chart.layout.labels.dataLabels.formatter,
580
- s.value[a].value,
599
+ r.value[a].value,
581
600
  h(x)({
582
601
  p: e.value.style.chart.layout.labels.dataLabels.prefix,
583
- v: s.value[a].value,
602
+ v: r.value[a].value,
584
603
  s: e.value.style.chart.layout.labels.dataLabels.suffix,
585
604
  r: e.value.style.chart.layout.labels.captions.roundingValue
586
605
  }),
587
- { datapoint: s.value[a], position: l }
588
- )) + ") ", 1)) : p("", !0),
589
- !e.value.style.chart.layout.labels.captions.showPercentage && e.value.style.chart.layout.labels.captions.showValue ? (r(), i("span", Ot, S(h(M)(
606
+ { datapoint: r.value[a], position: l }
607
+ )) + ") ", 1)) : f("", !0),
608
+ !e.value.style.chart.layout.labels.captions.showPercentage && e.value.style.chart.layout.labels.captions.showValue ? (s(), i("span", Rt, S(h(D)(
590
609
  e.value.style.chart.layout.labels.dataLabels.formatter,
591
- s.value[a].value,
610
+ r.value[a].value,
592
611
  h(x)({
593
612
  p: e.value.style.chart.layout.labels.dataLabels.prefix,
594
- v: s.value[a].value,
613
+ v: r.value[a].value,
595
614
  s: e.value.style.chart.layout.labels.dataLabels.suffix,
596
615
  r: e.value.style.chart.layout.labels.captions.roundingValue
597
616
  }),
598
- { datapoint: s.value[a], position: l }
599
- )), 1)) : p("", !0)
617
+ { datapoint: r.value[a], position: l }
618
+ )), 1)) : f("", !0)
600
619
  ], 4)
601
- ], 8, zt)) : p("", !0)
620
+ ], 8, Mt)) : f("", !0)
602
621
  ], 64))), 256)),
603
- (r(!0), i(T, null, V(U.value, (l, a) => (r(), i("rect", {
604
- onMouseover: (u) => Ae(a),
622
+ (s(!0), i(T, null, M(j.value, (l, a) => (s(), i("rect", {
623
+ onMouseover: (u) => Re(a),
605
624
  onMouseleave: o[0] || (o[0] = (u) => {
606
625
  Z.value = !1, O.value = null;
607
626
  }),
608
627
  x: l.x + e.value.style.chart.layout.grid.spaceBetween / 2,
609
628
  y: l.y + e.value.style.chart.layout.grid.spaceBetween / 2,
610
- height: J.value <= 0 ? 1e-4 : J.value,
611
- width: G.value <= 0 ? 1e-4 : G.value,
629
+ height: K.value <= 0 ? 1e-4 : K.value,
630
+ width: R.value <= 0 ? 1e-4 : R.value,
612
631
  fill: "transparent",
613
632
  stroke: "none"
614
- }, null, 40, At))), 256)),
615
- b(t.$slots, "svg", { svg: P.value }, void 0, !0)
616
- ], 14, bt)) : p("", !0),
617
- t.$slots.watermark ? (r(), i("div", Vt, [
618
- b(t.$slots, "watermark", q(H({ isPrinting: h(ie) || h(ce) })), void 0, !0)
619
- ])) : p("", !0),
620
- X.value ? p("", !0) : (r(), Q(ft, {
633
+ }, null, 40, Ut))), 256)),
634
+ w(t.$slots, "svg", { svg: P.value }, void 0, !0)
635
+ ], 14, It)) : f("", !0),
636
+ t.$slots.watermark ? (s(), i("div", jt, [
637
+ w(t.$slots, "watermark", H(X({ isPrinting: h(he) || h(ye) })), void 0, !0)
638
+ ])) : f("", !0),
639
+ Y.value ? f("", !0) : (s(), V(xt, {
621
640
  key: 4,
622
641
  config: {
623
642
  type: "waffle",
@@ -629,22 +648,22 @@ const $e = (D) => (Re("data-v-876ae247"), D = D(), Ue(), D), mt = ["id"], bt = [
629
648
  }
630
649
  }
631
650
  }, null, 8, ["config"])),
632
- w("div", {
651
+ k("div", {
633
652
  ref_key: "chartLegend",
634
- ref: ne
653
+ ref: re
635
654
  }, [
636
- e.value.style.chart.legend.show ? (r(), Q(yt, {
637
- key: 0,
655
+ e.value.style.chart.legend.show ? (s(), V(kt, {
656
+ key: `legend_${ce.value}`,
638
657
  legendSet: A.value,
639
- config: Oe.value,
640
- onClickMarker: o[1] || (o[1] = ({ legend: l }) => me(l.uid))
658
+ config: Ge.value,
659
+ onClickMarker: o[1] || (o[1] = ({ legend: l }) => Ce(l.uid))
641
660
  }, {
642
- item: m(({ legend: l }) => [
643
- w("div", {
661
+ item: b(({ legend: l }) => [
662
+ k("div", {
644
663
  onClick: (a) => l.segregate(),
645
- style: W(`opacity:${y.value.includes(l.uid) ? 0.5 : 1}`)
664
+ style: q(`opacity:${y.value.includes(l.uid) ? 0.5 : 1}`)
646
665
  }, [
647
- Ce(S(l.name) + ": " + S(h(M)(
666
+ Le(S(l.name) + ": " + S(h(D)(
648
667
  e.value.style.chart.layout.labels.dataLabels.formatter,
649
668
  l.value,
650
669
  h(x)({
@@ -656,17 +675,17 @@ const $e = (D) => (Re("data-v-876ae247"), D = D(), Ue(), D), mt = ["id"], bt = [
656
675
  }),
657
676
  { datapoint: l }
658
677
  )) + " ", 1),
659
- y.value.includes(l.uid) ? (r(), i("span", Et, " ( - % ) ")) : (r(), i("span", Dt, " (" + S(isNaN(l.value / _.value) ? "-" : h(x)({ v: l.value / _.value * 100, s: "%", r: e.value.style.chart.legend.roundingPercentage, isAnimating: N.value })) + ") ", 1))
660
- ], 12, Mt)
678
+ y.value.includes(l.uid) ? (s(), i("span", Ht, " ( - % ) ")) : (s(), i("span", qt, " (" + S(isNaN(l.value / _.value) ? "-" : h(x)({ v: l.value / _.value * 100, s: "%", r: e.value.style.chart.legend.roundingPercentage, isAnimating: N.value })) + ") ", 1))
679
+ ], 12, Wt)
661
680
  ]),
662
681
  _: 1
663
- }, 8, ["legendSet", "config"])) : b(t.$slots, "legend", {
682
+ }, 8, ["legendSet", "config"])) : w(t.$slots, "legend", {
664
683
  key: 1,
665
684
  legend: A.value
666
685
  }, void 0, !0)
667
686
  ], 512),
668
- oe(dt, {
669
- show: I.value.showTooltip && Z.value && y.value.length < k.dataset.length,
687
+ He(bt, {
688
+ show: I.value.showTooltip && Z.value && y.value.length < g.dataset.length,
670
689
  backgroundColor: e.value.style.chart.tooltip.backgroundColor,
671
690
  color: e.value.style.chart.tooltip.color,
672
691
  borderRadius: e.value.style.chart.tooltip.borderRadius,
@@ -675,20 +694,20 @@ const $e = (D) => (Re("data-v-876ae247"), D = D(), Ue(), D), mt = ["id"], bt = [
675
694
  backgroundOpacity: e.value.style.chart.tooltip.backgroundOpacity,
676
695
  position: e.value.style.chart.tooltip.position,
677
696
  offsetY: e.value.style.chart.tooltip.offsetY,
678
- parent: E.value,
697
+ parent: G.value,
679
698
  content: ee.value,
680
699
  isCustom: e.value.style.chart.tooltip.customFormat && typeof e.value.style.chart.tooltip.customFormat == "function",
681
700
  fontSize: e.value.style.chart.tooltip.fontSize
682
701
  }, {
683
- "tooltip-before": m(() => [
684
- b(t.$slots, "tooltip-before", q(H({ ...te.value })), void 0, !0)
702
+ "tooltip-before": b(() => [
703
+ w(t.$slots, "tooltip-before", H(X({ ...te.value })), void 0, !0)
685
704
  ]),
686
- "tooltip-after": m(() => [
687
- b(t.$slots, "tooltip-after", q(H({ ...te.value })), void 0, !0)
705
+ "tooltip-after": b(() => [
706
+ w(t.$slots, "tooltip-after", H(X({ ...te.value })), void 0, !0)
688
707
  ]),
689
708
  _: 3
690
709
  }, 8, ["show", "backgroundColor", "color", "borderRadius", "borderColor", "borderWidth", "backgroundOpacity", "position", "offsetY", "parent", "content", "isCustom", "fontSize"]),
691
- X.value ? (r(), Q(pt, {
710
+ Y.value ? (s(), V(Ct, {
692
711
  key: 5,
693
712
  hideDetails: "",
694
713
  config: {
@@ -704,32 +723,33 @@ const $e = (D) => (Re("data-v-876ae247"), D = D(), Ue(), D), mt = ["id"], bt = [
704
723
  }
705
724
  }
706
725
  }, {
707
- content: m(() => [
708
- oe(ht, {
709
- colNames: K.value.colNames,
710
- head: K.value.head,
711
- body: K.value.body,
712
- config: K.value.config,
726
+ content: b(() => [
727
+ (s(), V(wt, {
728
+ key: `table_${ie.value}`,
729
+ colNames: Q.value.colNames,
730
+ head: Q.value.head,
731
+ body: Q.value.body,
732
+ config: Q.value.config,
713
733
  title: `${e.value.style.chart.title.text}${e.value.style.chart.title.subtitle.text ? ` : ${e.value.style.chart.title.subtitle.text}` : ""}`,
714
734
  onClose: o[2] || (o[2] = (l) => I.value.showTable = !1)
715
735
  }, {
716
- th: m(({ th: l }) => [
717
- w("div", {
736
+ th: b(({ th: l }) => [
737
+ k("div", {
718
738
  innerHTML: l,
719
739
  style: { display: "flex", "align-items": "center" }
720
- }, null, 8, Gt)
740
+ }, null, 8, Xt)
721
741
  ]),
722
- td: m(({ td: l }) => [
723
- Ce(S(l.name || l), 1)
742
+ td: b(({ td: l }) => [
743
+ Le(S(l.name || l), 1)
724
744
  ]),
725
745
  _: 1
726
- }, 8, ["colNames", "head", "body", "config", "title"])
746
+ }, 8, ["colNames", "head", "body", "config", "title"]))
727
747
  ]),
728
748
  _: 1
729
- }, 8, ["config"])) : p("", !0)
730
- ], 14, mt));
749
+ }, 8, ["config"])) : f("", !0)
750
+ ], 14, $t));
731
751
  }
732
- }, tl = /* @__PURE__ */ gt(Rt, [["__scopeId", "data-v-876ae247"]]);
752
+ }, nl = /* @__PURE__ */ _t(Yt, [["__scopeId", "data-v-eaa613a1"]]);
733
753
  export {
734
- tl as default
754
+ nl as default
735
755
  };