vue-data-ui 3.20.10 → 3.21.0

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 (190) hide show
  1. package/dist/{Arrow-D6j6ocXm.js → Arrow-_pDGXl76.js} +1 -1
  2. package/dist/{BaseDraggableDialog-4hDW-Rj2.js → BaseDraggableDialog-BvaFJWHb.js} +2 -2
  3. package/dist/{BaseIcon-DfLoHNUj.js → BaseIcon-CbDazQLH.js} +1 -1
  4. package/dist/{BaseLegendToggle-C_Db-y7s.js → BaseLegendToggle-BNRi408o.js} +1 -1
  5. package/dist/{BaseZoomControls-CG7hI_1P.js → BaseZoomControls-Dbtq9oyx.js} +2 -2
  6. package/dist/{ColorPicker-Bjwxnvfh.js → ColorPicker-B4ob7JgP.js} +2 -2
  7. package/dist/{DataTable-B--IN22e.js → DataTable-DweDyHc1.js} +2 -2
  8. package/dist/{Legend-Cz2uQ5gs.js → Legend-BLhREbj7.js} +2 -2
  9. package/dist/{NonSvgPenAndPaper-gLNJ1Lmr.js → NonSvgPenAndPaper-BzZyMJBF.js} +3 -3
  10. package/dist/{PackageVersion-BbgWxFC4.js → PackageVersion-DYLo3MRd.js} +1 -1
  11. package/dist/{PenAndPaper-DqrClVfb.js → PenAndPaper-D4aFMYZf.js} +3 -3
  12. package/dist/{Shape-BPCJfphn.js → Shape-BxFtoF1z.js} +1 -1
  13. package/dist/{Slicer-SHBj0VaV.js → Slicer-GABgkLkB.js} +2 -2
  14. package/dist/SlicerPreview-CXLgqXX8.js +1676 -0
  15. package/dist/{SparkTooltip-CfE6yCad.js → SparkTooltip-CdSRUoZN.js} +6 -6
  16. package/dist/{Title-NWp4qB4K.js → Title-DH6G8_cZ.js} +1 -1
  17. package/dist/{Tooltip-BENq327o.js → Tooltip-979Ytd8R.js} +1 -1
  18. package/dist/{UserOptions-C1NgoGu6.js → UserOptions-qFz-9Pnw.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-BYtB4BF3.js → dom-to-png-CtV3uxDJ.js} +1 -1
  89. package/dist/exposedLib-BJbE_A8E.js +19 -0
  90. package/dist/{img-1cKsci8e.js → img-C_RNNswI.js} +1 -1
  91. package/dist/{labelUtils-CUctkYoA.js → labelUtils-Bycs-017.js} +1 -1
  92. package/dist/{lib-DUeYQsS0.js → lib-AJRHFE5U.js} +12 -6
  93. package/dist/{pdf-D0eZ99cP.js → pdf-CdX23zf1.js} +1 -1
  94. package/dist/ssr.js +1366 -0
  95. package/dist/style.css +1 -1
  96. package/dist/types/ssr.d.ts +128 -0
  97. package/dist/types/vue-data-ui.d.ts +135 -1
  98. package/dist/{useAutoSizeLabelsInsideViewbox-BIVntRZp.js → useAutoSizeLabelsInsideViewbox-kjVKQz36.js} +1 -1
  99. package/dist/{useNestedProp-CNcoy38D.js → useNestedProp-DtcXIg7n.js} +1 -1
  100. package/dist/{usePrinter-C1Gqt_Sp.js → usePrinter-6n2MzVyV.js} +2 -2
  101. package/dist/utils.js +8 -8
  102. package/dist/{vue-data-ui-CBjd88aV.js → vue-data-ui-D2dM3IQZ.js} +68 -68
  103. package/dist/vue-data-ui.js +72 -72
  104. package/dist/vue-ui-3d-bar-0C_yshya.js +1757 -0
  105. package/dist/{vue-ui-accordion-Bpbv-VHE.js → vue-ui-accordion-DLnwuQda.js} +3 -3
  106. package/dist/vue-ui-age-pyramid-DFNELwbT.js +1238 -0
  107. package/dist/{vue-ui-annotator-Q57JevNc.js → vue-ui-annotator-BljP5cB7.js} +8 -8
  108. package/dist/vue-ui-bullet-ChQq42AN.js +710 -0
  109. package/dist/{vue-ui-bump-S-FGGlPW.js → vue-ui-bump-BVCYywuS.js} +253 -253
  110. package/dist/{vue-ui-candlestick-BaaswVai.js → vue-ui-candlestick-CQ0nfkmL.js} +276 -276
  111. package/dist/vue-ui-carousel-table-Cvi1gsKR.js +455 -0
  112. package/dist/vue-ui-chestnut-DeWbKqze.js +2010 -0
  113. package/dist/vue-ui-chord-bRXYWpGT.js +1391 -0
  114. package/dist/{vue-ui-circle-pack--4oUO8hO.js → vue-ui-circle-pack-DWO8x9gf.js} +36 -36
  115. package/dist/{vue-ui-cursor-C7zZVebz.js → vue-ui-cursor-BKGUvOWO.js} +3 -3
  116. package/dist/{vue-ui-dag-DsCnV6f0.js → vue-ui-dag-lL0juBzN.js} +20 -20
  117. package/dist/{vue-ui-dashboard-CmTnG8CS.js → vue-ui-dashboard-CEk2z8v9.js} +69 -69
  118. package/dist/{vue-ui-digits-BQ0e9Czq.js → vue-ui-digits-BAjr0eIJ.js} +3 -3
  119. package/dist/vue-ui-donut-BsSpIinL.js +2410 -0
  120. package/dist/vue-ui-donut-evolution-1UhFKEgG.js +1510 -0
  121. package/dist/vue-ui-dumbbell-ChqJicg9.js +1530 -0
  122. package/dist/{vue-ui-flow-jBINqYMb.js → vue-ui-flow-BXfzMTXx.js} +57 -57
  123. package/dist/{vue-ui-funnel-B9DsneCv.js → vue-ui-funnel-BpnC82m0.js} +32 -32
  124. package/dist/{vue-ui-galaxy-SAZjgllD.js → vue-ui-galaxy-FNzwDOH1.js} +330 -330
  125. package/dist/vue-ui-gauge-D6I78FZr.js +920 -0
  126. package/dist/{vue-ui-geo-B41ZRCPC.js → vue-ui-geo-Z1xuH8r6.js} +18 -18
  127. package/dist/{vue-ui-gizmo-PL2TAIV_.js → vue-ui-gizmo-ZlmJIh0_.js} +62 -62
  128. package/dist/{vue-ui-heatmap-NkJ_KGMs.js → vue-ui-heatmap-BWN0UBKE.js} +264 -264
  129. package/dist/{vue-ui-history-plot-B9KX1kKs.js → vue-ui-history-plot-2E6KrNhv.js} +74 -74
  130. package/dist/vue-ui-horizontal-bar-BzP7k_3J.js +1681 -0
  131. package/dist/{vue-ui-kpi-Bo4x1-vC.js → vue-ui-kpi-B9bdicir.js} +3 -3
  132. package/dist/{vue-ui-mini-loader-Bi0nsbao.js → vue-ui-mini-loader-BnLOdRA0.js} +2 -2
  133. package/dist/vue-ui-molecule-B-69fE_1.js +925 -0
  134. package/dist/{vue-ui-mood-radar-DE71e1H_.js → vue-ui-mood-radar-D3kF7iHz.js} +21 -21
  135. package/dist/{vue-ui-nested-donuts-DQhSwNYF.js → vue-ui-nested-donuts-CTmomXj1.js} +256 -256
  136. package/dist/{vue-ui-onion-X9anqRDz.js → vue-ui-onion-3fJB4mfC.js} +45 -45
  137. package/dist/{vue-ui-parallel-coordinate-plot-aN0OHwgH.js → vue-ui-parallel-coordinate-plot-CKKkbBlu.js} +39 -39
  138. package/dist/{vue-ui-quadrant-CpKMBoX9.js → vue-ui-quadrant-DGLnjwva.js} +355 -355
  139. package/dist/{vue-ui-quick-chart-BwD7IGYx.js → vue-ui-quick-chart-DJnhlEXi.js} +359 -359
  140. package/dist/vue-ui-radar-AIBX0QYs.js +1229 -0
  141. package/dist/{vue-ui-rating-D8QQctnQ.js → vue-ui-rating-pDVqT08V.js} +33 -33
  142. package/dist/vue-ui-relation-circle-BQVR8L9Y.js +924 -0
  143. package/dist/{vue-ui-ridgeline-68X0PTKo.js → vue-ui-ridgeline-CYq3APPQ.js} +54 -54
  144. package/dist/{vue-ui-rings-cDPIzhPb.js → vue-ui-rings-BgFO7NYF.js} +81 -81
  145. package/dist/vue-ui-scatter-BPu5DwaJ.js +2413 -0
  146. package/dist/{vue-ui-skeleton-BD0JzrcV.js → vue-ui-skeleton-qpdvvWtx.js} +41 -41
  147. package/dist/{vue-ui-smiley-CqwB6Uhu.js → vue-ui-smiley-DUI5n89s.js} +16 -16
  148. package/dist/{vue-ui-spark-trend-DLXJpfGh.js → vue-ui-spark-trend-CQ9ZN5sL.js} +27 -27
  149. package/dist/{vue-ui-sparkbar-5pFFPu5l.js → vue-ui-sparkbar-d6ctWlLA.js} +83 -83
  150. package/dist/{vue-ui-sparkgauge--CihPbUW.js → vue-ui-sparkgauge-HX_rqLxX.js} +44 -44
  151. package/dist/{vue-ui-sparkhistogram-CjrIcako.js → vue-ui-sparkhistogram-B_zxKMHv.js} +110 -110
  152. package/dist/vue-ui-sparkline-BSdOdtKu.js +1507 -0
  153. package/dist/{vue-ui-sparkstackbar-Dlg1W_fF.js → vue-ui-sparkstackbar-B2sqpW-w.js} +155 -155
  154. package/dist/{vue-ui-stackbar-DltfPoDm.js → vue-ui-stackbar-DH75CCpy.js} +81 -81
  155. package/dist/vue-ui-stackline-CXodezD1.js +2398 -0
  156. package/dist/{vue-ui-strip-plot-CEE-cw3d.js → vue-ui-strip-plot-C1un5Mku.js} +90 -90
  157. package/dist/{vue-ui-table-C7AvFChf.js → vue-ui-table-R-aXpHvF.js} +86 -86
  158. package/dist/{vue-ui-table-heatmap-xwfStZrD.js → vue-ui-table-heatmap-C1e_7MJ2.js} +16 -16
  159. package/dist/{vue-ui-table-sparkline-DgTHhaZI.js → vue-ui-table-sparkline-Dy-6i82F.js} +22 -22
  160. package/dist/{vue-ui-thermometer-Cg7jcmgc.js → vue-ui-thermometer-CIse_lcE.js} +21 -21
  161. package/dist/{vue-ui-timer-U045embk.js → vue-ui-timer-AlYvthQ6.js} +23 -23
  162. package/dist/{vue-ui-tiremarks-T55IpHYP.js → vue-ui-tiremarks-CP_bw6by.js} +19 -19
  163. package/dist/{vue-ui-treemap-BPQ-Ekq4.js → vue-ui-treemap-BXrV5VAp.js} +65 -65
  164. package/dist/{vue-ui-waffle-DNCJGwEA.js → vue-ui-waffle-uoqEnQ30.js} +232 -232
  165. package/dist/{vue-ui-wheel-5GuVbUOq.js → vue-ui-wheel-DLgw_xfe.js} +36 -36
  166. package/dist/{vue-ui-word-cloud-Cs-MBJJU.js → vue-ui-word-cloud-Bgu-qbcp.js} +35 -35
  167. package/dist/{vue-ui-world-D3v5f6dU.js → vue-ui-world-B93iq1ZM.js} +445 -445
  168. package/dist/vue-ui-xy-DzuOBbPL.js +4744 -0
  169. package/dist/{vue-ui-xy-canvas-Ww81eEZ6.js → vue-ui-xy-canvas-DjxM7y3T.js} +60 -60
  170. package/package.json +6 -2
  171. package/dist/SlicerPreview-CpvCUAIM.js +0 -1669
  172. package/dist/exposedLib-CI8ji8G-.js +0 -19
  173. package/dist/vue-ui-3d-bar-DmMi_eVe.js +0 -1757
  174. package/dist/vue-ui-age-pyramid-CbJDodNj.js +0 -1238
  175. package/dist/vue-ui-bullet-rCmOch09.js +0 -710
  176. package/dist/vue-ui-carousel-table-DFUP6c1B.js +0 -455
  177. package/dist/vue-ui-chestnut-DKNsQA7h.js +0 -2010
  178. package/dist/vue-ui-chord-BMkz02R6.js +0 -1391
  179. package/dist/vue-ui-donut-BLlR2VgI.js +0 -2410
  180. package/dist/vue-ui-donut-evolution-kXDchwtH.js +0 -1510
  181. package/dist/vue-ui-dumbbell-BWuXbccQ.js +0 -1530
  182. package/dist/vue-ui-gauge-NSzY9L6X.js +0 -920
  183. package/dist/vue-ui-horizontal-bar-mmoqYnkA.js +0 -1681
  184. package/dist/vue-ui-molecule-QoXYCfyP.js +0 -925
  185. package/dist/vue-ui-radar-TfxsgQrA.js +0 -1229
  186. package/dist/vue-ui-relation-circle-CMqV9U6C.js +0 -924
  187. package/dist/vue-ui-scatter-8nirnHQi.js +0 -2413
  188. package/dist/vue-ui-sparkline-DPZm7RqN.js +0 -1507
  189. package/dist/vue-ui-stackline-6agFEYxZ.js +0 -2398
  190. package/dist/vue-ui-xy-C0kcCaFA.js +0 -4747
