vue-data-ui 2.3.25 → 2.3.27

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 (147) hide show
  1. package/README.md +13 -7
  2. package/dist/{Arrow-01eXaB81.cjs → Arrow-HROOtfWV.cjs} +1 -1
  3. package/dist/{Arrow-zObQ2VxA.js → Arrow-O38M_J_k.js} +1 -1
  4. package/dist/{BaseIcon-BkdELEYE.cjs → BaseIcon-CiO8gP9x.cjs} +1 -1
  5. package/dist/{BaseIcon-CHBghp3_.js → BaseIcon-D8FXGup9.js} +4 -3
  6. package/dist/{DataTable-D_2ZW2eI.cjs → DataTable-C6HTLT7L.cjs} +1 -1
  7. package/dist/{DataTable-Dytj5HQM.js → DataTable-EqeVt-K-.js} +2 -2
  8. package/dist/{Legend-Ct8LnAy4.js → Legend-8eVERYMn.js} +1 -1
  9. package/dist/{Legend-tvvMRnbi.cjs → Legend-C_lBCmBu.cjs} +1 -1
  10. package/dist/{Shape-dvRttq7z.cjs → Shape-D8RdmYWq.cjs} +1 -1
  11. package/dist/{Shape-qo5jcJq9.js → Shape-DvcgW6uK.js} +1 -1
  12. package/dist/{Slicer-DcjEg-ZZ.cjs → Slicer-BvYL7yVK.cjs} +1 -1
  13. package/dist/{Slicer-BNgHaM2_.js → Slicer-CH_5wnFM.js} +1 -1
  14. package/dist/{Title-CSQdI1EY.cjs → Title-B9iq63n1.cjs} +1 -1
  15. package/dist/{Title-BcNPXpKX.js → Title-C3Ez1ceq.js} +1 -1
  16. package/dist/{Tooltip-etzDGo1Y.js → Tooltip-7SRMoiu-.js} +1 -1
  17. package/dist/{Tooltip-B-laoopT.cjs → Tooltip-DcDEanxk.cjs} +1 -1
  18. package/dist/documentation/installation.md +3 -2
  19. package/dist/index-BQOxn6SH.cjs +4 -0
  20. package/dist/{index-BE6fhUyH.js → index-DiWO-_ca.js} +874 -537
  21. package/dist/style.css +1 -1
  22. package/dist/types/vue-data-ui.d.cts +169 -33
  23. package/dist/types/vue-data-ui.d.ts +169 -33
  24. package/dist/{useNestedProp-B_z4-n52.cjs → useNestedProp-BtqgWTf9.cjs} +1 -1
  25. package/dist/{useNestedProp-BcjRW6BJ.js → useNestedProp-DNX5EefQ.js} +1 -1
  26. package/dist/{usePrinter-CdIphKpF.js → usePrinter-BD40aUzH.js} +1 -1
  27. package/dist/{usePrinter-hyuaFHQj.cjs → usePrinter-Q1J--baX.cjs} +1 -1
  28. package/dist/{vue-data-ui-DH3---6Y.js → vue-data-ui-GHpxkf8a.js} +64 -62
  29. package/dist/vue-data-ui-yd5q4Ura.cjs +9 -0
  30. package/dist/vue-data-ui.cjs +1 -1
  31. package/dist/vue-data-ui.js +37 -36
  32. package/dist/{vue-ui-3d-bar-CPpeRsrz.js → vue-ui-3d-bar-CAmoj5dT.js} +7 -7
  33. package/dist/{vue-ui-3d-bar-ddx9_3_T.cjs → vue-ui-3d-bar-DkJ4c3HQ.cjs} +1 -1
  34. package/dist/{vue-ui-accordion-Dmz7RUKz.js → vue-ui-accordion-CiNdgRO9.js} +3 -3
  35. package/dist/{vue-ui-accordion-CvZhABQM.cjs → vue-ui-accordion-ogVvFfQy.cjs} +1 -1
  36. package/dist/{vue-ui-age-pyramid-DiOdrFIV.js → vue-ui-age-pyramid-BrTpbEha.js} +8 -8
  37. package/dist/{vue-ui-age-pyramid-BieAbkr7.cjs → vue-ui-age-pyramid-CkKVbbl8.cjs} +1 -1
  38. package/dist/{vue-ui-annotator-KClMRKPi.js → vue-ui-annotator-B9IqZ-Hy.js} +1 -1
  39. package/dist/{vue-ui-annotator-CugE3IpZ.cjs → vue-ui-annotator-QbetAXoj.cjs} +1 -1
  40. package/dist/{vue-ui-candlestick-DErkX5mF.cjs → vue-ui-candlestick-BvRwlc3d.cjs} +1 -1
  41. package/dist/{vue-ui-candlestick-D9MajMEG.js → vue-ui-candlestick-XjjwFaDO.js} +9 -9
  42. package/dist/{vue-ui-carousel-table-CsCEcaWp.cjs → vue-ui-carousel-table-DtxcnSEp.cjs} +1 -1
  43. package/dist/{vue-ui-carousel-table-CLwi79Ly.js → vue-ui-carousel-table-KYENY5gp.js} +4 -4
  44. package/dist/{vue-ui-chestnut-BTvQSTQi.cjs → vue-ui-chestnut-C7gFvKLJ.cjs} +1 -1
  45. package/dist/{vue-ui-chestnut-BnmDdakJ.js → vue-ui-chestnut-DfIcguJd.js} +6 -6
  46. package/dist/{vue-ui-cursor-KjKhIKTP.js → vue-ui-cursor-C4pJe90O.js} +2 -2
  47. package/dist/{vue-ui-cursor-Dj8pAXbc.cjs → vue-ui-cursor-COS_MXr8.cjs} +1 -1
  48. package/dist/{vue-ui-dashboard-Dm-rDSRt.js → vue-ui-dashboard-B_NUnxEF.js} +2 -2
  49. package/dist/{vue-ui-dashboard-BTpiCLaT.cjs → vue-ui-dashboard-DNOjWStr.cjs} +1 -1
  50. package/dist/{vue-ui-digits-BVVOQfoO.cjs → vue-ui-digits-Vx5prxaT.cjs} +1 -1
  51. package/dist/{vue-ui-digits-WgEKLYdq.js → vue-ui-digits-uufqLbRt.js} +2 -2
  52. package/dist/{vue-ui-donut-BjHWw_Mw.js → vue-ui-donut-C33U3e8H.js} +9 -9
  53. package/dist/{vue-ui-donut-DvDqj2od.cjs → vue-ui-donut-CeHnjIGu.cjs} +1 -1
  54. package/dist/{vue-ui-donut-evolution-CWBsLGUw.js → vue-ui-donut-evolution-IzfAVo5I.js} +9 -9
  55. package/dist/{vue-ui-donut-evolution-C0TW-uGR.cjs → vue-ui-donut-evolution-hHfvz1Yd.cjs} +1 -1
  56. package/dist/{vue-ui-dumbbell-BlsLMdW8.js → vue-ui-dumbbell-KvrVLLw6.js} +8 -8
  57. package/dist/{vue-ui-dumbbell-Uhw6rKrw.cjs → vue-ui-dumbbell-z_Ck4W33.cjs} +1 -1
  58. package/dist/{vue-ui-flow-KijZNPzD.js → vue-ui-flow-BjMikE9b.js} +7 -7
  59. package/dist/{vue-ui-flow-fnDs0_mH.cjs → vue-ui-flow-Dg4dkrcd.cjs} +1 -1
  60. package/dist/{vue-ui-galaxy-BBiGsB2G.cjs → vue-ui-galaxy-B8EoId23.cjs} +1 -1
  61. package/dist/{vue-ui-galaxy-_y9H-beS.js → vue-ui-galaxy-BdgveN18.js} +9 -9
  62. package/dist/{vue-ui-gauge-CGgQqTqT.js → vue-ui-gauge-D01FLnNz.js} +5 -5
  63. package/dist/{vue-ui-gauge-Bv4YKgIj.cjs → vue-ui-gauge-D8pokfoA.cjs} +1 -1
  64. package/dist/{vue-ui-gizmo-DFWR7qEg.cjs → vue-ui-gizmo-8lKc8m8b.cjs} +1 -1
  65. package/dist/{vue-ui-gizmo-DjAFk58g.js → vue-ui-gizmo-Cp-EftjP.js} +2 -2
  66. package/dist/{vue-ui-heatmap-D1AMro3o.js → vue-ui-heatmap-BEsvmj5R.js} +8 -8
  67. package/dist/{vue-ui-heatmap-B5McL3SD.cjs → vue-ui-heatmap-DvpvKq3Q.cjs} +1 -1
  68. package/dist/{vue-ui-kpi-BW2na3Yu.js → vue-ui-kpi-D6rVKouk.js} +2 -2
  69. package/dist/{vue-ui-kpi-Bb7xdAFU.cjs → vue-ui-kpi-PWurAGxE.cjs} +1 -1
  70. package/dist/{vue-ui-mini-loader-22dagCEY.cjs → vue-ui-mini-loader-BsypWozL.cjs} +1 -1
  71. package/dist/{vue-ui-mini-loader-CKZ-PEf5.js → vue-ui-mini-loader-YV68i0nk.js} +2 -2
  72. package/dist/{vue-ui-molecule-BK8HPWvg.js → vue-ui-molecule-BWYCf3Km.js} +9 -9
  73. package/dist/{vue-ui-molecule-CWpBfXyk.cjs → vue-ui-molecule-Bx3fXHnw.cjs} +1 -1
  74. package/dist/{vue-ui-mood-radar-BZE6rvtb.cjs → vue-ui-mood-radar-C6devC4e.cjs} +1 -1
  75. package/dist/{vue-ui-mood-radar-CXq465Aj.js → vue-ui-mood-radar-DsZozq6x.js} +9 -9
  76. package/dist/{vue-ui-nested-donuts-Ca-b8_P3.cjs → vue-ui-nested-donuts-BtT3VsSf.cjs} +1 -1
  77. package/dist/{vue-ui-nested-donuts-BSYKxbNL.js → vue-ui-nested-donuts-qaViBhR3.js} +9 -9
  78. package/dist/{vue-ui-onion-CMv38G-g.js → vue-ui-onion-0iFsjuLM.js} +9 -9
  79. package/dist/{vue-ui-onion-DvRn35KQ.cjs → vue-ui-onion-9ATTDUpw.cjs} +1 -1
  80. package/dist/{vue-ui-parallel-coordinate-plot-C50SGcJo.cjs → vue-ui-parallel-coordinate-plot-BkZOKTIS.cjs} +1 -1
  81. package/dist/{vue-ui-parallel-coordinate-plot-DBZUno5l.js → vue-ui-parallel-coordinate-plot-DxDFs1Lb.js} +10 -10
  82. package/dist/{vue-ui-quadrant-CJo9jqLm.cjs → vue-ui-quadrant-DD4H_Dhk.cjs} +1 -1
  83. package/dist/{vue-ui-quadrant-C-jh3Grv.js → vue-ui-quadrant-Tw7SKMbQ.js} +10 -10
  84. package/dist/{vue-ui-quick-chart-BvTLEmD_.js → vue-ui-quick-chart-CpFHKtpm.js} +6 -6
  85. package/dist/{vue-ui-quick-chart-BJ6lIxf6.cjs → vue-ui-quick-chart-D1udOl47.cjs} +1 -1
  86. package/dist/{vue-ui-radar-CWgrIgHA.cjs → vue-ui-radar-CZmJDj3q.cjs} +1 -1
  87. package/dist/{vue-ui-radar-Kh4Qt05I.js → vue-ui-radar-D5FV2IDm.js} +10 -10
  88. package/dist/{vue-ui-rating-DJsfvOxZ.cjs → vue-ui-rating-DTWIh_CV.cjs} +1 -1
  89. package/dist/{vue-ui-rating-D7AkYGtK.js → vue-ui-rating-Dds9tjxd.js} +2 -2
  90. package/dist/{vue-ui-relation-circle-CXQ9FHnG.js → vue-ui-relation-circle-B2p8F7-L.js} +5 -5
  91. package/dist/{vue-ui-relation-circle-DRquG6N9.cjs → vue-ui-relation-circle-Cu9lKkX3.cjs} +1 -1
  92. package/dist/{vue-ui-rings-BuuiGgkQ.js → vue-ui-rings-BKzCFSx-.js} +9 -9
  93. package/dist/{vue-ui-rings-DAuDNTak.cjs → vue-ui-rings-DN7XmhKZ.cjs} +1 -1
  94. package/dist/{vue-ui-scatter-Ba_1vbfG.js → vue-ui-scatter-CwV9l1P7.js} +10 -10
  95. package/dist/{vue-ui-scatter-Db1WHHMt.cjs → vue-ui-scatter-DJlC5mz4.cjs} +1 -1
  96. package/dist/{vue-ui-screenshot-rDwd1nNP.js → vue-ui-screenshot-Bo6i-aRF.js} +1 -1
  97. package/dist/{vue-ui-screenshot-BgvHfkel.cjs → vue-ui-screenshot-CnPWz57l.cjs} +1 -1
  98. package/dist/{vue-ui-skeleton-Df1qBO2k.cjs → vue-ui-skeleton-CcrGR_Vh.cjs} +1 -1
  99. package/dist/{vue-ui-skeleton-DZk__alb.js → vue-ui-skeleton-CeNL0kH-.js} +2 -2
  100. package/dist/{vue-ui-smiley-KQFOL39h.cjs → vue-ui-smiley-BBcmwq4z.cjs} +1 -1
  101. package/dist/{vue-ui-smiley-BPebp5hG.js → vue-ui-smiley-BGMzw-SW.js} +2 -2
  102. package/dist/{vue-ui-spark-trend-CSdQHPuY.js → vue-ui-spark-trend-CSC9zmt7.js} +4 -4
  103. package/dist/{vue-ui-spark-trend-Cr2Coq5M.cjs → vue-ui-spark-trend-DlvTlA9z.cjs} +1 -1
  104. package/dist/{vue-ui-sparkbar-EhBZgeio.js → vue-ui-sparkbar-0CNZluKs.js} +3 -3
  105. package/dist/{vue-ui-sparkbar-BIdS6UA_.cjs → vue-ui-sparkbar-Di-BPkJ0.cjs} +1 -1
  106. package/dist/{vue-ui-sparkgauge-DFlQ-olI.cjs → vue-ui-sparkgauge-B5g5nxUh.cjs} +1 -1
  107. package/dist/{vue-ui-sparkgauge-DTUDMW-e.js → vue-ui-sparkgauge-DJPt0cLe.js} +3 -3
  108. package/dist/{vue-ui-sparkhistogram-_zChXZnF.cjs → vue-ui-sparkhistogram-BhkYmR4U.cjs} +1 -1
  109. package/dist/{vue-ui-sparkhistogram-CJZN2ZKW.js → vue-ui-sparkhistogram-DpvQcFls.js} +4 -4
  110. package/dist/{vue-ui-sparkline-IWbHN7-r.cjs → vue-ui-sparkline-Bw3y-88R.cjs} +1 -1
  111. package/dist/{vue-ui-sparkline-B0OAXqfq.js → vue-ui-sparkline-CDSg9rhl.js} +3 -3
  112. package/dist/{vue-ui-sparkstackbar-C6tBsD3M.cjs → vue-ui-sparkstackbar-Ckcir2dk.cjs} +1 -1
  113. package/dist/{vue-ui-sparkstackbar-wPYlidft.js → vue-ui-sparkstackbar-DveNwcVx.js} +3 -3
  114. package/dist/vue-ui-stackbar-CZUsUeZ_.js +750 -0
  115. package/dist/vue-ui-stackbar-jNWFgXiA.cjs +15 -0
  116. package/dist/{vue-ui-strip-plot-BAcR2Zug.cjs → vue-ui-strip-plot-CzHFNhr3.cjs} +1 -1
  117. package/dist/{vue-ui-strip-plot-Bm0JThi4.js → vue-ui-strip-plot-lVVqtsNc.js} +9 -9
  118. package/dist/{vue-ui-table-6ZR-bgMx.js → vue-ui-table-8hNkBy1z.js} +1 -1
  119. package/dist/{vue-ui-table-heatmap-bJUl4rY6.js → vue-ui-table-heatmap-BAPA4nvf.js} +4 -4
  120. package/dist/{vue-ui-table-heatmap-B2Xe1T4D.cjs → vue-ui-table-heatmap-HgHQKSax.cjs} +1 -1
  121. package/dist/{vue-ui-table-B0FlP2RX.cjs → vue-ui-table-qtBWpg0m.cjs} +1 -1
  122. package/dist/{vue-ui-table-sparkline-Dxinc_iR.js → vue-ui-table-sparkline-DZY_23mg.js} +5 -5
  123. package/dist/{vue-ui-table-sparkline-DgZQmNaq.cjs → vue-ui-table-sparkline-Q8y6tloS.cjs} +1 -1
  124. package/dist/{vue-ui-thermometer-BN1harXD.cjs → vue-ui-thermometer-Cbu9jVvC.cjs} +1 -1
  125. package/dist/{vue-ui-thermometer-Nb1pgJ04.js → vue-ui-thermometer-CcH1qmLq.js} +5 -5
  126. package/dist/{vue-ui-timer-_44ECu7b.cjs → vue-ui-timer-C52mSn4m.cjs} +1 -1
  127. package/dist/{vue-ui-timer-C17OoYkC.js → vue-ui-timer-DJfYr02u.js} +4 -4
  128. package/dist/{vue-ui-tiremarks-lbnWHaOP.js → vue-ui-tiremarks-CcLcd5oA.js} +5 -5
  129. package/dist/{vue-ui-tiremarks-BSMuOb-Z.cjs → vue-ui-tiremarks-dNuNMt_R.cjs} +1 -1
  130. package/dist/{vue-ui-treemap-CbdnMlBb.js → vue-ui-treemap-BOz94BVK.js} +9 -9
  131. package/dist/{vue-ui-treemap-DinP2PhP.cjs → vue-ui-treemap-orjA7Y0U.cjs} +1 -1
  132. package/dist/{vue-ui-vertical-bar-B7cKvp6J.cjs → vue-ui-vertical-bar-BHIt5cjc.cjs} +1 -1
  133. package/dist/{vue-ui-vertical-bar-B9HnpW6M.js → vue-ui-vertical-bar-BquCm_UG.js} +9 -9
  134. package/dist/{vue-ui-waffle-70I35yZY.js → vue-ui-waffle-CNlp7RTS.js} +254 -250
  135. package/dist/vue-ui-waffle-Dv8pXiYm.cjs +1 -0
  136. package/dist/{vue-ui-wheel-DZbEyD4l.cjs → vue-ui-wheel-BVjbh4oM.cjs} +1 -1
  137. package/dist/{vue-ui-wheel-C8YTOjwd.js → vue-ui-wheel-DMRiVkhu.js} +5 -5
  138. package/dist/{vue-ui-word-cloud-Don3Oz-A.js → vue-ui-word-cloud-CHRE8f_k.js} +6 -6
  139. package/dist/{vue-ui-word-cloud-DkJyoTg9.cjs → vue-ui-word-cloud-CZum_IjT.cjs} +1 -1
  140. package/dist/{vue-ui-xy-DkBLRZ6y.cjs → vue-ui-xy-BOoG4xg8.cjs} +1 -1
  141. package/dist/{vue-ui-xy-XJp90Tih.js → vue-ui-xy-CsFr8tix.js} +12 -12
  142. package/dist/{vue-ui-xy-canvas-Do2LgfMo.cjs → vue-ui-xy-canvas-BHa3-phi.cjs} +1 -1
  143. package/dist/{vue-ui-xy-canvas-CsPcJxOA.js → vue-ui-xy-canvas-Bb2Z3E-7.js} +10 -10
  144. package/package.json +2 -1
  145. package/dist/index-BFH7X8WG.cjs +0 -4
  146. package/dist/vue-data-ui-dbgbgXfB.cjs +0 -9
  147. package/dist/vue-ui-waffle-BaqQnh1w.cjs +0 -1
