vue-data-ui 3.10.0 → 3.10.2

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 (167) hide show
  1. package/dist/{Arrow-ChEFq9U7.js → Arrow-DWr41GRU.js} +1 -1
  2. package/dist/{BaseDraggableDialog-O2XSymlZ.js → BaseDraggableDialog-BQYfVNu8.js} +2 -2
  3. package/dist/{BaseIcon-B9bGT7HU.js → BaseIcon-4uOct8re.js} +18 -18
  4. package/dist/{BaseZoomControls-B4rpv4Kk.js → BaseZoomControls-Cb-Qq9_R.js} +2 -2
  5. package/dist/{ColorPicker-VKEPgk58.js → ColorPicker-Culsjrcr.js} +2 -2
  6. package/dist/{DataTable-DEwh__D8.js → DataTable-DyoDzNNY.js} +2 -2
  7. package/dist/{Legend-D2xmnFPH.js → Legend-DN5UJOBH.js} +2 -2
  8. package/dist/{NonSvgPenAndPaper-CxbOhI52.js → NonSvgPenAndPaper-CNMLfAk3.js} +3 -3
  9. package/dist/{PackageVersion-C-JOGZBL.js → PackageVersion-CQxJyGQr.js} +1 -1
  10. package/dist/{PenAndPaper-CulSakut.js → PenAndPaper-LTuSTmWE.js} +3 -3
  11. package/dist/{Shape-12_eh8zD.js → Shape-PzdCMGsP.js} +1 -1
  12. package/dist/{Slicer-EQH4YKwe.js → Slicer-DckZxvyx.js} +2 -2
  13. package/dist/{SlicerPreview-Ddfxn6es.js → SlicerPreview-CSc_cazO.js} +2 -2
  14. package/dist/{SparkTooltip-D_OsZuuE.js → SparkTooltip-BLTVhvm2.js} +1 -1
  15. package/dist/{Title-B5L2jweB.js → Title-NgeRXqRA.js} +1 -1
  16. package/dist/{Tooltip-DpfUZbt7.js → Tooltip-B6qvABDL.js} +1 -1
  17. package/dist/{UserOptions-5pXc4J-c.js → UserOptions-CX7Xsusk.js} +2 -2
  18. package/dist/components/arrow.js +1 -1
  19. package/dist/components/vue-ui-3d-bar.js +1 -1
  20. package/dist/components/vue-ui-accordion.js +1 -1
  21. package/dist/components/vue-ui-age-pyramid.js +1 -1
  22. package/dist/components/vue-ui-annotator.js +1 -1
  23. package/dist/components/vue-ui-bullet.js +1 -1
  24. package/dist/components/vue-ui-bump.js +1 -1
  25. package/dist/components/vue-ui-candlestick.js +1 -1
  26. package/dist/components/vue-ui-carousel-table.js +1 -1
  27. package/dist/components/vue-ui-chestnut.js +1 -1
  28. package/dist/components/vue-ui-chord.js +1 -1
  29. package/dist/components/vue-ui-circle-pack.js +1 -1
  30. package/dist/components/vue-ui-cursor.js +1 -1
  31. package/dist/components/vue-ui-dag.js +1 -1
  32. package/dist/components/vue-ui-dashboard.js +1 -1
  33. package/dist/components/vue-ui-digits.js +1 -1
  34. package/dist/components/vue-ui-donut-evolution.js +1 -1
  35. package/dist/components/vue-ui-donut.js +1 -1
  36. package/dist/components/vue-ui-dumbbell.js +1 -1
  37. package/dist/components/vue-ui-flow.js +1 -1
  38. package/dist/components/vue-ui-funnel.js +1 -1
  39. package/dist/components/vue-ui-galaxy.js +1 -1
  40. package/dist/components/vue-ui-gauge.js +1 -1
  41. package/dist/components/vue-ui-geo.js +1 -1
  42. package/dist/components/vue-ui-gizmo.js +1 -1
  43. package/dist/components/vue-ui-heatmap.js +1 -1
  44. package/dist/components/vue-ui-history-plot.js +1 -1
  45. package/dist/components/vue-ui-horizontal-bar.js +1 -1
  46. package/dist/components/vue-ui-icon.js +1 -1
  47. package/dist/components/vue-ui-kpi.js +1 -1
  48. package/dist/components/vue-ui-mini-loader.js +1 -1
  49. package/dist/components/vue-ui-molecule.js +1 -1
  50. package/dist/components/vue-ui-mood-radar.js +1 -1
  51. package/dist/components/vue-ui-nested-donuts.js +1 -1
  52. package/dist/components/vue-ui-onion.js +1 -1
  53. package/dist/components/vue-ui-parallel-coordinate-plot.js +1 -1
  54. package/dist/components/vue-ui-quadrant.js +1 -1
  55. package/dist/components/vue-ui-quick-chart.js +1 -1
  56. package/dist/components/vue-ui-radar.js +1 -1
  57. package/dist/components/vue-ui-rating.js +1 -1
  58. package/dist/components/vue-ui-relation-circle.js +1 -1
  59. package/dist/components/vue-ui-ridgeline.js +1 -1
  60. package/dist/components/vue-ui-rings.js +1 -1
  61. package/dist/components/vue-ui-scatter.js +1 -1
  62. package/dist/components/vue-ui-skeleton.js +1 -1
  63. package/dist/components/vue-ui-smiley.js +1 -1
  64. package/dist/components/vue-ui-spark-trend.js +1 -1
  65. package/dist/components/vue-ui-sparkbar.js +1 -1
  66. package/dist/components/vue-ui-sparkgauge.js +1 -1
  67. package/dist/components/vue-ui-sparkhistogram.js +1 -1
  68. package/dist/components/vue-ui-sparkline.js +1 -1
  69. package/dist/components/vue-ui-sparkstackbar.js +1 -1
  70. package/dist/components/vue-ui-stackbar.js +1 -1
  71. package/dist/components/vue-ui-stackline.js +1 -1
  72. package/dist/components/vue-ui-strip-plot.js +1 -1
  73. package/dist/components/vue-ui-table-heatmap.js +1 -1
  74. package/dist/components/vue-ui-table-sparkline.js +1 -1
  75. package/dist/components/vue-ui-table.js +1 -1
  76. package/dist/components/vue-ui-thermometer.js +1 -1
  77. package/dist/components/vue-ui-timer.js +1 -1
  78. package/dist/components/vue-ui-tiremarks.js +1 -1
  79. package/dist/components/vue-ui-treemap.js +1 -1
  80. package/dist/components/vue-ui-vertical-bar.js +1 -1
  81. package/dist/components/vue-ui-waffle.js +1 -1
  82. package/dist/components/vue-ui-wheel.js +1 -1
  83. package/dist/components/vue-ui-word-cloud.js +1 -1
  84. package/dist/components/vue-ui-world.js +1 -1
  85. package/dist/components/vue-ui-xy-canvas.js +1 -1
  86. package/dist/components/vue-ui-xy.js +1 -1
  87. package/dist/{dom-to-png-WXGPkYro.js → dom-to-png-CzjUUVZt.js} +1 -1
  88. package/dist/{img-CqYIrJ8I.js → img-6fNF_rG0.js} +1 -1
  89. package/dist/{labelUtils-B3mOOEke.js → labelUtils-D6Y-n7cD.js} +1 -1
  90. package/dist/{lib-2iaAPQ_c.js → lib-CVHM9FhP.js} +188 -140
  91. package/dist/{pdf-Q5BpWMSa.js → pdf-Dd_6HF9L.js} +1 -1
  92. package/dist/style.css +1 -1
  93. package/dist/types/vue-data-ui.d.ts +3 -1
  94. package/dist/{useAutoSizeLabelsInsideViewbox-DmpzKQ9i.js → useAutoSizeLabelsInsideViewbox-CqeJ1kZA.js} +1 -1
  95. package/dist/{useNestedProp-BCt4DMkT.js → useNestedProp-Ckf_2P_V.js} +1 -1
  96. package/dist/{usePrinter-ChVMpU2f.js → usePrinter-1NmjuP-i.js} +2 -2
  97. package/dist/{useThemeCheck-DGJ31Vi5.js → useThemeCheck-D1ZYXUwG.js} +5 -3
  98. package/dist/{vue-data-ui-CwfD22m4.js → vue-data-ui-GAruO_UT.js} +68 -68
  99. package/dist/vue-data-ui.js +73 -73
  100. package/dist/{vue-ui-3d-bar-DAr11NEe.js → vue-ui-3d-bar-t_E9saCp.js} +222 -218
  101. package/dist/{vue-ui-accordion-CAXPDm31.js → vue-ui-accordion-DFKaB_05.js} +3 -3
  102. package/dist/{vue-ui-age-pyramid-KApqwR11.js → vue-ui-age-pyramid-DKlTGZ6m.js} +177 -173
  103. package/dist/{vue-ui-annotator-D-x-F49X.js → vue-ui-annotator-CNkhGqqn.js} +7 -7
  104. package/dist/{vue-ui-bullet-D3ZOexko.js → vue-ui-bullet-C4FXVy8_.js} +135 -131
  105. package/dist/{vue-ui-bump-BJUb7fNz.js → vue-ui-bump-BJZrexv4.js} +264 -260
  106. package/dist/{vue-ui-candlestick-BBwYtV1-.js → vue-ui-candlestick-P7w1YVT6.js} +304 -300
  107. package/dist/{vue-ui-carousel-table-DrzQReuc.js → vue-ui-carousel-table-DQk4RoWo.js} +4 -4
  108. package/dist/{vue-ui-chestnut-ByqOYfmS.js → vue-ui-chestnut-Co8x4We0.js} +326 -322
  109. package/dist/{vue-ui-chord-3k3MxDxL.js → vue-ui-chord-NjSRzToa.js} +171 -167
  110. package/dist/{vue-ui-circle-pack-U-fW2dBh.js → vue-ui-circle-pack-CwrgCRKX.js} +162 -158
  111. package/dist/{vue-ui-cursor-PxyKLKT4.js → vue-ui-cursor-Bh5-9JWm.js} +3 -3
  112. package/dist/{vue-ui-dag-BgB4pBHg.js → vue-ui-dag-BBGpjSzH.js} +451 -447
  113. package/dist/{vue-ui-dashboard-Bb0qmaCv.js → vue-ui-dashboard-ekbwnmce.js} +68 -68
  114. package/dist/{vue-ui-digits-DWt_f5c-.js → vue-ui-digits-DnsDASGD.js} +2 -2
  115. package/dist/{vue-ui-donut-Ce4aLPAr.js → vue-ui-donut-DvLh8qa2.js} +467 -463
  116. package/dist/{vue-ui-donut-evolution-Dn8sOIr-.js → vue-ui-donut-evolution-BiLhAVY8.js} +354 -350
  117. package/dist/{vue-ui-dumbbell-Bu8opmEM.js → vue-ui-dumbbell-C2OWcZvr.js} +240 -236
  118. package/dist/{vue-ui-flow-CavJTxRY.js → vue-ui-flow-Cp2le1ur.js} +171 -167
  119. package/dist/{vue-ui-funnel-CWSmOHEt.js → vue-ui-funnel-ClGo8z4y.js} +133 -129
  120. package/dist/{vue-ui-galaxy-CqeQVqG-.js → vue-ui-galaxy-DTAl_-40.js} +146 -142
  121. package/dist/{vue-ui-gauge-DnU9JZ0v.js → vue-ui-gauge-DOG6-lgt.js} +175 -171
  122. package/dist/{vue-ui-geo-Dg8W127k.js → vue-ui-geo-BpWyHXwd.js} +123 -119
  123. package/dist/{vue-ui-gizmo-BfyTXxBY.js → vue-ui-gizmo-BMq5dzK4.js} +3 -3
  124. package/dist/{vue-ui-heatmap-D_JOEm4-.js → vue-ui-heatmap-Bp9HI0Zo.js} +231 -227
  125. package/dist/{vue-ui-history-plot-DgMc6-9X.js → vue-ui-history-plot-CVM1jz1X.js} +252 -248
  126. package/dist/{vue-ui-horizontal-bar-BPX7YBdV.js → vue-ui-horizontal-bar-B0UY6b-O.js} +325 -321
  127. package/dist/{vue-ui-kpi-BqCS6onP.js → vue-ui-kpi-DgSmfw2q.js} +3 -3
  128. package/dist/{vue-ui-mini-loader-CcXuJ3iD.js → vue-ui-mini-loader-D8z1PwRZ.js} +2 -2
  129. package/dist/{vue-ui-molecule-CX-pPp0u.js → vue-ui-molecule-CUppdL5f.js} +183 -179
  130. package/dist/{vue-ui-mood-radar-3nHlZfrB.js → vue-ui-mood-radar-QN25VSAw.js} +162 -158
  131. package/dist/{vue-ui-nested-donuts-cz79gQlJ.js → vue-ui-nested-donuts-ywWUDYjT.js} +178 -174
  132. package/dist/{vue-ui-onion-yseOpPeu.js → vue-ui-onion-DmwZ1gg_.js} +185 -181
  133. package/dist/{vue-ui-parallel-coordinate-plot-Dqg_vJCM.js → vue-ui-parallel-coordinate-plot-Bz2ROYRD.js} +195 -191
  134. package/dist/{vue-ui-quadrant-D4UDUZoN.js → vue-ui-quadrant-CUpWOWF2.js} +243 -239
  135. package/dist/{vue-ui-quick-chart-BMDrPkAJ.js → vue-ui-quick-chart-CXrm_rzI.js} +295 -291
  136. package/dist/{vue-ui-radar-B_wSZVDb.js → vue-ui-radar-BqLjOOnJ.js} +168 -164
  137. package/dist/{vue-ui-rating-CBedYtOp.js → vue-ui-rating-W6I6pacT.js} +2 -2
  138. package/dist/{vue-ui-relation-circle-DydZv4Pf.js → vue-ui-relation-circle-CrYmJHLI.js} +185 -181
  139. package/dist/vue-ui-ridgeline-ZbmQXJxt.js +1306 -0
  140. package/dist/{vue-ui-rings-BdYnuNS7.js → vue-ui-rings-BxYoBfvT.js} +299 -295
  141. package/dist/{vue-ui-scatter-QISpPygj.js → vue-ui-scatter-BhJkoRBS.js} +354 -350
  142. package/dist/{vue-ui-skeleton-CdpD_Zjk.js → vue-ui-skeleton-Bg1akQqn.js} +3 -3
  143. package/dist/{vue-ui-smiley-CTeSlfZa.js → vue-ui-smiley-B23r7AWp.js} +2 -2
  144. package/dist/{vue-ui-spark-trend-Jgho2QgC.js → vue-ui-spark-trend-CJtfXMSj.js} +120 -116
  145. package/dist/{vue-ui-sparkbar-CLqcdko6.js → vue-ui-sparkbar-DHJdmNDm.js} +84 -80
  146. package/dist/{vue-ui-sparkgauge-BA3NDOhA.js → vue-ui-sparkgauge-ANfPLNuD.js} +81 -77
  147. package/dist/{vue-ui-sparkhistogram-fb8hGuCn.js → vue-ui-sparkhistogram-CIfYUXVZ.js} +109 -105
  148. package/dist/{vue-ui-sparkline-BWdvoOYj.js → vue-ui-sparkline-Bm0OmFUB.js} +184 -174
  149. package/dist/{vue-ui-sparkstackbar-DbbdPqIp.js → vue-ui-sparkstackbar-CCnnfsqG.js} +99 -95
  150. package/dist/{vue-ui-stackbar-MYly9iMc.js → vue-ui-stackbar-CK5is5H7.js} +376 -372
  151. package/dist/{vue-ui-stackline-L0q_GsYv.js → vue-ui-stackline-CFv2OUCL.js} +349 -345
  152. package/dist/{vue-ui-strip-plot-B7W1EZdY.js → vue-ui-strip-plot-CJ1Zkrhq.js} +248 -244
  153. package/dist/{vue-ui-table-WSRRp_nE.js → vue-ui-table-CMyYl8lE.js} +5 -5
  154. package/dist/{vue-ui-table-heatmap-Bqr4Eubg.js → vue-ui-table-heatmap-8kBdXO2V.js} +6 -6
  155. package/dist/{vue-ui-table-sparkline-UhaEz2jD.js → vue-ui-table-sparkline-Bo4nuBEx.js} +174 -170
  156. package/dist/{vue-ui-thermometer-BFwmgdMO.js → vue-ui-thermometer-h3voYVGJ.js} +133 -129
  157. package/dist/{vue-ui-timer-CoLOwKwP.js → vue-ui-timer-CazY_Z4R.js} +5 -5
  158. package/dist/{vue-ui-tiremarks-CvXOa3z4.js → vue-ui-tiremarks-CTa_gpit.js} +156 -152
  159. package/dist/{vue-ui-treemap-C8HbMbin.js → vue-ui-treemap-B6AuOtaA.js} +161 -157
  160. package/dist/{vue-ui-waffle-rS6LRZNV.js → vue-ui-waffle-DnEBC07H.js} +185 -181
  161. package/dist/{vue-ui-wheel-BGle0ni9.js → vue-ui-wheel-DFU2vMsP.js} +125 -121
  162. package/dist/{vue-ui-word-cloud-Dj1lJdtL.js → vue-ui-word-cloud-DgY58NEj.js} +179 -175
  163. package/dist/{vue-ui-world-C7d5vM6d.js → vue-ui-world-xEUaTJDk.js} +6 -6
  164. package/dist/{vue-ui-xy-canvas-CoBMpLeE.js → vue-ui-xy-canvas-eHl--9m7.js} +213 -209
  165. package/dist/{vue-ui-xy-De-FDHwh.js → vue-ui-xy-spqKboQb.js} +697 -693
  166. package/package.json +1 -1
  167. package/dist/vue-ui-ridgeline-BGerPYkY.js +0 -1302
