vue-data-ui 2.4.3 → 2.4.5

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 (183) hide show
  1. package/README.md +3 -1
  2. package/dist/{Arrow-Dz6AomGr.cjs → Arrow-BeQLfJqp.cjs} +1 -1
  3. package/dist/{Arrow-C7lNL7sY.js → Arrow-Dvaq-qLp.js} +1 -1
  4. package/dist/{BaseIcon-uALK38Ov.cjs → BaseIcon-BQM6PtJu.cjs} +1 -1
  5. package/dist/{BaseIcon-BbvG1AlW.js → BaseIcon-D9DRVW03.js} +1 -1
  6. package/dist/{DataTable-DTzynbND.cjs → DataTable-DO2GAcBm.cjs} +1 -1
  7. package/dist/{DataTable-DYqC2pqu.js → DataTable-rs_YrvMR.js} +2 -2
  8. package/dist/{Legend-Cgw4lO2O.cjs → Legend-BoBvZGqQ.cjs} +1 -1
  9. package/dist/{Legend-DNgTCgEK.js → Legend-DrmUpnIK.js} +1 -1
  10. package/dist/{PackageVersion-VkaUzgmt.js → PackageVersion-D9rYHrFZ.js} +1 -1
  11. package/dist/{PackageVersion-DwI-KhXH.cjs → PackageVersion-DdLmDkTt.cjs} +1 -1
  12. package/dist/PenAndPaper-C-KjtyNA.js +308 -0
  13. package/dist/PenAndPaper-DyMNuRla.cjs +1 -0
  14. package/dist/{Shape-D2Dpshg1.cjs → Shape-BGqIhzPX.cjs} +1 -1
  15. package/dist/{Shape-Bwon0l0g.js → Shape-CBrmBvYy.js} +1 -1
  16. package/dist/{Slicer-TfpN2Cr4.js → Slicer-4R6np1wa.js} +3 -3
  17. package/dist/{Slicer-uSjfNJjG.cjs → Slicer-BLkkkNUl.cjs} +1 -1
  18. package/dist/{Title-0Tp4hZ4u.cjs → Title-Dn00hErp.cjs} +1 -1
  19. package/dist/{Title-C5pIfQAz.js → Title-W7iJGPjg.js} +1 -1
  20. package/dist/{Tooltip-9Tp2Yrd1.cjs → Tooltip-DJiwKA4y.cjs} +1 -1
  21. package/dist/{Tooltip-Cz24YLfw.js → Tooltip-Pv3Bhir5.js} +1 -1
  22. package/dist/{index-Bya_q1J-.js → index-C1GB0E49.js} +1 -1
  23. package/dist/{index-eFox7weK.cjs → index-C9HllqQA.cjs} +1 -1
  24. package/dist/style.css +1 -1
  25. package/dist/{useNestedProp-B33hazbH.js → useNestedProp-CNAPgW6E.js} +1 -1
  26. package/dist/{useNestedProp-BkgEhTQY.cjs → useNestedProp-DOr0hj4s.cjs} +1 -1
  27. package/dist/{usePrinter-CSRFnDBU.cjs → usePrinter-FSAw5pod.cjs} +1 -1
  28. package/dist/{usePrinter-CiHd1FwD.js → usePrinter-y5uHyknw.js} +1 -1
  29. package/dist/useResponsive-BJ7DTGpm.cjs +1 -0
  30. package/dist/{useResponsive-BY8tgM1n.js → useResponsive-CoxXLe23.js} +8 -7
  31. package/dist/{vue-data-ui-Bduq4f2p.js → vue-data-ui-Bg5KOKEX.js} +58 -58
  32. package/dist/{vue-data-ui-BTtxyUc3.cjs → vue-data-ui-Bnkz3Xmu.cjs} +1 -1
  33. package/dist/vue-data-ui.cjs +1 -1
  34. package/dist/vue-data-ui.js +1 -1
  35. package/dist/{vue-ui-3d-bar-BUEq_VdY.js → vue-ui-3d-bar-mUrcbG6J.js} +9 -9
  36. package/dist/{vue-ui-3d-bar-B-P7PMHs.cjs → vue-ui-3d-bar-sjkBzHFn.cjs} +1 -1
  37. package/dist/{vue-ui-accordion-TEMpM1hO.cjs → vue-ui-accordion-BkUGNe2H.cjs} +1 -1
  38. package/dist/{vue-ui-accordion-DfUfL2dI.js → vue-ui-accordion-DWyRC3-h.js} +3 -3
  39. package/dist/vue-ui-age-pyramid-CKQ8OHuS.cjs +1 -0
  40. package/dist/{vue-ui-age-pyramid-CH72tAMb.js → vue-ui-age-pyramid-CVktvXpY.js} +145 -137
  41. package/dist/{vue-ui-annotator-DPeJ2its.js → vue-ui-annotator-Cp8KDkuP.js} +1 -1
  42. package/dist/{vue-ui-annotator-DU_DJKCw.cjs → vue-ui-annotator-DSJ25l4s.cjs} +1 -1
  43. package/dist/vue-ui-bullet-Bg3TPFgV.cjs +34 -0
  44. package/dist/{vue-ui-bullet-CtP3MlUT.js → vue-ui-bullet-D4atsFQx.js} +75 -69
  45. package/dist/vue-ui-candlestick-BhdG9CY1.cjs +2 -0
  46. package/dist/{vue-ui-candlestick-DDil13a0.js → vue-ui-candlestick-DUNyCQ6Z.js} +240 -232
  47. package/dist/{vue-ui-carousel-table-BaeIxyc0.js → vue-ui-carousel-table-BRrYpr-2.js} +4 -4
  48. package/dist/{vue-ui-carousel-table-C7SJIOG-.cjs → vue-ui-carousel-table-DF4FhrBd.cjs} +1 -1
  49. package/dist/vue-ui-chestnut-BLBS9QO2.cjs +6 -0
  50. package/dist/{vue-ui-chestnut-BczSJF6S.js → vue-ui-chestnut-CjS4qC_J.js} +262 -256
  51. package/dist/{vue-ui-cursor-Dg_Dmww-.js → vue-ui-cursor-C3SpabMF.js} +2 -2
  52. package/dist/{vue-ui-cursor-C2Pj_CI_.cjs → vue-ui-cursor-DzVt5_py.cjs} +1 -1
  53. package/dist/{vue-ui-dashboard-Bul9dqx1.js → vue-ui-dashboard-BCOKtsyJ.js} +2 -2
  54. package/dist/{vue-ui-dashboard-Cg020NiT.cjs → vue-ui-dashboard-CIv7W8Yn.cjs} +1 -1
  55. package/dist/{vue-ui-digits-B8iAa4YZ.js → vue-ui-digits-DaMKAZkt.js} +2 -2
  56. package/dist/{vue-ui-digits-Ctgd84JR.cjs → vue-ui-digits-yNfQgOLZ.cjs} +1 -1
  57. package/dist/{vue-ui-donut-DUcp-fat.js → vue-ui-donut-B_-VAqBw.js} +338 -330
  58. package/dist/vue-ui-donut-Bo4SbdEe.cjs +1 -0
  59. package/dist/{vue-ui-donut-evolution-C_YMbTwq.js → vue-ui-donut-evolution-C9TXFzCm.js} +163 -156
  60. package/dist/vue-ui-donut-evolution-DOPY3I3Q.cjs +1 -0
  61. package/dist/{vue-ui-dumbbell-Buwngz_V.js → vue-ui-dumbbell-BP_Vf_u2.js} +208 -200
  62. package/dist/vue-ui-dumbbell-Cgwng71s.cjs +9 -0
  63. package/dist/vue-ui-flow-BiQj4v8i.cjs +1 -0
  64. package/dist/{vue-ui-flow-Bz3c0K5P.js → vue-ui-flow-DHoxK4t1.js} +130 -124
  65. package/dist/vue-ui-galaxy-C5ZaT8pw.cjs +1 -0
  66. package/dist/{vue-ui-galaxy-Cjh0XGTX.js → vue-ui-galaxy-DuLPsC4Q.js} +125 -119
  67. package/dist/vue-ui-gauge-26eHgOjR.cjs +1 -0
  68. package/dist/{vue-ui-gauge-B1UvGkQa.js → vue-ui-gauge-BhrXiD4S.js} +167 -159
  69. package/dist/{vue-ui-gizmo-DFW6HnHp.cjs → vue-ui-gizmo-Bb_SWCsE.cjs} +1 -1
  70. package/dist/{vue-ui-gizmo-DUQ4t-At.js → vue-ui-gizmo-D3kBYI1G.js} +3 -3
  71. package/dist/vue-ui-heatmap-Bc4HvgMk.cjs +1 -0
  72. package/dist/{vue-ui-heatmap-C-poazUw.js → vue-ui-heatmap-wjsvn1_e.js} +156 -149
  73. package/dist/{vue-ui-kpi-Z4Oi4raz.cjs → vue-ui-kpi-BbvfVZn0.cjs} +1 -1
  74. package/dist/{vue-ui-kpi-DXe-vxAk.js → vue-ui-kpi-DLJuo47I.js} +3 -3
  75. package/dist/{vue-ui-mini-loader-MMvpm9pz.cjs → vue-ui-mini-loader-BaxwhF7o.cjs} +1 -1
  76. package/dist/{vue-ui-mini-loader-BVtHTqxS.js → vue-ui-mini-loader-D4aLvv-D.js} +2 -2
  77. package/dist/{vue-ui-molecule-BaJpDZND.js → vue-ui-molecule-DXpMMgdW.js} +109 -103
  78. package/dist/vue-ui-molecule-ZqAJHh6x.cjs +1 -0
  79. package/dist/{vue-ui-mood-radar-BUNDwsEI.js → vue-ui-mood-radar-B_uWY92C.js} +173 -166
  80. package/dist/vue-ui-mood-radar-BhteAPWH.cjs +1 -0
  81. package/dist/{vue-ui-nested-donuts-mDy2hXa6.js → vue-ui-nested-donuts-By32x0Y7.js} +311 -303
  82. package/dist/vue-ui-nested-donuts-ClgkX1-p.cjs +17 -0
  83. package/dist/vue-ui-onion-BdIxJpfA.cjs +5 -0
  84. package/dist/{vue-ui-onion-DwFG3HAI.js → vue-ui-onion-dQTXKNju.js} +149 -141
  85. package/dist/{vue-ui-parallel-coordinate-plot-ImET_zeo.js → vue-ui-parallel-coordinate-plot-CTF9Ujab.js} +186 -178
  86. package/dist/vue-ui-parallel-coordinate-plot-D6MUp-5W.cjs +8 -0
  87. package/dist/vue-ui-quadrant-CArA4Vmm.cjs +1 -0
  88. package/dist/{vue-ui-quadrant-BeveRihK.js → vue-ui-quadrant-Coqh0pYO.js} +225 -217
  89. package/dist/vue-ui-quick-chart-6Av74TTC.cjs +15 -0
  90. package/dist/{vue-ui-quick-chart-DAhllTfa.js → vue-ui-quick-chart-Bfdddr_B.js} +386 -378
  91. package/dist/{vue-ui-radar-BllatzRa.js → vue-ui-radar-BpdGMVHw.js} +172 -164
  92. package/dist/vue-ui-radar-CLr-gu1X.cjs +1 -0
  93. package/dist/{vue-ui-rating-D1ykV4xO.js → vue-ui-rating-B-YedcK0.js} +2 -2
  94. package/dist/{vue-ui-rating-BoZo7caL.cjs → vue-ui-rating-KFJoH-JV.cjs} +1 -1
  95. package/dist/vue-ui-relation-circle-BLVThOqT.js +366 -0
  96. package/dist/vue-ui-relation-circle-DuGQKFor.cjs +1 -0
  97. package/dist/{vue-ui-rings-B-ZcX6y1.js → vue-ui-rings-BGeYkj-O.js} +196 -188
  98. package/dist/vue-ui-rings-DzgehQZ5.cjs +2 -0
  99. package/dist/{vue-ui-scatter-DG43ck1g.js → vue-ui-scatter-CsBPCCco.js} +288 -280
  100. package/dist/vue-ui-scatter-jPnr8qI0.cjs +1 -0
  101. package/dist/{vue-ui-screenshot-C1JBP_N0.cjs → vue-ui-screenshot-1nXVH-hp.cjs} +1 -1
  102. package/dist/{vue-ui-screenshot-p3ca8cAl.js → vue-ui-screenshot-B2FTnuxH.js} +1 -1
  103. package/dist/{vue-ui-skeleton-BYssP0K4.js → vue-ui-skeleton-CE6ibl1T.js} +3 -3
  104. package/dist/{vue-ui-skeleton-BqKzuhkB.cjs → vue-ui-skeleton-CPwED1As.cjs} +1 -1
  105. package/dist/{vue-ui-smiley-D7dDCdpq.js → vue-ui-smiley-2H9hMFZ_.js} +2 -2
  106. package/dist/{vue-ui-smiley-BXKVpHl2.cjs → vue-ui-smiley-DqOZwhT4.cjs} +1 -1
  107. package/dist/{vue-ui-spark-trend-9V60hM3Z.cjs → vue-ui-spark-trend-CLW85O32.cjs} +1 -1
  108. package/dist/{vue-ui-spark-trend-GWFrO_0z.js → vue-ui-spark-trend-Dx9xVq9a.js} +5 -5
  109. package/dist/{vue-ui-sparkbar-Bgn6AY0q.cjs → vue-ui-sparkbar-DJDXrRyp.cjs} +1 -1
  110. package/dist/{vue-ui-sparkbar-CwqlyAyv.js → vue-ui-sparkbar-zafUIv1n.js} +4 -4
  111. package/dist/{vue-ui-sparkgauge-F2XbiXyA.js → vue-ui-sparkgauge-CFAdhTLk.js} +4 -4
  112. package/dist/{vue-ui-sparkgauge-Dqntz2Zv.cjs → vue-ui-sparkgauge-CPNAXUyl.cjs} +1 -1
  113. package/dist/{vue-ui-sparkhistogram-DRIKK6Ym.js → vue-ui-sparkhistogram-B3DIjpaE.js} +5 -5
  114. package/dist/{vue-ui-sparkhistogram-DnY4-Sdn.cjs → vue-ui-sparkhistogram-CHc3_xRE.cjs} +1 -1
  115. package/dist/{vue-ui-sparkline-Cxtzdlhi.js → vue-ui-sparkline-C-LE7J9H.js} +5 -5
  116. package/dist/{vue-ui-sparkline-CAEs-gtK.cjs → vue-ui-sparkline-U22Yhwy7.cjs} +1 -1
  117. package/dist/{vue-ui-sparkstackbar-0A1klq9s.js → vue-ui-sparkstackbar-BzLoGC-y.js} +4 -4
  118. package/dist/{vue-ui-sparkstackbar-D37ms1rx.cjs → vue-ui-sparkstackbar-nx-Lt8sX.cjs} +1 -1
  119. package/dist/{vue-ui-stackbar-wun4S3C0.cjs → vue-ui-stackbar-BwgHLhj2.cjs} +1 -1
  120. package/dist/{vue-ui-stackbar-ByOuJSdM.js → vue-ui-stackbar-C5xNRXnW.js} +13 -13
  121. package/dist/{vue-ui-strip-plot-CMD0MSqY.js → vue-ui-strip-plot-6khUDDeA.js} +204 -196
  122. package/dist/vue-ui-strip-plot-BFUtZW4b.cjs +1 -0
  123. package/dist/{vue-ui-table-aj0XZ7T5.cjs → vue-ui-table-B3Eng0fH.cjs} +1 -1
  124. package/dist/{vue-ui-table-B75DJ39t.js → vue-ui-table-DsBM7Osw.js} +1 -1
  125. package/dist/{vue-ui-table-heatmap-Ce93TyBF.cjs → vue-ui-table-heatmap-DwCdS68z.cjs} +1 -1
  126. package/dist/{vue-ui-table-heatmap-BO2ugWqD.js → vue-ui-table-heatmap-ccQKInFD.js} +4 -4
  127. package/dist/{vue-ui-table-sparkline-CbjfAaj2.js → vue-ui-table-sparkline-BU-hOCZ7.js} +5 -5
  128. package/dist/{vue-ui-table-sparkline-D6KJjDnU.cjs → vue-ui-table-sparkline-CDmrQFKv.cjs} +1 -1
  129. package/dist/vue-ui-thermometer-BhHYcxmT.cjs +1 -0
  130. package/dist/{vue-ui-thermometer-Pq4PvSIP.js → vue-ui-thermometer-DuI3uDCZ.js} +171 -165
  131. package/dist/{vue-ui-timer-B6IB6yS6.cjs → vue-ui-timer-D7EKaAqa.cjs} +1 -1
  132. package/dist/{vue-ui-timer-Bk3BvB-B.js → vue-ui-timer-Gk3bl_em.js} +6 -6
  133. package/dist/{vue-ui-tiremarks-CU9HJIqf.js → vue-ui-tiremarks-AcEjMpJH.js} +119 -112
  134. package/dist/vue-ui-tiremarks-UX2FbnyG.cjs +1 -0
  135. package/dist/{vue-ui-treemap-DY-lRAhC.js → vue-ui-treemap-CFTpzgX5.js} +266 -258
  136. package/dist/vue-ui-treemap-D6CTMfsm.cjs +1 -0
  137. package/dist/vue-ui-vertical-bar-BzY2H3UC.cjs +4 -0
  138. package/dist/{vue-ui-vertical-bar-CtnIKsM1.js → vue-ui-vertical-bar-CuBJx5l1.js} +245 -237
  139. package/dist/vue-ui-waffle-CZxR13EG.cjs +1 -0
  140. package/dist/{vue-ui-waffle-reOsx-gJ.js → vue-ui-waffle-rDfZLxvH.js} +224 -216
  141. package/dist/{vue-ui-wheel-kYxny3vn.js → vue-ui-wheel-BFt2o4yO.js} +125 -117
  142. package/dist/vue-ui-wheel-BM-St3xT.cjs +1 -0
  143. package/dist/{vue-ui-word-cloud-DwLY4QdB.cjs → vue-ui-word-cloud-DjKyKUbA.cjs} +1 -1
  144. package/dist/{vue-ui-word-cloud-DbMqrHAf.js → vue-ui-word-cloud-pNPIrJ-g.js} +11 -11
  145. package/dist/vue-ui-xy-CBZUMMlP.cjs +3 -0
  146. package/dist/{vue-ui-xy-rbACig0h.js → vue-ui-xy-DwkEc4Np.js} +302 -291
  147. package/dist/{vue-ui-xy-canvas-B0HTR7OV.js → vue-ui-xy-canvas-CW90CROL.js} +12 -12
  148. package/dist/{vue-ui-xy-canvas-CgJd5FiT.cjs → vue-ui-xy-canvas-DWGGLom_.cjs} +1 -1
  149. package/package.json +1 -1
  150. package/dist/PenAndPaper-CDFVOo7X.cjs +0 -1
  151. package/dist/PenAndPaper-DAZYA8Ew.js +0 -269
  152. package/dist/useResponsive-CodiGUOE.cjs +0 -1
  153. package/dist/vue-ui-age-pyramid-DsbZ1qcQ.cjs +0 -1
  154. package/dist/vue-ui-bullet-D8ks_rKr.cjs +0 -34
  155. package/dist/vue-ui-candlestick-D1jdr0bv.cjs +0 -2
  156. package/dist/vue-ui-chestnut-ih5r0Bj9.cjs +0 -6
  157. package/dist/vue-ui-donut-D7KT9EAp.cjs +0 -1
  158. package/dist/vue-ui-donut-evolution-CHtJ8iOK.cjs +0 -1
  159. package/dist/vue-ui-dumbbell-B0dikuqO.cjs +0 -9
  160. package/dist/vue-ui-flow-D6rc8J-8.cjs +0 -1
  161. package/dist/vue-ui-galaxy-CmTt0vBf.cjs +0 -1
  162. package/dist/vue-ui-gauge-B_TKuyM7.cjs +0 -1
  163. package/dist/vue-ui-heatmap-C2HlnqzO.cjs +0 -1
  164. package/dist/vue-ui-molecule-BiYIcOKN.cjs +0 -1
  165. package/dist/vue-ui-mood-radar-C6jMyFkb.cjs +0 -1
  166. package/dist/vue-ui-nested-donuts-DKO2dFKo.cjs +0 -17
  167. package/dist/vue-ui-onion-GWNoZRhw.cjs +0 -5
  168. package/dist/vue-ui-parallel-coordinate-plot-DODn4Ohf.cjs +0 -8
  169. package/dist/vue-ui-quadrant-yuFAxV-5.cjs +0 -1
  170. package/dist/vue-ui-quick-chart-DgFDBzjS.cjs +0 -15
  171. package/dist/vue-ui-radar-BJH5SE6-.cjs +0 -1
  172. package/dist/vue-ui-relation-circle-CKmjOle7.cjs +0 -1
  173. package/dist/vue-ui-relation-circle-xv2l5Be9.js +0 -358
  174. package/dist/vue-ui-rings-DjH3CK23.cjs +0 -2
  175. package/dist/vue-ui-scatter-SBCXAl7q.cjs +0 -1
  176. package/dist/vue-ui-strip-plot-IQrypGvz.cjs +0 -1
  177. package/dist/vue-ui-thermometer-swmi4FmH.cjs +0 -1
  178. package/dist/vue-ui-tiremarks-Cn79uQH2.cjs +0 -1
  179. package/dist/vue-ui-treemap-BEMuKV7x.cjs +0 -1
  180. package/dist/vue-ui-vertical-bar-B1e2RxTv.cjs +0 -4
  181. package/dist/vue-ui-waffle-BqP7Okgu.cjs +0 -1
  182. package/dist/vue-ui-wheel-BuWUGnkC.cjs +0 -1
  183. package/dist/vue-ui-xy-CGWzriYn.cjs +0 -3
