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,29 +1,30 @@
1
- import { defineAsyncComponent as W, ref as c, computed as f, onMounted as Ie, toRefs as Pe, watch as ce, onBeforeUnmount as Fe, createElementBlock as n, openBlock as r, unref as o, normalizeStyle as D, normalizeClass as ve, createBlock as x, createCommentVNode as u, createElementVNode as _, createSlots as Te, withCtx as A, renderSlot as m, normalizeProps as F, guardReactiveProps as T, createVNode as He, Fragment as V, renderList as G, toDisplayString as H, Teleport as Me } from "vue";
2
- import { u as Re, a as he } from "./useNestedProp-BOk-tPdu.js";
3
- import { c as ze, t as Ne, m as Ue, C as Ee, h as We, a as M, d as R, X as De, o as de, f as ge, g as Ve } from "./lib-BEpWEyMm.js";
4
- import { u as Ge } from "./usePrinter-w23K-ezx.js";
5
- import { u as je } from "./useUserOptionState-BIvW1Kz7.js";
6
- import { u as qe } from "./useChartAccessibility-9icAAmYg.js";
7
- import { t as Xe } from "./themes-Dw-dDudK.js";
8
- import Ye from "./Legend-BpoFJ8fc.js";
9
- import Je from "./Title-DG2nloSB.js";
10
- import Ke from "./img-DjWwQXVS.js";
1
+ import { defineAsyncComponent as G, ref as v, computed as c, onMounted as ze, toRefs as Ne, watch as ce, onBeforeUnmount as Ee, createElementBlock as n, openBlock as o, unref as r, normalizeStyle as V, normalizeClass as he, createBlock as x, createCommentVNode as u, createElementVNode as _, createSlots as Ue, withCtx as C, renderSlot as m, normalizeProps as F, guardReactiveProps as T, createVNode as We, Fragment as j, renderList as q, toDisplayString as H, Teleport as De } from "vue";
2
+ import { u as Ge, a as de } from "./useNestedProp-mxyyqd0B.js";
3
+ import { c as Ve, t as je, m as qe, C as Xe, h as Ye, a as M, d as R, X as Je, o as ge, f as fe, g as Ke } from "./lib-GIYcnm0E.js";
11
4
  import { t as Qe, u as Ze } from "./useResponsive-DfdjqQps.js";