@@ -1,38 +1,42 @@
1
- import { defineAsyncComponent as Q, useSlots as Ee, onMounted as Z, ref as v, toRefs as Ie, watch as ee, computed as F, createElementBlock as s, openBlock as r, normalizeStyle as g, createCommentVNode as h, createVNode as te, createBlock as Pe, 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 ze, i as Oe, j as i, m as B, k as Le, o as Ne, g as se, l as je, d as R, X as Ve, s as ne, h as ue, a as ie, y as Me } from "./lib-2iaAPQ_c.js";
3
- import { u as Ue, a as G } from "./useNestedProp-BCt4DMkT.js";
4
- import { u as Re, B as Ge } from "./BaseScanner-BMpwQAfz.js";
5
- import { u as We } from "./useThemeCheck-DGJ31Vi5.js";
6
- import { u as Ye } from "./useChartAccessibility-9icAAmYg.js";
7
- import { _ as qe } from "./_plugin-vue_export-helper-CHgC5LLL.js";
8
- const ce = { 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" } } }, de = { 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" } } }, ve = { 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" } } }, pe = { style: { backgroundColor: "#1A1A1A", bar: { gradient: { underlayerColor: "#1A1A1A" } }, legend: { name: { color: "#99AA99" }, value: { color: "#AACCAA" }, percentage: { color: "#99CC99" } }, title: { color: "#66CC66", subtitle: { color: "#99AA99" } } } }, ge = { style: { backgroundColor: "#fbfafa", bar: { gradient: { underlayerColor: "#fbfafa" } }, legend: { name: { color: "#8A9892" }, value: { color: "#A0AC94" }, percentage: { color: "#8A9892" } }, title: { color: "#8A9892", subtitle: { color: "#99AA99" } } } }, fe = { style: { backgroundColor: "#f6f6fb", bar: { gradient: { underlayerColor: "#f6f6fb" } }, legend: { name: { color: "#50606C" }, value: { color: "#8A9892" }, percentage: { color: "#61747E" } }, title: { color: "#50606C", subtitle: { color: "#718890" } } } }, he = {
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";
3
+ import { u as Ge, a as G } from "./useNestedProp-Ckf_2P_V.js";
4
+ import { u as We, B as Ye } from "./BaseScanner-BMpwQAfz.js";
5
+ import { u as qe } from "./useThemeCheck-D1ZYXUwG.js";
6
+ import { u as He } from "./useChartAccessibility-9icAAmYg.js";
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 = {
9
9
  default: {},
10
- dark: ce,
11
- celebration: de,
12
- celebrationNight: ve,
13
- hack: pe,
14
- zen: ge,
15
- concrete: fe
16
- }, xt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
10
+ minimal: ce,
11
+ minimalDark: de,
12
+ dark: ve,
13
+ celebration: pe,
14
+ celebrationNight: ge,
15
+ hack: fe,
16
+ zen: he,
17
+ concrete: ye
18
+ }, At = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
17
19
  __proto__: null,
