vue-data-ui 2.4.84 → 2.4.86

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 (168) hide show
  1. package/dist/{Arrow-DCfmf5dA.cjs → Arrow-Bh7Ezbzf.cjs} +1 -1
  2. package/dist/{Arrow-CExa0Dz7.js → Arrow-DpgbndsU.js} +1 -1
  3. package/dist/{BaseIcon-64qWZUaJ.cjs → BaseIcon-CaKclr1e.cjs} +1 -1
  4. package/dist/{BaseIcon-I6DfuN0D.js → BaseIcon-CdPe2CAc.js} +1 -1
  5. package/dist/{DataTable-DYhXzoFM.js → DataTable-BfiPjHpN.js} +2 -2
  6. package/dist/{DataTable-C_6KWwfC.cjs → DataTable-DuosyZ6d.cjs} +1 -1
  7. package/dist/{Legend-BkolTSZc.cjs → Legend-BnKYc6ZY.cjs} +1 -1
  8. package/dist/{Legend-D8VMKZ6f.js → Legend-DiFDWEo2.js} +2 -2
  9. package/dist/{PackageVersion-BV362f3w.cjs → PackageVersion-B5rBHZEb.cjs} +1 -1
  10. package/dist/{PackageVersion-CO2IMTO9.js → PackageVersion-qom4AEUr.js} +1 -1
  11. package/dist/{PenAndPaper-DvN8ocWC.cjs → PenAndPaper-5OV7IAca.cjs} +1 -1
  12. package/dist/{PenAndPaper-CnW2eqXw.js → PenAndPaper-C-1AU46J.js} +3 -3
  13. package/dist/{Shape-VkiqMBJb.cjs → Shape-CmsIulaS.cjs} +1 -1
  14. package/dist/{Shape-Bit--n_P.js → Shape-Dmv7nCLC.js} +1 -1
  15. package/dist/{Slicer-D8EYKe1g.cjs → Slicer-CmBt4xoj.cjs} +1 -1
  16. package/dist/{Slicer-BIRZ38gw.js → Slicer-D4ugcR39.js} +2 -2
  17. package/dist/{Title-C_gOJvlv.js → Title-ClQ27HaB.js} +1 -1
  18. package/dist/{Title-BVwrrnjn.cjs → Title-D3kX1BVl.cjs} +1 -1
  19. package/dist/{Tooltip-CfsfUzgu.cjs → Tooltip-CARCyQNT.cjs} +1 -1
  20. package/dist/{Tooltip-Czv48jTt.js → Tooltip-CGYgJoPR.js} +1 -1
  21. package/dist/{index-CFW17vb1.js → index-CXx0JV8R.js} +1 -1
  22. package/dist/{index-DtU3BvTq.cjs → index-DqxDpUy0.cjs} +1 -1
  23. package/dist/style.css +1 -1
  24. package/dist/{useNestedProp-HPB1YHuD.js → useNestedProp-B-WAbP7E.js} +1 -1
  25. package/dist/{useNestedProp-Bwqm-3kz.cjs → useNestedProp-DNWKDmdP.cjs} +1 -1
  26. package/dist/{usePrinter-CdEwyYTo.cjs → usePrinter-BC7U4s0U.cjs} +1 -1
  27. package/dist/{usePrinter-19frcFuH.js → usePrinter-Ctor1UK0.js} +1 -1
  28. package/dist/{vue-data-ui-Cwa_3CUx.js → vue-data-ui-BpAZx3Va.js} +60 -60
  29. package/dist/{vue-data-ui-Do7J2TPn.cjs → vue-data-ui-DkgWwqtw.cjs} +1 -1
  30. package/dist/vue-data-ui.cjs +1 -1
  31. package/dist/vue-data-ui.js +1 -1
  32. package/dist/{vue-ui-3d-bar-DFyAJ8Js.js → vue-ui-3d-bar-1A6t1biQ.js} +9 -9
  33. package/dist/{vue-ui-3d-bar-BHQnk6JC.cjs → vue-ui-3d-bar-ngD35pLb.cjs} +1 -1
  34. package/dist/{vue-ui-accordion-B8vShfXi.js → vue-ui-accordion-BljYKOXR.js} +3 -3
  35. package/dist/{vue-ui-accordion-DP9u_TW0.cjs → vue-ui-accordion-XAEm2rxj.cjs} +1 -1
  36. package/dist/vue-ui-age-pyramid-BgsDYe37.cjs +1 -0
  37. package/dist/{vue-ui-age-pyramid-Dmve7QfH.js → vue-ui-age-pyramid-qfVpUr52.js} +14 -12
  38. package/dist/{vue-ui-annotator-BlXk3QBH.js → vue-ui-annotator-CH9QWqAv.js} +1 -1
  39. package/dist/{vue-ui-annotator-D9EQpzhs.cjs → vue-ui-annotator-pFybuGix.cjs} +1 -1
  40. package/dist/{vue-ui-bullet-C_689DzY.js → vue-ui-bullet-BH7zmX0E.js} +8 -8
  41. package/dist/{vue-ui-bullet-HVCVCTLU.cjs → vue-ui-bullet-C6y7Ddg-.cjs} +1 -1
  42. package/dist/{vue-ui-candlestick-jaQCvTyL.cjs → vue-ui-candlestick-DtCmxeo5.cjs} +2 -2
  43. package/dist/{vue-ui-candlestick-BeoPugFC.js → vue-ui-candlestick-RCtFAjEU.js} +72 -70
  44. package/dist/{vue-ui-carousel-table-DSJth2mn.js → vue-ui-carousel-table-BUL063mi.js} +4 -4
  45. package/dist/{vue-ui-carousel-table-C6TjkSgb.cjs → vue-ui-carousel-table-BeDenKJo.cjs} +1 -1
  46. package/dist/{vue-ui-chestnut-B2ufyy3m.cjs → vue-ui-chestnut-B6EalNLT.cjs} +1 -1
  47. package/dist/{vue-ui-chestnut-DYFaL9sS.js → vue-ui-chestnut-xDD_4bz2.js} +8 -8
  48. package/dist/{vue-ui-cursor-0SZiJ6tf.js → vue-ui-cursor-D6Qndjnn.js} +2 -2
  49. package/dist/{vue-ui-cursor-B8ne66iS.cjs → vue-ui-cursor-DbV0HXHB.cjs} +1 -1
  50. package/dist/{vue-ui-dashboard-9JNDS8H_.js → vue-ui-dashboard-B_4ot4bz.js} +2 -2
  51. package/dist/{vue-ui-dashboard-Cc6YeOue.cjs → vue-ui-dashboard-B_kj8L_A.cjs} +1 -1
  52. package/dist/{vue-ui-digits-DNyhJL4P.js → vue-ui-digits-BLI4lCZC.js} +2 -2
  53. package/dist/{vue-ui-digits-lJ7p7zK0.cjs → vue-ui-digits-DKs2fTGz.cjs} +1 -1
  54. package/dist/vue-ui-donut-B1Cg4vpI.cjs +1 -0
  55. package/dist/{vue-ui-donut-evolution-CNUN-Ibl.cjs → vue-ui-donut-evolution-CgB_aexh.cjs} +1 -1
  56. package/dist/{vue-ui-donut-evolution-BZgaPkPQ.js → vue-ui-donut-evolution-ClOGDHiK.js} +11 -11
  57. package/dist/{vue-ui-donut-rUTpcnu6.js → vue-ui-donut-wBZoPkru.js} +17 -15
  58. package/dist/vue-ui-dumbbell-Cm5O6D4x.cjs +9 -0
  59. package/dist/{vue-ui-dumbbell-Dt0y6iAc.js → vue-ui-dumbbell-PR9tHMvD.js} +48 -46
  60. package/dist/{vue-ui-flow-DoDnRTz2.cjs → vue-ui-flow-CIkXePxd.cjs} +1 -1
  61. package/dist/{vue-ui-flow-CNJvuCPl.js → vue-ui-flow-CxW8g0NW.js} +9 -9
  62. package/dist/{vue-ui-funnel-CzxjqsPW.js → vue-ui-funnel-BJNlWIq5.js} +37 -35
  63. package/dist/vue-ui-funnel-BLXk1z5r.cjs +1 -0
  64. package/dist/{vue-ui-galaxy-Bd3A40CM.cjs → vue-ui-galaxy-C01Apc4E.cjs} +1 -1
  65. package/dist/{vue-ui-galaxy-4lQvAV3d.js → vue-ui-galaxy-DuGLDGzf.js} +11 -11
  66. package/dist/{vue-ui-gauge-C-VzxGad.js → vue-ui-gauge-CBx84KCt.js} +28 -26
  67. package/dist/vue-ui-gauge-Dpcxdegh.cjs +1 -0
  68. package/dist/{vue-ui-gizmo-CE_RL3QC.js → vue-ui-gizmo-BPIyNNkI.js} +3 -3
  69. package/dist/{vue-ui-gizmo-C_H8YGW3.cjs → vue-ui-gizmo-Djw5T_Vr.cjs} +1 -1
  70. package/dist/{vue-ui-heatmap-GRSinjd8.js → vue-ui-heatmap-DI8gVwfM.js} +10 -10
  71. package/dist/{vue-ui-heatmap-9F3jF9Ph.cjs → vue-ui-heatmap-DYPE1Efx.cjs} +1 -1
  72. package/dist/vue-ui-history-plot-BeYYrq5_.cjs +1 -0
  73. package/dist/{vue-ui-history-plot-DmGaPsqO.js → vue-ui-history-plot-CWfWMwqw.js} +56 -54
  74. package/dist/{vue-ui-kpi-Ce45VFCW.cjs → vue-ui-kpi-BjGIj-IQ.cjs} +1 -1
  75. package/dist/{vue-ui-kpi-BeGj6WIY.js → vue-ui-kpi-CBJZp-nE.js} +3 -3
  76. package/dist/{vue-ui-mini-loader-D3edtEz_.cjs → vue-ui-mini-loader-Cafts_cp.cjs} +1 -1
  77. package/dist/{vue-ui-mini-loader-DE8S92Sq.js → vue-ui-mini-loader-DfeNWsJk.js} +2 -2
  78. package/dist/{vue-ui-molecule-B3DvbGKk.js → vue-ui-molecule-BTO5WRuL.js} +11 -11
  79. package/dist/{vue-ui-molecule-CBXx1n83.cjs → vue-ui-molecule-Ckh2JsOJ.cjs} +1 -1
  80. package/dist/{vue-ui-mood-radar-D86fg_ce.js → vue-ui-mood-radar-CKGwiCsd.js} +11 -11
  81. package/dist/{vue-ui-mood-radar-LiiA0Dc-.cjs → vue-ui-mood-radar-WHFk1KC1.cjs} +1 -1
  82. package/dist/{vue-ui-nested-donuts-BXKM6dJG.cjs → vue-ui-nested-donuts-BvkJoiOT.cjs} +2 -2
  83. package/dist/{vue-ui-nested-donuts-jk4b-l4R.js → vue-ui-nested-donuts-JGie_log.js} +16 -14
  84. package/dist/{vue-ui-onion-DMDU5CNx.cjs → vue-ui-onion-BWoVr0FT.cjs} +2 -2
  85. package/dist/{vue-ui-onion-0OpNltFd.js → vue-ui-onion-BXauNEVz.js} +31 -29
  86. package/dist/{vue-ui-parallel-coordinate-plot-C6z7ZrZv.cjs → vue-ui-parallel-coordinate-plot-BrvB0jer.cjs} +2 -2
  87. package/dist/{vue-ui-parallel-coordinate-plot-CK1Npqa-.js → vue-ui-parallel-coordinate-plot-njogPtYo.js} +62 -60
  88. package/dist/vue-ui-quadrant-D8krEYWV.cjs +1 -0
  89. package/dist/{vue-ui-quadrant-BTXxbgGe.js → vue-ui-quadrant-DnaOzxMc.js} +16 -14
  90. package/dist/{vue-ui-quick-chart-C648x_Ta.cjs → vue-ui-quick-chart-DTiell5S.cjs} +2 -2
  91. package/dist/{vue-ui-quick-chart-DxTYh43Q.js → vue-ui-quick-chart-kAG9Eaxb.js} +55 -53
  92. package/dist/vue-ui-radar-DKB9rVav.cjs +1 -0
  93. package/dist/{vue-ui-radar-ogrYz2LM.js → vue-ui-radar-DRmP5yb4.js} +100 -98
  94. package/dist/{vue-ui-rating-BA3qzlLU.cjs → vue-ui-rating-BtLDJSwm.cjs} +1 -1
  95. package/dist/{vue-ui-rating-BDOw91i1.js → vue-ui-rating-De5IfgHJ.js} +2 -2
  96. package/dist/vue-ui-relation-circle-B2l-2KnH.cjs +1 -0
  97. package/dist/{vue-ui-relation-circle-DzIUtPsI.js → vue-ui-relation-circle-DKQl7eWX.js} +56 -54
  98. package/dist/{vue-ui-rings-ZT5FspBJ.js → vue-ui-rings-Dwyz2fEm.js} +39 -37
  99. package/dist/{vue-ui-rings-CC2lRhXV.cjs → vue-ui-rings-KQoMkv4v.cjs} +2 -2
  100. package/dist/vue-ui-scatter-CDT3zyXP.cjs +1 -0
  101. package/dist/{vue-ui-scatter-DWrEQi8R.js → vue-ui-scatter-DeOrkD2Y.js} +52 -50
  102. package/dist/{vue-ui-screenshot-C5qnoqpN.cjs → vue-ui-screenshot-BLp1_Q6K.cjs} +1 -1
  103. package/dist/{vue-ui-screenshot-Cu9IDDlN.js → vue-ui-screenshot-D1Ekbb27.js} +1 -1
  104. package/dist/{vue-ui-skeleton-RRyod9qq.js → vue-ui-skeleton-Cw0-Ac_0.js} +3 -3
  105. package/dist/{vue-ui-skeleton-BJjc2poJ.cjs → vue-ui-skeleton-qIxxRRaX.cjs} +1 -1
  106. package/dist/{vue-ui-smiley-y9nTUBhA.cjs → vue-ui-smiley-D3WgXFhb.cjs} +1 -1
  107. package/dist/{vue-ui-smiley-Ph-v2-Ai.js → vue-ui-smiley-D3oqt6Rg.js} +2 -2
  108. package/dist/{vue-ui-spark-trend-CLToG1xM.cjs → vue-ui-spark-trend-CVyPm6ms.cjs} +1 -1
  109. package/dist/{vue-ui-spark-trend-Bny5SJnu.js → vue-ui-spark-trend-DyhcWMWz.js} +5 -5
  110. package/dist/{vue-ui-sparkbar-Cte6J2j-.js → vue-ui-sparkbar-C0av7SAn.js} +4 -4
  111. package/dist/{vue-ui-sparkbar-XuIl0I-2.cjs → vue-ui-sparkbar-CRMMOv0T.cjs} +1 -1
  112. package/dist/{vue-ui-sparkgauge-NGpDEiOA.js → vue-ui-sparkgauge-B3K4si6u.js} +4 -4
  113. package/dist/{vue-ui-sparkgauge-85UuRRgo.cjs → vue-ui-sparkgauge-BQnxP_8u.cjs} +1 -1
  114. package/dist/{vue-ui-sparkhistogram-DC6GQfGG.js → vue-ui-sparkhistogram-Bo3pkA-I.js} +5 -5
  115. package/dist/{vue-ui-sparkhistogram-g9PwZ66_.cjs → vue-ui-sparkhistogram-DVAas7L7.cjs} +1 -1
  116. package/dist/vue-ui-sparkline-CDqFBaPU.cjs +1 -0
  117. package/dist/{vue-ui-sparkline-Cv0OStNn.js → vue-ui-sparkline-DIHKGu0H.js} +37 -35
  118. package/dist/{vue-ui-sparkstackbar-Dvi0gC4_.cjs → vue-ui-sparkstackbar-CC-OaMTb.cjs} +1 -1
  119. package/dist/{vue-ui-sparkstackbar-lUSVcaQd.js → vue-ui-sparkstackbar-DG87wFd5.js} +5 -5
  120. package/dist/{vue-ui-stackbar-DjJtIsdz.cjs → vue-ui-stackbar-CVHKHNom.cjs} +2 -2
  121. package/dist/{vue-ui-stackbar-CqbbJfYt.js → vue-ui-stackbar-fZKaRitE.js} +55 -53
  122. package/dist/vue-ui-strip-plot-C1pjZ1AT.cjs +1 -0
  123. package/dist/{vue-ui-strip-plot-BCg5ReEr.js → vue-ui-strip-plot-WOMaN28I.js} +77 -75
  124. package/dist/{vue-ui-table-BLtxfmhY.cjs → vue-ui-table-CTtYDZPd.cjs} +1 -1
  125. package/dist/{vue-ui-table-C0gtq240.js → vue-ui-table-a4m3lpRq.js} +1 -1
  126. package/dist/{vue-ui-table-heatmap-QuqCtJWs.js → vue-ui-table-heatmap-0vDMKYpV.js} +4 -4
  127. package/dist/{vue-ui-table-heatmap-Df4MQoU-.cjs → vue-ui-table-heatmap-i00aBLPq.cjs} +1 -1
  128. package/dist/{vue-ui-table-sparkline-Cgt7aEwb.js → vue-ui-table-sparkline-D5lngzCM.js} +5 -5
  129. package/dist/{vue-ui-table-sparkline-CUD-P2XB.cjs → vue-ui-table-sparkline-DW7t3xfB.cjs} +1 -1
  130. package/dist/{vue-ui-thermometer-Dmba_BQM.js → vue-ui-thermometer-3aeRI-SM.js} +7 -7
  131. package/dist/{vue-ui-thermometer-DwFIhO9V.cjs → vue-ui-thermometer-QtlVD4-S.cjs} +1 -1
  132. package/dist/vue-ui-timer-B1nkj0WG.cjs +64 -0
  133. package/dist/{vue-ui-timer-C7B7kC_T.js → vue-ui-timer-mRaLpRHZ.js} +35 -33
  134. package/dist/{vue-ui-tiremarks-D5xKuhfo.js → vue-ui-tiremarks-Dv2O6FpS.js} +7 -7
  135. package/dist/{vue-ui-tiremarks-Cbu6E711.cjs → vue-ui-tiremarks-xMuvEsN7.cjs} +1 -1
  136. package/dist/vue-ui-treemap-BupfwSFa.cjs +1 -0
  137. package/dist/{vue-ui-treemap-4MV0XnQk.js → vue-ui-treemap-D89aQanB.js} +37 -35
  138. package/dist/{vue-ui-vertical-bar-CXyj54xk.js → vue-ui-vertical-bar-BpLIp4qR.js} +53 -51
  139. package/dist/{vue-ui-vertical-bar-CoReGxcB.cjs → vue-ui-vertical-bar-CwHag6jq.cjs} +2 -2
  140. package/dist/vue-ui-waffle-DuPI0NV4.cjs +1 -0
  141. package/dist/{vue-ui-waffle-DEs7x_2T.js → vue-ui-waffle-sr2mWvpN.js} +50 -48
  142. package/dist/{vue-ui-wheel-g8X99gKX.js → vue-ui-wheel-B7DOHXW8.js} +22 -20
  143. package/dist/vue-ui-wheel-C0KYRHGC.cjs +1 -0
  144. package/dist/vue-ui-word-cloud-BCPMmXhU.cjs +1 -0
  145. package/dist/{vue-ui-word-cloud-CVa0GWD2.js → vue-ui-word-cloud-BxMb7oCr.js} +47 -45
  146. package/dist/vue-ui-xy-D5ROTNHD.cjs +3 -0
  147. package/dist/{vue-ui-xy-BGlQK1KX.js → vue-ui-xy-DlyUTKB5.js} +809 -818
  148. package/dist/{vue-ui-xy-canvas-B8lWHhig.cjs → vue-ui-xy-canvas-BDMk6XVE.cjs} +2 -2
  149. package/dist/{vue-ui-xy-canvas-C5WvLq7x.js → vue-ui-xy-canvas-DHvkJKQH.js} +36 -34
  150. package/package.json +1 -1
  151. package/dist/vue-ui-age-pyramid-DZM35V2u.cjs +0 -1
  152. package/dist/vue-ui-donut-B1pUA9f9.cjs +0 -1
  153. package/dist/vue-ui-dumbbell-Cvsoh0T7.cjs +0 -9
  154. package/dist/vue-ui-funnel-BuMkpJAC.cjs +0 -1
  155. package/dist/vue-ui-gauge-BE_j4sWG.cjs +0 -1
  156. package/dist/vue-ui-history-plot-CCRPcG-q.cjs +0 -1
  157. package/dist/vue-ui-quadrant-BseIxY55.cjs +0 -1
  158. package/dist/vue-ui-radar-BRL3W3Na.cjs +0 -1
  159. package/dist/vue-ui-relation-circle-lh7NE0h5.cjs +0 -1
  160. package/dist/vue-ui-scatter-ebuihNvY.cjs +0 -1
  161. package/dist/vue-ui-sparkline-BiqTIIb1.cjs +0 -1
  162. package/dist/vue-ui-strip-plot-y7iID0n4.cjs +0 -1
  163. package/dist/vue-ui-timer-mYvuMMWA.cjs +0 -64
  164. package/dist/vue-ui-treemap-CE67vTLK.cjs +0 -1
  165. package/dist/vue-ui-waffle-8nA0-Wb6.cjs +0 -1
  166. package/dist/vue-ui-wheel-CJr7fA0P.cjs +0 -1
  167. package/dist/vue-ui-word-cloud-B6swJJCN.cjs +0 -1
  168. package/dist/vue-ui-xy-lkMHpHRs.cjs +0 -3
