vue-data-ui 3.10.1 → 3.10.3

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 (120) hide show
  1. package/dist/{PackageVersion-D6MO5wwI.js → PackageVersion-P4S5Z27M.js} +1 -1
  2. package/dist/components/vue-ui-3d-bar.js +1 -1
  3. package/dist/components/vue-ui-age-pyramid.js +1 -1
  4. package/dist/components/vue-ui-bullet.js +1 -1
  5. package/dist/components/vue-ui-bump.js +1 -1
  6. package/dist/components/vue-ui-candlestick.js +1 -1
  7. package/dist/components/vue-ui-carousel-table.js +1 -1
  8. package/dist/components/vue-ui-chestnut.js +1 -1
  9. package/dist/components/vue-ui-chord.js +1 -1
  10. package/dist/components/vue-ui-circle-pack.js +1 -1
  11. package/dist/components/vue-ui-cursor.js +1 -1
  12. package/dist/components/vue-ui-dag.js +1 -1
  13. package/dist/components/vue-ui-dashboard.js +1 -1
  14. package/dist/components/vue-ui-donut-evolution.js +1 -1
  15. package/dist/components/vue-ui-donut.js +1 -1
  16. package/dist/components/vue-ui-dumbbell.js +1 -1
  17. package/dist/components/vue-ui-flow.js +1 -1
  18. package/dist/components/vue-ui-funnel.js +1 -1
  19. package/dist/components/vue-ui-galaxy.js +1 -1
  20. package/dist/components/vue-ui-gauge.js +1 -1
  21. package/dist/components/vue-ui-geo.js +1 -1
  22. package/dist/components/vue-ui-gizmo.js +1 -1
  23. package/dist/components/vue-ui-heatmap.js +1 -1
  24. package/dist/components/vue-ui-history-plot.js +1 -1
  25. package/dist/components/vue-ui-horizontal-bar.js +1 -1
  26. package/dist/components/vue-ui-molecule.js +1 -1
  27. package/dist/components/vue-ui-mood-radar.js +1 -1
  28. package/dist/components/vue-ui-nested-donuts.js +1 -1
  29. package/dist/components/vue-ui-onion.js +1 -1
  30. package/dist/components/vue-ui-parallel-coordinate-plot.js +1 -1
  31. package/dist/components/vue-ui-quadrant.js +1 -1
  32. package/dist/components/vue-ui-quick-chart.js +1 -1
  33. package/dist/components/vue-ui-radar.js +1 -1
  34. package/dist/components/vue-ui-relation-circle.js +1 -1
  35. package/dist/components/vue-ui-ridgeline.js +1 -1
  36. package/dist/components/vue-ui-rings.js +1 -1
  37. package/dist/components/vue-ui-scatter.js +1 -1
  38. package/dist/components/vue-ui-skeleton.js +1 -1
  39. package/dist/components/vue-ui-spark-trend.js +1 -1
  40. package/dist/components/vue-ui-sparkbar.js +1 -1
  41. package/dist/components/vue-ui-sparkgauge.js +1 -1
  42. package/dist/components/vue-ui-sparkhistogram.js +1 -1
  43. package/dist/components/vue-ui-sparkline.js +1 -1
  44. package/dist/components/vue-ui-sparkstackbar.js +1 -1
  45. package/dist/components/vue-ui-stackbar.js +1 -1
  46. package/dist/components/vue-ui-stackline.js +1 -1
  47. package/dist/components/vue-ui-strip-plot.js +1 -1
  48. package/dist/components/vue-ui-table-sparkline.js +1 -1
  49. package/dist/components/vue-ui-table.js +1 -1
  50. package/dist/components/vue-ui-thermometer.js +1 -1
  51. package/dist/components/vue-ui-timer.js +1 -1
  52. package/dist/components/vue-ui-tiremarks.js +1 -1
  53. package/dist/components/vue-ui-treemap.js +1 -1
  54. package/dist/components/vue-ui-vertical-bar.js +1 -1
  55. package/dist/components/vue-ui-waffle.js +1 -1
  56. package/dist/components/vue-ui-wheel.js +1 -1
  57. package/dist/components/vue-ui-word-cloud.js +1 -1
  58. package/dist/components/vue-ui-world.js +1 -1
  59. package/dist/components/vue-ui-xy.js +1 -1
  60. package/dist/style.css +1 -1
  61. package/dist/{vue-data-ui-BzP8Tvow.js → vue-data-ui-CYR8RBUy.js} +58 -58
  62. package/dist/vue-data-ui.js +59 -59
  63. package/dist/{vue-ui-3d-bar-CHeF8XHm.js → vue-ui-3d-bar-gMhVye6x.js} +1 -1
  64. package/dist/{vue-ui-age-pyramid-CJSA_Lp7.js → vue-ui-age-pyramid-O-NBUNAm.js} +1 -1
  65. package/dist/{vue-ui-bullet-BGO-5x4w.js → vue-ui-bullet-DoV7GQEw.js} +1 -1
  66. package/dist/{vue-ui-bump-Ds8aQyR-.js → vue-ui-bump-TEZ5ReEF.js} +1 -1
  67. package/dist/{vue-ui-candlestick-Chk1Rxwa.js → vue-ui-candlestick-DV2sokr1.js} +1 -1
  68. package/dist/{vue-ui-carousel-table-BX4wS5vL.js → vue-ui-carousel-table-D7V2hBua.js} +1 -1
  69. package/dist/{vue-ui-chestnut-DRGQVzIZ.js → vue-ui-chestnut-oM6RXUAj.js} +1 -1
  70. package/dist/{vue-ui-chord-CzS4uqvo.js → vue-ui-chord-jvxLpCkC.js} +1 -1
  71. package/dist/{vue-ui-circle-pack-CTo8Eihw.js → vue-ui-circle-pack-Du-ByuxU.js} +1 -1
  72. package/dist/{vue-ui-cursor-DQ1eQR4G.js → vue-ui-cursor-D12C-n8E.js} +1 -1
  73. package/dist/{vue-ui-dag-Vw67oxw7.js → vue-ui-dag-DKdh56hV.js} +1 -1
  74. package/dist/{vue-ui-dashboard-CBX0gXdp.js → vue-ui-dashboard-C_mAqH3E.js} +54 -54
  75. package/dist/{vue-ui-donut-evolution-C2QW-9s6.js → vue-ui-donut-evolution-C1cVRUEy.js} +1 -1
  76. package/dist/{vue-ui-donut-8T6Nmsxq.js → vue-ui-donut-f1dyw0fn.js} +1 -1
  77. package/dist/{vue-ui-dumbbell-Bn9pd4ij.js → vue-ui-dumbbell-BFjSAmaz.js} +1 -1
  78. package/dist/{vue-ui-flow-LxJoqDKq.js → vue-ui-flow-Bw2MGPdH.js} +1 -1
  79. package/dist/{vue-ui-funnel-Dijfg4TW.js → vue-ui-funnel-CZT2u6CT.js} +1 -1
  80. package/dist/{vue-ui-galaxy-J7ABN21x.js → vue-ui-galaxy-DVnV7fer.js} +1 -1
  81. package/dist/{vue-ui-gauge-DAUj4HG5.js → vue-ui-gauge-68nXW4d4.js} +1 -1
  82. package/dist/{vue-ui-geo-DZIQ7n5z.js → vue-ui-geo-CfKG2WF2.js} +1 -1
  83. package/dist/{vue-ui-gizmo-iP8kliCe.js → vue-ui-gizmo-4gcSQzSQ.js} +1 -1
  84. package/dist/{vue-ui-heatmap-BzJ9NhwA.js → vue-ui-heatmap-Dy3AEJ6w.js} +1 -1
  85. package/dist/{vue-ui-history-plot-CiKEQ6JR.js → vue-ui-history-plot-DKUqSDWQ.js} +1 -1
  86. package/dist/{vue-ui-horizontal-bar-HXGUUZ4g.js → vue-ui-horizontal-bar-p26DrbGM.js} +1 -1
  87. package/dist/{vue-ui-molecule-BOOgtokk.js → vue-ui-molecule-FobCQFFt.js} +1 -1
  88. package/dist/{vue-ui-mood-radar-DZzGx5Dp.js → vue-ui-mood-radar-CS-ICKCK.js} +1 -1
  89. package/dist/{vue-ui-nested-donuts-BA1-O-gB.js → vue-ui-nested-donuts-ChSJX0h8.js} +1 -1
  90. package/dist/{vue-ui-onion-thpUoiBE.js → vue-ui-onion-B8UF-hki.js} +1 -1
  91. package/dist/{vue-ui-parallel-coordinate-plot-DR3Ipc9q.js → vue-ui-parallel-coordinate-plot-BtPxj-P8.js} +1 -1
  92. package/dist/{vue-ui-quadrant-CmCVv7Io.js → vue-ui-quadrant-Q9TBimzW.js} +1 -1
  93. package/dist/{vue-ui-quick-chart-D7CQqjbb.js → vue-ui-quick-chart-BY9S-YBa.js} +1 -1
  94. package/dist/{vue-ui-radar-C5BYiNeE.js → vue-ui-radar-CswjRIF_.js} +1 -1
  95. package/dist/{vue-ui-relation-circle-BkWUI7cy.js → vue-ui-relation-circle-CAtxVLVz.js} +1 -1
  96. package/dist/{vue-ui-ridgeline-CokXNDQ5.js → vue-ui-ridgeline-qvflk847.js} +1 -1
  97. package/dist/{vue-ui-rings-COs-uwPW.js → vue-ui-rings-CyiISTOF.js} +1 -1
  98. package/dist/{vue-ui-scatter-od9j3nbg.js → vue-ui-scatter-DIgqcagP.js} +1 -1
  99. package/dist/{vue-ui-skeleton-199nlzz-.js → vue-ui-skeleton-DkClk1C1.js} +1 -1
  100. package/dist/{vue-ui-spark-trend-CCh-2vX7.js → vue-ui-spark-trend-BAalLLmt.js} +1 -1
  101. package/dist/{vue-ui-sparkbar-TotwU9iC.js → vue-ui-sparkbar-DAiByg6i.js} +1 -1
  102. package/dist/{vue-ui-sparkgauge-ma4q7p0M.js → vue-ui-sparkgauge-DFDsfra7.js} +1 -1
  103. package/dist/{vue-ui-sparkhistogram-DkkFMKuS.js → vue-ui-sparkhistogram-BjPIf-WY.js} +1 -1
  104. package/dist/{vue-ui-sparkline-B9SwcngG.js → vue-ui-sparkline-Bdn5nh7q.js} +84 -84
  105. package/dist/{vue-ui-sparkstackbar-DYz-Vson.js → vue-ui-sparkstackbar-CFGsSf1p.js} +152 -151
  106. package/dist/{vue-ui-stackbar-C_Tl2URC.js → vue-ui-stackbar-CbEpDijK.js} +1 -1
  107. package/dist/{vue-ui-stackline-CXpElu5C.js → vue-ui-stackline-sSqBRjIV.js} +8 -8
  108. package/dist/{vue-ui-strip-plot-DzcjpnIg.js → vue-ui-strip-plot-DNcf1Rbi.js} +1 -1
  109. package/dist/{vue-ui-table-D_TQyQhl.js → vue-ui-table-CMjodRzP.js} +2 -2
  110. package/dist/{vue-ui-table-sparkline-CF5BnI-6.js → vue-ui-table-sparkline-qcwN58Dc.js} +1 -1
  111. package/dist/{vue-ui-thermometer-BmmwTeyy.js → vue-ui-thermometer-BCjkXz1F.js} +1 -1
  112. package/dist/{vue-ui-timer-Bffy4n-P.js → vue-ui-timer-CAf7Dc61.js} +1 -1
  113. package/dist/{vue-ui-tiremarks-pMFoFCHr.js → vue-ui-tiremarks-DYAAjWRA.js} +1 -1
  114. package/dist/{vue-ui-treemap-DSaqUKWM.js → vue-ui-treemap-Bfe4p4wX.js} +1 -1
  115. package/dist/{vue-ui-waffle-BavDRJin.js → vue-ui-waffle-uk7WQn8e.js} +1 -1
  116. package/dist/{vue-ui-wheel-toELK-fC.js → vue-ui-wheel-O68mMezM.js} +1 -1
  117. package/dist/{vue-ui-word-cloud-DCTGuXdW.js → vue-ui-word-cloud-CcgyYxsA.js} +179 -179
  118. package/dist/{vue-ui-world-7QFSvpGk.js → vue-ui-world-BpJd04wd.js} +1 -1
  119. package/dist/{vue-ui-xy-CTJtVYBG.js → vue-ui-xy-BoeLTTX6.js} +1 -1
  120. package/package.json +1 -1
