vue-data-ui 3.22.6 → 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 (203) hide show
  1. package/dist/{Arrow-Ds4xmpiQ.js → Arrow-DdymhUfY.js} +1 -1
  2. package/dist/{BaseDraggableDialog-VbypEaAa.js → BaseDraggableDialog-DcfGlH8A.js} +2 -2
  3. package/dist/{BaseIcon-DcUvOfxf.js → BaseIcon-C2qlyHc7.js} +1 -1
  4. package/dist/{BaseLegendToggle-DFwIY5bE.js → BaseLegendToggle-DtQ8vyfr.js} +1 -1
  5. package/dist/{BaseZoomControls-DwolSINF.js → BaseZoomControls-C6zonwhr.js} +2 -2
  6. package/dist/{ColorPicker-UVDPcrjE.js → ColorPicker-CK2-h611.js} +2 -2
  7. package/dist/{DataTable-CXfvIulC.js → DataTable-D9NvewTT.js} +2 -2
  8. package/dist/{Legend-D-635Kag.js → Legend-ROt6ugzW.js} +2 -2
  9. package/dist/{NonSvgPenAndPaper-pR_1qp3s.js → NonSvgPenAndPaper-BHHNsVVP.js} +29 -29
  10. package/dist/{PackageVersion-Da7hl-34.js → PackageVersion-DW7zwRcm.js} +1 -1
  11. package/dist/{PenAndPaper-Bk2-E7V4.js → PenAndPaper-pcgwlYr2.js} +18 -18
  12. package/dist/{Shape-BSetplwm.js → Shape-UpH0a4Ur.js} +3 -3
  13. package/dist/{Slicer-ClIGOuoX.js → Slicer-BZ5VnOOS.js} +19 -19
  14. package/dist/{SlicerPreview-D1n9AW39.js → SlicerPreview-BQFeCw0m.js} +351 -351
  15. package/dist/{SparkTooltip-CjDAyolg.js → SparkTooltip-BTLN-Kex.js} +6 -6
  16. package/dist/{Title-C-p0ilWB.js → Title-CcNiYzEo.js} +1 -1
  17. package/dist/{Tooltip-YabpoXo1.js → Tooltip-CxOrWlFy.js} +1 -1
  18. package/dist/{UserOptions-BO4VFL8O.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-CVJfsfwL.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_y5qDdm.js → img-DnP3eXuv.js} +1 -1
  92. package/dist/{labelUtils-CyVwqXSh.js → labelUtils-DBEh078l.js} +1 -1
  93. package/dist/{lib-DRBJCmHW.js → lib-JqW18y5I.js} +49 -30
  94. package/dist/{package-DyQ_PQis.js → package-gp9pYCfN.js} +1 -1
  95. package/dist/{pdf-CG02qhAH.js → pdf-hj3gzrE7.js} +1 -1
  96. package/dist/{render-common-CUAlQvAQ.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-DPMOys9n.js → useAutoSizeLabelsInsideViewbox-BGnDfZdg.js} +1 -1
  103. package/dist/{useNestedProp-BEo2N1Db.js → useNestedProp-DIuuzG1r.js} +1 -1
  104. package/dist/{usePrinter-CRp5IW3v.js → usePrinter-CqqHmnBI.js} +2 -2
  105. package/dist/utils.js +23 -23
  106. package/dist/{vue-data-ui-Bpu4kxlm.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-BAH0jNtT.js → vue-ui-3d-bar-B3HxJmDI.js} +124 -124
  109. package/dist/{vue-ui-accordion-CfMrbDoq.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-CG6rhFpy.js → vue-ui-annotator-CfJXeAOE.js} +6 -6
  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-Cx8T3NEl.js → vue-ui-chestnut-RfWMGUD-.js} +114 -114
  117. package/dist/{vue-ui-chord-B-sauvLo.js → vue-ui-chord-Db1O_diJ.js} +57 -57
  118. package/dist/vue-ui-circle-pack-B4Ro7UuI.js +1608 -0
  119. package/dist/{vue-ui-cursor-DVsEm_4l.js → vue-ui-cursor-DLP7wxsw.js} +61 -61
  120. package/dist/{vue-ui-dag-Cfi0b9qm.js → vue-ui-dag-DL3zq0F2.js} +37 -37
  121. package/dist/{vue-ui-dashboard-F_NZ1xoQ.js → vue-ui-dashboard-C2ozZ-LI.js} +69 -69
  122. package/dist/{vue-ui-digits-BfP1kbj3.js → vue-ui-digits-ThFVNO3l.js} +3 -3
  123. package/dist/{vue-ui-donut-DlVRnVr_.js → vue-ui-donut-BuTd6dt4.js} +224 -224
  124. package/dist/{vue-ui-donut-BwAyvV3-.js → vue-ui-donut-C3Rt6j-I.js} +458 -458
  125. package/dist/vue-ui-donut-evolution-DY46UPF_.js +1510 -0
  126. package/dist/vue-ui-dumbbell-wK7vUB0x.js +1530 -0
  127. package/dist/{vue-ui-flow-D_7Idmmw.js → vue-ui-flow-BTUNfWb7.js} +122 -122
  128. package/dist/vue-ui-funnel-BhoHzyHa.js +777 -0
  129. package/dist/{vue-ui-galaxy-Bjxbg5_B.js → vue-ui-galaxy-DJ2uNYcN.js} +263 -263
  130. package/dist/{vue-ui-gauge-Dt0H7DgC.js → vue-ui-gauge-Cf4NqvrO.js} +226 -226
  131. package/dist/{vue-ui-geo-89DEQb5l.js → vue-ui-geo-ovHu_Sc9.js} +21 -21
  132. package/dist/{vue-ui-gizmo-CQyLK18v.js → vue-ui-gizmo-DDxEj-qe.js} +7 -7
  133. package/dist/{vue-ui-heatmap-o6MvoxBK.js → vue-ui-heatmap-Npqnvb1r.js} +282 -282
  134. package/dist/vue-ui-history-plot-C3Kjy2tc.js +1715 -0
  135. package/dist/vue-ui-horizontal-bar-D1rCsgqt.js +1683 -0
  136. package/dist/{vue-ui-kpi-4C-j92D-.js → vue-ui-kpi-BrlfYO-j.js} +4 -4
  137. package/dist/{vue-ui-mini-loader-Bj4Wv-i8.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-B5W35Fvp.js → vue-ui-mood-radar-DlVh6hwx.js} +27 -27
  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-DBpHCFxa.js → vue-ui-parallel-coordinate-plot-DSp_cwU-.js} +57 -57
  143. package/dist/vue-ui-quadrant-ByVg-NBs.js +1978 -0
  144. package/dist/{vue-ui-quick-chart-so_8PzvS.js → vue-ui-quick-chart-WMzSJxGZ.js} +188 -188
  145. package/dist/{vue-ui-radar-5fQ5AAWD.js → vue-ui-radar-DE-me6OC.js} +64 -64
  146. package/dist/vue-ui-rating-CzD3EQ3G.js +343 -0
  147. package/dist/vue-ui-relation-circle-L7-dTqet.js +924 -0
  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-BkxB6Dik.js → vue-ui-skeleton-CuFm4PtB.js} +58 -58
  152. package/dist/{vue-ui-smiley-C4g0iaF7.js → vue-ui-smiley-D4NnZ1mg.js} +17 -17
  153. package/dist/{vue-ui-spark-trend-0FELlq4x.js → vue-ui-spark-trend-C38ysZ-c.js} +21 -21
  154. package/dist/{vue-ui-sparkbar-D-i_VLO6.js → vue-ui-sparkbar-B03ndcUe.js} +80 -80
  155. package/dist/{vue-ui-sparkgauge-CWw6w_ng.js → vue-ui-sparkgauge-DgPc4vPT.js} +7 -7
  156. package/dist/{vue-ui-sparkhistogram-DuGpkfma.js → vue-ui-sparkhistogram-D02ff7ZI.js} +115 -115
  157. package/dist/{vue-ui-sparkline-Bi06lHQd.js → vue-ui-sparkline-DlTfNQj8.js} +464 -464
  158. package/dist/vue-ui-sparkstackbar-DrmiWFlw.js +662 -0
  159. package/dist/vue-ui-stackbar-BVdApDnY.js +2332 -0
  160. package/dist/vue-ui-stackline-QzQQ7lTy.js +2419 -0
  161. package/dist/vue-ui-strip-plot-C-TFNvgz.js +1729 -0
  162. package/dist/{vue-ui-table-DBlZswRi.js → vue-ui-table-Q3brrivC.js} +68 -68
  163. package/dist/{vue-ui-table-heatmap-3xYIDKcP.js → vue-ui-table-heatmap-D0pZbBOH.js} +14 -14
  164. package/dist/{vue-ui-table-sparkline-BH5PzEnJ.js → vue-ui-table-sparkline-Q6BHPKUn.js} +199 -199
  165. package/dist/{vue-ui-thermometer-BxMzAqoT.js → vue-ui-thermometer-Bg0RR6m4.js} +26 -26
  166. package/dist/{vue-ui-timer-ONSitYDm.js → vue-ui-timer-BdzKpoRj.js} +29 -29
  167. package/dist/{vue-ui-tiremarks-DWXM-9nR.js → vue-ui-tiremarks-DWb69ofh.js} +17 -17
  168. package/dist/{vue-ui-treemap-B03c4RIy.js → vue-ui-treemap-uUz07Prw.js} +401 -401
  169. package/dist/vue-ui-waffle-Pi9e7Ae7.js +1362 -0
  170. package/dist/{vue-ui-wheel-DRP7X8S2.js → vue-ui-wheel-DTfvWYA7.js} +137 -137
  171. package/dist/{vue-ui-word-cloud-AKpMO97a.js → vue-ui-word-cloud-DqfljAqH.js} +40 -40
  172. package/dist/vue-ui-world-BtBrH92Z.js +3016 -0
  173. package/dist/{vue-ui-xy-Bmd11BxR.js → vue-ui-xy-Bvgy2do1.js} +1598 -1596
  174. package/dist/{vue-ui-xy-DJ8YKPgs.js → vue-ui-xy-D5KsuNR2.js} +259 -259
  175. package/dist/{vue-ui-xy-canvas-DO_PDGKf.js → vue-ui-xy-canvas-BfgeE3TW.js} +440 -437
  176. package/package.json +1 -1
  177. package/dist/exposedLib-CjwriUaG.js +0 -19
  178. package/dist/vue-ui-age-pyramid-BF5ZuuyI.js +0 -1238
  179. package/dist/vue-ui-bullet-C_oBS1cr.js +0 -710
  180. package/dist/vue-ui-bump-BZB1Na8h.js +0 -1249
  181. package/dist/vue-ui-candlestick-8d_1xO8X.js +0 -1826
  182. package/dist/vue-ui-carousel-table-BfZNcwmY.js +0 -455
  183. package/dist/vue-ui-circle-pack-BLh8HnGK.js +0 -1608
  184. package/dist/vue-ui-donut-evolution-D1k4u6cA.js +0 -1510
  185. package/dist/vue-ui-dumbbell-DgmvPpK2.js +0 -1530
  186. package/dist/vue-ui-funnel-BYCFV5TD.js +0 -777
  187. package/dist/vue-ui-history-plot-B7zuCfdg.js +0 -1715
  188. package/dist/vue-ui-horizontal-bar-CwB4sc6M.js +0 -1683
  189. package/dist/vue-ui-molecule-BDrRmwmm.js +0 -925
  190. package/dist/vue-ui-nested-donuts-wfesrzle.js +0 -1487
  191. package/dist/vue-ui-onion-B8-psLbF.js +0 -1200
  192. package/dist/vue-ui-quadrant-BzyGOJR2.js +0 -1978
  193. package/dist/vue-ui-rating-CKWHDKOT.js +0 -343
  194. package/dist/vue-ui-relation-circle-Bd_ONHCz.js +0 -924
  195. package/dist/vue-ui-ridgeline-DVbYznRz.js +0 -1622
  196. package/dist/vue-ui-rings-c-yLWFHr.js +0 -1246
  197. package/dist/vue-ui-scatter-QhmE7n1H.js +0 -2413
  198. package/dist/vue-ui-sparkstackbar-DrKgBUmt.js +0 -662
  199. package/dist/vue-ui-stackbar-DDvuDGQ_.js +0 -2329
  200. package/dist/vue-ui-stackline-C0NHBUaE.js +0 -2416
  201. package/dist/vue-ui-strip-plot-_6LL45i9.js +0 -1729
  202. package/dist/vue-ui-waffle-afa8HSxz.js +0 -1362
  203. package/dist/vue-ui-world-CqS-HhZl.js +0 -14264
