vue-data-ui 3.22.8 → 3.22.10

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 (209) hide show
  1. package/dist/{Arrow-DdymhUfY.js → Arrow-Ku6rQ87g.js} +1 -1
  2. package/dist/{BaseDraggableDialog-DcfGlH8A.js → BaseDraggableDialog-CdkCqtag.js} +2 -2
  3. package/dist/BaseIcon-CDTIUIKV.js +483 -0
  4. package/dist/{BaseLegendToggle-DtQ8vyfr.js → BaseLegendToggle-BrQ2OlzI.js} +1 -1
  5. package/dist/{BaseZoomControls-C6zonwhr.js → BaseZoomControls-CkEX0292.js} +2 -2
  6. package/dist/{ColorPicker-CK2-h611.js → ColorPicker-C959ZIW9.js} +2 -2
  7. package/dist/{DataTable-D9NvewTT.js → DataTable-ByZy5gt1.js} +2 -2
  8. package/dist/DefGrad-DVBqDjhO.js +48 -0
  9. package/dist/{Legend-ROt6ugzW.js → Legend-5VQGLnmx.js} +2 -2
  10. package/dist/{NonSvgPenAndPaper-BHHNsVVP.js → NonSvgPenAndPaper-Bd8OzTqw.js} +3 -3
  11. package/dist/{PackageVersion-DW7zwRcm.js → PackageVersion-BoTvk0i5.js} +1 -1
  12. package/dist/{PenAndPaper-pcgwlYr2.js → PenAndPaper-CLaZJl6K.js} +3 -3
  13. package/dist/{Shape-UpH0a4Ur.js → Shape-B5ksaGa1.js} +3 -3
  14. package/dist/{Slicer-BZ5VnOOS.js → Slicer-WsWTQPKt.js} +368 -363
  15. package/dist/{SlicerPreview-BQFeCw0m.js → SlicerPreview-3n516NyE.js} +460 -455
  16. package/dist/{SparkTooltip-BTLN-Kex.js → SparkTooltip-CbYYc-xb.js} +1 -1
  17. package/dist/{Title-CcNiYzEo.js → Title-Cr3jP7Qd.js} +1 -1
  18. package/dist/{Tooltip-CxOrWlFy.js → Tooltip-CDbLl3TD.js} +1 -1
  19. package/dist/{UserOptions-16uF1ayB.js → UserOptions-BUQOnoPR.js} +2 -2
  20. package/dist/components/arrow.js +1 -1
  21. package/dist/components/vue-ui-3d-bar.js +1 -1
  22. package/dist/components/vue-ui-accordion.js +1 -1
  23. package/dist/components/vue-ui-age-pyramid.js +1 -1
  24. package/dist/components/vue-ui-annotator.js +1 -1
  25. package/dist/components/vue-ui-bullet.js +1 -1
  26. package/dist/components/vue-ui-bump.js +1 -1
  27. package/dist/components/vue-ui-candlestick.js +1 -1
  28. package/dist/components/vue-ui-carousel-table.js +1 -1
  29. package/dist/components/vue-ui-chestnut.js +1 -1
  30. package/dist/components/vue-ui-chord.js +1 -1
  31. package/dist/components/vue-ui-circle-pack.js +1 -1
  32. package/dist/components/vue-ui-cursor.js +1 -1
  33. package/dist/components/vue-ui-dag.js +1 -1
  34. package/dist/components/vue-ui-dashboard.js +1 -1
  35. package/dist/components/vue-ui-digits.js +1 -1
  36. package/dist/components/vue-ui-donut-evolution.js +1 -1
  37. package/dist/components/vue-ui-donut.js +1 -1
  38. package/dist/components/vue-ui-dumbbell.js +1 -1
  39. package/dist/components/vue-ui-flow.js +1 -1
  40. package/dist/components/vue-ui-funnel.js +1 -1
  41. package/dist/components/vue-ui-galaxy.js +1 -1
  42. package/dist/components/vue-ui-gauge.js +1 -1
  43. package/dist/components/vue-ui-geo.js +1 -1
  44. package/dist/components/vue-ui-gizmo.js +1 -1
  45. package/dist/components/vue-ui-heatmap.js +1 -1
  46. package/dist/components/vue-ui-history-plot.js +1 -1
  47. package/dist/components/vue-ui-horizontal-bar.js +1 -1
  48. package/dist/components/vue-ui-icon.js +1 -1
  49. package/dist/components/vue-ui-kpi.js +1 -1
  50. package/dist/components/vue-ui-mini-loader.js +1 -1
  51. package/dist/components/vue-ui-molecule.js +1 -1
  52. package/dist/components/vue-ui-mood-radar.js +1 -1
  53. package/dist/components/vue-ui-nested-donuts.js +1 -1
  54. package/dist/components/vue-ui-onion.js +1 -1
  55. package/dist/components/vue-ui-parallel-coordinate-plot.js +1 -1
  56. package/dist/components/vue-ui-quadrant.js +1 -1
  57. package/dist/components/vue-ui-quick-chart.js +1 -1
  58. package/dist/components/vue-ui-radar.js +1 -1
  59. package/dist/components/vue-ui-rating.js +1 -1
  60. package/dist/components/vue-ui-relation-circle.js +1 -1
  61. package/dist/components/vue-ui-ridgeline.js +1 -1
  62. package/dist/components/vue-ui-rings.js +1 -1
  63. package/dist/components/vue-ui-scatter.js +1 -1
  64. package/dist/components/vue-ui-skeleton.js +1 -1
  65. package/dist/components/vue-ui-smiley.js +1 -1
  66. package/dist/components/vue-ui-spark-trend.js +1 -1
  67. package/dist/components/vue-ui-sparkbar.js +1 -1
  68. package/dist/components/vue-ui-sparkgauge.js +1 -1
  69. package/dist/components/vue-ui-sparkhistogram.js +1 -1
  70. package/dist/components/vue-ui-sparkline.js +1 -1
  71. package/dist/components/vue-ui-sparkstackbar.js +1 -1
  72. package/dist/components/vue-ui-stackbar.js +1 -1
  73. package/dist/components/vue-ui-stackline.js +1 -1
  74. package/dist/components/vue-ui-strip-plot.js +1 -1
  75. package/dist/components/vue-ui-table-heatmap.js +1 -1
  76. package/dist/components/vue-ui-table-sparkline.js +1 -1
  77. package/dist/components/vue-ui-table.js +1 -1
  78. package/dist/components/vue-ui-thermometer.js +1 -1
  79. package/dist/components/vue-ui-timer.js +1 -1
  80. package/dist/components/vue-ui-tiremarks.js +1 -1
  81. package/dist/components/vue-ui-treemap.js +1 -1
  82. package/dist/components/vue-ui-vertical-bar.js +1 -1
  83. package/dist/components/vue-ui-waffle.js +1 -1
  84. package/dist/components/vue-ui-wheel.js +1 -1
  85. package/dist/components/vue-ui-word-cloud.js +1 -1
  86. package/dist/components/vue-ui-world.js +1 -1
  87. package/dist/components/vue-ui-xy-canvas.js +1 -1
  88. package/dist/components/vue-ui-xy.js +1 -1
  89. package/dist/{dom-to-png-BbwhsRIr.js → dom-to-png-COPbGrdd.js} +1 -1
  90. package/dist/exposedLib-CZbtc2a6.js +25 -0
  91. package/dist/{img-DnP3eXuv.js → img-CNdXiUfZ.js} +1 -1
  92. package/dist/{labelUtils-DBEh078l.js → labelUtils-JaoYKi2N.js} +1 -1
  93. package/dist/{lib-JqW18y5I.js → lib-CnHx5WfV.js} +118 -107
  94. package/dist/{package-gp9pYCfN.js → package-BRBLwZUc.js} +1 -1
  95. package/dist/{pdf-hj3gzrE7.js → pdf-CEMzBeuV.js} +1 -1
  96. package/dist/{render-common-CLn1VXJ9.js → render-common-DJXFRGhU.js} +10 -10
  97. package/dist/ssr/vue-ui-donut.js +1 -1
  98. package/dist/ssr/vue-ui-xy.js +1 -1
  99. package/dist/ssr.js +2 -2
  100. package/dist/style.css +1 -1
  101. package/dist/types/utils.d.ts +40 -0
  102. package/dist/{useAutoSizeLabelsInsideViewbox-BGnDfZdg.js → useAutoSizeLabelsInsideViewbox-BUPt2iaP.js} +1 -1
  103. package/dist/{useNestedProp-DIuuzG1r.js → useNestedProp-D8NuRneO.js} +2 -2
  104. package/dist/{usePrinter-CqqHmnBI.js → usePrinter-B-X_Pub0.js} +2 -2
  105. package/dist/utils.js +26 -24
  106. package/dist/{vue-data-ui-AZZ9Cq-4.js → vue-data-ui-Bx_8d3b_.js} +68 -68
  107. package/dist/vue-data-ui.js +77 -77
  108. package/dist/vue-ui-3d-bar-CfUfbpSE.js +1825 -0
  109. package/dist/{vue-ui-accordion-YyosvEPo.js → vue-ui-accordion-Oo3IsX3-.js} +3 -3
  110. package/dist/vue-ui-age-pyramid-DD-4y5Jd.js +1247 -0
  111. package/dist/{vue-ui-annotator-CfJXeAOE.js → vue-ui-annotator-BvGE3lzE.js} +8 -8
  112. package/dist/vue-ui-bullet-DYOdbaO2.js +710 -0
  113. package/dist/vue-ui-bump-B8fJoxHF.js +1249 -0
  114. package/dist/{vue-ui-candlestick-D-Z9pEaA.js → vue-ui-candlestick-BUP1JoNs.js} +555 -544
  115. package/dist/vue-ui-carousel-table-D-Bwhydt.js +455 -0
  116. package/dist/vue-ui-chestnut-C2VK2NEx.js +2042 -0
  117. package/dist/{vue-ui-chord-Db1O_diJ.js → vue-ui-chord-AA-QjUQI.js} +42 -42
  118. package/dist/vue-ui-circle-pack-CdBFGYOK.js +1614 -0
  119. package/dist/{vue-ui-cursor-DLP7wxsw.js → vue-ui-cursor-Cm_J_5Gk.js} +5 -5
  120. package/dist/{vue-ui-dag-DL3zq0F2.js → vue-ui-dag-CgRph4-n.js} +32 -32
  121. package/dist/{vue-ui-dashboard-C2ozZ-LI.js → vue-ui-dashboard-BuPw5QjB.js} +69 -69
  122. package/dist/{vue-ui-digits-ThFVNO3l.js → vue-ui-digits-ClrukmcB.js} +3 -3
  123. package/dist/vue-ui-donut-Bc-EPZvu.js +2419 -0
  124. package/dist/{vue-ui-donut-BuTd6dt4.js → vue-ui-donut-DtQCrMKL.js} +207 -207
  125. package/dist/vue-ui-donut-evolution-DHkiY-BD.js +1522 -0
  126. package/dist/vue-ui-dumbbell-BlHEH4Mw.js +1564 -0
  127. package/dist/{vue-ui-flow-BTUNfWb7.js → vue-ui-flow-PjwAW2tY.js} +71 -71
  128. package/dist/vue-ui-funnel-DojI09FV.js +782 -0
  129. package/dist/{vue-ui-galaxy-DJ2uNYcN.js → vue-ui-galaxy-txYIK_LG.js} +276 -276
  130. package/dist/vue-ui-gauge-CoL0OzSd.js +926 -0
  131. package/dist/{vue-ui-geo-ovHu_Sc9.js → vue-ui-geo-yuL-_sqF.js} +20 -20
  132. package/dist/{vue-ui-gizmo-DDxEj-qe.js → vue-ui-gizmo-CbC5zV3K.js} +66 -61
  133. package/dist/{vue-ui-heatmap-Npqnvb1r.js → vue-ui-heatmap-CwqsZIsR.js} +331 -331
  134. package/dist/{vue-ui-history-plot-C3Kjy2tc.js → vue-ui-history-plot-CuWssH-D.js} +561 -550
  135. package/dist/vue-ui-horizontal-bar-Dyje3GND.js +1689 -0
  136. package/dist/{vue-ui-kpi-BrlfYO-j.js → vue-ui-kpi-BdYenScF.js} +3 -3
  137. package/dist/{vue-ui-mini-loader-D5we7V_W.js → vue-ui-mini-loader-BbwE3vBT.js} +2 -2
  138. package/dist/vue-ui-molecule-BBh31vmd.js +931 -0
  139. package/dist/{vue-ui-mood-radar-DlVh6hwx.js → vue-ui-mood-radar-B_6GFlaR.js} +336 -331
  140. package/dist/vue-ui-nested-donuts-BWq-At5Y.js +1493 -0
  141. package/dist/vue-ui-onion-BwGbSE-6.js +1200 -0
  142. package/dist/vue-ui-parallel-coordinate-plot-Bh9hNoqf.js +1416 -0
  143. package/dist/vue-ui-quadrant-B72Y4Zuw.js +1984 -0
  144. package/dist/{vue-ui-quick-chart-WMzSJxGZ.js → vue-ui-quick-chart-B3LF2ViM.js} +108 -108
  145. package/dist/vue-ui-radar-4v_E8oGX.js +1287 -0
  146. package/dist/vue-ui-rating-CzLGCFWK.js +352 -0
  147. package/dist/vue-ui-relation-circle-B_8dyIv2.js +924 -0
  148. package/dist/{vue-ui-ridgeline-Cp3YP0xe.js → vue-ui-ridgeline-BArLhskj.js} +543 -537
  149. package/dist/vue-ui-rings-Csn5BgLk.js +1252 -0
  150. package/dist/vue-ui-scatter-BBaOx94M.js +2422 -0
  151. package/dist/{vue-ui-skeleton-CuFm4PtB.js → vue-ui-skeleton-KeIPGp9U.js} +426 -423
  152. package/dist/{vue-ui-smiley-D4NnZ1mg.js → vue-ui-smiley-C1mYDh4R.js} +120 -107
  153. package/dist/{vue-ui-spark-trend-C38ysZ-c.js → vue-ui-spark-trend-EqCqmHmU.js} +145 -140
  154. package/dist/vue-ui-sparkbar-BPh45vBP.js +398 -0
  155. package/dist/{vue-ui-sparkgauge-DgPc4vPT.js → vue-ui-sparkgauge-CtouPcyW.js} +81 -76
  156. package/dist/{vue-ui-sparkhistogram-D02ff7ZI.js → vue-ui-sparkhistogram-D4sI0DHN.js} +166 -150
  157. package/dist/vue-ui-sparkline-BDFZ78Fz.js +1560 -0
  158. package/dist/vue-ui-sparkstackbar-CbTXIfxm.js +674 -0
  159. package/dist/{vue-ui-stackbar-BVdApDnY.js → vue-ui-stackbar-nMXIY9x8.js} +603 -596
  160. package/dist/vue-ui-stackline-CzfXl5ah.js +2425 -0
  161. package/dist/{vue-ui-strip-plot-C-TFNvgz.js → vue-ui-strip-plot-BCf5nthl.js} +415 -408
  162. package/dist/vue-ui-table-BAKkFXki.js +1338 -0
  163. package/dist/{vue-ui-table-heatmap-D0pZbBOH.js → vue-ui-table-heatmap-CUMxqHKK.js} +15 -15
  164. package/dist/{vue-ui-table-sparkline-Q6BHPKUn.js → vue-ui-table-sparkline-BVTm16fd.js} +20 -20
  165. package/dist/vue-ui-thermometer-CGeEW1KV.js +770 -0
  166. package/dist/{vue-ui-timer-BdzKpoRj.js → vue-ui-timer-Bz7EnsM1.js} +94 -89
  167. package/dist/{vue-ui-tiremarks-DWb69ofh.js → vue-ui-tiremarks-IOqtk_Rr.js} +17 -17
  168. package/dist/{vue-ui-treemap-uUz07Prw.js → vue-ui-treemap-JxNNtb7v.js} +509 -504
  169. package/dist/vue-ui-waffle-D34mcJWi.js +1368 -0
  170. package/dist/{vue-ui-wheel-DTfvWYA7.js → vue-ui-wheel-B_qEhyvk.js} +44 -44
  171. package/dist/{vue-ui-word-cloud-DqfljAqH.js → vue-ui-word-cloud-TtObhd91.js} +32 -32
  172. package/dist/{vue-ui-world-BtBrH92Z.js → vue-ui-world-R9o00A6c.js} +359 -348
  173. package/dist/{vue-ui-xy-Bvgy2do1.js → vue-ui-xy-CUt6sU1s.js} +1678 -1652
  174. package/dist/{vue-ui-xy-D5KsuNR2.js → vue-ui-xy-Do34-UbE.js} +134 -134
  175. package/dist/vue-ui-xy-canvas-C6eRRH--.js +1790 -0
  176. package/package.json +1 -1
  177. package/dist/BaseIcon-C2qlyHc7.js +0 -502
  178. package/dist/exposedLib-VXFp3Z2c.js +0 -19
  179. package/dist/vue-ui-3d-bar-B3HxJmDI.js +0 -1757
  180. package/dist/vue-ui-age-pyramid-DTAOc7fn.js +0 -1238
  181. package/dist/vue-ui-bullet-CCLnrOLm.js +0 -710
  182. package/dist/vue-ui-bump-Rq7efdoe.js +0 -1249
  183. package/dist/vue-ui-carousel-table-Lx5Zk4dG.js +0 -455
  184. package/dist/vue-ui-chestnut-RfWMGUD-.js +0 -2010
  185. package/dist/vue-ui-circle-pack-B4Ro7UuI.js +0 -1608
  186. package/dist/vue-ui-donut-C3Rt6j-I.js +0 -2410
  187. package/dist/vue-ui-donut-evolution-DY46UPF_.js +0 -1510
  188. package/dist/vue-ui-dumbbell-wK7vUB0x.js +0 -1530
  189. package/dist/vue-ui-funnel-BhoHzyHa.js +0 -777
  190. package/dist/vue-ui-gauge-Cf4NqvrO.js +0 -920
  191. package/dist/vue-ui-horizontal-bar-D1rCsgqt.js +0 -1683
  192. package/dist/vue-ui-molecule-CExCqZ08.js +0 -925
  193. package/dist/vue-ui-nested-donuts-3TRV8pN-.js +0 -1487
  194. package/dist/vue-ui-onion-DwKK9DXn.js +0 -1200
  195. package/dist/vue-ui-parallel-coordinate-plot-DSp_cwU-.js +0 -1416
  196. package/dist/vue-ui-quadrant-ByVg-NBs.js +0 -1978
  197. package/dist/vue-ui-radar-DE-me6OC.js +0 -1281
  198. package/dist/vue-ui-rating-CzD3EQ3G.js +0 -343
  199. package/dist/vue-ui-relation-circle-L7-dTqet.js +0 -924
  200. package/dist/vue-ui-rings-WzWiEo9W.js +0 -1246
  201. package/dist/vue-ui-scatter-DwrAydha.js +0 -2413
  202. package/dist/vue-ui-sparkbar-B03ndcUe.js +0 -393
  203. package/dist/vue-ui-sparkline-DlTfNQj8.js +0 -1547
  204. package/dist/vue-ui-sparkstackbar-DrmiWFlw.js +0 -662
  205. package/dist/vue-ui-stackline-QzQQ7lTy.js +0 -2419
  206. package/dist/vue-ui-table-Q3brrivC.js +0 -1338
  207. package/dist/vue-ui-thermometer-Bg0RR6m4.js +0 -763
  208. package/dist/vue-ui-waffle-Pi9e7Ae7.js +0 -1362
  209. package/dist/vue-ui-xy-canvas-BfgeE3TW.js +0 -1790