@@ -1,18 +1,18 @@
1
- import { computed as k, ref as p, watch as Je, onMounted as Ke, onBeforeUnmount as Qe, openBlock as y, createElementBlock as C, normalizeClass as Ne, normalizeStyle as B, createBlock as U, createCommentVNode as F, unref as b, createSlots as et, withCtx as x, renderSlot as $, normalizeProps as G, guardReactiveProps as X, createVNode as ze, Fragment as Pe, renderList as Ae, createElementVNode as O, toDisplayString as Y, createTextVNode as Ie, nextTick as tt, pushScopeId as ot, popScopeId as lt } from "vue";
2
- import { u as at, c as Fe, t as nt, a as st, p as T, b as rt, o as ut, e as it, d as ae, i as ne, f as K, X as ct, l as Le, F as Re, x as De, y as dt, q as vt, r as ht } from "./index-Bya_q1J-.js";
3
- import { _ as ft } from "./Title-C5pIfQAz.js";
4
- import { u as pt, U as gt } from "./usePrinter-CiHd1FwD.js";
5
- import { _ as yt } from "./Tooltip-Cz24YLfw.js";
6
- import { L as mt } from "./Legend-DNgTCgEK.js";
7
- import bt from "./vue-ui-skeleton-BYssP0K4.js";
8
- import { D as wt } from "./DataTable-DYqC2pqu.js";
9
- import kt from "./vue-ui-accordion-DfUfL2dI.js";
10
- import { t as Ct, u as $t } from "./useResponsive-BY8tgM1n.js";
11
- import { u as Me } from "./useNestedProp-B33hazbH.js";
12
- import { _ as xt } from "./PackageVersion-VkaUzgmt.js";
13
- import { P as Tt } from "./PenAndPaper-DAZYA8Ew.js";
14
- import { _ as _t } from "./_plugin-vue_export-helper-CHgC5LLL.js";
15
- function Ve(a, i) {
1
+ import { computed as b, ref as f, watch as Qe, onMounted as et, onBeforeUnmount as tt, openBlock as g, createElementBlock as w, normalizeClass as ze, normalizeStyle as B, createBlock as U, createCommentVNode as O, unref as k, createSlots as ot, withCtx as x, renderSlot as $, normalizeProps as G, guardReactiveProps as X, createVNode as Pe, Fragment as Ae, renderList as Ie, createElementVNode as S, toDisplayString as Y, createTextVNode as Fe, nextTick as lt, pushScopeId as at, popScopeId as nt } from "vue";
2
+ import { u as st, c as Le, t as rt, a as ut, p as T, b as it, o as ct, e as dt, d as ae, i as ne, f as K, X as vt, l as Re, F as De, x as Me, y as ht, q as ft, r as pt } from "./index-C1GB0E49.js";
3
+ import { _ as gt } from "./Title-W7iJGPjg.js";
4
+ import { u as yt, U as mt } from "./usePrinter-y5uHyknw.js";
5
+ import { _ as bt } from "./Tooltip-Pv3Bhir5.js";
6
+ import { L as wt } from "./Legend-DrmUpnIK.js";
7
+ import kt from "./vue-ui-skeleton-CE6ibl1T.js";
8
+ import { D as Ct } from "./DataTable-rs_YrvMR.js";
9
+ import $t from "./vue-ui-accordion-DWyRC3-h.js";
10
+ import { t as xt, u as Tt } from "./useResponsive-CoxXLe23.js";
11
+ import { u as Ve } from "./useNestedProp-CNAPgW6E.js";
12
+ import { _ as _t } from "./PackageVersion-D9rYHrFZ.js";
13
+ import { P as Ot } from "./PenAndPaper-C-KjtyNA.js";
14
+ import { _ as St } from "./_plugin-vue_export-helper-CHgC5LLL.js";
15
+ function Be(a, i) {
16
16
  const s = a.length;
17
17
  if (s === 0)
18
18
  throw new Error(`Max aspect ratio cannot be computed: ${a} is an empty array`);
@@ -28,7 +28,7 @@ function Ve(a, i) {
28
28
  );
29
29
  }
30
30
  }