@@ -1,22 +1,22 @@
1
1
  import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
2
- import { At as t, Dt as n, Ht as r, J as i, Q as a, S as o, W as s, Wt as c, X as l, _t as u, at as d, b as f, i as ee, q as te, r as ne, t as re, w as ie, wt as ae } from "./lib-DRBJCmHW.js";
2
+ import { $ as t, Et as n, G as r, J as i, Kt as a, Mt as o, S as s, T as c, Wt as l, Y as u, Z as d, b as f, i as ee, kt as te, ot as ne, r as re, t as ie, yt as ae } from "./lib-JqW18y5I.js";
3
3
  import { t as oe } from "./useConfig-DYM3f6EI.js";
4
- import { t as se } from "./usePrinter-CRp5IW3v.js";
4
+ import { t as se } from "./usePrinter-CqqHmnBI.js";
5
5
  import { n as ce, t as le } from "./BaseScanner-DZvpgOjM.js";
6
6
  import { t as ue } from "./useSvgExport-SVIsDot8.js";
7
- import { t as de } from "./useNestedProp-BEo2N1Db.js";
7
+ import { t as de } from "./useNestedProp-DIuuzG1r.js";
8
8
  import { t as fe } from "./useThemeCheck-C43Tcqmk.js";
9
- import { t as pe } from "./img-B_y5qDdm.js";
10
- import { n as me } from "./Title-C-p0ilWB.js";
9
+ import { t as pe } from "./img-DnP3eXuv.js";
10
+ import { n as me } from "./Title-CcNiYzEo.js";
11
11
  import { t as he } from "./_plugin-vue_export-helper-B3ysoDQm.js";
12
12
  import { c as ge } from "./canvas-lib-BOP_HS11.js";
13
13
  import { t as _e } from "./useResponsive-BfnK0KxU.js";
14
- import { t as ve } from "./BaseIcon-DcUvOfxf.js";
15
- import { t as ye } from "./BaseLegendToggle-DFwIY5bE.js";
14
+ import { t as ve } from "./BaseIcon-C2qlyHc7.js";
15
+ import { t as ye } from "./BaseLegendToggle-DtQ8vyfr.js";
16
16
  import { t as be } from "./A11yDataTable-DdRsVULz.js";
17
17
  import { t as xe } from "./useUserOptionState-DK-_1ddE.js";
18
18
  import { t as Se } from "./useChartAccessibility-DYqac8yF.js";
19
- import { t as Ce } from "./Legend-D-635Kag.js";
19
+ import { t as Ce } from "./Legend-ROt6ugzW.js";
20
20
  import { t as we } from "./usePrefersMotion-BC-CsqR1.js";
21
21
  import { t as Te } from "./usePanZoom-CYU3B4T3.js";
22
22
  import { t as Ee } from "./vue_ui_treemap-DoEtkRN6.js";
@@ -161,28 +161,28 @@ function k(e, t) {
161
161
  }
162
162
  //#endregion
163
163
  //#region src/components/vue-ui-treemap.vue
