vue-data-ui 2.16.5 → 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 +85 -55
  2. package/dist/{Arrow-D9B36pfx.js → Arrow-BAEkZGzL.js} +1 -1
  3. package/dist/{BaseDraggableDialog-DloHiD4h.js → BaseDraggableDialog-ChCkcmj_.js} +2 -2
  4. package/dist/{BaseIcon-DJab5OQD.js → BaseIcon-naqtCxVi.js} +1 -1
  5. package/dist/{ColorPicker-Br0rMnNb.js → ColorPicker-CfIPgxcj.js} +2 -2
  6. package/dist/{DataTable-B6MXw9cG.js → DataTable-D0VYDhfx.js} +2 -2
  7. package/dist/{Legend-DoxQwq_u.js → Legend-Bxlv67uY.js} +2 -2
  8. package/dist/{NonSvgPenAndPaper-DhbyLXKW.js → NonSvgPenAndPaper-b_oVy-Dd.js} +3 -3
  9. package/dist/{PackageVersion-DCreTQN4.js → PackageVersion-5TR4ocqp.js} +1 -1
  10. package/dist/{PenAndPaper-BS60tkQN.js → PenAndPaper-D6AqipIO.js} +32 -32
  11. package/dist/{Shape-CrstrfQ9.js → Shape-DtFT5EJa.js} +1 -1
  12. package/dist/{Slicer-Bd0AkciG.js → Slicer-CL6-MRI6.js} +2 -2
  13. package/dist/{SparkTooltip-B4j_rvhG.js → SparkTooltip-Bcv1aoA5.js} +1 -1
  14. package/dist/{Title-BQLtfM0P.js → Title-B-2bV0SW.js} +1 -1
  15. package/dist/{Tooltip-5JmGL7sR.js → Tooltip-CoQnTnr-.js} +1 -1
  16. package/dist/{UserOptions-DMGkAAIO.js → UserOptions-Dd34lEKb.js} +137 -129
  17. package/dist/{dom-to-png-g3Q8kjna.js → dom-to-png-2AA0wHlX.js} +1 -1
  18. package/dist/img-Y_hYz-ZC.js +27 -0
  19. package/dist/{index-CZNLCg7T.js → index-pPGk-uhD.js} +1 -1
  20. package/dist/{pdf-DJVOD0cz.js → pdf-yfk3d1is.js} +1 -1
  21. package/dist/style.css +1 -1
  22. package/dist/types/vue-data-ui.d.cts +1098 -162
  23. package/dist/types/vue-data-ui.d.ts +1098 -162
  24. package/dist/{useNestedProp-BcPDA6Xr.js → useNestedProp-DjACxgdZ.js} +1 -1
  25. package/dist/{usePrinter-ButWuZVm.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-o8P0DCbz.js → vue-ui-3d-bar-D5Wpdqfk.js} +244 -235
  29. package/dist/{vue-ui-accordion-CO4hmfuX.js → vue-ui-accordion-CVnA550V.js} +3 -3
  30. package/dist/{vue-ui-age-pyramid-C9T5bAEl.js → vue-ui-age-pyramid-BuAl-zC5.js} +167 -158
  31. package/dist/{vue-ui-annotator-CyOygaxE.js → vue-ui-annotator-gl2A20m3.js} +2 -2
  32. package/dist/{vue-ui-bullet-CPT1jdcz.js → vue-ui-bullet-D-VMKpwe.js} +131 -122
  33. package/dist/{vue-ui-candlestick-BfZTMGE0.js → vue-ui-candlestick-1r6YwiUV.js} +248 -239
  34. package/dist/{vue-ui-carousel-table-Bam9qqkj.js → vue-ui-carousel-table-B6UJoNtP.js} +17 -16
  35. package/dist/{vue-ui-chestnut-BAIMBFaQ.js → vue-ui-chestnut-DnlBYpC5.js} +257 -248
  36. package/dist/{vue-ui-chord-92E1yKdu.js → vue-ui-chord-D3kpzYjp.js} +229 -220
  37. package/dist/{vue-ui-circle-pack-DxXPqA7Z.js → vue-ui-circle-pack-CHgdpoYu.js} +200 -191
  38. package/dist/{vue-ui-cursor-Bvy_o8wb.js → vue-ui-cursor-63EAvElT.js} +2 -2
  39. package/dist/{vue-ui-dashboard--QRCkp7q.js → vue-ui-dashboard-Da6CPET-.js} +62 -62
  40. package/dist/{vue-ui-digits-Dl8RHLvt.js → vue-ui-digits-CA8pUKej.js} +2 -2
  41. package/dist/{vue-ui-donut-BxSTOFDt.js → vue-ui-donut-CKa7nFjt.js} +352 -343
  42. package/dist/{vue-ui-donut-evolution-DNzTtWnJ.js → vue-ui-donut-evolution-qeBEA4W8.js} +267 -258
  43. package/dist/{vue-ui-dumbbell-D01p3t3P.js → vue-ui-dumbbell-Bm0PvAKT.js} +146 -137
  44. package/dist/{vue-ui-flow-BMvaRn7E.js → vue-ui-flow-C2dqXvrU.js} +171 -162
  45. package/dist/{vue-ui-funnel-Bd_3wouw.js → vue-ui-funnel-Dvy5rRld.js} +134 -125
  46. package/dist/{vue-ui-galaxy-D4HJH1qq.js → vue-ui-galaxy-Y8LYp5n2.js} +181 -172
  47. package/dist/{vue-ui-gauge-CgIlk2pu.js → vue-ui-gauge-BBo0jWAP.js} +166 -157
  48. package/dist/{vue-ui-gizmo-C1-QYvsn.js → vue-ui-gizmo-DjXfTOWn.js} +3 -3
  49. package/dist/{vue-ui-heatmap-tUn_BlSp.js → vue-ui-heatmap-BbxRpltP.js} +242 -229
  50. package/dist/{vue-ui-history-plot-TfVRzyIK.js → vue-ui-history-plot-ChYf3Nvc.js} +218 -209
  51. package/dist/{vue-ui-kpi-BuL8MAMD.js → vue-ui-kpi-Vfc5-JnE.js} +3 -3
  52. package/dist/{vue-ui-mini-loader-DIeG36P8.js → vue-ui-mini-loader-C0-Nsz8K.js} +2 -2
  53. package/dist/{vue-ui-molecule-8RJNzWIw.js → vue-ui-molecule-B7Yu7vzF.js} +155 -146
  54. package/dist/{vue-ui-mood-radar-DftzG_Bi.js → vue-ui-mood-radar-C8JUTwNw.js} +130 -121
  55. package/dist/{vue-ui-nested-donuts-B9JC_0xK.js → vue-ui-nested-donuts-D0RgFifU.js} +255 -246
  56. package/dist/{vue-ui-onion-DTjaH-Bu.js → vue-ui-onion-D4U7TL_N.js} +150 -141
  57. package/dist/{vue-ui-parallel-coordinate-plot-DwqfVqFB.js → vue-ui-parallel-coordinate-plot-CXMT7Rjr.js} +194 -185
  58. package/dist/{vue-ui-quadrant-Cv3VWA6d.js → vue-ui-quadrant-B13pTVVZ.js} +248 -239
  59. package/dist/{vue-ui-quick-chart-imc0KrbF.js → vue-ui-quick-chart-C0UL4o63.js} +328 -319
  60. package/dist/{vue-ui-radar-kNySclk1.js → vue-ui-radar-XpdiXnhz.js} +165 -156
  61. package/dist/{vue-ui-rating-DBhEbgwD.js → vue-ui-rating-CM8ZrUb1.js} +2 -2
  62. package/dist/{vue-ui-relation-circle-BJQhS0aG.js → vue-ui-relation-circle-CYoFNekk.js} +145 -136
  63. package/dist/{vue-ui-ridgeline-Bhd1Uwm8.js → vue-ui-ridgeline-QUquE6ck.js} +198 -189
  64. package/dist/{vue-ui-rings-C_IT2mi0.js → vue-ui-rings-DwT0IfOh.js} +136 -127
  65. package/dist/{vue-ui-scatter-i8XZreWa.js → vue-ui-scatter-zDpy1udm.js} +207 -199
  66. package/dist/{vue-ui-skeleton-D9B8DY_k.js → vue-ui-skeleton-DJPjyNYn.js} +3 -3
  67. package/dist/{vue-ui-smiley-gmdnUWcW.js → vue-ui-smiley-DoDXl6k0.js} +2 -2
  68. package/dist/{vue-ui-spark-trend-DOF3vl8_.js → vue-ui-spark-trend-CniV6Cpr.js} +3 -3
  69. package/dist/{vue-ui-sparkbar-BVOVq3dA.js → vue-ui-sparkbar-Ds2ITgwn.js} +3 -3
  70. package/dist/{vue-ui-sparkgauge-DVO2Z0Rg.js → vue-ui-sparkgauge-CosfK-kw.js} +3 -3
  71. package/dist/{vue-ui-sparkhistogram-CbV86a2i.js → vue-ui-sparkhistogram-C7O1wPAJ.js} +4 -4
  72. package/dist/{vue-ui-sparkline-jDNAVZu-.js → vue-ui-sparkline-B_iUj3F2.js} +3 -3
  73. package/dist/{vue-ui-sparkstackbar-auT8CUXm.js → vue-ui-sparkstackbar-DBhWrysr.js} +3 -3
  74. package/dist/{vue-ui-stackbar-DmO02We2.js → vue-ui-stackbar-C3aV4IcL.js} +242 -233
  75. package/dist/{vue-ui-strip-plot-B25s87lj.js → vue-ui-strip-plot-Bvr1GAzH.js} +204 -195
  76. package/dist/{vue-ui-table-B4xbQdK_.js → vue-ui-table-DQKKRgyo.js} +3 -3
  77. package/dist/{vue-ui-table-heatmap-DI57VcvH.js → vue-ui-table-heatmap-Dyqj5XJC.js} +26 -25
  78. package/dist/{vue-ui-table-sparkline-DRgsZztN.js → vue-ui-table-sparkline-D4RubyLj.js} +8 -7
  79. package/dist/{vue-ui-thermometer-DkeT5DV_.js → vue-ui-thermometer-B0FKI5cG.js} +149 -140
  80. package/dist/{vue-ui-timer-uon_DLeH.js → vue-ui-timer-DUCBRIl-.js} +5 -5
  81. package/dist/{vue-ui-tiremarks-BV0qXRF2.js → vue-ui-tiremarks-CRt4UQZD.js} +114 -105
  82. package/dist/{vue-ui-treemap-DzJsjtz7.js → vue-ui-treemap-CWP5nYDx.js} +298 -289
  83. package/dist/{vue-ui-vertical-bar-CkLS_DGb.js → vue-ui-vertical-bar-C5fPYltO.js} +294 -285
  84. package/dist/{vue-ui-waffle-B2XiLGQx.js → vue-ui-waffle-BpWLlfpg.js} +190 -181
  85. package/dist/{vue-ui-wheel-BR1DDpKU.js → vue-ui-wheel-CTzuCroy.js} +96 -87
  86. package/dist/{vue-ui-word-cloud-BvOT6hu2.js → vue-ui-word-cloud-BPokdaP1.js} +212 -203
  87. package/dist/{vue-ui-world-BeP91MNX.js → vue-ui-world-CS6k-oil.js} +201 -192
  88. package/dist/{vue-ui-xy-BaR-ZDba.js → vue-ui-xy-CQ425kLR.js} +517 -510
  89. package/dist/{vue-ui-xy-canvas-B4ZmECCK.js → vue-ui-xy-canvas-D2IFwAr7.js} +364 -355
  90. package/package.json +1 -1
  91. package/dist/img-CTC5DLKL.js +0 -20
  92. package/dist/vue-data-ui-BB8Upnjm.js +0 -301