@@ -1,26 +1,27 @@
1
1
  import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
2
- import { $ as t, Et as n, G as r, J as i, Kt as a, Mt as o, S as s, T as c, Wt as l, Y as u, Z as d, b as f, i as ee, kt as te, ot as ne, r as re, t as ie, yt as ae } from "./lib-JqW18y5I.js";
3
- import { t as oe } from "./useConfig-DYM3f6EI.js";
4
- import { t as se } from "./usePrinter-CqqHmnBI.js";
5
- import { n as ce, t as le } from "./BaseScanner-DZvpgOjM.js";
6
- import { t as ue } from "./useSvgExport-SVIsDot8.js";
7
- import { t as de } from "./useNestedProp-DIuuzG1r.js";
8
- import { t as fe } from "./useThemeCheck-C43Tcqmk.js";
9
- import { t as pe } from "./img-DnP3eXuv.js";
10
- import { n as me } from "./Title-CcNiYzEo.js";
11
- import { t as he } from "./_plugin-vue_export-helper-B3ysoDQm.js";
12
- import { c as ge } from "./canvas-lib-BOP_HS11.js";
13
- import { t as _e } from "./useResponsive-BfnK0KxU.js";
14
- import { t as ve } from "./BaseIcon-C2qlyHc7.js";
15
- import { t as ye } from "./BaseLegendToggle-DtQ8vyfr.js";
2
+ import { At as t, C as n, Dt as r, E as i, Gt as a, K as o, Nt as s, Q as c, X as l, Y as u, bt as d, et as f, i as ee, qt as te, r as ne, st as re, t as ie, x as p } from "./lib-CnHx5WfV.js";
3
+ import { t as ae } from "./useConfig-DYM3f6EI.js";
4
+ import { t as oe } from "./usePrinter-B-X_Pub0.js";
5
+ import { n as se, t as ce } from "./BaseScanner-DZvpgOjM.js";
6
+ import { t as le } from "./useSvgExport-SVIsDot8.js";
7
+ import { t as ue } from "./useNestedProp-D8NuRneO.js";
8
+ import { t as de } from "./useThemeCheck-C43Tcqmk.js";
9
+ import { t as fe } from "./img-CNdXiUfZ.js";
10
+ import { n as pe } from "./Title-Cr3jP7Qd.js";
11
+ import { t as me } from "./_plugin-vue_export-helper-B3ysoDQm.js";
12
+ import { c as he } from "./canvas-lib-BOP_HS11.js";
13
+ import { t as ge } from "./useResponsive-BfnK0KxU.js";
14
+ import { t as _e } from "./BaseIcon-CDTIUIKV.js";
15
+ import { t as ve } from "./DefGrad-DVBqDjhO.js";
16
+ import { t as ye } from "./BaseLegendToggle-BrQ2OlzI.js";
16
17
  import { t as be } from "./A11yDataTable-DdRsVULz.js";
17
18
  import { t as xe } from "./useUserOptionState-DK-_1ddE.js";
18
19
  import { t as Se } from "./useChartAccessibility-DYqac8yF.js";
19
- import { t as Ce } from "./Legend-ROt6ugzW.js";
20
+ import { t as Ce } from "./Legend-5VQGLnmx.js";
20
21
  import { t as we } from "./usePrefersMotion-BC-CsqR1.js";
21
22
  import { t as Te } from "./usePanZoom-CYU3B4T3.js";
22
23
  import { t as Ee } from "./vue_ui_treemap-DoEtkRN6.js";
23
- import { Fragment as p, Teleport as De, computed as m, createBlock as h, createCommentVNode as g, createElementBlock as _, createElementVNode as v, createSlots as Oe, createTextVNode as ke, createVNode as Ae, defineAsyncComponent as je, guardReactiveProps as y, mergeProps as Me, nextTick as Ne, normalizeClass as Pe, normalizeProps as b, normalizeStyle as x, onBeforeUnmount as Fe, onMounted as Ie, openBlock as S, ref as C, renderList as Le, renderSlot as w, resolveDynamicComponent as Re, shallowRef as T, toDisplayString as ze, toRefs as Be, unref as E, useCssVars as Ve, useSlots as He, watch as D, withCtx as O, withKeys as Ue, withModifiers as We } from "vue";
24
+ import { Fragment as De, Teleport as Oe, computed as m, createBlock as h, createCommentVNode as g, createElementBlock as _, createElementVNode as v, createSlots as ke, createTextVNode as Ae, createVNode as je, defineAsyncComponent as y, guardReactiveProps as b, mergeProps as Me, nextTick as Ne, normalizeClass as Pe, normalizeProps as x, normalizeStyle as S, onBeforeUnmount as Fe, onMounted as Ie, openBlock as C, ref as w, renderList as Le, renderSlot as T, resolveDynamicComponent as Re, shallowRef as E, toDisplayString as ze, toRefs as Be, unref as D, useCssVars as Ve, useSlots as He, watch as O, withCtx as k, withKeys as Ue, withModifiers as We } from "vue";
24
25
  //#region src/treemap.js
25
26
  function Ge(e, t) {
26
27
  let n = e.length;
@@ -126,7 +127,7 @@ function tt(e, t, n, r) {
126
127
  } else {
127
128
  let e = a.length, t = 0;
128
129
  for (let n = 0; n < e; n += 1) t += a[n].normalizedValue;
129
- let n = k(o, t), r = Ze(a, o), c = s.concat(r);
130
+ let n = A(o, t), r = Ze(a, o), c = s.concat(r);
130
131
  i = i, a = [], o = n, s = c;
131
132
  }
132
133
  }
@@ -139,7 +140,7 @@ function nt(e) {
139
140
  return Je(r);
140
141
  }
141
142
  }
