vue-data-ui 3.22.7 → 3.22.8

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 (201) hide show
  1. package/dist/{Arrow-DaGI9u-b.js → Arrow-DdymhUfY.js} +1 -1
  2. package/dist/{BaseDraggableDialog-1wwwdwV2.js → BaseDraggableDialog-DcfGlH8A.js} +2 -2
  3. package/dist/{BaseIcon-_-BX7be3.js → BaseIcon-C2qlyHc7.js} +1 -1
  4. package/dist/{BaseLegendToggle-CHnlKalt.js → BaseLegendToggle-DtQ8vyfr.js} +1 -1
  5. package/dist/{BaseZoomControls-C9bdZSCj.js → BaseZoomControls-C6zonwhr.js} +2 -2
  6. package/dist/{ColorPicker-TB3KhY3j.js → ColorPicker-CK2-h611.js} +2 -2
  7. package/dist/{DataTable-CVF7DoZn.js → DataTable-D9NvewTT.js} +2 -2
  8. package/dist/{Legend-kAr7Vqqu.js → Legend-ROt6ugzW.js} +2 -2
  9. package/dist/{NonSvgPenAndPaper-CEiv7_gM.js → NonSvgPenAndPaper-BHHNsVVP.js} +3 -3
  10. package/dist/{PackageVersion-Dse0n05o.js → PackageVersion-DW7zwRcm.js} +1 -1
  11. package/dist/{PenAndPaper-gaV1QPpP.js → PenAndPaper-pcgwlYr2.js} +3 -3
  12. package/dist/{Shape-CiQIxyyT.js → Shape-UpH0a4Ur.js} +3 -3
  13. package/dist/{Slicer-6FOtg9py.js → Slicer-BZ5VnOOS.js} +19 -19
  14. package/dist/{SlicerPreview-DUywypFu.js → SlicerPreview-BQFeCw0m.js} +351 -351
  15. package/dist/{SparkTooltip-B-qsPj68.js → SparkTooltip-BTLN-Kex.js} +6 -6
  16. package/dist/{Title-PiTKr6sp.js → Title-CcNiYzEo.js} +1 -1
  17. package/dist/{Tooltip-B8yYfISA.js → Tooltip-CxOrWlFy.js} +1 -1
  18. package/dist/{UserOptions-BL9VlHop.js → UserOptions-16uF1ayB.js} +2 -2
  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-BZjYWNEg.js → dom-to-png-BbwhsRIr.js} +1 -1
  89. package/dist/exposedLib-VXFp3Z2c.js +19 -0
  90. package/dist/{geoProjections-Czak6Jn1.js → geoProjections-BbN7z57k.js} +172 -15
  91. package/dist/{img-B_abIg0o.js → img-DnP3eXuv.js} +1 -1
  92. package/dist/{labelUtils-CTDRZdP1.js → labelUtils-DBEh078l.js} +1 -1
  93. package/dist/{lib-EAmk-PgA.js → lib-JqW18y5I.js} +36 -30
  94. package/dist/{package-DeMimPej.js → package-gp9pYCfN.js} +1 -1
  95. package/dist/{pdf-B6qrdEqB.js → pdf-hj3gzrE7.js} +1 -1
  96. package/dist/{render-common-DMai0gHB.js → render-common-CLn1VXJ9.js} +20 -20
  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 +18 -0
  102. package/dist/{useAutoSizeLabelsInsideViewbox-CyOGrdD_.js → useAutoSizeLabelsInsideViewbox-BGnDfZdg.js} +1 -1
  103. package/dist/{useNestedProp-D8XqxgOU.js → useNestedProp-DIuuzG1r.js} +1 -1
  104. package/dist/{usePrinter-DnGzpp6Q.js → usePrinter-CqqHmnBI.js} +2 -2
  105. package/dist/utils.js +24 -24
  106. package/dist/{vue-data-ui-D6qVWloL.js → vue-data-ui-AZZ9Cq-4.js} +68 -68
  107. package/dist/vue-data-ui.js +77 -77
  108. package/dist/vue-ui-3d-bar-B3HxJmDI.js +1757 -0
  109. package/dist/{vue-ui-accordion-Dzz8XhX3.js → vue-ui-accordion-YyosvEPo.js} +3 -3
  110. package/dist/vue-ui-age-pyramid-DTAOc7fn.js +1238 -0
  111. package/dist/{vue-ui-annotator-DXZumSP8.js → vue-ui-annotator-CfJXeAOE.js} +67 -67
  112. package/dist/vue-ui-bullet-CCLnrOLm.js +710 -0
  113. package/dist/vue-ui-bump-Rq7efdoe.js +1249 -0
  114. package/dist/vue-ui-candlestick-D-Z9pEaA.js +1829 -0
  115. package/dist/vue-ui-carousel-table-Lx5Zk4dG.js +455 -0
  116. package/dist/vue-ui-chestnut-RfWMGUD-.js +2010 -0
  117. package/dist/vue-ui-chord-Db1O_diJ.js +1391 -0
  118. package/dist/vue-ui-circle-pack-B4Ro7UuI.js +1608 -0
  119. package/dist/{vue-ui-cursor-DLJcFwRZ.js → vue-ui-cursor-DLP7wxsw.js} +61 -61
  120. package/dist/{vue-ui-dag-DemsIecS.js → vue-ui-dag-DL3zq0F2.js} +43 -43
  121. package/dist/{vue-ui-dashboard-DWHD_wNN.js → vue-ui-dashboard-C2ozZ-LI.js} +69 -69
  122. package/dist/{vue-ui-digits-sIKc85vS.js → vue-ui-digits-ThFVNO3l.js} +3 -3
  123. package/dist/{vue-ui-donut-Dp6GW0dw.js → vue-ui-donut-BuTd6dt4.js} +201 -201
  124. package/dist/{vue-ui-donut-CLheJPcO.js → vue-ui-donut-C3Rt6j-I.js} +592 -592
  125. package/dist/{vue-ui-donut-evolution-zmRPpJLj.js → vue-ui-donut-evolution-DY46UPF_.js} +442 -442
  126. package/dist/{vue-ui-dumbbell-bSbgHd0U.js → vue-ui-dumbbell-wK7vUB0x.js} +238 -238
  127. package/dist/{vue-ui-flow-q_M7O1BK.js → vue-ui-flow-BTUNfWb7.js} +119 -119
  128. package/dist/{vue-ui-funnel-BEZUEuuh.js → vue-ui-funnel-BhoHzyHa.js} +162 -162
  129. package/dist/{vue-ui-galaxy-DCCWmIyH.js → vue-ui-galaxy-DJ2uNYcN.js} +342 -342
  130. package/dist/{vue-ui-gauge-B1ljgfE1.js → vue-ui-gauge-Cf4NqvrO.js} +55 -55
  131. package/dist/{vue-ui-geo-CM59rpnj.js → vue-ui-geo-ovHu_Sc9.js} +14 -14
  132. package/dist/{vue-ui-gizmo-D2RL6IVp.js → vue-ui-gizmo-DDxEj-qe.js} +62 -62
  133. package/dist/{vue-ui-heatmap-BX6PQxML.js → vue-ui-heatmap-Npqnvb1r.js} +163 -163
  134. package/dist/{vue-ui-history-plot-DaHAeQph.js → vue-ui-history-plot-C3Kjy2tc.js} +371 -371
  135. package/dist/vue-ui-horizontal-bar-D1rCsgqt.js +1683 -0
  136. package/dist/{vue-ui-kpi-DLbP7lJR.js → vue-ui-kpi-BrlfYO-j.js} +4 -4
  137. package/dist/{vue-ui-mini-loader-DPHzHsM7.js → vue-ui-mini-loader-D5we7V_W.js} +2 -2
  138. package/dist/vue-ui-molecule-CExCqZ08.js +925 -0
  139. package/dist/{vue-ui-mood-radar-CCWaPr0P.js → vue-ui-mood-radar-DlVh6hwx.js} +45 -45
  140. package/dist/vue-ui-nested-donuts-3TRV8pN-.js +1487 -0
  141. package/dist/vue-ui-onion-DwKK9DXn.js +1200 -0
  142. package/dist/vue-ui-parallel-coordinate-plot-DSp_cwU-.js +1416 -0
  143. package/dist/{vue-ui-quadrant-T_UmRAAy.js → vue-ui-quadrant-ByVg-NBs.js} +58 -58
  144. package/dist/vue-ui-quick-chart-WMzSJxGZ.js +2469 -0
  145. package/dist/{vue-ui-radar-CHjeGOMC.js → vue-ui-radar-DE-me6OC.js} +79 -79
  146. package/dist/vue-ui-rating-CzD3EQ3G.js +343 -0
  147. package/dist/{vue-ui-relation-circle-DRZGQ_UX.js → vue-ui-relation-circle-L7-dTqet.js} +167 -167
  148. package/dist/vue-ui-ridgeline-Cp3YP0xe.js +1622 -0
  149. package/dist/vue-ui-rings-WzWiEo9W.js +1246 -0
  150. package/dist/vue-ui-scatter-DwrAydha.js +2413 -0
  151. package/dist/{vue-ui-skeleton-Fmue6DAG.js → vue-ui-skeleton-CuFm4PtB.js} +58 -58
  152. package/dist/{vue-ui-smiley-BVMI5vUy.js → vue-ui-smiley-D4NnZ1mg.js} +16 -16
  153. package/dist/{vue-ui-spark-trend-DfZeLiWA.js → vue-ui-spark-trend-C38ysZ-c.js} +99 -99
  154. package/dist/{vue-ui-sparkbar-Cl1e49sw.js → vue-ui-sparkbar-B03ndcUe.js} +30 -30
  155. package/dist/{vue-ui-sparkgauge-DDNNBIdf.js → vue-ui-sparkgauge-DgPc4vPT.js} +48 -48
  156. package/dist/{vue-ui-sparkhistogram-ny_liYa6.js → vue-ui-sparkhistogram-D02ff7ZI.js} +72 -72
  157. package/dist/vue-ui-sparkline-DlTfNQj8.js +1547 -0
  158. package/dist/{vue-ui-sparkstackbar-BfF5-Wg2.js → vue-ui-sparkstackbar-DrmiWFlw.js} +110 -110
  159. package/dist/{vue-ui-stackbar-B-2Me3d-.js → vue-ui-stackbar-BVdApDnY.js} +82 -82
  160. package/dist/{vue-ui-stackline-CdvVPQUM.js → vue-ui-stackline-QzQQ7lTy.js} +636 -636
  161. package/dist/vue-ui-strip-plot-C-TFNvgz.js +1729 -0
  162. package/dist/{vue-ui-table-Dr1dK3d_.js → vue-ui-table-Q3brrivC.js} +62 -62
  163. package/dist/{vue-ui-table-heatmap-D-Qrm3oX.js → vue-ui-table-heatmap-D0pZbBOH.js} +14 -14
  164. package/dist/vue-ui-table-sparkline-Q6BHPKUn.js +712 -0
  165. package/dist/{vue-ui-thermometer-BUrtIfuo.js → vue-ui-thermometer-Bg0RR6m4.js} +115 -115
  166. package/dist/{vue-ui-timer-B5bkNNHS.js → vue-ui-timer-BdzKpoRj.js} +5 -5
  167. package/dist/{vue-ui-tiremarks-Bn8b-ZSz.js → vue-ui-tiremarks-DWb69ofh.js} +13 -13
  168. package/dist/{vue-ui-treemap-LMWiicop.js → vue-ui-treemap-uUz07Prw.js} +457 -457
  169. package/dist/vue-ui-waffle-Pi9e7Ae7.js +1362 -0
  170. package/dist/{vue-ui-wheel-CeVwXtEX.js → vue-ui-wheel-DTfvWYA7.js} +130 -130
  171. package/dist/{vue-ui-word-cloud-D81-qJLw.js → vue-ui-word-cloud-DqfljAqH.js} +27 -27
  172. package/dist/vue-ui-world-BtBrH92Z.js +3016 -0
  173. package/dist/{vue-ui-xy-C2p9H2IX.js → vue-ui-xy-Bvgy2do1.js} +714 -714
  174. package/dist/{vue-ui-xy-OhwS0kcZ.js → vue-ui-xy-D5KsuNR2.js} +116 -116
  175. package/dist/{vue-ui-xy-canvas-DLKDdH35.js → vue-ui-xy-canvas-BfgeE3TW.js} +58 -58
  176. package/package.json +1 -1
  177. package/dist/exposedLib-Be0ifkti.js +0 -19
  178. package/dist/vue-ui-3d-bar-CjNuWXoA.js +0 -1757
  179. package/dist/vue-ui-age-pyramid-CC7Dxli-.js +0 -1238
  180. package/dist/vue-ui-bullet-Dde6FhbR.js +0 -710
  181. package/dist/vue-ui-bump-C5pni1JV.js +0 -1249
  182. package/dist/vue-ui-candlestick-Ctw65O4_.js +0 -1829
  183. package/dist/vue-ui-carousel-table-BEUvhUH0.js +0 -455
  184. package/dist/vue-ui-chestnut-C3IbAdkQ.js +0 -2010
  185. package/dist/vue-ui-chord-5eCWG4br.js +0 -1391
  186. package/dist/vue-ui-circle-pack-Cq4lkmee.js +0 -1608
  187. package/dist/vue-ui-horizontal-bar-CTW6l4n3.js +0 -1683
  188. package/dist/vue-ui-molecule-aD0SMTiX.js +0 -925
  189. package/dist/vue-ui-nested-donuts--BCPWkl7.js +0 -1487
  190. package/dist/vue-ui-onion-s4iMCGAP.js +0 -1200
  191. package/dist/vue-ui-parallel-coordinate-plot-CfgvpyoC.js +0 -1416
  192. package/dist/vue-ui-quick-chart-D1OWBgQJ.js +0 -2469
  193. package/dist/vue-ui-rating-Bek8Tgr-.js +0 -343
  194. package/dist/vue-ui-ridgeline-DIODGiu8.js +0 -1622
  195. package/dist/vue-ui-rings-CcdUSXGG.js +0 -1246
  196. package/dist/vue-ui-scatter-CixnqLoi.js +0 -2413
  197. package/dist/vue-ui-sparkline-BNxdO-Bx.js +0 -1547
  198. package/dist/vue-ui-strip-plot-CRXPXA5V.js +0 -1729
  199. package/dist/vue-ui-table-sparkline-C31Q32My.js +0 -712
  200. package/dist/vue-ui-waffle-B_L3gkky.js +0 -1362
  201. package/dist/vue-ui-world-B7npRmTa.js +0 -14264
@@ -1,28 +1,28 @@
1
1
  import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
