vue-data-ui 2.12.5 → 2.12.7-beta.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (112) hide show
  1. package/README.md +56 -1
  2. package/dist/{Arrow-CD7YT-M0.js → Arrow-CmqjRRUl.js} +1 -1
  3. package/dist/BaseDraggableDialog-BMlyvt7E.js +180 -0
  4. package/dist/{BaseIcon-CgSWwnK7.js → BaseIcon-CZdMutjs.js} +1 -1
  5. package/dist/{ColorPicker-w8R8Tqdv.js → ColorPicker-DvVKgyAl.js} +23 -24
  6. package/dist/{DataTable-CicthvOV.js → DataTable-Cv9CIz-a.js} +11 -11
  7. package/dist/{Legend-0UY0Mmli.js → Legend-DFunFf8i.js} +8 -8
  8. package/dist/NonSvgPenAndPaper-pVuHj6_A.js +467 -0
  9. package/dist/PackageVersion-CLY-udAA.js +10 -0
  10. package/dist/{PenAndPaper-DLsvRwoD.js → PenAndPaper-B9na2mbr.js} +8 -10
  11. package/dist/RecursiveCircles-Dn3TGoL6.js +96 -0
  12. package/dist/RecursiveLabels-NTMB9w5C.js +49 -0
  13. package/dist/RecursiveLinks-ld_gDZH4.js +64 -0
  14. package/dist/{Shape-DICeBEtN.js → Shape-D3w9qas1.js} +2 -2
  15. package/dist/{Slicer-D1nsbsWE.js → Slicer-ncY8krrM.js} +2 -2
  16. package/dist/SparkTooltip-CwThutH2.js +68 -0
  17. package/dist/{Title-xO1jFsSw.js → Title-B5qqUI3M.js} +2 -2
  18. package/dist/Tooltip-C9rxJ-Ru.js +149 -0
  19. package/dist/{usePrinter-CcgJXHIK.js → UserOptions-Ddy6CuLC.js} +172 -231
  20. package/dist/{dom-to-png-CS4NRYd_.js → dom-to-png-DDlooC9r.js} +1 -1
  21. package/dist/{img-CsXjm5I4.js → img-m9g7lR5d.js} +1 -1
  22. package/dist/{index-vjCxtaM0.js → index-BiHmNd1-.js} +153 -118
  23. package/dist/{pdf-DHexTTpK.js → pdf-BqM953uL.js} +1 -1
  24. package/dist/style.css +1 -1
  25. package/dist/types/vue-data-ui.d.cts +96 -2
  26. package/dist/types/vue-data-ui.d.ts +96 -2
  27. package/dist/useChartAccessibility-9icAAmYg.js +12 -0
  28. package/dist/useMouse-AicQS8Vf.js +13 -0
  29. package/dist/{useNestedProp-Du1hnYFA.js → useNestedProp-tRqS0ZAM.js} +1 -1
  30. package/dist/{usePanZoom-CUkkqW81.js → usePanZoom-BQMvRXEQ.js} +16 -17
  31. package/dist/usePrinter-CRCbl1WG.js +53 -0
  32. package/dist/vClickOutside-C6WiFswA.js +13 -0
  33. package/dist/{vue-data-ui-BOrA3Tc9.js → vue-data-ui-D9uTDt73.js} +63 -63
  34. package/dist/vue-data-ui.js +42 -40
  35. package/dist/{vue-ui-3d-bar-Z8yAd4bw.js → vue-ui-3d-bar-rtuSc8FS.js} +397 -402
  36. package/dist/{vue-ui-accordion-CAN430Oy.js → vue-ui-accordion-CmCs2yR2.js} +3 -3
  37. package/dist/{vue-ui-age-pyramid-C6PZU9Ez.js → vue-ui-age-pyramid-BrzMSiyu.js} +215 -218
  38. package/dist/{vue-ui-annotator-CqoDLx3t.js → vue-ui-annotator-CYxmTpf6.js} +2 -2
  39. package/dist/{vue-ui-bullet-DZC3aY3d.js → vue-ui-bullet-D25qNQfb.js} +137 -140
  40. package/dist/{vue-ui-candlestick-B5mq_lgW.js → vue-ui-candlestick-BuerNa-r.js} +265 -271
  41. package/dist/{vue-ui-carousel-table-CBwerU49.js → vue-ui-carousel-table-aN0HLsOO.js} +137 -137
  42. package/dist/{vue-ui-chestnut-COyOAY28.js → vue-ui-chestnut-oUj2ocsZ.js} +397 -400
  43. package/dist/{vue-ui-chord-Cw0F_jHM.js → vue-ui-chord-C4evlXYB.js} +356 -365
  44. package/dist/vue-ui-circle-pack-CWrNiKTY.js +656 -0
  45. package/dist/{vue-ui-cursor-CWXqmlVy.js → vue-ui-cursor-DgpSttlt.js} +2 -2
  46. package/dist/{vue-ui-dashboard-Ba2tF4md.js → vue-ui-dashboard-BN2ha1Eh.js} +62 -62
  47. package/dist/{vue-ui-digits-BV7yyUdY.js → vue-ui-digits-BhjAxXgm.js} +2 -2
  48. package/dist/vue-ui-donut-D3_z61HI.js +1291 -0
  49. package/dist/vue-ui-donut-evolution-oKtmZPx4.js +864 -0
  50. package/dist/{vue-ui-dumbbell-SDCcLJIc.js → vue-ui-dumbbell-C8Lokx-F.js} +265 -270
  51. package/dist/{vue-ui-flow-CrqGSDNK.js → vue-ui-flow-BVRkH0PS.js} +291 -300
  52. package/dist/{vue-ui-funnel-CcDOoxp8.js → vue-ui-funnel-DFxcmAB5.js} +216 -219
  53. package/dist/{vue-ui-galaxy-jlDp0DRJ.js → vue-ui-galaxy-CGE0hlBC.js} +227 -235
  54. package/dist/{vue-ui-gauge-8t8rWb1C.js → vue-ui-gauge-B48eMvOR.js} +240 -243
  55. package/dist/{vue-ui-gizmo-CFwdrMYP.js → vue-ui-gizmo-zTKNpjvv.js} +57 -58
  56. package/dist/{vue-ui-heatmap-BT-mIeZp.js → vue-ui-heatmap-UNfTt8SM.js} +239 -242
  57. package/dist/{vue-ui-history-plot-crLloc7J.js → vue-ui-history-plot-CbCWmvtg.js} +257 -262
  58. package/dist/{vue-ui-kpi-96v4ZIYo.js → vue-ui-kpi-Drf_lrlh.js} +29 -30
  59. package/dist/{vue-ui-mini-loader-rBHBxNIT.js → vue-ui-mini-loader-DU3G6BVs.js} +2 -2
  60. package/dist/vue-ui-molecule-B5MOXYEA.js +580 -0
  61. package/dist/{vue-ui-mood-radar-DrVSXIY4.js → vue-ui-mood-radar-CC_CVLvn.js} +180 -186
  62. package/dist/{vue-ui-nested-donuts-C9Ah9lgv.js → vue-ui-nested-donuts-D_H962kk.js} +366 -374
  63. package/dist/{vue-ui-onion-DwNPyn4X.js → vue-ui-onion-P8k6T724.js} +252 -258
  64. package/dist/{vue-ui-parallel-coordinate-plot-tSuK6xWu.js → vue-ui-parallel-coordinate-plot-B5Los0vX.js} +296 -303
  65. package/dist/{vue-ui-quadrant-C0Kaoo7K.js → vue-ui-quadrant-B3wzCTxK.js} +402 -409
  66. package/dist/{vue-ui-quick-chart-xMh_Ygct.js → vue-ui-quick-chart-oucj6hXk.js} +611 -616
  67. package/dist/{vue-ui-radar-C1jSDQt_.js → vue-ui-radar-Cjqlyu6d.js} +270 -277
  68. package/dist/{vue-ui-rating-6Kb7hsKF.js → vue-ui-rating-gryk_h_6.js} +2 -2
  69. package/dist/vue-ui-relation-circle-ielvWC-1.js +525 -0
  70. package/dist/{vue-ui-ridgeline-BBvPVQjC.js → vue-ui-ridgeline-Dydqo68b.js} +321 -326
  71. package/dist/{vue-ui-rings-B92cXv7f.js → vue-ui-rings-BRBXektJ.js} +262 -269
  72. package/dist/{vue-ui-scatter-Bt1aty87.js → vue-ui-scatter-Df-BM7Ts.js} +372 -379
  73. package/dist/{vue-ui-skeleton-DfOIDTJM.js → vue-ui-skeleton-CbYQYRvD.js} +19 -19
  74. package/dist/{vue-ui-smiley-sVgBnkbx.js → vue-ui-smiley-BfHaQMaW.js} +2 -2
  75. package/dist/{vue-ui-spark-trend-D6uzJ4Qd.js → vue-ui-spark-trend-z3fUChs_.js} +114 -117
  76. package/dist/{vue-ui-sparkbar-D4c2EE7J.js → vue-ui-sparkbar-ChtFIugH.js} +104 -106
  77. package/dist/{vue-ui-sparkgauge-DaQ6iz98.js → vue-ui-sparkgauge-DtpODCww.js} +72 -74
  78. package/dist/{vue-ui-sparkhistogram-D_YnmM2T.js → vue-ui-sparkhistogram-C3XnYiXI.js} +83 -86
  79. package/dist/vue-ui-sparkline-CoL8jiX8.js +459 -0
  80. package/dist/{vue-ui-sparkstackbar-DecnmqgJ.js → vue-ui-sparkstackbar-CYk3mZJH.js} +102 -105
  81. package/dist/{vue-ui-stackbar-D1eNs1j_.js → vue-ui-stackbar-D9LGbuG5.js} +433 -437
  82. package/dist/{vue-ui-strip-plot-iPZ8Hhmr.js → vue-ui-strip-plot-C5r1Ee2R.js} +245 -252
  83. package/dist/{vue-ui-table-BFjE28sw.js → vue-ui-table-DBaT_TfA.js} +3 -3
  84. package/dist/{vue-ui-table-heatmap-DipFDu39.js → vue-ui-table-heatmap-CYW4YfKN.js} +93 -94
  85. package/dist/{vue-ui-table-sparkline-CGAecOZh.js → vue-ui-table-sparkline-Di0MYR4p.js} +212 -212
  86. package/dist/{vue-ui-thermometer-Cx_yr-hs.js → vue-ui-thermometer-BF1btHY2.js} +154 -157
  87. package/dist/{vue-ui-timer-ClVmS8MH.js → vue-ui-timer-D9FfRWN5.js} +180 -181
  88. package/dist/vue-ui-tiremarks-CQ0lk8fJ.js +341 -0
  89. package/dist/vue-ui-treemap-1Lx7YRtc.js +947 -0
  90. package/dist/{vue-ui-vertical-bar-BHYCnFEN.js → vue-ui-vertical-bar-DdVVQ1ED.js} +397 -403
  91. package/dist/{vue-ui-waffle-DEPUbrOt.js → vue-ui-waffle-BhnuPiRD.js} +317 -324
  92. package/dist/vue-ui-wheel-BIjJ0fg8.js +335 -0
  93. package/dist/vue-ui-word-cloud-3-r8HwO_.js +642 -0
  94. package/dist/{vue-ui-world-DStJ5i0i.js → vue-ui-world-CPIGEswq.js} +430 -442
  95. package/dist/{vue-ui-xy-CEop49z6.js → vue-ui-xy-9e_epIN4.js} +845 -846
  96. package/dist/vue-ui-xy-canvas-DcGgQ7s4.js +1206 -0
  97. package/package.json +6 -6
  98. package/dist/BaseDraggableDialog-BjFEob7i.js +0 -186
  99. package/dist/PackageVersion-Cw2caN1c.js +0 -10
  100. package/dist/Tooltip-LKe8L-Mg.js +0 -158
  101. package/dist/useChartAccessibility-BWojgys7.js +0 -13
  102. package/dist/vue-ui-circle-pack-BtpaZLYs.js +0 -659
  103. package/dist/vue-ui-donut-CRdQFQgA.js +0 -1292
  104. package/dist/vue-ui-donut-evolution-De3-5OgR.js +0 -871
  105. package/dist/vue-ui-molecule-DSr_bHGG.js +0 -782
  106. package/dist/vue-ui-relation-circle-fh0Hl9m0.js +0 -528
  107. package/dist/vue-ui-sparkline-C2HuTMDz.js +0 -519
  108. package/dist/vue-ui-tiremarks-4Sa3RCSv.js +0 -344
  109. package/dist/vue-ui-treemap-CD5pPg7v.js +0 -956
  110. package/dist/vue-ui-wheel-qU0bgJsi.js +0 -338
  111. package/dist/vue-ui-word-cloud-z2ZguOdy.js +0 -648
  112. package/dist/vue-ui-xy-canvas-DV0BVdZb.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-vjCxtaM0.js";