142
- function k(e, t) {
143
+ function A(e, t) {
143
144
  let { width: n, height: r, xOffset: i, yOffset: a } = et(e);
144
145
  if (n >= r) {
145
146
  let e = t / r, o = n - e;
@@ -161,28 +162,28 @@ function k(e, t) {
161
162
  }
162
163
  //#endregion
163
164
  //#region src/components/vue-ui-treemap.vue
164
- var A = /* @__PURE__ */ e({ default: () => Mt }), rt = ["id"], it = ["id"], at = ["id"], ot = [
165
+ var rt = /* @__PURE__ */ e({ default: () => At }), it = ["id"], at = ["id"], ot = ["id"], st = [
165
166
  "tabindex",
166
167
  "onClick",
167
168
  "onKeydown",
168
169
  "data-last-crumb",
169
170
  "onMouseenter",
170
171
  "onFocus"
171
- ], st = { class: "vue-ui-treemap-crumb-unit" }, ct = { class: "vue-ui-treemap-crumb-unit-label" }, lt = {
172
+ ], ct = { class: "vue-ui-treemap-crumb-unit" }, lt = { class: "vue-ui-treemap-crumb-unit-label" }, ut = {
172
173
  key: 0,
173
174
  style: {
174
175
  width: "24px",
175
176
  display: "flex",
176
177
  "align-items": "center"
177
178
  }
178
- }, ut = {
179
+ }, dt = {
179
180
  key: 0,
180
181
  class: "vue-ui-treemap-crumb-unit-arrow"
181
- }, dt = { style: { position: "relative" } }, ft = [
182
+ }, ft = { style: { position: "relative" } }, pt = [
182
183
  "xmlns",
183
184
  "aria-describedby",
184
185
  "viewBox"
185
- ], pt = { key: 0 }, mt = ["id"], ht = ["stop-color"], gt = ["stop-color"], _t = [
186
+ ], mt = { key: 0 }, ht = [
186
187
  "x",
187
188
  "y",
188
189
  "height",
@@ -194,34 +195,34 @@ var A = /* @__PURE__ */ e({ default: () => Mt }), rt = ["id"], it = ["id"], at =
194
195
  "onClick",
195
196
  "onMouseenter",
196
197
  "onMouseleave"
197
- ], vt = ["id"], yt = [
198
+ ], gt = ["id"], _t = [
198
199
  "x",
199
200
  "y",
200
201
  "width",
201
202
  "height"
202
- ], bt = ["clip-path"], xt = [
203
+ ], vt = ["clip-path"], yt = [
203
204
  "transform",
204
205
  "fill",
205
206
  "font-size",
206
207
  "font-family",
207
208
  "font-weight"
208
- ], St = { key: 0 }, Ct = [
209
+ ], bt = { key: 0 }, xt = [
209
210
  "x",
210
211
  "y",
211
212
  "height",
212
213
  "width"
213
- ], wt = {
214
+ ], St = {
214
215
  style: {
215
216
  width: "100%",
216
217
  height: "100%",
217
218
  overflow: "hidden"
218
219
  },
219
220
  class: "vue-ui-treemap-cell"
220
- }, Tt = {
221
+ }, Ct = {
221
222
  key: 0,
222
223
  "data-dom-to-png-ignore": "",
223
224
  class: "reset-wrapper"
224
- }, Et = {
225
+ }, wt = {
225
226
  key: 1,
226
227
  style: {
227
228
  position: "absolute",
@@ -231,10 +232,10 @@ var A = /* @__PURE__ */ e({ default: () => Mt }), rt = ["id"], it = ["id"], at =
231
232
  },
232
233
  "data-dom-to-png-ignore": "",
233
234
  "aria-hidden": "true"
234
- }, Dt = {
235
+ }, Tt = {
235
236
  key: 6,
236
237
  class: "vue-data-ui-watermark"
237
- }, Ot = ["id"], kt = ["onClick"], At = ["innerHTML"], jt = 4, Mt = /*#__PURE__*/ he({
238
+ }, Et = ["id"], Dt = ["onClick"], Ot = ["innerHTML"], kt = 4, At = /*#__PURE__*/ me({
238
239
  __name: "vue-ui-treemap",
239
240
  props: {
240
241
  config: {
@@ -255,16 +256,16 @@ var A = /* @__PURE__ */ e({ default: () => Mt }), rt = ["id"], it = ["id"], at =
255
256
  "selectDatapoint",
256
257
  "copyAlt"
257
258
  ],
258
- setup(e, { expose: he, emit: Ge }) {
259
- Ve((e) => ({ v76935d24: pi.value }));
260
- let Ke = je(() => import("./DataTable-D9NvewTT.js")), qe = je(() => import("./PenAndPaper-pcgwlYr2.js").then((e) => e.t)), Je = je(() => import("./vue-ui-accordion-YyosvEPo.js").then((e) => e.n)), Xe = je(() => import("./Tooltip-CxOrWlFy.js")), Ze = je(() => import("./UserOptions-16uF1ayB.js").then((e) => e.n)), Qe = je(() => import("./PackageVersion-DW7zwRcm.js").then((e) => e.t)), $e = je(() => import("./BaseDraggableDialog-DcfGlH8A.js").then((e) => e.n)), { vue_ui_treemap: et } = oe(), { isThemeValid: tt, warnInvalidTheme: nt } = fe(), k = e, A = Ge, Mt = He(), Nt = we();
259
+ setup(e, { expose: me, emit: Ge }) {
260
+ Ve((e) => ({ v191a094c: di.value }));
261
+ let Ke = y(() => import("./DataTable-ByZy5gt1.js")), qe = y(() => import("./PenAndPaper-CLaZJl6K.js").then((e) => e.t)), Je = y(() => import("./vue-ui-accordion-Oo3IsX3-.js").then((e) => e.n)), Xe = y(() => import("./Tooltip-CDbLl3TD.js")), Ze = y(() => import("./UserOptions-BUQOnoPR.js").then((e) => e.n)), Qe = y(() => import("./PackageVersion-BoTvk0i5.js").then((e) => e.t)), $e = y(() => import("./BaseDraggableDialog-CdkCqtag.js").then((e) => e.n)), { vue_ui_treemap: et } = ae(), { isThemeValid: tt, warnInvalidTheme: nt } = de(), A = e, rt = Ge, At = He(), jt = we();
261
262
  Ie(() => {
262
- Mt["chart-background"] && console.warn("VueUiTreemap does not support the #chart-background slot.");
263
+ At["chart-background"] && console.warn("VueUiTreemap does not support the #chart-background slot.");
263
264
  });
264
- let Pt = m(() => !!k.dataset && k.dataset.length), Ft = m(() => /^((?!chrome|android).)*safari/i.test(navigator.userAgent)), j = C(r()), It = C(!1), Lt = C(""), M = C(!1), Rt = C(0), N = C([]), P = T(null), zt = T(null), Bt = T(null), Vt = T(null), Ht = T(null), Ut = C(0), Wt = C(0), Gt = C(0), F = C([]), Kt = C(null), qt = C(!1), Jt = C(null), Yt = C(null), Xt = C(null), Zt = C(/* @__PURE__ */ new Map()), Qt = C(!1), $t = C(!1), I = C(null), en = C({
265
+ let Mt = m(() => !!A.dataset && A.dataset.length), Nt = m(() => /^((?!chrome|android).)*safari/i.test(navigator.userAgent)), j = w(o()), Pt = w(!1), Ft = w(""), M = w(!1), It = w(0), N = w([]), P = E(null), Lt = E(null), Rt = E(null), zt = E(null), Bt = E(null), Vt = w(0), Ht = w(0), Ut = w(0), F = w([]), Wt = w(null), Gt = w(!1), Kt = w(null), qt = w(null), Jt = w(null), Yt = w(/* @__PURE__ */ new Map()), Xt = w(!1), Zt = w(!1), I = w(null), Qt = w({
265
266
  x: 0,
266
267
  y: 0
267
- }), tn = C("pointer"), nn = C(!1), L = C(dn()), R = m(() => L.value.userOptions.useCursorPointer), rn = m(() => a({
268
+ }), $t = w("pointer"), en = w(!1), L = w(ln()), R = m(() => L.value.userOptions.useCursorPointer), tn = m(() => te({
268
269
  defaultConfig: {
269
270
  userOptions: { show: !1 },
270
271
  style: { chart: {
@@ -277,11 +278,11 @@ var A = /* @__PURE__ */ e({ default: () => Mt }), rt = ["id"], it = ["id"], at =
277
278
  } }
278
279
  },
279
280
  userConfig: L.value.skeletonConfig ?? {}
280
- })), { loading: an, FINAL_DATASET: on, manualLoading: sn } = ce({
281
- ...Be(k),
281
+ })), { loading: nn, FINAL_DATASET: rn, manualLoading: an } = se({
282
+ ...Be(A),
282
283
  FINAL_CONFIG: L,
283
- prepareConfig: dn,
284
- skeletonDataset: k.config?.skeletonDataset ?? [{
284
+ prepareConfig: ln,
285
+ skeletonDataset: A.config?.skeletonDataset ?? [{
285
286
  name: "_",
286
287
  value: 53,
287
288
  color: "#CACACA90",
@@ -316,64 +317,64 @@ var A = /* @__PURE__ */ e({ default: () => Mt }), rt = ["id"], it = ["id"], at =
316
317
  }
317
318
  ]
318
319
  }],
319
- skeletonConfig: a({
320
+ skeletonConfig: te({
320
321
  defaultConfig: L.value,
321
- userConfig: rn.value
322
+ userConfig: tn.value
322
323
  })
323
- }), { userOptionsVisible: cn, setUserOptionsVisibility: ln, keepUserOptionState: un } = xe({ config: L.value }), { svgRef: z } = Se({ config: L.value.style.chart.title });
324
- function dn() {
325
- let e = de({
326
- userConfig: k.config,
324
+ }), { userOptionsVisible: on, setUserOptionsVisibility: sn, keepUserOptionState: cn } = xe({ config: L.value }), { svgRef: z } = Se({ config: L.value.style.chart.title });
325
+ function ln() {
326
+ let e = ue({
327
+ userConfig: A.config,
327
328
  defaultConfig: et
328
329
  }), t = e.theme;
329
330
  if (!t) return e;
330
331
  if (!tt.value(e)) return nt(e), e;
331
- let n = de({
332
- userConfig: Ee[t] || k.config,
332
+ let n = ue({
333
+ userConfig: Ee[t] || A.config,
333
334
  defaultConfig: e
334
- }), r = de({
335
- userConfig: k.config,
335
+ }), r = ue({
336
+ userConfig: A.config,
336
337
  defaultConfig: n
337
338
  });
338
339
  return {
339
340
  ...r,
340
- customPalette: r.customPalette.length ? r.customPalette : l[t] || o
341
+ customPalette: r.customPalette.length ? r.customPalette : a[t] || s
341
342
  };
342
343
  }
343
- D(() => k.config, (e) => {
344
- an.value || (L.value = dn()), cn.value = !L.value.userOptions.showOnChartHover, Ut.value += 1, Wt.value += 1, Gt.value += 1, B.value.showTable = L.value.table.show, B.value.showTooltip = L.value.style.chart.tooltip.show, B.value.showZoom = L.value.style.chart.zoom?.show ?? !1;
344
+ O(() => A.config, (e) => {
345
+ nn.value || (L.value = ln()), on.value = !L.value.userOptions.showOnChartHover, Vt.value += 1, Ht.value += 1, Ut.value += 1, B.value.showTable = L.value.table.show, B.value.showTooltip = L.value.style.chart.tooltip.show, B.value.showZoom = L.value.style.chart.zoom?.show ?? !1;
345
346
  }, { deep: !0 });
346
- let { isPrinting: fn, isImaging: pn, generatePdf: mn, generateImage: hn } = se({
347
+ let { isPrinting: un, isImaging: dn, generatePdf: fn, generateImage: pn } = oe({
347
348
  elementId: `treemap_${j.value}`,
348
349
  fileName: L.value.style.chart.title.text || "vue-ui-treemap",
349
350
  options: L.value.userOptions.print
350
- }), gn = m(() => L.value.userOptions.show && !L.value.style.chart.title.text), _n = m(() => s(L.value.customPalette)), B = C({
351
+ }), mn = m(() => L.value.userOptions.show && !L.value.style.chart.title.text), hn = m(() => n(L.value.customPalette)), B = w({
351
352
  showTable: L.value.table.show,
352
353
  showTooltip: L.value.style.chart.tooltip.show,
353
354
  showZoom: L.value.style.chart.zoom?.show ?? !1
354
355
  });
355
- D(L, () => {
356
+ O(L, () => {
356
357
  B.value = {
357
358
  showTable: L.value.table.show,
358
359
  showTooltip: L.value.style.chart.tooltip.show,
359
360
  showZoom: L.value.style.chart.zoom?.show ?? !1
360
361
  };
361
362
  }, { immediate: !0 });
362
- let vn = C({
363
+ let gn = w({
363
364
  height: L.value.style.chart.height,
364
365
  width: L.value.style.chart.width
365
366
  });
366
- function yn(e) {
367
- let t = P.value, n = vn.value.height;
367
+ function _n(e) {
368
+ let t = P.value, n = gn.value.height;
368
369
  return !t || !n ? e : e * (n / t.getBoundingClientRect().height);
369
370
  }
370
- function bn() {
371
- if (!Kt.value || X.value.length <= 1) return 0;
372
- let e = Kt.value, t = getComputedStyle(e);
373
- return yn(e.offsetHeight + parseFloat(t.marginTop || "0") + parseFloat(t.marginBottom || "0") + parseFloat(t.paddingTop || "0") + parseFloat(t.paddingBottom || "0"));
371
+ function vn() {
372
+ if (!Wt.value || X.value.length <= 1) return 0;
373
+ let e = Wt.value, t = getComputedStyle(e);
374
+ return _n(e.offsetHeight + parseFloat(t.marginTop || "0") + parseFloat(t.marginBottom || "0") + parseFloat(t.paddingTop || "0") + parseFloat(t.paddingBottom || "0"));
374
375
  }
375
376
  let V = m(() => {
376
- let e = L.value.style.chart.padding, t = vn.value.width, n = vn.value.height, r = bn(), i = e.left, a = t - e.right, o = e.top, s = n - e.bottom - r;
377
+ let e = L.value.style.chart.padding, t = gn.value.width, n = gn.value.height, r = vn(), i = e.left, a = t - e.right, o = e.top, s = n - e.bottom - r;
377
378
  return {
378
379
  left: i,
379
380
  top: o,
@@ -385,34 +386,34 @@ var A = /* @__PURE__ */ e({ default: () => Mt }), rt = ["id"], it = ["id"], at =
385
386
  vbHeight: n - r,
386
387
  offsetY: r
387
388
  };
388
- }), H = C(u(on.value)), U = C(H.value), xn = T(/* @__PURE__ */ new Map());
389
- D([H, () => L.value], () => {
390
- Xt.value = null, Zt.value = /* @__PURE__ */ new Map();
391
- }, { deep: !0 }), D(() => N.value, () => {
392
- Xt.value = null, Zt.value = /* @__PURE__ */ new Map(), Tn(), Gt.value += 1, Wt.value += 1;
393
- }, { deep: !0 }), D([() => vn.value.width, () => vn.value.height], () => {
394
- Zt.value = /* @__PURE__ */ new Map();
389
+ }), H = w(l(rn.value)), U = w(H.value), yn = E(/* @__PURE__ */ new Map());
390
+ O([H, () => L.value], () => {
391
+ Jt.value = null, Yt.value = /* @__PURE__ */ new Map();
392
+ }, { deep: !0 }), O(() => N.value, () => {
393
+ Jt.value = null, Yt.value = /* @__PURE__ */ new Map(), Cn(), Ut.value += 1, Ht.value += 1;
394
+ }, { deep: !0 }), O([() => gn.value.width, () => gn.value.height], () => {
395
+ Yt.value = /* @__PURE__ */ new Map();
395
396
  });
396
- function Sn(e) {
397
+ function bn(e) {
397
398
  Array.isArray(e) && e.forEach((e, t) => {
398
- e.id ||= r(), e.sourceColor === void 0 && (e.sourceColor = f(e.color) || null);
399
- let n = e.sourceColor || xn.value.get(e.id) || _n.value[t] || o[t] || o[t % o.length];
400
- n = f(n), xn.value.set(e.id, n), e.color = n, Cn(e, n);
399
+ e.id ||= o(), e.sourceColor === void 0 && (e.sourceColor = p(e.color) || null);
400
+ let n = e.sourceColor || yn.value.get(e.id) || hn.value[t] || s[t] || s[t % s.length];
401
+ n = p(n), yn.value.set(e.id, n), e.color = n, xn(e, n);
401
402
  });
402
403
  }
403
- function Cn(e, t) {
404
+ function xn(e, t) {
404
405
  Array.isArray(e.children) && e.children.forEach((n) => {
405
- n.id ||= r(), n.parentId = e.id, n.sourceColor === void 0 && (n.sourceColor = f(n.color) || null);
406
- let i = n.sourceColor || t;
407
- n.color = i, Cn(n, i);
406
+ n.id ||= o(), n.parentId = e.id, n.sourceColor === void 0 && (n.sourceColor = p(n.color) || null);
407
+ let r = n.sourceColor || t;
408
+ n.color = r, xn(n, r);
408
409
  });
409
410
  }
410
- function wn(e) {
411
+ function Sn(e) {
411
412
  let t = Y(e);
412
413
  for (; t?.parentId;) t = Y(t.parentId);
413
414
  return t?.id ?? null;
414
415
  }
415
- function Tn() {
416
+ function Cn() {
416
417
  let e = H.value.filter((e) => !N.value.includes(e.id));
417
418
  if (!F.value.length) {
418
419
  U.value = e;
@@ -423,94 +424,94 @@ var A = /* @__PURE__ */ e({ default: () => Mt }), rt = ["id"], it = ["id"], at =
423
424
  F.value = [], U.value = e;
424
425
  return;
425
426
  }
426
- let r = wn(n.id);
427
+ let r = Sn(n.id);
427
428
  if (r && N.value.includes(r)) {
428
429
  F.value = [], U.value = e;
429
430
  return;
430
431
  }
431
432
  U.value = [n];
432
433
  }
433
- D(() => on.value, () => {
434
- H.value = u(on.value), Sn(H.value), Tn(), Gt.value += 1, Wt.value += 1;
434
+ O(() => rn.value, () => {
435
+ H.value = l(rn.value), bn(H.value), Cn(), Ut.value += 1, Ht.value += 1;
435
436
  }, {
436
437
  deep: !0,
437
438
  immediate: !0,
438
439
  flush: "post"
439
440
  });
440
- let W = T(null), En = T(null);
441
+ let W = E(null), wn = E(null);
441
442
  Ie(() => {
442
- qt.value = !0, On();
443
+ Gt.value = !0, En();
443
444
  });
444
- let Dn = m(() => L.value.debug);
445
- function On() {
446
- if (te(k.dataset) && t({
445
+ let Tn = m(() => L.value.debug);
446
+ function En() {
447
+ if (t(A.dataset) && f({
447
448
  componentName: "VueUiTreemap",
448
449
  type: "dataset",
449
- debug: Dn.value
450
- }), Sn(H.value), te(k.dataset) || (sn.value = L.value.loading), L.value.responsive) {
451
- let e = ge(() => {
452
- let { width: e, height: t } = _e({
450
+ debug: Tn.value
451
+ }), bn(H.value), t(A.dataset) || (an.value = L.value.loading), L.value.responsive) {
452
+ let e = he(() => {
453
+ let { width: e, height: t } = ge({
453
454
  chart: P.value,
454
- title: L.value.style.chart.title.text ? zt.value : null,
455
- legend: L.value.style.chart.legend.show ? Bt.value : null,
456
- source: Vt.value,
457
- noTitle: Ht.value
455
+ title: L.value.style.chart.title.text ? Lt.value : null,
456
+ legend: L.value.style.chart.legend.show ? Rt.value : null,
457
+ source: zt.value,
458
+ noTitle: Bt.value
458
459
  });
459
460
  requestAnimationFrame(() => {
460
- vn.value.width = e, vn.value.height = t - 12;
461
+ gn.value.width = e, gn.value.height = t - 12;
461
462
  });
462
463
  });
463
- W.value && (En.value && W.value.unobserve(En.value), W.value.disconnect()), W.value = new ResizeObserver(e), En.value = P.value.parentNode, W.value.observe(En.value);
464
+ W.value && (wn.value && W.value.unobserve(wn.value), W.value.disconnect()), W.value = new ResizeObserver(e), wn.value = P.value.parentNode, W.value.observe(wn.value);
464
465
  }
465
466
  }
466
467
  Fe(() => {
467
- W.value && (En.value && W.value.unobserve(En.value), W.value.disconnect());
468
+ W.value && (wn.value && W.value.unobserve(wn.value), W.value.disconnect());
468
469
  });
469
- let kn = m(() => U.value.map((e, t) => ({
470
+ let Dn = m(() => U.value.map((e, t) => ({
470
471
  ...e,
471
- color: f(e.color) || _n.value[t] || o[t] || o[t % o.length]
472
- })).filter((e) => !N.value.includes(e.id))), An = m(() => H.value.filter((e) => !N.value.includes(e.id)).map((e) => e.value || 0).reduce((e, t) => e + t, 0)), jn = m({
472
+ color: p(e.color) || hn.value[t] || s[t] || s[t % s.length]
473
+ })).filter((e) => !N.value.includes(e.id))), On = m(() => H.value.filter((e) => !N.value.includes(e.id)).map((e) => e.value || 0).reduce((e, t) => e + t, 0)), kn = m({
473
474
  get() {
474
- let e = [...kn.value];
475
- return L.value.style.chart.layout.sorted && (e = [...kn.value].sort((e, t) => t.value - e.value)), e.map((e) => ({ ...e }));
475
+ let e = [...Dn.value];
476
+ return L.value.style.chart.layout.sorted && (e = [...Dn.value].sort((e, t) => t.value - e.value)), e.map((e) => ({ ...e }));
476
477
  },
477
478
  set(e) {
478
479
  return e;
479
480
  }
480
481
  });
481
- function Mn(e, t) {
482
+ function An(e, t) {
482
483
  return e.value / t;
483
484
  }
484
- function Nn(e, t, r) {
485
- let i = L.value.style.chart.layout.rects.colorRatio - Mn(t, r);
486
- return n(e, i < 0 ? 0 : i);
485
+ function jn(e, t, n) {
486
+ let i = L.value.style.chart.layout.rects.colorRatio - An(t, n);
487
+ return r(e, i < 0 ? 0 : i);
487
488
  }
488
- function Pn(e) {
489
+ function Mn(e) {
489
490
  return Array.isArray(e.children) && e.children.length > 0;
490
491
  }
491
- function Fn(e) {
492
+ function Nn(e) {
492
493
  return [...e].sort((e, t) => {
493
- let n = Pn(e), r = Pn(t);
494
+ let n = Mn(e), r = Mn(t);
494
495
  if (n !== r) return n - r;
495
496
  let i = Number(e.value) || 0;
496
497
  return (Number(t.value) || 0) - i;
497
498
  });
498
499
  }
499
- function In(e, t, n, r, i) {
500
- return Fn(e).map((e, a) => {
501
- let s = e.sourceColor || f(e.color) || f(t) || _n.value[a] || o[a] || o[a % o.length], c = e.sourceColor ? e.sourceColor : Nn(s, e, r), l = Mn(e, r), u = i ?? e.parentId ?? e.id, d = Array.isArray(e.children) && e.children.length && e.children.reduce((e, t) => e + (Number(t.value) || 0), 0) || 1;
500
+ function Pn(e, t, n, r, i) {
501
+ return Nn(e).map((e, a) => {
502
+ let o = e.sourceColor || p(e.color) || p(t) || hn.value[a] || s[a] || s[a % s.length], c = e.sourceColor ? e.sourceColor : jn(o, e, r), l = An(e, r), u = i ?? e.parentId ?? e.id, d = Array.isArray(e.children) && e.children.length && e.children.reduce((e, t) => e + (Number(t.value) || 0), 0) || 1;
502
503
  return {
503
504
  ...e,
504
505
  color: c,
505
506
  proportion: l,
506
507
  parentName: n,
507
508
  rootId: u,
508
- children: Array.isArray(e.children) && e.children.length ? In(e.children, s, e.name, d, u) : void 0
509
+ children: Array.isArray(e.children) && e.children.length ? Pn(e.children, o, e.name, d, u) : void 0
509
510
  };
510
511
  });
511
512
  }
512
- function Ln(e) {
513
- let t = Yn(e), n = Rn(e), r = t * .55, i = t * .55, a = t * 1.05, o = t * 1.05, s = t * .35, c = n ? a + o + s : t * .45, l = e.x0 + r, u = e.x1 - r, d = e.y0 + c, f = e.y1 - i;
513
+ function Fn(e) {
514
+ let t = qn(e), n = In(e), r = t * .55, i = t * .55, a = t * 1.05, o = t * 1.05, s = t * .35, c = n ? a + o + s : t * .45, l = e.x0 + r, u = e.x1 - r, d = e.y0 + c, f = e.y1 - i;
514
515
  return u <= l || f <= d ? null : {
515
516
  x0: l,
516
517
  y0: d,
@@ -518,14 +519,14 @@ var A = /* @__PURE__ */ e({ default: () => Mt }), rt = ["id"], it = ["id"], at =
518
519
  y1: f
519
520
  };
520
521
  }
521
- function Rn(e) {
522
- return zn(e);
522
+ function In(e) {
523
+ return Ln(e);
523
524
  }
524
- function zn(e) {
525
+ function Ln(e) {
525
526
  let t = Number(L.value.style.chart.layout.labels.hideUnderProportion);
526
527
  return !Number.isFinite(t) || t <= 0 ? !0 : e.proportion > t;
527
528
  }
528
- function Bn(e, t, n = 0, r = null) {
529
+ function Rn(e, t, n = 0, r = null) {
529
530
  if (!Array.isArray(e) || !e.length) return [];
530
531
  let i = e.map((e) => {
531
532
  let { children: t, ...n } = e;
@@ -539,28 +540,28 @@ var A = /* @__PURE__ */ e({ default: () => Mt }), rt = ["id"], it = ["id"], at =
539
540
  color: i?.color ?? e.color ?? null,
540
541
  children: t,
541
542
  isVisibleNode: !0,
542
- showLabel: Rn(e)
543
+ showLabel: In(e)
543
544
  };
544
545
  if (c.push(s), t.length) {
545
- let r = Ln(s);
546
- r && c.push(...Bn(t, r, n + 1, e.id));
546
+ let r = Fn(s);
547
+ r && c.push(...Rn(t, r, n + 1, e.id));
547
548
  }
548
549
  }
549
550
  return c;
550
551
  }
551
- let Vn = m(() => {
552
- let e = U.value.length ? U.value : jn.value, t = e.map((e) => Number(e.value) || 0).reduce((e, t) => e + t, 0) || 1;
553
- return Bn(e.map((e, n) => {
554
- let i = e.children ? e.children.reduce((e, t) => e + (Number(t.value) || 0), 0) : e.value, { children: a, ...s } = e, c = e.sourceColor || f(e.color) || xn.value.get(e.id) || _n.value[n] || o[n] || o[n % o.length], l = e.sourceColor ? e.sourceColor : Nn(c, e, t);
552
+ let zn = m(() => {
553
+ let e = U.value.length ? U.value : kn.value, t = e.map((e) => Number(e.value) || 0).reduce((e, t) => e + t, 0) || 1;
554
+ return Rn(e.map((e, n) => {
555
+ let r = e.children ? e.children.reduce((e, t) => e + (Number(t.value) || 0), 0) : e.value, { children: i, ...a } = e, c = e.sourceColor || p(e.color) || yn.value.get(e.id) || hn.value[n] || s[n] || s[n % s.length], l = e.sourceColor ? e.sourceColor : jn(c, e, t);
555
556
  return {
556
- ...s,
557
- id: e.id || r(),
557
+ ...a,
558
+ id: e.id || o(),
558
559
  parentId: e.parentId ?? null,
559
560
  name: e.name,
560
561
  value: e.value,
561
562
  color: l,
562
563
  proportion: (Number(e.value) || 0) / t,
563
- children: Array.isArray(e.children) && e.children.length ? In(e.children, c, e.name, i || 1) : void 0
564
+ children: Array.isArray(e.children) && e.children.length ? Pn(e.children, c, e.name, r || 1) : void 0
564
565
  };
565
566
  }), {
566
567
  x0: V.value.left,
@@ -568,29 +569,29 @@ var A = /* @__PURE__ */ e({ default: () => Mt }), rt = ["id"], it = ["id"], at =
568
569
  x1: V.value.left + V.value.width,
569
570
  y1: V.value.top + V.value.height
570
571
  });
571
- }), G = m(() => Vn.value);
572
+ }), G = m(() => zn.value);
572
573
  function K({ y0: e, y1: t }) {
573
574
  return t - e <= 0 ? 1e-4 : t - e;
574
575
  }
575
576
  function q({ x0: e, x1: t }) {
576
577
  return t - e <= 0 ? 1e-4 : t - e;
577
578
  }
578
- function Hn() {
579
+ function Bn() {
579
580
  let e = L.value.style.chart.layout.labels, t = Number(e.minFontSize), n = Number(e.fontSize), r = Math.max(0, Math.min(Number.isFinite(t) ? t : 0, Number.isFinite(n) ? n : 0));
580
581
  return {
581
582
  lowerBound: r,
582
583
  upperBound: Math.max(r, Number.isFinite(n) ? n : r)
583
584
  };
584
585
  }
585
- function Un(e) {
586
+ function Vn(e) {
586
587
  let t = Math.min(4, Math.max(e * .25, .5));
587
588
  return {
588
589
  paddingX: t,
589
590
  paddingTop: t
590
591
  };
591
592
  }
592
- function Wn(e, t) {
593
- let { paddingX: n, paddingTop: r } = Un(t), i = t * 1.1;
593
+ function Hn(e, t) {
594
+ let { paddingX: n, paddingTop: r } = Vn(t), i = t * 1.1;
594
595
  return {
595
596
  x: e.x0 + n,
596
597
  y: e.y0 + r,
@@ -599,8 +600,8 @@ var A = /* @__PURE__ */ e({ default: () => Mt }), rt = ["id"], it = ["id"], at =
599
600
  lineHeight: i
600
601
  };
601
602
  }
602
- function Gn(e, t) {
603
- return ee(L.value.style.chart.layout.labels.formatter, e.value, i({
603
+ function Un(e, t) {
604
+ return ee(L.value.style.chart.layout.labels.formatter, e.value, u({
604
605
  p: L.value.style.chart.layout.labels.prefix,
605
606
  v: e.value,
606
607
  s: L.value.style.chart.layout.labels.suffix,
@@ -610,31 +611,31 @@ var A = /* @__PURE__ */ e({ default: () => Mt }), rt = ["id"], it = ["id"], at =
610
611
  seriesIndex: t
611
612
  });
612
613
  }
613
- function Kn(e, t) {
614
- let n = Gn(e, t);
614
+ function Wn(e, t) {
615
+ let n = Un(e, t);
615
616
  return Array.isArray(e.children) && e.children.length ? [`${e.name} (${n})`] : [`${e.name}`, n].filter((e) => `${e}`.length);
616
617
  }
617
- function qn(e, t, n) {
618
- let r = Kn(e, n), i = Wn(e, t);
619
- return !r.length || i.width <= 0 || i.height <= 0 || r.length * i.lineHeight > i.height ? !1 : r.every((e, n) => ri(e, t, n === 0 ? 500 : 400) <= i.width);
618
+ function Gn(e, t, n) {
619
+ let r = Wn(e, n), i = Hn(e, t);
620
+ return !r.length || i.width <= 0 || i.height <= 0 || r.length * i.lineHeight > i.height ? !1 : r.every((e, n) => ti(e, t, n === 0 ? 500 : 400) <= i.width);
620
621
  }
621
- function Jn(e, t, n, r) {
622
- let i = Kn(e, t), a = Math.max(1, ...i.map((e) => String(e).length)), o = Math.min(18, Math.max(10, Math.ceil(a * .7))), s = Math.max(1, i.length), c = Math.max(q(e) - 1, 1e-4), l = Math.max(K(e) - 1, 1e-4), u = c / (o * .58), d = l / (s * 1.35);
622
+ function Kn(e, t, n, r) {
623
+ let i = Wn(e, t), a = Math.max(1, ...i.map((e) => String(e).length)), o = Math.min(18, Math.max(10, Math.ceil(a * .7))), s = Math.max(1, i.length), c = Math.max(q(e) - 1, 1e-4), l = Math.max(K(e) - 1, 1e-4), u = c / (o * .58), d = l / (s * 1.35);
623
624
  return Math.max(n, Math.min(r, u, d));
624
625
  }
625
- function Yn(e, t) {
626
- let { lowerBound: n, upperBound: r } = Hn(), i = Math.max(1e-4, Math.min(q(e), K(e))), a = Math.max(n, Math.min(r, i * .9)), o = Math.min(a, Jn(e, t, n, r));
627
- if (qn(e, o, t) || !qn(e, n, t)) return o;
626
+ function qn(e, t) {
627
+ let { lowerBound: n, upperBound: r } = Bn(), i = Math.max(1e-4, Math.min(q(e), K(e))), a = Math.max(n, Math.min(r, i * .9)), o = Math.min(a, Kn(e, t, n, r));
628
+ if (Gn(e, o, t) || !Gn(e, n, t)) return o;
628
629
  let s = n, c = o, l = n;
629
630
  for (let n = 0; n < 8; n += 1) {
630
631
  let n = (s + c) / 2;
631
- qn(e, n, t) ? (l = n, s = n) : c = n;
632
+ Gn(e, n, t) ? (l = n, s = n) : c = n;
632
633
  }
633
634
  let u = Math.max(n, o * .7);
634
635
  return l >= u ? l : o;
635
636
  }
636
- function Xn(e) {
637
- M.value = e, Rt.value += 1;
637
+ function Jn(e) {
638
+ M.value = e, It.value += 1;
638
639
  }
639
640
  let J = m(() => ({
640
641
  x: 0,
@@ -652,7 +653,7 @@ var A = /* @__PURE__ */ e({ default: () => Mt }), rt = ["id"], it = ["id"], at =
652
653
  }
653
654
  return null;
654
655
  }
655
- function Zn(e) {
656
+ function Yn(e) {
656
657
  let t = [], n = Y(e);
657
658
  for (; n && n.parentId;) {
658
659
  let e = Y(n.parentId);
@@ -661,23 +662,23 @@ var A = /* @__PURE__ */ e({ default: () => Mt }), rt = ["id"], it = ["id"], at =
661
662
  }
662
663
  return t;
663
664
  }
664
- let Qn = m(() => F.value.length > 0);
665
- function $n() {
666
- U.value = H.value.slice(), F.value = [], A("selectDatapoint", void 0);
665
+ let Xn = m(() => F.value.length > 0);
666
+ function Zn() {
667
+ U.value = H.value.slice(), F.value = [], rt("selectDatapoint", void 0);
667
668
  }
668
- function er() {
669
+ function Qn() {
669
670
  return F.value[F.value.length - 1] ?? null;
670
671
  }
671
- function tr(e, t, n) {
672
- F.value = [...Zn(e.id), e.id], U.value = [e], L.value.events.datapointClick && L.value.events.datapointClick({
672
+ function $n(e, t, n) {
673
+ F.value = [...Yn(e.id), e.id], U.value = [e], L.value.events.datapointClick && L.value.events.datapointClick({
673
674
  datapoint: t ?? e,
674
675
  seriesIndex: n
675
- }), A("selectDatapoint", t ?? e);
676
+ }), rt("selectDatapoint", t ?? e);
676
677
  }
677
- function nr(e, t) {
678
- let n = er();
678
+ function er(e, t) {
679
+ let n = Qn();
679
680
  if (!n) {
680
- $n();
681
+ Zn();
681
682
  return;
682
683
  }
683
684
  let r = Y(n);
@@ -685,35 +686,35 @@ var A = /* @__PURE__ */ e({ default: () => Mt }), rt = ["id"], it = ["id"], at =
685
686
  L.value.events.datapointClick && L.value.events.datapointClick({
686
687
  datapoint: e,
687
688
  seriesIndex: t
688
- }), $n();
689
+ }), Zn();
689
690
  return;
690
691
  }
691
692
  let i = Y(r.parentId);
692
693
  if (!i) {
693
- $n();
694
+ Zn();
694
695
  return;
695
696
  }
696
- F.value = [...Zn(i.id), i.id], U.value = [i], L.value.events.datapointClick && L.value.events.datapointClick({
697
+ F.value = [...Yn(i.id), i.id], U.value = [i], L.value.events.datapointClick && L.value.events.datapointClick({
697
698
  datapoint: e,
698
699
  seriesIndex: t
699
- }), A("selectDatapoint", e);
700
+ }), rt("selectDatapoint", e);
700
701
  }
701
- function rr(e, t) {
702
+ function tr(e, t) {
702
703
  if (!e) {
703
- $n();
704
+ Zn();
704
705
  return;
705
706
  }
706
707
  let n = Y(e.id);
707
708
  if (n) {
708
- if (er() === n.id) {
709
- nr(e, t);
709
+ if (Qn() === n.id) {
710
+ er(e, t);
710
711
  return;
711
712
  }
712
- tr(n, e, t);
713
+ $n(n, e, t);
713
714
  }
714
715
  }
715
- function ir(e) {
716
- return e ? er() === e.id : !1;
716
+ function nr(e) {
717
+ return e ? Qn() === e.id : !1;
717
718
  }
718
719
  let X = m(() => {
719
720
  let e = [{
@@ -730,9 +731,9 @@ var A = /* @__PURE__ */ e({ default: () => Mt }), rt = ["id"], it = ["id"], at =
730
731
  });
731
732
  }
732
733
  return e;
733
- }), Z = T(null), ar = m(() => H.value.map((e, t) => ({
734
+ }), Z = E(null), rr = m(() => H.value.map((e, t) => ({
734
735
  ...e,
735
- color: f(e.color) || _n.value[t] || o[t] || o[t % o.length],
736
+ color: p(e.color) || hn.value[t] || s[t] || s[t % s.length],
736
737
  shape: "square"
737
738
  })).sort((e, t) => t.value - e.value).map((e, t) => {
738
739
  let n = e.value / H.value.map((e) => e.value).reduce((e, t) => e + t, 0);
@@ -740,75 +741,75 @@ var A = /* @__PURE__ */ e({ default: () => Mt }), rt = ["id"], it = ["id"], at =
740
741
  ...e,
741
742
  proportion: n,
742
743
  isSegregated: N.value.includes(e.id),
743
- segregate: () => lr(e),
744
+ segregate: () => sr(e),
744
745
  opacity: N.value.includes(e.id) ? .5 : 1,
745
- display: `${e.name}${L.value.style.chart.legend.showPercentage || L.value.style.chart.legend.showValue ? ": " : ""}${L.value.style.chart.legend.showValue ? ee(L.value.style.chart.layout.labels.formatter, e.value, i({
746
+ display: `${e.name}${L.value.style.chart.legend.showPercentage || L.value.style.chart.legend.showValue ? ": " : ""}${L.value.style.chart.legend.showValue ? ee(L.value.style.chart.layout.labels.formatter, e.value, u({
746
747
  p: L.value.style.chart.layout.labels.prefix,
747
748
  v: e.value,
748
749
  s: L.value.style.chart.layout.labels.suffix,
749
750
  r: L.value.style.chart.legend.roundingValue
750
- }), { datapoint: e }) : ""}${L.value.style.chart.legend.showPercentage ? N.value.includes(e.id) ? `${L.value.style.chart.legend.showValue ? " (" : ""}- %${L.value.style.chart.legend.showValue ? ")" : ""}` : `${L.value.style.chart.legend.showValue ? " (" : ""}${isNaN(e.value / An.value) ? "-" : (e.value / An.value * 100).toFixed(L.value.style.chart.legend.roundingPercentage)}%${L.value.style.chart.legend.showValue ? ")" : ""}` : ""}`
751
+ }), { datapoint: e }) : ""}${L.value.style.chart.legend.showPercentage ? N.value.includes(e.id) ? `${L.value.style.chart.legend.showValue ? " (" : ""}- %${L.value.style.chart.legend.showValue ? ")" : ""}` : `${L.value.style.chart.legend.showValue ? " (" : ""}${isNaN(e.value / On.value) ? "-" : (e.value / On.value * 100).toFixed(L.value.style.chart.legend.roundingPercentage)}%${L.value.style.chart.legend.showValue ? ")" : ""}` : ""}`
751
752
  };
752
- })), or = m(() => ({
753
+ })), ir = m(() => ({
753
754
  cy: "treemap-div-legend",
754
755
  backgroundColor: L.value.style.chart.legend.backgroundColor,
755
756
  color: L.value.style.chart.legend.color,
756
757
  fontSize: L.value.style.chart.legend.fontSize,
757
758
  paddingBottom: 12,
758
759
  fontWeight: L.value.style.chart.legend.bold ? "bold" : ""
759
- })), sr = m(() => N.value.length === ar.value.length);
760
- function cr() {
761
- N.value.length ? N.value = [] : ar.value.forEach((e) => {
760
+ })), ar = m(() => N.value.length === rr.value.length);
761
+ function or() {
762
+ N.value.length ? N.value = [] : rr.value.forEach((e) => {
762
763
  N.value.push(e.id);
763
- }), A("selectLegend", H.value.filter((e) => !N.value.includes(e.id)));
764
+ }), rt("selectLegend", H.value.filter((e) => !N.value.includes(e.id)));
764
765
  }
765
- function lr(e) {
766
- Z.value = null, N.value.includes(e.id) ? N.value = N.value.filter((t) => t !== e.id) : N.value.length < k.dataset.length - 1 && N.value.push(e.id), A("selectLegend", H.value.filter((e) => !N.value.includes(e.id)));
766
+ function sr(e) {
767
+ Z.value = null, N.value.includes(e.id) ? N.value = N.value.filter((t) => t !== e.id) : N.value.length < A.dataset.length - 1 && N.value.push(e.id), rt("selectLegend", H.value.filter((e) => !N.value.includes(e.id)));
767
768
  }
768
- function ur(e) {
769
+ function cr(e) {
769
770
  return H.value.length ? H.value.find((t) => t.name === e) || (L.value.debug && console.warn(`VueUiTreemap - Series name not found "${e}"`), null) : (L.value.debug && console.warn("VueUiTreemap - There are no series to show."), null);
770
771
  }
771
- function dr(e) {
772
- let t = ur(e);
773
- t !== null && N.value.includes(t.id) && lr({ id: t.id });
772
+ function lr(e) {
773
+ let t = cr(e);
774
+ t !== null && N.value.includes(t.id) && sr({ id: t.id });
774
775
  }
775
- function fr(e) {
776
- let t = ur(e);
777
- t !== null && (N.value.includes(t.id) || lr({ id: t.id }));
776
+ function ur(e) {
777
+ let t = cr(e);
778
+ t !== null && (N.value.includes(t.id) || sr({ id: t.id }));
778
779
  }
779
- function pr({ datapoint: e, seriesIndex: t }) {
780
- Z.value = null, It.value = !1, I.value = null, tn.value = "pointer", L.value.events.datapointLeave && L.value.events.datapointLeave({
780
+ function dr({ datapoint: e, seriesIndex: t }) {
781
+ Z.value = null, Pt.value = !1, I.value = null, $t.value = "pointer", L.value.events.datapointLeave && L.value.events.datapointLeave({
781
782
  datapoint: e,
782
783
  seriesIndex: t
783
784
  });
784
785
  }
785
- let mr = C(null);
786
- function hr({ datapoint: e, seriesIndex: t, triggerMode: n = "pointer" }) {
787
- if (sr.value || n === "pointer" && Tr.value) return;
786
+ let fr = w(null);
787
+ function pr({ datapoint: e, seriesIndex: t, triggerMode: n = "pointer" }) {
788
+ if (ar.value || n === "pointer" && Cr.value) return;
788
789
  L.value.events.datapointEnter && L.value.events.datapointEnter({
789
790
  datapoint: e,
790
791
  seriesIndex: t
791
- }), I.value = t, tn.value = n, Z.value = e, mr.value = {
792
+ }), I.value = t, $t.value = n, Z.value = e, fr.value = {
792
793
  datapoint: e,
793
794
  seriesIndex: t,
794
795
  config: L.value,
795
- series: kn.value
796
+ series: Dn.value
796
797
  };
797
798
  let r = L.value.style.chart.tooltip.customFormat;
798
- if (ae(r) && ne(() => r({
799
+ if (d(r) && re(() => r({
799
800
  seriesIndex: t,
800
801
  datapoint: e,
801
- series: kn.value,
802
+ series: Dn.value,
802
803
  config: L.value
803
- }))) Lt.value = r({
804
+ }))) Ft.value = r({
804
805
  seriesIndex: t,
805
806
  datapoint: e,
806
- series: kn.value,
807
+ series: Dn.value,
807
808
  config: L.value
808
809
  });
809
810
  else {
810
811
  let n = "";
811
- n += `<div style="width:100%;text-align:center;border-bottom:1px solid ${L.value.style.chart.tooltip.borderColor};padding-bottom:6px;margin-bottom:3px;">${e.name}</div>`, n += `<div style="display:flex;flex-direction:row;gap:6px;align-items:center;"><svg viewBox="0 0 12 12" height="14" width="14"><rect x="0" y="0" height="12" width="12" stroke="none" fill="${e.color}"/></svg>`, n += `<b>${ee(L.value.style.chart.layout.labels.formatter, e.value, i({
812
+ n += `<div style="width:100%;text-align:center;border-bottom:1px solid ${L.value.style.chart.tooltip.borderColor};padding-bottom:6px;margin-bottom:3px;">${e.name}</div>`, n += `<div style="display:flex;flex-direction:row;gap:6px;align-items:center;"><svg viewBox="0 0 12 12" height="14" width="14"><rect x="0" y="0" height="12" width="12" stroke="none" fill="${e.color}"/></svg>`, n += `<b>${ee(L.value.style.chart.layout.labels.formatter, e.value, u({
812
813
  p: L.value.style.chart.layout.labels.prefix,
813
814
  v: e.value,
814
815
  s: L.value.style.chart.layout.labels.suffix,
@@ -816,9 +817,9 @@ var A = /* @__PURE__ */ e({ default: () => Mt }), rt = ["id"], it = ["id"], at =
816
817
  }), {
817
818
  datapoint: e,
818
819
  seriesIndex: t
819
- })}</b>`, Lt.value = `<div>${n}</div>`;
820
+ })}</b>`, Ft.value = `<div>${n}</div>`;
820
821
  }
821
- It.value = !0;
822
+ Pt.value = !0;
822
823
  }
823
824
  let Q = m(() => ({
824
825
  head: G.value.map((e) => ({
@@ -827,13 +828,13 @@ var A = /* @__PURE__ */ e({ default: () => Mt }), rt = ["id"], it = ["id"], at =
827
828
  })),
828
829
  body: G.value.map((e) => e.value)
829
830
  }));
830
- function gr(e = null) {
831
+ function mr(e = null) {
831
832
  Ne(() => {
832
833
  let t = Q.value.head.map((e, t) => [
833
834
  [e.name],
834
835
  [Q.value.body[t]],
835
- [isNaN(Q.value.body[t] / An.value) ? "-" : Q.value.body[t] / An.value * 100]
836
- ]), n = c([
836
+ [isNaN(Q.value.body[t] / On.value) ? "-" : Q.value.body[t] / On.value * 100]
837
+ ]), n = i([
837
838
  [L.value.style.chart.title.text],
838
839
  [L.value.style.chart.title.subtitle.text],
839
840
  [
@@ -842,19 +843,19 @@ var A = /* @__PURE__ */ e({ default: () => Mt }), rt = ["id"], it = ["id"], at =
842
843
  ["%"]
843
844
  ]
844
845
  ].concat(t));
845
- e ? e(n) : d({
846
+ e ? e(n) : c({
846
847
  csvContent: n,
847
848
  title: L.value.style.chart.title.text || "vue-ui-treemap"
848
849
  });
849
850
  });
850
851
  }
851
- let _r = m(() => {
852
+ let hr = m(() => {
852
853
  let e = [
853
854
  L.value.table.columnNames.series,
854
855
  L.value.table.columnNames.value,
855
856
  L.value.table.columnNames.percentage
856
857
  ], t = Q.value.head.map((e, t) => {
857
- let n = ee(L.value.style.chart.layout.labels.formatter, Q.value.body[t], i({
858
+ let n = ee(L.value.style.chart.layout.labels.formatter, Q.value.body[t], u({
858
859
  p: L.value.style.chart.layout.labels.prefix,
859
860
  v: Q.value.body[t],
860
861
  s: L.value.style.chart.layout.labels.suffix,
@@ -867,8 +868,8 @@ var A = /* @__PURE__ */ e({ default: () => Mt }), rt = ["id"], it = ["id"], at =
867
868
  shape: "square"
868
869
  },
869
870
  n,
870
- isNaN(Q.value.body[t] / An.value) ? "-" : i({
871
- v: Q.value.body[t] / An.value * 100,
871
+ isNaN(Q.value.body[t] / On.value) ? "-" : u({
872
+ v: Q.value.body[t] / On.value * 100,
872
873
  s: "%",
873
874
  r: L.value.table.td.roundingPercentage
874
875
  })
@@ -893,36 +894,36 @@ var A = /* @__PURE__ */ e({ default: () => Mt }), rt = ["id"], it = ["id"], at =
893
894
  config: n
894
895
  };
895
896
  });
896
- function vr() {
897
+ function gr() {
897
898
  return G.value;
898
899
  }
899
- function yr() {
900
+ function _r() {
900
901
  B.value.showTable = !B.value.showTable;
901
902
  }
902
- function br() {
903
+ function vr() {
903
904
  B.value.showTooltip = !B.value.showTooltip;
904
905
  }
905
- function xr() {
906
+ function yr() {
906
907
  B.value.showZoom = !B.value.showZoom;
907
908
  }
908
- let Sr = C(!1);
909
- function Cr() {
910
- Sr.value = !Sr.value;
909
+ let br = w(!1);
910
+ function xr() {
911
+ br.value = !br.value;
911
912
  }
912
- let wr = m(() => !Sr.value && B.value.showZoom), Tr = C(null), Er = C(!1), { viewBox: $, resetZoom: Dr, isZoom: Or, setInitialViewBox: kr } = Te(z, {
913
+ let Sr = m(() => !br.value && B.value.showZoom), Cr = w(null), wr = w(!1), { viewBox: $, resetZoom: Tr, isZoom: Er, setInitialViewBox: Dr } = Te(z, {
913
914
  x: J.value.x,
914
915
  y: J.value.y,
915
916
  width: Math.max(10, J.value.width),
916
917
  height: Math.max(10, J.value.height)
917
- }, 1, wr), Ar = m(() => B.value.showZoom || Or.value);
918
- D([
918
+ }, 1, Sr), Or = m(() => B.value.showZoom || Er.value);
919
+ O([
919
920
  () => J.value.x,
920
921
  () => J.value.y,
921
922
  () => J.value.width,
922
923
  () => J.value.height
923
924
  ], () => {
924
925
  Ne(() => {
925
- kr({
926
+ Dr({
926
927
  x: J.value.x,
927
928
  y: J.value.y,
928
929
  width: Math.max(10, J.value.width),
@@ -930,35 +931,35 @@ var A = /* @__PURE__ */ e({ default: () => Mt }), rt = ["id"], it = ["id"], at =
930
931
  });
931
932
  });
932
933
  }, { immediate: !0 });
933
- function jr(e) {
934
- wr.value && (e.button !== void 0 && e.button !== 0 || (Tr.value = {
934
+ function kr(e) {
935
+ Sr.value && (e.button !== void 0 && e.button !== 0 || (Cr.value = {
935
936
  x: e.clientX,
936
937
  y: e.clientY
937
- }, Er.value = !1));
938
+ }, wr.value = !1));
938
939
  }
939
- function Mr(e) {
940
- if (!wr.value || !Tr.value) return;
941
- let t = e.clientX - Tr.value.x, n = e.clientY - Tr.value.y;
942
- Math.hypot(t, n) > jt && (Er.value = !0);
940
+ function Ar(e) {
941
+ if (!Sr.value || !Cr.value) return;
942
+ let t = e.clientX - Cr.value.x, n = e.clientY - Cr.value.y;
943
+ Math.hypot(t, n) > kt && (wr.value = !0);
943
944
  }
944
- function Nr() {
945
- Tr.value = null, Er.value && window.setTimeout(() => {
946
- Er.value = !1;
945
+ function jr() {
946
+ Cr.value = null, wr.value && window.setTimeout(() => {
947
+ wr.value = !1;
947
948
  }, 0);
948
949
  }
949
- function Pr(e, t) {
950
- Er.value || rr(e, t);
950
+ function Mr(e, t) {
951
+ wr.value || tr(e, t);
951
952
  }
952
- let Fr = C(null);
953
- function Ir(e) {
954
- Fr.value = e;
953
+ let Nr = w(null);
954
+ function Pr(e) {
955
+ Nr.value = e;
955
956
  }
956
- function Lr() {
957
- Fr.value = null;
957
+ function Fr() {
958
+ Nr.value = null;
958
959
  }
959
- async function Rr({ scale: e = 2 } = {}) {
960
+ async function Ir({ scale: e = 2 } = {}) {
960
961
  if (!P.value) return;
961
- let { width: t, height: n } = P.value.getBoundingClientRect(), r = t / n, { imageUri: i, base64: a } = await pe({
962
+ let { width: t, height: n } = P.value.getBoundingClientRect(), r = t / n, { imageUri: i, base64: a } = await fe({
962
963
  domElement: P.value,
963
964
  base64: !0,
964
965
  img: !0,
@@ -973,7 +974,7 @@ var A = /* @__PURE__ */ e({ default: () => Mt }), rt = ["id"], it = ["id"], at =
973
974
  aspectRatio: r
974
975
  };
975
976
  }
976
- let zr = m(() => {
977
+ let Lr = m(() => {
977
978
  let e = L.value.table.useDialog && !L.value.table.show, t = B.value.showTable;
978
979
  return {
979
980
  component: e ? $e : Je,
@@ -1004,51 +1005,51 @@ var A = /* @__PURE__ */ e({ default: () => Mt }), rt = ["id"], it = ["id"], at =
1004
1005
  }
1005
1006
  };
1006
1007
  });
1007
- D(() => B.value.showTable, (e) => {
1008
- L.value.table.show || (e && L.value.table.useDialog && Jt.value ? Jt.value.open() : "close" in Jt.value && Jt.value.close());
1008
+ O(() => B.value.showTable, (e) => {
1009
+ L.value.table.show || (e && L.value.table.useDialog && Kt.value ? Kt.value.open() : "close" in Kt.value && Kt.value.close());
1009
1010
  });
1010
- function Br() {
1011
- B.value.showTable = !1, Yt.value && Yt.value.setTableIconState(!1);
1011
+ function Rr() {
1012
+ B.value.showTable = !1, qt.value && qt.value.setTableIconState(!1);
1012
1013
  }
1013
- let Vr = m(() => ar.value.map((e) => ({
1014
+ let zr = m(() => rr.value.map((e) => ({
1014
1015
  ...e,
1015
1016
  name: e.display
1016
- }))), Hr = m(() => L.value.style.chart.backgroundColor), Ur = m(() => L.value.style.chart.legend), { exportSvg: Wr, getSvg: Gr } = ue({
1017
+ }))), Br = m(() => L.value.style.chart.backgroundColor), Vr = m(() => L.value.style.chart.legend), { exportSvg: Hr, getSvg: Ur } = le({
1017
1018
  svg: z,
1018
1019
  title: m(() => L.value.style.chart.title),
1019
- legend: Ur,
1020
- legendItems: Vr,
1021
- backgroundColor: Hr
1020
+ legend: Vr,
1021
+ legendItems: zr,
1022
+ backgroundColor: Br
1022
1023
  });
1023
- async function Kr({ isCb: e }) {
1024
- $t.value = !0, await Ne();
1024
+ async function Wr({ isCb: e }) {
1025
+ Zt.value = !0, await Ne();
1025
1026
  try {
1026
1027
  if (e) {
1027
- let { blob: e, url: t, text: n, dataUrl: r } = await Gr();
1028
+ let { blob: e, url: t, text: n, dataUrl: r } = await Ur();
1028
1029
  await Promise.resolve(L.value.userOptions.callbacks.svg({
1029
1030
  blob: e,
1030
1031
  url: t,
1031
1032
  text: n,
1032
1033
  dataUrl: r
1033
1034
  }));
1034
- } else await Promise.resolve(Wr());
1035
+ } else await Promise.resolve(Hr());
1035
1036
  } finally {
1036
- $t.value = !1;
1037
+ Zt.value = !1;
1037
1038
  }
1038
1039
  }
1039
- function qr(e) {
1040
+ function Gr(e) {
1040
1041
  if (e?.stage === "start") {
1041
- Qt.value = !0;
1042
+ Xt.value = !0;
1042
1043
  return;
1043
1044
  }
1044
1045
  if (e?.stage === "end") {
1045
- Qt.value = !1;
1046
+ Xt.value = !1;
1046
1047
  return;
1047
1048
  }
1048
- hn();
1049
+ pn();
1049
1050
  }
1050
- function Jr(e, t) {
1051
- let n = Yn(e, t), { paddingX: r, paddingTop: i } = Un(n);
1051
+ function Kr(e, t) {
1052
+ let n = qn(e, t), { paddingX: r, paddingTop: i } = Vn(n);
1052
1053
  return {
1053
1054
  fontSize: n,
1054
1055
  paddingX: r,
@@ -1056,25 +1057,25 @@ var A = /* @__PURE__ */ e({ default: () => Mt }), rt = ["id"], it = ["id"], at =
1056
1057
  lineHeight: n * 1.1
1057
1058
  };
1058
1059
  }
1059
- function Yr(e, t) {
1060
- return Wn(e, Jr(e, t).fontSize);
1060
+ function qr(e, t) {
1061
+ return Hn(e, Kr(e, t).fontSize);
1061
1062
  }
1062
- function Xr(e) {
1063
- return re(e.color ?? L.value.style.chart.backgroundColor);
1063
+ function Jr(e) {
1064
+ return ne(e.color ?? L.value.style.chart.backgroundColor);
1064
1065
  }
1065
- function Zr(e, t) {
1066
- let { fontSize: n, lineHeight: r } = Jr(e, t), i = ii(e, t), a = ai(e, t);
1066
+ function Yr(e, t) {
1067
+ let { fontSize: n, lineHeight: r } = Kr(e, t), i = ni(e, t), a = ri(e, t);
1067
1068
  if (i <= 0 || a <= 0) return [];
1068
1069
  let o = Math.max(Math.floor(a / Math.max(r, 1e-4)), 1);
1069
- return Kn(e, t).slice(0, o).map((e) => String(e ?? "")).filter(Boolean);
1070
+ return Wn(e, t).slice(0, o).map((e) => String(e ?? "")).filter(Boolean);
1070
1071
  }
1071
- function Qr({ rect: e, seriesIndex: t }) {
1072
- if (!e || !L.value.style.chart.layout.labels.showDefaultLabels || !Rn(e)) return null;
1073
- let { fontSize: n } = Jr(e, t), r = Xr(e), i = Zr(e, t), a = Yr(e, t);
1072
+ function Xr({ rect: e, seriesIndex: t }) {
1073
+ if (!e || !L.value.style.chart.layout.labels.showDefaultLabels || !In(e)) return null;
1074
+ let { fontSize: n } = Kr(e, t), r = Jr(e), i = Yr(e, t), a = qr(e, t);
1074
1075
  if (!i.length || a.width <= 0 || a.height <= 0) return null;
1075
1076
  let o = `treemap_clip_${j.value}_${e.id}`, s = e.x0, c = e.y0, l = Math.max(q(e), 0), u = Math.max(K(e), 0);
1076
1077
  return {
1077
- key: $r(e),
1078
+ key: Zr(e),
1078
1079
  clipId: o,
1079
1080
  clipX: s,
1080
1081
  clipY: c,
@@ -1092,32 +1093,32 @@ var A = /* @__PURE__ */ e({ default: () => Mt }), rt = ["id"], it = ["id"], at =
1092
1093
  }))
1093
1094
  };
1094
1095
  }
1095
- function $r(e) {
1096
+ function Zr(e) {
1096
1097
  return `${e.id}`;
1097
1098
  }
1098
- let ei = m(() => Mt.rect || an.value || !L.value.style.chart.layout.labels.showDefaultLabels || sr.value ? [] : G.value.map((e, t) => e.showLabel ? Qr({
1099
+ let Qr = m(() => At.rect || nn.value || !L.value.style.chart.layout.labels.showDefaultLabels || ar.value ? [] : G.value.map((e, t) => e.showLabel ? Xr({
1099
1100
  rect: e,
1100
1101
  seriesIndex: t
1101
- }) : null).filter(Boolean)), ti;
1102
- function ni() {
1103
- return typeof document > "u" ? null : (ti ||= document.createElement("canvas"), ti.getContext("2d"));
1102
+ }) : null).filter(Boolean)), $r;
1103
+ function ei() {
1104
+ return typeof document > "u" ? null : ($r ||= document.createElement("canvas"), $r.getContext("2d"));
1104
1105
  }
1105
- function ri(e, t, n = 400) {
1106
- let r = ni();
1106
+ function ti(e, t, n = 400) {
1107
+ let r = ei();
1107
1108
  return r ? (r.font = `${n} ${t}px ${L.value.style.fontFamily}`, r.measureText(String(e)).width) : e.length * t * .6;
1108
1109
  }
1109
- function ii(e, t) {
1110
- return Yr(e, t).width;
1110
+ function ni(e, t) {
1111
+ return qr(e, t).width;
1111
1112
  }
1112
- function ai(e, t) {
1113
- return Yr(e, t).height;
1113
+ function ri(e, t) {
1114
+ return qr(e, t).height;
1114
1115
  }
1115
- function oi(e) {
1116
+ function ii(e) {
1116
1117
  let t = L.value.style.chart.layout.rects.borderRadius, n = q(e), r = K(e);
1117
1118
  return Math.min(t, Math.min(n, r) / 6);
1118
1119
  }
1119
- async function si() {
1120
- if (A("copyAlt", {
1120
+ async function ai() {
1121
+ if (rt("copyAlt", {
1121
1122
  config: L.value,
1122
1123
  dataset: G.value
1123
1124
  }), !L.value.userOptions.callbacks.altCopy) {
@@ -1129,84 +1130,84 @@ var A = /* @__PURE__ */ e({ default: () => Mt }), rt = ["id"], it = ["id"], at =
1129
1130
  dataset: G.value
1130
1131
  }));
1131
1132
  }
1132
- function ci() {
1133
- I.value = null, nn.value = !0;
1133
+ function oi() {
1134
+ I.value = null, en.value = !0;
1134
1135
  }
1135
- function li() {
1136
- I.value = null, tn.value = "pointer", It.value = !1, Z.value = null, nn.value = !1;
1136
+ function si() {
1137
+ I.value = null, $t.value = "pointer", Pt.value = !1, Z.value = null, en.value = !1;
1137
1138
  }
1138
- function ui(e) {
1139
- if (!z.value || Sr.value || document.activeElement !== z.value || !G.value.length || sr.value) return;
1139
+ function ci(e) {
1140
+ if (!z.value || br.value || document.activeElement !== z.value || !G.value.length || ar.value) return;
1140
1141
  let t = ["ArrowLeft", "ArrowUp"].includes(e.key), n = ["ArrowRight", "ArrowDown"].includes(e.key), r = e.key === "Enter" || e.key === " ", i = e.key === "Escape";
1141
1142
  if (!t && !n && !r && !i) return;
1142
1143
  if (e.preventDefault(), e.stopPropagation(), i) {
1143
- I.value = null, tn.value = "pointer", It.value = !1, Z.value = null;
1144
+ I.value = null, $t.value = "pointer", Pt.value = !1, Z.value = null;
1144
1145
  return;
1145
1146
  }
1146
1147
  if (r) {
1147
1148
  if (I.value === null) return;
1148
1149
  let e = G.value[I.value];
1149
1150
  if (!e) return;
1150
- rr(e, I.value);
1151
+ tr(e, I.value);
1151
1152
  return;
1152
1153
  }
1153
1154
  let a = I.value, o = Z.value ? G.value.findIndex((e) => e.id === Z.value.id) : null, s = a !== null && a >= 0 && a < G.value.length, c = o !== null && o >= 0 && o < G.value.length;
1154
1155
  s ? n ? (a += 1, a >= G.value.length && (a = 0)) : t && (--a, a < 0 && (a = G.value.length - 1)) : c ? (a = n ? o + 1 : o - 1, a >= G.value.length && (a = 0), a < 0 && (a = G.value.length - 1)) : a = n ? 0 : G.value.length - 1;
1155
1156
  let l = G.value[a];
1156
- l && (di(a), hr({
1157
+ l && (li(a), pr({
1157
1158
  datapoint: l,
1158
1159
  seriesIndex: a,
1159
1160
  triggerMode: "keyboard"
1160
1161
  }));
1161
1162
  }
1162
- function di(e) {
1163
+ function li(e) {
1163
1164
  if (!Number.isFinite(e) || !z.value) return;
1164
1165
  let t = G.value[e];
1165
1166
  if (!t) return;
1166
1167
  let n = t.x0 + q(t) / 2, r = t.y0 + K(t) / 2, i = z.value.getBoundingClientRect();
1167
- en.value = {
1168
+ Qt.value = {
1168
1169
  x: i.left + (n - $.value.x) / $.value.width * i.width,
1169
1170
  y: i.top + (r - $.value.y) / $.value.height * i.height
1170
1171
  };
1171
1172
  }
1172
- let fi = m(() => ({
1173
- headers: _r.value?.colNames ?? [],
1174
- rows: _r.value?.body ?? []
1175
- })), pi = m(() => L.value.style.chart.color);
1176
- return he({
1177
- getData: vr,
1178
- getImage: Rr,
1179
- generateCsv: gr,
1180
- generateImage: hn,
1181
- generateSvg: Kr,
1182
- generatePdf: mn,
1183
- hideSeries: fr,
1184
- showSeries: dr,
1185
- toggleTable: yr,
1186
- toggleTooltip: br,
1187
- toggleZoom: xr,
1188
- toggleAnnotator: Cr,
1189
- toggleFullscreen: Xn,
1190
- resetZoom: Dr,
1191
- copyAlt: si
1192
- }), (e, t) => (S(), _("div", {
1173
+ let ui = m(() => ({
1174
+ headers: hr.value?.colNames ?? [],
1175
+ rows: hr.value?.body ?? []
1176
+ })), di = m(() => L.value.style.chart.color);
1177
+ return me({
1178
+ getData: gr,
1179
+ getImage: Ir,
1180
+ generateCsv: mr,
1181
+ generateImage: pn,
1182
+ generateSvg: Wr,
1183
+ generatePdf: fn,
1184
+ hideSeries: ur,
1185
+ showSeries: lr,
1186
+ toggleTable: _r,
1187
+ toggleTooltip: vr,
1188
+ toggleZoom: yr,
1189
+ toggleAnnotator: xr,
1190
+ toggleFullscreen: Jn,
1191
+ resetZoom: Tr,
1192
+ copyAlt: ai
1193
+ }), (e, t) => (C(), _("div", {
1193
1194
  ref_key: "treemapChart",
1194
1195
  ref: P,
1195
1196
  class: Pe(`vue-data-ui-component vue-ui-treemap ${M.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${L.value.useCssAnimation ? "" : "vue-ui-dna"}`),
1196
- style: x(`font-family:${L.value.style.fontFamily};width:100%; ${L.value.responsive ? "height: 100%;" : ""} text-align:center;background:${L.value.style.chart.backgroundColor}`),
1197
+ style: S(`font-family:${L.value.style.fontFamily};width:100%; ${L.value.responsive ? "height: 100%;" : ""} text-align:center;background:${L.value.style.chart.backgroundColor}`),
1197
1198
  id: `treemap_${j.value}`,
1198
- onMouseenter: t[3] ||= () => E(ln)(!0),
1199
- onMouseleave: t[4] ||= () => E(ln)(!1)
1199
+ onMouseenter: t[3] ||= () => D(sn)(!0),
1200
+ onMouseleave: t[4] ||= () => D(sn)(!1)
1200
1201
  }, [
1201
1202
  v("div", {
1202
1203
  id: `chart-instructions-${j.value}`,
1203
1204
  class: "sr-only"
1204
- }, [v("p", null, ze(L.value.a11y.translations.keyboardNavigation), 1)], 8, it),
1205
- fi.value?.rows?.length ? (S(), h(be, {
1205
+ }, [v("p", null, ze(L.value.a11y.translations.keyboardNavigation), 1)], 8, at),
1206
+ ui.value?.rows?.length ? (C(), h(be, {
1206
1207
  key: 0,
1207
1208
  uid: j.value,
1208
- head: fi.value.headers,
1209
- body: fi.value.rows,
1209
+ head: ui.value.headers,
1210
+ body: ui.value.rows,
1210
1211
  notice: L.value.a11y.translations.tableAvailable,
1211
1212
  caption: L.value.a11y.translations.tableCaption
1212
1213
  }, null, 8, [
@@ -1216,21 +1217,21 @@ var A = /* @__PURE__ */ e({ default: () => Mt }), rt = ["id"], it = ["id"], at =
1216
1217
  "notice",
1217
1218
  "caption"
1218
1219
  ])) : g("", !0),
1219
- L.value.userOptions.buttons.annotator ? (S(), h(E(qe), {
1220
+ L.value.userOptions.buttons.annotator ? (C(), h(D(qe), {
1220
1221
  key: 1,
1221
- svgRef: E(z),
1222
+ svgRef: D(z),
1222
1223
  backgroundColor: L.value.style.chart.backgroundColor,
1223
1224
  color: L.value.style.chart.color,
1224
- active: Sr.value,
1225
+ active: br.value,
1225
1226
  isCursorPointer: R.value,
1226
- onClose: Cr
1227
+ onClose: xr
1227
1228
  }, {
1228
- "annotator-action-close": O(() => [w(e.$slots, "annotator-action-close", {}, void 0, !0)]),
1229
- "annotator-action-color": O(({ color: t }) => [w(e.$slots, "annotator-action-color", b(y({ color: t })), void 0, !0)]),
1230
- "annotator-action-draw": O(({ mode: t }) => [w(e.$slots, "annotator-action-draw", b(y({ mode: t })), void 0, !0)]),
1231
- "annotator-action-undo": O(({ disabled: t }) => [w(e.$slots, "annotator-action-undo", b(y({ disabled: t })), void 0, !0)]),
1232
- "annotator-action-redo": O(({ disabled: t }) => [w(e.$slots, "annotator-action-redo", b(y({ disabled: t })), void 0, !0)]),
1233
- "annotator-action-delete": O(({ disabled: t }) => [w(e.$slots, "annotator-action-delete", b(y({ disabled: t })), void 0, !0)]),
1229
+ "annotator-action-close": k(() => [T(e.$slots, "annotator-action-close", {}, void 0, !0)]),
1230
+ "annotator-action-color": k(({ color: t }) => [T(e.$slots, "annotator-action-color", x(b({ color: t })), void 0, !0)]),
1231
+ "annotator-action-draw": k(({ mode: t }) => [T(e.$slots, "annotator-action-draw", x(b({ mode: t })), void 0, !0)]),
1232
+ "annotator-action-undo": k(({ disabled: t }) => [T(e.$slots, "annotator-action-undo", x(b({ disabled: t })), void 0, !0)]),
1233
+ "annotator-action-redo": k(({ disabled: t }) => [T(e.$slots, "annotator-action-redo", x(b({ disabled: t })), void 0, !0)]),
1234
+ "annotator-action-delete": k(({ disabled: t }) => [T(e.$slots, "annotator-action-delete", x(b({ disabled: t })), void 0, !0)]),
1234
1235
  _: 3
1235
1236
  }, 8, [
1236
1237
  "svgRef",
@@ -1239,20 +1240,20 @@ var A = /* @__PURE__ */ e({ default: () => Mt }), rt = ["id"], it = ["id"], at =
1239
1240
  "active",
1240
1241
  "isCursorPointer"
1241
1242
  ])) : g("", !0),
1242
- gn.value ? (S(), _("div", {
1243
+ mn.value ? (C(), _("div", {
1243
1244
  key: 2,
1244
1245
  ref_key: "noTitle",
1245
- ref: Ht,
1246
+ ref: Bt,
1246
1247
  class: "vue-data-ui-no-title-space",
1247
1248
  style: "height:36px; width: 100%;background:transparent"
1248
1249
  }, null, 512)) : g("", !0),
1249
- L.value.style.chart.title.text ? (S(), _("div", {
1250
+ L.value.style.chart.title.text ? (C(), _("div", {
1250
1251
  key: 3,
1251
1252
  ref_key: "chartTitle",
1252
- ref: zt,
1253
- style: x(`width:100%;background:${L.value.style.chart.backgroundColor};padding-bottom:6px`)
1254
- }, [(S(), h(me, {
1255
- key: `title_${Ut.value}`,
1253
+ ref: Lt,
1254
+ style: S(`width:100%;background:${L.value.style.chart.backgroundColor};padding-bottom:6px`)
1255
+ }, [(C(), h(pe, {
1256
+ key: `title_${Vt.value}`,
1256
1257
  config: {
1257
1258
  title: {
1258
1259
  cy: "treemap-div-title",
@@ -1264,15 +1265,15 @@ var A = /* @__PURE__ */ e({ default: () => Mt }), rt = ["id"], it = ["id"], at =
1264
1265
  }
1265
1266
  }
1266
1267
  }, null, 8, ["config"]))], 4)) : g("", !0),
1267
- v("div", { id: `legend-top-${j.value}` }, null, 8, at),
1268
- L.value.userOptions.show && Pt.value && (E(un) || E(cn)) ? (S(), h(E(Ze), {
1268
+ v("div", { id: `legend-top-${j.value}` }, null, 8, ot),
1269
+ L.value.userOptions.show && Mt.value && (D(cn) || D(on)) ? (C(), h(D(Ze), {
1269
1270
  ref_key: "userOptionsRef",
1270
- ref: Yt,
1271
- key: `user_option_${Rt.value}`,
1271
+ ref: qt,
1272
+ key: `user_option_${It.value}`,
1272
1273
  backgroundColor: L.value.style.chart.backgroundColor,
1273
1274
  color: L.value.style.chart.color,
1274
- isPrinting: E(fn),
1275
- isImaging: E(pn),
1275
+ isPrinting: D(un),
1276
+ isImaging: D(dn),
1276
1277
  uid: j.value,
1277
1278
  hasTooltip: L.value.userOptions.buttons.tooltip && L.value.style.chart.tooltip.show,
1278
1279
  hasPdf: L.value.userOptions.buttons.pdf,
@@ -1288,28 +1289,28 @@ var A = /* @__PURE__ */ e({ default: () => Mt }), rt = ["id"], it = ["id"], at =
1288
1289
  chartElement: P.value,
1289
1290
  position: L.value.userOptions.position,
1290
1291
  hasAnnotator: L.value.userOptions.buttons.annotator,
1291
- isAnnotation: Sr.value,
1292
+ isAnnotation: br.value,
1292
1293
  callbacks: L.value.userOptions.callbacks,
1293
1294
  printScale: L.value.userOptions.print.scale,
1294
1295
  tableDialog: L.value.table.useDialog,
1295
1296
  isCursorPointer: R.value,
1296
1297
  hasZoom: L.value.userOptions.buttons.zoom,
1297
1298
  isZoom: B.value.showZoom,
1298
- onToggleFullscreen: Xn,
1299
- onGeneratePdf: E(mn),
1300
- onGenerateCsv: gr,
1301
- onGenerateImage: qr,
1302
- onGenerateSvg: Kr,
1303
- onToggleTable: yr,
1304
- onToggleTooltip: br,
1305
- onToggleAnnotator: Cr,
1306
- onToggleZoom: xr,
1307
- onCopyAlt: si,
1308
- style: x({ visibility: E(un) ? E(cn) ? "visible" : "hidden" : "visible" })
1309
- }, Oe({ _: 2 }, [
1299
+ onToggleFullscreen: Jn,
1300
+ onGeneratePdf: D(fn),
1301
+ onGenerateCsv: mr,
1302
+ onGenerateImage: Gr,
1303
+ onGenerateSvg: Wr,
1304
+ onToggleTable: _r,
1305
+ onToggleTooltip: vr,
1306
+ onToggleAnnotator: xr,
1307
+ onToggleZoom: yr,
1308
+ onCopyAlt: ai,
1309
+ style: S({ visibility: D(cn) ? D(on) ? "visible" : "hidden" : "visible" })
1310
+ }, ke({ _: 2 }, [
1310
1311
  e.$slots.menuIcon ? {
1311
1312
  name: "menuIcon",
1312
- fn: O(({ isOpen: t, color: n }) => [w(e.$slots, "menuIcon", b(y({
1313
+ fn: k(({ isOpen: t, color: n }) => [T(e.$slots, "menuIcon", x(b({
1313
1314
  isOpen: t,
1314
1315
  color: n
1315
1316
  })), void 0, !0)]),
@@ -1317,37 +1318,37 @@ var A = /* @__PURE__ */ e({ default: () => Mt }), rt = ["id"], it = ["id"], at =
1317
1318
  } : void 0,
1318
1319
  e.$slots.optionTooltip ? {
1319
1320
  name: "optionTooltip",
1320
- fn: O(() => [w(e.$slots, "optionTooltip", {}, void 0, !0)]),
1321
+ fn: k(() => [T(e.$slots, "optionTooltip", {}, void 0, !0)]),
1321
1322
  key: "1"
1322
1323
  } : void 0,
1323
1324
  e.$slots.optionPdf ? {
1324
1325
  name: "optionPdf",
1325
- fn: O(() => [w(e.$slots, "optionPdf", {}, void 0, !0)]),
1326
+ fn: k(() => [T(e.$slots, "optionPdf", {}, void 0, !0)]),
1326
1327
  key: "2"
1327
1328
  } : void 0,
1328
1329
  e.$slots.optionCsv ? {
1329
1330
  name: "optionCsv",
1330
- fn: O(() => [w(e.$slots, "optionCsv", {}, void 0, !0)]),
1331
+ fn: k(() => [T(e.$slots, "optionCsv", {}, void 0, !0)]),
1331
1332
  key: "3"
1332
1333
  } : void 0,
1333
1334
  e.$slots.optionImg ? {
1334
1335
  name: "optionImg",
1335
- fn: O(() => [w(e.$slots, "optionImg", {}, void 0, !0)]),
1336
+ fn: k(() => [T(e.$slots, "optionImg", {}, void 0, !0)]),
1336
1337
  key: "4"
1337
1338
  } : void 0,
1338
1339
  e.$slots.optionSvg ? {
1339
1340
  name: "optionSvg",
1340
- fn: O(() => [w(e.$slots, "optionSvg", {}, void 0, !0)]),
1341
+ fn: k(() => [T(e.$slots, "optionSvg", {}, void 0, !0)]),
1341
1342
  key: "5"
1342
1343
  } : void 0,
1343
1344
  e.$slots.optionTable ? {
1344
1345
  name: "optionTable",
1345
- fn: O(() => [w(e.$slots, "optionTable", {}, void 0, !0)]),
1346
+ fn: k(() => [T(e.$slots, "optionTable", {}, void 0, !0)]),
1346
1347
  key: "6"
1347
1348
  } : void 0,
1348
1349
  e.$slots.optionFullscreen ? {
1349
1350
  name: "optionFullscreen",
1350
- fn: O(({ toggleFullscreen: t, isFullscreen: n }) => [w(e.$slots, "optionFullscreen", b(y({
1351
+ fn: k(({ toggleFullscreen: t, isFullscreen: n }) => [T(e.$slots, "optionFullscreen", x(b({
1351
1352
  toggleFullscreen: t,
1352
1353
  isFullscreen: n
1353
1354
  })), void 0, !0)]),
@@ -1355,7 +1356,7 @@ var A = /* @__PURE__ */ e({ default: () => Mt }), rt = ["id"], it = ["id"], at =
1355
1356
  } : void 0,
1356
1357
  e.$slots.optionAnnotator ? {
1357
1358
  name: "optionAnnotator",
1358
- fn: O(({ toggleAnnotator: t, isAnnotator: n }) => [w(e.$slots, "optionAnnotator", b(y({
1359
+ fn: k(({ toggleAnnotator: t, isAnnotator: n }) => [T(e.$slots, "optionAnnotator", x(b({
1359
1360
  toggleAnnotator: t,
1360
1361
  isAnnotator: n
1361
1362
  })), void 0, !0)]),
@@ -1363,7 +1364,7 @@ var A = /* @__PURE__ */ e({ default: () => Mt }), rt = ["id"], it = ["id"], at =
1363
1364
  } : void 0,
1364
1365
  e.$slots.optionZoom ? {
1365
1366
  name: "optionZoom",
1366
- fn: O(({ toggleZoom: t, isZoomLocked: n }) => [w(e.$slots, "optionZoom", b(y({
1367
+ fn: k(({ toggleZoom: t, isZoomLocked: n }) => [T(e.$slots, "optionZoom", x(b({
1367
1368
  toggleZoom: t,
1368
1369
  isZoomLocked: n
1369
1370
  })), void 0, !0)]),
@@ -1371,111 +1372,115 @@ var A = /* @__PURE__ */ e({ default: () => Mt }), rt = ["id"], it = ["id"], at =
1371
1372
  } : void 0,
1372
1373
  e.$slots.optionAltCopy ? {
1373
1374
  name: "optionAltCopy",
1374
- fn: O(({ altCopy: t }) => [w(e.$slots, "optionAltCopy", b(y({ altCopy: t })), void 0, !0)]),
1375
+ fn: k(({ altCopy: t }) => [T(e.$slots, "optionAltCopy", x(b({ altCopy: t })), void 0, !0)]),
1375
1376
  key: "10"
1376
1377
  } : void 0,
1377
1378
  e.$slots["custom-menu-before"] ? {
1378
1379
  name: "custom-menu-before",
1379
- fn: O(() => [w(e.$slots, "custom-menu-before", {}, void 0, !0)]),
1380
+ fn: k(() => [T(e.$slots, "custom-menu-before", {}, void 0, !0)]),
1380
1381
  key: "11"
1381
1382
  } : void 0,
1382
1383
  e.$slots["custom-menu-after"] ? {
1383
1384
  name: "custom-menu-after",
1384
- fn: O(() => [w(e.$slots, "custom-menu-after", {}, void 0, !0)]),
1385
+ fn: k(() => [T(e.$slots, "custom-menu-after", {}, void 0, !0)]),
1385
1386
  key: "12"
1386
1387
  } : void 0
1387
1388
  ]), 1032, /* @__PURE__ */ "backgroundColor.color.isPrinting.isImaging.uid.hasTooltip.hasPdf.hasXls.hasImg.hasSvg.hasTable.hasFullscreen.hasAltCopy.isFullscreen.isTooltip.titles.chartElement.position.hasAnnotator.isAnnotation.callbacks.printScale.tableDialog.isCursorPointer.hasZoom.isZoom.onGeneratePdf.style".split("."))) : g("", !0),
1388
- X.value.length > 1 ? (S(), _("nav", {
1389
+ X.value.length > 1 ? (C(), _("nav", {
1389
1390
  key: 5,
1390
1391
  class: "vue-ui-treemap-breadcrumbs",
1391
1392
  "data-dom-to-png-ignore": "",
1392
1393
  ref_key: "breadcrumbsNav",
1393
- ref: Kt
1394
- }, [(S(!0), _(p, null, Le(X.value, (n, r) => (S(), _("span", {
1394
+ ref: Wt
1395
+ }, [(C(!0), _(De, null, Le(X.value, (n, r) => (C(), _("span", {
1395
1396
  role: "button",
1396
1397
  tabindex: r < X.value.length - 1 ? 0 : void 0,
1397
1398
  key: n.id || "root",
1398
- onClick: (e) => r === X.value.length - 1 ? () => {} : rr(n.node),
1399
- onKeydown: [Ue(We((e) => r === X.value.length - 1 ? void 0 : rr(n.node), ["prevent"]), ["enter"]), Ue(We((e) => r === X.value.length - 1 ? void 0 : rr(n.node), ["prevent"]), ["space"])],
1399
+ onClick: (e) => r === X.value.length - 1 ? () => {} : tr(n.node),
1400
+ onKeydown: [Ue(We((e) => r === X.value.length - 1 ? void 0 : tr(n.node), ["prevent"]), ["enter"]), Ue(We((e) => r === X.value.length - 1 ? void 0 : tr(n.node), ["prevent"]), ["space"])],
1400
1401
  class: "vue-ui-treemap-crumb",
1401
1402
  "data-last-crumb": r === X.value.length - 1,
1402
- style: x({
1403
+ style: S({
1403
1404
  color: L.value.style.chart.color,
1404
1405
  cursor: R.value ? "pointer" : "default"
1405
1406
  }),
1406
- onMouseenter: (e) => Ir(r),
1407
- onMouseleave: Lr,
1408
- onFocus: (e) => Ir(r),
1409
- onBlur: Lr
1410
- }, [v("span", st, [v("span", ct, [w(e.$slots, "breadcrumb-label", Me({ ref_for: !0 }, {
1407
+ onMouseenter: (e) => Pr(r),
1408
+ onMouseleave: Fr,
1409
+ onFocus: (e) => Pr(r),
1410
+ onBlur: Fr
1411
+ }, [v("span", ct, [v("span", lt, [T(e.$slots, "breadcrumb-label", Me({ ref_for: !0 }, {
1411
1412
  crumb: n,
1412
1413
  isRoot: r === 0,
1413
- isFocus: Fr.value === r
1414
- }), () => [r === 0 ? (S(), _("div", lt, [Ae(ve, {
1415
- name: Fr.value === 0 ? "homeFilled" : "home",
1414
+ isFocus: Nr.value === r
1415
+ }), () => [r === 0 ? (C(), _("div", ut, [je(_e, {
1416
+ name: Nr.value === 0 ? "homeFilled" : "home",
1416
1417
  stroke: L.value.style.chart.color
1417
- }, null, 8, ["name", "stroke"])])) : (S(), _(p, { key: 1 }, [ke(ze(n.label), 1)], 64))], !0)]), r < X.value.length - 1 ? (S(), _("span", ut, [w(e.$slots, "breadcrumb-arrow", {}, () => [t[5] ||= ke(" › ", -1)], !0)])) : g("", !0)])], 44, ot))), 128))], 512)) : g("", !0),
1418
- v("div", dt, [
1419
- (S(), _("svg", {
1418
+ }, null, 8, ["name", "stroke"])])) : (C(), _(De, { key: 1 }, [Ae(ze(n.label), 1)], 64))], !0)]), r < X.value.length - 1 ? (C(), _("span", dt, [T(e.$slots, "breadcrumb-arrow", {}, () => [t[5] ||= Ae(" › ", -1)], !0)])) : g("", !0)])], 44, st))), 128))], 512)) : g("", !0),
1419
+ v("div", ft, [
1420
+ (C(), _("svg", {
1420
1421
  ref_key: "svgRef",
1421
1422
  ref: z,
1422
- xmlns: E(ie),
1423
+ xmlns: D(ie),
1423
1424
  "aria-describedby": `chart-instructions-${j.value}`,
1424
1425
  class: Pe({
1425
1426
  "vue-data-ui-fullscreen--on": M.value,
1426
1427
  "vue-data-ui-fulscreen--off": !M.value,
1427
- "vue-data-ui-zoom-plus": !Qn.value,
1428
- "vue-data-ui-zoom-minus": Qn.value,
1429
- "no-transition": E(Nt),
1430
- loading: E(an)
1428
+ "vue-data-ui-zoom-plus": !Xn.value,
1429
+ "vue-data-ui-zoom-minus": Xn.value,
1430
+ "no-transition": D(jt),
1431
+ loading: D(nn)
1431
1432
  }),
1432
- viewBox: `${E($).x} ${E($).y} ${E($).width <= 0 ? 10 : E($).width} ${E($).height <= 0 ? 10 : E($).height}`,
1433
- style: x(`max-width:100%; overflow:${Ar.value ? "hidden" : "visible"}; background:transparent;color:${L.value.style.chart.color}`),
1433
+ viewBox: `${D($).x} ${D($).y} ${D($).width <= 0 ? 10 : D($).width} ${D($).height <= 0 ? 10 : D($).height}`,
1434
+ style: S(`max-width:100%; overflow:${Or.value ? "hidden" : "visible"}; background:transparent;color:${L.value.style.chart.color}`),
1434
1435
  tabindex: "0",
1435
- onFocus: ci,
1436
- onBlur: li,
1437
- onKeydown: ui,
1438
- onPointerdown: jr,
1439
- onPointermove: Mr,
1440
- onPointerup: Nr,
1441
- onPointercancel: Nr,
1442
- onPointerleave: Nr
1436
+ onFocus: oi,
1437
+ onBlur: si,
1438
+ onKeydown: ci,
1439
+ onPointerdown: kr,
1440
+ onPointermove: Ar,
1441
+ onPointerup: jr,
1442
+ onPointercancel: jr,
1443
+ onPointerleave: jr
1443
1444
  }, [
1444
- Ae(E(Qe)),
1445
- (S(!0), _(p, null, Le(G.value, (e, t) => (S(), _("g", { key: `tgrad_${e.id}` }, [L.value.style.chart.layout.rects.gradient.show ? (S(), _("defs", pt, [v("radialGradient", {
1445
+ je(D(Qe)),
1446
+ (C(!0), _(De, null, Le(G.value, (e, t) => (C(), _("g", { key: `tgrad_${e.id}` }, [L.value.style.chart.layout.rects.gradient.show ? (C(), _("defs", mt, [je(ve, {
1447
+ t: "radial",
1446
1448
  id: `tgrad_${e.id}`,
1447
- gradientTransform: "translate(-1, -1.000001) scale(2, 2)"
1448
- }, [v("stop", {
1449
- offset: "18%",
1450
- "stop-color": e.color
1451
- }, null, 8, ht), v("stop", {
1452
- offset: "100%",
1453
- "stop-color": E(n)(e.color, L.value.style.chart.layout.rects.gradient.intensity / 100)
1454
- }, null, 8, gt)], 8, mt)])) : g("", !0)]))), 128)),
1449
+ gradientTransform: "translate(-1, -1.000001) scale(2, 2)",
1450
+ stops: [[
1451
+ "18%",
1452
+ e.color,
1453
+ 1
1454
+ ], [
1455
+ "100%",
1456
+ D(r)(e.color, L.value.style.chart.layout.rects.gradient.intensity / 100),
1457
+ 1
1458
+ ]]
1459
+ }, null, 8, ["id", "stops"])])) : g("", !0)]))), 128)),
1455
1460
  v("g", null, [
1456
- (S(!0), _(p, null, Le(G.value, (e, t) => (S(), _("g", { key: `rect_${e.id}_${e.depth}` }, [v("rect", {
1461
+ (C(!0), _(De, null, Le(G.value, (e, t) => (C(), _("g", { key: `rect_${e.id}_${e.depth}` }, [v("rect", {
1457
1462
  x: e.x0,
1458
1463
  y: e.y0,
1459
1464
  height: K(e),
1460
1465
  width: q(e),
1461
- fill: Ft.value ? e.color ?? L.value.style.chart.backgroundColor : L.value.style.chart.layout.rects.gradient.show ? sr.value ? L.value.style.chart.backgroundColor : `url(#tgrad_${e.id})` : e.color ?? L.value.style.chart.backgroundColor,
1462
- rx: oi(e),
1466
+ fill: Nt.value ? e.color ?? L.value.style.chart.backgroundColor : L.value.style.chart.layout.rects.gradient.show ? ar.value ? L.value.style.chart.backgroundColor : `url(#tgrad_${e.id})` : e.color ?? L.value.style.chart.backgroundColor,
1467
+ rx: ii(e),
1463
1468
  stroke: Z.value && Z.value.id === e.id ? L.value.style.chart.layout.rects.selected.stroke : L.value.style.chart.layout.rects.stroke,
1464
1469
  "stroke-width": Z.value && Z.value.id === e.id ? L.value.style.chart.layout.rects.selected.strokeWidth : L.value.style.chart.layout.rects.strokeWidth,
1465
- onClick: We((n) => Pr(e, t), ["stop"]),
1466
- onMouseenter: () => hr({
1470
+ onClick: We((n) => Mr(e, t), ["stop"]),
1471
+ onMouseenter: () => pr({
1467
1472
  datapoint: e,
1468
1473
  seriesIndex: t,
1469
1474
  triggerMode: "pointer"
1470
1475
  }),
1471
- onMouseleave: (n) => pr({
1476
+ onMouseleave: (n) => dr({
1472
1477
  datapoint: e,
1473
1478
  seriesIndex: t
1474
1479
  }),
1475
- style: x(`opacity:${Z.value ? Z.value.id === e.id ? 1 : L.value.style.chart.layout.rects.selected.unselectedOpacity : 1}`),
1476
- class: Pe(["vue-ui-treemap-rect", ir(e) ? "vue-data-ui-zoom-minus" : "vue-data-ui-zoom-plus"])
1477
- }, null, 46, _t)]))), 128)),
1478
- (S(!0), _(p, null, Le(ei.value, (e) => (S(), _("g", {
1480
+ style: S(`opacity:${Z.value ? Z.value.id === e.id ? 1 : L.value.style.chart.layout.rects.selected.unselectedOpacity : 1}`),
1481
+ class: Pe(["vue-ui-treemap-rect", nr(e) ? "vue-data-ui-zoom-minus" : "vue-data-ui-zoom-plus"])
1482
+ }, null, 46, ht)]))), 128)),
1483
+ (C(!0), _(De, null, Le(Qr.value, (e) => (C(), _("g", {
1479
1484
  key: e.key,
1480
1485
  style: { "pointer-events": "none" }
1481
1486
  }, [v("defs", null, [v("clipPath", {
@@ -1487,7 +1492,7 @@ var A = /* @__PURE__ */ e({ default: () => Mt }), rt = ["id"], it = ["id"], at =
1487
1492
  y: e.clipY,
1488
1493
  width: e.clipWidth,
1489
1494
  height: e.clipHeight
1490
- }, null, 8, yt)], 8, vt)]), v("g", { "clip-path": `url(#${e.clipId})` }, [(S(!0), _(p, null, Le(e.lines, (e) => (S(), _("text", {
1495
+ }, null, 8, _t)], 8, gt)]), v("g", { "clip-path": `url(#${e.clipId})` }, [(C(!0), _(De, null, Le(e.lines, (e) => (C(), _("text", {
1491
1496
  key: e.key,
1492
1497
  class: "vue-ui-treemap-data-label",
1493
1498
  transform: `translate(${e.x}, ${e.y})`,
@@ -1497,8 +1502,8 @@ var A = /* @__PURE__ */ e({ default: () => Mt }), rt = ["id"], it = ["id"], at =
1497
1502
  "font-weight": e.fontWeight,
1498
1503
  "text-anchor": "start",
1499
1504
  "dominant-baseline": "text-before-edge"
1500
- }, ze(e.text), 9, xt))), 128))], 8, bt)]))), 128)),
1501
- e.$slots.rect ? (S(), _("g", St, [(S(!0), _(p, null, Le(G.value, (t, n) => (S(), _("g", { key: `slot_${t.id}_${t.depth}` }, [(S(), _("foreignObject", {
1505
+ }, ze(e.text), 9, yt))), 128))], 8, vt)]))), 128)),
1506
+ e.$slots.rect ? (C(), _("g", bt, [(C(!0), _(De, null, Le(G.value, (t, n) => (C(), _("g", { key: `slot_${t.id}_${t.depth}` }, [(C(), _("foreignObject", {
1502
1507
  x: t.x0,
1503
1508
  y: t.y0,
1504
1509
  height: K(t),
@@ -1508,7 +1513,7 @@ var A = /* @__PURE__ */ e({ default: () => Mt }), rt = ["id"], it = ["id"], at =
1508
1513
  "pointer-events": "none",
1509
1514
  overflow: "hidden"
1510
1515
  }
1511
- }, [v("div", wt, [E(an) ? g("", !0) : w(e.$slots, "rect", Me({
1516
+ }, [v("div", St, [D(nn) ? g("", !0) : T(e.$slots, "rect", Me({
1512
1517
  key: 0,
1513
1518
  ref_for: !0
1514
1519
  }, {
@@ -1518,69 +1523,69 @@ var A = /* @__PURE__ */ e({ default: () => Mt }), rt = ["id"], it = ["id"], at =
1518
1523
  width: q(t),
1519
1524
  isSelected: Z.value ? Z.value.id === t.id : !0
1520
1525
  },
1521
- shouldShow: zn(t) || Qn.value,
1522
- fontSize: Yn(t, n),
1523
- isZoom: Qn.value,
1524
- textColor: E(re)(t.color)
1525
- }), void 0, !0)])], 8, Ct))]))), 128))])) : g("", !0)
1526
+ shouldShow: Ln(t) || Xn.value,
1527
+ fontSize: qn(t, n),
1528
+ isZoom: Xn.value,
1529
+ textColor: D(ne)(t.color)
1530
+ }), void 0, !0)])], 8, xt))]))), 128))])) : g("", !0)
1526
1531
  ]),
1527
- w(e.$slots, "svg", b(y({
1532
+ T(e.$slots, "svg", x(b({
1528
1533
  svg: V.value,
1529
- isZoom: Qn.value,
1534
+ isZoom: Xn.value,
1530
1535
  rect: Z.value,
1531
1536
  config: L.value,
1532
- isPrintingImg: E(fn) || E(pn) || Qt.value,
1533
- isPrintingSvg: $t.value
1537
+ isPrintingImg: D(un) || D(dn) || Xt.value,
1538
+ isPrintingSvg: Zt.value
1534
1539
  })), void 0, !0)
1535
- ], 46, ft)),
1536
- E(Or) ? (S(), _("div", Tt, [w(e.$slots, "reset-action", { reset: E(Dr) }, () => [v("button", {
1540
+ ], 46, pt)),
1541
+ D(Er) ? (C(), _("div", Ct, [T(e.$slots, "reset-action", { reset: D(Tr) }, () => [v("button", {
1537
1542
  "data-cy-reset": "",
1538
1543
  tabindex: "0",
1539
1544
  role: "button",
1540
1545
  class: "vue-data-ui-refresh-button",
1541
- style: x({
1546
+ style: S({
1542
1547
  background: L.value.style.chart.backgroundColor,
1543
1548
  cursor: R.value ? "pointer" : "default"
1544
1549
  }),
1545
- onClick: t[0] ||= (e) => E(Dr)(!0)
1546
- }, [Ae(ve, {
1550
+ onClick: t[0] ||= (e) => D(Tr)(!0)
1551
+ }, [je(_e, {
1547
1552
  name: "refresh",
1548
1553
  stroke: L.value.style.chart.color
1549
1554
  }, null, 8, ["stroke"])], 4)], !0)])) : g("", !0),
1550
- e.$slots.hint ? (S(), _("div", Et, [w(e.$slots, "hint", b(y({
1555
+ e.$slots.hint ? (C(), _("div", wt, [T(e.$slots, "hint", x(b({
1551
1556
  hint: L.value.a11y.translations.keyboardNavigation,
1552
- isVisible: nn.value
1557
+ isVisible: en.value
1553
1558
  })), void 0, !0)])) : g("", !0)
1554
1559
  ]),
1555
- e.$slots.watermark ? (S(), _("div", Dt, [w(e.$slots, "watermark", b(y({ isPrinting: E(fn) || E(pn) || Qt.value || $t.value })), void 0, !0)])) : g("", !0),
1556
- v("div", { id: `legend-bottom-${j.value}` }, null, 8, Ot),
1557
- qt.value && (L.value.style.chart.legend.show || e.$slots.legend) ? (S(), h(De, {
1560
+ e.$slots.watermark ? (C(), _("div", Tt, [T(e.$slots, "watermark", x(b({ isPrinting: D(un) || D(dn) || Xt.value || Zt.value })), void 0, !0)])) : g("", !0),
1561
+ v("div", { id: `legend-bottom-${j.value}` }, null, 8, Et),
1562
+ Gt.value && (L.value.style.chart.legend.show || e.$slots.legend) ? (C(), h(Oe, {
1558
1563
  key: 7,
1559
1564
  to: L.value.style.chart.legend.position === "top" ? `#legend-top-${j.value}` : `#legend-bottom-${j.value}`
1560
1565
  }, [v("div", {
1561
1566
  ref_key: "chartLegend",
1562
- ref: Bt
1563
- }, [w(e.$slots, "legend", { legend: ar.value }, () => [L.value.style.chart.legend.show ? (S(), h(Ce, {
1564
- key: `legend_${Gt.value}`,
1565
- legendSet: ar.value,
1566
- config: or.value,
1567
+ ref: Rt
1568
+ }, [T(e.$slots, "legend", { legend: rr.value }, () => [L.value.style.chart.legend.show ? (C(), h(Ce, {
1569
+ key: `legend_${Ut.value}`,
1570
+ legendSet: rr.value,
1571
+ config: ir.value,
1567
1572
  id: `treemap_legend_${j.value}`,
1568
1573
  isCursorPointer: R.value,
1569
- onClickMarker: t[1] ||= ({ legend: e }) => lr(e)
1574
+ onClickMarker: t[1] ||= ({ legend: e }) => sr(e)
1570
1575
  }, {
1571
- item: O(({ legend: e, index: t }) => [E(an) ? g("", !0) : (S(), _("div", {
1576
+ item: k(({ legend: e, index: t }) => [D(nn) ? g("", !0) : (C(), _("div", {
1572
1577
  key: 0,
1573
- onClick: (t) => lr(e),
1574
- style: x(`opacity:${N.value.includes(e.id) ? .5 : 1}`)
1575
- }, ze(e.display), 13, kt))]),
1576
- legendToggle: O(() => [ar.value.length > 2 && L.value.style.chart.legend.selectAllToggle.show && !E(an) ? (S(), h(ye, {
1578
+ onClick: (t) => sr(e),
1579
+ style: S(`opacity:${N.value.includes(e.id) ? .5 : 1}`)
1580
+ }, ze(e.display), 13, Dt))]),
1581
+ legendToggle: k(() => [rr.value.length > 2 && L.value.style.chart.legend.selectAllToggle.show && !D(nn) ? (C(), h(ye, {
1577
1582
  key: 0,
1578
1583
  backgroundColor: L.value.style.chart.legend.selectAllToggle.backgroundColor,
1579
1584
  color: L.value.style.chart.legend.selectAllToggle.color,
1580
1585
  fontSize: L.value.style.chart.legend.fontSize,
1581
1586
  checked: N.value.length > 0,
1582
1587
  isCursorPointer: R.value,
1583
- onToggle: cr
1588
+ onToggle: or
1584
1589
  }, null, 8, [
1585
1590
  "backgroundColor",
1586
1591
  "color",
@@ -1595,15 +1600,15 @@ var A = /* @__PURE__ */ e({ default: () => Mt }), rt = ["id"], it = ["id"], at =
1595
1600
  "id",
1596
1601
  "isCursorPointer"
1597
1602
  ])) : g("", !0)], !0)], 512)], 8, ["to"])) : g("", !0),
1598
- e.$slots.source ? (S(), _("div", {
1603
+ e.$slots.source ? (C(), _("div", {
1599
1604
  key: 8,
1600
1605
  ref_key: "source",
1601
- ref: Vt,
1606
+ ref: zt,
1602
1607
  dir: "auto"
1603
- }, [w(e.$slots, "source", {}, void 0, !0)], 512)) : g("", !0),
1604
- Ae(E(Xe), {
1608
+ }, [T(e.$slots, "source", {}, void 0, !0)], 512)) : g("", !0),
1609
+ je(D(Xe), {
1605
1610
  teleportTo: L.value.style.chart.tooltip.teleportTo,
1606
- show: B.value.showTooltip && It.value,
1611
+ show: B.value.showTooltip && Pt.value,
1607
1612
  backgroundColor: L.value.style.chart.tooltip.backgroundColor,
1608
1613
  color: L.value.style.chart.tooltip.color,
1609
1614
  fontSize: L.value.style.chart.tooltip.fontSize,
@@ -1615,19 +1620,19 @@ var A = /* @__PURE__ */ e({ default: () => Mt }), rt = ["id"], it = ["id"], at =
1615
1620
  offsetX: L.value.style.chart.tooltip.offsetX,
1616
1621
  offsetY: L.value.style.chart.tooltip.offsetY,
1617
1622
  parent: P.value,
1618
- content: Lt.value,
1623
+ content: Ft.value,
1619
1624
  isFullscreen: M.value,
1620
- isCustom: E(ae)(L.value.style.chart.tooltip.customFormat),
1625
+ isCustom: D(d)(L.value.style.chart.tooltip.customFormat),
1621
1626
  smooth: L.value.style.chart.tooltip.smooth,
1622
1627
  backdropFilter: L.value.style.chart.tooltip.backdropFilter,
1623
1628
  smoothForce: L.value.style.chart.tooltip.smoothForce,
1624
1629
  smoothSnapThreshold: L.value.style.chart.tooltip.smoothSnapThreshold,
1625
- isA11yMode: tn.value === "keyboard",
1626
- a11yPosition: en.value
1630
+ isA11yMode: $t.value === "keyboard",
1631
+ a11yPosition: Qt.value
1627
1632
  }, {
1628
- "tooltip-before": O(() => [w(e.$slots, "tooltip-before", b(y({ ...mr.value })), void 0, !0)]),
1629
- tooltip: O(() => [w(e.$slots, "tooltip", b(y({ ...mr.value })), void 0, !0)]),
1630
- "tooltip-after": O(() => [w(e.$slots, "tooltip-after", b(y({ ...mr.value })), void 0, !0)]),
1633
+ "tooltip-before": k(() => [T(e.$slots, "tooltip-before", x(b({ ...fr.value })), void 0, !0)]),
1634
+ tooltip: k(() => [T(e.$slots, "tooltip", x(b({ ...fr.value })), void 0, !0)]),
1635
+ "tooltip-after": k(() => [T(e.$slots, "tooltip-after", x(b({ ...fr.value })), void 0, !0)]),
1631
1636
  _: 3
1632
1637
  }, 8, [
1633
1638
  "teleportTo",
@@ -1653,30 +1658,30 @@ var A = /* @__PURE__ */ e({ default: () => Mt }), rt = ["id"], it = ["id"], at =
1653
1658
  "isA11yMode",
1654
1659
  "a11yPosition"
1655
1660
  ]),
1656
- Pt.value && L.value.userOptions.buttons.table ? (S(), h(Re(zr.value.component), Me({ key: 9 }, zr.value.props, {
1661
+ Mt.value && L.value.userOptions.buttons.table ? (C(), h(Re(Lr.value.component), Me({ key: 9 }, Lr.value.props, {
1657
1662
  ref_key: "tableUnit",
1658
- ref: Jt,
1659
- onClose: Br
1660
- }), Oe({
1661
- content: O(() => [(S(), h(E(Ke), {
1662
- key: `table_${Wt.value}`,
1663
- colNames: _r.value.colNames,
1664
- head: _r.value.head,
1665
- body: _r.value.body,
1666
- config: _r.value.config,
1667
- title: L.value.table.useDialog ? "" : zr.value.title,
1663
+ ref: Kt,
1664
+ onClose: Rr
1665
+ }), ke({
1666
+ content: k(() => [(C(), h(D(Ke), {
1667
+ key: `table_${Ht.value}`,
1668
+ colNames: hr.value.colNames,
1669
+ head: hr.value.head,
1670
+ body: hr.value.body,
1671
+ config: hr.value.config,
1672
+ title: L.value.table.useDialog ? "" : Lr.value.title,
1668
1673
  withCloseButton: !L.value.table.useDialog,
1669
1674
  isCursorPointer: R.value,
1670
- onClose: Br
1675
+ onClose: Rr
1671
1676
  }, {
1672
- th: O(({ th: e }) => [v("div", {
1677
+ th: k(({ th: e }) => [v("div", {
1673
1678
  innerHTML: e,
1674
1679
  style: {
1675
1680
  display: "flex",
1676
1681
  "align-items": "center"
1677
1682
  }
1678
- }, null, 8, At)]),
1679
- td: O(({ td: e }) => [ke(ze(e.name || e), 1)]),
1683
+ }, null, 8, Ot)]),
1684
+ td: k(({ td: e }) => [Ae(ze(e.name || e), 1)]),
1680
1685
  _: 1
1681
1686
  }, 8, [
1682
1687
  "colNames",
@@ -1690,24 +1695,24 @@ var A = /* @__PURE__ */ e({ default: () => Mt }), rt = ["id"], it = ["id"], at =
1690
1695
  _: 2
1691
1696
  }, [L.value.table.useDialog ? {
1692
1697
  name: "title",
1693
- fn: O(() => [ke(ze(zr.value.title), 1)]),
1698
+ fn: k(() => [Ae(ze(Lr.value.title), 1)]),
1694
1699
  key: "0"
1695
1700
  } : void 0, L.value.table.useDialog ? {
1696
1701
  name: "actions",
1697
- fn: O(() => [v("button", {
1702
+ fn: k(() => [v("button", {
1698
1703
  tabindex: "0",
1699
1704
  class: "vue-ui-user-options-button",
1700
- onClick: t[2] ||= (e) => gr(L.value.userOptions.callbacks.csv),
1701
- style: x({ cursor: R.value ? "pointer" : "default" })
1702
- }, [Ae(ve, {
1705
+ onClick: t[2] ||= (e) => mr(L.value.userOptions.callbacks.csv),
1706
+ style: S({ cursor: R.value ? "pointer" : "default" })
1707
+ }, [je(_e, {
1703
1708
  name: "fileCsv",
1704
- stroke: zr.value.props.color
1709
+ stroke: Lr.value.props.color
1705
1710
  }, null, 8, ["stroke"])], 4)]),
1706
1711
  key: "1"
1707
1712
  } : void 0]), 1040)) : g("", !0),
1708
- w(e.$slots, "skeleton", {}, () => [E(an) ? (S(), h(le, { key: 0 })) : g("", !0)], !0)
1709
- ], 46, rt));
1713
+ T(e.$slots, "skeleton", {}, () => [D(nn) ? (C(), h(ce, { key: 0 })) : g("", !0)], !0)
1714
+ ], 46, it));
1710
1715
  }
1711
- }, [["__scopeId", "data-v-442b6b44"]]);
1716
+ }, [["__scopeId", "data-v-a81c7c10"]]);
1712
1717
  //#endregion
1713
- export { A as n, Mt as t };
1718
+ export { rt as n, At as t };