vue-data-ui 2.17.0 → 2.17.2

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 (93) hide show
  1. package/README.md +2 -1
  2. package/dist/{Arrow-BAEkZGzL.js → Arrow-Dr2lyXds.js} +1 -1
  3. package/dist/{BaseDraggableDialog-ChCkcmj_.js → BaseDraggableDialog-DQ6yA8di.js} +2 -2
  4. package/dist/{BaseIcon-naqtCxVi.js → BaseIcon-C2f-EcZc.js} +1 -1
  5. package/dist/{ColorPicker-CfIPgxcj.js → ColorPicker-D-JmDe31.js} +2 -2
  6. package/dist/{DataTable-D0VYDhfx.js → DataTable-6BxhjBzt.js} +2 -2
  7. package/dist/{Legend-Bxlv67uY.js → Legend-1R-B-7st.js} +11 -11
  8. package/dist/{NonSvgPenAndPaper-b_oVy-Dd.js → NonSvgPenAndPaper-CLNy5uCL.js} +3 -3
  9. package/dist/{PackageVersion-5TR4ocqp.js → PackageVersion-CIX1W_aa.js} +1 -1
  10. package/dist/{PenAndPaper-D6AqipIO.js → PenAndPaper-CqJ4wudB.js} +3 -3
  11. package/dist/{Shape-DtFT5EJa.js → Shape-DJKQgAbU.js} +1 -1
  12. package/dist/{Slicer-CL6-MRI6.js → Slicer-Dju6LE-h.js} +2 -2
  13. package/dist/{SparkTooltip-Bcv1aoA5.js → SparkTooltip-D2mROH3o.js} +1 -1
  14. package/dist/{Title-B-2bV0SW.js → Title-BQb7X_OR.js} +1 -1
  15. package/dist/{Tooltip-CoQnTnr-.js → Tooltip-BTnTpPdO.js} +1 -1
  16. package/dist/{UserOptions-Dd34lEKb.js → UserOptions-lneAyZKu.js} +2 -2
  17. package/dist/{dom-to-png-2AA0wHlX.js → dom-to-png-C-9BWdwN.js} +1 -1
  18. package/dist/{img-Y_hYz-ZC.js → img-D0DpKcFX.js} +1 -1
  19. package/dist/{index-pPGk-uhD.js → index-JzUbx__y.js} +22 -8
  20. package/dist/{pdf-yfk3d1is.js → pdf-BgVDfZPT.js} +1 -1
  21. package/dist/style.css +1 -1
  22. package/dist/types/vue-data-ui.d.cts +65 -160
  23. package/dist/types/vue-data-ui.d.ts +65 -160
  24. package/dist/{useNestedProp-DjACxgdZ.js → useNestedProp-D_jd2dz9.js} +1 -1
  25. package/dist/{usePrinter-DDHcrl0A.js → usePrinter-CsyliflB.js} +2 -2
  26. package/dist/{vue-data-ui-CIWxgKjd.js → vue-data-ui-BMv8hEcb.js} +99 -97
  27. package/dist/vue-data-ui.js +1 -1
  28. package/dist/{vue-ui-3d-bar-D5Wpdqfk.js → vue-ui-3d-bar-CrdssfKx.js} +41 -34
  29. package/dist/{vue-ui-accordion-CVnA550V.js → vue-ui-accordion-CcTUbiHq.js} +3 -3
  30. package/dist/{vue-ui-age-pyramid-BuAl-zC5.js → vue-ui-age-pyramid-ZYFAAcwc.js} +134 -127
  31. package/dist/{vue-ui-annotator-gl2A20m3.js → vue-ui-annotator-BEgBoRWQ.js} +2 -2
  32. package/dist/{vue-ui-bullet-D-VMKpwe.js → vue-ui-bullet-DYzLfkYB.js} +90 -83
  33. package/dist/{vue-ui-candlestick-1r6YwiUV.js → vue-ui-candlestick-Cdu2ozig.js} +101 -94
  34. package/dist/{vue-ui-carousel-table-B6UJoNtP.js → vue-ui-carousel-table-Dce2wfVw.js} +4 -4
  35. package/dist/{vue-ui-chestnut-DnlBYpC5.js → vue-ui-chestnut-CCMAbLrw.js} +270 -263
  36. package/dist/{vue-ui-chord-D3kpzYjp.js → vue-ui-chord-B8Sl_FwD.js} +60 -53
  37. package/dist/{vue-ui-circle-pack-CHgdpoYu.js → vue-ui-circle-pack-BX6_ToJl.js} +121 -114
  38. package/dist/{vue-ui-cursor-63EAvElT.js → vue-ui-cursor-CyaF0qp7.js} +2 -2
  39. package/dist/{vue-ui-dashboard-Da6CPET-.js → vue-ui-dashboard-BmL_vnj5.js} +62 -62
  40. package/dist/{vue-ui-digits-CA8pUKej.js → vue-ui-digits-BRKjd-LQ.js} +2 -2
  41. package/dist/vue-ui-donut-LZR-vpdS.js +1338 -0
  42. package/dist/{vue-ui-donut-evolution-qeBEA4W8.js → vue-ui-donut-evolution-dax3dN9r.js} +215 -211
  43. package/dist/{vue-ui-dumbbell-Bm0PvAKT.js → vue-ui-dumbbell-C7ZNBVSy.js} +117 -110
  44. package/dist/{vue-ui-flow-C2dqXvrU.js → vue-ui-flow-BeLwkeHo.js} +105 -98
  45. package/dist/{vue-ui-funnel-Dvy5rRld.js → vue-ui-funnel-BywaRLZR.js} +138 -131
  46. package/dist/{vue-ui-galaxy-Y8LYp5n2.js → vue-ui-galaxy-DYavEd4o.js} +150 -146
  47. package/dist/{vue-ui-gauge-BBo0jWAP.js → vue-ui-gauge-DwQRlRWp.js} +125 -118
  48. package/dist/{vue-ui-gizmo-DjXfTOWn.js → vue-ui-gizmo-CjRczit6.js} +3 -3
  49. package/dist/{vue-ui-heatmap-BbxRpltP.js → vue-ui-heatmap-cRy0tcES.js} +155 -148
  50. package/dist/{vue-ui-history-plot-ChYf3Nvc.js → vue-ui-history-plot-D8aTdU23.js} +141 -134
  51. package/dist/{vue-ui-kpi-Vfc5-JnE.js → vue-ui-kpi-B10h_Hbt.js} +3 -3
  52. package/dist/{vue-ui-mini-loader-C0-Nsz8K.js → vue-ui-mini-loader-DNhr_0fr.js} +2 -2
  53. package/dist/{vue-ui-molecule-B7Yu7vzF.js → vue-ui-molecule-4MeyWn0c.js} +141 -134
  54. package/dist/{vue-ui-mood-radar-C8JUTwNw.js → vue-ui-mood-radar-DJmgRVT2.js} +126 -119
  55. package/dist/vue-ui-nested-donuts-CgaPLxV2.js +1177 -0
  56. package/dist/{vue-ui-onion-D4U7TL_N.js → vue-ui-onion-swDxtTT3.js} +88 -81
  57. package/dist/{vue-ui-parallel-coordinate-plot-CXMT7Rjr.js → vue-ui-parallel-coordinate-plot-DayzzOmK.js} +123 -116
  58. package/dist/{vue-ui-quadrant-B13pTVVZ.js → vue-ui-quadrant-CLf81ioF.js} +151 -144
  59. package/dist/{vue-ui-quick-chart-C0UL4o63.js → vue-ui-quick-chart-smKrpIwq.js} +39 -32
  60. package/dist/{vue-ui-radar-XpdiXnhz.js → vue-ui-radar-D8CIvG2q.js} +58 -51
  61. package/dist/{vue-ui-rating-CM8ZrUb1.js → vue-ui-rating-YZivkWBI.js} +2 -2
  62. package/dist/{vue-ui-relation-circle-CYoFNekk.js → vue-ui-relation-circle-DsEYbNs_.js} +127 -120
  63. package/dist/{vue-ui-ridgeline-QUquE6ck.js → vue-ui-ridgeline-Do6C5lMY.js} +98 -91
  64. package/dist/{vue-ui-rings-DwT0IfOh.js → vue-ui-rings-CMryJR1g.js} +208 -204
  65. package/dist/{vue-ui-scatter-zDpy1udm.js → vue-ui-scatter-BtLKWQbX.js} +172 -165
  66. package/dist/{vue-ui-skeleton-DJPjyNYn.js → vue-ui-skeleton-B4KQLEQy.js} +3 -3
  67. package/dist/{vue-ui-smiley-DoDXl6k0.js → vue-ui-smiley-CZBuA-1x.js} +2 -2
  68. package/dist/{vue-ui-spark-trend-CniV6Cpr.js → vue-ui-spark-trend-CdgyexDu.js} +3 -3
  69. package/dist/{vue-ui-sparkbar-Ds2ITgwn.js → vue-ui-sparkbar-DuZulYgD.js} +3 -3
  70. package/dist/{vue-ui-sparkgauge-CosfK-kw.js → vue-ui-sparkgauge-Di0FmUXs.js} +3 -3
  71. package/dist/{vue-ui-sparkhistogram-C7O1wPAJ.js → vue-ui-sparkhistogram-CHNHz9Gm.js} +4 -4
  72. package/dist/{vue-ui-sparkline-B_iUj3F2.js → vue-ui-sparkline-TaWMi8gF.js} +3 -3
  73. package/dist/{vue-ui-sparkstackbar-DBhWrysr.js → vue-ui-sparkstackbar-Bv2HEegT.js} +3 -3
  74. package/dist/{vue-ui-stackbar-C3aV4IcL.js → vue-ui-stackbar-Bk3Bbzjk.js} +61 -54
  75. package/dist/{vue-ui-strip-plot-Bvr1GAzH.js → vue-ui-strip-plot-BNMDY4GI.js} +116 -109
  76. package/dist/{vue-ui-table-DQKKRgyo.js → vue-ui-table-JG0B8HuS.js} +3 -3
  77. package/dist/{vue-ui-table-heatmap-Dyqj5XJC.js → vue-ui-table-heatmap-CCdWeNZj.js} +5 -5
  78. package/dist/{vue-ui-table-sparkline-D4RubyLj.js → vue-ui-table-sparkline-C1u_b0RG.js} +4 -4
  79. package/dist/{vue-ui-thermometer-B0FKI5cG.js → vue-ui-thermometer-DkldIXw7.js} +88 -81
  80. package/dist/{vue-ui-timer-DUCBRIl-.js → vue-ui-timer-0KDTN-Gt.js} +5 -5
  81. package/dist/{vue-ui-tiremarks-CRt4UQZD.js → vue-ui-tiremarks-FPtGzTGi.js} +127 -120
  82. package/dist/vue-ui-treemap-BA5wC5Bs.js +965 -0
  83. package/dist/{vue-ui-vertical-bar-C5fPYltO.js → vue-ui-vertical-bar-DUJWYMRn.js} +233 -226
  84. package/dist/{vue-ui-waffle-BpWLlfpg.js → vue-ui-waffle-BIngg99N.js} +183 -179
  85. package/dist/{vue-ui-wheel-CTzuCroy.js → vue-ui-wheel-l5U2UH9c.js} +121 -114
  86. package/dist/{vue-ui-word-cloud-BPokdaP1.js → vue-ui-word-cloud-CTKuxhFY.js} +152 -145
  87. package/dist/{vue-ui-world-CS6k-oil.js → vue-ui-world-Dx5O9Is5.js} +77 -70
  88. package/dist/{vue-ui-xy-CQ425kLR.js → vue-ui-xy-JjA1CMAo.js} +229 -222
  89. package/dist/{vue-ui-xy-canvas-D2IFwAr7.js → vue-ui-xy-canvas-CH82b2Lp.js} +154 -147
  90. package/package.json +1 -1
  91. package/dist/vue-ui-donut-CKa7nFjt.js +0 -1324
  92. package/dist/vue-ui-nested-donuts-D0RgFifU.js +0 -1163
  93. package/dist/vue-ui-treemap-CWP5nYDx.js +0 -961
