vue-data-ui 3.3.2 → 3.3.3

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 (155) hide show
  1. package/dist/{Arrow-DLi6NnGD.js → Arrow-ayTeSvpe.js} +1 -1
  2. package/dist/{BaseDraggableDialog-CVGErydD.js → BaseDraggableDialog-Cysanw8-.js} +2 -2
  3. package/dist/{BaseIcon-eZbszQrv.js → BaseIcon-DG6cvf2h.js} +1 -1
  4. package/dist/{ColorPicker-BoPM4Ejg.js → ColorPicker-CA8kKZjZ.js} +2 -2
  5. package/dist/{DataTable-yAMEyP6y.js → DataTable-DUpZ_s2c.js} +2 -2
  6. package/dist/{Legend-By4rru90.js → Legend-CCBZ2x8T.js} +2 -2
  7. package/dist/{NonSvgPenAndPaper-C7QqIewT.js → NonSvgPenAndPaper-D2IMGwaN.js} +3 -3
  8. package/dist/{PackageVersion-r-Q1R3nV.js → PackageVersion-CQvYRebC.js} +1 -1
  9. package/dist/{PenAndPaper-Bo-lMUik.js → PenAndPaper-D9LruJaM.js} +3 -3
  10. package/dist/{Shape-BceHSLHf.js → Shape-BS9UGhNq.js} +1 -1
  11. package/dist/{Slicer-Znzt0gSE.js → Slicer-BOki89CB.js} +2 -2
  12. package/dist/{SparkTooltip--YwqrrgZ.js → SparkTooltip-svd8Hb6c.js} +1 -1
  13. package/dist/{Title-Camz1Lce.js → Title-B6rAo9Oz.js} +1 -1
  14. package/dist/{Tooltip-VOcQEHa4.js → Tooltip-DaInVNiV.js} +1 -1
  15. package/dist/{UserOptions-CSja1SGU.js → UserOptions-CJXSEhan.js} +2 -2
  16. package/dist/components/arrow.js +1 -1
  17. package/dist/components/vue-ui-3d-bar.js +1 -1
  18. package/dist/components/vue-ui-accordion.js +1 -1
  19. package/dist/components/vue-ui-age-pyramid.js +1 -1
  20. package/dist/components/vue-ui-annotator.js +1 -1
  21. package/dist/components/vue-ui-bullet.js +1 -1
  22. package/dist/components/vue-ui-candlestick.js +1 -1
  23. package/dist/components/vue-ui-carousel-table.js +1 -1
  24. package/dist/components/vue-ui-chestnut.js +1 -1
  25. package/dist/components/vue-ui-chord.js +1 -1
  26. package/dist/components/vue-ui-circle-pack.js +1 -1
  27. package/dist/components/vue-ui-cursor.js +1 -1
  28. package/dist/components/vue-ui-dashboard.js +1 -1
  29. package/dist/components/vue-ui-digits.js +1 -1
  30. package/dist/components/vue-ui-donut-evolution.js +1 -1
  31. package/dist/components/vue-ui-donut.js +1 -1
  32. package/dist/components/vue-ui-dumbbell.js +1 -1
  33. package/dist/components/vue-ui-flow.js +1 -1
  34. package/dist/components/vue-ui-funnel.js +1 -1
  35. package/dist/components/vue-ui-galaxy.js +1 -1
  36. package/dist/components/vue-ui-gauge.js +1 -1
  37. package/dist/components/vue-ui-gizmo.js +1 -1
  38. package/dist/components/vue-ui-heatmap.js +1 -1
  39. package/dist/components/vue-ui-history-plot.js +1 -1
  40. package/dist/components/vue-ui-horizontal-bar.js +1 -1
  41. package/dist/components/vue-ui-icon.js +1 -1
  42. package/dist/components/vue-ui-kpi.js +1 -1
  43. package/dist/components/vue-ui-mini-loader.js +1 -1
  44. package/dist/components/vue-ui-molecule.js +1 -1
  45. package/dist/components/vue-ui-mood-radar.js +1 -1
  46. package/dist/components/vue-ui-nested-donuts.js +1 -1
  47. package/dist/components/vue-ui-onion.js +1 -1
  48. package/dist/components/vue-ui-parallel-coordinate-plot.js +1 -1
  49. package/dist/components/vue-ui-quadrant.js +1 -1
  50. package/dist/components/vue-ui-quick-chart.js +1 -1
  51. package/dist/components/vue-ui-radar.js +1 -1
  52. package/dist/components/vue-ui-rating.js +1 -1
  53. package/dist/components/vue-ui-relation-circle.js +1 -1
  54. package/dist/components/vue-ui-ridgeline.js +1 -1
  55. package/dist/components/vue-ui-rings.js +1 -1
  56. package/dist/components/vue-ui-scatter.js +1 -1
  57. package/dist/components/vue-ui-skeleton.js +1 -1
  58. package/dist/components/vue-ui-smiley.js +1 -1
  59. package/dist/components/vue-ui-spark-trend.js +1 -1
  60. package/dist/components/vue-ui-sparkbar.js +1 -1
  61. package/dist/components/vue-ui-sparkgauge.js +1 -1
  62. package/dist/components/vue-ui-sparkhistogram.js +1 -1
  63. package/dist/components/vue-ui-sparkline.js +1 -1
  64. package/dist/components/vue-ui-sparkstackbar.js +1 -1
  65. package/dist/components/vue-ui-stackbar.js +1 -1
  66. package/dist/components/vue-ui-strip-plot.js +1 -1
  67. package/dist/components/vue-ui-table-heatmap.js +1 -1
  68. package/dist/components/vue-ui-table-sparkline.js +1 -1
  69. package/dist/components/vue-ui-table.js +1 -1
  70. package/dist/components/vue-ui-thermometer.js +1 -1
  71. package/dist/components/vue-ui-timer.js +1 -1
  72. package/dist/components/vue-ui-tiremarks.js +1 -1
  73. package/dist/components/vue-ui-treemap.js +1 -1
  74. package/dist/components/vue-ui-vertical-bar.js +1 -1
  75. package/dist/components/vue-ui-waffle.js +1 -1
  76. package/dist/components/vue-ui-wheel.js +1 -1
  77. package/dist/components/vue-ui-word-cloud.js +1 -1
  78. package/dist/components/vue-ui-world.js +1 -1
  79. package/dist/components/vue-ui-xy-canvas.js +1 -1
  80. package/dist/components/vue-ui-xy.js +1 -1
  81. package/dist/{dom-to-png-DxyZSvDx.js → dom-to-png-Tq92GZKA.js} +1 -1
  82. package/dist/{img-J2dLIr8Y.js → img-DI-W68vp.js} +1 -1
  83. package/dist/{lib-CEjkWSLj.js → lib-CSDxt1Zh.js} +12 -12
  84. package/dist/{pdf-anN8VbM7.js → pdf-BzVpWnNO.js} +1 -1
  85. package/dist/style.css +1 -1
  86. package/dist/{useAutoSizeLabelsInsideViewbox-CovTrBjm.js → useAutoSizeLabelsInsideViewbox-CtQ7pJ8G.js} +1 -1
  87. package/dist/{useNestedProp-Ce3PwN8T.js → useNestedProp-Dh-ldrr5.js} +1 -1
  88. package/dist/{usePrinter-DJ1iH-F_.js → usePrinter-Cq8Pt6Lh.js} +2 -2
  89. package/dist/useTimeLabelCollider-CIsgDrl9.js +78 -0
  90. package/dist/{vue-data-ui-BFdGl7rL.js → vue-data-ui-CDY7snWF.js} +64 -64
  91. package/dist/vue-data-ui.js +68 -68
  92. package/dist/{vue-ui-3d-bar-kzlIaqHU.js → vue-ui-3d-bar-DbpiTjGu.js} +6 -6
  93. package/dist/{vue-ui-accordion-VTP418mC.js → vue-ui-accordion-CaClZrCp.js} +3 -3
  94. package/dist/{vue-ui-age-pyramid-YFzQ15k1.js → vue-ui-age-pyramid-DuIxXz5p.js} +35 -28
  95. package/dist/{vue-ui-annotator-CmwDyy9m.js → vue-ui-annotator-C2efSKQK.js} +7 -7
  96. package/dist/{vue-ui-bullet-DdjpiM-T.js → vue-ui-bullet-qpcqLKmp.js} +7 -7
  97. package/dist/{vue-ui-candlestick-x9U5Ni0N.js → vue-ui-candlestick-DTWbbdGH.js} +38 -31
  98. package/dist/{vue-ui-carousel-table-CRI_iPLn.js → vue-ui-carousel-table-CCTtArFX.js} +4 -4
  99. package/dist/{vue-ui-chestnut-YrEA5Gq3.js → vue-ui-chestnut-CbvxJ8hy.js} +5 -5
  100. package/dist/{vue-ui-chord-D_2DdvpZ.js → vue-ui-chord-Cp9nyIdv.js} +8 -8
  101. package/dist/{vue-ui-circle-pack-xm9-OOAR.js → vue-ui-circle-pack-kHzd0UYO.js} +21 -21
  102. package/dist/{vue-ui-cursor-Dt8Zzw22.js → vue-ui-cursor-DEvkJRCz.js} +2 -2
  103. package/dist/{vue-ui-dashboard-29ZuFoLn.js → vue-ui-dashboard-k_mz9iwy.js} +67 -67
  104. package/dist/{vue-ui-digits-nKPRJ9Vz.js → vue-ui-digits-CqWCkEu2.js} +2 -2
  105. package/dist/{vue-ui-donut-BQptfVfE.js → vue-ui-donut-CDKS6sVu.js} +8 -8
  106. package/dist/{vue-ui-donut-evolution-fiqngEFW.js → vue-ui-donut-evolution-C6cGI_P3.js} +83 -76
  107. package/dist/{vue-ui-dumbbell-Cw45EBO0.js → vue-ui-dumbbell-ZjJst3xs.js} +38 -31
  108. package/dist/{vue-ui-flow-DPu9BjPy.js → vue-ui-flow-sX1PYIkr.js} +7 -7
  109. package/dist/{vue-ui-funnel-CtlDuNjO.js → vue-ui-funnel--VViM9gH.js} +6 -6
  110. package/dist/{vue-ui-galaxy-BiVjoNHW.js → vue-ui-galaxy-Du0V9GF8.js} +7 -7
  111. package/dist/{vue-ui-gauge-CoM6Q3Nb.js → vue-ui-gauge-BAe4p2g-.js} +7 -7
  112. package/dist/{vue-ui-gizmo-DXG8dS5u.js → vue-ui-gizmo-CfjwAt38.js} +3 -3
  113. package/dist/{vue-ui-heatmap-D6n8AnCc.js → vue-ui-heatmap-Q0jrPM5h.js} +466 -436
  114. package/dist/{vue-ui-history-plot-C8WMHda_.js → vue-ui-history-plot-CLSN3mPy.js} +45 -38
  115. package/dist/{vue-ui-kpi-Dphnwumo.js → vue-ui-kpi-CBRgXD1s.js} +3 -3
  116. package/dist/{vue-ui-mini-loader-DFk9GZ5V.js → vue-ui-mini-loader-3yCeDEPK.js} +2 -2
  117. package/dist/{vue-ui-molecule-DC4_vXt_.js → vue-ui-molecule-Ddh4hbX0.js} +5 -5
  118. package/dist/{vue-ui-mood-radar-BgT5wMS0.js → vue-ui-mood-radar-CK8UF-ka.js} +7 -7
  119. package/dist/{vue-ui-nested-donuts-D2gSqe1f.js → vue-ui-nested-donuts-DO0FV0tU.js} +7 -7
  120. package/dist/{vue-ui-onion-CEbv2ii4.js → vue-ui-onion-DXLqoj-4.js} +8 -8
  121. package/dist/{vue-ui-parallel-coordinate-plot-budrvcwU.js → vue-ui-parallel-coordinate-plot-BlffHAHB.js} +45 -38
  122. package/dist/{vue-ui-quadrant-PpymeiXe.js → vue-ui-quadrant-pw2ALj7p.js} +8 -8
  123. package/dist/{vue-ui-quick-chart-k6mjTD56.js → vue-ui-quick-chart-9oGbV593.js} +214 -207
  124. package/dist/{vue-ui-radar-C5NvYMnv.js → vue-ui-radar-Csznqw19.js} +8 -8
  125. package/dist/{vue-ui-rating-eKlTJch9.js → vue-ui-rating-C4yZY1sb.js} +2 -2
  126. package/dist/{vue-ui-relation-circle-Df33aaUT.js → vue-ui-relation-circle-Duxv-A4H.js} +7 -7
  127. package/dist/{vue-ui-ridgeline-BTw-37RS.js → vue-ui-ridgeline-B-q7J-C0.js} +45 -38
  128. package/dist/{vue-ui-rings-C_s9xOtZ.js → vue-ui-rings-PRAcmP1H.js} +8 -8
  129. package/dist/{vue-ui-scatter-Jd8bQ0S5.js → vue-ui-scatter-BLW4MJtJ.js} +8 -8
  130. package/dist/{vue-ui-skeleton-Ce7H57o7.js → vue-ui-skeleton-D0PF0jxa.js} +3 -3
  131. package/dist/{vue-ui-smiley-C4mhT7ZV.js → vue-ui-smiley-Be44gMTh.js} +2 -2
  132. package/dist/{vue-ui-spark-trend-DQy4iSO7.js → vue-ui-spark-trend-B2XY2dRa.js} +3 -3
  133. package/dist/{vue-ui-sparkbar-CUFTHql0.js → vue-ui-sparkbar-DWQN4gvR.js} +3 -3
  134. package/dist/{vue-ui-sparkgauge-CcykuBps.js → vue-ui-sparkgauge-fDhQGQ12.js} +3 -3
  135. package/dist/{vue-ui-sparkhistogram-CyGvYpYn.js → vue-ui-sparkhistogram-f7Acvipt.js} +4 -4
  136. package/dist/{vue-ui-sparkline-CLWJM6hA.js → vue-ui-sparkline-Ys3JW7Ap.js} +3 -3
  137. package/dist/{vue-ui-sparkstackbar-Cln1pduE.js → vue-ui-sparkstackbar-Dv0HeSna.js} +3 -3
  138. package/dist/{vue-ui-stackbar-DIUil9DO.js → vue-ui-stackbar-DUlN5QiM.js} +45 -30
  139. package/dist/{vue-ui-strip-plot-C4U0fT5D.js → vue-ui-strip-plot-DN13ntF-.js} +113 -106
  140. package/dist/{vue-ui-table-DpdP3PDq.js → vue-ui-table-Qb5tDX1n.js} +5 -5
  141. package/dist/{vue-ui-table-heatmap-J29d8nds.js → vue-ui-table-heatmap-hMrgJ25a.js} +5 -5
  142. package/dist/{vue-ui-table-sparkline-Chf5YY4A.js → vue-ui-table-sparkline-CdkFyJjv.js} +4 -4
  143. package/dist/{vue-ui-thermometer-D6RmaNE6.js → vue-ui-thermometer-D7U2C7kJ.js} +7 -7
  144. package/dist/{vue-ui-timer-C5E1kJRt.js → vue-ui-timer-KtA4M2mV.js} +5 -5
  145. package/dist/{vue-ui-tiremarks-D0erVBnj.js → vue-ui-tiremarks-C6GTGszq.js} +6 -6
  146. package/dist/{vue-ui-treemap-K8FYxuYz.js → vue-ui-treemap-rhnl1TW9.js} +8 -8
  147. package/dist/{vue-ui-vertical-bar-BA3OY8Sh.js → vue-ui-vertical-bar-n_Lvbd_X.js} +9 -9
  148. package/dist/{vue-ui-waffle-CgLgPuro.js → vue-ui-waffle-D-4whGLN.js} +8 -8
  149. package/dist/{vue-ui-wheel-C_cOUhCs.js → vue-ui-wheel-D92HLjfr.js} +6 -6
  150. package/dist/{vue-ui-word-cloud-uvHNOIpN.js → vue-ui-word-cloud-Df9AMw6v.js} +20 -20
  151. package/dist/{vue-ui-world-DmeNMwpX.js → vue-ui-world-Bg9S35ug.js} +6 -6
  152. package/dist/{vue-ui-xy-tWE4H5ij.js → vue-ui-xy-Da6oy2rm.js} +284 -277
  153. package/dist/{vue-ui-xy-canvas-BQKR36bd.js → vue-ui-xy-canvas-0CLSIKpO.js} +10 -10
  154. package/package.json +1 -1
  155. package/dist/useResizeObserverEffect-DfnWps4W.js +0 -109