@@ -1,24 +1,24 @@
1
- import { defineAsyncComponent as Q, useSlots as Pe, onMounted as Z, ref as v, toRefs as ze, watch as ee, computed as F, createElementBlock as s, openBlock as r, normalizeStyle as g, createCommentVNode as h, createVNode as te, createBlock as Oe, createElementVNode as d, toDisplayString as S, unref as c, Fragment as _, renderList as D, normalizeClass as z, withCtx as oe, renderSlot as U, normalizeProps as le, guardReactiveProps as ae } from "vue";
2
- import { c as re, t as Le, i as Ne, j as i, m as B, k as je, o as Ve, g as se, l as Me, d as R, X as Ue, s as ne, h as ue, a as ie, y as Re } from "./lib-CVHM9FhP.js";
1
+ import { defineAsyncComponent as Q, useSlots as Pe, onMounted as Z, ref as v, toRefs as ze, watch as ee, computed as $, createElementBlock as s, openBlock as r, normalizeStyle as p, createCommentVNode as y, createVNode as te, createBlock as Oe, createElementVNode as d, toDisplayString as D, unref as c, Fragment as _, renderList as B, normalizeClass as z, withCtx as oe, renderSlot as U, normalizeProps as le, guardReactiveProps as ae } from "vue";
2
+ import { c as re, t as Le, i as Ne, j as n, m as S, k as je, o as Ve, g as se, l as Me, d as R, X as Ue, s as ne, h as ue, a as ie, y as Re } from "./lib-CVHM9FhP.js";
3
3
  import { u as Ge, a as G } from "./useNestedProp-Ckf_2P_V.js";
4
4
  import { u as We, B as Ye } from "./BaseScanner-BMpwQAfz.js";
5
5
  import { u as qe } from "./useThemeCheck-D1ZYXUwG.js";
6
6
  import { u as He } from "./useChartAccessibility-9icAAmYg.js";
7
7
  import { _ as Xe } from "./_plugin-vue_export-helper-CHgC5LLL.js";
