vue-data-ui 3.9.22 → 3.10.1

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 (169) hide show
  1. package/README.md +76 -57
  2. package/dist/{Arrow-ChEFq9U7.js → Arrow-DWr41GRU.js} +1 -1
  3. package/dist/{BaseDraggableDialog-BHlNyA0A.js → BaseDraggableDialog-BQYfVNu8.js} +2 -2
  4. package/dist/{BaseIcon-DtXe9QC_.js → BaseIcon-4uOct8re.js} +29 -22
  5. package/dist/{BaseZoomControls-Dp7lD8dn.js → BaseZoomControls-Cb-Qq9_R.js} +2 -2
  6. package/dist/{ColorPicker-CnWVxKGw.js → ColorPicker-Culsjrcr.js} +2 -2
  7. package/dist/{DataTable-BriHstj2.js → DataTable-DyoDzNNY.js} +16 -16
  8. package/dist/{Legend-D2xmnFPH.js → Legend-DN5UJOBH.js} +2 -2
  9. package/dist/{NonSvgPenAndPaper-C7GKy0EX.js → NonSvgPenAndPaper-CNMLfAk3.js} +3 -3
  10. package/dist/{PackageVersion-DS0AcLc9.js → PackageVersion-D6MO5wwI.js} +1 -1
  11. package/dist/{PenAndPaper-DBbQVgYt.js → PenAndPaper-LTuSTmWE.js} +3 -3
  12. package/dist/{Shape-12_eh8zD.js → Shape-PzdCMGsP.js} +1 -1
  13. package/dist/{Slicer-CdBkrOVw.js → Slicer-DckZxvyx.js} +2 -2
  14. package/dist/{SlicerPreview-DAWQCjXt.js → SlicerPreview-CSc_cazO.js} +2 -2
  15. package/dist/{SparkTooltip-D_OsZuuE.js → SparkTooltip-BLTVhvm2.js} +1 -1
  16. package/dist/{Title-B7pkWzTi.js → Title-NgeRXqRA.js} +1 -1
  17. package/dist/{Tooltip-DpfUZbt7.js → Tooltip-B6qvABDL.js} +1 -1
  18. package/dist/{UserOptions-CEsHe7Td.js → UserOptions-CX7Xsusk.js} +7 -7
  19. package/dist/components/arrow.js +1 -1
  20. package/dist/components/vue-ui-3d-bar.js +1 -1
  21. package/dist/components/vue-ui-accordion.js +1 -1
  22. package/dist/components/vue-ui-age-pyramid.js +1 -1
  23. package/dist/components/vue-ui-annotator.js +1 -1
  24. package/dist/components/vue-ui-bullet.js +1 -1
  25. package/dist/components/vue-ui-bump.js +5 -0
  26. package/dist/components/vue-ui-candlestick.js +1 -1
  27. package/dist/components/vue-ui-carousel-table.js +1 -1
  28. package/dist/components/vue-ui-chestnut.js +1 -1
  29. package/dist/components/vue-ui-chord.js +1 -1
  30. package/dist/components/vue-ui-circle-pack.js +1 -1
  31. package/dist/components/vue-ui-cursor.js +1 -1
  32. package/dist/components/vue-ui-dag.js +1 -1
  33. package/dist/components/vue-ui-dashboard.js +1 -1
  34. package/dist/components/vue-ui-digits.js +1 -1
  35. package/dist/components/vue-ui-donut-evolution.js +1 -1
  36. package/dist/components/vue-ui-donut.js +1 -1
  37. package/dist/components/vue-ui-dumbbell.js +1 -1
  38. package/dist/components/vue-ui-flow.js +1 -1
  39. package/dist/components/vue-ui-funnel.js +1 -1
  40. package/dist/components/vue-ui-galaxy.js +1 -1
  41. package/dist/components/vue-ui-gauge.js +1 -1
  42. package/dist/components/vue-ui-geo.js +1 -1
  43. package/dist/components/vue-ui-gizmo.js +1 -1
  44. package/dist/components/vue-ui-heatmap.js +1 -1
  45. package/dist/components/vue-ui-history-plot.js +1 -1
  46. package/dist/components/vue-ui-horizontal-bar.js +1 -1
  47. package/dist/components/vue-ui-icon.js +1 -1
  48. package/dist/components/vue-ui-kpi.js +1 -1
  49. package/dist/components/vue-ui-mini-loader.js +1 -1
  50. package/dist/components/vue-ui-molecule.js +1 -1
  51. package/dist/components/vue-ui-mood-radar.js +1 -1
  52. package/dist/components/vue-ui-nested-donuts.js +1 -1
  53. package/dist/components/vue-ui-onion.js +1 -1
  54. package/dist/components/vue-ui-parallel-coordinate-plot.js +1 -1
  55. package/dist/components/vue-ui-quadrant.js +1 -1
  56. package/dist/components/vue-ui-quick-chart.js +1 -1
  57. package/dist/components/vue-ui-radar.js +1 -1
  58. package/dist/components/vue-ui-rating.js +1 -1
  59. package/dist/components/vue-ui-relation-circle.js +1 -1
  60. package/dist/components/vue-ui-ridgeline.js +1 -1
  61. package/dist/components/vue-ui-rings.js +1 -1
  62. package/dist/components/vue-ui-scatter.js +1 -1
  63. package/dist/components/vue-ui-skeleton.js +1 -1
  64. package/dist/components/vue-ui-smiley.js +1 -1
  65. package/dist/components/vue-ui-spark-trend.js +1 -1
  66. package/dist/components/vue-ui-sparkbar.js +1 -1
  67. package/dist/components/vue-ui-sparkgauge.js +1 -1
  68. package/dist/components/vue-ui-sparkhistogram.js +1 -1
  69. package/dist/components/vue-ui-sparkline.js +1 -1
  70. package/dist/components/vue-ui-sparkstackbar.js +1 -1
  71. package/dist/components/vue-ui-stackbar.js +1 -1
  72. package/dist/components/vue-ui-stackline.js +1 -1
  73. package/dist/components/vue-ui-strip-plot.js +1 -1
  74. package/dist/components/vue-ui-table-heatmap.js +1 -1
  75. package/dist/components/vue-ui-table-sparkline.js +1 -1
  76. package/dist/components/vue-ui-table.js +1 -1
  77. package/dist/components/vue-ui-thermometer.js +1 -1
  78. package/dist/components/vue-ui-timer.js +1 -1
  79. package/dist/components/vue-ui-tiremarks.js +1 -1
  80. package/dist/components/vue-ui-treemap.js +1 -1
  81. package/dist/components/vue-ui-vertical-bar.js +1 -1
  82. package/dist/components/vue-ui-waffle.js +1 -1
  83. package/dist/components/vue-ui-wheel.js +1 -1
  84. package/dist/components/vue-ui-word-cloud.js +1 -1
  85. package/dist/components/vue-ui-world.js +1 -1
  86. package/dist/components/vue-ui-xy-canvas.js +1 -1
  87. package/dist/components/vue-ui-xy.js +1 -1
  88. package/dist/{dom-to-png-WXGPkYro.js → dom-to-png-CzjUUVZt.js} +1 -1
  89. package/dist/{img-CqYIrJ8I.js → img-6fNF_rG0.js} +1 -1
  90. package/dist/{labelUtils-B3mOOEke.js → labelUtils-D6Y-n7cD.js} +1 -1
  91. package/dist/{lib-2iaAPQ_c.js → lib-CVHM9FhP.js} +188 -140
  92. package/dist/{pdf-Q5BpWMSa.js → pdf-Dd_6HF9L.js} +1 -1
  93. package/dist/style.css +1 -1
  94. package/dist/types/vue-data-ui.d.ts +218 -6
  95. package/dist/types/vue-ui-bump.d.ts +16 -0
  96. package/dist/{useAutoSizeLabelsInsideViewbox-DmpzKQ9i.js → useAutoSizeLabelsInsideViewbox-CqeJ1kZA.js} +1 -1
  97. package/dist/{useNestedProp-gqRzbKJy.js → useNestedProp-Ckf_2P_V.js} +271 -163
  98. package/dist/{usePrinter-ChVMpU2f.js → usePrinter-1NmjuP-i.js} +2 -2
  99. package/dist/{useThemeCheck-DGJ31Vi5.js → useThemeCheck-D1ZYXUwG.js} +5 -3
  100. package/dist/{vue-data-ui-nqF_cACH.js → vue-data-ui-BzP8Tvow.js} +79 -77
  101. package/dist/vue-data-ui.js +90 -88
  102. package/dist/{vue-ui-3d-bar-DmrhwUsA.js → vue-ui-3d-bar-CHeF8XHm.js} +222 -218
  103. package/dist/{vue-ui-accordion-CDvNAvXX.js → vue-ui-accordion-DFKaB_05.js} +3 -3
  104. package/dist/{vue-ui-age-pyramid-C0hgxDIF.js → vue-ui-age-pyramid-CJSA_Lp7.js} +177 -173
  105. package/dist/{vue-ui-annotator-koqMAb87.js → vue-ui-annotator-CNkhGqqn.js} +7 -7
  106. package/dist/{vue-ui-bullet-BXJCZyhh.js → vue-ui-bullet-BGO-5x4w.js} +135 -131
  107. package/dist/vue-ui-bump-Ds8aQyR-.js +1006 -0
  108. package/dist/{vue-ui-candlestick-3YdnfK3I.js → vue-ui-candlestick-Chk1Rxwa.js} +304 -300
  109. package/dist/{vue-ui-carousel-table-5pBU7CnX.js → vue-ui-carousel-table-BX4wS5vL.js} +4 -4
  110. package/dist/{vue-ui-chestnut-BmjwbHgq.js → vue-ui-chestnut-DRGQVzIZ.js} +326 -322
  111. package/dist/{vue-ui-chord-C_2QTHYi.js → vue-ui-chord-CzS4uqvo.js} +171 -167
  112. package/dist/{vue-ui-circle-pack-BeHZwuM4.js → vue-ui-circle-pack-CTo8Eihw.js} +162 -158
  113. package/dist/{vue-ui-cursor-YR7_jEcG.js → vue-ui-cursor-DQ1eQR4G.js} +3 -3
  114. package/dist/{vue-ui-dag-h6p8aZFf.js → vue-ui-dag-Vw67oxw7.js} +451 -447
  115. package/dist/{vue-ui-dashboard-Cl6Jnf6s.js → vue-ui-dashboard-CBX0gXdp.js} +68 -68
  116. package/dist/{vue-ui-digits-bUDar5q1.js → vue-ui-digits-DnsDASGD.js} +2 -2
  117. package/dist/{vue-ui-donut-n-wyE9bw.js → vue-ui-donut-8T6Nmsxq.js} +467 -463
  118. package/dist/{vue-ui-donut-evolution-DoQwbNv4.js → vue-ui-donut-evolution-C2QW-9s6.js} +354 -350
  119. package/dist/{vue-ui-dumbbell-BWEAHSG8.js → vue-ui-dumbbell-Bn9pd4ij.js} +240 -236
  120. package/dist/{vue-ui-flow-CRgC7Mlx.js → vue-ui-flow-LxJoqDKq.js} +171 -167
  121. package/dist/{vue-ui-funnel-CfIPZ_zB.js → vue-ui-funnel-Dijfg4TW.js} +133 -129
  122. package/dist/{vue-ui-galaxy-Cp_rz8IL.js → vue-ui-galaxy-J7ABN21x.js} +146 -142
  123. package/dist/{vue-ui-gauge-DjJ8LiGL.js → vue-ui-gauge-DAUj4HG5.js} +175 -171
  124. package/dist/{vue-ui-geo-DUa0LJdd.js → vue-ui-geo-DZIQ7n5z.js} +123 -119
  125. package/dist/{vue-ui-gizmo-DDMnc-mn.js → vue-ui-gizmo-iP8kliCe.js} +3 -3
  126. package/dist/{vue-ui-heatmap-Bu78wjql.js → vue-ui-heatmap-BzJ9NhwA.js} +231 -227
  127. package/dist/{vue-ui-history-plot-I7RFpR4m.js → vue-ui-history-plot-CiKEQ6JR.js} +252 -248
  128. package/dist/{vue-ui-horizontal-bar-B76RcVtC.js → vue-ui-horizontal-bar-HXGUUZ4g.js} +325 -321
  129. package/dist/{vue-ui-kpi-CnmyYRvK.js → vue-ui-kpi-DgSmfw2q.js} +3 -3
  130. package/dist/{vue-ui-mini-loader-DVEVYQd5.js → vue-ui-mini-loader-D8z1PwRZ.js} +2 -2
  131. package/dist/{vue-ui-molecule-B0EQor9C.js → vue-ui-molecule-BOOgtokk.js} +183 -179
  132. package/dist/{vue-ui-mood-radar-BXHszrJ5.js → vue-ui-mood-radar-DZzGx5Dp.js} +162 -158
  133. package/dist/{vue-ui-nested-donuts-Cs09jqNS.js → vue-ui-nested-donuts-BA1-O-gB.js} +178 -174
  134. package/dist/{vue-ui-onion-Cd4M3NhO.js → vue-ui-onion-thpUoiBE.js} +185 -181
  135. package/dist/{vue-ui-parallel-coordinate-plot-B3jKFKQp.js → vue-ui-parallel-coordinate-plot-DR3Ipc9q.js} +195 -191
  136. package/dist/{vue-ui-quadrant-BGdcyL_G.js → vue-ui-quadrant-CmCVv7Io.js} +243 -239
  137. package/dist/{vue-ui-quick-chart-RISnAtAO.js → vue-ui-quick-chart-D7CQqjbb.js} +295 -291
  138. package/dist/{vue-ui-radar-CiyUH5vY.js → vue-ui-radar-C5BYiNeE.js} +168 -164
  139. package/dist/{vue-ui-rating-CTN4-Xx3.js → vue-ui-rating-W6I6pacT.js} +2 -2
  140. package/dist/{vue-ui-relation-circle-GJ2m1KJi.js → vue-ui-relation-circle-BkWUI7cy.js} +185 -181
  141. package/dist/vue-ui-ridgeline-CokXNDQ5.js +1306 -0
  142. package/dist/{vue-ui-rings-DStX7GN9.js → vue-ui-rings-COs-uwPW.js} +299 -295
  143. package/dist/{vue-ui-scatter-C06XR1wk.js → vue-ui-scatter-od9j3nbg.js} +354 -350
  144. package/dist/{vue-ui-skeleton-BhhCaDDt.js → vue-ui-skeleton-199nlzz-.js} +3 -3
  145. package/dist/{vue-ui-smiley-CxVaJpm8.js → vue-ui-smiley-B23r7AWp.js} +2 -2
  146. package/dist/{vue-ui-spark-trend-D0C6wQaQ.js → vue-ui-spark-trend-CCh-2vX7.js} +120 -116
  147. package/dist/{vue-ui-sparkbar-BdiOrr_4.js → vue-ui-sparkbar-TotwU9iC.js} +84 -80
  148. package/dist/{vue-ui-sparkgauge-Bn69Wf48.js → vue-ui-sparkgauge-ma4q7p0M.js} +81 -77
  149. package/dist/{vue-ui-sparkhistogram-B2igFeIs.js → vue-ui-sparkhistogram-DkkFMKuS.js} +109 -105
  150. package/dist/{vue-ui-sparkline-0VCC5bBB.js → vue-ui-sparkline-B9SwcngG.js} +184 -174
  151. package/dist/{vue-ui-sparkstackbar-DXNNFyVU.js → vue-ui-sparkstackbar-DYz-Vson.js} +99 -95
  152. package/dist/{vue-ui-stackbar-O6Qnmp0y.js → vue-ui-stackbar-C_Tl2URC.js} +376 -372
  153. package/dist/{vue-ui-stackline-DXR5bwam.js → vue-ui-stackline-CXpElu5C.js} +347 -343
  154. package/dist/{vue-ui-strip-plot-Dbkd9HLL.js → vue-ui-strip-plot-DzcjpnIg.js} +248 -244
  155. package/dist/{vue-ui-table-CY9ofQw5.js → vue-ui-table-D_TQyQhl.js} +5 -5
  156. package/dist/{vue-ui-table-heatmap-Cl927pNj.js → vue-ui-table-heatmap-8kBdXO2V.js} +6 -6
  157. package/dist/{vue-ui-table-sparkline-JdC2NOYh.js → vue-ui-table-sparkline-CF5BnI-6.js} +174 -170
  158. package/dist/{vue-ui-thermometer-9e1IkvL9.js → vue-ui-thermometer-BmmwTeyy.js} +133 -129
  159. package/dist/{vue-ui-timer-C85qvi3A.js → vue-ui-timer-Bffy4n-P.js} +5 -5
  160. package/dist/{vue-ui-tiremarks-Dvynr7Ca.js → vue-ui-tiremarks-pMFoFCHr.js} +156 -152
  161. package/dist/{vue-ui-treemap-B2d4oGJZ.js → vue-ui-treemap-DSaqUKWM.js} +161 -157
  162. package/dist/{vue-ui-waffle-B3NfAP3B.js → vue-ui-waffle-BavDRJin.js} +185 -181
  163. package/dist/{vue-ui-wheel-Cti5RCaK.js → vue-ui-wheel-toELK-fC.js} +125 -121
  164. package/dist/{vue-ui-word-cloud-BGyunVJT.js → vue-ui-word-cloud-DCTGuXdW.js} +179 -175
  165. package/dist/{vue-ui-world-BjGu6FvN.js → vue-ui-world-7QFSvpGk.js} +6 -6
  166. package/dist/{vue-ui-xy-BC1zUOGw.js → vue-ui-xy-CTJtVYBG.js} +697 -693
  167. package/dist/{vue-ui-xy-canvas-ks3CRcLY.js → vue-ui-xy-canvas-eHl--9m7.js} +213 -209
  168. package/package.json +1 -1
  169. package/dist/vue-ui-ridgeline-BAukx7WE.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-gqRzbKJy.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-DS0AcLc9.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-D6MO5wwI.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
  };