164
- var rt = /* @__PURE__ */ e({ default: () => Nt }), it = ["id"], at = ["id"], ot = ["id"], st = [
164
+ var A = /* @__PURE__ */ e({ default: () => Mt }), rt = ["id"], it = ["id"], at = ["id"], ot = [
165
165
  "tabindex",
166
166
  "onClick",
167
167
  "onKeydown",
168
168
  "data-last-crumb",
169
169
  "onMouseenter",
170
170
  "onFocus"
171
- ], ct = { class: "vue-ui-treemap-crumb-unit" }, lt = { class: "vue-ui-treemap-crumb-unit-label" }, ut = {
171
+ ], st = { class: "vue-ui-treemap-crumb-unit" }, ct = { class: "vue-ui-treemap-crumb-unit-label" }, lt = {
172
172
  key: 0,
173
173
  style: {
174
174
  width: "24px",
175
175
  display: "flex",
176
176
  "align-items": "center"
177
177
  }
178
- }, dt = {
178
+ }, ut = {
179
179
  key: 0,
180
180
  class: "vue-ui-treemap-crumb-unit-arrow"
181
- }, ft = { style: { position: "relative" } }, pt = [
181
+ }, dt = { style: { position: "relative" } }, ft = [
182
182
  "xmlns",
183
183
  "aria-describedby",
184
184
  "viewBox"
185
- ], mt = { key: 0 }, ht = ["id"], gt = ["stop-color"], _t = ["stop-color"], vt = [
185
+ ], pt = { key: 0 }, mt = ["id"], ht = ["stop-color"], gt = ["stop-color"], _t = [
186
186
  "x",
187
187
  "y",
188
188
  "height",
@@ -194,34 +194,34 @@ var rt = /* @__PURE__ */ e({ default: () => Nt }), it = ["id"], at = ["id"], ot
194
194
  "onClick",
195
195
  "onMouseenter",
196
196
  "onMouseleave"
197
- ], yt = ["id"], bt = [
197
+ ], vt = ["id"], yt = [
198
198
  "x",
199
199
  "y",
200
200
  "width",
201
201
  "height"
202
- ], xt = ["clip-path"], St = [
202
+ ], bt = ["clip-path"], xt = [
203
203
  "transform",
204
204
  "fill",
205
205
  "font-size",
206
206
  "font-family",
207
207
  "font-weight"
208
- ], Ct = { key: 0 }, wt = [
208
+ ], St = { key: 0 }, Ct = [
209
209
  "x",
210
210
  "y",
211
211
  "height",
212
212
  "width"
213
- ], Tt = {
213
+ ], wt = {
214
214
  style: {
215
215
  width: "100%",
216
216
  height: "100%",
217
217
  overflow: "hidden"
218
218
  },
219
219
  class: "vue-ui-treemap-cell"
220
- }, Et = {
220
+ }, Tt = {
221
221
  key: 0,
222
222
  "data-dom-to-png-ignore": "",
223
223
  class: "reset-wrapper"
224
- }, Dt = {
224
+ }, Et = {
225
225
  key: 1,
226
226
  style: {
227
227
  position: "absolute",
@@ -231,10 +231,10 @@ var rt = /* @__PURE__ */ e({ default: () => Nt }), it = ["id"], at = ["id"], ot
231
231
  },
232
232
  "data-dom-to-png-ignore": "",
233
233
  "aria-hidden": "true"
234
- }, Ot = {
234
+ }, Dt = {
235
235
  key: 6,
236
236
  class: "vue-data-ui-watermark"
237
- }, kt = ["id"], At = ["onClick"], jt = ["innerHTML"], Mt = 4, Nt = /*#__PURE__*/ he({
237
+ }, Ot = ["id"], kt = ["onClick"], At = ["innerHTML"], jt = 4, Mt = /*#__PURE__*/ he({
238
238
  __name: "vue-ui-treemap",
239
239
  props: {
240
240
  config: {
@@ -257,14 +257,14 @@ var rt = /* @__PURE__ */ e({ default: () => Nt }), it = ["id"], at = ["id"], ot
257
257
  ],
258
258
  setup(e, { expose: he, emit: Ge }) {
259
259
  Ve((e) => ({ v76935d24: pi.value }));
260
- let Ke = je(() => import("./DataTable-CXfvIulC.js")), qe = je(() => import("./PenAndPaper-Bk2-E7V4.js").then((e) => e.t)), Je = je(() => import("./vue-ui-accordion-CfMrbDoq.js").then((e) => e.n)), Xe = je(() => import("./Tooltip-YabpoXo1.js")), Ze = je(() => import("./UserOptions-BO4VFL8O.js").then((e) => e.n)), Qe = je(() => import("./PackageVersion-Da7hl-34.js").then((e) => e.t)), $e = je(() => import("./BaseDraggableDialog-VbypEaAa.js").then((e) => e.n)), { vue_ui_treemap: et } = oe(), { isThemeValid: tt, warnInvalidTheme: nt } = fe(), k = e, rt = Ge, Nt = He(), Pt = we();
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
261
  Ie(() => {
262
- Nt["chart-background"] && console.warn("VueUiTreemap does not support the #chart-background slot.");
262
+ Mt["chart-background"] && console.warn("VueUiTreemap does not support the #chart-background slot.");
263
263
  });
264
- let Ft = m(() => !!k.dataset && k.dataset.length), It = m(() => /^((?!chrome|android).)*safari/i.test(navigator.userAgent)), A = C(s()), Lt = C(!1), Rt = C(""), zt = C(!1), Bt = C(0), j = C([]), M = T(null), Vt = T(null), Ht = T(null), Ut = T(null), Wt = T(null), Gt = C(0), Kt = C(0), qt = C(0), N = C([]), Jt = C(null), Yt = C(!1), Xt = C(null), Zt = C(null), Qt = C(null), $t = C(/* @__PURE__ */ new Map()), en = C(!1), tn = C(!1), P = C(null), nn = C({
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
- }), rn = C("pointer"), an = C(!1), F = C(fn()), I = m(() => F.value.userOptions.useCursorPointer), on = m(() => c({
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,11 +276,11 @@ var rt = /* @__PURE__ */ e({ default: () => Nt }), it = ["id"], at = ["id"], ot
276
276
  legend: { backgroundColor: "transparent" }
277
277
  } }
278
278
  },
279
- userConfig: F.value.skeletonConfig ?? {}
280
- })), { loading: L, FINAL_DATASET: sn, manualLoading: cn } = ce({
279
+ userConfig: L.value.skeletonConfig ?? {}
280
+ })), { loading: an, FINAL_DATASET: on, manualLoading: sn } = ce({
281
281
  ...Be(k),
282
- FINAL_CONFIG: F,
283
- prepareConfig: fn,
282
+ FINAL_CONFIG: L,
283
+ prepareConfig: dn,
284
284
  skeletonDataset: k.config?.skeletonDataset ?? [{
285
285
  name: "_",
286
286
  value: 53,
@@ -316,64 +316,64 @@ var rt = /* @__PURE__ */ e({ default: () => Nt }), it = ["id"], at = ["id"], ot
316
316
  }
317
317
  ]
318
318
  }],
319
- skeletonConfig: c({
320
- defaultConfig: F.value,
321
- userConfig: on.value
319
+ skeletonConfig: a({
320
+ defaultConfig: L.value,
321
+ userConfig: rn.value
322
322
  })
323
- }), { userOptionsVisible: ln, setUserOptionsVisibility: un, keepUserOptionState: dn } = xe({ config: F.value }), { svgRef: R } = Se({ config: F.value.style.chart.title });
324
- function fn() {
323
+ }), { userOptionsVisible: cn, setUserOptionsVisibility: ln, keepUserOptionState: un } = xe({ config: L.value }), { svgRef: z } = Se({ config: L.value.style.chart.title });
324
+ function dn() {
325
325
  let e = de({
326
326
  userConfig: k.config,
327
327
  defaultConfig: et
328
- }), n = e.theme;
329
- if (!n) return e;
328
+ }), t = e.theme;
329
+ if (!t) return e;
330
330
  if (!tt.value(e)) return nt(e), e;
