vue-data-ui 2.12.6 → 2.12.7-beta.1

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 (109) hide show
  1. package/dist/{Arrow-Bd9ZVBnX.js → Arrow-C5-RFd0F.js} +1 -1
  2. package/dist/BaseDraggableDialog-CKbomZCX.js +180 -0
  3. package/dist/{BaseIcon-CNbwMh_-.js → BaseIcon-DhWmrDAn.js} +1 -1
  4. package/dist/{ColorPicker-B_FoQwtO.js → ColorPicker-F4TctKaQ.js} +23 -24
  5. package/dist/{DataTable-Rajdtaf6.js → DataTable-Y5HbiUZU.js} +11 -11
  6. package/dist/{Legend-BxtDQCIv.js → Legend-DtTYopxf.js} +8 -8
  7. package/dist/NonSvgPenAndPaper-PC9Yu1K_.js +467 -0
  8. package/dist/PackageVersion-DaWGaZxE.js +10 -0
  9. package/dist/{PenAndPaper-BkP3J-Ft.js → PenAndPaper-C-CpE0NC.js} +8 -10
  10. package/dist/RecursiveCircles-Dn3TGoL6.js +96 -0
  11. package/dist/RecursiveLabels-NTMB9w5C.js +49 -0
  12. package/dist/RecursiveLinks-ld_gDZH4.js +64 -0
  13. package/dist/{Shape-C69a0f29.js → Shape-B6kIkp2s.js} +2 -2
  14. package/dist/{Slicer-7qFdY-bT.js → Slicer-DXpA-pZk.js} +2 -2
  15. package/dist/SparkTooltip-DcdMxgqn.js +68 -0
  16. package/dist/{Title-CzaCeCOm.js → Title-Bc66VstS.js} +2 -2
  17. package/dist/Tooltip-B07vY6jm.js +149 -0
  18. package/dist/{usePrinter-C5bLp34h.js → UserOptions-C8X2STEg.js} +172 -231
  19. package/dist/{dom-to-png-Bm0D0yPL.js → dom-to-png-DH-7H-9g.js} +1 -1
  20. package/dist/{img-BN9AzqUr.js → img-CEn9LJxg.js} +1 -1
  21. package/dist/{index-BFzQMJda.js → index-BHEd2dgu.js} +21 -21
  22. package/dist/{pdf-uTbs813M.js → pdf-BfkyEFza.js} +1 -1
  23. package/dist/style.css +1 -1
  24. package/dist/useChartAccessibility-9icAAmYg.js +12 -0
  25. package/dist/useMouse-AicQS8Vf.js +13 -0
  26. package/dist/{useNestedProp-v7KPpwuP.js → useNestedProp-CZztHZIm.js} +1 -1
  27. package/dist/{usePanZoom-CUkkqW81.js → usePanZoom-BQMvRXEQ.js} +16 -17
  28. package/dist/usePrinter-C8URL2IU.js +53 -0
  29. package/dist/vClickOutside-C6WiFswA.js +13 -0
  30. package/dist/{vue-data-ui-D1k8FeRp.js → vue-data-ui-C0tGhjs9.js} +63 -63
  31. package/dist/vue-data-ui.js +19 -19
  32. package/dist/{vue-ui-3d-bar-DoklA4DT.js → vue-ui-3d-bar-CriyJ0Da.js} +397 -402
  33. package/dist/{vue-ui-accordion-BUz4JIIX.js → vue-ui-accordion-DntThSTF.js} +3 -3
  34. package/dist/{vue-ui-age-pyramid-4kyBq-Dy.js → vue-ui-age-pyramid-BwgozppD.js} +215 -218
  35. package/dist/{vue-ui-annotator-Bq1ZeFfb.js → vue-ui-annotator-B7jNrpQ0.js} +2 -2
  36. package/dist/{vue-ui-bullet-DU10avvA.js → vue-ui-bullet-C20X1YRt.js} +137 -140
  37. package/dist/{vue-ui-candlestick-BI1t3flz.js → vue-ui-candlestick-B264jwvu.js} +265 -271
  38. package/dist/{vue-ui-carousel-table-VowLf_oc.js → vue-ui-carousel-table-ECSEPy9m.js} +137 -137
  39. package/dist/{vue-ui-chestnut-BHjV3d94.js → vue-ui-chestnut-BxjeL4B6.js} +397 -400
  40. package/dist/{vue-ui-chord-CPr7r-2_.js → vue-ui-chord-CJNnQbPC.js} +356 -364
  41. package/dist/vue-ui-circle-pack-0RLVrL7y.js +656 -0
  42. package/dist/{vue-ui-cursor-C9teAbVI.js → vue-ui-cursor-c9pZbUX7.js} +2 -2
  43. package/dist/{vue-ui-dashboard-CwDYB8tP.js → vue-ui-dashboard-DJTFcJry.js} +62 -62
  44. package/dist/{vue-ui-digits-CHmkL0hn.js → vue-ui-digits-Cwy7WTqM.js} +2 -2
  45. package/dist/vue-ui-donut-BIFf4SLq.js +1292 -0
  46. package/dist/vue-ui-donut-evolution-mc_-1JSs.js +864 -0
  47. package/dist/{vue-ui-dumbbell-DTKLLd1N.js → vue-ui-dumbbell-D50S44wU.js} +265 -270
  48. package/dist/{vue-ui-flow-BLBhsU2n.js → vue-ui-flow-CxDTjjYn.js} +291 -300
  49. package/dist/{vue-ui-funnel-CIrWdeBk.js → vue-ui-funnel-DeC0U017.js} +216 -219
  50. package/dist/{vue-ui-galaxy-ByhKyIV4.js → vue-ui-galaxy-n0MW2u-q.js} +227 -235
  51. package/dist/{vue-ui-gauge-BbfBMpng.js → vue-ui-gauge-AYMCSEtU.js} +240 -243
  52. package/dist/{vue-ui-gizmo-BM-_QfHM.js → vue-ui-gizmo-Ckz1h7XW.js} +57 -58
  53. package/dist/{vue-ui-heatmap-BA4z4hsw.js → vue-ui-heatmap-m0SgFsTu.js} +239 -242
  54. package/dist/{vue-ui-history-plot-8vM_IUy8.js → vue-ui-history-plot-BrcF_YLL.js} +257 -262
  55. package/dist/{vue-ui-kpi-D57QLK6A.js → vue-ui-kpi-DiVxDYiV.js} +29 -30
  56. package/dist/{vue-ui-mini-loader-CR4c-xJQ.js → vue-ui-mini-loader-CqbUMft8.js} +2 -2
  57. package/dist/vue-ui-molecule-BCUC8QED.js +580 -0
  58. package/dist/{vue-ui-mood-radar-Brc9cxoD.js → vue-ui-mood-radar-DrrjD9S1.js} +180 -186
  59. package/dist/{vue-ui-nested-donuts-W3Z5F--L.js → vue-ui-nested-donuts-8RTss1yH.js} +366 -374
  60. package/dist/{vue-ui-onion-BNBlGNlF.js → vue-ui-onion-CmPLnisN.js} +252 -258
  61. package/dist/{vue-ui-parallel-coordinate-plot-B5G3jyvg.js → vue-ui-parallel-coordinate-plot-BsbEUu_g.js} +292 -298
  62. package/dist/{vue-ui-quadrant-CUy9mVIA.js → vue-ui-quadrant-CdM3bVZs.js} +403 -409
  63. package/dist/{vue-ui-quick-chart-D4_8mRXU.js → vue-ui-quick-chart-C-lgCI6O.js} +611 -616
  64. package/dist/{vue-ui-radar-BUk56jGL.js → vue-ui-radar-Dq94lb99.js} +270 -277
  65. package/dist/{vue-ui-rating-B9TQl5KP.js → vue-ui-rating-DceDRLFc.js} +2 -2
  66. package/dist/vue-ui-relation-circle-DsKddA_I.js +525 -0
  67. package/dist/{vue-ui-ridgeline-Cl06bGom.js → vue-ui-ridgeline-CVR7NvJ_.js} +313 -317
  68. package/dist/{vue-ui-rings-B6bpFlFp.js → vue-ui-rings-B0soMLZ5.js} +260 -266
  69. package/dist/{vue-ui-scatter--WUuVw5G.js → vue-ui-scatter-Bq4_NUfW.js} +368 -374
  70. package/dist/{vue-ui-skeleton-B_YI7Yuc.js → vue-ui-skeleton-CG3Pn3Zg.js} +19 -19
  71. package/dist/{vue-ui-smiley-Bbam2fDz.js → vue-ui-smiley-aGKTgh42.js} +2 -2
  72. package/dist/{vue-ui-spark-trend-DavXuwGt.js → vue-ui-spark-trend--6lA4742.js} +114 -117
  73. package/dist/{vue-ui-sparkbar-9N1FU9-J.js → vue-ui-sparkbar-BXx7Vglf.js} +104 -106
  74. package/dist/{vue-ui-sparkgauge-_9ntq4EK.js → vue-ui-sparkgauge-zM4_Tgqb.js} +72 -74
  75. package/dist/{vue-ui-sparkhistogram-BEzOV4HV.js → vue-ui-sparkhistogram-BDNrZbWN.js} +93 -95
  76. package/dist/vue-ui-sparkline-CzzyDmYJ.js +459 -0
  77. package/dist/{vue-ui-sparkstackbar-BSWcs3v0.js → vue-ui-sparkstackbar-tBSUQ_09.js} +102 -105
  78. package/dist/{vue-ui-stackbar-gG5BLlAr.js → vue-ui-stackbar-BriZOfj6.js} +409 -412
  79. package/dist/{vue-ui-strip-plot-BJouRmxh.js → vue-ui-strip-plot-DzYyFp3o.js} +240 -246
  80. package/dist/{vue-ui-table-D9Ry8s4N.js → vue-ui-table-C2qosrZR.js} +3 -3
  81. package/dist/{vue-ui-table-heatmap-Bizzpi31.js → vue-ui-table-heatmap-COKfg2KT.js} +90 -90
  82. package/dist/{vue-ui-table-sparkline-Dg54Ovs2.js → vue-ui-table-sparkline-D7C5AiCp.js} +212 -212
  83. package/dist/{vue-ui-thermometer-6MSdF_Gm.js → vue-ui-thermometer-CDG6vSMm.js} +154 -157
  84. package/dist/{vue-ui-timer-ByaKokk8.js → vue-ui-timer-DOoO0CVB.js} +180 -181
  85. package/dist/vue-ui-tiremarks-BSPIy1A3.js +341 -0
  86. package/dist/vue-ui-treemap-DsMmxgin.js +947 -0
  87. package/dist/{vue-ui-vertical-bar-CE4oBwBv.js → vue-ui-vertical-bar-B2_ZHuyv.js} +381 -386
  88. package/dist/{vue-ui-waffle-DNEEnY_G.js → vue-ui-waffle-YhkwHcUX.js} +312 -318
  89. package/dist/vue-ui-wheel-CWHJwyyL.js +335 -0
  90. package/dist/vue-ui-word-cloud-BLgEqHRF.js +642 -0
  91. package/dist/{vue-ui-world-Brhq17TE.js → vue-ui-world-BQelvSLD.js} +389 -400
  92. package/dist/{vue-ui-xy-K2G7QQxG.js → vue-ui-xy-D1luVUXJ.js} +845 -846
  93. package/dist/vue-ui-xy-canvas-C7Pu9RFN.js +1206 -0
  94. package/package.json +6 -6
  95. package/dist/BaseDraggableDialog-Bzwlfmy1.js +0 -186
  96. package/dist/PackageVersion-BjrblLPQ.js +0 -10
  97. package/dist/Tooltip-CWmRmhJr.js +0 -158
  98. package/dist/useChartAccessibility-BWojgys7.js +0 -13
  99. package/dist/vue-ui-circle-pack-D_jYpsuD.js +0 -659
  100. package/dist/vue-ui-donut-WRUDvvZa.js +0 -1292
  101. package/dist/vue-ui-donut-evolution-BQxV5D_L.js +0 -871
  102. package/dist/vue-ui-molecule-Bq69N7rC.js +0 -782
  103. package/dist/vue-ui-relation-circle-T6aTibIU.js +0 -528
  104. package/dist/vue-ui-sparkline-D__GCUAz.js +0 -519
  105. package/dist/vue-ui-tiremarks-Z8pjUT1g.js +0 -344
  106. package/dist/vue-ui-treemap-pRJ3be5l.js +0 -956
  107. package/dist/vue-ui-wheel-DWPYZxdT.js +0 -338
  108. package/dist/vue-ui-word-cloud-DAR7R8F8.js +0 -648
  109. package/dist/vue-ui-xy-canvas-ml44sPHS.js +0 -1673
