vue-data-ui 3.5.0 → 3.5.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (144) hide show
  1. package/README.md +26 -0
  2. package/dist/{ColorPicker-J5wOPCeB.js → ColorPicker-ChuwChMo.js} +58 -56
  3. package/dist/{NonSvgPenAndPaper-C7TRn0_3.js → NonSvgPenAndPaper-DVgKKLIf.js} +1 -1
  4. package/dist/{PackageVersion-Cyx_s25h.js → PackageVersion-Y7t79Jtq.js} +1 -1
  5. package/dist/PenAndPaper-SZQIAgkg.js +388 -0
  6. package/dist/{Title-l36lOBMx.js → Title-BzH_LEA3.js} +1 -1
  7. package/dist/components/vue-ui-3d-bar.js +1 -1
  8. package/dist/components/vue-ui-accordion.js +1 -1
  9. package/dist/components/vue-ui-age-pyramid.js +1 -1
  10. package/dist/components/vue-ui-annotator.js +1 -1
  11. package/dist/components/vue-ui-bullet.js +1 -1
  12. package/dist/components/vue-ui-candlestick.js +1 -1
  13. package/dist/components/vue-ui-carousel-table.js +1 -1
  14. package/dist/components/vue-ui-chestnut.js +1 -1
  15. package/dist/components/vue-ui-chord.js +1 -1
  16. package/dist/components/vue-ui-circle-pack.js +1 -1
  17. package/dist/components/vue-ui-cursor.js +1 -1
  18. package/dist/components/vue-ui-dashboard.js +1 -1
  19. package/dist/components/vue-ui-digits.js +1 -1
  20. package/dist/components/vue-ui-donut-evolution.js +1 -1
  21. package/dist/components/vue-ui-donut.js +1 -1
  22. package/dist/components/vue-ui-dumbbell.js +1 -1
  23. package/dist/components/vue-ui-flow.js +1 -1
  24. package/dist/components/vue-ui-funnel.js +1 -1
  25. package/dist/components/vue-ui-galaxy.js +1 -1
  26. package/dist/components/vue-ui-gauge.js +1 -1
  27. package/dist/components/vue-ui-gizmo.js +1 -1
  28. package/dist/components/vue-ui-heatmap.js +1 -1
  29. package/dist/components/vue-ui-history-plot.js +1 -1
  30. package/dist/components/vue-ui-horizontal-bar.js +1 -1
  31. package/dist/components/vue-ui-kpi.js +1 -1
  32. package/dist/components/vue-ui-mini-loader.js +1 -1
  33. package/dist/components/vue-ui-molecule.js +1 -1
  34. package/dist/components/vue-ui-mood-radar.js +1 -1
  35. package/dist/components/vue-ui-nested-donuts.js +1 -1
  36. package/dist/components/vue-ui-onion.js +1 -1
  37. package/dist/components/vue-ui-parallel-coordinate-plot.js +1 -1
  38. package/dist/components/vue-ui-quadrant.js +1 -1
  39. package/dist/components/vue-ui-quick-chart.js +1 -1
  40. package/dist/components/vue-ui-radar.js +1 -1
  41. package/dist/components/vue-ui-rating.js +1 -1
  42. package/dist/components/vue-ui-relation-circle.js +1 -1
  43. package/dist/components/vue-ui-ridgeline.js +1 -1
  44. package/dist/components/vue-ui-rings.js +1 -1
  45. package/dist/components/vue-ui-scatter.js +1 -1
  46. package/dist/components/vue-ui-skeleton.js +1 -1
  47. package/dist/components/vue-ui-smiley.js +1 -1
  48. package/dist/components/vue-ui-spark-trend.js +1 -1
  49. package/dist/components/vue-ui-sparkbar.js +1 -1
  50. package/dist/components/vue-ui-sparkgauge.js +1 -1
  51. package/dist/components/vue-ui-sparkhistogram.js +1 -1
  52. package/dist/components/vue-ui-sparkline.js +1 -1
  53. package/dist/components/vue-ui-sparkstackbar.js +1 -1
  54. package/dist/components/vue-ui-stackbar.js +1 -1
  55. package/dist/components/vue-ui-strip-plot.js +1 -1
  56. package/dist/components/vue-ui-table-heatmap.js +1 -1
  57. package/dist/components/vue-ui-table-sparkline.js +1 -1
  58. package/dist/components/vue-ui-table.js +1 -1
  59. package/dist/components/vue-ui-thermometer.js +1 -1
  60. package/dist/components/vue-ui-timer.js +1 -1
  61. package/dist/components/vue-ui-tiremarks.js +1 -1
  62. package/dist/components/vue-ui-treemap.js +1 -1
  63. package/dist/components/vue-ui-vertical-bar.js +1 -1
  64. package/dist/components/vue-ui-waffle.js +1 -1
  65. package/dist/components/vue-ui-wheel.js +1 -1
  66. package/dist/components/vue-ui-word-cloud.js +1 -1
  67. package/dist/components/vue-ui-world.js +1 -1
  68. package/dist/components/vue-ui-xy-canvas.js +1 -1
  69. package/dist/components/vue-ui-xy.js +1 -1
  70. package/dist/style.css +1 -1
  71. package/dist/types/vue-data-ui.d.ts +17 -8
  72. package/dist/{useNestedProp-BjZe1Y85.js → useNestedProp-CReNavA0.js} +23 -9
  73. package/dist/{vue-data-ui-DxgRqCAo.js → vue-data-ui-BRaq4hRp.js} +63 -63
  74. package/dist/vue-data-ui.js +64 -64
  75. package/dist/{vue-ui-3d-bar-DmNJp8SY.js → vue-ui-3d-bar-BB4ii8Nt.js} +454 -434
  76. package/dist/{vue-ui-accordion-CZ0thhxa.js → vue-ui-accordion-BmFTVF1a.js} +1 -1
  77. package/dist/{vue-ui-age-pyramid-CPAP3sNY.js → vue-ui-age-pyramid-8bUepd28.js} +180 -160
  78. package/dist/{vue-ui-annotator-BylDgUVb.js → vue-ui-annotator-CcpaXBNK.js} +3 -3
  79. package/dist/{vue-ui-bullet-Ce6uvCQJ.js → vue-ui-bullet-BvT4scFv.js} +190 -170
  80. package/dist/{vue-ui-candlestick-DewevWV_.js → vue-ui-candlestick-CMP7UL6z.js} +201 -181
  81. package/dist/{vue-ui-carousel-table-Dv1CDfE5.js → vue-ui-carousel-table-CzOcKsDj.js} +2 -2
  82. package/dist/{vue-ui-chestnut-D9sdFZ4E.js → vue-ui-chestnut-S787oASt.js} +375 -355
  83. package/dist/vue-ui-chord-Dl9Y4mcz.js +1153 -0
  84. package/dist/{vue-ui-circle-pack-Be74QB_0.js → vue-ui-circle-pack-CU09BzOV.js} +289 -269
  85. package/dist/{vue-ui-cursor-ik59bfC4.js → vue-ui-cursor-C3yD_TUr.js} +1 -1
  86. package/dist/vue-ui-dashboard-BfEcVRxQ.js +432 -0
  87. package/dist/{vue-ui-digits-ByNNcWXi.js → vue-ui-digits-pRh179Gg.js} +1 -1
  88. package/dist/{vue-ui-donut-BRGFcgxS.js → vue-ui-donut-B_tEm4dT.js} +462 -442
  89. package/dist/{vue-ui-donut-evolution-DJ0C-7jH.js → vue-ui-donut-evolution-DiGhMwMO.js} +293 -273
  90. package/dist/{vue-ui-dumbbell-iQJ0BUhm.js → vue-ui-dumbbell-BlF3CLbN.js} +210 -190
  91. package/dist/{vue-ui-flow-CTYFoib3.js → vue-ui-flow-BQi5L8mJ.js} +339 -319
  92. package/dist/{vue-ui-funnel-CG55Xcdy.js → vue-ui-funnel-CM_6Sare.js} +218 -198
  93. package/dist/{vue-ui-galaxy-BQrxjKZJ.js → vue-ui-galaxy-BnZA62Li.js} +201 -181
  94. package/dist/{vue-ui-gauge-Tc-0NI0Y.js → vue-ui-gauge-DAk72bez.js} +311 -291
  95. package/dist/{vue-ui-gizmo-P8h-gnLd.js → vue-ui-gizmo-BQzQlUJ8.js} +2 -2
  96. package/dist/{vue-ui-heatmap-BZimPzsL.js → vue-ui-heatmap-C9MhHWpp.js} +303 -283
  97. package/dist/{vue-ui-history-plot-BVzbuqYY.js → vue-ui-history-plot-BYQh3E8U.js} +229 -209
  98. package/dist/{vue-ui-kpi-BGGff8LM.js → vue-ui-kpi-jcrPjW4C.js} +2 -2
  99. package/dist/{vue-ui-mini-loader-CSF-7TJL.js → vue-ui-mini-loader-DTM98mRN.js} +1 -1
  100. package/dist/{vue-ui-molecule-BALqwB8c.js → vue-ui-molecule-Bd1OXvl3.js} +156 -136
  101. package/dist/{vue-ui-mood-radar-QJ5nlZby.js → vue-ui-mood-radar-DuoiTsYn.js} +266 -246
  102. package/dist/{vue-ui-nested-donuts-CmUabkkQ.js → vue-ui-nested-donuts-BTswQFjz.js} +506 -486
  103. package/dist/{vue-ui-onion-DAOCf3f8.js → vue-ui-onion-D-1U2Qgl.js} +220 -200
  104. package/dist/{vue-ui-parallel-coordinate-plot-D8jTuFjq.js → vue-ui-parallel-coordinate-plot-D-7VFHas.js} +235 -215
  105. package/dist/{vue-ui-quadrant-CO52mSRY.js → vue-ui-quadrant-CeM23s0z.js} +463 -443
  106. package/dist/{vue-ui-quick-chart-DEaVSldE.js → vue-ui-quick-chart-C0RMQzjC.js} +288 -268
  107. package/dist/{vue-ui-radar-C5V4hhbW.js → vue-ui-radar-BSfxyur3.js} +331 -311
  108. package/dist/{vue-ui-rating-CiMoFM_c.js → vue-ui-rating-tj97undO.js} +1 -1
  109. package/dist/{vue-ui-relation-circle-CbMM0Jka.js → vue-ui-relation-circle-C7uV2mIj.js} +228 -208
  110. package/dist/{vue-ui-ridgeline-CXCIRDq6.js → vue-ui-ridgeline-CYMfTlwI.js} +242 -222
  111. package/dist/{vue-ui-rings-BpUcyqo7.js → vue-ui-rings-C96aj57d.js} +189 -169
  112. package/dist/{vue-ui-scatter--Dxe-hfO.js → vue-ui-scatter-CtvOXUnx.js} +275 -255
  113. package/dist/{vue-ui-skeleton-BWq-VDzg.js → vue-ui-skeleton-87TORm6s.js} +2 -2
  114. package/dist/{vue-ui-smiley-sGFRbn31.js → vue-ui-smiley-B74geHT3.js} +1 -1
  115. package/dist/{vue-ui-spark-trend-T4J_YOa_.js → vue-ui-spark-trend-6_Ibziyv.js} +2 -2
  116. package/dist/{vue-ui-sparkbar-DnKP55Vu.js → vue-ui-sparkbar-BDCocMLI.js} +2 -2
  117. package/dist/{vue-ui-sparkgauge-BDQLP-zi.js → vue-ui-sparkgauge-CQ4Zk9-f.js} +2 -2
  118. package/dist/{vue-ui-sparkhistogram-Dm7QXrA-.js → vue-ui-sparkhistogram-BlTV9wfn.js} +143 -140
  119. package/dist/{vue-ui-sparkline-tXGDLHRy.js → vue-ui-sparkline-DWESyiqL.js} +2 -2
  120. package/dist/{vue-ui-sparkstackbar-M53Nt07M.js → vue-ui-sparkstackbar-DK_7X8mL.js} +2 -2
  121. package/dist/vue-ui-stackbar-BWuw8ff4.js +1827 -0
  122. package/dist/{vue-ui-strip-plot-BX9i3wMn.js → vue-ui-strip-plot-C1N2n39d.js} +245 -225
  123. package/dist/{vue-ui-table-7r02N9R9.js → vue-ui-table-CcuoPHgI.js} +3 -3
  124. package/dist/{vue-ui-table-heatmap-BqCEBoUf.js → vue-ui-table-heatmap-C9EMEM3Z.js} +1 -1
  125. package/dist/{vue-ui-table-sparkline-DZaAh10E.js → vue-ui-table-sparkline-BAxmZRff.js} +2 -2
  126. package/dist/vue-ui-thermometer-CDrM-WFq.js +584 -0
  127. package/dist/{vue-ui-timer-Ds-MJoW2.js → vue-ui-timer-BVsUQJz_.js} +3 -3
  128. package/dist/vue-ui-tiremarks-BQH2pNkG.js +450 -0
  129. package/dist/{vue-ui-treemap-BEvl8hiw.js → vue-ui-treemap-6WLoCHsH.js} +453 -433
  130. package/dist/{vue-ui-vertical-bar-D8dtM8sw.js → vue-ui-vertical-bar-B3gfBqD_.js} +323 -303
  131. package/dist/{vue-ui-waffle-B3q-2SCR.js → vue-ui-waffle-Bhlqo4xM.js} +219 -199
  132. package/dist/vue-ui-wheel-CqHw1WuW.js +663 -0
  133. package/dist/{vue-ui-word-cloud-ChT7uLbN.js → vue-ui-word-cloud-CKuWZGLv.js} +248 -228
  134. package/dist/{vue-ui-world-CdP4g_3_.js → vue-ui-world-C8KVyDim.js} +287 -267
  135. package/dist/{vue-ui-xy-B68qQ-gX.js → vue-ui-xy-Cz2qIEfi.js} +389 -369
  136. package/dist/{vue-ui-xy-canvas-DDngEA1s.js → vue-ui-xy-canvas-y4h7gEFp.js} +4 -4
  137. package/package.json +4 -4
  138. package/dist/PenAndPaper-DSvu9dwa.js +0 -373
  139. package/dist/vue-ui-chord-BG4dxKNA.js +0 -1133
  140. package/dist/vue-ui-dashboard-C4BLwHey.js +0 -412
  141. package/dist/vue-ui-stackbar-CkBOjryQ.js +0 -1724
  142. package/dist/vue-ui-thermometer-CFPt3MOv.js +0 -564
  143. package/dist/vue-ui-tiremarks-2eIQ6vxu.js +0 -430
  144. package/dist/vue-ui-wheel-BpirIgAG.js +0 -643
