vue-data-ui 3.4.8 → 3.5.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 (114) hide show
  1. package/README.md +88 -37
  2. package/dist/{PackageVersion-D-auaEEJ.js → PackageVersion-Cyx_s25h.js} +1 -1
  3. package/dist/components/vue-ui-3d-bar.js +1 -1
  4. package/dist/components/vue-ui-age-pyramid.js +1 -1
  5. package/dist/components/vue-ui-bullet.js +1 -1
  6. package/dist/components/vue-ui-candlestick.js +1 -1
  7. package/dist/components/vue-ui-carousel-table.js +1 -1
  8. package/dist/components/vue-ui-chestnut.js +1 -1
  9. package/dist/components/vue-ui-chord.js +1 -1
  10. package/dist/components/vue-ui-circle-pack.js +1 -1
  11. package/dist/components/vue-ui-dashboard.js +1 -1
  12. package/dist/components/vue-ui-donut-evolution.js +1 -1
  13. package/dist/components/vue-ui-donut.js +1 -1
  14. package/dist/components/vue-ui-dumbbell.js +1 -1
  15. package/dist/components/vue-ui-flow.js +1 -1
  16. package/dist/components/vue-ui-funnel.js +1 -1
  17. package/dist/components/vue-ui-galaxy.js +1 -1
  18. package/dist/components/vue-ui-gauge.js +1 -1
  19. package/dist/components/vue-ui-gizmo.js +1 -1
  20. package/dist/components/vue-ui-heatmap.js +1 -1
  21. package/dist/components/vue-ui-history-plot.js +1 -1
  22. package/dist/components/vue-ui-horizontal-bar.js +1 -1
  23. package/dist/components/vue-ui-molecule.js +1 -1
  24. package/dist/components/vue-ui-mood-radar.js +1 -1
  25. package/dist/components/vue-ui-nested-donuts.js +1 -1
  26. package/dist/components/vue-ui-onion.js +1 -1
  27. package/dist/components/vue-ui-parallel-coordinate-plot.js +1 -1
  28. package/dist/components/vue-ui-quadrant.js +1 -1
  29. package/dist/components/vue-ui-quick-chart.js +1 -1
  30. package/dist/components/vue-ui-radar.js +1 -1
  31. package/dist/components/vue-ui-relation-circle.js +1 -1
  32. package/dist/components/vue-ui-ridgeline.js +1 -1
  33. package/dist/components/vue-ui-rings.js +1 -1
  34. package/dist/components/vue-ui-scatter.js +1 -1
  35. package/dist/components/vue-ui-skeleton.js +1 -1
  36. package/dist/components/vue-ui-spark-trend.js +1 -1
  37. package/dist/components/vue-ui-sparkbar.js +1 -1
  38. package/dist/components/vue-ui-sparkgauge.js +1 -1
  39. package/dist/components/vue-ui-sparkhistogram.js +1 -1
  40. package/dist/components/vue-ui-sparkline.js +1 -1
  41. package/dist/components/vue-ui-sparkstackbar.js +1 -1
  42. package/dist/components/vue-ui-stackbar.js +1 -1
  43. package/dist/components/vue-ui-strip-plot.js +1 -1
  44. package/dist/components/vue-ui-table-sparkline.js +1 -1
  45. package/dist/components/vue-ui-table.js +1 -1
  46. package/dist/components/vue-ui-thermometer.js +1 -1
  47. package/dist/components/vue-ui-timer.js +1 -1
  48. package/dist/components/vue-ui-tiremarks.js +1 -1
  49. package/dist/components/vue-ui-treemap.js +1 -1
  50. package/dist/components/vue-ui-vertical-bar.js +1 -1
  51. package/dist/components/vue-ui-waffle.js +1 -1
  52. package/dist/components/vue-ui-wheel.js +1 -1
  53. package/dist/components/vue-ui-word-cloud.js +1 -1
  54. package/dist/components/vue-ui-world.js +1 -1
  55. package/dist/components/vue-ui-xy-canvas.js +1 -1
  56. package/dist/components/vue-ui-xy.js +1 -1
  57. package/dist/style.css +1 -1
  58. package/dist/{vue-data-ui-CzqHcPqG.js → vue-data-ui-DxgRqCAo.js} +104 -98
  59. package/dist/vue-data-ui.js +54 -54
  60. package/dist/{vue-ui-3d-bar-CwXiD8zD.js → vue-ui-3d-bar-DmNJp8SY.js} +1 -1
  61. package/dist/{vue-ui-age-pyramid-DlEPlWmV.js → vue-ui-age-pyramid-CPAP3sNY.js} +1 -1
  62. package/dist/{vue-ui-bullet-DtzpeIu4.js → vue-ui-bullet-Ce6uvCQJ.js} +1 -1
  63. package/dist/{vue-ui-candlestick-DzoiyaeB.js → vue-ui-candlestick-DewevWV_.js} +1 -1
  64. package/dist/{vue-ui-carousel-table-BqRERrjs.js → vue-ui-carousel-table-Dv1CDfE5.js} +1 -1
  65. package/dist/{vue-ui-chestnut-CzBGckif.js → vue-ui-chestnut-D9sdFZ4E.js} +1 -1
  66. package/dist/{vue-ui-chord-B4waG93A.js → vue-ui-chord-BG4dxKNA.js} +1 -1
  67. package/dist/{vue-ui-circle-pack-DiTw_p5r.js → vue-ui-circle-pack-Be74QB_0.js} +1 -1
  68. package/dist/{vue-ui-dashboard-Bt-MUKqy.js → vue-ui-dashboard-C4BLwHey.js} +54 -54
  69. package/dist/{vue-ui-donut-Bc492JeS.js → vue-ui-donut-BRGFcgxS.js} +542 -526
  70. package/dist/{vue-ui-donut-evolution-D6TaZK2x.js → vue-ui-donut-evolution-DJ0C-7jH.js} +364 -348
  71. package/dist/{vue-ui-dumbbell-BlZr68Sq.js → vue-ui-dumbbell-iQJ0BUhm.js} +1 -1
  72. package/dist/{vue-ui-flow-ByEP18dA.js → vue-ui-flow-CTYFoib3.js} +1 -1
  73. package/dist/{vue-ui-funnel-BU7d_U6T.js → vue-ui-funnel-CG55Xcdy.js} +1 -1
  74. package/dist/{vue-ui-galaxy-CpVrxaTr.js → vue-ui-galaxy-BQrxjKZJ.js} +221 -205
  75. package/dist/{vue-ui-gauge-B9Z4EXoj.js → vue-ui-gauge-Tc-0NI0Y.js} +1 -1
  76. package/dist/{vue-ui-gizmo-T1paJEJ3.js → vue-ui-gizmo-P8h-gnLd.js} +1 -1
  77. package/dist/{vue-ui-heatmap-Uw83eEMz.js → vue-ui-heatmap-BZimPzsL.js} +1 -1
  78. package/dist/{vue-ui-history-plot-C93VwVCY.js → vue-ui-history-plot-BVzbuqYY.js} +383 -367
  79. package/dist/{vue-ui-molecule-CFMWwXFN.js → vue-ui-molecule-BALqwB8c.js} +1 -1
  80. package/dist/{vue-ui-mood-radar-FkVaaOVG.js → vue-ui-mood-radar-QJ5nlZby.js} +1 -1
  81. package/dist/{vue-ui-nested-donuts-Cyi98NXq.js → vue-ui-nested-donuts-CmUabkkQ.js} +404 -384
  82. package/dist/{vue-ui-onion-BCENNhsY.js → vue-ui-onion-DAOCf3f8.js} +331 -309
  83. package/dist/{vue-ui-parallel-coordinate-plot-Dca9wkD0.js → vue-ui-parallel-coordinate-plot-D8jTuFjq.js} +378 -361
  84. package/dist/{vue-ui-quadrant-CEtFEZT3.js → vue-ui-quadrant-CO52mSRY.js} +428 -411
  85. package/dist/{vue-ui-quick-chart-bqcp6BIl.js → vue-ui-quick-chart-DEaVSldE.js} +1 -1
  86. package/dist/{vue-ui-radar-lgRCmyNP.js → vue-ui-radar-C5V4hhbW.js} +393 -374
  87. package/dist/{vue-ui-relation-circle-cRRrbaIT.js → vue-ui-relation-circle-CbMM0Jka.js} +1 -1
  88. package/dist/{vue-ui-ridgeline-CaeFJq9a.js → vue-ui-ridgeline-CXCIRDq6.js} +454 -438
  89. package/dist/{vue-ui-rings-DbsYfGjx.js → vue-ui-rings-BpUcyqo7.js} +285 -263
  90. package/dist/{vue-ui-scatter-DcMnoNrY.js → vue-ui-scatter--Dxe-hfO.js} +629 -613
  91. package/dist/{vue-ui-skeleton-b5fdgyHv.js → vue-ui-skeleton-BWq-VDzg.js} +1 -1
  92. package/dist/{vue-ui-spark-trend-DrQ26BzL.js → vue-ui-spark-trend-T4J_YOa_.js} +1 -1
  93. package/dist/{vue-ui-sparkbar-BlvXLcfO.js → vue-ui-sparkbar-DnKP55Vu.js} +1 -1
  94. package/dist/{vue-ui-sparkgauge-CQmNePxu.js → vue-ui-sparkgauge-BDQLP-zi.js} +1 -1
  95. package/dist/{vue-ui-sparkhistogram-CJatqy8x.js → vue-ui-sparkhistogram-Dm7QXrA-.js} +1 -1
  96. package/dist/{vue-ui-sparkline-5m7hFiMq.js → vue-ui-sparkline-tXGDLHRy.js} +1 -1
  97. package/dist/vue-ui-sparkstackbar-M53Nt07M.js +441 -0
  98. package/dist/{vue-ui-stackbar-WrexTg8_.js → vue-ui-stackbar-CkBOjryQ.js} +438 -421
  99. package/dist/{vue-ui-strip-plot-DqX7yya9.js → vue-ui-strip-plot-BX9i3wMn.js} +1 -1
  100. package/dist/{vue-ui-table-BhrP9BCp.js → vue-ui-table-7r02N9R9.js} +2 -2
  101. package/dist/{vue-ui-table-sparkline-BECa8n5_.js → vue-ui-table-sparkline-DZaAh10E.js} +1 -1
  102. package/dist/{vue-ui-thermometer-BxBGrsSR.js → vue-ui-thermometer-CFPt3MOv.js} +1 -1
  103. package/dist/{vue-ui-timer-BbHY5Ed5.js → vue-ui-timer-Ds-MJoW2.js} +1 -1
  104. package/dist/{vue-ui-tiremarks-DzL3Sc1f.js → vue-ui-tiremarks-2eIQ6vxu.js} +1 -1
  105. package/dist/{vue-ui-treemap-DoHoS5NK.js → vue-ui-treemap-BEvl8hiw.js} +500 -484
  106. package/dist/{vue-ui-vertical-bar-D0N5btU-.js → vue-ui-vertical-bar-D8dtM8sw.js} +350 -334
  107. package/dist/{vue-ui-waffle-CTt7dxCY.js → vue-ui-waffle-B3q-2SCR.js} +302 -286
  108. package/dist/{vue-ui-wheel--TIPvQ9I.js → vue-ui-wheel-BpirIgAG.js} +1 -1
  109. package/dist/{vue-ui-word-cloud-D5pZq4Jq.js → vue-ui-word-cloud-ChT7uLbN.js} +1 -1
  110. package/dist/{vue-ui-world-BERHgePa.js → vue-ui-world-CdP4g_3_.js} +1 -1
  111. package/dist/{vue-ui-xy-BI5stV8f.js → vue-ui-xy-B68qQ-gX.js} +1089 -1073
  112. package/dist/{vue-ui-xy-canvas-DXnLFwW3.js → vue-ui-xy-canvas-DDngEA1s.js} +338 -322
  113. package/package.json +1 -1
  114. package/dist/vue-ui-sparkstackbar-Z5g6L2Hj.js +0 -424