2
- import { Gt as t, J as n, Ot as r, Q as i, S as a, Tt as o, Ut as s, W as c, X as l, at as u, b as d, i as f, jt as p, q as ee, r as te, t as ne, vt as re, w as ie } from "./lib-EAmk-PgA.js";
3
- import { t as ae } from "./useConfig-DYM3f6EI.js";
4
- import { t as oe } from "./usePrinter-DnGzpp6Q.js";
5
- import { n as se, t as ce } from "./BaseScanner-DZvpgOjM.js";
6
- import { t as le } from "./useSvgExport-SVIsDot8.js";
7
- import { t as ue } from "./useNestedProp-D8XqxgOU.js";
8
- import { t as de } from "./useThemeCheck-C43Tcqmk.js";
9
- import { t as fe } from "./img-B_abIg0o.js";
10
- import { n as pe } from "./Title-PiTKr6sp.js";
11
- import { t as me } from "./_plugin-vue_export-helper-B3ysoDQm.js";
12
- import { c as he } from "./canvas-lib-BOP_HS11.js";
13
- import { t as ge } from "./useResponsive-BfnK0KxU.js";
14
- import { t as _e } from "./BaseIcon-_-BX7be3.js";
15
- import { t as ve } from "./BaseLegendToggle-CHnlKalt.js";
16
- import { t as ye } from "./A11yDataTable-DdRsVULz.js";
17
- import { t as be } from "./useUserOptionState-DK-_1ddE.js";
18
- import { t as xe } from "./useChartAccessibility-DYqac8yF.js";
19
- import { t as Se } from "./Legend-kAr7Vqqu.js";
20
- import { t as Ce } from "./usePrefersMotion-BC-CsqR1.js";
21
- import { t as we } from "./usePanZoom-CYU3B4T3.js";
22
- import { t as Te } from "./vue_ui_treemap-DoEtkRN6.js";
23
- import { Fragment as Ee, Teleport as De, computed as m, createBlock as h, createCommentVNode as g, createElementBlock as _, createElementVNode as v, createSlots as Oe, createTextVNode as ke, createVNode as Ae, defineAsyncComponent as y, guardReactiveProps as b, mergeProps as je, nextTick as Me, normalizeClass as Ne, normalizeProps as x, normalizeStyle as S, onBeforeUnmount as Pe, onMounted as Fe, openBlock as C, ref as w, renderList as Ie, renderSlot as T, resolveDynamicComponent as Le, shallowRef as E, toDisplayString as Re, toRefs as ze, unref as D, useCssVars as Be, useSlots as Ve, watch as O, withCtx as k, withKeys as He, withModifiers as Ue } from "vue";
2
+ import { $ as t, Et as n, G as r, J as i, Kt as a, Mt as o, S as s, T as c, Wt as l, Y as u, Z as d, b as f, i as ee, kt as te, ot as ne, r as re, t as ie, yt as ae } from "./lib-JqW18y5I.js";
3
+ import { t as oe } from "./useConfig-DYM3f6EI.js";
4
+ import { t as se } from "./usePrinter-CqqHmnBI.js";
5
+ import { n as ce, t as le } from "./BaseScanner-DZvpgOjM.js";
6
+ import { t as ue } from "./useSvgExport-SVIsDot8.js";
7
+ import { t as de } from "./useNestedProp-DIuuzG1r.js";
8
+ import { t as fe } from "./useThemeCheck-C43Tcqmk.js";
9
+ import { t as pe } from "./img-DnP3eXuv.js";
10
+ import { n as me } from "./Title-CcNiYzEo.js";
11
+ import { t as he } from "./_plugin-vue_export-helper-B3ysoDQm.js";
12
+ import { c as ge } from "./canvas-lib-BOP_HS11.js";
13
+ import { t as _e } from "./useResponsive-BfnK0KxU.js";
14
+ import { t as ve } from "./BaseIcon-C2qlyHc7.js";
15
+ import { t as ye } from "./BaseLegendToggle-DtQ8vyfr.js";
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-ROt6ugzW.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 p, Teleport as De, computed as m, createBlock as h, createCommentVNode as g, createElementBlock as _, createElementVNode as v, createSlots as Oe, createTextVNode as ke, createVNode as Ae, defineAsyncComponent as je, guardReactiveProps as y, mergeProps as Me, nextTick as Ne, normalizeClass as Pe, normalizeProps as b, normalizeStyle as x, onBeforeUnmount as Fe, onMounted as Ie, openBlock as S, ref as C, renderList as Le, renderSlot as w, resolveDynamicComponent as Re, shallowRef as T, toDisplayString as ze, toRefs as Be, unref as E, useCssVars as Ve, useSlots as He, watch as D, withCtx as O, withKeys as Ue, withModifiers as We } from "vue";
24
24
  //#region src/treemap.js
