vue-data-ui 3.1.1 → 3.1.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (95) hide show
  1. package/dist/{Arrow-xQM7mBzd.js → Arrow-DBaAWGvq.js} +1 -1
  2. package/dist/{BaseDraggableDialog-B2BQC0-h.js → BaseDraggableDialog-BmN9jTP8.js} +2 -2
  3. package/dist/{BaseIcon-DLesaZpW.js → BaseIcon-BcOSijbz.js} +5 -3
  4. package/dist/{ColorPicker-BKvJvFtX.js → ColorPicker-D1yNPt76.js} +2 -2
  5. package/dist/{DataTable-BAf4Obr9.js → DataTable-Cm8Tt9PQ.js} +2 -2
  6. package/dist/Legend-5qvgVkrY.js +85 -0
  7. package/dist/{NonSvgPenAndPaper-Cq4fHmA0.js → NonSvgPenAndPaper-D3QGd7vP.js} +3 -3
  8. package/dist/{PackageVersion-Cv_ypT0N.js → PackageVersion-0XlRFsI_.js} +1 -1
  9. package/dist/{PenAndPaper-B6OvfyHH.js → PenAndPaper-CyH7Ip2i.js} +3 -3
  10. package/dist/{Shape-Cjca5zta.js → Shape-DiplSMFy.js} +1 -1
  11. package/dist/{Slicer-6w3K8gAc.js → Slicer-DG99wPTy.js} +11 -9
  12. package/dist/{SparkTooltip-BV4Z-NMp.js → SparkTooltip-VveQSwlw.js} +1 -1
  13. package/dist/Title-CqYBs02Y.js +88 -0
  14. package/dist/{Tooltip-BTGOEC7w.js → Tooltip-CP0tVHAf.js} +1 -1
  15. package/dist/{UserOptions-CsDlFB0L.js → UserOptions-ZmwlARCV.js} +125 -108
  16. package/dist/{dom-to-png-BOu5-Ohz.js → dom-to-png-DGA4a3xT.js} +1 -1
  17. package/dist/{img-gBDz7xQQ.js → img-DSrvx9J6.js} +1 -1
  18. package/dist/{index-BKQqb9lF.js → index-CaxArMHL.js} +97 -74
  19. package/dist/pdf-BG8PiGFH.js +79 -0
  20. package/dist/style.css +1 -1
  21. package/dist/types/vue-data-ui.d.cts +28 -3
  22. package/dist/types/vue-data-ui.d.ts +28 -3
  23. package/dist/{useAutoSizeLabelsInsideViewbox-IO2dh0Uq.js → useAutoSizeLabelsInsideViewbox-DmtFf4bt.js} +1 -1
  24. package/dist/{useNestedProp-aBOhgs4U.js → useNestedProp-tWT02_6S.js} +1 -1
  25. package/dist/{usePrinter-BzuXiubT.js → usePrinter-BYtPmEo8.js} +13 -12
  26. package/dist/{vue-data-ui-B6eM6hF3.js → vue-data-ui-DVb8r5z7.js} +64 -64
  27. package/dist/vue-data-ui.js +1 -1
  28. package/dist/{vue-ui-3d-bar-DBeWmnvH.js → vue-ui-3d-bar-BLKyWpz7.js} +371 -366
  29. package/dist/{vue-ui-accordion-B5QeV3BK.js → vue-ui-accordion-DUlNpLir.js} +3 -3
  30. package/dist/{vue-ui-age-pyramid-rZFdUsgz.js → vue-ui-age-pyramid-LLqbXP1m.js} +200 -195
  31. package/dist/{vue-ui-annotator-CCCuslrT.js → vue-ui-annotator-CcYIlcKF.js} +2 -2
  32. package/dist/{vue-ui-bullet-DhJf9mvK.js → vue-ui-bullet-BKmts_u4.js} +7 -7
  33. package/dist/{vue-ui-candlestick-CGVtDKqZ.js → vue-ui-candlestick-C9l_NpXu.js} +225 -220
  34. package/dist/{vue-ui-carousel-table-DLAR3WY8.js → vue-ui-carousel-table-H7xS6aBC.js} +4 -4
  35. package/dist/{vue-ui-chestnut-BXnSxoXB.js → vue-ui-chestnut-CAW0IOdY.js} +344 -340
  36. package/dist/{vue-ui-chord-DH_MwAKX.js → vue-ui-chord-CK5YhCqM.js} +272 -266
  37. package/dist/{vue-ui-circle-pack-Cx_E1R63.js → vue-ui-circle-pack-NLyZgTGF.js} +6 -6
  38. package/dist/{vue-ui-cursor-CEvH1qDS.js → vue-ui-cursor-CyGUrKWU.js} +2 -2
  39. package/dist/vue-ui-dashboard-Cf5pvEzD.js +412 -0
  40. package/dist/{vue-ui-digits-PTozKs3l.js → vue-ui-digits-BZWwwp7c.js} +2 -2
  41. package/dist/{vue-ui-donut-evolution-DD7o-CxF.js → vue-ui-donut-evolution-CaEYMVZj.js} +310 -304
  42. package/dist/{vue-ui-donut-CsEtKJJD.js → vue-ui-donut-g1WHrj6G.js} +348 -343
  43. package/dist/{vue-ui-dumbbell-DfPYl3fu.js → vue-ui-dumbbell-BArS1nXS.js} +293 -287
  44. package/dist/{vue-ui-flow-CSTTZHwg.js → vue-ui-flow-BR0CB5qt.js} +263 -257
  45. package/dist/{vue-ui-funnel-C-NUZqIo.js → vue-ui-funnel-D2OCItvq.js} +206 -200
  46. package/dist/{vue-ui-galaxy-BwsZnU6T.js → vue-ui-galaxy-qgGF1AAf.js} +243 -238
  47. package/dist/{vue-ui-gauge-D9MUneq0.js → vue-ui-gauge-BIXmGyQL.js} +7 -7
  48. package/dist/{vue-ui-gizmo-Dnzs9wSf.js → vue-ui-gizmo-DHEoS051.js} +3 -3
  49. package/dist/{vue-ui-heatmap-CYaQIhy8.js → vue-ui-heatmap-tRzq9BnI.js} +405 -401
  50. package/dist/{vue-ui-history-plot-DMTFzl-_.js → vue-ui-history-plot-DmwHhrDk.js} +305 -299
  51. package/dist/{vue-ui-kpi-CkPotdff.js → vue-ui-kpi-C2b2R5i1.js} +3 -3
  52. package/dist/{vue-ui-mini-loader-CCE-bDOJ.js → vue-ui-mini-loader-Bs1Mi1tD.js} +2 -2
  53. package/dist/{vue-ui-molecule-DaN5lroq.js → vue-ui-molecule-BsUvf2v7.js} +188 -183
  54. package/dist/{vue-ui-mood-radar-tM0mmZh8.js → vue-ui-mood-radar-D3JIpVvX.js} +197 -192
  55. package/dist/{vue-ui-nested-donuts-RB4r6beI.js → vue-ui-nested-donuts-dJEgQXTH.js} +326 -320
  56. package/dist/{vue-ui-onion-CxDozHg3.js → vue-ui-onion-D8dF1DdA.js} +8 -8
  57. package/dist/{vue-ui-parallel-coordinate-plot-CK9nNExU.js → vue-ui-parallel-coordinate-plot-LmFsg7UA.js} +401 -395
  58. package/dist/{vue-ui-quadrant-C7tLJYn7.js → vue-ui-quadrant-C4O8ki4N.js} +339 -334
  59. package/dist/{vue-ui-quick-chart-MUBAkrHb.js → vue-ui-quick-chart-6bEtTQBG.js} +6 -6
  60. package/dist/{vue-ui-radar-Br4K80I9.js → vue-ui-radar-CfjGWGk3.js} +248 -243
  61. package/dist/{vue-ui-rating-NtvT9r_M.js → vue-ui-rating-D3WSs2OD.js} +2 -2
  62. package/dist/{vue-ui-relation-circle-CPQjAy1g.js → vue-ui-relation-circle-DzTfi7Tf.js} +7 -7
  63. package/dist/{vue-ui-ridgeline-C2M_Cjlh.js → vue-ui-ridgeline-NtYOJvDy.js} +267 -263
  64. package/dist/{vue-ui-rings-DEru-cWN.js → vue-ui-rings-CYQ4i71V.js} +229 -224
  65. package/dist/{vue-ui-scatter-CJKkiKle.js → vue-ui-scatter-meJEHdAD.js} +359 -354
  66. package/dist/{vue-ui-skeleton--twnjS2t.js → vue-ui-skeleton-BtILTxx-.js} +3 -3
  67. package/dist/{vue-ui-smiley-CNccdPZ7.js → vue-ui-smiley-B5bELpYD.js} +2 -2
  68. package/dist/{vue-ui-spark-trend-9BFkkC0u.js → vue-ui-spark-trend-lixdWq_N.js} +3 -3
  69. package/dist/{vue-ui-sparkbar-RYAThoA4.js → vue-ui-sparkbar-CaGPav-J.js} +3 -3
  70. package/dist/{vue-ui-sparkgauge-DkPlmgMF.js → vue-ui-sparkgauge-BZBGYDjs.js} +3 -3
  71. package/dist/{vue-ui-sparkhistogram-6EkCyYRF.js → vue-ui-sparkhistogram-Bp6KxpjH.js} +4 -4
  72. package/dist/{vue-ui-sparkline-Bl3nj8zd.js → vue-ui-sparkline-CF-EAZa6.js} +3 -3
  73. package/dist/{vue-ui-sparkstackbar-B88lA7iy.js → vue-ui-sparkstackbar-Cj1LAYC8.js} +3 -3
  74. package/dist/{vue-ui-stackbar-Csj7NhT6.js → vue-ui-stackbar-BrzKhqAK.js} +310 -304
  75. package/dist/{vue-ui-strip-plot-yY9NsUUI.js → vue-ui-strip-plot-BfVVaSFn.js} +246 -240
  76. package/dist/{vue-ui-table-Dg6U31ex.js → vue-ui-table-CBzNgzVP.js} +3 -3
  77. package/dist/{vue-ui-table-heatmap-BWU7CAWP.js → vue-ui-table-heatmap-CKz5bA7N.js} +5 -5
  78. package/dist/{vue-ui-table-sparkline-DV4Y9aRL.js → vue-ui-table-sparkline-O-Z0YH6u.js} +4 -4
  79. package/dist/{vue-ui-thermometer-C3fKamV-.js → vue-ui-thermometer-DpNyTGNH.js} +7 -7
  80. package/dist/{vue-ui-timer-6VAK9XyF.js → vue-ui-timer-uvshaRMI.js} +5 -5
  81. package/dist/{vue-ui-tiremarks-BB-KAkF7.js → vue-ui-tiremarks-A8Akuz-q.js} +6 -6
  82. package/dist/{vue-ui-treemap-GrXkD_3Z.js → vue-ui-treemap-Dvmuo3tM.js} +262 -256
  83. package/dist/{vue-ui-vertical-bar-Mmz6u4aX.js → vue-ui-vertical-bar-eMgRMSKN.js} +310 -306
  84. package/dist/{vue-ui-waffle-DzPVRUOA.js → vue-ui-waffle-Cm8VfnG8.js} +257 -252
  85. package/dist/{vue-ui-wheel-idRCvS5t.js → vue-ui-wheel-Bhsklf_m.js} +6 -6
  86. package/dist/vue-ui-word-cloud-C9HGLsG4.js +817 -0
  87. package/dist/{vue-ui-world-D6s5Eph8.js → vue-ui-world-B_MrjwGJ.js} +257 -252
  88. package/dist/{vue-ui-xy-BKTGSvfU.js → vue-ui-xy-DnYJw2aS.js} +1448 -1438
  89. package/dist/{vue-ui-xy-canvas-BOQyxVRl.js → vue-ui-xy-canvas-C0Snw0Dz.js} +235 -229
  90. package/package.json +1 -1
  91. package/dist/Legend-8_V5egWW.js +0 -72
  92. package/dist/Title-Dz-j6ERs.js +0 -61
  93. package/dist/pdf-Cjsn5GEE.js +0 -61
  94. package/dist/vue-ui-dashboard-CvduVgEy.js +0 -325
  95. package/dist/vue-ui-word-cloud-B2641uNP.js +0 -811
