vue-data-ui 3.2.7 → 3.3.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 (159) hide show
  1. package/dist/{Arrow-Bb0bGghy.js → Arrow-CKLBHe3L.js} +1 -1
  2. package/dist/{BaseDraggableDialog-CHhZIht2.js → BaseDraggableDialog-q3pgSDTz.js} +2 -2
  3. package/dist/{BaseIcon-Bz-1GQhu.js → BaseIcon-CtqN7W_g.js} +4 -3
  4. package/dist/{ColorPicker-B-WUqMoV.js → ColorPicker-Cr6rUDTP.js} +2 -2
  5. package/dist/{DataTable-BvjacRbw.js → DataTable-BeI6gYJX.js} +2 -2
  6. package/dist/{Legend-BpoFJ8fc.js → Legend-DsogCeTb.js} +2 -2
  7. package/dist/{NonSvgPenAndPaper-l9giyY1Z.js → NonSvgPenAndPaper-BDK_ucTG.js} +3 -3
  8. package/dist/{PackageVersion-Cwrh45ON.js → PackageVersion-C9oklnuy.js} +1 -1
  9. package/dist/{PenAndPaper-CR8q353D.js → PenAndPaper-BxbYiPy4.js} +3 -3
  10. package/dist/{Shape-C_C_OmqR.js → Shape-DJG2zW7b.js} +1 -1
  11. package/dist/{Slicer-BA2GhOmY.js → Slicer-D6T4aUhr.js} +2 -2
  12. package/dist/{SparkTooltip-Dz1PDE_h.js → SparkTooltip-Cp0G9giW.js} +1 -1
  13. package/dist/{Title-DG2nloSB.js → Title-D17CJXko.js} +1 -1
  14. package/dist/{Tooltip-BOXz8skU.js → Tooltip-CtVdvbZi.js} +1 -1
  15. package/dist/{UserOptions-DsTgvAok.js → UserOptions-B3vCIe-u.js} +168 -126
  16. package/dist/components/arrow.js +1 -1
  17. package/dist/components/vue-ui-3d-bar.js +1 -1
  18. package/dist/components/vue-ui-accordion.js +1 -1
  19. package/dist/components/vue-ui-age-pyramid.js +1 -1
  20. package/dist/components/vue-ui-annotator.js +1 -1
  21. package/dist/components/vue-ui-bullet.js +1 -1
  22. package/dist/components/vue-ui-candlestick.js +1 -1
  23. package/dist/components/vue-ui-carousel-table.js +1 -1
  24. package/dist/components/vue-ui-chestnut.js +1 -1
  25. package/dist/components/vue-ui-chord.js +1 -1
  26. package/dist/components/vue-ui-circle-pack.js +1 -1
  27. package/dist/components/vue-ui-cursor.js +1 -1
  28. package/dist/components/vue-ui-dashboard.js +1 -1
  29. package/dist/components/vue-ui-digits.js +1 -1
  30. package/dist/components/vue-ui-donut-evolution.js +1 -1
  31. package/dist/components/vue-ui-donut.js +1 -1
  32. package/dist/components/vue-ui-dumbbell.js +1 -1
  33. package/dist/components/vue-ui-flow.js +1 -1
  34. package/dist/components/vue-ui-funnel.js +1 -1
  35. package/dist/components/vue-ui-galaxy.js +1 -1
  36. package/dist/components/vue-ui-gauge.js +1 -1
  37. package/dist/components/vue-ui-gizmo.js +1 -1
  38. package/dist/components/vue-ui-heatmap.js +1 -1
  39. package/dist/components/vue-ui-history-plot.js +1 -1
  40. package/dist/components/vue-ui-horizontal-bar.js +1 -1
  41. package/dist/components/vue-ui-icon.js +1 -1
  42. package/dist/components/vue-ui-kpi.js +1 -1
  43. package/dist/components/vue-ui-mini-loader.js +1 -1
  44. package/dist/components/vue-ui-molecule.js +1 -1
  45. package/dist/components/vue-ui-mood-radar.js +1 -1
  46. package/dist/components/vue-ui-nested-donuts.js +1 -1
  47. package/dist/components/vue-ui-onion.js +1 -1
  48. package/dist/components/vue-ui-parallel-coordinate-plot.js +1 -1
  49. package/dist/components/vue-ui-quadrant.js +1 -1
  50. package/dist/components/vue-ui-quick-chart.js +1 -1
  51. package/dist/components/vue-ui-radar.js +1 -1
  52. package/dist/components/vue-ui-rating.js +1 -1
  53. package/dist/components/vue-ui-relation-circle.js +1 -1
  54. package/dist/components/vue-ui-ridgeline.js +1 -1
  55. package/dist/components/vue-ui-rings.js +1 -1
  56. package/dist/components/vue-ui-scatter.js +1 -1
  57. package/dist/components/vue-ui-skeleton.js +1 -1
  58. package/dist/components/vue-ui-smiley.js +1 -1
  59. package/dist/components/vue-ui-spark-trend.js +1 -1
  60. package/dist/components/vue-ui-sparkbar.js +1 -1
  61. package/dist/components/vue-ui-sparkgauge.js +1 -1
  62. package/dist/components/vue-ui-sparkhistogram.js +1 -1
  63. package/dist/components/vue-ui-sparkline.js +1 -1
  64. package/dist/components/vue-ui-sparkstackbar.js +1 -1
  65. package/dist/components/vue-ui-stackbar.js +1 -1
  66. package/dist/components/vue-ui-strip-plot.js +1 -1
  67. package/dist/components/vue-ui-table-heatmap.js +1 -1
  68. package/dist/components/vue-ui-table-sparkline.js +1 -1
  69. package/dist/components/vue-ui-table.js +1 -1
  70. package/dist/components/vue-ui-thermometer.js +1 -1
  71. package/dist/components/vue-ui-timer.js +1 -1
  72. package/dist/components/vue-ui-tiremarks.js +1 -1
  73. package/dist/components/vue-ui-treemap.js +1 -1
  74. package/dist/components/vue-ui-vertical-bar.js +1 -1
  75. package/dist/components/vue-ui-waffle.js +1 -1
  76. package/dist/components/vue-ui-wheel.js +1 -1
  77. package/dist/components/vue-ui-word-cloud.js +1 -1
  78. package/dist/components/vue-ui-world.js +1 -1
  79. package/dist/components/vue-ui-xy-canvas.js +1 -1
  80. package/dist/components/vue-ui-xy.js +1 -1
  81. package/dist/{dom-to-png-BgvOdfyW.js → dom-to-png-BiyqJA3t.js} +1 -1
  82. package/dist/{img-DjWwQXVS.js → img-6wPuVVtk.js} +1 -1
  83. package/dist/{lib-BEpWEyMm.js → lib-GIYcnm0E.js} +110 -96
  84. package/dist/{pdf-YD0ShN36.js → pdf-DjbHsnrb.js} +1 -1
  85. package/dist/style.css +1 -1
  86. package/dist/types/vue-data-ui.d.ts +8 -1
  87. package/dist/{useAutoSizeLabelsInsideViewbox-BVJkib7z.js → useAutoSizeLabelsInsideViewbox-Csv3pVmh.js} +1 -1
  88. package/dist/{useNestedProp-BOk-tPdu.js → useNestedProp-mxyyqd0B.js} +291 -246
  89. package/dist/{usePrinter-w23K-ezx.js → usePrinter-DYRFiw7X.js} +2 -2
  90. package/dist/useSvgExport-B7-Vrjtu.js +732 -0
  91. package/dist/vue-data-ui-DLU1snC3.js +326 -0
  92. package/dist/vue-data-ui.js +68 -68
  93. package/dist/{vue-ui-3d-bar-CRXnB8wH.js → vue-ui-3d-bar-D6xoBrN6.js} +358 -342
  94. package/dist/{vue-ui-accordion-CeMTgpl0.js → vue-ui-accordion-Dch9YrCi.js} +19 -19
  95. package/dist/{vue-ui-age-pyramid-BEGsngR6.js → vue-ui-age-pyramid-D74mAaLA.js} +228 -212
  96. package/dist/{vue-ui-annotator-BhZr9pFJ.js → vue-ui-annotator-DwRwhrgB.js} +9 -9
  97. package/dist/{vue-ui-bullet-CrCHb15S.js → vue-ui-bullet-D2qVUqWs.js} +197 -179
  98. package/dist/{vue-ui-candlestick-CnWY88nd.js → vue-ui-candlestick-C81k1_f9.js} +279 -263
  99. package/dist/{vue-ui-carousel-table-CsVWXrdA.js → vue-ui-carousel-table-DBIhnEj-.js} +6 -6
  100. package/dist/{vue-ui-chestnut-NpO91zJV.js → vue-ui-chestnut-CSM-_IWw.js} +426 -380
  101. package/dist/{vue-ui-chord-bIihB6Qf.js → vue-ui-chord-BFW9nnNh.js} +318 -299
  102. package/dist/{vue-ui-circle-pack-Z5VTiXZU.js → vue-ui-circle-pack-D6mTG5i0.js} +249 -233
  103. package/dist/{vue-ui-cursor-Detis-4Y.js → vue-ui-cursor-BJmTAMpP.js} +2 -2
  104. package/dist/{vue-ui-dashboard-BEJ5uSZV.js → vue-ui-dashboard-BdFLsK4u.js} +72 -71
  105. package/dist/{vue-ui-digits-CDtdGqLS.js → vue-ui-digits-DXum1rs6.js} +10 -10
  106. package/dist/{vue-ui-donut-a82yzfvT.js → vue-ui-donut-CqefukGp.js} +662 -645
  107. package/dist/{vue-ui-donut-evolution-DP_dXmIC.js → vue-ui-donut-evolution-DFIbK50s.js} +407 -385
  108. package/dist/{vue-ui-dumbbell-BDIzPnlX.js → vue-ui-dumbbell-DIo2ecGY.js} +295 -274
  109. package/dist/vue-ui-flow--kiGWaq4.js +931 -0
  110. package/dist/{vue-ui-funnel-CaxHiJIB.js → vue-ui-funnel-B8UHwj15.js} +197 -181
  111. package/dist/{vue-ui-galaxy-CbGRAAFI.js → vue-ui-galaxy-eQZh_y3l.js} +265 -252
  112. package/dist/{vue-ui-gauge-But_1QwV.js → vue-ui-gauge-DJ-E6L2T.js} +256 -240
  113. package/dist/{vue-ui-gizmo-DcBQp-C8.js → vue-ui-gizmo-DFxlqPz7.js} +18 -18
  114. package/dist/{vue-ui-heatmap-BAVkwnbX.js → vue-ui-heatmap-CcAe5dDN.js} +394 -373
  115. package/dist/{vue-ui-history-plot-BlVib573.js → vue-ui-history-plot-CgKvd7Jx.js} +337 -319
  116. package/dist/{vue-ui-kpi-DuFgWXJM.js → vue-ui-kpi-Ct2iyD49.js} +4 -4
  117. package/dist/{vue-ui-mini-loader-D4W9oE3V.js → vue-ui-mini-loader-ByjcvXBB.js} +19 -19
  118. package/dist/{vue-ui-molecule-CEb6_0wR.js → vue-ui-molecule-CGDBEAkX.js} +176 -160
  119. package/dist/vue-ui-mood-radar-D9GuK4cI.js +876 -0
  120. package/dist/{vue-ui-nested-donuts-B6rmNl9X.js → vue-ui-nested-donuts-CGKgOTX2.js} +542 -519
  121. package/dist/{vue-ui-onion-BWAdTZ6V.js → vue-ui-onion-C5tE1Woz.js} +318 -289
  122. package/dist/{vue-ui-parallel-coordinate-plot-DXbgnatq.js → vue-ui-parallel-coordinate-plot-CVhD6IoH.js} +253 -234
  123. package/dist/{vue-ui-quadrant-BwGMZ_d_.js → vue-ui-quadrant-BGDCaOXv.js} +295 -277
  124. package/dist/{vue-ui-quick-chart-2bQ0DX_A.js → vue-ui-quick-chart-CjXSB-2S.js} +724 -686
  125. package/dist/{vue-ui-radar-DPXvVIbh.js → vue-ui-radar-rhxkROX7.js} +307 -282
  126. package/dist/{vue-ui-rating-CxIBq7Xr.js → vue-ui-rating-Bo9gSy-z.js} +4 -4
  127. package/dist/{vue-ui-relation-circle-BVGAfqBj.js → vue-ui-relation-circle-Qo8FKbL2.js} +147 -132
  128. package/dist/{vue-ui-ridgeline-C6UdClMT.js → vue-ui-ridgeline-ahOApbEC.js} +320 -299
  129. package/dist/{vue-ui-rings-B_7zAshC.js → vue-ui-rings-DFAVaEBs.js} +323 -310
  130. package/dist/{vue-ui-scatter-BRr9oPfo.js → vue-ui-scatter-zjlWyvVd.js} +390 -372
  131. package/dist/{vue-ui-skeleton-C3tGR_lR.js → vue-ui-skeleton-CKfOnyd_.js} +105 -105
  132. package/dist/{vue-ui-smiley-B70Ck-49.js → vue-ui-smiley-CY7UiJ9C.js} +88 -88
  133. package/dist/{vue-ui-spark-trend-C2tSZULg.js → vue-ui-spark-trend-DwNYP97M.js} +5 -5
  134. package/dist/{vue-ui-sparkbar-BUPDw_qR.js → vue-ui-sparkbar-BkdcYrmg.js} +30 -30
  135. package/dist/{vue-ui-sparkgauge-DufAZyFK.js → vue-ui-sparkgauge-C6Kq_OGV.js} +4 -4
  136. package/dist/{vue-ui-sparkhistogram-DDunWMKu.js → vue-ui-sparkhistogram-CjB33yXB.js} +7 -7
  137. package/dist/{vue-ui-sparkline-lRx2nNde.js → vue-ui-sparkline-DcH4yIEd.js} +5 -5
  138. package/dist/{vue-ui-sparkstackbar-CB6WHJHd.js → vue-ui-sparkstackbar-MKr2u_pO.js} +5 -5
  139. package/dist/{vue-ui-stackbar-CQ9Zvuxh.js → vue-ui-stackbar-DKV-exfd.js} +356 -338
  140. package/dist/{vue-ui-strip-plot-DW3c82dV.js → vue-ui-strip-plot-ncTrDlNC.js} +368 -352
  141. package/dist/{vue-ui-table-CEt97z7F.js → vue-ui-table-BdT3lGuv.js} +16 -16
  142. package/dist/{vue-ui-table-heatmap-DFZCaMxK.js → vue-ui-table-heatmap-D929cWB0.js} +9 -9
  143. package/dist/{vue-ui-table-sparkline-RB40-Z1R.js → vue-ui-table-sparkline-CkZ_ygR1.js} +7 -7
  144. package/dist/{vue-ui-thermometer-fmPzO-eT.js → vue-ui-thermometer-CjBLR6H9.js} +148 -133
  145. package/dist/{vue-ui-timer-qxLpO3HX.js → vue-ui-timer-Bs7eMmiC.js} +7 -7
  146. package/dist/vue-ui-tiremarks-nGOZKRcz.js +423 -0
  147. package/dist/{vue-ui-treemap-B4-IPDxV.js → vue-ui-treemap-SQ2f5wbN.js} +403 -373
  148. package/dist/{vue-ui-vertical-bar-Y5LefeNg.js → vue-ui-vertical-bar-Hh9gAN5j.js} +295 -260
  149. package/dist/{vue-ui-waffle-gvnJOZlg.js → vue-ui-waffle-C7moVBln.js} +396 -377
  150. package/dist/{vue-ui-wheel-BzS_N3GP.js → vue-ui-wheel-KrGLMCqW.js} +185 -169
  151. package/dist/{vue-ui-word-cloud-vWhTarrE.js → vue-ui-word-cloud-BQSu6kiR.js} +234 -218
  152. package/dist/{vue-ui-world-CqWuE8ZR.js → vue-ui-world-DdoMFJcV.js} +344 -326
  153. package/dist/{vue-ui-xy-BxpuE9Ng.js → vue-ui-xy-B2fjTYMJ.js} +1602 -1708
  154. package/dist/{vue-ui-xy-canvas-C9YQjaUA.js → vue-ui-xy-canvas-oUXISeU8.js} +12 -12
  155. package/package.json +1 -1
  156. package/dist/vue-data-ui-DH8opsJv.js +0 -325
  157. package/dist/vue-ui-flow-B72CBzC3.js +0 -909
  158. package/dist/vue-ui-mood-radar-CqJPicZv.js +0 -853
  159. package/dist/vue-ui-tiremarks-Cxx97FLg.js +0 -407
