vue-data-ui 3.10.2 → 3.10.4

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 (140) hide show
  1. package/dist/{BaseDraggableDialog-BQYfVNu8.js → BaseDraggableDialog-yydbrMGo.js} +1 -1
  2. package/dist/{BaseIcon-4uOct8re.js → BaseIcon-Dkev7LF3.js} +26 -21
  3. package/dist/{BaseZoomControls-Cb-Qq9_R.js → BaseZoomControls-DiZb75GR.js} +1 -1
  4. package/dist/{ColorPicker-Culsjrcr.js → ColorPicker-B2-PUcpZ.js} +1 -1
  5. package/dist/{DataTable-DyoDzNNY.js → DataTable-KnMZnrDl.js} +1 -1
  6. package/dist/{NonSvgPenAndPaper-CNMLfAk3.js → NonSvgPenAndPaper-CvboTw8J.js} +2 -2
  7. package/dist/{PackageVersion-CQxJyGQr.js → PackageVersion-B-d6mVAh.js} +1 -1
  8. package/dist/{PenAndPaper-LTuSTmWE.js → PenAndPaper-XGy5hh2M.js} +2 -2
  9. package/dist/{Slicer-DckZxvyx.js → Slicer-B3sIrIT7.js} +1 -1
  10. package/dist/{SlicerPreview-CSc_cazO.js → SlicerPreview-DGYouyqS.js} +12 -12
  11. package/dist/{UserOptions-CX7Xsusk.js → UserOptions-D-fbp44C.js} +1 -1
  12. package/dist/components/vue-ui-3d-bar.js +1 -1
  13. package/dist/components/vue-ui-accordion.js +1 -1
  14. package/dist/components/vue-ui-age-pyramid.js +1 -1
  15. package/dist/components/vue-ui-annotator.js +1 -1
  16. package/dist/components/vue-ui-bullet.js +1 -1
  17. package/dist/components/vue-ui-bump.js +1 -1
  18. package/dist/components/vue-ui-candlestick.js +1 -1
  19. package/dist/components/vue-ui-carousel-table.js +1 -1
  20. package/dist/components/vue-ui-chestnut.js +1 -1
  21. package/dist/components/vue-ui-chord.js +1 -1
  22. package/dist/components/vue-ui-circle-pack.js +1 -1
  23. package/dist/components/vue-ui-cursor.js +1 -1
  24. package/dist/components/vue-ui-dag.js +1 -1
  25. package/dist/components/vue-ui-dashboard.js +1 -1
  26. package/dist/components/vue-ui-donut-evolution.js +1 -1
  27. package/dist/components/vue-ui-donut.js +1 -1
  28. package/dist/components/vue-ui-dumbbell.js +1 -1
  29. package/dist/components/vue-ui-flow.js +1 -1
  30. package/dist/components/vue-ui-funnel.js +1 -1
  31. package/dist/components/vue-ui-galaxy.js +1 -1
  32. package/dist/components/vue-ui-gauge.js +1 -1
  33. package/dist/components/vue-ui-geo.js +1 -1
  34. package/dist/components/vue-ui-gizmo.js +1 -1
  35. package/dist/components/vue-ui-heatmap.js +1 -1
  36. package/dist/components/vue-ui-history-plot.js +1 -1
  37. package/dist/components/vue-ui-horizontal-bar.js +1 -1
  38. package/dist/components/vue-ui-icon.js +1 -1
  39. package/dist/components/vue-ui-molecule.js +1 -1
  40. package/dist/components/vue-ui-mood-radar.js +1 -1
  41. package/dist/components/vue-ui-nested-donuts.js +1 -1
  42. package/dist/components/vue-ui-onion.js +1 -1
  43. package/dist/components/vue-ui-parallel-coordinate-plot.js +1 -1
  44. package/dist/components/vue-ui-quadrant.js +1 -1
  45. package/dist/components/vue-ui-quick-chart.js +1 -1
  46. package/dist/components/vue-ui-radar.js +1 -1
  47. package/dist/components/vue-ui-relation-circle.js +1 -1
  48. package/dist/components/vue-ui-ridgeline.js +1 -1
  49. package/dist/components/vue-ui-rings.js +1 -1
  50. package/dist/components/vue-ui-scatter.js +1 -1
  51. package/dist/components/vue-ui-skeleton.js +1 -1
  52. package/dist/components/vue-ui-spark-trend.js +1 -1
  53. package/dist/components/vue-ui-sparkbar.js +1 -1
  54. package/dist/components/vue-ui-sparkgauge.js +1 -1
  55. package/dist/components/vue-ui-sparkhistogram.js +1 -1
  56. package/dist/components/vue-ui-sparkline.js +1 -1
  57. package/dist/components/vue-ui-sparkstackbar.js +1 -1
  58. package/dist/components/vue-ui-stackbar.js +1 -1
  59. package/dist/components/vue-ui-stackline.js +1 -1
  60. package/dist/components/vue-ui-strip-plot.js +1 -1
  61. package/dist/components/vue-ui-table-heatmap.js +1 -1
  62. package/dist/components/vue-ui-table-sparkline.js +1 -1
  63. package/dist/components/vue-ui-table.js +1 -1
  64. package/dist/components/vue-ui-thermometer.js +1 -1
  65. package/dist/components/vue-ui-timer.js +1 -1
  66. package/dist/components/vue-ui-tiremarks.js +1 -1
  67. package/dist/components/vue-ui-treemap.js +1 -1
  68. package/dist/components/vue-ui-vertical-bar.js +1 -1
  69. package/dist/components/vue-ui-waffle.js +1 -1
  70. package/dist/components/vue-ui-wheel.js +1 -1
  71. package/dist/components/vue-ui-word-cloud.js +1 -1
  72. package/dist/components/vue-ui-world.js +1 -1
  73. package/dist/components/vue-ui-xy-canvas.js +1 -1
  74. package/dist/components/vue-ui-xy.js +1 -1
  75. package/dist/style.css +1 -1
  76. package/dist/types/vue-data-ui.d.ts +6 -0
  77. package/dist/{vue-data-ui-GAruO_UT.js → vue-data-ui-C0aLv5Q4.js} +63 -63
  78. package/dist/vue-data-ui.js +65 -65
  79. package/dist/{vue-ui-3d-bar-t_E9saCp.js → vue-ui-3d-bar-B7BAQ1Ht.js} +1 -1
  80. package/dist/{vue-ui-accordion-DFKaB_05.js → vue-ui-accordion-YWjqDGPM.js} +1 -1
  81. package/dist/{vue-ui-age-pyramid-DKlTGZ6m.js → vue-ui-age-pyramid-wl6PBobo.js} +1 -1
  82. package/dist/{vue-ui-annotator-CNkhGqqn.js → vue-ui-annotator-VtMsL8_a.js} +3 -3
  83. package/dist/{vue-ui-bullet-C4FXVy8_.js → vue-ui-bullet-DbxGLo-x.js} +1 -1
  84. package/dist/{vue-ui-bump-BJZrexv4.js → vue-ui-bump-DxIgr2HP.js} +2 -2
  85. package/dist/{vue-ui-candlestick-P7w1YVT6.js → vue-ui-candlestick-C4E2f9Yx.js} +2 -2
  86. package/dist/{vue-ui-carousel-table-DQk4RoWo.js → vue-ui-carousel-table-CW50IQBB.js} +1 -1
  87. package/dist/{vue-ui-chestnut-Co8x4We0.js → vue-ui-chestnut-B8D-E_OT.js} +1 -1
  88. package/dist/{vue-ui-chord-NjSRzToa.js → vue-ui-chord-Cr7XtjeH.js} +1 -1
  89. package/dist/{vue-ui-circle-pack-CwrgCRKX.js → vue-ui-circle-pack-G61lXn-A.js} +1 -1
  90. package/dist/{vue-ui-cursor-Bh5-9JWm.js → vue-ui-cursor-DBiPQOJt.js} +1 -1
  91. package/dist/{vue-ui-dag-BBGpjSzH.js → vue-ui-dag-BBREGeuq.js} +2 -2
  92. package/dist/{vue-ui-dashboard-ekbwnmce.js → vue-ui-dashboard-DP91aVu4.js} +60 -60
  93. package/dist/{vue-ui-donut-DvLh8qa2.js → vue-ui-donut-CmR1VtDq.js} +1 -1
  94. package/dist/{vue-ui-donut-evolution-BiLhAVY8.js → vue-ui-donut-evolution-CRw22F_H.js} +2 -2
  95. package/dist/{vue-ui-dumbbell-C2OWcZvr.js → vue-ui-dumbbell-DfKWaod1.js} +1 -1
  96. package/dist/{vue-ui-flow-Cp2le1ur.js → vue-ui-flow-keUxLfvc.js} +1 -1
  97. package/dist/{vue-ui-funnel-ClGo8z4y.js → vue-ui-funnel-C68oqiIK.js} +1 -1
  98. package/dist/{vue-ui-galaxy-DTAl_-40.js → vue-ui-galaxy-C-6Ygooc.js} +1 -1
  99. package/dist/{vue-ui-gauge-DOG6-lgt.js → vue-ui-gauge-BEqGBoZP.js} +1 -1
  100. package/dist/{vue-ui-geo-BpWyHXwd.js → vue-ui-geo-BSCp207O.js} +2 -2
  101. package/dist/{vue-ui-gizmo-BMq5dzK4.js → vue-ui-gizmo-DDdt4YYe.js} +1 -1
  102. package/dist/{vue-ui-heatmap-Bp9HI0Zo.js → vue-ui-heatmap-DoptdeuZ.js} +2 -2
  103. package/dist/{vue-ui-history-plot-CVM1jz1X.js → vue-ui-history-plot-D3VqVH6G.js} +1 -1
  104. package/dist/{vue-ui-horizontal-bar-B0UY6b-O.js → vue-ui-horizontal-bar-DVT2uDtq.js} +6 -6
  105. package/dist/{vue-ui-molecule-CUppdL5f.js → vue-ui-molecule-DzHtkXhX.js} +1 -1
  106. package/dist/{vue-ui-mood-radar-QN25VSAw.js → vue-ui-mood-radar-BbX7w_ad.js} +1 -1
  107. package/dist/{vue-ui-nested-donuts-ywWUDYjT.js → vue-ui-nested-donuts-CAaU0Rrm.js} +1 -1
  108. package/dist/{vue-ui-onion-DmwZ1gg_.js → vue-ui-onion-DREO2Z6U.js} +1 -1
  109. package/dist/{vue-ui-parallel-coordinate-plot-Bz2ROYRD.js → vue-ui-parallel-coordinate-plot-BKBBdpY1.js} +1 -1
  110. package/dist/{vue-ui-quadrant-CUpWOWF2.js → vue-ui-quadrant-_vUwHJzv.js} +1 -1
  111. package/dist/{vue-ui-quick-chart-CXrm_rzI.js → vue-ui-quick-chart-24K2Bysn.js} +2 -2
  112. package/dist/{vue-ui-radar-BqLjOOnJ.js → vue-ui-radar-N_6WRMyx.js} +1 -1
  113. package/dist/{vue-ui-relation-circle-CrYmJHLI.js → vue-ui-relation-circle-YYjxSGqL.js} +1 -1
  114. package/dist/{vue-ui-ridgeline-ZbmQXJxt.js → vue-ui-ridgeline-IdmUzGSH.js} +1 -1
  115. package/dist/{vue-ui-rings-BxYoBfvT.js → vue-ui-rings-DbmA_Vyh.js} +1 -1
  116. package/dist/{vue-ui-scatter-BhJkoRBS.js → vue-ui-scatter-DcDSsAkr.js} +1 -1
  117. package/dist/{vue-ui-skeleton-Bg1akQqn.js → vue-ui-skeleton-tH6Uo_Bi.js} +1 -1
  118. package/dist/{vue-ui-spark-trend-CJtfXMSj.js → vue-ui-spark-trend-Bd6UJIRg.js} +1 -1
  119. package/dist/{vue-ui-sparkbar-DHJdmNDm.js → vue-ui-sparkbar-tUo47wwo.js} +1 -1
  120. package/dist/{vue-ui-sparkgauge-ANfPLNuD.js → vue-ui-sparkgauge-CiaiO1JX.js} +1 -1
  121. package/dist/{vue-ui-sparkhistogram-CIfYUXVZ.js → vue-ui-sparkhistogram-C8DMnroR.js} +1 -1
  122. package/dist/{vue-ui-sparkline-Bm0OmFUB.js → vue-ui-sparkline-B4bEsyxd.js} +84 -84
  123. package/dist/{vue-ui-sparkstackbar-CCnnfsqG.js → vue-ui-sparkstackbar-8cw7h_7Y.js} +152 -151
  124. package/dist/{vue-ui-stackbar-CK5is5H7.js → vue-ui-stackbar-BUEWFVL4.js} +2 -2
  125. package/dist/{vue-ui-stackline-CFv2OUCL.js → vue-ui-stackline-17Qdgzy7.js} +2 -2
  126. package/dist/{vue-ui-strip-plot-CJ1Zkrhq.js → vue-ui-strip-plot-DkMWYwjY.js} +1 -1
  127. package/dist/{vue-ui-table-CMyYl8lE.js → vue-ui-table-BppRxxpv.js} +3 -3
  128. package/dist/{vue-ui-table-heatmap-8kBdXO2V.js → vue-ui-table-heatmap-DPJNR6Yb.js} +1 -1
  129. package/dist/{vue-ui-table-sparkline-Bo4nuBEx.js → vue-ui-table-sparkline-Dl-PZ_T_.js} +1 -1
  130. package/dist/{vue-ui-thermometer-h3voYVGJ.js → vue-ui-thermometer-BQAVSTWa.js} +1 -1
  131. package/dist/{vue-ui-timer-CazY_Z4R.js → vue-ui-timer-uuP6d-hn.js} +2 -2
  132. package/dist/{vue-ui-tiremarks-CTa_gpit.js → vue-ui-tiremarks-DUeJB0Bu.js} +1 -1
  133. package/dist/{vue-ui-treemap-B6AuOtaA.js → vue-ui-treemap-TbqIxXuK.js} +2 -2
  134. package/dist/{vue-ui-waffle-DnEBC07H.js → vue-ui-waffle-1C6BaA9F.js} +1 -1
  135. package/dist/{vue-ui-wheel-DFU2vMsP.js → vue-ui-wheel-7fwzBckw.js} +1 -1
  136. package/dist/{vue-ui-word-cloud-DgY58NEj.js → vue-ui-word-cloud-CsyVGD7H.js} +180 -180
  137. package/dist/{vue-ui-world-xEUaTJDk.js → vue-ui-world-Chue2G32.js} +1 -1
  138. package/dist/{vue-ui-xy-spqKboQb.js → vue-ui-xy-BEoDq04z.js} +3 -3
  139. package/dist/{vue-ui-xy-canvas-eHl--9m7.js → vue-ui-xy-canvas-BG4nyCGs.js} +4 -4
  140. package/package.json +2 -2