@@ -1,28 +1,28 @@
1
- import { computed as c, ref as v, onMounted as Ae, onBeforeUnmount as Ve, openBlock as s, createElementBlock as n, normalizeClass as be, normalizeStyle as U, createVNode as te, createCommentVNode as m, createBlock as J, unref as y, createSlots as Me, withCtx as f, renderSlot as g, normalizeProps as j, guardReactiveProps as W, createElementVNode as b, Fragment as $, renderList as V, toDisplayString as T, createTextVNode as we, nextTick as De, pushScopeId as Ee, popScopeId as Ge } from "vue";
2
- import { u as Re, c as Ue, t as je, a as We, p as B, o as He, e as le, g as qe, b as Xe, d as Ye, f as I, X as Je, s as Ke, r as Qe, C as Ze, E as et, v as tt, w as lt, n as at, q as ot } from "./index-BE6fhUyH.js";
3
- import { t as ut, u as rt } from "./useResponsive-NZB-WLRF.js";
4
- import { _ as st } from "./Title-BcNPXpKX.js";
5
- import { u as nt, U as it } from "./usePrinter-CdIphKpF.js";
6
- import { _ as ct } from "./Tooltip-etzDGo1Y.js";
7
- import { D as vt } from "./DataTable-Dytj5HQM.js";
8
- import { L as dt } from "./Legend-Ct8LnAy4.js";
9
- import ht from "./vue-ui-skeleton-DZk__alb.js";
10
- import pt from "./vue-ui-accordion-Dmz7RUKz.js";
11
- import { u as ke } from "./useNestedProp-BcjRW6BJ.js";
12
- import { _ as yt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
13
- const xe = (M) => (Ee("data-v-766b8f65"), M = M(), Ge(), M), ft = ["id"], gt = ["xmlns", "viewBox"], mt = ["id"], bt = ["stop-color"], wt = ["stop-color"], kt = ["id"], xt = /* @__PURE__ */ xe(() => /* @__PURE__ */ b("feGaussianBlur", {
1
+ import { computed as c, ref as v, onMounted as Ve, onBeforeUnmount as Me, openBlock as s, createElementBlock as n, normalizeClass as ke, normalizeStyle as j, createVNode as ae, createCommentVNode as b, createBlock as K, unref as p, createSlots as De, withCtx as g, renderSlot as m, normalizeProps as W, guardReactiveProps as q, createElementVNode as w, Fragment as $, renderList as V, toDisplayString as T, createTextVNode as xe, nextTick as Ee, pushScopeId as Ge, popScopeId as Re } from "vue";
2
+ import { u as Ue, c as je, t as We, a as qe, p as B, o as He, e as oe, g as Xe, b as Ye, d as Je, f as I, X as Ke, s as Qe, r as Ze, C as et, E as tt, v as lt, w as at, n as ot, q as ut } from "./index-DiWO-_ca.js";
3
+ import { t as st, u as rt } from "./useResponsive-NZB-WLRF.js";
4
+ import { _ as nt } from "./Title-C3Ez1ceq.js";
5
+ import { u as it, U as ct } from "./usePrinter-BD40aUzH.js";
6
+ import { _ as vt } from "./Tooltip-7SRMoiu-.js";
7
+ import { D as dt } from "./DataTable-EqeVt-K-.js";
8
+ import { L as ht } from "./Legend-8eVERYMn.js";
9
+ import yt from "./vue-ui-skeleton-CeNL0kH-.js";
10
+ import pt from "./vue-ui-accordion-CiNdgRO9.js";
11
+ import { u as Ce } from "./useNestedProp-DNX5EefQ.js";
12
+ import { _ as ft } from "./_plugin-vue_export-helper-CHgC5LLL.js";
13
+ const _e = (M) => (Ge("data-v-33939b0e"), M = M(), Re(), M), gt = ["id"], mt = ["xmlns", "viewBox"], bt = ["id"], wt = ["stop-color"], kt = ["stop-color"], xt = ["id"], Ct = /* @__PURE__ */ _e(() => /* @__PURE__ */ w("feGaussianBlur", {
14
14
  in: "SourceGraphic",
15
15
  stdDeviation: 2
16
- }, null, -1)), Ct = /* @__PURE__ */ xe(() => /* @__PURE__ */ b("feColorMatrix", {
16
+ }, null, -1)), _t = /* @__PURE__ */ _e(() => /* @__PURE__ */ w("feColorMatrix", {
17
17
  type: "saturate",
18
18
  values: "0"
19
- }, null, -1)), _t = [
20
- xt,
21
- Ct
22
- ], $t = ["x", "y", "height", "width"], Tt = ["rx", "x", "y", "height", "width", "stroke", "stroke-width", "filter"], It = ["rx", "x", "y", "height", "width", "fill", "stroke", "stroke-width", "filter"], St = ["x", "y", "height", "width", "filter"], Ft = { key: 0 }, zt = { key: 1 }, Pt = { key: 2 }, Nt = { key: 3 }, Lt = ["onMouseover", "x", "y", "height", "width"], Bt = {
19
+ }, null, -1)), $t = [
20
+ Ct,
21
+ _t
22
+ ], Tt = ["x", "y", "height", "width"], It = ["rx", "x", "y", "height", "width", "stroke", "stroke-width", "filter"], St = ["rx", "x", "y", "height", "width", "fill", "stroke", "stroke-width", "filter"], Pt = ["x", "y", "height", "width", "filter"], Ft = { key: 0 }, zt = { key: 1 }, Nt = { key: 2 }, Lt = { key: 3 }, Bt = ["onMouseover", "x", "y", "height", "width"], Ot = {
23
23
  key: 3,
24
24
  class: "vue-data-ui-watermark"
25
- }, Ot = ["onClick"], At = { key: 0 }, Vt = { key: 1 }, Mt = ["innerHTML"], Dt = {
25
+ }, At = ["onClick"], Vt = { key: 0 }, Mt = { key: 1 }, Dt = ["innerHTML"], Et = {
26
26
  __name: "vue-ui-waffle",
27
27
  props: {
28
28
  config: {
@@ -39,30 +39,30 @@ const xe = (M) => (Ee("data-v-766b8f65"), M = M(), Ge(), M), ft = ["id"], gt = [
39
39
  }
40
40
  },
41
41
  emits: ["selectLegend"],
42
- setup(M, { expose: Ce, emit: _e }) {
43
- const w = M, { vue_ui_waffle: $e } = Re(), H = c(() => !!w.dataset && w.dataset.length), S = v(Ue()), Te = v(null), K = v(!1), Q = v(""), O = v(null), ae = v(0), D = v(null), oe = v(null), ue = v(null), e = c(() => {
44
- const t = ke({
45
- userConfig: w.config,
46
- defaultConfig: $e
42
+ setup(M, { expose: $e, emit: Te }) {
43
+ const k = M, { vue_ui_waffle: Ie } = Ue(), H = c(() => !!k.dataset && k.dataset.length), S = v(je()), Se = v(null), Q = v(!1), Z = v(""), O = v(null), ue = v(0), D = v(null), se = v(null), re = v(null), e = c(() => {
44
+ const t = Ce({
45
+ userConfig: k.config,
46
+ defaultConfig: Ie
47
47
  });
48
48
  return t.theme ? {
49
- ...ke({
50
- userConfig: je.vue_ui_waffle[t.theme] || w.config,
49
+ ...Ce({
50
+ userConfig: We.vue_ui_waffle[t.theme] || k.config,
51
51
  defaultConfig: t
52
52
  }),
53
- customPalette: We[t.theme] || B
53
+ customPalette: qe[t.theme] || B
54
54
  } : t;
55
- }), q = v(null);
56
- Ae(() => {
57
- if (He(w.dataset) ? le({
55
+ }), X = v(null);
56
+ Ve(() => {
57
+ if (He(k.dataset) ? oe({
58
58
  componentName: "VueUiWaffle",
59
59
  type: "dataset"
60
- }) : w.dataset.forEach((t, a) => {
61
- qe({
60
+ }) : k.dataset.forEach((t, a) => {
61
+ Xe({
62
62
  datasetObject: t,
63
63
  requiredAttributes: ["name", "values"]
64
64
  }).forEach((l) => {
65
- le({
65
+ oe({
66
66
  componentName: "VueUiWaffle",
67
67
  type: "datasetSerieAttribute",
68
68
  property: l,
@@ -70,95 +70,99 @@ const xe = (M) => (Ee("data-v-766b8f65"), M = M(), Ge(), M), ft = ["id"], gt = [
70
70
  });
71
71
  });
72
72
  }), e.value.responsive) {
73
- const t = ut(() => {
73
+ const t = st(() => {
74
74
  const { width: a, height: l } = rt({
75
75
  chart: D.value,
76
- title: e.value.style.chart.title.text ? oe.value : null,
77
- legend: e.value.style.chart.legend.show ? ue.value : null
76
+ title: e.value.style.chart.title.text ? se.value : null,
77
+ legend: e.value.style.chart.legend.show ? re.value : null
78
78
  });
79
- F.value.width = a, F.value.height = l, z.value.width = a, z.value.height = l;
79
+ P.value.width = a, P.value.height = l, F.value.width = a, F.value.height = l;
80
80
  });
81
- q.value = new ResizeObserver(t), q.value.observe(D.value.parentNode);
81
+ X.value = new ResizeObserver(t), X.value.observe(D.value.parentNode);
82
82
  }
83
- }), Ve(() => {
84
- q.value && q.value.disconnect();
83
+ }), Me(() => {
84
+ X.value && X.value.disconnect();
85
85
  });
86
- const { isPrinting: re, isImaging: se, generatePdf: ne, generateImage: ie } = nt({
86
+ const { isPrinting: ne, isImaging: ie, generatePdf: ce, generateImage: ve } = it({
87
87
  elementId: `vue-ui-waffle_${S.value}`,
88
88
  fileName: e.value.style.chart.title.text || "vue-ui-waffle"
89
- }), ce = c(() => Xe(e.value.customPalette)), C = v({
89
+ }), de = c(() => Ye(e.value.customPalette)), C = v({
90
90
  showTable: e.value.table.show,
91
91
  showTooltip: e.value.style.chart.tooltip.show
92
- }), F = v({
92
+ }), P = v({
93
93
  height: 512,
94
94
  width: 512
95
- }), z = v({
95
+ }), F = v({
96
96
  top: 0,
97
97
  left: 0,
98
98
  height: 512,
99
99
  width: 512
100
- }), P = c(() => (z.value.width - e.value.style.chart.layout.grid.size * e.value.style.chart.layout.grid.spaceBetween) / e.value.style.chart.layout.grid.size), N = c(() => (z.value.height - e.value.style.chart.layout.grid.size * e.value.style.chart.layout.grid.spaceBetween) / e.value.style.chart.layout.grid.size), E = c(() => z.value.width / e.value.style.chart.layout.grid.size), X = c(() => z.value.height / e.value.style.chart.layout.grid.size);
101
- function ve(t) {
102
- const a = t.reduce((u, r) => u + r, 0), l = t.map((u) => Math.round(u / a * 100) / 100), o = l.reduce((u, r) => u + r, 0);
103
- if (o !== 1) {
104
- const u = l.length - 1;
105
- l[u] += 1 - o, l[u] = Math.round(l[u] * 100) / 100;
100
+ }), z = c(() => (F.value.width - e.value.style.chart.layout.grid.size * e.value.style.chart.layout.grid.spaceBetween) / e.value.style.chart.layout.grid.size), N = c(() => (F.value.height - e.value.style.chart.layout.grid.size * e.value.style.chart.layout.grid.spaceBetween) / e.value.style.chart.layout.grid.size), E = c(() => F.value.width / e.value.style.chart.layout.grid.size), Y = c(() => F.value.height / e.value.style.chart.layout.grid.size);
101
+ function he(t) {
102
+ const a = e.value.style.chart.layout.grid.size * e.value.style.chart.layout.grid.size, l = t.reduce((f, le) => f + le, 0), o = t.map((f) => f / l * a), u = o.map(Math.floor), r = o.map((f) => f % 1);
103
+ let y = a - u.reduce((f, le) => f + le, 0);
104
+ for (; y > 0; ) {
105
+ let f = r.indexOf(Math.max(...r));
106
+ u[f] += 1, r[f] = 0, y -= 1;
106
107
  }
107
- return l;
108
+ return u;
108
109
  }
109
- const de = c(() => w.dataset.map((t, a) => ({
110
+ const ye = c(() => k.dataset.map((t, a) => ({
110
111
  ...t,
111
- color: Ye(t.color) || ce.value[a] || B[a] || B[a % B.length],
112
+ color: Je(t.color) || de.value[a] || B[a] || B[a % B.length],
112
113
  uid: `serie_${a}`,
113
114
  absoluteIndex: a
114
- }))), h = v(de.value), Ie = c(() => {
115
- const t = h.value.filter((a, l) => !p.value.includes(a.uid)).map((a, l) => (a.values || []).reduce((o, u) => o + u, 0));
116
- return ve(t);
117
- }), Se = c(() => {
118
- const t = h.value.map((a, l) => (a.values || []).reduce((o, u) => o + u));
119
- return ve(t);
120
- }), k = c(() => (w.dataset.forEach((t, a) => {
121
- [null, void 0].includes(t.values) && le({
115
+ }))), d = v(ye.value), Pe = c(() => {
116
+ const t = d.value.filter((a, l) => !h.value.includes(a.uid)).map((a, l) => (a.values || []).reduce((o, u) => o + u, 0));
117
+ return he(t);
118
+ }), Fe = c(() => {
119
+ const t = d.value.map((a, l) => (a.values || []).reduce((o, u) => o + u));
120
+ return he(t);
121
+ }), G = c(() => (k.dataset.forEach((t, a) => {
122
+ [null, void 0].includes(t.values) && oe({
122
123
  componentName: "VueUiWaffle",
123
124
  type: "datasetSerieAttribute",
124
125
  property: "values (number[])",
125
126
  index: a
126
127
  });
127
- }), h.value.filter((t, a) => !p.value.includes(t.uid)).map((t, a) => ({
128
+ }), d.value.filter((t, a) => !h.value.includes(t.uid)).map((t, a) => ({
128
129
  absoluteIndex: t.absoluteIndex,
129
130
  uid: t.uid,
130
131
  name: t.name,
131
132
  color: t.color,
132
133
  value: (t.values || []).reduce((l, o) => l + o, 0),
133
134
  absoluteValues: t.values || [],
134
- proportion: Ie.value[a] * Math.pow(e.value.style.chart.layout.grid.size, 2)
135
- })))), Fe = c(() => h.value.map((t, a) => ({
135
+ proportion: Pe.value[a]
136
+ })))), ze = c(() => d.value.map((t, a) => ({
136
137
  absoluteIndex: t.absoluteIndex,
137
138
  uid: t.uid,
138
139
  name: t.name,
139
140
  color: t.color,
140
141
  value: (t.values || []).reduce((l, o) => l + o, 0),
141
142
  absoluteValues: t.values || [],
142
- proportion: Se.value[a] * Math.pow(e.value.style.chart.layout.grid.size, 2)
143
+ proportion: Fe.value[a]
143
144
  })));
144
- function ze() {
145
- return Fe.value.map((t) => ({
145
+ function Ne() {
146
+ return ze.value.map((t) => ({
146
147
  name: t.name,
147
148
  color: t.color,
148
149
  value: t.value,
149
- proportion: t.proportion / Math.pow(e.value.style.chart.layout.grid.size, 2)
150
+ proportion: t.proportion
150
151
  }));
151
152
  }
152
- const Pe = c(() => k.value.map((t, a) => {
153
- const l = a > 0 ? k.value.filter((r, d) => d < a).map((r) => r.proportion).reduce((r, d) => r + d) + t.proportion - k.value[a - 1].proportion : t.proportion - t.proportion, o = l + t.proportion, u = [];
154
- for (let r = l; r <= o; r += 1)
155
- u.push(r);
156
- return {
157
- ...t,
158
- start: a > 0 ? k.value.filter((r, d) => d < a).map((r) => r.proportion).reduce((r, d) => r + d) + t.proportion - k.value[a - 1].proportion : t.proportion - t.proportion,
159
- rects: u
160
- };
161
- })), i = c(() => Pe.value.flatMap((t, a) => t.rects.map((l, o) => ({
153
+ const Le = c(() => {
154
+ let t = 0;
155
+ return G.value.map((a, l) => {
156
+ const o = t, u = o + a.proportion, r = [];
157
+ for (let y = Math.floor(o); y < Math.floor(u); y += 1)
158
+ r.push(y);
159
+ return t = u, {
160
+ ...a,
161
+ start: o,
162
+ rects: r
163
+ };
164
+ });
165
+ }), i = c(() => Le.value.flatMap((t, a) => t.rects.map((l, o) => ({
162
166
  isFirst: o === 0,
163
167
  isLongEnough: l.length > 2,
164
168
  name: t.name,
@@ -171,123 +175,123 @@ const xe = (M) => (Ee("data-v-766b8f65"), M = M(), Ge(), M), ft = ["id"], gt = [
171
175
  }))).map((t, a) => ({
172
176
  ...t,
173
177
  isAbsoluteFirst: a % e.value.style.chart.layout.grid.size === 0
174
- }))), G = c(() => {
178
+ }))), R = c(() => {
175
179
  const t = [];
176
180
  for (let a = 0; a < e.value.style.chart.layout.grid.size; a += 1)
177
181
  for (let l = 0; l < e.value.style.chart.layout.grid.size; l += 1)
178
182
  t.push({
179
183
  isStartOfLine: l === 0,
180
184
  position: e.value.style.chart.layout.grid.vertical ? a : l,
181
- x: (e.value.style.chart.layout.grid.vertical ? a : l) * (P.value + e.value.style.chart.layout.grid.spaceBetween),
182
- y: (e.value.style.chart.layout.grid.vertical ? l : a) * (N.value + e.value.style.chart.layout.grid.spaceBetween) + z.value.top
185
+ x: (e.value.style.chart.layout.grid.vertical ? a : l) * (z.value + e.value.style.chart.layout.grid.spaceBetween),
186
+ y: (e.value.style.chart.layout.grid.vertical ? l : a) * (N.value + e.value.style.chart.layout.grid.spaceBetween) + F.value.top
183
187
  });
184
188
  return t;
185
- }), p = v([]), L = v(!1), he = v(null), pe = v(null);
186
- function ye(t) {
189
+ }), h = v([]), L = v(!1), pe = v(null), fe = v(null);
190
+ function ge(t) {
187
191
  if (!e.value.useAnimation) {
188
- p.value.includes(t) ? p.value = p.value.filter((u) => u !== t) : p.value.length < A.value.length - 1 && A.value.length > 1 && p.value.push(t);
192
+ h.value.includes(t) ? h.value = h.value.filter((u) => u !== t) : h.value.length < A.value.length - 1 && A.value.length > 1 && h.value.push(t);
189
193
  return;
190
194
  }
191
- const a = de.value.find((u) => u.uid === t).values.reduce((u, r) => u + r, 0);
192
- let o = h.value.find((u) => u.uid === t).values.reduce((u, r) => u + r, 0);
193
- if (p.value.includes(t)) {
195
+ const a = ye.value.find((u) => u.uid === t).values.reduce((u, r) => u + r, 0);
196
+ let o = d.value.find((u) => u.uid === t).values.reduce((u, r) => u + r, 0);
197
+ if (h.value.includes(t)) {
194
198
  let r = function() {
195
- o > u ? (cancelAnimationFrame(he.value), h.value = h.value.map((d, Oe) => d.uid === t ? {
196
- ...d,
199
+ o > u ? (cancelAnimationFrame(pe.value), d.value = d.value.map((y, f) => y.uid === t ? {
200
+ ...y,
197
201
  values: [u]
198
- } : d), L.value = !1) : (L.value = !0, o += u * 0.025, h.value = h.value.map((d, Oe) => d.uid === t ? {
199
- ...d,
202
+ } : y), L.value = !1) : (L.value = !0, o += u * 0.025, d.value = d.value.map((y, f) => y.uid === t ? {
203
+ ...y,
200
204
  values: [o]
201
- } : d), he.value = requestAnimationFrame(r));
205
+ } : y), pe.value = requestAnimationFrame(r));
202
206
  };
203
- p.value = p.value.filter((d) => d !== t);
207
+ h.value = h.value.filter((y) => y !== t);
204
208
  const u = a;
205
209
  r();
206
- } else if (p.value.length < A.value.length - 1 && A.value.length > 1) {
210
+ } else if (h.value.length < A.value.length - 1 && A.value.length > 1) {
207
211
  let u = function() {
208
- o < 0.1 ? (cancelAnimationFrame(pe.value), p.value.push(t), h.value = h.value.map((r, d) => r.uid === t ? {
212
+ o < 0.1 ? (cancelAnimationFrame(fe.value), h.value.push(t), d.value = d.value.map((r, y) => r.uid === t ? {
209
213
  ...r,
210
214
  values: [0]
211
- } : r), L.value = !1) : (L.value = !0, o /= 1.5, h.value = h.value.map((r, d) => r.uid === t ? {
215
+ } : r), L.value = !1) : (L.value = !0, o /= 1.5, d.value = d.value.map((r, y) => r.uid === t ? {
212
216
  ...r,
213
217
  values: [o]
214
- } : r), pe.value = requestAnimationFrame(u));
218
+ } : r), fe.value = requestAnimationFrame(u));
215
219
  };
216
220
  u();
217
221
  }
218
- _e("selectLegend", k.value.map((u) => ({
222
+ Te("selectLegend", G.value.map((u) => ({
219
223
  name: u.name,
220
224
  color: u.color,
221
225
  value: u.value,
222
226
  proportion: u.proportion / Math.pow(e.value.style.chart.layout.grid.size, 2)
223
227
  })));
224
228
  }
225
- const A = c(() => h.value.map((t, a) => ({
229
+ const A = c(() => d.value.map((t, a) => ({
226
230
  name: t.name,
227
- color: t.color || ce[a] || B[a] || B[a % B.length],
231
+ color: t.color || de[a] || B[a] || B[a % B.length],
228
232
  value: (t.values || []).reduce((l, o) => l + o, 0),
229
233
  uid: t.uid,
230
234
  shape: "square"
231
235
  })).map((t, a) => ({
232
236
  ...t,
233
- proportion: t.value / h.value.map((l) => (l.values || []).reduce((o, u) => o + u, 0)).reduce((l, o) => l + o, 0),
234
- opacity: p.value.includes(t.uid) ? 0.5 : 1,
235
- segregate: () => ye(t.uid),
236
- isSegregated: p.value.includes(t.uid)
237
- }))), Ne = c(() => ({
237
+ proportion: t.value / d.value.map((l) => (l.values || []).reduce((o, u) => o + u, 0)).reduce((l, o) => l + o, 0),
238
+ opacity: h.value.includes(t.uid) ? 0.5 : 1,
239
+ segregate: () => ge(t.uid),
240
+ isSegregated: h.value.includes(t.uid)
241
+ }))), Be = c(() => ({
238
242
  cy: "waffle-div-legend",
239
243
  backgroundColor: e.value.style.chart.legend.backgroundColor,
240
244
  color: e.value.style.chart.legend.color,
241
245
  fontSize: e.value.style.chart.legend.fontSize,
242
246
  paddingBottom: 12,
243
247
  fontWeight: e.value.style.chart.legend.bold ? "bold" : ""
244
- })), x = c(() => k.value.map((t) => t.value).reduce((t, a) => t + a, 0)), Z = v(null);
245
- function Le(t) {
246
- if (p.value.length === w.dataset.length) return;
248
+ })), x = c(() => G.value.map((t) => t.value).reduce((t, a) => t + a, 0)), ee = v(null);
249
+ function Oe(t) {
250
+ if (h.value.length === k.dataset.length) return;
247
251
  const a = i.value[t];
248
- Z.value = {
252
+ ee.value = {
249
253
  datapoint: a,
250
254
  seriesIndex: a.absoluteIndex,
251
- series: h.value,
255
+ series: d.value,
252
256
  config: e.value
253
- }, K.value = !0, O.value = i.value[t].serieIndex;
257
+ }, Q.value = !0, O.value = i.value[t].serieIndex;
254
258
  const l = e.value.style.chart.tooltip.customFormat;
255
- if (tt(l) && lt(() => l({
259
+ if (lt(l) && at(() => l({
256
260
  seriesIndex: i.value[t].absoluteIndex,
257
261
  datapoint: a,
258
- series: h.value,
262
+ series: d.value,
259
263
  config: e.value
260
264
  })))
261
- Q.value = l({
265
+ Z.value = l({
262
266
  seriesIndex: i.value[t].absoluteIndex,
263
267
  datapoint: a,
264
- series: h.value,
268
+ series: d.value,
265
269
  config: e.value
266
270
  });
267
271
  else {
268
272
  let o = "";
269
- 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>${I({ p: e.value.style.chart.layout.labels.dataLabels.prefix, v: a.value, s: e.value.style.chart.layout.labels.dataLabels.suffix, r: e.value.style.chart.tooltip.roundingValue })}</b>`), e.value.style.chart.tooltip.showPercentage && (e.value.style.chart.tooltip.showValue ? o += `<span>(${(a.value / x.value * 100).toFixed(e.value.style.chart.tooltip.roundingPercentage)}%)</span></div>` : o += `<b>${(a.value / x.value * 100).toFixed(e.value.style.chart.tooltip.roundingPercentage)}%</b></div>`), Q.value = o;
273
+ 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>${I({ p: e.value.style.chart.layout.labels.dataLabels.prefix, v: a.value, s: e.value.style.chart.layout.labels.dataLabels.suffix, r: e.value.style.chart.tooltip.roundingValue })}</b>`), e.value.style.chart.tooltip.showPercentage && (e.value.style.chart.tooltip.showValue ? o += `<span>(${(a.value / x.value * 100).toFixed(e.value.style.chart.tooltip.roundingPercentage)}%)</span></div>` : o += `<b>${(a.value / x.value * 100).toFixed(e.value.style.chart.tooltip.roundingPercentage)}%</b></div>`), Z.value = o;
270
274
  }
271
275
  }
272
276
  const _ = c(() => {
273
- const t = k.value.map((l) => ({
277
+ const t = G.value.map((l) => ({
274
278
  name: l.name,
275
279
  color: l.color
276
- })), a = k.value.map((l) => l.value);
280
+ })), a = G.value.map((l) => l.value);
277
281
  return { head: t, body: a };
278
282
  });
279
- function ee(t) {
283
+ function te(t) {
280
284
  return e.value.useBlurOnHover && ![null, void 0].includes(O.value) && O.value !== t ? `url(#blur_${S.value})` : "";
281
285
  }
282
- function fe() {
283
- De(() => {
286
+ function me() {
287
+ Ee(() => {
284
288
  const t = _.value.head.map((o, u) => [[
285
289
  o.name
286
- ], [_.value.body[u]], [isNaN(_.value.body[u] / x.value) ? "-" : _.value.body[u] / x.value * 100]]), a = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [[""], ["val"], ["%"]]].concat(t), l = at(a);
287
- ot({ csvContent: l, title: e.value.style.chart.title.text || "vue-ui-waffle" });
290
+ ], [_.value.body[u]], [isNaN(_.value.body[u] / x.value) ? "-" : _.value.body[u] / x.value * 100]]), a = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [[""], ["val"], ["%"]]].concat(t), l = ot(a);
291
+ ut({ csvContent: l, title: e.value.style.chart.title.text || "vue-ui-waffle" });
288
292
  });
289
293
  }
290
- const Y = c(() => {
294
+ const J = c(() => {
291
295
  const t = [
292
296
  ' <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>',
293
297
  I({ p: e.value.style.chart.layout.labels.dataLabels.prefix, v: x.value, s: e.value.style.chart.layout.labels.dataLabels.suffix, r: e.value.table.td.roundingValue }),
@@ -323,37 +327,37 @@ const xe = (M) => (Ee("data-v-766b8f65"), M = M(), Ge(), M), ft = ["id"], gt = [
323
327
  config: l,
324
328
  colNames: o
325
329
  };
326
- }), R = v(!1);
327
- function Be(t) {
328
- R.value = t, ae.value += 1;
330
+ }), U = v(!1);
331
+ function Ae(t) {
332
+ U.value = t, ue.value += 1;
329
333
  }
330
- function ge() {
334
+ function be() {
331
335
  C.value.showTable = !C.value.showTable;
332
336
  }
333
- function me() {
337
+ function we() {
334
338
  C.value.showTooltip = !C.value.showTooltip;
335
339
  }
336
- return Ce({
337
- getData: ze,
338
- generatePdf: ne,
339
- generateCsv: fe,
340
- generateImage: ie,
341
- toggleTable: ge,
342
- toggleTooltip: me
340
+ return $e({
341
+ getData: Ne,
342
+ generatePdf: ce,
343
+ generateCsv: me,
344
+ generateImage: ve,
345
+ toggleTable: be,
346
+ toggleTooltip: we
343
347
  }), (t, a) => (s(), n("div", {
344
- class: be(`vue-ui-waffle ${R.value ? "vue-data-ui-wrapper-fullscreen" : ""}`),
348
+ class: ke(`vue-ui-waffle ${U.value ? "vue-data-ui-wrapper-fullscreen" : ""}`),
345
349
  ref_key: "waffleChart",
346
350
  ref: D,
347
351
  id: `vue-ui-waffle_${S.value}`,
348
- style: U(`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%" : ""}`)
352
+ style: j(`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%" : ""}`)
349
353
  }, [
350
354
  e.value.style.chart.title.text ? (s(), n("div", {
351
355
  key: 0,
352
356
  ref_key: "chartTitle",
353
- ref: oe,
354
- style: U(`width:100%;background:${e.value.style.chart.backgroundColor};padding-bottom:12px`)
357
+ ref: se,
358
+ style: j(`width:100%;background:${e.value.style.chart.backgroundColor};padding-bottom:12px`)
355
359
  }, [
356
- te(st, {
360
+ ae(nt, {
357
361
  config: {
358
362
  title: {
359
363
  cy: "waffle-title",
@@ -365,15 +369,15 @@ const xe = (M) => (Ee("data-v-766b8f65"), M = M(), Ge(), M), ft = ["id"], gt = [
365
369
  }
366
370
  }
367
371
  }, null, 8, ["config"])
368
- ], 4)) : m("", !0),
369
- e.value.userOptions.show && H.value ? (s(), J(it, {
372
+ ], 4)) : b("", !0),
373
+ e.value.userOptions.show && H.value ? (s(), K(ct, {
370
374
  ref_key: "details",
371
- ref: Te,
372
- key: `user_options_${ae.value}`,
375
+ ref: Se,
376
+ key: `user_options_${ue.value}`,
373
377
  backgroundColor: e.value.style.chart.backgroundColor,
374
378
  color: e.value.style.chart.color,
375
- isPrinting: y(re),
376
- isImaging: y(se),
379
+ isPrinting: p(ne),
380
+ isImaging: p(ie),
377
381
  uid: S.value,
378
382
  hasTooltip: e.value.userOptions.buttons.tooltip && e.value.style.chart.tooltip.show,
379
383
  hasPdf: e.value.userOptions.buttons.pdf,
@@ -381,68 +385,68 @@ const xe = (M) => (Ee("data-v-766b8f65"), M = M(), Ge(), M), ft = ["id"], gt = [
381
385
  hasXls: e.value.userOptions.buttons.csv,
382
386
  hasTable: e.value.userOptions.buttons.table,
383
387
  hasFullscreen: e.value.userOptions.buttons.fullscreen,
384
- isFullscreen: R.value,
388
+ isFullscreen: U.value,
385
389
  isTooltip: C.value.showTooltip,
386
390
  titles: { ...e.value.userOptions.buttonTitles },
387
391
  chartElement: D.value,
388
- onToggleFullscreen: Be,
389
- onGeneratePdf: y(ne),
390
- onGenerateCsv: fe,
391
- onGenerateImage: y(ie),
392
- onToggleTable: ge,
393
- onToggleTooltip: me
394
- }, Me({ _: 2 }, [
392
+ onToggleFullscreen: Ae,
393
+ onGeneratePdf: p(ce),
394
+ onGenerateCsv: me,
395
+ onGenerateImage: p(ve),
396
+ onToggleTable: be,
397
+ onToggleTooltip: we
398
+ }, De({ _: 2 }, [
395
399
  t.$slots.optionTooltip ? {
396
400
  name: "optionTooltip",
397
- fn: f(() => [
398
- g(t.$slots, "optionTooltip", {}, void 0, !0)
401
+ fn: g(() => [
402
+ m(t.$slots, "optionTooltip", {}, void 0, !0)
399
403
  ]),
400
404
  key: "0"
401
405
  } : void 0,
402
406
  t.$slots.optionPdf ? {
403
407
  name: "optionPdf",
404
- fn: f(() => [
405
- g(t.$slots, "optionPdf", {}, void 0, !0)
408
+ fn: g(() => [
409
+ m(t.$slots, "optionPdf", {}, void 0, !0)
406
410
  ]),
407
411
  key: "1"
408
412
  } : void 0,
409
413
  t.$slots.optionCsv ? {
410
414
  name: "optionCsv",
411
- fn: f(() => [
412
- g(t.$slots, "optionCsv", {}, void 0, !0)
415
+ fn: g(() => [
416
+ m(t.$slots, "optionCsv", {}, void 0, !0)
413
417
  ]),
414
418
  key: "2"
415
419
  } : void 0,
416
420
  t.$slots.optionImg ? {
417
421
  name: "optionImg",
418
- fn: f(() => [
419
- g(t.$slots, "optionImg", {}, void 0, !0)
422
+ fn: g(() => [
423
+ m(t.$slots, "optionImg", {}, void 0, !0)
420
424
  ]),
421
425
  key: "3"
422
426
  } : void 0,
423
427
  t.$slots.optionTable ? {
424
428
  name: "optionTable",
425
- fn: f(() => [
426
- g(t.$slots, "optionTable", {}, void 0, !0)
429
+ fn: g(() => [
430
+ m(t.$slots, "optionTable", {}, void 0, !0)
427
431
  ]),
428
432
  key: "4"
429
433
  } : void 0,
430
434
  t.$slots.optionFullscreen ? {
431
435
  name: "optionFullscreen",
432
- fn: f(({ toggleFullscreen: l, isFullscreen: o }) => [
433
- g(t.$slots, "optionFullscreen", j(W({ toggleFullscreen: l, isFullscreen: o })), void 0, !0)
436
+ fn: g(({ toggleFullscreen: l, isFullscreen: o }) => [
437
+ m(t.$slots, "optionFullscreen", W(q({ toggleFullscreen: l, isFullscreen: o })), void 0, !0)
434
438
  ]),
435
439
  key: "5"
436
440
  } : void 0
437
- ]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasTooltip", "hasPdf", "hasImg", "hasXls", "hasTable", "hasFullscreen", "isFullscreen", "isTooltip", "titles", "chartElement", "onGeneratePdf", "onGenerateImage"])) : m("", !0),
441
+ ]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasTooltip", "hasPdf", "hasImg", "hasXls", "hasTable", "hasFullscreen", "isFullscreen", "isTooltip", "titles", "chartElement", "onGeneratePdf", "onGenerateImage"])) : b("", !0),
438
442
  H.value ? (s(), n("svg", {
439
443
  key: 2,
440
- xmlns: y(Je),
441
- class: be({ "vue-data-ui-fullscreen--on": R.value, "vue-data-ui-fulscreen--off": !R.value }),
442
- viewBox: `0 0 ${F.value.width <= 0 ? 10 : F.value.width} ${F.value.height <= 0 ? 10 : F.value.height}`,
443
- style: U(`max-width:100%;overflow:visible;background:${e.value.style.chart.backgroundColor};color:${e.value.style.chart.color}`)
444
+ xmlns: p(Ke),
445
+ class: ke({ "vue-data-ui-fullscreen--on": U.value, "vue-data-ui-fulscreen--off": !U.value }),
446
+ viewBox: `0 0 ${P.value.width <= 0 ? 10 : P.value.width} ${P.value.height <= 0 ? 10 : P.value.height}`,
447
+ style: j(`max-width:100%;overflow:visible;background:${e.value.style.chart.backgroundColor};color:${e.value.style.chart.color}`)
444
448
  }, [
445
- b("defs", null, [
449
+ w("defs", null, [
446
450
  (s(!0), n($, null, V(i.value, (l, o) => (s(), n("radialGradient", {
447
451
  cx: "50%",
448
452
  cy: "50%",
@@ -451,95 +455,95 @@ const xe = (M) => (Ee("data-v-766b8f65"), M = M(), Ge(), M), ft = ["id"], gt = [
451
455
  fy: "50%",
452
456
  id: `gradient_${S.value}_${o}`
453
457
  }, [
454
- b("stop", {
458
+ w("stop", {
455
459
  offset: "0%",
456
- "stop-color": `${y(Ke)(l.color, 0.05)}${y(Qe)[100 - e.value.style.chart.layout.rect.gradientIntensity]}`
457
- }, null, 8, bt),
458
- b("stop", {
460
+ "stop-color": `${p(Qe)(l.color, 0.05)}${p(Ze)[100 - e.value.style.chart.layout.rect.gradientIntensity]}`
461
+ }, null, 8, wt),
462
+ w("stop", {
459
463
  offset: "100%",
460
464
  "stop-color": l.color
461
- }, null, 8, wt)
462
- ], 8, mt))), 256))
465
+ }, null, 8, kt)
466
+ ], 8, bt))), 256))
463
467
  ]),
464
- b("defs", null, [
465
- b("filter", {
468
+ w("defs", null, [
469
+ w("filter", {
466
470
  id: `blur_${S.value}`,
467
471
  x: "-50%",
468
472
  y: "-50%",
469
473
  width: "200%",
470
474
  height: "200%"
471
- }, _t, 8, kt)
475
+ }, $t, 8, xt)
472
476
  ]),
473
- e.value.useCustomCells ? (s(!0), n($, { key: 0 }, V(G.value, (l, o) => (s(), n("foreignObject", {
477
+ e.value.useCustomCells ? (s(!0), n($, { key: 0 }, V(R.value, (l, o) => (s(), n("foreignObject", {
474
478
  x: l.x,
475
479
  y: l.y,
476
480
  height: N.value <= 0 ? 1e-4 : N.value,
477
- width: P.value <= 0 ? 1e-4 : P.value,
481
+ width: z.value <= 0 ? 1e-4 : z.value,
478
482
  class: "vue-ui-waffle-custom-cell-foreignObject"
479
483
  }, [
480
- g(t.$slots, "cell", j(W({ cell: { ...l, color: i.value[o].color, ...i.value[o] }, isSelected: [null, void 0].includes(O.value) ? !0 : i.value[o].serieIndex === O.value })), void 0, !0)
481
- ], 8, $t))), 256)) : (s(), n($, { key: 1 }, [
482
- (s(!0), n($, null, V(G.value, (l, o) => (s(), n("rect", {
484
+ m(t.$slots, "cell", W(q({ cell: { ...l, color: i.value[o].color, ...i.value[o] }, isSelected: [null, void 0].includes(O.value) ? !0 : i.value[o].serieIndex === O.value })), void 0, !0)
485
+ ], 8, Tt))), 256)) : (s(), n($, { key: 1 }, [
486
+ (s(!0), n($, null, V(R.value, (l, o) => (s(), n("rect", {
483
487
  rx: e.value.style.chart.layout.rect.rounded ? e.value.style.chart.layout.rect.rounding : 0,
484
488
  x: l.x + e.value.style.chart.layout.grid.spaceBetween / 2,
485
489
  y: l.y + e.value.style.chart.layout.grid.spaceBetween / 2,
486
490
  height: N.value <= 0 ? 1e-4 : N.value,
487
- width: P.value <= 0 ? 1e-4 : P.value,
491
+ width: z.value <= 0 ? 1e-4 : z.value,
488
492
  fill: "white",
489
493
  stroke: e.value.style.chart.layout.rect.stroke,
490
494
  "stroke-width": e.value.style.chart.layout.rect.strokeWidth,
491
- filter: ee(i.value[o].serieIndex)
492
- }, null, 8, Tt))), 256)),
493
- (s(!0), n($, null, V(G.value, (l, o) => (s(), n("rect", {
495
+ filter: te(i.value[o].serieIndex)
496
+ }, null, 8, It))), 256)),
497
+ (s(!0), n($, null, V(R.value, (l, o) => (s(), n("rect", {
494
498
  rx: e.value.style.chart.layout.rect.rounded ? e.value.style.chart.layout.rect.rounding : 0,
495
499
  x: l.x + e.value.style.chart.layout.grid.spaceBetween / 2,
496
500
  y: l.y + e.value.style.chart.layout.grid.spaceBetween / 2,
497
501
  height: N.value <= 0 ? 1e-4 : N.value,
498
- width: P.value <= 0 ? 1e-4 : P.value,
502
+ width: z.value <= 0 ? 1e-4 : z.value,
499
503
  fill: e.value.style.chart.layout.rect.useGradient && e.value.style.chart.layout.rect.gradientIntensity > 0 ? `url(#gradient_${S.value}_${o})` : i.value[o].color,
500
504
  stroke: e.value.style.chart.layout.rect.stroke,
501
505
  "stroke-width": e.value.style.chart.layout.rect.strokeWidth,
502
- filter: ee(i.value[o].serieIndex)
503
- }, null, 8, It))), 256))
506
+ filter: te(i.value[o].serieIndex)
507
+ }, null, 8, St))), 256))
504
508
  ], 64)),
505
- (s(!0), n($, null, V(G.value, (l, o) => (s(), n($, null, [
509
+ (s(!0), n($, null, V(R.value, (l, o) => (s(), n($, null, [
506
510
  !L.value && !e.value.style.chart.layout.grid.vertical && e.value.style.chart.layout.labels.captions.show && (i.value[o].isFirst && l.position < e.value.style.chart.layout.grid.size - 2 || i.value[o].isAbsoluteFirst && o % e.value.style.chart.layout.grid.size === 0 && i.value[o].absoluteStartIndex) ? (s(), n("foreignObject", {
507
511
  key: 0,
508
512
  x: l.x + e.value.style.chart.layout.labels.captions.offsetX + e.value.style.chart.layout.grid.spaceBetween / 2,
509
513
  y: l.y + e.value.style.chart.layout.labels.captions.offsetY + e.value.style.chart.layout.grid.spaceBetween / 2,
510
- height: X.value <= 0 ? 1e-4 : X.value,
514
+ height: Y.value <= 0 ? 1e-4 : Y.value,
511
515
  width: E.value * e.value.style.chart.layout.grid.size <= 0 ? 1e-4 : E.value * e.value.style.chart.layout.grid.size,
512
- filter: ee(i.value[o].serieIndex)
516
+ filter: te(i.value[o].serieIndex)
513
517
  }, [
514
- b("div", {
518
+ w("div", {
515
519
  class: "vue-ui-waffle-caption",
516
- style: U(`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:${y(Ze)(i.value[o].color)};gap:2px`)
520
+ style: j(`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:${p(et)(i.value[o].color)};gap:2px`)
517
521
  }, [
518
- e.value.style.chart.layout.labels.captions.showSerieName ? (s(), n("span", Ft, T(e.value.style.chart.layout.labels.captions.serieNameAbbreviation ? y(et)({ source: i.value[o].name, length: e.value.style.chart.layout.labels.captions.serieNameMaxAbbreviationSize }) : i.value[o].name) + ": ", 1)) : m("", !0),
519
- e.value.style.chart.layout.labels.captions.showPercentage ? (s(), n("span", zt, T(y(I)({ v: i.value[o].proportion, s: "%", r: e.value.style.chart.layout.labels.captions.roundingPercentage })), 1)) : m("", !0),
520
- e.value.style.chart.layout.labels.captions.showPercentage && e.value.style.chart.layout.labels.captions.showValue ? (s(), n("span", Pt, " (" + T(y(I)({ p: e.value.style.chart.layout.labels.dataLabels.prefix, v: i.value[o].value, s: e.value.style.chart.layout.labels.dataLabels.suffix, r: e.value.style.chart.layout.labels.captions.roundingValue })) + ") ", 1)) : m("", !0),
521
- !e.value.style.chart.layout.labels.captions.showPercentage && e.value.style.chart.layout.labels.captions.showValue ? (s(), n("span", Nt, T(y(I)({ p: e.value.style.chart.layout.labels.dataLabels.prefix, v: i.value[o].value, s: e.value.style.chart.layout.labels.dataLabels.suffix, r: e.value.style.chart.layout.labels.captions.roundingValue })), 1)) : m("", !0)
522
+ e.value.style.chart.layout.labels.captions.showSerieName ? (s(), n("span", Ft, T(e.value.style.chart.layout.labels.captions.serieNameAbbreviation ? p(tt)({ source: i.value[o].name, length: e.value.style.chart.layout.labels.captions.serieNameMaxAbbreviationSize }) : i.value[o].name) + ": ", 1)) : b("", !0),
523
+ e.value.style.chart.layout.labels.captions.showPercentage ? (s(), n("span", zt, T(p(I)({ v: i.value[o].proportion, s: "%", r: e.value.style.chart.layout.labels.captions.roundingPercentage })), 1)) : b("", !0),
524
+ e.value.style.chart.layout.labels.captions.showPercentage && e.value.style.chart.layout.labels.captions.showValue ? (s(), n("span", Nt, " (" + T(p(I)({ p: e.value.style.chart.layout.labels.dataLabels.prefix, v: i.value[o].value, s: e.value.style.chart.layout.labels.dataLabels.suffix, r: e.value.style.chart.layout.labels.captions.roundingValue })) + ") ", 1)) : b("", !0),
525
+ !e.value.style.chart.layout.labels.captions.showPercentage && e.value.style.chart.layout.labels.captions.showValue ? (s(), n("span", Lt, T(p(I)({ p: e.value.style.chart.layout.labels.dataLabels.prefix, v: i.value[o].value, s: e.value.style.chart.layout.labels.dataLabels.suffix, r: e.value.style.chart.layout.labels.captions.roundingValue })), 1)) : b("", !0)
522
526
  ], 4)
523
- ], 8, St)) : m("", !0)
527
+ ], 8, Pt)) : b("", !0)
524
528
  ], 64))), 256)),
525
- (s(!0), n($, null, V(G.value, (l, o) => (s(), n("rect", {
526
- onMouseover: (u) => Le(o),
529
+ (s(!0), n($, null, V(R.value, (l, o) => (s(), n("rect", {
530
+ onMouseover: (u) => Oe(o),
527
531
  onMouseleave: a[0] || (a[0] = (u) => {
528
- K.value = !1, O.value = null;
532
+ Q.value = !1, O.value = null;
529
533
  }),
530
534
  x: l.x + e.value.style.chart.layout.grid.spaceBetween / 2,
531
535
  y: l.y + e.value.style.chart.layout.grid.spaceBetween / 2,
532
- height: X.value <= 0 ? 1e-4 : X.value,
536
+ height: Y.value <= 0 ? 1e-4 : Y.value,
533
537
  width: E.value <= 0 ? 1e-4 : E.value,
534
538
  fill: "transparent",
535
539
  stroke: "none"
536
- }, null, 40, Lt))), 256)),
537
- g(t.$slots, "svg", { svg: F.value }, void 0, !0)
538
- ], 14, gt)) : m("", !0),
539
- t.$slots.watermark ? (s(), n("div", Bt, [
540
- g(t.$slots, "watermark", j(W({ isPrinting: y(re) || y(se) })), void 0, !0)
541
- ])) : m("", !0),
542
- H.value ? m("", !0) : (s(), J(ht, {
540
+ }, null, 40, Bt))), 256)),
541
+ m(t.$slots, "svg", { svg: P.value }, void 0, !0)
542
+ ], 14, mt)) : b("", !0),
543
+ t.$slots.watermark ? (s(), n("div", Ot, [
544
+ m(t.$slots, "watermark", W(q({ isPrinting: p(ne) || p(ie) })), void 0, !0)
545
+ ])) : b("", !0),
546
+ H.value ? b("", !0) : (s(), K(yt, {
543
547
  key: 4,
544
548
  config: {
545
549
  type: "waffle",
@@ -551,33 +555,33 @@ const xe = (M) => (Ee("data-v-766b8f65"), M = M(), Ge(), M), ft = ["id"], gt = [
551
555
  }
552
556
  }
553
557
  }, null, 8, ["config"])),
554
- b("div", {
558
+ w("div", {
555
559
  ref_key: "chartLegend",
556
- ref: ue
560
+ ref: re
557
561
  }, [
558
- e.value.style.chart.legend.show ? (s(), J(dt, {
562
+ e.value.style.chart.legend.show ? (s(), K(ht, {
559
563
  key: 0,
560
564
  legendSet: A.value,
561
- config: Ne.value,
562
- onClickMarker: a[1] || (a[1] = ({ legend: l }) => ye(l.uid))
565
+ config: Be.value,
566
+ onClickMarker: a[1] || (a[1] = ({ legend: l }) => ge(l.uid))
563
567
  }, {
564
- item: f(({ legend: l }) => [
565
- b("div", {
568
+ item: g(({ legend: l }) => [
569
+ w("div", {
566
570
  onClick: (o) => l.segregate(),
567
- style: U(`opacity:${p.value.includes(l.uid) ? 0.5 : 1}`)
571
+ style: j(`opacity:${h.value.includes(l.uid) ? 0.5 : 1}`)
568
572
  }, [
569
- we(T(l.name) + ": " + T(y(I)({ p: e.value.style.chart.layout.labels.dataLabels.prefix, v: l.value, s: e.value.style.chart.layout.labels.dataLabels.suffix, r: e.value.style.chart.legend.roundingValue, isAnimating: L.value })) + " ", 1),
570
- p.value.includes(l.uid) ? (s(), n("span", Vt, " ( - % ) ")) : (s(), n("span", At, " (" + T(isNaN(l.value / x.value) ? "-" : y(I)({ v: l.value / x.value * 100, s: "%", r: e.value.style.chart.legend.roundingPercentage, isAnimating: L.value })) + ") ", 1))
571
- ], 12, Ot)
573
+ xe(T(l.name) + ": " + T(p(I)({ p: e.value.style.chart.layout.labels.dataLabels.prefix, v: l.value, s: e.value.style.chart.layout.labels.dataLabels.suffix, r: e.value.style.chart.legend.roundingValue, isAnimating: L.value })) + " ", 1),
574
+ h.value.includes(l.uid) ? (s(), n("span", Mt, " ( - % ) ")) : (s(), n("span", Vt, " (" + T(isNaN(l.value / x.value) ? "-" : p(I)({ v: l.value / x.value * 100, s: "%", r: e.value.style.chart.legend.roundingPercentage, isAnimating: L.value })) + ") ", 1))
575
+ ], 12, At)
572
576
  ]),
573
577
  _: 1
574
- }, 8, ["legendSet", "config"])) : g(t.$slots, "legend", {
578
+ }, 8, ["legendSet", "config"])) : m(t.$slots, "legend", {
575
579
  key: 1,
576
580
  legend: A.value
577
581
  }, void 0, !0)
578
582
  ], 512),
579
- te(ct, {
580
- show: C.value.showTooltip && K.value && p.value.length < w.dataset.length,
583
+ ae(vt, {
584
+ show: C.value.showTooltip && Q.value && h.value.length < k.dataset.length,
581
585
  backgroundColor: e.value.style.chart.tooltip.backgroundColor,
582
586
  color: e.value.style.chart.tooltip.color,
583
587
  borderRadius: e.value.style.chart.tooltip.borderRadius,
@@ -587,19 +591,19 @@ const xe = (M) => (Ee("data-v-766b8f65"), M = M(), Ge(), M), ft = ["id"], gt = [
587
591
  position: e.value.style.chart.tooltip.position,
588
592
  offsetY: e.value.style.chart.tooltip.offsetY,
589
593
  parent: D.value,
590
- content: Q.value,
594
+ content: Z.value,
591
595
  isCustom: e.value.style.chart.tooltip.customFormat && typeof e.value.style.chart.tooltip.customFormat == "function",
592
596
  fontSize: e.value.style.chart.tooltip.fontSize
593
597
  }, {
594
- "tooltip-before": f(() => [
595
- g(t.$slots, "tooltip-before", j(W({ ...Z.value })), void 0, !0)
598
+ "tooltip-before": g(() => [
599
+ m(t.$slots, "tooltip-before", W(q({ ...ee.value })), void 0, !0)
596
600
  ]),
597
- "tooltip-after": f(() => [
598
- g(t.$slots, "tooltip-after", j(W({ ...Z.value })), void 0, !0)
601
+ "tooltip-after": g(() => [
602
+ m(t.$slots, "tooltip-after", W(q({ ...ee.value })), void 0, !0)
599
603
  ]),
600
604
  _: 3
601
605
  }, 8, ["show", "backgroundColor", "color", "borderRadius", "borderColor", "borderWidth", "backgroundOpacity", "position", "offsetY", "parent", "content", "isCustom", "fontSize"]),
602
- H.value ? (s(), J(pt, {
606
+ H.value ? (s(), K(pt, {
603
607
  key: 5,
604
608
  hideDetails: "",
605
609
  config: {
@@ -615,32 +619,32 @@ const xe = (M) => (Ee("data-v-766b8f65"), M = M(), Ge(), M), ft = ["id"], gt = [
615
619
  }
616
620
  }
617
621
  }, {
618
- content: f(() => [
619
- te(vt, {
620
- colNames: Y.value.colNames,
621
- head: Y.value.head,
622
- body: Y.value.body,
623
- config: Y.value.config,
622
+ content: g(() => [
623
+ ae(dt, {
624
+ colNames: J.value.colNames,
625
+ head: J.value.head,
626
+ body: J.value.body,
627
+ config: J.value.config,
624
628
  title: `${e.value.style.chart.title.text}${e.value.style.chart.title.subtitle.text ? ` : ${e.value.style.chart.title.subtitle.text}` : ""}`,
625
629
  onClose: a[2] || (a[2] = (l) => C.value.showTable = !1)
626
630
  }, {
627
- th: f(({ th: l }) => [
628
- b("div", {
631
+ th: g(({ th: l }) => [
632
+ w("div", {
629
633
  innerHTML: l,
630
634
  style: { display: "flex", "align-items": "center" }
631
- }, null, 8, Mt)
635
+ }, null, 8, Dt)
632
636
  ]),
633
- td: f(({ td: l }) => [
634
- we(T(l.name || l), 1)
637
+ td: g(({ td: l }) => [
638
+ xe(T(l.name || l), 1)
635
639
  ]),
636
640
  _: 1
637
641
  }, 8, ["colNames", "head", "body", "config", "title"])
638
642
  ]),
639
643
  _: 1
640
- }, 8, ["config"])) : m("", !0)
641
- ], 14, ft));
644
+ }, 8, ["config"])) : b("", !0)
645
+ ], 14, gt));
642
646
  }
643
- }, Qt = /* @__PURE__ */ yt(Dt, [["__scopeId", "data-v-766b8f65"]]);
647
+ }, Zt = /* @__PURE__ */ ft(Et, [["__scopeId", "data-v-33939b0e"]]);
644
648
  export {
645
- Qt as default
649
+ Zt as default
646
650
  };