@@ -1,16 +1,16 @@
1
- import { useSlots as at, onMounted as Ie, computed as k, ref as f, watch as nt, onBeforeUnmount as st, openBlock as g, createElementBlock as w, normalizeClass as Le, normalizeStyle as R, unref as y, createBlock as E, createCommentVNode as S, createSlots as rt, withCtx as T, renderSlot as $, normalizeProps as G, guardReactiveProps as X, createVNode as Re, Fragment as De, renderList as Me, createElementVNode as N, toDisplayString as Y, createTextVNode as Ve, nextTick as ut, pushScopeId as it, popScopeId as ct } from "vue";
2
- import { u as dt, c as Ue, t as vt, a as ht, p as _, b as ft, o as pt, e as gt, d as ae, i as ne, f as K, X as yt, l as Be, G as He, x as We, y as mt, q as bt, r as kt } from "./index-CFW17vb1.js";
3
- import { _ as wt } from "./Title-C_gOJvlv.js";
4
- import { u as Ct, U as $t } from "./usePrinter-19frcFuH.js";
5
- import { _ as xt } from "./Tooltip-Czv48jTt.js";
6
- import { L as Tt } from "./Legend-D8VMKZ6f.js";
7
- import _t from "./vue-ui-skeleton-RRyod9qq.js";
8
- import { D as Ot } from "./DataTable-DYhXzoFM.js";
9
- import St from "./vue-ui-accordion-B8vShfXi.js";
1
+ import { useSlots as at, onMounted as Ie, computed as k, ref as f, watch as nt, onBeforeUnmount as st, openBlock as g, createElementBlock as w, normalizeClass as Le, normalizeStyle as R, unref as y, createBlock as E, createCommentVNode as S, createSlots as rt, withCtx as T, renderSlot as $, normalizeProps as G, guardReactiveProps as q, createVNode as Re, Fragment as De, renderList as Me, createElementVNode as N, toDisplayString as Y, createTextVNode as Ve, nextTick as ut, pushScopeId as it, popScopeId as ct } from "vue";
2
+ import { u as dt, c as Ue, t as vt, a as ht, p as _, b as ft, o as pt, e as gt, d as ae, i as ne, f as K, X as yt, l as Be, G as He, x as We, y as mt, q as bt, r as kt } from "./index-CXx0JV8R.js";
3
+ import { _ as wt } from "./Title-ClQ27HaB.js";
4
+ import { u as Ct, U as $t } from "./usePrinter-Ctor1UK0.js";
5
+ import { _ as xt } from "./Tooltip-CGYgJoPR.js";
6
+ import { L as Tt } from "./Legend-DiFDWEo2.js";
7
+ import _t from "./vue-ui-skeleton-Cw0-Ac_0.js";
8
+ import { D as Ot } from "./DataTable-BfiPjHpN.js";
9
+ import St from "./vue-ui-accordion-BljYKOXR.js";
10
10
  import { t as Nt, u as zt } from "./useResponsive-CoxXLe23.js";
