vue-data-ui 3.1.17 → 3.1.18

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 (89) hide show
  1. package/dist/{Arrow-DFX_NfRh.js → Arrow-BC5klzOh.js} +1 -1
  2. package/dist/{BaseDraggableDialog-CrCjMg89.js → BaseDraggableDialog-CkjMZyIs.js} +2 -2
  3. package/dist/{BaseIcon-7s-tCFcQ.js → BaseIcon-BPiT94Lb.js} +1 -1
  4. package/dist/{ColorPicker-BoLH_m_Z.js → ColorPicker-bx5e2RB2.js} +2 -2
  5. package/dist/{DataTable-Dw6dxJk3.js → DataTable-CywujQw9.js} +2 -2
  6. package/dist/{Legend-CjdnJGHq.js → Legend-h35dp0Qf.js} +2 -2
  7. package/dist/{NonSvgPenAndPaper-tX2IXHuz.js → NonSvgPenAndPaper-CvnlQ378.js} +3 -3
  8. package/dist/{PackageVersion-D1HToLlZ.js → PackageVersion-BzGzkGiC.js} +1 -1
  9. package/dist/{PenAndPaper-BKnXOYre.js → PenAndPaper-Deh70G9d.js} +3 -3
  10. package/dist/{Shape-6PexQroB.js → Shape-sVxD_SDm.js} +1 -1
  11. package/dist/{Slicer-BJkhMBk4.js → Slicer-CQB967He.js} +2 -2
  12. package/dist/{SparkTooltip-BtO1j0i1.js → SparkTooltip-DFRSPT3_.js} +1 -1
  13. package/dist/{Title-BVMfF0uu.js → Title-B_WMW2Bp.js} +1 -1
  14. package/dist/{Tooltip-DBvmoYXU.js → Tooltip-Db9jy0Iu.js} +1 -1
  15. package/dist/{UserOptions-CKzW9w0Q.js → UserOptions-CtECQwBN.js} +2 -2
  16. package/dist/{dom-to-png-D0wlWRL9.js → dom-to-png-BHpS3cMi.js} +1 -1
  17. package/dist/{img-CeCjiMpr.js → img-BArHHegM.js} +1 -1
  18. package/dist/{index-Lg17rmB1.js → index-smzxfsyV.js} +2 -2
  19. package/dist/{pdf-D5bgIg6W.js → pdf-D1L3r23x.js} +1 -1
  20. package/dist/style.css +1 -1
  21. package/dist/{useAutoSizeLabelsInsideViewbox-BxqMb3sU.js → useAutoSizeLabelsInsideViewbox-DeqXeTNw.js} +1 -1
  22. package/dist/{useNestedProp-DpwLJMsW.js → useNestedProp-DeKmJzsE.js} +1 -1
  23. package/dist/{usePrinter-DGI4Mlad.js → usePrinter-nFj0xF0a.js} +2 -2
  24. package/dist/{vue-data-ui-lki09wwK.js → vue-data-ui-DcBYykse.js} +64 -64
  25. package/dist/vue-data-ui.js +1 -1
  26. package/dist/{vue-ui-3d-bar-8b3VZcUI.js → vue-ui-3d-bar-D4rc8PD3.js} +57 -57
  27. package/dist/{vue-ui-accordion-BJG-ogQj.js → vue-ui-accordion-7cfJUVx5.js} +3 -3
  28. package/dist/{vue-ui-age-pyramid-Cr_dhyTO.js → vue-ui-age-pyramid-BXMIUNB_.js} +6 -6
  29. package/dist/{vue-ui-annotator-ttaqcMTz.js → vue-ui-annotator-aCDhQ-m2.js} +2 -2
  30. package/dist/{vue-ui-bullet-DXvTj07g.js → vue-ui-bullet-Cd_iix-z.js} +7 -7
  31. package/dist/{vue-ui-candlestick-B5NqFTXr.js → vue-ui-candlestick-C-TTTgiW.js} +7 -7
  32. package/dist/{vue-ui-carousel-table-B0bpCRFh.js → vue-ui-carousel-table-C58J4zpm.js} +4 -4
  33. package/dist/{vue-ui-chestnut-Cby7Wcbu.js → vue-ui-chestnut-C7u6GW-T.js} +5 -5
  34. package/dist/{vue-ui-chord-Cxg8nwzZ.js → vue-ui-chord-DxLU3Fg1.js} +8 -8
  35. package/dist/{vue-ui-circle-pack-Cc5e6dE3.js → vue-ui-circle-pack--a_KE7qz.js} +6 -6
  36. package/dist/{vue-ui-cursor-D6MvR7jD.js → vue-ui-cursor-DJQWAIj8.js} +2 -2
  37. package/dist/{vue-ui-dashboard-CaUM9n5b.js → vue-ui-dashboard-CIACUYB-.js} +67 -67
  38. package/dist/{vue-ui-digits-DsoHRv9p.js → vue-ui-digits-CLV8h-P8.js} +2 -2
  39. package/dist/{vue-ui-donut-evolution-CFu9WNVV.js → vue-ui-donut-evolution-XGJvBQIm.js} +8 -8
  40. package/dist/{vue-ui-donut-Dxsq1gpz.js → vue-ui-donut-sO6G5oor.js} +8 -8
  41. package/dist/{vue-ui-dumbbell-Cgb7ijQS.js → vue-ui-dumbbell-Bi11rDL7.js} +7 -7
  42. package/dist/{vue-ui-flow-Ucb9PdWP.js → vue-ui-flow-RP2v-aZJ.js} +7 -7
  43. package/dist/{vue-ui-funnel-CV29tksj.js → vue-ui-funnel-TVQXGyw7.js} +6 -6
  44. package/dist/{vue-ui-galaxy-CVJb9_hA.js → vue-ui-galaxy-CUURaWgH.js} +7 -7
  45. package/dist/{vue-ui-gauge-ofpIH29X.js → vue-ui-gauge-hTRlwARA.js} +125 -125
  46. package/dist/{vue-ui-gizmo-Ci9kN9VQ.js → vue-ui-gizmo-CZIgBvWV.js} +3 -3
  47. package/dist/{vue-ui-heatmap-BK_jorrw.js → vue-ui-heatmap-RKtFMgDP.js} +7 -7
  48. package/dist/{vue-ui-history-plot-Ce8BB4Tn.js → vue-ui-history-plot-fbTG7Mke.js} +7 -7
  49. package/dist/{vue-ui-kpi-DAHT9q6j.js → vue-ui-kpi-CfX-zUDS.js} +3 -3
  50. package/dist/{vue-ui-mini-loader-CuilTrcI.js → vue-ui-mini-loader-C1nANuMy.js} +2 -2
  51. package/dist/{vue-ui-molecule-C6suewK-.js → vue-ui-molecule-BU7T1ysb.js} +5 -5
  52. package/dist/{vue-ui-mood-radar-DPvGhgPI.js → vue-ui-mood-radar-Cb8cFWzE.js} +7 -7
  53. package/dist/{vue-ui-nested-donuts-BvPWp9Du.js → vue-ui-nested-donuts-DTZD8BTA.js} +7 -7
  54. package/dist/{vue-ui-onion-BZ0tfRV_.js → vue-ui-onion-5xmlEUsJ.js} +8 -8
  55. package/dist/{vue-ui-parallel-coordinate-plot-DqFj8hbo.js → vue-ui-parallel-coordinate-plot-Wc0TbyJH.js} +8 -8
  56. package/dist/{vue-ui-quadrant-Cg5e73ny.js → vue-ui-quadrant-BC99Cua7.js} +8 -8
  57. package/dist/{vue-ui-quick-chart-sABlk5nb.js → vue-ui-quick-chart-Cbv2UcEu.js} +6 -6
  58. package/dist/{vue-ui-radar-DYcoGzSu.js → vue-ui-radar-B-ey_fDA.js} +8 -8
  59. package/dist/{vue-ui-rating-1eguB-TH.js → vue-ui-rating-BNCKLcCa.js} +2 -2
  60. package/dist/{vue-ui-relation-circle-BeWuQDkk.js → vue-ui-relation-circle-CYFQcAgc.js} +7 -7
  61. package/dist/{vue-ui-ridgeline-CG7FefqU.js → vue-ui-ridgeline-B_6K1FTc.js} +8 -8
  62. package/dist/{vue-ui-rings-2eedFGuC.js → vue-ui-rings-D_BTgxYc.js} +8 -8
  63. package/dist/{vue-ui-scatter-CNtgNP5j.js → vue-ui-scatter-B69SYOfv.js} +8 -8
  64. package/dist/{vue-ui-skeleton-fqG3bKSz.js → vue-ui-skeleton-CpkwgALO.js} +3 -3
  65. package/dist/{vue-ui-smiley-D4bvSF9S.js → vue-ui-smiley-t16dEIoQ.js} +2 -2
  66. package/dist/vue-ui-spark-trend-DskdjYw4.js +336 -0
  67. package/dist/{vue-ui-sparkbar-D1FXZyQE.js → vue-ui-sparkbar-C-evQIq2.js} +81 -81
  68. package/dist/{vue-ui-sparkgauge-CHbbxg13.js → vue-ui-sparkgauge-DycVSHAs.js} +4 -4
  69. package/dist/{vue-ui-sparkhistogram-BxYes64D.js → vue-ui-sparkhistogram-CZLnlSUD.js} +4 -4
  70. package/dist/{vue-ui-sparkline-CS3F5TFN.js → vue-ui-sparkline-C1nZRVTa.js} +169 -169
  71. package/dist/{vue-ui-sparkstackbar-CUSBwkUS.js → vue-ui-sparkstackbar-CUUeuwAI.js} +3 -3
  72. package/dist/{vue-ui-stackbar-CDihyp-i.js → vue-ui-stackbar-D27Wq8Y4.js} +9 -9
  73. package/dist/{vue-ui-strip-plot-D6MFuKnN.js → vue-ui-strip-plot-D-srKJUr.js} +7 -7
  74. package/dist/{vue-ui-table-COT59wVb.js → vue-ui-table-LcImk124.js} +4 -4
  75. package/dist/{vue-ui-table-heatmap--e8yw5yS.js → vue-ui-table-heatmap-BfXe_f0K.js} +5 -5
  76. package/dist/{vue-ui-table-sparkline-DnSLwUNN.js → vue-ui-table-sparkline-DyrnPNGv.js} +4 -4
  77. package/dist/{vue-ui-thermometer-ByiRARW0.js → vue-ui-thermometer-DxRDmz-L.js} +7 -7
  78. package/dist/{vue-ui-timer-DOQVdVN2.js → vue-ui-timer-Bbzb09O8.js} +5 -5
  79. package/dist/{vue-ui-tiremarks-BFXeJQNZ.js → vue-ui-tiremarks-DWy1Dkub.js} +6 -6
  80. package/dist/{vue-ui-treemap-s_O9rQUT.js → vue-ui-treemap-C3Ek_E4n.js} +8 -8
  81. package/dist/{vue-ui-vertical-bar-Bn-m5GKU.js → vue-ui-vertical-bar-CV3Mc1cX.js} +9 -9
  82. package/dist/{vue-ui-waffle-DmxaWHSw.js → vue-ui-waffle-D2mQJdcV.js} +8 -8
  83. package/dist/{vue-ui-wheel-zJ5U-h_D.js → vue-ui-wheel-zbog7bII.js} +6 -6
  84. package/dist/{vue-ui-word-cloud-BEnkOZdv.js → vue-ui-word-cloud-D9iZRkQP.js} +6 -6
  85. package/dist/{vue-ui-world-CkqoTL4V.js → vue-ui-world-D5dR5VdK.js} +6 -6
  86. package/dist/{vue-ui-xy-Uqdl2nk-.js → vue-ui-xy-Cll76_i9.js} +404 -414
  87. package/dist/{vue-ui-xy-canvas-cIU8Y1sD.js → vue-ui-xy-canvas-DJVXAfpL.js} +10 -10
  88. package/package.json +1 -1
  89. package/dist/vue-ui-spark-trend-GML5JJxY.js +0 -315
