vue-data-ui 2.3.74 → 2.3.75

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (193) hide show
  1. package/dist/{Arrow-CYCrAySW.js → Arrow-BTG7M25z.js} +1 -1
  2. package/dist/{Arrow-DK6F5Fq3.cjs → Arrow-CZK77NmC.cjs} +1 -1
  3. package/dist/{BaseIcon-DBHVtm3A.cjs → BaseIcon--PMhZ3f-.cjs} +1 -1
  4. package/dist/{BaseIcon-kBIAYqUO.js → BaseIcon-BAOfPaXs.js} +1 -1
  5. package/dist/{DataTable-CKdV-L0e.js → DataTable-CQANRZju.js} +2 -2
  6. package/dist/{DataTable-BNFSPjhv.cjs → DataTable-DjQzrklZ.cjs} +1 -1
  7. package/dist/{Legend-Do2kcWFT.cjs → Legend-CtbPB0Bo.cjs} +1 -1
  8. package/dist/{Legend-Cj7T-DqJ.js → Legend-DX1kv21U.js} +1 -1
  9. package/dist/{Shape-DRDUAe_o.cjs → Shape-CadGs1Am.cjs} +1 -1
  10. package/dist/{Shape-Bo8ZjViG.js → Shape-kqcyauhC.js} +1 -1
  11. package/dist/{Slicer-D8jHSP7U.cjs → Slicer-i_oECHxH.cjs} +1 -1
  12. package/dist/{Slicer-4nGKvUYF.js → Slicer-yaJs-izT.js} +2 -2
  13. package/dist/{Title-DZjnxQdN.js → Title-C26I_HC3.js} +1 -1
  14. package/dist/{Title-D5cATWsL.cjs → Title-XBiDFYKD.cjs} +1 -1
  15. package/dist/{Tooltip--kgFEVZs.js → Tooltip-CH8GmDCG.js} +1 -1
  16. package/dist/{Tooltip-B8yLaegk.cjs → Tooltip-DxtWkIt5.cjs} +1 -1
  17. package/dist/{index-C8SH0f2u.js → index-Cm4Iry5c.js} +1 -1
  18. package/dist/{index-D_32ZGWd.cjs → index-DYUBiaGS.cjs} +1 -1
  19. package/dist/style.css +1 -1
  20. package/dist/{useNestedProp-lS_T5lM3.js → useNestedProp-CurQIHTa.js} +1 -1
  21. package/dist/{useNestedProp-BvvH633N.cjs → useNestedProp-w7AMWWmz.cjs} +1 -1
  22. package/dist/{usePrinter-Dj50NAxo.js → usePrinter-B8RnF8_q.js} +1 -1
  23. package/dist/{usePrinter-BouFNHWR.cjs → usePrinter-ZlHxdaEz.cjs} +1 -1
  24. package/dist/{vue-data-ui-v_BbbLtJ.cjs → vue-data-ui-B7amrpT-.cjs} +1 -1
  25. package/dist/{vue-data-ui-DoXqU7xC.js → vue-data-ui-Bj6kEIpq.js} +57 -57
  26. package/dist/vue-data-ui.cjs +1 -1
  27. package/dist/vue-data-ui.js +1 -1
  28. package/dist/vue-ui-3d-bar-BAz41kL7.cjs +19 -0
  29. package/dist/{vue-ui-3d-bar-CnoPOJHm.js → vue-ui-3d-bar-Bg9IgVVc.js} +499 -486
  30. package/dist/{vue-ui-accordion-Cka6b_Up.cjs → vue-ui-accordion-1WxrfiCH.cjs} +1 -1
  31. package/dist/{vue-ui-accordion-YHleIgkV.js → vue-ui-accordion-Cb6XBCbu.js} +3 -3
  32. package/dist/{vue-ui-age-pyramid-CENg8fDg.js → vue-ui-age-pyramid-BhwmnQru.js} +182 -169
  33. package/dist/vue-ui-age-pyramid-CHNvRXx8.cjs +1 -0
  34. package/dist/{vue-ui-annotator-ByYg6QMs.cjs → vue-ui-annotator-B22cdlhA.cjs} +1 -1
  35. package/dist/{vue-ui-annotator-VJOLUkqJ.js → vue-ui-annotator-BiHQvMdW.js} +1 -1
  36. package/dist/{vue-ui-candlestick-CHsGD3bx.js → vue-ui-candlestick-Cl9dyh4l.js} +295 -279
  37. package/dist/vue-ui-candlestick-D7DjdYyw.cjs +2 -0
  38. package/dist/vue-ui-carousel-table-Do5cYRqN.cjs +1 -0
  39. package/dist/{vue-ui-carousel-table-RAtX3VBu.js → vue-ui-carousel-table-QsONwqNz.js} +106 -91
  40. package/dist/vue-ui-chestnut-CyE8MafY.cjs +6 -0
  41. package/dist/{vue-ui-chestnut-B5GQX0J_.js → vue-ui-chestnut-Drb01WMC.js} +215 -204
  42. package/dist/{vue-ui-cursor-CMm7XSSG.js → vue-ui-cursor-BP04_XbB.js} +2 -2
  43. package/dist/{vue-ui-cursor-DnZqLj21.cjs → vue-ui-cursor-DZeTQBKz.cjs} +1 -1
  44. package/dist/{vue-ui-dashboard-Ck_5L3eu.js → vue-ui-dashboard-BWdx5gjZ.js} +2 -2
  45. package/dist/{vue-ui-dashboard-DgEQJnLr.cjs → vue-ui-dashboard-Z63RE1XS.cjs} +1 -1
  46. package/dist/{vue-ui-digits-UvwUdi6U.cjs → vue-ui-digits-CBQaHW6a.cjs} +1 -1
  47. package/dist/{vue-ui-digits--ULH35um.js → vue-ui-digits-DUhkLcmd.js} +2 -2
  48. package/dist/vue-ui-donut-D2YJYgOB.cjs +1 -0
  49. package/dist/{vue-ui-donut-QQ1fWWvc.js → vue-ui-donut-DRPSwmGr.js} +376 -362
  50. package/dist/{vue-ui-donut-evolution-Cx8kBB_7.js → vue-ui-donut-evolution-gRXAyxq8.js} +270 -255
  51. package/dist/vue-ui-donut-evolution-jAMVgNHQ.cjs +1 -0
  52. package/dist/{vue-ui-dumbbell-BYvwHpU8.js → vue-ui-dumbbell-CQo5jqSK.js} +232 -213
  53. package/dist/vue-ui-dumbbell-DLfZcrXq.cjs +9 -0
  54. package/dist/vue-ui-flow-BQ3UbMUb.js +481 -0
  55. package/dist/vue-ui-flow-BlX2-eEC.cjs +1 -0
  56. package/dist/{vue-ui-galaxy-B0L57aec.js → vue-ui-galaxy-BHWugUKG.js} +175 -162
  57. package/dist/vue-ui-galaxy-Cax5o6Yl.cjs +1 -0
  58. package/dist/vue-ui-gauge-DG6_kvKh.js +500 -0
  59. package/dist/vue-ui-gauge-DpGcv_00.cjs +1 -0
  60. package/dist/vue-ui-gizmo-D9Vh9Rmr.cjs +1 -0
  61. package/dist/{vue-ui-gizmo-D2RfM55X.js → vue-ui-gizmo-bV148qAf.js} +66 -53
  62. package/dist/{vue-ui-heatmap-DKM0DH41.js → vue-ui-heatmap-BZZUvnMa.js} +157 -143
  63. package/dist/vue-ui-heatmap-B_ELXKKV.cjs +1 -0
  64. package/dist/vue-ui-kpi-C5v7qQvZ.js +98 -0
  65. package/dist/vue-ui-kpi-CwVAvTB2.cjs +1 -0
  66. package/dist/{vue-ui-mini-loader-MywnWlYI.js → vue-ui-mini-loader-BdKizX_J.js} +2 -2
  67. package/dist/{vue-ui-mini-loader-CLP19Txv.cjs → vue-ui-mini-loader-DZNY-3rr.cjs} +1 -1
  68. package/dist/{vue-ui-molecule-CLI9iTRE.js → vue-ui-molecule-MKyrhqqm.js} +177 -167
  69. package/dist/vue-ui-molecule-bva6OvPc.cjs +1 -0
  70. package/dist/{vue-ui-mood-radar-O30wZo9a.js → vue-ui-mood-radar-BNIFFvq0.js} +172 -161
  71. package/dist/vue-ui-mood-radar-CzQOAyNI.cjs +1 -0
  72. package/dist/{vue-ui-nested-donuts-D8o4TqTt.js → vue-ui-nested-donuts-BDAlZrMF.js} +377 -364
  73. package/dist/vue-ui-nested-donuts-CxdZC6JF.cjs +17 -0
  74. package/dist/{vue-ui-onion-Hmcke6xB.js → vue-ui-onion-CFa4VD-w.js} +191 -177
  75. package/dist/vue-ui-onion-Df7YcsVR.cjs +5 -0
  76. package/dist/vue-ui-parallel-coordinate-plot-D7Q2zfcR.cjs +8 -0
  77. package/dist/{vue-ui-parallel-coordinate-plot-CyChE3NP.js → vue-ui-parallel-coordinate-plot-DmqYXT-U.js} +298 -284
  78. package/dist/{vue-ui-quadrant-DimTQdAj.js → vue-ui-quadrant-D5jHkq9g.js} +347 -334
  79. package/dist/vue-ui-quadrant-ZqhcVYf5.cjs +1 -0
  80. package/dist/{vue-ui-quick-chart-DxJvENid.js → vue-ui-quick-chart-BjXXSx7V.js} +483 -469
  81. package/dist/vue-ui-quick-chart-Dt9AsEU6.cjs +15 -0
  82. package/dist/vue-ui-radar-2EuZr7i2.cjs +1 -0
  83. package/dist/{vue-ui-radar-D_FieunT.js → vue-ui-radar-CW8EKW4o.js} +202 -189
  84. package/dist/{vue-ui-rating-BHW2Onru.cjs → vue-ui-rating-DrtLvVA0.cjs} +1 -1
  85. package/dist/{vue-ui-rating-DF1BpH4E.js → vue-ui-rating-eSWsmJUU.js} +2 -2
  86. package/dist/vue-ui-relation-circle-C60OTe88.cjs +1 -0
  87. package/dist/vue-ui-relation-circle-DiUCpEqa.js +322 -0
  88. package/dist/{vue-ui-rings-BqS-iece.js → vue-ui-rings-BxhLbyG0.js} +203 -189
  89. package/dist/vue-ui-rings-CHq-a5ZS.cjs +2 -0
  90. package/dist/{vue-ui-scatter-Dns49Nht.js → vue-ui-scatter-DQchX_mM.js} +284 -270
  91. package/dist/vue-ui-scatter-DZUZUbnk.cjs +1 -0
  92. package/dist/{vue-ui-screenshot-5Gsnd0Wr.js → vue-ui-screenshot-CLa9vMzM.js} +1 -1
  93. package/dist/{vue-ui-screenshot---q062Kd.cjs → vue-ui-screenshot-SLSIpqx2.cjs} +1 -1
  94. package/dist/{vue-ui-skeleton-B4eWLjH3.js → vue-ui-skeleton-C1oUnz7R.js} +2 -2
  95. package/dist/{vue-ui-skeleton-fVPw-oIR.cjs → vue-ui-skeleton-ClpTCY1x.cjs} +1 -1
  96. package/dist/{vue-ui-smiley-B8Tyunn3.js → vue-ui-smiley-CmWHSt1S.js} +2 -2
  97. package/dist/{vue-ui-smiley-YfHmv0rQ.cjs → vue-ui-smiley-Daw8fPDy.cjs} +1 -1
  98. package/dist/vue-ui-spark-trend-CO69Dg31.js +263 -0
  99. package/dist/vue-ui-spark-trend-DmDlv8ie.cjs +1 -0
  100. package/dist/{vue-ui-sparkbar-9DBvdYn7.js → vue-ui-sparkbar-BRlqpe4e.js} +95 -87
  101. package/dist/vue-ui-sparkbar-BUGdi0BY.cjs +1 -0
  102. package/dist/vue-ui-sparkgauge-CCxKzDjT.cjs +1 -0
  103. package/dist/vue-ui-sparkgauge-CbuFESsM.js +178 -0
  104. package/dist/{vue-ui-sparkhistogram-BBUVmco4.js → vue-ui-sparkhistogram-B4-hrDHz.js} +79 -68
  105. package/dist/vue-ui-sparkhistogram-XtqX10_t.cjs +1 -0
  106. package/dist/vue-ui-sparkline-BZTEi9YC.cjs +1 -0
  107. package/dist/{vue-ui-sparkline-CeqNV6Re.js → vue-ui-sparkline-DlXNmG6M.js} +142 -123
  108. package/dist/vue-ui-sparkstackbar-CDmZeXnq.cjs +1 -0
  109. package/dist/{vue-ui-sparkstackbar-C3GMC1eW.js → vue-ui-sparkstackbar-J1YowQmP.js} +120 -104
  110. package/dist/{vue-ui-stackbar-DyGPrFxi.js → vue-ui-stackbar-CKIDqkkY.js} +235 -222
  111. package/dist/vue-ui-stackbar-CXGWukoJ.cjs +6 -0
  112. package/dist/vue-ui-strip-plot-CvmoRcYN.cjs +1 -0
  113. package/dist/{vue-ui-strip-plot-y1AnVJmq.js → vue-ui-strip-plot-JVLwIy0j.js} +246 -232
  114. package/dist/{vue-ui-table-B4kfykAO.js → vue-ui-table-BSi_cHh7.js} +1 -1
  115. package/dist/{vue-ui-table-xWvAQS-s.cjs → vue-ui-table-Dqi64VE7.cjs} +1 -1
  116. package/dist/vue-ui-table-heatmap-BwghEh5t.cjs +1 -0
  117. package/dist/{vue-ui-table-heatmap-YZRSzwRM.js → vue-ui-table-heatmap-CfvW3rcm.js} +106 -95
  118. package/dist/{vue-ui-table-sparkline-C0v2r4Kf.js → vue-ui-table-sparkline-Y6Lrrzxy.js} +151 -138
  119. package/dist/vue-ui-table-sparkline-bIy3kkHB.cjs +1 -0
  120. package/dist/{vue-ui-thermometer-D5qurIy7.js → vue-ui-thermometer-BPTs7Nxc.js} +116 -104
  121. package/dist/vue-ui-thermometer-DDtxYr7w.cjs +1 -0
  122. package/dist/{vue-ui-timer-VWjovnKL.js → vue-ui-timer-CkB7eZaE.js} +191 -176
  123. package/dist/vue-ui-timer-DRSSYxOX.cjs +64 -0
  124. package/dist/{vue-ui-tiremarks-jH6cdQOJ.js → vue-ui-tiremarks-BbOaoY8S.js} +115 -103
  125. package/dist/vue-ui-tiremarks-Bttwg3-p.cjs +1 -0
  126. package/dist/vue-ui-treemap-Chq0WQPe.cjs +1 -0
  127. package/dist/{vue-ui-treemap-BCc5sQLB.js → vue-ui-treemap-CoaK3wBl.js} +251 -237
  128. package/dist/{vue-ui-vertical-bar-2In_g5iC.js → vue-ui-vertical-bar-BA43_uHV.js} +314 -299
  129. package/dist/vue-ui-vertical-bar-BLIUt-HT.cjs +4 -0
  130. package/dist/{vue-ui-waffle-OzU830VX.js → vue-ui-waffle-BoEf8CcG.js} +285 -265
  131. package/dist/vue-ui-waffle-NBjY0mko.cjs +1 -0
  132. package/dist/vue-ui-wheel-Bgo2jpj0.js +255 -0
  133. package/dist/vue-ui-wheel-t5bI4a-P.cjs +1 -0
  134. package/dist/vue-ui-word-cloud-DPW_-Hzz.cjs +1 -0
  135. package/dist/vue-ui-word-cloud-Jd9_JUyi.js +512 -0
  136. package/dist/{vue-ui-xy-DuJtYXKl.js → vue-ui-xy-BMBYAC4z.js} +300 -274
  137. package/dist/vue-ui-xy-CBHEBcZK.cjs +3 -0
  138. package/dist/vue-ui-xy-canvas-D5FqRF4p.cjs +9 -0
  139. package/dist/{vue-ui-xy-canvas-CKibMJHh.js → vue-ui-xy-canvas-LOsQ_DM-.js} +345 -327
  140. package/package.json +1 -1
  141. package/dist/vue-ui-3d-bar-CwCEoPX-.cjs +0 -19
  142. package/dist/vue-ui-age-pyramid-GqCNpd_h.cjs +0 -1
  143. package/dist/vue-ui-candlestick-TdNVq_FX.cjs +0 -2
  144. package/dist/vue-ui-carousel-table-yXUSFk2u.cjs +0 -1
  145. package/dist/vue-ui-chestnut-EJj-dQSY.cjs +0 -6
  146. package/dist/vue-ui-donut-BqUBysA_.cjs +0 -1
  147. package/dist/vue-ui-donut-evolution-BXtEnop4.cjs +0 -1
  148. package/dist/vue-ui-dumbbell-CjIh7KTm.cjs +0 -9
  149. package/dist/vue-ui-flow-hp0Hpuhn.js +0 -469
  150. package/dist/vue-ui-flow-u29zqSQj.cjs +0 -1
  151. package/dist/vue-ui-galaxy-DE1HbBi-.cjs +0 -1
  152. package/dist/vue-ui-gauge-B_IZrsfj.cjs +0 -1
  153. package/dist/vue-ui-gauge-CPyyn7cL.js +0 -488
  154. package/dist/vue-ui-gizmo-DR4gacOL.cjs +0 -1
  155. package/dist/vue-ui-heatmap-DMB_eUpA.cjs +0 -1
  156. package/dist/vue-ui-kpi-BAxAY13T.js +0 -84
  157. package/dist/vue-ui-kpi-BD21xshi.cjs +0 -1
  158. package/dist/vue-ui-molecule-BNsWckH-.cjs +0 -1
  159. package/dist/vue-ui-mood-radar-BsWE1f8R.cjs +0 -1
  160. package/dist/vue-ui-nested-donuts-CYyUtXs2.cjs +0 -17
  161. package/dist/vue-ui-onion-D7TXJu5w.cjs +0 -5
  162. package/dist/vue-ui-parallel-coordinate-plot-BqZB7xKn.cjs +0 -8
  163. package/dist/vue-ui-quadrant-BPDTvxlT.cjs +0 -1
  164. package/dist/vue-ui-quick-chart-C_-ut0if.cjs +0 -15
  165. package/dist/vue-ui-radar-C5Kq19hg.cjs +0 -1
  166. package/dist/vue-ui-relation-circle-4kIYttRI.js +0 -310
  167. package/dist/vue-ui-relation-circle-DHMHHsqY.cjs +0 -1
  168. package/dist/vue-ui-rings-BqPS8NKl.cjs +0 -2
  169. package/dist/vue-ui-scatter-BLVcdf3d.cjs +0 -1
  170. package/dist/vue-ui-spark-trend-Dpv6am0Z.cjs +0 -1
  171. package/dist/vue-ui-spark-trend-Em9OqYyG.js +0 -251
  172. package/dist/vue-ui-sparkbar-BuSuwQYl.cjs +0 -1
  173. package/dist/vue-ui-sparkgauge-BN5feBzp.js +0 -167
  174. package/dist/vue-ui-sparkgauge-DKtUZMv1.cjs +0 -1
  175. package/dist/vue-ui-sparkhistogram-BmuusW02.cjs +0 -1
  176. package/dist/vue-ui-sparkline-Blzv-tIQ.cjs +0 -1
  177. package/dist/vue-ui-sparkstackbar-D__WDEMv.cjs +0 -1
  178. package/dist/vue-ui-stackbar-DFqJ5K_q.cjs +0 -6
  179. package/dist/vue-ui-strip-plot-z9fjJ6Dj.cjs +0 -1
  180. package/dist/vue-ui-table-heatmap-CGKecjtm.cjs +0 -1
  181. package/dist/vue-ui-table-sparkline-CHFZG3Tg.cjs +0 -1
  182. package/dist/vue-ui-thermometer-DoOxxVW1.cjs +0 -1
  183. package/dist/vue-ui-timer-D63zHe-I.cjs +0 -64
  184. package/dist/vue-ui-tiremarks-Cp8YEmXh.cjs +0 -1
  185. package/dist/vue-ui-treemap-DJrdEFW5.cjs +0 -1
  186. package/dist/vue-ui-vertical-bar-BfJJqN_z.cjs +0 -4
  187. package/dist/vue-ui-waffle-A2gmRbq0.cjs +0 -1
  188. package/dist/vue-ui-wheel-C9QXzWu1.js +0 -242
  189. package/dist/vue-ui-wheel-DGSh9VKq.cjs +0 -1
  190. package/dist/vue-ui-word-cloud-C2ZaVlfO.js +0 -498
  191. package/dist/vue-ui-word-cloud-DPFB1MYk.cjs +0 -1
  192. package/dist/vue-ui-xy-C-2-aijE.cjs +0 -3
  193. package/dist/vue-ui-xy-canvas-D7wf3xab.cjs +0 -9
