vue-data-ui 3.5.0 → 3.5.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (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-DQvyATVa.js} +1 -1
  5. package/dist/PenAndPaper-SZQIAgkg.js +388 -0
  6. package/dist/{Title-l36lOBMx.js → Title-isbiM8i8.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-DjGXw6S9.js} +22 -8
  73. package/dist/{vue-data-ui-DxgRqCAo.js → vue-data-ui-B_RxfmEm.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-CMNYyVa2.js} +454 -434
  76. package/dist/{vue-ui-accordion-CZ0thhxa.js → vue-ui-accordion-CqhVCfc2.js} +1 -1
  77. package/dist/{vue-ui-age-pyramid-CPAP3sNY.js → vue-ui-age-pyramid-Vqa9iYXE.js} +180 -160
  78. package/dist/{vue-ui-annotator-BylDgUVb.js → vue-ui-annotator-nNv10fBm.js} +3 -3
  79. package/dist/{vue-ui-bullet-Ce6uvCQJ.js → vue-ui-bullet-BWEBeYV5.js} +190 -170
  80. package/dist/{vue-ui-candlestick-DewevWV_.js → vue-ui-candlestick-BoLzL0g1.js} +201 -181
  81. package/dist/{vue-ui-carousel-table-Dv1CDfE5.js → vue-ui-carousel-table-Bi6wvUUU.js} +2 -2
  82. package/dist/{vue-ui-chestnut-D9sdFZ4E.js → vue-ui-chestnut-BGz1TLXG.js} +375 -355
  83. package/dist/vue-ui-chord-CebhS7ln.js +1153 -0
  84. package/dist/{vue-ui-circle-pack-Be74QB_0.js → vue-ui-circle-pack-7PJVyKjp.js} +289 -269
  85. package/dist/{vue-ui-cursor-ik59bfC4.js → vue-ui-cursor-qYLAwvzn.js} +1 -1
  86. package/dist/vue-ui-dashboard-DcmMvhgM.js +432 -0
  87. package/dist/{vue-ui-digits-ByNNcWXi.js → vue-ui-digits-DyE8eU1m.js} +1 -1
  88. package/dist/{vue-ui-donut-BRGFcgxS.js → vue-ui-donut-CxZcJFTo.js} +462 -442
  89. package/dist/{vue-ui-donut-evolution-DJ0C-7jH.js → vue-ui-donut-evolution-BVYL-BUJ.js} +293 -273
  90. package/dist/{vue-ui-dumbbell-iQJ0BUhm.js → vue-ui-dumbbell-QxZn86A3.js} +210 -190
  91. package/dist/{vue-ui-flow-CTYFoib3.js → vue-ui-flow-DEI5LRch.js} +339 -319
  92. package/dist/{vue-ui-funnel-CG55Xcdy.js → vue-ui-funnel-B_A5orFg.js} +218 -198
  93. package/dist/{vue-ui-galaxy-BQrxjKZJ.js → vue-ui-galaxy-CUoDRr-O.js} +201 -181
  94. package/dist/{vue-ui-gauge-Tc-0NI0Y.js → vue-ui-gauge-46tSRZN5.js} +311 -291
  95. package/dist/{vue-ui-gizmo-P8h-gnLd.js → vue-ui-gizmo-BOgbsXao.js} +2 -2
  96. package/dist/{vue-ui-heatmap-BZimPzsL.js → vue-ui-heatmap-DKKjl1A2.js} +303 -283
  97. package/dist/{vue-ui-history-plot-BVzbuqYY.js → vue-ui-history-plot-C6p_aThr.js} +229 -209
  98. package/dist/{vue-ui-kpi-BGGff8LM.js → vue-ui-kpi-B1yJ83aF.js} +2 -2
  99. package/dist/{vue-ui-mini-loader-CSF-7TJL.js → vue-ui-mini-loader-BudcNBg-.js} +1 -1
  100. package/dist/{vue-ui-molecule-BALqwB8c.js → vue-ui-molecule-L90GnHee.js} +156 -136
  101. package/dist/{vue-ui-mood-radar-QJ5nlZby.js → vue-ui-mood-radar-Dhigm5rw.js} +266 -246
  102. package/dist/{vue-ui-nested-donuts-CmUabkkQ.js → vue-ui-nested-donuts-D0MCLs5n.js} +506 -486
  103. package/dist/{vue-ui-onion-DAOCf3f8.js → vue-ui-onion-B7yPJ3gL.js} +220 -200
  104. package/dist/{vue-ui-parallel-coordinate-plot-D8jTuFjq.js → vue-ui-parallel-coordinate-plot-DY21ivNe.js} +235 -215
  105. package/dist/{vue-ui-quadrant-CO52mSRY.js → vue-ui-quadrant-b0vMRaq-.js} +463 -443
  106. package/dist/{vue-ui-quick-chart-DEaVSldE.js → vue-ui-quick-chart-VK2EN7sh.js} +288 -268
  107. package/dist/{vue-ui-radar-C5V4hhbW.js → vue-ui-radar-B5Vkoz9M.js} +331 -311
  108. package/dist/{vue-ui-rating-CiMoFM_c.js → vue-ui-rating-BH4DW1ZY.js} +1 -1
  109. package/dist/{vue-ui-relation-circle-CbMM0Jka.js → vue-ui-relation-circle-XHbE-ZUX.js} +228 -208
  110. package/dist/{vue-ui-ridgeline-CXCIRDq6.js → vue-ui-ridgeline-CAMNq-p_.js} +242 -222
  111. package/dist/{vue-ui-rings-BpUcyqo7.js → vue-ui-rings-ImGOqm_J.js} +189 -169
  112. package/dist/{vue-ui-scatter--Dxe-hfO.js → vue-ui-scatter-CterNJYe.js} +275 -255
  113. package/dist/{vue-ui-skeleton-BWq-VDzg.js → vue-ui-skeleton-CykXHWj-.js} +2 -2
  114. package/dist/{vue-ui-smiley-sGFRbn31.js → vue-ui-smiley-DnGm6qrK.js} +1 -1
  115. package/dist/{vue-ui-spark-trend-T4J_YOa_.js → vue-ui-spark-trend-N1AsNQJA.js} +2 -2
  116. package/dist/{vue-ui-sparkbar-DnKP55Vu.js → vue-ui-sparkbar-Bvsi5DTT.js} +2 -2
  117. package/dist/{vue-ui-sparkgauge-BDQLP-zi.js → vue-ui-sparkgauge-DyJmWCWT.js} +2 -2
  118. package/dist/{vue-ui-sparkhistogram-Dm7QXrA-.js → vue-ui-sparkhistogram-5eKrkmSb.js} +143 -140
  119. package/dist/{vue-ui-sparkline-tXGDLHRy.js → vue-ui-sparkline-ChKAzlVq.js} +2 -2
  120. package/dist/{vue-ui-sparkstackbar-M53Nt07M.js → vue-ui-sparkstackbar-BXNy6nuw.js} +2 -2
  121. package/dist/vue-ui-stackbar-1IwvUYBO.js +1827 -0
  122. package/dist/{vue-ui-strip-plot-BX9i3wMn.js → vue-ui-strip-plot-B1wGxP8-.js} +245 -225
  123. package/dist/{vue-ui-table-7r02N9R9.js → vue-ui-table-DSsIrT4L.js} +3 -3
  124. package/dist/{vue-ui-table-heatmap-BqCEBoUf.js → vue-ui-table-heatmap-DXFHy7-E.js} +1 -1
  125. package/dist/{vue-ui-table-sparkline-DZaAh10E.js → vue-ui-table-sparkline-DpqY_4ay.js} +2 -2
  126. package/dist/vue-ui-thermometer-CMKvSA8p.js +584 -0
  127. package/dist/{vue-ui-timer-Ds-MJoW2.js → vue-ui-timer-BpdCY_wg.js} +3 -3
  128. package/dist/vue-ui-tiremarks-CNipzVli.js +450 -0
  129. package/dist/{vue-ui-treemap-BEvl8hiw.js → vue-ui-treemap-DPE8SY0_.js} +453 -433
  130. package/dist/{vue-ui-vertical-bar-D8dtM8sw.js → vue-ui-vertical-bar-ZU1GCbX0.js} +323 -303
  131. package/dist/{vue-ui-waffle-B3q-2SCR.js → vue-ui-waffle-z7nuSuSV.js} +219 -199
  132. package/dist/vue-ui-wheel-DLRoRjeM.js +663 -0
  133. package/dist/{vue-ui-word-cloud-ChT7uLbN.js → vue-ui-word-cloud-D2r5E3pP.js} +248 -228
  134. package/dist/{vue-ui-world-CdP4g_3_.js → vue-ui-world-goXYnTyM.js} +287 -267
  135. package/dist/{vue-ui-xy-B68qQ-gX.js → vue-ui-xy-NDDbNbds.js} +389 -369
  136. package/dist/{vue-ui-xy-canvas-DDngEA1s.js → vue-ui-xy-canvas-2a6NlQe3.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,5 +1,5 @@
1
- import { defineAsyncComponent as G, ref as v, computed as c, onMounted as ze, toRefs as Ne, watch as ce, onBeforeUnmount as Ee, createElementBlock as n, openBlock as o, unref as r, normalizeStyle as V, normalizeClass as he, createBlock as _, createCommentVNode as u, createElementVNode as C, createSlots as Ue, withCtx as b, renderSlot as m, normalizeProps as F, guardReactiveProps as T, createVNode as We, Fragment as j, renderList as q, toDisplayString as H, Teleport as De } from "vue";
2
- import { u as Ge, a as de } from "./useNestedProp-BjZe1Y85.js";
1
+ import { defineAsyncComponent as G, ref as c, computed as h, onMounted as ze, toRefs as Ne, watch as ce, onBeforeUnmount as Ee, createElementBlock as r, openBlock as o, unref as n, normalizeStyle as V, normalizeClass as he, createBlock as A, createCommentVNode as u, createElementVNode as _, withCtx as f, renderSlot as i, normalizeProps as p, guardReactiveProps as b, createSlots as Ue, createVNode as We, Fragment as j, renderList as q, toDisplayString as H, Teleport as De } from "vue";
2
+ import { u as Ge, a as de } from "./useNestedProp-DjGXw6S9.js";
3
3
  import { c as Ve, t as je, S as qe, m as Xe, h as Ye, a as M, d as R, X as Je, o as ge, f as fe, g as Ke } from "./lib-C_mNZmhD.js";
4
4
  import { t as Qe, u as Ze } from "./useResponsive-DfdjqQps.js";
5
5
  import { u as et } from "./usePrinter-DTzqpYKF.js";
@@ -7,9 +7,9 @@ import { u as tt } from "./useUserOptionState-BIvW1Kz7.js";
7
7
  import { u as at } from "./useChartAccessibility-9icAAmYg.js";
8
8
  import { t as lt } from "./themes-AUNCOb2G.js";
9
9
  import st from "./Legend-G6GMcdAc.js";
10
- import ot from "./Title-l36lOBMx.js";
11
- import rt from "./img-BecE5qXd.js";
12
- import { u as nt, B as ut } from "./BaseScanner-BgWxam9d.js";
10
+ import ot from "./Title-isbiM8i8.js";
11
+ import nt from "./img-BecE5qXd.js";
12
+ import { u as rt, B as ut } from "./BaseScanner-BgWxam9d.js";
13
13
  import { u as it } from "./useSvgExport-DrjCWun4.js";
14
14
  import { _ as vt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
15
15
  const ct = ["id"], ht = {
@@ -17,10 +17,10 @@ const ct = ["id"], ht = {
17
17
  ref: "noTitle",
18
18
  class: "vue-data-ui-no-title-space",
19
19
  style: "height:36px; width: 100%;background:transparent"
20
- }, dt = ["id"], gt = ["xmlns", "viewBox"], ft = ["width", "height"], mt = { key: 1 }, yt = ["x", "y", "height", "width", "fill", "stroke"], pt = ["x", "y", "height", "width", "rx", "fill", "stroke", "stroke-width"], bt = ["x", "y", "height", "width", "fill", "stroke", "stroke-width"], kt = ["x", "y", "font-size", "font-weight", "fill"], wt = ["x", "y", "height", "width", "rx", "fill", "stroke", "stroke-width"], xt = { key: 3 }, _t = ["x", "y", "fill", "font-size", "font-weight"], Ct = { key: 4 }, At = ["x1", "x2", "y1", "y2", "stroke"], Lt = {
20
+ }, dt = ["id"], gt = ["xmlns", "viewBox"], ft = ["width", "height"], mt = { key: 1 }, yt = ["x", "y", "height", "width", "fill", "stroke"], pt = ["x", "y", "height", "width", "rx", "fill", "stroke", "stroke-width"], bt = ["x", "y", "height", "width", "fill", "stroke", "stroke-width"], kt = ["x", "y", "font-size", "font-weight", "fill"], wt = ["x", "y", "height", "width", "rx", "fill", "stroke", "stroke-width"], xt = { key: 3 }, Ct = ["x", "y", "fill", "font-size", "font-weight"], $t = { key: 4 }, At = ["x1", "x2", "y1", "y2", "stroke"], _t = {
21
21
  key: 4,
22
22
  class: "vue-data-ui-watermark"
23
- }, $t = ["id"], St = {
23
+ }, Lt = ["id"], St = {
24
24
  key: 0,
25
25
  class: "vue-ui-bullet-legend-item",
26
26
  dir: "auto"
@@ -41,10 +41,10 @@ const ct = ["id"], ht = {
41
41
  }
42
42
  },
43
43
  setup(me, { expose: ye }) {
44
- const pe = G(() => import("./PackageVersion-Cyx_s25h.js")), be = G(() => import("./PenAndPaper-DSvu9dwa.js")), ke = G(() => import("./UserOptions-CGnQt6Fd.js")), { vue_ui_bullet: we } = Ge(), S = me, y = v(null), X = v(null), Y = v(0), J = v(null), K = v(null), xe = v(0), A = v(null), O = v(null), Q = v(!1), k = c({
45
- get: () => i.value.hasOwnProperty("value"),
44
+ const pe = G(() => import("./PackageVersion-DQvyATVa.js")), be = G(() => import("./PenAndPaper-SZQIAgkg.js")), ke = G(() => import("./UserOptions-CGnQt6Fd.js")), { vue_ui_bullet: we } = Ge(), B = me, k = c(null), X = c(null), Y = c(0), J = c(null), K = c(null), xe = c(0), L = c(null), I = c(null), Q = c(!1), x = h({
45
+ get: () => v.value.hasOwnProperty("value"),
46
46
  set: (t) => t
47
- }), L = c(() => i.value.segments ? Array.isArray(i.value.segments) ? i.value.segments.length ? !0 : (console.warn(`VueUiBullet: dataset segments is empty. Provide segments with this datastructure:
47
+ }), S = h(() => v.value.segments ? Array.isArray(v.value.segments) ? v.value.segments.length ? !0 : (console.warn(`VueUiBullet: dataset segments is empty. Provide segments with this datastructure:
48
48
 
49
49
  segments: [
50
50
  {
@@ -55,7 +55,7 @@ segments: [
55
55
  },
56
56
  {...}
57
57
  ]
58
- `), k.value = !1, !1) : (console.warn(`VueUiBullet: dataset segments must be an array of objects with this datastructure:
58
+ `), x.value = !1, !1) : (console.warn(`VueUiBullet: dataset segments must be an array of objects with this datastructure:
59
59
 
60
60
  segments: [
61
61
  {
@@ -66,7 +66,7 @@ segments: [
66
66
  },
67
67
  {...}
68
68
  ]
69
- `), k.value = !1, !1) : (console.warn(`VueUiBullet: dataset segments is empty. Provide segments with this datastructure:
69
+ `), x.value = !1, !1) : (console.warn(`VueUiBullet: dataset segments is empty. Provide segments with this datastructure:
70
70
 
71
71
  segments: [
72
72
  {
@@ -77,18 +77,18 @@ segments: [
77
77
  },
78
78
  {...}
79
79
  ]
80
- `), k.value = !1, !1)), Z = c(() => !!e.value.debug);
80
+ `), x.value = !1, !1)), Z = h(() => !!e.value.debug);
81
81
  function ee() {
82
- if (ge(i.value) ? (fe({
82
+ if (ge(v.value) ? (fe({
83
83
  componentName: "VueUiBullet",
84
84
  type: "dataset",
85
85
  debug: Z.value
86
- }), B.value = !0) : L.value ? i.value.segments.forEach((t, s) => {
86
+ }), P.value = !0) : S.value ? v.value.segments.forEach((t, s) => {
87
87
  Ke({
88
88
  datasetObject: t,
89
89
  requiredAttributes: ["name", "from", "to"]
90
90
  }).forEach((a) => {
91
- k.value = !1, fe({
91
+ x.value = !1, fe({
92
92
  componentName: "VueUiBullet segment",
93
93
  type: "datasetSerieAttribute",
94
94
  property: a,
@@ -96,40 +96,40 @@ segments: [
96
96
  debug: Z.value
97
97
  });
98
98
  });
99
- }) : (k.value = !1, B.value = !0), ge(i.value) || (B.value = e.value.loading), e.value.responsive) {
99
+ }) : (x.value = !1, P.value = !0), ge(v.value) || (P.value = e.value.loading), e.value.responsive) {
100
100
  const t = Qe(() => {
101
101
  const { width: s, height: a } = Ze({
102
- chart: y.value,
102
+ chart: k.value,
103
103
  title: e.value.style.chart.title.text ? X.value : null,
104
104
  legend: e.value.style.chart.legend.show ? J.value : null,
105
105
  source: K.value
106
106
  });
107
107
  requestAnimationFrame(() => {
108
- I.value.width = s, I.value.height = a - 12;
108
+ F.value.width = s, F.value.height = a - 12;
109
109
  });
110
110
  });
111
- A.value && (O.value && A.value.unobserve(O.value), A.value.disconnect()), A.value = new ResizeObserver(t), O.value = y.value.parentNode, A.value.observe(O.value);
111
+ L.value && (I.value && L.value.unobserve(I.value), L.value.disconnect()), L.value = new ResizeObserver(t), I.value = k.value.parentNode, L.value.observe(I.value);
112
112
  }
113
- e.value.style.chart.animation.show && !w.value && se(i.value.value || 0);
113
+ e.value.style.chart.animation.show && !C.value && se(v.value.value || 0);
114
114
  }
115
115
  ze(() => {
116
116
  Q.value = !0, ee();
117
117
  });
118
- const p = v(Ve());
118
+ const w = c(Ve());
119
119
  function z() {
120
120
  const t = de({
121
- userConfig: S.config,
121
+ userConfig: B.config,
122
122
  defaultConfig: we
123
123
  });
124
124
  return t.theme ? {
125
125
  ...de({
126
- userConfig: lt.vue_ui_bullet[t.theme] || S.config,
126
+ userConfig: lt.vue_ui_bullet[t.theme] || B.config,
127
127
  defaultConfig: t
128
128
  })
129
129
  } : t;
130
130
  }
131
- const e = v(z()), { loading: w, FINAL_DATASET: i, manualLoading: B } = nt({
132
- ...Ne(S),
131
+ const e = c(z()), { loading: C, FINAL_DATASET: v, manualLoading: P } = rt({
132
+ ...Ne(B),
133
133
  FINAL_CONFIG: e,
134
134
  prepareConfig: z,
135
135
  skeletonDataset: {
@@ -177,78 +177,78 @@ segments: [
177
177
  }
178
178
  })
179
179
  }), { userOptionsVisible: N, setUserOptionsVisibility: te, keepUserOptionState: ae } = tt({ config: e.value }), { svgRef: E } = at({ config: e.value.style.chart.title });
180
- ce(() => S.config, (t) => {
181
- w.value || (e.value = z()), N.value = !e.value.userOptions.showOnChartHover, ee(), Y.value += 1;
180
+ ce(() => B.config, (t) => {
181
+ C.value || (e.value = z()), N.value = !e.value.userOptions.showOnChartHover, ee(), Y.value += 1;
182
182
  }, { deep: !0 });
183
- const I = v({
183
+ const F = c({
184
184
  width: e.value.style.chart.width,
185
185
  height: e.value.style.chart.height
186
- }), _e = c(() => I.value.width), Ce = c(() => I.value.height), l = c(() => {
187
- const t = Ce.value, s = _e.value, a = e.value.style.chart.padding.left, h = s - e.value.style.chart.padding.right, x = e.value.style.chart.padding.top, d = t - e.value.style.chart.padding.bottom;
186
+ }), Ce = h(() => F.value.width), $e = h(() => F.value.height), l = h(() => {
187
+ const t = $e.value, s = Ce.value, a = e.value.style.chart.padding.left, d = s - e.value.style.chart.padding.right, $ = e.value.style.chart.padding.top, g = t - e.value.style.chart.padding.bottom;
188
188
  return {
189
189
  height: Math.max(1e-3, t),
190
190
  width: Math.max(1e-3, s),
191
191
  left: a,
192
- right: h,
193
- top: x,
194
- bottom: d,
195
- chartWidth: Math.max(1e-3, h - a),
196
- chartHeight: Math.max(1e-3, d - x)
192
+ right: d,
193
+ top: $,
194
+ bottom: g,
195
+ chartWidth: Math.max(1e-3, d - a),
196
+ chartHeight: Math.max(1e-3, g - $)
197
197
  };
198
- }), Ae = c(() => {
199
- if (!L.value) return [];
198
+ }), Ae = h(() => {
199
+ if (!S.value) return [];
200
200
  const t = [];
201
- for (let s = 0; s < i.value.segments.length; s += 1)
202
- t.push(qe(e.value.style.chart.segments.baseColor, s / i.value.segments.length));
201
+ for (let s = 0; s < v.value.segments.length; s += 1)
202
+ t.push(qe(e.value.style.chart.segments.baseColor, s / v.value.segments.length));
203
203
  return t;
204
- }), U = c(() => L.value ? {
205
- min: Math.min(...i.value.segments.map((t) => t.from)),
206
- max: Math.max(...i.value.segments.map((t) => t.to))
207
- } : { min: 0, max: 1 }), g = v(Le());
208
- ce(() => i.value, (t) => {
209
- t.hasOwnProperty("value") && (B.value = !1), e.value.style.chart.animation.show && !w.value ? se(t.value || 0) : g.value = t.value || 0;
204
+ }), U = h(() => S.value ? {
205
+ min: Math.min(...v.value.segments.map((t) => t.from)),
206
+ max: Math.max(...v.value.segments.map((t) => t.to))
207
+ } : { min: 0, max: 1 }), m = c(_e());
208
+ ce(() => v.value, (t) => {
209
+ t.hasOwnProperty("value") && (P.value = !1), e.value.style.chart.animation.show && !C.value ? se(t.value || 0) : m.value = t.value || 0;
210
210
  }, { deep: !0 });
211
- function Le() {
212
- return e.value.style.chart.animation.show && !w.value ? U.value.min : i.value.value || 0;
211
+ function _e() {
212
+ return e.value.style.chart.animation.show && !C.value ? U.value.min : v.value.value || 0;
213
213
  }
214
- const le = v(null);
214
+ const le = c(null);
215
215
  function se(t) {
216
- const s = Math.abs(t - g.value) / e.value.style.chart.animation.animationFrames;
216
+ const s = Math.abs(t - m.value) / e.value.style.chart.animation.animationFrames;
217
217
  function a() {
218
- g.value < t ? g.value = Math.min(g.value + s, t) : g.value > t && (g.value = Math.max(g.value - s, t)), g.value !== t && (le.value = requestAnimationFrame(a));
218
+ m.value < t ? m.value = Math.min(m.value + s, t) : m.value > t && (m.value = Math.max(m.value - s, t)), m.value !== t && (le.value = requestAnimationFrame(a));
219
219
  }
220
220
  a();
221
221
  }
222
222
  Ee(() => {
223
223
  cancelAnimationFrame(le.value);
224
224
  });
225
- const f = c(() => {
226
- if (!L.value)
225
+ const y = h(() => {
226
+ if (!S.value)
227
227
  return [];
228
228
  const t = Xe(U.value.min, U.value.max, e.value.style.chart.segments.ticks.divisions), s = t.min >= 0 ? 0 : Math.abs(t.min), a = {
229
- x: l.value.left + (i.value.target + s) / (t.max + s) * l.value.chartWidth - e.value.style.chart.target.width / 2
230
- }, h = {
231
- width: (g.value + s) / (t.max + s) * l.value.chartWidth
232
- }, x = t.ticks.map((d) => ({
233
- value: d,
229
+ x: l.value.left + (v.value.target + s) / (t.max + s) * l.value.chartWidth - e.value.style.chart.target.width / 2
230
+ }, d = {
231
+ width: (m.value + s) / (t.max + s) * l.value.chartWidth
232
+ }, $ = t.ticks.map((g) => ({
233
+ value: g,
234
234
  y: l.value.bottom + e.value.style.chart.segments.dataLabels.fontSize + 3 + e.value.style.chart.segments.dataLabels.offsetY,
235
- x: l.value.left + (d + s) / (t.max + s) * l.value.chartWidth
235
+ x: l.value.left + (g + s) / (t.max + s) * l.value.chartWidth
236
236
  }));
237
237
  return {
238
238
  scale: t,
239
239
  target: a,
240
- value: h,
241
- ticks: x,
242
- chunks: i.value.segments.map((d, Re) => ({
243
- ...d,
244
- color: d.color ? Ye(d.color) : Ae.value[Re],
245
- x: l.value.left + l.value.chartWidth * ((d.from + s) / (t.max + s)),
240
+ value: d,
241
+ ticks: $,
242
+ chunks: v.value.segments.map((g, Re) => ({
243
+ ...g,
244
+ color: g.color ? Ye(g.color) : Ae.value[Re],
245
+ x: l.value.left + l.value.chartWidth * ((g.from + s) / (t.max + s)),
246
246
  y: l.value.top,
247
247
  height: l.value.chartHeight,
248
- width: l.value.chartWidth * (Math.abs(d.to - d.from) / (t.max + s))
248
+ width: l.value.chartWidth * (Math.abs(g.to - g.from) / (t.max + s))
249
249
  }))
250
250
  };
251
- }), W = c(() => !f.value || !f.value.chunks || !f.value.chunks.length ? [] : f.value.chunks.map((t) => {
251
+ }), W = h(() => !y.value || !y.value.chunks || !y.value.chunks.length ? [] : y.value.chunks.map((t) => {
252
252
  const s = M(
253
253
  e.value.style.chart.segments.dataLabels.formatter,
254
254
  t.from,
@@ -267,51 +267,51 @@ segments: [
267
267
  s: e.value.style.chart.segments.dataLabels.suffix,
268
268
  r: e.value.style.chart.segments.dataLabels.rounding
269
269
  })
270
- ), h = `${s} — ${a}`;
270
+ ), d = `${s} — ${a}`;
271
271
  return {
272
272
  ...t,
273
273
  shape: "square",
274
- value: h,
275
- display: `${t.name}: ${h}`
274
+ value: d,
275
+ display: `${t.name}: ${d}`
276
276
  };
277
- })), $e = c(() => ({
277
+ })), Le = h(() => ({
278
278
  cy: "bullet-div-legend",
279
279
  backgroundColor: "transparent",
280
280
  color: e.value.style.chart.legend.color,
281
281
  fontSize: e.value.style.chart.legend.fontSize,
282
282
  paddingBottom: 6,
283
283
  fontWeight: e.value.style.chart.legend.bold ? "bold" : ""
284
- })), { isPrinting: oe, isImaging: re, generatePdf: ne, generateImage: ue } = et({
285
- elementId: `bullet_${p.value}`,
284
+ })), { isPrinting: oe, isImaging: ne, generatePdf: re, generateImage: ue } = et({
285
+ elementId: `bullet_${w.value}`,
286
286
  fileName: e.value.style.chart.title.text || "vue-ui-bullet",
287
287
  options: e.value.userOptions.print
288
- }), Se = c(() => e.value.userOptions.show && !e.value.style.chart.title.text), $ = v(!1);
288
+ }), Se = h(() => e.value.userOptions.show && !e.value.style.chart.title.text), O = c(!1);
289
289
  function ie(t) {
290
- $.value = t, xe.value += 1;
290
+ O.value = t, xe.value += 1;
291
291
  }
292
292
  function Oe() {
293
- return f.value;
293
+ return y.value;
294
294
  }
295
- const P = v(!1);
295
+ const T = c(!1);
296
296
  function D() {
297
- P.value = !P.value;
297
+ T.value = !T.value;
298
298
  }
299
299
  async function Be({ scale: t = 2 } = {}) {
300
- if (!y.value) return;
301
- const { width: s, height: a } = y.value.getBoundingClientRect(), h = s / a, { imageUri: x, base64: d } = await rt({ domElement: y.value, base64: !0, img: !0, scale: t });
300
+ if (!k.value) return;
301
+ const { width: s, height: a } = k.value.getBoundingClientRect(), d = s / a, { imageUri: $, base64: g } = await nt({ domElement: k.value, base64: !0, img: !0, scale: t });
302
302
  return {
303
- imageUri: x,
304
- base64: d,
303
+ imageUri: $,
304
+ base64: g,
305
305
  title: e.value.style.chart.title.text,
306
306
  width: s,
307
307
  height: a,
308
- aspectRatio: h
308
+ aspectRatio: d
309
309
  };
310
310
  }
311
- const Ie = c(() => W.value.map((t) => ({
311
+ const Ie = h(() => W.value.map((t) => ({
312
312
  ...t,
313
313
  name: t.display
314
- }))), Pe = c(() => e.value.style.chart.backgroundColor), Fe = c(() => e.value.style.chart.legend), Te = c(() => e.value.style.chart.title), { exportSvg: He, getSvg: Me } = it({
314
+ }))), Pe = h(() => e.value.style.chart.backgroundColor), Fe = h(() => e.value.style.chart.legend), Te = h(() => e.value.style.chart.title), { exportSvg: He, getSvg: Me } = it({
315
315
  svg: E,
316
316
  title: Te,
317
317
  legend: Fe,
@@ -324,36 +324,56 @@ segments: [
324
324
  return ye({
325
325
  getData: Oe,
326
326
  getImage: Be,
327
- generatePdf: ne,
327
+ generatePdf: re,
328
328
  generateImage: ue,
329
329
  generateSvg: ve,
330
330
  toggleAnnotator: D,
331
331
  toggleFullscreen: ie
332
- }), (t, s) => (o(), n("div", {
332
+ }), (t, s) => (o(), r("div", {
333
333
  ref_key: "bulletChart",
334
- ref: y,
335
- class: he(`vue-data-ui-component vue-ui-bullet ${$.value ? "vue-data-ui-wrapper-fullscreen" : ""}`),
334
+ ref: k,
335
+ class: he(`vue-data-ui-component vue-ui-bullet ${O.value ? "vue-data-ui-wrapper-fullscreen" : ""}`),
336
336
  style: V(`font-family:${e.value.style.fontFamily};width:100%;background:${e.value.style.chart.backgroundColor}`),
337
- id: `bullet_${p.value}`,
338
- onMouseenter: s[0] || (s[0] = () => r(te)(!0)),
339
- onMouseleave: s[1] || (s[1] = () => r(te)(!1))
337
+ id: `bullet_${w.value}`,
338
+ onMouseenter: s[0] || (s[0] = () => n(te)(!0)),
339
+ onMouseleave: s[1] || (s[1] = () => n(te)(!1))
340
340
  }, [
341
- e.value.userOptions.buttons.annotator ? (o(), _(r(be), {
341
+ e.value.userOptions.buttons.annotator ? (o(), A(n(be), {
342
342
  key: 0,
343
- svgRef: r(E),
343
+ svgRef: n(E),
344
344
  backgroundColor: e.value.style.chart.backgroundColor,
345
345
  color: e.value.style.chart.color,
346
- active: P.value,
346
+ active: T.value,
347
347
  onClose: D
348
- }, null, 8, ["svgRef", "backgroundColor", "color", "active"])) : u("", !0),
349
- Se.value ? (o(), n("div", ht, null, 512)) : u("", !0),
350
- e.value.style.chart.title.text ? (o(), n("div", {
348
+ }, {
349
+ "annotator-action-close": f(() => [
350
+ i(t.$slots, "annotator-action-close", {}, void 0, !0)
351
+ ]),
352
+ "annotator-action-color": f(({ color: a }) => [
353
+ i(t.$slots, "annotator-action-color", p(b({ color: a })), void 0, !0)
354
+ ]),
355
+ "annotator-action-draw": f(({ mode: a }) => [
356
+ i(t.$slots, "annotator-action-draw", p(b({ mode: a })), void 0, !0)
357
+ ]),
358
+ "annotator-action-undo": f(({ disabled: a }) => [
359
+ i(t.$slots, "annotator-action-undo", p(b({ disabled: a })), void 0, !0)
360
+ ]),
361
+ "annotator-action-redo": f(({ disabled: a }) => [
362
+ i(t.$slots, "annotator-action-redo", p(b({ disabled: a })), void 0, !0)
363
+ ]),
364
+ "annotator-action-delete": f(({ disabled: a }) => [
365
+ i(t.$slots, "annotator-action-delete", p(b({ disabled: a })), void 0, !0)
366
+ ]),
367
+ _: 3
368
+ }, 8, ["svgRef", "backgroundColor", "color", "active"])) : u("", !0),
369
+ Se.value ? (o(), r("div", ht, null, 512)) : u("", !0),
370
+ e.value.style.chart.title.text ? (o(), r("div", {
351
371
  key: 2,
352
372
  ref_key: "chartTitle",
353
373
  ref: X,
354
374
  style: "width:100%;background:transparent;"
355
375
  }, [
356
- (o(), _(ot, {
376
+ (o(), A(ot, {
357
377
  lineHeight: "1.3rem",
358
378
  key: `title_${Y.value}`,
359
379
  config: {
@@ -368,17 +388,17 @@ segments: [
368
388
  }
369
389
  }, null, 8, ["config"]))
370
390
  ], 512)) : u("", !0),
371
- C("div", {
372
- id: `legend-top-${p.value}`
391
+ _("div", {
392
+ id: `legend-top-${w.value}`
373
393
  }, null, 8, dt),
374
- e.value.userOptions.show && k.value && (r(ae) || r(N)) ? (o(), _(r(ke), {
394
+ e.value.userOptions.show && x.value && (n(ae) || n(N)) ? (o(), A(n(ke), {
375
395
  key: 3,
376
396
  ref: "details",
377
397
  backgroundColor: e.value.style.chart.backgroundColor,
378
398
  color: e.value.style.chart.color,
379
- isPrinting: r(oe),
380
- isImaging: r(re),
381
- uid: p.value,
399
+ isPrinting: n(oe),
400
+ isImaging: n(ne),
401
+ uid: w.value,
382
402
  hasTooltip: !1,
383
403
  hasPdf: e.value.userOptions.buttons.pdf,
384
404
  hasImg: e.value.userOptions.buttons.img,
@@ -387,76 +407,76 @@ segments: [
387
407
  hasTable: !1,
388
408
  hasLabel: !1,
389
409
  hasFullscreen: e.value.userOptions.buttons.fullscreen,
390
- isFullscreen: $.value,
391
- chartElement: y.value,
410
+ isFullscreen: O.value,
411
+ chartElement: k.value,
392
412
  position: e.value.userOptions.position,
393
413
  titles: { ...e.value.userOptions.buttonTitles },
394
414
  hasAnnotator: e.value.userOptions.buttons.annotator,
395
- isAnnotation: P.value,
415
+ isAnnotation: T.value,
396
416
  callbacks: e.value.userOptions.callbacks,
397
417
  printScale: e.value.userOptions.print.scale,
398
418
  onToggleFullscreen: ie,
399
- onGeneratePdf: r(ne),
400
- onGenerateImage: r(ue),
419
+ onGeneratePdf: n(re),
420
+ onGenerateImage: n(ue),
401
421
  onGenerateSvg: ve,
402
422
  onToggleAnnotator: D,
403
423
  style: V({
404
- visibility: r(ae) ? r(N) ? "visible" : "hidden" : "visible"
424
+ visibility: n(ae) ? n(N) ? "visible" : "hidden" : "visible"
405
425
  })
406
426
  }, Ue({ _: 2 }, [
407
427
  t.$slots.menuIcon ? {
408
428
  name: "menuIcon",
409
- fn: b(({ isOpen: a, color: h }) => [
410
- m(t.$slots, "menuIcon", F(T({ isOpen: a, color: h })), void 0, !0)
429
+ fn: f(({ isOpen: a, color: d }) => [
430
+ i(t.$slots, "menuIcon", p(b({ isOpen: a, color: d })), void 0, !0)
411
431
  ]),
412
432
  key: "0"
413
433
  } : void 0,
414
434
  t.$slots.optionPdf ? {
415
435
  name: "optionPdf",
416
- fn: b(() => [
417
- m(t.$slots, "optionPdf", {}, void 0, !0)
436
+ fn: f(() => [
437
+ i(t.$slots, "optionPdf", {}, void 0, !0)
418
438
  ]),
419
439
  key: "1"
420
440
  } : void 0,
421
441
  t.$slots.optionImg ? {
422
442
  name: "optionImg",
423
- fn: b(() => [
424
- m(t.$slots, "optionImg", {}, void 0, !0)
443
+ fn: f(() => [
444
+ i(t.$slots, "optionImg", {}, void 0, !0)
425
445
  ]),
426
446
  key: "2"
427
447
  } : void 0,
428
448
  t.$slots.optionSvg ? {
429
449
  name: "optionSvg",
430
- fn: b(() => [
431
- m(t.$slots, "optionSvg", {}, void 0, !0)
450
+ fn: f(() => [
451
+ i(t.$slots, "optionSvg", {}, void 0, !0)
432
452
  ]),
433
453
  key: "3"
434
454
  } : void 0,
435
455
  t.$slots.optionFullscreen ? {
436
456
  name: "optionFullscreen",
437
- fn: b(({ toggleFullscreen: a, isFullscreen: h }) => [
438
- m(t.$slots, "optionFullscreen", F(T({ toggleFullscreen: a, isFullscreen: h })), void 0, !0)
457
+ fn: f(({ toggleFullscreen: a, isFullscreen: d }) => [
458
+ i(t.$slots, "optionFullscreen", p(b({ toggleFullscreen: a, isFullscreen: d })), void 0, !0)
439
459
  ]),
440
460
  key: "4"
441
461
  } : void 0,
442
462
  t.$slots.optionAnnotator ? {
443
463
  name: "optionAnnotator",
444
- fn: b(({ toggleAnnotator: a, isAnnotator: h }) => [
445
- m(t.$slots, "optionAnnotator", F(T({ toggleAnnotator: a, isAnnotator: h })), void 0, !0)
464
+ fn: f(({ toggleAnnotator: a, isAnnotator: d }) => [
465
+ i(t.$slots, "optionAnnotator", p(b({ toggleAnnotator: a, isAnnotator: d })), void 0, !0)
446
466
  ]),
447
467
  key: "5"
448
468
  } : void 0
449
469
  ]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasPdf", "hasImg", "hasSvg", "hasFullscreen", "isFullscreen", "chartElement", "position", "titles", "hasAnnotator", "isAnnotation", "callbacks", "printScale", "onGeneratePdf", "onGenerateImage", "style"])) : u("", !0),
450
- (o(), n("svg", {
470
+ (o(), r("svg", {
451
471
  ref_key: "svgRef",
452
472
  ref: E,
453
- xmlns: r(Je),
454
- class: he({ "vue-data-ui-fullscreen--on": $.value, "vue-data-ui-fulscreen--off": !$.value, "vue-ui-bullet-svg": !0 }),
473
+ xmlns: n(Je),
474
+ class: he({ "vue-data-ui-fullscreen--on": O.value, "vue-data-ui-fulscreen--off": !O.value, "vue-ui-bullet-svg": !0 }),
455
475
  viewBox: `0 0 ${l.value.width} ${l.value.height}`,
456
476
  style: V(`width: 100%; overflow: visible; background:transparent;color:${e.value.style.chart.color}`)
457
477
  }, [
458
- We(r(pe)),
459
- t.$slots["chart-background"] ? (o(), n("foreignObject", {
478
+ We(n(pe)),
479
+ t.$slots["chart-background"] ? (o(), r("foreignObject", {
460
480
  key: 0,
461
481
  x: 0,
462
482
  y: 0,
@@ -466,10 +486,10 @@ segments: [
466
486
  pointerEvents: "none"
467
487
  }
468
488
  }, [
469
- m(t.$slots, "chart-background", {}, void 0, !0)
489
+ i(t.$slots, "chart-background", {}, void 0, !0)
470
490
  ], 8, ft)) : u("", !0),
471
- L.value ? (o(), n("g", mt, [
472
- (o(!0), n(j, null, q(f.value.chunks, (a) => (o(), n("rect", {
491
+ S.value ? (o(), r("g", mt, [
492
+ (o(!0), r(j, null, q(y.value.chunks, (a) => (o(), r("rect", {
473
493
  x: a.x,
474
494
  y: a.y,
475
495
  height: a.height,
@@ -479,9 +499,9 @@ segments: [
479
499
  stroke: e.value.style.chart.backgroundColor,
480
500
  style: { transition: "x 0.3s ease-in-out, width 0.3s ease-in-out" }
481
501
  }, null, 8, yt))), 256)),
482
- !e.value.style.chart.target.onTop && e.value.style.chart.target.show ? (o(), n("rect", {
502
+ !e.value.style.chart.target.onTop && e.value.style.chart.target.show ? (o(), r("rect", {
483
503
  key: 0,
484
- x: f.value.target.x,
504
+ x: y.value.target.x,
485
505
  y: l.value.top + (l.value.chartHeight - l.value.chartHeight * e.value.style.chart.target.heightRatio) / 2,
486
506
  height: l.value.chartHeight * e.value.style.chart.target.heightRatio,
487
507
  width: e.value.style.chart.target.width,
@@ -490,36 +510,36 @@ segments: [
490
510
  stroke: e.value.style.chart.target.stroke,
491
511
  "stroke-width": e.value.style.chart.target.strokeWidth
492
512
  }, null, 8, pt)) : u("", !0),
493
- C("rect", {
513
+ _("rect", {
494
514
  x: l.value.left,
495
515
  y: l.value.top + (l.value.chartHeight - l.value.chartHeight * e.value.style.chart.valueBar.heightRatio) / 2,
496
516
  height: l.value.chartHeight * e.value.style.chart.valueBar.heightRatio,
497
- width: f.value.value.width,
517
+ width: y.value.value.width,
498
518
  fill: e.value.style.chart.valueBar.color,
499
519
  stroke: e.value.style.chart.valueBar.stroke,
500
520
  "stroke-width": e.value.style.chart.valueBar.strokeWidth
501
521
  }, null, 8, bt),
502
- e.value.style.chart.valueBar.label.show ? (o(), n("text", {
522
+ e.value.style.chart.valueBar.label.show ? (o(), r("text", {
503
523
  key: 1,
504
- x: l.value.left + f.value.value.width,
524
+ x: l.value.left + y.value.value.width,
505
525
  y: l.value.top - 6 + e.value.style.chart.valueBar.label.offsetY,
506
526
  "font-size": e.value.style.chart.valueBar.label.fontSize,
507
527
  "font-weight": e.value.style.chart.valueBar.label.bold ? "bold" : "normal",
508
528
  fill: e.value.style.chart.valueBar.label.color,
509
529
  "text-anchor": "middle"
510
- }, H(r(M)(
530
+ }, H(n(M)(
511
531
  e.value.style.chart.segments.dataLabels.formatter,
512
- g.value,
513
- r(R)({
532
+ m.value,
533
+ n(R)({
514
534
  p: e.value.style.chart.segments.dataLabels.prefix,
515
- v: g.value,
535
+ v: m.value,
516
536
  s: e.value.style.chart.segments.dataLabels.suffix,
517
537
  r: e.value.style.chart.segments.dataLabels.rounding
518
538
  })
519
539
  )), 9, kt)) : u("", !0),
520
- e.value.style.chart.target.onTop && e.value.style.chart.target.show ? (o(), n("rect", {
540
+ e.value.style.chart.target.onTop && e.value.style.chart.target.show ? (o(), r("rect", {
521
541
  key: 2,
522
- x: f.value.target.x,
542
+ x: y.value.target.x,
523
543
  y: l.value.top + (l.value.chartHeight - l.value.chartHeight * e.value.style.chart.target.heightRatio) / 2,
524
544
  height: l.value.chartHeight * e.value.style.chart.target.heightRatio,
525
545
  width: e.value.style.chart.target.width,
@@ -529,27 +549,27 @@ segments: [
529
549
  "stroke-width": e.value.style.chart.target.strokeWidth,
530
550
  style: { transition: "x 0.3s ease-in-out" }
531
551
  }, null, 8, wt)) : u("", !0),
532
- e.value.style.chart.segments.dataLabels.show ? (o(), n("g", xt, [
533
- (o(!0), n(j, null, q(f.value.ticks, (a) => (o(), n("text", {
552
+ e.value.style.chart.segments.dataLabels.show ? (o(), r("g", xt, [
553
+ (o(!0), r(j, null, q(y.value.ticks, (a) => (o(), r("text", {
534
554
  x: a.x,
535
555
  y: a.y,
536
556
  "text-anchor": "middle",
537
557
  fill: e.value.style.chart.segments.dataLabels.color,
538
558
  "font-size": e.value.style.chart.segments.dataLabels.fontSize + "px",
539
559
  "font-weight": e.value.style.chart.segments.dataLabels.bold ? "bold" : "normal"
540
- }, H(r(M)(
560
+ }, H(n(M)(
541
561
  e.value.style.chart.segments.dataLabels.formatter,
542
562
  a.value,
543
- r(R)({
563
+ n(R)({
544
564
  p: e.value.style.chart.segments.dataLabels.prefix,
545
565
  v: a.value,
546
566
  s: e.value.style.chart.segments.dataLabels.suffix,
547
567
  r: e.value.style.chart.segments.dataLabels.rounding
548
568
  })
549
- )), 9, _t))), 256))
569
+ )), 9, Ct))), 256))
550
570
  ])) : u("", !0),
551
- e.value.style.chart.segments.dataLabels.show && e.value.style.chart.segments.ticks.show ? (o(), n("g", Ct, [
552
- (o(!0), n(j, null, q(f.value.ticks, (a) => (o(), n("line", {
571
+ e.value.style.chart.segments.dataLabels.show && e.value.style.chart.segments.ticks.show ? (o(), r("g", $t, [
572
+ (o(!0), r(j, null, q(y.value.ticks, (a) => (o(), r("line", {
553
573
  x1: a.x,
554
574
  x2: a.x,
555
575
  y1: l.value.bottom,
@@ -560,51 +580,51 @@ segments: [
560
580
  }, null, 8, At))), 256))
561
581
  ])) : u("", !0)
562
582
  ])) : u("", !0),
563
- m(t.$slots, "svg", { svg: l.value }, void 0, !0)
583
+ i(t.$slots, "svg", { svg: l.value }, void 0, !0)
564
584
  ], 14, gt)),
565
- t.$slots.watermark ? (o(), n("div", Lt, [
566
- m(t.$slots, "watermark", F(T({ isPrinting: r(oe) || r(re) })), void 0, !0)
585
+ t.$slots.watermark ? (o(), r("div", _t, [
586
+ i(t.$slots, "watermark", p(b({ isPrinting: n(oe) || n(ne) })), void 0, !0)
567
587
  ])) : u("", !0),
568
- C("div", {
569
- id: `legend-bottom-${p.value}`
570
- }, null, 8, $t),
571
- Q.value ? (o(), _(De, {
588
+ _("div", {
589
+ id: `legend-bottom-${w.value}`
590
+ }, null, 8, Lt),
591
+ Q.value ? (o(), A(De, {
572
592
  key: 5,
573
- to: e.value.style.chart.legend.position === "top" ? `#legend-top-${p.value}` : `#legend-bottom-${p.value}`
593
+ to: e.value.style.chart.legend.position === "top" ? `#legend-top-${w.value}` : `#legend-bottom-${w.value}`
574
594
  }, [
575
- C("div", {
595
+ _("div", {
576
596
  ref_key: "chartLegend",
577
597
  ref: J
578
598
  }, [
579
- e.value.style.chart.legend.show ? (o(), _(st, {
599
+ e.value.style.chart.legend.show ? (o(), A(st, {
580
600
  key: 0,
581
601
  clickable: !1,
582
602
  legendSet: W.value,
583
- config: $e.value
603
+ config: Le.value
584
604
  }, {
585
- item: b(({ legend: a }) => [
586
- r(w) ? u("", !0) : (o(), n("div", St, [
587
- C("span", Ot, H(a.name) + ":", 1),
588
- C("span", null, H(a.value), 1)
605
+ item: f(({ legend: a }) => [
606
+ n(C) ? u("", !0) : (o(), r("div", St, [
607
+ _("span", Ot, H(a.name) + ":", 1),
608
+ _("span", null, H(a.value), 1)
589
609
  ]))
590
610
  ]),
591
611
  _: 1
592
612
  }, 8, ["legendSet", "config"])) : u("", !0),
593
- m(t.$slots, "legend", { legend: W.value }, void 0, !0)
613
+ i(t.$slots, "legend", { legend: W.value }, void 0, !0)
594
614
  ], 512)
595
615
  ], 8, ["to"])) : u("", !0),
596
- t.$slots.source ? (o(), n("div", {
616
+ t.$slots.source ? (o(), r("div", {
597
617
  key: 6,
598
618
  ref_key: "source",
599
619
  ref: K,
600
620
  dir: "auto"
601
621
  }, [
602
- m(t.$slots, "source", {}, void 0, !0)
622
+ i(t.$slots, "source", {}, void 0, !0)
603
623
  ], 512)) : u("", !0),
604
- r(w) ? (o(), _(ut, { key: 7 })) : u("", !0)
624
+ n(C) ? (o(), A(ut, { key: 7 })) : u("", !0)
605
625
  ], 46, ct));
606
626
  }
607
- }, Vt = /* @__PURE__ */ vt(Bt, [["__scopeId", "data-v-6daaa51f"]]);
627
+ }, Vt = /* @__PURE__ */ vt(Bt, [["__scopeId", "data-v-ab4dd268"]]);
608
628
  export {
609
629
  Vt as default
610
630
  };