vue-data-ui 2.6.19 → 2.6.21

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 (171) hide show
  1. package/README.md +8 -0
  2. package/dist/{Arrow-QMACp9z-.cjs → Arrow-C1pcd-am.cjs} +1 -1
  3. package/dist/{Arrow-DTtLZwne.js → Arrow-DQaZQgi6.js} +1 -1
  4. package/dist/{BaseIcon-BpRuwiFD.cjs → BaseIcon-BQwivF_K.cjs} +1 -1
  5. package/dist/{BaseIcon-nz-vbP7I.js → BaseIcon-DH34CAFx.js} +1 -1
  6. package/dist/{DataTable-Dr-djTUz.cjs → DataTable-D5572vAU.cjs} +1 -1
  7. package/dist/{DataTable-pNLWbeCL.js → DataTable-DfMqgTjL.js} +2 -2
  8. package/dist/{Legend-BHbX2C8f.cjs → Legend-CoREnR30.cjs} +1 -1
  9. package/dist/{Legend-s9DRKvJo.js → Legend-PL8rU0J1.js} +2 -2
  10. package/dist/{PackageVersion-hltZM-fb.js → PackageVersion-1Y7SXTrk.js} +1 -1
  11. package/dist/{PackageVersion-DsoqDgVf.cjs → PackageVersion-JsuXjgR_.cjs} +1 -1
  12. package/dist/PenAndPaper-7lGhxIH8.cjs +1 -0
  13. package/dist/{PenAndPaper-qmkn1GhB.js → PenAndPaper-BYhUvcy4.js} +20 -16
  14. package/dist/{PenAndPaper.vue_vue_type_style_index_0_scoped_c968a401_lang-z17A_S1M.js → PenAndPaper.vue_vue_type_style_index_0_scoped_3cea7589_lang-AmNwJZI7.js} +3 -3
  15. package/dist/{PenAndPaper.vue_vue_type_style_index_0_scoped_c968a401_lang-lH7bkq1z.cjs → PenAndPaper.vue_vue_type_style_index_0_scoped_3cea7589_lang-NplvneD1.cjs} +1 -1
  16. package/dist/{Shape-YhMDtuHk.cjs → Shape-HtDeeGqp.cjs} +1 -1
  17. package/dist/{Shape-C3y6rj0O.js → Shape-Ov27sl2L.js} +1 -1
  18. package/dist/{Slicer-BIW17-XH.js → Slicer-6F4tHrZR.js} +3 -3
  19. package/dist/{Slicer-BA8XF-Ak.cjs → Slicer-COXIFuZ-.cjs} +1 -1
  20. package/dist/{Title-dsg3PqUg.js → Title-1PWD04Gh.js} +1 -1
  21. package/dist/{Title-DWqgN4Kv.cjs → Title-Pgt1Ixvo.cjs} +1 -1
  22. package/dist/{Tooltip-DRFQIslg.js → Tooltip-BTO5NGkn.js} +1 -1
  23. package/dist/{Tooltip-B6T_qzJD.cjs → Tooltip-te_h24w6.cjs} +1 -1
  24. package/dist/{index-3OrObUP-.cjs → index-DM-Bs-Ua.cjs} +1 -1
  25. package/dist/{index-DvAaY6OP.js → index-DUnEDLbc.js} +1 -1
  26. package/dist/index.es-DvaaoatM.cjs +18 -0
  27. package/dist/index.es-RWt7DWPC.js +6645 -0
  28. package/dist/{jspdf.es.min-C5v1xtPn.cjs → jspdf.es.min-Rw70uifz.cjs} +23 -23
  29. package/dist/{jspdf.es.min-DKXYalZb.js → jspdf.es.min-eTA26cmm.js} +476 -470
  30. package/dist/{pdf-CHXlEvWj.cjs → pdf-DSkQT5iH.cjs} +1 -1
  31. package/dist/{pdf-70oZh5Jp.js → pdf-DVWl3Adn.js} +1 -1
  32. package/dist/style.css +1 -1
  33. package/dist/{useNestedProp-CGzX7c5Q.js → useNestedProp-CEMeoM-f.js} +1 -1
  34. package/dist/{useNestedProp-B53Yi1Rk.cjs → useNestedProp-CYy5g-mh.cjs} +1 -1
  35. package/dist/usePrinter-DbpIk44f.cjs +1 -0
  36. package/dist/{usePrinter-D_2jA4x8.js → usePrinter-Undaynpo.js} +73 -71
  37. package/dist/useResponsive-N8jl0-aC.cjs +1 -0
  38. package/dist/{useResponsive-BWapHhVH.js → useResponsive-vZgZwV-S.js} +65 -64
  39. package/dist/{vue-data-ui-CTjgYwlW.cjs → vue-data-ui-BapofDyJ.cjs} +1 -1
  40. package/dist/{vue-data-ui-DMl9rAwQ.js → vue-data-ui-DnaIYz0z.js} +61 -61
  41. package/dist/vue-data-ui.cjs +1 -1
  42. package/dist/vue-data-ui.js +1 -1
  43. package/dist/{vue-ui-3d-bar-DBVRoMwv.js → vue-ui-3d-bar-DLYaW0-y.js} +105 -98
  44. package/dist/{vue-ui-3d-bar-OwVsZokU.cjs → vue-ui-3d-bar-DansBM76.cjs} +2 -2
  45. package/dist/{vue-ui-accordion-LbUarYuf.js → vue-ui-accordion-C8Couc_G.js} +3 -3
  46. package/dist/{vue-ui-accordion-BmScSwW2.cjs → vue-ui-accordion-ZIsT4At8.cjs} +1 -1
  47. package/dist/{vue-ui-age-pyramid-DQ5dL4yb.cjs → vue-ui-age-pyramid-BSXnW9GF.cjs} +1 -1
  48. package/dist/{vue-ui-age-pyramid-rmfEfmj7.js → vue-ui-age-pyramid-BdruKMmo.js} +76 -69
  49. package/dist/{vue-ui-annotator-nS_RSspz.cjs → vue-ui-annotator-B7Go0M7W.cjs} +1 -1
  50. package/dist/{vue-ui-annotator-FlMkU7Kj.js → vue-ui-annotator-DVfdPMa7.js} +2 -2
  51. package/dist/{vue-ui-bullet-esfPgi-9.js → vue-ui-bullet-CkCJgmoJ.js} +145 -138
  52. package/dist/{vue-ui-bullet-BGTTcXBJ.cjs → vue-ui-bullet-N9ud2cQ7.cjs} +4 -4
  53. package/dist/{vue-ui-candlestick-RHrlnUqs.js → vue-ui-candlestick-C9B13qeU.js} +116 -109
  54. package/dist/{vue-ui-candlestick-BUEGFHg_.cjs → vue-ui-candlestick-DPIs9tEW.cjs} +2 -2
  55. package/dist/{vue-ui-carousel-table-6uP-Kk9U.js → vue-ui-carousel-table-BLo52Rqu.js} +130 -123
  56. package/dist/{vue-ui-carousel-table-DCcPnWRU.cjs → vue-ui-carousel-table-DgcY4j9y.cjs} +1 -1
  57. package/dist/{vue-ui-chestnut-B7Ep4Lho.cjs → vue-ui-chestnut-C9Zw_bey.cjs} +2 -2
  58. package/dist/{vue-ui-chestnut-Dh4y5s_v.js → vue-ui-chestnut-D8oXG8Tf.js} +131 -124
  59. package/dist/vue-ui-circle-pack-CrEdkNM7.js +648 -0
  60. package/dist/vue-ui-circle-pack-DYW-e2E5.cjs +1 -0
  61. package/dist/{vue-ui-cursor-D-IzE_jd.cjs → vue-ui-cursor-CtSijliN.cjs} +1 -1
  62. package/dist/{vue-ui-cursor-C21WgpGu.js → vue-ui-cursor-DkW4pJcP.js} +2 -2
  63. package/dist/{vue-ui-dashboard-T0LqYCqM.js → vue-ui-dashboard-5_Du0Yr2.js} +3 -3
  64. package/dist/{vue-ui-dashboard-DQ_wht4B.cjs → vue-ui-dashboard-Dh5vRbdI.cjs} +1 -1
  65. package/dist/{vue-ui-digits-CwV6mhHZ.cjs → vue-ui-digits-DEmYk7sS.cjs} +1 -1
  66. package/dist/{vue-ui-digits-CLFrlUIW.js → vue-ui-digits-DhA1bHdz.js} +2 -2
  67. package/dist/{vue-ui-donut-dVplEheX.js → vue-ui-donut-B-G7gRdV.js} +118 -111
  68. package/dist/{vue-ui-donut-b_UXDeKJ.cjs → vue-ui-donut-BrZxaijU.cjs} +1 -1
  69. package/dist/{vue-ui-donut-evolution-Bl50EWBG.js → vue-ui-donut-evolution-B4almlBq.js} +164 -157
  70. package/dist/{vue-ui-donut-evolution-VxNtQWGH.cjs → vue-ui-donut-evolution-CTbXi7wk.cjs} +1 -1
  71. package/dist/{vue-ui-dumbbell-B-7s7x7a.cjs → vue-ui-dumbbell-CAIlnhsM.cjs} +2 -2
  72. package/dist/{vue-ui-dumbbell-Bp685TTG.js → vue-ui-dumbbell-kZGa__IU.js} +75 -68
  73. package/dist/{vue-ui-flow-CHbfoU97.js → vue-ui-flow-Bc31ZN1W.js} +177 -170
  74. package/dist/{vue-ui-flow-DJqOVlD7.cjs → vue-ui-flow-D2UNbwlp.cjs} +1 -1
  75. package/dist/{vue-ui-funnel-B77giO54.cjs → vue-ui-funnel-DfCz1GNN.cjs} +1 -1
  76. package/dist/{vue-ui-funnel-Bhv0XRzJ.js → vue-ui-funnel-V7hu2Iib.js} +129 -122
  77. package/dist/{vue-ui-galaxy-Dt4dx9bS.cjs → vue-ui-galaxy-CNBC7IbU.cjs} +1 -1
  78. package/dist/{vue-ui-galaxy-DMA8AX8h.js → vue-ui-galaxy-DLCcy7Kq.js} +77 -70
  79. package/dist/{vue-ui-gauge-CBlurlZk.js → vue-ui-gauge-CZMHtEcr.js} +153 -146
  80. package/dist/{vue-ui-gauge-Bh3iSbSd.cjs → vue-ui-gauge-D8IglqIF.cjs} +1 -1
  81. package/dist/{vue-ui-gizmo-CHhJKge-.js → vue-ui-gizmo-BuAVBMBp.js} +3 -3
  82. package/dist/{vue-ui-gizmo-BMrnNfYR.cjs → vue-ui-gizmo-fyC414Iv.cjs} +1 -1
  83. package/dist/vue-ui-heatmap-CDOry_F1.cjs +1 -0
  84. package/dist/{vue-ui-heatmap-CB4852rp.js → vue-ui-heatmap-hUfFzGck.js} +139 -132
  85. package/dist/{vue-ui-history-plot-AwmdEhYL.js → vue-ui-history-plot-C79l8rPm.js} +122 -115
  86. package/dist/{vue-ui-history-plot-BG7r0ZF7.cjs → vue-ui-history-plot-CIXgvWpk.cjs} +1 -1
  87. package/dist/{vue-ui-kpi-DcxE4Vv7.js → vue-ui-kpi-C3tHthXH.js} +3 -3
  88. package/dist/{vue-ui-kpi-BYCMEzBt.cjs → vue-ui-kpi-yiWxNLJ-.cjs} +1 -1
  89. package/dist/{vue-ui-mini-loader-CdDRH8Rb.js → vue-ui-mini-loader-1p1jAKx_.js} +2 -2
  90. package/dist/{vue-ui-mini-loader-DOqUfxRJ.cjs → vue-ui-mini-loader-26yCYjxn.cjs} +1 -1
  91. package/dist/{vue-ui-molecule-C-Z0Ywq1.cjs → vue-ui-molecule-Bw0dYLfu.cjs} +1 -1
  92. package/dist/{vue-ui-molecule-BskBKGbQ.js → vue-ui-molecule-COQ-yrBr.js} +249 -242
  93. package/dist/{vue-ui-mood-radar-BAPZ1LyF.js → vue-ui-mood-radar-CwfGiQ43.js} +111 -104
  94. package/dist/{vue-ui-mood-radar-BIrQKfVf.cjs → vue-ui-mood-radar-Cyde9hnR.cjs} +1 -1
  95. package/dist/{vue-ui-nested-donuts-BB2Kgb5F.js → vue-ui-nested-donuts-BVaW7w1U.js} +117 -110
  96. package/dist/{vue-ui-nested-donuts-7YjtP-jC.cjs → vue-ui-nested-donuts-Y07lLGRa.cjs} +2 -2
  97. package/dist/{vue-ui-onion-BWb18zcN.cjs → vue-ui-onion-DkXss-B_.cjs} +2 -2
  98. package/dist/{vue-ui-onion-BjMfXAZK.js → vue-ui-onion-h6DP9kOi.js} +143 -136
  99. package/dist/{vue-ui-parallel-coordinate-plot-D6Vs-5Vh.cjs → vue-ui-parallel-coordinate-plot-CkI21cq2.cjs} +2 -2
  100. package/dist/{vue-ui-parallel-coordinate-plot-ryqdfkHL.js → vue-ui-parallel-coordinate-plot-O5cwKbzH.js} +113 -106
  101. package/dist/{vue-ui-quadrant-Cr4ypLzT.js → vue-ui-quadrant-CfywvXnV.js} +112 -105
  102. package/dist/{vue-ui-quadrant-BmsHBpKo.cjs → vue-ui-quadrant-F6w-QJE_.cjs} +1 -1
  103. package/dist/{vue-ui-quick-chart-45IEXHb0.cjs → vue-ui-quick-chart-BeMHD_Kz.cjs} +3 -3
  104. package/dist/{vue-ui-quick-chart-C9dIHRYi.js → vue-ui-quick-chart-C1AwFGSr.js} +195 -188
  105. package/dist/{vue-ui-radar-Nr5JmVlk.cjs → vue-ui-radar-BejYh3DW.cjs} +1 -1
  106. package/dist/{vue-ui-radar-T6xdl9ic.js → vue-ui-radar-DDKXLi5o.js} +101 -94
  107. package/dist/{vue-ui-rating-C5AaiBqZ.js → vue-ui-rating-BrGbM0Op.js} +2 -2
  108. package/dist/{vue-ui-rating-CFIhZlG-.cjs → vue-ui-rating-C40ktvn7.cjs} +1 -1
  109. package/dist/{vue-ui-relation-circle-Cw-DcsRY.cjs → vue-ui-relation-circle-C4qT13SI.cjs} +1 -1
  110. package/dist/{vue-ui-relation-circle-BktS594K.js → vue-ui-relation-circle-DrtdiTMX.js} +103 -96
  111. package/dist/{vue-ui-rings-_evAK3j7.js → vue-ui-rings-C4IdhEUE.js} +169 -162
  112. package/dist/{vue-ui-rings-2j5fsO_o.cjs → vue-ui-rings-Cd8WyeDZ.cjs} +2 -2
  113. package/dist/{vue-ui-scatter-C5ePnByD.js → vue-ui-scatter-BS8sgyMi.js} +85 -78
  114. package/dist/{vue-ui-scatter-W1_ChsfO.cjs → vue-ui-scatter-MmvIeu4D.cjs} +1 -1
  115. package/dist/{vue-ui-screenshot-B6ASKPJf.cjs → vue-ui-screenshot-BB51-eRL.cjs} +1 -1
  116. package/dist/{vue-ui-screenshot-DM-PQM2g.js → vue-ui-screenshot-tnFPT1vi.js} +1 -1
  117. package/dist/{vue-ui-skeleton-WoggMoff.js → vue-ui-skeleton-DieABKlo.js} +3 -3
  118. package/dist/{vue-ui-skeleton-DaowWOKJ.cjs → vue-ui-skeleton-DlC-U64G.cjs} +1 -1
  119. package/dist/{vue-ui-smiley-gulDZ8i7.js → vue-ui-smiley-C32wVXgu.js} +2 -2
  120. package/dist/{vue-ui-smiley-hlaNlq2y.cjs → vue-ui-smiley-DSxKw3ud.cjs} +1 -1
  121. package/dist/{vue-ui-spark-trend-LbApLsdt.js → vue-ui-spark-trend-B_x1dX38.js} +5 -5
  122. package/dist/{vue-ui-spark-trend-BcrMflk6.cjs → vue-ui-spark-trend-vexkCCy9.cjs} +1 -1
  123. package/dist/{vue-ui-sparkbar-BdfaDBkw.cjs → vue-ui-sparkbar-CsOEiHDQ.cjs} +1 -1
  124. package/dist/{vue-ui-sparkbar-CnL6FbaE.js → vue-ui-sparkbar-ZSbB6Llo.js} +4 -4
  125. package/dist/{vue-ui-sparkgauge-CHv1q1cO.cjs → vue-ui-sparkgauge-Bdh7X--h.cjs} +1 -1
  126. package/dist/{vue-ui-sparkgauge-Du7PRJyB.js → vue-ui-sparkgauge-Cf3bDk98.js} +4 -4
  127. package/dist/{vue-ui-sparkhistogram-CyEyZvbD.js → vue-ui-sparkhistogram-CrZy1xf0.js} +5 -5
  128. package/dist/{vue-ui-sparkhistogram-CBqKXnvX.cjs → vue-ui-sparkhistogram-fALwb3uK.cjs} +1 -1
  129. package/dist/{vue-ui-sparkline-DRHE0kK8.cjs → vue-ui-sparkline-D4WDvcZR.cjs} +1 -1
  130. package/dist/{vue-ui-sparkline-BMNXPHhB.js → vue-ui-sparkline-DTW_lXgp.js} +5 -5
  131. package/dist/{vue-ui-sparkstackbar-D6wuDd8h.cjs → vue-ui-sparkstackbar-DBPLhUoi.cjs} +1 -1
  132. package/dist/{vue-ui-sparkstackbar-D33lwh8d.js → vue-ui-sparkstackbar-Db2Ndf0k.js} +5 -5
  133. package/dist/{vue-ui-stackbar-CnxGAca-.cjs → vue-ui-stackbar-B3eaSIoO.cjs} +3 -3
  134. package/dist/{vue-ui-stackbar-C5yoqQAY.js → vue-ui-stackbar-DbF3ZJTD.js} +211 -204
  135. package/dist/{vue-ui-strip-plot-Cg1B7i3X.js → vue-ui-strip-plot-CpkH2Gfd.js} +83 -76
  136. package/dist/{vue-ui-strip-plot-DDTTc2jA.cjs → vue-ui-strip-plot-DiCVf5u-.cjs} +1 -1
  137. package/dist/{vue-ui-table-BGfZl0wF.js → vue-ui-table-D6zWwikN.js} +1 -1
  138. package/dist/{vue-ui-table-TV5Coa0A.cjs → vue-ui-table-K13fqkDI.cjs} +1 -1
  139. package/dist/{vue-ui-table-heatmap-Jjx8L8St.cjs → vue-ui-table-heatmap-BgenCoVa.cjs} +1 -1
  140. package/dist/{vue-ui-table-heatmap-D0j2OFv0.js → vue-ui-table-heatmap-EAevgnzN.js} +63 -56
  141. package/dist/{vue-ui-table-sparkline-D0_FhhN5.cjs → vue-ui-table-sparkline-3JMqr89P.cjs} +1 -1
  142. package/dist/{vue-ui-table-sparkline-C2sUG_7S.js → vue-ui-table-sparkline-s_oWe6MG.js} +90 -83
  143. package/dist/{vue-ui-thermometer-Bw35Fw8v.cjs → vue-ui-thermometer--mYRly4x.cjs} +1 -1
  144. package/dist/{vue-ui-thermometer-CdLZ8te2.js → vue-ui-thermometer-Bo3l_0Kf.js} +113 -106
  145. package/dist/{vue-ui-timer-1-kXQ5_q.js → vue-ui-timer-C9EuUurN.js} +6 -6
  146. package/dist/{vue-ui-timer-Deg5YPx0.cjs → vue-ui-timer-Djh-ZDNe.cjs} +1 -1
  147. package/dist/{vue-ui-tiremarks-uSgVLSbo.cjs → vue-ui-tiremarks-CKv_KApZ.cjs} +1 -1
  148. package/dist/{vue-ui-tiremarks-BHTSw0fa.js → vue-ui-tiremarks-DgdpEDJ1.js} +76 -69
  149. package/dist/{vue-ui-treemap-7W_lvbV0.cjs → vue-ui-treemap-AkNJjd2c.cjs} +1 -1
  150. package/dist/{vue-ui-treemap-C2u5sEzh.js → vue-ui-treemap-D13sISL0.js} +144 -137
  151. package/dist/{vue-ui-vertical-bar-BlzOi8LC.cjs → vue-ui-vertical-bar-CQlvpdJl.cjs} +3 -3
  152. package/dist/{vue-ui-vertical-bar-U3LQF-NS.js → vue-ui-vertical-bar-DfegzHj4.js} +120 -113
  153. package/dist/{vue-ui-waffle-DUXvINoC.cjs → vue-ui-waffle-Dve1LWVt.cjs} +1 -1
  154. package/dist/{vue-ui-waffle-qAheWwiI.js → vue-ui-waffle-f72Lq8_D.js} +78 -71
  155. package/dist/{vue-ui-wheel-DIoKCgCS.cjs → vue-ui-wheel-BG1GcVvN.cjs} +1 -1
  156. package/dist/{vue-ui-wheel-CuLQchDK.js → vue-ui-wheel-BxefMdit.js} +105 -98
  157. package/dist/{vue-ui-word-cloud-B-nFH7hZ.js → vue-ui-word-cloud-BYY4K2G4.js} +123 -116
  158. package/dist/{vue-ui-word-cloud-BSvmRQ5n.cjs → vue-ui-word-cloud-CRRR7H7h.cjs} +1 -1
  159. package/dist/{vue-ui-xy-DXMoSF2C.js → vue-ui-xy-BS0_aTIH.js} +73 -66
  160. package/dist/{vue-ui-xy-BGsFH9wE.cjs → vue-ui-xy-DGYZFgdd.cjs} +2 -2
  161. package/dist/{vue-ui-xy-canvas-CTymfSH6.js → vue-ui-xy-canvas-Bl2v7Z3U.js} +200 -193
  162. package/dist/{vue-ui-xy-canvas-i13v43UX.cjs → vue-ui-xy-canvas-R_pPaj0X.cjs} +2 -2
  163. package/package.json +2 -7
  164. package/dist/PenAndPaper-Dbw8Fph9.cjs +0 -1
  165. package/dist/index-Dwoe0gcF.cjs +0 -15
  166. package/dist/index-Fl-W8YeZ.js +0 -3971
  167. package/dist/usePrinter-bPnqqKha.cjs +0 -1
  168. package/dist/useResponsive-YQYQrAZ_.cjs +0 -1
  169. package/dist/vue-ui-circle-pack-Ce1oEvgz.cjs +0 -1
  170. package/dist/vue-ui-circle-pack-CrgnQ_jY.js +0 -663
  171. package/dist/vue-ui-heatmap-DvItO4xs.cjs +0 -1
