vue-data-ui 2.6.45 → 2.6.47

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 (165) hide show
  1. package/dist/{Arrow-Bfwl8OAb.cjs → Arrow-CRrMt_zT.cjs} +1 -1
  2. package/dist/{Arrow-km8WlE5f.js → Arrow-Dvz6Z2gU.js} +1 -1
  3. package/dist/{BaseIcon-DywZoZmD.js → BaseIcon-CEgQPz8O.js} +6 -3
  4. package/dist/{BaseIcon-BjlTm9wZ.cjs → BaseIcon-DoqpR480.cjs} +1 -1
  5. package/dist/{ColorPicker-COPqu9IV.cjs → ColorPicker-Bp_7FV2c.cjs} +1 -1
  6. package/dist/{ColorPicker-gkZLlxzP.js → ColorPicker-DwezDvSV.js} +3 -3
  7. package/dist/{DataTable-CrhPpuOy.js → DataTable-751-cN2c.js} +2 -2
  8. package/dist/{DataTable-ImmHVJ0i.cjs → DataTable-D_Guh5Hf.cjs} +1 -1
  9. package/dist/{Legend-BVtJaKHS.js → Legend-BG9fLat9.js} +2 -2
  10. package/dist/{Legend-CfimXfYH.cjs → Legend-CepYsC9r.cjs} +1 -1
  11. package/dist/{PackageVersion-DjHCw2D_.cjs → PackageVersion-D8T0gm3t.cjs} +1 -1
  12. package/dist/{PackageVersion-DJu8NH8u.js → PackageVersion-SrpgZayt.js} +1 -1
  13. package/dist/{PenAndPaper-AZpGBe7x.cjs → PenAndPaper-BJ6gGBM2.cjs} +1 -1
  14. package/dist/{PenAndPaper-DC3X33rh.js → PenAndPaper-jnD991LP.js} +3 -3
  15. package/dist/{Shape-Bs4vWaC-.js → Shape-BaijOBYT.js} +1 -1
  16. package/dist/{Shape-Dl6kIG9D.cjs → Shape-og7-ULyN.cjs} +1 -1
  17. package/dist/{Slicer-OBTv9I2-.cjs → Slicer-B4ZDkwnQ.cjs} +1 -1
  18. package/dist/{Slicer-CgnhZJgM.js → Slicer-COHzItjq.js} +3 -3
  19. package/dist/{Title-DBgUbEU1.cjs → Title-BUnn57ZR.cjs} +1 -1
  20. package/dist/{Title-6BRNasyb.js → Title-DMhhB9yN.js} +1 -1
  21. package/dist/{Tooltip-BUPxcljs.js → Tooltip-BaPecnnV.js} +1 -1
  22. package/dist/{Tooltip-TGHDsCSU.cjs → Tooltip-DJtOxx2P.cjs} +1 -1
  23. package/dist/index-DEbhC0cM.cjs +9 -0
  24. package/dist/{index-jVWdGfFl.js → index-KdQpiTkm.js} +3 -1
  25. package/dist/style.css +1 -1
  26. package/dist/types/vue-data-ui.d.cts +6 -1
  27. package/dist/types/vue-data-ui.d.ts +6 -1
  28. package/dist/{useNestedProp-BN5jbfiQ.js → useNestedProp-CO8Pe266.js} +1 -1
  29. package/dist/{useNestedProp-DhyCNtMY.cjs → useNestedProp-COYn8tA0.cjs} +1 -1
  30. package/dist/{usePrinter-BI95cSFJ.js → usePrinter-BuiF8wZK.js} +1 -1
  31. package/dist/{usePrinter-DRWBcwQ7.cjs → usePrinter-DRmOwFc2.cjs} +1 -1
  32. package/dist/useResponsive-Cw4oZ8sQ.js +192 -0
  33. package/dist/useResponsive-DQmBAoBf.cjs +1 -0
  34. package/dist/{vue-data-ui-DFmsvz9E.js → vue-data-ui-3jkYjNO_.js} +61 -61
  35. package/dist/{vue-data-ui-B0eO9goE.cjs → vue-data-ui-BbpJaKj_.cjs} +1 -1
  36. package/dist/vue-data-ui.cjs +1 -1
  37. package/dist/vue-data-ui.js +1 -1
  38. package/dist/{vue-ui-3d-bar-BcdL4c9H.js → vue-ui-3d-bar-Bda7eCM_.js} +9 -9
  39. package/dist/{vue-ui-3d-bar-CwXgNWXb.cjs → vue-ui-3d-bar-D7_7INdZ.cjs} +1 -1
  40. package/dist/{vue-ui-accordion-DOBMerZl.js → vue-ui-accordion-CDTJiQu0.js} +3 -3
  41. package/dist/{vue-ui-accordion-DdHwnq9o.cjs → vue-ui-accordion-ChxVn9CH.cjs} +1 -1
  42. package/dist/{vue-ui-age-pyramid-i52Ub253.cjs → vue-ui-age-pyramid-C-5yJnWs.cjs} +1 -1
  43. package/dist/{vue-ui-age-pyramid-Dtaikxqn.js → vue-ui-age-pyramid-C4FUVgL1.js} +11 -11
  44. package/dist/{vue-ui-annotator-BrjeA9CQ.js → vue-ui-annotator-pYtolxGn.js} +1 -1
  45. package/dist/{vue-ui-annotator-CKUZCHHC.cjs → vue-ui-annotator-yLvZcOQb.cjs} +1 -1
  46. package/dist/{vue-ui-bullet-DxUauLaF.cjs → vue-ui-bullet-BVmbUAYh.cjs} +1 -1
  47. package/dist/{vue-ui-bullet-C1xxCzws.js → vue-ui-bullet-oEZK6DxU.js} +8 -8
  48. package/dist/{vue-ui-candlestick-t1BaVylo.cjs → vue-ui-candlestick-CVM-Yvvm.cjs} +1 -1
  49. package/dist/{vue-ui-candlestick-CPF7rQqu.js → vue-ui-candlestick-Cm0ipv0t.js} +12 -12
  50. package/dist/{vue-ui-carousel-table-BqPfItK8.cjs → vue-ui-carousel-table-BGPWwg3x.cjs} +1 -1
  51. package/dist/{vue-ui-carousel-table-x8RLpKZv.js → vue-ui-carousel-table-PcE7YCyE.js} +4 -4
  52. package/dist/{vue-ui-chestnut-BiX9TQ2v.cjs → vue-ui-chestnut-CeYVXtyW.cjs} +1 -1
  53. package/dist/{vue-ui-chestnut-SdFREl6l.js → vue-ui-chestnut-Ob9Rt-3r.js} +8 -8
  54. package/dist/{vue-ui-circle-pack-DVkRm1KL.js → vue-ui-circle-pack-BF0PBuDU.js} +10 -10
  55. package/dist/{vue-ui-circle-pack-B28TVLHQ.cjs → vue-ui-circle-pack-pbnF0Jb7.cjs} +1 -1
  56. package/dist/{vue-ui-cursor-BkQNdavl.cjs → vue-ui-cursor-DE4hlTca.cjs} +1 -1
  57. package/dist/{vue-ui-cursor-CY5VZS8t.js → vue-ui-cursor-Drnazkqg.js} +2 -2
  58. package/dist/{vue-ui-dashboard-BCcNNuM_.cjs → vue-ui-dashboard-D3-z2poA.cjs} +1 -1
  59. package/dist/{vue-ui-dashboard-DQ8lax7M.js → vue-ui-dashboard-j5IuBHiv.js} +2 -2
  60. package/dist/{vue-ui-digits-BkXEbzlS.js → vue-ui-digits-BRMuUzSA.js} +2 -2
  61. package/dist/{vue-ui-digits-D-F0Chxn.cjs → vue-ui-digits-CD5-WopZ.cjs} +1 -1
  62. package/dist/{vue-ui-donut-qRDAQa4n.js → vue-ui-donut-CdVSree_.js} +229 -219
  63. package/dist/vue-ui-donut-Dq1F2vBg.cjs +1 -0
  64. package/dist/{vue-ui-donut-evolution-C8ZQum6h.cjs → vue-ui-donut-evolution-BQ7-rOnh.cjs} +1 -1
  65. package/dist/{vue-ui-donut-evolution-YKmsjVkR.js → vue-ui-donut-evolution-DzrJwccW.js} +11 -11
  66. package/dist/{vue-ui-dumbbell-bOMg4szX.cjs → vue-ui-dumbbell-DSdwbWLI.cjs} +1 -1
  67. package/dist/{vue-ui-dumbbell-C6OpTSyF.js → vue-ui-dumbbell-DuCdZc41.js} +11 -11
  68. package/dist/{vue-ui-flow-aIpHJK9l.js → vue-ui-flow-CYpiRQ_u.js} +9 -9
  69. package/dist/{vue-ui-flow-Bnj7K0Td.cjs → vue-ui-flow-D_UgsB9t.cjs} +1 -1
  70. package/dist/{vue-ui-funnel-Ckn6d97S.js → vue-ui-funnel-6q79enxr.js} +10 -10
  71. package/dist/{vue-ui-funnel-CapST2C3.cjs → vue-ui-funnel-Dr4ssgIM.cjs} +1 -1
  72. package/dist/{vue-ui-galaxy-FIQp4ePf.cjs → vue-ui-galaxy-BGxIGzn8.cjs} +1 -1
  73. package/dist/{vue-ui-galaxy-0p-jvo0s.js → vue-ui-galaxy-Bg-3xnWe.js} +11 -11
  74. package/dist/{vue-ui-gauge-CtzP0_kK.js → vue-ui-gauge-Cwhlraja.js} +8 -8
  75. package/dist/{vue-ui-gauge-C1QU2678.cjs → vue-ui-gauge-DGt25KK7.cjs} +1 -1
  76. package/dist/{vue-ui-gizmo-D6E03WtQ.cjs → vue-ui-gizmo-C0024J7B.cjs} +1 -1
  77. package/dist/{vue-ui-gizmo--TFv_z_f.js → vue-ui-gizmo-VRONxCxp.js} +3 -3
  78. package/dist/{vue-ui-heatmap-DQ_4z6a6.cjs → vue-ui-heatmap-CTwazjkR.cjs} +1 -1
  79. package/dist/{vue-ui-heatmap-Bx9RCECY.js → vue-ui-heatmap-ay3NAawN.js} +10 -10
  80. package/dist/{vue-ui-history-plot-OlxcB4fR.js → vue-ui-history-plot-BQ_2NZVm.js} +12 -12
  81. package/dist/{vue-ui-history-plot-BNybvrYe.cjs → vue-ui-history-plot-B_IHuJff.cjs} +1 -1
  82. package/dist/{vue-ui-kpi-D-EjjlYh.js → vue-ui-kpi-BGSgE7Ck.js} +3 -3
  83. package/dist/{vue-ui-kpi-DhsQdhIg.cjs → vue-ui-kpi-BtHmGmj6.cjs} +1 -1
  84. package/dist/{vue-ui-mini-loader-gsh0jMbc.cjs → vue-ui-mini-loader-Bwe3_hqy.cjs} +1 -1
  85. package/dist/{vue-ui-mini-loader-CYRJtuw3.js → vue-ui-mini-loader-DyRqUv0j.js} +2 -2
  86. package/dist/{vue-ui-molecule-K4PM7UqE.cjs → vue-ui-molecule-Cy_P0hK2.cjs} +1 -1
  87. package/dist/{vue-ui-molecule-Dke-JabR.js → vue-ui-molecule-gJVbPM60.js} +10 -10
  88. package/dist/{vue-ui-mood-radar-CnR7mp7Z.cjs → vue-ui-mood-radar-BxFd74g3.cjs} +1 -1
  89. package/dist/{vue-ui-mood-radar-sXLyAWIK.js → vue-ui-mood-radar-DAYJLwXw.js} +11 -11
  90. package/dist/vue-ui-nested-donuts-DP_cQ0OI.cjs +17 -0
  91. package/dist/{vue-ui-nested-donuts-CJ9r-x9P.js → vue-ui-nested-donuts-r67jsUHC.js} +221 -211
  92. package/dist/{vue-ui-onion-CVRrdFde.js → vue-ui-onion-C-d1e3w2.js} +12 -12
  93. package/dist/{vue-ui-onion-DM-jq72Y.cjs → vue-ui-onion-CR4UoiPQ.cjs} +1 -1
  94. package/dist/{vue-ui-parallel-coordinate-plot-DMouPTwE.cjs → vue-ui-parallel-coordinate-plot-DVltec37.cjs} +1 -1
  95. package/dist/{vue-ui-parallel-coordinate-plot-DLVjGpqC.js → vue-ui-parallel-coordinate-plot-FRhJ4mby.js} +13 -13
  96. package/dist/{vue-ui-quadrant-BGuywSpy.js → vue-ui-quadrant-BKWD8HER.js} +13 -13
  97. package/dist/{vue-ui-quadrant-CXFcrSRD.cjs → vue-ui-quadrant-D-vSAn7m.cjs} +1 -1
  98. package/dist/{vue-ui-quick-chart-9R835dAy.cjs → vue-ui-quick-chart-Bbcex3jc.cjs} +1 -1
  99. package/dist/{vue-ui-quick-chart-D_ZSUMnh.js → vue-ui-quick-chart-Cy3FCnd-.js} +10 -10
  100. package/dist/{vue-ui-radar-CGSB8Q_3.cjs → vue-ui-radar-BHCghGVU.cjs} +1 -1
  101. package/dist/{vue-ui-radar-CrF3XMq8.js → vue-ui-radar-BX_7Ngn_.js} +13 -13
  102. package/dist/{vue-ui-rating-DCH03Nd-.js → vue-ui-rating-CM6YiPW3.js} +2 -2
  103. package/dist/{vue-ui-rating-BiwEz-WI.cjs → vue-ui-rating-JhzvmHjC.cjs} +1 -1
  104. package/dist/{vue-ui-relation-circle-D7sKIx2H.cjs → vue-ui-relation-circle-BPhcc_fN.cjs} +1 -1
  105. package/dist/{vue-ui-relation-circle-CFB3nQrw.js → vue-ui-relation-circle-JTWFex69.js} +8 -8
  106. package/dist/{vue-ui-rings-CMzJJbL7.cjs → vue-ui-rings-CzXIKikH.cjs} +1 -1
  107. package/dist/{vue-ui-rings-CDFQgsVL.js → vue-ui-rings-NBAca-G8.js} +13 -13
  108. package/dist/{vue-ui-scatter-CYweE3aN.js → vue-ui-scatter-5SJ4F605.js} +13 -13
  109. package/dist/{vue-ui-scatter-Cpc9LK6H.cjs → vue-ui-scatter-DCunyG-E.cjs} +1 -1
  110. package/dist/{vue-ui-screenshot-BRY1fQOv.js → vue-ui-screenshot-DPm6Bpiq.js} +1 -1
  111. package/dist/{vue-ui-screenshot-BA27Irge.cjs → vue-ui-screenshot-q3DSJ00h.cjs} +1 -1
  112. package/dist/{vue-ui-skeleton-Dsd0bx0Y.js → vue-ui-skeleton-BhHXiz99.js} +3 -3
  113. package/dist/{vue-ui-skeleton-CLMRPxZm.cjs → vue-ui-skeleton-D7S6OsSN.cjs} +1 -1
  114. package/dist/{vue-ui-smiley-CNnxNaGC.cjs → vue-ui-smiley-CQE1dvvV.cjs} +1 -1
  115. package/dist/{vue-ui-smiley-CeC-WFLx.js → vue-ui-smiley-Cb8d713r.js} +2 -2
  116. package/dist/{vue-ui-spark-trend-liGslvUe.cjs → vue-ui-spark-trend-7Bo9O1fQ.cjs} +1 -1
  117. package/dist/{vue-ui-spark-trend-C8FlaTDz.js → vue-ui-spark-trend-BVNEGhp9.js} +5 -5
  118. package/dist/{vue-ui-sparkbar-BjCkuYB0.js → vue-ui-sparkbar-BbOu_w63.js} +4 -4
  119. package/dist/{vue-ui-sparkbar-DTUuvjOA.cjs → vue-ui-sparkbar-qAaHy4or.cjs} +1 -1
  120. package/dist/{vue-ui-sparkgauge-BBJvgM0r.js → vue-ui-sparkgauge-BwNM15jl.js} +4 -4
  121. package/dist/{vue-ui-sparkgauge-BEL_6k7M.cjs → vue-ui-sparkgauge-ddRVuzSQ.cjs} +1 -1
  122. package/dist/{vue-ui-sparkhistogram-B12f_DfZ.cjs → vue-ui-sparkhistogram-C8E73uuw.cjs} +1 -1
  123. package/dist/{vue-ui-sparkhistogram-DgRpgf4S.js → vue-ui-sparkhistogram-DhJ72P8O.js} +5 -5
  124. package/dist/{vue-ui-sparkline-CgNq3TDg.cjs → vue-ui-sparkline-C6wkmXa0.cjs} +1 -1
  125. package/dist/{vue-ui-sparkline-COtgfnKN.js → vue-ui-sparkline-m3nNPKwo.js} +5 -5
  126. package/dist/{vue-ui-sparkstackbar-3qtBnVN-.js → vue-ui-sparkstackbar-B71Vue4E.js} +5 -5
  127. package/dist/{vue-ui-sparkstackbar-JgTWCear.cjs → vue-ui-sparkstackbar-CJyCwn7x.cjs} +1 -1
  128. package/dist/{vue-ui-stackbar-BIQOmKWQ.cjs → vue-ui-stackbar-6W0SjyLd.cjs} +1 -1
  129. package/dist/{vue-ui-stackbar-BzWMNHEl.js → vue-ui-stackbar-CL7KXBrn.js} +14 -14
  130. package/dist/{vue-ui-strip-plot-Pr-p3HVe.cjs → vue-ui-strip-plot-D10qNzJu.cjs} +1 -1
  131. package/dist/{vue-ui-strip-plot-B5yz7F4O.js → vue-ui-strip-plot-T99zioSX.js} +12 -12
  132. package/dist/{vue-ui-table-DfzIKXYz.js → vue-ui-table-CCrE_Qnd.js} +1 -1
  133. package/dist/{vue-ui-table-Da8yPHbm.cjs → vue-ui-table-Cva4CGRJ.cjs} +1 -1
  134. package/dist/{vue-ui-table-heatmap-B42LEDQq.js → vue-ui-table-heatmap-CQbPKFW_.js} +4 -4
  135. package/dist/{vue-ui-table-heatmap-m9WunlMI.cjs → vue-ui-table-heatmap-GOsIhgPo.cjs} +1 -1
  136. package/dist/{vue-ui-table-sparkline-D87wVYbh.cjs → vue-ui-table-sparkline-AIunqOTn.cjs} +1 -1
  137. package/dist/{vue-ui-table-sparkline-D0NpqAlx.js → vue-ui-table-sparkline-CHtZhhn6.js} +5 -5
  138. package/dist/{vue-ui-thermometer-CLrrfpCH.js → vue-ui-thermometer-CCVPdXye.js} +7 -7
  139. package/dist/{vue-ui-thermometer-CpaWOGHr.cjs → vue-ui-thermometer-CGAA0bAU.cjs} +1 -1
  140. package/dist/{vue-ui-timer-DJ3N2OIu.cjs → vue-ui-timer-C3detaHT.cjs} +1 -1
  141. package/dist/{vue-ui-timer-ruhqlCDV.js → vue-ui-timer-Djxb8XuU.js} +6 -6
  142. package/dist/{vue-ui-tiremarks-By-ZwLdD.cjs → vue-ui-tiremarks-D-xQKhur.cjs} +1 -1
  143. package/dist/{vue-ui-tiremarks-B1PaJvW_.js → vue-ui-tiremarks-DExuaGwV.js} +7 -7
  144. package/dist/vue-ui-treemap-BXWbdL3o.cjs +1 -0
  145. package/dist/vue-ui-treemap-Dnn29Qdu.js +956 -0
  146. package/dist/{vue-ui-vertical-bar-D51OT6tD.cjs → vue-ui-vertical-bar-3V-J4-Qp.cjs} +1 -1
  147. package/dist/{vue-ui-vertical-bar-Bi_p2HMG.js → vue-ui-vertical-bar-B9-cwCz2.js} +13 -13
  148. package/dist/{vue-ui-waffle-D_OFNFu_.js → vue-ui-waffle-BH4NkBmK.js} +13 -13
  149. package/dist/{vue-ui-waffle-BRFWNTTy.cjs → vue-ui-waffle-by6o3KnD.cjs} +1 -1
  150. package/dist/{vue-ui-wheel-Dm-sn-fc.js → vue-ui-wheel-D2BqDvNB.js} +8 -8
  151. package/dist/{vue-ui-wheel-C_0xODX0.cjs → vue-ui-wheel-DWNHihoO.cjs} +1 -1
  152. package/dist/{vue-ui-word-cloud-WO_xGFwd.js → vue-ui-word-cloud-Bpyn_t-K.js} +11 -11
  153. package/dist/{vue-ui-word-cloud-CpbPC0k6.cjs → vue-ui-word-cloud-DvXgJCIv.cjs} +1 -1
  154. package/dist/{vue-ui-xy-DYGsBFzv.js → vue-ui-xy-CuLfvdAU.js} +14 -14
  155. package/dist/{vue-ui-xy-canvas-SpUUvBPW.js → vue-ui-xy-canvas-BK3C3PqR.js} +13 -13
  156. package/dist/{vue-ui-xy-canvas-DCFJnGtu.cjs → vue-ui-xy-canvas-bysKB96p.cjs} +1 -1
  157. package/dist/{vue-ui-xy-ArWU04zz.cjs → vue-ui-xy-luOYkYWO.cjs} +1 -1
  158. package/package.json +1 -1
  159. package/dist/index-BXhJaCcU.cjs +0 -9
  160. package/dist/useResponsive-N8jl0-aC.cjs +0 -1
  161. package/dist/useResponsive-vZgZwV-S.js +0 -191
  162. package/dist/vue-ui-donut-Dxie1WUb.cjs +0 -1
  163. package/dist/vue-ui-nested-donuts-DW1Zx5R0.cjs +0 -17
  164. package/dist/vue-ui-treemap-B3_lUi3B.js +0 -939
  165. package/dist/vue-ui-treemap-DX_oIHsl.cjs +0 -1