@@ -1,12 +1,12 @@
1
- import { useCssVars as De, computed as d, defineAsyncComponent as O, ref as h, shallowRef as ge, onMounted as Re, onBeforeUnmount as Me, watch as Ee, createElementBlock as u, openBlock as o, unref as s, normalizeStyle as L, normalizeClass as z, createBlock as N, createCommentVNode as f, createSlots as Ve, withCtx as g, renderSlot as b, normalizeProps as V, guardReactiveProps as B, createVNode as Be, createElementVNode as w, mergeProps as J, Fragment as U, renderList as G, toDisplayString as j, createTextVNode as Ue, nextTick as Ge } from "vue";
2
- import { u as je, c as He, o as Xe, e as pe, g as qe, d as Ye, l as We, i as H, f as X, X as Je, F as Ke, E as K, a as Qe, q as Ze, r as et } from "./index-pPGk-uhD.js";
3
- import { u as ke } from "./useNestedProp-DjACxgdZ.js";
4
- import { u as tt } from "./usePrinter-DDHcrl0A.js";
1
+ import { useCssVars as De, computed as d, defineAsyncComponent as O, ref as h, shallowRef as ge, onMounted as Re, onBeforeUnmount as Me, watch as Be, createElementBlock as i, openBlock as n, unref as s, normalizeStyle as _, normalizeClass as z, createBlock as N, createCommentVNode as b, createSlots as Ee, withCtx as g, renderSlot as m, normalizeProps as E, guardReactiveProps as V, createVNode as Ve, createElementVNode as w, mergeProps as J, Fragment as U, renderList as G, toDisplayString as j, createTextVNode as Ue, nextTick as Ge } from "vue";
2
+ import { u as je, c as He, o as Xe, e as pe, g as qe, d as Ye, l as We, i as H, f as X, X as Je, F as Ke, E as K, a as Qe, q as Ze, r as et } from "./index-JzUbx__y.js";
3
+ import { u as ke } from "./useNestedProp-D_jd2dz9.js";
4
+ import { u as tt } from "./usePrinter-CsyliflB.js";
5
5
  import { t as at, u as lt } from "./useResponsive-DfdjqQps.js";