@@ -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-CZNLCg7T.js";
3
- import { t as rt, u as st } from "./useResponsive-DfdjqQps.js";
4
- import { u as $e } from "./useNestedProp-BcPDA6Xr.js";
5
- import { u as ot } from "./usePrinter-ButWuZVm.js";
6
- import { u as ut } from "./useUserOptionState-BIvW1Kz7.js";
7
- import { u as nt } from "./useChartAccessibility-9icAAmYg.js";
8
- import it from "./Title-BQLtfM0P.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-BS60tkQN.js")), Ce = G(() => import("./vue-ui-skeleton-D9B8DY_k.js")), Oe = G(() => import("./UserOptions-DMGkAAIO.js")), Me = G(() => import("./PackageVersion-DCreTQN4.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,67 +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,
377
+ printScale: e.value.userOptions.print.scale,
369
378
  position: e.value.userOptions.position,
370
379
  hasAnnotator: e.value.userOptions.buttons.annotator,
371
380
  isAnnotation: E.value,
372
- onToggleFullscreen: We,
381
+ onToggleFullscreen: ke,
373
382
  onGeneratePdf: n(de),
374
383
  onGenerateImage: n(he),
375
384
  onToggleAnnotator: V,
376
385
  style: q({
377
386
  visibility: n(ue) ? n(D) ? "visible" : "hidden" : "visible"
378
387
  })
379
- }, Ve({ _: 2 }, [
388
+ }, qe({ _: 2 }, [
380
389
  t.$slots.menuIcon ? {
381
390
  name: "menuIcon",
382
- fn: X(({ isOpen: a, color: r }) => [
383
- 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)
384
393
  ]),
385
394
  key: "0"
386
395
  } : void 0,
387
396
  t.$slots.optionPdf ? {
388
397
  name: "optionPdf",
389
- fn: X(() => [
390
- x(t.$slots, "optionPdf", {}, void 0, !0)
398
+ fn: I(() => [
399
+ w(t.$slots, "optionPdf", {}, void 0, !0)
391
400
  ]),
392
401
  key: "1"
393
402
  } : void 0,
394
403
  t.$slots.optionImg ? {
395
404
  name: "optionImg",
396
- fn: X(() => [
397
- x(t.$slots, "optionImg", {}, void 0, !0)
405
+ fn: I(() => [
406
+ w(t.$slots, "optionImg", {}, void 0, !0)
398
407
  ]),
399
408
  key: "2"
400
409
  } : void 0,
401
410
  t.$slots.optionFullscreen ? {
402
411
  name: "optionFullscreen",
403
- fn: X(({ toggleFullscreen: a, isFullscreen: r }) => [
404
- 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)
405
414
  ]),
406
415
  key: "3"
407
416
  } : void 0,
408
417
  t.$slots.optionAnnotator ? {
409
418
  name: "optionAnnotator",
410
- fn: X(({ toggleAnnotator: a, isAnnotator: r }) => [
411
- 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)
412
421
  ]),
413
422
  key: "4"
414
423
  } : void 0
415
- ]), 1032, ["backgroundColor", "color", "isImaging", "isPrinting", "uid", "hasPdf", "hasImg", "hasFullscreen", "isFullscreen", "titles", "chartElement", "callbacks", "position", "hasAnnotator", "isAnnotation", "onGeneratePdf", "onGenerateImage", "style"])) : c("", !0),
416
- A.value ? (s(), u("svg", {
424
+ ]), 1032, ["backgroundColor", "color", "isImaging", "isPrinting", "uid", "hasPdf", "hasImg", "hasFullscreen", "isFullscreen", "titles", "chartElement", "callbacks", "printScale", "position", "hasAnnotator", "isAnnotation", "onGeneratePdf", "onGenerateImage", "style"])) : c("", !0),
425
+ R.value ? (s(), u("svg", {
417
426
  key: 4,
418
427
  ref_key: "svgRef",
419
428
  ref: ne,
420
- xmlns: n(at),
421
- 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 }),
422
431
  viewBox: `0 0 ${l.value.width <= 0 ? 10 : l.value.width} ${l.value.height <= 0 ? 10 : l.value.height}`,
423
432
  style: q(`max-width:100%;overflow:hidden !important;background:transparent;color:${e.value.style.chart.color}`)
424
433
  }, [
425
- qe(n(Me)),
434
+ He(n(Pe)),
426
435
  t.$slots["chart-background"] ? (s(), u("foreignObject", {
427
436
  key: 0,
428
437
  x: 0,
@@ -433,10 +442,10 @@ const vt = ["id"], dt = { key: 0 }, ht = ["xmlns", "viewBox"], yt = ["width", "h
433
442
  pointerEvents: "none"
434
443
  }
435
444
  }, [
436
- x(t.$slots, "chart-background", {}, void 0, !0)
437
- ], 8, yt)) : c("", !0),
438
- m("defs", null, [
439
- m("radialGradient", {
445
+ w(t.$slots, "chart-background", {}, void 0, !0)
446
+ ], 8, mt)) : c("", !0),
447
+ p("defs", null, [
448
+ p("radialGradient", {
440
449
  id: `gradient_${b.value}`,
441
450
  cx: "50%",
442
451
  cy: "50%",
@@ -444,37 +453,37 @@ const vt = ["id"], dt = { key: 0 }, ht = ["xmlns", "viewBox"], yt = ["width", "h
444
453
  fx: "50%",
445
454
  fy: "50%"
446
455
  }, [
447
- m("stop", {
456
+ p("stop", {
448
457
  offset: "0%",
449
458
  "stop-color": n(Z)("#FFFFFF", 1)
450
- }, null, 8, pt),
451
- m("stop", {
459
+ }, null, 8, gt),
460
+ p("stop", {
452
461
  offset: "80%",
453
462
  "stop-color": n(Z)("#FFFFFF", e.value.style.chart.layout.track.gradientIntensity)
454
- }, null, 8, mt),
455
- m("stop", {
463
+ }, null, 8, kt),
464
+ p("stop", {
456
465
  offset: "100%",
457
466
  "stop-color": n(Z)("#FFFFFF", 1)
458
- }, null, 8, gt)
459
- ], 8, ft)
467
+ }, null, 8, bt)
468
+ ], 8, pt)
460
469
  ]),
461
- m("defs", null, [
462
- m("filter", {
470
+ p("defs", null, [
471
+ p("filter", {
463
472
  id: `blur_${b.value}`,
464
473
  x: "-50%",
465
474
  y: "-50%",
466
475
  width: "200%",
467
476
  height: "200%"
468
477
  }, [
469
- m("feGaussianBlur", {
478
+ p("feGaussianBlur", {
470
479
  in: "SourceGraphic",
471
480
  stdDeviation: 100 / e.value.style.chart.layout.track.gradientIntensity
472
- }, null, 8, bt)
473
- ], 8, kt)
481
+ }, null, 8, wt)
482
+ ], 8, _t)
474
483
  ]),
475
- t.$slots.pattern ? (s(), u("g", _t, [
484
+ t.$slots.pattern ? (s(), u("g", xt, [
476
485
  (s(!0), u(g, null, S(h.value, (a, r) => (s(), u("defs", null, [
477
- 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)
478
487
  ]))), 256))
479
488
  ])) : c("", !0),
480
489
  (s(!0), u(g, null, S(h.value, (a, r) => (s(), u("path", {
@@ -483,76 +492,76 @@ const vt = ["id"], dt = { key: 0 }, ht = ["xmlns", "viewBox"], yt = ["width", "h
483
492
  fill: a.color,
484
493
  stroke: e.value.style.chart.backgroundColor,
485
494
  "stroke-linecap": "round"
486
- }, null, 8, xt))), 128)),
495
+ }, null, 8, St))), 128)),
487
496
  t.$slots.pattern ? (s(!0), u(g, { key: 2 }, S(h.value, (a, r) => (s(), u("path", {
488
497
  key: `arc_${r}`,
489
498
  d: a.arcSlice,
490
499
  fill: `url(#pattern_${b.value}_${r})`,
491
500
  stroke: e.value.style.chart.backgroundColor,
492
501
  "stroke-linecap": "round"
493
- }, null, 8, wt))), 128)) : c("", !0),
502
+ }, null, 8, $t))), 128)) : c("", !0),
494
503
  e.value.style.chart.layout.indicatorArc.show ? (s(), u("path", {
495
504
  key: 3,
496
- d: Ge.value,
505
+ d: Ue.value,
497
506
  fill: e.value.style.chart.layout.indicatorArc.fill
498
- }, null, 8, St)) : c("", !0),
507
+ }, null, 8, zt)) : c("", !0),
499
508
  e.value.style.chart.layout.segmentNames.show && e.value.style.chart.layout.segmentNames.curved ? (s(), u(g, { key: 4 }, [
500
509
  (s(!0), u(g, null, S(h.value, (a, r) => (s(), u("path", {
501
510
  id: `curve_${b.value}_${r}`,
502
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`,
503
512
  fill: "transparent"
504
- }, null, 8, $t))), 256)),
513
+ }, null, 8, Ft))), 256)),
505
514
  (s(!0), u(g, null, S(h.value, (a, r) => (s(), u("text", {
506
515
  fill: e.value.style.chart.layout.segmentNames.useSerieColor ? a.color : e.value.style.chart.layout.segmentNames.color,
507
516
  "font-size": l.value.segmentFontSize,
508
517
  "font-weight": e.value.style.chart.layout.segmentNames.bold ? "bold" : "normal",
509
518
  "text-anchor": "middle"
510
519
  }, [
511
- m("textPath", {
520
+ p("textPath", {
512
521
  href: `#curve_${b.value}_${r}`,
513
- startOffset: Re.value[r]
514
- }, M(a.name || ""), 9, Ft)
515
- ], 8, zt))), 256))
522
+ startOffset: Ee.value[r]
523
+ }, M(a.name || ""), 9, Ot)
524
+ ], 8, Ct))), 256))
516
525
  ], 64)) : c("", !0),