@@ -1,26 +1,26 @@
1
- import { useSlots as st, onMounted as Le, computed as k, ref as f, watch as rt, onBeforeUnmount as ut, createElementBlock as C, openBlock as p, unref as g, normalizeStyle as D, normalizeClass as De, createBlock as E, createCommentVNode as P, createElementVNode as z, createVNode as Me, createSlots as it, withCtx as T, renderSlot as $, normalizeProps as X, guardReactiveProps as j, Fragment as Ve, renderList as Ue, toDisplayString as Y, mergeProps as ct, createTextVNode as Be, nextTick as dt } from "vue";
2
- import { u as vt, c as He, t as ht, p as O, a as ft, b as pt, o as gt, e as yt, d as ae, i as ne, f as K, X as mt, l as We, G as Ee, x as Ge, q as bt, r as wt, y as kt } from "./index-DvAaY6OP.js";
3
- import { _ as Ct } from "./Title-dsg3PqUg.js";
4
- import { u as $t, U as xt } from "./usePrinter-D_2jA4x8.js";
5
- import { _ as Tt } from "./Tooltip-DRFQIslg.js";
6
- import { L as Ot } from "./Legend-s9DRKvJo.js";
7
- import _t from "./vue-ui-skeleton-WoggMoff.js";
8
- import { D as St } from "./DataTable-pNLWbeCL.js";
9
- import Nt from "./vue-ui-accordion-LbUarYuf.js";
10
- import { t as Pt, u as zt } from "./useResponsive-BWapHhVH.js";
11
- import { u as qe } from "./useNestedProp-CGzX7c5Q.js";
12
- import { _ as At } from "./PackageVersion-hltZM-fb.js";
13
- import { P as Ft } from "./PenAndPaper-qmkn1GhB.js";
14
- import { u as Rt } from "./useUserOptionState-BIvW1Kz7.js";
15
- import { u as It } from "./useChartAccessibility-BWojgys7.js";
1
+ import { useSlots as st, onMounted as Le, computed as k, ref as f, watch as rt, onBeforeUnmount as ut, createElementBlock as C, openBlock as p, unref as g, normalizeStyle as D, normalizeClass as De, createBlock as E, createCommentVNode as P, createElementVNode as z, createVNode as Me, createSlots as it, withCtx as x, renderSlot as $, normalizeProps as G, guardReactiveProps as q, Fragment as Ve, renderList as Ue, toDisplayString as Y, mergeProps as ct, createTextVNode as Be, nextTick as dt } from "vue";
2
+ import { u as vt, c as He, t as ht, p as O, a as ft, b as pt, o as gt, e as yt, d as ae, i as ne, f as K, X as mt, l as We, G as Ee, x as Ge, q as bt, r as wt, y as kt } from "./index-DUnEDLbc.js";
3
+ import { _ as Ct } from "./Title-1PWD04Gh.js";
4
+ import { u as $t, U as xt } from "./usePrinter-Undaynpo.js";
5
+ import { _ as Tt } from "./Tooltip-BTO5NGkn.js";
6
+ import { L as Ot } from "./Legend-PL8rU0J1.js";
7
+ import _t from "./vue-ui-skeleton-DieABKlo.js";
8
+ import { D as St } from "./DataTable-DfMqgTjL.js";
9
+ import Nt from "./vue-ui-accordion-C8Couc_G.js";
10
+ import { t as Pt, u as zt } from "./useResponsive-vZgZwV-S.js";
11
+ import { u as qe } from "./useNestedProp-CEMeoM-f.js";
12
+ import { _ as At } from "./PackageVersion-1Y7SXTrk.js";
13
+ import { P as Ft } from "./PenAndPaper-BYhUvcy4.js";
14
+ import { u as It } from "./useUserOptionState-BIvW1Kz7.js";
15
+ import { u as Rt } from "./useChartAccessibility-BWojgys7.js";
16
16
  import { _ as Lt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
17
17
  function Xe(a, u) {
18
- const s = a.length;
19
- if (s === 0)
18
+ const r = a.length;
19
+ if (r === 0)
20
20
  throw new Error(`Max aspect ratio cannot be computed: ${a} is an empty array`);
21
21
  {
22
22
  let i = 1 / 0, n = -1 / 0, d = 0;
23
- for (let v = 0; v < s; v += 1) {
23
+ for (let v = 0; v < r; v += 1) {
24
24
  const h = a[v].normalizedValue;
25
25
  h < i && (i = h), h > n && (n = h), d += h;
26
26
  }
@@ -31,28 +31,28 @@ function Xe(a, u) {
31
31
  }
32
32
  }
33
33
  function je(a) {
34
- const { xOffset: u, yOffset: s, width: i, height: n } = a;
34
+ const { xOffset: u, yOffset: r, width: i, height: n } = a;
35
35
  return {
36
36
  x0: u,
37
- y0: s,
37
+ y0: r,
38
38
  x1: u + i,
39
- y1: s + n
39
+ y1: r + n
40
40
  };
41
41
  }
42
- function Dt(a, u, s) {
42
+ function Dt(a, u, r) {
43
43
  if (a.length === 0)
44
44
  return !0;
45
45
  {
46
46
  const i = a.concat(u), n = Xe(
47
47
  a,
48
- s
49
- ), d = Xe(i, s);
48
+ r
49
+ ), d = Xe(i, r);
50
50
  return n >= d;
51
51
  }
52
52
  }
53
53
  function Mt(a) {
54
- const u = [], s = a.length;
55
- for (let i = 0; i < s; i += 1) {
54
+ const u = [], r = a.length;
55
+ for (let i = 0; i < r; i += 1) {
56
56
  const n = a[i], d = n.length;
57
57
  for (let c = 0; c < d; c += 1)
58
58
  u.push(n[c]);
@@ -60,67 +60,67 @@ function Mt(a) {
60
60
  return u;
61
61
  }
62
62
  function Vt(a, u) {
63
- const s = {
63
+ const r = {
64
64
  ...u,
65
65
  children: a
66
66
  };
67
- return Ze(s);
67
+ return Ze(r);
68
68
  }
69
69
  function Ut(a) {
70
70
  return (a.x1 - a.x0) * (a.y1 - a.y0);
71
71
  }
72
72
  function Ye(a, u) {
73
- const { width: s, height: i, xOffset: n, yOffset: d } = de(u), c = a.length, v = a.map((b) => b.normalizedValue || 0).reduce((b, y) => b + y, 0), h = v / i, S = v / s;
73
+ const { width: r, height: i, xOffset: n, yOffset: d } = de(u), c = a.length, v = a.map((b) => b.normalizedValue || 0).reduce((b, y) => b + y, 0), h = v / i, S = v / r;
74
74
  let _ = n, N = d;
75
75
  const w = [];
76
- if (s >= i) {
76
+ if (r >= i) {
77
77
  for (let b = 0; b < c; b += 1) {
78
- const y = a[b], x = N + y.normalizedValue / h, M = {
78
+ const y = a[b], T = N + y.normalizedValue / h, M = {
79
79
  x0: _,
80
80
  y0: N,
81
81
  x1: _ + h,
82
- y1: x
82
+ y1: T
83
83
  }, A = Object.assign({}, y, M);
84
- N = x, w.push(A);
84
+ N = T, w.push(A);
85
85
  }
86
86
  return w;
87
87
  } else {
88
88
  for (let b = 0; b < c; b += 1) {
89
- const y = a[b], x = _ + y.normalizedValue / S, M = {
89
+ const y = a[b], T = _ + y.normalizedValue / S, M = {
90
90
  x0: _,
91
91
  y0: N,
92
- x1: x,
92
+ x1: T,
93
93
  y1: N + S
94
94
  }, A = Object.assign({}, y, M);
95
- _ = x, w.push(A);
95
+ _ = T, w.push(A);
96
96
  }
97
97
  return w;
98
98
  }
99
99
  }
100
100
  function Bt(a) {
101
- const u = de(a), s = u.width, i = u.height;
102
- return Math.min(s, i);
101
+ const u = de(a), r = u.width, i = u.height;
102
+ return Math.min(r, i);
103
103
  }
104
104
  function Ht(a, u) {
105
- const s = a.length, i = a.map((h) => h.value ?? 0).reduce((h, S) => h + S, 0), n = u / i, d = [];
105
+ const r = a.length, i = a.map((h) => h.value ?? 0).reduce((h, S) => h + S, 0), n = u / i, d = [];
106
106
  let c, v;
107
- for (let h = 0; h < s; h += 1)
107
+ for (let h = 0; h < r; h += 1)
108
108
  v = a[h], c = Object.assign({}, v, {
109
109
  normalizedValue: v.value * (n || 0)
110
110
  }), d.push(c);
111
111
  return d;
112
112
  }
113
113
  function de(a) {
114
- const { x0: u, y0: s, x1: i, y1: n } = a;
114
+ const { x0: u, y0: r, x1: i, y1: n } = a;
115
115
  return {
116
116
  xOffset: u,
117
- yOffset: s,
117
+ yOffset: r,
118
118
  width: i - u,
119
- height: n - s
119
+ height: n - r
120
120
  };
121
121
  }
122
- function Wt(a, u, s, i) {
123
- let n = a, d = u, c = s, v = i;
122
+ function Wt(a, u, r, i) {
123
+ let n = a, d = u, c = r, v = i;
124
124
  for (; ; ) {
125
125
  const h = n.length;
126
126
  if (h === 0) {
@@ -136,7 +136,7 @@ function Wt(a, u, s, i) {
136
136
  let b = 0;
137
137
  for (let A = 0; A < w; A += 1)
138
138
  b += d[A].normalizedValue;
139
- const y = Et(c, b), x = Ye(d, c), M = v.concat(x);
139
+ const y = Et(c, b), T = Ye(d, c), M = v.concat(T);
140
140
  n = n, d = [], c = y, v = M;
141
141
  }
142
142
  }
@@ -148,16 +148,16 @@ function Ze(a) {
148
148
  const u = Ht(
149
149
  a.children,
150
150
  Ut(a)
151
- ), s = Wt(u, [], a, []), i = s.length, n = [];
151
+ ), r = Wt(u, [], a, []), i = r.length, n = [];
152
152
  for (let c = 0; c < i; c += 1)
153
- n.push(Ze(s[c]));
153
+ n.push(Ze(r[c]));
154
154
  return Mt(n);
155
155
  }
156
156
  }
157
157
  function Et(a, u) {
158
- const { width: s, height: i, xOffset: n, yOffset: d } = de(a);
159
- if (s >= i) {
160
- const c = u / i, v = s - c, h = {
158
+ const { width: r, height: i, xOffset: n, yOffset: d } = de(a);
159
+ if (r >= i) {
160
+ const c = u / i, v = r - c, h = {
161
161
  xOffset: n + c,
162
162
  yOffset: d,
163
163
  width: v,
@@ -165,10 +165,10 @@ function Et(a, u) {
165
165
  };
166
166
  return je(h);
167
167
  } else {
168
- const c = u / s, v = i - c, h = {
168
+ const c = u / r, v = i - c, h = {
169
169
  xOffset: n,
170
170
  yOffset: d + c,
171
- width: s,
171
+ width: r,
172
172
  height: v
173
173
  };
174
174
  return je(h);
@@ -197,15 +197,15 @@ const Gt = ["id"], qt = ["xmlns", "viewBox"], Xt = { key: 0 }, jt = ["id"], Yt =
197
197
  }
198
198
  },
199
199
  emits: ["selectLegend", "selectDatapoint"],
200
- setup(a, { expose: u, emit: s }) {
201
- const { vue_ui_treemap: i } = vt(), n = a, d = s, c = st();
200
+ setup(a, { expose: u, emit: r }) {
201
+ const { vue_ui_treemap: i } = vt(), n = a, d = r, c = st();
202
202
  Le(() => {
203
203
  c["chart-background"] && console.warn("VueUiTreemap does not support the #chart-background slot.");
204
204
  });
205
- const v = k(() => !!n.dataset && n.dataset.length), h = k(() => /^((?!chrome|android).)*safari/i.test(navigator.userAgent)), S = f(He()), _ = f(!1), N = f(""), w = f(!1), b = f(0), y = f([]), x = f(null), M = f(null), A = f(null), ve = f(null), he = f(null), fe = f(0), pe = f(0), ge = f(0), e = k({
205
+ const v = k(() => !!n.dataset && n.dataset.length), h = k(() => /^((?!chrome|android).)*safari/i.test(navigator.userAgent)), S = f(He()), _ = f(!1), N = f(""), w = f(!1), b = f(0), y = f([]), T = f(null), M = f(null), A = f(null), ve = f(null), he = f(null), fe = f(0), pe = f(0), ge = f(0), e = k({
206
206
  get: () => we(),
207
207
  set: (t) => t
208
- }), { userOptionsVisible: se, setUserOptionsVisibility: ye, keepUserOptionState: me } = Rt({ config: e.value }), { svgRef: be } = It({ config: e.value.style.chart.title });
208
+ }), { userOptionsVisible: se, setUserOptionsVisibility: ye, keepUserOptionState: me } = It({ config: e.value }), { svgRef: be } = Rt({ config: e.value.style.chart.title });
209
209
  function we() {
210
210
  const t = qe({
211
211
  userConfig: n.config,
@@ -243,8 +243,8 @@ const Gt = ["id"], qt = ["xmlns", "viewBox"], Xt = { key: 0 }, jt = ["id"], Yt =
243
243
  }));
244
244
  function Te(t) {
245
245
  t.forEach((l, o) => {
246
- l.id = He(), l.color = ae(l.color) || Q.value[o] || O[o] || O[o % O.length], l.children && (l.children.forEach((r) => {
247
- r.parentId = l.id, r.color = l.color;
246
+ l.id = He(), l.color = ae(l.color) || Q.value[o] || O[o] || O[o % O.length], l.children && (l.children.forEach((s) => {
247
+ s.parentId = l.id, s.color = l.color;
248
248
  }), Te(l.children));
249
249
  });
250
250
  }
@@ -259,7 +259,7 @@ const Gt = ["id"], qt = ["xmlns", "viewBox"], Xt = { key: 0 }, jt = ["id"], Yt =
259
259
  }), Te(H.value), e.value.responsive) {
260
260
  const t = Pt(() => {
261
261
  const { width: l, height: o } = zt({
262
- chart: x.value,
262
+ chart: T.value,
263
263
  title: e.value.style.chart.title.text ? M.value : null,
264
264
  legend: e.value.style.chart.legend.show ? A.value : null,
265
265
  source: ve.value,
@@ -269,7 +269,7 @@ const Gt = ["id"], qt = ["xmlns", "viewBox"], Xt = { key: 0 }, jt = ["id"], Yt =
269
269
  V.value.width = l, V.value.height = o;
270
270
  });
271
271
  });
272
- ee.value = new ResizeObserver(t), ee.value.observe(x.value.parentNode);
272
+ ee.value = new ResizeObserver(t), ee.value.observe(T.value.parentNode);
273
273
  }
274
274
  }
275
275
  ut(() => {
@@ -278,7 +278,7 @@ const Gt = ["id"], qt = ["xmlns", "viewBox"], Xt = { key: 0 }, jt = ["id"], Yt =
278
278
  const re = f(H.value), Z = k(() => re.value.map((t, l) => ({
279
279
  ...t,
280
280
  color: ae(t.color) || Q.value[l] || O[l] || O[l % O.length]
281
- })).filter((t) => !y.value.includes(t.id))), G = k(() => H.value.filter((t) => !y.value.includes(t.id)).map((t) => t.value || 0).reduce((t, l) => t + l, 0)), Oe = k({
281
+ })).filter((t) => !y.value.includes(t.id))), X = k(() => H.value.filter((t) => !y.value.includes(t.id)).map((t) => t.value || 0).reduce((t, l) => t + l, 0)), Oe = k({
282
282
  get() {
283
283
  let t = [...Z.value];
284
284
  return e.value.style.chart.layout.sorted && (t = [...Z.value].sort((l, o) => o.value - l.value)), t.map((l) => ({
@@ -293,28 +293,28 @@ const Gt = ["id"], qt = ["xmlns", "viewBox"], Xt = { key: 0 }, jt = ["id"], Yt =
293
293
  return t.value / l;
294
294
  }
295
295
  function Qe(t, l, o) {
296
- const r = e.value.style.chart.layout.rects.colorRatio - _e(l, o);
297
- return We(t, r < 0 ? 0 : r);
296
+ const s = e.value.style.chart.layout.rects.colorRatio - _e(l, o);
297
+ return We(t, s < 0 ? 0 : s);
298
298
  }
299
- function Se(t, l, o, r) {
299
+ function Se(t, l, o, s) {
300
300
  return t.map((m, U) => {
301
- const le = Qe(ae(l) || Q.value[U] || O[U] || O[U % O.length], m, r), nt = _e(m, r);
301
+ const le = Qe(ae(l) || Q.value[U] || O[U] || O[U % O.length], m, s), nt = _e(m, s);
302
302
  return {
303
303
  ...m,
304
304
  color: le,
305
305
  proportion: nt,
306
306
  parentName: o,
307
- children: m.children ? Se(m.children, le, m.name, r) : void 0
307
+ children: m.children ? Se(m.children, le, m.name, s) : void 0
308
308
  };
309
309
  });
310
310
  }
311
311
  const J = k(() => Vt(
312
312
  Oe.value.map((t, l) => {
313
- const o = t.children ? t.children.reduce((r, m) => r + m.value, 0) : t.value;
313
+ const o = t.children ? t.children.reduce((s, m) => s + m.value, 0) : t.value;
314
314
  return {
315
315
  value: t.value,
316
316
  id: t.id,
317
- children: t.children ? Se(t.children.sort((r, m) => m.value - r.value), t.color, t.name, o) : void 0,
317
+ children: t.children ? Se(t.children.sort((s, m) => m.value - s.value), t.color, t.name, o) : void 0,
318
318
  color: t.color,
319
319
  name: t.name
320
320
  };
@@ -334,41 +334,41 @@ const Gt = ["id"], qt = ["xmlns", "viewBox"], Xt = { key: 0 }, jt = ["id"], Yt =
334
334
  function et(t) {
335
335
  w.value = t, b.value += 1;
336
336
  }
337
- const q = k(() => ({
337
+ const j = k(() => ({
338
338
  startX: 0,
339
339
  startY: 0,
340
340
  width: B.value.vbWidth,
341
341
  height: B.value.vbHeight
342
- })), R = f(!1);
342
+ })), I = f(!1);
343
343
  function ue(t, l = H.value) {
344
344
  for (const o of l) {
345
345
  if (o.id === t)
346
346
  return o;
347
347
  if (o.children) {
348
- const r = ue(t, o.children);
349
- if (r)
350
- return r;
348
+ const s = ue(t, o.children);
349
+ if (s)
350
+ return s;
351
351
  }
352
352
  }
353
353
  return null;
354
354
  }
355
355
  function tt(t) {
356
- if (R.value)
356
+ if (I.value)
357
357
  d("selectDatapoint", void 0), re.value = H.value;
358
358
  else {
359
359
  if (d("selectDatapoint", t), !ue(t.parentId))
360
360
  return;
361
361
  re.value = [ue(t.parentId)];
362
362
  }
363
- R.value = !R.value;
363
+ I.value = !I.value;
364
364
  }
365
- const I = f(null), ze = k(() => H.value.map((t, l) => ({
365
+ const R = f(null), ze = k(() => H.value.map((t, l) => ({
366
366
  ...t,
367
367
  color: ae(t.color) || Q.value[l] || O[l] || O[l % O.length],
368
368
  shape: "square"
369
369
  })).sort((t, l) => l.value - t.value).map((t, l) => ({
370
370
  ...t,
371
- proportion: t.value / H.value.map((o) => o.value).reduce((o, r) => o + r, 0),
371
+ proportion: t.value / H.value.map((o) => o.value).reduce((o, s) => o + s, 0),
372
372
  opacity: y.value.includes(t.id) ? 0.5 : 1
373
373
  }))), ot = k(() => ({
374
374
  cy: "treemap-div-legend",
@@ -379,11 +379,11 @@ const Gt = ["id"], qt = ["xmlns", "viewBox"], Xt = { key: 0 }, jt = ["id"], Yt =
379
379
  fontWeight: e.value.style.chart.legend.bold ? "bold" : ""
380
380
  }));
381
381
  function Ae(t) {
382
- R.value = !1, I.value = null, y.value.includes(t.id) ? y.value = y.value.filter((l) => l !== t.id) : y.value.length < n.dataset.length - 1 && y.value.push(t.id), d("selectLegend", Oe.value);
382
+ I.value = !1, R.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), d("selectLegend", Oe.value);
383
383
  }
384
384
  const ie = f(null);
385
385
  function lt({ datapoint: t, seriesIndex: l }) {
386
- I.value = t, ie.value = { datapoint: t, seriesIndex: l, config: e.value, series: Z.value };
386
+ R.value = t, ie.value = { datapoint: t, seriesIndex: l, config: e.value, series: Z.value };
387
387
  const o = e.value.style.chart.tooltip.customFormat;
388
388
  if (Ge(o) && kt(() => o({
389
389
  seriesIndex: l,
@@ -398,8 +398,8 @@ const Gt = ["id"], qt = ["xmlns", "viewBox"], Xt = { key: 0 }, jt = ["id"], Yt =
398
398
  config: e.value
399
399
  });
400
400
  else {
401
- let r = "";
402
- r += `<div style="width:100%;text-align:center;border-bottom:1px solid ${e.value.style.chart.tooltip.borderColor};padding-bottom:6px;margin-bottom:3px;">${t.name}</div>`, r += `<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>`, r += `<b>${ne(
401
+ let s = "";
402
+ s += `<div style="width:100%;text-align:center;border-bottom:1px solid ${e.value.style.chart.tooltip.borderColor};padding-bottom:6px;margin-bottom:3px;">${t.name}</div>`, s += `<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>`, s += `<b>${ne(
403
403
  e.value.style.chart.layout.labels.formatter,
404
404
  t.value,
405
405
  K({
@@ -409,7 +409,7 @@ const Gt = ["id"], qt = ["xmlns", "viewBox"], Xt = { key: 0 }, jt = ["id"], Yt =
409
409
  r: e.value.style.chart.tooltip.roundingValue
410
410
  }),
411
411
  { datapoint: t, seriesIndex: l }
412
- )}</b>`, N.value = `<div>${r}</div>`;
412
+ )}</b>`, N.value = `<div>${s}</div>`;
413
413
  }
414
414
  _.value = !0;
415
415
  }
@@ -422,9 +422,9 @@ const Gt = ["id"], qt = ["xmlns", "viewBox"], Xt = { key: 0 }, jt = ["id"], Yt =
422
422
  });
423
423
  function Fe() {
424
424
  dt(() => {
425
- const t = L.value.head.map((r, m) => [[
426
- r.name
427
- ], [L.value.body[m]], [isNaN(L.value.body[m] / G.value) ? "-" : L.value.body[m] / G.value * 100]]), l = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [[""], ["val"], ["%"]]].concat(t), o = bt(l);
425
+ const t = L.value.head.map((s, m) => [[
426
+ s.name
427
+ ], [L.value.body[m]], [isNaN(L.value.body[m] / X.value) ? "-" : L.value.body[m] / X.value * 100]]), l = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [[""], ["val"], ["%"]]].concat(t), o = bt(l);
428
428
  wt({ csvContent: o, title: e.value.style.chart.title.text || "vue-ui-treemap" });
429
429
  });
430
430
  }
@@ -451,8 +451,8 @@ const Gt = ["id"], qt = ["xmlns", "viewBox"], Xt = { key: 0 }, jt = ["id"], Yt =
451
451
  shape: "square"
452
452
  },
453
453
  le,
454
- isNaN(L.value.body[U] / G.value) ? "-" : K({
455
- v: L.value.body[U] / G.value * 100,
454
+ isNaN(L.value.body[U] / X.value) ? "-" : K({
455
+ v: L.value.body[U] / X.value * 100,
456
456
  s: "%",
457
457
  r: e.value.table.td.roundingPercentage
458
458
  })
@@ -483,10 +483,10 @@ const Gt = ["id"], qt = ["xmlns", "viewBox"], Xt = { key: 0 }, jt = ["id"], Yt =
483
483
  function at() {
484
484
  return J.value;
485
485
  }
486
- function Re() {
486
+ function Ie() {
487
487
  F.value.showTable = !F.value.showTable;
488
488
  }
489
- function Ie() {
489
+ function Re() {
490
490
  F.value.showTooltip = !F.value.showTooltip;
491
491
  }
492
492
  const oe = f(!1);
@@ -498,12 +498,12 @@ const Gt = ["id"], qt = ["xmlns", "viewBox"], Xt = { key: 0 }, jt = ["id"], Yt =
498
498
  generateCsv: Fe,
499
499
  generateImage: xe,
500
500
  generatePdf: $e,
501
- toggleTable: Re,
502
- toggleTooltip: Ie,
501
+ toggleTable: Ie,
502
+ toggleTooltip: Re,
503
503
  toggleAnnotator: ce
504
504
  }), (t, l) => (p(), C("div", {
505
505
  ref_key: "treemapChart",
506
- ref: x,
506
+ ref: T,
507
507
  class: De(`vue-ui-treemap ${w.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.value.useCssAnimation ? "" : "vue-ui-dna"}`),
508
508
  style: D(`font-family:${e.value.style.fontFamily};width:100%; ${e.value.responsive ? "height: 100%;" : ""} text-align:center;background:${e.value.style.chart.backgroundColor}`),
509
509
  id: `treemap_${S.value}`,
@@ -562,7 +562,7 @@ const Gt = ["id"], qt = ["xmlns", "viewBox"], Xt = { key: 0 }, jt = ["id"], Yt =
562
562
  isFullscreen: w.value,
563
563
  isTooltip: F.value.showTooltip,
564
564
  titles: { ...e.value.userOptions.buttonTitles },
565
- chartElement: x.value,
565
+ chartElement: T.value,
566
566
  position: e.value.userOptions.position,
567
567
  hasAnnotator: e.value.userOptions.buttons.annotator,
568
568
  isAnnotation: oe.value,
@@ -570,61 +570,68 @@ const Gt = ["id"], qt = ["xmlns", "viewBox"], Xt = { key: 0 }, jt = ["id"], Yt =
570
570
  onGeneratePdf: g($e),
571
571
  onGenerateCsv: Fe,
572
572
  onGenerateImage: g(xe),
573
- onToggleTable: Re,
574
- onToggleTooltip: Ie,
573
+ onToggleTable: Ie,
574
+ onToggleTooltip: Re,
575
575
  onToggleAnnotator: ce,
576
576
  style: D({
577
577
  visibility: g(me) ? g(se) ? "visible" : "hidden" : "visible"
578
578
  })
579
579
  }, it({ _: 2 }, [
580
+ t.$slots.menuIcon ? {
581
+ name: "menuIcon",
582
+ fn: x(({ isOpen: o, color: s }) => [
583
+ $(t.$slots, "menuIcon", G(q({ isOpen: o, color: s })), void 0, !0)
584
+ ]),
585
+ key: "0"
586
+ } : void 0,
580
587
  t.$slots.optionTooltip ? {
581
588
  name: "optionTooltip",
582
- fn: T(() => [
589
+ fn: x(() => [
583
590
  $(t.$slots, "optionTooltip", {}, void 0, !0)
584
591
  ]),
585
- key: "0"
592
+ key: "1"
586
593
  } : void 0,
587
594
  t.$slots.optionPdf ? {
588
595
  name: "optionPdf",
589
- fn: T(() => [
596
+ fn: x(() => [
590
597
  $(t.$slots, "optionPdf", {}, void 0, !0)
591
598
  ]),
592
- key: "1"
599
+ key: "2"
593
600
  } : void 0,
594
601
  t.$slots.optionCsv ? {
595
602
  name: "optionCsv",
596
- fn: T(() => [
603
+ fn: x(() => [
597
604
  $(t.$slots, "optionCsv", {}, void 0, !0)
598
605
  ]),
599
- key: "2"
606
+ key: "3"
600
607
  } : void 0,
601
608
  t.$slots.optionImg ? {
602
609
  name: "optionImg",
603
- fn: T(() => [
610
+ fn: x(() => [
604
611
  $(t.$slots, "optionImg", {}, void 0, !0)
605
612
  ]),
606
- key: "3"
613
+ key: "4"
607
614
  } : void 0,
608
615
  t.$slots.optionTable ? {
609
616
  name: "optionTable",
610
- fn: T(() => [
617
+ fn: x(() => [
611
618
  $(t.$slots, "optionTable", {}, void 0, !0)
612
619
  ]),
613
- key: "4"
620
+ key: "5"
614
621
  } : void 0,
615
622
  t.$slots.optionFullscreen ? {
616
623
  name: "optionFullscreen",
617
- fn: T(({ toggleFullscreen: o, isFullscreen: r }) => [
618
- $(t.$slots, "optionFullscreen", X(j({ toggleFullscreen: o, isFullscreen: r })), void 0, !0)
624
+ fn: x(({ toggleFullscreen: o, isFullscreen: s }) => [
625
+ $(t.$slots, "optionFullscreen", G(q({ toggleFullscreen: o, isFullscreen: s })), void 0, !0)
619
626
  ]),
620
- key: "5"
627
+ key: "6"
621
628
  } : void 0,
622
629
  t.$slots.optionAnnotator ? {
623
630
  name: "optionAnnotator",
624
- fn: T(({ toggleAnnotator: o, isAnnotator: r }) => [
625
- $(t.$slots, "optionAnnotator", X(j({ toggleAnnotator: o, isAnnotator: r })), void 0, !0)
631
+ fn: x(({ toggleAnnotator: o, isAnnotator: s }) => [
632
+ $(t.$slots, "optionAnnotator", G(q({ toggleAnnotator: o, isAnnotator: s })), void 0, !0)
626
633
  ]),
627
- key: "6"
634
+ key: "7"
628
635
  } : void 0
629
636
  ]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasTooltip", "hasPdf", "hasXls", "hasImg", "hasTable", "hasFullscreen", "isFullscreen", "isTooltip", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "onGeneratePdf", "onGenerateImage", "style"])) : P("", !0),
630
637
  v.value ? (p(), C("svg", {
@@ -632,12 +639,12 @@ const Gt = ["id"], qt = ["xmlns", "viewBox"], Xt = { key: 0 }, jt = ["id"], Yt =
632
639
  ref_key: "svgRef",
633
640
  ref: be,
634
641
  xmlns: g(mt),
635
- class: De({ "vue-data-ui-fullscreen--on": w.value, "vue-data-ui-fulscreen--off": !w.value, "vue-data-ui-zoom-plus": !R.value, "vue-data-ui-zoom-minus": R.value }),
636
- viewBox: `${q.value.startX} ${q.value.startY} ${q.value.width <= 0 ? 10 : q.value.width} ${q.value.height <= 0 ? 10 : q.value.height}`,
642
+ class: De({ "vue-data-ui-fullscreen--on": w.value, "vue-data-ui-fulscreen--off": !w.value, "vue-data-ui-zoom-plus": !I.value, "vue-data-ui-zoom-minus": I.value }),
643
+ viewBox: `${j.value.startX} ${j.value.startY} ${j.value.width <= 0 ? 10 : j.value.width} ${j.value.height <= 0 ? 10 : j.value.height}`,
637
644
  style: D(`max-width:100%; overflow: hidden; background:transparent;color:${e.value.style.chart.color}`)
638
645
  }, [
639
646
  Me(At),
640
- (p(!0), C(Ve, null, Ue(J.value, (o, r) => (p(), C("g", null, [
647
+ (p(!0), C(Ve, null, Ue(J.value, (o, s) => (p(), C("g", null, [
641
648
  e.value.style.chart.layout.rects.gradient.show ? (p(), C("defs", Xt, [
642
649
  z("radialGradient", {
643
650
  id: `tgrad_${o.id}`,
@@ -654,7 +661,7 @@ const Gt = ["id"], qt = ["xmlns", "viewBox"], Xt = { key: 0 }, jt = ["id"], Yt =
654
661
  ], 8, jt)
655
662
  ])) : P("", !0)
656
663
  ]))), 256)),
657
- (p(!0), C(Ve, null, Ue(J.value, (o, r) => (p(), C("g", null, [
664
+ (p(!0), C(Ve, null, Ue(J.value, (o, s) => (p(), C("g", null, [
658
665
  z("rect", {
659
666
  x: o.x0,
660
667
  y: o.y0,
@@ -662,17 +669,17 @@ const Gt = ["id"], qt = ["xmlns", "viewBox"], Xt = { key: 0 }, jt = ["id"], Yt =
662
669
  width: Pe(o),
663
670
  fill: h.value ? o.color : e.value.style.chart.layout.rects.gradient.show ? `url(#tgrad_${o.id})` : o.color,
664
671
  rx: e.value.style.chart.layout.rects.borderRadius,
665
- stroke: I.value && I.value.id === o.id ? e.value.style.chart.layout.rects.selected.stroke : e.value.style.chart.layout.rects.stroke,
666
- "stroke-width": I.value && I.value.id === o.id ? e.value.style.chart.layout.rects.selected.strokeWidth : e.value.style.chart.layout.rects.strokeWidth,
672
+ stroke: R.value && R.value.id === o.id ? e.value.style.chart.layout.rects.selected.stroke : e.value.style.chart.layout.rects.stroke,
673
+ "stroke-width": R.value && R.value.id === o.id ? e.value.style.chart.layout.rects.selected.strokeWidth : e.value.style.chart.layout.rects.strokeWidth,
667
674
  onClick: (m) => tt(o),
668
675
  onMouseenter: () => lt({
669
676
  datapoint: o,
670
- seriesIndex: r
677
+ seriesIndex: s
671
678
  }),
672
679
  onMouseleave: l[0] || (l[0] = (m) => {
673
- I.value = null, _.value = !1;
680
+ R.value = null, _.value = !1;
674
681
  }),
675
- style: D(`opacity:${I.value ? I.value.id === o.id ? 1 : e.value.style.chart.layout.rects.selected.unselectedOpacity : 1}`),
682
+ style: D(`opacity:${R.value ? R.value.id === o.id ? 1 : e.value.style.chart.layout.rects.selected.unselectedOpacity : 1}`),
676
683
  class: "vue-ui-treemap-rect"
677
684
  }, null, 44, Jt),
678
685
  (p(), C("foreignObject", {
@@ -683,7 +690,7 @@ const Gt = ["id"], qt = ["xmlns", "viewBox"], Xt = { key: 0 }, jt = ["id"], Yt =
683
690
  class: "vue-ui-treemap-cell-foreignObject"
684
691
  }, [
685
692
  z("div", Qt, [
686
- e.value.style.chart.layout.labels.showDefaultLabels && (o.proportion > e.value.style.chart.layout.labels.hideUnderProportion || R.value) ? (p(), C("div", {
693
+ e.value.style.chart.layout.labels.showDefaultLabels && (o.proportion > e.value.style.chart.layout.labels.hideUnderProportion || I.value) ? (p(), C("div", {
687
694
  key: 0,
688
695
  class: "vue-ui-treemap-cell-default",
689
696
  style: D(`width:calc(100% - ${W(o) / 1.5}px);text-align:left;line-height:${W(o) < 14 ? 14 : W(o)}px;padding:${W(o) / 3}px; color:${g(Ee)(o.color)}`)
@@ -708,18 +715,18 @@ const Gt = ["id"], qt = ["xmlns", "viewBox"], Xt = { key: 0 }, jt = ["id"], Yt =
708
715
  ], 4)) : P("", !0),
709
716
  $(t.$slots, "rect", ct({ ref_for: !0 }, {
710
717
  rect: o,
711
- shouldShow: o.proportion > e.value.style.chart.layout.labels.hideUnderProportion || R.value,
718
+ shouldShow: o.proportion > e.value.style.chart.layout.labels.hideUnderProportion || I.value,
712
719
  fontSize: W(o),
713
- isZoom: R.value,
720
+ isZoom: I.value,
714
721
  textColor: g(Ee)(o.color)
715
722
  }), void 0, !0)
716
723
  ])
717
724
  ], 8, Kt))
718
725
  ]))), 256)),
719
- $(t.$slots, "svg", X(j({ svg: B.value, isZoom: R.value, rect: I.value, config: e.value })), void 0, !0)
726
+ $(t.$slots, "svg", G(q({ svg: B.value, isZoom: I.value, rect: R.value, config: e.value })), void 0, !0)
720
727
  ], 14, qt)) : P("", !0),
721
728
  t.$slots.watermark ? (p(), C("div", eo, [
722
- $(t.$slots, "watermark", X(j({ isPrinting: g(ke) || g(Ce) })), void 0, !0)
729
+ $(t.$slots, "watermark", G(q({ isPrinting: g(ke) || g(Ce) })), void 0, !0)
723
730
  ])) : P("", !0),
724
731
  v.value ? P("", !0) : (p(), E(_t, {
725
732
  key: 6,
@@ -744,7 +751,7 @@ const Gt = ["id"], qt = ["xmlns", "viewBox"], Xt = { key: 0 }, jt = ["id"], Yt =
744
751
  id: `treemap_legend_${S.value}`,
745
752
  onClickMarker: l[1] || (l[1] = ({ legend: o }) => Ae(o))
746
753
  }, {
747
- item: T(({ legend: o, index: r }) => [
754
+ item: x(({ legend: o, index: s }) => [
748
755
  z("div", {
749
756
  onClick: (m) => Ae(o),
750
757
  style: D(`opacity:${y.value.includes(o.id) ? 0.5 : 1}`)
@@ -760,7 +767,7 @@ const Gt = ["id"], qt = ["xmlns", "viewBox"], Xt = { key: 0 }, jt = ["id"], Yt =
760
767
  }),
761
768
  { datapoint: o }
762
769
  )) + " ", 1),
763
- y.value.includes(o.id) ? (p(), C("span", lo, " ( - % ) ")) : (p(), C("span", oo, " (" + Y(isNaN(o.value / G.value) ? "-" : (o.value / G.value * 100).toFixed(e.value.style.chart.legend.roundingPercentage)) + "%) ", 1))
770
+ y.value.includes(o.id) ? (p(), C("span", lo, " ( - % ) ")) : (p(), C("span", oo, " (" + Y(isNaN(o.value / X.value) ? "-" : (o.value / X.value * 100).toFixed(e.value.style.chart.legend.roundingPercentage)) + "%) ", 1))
764
771
  ], 12, to)
765
772
  ]),
766
773
  _: 1
@@ -788,16 +795,16 @@ const Gt = ["id"], qt = ["xmlns", "viewBox"], Xt = { key: 0 }, jt = ["id"], Yt =
788
795
  backgroundOpacity: e.value.style.chart.tooltip.backgroundOpacity,
789
796
  position: e.value.style.chart.tooltip.position,
790
797
  offsetY: e.value.style.chart.tooltip.offsetY,
791
- parent: x.value,
798
+ parent: T.value,
792
799
  content: N.value,
793
800
  isFullscreen: w.value,
794
801
  isCustom: g(Ge)(e.value.style.chart.tooltip.customFormat)
795
802
  }, {
796
- "tooltip-before": T(() => [
797
- $(t.$slots, "tooltip-before", X(j({ ...ie.value })), void 0, !0)
803
+ "tooltip-before": x(() => [
804
+ $(t.$slots, "tooltip-before", G(q({ ...ie.value })), void 0, !0)
798
805
  ]),
799
- "tooltip-after": T(() => [
800
- $(t.$slots, "tooltip-after", X(j({ ...ie.value })), void 0, !0)
806
+ "tooltip-after": x(() => [
807
+ $(t.$slots, "tooltip-after", G(q({ ...ie.value })), void 0, !0)
801
808
  ]),
802
809
  _: 3
803
810
  }, 8, ["show", "backgroundColor", "color", "fontSize", "borderRadius", "borderColor", "borderWidth", "backgroundOpacity", "position", "offsetY", "parent", "content", "isFullscreen", "isCustom"]),
@@ -817,7 +824,7 @@ const Gt = ["id"], qt = ["xmlns", "viewBox"], Xt = { key: 0 }, jt = ["id"], Yt =
817
824
  }
818
825
  }
819
826
  }, {
820
- content: T(() => [
827
+ content: x(() => [
821
828
  (p(), E(St, {
822
829
  key: `table_${pe.value}`,
823
830
  colNames: te.value.colNames,
@@ -827,13 +834,13 @@ const Gt = ["id"], qt = ["xmlns", "viewBox"], Xt = { key: 0 }, jt = ["id"], Yt =
827
834
  title: `${e.value.style.chart.title.text}${e.value.style.chart.title.subtitle.text ? ` : ${e.value.style.chart.title.subtitle.text}` : ""}`,
828
835
  onClose: l[2] || (l[2] = (o) => F.value.showTable = !1)
829
836
  }, {
830
- th: T(({ th: o }) => [
837
+ th: x(({ th: o }) => [
831
838
  z("div", {
832
839
  innerHTML: o,
833
840
  style: { display: "flex", "align-items": "center" }
834
841
  }, null, 8, ao)
835
842
  ]),
836
- td: T(({ td: o }) => [
843
+ td: x(({ td: o }) => [
837
844
  Be(Y(o.name || o), 1)
838
845
  ]),
839
846
  _: 1
@@ -843,7 +850,7 @@ const Gt = ["id"], qt = ["xmlns", "viewBox"], Xt = { key: 0 }, jt = ["id"], Yt =
843
850
  }, 8, ["config"])) : P("", !0)
844
851
  ], 46, Gt));
845
852
  }
846
- }, $o = /* @__PURE__ */ Lt(no, [["__scopeId", "data-v-d5198c31"]]);
853
+ }, $o = /* @__PURE__ */ Lt(no, [["__scopeId", "data-v-4d059d9f"]]);
847
854
  export {
848
855
  $o as default
849
856
  };