@@ -1,24 +1,24 @@
1
- import { useCssVars as Kt, defineAsyncComponent as K, useSlots as Qt, computed as g, ref as i, toRefs as Jt, watch as ze, shallowRef as ct, onMounted as Ve, nextTick as he, onBeforeUnmount as Zt, createElementBlock as v, openBlock as u, unref as s, normalizeStyle as d, normalizeClass as X, createBlock as G, createCommentVNode as y, renderSlot as k, createVNode as Q, createSlots as pe, withCtx as b, normalizeProps as J, guardReactiveProps as Z, createElementVNode as n, toDisplayString as h, Fragment as ee, renderList as te, mergeProps as dt, resolveDynamicComponent as ea, withKeys as ta, createTextVNode as ht } from "vue";
2
- import { c as aa, t as la, b as oa, p as W, O as Oe, e as na, x as L, o as Ie, f as ue, h as Fe, a as se, d as D, X as ua, s as Me, i as sa, P as ra, Q as ia, G as va, H as ca } from "./lib-C_mNZmhD.js";
3
- import { t as da, u as ha } from "./useResponsive-DfdjqQps.js";
4
- import { u as pa, a as pt } from "./useNestedProp-BjZe1Y85.js";
5
- import { u as ga, B as fa } from "./BaseScanner-BgWxam9d.js";
6
- import { u as ya } from "./usePrinter-DTzqpYKF.js";
7
- import { u as ba } from "./useSvgExport-DrjCWun4.js";
8
- import { u as ma } from "./useTableResponsive-Cbx-ACcP.js";
9
- import { u as ka } from "./useUserOptionState-BIvW1Kz7.js";
10
- import { u as xa } from "./useChartAccessibility-9icAAmYg.js";
11
- import { t as _a } from "./themes-AUNCOb2G.js";
1
+ import { useCssVars as Zt, defineAsyncComponent as Q, useSlots as ea, computed as f, ref as i, toRefs as ta, watch as ze, shallowRef as dt, onMounted as Ve, nextTick as he, onBeforeUnmount as aa, createElementBlock as v, openBlock as u, unref as s, normalizeStyle as d, normalizeClass as G, createBlock as W, createCommentVNode as y, renderSlot as k, createVNode as J, createSlots as pe, withCtx as b, normalizeProps as Z, guardReactiveProps as ee, createElementVNode as n, toDisplayString as h, Fragment as te, renderList as ae, mergeProps as ht, resolveDynamicComponent as la, withKeys as oa, createTextVNode as pt } from "vue";
2
+ import { c as na, t as ua, b as sa, p as H, O as Oe, e as ra, x as P, o as Ie, f as ue, h as Fe, a as se, d as M, X as ia, s as Be, i as va, P as ca, Q as da, G as ha, H as pa } from "./lib-C_mNZmhD.js";
3
+ import { t as fa, u as ga } from "./useResponsive-DfdjqQps.js";
4
+ import { u as ya, a as ft } from "./useNestedProp-BjZe1Y85.js";
5
+ import { u as ba, B as ma } from "./BaseScanner-BgWxam9d.js";
6
+ import { u as ka } from "./usePrinter-DTzqpYKF.js";
7
+ import { u as xa } from "./useSvgExport-DrjCWun4.js";
8
+ import { u as wa } from "./useTableResponsive-Cbx-ACcP.js";
9
+ import { u as _a } from "./useUserOptionState-BIvW1Kz7.js";
10
+ import { u as $a } from "./useChartAccessibility-9icAAmYg.js";
11
+ import { t as Ca } from "./themes-AUNCOb2G.js";
12
12
  import gt from "./Legend-G6GMcdAc.js";