@@ -1,7 +1,7 @@
1
- import { defineAsyncComponent as P, computed as g, ref as h, toRefs as Et, watch as le, shallowRef as tt, onMounted as lt, onBeforeUnmount as at, watchEffect as Rt, createElementBlock as v, openBlock as n, unref as i, normalizeStyle as ae, normalizeClass as st, createBlock as O, createCommentVNode as y, createElementVNode as c, createSlots as ot, withCtx as p, renderSlot as x, normalizeProps as se, guardReactiveProps as oe, createVNode as nt, withDirectives as Y, Fragment as C, renderList as A, toDisplayString as _, vShow as j, Teleport as Bt, createTextVNode as we, resolveDynamicComponent as Vt, mergeProps as Ut, nextTick as Wt } from "vue";
2
- import { c as rt, t as qt, o as Yt, f as ut, g as jt, x as it, m as Qt, d as w, a as H, X as ct, s as vt, S as Q, U as Z, P as Zt, Q as Jt } from "./lib-C_mNZmhD.js";
1
+ import { defineAsyncComponent as G, computed as g, ref as h, toRefs as Et, watch as se, shallowRef as tt, onMounted as lt, onBeforeUnmount as at, watchEffect as Rt, createElementBlock as v, openBlock as n, unref as i, normalizeStyle as oe, normalizeClass as st, createBlock as I, createCommentVNode as y, createElementVNode as c, withCtx as m, renderSlot as p, normalizeProps as A, guardReactiveProps as S, createSlots as ot, createVNode as nt, withDirectives as Q, Fragment as C, renderList as N, toDisplayString as _, vShow as Z, Teleport as Bt, createTextVNode as we, resolveDynamicComponent as Vt, mergeProps as Ut, nextTick as Wt } from "vue";
2
+ import { c as rt, t as qt, o as Yt, f as ut, g as jt, x as it, m as Qt, d as w, a as E, X as ct, s as vt, S as J, U as K, P as Zt, Q as Jt } from "./lib-C_mNZmhD.js";
3
3
  import { t as $e, u as Kt } from "./useResponsive-DfdjqQps.js";
4
- import { u as el, a as dt } from "./useNestedProp-BjZe1Y85.js";
4
+ import { u as el, a as dt } from "./useNestedProp-CReNavA0.js";
5
5
  import { u as tl } from "./usePrinter-DTzqpYKF.js";
6
6
  import { u as ll, B as al } from "./BaseScanner-BgWxam9d.js";
7
7
  import { u as sl } from "./useSvgExport-DrjCWun4.js";
@@ -9,7 +9,7 @@ import { u as ol } from "./useUserOptionState-BIvW1Kz7.js";
9
9
  import { u as nl } from "./useChartAccessibility-9icAAmYg.js";
10
10
  import { u as rl } from "./useTimeLabelCollider-CIsgDrl9.js";
11
11
  import ul from "./img-BecE5qXd.js";
12
- import il from "./Title-l36lOBMx.js";
12
+ import il from "./Title-BzH_LEA3.js";
13
13
  import { t as cl } from "./themes-AUNCOb2G.js";
14
14
  import vl from "./Legend-G6GMcdAc.js";
15
15
  import { _ as dl } from "./_plugin-vue_export-helper-CHgC5LLL.js";
@@ -34,15 +34,15 @@ const hl = ["id"], fl = ["id"], bl = ["xmlns", "viewBox"], yl = ["x", "y", "widt
34
34
  },
35
35
  emits: ["selectDatapoint"],
