vue-data-ui 3.22.11 → 3.22.13

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 (148) hide show
  1. package/dist/{PackageVersion-1MNr72Bz.js → PackageVersion-B6Hokxw9.js} +1 -1
  2. package/dist/{SlicerPreview-BIdvqU32.js → SlicerPreview-Cw6WMVhG.js} +434 -434
  3. package/dist/{UserOptions-B69xBEVP.js → UserOptions-DzAFK9cY.js} +438 -438
  4. package/dist/components/vue-ui-3d-bar.js +1 -1
  5. package/dist/components/vue-ui-accordion.js +1 -1
  6. package/dist/components/vue-ui-age-pyramid.js +1 -1
  7. package/dist/components/vue-ui-annotator.js +1 -1
  8. package/dist/components/vue-ui-bullet.js +1 -1
  9. package/dist/components/vue-ui-bump.js +1 -1
  10. package/dist/components/vue-ui-candlestick.js +1 -1
  11. package/dist/components/vue-ui-carousel-table.js +1 -1
  12. package/dist/components/vue-ui-chestnut.js +1 -1
  13. package/dist/components/vue-ui-chord.js +1 -1
  14. package/dist/components/vue-ui-circle-pack.js +1 -1
  15. package/dist/components/vue-ui-cursor.js +1 -1
  16. package/dist/components/vue-ui-dag.js +1 -1
  17. package/dist/components/vue-ui-dashboard.js +1 -1
  18. package/dist/components/vue-ui-digits.js +1 -1
  19. package/dist/components/vue-ui-donut-evolution.js +1 -1
  20. package/dist/components/vue-ui-donut.js +1 -1
  21. package/dist/components/vue-ui-dumbbell.js +1 -1
  22. package/dist/components/vue-ui-flow.js +1 -1
  23. package/dist/components/vue-ui-funnel.js +1 -1
  24. package/dist/components/vue-ui-galaxy.js +1 -1
  25. package/dist/components/vue-ui-gauge.js +1 -1
  26. package/dist/components/vue-ui-geo.js +1 -1
  27. package/dist/components/vue-ui-gizmo.js +1 -1
  28. package/dist/components/vue-ui-heatmap.js +1 -1
  29. package/dist/components/vue-ui-history-plot.js +1 -1
  30. package/dist/components/vue-ui-horizontal-bar.js +1 -1
  31. package/dist/components/vue-ui-kpi.js +1 -1
  32. package/dist/components/vue-ui-molecule.js +1 -1
  33. package/dist/components/vue-ui-mood-radar.js +1 -1
  34. package/dist/components/vue-ui-nested-donuts.js +1 -1
  35. package/dist/components/vue-ui-onion.js +1 -1
  36. package/dist/components/vue-ui-parallel-coordinate-plot.js +1 -1
  37. package/dist/components/vue-ui-quadrant.js +1 -1
  38. package/dist/components/vue-ui-quick-chart.js +1 -1
  39. package/dist/components/vue-ui-radar.js +1 -1
  40. package/dist/components/vue-ui-relation-circle.js +1 -1
  41. package/dist/components/vue-ui-ridgeline.js +1 -1
  42. package/dist/components/vue-ui-rings.js +1 -1
  43. package/dist/components/vue-ui-scatter.js +1 -1
  44. package/dist/components/vue-ui-skeleton.js +1 -1
  45. package/dist/components/vue-ui-spark-trend.js +1 -1
  46. package/dist/components/vue-ui-sparkbar.js +1 -1
  47. package/dist/components/vue-ui-sparkgauge.js +1 -1
  48. package/dist/components/vue-ui-sparkhistogram.js +1 -1
  49. package/dist/components/vue-ui-sparkline.js +1 -1
  50. package/dist/components/vue-ui-sparkstackbar.js +1 -1
  51. package/dist/components/vue-ui-stackbar.js +1 -1
  52. package/dist/components/vue-ui-stackline.js +1 -1
  53. package/dist/components/vue-ui-strip-plot.js +1 -1
  54. package/dist/components/vue-ui-table-heatmap.js +1 -1
  55. package/dist/components/vue-ui-table-sparkline.js +1 -1
  56. package/dist/components/vue-ui-table.js +1 -1
  57. package/dist/components/vue-ui-thermometer.js +1 -1
  58. package/dist/components/vue-ui-timer.js +1 -1
  59. package/dist/components/vue-ui-tiremarks.js +1 -1
  60. package/dist/components/vue-ui-treemap.js +1 -1
  61. package/dist/components/vue-ui-vertical-bar.js +1 -1
  62. package/dist/components/vue-ui-waffle.js +1 -1
  63. package/dist/components/vue-ui-wheel.js +1 -1
  64. package/dist/components/vue-ui-word-cloud.js +1 -1
  65. package/dist/components/vue-ui-world.js +1 -1
  66. package/dist/components/vue-ui-xy-canvas.js +1 -1
  67. package/dist/components/vue-ui-xy.js +1 -1
  68. package/dist/{package-Bf-Nk9qU.js → package-DmDydylu.js} +1 -1
  69. package/dist/{render-common-DEb-WjM1.js → render-common-BIG8JYGK.js} +1 -1
  70. package/dist/ssr/vue-ui-donut.js +1 -1
  71. package/dist/ssr/vue-ui-xy.js +1 -1
  72. package/dist/ssr.js +2 -2
  73. package/dist/style.css +1 -1
  74. package/dist/types/composables.d.ts +28 -11
  75. package/dist/types/vue-data-ui.d.ts +26 -9
  76. package/dist/useMountedDelay-BAjrhRJb.js +14 -0
  77. package/dist/{vue-data-ui-Bme9usjG.js → vue-data-ui-rkzh6EkO.js} +64 -64
  78. package/dist/vue-data-ui.js +64 -64
  79. package/dist/{vue-ui-3d-bar-Ds1BPxqb.js → vue-ui-3d-bar-D5xHEWr1.js} +1 -1
  80. package/dist/vue-ui-accordion-UA88lv4d.js +81 -0
  81. package/dist/{vue-ui-age-pyramid-CNCrH8Kd.js → vue-ui-age-pyramid-CAJg01c7.js} +1 -1
  82. package/dist/{vue-ui-annotator-BfZ8RTzJ.js → vue-ui-annotator-q3ZKx6ua.js} +1 -1
  83. package/dist/{vue-ui-bullet-DscMmM2b.js → vue-ui-bullet-ByeaWGfI.js} +1 -1
  84. package/dist/{vue-ui-bump-BvwU1_-N.js → vue-ui-bump-BS7RCf0Z.js} +1 -1
  85. package/dist/{vue-ui-candlestick-Cp6r8ktf.js → vue-ui-candlestick-BZSGDKrM.js} +470 -470
  86. package/dist/{vue-ui-carousel-table-CbtccW1g.js → vue-ui-carousel-table-DO5NRXvX.js} +1 -1
  87. package/dist/{vue-ui-chestnut-C3Hmf1-m.js → vue-ui-chestnut-BfeSPeEh.js} +1 -1
  88. package/dist/{vue-ui-chord-DJk9j45J.js → vue-ui-chord-D6G7ceE-.js} +1 -1
  89. package/dist/{vue-ui-circle-pack-CJe2wETT.js → vue-ui-circle-pack-Cqmlw7AV.js} +3 -6
  90. package/dist/{vue-ui-cursor-BAi9omna.js → vue-ui-cursor-BpN5MsXM.js} +1 -1
  91. package/dist/{vue-ui-dag-D7BEbS71.js → vue-ui-dag-BzgOgXzU.js} +1 -1
  92. package/dist/{vue-ui-dashboard-BYFQjwgC.js → vue-ui-dashboard-DLvGJXJY.js} +63 -64
  93. package/dist/{vue-ui-digits-Bx8nZl9d.js → vue-ui-digits-OMPrn8fb.js} +1 -1
  94. package/dist/{vue-ui-donut-BUX4ybT6.js → vue-ui-donut-Cp5NbZ1r.js} +1 -1
  95. package/dist/{vue-ui-donut-jXRV-3ON.js → vue-ui-donut-ZIRebAWc.js} +1 -1
  96. package/dist/{vue-ui-donut-evolution-MWDjQPQ5.js → vue-ui-donut-evolution-DHVi5rOn.js} +351 -355
  97. package/dist/{vue-ui-dumbbell-CnwsHaIy.js → vue-ui-dumbbell-gDYjU2oF.js} +1 -1
  98. package/dist/{vue-ui-flow-CKXGk4Lm.js → vue-ui-flow-BusUK3H0.js} +1 -1
  99. package/dist/{vue-ui-funnel-CJwD7s7e.js → vue-ui-funnel-BtaYaU0r.js} +1 -1
  100. package/dist/{vue-ui-galaxy-DL85_SWR.js → vue-ui-galaxy-BMp-HzDh.js} +1 -1
  101. package/dist/{vue-ui-gauge-Dkx-aUQr.js → vue-ui-gauge-CBou0cFE.js} +1 -1
  102. package/dist/{vue-ui-geo-fkLF1rHB.js → vue-ui-geo-CyFgFKlh.js} +1 -1
  103. package/dist/{vue-ui-gizmo-S8w_p769.js → vue-ui-gizmo-DdeXwCQp.js} +1 -1
  104. package/dist/{vue-ui-heatmap-Dopkbn2N.js → vue-ui-heatmap-D8-qJ7fg.js} +2 -2
  105. package/dist/{vue-ui-history-plot-DDYpEapS.js → vue-ui-history-plot-C2Aqk2ON.js} +1 -1
  106. package/dist/{vue-ui-horizontal-bar-Bi8WvKeD.js → vue-ui-horizontal-bar-BuwxI7d1.js} +2 -2
  107. package/dist/{vue-ui-kpi-BeJ-ajaS.js → vue-ui-kpi-ByxoO01r.js} +1 -1
  108. package/dist/{vue-ui-molecule-CBTgGZ-s.js → vue-ui-molecule-BqJJq49_.js} +1 -1
  109. package/dist/{vue-ui-mood-radar-CF83PcCx.js → vue-ui-mood-radar-BiOjxFEN.js} +1 -1
  110. package/dist/{vue-ui-nested-donuts-D5dO-Uyg.js → vue-ui-nested-donuts-Cl1HVvDp.js} +1 -1
  111. package/dist/{vue-ui-onion-BxjaQKo8.js → vue-ui-onion-CRQOxurS.js} +1 -1
  112. package/dist/{vue-ui-parallel-coordinate-plot-Dz6ozRAM.js → vue-ui-parallel-coordinate-plot-Dhn18RtR.js} +298 -301
  113. package/dist/{vue-ui-quadrant-Bnxpa6m5.js → vue-ui-quadrant-B21LkUc8.js} +1 -1
  114. package/dist/{vue-ui-quick-chart-CAE0-NYj.js → vue-ui-quick-chart-DAhSXYnp.js} +600 -625
  115. package/dist/{vue-ui-radar-O4BhBOyp.js → vue-ui-radar-CyzAyVos.js} +1 -1
  116. package/dist/{vue-ui-relation-circle-BZ0Xf-Nc.js → vue-ui-relation-circle-Cb33DMZo.js} +5 -11
  117. package/dist/{vue-ui-ridgeline-DHVTPiM6.js → vue-ui-ridgeline-D7aArzQk.js} +1 -1
  118. package/dist/{vue-ui-rings-DAfY1V--.js → vue-ui-rings-FtcdX8xl.js} +1 -1
  119. package/dist/vue-ui-scatter-Cp_-2ahf.js +2409 -0
  120. package/dist/{vue-ui-skeleton-DoIqQtIV.js → vue-ui-skeleton-COytVrfN.js} +1 -1
  121. package/dist/{vue-ui-spark-trend-Db-FsXch.js → vue-ui-spark-trend-DC2KUlEY.js} +1 -1
  122. package/dist/{vue-ui-sparkbar-Ce55FP_3.js → vue-ui-sparkbar-DdxQOFIF.js} +48 -51
  123. package/dist/{vue-ui-sparkgauge-hB59dXm7.js → vue-ui-sparkgauge-DTA-fORH.js} +1 -1
  124. package/dist/{vue-ui-sparkhistogram-DjnaStBw.js → vue-ui-sparkhistogram-D1oFTrvt.js} +1 -1
  125. package/dist/{vue-ui-sparkline-D1dyhLvG.js → vue-ui-sparkline-DcR_N-zT.js} +1 -1
  126. package/dist/{vue-ui-sparkstackbar-BhOBFjts.js → vue-ui-sparkstackbar-BlFio0lP.js} +1 -1
  127. package/dist/vue-ui-stackbar-Cu13EdVa.js +2322 -0
  128. package/dist/{vue-ui-stackline-DLFNVbAz.js → vue-ui-stackline-DKL0o_-3.js} +572 -570
  129. package/dist/vue-ui-strip-plot-NLCwYvyw.js +1736 -0
  130. package/dist/{vue-ui-table-DL_R4ppI.js → vue-ui-table-AM9brdwU.js} +2 -2
  131. package/dist/{vue-ui-table-heatmap-C9gF__Np.js → vue-ui-table-heatmap-CSI482KG.js} +4 -10
  132. package/dist/{vue-ui-table-sparkline-CT-0w9-a.js → vue-ui-table-sparkline-BE6DAvur.js} +1 -1
  133. package/dist/{vue-ui-thermometer-MP0dliC3.js → vue-ui-thermometer-D6Czx7Fb.js} +1 -1
  134. package/dist/{vue-ui-timer-B5S-6Da4.js → vue-ui-timer-BZM5ITG9.js} +1 -1
  135. package/dist/{vue-ui-tiremarks-DcJiLDsm.js → vue-ui-tiremarks-BCncDpHX.js} +1 -1
  136. package/dist/{vue-ui-treemap-CjldCPnX.js → vue-ui-treemap-BOEYCOdk.js} +3 -6
  137. package/dist/{vue-ui-waffle-dZM-9z1J.js → vue-ui-waffle-BrM8IHdG.js} +1 -1
  138. package/dist/{vue-ui-wheel-or7a6-Ce.js → vue-ui-wheel-BNsajigQ.js} +1 -1
  139. package/dist/{vue-ui-word-cloud-8BwQ0cuB.js → vue-ui-word-cloud-D7R7nhk1.js} +1 -1
  140. package/dist/{vue-ui-world-Q0KZb7A_.js → vue-ui-world-DZBt-07p.js} +1 -1
  141. package/dist/{vue-ui-xy-DZIs53tH.js → vue-ui-xy-CluEZ7lS.js} +1253 -1251
  142. package/dist/{vue-ui-xy-4uzwZJcj.js → vue-ui-xy-Dt_1bSBT.js} +1 -1
  143. package/dist/{vue-ui-xy-canvas-Dz9aii7f.js → vue-ui-xy-canvas-7YSYRdwr.js} +3 -3
  144. package/package.json +2 -2
  145. package/dist/vue-ui-accordion-nNxnZTg9.js +0 -81
  146. package/dist/vue-ui-scatter-Cb63SWJT.js +0 -2421
  147. package/dist/vue-ui-stackbar-BZKw8WYn.js +0 -2340
  148. package/dist/vue-ui-strip-plot-DyN2WELD.js +0 -1735