8
- const ce = { style: { legend: { show: !1 } } }, de = { style: { backgroundColor: "#1A1A1A", bar: { gradient: { underlayerColor: "#FFFFFF" } }, legend: { show: !1, name: { color: "#CCCCCC" }, value: { color: "#CCCCCC" }, percentage: { color: "#CCCCCC" } }, title: { color: "#CCCCCC", subtitle: { color: "#757575" } }, tooltip: { backgroundColor: "#1A1A1A", backgroundOpacity: 70, color: "#CCCCCC", borderColor: "#3A3A3A" } } }, ve = { style: { backgroundColor: "#1A1A1A", bar: { gradient: { underlayerColor: "#FFFFFF" } }, legend: { name: { color: "#CCCCCC" }, value: { color: "#CCCCCC" }, percentage: { color: "#CCCCCC" } }, title: { color: "#CCCCCC", subtitle: { color: "#757575" } }, tooltip: { backgroundColor: "#1A1A1A", backgroundOpacity: 70, color: "#CCCCCC", borderColor: "#5A5A5A" } } }, pe = { style: { backgroundColor: "#FFF8E1", bar: { gradient: { underlayerColor: "#FFF8E1" } }, legend: { name: { color: "#424242" }, value: { color: "#424242" }, percentage: { color: "#424242" } }, title: { color: "#424242", subtitle: { color: "#757575" } }, tooltip: { backgroundColor: "#FFECB3", backgroundOpacity: 30, color: "#424242", borderColor: "#FF8A65" } } }, ge = { style: { backgroundColor: "#1E1E1E", bar: { gradient: { underlayerColor: "#FFF8E1" } }, legend: { name: { color: "#BDBDBD" }, value: { color: "#BDBDBD" }, percentage: { color: "#BDBDBD" } }, title: { color: "#FFF8E1", subtitle: { color: "#BDBDBD" } }, tooltip: { backgroundColor: "#1E1E1E", backgroundOpacity: 30, color: "#FFF8E1", borderColor: "#FF8A65" } } }, fe = { style: { backgroundColor: "#1A1A1A", bar: { gradient: { underlayerColor: "#1A1A1A" } }, legend: { name: { color: "#99AA99" }, value: { color: "#AACCAA" }, percentage: { color: "#99CC99" } }, title: { color: "#66CC66", subtitle: { color: "#99AA99" } } } }, he = { style: { backgroundColor: "#fbfafa", bar: { gradient: { underlayerColor: "#fbfafa" } }, legend: { name: { color: "#8A9892" }, value: { color: "#A0AC94" }, percentage: { color: "#8A9892" } }, title: { color: "#8A9892", subtitle: { color: "#99AA99" } } } }, ye = { style: { backgroundColor: "#f6f6fb", bar: { gradient: { underlayerColor: "#f6f6fb" } }, legend: { name: { color: "#50606C" }, value: { color: "#8A9892" }, percentage: { color: "#61747E" } }, title: { color: "#50606C", subtitle: { color: "#718890" } } } }, Ce = {
8
+ const ce = { style: { legend: { show: !1 } } }, de = { style: { backgroundColor: "#1A1A1A", bar: { gradient: { underlayerColor: "#FFFFFF" } }, legend: { show: !1, name: { color: "#CCCCCC" }, value: { color: "#CCCCCC" }, percentage: { color: "#CCCCCC" } }, title: { color: "#CCCCCC", subtitle: { color: "#757575" } }, tooltip: { backgroundColor: "#1A1A1A", backgroundOpacity: 70, color: "#CCCCCC", borderColor: "#3A3A3A" } } }, ve = { style: { backgroundColor: "#1A1A1A", bar: { gradient: { underlayerColor: "#FFFFFF" } }, legend: { name: { color: "#CCCCCC" }, value: { color: "#CCCCCC" }, percentage: { color: "#CCCCCC" } }, title: { color: "#CCCCCC", subtitle: { color: "#757575" } }, tooltip: { backgroundColor: "#1A1A1A", backgroundOpacity: 70, color: "#CCCCCC", borderColor: "#5A5A5A" } } }, ge = { style: { backgroundColor: "#FFF8E1", bar: { gradient: { underlayerColor: "#FFF8E1" } }, legend: { name: { color: "#424242" }, value: { color: "#424242" }, percentage: { color: "#424242" } }, title: { color: "#424242", subtitle: { color: "#757575" } }, tooltip: { backgroundColor: "#FFECB3", backgroundOpacity: 30, color: "#424242", borderColor: "#FF8A65" } } }, pe = { style: { backgroundColor: "#1E1E1E", bar: { gradient: { underlayerColor: "#FFF8E1" } }, legend: { name: { color: "#BDBDBD" }, value: { color: "#BDBDBD" }, percentage: { color: "#BDBDBD" } }, title: { color: "#FFF8E1", subtitle: { color: "#BDBDBD" } }, tooltip: { backgroundColor: "#1E1E1E", backgroundOpacity: 30, color: "#FFF8E1", borderColor: "#FF8A65" } } }, fe = { style: { backgroundColor: "#1A1A1A", bar: { gradient: { underlayerColor: "#1A1A1A" } }, legend: { name: { color: "#99AA99" }, value: { color: "#AACCAA" }, percentage: { color: "#99CC99" } }, title: { color: "#66CC66", subtitle: { color: "#99AA99" } }, tooltip: { backgroundColor: "#2A2F2A", color: "#AACCAA", borderColor: "#66CC66" } } }, he = { style: { backgroundColor: "#fbfafa", bar: { gradient: { underlayerColor: "#fbfafa" } }, legend: { name: { color: "#8A9892" }, value: { color: "#A0AC94" }, percentage: { color: "#8A9892" } }, title: { color: "#8A9892", subtitle: { color: "#99AA99" } }, tooltip: { backgroundColor: "#fbfafa", color: "#8A9892" } } }, ye = { style: { backgroundColor: "#f6f6fb", bar: { gradient: { underlayerColor: "#f6f6fb" } }, legend: { name: { color: "#50606C" }, value: { color: "#8A9892" }, percentage: { color: "#61747E" } }, title: { color: "#50606C", subtitle: { color: "#718890" } }, tooltip: { backgroundColor: "#f6f6fb", color: "#50606C" } } }, Ce = {
9
9
  default: {},
10
10
  minimal: ce,
11
11
  minimalDark: de,
12
12
  dark: ve,
13
- celebration: pe,
14
- celebrationNight: ge,
13
+ celebration: ge,
14
+ celebrationNight: pe,
15
15
  hack: fe,
16
16
  zen: he,
17
17
  concrete: ye
18
- }, At = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
18
+ }, wt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
19
19
  __proto__: null,
20
- celebration: pe,
21
- celebrationNight: ge,
20
+ celebration: ge,
21
+ celebrationNight: pe,
22
22
  concrete: ye,
23
23
  dark: ve,
24
24
  default: Ce,