@@ -1,11 +1,11 @@
1
1
  import { computed as h, ref as b, watch as Z, onMounted as ce, createElementBlock as c, openBlock as s, unref as r, normalizeStyle as G, normalizeClass as L, createBlock as F, createCommentVNode as d, createSlots as ve, withCtx as x, renderSlot as y, normalizeProps as z, guardReactiveProps as S, createVNode as he, Fragment as ee, renderList as te, toDisplayString as de } from "vue";
2
- import { u as ae } from "./useNestedProp-BN5jbfiQ.js";
3
- import { u as fe, c as ge, a as ye, v as pe, o as me, e as ke, w as oe, X as be, i as _e, f as Ce } from "./index-jVWdGfFl.js";
4
- import { _ as $e } from "./Title-6BRNasyb.js";
5
- import { u as we, U as Pe } from "./usePrinter-BI95cSFJ.js";
6
- import xe from "./vue-ui-skeleton-Dsd0bx0Y.js";
7
- import { _ as Oe } from "./PackageVersion-DJu8NH8u.js";
8
- import { P as Ae } from "./PenAndPaper-DC3X33rh.js";
2
+ import { u as ae } from "./useNestedProp-CO8Pe266.js";
3
+ import { u as fe, c as ge, a as ye, v as pe, o as me, e as ke, w as oe, X as be, i as _e, f as Ce } from "./index-KdQpiTkm.js";
4
+ import { _ as $e } from "./Title-DMhhB9yN.js";
5
+ import { u as we, U as Pe } from "./usePrinter-BuiF8wZK.js";
6
+ import xe from "./vue-ui-skeleton-BhHXiz99.js";
7
+ import { _ as Oe } from "./PackageVersion-SrpgZayt.js";
8
+ import { P as Ae } from "./PenAndPaper-jnD991LP.js";
9
9
  import { u as Ie } from "./useUserOptionState-BIvW1Kz7.js";