517
- 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", {
518
527
  x: a.center.endX,
519
528
  y: a.center.endY,
520
- "text-anchor": n(lt)(a, !1, 12).anchor,
529
+ "text-anchor": n(rt)(a, !1, 12).anchor,
521
530
  fill: e.value.style.chart.layout.segmentNames.useSerieColor ? a.color : e.value.style.chart.layout.segmentNames.color,
522
531
  "font-size": l.value.segmentFontSize,
523
532
  "font-weight": e.value.style.chart.layout.segmentNames.bold ? "bold" : "normal"
524
- }, M(a.name || ""), 9, Ct))), 256)) : c("", !0),
525
- 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", {
526
535
  key: `arc_${r}`,
527
536
  d: a.arcSlice,
528
537
  fill: "#FFFFFF",
529
538
  stroke: "none",
530
539
  "stroke-linecap": "round",
531
540
  filter: `url(#blur_${b.value})`
532
- }, null, 8, Ot))), 128)) : c("", !0),
541
+ }, null, 8, Pt))), 128)) : c("", !0),
533
542
  e.value.style.chart.layout.segmentSeparators.show ? (s(), u(g, { key: 7 }, [
534
- m("line", Y(me.value, {
543
+ p("line", A(pe.value, {
535
544
  stroke: e.value.style.chart.backgroundColor,
536
545
  "stroke-width": e.value.style.chart.layout.segmentSeparators.strokeWidth + 2,
537
546
  "stroke-linecap": "round"
538
- }), null, 16, Mt),
539
- m("line", Y(me.value, {
547
+ }), null, 16, Nt),
548
+ p("line", A(pe.value, {
540
549
  stroke: e.value.style.chart.layout.segmentSeparators.stroke,
541
550
  "stroke-width": e.value.style.chart.layout.segmentSeparators.strokeWidth,
542
551
  "stroke-linecap": "round"
543
- }), null, 16, Pt),
544
- (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, {
545
554
  stroke: e.value.style.chart.backgroundColor,
546
555
  "stroke-width": e.value.style.chart.layout.segmentSeparators.strokeWidth + 2,
547
556
  "stroke-linecap": "round"
548
- }), null, 16, Nt))), 256)),
549
- (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, {
550
559
  stroke: e.value.style.chart.layout.segmentSeparators.stroke,
551
560
  "stroke-width": e.value.style.chart.layout.segmentSeparators.strokeWidth,
552
561
  "stroke-linecap": "round"
553
- }), null, 16, Xt))), 256))
562
+ }), null, 16, Yt))), 256))
554
563
  ], 64)) : c("", !0),
