vue-data-ui 2.4.50 → 2.4.51

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 (199) hide show
  1. package/README.md +12 -0
  2. package/dist/{Arrow-DuuEh1Nr.cjs → Arrow-2a_SwBgz.cjs} +1 -1
  3. package/dist/{Arrow-D1z9KkQN.js → Arrow-BUz63pb2.js} +1 -1
  4. package/dist/{BaseIcon-DemqZ_13.cjs → BaseIcon-BASl_NFX.cjs} +1 -1
  5. package/dist/{BaseIcon-BHwqOTt4.js → BaseIcon-CmiukQBl.js} +1 -1
  6. package/dist/{DataTable-CQ8fQnex.js → DataTable-DGf6RrOJ.js} +2 -2
  7. package/dist/{DataTable-CovKV5Yy.cjs → DataTable-G3ICK-5h.cjs} +1 -1
  8. package/dist/{Legend-Br7MWNDo.js → Legend-BLaZxMge.js} +1 -1
  9. package/dist/{Legend-Bbz-hKDf.cjs → Legend-BiuPlEMg.cjs} +1 -1
  10. package/dist/{PackageVersion-BEtuCME5.cjs → PackageVersion-Bj34UNnQ.cjs} +1 -1
  11. package/dist/{PackageVersion-BV3fHO46.js → PackageVersion-CxJghxYD.js} +1 -1
  12. package/dist/{PenAndPaper-BIcmfBvD.cjs → PenAndPaper-D9yQnc0e.cjs} +1 -1
  13. package/dist/{PenAndPaper-CCOywdmm.js → PenAndPaper-ZdZEumki.js} +3 -3
  14. package/dist/{Shape-B7Mekpyf.js → Shape-DIKzzpFm.js} +1 -1
  15. package/dist/{Shape-BD37ZaX9.cjs → Shape-yducHWd0.cjs} +1 -1
  16. package/dist/{Slicer-CWvkt-8k.cjs → Slicer-BHS9W4MJ.cjs} +1 -1
  17. package/dist/{Slicer-ahFReg7h.js → Slicer-Cxdl3cDt.js} +2 -2
  18. package/dist/{Title-C2siG5N2.cjs → Title-Bk_55doC.cjs} +1 -1
  19. package/dist/{Title-CIsKiWgN.js → Title-aSAft5dl.js} +1 -1
  20. package/dist/{Tooltip-CS4C58T7.cjs → Tooltip-G7ENx87_.cjs} +1 -1
  21. package/dist/{Tooltip-B1LgrF9R.js → Tooltip-smutPF--.js} +1 -1
  22. package/dist/{index-BtL_cLa8.js → index-BbPeL8Gp.js} +5 -1
  23. package/dist/index-DhDYBLBe.cjs +9 -0
  24. package/dist/style.css +1 -1
  25. package/dist/types/vue-data-ui.d.cts +5 -1
  26. package/dist/types/vue-data-ui.d.ts +5 -1
  27. package/dist/{useNestedProp-CEAfm1tu.js → useNestedProp-BN8claGG.js} +1 -1
  28. package/dist/{useNestedProp-D_feh7A_.cjs → useNestedProp-BphUExEh.cjs} +1 -1
  29. package/dist/{usePrinter-B4xDG31F.cjs → usePrinter-2_QjJFdH.cjs} +1 -1
  30. package/dist/{usePrinter-sRt2SKr2.js → usePrinter-DaybDVqP.js} +1 -1
  31. package/dist/useUserOptionState-BIvW1Kz7.js +17 -0
  32. package/dist/useUserOptionState-BgepsfED.cjs +1 -0
  33. package/dist/{vue-data-ui-CuEYAddV.cjs → vue-data-ui-C5vsHRHD.cjs} +1 -1
  34. package/dist/{vue-data-ui-NkhaiK6y.js → vue-data-ui-Ckbp-yIf.js} +60 -60
  35. package/dist/vue-data-ui.cjs +1 -1
  36. package/dist/vue-data-ui.js +1 -1
  37. package/dist/vue-ui-3d-bar-DUgumRsg.cjs +19 -0
  38. package/dist/{vue-ui-3d-bar-BeXYzdzu.js → vue-ui-3d-bar-wDYs3sVe.js} +345 -339
  39. package/dist/{vue-ui-accordion-Cjc683tN.js → vue-ui-accordion-5d5iVpr7.js} +3 -3
  40. package/dist/{vue-ui-accordion-CBxsUoGb.cjs → vue-ui-accordion-B7tNzRWB.cjs} +1 -1
  41. package/dist/{vue-ui-age-pyramid-rnt8M-Qz.js → vue-ui-age-pyramid-BH1khaaq.js} +260 -254
  42. package/dist/vue-ui-age-pyramid-Dxx1mVwR.cjs +1 -0
  43. package/dist/{vue-ui-annotator-CFU5Zyfk.js → vue-ui-annotator-B9VKE_qz.js} +1 -1
  44. package/dist/{vue-ui-annotator-Yu-mHS2N.cjs → vue-ui-annotator-jXkB5XnD.cjs} +1 -1
  45. package/dist/{vue-ui-bullet-CRbW1ON6.js → vue-ui-bullet-BLi9CSZw.js} +152 -146
  46. package/dist/vue-ui-bullet-QrXtipbT.cjs +34 -0
  47. package/dist/{vue-ui-candlestick-D-ERLtI1.js → vue-ui-candlestick-Bjz1uFbv.js} +223 -217
  48. package/dist/vue-ui-candlestick-Da4ygGXR.cjs +2 -0
  49. package/dist/{vue-ui-carousel-table-I1m4HMWf.js → vue-ui-carousel-table-B6zgTL-W.js} +160 -154
  50. package/dist/vue-ui-carousel-table-Cfif8Oiz.cjs +1 -0
  51. package/dist/vue-ui-chestnut-C_N7EbjQ.cjs +6 -0
  52. package/dist/{vue-ui-chestnut-CqJRKECX.js → vue-ui-chestnut-D5HpkuIa.js} +237 -231
  53. package/dist/{vue-ui-cursor-S83QIsxQ.cjs → vue-ui-cursor-A_siHYBc.cjs} +1 -1
  54. package/dist/{vue-ui-cursor-jrrdh8Lf.js → vue-ui-cursor-DZNIbvR2.js} +2 -2
  55. package/dist/{vue-ui-dashboard-DW1mIInG.cjs → vue-ui-dashboard-BfPJyiY9.cjs} +1 -1
  56. package/dist/{vue-ui-dashboard-DR_Bhwa3.js → vue-ui-dashboard-DCqe4BZg.js} +2 -2
  57. package/dist/{vue-ui-digits-1jZdiwHJ.js → vue-ui-digits-BEWCnojc.js} +2 -2
  58. package/dist/{vue-ui-digits-s5f9eFtW.cjs → vue-ui-digits-BEhLa3jI.cjs} +1 -1
  59. package/dist/vue-ui-donut-By3QRfkV.cjs +1 -0
  60. package/dist/{vue-ui-donut-evolution-DsHTZ9T2.js → vue-ui-donut-evolution-Cu6dmlT2.js} +300 -294
  61. package/dist/vue-ui-donut-evolution-DEABWsj0.cjs +1 -0
  62. package/dist/{vue-ui-donut-BAYiPsxp.js → vue-ui-donut-g5ZLhYPx.js} +376 -370
  63. package/dist/vue-ui-dumbbell-Dfb1l5qP.cjs +9 -0
  64. package/dist/{vue-ui-dumbbell-DcMmBxLy.js → vue-ui-dumbbell-bb4-Ep6o.js} +256 -250
  65. package/dist/vue-ui-flow-CCvTnu7z.cjs +1 -0
  66. package/dist/{vue-ui-flow-BTXEmIQG.js → vue-ui-flow-hD0F6mTK.js} +164 -158
  67. package/dist/vue-ui-funnel-DKxAPRi_.cjs +1 -0
  68. package/dist/{vue-ui-funnel-BB_h0FKg.js → vue-ui-funnel-hcbE4yky.js} +178 -172
  69. package/dist/{vue-ui-galaxy-DlBk1FUz.js → vue-ui-galaxy-ByKjxVWV.js} +187 -181
  70. package/dist/vue-ui-galaxy-D2kmqwpI.cjs +1 -0
  71. package/dist/vue-ui-gauge-BFA_unjg.cjs +1 -0
  72. package/dist/{vue-ui-gauge-1SFhSMfU.js → vue-ui-gauge-PGirbe6O.js} +220 -214
  73. package/dist/{vue-ui-gizmo-C8rLR4n5.cjs → vue-ui-gizmo-CHMApil6.cjs} +1 -1
  74. package/dist/{vue-ui-gizmo-CtX6KFN2.js → vue-ui-gizmo-ChSfBYZ_.js} +3 -3
  75. package/dist/vue-ui-heatmap-C0VxwPhr.cjs +1 -0
  76. package/dist/{vue-ui-heatmap-BzyvTePn.js → vue-ui-heatmap-CK3FIWpo.js} +270 -264
  77. package/dist/vue-ui-history-plot-BmGodgUx.cjs +1 -0
  78. package/dist/{vue-ui-history-plot-BEoHuZ3N.js → vue-ui-history-plot-EmQ-Byiz.js} +236 -230
  79. package/dist/{vue-ui-kpi-LO4KKRR9.cjs → vue-ui-kpi-BdungaO2.cjs} +1 -1
  80. package/dist/{vue-ui-kpi-BYOyJjYg.js → vue-ui-kpi-DjC68pSz.js} +3 -3
  81. package/dist/{vue-ui-mini-loader-ChHdx5me.js → vue-ui-mini-loader-CzrblCCD.js} +2 -2
  82. package/dist/{vue-ui-mini-loader-wlUD77O6.cjs → vue-ui-mini-loader-jwL_pZjb.cjs} +1 -1
  83. package/dist/{vue-ui-molecule-Bo7XYpf-.js → vue-ui-molecule-DBQJQs4Y.js} +294 -289
  84. package/dist/vue-ui-molecule-Dzh-0SWI.cjs +1 -0
  85. package/dist/{vue-ui-mood-radar-DXj4Ce6l.js → vue-ui-mood-radar-Ca9wPZpJ.js} +205 -199
  86. package/dist/vue-ui-mood-radar-DV6ZZIXF.cjs +1 -0
  87. package/dist/{vue-ui-nested-donuts-BBLpNVwF.js → vue-ui-nested-donuts-C8at93dN.js} +286 -280
  88. package/dist/vue-ui-nested-donuts-DEdS6dpj.cjs +17 -0
  89. package/dist/{vue-ui-onion-DC8VIInA.js → vue-ui-onion-B-PXxNu6.js} +198 -192
  90. package/dist/vue-ui-onion-B2ioudP5.cjs +5 -0
  91. package/dist/{vue-ui-parallel-coordinate-plot-Cl1wiHsK.js → vue-ui-parallel-coordinate-plot-ByM3So9k.js} +236 -230
  92. package/dist/vue-ui-parallel-coordinate-plot-DtJi9cT0.cjs +8 -0
  93. package/dist/{vue-ui-quadrant-b5cuEH9z.js → vue-ui-quadrant-BqOJBcsI.js} +255 -249
  94. package/dist/vue-ui-quadrant-CIr4i6cC.cjs +1 -0
  95. package/dist/{vue-ui-quick-chart-CFBPYw2J.js → vue-ui-quick-chart-BfXxT3KM.js} +474 -466
  96. package/dist/vue-ui-quick-chart-Bt9KA82P.cjs +15 -0
  97. package/dist/{vue-ui-radar-DP8360kx.js → vue-ui-radar-BKpD9xDr.js} +256 -250
  98. package/dist/vue-ui-radar-Czmsd_uv.cjs +1 -0
  99. package/dist/{vue-ui-rating-D7b-kfyp.cjs → vue-ui-rating-BE545aI4.cjs} +1 -1
  100. package/dist/{vue-ui-rating-DIthBSp_.js → vue-ui-rating-DQRuqev5.js} +2 -2
  101. package/dist/vue-ui-relation-circle-B1uMTqFP.cjs +1 -0
  102. package/dist/vue-ui-relation-circle-nZ2nBpWX.js +498 -0
  103. package/dist/vue-ui-rings-B7JzZ3ub.cjs +2 -0
  104. package/dist/{vue-ui-rings-y9Zx-DaI.js → vue-ui-rings-C1PV0873.js} +177 -172
  105. package/dist/vue-ui-scatter-CTI943ks.cjs +1 -0
  106. package/dist/{vue-ui-scatter-Cbu5GDc1.js → vue-ui-scatter-dgs1m3-2.js} +310 -304
  107. package/dist/{vue-ui-screenshot-oH-YnZBE.cjs → vue-ui-screenshot--cHV0jG3.cjs} +1 -1
  108. package/dist/{vue-ui-screenshot-BZh_sgjP.js → vue-ui-screenshot-Dxj0l8Jg.js} +1 -1
  109. package/dist/{vue-ui-skeleton-DjFU2X3P.js → vue-ui-skeleton-Bniq21d9.js} +3 -3
  110. package/dist/{vue-ui-skeleton-Nuju6X7l.cjs → vue-ui-skeleton-lkPDknHn.cjs} +1 -1
  111. package/dist/{vue-ui-smiley-DtQVEc4B.cjs → vue-ui-smiley-CozXoiti.cjs} +1 -1
  112. package/dist/{vue-ui-smiley-DdnzzEYS.js → vue-ui-smiley-D4DAZIpA.js} +2 -2
  113. package/dist/{vue-ui-spark-trend-B36zW41F.cjs → vue-ui-spark-trend-CSqyvI_K.cjs} +1 -1
  114. package/dist/{vue-ui-spark-trend-CaIGk_53.js → vue-ui-spark-trend-ZqrwhwqS.js} +5 -5
  115. package/dist/{vue-ui-sparkbar-iQKGtxo8.cjs → vue-ui-sparkbar-Bph8KIjk.cjs} +1 -1
  116. package/dist/{vue-ui-sparkbar-DixeozKp.js → vue-ui-sparkbar-q0G4GvFm.js} +4 -4
  117. package/dist/{vue-ui-sparkgauge-C01VB6KP.js → vue-ui-sparkgauge-DA_h9jcN.js} +4 -4
  118. package/dist/{vue-ui-sparkgauge-DEvgucF7.cjs → vue-ui-sparkgauge-nSAW83dN.cjs} +1 -1
  119. package/dist/{vue-ui-sparkhistogram-C_6lHF3O.js → vue-ui-sparkhistogram-B1WyBiq_.js} +5 -5
  120. package/dist/{vue-ui-sparkhistogram-CTUuxOma.cjs → vue-ui-sparkhistogram-BLYhRNpt.cjs} +1 -1
  121. package/dist/{vue-ui-sparkline-DrZWPGOG.cjs → vue-ui-sparkline-PNix1-R9.cjs} +1 -1
  122. package/dist/{vue-ui-sparkline-Btm4HVgi.js → vue-ui-sparkline-ccfl0s3m.js} +4 -4
  123. package/dist/{vue-ui-sparkstackbar-7pcfCNMr.cjs → vue-ui-sparkstackbar-DpuvEumy.cjs} +1 -1
  124. package/dist/{vue-ui-sparkstackbar-D0UGUm-1.js → vue-ui-sparkstackbar-PNKwVRu8.js} +5 -5
  125. package/dist/{vue-ui-stackbar-BPMDmY04.js → vue-ui-stackbar-BBYnF8qm.js} +367 -361
  126. package/dist/vue-ui-stackbar-D4AIFoQT.cjs +6 -0
  127. package/dist/vue-ui-strip-plot-ClNxSw9M.cjs +1 -0
  128. package/dist/{vue-ui-strip-plot-BfWQMGXy.js → vue-ui-strip-plot-TVlnzXFq.js} +269 -263
  129. package/dist/{vue-ui-table-Cdo265Yt.cjs → vue-ui-table-CHdv3KuM.cjs} +1 -1
  130. package/dist/{vue-ui-table-D8GaLhM9.js → vue-ui-table-CsEajH9S.js} +1 -1
  131. package/dist/vue-ui-table-heatmap-BE3UT8U9.cjs +1 -0
  132. package/dist/vue-ui-table-heatmap-CubRipoB.js +262 -0
  133. package/dist/vue-ui-table-sparkline-BeYviUrb.cjs +1 -0
  134. package/dist/{vue-ui-table-sparkline-DMHf03C9.js → vue-ui-table-sparkline-YV8DUOqh.js} +173 -167
  135. package/dist/vue-ui-thermometer-C6lMWRiF.cjs +1 -0
  136. package/dist/{vue-ui-thermometer-BCVqil7E.js → vue-ui-thermometer-DmMjSLc1.js} +170 -164
  137. package/dist/{vue-ui-timer-gxiLCP1n.cjs → vue-ui-timer-DteYgv9y.cjs} +1 -1
  138. package/dist/{vue-ui-timer-DF5HkeeS.js → vue-ui-timer-DvE_nqd9.js} +5 -5
  139. package/dist/vue-ui-tiremarks-CCrkDgjX.js +323 -0
  140. package/dist/vue-ui-tiremarks-PGGgsNgS.cjs +1 -0
  141. package/dist/vue-ui-treemap-BzRVKqXL.cjs +1 -0
  142. package/dist/{vue-ui-treemap-CIZaPmbi.js → vue-ui-treemap-C4A4spvg.js} +243 -237
  143. package/dist/{vue-ui-vertical-bar-dQoTddqU.js → vue-ui-vertical-bar-8iL1xiaz.js} +238 -232
  144. package/dist/vue-ui-vertical-bar-B60lSXNq.cjs +4 -0
  145. package/dist/{vue-ui-waffle-CnvWOEVU.js → vue-ui-waffle-CaYNz-Kd.js} +316 -310
  146. package/dist/vue-ui-waffle-O8pAEf4X.cjs +1 -0
  147. package/dist/vue-ui-wheel-BRR2rGou.js +305 -0
  148. package/dist/vue-ui-wheel-CnFdB_B1.cjs +1 -0
  149. package/dist/vue-ui-word-cloud-X4mp280j.cjs +1 -0
  150. package/dist/{vue-ui-word-cloud-o3zU6r0-.js → vue-ui-word-cloud-y2GGxwoq.js} +246 -240
  151. package/dist/{vue-ui-xy-GR4PGBDy.js → vue-ui-xy-CXoWP8bh.js} +708 -697
  152. package/dist/vue-ui-xy-CbM75yXK.cjs +3 -0
  153. package/dist/{vue-ui-xy-canvas-BKGOnjut.js → vue-ui-xy-canvas-D7MrUJj7.js} +334 -328
  154. package/dist/vue-ui-xy-canvas-DWvIvSry.cjs +9 -0
  155. package/package.json +1 -1
  156. package/dist/index-DoD-GxZR.cjs +0 -9
  157. package/dist/vue-ui-3d-bar-RduHvzwG.cjs +0 -19
  158. package/dist/vue-ui-age-pyramid-DVtbyRJw.cjs +0 -1
  159. package/dist/vue-ui-bullet-Be5aYhtp.cjs +0 -34
  160. package/dist/vue-ui-candlestick-B6wSs-JC.cjs +0 -2
  161. package/dist/vue-ui-carousel-table-7reErH8M.cjs +0 -1
  162. package/dist/vue-ui-chestnut-D-WzX16q.cjs +0 -6
  163. package/dist/vue-ui-donut-Ce1SaXNu.cjs +0 -1
  164. package/dist/vue-ui-donut-evolution-DI8yeIa4.cjs +0 -1
  165. package/dist/vue-ui-dumbbell-CFJkwtM8.cjs +0 -9
  166. package/dist/vue-ui-flow-B4MtorhO.cjs +0 -1
  167. package/dist/vue-ui-funnel-DNL12vLQ.cjs +0 -1
  168. package/dist/vue-ui-galaxy-CmCZGOKz.cjs +0 -1
  169. package/dist/vue-ui-gauge-B7ieQMud.cjs +0 -1
  170. package/dist/vue-ui-heatmap-Bfi3KJwS.cjs +0 -1
  171. package/dist/vue-ui-history-plot-5kZ54hgy.cjs +0 -1
  172. package/dist/vue-ui-molecule-D-4cRS5w.cjs +0 -1
  173. package/dist/vue-ui-mood-radar-C3x_LH7Q.cjs +0 -1
  174. package/dist/vue-ui-nested-donuts-DrL7-SUd.cjs +0 -17
  175. package/dist/vue-ui-onion-8Vz3lPbn.cjs +0 -5
  176. package/dist/vue-ui-parallel-coordinate-plot-D6q4WQ0B.cjs +0 -8
  177. package/dist/vue-ui-quadrant-DBZS5jFQ.cjs +0 -1
  178. package/dist/vue-ui-quick-chart-Cno_1mzu.cjs +0 -15
  179. package/dist/vue-ui-radar-ChcBO21S.cjs +0 -1
  180. package/dist/vue-ui-relation-circle-C5pO0iHY.cjs +0 -1
  181. package/dist/vue-ui-relation-circle-D2iwmChn.js +0 -492
  182. package/dist/vue-ui-rings-C_NLJYs8.cjs +0 -2
  183. package/dist/vue-ui-scatter-BNeMGDNk.cjs +0 -1
  184. package/dist/vue-ui-stackbar-BwRdmPvB.cjs +0 -6
  185. package/dist/vue-ui-strip-plot-CLN9LikJ.cjs +0 -1
  186. package/dist/vue-ui-table-heatmap-C4DRSfsE.js +0 -256
  187. package/dist/vue-ui-table-heatmap-CDAf1IIk.cjs +0 -1
  188. package/dist/vue-ui-table-sparkline-Cw7NOiYx.cjs +0 -1
  189. package/dist/vue-ui-thermometer-7BORZJjd.cjs +0 -1
  190. package/dist/vue-ui-tiremarks-CwGnFx4f.cjs +0 -1
  191. package/dist/vue-ui-tiremarks-lidhcJsi.js +0 -317
  192. package/dist/vue-ui-treemap-BZ_LmiBK.cjs +0 -1
  193. package/dist/vue-ui-vertical-bar-venrkqjM.cjs +0 -4
  194. package/dist/vue-ui-waffle-oR54BbIg.cjs +0 -1
  195. package/dist/vue-ui-wheel-BUHZEzPr.cjs +0 -1
  196. package/dist/vue-ui-wheel-D3itrMku.js +0 -299
  197. package/dist/vue-ui-word-cloud-87gwksmM.cjs +0 -1
  198. package/dist/vue-ui-xy-D56pm4L0.cjs +0 -3
  199. package/dist/vue-ui-xy-canvas-uikeVe72.cjs +0 -9