@@ -4,7 +4,7 @@ import { t as ee } from "./useConfig-C0V0eG7L.js";
4
4
  import { t as te } from "./useNestedProp-BY6DNN3i.js";
5
5
  import { t as a } from "./_plugin-vue_export-helper-B3ysoDQm.js";
6
6
  import { t as ne } from "./DefGrad-DVBqDjhO.js";
7
- import { n as o } from "./PackageVersion-1MNr72Bz.js";
7
+ import { n as o } from "./PackageVersion-B6Hokxw9.js";
8
8
  import { Fragment as s, computed as c, createCommentVNode as l, createElementBlock as u, createElementVNode as d, createStaticVNode as f, createVNode as p, normalizeClass as re, normalizeStyle as m, openBlock as h, ref as g, renderList as _, unref as v } from "vue";
9
9
  //#region src/components/vue-ui-skeleton.vue
10
10
  var y = /* @__PURE__ */ e({ default: () => K }), ie = ["id"], ae = ["xmlns"], oe = { transform: "translate(300, 300)" }, se = [
@@ -63,7 +63,7 @@ var b = /* @__PURE__ */ e({ default: () => x }), Se = ["id", "aria-describedby"]
63
63
  }
64
64
  },
65
65
  setup(e) {
66
- let l = ve(() => import("./PackageVersion-1MNr72Bz.js").then((e) => e.t)), { vue_ui_spark_trend: b } = ae(), { isThemeValid: x, warnInvalidTheme: Le } = ce(), S = fe(), C = e, w = h(null), T = h(null), E = h(null), D = h(null), O = h(null), k = h(!1), A = h(null), j = h(n()), M = h(I()), Re = u(() => re({
66
+ let l = ve(() => import("./PackageVersion-B6Hokxw9.js").then((e) => e.t)), { vue_ui_spark_trend: b } = ae(), { isThemeValid: x, warnInvalidTheme: Le } = ce(), S = fe(), C = e, w = h(null), T = h(null), E = h(null), D = h(null), O = h(null), k = h(!1), A = h(null), j = h(n()), M = h(I()), Re = u(() => re({
67
67
  defaultConfig: { style: {
68
68
  animation: { show: !1 },
69
69
  backgroundColor: "#99999930",
@@ -7,35 +7,35 @@ import { t as se } from "./useThemeCheck-C43Tcqmk.js";
7
7
  import { t as f } from "./DefGrad-DVBqDjhO.js";
8
8
  import { t as ce } from "./usePrefersMotion-BC-CsqR1.js";
9
9
  import { t as le } from "./vue_ui_sparkbar-z6qO--Kf.js";
10
- import { Fragment as p, computed as m, createBlock as ue, createCommentVNode as h, createElementBlock as g, createElementVNode as _, createVNode as v, defineAsyncComponent as y, mergeProps as b, nextTick as de, normalizeProps as x, normalizeStyle as S, onMounted as C, openBlock as w, ref as T, renderList as fe, renderSlot as E, toDisplayString as D, toRefs as pe, unref as O, useSlots as me, watch as k } from "vue";
10
+ import { Fragment as p, computed as m, createBlock as ue, createCommentVNode as h, createElementBlock as g, createElementVNode as _, createVNode as v, defineAsyncComponent as y, guardReactiveProps as de, mergeProps as b, nextTick as fe, normalizeProps as x, normalizeStyle as S, onMounted as C, openBlock as w, ref as T, renderList as pe, renderSlot as E, toDisplayString as D, toRefs as me, unref as O, useSlots as k, watch as A } from "vue";
11
11
  //#region src/components/vue-ui-sparkbar.vue
12
- var A = /* @__PURE__ */ e({ default: () => R }), j = [
12
+ var j = /* @__PURE__ */ e({ default: () => z }), M = [
13
13
  "onClick",
14
14
  "onMouseenter",
15
15
  "onMouseleave"
16
- ], M = {
16
+ ], N = {
17
17
  key: 1,
18
18
  class: "vue-ui-sparkbar-datapoint-value"
19
- }, N = ["xmlns", "viewBox"], P = [
19
+ }, P = ["xmlns", "viewBox"], F = [
20
20
  "height",
21
21
  "width",
22
22
  "fill",
23
23
  "rx"
24
- ], F = [
24
+ ], I = [
25
25
  "height",
26
26
  "width",
27
27
  "fill",
28
28
  "rx"
29
- ], I = [
29
+ ], L = [
30
30
  "height",
31
31
  "width",
32
32
  "fill",
33
33
  "rx"
34
- ], L = {
34
+ ], R = {
35
35
  key: 2,
36
36
  ref: "source",
37
37
  dir: "auto"
38
- }, R = {
38
+ }, z = {
39
39
  __name: "vue-ui-sparkbar",
40
40
  props: {
41
41
  config: {
@@ -56,12 +56,12 @@ var A = /* @__PURE__ */ e({ default: () => R }), j = [
56
56
  }
57
57
  },
58
58
  emits: ["selectDatapoint"],
59
- setup(e, { emit: A }) {
60
- let R = y(() => import("./PackageVersion-1MNr72Bz.js").then((e) => e.t)), { vue_ui_sparkbar: z } = ie(), { isThemeValid: he, warnInvalidTheme: ge } = se(), B = ce(), V = e, _e = me();
59
+ setup(e, { emit: j }) {
60
+ let z = y(() => import("./PackageVersion-B6Hokxw9.js").then((e) => e.t)), { vue_ui_sparkbar: he } = ie(), { isThemeValid: ge, warnInvalidTheme: _e } = se(), B = ce(), V = e, ve = k();
61
61
  C(() => {
62
- _e["chart-background"] && console.warn("VueUiSparkbar does not support the #chart-background slot.");
62
+ ve["chart-background"] && console.warn("VueUiSparkbar does not support the #chart-background slot.");
63
63
  });
64
- let H = T(ee()), U = T(q()), ve = m(() => l({
64
+ let H = T(ee()), U = T(q()), ye = m(() => l({
65
65
  defaultConfig: { style: {
66
66
  backgroundColor: "#99999930",
67
67
  animation: { show: !1 },
@@ -73,8 +73,8 @@ var A = /* @__PURE__ */ e({ default: () => R }), j = [
73
73
  bar: { gradient: { underlayerColor: "#6A6A6A" } }
74
74
  } },
75
75
  userConfig: U.value.skeletonConfig ?? {}
76
- })), { loading: W, FINAL_DATASET: G, manualLoading: ye } = ae({
77
- ...pe(V),
76
+ })), { loading: W, FINAL_DATASET: G, manualLoading: be } = ae({
77
+ ...me(V),
78
78
  FINAL_CONFIG: U,
79
79
  prepareConfig: q,
80
80
  skeletonDataset: V.config?.skeletonDataset ?? [
@@ -99,16 +99,16 @@ var A = /* @__PURE__ */ e({ default: () => R }), j = [
99
99
  ],
100
100
  skeletonConfig: l({
101
101
  defaultConfig: U.value,
102
- userConfig: ve.value
102
+ userConfig: ye.value
103
103
  })
104
104
  }), K = m(() => !!U.value.debug);
105
105
  function q() {
106
106
  let e = d({
107
107
  userConfig: V.config,
108
- defaultConfig: z
108
+ defaultConfig: he
109
109
  }), t = e.theme;
110
110
  if (!t) return e;
111
- if (!he.value(e)) return ge(e), e;
111
+ if (!ge.value(e)) return _e(e), e;
112
112
  let n = d({
113
113
  userConfig: le[t] || V.config,
114
114
  defaultConfig: e
@@ -121,10 +121,10 @@ var A = /* @__PURE__ */ e({ default: () => R }), j = [
121
121
  customPalette: r.customPalette.length ? r.customPalette : i[t] || a
122
122
  };
123
123
  }
124
- k(() => V.config, (e) => {
124
+ A(() => V.config, (e) => {
125
125
  U.value = q();
126
126
  }, { deep: !0 });
127
- let be = m(() => r(U.value.customPalette)), J = T(G.value.map((e) => ({
127
+ let xe = m(() => r(U.value.customPalette)), J = T(G.value.map((e) => ({
128
128
  ...e,
129
129
  value: U.value.style.animation.show ? 0 : e.value || 0,
130
130
  formatter: e.formatter || null
@@ -152,17 +152,17 @@ var A = /* @__PURE__ */ e({ default: () => R }), j = [
152
152
  i();
153
153
  }
154
154
  }
155
- k(() => G.value, async (e) => {
155
+ A(() => G.value, async (e) => {
156
156
  cancelAnimationFrame(Y.value), J.value = G.value.map((e) => ({
157
157
  ...e,
158
158
  value: U.value.style.animation.show && !B.value ? 0 : e.value || 0,
159
159
  formatter: e.formatter || null
160
- })), de(X);
160
+ })), fe(X);
161
161
  }, { deep: !0 });
162
162
  let Z = T({
163
163
  width: 500,
164
164
  height: 16
165
- }), xe = m(() => Math.max(...G.value.map((e) => e.value))), Se = m(() => (G.value.forEach((e, t) => {
165
+ }), Se = m(() => Math.max(...G.value.map((e) => e.value))), Ce = m(() => (G.value.forEach((e, t) => {
166
166
  te({
167
167
  datasetObject: e,
168
168
  requiredAttributes: ["name", "value"]
@@ -178,20 +178,20 @@ var A = /* @__PURE__ */ e({ default: () => R }), j = [
178
178
  }), J.value.map((e, t) => ({
179
179
  ...e,
180
180
  value: e.value || 0,
181
- color: re(e.color) || be.value[t] || a[t] || a[t % a.length]
181
+ color: re(e.color) || xe.value[t] || a[t] || a[t % a.length]
182
182
  }))));
183
- function Ce(e) {
184
- return e / xe.value;
183
+ function we(e) {
184
+ return e / Se.value;
185
185
  }
186
186
  function Q(e) {
187
- return U.value.style.layout.independant ? e.target ? e.value / e.target : U.value.style.layout.percentage ? e.value > 100 ? 1 : e.value / 100 : U.value.style.layout.target === 0 ? 1 : e.value / U.value.style.layout.target : Ce(e.value);
187
+ return U.value.style.layout.independant ? e.target ? e.value / e.target : U.value.style.layout.percentage ? e.value > 100 ? 1 : e.value / 100 : U.value.style.layout.target === 0 ? 1 : e.value / U.value.style.layout.target : we(e.value);
188
188
  }
189
189
  function $(e) {
190
190
  return U.value.style.layout.independant && e.target || U.value.style.layout.target;
191
191
  }
192
- let we = A;
193
- function Te(e, t) {
194
- we("selectDatapoint", {
192
+ let Te = j;
193
+ function Ee(e, t) {
194
+ Te("selectDatapoint", {
195
195
  datapoint: e,
196
196
  index: t
197
197
  }), U.value.events.datapointClick && U.value.events.datapointClick({
@@ -199,13 +199,13 @@ var A = /* @__PURE__ */ e({ default: () => R }), j = [
199
199
  seriesIndex: t
200
200
  });
201
201
  }
202
- function Ee(e, t) {
202
+ function De(e, t) {
203
203
  U.value.events.datapointEnter && U.value.events.datapointEnter({
204
204
  datapoint: e,
205
205
  seriesIndex: t
206
206
  });
207
207
  }
208
- function De(e, t) {
208
+ function Oe(e, t) {
209
209
  U.value.events.datapointLeave && U.value.events.datapointLeave({
210
210
  datapoint: e,
211
211
  seriesIndex: t
@@ -220,11 +220,11 @@ var A = /* @__PURE__ */ e({ default: () => R }), j = [
220
220
  background: V.backgroundOpacity === null ? U.value.style.backgroundColor : O(u)(U.value.style.backgroundColor, V.backgroundOpacity)
221
221
  })
222
222
  }, [
223
- e.$slots.title ? E(e.$slots, "title", x(b({ key: 0 }, { title: {
223
+ e.$slots.title ? E(e.$slots, "title", x(de({ title: {
224
224
  ...e.title,
225
225
  title: U.value.style.title.text,
226
226
  subtitle: U.value.style.title.subtitle.text
227
- } }))) : h("", !0),
227
+ } })), void 0, void 0, 0) : h("", !0),
228
228
  !e.$slots.title && U.value.style.title.text ? (w(), g("div", {
229
229
  key: 1,
230
230
  class: "vue-ui-sparkbar-title-container",
@@ -249,16 +249,13 @@ var A = /* @__PURE__ */ e({ default: () => R }), j = [
249
249
  fontWeight: U.value.style.title.subtitle.bold ? "bold" : "normal"
250
250
  })
251
251
  }, D(U.value.style.title.subtitle.text), 5)) : h("", !0)], 4)) : h("", !0),
252
- (w(!0), g(p, null, fe(Se.value, (t, r) => (w(), g("div", {
252
+ (w(!0), g(p, null, pe(Ce.value, (t, r) => (w(), g("div", {
253
253
  style: S(`display:flex !important;${["left", "right"].includes(U.value.style.labels.name.position) ? `flex-direction: ${U.value.style.labels.name.position === "right" ? "row-reverse" : "row"} !important` : "flex-direction:column !important"};gap:${U.value.style.gap}px !important;align-items:center;${O(G).length > 0 && r !== O(G).length - 1 ? "margin-bottom:6px" : ""}`),
254
- onClick: (e) => Te(t, r),
255
- onMouseenter: (e) => Ee(t, r),
256
- onMouseleave: (e) => De(t, r)
254
+ onClick: (e) => Ee(t, r),
255
+ onMouseenter: (e) => De(t, r),
256
+ onMouseleave: (e) => Oe(t, r)
257
257
  }, [
258
- O(W) ? h("", !0) : E(e.$slots, "data-label", b({
259
- key: 0,
260
- ref_for: !0
261
- }, { bar: {
258
+ O(W) ? h("", !0) : E(e.$slots, "data-label", b({ ref_for: !0 }, { bar: {
262
259
  ...t,
263
260
  target: $(t),
264
261
  valueLabel: O(c)(t.formatter, t.value, O(o)({
@@ -279,7 +276,7 @@ var A = /* @__PURE__ */ e({ default: () => R }), j = [
279
276
  datapoint: t,
280
277
  seriesIndex: r
281
278
  })
282
- } })),
279
+ } }), void 0, void 0, 0),
283
280
  !e.$slots["data-label"] || O(W) ? (w(), g("div", {
284
281
  key: 1,
285
282
  style: S({
@@ -329,7 +326,7 @@ var A = /* @__PURE__ */ e({ default: () => R }), j = [
329
326
  datapoint: t,
330
327
  seriesIndex: r
331
328
  })), 5)) : h("", !0),
332
- U.value.style.layout.showTargetValue ? (w(), g("span", M, D(" " + U.value.style.layout.targetValueText) + " " + D(O(c)(t.formatter, $(t), O(o)({
329
+ U.value.style.layout.showTargetValue ? (w(), g("span", N, D(" " + U.value.style.layout.targetValueText) + " " + D(O(c)(t.formatter, $(t), O(o)({
333
330
  p: t.prefix || "",
334
331
  v: $(t),
335
332
  s: t.suffix || "",
@@ -345,7 +342,7 @@ var A = /* @__PURE__ */ e({ default: () => R }), j = [
345
342
  viewBox: `0 0 ${Z.value.width} ${Z.value.height}`,
346
343
  width: "100%"
347
344
  }, [
348
- v(O(R)),
345
+ v(O(z)),
349
346
  _("defs", null, [v(f, {
350
347
  t: "linear",
351
348
  x1: "0%",
@@ -370,7 +367,7 @@ var A = /* @__PURE__ */ e({ default: () => R }), j = [
370
367
  y: 0,
371
368
  fill: O(u)(U.value.style.gutter.backgroundColor, U.value.style.gutter.opacity),
372
369
  rx: Z.value.height / 2
373
- }, null, 8, P),
370
+ }, null, 8, F),
374
371
  _("rect", {
375
372
  height: Z.value.height,
376
373
  width: Z.value.width * Q(t),
@@ -378,7 +375,7 @@ var A = /* @__PURE__ */ e({ default: () => R }), j = [
378
375
  y: 0,
379
376
  fill: U.value.style.bar.gradient.underlayerColor,
380
377
  rx: Z.value.height / 2
381
- }, null, 8, F),
378
+ }, null, 8, I),
382
379
  _("rect", {
383
380
  height: Z.value.height,
384
381
  width: Z.value.width * Q(t),
@@ -386,13 +383,13 @@ var A = /* @__PURE__ */ e({ default: () => R }), j = [
386
383
  y: 0,
387
384
  fill: U.value.style.bar.gradient.show ? `url(#sparkbar_gradient_${r}_${H.value})` : t.color,
388
385
  rx: Z.value.height / 2
389
- }, null, 8, I)
390
- ], 8, N))
391
- ], 44, j))), 256)),
392
- e.$slots.source ? (w(), g("div", L, [E(e.$slots, "source")], 512)) : h("", !0),
386
+ }, null, 8, L)
387
+ ], 8, P))
388
+ ], 44, M))), 256)),
389
+ e.$slots.source ? (w(), g("div", R, [E(e.$slots, "source")], 512)) : h("", !0),
393
390
  O(W) ? (w(), ue(oe, { key: 3 })) : h("", !0)
394
391
  ], 4));
395
392
  }
396
393
  };
397
394
  //#endregion
398
- export { A as n, R as t };
395
+ export { j as n, z as t };
@@ -51,7 +51,7 @@ var D = /* @__PURE__ */ e({ default: () => j }), de = ["xmlns", "viewBox"], fe =
51
51
  }
52
52
  },
53
53
  setup(e) {
54
- let D = ce(() => import("./PackageVersion-1MNr72Bz.js").then((e) => e.t)), { vue_ui_sparkgauge: j } = ie(), { isThemeValid: M, warnInvalidTheme: N } = l(), P = f(), F = S(null), I = e, L = S(n()), R = S(W()), z = p(() => R.value.style.animation.show && !P.value), he = p(() => i({
54
+ let D = ce(() => import("./PackageVersion-B6Hokxw9.js").then((e) => e.t)), { vue_ui_sparkgauge: j } = ie(), { isThemeValid: M, warnInvalidTheme: N } = l(), P = f(), F = S(null), I = e, L = S(n()), R = S(W()), z = p(() => R.value.style.animation.show && !P.value), he = p(() => i({
55
55
  defaultConfig: { style: {
56
56
  animation: { show: !1 },
57
57
  background: "#99999930",
@@ -88,7 +88,7 @@ var be = /* @__PURE__ */ e({ default: () => k }), xe = ["id"], Se = { key: 0 },
88
88
  emits: ["selectDatapoint"],
89
89
  setup(e, { emit: p }) {
90
90
  ve((e) => ({ v7441ed7f: Je.value }));
91
- let be = fe(() => import("./PackageVersion-1MNr72Bz.js").then((e) => e.t)), { vue_ui_sparkhistogram: k } = u(), { isThemeValid: Ie, warnInvalidTheme: Le } = f(), A = e, j = w(r()), M = w(null), N = w(null), P = w(null), F = w(null), I = w(null), L = w(!1), R = w(null), z = w("pointer"), B = w(K()), Re = g(() => c({
91
+ let be = fe(() => import("./PackageVersion-B6Hokxw9.js").then((e) => e.t)), { vue_ui_sparkhistogram: k } = u(), { isThemeValid: Ie, warnInvalidTheme: Le } = f(), A = e, j = w(r()), M = w(null), N = w(null), P = w(null), F = w(null), I = w(null), L = w(!1), R = w(null), z = w("pointer"), B = w(K()), Re = g(() => c({
92
92
  defaultConfig: { style: {
93
93
  animation: { show: !1 },
94
94
  backgroundColor: "#99999930"
@@ -694,7 +694,7 @@ var ht = ["innerHTML"], gt = {
694
694
  },
695
695
  emits: ["hoverIndex", "selectDatapoint"],
696
696
  setup(e, { emit: ve }) {
697
- let Be = ke(() => import("./PackageVersion-1MNr72Bz.js").then((e) => e.t)), Ve = ke(() => import("./SparkTooltip-uoUiL_P8.js")), { vue_ui_sparkline: He } = me(), { isThemeValid: Ue, warnInvalidTheme: We } = _e(), Ge = we(), O = e, Ke = _(() => Array.isArray(O.dataset) && O.dataset.length > 0), k = w(c()), A = w(null), Je = w(null), Ye = w(null), j = w(null), M = w(null), N = w(L());
697
+ let Be = ke(() => import("./PackageVersion-B6Hokxw9.js").then((e) => e.t)), Ve = ke(() => import("./SparkTooltip-uoUiL_P8.js")), { vue_ui_sparkline: He } = me(), { isThemeValid: Ue, warnInvalidTheme: We } = _e(), Ge = we(), O = e, Ke = _(() => Array.isArray(O.dataset) && O.dataset.length > 0), k = w(c()), A = w(null), Je = w(null), Ye = w(null), j = w(null), M = w(null), N = w(L());
698
698
  function Xe(e) {
699
699
  return O.config?.skeletonDataset && Array.isArray(O.config.skeletonDataset) ? O.config.skeletonDataset.map((e) => ({
700
700
  period: "-",
@@ -88,7 +88,7 @@ var Se = /* @__PURE__ */ e({ default: () => O }), Ce = ["id"], we = { style: { p
88
88
  },
89
89
  emits: ["selectDatapoint", "selectLegend"],
90
90
  setup(e, { expose: ue, emit: Se }) {
91
- let O = _e(() => import("./PackageVersion-1MNr72Bz.js").then((e) => e.t)), ze = _e(() => import("./Tooltip-CA1rtSyl.js")), { vue_ui_sparkstackbar: Be } = oe(), { isThemeValid: Ve, warnInvalidTheme: He } = le(), k = e, Ue = be();
91
+ let O = _e(() => import("./PackageVersion-B6Hokxw9.js").then((e) => e.t)), ze = _e(() => import("./Tooltip-CA1rtSyl.js")), { vue_ui_sparkstackbar: Be } = oe(), { isThemeValid: Ve, warnInvalidTheme: He } = le(), k = e, Ue = be();
92
92
  ve(() => {
93
93
  Ue["chart-background"] && console.warn("VueUiSparkStackbar does not support the #chart-background slot.");
94
94
  });