@@ -1,22 +1,22 @@
1
1
  import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
2
- import { Bt as t, Ct as n, Et as r, G as i, H as a, J as o, K as s, Rt as c, S as l, X as u, Z as d, bt as f, i as ee, nt as te, pt as ne, r as re, t as ie, x as ae, y as p } from "./lib-DUeYQsS0.js";
2
+ import { Bt as t, G as n, H as r, Ht as i, J as a, K as o, Ot as s, S as c, St as l, Tt as u, X as d, Z as f, ht as ee, i as te, it as ne, r as re, t as ie, x as ae, y as p } from "./lib-AJRHFE5U.js";
3
3
  import { t as oe } from "./useConfig-DnH7Pf_2.js";
4
- import { t as se } from "./usePrinter-C1Gqt_Sp.js";
4
+ import { t as se } from "./usePrinter-6n2MzVyV.js";
5
5
  import { n as ce, t as le } from "./BaseScanner-Dr2a1Msy.js";
6
6
  import { t as ue } from "./useSvgExport-SVIsDot8.js";
7
- import { t as de } from "./useNestedProp-CNcoy38D.js";
7
+ import { t as de } from "./useNestedProp-DtcXIg7n.js";
8
8
  import { t as fe } from "./useThemeCheck-C43Tcqmk.js";