@@ -1,20 +1,20 @@
1
- import { defineAsyncComponent as H, computed as g, ref as h, toRefs as zt, watch as le, shallowRef as Ke, onMounted as Qe, onBeforeUnmount as et, watchEffect as Tt, createElementBlock as v, openBlock as n, unref as i, normalizeStyle as ae, normalizeClass as tt, createBlock as I, createCommentVNode as b, createElementVNode as c, createSlots as lt, withCtx as p, renderSlot as x, normalizeProps as se, guardReactiveProps as oe, createVNode as at, withDirectives as j, Fragment as C, renderList as A, toDisplayString as _, vShow as Y, Teleport as Dt, createTextVNode as _e, resolveDynamicComponent as It, mergeProps as Ot, nextTick as Ft } from "vue";
2
- import { u as Ht, c as st, t as Pt, b as Gt, o as Et, f as ot, g as Bt, h as nt, D as Rt, i as w, k as P, X as rt, s as ut, l as Z, j as J, v as Vt, w as Ut } from "./index-BKQqb9lF.js";
3
- import { t as ke, u as Wt } from "./useResponsive-DfdjqQps.js";
4
- import { u as qt } from "./usePrinter-BzuXiubT.js";
5
- import { u as jt, B as Yt } from "./BaseScanner-BgWxam9d.js";
6
- import { u as it } from "./useNestedProp-aBOhgs4U.js";
7
- import { u as Zt } from "./useUserOptionState-BIvW1Kz7.js";
8
- import { u as Jt } from "./useChartAccessibility-9icAAmYg.js";
9
- import { u as Kt } from "./useTimeLabelCollider-CIsgDrl9.js";
10
- import Qt from "./img-gBDz7xQQ.js";
11
- import el from "./Title-Dz-j6ERs.js";
12
- import tl from "./Legend-8_V5egWW.js";
13
- import { _ as ll } from "./_plugin-vue_export-helper-CHgC5LLL.js";
14
- const al = ["id"], sl = ["id"], ol = ["xmlns", "viewBox"], nl = ["x", "y", "width", "height"], rl = { key: 1 }, ul = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], il = { key: 2 }, cl = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], vl = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], dl = ["transform", "font-size", "fill"], hl = ["x", "y", "font-size", "fill", "font-weight", "onMouseenter", "onMouseleave", "onClick"], fl = ["x", "y", "font-size", "fill", "onMouseenter", "onMouseleave", "onClick"], yl = ["x", "y", "font-size", "fill"], bl = ["transform", "font-size", "fill", "font-weight", "text-anchor"], gl = ["d", "stroke", "stroke-width", "stroke-dasharray"], ml = ["d", "stroke", "stroke-width", "stroke-dasharray"], pl = ["x", "y", "height", "width", "fill"], xl = ["transform", "fill", "font-size"], _l = ["id"], kl = ["stop-color"], Cl = ["stop-color"], wl = ["stop-color"], $l = ["id"], Ll = ["stop-color"], Al = ["stop-color"], Nl = ["stop-color"], Sl = ["id"], Ml = ["stop-color"], Xl = ["stop-color"], zl = ["stop-color"], Tl = ["id"], Dl = ["stop-color"], Il = ["stop-color"], Ol = ["stop-color"], Fl = ["id"], Hl = ["stop-color"], Pl = ["stop-color"], Gl = ["stop-color"], El = ["id"], Bl = ["stop-color"], Rl = ["stop-color"], Vl = ["id"], Ul = ["stop-color"], Wl = ["stop-color"], ql = { key: 0 }, jl = { key: 0 }, Yl = ["d", "fill"], Zl = { key: 1 }, Jl = ["x", "y", "height", "width", "fill"], Kl = ["cx", "cy", "r", "fill", "stroke", "stroke-width"], Ql = ["cx", "cy", "r", "fill", "stroke", "stroke-width"], ea = { key: 7 }, ta = ["x", "y", "fill", "font-size"], la = { key: 8 }, aa = ["x", "y", "fill", "font-size"], sa = ["x", "y", "width", "height", "fill", "onMouseenter", "onMouseleave", "onClick"], oa = {
1
+ import { defineAsyncComponent as H, computed as g, ref as h, toRefs as Dt, watch as le, shallowRef as et, onMounted as tt, onBeforeUnmount as lt, watchEffect as It, createElementBlock as v, openBlock as n, unref as i, normalizeStyle as ae, normalizeClass as at, createBlock as D, createCommentVNode as b, createElementVNode as c, createSlots as st, withCtx as p, renderSlot as x, normalizeProps as se, guardReactiveProps as oe, createVNode as ot, withDirectives as j, Fragment as C, renderList as A, toDisplayString as _, vShow as Y, Teleport as Ot, createTextVNode as ke, resolveDynamicComponent as Ft, mergeProps as Ht, nextTick as Pt } from "vue";
2
+ import { u as Gt, c as nt, t as Et, b as Rt, o as Bt, f as rt, g as Vt, h as ut, D as Ut, i as w, k as P, X as it, s as ct, l as Z, j as J, v as Wt, w as qt } from "./index-CaxArMHL.js";
3
+ import { t as Ce, u as jt } from "./useResponsive-DfdjqQps.js";
4
+ import { u as Yt } from "./usePrinter-BYtPmEo8.js";
5
+ import { u as Zt, B as Jt } from "./BaseScanner-BgWxam9d.js";
6
+ import { u as vt } from "./useNestedProp-tWT02_6S.js";
7
+ import { u as Kt } from "./useUserOptionState-BIvW1Kz7.js";
8
+ import { u as Qt } from "./useChartAccessibility-9icAAmYg.js";
9
+ import { u as el } from "./useTimeLabelCollider-CIsgDrl9.js";
10
+ import tl from "./img-DSrvx9J6.js";
11
+ import ll from "./Title-CqYBs02Y.js";
12
+ import al from "./Legend-5qvgVkrY.js";
13
+ import { _ as sl } from "./_plugin-vue_export-helper-CHgC5LLL.js";
14
+ const ol = ["id"], nl = ["id"], rl = ["xmlns", "viewBox"], ul = ["x", "y", "width", "height"], il = { key: 1 }, cl = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], vl = { key: 2 }, dl = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], hl = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], fl = ["transform", "font-size", "fill"], yl = ["x", "y", "font-size", "fill", "font-weight", "onMouseenter", "onMouseleave", "onClick"], bl = ["x", "y", "font-size", "fill", "onMouseenter", "onMouseleave", "onClick"], gl = ["x", "y", "font-size", "fill"], ml = ["transform", "font-size", "fill", "font-weight", "text-anchor"], pl = ["d", "stroke", "stroke-width", "stroke-dasharray"], xl = ["d", "stroke", "stroke-width", "stroke-dasharray"], _l = ["x", "y", "height", "width", "fill"], kl = ["transform", "fill", "font-size"], Cl = ["id"], wl = ["stop-color"], $l = ["stop-color"], Ll = ["stop-color"], Al = ["id"], Nl = ["stop-color"], Sl = ["stop-color"], Ml = ["stop-color"], Xl = ["id"], zl = ["stop-color"], Tl = ["stop-color"], Dl = ["stop-color"], Il = ["id"], Ol = ["stop-color"], Fl = ["stop-color"], Hl = ["stop-color"], Pl = ["id"], Gl = ["stop-color"], El = ["stop-color"], Rl = ["stop-color"], Bl = ["id"], Vl = ["stop-color"], Ul = ["stop-color"], Wl = ["id"], ql = ["stop-color"], jl = ["stop-color"], Yl = { key: 0 }, Zl = { key: 0 }, Jl = ["d", "fill"], Kl = { key: 1 }, Ql = ["x", "y", "height", "width", "fill"], ea = ["cx", "cy", "r", "fill", "stroke", "stroke-width"], ta = ["cx", "cy", "r", "fill", "stroke", "stroke-width"], la = { key: 7 }, aa = ["x", "y", "fill", "font-size"], sa = { key: 8 }, oa = ["x", "y", "fill", "font-size"], na = ["x", "y", "width", "height", "fill", "onMouseenter", "onMouseleave", "onClick"], ra = {
15
15
  key: 4,
16
16
  class: "vue-data-ui-watermark"
17
- }, na = ["id"], ra = ["xmlns", "height", "width"], ua = ["fill"], ia = ["innerHTML"], ca = {
17
+ }, ua = ["id"], ia = ["xmlns", "height", "width"], ca = ["fill"], va = ["innerHTML"], da = {
18
18
  __name: "vue-ui-dumbbell",
19
19
  props: {
20
20
  config: {
@@ -31,18 +31,18 @@ const al = ["id"], sl = ["id"], ol = ["xmlns", "viewBox"], nl = ["x", "y", "widt
31
31
  }
32
32
  },
33
33
  emits: ["selectDatapoint"],
34
- setup(ct, { expose: vt, emit: va }) {
35
- const dt = H(() => import("./BaseIcon-DLesaZpW.js")), ht = H(() => import("./vue-ui-accordion-B5QeV3BK.js")), ft = H(() => import("./DataTable-BAf4Obr9.js")), yt = H(() => import("./PenAndPaper-B6OvfyHH.js")), bt = H(() => import("./UserOptions-CsDlFB0L.js")), gt = H(() => import("./PackageVersion-Cv_ypT0N.js")), mt = H(() => import("./BaseDraggableDialog-B2BQC0-h.js")), { vue_ui_dumbbell: pt } = Ht(), N = ct, K = g({
34
+ setup(dt, { expose: ht, emit: ha }) {
35
+ const ft = H(() => import("./BaseIcon-BcOSijbz.js")), yt = H(() => import("./vue-ui-accordion-DUlNpLir.js")), bt = H(() => import("./DataTable-Cm8Tt9PQ.js")), gt = H(() => import("./PenAndPaper-CyH7Ip2i.js")), mt = H(() => import("./UserOptions-ZmwlARCV.js")), pt = H(() => import("./PackageVersion-0XlRFsI_.js")), xt = H(() => import("./BaseDraggableDialog-BmN9jTP8.js")), { vue_ui_dumbbell: _t } = Gt(), N = dt, K = g({
36
36
  get() {
37
37
  return !!N.dataset && N.dataset.length;
38
38
  },
39
39
  set(l) {
40
40
  return l;
41
41
  }
42
- }), f = h(st()), Ce = h(0), S = h(null), we = h(null), $e = h(null), Le = h(null), Ae = h(null), Ne = h(0), Se = h(0), Me = h(0), Xe = h(!1), U = h(null), ne = h(null), re = h(null), Q = h(null), ue = h(null), O = h(null), r = h(null), F = h(!1), e = h(de()), { loading: ie, FINAL_DATASET: ce, manualLoading: xt } = jt({
43
- ...zt(N),
42
+ }), f = h(nt()), we = h(0), S = h(null), $e = h(null), Le = h(null), Ae = h(null), Ne = h(null), Se = h(0), Me = h(0), Xe = h(0), ze = h(!1), U = h(null), ne = h(null), re = h(null), ue = h(null), Q = h(null), ie = h(null), I = h(null), r = h(null), O = h(!1), e = h(he()), { loading: ce, FINAL_DATASET: ve, manualLoading: kt } = Zt({
43
+ ...Dt(N),
44
44
  FINAL_CONFIG: e,
45
- prepareConfig: de,
45
+ prepareConfig: he,
46
46
  skeletonDataset: [
47
47
  { name: "_", start: 21, end: 34 },
48
48
  { name: "_", start: 13, end: 21 },
@@ -50,7 +50,7 @@ const al = ["id"], sl = ["id"], ol = ["xmlns", "viewBox"], nl = ["x", "y", "widt
50
50
  { name: "_", start: 5, end: 8 },
51
51
  { name: "_", start: 3, end: 5 }
52
52
  ],
53
- skeletonConfig: Pt({
53
+ skeletonConfig: Et({
54
54
  defaultConfig: e.value,
55
55
  userConfig: {
56
56
  userOptions: { show: !1 },
@@ -92,118 +92,118 @@ const al = ["id"], sl = ["id"], ol = ["xmlns", "viewBox"], nl = ["x", "y", "widt
92
92
  }
93
93
  }
94
94
  })
95
- }), { userOptionsVisible: ve, setUserOptionsVisibility: ze, keepUserOptionState: Te } = Zt({ config: e.value }), { svgRef: De } = Jt({ config: e.value.style.chart.title });
96
- function de() {
97
- const l = it({
95
+ }), { userOptionsVisible: de, setUserOptionsVisibility: Te, keepUserOptionState: De } = Kt({ config: e.value }), { svgRef: Ie } = Qt({ config: e.value.style.chart.title });
96
+ function he() {
97
+ const l = vt({
98
98
  userConfig: N.config,
99
- defaultConfig: pt
99
+ defaultConfig: _t
100
100
  });
101
101
  return l.theme ? {
102
- ...it({
103
- userConfig: Gt.vue_ui_dumbbell[l.theme] || N.config,
102
+ ...vt({
103
+ userConfig: Rt.vue_ui_dumbbell[l.theme] || N.config,
104
104
  defaultConfig: l
105
105
  })
106
106
  } : l;
107
107
  }
108
108
  le(() => N.config, (l) => {
109
- ie.value || (e.value = de()), ve.value = !e.value.userOptions.showOnChartHover, Oe(), Ne.value += 1, Se.value += 1, Me.value += 1, B.value = e.value.style.chart.rowHeight, R.value = e.value.style.chart.width, X.value.showTable = e.value.table.show;
110
- }, { deep: !0 }), le(() => ce.value, (l) => {
111
- Array.isArray(l) && l.length > 0 && (xt.value = !1), Ve(), Ue();
109
+ ce.value || (e.value = he()), de.value = !e.value.userOptions.showOnChartHover, Fe(), Se.value += 1, Me.value += 1, Xe.value += 1, R.value = e.value.style.chart.rowHeight, B.value = e.value.style.chart.width, F.value.showTable = e.value.table.show;
110
+ }, { deep: !0 }), le(() => ve.value, (l) => {
111
+ Array.isArray(l) && l.length > 0 && (kt.value = !1), Ue(), We();
112
112
  }, { deep: !0 });
113
- const M = Ke(null), G = Ke(null);
114
- Qe(() => {
115
- Xe.value = !0, Oe();
113
+ const M = et(null), G = et(null);
114
+ tt(() => {
115
+ ze.value = !0, Fe();
116
116
  });
117
- const Ie = g(() => !!e.value.debug);
118
- function Oe() {
119
- if (Et(N.dataset) ? ot({
117
+ const Oe = g(() => !!e.value.debug);
118
+ function Fe() {
119
+ if (Bt(N.dataset) ? rt({
120
120
  componentName: "VueUiDumbbell",
121
121
  type: "dataset",
122
- debug: Ie.value
122
+ debug: Oe.value
123
123
  }) : N.dataset.forEach((l, s) => {
124
- Bt({
124
+ Vt({
125
125
  datasetObject: l,
126
126
  requiredAttributes: ["name", "start", "end"]
127
127
  }).forEach((t) => {
128
- K.value = !1, ot({
128
+ K.value = !1, rt({
129
129
  componentName: "VueUiDumbbell",
130
130
  type: "datasetSerieAttribute",
131
131
  property: t,
132
132
  index: s,
133
- debug: Ie.value
133
+ debug: Oe.value
134
134
  });
135
135
  });
136
136
  }), e.value.responsive) {
137
- const l = ke(() => {
138
- const { width: s, height: t } = Wt({
137
+ const l = Ce(() => {
138
+ const { width: s, height: t } = jt({
139
139
  chart: S.value,
140
- title: e.value.style.chart.title.text ? we.value : null,
141
- legend: e.value.style.chart.legend.show ? $e.value : null,
142
- source: Le.value,
143
- noTitle: Ae.value
140
+ title: e.value.style.chart.title.text ? $e.value : null,
141
+ legend: e.value.style.chart.legend.show ? Le.value : null,
142
+ source: Ae.value,
143
+ noTitle: Ne.value
144
144
  }), a = e.value.style.chart.title.text ? 24 : 0, u = e.value.style.chart.legend.show ? 24 : 0;
145
145
  requestAnimationFrame(async () => {
146
- R.value = Math.max(0.1, s), B.value = Math.max(0.1, (Math.max(0.1, t) - (a + u)) / ce.value.length), Ze();
146
+ B.value = Math.max(0.1, s), R.value = Math.max(0.1, (Math.max(0.1, t) - (a + u)) / ve.value.length), Je();
147
147
  });
148
148
  });
149
149
  M.value && (G.value && M.value.unobserve(G.value), M.value.disconnect()), M.value = new ResizeObserver(l), G.value = S.value.parentNode, M.value.observe(G.value);
150
150
  }
151
- Ze();
151
+ Je();
152
152
  }
153
- et(() => {
153
+ lt(() => {
154
154
  L.value != null && (cancelAnimationFrame(L.value), L.value = null), M.value && (G.value && M.value.unobserve(G.value), M.value.disconnect());
155
155
  });
156
- const { isPrinting: Fe, isImaging: He, generatePdf: Pe, generateImage: Ge } = qt({
156
+ const { isPrinting: He, isImaging: Pe, generatePdf: Ge, generateImage: Ee } = Yt({
157
157
  elementId: `dumbbell_${f.value}`,
158
158
  fileName: e.value.style.chart.title.text || "vue-ui-dumbbell",
159
159
  options: e.value.userOptions.print
160
- }), _t = g(() => e.value.userOptions.show && !e.value.style.chart.title.text), X = h({
160
+ }), Ct = g(() => e.value.userOptions.show && !e.value.style.chart.title.text), F = h({
161
161
  showTable: e.value.table.show
162
162
  });
163
163
  le(e, () => {
164
- X.value = {
164
+ F.value = {
165
165
  showTable: e.value.table.show
166
166
  };
167
167
  }, { immediate: !0 });
168
- const E = g(() => ce.value.map((l, s) => ({
168
+ const E = g(() => ve.value.map((l, s) => ({
169
169
  ...l,
170
- start: nt(l.start),
171
- end: nt(l.end),
172
- id: l.id ?? `${String(l.name)}__${String(l.start)}__${String(l.end)}__${st()}`
173
- }))), Ee = g(() => {
170
+ start: ut(l.start),
171
+ end: ut(l.end),
172
+ id: l.id ?? `${String(l.name)}__${String(l.start)}__${String(l.end)}__${nt()}`
173
+ }))), Re = g(() => {
174
174
  const l = e.value.style.chart.grid, s = E.value.flatMap((y) => [y.start, y.end]).map((y) => Number(y)).filter((y) => Number.isFinite(y)), t = s.length ? Math.min(...s) : 0, a = s.length ? Math.max(...s) : 0, u = l.scaleMin ?? Math.min(t, 0), d = l.scaleMax ?? a;
175
175
  return { min: u, max: d };
176
- }), $ = g(() => Rt(Ee.value.min, Ee.value.max, e.value.style.chart.grid.scaleSteps)), B = h(e.value.style.chart.rowHeight), R = h(e.value.style.chart.width);
177
- function kt() {
176
+ }), $ = g(() => Ut(Re.value.min, Re.value.max, e.value.style.chart.grid.scaleSteps)), R = h(e.value.style.chart.rowHeight), B = h(e.value.style.chart.width);
177
+ function wt() {
178
178
  let l = 0;
179
- re.value && (l = Array.from(re.value.querySelectorAll("text")).reduce((a, u) => {
179
+ ue.value && (l = Array.from(ue.value.querySelectorAll("text")).reduce((a, u) => {
180
180
  const d = u.getComputedTextLength();
181
181
  return d > a ? d : a;
182
182
  }, 0));
183
- const s = ne.value ? ne.value.getBoundingClientRect().width : 0;
183
+ const s = re.value ? re.value.getBoundingClientRect().width : 0;
184
184
  return l + s + (s ? 24 + e.value.style.chart.labels.axis.yLabelOffsetX : 0);
185
185
  }
186
- const he = h(0), Ct = ke((l) => {
187
- he.value = l;
186
+ const fe = h(0), $t = Ce((l) => {
187
+ fe.value = l;
188
188
  }, 100);
189
- Tt((l) => {
189
+ It((l) => {
190
190
  const s = Q.value;
191
191
  if (!s) return;
192
192
  const t = new ResizeObserver((a) => {
193
- Ct(a[0].contentRect.height);
193
+ $t(a[0].contentRect.height);
194
194
  });
195
195
  t.observe(s), l(() => t.disconnect());
196
- }), et(() => {
197
- he.value = 0;
196
+ }), lt(() => {
197
+ fe.value = 0;
198
198
  });
199
199
  const Be = g(() => {
200
- F.value;
200
+ O.value;
201
201
  let l = 0;
202
- ue.value && (l = ue.value.getBBox().height);
202
+ ie.value && (l = ie.value.getBBox().height);
203
203
  let s = 0;
204
- return Q.value && (s = he.value), l + s;
205
- }), fe = g(() => E.value.length);
206
- function Re(l, s, t) {
204
+ return Q.value && (s = fe.value), l + s;
205
+ }), ye = g(() => E.value.length);
206
+ function Ve(l, s, t) {
207
207
  const a = Number(l), u = Number(s.min), d = Number(s.max), y = Number(t.width);
208
208
  if (!Number.isFinite(a) || !Number.isFinite(u) || !Number.isFinite(d) || !Number.isFinite(y))
209
209
  return t.left;
@@ -211,11 +211,11 @@ const al = ["id"], sl = ["id"], ol = ["xmlns", "viewBox"], nl = ["x", "y", "widt
211
211
  return m <= 0 ? t.left : t.left + (a - u) / m * y;
212
212
  }
213
213
  const o = g(() => {
214
- F.value;
215
- const l = kt(), s = e.value.style.chart.padding, t = e.value.style.chart.labels.axis.xLabel ? e.value.style.chart.labels.axis.xLabelOffsetY : 0, a = B.value * fe.value - Be.value - s.top - s.bottom - t, u = a / fe.value, d = B.value * fe.value, y = R.value - l - s.left - s.right, m = $.value.ticks.length * (y / $.value.ticks.length);
214
+ O.value;
215
+ const l = wt(), s = e.value.style.chart.padding, t = e.value.style.chart.labels.axis.xLabel ? e.value.style.chart.labels.axis.xLabelOffsetY : 0, a = R.value * ye.value - Be.value - s.top - s.bottom - t, u = a / ye.value, d = R.value * ye.value, y = B.value - l - s.left - s.right, m = $.value.ticks.length * (y / $.value.ticks.length);
216
216
  return {
217
217
  left: e.value.style.chart.padding.left + l,
218
- right: R.value - e.value.style.chart.padding.right,
218
+ right: B.value - e.value.style.chart.padding.right,
219
219
  top: e.value.style.chart.padding.top,
220
220
  bottom: d - e.value.style.chart.padding.bottom - Be.value - t,
221
221
  width: y,
@@ -224,18 +224,18 @@ const al = ["id"], sl = ["id"], ol = ["xmlns", "viewBox"], nl = ["x", "y", "widt
224
224
  absoluteHeight: d,
225
225
  widthPlotReference: m
226
226
  };
227
- }), z = g(() => Math.min(B.value / 2 * 0.7, e.value.style.chart.plots.radius)), W = h([]), k = g({
227
+ }), X = g(() => Math.min(R.value / 2 * 0.7, e.value.style.chart.plots.radius)), W = h([]), k = g({
228
228
  get() {
229
229
  const l = o.value, s = $.value;
230
230
  return W.value.map((t, a) => {
231
- const u = Re(t.start, s, l), d = Re(t.endVal, s, l), y = u + (d - u) / 2, m = ![null, void 0].includes(t.start) && ![null, void 0].includes(t.end) && t.end > t.start, D = ![null, void 0].includes(t.start) && ![null, void 0].includes(t.end) && t.end < t.start, Je = ![null, void 0].includes(t.start) && ![null, void 0].includes(t.end) && t.end === t.start || [null, void 0].includes(t.start) || [null, void 0].includes(t.end), Xt = m ? e.value.style.chart.plots.evaluationColors.positive : D ? e.value.style.chart.plots.evaluationColors.negative : e.value.style.chart.plots.evaluationColors.neutral;
231
+ const u = Ve(t.start, s, l), d = Ve(t.endVal, s, l), y = u + (d - u) / 2, m = ![null, void 0].includes(t.start) && ![null, void 0].includes(t.end) && t.end > t.start, T = ![null, void 0].includes(t.start) && ![null, void 0].includes(t.end) && t.end < t.start, Qe = ![null, void 0].includes(t.start) && ![null, void 0].includes(t.end) && t.end === t.start || [null, void 0].includes(t.start) || [null, void 0].includes(t.end), Tt = m ? e.value.style.chart.plots.evaluationColors.positive : T ? e.value.style.chart.plots.evaluationColors.negative : e.value.style.chart.plots.evaluationColors.neutral;
232
232
  return {
233
233
  ...t,
234
234
  isPositive: m,
235
- isNegative: D,
236
- isNeutral: Je,
237
- evaluationColor: Xt,
238
- evaluationGrad: `url(#${m ? "positive" : D ? "negative" : "neutral"}_grad_${f.value})`,
235
+ isNegative: T,
236
+ isNeutral: Qe,
237
+ evaluationColor: Tt,
238
+ evaluationGrad: `url(#${m ? "positive" : T ? "negative" : "neutral"}_grad_${f.value})`,
239
239
  startX: u,
240
240
  endX: d,
241
241
  centerX: y,
@@ -247,7 +247,7 @@ const al = ["id"], sl = ["id"], ol = ["xmlns", "viewBox"], nl = ["x", "y", "widt
247
247
  W.value = l;
248
248
  }
249
249
  });
250
- function Ve() {
250
+ function Ue() {
251
251
  W.value = E.value.map((l) => {
252
252
  const s = Number(l.start);
253
253
  return {
@@ -257,11 +257,11 @@ const al = ["id"], sl = ["id"], ol = ["xmlns", "viewBox"], nl = ["x", "y", "widt
257
257
  });
258
258
  }
259
259
  const L = h(null);
260
- Qe(() => {
261
- Ue();
260
+ tt(() => {
261
+ We();
262
262
  });
263
- function Ue() {
264
- if (L.value != null && (cancelAnimationFrame(L.value), L.value = null), Ve(), !e.value.useAnimation) {
263
+ function We() {
264
+ if (L.value != null && (cancelAnimationFrame(L.value), L.value = null), Ue(), !e.value.useAnimation) {
265
265
  k.value = W.value.map((a) => {
266
266
  const u = Number(a.end);
267
267
  return { ...a, endVal: Number.isFinite(u) ? u : a.endVal };
@@ -274,20 +274,20 @@ const al = ["id"], sl = ["id"], ol = ["xmlns", "viewBox"], nl = ["x", "y", "widt
274
274
  }), t = () => {
275
275
  let a = !0;
276
276
  k.value = W.value.map((u, d) => {
277
- const y = Number.isFinite(Number(u.end)) ? Number(u.end) : u.endVal, m = u.endVal + s[d] * l, D = s[d] >= 0 ? Math.min(m, y) : Math.max(m, y);
278
- return D !== y && (a = !1), { ...u, endVal: D };
277
+ const y = Number.isFinite(Number(u.end)) ? Number(u.end) : u.endVal, m = u.endVal + s[d] * l, T = s[d] >= 0 ? Math.min(m, y) : Math.max(m, y);
278
+ return T !== y && (a = !1), { ...u, endVal: T };
279
279
  }), a ? L.value = null : L.value = requestAnimationFrame(t);
280
280
  };
281
281
  L.value = requestAnimationFrame(t);
282
282
  }
283
- const We = g(() => e.value.style.chart.plots.evaluationColors.enable ? [
283
+ const qe = g(() => e.value.style.chart.plots.evaluationColors.enable ? [
284
284
  { name: e.value.style.chart.legend.labelNegative, color: e.value.style.chart.plots.gradient.show ? `url(#negative_grad_${f.value})` : e.value.style.chart.plots.evaluationColors.negative },
285
285
  { name: e.value.style.chart.legend.labelNeutral, color: e.value.style.chart.plots.gradient.show ? `url(#neutral_grad_${f.value})` : e.value.style.chart.plots.evaluationColors.neutral },
286
286
  { name: e.value.style.chart.legend.labelPositive, color: e.value.style.chart.plots.gradient.show ? `url(#positive_grad_${f.value})` : e.value.style.chart.plots.evaluationColors.positive }
287
287
  ] : [
288
288
  { name: e.value.style.chart.legend.labelStart, color: e.value.style.chart.plots.gradient.show ? `url(#start_grad_${f.value})` : e.value.style.chart.plots.startColor },
289
289
  { name: e.value.style.chart.legend.labelEnd, color: e.value.style.chart.plots.gradient.show ? `url(#end_grad_${f.value})` : e.value.style.chart.plots.endColor }
290
- ]), wt = g(() => ({
290
+ ]), Lt = g(() => ({
291
291
  cy: "donut-div-legend",
292
292
  backgroundColor: e.value.style.chart.legend.backgroundColor,
293
293
  color: e.value.style.chart.legend.color,
@@ -295,7 +295,7 @@ const al = ["id"], sl = ["id"], ol = ["xmlns", "viewBox"], nl = ["x", "y", "widt
295
295
  paddingBottom: 12,
296
296
  paddingTop: 12,
297
297
  fontWeight: e.value.style.chart.legend.bold ? "bold" : ""
298
- })), T = g(() => {
298
+ })), z = g(() => {
299
299
  const l = k.value.map((t) => ({
300
300
  name: t.name
301
301
  })), s = k.value.map((t) => ({
@@ -309,19 +309,19 @@ const al = ["id"], sl = ["id"], ol = ["xmlns", "viewBox"], nl = ["x", "y", "widt
309
309
  e.value.table.columnNames.start,
310
310
  e.value.table.columnNames.end,
311
311
  e.value.table.columnNames.progression
312
- ], s = T.value.head.map((u, d) => {
312
+ ], s = z.value.head.map((u, d) => {
313
313
  const y = w({
314
314
  p: e.value.style.chart.labels.prefix,
315
- v: T.value.body[d].start,
315
+ v: z.value.body[d].start,
316
316
  s: e.value.style.chart.labels.suffix,
317
317
  r: e.value.table.td.roundingValue
318
318
  }), m = w({
319
319
  p: e.value.style.chart.labels.prefix,
320
- v: T.value.body[d].end,
320
+ v: z.value.body[d].end,
321
321
  s: e.value.style.chart.labels.suffix,
322
322
  r: e.value.table.td.roundingValue
323
- }), D = w({
324
- v: 100 * (T.value.body[d].end / T.value.body[d].start - 1),
323
+ }), T = w({
324
+ v: 100 * (z.value.body[d].end / z.value.body[d].start - 1),
325
325
  s: "%",
326
326
  r: e.value.table.td.roundingPercentage
327
327
  });
@@ -329,7 +329,7 @@ const al = ["id"], sl = ["id"], ol = ["xmlns", "viewBox"], nl = ["x", "y", "widt
329
329
  { name: u.name },
330
330
  y,
331
331
  m,
332
- D
332
+ T
333
333
  ];
334
334
  }), t = {
335
335
  th: {
@@ -356,31 +356,31 @@ const al = ["id"], sl = ["id"], ol = ["xmlns", "viewBox"], nl = ["x", "y", "widt
356
356
  config: t
357
357
  };
358
358
  });
359
- function ye(l = null) {
360
- Ft(() => {
361
- const s = T.value.head.map((u, d) => [[
359
+ function be(l = null) {
360
+ Pt(() => {
361
+ const s = z.value.head.map((u, d) => [[
362
362
  u.name
363
- ], [T.value.body[d].start], [T.value.body[d].end]]), t = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [[e.value.table.columnNames.series], [e.value.table.columnNames.start], [e.value.table.columnNames.end]]].concat(s), a = Vt(t);
364
- l ? l(a) : Ut({ csvContent: a, title: e.value.style.chart.title.text || "vue-ui-dumbbell" });
363
+ ], [z.value.body[d].start], [z.value.body[d].end]]), t = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [[e.value.table.columnNames.series], [e.value.table.columnNames.start], [e.value.table.columnNames.end]]].concat(s), a = Wt(t);
364
+ l ? l(a) : qt({ csvContent: a, title: e.value.style.chart.title.text || "vue-ui-dumbbell" });
365
365
  });
366
366
  }
367
367
  const V = h(!1);
368
- function qe(l) {
369
- V.value = l, Ce.value += 1;
368
+ function je(l) {
369
+ V.value = l, we.value += 1;
370
370
  }
371
- function $t() {
371
+ function At() {
372
372
  return E.value;
373
373
  }
374
- function je() {
375
- X.value.showTable = !X.value.showTable;
374
+ function Ye() {
375
+ F.value.showTable = !F.value.showTable;
376
376
  }
377
377
  const te = h(!1);
378
- function be() {
378
+ function ge() {
379
379
  te.value = !te.value;
380
380
  }
381
- async function Lt({ scale: l = 2 } = {}) {
381
+ async function Nt({ scale: l = 2 } = {}) {
382
382
  if (!S.value) return;
383
- const { width: s, height: t } = S.value.getBoundingClientRect(), a = s / t, { imageUri: u, base64: d } = await Qt({ domElement: S.value, base64: !0, img: !0, scale: l });
383
+ const { width: s, height: t } = S.value.getBoundingClientRect(), a = s / t, { imageUri: u, base64: d } = await tl({ domElement: S.value, base64: !0, img: !0, scale: l });
384
384
  return {
385
385
  imageUri: u,
386
386
  base64: d,
@@ -390,21 +390,21 @@ const al = ["id"], sl = ["id"], ol = ["xmlns", "viewBox"], nl = ["x", "y", "widt
390
390
  aspectRatio: a
391
391
  };
392
392
  }
393
- const Ye = g(() => $.value.ticks), At = g(() => ({ start: 0, end: Ye.value.length }));
394
- Kt({
393
+ const Ze = g(() => $.value.ticks), St = g(() => ({ start: 0, end: Ze.value.length }));
394
+ el({
395
395
  timeLabelsEls: Q,
396
- timeLabels: Ye,
397
- slicer: At,
396
+ timeLabels: Ze,
397
+ slicer: St,
398
398
  configRef: e,
399
399
  rotationPath: ["style", "chart", "labels", "xAxisLabels", "rotation"],
400
400
  autoRotatePath: ["style", "chart", "labels", "xAxisLabels", "autoRotate", "enable"],
401
401
  isAutoSize: !1,
402
- width: R,
403
- height: B,
402
+ width: B,
403
+ height: R,
404
404
  targetClass: ".vue-ui-dumbbell-scale-label",
405
405
  rotation: e.value.style.chart.labels.xAxisLabels.autoRotate.angle
406
406
  });
407
- function Nt({
407
+ function Mt({
408
408
  rowHeight: l,
409
409
  fontSize: s,
410
410
  showProgression: t
@@ -413,42 +413,42 @@ const al = ["id"], sl = ["id"], ol = ["xmlns", "viewBox"], nl = ["x", "y", "widt
413
413
  const a = l / 3, u = l / 1.3, d = Math.abs(u - a), y = s * 1.2;
414
414
  return d < y;
415
415
  }
416
- const St = /* @__PURE__ */ (() => {
416
+ const Xt = /* @__PURE__ */ (() => {
417
417
  let l = null, s = 0;
418
418
  const t = 1;
419
419
  return (a) => {
420
- if (a === F.value) {
420
+ if (a === O.value) {
421
421
  l = null, s = 0;
422
422
  return;
423
423
  }
424
- l === null || l !== a ? (l = a, s = 1) : (s += 1, s >= t && (F.value = a, l = null, s = 0));
424
+ l === null || l !== a ? (l = a, s = 1) : (s += 1, s >= t && (O.value = a, l = null, s = 0));
425
425
  };
426
- })(), Ze = ke(() => {
426
+ })(), Je = Ce(() => {
427
427
  requestAnimationFrame(() => {
428
428
  requestAnimationFrame(() => {
429
- const l = Nt({
429
+ const l = Mt({
430
430
  rowHeight: o.value.rowHeight,
431
431
  fontSize: e.value.style.chart.labels.yAxisLabels.fontSize,
432
432
  showProgression: e.value.style.chart.labels.yAxisLabels.showProgression
433
433
  });
434
- St(l);
434
+ Xt(l);
435
435
  });
436
436
  });
437
437
  }, 100);
438
- function ge({ datapoint: l, seriesIndex: s }) {
439
- O.value = s, r.value = l, e.value.events.datapointEnter && e.value.events.datapointEnter({ datapoint: l, seriesIndex: s });
440
- }
441
438
  function me({ datapoint: l, seriesIndex: s }) {
442
- O.value = null, r.value = null, e.value.events.datapointLeave && e.value.events.datapointLeave({ datapoint: l, seriesIndex: s });
439
+ I.value = s, r.value = l, e.value.events.datapointEnter && e.value.events.datapointEnter({ datapoint: l, seriesIndex: s });
443
440
  }
444
441
  function pe({ datapoint: l, seriesIndex: s }) {
442
+ I.value = null, r.value = null, e.value.events.datapointLeave && e.value.events.datapointLeave({ datapoint: l, seriesIndex: s });
443
+ }
444
+ function xe({ datapoint: l, seriesIndex: s }) {
445
445
  e.value.events.datapointClick && e.value.events.datapointClick({ datapoint: l, seriesIndex: s });
446
446
  }
447
- const xe = g(() => {
447
+ const _e = g(() => {
448
448
  if (r.value === null) return 0;
449
449
  const l = ![null, void 0].includes(r.value.start), s = ![null, void 0].includes(r.value.end);
450
450
  return l && s ? Math.min(r.value.startX, r.value.endX) + Math.abs(r.value.startX - r.value.endX) / 2 : l && !s ? r.value.startX : s && !l ? r.value.endX : null;
451
- }), Mt = g(() => {
451
+ }), zt = g(() => {
452
452
  if (r.value === null) return "";
453
453
  const l = ![null, void 0].includes(r.value.start), s = ![null, void 0].includes(r.value.end);
454
454
  let t = "", a = "";
@@ -461,7 +461,7 @@ const al = ["id"], sl = ["id"], ol = ["xmlns", "viewBox"], nl = ["x", "y", "widt
461
461
  s: e.value.style.chart.labels.suffix,
462
462
  r: e.value.style.chart.labels.startLabels.rounding
463
463
  }),
464
- { datapoint: r.value, seriesIndex: O.value }
464
+ { datapoint: r.value, seriesIndex: I.value }
465
465
  )), s && (a = P(
466
466
  e.value.style.chart.labels.formatter,
467
467
  r.value.end,
@@ -471,12 +471,12 @@ const al = ["id"], sl = ["id"], ol = ["xmlns", "viewBox"], nl = ["x", "y", "widt
471
471
  s: e.value.style.chart.labels.suffix,
472
472
  r: e.value.style.chart.labels.startLabels.rounding
473
473
  }),
474
- { datapoint: r.value, seriesIndex: O.value }
474
+ { datapoint: r.value, seriesIndex: I.value }
475
475
  )), l && s ? `${t} → ${a}` : l && !s ? t : s && !l ? a : "";
476
476
  }), q = g(() => {
477
- const l = e.value.table.useDialog && !e.value.table.show, s = X.value.showTable;
477
+ const l = e.value.table.useDialog && !e.value.table.show, s = F.value.showTable;
478
478
  return {
479
- component: l ? mt : ht,
479
+ component: l ? xt : yt,
480
480
  title: `${e.value.style.chart.title.text}${e.value.style.chart.title.subtitle.text ? `: ${e.value.style.chart.title.subtitle.text}` : ""}`,
481
481
  props: l ? {
482
482
  backgroundColor: e.value.table.th.backgroundColor,
@@ -503,49 +503,53 @@ const al = ["id"], sl = ["id"], ol = ["xmlns", "viewBox"], nl = ["x", "y", "widt
503
503
  }
504
504
  };
505
505
  });
506
- return le(() => X.value.showTable, (l) => {
506
+ le(() => F.value.showTable, (l) => {
507
507
  e.value.table.show || (l && e.value.table.useDialog && U.value ? U.value.open() : "close" in U.value && U.value.close());
508
- }), vt({
509
- getData: $t,
510
- getImage: Lt,
511
- generatePdf: Pe,
512
- generateCsv: ye,
513
- generateImage: Ge,
514
- toggleTable: je,
515
- toggleAnnotator: be,
516
- toggleFullscreen: qe
508
+ });
509
+ function Ke() {
510
+ F.value.showTable = !1, ne.value && ne.value.setTableIconState(!1);
511
+ }
512
+ return ht({
513
+ getData: At,
514
+ getImage: Nt,
515
+ generatePdf: Ge,
516
+ generateCsv: be,
517
+ generateImage: Ee,
518
+ toggleTable: Ye,
519
+ toggleAnnotator: ge,
520
+ toggleFullscreen: je
517
521
  }), (l, s) => (n(), v("div", {
518
522
  ref_key: "dumbbellChart",
519
523
  ref: S,
520
- class: tt(`vue-ui-dumbbell ${V.value ? "vue-data-ui-wrapper-fullscreen" : ""}`),
524
+ class: at(`vue-ui-dumbbell ${V.value ? "vue-data-ui-wrapper-fullscreen" : ""}`),
521
525
  style: ae(`font-family:${e.value.style.fontFamily};width:100%; text-align:center;background:${e.value.style.chart.backgroundColor};${e.value.responsive ? "height:100%" : ""}`),
522
526
  id: `dumbbell_${f.value}`,
523
- onMouseenter: s[3] || (s[3] = () => i(ze)(!0)),
524
- onMouseleave: s[4] || (s[4] = () => i(ze)(!1))
527
+ onMouseenter: s[1] || (s[1] = () => i(Te)(!0)),
528
+ onMouseleave: s[2] || (s[2] = () => i(Te)(!1))
525
529
  }, [
526
- e.value.userOptions.buttons.annotator ? (n(), I(i(yt), {
530
+ e.value.userOptions.buttons.annotator ? (n(), D(i(gt), {
527
531
  key: 0,
528
- svgRef: i(De),
532
+ svgRef: i(Ie),
529
533
  backgroundColor: e.value.style.chart.backgroundColor,
530
534
  color: e.value.style.chart.color,
531
535
  active: te.value,
532
- onClose: be
536
+ onClose: ge
533
537
  }, null, 8, ["svgRef", "backgroundColor", "color", "active"])) : b("", !0),
534
- _t.value ? (n(), v("div", {
538
+ Ct.value ? (n(), v("div", {
535
539
  key: 1,
536
540
  ref_key: "noTitle",
537
- ref: Ae,
541
+ ref: Ne,
538
542
  class: "vue-data-ui-no-title-space",
539
543
  style: "height:36px; width: 100%;background:transparent"
540
544
  }, null, 512)) : b("", !0),
541
545
  e.value.style.chart.title.text ? (n(), v("div", {
542
546
  key: 2,
543
547
  ref_key: "chartTitle",
544
- ref: we,
548
+ ref: $e,
545
549
  style: "width:100%;background:transparent;padding-bottom:24px"
546
550
  }, [
547
- (n(), I(el, {
548
- key: `title_${Ne.value}`,
551
+ (n(), D(ll, {
552
+ key: `title_${Se.value}`,
549
553
  config: {
550
554
  title: {
551
555
  cy: "donut-div-title",
@@ -560,14 +564,15 @@ const al = ["id"], sl = ["id"], ol = ["xmlns", "viewBox"], nl = ["x", "y", "widt
560
564
  ], 512)) : b("", !0),
561
565
  c("div", {
562
566
  id: `legend-top-${f.value}`
563
- }, null, 8, sl),
564
- e.value.userOptions.show && K.value && (i(Te) || i(ve)) ? (n(), I(i(bt), {
565
- ref: "details",
566
- key: `user_option_${Ce.value}`,
567
+ }, null, 8, nl),
568
+ e.value.userOptions.show && K.value && (i(De) || i(de)) ? (n(), D(i(mt), {
569
+ ref_key: "userOptionsRef",
570
+ ref: ne,
571
+ key: `user_option_${we.value}`,
567
572
  backgroundColor: e.value.style.chart.backgroundColor,
568
573
  color: e.value.style.chart.color,
569
- isPrinting: i(Fe),
570
- isImaging: i(He),
574
+ isPrinting: i(He),
575
+ isImaging: i(Pe),
571
576
  uid: f.value,
572
577
  hasPdf: e.value.userOptions.buttons.pdf,
573
578
  hasXls: e.value.userOptions.buttons.csv,
@@ -582,16 +587,17 @@ const al = ["id"], sl = ["id"], ol = ["xmlns", "viewBox"], nl = ["x", "y", "widt
582
587
  isAnnotation: te.value,
583
588
  callbacks: e.value.userOptions.callbacks,
584
589
  printScale: e.value.userOptions.print.scale,
585
- onToggleFullscreen: qe,
586
- onGeneratePdf: i(Pe),
587
- onGenerateCsv: ye,
588
- onGenerateImage: i(Ge),
589
- onToggleTable: je,
590
- onToggleAnnotator: be,
590
+ tableDialog: e.value.table.useDialog,
591
+ onToggleFullscreen: je,
592
+ onGeneratePdf: i(Ge),
593
+ onGenerateCsv: be,
594
+ onGenerateImage: i(Ee),
595
+ onToggleTable: Ye,
596
+ onToggleAnnotator: ge,
591
597
  style: ae({
592
- visibility: i(Te) ? i(ve) ? "visible" : "hidden" : "visible"
598
+ visibility: i(De) ? i(de) ? "visible" : "hidden" : "visible"
593
599
  })
594
- }, lt({ _: 2 }, [
600
+ }, st({ _: 2 }, [
595
601
  l.$slots.menuIcon ? {
596
602
  name: "menuIcon",
597
603
  fn: p(({ isOpen: t, color: a }) => [
@@ -641,16 +647,16 @@ const al = ["id"], sl = ["id"], ol = ["xmlns", "viewBox"], nl = ["x", "y", "widt
641
647
  ]),
642
648
  key: "6"
643
649
  } : void 0
644
- ]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasPdf", "hasXls", "hasImg", "hasTable", "hasFullscreen", "isFullscreen", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "callbacks", "printScale", "onGeneratePdf", "onGenerateImage", "style"])) : b("", !0),
650
+ ]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasPdf", "hasXls", "hasImg", "hasTable", "hasFullscreen", "isFullscreen", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "callbacks", "printScale", "tableDialog", "onGeneratePdf", "onGenerateImage", "style"])) : b("", !0),
645
651
  (n(), v("svg", {
646
652
  ref_key: "svgRef",
647
- ref: De,
648
- xmlns: i(rt),
649
- class: tt({ "vue-data-ui-fullscreen--on": V.value, "vue-data-ui-fulscreen--off": !V.value }),
650
- viewBox: `0 0 ${R.value} ${o.value.absoluteHeight <= 0 ? 10 : o.value.absoluteHeight}`,
653
+ ref: Ie,
654
+ xmlns: i(it),
655
+ class: at({ "vue-data-ui-fullscreen--on": V.value, "vue-data-ui-fulscreen--off": !V.value }),
656
+ viewBox: `0 0 ${B.value} ${o.value.absoluteHeight <= 0 ? 10 : o.value.absoluteHeight}`,
651
657
  style: ae(`max-width:100%; overflow: visible; background:transparent;color:${e.value.style.chart.color}`)
652
658
  }, [
653
- at(i(gt)),
659
+ ot(i(pt)),
654
660
  l.$slots["chart-background"] ? (n(), v("foreignObject", {
655
661
  key: 0,
656
662
  x: o.value.left,
@@ -662,8 +668,8 @@ const al = ["id"], sl = ["id"], ol = ["xmlns", "viewBox"], nl = ["x", "y", "widt
662
668
  }
663
669
  }, [
664
670
  x(l.$slots, "chart-background", {}, void 0, !0)
665
- ], 8, nl)) : b("", !0),
666
- e.value.style.chart.grid.verticalGrid.show ? (n(), v("g", rl, [
671
+ ], 8, ul)) : b("", !0),
672
+ e.value.style.chart.grid.verticalGrid.show ? (n(), v("g", il, [
667
673
  (n(!0), v(C, null, A($.value.ticks, (t, a) => (n(), v("line", {
668
674
  x1: o.value.left + a * o.value.width / ($.value.ticks.length - 1),
669
675
  x2: o.value.left + a * o.value.width / ($.value.ticks.length - 1),
@@ -672,9 +678,9 @@ const al = ["id"], sl = ["id"], ol = ["xmlns", "viewBox"], nl = ["x", "y", "widt
672
678
  stroke: e.value.style.chart.grid.verticalGrid.stroke,
673
679
  "stroke-width": e.value.style.chart.grid.verticalGrid.strokeWidth,
674
680
  "stroke-dasharray": e.value.style.chart.grid.verticalGrid.strokeDasharray
675
- }, null, 8, ul))), 256))
681
+ }, null, 8, cl))), 256))
676
682
  ])) : b("", !0),
677
- e.value.style.chart.grid.horizontalGrid.show ? (n(), v("g", il, [
683
+ e.value.style.chart.grid.horizontalGrid.show ? (n(), v("g", vl, [
678
684
  (n(!0), v(C, null, A(E.value, (t, a) => (n(), v("line", {
679
685
  x1: o.value.left,
680
686
  x2: o.value.right,
@@ -683,7 +689,7 @@ const al = ["id"], sl = ["id"], ol = ["xmlns", "viewBox"], nl = ["x", "y", "widt
683
689
  stroke: e.value.style.chart.grid.horizontalGrid.stroke,
684
690
  "stroke-width": e.value.style.chart.grid.horizontalGrid.strokeWidth,
685
691
  "stroke-dasharray": e.value.style.chart.grid.horizontalGrid.strokeDasharray
686
- }, null, 8, cl))), 256)),
692
+ }, null, 8, dl))), 256)),
687
693
  c("line", {
688
694
  x1: o.value.left,
689
695
  x2: o.value.right,
@@ -692,35 +698,35 @@ const al = ["id"], sl = ["id"], ol = ["xmlns", "viewBox"], nl = ["x", "y", "widt
692
698
  stroke: e.value.style.chart.grid.horizontalGrid.stroke,
693
699
  "stroke-width": e.value.style.chart.grid.horizontalGrid.strokeWidth,
694
700
  "stroke-dasharray": e.value.style.chart.grid.horizontalGrid.strokeDasharray
695
- }, null, 8, vl)
701
+ }, null, 8, hl)
696
702
  ])) : b("", !0),
697
703
  e.value.style.chart.labels.axis.yLabel ? (n(), v("text", {
698
704
  key: 3,
699
705
  ref_key: "yAxisLabel",
700
- ref: ne,
706
+ ref: re,
701
707
  transform: `translate(${e.value.style.chart.labels.axis.fontSize}, ${o.value.absoluteHeight / 2}), rotate(-90)`,
702
708
  "font-size": e.value.style.chart.labels.axis.fontSize,
703
709
  fill: e.value.style.chart.labels.axis.color,
704
710
  "text-anchor": "middle"
705
- }, _(e.value.style.chart.labels.axis.yLabel), 9, dl)) : b("", !0),
711
+ }, _(e.value.style.chart.labels.axis.yLabel), 9, fl)) : b("", !0),
706
712
  e.value.style.chart.labels.yAxisLabels.show ? (n(), v("g", {
707
713
  key: 4,
708
714
  ref_key: "serieLabels",
709
- ref: re
715
+ ref: ue
710
716
  }, [
711
717
  (n(!0), v(C, null, A(k.value, (t, a) => (n(), v("text", {
712
718
  class: "vue-ui-dumbbell-serie-name",
713
719
  key: `serieLabel_${t.id}_${a}`,
714
720
  x: o.value.left - 6 + e.value.style.chart.labels.yAxisLabels.offsetX,
715
- y: o.value.top + a * o.value.rowHeight + (!e.value.style.chart.labels.yAxisLabels.showProgression || F.value ? o.value.rowHeight / 2 : o.value.rowHeight / 3) + e.value.style.chart.labels.yAxisLabels.fontSize / 3,
721
+ y: o.value.top + a * o.value.rowHeight + (!e.value.style.chart.labels.yAxisLabels.showProgression || O.value ? o.value.rowHeight / 2 : o.value.rowHeight / 3) + e.value.style.chart.labels.yAxisLabels.fontSize / 3,
716
722
  "font-size": e.value.style.chart.labels.yAxisLabels.fontSize,
717
723
  fill: e.value.style.chart.labels.yAxisLabels.color,
718
724
  "font-weight": e.value.style.chart.labels.yAxisLabels.bold ? "bold" : "normal",
719
725
  "text-anchor": "end",
720
- onMouseenter: (u) => ge({ datapoint: t, seriesIndex: a }),
721
- onMouseleave: (u) => me({ datapoint: t, seriesIndex: a }),
722
- onClick: (u) => pe({ datapoint: t, seriesIndex: a })
723
- }, _(t.name) + " " + _(F.value && e.value.style.chart.labels.yAxisLabels.showProgression ? [null, void 0].includes(t.start) || [null, void 0].includes(t.end) ? "" : `(${i(P)(
726
+ onMouseenter: (u) => me({ datapoint: t, seriesIndex: a }),
727
+ onMouseleave: (u) => pe({ datapoint: t, seriesIndex: a }),
728
+ onClick: (u) => xe({ datapoint: t, seriesIndex: a })
729
+ }, _(t.name) + " " + _(O.value && e.value.style.chart.labels.yAxisLabels.showProgression ? [null, void 0].includes(t.start) || [null, void 0].includes(t.end) ? "" : `(${i(P)(
724
730
  e.value.style.chart.labels.yAxisLabels.formatter,
725
731
  100 * (t.end / t.start - 1),
726
732
  i(w)({
@@ -729,17 +735,17 @@ const al = ["id"], sl = ["id"], ol = ["xmlns", "viewBox"], nl = ["x", "y", "widt
729
735
  r: e.value.style.chart.labels.yAxisLabels.rounding
730
736
  }),
731
737
  { datapoint: t }
732
- )})` : ""), 41, hl))), 128)),
733
- e.value.style.chart.labels.yAxisLabels.showProgression && !F.value ? (n(!0), v(C, { key: 0 }, A(k.value, (t, a) => (n(), v("text", {
738
+ )})` : ""), 41, yl))), 128)),
739
+ e.value.style.chart.labels.yAxisLabels.showProgression && !O.value ? (n(!0), v(C, { key: 0 }, A(k.value, (t, a) => (n(), v("text", {
734
740
  class: "vue-ui-dumbbell-serie-value",
735
741
  x: o.value.left - 6 + e.value.style.chart.labels.yAxisLabels.offsetX,
736
742
  y: o.value.top + a * o.value.rowHeight + o.value.rowHeight / 1.3 + e.value.style.chart.labels.yAxisLabels.fontSize / 3,
737
743
  "font-size": e.value.style.chart.labels.yAxisLabels.fontSize,
738
744
  fill: e.value.style.chart.labels.yAxisLabels.color,
739
745
  "text-anchor": "end",
740
- onMouseenter: (u) => ge({ datapoint: t, seriesIndex: a }),
741
- onMouseleave: (u) => me({ datapoint: t, seriesIndex: a }),
742
- onClick: (u) => pe({ datapoint: t, seriesIndex: a })
746
+ onMouseenter: (u) => me({ datapoint: t, seriesIndex: a }),
747
+ onMouseleave: (u) => pe({ datapoint: t, seriesIndex: a }),
748
+ onClick: (u) => xe({ datapoint: t, seriesIndex: a })
743
749
  }, _([null, void 0].includes(t.start) || [null, void 0].includes(t.end) ? "" : i(P)(
744
750
  e.value.style.chart.labels.yAxisLabels.formatter,
745
751
  100 * (t.end / t.start - 1),
@@ -749,18 +755,18 @@ const al = ["id"], sl = ["id"], ol = ["xmlns", "viewBox"], nl = ["x", "y", "widt
749
755
  r: e.value.style.chart.labels.yAxisLabels.rounding
750
756
  }),
751
757
  { datapoint: t }
752
- )), 41, fl))), 256)) : b("", !0)
758
+ )), 41, bl))), 256)) : b("", !0)
753
759
  ], 512)) : b("", !0),
754
760
  e.value.style.chart.labels.axis.xLabel ? (n(), v("text", {
755
761
  key: 5,
756
762
  ref_key: "xAxisLabel",
757
- ref: ue,
763
+ ref: ie,
758
764
  x: o.value.left + o.value.width / 2,
759
765
  y: o.value.absoluteHeight - e.value.style.chart.labels.axis.fontSize / 3,
760
766
  "font-size": e.value.style.chart.labels.axis.fontSize,
761
767
  fill: e.value.style.chart.labels.axis.color,
762
768
  "text-anchor": "middle"
763
- }, _(e.value.style.chart.labels.axis.xLabel), 9, yl)) : b("", !0),
769
+ }, _(e.value.style.chart.labels.axis.xLabel), 9, gl)) : b("", !0),
764
770
  e.value.style.chart.labels.xAxisLabels.show ? (n(), v("g", {
765
771
  key: 6,
766
772
  ref_key: "scaleLabels",
@@ -784,7 +790,7 @@ const al = ["id"], sl = ["id"], ol = ["xmlns", "viewBox"], nl = ["x", "y", "widt
784
790
  r: e.value.style.chart.labels.xAxisLabels.rounding
785
791
  }),
786
792
  { datapoint: t, seriesIndex: a }
787
- )), 9, bl))), 128))
793
+ )), 9, ml))), 128))
788
794
  ], 512)) : b("", !0),
789
795
  j(c("g", null, [
790
796
  j(c("path", {
@@ -793,7 +799,7 @@ const al = ["id"], sl = ["id"], ol = ["xmlns", "viewBox"], nl = ["x", "y", "widt
793
799
  "stroke-width": e.value.style.chart.comparisonLines.strokeWidth,
794
800
  "stroke-dasharray": e.value.style.chart.comparisonLines.strokeDasharray,
795
801
  style: { transition: "all 0.3s ease-in-out" }
796
- }, null, 8, gl), [
802
+ }, null, 8, pl), [
797
803
  [Y, r.value !== null && ![null, void 0].includes(r.value.start)]
798
804
  ]),
799
805
  j(c("path", {
@@ -802,7 +808,7 @@ const al = ["id"], sl = ["id"], ol = ["xmlns", "viewBox"], nl = ["x", "y", "widt
802
808
  "stroke-width": e.value.style.chart.comparisonLines.strokeWidth,
803
809
  "stroke-dasharray": e.value.style.chart.comparisonLines.strokeDasharray,
804
810
  style: { transition: "all 0.3s ease-in-out" }
805
- }, null, 8, ml), [
811
+ }, null, 8, xl), [
806
812
  [Y, r.value !== null && ![null, void 0].includes(r.value.end)]
807
813
  ]),
808
814
  j(c("rect", {
@@ -810,22 +816,22 @@ const al = ["id"], sl = ["id"], ol = ["xmlns", "viewBox"], nl = ["x", "y", "widt
810
816
  y: o.value.top,
811
817
  height: Math.max(0.1, o.value.height),
812
818
  width: r.value ? Math.max(0.1, Math.abs(r.value.endX - r.value.startX)) : 0,
813
- fill: r.value ? i(ut)(e.value.style.chart.comparisonLines.rectColor, e.value.style.chart.comparisonLines.rectOpacity) : "transparent",
819
+ fill: r.value ? i(ct)(e.value.style.chart.comparisonLines.rectColor, e.value.style.chart.comparisonLines.rectOpacity) : "transparent",
814
820
  style: { transition: "all 0.3s ease-in-out" }
815
- }, null, 8, pl), [
821
+ }, null, 8, _l), [
816
822
  [Y, e.value.style.chart.comparisonLines.showRect && r.value !== null && ![null, void 0].includes(r.value.start) && ![null, void 0].includes(r.value.end)]
817
823
  ]),
818
824
  j(c("text", {
819
- transform: `translate(${xe.value == null ? 0 : xe.value}, ${o.value.top - 6})`,
825
+ transform: `translate(${_e.value == null ? 0 : _e.value}, ${o.value.top - 6})`,
820
826
  fill: e.value.style.chart.comparisonLines.labelColor,
821
827
  "font-size": e.value.style.chart.comparisonLines.labelFontSize,
822
828
  "text-anchor": "middle",
823
829
  style: { transition: "all 0.3s ease-in-out" }
824
- }, _(Mt.value), 9, xl), [
825
- [Y, r.value !== null && xe.value !== null && e.value.style.chart.comparisonLines.showLabel]
830
+ }, _(zt.value), 9, kl), [
831
+ [Y, r.value !== null && _e.value !== null && e.value.style.chart.comparisonLines.showLabel]
826
832
  ])
827
833
  ], 512), [
828
- [Y, e.value.style.chart.comparisonLines.show && O.value !== null]
834
+ [Y, e.value.style.chart.comparisonLines.show && I.value !== null]
829
835
  ]),
830
836
  c("defs", null, [
831
837
  c("radialGradient", {
@@ -835,16 +841,16 @@ const al = ["id"], sl = ["id"], ol = ["xmlns", "viewBox"], nl = ["x", "y", "widt
835
841
  c("stop", {
836
842
  offset: "10%",
837
843
  "stop-color": i(Z)(e.value.style.chart.plots.startColor, e.value.style.chart.plots.gradient.intensity / 100)
838
- }, null, 8, kl),
844
+ }, null, 8, wl),
839
845
  c("stop", {
840
846
  offset: "90%",
841
847
  "stop-color": i(J)(e.value.style.chart.plots.startColor, 0.1)
842
- }, null, 8, Cl),
848
+ }, null, 8, $l),
843
849
  c("stop", {
844
850
  offset: "100%",
845
851
  "stop-color": e.value.style.chart.plots.startColor
846
- }, null, 8, wl)
847
- ], 8, _l),
852
+ }, null, 8, Ll)
853
+ ], 8, Cl),
848
854
  c("radialGradient", {
849
855
  id: `end_grad_${f.value}`,
850
856
  fy: "30%"
@@ -852,16 +858,16 @@ const al = ["id"], sl = ["id"], ol = ["xmlns", "viewBox"], nl = ["x", "y", "widt
852
858
  c("stop", {
853
859
  offset: "10%",
854
860
  "stop-color": i(Z)(e.value.style.chart.plots.endColor, e.value.style.chart.plots.gradient.intensity / 100)
855
- }, null, 8, Ll),
861
+ }, null, 8, Nl),
856
862
  c("stop", {
857
863
  offset: "90%",
858
864
  "stop-color": i(J)(e.value.style.chart.plots.endColor, 0.1)
859
- }, null, 8, Al),
865
+ }, null, 8, Sl),
860
866
  c("stop", {
861
867
  offset: "100%",
862
868
  "stop-color": e.value.style.chart.plots.endColor
863
- }, null, 8, Nl)
864
- ], 8, $l),
869
+ }, null, 8, Ml)
870
+ ], 8, Al),
865
871
  c("radialGradient", {
866
872
  id: `positive_grad_${f.value}`,
867
873
  fy: "30%"
@@ -869,16 +875,16 @@ const al = ["id"], sl = ["id"], ol = ["xmlns", "viewBox"], nl = ["x", "y", "widt
869
875
  c("stop", {
870
876
  offset: "10%",
871
877
  "stop-color": i(Z)(e.value.style.chart.plots.evaluationColors.positive, e.value.style.chart.plots.gradient.intensity / 100)
872
- }, null, 8, Ml),
878
+ }, null, 8, zl),
873
879
  c("stop", {
874
880
  offset: "90%",
875
881
  "stop-color": i(J)(e.value.style.chart.plots.evaluationColors.positive, 0.1)
876
- }, null, 8, Xl),
882
+ }, null, 8, Tl),
877
883
  c("stop", {
878
884
  offset: "100%",
879
885
  "stop-color": e.value.style.chart.plots.evaluationColors.positive
880
- }, null, 8, zl)
881
- ], 8, Sl),
886
+ }, null, 8, Dl)
887
+ ], 8, Xl),
882
888
  c("radialGradient", {
883
889
  id: `negative_grad_${f.value}`,
884
890
  fy: "30%"
@@ -886,16 +892,16 @@ const al = ["id"], sl = ["id"], ol = ["xmlns", "viewBox"], nl = ["x", "y", "widt
886
892
  c("stop", {
887
893
  offset: "10%",
888
894
  "stop-color": i(Z)(e.value.style.chart.plots.evaluationColors.negative, e.value.style.chart.plots.gradient.intensity / 100)
889
- }, null, 8, Dl),
895
+ }, null, 8, Ol),
890
896
  c("stop", {
891
897
  offset: "90%",
892
898
  "stop-color": i(J)(e.value.style.chart.plots.evaluationColors.negative, 0.1)
893
- }, null, 8, Il),
899
+ }, null, 8, Fl),
894
900
  c("stop", {
895
901
  offset: "100%",
896
902
  "stop-color": e.value.style.chart.plots.evaluationColors.negative
897
- }, null, 8, Ol)
898
- ], 8, Tl),
903
+ }, null, 8, Hl)
904
+ ], 8, Il),
899
905
  c("radialGradient", {
900
906
  id: `neutral_grad_${f.value}`,
901
907
  fy: "30%"
@@ -903,16 +909,16 @@ const al = ["id"], sl = ["id"], ol = ["xmlns", "viewBox"], nl = ["x", "y", "widt
903
909
  c("stop", {
904
910
  offset: "10%",
905
911
  "stop-color": i(Z)(e.value.style.chart.plots.evaluationColors.neutral, e.value.style.chart.plots.gradient.intensity / 100)
906
- }, null, 8, Hl),
912
+ }, null, 8, Gl),
907
913
  c("stop", {
908
914
  offset: "90%",
909
915
  "stop-color": i(J)(e.value.style.chart.plots.evaluationColors.neutral, 0.1)
910
- }, null, 8, Pl),
916
+ }, null, 8, El),
911
917
  c("stop", {
912
918
  offset: "100%",
913
919
  "stop-color": e.value.style.chart.plots.evaluationColors.neutral
914
- }, null, 8, Gl)
915
- ], 8, Fl)
920
+ }, null, 8, Rl)
921
+ ], 8, Pl)
916
922
  ]),
917
923
  (n(!0), v(C, null, A(k.value, (t, a) => (n(), v("g", {
918
924
  key: `plot_${a}_${t.id}`
@@ -928,12 +934,12 @@ const al = ["id"], sl = ["id"], ol = ["xmlns", "viewBox"], nl = ["x", "y", "widt
928
934
  c("stop", {
929
935
  offset: "0%",
930
936
  "stop-color": e.value.style.chart.plots.startColor
931
- }, null, 8, Bl),
937
+ }, null, 8, Vl),
932
938
  c("stop", {
933
939
  offset: "100%",
934
940
  "stop-color": e.value.style.chart.plots.endColor
935
- }, null, 8, Rl)
936
- ], 8, El),
941
+ }, null, 8, Ul)
942
+ ], 8, Bl),
937
943
  c("linearGradient", {
938
944
  id: `grad_neg_${f.value}`,
939
945
  x1: "0%",
@@ -944,64 +950,64 @@ const al = ["id"], sl = ["id"], ol = ["xmlns", "viewBox"], nl = ["x", "y", "widt
944
950
  c("stop", {
945
951
  offset: "0%",
946
952
  "stop-color": e.value.style.chart.plots.endColor
947
- }, null, 8, Ul),
953
+ }, null, 8, ql),
948
954
  c("stop", {
949
955
  offset: "100%",
950
956
  "stop-color": e.value.style.chart.plots.startColor
951
- }, null, 8, Wl)
952
- ], 8, Vl)
957
+ }, null, 8, jl)
958
+ ], 8, Wl)
953
959
  ]),
954
- ![void 0, null].includes(t.end) && ![void 0, null].includes(t.start) ? (n(), v("g", ql, [
955
- e.value.style.chart.plots.link.type === "curved" ? (n(), v("g", jl, [
960
+ ![void 0, null].includes(t.end) && ![void 0, null].includes(t.start) ? (n(), v("g", Yl, [
961
+ e.value.style.chart.plots.link.type === "curved" ? (n(), v("g", Zl, [
956
962
  c("path", {
957
963
  d: `M
958
- ${t.startX},${t.y + z.value / 2}
964
+ ${t.startX},${t.y + X.value / 2}
959
965
  C ${t.centerX},${t.y} ${t.centerX},${t.y}
960
- ${t.endX},${t.y + z.value / 2}
961
- L ${t.endX},${t.y - z.value / 2}
966
+ ${t.endX},${t.y + X.value / 2}
967
+ L ${t.endX},${t.y - X.value / 2}
962
968
  C ${t.centerX},${t.y} ${t.centerX},${t.y}
963
- ${t.startX},${t.y - z.value / 2}
969
+ ${t.startX},${t.y - X.value / 2}
964
970
  Z
965
971
  `,
966
972
  fill: e.value.style.chart.plots.evaluationColors.enable ? t.evaluationColor : t.endX > t.startX ? `url(#grad_pos_${f.value})` : `url(#grad_neg_${f.value})`
967
- }, null, 8, Yl)
968
- ])) : (n(), v("g", Zl, [
973
+ }, null, 8, Jl)
974
+ ])) : (n(), v("g", Kl, [
969
975
  c("rect", {
970
976
  x: t.endX > t.startX ? t.startX : t.endX,
971
977
  y: t.y - e.value.style.chart.plots.link.strokeWidth / 2,
972
978
  height: Math.max(0.01, e.value.style.chart.plots.link.strokeWidth),
973
979
  width: Math.max(0.01, Math.abs(t.endX - t.startX)),
974
980
  fill: e.value.style.chart.plots.evaluationColors.enable ? t.evaluationColor : t.endX > t.startX ? `url(#grad_pos_${f.value})` : `url(#grad_neg_${f.value})`
975
- }, null, 8, Jl)
981
+ }, null, 8, Ql)
976
982
  ]))
977
983
  ])) : b("", !0),
978
984
  [null, void 0].includes(t.start) ? b("", !0) : (n(), v("circle", {
979
985
  key: 1,
980
986
  cx: t.startX,
981
987
  cy: t.y,
982
- r: z.value,
988
+ r: X.value,
983
989
  fill: e.value.style.chart.plots.gradient.show ? e.value.style.chart.plots.evaluationColors.enable ? t.evaluationGrad : `url(#start_grad_${f.value})` : e.value.style.chart.plots.evaluationColors.enable ? t.evaluationColor : e.value.style.chart.plots.startColor,
984
990
  stroke: e.value.style.chart.plots.stroke,
985
991
  "stroke-width": e.value.style.chart.plots.strokeWidth
986
- }, null, 8, Kl)),
992
+ }, null, 8, ea)),
987
993
  [null, void 0].includes(t.end) ? b("", !0) : (n(), v("circle", {
988
994
  key: 2,
989
995
  cx: t.endX,
990
996
  cy: t.y,
991
- r: z.value,
997
+ r: X.value,
992
998
  fill: e.value.style.chart.plots.gradient.show ? e.value.style.chart.plots.evaluationColors.enable ? t.evaluationGrad : `url(#end_grad_${f.value})` : e.value.style.chart.plots.evaluationColors.enable ? t.evaluationColor : e.value.style.chart.plots.endColor,
993
999
  stroke: e.value.style.chart.plots.stroke,
994
1000
  "stroke-width": e.value.style.chart.plots.strokeWidth
995
- }, null, 8, Ql))
1001
+ }, null, 8, ta))
996
1002
  ]))), 128)),
997
- e.value.style.chart.labels.startLabels.show ? (n(), v("g", ea, [
1003
+ e.value.style.chart.labels.startLabels.show ? (n(), v("g", la, [
998
1004
  (n(!0), v(C, null, A(k.value, (t, a) => (n(), v("g", {
999
1005
  key: `start_label_${a}_${t.id}`
1000
1006
  }, [
1001
1007
  [null, void 0].includes(t.start) ? b("", !0) : (n(), v("text", {
1002
1008
  key: 0,
1003
1009
  x: t.startX,
1004
- y: t.y + z.value * 2 + e.value.style.chart.labels.startLabels.fontSize / 2,
1010
+ y: t.y + X.value * 2 + e.value.style.chart.labels.startLabels.fontSize / 2,
1005
1011
  fill: e.value.style.chart.plots.evaluationColors.enable && e.value.style.chart.labels.startLabels.useEvaluationColor ? t.evaluationColor : e.value.style.chart.labels.startLabels.useStartColor ? e.value.style.chart.plots.startColor : e.value.style.chart.labels.startLabels.color,
1006
1012
  "font-size": e.value.style.chart.labels.startLabels.fontSize,
1007
1013
  "text-anchor": "middle"
@@ -1015,17 +1021,17 @@ const al = ["id"], sl = ["id"], ol = ["xmlns", "viewBox"], nl = ["x", "y", "widt
1015
1021
  r: e.value.style.chart.labels.startLabels.rounding
1016
1022
  }),
1017
1023
  { datapoint: t, seriesIndex: a }
1018
- )), 9, ta))
1024
+ )), 9, aa))
1019
1025
  ]))), 128))
1020
1026
  ])) : b("", !0),
1021
- e.value.style.chart.labels.endLabels.show ? (n(), v("g", la, [
1027
+ e.value.style.chart.labels.endLabels.show ? (n(), v("g", sa, [
1022
1028
  (n(!0), v(C, null, A(k.value, (t, a) => (n(), v("g", {
1023
1029
  key: `end_label_${a}_${t.id}`
1024
1030
  }, [
1025
1031
  [null, void 0].includes(t.end) ? b("", !0) : (n(), v("text", {
1026
1032
  key: 0,
1027
1033
  x: t.endX,
1028
- y: t.y - (z.value * 2 - e.value.style.chart.labels.startLabels.fontSize / 3),
1034
+ y: t.y - (X.value * 2 - e.value.style.chart.labels.startLabels.fontSize / 3),
1029
1035
  fill: e.value.style.chart.plots.evaluationColors.enable && e.value.style.chart.labels.endLabels.useEvaluationColor ? t.evaluationColor : e.value.style.chart.labels.endLabels.useEndColor ? e.value.style.chart.plots.endColor : e.value.style.chart.labels.endLabels.color,
1030
1036
  "font-size": e.value.style.chart.labels.endLabels.fontSize,
1031
1037
  "text-anchor": "middle"
@@ -1039,7 +1045,7 @@ const al = ["id"], sl = ["id"], ol = ["xmlns", "viewBox"], nl = ["x", "y", "widt
1039
1045
  r: e.value.style.chart.labels.endLabels.rounding
1040
1046
  }),
1041
1047
  { datapoint: t, seriesIndex: a }
1042
- )), 9, aa))
1048
+ )), 9, oa))
1043
1049
  ]))), 128))
1044
1050
  ])) : b("", !0),
1045
1051
  c("g", null, [
@@ -1048,32 +1054,32 @@ const al = ["id"], sl = ["id"], ol = ["xmlns", "viewBox"], nl = ["x", "y", "widt
1048
1054
  y: o.value.top + a * Math.max(0.1, o.value.rowHeight),
1049
1055
  width: Math.max(0.1, o.value.width),
1050
1056
  height: Math.max(0.1, o.value.rowHeight),
1051
- fill: O.value !== null && O.value === a ? i(ut)(e.value.style.chart.highlighter.color, e.value.style.chart.highlighter.opacity) : "transparent",
1052
- onMouseenter: (u) => ge({ datapoint: t, seriesIndex: a }),
1053
- onMouseleave: (u) => me({ datapoint: t, seriesIndex: a }),
1054
- onClick: (u) => pe({ datapoint: t, seriesIndex: a })
1055
- }, null, 40, sa))), 256))
1057
+ fill: I.value !== null && I.value === a ? i(ct)(e.value.style.chart.highlighter.color, e.value.style.chart.highlighter.opacity) : "transparent",
1058
+ onMouseenter: (u) => me({ datapoint: t, seriesIndex: a }),
1059
+ onMouseleave: (u) => pe({ datapoint: t, seriesIndex: a }),
1060
+ onClick: (u) => xe({ datapoint: t, seriesIndex: a })
1061
+ }, null, 40, na))), 256))
1056
1062
  ]),
1057
1063
  x(l.$slots, "svg", { svg: o.value }, void 0, !0)
1058
- ], 14, ol)),
1059
- l.$slots.watermark ? (n(), v("div", oa, [
1060
- x(l.$slots, "watermark", se(oe({ isPrinting: i(Fe) || i(He) })), void 0, !0)
1064
+ ], 14, rl)),
1065
+ l.$slots.watermark ? (n(), v("div", ra, [
1066
+ x(l.$slots, "watermark", se(oe({ isPrinting: i(He) || i(Pe) })), void 0, !0)
1061
1067
  ])) : b("", !0),