6
6
  import { u as st } from "./useUserOptionState-BIvW1Kz7.js";
7
7
  import { u as ot } from "./useChartAccessibility-9icAAmYg.js";
8
- import nt from "./Title-B-2bV0SW.js";
9
- import rt from "./img-Y_hYz-ZC.js";
8
+ import nt from "./Title-BQb7X_OR.js";
9
+ import rt from "./img-D0DpKcFX.js";
10
10
  import { _ as ut } from "./_plugin-vue_export-helper-CHgC5LLL.js";
11
11
  const it = ["id"], ct = ["xmlns", "viewBox"], vt = ["width", "height"], dt = ["id"], ht = ["stop-color"], ft = ["stop-color"], bt = ["stop-color"], mt = ["stroke", "stroke-width"], yt = ["stroke", "stroke-width"], gt = ["x", "y", "font-size", "fill", "font-weight"], pt = ["points", "fill"], kt = ["stroke", "stroke-width", "rx"], Ct = ["x", "y", "font-size", "fill", "font-weight"], wt = ["x", "y", "font-size", "fill", "font-weight"], $t = {
12
12
  key: 5,
@@ -29,15 +29,15 @@ const it = ["id"], ct = ["xmlns", "viewBox"], vt = ["width", "height"], dt = ["i
29
29
  },
30
30
  setup(Ce, { expose: we }) {
31
31
  De((t) => ({
32
- "80091ad8": Pe.value
32
+ "5b02cfb2": Pe.value
33
33
  }));
34
- const $e = O(() => import("./vue-ui-accordion-CVnA550V.js")), xe = O(() => import("./DataTable-D0VYDhfx.js")), Le = O(() => import("./PackageVersion-5TR4ocqp.js")), _e = O(() => import("./PenAndPaper-D6AqipIO.js")), Ae = O(() => import("./vue-ui-skeleton-DJPjyNYn.js")), Te = O(() => import("./UserOptions-Dd34lEKb.js")), { vue_ui_funnel: Se } = je(), m = Ce, _ = h(null), P = h(He()), Q = h(0), Z = h(0), ee = h(0), te = h(null), ae = h(null), le = h(null), C = ge(null), A = ge(null), $ = h(!1), T = d(() => !!m.dataset && m.dataset.length);
34
+ const $e = O(() => import("./vue-ui-accordion-CcTUbiHq.js")), xe = O(() => import("./DataTable-6BxhjBzt.js")), Le = O(() => import("./PackageVersion-CIX1W_aa.js")), _e = O(() => import("./PenAndPaper-CqJ4wudB.js")), Ae = O(() => import("./vue-ui-skeleton-B4KQLEQy.js")), Te = O(() => import("./UserOptions-lneAyZKu.js")), { vue_ui_funnel: Se } = je(), y = Ce, $ = h(null), P = h(He()), Q = h(0), Z = h(0), ee = h(0), te = h(null), ae = h(null), le = h(null), C = ge(null), A = ge(null), x = h(!1), T = d(() => !!y.dataset && y.dataset.length);
35
35
  Re(se);
36
36
  function se() {
37
- if (Xe(m.dataset) ? pe({
37
+ if (Xe(y.dataset) ? pe({
38
38
  componentName: "VueUiFunnel",
39
39
  type: "dataset"
40
- }) : m.dataset.forEach((t, l) => {
40
+ }) : y.dataset.forEach((t, l) => {
41
41
  qe({
42
42
  datasetObject: t,
43
43
  requiredAttributes: ["name", "value"]
@@ -52,34 +52,34 @@ const it = ["id"], ct = ["xmlns", "viewBox"], vt = ["width", "height"], dt = ["i
52
52
  }), e.value.responsive) {
53
53
  const t = at(() => {
54
54
  const { width: l, height: a } = lt({
55
- chart: _.value,
55
+ chart: $.value,
56
56
  title: e.value.style.chart.title.text ? le.value : null,
57
57
  source: ae.value,
58
58
  noTitle: te.value
59
59
  });
60
60
  requestAnimationFrame(() => {
61
- c.value.height = a, c.value.width = l, k.value = he(), e.value.responsiveProportionalSizing ? (i.value.circles = K({
61
+ v.value.height = a, v.value.width = l, k.value = he(), e.value.responsiveProportionalSizing ? (c.value.circles = K({
62
62
  relator: Math.min(l, a),
63
63
  adjuster: 600,
64
64
  source: e.value.style.chart.circles.dataLabels.fontSize,
65
65
  threshold: 10,
66
66
  fallback: 10
67
- }), i.value.names = K({
67
+ }), c.value.names = K({
68
68
  relator: Math.min(l, a),
69
69
  adjuster: 600,
70
70
  source: e.value.style.chart.bars.dataLabels.name.fontSize,
71
71
  threshold: 10,
72
72
  fallback: 10
73
- }), i.value.values = K({
73
+ }), c.value.values = K({
74
74
  relator: Math.min(l, a),
75
75
  adjuster: 600,
76
76
  source: e.value.style.chart.bars.dataLabels.value.fontSize,
77
77
  threshold: 10,
78
78
  fallback: 10
79
- })) : (i.value.circles = e.value.style.chart.circles.dataLabels.fontSize, i.value.names = e.value.style.chart.bars.dataLabels.name.fontSize, i.value.values = e.value.style.chart.bars.dataLabels.value.fontSize);
79
+ })) : (c.value.circles = e.value.style.chart.circles.dataLabels.fontSize, c.value.names = e.value.style.chart.bars.dataLabels.name.fontSize, c.value.values = e.value.style.chart.bars.dataLabels.value.fontSize);
80
80
  });
81
81
  });
82
- C.value && (A.value && C.value.unobserve(A.value), C.value.disconnect()), C.value = new ResizeObserver(t), A.value = _.value.parentNode, C.value.observe(A.value);
82
+ C.value && (A.value && C.value.unobserve(A.value), C.value.disconnect()), C.value = new ResizeObserver(t), A.value = $.value.parentNode, C.value.observe(A.value);
83
83
  }
84
84
  }
85
85
  Me(() => {
@@ -87,12 +87,12 @@ const it = ["id"], ct = ["xmlns", "viewBox"], vt = ["width", "height"], dt = ["i
87
87
  });
88
88
  function oe() {
89
89
  const t = ke({
90
- userConfig: m.config,
90
+ userConfig: y.config,
91
91
  defaultConfig: Se
92
92
  });
93
93
  return t.theme ? {
94
94
  ...ke({
95
- userConfig: Qe.vue_ui_funnel[t.theme] || m.config,
95
+ userConfig: Qe.vue_ui_funnel[t.theme] || y.config,
96
96
  defaultConfig: t
97
97
  })
98
98
  } : t;
@@ -101,8 +101,8 @@ const it = ["id"], ct = ["xmlns", "viewBox"], vt = ["width", "height"], dt = ["i
101
101
  get: () => oe(),
102
102
  set: (t) => t
103
103
  }), { userOptionsVisible: q, setUserOptionsVisibility: ne, keepUserOptionState: re } = st({ config: e.value }), { svgRef: ue } = ot({ config: e.value.style.chart.title });
104
- Ee(() => m.config, (t) => {
105
- e.value = oe(), q.value = !e.value.userOptions.showOnChartHover, se(), Z.value += 1, ee.value += 1, i.value.circles = e.value.style.chart.circles.dataLabels.fontSize, i.value.names = e.value.style.chart.bars.dataLabels.name.fontSize, i.value.values = e.value.style.chart.bars.dataLabels.value.fontSize, I.value.showTable = e.value.table.show;
104
+ Be(() => y.config, (t) => {
105
+ e.value = oe(), q.value = !e.value.userOptions.showOnChartHover, se(), Z.value += 1, ee.value += 1, c.value.circles = e.value.style.chart.circles.dataLabels.fontSize, c.value.names = e.value.style.chart.bars.dataLabels.name.fontSize, c.value.values = e.value.style.chart.bars.dataLabels.value.fontSize, I.value.showTable = e.value.table.show;
106
106
  }, { deep: !0 });
107
107
  const { isPrinting: ie, isImaging: ce, generatePdf: ve, generateImage: de } = tt({
108
108
  elementId: `funnel_${P.value}`,
@@ -110,52 +110,52 @@ const it = ["id"], ct = ["xmlns", "viewBox"], vt = ["width", "height"], dt = ["i
110
110
  options: e.value.userOptions.print
111
111
  }), Oe = d(() => e.value.userOptions.show && !e.value.style.chart.title.text), I = h({
112
112
  showTable: e.value.table.show
113
- }), i = h({
113
+ }), c = h({
114
114
  circles: e.value.style.chart.circles.dataLabels.fontSize,
115
115
  names: e.value.style.chart.bars.dataLabels.name.fontSize,
116
116
  values: e.value.style.chart.bars.dataLabels.value.fontSize
117
- }), c = d({
117
+ }), v = d({
118
118
  get: () => ({
119
119
  height: e.value.style.chart.height,
120
120
  width: e.value.style.chart.width
121
121
  }),
122
122
  set: (t) => t
123
- }), p = d(() => T.value ? m.dataset.map((t, l) => ({
123
+ }), p = d(() => T.value ? y.dataset.map((t, l) => ({
124
124
  ...t,
125
- color: t.color ? Ye(t.color) : We(e.value.style.chart.bars.defaultColor, l / m.dataset.length)
125
+ color: t.color ? Ye(t.color) : We(e.value.style.chart.bars.defaultColor, l / y.dataset.length)
126
126
  })) : []);
127
127
  setTimeout(() => {
128
- $.value = !0;
128
+ x.value = !0;
129
129
  }, p.value.length * 150);
130
130
  function he() {
131
131
  const t = e.value.style.chart.padding.left, l = e.value.style.chart.padding.top;
132
132
  return {
133
133
  left: t,
134
134
  top: l,
135
- right: c.value.width - e.value.style.chart.padding.right,
136
- bottom: c.value.height - e.value.style.chart.padding.bottom,
137
- width: c.value.width - t - e.value.style.chart.padding.right,
138
- height: c.value.height - l - e.value.style.chart.padding.bottom
135
+ right: v.value.width - e.value.style.chart.padding.right,
136
+ bottom: v.value.height - e.value.style.chart.padding.bottom,
137
+ width: v.value.width - t - e.value.style.chart.padding.right,
138
+ height: v.value.height - l - e.value.style.chart.padding.bottom
139
139
  };
140
140
  }
141
- const k = h(he()), S = d(() => k.value.height / m.dataset.length), x = d(() => S.value * e.value.style.chart.bars.gapRatio), fe = d(() => k.value.width * e.value.style.chart.barCircleSpacingRatio), r = d(() => p.value.map((t, l) => {
142
- const a = S.value - x.value, n = k.value.top + x.value / 2 * l + (S.value - x.value / 2) * l + x.value / 2, y = t.value / p.value[0].value, v = (k.value.width - a - fe.value) * (t.value / p.value[0].value);
141
+ const k = h(he()), S = d(() => k.value.height / y.dataset.length), L = d(() => S.value * e.value.style.chart.bars.gapRatio), fe = d(() => k.value.width * e.value.style.chart.barCircleSpacingRatio), r = d(() => p.value.map((t, l) => {
142
+ const a = S.value - L.value, o = k.value.top + L.value / 2 * l + (S.value - L.value / 2) * l + L.value / 2, f = t.value / p.value[0].value, u = (k.value.width - a - fe.value) * (t.value / p.value[0].value);
143
143
  return {
144
144
  ...t,
145
145
  cx: k.value.left + a / 2,
146
- cy: n + a / 2,
146
+ cy: o + a / 2,
147
147
  datapointIndex: l,
148
148
  fill: t.color,
149
149
  height: Math.max(a, 0),
150
- proportion: y,
150
+ proportion: f,
151
151
  r: Math.max(a / 2, 0),
152
- width: Math.max(v, 0),
152
+ width: Math.max(u, 0),
153
153
  x: k.value.left + a + fe.value,
154
- y: n
154
+ y: o
155
155
  };
156
156
  })), ze = d(() => {
157
- const t = r.value.map((l) => `${l.x + l.width},${l.y + (S.value - x.value) / 2}`);
158
- return `${r.value[0].x},${r.value[0].y + (S.value - x.value) / 2} ${t.toString()} ${r.value.at(-1).x},${r.value.at(-1).y + (S.value - x.value) / 2}`;
157
+ const t = r.value.map((l) => `${l.x + l.width},${l.y + (S.value - L.value) / 2}`);
158
+ return `${r.value[0].x},${r.value[0].y + (S.value - L.value) / 2} ${t.toString()} ${r.value.at(-1).x},${r.value.at(-1).y + (S.value - L.value) / 2}`;
159
159
  }), Ne = d(() => ({
160
160
  x1: r.value[0].cx,
161
161
  y1: r.value[0].cy,
@@ -178,34 +178,34 @@ const it = ["id"], ct = ["xmlns", "viewBox"], vt = ["width", "height"], dt = ["i
178
178
  color: a.color
179
179
  })), l = p.value.map((a) => a.value);
180
180
  return { head: t, body: l };
181
- }), E = d(() => {
181
+ }), B = d(() => {
182
182
  const t = [
183
183
  e.value.table.columnNames.series,
184
184
  e.value.table.columnNames.value,
185
185
  e.value.table.columnNames.percentage
186
- ], l = D.value.head.map((y, v) => {
186
+ ], l = D.value.head.map((f, u) => {
187
187
  const R = H(
188
188
  e.value.style.chart.bars.dataLabels.value.formatter,
189
- D.value.body[v],
189
+ D.value.body[u],
190
190
  X({
191
191
  p: e.value.style.chart.bars.dataLabels.value.prefix,
192
- v: D.value.body[v],
192
+ v: D.value.body[u],
193
193
  s: e.value.style.chart.bars.dataLabels.value.suffix,
194
194
  r: e.value.table.td.roundingValue
195
195
  }),
196
- { datapoint: r.value[v] }
196
+ { datapoint: r.value[u] }
197
197
  ), W = H(
198
198
  e.value.style.chart.circles.dataLabels.formatter,
199
- r.value[v].proportion * 100,
199
+ r.value[u].proportion * 100,
200
200
  X({
201
- v: r.value[v].proportion * 100,
201
+ v: r.value[u].proportion * 100,
202
202
  s: "%",
203
203
  r: e.value.table.td.roundingPercentage
204
204
  }),
205
- { datapoint: r.value[v] }
205
+ { datapoint: r.value[u] }
206
206
  );
207
207
  return [
208
- { color: y.color, name: y.name },
208
+ { color: f.color, name: f.name },
209
209
  R,
210
210
  W
211
211
  ];
@@ -235,19 +235,26 @@ const it = ["id"], ct = ["xmlns", "viewBox"], vt = ["width", "height"], dt = ["i
235
235
  });
236
236
  function ye(t = null) {
237
237
  Ge(() => {
238
- const l = D.value.head.map((y, v) => [[
239
- y.name
240
- ], [D.value.body[v]], [r.value[v].proportion * 100]]), a = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [[e.value.table.columnNames.series], [e.value.table.columnNames.value], ["%"]]].concat(l), n = Ze(a);
241
- t ? t(n) : et({ csvContent: n, title: e.value.style.chart.title.text || "vue-ui-funnel" });
238
+ const l = D.value.head.map((f, u) => [[
239
+ f.name
240
+ ], [D.value.body[u]], [r.value[u].proportion * 100]]), a = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [[e.value.table.columnNames.series], [e.value.table.columnNames.value], ["%"]]].concat(l), o = Ze(a);
241
+ t ? t(o) : et({ csvContent: o, title: e.value.style.chart.title.text || "vue-ui-funnel" });
242
242
  });
243
243
  }
244
244
  function Ie() {
245
245
  return p.value;
246
246
  }
247
247
  async function Fe({ scale: t = 2 } = {}) {
248
- if (!_.value) return;
249
- const { imageUri: l, base64: a } = await rt({ domElement: _.value, base64: !0, img: !0, scale: t });
250
- return { imageUri: l, base64: a };
248
+ if (!$.value) return;
249
+ const { width: l, height: a } = $.value.getBoundingClientRect(), o = l / a, { imageUri: f, base64: u } = await rt({ domElement: $.value, base64: !0, img: !0, scale: t });
250
+ return {
251
+ imageUri: f,
252
+ base64: u,
253
+ title: e.value.style.chart.title.text,
254
+ width: l,
255
+ height: a,
256
+ aspectRatio: o
257
+ };
251
258
  }
252
259
  return we({
253
260
  getData: Ie,
@@ -258,37 +265,37 @@ const it = ["id"], ct = ["xmlns", "viewBox"], vt = ["width", "height"], dt = ["i
258
265
  toggleTable: me,
259
266
  toggleAnnotator: Y,
260
267
  toggleFullscreen: be
261
- }), (t, l) => (o(), u("div", {
268
+ }), (t, l) => (n(), i("div", {
262
269
  ref_key: "funnelChart",
263
- ref: _,
270
+ ref: $,
264
271
  class: z(`vue-ui-funnel ${F.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.value.useCssAnimation ? "" : "vue-ui-dna"}`),
265
- style: L(`font-family:${e.value.style.fontFamily};width:100%; ${e.value.responsive ? "height:100%;" : ""} text-align:center;background:${e.value.style.chart.backgroundColor}`),
272
+ style: _(`font-family:${e.value.style.fontFamily};width:100%; ${e.value.responsive ? "height:100%;" : ""} text-align:center;background:${e.value.style.chart.backgroundColor}`),
266
273
  id: `funnel_${P.value}`,
267
274
  onMouseenter: l[1] || (l[1] = () => s(ne)(!0)),
268
275
  onMouseleave: l[2] || (l[2] = () => s(ne)(!1))
269
276
  }, [
270
- e.value.userOptions.buttons.annotator ? (o(), N(s(_e), {
277
+ e.value.userOptions.buttons.annotator ? (n(), N(s(_e), {
271
278
  key: 0,
272
279
  svgRef: s(ue),
273
280
  backgroundColor: e.value.style.chart.backgroundColor,
274
281
  color: e.value.style.chart.color,
275
282
  active: M.value,
276
283
  onClose: Y
277
- }, null, 8, ["svgRef", "backgroundColor", "color", "active"])) : f("", !0),
278
- Oe.value ? (o(), u("div", {
284
+ }, null, 8, ["svgRef", "backgroundColor", "color", "active"])) : b("", !0),
285
+ Oe.value ? (n(), i("div", {
279
286
  key: 1,
280
287
  ref_key: "noTitle",
281
288
  ref: te,
282
289
  class: "vue-data-ui-no-title-space",
283
290
  style: "height:36px; width: 100%;background:transparent"
284
- }, null, 512)) : f("", !0),
285
- e.value.style.chart.title.text ? (o(), u("div", {
291
+ }, null, 512)) : b("", !0),
292
+ e.value.style.chart.title.text ? (n(), i("div", {
286
293
  key: 2,
287
294
  ref_key: "chartTitle",
288
295
  ref: le,
289
296
  style: "width:100%;background:transparent;padding-bottom:24px"
290
297
  }, [
291
- (o(), N(nt, {
298
+ (n(), N(nt, {
292
299
  key: `title_${Z.value}`,
293
300
  config: {
294
301
  title: {
@@ -301,8 +308,8 @@ const it = ["id"], ct = ["xmlns", "viewBox"], vt = ["width", "height"], dt = ["i
301
308
  }
302
309
  }
303
310
  }, null, 8, ["config"]))
304
- ], 512)) : f("", !0),
305
- e.value.userOptions.show && T.value && (s(re) || s(q)) ? (o(), N(s(Te), {
311
+ ], 512)) : b("", !0),
312
+ e.value.userOptions.show && T.value && (s(re) || s(q)) ? (n(), N(s(Te), {
306
313
  ref: "details",
307
314
  key: `user_option_${Q.value}`,
308
315
  backgroundColor: e.value.style.chart.backgroundColor,
@@ -318,7 +325,7 @@ const it = ["id"], ct = ["xmlns", "viewBox"], vt = ["width", "height"], dt = ["i
318
325
  hasLabel: !1,
319
326
  hasFullscreen: e.value.userOptions.buttons.fullscreen,
320
327
  isFullscreen: F.value,
321
- chartElement: _.value,
328
+ chartElement: $.value,
322
329
  position: e.value.userOptions.position,
323
330
  titles: { ...e.value.userOptions.buttonTitles },
324
331
  hasAnnotator: e.value.userOptions.buttons.annotator,
@@ -331,82 +338,82 @@ const it = ["id"], ct = ["xmlns", "viewBox"], vt = ["width", "height"], dt = ["i
331
338
  onGenerateImage: s(de),
332
339
  onToggleTable: me,
333
340
  onGenerateCsv: ye,
334
- style: L({
341
+ style: _({
335
342
  visibility: s(re) ? s(q) ? "visible" : "hidden" : "visible"
336
343
  })
337
- }, Ve({ _: 2 }, [
344
+ }, Ee({ _: 2 }, [
338
345
  t.$slots.menuIcon ? {
339
346
  name: "menuIcon",
340
- fn: g(({ isOpen: a, color: n }) => [
341
- b(t.$slots, "menuIcon", V(B({ isOpen: a, color: n })), void 0, !0)
347
+ fn: g(({ isOpen: a, color: o }) => [
348
+ m(t.$slots, "menuIcon", E(V({ isOpen: a, color: o })), void 0, !0)
342
349
  ]),
343
350
  key: "0"
344
351
  } : void 0,
345
352
  t.$slots.optionPdf ? {
346
353
  name: "optionPdf",
347
354
  fn: g(() => [
348
- b(t.$slots, "optionPdf", {}, void 0, !0)
355
+ m(t.$slots, "optionPdf", {}, void 0, !0)
349
356
  ]),
350
357
  key: "1"
351
358
  } : void 0,
352
359
  t.$slots.optionCsv ? {
353
360
  name: "optionCsv",
354
361
  fn: g(() => [
355
- b(t.$slots, "optionCsv", {}, void 0, !0)
362
+ m(t.$slots, "optionCsv", {}, void 0, !0)
356
363
  ]),
357
364
  key: "2"
358
365
  } : void 0,
359
366
  t.$slots.optionImg ? {
360
367
  name: "optionImg",
361
368
  fn: g(() => [
362
- b(t.$slots, "optionImg", {}, void 0, !0)
369
+ m(t.$slots, "optionImg", {}, void 0, !0)
363
370
  ]),
364
371
  key: "3"
365
372
  } : void 0,
366
373
  t.$slots.optionTable ? {
367
374
  name: "optionTable",
368
375
  fn: g(() => [
369
- b(t.$slots, "optionTable", {}, void 0, !0)
376
+ m(t.$slots, "optionTable", {}, void 0, !0)
370
377
  ]),
371
378
  key: "4"
372
379
  } : void 0,
373
380
  t.$slots.optionFullscreen ? {
374
381
  name: "optionFullscreen",
375
- fn: g(({ toggleFullscreen: a, isFullscreen: n }) => [
376
- b(t.$slots, "optionFullscreen", V(B({ toggleFullscreen: a, isFullscreen: n })), void 0, !0)
382
+ fn: g(({ toggleFullscreen: a, isFullscreen: o }) => [
383
+ m(t.$slots, "optionFullscreen", E(V({ toggleFullscreen: a, isFullscreen: o })), void 0, !0)
377
384
  ]),
378
385
  key: "5"
379
386
  } : void 0,
380
387
  t.$slots.optionAnnotator ? {
381
388
  name: "optionAnnotator",
382
- fn: g(({ toggleAnnotator: a, isAnnotator: n }) => [
383
- b(t.$slots, "optionAnnotator", V(B({ toggleAnnotator: a, isAnnotator: n })), void 0, !0)
389
+ fn: g(({ toggleAnnotator: a, isAnnotator: o }) => [
390
+ m(t.$slots, "optionAnnotator", E(V({ toggleAnnotator: a, isAnnotator: o })), void 0, !0)
384
391
  ]),
385
392
  key: "6"
386
393
  } : void 0
387
- ]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasPdf", "hasImg", "hasXls", "hasTable", "hasFullscreen", "isFullscreen", "chartElement", "position", "titles", "hasAnnotator", "isAnnotation", "callbacks", "printScale", "onGeneratePdf", "onGenerateImage", "style"])) : f("", !0),
388
- T.value ? (o(), u("svg", {
394
+ ]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasPdf", "hasImg", "hasXls", "hasTable", "hasFullscreen", "isFullscreen", "chartElement", "position", "titles", "hasAnnotator", "isAnnotation", "callbacks", "printScale", "onGeneratePdf", "onGenerateImage", "style"])) : b("", !0),
395
+ T.value ? (n(), i("svg", {
389
396
  key: 4,
390
397
  ref_key: "svgRef",
391
398
  ref: ue,
392
399
  xmlns: s(Je),
393
400
  class: z({ "vue-data-ui-fullscreen--on": F.value, "vue-data-ui-fulscreen--off": !F.value }),
394
- viewBox: `0 0 ${c.value.width <= 0 ? 10 : c.value.width} ${c.value.height <= 0 ? 10 : c.value.height}`,
395
- style: L(`max-width:100%; overflow: visible; background:transparent;color:${e.value.style.chart.color}`)
401
+ viewBox: `0 0 ${v.value.width <= 0 ? 10 : v.value.width} ${v.value.height <= 0 ? 10 : v.value.height}`,
402
+ style: _(`max-width:100%; overflow: visible; background:transparent;color:${e.value.style.chart.color}`)
396
403
  }, [
397
- Be(s(Le)),
398
- t.$slots["chart-background"] ? (o(), u("foreignObject", {
404
+ Ve(s(Le)),
405
+ t.$slots["chart-background"] ? (n(), i("foreignObject", {
399
406
  key: 0,
400
407
  x: 0,
401
408
  y: 0,
402
- width: c.value.width <= 0 ? 10 : c.value.width,
403
- height: c.value.height <= 0 ? 10 : c.value.height,
409
+ width: v.value.width <= 0 ? 10 : v.value.width,
410
+ height: v.value.height <= 0 ? 10 : v.value.height,
404
411
  style: {
405
412
  pointerEvents: "none"
406
413
  }
407
414
  }, [
408
- b(t.$slots, "chart-background", {}, void 0, !0)
409
- ], 8, vt)) : f("", !0),
415
+ m(t.$slots, "chart-background", {}, void 0, !0)
416
+ ], 8, vt)) : b("", !0),
410
417
  w("defs", null, [
411
418
  w("linearGradient", {
412
419
  id: `funnel_area_${P.value}`,
@@ -430,7 +437,7 @@ const it = ["id"], ct = ["xmlns", "viewBox"], vt = ["width", "height"], dt = ["i
430
437
  }, null, 8, bt)
431
438
  ], 8, dt)
432
439
  ]),
433
- e.value.style.chart.circleLinks.show ? (o(), u("line", J({ key: 1 }, Ne.value, {
440
+ e.value.style.chart.circleLinks.show ? (n(), i("line", J({ key: 1 }, Ne.value, {
434
441
  stroke: e.value.style.chart.circleLinks.color,
435
442
  "stroke-width": 12 * e.value.style.chart.circleLinks.widthRatio,
436
443
  "stroke-linecap": "round",
@@ -441,29 +448,29 @@ const it = ["id"], ct = ["xmlns", "viewBox"], vt = ["width", "height"], dt = ["i
441
448
  strokeDasharray: e.value.useCssAnimation ? k.value.height : 0,
442
449
  strokeDashoffset: e.value.useCssAnimation ? k.value.height : 0
443
450
  }
444
- }), null, 16, mt)) : f("", !0),
445
- (o(!0), u(U, null, G(r.value, ({ cx: a, cy: n, r: y, fill: v }, R) => (o(), u("circle", J({ ref_for: !0 }, { cx: a, cy: n, r: y, fill: v }, {
451
+ }), null, 16, mt)) : b("", !0),
452
+ (n(!0), i(U, null, G(r.value, ({ cx: a, cy: o, r: f, fill: u }, R) => (n(), i("circle", J({ ref_for: !0 }, { cx: a, cy: o, r: f, fill: u }, {
446
453
  stroke: e.value.style.chart.circles.stroke,
447
454
  "stroke-width": e.value.style.chart.circles.strokeWidth,
448
455
  class: {
449
- animated: e.value.useCssAnimation && !$.value
456
+ animated: e.value.useCssAnimation && !x.value
450
457
  },
451
458
  style: {
452
459
  animationDelay: `${150 * R}ms`
453
460
  }
454
461
  }), null, 16, yt))), 256)),
455
- (o(!0), u(U, null, G(r.value, (a, n) => (o(), u("text", {
462
+ (n(!0), i(U, null, G(r.value, (a, o) => (n(), i("text", {
456
463
  x: a.cx,
457
- y: a.cy + i.value.circles / 3 + e.value.style.chart.circles.dataLabels.offsetY,
464
+ y: a.cy + c.value.circles / 3 + e.value.style.chart.circles.dataLabels.offsetY,
458
465
  "text-anchor": "middle",
459
- "font-size": i.value.circles,
466
+ "font-size": c.value.circles,
460
467
  fill: e.value.style.chart.circles.dataLabels.adaptColorToBackground ? s(Ke)(a.color) : e.value.style.chart.circles.dataLabels.color,
461
468
  "font-weight": e.value.style.chart.circles.dataLabels.bold ? "bold" : "normal",
462
469
  class: z({
463
- animated: e.value.useCssAnimation && !$.value
470
+ animated: e.value.useCssAnimation && !x.value
464
471
  }),
465
- style: L({
466
- animationDelay: `${150 * n}ms`
472
+ style: _({
473
+ animationDelay: `${150 * o}ms`
467
474
  })
468
475
  }, j(s(H)(
469
476
  e.value.style.chart.circles.dataLabels.formatter,
@@ -475,55 +482,55 @@ const it = ["id"], ct = ["xmlns", "viewBox"], vt = ["width", "height"], dt = ["i
475
482
  }),
476
483
  { datapoint: a }
477
484
  )), 15, gt))), 256)),
478
- e.value.style.chart.area.show ? (o(), u("polygon", {
485
+ e.value.style.chart.area.show ? (n(), i("polygon", {
479
486
  key: 2,
480
487
  points: ze.value,
481
488
  fill: `url(#funnel_area_${P.value})`,
482
489
  class: z({
483
- animated: e.value.useCssAnimation && !$.value
490
+ animated: e.value.useCssAnimation && !x.value
484
491
  }),
485
- style: L({
492
+ style: _({
486
493
  transition: e.value.useCssAnimation ? `all ${150 * p.value.length}ms ease-in` : "none"
487
494
  })
488
- }, null, 14, pt)) : f("", !0),
489
- (o(!0), u(U, null, G(r.value, ({ x: a, y: n, height: y, width: v, fill: R }, W) => (o(), u("rect", J({ ref_for: !0 }, { x: a, y: n, height: y, width: v, fill: R }, {
495
+ }, null, 14, pt)) : b("", !0),
496
+ (n(!0), i(U, null, G(r.value, ({ x: a, y: o, height: f, width: u, fill: R }, W) => (n(), i("rect", J({ ref_for: !0 }, { x: a, y: o, height: f, width: u, fill: R }, {
490
497
  stroke: e.value.style.chart.bars.stroke,
491
498
  "stroke-width": e.value.style.chart.bars.strokeWidth,
492
499
  rx: e.value.style.chart.bars.borderRadius,
493
500
  class: {
494
- animated: e.value.useCssAnimation && !$.value
501
+ animated: e.value.useCssAnimation && !x.value
495
502
  },
496
503
  style: {
497
504
  animationDelay: `${150 * W}ms`
498
505
  }
499
506
  }), null, 16, kt))), 256)),
500
- (o(!0), u(U, null, G(r.value, (a, n) => (o(), u("g", null, [
507
+ (n(!0), i(U, null, G(r.value, (a, o) => (n(), i("g", null, [
501
508
  w("text", {
502
509
  x: a.x + a.width + e.value.style.chart.bars.dataLabels.name.offsetX + 12,
503
- y: a.cy - i.value.names / 2 + e.value.style.chart.bars.dataLabels.name.offsetY,
510
+ y: a.cy - c.value.names / 2 + e.value.style.chart.bars.dataLabels.name.offsetY,
504
511
  "text-anchor": "start",
505
- "font-size": i.value.names,
512
+ "font-size": c.value.names,
506
513
  fill: e.value.style.chart.bars.dataLabels.name.color,
507
514
  "font-weight": e.value.style.chart.bars.dataLabels.name.bold ? "bold" : "normal",
508
515
  class: z({
509
- animated: e.value.useCssAnimation && !$.value
516
+ animated: e.value.useCssAnimation && !x.value
510
517
  }),
511
- style: L({
512
- animationDelay: `${150 * n}ms`
518
+ style: _({
519
+ animationDelay: `${150 * o}ms`
513
520
  })
514
521
  }, j(a.name), 15, Ct),
515
522
  w("text", {
516
523
  x: a.x + a.width + e.value.style.chart.bars.dataLabels.value.offsetX + 12,
517
- y: a.cy + i.value.values + e.value.style.chart.bars.dataLabels.value.offsetY,
524
+ y: a.cy + c.value.values + e.value.style.chart.bars.dataLabels.value.offsetY,
518
525
  "text-anchor": "start",
519
- "font-size": i.value.values,
526
+ "font-size": c.value.values,
520
527
  fill: e.value.style.chart.bars.dataLabels.value.color,
521
528
  "font-weight": e.value.style.chart.bars.dataLabels.value.bold ? "bold" : "normal",
522
529
  class: z({
523
- animated: e.value.useCssAnimation && !$.value
530
+ animated: e.value.useCssAnimation && !x.value
524
531
  }),
525
- style: L({
526
- animationDelay: `${150 * n}ms`
532
+ style: _({
533
+ animationDelay: `${150 * o}ms`
527
534
  })
528
535
  }, j(s(H)(
529
536
  e.value.style.chart.bars.dataLabels.value.formatter,
@@ -537,12 +544,12 @@ const it = ["id"], ct = ["xmlns", "viewBox"], vt = ["width", "height"], dt = ["i
537
544
  { datapoint: a }
538
545
  )), 15, wt)
539
546
  ]))), 256)),
540
- b(t.$slots, "svg", { svg: c.value }, void 0, !0)
541
- ], 14, ct)) : f("", !0),
542
- t.$slots.watermark ? (o(), u("div", $t, [
543
- b(t.$slots, "watermark", V(B({ isPrinting: s(ie) || s(ce) })), void 0, !0)
544
- ])) : f("", !0),
545
- T.value ? f("", !0) : (o(), N(s(Ae), {
547
+ m(t.$slots, "svg", { svg: v.value }, void 0, !0)
548
+ ], 14, ct)) : b("", !0),
549
+ t.$slots.watermark ? (n(), i("div", $t, [
550
+ m(t.$slots, "watermark", E(V({ isPrinting: s(ie) || s(ce) })), void 0, !0)
551
+ ])) : b("", !0),
552
+ T.value ? b("", !0) : (n(), N(s(Ae), {
546
553
  key: 6,
547
554
  config: {
548
555
  type: "verticalBar",
@@ -557,15 +564,15 @@ const it = ["id"], ct = ["xmlns", "viewBox"], vt = ["width", "height"], dt = ["i
557
564
  }
558
565
  }
559
566
  }, null, 8, ["config"])),
560
- t.$slots.source ? (o(), u("div", {
567
+ t.$slots.source ? (n(), i("div", {
561
568
  key: 7,
562
569
  ref_key: "source",
563
570
  ref: ae,
564
571
  dir: "auto"
565
572
  }, [
566
- b(t.$slots, "source", {}, void 0, !0)
567
- ], 512)) : f("", !0),
568
- T.value ? (o(), N(s($e), {
573
+ m(t.$slots, "source", {}, void 0, !0)
574
+ ], 512)) : b("", !0),
575
+ T.value ? (n(), N(s($e), {
569
576
  key: 8,
570
577
  hideDetails: "",
571
578
  config: {
@@ -582,12 +589,12 @@ const it = ["id"], ct = ["xmlns", "viewBox"], vt = ["width", "height"], dt = ["i
582
589
  }
583
590
  }, {
584
591
  content: g(() => [
585
- (o(), N(s(xe), {
592
+ (n(), N(s(xe), {
586
593
  key: `table_${ee.value}`,
587
- colNames: E.value.colNames,
588
- head: E.value.head,
589
- body: E.value.body,
590
- config: E.value.config,
594
+ colNames: B.value.colNames,
595
+ head: B.value.head,
596
+ body: B.value.body,
597
+ config: B.value.config,
591
598
  title: `${e.value.style.chart.title.text}${e.value.style.chart.title.subtitle.text ? ` : ${e.value.style.chart.title.subtitle.text}` : ""}`,
592
599
  onClose: l[0] || (l[0] = (a) => I.value.showTable = !1)
593
600
  }, {
@@ -604,10 +611,10 @@ const it = ["id"], ct = ["xmlns", "viewBox"], vt = ["width", "height"], dt = ["i
604
611
  }, 8, ["colNames", "head", "body", "config", "title"]))
605
612
  ]),
606
613
  _: 1
607
- }, 8, ["config"])) : f("", !0)
614
+ }, 8, ["config"])) : b("", !0)
608
615
  ], 46, it));
609
616
  }
610
- }, Dt = /* @__PURE__ */ ut(Lt, [["__scopeId", "data-v-eff0c793"]]);
617
+ }, Dt = /* @__PURE__ */ ut(Lt, [["__scopeId", "data-v-029174d3"]]);
611
618
  export {
612
619
  Dt as default
613
620
  };