555
- e.value.style.chart.layout.markers.show ? (s(), u("g", It, [
564
+ e.value.style.chart.layout.markers.show ? (s(), u("g", At, [
556
565
  (s(!0), u(g, null, S(h.value, (a, r) => (s(), u("text", {
557
566
  x: n(F)({
558
567
  centerX: i.value.x1,
@@ -581,7 +590,7 @@ const vt = ["id"], dt = { key: 0 }, ht = ["xmlns", "viewBox"], yt = ["width", "h
581
590
  s: e.value.style.chart.layout.markers.suffix,
582
591
  r: e.value.style.chart.layout.markers.roundingValue
583
592
  })
584
- )), 9, Yt))), 256))
593
+ )), 9, Rt))), 256))
585
594
  ])) : c("", !0),
586
595
  e.value.style.chart.layout.markers.show ? (s(), u("text", {
587
596
  key: 9,
@@ -605,16 +614,16 @@ const vt = ["id"], dt = { key: 0 }, ht = ["xmlns", "viewBox"], yt = ["width", "h
605
614
  fill: e.value.style.chart.layout.markers.color
606
615
  }, M(n(J)(
607
616
  e.value.style.chart.layout.markers.formatter,
608
- P.value,
617
+ N.value,
609
618
  n(K)({
610
619
  p: e.value.style.chart.layout.markers.prefix,
611
- v: P.value,
620
+ v: N.value,
612
621
  s: e.value.style.chart.layout.markers.suffix,
613
622
  r: e.value.style.chart.layout.markers.roundingValue
614
623
  })
615
- )), 9, At)) : c("", !0),
624
+ )), 9, Et)) : c("", !0),
616
625
  e.value.style.chart.layout.pointer.show ? (s(), u(g, { key: 10 }, [
617
- 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, [
618
627
  isNaN(i.value.x2) ? c("", !0) : (s(), u("line", {
619
628
  key: 0,
620
629
  x1: i.value.x1,
@@ -624,7 +633,7 @@ const vt = ["id"], dt = { key: 0 }, ht = ["xmlns", "viewBox"], yt = ["width", "h
624
633
  stroke: e.value.style.chart.layout.pointer.stroke,
625
634
  "stroke-width": l.value.pointerStrokeWidth,
626
635
  "stroke-linecap": "round"
627
- }, null, 8, Et)),
636
+ }, null, 8, Ut)),
628
637
  isNaN(i.value.x2) ? c("", !0) : (s(), u("line", {
629
638
  key: 1,
630
639
  x1: i.value.x1,
@@ -634,7 +643,7 @@ const vt = ["id"], dt = { key: 0 }, ht = ["xmlns", "viewBox"], yt = ["width", "h
634
643
  stroke: e.value.style.chart.layout.pointer.useRatingColor ? B.value : e.value.style.chart.layout.pointer.color,
635
644
  "stroke-linecap": "round",
636
645
  "stroke-width": l.value.pointerStrokeWidth * 0.7
637
- }, null, 8, Gt)),
646
+ }, null, 8, Wt)),
638
647
  !isNaN(i.value.x2) && e.value.style.chart.layout.track.useGradient ? (s(), u("line", {
639
648
  key: 2,
640
649
  x1: i.value.x1,
@@ -645,8 +654,8 @@ const vt = ["id"], dt = { key: 0 }, ht = ["xmlns", "viewBox"], yt = ["width", "h
645
654
  "stroke-linecap": "round",
646
655
  "stroke-width": l.value.pointerStrokeWidth * 0.3,
647
656
  filter: `url(#blur_${b.value})`
648
- }, null, 8, Wt)) : c("", !0)
649
- ])) : (s(), u("g", jt, [
657
+ }, null, 8, jt)) : c("", !0)
658
+ ])) : (s(), u("g", Tt, [
650
659
  ye.value ? (s(), u("path", {
651
660
  key: 0,
652
661
  d: ye.value,
@@ -654,16 +663,16 @@ const vt = ["id"], dt = { key: 0 }, ht = ["xmlns", "viewBox"], yt = ["width", "h
654
663
  stroke: e.value.style.chart.layout.pointer.stroke,
655
664
  "stroke-width": e.value.style.chart.layout.pointer.circle.strokeWidth,
656
665
  "stroke-linejoin": "round"
657
- }, null, 8, Tt)) : c("", !0)
666
+ }, null, 8, Lt)) : c("", !0)
658
667
  ])),
