vue-data-ui 2.12.6 → 2.12.7-beta.1

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 (109) hide show
  1. package/dist/{Arrow-Bd9ZVBnX.js → Arrow-C5-RFd0F.js} +1 -1
  2. package/dist/BaseDraggableDialog-CKbomZCX.js +180 -0
  3. package/dist/{BaseIcon-CNbwMh_-.js → BaseIcon-DhWmrDAn.js} +1 -1
  4. package/dist/{ColorPicker-B_FoQwtO.js → ColorPicker-F4TctKaQ.js} +23 -24
  5. package/dist/{DataTable-Rajdtaf6.js → DataTable-Y5HbiUZU.js} +11 -11
  6. package/dist/{Legend-BxtDQCIv.js → Legend-DtTYopxf.js} +8 -8
  7. package/dist/NonSvgPenAndPaper-PC9Yu1K_.js +467 -0
  8. package/dist/PackageVersion-DaWGaZxE.js +10 -0
  9. package/dist/{PenAndPaper-BkP3J-Ft.js → PenAndPaper-C-CpE0NC.js} +8 -10
  10. package/dist/RecursiveCircles-Dn3TGoL6.js +96 -0
  11. package/dist/RecursiveLabels-NTMB9w5C.js +49 -0
  12. package/dist/RecursiveLinks-ld_gDZH4.js +64 -0
  13. package/dist/{Shape-C69a0f29.js → Shape-B6kIkp2s.js} +2 -2
  14. package/dist/{Slicer-7qFdY-bT.js → Slicer-DXpA-pZk.js} +2 -2
  15. package/dist/SparkTooltip-DcdMxgqn.js +68 -0
  16. package/dist/{Title-CzaCeCOm.js → Title-Bc66VstS.js} +2 -2
  17. package/dist/Tooltip-B07vY6jm.js +149 -0
  18. package/dist/{usePrinter-C5bLp34h.js → UserOptions-C8X2STEg.js} +172 -231
  19. package/dist/{dom-to-png-Bm0D0yPL.js → dom-to-png-DH-7H-9g.js} +1 -1
  20. package/dist/{img-BN9AzqUr.js → img-CEn9LJxg.js} +1 -1
  21. package/dist/{index-BFzQMJda.js → index-BHEd2dgu.js} +21 -21
  22. package/dist/{pdf-uTbs813M.js → pdf-BfkyEFza.js} +1 -1
  23. package/dist/style.css +1 -1
  24. package/dist/useChartAccessibility-9icAAmYg.js +12 -0
  25. package/dist/useMouse-AicQS8Vf.js +13 -0
  26. package/dist/{useNestedProp-v7KPpwuP.js → useNestedProp-CZztHZIm.js} +1 -1
  27. package/dist/{usePanZoom-CUkkqW81.js → usePanZoom-BQMvRXEQ.js} +16 -17
  28. package/dist/usePrinter-C8URL2IU.js +53 -0
  29. package/dist/vClickOutside-C6WiFswA.js +13 -0
  30. package/dist/{vue-data-ui-D1k8FeRp.js → vue-data-ui-C0tGhjs9.js} +63 -63
  31. package/dist/vue-data-ui.js +19 -19
  32. package/dist/{vue-ui-3d-bar-DoklA4DT.js → vue-ui-3d-bar-CriyJ0Da.js} +397 -402
  33. package/dist/{vue-ui-accordion-BUz4JIIX.js → vue-ui-accordion-DntThSTF.js} +3 -3
  34. package/dist/{vue-ui-age-pyramid-4kyBq-Dy.js → vue-ui-age-pyramid-BwgozppD.js} +215 -218
  35. package/dist/{vue-ui-annotator-Bq1ZeFfb.js → vue-ui-annotator-B7jNrpQ0.js} +2 -2
  36. package/dist/{vue-ui-bullet-DU10avvA.js → vue-ui-bullet-C20X1YRt.js} +137 -140
  37. package/dist/{vue-ui-candlestick-BI1t3flz.js → vue-ui-candlestick-B264jwvu.js} +265 -271
  38. package/dist/{vue-ui-carousel-table-VowLf_oc.js → vue-ui-carousel-table-ECSEPy9m.js} +137 -137
  39. package/dist/{vue-ui-chestnut-BHjV3d94.js → vue-ui-chestnut-BxjeL4B6.js} +397 -400
  40. package/dist/{vue-ui-chord-CPr7r-2_.js → vue-ui-chord-CJNnQbPC.js} +356 -364
  41. package/dist/vue-ui-circle-pack-0RLVrL7y.js +656 -0
  42. package/dist/{vue-ui-cursor-C9teAbVI.js → vue-ui-cursor-c9pZbUX7.js} +2 -2
  43. package/dist/{vue-ui-dashboard-CwDYB8tP.js → vue-ui-dashboard-DJTFcJry.js} +62 -62
  44. package/dist/{vue-ui-digits-CHmkL0hn.js → vue-ui-digits-Cwy7WTqM.js} +2 -2
  45. package/dist/vue-ui-donut-BIFf4SLq.js +1292 -0
  46. package/dist/vue-ui-donut-evolution-mc_-1JSs.js +864 -0
  47. package/dist/{vue-ui-dumbbell-DTKLLd1N.js → vue-ui-dumbbell-D50S44wU.js} +265 -270
  48. package/dist/{vue-ui-flow-BLBhsU2n.js → vue-ui-flow-CxDTjjYn.js} +291 -300
  49. package/dist/{vue-ui-funnel-CIrWdeBk.js → vue-ui-funnel-DeC0U017.js} +216 -219
  50. package/dist/{vue-ui-galaxy-ByhKyIV4.js → vue-ui-galaxy-n0MW2u-q.js} +227 -235
  51. package/dist/{vue-ui-gauge-BbfBMpng.js → vue-ui-gauge-AYMCSEtU.js} +240 -243
  52. package/dist/{vue-ui-gizmo-BM-_QfHM.js → vue-ui-gizmo-Ckz1h7XW.js} +57 -58
  53. package/dist/{vue-ui-heatmap-BA4z4hsw.js → vue-ui-heatmap-m0SgFsTu.js} +239 -242
  54. package/dist/{vue-ui-history-plot-8vM_IUy8.js → vue-ui-history-plot-BrcF_YLL.js} +257 -262
  55. package/dist/{vue-ui-kpi-D57QLK6A.js → vue-ui-kpi-DiVxDYiV.js} +29 -30
  56. package/dist/{vue-ui-mini-loader-CR4c-xJQ.js → vue-ui-mini-loader-CqbUMft8.js} +2 -2
  57. package/dist/vue-ui-molecule-BCUC8QED.js +580 -0
  58. package/dist/{vue-ui-mood-radar-Brc9cxoD.js → vue-ui-mood-radar-DrrjD9S1.js} +180 -186
  59. package/dist/{vue-ui-nested-donuts-W3Z5F--L.js → vue-ui-nested-donuts-8RTss1yH.js} +366 -374
  60. package/dist/{vue-ui-onion-BNBlGNlF.js → vue-ui-onion-CmPLnisN.js} +252 -258
  61. package/dist/{vue-ui-parallel-coordinate-plot-B5G3jyvg.js → vue-ui-parallel-coordinate-plot-BsbEUu_g.js} +292 -298
  62. package/dist/{vue-ui-quadrant-CUy9mVIA.js → vue-ui-quadrant-CdM3bVZs.js} +403 -409
  63. package/dist/{vue-ui-quick-chart-D4_8mRXU.js → vue-ui-quick-chart-C-lgCI6O.js} +611 -616
  64. package/dist/{vue-ui-radar-BUk56jGL.js → vue-ui-radar-Dq94lb99.js} +270 -277
  65. package/dist/{vue-ui-rating-B9TQl5KP.js → vue-ui-rating-DceDRLFc.js} +2 -2
  66. package/dist/vue-ui-relation-circle-DsKddA_I.js +525 -0
  67. package/dist/{vue-ui-ridgeline-Cl06bGom.js → vue-ui-ridgeline-CVR7NvJ_.js} +313 -317
  68. package/dist/{vue-ui-rings-B6bpFlFp.js → vue-ui-rings-B0soMLZ5.js} +260 -266
  69. package/dist/{vue-ui-scatter--WUuVw5G.js → vue-ui-scatter-Bq4_NUfW.js} +368 -374
  70. package/dist/{vue-ui-skeleton-B_YI7Yuc.js → vue-ui-skeleton-CG3Pn3Zg.js} +19 -19
  71. package/dist/{vue-ui-smiley-Bbam2fDz.js → vue-ui-smiley-aGKTgh42.js} +2 -2
  72. package/dist/{vue-ui-spark-trend-DavXuwGt.js → vue-ui-spark-trend--6lA4742.js} +114 -117
  73. package/dist/{vue-ui-sparkbar-9N1FU9-J.js → vue-ui-sparkbar-BXx7Vglf.js} +104 -106
  74. package/dist/{vue-ui-sparkgauge-_9ntq4EK.js → vue-ui-sparkgauge-zM4_Tgqb.js} +72 -74
  75. package/dist/{vue-ui-sparkhistogram-BEzOV4HV.js → vue-ui-sparkhistogram-BDNrZbWN.js} +93 -95
  76. package/dist/vue-ui-sparkline-CzzyDmYJ.js +459 -0
  77. package/dist/{vue-ui-sparkstackbar-BSWcs3v0.js → vue-ui-sparkstackbar-tBSUQ_09.js} +102 -105
  78. package/dist/{vue-ui-stackbar-gG5BLlAr.js → vue-ui-stackbar-BriZOfj6.js} +409 -412
  79. package/dist/{vue-ui-strip-plot-BJouRmxh.js → vue-ui-strip-plot-DzYyFp3o.js} +240 -246
  80. package/dist/{vue-ui-table-D9Ry8s4N.js → vue-ui-table-C2qosrZR.js} +3 -3
  81. package/dist/{vue-ui-table-heatmap-Bizzpi31.js → vue-ui-table-heatmap-COKfg2KT.js} +90 -90
  82. package/dist/{vue-ui-table-sparkline-Dg54Ovs2.js → vue-ui-table-sparkline-D7C5AiCp.js} +212 -212
  83. package/dist/{vue-ui-thermometer-6MSdF_Gm.js → vue-ui-thermometer-CDG6vSMm.js} +154 -157
  84. package/dist/{vue-ui-timer-ByaKokk8.js → vue-ui-timer-DOoO0CVB.js} +180 -181
  85. package/dist/vue-ui-tiremarks-BSPIy1A3.js +341 -0
  86. package/dist/vue-ui-treemap-DsMmxgin.js +947 -0
  87. package/dist/{vue-ui-vertical-bar-CE4oBwBv.js → vue-ui-vertical-bar-B2_ZHuyv.js} +381 -386
  88. package/dist/{vue-ui-waffle-DNEEnY_G.js → vue-ui-waffle-YhkwHcUX.js} +312 -318
  89. package/dist/vue-ui-wheel-CWHJwyyL.js +335 -0
  90. package/dist/vue-ui-word-cloud-BLgEqHRF.js +642 -0
  91. package/dist/{vue-ui-world-Brhq17TE.js → vue-ui-world-BQelvSLD.js} +389 -400
  92. package/dist/{vue-ui-xy-K2G7QQxG.js → vue-ui-xy-D1luVUXJ.js} +845 -846
  93. package/dist/vue-ui-xy-canvas-C7Pu9RFN.js +1206 -0
  94. package/package.json +6 -6
  95. package/dist/BaseDraggableDialog-Bzwlfmy1.js +0 -186
  96. package/dist/PackageVersion-BjrblLPQ.js +0 -10
  97. package/dist/Tooltip-CWmRmhJr.js +0 -158
  98. package/dist/useChartAccessibility-BWojgys7.js +0 -13
  99. package/dist/vue-ui-circle-pack-D_jYpsuD.js +0 -659
  100. package/dist/vue-ui-donut-WRUDvvZa.js +0 -1292
  101. package/dist/vue-ui-donut-evolution-BQxV5D_L.js +0 -871
  102. package/dist/vue-ui-molecule-Bq69N7rC.js +0 -782
  103. package/dist/vue-ui-relation-circle-T6aTibIU.js +0 -528
  104. package/dist/vue-ui-sparkline-D__GCUAz.js +0 -519
  105. package/dist/vue-ui-tiremarks-Z8pjUT1g.js +0 -344
  106. package/dist/vue-ui-treemap-pRJ3be5l.js +0 -956
  107. package/dist/vue-ui-wheel-DWPYZxdT.js +0 -338
  108. package/dist/vue-ui-word-cloud-DAR7R8F8.js +0 -648
  109. package/dist/vue-ui-xy-canvas-ml44sPHS.js +0 -1673
