vue-data-ui 2.16.6 → 2.17.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (92) hide show
  1. package/README.md +83 -53
  2. package/dist/{Arrow-DCqxVwey.js → Arrow-BAEkZGzL.js} +1 -1
  3. package/dist/{BaseDraggableDialog-6DIKXIBU.js → BaseDraggableDialog-ChCkcmj_.js} +2 -2
  4. package/dist/{BaseIcon-Bn996RXm.js → BaseIcon-naqtCxVi.js} +1 -1
  5. package/dist/{ColorPicker-OFfLkKNb.js → ColorPicker-CfIPgxcj.js} +2 -2
  6. package/dist/{DataTable-CHBLjKtZ.js → DataTable-D0VYDhfx.js} +2 -2
  7. package/dist/{Legend-nBXoxXJH.js → Legend-Bxlv67uY.js} +2 -2
  8. package/dist/{NonSvgPenAndPaper-Cls2idJS.js → NonSvgPenAndPaper-b_oVy-Dd.js} +3 -3
  9. package/dist/{PackageVersion-Bg_9KCU-.js → PackageVersion-5TR4ocqp.js} +1 -1
  10. package/dist/{PenAndPaper-BPTpbnay.js → PenAndPaper-D6AqipIO.js} +32 -32
  11. package/dist/{Shape-Bnf512BA.js → Shape-DtFT5EJa.js} +1 -1
  12. package/dist/{Slicer-BrqtJG2E.js → Slicer-CL6-MRI6.js} +2 -2
  13. package/dist/{SparkTooltip-C-rLATAw.js → SparkTooltip-Bcv1aoA5.js} +1 -1
  14. package/dist/{Title-Gi81VwUM.js → Title-B-2bV0SW.js} +1 -1
  15. package/dist/{Tooltip-CJxVw7-T.js → Tooltip-CoQnTnr-.js} +1 -1
  16. package/dist/{UserOptions-CBEK6_jo.js → UserOptions-Dd34lEKb.js} +2 -2
  17. package/dist/{dom-to-png-CRHNL8VU.js → dom-to-png-2AA0wHlX.js} +1 -1
  18. package/dist/{img-BgOg8opa.js → img-Y_hYz-ZC.js} +1 -1
  19. package/dist/{index-DvIXJm6t.js → index-pPGk-uhD.js} +1 -1
  20. package/dist/{pdf-DhTxBrbJ.js → pdf-yfk3d1is.js} +1 -1
  21. package/dist/style.css +1 -1
  22. package/dist/types/vue-data-ui.d.cts +1096 -160
  23. package/dist/types/vue-data-ui.d.ts +1096 -160
  24. package/dist/{useNestedProp-DrYHm61t.js → useNestedProp-DjACxgdZ.js} +1 -1
  25. package/dist/{usePrinter-CWnXbGMb.js → usePrinter-DDHcrl0A.js} +2 -2
  26. package/dist/vue-data-ui-CIWxgKjd.js +312 -0
  27. package/dist/vue-data-ui.js +1 -1
  28. package/dist/{vue-ui-3d-bar-CtlB4p7i.js → vue-ui-3d-bar-D5Wpdqfk.js} +228 -220
  29. package/dist/{vue-ui-accordion-D55kCO5G.js → vue-ui-accordion-CVnA550V.js} +3 -3
  30. package/dist/{vue-ui-age-pyramid-DSshyUn-.js → vue-ui-age-pyramid-BuAl-zC5.js} +179 -171
  31. package/dist/{vue-ui-annotator-DQSMv_k2.js → vue-ui-annotator-gl2A20m3.js} +2 -2
  32. package/dist/{vue-ui-bullet-FeScjj7q.js → vue-ui-bullet-D-VMKpwe.js} +127 -119
  33. package/dist/{vue-ui-candlestick-Drupgyoi.js → vue-ui-candlestick-1r6YwiUV.js} +194 -186
  34. package/dist/{vue-ui-carousel-table-BTZQRZfO.js → vue-ui-carousel-table-B6UJoNtP.js} +4 -4
  35. package/dist/{vue-ui-chestnut-DLWjPwRL.js → vue-ui-chestnut-DnlBYpC5.js} +226 -218
  36. package/dist/{vue-ui-chord-BgLbFBT9.js → vue-ui-chord-D3kpzYjp.js} +175 -167
  37. package/dist/{vue-ui-circle-pack-VXcRh2gy.js → vue-ui-circle-pack-CHgdpoYu.js} +188 -180
  38. package/dist/{vue-ui-cursor-DWmfnM25.js → vue-ui-cursor-63EAvElT.js} +2 -2
  39. package/dist/{vue-ui-dashboard-CGIocEHj.js → vue-ui-dashboard-Da6CPET-.js} +62 -62
  40. package/dist/{vue-ui-digits-BgQch3Fc.js → vue-ui-digits-CA8pUKej.js} +2 -2
  41. package/dist/{vue-ui-donut-B59bCV5_.js → vue-ui-donut-CKa7nFjt.js} +329 -321
  42. package/dist/{vue-ui-donut-evolution-CI8qBIQd.js → vue-ui-donut-evolution-qeBEA4W8.js} +245 -237
  43. package/dist/{vue-ui-dumbbell-CXv7sk88.js → vue-ui-dumbbell-Bm0PvAKT.js} +144 -136
  44. package/dist/{vue-ui-flow-DxF0ELtv.js → vue-ui-flow-C2dqXvrU.js} +169 -161
  45. package/dist/{vue-ui-funnel-Bco8rqF8.js → vue-ui-funnel-Dvy5rRld.js} +132 -124
  46. package/dist/{vue-ui-galaxy-CaPJwwOj.js → vue-ui-galaxy-Y8LYp5n2.js} +168 -160
  47. package/dist/{vue-ui-gauge-D7arhDmb.js → vue-ui-gauge-BBo0jWAP.js} +164 -156
  48. package/dist/{vue-ui-gizmo-Dwli-Mip.js → vue-ui-gizmo-DjXfTOWn.js} +3 -3
  49. package/dist/{vue-ui-heatmap-Cyn-ahGO.js → vue-ui-heatmap-BbxRpltP.js} +240 -228
  50. package/dist/{vue-ui-history-plot-C2AEToqx.js → vue-ui-history-plot-ChYf3Nvc.js} +214 -206
  51. package/dist/{vue-ui-kpi-DKDibSdl.js → vue-ui-kpi-Vfc5-JnE.js} +3 -3
  52. package/dist/{vue-ui-mini-loader-B8OVutUx.js → vue-ui-mini-loader-C0-Nsz8K.js} +2 -2
  53. package/dist/{vue-ui-molecule-BVSrqIGw.js → vue-ui-molecule-B7Yu7vzF.js} +158 -150
  54. package/dist/{vue-ui-mood-radar-DvlyS3RN.js → vue-ui-mood-radar-C8JUTwNw.js} +128 -120
  55. package/dist/{vue-ui-nested-donuts-D9ssSus6.js → vue-ui-nested-donuts-D0RgFifU.js} +196 -188
  56. package/dist/{vue-ui-onion-Buu4VX3u.js → vue-ui-onion-D4U7TL_N.js} +166 -158
  57. package/dist/{vue-ui-parallel-coordinate-plot-DFLUvhxD.js → vue-ui-parallel-coordinate-plot-CXMT7Rjr.js} +186 -178
  58. package/dist/{vue-ui-quadrant-BMC7NBGd.js → vue-ui-quadrant-B13pTVVZ.js} +182 -174
  59. package/dist/{vue-ui-quick-chart-DB9RKUkb.js → vue-ui-quick-chart-C0UL4o63.js} +305 -297
  60. package/dist/{vue-ui-radar-68NMPxxQ.js → vue-ui-radar-XpdiXnhz.js} +167 -159
  61. package/dist/{vue-ui-rating-swH9kRr3.js → vue-ui-rating-CM8ZrUb1.js} +2 -2
  62. package/dist/{vue-ui-relation-circle-CT-EdSjO.js → vue-ui-relation-circle-CYoFNekk.js} +144 -136
  63. package/dist/{vue-ui-ridgeline-DftROPaX.js → vue-ui-ridgeline-QUquE6ck.js} +196 -188
  64. package/dist/{vue-ui-rings-M-9dPI5D.js → vue-ui-rings-DwT0IfOh.js} +145 -137
  65. package/dist/{vue-ui-scatter-CsGhaFJh.js → vue-ui-scatter-zDpy1udm.js} +179 -172
  66. package/dist/{vue-ui-skeleton-BAOt2neL.js → vue-ui-skeleton-DJPjyNYn.js} +3 -3
  67. package/dist/{vue-ui-smiley-7_kIgPg-.js → vue-ui-smiley-DoDXl6k0.js} +2 -2
  68. package/dist/{vue-ui-spark-trend-DHlQQpwz.js → vue-ui-spark-trend-CniV6Cpr.js} +3 -3
  69. package/dist/{vue-ui-sparkbar-BnHhzuKf.js → vue-ui-sparkbar-Ds2ITgwn.js} +3 -3
  70. package/dist/{vue-ui-sparkgauge-WtfkCK8g.js → vue-ui-sparkgauge-CosfK-kw.js} +3 -3
  71. package/dist/{vue-ui-sparkhistogram-B2u4XLVd.js → vue-ui-sparkhistogram-C7O1wPAJ.js} +4 -4
  72. package/dist/{vue-ui-sparkline-DKIyUlSm.js → vue-ui-sparkline-B_iUj3F2.js} +3 -3
  73. package/dist/{vue-ui-sparkstackbar-BLGz2qIb.js → vue-ui-sparkstackbar-DBhWrysr.js} +3 -3
  74. package/dist/{vue-ui-stackbar-BDpMsTYe.js → vue-ui-stackbar-C3aV4IcL.js} +240 -232
  75. package/dist/{vue-ui-strip-plot-5qDcYPnR.js → vue-ui-strip-plot-Bvr1GAzH.js} +204 -196
  76. package/dist/{vue-ui-table-Bg5HIQ3O.js → vue-ui-table-DQKKRgyo.js} +3 -3
  77. package/dist/{vue-ui-table-heatmap-DmjNy1q1.js → vue-ui-table-heatmap-Dyqj5XJC.js} +5 -5
  78. package/dist/{vue-ui-table-sparkline-CnkJkBk5.js → vue-ui-table-sparkline-D4RubyLj.js} +4 -4
  79. package/dist/{vue-ui-thermometer-RlD-9mJf.js → vue-ui-thermometer-B0FKI5cG.js} +145 -137
  80. package/dist/{vue-ui-timer-Bes74INL.js → vue-ui-timer-DUCBRIl-.js} +5 -5
  81. package/dist/{vue-ui-tiremarks-DiLS3akQ.js → vue-ui-tiremarks-CRt4UQZD.js} +108 -100
  82. package/dist/vue-ui-treemap-CWP5nYDx.js +961 -0
  83. package/dist/{vue-ui-vertical-bar-CwqQyZFX.js → vue-ui-vertical-bar-C5fPYltO.js} +278 -270
  84. package/dist/{vue-ui-waffle-Ce3T4BPp.js → vue-ui-waffle-BpWLlfpg.js} +188 -180
  85. package/dist/{vue-ui-wheel-6B0WTkf2.js → vue-ui-wheel-CTzuCroy.js} +112 -104
  86. package/dist/{vue-ui-word-cloud-ByYZCOh7.js → vue-ui-word-cloud-BPokdaP1.js} +198 -190
  87. package/dist/{vue-ui-world-B9PxVO4n.js → vue-ui-world-CS6k-oil.js} +199 -191
  88. package/dist/{vue-ui-xy-DtJ7qJib.js → vue-ui-xy-CQ425kLR.js} +550 -544
  89. package/dist/{vue-ui-xy-canvas-S6YpFgzs.js → vue-ui-xy-canvas-D2IFwAr7.js} +306 -298
  90. package/package.json +1 -1
  91. package/dist/vue-data-ui-B8EWlMIK.js +0 -301
  92. package/dist/vue-ui-treemap-BG1Omm38.js +0 -953