@@ -1,20 +1,21 @@
1
- import { defineAsyncComponent as J, computed as h, ref as f, toRefs as Ze, watch as K, shallowRef as $e, onMounted as Je, onBeforeUnmount as Ke, 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 D, createVNode as tt, Fragment as k, renderList as $, mergeProps as L, nextTick as at } from "vue";
2
- import { c as lt, t as st, b as rt, p as Fe, e as ot, o as Ae, h as ut, f as U, g as Ce, n as te, G as A, Q as nt, q as it, X as ct, s as ae, L as vt, w as ht, a as le, d as se, D as re } from "./lib-BEpWEyMm.js";
3
- import { t as dt, u as ft } from "./useResponsive-DfdjqQps.js";
4
- import { u as yt, a as Oe } from "./useNestedProp-BOk-tPdu.js";
5
- import { u as mt } from "./usePrinter-w23K-ezx.js";
6
- import { u as gt } from "./useUserOptionState-BIvW1Kz7.js";
7
- import { u as pt } from "./useChartAccessibility-9icAAmYg.js";
8
- import { t as kt } from "./themes-Dw-dDudK.js";
9
- import bt from "./Title-DG2nloSB.js";
10
- import _t from "./img-DjWwQXVS.js";
11
- import { u as wt, B as St } from "./BaseScanner-BgWxam9d.js";
12
- import { u as xt } from "./useAutoSizeLabelsInsideViewbox-BVJkib7z.js";
13
- import { _ as $t } from "./_plugin-vue_export-helper-CHgC5LLL.js";
14
- const zt = ["id"], Ft = { key: 0 }, At = ["xmlns", "viewBox"], Ct = ["width", "height"], Ot = ["id"], Mt = ["stop-color"], Nt = ["stop-color"], Pt = ["stop-color"], It = ["id"], Xt = ["stdDeviation"], Rt = { key: 1 }, Yt = ["d", "fill", "stroke"], Lt = ["d", "fill", "stroke"], Et = ["d", "fill"], Tt = ["id", "d"], Gt = ["fill", "font-size", "font-weight"], jt = ["href", "startOffset"], Bt = ["text-anchor", "fill", "font-size", "font-weight", "innerHTML"], Dt = ["d", "filter"], Ut = ["stroke", "stroke-width"], Wt = ["stroke", "stroke-width"], Vt = ["stroke", "stroke-width"], Ht = ["stroke", "stroke-width"], qt = { key: 8 }, Qt = ["x", "y", "text-anchor", "font-size", "font-weight", "fill"], Zt = ["x", "y", "font-size", "font-weight", "fill"], Jt = { key: 0 }, Kt = ["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 = {
1
+ import { defineAsyncComponent as J, computed as h, ref as f, toRefs as at, watch as K, shallowRef as ze, onMounted as lt, onBeforeUnmount as st, createElementBlock as o, openBlock as r, unref as n, normalizeStyle as ee, normalizeClass as Ce, createBlock as U, createCommentVNode as c, createElementVNode as p, withCtx as X, toDisplayString as R, createSlots as rt, renderSlot as x, normalizeProps as j, guardReactiveProps as D, createVNode as ot, Fragment as k, renderList as $, mergeProps as L, nextTick as ut } from "vue";
2
+ import { c as nt, t as it, b as ct, p as Fe, e as vt, o as Ae, h as ht, f as W, g as Oe, n as te, G as F, Q as dt, q as ft, X as yt, s as ae, L as gt, w as mt, a as le, d as se, D as re } from "./lib-GIYcnm0E.js";
3
+ import { t as pt, u as kt } from "./useResponsive-DfdjqQps.js";
4
+ import { u as bt, B as _t } from "./BaseScanner-BgWxam9d.js";
5
+ import { u as St } from "./usePrinter-DYRFiw7X.js";
6
+ import { u as wt, a as Me } from "./useNestedProp-mxyyqd0B.js";
7
+ import { u as xt } from "./useSvgExport-B7-Vrjtu.js";
8
+ import { u as $t } from "./useUserOptionState-BIvW1Kz7.js";
9
+ import { u as zt } from "./useChartAccessibility-9icAAmYg.js";
10
+ import { u as Ct } from "./useAutoSizeLabelsInsideViewbox-Csv3pVmh.js";
11
+ import Ft from "./img-6wPuVVtk.js";
12
+ import { t as At } from "./themes-Dw-dDudK.js";
13
+ import Ot from "./Title-D17CJXko.js";
14
+ import { _ as Mt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
15
+ const Nt = ["id"], Pt = { key: 0 }, It = ["xmlns", "viewBox"], Xt = ["width", "height"], Rt = ["id"], Yt = ["stop-color"], Lt = ["stop-color"], Et = ["stop-color"], Tt = ["id"], Gt = ["stdDeviation"], Bt = { key: 1 }, Ut = ["d", "fill", "stroke"], jt = ["d", "fill", "stroke"], Dt = ["d", "fill"], Wt = ["id", "d"], Vt = ["fill", "font-size", "font-weight"], Ht = ["href", "startOffset"], qt = ["text-anchor", "fill", "font-size", "font-weight", "innerHTML"], Qt = ["d", "filter"], Zt = ["stroke", "stroke-width"], Jt = ["stroke", "stroke-width"], Kt = ["stroke", "stroke-width"], ea = ["stroke", "stroke-width"], ta = { key: 8 }, aa = ["x", "y", "text-anchor", "font-size", "font-weight", "fill"], la = ["x", "y", "font-size", "font-weight", "fill"], sa = { key: 0 }, ra = ["x1", "y1", "x2", "y2", "stroke", "stroke-width"], oa = ["x1", "y1", "x2", "y2", "stroke", "stroke-width"], ua = ["x1", "y1", "x2", "y2", "stroke-width", "filter"], na = { key: 1 }, ia = ["d", "fill", "stroke", "stroke-width"], ca = ["cx", "cy", "fill", "r", "stroke-width", "stroke"], va = ["x", "y", "font-size", "fill"], ha = {
15
16
  key: 4,
16
17
  class: "vue-data-ui-watermark"
17
- }, ua = {
18
+ }, da = {
18
19
  __name: "vue-ui-gauge",
19
20
  props: {
20
21
  config: {
@@ -30,14 +31,14 @@ const zt = ["id"], Ft = { key: 0 }, At = ["xmlns", "viewBox"], Ct = ["width", "h
30
31
  }
31
32
  }
32
33
  },
33
- setup(Me, { expose: Ne }) {
34
- const Pe = J(() => import("./PenAndPaper-CR8q353D.js")), Ie = J(() => import("./UserOptions-DsTgvAok.js")), Xe = J(() => import("./PackageVersion-Cwrh45ON.js")), { vue_ui_gauge: Re } = yt(), m = Me, Ye = h(() => !!m.dataset && Object.keys(m.dataset).length > 0 && m.dataset.series && m.dataset.series.length), w = f(lt()), Le = 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: N } = wt({
35
- ...Ze(m),
34
+ setup(Ne, { expose: Pe }) {
35
+ const Ie = J(() => import("./PenAndPaper-BxbYiPy4.js")), Xe = J(() => import("./UserOptions-B3vCIe-u.js")), Re = J(() => import("./PackageVersion-C9oklnuy.js")), { vue_ui_gauge: Ye } = wt(), m = Ne, Le = h(() => !!m.dataset && Object.keys(m.dataset).length > 0 && m.dataset.series && m.dataset.series.length), S = f(nt()), Ee = f(null), oe = f(0), A = f(null), ue = f(null), ne = f(null), ie = f(null), ce = f(null), ve = f(0), e = f(H()), { loading: he, FINAL_DATASET: w, manualLoading: N } = bt({
36
+ ...at(m),
36
37
  FINAL_CONFIG: e,
37
38
  prepareConfig: H,
38
39
  callback: () => {
39
40
  Promise.resolve().then(async () => {
40
- await at();
41
+ await ut();
41
42
  });
42
43
  },
43
44
  skeletonDataset: {
@@ -47,7 +48,7 @@ const zt = ["id"], Ft = { key: 0 }, At = ["xmlns", "viewBox"], Ct = ["width", "h
47
48
  { from: 0, to: 1, name: "__", color: "#CACACA" }
48
49
  ]
49
50
  },
50
- skeletonConfig: st({
51
+ skeletonConfig: it({
51
52
  defaultConfig: e.value,
52
53
  userConfig: {
53
54
  userOptions: { show: !1 },
@@ -76,31 +77,31 @@ const zt = ["id"], Ft = { key: 0 }, At = ["xmlns", "viewBox"], Ct = ["width", "h
76
77
  }
77
78
  }
78
79
  })
79
- }), { userOptionsVisible: W, setUserOptionsVisibility: de, keepUserOptionState: fe } = gt({ config: e.value }), { svgRef: V } = pt({ config: e.value.style.chart.title });
80
+ }), { userOptionsVisible: V, setUserOptionsVisibility: de, keepUserOptionState: fe } = $t({ config: e.value }), { svgRef: E } = zt({ config: e.value.style.chart.title });
80
81
  K(() => m.config, (t) => {
81
- he.value || (e.value = H()), W.value = !e.value.userOptions.showOnChartHover, Q(), ve.value += 1;
82
+ he.value || (e.value = H()), V.value = !e.value.userOptions.showOnChartHover, Q(), ve.value += 1;
82
83
  }, { deep: !0 }), K(() => m.dataset, (t) => {
83
84
  Q(), t && Object.keys(t).length > 0 && (N.value = e.value?.loading ?? !1);
84
85
  }, { deep: !0, immediate: !1 });
85
86
  function H() {
86
- const t = Oe({
87
+ const t = Me({
87
88
  userConfig: m.config,
88
- defaultConfig: Re
89
+ defaultConfig: Ye
89
90
  });
90
91
  return t.theme ? {
91
- ...Oe({
92
- userConfig: kt.vue_ui_gauge[t.theme] || m.config,
92
+ ...Me({
93
+ userConfig: At.vue_ui_gauge[t.theme] || m.config,
93
94
  defaultConfig: t
94
95
  }),
95
- customPalette: rt[t.theme] || Fe
96
+ customPalette: ct[t.theme] || Fe
96
97
  } : t;
97
98
  }
98
- const { isPrinting: ye, isImaging: me, generatePdf: ge, generateImage: pe } = mt({
99
- elementId: `vue-ui-gauge_${w.value}`,
99
+ const { isPrinting: ye, isImaging: ge, generatePdf: me, generateImage: pe } = St({
100
+ elementId: `vue-ui-gauge_${S.value}`,
100
101
  fileName: e.value.style.chart.title.text || "vue-ui-gauge",
101
102
  options: e.value.userOptions.print
102
- }), Ee = h(() => e.value.userOptions.show && !e.value.style.chart.title.text), Te = h(() => ot(e.value.customPalette)), O = h(() => {
103
- if (Ae(S.value.series || {}))
103
+ }), Te = h(() => e.value.userOptions.show && !e.value.style.chart.title.text), Ge = h(() => vt(e.value.customPalette)), O = h(() => {
104
+ if (Ae(w.value.series || {}))
104
105
  return {
105
106
  value: 0,
106
107
  series: [
@@ -111,19 +112,19 @@ const zt = ["id"], Ft = { key: 0 }, At = ["xmlns", "viewBox"], Ct = ["width", "h
111
112
  ]
112
113
  };
113
114
  const t = [];
114
- (S.value.series || []).forEach((a) => {
115
+ (w.value.series || []).forEach((a) => {
115
116
  t.push(a.from || 1e-7), t.push(a.to || 1e-7);
116
117
  });
117
118
  const u = Math.max(...t);
118
119
  return {
119
- ...S.value,
120
- series: (S.value.series || []).map((a, s) => ({
120
+ ...w.value,
121
+ series: (w.value.series || []).map((a, l) => ({
121
122
  ...a,
122
- color: ut(a.color) || Te.value[s] || Fe[s],
123
+ color: ht(a.color) || Ge.value[l] || Fe[l],
123
124
  value: ((a.to || 0) - (a.from || 0)) / u * 100
124
125
  }))
125
126
  };
126
- }), b = f(512), l = f({
127
+ }), b = f(512), s = f({
127
128
  height: 358.4,
128
129
  width: b.value,
129
130
  top: 0,
@@ -139,97 +140,97 @@ const zt = ["id"], Ft = { key: 0 }, At = ["xmlns", "viewBox"], Ct = ["width", "h
139
140
  markerOffset: e.value.style.chart.layout.markers.offsetY + 3,
140
141
  segmentFontSize: e.value.style.chart.layout.segmentNames.fontSize
141
142
  }), P = f(0), z = f(0), y = f(
142
- e.value.style.chart.animation.use ? Math.min(...S.value.series.map((t) => t.from)) : S.value.value
143
+ e.value.style.chart.animation.use ? Math.min(...w.value.series.map((t) => t.from)) : w.value.value
143
144
  );
144
- K(() => S.value.value, () => {
145
- _e(S.value.value);
145
+ K(() => w.value.value, () => {
146
+ _e(w.value.value);
146
147
  });
147
148
  const i = h(() => {
148
- const t = l.value.width / 2, u = v.value.base, a = Math.PI * ((y.value + 0 - z.value) / (P.value - z.value)) + Math.PI;
149
+ const t = s.value.width / 2, u = v.value.base, a = Math.PI * ((y.value + 0 - z.value) / (P.value - z.value)) + Math.PI;
149
150
  return {
150
151
  x1: t,
151
152
  y1: u,
152
- x2: t + v.value.pointerSize * l.value.pointerSize * 0.9 * Math.cos(a),
153
- y2: u + v.value.pointerSize * l.value.pointerSize * 0.9 * Math.sin(a)
153
+ x2: t + v.value.pointerSize * s.value.pointerSize * 0.9 * Math.cos(a),
154
+ y2: u + v.value.pointerSize * s.value.pointerSize * 0.9 * Math.sin(a)
154
155
  };
155
156
  }), ke = h(() => {
156
- 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), Qe = u + _ * Math.sin(a - Math.PI / 2);
157
- return isNaN(s) ? null : `M ${s},${g} ${Ve},${He} ${qe},${Qe} Z`;
157
+ const t = s.value.width / 2, u = v.value.base, a = Math.PI * ((y.value + 0 - z.value) / (P.value - z.value)) + Math.PI, l = t + v.value.pointerSize * s.value.pointerSize * 0.9 * Math.cos(a), g = u + v.value.pointerSize * s.value.pointerSize * 0.9 * Math.sin(a), _ = s.value.pointerRadius, Je = t + _ * Math.cos(a + Math.PI / 2), Ke = u + _ * Math.sin(a + Math.PI / 2), et = t + _ * Math.cos(a - Math.PI / 2), tt = u + _ * Math.sin(a - Math.PI / 2);
158
+ return isNaN(l) ? null : `M ${l},${g} ${Je},${Ke} ${et},${tt} Z`;
158
159
  }), q = h(() => {
159
160
  for (let t = 0; t < O.value.series.length; t += 1) {
160
- const { color: u, from: a, to: s } = O.value.series[t];
161
- if (y.value >= a && y.value <= s)
161
+ const { color: u, from: a, to: l } = O.value.series[t];
162
+ if (y.value >= a && y.value <= l)
162
163
  return u;
163
164
  }
164
165
  return "#2D353C";
165
- }), F = $e(null), I = $e(null), E = h({
166
- get: () => l.value.segmentFontSize,
166
+ }), C = ze(null), I = ze(null), T = h({
167
+ get: () => s.value.segmentFontSize,
167
168
  set: (t) => t
168
- }), { autoSizeLabels: be } = xt({
169
- svgRef: V,
170
- fontSize: l.value.segmentFontSize,
169
+ }), { autoSizeLabels: be } = Ct({
170
+ svgRef: E,
171
+ fontSize: s.value.segmentFontSize,
171
172
  minFontSize: e.value.style.chart.layout.segmentNames.minFontSize,
172
- sizeRef: E,
173
+ sizeRef: T,
173
174
  labelClass: ".vue-ui-gauge-label-flat"
174
- }), T = h(() => !!e.value.debug);
175
+ }), G = h(() => !!e.value.debug);
175
176
  function Q() {
176
177
  let t = !1;
177
- if (Ae(m.dataset) ? (U({
178
+ if (Ae(m.dataset) ? (W({
178
179
  componentName: "VueUiGauge",
179
180
  type: "dataset",
180
- debug: T.value
181
- }), N.value = !0, t = !0) : (Ce({
181
+ debug: G.value
182
+ }), N.value = !0, t = !0) : (Oe({
182
183
  datasetObject: m.dataset,
183
184
  requiredAttributes: ["value", "series"]
184
185
  }).forEach((u) => {
185
- U({
186
+ W({
186
187
  componentName: "VueUiGauge",
187
188
  type: "datasetAttribute",
188
189
  property: u,
189
- debug: T.value
190
+ debug: G.value
190
191
  }), N.value = !0, t = !0;
191
192
  }), Object.hasOwn(m.dataset, "series") && (m.dataset.series.length ? m.dataset.series.forEach((u, a) => {
192
- Ce({
193
+ Oe({
193
194
  datasetObject: u,
194
195
  requiredAttributes: ["from", "to"]
195
- }).forEach((s) => {
196
- U({
196
+ }).forEach((l) => {
197
+ W({
197
198
  componentName: "VueUiGauge",
198
199
  type: "datasetSerieAttribute",
199
- property: s,
200
+ property: l,
200
201
  index: a,
201
- debug: T.value
202
+ debug: G.value
202
203
  }), N.value = !0, t = !0;
203
204
  });
204
- }) : (U({
205
+ }) : (W({
205
206
  componentName: "VueUiGauge",
206
207
  type: "datasetAttributeEmpty",
207
208
  property: "series",
208
- debug: T.value
209
- }), N.value = !0, t = !0))), N.value = t, _e(S.value.value || 0), e.value.responsive) {
210
- const u = dt(() => {
211
- let { width: a, height: s } = ft({
212
- chart: C.value,
209
+ debug: G.value
210
+ }), N.value = !0, t = !0))), N.value = t, _e(w.value.value || 0), e.value.responsive) {
211
+ const u = pt(() => {
212
+ let { width: a, height: l } = kt({
213
+ chart: A.value,
213
214
  title: e.value.style.chart.title.text ? ue.value : null,
214
215
  legend: ne.value,
215
216
  source: ie.value,
216
217
  noTitle: ce.value
217
218
  });
218
- s -= 12, requestAnimationFrame(() => {
219
- 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({
220
- relator: Math.min(a, s),
219
+ l -= 12, requestAnimationFrame(() => {
220
+ s.value.width = a, s.value.height = l, s.value.centerX = a / 2, s.value.centerY = b.value / 2 / 358.4 * l, s.value.bottom = l, s.value.labelFontSize = 18 / b.value * Math.min(l, a) < 10 ? 10 : 18 / b.value * Math.min(l, a), s.value.legendFontSize = e.value.style.chart.legend.fontSize / b.value * Math.min(l, a) < 14 ? 14 : e.value.style.chart.legend.fontSize / b.value * Math.min(l, a), s.value.pointerRadius = e.value.style.chart.layout.pointer.circle.radius / b.value * Math.min(l, a), s.value.trackSize = e.value.style.chart.layout.track.size / b.value * Math.min(l, a), s.value.pointerStrokeWidth = re({
221
+ relator: Math.min(a, l),
221
222
  adjuster: b.value,
222
223
  source: e.value.style.chart.layout.pointer.strokeWidth,
223
224
  threshold: 2,
224
225
  fallback: 2
225
- }), l.value.markerOffset = re({
226
- relator: Math.max(a, s),
226
+ }), s.value.markerOffset = re({
227
+ relator: Math.max(a, l),
227
228
  adjuster: b.value,
228
229
  source: e.value.style.chart.layout.markers.offsetY + 3,
229
230
  threshold: 2,
230
231
  fallback: 2
231
- }), l.value.segmentFontSize = re({
232
- relator: Math.min(a, s),
232
+ }), s.value.segmentFontSize = re({
233
+ relator: Math.min(a, l),
233
234
  adjuster: b.value,
234
235
  source: e.value.style.chart.layout.segmentNames.fontSize,
235
236
  threshold: 8,
@@ -237,14 +238,14 @@ const zt = ["id"], Ft = { key: 0 }, At = ["xmlns", "viewBox"], Ct = ["width", "h
237
238
  });
238
239
  }), be();
239
240
  });
240
- 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);
241
+ C.value && (I.value && C.value.unobserve(I.value), C.value.disconnect()), C.value = new ResizeObserver(u), I.value = A.value.parentNode, C.value.observe(I.value);
241
242
  }
242
243
  be();
243
244
  }
244
- Je(() => {
245
+ lt(() => {
245
246
  Q();
246
- }), Ke(() => {
247
- F.value && (I.value && F.value.unobserve(I.value), F.value.disconnect());
247
+ }), st(() => {
248
+ C.value && (I.value && C.value.unobserve(I.value), C.value.disconnect());
248
249
  });
249
250
  function _e(t) {
250
251
  const u = [];
@@ -252,24 +253,24 @@ const zt = ["id"], Ft = { key: 0 }, At = ["xmlns", "viewBox"], Ct = ["width", "h
252
253
  u.push(_.from || 0), u.push(_.to || 0);
253
254
  }), P.value = Math.max(...u), z.value = Math.min(...u);
254
255
  let a = e.value.style.chart.animation.speed;
255
- const s = Math.abs(t - y.value) / (a * 60);
256
+ const l = Math.abs(t - y.value) / (a * 60);
256
257
  function g() {
257
- y.value < t ? y.value = Math.min(y.value + s, t) : y.value > t && (y.value = Math.max(y.value - s, t)), y.value !== t && requestAnimationFrame(g);
258
+ y.value < t ? y.value = Math.min(y.value + l, t) : y.value > t && (y.value = Math.max(y.value - l, t)), y.value !== t && requestAnimationFrame(g);
258
259
  }
259
260
  g();
260
261
  }
261
262
  const v = h(() => {
262
- const t = e.value.responsive ? Math.min(l.value.width, l.value.height) : l.value.width, u = 2.5 / e.value.style.chart.layout.radiusRatio;
263
+ const t = e.value.responsive ? Math.min(s.value.width, s.value.height) : s.value.width, u = 2.5 / e.value.style.chart.layout.radiusRatio;
263
264
  return {
264
265
  arcs: t / u,
265
266
  gradients: t / (u * 1.1),
266
- base: e.value.responsive ? l.value.height / 1.618 : l.value.height * 0.7,
267
- ratingBase: e.value.responsive ? l.value.height / 2 + l.value.height / 4 : l.value.height * 0.9,
268
- pointerSize: e.value.responsive ? Math.min(l.value.width, l.value.height) / 3 : l.value.width / 3.2
267
+ base: e.value.responsive ? s.value.height / 1.618 : s.value.height * 0.7,
268
+ ratingBase: e.value.responsive ? s.value.height / 2 + s.value.height / 4 : s.value.height * 0.9,
269
+ pointerSize: e.value.responsive ? Math.min(s.value.width, s.value.height) / 3 : s.value.width / 3.2
269
270
  };
270
271
  }), d = h(() => te(
271
272
  { series: O.value.series },
272
- l.value.width / 2,
273
+ s.value.width / 2,
273
274
  v.value.base,
274
275
  v.value.arcs,
275
276
  v.value.arcs,
@@ -278,10 +279,10 @@ const zt = ["id"], Ft = { key: 0 }, At = ["xmlns", "viewBox"], Ct = ["width", "h
278
279
  1,
279
280
  180,
280
281
  109.9495,
281
- 40 * l.value.trackSize
282
- )), Ge = h(() => te(
282
+ 40 * s.value.trackSize
283
+ )), Be = h(() => te(
283
284
  { series: O.value.series },
284
- l.value.width / 2,
285
+ s.value.width / 2,
285
286
  v.value.base,
286
287
  v.value.arcs * e.value.style.chart.layout.segmentNames.offsetRatio,
287
288
  v.value.arcs * e.value.style.chart.layout.segmentNames.offsetRatio,
@@ -290,48 +291,48 @@ const zt = ["id"], Ft = { key: 0 }, At = ["xmlns", "viewBox"], Ct = ["width", "h
290
291
  1,
291
292
  180,
292
293
  109.9495,
293
- 40 * l.value.trackSize
294
- )), M = h(() => d.value.map((t) => v.value.arcs * e.value.style.chart.layout.segmentNames.offsetRatio * (t.nameOffsetRatio || 1))), we = h(() => {
295
- const { x: t, y: u } = A({
294
+ 40 * s.value.trackSize
295
+ )), M = h(() => d.value.map((t) => v.value.arcs * e.value.style.chart.layout.segmentNames.offsetRatio * (t.nameOffsetRatio || 1))), Se = h(() => {
296
+ const { x: t, y: u } = F({
296
297
  initX: d.value[0].firstSeparator.x,
297
298
  initY: d.value[0].firstSeparator.y,
298
299
  centerX: i.value.x1,
299
300
  centerY: i.value.y1,
300
301
  offset: -e.value.style.chart.layout.segmentSeparators.offsetIn
301
- }), { x: a, y: s } = A({
302
+ }), { x: a, y: l } = F({
302
303
  initX: d.value[0].startX,
303
304
  initY: d.value[0].startY,
304
305
  centerX: i.value.x1,
305
306
  centerY: i.value.y1,
306
307
  offset: e.value.style.chart.layout.segmentSeparators.offsetOut
307
308
  });
308
- return { x1: t, y1: u, x2: a, y2: s };
309
- }), Se = h(() => d.value.map((t) => {
310
- const { x: u, y: a } = A({
309
+ return { x1: t, y1: u, x2: a, y2: l };
310
+ }), we = h(() => d.value.map((t) => {
311
+ const { x: u, y: a } = F({
311
312
  initX: t.separator.x,
312
313
  initY: t.separator.y,
313
314
  centerX: i.value.x1,
314
315
  centerY: i.value.y1,
315
316
  offset: -e.value.style.chart.layout.segmentSeparators.offsetIn
316
- }), { x: s, y: g } = A({
317
+ }), { x: l, y: g } = F({
317
318
  initX: t.endX,
318
319
  initY: t.endY,
319
320
  centerX: i.value.x1,
320
321
  centerY: i.value.y1,
321
322
  offset: e.value.style.chart.layout.segmentSeparators.offsetOut
322
323
  });
323
- return { x1: u, y1: a, x2: s, y2: g };
324
+ return { x1: u, y1: a, x2: l, y2: g };
324
325
  }));
325
- function je(t) {
326
+ function Ue(t) {
326
327
  if (t.reduce((g, _) => g + _, 0) > 100)
327
328
  throw new Error("Total % must not exceed 100");
328
329
  const a = 50;
329
- let s = 0;
330
- return t.map((g) => (s += g, `${s / 100 * a - g / 4}%`));
330
+ let l = 0;
331
+ return t.map((g) => (l += g, `${l / 100 * a - g / 4}%`));
331
332
  }
332
- const Be = h(() => je(d.value.map((t) => t.proportion * 100))), De = h(() => te(
333
+ const je = h(() => Ue(d.value.map((t) => t.proportion * 100))), De = h(() => te(
333
334
  { series: O.value.series },
334
- l.value.width / 2,
335
+ s.value.width / 2,
335
336
  v.value.base,
336
337
  v.value.gradients,
337
338
  v.value.gradients,
@@ -340,59 +341,72 @@ const zt = ["id"], Ft = { key: 0 }, At = ["xmlns", "viewBox"], Ct = ["width", "h
340
341
  1,
341
342
  180,
342
343
  110.02,
343
- 2 * l.value.trackSize
344
- )), Ue = h(() => {
344
+ 2 * s.value.trackSize
345
+ )), We = h(() => {
345
346
  const t = z.value >= 0 ? -z.value : Math.abs(z.value);
346
- return nt({
347
- radius: e.value.style.chart.layout.indicatorArc.radius * l.value.trackSize,
348
- centerX: l.value.width / 2,
347
+ return dt({
348
+ radius: e.value.style.chart.layout.indicatorArc.radius * s.value.trackSize,
349
+ centerX: s.value.width / 2,
349
350
  centerY: v.value.base,
350
- percentage: it((y.value + t) / (P.value + t))
351
+ percentage: ft((y.value + t) / (P.value + t))
351
352
  });
352
353
  }), Y = f(!1);
353
354
  function xe(t) {
354
355
  Y.value = t, oe.value += 1;
355
356
  }
356
- const G = f(!1);
357
+ const B = f(!1);
357
358
  function Z() {
358
- G.value = !G.value;
359
+ B.value = !B.value;
359
360
  }
360
- async function We({ scale: t = 2 } = {}) {
361
- if (!C.value) return;
362
- const { width: u, height: a } = C.value.getBoundingClientRect(), s = u / a, { imageUri: g, base64: _ } = await _t({ domElement: C.value, base64: !0, img: !0, scale: t });
361
+ async function Ve({ scale: t = 2 } = {}) {
362
+ if (!A.value) return;
363
+ const { width: u, height: a } = A.value.getBoundingClientRect(), l = u / a, { imageUri: g, base64: _ } = await Ft({ domElement: A.value, base64: !0, img: !0, scale: t });
363
364
  return {
364
365
  imageUri: g,
365
366
  base64: _,
366
367
  title: e.value.style.chart.title.text,
367
368
  width: u,
368
369
  height: a,
369
- aspectRatio: s
370
+ aspectRatio: l
370
371
  };
371
372
  }
372
- return Ne({
373
- getImage: We,
374
- generatePdf: ge,
373
+ const He = h(() => e.value.style.chart.backgroundColor), qe = h(() => e.value.style.chart.title), { exportSvg: Qe, getSvg: Ze } = xt({
374
+ svg: E,
375
+ title: qe,
376
+ backgroundColor: He
377
+ });
378
+ async function $e({ isCb: t }) {
379
+ if (t) {
380
+ const { blob: u, url: a, text: l, dataUrl: g } = await Ze();
381
+ e.value.userOptions.callbacks.svg({ blob: u, url: a, text: l, dataUrl: g });
382
+ } else
383
+ Qe();
384
+ }
385
+ return Pe({
386
+ getImage: Ve,
387
+ generatePdf: me,
375
388
  generateImage: pe,
389
+ generateSvg: $e,
376
390
  toggleAnnotator: Z,
377
391
  toggleFullscreen: xe
378
392
  }), (t, u) => (r(), o("div", {
379
- class: ze(`vue-ui-gauge ${Y.value ? "vue-data-ui-wrapper-fullscreen" : ""}`),
393
+ class: Ce(`vue-data-ui-component vue-ui-gauge ${Y.value ? "vue-data-ui-wrapper-fullscreen" : ""}`),
380
394
  ref_key: "gaugeChart",
381
- ref: C,
382
- id: `vue-ui-gauge_${w.value}`,
395
+ ref: A,
396
+ id: `vue-ui-gauge_${S.value}`,
383
397
  style: ee(`font-family:${e.value.style.fontFamily};width:100%; text-align:center;background:${e.value.style.chart.backgroundColor};${e.value.responsive ? "height: 100%" : ""}`),
384
398
  onMouseenter: u[0] || (u[0] = () => n(de)(!0)),
385
399
  onMouseleave: u[1] || (u[1] = () => n(de)(!1))
386
400
  }, [
387
- e.value.userOptions.buttons.annotator ? (r(), j(n(Pe), {
401
+ e.value.userOptions.buttons.annotator ? (r(), U(n(Ie), {
388
402
  key: 0,
389
- svgRef: n(V),
403
+ svgRef: n(E),
390
404
  backgroundColor: e.value.style.chart.backgroundColor,
391
405
  color: e.value.style.chart.color,
392
- active: G.value,
406
+ active: B.value,
393
407
  onClose: Z
394
408
  }, null, 8, ["svgRef", "backgroundColor", "color", "active"])) : c("", !0),
395
- Ee.value ? (r(), o("div", {
409
+ Te.value ? (r(), o("div", {
396
410
  key: 1,
397
411
  ref_key: "noTitle",
398
412
  ref: ce,
@@ -405,7 +419,7 @@ const zt = ["id"], Ft = { key: 0 }, At = ["xmlns", "viewBox"], Ct = ["width", "h
405
419
  ref: ue,
406
420
  style: "width:100%;background:transparent;padding-bottom:12px"
407
421
  }, [
408
- (r(), j(bt, {
422
+ (r(), U(Ot, {
409
423
  key: `title_${ve.value}`,
410
424
  config: {
411
425
  title: {
@@ -419,44 +433,46 @@ const zt = ["id"], Ft = { key: 0 }, At = ["xmlns", "viewBox"], Ct = ["width", "h
419
433
  }
420
434
  }, {
421
435
  default: X(() => [
422
- e.value.translations.base && n(S).base ? (r(), o("span", Ft, R(e.value.translations.base) + ": " + R(n(S).base), 1)) : c("", !0)
436
+ e.value.translations.base && n(w).base ? (r(), o("span", Pt, R(e.value.translations.base) + ": " + R(n(w).base), 1)) : c("", !0)
423
437
  ]),
424
438
  _: 1
425
439
  }, 8, ["config"]))
426
440
  ], 512)) : c("", !0),
427
- e.value.userOptions.show && Ye.value && (n(fe) || n(W)) ? (r(), j(n(Ie), {
441
+ e.value.userOptions.show && Le.value && (n(fe) || n(V)) ? (r(), U(n(Xe), {
428
442
  ref_key: "details",
429
- ref: Le,
443
+ ref: Ee,
430
444
  key: `user_options_${oe.value}`,
431
445
  backgroundColor: e.value.style.chart.backgroundColor,
432
446
  color: e.value.style.chart.color,
433
- isImaging: n(me),
447
+ isImaging: n(ge),
434
448
  isPrinting: n(ye),
435
- uid: w.value,
449
+ uid: S.value,
436
450
  hasXls: !1,
437
451
  hasPdf: e.value.userOptions.buttons.pdf,
438
452
  hasImg: e.value.userOptions.buttons.img,
453
+ hasSvg: e.value.userOptions.buttons.svg,
439
454
  hasFullscreen: e.value.userOptions.buttons.fullscreen,
440
455
  isFullscreen: Y.value,
441
456
  titles: { ...e.value.userOptions.buttonTitles },
442
- chartElement: C.value,
457
+ chartElement: A.value,
443
458
  callbacks: e.value.userOptions.callbacks,
444
459
  printScale: e.value.userOptions.print.scale,
445
460
  position: e.value.userOptions.position,
446
461
  hasAnnotator: e.value.userOptions.buttons.annotator,
447
- isAnnotation: G.value,
462
+ isAnnotation: B.value,
448
463
  onToggleFullscreen: xe,
449
- onGeneratePdf: n(ge),
464
+ onGeneratePdf: n(me),
450
465
  onGenerateImage: n(pe),
466
+ onGenerateSvg: $e,
451
467
  onToggleAnnotator: Z,
452
468
  style: ee({
453
- visibility: n(fe) ? n(W) ? "visible" : "hidden" : "visible"
469
+ visibility: n(fe) ? n(V) ? "visible" : "hidden" : "visible"
454
470
  })
455
- }, et({ _: 2 }, [
471
+ }, rt({ _: 2 }, [
456
472
  t.$slots.menuIcon ? {
457
473
  name: "menuIcon",
458
- fn: X(({ isOpen: a, color: s }) => [
459
- x(t.$slots, "menuIcon", B(D({ isOpen: a, color: s })), void 0, !0)
474
+ fn: X(({ isOpen: a, color: l }) => [
475
+ x(t.$slots, "menuIcon", j(D({ isOpen: a, color: l })), void 0, !0)
460
476
  ]),
461
477
  key: "0"
462
478
  } : void 0,
@@ -476,43 +492,43 @@ const zt = ["id"], Ft = { key: 0 }, At = ["xmlns", "viewBox"], Ct = ["width", "h
476
492
  } : void 0,
477
493
  t.$slots.optionFullscreen ? {
478
494
  name: "optionFullscreen",
479
- fn: X(({ toggleFullscreen: a, isFullscreen: s }) => [
480
- x(t.$slots, "optionFullscreen", B(D({ toggleFullscreen: a, isFullscreen: s })), void 0, !0)
495
+ fn: X(({ toggleFullscreen: a, isFullscreen: l }) => [
496
+ x(t.$slots, "optionFullscreen", j(D({ toggleFullscreen: a, isFullscreen: l })), void 0, !0)
481
497
  ]),
482
498
  key: "3"
483
499
  } : void 0,
484
500
  t.$slots.optionAnnotator ? {
485
501
  name: "optionAnnotator",
486
- fn: X(({ toggleAnnotator: a, isAnnotator: s }) => [
487
- x(t.$slots, "optionAnnotator", B(D({ toggleAnnotator: a, isAnnotator: s })), void 0, !0)
502
+ fn: X(({ toggleAnnotator: a, isAnnotator: l }) => [
503
+ x(t.$slots, "optionAnnotator", j(D({ toggleAnnotator: a, isAnnotator: l })), void 0, !0)
488
504
  ]),
489
505
  key: "4"
490
506
  } : void 0
491
- ]), 1032, ["backgroundColor", "color", "isImaging", "isPrinting", "uid", "hasPdf", "hasImg", "hasFullscreen", "isFullscreen", "titles", "chartElement", "callbacks", "printScale", "position", "hasAnnotator", "isAnnotation", "onGeneratePdf", "onGenerateImage", "style"])) : c("", !0),
507
+ ]), 1032, ["backgroundColor", "color", "isImaging", "isPrinting", "uid", "hasPdf", "hasImg", "hasSvg", "hasFullscreen", "isFullscreen", "titles", "chartElement", "callbacks", "printScale", "position", "hasAnnotator", "isAnnotation", "onGeneratePdf", "onGenerateImage", "style"])) : c("", !0),
492
508
  (r(), o("svg", {
493
509
  ref_key: "svgRef",
494
- ref: V,
495
- xmlns: n(ct),
496
- class: ze({ "vue-data-ui-fullscreen--on": Y.value, "vue-data-ui-fulscreen--off": !Y.value }),
497
- viewBox: `0 0 ${l.value.width <= 0 ? 10 : l.value.width} ${l.value.height <= 0 ? 10 : l.value.height}`,
510
+ ref: E,
511
+ xmlns: n(yt),
512
+ class: Ce({ "vue-data-ui-fullscreen--on": Y.value, "vue-data-ui-fulscreen--off": !Y.value }),
513
+ viewBox: `0 0 ${s.value.width <= 0 ? 10 : s.value.width} ${s.value.height <= 0 ? 10 : s.value.height}`,
498
514
  style: ee(`max-width:100%;overflow:hidden !important;background:transparent;color:${e.value.style.chart.color}`)
499
515
  }, [
500
- tt(n(Xe)),
516
+ ot(n(Re)),
501
517
  t.$slots["chart-background"] ? (r(), o("foreignObject", {
502
518
  key: 0,
503
519
  x: 0,
504
520
  y: 0,
505
- width: l.value.width <= 0 ? 10 : l.value.width,
506
- height: l.value.height <= 0 ? 10 : l.value.height,
521
+ width: s.value.width <= 0 ? 10 : s.value.width,
522
+ height: s.value.height <= 0 ? 10 : s.value.height,
507
523
  style: {
508
524
  pointerEvents: "none"
509
525
  }
510
526
  }, [
511
527
  x(t.$slots, "chart-background", {}, void 0, !0)
512
- ], 8, Ct)) : c("", !0),
528
+ ], 8, Xt)) : c("", !0),
513
529
  p("defs", null, [
514
530
  p("radialGradient", {
515
- id: `gradient_${w.value}`,
531
+ id: `gradient_${S.value}`,
516
532
  cx: "50%",
517
533
  cy: "50%",
518
534
  r: "50%",
@@ -522,20 +538,20 @@ const zt = ["id"], Ft = { key: 0 }, At = ["xmlns", "viewBox"], Ct = ["width", "h
522
538
  p("stop", {
523
539
  offset: "0%",
524
540
  "stop-color": n(ae)("#FFFFFF", 1)
525
- }, null, 8, Mt),
541
+ }, null, 8, Yt),
526
542
  p("stop", {
527
543
  offset: "80%",
528
544
  "stop-color": n(ae)("#FFFFFF", e.value.style.chart.layout.track.gradientIntensity)
529
- }, null, 8, Nt),
545
+ }, null, 8, Lt),
530
546
  p("stop", {
531
547
  offset: "100%",
532
548
  "stop-color": n(ae)("#FFFFFF", 1)
533
- }, null, 8, Pt)
534
- ], 8, Ot)
549
+ }, null, 8, Et)
550
+ ], 8, Rt)
535
551
  ]),
536
552
  p("defs", null, [
537
553
  p("filter", {
538
- id: `blur_${w.value}`,
554
+ id: `blur_${S.value}`,
539
555
  x: "-50%",
540
556
  y: "-50%",
541
557
  width: "200%",
@@ -544,113 +560,113 @@ const zt = ["id"], Ft = { key: 0 }, At = ["xmlns", "viewBox"], Ct = ["width", "h
544
560
  p("feGaussianBlur", {
545
561
  in: "SourceGraphic",
546
562
  stdDeviation: 100 / e.value.style.chart.layout.track.gradientIntensity
547
- }, null, 8, Xt)
548
- ], 8, It)
563
+ }, null, 8, Gt)
564
+ ], 8, Tt)
549
565
  ]),
550
- t.$slots.pattern ? (r(), o("g", Rt, [
551
- (r(!0), o(k, null, $(d.value, (a, s) => (r(), o("defs", null, [
552
- x(t.$slots, "pattern", L({ ref_for: !0 }, { seriesIndex: s, patternId: `pattern_${w.value}_${s}` }), void 0, !0)
566
+ t.$slots.pattern ? (r(), o("g", Bt, [
567
+ (r(!0), o(k, null, $(d.value, (a, l) => (r(), o("defs", null, [
568
+ x(t.$slots, "pattern", L({ ref_for: !0 }, { seriesIndex: l, patternId: `pattern_${S.value}_${l}` }), void 0, !0)
553
569
  ]))), 256))
554
570
  ])) : c("", !0),
555
- (r(!0), o(k, null, $(d.value, (a, s) => (r(), o("path", {
556
- key: `arc_${s}`,
571
+ (r(!0), o(k, null, $(d.value, (a, l) => (r(), o("path", {
572
+ key: `arc_${l}`,
557
573
  d: a.arcSlice,
558
574
  fill: a.color,
559
575
  stroke: e.value.style.chart.backgroundColor,
560
576
  "stroke-linecap": "round"
561
- }, null, 8, Yt))), 128)),
562
- t.$slots.pattern ? (r(!0), o(k, { key: 2 }, $(d.value, (a, s) => (r(), o("path", {
563
- key: `arc_${s}`,
577
+ }, null, 8, Ut))), 128)),
578
+ t.$slots.pattern ? (r(!0), o(k, { key: 2 }, $(d.value, (a, l) => (r(), o("path", {
579
+ key: `arc_${l}`,
564
580
  d: a.arcSlice,
565
- fill: `url(#pattern_${w.value}_${s})`,
581
+ fill: `url(#pattern_${S.value}_${l})`,
566
582
  stroke: e.value.style.chart.backgroundColor,
567
583
  "stroke-linecap": "round"
568
- }, null, 8, Lt))), 128)) : c("", !0),
584
+ }, null, 8, jt))), 128)) : c("", !0),
569
585
  e.value.style.chart.layout.indicatorArc.show ? (r(), o("path", {
570
586
  key: 3,
571
- d: Ue.value,
587
+ d: We.value,
572
588
  fill: e.value.style.chart.layout.indicatorArc.fill
573
- }, null, 8, Et)) : c("", !0),
589
+ }, null, 8, Dt)) : c("", !0),
574
590
  e.value.style.chart.layout.segmentNames.show && e.value.style.chart.layout.segmentNames.curved ? (r(), o(k, { key: 4 }, [
575
- (r(!0), o(k, null, $(d.value, (a, s) => (r(), o("path", {
576
- id: `curve_${w.value}_${s}`,
577
- d: `M ${i.value.x1},${i.value.y1} m -${M.value[s]},0 a ${M.value[s]},${M.value[s]} 0 1,1 ${2 * M.value[s]},0 a ${M.value[s]},${M.value[s]} 0 1,1 -${2 * M.value[s]},0`,
591
+ (r(!0), o(k, null, $(d.value, (a, l) => (r(), o("path", {
592
+ id: `curve_${S.value}_${l}`,
593
+ d: `M ${i.value.x1},${i.value.y1} m -${M.value[l]},0 a ${M.value[l]},${M.value[l]} 0 1,1 ${2 * M.value[l]},0 a ${M.value[l]},${M.value[l]} 0 1,1 -${2 * M.value[l]},0`,
578
594
  fill: "transparent"
579
- }, null, 8, Tt))), 256)),
580
- (r(!0), o(k, null, $(d.value, (a, s) => (r(), o("text", {
595
+ }, null, 8, Wt))), 256)),
596
+ (r(!0), o(k, null, $(d.value, (a, l) => (r(), o("text", {
581
597
  fill: e.value.style.chart.layout.segmentNames.useSerieColor ? a.color : e.value.style.chart.layout.segmentNames.color,
582
- "font-size": E.value,
598
+ "font-size": T.value,
583
599
  "font-weight": e.value.style.chart.layout.segmentNames.bold ? "bold" : "normal",
584
600
  "text-anchor": "middle"
585
601
  }, [
586
602
  p("textPath", {
587
- href: `#curve_${w.value}_${s}`,
588
- startOffset: Be.value[s]
589
- }, R(a.name || ""), 9, jt)
590
- ], 8, Gt))), 256))
603
+ href: `#curve_${S.value}_${l}`,
604
+ startOffset: je.value[l]
605
+ }, R(a.name || ""), 9, Ht)
606
+ ], 8, Vt))), 256))
591
607
  ], 64)) : c("", !0),
592
- 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", {
608
+ e.value.style.chart.layout.segmentNames.show && !e.value.style.chart.layout.segmentNames.curved ? (r(!0), o(k, { key: 5 }, $(Be.value, (a, l) => (r(), o("text", {
593
609
  class: "vue-ui-gauge-label-flat",
594
- "text-anchor": n(ht)(a, !1, 12).anchor,
610
+ "text-anchor": n(mt)(a, !1, 12).anchor,
595
611
  fill: e.value.style.chart.layout.segmentNames.useSerieColor ? a.color : e.value.style.chart.layout.segmentNames.color,
596
- "font-size": E.value,
612
+ "font-size": T.value,
597
613
  "font-weight": e.value.style.chart.layout.segmentNames.bold ? "bold" : "normal",
598
- innerHTML: n(vt)({
614
+ innerHTML: n(gt)({
599
615
  content: String(a.name ?? ""),
600
- fontSize: E.value,
616
+ fontSize: T.value,
601
617
  fill: e.value.style.chart.layout.segmentNames.useSerieColor ? a.color : e.value.style.chart.layout.segmentNames.color,
602
618
  x: a.center.endX,
603
619
  y: a.center.endY
604
620
  })
605
- }, null, 8, Bt))), 256)) : c("", !0),
606
- e.value.style.chart.layout.track.useGradient ? (r(!0), o(k, { key: 6 }, $(De.value, (a, s) => (r(), o("path", {
607
- key: `arc_${s}`,
621
+ }, null, 8, qt))), 256)) : c("", !0),
622
+ e.value.style.chart.layout.track.useGradient ? (r(!0), o(k, { key: 6 }, $(De.value, (a, l) => (r(), o("path", {
623
+ key: `arc_${l}`,
608
624
  d: a.arcSlice,
609
625
  fill: "#FFFFFF",
610
626
  stroke: "none",
611
627
  "stroke-linecap": "round",
612
- filter: `url(#blur_${w.value})`
613
- }, null, 8, Dt))), 128)) : c("", !0),
628
+ filter: `url(#blur_${S.value})`
629
+ }, null, 8, Qt))), 128)) : c("", !0),
614
630
  e.value.style.chart.layout.segmentSeparators.show ? (r(), o(k, { key: 7 }, [
615
- p("line", L(we.value, {
631
+ p("line", L(Se.value, {
616
632
  stroke: e.value.style.chart.backgroundColor,
617
633
  "stroke-width": e.value.style.chart.layout.segmentSeparators.strokeWidth + 2,
618
634
  "stroke-linecap": "round"
619
- }), null, 16, Ut),
620
- p("line", L(we.value, {
635
+ }), null, 16, Zt),
636
+ p("line", L(Se.value, {
621
637
  stroke: e.value.style.chart.layout.segmentSeparators.stroke,
622
638
  "stroke-width": e.value.style.chart.layout.segmentSeparators.strokeWidth,
623
639
  "stroke-linecap": "round"
624
- }), null, 16, Wt),
625
- (r(!0), o(k, null, $(Se.value, (a) => (r(), o("line", L({ ref_for: !0 }, a, {
640
+ }), null, 16, Jt),
641
+ (r(!0), o(k, null, $(we.value, (a) => (r(), o("line", L({ ref_for: !0 }, a, {
626
642
  stroke: e.value.style.chart.backgroundColor,
627
643
  "stroke-width": e.value.style.chart.layout.segmentSeparators.strokeWidth + 2,
628
644
  "stroke-linecap": "round"
629
- }), null, 16, Vt))), 256)),
630
- (r(!0), o(k, null, $(Se.value, (a) => (r(), o("line", L({ ref_for: !0 }, a, {
645
+ }), null, 16, Kt))), 256)),
646
+ (r(!0), o(k, null, $(we.value, (a) => (r(), o("line", L({ ref_for: !0 }, a, {
631
647
  stroke: e.value.style.chart.layout.segmentSeparators.stroke,
632
648
  "stroke-width": e.value.style.chart.layout.segmentSeparators.strokeWidth,
633
649
  "stroke-linecap": "round"
634
- }), null, 16, Ht))), 256))
650
+ }), null, 16, ea))), 256))
635
651
  ], 64)) : c("", !0),
636
- e.value.style.chart.layout.markers.show ? (r(), o("g", qt, [
637
- (r(!0), o(k, null, $(d.value, (a, s) => (r(), o("text", {
638
- x: n(A)({
652
+ e.value.style.chart.layout.markers.show ? (r(), o("g", ta, [
653
+ (r(!0), o(k, null, $(d.value, (a, l) => (r(), o("text", {
654
+ x: n(F)({
639
655
  centerX: i.value.x1,
640
656
  centerY: v.value.base,
641
657
  initX: a.center.startX,
642
658
  initY: a.center.startY,
643
- offset: l.value.markerOffset
659
+ offset: s.value.markerOffset
644
660
  }).x,
645
- y: n(A)({
661
+ y: n(F)({
646
662
  centerX: i.value.x1,
647
663
  centerY: v.value.base,
648
664
  initX: a.center.startX,
649
665
  initY: a.center.startY,
650
- offset: l.value.markerOffset
666
+ offset: s.value.markerOffset
651
667
  }).y,
652
668
  "text-anchor": a.center.startX < i.value.x1 - 5 ? "end" : a.center.startX > i.value.x1 + 5 ? "start" : "middle",
653
- "font-size": l.value.labelFontSize * e.value.style.chart.layout.markers.fontSizeRatio,
669
+ "font-size": s.value.labelFontSize * e.value.style.chart.layout.markers.fontSizeRatio,
654
670
  "font-weight": `${e.value.style.chart.layout.markers.bold ? "bold" : "normal"}`,
655
671
  fill: e.value.style.chart.layout.markers.color
656
672
  }, R(n(le)(
@@ -662,26 +678,26 @@ const zt = ["id"], Ft = { key: 0 }, At = ["xmlns", "viewBox"], Ct = ["width", "h
662
678
  s: e.value.style.chart.layout.markers.suffix,
663
679
  r: e.value.style.chart.layout.markers.roundingValue
664
680
  })
665
- )), 9, Qt))), 256))
681
+ )), 9, aa))), 256))
666
682
  ])) : c("", !0),
667
683
  e.value.style.chart.layout.markers.show ? (r(), o("text", {
668
684
  key: 9,
669
- x: n(A)({
670
- centerX: l.value.width / 2,
685
+ x: n(F)({
686
+ centerX: s.value.width / 2,
671
687
  centerY: v.value.base,
672
688
  initX: d.value.at(-1).endX,
673
689
  initY: d.value.at(-1).endY,
674
- offset: l.value.markerOffset
690
+ offset: s.value.markerOffset
675
691
  }).x,
676
- y: n(A)({
677
- centerX: l.value.width / 2,
692
+ y: n(F)({
693
+ centerX: s.value.width / 2,
678
694
  centerY: v.value.base,
679
695
  initX: d.value.at(-1).endX,
680
696
  initY: d.value.at(-1).endY,
681
- offset: l.value.markerOffset
697
+ offset: s.value.markerOffset
682
698
  }).y,
683
699
  "text-anchor": "start",
684
- "font-size": l.value.labelFontSize * e.value.style.chart.layout.markers.fontSizeRatio,
700
+ "font-size": s.value.labelFontSize * e.value.style.chart.layout.markers.fontSizeRatio,
685
701
  "font-weight": `${e.value.style.chart.layout.markers.bold ? "bold" : "normal"}`,
686
702
  fill: e.value.style.chart.layout.markers.color
687
703
  }, R(n(le)(
@@ -693,9 +709,9 @@ const zt = ["id"], Ft = { key: 0 }, At = ["xmlns", "viewBox"], Ct = ["width", "h
693
709
  s: e.value.style.chart.layout.markers.suffix,
694
710
  r: e.value.style.chart.layout.markers.roundingValue
695
711
  })
696
- )), 9, Zt)) : c("", !0),
712
+ )), 9, la)) : c("", !0),
697
713
  e.value.style.chart.layout.pointer.show ? (r(), o(k, { key: 10 }, [
698
- e.value.style.chart.layout.pointer.type === "rounded" ? (r(), o("g", Jt, [
714
+ e.value.style.chart.layout.pointer.type === "rounded" ? (r(), o("g", sa, [
699
715
  isNaN(i.value.x2) ? c("", !0) : (r(), o("line", {
700
716
  key: 0,
701
717
  x1: i.value.x1,
@@ -703,9 +719,9 @@ const zt = ["id"], Ft = { key: 0 }, At = ["xmlns", "viewBox"], Ct = ["width", "h
703
719
  x2: i.value.x2,
704
720
  y2: i.value.y2,
705
721
  stroke: e.value.style.chart.layout.pointer.stroke,
706
- "stroke-width": l.value.pointerStrokeWidth,
722
+ "stroke-width": s.value.pointerStrokeWidth,
707
723
  "stroke-linecap": "round"
708
- }, null, 8, Kt)),
724
+ }, null, 8, ra)),
709
725
  isNaN(i.value.x2) ? c("", !0) : (r(), o("line", {
710
726
  key: 1,
711
727
  x1: i.value.x1,
@@ -714,8 +730,8 @@ const zt = ["id"], Ft = { key: 0 }, At = ["xmlns", "viewBox"], Ct = ["width", "h
714
730
  y2: i.value.y2,
715
731
  stroke: e.value.style.chart.layout.pointer.useRatingColor ? q.value : e.value.style.chart.layout.pointer.color,
716
732
  "stroke-linecap": "round",
717
- "stroke-width": l.value.pointerStrokeWidth * 0.7
718
- }, null, 8, ea)),
733
+ "stroke-width": s.value.pointerStrokeWidth * 0.7
734
+ }, null, 8, oa)),
719
735
  !isNaN(i.value.x2) && e.value.style.chart.layout.track.useGradient ? (r(), o("line", {
720
736
  key: 2,
721
737
  x1: i.value.x1,
@@ -724,10 +740,10 @@ const zt = ["id"], Ft = { key: 0 }, At = ["xmlns", "viewBox"], Ct = ["width", "h
724
740
  y2: i.value.y2,
725
741
  stroke: "white",
726
742
  "stroke-linecap": "round",
727
- "stroke-width": l.value.pointerStrokeWidth * 0.3,
728
- filter: `url(#blur_${w.value})`
729
- }, null, 8, ta)) : c("", !0)
730
- ])) : (r(), o("g", aa, [
743
+ "stroke-width": s.value.pointerStrokeWidth * 0.3,
744
+ filter: `url(#blur_${S.value})`
745
+ }, null, 8, ua)) : c("", !0)
746
+ ])) : (r(), o("g", na, [
731
747
  ke.value ? (r(), o("path", {
732
748
  key: 0,
733
749
  d: ke.value,
@@ -735,23 +751,23 @@ const zt = ["id"], Ft = { key: 0 }, At = ["xmlns", "viewBox"], Ct = ["width", "h
735
751
  stroke: e.value.style.chart.layout.pointer.stroke,
736
752
  "stroke-width": e.value.style.chart.layout.pointer.circle.strokeWidth,
737
753
  "stroke-linejoin": "round"
738
- }, null, 8, la)) : c("", !0)
754
+ }, null, 8, ia)) : c("", !0)
739
755
  ])),
740
756
  p("circle", {
741
- cx: l.value.width / 2,
757
+ cx: s.value.width / 2,
742
758
  cy: v.value.base,
743
759
  fill: e.value.style.chart.layout.pointer.circle.color,
744
- r: l.value.pointerRadius <= 0 ? 1e-4 : l.value.pointerRadius,
760
+ r: s.value.pointerRadius <= 0 ? 1e-4 : s.value.pointerRadius,
745
761
  "stroke-width": e.value.style.chart.layout.pointer.circle.strokeWidth,
746
762
  stroke: e.value.style.chart.layout.pointer.circle.stroke
747
- }, null, 8, sa)
763
+ }, null, 8, ca)
748
764
  ], 64)) : c("", !0),
749
765
  e.value.style.chart.legend.show ? (r(), o("text", {
750
766
  key: 11,
751
- x: l.value.width / 2,
767
+ x: s.value.width / 2,
752
768
  y: v.value.ratingBase,
753
769
  "text-anchor": "middle",
754
- "font-size": l.value.legendFontSize,
770
+ "font-size": s.value.legendFontSize,
755
771
  "font-weight": "bold",
756
772
  fill: e.value.style.chart.legend.useRatingColor ? q.value : e.value.style.chart.legend.color
757
773
  }, R(n(le)(
@@ -763,11 +779,11 @@ const zt = ["id"], Ft = { key: 0 }, At = ["xmlns", "viewBox"], Ct = ["width", "h
763
779
  s: e.value.style.chart.legend.suffix,
764
780
  r: e.value.style.chart.legend.roundingValue
765
781
  })
766
- )), 9, ra)) : c("", !0),
767
- x(t.$slots, "svg", { svg: l.value }, void 0, !0)
768
- ], 14, At)),
769
- t.$slots.watermark ? (r(), o("div", oa, [
770
- x(t.$slots, "watermark", B(D({ isPrinting: n(ye) || n(me) })), void 0, !0)
782
+ )), 9, va)) : c("", !0),
783
+ x(t.$slots, "svg", { svg: s.value }, void 0, !0)
784
+ ], 14, It)),
785
+ t.$slots.watermark ? (r(), o("div", ha, [
786
+ x(t.$slots, "watermark", j(D({ isPrinting: n(ye) || n(ge) })), void 0, !0)
771
787
  ])) : c("", !0),
772
788
  p("div", {
773
789
  ref_key: "chartLegend",
@@ -783,10 +799,10 @@ const zt = ["id"], Ft = { key: 0 }, At = ["xmlns", "viewBox"], Ct = ["width", "h
783
799
  }, [
784
800
  x(t.$slots, "source", {}, void 0, !0)
785
801
  ], 512)) : c("", !0),
786
- n(he) ? (r(), j(St, { key: 6 })) : c("", !0)
787
- ], 46, zt));
802
+ n(he) ? (r(), U(_t, { key: 6 })) : c("", !0)
803
+ ], 46, Nt));
788
804
  }
789
- }, _a = /* @__PURE__ */ $t(ua, [["__scopeId", "data-v-415be812"]]);
805
+ }, Fa = /* @__PURE__ */ Mt(da, [["__scopeId", "data-v-b8ee7d2b"]]);
790
806
  export {
791
- _a as default
807
+ Fa as default
792
808
  };