18
- celebration: de,
19
- celebrationNight: ve,
20
- concrete: fe,
21
- dark: ce,
22
- default: he,
23
- hack: pe,
24
- zen: ge
25
- }, Symbol.toStringTag, { value: "Module" })), He = ["xmlns", "viewBox"], Xe = ["id"], Je = ["stop-color"], Ke = ["stop-color"], Qe = ["stop-color"], Ze = {
20
+ celebration: pe,
21
+ celebrationNight: ge,
22
+ concrete: ye,
23
+ dark: ve,
24
+ default: Ce,
25
+ hack: fe,
26
+ minimal: ce,
27
+ minimalDark: de,
28
+ zen: he
29
+ }, Symbol.toStringTag, { value: "Module" })), Je = ["xmlns", "viewBox"], Ke = ["id"], Qe = ["stop-color"], Ze = ["stop-color"], et = ["stop-color"], tt = {
26
30
  id: "stackPill",
27
31
  clipPathUnits: "objectBoundingBox"
28
- }, et = ["fill"], tt = {
32
+ }, ot = ["fill"], lt = {
29
33
  key: 0,
30
34
  "clip-path": "url(#stackPill)"
31
- }, ot = ["x", "width", "height", "fill"], lt = ["x", "width", "height", "fill", "stroke"], at = ["x", "width", "height", "onClick", "onMouseenter", "onMouseleave"], rt = ["width", "height", "rx"], st = ["onClick"], nt = { style: { display: "flex", "flex-direction": "row", "align-items": "center", gap: "4px", "justify-content": "center" } }, ut = ["height", "width"], it = ["id"], ct = ["stop-color"], dt = ["stop-color"], vt = ["fill"], pt = {
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 = {
32
36
  key: 2,
33
37
  ref: "source",
34
38
  dir: "auto"
35
- }, gt = {
39
+ }, ht = {
36
40
  __name: "vue-ui-sparkstackbar",
37
41
  props: {
38
42
  config: {
@@ -49,13 +53,13 @@ const ce = { style: { backgroundColor: "#1A1A1A", bar: { gradient: { underlayerC
49
53
  }
50
54
  },
51
55
  emits: ["selectDatapoint"],
52
- setup(ye, { expose: me, emit: be }) {
53
- const Ce = Q(() => import("./PackageVersion-C-JOGZBL.js")), ke = Q(() => import("./Tooltip-DpfUZbt7.js")), { vue_ui_sparkstackbar: _e } = Ue(), { isThemeValid: xe, warnInvalidTheme: we } = We(), m = ye, Ae = Ee();
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();
54
58
  Z(() => {
55
- Ae["chart-background"] && console.warn("VueUiSparkStackbar does not support the #chart-background slot.");
59
+ $e["chart-background"] && console.warn("VueUiSparkStackbar does not support the #chart-background slot.");
56
60
  });
57
- const W = v(null), T = v(re()), O = v(!1), L = v(""), e = v(N()), { loading: x, FINAL_DATASET: b } = Re({
58
- ...Ie(m),
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),
59
63
  FINAL_CONFIG: e,
60
64
  prepareConfig: N,
61
65
  skeletonDataset: [
@@ -63,7 +67,7 @@ const ce = { style: { backgroundColor: "#1A1A1A", bar: { gradient: { underlayerC
63
67
  { name: "_", value: 5, color: "#ADADAD" },
64
68
  { name: "_", value: 3, color: "#DBDBDB" }
65
69
  ],
66
- skeletonConfig: ze({
70
+ skeletonConfig: Le({
67
71
  defaultConfig: e.value,
68
72
  userConfig: {
69
73
  style: {
@@ -76,36 +80,36 @@ const ce = { style: { backgroundColor: "#1A1A1A", bar: { gradient: { underlayerC
76
80
  }
77
81
  }
78
82
  })
79
- }), { svgRef: Fe } = Ye({ config: e.value.style.title });
83
+ }), { svgRef: Se } = He({ config: e.value.style.title });
80
84
  function N() {
81
85
  const t = G({
82
- userConfig: m.config,
83
- defaultConfig: _e
86
+ userConfig: C.config,
87
+ defaultConfig: we
84
88
  }), l = t.theme;
85
89
  if (!l) return t;
86
- if (!xe.value(t))
87
- return we(t), t;
90
+ if (!Ae.value(t))
91
+ return Fe(t), t;
88
92
  const o = G({
89
- userConfig: he[l] || m.config,
93
+ userConfig: Ce[l] || C.config,
90
94
  defaultConfig: t
91
95
  }), a = G({
92
- userConfig: m.config,
96
+ userConfig: C.config,
93
97
  defaultConfig: o
94
98
  });
95
99
  return {
96
100
  ...a,
97
- customPalette: a.customPalette.length ? a.customPalette : Oe[l] || i
101
+ customPalette: a.customPalette.length ? a.customPalette : Ne[l] || i
98
102
  };
99
103
  }
100
- ee(() => m.config, (t) => {
104
+ ee(() => C.config, (t) => {
101
105
  e.value = N(), H();
102
- }, { deep: !0 }), ee(() => b.value, (t) => {
103
- C.value = b.value.map((l, o) => ({
106
+ }, { deep: !0 }), ee(() => m.value, (t) => {
107
+ b.value = m.value.map((l, o) => ({
104
108
  ...l,
105
109
  color: l.color ? B(l.color) : $.value[o] || i[o] || i[o % i.length]
106
110
  })), Y();
107
111
  }, { deep: !0 });
108
- const $ = F(() => Le(e.value.customPalette)), C = v(b.value.map((t, l) => ({
112
+ const $ = F(() => je(e.value.customPalette)), b = v(m.value.map((t, l) => ({
109
113
  ...t,
110
114
  value: e.value.style.animation.show ? 0 : t.value || 0,
111
115
  color: t.color ? B(t.color) : $.value[l] || i[l] || i[l % i.length]
@@ -115,19 +119,19 @@ const ce = { style: { backgroundColor: "#1A1A1A", bar: { gradient: { underlayerC
115
119
  k.value = !1;
116
120
  return;
117
121
  }
118
- const t = e.value.style.animation.animationFrames, l = b.value.map((n) => n.value || 0), o = l.map((n) => n / t), a = l.reduce((n, u) => n + u, 0);
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);
119
123
  let y = 0;
120
- k.value = !0, C.value = b.value.map((n, u) => ({
124
+ k.value = !0, b.value = m.value.map((n, u) => ({
121
125
  ...n,
122
126
  value: 0,
123
127
  color: n.color ? B(n.color) : $.value[u] || i[u] || i[u % i.length]
124
128
  }));
125
129
  function P() {
126
- y += a / t, y < a ? (C.value = C.value.map((n, u) => ({
130
+ y += a / t, y < a ? (b.value = b.value.map((n, u) => ({
127
131
  ...n,
128
132
  value: Math.min(n.value + o[u], l[u]),
129
133
  color: n.color ? B(n.color) : $.value[u] || i[u] || i[u % i.length]
130
- })), requestAnimationFrame(P)) : (k.value = !1, C.value = b.value.map((n, u) => ({
134
+ })), requestAnimationFrame(P)) : (k.value = !1, b.value = m.value.map((n, u) => ({
131
135
  ...n,
132
136
  value: l[u],
133
137
  color: n.color ? B(n.color) : $.value[u] || i[u] || i[u % i.length],
@@ -141,12 +145,12 @@ const ce = { style: { backgroundColor: "#1A1A1A", bar: { gradient: { underlayerC
141
145
  });
142
146
  const q = F(() => e.value.debug);
143
147
  function H() {
144
- Ne(m.dataset) ? se({
148
+ Ve(C.dataset) ? se({
145
149
  componentName: "VueUiSparkStackbar",
146
150
  type: "dataset",
147
151
  debug: q.value
148
- }) : m.dataset.forEach((t, l) => {
149
- je({
152
+ }) : C.dataset.forEach((t, l) => {
153
+ Me({
150
154
  datasetObject: t,
151
155
  requiredAttributes: ["name", "value"]
152
156
  }).forEach((o) => {
@@ -163,7 +167,7 @@ const ce = { style: { backgroundColor: "#1A1A1A", bar: { gradient: { underlayerC
163
167
  const f = v({
164
168
  width: 500,
165
169
  height: 16
166
- }), p = v([]), X = F(() => b.value.map((t) => t.value || 0).filter((t, l) => !p.value.includes(l)).reduce((t, l) => t + l, 0)), w = F(() => C.value.map((t, l) => {
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) => {
167
171
  const o = t.value || 0, a = o / X.value, y = isNaN(a) ? 0 : a, P = y * f.value.width;
168
172
  return {
169
173
  ...t,
@@ -179,7 +183,7 @@ const ce = { style: { backgroundColor: "#1A1A1A", bar: { gradient: { underlayerC
179
183
  };
180
184
  })), j = F(() => w.value.filter((t, l) => !p.value.includes(l)));
181
185
  function V(t) {
182
- p.value.includes(t) ? p.value = p.value.filter((l) => l !== t) : p.value.length < C.value.length - 1 && p.value.push(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);
183
187
  }
184
188
  function J(t) {
185
189
  if (!w.value.length)
@@ -187,11 +191,11 @@ const ce = { style: { backgroundColor: "#1A1A1A", bar: { gradient: { underlayerC
187
191
  const l = w.value.find((o) => o.name === t);
188
192
  return l || (e.value.debug && console.warn(`VueUiSparkStackbar - Series name not found "${t}"`), null);
189
193
  }
190
- function $e(t) {
194
+ function De(t) {
191
195
  const l = J(t);
192
196
  l !== null && p.value.includes(l.id) && V(l.seriesIndex);
193
197
  }
194
- function Se(t) {
198
+ function Be(t) {
195
199
  const l = J(t);
196
200
  l !== null && (p.value.includes(l.id) || V(l.seriesIndex));
197
201
  }
@@ -204,20 +208,20 @@ const ce = { style: { backgroundColor: "#1A1A1A", bar: { gradient: { underlayerC
204
208
  start: t
205
209
  }), t += j.value[o].width;
206
210
  return l;
207
- }), De = be;
211
+ }), Te = ke;
208
212
  function K(t, l, o = !1) {
209
- De("selectDatapoint", { datapoint: t, index: l }), e.value.events.datapointClick && !o && e.value.events.datapointClick({ datapoint: t, seriesIndex: t.seriesIndex });
213
+ Te("selectDatapoint", { datapoint: t, index: l }), e.value.events.datapointClick && !o && e.value.events.datapointClick({ datapoint: t, seriesIndex: t.seriesIndex });
210
214
  }
211
215
  const M = v(null), I = v(!1), A = v(null);
212
- function Be({ datapoint: t, seriesIndex: l }) {
216
+ function Ee({ datapoint: t, seriesIndex: l }) {
213
217
  O.value = !1, A.value = null, e.value.events.datapointLeave && e.value.events.datapointLeave({ datapoint: t, seriesIndex: t.seriesIndex });
214
218
  }
215
- function Te({ datapoint: t, seriesIndex: l }) {
219
+ function Ie({ datapoint: t, seriesIndex: l }) {
216
220
  if (e.value.events.datapointEnter && e.value.events.datapointEnter({ datapoint: t, seriesIndex: t.seriesIndex }), !e.value.style.tooltip.show)
217
221
  return;
218
222
  M.value = { datapoint: t, seriesIndex: l, config: e.value, series: w.value }, O.value = !0, A.value = l;
219
223
  const o = e.value.style.tooltip.customFormat;
220
- if (Me(o))
224
+ if (Re(o))
221
225
  try {
222
226
  const a = o({
223
227
  seriesIndex: t.seriesIndex,
@@ -247,9 +251,9 @@ const ce = { style: { backgroundColor: "#1A1A1A", bar: { gradient: { underlayerC
247
251
  )})</span>`, L.value = `<div>${a}</div>`;
248
252
  }
249
253
  }
250
- return me({
251
- hideSeries: Se,
252
- showSeries: $e
254
+ return be({
255
+ hideSeries: Be,
256
+ showSeries: De
253
257
  }), (t, l) => (r(), s("div", {
254
258
  class: "vue-data-ui-component vue-ui-spark-stackbar",
255
259
  ref_key: "sparkstackbarChart",
@@ -272,12 +276,12 @@ const ce = { style: { backgroundColor: "#1A1A1A", bar: { gradient: { underlayerC
272
276
  ], 4)) : h("", !0),
273
277
  (r(), s("svg", {
274
278
  ref_key: "svgRef",
275
- ref: Fe,
276
- xmlns: c(Ve),
279
+ ref: Se,
280
+ xmlns: c(Ue),
277
281
  width: "100%",
278
282
  viewBox: `0 0 ${f.value.width} ${f.value.height}`
279
283
  }, [
280
- te(c(Ce)),
284
+ te(c(_e)),
281
285
  d("defs", null, [
282
286
  (r(!0), s(_, null, D(E.value, (o, a) => (r(), s("linearGradient", {
283
287
  key: `stack_gradient_${a}`,
@@ -287,17 +291,17 @@ const ce = { style: { backgroundColor: "#1A1A1A", bar: { gradient: { underlayerC
287
291
  d("stop", {
288
292
  offset: "0%",
289
293
  "stop-color": o.color
290
- }, null, 8, Je),
294
+ }, null, 8, Qe),
291
295
  d("stop", {
292
296
  offset: "50%",
293
297
  "stop-color": c(ne)(c(ue)(o.color, 0.05), 100 - e.value.style.bar.gradient.intensity)
294
- }, null, 8, Ke),
298
+ }, null, 8, Ze),
295
299
  d("stop", {
296
300
  offset: "100%",
297
301
  "stop-color": o.color
298
- }, null, 8, Qe)
299
- ], 8, Xe))), 128)),
300
- d("clipPath", Ze, [
302
+ }, null, 8, et)
303
+ ], 8, Ke))), 128)),
304
+ d("clipPath", tt, [
301
305
  d("rect", {
302
306
  x: "0.005",
303
307
  y: "-2",
@@ -306,10 +310,10 @@ const ce = { style: { backgroundColor: "#1A1A1A", bar: { gradient: { underlayerC
306
310
  rx: "3",
307
311
  ry: "3",
308
312
  fill: e.value.style.backgroundColor
309
- }, null, 8, et)
313
+ }, null, 8, ot)
310
314
  ])
311
315
  ]),
312
- X.value > 0 ? (r(), s("g", tt, [
316
+ X.value > 0 ? (r(), s("g", lt, [
313
317
  (r(!0), s(_, null, D(E.value, (o, a) => (r(), s("rect", {
314
318
  key: `stack_underlayer_${a}`,
315
319
  x: o.start,
@@ -321,7 +325,7 @@ const ce = { style: { backgroundColor: "#1A1A1A", bar: { gradient: { underlayerC
321
325
  style: g({
322
326
  opacity: A.value !== null && e.value.style.tooltip.show ? A.value === a ? 1 : 0.5 : 1
323
327
  })
324
- }, null, 14, ot))), 128)),
328
+ }, null, 14, at))), 128)),
325
329
  (r(!0), s(_, null, D(E.value, (o, a) => (r(), s("rect", {
326
330
  key: `stack_${a}`,
327
331
  x: o.start,
@@ -335,7 +339,7 @@ const ce = { style: { backgroundColor: "#1A1A1A", bar: { gradient: { underlayerC
335
339
  style: g({
336
340
  opacity: A.value !== null && e.value.style.tooltip.show ? A.value === a ? 1 : 0.5 : 1
337
341
  })
338
- }, null, 14, lt))), 128)),
342
+ }, null, 14, rt))), 128)),
339
343
  (r(!0), s(_, null, D(E.value, (o, a) => (r(), s("rect", {
340
344
  key: `stack_trap_${a}`,
341
345
  x: o.start,
@@ -346,9 +350,9 @@ const ce = { style: { backgroundColor: "#1A1A1A", bar: { gradient: { underlayerC
346
350
  stroke: "none",
347
351
  class: z({ animated: !k.value && !c(x) }),
348
352
  onClick: () => K(o, a),
349
- onMouseenter: () => Te({ datapoint: o, seriesIndex: a }),
350
- onMouseleave: (y) => Be({ datapoint: o, seriesIndex: a })
351
- }, null, 42, at))), 128))
353
+ onMouseenter: () => Ie({ datapoint: o, seriesIndex: a }),
354
+ onMouseleave: (y) => Ee({ datapoint: o, seriesIndex: a })
355
+ }, null, 42, st))), 128))
352
356
  ])) : (r(), s("rect", {
353
357
  key: 1,
354
358
  x: 2,
@@ -359,8 +363,8 @@ const ce = { style: { backgroundColor: "#1A1A1A", bar: { gradient: { underlayerC
359
363
  "stroke-width": "2",
360
364
  fill: "transparent",
361
365
  rx: (f.value.height - 4) / 2
362
- }, null, 8, rt))
363
- ], 8, He)),
366
+ }, null, 8, nt))
367
+ ], 8, Je)),
364
368
  e.value.style.legend.show ? (r(), s("div", {
365
369
  key: 1,
366
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"}`),
@@ -373,7 +377,7 @@ const ce = { style: { backgroundColor: "#1A1A1A", bar: { gradient: { underlayerC
373
377
  V(a), K(o, a, !0);
374
378
  }
375
379
  }, [
376
- d("div", nt, [
380
+ d("div", it, [
377
381
  (r(), s("svg", {
378
382
  height: `${e.value.style.legend.fontSize}px`,
379
383
  width: `${e.value.style.legend.fontSize}px`,
@@ -386,20 +390,20 @@ const ce = { style: { backgroundColor: "#1A1A1A", bar: { gradient: { underlayerC
386
390
  d("stop", {
387
391
  offset: "0%",
388
392
  "stop-color": c(x) ? "#FFFFFF" : c(ne)(c(ue)(o.color, 0.05), 100 - e.value.style.bar.gradient.intensity)
389
- }, null, 8, ct),
393
+ }, null, 8, vt),
390
394
  d("stop", {
391
395
  offset: "100%",
392
396
  "stop-color": o.color
393
- }, null, 8, dt)
394
- ], 8, it)
397
+ }, null, 8, pt)
398
+ ], 8, dt)
395
399
  ]),
396
400
  d("circle", {
397
401
  cx: 5,
398
402
  cy: 5,
399
403
  r: 5,
400
404
  fill: e.value.style.bar.gradient.show ? `url(#legend_grad_${a}-${T.value})` : o.color
401
- }, null, 8, vt)
402
- ], 8, ut)),
405
+ }, null, 8, gt)
406
+ ], 8, ct)),
403
407
  c(x) ? h("", !0) : (r(), s(_, { key: 0 }, [
404
408
  d("span", {
405
409
  style: g(`color:${e.value.style.legend.name.color}; font-weight:${e.value.style.legend.name.bold ? "bold" : "normal"}`)
@@ -426,9 +430,9 @@ const ce = { style: { backgroundColor: "#1A1A1A", bar: { gradient: { underlayerC
426
430
  ], 64))
427
431
  ], 64))
428
432
  ])
429
- ], 14, st))), 256))
433
+ ], 14, ut))), 256))
430
434
  ], 4)) : h("", !0),
431
- te(c(ke), {
435
+ te(c(xe), {
432
436
  teleportTo: e.value.style.tooltip.teleportTo,
433
437
  show: O.value && e.value.style.tooltip.show,
434
438
  parent: W.value,
@@ -457,18 +461,18 @@ const ce = { style: { backgroundColor: "#1A1A1A", bar: { gradient: { underlayerC
457
461
  ]),
458
462
  _: 3
459
463
  }, 8, ["teleportTo", "show", "parent", "backgroundColor", "color", "fontSize", "borderRadius", "borderColor", "borderWidth", "backgroundOpacity", "position", "content", "isCustom", "offsetY", "smooth", "backdropFilter", "smoothForce", "smoothSnapThreshold"]),
460
- t.$slots.source ? (r(), s("div", pt, [
464
+ t.$slots.source ? (r(), s("div", ft, [
461
465
  U(t.$slots, "source", {}, void 0, !0)
462
466
  ], 512)) : h("", !0),
463
- c(x) ? (r(), Pe(Ge, { key: 3 })) : h("", !0)
467
+ c(x) ? (r(), Oe(Ye, { key: 3 })) : h("", !0)
464
468
  ], 4));
465
469
  }
466
- }, ft = /* @__PURE__ */ qe(gt, [["__scopeId", "data-v-aab967dc"]]), wt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
470
+ }, yt = /* @__PURE__ */ Xe(ht, [["__scopeId", "data-v-aab967dc"]]), Ft = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
467
471
  __proto__: null,
468
- default: ft
472
+ default: yt
469
473
  }, Symbol.toStringTag, { value: "Module" }));
470
474
  export {
471
- xt as a,
472
- wt as b,
473
- ft as v
475
+ At as a,
476
+ Ft as b,
477
+ yt as v
474
478
  };