11
- import { u as Ee } from "./useNestedProp-HPB1YHuD.js";
12
- import { _ as Pt } from "./PackageVersion-CO2IMTO9.js";
13
- import { P as At } from "./PenAndPaper-CnW2eqXw.js";
11
+ import { u as Ee } from "./useNestedProp-B-WAbP7E.js";
12
+ import { _ as Pt } from "./PackageVersion-qom4AEUr.js";
13
+ import { P as At } from "./PenAndPaper-C-1AU46J.js";
14
14
  import { u as Ft } from "./useUserOptionState-BIvW1Kz7.js";
15
15
  import { _ as It } from "./_plugin-vue_export-helper-CHgC5LLL.js";
16
16
  function Ge(a, c) {
@@ -29,7 +29,7 @@ function Ge(a, c) {
29
29
  );
30
30
  }
31
31
  }
32
- function Xe(a) {
32
+ function qe(a) {
33
33
  const { xOffset: c, yOffset: s, width: n, height: i } = a;
34
34
  return {
35
35
  x0: c,
@@ -68,7 +68,7 @@ function Dt(a, c) {
68
68
  function Mt(a) {
69
69
  return (a.x1 - a.x0) * (a.y1 - a.y0);
70
70
  }
71
- function qe(a, c) {
71
+ function Xe(a, c) {
72
72
  const { width: s, height: n, xOffset: i, yOffset: v } = de(c), u = a.length, p = a.map((h) => h.normalizedValue || 0).reduce((h, b) => h + b, 0), d = p / n, z = p / s;
73
73
  let O = i, C = v;
74
74
  const x = [];
@@ -123,7 +123,7 @@ function Bt(a, c, s, n) {
123
123
  for (; ; ) {
124
124
  const d = i.length;
125
125
  if (d === 0) {
126
- const x = qe(v, u);
126
+ const x = Xe(v, u);
127
127
  return p.concat(x);
128
128
  }
129
129
  const z = Vt(u), O = i[0], C = i.slice(1, d);
@@ -135,7 +135,7 @@ function Bt(a, c, s, n) {
135
135
  let h = 0;
136
136
  for (let A = 0; A < x; A += 1)
137
137
  h += v[A].normalizedValue;
138
- const b = Ht(u, h), P = qe(v, u), D = p.concat(P);
138
+ const b = Ht(u, h), P = Xe(v, u), D = p.concat(P);
139
139
  i = i, v = [], u = b, p = D;
140
140
  }
141
141
  }
@@ -162,7 +162,7 @@ function Ht(a, c) {
162
162
  width: p,
163
163
  height: n
164
164
  };
165
- return Xe(d);
165
+ return qe(d);
166
166
  } else {
167
167
  const u = c / s, p = n - u, d = {
168
168
  xOffset: i,
@@ -170,10 +170,10 @@ function Ht(a, c) {
170
170
  width: s,
171
171
  height: p
172
172
  };
173
- return Xe(d);
173
+ return qe(d);
174
174
  }
175
175
  }
176
- const Wt = (a) => (it("data-v-d58b1737"), a = a(), ct(), a), Et = ["id"], Gt = ["xmlns", "viewBox"], Xt = { key: 0 }, qt = ["id"], jt = ["stop-color"], Yt = ["stop-color"], Zt = ["x", "y", "height", "width", "fill", "rx", "stroke", "stroke-width", "onClick", "onMouseenter"], Jt = ["x", "y", "height", "width"], Kt = {
176
+ const Wt = (a) => (it("data-v-1f72136b"), a = a(), ct(), a), Et = ["id"], Gt = ["xmlns", "viewBox"], qt = { key: 0 }, Xt = ["id"], jt = ["stop-color"], Yt = ["stop-color"], Zt = ["x", "y", "height", "width", "fill", "rx", "stroke", "stroke-width", "onClick", "onMouseenter"], Jt = ["x", "y", "height", "width"], Kt = {
177
177
  style: { width: "100%", height: "100%" },
178
178
  class: "vue-ui-treemap-cell"
179
179
  }, Qt = /* @__PURE__ */ Wt(() => /* @__PURE__ */ N("br", null, null, -1)), eo = {
@@ -264,7 +264,9 @@ const Wt = (a) => (it("data-v-d58b1737"), a = a(), ct(), a), Et = ["id"], Gt = [
264
264
  source: A.value,
265
265
  noTitle: ve.value
266
266
  });
267
- V.value.width = l, V.value.height = o;
267
+ requestAnimationFrame(() => {
268
+ V.value.width = l, V.value.height = o;
269
+ });
268
270
  });
269
271
  ee.value = new ResizeObserver(t), ee.value.observe(b.value.parentNode);
270
272
  }
@@ -275,7 +277,7 @@ const Wt = (a) => (it("data-v-d58b1737"), a = a(), ct(), a), Et = ["id"], Gt = [
275
277
  const re = f(H.value), Z = k(() => re.value.map((t, l) => ({
276
278
  ...t,
277
279
  color: ae(t.color) || Q.value[l] || _[l] || _[l % _.length]
278
- })).filter((t) => !h.value.includes(t.id))), q = k(() => H.value.filter((t) => !h.value.includes(t.id)).map((t) => t.value || 0).reduce((t, l) => t + l, 0)), xe = k({
280
+ })).filter((t) => !h.value.includes(t.id))), X = k(() => H.value.filter((t) => !h.value.includes(t.id)).map((t) => t.value || 0).reduce((t, l) => t + l, 0)), xe = k({
279
281
  get() {
280
282
  let t = [...Z.value];
281
283
  return e.value.style.chart.layout.sorted && (t = [...Z.value].sort((l, o) => o.value - l.value)), t.map((l) => ({
@@ -421,7 +423,7 @@ const Wt = (a) => (it("data-v-d58b1737"), a = a(), ct(), a), Et = ["id"], Gt = [
421
423
  ut(() => {
422
424
  const t = L.value.head.map((r, m) => [[
423
425
  r.name
424
- ], [L.value.body[m]], [isNaN(L.value.body[m] / q.value) ? "-" : L.value.body[m] / q.value * 100]]), l = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [[""], ["val"], ["%"]]].concat(t), o = bt(l);
426
+ ], [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);
425
427
  kt({ csvContent: o, title: e.value.style.chart.title.text || "vue-ui-treemap" });
426
428
  });
427
429
  }
@@ -448,8 +450,8 @@ const Wt = (a) => (it("data-v-d58b1737"), a = a(), ct(), a), Et = ["id"], Gt = [
448
450
  shape: "square"
449
451
  },
450
452
  le,
451
- isNaN(L.value.body[U] / q.value) ? "-" : K({
452
- v: L.value.body[U] / q.value * 100,
453
+ isNaN(L.value.body[U] / X.value) ? "-" : K({
454
+ v: L.value.body[U] / X.value * 100,
453
455
  s: "%",
454
456
  r: e.value.table.td.roundingPercentage
455
457
  })
@@ -612,14 +614,14 @@ const Wt = (a) => (it("data-v-d58b1737"), a = a(), ct(), a), Et = ["id"], Gt = [
612
614
  t.$slots.optionFullscreen ? {
613
615
  name: "optionFullscreen",
614
616
  fn: T(({ toggleFullscreen: o, isFullscreen: r }) => [
615
- $(t.$slots, "optionFullscreen", G(X({ toggleFullscreen: o, isFullscreen: r })), void 0, !0)
617
+ $(t.$slots, "optionFullscreen", G(q({ toggleFullscreen: o, isFullscreen: r })), void 0, !0)
616
618
  ]),
617
619
  key: "5"
618
620
  } : void 0,
619
621
  t.$slots.optionAnnotator ? {
620
622
  name: "optionAnnotator",
621
623
  fn: T(({ toggleAnnotator: o, isAnnotator: r }) => [
622
- $(t.$slots, "optionAnnotator", G(X({ toggleAnnotator: o, isAnnotator: r })), void 0, !0)
624
+ $(t.$slots, "optionAnnotator", G(q({ toggleAnnotator: o, isAnnotator: r })), void 0, !0)
623
625
  ]),
624
626
  key: "6"
625
627
  } : void 0
@@ -633,7 +635,7 @@ const Wt = (a) => (it("data-v-d58b1737"), a = a(), ct(), a), Et = ["id"], Gt = [
633
635
  }, [
634
636
  Re(Pt),
635
637
  (g(!0), w(De, null, Me(J.value, (o, r) => (g(), w("g", null, [
636
- e.value.style.chart.layout.rects.gradient.show ? (g(), w("defs", Xt, [
638
+ e.value.style.chart.layout.rects.gradient.show ? (g(), w("defs", qt, [
637
639
  N("radialGradient", {
638
640
  id: `tgrad_${o.id}`,
639
641
  gradientTransform: "translate(-1, -1.000001) scale(2, 2)"
@@ -646,7 +648,7 @@ const Wt = (a) => (it("data-v-d58b1737"), a = a(), ct(), a), Et = ["id"], Gt = [
646
648
  offset: "100%",
647
649
  "stop-color": y(Be)(o.color, e.value.style.chart.layout.rects.gradient.intensity / 100)
648
650
  }, null, 8, Yt)
649
- ], 8, qt)
651
+ ], 8, Xt)
650
652
  ])) : S("", !0)
651
653
  ]))), 256)),
652
654
  (g(!0), w(De, null, Me(J.value, (o, r) => (g(), w("g", null, [
@@ -701,7 +703,7 @@ const Wt = (a) => (it("data-v-d58b1737"), a = a(), ct(), a), Et = ["id"], Gt = [
701
703
  { datapoint: o }
702
704
  )), 5)
703
705
  ], 4)) : S("", !0),
704
- $(t.$slots, "rect", G(X({
706
+ $(t.$slots, "rect", G(q({
705
707
  rect: o,
706
708
  shouldShow: o.proportion > e.value.style.chart.layout.labels.hideUnderProportion || F.value,
707
709
  fontSize: W(o),
@@ -711,10 +713,10 @@ const Wt = (a) => (it("data-v-d58b1737"), a = a(), ct(), a), Et = ["id"], Gt = [
711
713
  ])
712
714
  ], 8, Jt))
713
715
  ]))), 256)),
714
- $(t.$slots, "svg", G(X({ svg: B.value, isZoom: F.value, rect: I.value, config: e.value })), void 0, !0)
716
+ $(t.$slots, "svg", G(q({ svg: B.value, isZoom: F.value, rect: I.value, config: e.value })), void 0, !0)
715
717
  ], 14, Gt)) : S("", !0),
716
718
  t.$slots.watermark ? (g(), w("div", eo, [
717
- $(t.$slots, "watermark", G(X({ isPrinting: y(be) || y(ke) })), void 0, !0)
719
+ $(t.$slots, "watermark", G(q({ isPrinting: y(be) || y(ke) })), void 0, !0)
718
720
  ])) : S("", !0),
719
721
  u.value ? S("", !0) : (g(), E(_t, {
720
722
  key: 6,
@@ -755,7 +757,7 @@ const Wt = (a) => (it("data-v-d58b1737"), a = a(), ct(), a), Et = ["id"], Gt = [
755
757
  }),
756
758
  { datapoint: o }
757
759
  )) + " ", 1),
758
- h.value.includes(o.id) ? (g(), w("span", lo, " ( - % ) ")) : (g(), w("span", oo, " (" + Y(isNaN(o.value / q.value) ? "-" : (o.value / q.value * 100).toFixed(e.value.style.chart.legend.roundingPercentage)) + "%) ", 1))
760
+ h.value.includes(o.id) ? (g(), w("span", lo, " ( - % ) ")) : (g(), w("span", oo, " (" + Y(isNaN(o.value / X.value) ? "-" : (o.value / X.value * 100).toFixed(e.value.style.chart.legend.roundingPercentage)) + "%) ", 1))
759
761
  ], 12, to)
760
762
  ]),
761
763
  _: 1
@@ -789,10 +791,10 @@ const Wt = (a) => (it("data-v-d58b1737"), a = a(), ct(), a), Et = ["id"], Gt = [
789
791
  isCustom: y(We)(e.value.style.chart.tooltip.customFormat)
790
792
  }, {
791
793
  "tooltip-before": T(() => [
792
- $(t.$slots, "tooltip-before", G(X({ ...ie.value })), void 0, !0)
794
+ $(t.$slots, "tooltip-before", G(q({ ...ie.value })), void 0, !0)
793
795
  ]),
794
796
  "tooltip-after": T(() => [
795
- $(t.$slots, "tooltip-after", G(X({ ...ie.value })), void 0, !0)
797
+ $(t.$slots, "tooltip-after", G(q({ ...ie.value })), void 0, !0)
796
798
  ]),
797
799
  _: 3
798
800
  }, 8, ["show", "backgroundColor", "color", "fontSize", "borderRadius", "borderColor", "borderWidth", "backgroundOpacity", "position", "offsetY", "parent", "content", "isFullscreen", "isCustom"]),
@@ -838,7 +840,7 @@ const Wt = (a) => (it("data-v-d58b1737"), a = a(), ct(), a), Et = ["id"], Gt = [
838
840
  }, 8, ["config"])) : S("", !0)