331
- let i = de({
332
- userConfig: Ee[n] || k.config,
331
+ let n = de({
332
+ userConfig: Ee[t] || k.config,
333
333
  defaultConfig: e
334
- }), a = de({
334
+ }), r = de({
335
335
  userConfig: k.config,
336
- defaultConfig: i
336
+ defaultConfig: n
337
337
  });
338
338
  return {
339
- ...a,
340
- customPalette: a.customPalette.length ? a.customPalette : r[n] || t
339
+ ...r,
340
+ customPalette: r.customPalette.length ? r.customPalette : l[t] || o
341
341
  };
342
342
  }
343
343
  D(() => k.config, (e) => {
344
- L.value || (F.value = fn()), ln.value = !F.value.userOptions.showOnChartHover, Gt.value += 1, Kt.value += 1, qt.value += 1, z.value.showTable = F.value.table.show, z.value.showTooltip = F.value.style.chart.tooltip.show, z.value.showZoom = F.value.style.chart.zoom?.show ?? !1;
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: pn, isImaging: mn, generatePdf: hn, generateImage: gn } = se({
347
- elementId: `treemap_${A.value}`,
348
- fileName: F.value.style.chart.title.text || "vue-ui-treemap",
349
- options: F.value.userOptions.print
350
- }), _n = m(() => F.value.userOptions.show && !F.value.style.chart.title.text), vn = m(() => o(F.value.customPalette)), z = C({
351
- showTable: F.value.table.show,
352
- showTooltip: F.value.style.chart.tooltip.show,
353
- showZoom: F.value.style.chart.zoom?.show ?? !1
346
+ let { isPrinting: fn, isImaging: pn, generatePdf: mn, generateImage: hn } = se({
347
+ elementId: `treemap_${j.value}`,
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
- D(F, () => {
356
- z.value = {
357
- showTable: F.value.table.show,
358
- showTooltip: F.value.style.chart.tooltip.show,
359
- showZoom: F.value.style.chart.zoom?.show ?? !1
355
+ D(L, () => {
356
+ B.value = {
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 B = C({
363
- height: F.value.style.chart.height,
364
- width: F.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 = M.value, n = B.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 (!Jt.value || X.value.length <= 1) return 0;
372
- let e = Jt.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 = F.value.style.chart.padding, t = B.value.width, n = B.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 rt = /* @__PURE__ */ e({ default: () => Nt }), it = ["id"], at = ["id"], ot
385
385
  vbHeight: n - r,
386
386
  offsetY: r
387
387
  };
388
- }), H = C(i(sn.value)), U = C(H.value), xn = T(/* @__PURE__ */ new Map());
389
- D([H, () => F.value], () => {
390
- Qt.value = null, $t.value = /* @__PURE__ */ new Map();
391
- }, { deep: !0 }), D(() => j.value, () => {
392
- Qt.value = null, $t.value = /* @__PURE__ */ new Map(), Tn(), qt.value += 1, Kt.value += 1;
393
- }, { deep: !0 }), D([() => B.value.width, () => B.value.height], () => {
394
- $t.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
- Array.isArray(e) && e.forEach((e, n) => {
398
- e.id ||= s(), e.sourceColor === void 0 && (e.sourceColor = f(e.color) || null);
399
- let r = e.sourceColor || xn.value.get(e.id) || vn.value[n] || t[n] || t[n % t.length];
400
- r = f(r), xn.value.set(e.id, r), e.color = r, Cn(e, r);
397
+ Array.isArray(e) && e.forEach((e, t) => {
398
+ e.id ||= r(), e.sourceColor === void 0 && (e.sourceColor = f(e.color) || null);
399
+ let n = e.sourceColor || xn.value.get(e.id) || _n.value[t] || o[t] || o[t % o.length];
400
+ n = f(n), xn.value.set(e.id, n), e.color = n, Cn(e, n);
401
401
  });
402
402
  }
403
403
  function Cn(e, t) {
404
404
  Array.isArray(e.children) && e.children.forEach((n) => {
405
- n.id ||= s(), n.parentId = e.id, n.sourceColor === void 0 && (n.sourceColor = f(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,25 +413,25 @@ var rt = /* @__PURE__ */ e({ default: () => Nt }), it = ["id"], at = ["id"], ot
413
413
  return t?.id ?? null;
414
414
  }
415
415
  function Tn() {
416
- let e = H.value.filter((e) => !j.value.includes(e.id));
417
- if (!N.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 = N.value[N.value.length - 1], n = Y(t);
421
+ let t = F.value[F.value.length - 1], n = Y(t);
422
422
  if (!n) {
423
- N.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 && j.value.includes(r)) {
428
- N.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
- D(() => sn.value, () => {
434
- H.value = i(sn.value), Sn(H.value), Tn(), qt.value += 1, Kt.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,
@@ -439,40 +439,40 @@ var rt = /* @__PURE__ */ e({ default: () => Nt }), it = ["id"], at = ["id"], ot
439
439
  });
440
440
  let W = T(null), En = T(null);
441
441
  Ie(() => {
442
- Yt.value = !0, On();
442
+ qt.value = !0, On();
443
443
  });
444
- let Dn = m(() => F.value.debug);
444
+ let Dn = m(() => L.value.debug);
445
445
  function On() {
446
- if (n(k.dataset) && a({
446
+ if (te(k.dataset) && t({
447
447
  componentName: "VueUiTreemap",
448
448
  type: "dataset",
449
449
  debug: Dn.value
450
- }), Sn(H.value), n(k.dataset) || (cn.value = F.value.loading), F.value.responsive) {
450
+ }), Sn(H.value), te(k.dataset) || (sn.value = L.value.loading), L.value.responsive) {
451
451
  let e = ge(() => {
452
452
  let { width: e, height: t } = _e({
453
- chart: M.value,
454
- title: F.value.style.chart.title.text ? Vt.value : null,
455
- legend: F.value.style.chart.legend.show ? Ht.value : null,
456
- source: Ut.value,
457
- noTitle: Wt.value
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
- B.value.width = e, B.value.height = t - 12;
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 = M.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
466
  Fe(() => {
467
467
  W.value && (En.value && W.value.unobserve(En.value), W.value.disconnect());
468
468
  });
469
- let kn = m(() => U.value.map((e, n) => ({
469
+ let kn = m(() => U.value.map((e, t) => ({
470
470
  ...e,
471
- color: f(e.color) || vn.value[n] || t[n] || t[n % t.length]
472
- })).filter((e) => !j.value.includes(e.id))), An = m(() => H.value.filter((e) => !j.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 F.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 rt = /* @__PURE__ */ e({ default: () => Nt }), it = ["id"], at = ["id"], ot
481
481
  function Mn(e, t) {
482
482
  return e.value / t;
483
483
  }
484
- function Nn(e, t, n) {
485
- let r = F.value.style.chart.layout.rects.colorRatio - Mn(t, n);
486
- return ae(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;
@@ -496,14 +496,14 @@ var rt = /* @__PURE__ */ e({ default: () => Nt }), it = ["id"], at = ["id"], ot
496
496
  return (Number(t.value) || 0) - i;
497
497
  });
498
498
  }
499
- function In(e, n, r, i, a) {
500
- return Fn(e).map((e, o) => {
501
- let s = e.sourceColor || f(e.color) || f(n) || vn.value[o] || t[o] || t[o % t.length], c = e.sourceColor ? e.sourceColor : Nn(s, e, i), l = Mn(e, i), u = a ?? e.parentId ?? e.id, d = Array.isArray(e.children) && e.children.length && e.children.reduce((e, t) => e + (Number(t.value) || 0), 0) || 1;
499
+ function In(e, t, n, r, i) {
500
+ return Fn(e).map((e, a) => {
501
+ let s = e.sourceColor || f(e.color) || f(t) || _n.value[a] || o[a] || o[a % o.length], c = e.sourceColor ? e.sourceColor : Nn(s, e, r), l = Mn(e, r), u = i ?? e.parentId ?? e.id, d = Array.isArray(e.children) && e.children.length && e.children.reduce((e, t) => e + (Number(t.value) || 0), 0) || 1;
502
502
  return {
503
503
  ...e,
504
504
  color: c,
505
505
  proportion: l,
506
- parentName: r,
506
+ parentName: n,
507
507
  rootId: u,
508
508
  children: Array.isArray(e.children) && e.children.length ? In(e.children, s, e.name, d, u) : void 0
509
509
  };
@@ -522,7 +522,7 @@ var rt = /* @__PURE__ */ e({ default: () => Nt }), it = ["id"], at = ["id"], ot
522
522
  return zn(e);
523
523
  }
524
524
  function zn(e) {
525
- let t = Number(F.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) {
@@ -549,17 +549,17 @@ var rt = /* @__PURE__ */ e({ default: () => Nt }), it = ["id"], at = ["id"], ot
549
549
  return c;
550
550
  }
551
551
  let Vn = m(() => {
552
- let e = U.value.length ? U.value : jn.value, n = e.map((e) => Number(e.value) || 0).reduce((e, t) => e + t, 0) || 1;
553
- return Bn(e.map((e, r) => {
554
- let i = e.children ? e.children.reduce((e, t) => e + (Number(t.value) || 0), 0) : e.value, { children: a, ...o } = e, c = e.sourceColor || f(e.color) || xn.value.get(e.id) || vn.value[r] || t[r] || t[r % t.length], l = e.sourceColor ? e.sourceColor : Nn(c, e, n);
552
+ let e = U.value.length ? U.value : jn.value, t = e.map((e) => Number(e.value) || 0).reduce((e, t) => e + t, 0) || 1;
553
+ return Bn(e.map((e, n) => {
554
+ let i = e.children ? e.children.reduce((e, t) => e + (Number(t.value) || 0), 0) : e.value, { children: a, ...s } = e, c = e.sourceColor || f(e.color) || xn.value.get(e.id) || _n.value[n] || o[n] || o[n % o.length], l = e.sourceColor ? e.sourceColor : Nn(c, e, t);
555
555
  return {
556
- ...o,
557
- id: e.id || s(),
556
+ ...s,
557
+ id: e.id || r(),
558
558
  parentId: e.parentId ?? null,
559
559
  name: e.name,
560
560
  value: e.value,
561
561
  color: l,
562
- proportion: (Number(e.value) || 0) / n,
562
+ proportion: (Number(e.value) || 0) / t,
563
563
  children: Array.isArray(e.children) && e.children.length ? In(e.children, c, e.name, i || 1) : void 0
564
564
  };
565
565
  }), {
@@ -576,7 +576,7 @@ var rt = /* @__PURE__ */ e({ default: () => Nt }), it = ["id"], at = ["id"], ot
576
576
  return t - e <= 0 ? 1e-4 : t - e;
577
577
  }
578
578
  function Hn() {
579
- let e = F.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 rt = /* @__PURE__ */ e({ default: () => Nt }), it = ["id"], at = ["id"], ot
600
600
  };
601
601
  }
602
602
  function Gn(e, t) {
603
- return ee(F.value.style.chart.layout.labels.formatter, e.value, te({
604
- p: F.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: F.value.style.chart.layout.labels.suffix,
607
- r: F.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 rt = /* @__PURE__ */ e({ default: () => Nt }), it = ["id"], at = ["id"], ot
634
634
  return l >= u ? l : o;
635
635
  }
636
636
  function Xn(e) {
637
- zt.value = e, Bt.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 rt = /* @__PURE__ */ e({ default: () => Nt }), it = ["id"], at = ["id"], ot
661
661
  }
662
662
  return t;
663
663
  }
664
- let Qn = m(() => N.value.length > 0);
664
+ let Qn = m(() => F.value.length > 0);
665
665
  function $n() {
666
- U.value = H.value.slice(), N.value = [], rt("selectDatapoint", void 0);
666
+ U.value = H.value.slice(), F.value = [], A("selectDatapoint", void 0);
667
667
  }
668
668
  function er() {
669
- return N.value[N.value.length - 1] ?? null;
669
+ return F.value[F.value.length - 1] ?? null;
670
670
  }
671
671
  function tr(e, t, n) {
672
- N.value = [...Zn(e.id), e.id], U.value = [e], F.value.events.datapointClick && F.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
- }), rt("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 rt = /* @__PURE__ */ e({ default: () => Nt }), it = ["id"], at = ["id"], ot
682
682
  }
683
683
  let r = Y(n);
684
684
  if (!r?.parentId) {
685
- F.value.events.datapointClick && F.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 rt = /* @__PURE__ */ e({ default: () => Nt }), it = ["id"], at = ["id"], ot
693
693
  $n();
694
694
  return;
695
695
  }
696
- N.value = [...Zn(i.id), i.id], U.value = [i], F.value.events.datapointClick && F.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
- }), rt("selectDatapoint", e);
699
+ }), A("selectDatapoint", e);
700
700
  }
701
701
  function rr(e, t) {
702
702
  if (!e) {
@@ -720,8 +720,8 @@ var rt = /* @__PURE__ */ e({ default: () => Nt }), it = ["id"], at = ["id"], ot
720
720
  id: null,
721
721
  label: "All"
722
722
  }];
723
- if (N.value.length > 0) {
724
- let t = Y(N.value[N.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,54 +730,54 @@ var rt = /* @__PURE__ */ e({ default: () => Nt }), it = ["id"], at = ["id"], ot
730
730
  });
731
731
  }
732
732
  return e;
733
- }), Z = T(null), ar = m(() => H.value.map((e, n) => ({
733
+ }), Z = T(null), ar = m(() => H.value.map((e, t) => ({
734
734
  ...e,
735
- color: f(e.color) || vn.value[n] || t[n] || t[n % t.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: j.value.includes(e.id),
742
+ isSegregated: N.value.includes(e.id),
743
743
  segregate: () => lr(e),
744
- opacity: j.value.includes(e.id) ? .5 : 1,
745
- display: `${e.name}${F.value.style.chart.legend.showPercentage || F.value.style.chart.legend.showValue ? ": " : ""}${F.value.style.chart.legend.showValue ? ee(F.value.style.chart.layout.labels.formatter, e.value, te({
746
- p: F.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: F.value.style.chart.layout.labels.suffix,
749
- r: F.value.style.chart.legend.roundingValue
750
- }), { datapoint: e }) : ""}${F.value.style.chart.legend.showPercentage ? j.value.includes(e.id) ? `${F.value.style.chart.legend.showValue ? " (" : ""}- %${F.value.style.chart.legend.showValue ? ")" : ""}` : `${F.value.style.chart.legend.showValue ? " (" : ""}${isNaN(e.value / An.value) ? "-" : (e.value / An.value * 100).toFixed(F.value.style.chart.legend.roundingPercentage)}%${F.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: F.value.style.chart.legend.backgroundColor,
755
- color: F.value.style.chart.legend.color,
756
- fontSize: F.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: F.value.style.chart.legend.bold ? "bold" : ""
759
- })), sr = m(() => j.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
- j.value.length ? j.value = [] : ar.value.forEach((e) => {
762
- j.value.push(e.id);
763
- }), rt("selectLegend", H.value.filter((e) => !j.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, j.value.includes(e.id) ? j.value = j.value.filter((t) => t !== e.id) : j.value.length < k.dataset.length - 1 && j.value.push(e.id), rt("selectLegend", H.value.filter((e) => !j.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) || (F.value.debug && console.warn(`VueUiTreemap - Series name not found "${e}"`), null) : (F.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 && j.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 && (j.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, Lt.value = !1, P.value = null, rn.value = "pointer", F.value.events.datapointLeave && F.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
  });
@@ -785,40 +785,40 @@ var rt = /* @__PURE__ */ e({ default: () => Nt }), it = ["id"], at = ["id"], ot
785
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
- F.value.events.datapointEnter && F.value.events.datapointEnter({
788
+ L.value.events.datapointEnter && L.value.events.datapointEnter({
789
789
  datapoint: e,
790
790
  seriesIndex: t
791
- }), P.value = t, rn.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: F.value,
794
+ config: L.value,
795
795
  series: kn.value
796
796
  };
797
- let r = F.value.style.chart.tooltip.customFormat;
798
- if (u(r) && d(() => 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: F.value
803
- }))) Rt.value = r({
802
+ config: L.value
803
+ }))) Lt.value = r({
804
804
  seriesIndex: t,
805
805
  datapoint: e,
806
806
  series: kn.value,
807
- config: F.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 ${F.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(F.value.style.chart.layout.labels.formatter, e.value, te({
812
- p: F.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: F.value.style.chart.layout.labels.suffix,
815
- r: F.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
819
- })}</b>`, Rt.value = `<div>${n}</div>`;
819
+ })}</b>`, Lt.value = `<div>${n}</div>`;
820
820
  }
821
- Lt.value = !0;
821
+ It.value = !0;
822
822
  }
823
823
  let Q = m(() => ({
824
824
  head: G.value.map((e) => ({
@@ -833,32 +833,32 @@ var rt = /* @__PURE__ */ e({ default: () => Nt }), it = ["id"], at = ["id"], ot
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
- [F.value.style.chart.title.text],
838
- [F.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: F.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
- F.value.table.columnNames.series,
854
- F.value.table.columnNames.value,
855
- F.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 = ee(F.value.style.chart.layout.labels.formatter, Q.value.body[t], te({
858
- p: F.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: F.value.style.chart.layout.labels.suffix,
861
- r: F.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 rt = /* @__PURE__ */ e({ default: () => Nt }), it = ["id"], at = ["id"], ot
867
867
  shape: "square"
868
868
  },
869
869
  n,
870
- isNaN(Q.value.body[t] / An.value) ? "-" : te({
870
+ isNaN(Q.value.body[t] / An.value) ? "-" : i({
871
871
  v: Q.value.body[t] / An.value * 100,
872
872
  s: "%",
873
- r: F.value.table.td.roundingPercentage
873
+ r: L.value.table.td.roundingPercentage
874
874
  })
875
875
  ];
876
876
  }), n = {
877
877
  th: {
878
- backgroundColor: F.value.table.th.backgroundColor,
879
- color: F.value.table.th.color,
880
- outline: F.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: F.value.table.td.backgroundColor,
884
- color: F.value.table.td.color,
885
- outline: F.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: F.value.table.responsiveBreakpoint
887
+ breakpoint: L.value.table.responsiveBreakpoint
888
888
  };
889
889
  return {
890
- colNames: [F.value.table.columnNames.series, F.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
@@ -897,24 +897,24 @@ var rt = /* @__PURE__ */ e({ default: () => Nt }), it = ["id"], at = ["id"], ot
897
897
  return G.value;
898
898
  }
899
899
  function yr() {
900
- z.value.showTable = !z.value.showTable;
900
+ B.value.showTable = !B.value.showTable;
901
901
  }
902
902
  function br() {
903
- z.value.showTooltip = !z.value.showTooltip;
903
+ B.value.showTooltip = !B.value.showTooltip;
904
904
  }
905
905
  function xr() {
906
- z.value.showZoom = !z.value.showZoom;
906
+ B.value.showZoom = !B.value.showZoom;
907
907
  }
908
908
  let Sr = C(!1);
909
909
  function Cr() {
910
910
  Sr.value = !Sr.value;
911
911
  }
912
- let wr = m(() => !Sr.value && z.value.showZoom), Tr = C(null), Er = C(!1), { viewBox: $, resetZoom: Dr, isZoom: Or, setInitialViewBox: kr } = Te(R, {
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
- }, 1, wr), Ar = m(() => z.value.showZoom || Or.value);
917
+ }, 1, wr), Ar = m(() => B.value.showZoom || Or.value);
918
918
  D([
919
919
  () => J.value.x,
920
920
  () => J.value.y,
@@ -939,7 +939,7 @@ var rt = /* @__PURE__ */ e({ default: () => Nt }), it = ["id"], at = ["id"], ot
939
939
  function Mr(e) {
940
940
  if (!wr.value || !Tr.value) return;
941
941
  let t = e.clientX - Tr.value.x, n = e.clientY - Tr.value.y;
942
- Math.hypot(t, n) > Mt && (Er.value = !0);
942
+ Math.hypot(t, n) > jt && (Er.value = !0);
943
943
  }
944
944
  function Nr() {
945
945
  Tr.value = null, Er.value && window.setTimeout(() => {
@@ -957,9 +957,9 @@ var rt = /* @__PURE__ */ e({ default: () => Nt }), it = ["id"], at = ["id"], ot
957
957
  Fr.value = null;
958
958
  }
959
959
  async function Rr({ scale: e = 2 } = {}) {
960
- if (!M.value) return;
961
- let { width: t, height: n } = M.value.getBoundingClientRect(), r = t / n, { imageUri: i, base64: a } = await pe({
962
- domElement: M.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 rt = /* @__PURE__ */ e({ default: () => Nt }), it = ["id"], at = ["id"], ot
967
967
  return {
968
968
  imageUri: i,
969
969
  base64: a,
970
- title: F.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 = F.value.table.useDialog && !F.value.table.show, t = z.value.showTable;
977
+ let e = L.value.table.useDialog && !L.value.table.show, t = B.value.showTable;
978
978
  return {
979
979
  component: e ? $e : Je,
980
- title: `${F.value.style.chart.title.text}${F.value.style.chart.title.subtitle.text ? `: ${F.value.style.chart.title.subtitle.text}` : ""}`,
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: F.value.table.th.backgroundColor,
983
- color: F.value.table.th.color,
984
- headerColor: F.value.table.th.color,
985
- headerBg: F.value.table.th.backgroundColor,
986
- isFullscreen: zt.value,
987
- fullscreenParent: M.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: I.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: F.value.style.chart.backgroundColor,
997
- color: F.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: F.value.style.chart.backgroundColor,
1001
- color: F.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
- D(() => z.value.showTable, (e) => {
1008
- F.value.table.show || (e && F.value.table.useDialog && Xt.value ? Xt.value.open() : "close" in Xt.value && Xt.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
- z.value.showTable = !1, Zt.value && Zt.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(() => F.value.style.chart.backgroundColor), Ur = m(() => F.value.style.chart.legend), { exportSvg: Wr, getSvg: Gr } = ue({
1017
- svg: R,
1018
- title: m(() => F.value.style.chart.title),
1016
+ }))), Hr = m(() => L.value.style.chart.backgroundColor), Ur = m(() => L.value.style.chart.legend), { exportSvg: Wr, getSvg: Gr } = ue({
1017
+ svg: z,
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
- tn.value = !0, await Ne();
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(F.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,19 +1033,19 @@ var rt = /* @__PURE__ */ e({ default: () => Nt }), it = ["id"], at = ["id"], ot
1033
1033
  }));
1034
1034
  } else await Promise.resolve(Wr());
1035
1035
  } finally {
1036
- tn.value = !1;
1036
+ $t.value = !1;
1037
1037
  }
1038
1038
  }
1039
1039
  function qr(e) {
1040
1040
  if (e?.stage === "start") {
1041
- en.value = !0;
1041
+ Qt.value = !0;
1042
1042
  return;
1043
1043
  }
1044
1044
  if (e?.stage === "end") {
1045
- en.value = !1;
1045
+ Qt.value = !1;
1046
1046
  return;
1047
1047
  }
1048
- gn();
1048
+ hn();
1049
1049
  }
1050
1050
  function Jr(e, t) {
1051
1051
  let n = Yn(e, t), { paddingX: r, paddingTop: i } = Un(n);
@@ -1060,7 +1060,7 @@ var rt = /* @__PURE__ */ e({ default: () => Nt }), it = ["id"], at = ["id"], ot
1060
1060
  return Wn(e, Jr(e, t).fontSize);
1061
1061
  }
1062
1062
  function Xr(e) {
1063
- return ne(e.color ?? F.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,10 +1069,10 @@ var rt = /* @__PURE__ */ e({ default: () => Nt }), it = ["id"], at = ["id"], ot
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 || !F.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
- let o = `treemap_clip_${A.value}_${e.id}`, s = e.x0, c = e.y0, l = Math.max(q(e), 0), u = Math.max(K(e), 0);
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);
1076
1076
  return {
1077
1077
  key: $r(e),
1078
1078
  clipId: o,
@@ -1087,7 +1087,7 @@ var rt = /* @__PURE__ */ e({ default: () => Nt }), it = ["id"], at = ["id"], ot
1087
1087
  y: a.y + a.lineHeight * i,
1088
1088
  fill: r,
1089
1089
  fontSize: n,
1090
- fontFamily: F.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 rt = /* @__PURE__ */ e({ default: () => Nt }), it = ["id"], at = ["id"], ot
1095
1095
  function $r(e) {
1096
1096
  return `${e.id}`;
1097
1097
  }
1098
- let ei = m(() => Nt.rect || L.value || !F.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 rt = /* @__PURE__ */ e({ default: () => Nt }), it = ["id"], at = ["id"], ot
1104
1104
  }
1105
1105
  function ri(e, t, n = 400) {
1106
1106
  let r = ni();
1107
- return r ? (r.font = `${n} ${t}px ${F.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 rt = /* @__PURE__ */ e({ default: () => Nt }), it = ["id"], at = ["id"], ot
1113
1113
  return Yr(e, t).height;
1114
1114
  }
1115
1115
  function oi(e) {
1116
- let t = F.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 (rt("copyAlt", {
1121
- config: F.value,
1120
+ if (A("copyAlt", {
1121
+ config: L.value,
1122
1122
  dataset: G.value
1123
- }), !F.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(F.value.userOptions.callbacks.altCopy({
1128
- config: F.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
- P.value = null, an.value = !0;
1133
+ I.value = null, nn.value = !0;
1134
1134
  }
1135
1135
  function li() {
1136
- P.value = null, rn.value = "pointer", Lt.value = !1, Z.value = null, an.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
- if (!R.value || Sr.value || document.activeElement !== R.value || !G.value.length || sr.value) return;
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
- P.value = null, rn.value = "pointer", Lt.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 (P.value === null) return;
1148
- let e = G.value[P.value];
1147
+ if (I.value === null) return;
1148
+ let e = G.value[I.value];
1149
1149
  if (!e) return;
1150
- rr(e, P.value);
1150
+ rr(e, I.value);
1151
1151
  return;
1152
1152
  }
1153
- let a = P.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({
@@ -1160,11 +1160,11 @@ var rt = /* @__PURE__ */ e({ default: () => Nt }), it = ["id"], at = ["id"], ot
1160
1160
  }));
1161
1161
  }
1162
1162
  function di(e) {
1163
- if (!Number.isFinite(e) || !R.value) return;
1163
+ if (!Number.isFinite(e) || !z.value) return;
1164
1164
  let t = G.value[e];
1165
1165
  if (!t) return;
1166
- let n = t.x0 + q(t) / 2, r = t.y0 + K(t) / 2, i = R.value.getBoundingClientRect();
1167
- nn.value = {
1166
+ let n = t.x0 + q(t) / 2, r = t.y0 + K(t) / 2, i = z.value.getBoundingClientRect();
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,14 +1172,14 @@ var rt = /* @__PURE__ */ e({ default: () => Nt }), it = ["id"], at = ["id"], ot
1172
1172
  let fi = m(() => ({
1173
1173
  headers: _r.value?.colNames ?? [],
1174
1174
  rows: _r.value?.body ?? []
1175
- })), pi = m(() => F.value.style.chart.color);
1175
+ })), pi = m(() => L.value.style.chart.color);
1176
1176
  return he({
1177
1177
  getData: vr,
1178
1178
  getImage: Rr,
1179
1179
  generateCsv: gr,
1180
- generateImage: gn,
1180
+ generateImage: hn,
1181
1181
  generateSvg: Kr,
1182
- generatePdf: hn,
1182
+ generatePdf: mn,
1183
1183
  hideSeries: fr,
1184
1184
  showSeries: dr,
1185
1185
  toggleTable: yr,
@@ -1191,24 +1191,24 @@ var rt = /* @__PURE__ */ e({ default: () => Nt }), it = ["id"], at = ["id"], ot
1191
1191
  copyAlt: si
1192
1192
  }), (e, t) => (S(), _("div", {
1193
1193
  ref_key: "treemapChart",
1194
- ref: M,
1195
- class: Pe(`vue-data-ui-component vue-ui-treemap ${zt.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${F.value.useCssAnimation ? "" : "vue-ui-dna"}`),
1196
- style: x(`font-family:${F.value.style.fontFamily};width:100%; ${F.value.responsive ? "height: 100%;" : ""} text-align:center;background:${F.value.style.chart.backgroundColor}`),
1197
- id: `treemap_${A.value}`,
1198
- onMouseenter: t[3] ||= () => E(un)(!0),
1199
- onMouseleave: t[4] ||= () => E(un)(!1)
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
+ id: `treemap_${j.value}`,
1198
+ onMouseenter: t[3] ||= () => E(ln)(!0),
1199
+ onMouseleave: t[4] ||= () => E(ln)(!1)
1200
1200
  }, [
1201
1201
  v("div", {
1202
- id: `chart-instructions-${A.value}`,
1202
+ id: `chart-instructions-${j.value}`,
1203
1203
  class: "sr-only"
1204
- }, [v("p", null, ze(F.value.a11y.translations.keyboardNavigation), 1)], 8, at),
1204
+ }, [v("p", null, ze(L.value.a11y.translations.keyboardNavigation), 1)], 8, it),
1205
1205
  fi.value?.rows?.length ? (S(), h(be, {
1206
1206
  key: 0,
1207
- uid: A.value,
1207
+ uid: j.value,
1208
1208
  head: fi.value.headers,
1209
1209
  body: fi.value.rows,
1210
- notice: F.value.a11y.translations.tableAvailable,
1211
- caption: F.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,13 +1216,13 @@ var rt = /* @__PURE__ */ e({ default: () => Nt }), it = ["id"], at = ["id"], ot
1216
1216
  "notice",
1217
1217
  "caption"
1218
1218
  ])) : g("", !0),
1219
- F.value.userOptions.buttons.annotator ? (S(), h(E(qe), {
1219
+ L.value.userOptions.buttons.annotator ? (S(), h(E(qe), {
1220
1220
  key: 1,
1221
- svgRef: E(R),
1222
- backgroundColor: F.value.style.chart.backgroundColor,
1223
- color: F.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: I.value,
1225
+ isCursorPointer: R.value,
1226
1226
  onClose: Cr
1227
1227
  }, {
1228
1228
  "annotator-action-close": O(() => [w(e.$slots, "annotator-action-close", {}, void 0, !0)]),
@@ -1239,64 +1239,64 @@ var rt = /* @__PURE__ */ e({ default: () => Nt }), it = ["id"], at = ["id"], ot
1239
1239
  "active",
1240
1240
  "isCursorPointer"
1241
1241
  ])) : g("", !0),
1242
- _n.value ? (S(), _("div", {
1242
+ gn.value ? (S(), _("div", {
1243
1243
  key: 2,
1244
1244
  ref_key: "noTitle",
1245
- ref: Wt,
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
- F.value.style.chart.title.text ? (S(), _("div", {
1249
+ L.value.style.chart.title.text ? (S(), _("div", {
1250
1250
  key: 3,
1251
1251
  ref_key: "chartTitle",
1252
- ref: Vt,
1253
- style: x(`width:100%;background:${F.value.style.chart.backgroundColor};padding-bottom:6px`)
1252
+ ref: zt,
1253
+ style: x(`width:100%;background:${L.value.style.chart.backgroundColor};padding-bottom:6px`)
1254
1254
  }, [(S(), h(me, {
1255
- key: `title_${Gt.value}`,
1255
+ key: `title_${Ut.value}`,
1256
1256
  config: {
1257
1257
  title: {
1258
1258
  cy: "treemap-div-title",
1259
- ...F.value.style.chart.title
1259
+ ...L.value.style.chart.title
1260
1260
  },
1261
1261
  subtitle: {
1262
1262
  cy: "treemap-div-subtitle",
1263
- ...F.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
- v("div", { id: `legend-top-${A.value}` }, null, 8, ot),
1268
- F.value.userOptions.show && Ft.value && (E(dn) || E(ln)) ? (S(), h(E(Ze), {
1267
+ v("div", { id: `legend-top-${j.value}` }, null, 8, at),
1268
+ L.value.userOptions.show && Pt.value && (E(un) || E(cn)) ? (S(), h(E(Ze), {
1269
1269
  ref_key: "userOptionsRef",
1270
- ref: Zt,
1271
- key: `user_option_${Bt.value}`,
1272
- backgroundColor: F.value.style.chart.backgroundColor,
1273
- color: F.value.style.chart.color,
1274
- isPrinting: E(pn),
1275
- isImaging: E(mn),
1276
- uid: A.value,
1277
- hasTooltip: F.value.userOptions.buttons.tooltip && F.value.style.chart.tooltip.show,
1278
- hasPdf: F.value.userOptions.buttons.pdf,
1279
- hasXls: F.value.userOptions.buttons.csv,
1280
- hasImg: F.value.userOptions.buttons.img,
1281
- hasSvg: F.value.userOptions.buttons.svg,
1282
- hasTable: F.value.userOptions.buttons.table,
1283
- hasFullscreen: F.value.userOptions.buttons.fullscreen,
1284
- hasAltCopy: F.value.userOptions.buttons.altCopy,
1285
- isFullscreen: zt.value,
1286
- isTooltip: z.value.showTooltip,
1287
- titles: { ...F.value.userOptions.buttonTitles },
1288
- chartElement: M.value,
1289
- position: F.value.userOptions.position,
1290
- hasAnnotator: F.value.userOptions.buttons.annotator,
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
+ uid: j.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
+ isTooltip: B.value.showTooltip,
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: F.value.userOptions.callbacks,
1293
- printScale: F.value.userOptions.print.scale,
1294
- tableDialog: F.value.table.useDialog,
1295
- isCursorPointer: I.value,
1296
- hasZoom: F.value.userOptions.buttons.zoom,
1297
- isZoom: z.value.showZoom,
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
+ isZoom: B.value.showZoom,
1298
1298
  onToggleFullscreen: Xn,
1299
- onGeneratePdf: E(hn),
1299
+ onGeneratePdf: E(mn),
1300
1300
  onGenerateCsv: gr,
1301
1301
  onGenerateImage: qr,
1302
1302
  onGenerateSvg: Kr,
@@ -1305,7 +1305,7 @@ var rt = /* @__PURE__ */ e({ default: () => Nt }), it = ["id"], at = ["id"], ot
1305
1305
  onToggleAnnotator: Cr,
1306
1306
  onToggleZoom: xr,
1307
1307
  onCopyAlt: si,
1308
- style: x({ visibility: E(dn) ? E(ln) ? "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",
@@ -1390,7 +1390,7 @@ var rt = /* @__PURE__ */ e({ default: () => Nt }), it = ["id"], at = ["id"], ot
1390
1390
  class: "vue-ui-treemap-breadcrumbs",
1391
1391
  "data-dom-to-png-ignore": "",
1392
1392
  ref_key: "breadcrumbsNav",
1393
- ref: Jt
1393
+ ref: Kt
1394
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,
@@ -1400,37 +1400,37 @@ var rt = /* @__PURE__ */ e({ default: () => Nt }), it = ["id"], at = ["id"], ot
1400
1400
  class: "vue-ui-treemap-crumb",
1401
1401
  "data-last-crumb": r === X.value.length - 1,
1402
1402
  style: x({
1403
- color: F.value.style.chart.color,
1404
- cursor: I.value ? "pointer" : "default"
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", ct, [v("span", lt, [w(e.$slots, "breadcrumb-label", Me({ 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 ? (S(), _("div", ut, [Ae(ve, {
1414
+ }), () => [r === 0 ? (S(), _("div", lt, [Ae(ve, {
1415
1415
  name: Fr.value === 0 ? "homeFilled" : "home",
1416
- stroke: F.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", dt, [w(e.$slots, "breadcrumb-arrow", {}, () => [t[5] ||= ke(" › ", -1)], !0)])) : g("", !0)])], 44, st))), 128))], 512)) : g("", !0),
1418
- v("div", ft, [
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
+ v("div", dt, [
1419
1419
  (S(), _("svg", {
1420
1420
  ref_key: "svgRef",
1421
- ref: R,
1422
- xmlns: E(re),
1423
- "aria-describedby": `chart-instructions-${A.value}`,
1421
+ ref: z,
1422
+ xmlns: E(ie),
1423
+ "aria-describedby": `chart-instructions-${j.value}`,
1424
1424
  class: Pe({
1425
- "vue-data-ui-fullscreen--on": zt.value,
1426
- "vue-data-ui-fulscreen--off": !zt.value,
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": E(Pt),
1430
- loading: E(L)
1429
+ "no-transition": E(Nt),
1430
+ loading: E(an)
1431
1431
  }),
1432
1432
  viewBox: `${E($).x} ${E($).y} ${E($).width <= 0 ? 10 : E($).width} ${E($).height <= 0 ? 10 : E($).height}`,
1433
- style: x(`max-width:100%; overflow:${Ar.value ? "hidden" : "visible"}; background:transparent;color:${F.value.style.chart.color}`),
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,
@@ -1442,26 +1442,26 @@ var rt = /* @__PURE__ */ e({ default: () => Nt }), it = ["id"], at = ["id"], ot
1442
1442
  onPointerleave: Nr
1443
1443
  }, [
1444
1444
  Ae(E(Qe)),
1445
- (S(!0), _(p, null, Le(G.value, (e, t) => (S(), _("g", { key: `tgrad_${e.id}` }, [F.value.style.chart.layout.rects.gradient.show ? (S(), _("defs", mt, [v("radialGradient", {
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", {
1449
1449
  offset: "18%",
1450
1450
  "stop-color": e.color
1451
- }, null, 8, gt), v("stop", {
1451
+ }, null, 8, ht), v("stop", {
1452
1452
  offset: "100%",
1453
- "stop-color": E(ae)(e.color, F.value.style.chart.layout.rects.gradient.intensity / 100)
1454
- }, null, 8, _t)], 8, ht)])) : g("", !0)]))), 128)),
1453
+ "stop-color": E(n)(e.color, L.value.style.chart.layout.rects.gradient.intensity / 100)
1454
+ }, null, 8, gt)], 8, mt)])) : g("", !0)]))), 128)),
1455
1455
  v("g", null, [
1456
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: It.value ? e.color ?? F.value.style.chart.backgroundColor : F.value.style.chart.layout.rects.gradient.show ? sr.value ? F.value.style.chart.backgroundColor : `url(#tgrad_${e.id})` : e.color ?? F.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 ? F.value.style.chart.layout.rects.selected.stroke : F.value.style.chart.layout.rects.stroke,
1464
- "stroke-width": Z.value && Z.value.id === e.id ? F.value.style.chart.layout.rects.selected.strokeWidth : F.value.style.chart.layout.rects.strokeWidth,
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
1465
  onClick: We((n) => Pr(e, t), ["stop"]),
1466
1466
  onMouseenter: () => hr({
1467
1467
  datapoint: e,
@@ -1472,9 +1472,9 @@ var rt = /* @__PURE__ */ e({ default: () => Nt }), it = ["id"], at = ["id"], ot
1472
1472
  datapoint: e,
1473
1473
  seriesIndex: t
1474
1474
  }),
1475
- style: x(`opacity:${Z.value ? Z.value.id === e.id ? 1 : F.value.style.chart.layout.rects.selected.unselectedOpacity : 1}`),
1475
+ style: x(`opacity:${Z.value ? Z.value.id === e.id ? 1 : L.value.style.chart.layout.rects.selected.unselectedOpacity : 1}`),
1476
1476
  class: Pe(["vue-ui-treemap-rect", ir(e) ? "vue-data-ui-zoom-minus" : "vue-data-ui-zoom-plus"])
1477
- }, null, 46, vt)]))), 128)),
1477
+ }, null, 46, _t)]))), 128)),
1478
1478
  (S(!0), _(p, null, Le(ei.value, (e) => (S(), _("g", {
1479
1479
  key: e.key,
1480
1480
  style: { "pointer-events": "none" }
@@ -1487,7 +1487,7 @@ var rt = /* @__PURE__ */ e({ default: () => Nt }), it = ["id"], at = ["id"], ot
1487
1487
  y: e.clipY,
1488
1488
  width: e.clipWidth,
1489
1489
  height: e.clipHeight
1490
- }, null, 8, bt)], 8, yt)]), v("g", { "clip-path": `url(#${e.clipId})` }, [(S(!0), _(p, null, Le(e.lines, (e) => (S(), _("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 rt = /* @__PURE__ */ e({ default: () => Nt }), it = ["id"], at = ["id"], ot
1497
1497
  "font-weight": e.fontWeight,
1498
1498
  "text-anchor": "start",
1499
1499
  "dominant-baseline": "text-before-edge"
1500
- }, ze(e.text), 9, St))), 128))], 8, xt)]))), 128)),
1501
- e.$slots.rect ? (S(), _("g", Ct, [(S(!0), _(p, null, Le(G.value, (t, n) => (S(), _("g", { key: `slot_${t.id}_${t.depth}` }, [(S(), _("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 rt = /* @__PURE__ */ e({ default: () => Nt }), it = ["id"], at = ["id"], ot
1508
1508
  "pointer-events": "none",
1509
1509
  overflow: "hidden"
1510
1510
  }
1511
- }, [v("div", Tt, [E(L) ? g("", !0) : w(e.$slots, "rect", Me({
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 rt = /* @__PURE__ */ e({ default: () => Nt }), it = ["id"], at = ["id"], ot
1521
1521
  shouldShow: zn(t) || Qn.value,
1522
1522
  fontSize: Yn(t, n),
1523
1523
  isZoom: Qn.value,
1524
- textColor: E(ne)(t.color)
1525
- }), void 0, !0)])], 8, wt))]))), 128))])) : g("", !0)
1524
+ textColor: E(re)(t.color)
1525
+ }), void 0, !0)])], 8, Ct))]))), 128))])) : g("", !0)
1526
1526
  ]),
1527
1527
  w(e.$slots, "svg", b(y({
1528
1528
  svg: V.value,
1529
1529
  isZoom: Qn.value,
1530
1530
  rect: Z.value,
1531
- config: F.value,
1532
- isPrintingImg: E(pn) || E(mn) || en.value,
1533
- isPrintingSvg: tn.value
1531
+ config: L.value,
1532
+ isPrintingImg: E(fn) || E(pn) || Qt.value,
1533
+ isPrintingSvg: $t.value
1534
1534
  })), void 0, !0)
1535
- ], 46, pt)),
1536
- E(Or) ? (S(), _("div", Et, [w(e.$slots, "reset-action", { reset: E(Dr) }, () => [v("button", {
1535
+ ], 46, ft)),
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
1541
  style: x({
1542
- background: F.value.style.chart.backgroundColor,
1543
- cursor: I.value ? "pointer" : "default"
1542
+ background: L.value.style.chart.backgroundColor,
1543
+ cursor: R.value ? "pointer" : "default"
1544
1544
  }),
1545
1545
  onClick: t[0] ||= (e) => E(Dr)(!0)
1546
1546
  }, [Ae(ve, {
1547
1547
  name: "refresh",
1548
- stroke: F.value.style.chart.color
1548
+ stroke: L.value.style.chart.color
1549
1549
  }, null, 8, ["stroke"])], 4)], !0)])) : g("", !0),
1550
- e.$slots.hint ? (S(), _("div", Dt, [w(e.$slots, "hint", b(y({
1551
- hint: F.value.a11y.translations.keyboardNavigation,
1552
- isVisible: an.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 ? (S(), _("div", Ot, [w(e.$slots, "watermark", b(y({ isPrinting: E(pn) || E(mn) || en.value || tn.value })), void 0, !0)])) : g("", !0),
1556
- v("div", { id: `legend-bottom-${A.value}` }, null, 8, kt),
1557
- Yt.value && (F.value.style.chart.legend.show || e.$slots.legend) ? (S(), h(De, {
1555
+ e.$slots.watermark ? (S(), _("div", Dt, [w(e.$slots, "watermark", b(y({ isPrinting: E(fn) || E(pn) || Qt.value || $t.value })), void 0, !0)])) : g("", !0),
1556
+ v("div", { id: `legend-bottom-${j.value}` }, null, 8, Ot),
1557
+ qt.value && (L.value.style.chart.legend.show || e.$slots.legend) ? (S(), h(De, {
1558
1558
  key: 7,
1559
- to: F.value.style.chart.legend.position === "top" ? `#legend-top-${A.value}` : `#legend-bottom-${A.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: Ht
1563
- }, [w(e.$slots, "legend", { legend: ar.value }, () => [F.value.style.chart.legend.show ? (S(), h(Ce, {
1564
- key: `legend_${qt.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
- id: `treemap_legend_${A.value}`,
1568
- isCursorPointer: I.value,
1567
+ id: `treemap_legend_${j.value}`,
1568
+ isCursorPointer: R.value,
1569
1569
  onClickMarker: t[1] ||= ({ legend: e }) => lr(e)
1570
1570
  }, {
1571
- item: O(({ legend: e, index: t }) => [E(L) ? g("", !0) : (S(), _("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: x(`opacity:${j.value.includes(e.id) ? .5 : 1}`)
1575
- }, ze(e.display), 13, At))]),
1576
- legendToggle: O(() => [ar.value.length > 2 && F.value.style.chart.legend.selectAllToggle.show && !E(L) ? (S(), h(ye, {
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: F.value.style.chart.legend.selectAllToggle.backgroundColor,
1579
- color: F.value.style.chart.legend.selectAllToggle.color,
1580
- fontSize: F.value.style.chart.legend.fontSize,
1581
- checked: j.value.length > 0,
1582
- isCursorPointer: I.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",
@@ -1598,32 +1598,32 @@ var rt = /* @__PURE__ */ e({ default: () => Nt }), it = ["id"], at = ["id"], ot
1598
1598
  e.$slots.source ? (S(), _("div", {
1599
1599
  key: 8,
1600
1600
  ref_key: "source",
1601
- ref: Ut,
1601
+ ref: Vt,
1602
1602
  dir: "auto"
1603
1603
  }, [w(e.$slots, "source", {}, void 0, !0)], 512)) : g("", !0),
1604
1604
  Ae(E(Xe), {
1605
- teleportTo: F.value.style.chart.tooltip.teleportTo,
1606
- show: z.value.showTooltip && Lt.value,
1607
- backgroundColor: F.value.style.chart.tooltip.backgroundColor,
1608
- color: F.value.style.chart.tooltip.color,
1609
- fontSize: F.value.style.chart.tooltip.fontSize,
1610
- borderRadius: F.value.style.chart.tooltip.borderRadius,
1611
- borderColor: F.value.style.chart.tooltip.borderColor,
1612
- borderWidth: F.value.style.chart.tooltip.borderWidth,
1613
- backgroundOpacity: F.value.style.chart.tooltip.backgroundOpacity,
1614
- position: F.value.style.chart.tooltip.position,
1615
- offsetX: F.value.style.chart.tooltip.offsetX,
1616
- offsetY: F.value.style.chart.tooltip.offsetY,
1617
- parent: M.value,
1618
- content: Rt.value,
1619
- isFullscreen: zt.value,
1620
- isCustom: E(u)(F.value.style.chart.tooltip.customFormat),
1621
- smooth: F.value.style.chart.tooltip.smooth,
1622
- backdropFilter: F.value.style.chart.tooltip.backdropFilter,
1623
- smoothForce: F.value.style.chart.tooltip.smoothForce,
1624
- smoothSnapThreshold: F.value.style.chart.tooltip.smoothSnapThreshold,
1625
- isA11yMode: rn.value === "keyboard",
1626
- a11yPosition: nn.value
1605
+ teleportTo: L.value.style.chart.tooltip.teleportTo,
1606
+ show: B.value.showTooltip && It.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
+ content: Lt.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
1628
  "tooltip-before": O(() => [w(e.$slots, "tooltip-before", b(y({ ...mr.value })), void 0, !0)]),
1629
1629
  tooltip: O(() => [w(e.$slots, "tooltip", b(y({ ...mr.value })), void 0, !0)]),
@@ -1653,20 +1653,20 @@ var rt = /* @__PURE__ */ e({ default: () => Nt }), it = ["id"], at = ["id"], ot
1653
1653
  "isA11yMode",
1654
1654
  "a11yPosition"
1655
1655
  ]),
1656
- Ft.value && F.value.userOptions.buttons.table ? (S(), h(Re(zr.value.component), Me({ 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: Xt,
1658
+ ref: Jt,
1659
1659
  onClose: Br
1660
1660
  }), Oe({
1661
1661
  content: O(() => [(S(), h(E(Ke), {
1662
- key: `table_${Kt.value}`,
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: F.value.table.useDialog ? "" : zr.value.title,
1668
- withCloseButton: !F.value.table.useDialog,
1669
- isCursorPointer: I.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
1672
  th: O(({ th: e }) => [v("div", {
@@ -1675,7 +1675,7 @@ var rt = /* @__PURE__ */ e({ default: () => Nt }), it = ["id"], at = ["id"], ot
1675
1675
  display: "flex",
1676
1676
  "align-items": "center"
1677
1677
  }
1678
- }, null, 8, jt)]),
1678
+ }, null, 8, At)]),
1679
1679
  td: O(({ td: e }) => [ke(ze(e.name || e), 1)]),
1680
1680
  _: 1
1681
1681
  }, 8, [
@@ -1688,26 +1688,26 @@ var rt = /* @__PURE__ */ e({ default: () => Nt }), it = ["id"], at = ["id"], ot
1688
1688
  "isCursorPointer"
1689
1689
  ]))]),
1690
1690
  _: 2
1691
- }, [F.value.table.useDialog ? {
1691
+ }, [L.value.table.useDialog ? {
1692
1692
  name: "title",
1693
1693
  fn: O(() => [ke(ze(zr.value.title), 1)]),
1694
1694
  key: "0"
1695
- } : void 0, F.value.table.useDialog ? {
1695
+ } : void 0, L.value.table.useDialog ? {
1696
1696
  name: "actions",
1697
1697
  fn: O(() => [v("button", {
1698
1698
  tabindex: "0",
1699
1699
  class: "vue-ui-user-options-button",
1700
- onClick: t[2] ||= (e) => gr(F.value.userOptions.callbacks.csv),
1701
- style: x({ cursor: I.value ? "pointer" : "default" })
1700
+ onClick: t[2] ||= (e) => gr(L.value.userOptions.callbacks.csv),
1701
+ style: x({ cursor: R.value ? "pointer" : "default" })
1702
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
- w(e.$slots, "skeleton", {}, () => [E(L) ? (S(), h(le, { key: 0 })) : g("", !0)], !0)
1709
- ], 46, it));
1708
+ w(e.$slots, "skeleton", {}, () => [E(an) ? (S(), h(le, { key: 0 })) : g("", !0)], !0)
1709
+ ], 46, rt));
1710
1710
  }
1711
1711
  }, [["__scopeId", "data-v-442b6b44"]]);
1712
1712
  //#endregion
1713
- export { rt as n, Nt as t };
1713
+ export { A as n, Mt as t };