@@ -1,14 +1,14 @@
1
- import { defineAsyncComponent as Q, computed as h, ref as f, toRefs as Je, watch as ee, shallowRef as ze, onMounted as Ke, onBeforeUnmount as Qe, createElementBlock as o, openBlock as r, unref as n, normalizeStyle as te, normalizeClass as Fe, createBlock as j, createCommentVNode as c, createElementVNode as p, withCtx as X, toDisplayString as R, createSlots as et, renderSlot as S, normalizeProps as B, guardReactiveProps as U, createVNode as tt, Fragment as k, renderList as x, mergeProps as E, nextTick as at } from "vue";
2
- import { u as lt, c as st, t as rt, a as ot, p as Ae, b as ut, d as nt, o as Ce, e as it, f as W, g as Oe, m as ae, N as A, O as ct, h as vt, X as ht, s as le, I as dt, r as ft, k as se, i as re, E as oe } from "./index-Lg17rmB1.js";
1
+ import { defineAsyncComponent as K, computed as h, ref as f, toRefs as Je, watch as Q, shallowRef as $e, onMounted as Ke, onBeforeUnmount as Qe, createElementBlock as o, openBlock as r, unref as n, normalizeStyle as ee, normalizeClass as ze, createBlock as j, createCommentVNode as c, createElementVNode as p, withCtx as X, toDisplayString as R, createSlots as et, renderSlot as x, normalizeProps as B, guardReactiveProps as U, createVNode as tt, Fragment as k, renderList as $, mergeProps as E, nextTick as at } from "vue";
2
+ import { u as lt, c as st, t as rt, a as ot, p as Fe, b as ut, d as nt, o as Ae, e as it, f as W, g as Ce, m as te, N as A, O as ct, h as vt, X as ht, s as ae, I as dt, r as ft, k as le, i as se, E as re } from "./index-smzxfsyV.js";
3
3
  import { t as yt, u as mt } from "./useResponsive-DfdjqQps.js";
4
- import { u as Ne } from "./useNestedProp-DpwLJMsW.js";
5
- import { u as gt } from "./usePrinter-DGI4Mlad.js";
4
+ import { u as Oe } from "./useNestedProp-DeKmJzsE.js";
5
+ import { u as gt } from "./usePrinter-nFj0xF0a.js";
6
6
  import { u as pt } from "./useUserOptionState-BIvW1Kz7.js";
7
7
  import { u as kt } from "./useChartAccessibility-9icAAmYg.js";
8
- import bt from "./Title-BVMfF0uu.js";
9
- import _t from "./img-CeCjiMpr.js";
8
+ import bt from "./Title-B_WMW2Bp.js";
9
+ import _t from "./img-BArHHegM.js";
10
10
  import { u as wt, B as St } from "./BaseScanner-BgWxam9d.js";