31
- function Be(a) {
31
+ function We(a) {
32
32
  const { xOffset: i, yOffset: s, width: n, height: u } = a;
33
33
  return {
34
34
  x0: i,
@@ -37,18 +37,18 @@ function Be(a) {
37
37
  y1: s + u
38
38
  };
39
39
  }
40
- function Ot(a, i, s) {
40
+ function Nt(a, i, s) {
41
41
  if (a.length === 0)
42
42
  return !0;
43
43
  {
44
- const n = a.concat(i), u = Ve(
44
+ const n = a.concat(i), u = Be(
45
45
  a,
46
46
  s
47
- ), c = Ve(n, s);
47
+ ), c = Be(n, s);
48
48
  return u >= c;
49
49
  }
50
50
  }
51
- function St(a) {
51
+ function zt(a) {
52
52
  const i = [], s = a.length;
53
53
  for (let n = 0; n < s; n += 1) {
54
54
  const u = a[n], c = u.length;
@@ -57,50 +57,50 @@ function St(a) {
57
57
  }
58
58
  return i;
59
59
  }
60
- function Nt(a, i) {
60
+ function Pt(a, i) {
61
61
  const s = {
62
62
  ...i,
63
63
  children: a
64
64
  };
65
- return He(s);
65
+ return Ee(s);
66
66
  }
67
- function zt(a) {
67
+ function At(a) {
68
68
  return (a.x1 - a.x0) * (a.y1 - a.y0);
69
69
  }
70
- function We(a, i) {
71
- const { width: s, height: n, xOffset: u, yOffset: c } = ce(i), d = a.length, h = a.map((f) => f.normalizedValue || 0).reduce((f, _) => f + _, 0), v = h / n, S = h / s;
72
- let w = u, N = c;
73
- const g = [];
70
+ function He(a, i) {
71
+ const { width: s, height: n, xOffset: u, yOffset: c } = ce(i), d = a.length, h = a.map((p) => p.normalizedValue || 0).reduce((p, _) => p + _, 0), v = h / n, N = h / s;
72
+ let C = u, z = c;
73
+ const y = [];
74
74
  if (s >= n) {
75
- for (let f = 0; f < d; f += 1) {
76
- const _ = a[f], z = N + _.normalizedValue / v, R = {
77
- x0: w,
78
- y0: N,
79
- x1: w + v,
80
- y1: z
81
- }, P = Object.assign({}, _, R);
82
- N = z, g.push(P);
75
+ for (let p = 0; p < d; p += 1) {
76
+ const _ = a[p], P = z + _.normalizedValue / v, R = {
77
+ x0: C,
78
+ y0: z,
79
+ x1: C + v,
80
+ y1: P
81
+ }, A = Object.assign({}, _, R);
82
+ z = P, y.push(A);
83
83
  }
84
- return g;
84
+ return y;
85
85
  } else {
86
- for (let f = 0; f < d; f += 1) {
87
- const _ = a[f], z = w + _.normalizedValue / S, R = {
88
- x0: w,
89
- y0: N,
90
- x1: z,
91
- y1: N + S
92
- }, P = Object.assign({}, _, R);
93
- w = z, g.push(P);
86
+ for (let p = 0; p < d; p += 1) {
87
+ const _ = a[p], P = C + _.normalizedValue / N, R = {
88
+ x0: C,
89
+ y0: z,
90
+ x1: P,
91
+ y1: z + N
92
+ }, A = Object.assign({}, _, R);
93
+ C = P, y.push(A);
94
94
  }
95
- return g;
95
+ return y;
96
96
  }
97
97
  }
98
- function Pt(a) {
98
+ function It(a) {
99
99
  const i = ce(a), s = i.width, n = i.height;
100
100
  return Math.min(s, n);
101
101
  }
102
- function At(a, i) {
103
- const s = a.length, n = a.map((v) => v.value ?? 0).reduce((v, S) => v + S, 0), u = i / n, c = [];
102
+ function Ft(a, i) {
103
+ const s = a.length, n = a.map((v) => v.value ?? 0).reduce((v, N) => v + N, 0), u = i / n, c = [];
104
104
  let d, h;
105
105
  for (let v = 0; v < s; v += 1)
106
106
  h = a[v], d = Object.assign({}, h, {
@@ -117,42 +117,42 @@ function ce(a) {
117
117
  height: u - s
118
118
  };
119
119
  }
120
- function It(a, i, s, n) {
120
+ function Lt(a, i, s, n) {
121
121
  let u = a, c = i, d = s, h = n;
122
122
  for (; ; ) {
123
123
  const v = u.length;
124
124
  if (v === 0) {
125
- const g = We(c, d);
126
- return h.concat(g);
125
+ const y = He(c, d);
126
+ return h.concat(y);
127
127
  }
128
- const S = Pt(d), w = u[0], N = u.slice(1, v);
129
- if (Ot(c, w, S)) {
130
- const g = c.concat(w);
131
- u = N, c = g, d = d, h = h;
128
+ const N = It(d), C = u[0], z = u.slice(1, v);
129
+ if (Nt(c, C, N)) {
130
+ const y = c.concat(C);
131
+ u = z, c = y, d = d, h = h;
132
132
  } else {
133
- const g = c.length;
134
- let f = 0;
135
- for (let P = 0; P < g; P += 1)
136
- f += c[P].normalizedValue;
137
- const _ = Ft(d, f), z = We(c, d), R = h.concat(z);
133
+ const y = c.length;
134
+ let p = 0;
135
+ for (let A = 0; A < y; A += 1)
136
+ p += c[A].normalizedValue;
137
+ const _ = Rt(d, p), P = He(c, d), R = h.concat(P);
138
138
  u = u, c = [], d = _, h = R;
139
139
  }
140
140
  }
141
141
  }
142
- function He(a) {
142
+ function Ee(a) {
143
143
  if (typeof a.children > "u" || !a.children.length)
144
144
  return [a];
145
145
  {
146
- const i = At(
146
+ const i = Ft(
147
147
  a.children,
148
- zt(a)
149
- ), s = It(i, [], a, []), n = s.length, u = [];
148
+ At(a)
149
+ ), s = Lt(i, [], a, []), n = s.length, u = [];
150
150
  for (let d = 0; d < n; d += 1)
151
- u.push(He(s[d]));
152
- return St(u);
151
+ u.push(Ee(s[d]));
152
+ return zt(u);
153
153
  }
154
154
  }
155
- function Ft(a, i) {
155
+ function Rt(a, i) {
156
156
  const { width: s, height: n, xOffset: u, yOffset: c } = ce(a);
157
157
  if (s >= n) {
158
158
  const d = i / n, h = s - d, v = {
@@ -161,7 +161,7 @@ function Ft(a, i) {
161
161
  width: h,
162
162
  height: n
163
163
  };
164
- return Be(v);
164
+ return We(v);
165
165
  } else {
166
166
  const d = i / s, h = n - d, v = {
167
167
  xOffset: u,
@@ -169,16 +169,16 @@ function Ft(a, i) {
169
169
  width: s,
170
170
  height: h
171
171
  };
172
- return Be(v);
172
+ return We(v);
173
173
  }
174
174
  }
175
- const Lt = (a) => (ot("data-v-b9bc8597"), a = a(), lt(), a), Rt = ["id"], Dt = ["xmlns", "viewBox"], Mt = { key: 0 }, Vt = ["id"], Bt = ["stop-color"], Wt = ["stop-color"], Ht = ["x", "y", "height", "width", "fill", "rx", "stroke", "stroke-width", "onClick", "onMouseenter"], Et = ["x", "y", "height", "width"], Ut = {
175
+ const Dt = (a) => (at("data-v-04106534"), a = a(), nt(), a), Mt = ["id"], Vt = ["xmlns", "viewBox"], Bt = { key: 0 }, Wt = ["id"], Ht = ["stop-color"], Et = ["stop-color"], Ut = ["x", "y", "height", "width", "fill", "rx", "stroke", "stroke-width", "onClick", "onMouseenter"], Gt = ["x", "y", "height", "width"], Xt = {
176
176
  style: { width: "100%", height: "100%" },
177
177
  class: "vue-ui-treemap-cell"
178
- }, Gt = /* @__PURE__ */ Lt(() => /* @__PURE__ */ O("br", null, null, -1)), Xt = {
179
- key: 4,
178
+ }, qt = /* @__PURE__ */ Dt(() => /* @__PURE__ */ S("br", null, null, -1)), jt = {
179
+ key: 5,
180
180
  class: "vue-data-ui-watermark"
181
- }, qt = ["onClick"], jt = { key: 0 }, Yt = { key: 1 }, Zt = ["innerHTML"], Jt = {
181
+ }, Yt = ["onClick"], Zt = { key: 0 }, Jt = { key: 1 }, Kt = ["innerHTML"], Qt = {
182
182
  __name: "vue-ui-treemap",
183
183
  props: {
184
184
  config: {
@@ -196,36 +196,36 @@ const Lt = (a) => (ot("data-v-b9bc8597"), a = a(), lt(), a), Rt = ["id"], Dt = [
196
196
  },
197
197
  emits: ["selectLegend", "selectDatapoint"],
198
198
  setup(a, { expose: i, emit: s }) {
199
- const n = a, { vue_ui_treemap: u } = at(), c = k(() => !!n.dataset && n.dataset.length), d = k(() => /^((?!chrome|android).)*safari/i.test(navigator.userAgent)), h = p(Fe()), v = p(!1), S = p(""), w = p(!1), N = p(0), g = p([]), f = p(null), _ = p(null), z = p(null), R = p(null), P = p(0), de = p(0), ve = p(0), e = k({
200
- get: () => he(),
199
+ const n = a, { vue_ui_treemap: u } = st(), c = b(() => !!n.dataset && n.dataset.length), d = b(() => /^((?!chrome|android).)*safari/i.test(navigator.userAgent)), h = f(Le()), v = f(!1), N = f(""), C = f(!1), z = f(0), y = f([]), p = f(null), _ = f(null), P = f(null), R = f(null), A = f(null), de = f(0), ve = f(0), he = f(0), e = b({
200
+ get: () => fe(),
201
201
  set: (t) => t
202
202
  });
203
- function he() {
204
- const t = Me({
203
+ function fe() {
204
+ const t = Ve({
205
205
  userConfig: n.config,
206
206
  defaultConfig: u
207
207
  });
208
208
  return t.theme ? {
209
- ...Me({
210
- userConfig: nt.vue_ui_treemap[t.theme] || n.config,
209
+ ...Ve({
210
+ userConfig: rt.vue_ui_treemap[t.theme] || n.config,
211
211
  defaultConfig: t
212
212
  }),
213
- customPalette: st[t.theme] || T
213
+ customPalette: ut[t.theme] || T
214
214
  } : t;
215
215
  }
216
- Je(() => n.config, (t) => {
217
- e.value = he(), P.value += 1, de.value += 1, ve.value += 1;
216
+ Qe(() => n.config, (t) => {
217
+ e.value = fe(), de.value += 1, ve.value += 1, he.value += 1;
218
218
  }, { deep: !0 });
219
- const { isPrinting: fe, isImaging: pe, generatePdf: ge, generateImage: ye } = pt({
219
+ const { isPrinting: pe, isImaging: ge, generatePdf: ye, generateImage: me } = yt({
220
220
  elementId: `treemap_${h.value}`,
221
221
  fileName: e.value.style.chart.title.text || "vue-ui-treemap"
222
- }), Q = k(() => rt(e.value.customPalette)), D = p({
222
+ }), Ue = b(() => e.value.userOptions.show && !e.value.style.chart.title.text), Q = b(() => it(e.value.customPalette)), D = f({
223
223
  showTable: e.value.table.show,
224
224
  showTooltip: e.value.style.chart.tooltip.show
225
- }), M = p({
225
+ }), M = f({
226
226
  height: e.value.style.chart.height,
227
227
  width: e.value.style.chart.width
228
- }), W = k(() => ({
228
+ }), W = b(() => ({
229
229
  bottom: M.value.height - e.value.style.chart.padding.bottom,
230
230
  height: M.value.height - e.value.style.chart.padding.top - e.value.style.chart.padding.bottom,
231
231
  left: e.value.style.chart.padding.left,
@@ -235,41 +235,42 @@ const Lt = (a) => (ot("data-v-b9bc8597"), a = a(), lt(), a), Rt = ["id"], Dt = [
235
235
  vbWidth: M.value.width,
236
236
  width: M.value.width - e.value.style.chart.padding.left - e.value.style.chart.padding.right
237
237
  }));
238
- function me(t) {
238
+ function be(t) {
239
239
  t.forEach((l, o) => {
240
- l.id = Fe(), l.color = ae(l.color) || Q.value[o] || T[o] || T[o % T.length], l.children && (l.children.forEach((r) => {
240
+ l.id = Le(), l.color = ae(l.color) || Q.value[o] || T[o] || T[o % T.length], l.children && (l.children.forEach((r) => {
241
241
  r.parentId = l.id, r.color = l.color;
242
- }), me(l.children));
242
+ }), be(l.children));
243
243
  });
244
244
  }
245
- const H = p(n.dataset), ee = p(null);
246
- Ke(() => {
247
- Ee();
245
+ const H = f(n.dataset), ee = f(null);
246
+ et(() => {
247
+ Ge();
248
248
  });
249
- function Ee() {
250
- if (ut(n.dataset) && it({
249
+ function Ge() {
250
+ if (ct(n.dataset) && dt({
251
251
  componentName: "VueUiTreemap",
252
252
  type: "dataset"
253
- }), me(H.value), e.value.responsive) {
254
- const t = Ct(() => {
255
- const { width: l, height: o } = $t({
256
- chart: f.value,
253
+ }), be(H.value), e.value.responsive) {
254
+ const t = xt(() => {
255
+ const { width: l, height: o } = Tt({
256
+ chart: p.value,
257
257
  title: e.value.style.chart.title.text ? _.value : null,
258
- legend: e.value.style.chart.legend.show ? z.value : null,
259
- source: R.value
258
+ legend: e.value.style.chart.legend.show ? P.value : null,
259
+ source: R.value,
260
+ noTitle: A.value
260
261
  });
261
262
  M.value.width = l, M.value.height = o;
262
263
  });
263
- ee.value = new ResizeObserver(t), ee.value.observe(f.value.parentNode);
264
+ ee.value = new ResizeObserver(t), ee.value.observe(p.value.parentNode);
264
265
  }
265
266
  }
266
- Qe(() => {
267
+ tt(() => {
267
268
  ee.value && ee.value.disconnect();
268
269
  });
269
- const se = p(H.value), Z = k(() => se.value.map((t, l) => ({
270
+ const se = f(H.value), Z = b(() => se.value.map((t, l) => ({
270
271
  ...t,
271
272
  color: ae(t.color) || Q.value[l] || T[l] || T[l % T.length]
272
- })).filter((t) => !g.value.includes(t.id))), q = k(() => H.value.filter((t) => !g.value.includes(t.id)).map((t) => t.value || 0).reduce((t, l) => t + l, 0)), be = k({
273
+ })).filter((t) => !y.value.includes(t.id))), q = b(() => H.value.filter((t) => !y.value.includes(t.id)).map((t) => t.value || 0).reduce((t, l) => t + l, 0)), we = b({
273
274
  get() {
274
275
  let t = [...Z.value];
275
276
  return e.value.style.chart.layout.sorted && (t = [...Z.value].sort((l, o) => o.value - l.value)), t.map((l) => ({
@@ -280,57 +281,57 @@ const Lt = (a) => (ot("data-v-b9bc8597"), a = a(), lt(), a), Rt = ["id"], Dt = [
280
281
  return t;
281
282
  }
282
283
  });
283
- function we(t, l) {
284
+ function ke(t, l) {
284
285
  return t.value / l;
285
286
  }
286
- function Ue(t, l, o) {
287
- const r = e.value.style.chart.layout.rects.colorRatio - we(l, o);
288
- return Le(t, r < 0 ? 0 : r);
287
+ function Xe(t, l, o) {
288
+ const r = e.value.style.chart.layout.rects.colorRatio - ke(l, o);
289
+ return Re(t, r < 0 ? 0 : r);
289
290
  }
290
- function ke(t, l, o, r) {
291
+ function Ce(t, l, o, r) {
291
292
  return t.map((m, V) => {
292
- const le = Ue(ae(l) || Q.value[V] || T[V] || T[V % T.length], m, r), Ze = we(m, r);
293
+ const le = Xe(ae(l) || Q.value[V] || T[V] || T[V % T.length], m, r), Ke = ke(m, r);
293
294
  return {
294
295
  ...m,
295
296
  color: le,
296
- proportion: Ze,
297
+ proportion: Ke,
297
298
  parentName: o,
298
- children: m.children ? ke(m.children, le, m.name, r) : void 0
299
+ children: m.children ? Ce(m.children, le, m.name, r) : void 0
299
300
  };
300
301
  });
301
302
  }
302
- const J = k(() => Nt(
303
- be.value.map((t, l) => {
303
+ const J = b(() => Pt(
304
+ we.value.map((t, l) => {
304
305
  const o = t.children ? t.children.reduce((r, m) => r + m.value, 0) : t.value;
305
306
  return {
306
307
  value: t.value,
307
308
  id: t.id,
308
- children: t.children ? ke(t.children.sort((r, m) => m.value - r.value), t.color, t.name, o) : void 0,
309
+ children: t.children ? Ce(t.children.sort((r, m) => m.value - r.value), t.color, t.name, o) : void 0,
309
310
  color: t.color,
310
311
  name: t.name
311
312
  };
312
313
  }),
313
314
  { x0: W.value.left * 2, y0: W.value.top, x1: W.value.width, y1: W.value.height }
314
315
  ));
315
- function Ce({ y0: t, y1: l }) {
316
+ function $e({ y0: t, y1: l }) {
316
317
  return l - t <= 0 ? 1e-4 : l - t;
317
318
  }
318
- function $e({ x0: t, x1: l }) {
319
+ function xe({ x0: t, x1: l }) {
319
320
  return l - t <= 0 ? 1e-4 : l - t;
320
321
  }
321
322
  function E(t) {
322
323
  const l = e.value.style.chart.layout.labels.fontSize * (t.proportion * 2 > 1 ? 1 : t.proportion * 2);
323
324
  return l < e.value.style.chart.layout.labels.minFontSize ? e.value.style.chart.layout.labels.minFontSize : l;
324
325
  }
325
- function Ge(t) {
326
- w.value = t, N.value += 1;
326
+ function qe(t) {
327
+ C.value = t, z.value += 1;
327
328
  }
328
- const j = k(() => ({
329
+ const j = b(() => ({
329
330
  startX: 0,
330
331
  startY: 0,
331
332
  width: W.value.vbWidth,
332
333
  height: W.value.vbHeight
333
- })), A = p(!1);
334
+ })), I = f(!1);
334
335
  function re(t, l = H.value) {
335
336
  for (const o of l) {
336
337
  if (o.id === t)
@@ -343,25 +344,25 @@ const Lt = (a) => (ot("data-v-b9bc8597"), a = a(), lt(), a), Rt = ["id"], Dt = [
343
344
  }
344
345
  return null;
345
346
  }
346
- function Xe(t) {
347
- if (A.value)
347
+ function je(t) {
348
+ if (I.value)
348
349
  s("selectDatapoint", void 0), se.value = H.value;
349
350
  else {
350
351
  if (s("selectDatapoint", t), !re(t.parentId))
351
352
  return;
352
353
  se.value = [re(t.parentId)];
353
354
  }
354
- A.value = !A.value;
355
+ I.value = !I.value;
355
356
  }
356
- const I = p(null), xe = k(() => H.value.map((t, l) => ({
357
+ const F = f(null), Te = b(() => H.value.map((t, l) => ({
357
358
  ...t,
358
359
  color: ae(t.color) || Q.value[l] || T[l] || T[l % T.length],
359
360
  shape: "square"
360
361
  })).sort((t, l) => l.value - t.value).map((t, l) => ({
361
362
  ...t,
362
363
  proportion: t.value / H.value.map((o) => o.value).reduce((o, r) => o + r, 0),
363
- opacity: g.value.includes(t.id) ? 0.5 : 1
364
- }))), qe = k(() => ({
364
+ opacity: y.value.includes(t.id) ? 0.5 : 1
365
+ }))), Ye = b(() => ({
365
366
  cy: "treemap-div-legend",
366
367
  backgroundColor: e.value.style.chart.legend.backgroundColor,
367
368
  color: e.value.style.chart.legend.color,
@@ -369,20 +370,20 @@ const Lt = (a) => (ot("data-v-b9bc8597"), a = a(), lt(), a), Rt = ["id"], Dt = [
369
370
  paddingBottom: 12,
370
371
  fontWeight: e.value.style.chart.legend.bold ? "bold" : ""
371
372
  }));
372
- function Te(t) {
373
- A.value = !1, I.value = null, g.value.includes(t.id) ? g.value = g.value.filter((l) => l !== t.id) : g.value.length < n.dataset.length - 1 && g.value.push(t.id), s("selectLegend", be.value);
373
+ function _e(t) {
374
+ I.value = !1, F.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", we.value);
374
375
  }
375
- const ue = p(null);
376
- function je({ datapoint: t, seriesIndex: l }) {
377
- I.value = t, ue.value = { datapoint: t, seriesIndex: l, config: e.value, series: Z.value };
376
+ const ue = f(null);
377
+ function Ze({ datapoint: t, seriesIndex: l }) {
378
+ F.value = t, ue.value = { datapoint: t, seriesIndex: l, config: e.value, series: Z.value };
378
379
  const o = e.value.style.chart.tooltip.customFormat;
379
- if (De(o) && dt(() => o({
380
+ if (Me(o) && ht(() => o({
380
381
  seriesIndex: l,
381
382
  datapoint: t,
382
383
  series: Z.value,
383
384
  config: e.value
384
385
  })))
385
- S.value = o({
386
+ N.value = o({
386
387
  seriesIndex: l,
387
388
  datapoint: t,
388
389
  series: Z.value,
@@ -400,26 +401,26 @@ const Lt = (a) => (ot("data-v-b9bc8597"), a = a(), lt(), a), Rt = ["id"], Dt = [
400
401
  r: e.value.style.chart.tooltip.roundingValue
401
402
  }),
402
403
  { datapoint: t, seriesIndex: l }
403
- )}</b>`, S.value = `<div>${r}</div>`;
404
+ )}</b>`, N.value = `<div>${r}</div>`;
404
405
  }
405
406
  v.value = !0;
406
407
  }
407
- const L = k(() => {
408
+ const L = b(() => {
408
409
  const t = J.value.map((o) => ({
409
410
  name: o.name,
410
411
  color: o.color
411
412
  })), l = J.value.map((o) => o.value);
412
413
  return { head: t, body: l };
413
414
  });
414
- function _e() {
415
- tt(() => {
415
+ function Oe() {
416
+ lt(() => {
416
417
  const t = L.value.head.map((r, m) => [[
417
418
  r.name
418
- ], [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 = vt(l);
419
- ht({ csvContent: o, title: e.value.style.chart.title.text || "vue-ui-treemap" });
419
+ ], [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 = ft(l);
420
+ pt({ csvContent: o, title: e.value.style.chart.title.text || "vue-ui-treemap" });
420
421
  });
421
422
  }
422
- const te = k(() => {
423
+ const te = b(() => {
423
424
  const t = [
424
425
  e.value.table.columnNames.series,
425
426
  e.value.table.columnNames.value,
@@ -471,50 +472,57 @@ const Lt = (a) => (ot("data-v-b9bc8597"), a = a(), lt(), a), Rt = ["id"], Dt = [
471
472
  config: o
472
473
  };
473
474
  });
474
- function Ye() {
475
+ function Je() {
475
476
  return J.value;
476
477
  }
477
- function Oe() {
478
+ function Se() {
478
479
  D.value.showTable = !D.value.showTable;
479
480
  }
480
- function Se() {
481
+ function Ne() {
481
482
  D.value.showTooltip = !D.value.showTooltip;
482
483
  }
483
- const oe = p(!1);
484
+ const oe = f(!1);
484
485
  function ie() {
485
486
  oe.value = !oe.value;
486
487
  }
487
488
  return i({
488
- getData: Ye,
489
- generateCsv: _e,
490
- generateImage: ye,
491
- generatePdf: ge,
492
- toggleTable: Oe,
493
- toggleTooltip: Se,
489
+ getData: Je,
490
+ generateCsv: Oe,
491
+ generateImage: me,
492
+ generatePdf: ye,
493
+ toggleTable: Se,
494
+ toggleTooltip: Ne,
494
495
  toggleAnnotator: ie
495
- }), (t, l) => (y(), C("div", {
496
+ }), (t, l) => (g(), w("div", {
496
497
  ref_key: "treemapChart",
497
- ref: f,
498
- class: Ne(`vue-ui-treemap ${w.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.value.useCssAnimation ? "" : "vue-ui-dna"}`),
499
- style: B(`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}`),
498
+ ref: p,
499
+ class: ze(`vue-ui-treemap ${C.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.value.useCssAnimation ? "" : "vue-ui-dna"}`),
500
+ style: B(`font-family:${e.value.style.fontFamily};width:100%; ${e.value.responsive ? "height: 100%;" : ""} text-align:center;background:${e.value.style.chart.backgroundColor}`),
500
501
  id: `treemap_${h.value}`
501
502
  }, [
502
- e.value.userOptions.buttons.annotator ? (y(), U(Tt, {
503
+ e.value.userOptions.buttons.annotator ? (g(), U(Ot, {
503
504
  key: 0,
504
- parent: f.value,
505
+ parent: p.value,
505
506
  backgroundColor: e.value.style.chart.backgroundColor,
506
507
  color: e.value.style.chart.color,
507
508
  active: oe.value,
508
509
  onClose: ie
509
- }, null, 8, ["parent", "backgroundColor", "color", "active"])) : F("", !0),
510
- e.value.style.chart.title.text ? (y(), C("div", {
510
+ }, null, 8, ["parent", "backgroundColor", "color", "active"])) : O("", !0),
511
+ Ue.value ? (g(), w("div", {
511
512
  key: 1,
513
+ ref_key: "noTitle",
514
+ ref: A,
515
+ class: "vue-data-ui-no-title-space",
516
+ style: "height:36px; width: 100%;background:transparent"
517
+ }, null, 512)) : O("", !0),
518
+ e.value.style.chart.title.text ? (g(), w("div", {
519
+ key: 2,
512
520
  ref_key: "chartTitle",
513
521
  ref: _,
514
522
  style: B(`width:100%;background:${e.value.style.chart.backgroundColor};padding-bottom:6px`)
515
523
  }, [
516
- (y(), U(ft, {
517
- key: `title_${P.value}`,
524
+ (g(), U(gt, {
525
+ key: `title_${de.value}`,
518
526
  config: {
519
527
  title: {
520
528
  cy: "treemap-div-title",
@@ -526,14 +534,14 @@ const Lt = (a) => (ot("data-v-b9bc8597"), a = a(), lt(), a), Rt = ["id"], Dt = [
526
534
  }
527
535
  }
528
536
  }, null, 8, ["config"]))
529
- ], 4)) : F("", !0),
530
- e.value.userOptions.show && c.value ? (y(), U(gt, {
537
+ ], 4)) : O("", !0),
538
+ e.value.userOptions.show && c.value ? (g(), U(mt, {
531
539
  ref: "details",
532
- key: `user_option_${N.value}`,
540
+ key: `user_option_${z.value}`,
533
541
  backgroundColor: e.value.style.chart.backgroundColor,
534
542
  color: e.value.style.chart.color,
535
- isPrinting: b(fe),
536
- isImaging: b(pe),
543
+ isPrinting: k(pe),
544
+ isImaging: k(ge),
537
545
  uid: h.value,
538
546
  hasTooltip: e.value.userOptions.buttons.tooltip && e.value.style.chart.tooltip.show,
539
547
  hasPdf: e.value.userOptions.buttons.pdf,
@@ -541,21 +549,21 @@ const Lt = (a) => (ot("data-v-b9bc8597"), a = a(), lt(), a), Rt = ["id"], Dt = [
541
549
  hasImg: e.value.userOptions.buttons.img,
542
550
  hasTable: e.value.userOptions.buttons.table,
543
551
  hasFullscreen: e.value.userOptions.buttons.fullscreen,
544
- isFullscreen: w.value,
552
+ isFullscreen: C.value,
545
553
  isTooltip: D.value.showTooltip,
546
554
  titles: { ...e.value.userOptions.buttonTitles },
547
- chartElement: f.value,
555
+ chartElement: p.value,
548
556
  position: e.value.userOptions.position,
549
557
  hasAnnotator: e.value.userOptions.buttons.annotator,
550
558
  isAnnotation: oe.value,
551
- onToggleFullscreen: Ge,
552
- onGeneratePdf: b(ge),
553
- onGenerateCsv: _e,
554
- onGenerateImage: b(ye),
555
- onToggleTable: Oe,
556
- onToggleTooltip: Se,
559
+ onToggleFullscreen: qe,
560
+ onGeneratePdf: k(ye),
561
+ onGenerateCsv: Oe,
562
+ onGenerateImage: k(me),
563
+ onToggleTable: Se,
564
+ onToggleTooltip: Ne,
557
565
  onToggleAnnotator: ie
558
- }, et({ _: 2 }, [
566
+ }, ot({ _: 2 }, [
559
567
  t.$slots.optionTooltip ? {
560
568
  name: "optionTooltip",
561
569
  fn: x(() => [
@@ -605,76 +613,76 @@ const Lt = (a) => (ot("data-v-b9bc8597"), a = a(), lt(), a), Rt = ["id"], Dt = [
605
613
  ]),
606
614
  key: "6"
607
615
  } : void 0
608
- ]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasTooltip", "hasPdf", "hasXls", "hasImg", "hasTable", "hasFullscreen", "isFullscreen", "isTooltip", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "onGeneratePdf", "onGenerateImage"])) : F("", !0),
609
- c.value ? (y(), C("svg", {
610
- key: 3,
611
- xmlns: b(ct),
612
- class: Ne({ "vue-data-ui-fullscreen--on": w.value, "vue-data-ui-fulscreen--off": !w.value, "vue-data-ui-zoom-plus": !A.value, "vue-data-ui-zoom-minus": A.value }),
616
+ ]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasTooltip", "hasPdf", "hasXls", "hasImg", "hasTable", "hasFullscreen", "isFullscreen", "isTooltip", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "onGeneratePdf", "onGenerateImage"])) : O("", !0),
617
+ c.value ? (g(), w("svg", {
618
+ key: 4,
619
+ xmlns: k(vt),
620
+ class: ze({ "vue-data-ui-fullscreen--on": C.value, "vue-data-ui-fulscreen--off": !C.value, "vue-data-ui-zoom-plus": !I.value, "vue-data-ui-zoom-minus": I.value }),
613
621
  viewBox: `${j.value.startX} ${j.value.startY} ${j.value.width <= 0 ? 10 : j.value.width} ${j.value.height <= 0 ? 10 : j.value.height}`,
614
622
  style: B(`max-width:100%; overflow: hidden; background:transparent;color:${e.value.style.chart.color}`)
615
623
  }, [
616
- ze(xt),
617
- (y(!0), C(Pe, null, Ae(J.value, (o, r) => (y(), C("g", null, [
618
- e.value.style.chart.layout.rects.gradient.show ? (y(), C("defs", Mt, [
619
- O("radialGradient", {
624
+ Pe(_t),
625
+ (g(!0), w(Ae, null, Ie(J.value, (o, r) => (g(), w("g", null, [
626
+ e.value.style.chart.layout.rects.gradient.show ? (g(), w("defs", Bt, [
627
+ S("radialGradient", {
620
628
  id: `tgrad_${o.id}`,
621
629
  gradientTransform: "translate(-1, -1.000001) scale(2, 2)"
622
630
  }, [
623
- O("stop", {
631
+ S("stop", {
624
632
  offset: "18%",
625
633
  "stop-color": o.color
626
- }, null, 8, Bt),
627
- O("stop", {
634
+ }, null, 8, Ht),
635
+ S("stop", {
628
636
  offset: "100%",
629
- "stop-color": b(Le)(o.color, e.value.style.chart.layout.rects.gradient.intensity / 100)
630
- }, null, 8, Wt)
631
- ], 8, Vt)
632
- ])) : F("", !0)
637
+ "stop-color": k(Re)(o.color, e.value.style.chart.layout.rects.gradient.intensity / 100)
638
+ }, null, 8, Et)
639
+ ], 8, Wt)
640
+ ])) : O("", !0)
633
641
  ]))), 256)),
634
- (y(!0), C(Pe, null, Ae(J.value, (o, r) => (y(), C("g", null, [
635
- O("rect", {
642
+ (g(!0), w(Ae, null, Ie(J.value, (o, r) => (g(), w("g", null, [
643
+ S("rect", {
636
644
  x: o.x0,
637
645
  y: o.y0,
638
- height: Ce(o),
639
- width: $e(o),
646
+ height: $e(o),
647
+ width: xe(o),
640
648
  fill: d.value ? o.color : e.value.style.chart.layout.rects.gradient.show ? `url(#tgrad_${o.id})` : o.color,
641
649
  rx: e.value.style.chart.layout.rects.borderRadius,
642
- stroke: I.value && I.value.id === o.id ? e.value.style.chart.layout.rects.selected.stroke : e.value.style.chart.layout.rects.stroke,
643
- "stroke-width": I.value && I.value.id === o.id ? e.value.style.chart.layout.rects.selected.strokeWidth : e.value.style.chart.layout.rects.strokeWidth,
644
- onClick: (m) => Xe(o),
645
- onMouseenter: () => je({
650
+ stroke: F.value && F.value.id === o.id ? e.value.style.chart.layout.rects.selected.stroke : e.value.style.chart.layout.rects.stroke,
651
+ "stroke-width": F.value && F.value.id === o.id ? e.value.style.chart.layout.rects.selected.strokeWidth : e.value.style.chart.layout.rects.strokeWidth,
652
+ onClick: (m) => je(o),
653
+ onMouseenter: () => Ze({
646
654
  datapoint: o,
647
655
  seriesIndex: r
648
656
  }),
649
657
  onMouseleave: l[0] || (l[0] = (m) => {
650
- I.value = null, v.value = !1;
658
+ F.value = null, v.value = !1;
651
659
  }),
652
- style: B(`opacity:${I.value ? I.value.id === o.id ? 1 : e.value.style.chart.layout.rects.selected.unselectedOpacity : 1}`),
660
+ style: B(`opacity:${F.value ? F.value.id === o.id ? 1 : e.value.style.chart.layout.rects.selected.unselectedOpacity : 1}`),
653
661
  class: "vue-ui-treemap-rect"
654
- }, null, 44, Ht),
655
- (y(), C("foreignObject", {
662
+ }, null, 44, Ut),
663
+ (g(), w("foreignObject", {
656
664
  x: o.x0,
657
665
  y: o.y0,
658
- height: Ce(o),
659
- width: $e(o),
666
+ height: $e(o),
667
+ width: xe(o),
660
668
  class: "vue-ui-treemap-cell-foreignObject"
661
669
  }, [
662
- O("div", Ut, [
663
- e.value.style.chart.layout.labels.showDefaultLabels && (o.proportion > e.value.style.chart.layout.labels.hideUnderProportion || A.value) ? (y(), C("div", {
670
+ S("div", Xt, [
671
+ e.value.style.chart.layout.labels.showDefaultLabels && (o.proportion > e.value.style.chart.layout.labels.hideUnderProportion || I.value) ? (g(), w("div", {
664
672
  key: 0,
665
673
  class: "vue-ui-treemap-cell-default",
666
- style: B(`width:calc(100% - ${E(o) / 1.5}px);text-align:left;line-height:${E(o) < 14 ? 14 : E(o)}px;padding:${E(o) / 3}px; color:${b(Re)(o.color)}`)
674
+ style: B(`width:calc(100% - ${E(o) / 1.5}px);text-align:left;line-height:${E(o) < 14 ? 14 : E(o)}px;padding:${E(o) / 3}px; color:${k(De)(o.color)}`)
667
675
  }, [
668
- O("span", {
676
+ S("span", {
669
677
  style: B(`width:100%;font-size:${E(o)}px;`)
670
678
  }, Y(o.name), 5),
671
- Gt,
672
- O("span", {
679
+ qt,
680
+ S("span", {
673
681
  style: B(`width:100%;font-size:${E(o)}px;`)
674
- }, Y(b(ne)(
682
+ }, Y(k(ne)(
675
683
  e.value.style.chart.layout.labels.formatter,
676
684
  o.value,
677
- b(K)({
685
+ k(K)({
678
686
  p: e.value.style.chart.layout.labels.prefix,
679
687
  v: o.value,
680
688
  s: e.value.style.chart.layout.labels.suffix,
@@ -682,24 +690,24 @@ const Lt = (a) => (ot("data-v-b9bc8597"), a = a(), lt(), a), Rt = ["id"], Dt = [
682
690
  }),
683
691
  { datapoint: o }
684
692
  )), 5)
685
- ], 4)) : F("", !0),
693
+ ], 4)) : O("", !0),
686
694
  $(t.$slots, "rect", G(X({
687
695
  rect: o,
688
- shouldShow: o.proportion > e.value.style.chart.layout.labels.hideUnderProportion || A.value,
696
+ shouldShow: o.proportion > e.value.style.chart.layout.labels.hideUnderProportion || I.value,
689
697
  fontSize: E(o),
690
- isZoom: A.value,
691
- textColor: b(Re)(o.color)
698
+ isZoom: I.value,
699
+ textColor: k(De)(o.color)
692
700
  })), void 0, !0)
693
701
  ])
694
- ], 8, Et))
702
+ ], 8, Gt))
695
703
  ]))), 256)),
696
- $(t.$slots, "svg", G(X({ svg: W.value, isZoom: A.value, rect: I.value, config: e.value })), void 0, !0)
697
- ], 14, Dt)) : F("", !0),
698
- t.$slots.watermark ? (y(), C("div", Xt, [
699
- $(t.$slots, "watermark", G(X({ isPrinting: b(fe) || b(pe) })), void 0, !0)
700
- ])) : F("", !0),
701
- c.value ? F("", !0) : (y(), U(bt, {
702
- key: 5,
704
+ $(t.$slots, "svg", G(X({ svg: W.value, isZoom: I.value, rect: F.value, config: e.value })), void 0, !0)
705
+ ], 14, Vt)) : O("", !0),
706
+ t.$slots.watermark ? (g(), w("div", jt, [
707
+ $(t.$slots, "watermark", G(X({ isPrinting: k(pe) || k(ge) })), void 0, !0)
708
+ ])) : O("", !0),
709
+ c.value ? O("", !0) : (g(), U(kt, {
710
+ key: 6,
703
711
  config: {
704
712
  type: "treemap",
705
713
  style: {
@@ -710,26 +718,26 @@ const Lt = (a) => (ot("data-v-b9bc8597"), a = a(), lt(), a), Rt = ["id"], Dt = [
710
718
  }
711
719
  }
712
720
  }, null, 8, ["config"])),
713
- O("div", {
721
+ S("div", {
714
722
  ref_key: "chartLegend",
715
- ref: z
723
+ ref: P
716
724
  }, [
717
- e.value.style.chart.legend.show ? (y(), U(mt, {
718
- key: `legend_${ve.value}`,
719
- legendSet: xe.value,
720
- config: qe.value,
725
+ e.value.style.chart.legend.show ? (g(), U(wt, {
726
+ key: `legend_${he.value}`,
727
+ legendSet: Te.value,
728
+ config: Ye.value,
721
729
  id: `treemap_legend_${h.value}`,
722
- onClickMarker: l[1] || (l[1] = ({ legend: o }) => Te(o))
730
+ onClickMarker: l[1] || (l[1] = ({ legend: o }) => _e(o))
723
731
  }, {
724
732
  item: x(({ legend: o, index: r }) => [
725
- O("div", {
726
- onClick: (m) => Te(o),
727
- style: B(`opacity:${g.value.includes(o.id) ? 0.5 : 1}`)
733
+ S("div", {
734
+ onClick: (m) => _e(o),
735
+ style: B(`opacity:${y.value.includes(o.id) ? 0.5 : 1}`)
728
736
  }, [
729
- Ie(Y(o.name) + ": " + Y(b(ne)(
737
+ Fe(Y(o.name) + ": " + Y(k(ne)(
730
738
  e.value.style.chart.layout.labels.formatter,
731
739
  o.value,
732
- b(K)({
740
+ k(K)({
733
741
  p: e.value.style.chart.layout.labels.prefix,
734
742
  v: o.value,
735
743
  s: e.value.style.chart.layout.labels.suffix,
@@ -737,24 +745,24 @@ const Lt = (a) => (ot("data-v-b9bc8597"), a = a(), lt(), a), Rt = ["id"], Dt = [
737
745
  }),
738
746
  { datapoint: o }
739
747
  )) + " ", 1),
740
- g.value.includes(o.id) ? (y(), C("span", Yt, " ( - % ) ")) : (y(), C("span", jt, " (" + Y(isNaN(o.value / q.value) ? "-" : (o.value / q.value * 100).toFixed(e.value.style.chart.legend.roundingPercentage)) + "%) ", 1))
741
- ], 12, qt)
748
+ y.value.includes(o.id) ? (g(), w("span", Jt, " ( - % ) ")) : (g(), w("span", Zt, " (" + Y(isNaN(o.value / q.value) ? "-" : (o.value / q.value * 100).toFixed(e.value.style.chart.legend.roundingPercentage)) + "%) ", 1))
749
+ ], 12, Yt)
742
750
  ]),
743
751
  _: 1
744
752
  }, 8, ["legendSet", "config", "id"])) : $(t.$slots, "legend", {
745
753
  key: 1,
746
- legend: xe.value
754
+ legend: Te.value
747
755
  }, void 0, !0)
748
756
  ], 512),
749
- t.$slots.source ? (y(), C("div", {
750
- key: 6,
757
+ t.$slots.source ? (g(), w("div", {
758
+ key: 7,
751
759
  ref_key: "source",
752
760
  ref: R,
753
761
  dir: "auto"
754
762
  }, [
755
763
  $(t.$slots, "source", {}, void 0, !0)
756
- ], 512)) : F("", !0),
757
- ze(yt, {
764
+ ], 512)) : O("", !0),
765
+ Pe(bt, {
758
766
  show: D.value.showTooltip && v.value,
759
767
  backgroundColor: e.value.style.chart.tooltip.backgroundColor,
760
768
  color: e.value.style.chart.tooltip.color,
@@ -765,9 +773,9 @@ const Lt = (a) => (ot("data-v-b9bc8597"), a = a(), lt(), a), Rt = ["id"], Dt = [
765
773
  backgroundOpacity: e.value.style.chart.tooltip.backgroundOpacity,
766
774
  position: e.value.style.chart.tooltip.position,
767
775
  offsetY: e.value.style.chart.tooltip.offsetY,
768
- parent: f.value,
769
- content: S.value,
770
- isCustom: b(De)(e.value.style.chart.tooltip.customFormat)
776
+ parent: p.value,
777
+ content: N.value,
778
+ isCustom: k(Me)(e.value.style.chart.tooltip.customFormat)
771
779
  }, {
772
780
  "tooltip-before": x(() => [
773
781
  $(t.$slots, "tooltip-before", G(X({ ...ue.value })), void 0, !0)
@@ -777,8 +785,8 @@ const Lt = (a) => (ot("data-v-b9bc8597"), a = a(), lt(), a), Rt = ["id"], Dt = [
777
785
  ]),
778
786
  _: 3
779
787
  }, 8, ["show", "backgroundColor", "color", "fontSize", "borderRadius", "borderColor", "borderWidth", "backgroundOpacity", "position", "offsetY", "parent", "content", "isCustom"]),
780
- c.value ? (y(), U(kt, {
781
- key: 7,
788
+ c.value ? (g(), U($t, {
789
+ key: 8,
782
790
  hideDetails: "",
783
791
  config: {
784
792
  open: D.value.showTable,
@@ -794,8 +802,8 @@ const Lt = (a) => (ot("data-v-b9bc8597"), a = a(), lt(), a), Rt = ["id"], Dt = [
794
802
  }
795
803
  }, {
796
804
  content: x(() => [
797
- (y(), U(wt, {
798
- key: `table_${de.value}`,
805
+ (g(), U(Ct, {
806
+ key: `table_${ve.value}`,
799
807
  colNames: te.value.colNames,
800
808
  head: te.value.head,
801
809
  body: te.value.body,
@@ -804,22 +812,22 @@ const Lt = (a) => (ot("data-v-b9bc8597"), a = a(), lt(), a), Rt = ["id"], Dt = [
804
812
  onClose: l[2] || (l[2] = (o) => D.value.showTable = !1)
805
813
  }, {
806
814
  th: x(({ th: o }) => [
807
- O("div", {
815
+ S("div", {
808
816
  innerHTML: o,
809
817
  style: { display: "flex", "align-items": "center" }
810
- }, null, 8, Zt)
818
+ }, null, 8, Kt)
811
819
  ]),
812
820
  td: x(({ td: o }) => [
813
- Ie(Y(o.name || o), 1)
821
+ Fe(Y(o.name || o), 1)
814
822
  ]),
815
823
  _: 1
816
824
  }, 8, ["colNames", "head", "body", "config", "title"]))
817
825
  ]),
818
826
  _: 1
819
- }, 8, ["config"])) : F("", !0)
820
- ], 14, Rt));
827
+ }, 8, ["config"])) : O("", !0)
828
+ ], 14, Mt));
821
829
  }
822
- }, ho = /* @__PURE__ */ _t(Jt, [["__scopeId", "data-v-b9bc8597"]]);
830
+ }, po = /* @__PURE__ */ St(Qt, [["__scopeId", "data-v-04106534"]]);
823
831
  export {
824
- ho as default
832
+ po as default
825
833
  };