3
- import { u as be } from "./useNestedProp-Du1hnYFA.js";
4
- import { u as je, U as He } from "./usePrinter-CcgJXHIK.js";
5
- import { _ as Xe } from "./Title-xO1jFsSw.js";
6
- import { _ as qe } from "./PenAndPaper-DLsvRwoD.js";
7
- import { D as Ye } from "./DataTable-CicthvOV.js";
8
- import We from "./vue-ui-accordion-CAN430Oy.js";
9
- import { t as Je, u as Ke } from "./useResponsive-JZ9xq-JV.js";
10
- import Qe from "./vue-ui-skeleton-DfOIDTJM.js";
11
- import { u as Ze } from "./useUserOptionState-BIvW1Kz7.js";
12
- import { _ as et } from "./PackageVersion-Cw2caN1c.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-BiHmNd1-.js";
3
+ import { u as pe } from "./useNestedProp-tRqS0ZAM.js";
4
+ import { u as et } from "./usePrinter-CRCbl1WG.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-B5qqUI3M.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-CmCs2yR2.js")), $e = N(() => import("./DataTable-Cv9CIz-a.js")), xe = N(() => import("./PackageVersion-CLY-udAA.js")), _e = N(() => import("./PenAndPaper-B9na2mbr.js")), Le = N(() => import("./vue-ui-skeleton-CbYQYRvD.js")), Ae = N(() => import("./UserOptions-Ddy6CuLC.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
  };