@@ -1,21 +1,16 @@
1
- import { useCssVars as Le, computed as v, onMounted as Te, ref as c, watch as Ae, createElementBlock as u, openBlock as s, unref as n, normalizeStyle as _, normalizeClass as T, createBlock as A, createCommentVNode as f, createSlots as Ne, withCtx as g, renderSlot as b, normalizeProps as M, guardReactiveProps as R, createVNode as Oe, createElementVNode as C, mergeProps as q, Fragment as V, renderList as B, toDisplayString as U, createTextVNode as ze, nextTick as Se } from "vue";
2
- import { u as Fe, o as Ie, e as me, g as Pe, c as De, d as Me, l as Re, i as E, f as G, X as Ve, G as Be, F as Y, a as Ue, q as Ee, r as Ge } from "./index-BFzQMJda.js";
3
- import { u as be } from "./useNestedProp-v7KPpwuP.js";
4
- import { u as je, U as He } from "./usePrinter-C5bLp34h.js";
5
- import { _ as Xe } from "./Title-CzaCeCOm.js";
6
- import { _ as qe } from "./PenAndPaper-BkP3J-Ft.js";
7
- import { D as Ye } from "./DataTable-Rajdtaf6.js";
8
- import We from "./vue-ui-accordion-BUz4JIIX.js";
9
- import { t as Je, u as Ke } from "./useResponsive-JZ9xq-JV.js";
10
- import Qe from "./vue-ui-skeleton-B_YI7Yuc.js";
11
- import { u as Ze } from "./useUserOptionState-BIvW1Kz7.js";
12
- import { _ as et } from "./PackageVersion-BjrblLPQ.js";
13
- import { u as tt } from "./useChartAccessibility-BWojgys7.js";
14
- import { _ as at } from "./_plugin-vue_export-helper-CHgC5LLL.js";
15
- const lt = ["id"], st = ["xmlns", "viewBox"], ot = ["width", "height"], nt = ["id"], rt = ["stop-color"], ut = ["stop-color"], it = ["stop-color"], ct = ["stroke", "stroke-width"], vt = ["stroke", "stroke-width"], dt = ["x", "y", "font-size", "fill", "font-weight"], ht = ["points", "fill"], ft = ["stroke", "stroke-width", "rx"], mt = ["x", "y", "font-size", "fill", "font-weight"], bt = ["x", "y", "font-size", "fill", "font-weight"], yt = {
1
+ import { useCssVars as Ie, computed as c, defineAsyncComponent as N, ref as v, shallowRef as ye, onMounted as De, onBeforeUnmount as Re, watch as Me, createElementBlock as u, openBlock as o, unref as s, normalizeStyle as _, normalizeClass as O, createBlock as z, createCommentVNode as f, createSlots as Ve, withCtx as g, renderSlot as m, normalizeProps as B, guardReactiveProps as E, createVNode as Be, createElementVNode as w, mergeProps as J, Fragment as U, renderList as G, toDisplayString as j, createTextVNode as Ee, nextTick as Ue } from "vue";
2
+ import { u as Ge, c as je, o as He, e as ge, g as Xe, d as qe, l as Ye, i as H, f as X, X as We, G as Je, F as K, a as Ke, q as Qe, r as Ze } from "./index-BHEd2dgu.js";
3
+ import { u as pe } from "./useNestedProp-CZztHZIm.js";
4
+ import { u as et } from "./usePrinter-C8URL2IU.js";
5
+ import { t as tt, u as at } from "./useResponsive-JZ9xq-JV.js";
6
+ import { u as lt } from "./useUserOptionState-BIvW1Kz7.js";
7
+ import { u as st } from "./useChartAccessibility-9icAAmYg.js";
8
+ import ot from "./Title-Bc66VstS.js";
9
+ import { _ as nt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
10
+ const rt = ["id"], ut = ["xmlns", "viewBox"], it = ["width", "height"], ct = ["id"], vt = ["stop-color"], dt = ["stop-color"], ht = ["stop-color"], ft = ["stroke", "stroke-width"], bt = ["stroke", "stroke-width"], mt = ["x", "y", "font-size", "fill", "font-weight"], yt = ["points", "fill"], gt = ["stroke", "stroke-width", "rx"], pt = ["x", "y", "font-size", "fill", "font-weight"], kt = ["x", "y", "font-size", "fill", "font-weight"], Ct = {
16
11
  key: 5,
17
12
  class: "vue-data-ui-watermark"
18
- }, gt = ["innerHTML"], pt = {
13
+ }, wt = ["innerHTML"], $t = {
19
14
  __name: "vue-ui-funnel",
20
15
  props: {
21
16
  config: {
@@ -31,22 +26,22 @@ const lt = ["id"], st = ["xmlns", "viewBox"], ot = ["width", "height"], nt = ["i
31
26
  }
32
27
  }
33
28
  },
34
- setup(ye, { expose: ge }) {
35
- Le((t) => ({
36
- "58a5200a": _e.value
29
+ setup(ke, { expose: Ce }) {
30
+ Ie((t) => ({
31
+ "4791aede": Pe.value
37
32
  }));
38
- const { vue_ui_funnel: pe } = Fe(), y = ye, x = v(() => !!y.dataset && y.dataset.length);
39
- Te(W);
40
- function W() {
41
- if (Ie(y.dataset) ? me({
33
+ const we = N(() => import("./vue-ui-accordion-DntThSTF.js")), $e = N(() => import("./DataTable-Y5HbiUZU.js")), xe = N(() => import("./PackageVersion-DaWGaZxE.js")), _e = N(() => import("./PenAndPaper-C-CpE0NC.js")), Le = N(() => import("./vue-ui-skeleton-CG3Pn3Zg.js")), Ae = N(() => import("./UserOptions-C8X2STEg.js")), { vue_ui_funnel: Te } = Ge(), y = ke, R = v(null), S = v(je()), Q = v(0), Z = v(0), ee = v(0), te = v(null), ae = v(null), le = v(null), C = ye(null), L = ye(null), $ = v(!1), A = c(() => !!y.dataset && y.dataset.length);
34
+ De(se);
35
+ function se() {
36
+ if (He(y.dataset) ? ge({
42
37
  componentName: "VueUiFunnel",
43
38
  type: "dataset"
44
39
  }) : y.dataset.forEach((t, l) => {
45
- Pe({
40
+ Xe({
46
41
  datasetObject: t,
47
42
  requiredAttributes: ["name", "value"]
48
43
  }).forEach((a) => {
49
- x.value = !1, me({
44
+ A.value = !1, ge({
50
45
  componentName: "VueUiFunnel",
51
46
  type: "datasetSerieAttribute",
52
47
  property: a,
@@ -54,27 +49,27 @@ const lt = ["id"], st = ["xmlns", "viewBox"], ot = ["width", "height"], nt = ["i
54
49
  });
55
50
  });
56
51
  }), e.value.responsive) {
57
- const t = Je(() => {
58
- const { width: l, height: a } = Ke({
59
- chart: I.value,
60
- title: e.value.style.chart.title.text ? te.value : null,
61
- source: ee.value,
62
- noTitle: Z.value
52
+ const t = tt(() => {
53
+ const { width: l, height: a } = at({
54
+ chart: R.value,
55
+ title: e.value.style.chart.title.text ? le.value : null,
56
+ source: ae.value,
57
+ noTitle: te.value
63
58
  });
64
59
  requestAnimationFrame(() => {
65
- i.value.height = a, i.value.width = l, k.value = ve(), d.value.circles = Y({
60
+ i.value.height = a, i.value.width = l, k.value = he(), d.value.circles = K({
66
61
  relator: Math.min(l, a),
67
62
  adjuster: 600,
68
63
  source: e.value.style.chart.circles.dataLabels.fontSize,
69
64
  threshold: 10,
70
65
  fallback: 10
71
- }), d.value.names = Y({
66
+ }), d.value.names = K({
72
67
  relator: Math.min(l, a),
73
68
  adjuster: 600,
74
69
  source: e.value.style.chart.bars.dataLabels.name.fontSize,
75
70
  threshold: 10,
76
71
  fallback: 10
77
- }), d.value.values = Y({
72
+ }), d.value.values = K({
78
73
  relator: Math.min(l, a),
79
74
  adjuster: 600,
80
75
  source: e.value.style.chart.bars.dataLabels.value.fontSize,
@@ -83,53 +78,55 @@ const lt = ["id"], st = ["xmlns", "viewBox"], ot = ["width", "height"], nt = ["i
83
78
  });
84
79
  });
85
80
  });
86
- ae.value = new ResizeObserver(t), ae.value.observe(I.value.parentNode);
81
+ C.value && (L.value && C.value.unobserve(L.value), C.value.disconnect()), C.value = new ResizeObserver(t), L.value = R.value.parentNode, C.value.observe(L.value);
87
82
  }
88
83
  }
89
- const I = c(null), N = c(De()), J = c(0), K = c(0), Q = c(0), Z = c(null), ee = c(null), te = c(null), ae = c(null), w = c(!1);
90
- function le() {
91
- const t = be({
84
+ Re(() => {
85
+ C.value && (L.value && C.value.unobserve(L.value), C.value.disconnect());
86
+ });
87
+ function oe() {
88
+ const t = pe({
92
89
  userConfig: y.config,
93
- defaultConfig: pe
90
+ defaultConfig: Te
94
91
  });
95
92
  return t.theme ? {
96
- ...be({
97
- userConfig: Ue.vue_ui_funnel[t.theme] || y.config,
93
+ ...pe({
94
+ userConfig: Ke.vue_ui_funnel[t.theme] || y.config,
98
95
  defaultConfig: t
99
96
  })
100
97
  } : t;
101
98
  }
102
- const e = v({
103
- get: () => le(),
99
+ const e = c({
100
+ get: () => oe(),
104
101
  set: (t) => t
105
- }), { userOptionsVisible: j, setUserOptionsVisibility: se, keepUserOptionState: oe } = Ze({ config: e.value }), { svgRef: ne } = tt({ config: e.value.style.chart.title });
106
- Ae(() => y.config, (t) => {
107
- e.value = le(), j.value = !e.value.userOptions.showOnChartHover, W(), K.value += 1, Q.value += 1, d.value.circles = e.value.style.chart.circles.dataLabels.fontSize, d.value.names = e.value.style.chart.bars.dataLabels.name.fontSize, d.value.values = e.value.style.chart.bars.dataLabels.value.fontSize, O.value.showTable = e.value.table.show;
102
+ }), { userOptionsVisible: q, setUserOptionsVisibility: ne, keepUserOptionState: re } = lt({ config: e.value }), { svgRef: ue } = st({ config: e.value.style.chart.title });
103
+ Me(() => y.config, (t) => {
104
+ e.value = oe(), q.value = !e.value.userOptions.showOnChartHover, se(), Z.value += 1, ee.value += 1, d.value.circles = e.value.style.chart.circles.dataLabels.fontSize, d.value.names = e.value.style.chart.bars.dataLabels.name.fontSize, d.value.values = e.value.style.chart.bars.dataLabels.value.fontSize, P.value.showTable = e.value.table.show;
108
105
  }, { deep: !0 });
109
- const { isPrinting: re, isImaging: ue, generatePdf: ie, generateImage: ce } = je({
110
- elementId: `funnel_${N.value}`,
106
+ const { isPrinting: ie, isImaging: ce, generatePdf: ve, generateImage: de } = et({
107
+ elementId: `funnel_${S.value}`,
111
108
  fileName: e.value.style.chart.title.text || "vue-ui-funnel",
112
109
  options: e.value.userOptions.print
113
- }), ke = v(() => e.value.userOptions.show && !e.value.style.chart.title.text), O = c({
110
+ }), Ne = c(() => e.value.userOptions.show && !e.value.style.chart.title.text), P = v({
114
111
  showTable: e.value.table.show
115
- }), d = c({
112
+ }), d = v({
116
113
  circles: e.value.style.chart.circles.dataLabels.fontSize,
117
114
  names: e.value.style.chart.bars.dataLabels.name.fontSize,
118
115
  values: e.value.style.chart.bars.dataLabels.value.fontSize
119
- }), i = v({
116
+ }), i = c({
120
117
  get: () => ({
121
118
  height: e.value.style.chart.height,
122
119
  width: e.value.style.chart.width
123
120
  }),
124
121
  set: (t) => t
125
- }), p = v(() => x.value ? y.dataset.map((t, l) => ({
122
+ }), p = c(() => A.value ? y.dataset.map((t, l) => ({
126
123
  ...t,
127
- color: t.color ? Me(t.color) : Re(e.value.style.chart.bars.defaultColor, l / y.dataset.length)
124
+ color: t.color ? qe(t.color) : Ye(e.value.style.chart.bars.defaultColor, l / y.dataset.length)
128
125
  })) : []);
129
126
  setTimeout(() => {
130
- w.value = !0;
127
+ $.value = !0;
131
128
  }, p.value.length * 150);
132
- function ve() {
129
+ function he() {
133
130
  const t = e.value.style.chart.padding.left, l = e.value.style.chart.padding.top;
134
131
  return {
135
132
  left: t,
@@ -140,66 +137,66 @@ const lt = ["id"], st = ["xmlns", "viewBox"], ot = ["width", "height"], nt = ["i
140
137
  height: i.value.height - l - e.value.style.chart.padding.bottom
141
138
  };
142
139
  }
143
- const k = c(ve()), L = v(() => k.value.height / y.dataset.length), $ = v(() => L.value * e.value.style.chart.bars.gapRatio), de = v(() => k.value.width * e.value.style.chart.barCircleSpacingRatio), r = v(() => p.value.map((t, l) => {
144
- const a = L.value - $.value, o = k.value.top + $.value / 2 * l + (L.value - $.value / 2) * l + $.value / 2, m = t.value / p.value[0].value, h = (k.value.width - a - de.value) * (t.value / p.value[0].value);
140
+ const k = v(he()), T = c(() => k.value.height / y.dataset.length), x = c(() => T.value * e.value.style.chart.bars.gapRatio), fe = c(() => k.value.width * e.value.style.chart.barCircleSpacingRatio), r = c(() => p.value.map((t, l) => {
141
+ const a = T.value - x.value, n = k.value.top + x.value / 2 * l + (T.value - x.value / 2) * l + x.value / 2, b = t.value / p.value[0].value, h = (k.value.width - a - fe.value) * (t.value / p.value[0].value);
145
142
  return {
146
143
  ...t,
147
144
  cx: k.value.left + a / 2,
148
- cy: o + a / 2,
145
+ cy: n + a / 2,
149
146
  datapointIndex: l,
150
147
  fill: t.color,
151
148
  height: Math.max(a, 0),
152
- proportion: m,
149
+ proportion: b,
153
150
  r: Math.max(a / 2, 0),
154
151
  width: Math.max(h, 0),
155
- x: k.value.left + a + de.value,
156
- y: o
152
+ x: k.value.left + a + fe.value,
153
+ y: n
157
154
  };
158
- })), Ce = v(() => {
159
- const t = r.value.map((l) => `${l.x + l.width},${l.y + (L.value - $.value) / 2}`);
160
- return `${r.value[0].x},${r.value[0].y + (L.value - $.value) / 2} ${t.toString()} ${r.value.at(-1).x},${r.value.at(-1).y + (L.value - $.value) / 2}`;
161
- }), we = v(() => ({
155
+ })), Oe = c(() => {
156
+ const t = r.value.map((l) => `${l.x + l.width},${l.y + (T.value - x.value) / 2}`);
157
+ return `${r.value[0].x},${r.value[0].y + (T.value - x.value) / 2} ${t.toString()} ${r.value.at(-1).x},${r.value.at(-1).y + (T.value - x.value) / 2}`;
158
+ }), ze = c(() => ({
162
159
  x1: r.value[0].cx,
163
160
  y1: r.value[0].cy,
164
161
  x2: r.value.at(-1).cx,
165
162
  y2: r.value.at(-1).cy
166
- })), z = c(!1);
167
- function $e(t) {
168
- z.value = t, J.value += 1;
163
+ })), F = v(!1);
164
+ function Se(t) {
165
+ F.value = t, Q.value += 1;
169
166
  }
170
- const _e = v(() => `${p.value.length * 150}ms`), P = c(!1);
171
- function H() {
172
- P.value = !P.value;
167
+ const Pe = c(() => `${p.value.length * 150}ms`), M = v(!1);
168
+ function Y() {
169
+ M.value = !M.value;
173
170
  }
174
- function he() {
175
- O.value.showTable = !O.value.showTable;
171
+ function be() {
172
+ P.value.showTable = !P.value.showTable;
176
173
  }
177
- const S = v(() => {
174
+ const I = c(() => {
178
175
  const t = p.value.map((a) => ({
179
176
  name: a.name,
180
177
  color: a.color
181
178
  })), l = p.value.map((a) => a.value);
182
179
  return { head: t, body: l };
183
- }), D = v(() => {
180
+ }), V = c(() => {
184
181
  const t = [
185
182
  e.value.table.columnNames.series,
186
183
  e.value.table.columnNames.value,
187
184
  e.value.table.columnNames.percentage
188
- ], l = S.value.head.map((m, h) => {
189
- const F = E(
185
+ ], l = I.value.head.map((b, h) => {
186
+ const D = H(
190
187
  e.value.style.chart.bars.dataLabels.value.formatter,
191
- S.value.body[h],
192
- G({
188
+ I.value.body[h],
189
+ X({
193
190
  p: e.value.style.chart.bars.dataLabels.value.prefix,
194
- v: S.value.body[h],
191
+ v: I.value.body[h],
195
192
  s: e.value.style.chart.bars.dataLabels.value.suffix,
196
193
  r: e.value.table.td.roundingValue
197
194
  }),
198
195
  { datapoint: r.value[h] }
199
- ), X = E(
196
+ ), W = H(
200
197
  e.value.style.chart.circles.dataLabels.formatter,
201
198
  r.value[h].proportion * 100,
202
- G({
199
+ X({
203
200
  v: r.value[h].proportion * 100,
204
201
  s: "%",
205
202
  r: e.value.table.td.roundingPercentage
@@ -207,9 +204,9 @@ const lt = ["id"], st = ["xmlns", "viewBox"], ot = ["width", "height"], nt = ["i
207
204
  { datapoint: r.value[h] }
208
205
  );
209
206
  return [
210
- { color: m.color, name: m.name },
211
- F,
212
- X
207
+ { color: b.color, name: b.name },
208
+ D,
209
+ W
213
210
  ];
214
211
  }), a = {
215
212
  th: {
@@ -235,56 +232,56 @@ const lt = ["id"], st = ["xmlns", "viewBox"], ot = ["width", "height"], nt = ["i
235
232
  config: a
236
233
  };
237
234
  });
238
- function fe() {
239
- Se(() => {
240
- const t = S.value.head.map((o, m) => [[
241
- o.name
242
- ], [S.value.body[m]], [r.value[m].proportion * 100]]), l = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [[e.value.table.columnNames.series], [e.value.table.columnNames.value], ["%"]]].concat(t), a = Ee(l);
243
- Ge({ csvContent: a, title: e.value.style.chart.title.text || "vue-ui-funnel" });
235
+ function me() {
236
+ Ue(() => {
237
+ const t = I.value.head.map((n, b) => [[
238
+ n.name
239
+ ], [I.value.body[b]], [r.value[b].proportion * 100]]), l = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [[e.value.table.columnNames.series], [e.value.table.columnNames.value], ["%"]]].concat(t), a = Qe(l);
240
+ Ze({ csvContent: a, title: e.value.style.chart.title.text || "vue-ui-funnel" });
244
241
  });
245
242
  }
246
- function xe() {
243
+ function Fe() {
247
244
  return p.value;
248
245
  }
249
- return ge({
250
- getData: xe,
251
- generatePdf: ie,
252
- generateCsv: fe,
253
- generateImage: ce,
254
- toggleTable: he,
255
- toggleAnnotator: H
256
- }), (t, l) => (s(), u("div", {
246
+ return Ce({
247
+ getData: Fe,
248
+ generatePdf: ve,
249
+ generateCsv: me,
250
+ generateImage: de,
251
+ toggleTable: be,
252
+ toggleAnnotator: Y
253
+ }), (t, l) => (o(), u("div", {
257
254
  ref_key: "funnelChart",
258
- ref: I,
259
- class: T(`vue-ui-funnel ${z.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.value.useCssAnimation ? "" : "vue-ui-dna"}`),
255
+ ref: R,
256
+ class: O(`vue-ui-funnel ${F.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.value.useCssAnimation ? "" : "vue-ui-dna"}`),
260
257
  style: _(`font-family:${e.value.style.fontFamily};width:100%; ${e.value.responsive ? "height:100%;" : ""} text-align:center;background:${e.value.style.chart.backgroundColor}`),
261
- id: `funnel_${N.value}`,
262
- onMouseenter: l[1] || (l[1] = () => n(se)(!0)),
263
- onMouseleave: l[2] || (l[2] = () => n(se)(!1))
258
+ id: `funnel_${S.value}`,
259
+ onMouseenter: l[1] || (l[1] = () => s(ne)(!0)),
260
+ onMouseleave: l[2] || (l[2] = () => s(ne)(!1))
264
261
  }, [
265
- e.value.userOptions.buttons.annotator ? (s(), A(qe, {
262
+ e.value.userOptions.buttons.annotator ? (o(), z(s(_e), {
266
263
  key: 0,
267
- svgRef: n(ne),
264
+ svgRef: s(ue),
268
265
  backgroundColor: e.value.style.chart.backgroundColor,
269
266
  color: e.value.style.chart.color,
270
- active: P.value,
271
- onClose: H
267
+ active: M.value,
268
+ onClose: Y
272
269
  }, null, 8, ["svgRef", "backgroundColor", "color", "active"])) : f("", !0),
273
- ke.value ? (s(), u("div", {
270
+ Ne.value ? (o(), u("div", {
274
271
  key: 1,
275
272
  ref_key: "noTitle",
276
- ref: Z,
273
+ ref: te,
277
274
  class: "vue-data-ui-no-title-space",
278
275
  style: "height:36px; width: 100%;background:transparent"
279
276
  }, null, 512)) : f("", !0),
280
- e.value.style.chart.title.text ? (s(), u("div", {
277
+ e.value.style.chart.title.text ? (o(), u("div", {
281
278
  key: 2,
282
279
  ref_key: "chartTitle",
283
- ref: te,
280
+ ref: le,
284
281
  style: "width:100%;background:transparent;padding-bottom:24px"
285
282
  }, [
286
- (s(), A(Xe, {
287
- key: `title_${K.value}`,
283
+ (o(), z(ot, {
284
+ key: `title_${Z.value}`,
288
285
  config: {
289
286
  title: {
290
287
  cy: "funnel-div-title",
@@ -297,14 +294,14 @@ const lt = ["id"], st = ["xmlns", "viewBox"], ot = ["width", "height"], nt = ["i
297
294
  }
298
295
  }, null, 8, ["config"]))
299
296
  ], 512)) : f("", !0),
300
- e.value.userOptions.show && x.value && (n(oe) || n(j)) ? (s(), A(He, {
297
+ e.value.userOptions.show && A.value && (s(re) || s(q)) ? (o(), z(s(Ae), {
301
298
  ref: "details",
302
- key: `user_option_${J.value}`,
299
+ key: `user_option_${Q.value}`,
303
300
  backgroundColor: e.value.style.chart.backgroundColor,
304
301
  color: e.value.style.chart.color,
305
- isPrinting: n(re),
306
- isImaging: n(ue),
307
- uid: N.value,
302
+ isPrinting: s(ie),
303
+ isImaging: s(ce),
304
+ uid: S.value,
308
305
  hasTooltip: !1,
309
306
  hasPdf: e.value.userOptions.buttons.pdf,
310
307
  hasImg: e.value.userOptions.buttons.img,
@@ -312,83 +309,83 @@ const lt = ["id"], st = ["xmlns", "viewBox"], ot = ["width", "height"], nt = ["i
312
309
  hasTable: e.value.userOptions.buttons.table,
313
310
  hasLabel: !1,
314
311
  hasFullscreen: e.value.userOptions.buttons.fullscreen,
315
- isFullscreen: z.value,
316
- chartElement: I.value,
312
+ isFullscreen: F.value,
313
+ chartElement: R.value,
317
314
  position: e.value.userOptions.position,
318
315
  titles: { ...e.value.userOptions.buttonTitles },
319
316
  hasAnnotator: e.value.userOptions.buttons.annotator,
320
- isAnnotation: P.value,
321
- onToggleAnnotator: H,
322
- onToggleFullscreen: $e,
323
- onGeneratePdf: n(ie),
324
- onGenerateImage: n(ce),
325
- onToggleTable: he,
326
- onGenerateCsv: fe,
317
+ isAnnotation: M.value,
318
+ onToggleAnnotator: Y,
319
+ onToggleFullscreen: Se,
320
+ onGeneratePdf: s(ve),
321
+ onGenerateImage: s(de),
322
+ onToggleTable: be,
323
+ onGenerateCsv: me,
327
324
  style: _({
328
- visibility: n(oe) ? n(j) ? "visible" : "hidden" : "visible"
325
+ visibility: s(re) ? s(q) ? "visible" : "hidden" : "visible"
329
326
  })
330
- }, Ne({ _: 2 }, [
327
+ }, Ve({ _: 2 }, [
331
328
  t.$slots.menuIcon ? {
332
329
  name: "menuIcon",
333
- fn: g(({ isOpen: a, color: o }) => [
334
- b(t.$slots, "menuIcon", M(R({ isOpen: a, color: o })), void 0, !0)
330
+ fn: g(({ isOpen: a, color: n }) => [
331
+ m(t.$slots, "menuIcon", B(E({ isOpen: a, color: n })), void 0, !0)
335
332
  ]),
336
333
  key: "0"
337
334
  } : void 0,
338
335
  t.$slots.optionPdf ? {
339
336
  name: "optionPdf",
340
337
  fn: g(() => [
341
- b(t.$slots, "optionPdf", {}, void 0, !0)
338
+ m(t.$slots, "optionPdf", {}, void 0, !0)
342
339
  ]),
343
340
  key: "1"
344
341
  } : void 0,
345
342
  t.$slots.optionCsv ? {
346
343
  name: "optionCsv",
347
344
  fn: g(() => [
348
- b(t.$slots, "optionCsv", {}, void 0, !0)
345
+ m(t.$slots, "optionCsv", {}, void 0, !0)
349
346
  ]),
350
347
  key: "2"
351
348
  } : void 0,
352
349
  t.$slots.optionImg ? {
353
350
  name: "optionImg",
354
351
  fn: g(() => [
355
- b(t.$slots, "optionImg", {}, void 0, !0)
352
+ m(t.$slots, "optionImg", {}, void 0, !0)
356
353
  ]),
357
354
  key: "3"
358
355
  } : void 0,
359
356
  t.$slots.optionTable ? {
360
357
  name: "optionTable",
361
358
  fn: g(() => [
362
- b(t.$slots, "optionTable", {}, void 0, !0)
359
+ m(t.$slots, "optionTable", {}, void 0, !0)
363
360
  ]),
364
361
  key: "4"
365
362
  } : void 0,
366
363
  t.$slots.optionFullscreen ? {
367
364
  name: "optionFullscreen",
368
- fn: g(({ toggleFullscreen: a, isFullscreen: o }) => [
369
- b(t.$slots, "optionFullscreen", M(R({ toggleFullscreen: a, isFullscreen: o })), void 0, !0)
365
+ fn: g(({ toggleFullscreen: a, isFullscreen: n }) => [
366
+ m(t.$slots, "optionFullscreen", B(E({ toggleFullscreen: a, isFullscreen: n })), void 0, !0)
370
367
  ]),
371
368
  key: "5"
372
369
  } : void 0,
373
370
  t.$slots.optionAnnotator ? {
374
371
  name: "optionAnnotator",
375
- fn: g(({ toggleAnnotator: a, isAnnotator: o }) => [
376
- b(t.$slots, "optionAnnotator", M(R({ toggleAnnotator: a, isAnnotator: o })), void 0, !0)
372
+ fn: g(({ toggleAnnotator: a, isAnnotator: n }) => [
373
+ m(t.$slots, "optionAnnotator", B(E({ toggleAnnotator: a, isAnnotator: n })), void 0, !0)
377
374
  ]),
378
375
  key: "6"
379
376
  } : void 0
380
377
  ]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasPdf", "hasImg", "hasXls", "hasTable", "hasFullscreen", "isFullscreen", "chartElement", "position", "titles", "hasAnnotator", "isAnnotation", "onGeneratePdf", "onGenerateImage", "style"])) : f("", !0),
381
- x.value ? (s(), u("svg", {
378
+ A.value ? (o(), u("svg", {
382
379
  key: 4,
383
380
  ref_key: "svgRef",
384
- ref: ne,
385
- xmlns: n(Ve),
386
- class: T({ "vue-data-ui-fullscreen--on": z.value, "vue-data-ui-fulscreen--off": !z.value }),
381
+ ref: ue,
382
+ xmlns: s(We),
383
+ class: O({ "vue-data-ui-fullscreen--on": F.value, "vue-data-ui-fulscreen--off": !F.value }),
387
384
  viewBox: `0 0 ${i.value.width <= 0 ? 10 : i.value.width} ${i.value.height <= 0 ? 10 : i.value.height}`,
388
385
  style: _(`max-width:100%; overflow: visible; background:transparent;color:${e.value.style.chart.color}`)
389
386
  }, [
390
- Oe(et),
391
- t.$slots["chart-background"] ? (s(), u("foreignObject", {
387
+ Be(s(xe)),
388
+ t.$slots["chart-background"] ? (o(), u("foreignObject", {
392
389
  key: 0,
393
390
  x: 0,
394
391
  y: 0,
@@ -398,32 +395,32 @@ const lt = ["id"], st = ["xmlns", "viewBox"], ot = ["width", "height"], nt = ["i
398
395
  pointerEvents: "none"
399
396
  }
400
397
  }, [
401
- b(t.$slots, "chart-background", {}, void 0, !0)
402
- ], 8, ot)) : f("", !0),
403
- C("defs", null, [
404
- C("linearGradient", {
405
- id: `funnel_area_${N.value}`,
398
+ m(t.$slots, "chart-background", {}, void 0, !0)
399
+ ], 8, it)) : f("", !0),
400
+ w("defs", null, [
401
+ w("linearGradient", {
402
+ id: `funnel_area_${S.value}`,
406
403
  x1: "0%",
407
404
  x2: "100%",
408
405
  y1: "0%",
409
406
  y2: "0%"
410
407
  }, [
411
- C("stop", {
408
+ w("stop", {
412
409
  offset: "0%",
413
410
  "stop-color": e.value.style.chart.backgroundColor,
414
411
  "stop-opacity": 0
415
- }, null, 8, rt),
416
- C("stop", {
412
+ }, null, 8, vt),
413
+ w("stop", {
417
414
  offset: "20%",
418
415
  "stop-color": e.value.style.chart.area.color
419
- }, null, 8, ut),
420
- C("stop", {
416
+ }, null, 8, dt),
417
+ w("stop", {
421
418
  offset: "100%",
422
419
  "stop-color": e.value.style.chart.area.color
423
- }, null, 8, it)
424
- ], 8, nt)
420
+ }, null, 8, ht)
421
+ ], 8, ct)
425
422
  ]),
426
- e.value.style.chart.circleLinks.show ? (s(), u("line", q({ key: 1 }, we.value, {
423
+ e.value.style.chart.circleLinks.show ? (o(), u("line", J({ key: 1 }, ze.value, {
427
424
  stroke: e.value.style.chart.circleLinks.color,
428
425
  "stroke-width": 12 * e.value.style.chart.circleLinks.widthRatio,
429
426
  "stroke-linecap": "round",
@@ -434,108 +431,108 @@ const lt = ["id"], st = ["xmlns", "viewBox"], ot = ["width", "height"], nt = ["i
434
431
  strokeDasharray: e.value.useCssAnimation ? k.value.height : 0,
435
432
  strokeDashoffset: e.value.useCssAnimation ? k.value.height : 0
436
433
  }
437
- }), null, 16, ct)) : f("", !0),
438
- (s(!0), u(V, null, B(r.value, ({ cx: a, cy: o, r: m, fill: h }, F) => (s(), u("circle", q({ ref_for: !0 }, { cx: a, cy: o, r: m, fill: h }, {
434
+ }), null, 16, ft)) : f("", !0),
435
+ (o(!0), u(U, null, G(r.value, ({ cx: a, cy: n, r: b, fill: h }, D) => (o(), u("circle", J({ ref_for: !0 }, { cx: a, cy: n, r: b, fill: h }, {
439
436
  stroke: e.value.style.chart.circles.stroke,
440
437
  "stroke-width": e.value.style.chart.circles.strokeWidth,
441
438
  class: {
442
- animated: e.value.useCssAnimation && !w.value
439
+ animated: e.value.useCssAnimation && !$.value
443
440
  },
444
441
  style: {
445
- animationDelay: `${150 * F}ms`
442
+ animationDelay: `${150 * D}ms`
446
443
  }
447
- }), null, 16, vt))), 256)),
448
- (s(!0), u(V, null, B(r.value, (a, o) => (s(), u("text", {
444
+ }), null, 16, bt))), 256)),
445
+ (o(!0), u(U, null, G(r.value, (a, n) => (o(), u("text", {
449
446
  x: a.cx,
450
447
  y: a.cy + d.value.circles / 3 + e.value.style.chart.circles.dataLabels.offsetY,
451
448
  "text-anchor": "middle",
452
449
  "font-size": d.value.circles,
453
- fill: e.value.style.chart.circles.dataLabels.adaptColorToBackground ? n(Be)(a.color) : e.value.style.chart.circles.dataLabels.color,
450
+ fill: e.value.style.chart.circles.dataLabels.adaptColorToBackground ? s(Je)(a.color) : e.value.style.chart.circles.dataLabels.color,
454
451
  "font-weight": e.value.style.chart.circles.dataLabels.bold ? "bold" : "normal",
455
- class: T({
456
- animated: e.value.useCssAnimation && !w.value
452
+ class: O({
453
+ animated: e.value.useCssAnimation && !$.value
457
454
  }),
458
455
  style: _({
459
- animationDelay: `${150 * o}ms`
456
+ animationDelay: `${150 * n}ms`
460
457
  })
461
- }, U(n(E)(
458
+ }, j(s(H)(
462
459
  e.value.style.chart.circles.dataLabels.formatter,
463
460
  a.proportion * 100,
464
- n(G)({
461
+ s(X)({
465
462
  v: a.proportion * 100,
466
463
  s: "%",
467
464
  r: e.value.style.chart.circles.dataLabels.rounding
468
465
  }),
469
466
  { datapoint: a }
470
- )), 15, dt))), 256)),
471
- e.value.style.chart.area.show ? (s(), u("polygon", {
467
+ )), 15, mt))), 256)),
468
+ e.value.style.chart.area.show ? (o(), u("polygon", {
472
469
  key: 2,
473
- points: Ce.value,
474
- fill: `url(#funnel_area_${N.value})`,
475
- class: T({
476
- animated: e.value.useCssAnimation && !w.value
470
+ points: Oe.value,
471
+ fill: `url(#funnel_area_${S.value})`,
472
+ class: O({
473
+ animated: e.value.useCssAnimation && !$.value
477
474
  }),
478
475
  style: _({
479
476
  transition: e.value.useCssAnimation ? `all ${150 * p.value.length}ms ease-in` : "none"
480
477
  })
481
- }, null, 14, ht)) : f("", !0),
482
- (s(!0), u(V, null, B(r.value, ({ x: a, y: o, height: m, width: h, fill: F }, X) => (s(), u("rect", q({ ref_for: !0 }, { x: a, y: o, height: m, width: h, fill: F }, {
478
+ }, null, 14, yt)) : f("", !0),
479
+ (o(!0), u(U, null, G(r.value, ({ x: a, y: n, height: b, width: h, fill: D }, W) => (o(), u("rect", J({ ref_for: !0 }, { x: a, y: n, height: b, width: h, fill: D }, {
483
480
  stroke: e.value.style.chart.bars.stroke,
484
481
  "stroke-width": e.value.style.chart.bars.strokeWidth,
485
482
  rx: e.value.style.chart.bars.borderRadius,
486
483
  class: {
487
- animated: e.value.useCssAnimation && !w.value
484
+ animated: e.value.useCssAnimation && !$.value
488
485
  },
489
486
  style: {
490
- animationDelay: `${150 * X}ms`
487
+ animationDelay: `${150 * W}ms`
491
488
  }
492
- }), null, 16, ft))), 256)),
493
- (s(!0), u(V, null, B(r.value, (a, o) => (s(), u("g", null, [
494
- C("text", {
489
+ }), null, 16, gt))), 256)),
490
+ (o(!0), u(U, null, G(r.value, (a, n) => (o(), u("g", null, [
491
+ w("text", {
495
492
  x: a.x + a.width + e.value.style.chart.bars.dataLabels.name.offsetX + 12,
496
493
  y: a.cy - d.value.names / 2 + e.value.style.chart.bars.dataLabels.name.offsetY,
497
494
  "text-anchor": "start",
498
495
  "font-size": d.value.names,
499
496
  fill: e.value.style.chart.bars.dataLabels.name.color,
500
497
  "font-weight": e.value.style.chart.bars.dataLabels.name.bold ? "bold" : "normal",
501
- class: T({
502
- animated: e.value.useCssAnimation && !w.value
498
+ class: O({
499
+ animated: e.value.useCssAnimation && !$.value
503
500
  }),
504
501
  style: _({
505
- animationDelay: `${150 * o}ms`
502
+ animationDelay: `${150 * n}ms`
506
503
  })
507
- }, U(a.name), 15, mt),
508
- C("text", {
504
+ }, j(a.name), 15, pt),
505
+ w("text", {
509
506
  x: a.x + a.width + e.value.style.chart.bars.dataLabels.value.offsetX + 12,
510
507
  y: a.cy + d.value.values + e.value.style.chart.bars.dataLabels.value.offsetY,
511
508
  "text-anchor": "start",
512
509
  "font-size": d.value.values,
513
510
  fill: e.value.style.chart.bars.dataLabels.value.color,
514
511
  "font-weight": e.value.style.chart.bars.dataLabels.value.bold ? "bold" : "normal",
515
- class: T({
516
- animated: e.value.useCssAnimation && !w.value
512
+ class: O({
513
+ animated: e.value.useCssAnimation && !$.value
517
514
  }),
518
515
  style: _({
519
- animationDelay: `${150 * o}ms`
516
+ animationDelay: `${150 * n}ms`
520
517
  })
521
- }, U(n(E)(
518
+ }, j(s(H)(
522
519
  e.value.style.chart.bars.dataLabels.value.formatter,
523
520
  a.value,
524
- n(G)({
521
+ s(X)({
525
522
  p: e.value.style.chart.bars.dataLabels.value.prefix,
526
523
  v: a.value,
527
524
  s: e.value.style.chart.bars.dataLabels.value.suffix,
528
525
  r: e.value.style.chart.bars.dataLabels.value.rounding
529
526
  }),
530
527
  { datapoint: a }
531
- )), 15, bt)
528
+ )), 15, kt)
532
529
  ]))), 256)),
533
- b(t.$slots, "svg", { svg: i.value }, void 0, !0)
534
- ], 14, st)) : f("", !0),
535
- t.$slots.watermark ? (s(), u("div", yt, [
536
- b(t.$slots, "watermark", M(R({ isPrinting: n(re) || n(ue) })), void 0, !0)
530
+ m(t.$slots, "svg", { svg: i.value }, void 0, !0)
531
+ ], 14, ut)) : f("", !0),
532
+ t.$slots.watermark ? (o(), u("div", Ct, [
533
+ m(t.$slots, "watermark", B(E({ isPrinting: s(ie) || s(ce) })), void 0, !0)
537
534
  ])) : f("", !0),
538
- x.value ? f("", !0) : (s(), A(Qe, {
535
+ A.value ? f("", !0) : (o(), z(s(Le), {
539
536
  key: 6,
540
537
  config: {
541
538
  type: "verticalBar",
@@ -550,19 +547,19 @@ const lt = ["id"], st = ["xmlns", "viewBox"], ot = ["width", "height"], nt = ["i
550
547
  }
551
548
  }
552
549
  }, null, 8, ["config"])),
553
- t.$slots.source ? (s(), u("div", {
550
+ t.$slots.source ? (o(), u("div", {
554
551
  key: 7,
555
552
  ref_key: "source",
556
- ref: ee,
553
+ ref: ae,
557
554
  dir: "auto"
558
555
  }, [
559
- b(t.$slots, "source", {}, void 0, !0)
556
+ m(t.$slots, "source", {}, void 0, !0)
560
557
  ], 512)) : f("", !0),
561
- x.value ? (s(), A(We, {
558
+ A.value ? (o(), z(s(we), {
562
559
  key: 8,
563
560
  hideDetails: "",
564
561
  config: {
565
- open: O.value.showTable,
562
+ open: P.value.showTable,
566
563
  maxHeight: 1e4,
567
564
  body: {
568
565
  backgroundColor: e.value.style.chart.backgroundColor,
@@ -575,32 +572,32 @@ const lt = ["id"], st = ["xmlns", "viewBox"], ot = ["width", "height"], nt = ["i
575
572
  }
576
573
  }, {
577
574
  content: g(() => [
578
- (s(), A(Ye, {
579
- key: `table_${Q.value}`,
580
- colNames: D.value.colNames,
581
- head: D.value.head,
582
- body: D.value.body,
583
- config: D.value.config,
575
+ (o(), z(s($e), {
576
+ key: `table_${ee.value}`,
577
+ colNames: V.value.colNames,
578
+ head: V.value.head,
579
+ body: V.value.body,
580
+ config: V.value.config,
584
581
  title: `${e.value.style.chart.title.text}${e.value.style.chart.title.subtitle.text ? ` : ${e.value.style.chart.title.subtitle.text}` : ""}`,
585
- onClose: l[0] || (l[0] = (a) => O.value.showTable = !1)
582
+ onClose: l[0] || (l[0] = (a) => P.value.showTable = !1)
586
583
  }, {
587
584
  th: g(({ th: a }) => [
588
- C("div", {
585
+ w("div", {
589
586
  innerHTML: a,
590
587
  style: { display: "flex", "align-items": "center" }
591
- }, null, 8, gt)
588
+ }, null, 8, wt)
592
589
  ]),
593
590
  td: g(({ td: a }) => [
594
- ze(U(a.name ? a.name : a), 1)
591
+ Ee(j(a.name ? a.name : a), 1)
595
592
  ]),
596
593
  _: 1
597
594
  }, 8, ["colNames", "head", "body", "config", "title"]))
598
595
  ]),
599
596
  _: 1
600
597
  }, 8, ["config"])) : f("", !0)
601
- ], 46, lt));
598
+ ], 46, rt));
602
599
  }
603
- }, It = /* @__PURE__ */ at(pt, [["__scopeId", "data-v-1f0bddfb"]]);
600
+ }, Pt = /* @__PURE__ */ nt($t, [["__scopeId", "data-v-0278272f"]]);
604
601
  export {
605
- It as default
602
+ Pt as default
606
603
  };