659
- m("circle", {
668
+ p("circle", {
660
669
  cx: l.value.width / 2,
661
670
  cy: v.value.base,
662
671
  fill: e.value.style.chart.layout.pointer.circle.color,
663
672
  r: l.value.pointerRadius <= 0 ? 1e-4 : l.value.pointerRadius,
664
673
  "stroke-width": e.value.style.chart.layout.pointer.circle.strokeWidth,
665
674
  stroke: e.value.style.chart.layout.pointer.circle.stroke
666
- }, null, 8, Ut)
675
+ }, null, 8, Dt)
667
676
  ], 64)) : c("", !0),
668
677
  e.value.style.chart.legend.show ? (s(), u("text", {
669
678
  key: 11,
@@ -682,13 +691,13 @@ const vt = ["id"], dt = { key: 0 }, ht = ["xmlns", "viewBox"], yt = ["width", "h
682
691
  s: e.value.style.chart.legend.suffix,
683
692
  r: e.value.style.chart.legend.roundingValue
684
693
  })
685
- )), 9, Lt)) : c("", !0),
686
- x(t.$slots, "svg", { svg: l.value }, void 0, !0)
687
- ], 14, ht)) : c("", !0),
688
- t.$slots.watermark ? (s(), u("div", Dt, [
689
- 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)
690
699
  ])) : c("", !0),