@@ -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-CQxJyGQr.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-B-d6mVAh.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
  };
@@ -14,7 +14,7 @@ import go from "./img-6fNF_rG0.js";
14
14
  import bo from "./Title-NgeRXqRA.js";
15
15
  import { _ as yo } from "./Shape-PzdCMGsP.js";
16
16
  import fo from "./Legend-DN5UJOBH.js";
17
- import { S as mo } from "./SlicerPreview-CSc_cazO.js";
17
+ import { S as mo } from "./SlicerPreview-DGYouyqS.js";
18
18
  import { _ as po } from "./_plugin-vue_export-helper-CHgC5LLL.js";
19
19
  const xa = { userOptions: { show: !1 }, style: { chart: { legend: { show: !1 }, bars: { gradient: { show: !1 } }, zoom: { minimap: { show: !0 } } } } }, Ca = { userOptions: { show: !1 }, table: { th: { backgroundColor: "#1A1A1A", color: "#CCCCCC" }, td: { backgroundColor: "#1A1A1A", color: "#CCCCCC" } }, style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", title: { color: "#CCCCCC", subtitle: { color: "#757575" } }, legend: { show: !1, backgroundColor: "#1A1A1A", color: "#CCCCCC" }, zoom: { color: "#4A4A4A", highlightColor: "#9A9A9A", minimap: { show: !0, selectedColor: "#8A8A8A", lineColor: "#424242", indicatorColor: "#CCCCCC" } }, highlighter: { color: "#CCCCCC" }, tooltip: { backgroundColor: "#1A1A1A", backgroundOpacity: 70, color: "#CCCCCC", borderColor: "#3A3A3A" }, bars: { gradient: { show: !1 }, totalValues: { color: "#CCCCCC" } }, grid: { frame: { stroke: "#5A5A5A" }, x: { axisColor: "#5A5A5A", linesColor: "#4A4A4A", axisName: { color: "#CCCCCC" }, timeLabels: { color: "#CCCCCC" } }, y: { axisColor: "#5A5A5A", linesColor: "#4A4A4A", axisName: { color: "#CCCCCC" }, axisLabels: { color: "#CCCCCC" } } } } } }, ka = { table: { th: { backgroundColor: "#1A1A1A", color: "#CCCCCC" }, td: { backgroundColor: "#1A1A1A", color: "#CCCCCC" } }, style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", title: { color: "#CCCCCC", subtitle: { color: "#757575" } }, legend: { backgroundColor: "#1A1A1A", color: "#CCCCCC" }, zoom: { color: "#4A4A4A", highlightColor: "#9A9A9A", minimap: { selectedColor: "#8A8A8A", lineColor: "#424242", indicatorColor: "#CCCCCC" } }, highlighter: { color: "#CCCCCC" }, tooltip: { backgroundColor: "#1A1A1A", backgroundOpacity: 70, color: "#CCCCCC", borderColor: "#5A5A5A" }, bars: { totalValues: { color: "#CCCCCC" } }, grid: { frame: { stroke: "#5A5A5A" }, x: { axisColor: "#5A5A5A", linesColor: "#4A4A4A", axisName: { color: "#CCCCCC" }, timeLabels: { color: "#CCCCCC" } }, y: { axisColor: "#5A5A5A", linesColor: "#4A4A4A", axisName: { color: "#CCCCCC" }, axisLabels: { color: "#CCCCCC" } } } } } }, wa = { table: { th: { backgroundColor: "#FFF8E1", color: "#424242" }, td: { backgroundColor: "#FFF8E1", color: "#424242" } }, style: { chart: { backgroundColor: "#FFF8E1", color: "#424242", title: { color: "#424242", subtitle: { color: "#757575" } }, legend: { backgroundColor: "#FFF8E1", color: "#424242" }, zoom: { color: "#5D4037", highlightColor: "#FF8A65" }, highlighter: { color: "#424242" }, tooltip: { backgroundColor: "#FFECB3", backgroundOpacity: 30, color: "#424242", borderColor: "#FF8A65" }, bars: { totalValues: { color: "#424242" } }, grid: { x: { axisColor: "#5D403780", axisName: { color: "#424242" }, timeLabels: { color: "#424242" } }, y: { axisColor: "#5D403780", axisName: { color: "#424242" }, axisLabels: { color: "#424242" } } } } } }, Aa = { table: { th: { backgroundColor: "#1E1E1E", color: "#BDBDBD" }, td: { backgroundColor: "#1E1E1E", color: "#BDBDBD" } }, style: { chart: { backgroundColor: "#1E1E1E", color: "#BDBDBD", title: { color: "#FFF8E1", subtitle: { color: "#BDBDBD" } }, legend: { backgroundColor: "#1E1E1E", color: "#BDBDBD" }, zoom: { color: "#5D4037", highlightColor: "#FF8A65" }, highlighter: { color: "#FFF8E1" }, tooltip: { backgroundColor: "#1E1E1E", backgroundOpacity: 30, color: "#FFF8E1", borderColor: "#FF8A65" }, bars: { totalValues: { color: "#BDBDBD" } }, grid: { x: { axisColor: "#5D403740", axisName: { color: "#BDBDBD" }, timeLabels: { color: "#BDBDBD" } }, y: { axisColor: "#5D4037", axisName: { color: "#BDBDBD" }, axisLabels: { color: "#BDBDBD" } } } } } }, La = { table: { th: { backgroundColor: "#1A1A1A", color: "#99AA99" }, td: { backgroundColor: "#1A1A1A", color: "#AACCAA" } }, style: { chart: { backgroundColor: "#1A1A1A", color: "#99AA99", title: { color: "#66CC66", subtitle: { color: "#99AA99" } }, legend: { backgroundColor: "#1A1A1A", color: "#99AA99" }, zoom: { color: "#5F6A5F", highlightColor: "#66CC66" }, highlighter: { color: "#66CC66" }, tooltip: { backgroundColor: "#2A2F2A", color: "#AACCAA", borderColor: "#66CC66" }, bars: { totalValues: { color: "#99AA99" } }, grid: { x: { axisColor: "#5F6A5F", axisName: { color: "#66CC66" }, timeLabels: { color: "#99AA99" } }, y: { axisColor: "#5F6A5F", axisName: { color: "#66CC66" }, axisLabels: { color: "#99AA99" } } } } } }, za = { table: { th: { backgroundColor: "#1A1A1A", color: "#99AA99" }, td: { backgroundColor: "#1A1A1A", color: "#AACCAA" } }, style: { chart: { backgroundColor: "#fbfafa", color: "#8A9892", title: { color: "#8A9892", subtitle: { color: "#99AA99" } }, legend: { backgroundColor: "#fbfafa", color: "#99AA99" }, zoom: { color: "#E0CFC3", highlightColor: "#8F837A" }, highlighter: { color: "#8F837A" }, tooltip: { backgroundColor: "#fbfafa", color: "#8A9892" }, bars: { borderRadius: 4, totalValues: { show: !1 }, dataLabels: { show: !1 } }, grid: { x: { showAxis: !1, axisName: { color: "#8F837A" }, timeLabels: { show: !1 } }, y: { showAxis: !1, axisName: { color: "#8F837A" }, axisLabels: { show: !1 } } } } } }, Sa = { table: { th: { backgroundColor: "#f6f6fb", color: "#50606C" }, td: { backgroundColor: "#f6f6fb", color: "#50606C" } }, style: { chart: { backgroundColor: "#f6f6fb", color: "#50606C", title: { color: "#50606C", subtitle: { color: "#718890" } }, legend: { backgroundColor: "#f6f6fb", color: "#61747E" }, zoom: { color: "#92B0AB", highlightColor: "#50606C" }, highlighter: { color: "#7DA9B5" }, tooltip: { backgroundColor: "#f6f6fb", color: "#50606C" }, bars: { totalValues: { color: "#50606C" } }, grid: { x: { showHorizontalLines: !0, axisColor: "#829C98", axisName: { color: "#50606C" }, timeLabels: { color: "#61747E" } }, y: { showVerticalLines: !0, axisColor: "#829C98", axisName: { color: "#50606C" }, axisLabels: { color: "#61747E" } } } } } }, _a = {
20
20
  default: {},
@@ -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-CQxJyGQr.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-Dkev7LF3.js")), Da = j(() => import("./vue-ui-accordion-YWjqDGPM.js")), Na = j(() => import("./DataTable-KnMZnrDl.js")), Pa = j(() => import("./PenAndPaper-XGy5hh2M.js")), Oa = j(() => import("./UserOptions-D-fbp44C.js")), Ea = j(() => import("./PackageVersion-B-d6mVAh.js")), Ra = j(() => import("./BaseDraggableDialog-yydbrMGo.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
  },