1062
1068
  c("div", {
1063
1069
  id: `legend-bottom-${f.value}`
1064
- }, null, 8, na),
1065
- Xe.value ? (n(), I(Dt, {
1070
+ }, null, 8, ua),
1071
+ ze.value ? (n(), D(Ot, {
1066
1072
  key: 5,
1067
1073
  to: e.value.style.chart.legend.position === "top" ? `#legend-top-${f.value}` : `#legend-bottom-${f.value}`
1068
1074
  }, [
1069
1075
  c("div", {
1070
1076
  ref_key: "chartLegend",
1071
- ref: $e
1077
+ ref: Le
1072
1078
  }, [
1073
- e.value.style.chart.legend.show && K.value ? (n(), I(tl, {
1074
- key: `legend_${Me.value}`,
1075
- legendSet: We.value,
1076
- config: wt.value,
1079
+ e.value.style.chart.legend.show && K.value ? (n(), D(al, {
1080
+ key: `legend_${Xe.value}`,
1081
+ legendSet: qe.value,
1082
+ config: Lt.value,
1077
1083
  clickable: !1
1078
1084
  }, {
1079
1085
  item: p(({ legend: t }) => [
@@ -1081,7 +1087,7 @@ const al = ["id"], sl = ["id"], ol = ["xmlns", "viewBox"], nl = ["x", "y", "widt
1081
1087
  style: ae(`display:flex;align-items:center;gap:4px;font-size:${e.value.style.chart.legend.fontSize}px`)
1082
1088
  }, [
1083
1089
  (n(), v("svg", {
1084
- xmlns: i(rt),
1090
+ xmlns: i(it),
1085
1091
  viewBox: "0 0 20 20",
1086
1092
  height: e.value.style.chart.legend.fontSize,
1087
1093
  width: e.value.style.chart.legend.fontSize
@@ -1091,52 +1097,52 @@ const al = ["id"], sl = ["id"], ol = ["xmlns", "viewBox"], nl = ["x", "y", "widt
1091
1097
  cy: 10,
1092
1098
  r: 9,
1093
1099
  fill: t.color
1094
- }, null, 8, ua)
1095
- ], 8, ra)),
1096
- i(ie) ? b("", !0) : (n(), v(C, { key: 0 }, [
1097
- _e(_(t.name), 1)
1100
+ }, null, 8, ca)
1101
+ ], 8, ia)),
1102
+ i(ce) ? b("", !0) : (n(), v(C, { key: 0 }, [
1103
+ ke(_(t.name), 1)
1098
1104
  ], 64))
1099
1105
  ], 4)
1100
1106
  ]),
1101
1107
  _: 1
1102
1108
  }, 8, ["legendSet", "config"])) : x(l.$slots, "legend", {
1103
1109
  key: 1,
1104
- legend: We.value
1110
+ legend: qe.value
1105
1111
  }, void 0, !0)
1106
1112
  ], 512)
1107
1113
  ], 8, ["to"])) : b("", !0),
