vue-data-ui 2.4.57 → 2.4.59

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 (202) hide show
  1. package/README.md +82 -51
  2. package/dist/{Arrow-BhwhLRcU.cjs → Arrow-Dudbi6k5.cjs} +1 -1
  3. package/dist/{Arrow-DelnKkT1.js → Arrow-DzS4HIXj.js} +1 -1
  4. package/dist/{BaseIcon-9gdEHMWK.js → BaseIcon-BbU81zOd.js} +1 -1
  5. package/dist/{BaseIcon-DujPvdJ_.cjs → BaseIcon-DD3GLrhS.cjs} +1 -1
  6. package/dist/{DataTable-BUflha5V.cjs → DataTable-BHCbVv8x.cjs} +1 -1
  7. package/dist/{DataTable-DgbrnD__.js → DataTable-CFUKU8PU.js} +2 -2
  8. package/dist/{Legend-V3K-4ipN.cjs → Legend-BYngLoV6.cjs} +1 -1
  9. package/dist/{Legend-HooNAKB_.js → Legend-f52bnttJ.js} +1 -1
  10. package/dist/{PackageVersion-S3SzpuwC.js → PackageVersion-C_FFs0BP.js} +1 -1
  11. package/dist/{PackageVersion-dQYEsTLp.cjs → PackageVersion-nr7f_VNw.cjs} +1 -1
  12. package/dist/{PenAndPaper-1h87IVla.cjs → PenAndPaper-C9v0NXEg.cjs} +1 -1
  13. package/dist/{PenAndPaper-v846FwcH.js → PenAndPaper-Dx24BtRW.js} +3 -3
  14. package/dist/{Shape-D7aacHaz.js → Shape-Ct2x6qZx.js} +1 -1
  15. package/dist/{Shape-DV5sH0dX.cjs → Shape-Dkt-vkTl.cjs} +1 -1
  16. package/dist/{Slicer-BRxR5OYL.cjs → Slicer-C0cvEMOy.cjs} +1 -1
  17. package/dist/{Slicer-BXCORSCz.js → Slicer-Duke9qno.js} +2 -2
  18. package/dist/{Title-B-EsW0Q2.cjs → Title-CpfNWbUc.cjs} +1 -1
  19. package/dist/{Title-DLjHHdyq.js → Title-zZtEcB9F.js} +1 -1
  20. package/dist/{Tooltip-BDaa-67h.js → Tooltip-DDJ2Wvjy.js} +1 -1
  21. package/dist/{Tooltip-B7gYRLGN.cjs → Tooltip-DZuVxmLc.cjs} +1 -1
  22. package/dist/documentation/installation.md +48 -48
  23. package/dist/{index-CI-N9klv.js → index-B9RAElpI.js} +2 -2
  24. package/dist/index-DaDv7p0W.cjs +9 -0
  25. package/dist/style.css +1 -1
  26. package/dist/{useNestedProp-D-zaZbSR.cjs → useNestedProp-DkpuL8Iv.cjs} +1 -1
  27. package/dist/{useNestedProp-D1eJ0dvv.js → useNestedProp-DuruL3Nt.js} +1 -1
  28. package/dist/{usePrinter-H2UFIe6n.cjs → usePrinter-BIHu0O5X.cjs} +1 -1
  29. package/dist/{usePrinter-CXc8xCKk.js → usePrinter-CwTAwqtF.js} +1 -1
  30. package/dist/{vue-data-ui-CvfX2D1d.cjs → vue-data-ui-BXCJgMfu.cjs} +1 -1
  31. package/dist/{vue-data-ui-DuXblXhF.js → vue-data-ui-yknmkfFy.js} +60 -60
  32. package/dist/vue-data-ui.cjs +1 -1
  33. package/dist/vue-data-ui.js +1 -1
  34. package/dist/{vue-ui-3d-bar-fvTVGk8O.js → vue-ui-3d-bar-BkbLoUhP.js} +170 -158
  35. package/dist/vue-ui-3d-bar-CHnh8ZH_.cjs +19 -0
  36. package/dist/{vue-ui-accordion-paZXh-GD.cjs → vue-ui-accordion-6Clt339w.cjs} +1 -1
  37. package/dist/{vue-ui-accordion-CYLks1fW.js → vue-ui-accordion-rNA598L6.js} +3 -3
  38. package/dist/{vue-ui-age-pyramid-Ch3nY1Dx.js → vue-ui-age-pyramid-C3o5HfRK.js} +176 -164
  39. package/dist/vue-ui-age-pyramid-CKDDaRj_.cjs +1 -0
  40. package/dist/{vue-ui-annotator-BXbLcJ1L.cjs → vue-ui-annotator-BLilhXfT.cjs} +1 -1
  41. package/dist/{vue-ui-annotator-DGupSF-o.js → vue-ui-annotator-huMOA-QF.js} +1 -1
  42. package/dist/{vue-ui-bullet-BSRXabBe.js → vue-ui-bullet-DxYdog9c.js} +155 -143
  43. package/dist/vue-ui-bullet-yTpejKsw.cjs +34 -0
  44. package/dist/{vue-ui-candlestick-Dww4XHwQ.js → vue-ui-candlestick-3lCgRxr0.js} +96 -84
  45. package/dist/vue-ui-candlestick-CmD40PpS.cjs +2 -0
  46. package/dist/vue-ui-carousel-table-BU8oAq6b.cjs +1 -0
  47. package/dist/{vue-ui-carousel-table-BZs-sxxu.js → vue-ui-carousel-table-D3JIrHMF.js} +97 -95
  48. package/dist/vue-ui-chestnut-BWRUxwWm.cjs +6 -0
  49. package/dist/{vue-ui-chestnut-CnupXXAM.js → vue-ui-chestnut-cWFqbqSU.js} +160 -148
  50. package/dist/{vue-ui-cursor-oqfOA98Q.js → vue-ui-cursor-DjWkFQEI.js} +2 -2
  51. package/dist/{vue-ui-cursor-smlBNiGG.cjs → vue-ui-cursor-DzJmB5h9.cjs} +1 -1
  52. package/dist/{vue-ui-dashboard-BNu7yNYm.js → vue-ui-dashboard-1dycrMNM.js} +2 -2
  53. package/dist/{vue-ui-dashboard-Dw_90R29.cjs → vue-ui-dashboard-BOjdgUEm.cjs} +1 -1
  54. package/dist/{vue-ui-digits-_8FbgFrI.cjs → vue-ui-digits-B8TVsqsB.cjs} +1 -1
  55. package/dist/{vue-ui-digits-qztPrOEN.js → vue-ui-digits-C4NWhIjg.js} +2 -2
  56. package/dist/vue-ui-donut-BPz8gXi5.cjs +1 -0
  57. package/dist/{vue-ui-donut-CK9dINFS.js → vue-ui-donut-CXBxDUoh.js} +291 -279
  58. package/dist/{vue-ui-donut-evolution-DpDpYw3f.js → vue-ui-donut-evolution-BgD7rCFk.js} +285 -273
  59. package/dist/vue-ui-donut-evolution-h3ZgYI48.cjs +1 -0
  60. package/dist/vue-ui-dumbbell-BCyFd1Lf.cjs +9 -0
  61. package/dist/{vue-ui-dumbbell-Dx1I89N9.js → vue-ui-dumbbell-DMp-Waih.js} +159 -147
  62. package/dist/{vue-ui-flow-DJNqydD1.js → vue-ui-flow-D-XBMcpC.js} +162 -150
  63. package/dist/vue-ui-flow-DB3_5wEr.cjs +1 -0
  64. package/dist/vue-ui-funnel-DJVmn_pN.cjs +1 -0
  65. package/dist/{vue-ui-funnel-mP8ftcS5.js → vue-ui-funnel-Dxb6o97C.js} +229 -215
  66. package/dist/{vue-ui-galaxy-3cOLS6lh.js → vue-ui-galaxy-C2eHqbLw.js} +148 -136
  67. package/dist/vue-ui-galaxy-CIBBO623.cjs +1 -0
  68. package/dist/{vue-ui-gauge-CN_zo833.js → vue-ui-gauge-B9M8ICMX.js} +199 -185
  69. package/dist/vue-ui-gauge-C_JArbcd.cjs +1 -0
  70. package/dist/vue-ui-gizmo-ETKRu3P5.cjs +1 -0
  71. package/dist/{vue-ui-gizmo-akkNcCWf.js → vue-ui-gizmo-OGIvFCA4.js} +45 -43
  72. package/dist/{vue-ui-heatmap-B3ClLioV.js → vue-ui-heatmap-C2BobYAF.js} +138 -126
  73. package/dist/vue-ui-heatmap-mPZepJ4V.cjs +1 -0
  74. package/dist/{vue-ui-history-plot-C-EqVFW-.js → vue-ui-history-plot-BtBDW5ha.js} +127 -115
  75. package/dist/vue-ui-history-plot-DgEFbRv3.cjs +1 -0
  76. package/dist/{vue-ui-kpi-C-axCKZx.js → vue-ui-kpi-BCwmp6i5.js} +36 -33
  77. package/dist/vue-ui-kpi-DZGoUp6y.cjs +1 -0
  78. package/dist/{vue-ui-mini-loader-Cal5W_q6.cjs → vue-ui-mini-loader-B_I1k10C.cjs} +1 -1
  79. package/dist/{vue-ui-mini-loader-CsZ1zxJz.js → vue-ui-mini-loader-DWQfo-Ey.js} +2 -2
  80. package/dist/{vue-ui-molecule-BvNh7REY.js → vue-ui-molecule-CpWWvLlc.js} +212 -200
  81. package/dist/vue-ui-molecule-CqHsa4N7.cjs +1 -0
  82. package/dist/{vue-ui-mood-radar-C7v4dBNw.js → vue-ui-mood-radar-B4-AQAyE.js} +123 -111
  83. package/dist/vue-ui-mood-radar-Dx6ICJkv.cjs +1 -0
  84. package/dist/{vue-ui-nested-donuts-C08kpvMd.js → vue-ui-nested-donuts-C-afzEvx.js} +156 -144
  85. package/dist/vue-ui-nested-donuts-C8LG5ony.cjs +17 -0
  86. package/dist/vue-ui-onion-KC_zqQyz.cjs +5 -0
  87. package/dist/{vue-ui-onion-CTLBemDj.js → vue-ui-onion-wBz5dln6.js} +125 -113
  88. package/dist/vue-ui-parallel-coordinate-plot-BK1sUOyd.cjs +8 -0
  89. package/dist/{vue-ui-parallel-coordinate-plot-H1FdP6AE.js → vue-ui-parallel-coordinate-plot-BoiKoaod.js} +159 -147
  90. package/dist/vue-ui-quadrant-BJ3gSVgF.cjs +1 -0
  91. package/dist/{vue-ui-quadrant-Dd-LDy4T.js → vue-ui-quadrant-DY6yUyOl.js} +211 -199
  92. package/dist/{vue-ui-quick-chart-BeNivWrg.js → vue-ui-quick-chart-DBH9CgBI.js} +576 -540
  93. package/dist/vue-ui-quick-chart-OHwPApk1.cjs +15 -0
  94. package/dist/{vue-ui-radar-D9U_vOad.js → vue-ui-radar-DYnmlHtt.js} +183 -171
  95. package/dist/vue-ui-radar-nhy4Pqtc.cjs +1 -0
  96. package/dist/{vue-ui-rating-B7AlAqCY.js → vue-ui-rating-3LUgui--.js} +102 -98
  97. package/dist/vue-ui-rating-wl5jkxb5.cjs +1 -0
  98. package/dist/vue-ui-relation-circle-CGkAsJl8.cjs +1 -0
  99. package/dist/{vue-ui-relation-circle-CT23BNcW.js → vue-ui-relation-circle-Da09K_Ce.js} +129 -117
  100. package/dist/{vue-ui-rings-BZ7FYYxr.js → vue-ui-rings-BuVPBXNc.js} +150 -138
  101. package/dist/vue-ui-rings-DZfhibc4.cjs +2 -0
  102. package/dist/{vue-ui-scatter-DMr8OrC3.js → vue-ui-scatter-Bee79rib.js} +320 -308
  103. package/dist/vue-ui-scatter-ChYAlXb_.cjs +1 -0
  104. package/dist/{vue-ui-screenshot-BFV1qEsF.cjs → vue-ui-screenshot-Blz4fiO2.cjs} +1 -1
  105. package/dist/{vue-ui-screenshot-DHiX35pR.js → vue-ui-screenshot-CCnAaGB3.js} +1 -1
  106. package/dist/{vue-ui-skeleton-BIWgLDDf.cjs → vue-ui-skeleton-B24XJJ2p.cjs} +1 -1
  107. package/dist/{vue-ui-skeleton-owIhXtQF.js → vue-ui-skeleton-DVYD_VSe.js} +3 -3
  108. package/dist/vue-ui-smiley-CXOuAdIj.cjs +2 -0
  109. package/dist/{vue-ui-smiley-CCOQ6zjo.js → vue-ui-smiley-CdrTI5Rh.js} +208 -206
  110. package/dist/vue-ui-spark-trend-B08HYMm5.cjs +1 -0
  111. package/dist/{vue-ui-spark-trend-B56DI3Mc.js → vue-ui-spark-trend-Pd3JNy4G.js} +124 -112
  112. package/dist/{vue-ui-sparkbar-CMkozDkx.js → vue-ui-sparkbar-CTDWiUid.js} +100 -96
  113. package/dist/vue-ui-sparkbar-Dq1hwL7i.cjs +1 -0
  114. package/dist/{vue-ui-sparkgauge-De06LRPj.js → vue-ui-sparkgauge-g0C7wuIH.js} +60 -48
  115. package/dist/vue-ui-sparkgauge-il4rmDdv.cjs +1 -0
  116. package/dist/vue-ui-sparkhistogram-CoRPiLpB.cjs +1 -0
  117. package/dist/{vue-ui-sparkhistogram-CBDd7jIn.js → vue-ui-sparkhistogram-Dk8IYZGB.js} +116 -104
  118. package/dist/vue-ui-sparkline-B_1J2ft2.cjs +1 -0
  119. package/dist/{vue-ui-sparkline-BJejWvTN.js → vue-ui-sparkline-Ca1ai-Mq.js} +124 -112
  120. package/dist/{vue-ui-sparkstackbar-DlnmPom2.js → vue-ui-sparkstackbar-CRGrf5y2.js} +85 -81
  121. package/dist/vue-ui-sparkstackbar-tkiKbZHo.cjs +1 -0
  122. package/dist/{vue-ui-stackbar-19XdLQXB.js → vue-ui-stackbar-QaavE5-F.js} +219 -207
  123. package/dist/vue-ui-stackbar-zk1K5gP3.cjs +6 -0
  124. package/dist/vue-ui-strip-plot-8Ksp5AzD.cjs +1 -0
  125. package/dist/{vue-ui-strip-plot-Bly8GoNP.js → vue-ui-strip-plot-gm_lr5A9.js} +113 -101
  126. package/dist/{vue-ui-table-BisPh85-.cjs → vue-ui-table-CPLd7hXM.cjs} +1 -1
  127. package/dist/{vue-ui-table-BUF6Pyfp.js → vue-ui-table-ceYZ6Wzd.js} +1 -1
  128. package/dist/vue-ui-table-heatmap-CSsYOFf7.cjs +1 -0
  129. package/dist/{vue-ui-table-heatmap-By-MmFiq.js → vue-ui-table-heatmap-CWQIOR58.js} +82 -78
  130. package/dist/{vue-ui-table-sparkline-DG70UNkU.js → vue-ui-table-sparkline-BHkqm0Sf.js} +78 -74
  131. package/dist/vue-ui-table-sparkline-hyL_92AC.cjs +1 -0
  132. package/dist/vue-ui-thermometer-CKiohIHn.cjs +1 -0
  133. package/dist/{vue-ui-thermometer-Vr2IP_p0.js → vue-ui-thermometer-Dvk3S7jR.js} +132 -120
  134. package/dist/vue-ui-timer-BUuk2p4C.cjs +64 -0
  135. package/dist/{vue-ui-timer-CD7gFOjN.js → vue-ui-timer-D0tGj6hK.js} +94 -82
  136. package/dist/{vue-ui-tiremarks-44pO3jx1.js → vue-ui-tiremarks-C2G0Sem6.js} +104 -94
  137. package/dist/vue-ui-tiremarks-Csng3xWI.cjs +1 -0
  138. package/dist/{vue-ui-treemap-CyOUM3-P.js → vue-ui-treemap-3iutCx61.js} +336 -332
  139. package/dist/vue-ui-treemap-CJjATl47.cjs +1 -0
  140. package/dist/{vue-ui-vertical-bar-wngOp0Zc.js → vue-ui-vertical-bar-DZz_tUTV.js} +188 -176
  141. package/dist/vue-ui-vertical-bar-DtuEIajX.cjs +4 -0
  142. package/dist/vue-ui-waffle-B-Uf38ml.cjs +1 -0
  143. package/dist/{vue-ui-waffle-CuN7i0ci.js → vue-ui-waffle-Cr4FGNwb.js} +140 -136
  144. package/dist/vue-ui-wheel-Bijmdum9.cjs +1 -0
  145. package/dist/{vue-ui-wheel-B_gLugLx.js → vue-ui-wheel-Da4DH062.js} +100 -88
  146. package/dist/{vue-ui-word-cloud-DKHGS0my.js → vue-ui-word-cloud-C3o4JBD2.js} +132 -120
  147. package/dist/vue-ui-word-cloud-Cjyh1I0J.cjs +1 -0
  148. package/dist/{vue-ui-xy-BK9R8MrJ.js → vue-ui-xy-BX_3ddck.js} +139 -127
  149. package/dist/{vue-ui-xy-canvas-DaT4HoWD.js → vue-ui-xy-canvas-DqzVCtbZ.js} +231 -227
  150. package/dist/{vue-ui-xy-canvas-gDaRsnBI.cjs → vue-ui-xy-canvas-ObtOgMlV.cjs} +2 -2
  151. package/dist/vue-ui-xy-gClSSwyU.cjs +3 -0
  152. package/package.json +1 -1
  153. package/dist/index-o6tXRhOr.cjs +0 -9
  154. package/dist/vue-ui-3d-bar-zKUnnMOY.cjs +0 -19
  155. package/dist/vue-ui-age-pyramid-Bg8Bexac.cjs +0 -1
  156. package/dist/vue-ui-bullet-DqM9h81O.cjs +0 -34
  157. package/dist/vue-ui-candlestick-C0PkovyK.cjs +0 -2
  158. package/dist/vue-ui-carousel-table-DbXCpYUm.cjs +0 -1
  159. package/dist/vue-ui-chestnut-Be4Lagdr.cjs +0 -6
  160. package/dist/vue-ui-donut-B7orj3vV.cjs +0 -1
  161. package/dist/vue-ui-donut-evolution-BmTzjKlH.cjs +0 -1
  162. package/dist/vue-ui-dumbbell-5yfcA-Of.cjs +0 -9
  163. package/dist/vue-ui-flow-Bar7LG9t.cjs +0 -1
  164. package/dist/vue-ui-funnel-lxHehCUr.cjs +0 -1
  165. package/dist/vue-ui-galaxy-B8zbGikp.cjs +0 -1
  166. package/dist/vue-ui-gauge-Bz1nzveF.cjs +0 -1
  167. package/dist/vue-ui-gizmo-C9XQ-7Sj.cjs +0 -1
  168. package/dist/vue-ui-heatmap-BW6dmp8j.cjs +0 -1
  169. package/dist/vue-ui-history-plot-Mp0zDeR-.cjs +0 -1
  170. package/dist/vue-ui-kpi-D8hh3p8f.cjs +0 -1
  171. package/dist/vue-ui-molecule-RkdIX-iW.cjs +0 -1
  172. package/dist/vue-ui-mood-radar-DLpDoq0G.cjs +0 -1
  173. package/dist/vue-ui-nested-donuts-BO249_PV.cjs +0 -17
  174. package/dist/vue-ui-onion-BjNQgHPX.cjs +0 -5
  175. package/dist/vue-ui-parallel-coordinate-plot-CoeVi-98.cjs +0 -8
  176. package/dist/vue-ui-quadrant-D701bdNz.cjs +0 -1
  177. package/dist/vue-ui-quick-chart-CRNEkxoM.cjs +0 -15
  178. package/dist/vue-ui-radar-3W9NRklj.cjs +0 -1
  179. package/dist/vue-ui-rating-DeuaL_cU.cjs +0 -1
  180. package/dist/vue-ui-relation-circle-B8JtK-JM.cjs +0 -1
  181. package/dist/vue-ui-rings-CZCTLghE.cjs +0 -2
  182. package/dist/vue-ui-scatter-DlA0xU5U.cjs +0 -1
  183. package/dist/vue-ui-smiley-BISneB7t.cjs +0 -2
  184. package/dist/vue-ui-spark-trend-lMzod-5S.cjs +0 -1
  185. package/dist/vue-ui-sparkbar-DcdDLl8l.cjs +0 -1
  186. package/dist/vue-ui-sparkgauge-BhwNRzrD.cjs +0 -1
  187. package/dist/vue-ui-sparkhistogram-D00ahrgs.cjs +0 -1
  188. package/dist/vue-ui-sparkline-CY92qVz0.cjs +0 -1
  189. package/dist/vue-ui-sparkstackbar-BjKL_6dq.cjs +0 -1
  190. package/dist/vue-ui-stackbar-T4VBFpDo.cjs +0 -6
  191. package/dist/vue-ui-strip-plot-CtjbMamo.cjs +0 -1
  192. package/dist/vue-ui-table-heatmap-CPn-jC0n.cjs +0 -1
  193. package/dist/vue-ui-table-sparkline-CIDuWZZs.cjs +0 -1
  194. package/dist/vue-ui-thermometer-CMvk1D7J.cjs +0 -1
  195. package/dist/vue-ui-timer-CUHgN89f.cjs +0 -64
  196. package/dist/vue-ui-tiremarks-w_gxHFeB.cjs +0 -1
  197. package/dist/vue-ui-treemap-CFhTEaxa.cjs +0 -1
  198. package/dist/vue-ui-vertical-bar-C51RKLB8.cjs +0 -4
  199. package/dist/vue-ui-waffle-CXZc4t27.cjs +0 -1
  200. package/dist/vue-ui-wheel-u9Vc7ZTZ.cjs +0 -1
  201. package/dist/vue-ui-word-cloud-tSXyXvd6.cjs +0 -1
  202. package/dist/vue-ui-xy-bX3g4COC.cjs +0 -3