@@ -14,7 +14,7 @@ import $o from "./img-6fNF_rG0.js";
14
14
  import { _ as Dt } from "./Shape-PzdCMGsP.js";
15
15
  import Lo from "./Title-NgeRXqRA.js";
16
16
  import To from "./Legend-DN5UJOBH.js";
17
- import { S as No } from "./SlicerPreview-CSc_cazO.js";
17
+ import { S as No } from "./SlicerPreview-DGYouyqS.js";
18
18
  import { _ as Fo } from "./_plugin-vue_export-helper-CHgC5LLL.js";
19
19
  const Pa = { userOptions: { show: !1 }, style: { chart: { legend: { show: !1 }, lines: { gradient: { show: !1 } }, zoom: { minimap: { show: !0 } } } } }, Oa = { userOptions: { show: !1 }, table: { th: { backgroundColor: "#1A1A1A", color: "#CCCCCC" }, td: { backgroundColor: "#1A1A1A", color: "#CCCCCC" } }, style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", title: { color: "#CCCCCC", subtitle: { color: "#757575" } }, legend: { show: !1, backgroundColor: "#1A1A1A", color: "#CCCCCC" }, zoom: { color: "#4A4A4A", highlightColor: "#9A9A9A", minimap: { show: !0, selectedColor: "#8A8A8A", lineColor: "#424242", indicatorColor: "#CCCCCC" } }, highlighter: { color: "#CCCCCC" }, tooltip: { backgroundColor: "#1A1A1A", backgroundOpacity: 70, color: "#CCCCCC", borderColor: "#3A3A3A" }, lines: { gradient: { show: !1 }, totalValues: { color: "#CCCCCC" }, dataLabels: { color: "#CCCCCC" } }, grid: { x: { axisColor: "#5A5A5A", linesColor: "#4A4A4A", axisName: { color: "#CCCCCC" }, timeLabels: { color: "#CCCCCC" } }, y: { axisColor: "#5A5A5A", linesColor: "#4A4A4A", axisName: { color: "#CCCCCC" }, axisLabels: { color: "#CCCCCC" } } } } } }, Ra = { table: { th: { backgroundColor: "#1A1A1A", color: "#CCCCCC" }, td: { backgroundColor: "#1A1A1A", color: "#CCCCCC" } }, style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", title: { color: "#CCCCCC", subtitle: { color: "#757575" } }, legend: { backgroundColor: "#1A1A1A", color: "#CCCCCC" }, zoom: { color: "#4A4A4A", highlightColor: "#9A9A9A", minimap: { selectedColor: "#8A8A8A", lineColor: "#424242", indicatorColor: "#CCCCCC" } }, highlighter: { color: "#CCCCCC" }, tooltip: { backgroundColor: "#1A1A1A", backgroundOpacity: 70, color: "#CCCCCC", borderColor: "#5A5A5A" }, lines: { totalValues: { color: "#CCCCCC" }, dataLabels: { color: "#CCCCCC" } }, grid: { x: { axisColor: "#5A5A5A", linesColor: "#4A4A4A", axisName: { color: "#CCCCCC" }, timeLabels: { color: "#CCCCCC" } }, y: { axisColor: "#5A5A5A", linesColor: "#4A4A4A", axisName: { color: "#CCCCCC" }, axisLabels: { color: "#CCCCCC" } } } } } }, Va = { table: { th: { backgroundColor: "#FFF8E1", color: "#424242" }, td: { backgroundColor: "#FFF8E1", color: "#424242" } }, style: { chart: { backgroundColor: "#FFF8E1", color: "#424242", title: { color: "#424242", subtitle: { color: "#757575" } }, legend: { backgroundColor: "#FFF8E1", color: "#424242" }, zoom: { color: "#5D4037", highlightColor: "#FF8A65" }, highlighter: { color: "#424242" }, tooltip: { backgroundColor: "#FFECB3", backgroundOpacity: 30, color: "#424242", borderColor: "#FF8A65" }, lines: { totalValues: { color: "#424242" }, dataLabels: { color: "#424242" } }, grid: { x: { axisColor: "#5D403780", axisName: { color: "#424242" }, timeLabels: { color: "#424242" } }, y: { axisColor: "#5D403780", axisName: { color: "#424242" }, axisLabels: { color: "#424242" } } } } } }, Ba = { table: { th: { backgroundColor: "#1E1E1E", color: "#BDBDBD" }, td: { backgroundColor: "#1E1E1E", color: "#BDBDBD" } }, style: { chart: { backgroundColor: "#1E1E1E", color: "#BDBDBD", title: { color: "#FFF8E1", subtitle: { color: "#BDBDBD" } }, legend: { backgroundColor: "#1E1E1E", color: "#BDBDBD" }, zoom: { color: "#5D4037", highlightColor: "#FF8A65" }, highlighter: { color: "#FFF8E1" }, tooltip: { backgroundColor: "#1E1E1E", backgroundOpacity: 30, color: "#FFF8E1", borderColor: "#FF8A65" }, lines: { totalValues: { color: "#BDBDBD" }, dataLabels: { color: "#BDBDBD" } }, grid: { x: { axisColor: "#5D403740", axisName: { color: "#BDBDBD" }, timeLabels: { color: "#BDBDBD" } }, y: { axisColor: "#5D4037", axisName: { color: "#BDBDBD" }, axisLabels: { color: "#BDBDBD" } } } } } }, Ya = { table: { th: { backgroundColor: "#1A1A1A", color: "#99AA99" }, td: { backgroundColor: "#1A1A1A", color: "#AACCAA" } }, style: { chart: { backgroundColor: "#1A1A1A", color: "#99AA99", title: { color: "#66CC66", subtitle: { color: "#99AA99" } }, legend: { backgroundColor: "#1A1A1A", color: "#99AA99" }, zoom: { color: "#5F6A5F", highlightColor: "#66CC66" }, highlighter: { color: "#66CC66" }, tooltip: { backgroundColor: "#2A2F2A", color: "#AACCAA", borderColor: "#66CC66" }, lines: { totalValues: { color: "#99AA99" }, dataLabels: { color: "#99AA99" } }, grid: { x: { axisColor: "#5F6A5F", axisName: { color: "#66CC66" }, timeLabels: { color: "#99AA99" } }, y: { axisColor: "#5F6A5F", axisName: { color: "#66CC66" }, axisLabels: { color: "#99AA99" } } } } } }, Ua = { table: { th: { backgroundColor: "#1A1A1A", color: "#99AA99" }, td: { backgroundColor: "#1A1A1A", color: "#AACCAA" } }, style: { chart: { backgroundColor: "#fbfafa", color: "#8A9892", title: { color: "#8A9892", subtitle: { color: "#99AA99" } }, legend: { backgroundColor: "#fbfafa", color: "#99AA99" }, zoom: { color: "#E0CFC3", highlightColor: "#8F837A" }, highlighter: { color: "#8F837A" }, tooltip: { backgroundColor: "#fbfafa", color: "#8A9892" }, lines: { borderRadius: 4, totalValues: { show: !1 }, dataLabels: { show: !1 } }, grid: { x: { showAxis: !1, axisName: { color: "#8F837A" }, timeLabels: { show: !1 } }, y: { showAxis: !1, axisName: { color: "#8F837A" }, axisLabels: { show: !1 } } } } } }, Ha = { table: { th: { backgroundColor: "#f6f6fb", color: "#50606C" }, td: { backgroundColor: "#f6f6fb", color: "#50606C" } }, style: { chart: { backgroundColor: "#f6f6fb", color: "#50606C", title: { color: "#50606C", subtitle: { color: "#718890" } }, legend: { backgroundColor: "#f6f6fb", color: "#61747E" }, zoom: { color: "#92B0AB", highlightColor: "#50606C" }, highlighter: { color: "#7DA9B5" }, tooltip: { backgroundColor: "#f6f6fb", color: "#50606C" }, lines: { totalValues: { color: "#50606C" }, dataLabels: { color: "#50606C" } }, grid: { x: { showHorizontalLines: !0, axisColor: "#829C98", axisName: { color: "#50606C" }, timeLabels: { color: "#61747E" } }, y: { showVerticalLines: !0, axisColor: "#829C98", axisName: { color: "#50606C" }, axisLabels: { color: "#61747E" } } } } } }, Wa = {
20
20
  default: {},
@@ -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-CQxJyGQr.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-Dkev7LF3.js")), Ja = ye(() => import("./vue-ui-accordion-YWjqDGPM.js")), Za = ye(() => import("./DataTable-KnMZnrDl.js")), Qa = ye(() => import("./PenAndPaper-XGy5hh2M.js")), Ka = ye(() => import("./UserOptions-D-fbp44C.js")), el = ye(() => import("./PackageVersion-B-d6mVAh.js")), tl = ye(() => import("./BaseDraggableDialog-yydbrMGo.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
  },