36
36
  setup(ht, { expose: ft, emit: _a }) {
37
- const bt = P(() => import("./BaseIcon-BmMbm4d0.js")), yt = P(() => import("./vue-ui-accordion-CZ0thhxa.js")), gt = P(() => import("./DataTable-BT7VF2ua.js")), mt = P(() => import("./PenAndPaper-DSvu9dwa.js")), pt = P(() => import("./UserOptions-CGnQt6Fd.js")), xt = P(() => import("./PackageVersion-Cyx_s25h.js")), _t = P(() => import("./BaseDraggableDialog-ymf2sfB8.js")), { vue_ui_dumbbell: kt } = el(), S = ht, J = g({
37
+ const bt = G(() => import("./BaseIcon-BmMbm4d0.js")), yt = G(() => import("./vue-ui-accordion-BmFTVF1a.js")), gt = G(() => import("./DataTable-BT7VF2ua.js")), mt = G(() => import("./PenAndPaper-SZQIAgkg.js")), pt = G(() => import("./UserOptions-CGnQt6Fd.js")), xt = G(() => import("./PackageVersion-Y7t79Jtq.js")), _t = G(() => import("./BaseDraggableDialog-ymf2sfB8.js")), { vue_ui_dumbbell: kt } = el(), M = ht, ee = g({
38
38
  get() {
39
- return !!S.dataset && S.dataset.length;
39
+ return !!M.dataset && M.dataset.length;
40
40
  },
41
41
  set(l) {
42
42
  return l;
43
43
  }
44
- }), f = h(rt()), Le = h(0), N = h(null), Ae = h(null), Se = h(null), Ne = h(null), Me = h(null), Xe = h(0), ze = h(0), Te = h(0), Oe = h(!1), U = h(null), ne = h(null), re = h(null), ue = h(null), K = h(null), ie = h(null), D = h(null), r = h(null), I = h(!1), e = h(fe()), { loading: ce, FINAL_DATASET: ve, manualLoading: Ct } = ll({
45
- ...Et(S),
44
+ }), f = h(rt()), Le = h(0), X = h(null), Ae = h(null), Se = h(null), Ne = h(null), Me = h(null), Xe = h(0), ze = h(0), Te = h(0), Oe = h(!1), q = h(null), ne = h(null), re = h(null), ue = h(null), te = h(null), ie = h(null), F = h(null), r = h(null), P = h(!1), e = h(fe()), { loading: ce, FINAL_DATASET: ve, manualLoading: Ct } = ll({
45
+ ...Et(M),
46
46
  FINAL_CONFIG: e,
47
47
  prepareConfig: fe,
48
48
  skeletonDataset: [
@@ -97,37 +97,37 @@ const hl = ["id"], fl = ["id"], bl = ["xmlns", "viewBox"], yl = ["x", "y", "widt
97
97
  }), { userOptionsVisible: de, setUserOptionsVisibility: De, keepUserOptionState: Ie } = ol({ config: e.value }), { svgRef: he } = nl({ config: e.value.style.chart.title });
98
98
  function fe() {
99
99
  const l = dt({
100
- userConfig: S.config,
100
+ userConfig: M.config,
101
101
  defaultConfig: kt
102
102
  });
103
103
  return l.theme ? {
104
104
  ...dt({
105
- userConfig: cl.vue_ui_dumbbell[l.theme] || S.config,
105
+ userConfig: cl.vue_ui_dumbbell[l.theme] || M.config,
106
106
  defaultConfig: l
107
107
  })
108
108
  } : l;
109
109
  }
110
- le(() => S.config, (l) => {
111
- ce.value || (e.value = fe()), de.value = !e.value.userOptions.showOnChartHover, Pe(), Xe.value += 1, ze.value += 1, Te.value += 1, R.value = e.value.style.chart.rowHeight, B.value = e.value.style.chart.width, F.value.showTable = e.value.table.show;
112
- }, { deep: !0 }), le(() => ve.value, (l) => {
110
+ se(() => M.config, (l) => {
111
+ ce.value || (e.value = fe()), de.value = !e.value.userOptions.showOnChartHover, Pe(), Xe.value += 1, ze.value += 1, Te.value += 1, V.value = e.value.style.chart.rowHeight, U.value = e.value.style.chart.width, H.value.showTable = e.value.table.show;
112
+ }, { deep: !0 }), se(() => ve.value, (l) => {
113
113
  Array.isArray(l) && l.length > 0 && (Ct.value = !1), We(), qe();
114
114
  }, { deep: !0 });
115
- const M = tt(null), G = tt(null);
115
+ const z = tt(null), R = tt(null);
116
116
  lt(() => {
117
117
  Oe.value = !0, Pe();
118
118
  });
119
119
  const Fe = g(() => !!e.value.debug);
120
120
  function Pe() {
121
- if (Yt(S.dataset) ? ut({
121
+ if (Yt(M.dataset) ? ut({
122
122
  componentName: "VueUiDumbbell",
123
123
  type: "dataset",
124
124
  debug: Fe.value
125
- }) : S.dataset.forEach((l, s) => {
125
+ }) : M.dataset.forEach((l, s) => {
126
126
  jt({
127
127
  datasetObject: l,
128
128
  requiredAttributes: ["name", "start", "end"]
129
129
  }).forEach((t) => {
130
- J.value = !1, ut({
130
+ ee.value = !1, ut({
131
131
  componentName: "VueUiDumbbell",
132
132
  type: "datasetSerieAttribute",
133
133
  property: t,
@@ -138,44 +138,44 @@ const hl = ["id"], fl = ["id"], bl = ["xmlns", "viewBox"], yl = ["x", "y", "widt
138
138
  }), e.value.responsive) {
139
139
  const l = $e(() => {
140
140
  const { width: s, height: t } = Kt({
141
- chart: N.value,
141
+ chart: X.value,
142
142
  title: e.value.style.chart.title.text ? Ae.value : null,
143
143
  legend: e.value.style.chart.legend.show ? Se.value : null,
144
144
  source: Ne.value,
145
145
  noTitle: Me.value
146
146
  }), a = e.value.style.chart.title.text ? 24 : 0, u = e.value.style.chart.legend.show ? 24 : 0;
147
147
  requestAnimationFrame(async () => {
148
- B.value = Math.max(0.1, s), R.value = Math.max(0.1, (Math.max(0.1, t) - (a + u)) / ve.value.length), Ze();
148
+ U.value = Math.max(0.1, s), V.value = Math.max(0.1, (Math.max(0.1, t) - (a + u)) / ve.value.length), Ze();
149
149
  });
150
150
  });
151
- M.value && (G.value && M.value.unobserve(G.value), M.value.disconnect()), M.value = new ResizeObserver(l), G.value = N.value.parentNode, M.value.observe(G.value);
151
+ z.value && (R.value && z.value.unobserve(R.value), z.value.disconnect()), z.value = new ResizeObserver(l), R.value = X.value.parentNode, z.value.observe(R.value);
152
152
  }
153
153
  Ze();
154
154
  }
155
155
  at(() => {
156
- L.value != null && (cancelAnimationFrame(L.value), L.value = null), M.value && (G.value && M.value.unobserve(G.value), M.value.disconnect());
156
+ L.value != null && (cancelAnimationFrame(L.value), L.value = null), z.value && (R.value && z.value.unobserve(R.value), z.value.disconnect());
157
157
  });
158
158
  const { isPrinting: He, isImaging: Ge, generatePdf: Ee, generateImage: Re } = tl({
159
159
  elementId: `dumbbell_${f.value}`,
160
160
  fileName: e.value.style.chart.title.text || "vue-ui-dumbbell",
161
161
  options: e.value.userOptions.print
162
- }), wt = g(() => e.value.userOptions.show && !e.value.style.chart.title.text), F = h({
162
+ }), wt = g(() => e.value.userOptions.show && !e.value.style.chart.title.text), H = h({
163
163
  showTable: e.value.table.show
164
164
  });
165
- le(e, () => {
166
- F.value = {
165
+ se(e, () => {
166
+ H.value = {
167
167
  showTable: e.value.table.show
168
168
  };
169
169
  }, { immediate: !0 });
170
- const E = g(() => ve.value.map((l, s) => ({
170
+ const B = g(() => ve.value.map((l, s) => ({
171
171
  ...l,
172
172
  start: it(l.start),
173
173
  end: it(l.end),
174
174
  id: l.id ?? `${String(l.name)}__${String(l.start)}__${String(l.end)}__${rt()}`
175
175
  }))), Be = g(() => {
176
- const l = e.value.style.chart.grid, s = E.value.flatMap((b) => [b.start, b.end]).map((b) => Number(b)).filter((b) => Number.isFinite(b)), 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;
176
+ const l = e.value.style.chart.grid, s = B.value.flatMap((b) => [b.start, b.end]).map((b) => Number(b)).filter((b) => Number.isFinite(b)), 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;
177
177
  return { min: u, max: d };
178
- }), $ = g(() => Qt(Be.value.min, Be.value.max, e.value.style.chart.grid.scaleSteps)), R = h(e.value.style.chart.rowHeight), B = h(e.value.style.chart.width);
178
+ }), $ = g(() => Qt(Be.value.min, Be.value.max, e.value.style.chart.grid.scaleSteps)), V = h(e.value.style.chart.rowHeight), U = h(e.value.style.chart.width);
179
179
  function $t() {
180
180
  let l = 0;
181
181
  ue.value && (l = Array.from(ue.value.querySelectorAll("text")).reduce((a, u) => {
@@ -189,7 +189,7 @@ const hl = ["id"], fl = ["id"], bl = ["xmlns", "viewBox"], yl = ["x", "y", "widt
189
189
  be.value = l;
190
190
  }, 100);
191
191
  Rt((l) => {
192
- const s = K.value;
192
+ const s = te.value;
193
193
  if (!s) return;
194
194
  const t = new ResizeObserver((a) => {
195
195
  Lt(a[0].contentRect.height);
@@ -199,45 +199,45 @@ const hl = ["id"], fl = ["id"], bl = ["xmlns", "viewBox"], yl = ["x", "y", "widt
199
199
  be.value = 0;
200
200
  });
201
201
  const Ve = g(() => {
202
- I.value;
202
+ P.value;
203
203
  let l = 0;
204
204
  ie.value && (l = ie.value.getBBox().height);
205
205
  let s = 0;
206
- return K.value && (s = be.value), l + s;
207
- }), ye = g(() => E.value.length);
206
+ return te.value && (s = be.value), l + s;
207
+ }), ye = g(() => B.value.length);
208
208
  function Ue(l, s, t) {
209
209
  const a = Number(l), u = Number(s.min), d = Number(s.max), b = Number(t.width);
210
210
  if (!Number.isFinite(a) || !Number.isFinite(u) || !Number.isFinite(d) || !Number.isFinite(b))
211
211
  return t.left;
212
- const m = d - u;
213
- return m <= 0 ? t.left : t.left + (a - u) / m * b;
212
+ const x = d - u;
213
+ return x <= 0 ? t.left : t.left + (a - u) / x * b;
214
214
  }
215
215
  const o = g(() => {
216
- I.value;
217
- const l = $t(), 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 - Ve.value - s.top - s.bottom - t, u = a / ye.value, d = R.value * ye.value, b = B.value - l - s.left - s.right, m = $.value.ticks.length * (b / $.value.ticks.length);
216
+ P.value;
217
+ const l = $t(), s = e.value.style.chart.padding, t = e.value.style.chart.labels.axis.xLabel ? e.value.style.chart.labels.axis.xLabelOffsetY : 0, a = V.value * ye.value - Ve.value - s.top - s.bottom - t, u = a / ye.value, d = V.value * ye.value, b = U.value - l - s.left - s.right, x = $.value.ticks.length * (b / $.value.ticks.length);
218
218
  return {
219
219
  left: e.value.style.chart.padding.left + l,
220
- right: B.value - e.value.style.chart.padding.right,
220
+ right: U.value - e.value.style.chart.padding.right,
221
221
  top: e.value.style.chart.padding.top,
222
222
  bottom: d - e.value.style.chart.padding.bottom - Ve.value - t,
223
223
  width: b,
224
224
  height: a,
225
225
  rowHeight: u,
226
226
  absoluteHeight: d,
227
- widthPlotReference: m
227
+ widthPlotReference: x
228
228
  };
229
- }), X = g(() => Math.min(R.value / 2 * 0.7, e.value.style.chart.plots.radius)), W = h([]), k = g({
229
+ }), T = g(() => Math.min(V.value / 2 * 0.7, e.value.style.chart.plots.radius)), Y = h([]), k = g({
230
230
  get() {
231
231
  const l = o.value, s = $.value;
232
- return W.value.map((t, a) => {
233
- const u = Ue(t.start, s, l), d = Ue(t.endVal, s, l), b = 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, et = ![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), Gt = m ? e.value.style.chart.plots.evaluationColors.positive : T ? e.value.style.chart.plots.evaluationColors.negative : e.value.style.chart.plots.evaluationColors.neutral;
232
+ return Y.value.map((t, a) => {
233
+ const u = Ue(t.start, s, l), d = Ue(t.endVal, s, l), b = u + (d - u) / 2, x = ![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, et = ![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), Gt = x ? e.value.style.chart.plots.evaluationColors.positive : D ? e.value.style.chart.plots.evaluationColors.negative : e.value.style.chart.plots.evaluationColors.neutral;
234
234
  return {
235
235
  ...t,
236
- isPositive: m,
237
- isNegative: T,
236
+ isPositive: x,
237
+ isNegative: D,
238
238
  isNeutral: et,
239
239
  evaluationColor: Gt,
240
- evaluationGrad: `url(#${m ? "positive" : T ? "negative" : "neutral"}_grad_${f.value})`,
240
+ evaluationGrad: `url(#${x ? "positive" : D ? "negative" : "neutral"}_grad_${f.value})`,
241
241
  startX: u,
242
242
  endX: d,
243
243
  centerX: b,
@@ -246,11 +246,11 @@ const hl = ["id"], fl = ["id"], bl = ["xmlns", "viewBox"], yl = ["x", "y", "widt
246
246
  });
247
247
  },
248
248
  set(l) {
249
- W.value = l;
249
+ Y.value = l;
250
250
  }
251
251
  });
252
252
  function We() {
253
- W.value = E.value.map((l) => {
253
+ Y.value = B.value.map((l) => {
254
254
  const s = Number(l.start);
255
255
  return {
256
256
  ...l,
@@ -264,20 +264,20 @@ const hl = ["id"], fl = ["id"], bl = ["xmlns", "viewBox"], yl = ["x", "y", "widt
264
264
  });
265
265
  function qe() {
266
266
  if (L.value != null && (cancelAnimationFrame(L.value), L.value = null), We(), !e.value.useAnimation) {
267
- k.value = W.value.map((a) => {
267
+ k.value = Y.value.map((a) => {
268
268
  const u = Number(a.end);
269
269
  return { ...a, endVal: Number.isFinite(u) ? u : a.endVal };
270
270
  });
271
271
  return;
272
272
  }
273
- const l = Math.max(1, Math.min(100, e.value.animationSpeed || 100)) / 100, s = E.value.map((a) => {
273
+ const l = Math.max(1, Math.min(100, e.value.animationSpeed || 100)) / 100, s = B.value.map((a) => {
274
274
  const u = Number(a.start), d = Number(a.end), b = Number.isFinite(u) ? u : 0;
275
275
  return (Number.isFinite(d) ? d : b) - b;
276
276
  }), t = () => {
277
277
  let a = !0;
278
- k.value = W.value.map((u, d) => {
279
- const b = Number.isFinite(Number(u.end)) ? Number(u.end) : u.endVal, m = u.endVal + s[d] * l, T = s[d] >= 0 ? Math.min(m, b) : Math.max(m, b);
280
- return T !== b && (a = !1), { ...u, endVal: T };
278
+ k.value = Y.value.map((u, d) => {
279
+ const b = Number.isFinite(Number(u.end)) ? Number(u.end) : u.endVal, x = u.endVal + s[d] * l, D = s[d] >= 0 ? Math.min(x, b) : Math.max(x, b);
280
+ return D !== b && (a = !1), { ...u, endVal: D };
281
281
  }), a ? L.value = null : L.value = requestAnimationFrame(t);
282
282
  };
283
283
  L.value = requestAnimationFrame(t);
@@ -297,7 +297,7 @@ const hl = ["id"], fl = ["id"], bl = ["xmlns", "viewBox"], yl = ["x", "y", "widt
297
297
  paddingBottom: 12,
298
298
  paddingTop: 12,
299
299
  fontWeight: e.value.style.chart.legend.bold ? "bold" : ""
300
- })), z = g(() => {
300
+ })), O = g(() => {
301
301
  const l = k.value.map((t) => ({
302
302
  name: t.name
303
303
  })), s = k.value.map((t) => ({
@@ -305,33 +305,33 @@ const hl = ["id"], fl = ["id"], bl = ["xmlns", "viewBox"], yl = ["x", "y", "widt
305
305
  end: t.end
306
306
  }));
307
307
  return { head: l, body: s };
308
- }), ee = g(() => {
308
+ }), le = g(() => {
309
309
  const l = [
310
310
  e.value.table.columnNames.series,
311
311
  e.value.table.columnNames.start,
312
312
  e.value.table.columnNames.end,
313
313
  e.value.table.columnNames.progression
314
- ], s = z.value.head.map((u, d) => {
314
+ ], s = O.value.head.map((u, d) => {
315
315
  const b = w({
316
316
  p: e.value.style.chart.labels.prefix,
317
- v: z.value.body[d].start,
317
+ v: O.value.body[d].start,
318
318
  s: e.value.style.chart.labels.suffix,
319
319
  r: e.value.table.td.roundingValue
320
- }), m = w({
320
+ }), x = w({
321
321
  p: e.value.style.chart.labels.prefix,
322
- v: z.value.body[d].end,
322
+ v: O.value.body[d].end,
323
323
  s: e.value.style.chart.labels.suffix,
324
324
  r: e.value.table.td.roundingValue
325
- }), T = w({
326
- v: 100 * (z.value.body[d].end / z.value.body[d].start - 1),
325
+ }), D = w({
326
+ v: 100 * (O.value.body[d].end / O.value.body[d].start - 1),
327
327
  s: "%",
328
328
  r: e.value.table.td.roundingPercentage
329
329
  });
330
330
  return [
331
331
  { name: u.name },
332
332
  b,
333
- m,
334
- T
333
+ x,
334
+ D
335
335
  ];
336
336
  }), t = {
337
337
  th: {
@@ -360,29 +360,29 @@ const hl = ["id"], fl = ["id"], bl = ["xmlns", "viewBox"], yl = ["x", "y", "widt
360
360
  });
361
361
  function me(l = null) {
362
362
  Wt(() => {
363
- const s = z.value.head.map((u, d) => [[
363
+ const s = O.value.head.map((u, d) => [[
364
364
  u.name
365
- ], [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 = Zt(t);
365
+ ], [O.value.body[d].start], [O.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 = Zt(t);
366
366
  l ? l(a) : Jt({ csvContent: a, title: e.value.style.chart.title.text || "vue-ui-dumbbell" });
367
367
  });
368
368
  }
369
- const V = h(!1);
369
+ const W = h(!1);
370
370
  function Ye(l) {
371
- V.value = l, Le.value += 1;
371
+ W.value = l, Le.value += 1;
372
372
  }
373
373
  function St() {
374
- return E.value;
374
+ return B.value;
375
375
  }
376
376
  function je() {
377
- F.value.showTable = !F.value.showTable;
377
+ H.value.showTable = !H.value.showTable;
378
378
  }
379
- const te = h(!1);
379
+ const ae = h(!1);
380
380
  function pe() {
381
- te.value = !te.value;
381
+ ae.value = !ae.value;
382
382
  }
383
383
  async function Nt({ scale: l = 2 } = {}) {
384
- if (!N.value) return;
385
- const { width: s, height: t } = N.value.getBoundingClientRect(), a = s / t, { imageUri: u, base64: d } = await ul({ domElement: N.value, base64: !0, img: !0, scale: l });
384
+ if (!X.value) return;
385
+ const { width: s, height: t } = X.value.getBoundingClientRect(), a = s / t, { imageUri: u, base64: d } = await ul({ domElement: X.value, base64: !0, img: !0, scale: l });
386
386
  return {
387
387
  imageUri: u,
388
388
  base64: d,
@@ -394,15 +394,15 @@ const hl = ["id"], fl = ["id"], bl = ["xmlns", "viewBox"], yl = ["x", "y", "widt
394
394
  }
395
395
  const Qe = g(() => $.value.ticks), Mt = g(() => ({ start: 0, end: Qe.value.length }));
396
396
  rl({
397
- timeLabelsEls: K,
397
+ timeLabelsEls: te,
398
398
  timeLabels: Qe,
399
399
  slicer: Mt,
400
400
  configRef: e,
401
401
  rotationPath: ["style", "chart", "labels", "xAxisLabels", "rotation"],
402
402
  autoRotatePath: ["style", "chart", "labels", "xAxisLabels", "autoRotate", "enable"],
403
403
  isAutoSize: !1,
404
- width: B,
405
- height: R,
404
+ width: U,
405
+ height: V,
406
406
  targetClass: ".vue-ui-dumbbell-scale-label",
407
407
  rotation: e.value.style.chart.labels.xAxisLabels.autoRotate.angle
408
408
  });
@@ -419,11 +419,11 @@ const hl = ["id"], fl = ["id"], bl = ["xmlns", "viewBox"], yl = ["x", "y", "widt
419
419
  let l = null, s = 0;
420
420
  const t = 1;
421
421
  return (a) => {
422
- if (a === I.value) {
422
+ if (a === P.value) {
423
423
  l = null, s = 0;
424
424
  return;
425
425
  }
426
- l === null || l !== a ? (l = a, s = 1) : (s += 1, s >= t && (I.value = a, l = null, s = 0));
426
+ l === null || l !== a ? (l = a, s = 1) : (s += 1, s >= t && (P.value = a, l = null, s = 0));
427
427
  };
428
428
  })(), Ze = $e(() => {
429
429
  requestAnimationFrame(() => {
@@ -438,10 +438,10 @@ const hl = ["id"], fl = ["id"], bl = ["xmlns", "viewBox"], yl = ["x", "y", "widt
438
438
  });
439
439
  }, 100);
440
440
  function xe({ datapoint: l, seriesIndex: s }) {
441
- D.value = s, r.value = l, e.value.events.datapointEnter && e.value.events.datapointEnter({ datapoint: l, seriesIndex: s });
441
+ F.value = s, r.value = l, e.value.events.datapointEnter && e.value.events.datapointEnter({ datapoint: l, seriesIndex: s });
442
442
  }
443
443
  function _e({ datapoint: l, seriesIndex: s }) {
444
- D.value = null, r.value = null, e.value.events.datapointLeave && e.value.events.datapointLeave({ datapoint: l, seriesIndex: s });
444
+ F.value = null, r.value = null, e.value.events.datapointLeave && e.value.events.datapointLeave({ datapoint: l, seriesIndex: s });
445
445
  }
446
446
  function ke({ datapoint: l, seriesIndex: s }) {
447
447
  e.value.events.datapointClick && e.value.events.datapointClick({ datapoint: l, seriesIndex: s });
@@ -454,7 +454,7 @@ const hl = ["id"], fl = ["id"], bl = ["xmlns", "viewBox"], yl = ["x", "y", "widt
454
454
  if (r.value === null) return "";
455
455
  const l = ![null, void 0].includes(r.value.start), s = ![null, void 0].includes(r.value.end);
456
456
  let t = "", a = "";
457
- return l && (t = H(
457
+ return l && (t = E(
458
458
  e.value.style.chart.labels.formatter,
459
459
  r.value.start,
460
460
  w({
@@ -463,8 +463,8 @@ const hl = ["id"], fl = ["id"], bl = ["xmlns", "viewBox"], yl = ["x", "y", "widt
463
463
  s: e.value.style.chart.labels.suffix,
464
464
  r: e.value.style.chart.labels.startLabels.rounding
465
465
  }),
466
- { datapoint: r.value, seriesIndex: D.value }
467
- )), s && (a = H(
466
+ { datapoint: r.value, seriesIndex: F.value }
467
+ )), s && (a = E(
468
468
  e.value.style.chart.labels.formatter,
469
469
  r.value.end,
470
470
  w({
@@ -473,10 +473,10 @@ const hl = ["id"], fl = ["id"], bl = ["xmlns", "viewBox"], yl = ["x", "y", "widt
473
473
  s: e.value.style.chart.labels.suffix,
474
474
  r: e.value.style.chart.labels.startLabels.rounding
475
475
  }),
476
- { datapoint: r.value, seriesIndex: D.value }
476
+ { datapoint: r.value, seriesIndex: F.value }
477
477
  )), l && s ? `${t} → ${a}` : l && !s ? t : s && !l ? a : "";
478
- }), q = g(() => {
479
- const l = e.value.table.useDialog && !e.value.table.show, s = F.value.showTable;
478
+ }), j = g(() => {
479
+ const l = e.value.table.useDialog && !e.value.table.show, s = H.value.showTable;
480
480
  return {
481
481
  component: l ? _t : yt,
482
482
  title: `${e.value.style.chart.title.text}${e.value.style.chart.title.subtitle.text ? `: ${e.value.style.chart.title.subtitle.text}` : ""}`,
@@ -485,8 +485,8 @@ const hl = ["id"], fl = ["id"], bl = ["xmlns", "viewBox"], yl = ["x", "y", "widt
485
485
  color: e.value.table.th.color,
486
486
  headerColor: e.value.table.th.color,
487
487
  headerBg: e.value.table.th.backgroundColor,
488
- isFullscreen: V.value,
489
- fullscreenParent: N.value,
488
+ isFullscreen: W.value,
489
+ fullscreenParent: X.value,
490
490
  forcedWidth: Math.min(800, window.innerWidth * 0.8)
491
491
  } : {
492
492
  hideDetails: !0,
@@ -505,11 +505,11 @@ const hl = ["id"], fl = ["id"], bl = ["xmlns", "viewBox"], yl = ["x", "y", "widt
505
505
  }
506
506
  };
507
507
  });
508
- le(() => F.value.showTable, (l) => {
509
- e.value.table.show || (l && e.value.table.useDialog && U.value ? U.value.open() : "close" in U.value && U.value.close());
508
+ se(() => H.value.showTable, (l) => {
509
+ e.value.table.show || (l && e.value.table.useDialog && q.value ? q.value.open() : "close" in q.value && q.value.close());
510
510
  });
511
511
  function Je() {
512
- F.value.showTable = !1, ne.value && ne.value.setTableIconState(!1);
512
+ H.value.showTable = !1, ne.value && ne.value.setTableIconState(!1);
513
513
  }
514
514
  const Ot = g(() => ge.value.map((l) => ({
515
515
  ...l,
@@ -540,21 +540,41 @@ const hl = ["id"], fl = ["id"], bl = ["xmlns", "viewBox"], yl = ["x", "y", "widt
540
540
  toggleFullscreen: Ye
541
541
  }), (l, s) => (n(), v("div", {
542
542
  ref_key: "dumbbellChart",
543
- ref: N,
544
- class: st(`vue-data-ui-component vue-ui-dumbbell ${V.value ? "vue-data-ui-wrapper-fullscreen" : ""}`),
545
- style: ae(`font-family:${e.value.style.fontFamily};width:100%; text-align:center;background:${e.value.style.chart.backgroundColor};${e.value.responsive ? "height:100%" : ""}`),
543
+ ref: X,
544
+ class: st(`vue-data-ui-component vue-ui-dumbbell ${W.value ? "vue-data-ui-wrapper-fullscreen" : ""}`),
545
+ style: oe(`font-family:${e.value.style.fontFamily};width:100%; text-align:center;background:${e.value.style.chart.backgroundColor};${e.value.responsive ? "height:100%" : ""}`),
546
546
  id: `dumbbell_${f.value}`,
547
547
  onMouseenter: s[1] || (s[1] = () => i(De)(!0)),
548
548
  onMouseleave: s[2] || (s[2] = () => i(De)(!1))
549
549
  }, [
550
- e.value.userOptions.buttons.annotator ? (n(), O(i(mt), {
550
+ e.value.userOptions.buttons.annotator ? (n(), I(i(mt), {
551
551
  key: 0,
552
552
  svgRef: i(he),
553
553
  backgroundColor: e.value.style.chart.backgroundColor,
554
554
  color: e.value.style.chart.color,
555
- active: te.value,
555
+ active: ae.value,
556
556
  onClose: pe
557
- }, null, 8, ["svgRef", "backgroundColor", "color", "active"])) : y("", !0),
557
+ }, {
558
+ "annotator-action-close": m(() => [
559
+ p(l.$slots, "annotator-action-close", {}, void 0, !0)
560
+ ]),
561
+ "annotator-action-color": m(({ color: t }) => [
562
+ p(l.$slots, "annotator-action-color", A(S({ color: t })), void 0, !0)
563
+ ]),
564
+ "annotator-action-draw": m(({ mode: t }) => [
565
+ p(l.$slots, "annotator-action-draw", A(S({ mode: t })), void 0, !0)
566
+ ]),
567
+ "annotator-action-undo": m(({ disabled: t }) => [
568
+ p(l.$slots, "annotator-action-undo", A(S({ disabled: t })), void 0, !0)
569
+ ]),
570
+ "annotator-action-redo": m(({ disabled: t }) => [
571
+ p(l.$slots, "annotator-action-redo", A(S({ disabled: t })), void 0, !0)
572
+ ]),
573
+ "annotator-action-delete": m(({ disabled: t }) => [
574
+ p(l.$slots, "annotator-action-delete", A(S({ disabled: t })), void 0, !0)
575
+ ]),
576
+ _: 3
577
+ }, 8, ["svgRef", "backgroundColor", "color", "active"])) : y("", !0),
558
578
  wt.value ? (n(), v("div", {
559
579
  key: 1,
560
580
  ref_key: "noTitle",
@@ -568,7 +588,7 @@ const hl = ["id"], fl = ["id"], bl = ["xmlns", "viewBox"], yl = ["x", "y", "widt
568
588
  ref: Ae,
569
589
  style: "width:100%;background:transparent;padding-bottom:24px"
570
590
  }, [
571
- (n(), O(il, {
591
+ (n(), I(il, {
572
592
  key: `title_${Xe.value}`,
573
593
  config: {
574
594
  title: {
@@ -585,7 +605,7 @@ const hl = ["id"], fl = ["id"], bl = ["xmlns", "viewBox"], yl = ["x", "y", "widt
585
605
  c("div", {
586
606
  id: `legend-top-${f.value}`
587
607
  }, null, 8, fl),
588
- e.value.userOptions.show && J.value && (i(Ie) || i(de)) ? (n(), O(i(pt), {
608
+ e.value.userOptions.show && ee.value && (i(Ie) || i(de)) ? (n(), I(i(pt), {
589
609
  ref_key: "userOptionsRef",
590
610
  ref: ne,
591
611
  key: `user_option_${Le.value}`,
@@ -600,12 +620,12 @@ const hl = ["id"], fl = ["id"], bl = ["xmlns", "viewBox"], yl = ["x", "y", "widt
600
620
  hasSvg: e.value.userOptions.buttons.svg,
601
621
  hasTable: e.value.userOptions.buttons.table,
602
622
  hasFullscreen: e.value.userOptions.buttons.fullscreen,
603
- isFullscreen: V.value,
623
+ isFullscreen: W.value,
604
624
  titles: { ...e.value.userOptions.buttonTitles },
605
- chartElement: N.value,
625
+ chartElement: X.value,
606
626
  position: e.value.userOptions.position,
607
627
  hasAnnotator: e.value.userOptions.buttons.annotator,
608
- isAnnotation: te.value,
628
+ isAnnotation: ae.value,
609
629
  callbacks: e.value.userOptions.callbacks,
610
630
  printScale: e.value.userOptions.print.scale,
611
631
  tableDialog: e.value.table.useDialog,
@@ -616,63 +636,63 @@ const hl = ["id"], fl = ["id"], bl = ["xmlns", "viewBox"], yl = ["x", "y", "widt
616
636
  onGenerateSvg: Ke,
617
637
  onToggleTable: je,
618
638
  onToggleAnnotator: pe,
619
- style: ae({
639
+ style: oe({
620
640
  visibility: i(Ie) ? i(de) ? "visible" : "hidden" : "visible"
621
641
  })
622
642
  }, ot({ _: 2 }, [
623
643
  l.$slots.menuIcon ? {
624
644
  name: "menuIcon",
625
- fn: p(({ isOpen: t, color: a }) => [
626
- x(l.$slots, "menuIcon", se(oe({ isOpen: t, color: a })), void 0, !0)
645
+ fn: m(({ isOpen: t, color: a }) => [
646
+ p(l.$slots, "menuIcon", A(S({ isOpen: t, color: a })), void 0, !0)
627
647
  ]),
628
648
  key: "0"
629
649
  } : void 0,
630
650
  l.$slots.optionPdf ? {
631
651
  name: "optionPdf",
632
- fn: p(() => [
633
- x(l.$slots, "optionPdf", {}, void 0, !0)
652
+ fn: m(() => [
653
+ p(l.$slots, "optionPdf", {}, void 0, !0)
634
654
  ]),
635
655
  key: "1"
636
656
  } : void 0,
637
657
  l.$slots.optionCsv ? {
638
658
  name: "optionCsv",
639
- fn: p(() => [
640
- x(l.$slots, "optionCsv", {}, void 0, !0)
659
+ fn: m(() => [
660
+ p(l.$slots, "optionCsv", {}, void 0, !0)
641
661
  ]),
642
662
  key: "2"
643
663
  } : void 0,
644
664
  l.$slots.optionImg ? {
645
665
  name: "optionImg",
646
- fn: p(() => [
647
- x(l.$slots, "optionImg", {}, void 0, !0)
666
+ fn: m(() => [
667
+ p(l.$slots, "optionImg", {}, void 0, !0)
648
668
  ]),
649
669
  key: "3"
650
670
  } : void 0,
651
671
  l.$slots.optionSvg ? {
652
672
  name: "optionSvg",
653
- fn: p(() => [
654
- x(l.$slots, "optionSvg", {}, void 0, !0)
673
+ fn: m(() => [
674
+ p(l.$slots, "optionSvg", {}, void 0, !0)
655
675
  ]),
656
676
  key: "4"
657
677
  } : void 0,
658
678
  l.$slots.optionTable ? {
659
679
  name: "optionTable",
660
- fn: p(() => [
661
- x(l.$slots, "optionTable", {}, void 0, !0)
680
+ fn: m(() => [
681
+ p(l.$slots, "optionTable", {}, void 0, !0)
662
682
  ]),
663
683
  key: "5"
664
684
  } : void 0,
665
685
  l.$slots.optionFullscreen ? {
666
686
  name: "optionFullscreen",
667
- fn: p(({ toggleFullscreen: t, isFullscreen: a }) => [
668
- x(l.$slots, "optionFullscreen", se(oe({ toggleFullscreen: t, isFullscreen: a })), void 0, !0)
687
+ fn: m(({ toggleFullscreen: t, isFullscreen: a }) => [
688
+ p(l.$slots, "optionFullscreen", A(S({ toggleFullscreen: t, isFullscreen: a })), void 0, !0)
669
689
  ]),
670
690
  key: "6"
671
691
  } : void 0,
672
692
  l.$slots.optionAnnotator ? {
673
693
  name: "optionAnnotator",
674
- fn: p(({ toggleAnnotator: t, isAnnotator: a }) => [
675
- x(l.$slots, "optionAnnotator", se(oe({ toggleAnnotator: t, isAnnotator: a })), void 0, !0)
694
+ fn: m(({ toggleAnnotator: t, isAnnotator: a }) => [
695
+ p(l.$slots, "optionAnnotator", A(S({ toggleAnnotator: t, isAnnotator: a })), void 0, !0)
676
696
  ]),
677
697
  key: "7"
678
698
  } : void 0
@@ -681,9 +701,9 @@ const hl = ["id"], fl = ["id"], bl = ["xmlns", "viewBox"], yl = ["x", "y", "widt
681
701
  ref_key: "svgRef",
682
702
  ref: he,
683
703
  xmlns: i(ct),
684
- class: st({ "vue-data-ui-fullscreen--on": V.value, "vue-data-ui-fulscreen--off": !V.value }),
685
- viewBox: `0 0 ${B.value} ${o.value.absoluteHeight <= 0 ? 10 : o.value.absoluteHeight}`,
686
- style: ae(`max-width:100%; overflow: visible; background:transparent;color:${e.value.style.chart.color}`)
704
+ class: st({ "vue-data-ui-fullscreen--on": W.value, "vue-data-ui-fulscreen--off": !W.value }),
705
+ viewBox: `0 0 ${U.value} ${o.value.absoluteHeight <= 0 ? 10 : o.value.absoluteHeight}`,
706
+ style: oe(`max-width:100%; overflow: visible; background:transparent;color:${e.value.style.chart.color}`)
687
707
  }, [
688
708
  nt(i(xt)),
689
709
  l.$slots["chart-background"] ? (n(), v("foreignObject", {
@@ -696,10 +716,10 @@ const hl = ["id"], fl = ["id"], bl = ["xmlns", "viewBox"], yl = ["x", "y", "widt
696
716
  pointerEvents: "none"
697
717
  }
698
718
  }, [
699
- x(l.$slots, "chart-background", {}, void 0, !0)
719
+ p(l.$slots, "chart-background", {}, void 0, !0)
700
720
  ], 8, yl)) : y("", !0),
701
721
  e.value.style.chart.grid.verticalGrid.show ? (n(), v("g", gl, [
702
- (n(!0), v(C, null, A($.value.ticks, (t, a) => (n(), v("line", {
722
+ (n(!0), v(C, null, N($.value.ticks, (t, a) => (n(), v("line", {
703
723
  x1: o.value.left + a * o.value.width / ($.value.ticks.length - 1),
704
724
  x2: o.value.left + a * o.value.width / ($.value.ticks.length - 1),
705
725
  y1: o.value.top,
@@ -710,7 +730,7 @@ const hl = ["id"], fl = ["id"], bl = ["xmlns", "viewBox"], yl = ["x", "y", "widt
710
730
  }, null, 8, ml))), 256))
711
731
  ])) : y("", !0),
712
732
  e.value.style.chart.grid.horizontalGrid.show ? (n(), v("g", pl, [
713
- (n(!0), v(C, null, A(E.value, (t, a) => (n(), v("line", {
733
+ (n(!0), v(C, null, N(B.value, (t, a) => (n(), v("line", {
714
734
  x1: o.value.left,
715
735
  x2: o.value.right,
716
736
  y1: o.value.top + a * o.value.rowHeight,
@@ -743,11 +763,11 @@ const hl = ["id"], fl = ["id"], bl = ["xmlns", "viewBox"], yl = ["x", "y", "widt
743
763
  ref_key: "serieLabels",
744
764
  ref: ue
745
765
  }, [
746
- (n(!0), v(C, null, A(k.value, (t, a) => (n(), v("text", {
766
+ (n(!0), v(C, null, N(k.value, (t, a) => (n(), v("text", {
747
767
  class: "vue-ui-dumbbell-serie-name",
748
768
  key: `serieLabel_${t.id}_${a}`,
749
769
  x: o.value.left - 6 + e.value.style.chart.labels.yAxisLabels.offsetX,
750
- y: o.value.top + a * o.value.rowHeight + (!e.value.style.chart.labels.yAxisLabels.showProgression || I.value ? o.value.rowHeight / 2 : o.value.rowHeight / 3) + e.value.style.chart.labels.yAxisLabels.fontSize / 3,
770
+ y: o.value.top + a * o.value.rowHeight + (!e.value.style.chart.labels.yAxisLabels.showProgression || P.value ? o.value.rowHeight / 2 : o.value.rowHeight / 3) + e.value.style.chart.labels.yAxisLabels.fontSize / 3,
751
771
  "font-size": e.value.style.chart.labels.yAxisLabels.fontSize,
752
772
  fill: e.value.style.chart.labels.yAxisLabels.color,
753
773
  "font-weight": e.value.style.chart.labels.yAxisLabels.bold ? "bold" : "normal",
@@ -755,7 +775,7 @@ const hl = ["id"], fl = ["id"], bl = ["xmlns", "viewBox"], yl = ["x", "y", "widt
755
775
  onMouseenter: (u) => xe({ datapoint: t, seriesIndex: a }),
756
776
  onMouseleave: (u) => _e({ datapoint: t, seriesIndex: a }),
757
777
  onClick: (u) => ke({ datapoint: t, seriesIndex: a })
758
- }, _(t.name) + " " + _(I.value && e.value.style.chart.labels.yAxisLabels.showProgression ? [null, void 0].includes(t.start) || [null, void 0].includes(t.end) ? "" : `(${i(H)(
778
+ }, _(t.name) + " " + _(P.value && e.value.style.chart.labels.yAxisLabels.showProgression ? [null, void 0].includes(t.start) || [null, void 0].includes(t.end) ? "" : `(${i(E)(
759
779
  e.value.style.chart.labels.yAxisLabels.formatter,
760
780
  100 * (t.end / t.start - 1),
761
781
  i(w)({
@@ -765,7 +785,7 @@ const hl = ["id"], fl = ["id"], bl = ["xmlns", "viewBox"], yl = ["x", "y", "widt
765
785
  }),
766
786
  { datapoint: t }
767
787
  )})` : ""), 41, Cl))), 128)),
768
- e.value.style.chart.labels.yAxisLabels.showProgression && !I.value ? (n(!0), v(C, { key: 0 }, A(k.value, (t, a) => (n(), v("text", {
788
+ e.value.style.chart.labels.yAxisLabels.showProgression && !P.value ? (n(!0), v(C, { key: 0 }, N(k.value, (t, a) => (n(), v("text", {
769
789
  class: "vue-ui-dumbbell-serie-value",
770
790
  x: o.value.left - 6 + e.value.style.chart.labels.yAxisLabels.offsetX,
771
791
  y: o.value.top + a * o.value.rowHeight + o.value.rowHeight / 1.3 + e.value.style.chart.labels.yAxisLabels.fontSize / 3,
@@ -775,7 +795,7 @@ const hl = ["id"], fl = ["id"], bl = ["xmlns", "viewBox"], yl = ["x", "y", "widt
775
795
  onMouseenter: (u) => xe({ datapoint: t, seriesIndex: a }),
776
796
  onMouseleave: (u) => _e({ datapoint: t, seriesIndex: a }),
777
797
  onClick: (u) => ke({ datapoint: t, seriesIndex: a })
778
- }, _([null, void 0].includes(t.start) || [null, void 0].includes(t.end) ? "" : i(H)(
798
+ }, _([null, void 0].includes(t.start) || [null, void 0].includes(t.end) ? "" : i(E)(
779
799
  e.value.style.chart.labels.yAxisLabels.formatter,
780
800
  100 * (t.end / t.start - 1),
781
801
  i(w)({
@@ -799,9 +819,9 @@ const hl = ["id"], fl = ["id"], bl = ["xmlns", "viewBox"], yl = ["x", "y", "widt
799
819
  e.value.style.chart.labels.xAxisLabels.show ? (n(), v("g", {
800
820
  key: 6,
801
821
  ref_key: "scaleLabels",
802
- ref: K
822
+ ref: te
803
823
  }, [
804
- (n(!0), v(C, null, A($.value.ticks, (t, a) => (n(), v("text", {
824
+ (n(!0), v(C, null, N($.value.ticks, (t, a) => (n(), v("text", {
805
825
  class: "vue-ui-dumbbell-scale-label",
806
826
  key: `tick_${a}`,
807
827
  transform: `translate(${o.value.left + a * (o.value.width / ($.value.ticks.length - 1))}, ${o.value.bottom + e.value.style.chart.labels.xAxisLabels.fontSize + e.value.style.chart.labels.xAxisLabels.offsetY}), rotate(${e.value.style.chart.labels.xAxisLabels.rotation})`,
@@ -809,7 +829,7 @@ const hl = ["id"], fl = ["id"], bl = ["xmlns", "viewBox"], yl = ["x", "y", "widt
809
829
  fill: e.value.style.chart.labels.xAxisLabels.color,
810
830
  "font-weight": e.value.style.chart.labels.xAxisLabels.bold ? "bold" : "normal",
811
831
  "text-anchor": e.value.style.chart.labels.xAxisLabels.rotation > 0 ? "start" : e.value.style.chart.labels.xAxisLabels.rotation < 0 ? "end" : "middle"
812
- }, _(i(H)(
832
+ }, _(i(E)(
813
833
  e.value.style.chart.labels.formatter,
814
834
  t,
815
835
  i(w)({
@@ -821,26 +841,26 @@ const hl = ["id"], fl = ["id"], bl = ["xmlns", "viewBox"], yl = ["x", "y", "widt
821
841
  { datapoint: t, seriesIndex: a }
822
842
  )), 9, Ll))), 128))
823
843
  ], 512)) : y("", !0),
824
- Y(c("g", null, [
825
- Y(c("path", {
844
+ Q(c("g", null, [
845
+ Q(c("path", {
826
846
  d: `M ${r.value ? r.value.startX : o.value.left},${o.value.top} ${r.value ? r.value.startX : o.value.left},${o.value.bottom}`,
827
847
  stroke: r.value ? e.value.style.chart.plots.evaluationColors.enable ? r.value.evaluationColor : e.value.style.chart.plots.startColor : "transparent",
828
848
  "stroke-width": e.value.style.chart.comparisonLines.strokeWidth,
829
849
  "stroke-dasharray": e.value.style.chart.comparisonLines.strokeDasharray,
830
850
  style: { transition: "all 0.3s ease-in-out" }
831
851
  }, null, 8, Al), [
832
- [j, r.value !== null && ![null, void 0].includes(r.value.start)]
852
+ [Z, r.value !== null && ![null, void 0].includes(r.value.start)]
833
853
  ]),
834
- Y(c("path", {
854
+ Q(c("path", {
835
855
  d: `M ${r.value ? r.value.endX : o.value.left},${o.value.top} ${r.value ? r.value.endX : o.value.left},${o.value.bottom}`,
836
856
  stroke: r.value ? e.value.style.chart.plots.evaluationColors.enable ? r.value.evaluationColor : e.value.style.chart.plots.endColor : "transparent",
837
857
  "stroke-width": e.value.style.chart.comparisonLines.strokeWidth,
838
858
  "stroke-dasharray": e.value.style.chart.comparisonLines.strokeDasharray,
839
859
  style: { transition: "all 0.3s ease-in-out" }
840
860
  }, null, 8, Sl), [
841
- [j, r.value !== null && ![null, void 0].includes(r.value.end)]
861
+ [Z, r.value !== null && ![null, void 0].includes(r.value.end)]
842
862
  ]),
843
- Y(c("rect", {
863
+ Q(c("rect", {
844
864
  x: r.value ? Math.min(r.value.startX, r.value.endX) : o.value.left,
845
865
  y: o.value.top,
846
866
  height: Math.max(0.1, o.value.height),
@@ -848,19 +868,19 @@ const hl = ["id"], fl = ["id"], bl = ["xmlns", "viewBox"], yl = ["x", "y", "widt
848
868
  fill: r.value ? i(vt)(e.value.style.chart.comparisonLines.rectColor, e.value.style.chart.comparisonLines.rectOpacity) : "transparent",
849
869
  style: { transition: "all 0.3s ease-in-out" }
850
870
  }, null, 8, Nl), [
851
- [j, e.value.style.chart.comparisonLines.showRect && r.value !== null && ![null, void 0].includes(r.value.start) && ![null, void 0].includes(r.value.end)]
871
+ [Z, e.value.style.chart.comparisonLines.showRect && r.value !== null && ![null, void 0].includes(r.value.start) && ![null, void 0].includes(r.value.end)]
852
872
  ]),
853
- Y(c("text", {
873
+ Q(c("text", {
854
874
  transform: `translate(${Ce.value == null ? 0 : Ce.value}, ${o.value.top - 6})`,
855
875
  fill: e.value.style.chart.comparisonLines.labelColor,
856
876
  "font-size": e.value.style.chart.comparisonLines.labelFontSize,
857
877
  "text-anchor": "middle",
858
878
  style: { transition: "all 0.3s ease-in-out" }
859
879
  }, _(Tt.value), 9, Ml), [
860
- [j, r.value !== null && Ce.value !== null && e.value.style.chart.comparisonLines.showLabel]
880
+ [Z, r.value !== null && Ce.value !== null && e.value.style.chart.comparisonLines.showLabel]
861
881
  ])
862
882
  ], 512), [
863
- [j, e.value.style.chart.comparisonLines.show && D.value !== null]
883
+ [Z, e.value.style.chart.comparisonLines.show && F.value !== null]
864
884
  ]),
865
885
  c("defs", null, [
866
886
  c("radialGradient", {
@@ -869,11 +889,11 @@ const hl = ["id"], fl = ["id"], bl = ["xmlns", "viewBox"], yl = ["x", "y", "widt
869
889
  }, [
870
890
  c("stop", {
871
891
  offset: "10%",
872
- "stop-color": i(Q)(e.value.style.chart.plots.startColor, e.value.style.chart.plots.gradient.intensity / 100)
892
+ "stop-color": i(J)(e.value.style.chart.plots.startColor, e.value.style.chart.plots.gradient.intensity / 100)
873
893
  }, null, 8, zl),
874
894
  c("stop", {
875
895
  offset: "90%",
876
- "stop-color": i(Z)(e.value.style.chart.plots.startColor, 0.1)
896
+ "stop-color": i(K)(e.value.style.chart.plots.startColor, 0.1)
877
897
  }, null, 8, Tl),
878
898
  c("stop", {
879
899
  offset: "100%",
@@ -886,11 +906,11 @@ const hl = ["id"], fl = ["id"], bl = ["xmlns", "viewBox"], yl = ["x", "y", "widt
886
906
  }, [
887
907
  c("stop", {
888
908
  offset: "10%",
889
- "stop-color": i(Q)(e.value.style.chart.plots.endColor, e.value.style.chart.plots.gradient.intensity / 100)
909
+ "stop-color": i(J)(e.value.style.chart.plots.endColor, e.value.style.chart.plots.gradient.intensity / 100)
890
910
  }, null, 8, Il),
891
911
  c("stop", {
892
912
  offset: "90%",
893
- "stop-color": i(Z)(e.value.style.chart.plots.endColor, 0.1)
913
+ "stop-color": i(K)(e.value.style.chart.plots.endColor, 0.1)
894
914
  }, null, 8, Fl),
895
915
  c("stop", {
896
916
  offset: "100%",
@@ -903,11 +923,11 @@ const hl = ["id"], fl = ["id"], bl = ["xmlns", "viewBox"], yl = ["x", "y", "widt
903
923
  }, [
904
924
  c("stop", {
905
925
  offset: "10%",
906
- "stop-color": i(Q)(e.value.style.chart.plots.evaluationColors.positive, e.value.style.chart.plots.gradient.intensity / 100)
926
+ "stop-color": i(J)(e.value.style.chart.plots.evaluationColors.positive, e.value.style.chart.plots.gradient.intensity / 100)
907
927
  }, null, 8, Gl),
908
928
  c("stop", {
909
929
  offset: "90%",
910
- "stop-color": i(Z)(e.value.style.chart.plots.evaluationColors.positive, 0.1)
930
+ "stop-color": i(K)(e.value.style.chart.plots.evaluationColors.positive, 0.1)
911
931
  }, null, 8, El),
912
932
  c("stop", {
913
933
  offset: "100%",
@@ -920,11 +940,11 @@ const hl = ["id"], fl = ["id"], bl = ["xmlns", "viewBox"], yl = ["x", "y", "widt
920
940
  }, [
921
941
  c("stop", {
922
942
  offset: "10%",
923
- "stop-color": i(Q)(e.value.style.chart.plots.evaluationColors.negative, e.value.style.chart.plots.gradient.intensity / 100)
943
+ "stop-color": i(J)(e.value.style.chart.plots.evaluationColors.negative, e.value.style.chart.plots.gradient.intensity / 100)
924
944
  }, null, 8, Vl),
925
945
  c("stop", {
926
946
  offset: "90%",
927
- "stop-color": i(Z)(e.value.style.chart.plots.evaluationColors.negative, 0.1)
947
+ "stop-color": i(K)(e.value.style.chart.plots.evaluationColors.negative, 0.1)
928
948
  }, null, 8, Ul),
929
949
  c("stop", {
930
950
  offset: "100%",
@@ -937,11 +957,11 @@ const hl = ["id"], fl = ["id"], bl = ["xmlns", "viewBox"], yl = ["x", "y", "widt
937
957
  }, [
938
958
  c("stop", {
939
959
  offset: "10%",
940
- "stop-color": i(Q)(e.value.style.chart.plots.evaluationColors.neutral, e.value.style.chart.plots.gradient.intensity / 100)
960
+ "stop-color": i(J)(e.value.style.chart.plots.evaluationColors.neutral, e.value.style.chart.plots.gradient.intensity / 100)
941
961
  }, null, 8, Yl),
942
962
  c("stop", {
943
963
  offset: "90%",
944
- "stop-color": i(Z)(e.value.style.chart.plots.evaluationColors.neutral, 0.1)
964
+ "stop-color": i(K)(e.value.style.chart.plots.evaluationColors.neutral, 0.1)
945
965
  }, null, 8, jl),
946
966
  c("stop", {
947
967
  offset: "100%",
@@ -949,7 +969,7 @@ const hl = ["id"], fl = ["id"], bl = ["xmlns", "viewBox"], yl = ["x", "y", "widt
949
969
  }, null, 8, Ql)
950
970
  ], 8, ql)
951
971
  ]),
952
- (n(!0), v(C, null, A(k.value, (t, a) => (n(), v("g", {
972
+ (n(!0), v(C, null, N(k.value, (t, a) => (n(), v("g", {
953
973
  key: `plot_${a}_${t.id}`
954
974
  }, [
955
975
  c("defs", null, [
@@ -990,12 +1010,12 @@ const hl = ["id"], fl = ["id"], bl = ["xmlns", "viewBox"], yl = ["x", "y", "widt
990
1010
  e.value.style.chart.plots.link.type === "curved" ? (n(), v("g", sa, [
991
1011
  c("path", {
992
1012
  d: `M
993
- ${t.startX},${t.y + X.value / 2}
1013
+ ${t.startX},${t.y + T.value / 2}
994
1014
  C ${t.centerX},${t.y} ${t.centerX},${t.y}
995
- ${t.endX},${t.y + X.value / 2}
996
- L ${t.endX},${t.y - X.value / 2}
1015
+ ${t.endX},${t.y + T.value / 2}
1016
+ L ${t.endX},${t.y - T.value / 2}
997
1017
  C ${t.centerX},${t.y} ${t.centerX},${t.y}
998
- ${t.startX},${t.y - X.value / 2}
1018
+ ${t.startX},${t.y - T.value / 2}
999
1019
  Z
1000
1020
  `,
1001
1021
  fill: e.value.style.chart.plots.evaluationColors.enable ? t.evaluationColor : t.endX > t.startX ? `url(#grad_pos_${f.value})` : `url(#grad_neg_${f.value})`
@@ -1014,7 +1034,7 @@ const hl = ["id"], fl = ["id"], bl = ["xmlns", "viewBox"], yl = ["x", "y", "widt
1014
1034
  key: 1,
1015
1035
  cx: t.startX,
1016
1036
  cy: t.y,
1017
- r: X.value,
1037
+ r: T.value,
1018
1038
  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,
1019
1039
  stroke: e.value.style.chart.plots.stroke,
1020
1040
  "stroke-width": e.value.style.chart.plots.strokeWidth
@@ -1023,24 +1043,24 @@ const hl = ["id"], fl = ["id"], bl = ["xmlns", "viewBox"], yl = ["x", "y", "widt
1023
1043
  key: 2,
1024
1044
  cx: t.endX,
1025
1045
  cy: t.y,
1026
- r: X.value,
1046
+ r: T.value,
1027
1047
  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,
1028
1048
  stroke: e.value.style.chart.plots.stroke,
1029
1049
  "stroke-width": e.value.style.chart.plots.strokeWidth
1030
1050
  }, null, 8, ia))
1031
1051
  ]))), 128)),
1032
1052
  e.value.style.chart.labels.startLabels.show ? (n(), v("g", ca, [
1033
- (n(!0), v(C, null, A(k.value, (t, a) => (n(), v("g", {
1053
+ (n(!0), v(C, null, N(k.value, (t, a) => (n(), v("g", {
1034
1054
  key: `start_label_${a}_${t.id}`
1035
1055
  }, [
1036
1056
  [null, void 0].includes(t.start) ? y("", !0) : (n(), v("text", {
1037
1057
  key: 0,
1038
1058
  x: t.startX,
1039
- y: t.y + X.value * 2 + e.value.style.chart.labels.startLabels.fontSize / 2,
1059
+ y: t.y + T.value * 2 + e.value.style.chart.labels.startLabels.fontSize / 2,
1040
1060
  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,
1041
1061
  "font-size": e.value.style.chart.labels.startLabels.fontSize,
1042
1062
  "text-anchor": "middle"
1043
- }, _(i(H)(
1063
+ }, _(i(E)(
1044
1064
  e.value.style.chart.labels.formatter,
1045
1065
  t.start,
1046
1066
  i(w)({
@@ -1054,17 +1074,17 @@ const hl = ["id"], fl = ["id"], bl = ["xmlns", "viewBox"], yl = ["x", "y", "widt
1054
1074
  ]))), 128))
1055
1075
  ])) : y("", !0),
1056
1076
  e.value.style.chart.labels.endLabels.show ? (n(), v("g", da, [
1057
- (n(!0), v(C, null, A(k.value, (t, a) => (n(), v("g", {
1077
+ (n(!0), v(C, null, N(k.value, (t, a) => (n(), v("g", {
1058
1078
  key: `end_label_${a}_${t.id}`
1059
1079
  }, [
1060
1080
  [null, void 0].includes(t.end) ? y("", !0) : (n(), v("text", {
1061
1081
  key: 0,
1062
1082
  x: t.endX,
1063
- y: t.y - (X.value * 2 - e.value.style.chart.labels.startLabels.fontSize / 3),
1083
+ y: t.y - (T.value * 2 - e.value.style.chart.labels.startLabels.fontSize / 3),
1064
1084
  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,
1065
1085
  "font-size": e.value.style.chart.labels.endLabels.fontSize,
1066
1086
  "text-anchor": "middle"
1067
- }, _(i(H)(
1087
+ }, _(i(E)(
1068
1088
  e.value.style.chart.labels.formatter,
1069
1089
  t.end,
1070
1090
  i(w)({
@@ -1078,26 +1098,26 @@ const hl = ["id"], fl = ["id"], bl = ["xmlns", "viewBox"], yl = ["x", "y", "widt
1078
1098
  ]))), 128))
1079
1099
  ])) : y("", !0),
1080
1100
  c("g", null, [
1081
- (n(!0), v(C, null, A(k.value, (t, a) => (n(), v("rect", {
1101
+ (n(!0), v(C, null, N(k.value, (t, a) => (n(), v("rect", {
1082
1102
  x: o.value.left,
1083
1103
  y: o.value.top + a * Math.max(0.1, o.value.rowHeight),
1084
1104
  width: Math.max(0.1, o.value.width),
1085
1105
  height: Math.max(0.1, o.value.rowHeight),
1086
- fill: D.value !== null && D.value === a ? i(vt)(e.value.style.chart.highlighter.color, e.value.style.chart.highlighter.opacity) : "transparent",
1106
+ fill: F.value !== null && F.value === a ? i(vt)(e.value.style.chart.highlighter.color, e.value.style.chart.highlighter.opacity) : "transparent",
1087
1107
  onMouseenter: (u) => xe({ datapoint: t, seriesIndex: a }),
1088
1108
  onMouseleave: (u) => _e({ datapoint: t, seriesIndex: a }),
1089
1109
  onClick: (u) => ke({ datapoint: t, seriesIndex: a })
1090
1110
  }, null, 40, fa))), 256))
1091
1111
  ]),
1092
- x(l.$slots, "svg", { svg: o.value }, void 0, !0)
1112
+ p(l.$slots, "svg", { svg: o.value }, void 0, !0)
1093
1113
  ], 14, bl)),
1094
1114
  l.$slots.watermark ? (n(), v("div", ba, [
1095
- x(l.$slots, "watermark", se(oe({ isPrinting: i(He) || i(Ge) })), void 0, !0)
1115
+ p(l.$slots, "watermark", A(S({ isPrinting: i(He) || i(Ge) })), void 0, !0)
1096
1116
  ])) : y("", !0),
1097
1117
  c("div", {
1098
1118
  id: `legend-bottom-${f.value}`
1099
1119
  }, null, 8, ya),
1100
- Oe.value ? (n(), O(Bt, {
1120
+ Oe.value ? (n(), I(Bt, {
1101
1121
  key: 5,
1102
1122
  to: e.value.style.chart.legend.position === "top" ? `#legend-top-${f.value}` : `#legend-bottom-${f.value}`
1103
1123
  }, [
@@ -1105,15 +1125,15 @@ const hl = ["id"], fl = ["id"], bl = ["xmlns", "viewBox"], yl = ["x", "y", "widt
1105
1125
  ref_key: "chartLegend",
1106
1126
  ref: Se
1107
1127
  }, [
1108
- e.value.style.chart.legend.show && J.value ? (n(), O(vl, {
1128
+ e.value.style.chart.legend.show && ee.value ? (n(), I(vl, {
1109
1129
  key: `legend_${Te.value}`,
1110
1130
  legendSet: ge.value,
1111
1131
  config: At.value,
1112
1132
  clickable: !1
1113
1133
  }, {
1114
- item: p(({ legend: t }) => [
1134
+ item: m(({ legend: t }) => [
1115
1135
  c("div", {
1116
- style: ae(`display:flex;align-items:center;gap:4px;font-size:${e.value.style.chart.legend.fontSize}px`)
1136
+ style: oe(`display:flex;align-items:center;gap:4px;font-size:${e.value.style.chart.legend.fontSize}px`)
1117
1137
  }, [
1118
1138
  (n(), v("svg", {
1119
1139
  xmlns: i(ct),
@@ -1134,7 +1154,7 @@ const hl = ["id"], fl = ["id"], bl = ["xmlns", "viewBox"], yl = ["x", "y", "widt
1134
1154
  ], 4)
1135
1155
  ]),
1136
1156
  _: 1
1137
- }, 8, ["legendSet", "config"])) : x(l.$slots, "legend", {
1157
+ }, 8, ["legendSet", "config"])) : p(l.$slots, "legend", {
1138
1158
  key: 1,
1139
1159
  legend: ge.value
1140
1160
  }, void 0, !0)
@@ -1146,31 +1166,31 @@ const hl = ["id"], fl = ["id"], bl = ["xmlns", "viewBox"], yl = ["x", "y", "widt
1146
1166
  ref: Ne,
1147
1167
  dir: "auto"
1148
1168
  }, [
1149
- x(l.$slots, "source", {}, void 0, !0)
1169
+ p(l.$slots, "source", {}, void 0, !0)
1150
1170
  ], 512)) : y("", !0),
1151
- J.value && e.value.userOptions.buttons.table ? (n(), O(Vt(q.value.component), Ut({ key: 7 }, q.value.props, {
1171
+ ee.value && e.value.userOptions.buttons.table ? (n(), I(Vt(j.value.component), Ut({ key: 7 }, j.value.props, {
1152
1172
  ref_key: "tableUnit",
1153
- ref: U,
1173
+ ref: q,
1154
1174
  onClose: Je
1155
1175
  }), ot({
1156
- content: p(() => [
1157
- (n(), O(i(gt), {
1176
+ content: m(() => [
1177
+ (n(), I(i(gt), {
1158
1178
  key: `table_${ze.value}`,
1159
- colNames: ee.value.colNames,
1160
- head: ee.value.head,
1161
- body: ee.value.body,
1162
- config: ee.value.config,
1163
- title: e.value.table.useDialog ? "" : q.value.title,
1179
+ colNames: le.value.colNames,
1180
+ head: le.value.head,
1181
+ body: le.value.body,
1182
+ config: le.value.config,
1183
+ title: e.value.table.useDialog ? "" : j.value.title,
1164
1184
  withCloseButton: !e.value.table.useDialog,
1165
1185
  onClose: Je
1166
1186
  }, {
1167
- th: p(({ th: t }) => [
1187
+ th: m(({ th: t }) => [
1168
1188
  c("div", {
1169
1189
  innerHTML: t,
1170
1190
  style: { display: "flex", "align-items": "center" }
1171
1191
  }, null, 8, pa)
1172
1192
  ]),
1173
- td: p(({ td: t }) => [
1193
+ td: m(({ td: t }) => [
1174
1194
  we(_(t.name || t), 1)
1175
1195
  ]),
1176
1196
  _: 1
@@ -1180,14 +1200,14 @@ const hl = ["id"], fl = ["id"], bl = ["xmlns", "viewBox"], yl = ["x", "y", "widt
1180
1200
  }, [
1181
1201
  e.value.table.useDialog ? {
1182
1202
  name: "title",
1183
- fn: p(() => [
1184
- we(_(q.value.title), 1)
1203
+ fn: m(() => [
1204
+ we(_(j.value.title), 1)
1185
1205
  ]),
1186
1206
  key: "0"
1187
1207
  } : void 0,
1188
1208
  e.value.table.useDialog ? {
1189
1209
  name: "actions",
1190
- fn: p(() => [
1210
+ fn: m(() => [
1191
1211
  c("button", {
1192
1212
  tabindex: "0",
1193
1213
  class: "vue-ui-user-options-button",
@@ -1195,17 +1215,17 @@ const hl = ["id"], fl = ["id"], bl = ["xmlns", "viewBox"], yl = ["x", "y", "widt
1195
1215
  }, [
1196
1216
  nt(i(bt), {
1197
1217
  name: "excel",
1198
- stroke: q.value.props.color
1218
+ stroke: j.value.props.color
1199
1219
  }, null, 8, ["stroke"])
1200
1220
  ])
1201
1221
  ]),
1202
1222
  key: "1"
1203
1223
  } : void 0
1204
1224
  ]), 1040)) : y("", !0),
1205
- i(ce) ? (n(), O(al, { key: 8 })) : y("", !0)
1225
+ i(ce) ? (n(), I(al, { key: 8 })) : y("", !0)
1206
1226
  ], 46, hl));
1207
1227
  }
1208
- }, Fa = /* @__PURE__ */ dl(xa, [["__scopeId", "data-v-aeb2adfe"]]);
1228
+ }, Fa = /* @__PURE__ */ dl(xa, [["__scopeId", "data-v-172d4caf"]]);
1209
1229
  export {
1210
1230
  Fa as default
1211
1231
  };