vue-data-ui 2.12.5 → 2.12.7-beta.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 (112) hide show
  1. package/README.md +56 -1
  2. package/dist/{Arrow-CD7YT-M0.js → Arrow-CmqjRRUl.js} +1 -1
  3. package/dist/BaseDraggableDialog-BMlyvt7E.js +180 -0
  4. package/dist/{BaseIcon-CgSWwnK7.js → BaseIcon-CZdMutjs.js} +1 -1
  5. package/dist/{ColorPicker-w8R8Tqdv.js → ColorPicker-DvVKgyAl.js} +23 -24
  6. package/dist/{DataTable-CicthvOV.js → DataTable-Cv9CIz-a.js} +11 -11
  7. package/dist/{Legend-0UY0Mmli.js → Legend-DFunFf8i.js} +8 -8
  8. package/dist/NonSvgPenAndPaper-pVuHj6_A.js +467 -0
  9. package/dist/PackageVersion-CLY-udAA.js +10 -0
  10. package/dist/{PenAndPaper-DLsvRwoD.js → PenAndPaper-B9na2mbr.js} +8 -10
  11. package/dist/RecursiveCircles-Dn3TGoL6.js +96 -0
  12. package/dist/RecursiveLabels-NTMB9w5C.js +49 -0
  13. package/dist/RecursiveLinks-ld_gDZH4.js +64 -0
  14. package/dist/{Shape-DICeBEtN.js → Shape-D3w9qas1.js} +2 -2
  15. package/dist/{Slicer-D1nsbsWE.js → Slicer-ncY8krrM.js} +2 -2
  16. package/dist/SparkTooltip-CwThutH2.js +68 -0
  17. package/dist/{Title-xO1jFsSw.js → Title-B5qqUI3M.js} +2 -2
  18. package/dist/Tooltip-C9rxJ-Ru.js +149 -0
  19. package/dist/{usePrinter-CcgJXHIK.js → UserOptions-Ddy6CuLC.js} +172 -231
  20. package/dist/{dom-to-png-CS4NRYd_.js → dom-to-png-DDlooC9r.js} +1 -1
  21. package/dist/{img-CsXjm5I4.js → img-m9g7lR5d.js} +1 -1
  22. package/dist/{index-vjCxtaM0.js → index-BiHmNd1-.js} +153 -118
  23. package/dist/{pdf-DHexTTpK.js → pdf-BqM953uL.js} +1 -1
  24. package/dist/style.css +1 -1
  25. package/dist/types/vue-data-ui.d.cts +96 -2
  26. package/dist/types/vue-data-ui.d.ts +96 -2
  27. package/dist/useChartAccessibility-9icAAmYg.js +12 -0
  28. package/dist/useMouse-AicQS8Vf.js +13 -0
  29. package/dist/{useNestedProp-Du1hnYFA.js → useNestedProp-tRqS0ZAM.js} +1 -1
  30. package/dist/{usePanZoom-CUkkqW81.js → usePanZoom-BQMvRXEQ.js} +16 -17
  31. package/dist/usePrinter-CRCbl1WG.js +53 -0
  32. package/dist/vClickOutside-C6WiFswA.js +13 -0
  33. package/dist/{vue-data-ui-BOrA3Tc9.js → vue-data-ui-D9uTDt73.js} +63 -63
  34. package/dist/vue-data-ui.js +42 -40
  35. package/dist/{vue-ui-3d-bar-Z8yAd4bw.js → vue-ui-3d-bar-rtuSc8FS.js} +397 -402
  36. package/dist/{vue-ui-accordion-CAN430Oy.js → vue-ui-accordion-CmCs2yR2.js} +3 -3
  37. package/dist/{vue-ui-age-pyramid-C6PZU9Ez.js → vue-ui-age-pyramid-BrzMSiyu.js} +215 -218
  38. package/dist/{vue-ui-annotator-CqoDLx3t.js → vue-ui-annotator-CYxmTpf6.js} +2 -2
  39. package/dist/{vue-ui-bullet-DZC3aY3d.js → vue-ui-bullet-D25qNQfb.js} +137 -140
  40. package/dist/{vue-ui-candlestick-B5mq_lgW.js → vue-ui-candlestick-BuerNa-r.js} +265 -271
  41. package/dist/{vue-ui-carousel-table-CBwerU49.js → vue-ui-carousel-table-aN0HLsOO.js} +137 -137
  42. package/dist/{vue-ui-chestnut-COyOAY28.js → vue-ui-chestnut-oUj2ocsZ.js} +397 -400
  43. package/dist/{vue-ui-chord-Cw0F_jHM.js → vue-ui-chord-C4evlXYB.js} +356 -365
  44. package/dist/vue-ui-circle-pack-CWrNiKTY.js +656 -0
  45. package/dist/{vue-ui-cursor-CWXqmlVy.js → vue-ui-cursor-DgpSttlt.js} +2 -2
  46. package/dist/{vue-ui-dashboard-Ba2tF4md.js → vue-ui-dashboard-BN2ha1Eh.js} +62 -62
  47. package/dist/{vue-ui-digits-BV7yyUdY.js → vue-ui-digits-BhjAxXgm.js} +2 -2
  48. package/dist/vue-ui-donut-D3_z61HI.js +1291 -0
  49. package/dist/vue-ui-donut-evolution-oKtmZPx4.js +864 -0
  50. package/dist/{vue-ui-dumbbell-SDCcLJIc.js → vue-ui-dumbbell-C8Lokx-F.js} +265 -270
  51. package/dist/{vue-ui-flow-CrqGSDNK.js → vue-ui-flow-BVRkH0PS.js} +291 -300
  52. package/dist/{vue-ui-funnel-CcDOoxp8.js → vue-ui-funnel-DFxcmAB5.js} +216 -219
  53. package/dist/{vue-ui-galaxy-jlDp0DRJ.js → vue-ui-galaxy-CGE0hlBC.js} +227 -235
  54. package/dist/{vue-ui-gauge-8t8rWb1C.js → vue-ui-gauge-B48eMvOR.js} +240 -243
  55. package/dist/{vue-ui-gizmo-CFwdrMYP.js → vue-ui-gizmo-zTKNpjvv.js} +57 -58
  56. package/dist/{vue-ui-heatmap-BT-mIeZp.js → vue-ui-heatmap-UNfTt8SM.js} +239 -242
  57. package/dist/{vue-ui-history-plot-crLloc7J.js → vue-ui-history-plot-CbCWmvtg.js} +257 -262
  58. package/dist/{vue-ui-kpi-96v4ZIYo.js → vue-ui-kpi-Drf_lrlh.js} +29 -30
  59. package/dist/{vue-ui-mini-loader-rBHBxNIT.js → vue-ui-mini-loader-DU3G6BVs.js} +2 -2
  60. package/dist/vue-ui-molecule-B5MOXYEA.js +580 -0
  61. package/dist/{vue-ui-mood-radar-DrVSXIY4.js → vue-ui-mood-radar-CC_CVLvn.js} +180 -186
  62. package/dist/{vue-ui-nested-donuts-C9Ah9lgv.js → vue-ui-nested-donuts-D_H962kk.js} +366 -374
  63. package/dist/{vue-ui-onion-DwNPyn4X.js → vue-ui-onion-P8k6T724.js} +252 -258
  64. package/dist/{vue-ui-parallel-coordinate-plot-tSuK6xWu.js → vue-ui-parallel-coordinate-plot-B5Los0vX.js} +296 -303
  65. package/dist/{vue-ui-quadrant-C0Kaoo7K.js → vue-ui-quadrant-B3wzCTxK.js} +402 -409
  66. package/dist/{vue-ui-quick-chart-xMh_Ygct.js → vue-ui-quick-chart-oucj6hXk.js} +611 -616
  67. package/dist/{vue-ui-radar-C1jSDQt_.js → vue-ui-radar-Cjqlyu6d.js} +270 -277
  68. package/dist/{vue-ui-rating-6Kb7hsKF.js → vue-ui-rating-gryk_h_6.js} +2 -2
  69. package/dist/vue-ui-relation-circle-ielvWC-1.js +525 -0
  70. package/dist/{vue-ui-ridgeline-BBvPVQjC.js → vue-ui-ridgeline-Dydqo68b.js} +321 -326
  71. package/dist/{vue-ui-rings-B92cXv7f.js → vue-ui-rings-BRBXektJ.js} +262 -269
  72. package/dist/{vue-ui-scatter-Bt1aty87.js → vue-ui-scatter-Df-BM7Ts.js} +372 -379
  73. package/dist/{vue-ui-skeleton-DfOIDTJM.js → vue-ui-skeleton-CbYQYRvD.js} +19 -19
  74. package/dist/{vue-ui-smiley-sVgBnkbx.js → vue-ui-smiley-BfHaQMaW.js} +2 -2
  75. package/dist/{vue-ui-spark-trend-D6uzJ4Qd.js → vue-ui-spark-trend-z3fUChs_.js} +114 -117
  76. package/dist/{vue-ui-sparkbar-D4c2EE7J.js → vue-ui-sparkbar-ChtFIugH.js} +104 -106
  77. package/dist/{vue-ui-sparkgauge-DaQ6iz98.js → vue-ui-sparkgauge-DtpODCww.js} +72 -74
  78. package/dist/{vue-ui-sparkhistogram-D_YnmM2T.js → vue-ui-sparkhistogram-C3XnYiXI.js} +83 -86
  79. package/dist/vue-ui-sparkline-CoL8jiX8.js +459 -0
  80. package/dist/{vue-ui-sparkstackbar-DecnmqgJ.js → vue-ui-sparkstackbar-CYk3mZJH.js} +102 -105
  81. package/dist/{vue-ui-stackbar-D1eNs1j_.js → vue-ui-stackbar-D9LGbuG5.js} +433 -437
  82. package/dist/{vue-ui-strip-plot-iPZ8Hhmr.js → vue-ui-strip-plot-C5r1Ee2R.js} +245 -252
  83. package/dist/{vue-ui-table-BFjE28sw.js → vue-ui-table-DBaT_TfA.js} +3 -3
  84. package/dist/{vue-ui-table-heatmap-DipFDu39.js → vue-ui-table-heatmap-CYW4YfKN.js} +93 -94
  85. package/dist/{vue-ui-table-sparkline-CGAecOZh.js → vue-ui-table-sparkline-Di0MYR4p.js} +212 -212
  86. package/dist/{vue-ui-thermometer-Cx_yr-hs.js → vue-ui-thermometer-BF1btHY2.js} +154 -157
  87. package/dist/{vue-ui-timer-ClVmS8MH.js → vue-ui-timer-D9FfRWN5.js} +180 -181
  88. package/dist/vue-ui-tiremarks-CQ0lk8fJ.js +341 -0
  89. package/dist/vue-ui-treemap-1Lx7YRtc.js +947 -0
  90. package/dist/{vue-ui-vertical-bar-BHYCnFEN.js → vue-ui-vertical-bar-DdVVQ1ED.js} +397 -403
  91. package/dist/{vue-ui-waffle-DEPUbrOt.js → vue-ui-waffle-BhnuPiRD.js} +317 -324
  92. package/dist/vue-ui-wheel-BIjJ0fg8.js +335 -0
  93. package/dist/vue-ui-word-cloud-3-r8HwO_.js +642 -0
  94. package/dist/{vue-ui-world-DStJ5i0i.js → vue-ui-world-CPIGEswq.js} +430 -442
  95. package/dist/{vue-ui-xy-CEop49z6.js → vue-ui-xy-9e_epIN4.js} +845 -846
  96. package/dist/vue-ui-xy-canvas-DcGgQ7s4.js +1206 -0
  97. package/package.json +6 -6
  98. package/dist/BaseDraggableDialog-BjFEob7i.js +0 -186
  99. package/dist/PackageVersion-Cw2caN1c.js +0 -10
  100. package/dist/Tooltip-LKe8L-Mg.js +0 -158
  101. package/dist/useChartAccessibility-BWojgys7.js +0 -13
  102. package/dist/vue-ui-circle-pack-BtpaZLYs.js +0 -659
  103. package/dist/vue-ui-donut-CRdQFQgA.js +0 -1292
  104. package/dist/vue-ui-donut-evolution-De3-5OgR.js +0 -871
  105. package/dist/vue-ui-molecule-DSr_bHGG.js +0 -782
  106. package/dist/vue-ui-relation-circle-fh0Hl9m0.js +0 -528
  107. package/dist/vue-ui-sparkline-C2HuTMDz.js +0 -519
  108. package/dist/vue-ui-tiremarks-4Sa3RCSv.js +0 -344
  109. package/dist/vue-ui-treemap-CD5pPg7v.js +0 -956
  110. package/dist/vue-ui-wheel-qU0bgJsi.js +0 -338
  111. package/dist/vue-ui-word-cloud-z2ZguOdy.js +0 -648
  112. package/dist/vue-ui-xy-canvas-DV0BVdZb.js +0 -1673