9
- import { t as pe } from "./img-1cKsci8e.js";
10
- import { n as me } from "./Title-NWp4qB4K.js";
9
+ import { t as pe } from "./img-C_RNNswI.js";
10
+ import { n as me } from "./Title-DH6G8_cZ.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-DfLoHNUj.js";
15
- import { t as ye } from "./BaseLegendToggle-C_Db-y7s.js";
14
+ import { t as ve } from "./BaseIcon-CbDazQLH.js";
15
+ import { t as ye } from "./BaseLegendToggle-BNRi408o.js";
16
16
  import { t as be } from "./A11yDataTable-BCbtxMU6.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-Cz2uQ5gs.js";
19
+ import { t as Ce } from "./Legend-BLhREbj7.js";
20
20
  import { t as we } from "./vue_ui_treemap-DoEtkRN6.js";
21
21
  import { Fragment as Te, Teleport as Ee, computed as m, createBlock as h, createCommentVNode as g, createElementBlock as _, createElementVNode as v, createSlots as De, createTextVNode as Oe, createVNode as ke, defineAsyncComponent as y, guardReactiveProps as b, mergeProps as Ae, nextTick as je, normalizeClass as Me, normalizeProps as x, normalizeStyle as S, onBeforeUnmount as Ne, onMounted as Pe, openBlock as C, ref as w, renderList as Fe, renderSlot as T, resolveDynamicComponent as Ie, shallowRef as E, toDisplayString as Le, toRefs as Re, unref as D, useSlots as ze, watch as Be, withCtx as O, withKeys as Ve, withModifiers as He } from "vue";