25
- function We(e, t) {
25
+ function Ge(e, t) {
26
26
  let n = e.length;
27
27
  if (n === 0) throw Error(`Max aspect ratio cannot be computed: ${e} is an empty array`);
28
28
  {
@@ -34,7 +34,7 @@ function We(e, t) {
34
34
  return Math.max(t ** 2 * i / a ** 2, a ** 2 / (t ** 2 * r));
35
35
  }
36
36
  }
37
- function Ge(e) {
37
+ function Ke(e) {
38
38
  let { xOffset: t, yOffset: n, width: r, height: i } = e;
39
39
  return {
40
40
  x0: t,
@@ -43,14 +43,14 @@ function Ge(e) {
43
43
  y1: n + i
44
44
  };
45
45
  }
46
- function Ke(e, t, n) {
46
+ function qe(e, t, n) {
47
47
  if (e.length === 0) return !0;
48
48
  {
49
49
  let r = e.concat(t);
50
- return We(e, n) >= We(r, n);
50
+ return Ge(e, n) >= Ge(r, n);
51
51
  }
52
52
  }
53
- function qe(e) {
53
+ function Je(e) {
54
54
  let t = [], n = e.length;
55
55
  for (let r = 0; r < n; r += 1) {
56
56
  let n = e[r], i = n.length;
@@ -58,17 +58,17 @@ function qe(e) {
58
58
  }
59
59
  return t;
60
60
  }
61
- function Je(e, t) {
62
- return tt({
61
+ function Ye(e, t) {
62
+ return nt({
63
63
  ...t,
64
64
  children: e
65
65
  });
66
66
  }
67
- function Ye(e) {
67
+ function Xe(e) {
68
68
  return (e.x1 - e.x0) * (e.y1 - e.y0);
69
69
  }
70
- function Xe(e, t) {
71
- let { width: n, height: r, xOffset: i, yOffset: a } = $e(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 = [];
72
72
  if (n >= r) {
73
73
  for (let t = 0; t < o; t += 1) {
74
74
  let n = e[t], r = d + n.normalizedValue / c, i = {
@@ -93,16 +93,16 @@ function Xe(e, t) {
93
93
  return f;
94
94
  }
95
95
  }
96
- function Ze(e) {
97
- let t = $e(e), n = t.width, r = t.height;
96
+ function Qe(e) {
97
+ let t = et(e), n = t.width, r = t.height;
98
98
  return Math.min(n, r);
99
99
  }
100
- function Qe(e, t) {
100
+ function $e(e, t) {
101
101
  let n = e.length, r = t / e.map((e) => e.value ?? 0).reduce((e, t) => e + t, 0), i = [], a, o;
102
102
  for (let t = 0; t < n; t += 1) o = e[t], a = Object.assign({}, o, { normalizedValue: o.value * (r || 0) }), i.push(a);
103
103
  return i;
104
104
  }
105
- function $e(e) {
105
+ function et(e) {
106
106
  let { x0: t, y0: n, x1: r, y1: i } = e;
107
107
  return {
108
108
  xOffset: t,
@@ -111,39 +111,39 @@ function $e(e) {
111
111
  height: i - n
112
112
  };
113
113
  }
114
- function et(e, t, n, r) {
114
+ function tt(e, t, n, r) {
115
115
  let i = e, a = t, o = n, s = r;
116
116
  for (;;) {
117
117
  let e = i.length;
118
118
  if (e === 0) {
119
- let e = Xe(a, o);
119
+ let e = Ze(a, o);
120
120
  return s.concat(e);
121
121
  }
122
- let t = Ze(o), n = i[0], r = i.slice(1, e);
123
- if (Ke(a, n, t)) {
122
+ let t = Qe(o), n = i[0], r = i.slice(1, e);
123
+ if (qe(a, n, t)) {
124
124
  let e = a.concat(n);
125
125
  i = r, a = e, o = o, s = s;
126
126
  } else {
127
127
  let e = a.length, t = 0;
128
128
  for (let n = 0; n < e; n += 1) t += a[n].normalizedValue;
129
- let n = A(o, t), r = Xe(a, o), c = s.concat(r);
129
+ let n = k(o, t), r = Ze(a, o), c = s.concat(r);
130
130
  i = i, a = [], o = n, s = c;
131
131
  }
132
132
  }
133
133
  }
134
- function tt(e) {
134
+ function nt(e) {
135
135
  if (e.children === void 0 || !e.children.length) return [e];
136
136
  {
137
- let t = et(Qe(e.children, Ye(e)), [], e, []), n = t.length, r = [];
138
- for (let e = 0; e < n; e += 1) r.push(tt(t[e]));
139
- return qe(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);
140
140
  }
141
141
  }
142
- function A(e, t) {
143
- let { width: n, height: r, xOffset: i, yOffset: a } = $e(e);
142
+ function k(e, t) {
143
+ let { width: n, height: r, xOffset: i, yOffset: a } = et(e);
144
144
  if (n >= r) {
145
145
  let e = t / r, o = n - e;
146
- return Ge({
146
+ return Ke({
147
147
  xOffset: i + e,
148
148
  yOffset: a,
149
149
  width: o,
@@ -151,7 +151,7 @@ function A(e, t) {
151
151
  });
152
152
  } else {
153
153
  let e = t / n, o = r - e;
154
- return Ge({
154
+ return Ke({
155
155
  xOffset: i,
156
156
  yOffset: a + e,
157
157
  width: n,
@@ -161,7 +161,7 @@ function A(e, t) {
161
161
  }
162
162
  //#endregion
163
163
  //#region src/components/vue-ui-treemap.vue
164
- var nt = /* @__PURE__ */ e({ default: () => Mt }), rt = ["id"], it = ["id"], at = ["id"], ot = [
164
+ var A = /* @__PURE__ */ e({ default: () => Mt }), rt = ["id"], it = ["id"], at = ["id"], ot = [
165
165
  "tabindex",
166
166
  "onClick",
167
167
  "onKeydown",
@@ -234,7 +234,7 @@ var nt = /* @__PURE__ */ e({ default: () => Mt }), rt = ["id"], it = ["id"], at
234
234
  }, Dt = {
235
235
  key: 6,
236
236
  class: "vue-data-ui-watermark"
237
- }, Ot = ["id"], kt = ["onClick"], At = ["innerHTML"], jt = 4, Mt = /*#__PURE__*/ me({
237
+ }, Ot = ["id"], kt = ["onClick"], At = ["innerHTML"], jt = 4, Mt = /*#__PURE__*/ he({
238
238
  __name: "vue-ui-treemap",
239
239
  props: {
240
240
  config: {
@@ -255,16 +255,16 @@ var nt = /* @__PURE__ */ e({ default: () => Mt }), rt = ["id"], it = ["id"], at
255
255
  "selectDatapoint",
256
256
  "copyAlt"
257
257
  ],
258
- setup(e, { expose: me, emit: We }) {
259
- Be((e) => ({ v76935d24: pi.value }));
260
- let Ge = y(() => import("./DataTable-CVF7DoZn.js")), Ke = y(() => import("./PenAndPaper-gaV1QPpP.js").then((e) => e.t)), qe = y(() => import("./vue-ui-accordion-Dzz8XhX3.js").then((e) => e.n)), Ye = y(() => import("./Tooltip-B8yYfISA.js")), Xe = y(() => import("./UserOptions-BL9VlHop.js").then((e) => e.n)), Ze = y(() => import("./PackageVersion-Dse0n05o.js").then((e) => e.t)), Qe = y(() => import("./BaseDraggableDialog-1wwwdwV2.js").then((e) => e.n)), { vue_ui_treemap: $e } = ae(), { isThemeValid: et, warnInvalidTheme: tt } = de(), A = e, nt = We, Mt = Ve(), Nt = Ce();
261
- Fe(() => {
258
+ setup(e, { expose: he, emit: Ge }) {
259
+ Ve((e) => ({ v76935d24: pi.value }));
260
+ let Ke = je(() => import("./DataTable-D9NvewTT.js")), qe = je(() => import("./PenAndPaper-pcgwlYr2.js").then((e) => e.t)), Je = je(() => import("./vue-ui-accordion-YyosvEPo.js").then((e) => e.n)), Xe = je(() => import("./Tooltip-CxOrWlFy.js")), Ze = je(() => import("./UserOptions-16uF1ayB.js").then((e) => e.n)), Qe = je(() => import("./PackageVersion-DW7zwRcm.js").then((e) => e.t)), $e = je(() => import("./BaseDraggableDialog-DcfGlH8A.js").then((e) => e.n)), { vue_ui_treemap: et } = oe(), { isThemeValid: tt, warnInvalidTheme: nt } = fe(), k = e, A = Ge, Mt = He(), Nt = we();
261
+ Ie(() => {
262
262
  Mt["chart-background"] && console.warn("VueUiTreemap does not support the #chart-background slot.");
263
263
  });
264
- let Pt = m(() => !!A.dataset && A.dataset.length), Ft = m(() => /^((?!chrome|android).)*safari/i.test(navigator.userAgent)), j = w(c()), It = w(!1), Lt = w(""), Rt = w(!1), zt = w(0), M = w([]), N = E(null), Bt = E(null), Vt = E(null), Ht = E(null), Ut = E(null), Wt = w(0), Gt = w(0), Kt = w(0), P = w([]), qt = w(null), Jt = w(!1), Yt = w(null), Xt = w(null), Zt = w(null), Qt = w(/* @__PURE__ */ new Map()), $t = w(!1), en = w(!1), F = w(null), tn = w({
264
+ let Pt = m(() => !!k.dataset && k.dataset.length), Ft = m(() => /^((?!chrome|android).)*safari/i.test(navigator.userAgent)), j = C(r()), It = C(!1), Lt = C(""), M = C(!1), Rt = C(0), N = C([]), P = T(null), zt = T(null), Bt = T(null), Vt = T(null), Ht = T(null), Ut = C(0), Wt = C(0), Gt = C(0), F = C([]), Kt = C(null), qt = C(!1), Jt = C(null), Yt = C(null), Xt = C(null), Zt = C(/* @__PURE__ */ new Map()), Qt = C(!1), $t = C(!1), I = C(null), en = C({
265
265
  x: 0,
266
266
  y: 0
267
- }), nn = w("pointer"), rn = w(!1), I = w(dn()), L = m(() => I.value.userOptions.useCursorPointer), an = m(() => t({
267
+ }), tn = C("pointer"), nn = C(!1), L = C(dn()), R = m(() => L.value.userOptions.useCursorPointer), rn = m(() => a({
268
268
  defaultConfig: {
269
269
  userOptions: { show: !1 },
270
270
  style: { chart: {
@@ -276,12 +276,12 @@ var nt = /* @__PURE__ */ e({ default: () => Mt }), rt = ["id"], it = ["id"], at
276
276
  legend: { backgroundColor: "transparent" }
277
277
  } }
278
278
  },
279
- userConfig: I.value.skeletonConfig ?? {}
280
- })), { loading: R, FINAL_DATASET: on, manualLoading: sn } = se({
281
- ...ze(A),
282
- FINAL_CONFIG: I,
279
+ userConfig: L.value.skeletonConfig ?? {}
280
+ })), { loading: an, FINAL_DATASET: on, manualLoading: sn } = ce({
281
+ ...Be(k),
282
+ FINAL_CONFIG: L,
283
283
  prepareConfig: dn,
284
- skeletonDataset: A.config?.skeletonDataset ?? [{
284
+ skeletonDataset: k.config?.skeletonDataset ?? [{
285
285
  name: "_",
286
286
  value: 53,
287
287
  color: "#CACACA90",
@@ -316,64 +316,64 @@ var nt = /* @__PURE__ */ e({ default: () => Mt }), rt = ["id"], it = ["id"], at
316
316
  }
317
317
  ]
318
318
  }],
319
- skeletonConfig: t({
320
- defaultConfig: I.value,
321
- userConfig: an.value
319
+ skeletonConfig: a({
320
+ defaultConfig: L.value,
321
+ userConfig: rn.value
322
322
  })
323
- }), { userOptionsVisible: cn, setUserOptionsVisibility: ln, keepUserOptionState: un } = be({ config: I.value }), { svgRef: z } = xe({ config: I.value.style.chart.title });
323
+ }), { userOptionsVisible: cn, setUserOptionsVisibility: ln, keepUserOptionState: un } = xe({ config: L.value }), { svgRef: z } = Se({ config: L.value.style.chart.title });
324
324
  function dn() {
325
- let e = ue({
326
- userConfig: A.config,
327
- defaultConfig: $e
325
+ let e = de({
326
+ userConfig: k.config,
327
+ defaultConfig: et
328
328
  }), t = e.theme;
329
329
  if (!t) return e;
330
- if (!et.value(e)) return tt(e), e;
331
- let n = ue({
332
- userConfig: Te[t] || A.config,
330
+ if (!tt.value(e)) return nt(e), e;
331
+ let n = de({
332
+ userConfig: Ee[t] || k.config,
333
333
  defaultConfig: e
334
- }), r = ue({
335
- userConfig: A.config,
334
+ }), r = de({
335
+ userConfig: k.config,
336
336
  defaultConfig: n
337
337
  });
338
338
  return {
339
339
  ...r,
340
- customPalette: r.customPalette.length ? r.customPalette : s[t] || p
340
+ customPalette: r.customPalette.length ? r.customPalette : l[t] || o
341
341
  };
342
342
  }
343
- O(() => A.config, (e) => {
344
- R.value || (I.value = dn()), cn.value = !I.value.userOptions.showOnChartHover, Wt.value += 1, Gt.value += 1, Kt.value += 1, B.value.showTable = I.value.table.show, B.value.showTooltip = I.value.style.chart.tooltip.show, B.value.showZoom = I.value.style.chart.zoom?.show ?? !1;
343
+ D(() => k.config, (e) => {
344
+ an.value || (L.value = dn()), cn.value = !L.value.userOptions.showOnChartHover, Ut.value += 1, Wt.value += 1, Gt.value += 1, B.value.showTable = L.value.table.show, B.value.showTooltip = L.value.style.chart.tooltip.show, B.value.showZoom = L.value.style.chart.zoom?.show ?? !1;
345
345
  }, { deep: !0 });
346
- let { isPrinting: fn, isImaging: pn, generatePdf: mn, generateImage: hn } = oe({
346
+ let { isPrinting: fn, isImaging: pn, generatePdf: mn, generateImage: hn } = se({
347
347
  elementId: `treemap_${j.value}`,
348
- fileName: I.value.style.chart.title.text || "vue-ui-treemap",
349
- options: I.value.userOptions.print
350
- }), gn = m(() => I.value.userOptions.show && !I.value.style.chart.title.text), _n = m(() => a(I.value.customPalette)), B = w({
351
- showTable: I.value.table.show,
352
- showTooltip: I.value.style.chart.tooltip.show,
353
- showZoom: I.value.style.chart.zoom?.show ?? !1
348
+ fileName: L.value.style.chart.title.text || "vue-ui-treemap",
349
+ options: L.value.userOptions.print
350
+ }), gn = m(() => L.value.userOptions.show && !L.value.style.chart.title.text), _n = m(() => s(L.value.customPalette)), B = C({
351
+ showTable: L.value.table.show,
352
+ showTooltip: L.value.style.chart.tooltip.show,
353
+ showZoom: L.value.style.chart.zoom?.show ?? !1
354
354
  });
355
- O(I, () => {
355
+ D(L, () => {
356
356
  B.value = {
357
- showTable: I.value.table.show,
358
- showTooltip: I.value.style.chart.tooltip.show,
359
- showZoom: I.value.style.chart.zoom?.show ?? !1
357
+ showTable: L.value.table.show,
358
+ showTooltip: L.value.style.chart.tooltip.show,
359
+ showZoom: L.value.style.chart.zoom?.show ?? !1
360
360
  };
361
361
  }, { immediate: !0 });
362
- let vn = w({
363
- height: I.value.style.chart.height,
364
- width: I.value.style.chart.width
362
+ let vn = C({
363
+ height: L.value.style.chart.height,
364
+ width: L.value.style.chart.width
365
365
  });
366
366
  function yn(e) {
367
- let t = N.value, n = vn.value.height;
367
+ let t = P.value, n = vn.value.height;
368
368
  return !t || !n ? e : e * (n / t.getBoundingClientRect().height);
369
369
  }
370
370
  function bn() {
371
- if (!qt.value || X.value.length <= 1) return 0;
372
- let e = qt.value, t = getComputedStyle(e);
371
+ if (!Kt.value || X.value.length <= 1) return 0;
372
+ let e = Kt.value, t = getComputedStyle(e);
373
373
  return yn(e.offsetHeight + parseFloat(t.marginTop || "0") + parseFloat(t.marginBottom || "0") + parseFloat(t.paddingTop || "0") + parseFloat(t.paddingBottom || "0"));
374
374
  }
375
375
  let V = m(() => {
376
- let e = I.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;
376
+ let e = L.value.style.chart.padding, t = vn.value.width, n = vn.value.height, r = bn(), i = e.left, a = t - e.right, o = e.top, s = n - e.bottom - r;
377
377
  return {
378
378
  left: i,
379
379
  top: o,
@@ -385,26 +385,26 @@ var nt = /* @__PURE__ */ e({ default: () => Mt }), rt = ["id"], it = ["id"], at
385
385
  vbHeight: n - r,
386
386
  offsetY: r
387
387
  };
388
- }), H = w(n(on.value)), U = w(H.value), xn = E(/* @__PURE__ */ new Map());
389
- O([H, () => I.value], () => {
390
- Zt.value = null, Qt.value = /* @__PURE__ */ new Map();
391
- }, { deep: !0 }), O(() => M.value, () => {
392
- Zt.value = null, Qt.value = /* @__PURE__ */ new Map(), Tn(), Kt.value += 1, Gt.value += 1;
393
- }, { deep: !0 }), O([() => vn.value.width, () => vn.value.height], () => {
394
- Qt.value = /* @__PURE__ */ new Map();
388
+ }), H = C(u(on.value)), U = C(H.value), xn = T(/* @__PURE__ */ new Map());
389
+ D([H, () => L.value], () => {
390
+ Xt.value = null, Zt.value = /* @__PURE__ */ new Map();
391
+ }, { deep: !0 }), D(() => N.value, () => {
392
+ Xt.value = null, Zt.value = /* @__PURE__ */ new Map(), Tn(), Gt.value += 1, Wt.value += 1;
393
+ }, { deep: !0 }), D([() => vn.value.width, () => vn.value.height], () => {
394
+ Zt.value = /* @__PURE__ */ new Map();
395
395
  });
396
396
  function Sn(e) {
397
397
  Array.isArray(e) && e.forEach((e, t) => {
398
- e.id ||= c(), e.sourceColor === void 0 && (e.sourceColor = d(e.color) || null);
399
- let n = e.sourceColor || xn.value.get(e.id) || _n.value[t] || p[t] || p[t % p.length];
400
- n = d(n), xn.value.set(e.id, n), e.color = n, Cn(e, n);
398
+ e.id ||= r(), e.sourceColor === void 0 && (e.sourceColor = f(e.color) || null);
399
+ let n = e.sourceColor || xn.value.get(e.id) || _n.value[t] || o[t] || o[t % o.length];
400
+ n = f(n), xn.value.set(e.id, n), e.color = n, Cn(e, n);
401
401
  });
402
402
  }
403
403
  function Cn(e, t) {
404
404
  Array.isArray(e.children) && e.children.forEach((n) => {
405
- n.id ||= c(), n.parentId = e.id, n.sourceColor === void 0 && (n.sourceColor = d(n.color) || null);
406
- let r = n.sourceColor || t;
407
- n.color = r, Cn(n, r);
405
+ n.id ||= r(), n.parentId = e.id, n.sourceColor === void 0 && (n.sourceColor = f(n.color) || null);
406
+ let i = n.sourceColor || t;
407
+ n.color = i, Cn(n, i);
408
408
  });
409
409
  }
410
410
  function wn(e) {
@@ -413,66 +413,66 @@ var nt = /* @__PURE__ */ e({ default: () => Mt }), rt = ["id"], it = ["id"], at
413
413
  return t?.id ?? null;
414
414
  }
415
415
  function Tn() {
416
- let e = H.value.filter((e) => !M.value.includes(e.id));
417
- if (!P.value.length) {
416
+ let e = H.value.filter((e) => !N.value.includes(e.id));
417
+ if (!F.value.length) {
418
418
  U.value = e;
419
419
  return;
420
420
  }
421
- let t = P.value[P.value.length - 1], n = Y(t);
421
+ let t = F.value[F.value.length - 1], n = Y(t);
422
422
  if (!n) {
423
- P.value = [], U.value = e;
423
+ F.value = [], U.value = e;
424
424
  return;
425
425
  }
426
426
  let r = wn(n.id);
427
- if (r && M.value.includes(r)) {
428
- P.value = [], U.value = e;
427
+ if (r && N.value.includes(r)) {
428
+ F.value = [], U.value = e;
429
429
  return;
430
430
  }
431
431
  U.value = [n];
432
432
  }
433
- O(() => on.value, () => {
434
- H.value = n(on.value), Sn(H.value), Tn(), Kt.value += 1, Gt.value += 1;
433
+ D(() => on.value, () => {
434
+ H.value = u(on.value), Sn(H.value), Tn(), Gt.value += 1, Wt.value += 1;
435
435
  }, {
436
436
  deep: !0,
437
437
  immediate: !0,
438
438
  flush: "post"
439
439
  });
440
- let W = E(null), En = E(null);
441
- Fe(() => {
442
- Jt.value = !0, On();
440
+ let W = T(null), En = T(null);
441
+ Ie(() => {
442
+ qt.value = !0, On();
443
443
  });
444
- let Dn = m(() => I.value.debug);
444
+ let Dn = m(() => L.value.debug);
445
445
  function On() {
446
- if (r(A.dataset) && i({
446
+ if (te(k.dataset) && t({
447
447
  componentName: "VueUiTreemap",
448
448
  type: "dataset",
449
449
  debug: Dn.value
450
- }), Sn(H.value), r(A.dataset) || (sn.value = I.value.loading), I.value.responsive) {
451
- let e = he(() => {
452
- let { width: e, height: t } = ge({
453
- chart: N.value,
454
- title: I.value.style.chart.title.text ? Bt.value : null,
455
- legend: I.value.style.chart.legend.show ? Vt.value : null,
456
- source: Ht.value,
457
- noTitle: Ut.value
450
+ }), Sn(H.value), te(k.dataset) || (sn.value = L.value.loading), L.value.responsive) {
451
+ let e = ge(() => {
452
+ let { width: e, height: t } = _e({
453
+ chart: P.value,
454
+ title: L.value.style.chart.title.text ? zt.value : null,
455
+ legend: L.value.style.chart.legend.show ? Bt.value : null,
456
+ source: Vt.value,
457
+ noTitle: Ht.value
458
458
  });
459
459
  requestAnimationFrame(() => {
460
460
  vn.value.width = e, vn.value.height = t - 12;
461
461
  });
462
462
  });
463
- W.value && (En.value && W.value.unobserve(En.value), W.value.disconnect()), W.value = new ResizeObserver(e), En.value = N.value.parentNode, W.value.observe(En.value);
463
+ W.value && (En.value && W.value.unobserve(En.value), W.value.disconnect()), W.value = new ResizeObserver(e), En.value = P.value.parentNode, W.value.observe(En.value);
464
464
  }
465
465
  }
466
- Pe(() => {
466
+ Fe(() => {
467
467
  W.value && (En.value && W.value.unobserve(En.value), W.value.disconnect());
468
468
  });
469
469
  let kn = m(() => U.value.map((e, t) => ({
470
470
  ...e,
471
- color: d(e.color) || _n.value[t] || p[t] || p[t % p.length]
472
- })).filter((e) => !M.value.includes(e.id))), An = m(() => H.value.filter((e) => !M.value.includes(e.id)).map((e) => e.value || 0).reduce((e, t) => e + t, 0)), jn = m({
471
+ color: f(e.color) || _n.value[t] || o[t] || o[t % o.length]
472
+ })).filter((e) => !N.value.includes(e.id))), An = m(() => H.value.filter((e) => !N.value.includes(e.id)).map((e) => e.value || 0).reduce((e, t) => e + t, 0)), jn = m({
473
473
  get() {
474
474
  let e = [...kn.value];
475
- return I.value.style.chart.layout.sorted && (e = [...kn.value].sort((e, t) => t.value - e.value)), e.map((e) => ({ ...e }));
475
+ return L.value.style.chart.layout.sorted && (e = [...kn.value].sort((e, t) => t.value - e.value)), e.map((e) => ({ ...e }));
476
476
  },
477
477
  set(e) {
478
478
  return e;
@@ -481,9 +481,9 @@ var nt = /* @__PURE__ */ e({ default: () => Mt }), rt = ["id"], it = ["id"], at
481
481
  function Mn(e, t) {
482
482
  return e.value / t;
483
483
  }
484
- function Nn(e, t, n) {
485
- let r = I.value.style.chart.layout.rects.colorRatio - Mn(t, n);
486
- return o(e, r < 0 ? 0 : r);
484
+ function Nn(e, t, r) {
485
+ let i = L.value.style.chart.layout.rects.colorRatio - Mn(t, r);
486
+ return n(e, i < 0 ? 0 : i);
487
487
  }
488
488
  function Pn(e) {
489
489
  return Array.isArray(e.children) && e.children.length > 0;
@@ -498,14 +498,14 @@ var nt = /* @__PURE__ */ e({ default: () => Mt }), rt = ["id"], it = ["id"], at
498
498
  }
499
499
  function In(e, t, n, r, i) {
500
500
  return Fn(e).map((e, a) => {
501
- let o = e.sourceColor || d(e.color) || d(t) || _n.value[a] || p[a] || p[a % p.length], s = e.sourceColor ? e.sourceColor : Nn(o, e, r), c = Mn(e, r), l = i ?? e.parentId ?? e.id, u = Array.isArray(e.children) && e.children.length && e.children.reduce((e, t) => e + (Number(t.value) || 0), 0) || 1;
501
+ let s = e.sourceColor || f(e.color) || f(t) || _n.value[a] || o[a] || o[a % o.length], c = e.sourceColor ? e.sourceColor : Nn(s, e, r), l = Mn(e, r), u = i ?? e.parentId ?? e.id, d = Array.isArray(e.children) && e.children.length && e.children.reduce((e, t) => e + (Number(t.value) || 0), 0) || 1;
502
502
  return {
503
503
  ...e,
504
- color: s,
505
- proportion: c,
504
+ color: c,
505
+ proportion: l,
506
506
  parentName: n,
507
- rootId: l,
508
- children: Array.isArray(e.children) && e.children.length ? In(e.children, o, e.name, u, l) : void 0
507
+ rootId: u,
508
+ children: Array.isArray(e.children) && e.children.length ? In(e.children, s, e.name, d, u) : void 0
509
509
  };
510
510
  });
511
511
  }
@@ -522,7 +522,7 @@ var nt = /* @__PURE__ */ e({ default: () => Mt }), rt = ["id"], it = ["id"], at
522
522
  return zn(e);
523
523
  }
524
524
  function zn(e) {
525
- let t = Number(I.value.style.chart.layout.labels.hideUnderProportion);
525
+ let t = Number(L.value.style.chart.layout.labels.hideUnderProportion);
526
526
  return !Number.isFinite(t) || t <= 0 ? !0 : e.proportion > t;
527
527
  }
528
528
  function Bn(e, t, n = 0, r = null) {
@@ -530,7 +530,7 @@ var nt = /* @__PURE__ */ e({ default: () => Mt }), rt = ["id"], it = ["id"], at
530
530
  let i = e.map((e) => {
531
531
  let { children: t, ...n } = e;
532
532
  return { ...n };
533
- }), a = new Map(e.map((e) => [e.id, Array.isArray(e.children) ? e.children : []])), o = new Map(e.map((e) => [e.id, e])), s = Je(i, t), c = [];
533
+ }), 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 = [];
534
534
  for (let e of s) {
535
535
  let t = a.get(e.id) || [], i = o.get(e.id), s = {
536
536
  ...e,
@@ -551,16 +551,16 @@ var nt = /* @__PURE__ */ e({ default: () => Mt }), rt = ["id"], it = ["id"], at
551
551
  let Vn = m(() => {
552
552
  let e = U.value.length ? U.value : jn.value, t = e.map((e) => Number(e.value) || 0).reduce((e, t) => e + t, 0) || 1;
553
553
  return Bn(e.map((e, n) => {
554
- let r = e.children ? e.children.reduce((e, t) => e + (Number(t.value) || 0), 0) : e.value, { children: i, ...a } = e, o = e.sourceColor || d(e.color) || xn.value.get(e.id) || _n.value[n] || p[n] || p[n % p.length], s = e.sourceColor ? e.sourceColor : Nn(o, e, t);
554
+ let i = e.children ? e.children.reduce((e, t) => e + (Number(t.value) || 0), 0) : e.value, { children: a, ...s } = e, c = e.sourceColor || f(e.color) || xn.value.get(e.id) || _n.value[n] || o[n] || o[n % o.length], l = e.sourceColor ? e.sourceColor : Nn(c, e, t);
555
555
  return {
556
- ...a,
557
- id: e.id || c(),
556
+ ...s,
557
+ id: e.id || r(),
558
558
  parentId: e.parentId ?? null,
559
559
  name: e.name,
560
560
  value: e.value,
561
- color: s,
561
+ color: l,
562
562
  proportion: (Number(e.value) || 0) / t,
563
- children: Array.isArray(e.children) && e.children.length ? In(e.children, o, e.name, r || 1) : void 0
563
+ children: Array.isArray(e.children) && e.children.length ? In(e.children, c, e.name, i || 1) : void 0
564
564
  };
565
565
  }), {
566
566
  x0: V.value.left,
@@ -576,7 +576,7 @@ var nt = /* @__PURE__ */ e({ default: () => Mt }), rt = ["id"], it = ["id"], at
576
576
  return t - e <= 0 ? 1e-4 : t - e;
577
577
  }
578
578
  function Hn() {
579
- let e = I.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));
579
+ let e = L.value.style.chart.layout.labels, t = Number(e.minFontSize), n = Number(e.fontSize), r = Math.max(0, Math.min(Number.isFinite(t) ? t : 0, Number.isFinite(n) ? n : 0));
580
580
  return {
581
581
  lowerBound: r,
582
582
  upperBound: Math.max(r, Number.isFinite(n) ? n : r)
@@ -600,11 +600,11 @@ var nt = /* @__PURE__ */ e({ default: () => Mt }), rt = ["id"], it = ["id"], at
600
600
  };
601
601
  }
602
602
  function Gn(e, t) {
603
- return f(I.value.style.chart.layout.labels.formatter, e.value, ee({
604
- p: I.value.style.chart.layout.labels.prefix,
603
+ return ee(L.value.style.chart.layout.labels.formatter, e.value, i({
604
+ p: L.value.style.chart.layout.labels.prefix,
605
605
  v: e.value,
606
- s: I.value.style.chart.layout.labels.suffix,
607
- r: I.value.style.chart.tooltip.roundingValue
606
+ s: L.value.style.chart.layout.labels.suffix,
607
+ r: L.value.style.chart.tooltip.roundingValue
608
608
  }), {
609
609
  datapoint: e,
610
610
  seriesIndex: t
@@ -634,7 +634,7 @@ var nt = /* @__PURE__ */ e({ default: () => Mt }), rt = ["id"], it = ["id"], at
634
634
  return l >= u ? l : o;
635
635
  }
636
636
  function Xn(e) {
637
- Rt.value = e, zt.value += 1;
637
+ M.value = e, Rt.value += 1;
638
638
  }
639
639
  let J = m(() => ({
640
640
  x: 0,
@@ -661,18 +661,18 @@ var nt = /* @__PURE__ */ e({ default: () => Mt }), rt = ["id"], it = ["id"], at
661
661
  }
662
662
  return t;
663
663
  }
664
- let Qn = m(() => P.value.length > 0);
664
+ let Qn = m(() => F.value.length > 0);
665
665
  function $n() {
666
- U.value = H.value.slice(), P.value = [], nt("selectDatapoint", void 0);
666
+ U.value = H.value.slice(), F.value = [], A("selectDatapoint", void 0);
667
667
  }
668
668
  function er() {
669
- return P.value[P.value.length - 1] ?? null;
669
+ return F.value[F.value.length - 1] ?? null;
670
670
  }
671
671
  function tr(e, t, n) {
672
- P.value = [...Zn(e.id), e.id], U.value = [e], I.value.events.datapointClick && I.value.events.datapointClick({
672
+ F.value = [...Zn(e.id), e.id], U.value = [e], L.value.events.datapointClick && L.value.events.datapointClick({
673
673
  datapoint: t ?? e,
674
674
  seriesIndex: n
675
- }), nt("selectDatapoint", t ?? e);
675
+ }), A("selectDatapoint", t ?? e);
676
676
  }
677
677
  function nr(e, t) {
678
678
  let n = er();
@@ -682,7 +682,7 @@ var nt = /* @__PURE__ */ e({ default: () => Mt }), rt = ["id"], it = ["id"], at
682
682
  }
683
683
  let r = Y(n);
684
684
  if (!r?.parentId) {
685
- I.value.events.datapointClick && I.value.events.datapointClick({
685
+ L.value.events.datapointClick && L.value.events.datapointClick({
686
686
  datapoint: e,
687
687
  seriesIndex: t
688
688
  }), $n();
@@ -693,10 +693,10 @@ var nt = /* @__PURE__ */ e({ default: () => Mt }), rt = ["id"], it = ["id"], at
693
693
  $n();
694
694
  return;
695
695
  }
696
- P.value = [...Zn(i.id), i.id], U.value = [i], I.value.events.datapointClick && I.value.events.datapointClick({
696
+ F.value = [...Zn(i.id), i.id], U.value = [i], L.value.events.datapointClick && L.value.events.datapointClick({
697
697
  datapoint: e,
698
698
  seriesIndex: t
699
- }), nt("selectDatapoint", e);
699
+ }), A("selectDatapoint", e);
700
700
  }
701
701
  function rr(e, t) {
702
702
  if (!e) {
@@ -720,8 +720,8 @@ var nt = /* @__PURE__ */ e({ default: () => Mt }), rt = ["id"], it = ["id"], at
720
720
  id: null,
721
721
  label: "All"
722
722
  }];
723
- if (P.value.length > 0) {
724
- let t = Y(P.value[P.value.length - 1]), n = [];
723
+ if (F.value.length > 0) {
724
+ let t = Y(F.value[F.value.length - 1]), n = [];
725
725
  for (; t;) n.unshift(t), t = t.parentId ? Y(t.parentId) : null;
726
726
  for (let t of n) e.push({
727
727
  id: t.id,
@@ -730,89 +730,89 @@ var nt = /* @__PURE__ */ e({ default: () => Mt }), rt = ["id"], it = ["id"], at
730
730
  });
731
731
  }
732
732
  return e;
733
- }), Z = E(null), ar = m(() => H.value.map((e, t) => ({
733
+ }), Z = T(null), ar = m(() => H.value.map((e, t) => ({
734
734
  ...e,
735
- color: d(e.color) || _n.value[t] || p[t] || p[t % p.length],
735
+ color: f(e.color) || _n.value[t] || o[t] || o[t % o.length],
736
736
  shape: "square"
737
737
  })).sort((e, t) => t.value - e.value).map((e, t) => {
738
738
  let n = e.value / H.value.map((e) => e.value).reduce((e, t) => e + t, 0);
739
739
  return {
740
740
  ...e,
741
741
  proportion: n,
742
- isSegregated: M.value.includes(e.id),
742
+ isSegregated: N.value.includes(e.id),
743
743
  segregate: () => lr(e),
744
- opacity: M.value.includes(e.id) ? .5 : 1,
745
- display: `${e.name}${I.value.style.chart.legend.showPercentage || I.value.style.chart.legend.showValue ? ": " : ""}${I.value.style.chart.legend.showValue ? f(I.value.style.chart.layout.labels.formatter, e.value, ee({
746
- p: I.value.style.chart.layout.labels.prefix,
744
+ opacity: N.value.includes(e.id) ? .5 : 1,
745
+ display: `${e.name}${L.value.style.chart.legend.showPercentage || L.value.style.chart.legend.showValue ? ": " : ""}${L.value.style.chart.legend.showValue ? ee(L.value.style.chart.layout.labels.formatter, e.value, i({
746
+ p: L.value.style.chart.layout.labels.prefix,
747
747
  v: e.value,
748
- s: I.value.style.chart.layout.labels.suffix,
749
- r: I.value.style.chart.legend.roundingValue
750
- }), { datapoint: e }) : ""}${I.value.style.chart.legend.showPercentage ? M.value.includes(e.id) ? `${I.value.style.chart.legend.showValue ? " (" : ""}- %${I.value.style.chart.legend.showValue ? ")" : ""}` : `${I.value.style.chart.legend.showValue ? " (" : ""}${isNaN(e.value / An.value) ? "-" : (e.value / An.value * 100).toFixed(I.value.style.chart.legend.roundingPercentage)}%${I.value.style.chart.legend.showValue ? ")" : ""}` : ""}`
748
+ s: L.value.style.chart.layout.labels.suffix,
749
+ r: L.value.style.chart.legend.roundingValue
750
+ }), { datapoint: e }) : ""}${L.value.style.chart.legend.showPercentage ? N.value.includes(e.id) ? `${L.value.style.chart.legend.showValue ? " (" : ""}- %${L.value.style.chart.legend.showValue ? ")" : ""}` : `${L.value.style.chart.legend.showValue ? " (" : ""}${isNaN(e.value / An.value) ? "-" : (e.value / An.value * 100).toFixed(L.value.style.chart.legend.roundingPercentage)}%${L.value.style.chart.legend.showValue ? ")" : ""}` : ""}`
751
751
  };
752
752
  })), or = m(() => ({
753
753
  cy: "treemap-div-legend",
754
- backgroundColor: I.value.style.chart.legend.backgroundColor,
755
- color: I.value.style.chart.legend.color,
756
- fontSize: I.value.style.chart.legend.fontSize,
754
+ backgroundColor: L.value.style.chart.legend.backgroundColor,
755
+ color: L.value.style.chart.legend.color,
756
+ fontSize: L.value.style.chart.legend.fontSize,
757
757
  paddingBottom: 12,
758
- fontWeight: I.value.style.chart.legend.bold ? "bold" : ""
759
- })), sr = m(() => M.value.length === ar.value.length);
758
+ fontWeight: L.value.style.chart.legend.bold ? "bold" : ""
759
+ })), sr = m(() => N.value.length === ar.value.length);
760
760
  function cr() {
761
- M.value.length ? M.value = [] : ar.value.forEach((e) => {
762
- M.value.push(e.id);
763
- }), nt("selectLegend", H.value.filter((e) => !M.value.includes(e.id)));
761
+ N.value.length ? N.value = [] : ar.value.forEach((e) => {
762
+ N.value.push(e.id);
763
+ }), A("selectLegend", H.value.filter((e) => !N.value.includes(e.id)));
764
764
  }
765
765
  function lr(e) {
766
- Z.value = null, M.value.includes(e.id) ? M.value = M.value.filter((t) => t !== e.id) : M.value.length < A.dataset.length - 1 && M.value.push(e.id), nt("selectLegend", H.value.filter((e) => !M.value.includes(e.id)));
766
+ Z.value = null, N.value.includes(e.id) ? N.value = N.value.filter((t) => t !== e.id) : N.value.length < k.dataset.length - 1 && N.value.push(e.id), A("selectLegend", H.value.filter((e) => !N.value.includes(e.id)));
767
767
  }
768
768
  function ur(e) {
769
- return H.value.length ? H.value.find((t) => t.name === e) || (I.value.debug && console.warn(`VueUiTreemap - Series name not found "${e}"`), null) : (I.value.debug && console.warn("VueUiTreemap - There are no series to show."), null);
769
+ return H.value.length ? H.value.find((t) => t.name === e) || (L.value.debug && console.warn(`VueUiTreemap - Series name not found "${e}"`), null) : (L.value.debug && console.warn("VueUiTreemap - There are no series to show."), null);
770
770
  }
771
771
  function dr(e) {
772
772
  let t = ur(e);
773
- t !== null && M.value.includes(t.id) && lr({ id: t.id });
773
+ t !== null && N.value.includes(t.id) && lr({ id: t.id });
774
774
  }
775
775
  function fr(e) {
776
776
  let t = ur(e);
777
- t !== null && (M.value.includes(t.id) || lr({ id: t.id }));
777
+ t !== null && (N.value.includes(t.id) || lr({ id: t.id }));
778
778
  }
779
779
  function pr({ datapoint: e, seriesIndex: t }) {
780
- Z.value = null, It.value = !1, F.value = null, nn.value = "pointer", I.value.events.datapointLeave && I.value.events.datapointLeave({
780
+ Z.value = null, It.value = !1, I.value = null, tn.value = "pointer", L.value.events.datapointLeave && L.value.events.datapointLeave({
781
781
  datapoint: e,
782
782
  seriesIndex: t
783
783
  });
784
784
  }
785
- let mr = w(null);
785
+ let mr = C(null);
786
786
  function hr({ datapoint: e, seriesIndex: t, triggerMode: n = "pointer" }) {
787
787
  if (sr.value || n === "pointer" && Tr.value) return;
788
- I.value.events.datapointEnter && I.value.events.datapointEnter({
788
+ L.value.events.datapointEnter && L.value.events.datapointEnter({
789
789
  datapoint: e,
790
790
  seriesIndex: t
791
- }), F.value = t, nn.value = n, Z.value = e, mr.value = {
791
+ }), I.value = t, tn.value = n, Z.value = e, mr.value = {
792
792
  datapoint: e,
793
793
  seriesIndex: t,
794
- config: I.value,
794
+ config: L.value,
795
795
  series: kn.value
796
796
  };
797
- let r = I.value.style.chart.tooltip.customFormat;
798
- if (re(r) && u(() => r({
797
+ let r = L.value.style.chart.tooltip.customFormat;
798
+ if (ae(r) && ne(() => r({
799
799
  seriesIndex: t,
800
800
  datapoint: e,
801
801
  series: kn.value,
802
- config: I.value
802
+ config: L.value
803
803
  }))) Lt.value = r({
804
804
  seriesIndex: t,
805
805
  datapoint: e,
806
806
  series: kn.value,
807
- config: I.value
807
+ config: L.value
808
808
  });
809
809
  else {
810
810
  let n = "";
811
- n += `<div style="width:100%;text-align:center;border-bottom:1px solid ${I.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>${f(I.value.style.chart.layout.labels.formatter, e.value, ee({
812
- p: I.value.style.chart.layout.labels.prefix,
811
+ n += `<div style="width:100%;text-align:center;border-bottom:1px solid ${L.value.style.chart.tooltip.borderColor};padding-bottom:6px;margin-bottom:3px;">${e.name}</div>`, n += `<div style="display:flex;flex-direction:row;gap:6px;align-items:center;"><svg viewBox="0 0 12 12" height="14" width="14"><rect x="0" y="0" height="12" width="12" stroke="none" fill="${e.color}"/></svg>`, n += `<b>${ee(L.value.style.chart.layout.labels.formatter, e.value, i({
812
+ p: L.value.style.chart.layout.labels.prefix,
813
813
  v: e.value,
814
- s: I.value.style.chart.layout.labels.suffix,
815
- r: I.value.style.chart.tooltip.roundingValue
814
+ s: L.value.style.chart.layout.labels.suffix,
815
+ r: L.value.style.chart.tooltip.roundingValue
816
816
  }), {
817
817
  datapoint: e,
818
818
  seriesIndex: t
@@ -828,37 +828,37 @@ var nt = /* @__PURE__ */ e({ default: () => Mt }), rt = ["id"], it = ["id"], at
828
828
  body: G.value.map((e) => e.value)
829
829
  }));
830
830
  function gr(e = null) {
831
- Me(() => {
831
+ Ne(() => {
832
832
  let t = Q.value.head.map((e, t) => [
833
833
  [e.name],
834
834
  [Q.value.body[t]],
835
835
  [isNaN(Q.value.body[t] / An.value) ? "-" : Q.value.body[t] / An.value * 100]
836
- ]), n = ie([
837
- [I.value.style.chart.title.text],
838
- [I.value.style.chart.title.subtitle.text],
836
+ ]), n = c([
837
+ [L.value.style.chart.title.text],
838
+ [L.value.style.chart.title.subtitle.text],
839
839
  [
840
840
  [""],
841
841
  ["val"],
842
842
  ["%"]
843
843
  ]
844
844
  ].concat(t));
845
- e ? e(n) : l({
845
+ e ? e(n) : d({
846
846
  csvContent: n,
847
- title: I.value.style.chart.title.text || "vue-ui-treemap"
847
+ title: L.value.style.chart.title.text || "vue-ui-treemap"
848
848
  });
849
849
  });
850
850
  }
851
851
  let _r = m(() => {
852
852
  let e = [
853
- I.value.table.columnNames.series,
854
- I.value.table.columnNames.value,
855
- I.value.table.columnNames.percentage
853
+ L.value.table.columnNames.series,
854
+ L.value.table.columnNames.value,
855
+ L.value.table.columnNames.percentage
856
856
  ], t = Q.value.head.map((e, t) => {
857
- let n = f(I.value.style.chart.layout.labels.formatter, Q.value.body[t], ee({
858
- p: I.value.style.chart.layout.labels.prefix,
857
+ let n = ee(L.value.style.chart.layout.labels.formatter, Q.value.body[t], i({
858
+ p: L.value.style.chart.layout.labels.prefix,
859
859
  v: Q.value.body[t],
860
- s: I.value.style.chart.layout.labels.suffix,
861
- r: I.value.table.td.roundingValue
860
+ s: L.value.style.chart.layout.labels.suffix,
861
+ r: L.value.table.td.roundingValue
862
862
  }));
863
863
  return [
864
864
  {
@@ -867,27 +867,27 @@ var nt = /* @__PURE__ */ e({ default: () => Mt }), rt = ["id"], it = ["id"], at
867
867
  shape: "square"
868
868
  },
869
869
  n,
870
- isNaN(Q.value.body[t] / An.value) ? "-" : ee({
870
+ isNaN(Q.value.body[t] / An.value) ? "-" : i({
871
871
  v: Q.value.body[t] / An.value * 100,
872
872
  s: "%",
873
- r: I.value.table.td.roundingPercentage
873
+ r: L.value.table.td.roundingPercentage
874
874
  })
875
875
  ];
876
876
  }), n = {
877
877
  th: {
878
- backgroundColor: I.value.table.th.backgroundColor,
879
- color: I.value.table.th.color,
880
- outline: I.value.table.th.outline
878
+ backgroundColor: L.value.table.th.backgroundColor,
879
+ color: L.value.table.th.color,
880
+ outline: L.value.table.th.outline
881
881
  },
882
882
  td: {
883
- backgroundColor: I.value.table.td.backgroundColor,
884
- color: I.value.table.td.color,
885
- outline: I.value.table.td.outline
883
+ backgroundColor: L.value.table.td.backgroundColor,
884
+ color: L.value.table.td.color,
885
+ outline: L.value.table.td.outline
886
886
  },
887
- breakpoint: I.value.table.responsiveBreakpoint
887
+ breakpoint: L.value.table.responsiveBreakpoint
888
888
  };
889
889
  return {
890
- colNames: [I.value.table.columnNames.series, I.value.table.columnNames.value],
890
+ colNames: [L.value.table.columnNames.series, L.value.table.columnNames.value],
891
891
  head: e,
892
892
  body: t,
893
893
  config: n
@@ -905,23 +905,23 @@ var nt = /* @__PURE__ */ e({ default: () => Mt }), rt = ["id"], it = ["id"], at
905
905
  function xr() {
906
906
  B.value.showZoom = !B.value.showZoom;
907
907
  }
908
- let Sr = w(!1);
908
+ let Sr = C(!1);
909
909
  function Cr() {
910
910
  Sr.value = !Sr.value;
911
911
  }
912
- let wr = m(() => !Sr.value && B.value.showZoom), Tr = w(null), Er = w(!1), { viewBox: $, resetZoom: Dr, isZoom: Or, setInitialViewBox: kr } = we(z, {
912
+ let wr = m(() => !Sr.value && B.value.showZoom), Tr = C(null), Er = C(!1), { viewBox: $, resetZoom: Dr, isZoom: Or, setInitialViewBox: kr } = Te(z, {
913
913
  x: J.value.x,
914
914
  y: J.value.y,
915
915
  width: Math.max(10, J.value.width),
916
916
  height: Math.max(10, J.value.height)
917
917
  }, 1, wr), Ar = m(() => B.value.showZoom || Or.value);
918
- O([
918
+ D([
919
919
  () => J.value.x,
920
920
  () => J.value.y,
921
921
  () => J.value.width,
922
922
  () => J.value.height
923
923
  ], () => {
924
- Me(() => {
924
+ Ne(() => {
925
925
  kr({
926
926
  x: J.value.x,
927
927
  y: J.value.y,
@@ -949,7 +949,7 @@ var nt = /* @__PURE__ */ e({ default: () => Mt }), rt = ["id"], it = ["id"], at
949
949
  function Pr(e, t) {
950
950
  Er.value || rr(e, t);
951
951
  }
952
- let Fr = w(null);
952
+ let Fr = C(null);
953
953
  function Ir(e) {
954
954
  Fr.value = e;
955
955
  }
@@ -957,9 +957,9 @@ var nt = /* @__PURE__ */ e({ default: () => Mt }), rt = ["id"], it = ["id"], at
957
957
  Fr.value = null;
958
958
  }
959
959
  async function Rr({ scale: e = 2 } = {}) {
960
- if (!N.value) return;
961
- let { width: t, height: n } = N.value.getBoundingClientRect(), r = t / n, { imageUri: i, base64: a } = await fe({
962
- domElement: N.value,
960
+ if (!P.value) return;
961
+ let { width: t, height: n } = P.value.getBoundingClientRect(), r = t / n, { imageUri: i, base64: a } = await pe({
962
+ domElement: P.value,
963
963
  base64: !0,
964
964
  img: !0,
965
965
  scale: e
@@ -967,65 +967,65 @@ var nt = /* @__PURE__ */ e({ default: () => Mt }), rt = ["id"], it = ["id"], at
967
967
  return {
968
968
  imageUri: i,
969
969
  base64: a,
970
- title: I.value.style.chart.title.text,
970
+ title: L.value.style.chart.title.text,
971
971
  width: t,
972
972
  height: n,
973
973
  aspectRatio: r
974
974
  };
975
975
  }
976
976
  let zr = m(() => {
977
- let e = I.value.table.useDialog && !I.value.table.show, t = B.value.showTable;
977
+ let e = L.value.table.useDialog && !L.value.table.show, t = B.value.showTable;
978
978
  return {
979
- component: e ? Qe : qe,
980
- title: `${I.value.style.chart.title.text}${I.value.style.chart.title.subtitle.text ? `: ${I.value.style.chart.title.subtitle.text}` : ""}`,
979
+ component: e ? $e : Je,
980
+ title: `${L.value.style.chart.title.text}${L.value.style.chart.title.subtitle.text ? `: ${L.value.style.chart.title.subtitle.text}` : ""}`,
981
981
  props: e ? {
982
- backgroundColor: I.value.table.th.backgroundColor,
983
- color: I.value.table.th.color,
984
- headerColor: I.value.table.th.color,
985
- headerBg: I.value.table.th.backgroundColor,
986
- isFullscreen: Rt.value,
987
- fullscreenParent: N.value,
982
+ backgroundColor: L.value.table.th.backgroundColor,
983
+ color: L.value.table.th.color,
984
+ headerColor: L.value.table.th.color,
985
+ headerBg: L.value.table.th.backgroundColor,
986
+ isFullscreen: M.value,
987
+ fullscreenParent: P.value,
988
988
  forcedWidth: Math.min(800, window.innerWidth * .8),
989
- isCursorPointer: L.value
989
+ isCursorPointer: R.value
990
990
  } : {
991
991
  hideDetails: !0,
992
992
  config: {
993
993
  open: t,
994
994
  maxHeight: 1e4,
995
995
  body: {
996
- backgroundColor: I.value.style.chart.backgroundColor,
997
- color: I.value.style.chart.color
996
+ backgroundColor: L.value.style.chart.backgroundColor,
997
+ color: L.value.style.chart.color
998
998
  },
999
999
  head: {
1000
- backgroundColor: I.value.style.chart.backgroundColor,
1001
- color: I.value.style.chart.color
1000
+ backgroundColor: L.value.style.chart.backgroundColor,
1001
+ color: L.value.style.chart.color
1002
1002
  }
1003
1003
  }
1004
1004
  }
1005
1005
  };
1006
1006
  });
1007
- O(() => B.value.showTable, (e) => {
1008
- I.value.table.show || (e && I.value.table.useDialog && Yt.value ? Yt.value.open() : "close" in Yt.value && Yt.value.close());
1007
+ D(() => B.value.showTable, (e) => {
1008
+ L.value.table.show || (e && L.value.table.useDialog && Jt.value ? Jt.value.open() : "close" in Jt.value && Jt.value.close());
1009
1009
  });
1010
1010
  function Br() {
1011
- B.value.showTable = !1, Xt.value && Xt.value.setTableIconState(!1);
1011
+ B.value.showTable = !1, Yt.value && Yt.value.setTableIconState(!1);
1012
1012
  }
1013
1013
  let Vr = m(() => ar.value.map((e) => ({
1014
1014
  ...e,
1015
1015
  name: e.display
1016
- }))), Hr = m(() => I.value.style.chart.backgroundColor), Ur = m(() => I.value.style.chart.legend), { exportSvg: Wr, getSvg: Gr } = le({
1016
+ }))), Hr = m(() => L.value.style.chart.backgroundColor), Ur = m(() => L.value.style.chart.legend), { exportSvg: Wr, getSvg: Gr } = ue({
1017
1017
  svg: z,
1018
- title: m(() => I.value.style.chart.title),
1018
+ title: m(() => L.value.style.chart.title),
1019
1019
  legend: Ur,
1020
1020
  legendItems: Vr,
1021
1021
  backgroundColor: Hr
1022
1022
  });
1023
1023
  async function Kr({ isCb: e }) {
1024
- en.value = !0, await Me();
1024
+ $t.value = !0, await Ne();
1025
1025
  try {
1026
1026
  if (e) {
1027
1027
  let { blob: e, url: t, text: n, dataUrl: r } = await Gr();
1028
- await Promise.resolve(I.value.userOptions.callbacks.svg({
1028
+ await Promise.resolve(L.value.userOptions.callbacks.svg({
1029
1029
  blob: e,
1030
1030
  url: t,
1031
1031
  text: n,
@@ -1033,16 +1033,16 @@ var nt = /* @__PURE__ */ e({ default: () => Mt }), rt = ["id"], it = ["id"], at
1033
1033
  }));
1034
1034
  } else await Promise.resolve(Wr());
1035
1035
  } finally {
1036
- en.value = !1;
1036
+ $t.value = !1;
1037
1037
  }
1038
1038
  }
1039
1039
  function qr(e) {
1040
1040
  if (e?.stage === "start") {
1041
- $t.value = !0;
1041
+ Qt.value = !0;
1042
1042
  return;
1043
1043
  }
1044
1044
  if (e?.stage === "end") {
1045
- $t.value = !1;
1045
+ Qt.value = !1;
1046
1046
  return;
1047
1047
  }
1048
1048
  hn();
@@ -1060,7 +1060,7 @@ var nt = /* @__PURE__ */ e({ default: () => Mt }), rt = ["id"], it = ["id"], at
1060
1060
  return Wn(e, Jr(e, t).fontSize);
1061
1061
  }
1062
1062
  function Xr(e) {
1063
- return te(e.color ?? I.value.style.chart.backgroundColor);
1063
+ return re(e.color ?? L.value.style.chart.backgroundColor);
1064
1064
  }
1065
1065
  function Zr(e, t) {
1066
1066
  let { fontSize: n, lineHeight: r } = Jr(e, t), i = ii(e, t), a = ai(e, t);
@@ -1069,7 +1069,7 @@ var nt = /* @__PURE__ */ e({ default: () => Mt }), rt = ["id"], it = ["id"], at
1069
1069
  return Kn(e, t).slice(0, o).map((e) => String(e ?? "")).filter(Boolean);
1070
1070
  }
1071
1071
  function Qr({ rect: e, seriesIndex: t }) {
1072
- if (!e || !I.value.style.chart.layout.labels.showDefaultLabels || !Rn(e)) return null;
1072
+ if (!e || !L.value.style.chart.layout.labels.showDefaultLabels || !Rn(e)) return null;
1073
1073
  let { fontSize: n } = Jr(e, t), r = Xr(e), i = Zr(e, t), a = Yr(e, t);
1074
1074
  if (!i.length || a.width <= 0 || a.height <= 0) return null;
1075
1075
  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);
@@ -1087,7 +1087,7 @@ var nt = /* @__PURE__ */ e({ default: () => Mt }), rt = ["id"], it = ["id"], at
1087
1087
  y: a.y + a.lineHeight * i,
1088
1088
  fill: r,
1089
1089
  fontSize: n,
1090
- fontFamily: I.value.style.fontFamily,
1090
+ fontFamily: L.value.style.fontFamily,
1091
1091
  fontWeight: i === 0 ? 500 : 400
1092
1092
  }))
1093
1093
  };
@@ -1095,7 +1095,7 @@ var nt = /* @__PURE__ */ e({ default: () => Mt }), rt = ["id"], it = ["id"], at
1095
1095
  function $r(e) {
1096
1096
  return `${e.id}`;
1097
1097
  }
1098
- let ei = m(() => Mt.rect || R.value || !I.value.style.chart.layout.labels.showDefaultLabels || sr.value ? [] : G.value.map((e, t) => e.showLabel ? Qr({
1098
+ let ei = m(() => Mt.rect || an.value || !L.value.style.chart.layout.labels.showDefaultLabels || sr.value ? [] : G.value.map((e, t) => e.showLabel ? Qr({
1099
1099
  rect: e,
1100
1100
  seriesIndex: t
1101
1101
  }) : null).filter(Boolean)), ti;
@@ -1104,7 +1104,7 @@ var nt = /* @__PURE__ */ e({ default: () => Mt }), rt = ["id"], it = ["id"], at
1104
1104
  }
1105
1105
  function ri(e, t, n = 400) {
1106
1106
  let r = ni();
1107
- return r ? (r.font = `${n} ${t}px ${I.value.style.fontFamily}`, r.measureText(String(e)).width) : e.length * t * .6;
1107
+ return r ? (r.font = `${n} ${t}px ${L.value.style.fontFamily}`, r.measureText(String(e)).width) : e.length * t * .6;
1108
1108
  }
1109
1109
  function ii(e, t) {
1110
1110
  return Yr(e, t).width;
@@ -1113,44 +1113,44 @@ var nt = /* @__PURE__ */ e({ default: () => Mt }), rt = ["id"], it = ["id"], at
1113
1113
  return Yr(e, t).height;
1114
1114
  }
1115
1115
  function oi(e) {
1116
- let t = I.value.style.chart.layout.rects.borderRadius, n = q(e), r = K(e);
1116
+ let t = L.value.style.chart.layout.rects.borderRadius, n = q(e), r = K(e);
1117
1117
  return Math.min(t, Math.min(n, r) / 6);
1118
1118
  }
1119
1119
  async function si() {
1120
- if (nt("copyAlt", {
1121
- config: I.value,
1120
+ if (A("copyAlt", {
1121
+ config: L.value,
1122
1122
  dataset: G.value
1123
- }), !I.value.userOptions.callbacks.altCopy) {
1123
+ }), !L.value.userOptions.callbacks.altCopy) {
1124
1124
  console.warn("Vue Data UI - A callback must be set for `altCopy` in userOptions.");
1125
1125
  return;
1126
1126
  }
1127
- await Promise.resolve(I.value.userOptions.callbacks.altCopy({
1128
- config: I.value,
1127
+ await Promise.resolve(L.value.userOptions.callbacks.altCopy({
1128
+ config: L.value,
1129
1129
  dataset: G.value
1130
1130
  }));
1131
1131
  }
1132
1132
  function ci() {
1133
- F.value = null, rn.value = !0;
1133
+ I.value = null, nn.value = !0;
1134
1134
  }
1135
1135
  function li() {
1136
- F.value = null, nn.value = "pointer", It.value = !1, Z.value = null, rn.value = !1;
1136
+ I.value = null, tn.value = "pointer", It.value = !1, Z.value = null, nn.value = !1;
1137
1137
  }
1138
1138
  function ui(e) {
1139
1139
  if (!z.value || Sr.value || document.activeElement !== z.value || !G.value.length || sr.value) return;
1140
1140
  let t = ["ArrowLeft", "ArrowUp"].includes(e.key), n = ["ArrowRight", "ArrowDown"].includes(e.key), r = e.key === "Enter" || e.key === " ", i = e.key === "Escape";
1141
1141
  if (!t && !n && !r && !i) return;
1142
1142
  if (e.preventDefault(), e.stopPropagation(), i) {
1143
- F.value = null, nn.value = "pointer", It.value = !1, Z.value = null;
1143
+ I.value = null, tn.value = "pointer", It.value = !1, Z.value = null;
1144
1144
  return;
1145
1145
  }
1146
1146
  if (r) {
1147
- if (F.value === null) return;
1148
- let e = G.value[F.value];
1147
+ if (I.value === null) return;
1148
+ let e = G.value[I.value];
1149
1149
  if (!e) return;
1150
- rr(e, F.value);
1150
+ rr(e, I.value);
1151
1151
  return;
1152
1152
  }
1153
- let a = F.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;
1153
+ let a = I.value, o = Z.value ? G.value.findIndex((e) => e.id === Z.value.id) : null, s = a !== null && a >= 0 && a < G.value.length, c = o !== null && o >= 0 && o < G.value.length;
1154
1154
  s ? n ? (a += 1, a >= G.value.length && (a = 0)) : t && (--a, a < 0 && (a = G.value.length - 1)) : c ? (a = n ? o + 1 : o - 1, a >= G.value.length && (a = 0), a < 0 && (a = G.value.length - 1)) : a = n ? 0 : G.value.length - 1;
1155
1155
  let l = G.value[a];
1156
1156
  l && (di(a), hr({
@@ -1164,7 +1164,7 @@ var nt = /* @__PURE__ */ e({ default: () => Mt }), rt = ["id"], it = ["id"], at
1164
1164
  let t = G.value[e];
1165
1165
  if (!t) return;
1166
1166
  let n = t.x0 + q(t) / 2, r = t.y0 + K(t) / 2, i = z.value.getBoundingClientRect();
1167
- tn.value = {
1167
+ en.value = {
1168
1168
  x: i.left + (n - $.value.x) / $.value.width * i.width,
1169
1169
  y: i.top + (r - $.value.y) / $.value.height * i.height
1170
1170
  };
@@ -1172,8 +1172,8 @@ var nt = /* @__PURE__ */ e({ default: () => Mt }), rt = ["id"], it = ["id"], at
1172
1172
  let fi = m(() => ({
1173
1173
  headers: _r.value?.colNames ?? [],
1174
1174
  rows: _r.value?.body ?? []
1175
- })), pi = m(() => I.value.style.chart.color);
1176
- return me({
1175
+ })), pi = m(() => L.value.style.chart.color);
1176
+ return he({
1177
1177
  getData: vr,
1178
1178
  getImage: Rr,
1179
1179
  generateCsv: gr,
@@ -1189,26 +1189,26 @@ var nt = /* @__PURE__ */ e({ default: () => Mt }), rt = ["id"], it = ["id"], at
1189
1189
  toggleFullscreen: Xn,
1190
1190
  resetZoom: Dr,
1191
1191
  copyAlt: si
1192
- }), (e, t) => (C(), _("div", {
1192
+ }), (e, t) => (S(), _("div", {
1193
1193
  ref_key: "treemapChart",
1194
- ref: N,
1195
- class: Ne(`vue-data-ui-component vue-ui-treemap ${Rt.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${I.value.useCssAnimation ? "" : "vue-ui-dna"}`),
1196
- style: S(`font-family:${I.value.style.fontFamily};width:100%; ${I.value.responsive ? "height: 100%;" : ""} text-align:center;background:${I.value.style.chart.backgroundColor}`),
1194
+ ref: P,
1195
+ class: Pe(`vue-data-ui-component vue-ui-treemap ${M.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${L.value.useCssAnimation ? "" : "vue-ui-dna"}`),
1196
+ style: x(`font-family:${L.value.style.fontFamily};width:100%; ${L.value.responsive ? "height: 100%;" : ""} text-align:center;background:${L.value.style.chart.backgroundColor}`),
1197
1197
  id: `treemap_${j.value}`,
1198
- onMouseenter: t[3] ||= () => D(ln)(!0),
1199
- onMouseleave: t[4] ||= () => D(ln)(!1)
1198
+ onMouseenter: t[3] ||= () => E(ln)(!0),
1199
+ onMouseleave: t[4] ||= () => E(ln)(!1)
1200
1200
  }, [
1201
1201
  v("div", {
1202
1202
  id: `chart-instructions-${j.value}`,
1203
1203
  class: "sr-only"
1204
- }, [v("p", null, Re(I.value.a11y.translations.keyboardNavigation), 1)], 8, it),
1205
- fi.value?.rows?.length ? (C(), h(ye, {
1204
+ }, [v("p", null, ze(L.value.a11y.translations.keyboardNavigation), 1)], 8, it),
1205
+ fi.value?.rows?.length ? (S(), h(be, {
1206
1206
  key: 0,
1207
1207
  uid: j.value,
1208
1208
  head: fi.value.headers,
1209
1209
  body: fi.value.rows,
1210
- notice: I.value.a11y.translations.tableAvailable,
1211
- caption: I.value.a11y.translations.tableCaption
1210
+ notice: L.value.a11y.translations.tableAvailable,
1211
+ caption: L.value.a11y.translations.tableCaption
1212
1212
  }, null, 8, [
1213
1213
  "uid",
1214
1214
  "head",
@@ -1216,21 +1216,21 @@ var nt = /* @__PURE__ */ e({ default: () => Mt }), rt = ["id"], it = ["id"], at
1216
1216
  "notice",
1217
1217
  "caption"
1218
1218
  ])) : g("", !0),
1219
- I.value.userOptions.buttons.annotator ? (C(), h(D(Ke), {
1219
+ L.value.userOptions.buttons.annotator ? (S(), h(E(qe), {
1220
1220
  key: 1,
1221
- svgRef: D(z),
1222
- backgroundColor: I.value.style.chart.backgroundColor,
1223
- color: I.value.style.chart.color,
1221
+ svgRef: E(z),
1222
+ backgroundColor: L.value.style.chart.backgroundColor,
1223
+ color: L.value.style.chart.color,
1224
1224
  active: Sr.value,
1225
- isCursorPointer: L.value,
1225
+ isCursorPointer: R.value,
1226
1226
  onClose: Cr
1227
1227
  }, {
1228
- "annotator-action-close": k(() => [T(e.$slots, "annotator-action-close", {}, void 0, !0)]),
1229
- "annotator-action-color": k(({ color: t }) => [T(e.$slots, "annotator-action-color", x(b({ color: t })), void 0, !0)]),
1230
- "annotator-action-draw": k(({ mode: t }) => [T(e.$slots, "annotator-action-draw", x(b({ mode: t })), void 0, !0)]),
1231
- "annotator-action-undo": k(({ disabled: t }) => [T(e.$slots, "annotator-action-undo", x(b({ disabled: t })), void 0, !0)]),
1232
- "annotator-action-redo": k(({ disabled: t }) => [T(e.$slots, "annotator-action-redo", x(b({ disabled: t })), void 0, !0)]),
1233
- "annotator-action-delete": k(({ disabled: t }) => [T(e.$slots, "annotator-action-delete", x(b({ disabled: t })), void 0, !0)]),
1228
+ "annotator-action-close": O(() => [w(e.$slots, "annotator-action-close", {}, void 0, !0)]),
1229
+ "annotator-action-color": O(({ color: t }) => [w(e.$slots, "annotator-action-color", b(y({ color: t })), void 0, !0)]),
1230
+ "annotator-action-draw": O(({ mode: t }) => [w(e.$slots, "annotator-action-draw", b(y({ mode: t })), void 0, !0)]),
1231
+ "annotator-action-undo": O(({ disabled: t }) => [w(e.$slots, "annotator-action-undo", b(y({ disabled: t })), void 0, !0)]),
1232
+ "annotator-action-redo": O(({ disabled: t }) => [w(e.$slots, "annotator-action-redo", b(y({ disabled: t })), void 0, !0)]),
1233
+ "annotator-action-delete": O(({ disabled: t }) => [w(e.$slots, "annotator-action-delete", b(y({ disabled: t })), void 0, !0)]),
1234
1234
  _: 3
1235
1235
  }, 8, [
1236
1236
  "svgRef",
@@ -1239,64 +1239,64 @@ var nt = /* @__PURE__ */ e({ default: () => Mt }), rt = ["id"], it = ["id"], at
1239
1239
  "active",
1240
1240
  "isCursorPointer"
1241
1241
  ])) : g("", !0),
1242
- gn.value ? (C(), _("div", {
1242
+ gn.value ? (S(), _("div", {
1243
1243
  key: 2,
1244
1244
  ref_key: "noTitle",
1245
- ref: Ut,
1245
+ ref: Ht,
1246
1246
  class: "vue-data-ui-no-title-space",
1247
1247
  style: "height:36px; width: 100%;background:transparent"
1248
1248
  }, null, 512)) : g("", !0),
1249
- I.value.style.chart.title.text ? (C(), _("div", {
1249
+ L.value.style.chart.title.text ? (S(), _("div", {
1250
1250
  key: 3,
1251
1251
  ref_key: "chartTitle",
1252
- ref: Bt,
1253
- style: S(`width:100%;background:${I.value.style.chart.backgroundColor};padding-bottom:6px`)
1254
- }, [(C(), h(pe, {
1255
- key: `title_${Wt.value}`,
1252
+ ref: zt,
1253
+ style: x(`width:100%;background:${L.value.style.chart.backgroundColor};padding-bottom:6px`)
1254
+ }, [(S(), h(me, {
1255
+ key: `title_${Ut.value}`,
1256
1256
  config: {
1257
1257
  title: {
1258
1258
  cy: "treemap-div-title",
1259
- ...I.value.style.chart.title
1259
+ ...L.value.style.chart.title
1260
1260
  },
1261
1261
  subtitle: {
1262
1262
  cy: "treemap-div-subtitle",
1263
- ...I.value.style.chart.title.subtitle
1263
+ ...L.value.style.chart.title.subtitle
1264
1264
  }
1265
1265
  }
1266
1266
  }, null, 8, ["config"]))], 4)) : g("", !0),
1267
1267
  v("div", { id: `legend-top-${j.value}` }, null, 8, at),
1268
- I.value.userOptions.show && Pt.value && (D(un) || D(cn)) ? (C(), h(D(Xe), {
1268
+ L.value.userOptions.show && Pt.value && (E(un) || E(cn)) ? (S(), h(E(Ze), {
1269
1269
  ref_key: "userOptionsRef",
1270
- ref: Xt,
1271
- key: `user_option_${zt.value}`,
1272
- backgroundColor: I.value.style.chart.backgroundColor,
1273
- color: I.value.style.chart.color,
1274
- isPrinting: D(fn),
1275
- isImaging: D(pn),
1270
+ ref: Yt,
1271
+ key: `user_option_${Rt.value}`,
1272
+ backgroundColor: L.value.style.chart.backgroundColor,
1273
+ color: L.value.style.chart.color,
1274
+ isPrinting: E(fn),
1275
+ isImaging: E(pn),
1276
1276
  uid: j.value,
1277
- hasTooltip: I.value.userOptions.buttons.tooltip && I.value.style.chart.tooltip.show,
1278
- hasPdf: I.value.userOptions.buttons.pdf,
1279
- hasXls: I.value.userOptions.buttons.csv,
1280
- hasImg: I.value.userOptions.buttons.img,
1281
- hasSvg: I.value.userOptions.buttons.svg,
1282
- hasTable: I.value.userOptions.buttons.table,
1283
- hasFullscreen: I.value.userOptions.buttons.fullscreen,
1284
- hasAltCopy: I.value.userOptions.buttons.altCopy,
1285
- isFullscreen: Rt.value,
1277
+ hasTooltip: L.value.userOptions.buttons.tooltip && L.value.style.chart.tooltip.show,
1278
+ hasPdf: L.value.userOptions.buttons.pdf,
1279
+ hasXls: L.value.userOptions.buttons.csv,
1280
+ hasImg: L.value.userOptions.buttons.img,
1281
+ hasSvg: L.value.userOptions.buttons.svg,
1282
+ hasTable: L.value.userOptions.buttons.table,
1283
+ hasFullscreen: L.value.userOptions.buttons.fullscreen,
1284
+ hasAltCopy: L.value.userOptions.buttons.altCopy,
1285
+ isFullscreen: M.value,
1286
1286
  isTooltip: B.value.showTooltip,
1287
- titles: { ...I.value.userOptions.buttonTitles },
1288
- chartElement: N.value,
1289
- position: I.value.userOptions.position,
1290
- hasAnnotator: I.value.userOptions.buttons.annotator,
1287
+ titles: { ...L.value.userOptions.buttonTitles },
1288
+ chartElement: P.value,
1289
+ position: L.value.userOptions.position,
1290
+ hasAnnotator: L.value.userOptions.buttons.annotator,
1291
1291
  isAnnotation: Sr.value,
1292
- callbacks: I.value.userOptions.callbacks,
1293
- printScale: I.value.userOptions.print.scale,
1294
- tableDialog: I.value.table.useDialog,
1295
- isCursorPointer: L.value,
1296
- hasZoom: I.value.userOptions.buttons.zoom,
1292
+ callbacks: L.value.userOptions.callbacks,
1293
+ printScale: L.value.userOptions.print.scale,
1294
+ tableDialog: L.value.table.useDialog,
1295
+ isCursorPointer: R.value,
1296
+ hasZoom: L.value.userOptions.buttons.zoom,
1297
1297
  isZoom: B.value.showZoom,
1298
1298
  onToggleFullscreen: Xn,
1299
- onGeneratePdf: D(mn),
1299
+ onGeneratePdf: E(mn),
1300
1300
  onGenerateCsv: gr,
1301
1301
  onGenerateImage: qr,
1302
1302
  onGenerateSvg: Kr,
@@ -1305,11 +1305,11 @@ var nt = /* @__PURE__ */ e({ default: () => Mt }), rt = ["id"], it = ["id"], at
1305
1305
  onToggleAnnotator: Cr,
1306
1306
  onToggleZoom: xr,
1307
1307
  onCopyAlt: si,
1308
- style: S({ visibility: D(un) ? D(cn) ? "visible" : "hidden" : "visible" })
1308
+ style: x({ visibility: E(un) ? E(cn) ? "visible" : "hidden" : "visible" })
1309
1309
  }, Oe({ _: 2 }, [
1310
1310
  e.$slots.menuIcon ? {
1311
1311
  name: "menuIcon",
1312
- fn: k(({ isOpen: t, color: n }) => [T(e.$slots, "menuIcon", x(b({
1312
+ fn: O(({ isOpen: t, color: n }) => [w(e.$slots, "menuIcon", b(y({
1313
1313
  isOpen: t,
1314
1314
  color: n
1315
1315
  })), void 0, !0)]),
@@ -1317,37 +1317,37 @@ var nt = /* @__PURE__ */ e({ default: () => Mt }), rt = ["id"], it = ["id"], at
1317
1317
  } : void 0,
1318
1318
  e.$slots.optionTooltip ? {
1319
1319
  name: "optionTooltip",
1320
- fn: k(() => [T(e.$slots, "optionTooltip", {}, void 0, !0)]),
1320
+ fn: O(() => [w(e.$slots, "optionTooltip", {}, void 0, !0)]),
1321
1321
  key: "1"
1322
1322
  } : void 0,
1323
1323
  e.$slots.optionPdf ? {
1324
1324
  name: "optionPdf",
1325
- fn: k(() => [T(e.$slots, "optionPdf", {}, void 0, !0)]),
1325
+ fn: O(() => [w(e.$slots, "optionPdf", {}, void 0, !0)]),
1326
1326
  key: "2"
1327
1327
  } : void 0,
1328
1328
  e.$slots.optionCsv ? {
1329
1329
  name: "optionCsv",
1330
- fn: k(() => [T(e.$slots, "optionCsv", {}, void 0, !0)]),
1330
+ fn: O(() => [w(e.$slots, "optionCsv", {}, void 0, !0)]),
1331
1331
  key: "3"
1332
1332
  } : void 0,
1333
1333
  e.$slots.optionImg ? {
1334
1334
  name: "optionImg",
1335
- fn: k(() => [T(e.$slots, "optionImg", {}, void 0, !0)]),
1335
+ fn: O(() => [w(e.$slots, "optionImg", {}, void 0, !0)]),
1336
1336
  key: "4"
1337
1337
  } : void 0,
1338
1338
  e.$slots.optionSvg ? {
1339
1339
  name: "optionSvg",
1340
- fn: k(() => [T(e.$slots, "optionSvg", {}, void 0, !0)]),
1340
+ fn: O(() => [w(e.$slots, "optionSvg", {}, void 0, !0)]),
1341
1341
  key: "5"
1342
1342
  } : void 0,
1343
1343
  e.$slots.optionTable ? {
1344
1344
  name: "optionTable",
1345
- fn: k(() => [T(e.$slots, "optionTable", {}, void 0, !0)]),
1345
+ fn: O(() => [w(e.$slots, "optionTable", {}, void 0, !0)]),
1346
1346
  key: "6"
1347
1347
  } : void 0,
1348
1348
  e.$slots.optionFullscreen ? {
1349
1349
  name: "optionFullscreen",
1350
- fn: k(({ toggleFullscreen: t, isFullscreen: n }) => [T(e.$slots, "optionFullscreen", x(b({
1350
+ fn: O(({ toggleFullscreen: t, isFullscreen: n }) => [w(e.$slots, "optionFullscreen", b(y({
1351
1351
  toggleFullscreen: t,
1352
1352
  isFullscreen: n
1353
1353
  })), void 0, !0)]),
@@ -1355,7 +1355,7 @@ var nt = /* @__PURE__ */ e({ default: () => Mt }), rt = ["id"], it = ["id"], at
1355
1355
  } : void 0,
1356
1356
  e.$slots.optionAnnotator ? {
1357
1357
  name: "optionAnnotator",
1358
- fn: k(({ toggleAnnotator: t, isAnnotator: n }) => [T(e.$slots, "optionAnnotator", x(b({
1358
+ fn: O(({ toggleAnnotator: t, isAnnotator: n }) => [w(e.$slots, "optionAnnotator", b(y({
1359
1359
  toggleAnnotator: t,
1360
1360
  isAnnotator: n
1361
1361
  })), void 0, !0)]),
@@ -1363,7 +1363,7 @@ var nt = /* @__PURE__ */ e({ default: () => Mt }), rt = ["id"], it = ["id"], at
1363
1363
  } : void 0,
1364
1364
  e.$slots.optionZoom ? {
1365
1365
  name: "optionZoom",
1366
- fn: k(({ toggleZoom: t, isZoomLocked: n }) => [T(e.$slots, "optionZoom", x(b({
1366
+ fn: O(({ toggleZoom: t, isZoomLocked: n }) => [w(e.$slots, "optionZoom", b(y({
1367
1367
  toggleZoom: t,
1368
1368
  isZoomLocked: n
1369
1369
  })), void 0, !0)]),
@@ -1371,66 +1371,66 @@ var nt = /* @__PURE__ */ e({ default: () => Mt }), rt = ["id"], it = ["id"], at
1371
1371
  } : void 0,
1372
1372
  e.$slots.optionAltCopy ? {
1373
1373
  name: "optionAltCopy",
1374
- fn: k(({ altCopy: t }) => [T(e.$slots, "optionAltCopy", x(b({ altCopy: t })), void 0, !0)]),
1374
+ fn: O(({ altCopy: t }) => [w(e.$slots, "optionAltCopy", b(y({ altCopy: t })), void 0, !0)]),
1375
1375
  key: "10"
1376
1376
  } : void 0,
1377
1377
  e.$slots["custom-menu-before"] ? {
1378
1378
  name: "custom-menu-before",
1379
- fn: k(() => [T(e.$slots, "custom-menu-before", {}, void 0, !0)]),
1379
+ fn: O(() => [w(e.$slots, "custom-menu-before", {}, void 0, !0)]),
1380
1380
  key: "11"
1381
1381
  } : void 0,
1382
1382
  e.$slots["custom-menu-after"] ? {
1383
1383
  name: "custom-menu-after",
1384
- fn: k(() => [T(e.$slots, "custom-menu-after", {}, void 0, !0)]),
1384
+ fn: O(() => [w(e.$slots, "custom-menu-after", {}, void 0, !0)]),
1385
1385
  key: "12"
1386
1386
  } : void 0
1387
1387
  ]), 1032, /* @__PURE__ */ "backgroundColor.color.isPrinting.isImaging.uid.hasTooltip.hasPdf.hasXls.hasImg.hasSvg.hasTable.hasFullscreen.hasAltCopy.isFullscreen.isTooltip.titles.chartElement.position.hasAnnotator.isAnnotation.callbacks.printScale.tableDialog.isCursorPointer.hasZoom.isZoom.onGeneratePdf.style".split("."))) : g("", !0),
1388
- X.value.length > 1 ? (C(), _("nav", {
1388
+ X.value.length > 1 ? (S(), _("nav", {
1389
1389
  key: 5,
1390
1390
  class: "vue-ui-treemap-breadcrumbs",
1391
1391
  "data-dom-to-png-ignore": "",
1392
1392
  ref_key: "breadcrumbsNav",
1393
- ref: qt
1394
- }, [(C(!0), _(Ee, null, Ie(X.value, (n, r) => (C(), _("span", {
1393
+ ref: Kt
1394
+ }, [(S(!0), _(p, null, Le(X.value, (n, r) => (S(), _("span", {
1395
1395
  role: "button",
1396
1396
  tabindex: r < X.value.length - 1 ? 0 : void 0,
1397
1397
  key: n.id || "root",
1398
1398
  onClick: (e) => r === X.value.length - 1 ? () => {} : rr(n.node),
1399
- onKeydown: [He(Ue((e) => r === X.value.length - 1 ? void 0 : rr(n.node), ["prevent"]), ["enter"]), He(Ue((e) => r === X.value.length - 1 ? void 0 : rr(n.node), ["prevent"]), ["space"])],
1399
+ onKeydown: [Ue(We((e) => r === X.value.length - 1 ? void 0 : rr(n.node), ["prevent"]), ["enter"]), Ue(We((e) => r === X.value.length - 1 ? void 0 : rr(n.node), ["prevent"]), ["space"])],
1400
1400
  class: "vue-ui-treemap-crumb",
1401
1401
  "data-last-crumb": r === X.value.length - 1,
1402
- style: S({
1403
- color: I.value.style.chart.color,
1404
- cursor: L.value ? "pointer" : "default"
1402
+ style: x({
1403
+ color: L.value.style.chart.color,
1404
+ cursor: R.value ? "pointer" : "default"
1405
1405
  }),
1406
1406
  onMouseenter: (e) => Ir(r),
1407
1407
  onMouseleave: Lr,
1408
1408
  onFocus: (e) => Ir(r),
1409
1409
  onBlur: Lr
1410
- }, [v("span", st, [v("span", ct, [T(e.$slots, "breadcrumb-label", je({ ref_for: !0 }, {
1410
+ }, [v("span", st, [v("span", ct, [w(e.$slots, "breadcrumb-label", Me({ ref_for: !0 }, {
1411
1411
  crumb: n,
1412
1412
  isRoot: r === 0,
1413
1413
  isFocus: Fr.value === r
1414
- }), () => [r === 0 ? (C(), _("div", lt, [Ae(_e, {
1414
+ }), () => [r === 0 ? (S(), _("div", lt, [Ae(ve, {
1415
1415
  name: Fr.value === 0 ? "homeFilled" : "home",
1416
- stroke: I.value.style.chart.color
1417
- }, null, 8, ["name", "stroke"])])) : (C(), _(Ee, { key: 1 }, [ke(Re(n.label), 1)], 64))], !0)]), r < X.value.length - 1 ? (C(), _("span", ut, [T(e.$slots, "breadcrumb-arrow", {}, () => [t[5] ||= ke(" › ", -1)], !0)])) : g("", !0)])], 44, ot))), 128))], 512)) : g("", !0),
1416
+ stroke: L.value.style.chart.color
1417
+ }, null, 8, ["name", "stroke"])])) : (S(), _(p, { key: 1 }, [ke(ze(n.label), 1)], 64))], !0)]), r < X.value.length - 1 ? (S(), _("span", ut, [w(e.$slots, "breadcrumb-arrow", {}, () => [t[5] ||= ke(" › ", -1)], !0)])) : g("", !0)])], 44, ot))), 128))], 512)) : g("", !0),
1418
1418
  v("div", dt, [
1419
- (C(), _("svg", {
1419
+ (S(), _("svg", {
1420
1420
  ref_key: "svgRef",
1421
1421
  ref: z,
1422
- xmlns: D(ne),
1422
+ xmlns: E(ie),
1423
1423
  "aria-describedby": `chart-instructions-${j.value}`,
1424
- class: Ne({
1425
- "vue-data-ui-fullscreen--on": Rt.value,
1426
- "vue-data-ui-fulscreen--off": !Rt.value,
1424
+ class: Pe({
1425
+ "vue-data-ui-fullscreen--on": M.value,
1426
+ "vue-data-ui-fulscreen--off": !M.value,
1427
1427
  "vue-data-ui-zoom-plus": !Qn.value,
1428
1428
  "vue-data-ui-zoom-minus": Qn.value,
1429
- "no-transition": D(Nt),
1430
- loading: D(R)
1429
+ "no-transition": E(Nt),
1430
+ loading: E(an)
1431
1431
  }),
1432
- viewBox: `${D($).x} ${D($).y} ${D($).width <= 0 ? 10 : D($).width} ${D($).height <= 0 ? 10 : D($).height}`,
1433
- style: S(`max-width:100%; overflow:${Ar.value ? "hidden" : "visible"}; background:transparent;color:${I.value.style.chart.color}`),
1432
+ viewBox: `${E($).x} ${E($).y} ${E($).width <= 0 ? 10 : E($).width} ${E($).height <= 0 ? 10 : E($).height}`,
1433
+ style: x(`max-width:100%; overflow:${Ar.value ? "hidden" : "visible"}; background:transparent;color:${L.value.style.chart.color}`),
1434
1434
  tabindex: "0",
1435
1435
  onFocus: ci,
1436
1436
  onBlur: li,
@@ -1441,8 +1441,8 @@ var nt = /* @__PURE__ */ e({ default: () => Mt }), rt = ["id"], it = ["id"], at
1441
1441
  onPointercancel: Nr,
1442
1442
  onPointerleave: Nr
1443
1443
  }, [
1444
- Ae(D(Ze)),
1445
- (C(!0), _(Ee, null, Ie(G.value, (e, t) => (C(), _("g", { key: `tgrad_${e.id}` }, [I.value.style.chart.layout.rects.gradient.show ? (C(), _("defs", pt, [v("radialGradient", {
1444
+ Ae(E(Qe)),
1445
+ (S(!0), _(p, null, Le(G.value, (e, t) => (S(), _("g", { key: `tgrad_${e.id}` }, [L.value.style.chart.layout.rects.gradient.show ? (S(), _("defs", pt, [v("radialGradient", {
1446
1446
  id: `tgrad_${e.id}`,
1447
1447
  gradientTransform: "translate(-1, -1.000001) scale(2, 2)"
1448
1448
  }, [v("stop", {
@@ -1450,19 +1450,19 @@ var nt = /* @__PURE__ */ e({ default: () => Mt }), rt = ["id"], it = ["id"], at
1450
1450
  "stop-color": e.color
1451
1451
  }, null, 8, ht), v("stop", {
1452
1452
  offset: "100%",
1453
- "stop-color": D(o)(e.color, I.value.style.chart.layout.rects.gradient.intensity / 100)
1453
+ "stop-color": E(n)(e.color, L.value.style.chart.layout.rects.gradient.intensity / 100)
1454
1454
  }, null, 8, gt)], 8, mt)])) : g("", !0)]))), 128)),
1455
1455
  v("g", null, [
1456
- (C(!0), _(Ee, null, Ie(G.value, (e, t) => (C(), _("g", { key: `rect_${e.id}_${e.depth}` }, [v("rect", {
1456
+ (S(!0), _(p, null, Le(G.value, (e, t) => (S(), _("g", { key: `rect_${e.id}_${e.depth}` }, [v("rect", {
1457
1457
  x: e.x0,
1458
1458
  y: e.y0,
1459
1459
  height: K(e),
1460
1460
  width: q(e),
1461
- fill: Ft.value ? e.color ?? I.value.style.chart.backgroundColor : I.value.style.chart.layout.rects.gradient.show ? sr.value ? I.value.style.chart.backgroundColor : `url(#tgrad_${e.id})` : e.color ?? I.value.style.chart.backgroundColor,
1461
+ fill: Ft.value ? e.color ?? L.value.style.chart.backgroundColor : L.value.style.chart.layout.rects.gradient.show ? sr.value ? L.value.style.chart.backgroundColor : `url(#tgrad_${e.id})` : e.color ?? L.value.style.chart.backgroundColor,
1462
1462
  rx: oi(e),
1463
- stroke: Z.value && Z.value.id === e.id ? I.value.style.chart.layout.rects.selected.stroke : I.value.style.chart.layout.rects.stroke,
1464
- "stroke-width": Z.value && Z.value.id === e.id ? I.value.style.chart.layout.rects.selected.strokeWidth : I.value.style.chart.layout.rects.strokeWidth,
1465
- onClick: Ue((n) => Pr(e, t), ["stop"]),
1463
+ stroke: Z.value && Z.value.id === e.id ? L.value.style.chart.layout.rects.selected.stroke : L.value.style.chart.layout.rects.stroke,
1464
+ "stroke-width": Z.value && Z.value.id === e.id ? L.value.style.chart.layout.rects.selected.strokeWidth : L.value.style.chart.layout.rects.strokeWidth,
1465
+ onClick: We((n) => Pr(e, t), ["stop"]),
1466
1466
  onMouseenter: () => hr({
1467
1467
  datapoint: e,
1468
1468
  seriesIndex: t,
@@ -1472,10 +1472,10 @@ var nt = /* @__PURE__ */ e({ default: () => Mt }), rt = ["id"], it = ["id"], at
1472
1472
  datapoint: e,
1473
1473
  seriesIndex: t
1474
1474
  }),
1475
- style: S(`opacity:${Z.value ? Z.value.id === e.id ? 1 : I.value.style.chart.layout.rects.selected.unselectedOpacity : 1}`),
1476
- class: Ne(["vue-ui-treemap-rect", ir(e) ? "vue-data-ui-zoom-minus" : "vue-data-ui-zoom-plus"])
1475
+ style: x(`opacity:${Z.value ? Z.value.id === e.id ? 1 : L.value.style.chart.layout.rects.selected.unselectedOpacity : 1}`),
1476
+ class: Pe(["vue-ui-treemap-rect", ir(e) ? "vue-data-ui-zoom-minus" : "vue-data-ui-zoom-plus"])
1477
1477
  }, null, 46, _t)]))), 128)),
1478
- (C(!0), _(Ee, null, Ie(ei.value, (e) => (C(), _("g", {
1478
+ (S(!0), _(p, null, Le(ei.value, (e) => (S(), _("g", {
1479
1479
  key: e.key,
1480
1480
  style: { "pointer-events": "none" }
1481
1481
  }, [v("defs", null, [v("clipPath", {
@@ -1487,7 +1487,7 @@ var nt = /* @__PURE__ */ e({ default: () => Mt }), rt = ["id"], it = ["id"], at
1487
1487
  y: e.clipY,
1488
1488
  width: e.clipWidth,
1489
1489
  height: e.clipHeight
1490
- }, null, 8, yt)], 8, vt)]), v("g", { "clip-path": `url(#${e.clipId})` }, [(C(!0), _(Ee, null, Ie(e.lines, (e) => (C(), _("text", {
1490
+ }, null, 8, yt)], 8, vt)]), v("g", { "clip-path": `url(#${e.clipId})` }, [(S(!0), _(p, null, Le(e.lines, (e) => (S(), _("text", {
1491
1491
  key: e.key,
1492
1492
  class: "vue-ui-treemap-data-label",
1493
1493
  transform: `translate(${e.x}, ${e.y})`,
@@ -1497,8 +1497,8 @@ var nt = /* @__PURE__ */ e({ default: () => Mt }), rt = ["id"], it = ["id"], at
1497
1497
  "font-weight": e.fontWeight,
1498
1498
  "text-anchor": "start",
1499
1499
  "dominant-baseline": "text-before-edge"
1500
- }, Re(e.text), 9, xt))), 128))], 8, bt)]))), 128)),
1501
- e.$slots.rect ? (C(), _("g", St, [(C(!0), _(Ee, null, Ie(G.value, (t, n) => (C(), _("g", { key: `slot_${t.id}_${t.depth}` }, [(C(), _("foreignObject", {
1500
+ }, ze(e.text), 9, xt))), 128))], 8, bt)]))), 128)),
1501
+ e.$slots.rect ? (S(), _("g", St, [(S(!0), _(p, null, Le(G.value, (t, n) => (S(), _("g", { key: `slot_${t.id}_${t.depth}` }, [(S(), _("foreignObject", {
1502
1502
  x: t.x0,
1503
1503
  y: t.y0,
1504
1504
  height: K(t),
@@ -1508,7 +1508,7 @@ var nt = /* @__PURE__ */ e({ default: () => Mt }), rt = ["id"], it = ["id"], at
1508
1508
  "pointer-events": "none",
1509
1509
  overflow: "hidden"
1510
1510
  }
1511
- }, [v("div", wt, [D(R) ? g("", !0) : T(e.$slots, "rect", je({
1511
+ }, [v("div", wt, [E(an) ? g("", !0) : w(e.$slots, "rect", Me({
1512
1512
  key: 0,
1513
1513
  ref_for: !0
1514
1514
  }, {
@@ -1521,65 +1521,65 @@ var nt = /* @__PURE__ */ e({ default: () => Mt }), rt = ["id"], it = ["id"], at
1521
1521
  shouldShow: zn(t) || Qn.value,
1522
1522
  fontSize: Yn(t, n),
1523
1523
  isZoom: Qn.value,
1524
- textColor: D(te)(t.color)
1524
+ textColor: E(re)(t.color)
1525
1525
  }), void 0, !0)])], 8, Ct))]))), 128))])) : g("", !0)
1526
1526
  ]),
1527
- T(e.$slots, "svg", x(b({
1527
+ w(e.$slots, "svg", b(y({
1528
1528
  svg: V.value,
1529
1529
  isZoom: Qn.value,
1530
1530
  rect: Z.value,
1531
- config: I.value,
1532
- isPrintingImg: D(fn) || D(pn) || $t.value,
1533
- isPrintingSvg: en.value
1531
+ config: L.value,
1532
+ isPrintingImg: E(fn) || E(pn) || Qt.value,
1533
+ isPrintingSvg: $t.value
1534
1534
  })), void 0, !0)
1535
1535
  ], 46, ft)),
1536
- D(Or) ? (C(), _("div", Tt, [T(e.$slots, "reset-action", { reset: D(Dr) }, () => [v("button", {
1536
+ E(Or) ? (S(), _("div", Tt, [w(e.$slots, "reset-action", { reset: E(Dr) }, () => [v("button", {
1537
1537
  "data-cy-reset": "",
1538
1538
  tabindex: "0",
1539
1539
  role: "button",
1540
1540
  class: "vue-data-ui-refresh-button",
1541
- style: S({
1542
- background: I.value.style.chart.backgroundColor,
1543
- cursor: L.value ? "pointer" : "default"
1541
+ style: x({
1542
+ background: L.value.style.chart.backgroundColor,
1543
+ cursor: R.value ? "pointer" : "default"
1544
1544
  }),
1545
- onClick: t[0] ||= (e) => D(Dr)(!0)
1546
- }, [Ae(_e, {
1545
+ onClick: t[0] ||= (e) => E(Dr)(!0)
1546
+ }, [Ae(ve, {
1547
1547
  name: "refresh",
1548
- stroke: I.value.style.chart.color
1548
+ stroke: L.value.style.chart.color
1549
1549
  }, null, 8, ["stroke"])], 4)], !0)])) : g("", !0),
1550
- e.$slots.hint ? (C(), _("div", Et, [T(e.$slots, "hint", x(b({
1551
- hint: I.value.a11y.translations.keyboardNavigation,
1552
- isVisible: rn.value
1550
+ e.$slots.hint ? (S(), _("div", Et, [w(e.$slots, "hint", b(y({
1551
+ hint: L.value.a11y.translations.keyboardNavigation,
1552
+ isVisible: nn.value
1553
1553
  })), void 0, !0)])) : g("", !0)
1554
1554
  ]),
1555
- e.$slots.watermark ? (C(), _("div", Dt, [T(e.$slots, "watermark", x(b({ isPrinting: D(fn) || D(pn) || $t.value || en.value })), void 0, !0)])) : g("", !0),
1555
+ e.$slots.watermark ? (S(), _("div", Dt, [w(e.$slots, "watermark", b(y({ isPrinting: E(fn) || E(pn) || Qt.value || $t.value })), void 0, !0)])) : g("", !0),
1556
1556
  v("div", { id: `legend-bottom-${j.value}` }, null, 8, Ot),
1557
- Jt.value && (I.value.style.chart.legend.show || e.$slots.legend) ? (C(), h(De, {
1557
+ qt.value && (L.value.style.chart.legend.show || e.$slots.legend) ? (S(), h(De, {
1558
1558
  key: 7,
1559
- to: I.value.style.chart.legend.position === "top" ? `#legend-top-${j.value}` : `#legend-bottom-${j.value}`
1559
+ to: L.value.style.chart.legend.position === "top" ? `#legend-top-${j.value}` : `#legend-bottom-${j.value}`
1560
1560
  }, [v("div", {
1561
1561
  ref_key: "chartLegend",
1562
- ref: Vt
1563
- }, [T(e.$slots, "legend", { legend: ar.value }, () => [I.value.style.chart.legend.show ? (C(), h(Se, {
1564
- key: `legend_${Kt.value}`,
1562
+ ref: Bt
1563
+ }, [w(e.$slots, "legend", { legend: ar.value }, () => [L.value.style.chart.legend.show ? (S(), h(Ce, {
1564
+ key: `legend_${Gt.value}`,
1565
1565
  legendSet: ar.value,
1566
1566
  config: or.value,
1567
1567
  id: `treemap_legend_${j.value}`,
1568
- isCursorPointer: L.value,
1568
+ isCursorPointer: R.value,
1569
1569
  onClickMarker: t[1] ||= ({ legend: e }) => lr(e)
1570
1570
  }, {
1571
- item: k(({ legend: e, index: t }) => [D(R) ? g("", !0) : (C(), _("div", {
1571
+ item: O(({ legend: e, index: t }) => [E(an) ? g("", !0) : (S(), _("div", {
1572
1572
  key: 0,
1573
1573
  onClick: (t) => lr(e),
1574
- style: S(`opacity:${M.value.includes(e.id) ? .5 : 1}`)
1575
- }, Re(e.display), 13, kt))]),
1576
- legendToggle: k(() => [ar.value.length > 2 && I.value.style.chart.legend.selectAllToggle.show && !D(R) ? (C(), h(ve, {
1574
+ style: x(`opacity:${N.value.includes(e.id) ? .5 : 1}`)
1575
+ }, ze(e.display), 13, kt))]),
1576
+ legendToggle: O(() => [ar.value.length > 2 && L.value.style.chart.legend.selectAllToggle.show && !E(an) ? (S(), h(ye, {
1577
1577
  key: 0,
1578
- backgroundColor: I.value.style.chart.legend.selectAllToggle.backgroundColor,
1579
- color: I.value.style.chart.legend.selectAllToggle.color,
1580
- fontSize: I.value.style.chart.legend.fontSize,
1581
- checked: M.value.length > 0,
1582
- isCursorPointer: L.value,
1578
+ backgroundColor: L.value.style.chart.legend.selectAllToggle.backgroundColor,
1579
+ color: L.value.style.chart.legend.selectAllToggle.color,
1580
+ fontSize: L.value.style.chart.legend.fontSize,
1581
+ checked: N.value.length > 0,
1582
+ isCursorPointer: R.value,
1583
1583
  onToggle: cr
1584
1584
  }, null, 8, [
1585
1585
  "backgroundColor",
@@ -1595,39 +1595,39 @@ var nt = /* @__PURE__ */ e({ default: () => Mt }), rt = ["id"], it = ["id"], at
1595
1595
  "id",
1596
1596
  "isCursorPointer"
1597
1597
  ])) : g("", !0)], !0)], 512)], 8, ["to"])) : g("", !0),
1598
- e.$slots.source ? (C(), _("div", {
1598
+ e.$slots.source ? (S(), _("div", {
1599
1599
  key: 8,
1600
1600
  ref_key: "source",
1601
- ref: Ht,
1601
+ ref: Vt,
1602
1602
  dir: "auto"
1603
- }, [T(e.$slots, "source", {}, void 0, !0)], 512)) : g("", !0),
1604
- Ae(D(Ye), {
1605
- teleportTo: I.value.style.chart.tooltip.teleportTo,
1603
+ }, [w(e.$slots, "source", {}, void 0, !0)], 512)) : g("", !0),
1604
+ Ae(E(Xe), {
1605
+ teleportTo: L.value.style.chart.tooltip.teleportTo,
1606
1606
  show: B.value.showTooltip && It.value,
1607
- backgroundColor: I.value.style.chart.tooltip.backgroundColor,
1608
- color: I.value.style.chart.tooltip.color,
1609
- fontSize: I.value.style.chart.tooltip.fontSize,
1610
- borderRadius: I.value.style.chart.tooltip.borderRadius,
1611
- borderColor: I.value.style.chart.tooltip.borderColor,
1612
- borderWidth: I.value.style.chart.tooltip.borderWidth,
1613
- backgroundOpacity: I.value.style.chart.tooltip.backgroundOpacity,
1614
- position: I.value.style.chart.tooltip.position,
1615
- offsetX: I.value.style.chart.tooltip.offsetX,
1616
- offsetY: I.value.style.chart.tooltip.offsetY,
1617
- parent: N.value,
1607
+ backgroundColor: L.value.style.chart.tooltip.backgroundColor,
1608
+ color: L.value.style.chart.tooltip.color,
1609
+ fontSize: L.value.style.chart.tooltip.fontSize,
1610
+ borderRadius: L.value.style.chart.tooltip.borderRadius,
1611
+ borderColor: L.value.style.chart.tooltip.borderColor,
1612
+ borderWidth: L.value.style.chart.tooltip.borderWidth,
1613
+ backgroundOpacity: L.value.style.chart.tooltip.backgroundOpacity,
1614
+ position: L.value.style.chart.tooltip.position,
1615
+ offsetX: L.value.style.chart.tooltip.offsetX,
1616
+ offsetY: L.value.style.chart.tooltip.offsetY,
1617
+ parent: P.value,
1618
1618
  content: Lt.value,
1619
- isFullscreen: Rt.value,
1620
- isCustom: D(re)(I.value.style.chart.tooltip.customFormat),
1621
- smooth: I.value.style.chart.tooltip.smooth,
1622
- backdropFilter: I.value.style.chart.tooltip.backdropFilter,
1623
- smoothForce: I.value.style.chart.tooltip.smoothForce,
1624
- smoothSnapThreshold: I.value.style.chart.tooltip.smoothSnapThreshold,
1625
- isA11yMode: nn.value === "keyboard",
1626
- a11yPosition: tn.value
1619
+ isFullscreen: M.value,
1620
+ isCustom: E(ae)(L.value.style.chart.tooltip.customFormat),
1621
+ smooth: L.value.style.chart.tooltip.smooth,
1622
+ backdropFilter: L.value.style.chart.tooltip.backdropFilter,
1623
+ smoothForce: L.value.style.chart.tooltip.smoothForce,
1624
+ smoothSnapThreshold: L.value.style.chart.tooltip.smoothSnapThreshold,
1625
+ isA11yMode: tn.value === "keyboard",
1626
+ a11yPosition: en.value
1627
1627
  }, {
1628
- "tooltip-before": k(() => [T(e.$slots, "tooltip-before", x(b({ ...mr.value })), void 0, !0)]),
1629
- tooltip: k(() => [T(e.$slots, "tooltip", x(b({ ...mr.value })), void 0, !0)]),
1630
- "tooltip-after": k(() => [T(e.$slots, "tooltip-after", x(b({ ...mr.value })), void 0, !0)]),
1628
+ "tooltip-before": O(() => [w(e.$slots, "tooltip-before", b(y({ ...mr.value })), void 0, !0)]),
1629
+ tooltip: O(() => [w(e.$slots, "tooltip", b(y({ ...mr.value })), void 0, !0)]),
1630
+ "tooltip-after": O(() => [w(e.$slots, "tooltip-after", b(y({ ...mr.value })), void 0, !0)]),
1631
1631
  _: 3
1632
1632
  }, 8, [
1633
1633
  "teleportTo",
@@ -1653,30 +1653,30 @@ var nt = /* @__PURE__ */ e({ default: () => Mt }), rt = ["id"], it = ["id"], at
1653
1653
  "isA11yMode",
1654
1654
  "a11yPosition"
1655
1655
  ]),
1656
- Pt.value && I.value.userOptions.buttons.table ? (C(), h(Le(zr.value.component), je({ key: 9 }, zr.value.props, {
1656
+ Pt.value && L.value.userOptions.buttons.table ? (S(), h(Re(zr.value.component), Me({ key: 9 }, zr.value.props, {
1657
1657
  ref_key: "tableUnit",
1658
- ref: Yt,
1658
+ ref: Jt,
1659
1659
  onClose: Br
1660
1660
  }), Oe({
1661
- content: k(() => [(C(), h(D(Ge), {
1662
- key: `table_${Gt.value}`,
1661
+ content: O(() => [(S(), h(E(Ke), {
1662
+ key: `table_${Wt.value}`,
1663
1663
  colNames: _r.value.colNames,
1664
1664
  head: _r.value.head,
1665
1665
  body: _r.value.body,
1666
1666
  config: _r.value.config,
1667
- title: I.value.table.useDialog ? "" : zr.value.title,
1668
- withCloseButton: !I.value.table.useDialog,
1669
- isCursorPointer: L.value,
1667
+ title: L.value.table.useDialog ? "" : zr.value.title,
1668
+ withCloseButton: !L.value.table.useDialog,
1669
+ isCursorPointer: R.value,
1670
1670
  onClose: Br
1671
1671
  }, {
1672
- th: k(({ th: e }) => [v("div", {
1672
+ th: O(({ th: e }) => [v("div", {
1673
1673
  innerHTML: e,
1674
1674
  style: {
1675
1675
  display: "flex",
1676
1676
  "align-items": "center"
1677
1677
  }
1678
1678
  }, null, 8, At)]),
1679
- td: k(({ td: e }) => [ke(Re(e.name || e), 1)]),
1679
+ td: O(({ td: e }) => [ke(ze(e.name || e), 1)]),
1680
1680
  _: 1
1681
1681
  }, 8, [
1682
1682
  "colNames",
@@ -1688,26 +1688,26 @@ var nt = /* @__PURE__ */ e({ default: () => Mt }), rt = ["id"], it = ["id"], at
1688
1688
  "isCursorPointer"
1689
1689
  ]))]),
1690
1690
  _: 2
1691
- }, [I.value.table.useDialog ? {
1691
+ }, [L.value.table.useDialog ? {
1692
1692
  name: "title",
1693
- fn: k(() => [ke(Re(zr.value.title), 1)]),
1693
+ fn: O(() => [ke(ze(zr.value.title), 1)]),
1694
1694
  key: "0"
1695
- } : void 0, I.value.table.useDialog ? {
1695
+ } : void 0, L.value.table.useDialog ? {
1696
1696
  name: "actions",
1697
- fn: k(() => [v("button", {
1697
+ fn: O(() => [v("button", {
1698
1698
  tabindex: "0",
1699
1699
  class: "vue-ui-user-options-button",
1700
- onClick: t[2] ||= (e) => gr(I.value.userOptions.callbacks.csv),
1701
- style: S({ cursor: L.value ? "pointer" : "default" })
1702
- }, [Ae(_e, {
1700
+ onClick: t[2] ||= (e) => gr(L.value.userOptions.callbacks.csv),
1701
+ style: x({ cursor: R.value ? "pointer" : "default" })
1702
+ }, [Ae(ve, {
1703
1703
  name: "fileCsv",
1704
1704
  stroke: zr.value.props.color
1705
1705
  }, null, 8, ["stroke"])], 4)]),
1706
1706
  key: "1"
1707
1707
  } : void 0]), 1040)) : g("", !0),
1708
- T(e.$slots, "skeleton", {}, () => [D(R) ? (C(), h(ce, { key: 0 })) : g("", !0)], !0)
1708
+ w(e.$slots, "skeleton", {}, () => [E(an) ? (S(), h(le, { key: 0 })) : g("", !0)], !0)
1709
1709
  ], 46, rt));
1710
1710
  }
1711
1711
  }, [["__scopeId", "data-v-442b6b44"]]);
1712
1712
  //#endregion
1713
- export { nt as n, Mt as t };
1713
+ export { A as n, Mt as t };