vue-data-ui 3.22.9 → 3.22.11

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