22
22
  //#region src/treemap.js
@@ -238,14 +238,14 @@ var tt = /* @__PURE__ */ e({ default: () => Tt }), nt = ["id"], rt = ["id"], it
238
238
  "copyAlt"
239
239
  ],
240
240
  setup(e, { expose: he, emit: Ue }) {
241
- let We = y(() => import("./DataTable-B--IN22e.js")), Ge = y(() => import("./PenAndPaper-DqrClVfb.js").then((e) => e.t)), Ke = y(() => import("./vue-ui-accordion-Bpbv-VHE.js").then((e) => e.n)), Je = y(() => import("./Tooltip-BENq327o.js")), Ye = y(() => import("./UserOptions-C1NgoGu6.js").then((e) => e.n)), Xe = y(() => import("./PackageVersion-BbgWxFC4.js").then((e) => e.t)), Ze = y(() => import("./BaseDraggableDialog-4hDW-Rj2.js").then((e) => e.n)), { vue_ui_treemap: Qe } = oe(), { isThemeValid: $e, warnInvalidTheme: et } = fe(), k = e, tt = Ue, Tt = ze();
241
+ let We = y(() => import("./DataTable-DweDyHc1.js")), Ge = y(() => import("./PenAndPaper-D4aFMYZf.js").then((e) => e.t)), Ke = y(() => import("./vue-ui-accordion-DLnwuQda.js").then((e) => e.n)), Je = y(() => import("./Tooltip-979Ytd8R.js")), Ye = y(() => import("./UserOptions-qFz-9Pnw.js").then((e) => e.n)), Xe = y(() => import("./PackageVersion-DYLo3MRd.js").then((e) => e.t)), Ze = y(() => import("./BaseDraggableDialog-BvaFJWHb.js").then((e) => e.n)), { vue_ui_treemap: Qe } = oe(), { isThemeValid: $e, warnInvalidTheme: et } = fe(), k = e, tt = Ue, Tt = ze();
242
242
  Pe(() => {
243
243
  Tt["chart-background"] && console.warn("VueUiTreemap does not support the #chart-background slot.");
244
244
  });
245
- let Et = m(() => !!k.dataset && k.dataset.length), Dt = m(() => /^((?!chrome|android).)*safari/i.test(navigator.userAgent)), A = w(a()), Ot = w(!1), kt = w(""), j = w(!1), At = w(0), M = w([]), N = E(null), jt = E(null), Mt = E(null), Nt = E(null), Pt = E(null), Ft = w(0), It = w(0), Lt = w(0), P = w([]), Rt = w(null), zt = w(!1), Bt = w(null), Vt = w(null), Ht = w(null), Ut = w(/* @__PURE__ */ new Map()), Wt = w(!1), Gt = w(!1), F = w(null), Kt = w({
245
+ let Et = m(() => !!k.dataset && k.dataset.length), Dt = m(() => /^((?!chrome|android).)*safari/i.test(navigator.userAgent)), A = w(r()), Ot = w(!1), kt = w(""), j = w(!1), At = w(0), M = w([]), N = E(null), jt = E(null), Mt = E(null), Nt = E(null), Pt = E(null), Ft = w(0), It = w(0), Lt = w(0), P = w([]), Rt = w(null), zt = w(!1), Bt = w(null), Vt = w(null), Ht = w(null), Ut = w(/* @__PURE__ */ new Map()), Wt = w(!1), Gt = w(!1), F = w(null), Kt = w({
246
246
  x: 0,
247
247
  y: 0
248
- }), qt = w("pointer"), Jt = w(!1), I = w(tn()), L = m(() => I.value.userOptions.useCursorPointer), Yt = m(() => t({
248
+ }), qt = w("pointer"), Jt = w(!1), I = w(tn()), L = m(() => I.value.userOptions.useCursorPointer), Yt = m(() => i({
249
249
  defaultConfig: {
250
250
  userOptions: { show: !1 },
251
251
  style: { chart: {
@@ -297,7 +297,7 @@ var tt = /* @__PURE__ */ e({ default: () => Tt }), nt = ["id"], rt = ["id"], it
297
297
  }
298
298
  ]
299
299
  }],
300
- skeletonConfig: t({
300
+ skeletonConfig: i({
301
301
  defaultConfig: I.value,
302
302
  userConfig: Yt.value
303
303
  })
@@ -306,19 +306,19 @@ var tt = /* @__PURE__ */ e({ default: () => Tt }), nt = ["id"], rt = ["id"], it
306
306
  let e = de({
307
307
  userConfig: k.config,
308
308
  defaultConfig: Qe
309
- }), t = e.theme;
310
- if (!t) return e;
309
+ }), n = e.theme;
310
+ if (!n) return e;
311
311
  if (!$e.value(e)) return et(e), e;
312
- let n = de({
313
- userConfig: we[t] || k.config,
312
+ let r = de({
313
+ userConfig: we[n] || k.config,
314
314
  defaultConfig: e
315
315
  }), i = de({
316
316
  userConfig: k.config,
317
- defaultConfig: n
317
+ defaultConfig: r
318
318
  });
319
319
  return {
320
320
  ...i,
321
- customPalette: i.customPalette.length ? i.customPalette : c[t] || r
321
+ customPalette: i.customPalette.length ? i.customPalette : t[n] || s
322
322
  };
323
323
  }
324
324
  Be(() => k.config, (e) => {
@@ -364,7 +364,7 @@ var tt = /* @__PURE__ */ e({ default: () => Tt }), nt = ["id"], rt = ["id"], it
364
364
  vbHeight: n - r,
365
365
  offsetY: r
366
366
  };
367
- }), U = w(s(Xt.value)), W = w(U.value), dn = E(/* @__PURE__ */ new Map());
367
+ }), U = w(o(Xt.value)), W = w(U.value), dn = E(/* @__PURE__ */ new Map());
368
368
  Be([U, () => I.value], () => {
369
369
  Ht.value = null, Ut.value = /* @__PURE__ */ new Map();
370
370
  }, { deep: !0 }), Be(() => M.value, () => {
@@ -374,16 +374,16 @@ var tt = /* @__PURE__ */ e({ default: () => Tt }), nt = ["id"], rt = ["id"], it
374
374
  });
375
375
  function fn(e) {
376
376
  Array.isArray(e) && e.forEach((e, t) => {
377
- e.id ||= a(), e.sourceColor === void 0 && (e.sourceColor = p(e.color) || null);
378
- let n = e.sourceColor || dn.value.get(e.id) || cn.value[t] || r[t] || r[t % r.length];
377
+ e.id ||= r(), e.sourceColor === void 0 && (e.sourceColor = p(e.color) || null);
378
+ let n = e.sourceColor || dn.value.get(e.id) || cn.value[t] || s[t] || s[t % s.length];
379
379
  n = p(n), dn.value.set(e.id, n), e.color = n, pn(e, n);
380
380
  });
381
381
  }
382
382
  function pn(e, t) {
383
383
  Array.isArray(e.children) && e.children.forEach((n) => {
384
- n.id ||= a(), n.parentId = e.id, n.sourceColor === void 0 && (n.sourceColor = p(n.color) || null);
385
- let r = n.sourceColor || t;
386
- n.color = r, pn(n, r);
384
+ n.id ||= r(), n.parentId = e.id, n.sourceColor === void 0 && (n.sourceColor = p(n.color) || null);
385
+ let i = n.sourceColor || t;
386
+ n.color = i, pn(n, i);
387
387
  });
388
388
  }
389
389
  function mn(e) {
@@ -410,7 +410,7 @@ var tt = /* @__PURE__ */ e({ default: () => Tt }), nt = ["id"], rt = ["id"], it
410
410
  W.value = [n];
411
411
  }
412
412
  Be(() => Xt.value, () => {
413
- U.value = s(Xt.value), fn(U.value), hn(), Lt.value += 1, It.value += 1;
413
+ U.value = o(Xt.value), fn(U.value), hn(), Lt.value += 1, It.value += 1;
414
414
  }, {
415
415
  deep: !0,
416
416
  immediate: !0,
@@ -422,11 +422,11 @@ var tt = /* @__PURE__ */ e({ default: () => Tt }), nt = ["id"], rt = ["id"], it
422
422
  });
423
423
  let _n = m(() => I.value.debug);
424
424
  function vn() {
425
- if (n(k.dataset) && u({
425
+ if (u(k.dataset) && d({
426
426
  componentName: "VueUiTreemap",
427
427
  type: "dataset",
428
428
  debug: _n.value
429
- }), fn(U.value), n(k.dataset) || (Zt.value = I.value.loading), I.value.responsive) {
429
+ }), fn(U.value), u(k.dataset) || (Zt.value = I.value.loading), I.value.responsive) {
430
430
  let e = ge(() => {
431
431
  let { width: e, height: t } = _e({
432
432
  chart: N.value,
@@ -447,7 +447,7 @@ var tt = /* @__PURE__ */ e({ default: () => Tt }), nt = ["id"], rt = ["id"], it
447
447
  });
448
448
  let yn = m(() => W.value.map((e, t) => ({
449
449
  ...e,
450
- color: p(e.color) || cn.value[t] || r[t] || r[t % r.length]
450
+ color: p(e.color) || cn.value[t] || s[t] || s[t % s.length]
451
451
  })).filter((e) => !M.value.includes(e.id))), bn = m(() => U.value.filter((e) => !M.value.includes(e.id)).map((e) => e.value || 0).reduce((e, t) => e + t, 0)), xn = m({
452
452
  get() {
453
453
  let e = [...yn.value];
@@ -462,7 +462,7 @@ var tt = /* @__PURE__ */ e({ default: () => Tt }), nt = ["id"], rt = ["id"], it
462
462
  }
463
463
  function Cn(e, t, n) {
464
464
  let r = I.value.style.chart.layout.rects.colorRatio - Sn(t, n);
465
- return f(e, r < 0 ? 0 : r);
465
+ return l(e, r < 0 ? 0 : r);
466
466
  }
467
467
  function wn(e) {
468
468
  return Array.isArray(e.children) && e.children.length > 0;
@@ -475,16 +475,16 @@ var tt = /* @__PURE__ */ e({ default: () => Tt }), nt = ["id"], rt = ["id"], it
475
475
  return (Number(t.value) || 0) - i;
476
476
  });
477
477
  }
478
- function En(e, t, n, i, a) {
479
- return Tn(e).map((e, o) => {
480
- let s = e.sourceColor || p(e.color) || p(t) || cn.value[o] || r[o] || r[o % r.length], c = e.sourceColor ? e.sourceColor : Cn(s, e, i), l = Sn(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;
478
+ function En(e, t, n, r, i) {
479
+ return Tn(e).map((e, a) => {
480
+ let o = e.sourceColor || p(e.color) || p(t) || cn.value[a] || s[a] || s[a % s.length], c = e.sourceColor ? e.sourceColor : Cn(o, e, r), l = Sn(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;
481
481
  return {
482
482
  ...e,
483
483
  color: c,
484
484
  proportion: l,
485
485
  parentName: n,
486
486
  rootId: u,
487
- children: Array.isArray(e.children) && e.children.length ? En(e.children, s, e.name, d, u) : void 0
487
+ children: Array.isArray(e.children) && e.children.length ? En(e.children, o, e.name, d, u) : void 0
488
488
  };
489
489
  });
490
490
  }
@@ -527,10 +527,10 @@ var tt = /* @__PURE__ */ e({ default: () => Tt }), nt = ["id"], rt = ["id"], it
527
527
  let An = m(() => {
528
528
  let e = W.value.length ? W.value : xn.value, t = e.map((e) => Number(e.value) || 0).reduce((e, t) => e + t, 0) || 1;
529
529
  return kn(e.map((e, n) => {
530
- let i = e.children ? e.children.reduce((e, t) => e + (Number(t.value) || 0), 0) : e.value, { children: o, ...s } = e, c = e.sourceColor || p(e.color) || dn.value.get(e.id) || cn.value[n] || r[n] || r[n % r.length], l = e.sourceColor ? e.sourceColor : Cn(c, e, t);
530
+ let i = e.children ? e.children.reduce((e, t) => e + (Number(t.value) || 0), 0) : e.value, { children: a, ...o } = e, c = e.sourceColor || p(e.color) || dn.value.get(e.id) || cn.value[n] || s[n] || s[n % s.length], l = e.sourceColor ? e.sourceColor : Cn(c, e, t);
531
531
  return {
532
- ...s,
533
- id: e.id || a(),
532
+ ...o,
533
+ id: e.id || r(),
534
534
  parentId: e.parentId ?? null,
535
535
  name: e.name,
536
536
  value: e.value,
@@ -656,17 +656,17 @@ var tt = /* @__PURE__ */ e({ default: () => Tt }), nt = ["id"], rt = ["id"], it
656
656
  return e;
657
657
  }), Q = E(null), Vn = m(() => U.value.map((e, t) => ({
658
658
  ...e,
659
- color: p(e.color) || cn.value[t] || r[t] || r[t % r.length],
659
+ color: p(e.color) || cn.value[t] || s[t] || s[t % s.length],
660
660
  shape: "square"
661
661
  })).sort((e, t) => t.value - e.value).map((e, t) => {
662
- let n = e.value / U.value.map((e) => e.value).reduce((e, t) => e + t, 0);
662
+ let r = e.value / U.value.map((e) => e.value).reduce((e, t) => e + t, 0);
663
663
  return {
664
664
  ...e,
665
- proportion: n,
665
+ proportion: r,
666
666
  isSegregated: M.value.includes(e.id),
667
667
  segregate: () => Gn(e),
668
668
  opacity: M.value.includes(e.id) ? .5 : 1,
669
- display: `${e.name}${I.value.style.chart.legend.showPercentage || I.value.style.chart.legend.showValue ? ": " : ""}${I.value.style.chart.legend.showValue ? ee(I.value.style.chart.layout.labels.formatter, e.value, i({
669
+ display: `${e.name}${I.value.style.chart.legend.showPercentage || I.value.style.chart.legend.showValue ? ": " : ""}${I.value.style.chart.legend.showValue ? te(I.value.style.chart.layout.labels.formatter, e.value, n({
670
670
  p: I.value.style.chart.layout.labels.prefix,
671
671
  v: e.value,
672
672
  s: I.value.style.chart.layout.labels.suffix,
@@ -707,32 +707,32 @@ var tt = /* @__PURE__ */ e({ default: () => Tt }), nt = ["id"], rt = ["id"], it
707
707
  });
708
708
  }
709
709
  let Xn = w(null);
710
- function Zn({ datapoint: e, seriesIndex: t, triggerMode: n = "pointer" }) {
710
+ function Zn({ datapoint: e, seriesIndex: t, triggerMode: r = "pointer" }) {
711
711
  if (Un.value) return;
712
712
  I.value.events.datapointEnter && I.value.events.datapointEnter({
713
713
  datapoint: e,
714
714
  seriesIndex: t
715
- }), F.value = t, qt.value = n, Q.value = e, Xn.value = {
715
+ }), F.value = t, qt.value = r, Q.value = e, Xn.value = {
716
716
  datapoint: e,
717
717
  seriesIndex: t,
718
718
  config: I.value,
719
719
  series: yn.value
720
720
  };
721
- let r = I.value.style.chart.tooltip.customFormat;
722
- if (ne(r) && te(() => r({
721
+ let i = I.value.style.chart.tooltip.customFormat;
722
+ if (ee(i) && ne(() => i({
723
723
  seriesIndex: t,
724
724
  datapoint: e,
725
725
  series: yn.value,
726
726
  config: I.value
727
- }))) kt.value = r({
727
+ }))) kt.value = i({
728
728
  seriesIndex: t,
729
729
  datapoint: e,
730
730
  series: yn.value,
731
731
  config: I.value
732
732
  });
733
733
  else {
734
- let n = "";
735
- n += `<div style="width:100%;text-align:center;border-bottom:1px solid ${I.value.style.chart.tooltip.borderColor};padding-bottom:6px;margin-bottom:3px;">${e.name}</div>`, n += `<div style="display:flex;flex-direction:row;gap:6px;align-items:center;"><svg viewBox="0 0 12 12" height="14" width="14"><rect x="0" y="0" height="12" width="12" stroke="none" fill="${e.color}"/></svg>`, n += `<b>${ee(I.value.style.chart.layout.labels.formatter, e.value, i({
734
+ let r = "";
735
+ r += `<div style="width:100%;text-align:center;border-bottom:1px solid ${I.value.style.chart.tooltip.borderColor};padding-bottom:6px;margin-bottom:3px;">${e.name}</div>`, r += `<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>`, r += `<b>${te(I.value.style.chart.layout.labels.formatter, e.value, n({
736
736
  p: I.value.style.chart.layout.labels.prefix,
737
737
  v: e.value,
738
738
  s: I.value.style.chart.layout.labels.suffix,
@@ -740,7 +740,7 @@ var tt = /* @__PURE__ */ e({ default: () => Tt }), nt = ["id"], rt = ["id"], it
740
740
  }), {
741
741
  datapoint: e,
742
742
  seriesIndex: t
743
- })}</b>`, kt.value = `<div>${n}</div>`;
743
+ })}</b>`, kt.value = `<div>${r}</div>`;
744
744
  }
745
745
  Ot.value = !0;
746
746
  }
@@ -757,7 +757,7 @@ var tt = /* @__PURE__ */ e({ default: () => Tt }), nt = ["id"], rt = ["id"], it
757
757
  [e.name],
758
758
  [$.value.body[t]],
759
759
  [isNaN($.value.body[t] / bn.value) ? "-" : $.value.body[t] / bn.value * 100]
760
- ]), n = l([
760
+ ]), n = c([
761
761
  [I.value.style.chart.title.text],
762
762
  [I.value.style.chart.title.subtitle.text],
763
763
  [
@@ -766,7 +766,7 @@ var tt = /* @__PURE__ */ e({ default: () => Tt }), nt = ["id"], rt = ["id"], it
766
766
  ["%"]
767
767
  ]
768
768
  ].concat(t));
769
- e ? e(n) : o({
769
+ e ? e(n) : a({
770
770
  csvContent: n,
771
771
  title: I.value.style.chart.title.text || "vue-ui-treemap"
772
772
  });
@@ -778,7 +778,7 @@ var tt = /* @__PURE__ */ e({ default: () => Tt }), nt = ["id"], rt = ["id"], it
778
778
  I.value.table.columnNames.value,
779
779
  I.value.table.columnNames.percentage
780
780
  ], t = $.value.head.map((e, t) => {
781
- let n = ee(I.value.style.chart.layout.labels.formatter, $.value.body[t], i({
781
+ let r = te(I.value.style.chart.layout.labels.formatter, $.value.body[t], n({
782
782
  p: I.value.style.chart.layout.labels.prefix,
783
783
  v: $.value.body[t],
784
784
  s: I.value.style.chart.layout.labels.suffix,
@@ -790,14 +790,14 @@ var tt = /* @__PURE__ */ e({ default: () => Tt }), nt = ["id"], rt = ["id"], it
790
790
  name: e.name,
791
791
  shape: "square"
792
792
  },
793
- n,
794
- isNaN($.value.body[t] / bn.value) ? "-" : i({
793
+ r,
794
+ isNaN($.value.body[t] / bn.value) ? "-" : n({
795
795
  v: $.value.body[t] / bn.value * 100,
796
796
  s: "%",
797
797
  r: I.value.table.td.roundingPercentage
798
798
  })
799
799
  ];
800
- }), n = {
800
+ }), r = {
801
801
  th: {
802
802
  backgroundColor: I.value.table.th.backgroundColor,
803
803
  color: I.value.table.th.color,
@@ -814,7 +814,7 @@ var tt = /* @__PURE__ */ e({ default: () => Tt }), nt = ["id"], rt = ["id"], it
814
814
  colNames: [I.value.table.columnNames.series, I.value.table.columnNames.value],
815
815
  head: e,
816
816
  body: t,
817
- config: n
817
+ config: r
818
818
  };
819
819
  });
820
820
  function er() {
@@ -951,9 +951,9 @@ var tt = /* @__PURE__ */ e({ default: () => Tt }), nt = ["id"], rt = ["id"], it
951
951
  return re(e.color ?? I.value.style.chart.backgroundColor);
952
952
  }
953
953
  function xr(e, t) {
954
- let { fontSize: n, lineHeight: r } = vr(e), a = Dr(e), o = Or(e);
954
+ let { fontSize: r, lineHeight: i } = vr(e), a = Dr(e), o = Or(e);
955
955
  if (a <= 0 || o <= 0) return [];
956
- let s = Math.max(Math.floor(o / Math.max(r, 1)), 1), c = ee(I.value.style.chart.layout.labels.formatter, e.value, i({
956
+ let s = Math.max(Math.floor(o / Math.max(i, 1)), 1), c = te(I.value.style.chart.layout.labels.formatter, e.value, n({
957
957
  p: I.value.style.chart.layout.labels.prefix,
958
958
  v: e.value,
959
959
  s: I.value.style.chart.layout.labels.suffix,
@@ -961,15 +961,15 @@ var tt = /* @__PURE__ */ e({ default: () => Tt }), nt = ["id"], rt = ["id"], it
961
961
  }), {
962
962
  datapoint: e,
963
963
  seriesIndex: t
964
- }), l = Math.ceil(n * .2), u = Math.ceil(n * 1.4), d = Math.max(a - u - l, 0);
964
+ }), l = Math.ceil(r * .2), u = Math.ceil(r * 1.4), d = Math.max(a - u - l, 0);
965
965
  if (d <= 0) return [];
966
966
  if (Array.isArray(e.children) && e.children.length) {
967
- let t = Er(`${e.name} (${c})`, d, n, 500);
967
+ let t = Er(`${e.name} (${c})`, d, r, 500);
968
968
  return t ? [t] : [];
969
969
  }
970
- let f = [], te = Er(`${e.name}`, d, n, 500);
971
- if (te && f.push(te), s >= 2) {
972
- let e = Er(c, d, n, 400);
970
+ let f = [], ee = Er(`${e.name}`, d, r, 500);
971
+ if (ee && f.push(ee), s >= 2) {
972
+ let e = Er(c, d, r, 400);
973
973
  e && f.push(e);
974
974
  }
975
975
  return f.slice(0, s);
@@ -1005,7 +1005,7 @@ var tt = /* @__PURE__ */ e({ default: () => Tt }), nt = ["id"], rt = ["id"], it
1005
1005
  text-anchor="start"
1006
1006
  dominant-baseline="text-before-edge"
1007
1007
  >
1008
- ${d(e)}
1008
+ ${f(e)}
1009
1009
  </text>
1010
1010
  `;
1011
1011
  }).join("")}
@@ -1357,7 +1357,7 @@ var tt = /* @__PURE__ */ e({ default: () => Tt }), nt = ["id"], rt = ["id"], it
1357
1357
  "stop-color": e.color
1358
1358
  }, null, 8, mt), v("stop", {
1359
1359
  offset: "100%",
1360
- "stop-color": D(f)(e.color, I.value.style.chart.layout.rects.gradient.intensity / 100)
1360
+ "stop-color": D(l)(e.color, I.value.style.chart.layout.rects.gradient.intensity / 100)
1361
1361
  }, null, 8, ht)], 8, pt)])) : g("", !0)]))), 128)),
1362
1362
  v("g", null, [
1363
1363
  (C(!0), _(Te, null, Fe(K.value, (e, t) => (C(), _("g", { key: `rect_${e.id}_${e.depth}` }, [v("rect", {
@@ -1491,7 +1491,7 @@ var tt = /* @__PURE__ */ e({ default: () => Tt }), nt = ["id"], rt = ["id"], it
1491
1491
  parent: N.value,
1492
1492
  content: kt.value,
1493
1493
  isFullscreen: j.value,
1494
- isCustom: D(ne)(I.value.style.chart.tooltip.customFormat),
1494
+ isCustom: D(ee)(I.value.style.chart.tooltip.customFormat),
1495
1495
  smooth: I.value.style.chart.tooltip.smooth,
1496
1496
  backdropFilter: I.value.style.chart.tooltip.backdropFilter,
1497
1497
  smoothForce: I.value.style.chart.tooltip.smoothForce,