@@ -1,21 +1,21 @@
1
- import { defineAsyncComponent as E, ref as i, shallowRef as xt, computed as y, onMounted as il, toRefs as cl, nextTick as Ie, watch as re, onBeforeUnmount as vl, createElementBlock as n, openBlock as u, unref as c, normalizeStyle as Q, normalizeClass as N, createBlock as O, createCommentVNode as v, createElementVNode as b, createSlots as pt, withCtx as p, renderSlot as S, normalizeProps as Z, guardReactiveProps as ee, createVNode as kt, Fragment as $, renderList as z, toDisplayString as k, Teleport as dl, resolveDynamicComponent as hl, mergeProps as yl, createTextVNode as De } from "vue";
2
- import { c as Ct, o as wt, f as ie, g as gl, t as fl, b as bl, p as ce, B as _t, e as ml, h as Oe, J as xl, C as Lt, n as Te, a as Ne, d as ve, X as pl, s as te, K as kl, L as Cl, u as wl, v as _l, w as At, x as Ll, y as Al, M as St, N as Sl } from "./lib-CEjkWSLj.js";
3
- import { t as $t, u as $l } from "./useResponsive-DfdjqQps.js";
4
- import { u as zl, a as zt } from "./useNestedProp-Ce3PwN8T.js";
5
- import { u as Il } from "./usePrinter-DJ1iH-F_.js";
6
- import { u as Dl, B as Ol } from "./BaseScanner-BgWxam9d.js";
7
- import { u as Tl } from "./useSvgExport-DrjCWun4.js";
8
- import { u as Nl } from "./useTimeLabels-BGFjWgrv.js";
9
- import { u as Pl } from "./useUserOptionState-BIvW1Kz7.js";
10
- import { u as Rl } from "./useChartAccessibility-9icAAmYg.js";
11
- import { u as Fl, a as El } from "./useResizeObserverEffect-DfnWps4W.js";
12
- import Vl from "./img-J2dLIr8Y.js";
13
- import Bl from "./Title-Camz1Lce.js";
1
+ import { defineAsyncComponent as E, ref as i, shallowRef as xt, computed as y, onMounted as il, toRefs as cl, nextTick as Ie, watch as re, watchEffect as vl, onBeforeUnmount as dl, createElementBlock as n, openBlock as u, unref as c, normalizeStyle as Q, normalizeClass as N, createBlock as O, createCommentVNode as v, createElementVNode as b, createSlots as pt, withCtx as p, renderSlot as S, normalizeProps as Z, guardReactiveProps as ee, createVNode as kt, Fragment as $, renderList as z, toDisplayString as k, Teleport as hl, resolveDynamicComponent as yl, mergeProps as gl, createTextVNode as De } from "vue";
2
+ import { c as wt, o as Ct, f as ie, g as fl, t as bl, b as ml, p as ce, B as _t, e as xl, h as Oe, J as pl, C as Lt, n as Te, a as Ne, d as ve, X as kl, s as te, K as wl, L as Cl, u as _l, v as Ll, w as At, x as Al, y as Sl, M as St, N as $l } from "./lib-CSDxt1Zh.js";
3
+ import { t as $t, u as zl } from "./useResponsive-DfdjqQps.js";
4
+ import { u as Il, a as zt } from "./useNestedProp-Dh-ldrr5.js";
5
+ import { u as Dl } from "./usePrinter-Cq8Pt6Lh.js";
6
+ import { u as Ol, B as Tl } from "./BaseScanner-BgWxam9d.js";
7
+ import { u as Nl } from "./useSvgExport-DrjCWun4.js";
8
+ import { u as Pl } from "./useTimeLabels-BGFjWgrv.js";
9
+ import { u as Rl } from "./useUserOptionState-BIvW1Kz7.js";
10
+ import { u as Fl } from "./useChartAccessibility-9icAAmYg.js";
11
+ import { u as El } from "./useTimeLabelCollider-CIsgDrl9.js";
12
+ import Vl from "./img-DI-W68vp.js";
13
+ import Bl from "./Title-B6rAo9Oz.js";
14
14
  import { t as Ml } from "./themes-Dw-dDudK.js";