10
10
  import { u as Fe } from "./useChartAccessibility-BWojgys7.js";
11
11
  import { _ as ze } from "./_plugin-vue_export-helper-CHgC5LLL.js";
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),s=require("./index-DEbhC0cM.cjs"),Me=require("./Title-BUnn57ZR.cjs"),Se=require("./usePrinter-DRmOwFc2.cjs"),He=require("./Tooltip-DJtOxx2P.cjs"),Ue=require("./Legend-CepYsC9r.cjs"),We=require("./vue-ui-skeleton-D7S6OsSN.cjs"),Ge=require("./DataTable-D_Guh5Hf.cjs"),je=require("./vue-ui-accordion-ChxVn9CH.cjs"),Be=require("./useResponsive-DQmBAoBf.cjs"),Ne=require("./useNestedProp-COYn8tA0.cjs"),Xe=require("./PackageVersion-D8T0gm3t.cjs"),Ye=require("./PenAndPaper-BJ6gGBM2.cjs"),Ke=require("./useUserOptionState-BgepsfED.cjs"),Ze=require("./useChartAccessibility-Cm7nkzTG.cjs"),Je=require("./BaseIcon-DoqpR480.cjs"),Qe=require("./_plugin-vue_export-helper-BHFhmbuH.cjs");function Oe(r,c){const i=r.length;if(i===0)throw new Error(`Max aspect ratio cannot be computed: ${r} is an empty array`);{let d=1/0,u=-1/0,v=0;for(let f=0;f<i;f+=1){const m=r[f].normalizedValue;m<d&&(d=m),m>u&&(u=m),v+=m}return Math.max(c**2*u/v**2,v**2/(c**2*d))}}function _e(r){const{xOffset:c,yOffset:i,width:d,height:u}=r;return{x0:c,y0:i,x1:c+d,y1:i+u}}function et(r,c,i){if(r.length===0)return!0;{const d=r.concat(c),u=Oe(r,i),v=Oe(d,i);return u>=v}}function tt(r){const c=[],i=r.length;for(let d=0;d<i;d+=1){const u=r[d],v=u.length;for(let h=0;h<v;h+=1)c.push(u[h])}return c}function ot(r,c){const i={...c,children:r};return ze(i)}function lt(r){return(r.x1-r.x0)*(r.y1-r.y0)}function Pe(r,c){const{width:i,height:d,xOffset:u,yOffset:v}=Q(c),h=r.length,f=r.map(y=>y.normalizedValue||0).reduce((y,g)=>y+g,0),m=f/d,x=f/i;let C=u,$=v;const b=[];if(i>=d){for(let y=0;y<h;y+=1){const g=r[y],k=$+g.normalizedValue/m,O={x0:C,y0:$,x1:C+m,y1:k},T=Object.assign({},g,O);$=k,b.push(T)}return b}else{for(let y=0;y<h;y+=1){const g=r[y],k=C+g.normalizedValue/x,O={x0:C,y0:$,x1:k,y1:$+x},T=Object.assign({},g,O);C=k,b.push(T)}return b}}function at(r){const c=Q(r),i=c.width,d=c.height;return Math.min(i,d)}function nt(r,c){const i=r.length,d=r.map(m=>m.value??0).reduce((m,x)=>m+x,0),u=c/d,v=[];let h,f;for(let m=0;m<i;m+=1)f=r[m],h=Object.assign({},f,{normalizedValue:f.value*(u||0)}),v.push(h);return v}function Q(r){const{x0:c,y0:i,x1:d,y1:u}=r;return{xOffset:c,yOffset:i,width:d-c,height:u-i}}function rt(r,c,i,d){let u=r,v=c,h=i,f=d;for(;;){const m=u.length;if(m===0){const b=Pe(v,h);return f.concat(b)}const x=at(h),C=u[0],$=u.slice(1,m);if(et(v,C,x)){const b=v.concat(C);u=$,v=b,h=h,f=f}else{const b=v.length;let y=0;for(let T=0;T<b;T+=1)y+=v[T].normalizedValue;const g=st(h,y),k=Pe(v,h),O=f.concat(k);u=u,v=[],h=g,f=O}}}function ze(r){if(typeof r.children>"u"||!r.children.length)return[r];{const c=nt(r.children,lt(r)),i=rt(c,[],r,[]),d=i.length,u=[];for(let h=0;h<d;h+=1)u.push(ze(i[h]));return tt(u)}}function st(r,c){const{width:i,height:d,xOffset:u,yOffset:v}=Q(r);if(i>=d){const h=c/d,f=i-h,m={xOffset:u+h,yOffset:v,width:f,height:d};return _e(m)}else{const h=c/i,f=d-h,m={xOffset:u,yOffset:v+h,width:i,height:f};return _e(m)}}const ut=["id"],it={key:4,class:"vue-ui-treemap-breadcrumbs","data-html2canvas-ignore":""},ct=["tabindex","onClick","onKeydown","data-last-crumb","onMouseenter","onFocus"],dt={class:"vue-ui-treemap-crumb-unit"},vt={class:"vue-ui-treemap-crumb-unit-label"},ht={key:0,style:{width:"24px",display:"flex","align-items":"center"}},pt={key:0,class:"vue-ui-treemap-crumb-unit-arrow"},ft=["xmlns","viewBox"],mt={key:0},gt=["id"],yt=["stop-color"],bt=["stop-color"],kt=["x","y","height","width","fill","rx","stroke","stroke-width","onClick","onMouseenter"],Ct=["x","y","height","width"],wt={style:{width:"100%",height:"100%"},class:"vue-ui-treemap-cell"},xt={key:6,class:"vue-data-ui-watermark"},$t=["onClick"],Tt={key:0},St={key:1},Bt=["innerHTML"],Nt={__name:"vue-ui-treemap",props:{config:{type:Object,default(){return{}}},dataset:{type:Array,default(){return[]}}},emits:["selectLegend","selectDatapoint"],setup(r,{expose:c,emit:i}){const{vue_ui_treemap:d}=s.useConfig(),u=r,v=i,h=e.useSlots();e.onMounted(()=>{h["chart-background"]&&console.warn("VueUiTreemap does not support the #chart-background slot.")});const f=e.computed(()=>!!u.dataset&&u.dataset.length),m=e.computed(()=>/^((?!chrome|android).)*safari/i.test(navigator.userAgent)),x=e.ref(s.createUid()),C=e.ref(!1),$=e.ref(""),b=e.ref(!1),y=e.ref(0),g=e.ref([]),k=e.ref(null),O=e.ref(null),T=e.ref(null),ee=e.ref(null),te=e.ref(null),oe=e.ref(0),le=e.ref(0),ae=e.ref(0),o=e.computed({get:()=>ue(),set:t=>t}),{userOptionsVisible:K,setUserOptionsVisibility:ne,keepUserOptionState:re}=Ke.useUserOptionState({config:o.value}),{svgRef:se}=Ze.useChartAccessibility({config:o.value.style.chart.title});function ue(){const t=Ne.useNestedProp({userConfig:u.config,defaultConfig:d});return t.theme?{...Ne.useNestedProp({userConfig:s.themes.vue_ui_treemap[t.theme]||u.config,defaultConfig:t}),customPalette:s.themePalettes[t.theme]||s.palette}:t}e.watch(()=>u.config,t=>{o.value=ue(),K.value=!o.value.userOptions.showOnChartHover,oe.value+=1,le.value+=1,ae.value+=1,S.value.showTable=o.value.table.show,S.value.showTooltip=o.value.style.chart.tooltip.show},{deep:!0});const{isPrinting:ie,isImaging:ce,generatePdf:de,generateImage:ve}=Se.usePrinter({elementId:`treemap_${x.value}`,fileName:o.value.style.chart.title.text||"vue-ui-treemap",options:o.value.userOptions.print}),Ve=e.computed(()=>o.value.userOptions.show&&!o.value.style.chart.title.text),H=e.computed(()=>s.convertCustomPalette(o.value.customPalette)),S=e.ref({showTable:o.value.table.show,showTooltip:o.value.style.chart.tooltip.show}),_=e.ref({height:o.value.style.chart.height,width:o.value.style.chart.width}),F=e.computed(()=>({bottom:_.value.height-o.value.style.chart.padding.bottom,height:_.value.height-o.value.style.chart.padding.top-o.value.style.chart.padding.bottom,left:o.value.style.chart.padding.left,right:_.value.width-o.value.style.chart.padding.right,top:o.value.style.chart.padding.top,vbHeight:_.value.height,vbWidth:_.value.width,width:_.value.width-o.value.style.chart.padding.left-o.value.style.chart.padding.right}));function he(t){t.forEach((a,l)=>{a.id=s.createUid(),a.color=s.convertColorToHex(a.color)||H.value[l]||s.palette[l]||s.palette[l%s.palette.length],a.children&&(a.children.forEach(n=>{n.parentId=a.id,n.color=a.color}),he(a.children))})}const P=e.ref(u.dataset),U=e.ref(null);e.onMounted(()=>{Ee()});function Ee(){if(s.objectIsEmpty(u.dataset)&&s.error({componentName:"VueUiTreemap",type:"dataset"}),he(P.value),o.value.responsive){const t=Be.throttle(()=>{const{width:a,height:l}=Be.useResponsive({chart:k.value,title:o.value.style.chart.title.text?O.value:null,legend:o.value.style.chart.legend.show?T.value:null,source:ee.value,noTitle:te.value});requestAnimationFrame(()=>{_.value.width=a,_.value.height=l})});U.value=new ResizeObserver(t),U.value.observe(k.value.parentNode)}}e.onBeforeUnmount(()=>{U.value&&U.value.disconnect()});const A=e.ref(P.value),q=e.computed(()=>A.value.map((t,a)=>({...t,color:s.convertColorToHex(t.color)||H.value[a]||s.palette[a]||s.palette[a%s.palette.length]})).filter(t=>!g.value.includes(t.id))),L=e.computed(()=>P.value.filter(t=>!g.value.includes(t.id)).map(t=>t.value||0).reduce((t,a)=>t+a,0)),pe=e.computed({get(){let t=[...q.value];return o.value.style.chart.layout.sorted&&(t=[...q.value].sort((a,l)=>l.value-a.value)),t.map(a=>({...a}))},set(t){return t}});function fe(t,a){return t.value/a}function Fe(t,a,l){const n=o.value.style.chart.layout.rects.colorRatio-fe(a,l);return s.lightenHexColor(t,n<0?0:n)}function me(t,a,l,n){return t.map((p,E)=>{const Y=Fe(s.convertColorToHex(a)||H.value[E]||s.palette[E]||s.palette[E%s.palette.length],p,n),qe=fe(p,n);return{...p,color:Y,proportion:qe,parentName:l,children:p.children?me(p.children,Y,p.name,n):void 0}})}const M=e.computed(()=>ot(pe.value.map((t,a)=>{const l=t.children?t.children.reduce((n,p)=>n+p.value,0):t.value;return{value:t.value,id:t.id,children:t.children?me(t.children.sort((n,p)=>p.value-n.value),t.color,t.name,l):void 0,color:t.color,name:t.name}}),{x0:F.value.left*2,y0:F.value.top,x1:F.value.width,y1:F.value.height}));function ge({y0:t,y1:a}){return a-t<=0?1e-4:a-t}function ye({x0:t,x1:a}){return a-t<=0?1e-4:a-t}function I(t){const a=o.value.style.chart.layout.labels.fontSize*(t.proportion*2>1?1:t.proportion*2);return a<o.value.style.chart.layout.labels.minFontSize?o.value.style.chart.layout.labels.minFontSize:a}function Ie(t){b.value=t,y.value+=1}const D=e.computed(()=>({startX:0,startY:0,width:F.value.vbWidth,height:F.value.vbHeight}));function R(t,a=P.value){for(const l of a){if(l.id===t)return l;if(l.children){const n=R(t,l.children);if(n)return n}}return null}const w=e.ref([]),z=e.computed(()=>w.value.length>0);function W(t){var l;if(!t){A.value=P.value.slice(),v("selectDatapoint",void 0),w.value=[];return}const a=R(t.id);if(a&&((l=a.children)!=null&&l.length))w.value.push(a.id),A.value=a.children.slice(),v("selectDatapoint",t);else if(t.parentId){w.value.push(t.parentId);const n=R(t.parentId);A.value=n.children.slice(),v("selectDatapoint",t)}else if(w.value.length>0){w.value.pop();const n=w.value[w.value.length-1];if(n){const p=R(n);A.value=p.children.slice()}else A.value=P.value.slice(),w.value=[],v("selectDatapoint",void 0)}}function Re(t){var l;const a=R(t.id);return!!((l=a==null?void 0:a.children)!=null&&l.length||t.parentId)}const V=e.computed(()=>{const t=[{id:null,label:"All"}];if(w.value.length>0){let a=R(w.value[w.value.length-1]);const l=[];for(;a;)l.unshift(a),a=a.parentId?R(a.parentId):null;for(const n of l)t.push({id:n.id,label:n.name,node:n})}return t}),B=e.ref(null),be=e.computed(()=>P.value.map((t,a)=>({...t,color:s.convertColorToHex(t.color)||H.value[a]||s.palette[a]||s.palette[a%s.palette.length],shape:"square"})).sort((t,a)=>a.value-t.value).map((t,a)=>({...t,proportion:t.value/P.value.map(l=>l.value).reduce((l,n)=>l+n,0),opacity:g.value.includes(t.id)?.5:1}))),Ae=e.computed(()=>({cy:"treemap-div-legend",backgroundColor:o.value.style.chart.legend.backgroundColor,color:o.value.style.chart.legend.color,fontSize:o.value.style.chart.legend.fontSize,paddingBottom:12,fontWeight:o.value.style.chart.legend.bold?"bold":""}));function ke(t){z.value=!1,B.value=null,g.value.includes(t.id)?g.value=g.value.filter(a=>a!==t.id):g.value.length<u.dataset.length-1&&g.value.push(t.id),v("selectLegend",pe.value)}const Z=e.ref(null);function Le({datapoint:t,seriesIndex:a}){B.value=t,Z.value={datapoint:t,seriesIndex:a,config:o.value,series:q.value};const l=o.value.style.chart.tooltip.customFormat;if(s.isFunction(l)&&s.functionReturnsString(()=>l({seriesIndex:a,datapoint:t,series:q.value,config:o.value})))$.value=l({seriesIndex:a,datapoint:t,series:q.value,config:o.value});else{let n="";n+=`<div style="width:100%;text-align:center;border-bottom:1px solid ${o.value.style.chart.tooltip.borderColor};padding-bottom:6px;margin-bottom:3px;">${t.name}</div>`,n+=`<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>`,n+=`<b>${s.applyDataLabel(o.value.style.chart.layout.labels.formatter,t.value,s.dataLabel({p:o.value.style.chart.layout.labels.prefix,v:t.value,s:o.value.style.chart.layout.labels.suffix,r:o.value.style.chart.tooltip.roundingValue}),{datapoint:t,seriesIndex:a})}</b>`,$.value=`<div>${n}</div>`}C.value=!0}const N=e.computed(()=>{const t=M.value.map(l=>({name:l.name,color:l.color})),a=M.value.map(l=>l.value);return{head:t,body:a}});function Ce(){e.nextTick(()=>{const t=N.value.head.map((n,p)=>[[n.name],[N.value.body[p]],[isNaN(N.value.body[p]/L.value)?"-":N.value.body[p]/L.value*100]]),a=[[o.value.style.chart.title.text],[o.value.style.chart.title.subtitle.text],[[""],["val"],["%"]]].concat(t),l=s.createCsvContent(a);s.downloadCsv({csvContent:l,title:o.value.style.chart.title.text||"vue-ui-treemap"})})}const G=e.computed(()=>{const t=[o.value.table.columnNames.series,o.value.table.columnNames.value,o.value.table.columnNames.percentage],a=N.value.head.map((p,E)=>{const Y=s.applyDataLabel(o.value.style.chart.layout.labels.formatter,N.value.body[E],s.dataLabel({p:o.value.style.chart.layout.labels.prefix,v:N.value.body[E],s:o.value.style.chart.layout.labels.suffix,r:o.value.table.td.roundingValue}));return[{color:p.color,name:p.name,shape:"square"},Y,isNaN(N.value.body[E]/L.value)?"-":s.dataLabel({v:N.value.body[E]/L.value*100,s:"%",r:o.value.table.td.roundingPercentage})]}),l={th:{backgroundColor:o.value.table.th.backgroundColor,color:o.value.table.th.color,outline:o.value.table.th.outline},td:{backgroundColor:o.value.table.td.backgroundColor,color:o.value.table.td.color,outline:o.value.table.td.outline},breakpoint:o.value.table.responsiveBreakpoint};return{colNames:[o.value.table.columnNames.series,o.value.table.columnNames.value],head:t,body:a,config:l}});function De(){return M.value}function we(){S.value.showTable=!S.value.showTable}function xe(){S.value.showTooltip=!S.value.showTooltip}const j=e.ref(!1);function J(){j.value=!j.value}const X=e.ref(null);function $e(t){X.value=t}function Te(){X.value=null}return c({getData:De,generateCsv:Ce,generateImage:ve,generatePdf:de,toggleTable:we,toggleTooltip:xe,toggleAnnotator:J}),(t,a)=>(e.openBlock(),e.createElementBlock("div",{ref_key:"treemapChart",ref:k,class:e.normalizeClass(`vue-ui-treemap ${b.value?"vue-data-ui-wrapper-fullscreen":""} ${o.value.useCssAnimation?"":"vue-ui-dna"}`),style:e.normalizeStyle(`font-family:${o.value.style.fontFamily};width:100%; ${o.value.responsive?"height: 100%;":""} text-align:center;background:${o.value.style.chart.backgroundColor}`),id:`treemap_${x.value}`,onMouseenter:a[3]||(a[3]=()=>e.unref(ne)(!0)),onMouseleave:a[4]||(a[4]=()=>e.unref(ne)(!1))},[o.value.userOptions.buttons.annotator?(e.openBlock(),e.createBlock(Ye.PenAndPaper,{key:0,svgRef:e.unref(se),backgroundColor:o.value.style.chart.backgroundColor,color:o.value.style.chart.color,active:j.value,onClose:J},null,8,["svgRef","backgroundColor","color","active"])):e.createCommentVNode("",!0),Ve.value?(e.openBlock(),e.createElementBlock("div",{key:1,ref_key:"noTitle",ref:te,class:"vue-data-ui-no-title-space",style:"height:36px; width: 100%;background:transparent"},null,512)):e.createCommentVNode("",!0),o.value.style.chart.title.text?(e.openBlock(),e.createElementBlock("div",{key:2,ref_key:"chartTitle",ref:O,style:e.normalizeStyle(`width:100%;background:${o.value.style.chart.backgroundColor};padding-bottom:6px`)},[(e.openBlock(),e.createBlock(Me._sfc_main,{key:`title_${oe.value}`,config:{title:{cy:"treemap-div-title",...o.value.style.chart.title},subtitle:{cy:"treemap-div-subtitle",...o.value.style.chart.title.subtitle}}},null,8,["config"]))],4)):e.createCommentVNode("",!0),o.value.userOptions.show&&f.value&&(e.unref(re)||e.unref(K))?(e.openBlock(),e.createBlock(Se.UserOptions,{ref:"details",key:`user_option_${y.value}`,backgroundColor:o.value.style.chart.backgroundColor,color:o.value.style.chart.color,isPrinting:e.unref(ie),isImaging:e.unref(ce),uid:x.value,hasTooltip:o.value.userOptions.buttons.tooltip&&o.value.style.chart.tooltip.show,hasPdf:o.value.userOptions.buttons.pdf,hasXls:o.value.userOptions.buttons.csv,hasImg:o.value.userOptions.buttons.img,hasTable:o.value.userOptions.buttons.table,hasFullscreen:o.value.userOptions.buttons.fullscreen,isFullscreen:b.value,isTooltip:S.value.showTooltip,titles:{...o.value.userOptions.buttonTitles},chartElement:k.value,position:o.value.userOptions.position,hasAnnotator:o.value.userOptions.buttons.annotator,isAnnotation:j.value,onToggleFullscreen:Ie,onGeneratePdf:e.unref(de),onGenerateCsv:Ce,onGenerateImage:e.unref(ve),onToggleTable:we,onToggleTooltip:xe,onToggleAnnotator:J,style:e.normalizeStyle({visibility:e.unref(re)?e.unref(K)?"visible":"hidden":"visible"})},e.createSlots({_:2},[t.$slots.menuIcon?{name:"menuIcon",fn:e.withCtx(({isOpen:l,color:n})=>[e.renderSlot(t.$slots,"menuIcon",e.normalizeProps(e.guardReactiveProps({isOpen:l,color:n})),void 0,!0)]),key:"0"}:void 0,t.$slots.optionTooltip?{name:"optionTooltip",fn:e.withCtx(()=>[e.renderSlot(t.$slots,"optionTooltip",{},void 0,!0)]),key:"1"}:void 0,t.$slots.optionPdf?{name:"optionPdf",fn:e.withCtx(()=>[e.renderSlot(t.$slots,"optionPdf",{},void 0,!0)]),key:"2"}:void 0,t.$slots.optionCsv?{name:"optionCsv",fn:e.withCtx(()=>[e.renderSlot(t.$slots,"optionCsv",{},void 0,!0)]),key:"3"}:void 0,t.$slots.optionImg?{name:"optionImg",fn:e.withCtx(()=>[e.renderSlot(t.$slots,"optionImg",{},void 0,!0)]),key:"4"}:void 0,t.$slots.optionTable?{name:"optionTable",fn:e.withCtx(()=>[e.renderSlot(t.$slots,"optionTable",{},void 0,!0)]),key:"5"}:void 0,t.$slots.optionFullscreen?{name:"optionFullscreen",fn:e.withCtx(({toggleFullscreen:l,isFullscreen:n})=>[e.renderSlot(t.$slots,"optionFullscreen",e.normalizeProps(e.guardReactiveProps({toggleFullscreen:l,isFullscreen:n})),void 0,!0)]),key:"6"}:void 0,t.$slots.optionAnnotator?{name:"optionAnnotator",fn:e.withCtx(({toggleAnnotator:l,isAnnotator:n})=>[e.renderSlot(t.$slots,"optionAnnotator",e.normalizeProps(e.guardReactiveProps({toggleAnnotator:l,isAnnotator:n})),void 0,!0)]),key:"7"}:void 0]),1032,["backgroundColor","color","isPrinting","isImaging","uid","hasTooltip","hasPdf","hasXls","hasImg","hasTable","hasFullscreen","isFullscreen","isTooltip","titles","chartElement","position","hasAnnotator","isAnnotation","onGeneratePdf","onGenerateImage","style"])):e.createCommentVNode("",!0),V.value.length>1?(e.openBlock(),e.createElementBlock("nav",it,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(V.value,(l,n)=>(e.openBlock(),e.createElementBlock("span",{role:"button",tabindex:n<V.value.length-1?0:void 0,key:l.id||"root",onClick:p=>n===V.value.length-1?()=>{}:W(l.node),onKeydown:[e.withKeys(e.withModifiers(p=>n===V.value.length-1?void 0:W(l.node),["prevent"]),["enter"]),e.withKeys(e.withModifiers(p=>n===V.value.length-1?void 0:W(l.node),["prevent"]),["space"])],class:"vue-ui-treemap-crumb","data-last-crumb":n===V.value.length-1,style:e.normalizeStyle({color:o.value.style.chart.color}),onMouseenter:p=>$e(n),onMouseleave:Te,onFocus:p=>$e(n),onBlur:Te},[e.createElementVNode("span",dt,[e.createElementVNode("span",vt,[e.renderSlot(t.$slots,"breadcrumb-label",e.mergeProps({ref_for:!0},{crumb:l,isRoot:n===0,isFocus:X.value===n}),()=>[n===0?(e.openBlock(),e.createElementBlock("div",ht,[e.createVNode(Je.default,{name:X.value===0?"homeFilled":"home",stroke:o.value.style.chart.color},null,8,["name","stroke"])])):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createTextVNode(e.toDisplayString(l.label),1)],64))],!0)]),n<V.value.length-1?(e.openBlock(),e.createElementBlock("span",pt,[e.renderSlot(t.$slots,"breadcrumb-arrow",{},()=>[a[5]||(a[5]=e.createTextVNode(" › "))],!0)])):e.createCommentVNode("",!0)])],44,ct))),128))])):e.createCommentVNode("",!0),f.value?(e.openBlock(),e.createElementBlock("svg",{key:5,ref_key:"svgRef",ref:se,xmlns:e.unref(s.XMLNS),class:e.normalizeClass({"vue-data-ui-fullscreen--on":b.value,"vue-data-ui-fulscreen--off":!b.value,"vue-data-ui-zoom-plus":!z.value,"vue-data-ui-zoom-minus":z.value}),viewBox:`${D.value.startX} ${D.value.startY} ${D.value.width<=0?10:D.value.width} ${D.value.height<=0?10:D.value.height}`,style:e.normalizeStyle(`max-width:100%; overflow: hidden; background:transparent;color:${o.value.style.chart.color}`)},[e.createVNode(Xe._sfc_main),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(M.value,(l,n)=>(e.openBlock(),e.createElementBlock("g",null,[o.value.style.chart.layout.rects.gradient.show?(e.openBlock(),e.createElementBlock("defs",mt,[e.createElementVNode("radialGradient",{id:`tgrad_${l.id}`,gradientTransform:"translate(-1, -1.000001) scale(2, 2)"},[e.createElementVNode("stop",{offset:"18%","stop-color":l.color},null,8,yt),e.createElementVNode("stop",{offset:"100%","stop-color":e.unref(s.lightenHexColor)(l.color,o.value.style.chart.layout.rects.gradient.intensity/100)},null,8,bt)],8,gt)])):e.createCommentVNode("",!0)]))),256)),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(M.value,(l,n)=>(e.openBlock(),e.createElementBlock("g",null,[e.createElementVNode("rect",{x:l.x0,y:l.y0,height:ge(l),width:ye(l),fill:m.value?l.color:o.value.style.chart.layout.rects.gradient.show?`url(#tgrad_${l.id})`:l.color,rx:o.value.style.chart.layout.rects.borderRadius,stroke:B.value&&B.value.id===l.id?o.value.style.chart.layout.rects.selected.stroke:o.value.style.chart.layout.rects.stroke,"stroke-width":B.value&&B.value.id===l.id?o.value.style.chart.layout.rects.selected.strokeWidth:o.value.style.chart.layout.rects.strokeWidth,onClick:e.withModifiers(p=>W(l),["stop"]),onMouseenter:()=>Le({datapoint:l,seriesIndex:n}),onMouseleave:a[0]||(a[0]=p=>{B.value=null,C.value=!1}),style:e.normalizeStyle(`opacity:${B.value?B.value.id===l.id?1:o.value.style.chart.layout.rects.selected.unselectedOpacity:1}`),class:e.normalizeClass(["vue-ui-treemap-rect",Re(l)?"vue-data-ui-zoom-plus":z.value?"vue-data-ui-zoom-minus":""])},null,46,kt),(e.openBlock(),e.createElementBlock("foreignObject",{x:l.x0,y:l.y0,height:ge(l),width:ye(l),class:"vue-ui-treemap-cell-foreignObject"},[e.createElementVNode("div",wt,[o.value.style.chart.layout.labels.showDefaultLabels&&(l.proportion>o.value.style.chart.layout.labels.hideUnderProportion||z.value)?(e.openBlock(),e.createElementBlock("div",{key:0,class:"vue-ui-treemap-cell-default",style:e.normalizeStyle(`width:calc(100% - ${I(l)/1.5}px);text-align:left;line-height:${I(l)<14?14:I(l)}px;padding:${I(l)/3}px; color:${e.unref(s.adaptColorToBackground)(l.color)}`)},[e.createElementVNode("span",{style:e.normalizeStyle(`width:100%;font-size:${I(l)}px;`)},e.toDisplayString(l.name),5),a[6]||(a[6]=e.createElementVNode("br",null,null,-1)),e.createElementVNode("span",{style:e.normalizeStyle(`width:100%;font-size:${I(l)}px;`)},e.toDisplayString(e.unref(s.applyDataLabel)(o.value.style.chart.layout.labels.formatter,l.value,e.unref(s.dataLabel)({p:o.value.style.chart.layout.labels.prefix,v:l.value,s:o.value.style.chart.layout.labels.suffix,r:o.value.style.chart.layout.labels.rounding}),{datapoint:l})),5)],4)):e.createCommentVNode("",!0),e.renderSlot(t.$slots,"rect",e.mergeProps({ref_for:!0},{rect:l,shouldShow:l.proportion>o.value.style.chart.layout.labels.hideUnderProportion||z.value,fontSize:I(l),isZoom:z.value,textColor:e.unref(s.adaptColorToBackground)(l.color)}),void 0,!0)])],8,Ct))]))),256)),e.renderSlot(t.$slots,"svg",e.normalizeProps(e.guardReactiveProps({svg:F.value,isZoom:z.value,rect:B.value,config:o.value})),void 0,!0)],14,ft)):e.createCommentVNode("",!0),t.$slots.watermark?(e.openBlock(),e.createElementBlock("div",xt,[e.renderSlot(t.$slots,"watermark",e.normalizeProps(e.guardReactiveProps({isPrinting:e.unref(ie)||e.unref(ce)})),void 0,!0)])):e.createCommentVNode("",!0),f.value?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(We.default,{key:7,config:{type:"treemap",style:{backgroundColor:o.value.style.chart.backgroundColor,treemap:{color:"#CCCCCC"}}}},null,8,["config"])),e.createElementVNode("div",{ref_key:"chartLegend",ref:T},[o.value.style.chart.legend.show?(e.openBlock(),e.createBlock(Ue.Legend,{key:`legend_${ae.value}`,legendSet:be.value,config:Ae.value,id:`treemap_legend_${x.value}`,onClickMarker:a[1]||(a[1]=({legend:l})=>ke(l))},{item:e.withCtx(({legend:l,index:n})=>[e.createElementVNode("div",{onClick:p=>ke(l),style:e.normalizeStyle(`opacity:${g.value.includes(l.id)?.5:1}`)},[e.createTextVNode(e.toDisplayString(l.name)+": "+e.toDisplayString(e.unref(s.applyDataLabel)(o.value.style.chart.layout.labels.formatter,l.value,e.unref(s.dataLabel)({p:o.value.style.chart.layout.labels.prefix,v:l.value,s:o.value.style.chart.layout.labels.suffix,r:o.value.style.chart.legend.roundingValue}),{datapoint:l}))+" ",1),g.value.includes(l.id)?(e.openBlock(),e.createElementBlock("span",St," ( - % ) ")):(e.openBlock(),e.createElementBlock("span",Tt," ("+e.toDisplayString(isNaN(l.value/L.value)?"-":(l.value/L.value*100).toFixed(o.value.style.chart.legend.roundingPercentage))+"%) ",1))],12,$t)]),_:1},8,["legendSet","config","id"])):e.renderSlot(t.$slots,"legend",{key:1,legend:be.value},void 0,!0)],512),t.$slots.source?(e.openBlock(),e.createElementBlock("div",{key:8,ref_key:"source",ref:ee,dir:"auto"},[e.renderSlot(t.$slots,"source",{},void 0,!0)],512)):e.createCommentVNode("",!0),e.createVNode(He._sfc_main,{show:S.value.showTooltip&&C.value,backgroundColor:o.value.style.chart.tooltip.backgroundColor,color:o.value.style.chart.tooltip.color,fontSize:o.value.style.chart.tooltip.fontSize,borderRadius:o.value.style.chart.tooltip.borderRadius,borderColor:o.value.style.chart.tooltip.borderColor,borderWidth:o.value.style.chart.tooltip.borderWidth,backgroundOpacity:o.value.style.chart.tooltip.backgroundOpacity,position:o.value.style.chart.tooltip.position,offsetY:o.value.style.chart.tooltip.offsetY,parent:k.value,content:$.value,isFullscreen:b.value,isCustom:e.unref(s.isFunction)(o.value.style.chart.tooltip.customFormat)},{"tooltip-before":e.withCtx(()=>[e.renderSlot(t.$slots,"tooltip-before",e.normalizeProps(e.guardReactiveProps({...Z.value})),void 0,!0)]),"tooltip-after":e.withCtx(()=>[e.renderSlot(t.$slots,"tooltip-after",e.normalizeProps(e.guardReactiveProps({...Z.value})),void 0,!0)]),_:3},8,["show","backgroundColor","color","fontSize","borderRadius","borderColor","borderWidth","backgroundOpacity","position","offsetY","parent","content","isFullscreen","isCustom"]),f.value?(e.openBlock(),e.createBlock(je.default,{key:9,hideDetails:"",config:{open:S.value.showTable,maxHeight:1e4,body:{backgroundColor:o.value.style.chart.backgroundColor,color:o.value.style.chart.color},head:{backgroundColor:o.value.style.chart.backgroundColor,color:o.value.style.chart.color}}},{content:e.withCtx(()=>[(e.openBlock(),e.createBlock(Ge.DataTable,{key:`table_${le.value}`,colNames:G.value.colNames,head:G.value.head,body:G.value.body,config:G.value.config,title:`${o.value.style.chart.title.text}${o.value.style.chart.title.subtitle.text?` : ${o.value.style.chart.title.subtitle.text}`:""}`,onClose:a[2]||(a[2]=l=>S.value.showTable=!1)},{th:e.withCtx(({th:l})=>[e.createElementVNode("div",{innerHTML:l,style:{display:"flex","align-items":"center"}},null,8,Bt)]),td:e.withCtx(({td:l})=>[e.createTextVNode(e.toDisplayString(l.name||l),1)]),_:1},8,["colNames","head","body","config","title"]))]),_:1},8,["config"])):e.createCommentVNode("",!0)],46,ut))}},Ot=Qe._export_sfc(Nt,[["__scopeId","data-v-3119d5fd"]]);exports.default=Ot;