1108
1114
  l.$slots.source ? (n(), v("div", {
1109
1115
  key: 6,
1110
1116
  ref_key: "source",
1111
- ref: Le,
1117
+ ref: Ae,
1112
1118
  dir: "auto"
1113
1119
  }, [
1114
1120
  x(l.$slots, "source", {}, void 0, !0)
1115
1121
  ], 512)) : b("", !0),
1116
- K.value ? (n(), I(It(q.value.component), Ot({ key: 7 }, q.value.props, {
1122
+ K.value ? (n(), D(Ft(q.value.component), Ht({ key: 7 }, q.value.props, {
1117
1123
  ref_key: "tableUnit",
1118
1124
  ref: U,
1119
- onClose: s[2] || (s[2] = (t) => X.value.showTable = !1)
1120
- }), lt({
1125
+ onClose: Ke
1126
+ }), st({
1121
1127
  content: p(() => [
1122
- (n(), I(i(ft), {
1123
- key: `table_${Se.value}`,
1128
+ (n(), D(i(bt), {
1129
+ key: `table_${Me.value}`,
1124
1130
  colNames: ee.value.colNames,
1125
1131
  head: ee.value.head,
1126
1132
  body: ee.value.body,
1127
1133
  config: ee.value.config,
1128
1134
  title: e.value.table.useDialog ? "" : q.value.title,
1129
1135
  withCloseButton: !e.value.table.useDialog,
1130
- onClose: s[1] || (s[1] = (t) => X.value.showTable = !1)
1136
+ onClose: Ke
1131
1137
  }, {
1132
1138
  th: p(({ th: t }) => [
1133
1139
  c("div", {
1134
1140
  innerHTML: t,
1135
1141
  style: { display: "flex", "align-items": "center" }
1136
- }, null, 8, ia)
1142
+ }, null, 8, va)
1137
1143
  ]),
1138
1144
  td: p(({ td: t }) => [
1139
- _e(_(t.name || t), 1)
1145
+ ke(_(t.name || t), 1)
1140
1146
  ]),
1141
1147
  _: 1
1142
1148
  }, 8, ["colNames", "head", "body", "config", "title", "withCloseButton"]))
@@ -1146,7 +1152,7 @@ const al = ["id"], sl = ["id"], ol = ["xmlns", "viewBox"], nl = ["x", "y", "widt
1146
1152
  e.value.table.useDialog ? {
1147
1153
  name: "title",
1148
1154
  fn: p(() => [
1149
- _e(_(q.value.title), 1)
1155
+ ke(_(q.value.title), 1)
1150
1156
  ]),
1151
1157
  key: "0"
1152
1158
  } : void 0,
@@ -1156,9 +1162,9 @@ const al = ["id"], sl = ["id"], ol = ["xmlns", "viewBox"], nl = ["x", "y", "widt
1156
1162
  c("button", {
1157
1163
  tabindex: "0",
1158
1164
  class: "vue-ui-user-options-button",
1159
- onClick: s[0] || (s[0] = (t) => ye(e.value.userOptions.callbacks.csv))
1165
+ onClick: s[0] || (s[0] = (t) => be(e.value.userOptions.callbacks.csv))
1160
1166
  }, [
1161
- at(i(dt), {
1167
+ ot(i(ft), {
1162
1168
  name: "excel",
1163
1169
  stroke: q.value.props.color
1164
1170
  }, null, 8, ["stroke"])
@@ -1167,10 +1173,10 @@ const al = ["id"], sl = ["id"], ol = ["xmlns", "viewBox"], nl = ["x", "y", "widt
1167
1173
  key: "1"
1168
1174
  } : void 0
1169
1175
  ]), 1040)) : b("", !0),
1170
- i(ie) ? (n(), I(Yt, { key: 8 })) : b("", !0)
1171
- ], 46, al));
1176
+ i(ce) ? (n(), D(Jt, { key: 8 })) : b("", !0)
1177
+ ], 46, ol));
1172
1178
  }
1173
- }, $a = /* @__PURE__ */ ll(ca, [["__scopeId", "data-v-0a9a1b98"]]);
1179
+ }, Aa = /* @__PURE__ */ sl(da, [["__scopeId", "data-v-78988231"]]);
1174
1180
  export {
1175
- $a as default
1181
+ Aa as default
1176
1182
  };