@@ -1,30 +1,31 @@
1
- import { computed as v, ref as c, watch as Ae, onMounted as Je, onBeforeUnmount as Ke, openBlock as s, createElementBlock as n, normalizeClass as Fe, normalizeStyle as Z, createBlock as N, createCommentVNode as f, unref as h, createSlots as Qe, withCtx as m, renderSlot as g, normalizeProps as G, guardReactiveProps as R, createVNode as ze, createElementVNode as k, Fragment as I, renderList as U, toDisplayString as S, createTextVNode as Ne, nextTick as Ze, pushScopeId as et, popScopeId as tt } from "vue";
2
- import { u as at, c as lt, t as ot, a as ut, p as O, o as st, e as se, g as rt, b as nt, i as j, f as x, X as it, s as ct, w as vt, G as dt, L as ht, d as pt, x as yt, y as ft, q as gt, r as mt } from "./index-BtL_cLa8.js";
3
- import { t as bt, u as wt } from "./useResponsive-CoxXLe23.js";
4
- import { _ as kt } from "./Title-CIsKiWgN.js";
5
- import { u as xt, U as Ct } from "./usePrinter-sRt2SKr2.js";
6
- import { _ as _t } from "./Tooltip-B1LgrF9R.js";
7
- import { D as $t } from "./DataTable-CQ8fQnex.js";
8
- import { L as Tt } from "./Legend-Br7MWNDo.js";
9
- import It from "./vue-ui-skeleton-DjFU2X3P.js";
10
- import St from "./vue-ui-accordion-Cjc683tN.js";
11
- import { u as Oe } from "./useNestedProp-CEAfm1tu.js";
12
- import { _ as Pt } from "./PackageVersion-BV3fHO46.js";
13
- import { P as Lt } from "./PenAndPaper-CCOywdmm.js";
14
- import { _ as At } from "./_plugin-vue_export-helper-CHgC5LLL.js";
15
- const Be = (E) => (et("data-v-6c74341a"), E = E(), tt(), E), Ft = ["id"], zt = ["xmlns", "viewBox"], Nt = ["id"], Ot = ["stop-color"], Bt = ["stop-color"], Vt = ["id"], Mt = /* @__PURE__ */ Be(() => /* @__PURE__ */ k("feGaussianBlur", {
1
+ import { computed as d, ref as c, watch as ze, onMounted as Ze, onBeforeUnmount as et, openBlock as s, createElementBlock as n, normalizeClass as Ne, normalizeStyle as X, unref as v, createBlock as z, createCommentVNode as f, createSlots as tt, withCtx as b, renderSlot as g, normalizeProps as U, guardReactiveProps as G, createVNode as Be, createElementVNode as k, Fragment as I, renderList as R, toDisplayString as S, createTextVNode as Ve, nextTick as lt, pushScopeId as at, popScopeId as ot } from "vue";
2
+ import { u as ut, c as st, t as rt, a as nt, p as N, o as it, e as se, g as ct, b as vt, i as j, f as x, X as dt, s as ht, w as pt, G as yt, L as ft, d as gt, x as bt, y as mt, q as wt, r as kt } from "./index-BbPeL8Gp.js";
3
+ import { t as xt, u as Ct } from "./useResponsive-CoxXLe23.js";
4
+ import { _ as _t } from "./Title-aSAft5dl.js";
5
+ import { u as $t, U as Tt } from "./usePrinter-DaybDVqP.js";
6
+ import { _ as It } from "./Tooltip-smutPF--.js";
7
+ import { D as St } from "./DataTable-DGf6RrOJ.js";
8
+ import { L as Pt } from "./Legend-BLaZxMge.js";
9
+ import Lt from "./vue-ui-skeleton-Bniq21d9.js";
10
+ import Ot from "./vue-ui-accordion-5d5iVpr7.js";
11
+ import { u as Me } from "./useNestedProp-BN8claGG.js";
12
+ import { _ as At } from "./PackageVersion-CxJghxYD.js";
13
+ import { P as Ft } from "./PenAndPaper-ZdZEumki.js";
14
+ import { u as zt } from "./useUserOptionState-BIvW1Kz7.js";
15
+ import { _ as Nt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
16
+ const De = (E) => (at("data-v-7fed69c0"), E = E(), ot(), E), Bt = ["id"], Vt = ["xmlns", "viewBox"], Mt = ["id"], Dt = ["stop-color"], Ut = ["stop-color"], Gt = ["id"], Rt = /* @__PURE__ */ De(() => /* @__PURE__ */ k("feGaussianBlur", {
16
17
  in: "SourceGraphic",
17
18
  stdDeviation: 2
18
- }, null, -1)), Dt = /* @__PURE__ */ Be(() => /* @__PURE__ */ k("feColorMatrix", {
19
+ }, null, -1)), jt = /* @__PURE__ */ De(() => /* @__PURE__ */ k("feColorMatrix", {
19
20
  type: "saturate",
20
21
  values: "0"
21
- }, null, -1)), Gt = [
22
- Mt,
23
- Dt
24
- ], Rt = ["x", "y", "height", "width"], Ut = ["height", "width"], jt = ["rx", "x", "y", "height", "width", "stroke", "stroke-width", "filter"], Et = ["rx", "x", "y", "height", "width", "fill", "stroke", "stroke-width", "filter"], Wt = ["x", "y", "height", "width", "filter"], qt = { key: 0 }, Ht = { key: 1 }, Xt = { key: 2 }, Yt = { key: 3 }, Jt = ["onMouseover", "x", "y", "height", "width"], Kt = {
22
+ }, null, -1)), Et = [
23
+ Rt,
24
+ jt
25
+ ], Wt = ["x", "y", "height", "width"], qt = ["height", "width"], Ht = ["rx", "x", "y", "height", "width", "stroke", "stroke-width", "filter"], Xt = ["rx", "x", "y", "height", "width", "fill", "stroke", "stroke-width", "filter"], Yt = ["x", "y", "height", "width", "filter"], Jt = { key: 0 }, Kt = { key: 1 }, Qt = { key: 2 }, Zt = { key: 3 }, el = ["onMouseover", "x", "y", "height", "width"], tl = {
25
26
  key: 5,
26
27
  class: "vue-data-ui-watermark"
27
- }, Qt = ["onClick"], Zt = { key: 0 }, ea = { key: 1 }, ta = ["innerHTML"], aa = {
28
+ }, ll = ["onClick"], al = { key: 0 }, ol = { key: 1 }, ul = ["innerHTML"], sl = {
28
29
  __name: "vue-ui-waffle",
29
30
  props: {
30
31
  config: {
@@ -41,67 +42,67 @@ const Be = (E) => (et("data-v-6c74341a"), E = E(), tt(), E), Ft = ["id"], zt = [
41
42
  }
42
43
  },
43
44
  emits: ["selectLegend"],
44
- setup(E, { expose: Ve, emit: Me }) {
45
- const b = E, { vue_ui_waffle: De } = at(), X = v(() => !!b.dataset && b.dataset.length), P = c(lt()), Ge = c(null), ee = c(!1), te = c(""), B = c(null), re = c(0), V = c(null), ne = c(null), ie = c(null), ce = c(null), ve = c(null), de = c(0), he = c(0), pe = c(0), e = v({
46
- get: () => ye(),
45
+ setup(E, { expose: Ue, emit: Ge }) {
46
+ const m = E, { vue_ui_waffle: Re } = ut(), Y = d(() => !!m.dataset && m.dataset.length), P = c(st()), je = c(null), ee = c(!1), te = c(""), B = c(null), re = c(0), V = c(null), ne = c(null), ie = c(null), ce = c(null), ve = c(null), de = c(0), he = c(0), pe = c(0), e = d({
47
+ get: () => be(),
47
48
  set: (t) => t
48
- });
49
- function ye() {
50
- const t = Oe({
51
- userConfig: b.config,
52
- defaultConfig: De
49
+ }), { userOptionsVisible: ye, setUserOptionsVisibility: fe, keepUserOptionState: ge } = zt({ config: e.value });
50
+ function be() {
51
+ const t = Me({
52
+ userConfig: m.config,
53
+ defaultConfig: Re
53
54
  });
54
55
  return t.theme ? {
55
- ...Oe({
56
- userConfig: ot.vue_ui_waffle[t.theme] || b.config,
56
+ ...Me({
57
+ userConfig: rt.vue_ui_waffle[t.theme] || m.config,
57
58
  defaultConfig: t
58
59
  }),
59
- customPalette: ut[t.theme] || O
60
+ customPalette: nt[t.theme] || N
60
61
  } : t;
61
62
  }
62
- Ae(() => b.config, (t) => {
63
- e.value = ye(), fe(), de.value += 1, he.value += 1, pe.value += 1;
63
+ ze(() => m.config, (t) => {
64
+ e.value = be(), me(), de.value += 1, he.value += 1, pe.value += 1;
64
65
  }, { deep: !0 });
65
- const Y = c(null);
66
- function fe() {
67
- if (st(b.dataset) ? se({
66
+ const J = c(null);
67
+ function me() {
68
+ if (it(m.dataset) ? se({
68
69
  componentName: "VueUiWaffle",
69
70
  type: "dataset"
70
- }) : b.dataset.forEach((t, o) => {
71
- rt({
71
+ }) : m.dataset.forEach((t, a) => {
72
+ ct({
72
73
  datasetObject: t,
73
74
  requiredAttributes: ["name", "values"]
74
- }).forEach((a) => {
75
+ }).forEach((l) => {
75
76
  se({
76
77
  componentName: "VueUiWaffle",
77
78
  type: "datasetSerieAttribute",
78
- property: a,
79
- index: o
79
+ property: l,
80
+ index: a
80
81
  });
81
82
  });
82
83
  }), e.value.responsive) {
83
- const t = bt(() => {
84
- const { width: o, height: a } = wt({
84
+ const t = xt(() => {
85
+ const { width: a, height: l } = Ct({
85
86
  chart: V.value,
86
87
  title: e.value.style.chart.title.text ? ne.value : null,
87
88
  legend: e.value.style.chart.legend.show ? ie.value : null,
88
89
  source: ce.value,
89
90
  noTitle: ve.value
90
91
  });
91
- L.value.width = o, L.value.height = a, C.value.width = o, C.value.height = a;
92
+ L.value.width = a, L.value.height = l, C.value.width = a, C.value.height = l;
92
93
  });
93
- Y.value = new ResizeObserver(t), Y.value.observe(V.value.parentNode);
94
+ J.value = new ResizeObserver(t), J.value.observe(V.value.parentNode);
94
95
  }
95
96
  }
96
- Je(() => {
97
- fe();
98
- }), Ke(() => {
99
- Y.value && Y.value.disconnect();
97
+ Ze(() => {
98
+ me();
99
+ }), et(() => {
100
+ J.value && J.value.disconnect();
100
101
  });
101
- const { isPrinting: ge, isImaging: me, generatePdf: be, generateImage: we } = xt({
102
+ const { isPrinting: we, isImaging: ke, generatePdf: xe, generateImage: Ce } = $t({
102
103
  elementId: `vue-ui-waffle_${P.value}`,
103
104
  fileName: e.value.style.chart.title.text || "vue-ui-waffle"
104
- }), Re = v(() => e.value.userOptions.show && !e.value.style.chart.title.text), ke = v(() => nt(e.value.customPalette)), T = c({
105
+ }), Ee = d(() => e.value.userOptions.show && !e.value.style.chart.title.text), _e = d(() => vt(e.value.customPalette)), T = c({
105
106
  showTable: e.value.table.show,
106
107
  showTooltip: e.value.style.chart.tooltip.show
107
108
  }), L = c({
@@ -112,230 +113,230 @@ const Be = (E) => (et("data-v-6c74341a"), E = E(), tt(), E), Ft = ["id"], zt = [
112
113
  left: 0,
113
114
  height: 512,
114
115
  width: 512
115
- }), A = v(() => (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 = v(() => (C.value.height - e.value.style.chart.layout.grid.size * e.value.style.chart.layout.grid.spaceBetween) / e.value.style.chart.layout.grid.size), W = v(() => C.value.width / e.value.style.chart.layout.grid.size), J = v(() => C.value.height / e.value.style.chart.layout.grid.size);
116
- function xe(t) {
117
- const o = e.value.style.chart.layout.grid.size * e.value.style.chart.layout.grid.size, a = t.reduce((w, ue) => w + ue, 0), l = t.map((w) => w / a * o), u = l.map(Math.floor), i = l.map((w) => w % 1);
118
- let y = o - u.reduce((w, ue) => w + ue, 0);
116
+ }), O = d(() => (C.value.width - e.value.style.chart.layout.grid.size * e.value.style.chart.layout.grid.spaceBetween) / e.value.style.chart.layout.grid.size), A = d(() => (C.value.height - e.value.style.chart.layout.grid.size * e.value.style.chart.layout.grid.spaceBetween) / e.value.style.chart.layout.grid.size), W = d(() => C.value.width / e.value.style.chart.layout.grid.size), K = d(() => C.value.height / e.value.style.chart.layout.grid.size);
117
+ function $e(t) {
118
+ const a = e.value.style.chart.layout.grid.size * e.value.style.chart.layout.grid.size, l = t.reduce((w, ue) => w + ue, 0), o = t.map((w) => w / l * a), u = o.map(Math.floor), i = o.map((w) => w % 1);
119
+ let y = a - u.reduce((w, ue) => w + ue, 0);
119
120
  for (; y > 0; ) {
120
121
  let w = i.indexOf(Math.max(...i));
121
122
  u[w] += 1, i[w] = 0, y -= 1;
122
123
  }
123
124
  return u;
124
125
  }
125
- function Ce() {
126
- return b.dataset.map((t, o) => ({
126
+ function Te() {
127
+ return m.dataset.map((t, a) => ({
127
128
  ...t,
128
- color: pt(t.color) || ke.value[o] || O[o] || O[o % O.length],
129
- uid: `serie_${o}`,
130
- absoluteIndex: o
129
+ color: gt(t.color) || _e.value[a] || N[a] || N[a % N.length],
130
+ uid: `serie_${a}`,
131
+ absoluteIndex: a
131
132
  }));
132
133
  }
133
- const _e = v(() => Ce()), d = c(_e.value);
134
- Ae(() => b.dataset, (t) => {
135
- d.value = Ce();
134
+ const Ie = d(() => Te()), h = c(Ie.value);
135
+ ze(() => m.dataset, (t) => {
136
+ h.value = Te();
136
137
  }, { deep: !0 });
137
- const Ue = v(() => {
138
- const t = d.value.filter((o, a) => !p.value.includes(o.uid)).map((o, a) => (o.values || []).reduce((l, u) => l + u, 0));
139
- return xe(t);
140
- }), je = v(() => {
141
- const t = d.value.map((o, a) => (o.values || []).reduce((l, u) => l + u));
142
- return xe(t);
143
- }), q = v(() => (b.dataset.forEach((t, o) => {
138
+ const We = d(() => {
139
+ const t = h.value.filter((a, l) => !p.value.includes(a.uid)).map((a, l) => (a.values || []).reduce((o, u) => o + u, 0));
140
+ return $e(t);
141
+ }), qe = d(() => {
142
+ const t = h.value.map((a, l) => (a.values || []).reduce((o, u) => o + u));
143
+ return $e(t);
144
+ }), q = d(() => (m.dataset.forEach((t, a) => {
144
145
  [null, void 0].includes(t.values) && se({
145
146
  componentName: "VueUiWaffle",
146
147
  type: "datasetSerieAttribute",
147
148
  property: "values (number[])",
148
- index: o
149
+ index: a
149
150
  });
150
- }), d.value.filter((t, o) => !p.value.includes(t.uid)).map((t, o) => ({
151
+ }), h.value.filter((t, a) => !p.value.includes(t.uid)).map((t, a) => ({
151
152
  absoluteIndex: t.absoluteIndex,
152
153
  uid: t.uid,
153
154
  name: t.name,
154
155
  color: t.color,
155
- value: (t.values || []).reduce((a, l) => a + l, 0),
156
+ value: (t.values || []).reduce((l, o) => l + o, 0),
156
157
  absoluteValues: t.values || [],
157
- proportion: Ue.value[o]
158
- })))), Ee = v(() => d.value.map((t, o) => ({
158
+ proportion: We.value[a]
159
+ })))), He = d(() => h.value.map((t, a) => ({
159
160
  absoluteIndex: t.absoluteIndex,
160
161
  uid: t.uid,
161
162
  name: t.name,
162
163
  color: t.color,
163
- value: (t.values || []).reduce((a, l) => a + l, 0),
164
+ value: (t.values || []).reduce((l, o) => l + o, 0),
164
165
  absoluteValues: t.values || [],
165
- proportion: je.value[o]
166
+ proportion: qe.value[a]
166
167
  })));
167
- function We() {
168
- return Ee.value.map((t) => ({
168
+ function Xe() {
169
+ return He.value.map((t) => ({
169
170
  name: t.name,
170
171
  color: t.color,
171
172
  value: t.value,
172
173
  proportion: t.proportion
173
174
  }));
174
175
  }
175
- const qe = v(() => {
176
+ const Ye = d(() => {
176
177
  let t = 0;
177
- return q.value.map((o, a) => {
178
- const l = t, u = l + o.proportion, i = [];
179
- for (let y = Math.floor(l); y < Math.floor(u); y += 1)
178
+ return q.value.map((a, l) => {
179
+ const o = t, u = o + a.proportion, i = [];
180
+ for (let y = Math.floor(o); y < Math.floor(u); y += 1)
180
181
  i.push(y);
181
182
  return t = u, {
182
- ...o,
183
- start: l,
183
+ ...a,
184
+ start: o,
184
185
  rects: i
185
186
  };
186
187
  });
187
- }), r = v(() => qe.value.flatMap((t, o) => t.rects.map((a, l) => ({
188
- isFirst: l === 0,
189
- isLongEnough: a.length > 2,
188
+ }), r = d(() => Ye.value.flatMap((t, a) => t.rects.map((l, o) => ({
189
+ isFirst: o === 0,
190
+ isLongEnough: l.length > 2,
190
191
  name: t.name,
191
192
  color: t.color,
192
193
  value: t.value,
193
- serieIndex: o,
194
- absoluteStartIndex: l < 3,
194
+ serieIndex: a,
195
+ absoluteStartIndex: o < 3,
195
196
  serieId: t.uid,
196
197
  ...t
197
- }))).map((t, o) => ({
198
+ }))).map((t, a) => ({
198
199
  ...t,
199
- isAbsoluteFirst: o % e.value.style.chart.layout.grid.size === 0
200
- }))), H = v(() => {
200
+ isAbsoluteFirst: a % e.value.style.chart.layout.grid.size === 0
201
+ }))), H = d(() => {
201
202
  const t = [];
202
- for (let o = 0; o < e.value.style.chart.layout.grid.size; o += 1)
203
- for (let a = 0; a < e.value.style.chart.layout.grid.size; a += 1)
203
+ for (let a = 0; a < e.value.style.chart.layout.grid.size; a += 1)
204
+ for (let l = 0; l < e.value.style.chart.layout.grid.size; l += 1)
204
205
  t.push({
205
- isStartOfLine: a === 0,
206
- position: e.value.style.chart.layout.grid.vertical ? o : a,
207
- x: (e.value.style.chart.layout.grid.vertical ? o : a) * (A.value + e.value.style.chart.layout.grid.spaceBetween),
208
- y: (e.value.style.chart.layout.grid.vertical ? a : o) * (F.value + e.value.style.chart.layout.grid.spaceBetween) + C.value.top
206
+ isStartOfLine: l === 0,
207
+ position: e.value.style.chart.layout.grid.vertical ? a : l,
208
+ x: (e.value.style.chart.layout.grid.vertical ? a : l) * (O.value + e.value.style.chart.layout.grid.spaceBetween),
209
+ y: (e.value.style.chart.layout.grid.vertical ? l : a) * (A.value + e.value.style.chart.layout.grid.spaceBetween) + C.value.top
209
210
  });
210
211
  return t;
211
- }), p = c([]), z = c(!1), $e = c(null), Te = c(null);
212
- function Ie(t) {
212
+ }), p = c([]), F = c(!1), Se = c(null), Pe = c(null);
213
+ function Le(t) {
213
214
  if (!e.value.useAnimation) {
214
215
  p.value.includes(t) ? p.value = p.value.filter((u) => u !== t) : p.value.length < M.value.length - 1 && M.value.length > 1 && p.value.push(t);
215
216
  return;
216
217
  }
217
- const o = _e.value.find((u) => u.uid === t).values.reduce((u, i) => u + i, 0);
218
- let l = d.value.find((u) => u.uid === t).values.reduce((u, i) => u + i, 0);
218
+ const a = Ie.value.find((u) => u.uid === t).values.reduce((u, i) => u + i, 0);
219
+ let o = h.value.find((u) => u.uid === t).values.reduce((u, i) => u + i, 0);
219
220
  if (p.value.includes(t)) {
220
221
  let i = function() {
221
- l > u ? (cancelAnimationFrame($e.value), d.value = d.value.map((y, w) => y.uid === t ? {
222
+ o > u ? (cancelAnimationFrame(Se.value), h.value = h.value.map((y, w) => y.uid === t ? {
222
223
  ...y,
223
224
  values: [u]
224
- } : y), z.value = !1) : (z.value = !0, l += u * 0.025, d.value = d.value.map((y, w) => y.uid === t ? {
225
+ } : y), F.value = !1) : (F.value = !0, o += u * 0.025, h.value = h.value.map((y, w) => y.uid === t ? {
225
226
  ...y,
226
- values: [l]
227
- } : y), $e.value = requestAnimationFrame(i));
227
+ values: [o]
228
+ } : y), Se.value = requestAnimationFrame(i));
228
229
  };
229
230
  p.value = p.value.filter((y) => y !== t);
230
- const u = o;
231
+ const u = a;
231
232
  i();
232
233
  } else if (p.value.length < M.value.length - 1 && M.value.length > 1) {
233
234
  let u = function() {
234
- l < 0.1 ? (cancelAnimationFrame(Te.value), p.value.push(t), d.value = d.value.map((i, y) => i.uid === t ? {
235
+ o < 0.1 ? (cancelAnimationFrame(Pe.value), p.value.push(t), h.value = h.value.map((i, y) => i.uid === t ? {
235
236
  ...i,
236
237
  values: [0]
237
- } : i), z.value = !1) : (z.value = !0, l /= 1.5, d.value = d.value.map((i, y) => i.uid === t ? {
238
+ } : i), F.value = !1) : (F.value = !0, o /= 1.5, h.value = h.value.map((i, y) => i.uid === t ? {
238
239
  ...i,
239
- values: [l]
240
- } : i), Te.value = requestAnimationFrame(u));
240
+ values: [o]
241
+ } : i), Pe.value = requestAnimationFrame(u));
241
242
  };
242
243
  u();
243
244
  }
244
- Me("selectLegend", q.value.map((u) => ({
245
+ Ge("selectLegend", q.value.map((u) => ({
245
246
  name: u.name,
246
247
  color: u.color,
247
248
  value: u.value,
248
249
  proportion: u.proportion / Math.pow(e.value.style.chart.layout.grid.size, 2)
249
250
  })));
250
251
  }
251
- const M = v(() => d.value.map((t, o) => ({
252
+ const M = d(() => h.value.map((t, a) => ({
252
253
  name: t.name,
253
- color: t.color || ke[o] || O[o] || O[o % O.length],
254
- value: (t.values || []).reduce((a, l) => a + l, 0),
254
+ color: t.color || _e[a] || N[a] || N[a % N.length],
255
+ value: (t.values || []).reduce((l, o) => l + o, 0),
255
256
  uid: t.uid,
256
257
  shape: "square"
257
- })).map((t, o) => ({
258
+ })).map((t, a) => ({
258
259
  ...t,
259
- proportion: t.value / d.value.map((a) => (a.values || []).reduce((l, u) => l + u, 0)).reduce((a, l) => a + l, 0),
260
+ proportion: t.value / h.value.map((l) => (l.values || []).reduce((o, u) => o + u, 0)).reduce((l, o) => l + o, 0),
260
261
  opacity: p.value.includes(t.uid) ? 0.5 : 1,
261
- segregate: () => Ie(t.uid),
262
+ segregate: () => Le(t.uid),
262
263
  isSegregated: p.value.includes(t.uid)
263
- }))), He = v(() => ({
264
+ }))), Je = d(() => ({
264
265
  cy: "waffle-div-legend",
265
266
  backgroundColor: e.value.style.chart.legend.backgroundColor,
266
267
  color: e.value.style.chart.legend.color,
267
268
  fontSize: e.value.style.chart.legend.fontSize,
268
269
  paddingBottom: 12,
269
270
  fontWeight: e.value.style.chart.legend.bold ? "bold" : ""
270
- })), _ = v(() => q.value.map((t) => t.value).reduce((t, o) => t + o, 0)), ae = c(null);
271
- function Xe(t) {
272
- if (p.value.length === b.dataset.length) return;
273
- const o = r.value[t];
274
- ae.value = {
275
- datapoint: o,
276
- seriesIndex: o.absoluteIndex,
277
- series: d.value,
271
+ })), _ = d(() => q.value.map((t) => t.value).reduce((t, a) => t + a, 0)), le = c(null);
272
+ function Ke(t) {
273
+ if (p.value.length === m.dataset.length) return;
274
+ const a = r.value[t];
275
+ le.value = {
276
+ datapoint: a,
277
+ seriesIndex: a.absoluteIndex,
278
+ series: h.value,
278
279
  config: e.value
279
280
  }, ee.value = !0, B.value = r.value[t].serieIndex;
280
- const a = e.value.style.chart.tooltip.customFormat;
281
- if (yt(a) && ft(() => a({
281
+ const l = e.value.style.chart.tooltip.customFormat;
282
+ if (bt(l) && mt(() => l({
282
283
  seriesIndex: r.value[t].absoluteIndex,
283
- datapoint: o,
284
- series: d.value,
284
+ datapoint: a,
285
+ series: h.value,
285
286
  config: e.value
286
287
  })))
287
- te.value = a({
288
+ te.value = l({
288
289
  seriesIndex: r.value[t].absoluteIndex,
289
- datapoint: o,
290
- series: d.value,
290
+ datapoint: a,
291
+ series: h.value,
291
292
  config: e.value
292
293
  });
293
294
  else {
294
- let l = "";
295
- if (l += `<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>`, l += `<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 && (l += `<b>${j(
295
+ let o = "";
296
+ if (o += `<div style="width:100%;text-align:center;border-bottom:1px solid ${e.value.style.chart.tooltip.borderColor};padding-bottom:6px;margin-bottom:3px;">${a.name}</div>`, o += `<div style="display:flex;flex-direction:row;gap:6px;align-items:center;"><svg viewBox="0 0 12 12" height="14" width="14"><rect x="0" y="0" height="12" width="12" stroke="none" rx="1" fill="${a.color}" /></svg>`, e.value.style.chart.tooltip.showValue && (o += `<b>${j(
296
297
  e.value.style.chart.layout.labels.dataLabels.formatter,
297
- o.value,
298
+ a.value,
298
299
  x({
299
300
  p: e.value.style.chart.layout.labels.dataLabels.prefix,
300
- v: o.value,
301
+ v: a.value,
301
302
  s: e.value.style.chart.layout.labels.dataLabels.suffix,
302
303
  r: e.value.style.chart.tooltip.roundingValue
303
304
  }),
304
305
  {
305
- datapoint: o,
306
+ datapoint: a,
306
307
  seriesIndex: r.value[t].absoluteIndex,
307
- series: d.value
308
+ series: h.value
308
309
  }
309
310
  )}</b>`), e.value.style.chart.tooltip.showPercentage) {
310
311
  const u = x({
311
- v: o.value / _.value * 100,
312
+ v: a.value / _.value * 100,
312
313
  s: "%",
313
314
  r: e.value.style.chart.tooltip.roundingPercentage
314
315
  });
315
- e.value.style.chart.tooltip.showValue ? l += `<span>(${u})</span></div>` : l += `<b>${u}%</b></div>`;
316
+ e.value.style.chart.tooltip.showValue ? o += `<span>(${u})</span></div>` : o += `<b>${u}%</b></div>`;
316
317
  }
317
- te.value = l;
318
+ te.value = o;
318
319
  }
319
320
  }
320
- const $ = v(() => {
321
- const t = q.value.map((a) => ({
322
- name: a.name,
323
- color: a.color
324
- })), o = q.value.map((a) => a.value);
325
- return { head: t, body: o };
321
+ const $ = d(() => {
322
+ const t = q.value.map((l) => ({
323
+ name: l.name,
324
+ color: l.color
325
+ })), a = q.value.map((l) => l.value);
326
+ return { head: t, body: a };
326
327
  });
327
- function le(t) {
328
+ function ae(t) {
328
329
  return e.value.useBlurOnHover && ![null, void 0].includes(B.value) && B.value !== t ? `url(#blur_${P.value})` : "";
329
330
  }
330
- function Se() {
331
- Ze(() => {
332
- const t = $.value.head.map((l, u) => [[
333
- l.name
334
- ], [$.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), a = gt(o);
335
- mt({ csvContent: a, title: e.value.style.chart.title.text || "vue-ui-waffle" });
331
+ function Oe() {
332
+ lt(() => {
333
+ const t = $.value.head.map((o, u) => [[
334
+ o.name
335
+ ], [$.value.body[u]], [isNaN($.value.body[u] / _.value) ? "-" : $.value.body[u] / _.value * 100]]), a = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [[""], ["val"], ["%"]]].concat(t), l = wt(a);
336
+ kt({ csvContent: l, title: e.value.style.chart.title.text || "vue-ui-waffle" });
336
337
  });
337
338
  }
338
- const K = v(() => {
339
+ const Q = d(() => {
339
340
  const t = [
340
341
  ' <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>',
341
342
  j(
@@ -349,7 +350,7 @@ const Be = (E) => (et("data-v-6c74341a"), E = E(), tt(), E), Ft = ["id"], zt = [
349
350
  })
350
351
  ),
351
352
  "100%"
352
- ], o = $.value.head.map((u, i) => [
353
+ ], a = $.value.head.map((u, i) => [
353
354
  {
354
355
  color: u.color,
355
356
  name: u.name
@@ -369,7 +370,7 @@ const Be = (E) => (et("data-v-6c74341a"), E = E(), tt(), E), Ft = ["id"], zt = [
369
370
  s: "%",
370
371
  r: e.value.table.td.roundingPercentage
371
372
  })
372
- ]), a = {
373
+ ]), l = {
373
374
  th: {
374
375
  backgroundColor: e.value.table.th.backgroundColor,
375
376
  color: e.value.table.th.color,
@@ -382,55 +383,57 @@ const Be = (E) => (et("data-v-6c74341a"), E = E(), tt(), E), Ft = ["id"], zt = [
382
383
  },
383
384
  shape: "square",
384
385
  breakpoint: e.value.table.responsiveBreakpoint
385
- }, l = [
386
+ }, o = [
386
387
  e.value.table.columnNames.series,
387
388
  e.value.table.columnNames.value,
388
389
  e.value.table.columnNames.percentage
389
390
  ];
390
391
  return {
391
392
  head: t,
392
- body: o,
393
- config: a,
394
- colNames: l
393
+ body: a,
394
+ config: l,
395
+ colNames: o
395
396
  };
396
397
  }), D = c(!1);
397
- function Ye(t) {
398
+ function Qe(t) {
398
399
  D.value = t, re.value += 1;
399
400
  }
400
- function Pe() {
401
+ function Ae() {
401
402
  T.value.showTable = !T.value.showTable;
402
403
  }
403
- function Le() {
404
+ function Fe() {
404
405
  T.value.showTooltip = !T.value.showTooltip;
405
406
  }
406
- const Q = c(!1);
407
+ const Z = c(!1);
407
408
  function oe() {
408
- Q.value = !Q.value;
409
+ Z.value = !Z.value;
409
410
  }
410
- return Ve({
411
- getData: We,
412
- generatePdf: be,
413
- generateCsv: Se,
414
- generateImage: we,
415
- toggleTable: Pe,
416
- toggleTooltip: Le,
411
+ return Ue({
412
+ getData: Xe,
413
+ generatePdf: xe,
414
+ generateCsv: Oe,
415
+ generateImage: Ce,
416
+ toggleTable: Ae,
417
+ toggleTooltip: Fe,
417
418
  toggleAnnotator: oe
418
- }), (t, o) => (s(), n("div", {
419
- class: Fe(`vue-ui-waffle ${D.value ? "vue-data-ui-wrapper-fullscreen" : ""}`),
419
+ }), (t, a) => (s(), n("div", {
420
+ class: Ne(`vue-ui-waffle ${D.value ? "vue-data-ui-wrapper-fullscreen" : ""}`),
420
421
  ref_key: "waffleChart",
421
422
  ref: V,
422
423
  id: `vue-ui-waffle_${P.value}`,
423
- style: Z(`font-family:${e.value.style.fontFamily};width:100%; text-align:center;background:${e.value.style.chart.backgroundColor};${e.value.responsive ? "height: 100%" : ""}`)
424
+ style: X(`font-family:${e.value.style.fontFamily};width:100%; text-align:center;background:${e.value.style.chart.backgroundColor};${e.value.responsive ? "height: 100%" : ""}`),
425
+ onMouseenter: a[3] || (a[3] = () => v(fe)(!0)),
426
+ onMouseleave: a[4] || (a[4] = () => v(fe)(!1))
424
427
  }, [
425
- e.value.userOptions.buttons.annotator ? (s(), N(Lt, {
428
+ e.value.userOptions.buttons.annotator ? (s(), z(Ft, {
426
429
  key: 0,
427
430
  parent: V.value,
428
431
  backgroundColor: e.value.style.chart.backgroundColor,
429
432
  color: e.value.style.chart.color,
430
- active: Q.value,
433
+ active: Z.value,
431
434
  onClose: oe
432
435
  }, null, 8, ["parent", "backgroundColor", "color", "active"])) : f("", !0),
433
- Re.value ? (s(), n("div", {
436
+ Ee.value ? (s(), n("div", {
434
437
  key: 1,
435
438
  ref_key: "noTitle",
436
439
  ref: ve,
@@ -443,7 +446,7 @@ const Be = (E) => (et("data-v-6c74341a"), E = E(), tt(), E), Ft = ["id"], zt = [
443
446
  ref: ne,
444
447
  style: "width:100%;background:transparent;padding-bottom:12px"
445
448
  }, [
446
- (s(), N(kt, {
449
+ (s(), z(_t, {
447
450
  key: `title_${de.value}`,
448
451
  config: {
449
452
  title: {
@@ -457,14 +460,14 @@ const Be = (E) => (et("data-v-6c74341a"), E = E(), tt(), E), Ft = ["id"], zt = [
457
460
  }
458
461
  }, null, 8, ["config"]))
459
462
  ], 512)) : f("", !0),
460
- e.value.userOptions.show && X.value ? (s(), N(Ct, {
463
+ e.value.userOptions.show && Y.value && (v(ge) || v(ye)) ? (s(), z(Tt, {
461
464
  ref_key: "details",
462
- ref: Ge,
465
+ ref: je,
463
466
  key: `user_options_${re.value}`,
464
467
  backgroundColor: e.value.style.chart.backgroundColor,
465
468
  color: e.value.style.chart.color,
466
- isPrinting: h(ge),
467
- isImaging: h(me),
469
+ isPrinting: v(we),
470
+ isImaging: v(ke),
468
471
  uid: P.value,
469
472
  hasTooltip: e.value.userOptions.buttons.tooltip && e.value.style.chart.tooltip.show,
470
473
  hasPdf: e.value.userOptions.buttons.pdf,
@@ -478,91 +481,94 @@ const Be = (E) => (et("data-v-6c74341a"), E = E(), tt(), E), Ft = ["id"], zt = [
478
481
  chartElement: V.value,
479
482
  position: e.value.userOptions.position,
480
483
  hasAnnotator: e.value.userOptions.buttons.annotator,
481
- isAnnotation: Q.value,
482
- onToggleFullscreen: Ye,
483
- onGeneratePdf: h(be),
484
- onGenerateCsv: Se,
485
- onGenerateImage: h(we),
486
- onToggleTable: Pe,
487
- onToggleTooltip: Le,
488
- onToggleAnnotator: oe
489
- }, Qe({ _: 2 }, [
484
+ isAnnotation: Z.value,
485
+ onToggleFullscreen: Qe,
486
+ onGeneratePdf: v(xe),
487
+ onGenerateCsv: Oe,
488
+ onGenerateImage: v(Ce),
489
+ onToggleTable: Ae,
490
+ onToggleTooltip: Fe,
491
+ onToggleAnnotator: oe,
492
+ style: X({
493
+ visibility: v(ge) ? v(ye) ? "visible" : "hidden" : "visible"
494
+ })
495
+ }, tt({ _: 2 }, [
490
496
  t.$slots.optionTooltip ? {
491
497
  name: "optionTooltip",
492
- fn: m(() => [
498
+ fn: b(() => [
493
499
  g(t.$slots, "optionTooltip", {}, void 0, !0)
494
500
  ]),
495
501
  key: "0"
496
502
  } : void 0,
497
503
  t.$slots.optionPdf ? {
498
504
  name: "optionPdf",
499
- fn: m(() => [
505
+ fn: b(() => [
500
506
  g(t.$slots, "optionPdf", {}, void 0, !0)
501
507
  ]),
502
508
  key: "1"
503
509
  } : void 0,
504
510
  t.$slots.optionCsv ? {
505
511
  name: "optionCsv",
506
- fn: m(() => [
512
+ fn: b(() => [
507
513
  g(t.$slots, "optionCsv", {}, void 0, !0)
508
514
  ]),
509
515
  key: "2"
510
516
  } : void 0,
511
517
  t.$slots.optionImg ? {
512
518
  name: "optionImg",
513
- fn: m(() => [
519
+ fn: b(() => [
514
520
  g(t.$slots, "optionImg", {}, void 0, !0)
515
521
  ]),
516
522
  key: "3"
517
523
  } : void 0,
518
524
  t.$slots.optionTable ? {
519
525
  name: "optionTable",
520
- fn: m(() => [
526
+ fn: b(() => [
521
527
  g(t.$slots, "optionTable", {}, void 0, !0)
522
528
  ]),
523
529
  key: "4"
524
530
  } : void 0,
525
531
  t.$slots.optionFullscreen ? {
526
532
  name: "optionFullscreen",
527
- fn: m(({ toggleFullscreen: a, isFullscreen: l }) => [
528
- g(t.$slots, "optionFullscreen", G(R({ toggleFullscreen: a, isFullscreen: l })), void 0, !0)
533
+ fn: b(({ toggleFullscreen: l, isFullscreen: o }) => [
534
+ g(t.$slots, "optionFullscreen", U(G({ toggleFullscreen: l, isFullscreen: o })), void 0, !0)
529
535
  ]),
530
536
  key: "5"
531
537
  } : void 0,
532
538
  t.$slots.optionAnnotator ? {
533
539
  name: "optionAnnotator",
534
- fn: m(({ toggleAnnotator: a, isAnnotator: l }) => [
535
- g(t.$slots, "optionAnnotator", G(R({ toggleAnnotator: a, isAnnotator: l })), void 0, !0)
540
+ fn: b(({ toggleAnnotator: l, isAnnotator: o }) => [
541
+ g(t.$slots, "optionAnnotator", U(G({ toggleAnnotator: l, isAnnotator: o })), void 0, !0)
536
542
  ]),
537
543
  key: "6"
538
544
  } : void 0
539
- ]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasTooltip", "hasPdf", "hasImg", "hasXls", "hasTable", "hasFullscreen", "isFullscreen", "isTooltip", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "onGeneratePdf", "onGenerateImage"])) : f("", !0),
540
- X.value ? (s(), n("svg", {
545
+ ]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasTooltip", "hasPdf", "hasImg", "hasXls", "hasTable", "hasFullscreen", "isFullscreen", "isTooltip", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "onGeneratePdf", "onGenerateImage", "style"])) : f("", !0),
546
+ Y.value ? (s(), n("svg", {
541
547
  key: 4,
542
- xmlns: h(it),
543
- class: Fe({ "vue-data-ui-fullscreen--on": D.value, "vue-data-ui-fulscreen--off": !D.value }),
548
+ xmlns: v(dt),
549
+ class: Ne({ "vue-data-ui-fullscreen--on": D.value, "vue-data-ui-fulscreen--off": !D.value }),
544
550
  viewBox: `0 0 ${L.value.width <= 0 ? 10 : L.value.width} ${L.value.height <= 0 ? 10 : L.value.height}`,
545
- style: Z(`max-width:100%;overflow:visible;background:transparent;color:${e.value.style.chart.color}`)
551
+ style: X(`max-width:100%;overflow:visible;background:transparent;color:${e.value.style.chart.color}`)
546
552
  }, [
547
- ze(Pt),
553
+ Be(At),
548
554
  k("defs", null, [
549
- (s(!0), n(I, null, U(r.value, (a, l) => (s(), n("radialGradient", {
555
+ (s(!0), n(I, null, R(r.value, (l, o) => (s(), n("radialGradient", {
550
556
  cx: "50%",
551
557
  cy: "50%",
552
558
  r: "50%",
553
559
  fx: "50%",
554
560
  fy: "50%",
555
- id: `gradient_${P.value}_${l}`
561
+ id: `gradient_${P.value}_${o}`
556
562
  }, [
557
563
  k("stop", {
558
564
  offset: "0%",
559
- "stop-color": h(ct)(h(vt)(a.color, 0.05), 100 - e.value.style.chart.layout.rect.gradientIntensity)
560
- }, null, 8, Ot),
565
+ "stop-color": v(ht)(v(pt)(l.color, 0.05), 100 - e.value.style.chart.layout.rect.gradientIntensity)
566
+ }, null, 8, Dt),
561
567
  k("stop", {
562
568
  offset: "100%",
563
- "stop-color": a.color
564
- }, null, 8, Bt)
565
- ], 8, Nt))), 256))
569
+ "stop-color": l.color
570
+ }, null, 8, Ut)
571
+ ], 8, Mt))), 256))
566
572
  ]),
567
573
  k("defs", null, [
568
574
  k("filter", {
@@ -571,17 +577,17 @@ const Be = (E) => (et("data-v-6c74341a"), E = E(), tt(), E), Ft = ["id"], zt = [
571
577
  y: "-50%",
572
578
  width: "200%",
573
579
  height: "200%"
574
- }, Gt, 8, Vt)
580
+ }, Et, 8, Gt)
575
581
  ]),
576
- e.value.useCustomCells && r.value.length ? (s(!0), n(I, { key: 0 }, U(H.value, (a, l) => (s(), n("foreignObject", {
577
- x: a.x,
578
- y: a.y,
579
- height: F.value <= 0 ? 1e-4 : F.value,
580
- width: A.value <= 0 ? 1e-4 : A.value,
582
+ e.value.useCustomCells && r.value.length ? (s(!0), n(I, { key: 0 }, R(H.value, (l, o) => (s(), n("foreignObject", {
583
+ x: l.x,
584
+ y: l.y,
585
+ height: A.value <= 0 ? 1e-4 : A.value,
586
+ width: O.value <= 0 ? 1e-4 : O.value,
581
587
  class: "vue-ui-waffle-custom-cell-foreignObject"
582
588
  }, [
583
- g(t.$slots, "cell", G(R({ cell: { ...a, color: r.value[l].color, ...r.value[l] }, isSelected: [null, void 0].includes(B.value) ? !0 : r.value[l].serieIndex === B.value })), void 0, !0)
584
- ], 8, Rt))), 256)) : f("", !0),
589
+ g(t.$slots, "cell", U(G({ cell: { ...l, color: r.value[o].color, ...r.value[o] }, isSelected: [null, void 0].includes(B.value) ? !0 : r.value[o].serieIndex === B.value })), void 0, !0)
590
+ ], 8, Wt))), 256)) : f("", !0),
585
591
  !r.value.length && !e.value.useCustomCells ? (s(), n("rect", {
586
592
  key: 1,
587
593
  x: 12,
@@ -591,88 +597,88 @@ const Be = (E) => (et("data-v-6c74341a"), E = E(), tt(), E), Ft = ["id"], zt = [
591
597
  rx: 3,
592
598
  fill: "none",
593
599
  stroke: "black"
594
- }, null, 8, Ut)) : r.value.length && !e.value.useCustomCells ? (s(), n(I, { key: 2 }, [
595
- (s(!0), n(I, null, U(H.value, (a, l) => (s(), n("rect", {
600
+ }, null, 8, qt)) : r.value.length && !e.value.useCustomCells ? (s(), n(I, { key: 2 }, [
601
+ (s(!0), n(I, null, R(H.value, (l, o) => (s(), n("rect", {
596
602
  rx: e.value.style.chart.layout.rect.rounded ? e.value.style.chart.layout.rect.rounding : 0,
597
- x: a.x + e.value.style.chart.layout.grid.spaceBetween / 2,
598
- y: a.y + e.value.style.chart.layout.grid.spaceBetween / 2,
599
- height: F.value <= 0 ? 1e-4 : F.value,
600
- width: A.value <= 0 ? 1e-4 : A.value,
603
+ x: l.x + e.value.style.chart.layout.grid.spaceBetween / 2,
604
+ y: l.y + e.value.style.chart.layout.grid.spaceBetween / 2,
605
+ height: A.value <= 0 ? 1e-4 : A.value,
606
+ width: O.value <= 0 ? 1e-4 : O.value,
601
607
  fill: "white",
602
608
  stroke: e.value.style.chart.layout.rect.stroke,
603
609
  "stroke-width": e.value.style.chart.layout.rect.strokeWidth,
604
- filter: le(r.value[l].serieIndex)
605
- }, null, 8, jt))), 256)),
606
- (s(!0), n(I, null, U(H.value, (a, l) => (s(), n("rect", {
610
+ filter: ae(r.value[o].serieIndex)
611
+ }, null, 8, Ht))), 256)),
612
+ (s(!0), n(I, null, R(H.value, (l, o) => (s(), n("rect", {
607
613
  rx: e.value.style.chart.layout.rect.rounded ? e.value.style.chart.layout.rect.rounding : 0,
608
- x: a.x + e.value.style.chart.layout.grid.spaceBetween / 2,
609
- y: a.y + e.value.style.chart.layout.grid.spaceBetween / 2,
610
- height: F.value <= 0 ? 1e-4 : F.value,
611
- width: A.value <= 0 ? 1e-4 : A.value,
612
- fill: e.value.style.chart.layout.rect.useGradient && e.value.style.chart.layout.rect.gradientIntensity > 0 ? `url(#gradient_${P.value}_${l})` : r.value[l].color,
614
+ x: l.x + e.value.style.chart.layout.grid.spaceBetween / 2,
615
+ y: l.y + e.value.style.chart.layout.grid.spaceBetween / 2,
616
+ height: A.value <= 0 ? 1e-4 : A.value,
617
+ width: O.value <= 0 ? 1e-4 : O.value,
618
+ fill: e.value.style.chart.layout.rect.useGradient && e.value.style.chart.layout.rect.gradientIntensity > 0 ? `url(#gradient_${P.value}_${o})` : r.value[o].color,
613
619
  stroke: e.value.style.chart.layout.rect.stroke,
614
620
  "stroke-width": e.value.style.chart.layout.rect.strokeWidth,
615
- filter: le(r.value[l].serieIndex)
616
- }, null, 8, Et))), 256))
621
+ filter: ae(r.value[o].serieIndex)
622
+ }, null, 8, Xt))), 256))
617
623
  ], 64)) : f("", !0),
618
- (s(!0), n(I, null, U(H.value, (a, l) => (s(), n(I, null, [
619
- r.value.length && !z.value && !e.value.style.chart.layout.grid.vertical && e.value.style.chart.layout.labels.captions.show && (r.value[l].isFirst && a.position < e.value.style.chart.layout.grid.size - 2 || r.value[l].isAbsoluteFirst && l % e.value.style.chart.layout.grid.size === 0 && r.value[l].absoluteStartIndex) ? (s(), n("foreignObject", {
624
+ (s(!0), n(I, null, R(H.value, (l, o) => (s(), n(I, null, [
625
+ r.value.length && !F.value && !e.value.style.chart.layout.grid.vertical && e.value.style.chart.layout.labels.captions.show && (r.value[o].isFirst && l.position < e.value.style.chart.layout.grid.size - 2 || r.value[o].isAbsoluteFirst && o % e.value.style.chart.layout.grid.size === 0 && r.value[o].absoluteStartIndex) ? (s(), n("foreignObject", {
620
626
  key: 0,
621
- x: a.x + e.value.style.chart.layout.labels.captions.offsetX + e.value.style.chart.layout.grid.spaceBetween / 2,
622
- y: a.y + e.value.style.chart.layout.labels.captions.offsetY + e.value.style.chart.layout.grid.spaceBetween / 2,
623
- height: J.value <= 0 ? 1e-4 : J.value,
627
+ x: l.x + e.value.style.chart.layout.labels.captions.offsetX + e.value.style.chart.layout.grid.spaceBetween / 2,
628
+ y: l.y + e.value.style.chart.layout.labels.captions.offsetY + e.value.style.chart.layout.grid.spaceBetween / 2,
629
+ height: K.value <= 0 ? 1e-4 : K.value,
624
630
  width: W.value * e.value.style.chart.layout.grid.size <= 0 ? 1e-4 : W.value * e.value.style.chart.layout.grid.size,
625
- filter: le(r.value[l].serieIndex)
631
+ filter: ae(r.value[o].serieIndex)
626
632
  }, [
627
633
  k("div", {
628
634
  class: "vue-ui-waffle-caption",
629
- style: Z(`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 ${W.value / 12}px;color:${h(dt)(r.value[l].color)};gap:2px`)
635
+ style: X(`height: 100%; width: 100%; font-size:${e.value.style.chart.layout.labels.captions.fontSize}px;display:flex;align-items:center;justify-content:flex-start;padding: 0 ${W.value / 12}px;color:${v(yt)(r.value[o].color)};gap:2px`)
630
636
  }, [
631
- e.value.style.chart.layout.labels.captions.showSerieName ? (s(), n("span", qt, S(e.value.style.chart.layout.labels.captions.serieNameAbbreviation ? h(ht)({ source: r.value[l].name, length: e.value.style.chart.layout.labels.captions.serieNameMaxAbbreviationSize }) : r.value[l].name) + ": ", 1)) : f("", !0),
632
- e.value.style.chart.layout.labels.captions.showPercentage ? (s(), n("span", Ht, S(h(x)({ v: r.value[l].proportion, s: "%", r: e.value.style.chart.layout.labels.captions.roundingPercentage })), 1)) : f("", !0),
633
- e.value.style.chart.layout.labels.captions.showPercentage && e.value.style.chart.layout.labels.captions.showValue ? (s(), n("span", Xt, " (" + S(h(j)(
637
+ e.value.style.chart.layout.labels.captions.showSerieName ? (s(), n("span", Jt, S(e.value.style.chart.layout.labels.captions.serieNameAbbreviation ? v(ft)({ source: r.value[o].name, length: e.value.style.chart.layout.labels.captions.serieNameMaxAbbreviationSize }) : r.value[o].name) + ": ", 1)) : f("", !0),
638
+ e.value.style.chart.layout.labels.captions.showPercentage ? (s(), n("span", Kt, S(v(x)({ v: r.value[o].proportion, s: "%", r: e.value.style.chart.layout.labels.captions.roundingPercentage })), 1)) : f("", !0),
639
+ e.value.style.chart.layout.labels.captions.showPercentage && e.value.style.chart.layout.labels.captions.showValue ? (s(), n("span", Qt, " (" + S(v(j)(
634
640
  e.value.style.chart.layout.labels.dataLabels.formatter,
635
- r.value[l].value,
636
- h(x)({
641
+ r.value[o].value,
642
+ v(x)({
637
643
  p: e.value.style.chart.layout.labels.dataLabels.prefix,
638
- v: r.value[l].value,
644
+ v: r.value[o].value,
639
645
  s: e.value.style.chart.layout.labels.dataLabels.suffix,
640
646
  r: e.value.style.chart.layout.labels.captions.roundingValue
641
647
  }),
642
- { datapoint: r.value[l], position: a }
648
+ { datapoint: r.value[o], position: l }
643
649
  )) + ") ", 1)) : f("", !0),
644
- !e.value.style.chart.layout.labels.captions.showPercentage && e.value.style.chart.layout.labels.captions.showValue ? (s(), n("span", Yt, S(h(j)(
650
+ !e.value.style.chart.layout.labels.captions.showPercentage && e.value.style.chart.layout.labels.captions.showValue ? (s(), n("span", Zt, S(v(j)(
645
651
  e.value.style.chart.layout.labels.dataLabels.formatter,
646
- r.value[l].value,
647
- h(x)({
652
+ r.value[o].value,
653
+ v(x)({
648
654
  p: e.value.style.chart.layout.labels.dataLabels.prefix,
649
- v: r.value[l].value,
655
+ v: r.value[o].value,
650
656
  s: e.value.style.chart.layout.labels.dataLabels.suffix,
651
657
  r: e.value.style.chart.layout.labels.captions.roundingValue
652
658
  }),
653
- { datapoint: r.value[l], position: a }
659
+ { datapoint: r.value[o], position: l }
654
660
  )), 1)) : f("", !0)
655
661
  ], 4)
656
- ], 8, Wt)) : f("", !0)
662
+ ], 8, Yt)) : f("", !0)
657
663
  ], 64))), 256)),
658
- (s(!0), n(I, null, U(H.value, (a, l) => (s(), n("rect", {
659
- onMouseover: (u) => Xe(l),
660
- onMouseleave: o[0] || (o[0] = (u) => {
664
+ (s(!0), n(I, null, R(H.value, (l, o) => (s(), n("rect", {
665
+ onMouseover: (u) => Ke(o),
666
+ onMouseleave: a[0] || (a[0] = (u) => {
661
667
  ee.value = !1, B.value = null;
662
668
  }),
663
- x: a.x + e.value.style.chart.layout.grid.spaceBetween / 2,
664
- y: a.y + e.value.style.chart.layout.grid.spaceBetween / 2,
665
- height: J.value <= 0 ? 1e-4 : J.value,
669
+ x: l.x + e.value.style.chart.layout.grid.spaceBetween / 2,
670
+ y: l.y + e.value.style.chart.layout.grid.spaceBetween / 2,
671
+ height: K.value <= 0 ? 1e-4 : K.value,
666
672
  width: W.value <= 0 ? 1e-4 : W.value,
667
673
  fill: "transparent",
668
674
  stroke: "none"
669
- }, null, 40, Jt))), 256)),
675
+ }, null, 40, el))), 256)),
670
676
  g(t.$slots, "svg", { svg: L.value }, void 0, !0)
671
- ], 14, zt)) : f("", !0),
672
- t.$slots.watermark ? (s(), n("div", Kt, [
673
- g(t.$slots, "watermark", G(R({ isPrinting: h(ge) || h(me) })), void 0, !0)
677
+ ], 14, Vt)) : f("", !0),
678
+ t.$slots.watermark ? (s(), n("div", tl, [
679
+ g(t.$slots, "watermark", U(G({ isPrinting: v(we) || v(ke) })), void 0, !0)
674
680
  ])) : f("", !0),
675
- X.value ? f("", !0) : (s(), N(It, {
681
+ Y.value ? f("", !0) : (s(), z(Lt, {
676
682
  key: 6,
677
683
  config: {
678
684
  type: "waffle",
@@ -688,31 +694,31 @@ const Be = (E) => (et("data-v-6c74341a"), E = E(), tt(), E), Ft = ["id"], zt = [
688
694
  ref_key: "chartLegend",
689
695
  ref: ie
690
696
  }, [
691
- e.value.style.chart.legend.show ? (s(), N(Tt, {
697
+ e.value.style.chart.legend.show ? (s(), z(Pt, {
692
698
  key: `legend_${pe.value}`,
693
699
  legendSet: M.value,
694
- config: He.value,
695
- onClickMarker: o[1] || (o[1] = ({ legend: a }) => Ie(a.uid))
700
+ config: Je.value,
701
+ onClickMarker: a[1] || (a[1] = ({ legend: l }) => Le(l.uid))
696
702
  }, {
697
- item: m(({ legend: a }) => [
703
+ item: b(({ legend: l }) => [
698
704
  k("div", {
699
- onClick: (l) => a.segregate(),
700
- style: Z(`opacity:${p.value.includes(a.uid) ? 0.5 : 1}`)
705
+ onClick: (o) => l.segregate(),
706
+ style: X(`opacity:${p.value.includes(l.uid) ? 0.5 : 1}`)
701
707
  }, [
702
- Ne(S(a.name) + ": " + S(h(j)(
708
+ Ve(S(l.name) + ": " + S(v(j)(
703
709
  e.value.style.chart.layout.labels.dataLabels.formatter,
704
- a.value,
705
- h(x)({
710
+ l.value,
711
+ v(x)({
706
712
  p: e.value.style.chart.layout.labels.dataLabels.prefix,
707
- v: a.value,
713
+ v: l.value,
708
714
  s: e.value.style.chart.layout.labels.dataLabels.suffix,
709
715
  r: e.value.style.chart.legend.roundingValue,
710
- isAnimating: z.value
716
+ isAnimating: F.value
711
717
  }),
712
- { datapoint: a }
718
+ { datapoint: l }
713
719
  )) + " ", 1),
714
- p.value.includes(a.uid) ? (s(), n("span", ea, " ( - % ) ")) : (s(), n("span", Zt, " (" + S(isNaN(a.value / _.value) ? "-" : h(x)({ v: a.value / _.value * 100, s: "%", r: e.value.style.chart.legend.roundingPercentage, isAnimating: z.value })) + ") ", 1))
715
- ], 12, Qt)
720
+ p.value.includes(l.uid) ? (s(), n("span", ol, " ( - % ) ")) : (s(), n("span", al, " (" + S(isNaN(l.value / _.value) ? "-" : v(x)({ v: l.value / _.value * 100, s: "%", r: e.value.style.chart.legend.roundingPercentage, isAnimating: F.value })) + ") ", 1))
721
+ ], 12, ll)
716
722
  ]),
717
723
  _: 1
718
724
  }, 8, ["legendSet", "config"])) : g(t.$slots, "legend", {
@@ -728,8 +734,8 @@ const Be = (E) => (et("data-v-6c74341a"), E = E(), tt(), E), Ft = ["id"], zt = [
728
734
  }, [
729
735
  g(t.$slots, "source", {}, void 0, !0)
730
736
  ], 512)) : f("", !0),
731
- ze(_t, {
732
- show: T.value.showTooltip && ee.value && p.value.length < b.dataset.length,
737
+ Be(It, {
738
+ show: T.value.showTooltip && ee.value && p.value.length < m.dataset.length,
733
739
  backgroundColor: e.value.style.chart.tooltip.backgroundColor,
734
740
  color: e.value.style.chart.tooltip.color,
735
741
  borderRadius: e.value.style.chart.tooltip.borderRadius,
@@ -744,15 +750,15 @@ const Be = (E) => (et("data-v-6c74341a"), E = E(), tt(), E), Ft = ["id"], zt = [
744
750
  fontSize: e.value.style.chart.tooltip.fontSize,
745
751
  isFullscreen: D.value
746
752
  }, {
747
- "tooltip-before": m(() => [
748
- g(t.$slots, "tooltip-before", G(R({ ...ae.value })), void 0, !0)
753
+ "tooltip-before": b(() => [
754
+ g(t.$slots, "tooltip-before", U(G({ ...le.value })), void 0, !0)
749
755
  ]),
750
- "tooltip-after": m(() => [
751
- g(t.$slots, "tooltip-after", G(R({ ...ae.value })), void 0, !0)
756
+ "tooltip-after": b(() => [
757
+ g(t.$slots, "tooltip-after", U(G({ ...le.value })), void 0, !0)
752
758
  ]),
753
759
  _: 3
754
760
  }, 8, ["show", "backgroundColor", "color", "borderRadius", "borderColor", "borderWidth", "backgroundOpacity", "position", "offsetY", "parent", "content", "isCustom", "fontSize", "isFullscreen"]),
755
- X.value ? (s(), N(St, {
761
+ Y.value ? (s(), z(Ot, {
756
762
  key: 8,
757
763
  hideDetails: "",
758
764
  config: {
@@ -768,33 +774,33 @@ const Be = (E) => (et("data-v-6c74341a"), E = E(), tt(), E), Ft = ["id"], zt = [
768
774
  }
769
775
  }
770
776
  }, {
771
- content: m(() => [
772
- (s(), N($t, {
777
+ content: b(() => [
778
+ (s(), z(St, {
773
779
  key: `table_${he.value}`,
774
- colNames: K.value.colNames,
775
- head: K.value.head,
776
- body: K.value.body,
777
- config: K.value.config,
780
+ colNames: Q.value.colNames,
781
+ head: Q.value.head,
782
+ body: Q.value.body,
783
+ config: Q.value.config,
778
784
  title: `${e.value.style.chart.title.text}${e.value.style.chart.title.subtitle.text ? ` : ${e.value.style.chart.title.subtitle.text}` : ""}`,
779
- onClose: o[2] || (o[2] = (a) => T.value.showTable = !1)
785
+ onClose: a[2] || (a[2] = (l) => T.value.showTable = !1)
780
786
  }, {
781
- th: m(({ th: a }) => [
787
+ th: b(({ th: l }) => [
782
788
  k("div", {
783
- innerHTML: a,
789
+ innerHTML: l,
784
790
  style: { display: "flex", "align-items": "center" }
785
- }, null, 8, ta)
791
+ }, null, 8, ul)
786
792
  ]),
787
- td: m(({ td: a }) => [
788
- Ne(S(a.name || a), 1)
793
+ td: b(({ td: l }) => [
794
+ Ve(S(l.name || l), 1)
789
795
  ]),
790
796
  _: 1
791
797
  }, 8, ["colNames", "head", "body", "config", "title"]))
792
798
  ]),
793
799
  _: 1
794
800
  }, 8, ["config"])) : f("", !0)
795
- ], 14, Ft));
801
+ ], 46, Bt));
796
802
  }
797
- }, ga = /* @__PURE__ */ At(aa, [["__scopeId", "data-v-6c74341a"]]);
803
+ }, xl = /* @__PURE__ */ Nt(sl, [["__scopeId", "data-v-7fed69c0"]]);
798
804
  export {
799
- ga as default
805
+ xl as default
800
806
  };