@@ -1,16 +1,13 @@
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-vjCxtaM0.js";
3
- import { u as O } from "./useNestedProp-Du1hnYFA.js";
4
- import { _ as ve } from "./Shape-DICeBEtN.js";
5
- import de from "./vue-ui-skeleton-DfOIDTJM.js";
6
- import { _ as ce } from "./PackageVersion-Cw2caN1c.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 ae, computed as _, defineAsyncComponent as z, onMounted as se, ref as D, watch as oe, createElementBlock as s, openBlock as a, normalizeStyle as $, createCommentVNode as c, createBlock as V, createElementVNode as h, createTextVNode as ue, 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 ne, o as re, e as H, g as ve, c as de, a as ce, s as b, i as F, f as O, X as ye, w as S } from "./index-BiHmNd1-.js";
3
+ import { u as W } from "./useNestedProp-tRqS0ZAM.js";
4
+ import { u as he } from "./useChartAccessibility-9icAAmYg.js";
5
+ import { _ as fe } from "./_plugin-vue_export-helper-CHgC5LLL.js";
6
+ 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
7
  key: 2,
11
8
  ref: "source",
12
9
  dir: "auto"
13
- }, He = {
10
+ }, Fe = {
14
11
  __name: "vue-ui-sparkhistogram",
15
12
  props: {
16
13
  config: {
@@ -27,24 +24,24 @@ const fe = { key: 0 }, ge = { key: 1 }, pe = ["xmlns", "viewBox"], me = ["width"
27
24
  }
28
25
  },
29
26
  emits: ["selectDatapoint"],
30
- setup(W, { emit: B }) {
31
- Z((l) => ({
32
- "40b52890": q.value
27
+ setup(B, { emit: U }) {
28
+ ae((l) => ({
29
+ "752d6a86": K.value
33
30
  }));
34
- const { vue_ui_sparkhistogram: U } = se(), d = W, S = _(() => !!d.dataset && d.dataset.length);
35
- ee(() => {
36
- A();
31
+ const j = z(() => import("./PackageVersion-CLY-udAA.js")), R = z(() => import("./Shape-D3w9qas1.js")), X = z(() => import("./vue-ui-skeleton-CbYQYRvD.js")), { vue_ui_sparkhistogram: G } = ne(), d = B, A = _(() => !!d.dataset && d.dataset.length);
32
+ se(() => {
33
+ M();
37
34
  });
38
- function A() {
39
- oe(d.dataset) ? E({
35
+ function M() {
36
+ re(d.dataset) ? H({
40
37
  componentName: "VueUiSparkHistogram",
41
38
  type: "dataset"
42
39
  }) : d.dataset.forEach((l, i) => {
43
- ue({
40
+ ve({
44
41
  datasetObject: l,
45
42
  requiredAttributes: ["value"]
46
43
  }).forEach((t) => {
47
- E({
44
+ H({
48
45
  componentName: "VueUiSparkHistogram",
49
46
  type: "datasetSerieAttribute",
50
47
  property: t,
@@ -53,24 +50,24 @@ const fe = { key: 0 }, ge = { key: 1 }, pe = ["xmlns", "viewBox"], me = ["width"
53
50
  });
54
51
  });
55
52
  }
56
- const b = N(ie()), e = _({
57
- get: () => M(),
53
+ const m = D(de()), e = _({
54
+ get: () => N(),
58
55
  set: (l) => l
59
- }), { svgRef: j } = ye({ config: e.value.style.title });
60
- function M() {
61
- const l = O({
56
+ }), { svgRef: Y } = he({ config: e.value.style.title });
57
+ function N() {
58
+ const l = W({
62
59
  userConfig: d.config,
63
- defaultConfig: U
60
+ defaultConfig: G
64
61
  });
65
62
  return l.theme ? {
66
- ...O({
67
- userConfig: re.vue_ui_sparkhistogram[l.theme] || d.config,
63
+ ...W({
64
+ userConfig: ce.vue_ui_sparkhistogram[l.theme] || d.config,
68
65
  defaultConfig: l
69
66
  })
70
67
  } : l;
71
68
  }
72
- te(() => d.config, (l) => {
73
- e.value = M(), A();
69
+ oe(() => d.config, (l) => {
70
+ e.value = N(), M();
74
71
  }, { deep: !0 });
75
72
  const v = _(() => {
76
73
  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;
@@ -85,32 +82,32 @@ const fe = { key: 0 }, ge = { key: 1 }, pe = ["xmlns", "viewBox"], me = ["width"
85
82
  top: t,
86
83
  width: i
87
84
  };
88
- }), R = _(() => Math.max(...d.dataset.map((l) => Math.abs(l.value || 0))));
89
- function X(l) {
90
- return Math.abs(l) / R.value;
85
+ }), q = _(() => Math.max(...d.dataset.map((l) => Math.abs(l.value || 0))));
86
+ function P(l) {
87
+ return Math.abs(l) / q.value;
91
88
  }
92
89
  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 t = P(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), Q = v.value.left + i * y, L = typeof l.intensity > "u" ? 100 : Math.round(l.intensity * 100), Z = l.color ? l.color : l.value >= 0 ? b(e.value.style.bars.colors.positive, L) : b(e.value.style.bars.colors.negative, L), ee = l.color ? l.color : l.value >= 0 ? e.value.style.bars.colors.positive : e.value.style.bars.colors.negative, te = l.color ? `url(#gradient_datapoint_${i}_${m.value})` : l.value >= 0 ? `url(#gradient_positive_${i}_${m.value})` : `url(#gradient_negative_${i}_${m.value})`, le = w + k / 2;
94
91
  return {
95
92
  ...l,
96
- color: P,
97
- gradient: K,
93
+ color: Z,
94
+ gradient: te,
98
95
  height: o,
99
96
  intensity: L,
100
97
  proportion: t,
101
- stroke: J,
102
- textAnchor: Q,
103
- trapX: T,
98
+ stroke: ee,
99
+ textAnchor: le,
100
+ trapX: Q,
104
101
  unitWidth: y,
105
102
  width: k,
106
103
  x: w,
107
104
  y: C
108
105
  };
109
- })), u = N(null), G = B;
110
- function Y(l, i) {
111
- G("selectDatapoint", { datapoint: l, index: i });
106
+ })), u = D(null), T = U;
107
+ function J(l, i) {
108
+ T("selectDatapoint", { datapoint: l, index: i });
112
109
  }
113
- const q = _(() => `${e.value.style.animation.speedMs}ms`);
110
+ const K = _(() => `${e.value.style.animation.speedMs}ms`);
114
111
  return (l, i) => (a(), s("div", {
115
112
  class: "vue-ui-spark-histogram",
116
113
  style: $(`width:100%;background:${e.value.style.backgroundColor};font-family:${e.value.style.fontFamily}`),
@@ -123,11 +120,11 @@ const fe = { key: 0 }, ge = { key: 1 }, pe = ["xmlns", "viewBox"], me = ["width"
123
120
  h("div", {
124
121
  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
122
  }, [
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)(
123
+ ue(p(e.value.style.title.text) + " ", 1),
124
+ u.value !== null ? (a(), s("span", ge, "- " + p(r.value[u.value].timeLabel || "") + " " + p(n(F)(
128
125
  e.value.style.labels.value.formatter,
129
126
  r.value[u.value].value,
130
- n(F)({
127
+ n(O)({
131
128
  p: e.value.style.labels.value.prefix,
132
129
  v: r.value[u.value].value,
133
130
  s: e.value.style.labels.value.suffix,
@@ -135,22 +132,22 @@ const fe = { key: 0 }, ge = { key: 1 }, pe = ["xmlns", "viewBox"], me = ["width"
135
132
  }),
136
133
  { datapoint: r.value[u.value], seriesIndex: u.value }
137
134
  )), 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)
135
+ ![void 0, null].includes(u.value) && ![null, void 0].includes(r.value[u.value].valueLabel) ? (a(), s("span", pe, "(" + p(r.value[u.value].valueLabel || 0) + ")", 1)) : c("", !0)
139
136
  ], 4),
140
137
  e.value.style.title.subtitle.text ? (a(), s("div", {
141
138
  key: 0,
142
139
  style: $(`font-size:${e.value.style.title.subtitle.fontSize}px;color:${e.value.style.title.subtitle.color};font-weight:${e.value.style.title.subtitle.bold ? "bold" : "normal"}`)
143
140
  }, p(e.value.style.title.subtitle.text), 5)) : c("", !0)
144
141
  ], 4)) : c("", !0),
145
- S.value ? (a(), s("svg", {
142
+ A.value ? (a(), s("svg", {
146
143
  key: 1,
147
144
  ref_key: "svgRef",
148
- ref: j,
149
- xmlns: n(ne),
145
+ ref: Y,
146
+ xmlns: n(ye),
150
147
  viewBox: `0 0 ${v.value.width} ${v.value.height}`,
151
148
  style: { overflow: "visible" }
152
149
  }, [
153
- ae(ce),
150
+ ie(n(j)),
154
151
  l.$slots["chart-background"] ? (a(), s("foreignObject", {
155
152
  key: 0,
156
153
  x: 0,
@@ -165,7 +162,7 @@ const fe = { key: 0 }, ge = { key: 1 }, pe = ["xmlns", "viewBox"], me = ["width"
165
162
  ], 8, me)) : c("", !0),
166
163
  h("defs", null, [
167
164
  (a(!0), s(f, null, g(r.value, (t, o) => (a(), s("radialGradient", {
168
- id: `gradient_positive_${o}_${b.value}`,
165
+ id: `gradient_positive_${o}_${m.value}`,
169
166
  cy: "50%",
170
167
  cx: "50%",
171
168
  r: "50%",
@@ -174,15 +171,15 @@ const fe = { key: 0 }, ge = { key: 1 }, pe = ["xmlns", "viewBox"], me = ["width"
174
171
  }, [
175
172
  h("stop", {
176
173
  offset: "0%",
177
- "stop-color": n(m)(n(z)(e.value.style.bars.colors.positive, 0.05), t.intensity)
178
- }, null, 8, _e),
174
+ "stop-color": n(b)(n(S)(e.value.style.bars.colors.positive, 0.05), t.intensity)
175
+ }, null, 8, xe),
179
176
  h("stop", {
180
177
  offset: "100%",
181
- "stop-color": n(m)(e.value.style.bars.colors.positive, t.intensity)
182
- }, null, 8, xe)
183
- ], 8, be))), 256)),
178
+ "stop-color": n(b)(e.value.style.bars.colors.positive, t.intensity)
179
+ }, null, 8, ke)
180
+ ], 8, _e))), 256)),
184
181
  (a(!0), s(f, null, g(r.value, (t, o) => (a(), s("radialGradient", {
185
- id: `gradient_negative_${o}_${b.value}`,
182
+ id: `gradient_negative_${o}_${m.value}`,
186
183
  cy: "50%",
187
184
  cx: "50%",
188
185
  r: "50%",
@@ -191,15 +188,15 @@ const fe = { key: 0 }, ge = { key: 1 }, pe = ["xmlns", "viewBox"], me = ["width"
191
188
  }, [
192
189
  h("stop", {
193
190
  offset: "0%",
194
- "stop-color": n(m)(n(z)(e.value.style.bars.colors.negative, 0.05), t.intensity)
195
- }, null, 8, we),
191
+ "stop-color": n(b)(n(S)(e.value.style.bars.colors.negative, 0.05), t.intensity)
192
+ }, null, 8, $e),
196
193
  h("stop", {
197
194
  offset: "100%",
198
- "stop-color": n(m)(e.value.style.bars.colors.negative, t.intensity)
199
- }, null, 8, $e)
200
- ], 8, ke))), 256)),
195
+ "stop-color": n(b)(e.value.style.bars.colors.negative, t.intensity)
196
+ }, null, 8, Ce)
197
+ ], 8, we))), 256)),
201
198
  (a(!0), s(f, null, g(r.value, (t, o) => (a(), s("radialGradient", {
202
- id: `gradient_datapoint_${o}_${b.value}`,
199
+ id: `gradient_datapoint_${o}_${m.value}`,
203
200
  cy: "50%",
204
201
  cx: "50%",
205
202
  r: "50%",
@@ -208,15 +205,15 @@ const fe = { key: 0 }, ge = { key: 1 }, pe = ["xmlns", "viewBox"], me = ["width"
208
205
  }, [
209
206
  h("stop", {
210
207
  offset: "0%",
211
- "stop-color": n(m)(n(z)(t.color, 0.05), t.intensity)
212
- }, null, 8, Le),
208
+ "stop-color": n(b)(n(S)(t.color, 0.05), t.intensity)
209
+ }, null, 8, ze),
213
210
  h("stop", {
214
211
  offset: "100%",
215
- "stop-color": n(m)(t.color, t.intensity)
216
- }, null, 8, ze)
217
- ], 8, Ce))), 256))
212
+ "stop-color": n(b)(t.color, t.intensity)
213
+ }, null, 8, Se)
214
+ ], 8, Le))), 256))
218
215
  ]),
219
- !e.value.style.bars.shape || e.value.style.bars.shape === "square" ? (a(), s("g", Se, [
216
+ !e.value.style.bars.shape || e.value.style.bars.shape === "square" ? (a(), s("g", Ae, [
220
217
  (a(!0), s(f, null, g(r.value, (t, o) => (a(), s("rect", {
221
218
  x: t.x,
222
219
  y: t.y,
@@ -226,15 +223,15 @@ const fe = { key: 0 }, ge = { key: 1 }, pe = ["xmlns", "viewBox"], me = ["width"
226
223
  stroke: t.stroke,
227
224
  "stroke-width": e.value.style.bars.strokeWidth,
228
225
  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, {
226
+ class: E({ "vue-ui-sparkhistogram-shape": e.value.style.animation.show })
227
+ }, null, 10, Me))), 256))
228
+ ])) : (a(), s("g", Ne, [
229
+ (a(!0), s(f, null, g(r.value, (t, o) => (a(), V(n(R), {
233
230
  plot: { x: t.x + t.width / 2, y: t.y + t.height / 2 },
234
231
  color: e.value.style.bars.colors.gradient.show ? t.gradient : t.color,
235
232
  shape: e.value.style.bars.shape,
236
233
  radius: t.height * 0.4,
237
- class: V({ "vue-ui-sparkhistogram-shape": e.value.style.animation.show })
234
+ class: E({ "vue-ui-sparkhistogram-shape": e.value.style.animation.show })
238
235
  }, null, 8, ["plot", "color", "shape", "radius", "class"]))), 256))
239
236
  ])),
240
237
  (a(!0), s(f, null, g(r.value, (t, o) => (a(), s("text", {
@@ -244,17 +241,17 @@ const fe = { key: 0 }, ge = { key: 1 }, pe = ["xmlns", "viewBox"], me = ["width"
244
241
  "font-size": e.value.style.labels.value.fontSize,
245
242
  "font-weight": e.value.style.labels.value.bold ? "bold" : "normal",
246
243
  fill: e.value.style.labels.value.color
247
- }, p(n(H)(
244
+ }, p(n(F)(
248
245
  e.value.style.labels.value.formatter,
249
246
  t.value,
250
- n(F)({
247
+ n(O)({
251
248
  p: e.value.style.labels.value.prefix,
252
249
  v: t.value,
253
250
  s: e.value.style.labels.value.suffix,
254
251
  r: e.value.style.labels.value.rounding
255
252
  }),
256
253
  { datapoint: r.value[u.value], seriesIndex: u.value }
257
- )), 9, Ne))), 256)),
254
+ )), 9, De))), 256)),
258
255
  (a(!0), s(f, null, g(r.value, (t, o) => (a(), s("g", null, [
259
256
  t.valueLabel ? (a(), s("text", {
260
257
  key: 0,
@@ -263,7 +260,7 @@ const fe = { key: 0 }, ge = { key: 1 }, pe = ["xmlns", "viewBox"], me = ["width"
263
260
  "font-size": e.value.style.labels.valueLabel.fontSize,
264
261
  "text-anchor": "middle",
265
262
  fill: e.value.style.labels.valueLabel.color
266
- }, p(t.valueLabel), 9, De)) : c("", !0)
263
+ }, p(t.valueLabel), 9, Ve)) : c("", !0)
267
264
  ]))), 256)),
268
265
  (a(!0), s(f, null, g(r.value, (t, o) => (a(), s("g", null, [
269
266
  t.timeLabel ? (a(), s("text", {
@@ -288,14 +285,14 @@ const fe = { key: 0 }, ge = { key: 1 }, pe = ["xmlns", "viewBox"], me = ["width"
288
285
  "stroke-width": u.value !== null && u.value === o ? e.value.style.selector.strokeWidth : 0,
289
286
  rx: e.value.style.selector.borderRadius,
290
287
  "stroke-dasharray": e.value.style.selector.strokeDasharray,
291
- onClick: () => Y(t, o)
292
- }, null, 40, Ve)
288
+ onClick: () => J(t, o)
289
+ }, null, 40, Ee)
293
290
  ]))), 256))
294
- ], 8, pe)) : c("", !0),
295
- l.$slots.source ? (a(), s("div", Ee, [
291
+ ], 8, be)) : c("", !0),
292
+ l.$slots.source ? (a(), s("div", He, [
296
293
  I(l.$slots, "source", {}, void 0, !0)
297
294
  ], 512)) : c("", !0),
298
- S.value ? c("", !0) : (a(), D(de, {
295
+ A.value ? c("", !0) : (a(), V(n(X), {
299
296
  key: 3,
300
297
  config: {
301
298
  type: "sparkHistogram",
@@ -309,7 +306,7 @@ const fe = { key: 0 }, ge = { key: 1 }, pe = ["xmlns", "viewBox"], me = ["width"
309
306
  }, null, 8, ["config"]))
310
307
  ], 36));
311
308
  }
312
- }, Ge = /* @__PURE__ */ he(He, [["__scopeId", "data-v-c92ac914"]]);
309
+ }, Re = /* @__PURE__ */ fe(Fe, [["__scopeId", "data-v-673e26a2"]]);
313
310
  export {
314
- Ge as default
311
+ Re as default
315
312
  };