839
841
  ], 46, Et));
840
842
  }
841
- }, Co = /* @__PURE__ */ It(no, [["__scopeId", "data-v-d58b1737"]]);
843
+ }, Co = /* @__PURE__ */ It(no, [["__scopeId", "data-v-1f72136b"]]);
842
844
  export {
843
845
  Co as default
844
846
  };
@@ -1,20 +1,20 @@
1
- import { useCssVars as dt, useSlots as vt, computed as b, ref as i, watch as Re, onMounted as Ue, onBeforeUnmount as ct, openBlock as u, createElementBlock as r, normalizeClass as A, normalizeStyle as c, unref as d, createBlock as B, createCommentVNode as p, createSlots as ce, withCtx as k, renderSlot as m, normalizeProps as E, guardReactiveProps as H, createElementVNode as n, toDisplayString as h, createVNode as q, Fragment as W, renderList as G, withKeys as ht, createTextVNode as pt } from "vue";
2
- import { u as yt, c as gt, t as ft, a as bt, p as D, b as mt, o as Xe, e as K, v as N, d as he, i as le, f as R, X as _t, s as pe, w as kt, x as $t, y as xt, q as wt, r as Ct } from "./index-CFW17vb1.js";
1
+ import { useCssVars as dt, useSlots as vt, computed as b, ref as i, watch as Re, onMounted as Ue, onBeforeUnmount as ct, openBlock as u, createElementBlock as r, normalizeClass as A, normalizeStyle as c, unref as d, createBlock as B, createCommentVNode as p, createSlots as ce, withCtx as k, renderSlot as m, normalizeProps as E, guardReactiveProps as H, createElementVNode as n, toDisplayString as h, createVNode as Y, Fragment as W, renderList as G, withKeys as ht, createTextVNode as pt } from "vue";
2
+ import { u as yt, c as gt, t as ft, a as bt, p as D, b as mt, o as Xe, e as K, v as N, d as he, i as le, f as R, X as _t, s as pe, w as kt, x as $t, y as xt, q as wt, r as Ct } from "./index-CXx0JV8R.js";
3
3
  import { t as Tt, u as Lt } from "./useResponsive-CoxXLe23.js";