13
- import wa from "./vue-ui-accordion-CZ0thhxa.js";
14
- import $a from "./Title-l36lOBMx.js";
15
- import { _ as ft } from "./Shape-CNXKB8O0.js";
16
- import Ca from "./img-BecE5qXd.js";
17
- import { _ as Ta } from "./_plugin-vue_export-helper-CHgC5LLL.js";
18
- const Sa = ["id"], La = ["onClick"], Pa = ["xmlns", "viewBox"], Na = ["x", "width", "height"], Aa = ["id"], za = ["stop-color"], Va = ["stop-color"], Oa = { key: 1 }, Ia = ["x", "y", "width", "height", "fill", "rx"], Fa = ["x", "y", "width", "height", "fill", "rx", "stroke", "stroke-width"], Ma = ["x", "y", "width", "height", "fill", "rx", "stroke", "stroke-width"], Da = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Ba = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Ra = { class: "vue-ui-horizontal-bar-child-label" }, Ea = ["x", "y", "text-anchor", "font-size", "fill", "font-weight"], Ua = ["x", "y", "font-size", "fill", "font-weight"], Xa = { class: "vue-ui-horizontal-bar-parent-label" }, Ga = ["x", "y", "font-size", "fill", "font-weight"], Wa = ["x", "y", "font-size", "fill", "font-weight"], Ha = ["x", "y", "width", "height", "fill", "onMouseenter", "onMouseleave", "onClick"], ja = {
13
+ import Ta from "./vue-ui-accordion-CZ0thhxa.js";
14
+ import Sa from "./Title-l36lOBMx.js";
15
+ import { _ as yt } from "./Shape-CNXKB8O0.js";
16
+ import La from "./img-BecE5qXd.js";
17
+ import { _ as Pa } from "./_plugin-vue_export-helper-CHgC5LLL.js";
18
+ const Na = ["id"], Aa = ["onClick"], za = ["xmlns", "viewBox"], Va = ["x", "width", "height"], Oa = ["id"], Ia = ["stop-color"], Fa = ["stop-color"], Ba = { key: 1 }, Ma = ["x", "y", "width", "height", "fill", "rx"], Da = ["x", "y", "width", "height", "fill", "rx", "stroke", "stroke-width"], Ra = ["x", "y", "width", "height", "fill", "rx", "stroke", "stroke-width"], Ea = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Ua = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Xa = { class: "vue-ui-horizontal-bar-child-label" }, Ga = ["x", "y", "text-anchor", "font-size", "fill", "font-weight"], Wa = ["x", "y", "font-size", "fill", "font-weight"], Ha = { class: "vue-ui-horizontal-bar-parent-label" }, ja = ["x", "y", "font-size", "fill", "font-weight"], qa = ["x", "y", "font-size", "fill", "font-weight"], Ya = ["x", "y", "width", "height", "fill", "onMouseenter", "onMouseleave", "onClick"], Ka = {
19
19
  key: 5,
20
20
  class: "vue-data-ui-watermark"
21
- }, qa = ["onClick"], Ya = { style: "width:100%;padding-top: 36px;position:relative" }, Ka = { class: "vue-ui-data-table" }, Qa = { key: 0 }, Ja = { style: { width: "100%" } }, Za = ["data-cell"], el = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, tl = ["data-cell"], al = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, ll = ["data-cell"], ol = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, nl = ["data-cell"], ul = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, sl = ["data-cell"], rl = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, il = ["data-cell"], vl = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, cl = ["data-cell"], dl = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, hl = {
21
+ }, Qa = ["onClick"], Ja = { style: "width:100%;padding-top: 36px;position:relative" }, Za = { class: "vue-ui-data-table" }, el = { key: 0 }, tl = { style: { width: "100%" } }, al = ["data-cell"], ll = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, ol = ["data-cell"], nl = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, ul = ["data-cell"], sl = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, rl = ["data-cell"], il = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, vl = ["data-cell"], cl = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, dl = ["data-cell"], hl = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, pl = ["data-cell"], fl = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, gl = {
22
22
  __name: "vue-ui-vertical-bar",
23
23
  props: {
24
24
  config: {
@@ -35,35 +35,35 @@ const Sa = ["id"], La = ["onClick"], Pa = ["xmlns", "viewBox"], Na = ["x", "widt
35
35
  }
36
36
  },
37
37
  emits: ["selectLegend"],
38
- setup(yt, { expose: bt, emit: mt }) {
39
- Kt((t) => ({
40
- v40c2e850: t.tdo
38
+ setup(bt, { expose: mt, emit: kt }) {
39
+ Zt((t) => ({
40
+ v6fce4bf0: t.tdo
41
41
  }));
42
- const kt = K(() => import("./Tooltip-oWCO1HKy.js")), De = K(() => import("./BaseIcon-BmMbm4d0.js")), xt = K(() => import("./PenAndPaper-DSvu9dwa.js")), _t = K(() => import("./UserOptions-CGnQt6Fd.js")), wt = K(() => import("./PackageVersion-D-auaEEJ.js")), $t = K(() => import("./BaseDraggableDialog-ymf2sfB8.js")), { vue_ui_vertical_bar: Ct } = pa(), Tt = Qt(), m = yt, ge = g({
42
+ const xt = Q(() => import("./Tooltip-oWCO1HKy.js")), Me = Q(() => import("./BaseIcon-BmMbm4d0.js")), wt = Q(() => import("./PenAndPaper-DSvu9dwa.js")), _t = Q(() => import("./UserOptions-CGnQt6Fd.js")), $t = Q(() => import("./PackageVersion-Cyx_s25h.js")), Ct = Q(() => import("./BaseDraggableDialog-ymf2sfB8.js")), { vue_ui_vertical_bar: Tt } = ya(), St = ea(), m = bt, fe = f({
43
43
  get() {
44
44
  return !!m.dataset && m.dataset.length;
45
45
  },
46
46
  set(t) {
47
47
  return t;
48
48
  }
49
- }), S = i(aa()), fe = i(!1), ye = i(""), ae = i(0), St = i(null), Be = i(0), P = i(null), Re = i(null), be = i(null), Ee = i(null), Ue = i(null), Xe = i(0), me = i(0), H = i(null), le = i(null), ke = i(null), Lt = mt, e = i(Ce()), Pt = g(() => [
49
+ }), L = i(na()), ge = i(!1), ye = i(""), le = i(0), Lt = i(null), De = i(0), N = i(null), Re = i(null), be = i(null), Ee = i(null), Ue = i(null), Xe = i(0), me = i(0), j = i(null), oe = i(null), ke = i(null), Pt = kt, e = i(Ce()), Nt = f(() => [
50
50
  { name: "", value: 6, color: "#d9d9d9" },
51
51
  { name: "", value: 5, color: "#d9d9d9" },
52
52
  { name: "", value: 4, color: "#d9d9d9" },
53
53
  { name: "", value: 3, color: "#d9d9d9" },
54
54
  { name: "", value: 2, color: "#d9d9d9" },
55
55
  { name: "", value: 1, color: "#d9d9d9" }
56
- ]), { loading: Ge, FINAL_DATASET: xe, manualLoading: _e } = ga({
57
- ...Jt(m),
56
+ ]), { loading: Ge, FINAL_DATASET: xe, manualLoading: we } = ba({
57
+ ...ta(m),
58
58
  FINAL_CONFIG: e,
59
59
  prepareConfig: Ce,
60
60
  callback: () => {
61
61
  Promise.resolve().then(async () => {
62
- q(), $.value.showTable = e.value.table.show, await F();
62
+ Y(), $.value.showTable = e.value.table.show, await F();
63
63
  });
64
64
  },
65
- skeletonDataset: Pt.value,
66
- skeletonConfig: la({
65
+ skeletonDataset: Nt.value,
66
+ skeletonConfig: ua({
67
67
  defaultConfig: e.value,
68
68
  userConfig: {
69
69
  useCssAnimation: !1,
@@ -109,31 +109,31 @@ const Sa = ["id"], La = ["onClick"], Pa = ["xmlns", "viewBox"], Na = ["x", "widt
109
109
  }
110
110
  }
111
111
  })
112
- }), { userOptionsVisible: we, setUserOptionsVisibility: We, keepUserOptionState: He } = ka({ config: e.value }), { svgRef: $e } = xa({ config: e.value.style.chart.title });
112
+ }), { userOptionsVisible: _e, setUserOptionsVisibility: We, keepUserOptionState: He } = _a({ config: e.value }), { svgRef: $e } = $a({ config: e.value.style.chart.title });
113
113
  function Ce() {
114
- const t = pt({
114
+ const t = ft({
115
115
  userConfig: m.config,
116
- defaultConfig: Ct
116
+ defaultConfig: Tt
117
117
  });
118
118
  let l = {};
119
119
  return t.theme ? l = {
120
- ...pt({
121
- userConfig: _a.vue_ui_vertical_bar[t.theme] || m.config,
120
+ ...ft({
121
+ userConfig: Ca.vue_ui_vertical_bar[t.theme] || m.config,
122
122
  defaultConfig: t
123
123
  }),
124
- customPalette: oa[t.theme] || W
124
+ customPalette: sa[t.theme] || H
125
125
  } : l = t, m.config && Oe(m.config, "events.datapointEnter") ? l.events.datapointEnter = m.config.events.datapointEnter : l.events.datapointEnter = null, m.config && Oe(m.config, "events.datapointLeave") ? l.events.datapointLeave = m.config.events.datapointLeave : l.events.datapointLeave = null, m.config && Oe(m.config, "events.datapointClick") ? l.events.datapointClick = m.config.events.datapointClick : l.events.datapointClick = null, l;
126
126
  }
127
127
  ze(() => m.config, (t) => {
128
- Ge.value || (e.value = Ce()), we.value = !e.value.userOptions.showOnChartHover, et(), Xe.value += 1, me.value += 1, p.value = e.value.style.chart.layout.bars.height, x.value = e.value.style.chart.layout.bars.gap, $.value.showTable = e.value.table.show, $.value.sortDesc = e.value.style.chart.layout.bars.sort === "desc", $.value.showTooltip = e.value.style.chart.tooltip.show;
128
+ Ge.value || (e.value = Ce()), _e.value = !e.value.userOptions.showOnChartHover, et(), Xe.value += 1, me.value += 1, p.value = e.value.style.chart.layout.bars.height, x.value = e.value.style.chart.layout.bars.gap, $.value.showTable = e.value.table.show, $.value.sortDesc = e.value.style.chart.layout.bars.sort === "desc", $.value.showTooltip = e.value.style.chart.tooltip.show;
129
129
  }, { deep: !0 }), ze(() => m.dataset, (t) => {
130
- Array.isArray(t) && t.length > 0 && (_e.value = !1), q();
130
+ Array.isArray(t) && t.length > 0 && (we.value = !1), Y();
131
131
  }, { deep: !0 });
132
- const { isPrinting: je, isImaging: qe, generatePdf: Ye, generateImage: Ke } = ya({
133
- elementId: `vue-ui-vertical-bar_${S.value}`,
132
+ const { isPrinting: je, isImaging: qe, generatePdf: Ye, generateImage: Ke } = ka({
133
+ elementId: `vue-ui-vertical-bar_${L.value}`,
134
134
  fileName: e.value.style.chart.title.text || "vue-ui-vertical-bar",
135
135
  options: e.value.userOptions.print
136
- }), Nt = g(() => e.value.userOptions.show && !e.value.style.chart.title.text), Qe = g(() => na(e.value.customPalette)), Je = i(null), At = g(() => e.value.table.responsiveBreakpoint), I = ct(null), j = ct(null), re = i("0 0 10 10"), N = g(() => {
136
+ }), At = f(() => e.value.userOptions.show && !e.value.style.chart.title.text), Qe = f(() => ra(e.value.customPalette)), Je = i(null), zt = f(() => e.value.table.responsiveBreakpoint), I = dt(null), q = dt(null), re = i("0 0 10 10"), A = f(() => {
137
137
  const [t, l, a, o] = re.value.split(" ").map(Number);
138
138
  return { x: t, y: l, width: a, height: o };
139
139
  });
@@ -141,25 +141,25 @@ const Sa = ["id"], La = ["onClick"], Pa = ["xmlns", "viewBox"], Na = ["x", "widt
141
141
  await he(), et(), F();
142
142
  });
143
143
  async function F() {
144
- if (re.value = `0 0 ${C.value.width} ${r.value.fullHeight}`, !e.value.autoSize || !H.value) return;
145
- const t = H.value.querySelectorAll(".vue-ui-horizontal-bar-parent-label"), l = H.value.querySelectorAll(".vue-ui-horizontal-bar-child-label");
144
+ if (re.value = `0 0 ${C.value.width} ${r.value.fullHeight}`, !e.value.autoSize || !j.value) return;
145
+ const t = j.value.querySelectorAll(".vue-ui-horizontal-bar-parent-label"), l = j.value.querySelectorAll(".vue-ui-horizontal-bar-child-label");
146
146
  if (t && t.length) {
147
- const f = Math.max(...Array.from(t).flatMap((c) => {
148
- const _ = c.querySelectorAll("text");
149
- return _.length ? Array.from(_).map((Y) => Y.getBBox().width) : 0;
150
- })), w = Math.max(...Array.from(l).flatMap((c) => {
151
- const _ = c.querySelectorAll("text");
152
- return _.length ? Array.from(_).map((Y) => Y.getBBox().width) : 0;
147
+ const g = Math.max(...Array.from(t).flatMap((c) => {
148
+ const w = c.querySelectorAll("text");
149
+ return w.length ? Array.from(w).map((K) => K.getBBox().width) : 0;
150
+ })), _ = Math.max(...Array.from(l).flatMap((c) => {
151
+ const w = c.querySelectorAll("text");
152
+ return w.length ? Array.from(w).map((K) => K.getBBox().width) : 0;
153
153
  }));
154
154
  Array.from(t).forEach((c) => {
155
- const _ = c.querySelectorAll("text");
156
- Array.from(_).forEach(async (Y) => {
157
- Y.setAttribute("x", 0), Y.setAttribute("x", L(-f - w));
155
+ const w = c.querySelectorAll("text");
156
+ Array.from(w).forEach(async (K) => {
157
+ K.setAttribute("x", 0), K.setAttribute("x", P(-g - _));
158
158
  });
159
159
  });
160
160
  }
161
161
  await he();
162
- const a = H.value ? H.value.getBBox() : 0, o = e.value.style.chart.layout.bars.dataLabels.offsetX;
162
+ const a = j.value ? j.value.getBBox() : 0, o = e.value.style.chart.layout.bars.dataLabels.offsetX;
163
163
  re.value = [
164
164
  a.x + -o,
165
165
  0,
@@ -169,28 +169,28 @@ const Sa = ["id"], La = ["onClick"], Pa = ["xmlns", "viewBox"], Na = ["x", "widt
169
169
  }
170
170
  let Ze;
171
171
  Ve(() => {
172
- P.value && (Ze = new ResizeObserver((t) => {
172
+ N.value && (Ze = new ResizeObserver((t) => {
173
173
  for (const l of t) {
174
174
  const { width: a, height: o } = l.contentRect;
175
175
  if (a > 0 && o > 0) {
176
176
  Promise.resolve().then(async () => {
177
- q(), await F();
177
+ Y(), await F();
178
178
  });
179
179
  break;
180
180
  }
181
181
  }
182
- }), Ze.observe(P.value.parentElement));
182
+ }), Ze.observe(N.value.parentElement));
183
183
  });
184
- const ie = g(() => !!e.value.debug), Te = i(0);
184
+ const ie = f(() => !!e.value.debug), Te = i(0);
185
185
  function et() {
186
186
  if (Ie(m.dataset) && (ue({
187
187
  componentName: "VueUiVerticalBar",
188
188
  type: "dataset",
189
189
  debug: ie.value
190
- }), ge.value = !1, _e.value = !0), ae.value = xe.value.flatMap((t) => t.children && t.children.length > 0 ? t.children.length : 1).reduce((t, l) => t + l, 0), Ie(m.dataset) || (_e.value = e.value.loading), e.value.responsive) {
191
- const t = da(() => {
192
- const { width: l, height: a } = ha({
193
- chart: P.value,
190
+ }), fe.value = !1, we.value = !0), le.value = xe.value.flatMap((t) => t.children && t.children.length > 0 ? t.children.length : 1).reduce((t, l) => t + l, 0), Ie(m.dataset) || (we.value = e.value.loading), e.value.responsive) {
191
+ const t = fa(() => {
192
+ const { width: l, height: a } = ga({
193
+ chart: N.value,
194
194
  title: e.value.style.chart.title.text ? Re.value : null,
195
195
  legend: e.value.style.chart.legend.show ? be.value : null,
196
196
  source: Ee.value,
@@ -198,21 +198,21 @@ const Sa = ["id"], La = ["onClick"], Pa = ["xmlns", "viewBox"], Na = ["x", "widt
198
198
  });
199
199
  Te.value = a / 3, requestAnimationFrame(async () => {
200
200
  lt.value = l;
201
- const o = x.value * (ae.value - 1);
202
- p.value = (a - o) / ae.value, await he(), F();
201
+ const o = x.value * (le.value - 1);
202
+ p.value = (a - o) / le.value, await he(), F();
203
203
  });
204
204
  });
205
- I.value && (j.value && I.value.unobserve(j.value), I.value.disconnect()), I.value = new ResizeObserver(t), j.value = P.value.parentNode, I.value.observe(j.value), e.value.autoSize && F();
205
+ I.value && (q.value && I.value.unobserve(q.value), I.value.disconnect()), I.value = new ResizeObserver(t), q.value = N.value.parentNode, I.value.observe(q.value), e.value.autoSize && F();
206
206
  }
207
207
  }
208
- Zt(() => {
209
- I.value && (j.value && I.value.unobserve(j.value), I.value.disconnect());
208
+ aa(() => {
209
+ I.value && (q.value && I.value.unobserve(q.value), I.value.disconnect());
210
210
  });
211
211
  const $ = i({
212
212
  showTable: e.value.table.show,
213
213
  sortDesc: e.value.style.chart.layout.bars.sort === "desc",
214
214
  showTooltip: e.value.style.chart.tooltip.show
215
- }), tt = g(() => $.value.sortDesc), O = g(() => (xe.value.forEach((t, l) => {
215
+ }), tt = f(() => $.value.sortDesc), z = f(() => (xe.value.forEach((t, l) => {
216
216
  !t.value && !t.children && ue({
217
217
  componentName: "VueUiVerticalBar",
218
218
  type: "datasetAttributeEmpty",
@@ -234,56 +234,56 @@ const Sa = ["id"], La = ["onClick"], Pa = ["xmlns", "viewBox"], Na = ["x", "widt
234
234
  });
235
235
  }));
236
236
  }), xe.value.map((t, l) => {
237
- const a = `vertical_parent_${l}_${S.value}`, o = t.children && t.children.length > 0, f = L(t.value ? t.value : o ? t.children.map((c) => c.value || 0).reduce((c, _) => c + _, 0) : 0), w = f >= 0 ? 1 : -1;
237
+ const a = `vertical_parent_${l}_${L.value}`, o = t.children && t.children.length > 0, g = P(t.value ? t.value : o ? t.children.map((c) => c.value || 0).reduce((c, w) => c + w, 0) : 0), _ = g >= 0 ? 1 : -1;
238
238
  return {
239
239
  ...t,
240
240
  id: a,
241
241
  absoluteIndex: l,
242
242
  shape: "square",
243
- opacity: A.value.includes(a) ? 0.5 : 1,
244
- value: Math.abs(f),
245
- sign: w,
243
+ opacity: T.value.includes(a) ? 0.5 : 1,
244
+ value: Math.abs(g),
245
+ sign: _,
246
246
  hasChildren: o,
247
247
  isChild: !1,
248
- segregate: () => oe(a),
249
- isSegregated: A.value.includes(a),
250
- color: Fe(t.color) || Qe.value[l] || W[l] || W[l % W.length],
251
- children: !t.children || !t.children.length ? [] : t.children.toSorted(ve.value ? () => 0 : (c, _) => tt.value ? _.value - c.value : c.value - _.value).map((c, _) => ({
248
+ segregate: () => D(a),
249
+ isSegregated: T.value.includes(a),
250
+ color: Fe(t.color) || Qe.value[l] || H[l] || H[l % H.length],
251
+ children: !t.children || !t.children.length ? [] : t.children.toSorted(ve.value ? () => 0 : (c, w) => tt.value ? w.value - c.value : c.value - w.value).map((c, w) => ({
252
252
  ...c,
253
- value: L(Math.abs(c.value)),
253
+ value: P(Math.abs(c.value)),
254
254
  absoluteIndex: l,
255
255
  sign: c.value >= 0 ? 1 : -1,
256
256
  isChild: !0,
257
257
  parentId: a,
258
258
  parentName: t.name,
259
- parentValue: f,
260
- parentSign: w,
261
- id: `vertical_child_${l}_${_}_${S.value}`,
262
- childIndex: _,
263
- color: Fe(c.color) || Fe(t.color) || Qe.value[l] || W[l] || W[l % W.length]
264
- })).map((c, _) => ({
259
+ parentValue: g,
260
+ parentSign: _,
261
+ id: `vertical_child_${l}_${w}_${L.value}`,
262
+ childIndex: w,
263
+ color: Fe(c.color) || Fe(t.color) || Qe.value[l] || H[l] || H[l % H.length]
264
+ })).map((c, w) => ({
265
265
  ...c,
266
- isFirstChild: _ === 0,
267
- isLastChild: _ === t.children.length - 1
266
+ isFirstChild: w === 0,
267
+ isLastChild: w === t.children.length - 1
268
268
  }))
269
269
  };
270
- }).toSorted(ve.value ? () => 0 : (t, l) => tt.value ? l.value - t.value : t.value - l.value))), at = g(() => ({
270
+ }).toSorted(ve.value ? () => 0 : (t, l) => tt.value ? l.value - t.value : t.value - l.value))), at = f(() => ({
271
271
  cy: "vertical-bar-div-legend",
272
272
  backgroundColor: e.value.style.chart.legend.backgroundColor,
273
273
  color: e.value.style.chart.legend.color,
274
274
  fontSize: e.value.style.chart.legend.fontSize,
275
275
  paddingBottom: 12,
276
276
  fontWeight: e.value.style.chart.legend.bold ? "bold" : ""
277
- })), p = i(e.value.style.chart.layout.bars.height), x = i(e.value.style.chart.layout.bars.gap), zt = g(() => (p.value + x.value) * ae.value), lt = i(512), C = g(() => ({
277
+ })), p = i(e.value.style.chart.layout.bars.height), x = i(e.value.style.chart.layout.bars.gap), Vt = f(() => (p.value + x.value) * le.value), lt = i(512), C = f(() => ({
278
278
  width: lt.value,
279
- height: zt.value,
279
+ height: Vt.value,
280
280
  padding: {
281
281
  top: 12,
282
282
  left: (e.value.autoSize ? 0 : 128) + e.value.style.chart.layout.bars.offsetX,
283
283
  right: (e.value.autoSize ? 0 : 64) + e.value.style.chart.layout.bars.paddingRight,
284
284
  bottom: 12
285
285
  }
286
- })), r = g(() => ({
286
+ })), r = f(() => ({
287
287
  fullHeight: C.value.padding.top + C.value.padding.bottom + C.value.height,
288
288
  top: C.value.padding.top,
289
289
  left: C.value.padding.left,
@@ -291,114 +291,128 @@ const Sa = ["id"], La = ["onClick"], Pa = ["xmlns", "viewBox"], Na = ["x", "widt
291
291
  bottom: C.value.padding.top + C.value.height,
292
292
  width: C.value.width - (C.value.padding.left + C.value.padding.right)
293
293
  }));
294
- async function q() {
295
- ae.value = B.value.flatMap((t) => t.children && t.children.length > 0 ? t.children.length : 1).reduce((t, l) => t + l, 0), e.value.autoSize && await F();
294
+ async function Y() {
295
+ le.value = R.value.flatMap((t) => t.children && t.children.length > 0 ? t.children.length : 1).reduce((t, l) => t + l, 0), e.value.autoSize && await F();
296
296
  }
297
- const A = i([]);
298
- async function oe(t) {
299
- if (A.value.includes(t))
300
- A.value = A.value.filter((l) => l !== t);
297
+ const T = i([]);
298
+ async function D(t) {
299
+ if (T.value.includes(t))
300
+ T.value = T.value.filter((l) => l !== t);
301
301
  else {
302
- if (A.value.length === O.value.length - 1) return;
303
- A.value.push(t);
302
+ if (T.value.length === z.value.length - 1) return;
303
+ T.value.push(t);
304
304
  }
305
- q(), await he(), e.value.autoSize && F(), Lt("selectLegend", B.value);
305
+ Y(), await he(), e.value.autoSize && F(), Pt("selectLegend", R.value);
306
306
  }
307
- const B = g(() => O.value.filter((t) => !A.value.includes(t.id))), V = g(() => B.value.map((t) => Math.abs(t.value)).reduce((t, l) => t + l, 0));
308
- function ot(t, l = !1, a = 0) {
309
- return l ? D({
310
- v: L(Math.abs(t) / V.value * 100),
307
+ function ot(t) {
308
+ if (!z.value.length)
309
+ return e.value.debug && console.warn("VueUiHorizontalBar - There are no series to show."), null;
310
+ const l = z.value.find((a) => a.name === t);
311
+ return l || (e.value.debug && console.warn(`VueUiHorizontalBar - Series name not found "${t}"`), null);
312
+ }
313
+ function Ot(t) {
314
+ const l = ot(t);
315
+ l !== null && T.value.includes(l.id) && D(l.id);
316
+ }
317
+ function It(t) {
318
+ const l = ot(t);
319
+ l !== null && (T.value.includes(l.id) || D(l.id));
320
+ }
321
+ const R = f(() => z.value.filter((t) => !T.value.includes(t.id))), O = f(() => R.value.map((t) => Math.abs(t.value)).reduce((t, l) => t + l, 0));
322
+ function nt(t, l = !1, a = 0) {
323
+ return l ? M({
324
+ v: P(Math.abs(t) / O.value * 100),
311
325
  s: "%",
312
326
  r: a
313
- }) : Math.abs(t) / V.value;
327
+ }) : Math.abs(t) / O.value;
314
328
  }
315
- const R = g(() => B.value.flatMap((t) => t.hasChildren ? t.children : t)), E = g(() => R.value.map((t) => t.sign).includes(-1)), Vt = g(() => Math.max(...B.value.flatMap((t) => t.children && t.children.length ? Math.max(...t.children.map((l) => l.value)) : t.value)));
316
- function T(t) {
317
- const l = t / Vt.value;
318
- return r.value.width / (E.value ? 2 : 1) * l;
329
+ const E = f(() => R.value.flatMap((t) => t.hasChildren ? t.children : t)), U = f(() => E.value.map((t) => t.sign).includes(-1)), Ft = f(() => Math.max(...R.value.flatMap((t) => t.children && t.children.length ? Math.max(...t.children.map((l) => l.value)) : t.value)));
330
+ function S(t) {
331
+ const l = t / Ft.value;
332
+ return r.value.width / (U.value ? 2 : 1) * l;
319
333
  }
320
- function Ot(t) {
321
- return T(t) + r.value.left;
334
+ function Bt(t) {
335
+ return S(t) + r.value.left;
322
336
  }
323
337
  function ne(t, l) {
324
- const a = B.value.find((w) => w.id === t.parentId), o = r.value.top + (x.value + p.value) * l, f = a.children.length * (x.value + p.value);
338
+ const a = R.value.find((_) => _.id === t.parentId), o = r.value.top + (x.value + p.value) * l, g = a.children.length * (x.value + p.value);
325
339
  return {
326
- y: o + f / 2 - e.value.style.chart.layout.bars.parentLabels.fontSize,
340
+ y: o + g / 2 - e.value.style.chart.layout.bars.parentLabels.fontSize,
327
341
  name: a.name,
328
342
  value: [void 0, NaN, null].includes(a.value) ? "" : a.sign === 1 ? a.value : -a.value,
329
- percentageToTotal: isNaN(a.value / V.value) ? "" : ot(a.value, !0, e.value.style.chart.layout.bars.dataLabels.percentage.roundingPercentage),
343
+ percentageToTotal: isNaN(a.value / O.value) ? "" : nt(a.value, !0, e.value.style.chart.layout.bars.dataLabels.percentage.roundingPercentage),
330
344
  sign: a.sign
331
345
  };
332
346
  }
333
- function It() {
334
- return B.value;
347
+ function Mt() {
348
+ return R.value;
335
349
  }
336
350
  const Se = i(null), Le = i(null);
337
- function Ft({ datapoint: t, seriesIndex: l }) {
351
+ function Dt({ datapoint: t, seriesIndex: l }) {
338
352
  e.value.events.datapointClick && e.value.events.datapointClick({ datapoint: t, seriesIndex: l });
339
353
  }
340
- function Mt({ datapoint: t, seriesIndex: l }) {
341
- e.value.events.datapointLeave && e.value.events.datapointLeave({ datapoint: t, seriesIndex: l }), St.value = null, fe.value = !1, Se.value = null;
354
+ function Rt({ datapoint: t, seriesIndex: l }) {
355
+ e.value.events.datapointLeave && e.value.events.datapointLeave({ datapoint: t, seriesIndex: l }), Lt.value = null, ge.value = !1, Se.value = null;
342
356
  }
343
- function Dt(t, l) {
357
+ function Et(t, l) {
344
358
  e.value.events.datapointEnter && e.value.events.datapointEnter({ datpoint: t, seriesIndex: l }), Le.value = {
345
359
  datapoint: t,
346
360
  seriesIndex: l,
347
- series: O.value,
361
+ series: z.value,
348
362
  config: e.value
349
- }, fe.value = !0, Se.value = t.id;
363
+ }, ge.value = !0, Se.value = t.id;
350
364
  let a = "";
351
- const o = t.isChild ? t.parentName : t.name, f = t.isChild ? t.name : "", w = e.value.style.chart.tooltip.customFormat;
352
- va(w) && ca(() => w({
365
+ const o = t.isChild ? t.parentName : t.name, g = t.isChild ? t.name : "", _ = e.value.style.chart.tooltip.customFormat;
366
+ ha(_) && pa(() => _({
353
367
  datapoint: t,
354
- series: O.value,
368
+ series: z.value,
355
369
  config: e.value,
356
370
  seriesIndex: l
357
- })) ? ye.value = w({
371
+ })) ? ye.value = _({
358
372
  datapoint: t,
359
- series: O.value,
373
+ series: z.value,
360
374
  config: e.value,
361
375
  seriesIndex: l
362
376
  }) : (a += `<div style="width:100%;text-align:center;border-bottom:1px solid ${e.value.style.chart.tooltip.borderColor};padding-bottom:6px;margin-bottom:3px;text-align:left;">
363
- <div style="display:flex;align-items:center;gap:4px;"><svg viewBox="0 0 60 60" height="14" width="14"><rect x="0" y="0" height="60" width="60" rx="5" stroke="none" fill="${t.color}"/>${Tt.pattern ? `<rect x="0" y="0" height="60" width="60" rx="5" stroke="none" fill="url(#pattern_${S.value}_${t.absoluteIndex})"/>` : ""}</svg> ${o}</div>
364
- ${f ? `<div>${f}</div>` : ""}
377
+ <div style="display:flex;align-items:center;gap:4px;"><svg viewBox="0 0 60 60" height="14" width="14"><rect x="0" y="0" height="60" width="60" rx="5" stroke="none" fill="${t.color}"/>${St.pattern ? `<rect x="0" y="0" height="60" width="60" rx="5" stroke="none" fill="url(#pattern_${L.value}_${t.absoluteIndex})"/>` : ""}</svg> ${o}</div>
378
+ ${g ? `<div>${g}</div>` : ""}
365
379
  </div>`, e.value.style.chart.tooltip.showValue && (a += `<div>${e.value.translations.value}: <b>${se(
366
380
  e.value.style.chart.layout.bars.dataLabels.value.formatter,
367
381
  t.sign === 1 ? t.value : -t.value,
368
- D({
382
+ M({
369
383
  p: e.value.style.chart.tooltip.prefix,
370
384
  v: t.sign === 1 ? t.value : -t.value,
371
385
  s: e.value.style.chart.tooltip.suffix,
372
386
  r: e.value.style.chart.tooltip.roundingValue
373
387
  }),
374
388
  { datapoint: t, seriesIndex: l }
375
- )}</b></div>`), e.value.style.chart.tooltip.showPercentage && (a += `<div>${e.value.translations.percentageToTotal} : <b>${D({
376
- v: Math.abs(t.value) / V.value * 100,
389
+ )}</b></div>`), e.value.style.chart.tooltip.showPercentage && (a += `<div>${e.value.translations.percentageToTotal} : <b>${M({
390
+ v: Math.abs(t.value) / O.value * 100,
377
391
  s: "%",
378
392
  r: e.value.style.chart.tooltip.roundingPercentage
379
- })}</b></div>`, t.isChild && (a += `<div>${e.value.translations.percentageToSerie}: <b>${D({
393
+ })}</b></div>`, t.isChild && (a += `<div>${e.value.translations.percentageToSerie}: <b>${M({
380
394
  v: Math.abs(t.value) / Math.abs(t.parentValue) * 100,
381
395
  s: "%",
382
396
  r: e.value.style.chart.tooltip.roundingPercentage
383
397
  })}</b></div>`)), ye.value = `<div style="text-align:left">${a}</div>`);
384
398
  }
385
- function nt(t, l, a, o) {
399
+ function ut(t, l, a, o) {
386
400
  if (!e.value.style.chart.layout.bars.dataLabels.value.show)
387
401
  return "";
388
- const f = se(
402
+ const g = se(
389
403
  e.value.style.chart.layout.bars.dataLabels.value.formatter,
390
- L(o === -1 && t >= 0 ? -t : t),
391
- D({
404
+ P(o === -1 && t >= 0 ? -t : t),
405
+ M({
392
406
  p: e.value.style.chart.layout.bars.dataLabels.value.prefix,
393
- v: L(o === -1 && t >= 0 ? -t : t),
407
+ v: P(o === -1 && t >= 0 ? -t : t),
394
408
  s: e.value.style.chart.layout.bars.dataLabels.value.suffix,
395
409
  r: e.value.style.chart.layout.bars.dataLabels.value.roundingValue
396
410
  }),
397
411
  { datapoint: l, seriesIndex: a }
398
- ), w = `(${ot(t, !0, e.value.style.chart.layout.bars.dataLabels.percentage.roundingPercentage)})`;
399
- return `${f}${e.value.style.chart.layout.bars.dataLabels.percentage.show ? ` ${w}` : ""}`;
412
+ ), _ = `(${nt(t, !0, e.value.style.chart.layout.bars.dataLabels.percentage.roundingPercentage)})`;
413
+ return `${g}${e.value.style.chart.layout.bars.dataLabels.percentage.show ? ` ${_}` : ""}`;
400
414
  }
401
- const z = g(() => {
415
+ const V = f(() => {
402
416
  const t = [
403
417
  e.value.translations.parentName,
404
418
  e.value.translations.value,
@@ -407,15 +421,15 @@ const Sa = ["id"], La = ["onClick"], Pa = ["xmlns", "viewBox"], Na = ["x", "widt
407
421
  e.value.translations.value,
408
422
  e.value.translations.percentageToSerie,
409
423
  e.value.translations.percentageToTotal
410
- ], l = R.value.map((a) => a.isChild ? a.isFirstChild ? {
424
+ ], l = E.value.map((a) => a.isChild ? a.isFirstChild ? {
411
425
  color: a.color,
412
426
  parentName: a.parentName,
413
427
  parentValue: a.parentValue,
414
- percentageToTotal: a.parentValue / V.value,
428
+ percentageToTotal: a.parentValue / O.value,
415
429
  childName: a.name,
416
430
  childValue: a.sign === 1 ? a.value : -a.value,
417
431
  childPercentageToParent: Math.abs(a.value) / Math.abs(a.parentValue),
418
- childPercentageToTotal: Math.abs(a.value) / V.value
432
+ childPercentageToTotal: Math.abs(a.value) / O.value
419
433
  } : {
420
434
  color: "",
421
435
  parentName: "",
@@ -424,12 +438,12 @@ const Sa = ["id"], La = ["onClick"], Pa = ["xmlns", "viewBox"], Na = ["x", "widt
424
438
  childName: a.name,
425
439
  childValue: a.sign === 1 ? a.value : -a.value,
426
440
  childPercentageToParent: Math.abs(a.value) / Math.abs(a.parentValue),
427
- childPercentageToTotal: Math.abs(a.value) / V.value
441
+ childPercentageToTotal: Math.abs(a.value) / O.value
428
442
  } : {
429
443
  color: a.color,
430
444
  parentName: a.name,
431
445
  parentValue: a.sign === 1 ? a.value : -a.value,
432
- percentageToTotal: Math.abs(a.value) / V.value,
446
+ percentageToTotal: Math.abs(a.value) / O.value,
433
447
  childName: "",
434
448
  childValue: "",
435
449
  childPercentageToParent: "",
@@ -438,7 +452,7 @@ const Sa = ["id"], La = ["onClick"], Pa = ["xmlns", "viewBox"], Na = ["x", "widt
438
452
  return { head: t, body: l };
439
453
  });
440
454
  function Pe(t = null) {
441
- const l = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [""]], a = z.value.head, o = z.value.body.map((c) => [
455
+ const l = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [""]], a = V.value.head, o = V.value.body.map((c) => [
442
456
  c.parentName,
443
457
  c.parentValue,
444
458
  c.percentageToTotal,
@@ -446,66 +460,66 @@ const Sa = ["id"], La = ["onClick"], Pa = ["xmlns", "viewBox"], Na = ["x", "widt
446
460
  c.childValue,
447
461
  c.childPercentageToParent,
448
462
  c.childPercentageToTotal
449
- ]), f = l.concat([a]).concat(o), w = ra(f);
450
- t ? t(w) : ia({ csvContent: w, title: e.value.style.chart.title.text || "vue-ui-vertical-bar" });
463
+ ]), g = l.concat([a]).concat(o), _ = ca(g);
464
+ t ? t(_) : da({ csvContent: _, title: e.value.style.chart.title.text || "vue-ui-vertical-bar" });
451
465
  }
452
- const U = i(!1);
453
- function ut(t) {
454
- U.value = t, Be.value += 1;
466
+ const X = i(!1);
467
+ function st(t) {
468
+ X.value = t, De.value += 1;
455
469
  }
456
- function st() {
470
+ function rt() {
457
471
  $.value.showTable = !$.value.showTable;
458
472
  }
459
- const Bt = i({
473
+ const Ut = i({
460
474
  none: 0,
461
475
  asc: 1,
462
476
  desc: 2
463
- }), M = i(0), ve = i(!1);
477
+ }), B = i(0), ve = i(!1);
464
478
  Ve(() => {
465
479
  ["none", "asc", "desc"].includes(e.value.style.chart.layout.bars.sort) || ue({
466
480
  componentName: "VueUiVerticalBar",
467
481
  type: "attributeWrongValue",
468
482
  property: "style.chart.layout.bars.sort",
469
483
  key: e.value.style.chart.layout.bars.sort
470
- }), M.value = Bt.value[e.value.style.chart.layout.bars.sort], $.value.sortDesc = M.value === 2, ve.value = M.value === 0;
484
+ }), B.value = Ut.value[e.value.style.chart.layout.bars.sort], $.value.sortDesc = B.value === 2, ve.value = B.value === 0;
471
485
  });
472
- function Rt() {
473
- M.value += 1, M.value > 2 && (M.value = 0);
474
- }
475
- function rt() {
476
- Rt(), $.value.sortDesc = M.value === 2, ve.value = M.value === 0, q();
486
+ function Xt() {
487
+ B.value += 1, B.value > 2 && (B.value = 0);
477
488
  }
478
489
  function it() {
490
+ Xt(), $.value.sortDesc = B.value === 2, ve.value = B.value === 0, Y();
491
+ }
492
+ function vt() {
479
493
  $.value.showTooltip = !$.value.showTooltip;
480
494
  }
481
495
  const ce = i(!1);
482
496
  function Ne() {
483
497
  ce.value = !ce.value;
484
498
  }
485
- async function Et({ scale: t = 2 } = {}) {
486
- if (!P.value) return;
487
- const { width: l, height: a } = P.value.getBoundingClientRect(), o = l / a, { imageUri: f, base64: w } = await Ca({ domElement: P.value, base64: !0, img: !0, scale: t });
499
+ async function Gt({ scale: t = 2 } = {}) {
500
+ if (!N.value) return;
501
+ const { width: l, height: a } = N.value.getBoundingClientRect(), o = l / a, { imageUri: g, base64: _ } = await La({ domElement: N.value, base64: !0, img: !0, scale: t });
488
502
  return {
489
- imageUri: f,
490
- base64: w,
503
+ imageUri: g,
504
+ base64: _,
491
505
  title: e.value.style.chart.title.text,
492
506
  width: l,
493
507
  height: a,
494
508
  aspectRatio: o
495
509
  };
496
510
  }
497
- const de = g(() => {
511
+ const de = f(() => {
498
512
  const t = e.value.table.useDialog && !e.value.table.show, l = $.value.showTable;
499
513
  return {
500
- component: t ? $t : wa,
514
+ component: t ? Ct : Ta,
501
515
  title: `${e.value.style.chart.title.text}${e.value.style.chart.title.subtitle.text ? `: ${e.value.style.chart.title.subtitle.text}` : ""}`,
502
516
  props: t ? {
503
517
  backgroundColor: e.value.table.th.backgroundColor,
504
518
  color: e.value.table.th.color,
505
519
  headerColor: e.value.table.th.color,
506
520
  headerBg: e.value.table.th.backgroundColor,
507
- isFullscreen: U.value,
508
- fullscreenParent: P.value,
521
+ isFullscreen: X.value,
522
+ fullscreenParent: N.value,
509
523
  forcedWidth: Math.min(800, window.innerWidth * 0.8)
510
524
  } : {
511
525
  hideDetails: !0,
@@ -525,19 +539,19 @@ const Sa = ["id"], La = ["onClick"], Pa = ["xmlns", "viewBox"], Na = ["x", "widt
525
539
  };
526
540
  });
527
541
  ze(() => $.value.showTable, (t) => {
528
- e.value.table.show || (t && e.value.table.useDialog && le.value ? le.value.open() : "close" in le.value && le.value.close());
542
+ e.value.table.show || (t && e.value.table.useDialog && oe.value ? oe.value.open() : "close" in oe.value && oe.value.close());
529
543
  });
530
- const { isResponsive: Ut } = ma(Je, At);
544
+ const { isResponsive: Wt } = wa(Je, zt);
531
545
  function Ae() {
532
546
  $.value.showTable = !1, ke.value && ke.value.setTableIconState(!1);
533
547
  }
534
- const Xt = g(() => O.value.map((t, l) => ({
548
+ const Ht = f(() => z.value.map((t, l) => ({
535
549
  ...t,
536
550
  shape: "square",
537
551
  display: `${t.name}: ${se(
538
552
  e.value.style.chart.layout.bars.dataLabels.value.formatter,
539
553
  t.value,
540
- D({
554
+ M({
541
555
  p: e.value.style.chart.legend.prefix,
542
556
  v: t.value,
543
557
  s: e.value.style.chart.legend.suffix,
@@ -545,48 +559,50 @@ const Sa = ["id"], La = ["onClick"], Pa = ["xmlns", "viewBox"], Na = ["x", "widt
545
559
  }),
546
560
  { datapoint: t, seriesIndex: l }
547
561
  )}`
548
- }))), Gt = g(() => e.value.style.chart.backgroundColor), Wt = g(() => e.value.style.chart.legend), Ht = g(() => e.value.style.chart.title), jt = g(() => Xt.value.map((t) => ({
562
+ }))), jt = f(() => e.value.style.chart.backgroundColor), qt = f(() => e.value.style.chart.legend), Yt = f(() => e.value.style.chart.title), Kt = f(() => Ht.value.map((t) => ({
549
563
  ...t,
550
564
  name: t.display
551
- }))), { exportSvg: qt, getSvg: Yt } = ba({
565
+ }))), { exportSvg: Qt, getSvg: Jt } = xa({
552
566
  svg: $e,
553
- title: Ht,
554
- legend: Wt,
555
- legendItems: jt,
556
- backgroundColor: Gt
567
+ title: Yt,
568
+ legend: qt,
569
+ legendItems: Kt,
570
+ backgroundColor: jt
557
571
  });
558
- async function vt({ isCb: t }) {
572
+ async function ct({ isCb: t }) {
559
573
  if (t) {
560
- const { blob: l, url: a, text: o, dataUrl: f } = await Yt();
561
- e.value.userOptions.callbacks.svg({ blob: l, url: a, text: o, dataUrl: f });
574
+ const { blob: l, url: a, text: o, dataUrl: g } = await Jt();
575
+ e.value.userOptions.callbacks.svg({ blob: l, url: a, text: o, dataUrl: g });
562
576
  } else
563
- qt();
577
+ Qt();
564
578
  }
565
- return bt({
579
+ return mt({
566
580
  autoSize: F,
567
581
  // v3
568
- getData: It,
569
- getImage: Et,
570
- recalculateHeight: q,
582
+ getData: Mt,
583
+ getImage: Gt,
584
+ recalculateHeight: Y,
571
585
  generatePdf: Ye,
572
586
  generateCsv: Pe,
573
587
  generateImage: Ke,
574
- generateSvg: vt,
575
- toggleTable: st,
576
- toggleSort: rt,
577
- toggleTooltip: it,
588
+ generateSvg: ct,
589
+ hideSeries: It,
590
+ showSeries: Ot,
591
+ toggleTable: rt,
592
+ toggleSort: it,
593
+ toggleTooltip: vt,
578
594
  toggleAnnotator: Ne,
579
- toggleFullscreen: ut
595
+ toggleFullscreen: st
580
596
  }), (t, l) => (u(), v("div", {
581
- class: X(`vue-data-ui-component vue-ui-vertical-bar ${U.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.value.useCssAnimation ? "" : "vue-ui-dna"} ${e.value.responsive && e.value.autoSize ? "vue-ui-vertical-bar-autosize" : ""}`),
597
+ class: G(`vue-data-ui-component vue-ui-vertical-bar ${X.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.value.useCssAnimation ? "" : "vue-ui-dna"} ${e.value.responsive && e.value.autoSize ? "vue-ui-vertical-bar-autosize" : ""}`),
582
598
  ref_key: "verticalBarChart",
583
- ref: P,
584
- id: `vue-ui-vertical-bar_${S.value}`,
599
+ ref: N,
600
+ id: `vue-ui-vertical-bar_${L.value}`,
585
601
  style: d(`padding-top:${e.value.responsive && e.value.autoSize ? `${Te.value / 2}px` : "0"}; font-family:${e.value.style.fontFamily};width:100%; text-align:center;background:${e.value.style.chart.backgroundColor};${e.value.responsive ? e.value.autoSize ? `height:calc(100% - ${Te.value}px` : "height: 100%" : ""}`),
586
602
  onMouseenter: l[3] || (l[3] = () => s(We)(!0)),
587
603
  onMouseleave: l[4] || (l[4] = () => s(We)(!1))
588
604
  }, [
589
- e.value.userOptions.buttons.annotator ? (u(), G(s(xt), {
605
+ e.value.userOptions.buttons.annotator ? (u(), W(s(wt), {
590
606
  key: 0,
591
607
  svgRef: s($e),
592
608
  backgroundColor: e.value.style.chart.backgroundColor,
@@ -594,7 +610,7 @@ const Sa = ["id"], La = ["onClick"], Pa = ["xmlns", "viewBox"], Na = ["x", "widt
594
610
  active: ce.value,
595
611
  onClose: Ne
596
612
  }, null, 8, ["svgRef", "backgroundColor", "color", "active"])) : y("", !0),
597
- Nt.value ? (u(), v("div", {
613
+ At.value ? (u(), v("div", {
598
614
  key: 1,
599
615
  ref_key: "noTitle",
600
616
  ref: Ue,
@@ -607,7 +623,7 @@ const Sa = ["id"], La = ["onClick"], Pa = ["xmlns", "viewBox"], Na = ["x", "widt
607
623
  ref: Re,
608
624
  style: "width:100%;background:transparent;padding-bottom:12px"
609
625
  }, [
610
- (u(), G($a, {
626
+ (u(), W(Sa, {
611
627
  key: `title_${Xe.value}`,
612
628
  config: {
613
629
  title: {
@@ -621,15 +637,15 @@ const Sa = ["id"], La = ["onClick"], Pa = ["xmlns", "viewBox"], Na = ["x", "widt
621
637
  }
622
638
  }, null, 8, ["config"]))
623
639
  ], 512)) : y("", !0),
624
- e.value.userOptions.show && ge.value && (s(He) || s(we)) ? (u(), G(s(_t), {
640
+ e.value.userOptions.show && fe.value && (s(He) || s(_e)) ? (u(), W(s(_t), {
625
641
  ref_key: "userOptionsRef",
626
642
  ref: ke,
627
- key: `user_options_${Be.value}`,
643
+ key: `user_options_${De.value}`,
628
644
  backgroundColor: e.value.style.chart.backgroundColor,
629
645
  color: e.value.style.chart.color,
630
646
  isImaging: s(qe),
631
647
  isPrinting: s(je),
632
- uid: S.value,
648
+ uid: L.value,
633
649
  hasTooltip: e.value.userOptions.buttons.tooltip && e.value.style.chart.tooltip.show,
634
650
  hasPdf: e.value.userOptions.buttons.pdf,
635
651
  hasImg: e.value.userOptions.buttons.img,
@@ -638,33 +654,33 @@ const Sa = ["id"], La = ["onClick"], Pa = ["xmlns", "viewBox"], Na = ["x", "widt
638
654
  hasTable: e.value.userOptions.buttons.table,
639
655
  hasSort: e.value.userOptions.buttons.sort,
640
656
  hasFullscreen: e.value.userOptions.buttons.fullscreen,
641
- isFullscreen: U.value,
657
+ isFullscreen: X.value,
642
658
  isTooltip: $.value.showTooltip,
643
659
  titles: { ...e.value.userOptions.buttonTitles },
644
- chartElement: P.value,
660
+ chartElement: N.value,
645
661
  position: e.value.userOptions.position,
646
662
  hasAnnotator: e.value.userOptions.buttons.annotator,
647
663
  isAnnotation: ce.value,
648
664
  callbacks: e.value.userOptions.callbacks,
649
665
  printScale: e.value.userOptions.print.scale,
650
666
  tableDialog: e.value.table.useDialog,
651
- onToggleFullscreen: ut,
667
+ onToggleFullscreen: st,
652
668
  onGeneratePdf: s(Ye),
653
669
  onGenerateCsv: Pe,
654
670
  onGenerateImage: s(Ke),
655
- onGenerateSvg: vt,
656
- onToggleTable: st,
657
- onToggleSort: rt,
658
- onToggleTooltip: it,
671
+ onGenerateSvg: ct,
672
+ onToggleTable: rt,
673
+ onToggleSort: it,
674
+ onToggleTooltip: vt,
659
675
  onToggleAnnotator: Ne,
660
676
  style: d({
661
- visibility: s(He) ? s(we) ? "visible" : "hidden" : "visible"
677
+ visibility: s(He) ? s(_e) ? "visible" : "hidden" : "visible"
662
678
  })
663
679
  }, pe({ _: 2 }, [
664
680
  t.$slots.menuIcon ? {
665
681
  name: "menuIcon",
666
682
  fn: b(({ isOpen: a, color: o }) => [
667
- k(t.$slots, "menuIcon", J(Z({ isOpen: a, color: o })), void 0, !0)
683
+ k(t.$slots, "menuIcon", Z(ee({ isOpen: a, color: o })), void 0, !0)
668
684
  ]),
669
685
  key: "0"
670
686
  } : void 0,
@@ -727,14 +743,14 @@ const Sa = ["id"], La = ["onClick"], Pa = ["xmlns", "viewBox"], Na = ["x", "widt
727
743
  t.$slots.optionFullscreen ? {
728
744
  name: "optionFullscreen",
729
745
  fn: b(({ toggleFullscreen: a, isFullscreen: o }) => [
730
- k(t.$slots, "optionFullscreen", J(Z({ toggleFullscreen: a, isFullscreen: o })), void 0, !0)
746
+ k(t.$slots, "optionFullscreen", Z(ee({ toggleFullscreen: a, isFullscreen: o })), void 0, !0)
731
747
  ]),
732
748
  key: "9"
733
749
  } : void 0,
734
750
  t.$slots.optionAnnotator ? {
735
751
  name: "optionAnnotator",
736
752
  fn: b(({ toggleAnnotator: a, isAnnotator: o }) => [
737
- k(t.$slots, "optionAnnotator", J(Z({ toggleAnnotator: a, isAnnotator: o })), void 0, !0)
753
+ k(t.$slots, "optionAnnotator", Z(ee({ toggleAnnotator: a, isAnnotator: o })), void 0, !0)
738
754
  ]),
739
755
  key: "10"
740
756
  } : void 0
@@ -744,39 +760,39 @@ const Sa = ["id"], La = ["onClick"], Pa = ["xmlns", "viewBox"], Na = ["x", "widt
744
760
  ref_key: "chartLegend",
745
761
  ref: be
746
762
  }, [
747
- (u(), G(gt, {
763
+ (u(), W(gt, {
748
764
  key: `legend_top_${me.value}`,
749
- legendSet: O.value,
765
+ legendSet: z.value,
750
766
  config: at.value,
751
- onClickMarker: l[0] || (l[0] = ({ legend: a }) => oe(a.id))
767
+ onClickMarker: l[0] || (l[0] = ({ legend: a }) => D(a.id))
752
768
  }, pe({
753
769
  item: b(({ legend: a, index: o }) => [
754
770
  n("div", {
755
- onClick: (f) => oe(a.id),
756
- style: d(`opacity:${A.value.includes(a.id) ? 0.5 : 1}`)
771
+ onClick: (g) => D(a.id),
772
+ style: d(`opacity:${T.value.includes(a.id) ? 0.5 : 1}`)
757
773
  }, h(a.name) + ": " + h(s(se)(
758
774
  e.value.style.chart.layout.bars.dataLabels.value.formatter,
759
775
  a.value,
760
- s(D)({
776
+ s(M)({
761
777
  p: e.value.style.chart.legend.prefix,
762
778
  v: a.value,
763
779
  s: e.value.style.chart.legend.suffix,
764
780
  r: e.value.style.chart.legend.roundingValue
765
781
  }),
766
782
  { datapoint: a, seriesIndex: o }
767
- )), 13, La)
783
+ )), 13, Aa)
768
784
  ]),
769
785
  _: 2
770
786
  }, [
771
787
  t.$slots.pattern ? {
772
788
  name: "legend-pattern",
773
789
  fn: b(({ legend: a, index: o }) => [
774
- Q(ft, {
790
+ J(yt, {
775
791
  shape: a.shape,
776
792
  radius: 30,
777
793
  stroke: "none",
778
794
  plot: { x: 30, y: 30 },
779
- fill: `url(#pattern_${S.value}_${o})`
795
+ fill: `url(#pattern_${L.value}_${o})`
780
796
  }, null, 8, ["shape", "fill"])
781
797
  ]),
782
798
  key: "0"
@@ -786,97 +802,97 @@ const Sa = ["id"], La = ["onClick"], Pa = ["xmlns", "viewBox"], Na = ["x", "widt
786
802
  (u(), v("svg", {
787
803
  ref_key: "svgRef",
788
804
  ref: $e,
789
- xmlns: s(ua),
790
- class: X({ "vue-data-ui-fullscreen--on": U.value, "vue-data-ui-fulscreen--off": !U.value }),
805
+ xmlns: s(ia),
806
+ class: G({ "vue-data-ui-fullscreen--on": X.value, "vue-data-ui-fulscreen--off": !X.value }),
791
807
  viewBox: re.value,
792
808
  style: d(`max-width:100%;overflow:visible;background:transparent;color:${e.value.style.chart.color}`)
793
809
  }, [
794
810
  n("g", {
795
811
  ref_key: "G",
796
- ref: H,
812
+ ref: j,
797
813
  class: "vue-data-ui-g"
798
814
  }, [
799
- Q(s(wt)),
815
+ J(s($t)),
800
816
  t.$slots["chart-background"] ? (u(), v("foreignObject", {
801
817
  key: 0,
802
- x: N.value.x,
818
+ x: A.value.x,
803
819
  y: 0,
804
- width: N.value.width,
805
- height: N.value.height,
820
+ width: A.value.width,
821
+ height: A.value.height,
806
822
  style: {
807
823
  pointerEvents: "none"
808
824
  }
809
825
  }, [
810
826
  k(t.$slots, "chart-background", {}, void 0, !0)
811
- ], 8, Na)) : y("", !0),
812
- (u(!0), v(ee, null, te(R.value, (a, o) => (u(), v("linearGradient", {
827
+ ], 8, Va)) : y("", !0),
828
+ (u(!0), v(te, null, ae(E.value, (a, o) => (u(), v("linearGradient", {
813
829
  x1: "0%",
814
830
  y1: "0%",
815
831
  x2: "100%",
816
832
  y2: "0%",
817
- id: `vertical_bar_gradient_${S.value}_${o}`
833
+ id: `vertical_bar_gradient_${L.value}_${o}`
818
834
  }, [
819
835
  n("stop", {
820
836
  offset: "0%",
821
837
  "stop-color": a.color
822
- }, null, 8, za),
838
+ }, null, 8, Ia),
823
839
  n("stop", {
824
840
  offset: "100%",
825
- "stop-color": s(Me)(s(sa)(a.color, 0.03), 100 - e.value.style.chart.layout.bars.gradientIntensity)
826
- }, null, 8, Va)
827
- ], 8, Aa))), 256)),
828
- t.$slots.pattern ? (u(), v("g", Oa, [
829
- (u(!0), v(ee, null, te(R.value, (a) => (u(), v("defs", null, [
830
- k(t.$slots, "pattern", dt({ ref_for: !0 }, { seriesIndex: a.absoluteIndex, patternId: `pattern_${S.value}_${a.absoluteIndex}` }), void 0, !0)
841
+ "stop-color": s(Be)(s(va)(a.color, 0.03), 100 - e.value.style.chart.layout.bars.gradientIntensity)
842
+ }, null, 8, Fa)
843
+ ], 8, Oa))), 256)),
844
+ t.$slots.pattern ? (u(), v("g", Ba, [
845
+ (u(!0), v(te, null, ae(E.value, (a) => (u(), v("defs", null, [
846
+ k(t.$slots, "pattern", ht({ ref_for: !0 }, { seriesIndex: a.absoluteIndex, patternId: `pattern_${L.value}_${a.absoluteIndex}` }), void 0, !0)
831
847
  ]))), 256))
832
848
  ])) : y("", !0),
833
- (u(!0), v(ee, null, te(R.value, (a, o) => (u(), v("g", null, [
849
+ (u(!0), v(te, null, ae(E.value, (a, o) => (u(), v("g", null, [
834
850
  n("rect", {
835
- x: s(L)(E.value ? r.value.left + r.value.width / 2 - (a.sign === 1 ? 0 : T(a.value) <= 0 ? 1e-4 : T(a.value)) : r.value.left),
851
+ x: s(P)(U.value ? r.value.left + r.value.width / 2 - (a.sign === 1 ? 0 : S(a.value) <= 0 ? 1e-4 : S(a.value)) : r.value.left),
836
852
  y: r.value.top + (x.value + p.value) * o,
837
- width: s(L)(T(a.value) <= 0 ? 1e-4 : T(a.value)),
853
+ width: s(P)(S(a.value) <= 0 ? 1e-4 : S(a.value)),
838
854
  height: p.value <= 0 ? 1e-4 : p.value,
839
855
  fill: e.value.style.chart.layout.bars.underlayerColor,
840
856
  rx: e.value.style.chart.layout.bars.borderRadius,
841
- class: X({ animated: e.value.useCssAnimation })
842
- }, null, 10, Ia)
857
+ class: G({ animated: e.value.useCssAnimation })
858
+ }, null, 10, Ma)
843
859
  ]))), 256)),
844
- (u(!0), v(ee, null, te(R.value, (a, o) => (u(), v("g", null, [
860
+ (u(!0), v(te, null, ae(E.value, (a, o) => (u(), v("g", null, [
845
861
  n("rect", {
846
- x: s(L)(E.value ? r.value.left + r.value.width / 2 - (a.sign === 1 ? 0 : T(a.value) <= 0 ? 1e-4 : T(a.value)) : r.value.left),
862
+ x: s(P)(U.value ? r.value.left + r.value.width / 2 - (a.sign === 1 ? 0 : S(a.value) <= 0 ? 1e-4 : S(a.value)) : r.value.left),
847
863
  y: r.value.top + (x.value + p.value) * o,
848
- width: s(L)(T(a.value) <= 0 ? 1e-4 : T(a.value)),
864
+ width: s(P)(S(a.value) <= 0 ? 1e-4 : S(a.value)),
849
865
  height: p.value <= 0 ? 1e-4 : p.value,
850
- fill: e.value.style.chart.layout.bars.useGradient ? `url(#vertical_bar_gradient_${S.value}_${o})` : s(Me)(a.color, e.value.style.chart.layout.bars.fillOpacity),
866
+ fill: e.value.style.chart.layout.bars.useGradient ? `url(#vertical_bar_gradient_${L.value}_${o})` : s(Be)(a.color, e.value.style.chart.layout.bars.fillOpacity),
851
867
  rx: e.value.style.chart.layout.bars.borderRadius,
852
868
  stroke: e.value.style.chart.layout.bars.useStroke ? a.color : "none",
853
869
  "stroke-width": e.value.style.chart.layout.bars.useStroke ? e.value.style.chart.layout.bars.strokeWidth : 0,
854
- class: X({ animated: e.value.useCssAnimation })
855
- }, null, 10, Fa),
870
+ class: G({ animated: e.value.useCssAnimation })
871
+ }, null, 10, Da),
856
872
  t.$slots.pattern ? (u(), v("rect", {
857
873
  key: 0,
858
- x: s(L)(E.value ? r.value.left + r.value.width / 2 - (a.sign === 1 ? 0 : T(a.value) <= 0 ? 1e-4 : T(a.value)) : r.value.left),
874
+ x: s(P)(U.value ? r.value.left + r.value.width / 2 - (a.sign === 1 ? 0 : S(a.value) <= 0 ? 1e-4 : S(a.value)) : r.value.left),
859
875
  y: r.value.top + (x.value + p.value) * o,
860
- width: s(L)(T(a.value) <= 0 ? 1e-4 : T(a.value)),
876
+ width: s(P)(S(a.value) <= 0 ? 1e-4 : S(a.value)),
861
877
  height: p.value <= 0 ? 1e-4 : p.value,
862
- fill: `url(#pattern_${S.value}_${a.absoluteIndex})`,
878
+ fill: `url(#pattern_${L.value}_${a.absoluteIndex})`,
863
879
  rx: e.value.style.chart.layout.bars.borderRadius,
864
880
  stroke: e.value.style.chart.layout.bars.useStroke ? a.color : "none",
865
881
  "stroke-width": e.value.style.chart.layout.bars.useStroke ? e.value.style.chart.layout.bars.strokeWidth : 0,
866
- class: X({ animated: e.value.useCssAnimation })
867
- }, null, 10, Ma)) : y("", !0),
868
- (!a.isChild || a.isLastChild) && e.value.style.chart.layout.separators.show && o !== R.value.length - 1 ? (u(), v("line", {
882
+ class: G({ animated: e.value.useCssAnimation })
883
+ }, null, 10, Ra)) : y("", !0),
884
+ (!a.isChild || a.isLastChild) && e.value.style.chart.layout.separators.show && o !== E.value.length - 1 ? (u(), v("line", {
869
885
  key: 1,
870
- x1: N.value.x,
871
- x2: e.value.style.chart.layout.separators.fullWidth ? N.value.width - Math.abs(N.value.x) : r.value.left,
886
+ x1: A.value.x,
887
+ x2: e.value.style.chart.layout.separators.fullWidth ? A.value.width - Math.abs(A.value.x) : r.value.left,
872
888
  y1: p.value + x.value / 2 + r.value.top + (x.value + p.value) * o,
873
889
  y2: p.value + x.value / 2 + r.value.top + (x.value + p.value) * o,
874
890
  stroke: e.value.style.chart.layout.separators.color,
875
891
  "stroke-width": e.value.style.chart.layout.separators.strokeWidth,
876
892
  "stroke-linecap": "round",
877
893
  style: { transition: "none !important", animation: "none !important" }
878
- }, null, 8, Da)) : y("", !0),
879
- E.value && e.value.style.chart.layout.separators.show ? (u(), v("line", {
894
+ }, null, 8, Ea)) : y("", !0),
895
+ U.value && e.value.style.chart.layout.separators.show ? (u(), v("line", {
880
896
  key: 2,
881
897
  x1: r.value.left + r.value.width / 2,
882
898
  x2: r.value.left + r.value.width / 2,
@@ -885,16 +901,16 @@ const Sa = ["id"], La = ["onClick"], Pa = ["xmlns", "viewBox"], Na = ["x", "widt
885
901
  stroke: e.value.style.chart.layout.separators.color,
886
902
  "stroke-width": e.value.style.chart.layout.separators.strokeWidth,
887
903
  "stroke-linecap": "round"
888
- }, null, 8, Ba)) : y("", !0),
889
- n("g", Ra, [
904
+ }, null, 8, Ua)) : y("", !0),
905
+ n("g", Xa, [
890
906
  n("text", {
891
- x: E.value ? r.value.left + r.value.width / 2 + (a.sign === 1 ? -12 : 12) + (a.sign === 1 ? -e.value.style.chart.layout.bars.dataLabels.offsetX : e.value.style.chart.layout.bars.dataLabels.offsetX) : Ot(a.value) + 3 + e.value.style.chart.layout.bars.dataLabels.offsetX,
907
+ x: U.value ? r.value.left + r.value.width / 2 + (a.sign === 1 ? -12 : 12) + (a.sign === 1 ? -e.value.style.chart.layout.bars.dataLabels.offsetX : e.value.style.chart.layout.bars.dataLabels.offsetX) : Bt(a.value) + 3 + e.value.style.chart.layout.bars.dataLabels.offsetX,
892
908
  y: r.value.top + (x.value + p.value) * o + p.value / 2 + e.value.style.chart.layout.bars.dataLabels.fontSize / 2,
893
- "text-anchor": !E.value || a.sign === -1 ? "start" : "end",
909
+ "text-anchor": !U.value || a.sign === -1 ? "start" : "end",
894
910
  "font-size": e.value.style.chart.layout.bars.dataLabels.fontSize,
895
911
  fill: e.value.style.chart.layout.bars.dataLabels.color,
896
912
  "font-weight": e.value.style.chart.layout.bars.dataLabels.bold ? "bold" : "normal"
897
- }, h(nt(a.value, a, o, a.sign)), 9, Ea),
913
+ }, h(ut(a.value, a, o, a.sign)), 9, Ga),
898
914
  (a.isChild || !a.hasChildren) && e.value.style.chart.layout.bars.nameLabels.show ? (u(), v("text", {
899
915
  key: 0,
900
916
  "text-anchor": "end",
@@ -903,90 +919,90 @@ const Sa = ["id"], La = ["onClick"], Pa = ["xmlns", "viewBox"], Na = ["x", "widt
903
919
  "font-size": e.value.style.chart.layout.bars.nameLabels.fontSize,
904
920
  fill: e.value.style.chart.layout.bars.nameLabels.color,
905
921
  "font-weight": e.value.style.chart.layout.bars.nameLabels.bold ? "bold" : "normal"
906
- }, h(a.name), 9, Ua)) : y("", !0)
922
+ }, h(a.name), 9, Wa)) : y("", !0)
907
923
  ]),
908
- n("g", Xa, [
924
+ n("g", Ha, [
909
925
  a.isChild && a.childIndex === 0 && e.value.style.chart.layout.bars.parentLabels.show ? (u(), v("text", {
910
926
  key: 0,
911
- x: e.value.autoSize ? void 0 : N.value.x + e.value.style.chart.layout.bars.parentLabels.offsetX,
927
+ x: e.value.autoSize ? void 0 : A.value.x + e.value.style.chart.layout.bars.parentLabels.offsetX,
912
928
  y: ne(a, o).y,
913
929
  "font-size": e.value.style.chart.layout.bars.parentLabels.fontSize,
914
930
  fill: e.value.style.chart.layout.bars.parentLabels.color,
915
931
  "font-weight": e.value.style.chart.layout.bars.parentLabels.bold ? "bold" : "normal",
916
932
  "text-anchor": "start"
917
- }, h(ne(a, o).name), 9, Ga)) : y("", !0),
933
+ }, h(ne(a, o).name), 9, ja)) : y("", !0),
918
934
  a.isChild && a.childIndex === 0 && e.value.style.chart.layout.bars.parentLabels.show ? (u(), v("text", {
919
935
  key: 1,
920
- x: e.value.autoSize ? void 0 : N.value.x + e.value.style.chart.layout.bars.parentLabels.offsetX,
936
+ x: e.value.autoSize ? void 0 : A.value.x + e.value.style.chart.layout.bars.parentLabels.offsetX,
921
937
  y: ne(a, o).y + e.value.style.chart.layout.bars.parentLabels.fontSize + 6,
922
938
  "font-size": e.value.style.chart.layout.bars.parentLabels.fontSize,
923
939
  fill: e.value.style.chart.layout.bars.parentLabels.color,
924
940
  "font-weight": e.value.style.chart.layout.bars.dataLabels.bold ? "bold" : "normal",
925
941
  "text-anchor": "start"
926
- }, h(nt(ne(a, o).value), ne(a, o), o, a.parentSign || a.sign), 9, Wa)) : y("", !0)
942
+ }, h(ut(ne(a, o).value), ne(a, o), o, a.parentSign || a.sign), 9, qa)) : y("", !0)
927
943
  ]),
928
944
  n("rect", {
929
- x: N.value.x,
945
+ x: A.value.x,
930
946
  y: r.value.top + (x.value + p.value) * o - x.value / 2,
931
- width: N.value.width,
947
+ width: A.value.width,
932
948
  height: p.value + x.value <= 0 ? 1e-4 : p.value + x.value,
933
- fill: Se.value === a.id ? s(Me)(e.value.style.chart.layout.highlighter.color, e.value.style.chart.layout.highlighter.opacity) : "transparent",
934
- onMouseenter: (f) => Dt(a, o),
935
- onMouseleave: (f) => Mt({ datapoint: a, seriesIndex: o }),
936
- onClick: (f) => Ft({ datapoint: a, seriesIndex: o })
937
- }, null, 40, Ha)
949
+ fill: Se.value === a.id ? s(Be)(e.value.style.chart.layout.highlighter.color, e.value.style.chart.layout.highlighter.opacity) : "transparent",
950
+ onMouseenter: (g) => Et(a, o),
951
+ onMouseleave: (g) => Rt({ datapoint: a, seriesIndex: o }),
952
+ onClick: (g) => Dt({ datapoint: a, seriesIndex: o })
953
+ }, null, 40, Ya)
938
954
  ]))), 256)),
939
- k(t.$slots, "svg", { svg: N.value }, void 0, !0)
955
+ k(t.$slots, "svg", { svg: A.value }, void 0, !0)
940
956
  ], 512)
941
- ], 14, Pa)),
942
- t.$slots.watermark ? (u(), v("div", ja, [
943
- k(t.$slots, "watermark", J(Z({ isPrinting: s(je) || s(qe) })), void 0, !0)
957
+ ], 14, za)),
958
+ t.$slots.watermark ? (u(), v("div", Ka, [
959
+ k(t.$slots, "watermark", Z(ee({ isPrinting: s(je) || s(qe) })), void 0, !0)
944
960
  ])) : y("", !0),
945
961
  e.value.style.chart.legend.show && e.value.style.chart.legend.position === "bottom" ? (u(), v("div", {
946
962
  key: 6,
947
963
  ref_key: "chartLegend",
948
964
  ref: be
949
965
  }, [
950
- (u(), G(gt, {
966
+ (u(), W(gt, {
951
967
  key: `legend_bottom_${me.value}`,
952
- legendSet: O.value,
968
+ legendSet: z.value,
953
969
  config: at.value,
954
- onClickMarker: l[1] || (l[1] = ({ legend: a }) => oe(a.id))
970
+ onClickMarker: l[1] || (l[1] = ({ legend: a }) => D(a.id))
955
971
  }, pe({
956
972
  item: b(({ legend: a, index: o }) => [
957
973
  n("div", {
958
- onClick: (f) => oe(a.id),
959
- style: d(`opacity:${A.value.includes(a.id) ? 0.5 : 1}`)
974
+ onClick: (g) => D(a.id),
975
+ style: d(`opacity:${T.value.includes(a.id) ? 0.5 : 1}`)
960
976
  }, h(a.name) + ": " + h(s(se)(
961
977
  e.value.style.chart.layout.bars.dataLabels.value.formatter,
962
978
  a.value,
963
- s(D)({
979
+ s(M)({
964
980
  p: e.value.style.chart.legend.prefix,
965
981
  v: a.value,
966
982
  s: e.value.style.chart.legend.suffix,
967
983
  r: e.value.style.chart.legend.roundingValue
968
984
  }),
969
985
  { datapoint: a, seriesIndex: o }
970
- )), 13, qa)
986
+ )), 13, Qa)
971
987
  ]),
972
988
  _: 2
973
989
  }, [
974
990
  t.$slots.pattern ? {
975
991
  name: "legend-pattern",
976
992
  fn: b(({ legend: a, index: o }) => [
977
- Q(ft, {
993
+ J(yt, {
978
994
  shape: a.shape,
979
995
  radius: 30,
980
996
  stroke: "none",
981
997
  plot: { x: 30, y: 30 },
982
- fill: `url(#pattern_${S.value}_${o})`
998
+ fill: `url(#pattern_${L.value}_${o})`
983
999
  }, null, 8, ["shape", "fill"])
984
1000
  ]),
985
1001
  key: "0"
986
1002
  } : void 0
987
1003
  ]), 1032, ["legendSet", "config"]))
988
1004
  ], 512)) : y("", !0),
989
- k(t.$slots, "legend", { legend: O.value }, void 0, !0),
1005
+ k(t.$slots, "legend", { legend: z.value }, void 0, !0),
990
1006
  t.$slots.source ? (u(), v("div", {
991
1007
  key: 7,
992
1008
  ref_key: "source",
@@ -995,8 +1011,8 @@ const Sa = ["id"], La = ["onClick"], Pa = ["xmlns", "viewBox"], Na = ["x", "widt
995
1011
  }, [
996
1012
  k(t.$slots, "source", {}, void 0, !0)
997
1013
  ], 512)) : y("", !0),
998
- Q(s(kt), {
999
- show: $.value.showTooltip && fe.value && A.value.length < m.dataset.length,
1014
+ J(s(xt), {
1015
+ show: $.value.showTooltip && ge.value && T.value.length < m.dataset.length,
1000
1016
  backgroundColor: e.value.style.chart.tooltip.backgroundColor,
1001
1017
  color: e.value.style.chart.tooltip.color,
1002
1018
  borderRadius: e.value.style.chart.tooltip.borderRadius,
@@ -1006,9 +1022,9 @@ const Sa = ["id"], La = ["onClick"], Pa = ["xmlns", "viewBox"], Na = ["x", "widt
1006
1022
  backgroundOpacity: e.value.style.chart.tooltip.backgroundOpacity,
1007
1023
  position: e.value.style.chart.tooltip.position,
1008
1024
  offsetY: e.value.style.chart.tooltip.offsetY,
1009
- parent: P.value,
1025
+ parent: N.value,
1010
1026
  content: ye.value,
1011
- isFullscreen: U.value,
1027
+ isFullscreen: X.value,
1012
1028
  isCustom: e.value.style.chart.tooltip.customFormat && typeof e.value.style.chart.tooltip.customFormat == "function",
1013
1029
  smooth: e.value.style.chart.tooltip.smooth,
1014
1030
  backdropFilter: e.value.style.chart.tooltip.backdropFilter,
@@ -1016,16 +1032,16 @@ const Sa = ["id"], La = ["onClick"], Pa = ["xmlns", "viewBox"], Na = ["x", "widt
1016
1032
  smoothSnapThreshold: e.value.style.chart.tooltip.smoothSnapThreshold
1017
1033
  }, {
1018
1034
  "tooltip-before": b(() => [
1019
- k(t.$slots, "tooltip-before", J(Z({ ...Le.value })), void 0, !0)
1035
+ k(t.$slots, "tooltip-before", Z(ee({ ...Le.value })), void 0, !0)
1020
1036
  ]),
1021
1037
  "tooltip-after": b(() => [
1022
- k(t.$slots, "tooltip-after", J(Z({ ...Le.value })), void 0, !0)
1038
+ k(t.$slots, "tooltip-after", Z(ee({ ...Le.value })), void 0, !0)
1023
1039
  ]),
1024
1040
  _: 3
1025
1041
  }, 8, ["show", "backgroundColor", "color", "borderRadius", "borderColor", "borderWidth", "fontSize", "backgroundOpacity", "position", "offsetY", "parent", "content", "isFullscreen", "isCustom", "smooth", "backdropFilter", "smoothForce", "smoothSnapThreshold"]),
1026
- ge.value && e.value.userOptions.buttons.table ? (u(), G(ea(de.value.component), dt({ key: 8 }, de.value.props, {
1042
+ fe.value && e.value.userOptions.buttons.table ? (u(), W(la(de.value.component), ht({ key: 8 }, de.value.props, {
1027
1043
  ref_key: "tableUnit",
1028
- ref: le,
1044
+ ref: oe,
1029
1045
  onClose: Ae
1030
1046
  }), pe({
1031
1047
  content: b(() => [
@@ -1035,16 +1051,16 @@ const Sa = ["id"], La = ["onClick"], Pa = ["xmlns", "viewBox"], Na = ["x", "widt
1035
1051
  class: "vue-ui-vertical-bar-table atom-data-table",
1036
1052
  style: d(`${e.value.table.useDialog ? "" : "max-height: 300px; margin-top: 24px"}`)
1037
1053
  }, [
1038
- n("div", Ya, [
1054
+ n("div", Ja, [
1039
1055
  e.value.table.useDialog ? y("", !0) : (u(), v("div", {
1040
1056
  key: 0,
1041
1057
  role: "button",
1042
1058
  tabindex: "0",
1043
1059
  style: d(`width:32px; position: absolute; top: 0; right:4px; padding: 0 0px; display: flex; align-items:center;justify-content:center;height: 36px; width: 32px; cursor:pointer; background:${e.value.table.th.backgroundColor};`),
1044
1060
  onClick: Ae,
1045
- onKeypress: ta(Ae, ["enter"])
1061
+ onKeypress: oa(Ae, ["enter"])
1046
1062
  }, [
1047
- Q(s(De), {
1063
+ J(s(Me), {
1048
1064
  name: "close",
1049
1065
  stroke: e.value.table.th.color,
1050
1066
  "stroke-width": 2
@@ -1052,26 +1068,26 @@ const Sa = ["id"], La = ["onClick"], Pa = ["xmlns", "viewBox"], Na = ["x", "widt
1052
1068
  ], 36)),
1053
1069
  n("div", {
1054
1070
  style: { width: "100%", "container-type": "inline-size" },
1055
- class: X({ "vue-ui-responsive": s(Ut) })
1071
+ class: G({ "vue-ui-responsive": s(Wt) })
1056
1072
  }, [
1057
- n("table", Ka, [
1073
+ n("table", Za, [
1058
1074
  e.value.table.useDialog ? y("", !0) : (u(), v("caption", {
1059
1075
  key: 0,
1060
1076
  style: d({ backgroundColor: e.value.table.th.backgroundColor, color: e.value.table.th.color, outline: e.value.table.th.outline }),
1061
1077
  class: "vue-ui-data-table__caption"
1062
1078
  }, [
1063
- ht(h(e.value.style.chart.title.text) + " ", 1),
1064
- e.value.style.chart.title.subtitle.text ? (u(), v("span", Qa, h(e.value.style.chart.title.subtitle.text), 1)) : y("", !0)
1079
+ pt(h(e.value.style.chart.title.text) + " ", 1),
1080
+ e.value.style.chart.title.subtitle.text ? (u(), v("span", el, h(e.value.style.chart.title.subtitle.text), 1)) : y("", !0)
1065
1081
  ], 4)),
1066
1082
  n("thead", null, [
1067
1083
  n("tr", {
1068
1084
  role: "row",
1069
1085
  style: d(`background:${e.value.table.th.backgroundColor};color:${e.value.table.th.color}`)
1070
1086
  }, [
1071
- (u(!0), v(ee, null, te(z.value.head, (a) => (u(), v("th", {
1087
+ (u(!0), v(te, null, ae(V.value.head, (a) => (u(), v("th", {
1072
1088
  style: d(`outline:${e.value.table.th.outline}`)
1073
1089
  }, [
1074
- n("div", Ja, h(a), 1)
1090
+ n("div", tl, h(a), 1)
1075
1091
  ], 4))), 256))
1076
1092
  ], 4),
1077
1093
  n("tr", null, [
@@ -1080,7 +1096,7 @@ const Sa = ["id"], La = ["onClick"], Pa = ["xmlns", "viewBox"], Na = ["x", "widt
1080
1096
  }, null, 4),
1081
1097
  n("th", {
1082
1098
  style: d(`background:${e.value.table.th.backgroundColor};color:${e.value.table.th.color};outline:${e.value.table.th.outline};text-align:right;padding-right:5px;font-weight:bold`)
1083
- }, "∑ " + h(e.value.table.td.prefix) + h(isNaN(V.value) ? "" : V.value.toFixed(e.value.table.td.roundingValue)) + h(e.value.table.td.suffix), 5),
1099
+ }, "∑ " + h(e.value.table.td.prefix) + h(isNaN(O.value) ? "" : O.value.toFixed(e.value.table.td.roundingValue)) + h(e.value.table.td.suffix), 5),
1084
1100
  n("th", {
1085
1101
  style: d(`background:${e.value.table.th.backgroundColor};color:${e.value.table.th.color};outline:${e.value.table.th.outline};text-align:right;padding-right:5px;font-weight:bold`)
1086
1102
  }, "100%", 4),
@@ -1099,65 +1115,65 @@ const Sa = ["id"], La = ["onClick"], Pa = ["xmlns", "viewBox"], Na = ["x", "widt
1099
1115
  ])
1100
1116
  ]),
1101
1117
  n("tbody", null, [
1102
- (u(!0), v(ee, null, te(z.value.body, (a, o) => (u(), v("tr", {
1103
- class: X({ "vue-ui-data-table__tbody__row": !0, "vue-ui-data-table__tbody__row-even": o % 2 === 0, "vue-ui-data-table__tbody__row-odd": o % 2 !== 0 }),
1118
+ (u(!0), v(te, null, ae(V.value.body, (a, o) => (u(), v("tr", {
1119
+ class: G({ "vue-ui-data-table__tbody__row": !0, "vue-ui-data-table__tbody__row-even": o % 2 === 0, "vue-ui-data-table__tbody__row-odd": o % 2 !== 0 }),
1104
1120
  style: d(`background:${e.value.table.td.backgroundColor};color:${e.value.table.td.color}`)
1105
1121
  }, [
1106
1122
  n("td", {
1107
1123
  class: "vue-ui-data-table__tbody__td",
1108
1124
  style: d(`outline:${e.value.table.td.outline};font-variant-numeric: tabular-nums;`),
1109
- "data-cell": z.value.head[0] ?? ""
1125
+ "data-cell": V.value.head[0] ?? ""
1110
1126
  }, [
1111
- n("div", el, [
1127
+ n("div", ll, [
1112
1128
  a.color ? (u(), v("span", {
1113
1129
  key: 0,
1114
1130
  style: d(`color:${a.color};margin-right:3px`)
1115
1131
  }, "⬤", 4)) : y("", !0),
1116
1132
  n("span", null, h(a.parentName), 1)
1117
1133
  ])
1118
- ], 12, Za),
1134
+ ], 12, al),
1119
1135
  n("td", {
1120
1136
  class: "vue-ui-data-table__tbody__td",
1121
1137
  style: d(`outline:${e.value.table.td.outline}`),
1122
- "data-cell": z.value.head[1] ?? ""
1138
+ "data-cell": V.value.head[1] ?? ""
1123
1139
  }, [
1124
- n("div", al, h(e.value.table.td.prefix) + h(["", NaN, void 0].includes(a.parentValue) ? "" : a.parentValue.toFixed(e.value.table.td.roundingValue)) + h(e.value.table.td.suffix), 1)
1125
- ], 12, tl),
1140
+ n("div", nl, h(e.value.table.td.prefix) + h(["", NaN, void 0].includes(a.parentValue) ? "" : a.parentValue.toFixed(e.value.table.td.roundingValue)) + h(e.value.table.td.suffix), 1)
1141
+ ], 12, ol),
1126
1142
  n("td", {
1127
1143
  class: "vue-ui-data-table__tbody__td",
1128
1144
  style: d(`outline:${e.value.table.td.outline}`),
1129
- "data-cell": z.value.head[2] ?? ""
1145
+ "data-cell": V.value.head[2] ?? ""
1130
1146
  }, [
1131
- n("div", ol, h(["", NaN, void 0].includes(a.percentageToTotal) ? "" : `${(a.percentageToTotal * 100).toFixed(e.value.table.td.roundingPercentage)}%`), 1)
1132
- ], 12, ll),
1147
+ n("div", sl, h(["", NaN, void 0].includes(a.percentageToTotal) ? "" : `${(a.percentageToTotal * 100).toFixed(e.value.table.td.roundingPercentage)}%`), 1)
1148
+ ], 12, ul),
1133
1149
  n("td", {
1134
1150
  class: "vue-ui-data-table__tbody__td",
1135
1151
  style: d(`outline:${e.value.table.td.outline}`),
1136
- "data-cell": z.value.head[3] ?? ""
1152
+ "data-cell": V.value.head[3] ?? ""
1137
1153
  }, [
1138
- n("div", ul, h(a.childName), 1)
1139
- ], 12, nl),
1154
+ n("div", il, h(a.childName), 1)
1155
+ ], 12, rl),
1140
1156
  n("td", {
1141
1157
  class: "vue-ui-data-table__tbody__td",
1142
1158
  style: d(`outline:${e.value.table.td.outline}`),
1143
- "data-cell": z.value.head[4] ?? ""
1159
+ "data-cell": V.value.head[4] ?? ""
1144
1160
  }, [
1145
- n("div", rl, h(e.value.table.td.prefix) + h(["", NaN, void 0].includes(a.childValue) ? "" : a.childValue.toFixed(e.value.table.td.roundingValue)) + h(e.value.table.td.suffix), 1)
1146
- ], 12, sl),
1161
+ n("div", cl, h(e.value.table.td.prefix) + h(["", NaN, void 0].includes(a.childValue) ? "" : a.childValue.toFixed(e.value.table.td.roundingValue)) + h(e.value.table.td.suffix), 1)
1162
+ ], 12, vl),
1147
1163
  n("td", {
1148
1164
  class: "vue-ui-data-table__tbody__td",
1149
1165
  style: d(`outline:${e.value.table.td.outline}`),
1150
- "data-cell": z.value.head[5] ?? ""
1166
+ "data-cell": V.value.head[5] ?? ""
1151
1167
  }, [
1152
- n("div", vl, h(["", NaN, void 0].includes(a.childPercentageToParent) ? "" : `${(a.childPercentageToParent * 100).toFixed(e.value.table.td.roundingPercentage)}%`), 1)
1153
- ], 12, il),
1168
+ n("div", hl, h(["", NaN, void 0].includes(a.childPercentageToParent) ? "" : `${(a.childPercentageToParent * 100).toFixed(e.value.table.td.roundingPercentage)}%`), 1)
1169
+ ], 12, dl),
1154
1170
  n("td", {
1155
1171
  class: "vue-ui-data-table__tbody__td",
1156
1172
  style: d(`outline:${e.value.table.td.outline}`),
1157
- "data-cell": z.value.head[6] ?? ""
1173
+ "data-cell": V.value.head[6] ?? ""
1158
1174
  }, [
1159
- n("div", dl, h(["", NaN, void 0].includes(a.childPercentageToTotal) ? "" : `${(a.childPercentageToTotal * 100).toFixed(e.value.table.td.roundingPercentage)}%`), 1)
1160
- ], 12, cl)
1175
+ n("div", fl, h(["", NaN, void 0].includes(a.childPercentageToTotal) ? "" : `${(a.childPercentageToTotal * 100).toFixed(e.value.table.td.roundingPercentage)}%`), 1)
1176
+ ], 12, pl)
1161
1177
  ], 6))), 256))
1162
1178
  ])
1163
1179
  ])
@@ -1170,7 +1186,7 @@ const Sa = ["id"], La = ["onClick"], Pa = ["xmlns", "viewBox"], Na = ["x", "widt
1170
1186
  e.value.table.useDialog ? {
1171
1187
  name: "title",
1172
1188
  fn: b(() => [
1173
- ht(h(de.value.title), 1)
1189
+ pt(h(de.value.title), 1)
1174
1190
  ]),
1175
1191
  key: "0"
1176
1192
  } : void 0,
@@ -1182,7 +1198,7 @@ const Sa = ["id"], La = ["onClick"], Pa = ["xmlns", "viewBox"], Na = ["x", "widt
1182
1198
  class: "vue-ui-user-options-button",
1183
1199
  onClick: l[2] || (l[2] = (a) => Pe(e.value.userOptions.callbacks.csv))
1184
1200
  }, [
1185
- Q(s(De), {
1201
+ J(s(Me), {
1186
1202
  name: "excel",
1187
1203
  stroke: de.value.props.color
1188
1204
  }, null, 8, ["stroke"])
@@ -1191,10 +1207,10 @@ const Sa = ["id"], La = ["onClick"], Pa = ["xmlns", "viewBox"], Na = ["x", "widt
1191
1207
  key: "1"
1192
1208
  } : void 0
1193
1209
  ]), 1040)) : y("", !0),
1194
- s(Ge) ? (u(), G(fa, { key: 9 })) : y("", !0)
1195
- ], 46, Sa));
1210
+ s(Ge) ? (u(), W(ma, { key: 9 })) : y("", !0)
1211
+ ], 46, Na));
1196
1212
  }
1197
- }, Al = /* @__PURE__ */ Ta(hl, [["__scopeId", "data-v-eee5e9d1"]]);
1213
+ }, Ol = /* @__PURE__ */ Pa(gl, [["__scopeId", "data-v-4ecc1fd7"]]);
1198
1214
  export {
1199
- Al as default
1215
+ Ol as default
1200
1216
  };