@@ -1,16 +1,14 @@
1
- import { useCssVars as Z, computed as _, onMounted as ee, ref as N, watch as te, createElementBlock as s, openBlock as a, normalizeStyle as $, createCommentVNode as c, createBlock as D, createElementVNode as h, createTextVNode as le, toDisplayString as p, unref as n, createVNode as ae, renderSlot as I, Fragment as f, renderList as g, normalizeClass as V } from "vue";
2
- import { u as se, o as oe, e as E, g as ue, c as ie, a as re, s as m, i as H, f as F, X as ne, w as z } from "./index-BFzQMJda.js";
3
- import { u as O } from "./useNestedProp-v7KPpwuP.js";
4
- import { _ as ve } from "./Shape-C69a0f29.js";
5
- import de from "./vue-ui-skeleton-B_YI7Yuc.js";
6
- import { _ as ce } from "./PackageVersion-BjrblLPQ.js";
7
- import { u as ye } from "./useChartAccessibility-BWojgys7.js";
8
- import { _ as he } from "./_plugin-vue_export-helper-CHgC5LLL.js";
9
- const fe = { key: 0 }, ge = { key: 1 }, pe = ["xmlns", "viewBox"], me = ["width", "height"], be = ["id"], _e = ["stop-color"], xe = ["stop-color"], ke = ["id"], we = ["stop-color"], $e = ["stop-color"], Ce = ["id"], Le = ["stop-color"], ze = ["stop-color"], Se = { key: 1 }, Ae = ["x", "y", "height", "width", "fill", "stroke", "stroke-width", "rx"], Me = { key: 2 }, Ne = ["x", "y", "font-size", "font-weight", "fill"], De = ["x", "y", "font-size", "fill"], Ie = ["x", "y", "font-size", "fill"], Ve = ["height", "width", "x", "onMouseover", "stroke", "stroke-width", "rx", "stroke-dasharray", "onClick"], Ee = {
1
+ import { useCssVars as le, computed as _, defineAsyncComponent as N, onMounted as ae, ref as D, watch as se, createElementBlock as s, openBlock as a, normalizeStyle as $, createCommentVNode as c, createBlock as V, createElementVNode as h, createTextVNode as oe, toDisplayString as p, unref as n, createVNode as ie, renderSlot as I, Fragment as f, renderList as g, normalizeClass as E } from "vue";
2
+ import { u as ue, o as re, e as H, g as ne, c as ve, a as de, s as b, i as F, f as O, X as ce, w as z } from "./index-BHEd2dgu.js";
3
+ import { u as W } from "./useNestedProp-CZztHZIm.js";
4
+ import { u as ye } from "./useChartAccessibility-9icAAmYg.js";
5
+ import he from "./Shape-B6kIkp2s.js";
6
+ import { _ as fe } from "./_plugin-vue_export-helper-CHgC5LLL.js";
7
+ const ge = { key: 0 }, pe = { key: 1 }, be = ["xmlns", "viewBox"], me = ["width", "height"], _e = ["id"], xe = ["stop-color"], ke = ["stop-color"], we = ["id"], $e = ["stop-color"], Ce = ["stop-color"], Le = ["id"], ze = ["stop-color"], Se = ["stop-color"], Ae = { key: 1 }, Me = ["x", "y", "height", "width", "fill", "stroke", "stroke-width", "rx"], Ne = { key: 2 }, De = ["x", "y", "font-size", "font-weight", "fill"], Ve = ["x", "y", "font-size", "fill"], Ie = ["x", "y", "font-size", "fill"], Ee = ["height", "width", "x", "onMouseover", "stroke", "stroke-width", "rx", "stroke-dasharray", "onClick"], He = {
10
8
  key: 2,
11
9
  ref: "source",
12
10
  dir: "auto"
13
- }, He = {
11
+ }, Fe = {
14
12
  __name: "vue-ui-sparkhistogram",
15
13
  props: {
16
14
  config: {
@@ -27,53 +25,53 @@ const fe = { key: 0 }, ge = { key: 1 }, pe = ["xmlns", "viewBox"], me = ["width"
27
25
  }
28
26
  },
29
27
  emits: ["selectDatapoint"],
30
- setup(W, { emit: B }) {
31
- Z((l) => ({
32
- "40b52890": q.value
28
+ setup(B, { emit: U }) {
29
+ le((l) => ({
30
+ "2d6ebc7a": J.value
33
31
  }));
34
- const { vue_ui_sparkhistogram: U } = se(), d = W, S = _(() => !!d.dataset && d.dataset.length);
35
- ee(() => {
32
+ const j = N(() => import("./PackageVersion-DaWGaZxE.js")), R = N(() => import("./vue-ui-skeleton-CG3Pn3Zg.js")), { vue_ui_sparkhistogram: X } = ue(), d = B, S = _(() => !!d.dataset && d.dataset.length);
33
+ ae(() => {
36
34
  A();
37
35
  });
38
36
  function A() {
39
- oe(d.dataset) ? E({
37
+ re(d.dataset) ? H({
40
38
  componentName: "VueUiSparkHistogram",
41
39
  type: "dataset"
42
- }) : d.dataset.forEach((l, i) => {
43
- ue({
40
+ }) : d.dataset.forEach((l, u) => {
41
+ ne({
44
42
  datasetObject: l,
45
43
  requiredAttributes: ["value"]
46
44
  }).forEach((t) => {
47
- E({
45
+ H({
48
46
  componentName: "VueUiSparkHistogram",
49
47
  type: "datasetSerieAttribute",
50
48
  property: t,
51
- index: i
49
+ index: u
52
50
  });
53
51
  });
54
52
  });
55
53
  }
56
- const b = N(ie()), e = _({
54
+ const m = D(ve()), e = _({
57
55
  get: () => M(),
58
56
  set: (l) => l
59
- }), { svgRef: j } = ye({ config: e.value.style.title });
57
+ }), { svgRef: G } = ye({ config: e.value.style.title });
60
58
  function M() {
61
- const l = O({
59
+ const l = W({
62
60
  userConfig: d.config,
63
- defaultConfig: U
61
+ defaultConfig: X
64
62
  });
65
63
  return l.theme ? {
66
- ...O({
67
- userConfig: re.vue_ui_sparkhistogram[l.theme] || d.config,
64
+ ...W({
65
+ userConfig: de.vue_ui_sparkhistogram[l.theme] || d.config,
68
66
  defaultConfig: l
69
67
  })
70
68
  } : l;
71
69
  }
72
- te(() => d.config, (l) => {
70
+ se(() => d.config, (l) => {
73
71
  e.value = M(), A();
74
72
  }, { deep: !0 });
75
73
  const v = _(() => {
76
- const l = e.value.style.layout.height, i = e.value.style.layout.width, t = e.value.style.layout.padding.top, o = l - e.value.style.layout.padding.bottom, y = e.value.style.layout.padding.left, x = i - e.value.style.layout.padding.right, k = t + (l - t - e.value.style.layout.padding.bottom) / 2, C = l - e.value.style.layout.padding.top - e.value.style.layout.padding.bottom, w = i - e.value.style.layout.padding.left - e.value.style.layout.padding.right;
74
+ const l = e.value.style.layout.height, u = e.value.style.layout.width, t = e.value.style.layout.padding.top, o = l - e.value.style.layout.padding.bottom, y = e.value.style.layout.padding.left, x = u - e.value.style.layout.padding.right, k = t + (l - t - e.value.style.layout.padding.bottom) / 2, C = l - e.value.style.layout.padding.top - e.value.style.layout.padding.bottom, w = u - e.value.style.layout.padding.left - e.value.style.layout.padding.right;
77
75
  return {
78
76
  bottom: o,
79
77
  centerY: k,
@@ -83,38 +81,38 @@ const fe = { key: 0 }, ge = { key: 1 }, pe = ["xmlns", "viewBox"], me = ["width"
83
81
  left: y,
84
82
  right: x,
85
83
  top: t,
86
- width: i
84
+ width: u
87
85
  };
88
- }), R = _(() => Math.max(...d.dataset.map((l) => Math.abs(l.value || 0))));
89
- function X(l) {
90
- return Math.abs(l) / R.value;
86
+ }), Y = _(() => Math.max(...d.dataset.map((l) => Math.abs(l.value || 0))));
87
+ function q(l) {
88
+ return Math.abs(l) / Y.value;
91
89
  }
92
- const r = _(() => d.dataset.map((l, i) => {
93
- const t = X(l.value || 0), o = v.value.drawingHeight * t, y = v.value.drawingWidth / d.dataset.length, x = y * (e.value.style.bars.gap / 100), k = y - x, C = v.value.centerY - o / 2, w = v.value.left + (x / 2 + i * y), T = v.value.left + i * y, L = typeof l.intensity > "u" ? 100 : Math.round(l.intensity * 100), P = l.color ? l.color : l.value >= 0 ? m(e.value.style.bars.colors.positive, L) : m(e.value.style.bars.colors.negative, L), J = l.color ? l.color : l.value >= 0 ? e.value.style.bars.colors.positive : e.value.style.bars.colors.negative, K = l.color ? `url(#gradient_datapoint_${i}_${b.value})` : l.value >= 0 ? `url(#gradient_positive_${i}_${b.value})` : `url(#gradient_negative_${i}_${b.value})`, Q = w + k / 2;
90
+ const r = _(() => d.dataset.map((l, u) => {
91
+ const t = q(l.value || 0), o = v.value.drawingHeight * t, y = v.value.drawingWidth / d.dataset.length, x = y * (e.value.style.bars.gap / 100), k = y - x, C = v.value.centerY - o / 2, w = v.value.left + (x / 2 + u * y), K = v.value.left + u * y, L = typeof l.intensity > "u" ? 100 : Math.round(l.intensity * 100), Q = l.color ? l.color : l.value >= 0 ? b(e.value.style.bars.colors.positive, L) : b(e.value.style.bars.colors.negative, L), Z = l.color ? l.color : l.value >= 0 ? e.value.style.bars.colors.positive : e.value.style.bars.colors.negative, ee = l.color ? `url(#gradient_datapoint_${u}_${m.value})` : l.value >= 0 ? `url(#gradient_positive_${u}_${m.value})` : `url(#gradient_negative_${u}_${m.value})`, te = w + k / 2;
94
92
  return {
95
93
  ...l,
96
- color: P,
97
- gradient: K,
94
+ color: Q,
95
+ gradient: ee,
98
96
  height: o,
99
97
  intensity: L,
100
98
  proportion: t,
101
- stroke: J,
102
- textAnchor: Q,
103
- trapX: T,
99
+ stroke: Z,
100
+ textAnchor: te,
101
+ trapX: K,
104
102
  unitWidth: y,
105
103
  width: k,
106
104
  x: w,
107
105
  y: C
108
106
  };
109
- })), u = N(null), G = B;
110
- function Y(l, i) {
111
- G("selectDatapoint", { datapoint: l, index: i });
107
+ })), i = D(null), P = U;
108
+ function T(l, u) {
109
+ P("selectDatapoint", { datapoint: l, index: u });
112
110
  }
113
- const q = _(() => `${e.value.style.animation.speedMs}ms`);
114
- return (l, i) => (a(), s("div", {
111
+ const J = _(() => `${e.value.style.animation.speedMs}ms`);
112
+ return (l, u) => (a(), s("div", {
115
113
  class: "vue-ui-spark-histogram",
116
114
  style: $(`width:100%;background:${e.value.style.backgroundColor};font-family:${e.value.style.fontFamily}`),
117
- onMouseleave: i[1] || (i[1] = (t) => u.value = null)
115
+ onMouseleave: u[1] || (u[1] = (t) => i.value = null)
118
116
  }, [
119
117
  e.value.style.title.text ? (a(), s("div", {
120
118
  key: 0,
@@ -123,19 +121,19 @@ const fe = { key: 0 }, ge = { key: 1 }, pe = ["xmlns", "viewBox"], me = ["width"
123
121
  h("div", {
124
122
  style: $(`font-size:${e.value.style.title.fontSize}px;color:${e.value.style.title.color};font-weight:${e.value.style.title.bold ? "bold" : "normal"}`)
125
123
  }, [
126
- le(p(e.value.style.title.text) + " ", 1),
127
- u.value !== null ? (a(), s("span", fe, "- " + p(r.value[u.value].timeLabel || "") + " " + p(n(H)(
124
+ oe(p(e.value.style.title.text) + " ", 1),
125
+ i.value !== null ? (a(), s("span", ge, "- " + p(r.value[i.value].timeLabel || "") + " " + p(n(F)(
128
126
  e.value.style.labels.value.formatter,
129
- r.value[u.value].value,
130
- n(F)({
127
+ r.value[i.value].value,
128
+ n(O)({
131
129
  p: e.value.style.labels.value.prefix,
132
- v: r.value[u.value].value,
130
+ v: r.value[i.value].value,
133
131
  s: e.value.style.labels.value.suffix,
134
132
  r: e.value.style.labels.value.rounding
135
133
  }),
136
- { datapoint: r.value[u.value], seriesIndex: u.value }
134
+ { datapoint: r.value[i.value], seriesIndex: i.value }
137
135
  )), 1)) : c("", !0),
138
- ![void 0, null].includes(u.value) && ![null, void 0].includes(r.value[u.value].valueLabel) ? (a(), s("span", ge, "(" + p(r.value[u.value].valueLabel || 0) + ")", 1)) : c("", !0)
136
+ ![void 0, null].includes(i.value) && ![null, void 0].includes(r.value[i.value].valueLabel) ? (a(), s("span", pe, "(" + p(r.value[i.value].valueLabel || 0) + ")", 1)) : c("", !0)
139
137
  ], 4),
140
138
  e.value.style.title.subtitle.text ? (a(), s("div", {
141
139
  key: 0,
@@ -145,12 +143,12 @@ const fe = { key: 0 }, ge = { key: 1 }, pe = ["xmlns", "viewBox"], me = ["width"
145
143
  S.value ? (a(), s("svg", {
146
144
  key: 1,
147
145
  ref_key: "svgRef",
148
- ref: j,
149
- xmlns: n(ne),
146
+ ref: G,
147
+ xmlns: n(ce),
150
148
  viewBox: `0 0 ${v.value.width} ${v.value.height}`,
151
149
  style: { overflow: "visible" }
152
150
  }, [
153
- ae(ce),
151
+ ie(n(j)),
154
152
  l.$slots["chart-background"] ? (a(), s("foreignObject", {
155
153
  key: 0,
156
154
  x: 0,
@@ -165,7 +163,7 @@ const fe = { key: 0 }, ge = { key: 1 }, pe = ["xmlns", "viewBox"], me = ["width"
165
163
  ], 8, me)) : c("", !0),
166
164
  h("defs", null, [
167
165
  (a(!0), s(f, null, g(r.value, (t, o) => (a(), s("radialGradient", {
168
- id: `gradient_positive_${o}_${b.value}`,
166
+ id: `gradient_positive_${o}_${m.value}`,
169
167
  cy: "50%",
170
168
  cx: "50%",
171
169
  r: "50%",
@@ -174,15 +172,15 @@ const fe = { key: 0 }, ge = { key: 1 }, pe = ["xmlns", "viewBox"], me = ["width"
174
172
  }, [
175
173
  h("stop", {
176
174
  offset: "0%",
177
- "stop-color": n(m)(n(z)(e.value.style.bars.colors.positive, 0.05), t.intensity)
178
- }, null, 8, _e),
175
+ "stop-color": n(b)(n(z)(e.value.style.bars.colors.positive, 0.05), t.intensity)
176
+ }, null, 8, xe),
179
177
  h("stop", {
180
178
  offset: "100%",
181
- "stop-color": n(m)(e.value.style.bars.colors.positive, t.intensity)
182
- }, null, 8, xe)
183
- ], 8, be))), 256)),
179
+ "stop-color": n(b)(e.value.style.bars.colors.positive, t.intensity)
180
+ }, null, 8, ke)
181
+ ], 8, _e))), 256)),
184
182
  (a(!0), s(f, null, g(r.value, (t, o) => (a(), s("radialGradient", {
185
- id: `gradient_negative_${o}_${b.value}`,
183
+ id: `gradient_negative_${o}_${m.value}`,
186
184
  cy: "50%",
187
185
  cx: "50%",
188
186
  r: "50%",
@@ -191,15 +189,15 @@ const fe = { key: 0 }, ge = { key: 1 }, pe = ["xmlns", "viewBox"], me = ["width"
191
189
  }, [
192
190
  h("stop", {
193
191
  offset: "0%",
194
- "stop-color": n(m)(n(z)(e.value.style.bars.colors.negative, 0.05), t.intensity)
195
- }, null, 8, we),
192
+ "stop-color": n(b)(n(z)(e.value.style.bars.colors.negative, 0.05), t.intensity)
193
+ }, null, 8, $e),
196
194
  h("stop", {
197
195
  offset: "100%",
198
- "stop-color": n(m)(e.value.style.bars.colors.negative, t.intensity)
199
- }, null, 8, $e)
200
- ], 8, ke))), 256)),
196
+ "stop-color": n(b)(e.value.style.bars.colors.negative, t.intensity)
197
+ }, null, 8, Ce)
198
+ ], 8, we))), 256)),
201
199
  (a(!0), s(f, null, g(r.value, (t, o) => (a(), s("radialGradient", {
202
- id: `gradient_datapoint_${o}_${b.value}`,
200
+ id: `gradient_datapoint_${o}_${m.value}`,
203
201
  cy: "50%",
204
202
  cx: "50%",
205
203
  r: "50%",
@@ -208,15 +206,15 @@ const fe = { key: 0 }, ge = { key: 1 }, pe = ["xmlns", "viewBox"], me = ["width"
208
206
  }, [
209
207
  h("stop", {
210
208
  offset: "0%",
211
- "stop-color": n(m)(n(z)(t.color, 0.05), t.intensity)
212
- }, null, 8, Le),
209
+ "stop-color": n(b)(n(z)(t.color, 0.05), t.intensity)
210
+ }, null, 8, ze),
213
211
  h("stop", {
214
212
  offset: "100%",
215
- "stop-color": n(m)(t.color, t.intensity)
216
- }, null, 8, ze)
217
- ], 8, Ce))), 256))
213
+ "stop-color": n(b)(t.color, t.intensity)
214
+ }, null, 8, Se)
215
+ ], 8, Le))), 256))
218
216
  ]),
219
- !e.value.style.bars.shape || e.value.style.bars.shape === "square" ? (a(), s("g", Se, [
217
+ !e.value.style.bars.shape || e.value.style.bars.shape === "square" ? (a(), s("g", Ae, [
220
218
  (a(!0), s(f, null, g(r.value, (t, o) => (a(), s("rect", {
221
219
  x: t.x,
222
220
  y: t.y,
@@ -226,15 +224,15 @@ const fe = { key: 0 }, ge = { key: 1 }, pe = ["xmlns", "viewBox"], me = ["width"
226
224
  stroke: t.stroke,
227
225
  "stroke-width": e.value.style.bars.strokeWidth,
228
226
  rx: `${e.value.style.bars.borderRadius * t.proportion / 12}%`,
229
- class: V({ "vue-ui-sparkhistogram-shape": e.value.style.animation.show })
230
- }, null, 10, Ae))), 256))
231
- ])) : (a(), s("g", Me, [
232
- (a(!0), s(f, null, g(r.value, (t, o) => (a(), D(ve, {
227
+ class: E({ "vue-ui-sparkhistogram-shape": e.value.style.animation.show })
228
+ }, null, 10, Me))), 256))
229
+ ])) : (a(), s("g", Ne, [
230
+ (a(!0), s(f, null, g(r.value, (t, o) => (a(), V(he, {
233
231
  plot: { x: t.x + t.width / 2, y: t.y + t.height / 2 },
234
232
  color: e.value.style.bars.colors.gradient.show ? t.gradient : t.color,
235
233
  shape: e.value.style.bars.shape,
236
234
  radius: t.height * 0.4,
237
- class: V({ "vue-ui-sparkhistogram-shape": e.value.style.animation.show })
235
+ class: E({ "vue-ui-sparkhistogram-shape": e.value.style.animation.show })
238
236
  }, null, 8, ["plot", "color", "shape", "radius", "class"]))), 256))
239
237
  ])),
240
238
  (a(!0), s(f, null, g(r.value, (t, o) => (a(), s("text", {
@@ -244,17 +242,17 @@ const fe = { key: 0 }, ge = { key: 1 }, pe = ["xmlns", "viewBox"], me = ["width"
244
242
  "font-size": e.value.style.labels.value.fontSize,
245
243
  "font-weight": e.value.style.labels.value.bold ? "bold" : "normal",
246
244
  fill: e.value.style.labels.value.color
247
- }, p(n(H)(
245
+ }, p(n(F)(
248
246
  e.value.style.labels.value.formatter,
249
247
  t.value,
250
- n(F)({
248
+ n(O)({
251
249
  p: e.value.style.labels.value.prefix,
252
250
  v: t.value,
253
251
  s: e.value.style.labels.value.suffix,
254
252
  r: e.value.style.labels.value.rounding
255
253
  }),
256
- { datapoint: r.value[u.value], seriesIndex: u.value }
257
- )), 9, Ne))), 256)),
254
+ { datapoint: r.value[i.value], seriesIndex: i.value }
255
+ )), 9, De))), 256)),
258
256
  (a(!0), s(f, null, g(r.value, (t, o) => (a(), s("g", null, [
259
257
  t.valueLabel ? (a(), s("text", {
260
258
  key: 0,
@@ -263,7 +261,7 @@ const fe = { key: 0 }, ge = { key: 1 }, pe = ["xmlns", "viewBox"], me = ["width"
263
261
  "font-size": e.value.style.labels.valueLabel.fontSize,
264
262
  "text-anchor": "middle",
265
263
  fill: e.value.style.labels.valueLabel.color
266
- }, p(t.valueLabel), 9, De)) : c("", !0)
264
+ }, p(t.valueLabel), 9, Ve)) : c("", !0)
267
265
  ]))), 256)),
268
266
  (a(!0), s(f, null, g(r.value, (t, o) => (a(), s("g", null, [
269
267
  t.timeLabel ? (a(), s("text", {
@@ -282,20 +280,20 @@ const fe = { key: 0 }, ge = { key: 1 }, pe = ["xmlns", "viewBox"], me = ["width"
282
280
  fill: "transparent",
283
281
  x: t.trapX,
284
282
  y: 0,
285
- onMouseover: (y) => u.value = o,
286
- onMouseleave: i[0] || (i[0] = (y) => u.value = null),
287
- stroke: u.value !== null && u.value === o ? e.value.style.selector.stroke : "",
288
- "stroke-width": u.value !== null && u.value === o ? e.value.style.selector.strokeWidth : 0,
283
+ onMouseover: (y) => i.value = o,
284
+ onMouseleave: u[0] || (u[0] = (y) => i.value = null),
285
+ stroke: i.value !== null && i.value === o ? e.value.style.selector.stroke : "",
286
+ "stroke-width": i.value !== null && i.value === o ? e.value.style.selector.strokeWidth : 0,
289
287
  rx: e.value.style.selector.borderRadius,
290
288
  "stroke-dasharray": e.value.style.selector.strokeDasharray,
291
- onClick: () => Y(t, o)
292
- }, null, 40, Ve)
289
+ onClick: () => T(t, o)
290
+ }, null, 40, Ee)
293
291
  ]))), 256))
294
- ], 8, pe)) : c("", !0),
295
- l.$slots.source ? (a(), s("div", Ee, [
292
+ ], 8, be)) : c("", !0),
293
+ l.$slots.source ? (a(), s("div", He, [
296
294
  I(l.$slots, "source", {}, void 0, !0)
297
295
  ], 512)) : c("", !0),
298
- S.value ? c("", !0) : (a(), D(de, {
296
+ S.value ? c("", !0) : (a(), V(n(R), {
299
297
  key: 3,
300
298
  config: {
301
299
  type: "sparkHistogram",
@@ -309,7 +307,7 @@ const fe = { key: 0 }, ge = { key: 1 }, pe = ["xmlns", "viewBox"], me = ["width"
309
307
  }, null, 8, ["config"]))
310
308
  ], 36));
311
309
  }
312
- }, Ge = /* @__PURE__ */ he(He, [["__scopeId", "data-v-c92ac914"]]);
310
+ }, Xe = /* @__PURE__ */ fe(Fe, [["__scopeId", "data-v-4d2045fb"]]);
313
311
  export {
314
- Ge as default
312
+ Xe as default
315
313
  };