@@ -1,16 +1,17 @@
1
- import { defineAsyncComponent as G, computed as y, ref as p, watch as ke, shallowRef as be, onMounted as De, onBeforeUnmount as Be, createElementBlock as u, openBlock as s, unref as n, normalizeStyle as q, normalizeClass as _e, createBlock as W, createCommentVNode as c, createElementVNode as m, withCtx as X, toDisplayString as M, createSlots as Ve, renderSlot as x, normalizeProps as j, guardReactiveProps as T, createVNode as qe, Fragment as g, renderList as S, mergeProps as Y } from "vue";
2
- import { u as He, c as Ze, t as Je, p as xe, a as Ke, b as Qe, o as we, d as et, e as U, g as Se, m as H, N as F, O as tt, X as at, s as Z, n as lt, i as J, f as K, E as Q } from "./index-DvIXJm6t.js";
3
- import { t as rt, u as st } from "./useResponsive-DfdjqQps.js";
4
- import { u as $e } from "./useNestedProp-DrYHm61t.js";
5
- import { u as ot } from "./usePrinter-CWnXbGMb.js";
6
- import { u as ut } from "./useUserOptionState-BIvW1Kz7.js";
7
- import { u as nt } from "./useChartAccessibility-9icAAmYg.js";
8
- import it from "./Title-Gi81VwUM.js";
9
- import { _ as ct } from "./_plugin-vue_export-helper-CHgC5LLL.js";
10
- const vt = ["id"], dt = { key: 0 }, ht = ["xmlns", "viewBox"], yt = ["width", "height"], ft = ["id"], pt = ["stop-color"], mt = ["stop-color"], gt = ["stop-color"], kt = ["id"], bt = ["stdDeviation"], _t = { key: 1 }, xt = ["d", "fill", "stroke"], wt = ["d", "fill", "stroke"], St = ["d", "fill"], $t = ["id", "d"], zt = ["fill", "font-size", "font-weight"], Ft = ["href", "startOffset"], Ct = ["x", "y", "text-anchor", "fill", "font-size", "font-weight"], Ot = ["d", "filter"], Mt = ["stroke", "stroke-width"], Pt = ["stroke", "stroke-width"], Nt = ["stroke", "stroke-width"], Xt = ["stroke", "stroke-width"], It = { key: 8 }, Yt = ["x", "y", "text-anchor", "font-size", "font-weight", "fill"], At = ["x", "y", "font-size", "font-weight", "fill"], Rt = { key: 0 }, Et = ["x1", "y1", "x2", "y2", "stroke", "stroke-width"], Gt = ["x1", "y1", "x2", "y2", "stroke", "stroke-width"], Wt = ["x1", "y1", "x2", "y2", "stroke-width", "filter"], jt = { key: 1 }, Tt = ["d", "fill", "stroke", "stroke-width"], Ut = ["cx", "cy", "fill", "r", "stroke-width", "stroke"], Lt = ["x", "y", "font-size", "fill"], Dt = {
1
+ import { defineAsyncComponent as G, computed as y, ref as m, watch as be, shallowRef as _e, onMounted as Be, onBeforeUnmount as Ve, createElementBlock as u, openBlock as s, unref as n, normalizeStyle as q, normalizeClass as we, createBlock as U, createCommentVNode as c, createElementVNode as p, withCtx as I, toDisplayString as M, createSlots as qe, renderSlot as w, normalizeProps as W, guardReactiveProps as j, createVNode as He, Fragment as g, renderList as S, mergeProps as A } from "vue";
2
+ import { u as Ze, c as Je, t as Ke, p as xe, a as Qe, b as et, o as Se, d as tt, e as T, g as $e, m as H, N as F, O as at, X as lt, s as Z, n as rt, i as J, f as K, E as Q } from "./index-pPGk-uhD.js";
3
+ import { t as st, u as ot } from "./useResponsive-DfdjqQps.js";
4
+ import { u as ze } from "./useNestedProp-DjACxgdZ.js";
5
+ import { u as ut } from "./usePrinter-DDHcrl0A.js";
6
+ import { u as nt } from "./useUserOptionState-BIvW1Kz7.js";
7
+ import { u as it } from "./useChartAccessibility-9icAAmYg.js";
8
+ import ct from "./Title-B-2bV0SW.js";
9
+ import vt from "./img-Y_hYz-ZC.js";
10
+ import { _ as dt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
11
+ const ht = ["id"], yt = { key: 0 }, ft = ["xmlns", "viewBox"], mt = ["width", "height"], pt = ["id"], gt = ["stop-color"], kt = ["stop-color"], bt = ["stop-color"], _t = ["id"], wt = ["stdDeviation"], xt = { key: 1 }, St = ["d", "fill", "stroke"], $t = ["d", "fill", "stroke"], zt = ["d", "fill"], Ft = ["id", "d"], Ct = ["fill", "font-size", "font-weight"], Ot = ["href", "startOffset"], Mt = ["x", "y", "text-anchor", "fill", "font-size", "font-weight"], Pt = ["d", "filter"], Nt = ["stroke", "stroke-width"], Xt = ["stroke", "stroke-width"], It = ["stroke", "stroke-width"], Yt = ["stroke", "stroke-width"], At = { key: 8 }, Rt = ["x", "y", "text-anchor", "font-size", "font-weight", "fill"], Et = ["x", "y", "font-size", "font-weight", "fill"], Gt = { key: 0 }, Ut = ["x1", "y1", "x2", "y2", "stroke", "stroke-width"], Wt = ["x1", "y1", "x2", "y2", "stroke", "stroke-width"], jt = ["x1", "y1", "x2", "y2", "stroke-width", "filter"], Tt = { key: 1 }, Lt = ["d", "fill", "stroke", "stroke-width"], Dt = ["cx", "cy", "fill", "r", "stroke-width", "stroke"], Bt = ["x", "y", "font-size", "fill"], Vt = {
11
12
  key: 5,
12
13
  class: "vue-data-ui-watermark"
13
- }, Bt = {
14
+ }, qt = {
14
15
  __name: "vue-ui-gauge",
15
16
  props: {
16
17
  config: {
@@ -26,33 +27,33 @@ const vt = ["id"], dt = { key: 0 }, ht = ["xmlns", "viewBox"], yt = ["width", "h
26
27
  }
27
28
  }
28
29
  },
29
- setup(L, { expose: ze }) {
30
- const Fe = G(() => import("./PenAndPaper-BPTpbnay.js")), Ce = G(() => import("./vue-ui-skeleton-BAOt2neL.js")), Oe = G(() => import("./UserOptions-CBEK6_jo.js")), Me = G(() => import("./PackageVersion-Bg_9KCU-.js")), { vue_ui_gauge: Pe } = He(), d = L, A = y(() => !!d.dataset && Object.keys(d.dataset).length > 0 && d.dataset.series && d.dataset.series.length), b = p(Ze()), Ne = p(null), ee = p(0), R = p(null), te = p(null), ae = p(null), le = p(null), re = p(null), se = p(0), e = y({
30
+ setup(L, { expose: Fe }) {
31
+ const Ce = G(() => import("./PenAndPaper-D6AqipIO.js")), Oe = G(() => import("./vue-ui-skeleton-DJPjyNYn.js")), Me = G(() => import("./UserOptions-Dd34lEKb.js")), Pe = G(() => import("./PackageVersion-5TR4ocqp.js")), { vue_ui_gauge: Ne } = Ze(), d = L, R = y(() => !!d.dataset && Object.keys(d.dataset).length > 0 && d.dataset.series && d.dataset.series.length), b = m(Je()), Xe = m(null), ee = m(0), P = m(null), te = m(null), ae = m(null), le = m(null), re = m(null), se = m(0), e = y({
31
32
  get: () => ie(),
32
33
  set: (t) => t
33
- }), { userOptionsVisible: D, setUserOptionsVisibility: oe, keepUserOptionState: ue } = ut({ config: e.value }), { svgRef: ne } = nt({ config: e.value.style.chart.title });
34
- ke(() => d.config, (t) => {
34
+ }), { userOptionsVisible: D, setUserOptionsVisibility: oe, keepUserOptionState: ue } = nt({ config: e.value }), { svgRef: ne } = it({ config: e.value.style.chart.title });
35
+ be(() => d.config, (t) => {
35
36
  e.value = ie(), D.value = !e.value.userOptions.showOnChartHover, fe(), se.value += 1;
36
37
  }, { deep: !0 });
37
38
  function ie() {
38
- const t = $e({
39
+ const t = ze({
39
40
  userConfig: d.config,
40
- defaultConfig: Pe
41
+ defaultConfig: Ne
41
42
  });
42
43
  return t.theme ? {
43
- ...$e({
44
- userConfig: Ke.vue_ui_gauge[t.theme] || d.config,
44
+ ...ze({
45
+ userConfig: Qe.vue_ui_gauge[t.theme] || d.config,
45
46
  defaultConfig: t
46
47
  }),
47
- customPalette: Je[t.theme] || xe
48
+ customPalette: Ke[t.theme] || xe
48
49
  } : t;
49
50
  }
50
- const { isPrinting: ce, isImaging: ve, generatePdf: de, generateImage: he } = ot({
51
+ const { isPrinting: ce, isImaging: ve, generatePdf: de, generateImage: he } = ut({
51
52
  elementId: `vue-ui-gauge_${b.value}`,
52
53
  fileName: e.value.style.chart.title.text || "vue-ui-gauge",
53
54
  options: e.value.userOptions.print
54
- }), Xe = y(() => e.value.userOptions.show && !e.value.style.chart.title.text), Ie = y(() => Qe(e.value.customPalette)), C = y(() => {
55
- if (!A.value || we(d.dataset.series || {}))
55
+ }), Ie = y(() => e.value.userOptions.show && !e.value.style.chart.title.text), Ye = y(() => et(e.value.customPalette)), C = y(() => {
56
+ if (!R.value || Se(d.dataset.series || {}))
56
57
  return {
57
58
  value: 0,
58
59
  series: [
@@ -71,11 +72,11 @@ const vt = ["id"], dt = { key: 0 }, ht = ["xmlns", "viewBox"], yt = ["width", "h
71
72
  ...d.dataset,
72
73
  series: (d.dataset.series || []).map((a, r) => ({
73
74
  ...a,
74
- color: et(a.color) || Ie.value[r] || xe[r],
75
+ color: tt(a.color) || Ye.value[r] || xe[r],
75
76
  value: ((a.to || 0) - (a.from || 0)) / o * 100
76
77
  }))
77
78
  };
78
- }), k = p(512), l = p({
79
+ }), k = m(512), l = m({
79
80
  height: 358.4,
80
81
  width: k.value,
81
82
  top: 0,
@@ -90,14 +91,14 @@ const vt = ["id"], dt = { key: 0 }, ht = ["xmlns", "viewBox"], yt = ["width", "h
90
91
  pointerStrokeWidth: e.value.style.chart.layout.pointer.strokeWidth,
91
92
  markerOffset: e.value.style.chart.layout.markers.offsetY + 3,
92
93
  segmentFontSize: e.value.style.chart.layout.segmentNames.fontSize
93
- }), P = p(0), $ = p(0), f = p(
94
+ }), N = m(0), $ = m(0), f = m(
94
95
  e.value.style.chart.animation.use ? Math.min(...d.dataset.series.map((t) => t.from)) : d.dataset.value
95
96
  );
96
- ke(() => d.dataset.value, () => {
97
- pe(d.dataset.value);
97
+ be(() => d.dataset.value, () => {
98
+ me(d.dataset.value);
98
99
  });
99
100
  const i = y(() => {
100
- const t = l.value.width / 2, o = v.value.base, a = Math.PI * ((f.value + 0 - $.value) / (P.value - $.value)) + Math.PI;
101
+ const t = l.value.width / 2, o = v.value.base, a = Math.PI * ((f.value + 0 - $.value) / (N.value - $.value)) + Math.PI;
101
102
  return {
102
103
  x1: t,
103
104
  y1: o,
@@ -105,8 +106,8 @@ const vt = ["id"], dt = { key: 0 }, ht = ["xmlns", "viewBox"], yt = ["width", "h
105
106
  y2: o + v.value.pointerSize * l.value.pointerSize * 0.9 * Math.sin(a)
106
107
  };
107
108
  }), ye = y(() => {
108
- const t = l.value.width / 2, o = v.value.base, a = Math.PI * ((f.value + 0 - $.value) / (P.value - $.value)) + Math.PI, r = t + v.value.pointerSize * l.value.pointerSize * 0.9 * Math.cos(a), _ = o + v.value.pointerSize * l.value.pointerSize * 0.9 * Math.sin(a), w = l.value.pointerRadius, je = t + w * Math.cos(a + Math.PI / 2), Te = o + w * Math.sin(a + Math.PI / 2), Ue = t + w * Math.cos(a - Math.PI / 2), Le = o + w * Math.sin(a - Math.PI / 2);
109
- return isNaN(r) ? null : `M ${r},${_} ${je},${Te} ${Ue},${Le} Z`;
109
+ const t = l.value.width / 2, o = v.value.base, a = Math.PI * ((f.value + 0 - $.value) / (N.value - $.value)) + Math.PI, r = t + v.value.pointerSize * l.value.pointerSize * 0.9 * Math.cos(a), _ = o + v.value.pointerSize * l.value.pointerSize * 0.9 * Math.sin(a), x = l.value.pointerRadius, je = t + x * Math.cos(a + Math.PI / 2), Te = o + x * Math.sin(a + Math.PI / 2), Le = t + x * Math.cos(a - Math.PI / 2), De = o + x * Math.sin(a - Math.PI / 2);
110
+ return isNaN(r) ? null : `M ${r},${_} ${je},${Te} ${Le},${De} Z`;
110
111
  }), B = y(() => {
111
112
  for (let t = 0; t < C.value.series.length; t += 1) {
112
113
  const { color: o, from: a, to: r } = C.value.series[t];
@@ -114,40 +115,40 @@ const vt = ["id"], dt = { key: 0 }, ht = ["xmlns", "viewBox"], yt = ["width", "h
114
115
  return o;
115
116
  }
116
117
  return "#2D353C";
117
- }), z = be(null), N = be(null);
118
+ }), z = _e(null), X = _e(null);
118
119
  function fe() {
119
- if (we(d.dataset) ? U({
120
+ if (Se(d.dataset) ? T({
120
121
  componentName: "VueUiGauge",
121
122
  type: "dataset"
122
- }) : (Se({
123
+ }) : ($e({
123
124
  datasetObject: d.dataset,
124
125
  requiredAttributes: ["value", "series"]
125
126
  }).forEach((t) => {
126
- U({
127
+ T({
127
128
  componentName: "VueUiGauge",
128
129
  type: "datasetAttribute",
129
130
  property: t
130
131
  });
131
132
  }), Object.hasOwn(d.dataset, "series") && (d.dataset.series.length ? d.dataset.series.forEach((t, o) => {
132
- Se({
133
+ $e({
133
134
  datasetObject: t,
134
135
  requiredAttributes: ["from", "to"]
135
136
  }).forEach((a) => {
136
- U({
137
+ T({
137
138
  componentName: "VueUiGauge",
138
139
  type: "datasetSerieAttribute",
139
140
  property: a,
140
141
  index: o
141
142
  });
142
143
  });
143
- }) : U({
144
+ }) : T({
144
145
  componentName: "VueUiGauge",
145
146
  type: "datasetAttributeEmpty",
146
147
  property: "series"
147
- }))), pe(d.dataset.value || 0), e.value.responsive) {
148
- const t = rt(() => {
149
- const { width: o, height: a } = st({
150
- chart: R.value,
148
+ }))), me(d.dataset.value || 0), e.value.responsive) {
149
+ const t = st(() => {
150
+ const { width: o, height: a } = ot({
151
+ chart: P.value,
151
152
  title: e.value.style.chart.title.text ? te.value : null,
152
153
  legend: ae.value,
153
154
  source: le.value,
@@ -175,19 +176,19 @@ const vt = ["id"], dt = { key: 0 }, ht = ["xmlns", "viewBox"], yt = ["width", "h
175
176
  });
176
177
  });
177
178
  });
178
- z.value && (N.value && z.value.unobserve(N.value), z.value.disconnect()), z.value = new ResizeObserver(t), N.value = R.value.parentNode, z.value.observe(N.value);
179
+ z.value && (X.value && z.value.unobserve(X.value), z.value.disconnect()), z.value = new ResizeObserver(t), X.value = P.value.parentNode, z.value.observe(X.value);
179
180
  }
180
181
  }
181
- De(() => {
182
+ Be(() => {
182
183
  fe();
183
- }), Be(() => {
184
- z.value && (N.value && z.value.unobserve(N.value), z.value.disconnect());
184
+ }), Ve(() => {
185
+ z.value && (X.value && z.value.unobserve(X.value), z.value.disconnect());
185
186
  });
186
- function pe(t) {
187
+ function me(t) {
187
188
  const o = [];
188
- (C.value.series || []).forEach((w) => {
189
- o.push(w.from || 0), o.push(w.to || 0);
190
- }), P.value = Math.max(...o), $.value = Math.min(...o);
189
+ (C.value.series || []).forEach((x) => {
190
+ o.push(x.from || 0), o.push(x.to || 0);
191
+ }), N.value = Math.max(...o), $.value = Math.min(...o);
191
192
  let a = e.value.style.chart.animation.speed;
192
193
  const r = Math.abs(t - f.value) / (a * 60);
193
194
  function _() {
@@ -216,7 +217,7 @@ const vt = ["id"], dt = { key: 0 }, ht = ["xmlns", "viewBox"], yt = ["width", "h
216
217
  180,
217
218
  109.9495,
218
219
  40 * l.value.trackSize
219
- )), Ye = y(() => H(
220
+ )), Ae = y(() => H(
220
221
  { series: C.value.series },
221
222
  l.value.width / 2,
222
223
  v.value.base,
@@ -228,7 +229,7 @@ const vt = ["id"], dt = { key: 0 }, ht = ["xmlns", "viewBox"], yt = ["width", "h
228
229
  180,
229
230
  109.9495,
230
231
  40 * l.value.trackSize
231
- )), O = y(() => h.value.map((t) => v.value.arcs * e.value.style.chart.layout.segmentNames.offsetRatio * (t.nameOffsetRatio || 1))), me = y(() => {
232
+ )), O = y(() => h.value.map((t) => v.value.arcs * e.value.style.chart.layout.segmentNames.offsetRatio * (t.nameOffsetRatio || 1))), pe = y(() => {
232
233
  const { x: t, y: o } = F({
233
234
  initX: h.value[0].firstSeparator.x,
234
235
  initY: h.value[0].firstSeparator.y,
@@ -259,14 +260,14 @@ const vt = ["id"], dt = { key: 0 }, ht = ["xmlns", "viewBox"], yt = ["width", "h
259
260
  });
260
261
  return { x1: o, y1: a, x2: r, y2: _ };
261
262
  }));
262
- function Ae(t) {
263
- if (t.reduce((_, w) => _ + w, 0) > 100)
263
+ function Re(t) {
264
+ if (t.reduce((_, x) => _ + x, 0) > 100)
264
265
  throw new Error("Total % must not exceed 100");
265
266
  const a = 50;
266
267
  let r = 0;
267
268
  return t.map((_) => (r += _, `${r / 100 * a - _ / 4}%`));
268
269
  }
269
- const Re = y(() => Ae(h.value.map((t) => t.proportion * 100))), Ee = y(() => H(
270
+ const Ee = y(() => Re(h.value.map((t) => t.proportion * 100))), Ge = y(() => H(
270
271
  { series: C.value.series },
271
272
  l.value.width / 2,
272
273
  v.value.base,
@@ -278,38 +279,45 @@ const vt = ["id"], dt = { key: 0 }, ht = ["xmlns", "viewBox"], yt = ["width", "h
278
279
  180,
279
280
  110.02,
280
281
  2 * l.value.trackSize
281
- )), Ge = y(() => {
282
+ )), Ue = y(() => {
282
283
  const t = $.value >= 0 ? -$.value : Math.abs($.value);
283
- return tt(
284
+ return at(
284
285
  {
285
286
  radius: e.value.style.chart.layout.indicatorArc.radius * l.value.trackSize,
286
287
  centerX: l.value.width / 2,
287
288
  centerY: v.value.base,
288
- percentage: (f.value + t) / (P.value + t)
289
+ percentage: (f.value + t) / (N.value + t)
289
290
  }
290
291
  );
291
- }), I = p(!1);
292
- function We(t) {
293
- I.value = t, ee.value += 1;
292
+ }), Y = m(!1);
293
+ function ke(t) {
294
+ Y.value = t, ee.value += 1;
294
295
  }
295
- const E = p(!1);
296
+ const E = m(!1);
296
297
  function V() {
297
298
  E.value = !E.value;
298
299
  }
299
- return ze({
300
+ async function We({ scale: t = 2 } = {}) {
301
+ if (!P.value) return;
302
+ const { imageUri: o, base64: a } = await vt({ domElement: P.value, base64: !0, img: !0, scale: t });
303
+ return { imageUri: o, base64: a };
304
+ }
305
+ return Fe({
306
+ getImage: We,
300
307
  generatePdf: de,
301
308
  generateImage: he,
302
- toggleAnnotator: V
309
+ toggleAnnotator: V,
310
+ toggleFullscreen: ke
303
311
  }), (t, o) => (s(), u("div", {
304
- class: _e(`vue-ui-gauge ${I.value ? "vue-data-ui-wrapper-fullscreen" : ""}`),
312
+ class: we(`vue-ui-gauge ${Y.value ? "vue-data-ui-wrapper-fullscreen" : ""}`),
305
313
  ref_key: "gaugeChart",
306
- ref: R,
314
+ ref: P,
307
315
  id: `vue-ui-gauge_${b.value}`,
308
316
  style: q(`font-family:${e.value.style.fontFamily};width:100%; text-align:center;background:${e.value.style.chart.backgroundColor};${e.value.responsive ? "height: 100%" : ""}`),
309
317
  onMouseenter: o[0] || (o[0] = () => n(oe)(!0)),
310
318
  onMouseleave: o[1] || (o[1] = () => n(oe)(!1))
311
319
  }, [
312
- e.value.userOptions.buttons.annotator ? (s(), W(n(Fe), {
320
+ e.value.userOptions.buttons.annotator ? (s(), U(n(Ce), {
313
321
  key: 0,
314
322
  svgRef: n(ne),
315
323
  backgroundColor: e.value.style.chart.backgroundColor,
@@ -317,7 +325,7 @@ const vt = ["id"], dt = { key: 0 }, ht = ["xmlns", "viewBox"], yt = ["width", "h
317
325
  active: E.value,
318
326
  onClose: V
319
327
  }, null, 8, ["svgRef", "backgroundColor", "color", "active"])) : c("", !0),
320
- Xe.value ? (s(), u("div", {
328
+ Ie.value ? (s(), u("div", {
321
329
  key: 1,
322
330
  ref_key: "noTitle",
323
331
  ref: re,
@@ -330,7 +338,7 @@ const vt = ["id"], dt = { key: 0 }, ht = ["xmlns", "viewBox"], yt = ["width", "h
330
338
  ref: te,
331
339
  style: "width:100%;background:transparent;padding-bottom:12px"
332
340
  }, [
333
- (s(), W(it, {
341
+ (s(), U(ct, {
334
342
  key: `title_${se.value}`,
335
343
  config: {
336
344
  title: {
@@ -343,15 +351,15 @@ const vt = ["id"], dt = { key: 0 }, ht = ["xmlns", "viewBox"], yt = ["width", "h
343
351
  }
344
352
  }
345
353
  }, {
346
- default: X(() => [
347
- e.value.translations.base && L.dataset.base ? (s(), u("span", dt, M(e.value.translations.base) + ": " + M(L.dataset.base), 1)) : c("", !0)
354
+ default: I(() => [
355
+ e.value.translations.base && L.dataset.base ? (s(), u("span", yt, M(e.value.translations.base) + ": " + M(L.dataset.base), 1)) : c("", !0)
348
356
  ]),
349
357
  _: 1
350
358
  }, 8, ["config"]))
351
359
  ], 512)) : c("", !0),
352
- e.value.userOptions.show && A.value && (n(ue) || n(D)) ? (s(), W(n(Oe), {
360
+ e.value.userOptions.show && R.value && (n(ue) || n(D)) ? (s(), U(n(Me), {
353
361
  ref_key: "details",
354
- ref: Ne,
362
+ ref: Xe,
355
363
  key: `user_options_${ee.value}`,
356
364
  backgroundColor: e.value.style.chart.backgroundColor,
357
365
  color: e.value.style.chart.color,
@@ -362,68 +370,68 @@ const vt = ["id"], dt = { key: 0 }, ht = ["xmlns", "viewBox"], yt = ["width", "h
362
370
  hasPdf: e.value.userOptions.buttons.pdf,
363
371
  hasImg: e.value.userOptions.buttons.img,
364
372
  hasFullscreen: e.value.userOptions.buttons.fullscreen,
365
- isFullscreen: I.value,
373
+ isFullscreen: Y.value,
366
374
  titles: { ...e.value.userOptions.buttonTitles },
367
- chartElement: R.value,
375
+ chartElement: P.value,
368
376
  callbacks: e.value.userOptions.callbacks,
369
377
  printScale: e.value.userOptions.print.scale,
370
378
  position: e.value.userOptions.position,
371
379
  hasAnnotator: e.value.userOptions.buttons.annotator,
372
380
  isAnnotation: E.value,
373
- onToggleFullscreen: We,
381
+ onToggleFullscreen: ke,
374
382
  onGeneratePdf: n(de),
375
383
  onGenerateImage: n(he),
376
384
  onToggleAnnotator: V,
377
385
  style: q({
378
386
  visibility: n(ue) ? n(D) ? "visible" : "hidden" : "visible"
379
387
  })
380
- }, Ve({ _: 2 }, [
388
+ }, qe({ _: 2 }, [
381
389
  t.$slots.menuIcon ? {
382
390
  name: "menuIcon",
383
- fn: X(({ isOpen: a, color: r }) => [
384
- x(t.$slots, "menuIcon", j(T({ isOpen: a, color: r })), void 0, !0)
391
+ fn: I(({ isOpen: a, color: r }) => [
392
+ w(t.$slots, "menuIcon", W(j({ isOpen: a, color: r })), void 0, !0)
385
393
  ]),
386
394
  key: "0"
387
395
  } : void 0,
388
396
  t.$slots.optionPdf ? {
389
397
  name: "optionPdf",
390
- fn: X(() => [
391
- x(t.$slots, "optionPdf", {}, void 0, !0)
398
+ fn: I(() => [
399
+ w(t.$slots, "optionPdf", {}, void 0, !0)
392
400
  ]),
393
401
  key: "1"
394
402
  } : void 0,
395
403
  t.$slots.optionImg ? {
396
404
  name: "optionImg",
397
- fn: X(() => [
398
- x(t.$slots, "optionImg", {}, void 0, !0)
405
+ fn: I(() => [
406
+ w(t.$slots, "optionImg", {}, void 0, !0)
399
407
  ]),
400
408
  key: "2"
401
409
  } : void 0,
402
410
  t.$slots.optionFullscreen ? {
403
411
  name: "optionFullscreen",
404
- fn: X(({ toggleFullscreen: a, isFullscreen: r }) => [
405
- x(t.$slots, "optionFullscreen", j(T({ toggleFullscreen: a, isFullscreen: r })), void 0, !0)
412
+ fn: I(({ toggleFullscreen: a, isFullscreen: r }) => [
413
+ w(t.$slots, "optionFullscreen", W(j({ toggleFullscreen: a, isFullscreen: r })), void 0, !0)
406
414
  ]),
407
415
  key: "3"
408
416
  } : void 0,
409
417
  t.$slots.optionAnnotator ? {
410
418
  name: "optionAnnotator",
411
- fn: X(({ toggleAnnotator: a, isAnnotator: r }) => [
412
- x(t.$slots, "optionAnnotator", j(T({ toggleAnnotator: a, isAnnotator: r })), void 0, !0)
419
+ fn: I(({ toggleAnnotator: a, isAnnotator: r }) => [
420
+ w(t.$slots, "optionAnnotator", W(j({ toggleAnnotator: a, isAnnotator: r })), void 0, !0)
413
421
  ]),
414
422
  key: "4"
415
423
  } : void 0
416
424
  ]), 1032, ["backgroundColor", "color", "isImaging", "isPrinting", "uid", "hasPdf", "hasImg", "hasFullscreen", "isFullscreen", "titles", "chartElement", "callbacks", "printScale", "position", "hasAnnotator", "isAnnotation", "onGeneratePdf", "onGenerateImage", "style"])) : c("", !0),
417
- A.value ? (s(), u("svg", {
425
+ R.value ? (s(), u("svg", {
418
426
  key: 4,
419
427
  ref_key: "svgRef",
420
428
  ref: ne,
421
- xmlns: n(at),
422
- class: _e({ "vue-data-ui-fullscreen--on": I.value, "vue-data-ui-fulscreen--off": !I.value }),
429
+ xmlns: n(lt),
430
+ class: we({ "vue-data-ui-fullscreen--on": Y.value, "vue-data-ui-fulscreen--off": !Y.value }),
423
431
  viewBox: `0 0 ${l.value.width <= 0 ? 10 : l.value.width} ${l.value.height <= 0 ? 10 : l.value.height}`,
424
432
  style: q(`max-width:100%;overflow:hidden !important;background:transparent;color:${e.value.style.chart.color}`)
425
433
  }, [
426
- qe(n(Me)),
434
+ He(n(Pe)),
427
435
  t.$slots["chart-background"] ? (s(), u("foreignObject", {
428
436
  key: 0,
429
437
  x: 0,
@@ -434,10 +442,10 @@ const vt = ["id"], dt = { key: 0 }, ht = ["xmlns", "viewBox"], yt = ["width", "h
434
442
  pointerEvents: "none"
435
443
  }
436
444
  }, [
437
- x(t.$slots, "chart-background", {}, void 0, !0)
438
- ], 8, yt)) : c("", !0),
439
- m("defs", null, [
440
- m("radialGradient", {
445
+ w(t.$slots, "chart-background", {}, void 0, !0)
446
+ ], 8, mt)) : c("", !0),
447
+ p("defs", null, [
448
+ p("radialGradient", {
441
449
  id: `gradient_${b.value}`,
442
450
  cx: "50%",
443
451
  cy: "50%",
@@ -445,37 +453,37 @@ const vt = ["id"], dt = { key: 0 }, ht = ["xmlns", "viewBox"], yt = ["width", "h
445
453
  fx: "50%",
446
454
  fy: "50%"
447
455
  }, [
448
- m("stop", {
456
+ p("stop", {
449
457
  offset: "0%",
450
458
  "stop-color": n(Z)("#FFFFFF", 1)
451
- }, null, 8, pt),
452
- m("stop", {
459
+ }, null, 8, gt),
460
+ p("stop", {
453
461
  offset: "80%",
454
462
  "stop-color": n(Z)("#FFFFFF", e.value.style.chart.layout.track.gradientIntensity)
455
- }, null, 8, mt),
456
- m("stop", {
463
+ }, null, 8, kt),
464
+ p("stop", {
457
465
  offset: "100%",
458
466
  "stop-color": n(Z)("#FFFFFF", 1)
459
- }, null, 8, gt)
460
- ], 8, ft)
467
+ }, null, 8, bt)
468
+ ], 8, pt)
461
469
  ]),
462
- m("defs", null, [
463
- m("filter", {
470
+ p("defs", null, [
471
+ p("filter", {
464
472
  id: `blur_${b.value}`,
465
473
  x: "-50%",
466
474
  y: "-50%",
467
475
  width: "200%",
468
476
  height: "200%"
469
477
  }, [
470
- m("feGaussianBlur", {
478
+ p("feGaussianBlur", {
471
479
  in: "SourceGraphic",
472
480
  stdDeviation: 100 / e.value.style.chart.layout.track.gradientIntensity
473
- }, null, 8, bt)
474
- ], 8, kt)
481
+ }, null, 8, wt)
482
+ ], 8, _t)
475
483
  ]),
476
- t.$slots.pattern ? (s(), u("g", _t, [
484
+ t.$slots.pattern ? (s(), u("g", xt, [
477
485
  (s(!0), u(g, null, S(h.value, (a, r) => (s(), u("defs", null, [
478
- x(t.$slots, "pattern", Y({ ref_for: !0 }, { seriesIndex: r, patternId: `pattern_${b.value}_${r}` }), void 0, !0)
486
+ w(t.$slots, "pattern", A({ ref_for: !0 }, { seriesIndex: r, patternId: `pattern_${b.value}_${r}` }), void 0, !0)
479
487
  ]))), 256))
480
488
  ])) : c("", !0),
481
489
  (s(!0), u(g, null, S(h.value, (a, r) => (s(), u("path", {
@@ -484,76 +492,76 @@ const vt = ["id"], dt = { key: 0 }, ht = ["xmlns", "viewBox"], yt = ["width", "h
484
492
  fill: a.color,
485
493
  stroke: e.value.style.chart.backgroundColor,
486
494
  "stroke-linecap": "round"
487
- }, null, 8, xt))), 128)),
495
+ }, null, 8, St))), 128)),
488
496
  t.$slots.pattern ? (s(!0), u(g, { key: 2 }, S(h.value, (a, r) => (s(), u("path", {
489
497
  key: `arc_${r}`,
490
498
  d: a.arcSlice,
491
499
  fill: `url(#pattern_${b.value}_${r})`,
492
500
  stroke: e.value.style.chart.backgroundColor,
493
501
  "stroke-linecap": "round"
494
- }, null, 8, wt))), 128)) : c("", !0),
502
+ }, null, 8, $t))), 128)) : c("", !0),
495
503
  e.value.style.chart.layout.indicatorArc.show ? (s(), u("path", {
496
504
  key: 3,
497
- d: Ge.value,
505
+ d: Ue.value,
498
506
  fill: e.value.style.chart.layout.indicatorArc.fill
499
- }, null, 8, St)) : c("", !0),
507
+ }, null, 8, zt)) : c("", !0),
500
508
  e.value.style.chart.layout.segmentNames.show && e.value.style.chart.layout.segmentNames.curved ? (s(), u(g, { key: 4 }, [
501
509
  (s(!0), u(g, null, S(h.value, (a, r) => (s(), u("path", {
502
510
  id: `curve_${b.value}_${r}`,
503
511
  d: `M ${i.value.x1},${i.value.y1} m -${O.value[r]},0 a ${O.value[r]},${O.value[r]} 0 1,1 ${2 * O.value[r]},0 a ${O.value[r]},${O.value[r]} 0 1,1 -${2 * O.value[r]},0`,
504
512
  fill: "transparent"
505
- }, null, 8, $t))), 256)),
513
+ }, null, 8, Ft))), 256)),
506
514
  (s(!0), u(g, null, S(h.value, (a, r) => (s(), u("text", {
507
515
  fill: e.value.style.chart.layout.segmentNames.useSerieColor ? a.color : e.value.style.chart.layout.segmentNames.color,
508
516
  "font-size": l.value.segmentFontSize,
509
517
  "font-weight": e.value.style.chart.layout.segmentNames.bold ? "bold" : "normal",
510
518
  "text-anchor": "middle"
511
519
  }, [
512
- m("textPath", {
520
+ p("textPath", {
513
521
  href: `#curve_${b.value}_${r}`,
514
- startOffset: Re.value[r]
515
- }, M(a.name || ""), 9, Ft)
516
- ], 8, zt))), 256))
522
+ startOffset: Ee.value[r]
523
+ }, M(a.name || ""), 9, Ot)
524
+ ], 8, Ct))), 256))
517
525
  ], 64)) : c("", !0),
518
- e.value.style.chart.layout.segmentNames.show && !e.value.style.chart.layout.segmentNames.curved ? (s(!0), u(g, { key: 5 }, S(Ye.value, (a, r) => (s(), u("text", {
526
+ e.value.style.chart.layout.segmentNames.show && !e.value.style.chart.layout.segmentNames.curved ? (s(!0), u(g, { key: 5 }, S(Ae.value, (a, r) => (s(), u("text", {
519
527
  x: a.center.endX,
520
528
  y: a.center.endY,
521
- "text-anchor": n(lt)(a, !1, 12).anchor,
529
+ "text-anchor": n(rt)(a, !1, 12).anchor,
522
530
  fill: e.value.style.chart.layout.segmentNames.useSerieColor ? a.color : e.value.style.chart.layout.segmentNames.color,
523
531
  "font-size": l.value.segmentFontSize,
524
532
  "font-weight": e.value.style.chart.layout.segmentNames.bold ? "bold" : "normal"
525
- }, M(a.name || ""), 9, Ct))), 256)) : c("", !0),
526
- e.value.style.chart.layout.track.useGradient ? (s(!0), u(g, { key: 6 }, S(Ee.value, (a, r) => (s(), u("path", {
533
+ }, M(a.name || ""), 9, Mt))), 256)) : c("", !0),
534
+ e.value.style.chart.layout.track.useGradient ? (s(!0), u(g, { key: 6 }, S(Ge.value, (a, r) => (s(), u("path", {
527
535
  key: `arc_${r}`,
528
536
  d: a.arcSlice,
529
537
  fill: "#FFFFFF",
530
538
  stroke: "none",
531
539
  "stroke-linecap": "round",
532
540
  filter: `url(#blur_${b.value})`
533
- }, null, 8, Ot))), 128)) : c("", !0),
541
+ }, null, 8, Pt))), 128)) : c("", !0),
534
542
  e.value.style.chart.layout.segmentSeparators.show ? (s(), u(g, { key: 7 }, [
535
- m("line", Y(me.value, {
543
+ p("line", A(pe.value, {
536
544
  stroke: e.value.style.chart.backgroundColor,
537
545
  "stroke-width": e.value.style.chart.layout.segmentSeparators.strokeWidth + 2,
538
546
  "stroke-linecap": "round"
539
- }), null, 16, Mt),
540
- m("line", Y(me.value, {
547
+ }), null, 16, Nt),
548
+ p("line", A(pe.value, {
541
549
  stroke: e.value.style.chart.layout.segmentSeparators.stroke,
542
550
  "stroke-width": e.value.style.chart.layout.segmentSeparators.strokeWidth,
543
551
  "stroke-linecap": "round"
544
- }), null, 16, Pt),
545
- (s(!0), u(g, null, S(ge.value, (a) => (s(), u("line", Y({ ref_for: !0 }, a, {
552
+ }), null, 16, Xt),
553
+ (s(!0), u(g, null, S(ge.value, (a) => (s(), u("line", A({ ref_for: !0 }, a, {
546
554
  stroke: e.value.style.chart.backgroundColor,
547
555
  "stroke-width": e.value.style.chart.layout.segmentSeparators.strokeWidth + 2,
548
556
  "stroke-linecap": "round"
549
- }), null, 16, Nt))), 256)),
550
- (s(!0), u(g, null, S(ge.value, (a) => (s(), u("line", Y({ ref_for: !0 }, a, {
557
+ }), null, 16, It))), 256)),
558
+ (s(!0), u(g, null, S(ge.value, (a) => (s(), u("line", A({ ref_for: !0 }, a, {
551
559
  stroke: e.value.style.chart.layout.segmentSeparators.stroke,
552
560
  "stroke-width": e.value.style.chart.layout.segmentSeparators.strokeWidth,
553
561
  "stroke-linecap": "round"
554
- }), null, 16, Xt))), 256))
562
+ }), null, 16, Yt))), 256))
555
563
  ], 64)) : c("", !0),
556
- e.value.style.chart.layout.markers.show ? (s(), u("g", It, [
564
+ e.value.style.chart.layout.markers.show ? (s(), u("g", At, [
557
565
  (s(!0), u(g, null, S(h.value, (a, r) => (s(), u("text", {
558
566
  x: n(F)({
559
567
  centerX: i.value.x1,
@@ -582,7 +590,7 @@ const vt = ["id"], dt = { key: 0 }, ht = ["xmlns", "viewBox"], yt = ["width", "h
582
590
  s: e.value.style.chart.layout.markers.suffix,
583
591
  r: e.value.style.chart.layout.markers.roundingValue
584
592
  })
585
- )), 9, Yt))), 256))
593
+ )), 9, Rt))), 256))
586
594
  ])) : c("", !0),
587
595
  e.value.style.chart.layout.markers.show ? (s(), u("text", {
588
596
  key: 9,
@@ -606,16 +614,16 @@ const vt = ["id"], dt = { key: 0 }, ht = ["xmlns", "viewBox"], yt = ["width", "h
606
614
  fill: e.value.style.chart.layout.markers.color
607
615
  }, M(n(J)(
608
616
  e.value.style.chart.layout.markers.formatter,
609
- P.value,
617
+ N.value,
610
618
  n(K)({
611
619
  p: e.value.style.chart.layout.markers.prefix,
612
- v: P.value,
620
+ v: N.value,
613
621
  s: e.value.style.chart.layout.markers.suffix,
614
622
  r: e.value.style.chart.layout.markers.roundingValue
615
623
  })
616
- )), 9, At)) : c("", !0),
624
+ )), 9, Et)) : c("", !0),
617
625
  e.value.style.chart.layout.pointer.show ? (s(), u(g, { key: 10 }, [
618
- e.value.style.chart.layout.pointer.type === "rounded" ? (s(), u("g", Rt, [
626
+ e.value.style.chart.layout.pointer.type === "rounded" ? (s(), u("g", Gt, [
619
627
  isNaN(i.value.x2) ? c("", !0) : (s(), u("line", {
620
628
  key: 0,
621
629
  x1: i.value.x1,
@@ -625,7 +633,7 @@ const vt = ["id"], dt = { key: 0 }, ht = ["xmlns", "viewBox"], yt = ["width", "h
625
633
  stroke: e.value.style.chart.layout.pointer.stroke,
626
634
  "stroke-width": l.value.pointerStrokeWidth,
627
635
  "stroke-linecap": "round"
628
- }, null, 8, Et)),
636
+ }, null, 8, Ut)),
629
637
  isNaN(i.value.x2) ? c("", !0) : (s(), u("line", {
630
638
  key: 1,
631
639
  x1: i.value.x1,
@@ -635,7 +643,7 @@ const vt = ["id"], dt = { key: 0 }, ht = ["xmlns", "viewBox"], yt = ["width", "h
635
643
  stroke: e.value.style.chart.layout.pointer.useRatingColor ? B.value : e.value.style.chart.layout.pointer.color,
636
644
  "stroke-linecap": "round",
637
645
  "stroke-width": l.value.pointerStrokeWidth * 0.7
638
- }, null, 8, Gt)),
646
+ }, null, 8, Wt)),
639
647
  !isNaN(i.value.x2) && e.value.style.chart.layout.track.useGradient ? (s(), u("line", {
640
648
  key: 2,
641
649
  x1: i.value.x1,
@@ -646,8 +654,8 @@ const vt = ["id"], dt = { key: 0 }, ht = ["xmlns", "viewBox"], yt = ["width", "h
646
654
  "stroke-linecap": "round",
647
655
  "stroke-width": l.value.pointerStrokeWidth * 0.3,
648
656
  filter: `url(#blur_${b.value})`
649
- }, null, 8, Wt)) : c("", !0)
650
- ])) : (s(), u("g", jt, [
657
+ }, null, 8, jt)) : c("", !0)
658
+ ])) : (s(), u("g", Tt, [
651
659
  ye.value ? (s(), u("path", {
652
660
  key: 0,
653
661
  d: ye.value,
@@ -655,16 +663,16 @@ const vt = ["id"], dt = { key: 0 }, ht = ["xmlns", "viewBox"], yt = ["width", "h
655
663
  stroke: e.value.style.chart.layout.pointer.stroke,
656
664
  "stroke-width": e.value.style.chart.layout.pointer.circle.strokeWidth,
657
665
  "stroke-linejoin": "round"
658
- }, null, 8, Tt)) : c("", !0)
666
+ }, null, 8, Lt)) : c("", !0)
659
667
  ])),
660
- m("circle", {
668
+ p("circle", {
661
669
  cx: l.value.width / 2,
662
670
  cy: v.value.base,
663
671
  fill: e.value.style.chart.layout.pointer.circle.color,
664
672
  r: l.value.pointerRadius <= 0 ? 1e-4 : l.value.pointerRadius,
665
673
  "stroke-width": e.value.style.chart.layout.pointer.circle.strokeWidth,
666
674
  stroke: e.value.style.chart.layout.pointer.circle.stroke
667
- }, null, 8, Ut)
675
+ }, null, 8, Dt)
668
676
  ], 64)) : c("", !0),
669
677
  e.value.style.chart.legend.show ? (s(), u("text", {
670
678
  key: 11,
@@ -683,13 +691,13 @@ const vt = ["id"], dt = { key: 0 }, ht = ["xmlns", "viewBox"], yt = ["width", "h
683
691
  s: e.value.style.chart.legend.suffix,
684
692
  r: e.value.style.chart.legend.roundingValue
685
693
  })
686
- )), 9, Lt)) : c("", !0),
687
- x(t.$slots, "svg", { svg: l.value }, void 0, !0)
688
- ], 14, ht)) : c("", !0),
689
- t.$slots.watermark ? (s(), u("div", Dt, [
690
- x(t.$slots, "watermark", j(T({ isPrinting: n(ce) || n(ve) })), void 0, !0)
694
+ )), 9, Bt)) : c("", !0),
695
+ w(t.$slots, "svg", { svg: l.value }, void 0, !0)
696
+ ], 14, ft)) : c("", !0),
697
+ t.$slots.watermark ? (s(), u("div", Vt, [
698
+ w(t.$slots, "watermark", W(j({ isPrinting: n(ce) || n(ve) })), void 0, !0)
691
699
  ])) : c("", !0),
692
- A.value ? c("", !0) : (s(), W(n(Ce), {
700
+ R.value ? c("", !0) : (s(), U(n(Oe), {
693
701
  key: 6,
694
702
  config: {
695
703
  type: "gauge",
@@ -701,11 +709,11 @@ const vt = ["id"], dt = { key: 0 }, ht = ["xmlns", "viewBox"], yt = ["width", "h
701
709
  }
702
710
  }
703
711
  }, null, 8, ["config"])),
704
- m("div", {
712
+ p("div", {
705
713
  ref_key: "chartLegend",
706
714
  ref: ae
707
715
  }, [
708
- x(t.$slots, "legend", { legend: C.value }, void 0, !0)
716
+ w(t.$slots, "legend", { legend: C.value }, void 0, !0)
709
717
  ], 512),
710
718
  t.$slots.source ? (s(), u("div", {
711
719
  key: 7,
@@ -713,11 +721,11 @@ const vt = ["id"], dt = { key: 0 }, ht = ["xmlns", "viewBox"], yt = ["width", "h
713
721
  ref: le,
714
722
  dir: "auto"
715
723
  }, [
716
- x(t.$slots, "source", {}, void 0, !0)
724
+ w(t.$slots, "source", {}, void 0, !0)
717
725
  ], 512)) : c("", !0)
718
- ], 46, vt));
726
+ ], 46, ht));
719
727
  }
720
- }, aa = /* @__PURE__ */ ct(Bt, [["__scopeId", "data-v-d9fe764b"]]);
728
+ }, sa = /* @__PURE__ */ dt(qt, [["__scopeId", "data-v-0642c848"]]);
721
729
  export {
722
- aa as default
730
+ sa as default
723
731
  };