15
- import Hl from "./Legend-By4rru90.js";
16
- import { S as Ul } from "./Slicer-Znzt0gSE.js";
15
+ import Hl from "./Legend-CCBZ2x8T.js";
16
+ import { S as Ul } from "./Slicer-BOki89CB.js";
17
17
  import { _ as Xl } from "./_plugin-vue_export-helper-CHgC5LLL.js";
18
- const Wl = ["id"], Gl = ["id"], Yl = ["xmlns", "viewBox"], jl = ["x", "y", "width", "height"], ql = ["id"], Jl = ["stop-color"], Kl = ["stop-color"], Ql = ["id"], Zl = ["stop-color"], ea = ["stop-color"], ta = ["stop-color"], la = { key: 1 }, aa = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], oa = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], ua = { key: 0 }, sa = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], na = ["font-size", "fill", "transform"], ra = ["x", "y", "font-size", "fill"], ia = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], ca = ["x", "y", "font-size", "fill", "font-weight"], va = { key: 0 }, da = ["text-anchor", "font-size", "fill", "transform"], ha = ["text-anchor", "font-size", "fill", "transform", "innerHTML"], ya = ["x1", "y1", "x2", "y2", "stroke", "stroke-width"], ga = { key: 1 }, fa = ["cx", "cy", "r", "fill"], ba = { key: 0 }, ma = { key: 0 }, xa = ["d", "stroke"], pa = ["text-anchor", "x", "y", "fill"], ka = ["cx", "cy", "r", "fill"], Ca = { key: 0 }, wa = ["cx", "cy", "fill"], _a = { key: 1 }, La = ["d", "fill", "stroke"], Aa = { key: 2 }, Sa = ["d", "fill", "stroke"], $a = ["x", "y", "font-size", "fill"], za = ["x", "y", "width", "height", "fill"], Ia = ["x", "y", "width", "height", "onMouseenter", "onMouseleave", "onClick"], Da = {
18
+ const Wl = ["id"], Gl = ["id"], Yl = ["xmlns", "viewBox"], jl = ["x", "y", "width", "height"], ql = ["id"], Jl = ["stop-color"], Kl = ["stop-color"], Ql = ["id"], Zl = ["stop-color"], ea = ["stop-color"], ta = ["stop-color"], la = { key: 1 }, aa = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], oa = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], ua = { key: 0 }, sa = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], na = ["font-size", "fill", "transform"], ra = ["x", "y", "font-size", "fill"], ia = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], ca = ["x", "y", "font-size", "fill", "font-weight"], va = { key: 0 }, da = ["text-anchor", "font-size", "fill", "transform"], ha = ["text-anchor", "font-size", "fill", "transform", "innerHTML"], ya = ["x1", "y1", "x2", "y2", "stroke", "stroke-width"], ga = { key: 1 }, fa = ["cx", "cy", "r", "fill"], ba = { key: 0 }, ma = { key: 0 }, xa = ["d", "stroke"], pa = ["text-anchor", "x", "y", "fill"], ka = ["cx", "cy", "r", "fill"], wa = { key: 0 }, Ca = ["cx", "cy", "fill"], _a = { key: 1 }, La = ["d", "fill", "stroke"], Aa = { key: 2 }, Sa = ["d", "fill", "stroke"], $a = ["x", "y", "font-size", "fill"], za = ["x", "y", "width", "height", "fill"], Ia = ["x", "y", "width", "height", "onMouseenter", "onMouseleave", "onClick"], Da = {
19
19
  key: 4,
20
20
  class: "vue-data-ui-watermark"
21
21
  }, Oa = ["id"], Ta = ["onClick"], Na = { key: 0 }, Pa = { key: 1 }, Ra = {
@@ -36,18 +36,18 @@ const Wl = ["id"], Gl = ["id"], Yl = ["xmlns", "viewBox"], jl = ["x", "y", "widt
36
36
  },
37
37
  emits: ["selectLegend"],
38
38
  setup(It, { expose: Dt, emit: Ot }) {
39
- const Tt = E(() => import("./vue-ui-accordion-VTP418mC.js")), Nt = E(() => import("./BaseIcon-eZbszQrv.js")), Pt = E(() => import("./DataTable-yAMEyP6y.js")), Rt = E(() => import("./PackageVersion-r-Q1R3nV.js")), Ft = E(() => import("./PenAndPaper-Bo-lMUik.js")), Et = E(() => import("./UserOptions-CSja1SGU.js")), Vt = E(() => import("./vue-ui-donut-BQptfVfE.js")), Pe = E(() => import("./BaseDraggableDialog-CVGErydD.js")), { vue_ui_donut_evolution: Bt } = zl(), m = It, T = i(Ct()), w = i([]), f = i(null), le = i(null), de = i(!1), V = i(null), P = i(null), Mt = i(null), Re = i(0), Fe = i(0), Ee = i(0), Ve = i(0), Be = i(0), he = i(null), ae = i(null), ye = i(null), ge = i(null), Me = i(!1), Y = i(null), fe = i(null), He = i(null), Ue = i(null), Xe = i(null), We = i(null), Ge = i(null), be = i(!1), j = xt(null), oe = xt(null), Ye = i(null), je = Ot, qe = y(() => !!m.dataset && m.dataset.length);
39
+ const Tt = E(() => import("./vue-ui-accordion-CaClZrCp.js")), Nt = E(() => import("./BaseIcon-DG6cvf2h.js")), Pt = E(() => import("./DataTable-DUpZ_s2c.js")), Rt = E(() => import("./PackageVersion-CQvYRebC.js")), Ft = E(() => import("./PenAndPaper-D9LruJaM.js")), Et = E(() => import("./UserOptions-CJXSEhan.js")), Vt = E(() => import("./vue-ui-donut-CDKS6sVu.js")), Pe = E(() => import("./BaseDraggableDialog-Cysanw8-.js")), { vue_ui_donut_evolution: Bt } = Il(), m = It, T = i(wt()), C = i([]), f = i(null), le = i(null), de = i(!1), V = i(null), P = i(null), Mt = i(null), Re = i(0), Fe = i(0), Ee = i(0), Ve = i(0), Be = i(0), he = i(null), ae = i(null), ye = i(null), ge = i(null), Me = i(!1), Y = i(null), fe = i(null), He = i(null), Ue = i(null), Xe = i(null), We = i(null), Ge = i(null), be = i(!1), j = xt(null), oe = xt(null), Ye = i(null), je = Ot, qe = y(() => !!m.dataset && m.dataset.length);
40
40
  il(() => {
41
41
  Me.value = !0, Je();
42
42
  });
43
43
  const ue = y(() => !!e.value.debug);
44
44
  function Je() {
45
- if (wt(m.dataset) ? (ie({
45
+ if (Ct(m.dataset) ? (ie({
46
46
  componentName: "VueUiDonutEvolution",
47
47
  type: "dataset",
48
48
  debug: ue.value
49
49
  }), se.value = !0) : m.dataset.length && m.dataset.forEach((t, a) => {
50
- gl({
50
+ fl({
51
51
  datasetObject: t,
52
52
  requiredAttributes: ["name", "values"]
53
53
  }).forEach((l) => {
@@ -59,12 +59,12 @@ const Wl = ["id"], Gl = ["id"], Yl = ["xmlns", "viewBox"], jl = ["x", "y", "widt
59
59
  debug: ue.value
60
60
  }), se.value = !0;
61
61
  });
62
- }), wt(m.dataset) || (se.value = e.value.loading), setTimeout(() => {
62
+ }), Ct(m.dataset) || (se.value = e.value.loading), setTimeout(() => {
63
63
  be.value = !0;
64
64
  }, 10), xe(), e.value.responsive) {
65
65
  const t = $t(() => {
66
66
  be.value = !1;
67
- const { width: a, height: l } = $l({
67
+ const { width: a, height: l } = zl({
68
68
  chart: P.value,
69
69
  title: e.value.style.chart.title.text ? He.value : null,
70
70
  legend: e.value.style.chart.legend.show ? Ue.value : null,
@@ -80,10 +80,10 @@ const Wl = ["id"], Gl = ["id"], Yl = ["xmlns", "viewBox"], jl = ["x", "y", "widt
80
80
  j.value && (oe.value && j.value.unobserve(oe.value), j.value.disconnect()), j.value = new ResizeObserver(t), oe.value = P.value.parentNode, j.value.observe(oe.value);
81
81
  }
82
82
  }
83
- const e = i(Ce()), { loading: Ke, FINAL_DATASET: me, manualLoading: se } = Dl({
83
+ const e = i(we()), { loading: Ke, FINAL_DATASET: me, manualLoading: se } = Ol({
84
84
  ...cl(m),
85
85
  FINAL_CONFIG: e,
86
- prepareConfig: Ce,
86
+ prepareConfig: we,
87
87
  callback: () => {
88
88
  Promise.resolve().then(async () => {
89
89
  await xe();
@@ -106,7 +106,7 @@ const Wl = ["id"], Gl = ["id"], Yl = ["xmlns", "viewBox"], jl = ["x", "y", "widt
106
106
  color: "#CACACA"
107
107
  }
108
108
  ],
109
- skeletonConfig: fl({
109
+ skeletonConfig: bl({
110
110
  defaultConfig: e.value,
111
111
  userConfig: {
112
112
  useCssAnimation: !1,
@@ -170,8 +170,8 @@ const Wl = ["id"], Gl = ["id"], Yl = ["xmlns", "viewBox"], jl = ["x", "y", "widt
170
170
  const a = I.value;
171
171
  return t > a ? a : t < 0 || e.value.style.chart.zoom.startIndex !== null && t < e.value.style.chart.zoom.startIndex ? e.value.style.chart.zoom.startIndex !== null ? e.value.style.chart.zoom.startIndex + 1 : 1 : t;
172
172
  }
173
- const { userOptionsVisible: pe, setUserOptionsVisibility: et, keepUserOptionState: tt } = Pl({ config: e.value }), { svgRef: ke } = Rl({ config: e.value.style.chart.title });
174
- function Ce() {
173
+ const { userOptionsVisible: pe, setUserOptionsVisibility: et, keepUserOptionState: tt } = Rl({ config: e.value }), { svgRef: ke } = Fl({ config: e.value.style.chart.title });
174
+ function we() {
175
175
  const t = zt({
176
176
  userConfig: m.config,
177
177
  defaultConfig: Bt
@@ -182,19 +182,19 @@ const Wl = ["id"], Gl = ["id"], Yl = ["xmlns", "viewBox"], jl = ["x", "y", "widt
182
182
  userConfig: Ml.vue_ui_donut_evolution[t.theme] || m.config,
183
183
  defaultConfig: t
184
184
  }),
185
- customPalette: bl[t.theme] || ce
185
+ customPalette: ml[t.theme] || ce
186
186
  } : a = t, m.config && _t(m.config, "style.chart.zoom.startIndex") ? a.style.chart.zoom.startIndex = m.config.style.chart.zoom.startIndex : a.style.chart.zoom.startIndex = null, m.config && _t(m.config, "style.chart.zoom.endIndex") ? a.style.chart.zoom.endIndex = m.config.style.chart.zoom.endIndex : a.style.chart.zoom.endIndex = null, a;
187
187
  }
188
188
  re(() => m.config, (t) => {
189
- Ke.value || (e.value = Ce()), pe.value = !e.value.userOptions.showOnChartHover, Je(), Ee.value += 1, Ve.value += 1, Be.value += 1, B.value.showTable = e.value.table.show;
189
+ Ke.value || (e.value = we()), pe.value = !e.value.userOptions.showOnChartHover, Je(), Ee.value += 1, Ve.value += 1, Be.value += 1, B.value.showTable = e.value.table.show;
190
190
  }, { deep: !0 }), re(() => m.dataset, (t) => {
191
191
  Array.isArray(t) && t.length > 0 && (se.value = !1), Ze();
192
192
  }, { deep: !0 });
193
- const { isPrinting: lt, isImaging: at, generatePdf: ot, generateImage: ut } = Il({
193
+ const { isPrinting: lt, isImaging: at, generatePdf: ot, generateImage: ut } = Dl({
194
194
  elementId: T.value,
195
195
  fileName: e.value.style.chart.title.text || "vue-ui-donut-evolution",
196
196
  options: e.value.userOptions.print
197
- }), Ut = y(() => e.value.userOptions.show && !e.value.style.chart.title.text), Xt = y(() => ml(e.value.customPalette)), B = i({
197
+ }), Ut = y(() => e.value.userOptions.show && !e.value.style.chart.title.text), Xt = y(() => xl(e.value.customPalette)), B = i({
198
198
  showTable: e.value.table.show
199
199
  });
200
200
  re(e, () => {
@@ -217,17 +217,24 @@ const Wl = ["id"], Gl = ["id"], Yl = ["xmlns", "viewBox"], jl = ["x", "y", "widt
217
217
  const a = ge.value ? ge.value.getBoundingClientRect().width + e.value.style.chart.layout.grid.axis.yLabelOffsetX + e.value.style.chart.layout.grid.axis.fontSize : 0;
218
218
  return t + a + 5;
219
219
  }
220
- const we = i(0), Gt = $t((t) => {
221
- we.value = t;
220
+ const Ce = i(0), Gt = $t((t) => {
221
+ Ce.value = t;
222
222
  }, 100);
223
- Fl({ elementRef: ae, callback: Gt, attr: "height" }), vl(() => {
224
- we.value = 0;
223
+ vl((t) => {
224
+ const a = ae.value;
225
+ if (!a) return;
226
+ const l = new ResizeObserver((s) => {
227
+ Gt(s[0].contentRect.height);
228
+ });
229
+ l.observe(a), t(() => l.disconnect());
230
+ }), dl(() => {
231
+ Ce.value = 0;
225
232
  });
226
233
  const st = y(() => {
227
234
  let t = 0;
228
235
  ye.value && (t = ye.value.getBBox().height);
229
236
  let a = 0;
230
- return ae.value && (a = we.value), t + a + e.value.style.chart.layout.grid.axis.fontSize + e.value.style.chart.layout.grid.xAxis.dataLabels.offsetY;
237
+ return ae.value && (a = Ce.value), t + a + e.value.style.chart.layout.grid.axis.fontSize + e.value.style.chart.layout.grid.xAxis.dataLabels.offsetY;
231
238
  }), r = y(() => {
232
239
  const t = Wt(), a = e.value.style.chart.layout.dataLabels.fontSize * 3, l = U.value.width, s = U.value.height, o = M.value.left + t, g = l - M.value.right, d = l - o - M.value.right, x = s - M.value.top - M.value.bottom - a - st.value, G = M.value.top + a, F = s - M.value.bottom - st.value;
233
240
  return {
@@ -258,23 +265,23 @@ const Wl = ["id"], Gl = ["id"], Yl = ["xmlns", "viewBox"], jl = ["x", "y", "widt
258
265
  });
259
266
  }), me.value.map((t, a) => ({
260
267
  ...t,
261
- values: xl(t.values),
268
+ values: pl(t.values),
262
269
  color: Oe(t.color) || Xt.value[a] || ce[a] || ce[a % ce.length],
263
270
  length: (t.values || []).length,
264
- uid: Ct()
265
- })))), q = y(() => R.value.filter((t) => !w.value.includes(t.uid)).map((t) => ({
271
+ uid: wt()
272
+ })))), q = y(() => R.value.filter((t) => !C.value.includes(t.uid)).map((t) => ({
266
273
  ...t,
267
274
  values: t.values.filter((a, l) => l >= h.value.start && l <= h.value.end)
268
- }))), I = y(() => Math.max(...q.value.map((t) => t.length))), _ = y(() => Nl({
275
+ }))), I = y(() => Math.max(...q.value.map((t) => t.length))), _ = y(() => Pl({
269
276
  values: e.value.style.chart.layout.grid.xAxis.dataLabels.values,
270
277
  maxDatapoints: I.value,
271
278
  formatter: e.value.style.chart.layout.grid.xAxis.dataLabels.datetimeFormatter,
272
279
  start: h.value.start,
273
280
  end: h.value.end
274
- })), C = y(() => r.value.width / (h.value.end - h.value.start)), L = y(() => {
281
+ })), w = y(() => r.value.width / (h.value.end - h.value.start)), L = y(() => {
275
282
  const t = [];
276
283
  for (let o = 0; o < h.value.end - h.value.start; o += 1) {
277
- const g = q.value.map((D) => D.values[o] ?? null), d = g.filter((D) => [void 0, null].includes(D)).length === g.length, x = g.reduce((D, A) => D + A, 0), G = g.map((D) => D / x), F = r.value.left + C.value * o + C.value / 2;
284
+ const g = q.value.map((D) => D.values[o] ?? null), d = g.filter((D) => [void 0, null].includes(D)).length === g.length, x = g.reduce((D, A) => D + A, 0), G = g.map((D) => D / x), F = r.value.left + w.value * o + w.value / 2;
278
285
  t.push({
279
286
  index: o,
280
287
  percentages: G,
@@ -285,7 +292,7 @@ const Wl = ["id"], Gl = ["id"], Yl = ["xmlns", "viewBox"], jl = ["x", "y", "widt
285
292
  }
286
293
  const a = 0, l = Math.max(...t.map((o) => o.subtotal)), s = t.length === 1 ? l * 2 : l;
287
294
  return t.map((o, g) => {
288
- const d = Math.min(r.value.width / 24, C.value / 2 * 0.7), x = d > r.value.width / 16 ? r.value.width / 16 : d, G = f.value === o.index ? r.value.width / 16 : x, F = t.length > 4 ? d * 2 : d * 2 > C.value / 2 * 0.7 ? C.value / 2 * 0.7 : d * 2, D = r.value.bottom - r.value.height * o.subtotal / Lt(a, s, e.value.style.chart.layout.grid.yAxis.dataLabels.steps).max;
295
+ const d = Math.min(r.value.width / 24, w.value / 2 * 0.7), x = d > r.value.width / 16 ? r.value.width / 16 : d, G = f.value === o.index ? r.value.width / 16 : x, F = t.length > 4 ? d * 2 : d * 2 > w.value / 2 * 0.7 ? w.value / 2 * 0.7 : d * 2, D = r.value.bottom - r.value.height * o.subtotal / Lt(a, s, e.value.style.chart.layout.grid.yAxis.dataLabels.steps).max;
289
296
  return {
290
297
  ...o,
291
298
  y: D,
@@ -364,9 +371,9 @@ const Wl = ["id"], Gl = ["id"], Yl = ["xmlns", "viewBox"], jl = ["x", "y", "widt
364
371
  color: t.color
365
372
  })).sort((t, a) => a.value - t.value).map((t, a) => ({
366
373
  ...t,
367
- opacity: w.value.includes(t.uid) ? 0.5 : 1,
374
+ opacity: C.value.includes(t.uid) ? 0.5 : 1,
368
375
  segregate: () => Ae(t.uid),
369
- isSegregated: w.value.includes(t.uid),
376
+ isSegregated: C.value.includes(t.uid),
370
377
  display: `${t.name}${e.value.style.chart.legend.showPercentage || e.value.style.chart.legend.showValue ? ": " : ""}${e.value.style.chart.legend.showValue ? Ne(
371
378
  e.value.style.chart.layout.dataLabels.formatter,
372
379
  t.value,
@@ -377,7 +384,7 @@ const Wl = ["id"], Gl = ["id"], Yl = ["xmlns", "viewBox"], jl = ["x", "y", "widt
377
384
  r: e.value.style.chart.legend.roundingValue
378
385
  }),
379
386
  { datapoint: t, seriesIndex: a }
380
- ) : ""}${e.value.style.chart.legend.showPercentage ? w.value.includes(t.uid) ? `${e.value.style.chart.legend.showValue ? " (" : ""}- %${e.value.style.chart.legend.showValue ? ")" : ""}` : `${e.value.style.chart.legend.showValue ? " (" : ""}${isNaN(t.value / ct.value) ? "-" : ve({
387
+ ) : ""}${e.value.style.chart.legend.showPercentage ? C.value.includes(t.uid) ? `${e.value.style.chart.legend.showValue ? " (" : ""}- %${e.value.style.chart.legend.showValue ? ")" : ""}` : `${e.value.style.chart.legend.showValue ? " (" : ""}${isNaN(t.value / ct.value) ? "-" : ve({
381
388
  v: t.value / ct.value * 100,
382
389
  s: "%",
383
390
  r: e.value.style.chart.legend.roundingPercentage
@@ -391,23 +398,23 @@ const Wl = ["id"], Gl = ["id"], Yl = ["xmlns", "viewBox"], jl = ["x", "y", "widt
391
398
  fontWeight: e.value.style.chart.legend.bold ? "bold" : ""
392
399
  }));
393
400
  function Ae(t) {
394
- if (w.value.includes(t))
395
- w.value = w.value.filter((a) => a !== t), je("selectLegend", null);
401
+ if (C.value.includes(t))
402
+ C.value = C.value.filter((a) => a !== t), je("selectLegend", null);
396
403
  else {
397
- if (w.value.length === R.value.length - 1) return;
398
- w.value.push(t), je("selectLegend", R.value.find((a) => a.uid === t));
404
+ if (C.value.length === R.value.length - 1) return;
405
+ C.value.push(t), je("selectLegend", R.value.find((a) => a.uid === t));
399
406
  }
400
407
  V.value && it(L.value.find((a, l) => l === J.value));
401
408
  }
402
409
  const W = y(() => {
403
- const t = [""].concat(R.value.filter((o) => !w.value.includes(o.uid)).map((o) => ({
410
+ const t = [""].concat(R.value.filter((o) => !C.value.includes(o.uid)).map((o) => ({
404
411
  name: o.name,
405
412
  color: o.color
406
413
  }))).concat(["Σ"]);
407
414
  let a = [];
408
415
  for (let o = 0; o < I.value; o += 1) {
409
- const g = R.value.filter((d) => !w.value.includes(d.uid)).map((d) => d.values[o] ?? 0).reduce((d, x) => d + x, 0);
410
- a.push([_.value[o] ? _.value[o].text : "-"].concat(R.value.filter((d) => !w.value.includes(d.uid)).map((d) => ({
416
+ const g = R.value.filter((d) => !C.value.includes(d.uid)).map((d) => d.values[o] ?? 0).reduce((d, x) => d + x, 0);
417
+ a.push([_.value[o] ? _.value[o].text : "-"].concat(R.value.filter((d) => !C.value.includes(d.uid)).map((d) => ({
411
418
  value: d.values[o] ?? 0,
412
419
  percentage: d.values[o] ? d.values[o] / g * 100 : 0
413
420
  }))).concat([`${e.value.style.chart.layout.dataLabels.prefix}${Number(g.toFixed(e.value.table.td.roundingValue))}${e.value.style.chart.layout.dataLabels.suffix}`]));
@@ -426,7 +433,7 @@ const Wl = ["id"], Gl = ["id"], Yl = ["xmlns", "viewBox"], jl = ["x", "y", "widt
426
433
  breakpoint: e.value.table.responsiveBreakpoint
427
434
  }, s = [
428
435
  e.value.table.columnNames.period
429
- ].concat(R.value.filter((o) => !w.value.includes(o.uid)).map((o) => o.name)).concat(e.value.table.columnNames.total);
436
+ ].concat(R.value.filter((o) => !C.value.includes(o.uid)).map((o) => o.name)).concat(e.value.table.columnNames.total);
430
437
  return { head: t, body: a, config: l, colNames: s };
431
438
  });
432
439
  function Qt() {
@@ -434,8 +441,8 @@ const Wl = ["id"], Gl = ["id"], Yl = ["xmlns", "viewBox"], jl = ["x", "y", "widt
434
441
  }
435
442
  function Se(t = null) {
436
443
  Ie(() => {
437
- const a = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [""]], l = [...W.value.head.map((d) => d.name ?? d)], s = [...W.value.body.map((d) => d.map((x) => x.value ?? x))], o = a.concat([l]).concat(s), g = Ll(o);
438
- t ? t(g) : Al({ csvContent: g, title: e.value.style.chart.title.text || "vue-ui-donut-evolution" });
444
+ const a = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [""]], l = [...W.value.head.map((d) => d.name ?? d)], s = [...W.value.body.map((d) => d.map((x) => x.value ?? x))], o = a.concat([l]).concat(s), g = Al(o);
445
+ t ? t(g) : Sl({ csvContent: g, title: e.value.style.chart.title.text || "vue-ui-donut-evolution" });
439
446
  });
440
447
  }
441
448
  const H = i(!1);
@@ -458,7 +465,7 @@ const Wl = ["id"], Gl = ["id"], Yl = ["xmlns", "viewBox"], jl = ["x", "y", "widt
458
465
  name: a.name,
459
466
  values: [a.value],
460
467
  color: a.color
461
- })), gt.value = Sl({
468
+ })), gt.value = $l({
462
469
  ...e.value.style.chart.dialog.donutChart,
463
470
  responsive: !0,
464
471
  theme: e.value.theme
@@ -528,7 +535,7 @@ const Wl = ["id"], Gl = ["id"], Yl = ["xmlns", "viewBox"], jl = ["x", "y", "widt
528
535
  const al = y(() => Le.value.map((t) => ({
529
536
  ...t,
530
537
  name: t.display
531
- }))), ol = y(() => e.value.style.chart.backgroundColor), ul = y(() => e.value.style.chart.legend), sl = y(() => e.value.style.chart.title), { exportSvg: nl, getSvg: rl } = Tl({
538
+ }))), ol = y(() => e.value.style.chart.backgroundColor), ul = y(() => e.value.style.chart.legend), sl = y(() => e.value.style.chart.title), { exportSvg: nl, getSvg: rl } = Nl({
532
539
  svg: ke,
533
540
  title: sl,
534
541
  legend: ul,
@@ -688,7 +695,7 @@ const Wl = ["id"], Gl = ["id"], Yl = ["xmlns", "viewBox"], jl = ["x", "y", "widt
688
695
  (u(), n("svg", {
689
696
  ref_key: "svgRef",
690
697
  ref: ke,
691
- xmlns: c(pl),
698
+ xmlns: c(kl),
692
699
  class: N({ "vue-data-ui-fullscreen--on": H.value, "vue-data-ui-fulscreen--off": !H.value }),
693
700
  viewBox: `0 0 ${r.value.absoluteWidth} ${r.value.absoluteHeight}`,
694
701
  style: Q(`max-width:100%; overflow: visible; background:transparent;color:${e.value.style.chart.color};`)
@@ -761,8 +768,8 @@ const Wl = ["id"], Gl = ["id"], Yl = ["xmlns", "viewBox"], jl = ["x", "y", "widt
761
768
  }, null, 8, oa),
762
769
  e.value.style.chart.layout.grid.showVerticalLines ? (u(), n("g", ua, [
763
770
  (u(!0), n($, null, z(h.value.end - h.value.start, (l, s) => (u(), n("line", {
764
- x1: r.value.left + (s + 1) * C.value,
765
- x2: r.value.left + (s + 1) * C.value,
771
+ x1: r.value.left + (s + 1) * w.value,
772
+ x2: r.value.left + (s + 1) * w.value,
766
773
  y1: r.value.top,
767
774
  y2: r.value.bottom,
768
775
  stroke: e.value.style.chart.layout.grid.stroke,
@@ -817,7 +824,7 @@ const Wl = ["id"], Gl = ["id"], Yl = ["xmlns", "viewBox"], jl = ["x", "y", "widt
817
824
  "text-anchor": "end",
818
825
  fill: e.value.style.chart.layout.grid.yAxis.dataLabels.color,
819
826
  "font-weight": e.value.style.chart.layout.grid.yAxis.dataLabels.bold ? "bold" : "normal"
820
- }, k(c(kl)(l.value) ? c(Ne)(
827
+ }, k(c(wl)(l.value) ? c(Ne)(
821
828
  e.value.style.chart.layout.dataLabels.formatter,
822
829
  l.value,
823
830
  c(ve)({
@@ -845,7 +852,7 @@ const Wl = ["id"], Gl = ["id"], Yl = ["xmlns", "viewBox"], jl = ["x", "y", "widt
845
852
  "text-anchor": e.value.style.chart.layout.grid.xAxis.dataLabels.rotation > 0 ? "start" : e.value.style.chart.layout.grid.xAxis.dataLabels.rotation < 0 ? "end" : "middle",
846
853
  "font-size": e.value.style.chart.layout.grid.xAxis.dataLabels.fontSize,
847
854
  fill: e.value.style.chart.layout.grid.xAxis.dataLabels.color,
848
- transform: `translate(${r.value.left + C.value * s + C.value / 2}, ${r.value.bottom + e.value.style.chart.layout.grid.xAxis.dataLabels.fontSize + e.value.style.chart.layout.grid.xAxis.dataLabels.offsetY}), rotate(${e.value.style.chart.layout.grid.xAxis.dataLabels.rotation})`,
855
+ transform: `translate(${r.value.left + w.value * s + w.value / 2}, ${r.value.bottom + e.value.style.chart.layout.grid.xAxis.dataLabels.fontSize + e.value.style.chart.layout.grid.xAxis.dataLabels.offsetY}), rotate(${e.value.style.chart.layout.grid.xAxis.dataLabels.rotation})`,
849
856
  innerHTML: c(Cl)({
850
857
  content: String(_.value[s].text),
851
858
  fontSize: e.value.style.chart.layout.grid.xAxis.dataLabels.fontSize,
@@ -859,7 +866,7 @@ const Wl = ["id"], Gl = ["id"], Yl = ["xmlns", "viewBox"], jl = ["x", "y", "widt
859
866
  "text-anchor": e.value.style.chart.layout.grid.xAxis.dataLabels.rotation > 0 ? "start" : e.value.style.chart.layout.grid.xAxis.dataLabels.rotation < 0 ? "end" : "middle",
860
867
  "font-size": e.value.style.chart.layout.grid.xAxis.dataLabels.fontSize,
861
868
  fill: e.value.style.chart.layout.grid.xAxis.dataLabels.color,
862
- transform: `translate(${r.value.left + C.value * s + C.value / 2}, ${r.value.bottom + e.value.style.chart.layout.grid.xAxis.dataLabels.fontSize + e.value.style.chart.layout.grid.xAxis.dataLabels.offsetY}), rotate(${e.value.style.chart.layout.grid.xAxis.dataLabels.rotation})`
869
+ transform: `translate(${r.value.left + w.value * s + w.value / 2}, ${r.value.bottom + e.value.style.chart.layout.grid.xAxis.dataLabels.fontSize + e.value.style.chart.layout.grid.xAxis.dataLabels.offsetY}), rotate(${e.value.style.chart.layout.grid.xAxis.dataLabels.rotation})`
863
870
  }, k(_.value[s].text || ""), 9, da))
864
871
  ])) : v("", !0)
865
872
  ]))), 256))
@@ -895,7 +902,7 @@ const Wl = ["id"], Gl = ["id"], Yl = ["xmlns", "viewBox"], jl = ["x", "y", "widt
895
902
  (u(!0), n($, null, z(l.donutHover, (o) => (u(), n("g", null, [
896
903
  ht(o) ? (u(), n("path", {
897
904
  key: 0,
898
- d: c(wl)(o, { x: o.center.endX, y: o.center.endY }, 12, 12, { x: l.x, y: l.y }, !1, 20),
905
+ d: c(_l)(o, { x: o.center.endX, y: o.center.endY }, 12, 12, { x: l.x, y: l.y }, !1, 20),
899
906
  stroke: o.color,
900
907
  "stroke-width": "1",
901
908
  "stroke-linecap": "round",
@@ -909,7 +916,7 @@ const Wl = ["id"], Gl = ["id"], Yl = ["xmlns", "viewBox"], jl = ["x", "y", "widt
909
916
  "data-cy-hover-label": "",
910
917
  "text-anchor": c(At)(o, !0, 0).anchor,
911
918
  x: c(At)(o, !0, 9).x,
912
- y: c(_l)(o, 14, 10),
919
+ y: c(Ll)(o, 14, 10),
913
920
  fill: e.value.style.chart.layout.grid.yAxis.dataLabels.color,
914
921
  "font-size": 8,
915
922
  "font-weight": "bold"
@@ -929,14 +936,14 @@ const Wl = ["id"], Gl = ["id"], Yl = ["xmlns", "viewBox"], jl = ["x", "y", "widt
929
936
  (u(!0), n($, null, z(L.value, (l, s) => (u(), n("g", {
930
937
  class: N({ "donut-opacity": !0, "donut-behind": s !== f.value && f.value !== null })
931
938
  }, [
932
- l.subtotal !== null ? (u(), n("g", Ca, [
939
+ l.subtotal !== null ? (u(), n("g", wa, [
933
940
  l.subtotal === 0 ? (u(), n("circle", {
934
941
  key: 0,
935
942
  cx: l.x,
936
943
  cy: l.y,
937
944
  r: 3,
938
945
  fill: e.value.style.chart.color
939
- }, null, 8, wa)) : f.value !== null && f.value === s ? (u(), n("g", _a, [
946
+ }, null, 8, Ca)) : f.value !== null && f.value === s ? (u(), n("g", _a, [
940
947
  (u(!0), n($, null, z(l.donutHover, (o, g) => (u(), n("path", {
941
948
  d: o.arcSlice,
942
949
  fill: `${o.color}`,
@@ -967,9 +974,9 @@ const Wl = ["id"], Gl = ["id"], Yl = ["xmlns", "viewBox"], jl = ["x", "y", "widt
967
974
  }, k(nt(l.subtotal, l, s)), 9, $a)) : v("", !0)
968
975
  ], 2))), 256)),
969
976
  (u(!0), n($, null, z(L.value, (l, s) => (u(), n("rect", {
970
- x: r.value.left + s * C.value,
977
+ x: r.value.left + s * w.value,
971
978
  y: r.value.top,
972
- width: C.value,
979
+ width: w.value,
973
980
  height: r.value.height,
974
981
  fill: [f.value, J.value].includes(l.index) ? `url(#hover_${T.value})` : "transparent",
975
982
  class: N({ "donut-hover": l.subtotal && [f.value, J.value].includes(l.index) }),
@@ -979,9 +986,9 @@ const Wl = ["id"], Gl = ["id"], Yl = ["xmlns", "viewBox"], jl = ["x", "y", "widt
979
986
  }, null, 10, za))), 256)),
980
987
  (u(!0), n($, null, z(L.value, (l, s) => (u(), n("rect", {
981
988
  "data-cy-trap": "",
982
- x: r.value.left + s * C.value,
989
+ x: r.value.left + s * w.value,
983
990
  y: r.value.top,
984
- width: C.value,
991
+ width: w.value,
985
992
  height: r.value.height,
986
993
  fill: "transparent",
987
994
  onMouseenter: (o) => Jt(l),
@@ -1038,7 +1045,7 @@ const Wl = ["id"], Gl = ["id"], Yl = ["xmlns", "viewBox"], jl = ["x", "y", "widt
1038
1045
  b("div", {
1039
1046
  id: `legend-bottom-${T.value}`
1040
1047
  }, null, 8, Oa),
1041
- Me.value ? (u(), O(dl, {
1048
+ Me.value ? (u(), O(hl, {
1042
1049
  key: 5,
1043
1050
  to: e.value.style.chart.legend.position === "top" ? `#legend-top-${T.value}` : `#legend-bottom-${T.value}`
1044
1051
  }, [
@@ -1055,7 +1062,7 @@ const Wl = ["id"], Gl = ["id"], Yl = ["xmlns", "viewBox"], jl = ["x", "y", "widt
1055
1062
  item: p(({ legend: l, index: s }) => [
1056
1063
  b("div", {
1057
1064
  onClick: (o) => Ae(l.uid),
1058
- style: Q(`opacity:${w.value.includes(l.uid) ? 0.5 : 1}`)
1065
+ style: Q(`opacity:${C.value.includes(l.uid) ? 0.5 : 1}`)
1059
1066
  }, k(l.display), 13, Ta)
1060
1067
  ]),
1061
1068
  _: 1
@@ -1071,7 +1078,7 @@ const Wl = ["id"], Gl = ["id"], Yl = ["xmlns", "viewBox"], jl = ["x", "y", "widt
1071
1078
  }, [
1072
1079
  S(t.$slots, "source", {}, void 0, !0)
1073
1080
  ], 512)) : v("", !0),
1074
- qe.value && e.value.userOptions.buttons.table ? (u(), O(hl(K.value.component), yl({ key: 7 }, K.value.props, {
1081
+ qe.value && e.value.userOptions.buttons.table ? (u(), O(yl(K.value.component), gl({ key: 7 }, K.value.props, {
1075
1082
  ref_key: "tableUnit",
1076
1083
  ref: Y,
1077
1084
  onClose: ft
@@ -1149,10 +1156,10 @@ const Wl = ["id"], Gl = ["id"], Yl = ["xmlns", "viewBox"], jl = ["x", "y", "widt
1149
1156
  ]),
1150
1157
  _: 1
1151
1158
  }, 8, ["backgroundColor", "color", "headerBg", "headerColor", "isFullscreen", "fullscreenParent"])) : v("", !0),
1152
- c(Ke) ? (u(), O(Ol, { key: 9 })) : v("", !0)
1159
+ c(Ke) ? (u(), O(Tl, { key: 9 })) : v("", !0)
1153
1160
  ], 46, Wl));
1154
1161
  }
1155
- }, eo = /* @__PURE__ */ Xl(Ra, [["__scopeId", "data-v-91d66917"]]);
1162
+ }, eo = /* @__PURE__ */ Xl(Ra, [["__scopeId", "data-v-ccc6a583"]]);
1156
1163
  export {
1157
1164
  eo as default
1158
1165
  };
@@ -1,17 +1,17 @@
1
- import { defineAsyncComponent as H, computed as g, ref as h, toRefs as Et, watch as le, shallowRef as tt, onMounted as lt, onBeforeUnmount as at, createElementBlock as v, openBlock as n, unref as i, normalizeStyle as ae, normalizeClass as st, createBlock as O, createCommentVNode as y, createElementVNode as c, createSlots as ot, withCtx as p, renderSlot as x, normalizeProps as se, guardReactiveProps as oe, createVNode as nt, withDirectives as Y, Fragment as C, renderList as A, toDisplayString as _, vShow as j, Teleport as Rt, createTextVNode as we, resolveDynamicComponent as Bt, mergeProps as Vt, nextTick as Ut } from "vue";
2
- import { c as rt, t as Wt, o as qt, f as ut, g as Yt, q as it, C as jt, d as w, a as P, X as ct, s as vt, m as Z, r as J, x as Zt, y as Jt } from "./lib-CEjkWSLj.js";
3
- import { t as $e, u as Kt } from "./useResponsive-DfdjqQps.js";
4
- import { u as Qt, a as dt } from "./useNestedProp-Ce3PwN8T.js";
5
- import { u as el } from "./usePrinter-DJ1iH-F_.js";
6
- import { u as tl, B as ll } from "./BaseScanner-BgWxam9d.js";
7
- import { u as al } from "./useSvgExport-DrjCWun4.js";
8
- import { u as sl } from "./useUserOptionState-BIvW1Kz7.js";
9
- import { u as ol } from "./useChartAccessibility-9icAAmYg.js";
10
- import { u as nl, a as rl } from "./useResizeObserverEffect-DfnWps4W.js";
11
- import ul from "./img-J2dLIr8Y.js";
12
- import il from "./Title-Camz1Lce.js";
1
+ import { defineAsyncComponent as H, computed as g, ref as h, toRefs as Et, watch as le, shallowRef as tt, onMounted as lt, onBeforeUnmount as at, watchEffect as Rt, createElementBlock as v, openBlock as n, unref as i, normalizeStyle as ae, normalizeClass as st, createBlock as O, createCommentVNode as y, createElementVNode as c, createSlots as ot, withCtx as p, renderSlot as x, normalizeProps as se, guardReactiveProps as oe, createVNode as nt, withDirectives as Y, Fragment as C, renderList as A, toDisplayString as _, vShow as j, Teleport as Bt, createTextVNode as we, resolveDynamicComponent as Vt, mergeProps as Ut, nextTick as Wt } from "vue";
2
+ import { c as rt, t as qt, o as Yt, f as ut, g as jt, q as it, C as Zt, d as w, a as P, X as ct, s as vt, m as Z, r as J, x as Jt, y as Kt } from "./lib-CSDxt1Zh.js";
3
+ import { t as $e, u as Qt } from "./useResponsive-DfdjqQps.js";
4
+ import { u as el, a as dt } from "./useNestedProp-Dh-ldrr5.js";
5
+ import { u as tl } from "./usePrinter-Cq8Pt6Lh.js";
6
+ import { u as ll, B as al } from "./BaseScanner-BgWxam9d.js";
7
+ import { u as sl } from "./useSvgExport-DrjCWun4.js";
8
+ import { u as ol } from "./useUserOptionState-BIvW1Kz7.js";
9
+ import { u as nl } from "./useChartAccessibility-9icAAmYg.js";
10
+ import { u as rl } from "./useTimeLabelCollider-CIsgDrl9.js";
11
+ import ul from "./img-DI-W68vp.js";
12
+ import il from "./Title-B6rAo9Oz.js";
13
13
  import { t as cl } from "./themes-Dw-dDudK.js";
14
- import vl from "./Legend-By4rru90.js";
14
+ import vl from "./Legend-CCBZ2x8T.js";
15
15
  import { _ as dl } from "./_plugin-vue_export-helper-CHgC5LLL.js";
16
16
  const hl = ["id"], fl = ["id"], bl = ["xmlns", "viewBox"], yl = ["x", "y", "width", "height"], gl = { key: 1 }, ml = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], pl = { key: 2 }, xl = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], _l = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], kl = ["transform", "font-size", "fill"], Cl = ["x", "y", "font-size", "fill", "font-weight", "onMouseenter", "onMouseleave", "onClick"], wl = ["x", "y", "font-size", "fill", "onMouseenter", "onMouseleave", "onClick"], $l = ["x", "y", "font-size", "fill"], Ll = ["transform", "font-size", "fill", "font-weight", "text-anchor"], Al = ["d", "stroke", "stroke-width", "stroke-dasharray"], Sl = ["d", "stroke", "stroke-width", "stroke-dasharray"], Nl = ["x", "y", "height", "width", "fill"], Ml = ["transform", "fill", "font-size"], Xl = ["id"], zl = ["stop-color"], Tl = ["stop-color"], Ol = ["stop-color"], Dl = ["id"], Il = ["stop-color"], Fl = ["stop-color"], Hl = ["stop-color"], Pl = ["id"], Gl = ["stop-color"], El = ["stop-color"], Rl = ["stop-color"], Bl = ["id"], Vl = ["stop-color"], Ul = ["stop-color"], Wl = ["stop-color"], ql = ["id"], Yl = ["stop-color"], jl = ["stop-color"], Zl = ["stop-color"], Jl = ["id"], Kl = ["stop-color"], Ql = ["stop-color"], ea = ["id"], ta = ["stop-color"], la = ["stop-color"], aa = { key: 0 }, sa = { key: 0 }, oa = ["d", "fill"], na = { key: 1 }, ra = ["x", "y", "height", "width", "fill"], ua = ["cx", "cy", "r", "fill", "stroke", "stroke-width"], ia = ["cx", "cy", "r", "fill", "stroke", "stroke-width"], ca = { key: 7 }, va = ["x", "y", "fill", "font-size"], da = { key: 8 }, ha = ["x", "y", "fill", "font-size"], fa = ["x", "y", "width", "height", "fill", "onMouseenter", "onMouseleave", "onClick"], ba = {
17
17
  key: 4,
@@ -34,14 +34,14 @@ const hl = ["id"], fl = ["id"], bl = ["xmlns", "viewBox"], yl = ["x", "y", "widt
34
34
  },
35
35
  emits: ["selectDatapoint"],
36
36
  setup(ht, { expose: ft, emit: _a }) {
37
- const bt = H(() => import("./BaseIcon-eZbszQrv.js")), yt = H(() => import("./vue-ui-accordion-VTP418mC.js")), gt = H(() => import("./DataTable-yAMEyP6y.js")), mt = H(() => import("./PenAndPaper-Bo-lMUik.js")), pt = H(() => import("./UserOptions-CSja1SGU.js")), xt = H(() => import("./PackageVersion-r-Q1R3nV.js")), _t = H(() => import("./BaseDraggableDialog-CVGErydD.js")), { vue_ui_dumbbell: kt } = Qt(), S = ht, K = g({
37
+ const bt = H(() => import("./BaseIcon-DG6cvf2h.js")), yt = H(() => import("./vue-ui-accordion-CaClZrCp.js")), gt = H(() => import("./DataTable-DUpZ_s2c.js")), mt = H(() => import("./PenAndPaper-D9LruJaM.js")), pt = H(() => import("./UserOptions-CJXSEhan.js")), xt = H(() => import("./PackageVersion-CQvYRebC.js")), _t = H(() => import("./BaseDraggableDialog-Cysanw8-.js")), { vue_ui_dumbbell: kt } = el(), S = ht, K = g({
38
38
  get() {
39
39
  return !!S.dataset && S.dataset.length;
40
40
  },
41
41
  set(l) {
42
42
  return l;
43
43
  }
44
- }), f = h(rt()), Le = h(0), N = h(null), Ae = h(null), Se = h(null), Ne = h(null), Me = h(null), Xe = h(0), ze = h(0), Te = h(0), Oe = h(!1), U = h(null), ne = h(null), re = h(null), ue = h(null), Q = h(null), ie = h(null), D = h(null), r = h(null), I = h(!1), e = h(fe()), { loading: ce, FINAL_DATASET: ve, manualLoading: Ct } = tl({
44
+ }), f = h(rt()), Le = h(0), N = h(null), Ae = h(null), Se = h(null), Ne = h(null), Me = h(null), Xe = h(0), ze = h(0), Te = h(0), Oe = h(!1), U = h(null), ne = h(null), re = h(null), ue = h(null), Q = h(null), ie = h(null), D = h(null), r = h(null), I = h(!1), e = h(fe()), { loading: ce, FINAL_DATASET: ve, manualLoading: Ct } = ll({
45
45
  ...Et(S),
46
46
  FINAL_CONFIG: e,
47
47
  prepareConfig: fe,
@@ -52,7 +52,7 @@ const hl = ["id"], fl = ["id"], bl = ["xmlns", "viewBox"], yl = ["x", "y", "widt
52
52
  { name: "_", start: 5, end: 8 },
53
53
  { name: "_", start: 3, end: 5 }
54
54
  ],
55
- skeletonConfig: Wt({
55
+ skeletonConfig: qt({
56
56
  defaultConfig: e.value,
57
57
  userConfig: {
58
58
  userOptions: { show: !1 },
@@ -94,7 +94,7 @@ const hl = ["id"], fl = ["id"], bl = ["xmlns", "viewBox"], yl = ["x", "y", "widt
94
94
  }
95
95
  }
96
96
  })
97
- }), { userOptionsVisible: de, setUserOptionsVisibility: De, keepUserOptionState: Ie } = sl({ config: e.value }), { svgRef: he } = ol({ config: e.value.style.chart.title });
97
+ }), { userOptionsVisible: de, setUserOptionsVisibility: De, keepUserOptionState: Ie } = ol({ config: e.value }), { svgRef: he } = nl({ config: e.value.style.chart.title });
98
98
  function fe() {
99
99
  const l = dt({
100
100
  userConfig: S.config,
@@ -118,12 +118,12 @@ const hl = ["id"], fl = ["id"], bl = ["xmlns", "viewBox"], yl = ["x", "y", "widt
118
118
  });
119
119
  const Fe = g(() => !!e.value.debug);
120
120
  function He() {
121
- if (qt(S.dataset) ? ut({
121
+ if (Yt(S.dataset) ? ut({
122
122
  componentName: "VueUiDumbbell",
123
123
  type: "dataset",
124
124
  debug: Fe.value
125
125
  }) : S.dataset.forEach((l, s) => {
126
- Yt({
126
+ jt({
127
127
  datasetObject: l,
128
128
  requiredAttributes: ["name", "start", "end"]
129
129
  }).forEach((t) => {
@@ -137,7 +137,7 @@ const hl = ["id"], fl = ["id"], bl = ["xmlns", "viewBox"], yl = ["x", "y", "widt
137
137
  });
138
138
  }), e.value.responsive) {
139
139
  const l = $e(() => {
140
- const { width: s, height: t } = Kt({
140
+ const { width: s, height: t } = Qt({
141
141
  chart: N.value,
142
142
  title: e.value.style.chart.title.text ? Ae.value : null,
143
143
  legend: e.value.style.chart.legend.show ? Se.value : null,
@@ -155,7 +155,7 @@ const hl = ["id"], fl = ["id"], bl = ["xmlns", "viewBox"], yl = ["x", "y", "widt
155
155
  at(() => {
156
156
  L.value != null && (cancelAnimationFrame(L.value), L.value = null), M.value && (G.value && M.value.unobserve(G.value), M.value.disconnect());
157
157
  });
158
- const { isPrinting: Pe, isImaging: Ge, generatePdf: Ee, generateImage: Re } = el({
158
+ const { isPrinting: Pe, isImaging: Ge, generatePdf: Ee, generateImage: Re } = tl({
159
159
  elementId: `dumbbell_${f.value}`,
160
160
  fileName: e.value.style.chart.title.text || "vue-ui-dumbbell",
161
161
  options: e.value.userOptions.print
@@ -175,7 +175,7 @@ const hl = ["id"], fl = ["id"], bl = ["xmlns", "viewBox"], yl = ["x", "y", "widt
175
175
  }))), Be = g(() => {
176
176
  const l = e.value.style.chart.grid, s = E.value.flatMap((b) => [b.start, b.end]).map((b) => Number(b)).filter((b) => Number.isFinite(b)), t = s.length ? Math.min(...s) : 0, a = s.length ? Math.max(...s) : 0, u = l.scaleMin ?? Math.min(t, 0), d = l.scaleMax ?? a;
177
177
  return { min: u, max: d };
178
- }), $ = g(() => jt(Be.value.min, Be.value.max, e.value.style.chart.grid.scaleSteps)), R = h(e.value.style.chart.rowHeight), B = h(e.value.style.chart.width);
178
+ }), $ = g(() => Zt(Be.value.min, Be.value.max, e.value.style.chart.grid.scaleSteps)), R = h(e.value.style.chart.rowHeight), B = h(e.value.style.chart.width);
179
179
  function $t() {
180
180
  let l = 0;
181
181
  ue.value && (l = Array.from(ue.value.querySelectorAll("text")).reduce((a, u) => {
@@ -188,7 +188,14 @@ const hl = ["id"], fl = ["id"], bl = ["xmlns", "viewBox"], yl = ["x", "y", "widt
188
188
  const be = h(0), Lt = $e((l) => {
189
189
  be.value = l;
190
190
  }, 100);
191
- nl({ elementRef: Q, callback: Lt, attr: "height" }), at(() => {
191
+ Rt((l) => {
192
+ const s = Q.value;
193
+ if (!s) return;
194
+ const t = new ResizeObserver((a) => {
195
+ Lt(a[0].contentRect.height);
196
+ });
197
+ t.observe(s), l(() => t.disconnect());
198
+ }), at(() => {
192
199
  be.value = 0;
193
200
  });
194
201
  const Ve = g(() => {
@@ -352,11 +359,11 @@ const hl = ["id"], fl = ["id"], bl = ["xmlns", "viewBox"], yl = ["x", "y", "widt
352
359
  };
353
360
  });
354
361
  function me(l = null) {
355
- Ut(() => {
362
+ Wt(() => {
356
363
  const s = z.value.head.map((u, d) => [[
357
364
  u.name
358
- ], [z.value.body[d].start], [z.value.body[d].end]]), t = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [[e.value.table.columnNames.series], [e.value.table.columnNames.start], [e.value.table.columnNames.end]]].concat(s), a = Zt(t);
359
- l ? l(a) : Jt({ csvContent: a, title: e.value.style.chart.title.text || "vue-ui-dumbbell" });
365
+ ], [z.value.body[d].start], [z.value.body[d].end]]), t = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [[e.value.table.columnNames.series], [e.value.table.columnNames.start], [e.value.table.columnNames.end]]].concat(s), a = Jt(t);
366
+ l ? l(a) : Kt({ csvContent: a, title: e.value.style.chart.title.text || "vue-ui-dumbbell" });
360
367
  });
361
368
  }
362
369
  const V = h(!1);
@@ -507,7 +514,7 @@ const hl = ["id"], fl = ["id"], bl = ["xmlns", "viewBox"], yl = ["x", "y", "widt
507
514
  const Ot = g(() => ge.value.map((l) => ({
508
515
  ...l,
509
516
  shape: "circle"
510
- }))), Dt = g(() => e.value.style.chart.backgroundColor), It = g(() => e.value.style.chart.legend), Ft = g(() => e.value.style.chart.title), { exportSvg: Ht, getSvg: Pt } = al({
517
+ }))), Dt = g(() => e.value.style.chart.backgroundColor), It = g(() => e.value.style.chart.legend), Ft = g(() => e.value.style.chart.title), { exportSvg: Ht, getSvg: Pt } = sl({
511
518
  svg: he,
512
519
  title: Ft,
513
520
  legend: It,
@@ -1083,7 +1090,7 @@ const hl = ["id"], fl = ["id"], bl = ["xmlns", "viewBox"], yl = ["x", "y", "widt
1083
1090
  c("div", {
1084
1091
  id: `legend-bottom-${f.value}`
1085
1092
  }, null, 8, ya),
1086
- Oe.value ? (n(), O(Rt, {
1093
+ Oe.value ? (n(), O(Bt, {
1087
1094
  key: 5,
1088
1095
  to: e.value.style.chart.legend.position === "top" ? `#legend-top-${f.value}` : `#legend-bottom-${f.value}`
1089
1096
  }, [
@@ -1134,7 +1141,7 @@ const hl = ["id"], fl = ["id"], bl = ["xmlns", "viewBox"], yl = ["x", "y", "widt
1134
1141
  }, [
1135
1142
  x(l.$slots, "source", {}, void 0, !0)
1136
1143
  ], 512)) : y("", !0),
1137
- K.value && e.value.userOptions.buttons.table ? (n(), O(Bt(q.value.component), Vt({ key: 7 }, q.value.props, {
1144
+ K.value && e.value.userOptions.buttons.table ? (n(), O(Vt(q.value.component), Ut({ key: 7 }, q.value.props, {
1138
1145
  ref_key: "tableUnit",
1139
1146
  ref: U,
1140
1147
  onClose: Ke
@@ -1188,10 +1195,10 @@ const hl = ["id"], fl = ["id"], bl = ["xmlns", "viewBox"], yl = ["x", "y", "widt
1188
1195
  key: "1"
1189
1196
  } : void 0
1190
1197
  ]), 1040)) : y("", !0),
1191
- i(ce) ? (n(), O(ll, { key: 8 })) : y("", !0)
1198
+ i(ce) ? (n(), O(al, { key: 8 })) : y("", !0)
1192
1199
  ], 46, hl));
1193
1200
  }
1194
- }, Fa = /* @__PURE__ */ dl(xa, [["__scopeId", "data-v-276f03ce"]]);
1201
+ }, Fa = /* @__PURE__ */ dl(xa, [["__scopeId", "data-v-92925706"]]);
1195
1202
  export {
1196
1203
  Fa as default
1197
1204
  };