691
- A.value ? c("", !0) : (s(), W(n(Ce), {
700
+ R.value ? c("", !0) : (s(), U(n(Oe), {
692
701
  key: 6,
693
702
  config: {
694
703
  type: "gauge",
@@ -700,11 +709,11 @@ const vt = ["id"], dt = { key: 0 }, ht = ["xmlns", "viewBox"], yt = ["width", "h
700
709
  }
701
710
  }
702
711
  }, null, 8, ["config"])),
703
- m("div", {
712
+ p("div", {
704
713
  ref_key: "chartLegend",
705
714
  ref: ae
706
715
  }, [
707
- x(t.$slots, "legend", { legend: C.value }, void 0, !0)
716
+ w(t.$slots, "legend", { legend: C.value }, void 0, !0)
708
717
  ], 512),
709
718
  t.$slots.source ? (s(), u("div", {
710
719
  key: 7,
@@ -712,11 +721,11 @@ const vt = ["id"], dt = { key: 0 }, ht = ["xmlns", "viewBox"], yt = ["width", "h
712
721
  ref: le,
713
722
  dir: "auto"
714
723
  }, [
715
- x(t.$slots, "source", {}, void 0, !0)
724
+ w(t.$slots, "source", {}, void 0, !0)
716
725
  ], 512)) : c("", !0)
717
- ], 46, vt));
726
+ ], 46, ht));
718
727
  }
719
- }, aa = /* @__PURE__ */ ct(Bt, [["__scopeId", "data-v-99d985dc"]]);
728
+ }, sa = /* @__PURE__ */ dt(qt, [["__scopeId", "data-v-0642c848"]]);
720
729
  export {
721
- aa as default
730
+ sa as default
722
731
  };