@@ -1,185 +1,185 @@
1
- import { computed as k, ref as f, watch as ot, onMounted as lt, onBeforeUnmount as at, openBlock as g, createElementBlock as C, normalizeClass as Fe, normalizeStyle as R, unref as m, createBlock as E, createCommentVNode as O, createSlots as nt, withCtx as x, renderSlot as $, normalizeProps as G, guardReactiveProps as X, createVNode as Ie, Fragment as Le, renderList as Re, createElementVNode as S, toDisplayString as Y, createTextVNode as De, nextTick as st, pushScopeId as rt, popScopeId as ut } from "vue";
2
- import { u as it, c as Me, t as ct, a as dt, p as T, b as vt, o as ht, e as ft, d as ae, i as ne, f as K, X as pt, l as Ve, G as Be, x as He, y as gt, q as yt, r as mt } from "./index-CI-N9klv.js";
3
- import { _ as bt } from "./Title-DLjHHdyq.js";
4
- import { u as wt, U as kt } from "./usePrinter-CXc8xCKk.js";
5
- import { _ as Ct } from "./Tooltip-BDaa-67h.js";
6
- import { L as $t } from "./Legend-HooNAKB_.js";
7
- import xt from "./vue-ui-skeleton-owIhXtQF.js";
8
- import { D as Tt } from "./DataTable-DgbrnD__.js";
9
- import _t from "./vue-ui-accordion-CYLks1fW.js";
10
- import { t as Ot, u as St } from "./useResponsive-CoxXLe23.js";
11
- import { u as Ue } from "./useNestedProp-D1eJ0dvv.js";
12
- import { _ as Nt } from "./PackageVersion-S3SzpuwC.js";
13
- import { P as zt } from "./PenAndPaper-v846FwcH.js";
14
- import { u as Pt } from "./useUserOptionState-BIvW1Kz7.js";
15
- import { _ as At } from "./_plugin-vue_export-helper-CHgC5LLL.js";
16
- function We(a, i) {
1
+ import { useSlots as at, onMounted as Ie, computed as k, ref as f, watch as nt, onBeforeUnmount as st, openBlock as g, createElementBlock as w, normalizeClass as Le, normalizeStyle as R, unref as y, createBlock as E, createCommentVNode as S, createSlots as rt, withCtx as T, renderSlot as $, normalizeProps as G, guardReactiveProps as X, createVNode as Re, Fragment as De, renderList as Me, createElementVNode as N, toDisplayString as Y, createTextVNode as Ve, nextTick as ut, pushScopeId as it, popScopeId as ct } from "vue";
2
+ import { u as dt, c as Ue, t as vt, a as ht, p as _, b as ft, o as pt, e as gt, d as ae, i as ne, f as K, X as yt, l as Be, G as He, x as We, y as mt, q as bt, r as kt } from "./index-B9RAElpI.js";
3
+ import { _ as wt } from "./Title-zZtEcB9F.js";
4
+ import { u as Ct, U as $t } from "./usePrinter-CwTAwqtF.js";
5
+ import { _ as xt } from "./Tooltip-DDJ2Wvjy.js";
6
+ import { L as Tt } from "./Legend-f52bnttJ.js";
7
+ import _t from "./vue-ui-skeleton-DVYD_VSe.js";
8
+ import { D as Ot } from "./DataTable-CFUKU8PU.js";
9
+ import St from "./vue-ui-accordion-rNA598L6.js";
10
+ import { t as Nt, u as zt } from "./useResponsive-CoxXLe23.js";
11
+ import { u as Ee } from "./useNestedProp-DuruL3Nt.js";
12
+ import { _ as Pt } from "./PackageVersion-C_FFs0BP.js";
13
+ import { P as At } from "./PenAndPaper-Dx24BtRW.js";
14
+ import { u as Ft } from "./useUserOptionState-BIvW1Kz7.js";
15
+ import { _ as It } from "./_plugin-vue_export-helper-CHgC5LLL.js";
16
+ function Ge(a, c) {
17
17
  const s = a.length;
18
18
  if (s === 0)
19
19
  throw new Error(`Max aspect ratio cannot be computed: ${a} is an empty array`);
20
20
  {
21
- let n = 1 / 0, u = -1 / 0, c = 0;
22
- for (let h = 0; h < s; h += 1) {
23
- const v = a[h].normalizedValue;
24
- v < n && (n = v), v > u && (u = v), c += v;
21
+ let n = 1 / 0, i = -1 / 0, v = 0;
22
+ for (let p = 0; p < s; p += 1) {
23
+ const d = a[p].normalizedValue;
24
+ d < n && (n = d), d > i && (i = d), v += d;
25
25
  }
26
26
  return Math.max(
27
- i ** 2 * u / c ** 2,
28
- c ** 2 / (i ** 2 * n)
27
+ c ** 2 * i / v ** 2,
28
+ v ** 2 / (c ** 2 * n)
29
29
  );
30
30
  }
31
31
  }
32
- function Ee(a) {
33
- const { xOffset: i, yOffset: s, width: n, height: u } = a;
32
+ function Xe(a) {
33
+ const { xOffset: c, yOffset: s, width: n, height: i } = a;
34
34
  return {
35
- x0: i,
35
+ x0: c,
36
36
  y0: s,
37
- x1: i + n,
38
- y1: s + u
37
+ x1: c + n,
38
+ y1: s + i
39
39
  };
40
40
  }
41
- function Ft(a, i, s) {
41
+ function Lt(a, c, s) {
42
42
  if (a.length === 0)
43
43
  return !0;
44
44
  {
45
- const n = a.concat(i), u = We(
45
+ const n = a.concat(c), i = Ge(
46
46
  a,
47
47
  s
48
- ), c = We(n, s);
49
- return u >= c;
48
+ ), v = Ge(n, s);
49
+ return i >= v;
50
50
  }
51
51
  }
52
- function It(a) {
53
- const i = [], s = a.length;
52
+ function Rt(a) {
53
+ const c = [], s = a.length;
54
54
  for (let n = 0; n < s; n += 1) {
55
- const u = a[n], c = u.length;
56
- for (let d = 0; d < c; d += 1)
57
- i.push(u[d]);
55
+ const i = a[n], v = i.length;
56
+ for (let u = 0; u < v; u += 1)
57
+ c.push(i[u]);
58
58
  }
59
- return i;
59
+ return c;
60
60
  }
61
- function Lt(a, i) {
61
+ function Dt(a, c) {
62
62
  const s = {
63
- ...i,
63
+ ...c,
64
64
  children: a
65
65
  };
66
- return Xe(s);
66
+ return je(s);
67
67
  }
68
- function Rt(a) {
68
+ function Mt(a) {
69
69
  return (a.x1 - a.x0) * (a.y1 - a.y0);
70
70
  }
71
- function Ge(a, i) {
72
- const { width: s, height: n, xOffset: u, yOffset: c } = de(i), d = a.length, h = a.map((p) => p.normalizedValue || 0).reduce((p, _) => p + _, 0), v = h / n, N = h / s;
73
- let w = u, z = c;
74
- const y = [];
71
+ function qe(a, c) {
72
+ const { width: s, height: n, xOffset: i, yOffset: v } = de(c), u = a.length, p = a.map((h) => h.normalizedValue || 0).reduce((h, b) => h + b, 0), d = p / n, z = p / s;
73
+ let O = i, C = v;
74
+ const x = [];
75
75
  if (s >= n) {
76
- for (let p = 0; p < d; p += 1) {
77
- const _ = a[p], P = z + _.normalizedValue / v, D = {
78
- x0: w,
79
- y0: z,
80
- x1: w + v,
76
+ for (let h = 0; h < u; h += 1) {
77
+ const b = a[h], P = C + b.normalizedValue / d, D = {
78
+ x0: O,
79
+ y0: C,
80
+ x1: O + d,
81
81
  y1: P
82
- }, A = Object.assign({}, _, D);
83
- z = P, y.push(A);
82
+ }, A = Object.assign({}, b, D);
83
+ C = P, x.push(A);
84
84
  }
85
- return y;
85
+ return x;
86
86
  } else {
87
- for (let p = 0; p < d; p += 1) {
88
- const _ = a[p], P = w + _.normalizedValue / N, D = {
89
- x0: w,
90
- y0: z,
87
+ for (let h = 0; h < u; h += 1) {
88
+ const b = a[h], P = O + b.normalizedValue / z, D = {
89
+ x0: O,
90
+ y0: C,
91
91
  x1: P,
92
- y1: z + N
93
- }, A = Object.assign({}, _, D);
94
- w = P, y.push(A);
92
+ y1: C + z
93
+ }, A = Object.assign({}, b, D);
94
+ O = P, x.push(A);
95
95
  }
96
- return y;
96
+ return x;
97
97
  }
98
98
  }
99
- function Dt(a) {
100
- const i = de(a), s = i.width, n = i.height;
99
+ function Vt(a) {
100
+ const c = de(a), s = c.width, n = c.height;
101
101
  return Math.min(s, n);
102
102
  }
103
- function Mt(a, i) {
104
- const s = a.length, n = a.map((v) => v.value ?? 0).reduce((v, N) => v + N, 0), u = i / n, c = [];
105
- let d, h;
106
- for (let v = 0; v < s; v += 1)
107
- h = a[v], d = Object.assign({}, h, {
108
- normalizedValue: h.value * (u || 0)
109
- }), c.push(d);
110
- return c;
103
+ function Ut(a, c) {
104
+ const s = a.length, n = a.map((d) => d.value ?? 0).reduce((d, z) => d + z, 0), i = c / n, v = [];
105
+ let u, p;
106
+ for (let d = 0; d < s; d += 1)
107
+ p = a[d], u = Object.assign({}, p, {
108
+ normalizedValue: p.value * (i || 0)
109
+ }), v.push(u);
110
+ return v;
111
111
  }
112
112
  function de(a) {
113
- const { x0: i, y0: s, x1: n, y1: u } = a;
113
+ const { x0: c, y0: s, x1: n, y1: i } = a;
114
114
  return {
115
- xOffset: i,
115
+ xOffset: c,
116
116
  yOffset: s,
117
- width: n - i,
118
- height: u - s
117
+ width: n - c,
118
+ height: i - s
119
119
  };
120
120
  }
121
- function Vt(a, i, s, n) {
122
- let u = a, c = i, d = s, h = n;
121
+ function Bt(a, c, s, n) {
122
+ let i = a, v = c, u = s, p = n;
123
123
  for (; ; ) {
124
- const v = u.length;
125
- if (v === 0) {
126
- const y = Ge(c, d);
127
- return h.concat(y);
124
+ const d = i.length;
125
+ if (d === 0) {
126
+ const x = qe(v, u);
127
+ return p.concat(x);
128
128
  }
129
- const N = Dt(d), w = u[0], z = u.slice(1, v);
130
- if (Ft(c, w, N)) {
131
- const y = c.concat(w);
132
- u = z, c = y, d = d, h = h;
129
+ const z = Vt(u), O = i[0], C = i.slice(1, d);
130
+ if (Lt(v, O, z)) {
131
+ const x = v.concat(O);
132
+ i = C, v = x, u = u, p = p;
133
133
  } else {
134
- const y = c.length;
135
- let p = 0;
136
- for (let A = 0; A < y; A += 1)
137
- p += c[A].normalizedValue;
138
- const _ = Bt(d, p), P = Ge(c, d), D = h.concat(P);
139
- u = u, c = [], d = _, h = D;
134
+ const x = v.length;
135
+ let h = 0;
136
+ for (let A = 0; A < x; A += 1)
137
+ h += v[A].normalizedValue;
138
+ const b = Ht(u, h), P = qe(v, u), D = p.concat(P);
139
+ i = i, v = [], u = b, p = D;
140
140
  }
141
141
  }
142
142
  }
143
- function Xe(a) {
143
+ function je(a) {
144
144
  if (typeof a.children > "u" || !a.children.length)
145
145
  return [a];
146
146
  {
147
- const i = Mt(
147
+ const c = Ut(
148
148
  a.children,
149
- Rt(a)
150
- ), s = Vt(i, [], a, []), n = s.length, u = [];
151
- for (let d = 0; d < n; d += 1)
152
- u.push(Xe(s[d]));
153
- return It(u);
149
+ Mt(a)
150
+ ), s = Bt(c, [], a, []), n = s.length, i = [];
151
+ for (let u = 0; u < n; u += 1)
152
+ i.push(je(s[u]));
153
+ return Rt(i);
154
154
  }
155
155
  }
156
- function Bt(a, i) {
157
- const { width: s, height: n, xOffset: u, yOffset: c } = de(a);
156
+ function Ht(a, c) {
157
+ const { width: s, height: n, xOffset: i, yOffset: v } = de(a);
158
158
  if (s >= n) {
159
- const d = i / n, h = s - d, v = {
160
- xOffset: u + d,
161
- yOffset: c,
162
- width: h,
159
+ const u = c / n, p = s - u, d = {
160
+ xOffset: i + u,
161
+ yOffset: v,
162
+ width: p,
163
163
  height: n
164
164
  };
165
- return Ee(v);
165
+ return Xe(d);
166
166
  } else {
167
- const d = i / s, h = n - d, v = {
168
- xOffset: u,
169
- yOffset: c + d,
167
+ const u = c / s, p = n - u, d = {
168
+ xOffset: i,
169
+ yOffset: v + u,
170
170
  width: s,
171
- height: h
171
+ height: p
172
172
  };
173
- return Ee(v);
173
+ return Xe(d);
174
174
  }
175
175
  }
176
- const Ht = (a) => (rt("data-v-9a178263"), a = a(), ut(), a), Ut = ["id"], Wt = ["xmlns", "viewBox"], Et = { key: 0 }, Gt = ["id"], Xt = ["stop-color"], qt = ["stop-color"], jt = ["x", "y", "height", "width", "fill", "rx", "stroke", "stroke-width", "onClick", "onMouseenter"], Yt = ["x", "y", "height", "width"], Zt = {
176
+ const Wt = (a) => (it("data-v-d58b1737"), a = a(), ct(), a), Et = ["id"], Gt = ["xmlns", "viewBox"], Xt = { key: 0 }, qt = ["id"], jt = ["stop-color"], Yt = ["stop-color"], Zt = ["x", "y", "height", "width", "fill", "rx", "stroke", "stroke-width", "onClick", "onMouseenter"], Jt = ["x", "y", "height", "width"], Kt = {
177
177
  style: { width: "100%", height: "100%" },
178
178
  class: "vue-ui-treemap-cell"
179
- }, Jt = /* @__PURE__ */ Ht(() => /* @__PURE__ */ S("br", null, null, -1)), Kt = {
179
+ }, Qt = /* @__PURE__ */ Wt(() => /* @__PURE__ */ N("br", null, null, -1)), eo = {
180
180
  key: 5,
181
181
  class: "vue-data-ui-watermark"
182
- }, Qt = ["onClick"], eo = { key: 0 }, to = { key: 1 }, oo = ["innerHTML"], lo = {
182
+ }, to = ["onClick"], oo = { key: 0 }, lo = { key: 1 }, ao = ["innerHTML"], no = {
183
183
  __name: "vue-ui-treemap",
184
184
  props: {
185
185
  config: {
@@ -196,37 +196,41 @@ const Ht = (a) => (rt("data-v-9a178263"), a = a(), ut(), a), Ut = ["id"], Wt = [
196
196
  }
197
197
  },
198
198
  emits: ["selectLegend", "selectDatapoint"],
199
- setup(a, { expose: i, emit: s }) {
200
- const n = a, { vue_ui_treemap: u } = it(), c = k(() => !!n.dataset && n.dataset.length), d = k(() => /^((?!chrome|android).)*safari/i.test(navigator.userAgent)), h = f(Me()), v = f(!1), N = f(""), w = f(!1), z = f(0), y = f([]), p = f(null), _ = f(null), P = f(null), D = f(null), A = f(null), ve = f(0), he = f(0), fe = f(0), e = k({
201
- get: () => ye(),
199
+ setup(a, { expose: c, emit: s }) {
200
+ const n = a, { vue_ui_treemap: i } = dt(), v = at();
201
+ Ie(() => {
202
+ v["chart-background"] && console.warn("VueUiTreemap does not support the #chart-background slot.");
203
+ });
204
+ const u = k(() => !!n.dataset && n.dataset.length), p = k(() => /^((?!chrome|android).)*safari/i.test(navigator.userAgent)), d = f(Ue()), z = f(!1), O = f(""), C = f(!1), x = f(0), h = f([]), b = f(null), P = f(null), D = f(null), A = f(null), ve = f(null), he = f(0), fe = f(0), pe = f(0), e = k({
205
+ get: () => me(),
202
206
  set: (t) => t
203
- }), { userOptionsVisible: se, setUserOptionsVisibility: pe, keepUserOptionState: ge } = Pt({ config: e.value });
204
- function ye() {
205
- const t = Ue({
207
+ }), { userOptionsVisible: se, setUserOptionsVisibility: ge, keepUserOptionState: ye } = Ft({ config: e.value });
208
+ function me() {
209
+ const t = Ee({
206
210
  userConfig: n.config,
207
- defaultConfig: u
211
+ defaultConfig: i
208
212
  });
209
213
  return t.theme ? {
210
- ...Ue({
211
- userConfig: ct.vue_ui_treemap[t.theme] || n.config,
214
+ ...Ee({
215
+ userConfig: vt.vue_ui_treemap[t.theme] || n.config,
212
216
  defaultConfig: t
213
217
  }),
214
- customPalette: dt[t.theme] || T
218
+ customPalette: ht[t.theme] || _
215
219
  } : t;
216
220
  }
217
- ot(() => n.config, (t) => {
218
- e.value = ye(), se.value = !e.value.showOnChartHover, ve.value += 1, he.value += 1, fe.value += 1;
221
+ nt(() => n.config, (t) => {
222
+ e.value = me(), se.value = !e.value.showOnChartHover, he.value += 1, fe.value += 1, pe.value += 1;
219
223
  }, { deep: !0 });
220
- const { isPrinting: me, isImaging: be, generatePdf: we, generateImage: ke } = wt({
221
- elementId: `treemap_${h.value}`,
224
+ const { isPrinting: be, isImaging: ke, generatePdf: we, generateImage: Ce } = Ct({
225
+ elementId: `treemap_${d.value}`,
222
226
  fileName: e.value.style.chart.title.text || "vue-ui-treemap"
223
- }), qe = k(() => e.value.userOptions.show && !e.value.style.chart.title.text), Q = k(() => vt(e.value.customPalette)), M = f({
227
+ }), Ye = k(() => e.value.userOptions.show && !e.value.style.chart.title.text), Q = k(() => ft(e.value.customPalette)), M = f({
224
228
  showTable: e.value.table.show,
225
229
  showTooltip: e.value.style.chart.tooltip.show
226
230
  }), V = f({
227
231
  height: e.value.style.chart.height,
228
232
  width: e.value.style.chart.width
229
- }), H = k(() => ({
233
+ }), B = k(() => ({
230
234
  bottom: V.value.height - e.value.style.chart.padding.bottom,
231
235
  height: V.value.height - e.value.style.chart.padding.top - e.value.style.chart.padding.bottom,
232
236
  left: e.value.style.chart.padding.left,
@@ -236,42 +240,42 @@ const Ht = (a) => (rt("data-v-9a178263"), a = a(), ut(), a), Ut = ["id"], Wt = [
236
240
  vbWidth: V.value.width,
237
241
  width: V.value.width - e.value.style.chart.padding.left - e.value.style.chart.padding.right
238
242
  }));
239
- function Ce(t) {
243
+ function $e(t) {
240
244
  t.forEach((l, o) => {
241
- l.id = Me(), l.color = ae(l.color) || Q.value[o] || T[o] || T[o % T.length], l.children && (l.children.forEach((r) => {
245
+ l.id = Ue(), l.color = ae(l.color) || Q.value[o] || _[o] || _[o % _.length], l.children && (l.children.forEach((r) => {
242
246
  r.parentId = l.id, r.color = l.color;
243
- }), Ce(l.children));
247
+ }), $e(l.children));
244
248
  });
245
249
  }
246
- const U = f(n.dataset), ee = f(null);
247
- lt(() => {
248
- je();
250
+ const H = f(n.dataset), ee = f(null);
251
+ Ie(() => {
252
+ Ze();
249
253
  });
250
- function je() {
251
- if (ht(n.dataset) && ft({
254
+ function Ze() {
255
+ if (pt(n.dataset) && gt({
252
256
  componentName: "VueUiTreemap",
253
257
  type: "dataset"
254
- }), Ce(U.value), e.value.responsive) {
255
- const t = Ot(() => {
256
- const { width: l, height: o } = St({
257
- chart: p.value,
258
- title: e.value.style.chart.title.text ? _.value : null,
259
- legend: e.value.style.chart.legend.show ? P.value : null,
260
- source: D.value,
261
- noTitle: A.value
258
+ }), $e(H.value), e.value.responsive) {
259
+ const t = Nt(() => {
260
+ const { width: l, height: o } = zt({
261
+ chart: b.value,
262
+ title: e.value.style.chart.title.text ? P.value : null,
263
+ legend: e.value.style.chart.legend.show ? D.value : null,
264
+ source: A.value,
265
+ noTitle: ve.value
262
266
  });
263
267
  V.value.width = l, V.value.height = o;
264
268
  });
265
- ee.value = new ResizeObserver(t), ee.value.observe(p.value.parentNode);
269
+ ee.value = new ResizeObserver(t), ee.value.observe(b.value.parentNode);
266
270
  }
267
271
  }
268
- at(() => {
272
+ st(() => {
269
273
  ee.value && ee.value.disconnect();
270
274
  });
271
- const re = f(U.value), Z = k(() => re.value.map((t, l) => ({
275
+ const re = f(H.value), Z = k(() => re.value.map((t, l) => ({
272
276
  ...t,
273
- color: ae(t.color) || Q.value[l] || T[l] || T[l % T.length]
274
- })).filter((t) => !y.value.includes(t.id))), q = k(() => U.value.filter((t) => !y.value.includes(t.id)).map((t) => t.value || 0).reduce((t, l) => t + l, 0)), $e = k({
277
+ color: ae(t.color) || Q.value[l] || _[l] || _[l % _.length]
278
+ })).filter((t) => !h.value.includes(t.id))), q = k(() => H.value.filter((t) => !h.value.includes(t.id)).map((t) => t.value || 0).reduce((t, l) => t + l, 0)), xe = k({
275
279
  get() {
276
280
  let t = [...Z.value];
277
281
  return e.value.style.chart.layout.sorted && (t = [...Z.value].sort((l, o) => o.value - l.value)), t.map((l) => ({
@@ -282,58 +286,58 @@ const Ht = (a) => (rt("data-v-9a178263"), a = a(), ut(), a), Ut = ["id"], Wt = [
282
286
  return t;
283
287
  }
284
288
  });
285
- function xe(t, l) {
289
+ function Te(t, l) {
286
290
  return t.value / l;
287
291
  }
288
- function Ye(t, l, o) {
289
- const r = e.value.style.chart.layout.rects.colorRatio - xe(l, o);
290
- return Ve(t, r < 0 ? 0 : r);
292
+ function Je(t, l, o) {
293
+ const r = e.value.style.chart.layout.rects.colorRatio - Te(l, o);
294
+ return Be(t, r < 0 ? 0 : r);
291
295
  }
292
- function Te(t, l, o, r) {
293
- return t.map((b, B) => {
294
- const le = Ye(ae(l) || Q.value[B] || T[B] || T[B % T.length], b, r), tt = xe(b, r);
296
+ function _e(t, l, o, r) {
297
+ return t.map((m, U) => {
298
+ const le = Je(ae(l) || Q.value[U] || _[U] || _[U % _.length], m, r), lt = Te(m, r);
295
299
  return {
296
- ...b,
300
+ ...m,
297
301
  color: le,
298
- proportion: tt,
302
+ proportion: lt,
299
303
  parentName: o,
300
- children: b.children ? Te(b.children, le, b.name, r) : void 0
304
+ children: m.children ? _e(m.children, le, m.name, r) : void 0
301
305
  };
302
306
  });
303
307
  }
304
- const J = k(() => Lt(
305
- $e.value.map((t, l) => {
306
- const o = t.children ? t.children.reduce((r, b) => r + b.value, 0) : t.value;
308
+ const J = k(() => Dt(
309
+ xe.value.map((t, l) => {
310
+ const o = t.children ? t.children.reduce((r, m) => r + m.value, 0) : t.value;
307
311
  return {
308
312
  value: t.value,
309
313
  id: t.id,
310
- children: t.children ? Te(t.children.sort((r, b) => b.value - r.value), t.color, t.name, o) : void 0,
314
+ children: t.children ? _e(t.children.sort((r, m) => m.value - r.value), t.color, t.name, o) : void 0,
311
315
  color: t.color,
312
316
  name: t.name
313
317
  };
314
318
  }),
315
- { x0: H.value.left * 2, y0: H.value.top, x1: H.value.width, y1: H.value.height }
319
+ { x0: B.value.left * 2, y0: B.value.top, x1: B.value.width, y1: B.value.height }
316
320
  ));
317
- function _e({ y0: t, y1: l }) {
321
+ function Oe({ y0: t, y1: l }) {
318
322
  return l - t <= 0 ? 1e-4 : l - t;
319
323
  }
320
- function Oe({ x0: t, x1: l }) {
324
+ function Se({ x0: t, x1: l }) {
321
325
  return l - t <= 0 ? 1e-4 : l - t;
322
326
  }
323
327
  function W(t) {
324
328
  const l = e.value.style.chart.layout.labels.fontSize * (t.proportion * 2 > 1 ? 1 : t.proportion * 2);
325
329
  return l < e.value.style.chart.layout.labels.minFontSize ? e.value.style.chart.layout.labels.minFontSize : l;
326
330
  }
327
- function Ze(t) {
328
- w.value = t, z.value += 1;
331
+ function Ke(t) {
332
+ C.value = t, x.value += 1;
329
333
  }
330
334
  const j = k(() => ({
331
335
  startX: 0,
332
336
  startY: 0,
333
- width: H.value.vbWidth,
334
- height: H.value.vbHeight
337
+ width: B.value.vbWidth,
338
+ height: B.value.vbHeight
335
339
  })), F = f(!1);
336
- function ue(t, l = U.value) {
340
+ function ue(t, l = H.value) {
337
341
  for (const o of l) {
338
342
  if (o.id === t)
339
343
  return o;
@@ -345,9 +349,9 @@ const Ht = (a) => (rt("data-v-9a178263"), a = a(), ut(), a), Ut = ["id"], Wt = [
345
349
  }
346
350
  return null;
347
351
  }
348
- function Je(t) {
352
+ function Qe(t) {
349
353
  if (F.value)
350
- s("selectDatapoint", void 0), re.value = U.value;
354
+ s("selectDatapoint", void 0), re.value = H.value;
351
355
  else {
352
356
  if (s("selectDatapoint", t), !ue(t.parentId))
353
357
  return;
@@ -355,15 +359,15 @@ const Ht = (a) => (rt("data-v-9a178263"), a = a(), ut(), a), Ut = ["id"], Wt = [
355
359
  }
356
360
  F.value = !F.value;
357
361
  }
358
- const I = f(null), Se = k(() => U.value.map((t, l) => ({
362
+ const I = f(null), Ne = k(() => H.value.map((t, l) => ({
359
363
  ...t,
360
- color: ae(t.color) || Q.value[l] || T[l] || T[l % T.length],
364
+ color: ae(t.color) || Q.value[l] || _[l] || _[l % _.length],
361
365
  shape: "square"
362
366
  })).sort((t, l) => l.value - t.value).map((t, l) => ({
363
367
  ...t,
364
- proportion: t.value / U.value.map((o) => o.value).reduce((o, r) => o + r, 0),
365
- opacity: y.value.includes(t.id) ? 0.5 : 1
366
- }))), Ke = k(() => ({
368
+ proportion: t.value / H.value.map((o) => o.value).reduce((o, r) => o + r, 0),
369
+ opacity: h.value.includes(t.id) ? 0.5 : 1
370
+ }))), et = k(() => ({
367
371
  cy: "treemap-div-legend",
368
372
  backgroundColor: e.value.style.chart.legend.backgroundColor,
369
373
  color: e.value.style.chart.legend.color,
@@ -371,20 +375,20 @@ const Ht = (a) => (rt("data-v-9a178263"), a = a(), ut(), a), Ut = ["id"], Wt = [
371
375
  paddingBottom: 12,
372
376
  fontWeight: e.value.style.chart.legend.bold ? "bold" : ""
373
377
  }));
374
- function Ne(t) {
375
- F.value = !1, I.value = null, y.value.includes(t.id) ? y.value = y.value.filter((l) => l !== t.id) : y.value.length < n.dataset.length - 1 && y.value.push(t.id), s("selectLegend", $e.value);
378
+ function ze(t) {
379
+ F.value = !1, I.value = null, h.value.includes(t.id) ? h.value = h.value.filter((l) => l !== t.id) : h.value.length < n.dataset.length - 1 && h.value.push(t.id), s("selectLegend", xe.value);
376
380
  }
377
381
  const ie = f(null);
378
- function Qe({ datapoint: t, seriesIndex: l }) {
382
+ function tt({ datapoint: t, seriesIndex: l }) {
379
383
  I.value = t, ie.value = { datapoint: t, seriesIndex: l, config: e.value, series: Z.value };
380
384
  const o = e.value.style.chart.tooltip.customFormat;
381
- if (He(o) && gt(() => o({
385
+ if (We(o) && mt(() => o({
382
386
  seriesIndex: l,
383
387
  datapoint: t,
384
388
  series: Z.value,
385
389
  config: e.value
386
390
  })))
387
- N.value = o({
391
+ O.value = o({
388
392
  seriesIndex: l,
389
393
  datapoint: t,
390
394
  series: Z.value,
@@ -402,9 +406,9 @@ const Ht = (a) => (rt("data-v-9a178263"), a = a(), ut(), a), Ut = ["id"], Wt = [
402
406
  r: e.value.style.chart.tooltip.roundingValue
403
407
  }),
404
408
  { datapoint: t, seriesIndex: l }
405
- )}</b>`, N.value = `<div>${r}</div>`;
409
+ )}</b>`, O.value = `<div>${r}</div>`;
406
410
  }
407
- v.value = !0;
411
+ z.value = !0;
408
412
  }
409
413
  const L = k(() => {
410
414
  const t = J.value.map((o) => ({
@@ -413,12 +417,12 @@ const Ht = (a) => (rt("data-v-9a178263"), a = a(), ut(), a), Ut = ["id"], Wt = [
413
417
  })), l = J.value.map((o) => o.value);
414
418
  return { head: t, body: l };
415
419
  });
416
- function ze() {
417
- st(() => {
418
- const t = L.value.head.map((r, b) => [[
420
+ function Pe() {
421
+ ut(() => {
422
+ const t = L.value.head.map((r, m) => [[
419
423
  r.name
420
- ], [L.value.body[b]], [isNaN(L.value.body[b] / q.value) ? "-" : L.value.body[b] / q.value * 100]]), l = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [[""], ["val"], ["%"]]].concat(t), o = yt(l);
421
- mt({ csvContent: o, title: e.value.style.chart.title.text || "vue-ui-treemap" });
424
+ ], [L.value.body[m]], [isNaN(L.value.body[m] / q.value) ? "-" : L.value.body[m] / q.value * 100]]), l = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [[""], ["val"], ["%"]]].concat(t), o = bt(l);
425
+ kt({ csvContent: o, title: e.value.style.chart.title.text || "vue-ui-treemap" });
422
426
  });
423
427
  }
424
428
  const te = k(() => {
@@ -426,26 +430,26 @@ const Ht = (a) => (rt("data-v-9a178263"), a = a(), ut(), a), Ut = ["id"], Wt = [
426
430
  e.value.table.columnNames.series,
427
431
  e.value.table.columnNames.value,
428
432
  e.value.table.columnNames.percentage
429
- ], l = L.value.head.map((b, B) => {
433
+ ], l = L.value.head.map((m, U) => {
430
434
  const le = ne(
431
435
  e.value.style.chart.layout.labels.formatter,
432
- L.value.body[B],
436
+ L.value.body[U],
433
437
  K({
434
438
  p: e.value.style.chart.layout.labels.prefix,
435
- v: L.value.body[B],
439
+ v: L.value.body[U],
436
440
  s: e.value.style.chart.layout.labels.suffix,
437
441
  r: e.value.table.td.roundingValue
438
442
  })
439
443
  );
440
444
  return [
441
445
  {
442
- color: b.color,
443
- name: b.name,
446
+ color: m.color,
447
+ name: m.name,
444
448
  shape: "square"
445
449
  },
446
450
  le,
447
- isNaN(L.value.body[B] / q.value) ? "-" : K({
448
- v: L.value.body[B] / q.value * 100,
451
+ isNaN(L.value.body[U] / q.value) ? "-" : K({
452
+ v: L.value.body[U] / q.value * 100,
449
453
  s: "%",
450
454
  r: e.value.table.td.roundingPercentage
451
455
  })
@@ -473,59 +477,59 @@ const Ht = (a) => (rt("data-v-9a178263"), a = a(), ut(), a), Ut = ["id"], Wt = [
473
477
  config: o
474
478
  };
475
479
  });
476
- function et() {
480
+ function ot() {
477
481
  return J.value;
478
482
  }
479
- function Pe() {
483
+ function Ae() {
480
484
  M.value.showTable = !M.value.showTable;
481
485
  }
482
- function Ae() {
486
+ function Fe() {
483
487
  M.value.showTooltip = !M.value.showTooltip;
484
488
  }
485
489
  const oe = f(!1);
486
490
  function ce() {
487
491
  oe.value = !oe.value;
488
492
  }
489
- return i({
490
- getData: et,
491
- generateCsv: ze,
492
- generateImage: ke,
493
+ return c({
494
+ getData: ot,
495
+ generateCsv: Pe,
496
+ generateImage: Ce,
493
497
  generatePdf: we,
494
- toggleTable: Pe,
495
- toggleTooltip: Ae,
498
+ toggleTable: Ae,
499
+ toggleTooltip: Fe,
496
500
  toggleAnnotator: ce
497
- }), (t, l) => (g(), C("div", {
501
+ }), (t, l) => (g(), w("div", {
498
502
  ref_key: "treemapChart",
499
- ref: p,
500
- class: Fe(`vue-ui-treemap ${w.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.value.useCssAnimation ? "" : "vue-ui-dna"}`),
503
+ ref: b,
504
+ class: Le(`vue-ui-treemap ${C.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.value.useCssAnimation ? "" : "vue-ui-dna"}`),
501
505
  style: R(`font-family:${e.value.style.fontFamily};width:100%; ${e.value.responsive ? "height: 100%;" : ""} text-align:center;background:${e.value.style.chart.backgroundColor}`),
502
- id: `treemap_${h.value}`,
503
- onMouseenter: l[3] || (l[3] = () => m(pe)(!0)),
504
- onMouseleave: l[4] || (l[4] = () => m(pe)(!1))
506
+ id: `treemap_${d.value}`,
507
+ onMouseenter: l[3] || (l[3] = () => y(ge)(!0)),
508
+ onMouseleave: l[4] || (l[4] = () => y(ge)(!1))
505
509
  }, [
506
- e.value.userOptions.buttons.annotator ? (g(), E(zt, {
510
+ e.value.userOptions.buttons.annotator ? (g(), E(At, {
507
511
  key: 0,
508
- parent: p.value,
512
+ parent: b.value,
509
513
  backgroundColor: e.value.style.chart.backgroundColor,
510
514
  color: e.value.style.chart.color,
511
515
  active: oe.value,
512
516
  onClose: ce
513
- }, null, 8, ["parent", "backgroundColor", "color", "active"])) : O("", !0),
514
- qe.value ? (g(), C("div", {
517
+ }, null, 8, ["parent", "backgroundColor", "color", "active"])) : S("", !0),
518
+ Ye.value ? (g(), w("div", {
515
519
  key: 1,
516
520
  ref_key: "noTitle",
517
- ref: A,
521
+ ref: ve,
518
522
  class: "vue-data-ui-no-title-space",
519
523
  style: "height:36px; width: 100%;background:transparent"
520
- }, null, 512)) : O("", !0),
521
- e.value.style.chart.title.text ? (g(), C("div", {
524
+ }, null, 512)) : S("", !0),
525
+ e.value.style.chart.title.text ? (g(), w("div", {
522
526
  key: 2,
523
527
  ref_key: "chartTitle",
524
- ref: _,
528
+ ref: P,
525
529
  style: R(`width:100%;background:${e.value.style.chart.backgroundColor};padding-bottom:6px`)
526
530
  }, [
527
- (g(), E(bt, {
528
- key: `title_${ve.value}`,
531
+ (g(), E(wt, {
532
+ key: `title_${he.value}`,
529
533
  config: {
530
534
  title: {
531
535
  cy: "treemap-div-title",
@@ -537,158 +541,158 @@ const Ht = (a) => (rt("data-v-9a178263"), a = a(), ut(), a), Ut = ["id"], Wt = [
537
541
  }
538
542
  }
539
543
  }, null, 8, ["config"]))
540
- ], 4)) : O("", !0),
541
- e.value.userOptions.show && c.value && (m(ge) || m(se)) ? (g(), E(kt, {
544
+ ], 4)) : S("", !0),
545
+ e.value.userOptions.show && u.value && (y(ye) || y(se)) ? (g(), E($t, {
542
546
  ref: "details",
543
- key: `user_option_${z.value}`,
547
+ key: `user_option_${x.value}`,
544
548
  backgroundColor: e.value.style.chart.backgroundColor,
545
549
  color: e.value.style.chart.color,
546
- isPrinting: m(me),
547
- isImaging: m(be),
548
- uid: h.value,
550
+ isPrinting: y(be),
551
+ isImaging: y(ke),
552
+ uid: d.value,
549
553
  hasTooltip: e.value.userOptions.buttons.tooltip && e.value.style.chart.tooltip.show,
550
554
  hasPdf: e.value.userOptions.buttons.pdf,
551
555
  hasXls: e.value.userOptions.buttons.csv,
552
556
  hasImg: e.value.userOptions.buttons.img,
553
557
  hasTable: e.value.userOptions.buttons.table,
554
558
  hasFullscreen: e.value.userOptions.buttons.fullscreen,
555
- isFullscreen: w.value,
559
+ isFullscreen: C.value,
556
560
  isTooltip: M.value.showTooltip,
557
561
  titles: { ...e.value.userOptions.buttonTitles },
558
- chartElement: p.value,
562
+ chartElement: b.value,
559
563
  position: e.value.userOptions.position,
560
564
  hasAnnotator: e.value.userOptions.buttons.annotator,
561
565
  isAnnotation: oe.value,
562
- onToggleFullscreen: Ze,
563
- onGeneratePdf: m(we),
564
- onGenerateCsv: ze,
565
- onGenerateImage: m(ke),
566
- onToggleTable: Pe,
567
- onToggleTooltip: Ae,
566
+ onToggleFullscreen: Ke,
567
+ onGeneratePdf: y(we),
568
+ onGenerateCsv: Pe,
569
+ onGenerateImage: y(Ce),
570
+ onToggleTable: Ae,
571
+ onToggleTooltip: Fe,
568
572
  onToggleAnnotator: ce,
569
573
  style: R({
570
- visibility: m(ge) ? m(se) ? "visible" : "hidden" : "visible"
574
+ visibility: y(ye) ? y(se) ? "visible" : "hidden" : "visible"
571
575
  })
572
- }, nt({ _: 2 }, [
576
+ }, rt({ _: 2 }, [
573
577
  t.$slots.optionTooltip ? {
574
578
  name: "optionTooltip",
575
- fn: x(() => [
579
+ fn: T(() => [
576
580
  $(t.$slots, "optionTooltip", {}, void 0, !0)
577
581
  ]),
578
582
  key: "0"
579
583
  } : void 0,
580
584
  t.$slots.optionPdf ? {
581
585
  name: "optionPdf",
582
- fn: x(() => [
586
+ fn: T(() => [
583
587
  $(t.$slots, "optionPdf", {}, void 0, !0)
584
588
  ]),
585
589
  key: "1"
586
590
  } : void 0,
587
591
  t.$slots.optionCsv ? {
588
592
  name: "optionCsv",
589
- fn: x(() => [
593
+ fn: T(() => [
590
594
  $(t.$slots, "optionCsv", {}, void 0, !0)
591
595
  ]),
592
596
  key: "2"
593
597
  } : void 0,
594
598
  t.$slots.optionImg ? {
595
599
  name: "optionImg",
596
- fn: x(() => [
600
+ fn: T(() => [
597
601
  $(t.$slots, "optionImg", {}, void 0, !0)
598
602
  ]),
599
603
  key: "3"
600
604
  } : void 0,
601
605
  t.$slots.optionTable ? {
602
606
  name: "optionTable",
603
- fn: x(() => [
607
+ fn: T(() => [
604
608
  $(t.$slots, "optionTable", {}, void 0, !0)
605
609
  ]),
606
610
  key: "4"
607
611
  } : void 0,
608
612
  t.$slots.optionFullscreen ? {
609
613
  name: "optionFullscreen",
610
- fn: x(({ toggleFullscreen: o, isFullscreen: r }) => [
614
+ fn: T(({ toggleFullscreen: o, isFullscreen: r }) => [
611
615
  $(t.$slots, "optionFullscreen", G(X({ toggleFullscreen: o, isFullscreen: r })), void 0, !0)
612
616
  ]),
613
617
  key: "5"
614
618
  } : void 0,
615
619
  t.$slots.optionAnnotator ? {
616
620
  name: "optionAnnotator",
617
- fn: x(({ toggleAnnotator: o, isAnnotator: r }) => [
621
+ fn: T(({ toggleAnnotator: o, isAnnotator: r }) => [
618
622
  $(t.$slots, "optionAnnotator", G(X({ toggleAnnotator: o, isAnnotator: r })), void 0, !0)
619
623
  ]),
620
624
  key: "6"
621
625
  } : void 0
622
- ]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasTooltip", "hasPdf", "hasXls", "hasImg", "hasTable", "hasFullscreen", "isFullscreen", "isTooltip", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "onGeneratePdf", "onGenerateImage", "style"])) : O("", !0),
623
- c.value ? (g(), C("svg", {
626
+ ]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasTooltip", "hasPdf", "hasXls", "hasImg", "hasTable", "hasFullscreen", "isFullscreen", "isTooltip", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "onGeneratePdf", "onGenerateImage", "style"])) : S("", !0),
627
+ u.value ? (g(), w("svg", {
624
628
  key: 4,
625
- xmlns: m(pt),
626
- class: Fe({ "vue-data-ui-fullscreen--on": w.value, "vue-data-ui-fulscreen--off": !w.value, "vue-data-ui-zoom-plus": !F.value, "vue-data-ui-zoom-minus": F.value }),
629
+ xmlns: y(yt),
630
+ class: Le({ "vue-data-ui-fullscreen--on": C.value, "vue-data-ui-fulscreen--off": !C.value, "vue-data-ui-zoom-plus": !F.value, "vue-data-ui-zoom-minus": F.value }),
627
631
  viewBox: `${j.value.startX} ${j.value.startY} ${j.value.width <= 0 ? 10 : j.value.width} ${j.value.height <= 0 ? 10 : j.value.height}`,
628
632
  style: R(`max-width:100%; overflow: hidden; background:transparent;color:${e.value.style.chart.color}`)
629
633
  }, [
630
- Ie(Nt),
631
- (g(!0), C(Le, null, Re(J.value, (o, r) => (g(), C("g", null, [
632
- e.value.style.chart.layout.rects.gradient.show ? (g(), C("defs", Et, [
633
- S("radialGradient", {
634
+ Re(Pt),
635
+ (g(!0), w(De, null, Me(J.value, (o, r) => (g(), w("g", null, [
636
+ e.value.style.chart.layout.rects.gradient.show ? (g(), w("defs", Xt, [
637
+ N("radialGradient", {
634
638
  id: `tgrad_${o.id}`,
635
639
  gradientTransform: "translate(-1, -1.000001) scale(2, 2)"
636
640
  }, [
637
- S("stop", {
641
+ N("stop", {
638
642
  offset: "18%",
639
643
  "stop-color": o.color
640
- }, null, 8, Xt),
641
- S("stop", {
644
+ }, null, 8, jt),
645
+ N("stop", {
642
646
  offset: "100%",
643
- "stop-color": m(Ve)(o.color, e.value.style.chart.layout.rects.gradient.intensity / 100)
644
- }, null, 8, qt)
645
- ], 8, Gt)
646
- ])) : O("", !0)
647
+ "stop-color": y(Be)(o.color, e.value.style.chart.layout.rects.gradient.intensity / 100)
648
+ }, null, 8, Yt)
649
+ ], 8, qt)
650
+ ])) : S("", !0)
647
651
  ]))), 256)),
648
- (g(!0), C(Le, null, Re(J.value, (o, r) => (g(), C("g", null, [
649
- S("rect", {
652
+ (g(!0), w(De, null, Me(J.value, (o, r) => (g(), w("g", null, [
653
+ N("rect", {
650
654
  x: o.x0,
651
655
  y: o.y0,
652
- height: _e(o),
653
- width: Oe(o),
654
- fill: d.value ? o.color : e.value.style.chart.layout.rects.gradient.show ? `url(#tgrad_${o.id})` : o.color,
656
+ height: Oe(o),
657
+ width: Se(o),
658
+ fill: p.value ? o.color : e.value.style.chart.layout.rects.gradient.show ? `url(#tgrad_${o.id})` : o.color,
655
659
  rx: e.value.style.chart.layout.rects.borderRadius,
656
660
  stroke: I.value && I.value.id === o.id ? e.value.style.chart.layout.rects.selected.stroke : e.value.style.chart.layout.rects.stroke,
657
661
  "stroke-width": I.value && I.value.id === o.id ? e.value.style.chart.layout.rects.selected.strokeWidth : e.value.style.chart.layout.rects.strokeWidth,
658
- onClick: (b) => Je(o),
659
- onMouseenter: () => Qe({
662
+ onClick: (m) => Qe(o),
663
+ onMouseenter: () => tt({
660
664
  datapoint: o,
661
665
  seriesIndex: r
662
666
  }),
663
- onMouseleave: l[0] || (l[0] = (b) => {
664
- I.value = null, v.value = !1;
667
+ onMouseleave: l[0] || (l[0] = (m) => {
668
+ I.value = null, z.value = !1;
665
669
  }),
666
670
  style: R(`opacity:${I.value ? I.value.id === o.id ? 1 : e.value.style.chart.layout.rects.selected.unselectedOpacity : 1}`),
667
671
  class: "vue-ui-treemap-rect"
668
- }, null, 44, jt),
669
- (g(), C("foreignObject", {
672
+ }, null, 44, Zt),
673
+ (g(), w("foreignObject", {
670
674
  x: o.x0,
671
675
  y: o.y0,
672
- height: _e(o),
673
- width: Oe(o),
676
+ height: Oe(o),
677
+ width: Se(o),
674
678
  class: "vue-ui-treemap-cell-foreignObject"
675
679
  }, [
676
- S("div", Zt, [
677
- e.value.style.chart.layout.labels.showDefaultLabels && (o.proportion > e.value.style.chart.layout.labels.hideUnderProportion || F.value) ? (g(), C("div", {
680
+ N("div", Kt, [
681
+ e.value.style.chart.layout.labels.showDefaultLabels && (o.proportion > e.value.style.chart.layout.labels.hideUnderProportion || F.value) ? (g(), w("div", {
678
682
  key: 0,
679
683
  class: "vue-ui-treemap-cell-default",
680
- style: R(`width:calc(100% - ${W(o) / 1.5}px);text-align:left;line-height:${W(o) < 14 ? 14 : W(o)}px;padding:${W(o) / 3}px; color:${m(Be)(o.color)}`)
684
+ style: R(`width:calc(100% - ${W(o) / 1.5}px);text-align:left;line-height:${W(o) < 14 ? 14 : W(o)}px;padding:${W(o) / 3}px; color:${y(He)(o.color)}`)
681
685
  }, [
682
- S("span", {
686
+ N("span", {
683
687
  style: R(`width:100%;font-size:${W(o)}px;`)
684
688
  }, Y(o.name), 5),
685
- Jt,
686
- S("span", {
689
+ Qt,
690
+ N("span", {
687
691
  style: R(`width:100%;font-size:${W(o)}px;`)
688
- }, Y(m(ne)(
692
+ }, Y(y(ne)(
689
693
  e.value.style.chart.layout.labels.formatter,
690
694
  o.value,
691
- m(K)({
695
+ y(K)({
692
696
  p: e.value.style.chart.layout.labels.prefix,
693
697
  v: o.value,
694
698
  s: e.value.style.chart.layout.labels.suffix,
@@ -696,23 +700,23 @@ const Ht = (a) => (rt("data-v-9a178263"), a = a(), ut(), a), Ut = ["id"], Wt = [
696
700
  }),
697
701
  { datapoint: o }
698
702
  )), 5)
699
- ], 4)) : O("", !0),
703
+ ], 4)) : S("", !0),
700
704
  $(t.$slots, "rect", G(X({
701
705
  rect: o,
702
706
  shouldShow: o.proportion > e.value.style.chart.layout.labels.hideUnderProportion || F.value,
703
707
  fontSize: W(o),
704
708
  isZoom: F.value,
705
- textColor: m(Be)(o.color)
709
+ textColor: y(He)(o.color)
706
710
  })), void 0, !0)
707
711
  ])
708
- ], 8, Yt))
712
+ ], 8, Jt))
709
713
  ]))), 256)),
710
- $(t.$slots, "svg", G(X({ svg: H.value, isZoom: F.value, rect: I.value, config: e.value })), void 0, !0)
711
- ], 14, Wt)) : O("", !0),
712
- t.$slots.watermark ? (g(), C("div", Kt, [
713
- $(t.$slots, "watermark", G(X({ isPrinting: m(me) || m(be) })), void 0, !0)
714
- ])) : O("", !0),
715
- c.value ? O("", !0) : (g(), E(xt, {
714
+ $(t.$slots, "svg", G(X({ svg: B.value, isZoom: F.value, rect: I.value, config: e.value })), void 0, !0)
715
+ ], 14, Gt)) : S("", !0),
716
+ t.$slots.watermark ? (g(), w("div", eo, [
717
+ $(t.$slots, "watermark", G(X({ isPrinting: y(be) || y(ke) })), void 0, !0)
718
+ ])) : S("", !0),
719
+ u.value ? S("", !0) : (g(), E(_t, {
716
720
  key: 6,
717
721
  config: {
718
722
  type: "treemap",
@@ -724,26 +728,26 @@ const Ht = (a) => (rt("data-v-9a178263"), a = a(), ut(), a), Ut = ["id"], Wt = [
724
728
  }
725
729
  }
726
730
  }, null, 8, ["config"])),
727
- S("div", {
731
+ N("div", {
728
732
  ref_key: "chartLegend",
729
- ref: P
733
+ ref: D
730
734
  }, [
731
- e.value.style.chart.legend.show ? (g(), E($t, {
732
- key: `legend_${fe.value}`,
733
- legendSet: Se.value,
734
- config: Ke.value,
735
- id: `treemap_legend_${h.value}`,
736
- onClickMarker: l[1] || (l[1] = ({ legend: o }) => Ne(o))
735
+ e.value.style.chart.legend.show ? (g(), E(Tt, {
736
+ key: `legend_${pe.value}`,
737
+ legendSet: Ne.value,
738
+ config: et.value,
739
+ id: `treemap_legend_${d.value}`,
740
+ onClickMarker: l[1] || (l[1] = ({ legend: o }) => ze(o))
737
741
  }, {
738
- item: x(({ legend: o, index: r }) => [
739
- S("div", {
740
- onClick: (b) => Ne(o),
741
- style: R(`opacity:${y.value.includes(o.id) ? 0.5 : 1}`)
742
+ item: T(({ legend: o, index: r }) => [
743
+ N("div", {
744
+ onClick: (m) => ze(o),
745
+ style: R(`opacity:${h.value.includes(o.id) ? 0.5 : 1}`)
742
746
  }, [
743
- De(Y(o.name) + ": " + Y(m(ne)(
747
+ Ve(Y(o.name) + ": " + Y(y(ne)(
744
748
  e.value.style.chart.layout.labels.formatter,
745
749
  o.value,
746
- m(K)({
750
+ y(K)({
747
751
  p: e.value.style.chart.layout.labels.prefix,
748
752
  v: o.value,
749
753
  s: e.value.style.chart.layout.labels.suffix,
@@ -751,25 +755,25 @@ const Ht = (a) => (rt("data-v-9a178263"), a = a(), ut(), a), Ut = ["id"], Wt = [
751
755
  }),
752
756
  { datapoint: o }
753
757
  )) + " ", 1),
754
- y.value.includes(o.id) ? (g(), C("span", to, " ( - % ) ")) : (g(), C("span", eo, " (" + Y(isNaN(o.value / q.value) ? "-" : (o.value / q.value * 100).toFixed(e.value.style.chart.legend.roundingPercentage)) + "%) ", 1))
755
- ], 12, Qt)
758
+ h.value.includes(o.id) ? (g(), w("span", lo, " ( - % ) ")) : (g(), w("span", oo, " (" + Y(isNaN(o.value / q.value) ? "-" : (o.value / q.value * 100).toFixed(e.value.style.chart.legend.roundingPercentage)) + "%) ", 1))
759
+ ], 12, to)
756
760
  ]),
757
761
  _: 1
758
762
  }, 8, ["legendSet", "config", "id"])) : $(t.$slots, "legend", {
759
763
  key: 1,
760
- legend: Se.value
764
+ legend: Ne.value
761
765
  }, void 0, !0)
762
766
  ], 512),
763
- t.$slots.source ? (g(), C("div", {
767
+ t.$slots.source ? (g(), w("div", {
764
768
  key: 7,
765
769
  ref_key: "source",
766
- ref: D,
770
+ ref: A,
767
771
  dir: "auto"
768
772
  }, [
769
773
  $(t.$slots, "source", {}, void 0, !0)
770
- ], 512)) : O("", !0),
771
- Ie(Ct, {
772
- show: M.value.showTooltip && v.value,
774
+ ], 512)) : S("", !0),
775
+ Re(xt, {
776
+ show: M.value.showTooltip && z.value,
773
777
  backgroundColor: e.value.style.chart.tooltip.backgroundColor,
774
778
  color: e.value.style.chart.tooltip.color,
775
779
  fontSize: e.value.style.chart.tooltip.fontSize,
@@ -779,20 +783,20 @@ const Ht = (a) => (rt("data-v-9a178263"), a = a(), ut(), a), Ut = ["id"], Wt = [
779
783
  backgroundOpacity: e.value.style.chart.tooltip.backgroundOpacity,
780
784
  position: e.value.style.chart.tooltip.position,
781
785
  offsetY: e.value.style.chart.tooltip.offsetY,
782
- parent: p.value,
783
- content: N.value,
784
- isFullscreen: w.value,
785
- isCustom: m(He)(e.value.style.chart.tooltip.customFormat)
786
+ parent: b.value,
787
+ content: O.value,
788
+ isFullscreen: C.value,
789
+ isCustom: y(We)(e.value.style.chart.tooltip.customFormat)
786
790
  }, {
787
- "tooltip-before": x(() => [
791
+ "tooltip-before": T(() => [
788
792
  $(t.$slots, "tooltip-before", G(X({ ...ie.value })), void 0, !0)
789
793
  ]),
790
- "tooltip-after": x(() => [
794
+ "tooltip-after": T(() => [
791
795
  $(t.$slots, "tooltip-after", G(X({ ...ie.value })), void 0, !0)
792
796
  ]),
793
797
  _: 3
794
798
  }, 8, ["show", "backgroundColor", "color", "fontSize", "borderRadius", "borderColor", "borderWidth", "backgroundOpacity", "position", "offsetY", "parent", "content", "isFullscreen", "isCustom"]),
795
- c.value ? (g(), E(_t, {
799
+ u.value ? (g(), E(St, {
796
800
  key: 8,
797
801
  hideDetails: "",
798
802
  config: {
@@ -808,9 +812,9 @@ const Ht = (a) => (rt("data-v-9a178263"), a = a(), ut(), a), Ut = ["id"], Wt = [
808
812
  }
809
813
  }
810
814
  }, {
811
- content: x(() => [
812
- (g(), E(Tt, {
813
- key: `table_${he.value}`,
815
+ content: T(() => [
816
+ (g(), E(Ot, {
817
+ key: `table_${fe.value}`,
814
818
  colNames: te.value.colNames,
815
819
  head: te.value.head,
816
820
  body: te.value.body,
@@ -818,23 +822,23 @@ const Ht = (a) => (rt("data-v-9a178263"), a = a(), ut(), a), Ut = ["id"], Wt = [
818
822
  title: `${e.value.style.chart.title.text}${e.value.style.chart.title.subtitle.text ? ` : ${e.value.style.chart.title.subtitle.text}` : ""}`,
819
823
  onClose: l[2] || (l[2] = (o) => M.value.showTable = !1)
820
824
  }, {
821
- th: x(({ th: o }) => [
822
- S("div", {
825
+ th: T(({ th: o }) => [
826
+ N("div", {
823
827
  innerHTML: o,
824
828
  style: { display: "flex", "align-items": "center" }
825
- }, null, 8, oo)
829
+ }, null, 8, ao)
826
830
  ]),
827
- td: x(({ td: o }) => [
828
- De(Y(o.name || o), 1)
831
+ td: T(({ td: o }) => [
832
+ Ve(Y(o.name || o), 1)
829
833
  ]),
830
834
  _: 1
831
835
  }, 8, ["colNames", "head", "body", "config", "title"]))
832
836
  ]),
833
837
  _: 1
834
- }, 8, ["config"])) : O("", !0)
835
- ], 46, Ut));
838
+ }, 8, ["config"])) : S("", !0)
839
+ ], 46, Et));
836
840
  }
837
- }, wo = /* @__PURE__ */ At(lo, [["__scopeId", "data-v-9a178263"]]);
841
+ }, Co = /* @__PURE__ */ It(no, [["__scopeId", "data-v-d58b1737"]]);
838
842
  export {
839
- wo as default
843
+ Co as default
840
844
  };