12
- import { u as et, B as tt } from "./BaseScanner-BgWxam9d.js";
13
- import { _ as at } from "./_plugin-vue_export-helper-CHgC5LLL.js";
14
- const lt = ["id"], st = {
5
+ import { u as et } from "./usePrinter-DYRFiw7X.js";
6
+ import { u as tt } from "./useUserOptionState-BIvW1Kz7.js";
7
+ import { u as at } from "./useChartAccessibility-9icAAmYg.js";
8
+ import { t as lt } from "./themes-Dw-dDudK.js";
9
+ import st from "./Legend-DsogCeTb.js";
10
+ import ot from "./Title-D17CJXko.js";
11
+ import rt from "./img-6wPuVVtk.js";
12
+ import { u as nt, B as ut } from "./BaseScanner-BgWxam9d.js";
13
+ import { u as it } from "./useSvgExport-B7-Vrjtu.js";
14
+ import { _ as vt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
15
+ const ct = ["id"], ht = {
15
16
  key: 1,
16
17
  ref: "noTitle",
17
18
  class: "vue-data-ui-no-title-space",
18
19
  style: "height:36px; width: 100%;background:transparent"
19
- }, rt = ["id"], ot = ["xmlns", "viewBox"], nt = ["width", "height"], ut = { key: 1 }, it = ["x", "y", "height", "width", "fill", "stroke"], ct = ["x", "y", "height", "width", "rx", "fill", "stroke", "stroke-width"], vt = ["x", "y", "height", "width", "fill", "stroke", "stroke-width"], ht = ["x", "y", "font-size", "font-weight", "fill"], dt = ["x", "y", "height", "width", "rx", "fill", "stroke", "stroke-width"], gt = { key: 3 }, ft = ["x", "y", "fill", "font-size", "font-weight"], mt = { key: 4 }, yt = ["x1", "x2", "y1", "y2", "stroke"], pt = {
20
+ }, dt = ["id"], gt = ["xmlns", "viewBox"], ft = ["width", "height"], mt = { key: 1 }, yt = ["x", "y", "height", "width", "fill", "stroke"], pt = ["x", "y", "height", "width", "rx", "fill", "stroke", "stroke-width"], bt = ["x", "y", "height", "width", "fill", "stroke", "stroke-width"], kt = ["x", "y", "font-size", "font-weight", "fill"], wt = ["x", "y", "height", "width", "rx", "fill", "stroke", "stroke-width"], xt = { key: 3 }, _t = ["x", "y", "fill", "font-size", "font-weight"], Ct = { key: 4 }, At = ["x1", "x2", "y1", "y2", "stroke"], Lt = {
20
21
  key: 4,
21
22
  class: "vue-data-ui-watermark"
22
- }, bt = ["id"], kt = {
23
+ }, $t = ["id"], Ot = {
23
24
  key: 0,
24
25
  class: "vue-ui-bullet-legend-item",
25
26
  dir: "auto"
26
- }, wt = { style: { "margin-right": "2px" } }, xt = {
27
+ }, St = { style: { "margin-right": "2px" } }, Bt = {
27
28
  __name: "vue-ui-bullet",
28
29
  props: {
29
30
  config: {
@@ -39,11 +40,11 @@ const lt = ["id"], st = {
39
40
  }
40
41
  }
41
42
  },
42
- setup(fe, { expose: me }) {
43
- const ye = W(() => import("./PackageVersion-Cwrh45ON.js")), pe = W(() => import("./PenAndPaper-CR8q353D.js")), be = W(() => import("./UserOptions-DsTgvAok.js")), { vue_ui_bullet: ke } = Re(), O = fe, y = c(null), j = c(null), q = c(0), X = c(null), Y = c(null), we = c(0), C = c(null), B = c(null), J = c(!1), b = f({
43
+ setup(me, { expose: ye }) {
44
+ const pe = G(() => import("./PackageVersion-C9oklnuy.js")), be = G(() => import("./PenAndPaper-BxbYiPy4.js")), ke = G(() => import("./UserOptions-B3vCIe-u.js")), { vue_ui_bullet: we } = Ge(), O = me, y = v(null), X = v(null), Y = v(0), J = v(null), K = v(null), xe = v(0), A = v(null), S = v(null), Q = v(!1), b = c({
44
45
  get: () => i.value.hasOwnProperty("value"),
45
46
  set: (t) => t
46
- }), L = f(() => i.value.segments ? Array.isArray(i.value.segments) ? i.value.segments.length ? !0 : (console.warn(`VueUiBullet: dataset segments is empty. Provide segments with this datastructure:
47
+ }), L = c(() => i.value.segments ? Array.isArray(i.value.segments) ? i.value.segments.length ? !0 : (console.warn(`VueUiBullet: dataset segments is empty. Provide segments with this datastructure:
47
48
 
48
49
  segments: [
49
50
  {
@@ -76,59 +77,59 @@ segments: [
76
77
  },
77
78
  {...}
78
79
  ]
79
- `), b.value = !1, !1)), K = f(() => !!e.value.debug);
80
- function Q() {
81
- if (de(i.value) ? (ge({
80
+ `), b.value = !1, !1)), Z = c(() => !!e.value.debug);
81
+ function ee() {
82
+ if (ge(i.value) ? (fe({
82
83
  componentName: "VueUiBullet",
83
84
  type: "dataset",
84
- debug: K.value
85
- }), S.value = !0) : L.value ? i.value.segments.forEach((t, s) => {
86
- Ve({
85
+ debug: Z.value
86
+ }), B.value = !0) : L.value ? i.value.segments.forEach((t, s) => {
87
+ Ke({
87
88
  datasetObject: t,
88
89
  requiredAttributes: ["name", "from", "to"]
89
90
  }).forEach((a) => {
90
- b.value = !1, ge({
91
+ b.value = !1, fe({
91
92
  componentName: "VueUiBullet segment",
92
93
  type: "datasetSerieAttribute",
93
94
  property: a,
94
95
  index: s,
95
- debug: K.value
96
+ debug: Z.value
96
97
  });
97
98
  });
98
- }) : (b.value = !1, S.value = !0), de(i.value) || (S.value = e.value.loading), e.value.responsive) {
99
+ }) : (b.value = !1, B.value = !0), ge(i.value) || (B.value = e.value.loading), e.value.responsive) {
99
100
  const t = Qe(() => {
100
101
  const { width: s, height: a } = Ze({
101
102
  chart: y.value,
102
- title: e.value.style.chart.title.text ? j.value : null,
103
- legend: e.value.style.chart.legend.show ? X.value : null,
104
- source: Y.value
103
+ title: e.value.style.chart.title.text ? X.value : null,
104
+ legend: e.value.style.chart.legend.show ? J.value : null,
105
+ source: K.value
105
106
  });
106
107
  requestAnimationFrame(() => {
107
108
  I.value.width = s, I.value.height = a - 12;
108
109
  });
109
110
  });
110
- C.value && (B.value && C.value.unobserve(B.value), C.value.disconnect()), C.value = new ResizeObserver(t), B.value = y.value.parentNode, C.value.observe(B.value);
111
+ A.value && (S.value && A.value.unobserve(S.value), A.value.disconnect()), A.value = new ResizeObserver(t), S.value = y.value.parentNode, A.value.observe(S.value);
111
112
  }
112
- e.value.style.chart.animation.show && !k.value && le(i.value.value || 0);
113
+ e.value.style.chart.animation.show && !k.value && se(i.value.value || 0);
113
114
  }
114
- Ie(() => {
115
- J.value = !0, Q();
115
+ ze(() => {
116
+ Q.value = !0, ee();
116
117
  });
117
- const p = c(ze());
118
+ const p = v(Ve());
118
119
  function z() {
119
- const t = he({
120
+ const t = de({
120
121
  userConfig: O.config,
121
- defaultConfig: ke
122
+ defaultConfig: we
122
123
  });
123
124
  return t.theme ? {
124
- ...he({
125
- userConfig: Xe.vue_ui_bullet[t.theme] || O.config,
125
+ ...de({
126
+ userConfig: lt.vue_ui_bullet[t.theme] || O.config,
126
127
  defaultConfig: t
127
128
  })
128
129
  } : t;
129
130
  }
130
- const e = c(z()), { loading: k, FINAL_DATASET: i, manualLoading: S } = et({
131
- ...Pe(O),
131
+ const e = v(z()), { loading: k, FINAL_DATASET: i, manualLoading: B } = nt({
132
+ ...Ne(O),
132
133
  FINAL_CONFIG: e,
133
134
  prepareConfig: z,
134
135
  skeletonDataset: {
@@ -155,7 +156,7 @@ segments: [
155
156
  }
156
157
  ]
157
158
  },
158
- skeletonConfig: Ne({
159
+ skeletonConfig: je({
159
160
  defaultConfig: e.value,
160
161
  userConfig: {
161
162
  userOptions: { show: !1 },
@@ -175,79 +176,79 @@ segments: [
175
176
  }
176
177
  }
177
178
  })
178
- }), { userOptionsVisible: N, setUserOptionsVisibility: Z, keepUserOptionState: ee } = je({ config: e.value }), { svgRef: te } = qe({ config: e.value.style.chart.title });
179
+ }), { userOptionsVisible: N, setUserOptionsVisibility: te, keepUserOptionState: ae } = tt({ config: e.value }), { svgRef: E } = at({ config: e.value.style.chart.title });
179
180
  ce(() => O.config, (t) => {
180
- k.value || (e.value = z()), N.value = !e.value.userOptions.showOnChartHover, Q(), q.value += 1;
181
+ k.value || (e.value = z()), N.value = !e.value.userOptions.showOnChartHover, ee(), Y.value += 1;
181
182
  }, { deep: !0 });
182
- const I = c({
183
+ const I = v({
183
184
  width: e.value.style.chart.width,
184
185
  height: e.value.style.chart.height
185
- }), xe = f(() => I.value.width), _e = f(() => I.value.height), l = f(() => {
186
- const t = _e.value, s = xe.value, a = e.value.style.chart.padding.left, g = s - e.value.style.chart.padding.right, w = e.value.style.chart.padding.top, v = t - e.value.style.chart.padding.bottom;
186
+ }), _e = c(() => I.value.width), Ce = c(() => I.value.height), l = c(() => {
187
+ const t = Ce.value, s = _e.value, a = e.value.style.chart.padding.left, h = s - e.value.style.chart.padding.right, w = e.value.style.chart.padding.top, d = t - e.value.style.chart.padding.bottom;
187
188
  return {
188
189
  height: Math.max(1e-3, t),
189
190
  width: Math.max(1e-3, s),
190
191
  left: a,
191
- right: g,
192
+ right: h,
192
193
  top: w,
193
- bottom: v,
194
- chartWidth: Math.max(1e-3, g - a),
195
- chartHeight: Math.max(1e-3, v - w)
194
+ bottom: d,
195
+ chartWidth: Math.max(1e-3, h - a),
196
+ chartHeight: Math.max(1e-3, d - w)
196
197
  };
197
- }), Ae = f(() => {
198
+ }), Ae = c(() => {
198
199
  if (!L.value) return [];
199
200
  const t = [];
200
201
  for (let s = 0; s < i.value.segments.length; s += 1)
201
- t.push(Ue(e.value.style.chart.segments.baseColor, s / i.value.segments.length));
202
+ t.push(qe(e.value.style.chart.segments.baseColor, s / i.value.segments.length));
202
203
  return t;
203
- }), U = f(() => L.value ? {
204
+ }), U = c(() => L.value ? {
204
205
  min: Math.min(...i.value.segments.map((t) => t.from)),
205
206
  max: Math.max(...i.value.segments.map((t) => t.to))
206
- } : { min: 0, max: 1 }), h = c(Ce());
207
+ } : { min: 0, max: 1 }), g = v(Le());
207
208
  ce(() => i.value, (t) => {
208
- t.hasOwnProperty("value") && (S.value = !1), e.value.style.chart.animation.show && !k.value ? le(t.value || 0) : h.value = t.value || 0;
209
+ t.hasOwnProperty("value") && (B.value = !1), e.value.style.chart.animation.show && !k.value ? se(t.value || 0) : g.value = t.value || 0;
209
210
  }, { deep: !0 });
210
- function Ce() {
211
+ function Le() {
211
212
  return e.value.style.chart.animation.show && !k.value ? U.value.min : i.value.value || 0;
212
213
  }
213
- const ae = c(null);
214
- function le(t) {
215
- const s = Math.abs(t - h.value) / e.value.style.chart.animation.animationFrames;
214
+ const le = v(null);
215
+ function se(t) {
216
+ const s = Math.abs(t - g.value) / e.value.style.chart.animation.animationFrames;
216
217
  function a() {
217
- h.value < t ? h.value = Math.min(h.value + s, t) : h.value > t && (h.value = Math.max(h.value - s, t)), h.value !== t && (ae.value = requestAnimationFrame(a));
218
+ g.value < t ? g.value = Math.min(g.value + s, t) : g.value > t && (g.value = Math.max(g.value - s, t)), g.value !== t && (le.value = requestAnimationFrame(a));
218
219
  }
219
220
  a();
220
221
  }
221
- Fe(() => {
222
- cancelAnimationFrame(ae.value);
222
+ Ee(() => {
223
+ cancelAnimationFrame(le.value);
223
224
  });
224
- const d = f(() => {
225
+ const f = c(() => {
225
226
  if (!L.value)
226
227
  return [];
227
- const t = Ee(U.value.min, U.value.max, e.value.style.chart.segments.ticks.divisions), s = t.min >= 0 ? 0 : Math.abs(t.min), a = {
228
+ const t = Xe(U.value.min, U.value.max, e.value.style.chart.segments.ticks.divisions), s = t.min >= 0 ? 0 : Math.abs(t.min), a = {
228
229
  x: l.value.left + (i.value.target + s) / (t.max + s) * l.value.chartWidth - e.value.style.chart.target.width / 2
229
- }, g = {
230
- width: (h.value + s) / (t.max + s) * l.value.chartWidth
231
- }, w = t.ticks.map((v) => ({
232
- value: v,
230
+ }, h = {
231
+ width: (g.value + s) / (t.max + s) * l.value.chartWidth
232
+ }, w = t.ticks.map((d) => ({
233
+ value: d,
233
234
  y: l.value.bottom + e.value.style.chart.segments.dataLabels.fontSize + 3 + e.value.style.chart.segments.dataLabels.offsetY,
234
- x: l.value.left + (v + s) / (t.max + s) * l.value.chartWidth
235
+ x: l.value.left + (d + s) / (t.max + s) * l.value.chartWidth
235
236
  }));
236
237
  return {
237
238
  scale: t,
238
239
  target: a,
239
- value: g,
240
+ value: h,
240
241
  ticks: w,
241
- chunks: i.value.segments.map((v, Se) => ({
242
- ...v,
243
- color: v.color ? We(v.color) : Ae.value[Se],
244
- x: l.value.left + l.value.chartWidth * ((v.from + s) / (t.max + s)),
242
+ chunks: i.value.segments.map((d, Re) => ({
243
+ ...d,
244
+ color: d.color ? Ye(d.color) : Ae.value[Re],
245
+ x: l.value.left + l.value.chartWidth * ((d.from + s) / (t.max + s)),
245
246
  y: l.value.top,
246
247
  height: l.value.chartHeight,
247
- width: l.value.chartWidth * (Math.abs(v.to - v.from) / (t.max + s))
248
+ width: l.value.chartWidth * (Math.abs(d.to - d.from) / (t.max + s))
248
249
  }))
249
250
  };
250
- }), se = f(() => !d.value || !d.value.chunks || !d.value.chunks.length ? [] : d.value.chunks.map((t) => {
251
+ }), W = c(() => !f.value || !f.value.chunks || !f.value.chunks.length ? [] : f.value.chunks.map((t) => {
251
252
  const s = M(
252
253
  e.value.style.chart.segments.dataLabels.formatter,
253
254
  t.from,
@@ -266,80 +267,95 @@ segments: [
266
267
  s: e.value.style.chart.segments.dataLabels.suffix,
267
268
  r: e.value.style.chart.segments.dataLabels.rounding
268
269
  })
269
- );
270
+ ), h = `${s} — ${a}`;
270
271
  return {
271
272
  ...t,
272
273
  shape: "square",
273
- value: `${s} - ${a}`
274
+ value: h,
275
+ display: `${t.name}: ${h}`
274
276
  };
275
- })), Le = f(() => ({
277
+ })), $e = c(() => ({
276
278
  cy: "bullet-div-legend",
277
279
  backgroundColor: "transparent",
278
280
  color: e.value.style.chart.legend.color,
279
281
  fontSize: e.value.style.chart.legend.fontSize,
280
282
  paddingBottom: 6,
281
283
  fontWeight: e.value.style.chart.legend.bold ? "bold" : ""
282
- })), { isPrinting: re, isImaging: oe, generatePdf: ne, generateImage: ue } = Ge({
284
+ })), { isPrinting: oe, isImaging: re, generatePdf: ne, generateImage: ue } = et({
283
285
  elementId: `bullet_${p.value}`,
284
286
  fileName: e.value.style.chart.title.text || "vue-ui-bullet",
285
287
  options: e.value.userOptions.print
286
- }), $e = f(() => e.value.userOptions.show && !e.value.style.chart.title.text), $ = c(!1);
288
+ }), Oe = c(() => e.value.userOptions.show && !e.value.style.chart.title.text), $ = v(!1);
287
289
  function ie(t) {
288
- $.value = t, we.value += 1;
290
+ $.value = t, xe.value += 1;
289
291
  }
290
- function Oe() {
291
- return d.value;
292
+ function Se() {
293
+ return f.value;
292
294
  }
293
- const P = c(!1);
294
- function E() {
295
+ const P = v(!1);
296
+ function D() {
295
297
  P.value = !P.value;
296
298
  }
297
299
  async function Be({ scale: t = 2 } = {}) {
298
300
  if (!y.value) return;
299
- const { width: s, height: a } = y.value.getBoundingClientRect(), g = s / a, { imageUri: w, base64: v } = await Ke({ domElement: y.value, base64: !0, img: !0, scale: t });
301
+ const { width: s, height: a } = y.value.getBoundingClientRect(), h = s / a, { imageUri: w, base64: d } = await rt({ domElement: y.value, base64: !0, img: !0, scale: t });
300
302
  return {
301
303
  imageUri: w,
302
- base64: v,
304
+ base64: d,
303
305
  title: e.value.style.chart.title.text,
304
306
  width: s,
305
307
  height: a,
306
- aspectRatio: g
308
+ aspectRatio: h
307
309
  };
308
310
  }
309
- return me({
310
- getData: Oe,
311
+ const Ie = c(() => W.value.map((t) => ({
312
+ ...t,
313
+ name: t.display
314
+ }))), Pe = c(() => e.value.style.chart.backgroundColor), Fe = c(() => e.value.style.chart.legend), Te = c(() => e.value.style.chart.title), { exportSvg: He, getSvg: Me } = it({
315
+ svg: E,
316
+ title: Te,
317
+ legend: Fe,
318
+ legendItems: Ie,
319
+ backgroundColor: Pe
320
+ });
321
+ function ve({ isCb: t }) {
322
+ t ? e.value.userOptions.callbacks.svg(Me()) : He();
323
+ }
324
+ return ye({
325
+ getData: Se,
311
326
  getImage: Be,
312
327
  generatePdf: ne,
313
328
  generateImage: ue,
314
- toggleAnnotator: E,
329
+ generateSvg: ve,
330
+ toggleAnnotator: D,
315
331
  toggleFullscreen: ie
316
- }), (t, s) => (r(), n("div", {
332
+ }), (t, s) => (o(), n("div", {
317
333
  ref_key: "bulletChart",
318
334
  ref: y,
319
- class: ve(`vue-ui-bullet ${$.value ? "vue-data-ui-wrapper-fullscreen" : ""}`),
320
- style: D(`font-family:${e.value.style.fontFamily};width:100%;background:${e.value.style.chart.backgroundColor}`),
335
+ class: he(`vue-data-ui-component vue-ui-bullet ${$.value ? "vue-data-ui-wrapper-fullscreen" : ""}`),
336
+ style: V(`font-family:${e.value.style.fontFamily};width:100%;background:${e.value.style.chart.backgroundColor}`),
321
337
  id: `bullet_${p.value}`,
322
- onMouseenter: s[0] || (s[0] = () => o(Z)(!0)),
323
- onMouseleave: s[1] || (s[1] = () => o(Z)(!1))
338
+ onMouseenter: s[0] || (s[0] = () => r(te)(!0)),
339
+ onMouseleave: s[1] || (s[1] = () => r(te)(!1))
324
340
  }, [
325
- e.value.userOptions.buttons.annotator ? (r(), x(o(pe), {
341
+ e.value.userOptions.buttons.annotator ? (o(), x(r(be), {
326
342
  key: 0,
327
- svgRef: o(te),
343
+ svgRef: r(E),
328
344
  backgroundColor: e.value.style.chart.backgroundColor,
329
345
  color: e.value.style.chart.color,
330
346
  active: P.value,
331
- onClose: E
347
+ onClose: D
332
348
  }, null, 8, ["svgRef", "backgroundColor", "color", "active"])) : u("", !0),
333
- $e.value ? (r(), n("div", st, null, 512)) : u("", !0),
334
- e.value.style.chart.title.text ? (r(), n("div", {
349
+ Oe.value ? (o(), n("div", ht, null, 512)) : u("", !0),
350
+ e.value.style.chart.title.text ? (o(), n("div", {
335
351
  key: 2,
336
352
  ref_key: "chartTitle",
337
- ref: j,
353
+ ref: X,
338
354
  style: "width:100%;background:transparent;"
339
355
  }, [
340
- (r(), x(Je, {
356
+ (o(), x(ot, {
341
357
  lineHeight: "1.3rem",
342
- key: `title_${q.value}`,
358
+ key: `title_${Y.value}`,
343
359
  config: {
344
360
  title: {
345
361
  cy: "bullet-div-title",
@@ -354,18 +370,19 @@ segments: [
354
370
  ], 512)) : u("", !0),
355
371
  _("div", {
356
372
  id: `legend-top-${p.value}`
357
- }, null, 8, rt),
358
- e.value.userOptions.show && b.value && (o(ee) || o(N)) ? (r(), x(o(be), {
373
+ }, null, 8, dt),
374
+ e.value.userOptions.show && b.value && (r(ae) || r(N)) ? (o(), x(r(ke), {
359
375
  key: 3,
360
376
  ref: "details",
361
377
  backgroundColor: e.value.style.chart.backgroundColor,
362
378
  color: e.value.style.chart.color,
363
- isPrinting: o(re),
364
- isImaging: o(oe),
379
+ isPrinting: r(oe),
380
+ isImaging: r(re),
365
381
  uid: p.value,
366
382
  hasTooltip: !1,
367
383
  hasPdf: e.value.userOptions.buttons.pdf,
368
384
  hasImg: e.value.userOptions.buttons.img,
385
+ hasSvg: e.value.userOptions.buttons.svg,
369
386
  hasXls: !1,
370
387
  hasTable: !1,
371
388
  hasLabel: !1,
@@ -379,59 +396,60 @@ segments: [
379
396
  callbacks: e.value.userOptions.callbacks,
380
397
  printScale: e.value.userOptions.print.scale,
381
398
  onToggleFullscreen: ie,
382
- onGeneratePdf: o(ne),
383
- onGenerateImage: o(ue),
384
- onToggleAnnotator: E,
385
- style: D({
386
- visibility: o(ee) ? o(N) ? "visible" : "hidden" : "visible"
399
+ onGeneratePdf: r(ne),
400
+ onGenerateImage: r(ue),
401
+ onGenerateSvg: ve,
402
+ onToggleAnnotator: D,
403
+ style: V({
404
+ visibility: r(ae) ? r(N) ? "visible" : "hidden" : "visible"
387
405
  })
388
- }, Te({ _: 2 }, [
406
+ }, Ue({ _: 2 }, [
389
407
  t.$slots.menuIcon ? {
390
408
  name: "menuIcon",
391
- fn: A(({ isOpen: a, color: g }) => [
392
- m(t.$slots, "menuIcon", F(T({ isOpen: a, color: g })), void 0, !0)
409
+ fn: C(({ isOpen: a, color: h }) => [
410
+ m(t.$slots, "menuIcon", F(T({ isOpen: a, color: h })), void 0, !0)
393
411
  ]),
394
412
  key: "0"
395
413
  } : void 0,
396
414
  t.$slots.optionPdf ? {
397
415
  name: "optionPdf",
398
- fn: A(() => [
416
+ fn: C(() => [
399
417
  m(t.$slots, "optionPdf", {}, void 0, !0)
400
418
  ]),
401
419
  key: "1"
402
420
  } : void 0,
403
421
  t.$slots.optionImg ? {
404
422
  name: "optionImg",
405
- fn: A(() => [
423
+ fn: C(() => [
406
424
  m(t.$slots, "optionImg", {}, void 0, !0)
407
425
  ]),
408
426
  key: "2"
409
427
  } : void 0,
410
428
  t.$slots.optionFullscreen ? {
411
429
  name: "optionFullscreen",
412
- fn: A(({ toggleFullscreen: a, isFullscreen: g }) => [
413
- m(t.$slots, "optionFullscreen", F(T({ toggleFullscreen: a, isFullscreen: g })), void 0, !0)
430
+ fn: C(({ toggleFullscreen: a, isFullscreen: h }) => [
431
+ m(t.$slots, "optionFullscreen", F(T({ toggleFullscreen: a, isFullscreen: h })), void 0, !0)
414
432
  ]),
415
433
  key: "3"
416
434
  } : void 0,
417
435
  t.$slots.optionAnnotator ? {
418
436
  name: "optionAnnotator",
419
- fn: A(({ toggleAnnotator: a, isAnnotator: g }) => [
420
- m(t.$slots, "optionAnnotator", F(T({ toggleAnnotator: a, isAnnotator: g })), void 0, !0)
437
+ fn: C(({ toggleAnnotator: a, isAnnotator: h }) => [
438
+ m(t.$slots, "optionAnnotator", F(T({ toggleAnnotator: a, isAnnotator: h })), void 0, !0)
421
439
  ]),
422
440
  key: "4"
423
441
  } : void 0
424
- ]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasPdf", "hasImg", "hasFullscreen", "isFullscreen", "chartElement", "position", "titles", "hasAnnotator", "isAnnotation", "callbacks", "printScale", "onGeneratePdf", "onGenerateImage", "style"])) : u("", !0),
425
- (r(), n("svg", {
442
+ ]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasPdf", "hasImg", "hasSvg", "hasFullscreen", "isFullscreen", "chartElement", "position", "titles", "hasAnnotator", "isAnnotation", "callbacks", "printScale", "onGeneratePdf", "onGenerateImage", "style"])) : u("", !0),
443
+ (o(), n("svg", {
426
444
  ref_key: "svgRef",
427
- ref: te,
428
- xmlns: o(De),
429
- class: ve({ "vue-data-ui-fullscreen--on": $.value, "vue-data-ui-fulscreen--off": !$.value, "vue-ui-bullet-svg": !0 }),
445
+ ref: E,
446
+ xmlns: r(Je),
447
+ class: he({ "vue-data-ui-fullscreen--on": $.value, "vue-data-ui-fulscreen--off": !$.value, "vue-ui-bullet-svg": !0 }),
430
448
  viewBox: `0 0 ${l.value.width} ${l.value.height}`,
431
- style: D(`width: 100%; overflow: visible; background:transparent;color:${e.value.style.chart.color}`)
449
+ style: V(`width: 100%; overflow: visible; background:transparent;color:${e.value.style.chart.color}`)
432
450
  }, [
433
- He(o(ye)),
434
- t.$slots["chart-background"] ? (r(), n("foreignObject", {
451
+ We(r(pe)),
452
+ t.$slots["chart-background"] ? (o(), n("foreignObject", {
435
453
  key: 0,
436
454
  x: 0,
437
455
  y: 0,
@@ -442,9 +460,9 @@ segments: [
442
460
  }
443
461
  }, [
444
462
  m(t.$slots, "chart-background", {}, void 0, !0)
445
- ], 8, nt)) : u("", !0),
446
- L.value ? (r(), n("g", ut, [
447
- (r(!0), n(V, null, G(d.value.chunks, (a) => (r(), n("rect", {
463
+ ], 8, ft)) : u("", !0),
464
+ L.value ? (o(), n("g", mt, [
465
+ (o(!0), n(j, null, q(f.value.chunks, (a) => (o(), n("rect", {
448
466
  x: a.x,
449
467
  y: a.y,
450
468
  height: a.height,
@@ -453,10 +471,10 @@ segments: [
453
471
  "stroke-width": 1,
454
472
  stroke: e.value.style.chart.backgroundColor,
455
473
  style: { transition: "x 0.3s ease-in-out, width 0.3s ease-in-out" }
456
- }, null, 8, it))), 256)),
457
- !e.value.style.chart.target.onTop && e.value.style.chart.target.show ? (r(), n("rect", {
474
+ }, null, 8, yt))), 256)),
475
+ !e.value.style.chart.target.onTop && e.value.style.chart.target.show ? (o(), n("rect", {
458
476
  key: 0,
459
- x: d.value.target.x,
477
+ x: f.value.target.x,
460
478
  y: l.value.top + (l.value.chartHeight - l.value.chartHeight * e.value.style.chart.target.heightRatio) / 2,
461
479
  height: l.value.chartHeight * e.value.style.chart.target.heightRatio,
462
480
  width: e.value.style.chart.target.width,
@@ -464,37 +482,37 @@ segments: [
464
482
  fill: e.value.style.chart.target.color,
465
483
  stroke: e.value.style.chart.target.stroke,
466
484
  "stroke-width": e.value.style.chart.target.strokeWidth
467
- }, null, 8, ct)) : u("", !0),
485
+ }, null, 8, pt)) : u("", !0),
468
486
  _("rect", {
469
487
  x: l.value.left,
470
488
  y: l.value.top + (l.value.chartHeight - l.value.chartHeight * e.value.style.chart.valueBar.heightRatio) / 2,
471
489
  height: l.value.chartHeight * e.value.style.chart.valueBar.heightRatio,
472
- width: d.value.value.width,
490
+ width: f.value.value.width,
473
491
  fill: e.value.style.chart.valueBar.color,
474
492
  stroke: e.value.style.chart.valueBar.stroke,
475
493
  "stroke-width": e.value.style.chart.valueBar.strokeWidth
476
- }, null, 8, vt),
477
- e.value.style.chart.valueBar.label.show ? (r(), n("text", {
494
+ }, null, 8, bt),
495
+ e.value.style.chart.valueBar.label.show ? (o(), n("text", {
478
496
  key: 1,
479
- x: l.value.left + d.value.value.width,
497
+ x: l.value.left + f.value.value.width,
480
498
  y: l.value.top - 6 + e.value.style.chart.valueBar.label.offsetY,
481
499
  "font-size": e.value.style.chart.valueBar.label.fontSize,
482
500
  "font-weight": e.value.style.chart.valueBar.label.bold ? "bold" : "normal",
483
501
  fill: e.value.style.chart.valueBar.label.color,
484
502
  "text-anchor": "middle"
485
- }, H(o(M)(
503
+ }, H(r(M)(
486
504
  e.value.style.chart.segments.dataLabels.formatter,
487
- h.value,
488
- o(R)({
505
+ g.value,
506
+ r(R)({
489
507
  p: e.value.style.chart.segments.dataLabels.prefix,
490
- v: h.value,
508
+ v: g.value,
491
509
  s: e.value.style.chart.segments.dataLabels.suffix,
492
510
  r: e.value.style.chart.segments.dataLabels.rounding
493
511
  })
494
- )), 9, ht)) : u("", !0),
495
- e.value.style.chart.target.onTop && e.value.style.chart.target.show ? (r(), n("rect", {
512
+ )), 9, kt)) : u("", !0),
513
+ e.value.style.chart.target.onTop && e.value.style.chart.target.show ? (o(), n("rect", {
496
514
  key: 2,
497
- x: d.value.target.x,
515
+ x: f.value.target.x,
498
516
  y: l.value.top + (l.value.chartHeight - l.value.chartHeight * e.value.style.chart.target.heightRatio) / 2,
499
517
  height: l.value.chartHeight * e.value.style.chart.target.heightRatio,
500
518
  width: e.value.style.chart.target.width,
@@ -503,28 +521,28 @@ segments: [
503
521
  stroke: e.value.style.chart.target.stroke,
504
522
  "stroke-width": e.value.style.chart.target.strokeWidth,
505
523
  style: { transition: "x 0.3s ease-in-out" }
506
- }, null, 8, dt)) : u("", !0),
507
- e.value.style.chart.segments.dataLabels.show ? (r(), n("g", gt, [
508
- (r(!0), n(V, null, G(d.value.ticks, (a) => (r(), n("text", {
524
+ }, null, 8, wt)) : u("", !0),
525
+ e.value.style.chart.segments.dataLabels.show ? (o(), n("g", xt, [
526
+ (o(!0), n(j, null, q(f.value.ticks, (a) => (o(), n("text", {
509
527
  x: a.x,
510
528
  y: a.y,
511
529
  "text-anchor": "middle",
512
530
  fill: e.value.style.chart.segments.dataLabels.color,
513
531
  "font-size": e.value.style.chart.segments.dataLabels.fontSize + "px",
514
532
  "font-weight": e.value.style.chart.segments.dataLabels.bold ? "bold" : "normal"
515
- }, H(o(M)(
533
+ }, H(r(M)(
516
534
  e.value.style.chart.segments.dataLabels.formatter,
517
535
  a.value,
518
- o(R)({
536
+ r(R)({
519
537
  p: e.value.style.chart.segments.dataLabels.prefix,
520
538
  v: a.value,
521
539
  s: e.value.style.chart.segments.dataLabels.suffix,
522
540
  r: e.value.style.chart.segments.dataLabels.rounding
523
541
  })
524
- )), 9, ft))), 256))
542
+ )), 9, _t))), 256))
525
543
  ])) : u("", !0),
526
- e.value.style.chart.segments.dataLabels.show && e.value.style.chart.segments.ticks.show ? (r(), n("g", mt, [
527
- (r(!0), n(V, null, G(d.value.ticks, (a) => (r(), n("line", {
544
+ e.value.style.chart.segments.dataLabels.show && e.value.style.chart.segments.ticks.show ? (o(), n("g", Ct, [
545
+ (o(!0), n(j, null, q(f.value.ticks, (a) => (o(), n("line", {
528
546
  x1: a.x,
529
547
  x2: a.x,
530
548
  y1: l.value.bottom,
@@ -532,54 +550,54 @@ segments: [
532
550
  stroke: e.value.style.chart.segments.ticks.stroke,
533
551
  "stroke-width": 1,
534
552
  "stroke-linecap": "round"
535
- }, null, 8, yt))), 256))
553
+ }, null, 8, At))), 256))
536
554
  ])) : u("", !0)
537
555
  ])) : u("", !0),
538
556
  m(t.$slots, "svg", { svg: l.value }, void 0, !0)
539
- ], 14, ot)),
540
- t.$slots.watermark ? (r(), n("div", pt, [
541
- m(t.$slots, "watermark", F(T({ isPrinting: o(re) || o(oe) })), void 0, !0)
557
+ ], 14, gt)),
558
+ t.$slots.watermark ? (o(), n("div", Lt, [
559
+ m(t.$slots, "watermark", F(T({ isPrinting: r(oe) || r(re) })), void 0, !0)
542
560
  ])) : u("", !0),
543
561
  _("div", {
544
562
  id: `legend-bottom-${p.value}`
545
- }, null, 8, bt),
546
- J.value ? (r(), x(Me, {
563
+ }, null, 8, $t),
564
+ Q.value ? (o(), x(De, {
547
565
  key: 5,
548
566
  to: e.value.style.chart.legend.position === "top" ? `#legend-top-${p.value}` : `#legend-bottom-${p.value}`
549
567
  }, [
550
568
  _("div", {
551
569
  ref_key: "chartLegend",
552
- ref: X
570
+ ref: J
553
571
  }, [
554
- e.value.style.chart.legend.show ? (r(), x(Ye, {
572
+ e.value.style.chart.legend.show ? (o(), x(st, {
555
573
  key: 0,
556
574
  clickable: !1,
557
- legendSet: se.value,
558
- config: Le.value
575
+ legendSet: W.value,
576
+ config: $e.value
559
577
  }, {
560
- item: A(({ legend: a }) => [
561
- o(k) ? u("", !0) : (r(), n("div", kt, [
562
- _("span", wt, H(a.name) + ":", 1),
578
+ item: C(({ legend: a }) => [
579
+ r(k) ? u("", !0) : (o(), n("div", Ot, [
580
+ _("span", St, H(a.name) + ":", 1),
563
581
  _("span", null, H(a.value), 1)
564
582
  ]))
565
583
  ]),
566
584
  _: 1
567
585
  }, 8, ["legendSet", "config"])) : u("", !0),
568
- m(t.$slots, "legend", { legend: se.value }, void 0, !0)
586
+ m(t.$slots, "legend", { legend: W.value }, void 0, !0)
569
587
  ], 512)
570
588
  ], 8, ["to"])) : u("", !0),
571
- t.$slots.source ? (r(), n("div", {
589
+ t.$slots.source ? (o(), n("div", {
572
590
  key: 6,
573
591
  ref_key: "source",
574
- ref: Y,
592
+ ref: K,
575
593
  dir: "auto"
576
594
  }, [
577
595
  m(t.$slots, "source", {}, void 0, !0)
578
596
  ], 512)) : u("", !0),
579
- o(k) ? (r(), x(tt, { key: 7 })) : u("", !0)
580
- ], 46, lt));
597
+ r(k) ? (o(), x(ut, { key: 7 })) : u("", !0)
598
+ ], 46, ct));
581
599
  }
582
- }, Mt = /* @__PURE__ */ at(xt, [["__scopeId", "data-v-cf97848f"]]);
600
+ }, Vt = /* @__PURE__ */ vt(Bt, [["__scopeId", "data-v-fd9177ca"]]);
583
601
  export {
584
- Mt as default
602
+ Vt as default
585
603
  };