@@ -1,16 +1,16 @@
1
- import { computed as C, ref as y, onMounted as He, onBeforeUnmount as Ue, openBlock as m, createElementBlock as k, normalizeClass as xe, normalizeStyle as M, createVNode as re, createCommentVNode as V, createBlock as te, unref as b, createSlots as Ge, withCtx as T, renderSlot as _, normalizeProps as G, guardReactiveProps as X, Fragment as $e, renderList as Te, createElementVNode as O, toDisplayString as q, createTextVNode as _e, nextTick as Xe, pushScopeId as qe, popScopeId as je } from "vue";
2
- import { u as Ye, c as Oe, t as Ze, a as Je, p as x, b as Ke, o as Qe, e as et, d as le, i as oe, f as Z, X as tt, l as Se, E as Ne, x as ze, y as lt, q as ot, r as at } from "./index-C8SH0f2u.js";
3
- import { _ as nt } from "./Title-DZjnxQdN.js";
4
- import { u as st, U as rt } from "./usePrinter-Dj50NAxo.js";
5
- import { _ as ut } from "./Tooltip--kgFEVZs.js";
6
- import { L as it } from "./Legend-Cj7T-DqJ.js";
7
- import ct from "./vue-ui-skeleton-B4eWLjH3.js";
8
- import { D as dt } from "./DataTable-CKdV-L0e.js";
9
- import vt from "./vue-ui-accordion-YHleIgkV.js";
10
- import { t as ht, u as ft } from "./useResponsive-NZB-WLRF.js";
11
- import { u as Ie } from "./useNestedProp-lS_T5lM3.js";
12
- import { _ as pt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
13
- function Pe(a, i) {
1
+ import { computed as C, ref as y, watch as qe, onMounted as je, onBeforeUnmount as Ye, openBlock as m, createElementBlock as k, normalizeClass as _e, normalizeStyle as V, createBlock as X, createCommentVNode as B, unref as b, createSlots as Ze, withCtx as T, renderSlot as _, normalizeProps as q, guardReactiveProps as j, Fragment as Oe, renderList as Se, createElementVNode as O, toDisplayString as Y, createTextVNode as Ne, createVNode as Je, nextTick as Ke, pushScopeId as Qe, popScopeId as et } from "vue";
2
+ import { u as tt, c as ze, t as lt, a as ot, p as x, b as at, o as nt, e as st, d as oe, i as ae, f as K, X as rt, l as Ie, E as Pe, x as Fe, y as ut, q as it, r as ct } from "./index-Cm4Iry5c.js";
3
+ import { _ as dt } from "./Title-C26I_HC3.js";
4
+ import { u as vt, U as ht } from "./usePrinter-B8RnF8_q.js";
5
+ import { _ as ft } from "./Tooltip-CH8GmDCG.js";
6
+ import { L as pt } from "./Legend-DX1kv21U.js";
7
+ import gt from "./vue-ui-skeleton-C1oUnz7R.js";
8
+ import { D as yt } from "./DataTable-CQANRZju.js";
9
+ import mt from "./vue-ui-accordion-Cb6XBCbu.js";
10
+ import { t as bt, u as wt } from "./useResponsive-NZB-WLRF.js";
11
+ import { u as Le } from "./useNestedProp-CurQIHTa.js";
12
+ import { _ as Ct } from "./_plugin-vue_export-helper-CHgC5LLL.js";
13
+ function Re(a, i) {
14
14
  const s = a.length;
15
15
  if (s === 0)
16
16
  throw new Error(`Max aspect ratio cannot be computed: ${a} is an empty array`);
@@ -26,7 +26,7 @@ function Pe(a, i) {
26
26
  );
27
27
  }
28
28
  }
29
- function Fe(a) {
29
+ function De(a) {
30
30
  const { xOffset: i, yOffset: s, width: n, height: r } = a;
31
31
  return {
32
32
  x0: i,
@@ -35,18 +35,18 @@ function Fe(a) {
35
35
  y1: s + r
36
36
  };
37
37
  }
38
- function gt(a, i, s) {
38
+ function kt(a, i, s) {
39
39
  if (a.length === 0)
40
40
  return !0;
41
41
  {
42
- const n = a.concat(i), r = Pe(
42
+ const n = a.concat(i), r = Re(
43
43
  a,
44
44
  s
45
- ), c = Pe(n, s);
45
+ ), c = Re(n, s);
46
46
  return r >= c;
47
47
  }
48
48
  }
49
- function yt(a) {
49
+ function xt(a) {
50
50
  const i = [], s = a.length;
51
51
  for (let n = 0; n < s; n += 1) {
52
52
  const r = a[n], c = r.length;
@@ -55,49 +55,49 @@ function yt(a) {
55
55
  }
56
56
  return i;
57
57
  }
58
- function mt(a, i) {
58
+ function $t(a, i) {
59
59
  const s = {
60
60
  ...i,
61
61
  children: a
62
62
  };
63
- return Re(s);
63
+ return Me(s);
64
64
  }
65
- function bt(a) {
65
+ function Tt(a) {
66
66
  return (a.x1 - a.x0) * (a.y1 - a.y0);
67
67
  }
68
- function Le(a, i) {
68
+ function Ae(a, i) {
69
69
  const { width: s, height: n, xOffset: r, yOffset: c } = ue(i), d = a.length, h = a.map((p) => p.normalizedValue || 0).reduce((p, $) => p + $, 0), v = h / n, S = h / s;
70
70
  let w = r, N = c;
71
71
  const f = [];
72
72
  if (s >= n) {
73
73
  for (let p = 0; p < d; p += 1) {
74
- const $ = a[p], z = N + $.normalizedValue / v, e = {
74
+ const $ = a[p], z = N + $.normalizedValue / v, R = {
75
75
  x0: w,
76
76
  y0: N,
77
77
  x1: w + v,
78
78
  y1: z
79
- }, I = Object.assign({}, $, e);
79
+ }, I = Object.assign({}, $, R);
80
80
  N = z, f.push(I);
81
81
  }
82
82
  return f;
83
83
  } else {
84
84
  for (let p = 0; p < d; p += 1) {
85
- const $ = a[p], z = w + $.normalizedValue / S, e = {
85
+ const $ = a[p], z = w + $.normalizedValue / S, R = {
86
86
  x0: w,
87
87
  y0: N,
88
88
  x1: z,
89
89
  y1: N + S
90
- }, I = Object.assign({}, $, e);
90
+ }, I = Object.assign({}, $, R);
91
91
  w = z, f.push(I);
92
92
  }
93
93
  return f;
94
94
  }
95
95
  }
96
- function wt(a) {
96
+ function _t(a) {
97
97
  const i = ue(a), s = i.width, n = i.height;
98
98
  return Math.min(s, n);
99
99
  }
100
- function Ct(a, i) {
100
+ function Ot(a, i) {
101
101
  const s = a.length, n = a.map((v) => v.value ?? 0).reduce((v, S) => v + S, 0), r = i / n, c = [];
102
102
  let d, h;
103
103
  for (let v = 0; v < s; v += 1)
@@ -115,16 +115,16 @@ function ue(a) {
115
115
  height: r - s
116
116
  };
117
117
  }
118
- function kt(a, i, s, n) {
118
+ function St(a, i, s, n) {
119
119
  let r = a, c = i, d = s, h = n;
120
120
  for (; ; ) {
121
121
  const v = r.length;
122
122
  if (v === 0) {
123
- const f = Le(c, d);
123
+ const f = Ae(c, d);
124
124
  return h.concat(f);
125
125
  }
126
- const S = wt(d), w = r[0], N = r.slice(1, v);
127
- if (gt(c, w, S)) {
126
+ const S = _t(d), w = r[0], N = r.slice(1, v);
127
+ if (kt(c, w, S)) {
128
128
  const f = c.concat(w);
129
129
  r = N, c = f, d = d, h = h;
130
130
  } else {
@@ -132,25 +132,25 @@ function kt(a, i, s, n) {
132
132
  let p = 0;
133
133
  for (let I = 0; I < f; I += 1)
134
134
  p += c[I].normalizedValue;
135
- const $ = xt(d, p), z = Le(c, d), e = h.concat(z);
136
- r = r, c = [], d = $, h = e;
135
+ const $ = Nt(d, p), z = Ae(c, d), R = h.concat(z);
136
+ r = r, c = [], d = $, h = R;
137
137
  }
138
138
  }
139
139
  }
140
- function Re(a) {
140
+ function Me(a) {
141
141
  if (typeof a.children > "u" || !a.children.length)
142
142
  return [a];
143
143
  {
144
- const i = Ct(
144
+ const i = Ot(
145
145
  a.children,
146
- bt(a)
147
- ), s = kt(i, [], a, []), n = s.length, r = [];
146
+ Tt(a)
147
+ ), s = St(i, [], a, []), n = s.length, r = [];
148
148
  for (let d = 0; d < n; d += 1)
149
- r.push(Re(s[d]));
150
- return yt(r);
149
+ r.push(Me(s[d]));
150
+ return xt(r);
151
151
  }
152
152
  }
153
- function xt(a, i) {
153
+ function Nt(a, i) {
154
154
  const { width: s, height: n, xOffset: r, yOffset: c } = ue(a);
155
155
  if (s >= n) {
156
156
  const d = i / n, h = s - d, v = {
@@ -159,7 +159,7 @@ function xt(a, i) {
159
159
  width: h,
160
160
  height: n
161
161
  };
162
- return Fe(v);
162
+ return De(v);
163
163
  } else {
164
164
  const d = i / s, h = n - d, v = {
165
165
  xOffset: r,
@@ -167,16 +167,16 @@ function xt(a, i) {
167
167
  width: s,
168
168
  height: h
169
169
  };
170
- return Fe(v);
170
+ return De(v);
171
171
  }
172
172
  }
173
- const $t = (a) => (qe("data-v-61b57d4b"), a = a(), je(), a), Tt = ["id"], _t = ["xmlns", "viewBox"], Ot = { key: 0 }, St = ["id"], Nt = ["stop-color"], zt = ["stop-color"], It = ["x", "y", "height", "width", "fill", "rx", "stroke", "stroke-width", "onClick", "onMouseenter"], Pt = ["x", "y", "height", "width"], Ft = {
173
+ const zt = (a) => (Qe("data-v-440c85e2"), a = a(), et(), a), It = ["id"], Pt = ["xmlns", "viewBox"], Ft = { key: 0 }, Lt = ["id"], Rt = ["stop-color"], Dt = ["stop-color"], At = ["x", "y", "height", "width", "fill", "rx", "stroke", "stroke-width", "onClick", "onMouseenter"], Mt = ["x", "y", "height", "width"], Vt = {
174
174
  style: { width: "100%", height: "100%" },
175
175
  class: "vue-ui-treemap-cell"
176
- }, Lt = /* @__PURE__ */ $t(() => /* @__PURE__ */ O("br", null, null, -1)), Rt = {
176
+ }, Bt = /* @__PURE__ */ zt(() => /* @__PURE__ */ O("br", null, null, -1)), Wt = {
177
177
  key: 3,
178
178
  class: "vue-data-ui-watermark"
179
- }, Dt = ["onClick"], At = { key: 0 }, Mt = { key: 1 }, Vt = ["innerHTML"], Bt = {
179
+ }, Et = ["onClick"], Ht = { key: 0 }, Ut = { key: 1 }, Gt = ["innerHTML"], Xt = {
180
180
  __name: "vue-ui-treemap",
181
181
  props: {
182
182
  config: {
@@ -194,70 +194,82 @@ const $t = (a) => (qe("data-v-61b57d4b"), a = a(), je(), a), Tt = ["id"], _t = [
194
194
  },
195
195
  emits: ["selectLegend", "selectDatapoint"],
196
196
  setup(a, { expose: i, emit: s }) {
197
- const n = a, { vue_ui_treemap: r } = Ye(), c = C(() => !!n.dataset && n.dataset.length), d = C(() => /^((?!chrome|android).)*safari/i.test(navigator.userAgent)), h = y(Oe()), v = y(!1), S = y(""), w = y(!1), N = y(0), f = y([]), p = y(null), $ = y(null), z = y(null), e = C(() => {
198
- const t = Ie({
197
+ const n = a, { vue_ui_treemap: r } = tt(), c = C(() => !!n.dataset && n.dataset.length), d = C(() => /^((?!chrome|android).)*safari/i.test(navigator.userAgent)), h = y(ze()), v = y(!1), S = y(""), w = y(!1), N = y(0), f = y([]), p = y(null), $ = y(null), z = y(null), R = y(0), I = y(0), ie = y(0), e = C({
198
+ get: () => ce(),
199
+ set: (t) => t
200
+ });
201
+ function ce() {
202
+ const t = Le({
199
203
  userConfig: n.config,
200
204
  defaultConfig: r
201
205
  });
202
206
  return t.theme ? {
203
- ...Ie({
204
- userConfig: Ze.vue_ui_treemap[t.theme] || n.config,
207
+ ...Le({
208
+ userConfig: lt.vue_ui_treemap[t.theme] || n.config,
205
209
  defaultConfig: t
206
210
  }),
207
- customPalette: Je[t.theme] || x
211
+ customPalette: ot[t.theme] || x
208
212
  } : t;
209
- }), { isPrinting: I, isImaging: ie, generatePdf: ce, generateImage: de } = st({
213
+ }
214
+ qe(() => n.config, (t) => {
215
+ e.value = ce(), R.value += 1, I.value += 1, ie.value += 1;
216
+ }, { deep: !0 });
217
+ const { isPrinting: de, isImaging: ve, generatePdf: he, generateImage: fe } = vt({
210
218
  elementId: `treemap_${h.value}`,
211
219
  fileName: e.value.style.chart.title.text || "vue-ui-treemap"
212
- }), J = C(() => Ke(e.value.customPalette)), R = y({
220
+ }), Q = C(() => at(e.value.customPalette)), D = y({
213
221
  showTable: e.value.table.show,
214
222
  showTooltip: e.value.style.chart.tooltip.show
215
- }), D = y({
223
+ }), A = y({
216
224
  height: e.value.style.chart.height,
217
225
  width: e.value.style.chart.width
218
- }), B = C(() => ({
219
- bottom: D.value.height - e.value.style.chart.padding.bottom,
220
- height: D.value.height - e.value.style.chart.padding.top - e.value.style.chart.padding.bottom,
226
+ }), W = C(() => ({
227
+ bottom: A.value.height - e.value.style.chart.padding.bottom,
228
+ height: A.value.height - e.value.style.chart.padding.top - e.value.style.chart.padding.bottom,
221
229
  left: e.value.style.chart.padding.left,
222
- right: D.value.width - e.value.style.chart.padding.right,
230
+ right: A.value.width - e.value.style.chart.padding.right,
223
231
  top: e.value.style.chart.padding.top,
224
- vbHeight: D.value.height,
225
- vbWidth: D.value.width,
226
- width: D.value.width - e.value.style.chart.padding.left - e.value.style.chart.padding.right
232
+ vbHeight: A.value.height,
233
+ vbWidth: A.value.width,
234
+ width: A.value.width - e.value.style.chart.padding.left - e.value.style.chart.padding.right
227
235
  }));
228
- function ve(t) {
236
+ function pe(t) {
229
237
  t.forEach((o, l) => {
230
- o.id = Oe(), o.color = le(o.color) || J.value[l] || x[l] || x[l % x.length], o.children && (o.children.forEach((u) => {
238
+ o.id = ze(), o.color = oe(o.color) || Q.value[l] || x[l] || x[l % x.length], o.children && (o.children.forEach((u) => {
231
239
  u.parentId = o.id, u.color = o.color;
232
- }), ve(o.children));
240
+ }), pe(o.children));
233
241
  });
234
242
  }
235
- const W = y(n.dataset), K = y(null);
236
- He(() => {
237
- if (Qe(n.dataset) && et({
243
+ const E = y(n.dataset), ee = y(null);
244
+ je(() => {
245
+ Ve();
246
+ });
247
+ function Ve() {
248
+ if (nt(n.dataset) && st({
238
249
  componentName: "VueUiTreemap",
239
250
  type: "dataset"
240
- }), ve(W.value), e.value.responsive) {
241
- const t = ht(() => {
242
- const { width: o, height: l } = ft({
251
+ }), pe(E.value), e.value.responsive) {
252
+ const t = bt(() => {
253
+ const { width: o, height: l } = wt({
243
254
  chart: p.value,
244
255
  title: e.value.style.chart.title.text ? $.value : null,
245
256
  legend: e.value.style.chart.legend.show ? z.value : null
246
257
  });
247
- D.value.width = o, D.value.height = l;
258
+ A.value.width = o, A.value.height = l;
248
259
  });
249
- K.value = new ResizeObserver(t), K.value.observe(p.value.parentNode);
260
+ ee.value = new ResizeObserver(t), ee.value.observe(p.value.parentNode);
250
261
  }
251
- }), Ue(() => {
252
- K.value && K.value.disconnect();
262
+ }
263
+ Ye(() => {
264
+ ee.value && ee.value.disconnect();
253
265
  });
254
- const ae = y(W.value), j = C(() => ae.value.map((t, o) => ({
266
+ const ne = y(E.value), Z = C(() => ne.value.map((t, o) => ({
255
267
  ...t,
256
- color: le(t.color) || J.value[o] || x[o] || x[o % x.length]
257
- })).filter((t) => !f.value.includes(t.id))), H = C(() => W.value.filter((t) => !f.value.includes(t.id)).map((t) => t.value || 0).reduce((t, o) => t + o, 0)), he = C({
268
+ color: oe(t.color) || Q.value[o] || x[o] || x[o % x.length]
269
+ })).filter((t) => !f.value.includes(t.id))), U = C(() => E.value.filter((t) => !f.value.includes(t.id)).map((t) => t.value || 0).reduce((t, o) => t + o, 0)), ge = C({
258
270
  get() {
259
- let t = [...j.value];
260
- return e.value.style.chart.layout.sorted && (t = [...j.value].sort((o, l) => l.value - o.value)), t.map((o) => ({
271
+ let t = [...Z.value];
272
+ return e.value.style.chart.layout.sorted && (t = [...Z.value].sort((o, l) => l.value - o.value)), t.map((o) => ({
261
273
  ...o
262
274
  }));
263
275
  },
@@ -265,88 +277,88 @@ const $t = (a) => (qe("data-v-61b57d4b"), a = a(), je(), a), Tt = ["id"], _t = [
265
277
  return t;
266
278
  }
267
279
  });
268
- function fe(t, o) {
280
+ function ye(t, o) {
269
281
  return t.value / o;
270
282
  }
271
- function De(t, o, l) {
272
- const u = e.value.style.chart.layout.rects.colorRatio - fe(o, l);
273
- return Se(t, u < 0 ? 0 : u);
283
+ function Be(t, o, l) {
284
+ const u = e.value.style.chart.layout.rects.colorRatio - ye(o, l);
285
+ return Ie(t, u < 0 ? 0 : u);
274
286
  }
275
- function pe(t, o, l, u) {
276
- return t.map((g, A) => {
277
- const ee = De(le(o) || J.value[A] || x[A] || x[A % x.length], g, u), Ee = fe(g, u);
287
+ function me(t, o, l, u) {
288
+ return t.map((g, M) => {
289
+ const le = Be(oe(o) || Q.value[M] || x[M] || x[M % x.length], g, u), Xe = ye(g, u);
278
290
  return {
279
291
  ...g,
280
- color: ee,
281
- proportion: Ee,
292
+ color: le,
293
+ proportion: Xe,
282
294
  parentName: l,
283
- children: g.children ? pe(g.children, ee, g.name, u) : void 0
295
+ children: g.children ? me(g.children, le, g.name, u) : void 0
284
296
  };
285
297
  });
286
298
  }
287
- const Y = C(() => mt(
288
- he.value.map((t, o) => {
299
+ const J = C(() => $t(
300
+ ge.value.map((t, o) => {
289
301
  const l = t.children ? t.children.reduce((u, g) => u + g.value, 0) : t.value;
290
302
  return {
291
303
  value: t.value,
292
304
  id: t.id,
293
- children: t.children ? pe(t.children.sort((u, g) => g.value - u.value), t.color, t.name, l) : void 0,
305
+ children: t.children ? me(t.children.sort((u, g) => g.value - u.value), t.color, t.name, l) : void 0,
294
306
  color: t.color,
295
307
  name: t.name
296
308
  };
297
309
  }),
298
- { x0: B.value.left * 2, y0: B.value.top, x1: B.value.width, y1: B.value.height }
310
+ { x0: W.value.left * 2, y0: W.value.top, x1: W.value.width, y1: W.value.height }
299
311
  ));
300
- function ge({ y0: t, y1: o }) {
312
+ function be({ y0: t, y1: o }) {
301
313
  return o - t <= 0 ? 1e-4 : o - t;
302
314
  }
303
- function ye({ x0: t, x1: o }) {
315
+ function we({ x0: t, x1: o }) {
304
316
  return o - t <= 0 ? 1e-4 : o - t;
305
317
  }
306
- function E(t) {
318
+ function H(t) {
307
319
  const o = e.value.style.chart.layout.labels.fontSize * (t.proportion * 2 > 1 ? 1 : t.proportion * 2);
308
320
  return o < e.value.style.chart.layout.labels.minFontSize ? e.value.style.chart.layout.labels.minFontSize : o;
309
321
  }
310
- function Ae(t) {
322
+ function We(t) {
311
323
  w.value = t, N.value += 1;
312
324
  }
313
- const U = C(() => ({
325
+ const G = C(() => ({
314
326
  startX: 0,
315
327
  startY: 0,
316
- width: B.value.vbWidth,
317
- height: B.value.vbHeight
328
+ width: W.value.vbWidth,
329
+ height: W.value.vbHeight
318
330
  })), P = y(!1);
319
- function ne(t, o = W.value) {
331
+ function se(t, o = E.value) {
320
332
  for (const l of o) {
321
333
  if (l.id === t)
322
334
  return l;
323
335
  if (l.children) {
324
- const u = ne(t, l.children);
336
+ const u = se(t, l.children);
325
337
  if (u)
326
338
  return u;
327
339
  }
328
340
  }
329
341
  return null;
330
342
  }
331
- function Me(t) {
343
+ function Ee(t) {
332
344
  if (P.value)
333
- s("selectDatapoint", void 0), ae.value = W.value;
345
+ s("selectDatapoint", void 0), ne.value = E.value;
334
346
  else {
335
- if (s("selectDatapoint", t), !ne(t.parentId))
347
+ if (s("selectDatapoint", t), !se(t.parentId))
336
348
  return;
337
- ae.value = [ne(t.parentId)];
349
+ ne.value = [se(t.parentId)];
338
350
  }
339
351
  P.value = !P.value;
340
352
  }
341
- const F = y(null), me = C(() => W.value.map((t, o) => ({
353
+ const F = y(null), Ce = C(() => E.value.map((t, o) => ({
342
354
  ...t,
343
- color: le(t.color) || J.value[o] || x[o] || x[o % x.length],
355
+ color: oe(t.color) || Q.value[o] || x[o] || x[o % x.length],
344
356
  shape: "square"
345
357
  })).sort((t, o) => o.value - t.value).map((t, o) => ({
346
358
  ...t,
347
- proportion: t.value / W.value.map((l) => l.value).reduce((l, u) => l + u, 0),
359
+ proportion: t.value / E.value.map((l) => l.value).reduce((l, u) => l + u, 0),
348
360
  opacity: f.value.includes(t.id) ? 0.5 : 1
349
- }))), Ve = C(() => ({
361
+ }))), He = C(() => ({
350
362
  cy: "treemap-div-legend",
351
363
  backgroundColor: e.value.style.chart.legend.backgroundColor,
352
364
  color: e.value.style.chart.legend.color,
@@ -354,31 +366,31 @@ const $t = (a) => (qe("data-v-61b57d4b"), a = a(), je(), a), Tt = ["id"], _t = [
354
366
  paddingBottom: 12,
355
367
  fontWeight: e.value.style.chart.legend.bold ? "bold" : ""
356
368
  }));
357
- function be(t) {
358
- P.value = !1, F.value = null, f.value.includes(t.id) ? f.value = f.value.filter((o) => o !== t.id) : f.value.length < n.dataset.length - 1 && f.value.push(t.id), s("selectLegend", he.value);
369
+ function ke(t) {
370
+ P.value = !1, F.value = null, f.value.includes(t.id) ? f.value = f.value.filter((o) => o !== t.id) : f.value.length < n.dataset.length - 1 && f.value.push(t.id), s("selectLegend", ge.value);
359
371
  }
360
- const se = y(null);
361
- function Be({ datapoint: t, seriesIndex: o }) {
362
- F.value = t, se.value = { datapoint: t, seriesIndex: o, config: e.value, series: j.value };
372
+ const re = y(null);
373
+ function Ue({ datapoint: t, seriesIndex: o }) {
374
+ F.value = t, re.value = { datapoint: t, seriesIndex: o, config: e.value, series: Z.value };
363
375
  const l = e.value.style.chart.tooltip.customFormat;
364
- if (ze(l) && lt(() => l({
376
+ if (Fe(l) && ut(() => l({
365
377
  seriesIndex: o,
366
378
  datapoint: t,
367
- series: j.value,
379
+ series: Z.value,
368
380
  config: e.value
369
381
  })))
370
382
  S.value = l({
371
383
  seriesIndex: o,
372
384
  datapoint: t,
373
- series: j.value,
385
+ series: Z.value,
374
386
  config: e.value
375
387
  });
376
388
  else {
377
389
  let u = "";
378
- u += `<div style="width:100%;text-align:center;border-bottom:1px solid ${e.value.style.chart.tooltip.borderColor};padding-bottom:6px;margin-bottom:3px;">${t.name}</div>`, u += `<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" fill="${t.color}"/></svg>`, u += `<b>${oe(
390
+ u += `<div style="width:100%;text-align:center;border-bottom:1px solid ${e.value.style.chart.tooltip.borderColor};padding-bottom:6px;margin-bottom:3px;">${t.name}</div>`, u += `<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" fill="${t.color}"/></svg>`, u += `<b>${ae(
379
391
  e.value.style.chart.layout.labels.formatter,
380
392
  t.value,
381
- Z({
393
+ K({
382
394
  p: e.value.style.chart.layout.labels.prefix,
383
395
  v: t.value,
384
396
  s: e.value.style.chart.layout.labels.suffix,
@@ -390,32 +402,32 @@ const $t = (a) => (qe("data-v-61b57d4b"), a = a(), je(), a), Tt = ["id"], _t = [
390
402
  v.value = !0;
391
403
  }
392
404
  const L = C(() => {
393
- const t = Y.value.map((l) => ({
405
+ const t = J.value.map((l) => ({
394
406
  name: l.name,
395
407
  color: l.color
396
- })), o = Y.value.map((l) => l.value);
408
+ })), o = J.value.map((l) => l.value);
397
409
  return { head: t, body: o };
398
410
  });
399
- function we() {
400
- Xe(() => {
411
+ function xe() {
412
+ Ke(() => {
401
413
  const t = L.value.head.map((u, g) => [[
402
414
  u.name
403
- ], [L.value.body[g]], [isNaN(L.value.body[g] / H.value) ? "-" : L.value.body[g] / H.value * 100]]), o = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [[""], ["val"], ["%"]]].concat(t), l = ot(o);
404
- at({ csvContent: l, title: e.value.style.chart.title.text || "vue-ui-treemap" });
415
+ ], [L.value.body[g]], [isNaN(L.value.body[g] / U.value) ? "-" : L.value.body[g] / U.value * 100]]), o = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [[""], ["val"], ["%"]]].concat(t), l = it(o);
416
+ ct({ csvContent: l, title: e.value.style.chart.title.text || "vue-ui-treemap" });
405
417
  });
406
418
  }
407
- const Q = C(() => {
419
+ const te = C(() => {
408
420
  const t = [
409
421
  e.value.table.columnNames.series,
410
422
  e.value.table.columnNames.value,
411
423
  e.value.table.columnNames.percentage
412
- ], o = L.value.head.map((g, A) => {
413
- const ee = oe(
424
+ ], o = L.value.head.map((g, M) => {
425
+ const le = ae(
414
426
  e.value.style.chart.layout.labels.formatter,
415
- L.value.body[A],
416
- Z({
427
+ L.value.body[M],
428
+ K({
417
429
  p: e.value.style.chart.layout.labels.prefix,
418
- v: L.value.body[A],
430
+ v: L.value.body[M],
419
431
  s: e.value.style.chart.layout.labels.suffix,
420
432
  r: e.value.table.td.roundingValue
421
433
  })
@@ -426,9 +438,9 @@ const $t = (a) => (qe("data-v-61b57d4b"), a = a(), je(), a), Tt = ["id"], _t = [
426
438
  name: g.name,
427
439
  shape: "square"
428
440
  },
429
- ee,
430
- isNaN(L.value.body[A] / H.value) ? "-" : Z({
431
- v: L.value.body[A] / H.value * 100,
441
+ le,
442
+ isNaN(L.value.body[M] / U.value) ? "-" : K({
443
+ v: L.value.body[M] / U.value * 100,
432
444
  s: "%",
433
445
  r: e.value.table.td.roundingPercentage
434
446
  })
@@ -456,36 +468,37 @@ const $t = (a) => (qe("data-v-61b57d4b"), a = a(), je(), a), Tt = ["id"], _t = [
456
468
  config: l
457
469
  };
458
470
  });
459
- function We() {
460
- return Y.value;
471
+ function Ge() {
472
+ return J.value;
461
473
  }
462
- function Ce() {
463
- R.value.showTable = !R.value.showTable;
474
+ function $e() {
475
+ D.value.showTable = !D.value.showTable;
464
476
  }
465
- function ke() {
466
- R.value.showTooltip = !R.value.showTooltip;
477
+ function Te() {
478
+ D.value.showTooltip = !D.value.showTooltip;
467
479
  }
468
480
  return i({
469
- getData: We,
470
- generateCsv: we,
471
- generateImage: de,
472
- generatePdf: ce,
473
- toggleTable: Ce,
474
- toggleTooltip: ke
481
+ getData: Ge,
482
+ generateCsv: xe,
483
+ generateImage: fe,
484
+ generatePdf: he,
485
+ toggleTable: $e,
486
+ toggleTooltip: Te
475
487
  }), (t, o) => (m(), k("div", {
476
488
  ref_key: "treemapChart",
477
489
  ref: p,
478
- class: xe(`vue-ui-treemap ${w.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.value.useCssAnimation ? "" : "vue-ui-dna"}`),
479
- style: M(`font-family:${e.value.style.fontFamily};width:100%; ${e.value.responsive ? "height: 100%;" : ""} text-align:center;${e.value.style.chart.title.text ? "" : "padding-top:36px"};background:${e.value.style.chart.backgroundColor}`),
490
+ class: _e(`vue-ui-treemap ${w.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.value.useCssAnimation ? "" : "vue-ui-dna"}`),
491
+ style: V(`font-family:${e.value.style.fontFamily};width:100%; ${e.value.responsive ? "height: 100%;" : ""} text-align:center;${e.value.style.chart.title.text ? "" : "padding-top:36px"};background:${e.value.style.chart.backgroundColor}`),
480
492
  id: `treemap_${h.value}`
481
493
  }, [
482
494
  e.value.style.chart.title.text ? (m(), k("div", {
483
495
  key: 0,
484
496
  ref_key: "chartTitle",
485
497
  ref: $,
486
- style: M(`width:100%;background:${e.value.style.chart.backgroundColor};padding-bottom:6px`)
498
+ style: V(`width:100%;background:${e.value.style.chart.backgroundColor};padding-bottom:6px`)
487
499
  }, [
488
- re(nt, {
500
+ (m(), X(dt, {
501
+ key: `title_${R.value}`,
489
502
  config: {
490
503
  title: {
491
504
  cy: "treemap-div-title",
@@ -496,15 +509,15 @@ const $t = (a) => (qe("data-v-61b57d4b"), a = a(), je(), a), Tt = ["id"], _t = [
496
509
  ...e.value.style.chart.title.subtitle
497
510
  }
498
511
  }
499
- }, null, 8, ["config"])
500
- ], 4)) : V("", !0),
501
- e.value.userOptions.show && c.value ? (m(), te(rt, {
512
+ }, null, 8, ["config"]))
513
+ ], 4)) : B("", !0),
514
+ e.value.userOptions.show && c.value ? (m(), X(ht, {
502
515
  ref: "details",
503
516
  key: `user_option_${N.value}`,
504
517
  backgroundColor: e.value.style.chart.backgroundColor,
505
518
  color: e.value.style.chart.color,
506
- isPrinting: b(I),
507
- isImaging: b(ie),
519
+ isPrinting: b(de),
520
+ isImaging: b(ve),
508
521
  uid: h.value,
509
522
  hasTooltip: e.value.userOptions.buttons.tooltip && e.value.style.chart.tooltip.show,
510
523
  hasPdf: e.value.userOptions.buttons.pdf,
@@ -513,16 +526,16 @@ const $t = (a) => (qe("data-v-61b57d4b"), a = a(), je(), a), Tt = ["id"], _t = [
513
526
  hasTable: e.value.userOptions.buttons.table,
514
527
  hasFullscreen: e.value.userOptions.buttons.fullscreen,
515
528
  isFullscreen: w.value,
516
- isTooltip: R.value.showTooltip,
529
+ isTooltip: D.value.showTooltip,
517
530
  titles: { ...e.value.userOptions.buttonTitles },
518
531
  chartElement: p.value,
519
- onToggleFullscreen: Ae,
520
- onGeneratePdf: b(ce),
521
- onGenerateCsv: we,
522
- onGenerateImage: b(de),
523
- onToggleTable: Ce,
524
- onToggleTooltip: ke
525
- }, Ge({ _: 2 }, [
532
+ onToggleFullscreen: We,
533
+ onGeneratePdf: b(he),
534
+ onGenerateCsv: xe,
535
+ onGenerateImage: b(fe),
536
+ onToggleTable: $e,
537
+ onToggleTooltip: Te
538
+ }, Ze({ _: 2 }, [
526
539
  t.$slots.optionTooltip ? {
527
540
  name: "optionTooltip",
528
541
  fn: T(() => [
@@ -561,20 +574,20 @@ const $t = (a) => (qe("data-v-61b57d4b"), a = a(), je(), a), Tt = ["id"], _t = [
561
574
  t.$slots.optionFullscreen ? {
562
575
  name: "optionFullscreen",
563
576
  fn: T(({ toggleFullscreen: l, isFullscreen: u }) => [
564
- _(t.$slots, "optionFullscreen", G(X({ toggleFullscreen: l, isFullscreen: u })), void 0, !0)
577
+ _(t.$slots, "optionFullscreen", q(j({ toggleFullscreen: l, isFullscreen: u })), void 0, !0)
565
578
  ]),
566
579
  key: "5"
567
580
  } : void 0
568
- ]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasTooltip", "hasPdf", "hasXls", "hasImg", "hasTable", "hasFullscreen", "isFullscreen", "isTooltip", "titles", "chartElement", "onGeneratePdf", "onGenerateImage"])) : V("", !0),
581
+ ]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasTooltip", "hasPdf", "hasXls", "hasImg", "hasTable", "hasFullscreen", "isFullscreen", "isTooltip", "titles", "chartElement", "onGeneratePdf", "onGenerateImage"])) : B("", !0),
569
582
  c.value ? (m(), k("svg", {
570
583
  key: 2,
571
- xmlns: b(tt),
572
- class: xe({ "vue-data-ui-fullscreen--on": w.value, "vue-data-ui-fulscreen--off": !w.value, "vue-data-ui-zoom-plus": !P.value, "vue-data-ui-zoom-minus": P.value }),
573
- viewBox: `${U.value.startX} ${U.value.startY} ${U.value.width <= 0 ? 10 : U.value.width} ${U.value.height <= 0 ? 10 : U.value.height}`,
574
- style: M(`max-width:100%; overflow: hidden; background:${e.value.style.chart.backgroundColor};color:${e.value.style.chart.color}`)
584
+ xmlns: b(rt),
585
+ class: _e({ "vue-data-ui-fullscreen--on": w.value, "vue-data-ui-fulscreen--off": !w.value, "vue-data-ui-zoom-plus": !P.value, "vue-data-ui-zoom-minus": P.value }),
586
+ viewBox: `${G.value.startX} ${G.value.startY} ${G.value.width <= 0 ? 10 : G.value.width} ${G.value.height <= 0 ? 10 : G.value.height}`,
587
+ style: V(`max-width:100%; overflow: hidden; background:${e.value.style.chart.backgroundColor};color:${e.value.style.chart.color}`)
575
588
  }, [
576
- (m(!0), k($e, null, Te(Y.value, (l, u) => (m(), k("g", null, [
577
- e.value.style.chart.layout.rects.gradient.show ? (m(), k("defs", Ot, [
589
+ (m(!0), k(Oe, null, Se(J.value, (l, u) => (m(), k("g", null, [
590
+ e.value.style.chart.layout.rects.gradient.show ? (m(), k("defs", Ft, [
578
591
  O("radialGradient", {
579
592
  id: `tgrad_${l.id}`,
580
593
  gradientTransform: "translate(-1, -1.000001) scale(2, 2)"
@@ -582,58 +595,58 @@ const $t = (a) => (qe("data-v-61b57d4b"), a = a(), je(), a), Tt = ["id"], _t = [
582
595
  O("stop", {
583
596
  offset: "18%",
584
597
  "stop-color": l.color
585
- }, null, 8, Nt),
598
+ }, null, 8, Rt),
586
599
  O("stop", {
587
600
  offset: "100%",
588
- "stop-color": b(Se)(l.color, e.value.style.chart.layout.rects.gradient.intensity / 100)
589
- }, null, 8, zt)
590
- ], 8, St)
591
- ])) : V("", !0)
601
+ "stop-color": b(Ie)(l.color, e.value.style.chart.layout.rects.gradient.intensity / 100)
602
+ }, null, 8, Dt)
603
+ ], 8, Lt)
604
+ ])) : B("", !0)
592
605
  ]))), 256)),
593
- (m(!0), k($e, null, Te(Y.value, (l, u) => (m(), k("g", null, [
606
+ (m(!0), k(Oe, null, Se(J.value, (l, u) => (m(), k("g", null, [
594
607
  O("rect", {
595
608
  x: l.x0,
596
609
  y: l.y0,
597
- height: ge(l),
598
- width: ye(l),
610
+ height: be(l),
611
+ width: we(l),
599
612
  fill: d.value ? l.color : e.value.style.chart.layout.rects.gradient.show ? `url(#tgrad_${l.id})` : l.color,
600
613
  rx: e.value.style.chart.layout.rects.borderRadius,
601
614
  stroke: F.value && F.value.id === l.id ? e.value.style.chart.layout.rects.selected.stroke : e.value.style.chart.layout.rects.stroke,
602
615
  "stroke-width": F.value && F.value.id === l.id ? e.value.style.chart.layout.rects.selected.strokeWidth : e.value.style.chart.layout.rects.strokeWidth,
603
- onClick: (g) => Me(l),
604
- onMouseenter: () => Be({
616
+ onClick: (g) => Ee(l),
617
+ onMouseenter: () => Ue({
605
618
  datapoint: l,
606
619
  seriesIndex: u
607
620
  }),
608
621
  onMouseleave: o[0] || (o[0] = (g) => {
609
622
  F.value = null, v.value = !1;
610
623
  }),
611
- style: M(`opacity:${F.value ? F.value.id === l.id ? 1 : e.value.style.chart.layout.rects.selected.unselectedOpacity : 1}`),
624
+ style: V(`opacity:${F.value ? F.value.id === l.id ? 1 : e.value.style.chart.layout.rects.selected.unselectedOpacity : 1}`),
612
625
  class: "vue-ui-treemap-rect"
613
- }, null, 44, It),
626
+ }, null, 44, At),
614
627
  (m(), k("foreignObject", {
615
628
  x: l.x0,
616
629
  y: l.y0,
617
- height: ge(l),
618
- width: ye(l),
630
+ height: be(l),
631
+ width: we(l),
619
632
  class: "vue-ui-treemap-cell-foreignObject"
620
633
  }, [
621
- O("div", Ft, [
634
+ O("div", Vt, [
622
635
  e.value.style.chart.layout.labels.showDefaultLabels && (l.proportion > e.value.style.chart.layout.labels.hideUnderProportion || P.value) ? (m(), k("div", {
623
636
  key: 0,
624
637
  class: "vue-ui-treemap-cell-default",
625
- style: M(`width:calc(100% - ${E(l) / 1.5}px);text-align:left;line-height:${E(l) < 14 ? 14 : E(l)}px;padding:${E(l) / 3}px; color:${b(Ne)(l.color)}`)
638
+ style: V(`width:calc(100% - ${H(l) / 1.5}px);text-align:left;line-height:${H(l) < 14 ? 14 : H(l)}px;padding:${H(l) / 3}px; color:${b(Pe)(l.color)}`)
626
639
  }, [
627
640
  O("span", {
628
- style: M(`width:100%;font-size:${E(l)}px;`)
629
- }, q(l.name), 5),
630
- Lt,
641
+ style: V(`width:100%;font-size:${H(l)}px;`)
642
+ }, Y(l.name), 5),
643
+ Bt,
631
644
  O("span", {
632
- style: M(`width:100%;font-size:${E(l)}px;`)
633
- }, q(b(oe)(
645
+ style: V(`width:100%;font-size:${H(l)}px;`)
646
+ }, Y(b(ae)(
634
647
  e.value.style.chart.layout.labels.formatter,
635
648
  l.value,
636
- b(Z)({
649
+ b(K)({
637
650
  p: e.value.style.chart.layout.labels.prefix,
638
651
  v: l.value,
639
652
  s: e.value.style.chart.layout.labels.suffix,
@@ -641,23 +654,23 @@ const $t = (a) => (qe("data-v-61b57d4b"), a = a(), je(), a), Tt = ["id"], _t = [
641
654
  }),
642
655
  { datapoint: l }
643
656
  )), 5)
644
- ], 4)) : V("", !0),
645
- _(t.$slots, "rect", G(X({
657
+ ], 4)) : B("", !0),
658
+ _(t.$slots, "rect", q(j({
646
659
  rect: l,
647
660
  shouldShow: l.proportion > e.value.style.chart.layout.labels.hideUnderProportion || P.value,
648
- fontSize: E(l),
661
+ fontSize: H(l),
649
662
  isZoom: P.value,
650
- textColor: b(Ne)(l.color)
663
+ textColor: b(Pe)(l.color)
651
664
  })), void 0, !0)
652
665
  ])
653
- ], 8, Pt))
666
+ ], 8, Mt))
654
667
  ]))), 256)),
655
- _(t.$slots, "svg", G(X({ svg: B.value, isZoom: P.value, rect: F.value, config: e.value })), void 0, !0)
656
- ], 14, _t)) : V("", !0),
657
- t.$slots.watermark ? (m(), k("div", Rt, [
658
- _(t.$slots, "watermark", G(X({ isPrinting: b(I) || b(ie) })), void 0, !0)
659
- ])) : V("", !0),
660
- c.value ? V("", !0) : (m(), te(ct, {
668
+ _(t.$slots, "svg", q(j({ svg: W.value, isZoom: P.value, rect: F.value, config: e.value })), void 0, !0)
669
+ ], 14, Pt)) : B("", !0),
670
+ t.$slots.watermark ? (m(), k("div", Wt, [
671
+ _(t.$slots, "watermark", q(j({ isPrinting: b(de) || b(ve) })), void 0, !0)
672
+ ])) : B("", !0),
673
+ c.value ? B("", !0) : (m(), X(gt, {
661
674
  key: 4,
662
675
  config: {
663
676
  type: "treemap",
@@ -673,22 +686,22 @@ const $t = (a) => (qe("data-v-61b57d4b"), a = a(), je(), a), Tt = ["id"], _t = [
673
686
  ref_key: "chartLegend",
674
687
  ref: z
675
688
  }, [
676
- e.value.style.chart.legend.show ? (m(), te(it, {
677
- key: 0,
678
- legendSet: me.value,
679
- config: Ve.value,
689
+ e.value.style.chart.legend.show ? (m(), X(pt, {
690
+ key: `legend_${ie.value}`,
691
+ legendSet: Ce.value,
692
+ config: He.value,
680
693
  id: `treemap_legend_${h.value}`,
681
- onClickMarker: o[1] || (o[1] = ({ legend: l }) => be(l))
694
+ onClickMarker: o[1] || (o[1] = ({ legend: l }) => ke(l))
682
695
  }, {
683
696
  item: T(({ legend: l, index: u }) => [
684
697
  O("div", {
685
- onClick: (g) => be(l),
686
- style: M(`opacity:${f.value.includes(l.id) ? 0.5 : 1}`)
698
+ onClick: (g) => ke(l),
699
+ style: V(`opacity:${f.value.includes(l.id) ? 0.5 : 1}`)
687
700
  }, [
688
- _e(q(l.name) + ": " + q(b(oe)(
701
+ Ne(Y(l.name) + ": " + Y(b(ae)(
689
702
  e.value.style.chart.layout.labels.formatter,
690
703
  l.value,
691
- b(Z)({
704
+ b(K)({
692
705
  p: e.value.style.chart.layout.labels.prefix,
693
706
  v: l.value,
694
707
  s: e.value.style.chart.layout.labels.suffix,
@@ -696,17 +709,17 @@ const $t = (a) => (qe("data-v-61b57d4b"), a = a(), je(), a), Tt = ["id"], _t = [
696
709
  }),
697
710
  { datapoint: l }
698
711
  )) + " ", 1),
699
- f.value.includes(l.id) ? (m(), k("span", Mt, " ( - % ) ")) : (m(), k("span", At, " (" + q(isNaN(l.value / H.value) ? "-" : (l.value / H.value * 100).toFixed(e.value.style.chart.legend.roundingPercentage)) + "%) ", 1))
700
- ], 12, Dt)
712
+ f.value.includes(l.id) ? (m(), k("span", Ut, " ( - % ) ")) : (m(), k("span", Ht, " (" + Y(isNaN(l.value / U.value) ? "-" : (l.value / U.value * 100).toFixed(e.value.style.chart.legend.roundingPercentage)) + "%) ", 1))
713
+ ], 12, Et)
701
714
  ]),
702
715
  _: 1
703
716
  }, 8, ["legendSet", "config", "id"])) : _(t.$slots, "legend", {
704
717
  key: 1,
705
- legend: me.value
718
+ legend: Ce.value
706
719
  }, void 0, !0)
707
720
  ], 512),
708
- re(ut, {
709
- show: R.value.showTooltip && v.value,
721
+ Je(ft, {
722
+ show: D.value.showTooltip && v.value,
710
723
  backgroundColor: e.value.style.chart.tooltip.backgroundColor,
711
724
  color: e.value.style.chart.tooltip.color,
712
725
  fontSize: e.value.style.chart.tooltip.fontSize,
@@ -718,21 +731,21 @@ const $t = (a) => (qe("data-v-61b57d4b"), a = a(), je(), a), Tt = ["id"], _t = [
718
731
  offsetY: e.value.style.chart.tooltip.offsetY,
719
732
  parent: p.value,
720
733
  content: S.value,
721
- isCustom: b(ze)(e.value.style.chart.tooltip.customFormat)
734
+ isCustom: b(Fe)(e.value.style.chart.tooltip.customFormat)
722
735
  }, {
723
736
  "tooltip-before": T(() => [
724
- _(t.$slots, "tooltip-before", G(X({ ...se.value })), void 0, !0)
737
+ _(t.$slots, "tooltip-before", q(j({ ...re.value })), void 0, !0)
725
738
  ]),
726
739
  "tooltip-after": T(() => [
727
- _(t.$slots, "tooltip-after", G(X({ ...se.value })), void 0, !0)
740
+ _(t.$slots, "tooltip-after", q(j({ ...re.value })), void 0, !0)
728
741
  ]),
729
742
  _: 3
730
743
  }, 8, ["show", "backgroundColor", "color", "fontSize", "borderRadius", "borderColor", "borderWidth", "backgroundOpacity", "position", "offsetY", "parent", "content", "isCustom"]),
731
- c.value ? (m(), te(vt, {
744
+ c.value ? (m(), X(mt, {
732
745
  key: 5,
733
746
  hideDetails: "",
734
747
  config: {
735
- open: R.value.showTable,
748
+ open: D.value.showTable,
736
749
  maxHeight: 1e4,
737
750
  body: {
738
751
  backgroundColor: e.value.style.chart.backgroundColor,
@@ -745,31 +758,32 @@ const $t = (a) => (qe("data-v-61b57d4b"), a = a(), je(), a), Tt = ["id"], _t = [
745
758
  }
746
759
  }, {
747
760
  content: T(() => [
748
- re(dt, {
749
- colNames: Q.value.colNames,
750
- head: Q.value.head,
751
- body: Q.value.body,
752
- config: Q.value.config,
761
+ (m(), X(yt, {
762
+ key: `table_${I.value}`,
763
+ colNames: te.value.colNames,
764
+ head: te.value.head,
765
+ body: te.value.body,
766
+ config: te.value.config,
753
767
  title: `${e.value.style.chart.title.text}${e.value.style.chart.title.subtitle.text ? ` : ${e.value.style.chart.title.subtitle.text}` : ""}`,
754
- onClose: o[2] || (o[2] = (l) => R.value.showTable = !1)
768
+ onClose: o[2] || (o[2] = (l) => D.value.showTable = !1)
755
769
  }, {
756
770
  th: T(({ th: l }) => [
757
771
  O("div", {
758
772
  innerHTML: l,
759
773
  style: { display: "flex", "align-items": "center" }
760
- }, null, 8, Vt)
774
+ }, null, 8, Gt)
761
775
  ]),
762
776
  td: T(({ td: l }) => [
763
- _e(q(l.name || l), 1)
777
+ Ne(Y(l.name || l), 1)
764
778
  ]),
765
779
  _: 1
766
- }, 8, ["colNames", "head", "body", "config", "title"])
780
+ }, 8, ["colNames", "head", "body", "config", "title"]))
767
781
  ]),
768
782
  _: 1
769
- }, 8, ["config"])) : V("", !0)
770
- ], 14, Tt));
783
+ }, 8, ["config"])) : B("", !0)
784
+ ], 14, It));
771
785
  }
772
- }, Qt = /* @__PURE__ */ pt(Bt, [["__scopeId", "data-v-61b57d4b"]]);
786
+ }, nl = /* @__PURE__ */ Ct(Xt, [["__scopeId", "data-v-440c85e2"]]);
773
787
  export {
774
- Qt as default
788
+ nl as default
775
789
  };