11
- import { u as xt } from "./useAutoSizeLabelsInsideViewbox-BxqMb3sU.js";
11
+ import { u as xt } from "./useAutoSizeLabelsInsideViewbox-DeqXeTNw.js";
12
12
  import { _ as $t } from "./_plugin-vue_export-helper-CHgC5LLL.js";
13
13
  const zt = ["id"], Ft = { key: 0 }, At = ["xmlns", "viewBox"], Ct = ["width", "height"], Ot = ["id"], Nt = ["stop-color"], Mt = ["stop-color"], Pt = ["stop-color"], It = ["id"], Xt = ["stdDeviation"], Rt = { key: 1 }, Yt = ["d", "fill", "stroke"], Et = ["d", "fill", "stroke"], Lt = ["d", "fill"], Tt = ["id", "d"], Gt = ["fill", "font-size", "font-weight"], jt = ["href", "startOffset"], Bt = ["text-anchor", "fill", "font-size", "font-weight", "innerHTML"], Ut = ["d", "filter"], Wt = ["stroke", "stroke-width"], Dt = ["stroke", "stroke-width"], Vt = ["stroke", "stroke-width"], Ht = ["stroke", "stroke-width"], qt = { key: 8 }, Zt = ["x", "y", "text-anchor", "font-size", "font-weight", "fill"], Jt = ["x", "y", "font-size", "font-weight", "fill"], Kt = { key: 0 }, Qt = ["x1", "y1", "x2", "y2", "stroke", "stroke-width"], ea = ["x1", "y1", "x2", "y2", "stroke", "stroke-width"], ta = ["x1", "y1", "x2", "y2", "stroke-width", "filter"], aa = { key: 1 }, la = ["d", "fill", "stroke", "stroke-width"], sa = ["cx", "cy", "fill", "r", "stroke-width", "stroke"], ra = ["x", "y", "font-size", "fill"], oa = {
14
14
  key: 4,
@@ -29,11 +29,11 @@ const zt = ["id"], Ft = { key: 0 }, At = ["xmlns", "viewBox"], Ct = ["width", "h
29
29
  }
30
30
  }
31
31
  },