@@ -32,7 +32,7 @@ const ce = { style: { legend: { show: !1 } } }, de = { style: { backgroundColor:
32
32
  }, ot = ["fill"], lt = {
33
33
  key: 0,
34
34
  "clip-path": "url(#stackPill)"
35
- }, at = ["x", "width", "height", "fill"], rt = ["x", "width", "height", "fill", "stroke"], st = ["x", "width", "height", "onClick", "onMouseenter", "onMouseleave"], nt = ["width", "height", "rx"], ut = ["onClick"], it = { style: { display: "flex", "flex-direction": "row", "align-items": "center", gap: "4px", "justify-content": "center" } }, ct = ["height", "width"], dt = ["id"], vt = ["stop-color"], pt = ["stop-color"], gt = ["fill"], ft = {
35
+ }, at = ["x", "width", "height", "fill"], rt = ["x", "width", "height", "fill", "stroke"], st = ["x", "width", "height", "onClick", "onMouseenter", "onMouseleave"], nt = ["width", "height", "rx"], ut = ["onClick"], it = { style: { display: "flex", "flex-direction": "row", "align-items": "center", gap: "4px", "justify-content": "center" } }, ct = ["height", "width"], dt = ["id"], vt = ["stop-color"], gt = ["stop-color"], pt = ["fill"], ft = {
36
36
  key: 2,
37
37
  ref: "source",
38
38
  dir: "auto"
@@ -53,13 +53,13 @@ const ce = { style: { legend: { show: !1 } } }, de = { style: { backgroundColor:
53
53
  }
54
54
  },
55
55
  emits: ["selectDatapoint"],
56
- setup(me, { expose: be, emit: ke }) {
57
- const _e = Q(() => import("./PackageVersion-D6MO5wwI.js")), xe = Q(() => import("./Tooltip-B6qvABDL.js")), { vue_ui_sparkstackbar: we } = Ge(), { isThemeValid: Ae, warnInvalidTheme: Fe } = qe(), C = me, $e = Pe();
56
+ setup(be, { expose: me, emit: ke }) {
57
+ const _e = Q(() => import("./PackageVersion-P4S5Z27M.js")), Ae = Q(() => import("./Tooltip-B6qvABDL.js")), { vue_ui_sparkstackbar: xe } = Ge(), { isThemeValid: we, warnInvalidTheme: Fe } = qe(), b = be, $e = Pe();
58
58
  Z(() => {
59
59
  $e["chart-background"] && console.warn("VueUiSparkStackbar does not support the #chart-background slot.");
60
60
  });
61
- const W = v(null), T = v(re()), O = v(!1), L = v(""), e = v(N()), { loading: x, FINAL_DATASET: m } = We({
62
- ...ze(C),
61
+ const W = v(null), T = v(re()), O = v(!1), L = v(""), e = v(N()), { loading: A, FINAL_DATASET: f } = We({
62
+ ...ze(b),
63
63
  FINAL_CONFIG: e,
64
64
  prepareConfig: N,
65
65
  skeletonDataset: [
@@ -83,58 +83,58 @@ const ce = { style: { legend: { show: !1 } } }, de = { style: { backgroundColor:
83
83
  }), { svgRef: Se } = He({ config: e.value.style.title });
84
84
  function N() {
85
85
  const t = G({
86
- userConfig: C.config,
87
- defaultConfig: we
88
- }), l = t.theme;
89
- if (!l) return t;
90
- if (!Ae.value(t))
86
+ userConfig: b.config,
87
+ defaultConfig: xe
88
+ }), o = t.theme;
89
+ if (!o) return t;
90
+ if (!we.value(t))
91
91
  return Fe(t), t;
92
- const o = G({
93
- userConfig: Ce[l] || C.config,
92
+ const l = G({
93
+ userConfig: Ce[o] || b.config,
94
94
  defaultConfig: t
95
95
  }), a = G({
96
- userConfig: C.config,
97
- defaultConfig: o
96
+ userConfig: b.config,
97
+ defaultConfig: l
98
98
  });
99
99
  return {
100
100
  ...a,
101
- customPalette: a.customPalette.length ? a.customPalette : Ne[l] || i
101
+ customPalette: a.customPalette.length ? a.customPalette : Ne[o] || n
102
102
  };
103
103
  }
104
- ee(() => C.config, (t) => {
104
+ ee(() => b.config, (t) => {
105
105
  e.value = N(), H();
106
- }, { deep: !0 }), ee(() => m.value, (t) => {
107
- b.value = m.value.map((l, o) => ({
108
- ...l,
109
- color: l.color ? B(l.color) : $.value[o] || i[o] || i[o % i.length]
106
+ }, { deep: !0 }), ee(() => f.value, (t) => {
107
+ m.value = f.value.map((o, l) => ({
108
+ ...o,
109
+ color: o.color ? S(o.color) : x.value[l] || n[l] || n[l % n.length]
110
110
  })), Y();
111
111
  }, { deep: !0 });
112
- const $ = F(() => je(e.value.customPalette)), b = v(m.value.map((t, l) => ({
112
+ const x = $(() => je(e.value.customPalette)), m = v(f.value.map((t, o) => ({
113
113
  ...t,
114
114
  value: e.value.style.animation.show ? 0 : t.value || 0,
115
- color: t.color ? B(t.color) : $.value[l] || i[l] || i[l % i.length]
115
+ color: t.color ? S(t.color) : x.value[o] || n[o] || n[o % n.length]
116
116
  }))), k = v(!0);
117
117
  function Y() {
118
118
  if (!e.value.style.animation.show) {
119
119
  k.value = !1;
120
120
  return;
121
121
  }
122
- const t = e.value.style.animation.animationFrames, l = m.value.map((n) => n.value || 0), o = l.map((n) => n / t), a = l.reduce((n, u) => n + u, 0);
123
- let y = 0;
124
- k.value = !0, b.value = m.value.map((n, u) => ({
125
- ...n,
122
+ const t = e.value.style.animation.animationFrames, o = f.value.map((u) => u.value || 0), l = o.map((u) => u / t), a = o.reduce((u, i) => u + i, 0);
123
+ let C = 0;
124
+ k.value = !0, m.value = f.value.map((u, i) => ({
125
+ ...u,
126
126
  value: 0,
127
- color: n.color ? B(n.color) : $.value[u] || i[u] || i[u % i.length]
127
+ color: u.color ? S(u.color) : x.value[i] || n[i] || n[i % n.length]
128
128
  }));
129
129
  function P() {
130
- y += a / t, y < a ? (b.value = b.value.map((n, u) => ({
131
- ...n,
132
- value: Math.min(n.value + o[u], l[u]),
133
- color: n.color ? B(n.color) : $.value[u] || i[u] || i[u % i.length]
134
- })), requestAnimationFrame(P)) : (k.value = !1, b.value = m.value.map((n, u) => ({
135
- ...n,
136
- value: l[u],
137
- color: n.color ? B(n.color) : $.value[u] || i[u] || i[u % i.length],
130
+ C += a / t, C < a ? (m.value = m.value.map((u, i) => ({
131
+ ...u,
132
+ value: Math.min(u.value + l[i], o[i]),
133
+ color: u.color ? S(u.color) : x.value[i] || n[i] || n[i % n.length]
134
+ })), requestAnimationFrame(P)) : (k.value = !1, m.value = f.value.map((u, i) => ({
135
+ ...u,
136
+ value: o[i],
137
+ color: u.color ? S(u.color) : x.value[i] || n[i] || n[i % n.length],
138
138
  id: re()
139
139
  })));
140
140
  }
@@ -143,87 +143,88 @@ const ce = { style: { legend: { show: !1 } } }, de = { style: { backgroundColor:
143
143
  Z(() => {
144
144
  H();
145
145
  });
146
- const q = F(() => e.value.debug);
146
+ const q = $(() => e.value.debug);
147
147
  function H() {
148
- Ve(C.dataset) ? se({
148
+ Ve(b.dataset) ? se({
149
149
  componentName: "VueUiSparkStackbar",
150
150
  type: "dataset",
151
151
  debug: q.value
152
- }) : C.dataset.forEach((t, l) => {
152
+ }) : b.dataset.forEach((t, o) => {
153
153
  Me({
154
154
  datasetObject: t,
155
155
  requiredAttributes: ["name", "value"]
156
- }).forEach((o) => {
156
+ }).forEach((l) => {
157
157
  se({
158
158
  componentName: "VueUiSparkStackbar",
159
159
  type: "datasetSerieAttribute",
160
- property: o,
161
- index: l,
160
+ property: l,
161
+ index: o,
162
162
  debug: q.value
163
163
  });
164
164
  });
165
165
  }), Y();
166
166
  }
167
- const f = v({
167
+ const h = v({
168
168
  width: 500,
169
169
  height: 16
170
- }), p = v([]), X = F(() => m.value.map((t) => t.value || 0).filter((t, l) => !p.value.includes(l)).reduce((t, l) => t + l, 0)), w = F(() => b.value.map((t, l) => {
171
- const o = t.value || 0, a = o / X.value, y = isNaN(a) ? 0 : a, P = y * f.value.width;
170
+ }), g = v([]), X = $(() => f.value.map((t) => t.value || 0).filter((t, o) => !g.value.includes(o)).reduce((t, o) => t + o, 0)), w = $(() => m.value.map((t, o) => {
171
+ const l = t.value || 0, a = l / X.value, C = isNaN(a) ? 0 : a, P = C * h.value.width;
172
172
  return {
173
173
  ...t,
174
- value: o,
175
- proportion: y,
174
+ color: S(f.value[o]?.color ? f.value[o]?.color : x.value[o] || n[o] || n[o % n.length]),
175
+ value: l,
176
+ proportion: C,
176
177
  width: P,
177
- seriesIndex: l,
178
+ seriesIndex: o,
178
179
  proportionLabel: R({
179
- v: y * 100,
180
+ v: C * 100,
180
181
  s: "%",
181
182
  r: e.value.style.legend.percentage.rounding
182
183
  })
183
184
  };
184
- })), j = F(() => w.value.filter((t, l) => !p.value.includes(l)));
185
+ })), j = $(() => w.value.filter((t, o) => !g.value.includes(o)));
185
186
  function V(t) {
186
- p.value.includes(t) ? p.value = p.value.filter((l) => l !== t) : p.value.length < b.value.length - 1 && p.value.push(t);
187
+ g.value.includes(t) ? g.value = g.value.filter((o) => o !== t) : g.value.length < m.value.length - 1 && g.value.push(t);
187
188
  }
188
189
  function J(t) {
189
190
  if (!w.value.length)
190
191
  return e.value.debug && console.warn("VueUiSparkStackbar - There are no series to show."), null;
191
- const l = w.value.find((o) => o.name === t);
192
- return l || (e.value.debug && console.warn(`VueUiSparkStackbar - Series name not found "${t}"`), null);
192
+ const o = w.value.find((l) => l.name === t);
193
+ return o || (e.value.debug && console.warn(`VueUiSparkStackbar - Series name not found "${t}"`), null);
193
194
  }
194
195
  function De(t) {
195
- const l = J(t);
196
- l !== null && p.value.includes(l.id) && V(l.seriesIndex);
196
+ const o = J(t);
197
+ o !== null && g.value.includes(o.id) && V(o.seriesIndex);
197
198
  }
198
199
  function Be(t) {
199
- const l = J(t);
200
- l !== null && (p.value.includes(l.id) || V(l.seriesIndex));
200
+ const o = J(t);
201
+ o !== null && (g.value.includes(o.id) || V(o.seriesIndex));
201
202
  }
202
- const E = F(() => {
203
+ const E = $(() => {
203
204
  let t = 0;
204
- const l = [];
205
- for (let o = 0; o < j.value.length; o += 1)
206
- l.push({
207
- ...j.value[o],
205
+ const o = [];
206
+ for (let l = 0; l < j.value.length; l += 1)
207
+ o.push({
208
+ ...j.value[l],
208
209
  start: t
209
- }), t += j.value[o].width;
210
- return l;
210
+ }), t += j.value[l].width;
211
+ return o;
211
212
  }), Te = ke;
212
- function K(t, l, o = !1) {
213
- Te("selectDatapoint", { datapoint: t, index: l }), e.value.events.datapointClick && !o && e.value.events.datapointClick({ datapoint: t, seriesIndex: t.seriesIndex });
213
+ function K(t, o, l = !1) {
214
+ Te("selectDatapoint", { datapoint: t, index: o }), e.value.events.datapointClick && !l && e.value.events.datapointClick({ datapoint: t, seriesIndex: t.seriesIndex });
214
215
  }
215
- const M = v(null), I = v(!1), A = v(null);
216
- function Ee({ datapoint: t, seriesIndex: l }) {
217
- O.value = !1, A.value = null, e.value.events.datapointLeave && e.value.events.datapointLeave({ datapoint: t, seriesIndex: t.seriesIndex });
216
+ const M = v(null), I = v(!1), F = v(null);
217
+ function Ee({ datapoint: t, seriesIndex: o }) {
218
+ O.value = !1, F.value = null, e.value.events.datapointLeave && e.value.events.datapointLeave({ datapoint: t, seriesIndex: t.seriesIndex });
218
219
  }
219
- function Ie({ datapoint: t, seriesIndex: l }) {
220
+ function Ie({ datapoint: t, seriesIndex: o }) {
220
221
  if (e.value.events.datapointEnter && e.value.events.datapointEnter({ datapoint: t, seriesIndex: t.seriesIndex }), !e.value.style.tooltip.show)
221
222
  return;
222
- M.value = { datapoint: t, seriesIndex: l, config: e.value, series: w.value }, O.value = !0, A.value = l;
223
- const o = e.value.style.tooltip.customFormat;
224
- if (Re(o))
223
+ M.value = { datapoint: t, seriesIndex: o, config: e.value, series: w.value }, O.value = !0, F.value = o;
224
+ const l = e.value.style.tooltip.customFormat;
225
+ if (Re(l))
225
226
  try {
226
- const a = o({
227
+ const a = l({
227
228
  seriesIndex: t.seriesIndex,
228
229
  datapoint: t,
229
230
  series: w.value,
@@ -246,59 +247,59 @@ const ce = { style: { legend: { show: !1 } } }, de = { style: { backgroundColor:
246
247
  }),
247
248
  {
248
249
  datapoint: t,
249
- seriesIndex: l
250
+ seriesIndex: o
250
251
  }
251
252
  )})</span>`, L.value = `<div>${a}</div>`;
252
253
  }
253
254
  }
254
- return be({
255
+ return me({
255
256
  hideSeries: Be,
256
257
  showSeries: De
257
- }), (t, l) => (r(), s("div", {
258
+ }), (t, o) => (r(), s("div", {
258
259
  class: "vue-data-ui-component vue-ui-spark-stackbar",
259
260
  ref_key: "sparkstackbarChart",
260
261
  ref: W,
261
- style: g(`width:100%; background:${e.value.style.backgroundColor}`)
262
+ style: p(`width:100%; background:${e.value.style.backgroundColor}`)
262
263
  }, [
263
264
  e.value.style.title.text ? (r(), s("div", {
264
265
  key: 0,
265
- style: g(`width:calc(100% - 12px);background:transparent;margin:0 auto;margin:${e.value.style.title.margin};padding: 0 6px;text-align:${e.value.style.title.textAlign}`)
266
+ style: p(`width:calc(100% - 12px);background:transparent;margin:0 auto;margin:${e.value.style.title.margin};padding: 0 6px;text-align:${e.value.style.title.textAlign}`)
266
267
  }, [
267
268
  d("div", {
268
269
  class: "atom-title",
269
- style: g(`font-size:${e.value.style.title.fontSize}px;color:${e.value.style.title.color};font-weight:${e.value.style.title.bold ? "bold" : "normal"}`)
270
- }, S(e.value.style.title.text), 5),
270
+ style: p(`font-size:${e.value.style.title.fontSize}px;color:${e.value.style.title.color};font-weight:${e.value.style.title.bold ? "bold" : "normal"}`)
271
+ }, D(e.value.style.title.text), 5),
271
272
  e.value.style.title.subtitle.text ? (r(), s("div", {
272
273
  key: 0,
273
274
  class: "atom-subtitle",
274
- style: g(`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"}`)
275
- }, S(e.value.style.title.subtitle.text), 5)) : h("", !0)
276
- ], 4)) : h("", !0),
275
+ style: p(`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"}`)
276
+ }, D(e.value.style.title.subtitle.text), 5)) : y("", !0)
277
+ ], 4)) : y("", !0),
277
278
  (r(), s("svg", {
278
279
  ref_key: "svgRef",
279
280
  ref: Se,
280
281
  xmlns: c(Ue),
281
282
  width: "100%",
282
- viewBox: `0 0 ${f.value.width} ${f.value.height}`
283
+ viewBox: `0 0 ${h.value.width} ${h.value.height}`
283
284
  }, [
284
285
  te(c(_e)),
285
286
  d("defs", null, [
286
- (r(!0), s(_, null, D(E.value, (o, a) => (r(), s("linearGradient", {
287
+ (r(!0), s(_, null, B(E.value, (l, a) => (r(), s("linearGradient", {
287
288
  key: `stack_gradient_${a}`,
288
289
  gradientTransform: "rotate(90)",
289
290
  id: `stack_gradient_${a}_${T.value}`
290
291
  }, [
291
292
  d("stop", {
292
293
  offset: "0%",
293
- "stop-color": o.color
294
+ "stop-color": l.color
294
295
  }, null, 8, Qe),
295
296
  d("stop", {
296
297
  offset: "50%",
297
- "stop-color": c(ne)(c(ue)(o.color, 0.05), 100 - e.value.style.bar.gradient.intensity)
298
+ "stop-color": c(ne)(c(ue)(l.color, 0.05), 100 - e.value.style.bar.gradient.intensity)
298
299
  }, null, 8, Ze),
299
300
  d("stop", {
300
301
  offset: "100%",
301
- "stop-color": o.color
302
+ "stop-color": l.color
302
303
  }, null, 8, et)
303
304
  ], 8, Ke))), 128)),
304
305
  d("clipPath", tt, [
@@ -314,67 +315,67 @@ const ce = { style: { legend: { show: !1 } } }, de = { style: { backgroundColor:
314
315
  ])
315
316
  ]),
316
317
  X.value > 0 ? (r(), s("g", lt, [
317
- (r(!0), s(_, null, D(E.value, (o, a) => (r(), s("rect", {
318
+ (r(!0), s(_, null, B(E.value, (l, a) => (r(), s("rect", {
318
319
  key: `stack_underlayer_${a}`,
319
- x: o.start,
320
+ x: l.start,
320
321
  y: 0,
321
- width: o.width,
322
- height: f.value.height,
322
+ width: l.width,
323
+ height: h.value.height,
323
324
  fill: e.value.style.bar.gradient.underlayerColor,
324
- class: z({ animated: !k.value && !c(x) }),
325
- style: g({
326
- opacity: A.value !== null && e.value.style.tooltip.show ? A.value === a ? 1 : 0.5 : 1
325
+ class: z({ animated: !k.value && !c(A) }),
326
+ style: p({
327
+ opacity: F.value !== null && e.value.style.tooltip.show ? F.value === a ? 1 : 0.5 : 1
327
328
  })
328
329
  }, null, 14, at))), 128)),
329
- (r(!0), s(_, null, D(E.value, (o, a) => (r(), s("rect", {
330
+ (r(!0), s(_, null, B(E.value, (l, a) => (r(), s("rect", {
330
331
  key: `stack_${a}`,
331
- x: o.start,
332
+ x: l.start,
332
333
  y: 0,
333
- width: o.width,
334
- height: f.value.height,
335
- fill: e.value.style.bar.gradient.show ? `url(#stack_gradient_${a}_${T.value})` : o.color,
334
+ width: l.width,
335
+ height: h.value.height,
336
+ fill: e.value.style.bar.gradient.show ? `url(#stack_gradient_${a}_${T.value})` : l.color,
336
337
  stroke: e.value.style.backgroundColor,
337
338
  "stroke-linecap": "round",
338
- class: z({ animated: !k.value && !c(x) }),
339
- style: g({
340
- opacity: A.value !== null && e.value.style.tooltip.show ? A.value === a ? 1 : 0.5 : 1
339
+ class: z({ animated: !k.value && !c(A) }),
340
+ style: p({
341
+ opacity: F.value !== null && e.value.style.tooltip.show ? F.value === a ? 1 : 0.5 : 1
341
342
  })
342
343
  }, null, 14, rt))), 128)),
343
- (r(!0), s(_, null, D(E.value, (o, a) => (r(), s("rect", {
344
+ (r(!0), s(_, null, B(E.value, (l, a) => (r(), s("rect", {
344
345
  key: `stack_trap_${a}`,
345
- x: o.start,
346
+ x: l.start,
346
347
  y: 0,
347
- width: o.width,
348
- height: f.value.height,
348
+ width: l.width,
349
+ height: h.value.height,
349
350
  fill: "transparent",
350
351
  stroke: "none",
351
- class: z({ animated: !k.value && !c(x) }),
352
- onClick: () => K(o, a),
353
- onMouseenter: () => Ie({ datapoint: o, seriesIndex: a }),
354
- onMouseleave: (y) => Ee({ datapoint: o, seriesIndex: a })
352
+ class: z({ animated: !k.value && !c(A) }),
353
+ onClick: () => K(l, a),
354
+ onMouseenter: () => Ie({ datapoint: l, seriesIndex: a }),
355
+ onMouseleave: (C) => Ee({ datapoint: l, seriesIndex: a })
355
356
  }, null, 42, st))), 128))
356
357
  ])) : (r(), s("rect", {
357
358
  key: 1,
358
359
  x: 2,
359
360
  y: 1,
360
- width: f.value.width - 4,
361
- height: f.value.height - 2,
361
+ width: h.value.width - 4,
362
+ height: h.value.height - 2,
362
363
  stroke: "#CCCCCC",
363
364
  "stroke-width": "2",
364
365
  fill: "transparent",
365
- rx: (f.value.height - 4) / 2
366
+ rx: (h.value.height - 4) / 2
366
367
  }, null, 8, nt))
367
368
  ], 8, Je)),
368
369
  e.value.style.legend.show ? (r(), s("div", {
369
370
  key: 1,
370
- style: g(`background:transparent;margin:0 auto;margin:${e.value.style.legend.margin};justify-content:${e.value.style.legend.textAlign === "left" ? "flex-start" : e.value.style.legend.textAlign === "right" ? "flex-end" : "center"}`),
371
+ style: p(`background:transparent;margin:0 auto;margin:${e.value.style.legend.margin};justify-content:${e.value.style.legend.textAlign === "left" ? "flex-start" : e.value.style.legend.textAlign === "right" ? "flex-end" : "center"}`),
371
372
  class: "vue-ui-sparkstackbar-legend"
372
373
  }, [
373
- (r(!0), s(_, null, D(w.value, (o, a) => (r(), s("div", {
374
- style: g(`font-size:${e.value.style.legend.fontSize}px;`),
375
- class: z({ "vue-ui-sparkstackbar-legend-item": !0, "vue-ui-sparkstackbar-legend-item-unselected": p.value.includes(a) }),
376
- onClick: (y) => {
377
- V(a), K(o, a, !0);
374
+ (r(!0), s(_, null, B(w.value, (l, a) => (r(), s("div", {
375
+ style: p(`font-size:${e.value.style.legend.fontSize}px;`),
376
+ class: z({ "vue-ui-sparkstackbar-legend-item": !0, "vue-ui-sparkstackbar-legend-item-unselected": g.value.includes(a) }),
377
+ onClick: (C) => {
378
+ V(a), K(l, a, !0);
378
379
  }
379
380
  }, [
380
381
  d("div", it, [
@@ -389,50 +390,50 @@ const ce = { style: { legend: { show: !1 } } }, de = { style: { backgroundColor:
389
390
  }, [
390
391
  d("stop", {
391
392
  offset: "0%",
392
- "stop-color": c(x) ? "#FFFFFF" : c(ne)(c(ue)(o.color, 0.05), 100 - e.value.style.bar.gradient.intensity)
393
+ "stop-color": c(A) ? "#FFFFFF" : c(ne)(c(ue)(l.color, 0.05), 100 - e.value.style.bar.gradient.intensity)
393
394
  }, null, 8, vt),
394
395
  d("stop", {
395
396
  offset: "100%",
396
- "stop-color": o.color
397
- }, null, 8, pt)
397
+ "stop-color": l.color
398
+ }, null, 8, gt)
398
399
  ], 8, dt)
399
400
  ]),
400
401
  d("circle", {
401
402
  cx: 5,
402
403
  cy: 5,
403
404
  r: 5,
404
- fill: e.value.style.bar.gradient.show ? `url(#legend_grad_${a}-${T.value})` : o.color
405
- }, null, 8, gt)
405
+ fill: e.value.style.bar.gradient.show ? `url(#legend_grad_${a}-${T.value})` : l.color
406
+ }, null, 8, pt)
406
407
  ], 8, ct)),
407
- c(x) ? h("", !0) : (r(), s(_, { key: 0 }, [
408
+ c(A) ? y("", !0) : (r(), s(_, { key: 0 }, [
408
409
  d("span", {
409
- style: g(`color:${e.value.style.legend.name.color}; font-weight:${e.value.style.legend.name.bold ? "bold" : "normal"}`)
410
- }, S(o.name), 5),
411
- k.value ? h("", !0) : (r(), s(_, { key: 0 }, [
410
+ style: p(`color:${e.value.style.legend.name.color}; font-weight:${e.value.style.legend.name.bold ? "bold" : "normal"}`)
411
+ }, D(l.name), 5),
412
+ k.value ? y("", !0) : (r(), s(_, { key: 0 }, [
412
413
  e.value.style.legend.percentage.show ? (r(), s("span", {
413
414
  key: 0,
414
- style: g(`font-weight:${e.value.style.legend.percentage.bold ? "bold" : "normal"};color:${e.value.style.legend.percentage.color}`)
415
- }, S(p.value.includes(a) ? " - " : o.proportionLabel), 5)) : h("", !0),
415
+ style: p(`font-weight:${e.value.style.legend.percentage.bold ? "bold" : "normal"};color:${e.value.style.legend.percentage.color}`)
416
+ }, D(g.value.includes(a) ? " - " : l.proportionLabel), 5)) : y("", !0),
416
417
  e.value.style.legend.value.show ? (r(), s("span", {
417
418
  key: 1,
418
- style: g(`font-weight:${e.value.style.legend.value.bold ? "bold" : "normal"};color:${e.value.style.legend.value.color}`)
419
- }, " (" + S(c(ie)(
419
+ style: p(`font-weight:${e.value.style.legend.value.bold ? "bold" : "normal"};color:${e.value.style.legend.value.color}`)
420
+ }, " (" + D(c(ie)(
420
421
  e.value.style.legend.value.formatter,
421
- o.value,
422
+ l.value,
422
423
  c(R)({
423
424
  p: e.value.style.legend.value.prefix,
424
- v: o.value,
425
+ v: l.value,
425
426
  s: e.value.style.legend.value.suffix,
426
427
  r: e.value.style.legend.value.rounding
427
428
  }),
428
- { datapoint: o, seriesIndex: a }
429
- )) + ") ", 5)) : h("", !0)
429
+ { datapoint: l, seriesIndex: a }
430
+ )) + ") ", 5)) : y("", !0)
430
431
  ], 64))
431
432
  ], 64))
432
433
  ])
433
434
  ], 14, ut))), 256))
434
- ], 4)) : h("", !0),
435
- te(c(xe), {
435
+ ], 4)) : y("", !0),
436
+ te(c(Ae), {
436
437
  teleportTo: e.value.style.tooltip.teleportTo,
437
438
  show: O.value && e.value.style.tooltip.show,
438
439
  parent: W.value,
@@ -463,16 +464,16 @@ const ce = { style: { legend: { show: !1 } } }, de = { style: { backgroundColor:
463
464
  }, 8, ["teleportTo", "show", "parent", "backgroundColor", "color", "fontSize", "borderRadius", "borderColor", "borderWidth", "backgroundOpacity", "position", "content", "isCustom", "offsetY", "smooth", "backdropFilter", "smoothForce", "smoothSnapThreshold"]),
464
465
  t.$slots.source ? (r(), s("div", ft, [
465
466
  U(t.$slots, "source", {}, void 0, !0)
466
- ], 512)) : h("", !0),
467
- c(x) ? (r(), Oe(Ye, { key: 3 })) : h("", !0)
467
+ ], 512)) : y("", !0),
468
+ c(A) ? (r(), Oe(Ye, { key: 3 })) : y("", !0)
468
469
  ], 4));
469
470
  }
470
- }, yt = /* @__PURE__ */ Xe(ht, [["__scopeId", "data-v-aab967dc"]]), Ft = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
471
+ }, yt = /* @__PURE__ */ Xe(ht, [["__scopeId", "data-v-9f20728e"]]), Ft = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
471
472
  __proto__: null,
472
473
  default: yt
473
474
  }, Symbol.toStringTag, { value: "Module" }));
474
475
  export {
475
- At as a,
476
+ wt as a,
476
477
  Ft as b,
477
478
  yt as v
478
479
  };
@@ -62,7 +62,7 @@ const xa = { userOptions: { show: !1 }, style: { chart: { legend: { show: !1 },
62
62
  },
63
63
  emits: ["selectDatapoint", "selectLegend", "selectTimeLabel", "selectX"],
64
64
  setup(Xe, { expose: Ma, emit: Ta }) {
65
- const $a = j(() => import("./Tooltip-B6qvABDL.js")), Fa = j(() => import("./BaseIcon-4uOct8re.js")), Da = j(() => import("./vue-ui-accordion-DFKaB_05.js")), Na = j(() => import("./DataTable-DyoDzNNY.js")), Pa = j(() => import("./PenAndPaper-LTuSTmWE.js")), Oa = j(() => import("./UserOptions-CX7Xsusk.js")), Ea = j(() => import("./PackageVersion-D6MO5wwI.js")), Ra = j(() => import("./BaseDraggableDialog-BQYfVNu8.js")), { vue_ui_stackbar: Ia } = Ul(), { isThemeValid: Ba, warnInvalidTheme: Va } = uo(), Ua = El(), C = Xe, be = Ta, ye = b({
65
+ const $a = j(() => import("./Tooltip-B6qvABDL.js")), Fa = j(() => import("./BaseIcon-4uOct8re.js")), Da = j(() => import("./vue-ui-accordion-DFKaB_05.js")), Na = j(() => import("./DataTable-DyoDzNNY.js")), Pa = j(() => import("./PenAndPaper-LTuSTmWE.js")), Oa = j(() => import("./UserOptions-CX7Xsusk.js")), Ea = j(() => import("./PackageVersion-P4S5Z27M.js")), Ra = j(() => import("./BaseDraggableDialog-BQYfVNu8.js")), { vue_ui_stackbar: Ia } = Ul(), { isThemeValid: Ba, warnInvalidTheme: Va } = uo(), Ua = El(), C = Xe, be = Ta, ye = b({
66
66
  get() {
67
67
  return !!C.dataset && C.dataset.length;
68
68
  },
@@ -40,7 +40,7 @@ const Pa = { userOptions: { show: !1 }, style: { chart: { legend: { show: !1 },
40
40
  }, Symbol.toStringTag, { value: "Module" })), _o = ["id"], Do = ["id"], zo = ["xmlns", "viewBox"], Eo = { key: 0 }, Io = ["x", "y", "width", "height"], Po = { key: 1 }, Oo = ["id"], Ro = ["stop-color"], Vo = ["stop-color"], Bo = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], Yo = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], Uo = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Ho = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Wo = ["x", "y", "font-size", "fill", "font-weight"], Xo = ["transform", "font-size", "fill", "font-weight"], qo = ["x", "y", "width", "height", "stroke", "stroke-width", "stroke-linecap", "stroke-linejoin", "stroke-dasharray"], Go = ["d", "fill", "opacity"], jo = ["d", "stroke", "stroke-width"], Jo = ["x1", "x2", "y1", "y2", "stroke"], Zo = ["x", "y", "font-size", "font-weight", "fill"], Qo = { key: 0 }, Ko = { key: 1 }, es = ["text-anchor", "font-size", "font-weight", "fill", "transform", "onClick"], ts = ["text-anchor", "font-size", "fill", "transform", "innerHTML", "onClick"], as = ["x", "y", "height", "width", "fill"], ls = { key: 0 }, os = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], ss = { key: 0 }, rs = ["x", "y", "font-size", "fill", "font-weight"], ns = ["x", "y", "font-size", "font-weight", "fill"], is = ["data-start", "data-end"], us = {
41
41
  key: 4,
42
42
  class: "vue-data-ui-watermark"
43
- }, cs = ["onClick"], hs = ["id"], vs = ["innerHTML"], ds = ["innerHTML"], ms = {
43
+ }, cs = ["onClick"], hs = ["innerHTML"], vs = ["innerHTML"], ds = ["id"], ms = {
44
44
  __name: "vue-ui-stackline",
45
45
  props: {
46
46
  config: {
@@ -62,7 +62,7 @@ const Pa = { userOptions: { show: !1 }, style: { chart: { legend: { show: !1 },
62
62
  },
63
63
  emits: ["selectDatapoint", "selectLegend", "selectTimeLabel", "selectX"],
64
64
  setup(nt, { expose: Xa, emit: qa }) {
65
- const Ga = ye(() => import("./Tooltip-B6qvABDL.js")), ja = ye(() => import("./BaseIcon-4uOct8re.js")), Ja = ye(() => import("./vue-ui-accordion-DFKaB_05.js")), Za = ye(() => import("./DataTable-DyoDzNNY.js")), Qa = ye(() => import("./PenAndPaper-LTuSTmWE.js")), Ka = ye(() => import("./UserOptions-CX7Xsusk.js")), el = ye(() => import("./PackageVersion-D6MO5wwI.js")), tl = ye(() => import("./BaseDraggableDialog-BQYfVNu8.js")), { vue_ui_stackline: al } = fo(), { isThemeValid: ll, warnInvalidTheme: ol } = Ao(), zt = Xl(), j = nt, Ne = qa, Fe = m({
65
+ const Ga = ye(() => import("./Tooltip-B6qvABDL.js")), ja = ye(() => import("./BaseIcon-4uOct8re.js")), Ja = ye(() => import("./vue-ui-accordion-DFKaB_05.js")), Za = ye(() => import("./DataTable-DyoDzNNY.js")), Qa = ye(() => import("./PenAndPaper-LTuSTmWE.js")), Ka = ye(() => import("./UserOptions-CX7Xsusk.js")), el = ye(() => import("./PackageVersion-P4S5Z27M.js")), tl = ye(() => import("./BaseDraggableDialog-BQYfVNu8.js")), { vue_ui_stackline: al } = fo(), { isThemeValid: ll, warnInvalidTheme: ol } = Ao(), zt = Xl(), j = nt, Ne = qa, Fe = m({
66
66
  get() {
67
67
  return !!j.dataset && j.dataset.length;
68
68
  },
@@ -1798,9 +1798,6 @@ const Pa = { userOptions: { show: !1 }, style: { chart: { legend: { show: !1 },
1798
1798
  }, void 0, !0)
1799
1799
  ], 512)
1800
1800
  ], 8, ["to"])) : A("", !0),
1801
- ue("div", {
1802
- id: `legend-bottom-${Q.value}`
1803
- }, null, 8, hs),
1804
1801
  Fe.value && e.value.userOptions.buttons.table ? (i(), ie(Ql(Ve.value.component), lt({ key: 6 }, Ve.value.props, {
1805
1802
  ref_key: "tableUnit",
1806
1803
  ref: ze,
@@ -1817,7 +1814,7 @@ const Pa = { userOptions: { show: !1 }, style: { chart: { legend: { show: !1 },
1817
1814
  onClose: pa
1818
1815
  }, {
1819
1816
  th: D(({ th: a }) => [
1820
- ue("div", { innerHTML: a }, null, 8, vs)
1817
+ ue("div", { innerHTML: a }, null, 8, hs)
1821
1818
  ]),
1822
1819
  td: D(({ td: a }) => [
1823
1820
  Na(de(isNaN(Number(a)) ? a : M(Ce)({
@@ -1913,10 +1910,13 @@ const Pa = { userOptions: { show: !1 }, style: { chart: { legend: { show: !1 },
1913
1910
  slotMap: D(({ width: a, height: o, unitW: s }) => [
1914
1911
  ue("g", {
1915
1912
  innerHTML: Yl({ minimapH: o, unitW: s })
1916
- }, null, 8, ds)
1913
+ }, null, 8, vs)
1917
1914
  ]),
1918
1915
  _: 3
1919
1916
  }, 8, ["allMinimaps", "background", "borderColor", "customFormat", "enableRangeHandles", "enableSelectionDrag", "end", "focusOnDrag", "focusRangeRatio", "fontSize", "immediate", "inputColor", "isPreview", "labelLeft", "labelRight", "max", "minimap", "minimapCompact", "minimapFrameColor", "minimapIndicatorColor", "minimapSelectedColor", "minimapSelectedColorOpacity", "minimapSelectedIndex", "preciseLabels", "refreshEndPoint", "refreshStartPoint", "selectColor", "selectedSeries", "start", "textColor", "timeLabels", "usePreciseLabels", "valueEnd", "valueStart", "verticalHandles"])) : A("", !0),
1917
+ ue("div", {
1918
+ id: `legend-bottom-${Q.value}`
1919
+ }, null, 8, ds),
1920
1920
  He(M(Ga), {
1921
1921
  teleportTo: e.value.style.chart.tooltip.teleportTo,
1922
1922
  show: q.value.showTooltip && Et.value,
@@ -1957,7 +1957,7 @@ const Pa = { userOptions: { show: !1 }, style: { chart: { legend: { show: !1 },
1957
1957
  M(he) ? (i(), ie(xo, { key: 9 })) : A("", !0)
1958
1958
  ], 46, _o));
1959
1959
  }
1960
- }, gs = /* @__PURE__ */ Fo(ms, [["__scopeId", "data-v-aa775689"]]), Es = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1960
+ }, gs = /* @__PURE__ */ Fo(ms, [["__scopeId", "data-v-ab0b274c"]]), Es = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1961
1961
  __proto__: null,
1962
1962
  default: gs
1963
1963
  }, Symbol.toStringTag, { value: "Module" }));