4
- import { _ as Nt } from "./Title-C_gOJvlv.js";
5
- import { u as Pt, U as St } from "./usePrinter-19frcFuH.js";
6
- import { _ as Vt } from "./Tooltip-Czv48jTt.js";
7
- import { L as Ee } from "./Legend-D8VMKZ6f.js";
8
- import It from "./vue-ui-skeleton-RRyod9qq.js";
9
- import Ot from "./BaseIcon-I6DfuN0D.js";
10
- import Ft from "./vue-ui-accordion-B8vShfXi.js";
11
- import { u as He } from "./useNestedProp-HPB1YHuD.js";
12
- import { _ as Mt } from "./PackageVersion-CO2IMTO9.js";
13
- import { P as zt } from "./PenAndPaper-CnW2eqXw.js";
4
+ import { _ as Nt } from "./Title-ClQ27HaB.js";
5
+ import { u as Pt, U as St } from "./usePrinter-Ctor1UK0.js";
6
+ import { _ as Vt } from "./Tooltip-CGYgJoPR.js";
7
+ import { L as Ee } from "./Legend-DiFDWEo2.js";
8
+ import It from "./vue-ui-skeleton-Cw0-Ac_0.js";
9
+ import Ft from "./BaseIcon-CdPe2CAc.js";
10
+ import Ot from "./vue-ui-accordion-BljYKOXR.js";
11
+ import { u as He } from "./useNestedProp-B-WAbP7E.js";
12
+ import { _ as Mt } from "./PackageVersion-qom4AEUr.js";
13
+ import { P as zt } from "./PenAndPaper-C-1AU46J.js";
14
14
  import { u as At } from "./useUserOptionState-BIvW1Kz7.js";