32
- setup(D, { expose: Me }) {
33
- const Pe = Q(() => import("./PenAndPaper-BKnXOYre.js")), Ie = Q(() => import("./UserOptions-CKzW9w0Q.js")), Xe = Q(() => import("./PackageVersion-D1HToLlZ.js")), { vue_ui_gauge: Re } = lt(), m = D, Ye = h(() => !!m.dataset && Object.keys(m.dataset).length > 0 && m.dataset.series && m.dataset.series.length), w = f(st()), Ee = f(null), ue = f(0), C = f(null), ne = f(null), ie = f(null), ce = f(null), ve = f(null), he = f(0), e = f(q()), { loading: de, FINAL_DATASET: $, manualLoading: M } = wt({
32
+ setup(Ne, { expose: Me }) {
33
+ const Pe = K(() => import("./PenAndPaper-Deh70G9d.js")), Ie = K(() => import("./UserOptions-CtECQwBN.js")), Xe = K(() => import("./PackageVersion-BzGzkGiC.js")), { vue_ui_gauge: Re } = lt(), m = Ne, Ye = h(() => !!m.dataset && Object.keys(m.dataset).length > 0 && m.dataset.series && m.dataset.series.length), w = f(st()), Ee = f(null), oe = f(0), C = f(null), ue = f(null), ne = f(null), ie = f(null), ce = f(null), ve = f(0), e = f(H()), { loading: he, FINAL_DATASET: S, manualLoading: M } = wt({
34
34
  ...Je(m),
35
35
  FINAL_CONFIG: e,
36
- prepareConfig: q,
36
+ prepareConfig: H,
37
37
  callback: () => {
38
38
  Promise.resolve().then(async () => {
39
39
  await at();
@@ -75,31 +75,31 @@ const zt = ["id"], Ft = { key: 0 }, At = ["xmlns", "viewBox"], Ct = ["width", "h
75
75
  }
76
76
  }
77
77
  })
78
- }), { userOptionsVisible: V, setUserOptionsVisibility: fe, keepUserOptionState: ye } = pt({ config: e.value }), { svgRef: H } = kt({ config: e.value.style.chart.title });
79
- ee(() => m.config, (t) => {
80
- de.value || (e.value = q()), V.value = !e.value.userOptions.showOnChartHover, J(), he.value += 1;
81
- }, { deep: !0 }), ee(() => m.dataset, (t) => {
82
- J(), t && Object.keys(t).length > 0 && (M.value = e.value?.loading ?? !1);
78
+ }), { userOptionsVisible: D, setUserOptionsVisibility: de, keepUserOptionState: fe } = pt({ config: e.value }), { svgRef: V } = kt({ config: e.value.style.chart.title });
79
+ Q(() => m.config, (t) => {
80
+ he.value || (e.value = H()), D.value = !e.value.userOptions.showOnChartHover, Z(), ve.value += 1;
81
+ }, { deep: !0 }), Q(() => m.dataset, (t) => {
82
+ Z(), t && Object.keys(t).length > 0 && (M.value = e.value?.loading ?? !1);
83
83
  }, { deep: !0, immediate: !1 });
84
- function q() {
85
- const t = Ne({
84
+ function H() {
85
+ const t = Oe({
86
86
  userConfig: m.config,
87
87
  defaultConfig: Re
88
88
  });
89
89
  return t.theme ? {
90
- ...Ne({
90
+ ...Oe({
91
91
  userConfig: ut.vue_ui_gauge[t.theme] || m.config,
92
92
  defaultConfig: t
93
93
  }),
94
- customPalette: ot[t.theme] || Ae
94
+ customPalette: ot[t.theme] || Fe
95
95
  } : t;
96
96
  }
97
- const { isPrinting: me, isImaging: ge, generatePdf: pe, generateImage: ke } = gt({
97
+ const { isPrinting: ye, isImaging: me, generatePdf: ge, generateImage: pe } = gt({
98
98
  elementId: `vue-ui-gauge_${w.value}`,
99
99
  fileName: e.value.style.chart.title.text || "vue-ui-gauge",
100
100
  options: e.value.userOptions.print
101
101
  }), Le = h(() => e.value.userOptions.show && !e.value.style.chart.title.text), Te = h(() => nt(e.value.customPalette)), O = h(() => {
102
- if (Ce($.value.series || {}))
102
+ if (Ae(S.value.series || {}))
103
103
  return {
104
104
  value: 0,
105
105
  series: [
@@ -110,15 +110,15 @@ const zt = ["id"], Ft = { key: 0 }, At = ["xmlns", "viewBox"], Ct = ["width", "h
110
110
  ]
111
111
  };
112
112
  const t = [];
113
- ($.value.series || []).forEach((a) => {
113
+ (S.value.series || []).forEach((a) => {
114
114
  t.push(a.from || 1e-7), t.push(a.to || 1e-7);
115
115
  });
116
116
  const u = Math.max(...t);
117
117
  return {
118
- ...$.value,
119
- series: ($.value.series || []).map((a, s) => ({
118
+ ...S.value,
119
+ series: (S.value.series || []).map((a, s) => ({
120
120
  ...a,
121
- color: it(a.color) || Te.value[s] || Ae[s],
121
+ color: it(a.color) || Te.value[s] || Fe[s],
122
122
  value: ((a.to || 0) - (a.from || 0)) / u * 100
123
123
  }))
124
124
  };
@@ -138,10 +138,10 @@ const zt = ["id"], Ft = { key: 0 }, At = ["xmlns", "viewBox"], Ct = ["width", "h
138
138
  markerOffset: e.value.style.chart.layout.markers.offsetY + 3,
139
139
  segmentFontSize: e.value.style.chart.layout.segmentNames.fontSize
140
140
  }), P = f(0), z = f(0), y = f(
141
- e.value.style.chart.animation.use ? Math.min(...$.value.series.map((t) => t.from)) : $.value.value
141
+ e.value.style.chart.animation.use ? Math.min(...S.value.series.map((t) => t.from)) : S.value.value
142
142
  );
143
- ee(() => $.value.value, () => {
144
- we($.value.value);
143
+ Q(() => S.value.value, () => {
144
+ _e(S.value.value);
145
145
  });
146
146
  const i = h(() => {
147
147
  const t = l.value.width / 2, u = v.value.base, a = Math.PI * ((y.value + 0 - z.value) / (P.value - z.value)) + Math.PI;
@@ -151,33 +151,33 @@ const zt = ["id"], Ft = { key: 0 }, At = ["xmlns", "viewBox"], Ct = ["width", "h
151
151
  x2: t + v.value.pointerSize * l.value.pointerSize * 0.9 * Math.cos(a),
152
152
  y2: u + v.value.pointerSize * l.value.pointerSize * 0.9 * Math.sin(a)
153
153
  };
154
- }), be = h(() => {
154
+ }), ke = h(() => {
155
155
  const t = l.value.width / 2, u = v.value.base, a = Math.PI * ((y.value + 0 - z.value) / (P.value - z.value)) + Math.PI, s = t + v.value.pointerSize * l.value.pointerSize * 0.9 * Math.cos(a), g = u + v.value.pointerSize * l.value.pointerSize * 0.9 * Math.sin(a), _ = l.value.pointerRadius, Ve = t + _ * Math.cos(a + Math.PI / 2), He = u + _ * Math.sin(a + Math.PI / 2), qe = t + _ * Math.cos(a - Math.PI / 2), Ze = u + _ * Math.sin(a - Math.PI / 2);
156
156
  return isNaN(s) ? null : `M ${s},${g} ${Ve},${He} ${qe},${Ze} Z`;
157
- }), Z = h(() => {
157
+ }), q = h(() => {
158
158
  for (let t = 0; t < O.value.series.length; t += 1) {
159
159
  const { color: u, from: a, to: s } = O.value.series[t];
160
160
  if (y.value >= a && y.value <= s)
161
161
  return u;
162
162
  }
163
163
  return "#2D353C";
164
- }), F = ze(null), I = ze(null), L = h({
164
+ }), F = $e(null), I = $e(null), L = h({
165
165
  get: () => l.value.segmentFontSize,
166
166
  set: (t) => t
167
- }), { autoSizeLabels: _e } = xt({
168
- svgRef: H,
167
+ }), { autoSizeLabels: be } = xt({
168
+ svgRef: V,
169
169
  fontSize: l.value.segmentFontSize,
170
170
  minFontSize: e.value.style.chart.layout.segmentNames.minFontSize,
171
171
  sizeRef: L,
172
172
  labelClass: ".vue-ui-gauge-label-flat"
173
173
  }), T = h(() => !!e.value.debug);
174
- function J() {
174
+ function Z() {
175
175
  let t = !1;
176
- if (Ce(m.dataset) ? (W({
176
+ if (Ae(m.dataset) ? (W({
177
177
  componentName: "VueUiGauge",
178
178
  type: "dataset",
179
179
  debug: T.value
180
- }), M.value = !0, t = !0) : (Oe({
180
+ }), M.value = !0, t = !0) : (Ce({
181
181
  datasetObject: m.dataset,
182
182
  requiredAttributes: ["value", "series"]
183
183
  }).forEach((u) => {
@@ -188,7 +188,7 @@ const zt = ["id"], Ft = { key: 0 }, At = ["xmlns", "viewBox"], Ct = ["width", "h
188
188
  debug: T.value
189
189
  }), M.value = !0, t = !0;
190
190
  }), Object.hasOwn(m.dataset, "series") && (m.dataset.series.length ? m.dataset.series.forEach((u, a) => {
191
- Oe({
191
+ Ce({
192
192
  datasetObject: u,
193
193
  requiredAttributes: ["from", "to"]
194
194
  }).forEach((s) => {
@@ -205,47 +205,47 @@ const zt = ["id"], Ft = { key: 0 }, At = ["xmlns", "viewBox"], Ct = ["width", "h
205
205
  type: "datasetAttributeEmpty",
206
206
  property: "series",
207
207
  debug: T.value
208
- }), M.value = !0, t = !0))), M.value = t, we($.value.value || 0), e.value.responsive) {
208
+ }), M.value = !0, t = !0))), M.value = t, _e(S.value.value || 0), e.value.responsive) {
209
209
  const u = yt(() => {
210
210
  let { width: a, height: s } = mt({
211
211
  chart: C.value,
212
- title: e.value.style.chart.title.text ? ne.value : null,
213
- legend: ie.value,
214
- source: ce.value,
215
- noTitle: ve.value
212
+ title: e.value.style.chart.title.text ? ue.value : null,
213
+ legend: ne.value,
214
+ source: ie.value,
215
+ noTitle: ce.value
216
216
  });
217
217
  s -= 12, requestAnimationFrame(() => {
218
- l.value.width = a, l.value.height = s, l.value.centerX = a / 2, l.value.centerY = b.value / 2 / 358.4 * s, l.value.bottom = s, l.value.labelFontSize = 18 / b.value * Math.min(s, a) < 10 ? 10 : 18 / b.value * Math.min(s, a), l.value.legendFontSize = e.value.style.chart.legend.fontSize / b.value * Math.min(s, a) < 14 ? 14 : e.value.style.chart.legend.fontSize / b.value * Math.min(s, a), l.value.pointerRadius = e.value.style.chart.layout.pointer.circle.radius / b.value * Math.min(s, a), l.value.trackSize = e.value.style.chart.layout.track.size / b.value * Math.min(s, a), l.value.pointerStrokeWidth = oe({
218
+ l.value.width = a, l.value.height = s, l.value.centerX = a / 2, l.value.centerY = b.value / 2 / 358.4 * s, l.value.bottom = s, l.value.labelFontSize = 18 / b.value * Math.min(s, a) < 10 ? 10 : 18 / b.value * Math.min(s, a), l.value.legendFontSize = e.value.style.chart.legend.fontSize / b.value * Math.min(s, a) < 14 ? 14 : e.value.style.chart.legend.fontSize / b.value * Math.min(s, a), l.value.pointerRadius = e.value.style.chart.layout.pointer.circle.radius / b.value * Math.min(s, a), l.value.trackSize = e.value.style.chart.layout.track.size / b.value * Math.min(s, a), l.value.pointerStrokeWidth = re({
219
219
  relator: Math.min(a, s),
220
220
  adjuster: b.value,
221
221
  source: e.value.style.chart.layout.pointer.strokeWidth,
222
222
  threshold: 2,
223
223
  fallback: 2
224
- }), l.value.markerOffset = oe({
224
+ }), l.value.markerOffset = re({
225
225
  relator: Math.max(a, s),
226
226
  adjuster: b.value,
227
227
  source: e.value.style.chart.layout.markers.offsetY + 3,
228
228
  threshold: 2,
229
229
  fallback: 2
230
- }), l.value.segmentFontSize = oe({
230
+ }), l.value.segmentFontSize = re({
231
231
  relator: Math.min(a, s),
232
232
  adjuster: b.value,
233
233
  source: e.value.style.chart.layout.segmentNames.fontSize,
234
234
  threshold: 8,
235
235
  fallback: 8
236
236
  });
237
- }), _e();
237
+ }), be();
238
238
  });
239
239
  F.value && (I.value && F.value.unobserve(I.value), F.value.disconnect()), F.value = new ResizeObserver(u), I.value = C.value.parentNode, F.value.observe(I.value);
240
240
  }
241
- _e();
241
+ be();
242
242
  }
243
243
  Ke(() => {
244
- J();
244
+ Z();
245
245
  }), Qe(() => {
246
246
  F.value && (I.value && F.value.unobserve(I.value), F.value.disconnect());
247
247
  });
248
- function we(t) {
248
+ function _e(t) {
249
249
  const u = [];
250
250
  (O.value.series || []).forEach((_) => {
251
251
  u.push(_.from || 0), u.push(_.to || 0);
@@ -266,7 +266,7 @@ const zt = ["id"], Ft = { key: 0 }, At = ["xmlns", "viewBox"], Ct = ["width", "h
266
266
  ratingBase: e.value.responsive ? l.value.height / 2 + l.value.height / 4 : l.value.height * 0.9,
267
267
  pointerSize: e.value.responsive ? Math.min(l.value.width, l.value.height) / 3 : l.value.width / 3.2
268
268
  };
269
- }), d = h(() => ae(
269
+ }), d = h(() => te(
270
270
  { series: O.value.series },
271
271
  l.value.width / 2,
272
272
  v.value.base,
@@ -278,7 +278,7 @@ const zt = ["id"], Ft = { key: 0 }, At = ["xmlns", "viewBox"], Ct = ["width", "h
278
278
  180,
279
279
  109.9495,
280
280
  40 * l.value.trackSize
281
- )), Ge = h(() => ae(
281
+ )), Ge = h(() => te(
282
282
  { series: O.value.series },
283
283
  l.value.width / 2,
284
284
  v.value.base,
@@ -290,7 +290,7 @@ const zt = ["id"], Ft = { key: 0 }, At = ["xmlns", "viewBox"], Ct = ["width", "h
290
290
  180,
291
291
  109.9495,
292
292
  40 * l.value.trackSize
293
- )), N = h(() => d.value.map((t) => v.value.arcs * e.value.style.chart.layout.segmentNames.offsetRatio * (t.nameOffsetRatio || 1))), Se = h(() => {
293
+ )), N = h(() => d.value.map((t) => v.value.arcs * e.value.style.chart.layout.segmentNames.offsetRatio * (t.nameOffsetRatio || 1))), we = h(() => {
294
294
  const { x: t, y: u } = A({
295
295
  initX: d.value[0].firstSeparator.x,
296
296
  initY: d.value[0].firstSeparator.y,
@@ -305,7 +305,7 @@ const zt = ["id"], Ft = { key: 0 }, At = ["xmlns", "viewBox"], Ct = ["width", "h
305
305
  offset: e.value.style.chart.layout.segmentSeparators.offsetOut
306
306
  });
307
307
  return { x1: t, y1: u, x2: a, y2: s };
308
- }), xe = h(() => d.value.map((t) => {
308
+ }), Se = h(() => d.value.map((t) => {
309
309
  const { x: u, y: a } = A({
310
310
  initX: t.separator.x,
311
311
  initY: t.separator.y,
@@ -328,7 +328,7 @@ const zt = ["id"], Ft = { key: 0 }, At = ["xmlns", "viewBox"], Ct = ["width", "h
328
328
  let s = 0;
329
329
  return t.map((g) => (s += g, `${s / 100 * a - g / 4}%`));
330
330
  }
331
- const Be = h(() => je(d.value.map((t) => t.proportion * 100))), Ue = h(() => ae(
331
+ const Be = h(() => je(d.value.map((t) => t.proportion * 100))), Ue = h(() => te(
332
332
  { series: O.value.series },
333
333
  l.value.width / 2,
334
334
  v.value.base,
@@ -349,11 +349,11 @@ const zt = ["id"], Ft = { key: 0 }, At = ["xmlns", "viewBox"], Ct = ["width", "h
349
349
  percentage: vt((y.value + t) / (P.value + t))
350
350
  });
351
351
  }), Y = f(!1);
352
- function $e(t) {
353
- Y.value = t, ue.value += 1;
352
+ function xe(t) {
353
+ Y.value = t, oe.value += 1;
354
354
  }
355
355
  const G = f(!1);
356
- function K() {
356
+ function J() {
357
357
  G.value = !G.value;
358
358
  }
359
359
  async function De({ scale: t = 2 } = {}) {
@@ -370,42 +370,42 @@ const zt = ["id"], Ft = { key: 0 }, At = ["xmlns", "viewBox"], Ct = ["width", "h
370
370
  }
371
371
  return Me({
372
372
  getImage: De,
373
- generatePdf: pe,
374
- generateImage: ke,
375
- toggleAnnotator: K,
376
- toggleFullscreen: $e
373
+ generatePdf: ge,
374
+ generateImage: pe,
375
+ toggleAnnotator: J,
376
+ toggleFullscreen: xe
377
377
  }), (t, u) => (r(), o("div", {
378
- class: Fe(`vue-ui-gauge ${Y.value ? "vue-data-ui-wrapper-fullscreen" : ""}`),
378
+ class: ze(`vue-ui-gauge ${Y.value ? "vue-data-ui-wrapper-fullscreen" : ""}`),
379
379
  ref_key: "gaugeChart",
380
380
  ref: C,
381
381
  id: `vue-ui-gauge_${w.value}`,
382
- style: te(`font-family:${e.value.style.fontFamily};width:100%; text-align:center;background:${e.value.style.chart.backgroundColor};${e.value.responsive ? "height: 100%" : ""}`),
383
- onMouseenter: u[0] || (u[0] = () => n(fe)(!0)),
384
- onMouseleave: u[1] || (u[1] = () => n(fe)(!1))
382
+ style: ee(`font-family:${e.value.style.fontFamily};width:100%; text-align:center;background:${e.value.style.chart.backgroundColor};${e.value.responsive ? "height: 100%" : ""}`),
383
+ onMouseenter: u[0] || (u[0] = () => n(de)(!0)),
384
+ onMouseleave: u[1] || (u[1] = () => n(de)(!1))
385
385
  }, [
386
386
  e.value.userOptions.buttons.annotator ? (r(), j(n(Pe), {
387
387
  key: 0,
388
- svgRef: n(H),
388
+ svgRef: n(V),
389
389
  backgroundColor: e.value.style.chart.backgroundColor,
390
390
  color: e.value.style.chart.color,
391
391
  active: G.value,
392
- onClose: K
392
+ onClose: J
393
393
  }, null, 8, ["svgRef", "backgroundColor", "color", "active"])) : c("", !0),
394
394
  Le.value ? (r(), o("div", {
395
395
  key: 1,
396
396
  ref_key: "noTitle",
397
- ref: ve,
397
+ ref: ce,
398
398
  class: "vue-data-ui-no-title-space",
399
399
  style: "height:36px; width: 100%;background:transparent"
400
400
  }, null, 512)) : c("", !0),
401
401
  e.value.style.chart.title.text ? (r(), o("div", {
402
402
  key: 2,
403
403
  ref_key: "chartTitle",
404
- ref: ne,
404
+ ref: ue,
405
405
  style: "width:100%;background:transparent;padding-bottom:12px"
406
406
  }, [
407
407
  (r(), j(bt, {
408
- key: `title_${he.value}`,
408
+ key: `title_${ve.value}`,
409
409
  config: {
410
410
  title: {
411
411
  cy: "gauge-div-title",
@@ -418,19 +418,19 @@ const zt = ["id"], Ft = { key: 0 }, At = ["xmlns", "viewBox"], Ct = ["width", "h
418
418
  }
419
419
  }, {
420
420
  default: X(() => [
421
- e.value.translations.base && D.dataset.base ? (r(), o("span", Ft, R(e.value.translations.base) + ": " + R(D.dataset.base), 1)) : c("", !0)
421
+ e.value.translations.base && n(S).base ? (r(), o("span", Ft, R(e.value.translations.base) + ": " + R(n(S).base), 1)) : c("", !0)
422
422
  ]),
423
423
  _: 1
424
424
  }, 8, ["config"]))
425
425
  ], 512)) : c("", !0),
426
- e.value.userOptions.show && Ye.value && (n(ye) || n(V)) ? (r(), j(n(Ie), {
426
+ e.value.userOptions.show && Ye.value && (n(fe) || n(D)) ? (r(), j(n(Ie), {
427
427
  ref_key: "details",
428
428
  ref: Ee,
429
- key: `user_options_${ue.value}`,
429
+ key: `user_options_${oe.value}`,
430
430
  backgroundColor: e.value.style.chart.backgroundColor,
431
431
  color: e.value.style.chart.color,
432
- isImaging: n(ge),
433
- isPrinting: n(me),
432
+ isImaging: n(me),
433
+ isPrinting: n(ye),
434
434
  uid: w.value,
435
435
  hasXls: !1,
436
436
  hasPdf: e.value.userOptions.buttons.pdf,
@@ -444,57 +444,57 @@ const zt = ["id"], Ft = { key: 0 }, At = ["xmlns", "viewBox"], Ct = ["width", "h
444
444
  position: e.value.userOptions.position,
445
445
  hasAnnotator: e.value.userOptions.buttons.annotator,
446
446
  isAnnotation: G.value,
447
- onToggleFullscreen: $e,
448
- onGeneratePdf: n(pe),
449
- onGenerateImage: n(ke),
450
- onToggleAnnotator: K,
451
- style: te({
452
- visibility: n(ye) ? n(V) ? "visible" : "hidden" : "visible"
447
+ onToggleFullscreen: xe,
448
+ onGeneratePdf: n(ge),
449
+ onGenerateImage: n(pe),
450
+ onToggleAnnotator: J,
451
+ style: ee({
452
+ visibility: n(fe) ? n(D) ? "visible" : "hidden" : "visible"
453
453
  })
454
454
  }, et({ _: 2 }, [
455
455
  t.$slots.menuIcon ? {
456
456
  name: "menuIcon",
457
457
  fn: X(({ isOpen: a, color: s }) => [
458
- S(t.$slots, "menuIcon", B(U({ isOpen: a, color: s })), void 0, !0)
458
+ x(t.$slots, "menuIcon", B(U({ isOpen: a, color: s })), void 0, !0)
459
459
  ]),
460
460
  key: "0"
461
461
  } : void 0,
462
462
  t.$slots.optionPdf ? {
463
463
  name: "optionPdf",
464
464
  fn: X(() => [
465
- S(t.$slots, "optionPdf", {}, void 0, !0)
465
+ x(t.$slots, "optionPdf", {}, void 0, !0)
466
466
  ]),
467
467
  key: "1"
468
468
  } : void 0,
469
469
  t.$slots.optionImg ? {
470
470
  name: "optionImg",
471
471
  fn: X(() => [
472
- S(t.$slots, "optionImg", {}, void 0, !0)
472
+ x(t.$slots, "optionImg", {}, void 0, !0)
473
473
  ]),
474
474
  key: "2"
475
475
  } : void 0,
476
476
  t.$slots.optionFullscreen ? {
477
477
  name: "optionFullscreen",
478
478
  fn: X(({ toggleFullscreen: a, isFullscreen: s }) => [
479
- S(t.$slots, "optionFullscreen", B(U({ toggleFullscreen: a, isFullscreen: s })), void 0, !0)
479
+ x(t.$slots, "optionFullscreen", B(U({ toggleFullscreen: a, isFullscreen: s })), void 0, !0)
480
480
  ]),
481
481
  key: "3"
482
482
  } : void 0,
483
483
  t.$slots.optionAnnotator ? {
484
484
  name: "optionAnnotator",
485
485
  fn: X(({ toggleAnnotator: a, isAnnotator: s }) => [
486
- S(t.$slots, "optionAnnotator", B(U({ toggleAnnotator: a, isAnnotator: s })), void 0, !0)
486
+ x(t.$slots, "optionAnnotator", B(U({ toggleAnnotator: a, isAnnotator: s })), void 0, !0)
487
487
  ]),
488
488
  key: "4"
489
489
  } : void 0
490
490
  ]), 1032, ["backgroundColor", "color", "isImaging", "isPrinting", "uid", "hasPdf", "hasImg", "hasFullscreen", "isFullscreen", "titles", "chartElement", "callbacks", "printScale", "position", "hasAnnotator", "isAnnotation", "onGeneratePdf", "onGenerateImage", "style"])) : c("", !0),
491
491
  (r(), o("svg", {
492
492
  ref_key: "svgRef",
493
- ref: H,
493
+ ref: V,
494
494
  xmlns: n(ht),
495
- class: Fe({ "vue-data-ui-fullscreen--on": Y.value, "vue-data-ui-fulscreen--off": !Y.value }),
495
+ class: ze({ "vue-data-ui-fullscreen--on": Y.value, "vue-data-ui-fulscreen--off": !Y.value }),
496
496
  viewBox: `0 0 ${l.value.width <= 0 ? 10 : l.value.width} ${l.value.height <= 0 ? 10 : l.value.height}`,
497
- style: te(`max-width:100%;overflow:hidden !important;background:transparent;color:${e.value.style.chart.color}`)
497
+ style: ee(`max-width:100%;overflow:hidden !important;background:transparent;color:${e.value.style.chart.color}`)
498
498
  }, [
499
499
  tt(n(Xe)),
500
500
  t.$slots["chart-background"] ? (r(), o("foreignObject", {
@@ -507,7 +507,7 @@ const zt = ["id"], Ft = { key: 0 }, At = ["xmlns", "viewBox"], Ct = ["width", "h
507
507
  pointerEvents: "none"
508
508
  }
509
509
  }, [
510
- S(t.$slots, "chart-background", {}, void 0, !0)
510
+ x(t.$slots, "chart-background", {}, void 0, !0)
511
511
  ], 8, Ct)) : c("", !0),
512
512
  p("defs", null, [
513
513
  p("radialGradient", {
@@ -520,15 +520,15 @@ const zt = ["id"], Ft = { key: 0 }, At = ["xmlns", "viewBox"], Ct = ["width", "h
520
520
  }, [
521
521
  p("stop", {
522
522
  offset: "0%",
523
- "stop-color": n(le)("#FFFFFF", 1)
523
+ "stop-color": n(ae)("#FFFFFF", 1)
524
524
  }, null, 8, Nt),
525
525
  p("stop", {
526
526
  offset: "80%",
527
- "stop-color": n(le)("#FFFFFF", e.value.style.chart.layout.track.gradientIntensity)
527
+ "stop-color": n(ae)("#FFFFFF", e.value.style.chart.layout.track.gradientIntensity)
528
528
  }, null, 8, Mt),
529
529
  p("stop", {
530
530
  offset: "100%",
531
- "stop-color": n(le)("#FFFFFF", 1)
531
+ "stop-color": n(ae)("#FFFFFF", 1)
532
532
  }, null, 8, Pt)
533
533
  ], 8, Ot)
534
534
  ]),
@@ -547,18 +547,18 @@ const zt = ["id"], Ft = { key: 0 }, At = ["xmlns", "viewBox"], Ct = ["width", "h
547
547
  ], 8, It)
548
548
  ]),
549
549
  t.$slots.pattern ? (r(), o("g", Rt, [
550
- (r(!0), o(k, null, x(d.value, (a, s) => (r(), o("defs", null, [
551
- S(t.$slots, "pattern", E({ ref_for: !0 }, { seriesIndex: s, patternId: `pattern_${w.value}_${s}` }), void 0, !0)
550
+ (r(!0), o(k, null, $(d.value, (a, s) => (r(), o("defs", null, [
551
+ x(t.$slots, "pattern", E({ ref_for: !0 }, { seriesIndex: s, patternId: `pattern_${w.value}_${s}` }), void 0, !0)
552
552
  ]))), 256))
553
553
  ])) : c("", !0),
554
- (r(!0), o(k, null, x(d.value, (a, s) => (r(), o("path", {
554
+ (r(!0), o(k, null, $(d.value, (a, s) => (r(), o("path", {
555
555
  key: `arc_${s}`,
556
556
  d: a.arcSlice,
557
557
  fill: a.color,
558
558
  stroke: e.value.style.chart.backgroundColor,
559
559
  "stroke-linecap": "round"
560
560
  }, null, 8, Yt))), 128)),
561
- t.$slots.pattern ? (r(!0), o(k, { key: 2 }, x(d.value, (a, s) => (r(), o("path", {
561
+ t.$slots.pattern ? (r(!0), o(k, { key: 2 }, $(d.value, (a, s) => (r(), o("path", {
562
562
  key: `arc_${s}`,
563
563
  d: a.arcSlice,
564
564
  fill: `url(#pattern_${w.value}_${s})`,
@@ -571,12 +571,12 @@ const zt = ["id"], Ft = { key: 0 }, At = ["xmlns", "viewBox"], Ct = ["width", "h
571
571
  fill: e.value.style.chart.layout.indicatorArc.fill
572
572
  }, null, 8, Lt)) : c("", !0),
573
573
  e.value.style.chart.layout.segmentNames.show && e.value.style.chart.layout.segmentNames.curved ? (r(), o(k, { key: 4 }, [
574
- (r(!0), o(k, null, x(d.value, (a, s) => (r(), o("path", {
574
+ (r(!0), o(k, null, $(d.value, (a, s) => (r(), o("path", {
575
575
  id: `curve_${w.value}_${s}`,
576
576
  d: `M ${i.value.x1},${i.value.y1} m -${N.value[s]},0 a ${N.value[s]},${N.value[s]} 0 1,1 ${2 * N.value[s]},0 a ${N.value[s]},${N.value[s]} 0 1,1 -${2 * N.value[s]},0`,
577
577
  fill: "transparent"
578
578
  }, null, 8, Tt))), 256)),
579
- (r(!0), o(k, null, x(d.value, (a, s) => (r(), o("text", {
579
+ (r(!0), o(k, null, $(d.value, (a, s) => (r(), o("text", {
580
580
  fill: e.value.style.chart.layout.segmentNames.useSerieColor ? a.color : e.value.style.chart.layout.segmentNames.color,
581
581
  "font-size": L.value,
582
582
  "font-weight": e.value.style.chart.layout.segmentNames.bold ? "bold" : "normal",
@@ -588,7 +588,7 @@ const zt = ["id"], Ft = { key: 0 }, At = ["xmlns", "viewBox"], Ct = ["width", "h
588
588
  }, R(a.name || ""), 9, jt)
589
589
  ], 8, Gt))), 256))
590
590
  ], 64)) : c("", !0),
591
- e.value.style.chart.layout.segmentNames.show && !e.value.style.chart.layout.segmentNames.curved ? (r(!0), o(k, { key: 5 }, x(Ge.value, (a, s) => (r(), o("text", {
591
+ e.value.style.chart.layout.segmentNames.show && !e.value.style.chart.layout.segmentNames.curved ? (r(!0), o(k, { key: 5 }, $(Ge.value, (a, s) => (r(), o("text", {
592
592
  class: "vue-ui-gauge-label-flat",
593
593
  "text-anchor": n(ft)(a, !1, 12).anchor,
594
594
  fill: e.value.style.chart.layout.segmentNames.useSerieColor ? a.color : e.value.style.chart.layout.segmentNames.color,
@@ -602,7 +602,7 @@ const zt = ["id"], Ft = { key: 0 }, At = ["xmlns", "viewBox"], Ct = ["width", "h
602
602
  y: a.center.endY
603
603
  })
604
604
  }, null, 8, Bt))), 256)) : c("", !0),
605
- e.value.style.chart.layout.track.useGradient ? (r(!0), o(k, { key: 6 }, x(Ue.value, (a, s) => (r(), o("path", {
605
+ e.value.style.chart.layout.track.useGradient ? (r(!0), o(k, { key: 6 }, $(Ue.value, (a, s) => (r(), o("path", {
606
606
  key: `arc_${s}`,
607
607
  d: a.arcSlice,
608
608
  fill: "#FFFFFF",
@@ -611,29 +611,29 @@ const zt = ["id"], Ft = { key: 0 }, At = ["xmlns", "viewBox"], Ct = ["width", "h
611
611
  filter: `url(#blur_${w.value})`
612
612
  }, null, 8, Ut))), 128)) : c("", !0),
613
613
  e.value.style.chart.layout.segmentSeparators.show ? (r(), o(k, { key: 7 }, [
614
- p("line", E(Se.value, {
614
+ p("line", E(we.value, {
615
615
  stroke: e.value.style.chart.backgroundColor,
616
616
  "stroke-width": e.value.style.chart.layout.segmentSeparators.strokeWidth + 2,
617
617
  "stroke-linecap": "round"
618
618
  }), null, 16, Wt),
619
- p("line", E(Se.value, {
619
+ p("line", E(we.value, {
620
620
  stroke: e.value.style.chart.layout.segmentSeparators.stroke,
621
621
  "stroke-width": e.value.style.chart.layout.segmentSeparators.strokeWidth,
622
622
  "stroke-linecap": "round"
623
623
  }), null, 16, Dt),
624
- (r(!0), o(k, null, x(xe.value, (a) => (r(), o("line", E({ ref_for: !0 }, a, {
624
+ (r(!0), o(k, null, $(Se.value, (a) => (r(), o("line", E({ ref_for: !0 }, a, {
625
625
  stroke: e.value.style.chart.backgroundColor,
626
626
  "stroke-width": e.value.style.chart.layout.segmentSeparators.strokeWidth + 2,
627
627
  "stroke-linecap": "round"
628
628
  }), null, 16, Vt))), 256)),
629
- (r(!0), o(k, null, x(xe.value, (a) => (r(), o("line", E({ ref_for: !0 }, a, {
629
+ (r(!0), o(k, null, $(Se.value, (a) => (r(), o("line", E({ ref_for: !0 }, a, {
630
630
  stroke: e.value.style.chart.layout.segmentSeparators.stroke,
631
631
  "stroke-width": e.value.style.chart.layout.segmentSeparators.strokeWidth,
632
632
  "stroke-linecap": "round"
633
633
  }), null, 16, Ht))), 256))
634
634
  ], 64)) : c("", !0),
635
635
  e.value.style.chart.layout.markers.show ? (r(), o("g", qt, [
636
- (r(!0), o(k, null, x(d.value, (a, s) => (r(), o("text", {
636
+ (r(!0), o(k, null, $(d.value, (a, s) => (r(), o("text", {
637
637
  x: n(A)({
638
638
  centerX: i.value.x1,
639
639
  centerY: v.value.base,
@@ -652,10 +652,10 @@ const zt = ["id"], Ft = { key: 0 }, At = ["xmlns", "viewBox"], Ct = ["width", "h
652
652
  "font-size": l.value.labelFontSize * e.value.style.chart.layout.markers.fontSizeRatio,
653
653
  "font-weight": `${e.value.style.chart.layout.markers.bold ? "bold" : "normal"}`,
654
654
  fill: e.value.style.chart.layout.markers.color
655
- }, R(n(se)(
655
+ }, R(n(le)(
656
656
  e.value.style.chart.layout.markers.formatter,
657
657
  a.from,
658
- n(re)({
658
+ n(se)({
659
659
  p: e.value.style.chart.layout.markers.prefix,
660
660
  v: a.from,
661
661
  s: e.value.style.chart.layout.markers.suffix,
@@ -683,10 +683,10 @@ const zt = ["id"], Ft = { key: 0 }, At = ["xmlns", "viewBox"], Ct = ["width", "h
683
683
  "font-size": l.value.labelFontSize * e.value.style.chart.layout.markers.fontSizeRatio,
684
684
  "font-weight": `${e.value.style.chart.layout.markers.bold ? "bold" : "normal"}`,
685
685
  fill: e.value.style.chart.layout.markers.color
686
- }, R(n(se)(
686
+ }, R(n(le)(
687
687
  e.value.style.chart.layout.markers.formatter,
688
688
  P.value,
689
- n(re)({
689
+ n(se)({
690
690
  p: e.value.style.chart.layout.markers.prefix,
691
691
  v: P.value,
692
692
  s: e.value.style.chart.layout.markers.suffix,
@@ -711,7 +711,7 @@ const zt = ["id"], Ft = { key: 0 }, At = ["xmlns", "viewBox"], Ct = ["width", "h
711
711
  y1: i.value.y1,
712
712
  x2: i.value.x2,
713
713
  y2: i.value.y2,
714
- stroke: e.value.style.chart.layout.pointer.useRatingColor ? Z.value : e.value.style.chart.layout.pointer.color,
714
+ stroke: e.value.style.chart.layout.pointer.useRatingColor ? q.value : e.value.style.chart.layout.pointer.color,
715
715
  "stroke-linecap": "round",
716
716
  "stroke-width": l.value.pointerStrokeWidth * 0.7
717
717
  }, null, 8, ea)),
@@ -727,10 +727,10 @@ const zt = ["id"], Ft = { key: 0 }, At = ["xmlns", "viewBox"], Ct = ["width", "h
727
727
  filter: `url(#blur_${w.value})`
728
728
  }, null, 8, ta)) : c("", !0)
729
729
  ])) : (r(), o("g", aa, [
730
- be.value ? (r(), o("path", {
730
+ ke.value ? (r(), o("path", {
731
731
  key: 0,
732
- d: be.value,
733
- fill: e.value.style.chart.layout.pointer.useRatingColor ? Z.value : e.value.style.chart.layout.pointer.color,
732
+ d: ke.value,
733
+ fill: e.value.style.chart.layout.pointer.useRatingColor ? q.value : e.value.style.chart.layout.pointer.color,
734
734
  stroke: e.value.style.chart.layout.pointer.stroke,
735
735
  "stroke-width": e.value.style.chart.layout.pointer.circle.strokeWidth,
736
736
  "stroke-linejoin": "round"
@@ -752,40 +752,40 @@ const zt = ["id"], Ft = { key: 0 }, At = ["xmlns", "viewBox"], Ct = ["width", "h
752
752
  "text-anchor": "middle",
753
753
  "font-size": l.value.legendFontSize,
754
754
  "font-weight": "bold",
755
- fill: e.value.style.chart.legend.useRatingColor ? Z.value : e.value.style.chart.legend.color
756
- }, R(n(se)(
755
+ fill: e.value.style.chart.legend.useRatingColor ? q.value : e.value.style.chart.legend.color
756
+ }, R(n(le)(
757
757
  e.value.style.chart.legend.formatter,
758
758
  y.value,
759
- n(re)({
759
+ n(se)({
760
760
  p: e.value.style.chart.legend.prefix + (e.value.style.chart.legend.showPlusSymbol && y.value > 0 ? "+" : ""),
761
761
  v: y.value,
762
762
  s: e.value.style.chart.legend.suffix,
763
763
  r: e.value.style.chart.legend.roundingValue
764
764
  })
765
765
  )), 9, ra)) : c("", !0),
766
- S(t.$slots, "svg", { svg: l.value }, void 0, !0)
766
+ x(t.$slots, "svg", { svg: l.value }, void 0, !0)
767
767
  ], 14, At)),
768
768
  t.$slots.watermark ? (r(), o("div", oa, [
769
- S(t.$slots, "watermark", B(U({ isPrinting: n(me) || n(ge) })), void 0, !0)
769
+ x(t.$slots, "watermark", B(U({ isPrinting: n(ye) || n(me) })), void 0, !0)
770
770
  ])) : c("", !0),
771
771
  p("div", {
772
772
  ref_key: "chartLegend",
773
- ref: ie
773
+ ref: ne
774
774
  }, [
775
- S(t.$slots, "legend", { legend: O.value }, void 0, !0)
775
+ x(t.$slots, "legend", { legend: O.value }, void 0, !0)
776
776
  ], 512),
777
777
  t.$slots.source ? (r(), o("div", {
778
778
  key: 5,
779
779
  ref_key: "source",
780
- ref: ce,
780
+ ref: ie,
781
781
  dir: "auto"
782
782
  }, [
783
- S(t.$slots, "source", {}, void 0, !0)
783
+ x(t.$slots, "source", {}, void 0, !0)
784
784
  ], 512)) : c("", !0),
785
- n(de) ? (r(), j(St, { key: 6 })) : c("", !0)
785
+ n(he) ? (r(), j(St, { key: 6 })) : c("", !0)
786
786
  ], 46, zt));
787
787
  }
788
- }, ba = /* @__PURE__ */ $t(ua, [["__scopeId", "data-v-01e88b91"]]);
788
+ }, ba = /* @__PURE__ */ $t(ua, [["__scopeId", "data-v-415be812"]]);
789
789
  export {
790
790
  ba as default
791
791
  };