15
- import { _ as We } from "./Shape-Bit--n_P.js";
15
+ import { _ as We } from "./Shape-Dmv7nCLC.js";
16
16
  import { _ as Bt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
17
- const Dt = ["id"], Rt = ["onClick"], Ut = ["xmlns", "viewBox"], Xt = ["width", "height"], Et = ["id"], Ht = ["stop-color"], Wt = ["stop-color"], Gt = { key: 1 }, jt = ["x", "y", "width", "height", "fill", "rx"], Yt = ["x", "y", "width", "height", "fill", "rx", "stroke", "stroke-width"], qt = ["x", "y", "width", "height", "fill", "rx", "stroke", "stroke-width"], Kt = ["x2", "y1", "y2", "stroke", "stroke-width"], Jt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Qt = ["x", "y", "text-anchor", "font-size", "fill", "font-weight"], Zt = ["x", "y", "font-size", "fill", "font-weight"], ea = ["x", "y", "font-size", "fill", "font-weight"], ta = ["x", "y", "font-size", "fill", "font-weight"], aa = ["y", "width", "height", "fill", "onMouseenter"], la = {
17
+ const Dt = ["id"], Rt = ["onClick"], Ut = ["xmlns", "viewBox"], Xt = ["width", "height"], Et = ["id"], Ht = ["stop-color"], Wt = ["stop-color"], Gt = { key: 1 }, jt = ["x", "y", "width", "height", "fill", "rx"], qt = ["x", "y", "width", "height", "fill", "rx", "stroke", "stroke-width"], Yt = ["x", "y", "width", "height", "fill", "rx", "stroke", "stroke-width"], Kt = ["x2", "y1", "y2", "stroke", "stroke-width"], Jt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Qt = ["x", "y", "text-anchor", "font-size", "fill", "font-weight"], Zt = ["x", "y", "font-size", "fill", "font-weight"], ea = ["x", "y", "font-size", "fill", "font-weight"], ta = ["x", "y", "font-size", "fill", "font-weight"], aa = ["y", "width", "height", "fill", "onMouseenter"], la = {
18
18
  key: 6,
19
19
  class: "vue-data-ui-watermark"
20
20
  }, oa = ["onClick"], na = { style: "width:100%;padding-top: 36px;position:relative" }, ua = { class: "vue-ui-data-table" }, sa = { key: 0 }, ra = { style: { width: "100%" } }, ia = ["data-cell"], da = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, va = ["data-cell"], ca = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, ha = ["data-cell"], pa = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, ya = ["data-cell"], ga = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, fa = ["data-cell"], ba = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, ma = ["data-cell"], _a = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, ka = ["data-cell"], $a = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, xa = {
@@ -34,19 +34,19 @@ const Dt = ["id"], Rt = ["onClick"], Ut = ["xmlns", "viewBox"], Xt = ["width", "
34
34
  }
35
35
  },
36
36
  emits: ["selectLegend"],
37
- setup(Ge, { expose: je, emit: Ye }) {
37
+ setup(Ge, { expose: je, emit: qe }) {
38
38
  const T = Ge;
39
39
  dt((a) => ({
40
- "6df2c512": a.tdo
40
+ "8f1f890e": a.tdo
41
41
  }));
42
- const { vue_ui_vertical_bar: qe } = yt(), Ke = vt(), J = b(() => !!T.dataset && T.dataset.length), w = i(gt()), Je = i(null), oe = i(!1), ne = i(""), Q = i(0), Qe = i(null), ye = i(0), U = i(null), ge = i(null), ue = i(null), fe = i(null), be = i(null), me = i(0), se = i(0), e = b({
42
+ const { vue_ui_vertical_bar: Ye } = yt(), Ke = vt(), J = b(() => !!T.dataset && T.dataset.length), w = i(gt()), Je = i(null), oe = i(!1), ne = i(""), Q = i(0), Qe = i(null), ye = i(0), U = i(null), ge = i(null), ue = i(null), fe = i(null), be = i(null), me = i(0), se = i(0), e = b({
43
43
  get: () => $e(),
44
44
  set: (a) => a
45
45
  }), { userOptionsVisible: re, setUserOptionsVisibility: _e, keepUserOptionState: ke } = At({ config: e.value });
46
46
  function $e() {
47
47
  const a = He({
48
48
  userConfig: T.config,
49
- defaultConfig: qe
49
+ defaultConfig: Ye
50
50
  });
51
51
  return a.theme ? {
52
52
  ...He({
@@ -79,7 +79,9 @@ const Dt = ["id"], Rt = ["onClick"], Ut = ["xmlns", "viewBox"], Xt = ["width", "
79
79
  source: fe.value,
80
80
  noTitle: be.value
81
81
  });
82
- Oe.value = l, v.value = t / Q.value - g.value * 2;
82
+ requestAnimationFrame(() => {
83
+ Fe.value = l, v.value = t / Q.value - g.value * 2;
84
+ });
83
85
  });
84
86
  Z.value = new ResizeObserver(a), Z.value.observe(U.value.parentNode);
85
87
  }
@@ -98,7 +100,7 @@ const Dt = ["id"], Rt = ["onClick"], Ut = ["xmlns", "viewBox"], Xt = ["width", "
98
100
  showTable: e.value.table.show,
99
101
  sortDesc: e.value.style.chart.layout.bars.sort === "desc",
100
102
  showTooltip: e.value.style.chart.tooltip.show
101
- }), Ve = b(() => C.value.sortDesc), O = b(() => (T.dataset.forEach((a, l) => {
103
+ }), Ve = b(() => C.value.sortDesc), F = b(() => (T.dataset.forEach((a, l) => {
102
104
  !a.value && !a.children && K({
103
105
  componentName: "VueUiVerticalBar",
104
106
  type: "datasetAttributeEmpty",
@@ -157,8 +159,8 @@ const Dt = ["id"], Rt = ["onClick"], Ut = ["xmlns", "viewBox"], Xt = ["width", "
157
159
  fontSize: e.value.style.chart.legend.fontSize,
158
160
  paddingBottom: 12,
159
161
  fontWeight: e.value.style.chart.legend.bold ? "bold" : ""
160
- })), v = i(e.value.style.chart.layout.bars.height), g = i(e.value.style.chart.layout.bars.gap), at = b(() => (v.value + g.value) * Q.value), Oe = i(512), y = b(() => ({
161
- width: Oe.value,
162
+ })), v = i(e.value.style.chart.layout.bars.height), g = i(e.value.style.chart.layout.bars.gap), at = b(() => (v.value + g.value) * Q.value), Fe = i(512), y = b(() => ({
163
+ width: Fe.value,
162
164
  height: at.value,
163
165
  padding: {
164
166
  top: 12,
@@ -175,21 +177,21 @@ const Dt = ["id"], Rt = ["onClick"], Ut = ["xmlns", "viewBox"], Xt = ["width", "
175
177
  width: y.value.width - (y.value.padding.left + y.value.padding.right)
176
178
  }));
177
179
  function ee() {
178
- Q.value = F.value.flatMap((a) => a.children && a.children.length > 0 ? a.children.length : 1).reduce((a, l) => a + l, 0);
180
+ Q.value = O.value.flatMap((a) => a.children && a.children.length > 0 ? a.children.length : 1).reduce((a, l) => a + l, 0);
179
181
  }
180
182
  const P = i([]);
181
183
  function j(a) {
182
- P.value.includes(a) ? P.value = P.value.filter((l) => l !== a) : P.value.push(a), ee(), Ye("selectLegend", F.value);
184
+ P.value.includes(a) ? P.value = P.value.filter((l) => l !== a) : P.value.push(a), ee(), qe("selectLegend", O.value);
183
185
  }
184
- const F = b(() => O.value.filter((a) => !P.value.includes(a.id))), S = b(() => F.value.map((a) => Math.abs(a.value)).reduce((a, l) => a + l, 0));
185
- function Fe(a, l = !1, t = 0) {
186
+ const O = b(() => F.value.filter((a) => !P.value.includes(a.id))), S = b(() => O.value.map((a) => Math.abs(a.value)).reduce((a, l) => a + l, 0));
187
+ function Oe(a, l = !1, t = 0) {
186
188
  return l ? R({
187
189
  v: N(Math.abs(a) / S.value * 100),
188
190
  s: "%",
189
191
  r: t
190
192
  }) : Math.abs(a) / S.value;
191
193
  }
192
- const M = b(() => F.value.flatMap((a) => a.hasChildren ? a.children : a)), z = b(() => M.value.map((a) => a.sign).includes(-1)), lt = b(() => Math.max(...F.value.flatMap((a) => a.children && a.children.length ? Math.max(...a.children.map((l) => l.value)) : a.value)));
194
+ const M = b(() => O.value.flatMap((a) => a.hasChildren ? a.children : a)), z = b(() => M.value.map((a) => a.sign).includes(-1)), lt = b(() => Math.max(...O.value.flatMap((a) => a.children && a.children.length ? Math.max(...a.children.map((l) => l.value)) : a.value)));
193
195
  function $(a) {
194
196
  const l = a / lt.value;
195
197
  return s.value.width / (z.value ? 2 : 1) * l;
@@ -197,37 +199,37 @@ const Dt = ["id"], Rt = ["onClick"], Ut = ["xmlns", "viewBox"], Xt = ["width", "
197
199
  function ot(a) {
198
200
  return $(a) + s.value.left;
199
201
  }
200
- function Y(a, l) {
201
- const t = F.value.find((f) => f.id === a.parentId), o = s.value.top + (g.value + v.value) * l, _ = t.children.length * (g.value + v.value);
202
+ function q(a, l) {
203
+ const t = O.value.find((f) => f.id === a.parentId), o = s.value.top + (g.value + v.value) * l, _ = t.children.length * (g.value + v.value);
202
204
  return {
203
205
  y: o + _ / 2 - e.value.style.chart.layout.bars.parentLabels.fontSize,
204
206
  name: t.name,
205
207
  value: [void 0, NaN, null].includes(t.value) ? "" : t.sign === 1 ? t.value : -t.value,
206
- percentageToTotal: isNaN(t.value / S.value) ? "" : Fe(t.value, !0, e.value.style.chart.layout.bars.dataLabels.percentage.roundingPercentage),
208
+ percentageToTotal: isNaN(t.value / S.value) ? "" : Oe(t.value, !0, e.value.style.chart.layout.bars.dataLabels.percentage.roundingPercentage),
207
209
  sign: t.sign
208
210
  };
209
211
  }
210
212
  function nt() {
211
- return F.value;
213
+ return O.value;
212
214
  }
213
215
  const ie = i(null), de = i(null);
214
216
  function ut(a, l) {
215
217
  de.value = {
216
218
  datapoint: a,
217
219
  seriesIndex: l,
218
- series: O.value,
220
+ series: F.value,
219
221
  config: e.value
220
222
  }, oe.value = !0, ie.value = a.id;
221
223
  let t = "";
222
224
  const o = a.isChild ? a.parentName : a.name, _ = a.isChild ? a.name : "", f = e.value.style.chart.tooltip.customFormat;
223
225
  $t(f) && xt(() => f({
224
226
  datapoint: a,
225
- series: O.value,
227
+ series: F.value,
226
228
  config: e.value,
227
229
  seriesIndex: l
228
230
  })) ? ne.value = f({
229
231
  datapoint: a,
230
- series: O.value,
232
+ series: F.value,
231
233
  config: e.value,
232
234
  seriesIndex: l
233
235
  }) : (t += `<div style="width:100%;text-align:center;border-bottom:1px solid ${e.value.style.chart.tooltip.borderColor};padding-bottom:6px;margin-bottom:3px;text-align:left;">
@@ -266,7 +268,7 @@ const Dt = ["id"], Rt = ["onClick"], Ut = ["xmlns", "viewBox"], Xt = ["width", "
266
268
  r: e.value.style.chart.layout.bars.dataLabels.value.roundingValue
267
269
  }),
268
270
  { datapoint: l, seriesIndex: t }
269
- ), f = `(${Fe(a, !0, e.value.style.chart.layout.bars.dataLabels.percentage.roundingPercentage)})`;
271
+ ), f = `(${Oe(a, !0, e.value.style.chart.layout.bars.dataLabels.percentage.roundingPercentage)})`;
270
272
  return `${_}${e.value.style.chart.layout.bars.dataLabels.percentage.show ? ` ${f}` : ""}`;
271
273
  }
272
274
  const L = b(() => {
@@ -513,7 +515,7 @@ const Dt = ["id"], Rt = ["onClick"], Ut = ["xmlns", "viewBox"], Xt = ["width", "
513
515
  }, [
514
516
  (u(), B(Ee, {
515
517
  key: `legend_top_${se.value}`,
516
- legendSet: O.value,
518
+ legendSet: F.value,
517
519
  config: Ie.value,
518
520
  onClickMarker: l[0] || (l[0] = ({ legend: t }) => j(t.id))
519
521
  }, ce({
@@ -539,7 +541,7 @@ const Dt = ["id"], Rt = ["onClick"], Ut = ["xmlns", "viewBox"], Xt = ["width", "
539
541
  a.$slots.pattern ? {
540
542
  name: "legend-pattern",
541
543
  fn: k(({ legend: t, index: o }) => [
542
- q(We, {
544
+ Y(We, {
543
545
  shape: t.shape,
544
546
  radius: 30,
545
547
  stroke: "none",
@@ -558,7 +560,7 @@ const Dt = ["id"], Rt = ["onClick"], Ut = ["xmlns", "viewBox"], Xt = ["width", "
558
560
  viewBox: `0 0 ${y.value.width <= 0 ? 10 : y.value.width} ${s.value.fullHeight <= 0 ? 10 : s.value.fullHeight}`,
559
561
  style: c(`max-width:100%;overflow:visible;background:transparent;color:${e.value.style.chart.color}`)
560
562
  }, [
561
- q(Mt),
563
+ Y(Mt),
562
564
  a.$slots["chart-background"] ? (u(), r("foreignObject", {
563
565
  key: 0,
564
566
  x: 0,
@@ -614,7 +616,7 @@ const Dt = ["id"], Rt = ["onClick"], Ut = ["xmlns", "viewBox"], Xt = ["width", "
614
616
  stroke: e.value.style.chart.layout.bars.useStroke ? t.color : "none",
615
617
  "stroke-width": e.value.style.chart.layout.bars.useStroke ? e.value.style.chart.layout.bars.strokeWidth : 0,
616
618
  class: A({ animated: e.value.useCssAnimation })
617
- }, null, 10, Yt),
619
+ }, null, 10, qt),
618
620
  a.$slots.pattern ? (u(), r("rect", {
619
621
  key: 0,
620
622
  x: d(N)(z.value ? s.value.left + s.value.width / 2 - (t.sign === 1 ? 0 : $(t.value) <= 0 ? 1e-4 : $(t.value)) : s.value.left),
@@ -626,7 +628,7 @@ const Dt = ["id"], Rt = ["onClick"], Ut = ["xmlns", "viewBox"], Xt = ["width", "
626
628
  stroke: e.value.style.chart.layout.bars.useStroke ? t.color : "none",
627
629
  "stroke-width": e.value.style.chart.layout.bars.useStroke ? e.value.style.chart.layout.bars.strokeWidth : 0,
628
630
  class: A({ animated: e.value.useCssAnimation })
629
- }, null, 10, qt)) : p("", !0),
631
+ }, null, 10, Yt)) : p("", !0),
630
632
  (!t.isChild || t.isLastChild) && e.value.style.chart.layout.separators.show && o !== M.value.length - 1 ? (u(), r("line", {
631
633
  key: 1,
632
634
  x1: 0,
@@ -667,21 +669,21 @@ const Dt = ["id"], Rt = ["onClick"], Ut = ["xmlns", "viewBox"], Xt = ["width", "
667
669
  t.isChild && t.childIndex === 0 && e.value.style.chart.layout.bars.parentLabels.show ? (u(), r("text", {
668
670
  key: 4,
669
671
  x: 3 + e.value.style.chart.layout.bars.parentLabels.offsetX,
670
- y: Y(t, o).y,
672
+ y: q(t, o).y,
671
673
  "font-size": e.value.style.chart.layout.bars.parentLabels.fontSize,
672
674
  fill: e.value.style.chart.layout.bars.parentLabels.color,
673
675
  "font-weight": e.value.style.chart.layout.bars.parentLabels.bold ? "bold" : "normal",
674
676
  "text-anchor": "start"
675
- }, h(Y(t, o).name), 9, ea)) : p("", !0),
677
+ }, h(q(t, o).name), 9, ea)) : p("", !0),
676
678
  t.isChild && t.childIndex === 0 && e.value.style.chart.layout.bars.parentLabels.show ? (u(), r("text", {
677
679
  key: 5,
678
680
  x: 3 + e.value.style.chart.layout.bars.parentLabels.offsetX,
679
- y: Y(t, o).y + e.value.style.chart.layout.bars.parentLabels.fontSize + 6,
681
+ y: q(t, o).y + e.value.style.chart.layout.bars.parentLabels.fontSize + 6,
680
682
  "font-size": e.value.style.chart.layout.bars.parentLabels.fontSize,
681
683
  fill: e.value.style.chart.layout.bars.parentLabels.color,
682
684
  "font-weight": e.value.style.chart.layout.bars.dataLabels.bold ? "bold" : "normal",
683
685
  "text-anchor": "start"
684
- }, h(Me(Y(t, o).value), Y(t, o), o, t.parentSign || t.sign), 9, ta)) : p("", !0),
686
+ }, h(Me(q(t, o).value), q(t, o), o, t.parentSign || t.sign), 9, ta)) : p("", !0),
685
687
  n("rect", {
686
688
  "data-cy-trap": "",
687
689
  x: 0,
@@ -722,7 +724,7 @@ const Dt = ["id"], Rt = ["onClick"], Ut = ["xmlns", "viewBox"], Xt = ["width", "
722
724
  }, [
723
725
  (u(), B(Ee, {
724
726
  key: `legend_bottom_${se.value}`,
725
- legendSet: O.value,
727
+ legendSet: F.value,
726
728
  config: Ie.value,
727
729
  onClickMarker: l[2] || (l[2] = ({ legend: t }) => j(t.id))
728
730
  }, ce({
@@ -747,7 +749,7 @@ const Dt = ["id"], Rt = ["onClick"], Ut = ["xmlns", "viewBox"], Xt = ["width", "
747
749
  a.$slots.pattern ? {
748
750
  name: "legend-pattern",
749
751
  fn: k(({ legend: t, index: o }) => [
750
- q(We, {
752
+ Y(We, {
751
753
  shape: t.shape,
752
754
  radius: 30,
753
755
  stroke: "none",
@@ -759,7 +761,7 @@ const Dt = ["id"], Rt = ["onClick"], Ut = ["xmlns", "viewBox"], Xt = ["width", "
759
761
  } : void 0
760
762
  ]), 1032, ["legendSet", "config"]))
761
763
  ], 512)) : p("", !0),
762
- m(a.$slots, "legend", { legend: O.value }, void 0, !0),
764
+ m(a.$slots, "legend", { legend: F.value }, void 0, !0),
763
765
  a.$slots.source ? (u(), r("div", {
764
766
  key: 9,
765
767
  ref_key: "source",
@@ -768,7 +770,7 @@ const Dt = ["id"], Rt = ["onClick"], Ut = ["xmlns", "viewBox"], Xt = ["width", "
768
770
  }, [
769
771
  m(a.$slots, "source", {}, void 0, !0)
770
772
  ], 512)) : p("", !0),
771
- q(Vt, {
773
+ Y(Vt, {
772
774
  show: C.value.showTooltip && oe.value && P.value.length < T.dataset.length,
773
775
  backgroundColor: e.value.style.chart.tooltip.backgroundColor,
774
776
  color: e.value.style.chart.tooltip.color,
@@ -792,7 +794,7 @@ const Dt = ["id"], Rt = ["onClick"], Ut = ["xmlns", "viewBox"], Xt = ["width", "
792
794
  ]),
793
795
  _: 3
794
796
  }, 8, ["show", "backgroundColor", "color", "borderRadius", "borderColor", "borderWidth", "fontSize", "backgroundOpacity", "position", "offsetY", "parent", "content", "isFullscreen", "isCustom"]),
795
- J.value ? (u(), B(Ft, {
797
+ J.value ? (u(), B(Ot, {
796
798
  key: 10,
797
799
  hideDetails: "",
798
800
  config: {
@@ -822,7 +824,7 @@ const Dt = ["id"], Rt = ["onClick"], Ut = ["xmlns", "viewBox"], Xt = ["width", "
822
824
  onClick: l[3] || (l[3] = (t) => C.value.showTable = !1),
823
825
  onKeypress: l[4] || (l[4] = ht((t) => C.value.showTable = !1, ["enter"]))
824
826
  }, [
825
- q(Ot, {
827
+ Y(Ft, {
826
828
  name: "close",
827
829
  stroke: e.value.table.th.color,
828
830
  "stroke-width": 2
@@ -946,7 +948,7 @@ const Dt = ["id"], Rt = ["onClick"], Ut = ["xmlns", "viewBox"], Xt = ["width", "
946
948
  }, 8, ["config"])) : p("", !0)
947
949
  ], 46, Dt));
948
950
  }
949
- }, Ra = /* @__PURE__ */ Bt(xa, [["__scopeId", "data-v-086d7789"]]);
951
+ }, Ra = /* @__PURE__ */ Bt(xa, [["__scopeId", "data-v-158fdcfe"]]);
950
952
  export {
951
953
  Ra as default
952
954
  };