vue-data-ui 2.3.74 → 2.3.75

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 (193) hide show
  1. package/dist/{Arrow-CYCrAySW.js → Arrow-BTG7M25z.js} +1 -1
  2. package/dist/{Arrow-DK6F5Fq3.cjs → Arrow-CZK77NmC.cjs} +1 -1
  3. package/dist/{BaseIcon-DBHVtm3A.cjs → BaseIcon--PMhZ3f-.cjs} +1 -1
  4. package/dist/{BaseIcon-kBIAYqUO.js → BaseIcon-BAOfPaXs.js} +1 -1
  5. package/dist/{DataTable-CKdV-L0e.js → DataTable-CQANRZju.js} +2 -2
  6. package/dist/{DataTable-BNFSPjhv.cjs → DataTable-DjQzrklZ.cjs} +1 -1
  7. package/dist/{Legend-Do2kcWFT.cjs → Legend-CtbPB0Bo.cjs} +1 -1
  8. package/dist/{Legend-Cj7T-DqJ.js → Legend-DX1kv21U.js} +1 -1
  9. package/dist/{Shape-DRDUAe_o.cjs → Shape-CadGs1Am.cjs} +1 -1
  10. package/dist/{Shape-Bo8ZjViG.js → Shape-kqcyauhC.js} +1 -1
  11. package/dist/{Slicer-D8jHSP7U.cjs → Slicer-i_oECHxH.cjs} +1 -1
  12. package/dist/{Slicer-4nGKvUYF.js → Slicer-yaJs-izT.js} +2 -2
  13. package/dist/{Title-DZjnxQdN.js → Title-C26I_HC3.js} +1 -1
  14. package/dist/{Title-D5cATWsL.cjs → Title-XBiDFYKD.cjs} +1 -1
  15. package/dist/{Tooltip--kgFEVZs.js → Tooltip-CH8GmDCG.js} +1 -1
  16. package/dist/{Tooltip-B8yLaegk.cjs → Tooltip-DxtWkIt5.cjs} +1 -1
  17. package/dist/{index-C8SH0f2u.js → index-Cm4Iry5c.js} +1 -1
  18. package/dist/{index-D_32ZGWd.cjs → index-DYUBiaGS.cjs} +1 -1
  19. package/dist/style.css +1 -1
  20. package/dist/{useNestedProp-lS_T5lM3.js → useNestedProp-CurQIHTa.js} +1 -1
  21. package/dist/{useNestedProp-BvvH633N.cjs → useNestedProp-w7AMWWmz.cjs} +1 -1
  22. package/dist/{usePrinter-Dj50NAxo.js → usePrinter-B8RnF8_q.js} +1 -1
  23. package/dist/{usePrinter-BouFNHWR.cjs → usePrinter-ZlHxdaEz.cjs} +1 -1
  24. package/dist/{vue-data-ui-v_BbbLtJ.cjs → vue-data-ui-B7amrpT-.cjs} +1 -1
  25. package/dist/{vue-data-ui-DoXqU7xC.js → vue-data-ui-Bj6kEIpq.js} +57 -57
  26. package/dist/vue-data-ui.cjs +1 -1
  27. package/dist/vue-data-ui.js +1 -1
  28. package/dist/vue-ui-3d-bar-BAz41kL7.cjs +19 -0
  29. package/dist/{vue-ui-3d-bar-CnoPOJHm.js → vue-ui-3d-bar-Bg9IgVVc.js} +499 -486
  30. package/dist/{vue-ui-accordion-Cka6b_Up.cjs → vue-ui-accordion-1WxrfiCH.cjs} +1 -1
  31. package/dist/{vue-ui-accordion-YHleIgkV.js → vue-ui-accordion-Cb6XBCbu.js} +3 -3
  32. package/dist/{vue-ui-age-pyramid-CENg8fDg.js → vue-ui-age-pyramid-BhwmnQru.js} +182 -169
  33. package/dist/vue-ui-age-pyramid-CHNvRXx8.cjs +1 -0
  34. package/dist/{vue-ui-annotator-ByYg6QMs.cjs → vue-ui-annotator-B22cdlhA.cjs} +1 -1
  35. package/dist/{vue-ui-annotator-VJOLUkqJ.js → vue-ui-annotator-BiHQvMdW.js} +1 -1
  36. package/dist/{vue-ui-candlestick-CHsGD3bx.js → vue-ui-candlestick-Cl9dyh4l.js} +295 -279
  37. package/dist/vue-ui-candlestick-D7DjdYyw.cjs +2 -0
  38. package/dist/vue-ui-carousel-table-Do5cYRqN.cjs +1 -0
  39. package/dist/{vue-ui-carousel-table-RAtX3VBu.js → vue-ui-carousel-table-QsONwqNz.js} +106 -91
  40. package/dist/vue-ui-chestnut-CyE8MafY.cjs +6 -0
  41. package/dist/{vue-ui-chestnut-B5GQX0J_.js → vue-ui-chestnut-Drb01WMC.js} +215 -204
  42. package/dist/{vue-ui-cursor-CMm7XSSG.js → vue-ui-cursor-BP04_XbB.js} +2 -2
  43. package/dist/{vue-ui-cursor-DnZqLj21.cjs → vue-ui-cursor-DZeTQBKz.cjs} +1 -1
  44. package/dist/{vue-ui-dashboard-Ck_5L3eu.js → vue-ui-dashboard-BWdx5gjZ.js} +2 -2
  45. package/dist/{vue-ui-dashboard-DgEQJnLr.cjs → vue-ui-dashboard-Z63RE1XS.cjs} +1 -1
  46. package/dist/{vue-ui-digits-UvwUdi6U.cjs → vue-ui-digits-CBQaHW6a.cjs} +1 -1
  47. package/dist/{vue-ui-digits--ULH35um.js → vue-ui-digits-DUhkLcmd.js} +2 -2
  48. package/dist/vue-ui-donut-D2YJYgOB.cjs +1 -0
  49. package/dist/{vue-ui-donut-QQ1fWWvc.js → vue-ui-donut-DRPSwmGr.js} +376 -362
  50. package/dist/{vue-ui-donut-evolution-Cx8kBB_7.js → vue-ui-donut-evolution-gRXAyxq8.js} +270 -255
  51. package/dist/vue-ui-donut-evolution-jAMVgNHQ.cjs +1 -0
  52. package/dist/{vue-ui-dumbbell-BYvwHpU8.js → vue-ui-dumbbell-CQo5jqSK.js} +232 -213
  53. package/dist/vue-ui-dumbbell-DLfZcrXq.cjs +9 -0
  54. package/dist/vue-ui-flow-BQ3UbMUb.js +481 -0
  55. package/dist/vue-ui-flow-BlX2-eEC.cjs +1 -0
  56. package/dist/{vue-ui-galaxy-B0L57aec.js → vue-ui-galaxy-BHWugUKG.js} +175 -162
  57. package/dist/vue-ui-galaxy-Cax5o6Yl.cjs +1 -0
  58. package/dist/vue-ui-gauge-DG6_kvKh.js +500 -0
  59. package/dist/vue-ui-gauge-DpGcv_00.cjs +1 -0
  60. package/dist/vue-ui-gizmo-D9Vh9Rmr.cjs +1 -0
  61. package/dist/{vue-ui-gizmo-D2RfM55X.js → vue-ui-gizmo-bV148qAf.js} +66 -53
  62. package/dist/{vue-ui-heatmap-DKM0DH41.js → vue-ui-heatmap-BZZUvnMa.js} +157 -143
  63. package/dist/vue-ui-heatmap-B_ELXKKV.cjs +1 -0
  64. package/dist/vue-ui-kpi-C5v7qQvZ.js +98 -0
  65. package/dist/vue-ui-kpi-CwVAvTB2.cjs +1 -0
  66. package/dist/{vue-ui-mini-loader-MywnWlYI.js → vue-ui-mini-loader-BdKizX_J.js} +2 -2
  67. package/dist/{vue-ui-mini-loader-CLP19Txv.cjs → vue-ui-mini-loader-DZNY-3rr.cjs} +1 -1
  68. package/dist/{vue-ui-molecule-CLI9iTRE.js → vue-ui-molecule-MKyrhqqm.js} +177 -167
  69. package/dist/vue-ui-molecule-bva6OvPc.cjs +1 -0
  70. package/dist/{vue-ui-mood-radar-O30wZo9a.js → vue-ui-mood-radar-BNIFFvq0.js} +172 -161
  71. package/dist/vue-ui-mood-radar-CzQOAyNI.cjs +1 -0
  72. package/dist/{vue-ui-nested-donuts-D8o4TqTt.js → vue-ui-nested-donuts-BDAlZrMF.js} +377 -364
  73. package/dist/vue-ui-nested-donuts-CxdZC6JF.cjs +17 -0
  74. package/dist/{vue-ui-onion-Hmcke6xB.js → vue-ui-onion-CFa4VD-w.js} +191 -177
  75. package/dist/vue-ui-onion-Df7YcsVR.cjs +5 -0
  76. package/dist/vue-ui-parallel-coordinate-plot-D7Q2zfcR.cjs +8 -0
  77. package/dist/{vue-ui-parallel-coordinate-plot-CyChE3NP.js → vue-ui-parallel-coordinate-plot-DmqYXT-U.js} +298 -284
  78. package/dist/{vue-ui-quadrant-DimTQdAj.js → vue-ui-quadrant-D5jHkq9g.js} +347 -334
  79. package/dist/vue-ui-quadrant-ZqhcVYf5.cjs +1 -0
  80. package/dist/{vue-ui-quick-chart-DxJvENid.js → vue-ui-quick-chart-BjXXSx7V.js} +483 -469
  81. package/dist/vue-ui-quick-chart-Dt9AsEU6.cjs +15 -0
  82. package/dist/vue-ui-radar-2EuZr7i2.cjs +1 -0
  83. package/dist/{vue-ui-radar-D_FieunT.js → vue-ui-radar-CW8EKW4o.js} +202 -189
  84. package/dist/{vue-ui-rating-BHW2Onru.cjs → vue-ui-rating-DrtLvVA0.cjs} +1 -1
  85. package/dist/{vue-ui-rating-DF1BpH4E.js → vue-ui-rating-eSWsmJUU.js} +2 -2
  86. package/dist/vue-ui-relation-circle-C60OTe88.cjs +1 -0
  87. package/dist/vue-ui-relation-circle-DiUCpEqa.js +322 -0
  88. package/dist/{vue-ui-rings-BqS-iece.js → vue-ui-rings-BxhLbyG0.js} +203 -189
  89. package/dist/vue-ui-rings-CHq-a5ZS.cjs +2 -0
  90. package/dist/{vue-ui-scatter-Dns49Nht.js → vue-ui-scatter-DQchX_mM.js} +284 -270
  91. package/dist/vue-ui-scatter-DZUZUbnk.cjs +1 -0
  92. package/dist/{vue-ui-screenshot-5Gsnd0Wr.js → vue-ui-screenshot-CLa9vMzM.js} +1 -1
  93. package/dist/{vue-ui-screenshot---q062Kd.cjs → vue-ui-screenshot-SLSIpqx2.cjs} +1 -1
  94. package/dist/{vue-ui-skeleton-B4eWLjH3.js → vue-ui-skeleton-C1oUnz7R.js} +2 -2
  95. package/dist/{vue-ui-skeleton-fVPw-oIR.cjs → vue-ui-skeleton-ClpTCY1x.cjs} +1 -1
  96. package/dist/{vue-ui-smiley-B8Tyunn3.js → vue-ui-smiley-CmWHSt1S.js} +2 -2
  97. package/dist/{vue-ui-smiley-YfHmv0rQ.cjs → vue-ui-smiley-Daw8fPDy.cjs} +1 -1
  98. package/dist/vue-ui-spark-trend-CO69Dg31.js +263 -0
  99. package/dist/vue-ui-spark-trend-DmDlv8ie.cjs +1 -0
  100. package/dist/{vue-ui-sparkbar-9DBvdYn7.js → vue-ui-sparkbar-BRlqpe4e.js} +95 -87
  101. package/dist/vue-ui-sparkbar-BUGdi0BY.cjs +1 -0
  102. package/dist/vue-ui-sparkgauge-CCxKzDjT.cjs +1 -0
  103. package/dist/vue-ui-sparkgauge-CbuFESsM.js +178 -0
  104. package/dist/{vue-ui-sparkhistogram-BBUVmco4.js → vue-ui-sparkhistogram-B4-hrDHz.js} +79 -68
  105. package/dist/vue-ui-sparkhistogram-XtqX10_t.cjs +1 -0
  106. package/dist/vue-ui-sparkline-BZTEi9YC.cjs +1 -0
  107. package/dist/{vue-ui-sparkline-CeqNV6Re.js → vue-ui-sparkline-DlXNmG6M.js} +142 -123
  108. package/dist/vue-ui-sparkstackbar-CDmZeXnq.cjs +1 -0
  109. package/dist/{vue-ui-sparkstackbar-C3GMC1eW.js → vue-ui-sparkstackbar-J1YowQmP.js} +120 -104
  110. package/dist/{vue-ui-stackbar-DyGPrFxi.js → vue-ui-stackbar-CKIDqkkY.js} +235 -222
  111. package/dist/vue-ui-stackbar-CXGWukoJ.cjs +6 -0
  112. package/dist/vue-ui-strip-plot-CvmoRcYN.cjs +1 -0
  113. package/dist/{vue-ui-strip-plot-y1AnVJmq.js → vue-ui-strip-plot-JVLwIy0j.js} +246 -232
  114. package/dist/{vue-ui-table-B4kfykAO.js → vue-ui-table-BSi_cHh7.js} +1 -1
  115. package/dist/{vue-ui-table-xWvAQS-s.cjs → vue-ui-table-Dqi64VE7.cjs} +1 -1
  116. package/dist/vue-ui-table-heatmap-BwghEh5t.cjs +1 -0
  117. package/dist/{vue-ui-table-heatmap-YZRSzwRM.js → vue-ui-table-heatmap-CfvW3rcm.js} +106 -95
  118. package/dist/{vue-ui-table-sparkline-C0v2r4Kf.js → vue-ui-table-sparkline-Y6Lrrzxy.js} +151 -138
  119. package/dist/vue-ui-table-sparkline-bIy3kkHB.cjs +1 -0
  120. package/dist/{vue-ui-thermometer-D5qurIy7.js → vue-ui-thermometer-BPTs7Nxc.js} +116 -104
  121. package/dist/vue-ui-thermometer-DDtxYr7w.cjs +1 -0
  122. package/dist/{vue-ui-timer-VWjovnKL.js → vue-ui-timer-CkB7eZaE.js} +191 -176
  123. package/dist/vue-ui-timer-DRSSYxOX.cjs +64 -0
  124. package/dist/{vue-ui-tiremarks-jH6cdQOJ.js → vue-ui-tiremarks-BbOaoY8S.js} +115 -103
  125. package/dist/vue-ui-tiremarks-Bttwg3-p.cjs +1 -0
  126. package/dist/vue-ui-treemap-Chq0WQPe.cjs +1 -0
  127. package/dist/{vue-ui-treemap-BCc5sQLB.js → vue-ui-treemap-CoaK3wBl.js} +251 -237
  128. package/dist/{vue-ui-vertical-bar-2In_g5iC.js → vue-ui-vertical-bar-BA43_uHV.js} +314 -299
  129. package/dist/vue-ui-vertical-bar-BLIUt-HT.cjs +4 -0
  130. package/dist/{vue-ui-waffle-OzU830VX.js → vue-ui-waffle-BoEf8CcG.js} +285 -265
  131. package/dist/vue-ui-waffle-NBjY0mko.cjs +1 -0
  132. package/dist/vue-ui-wheel-Bgo2jpj0.js +255 -0
  133. package/dist/vue-ui-wheel-t5bI4a-P.cjs +1 -0
  134. package/dist/vue-ui-word-cloud-DPW_-Hzz.cjs +1 -0
  135. package/dist/vue-ui-word-cloud-Jd9_JUyi.js +512 -0
  136. package/dist/{vue-ui-xy-DuJtYXKl.js → vue-ui-xy-BMBYAC4z.js} +300 -274
  137. package/dist/vue-ui-xy-CBHEBcZK.cjs +3 -0
  138. package/dist/vue-ui-xy-canvas-D5FqRF4p.cjs +9 -0
  139. package/dist/{vue-ui-xy-canvas-CKibMJHh.js → vue-ui-xy-canvas-LOsQ_DM-.js} +345 -327
  140. package/package.json +1 -1
  141. package/dist/vue-ui-3d-bar-CwCEoPX-.cjs +0 -19
  142. package/dist/vue-ui-age-pyramid-GqCNpd_h.cjs +0 -1
  143. package/dist/vue-ui-candlestick-TdNVq_FX.cjs +0 -2
  144. package/dist/vue-ui-carousel-table-yXUSFk2u.cjs +0 -1
  145. package/dist/vue-ui-chestnut-EJj-dQSY.cjs +0 -6
  146. package/dist/vue-ui-donut-BqUBysA_.cjs +0 -1
  147. package/dist/vue-ui-donut-evolution-BXtEnop4.cjs +0 -1
  148. package/dist/vue-ui-dumbbell-CjIh7KTm.cjs +0 -9
  149. package/dist/vue-ui-flow-hp0Hpuhn.js +0 -469
  150. package/dist/vue-ui-flow-u29zqSQj.cjs +0 -1
  151. package/dist/vue-ui-galaxy-DE1HbBi-.cjs +0 -1
  152. package/dist/vue-ui-gauge-B_IZrsfj.cjs +0 -1
  153. package/dist/vue-ui-gauge-CPyyn7cL.js +0 -488
  154. package/dist/vue-ui-gizmo-DR4gacOL.cjs +0 -1
  155. package/dist/vue-ui-heatmap-DMB_eUpA.cjs +0 -1
  156. package/dist/vue-ui-kpi-BAxAY13T.js +0 -84
  157. package/dist/vue-ui-kpi-BD21xshi.cjs +0 -1
  158. package/dist/vue-ui-molecule-BNsWckH-.cjs +0 -1
  159. package/dist/vue-ui-mood-radar-BsWE1f8R.cjs +0 -1
  160. package/dist/vue-ui-nested-donuts-CYyUtXs2.cjs +0 -17
  161. package/dist/vue-ui-onion-D7TXJu5w.cjs +0 -5
  162. package/dist/vue-ui-parallel-coordinate-plot-BqZB7xKn.cjs +0 -8
  163. package/dist/vue-ui-quadrant-BPDTvxlT.cjs +0 -1
  164. package/dist/vue-ui-quick-chart-C_-ut0if.cjs +0 -15
  165. package/dist/vue-ui-radar-C5Kq19hg.cjs +0 -1
  166. package/dist/vue-ui-relation-circle-4kIYttRI.js +0 -310
  167. package/dist/vue-ui-relation-circle-DHMHHsqY.cjs +0 -1
  168. package/dist/vue-ui-rings-BqPS8NKl.cjs +0 -2
  169. package/dist/vue-ui-scatter-BLVcdf3d.cjs +0 -1
  170. package/dist/vue-ui-spark-trend-Dpv6am0Z.cjs +0 -1
  171. package/dist/vue-ui-spark-trend-Em9OqYyG.js +0 -251
  172. package/dist/vue-ui-sparkbar-BuSuwQYl.cjs +0 -1
  173. package/dist/vue-ui-sparkgauge-BN5feBzp.js +0 -167
  174. package/dist/vue-ui-sparkgauge-DKtUZMv1.cjs +0 -1
  175. package/dist/vue-ui-sparkhistogram-BmuusW02.cjs +0 -1
  176. package/dist/vue-ui-sparkline-Blzv-tIQ.cjs +0 -1
  177. package/dist/vue-ui-sparkstackbar-D__WDEMv.cjs +0 -1
  178. package/dist/vue-ui-stackbar-DFqJ5K_q.cjs +0 -6
  179. package/dist/vue-ui-strip-plot-z9fjJ6Dj.cjs +0 -1
  180. package/dist/vue-ui-table-heatmap-CGKecjtm.cjs +0 -1
  181. package/dist/vue-ui-table-sparkline-CHFZG3Tg.cjs +0 -1
  182. package/dist/vue-ui-thermometer-DoOxxVW1.cjs +0 -1
  183. package/dist/vue-ui-timer-D63zHe-I.cjs +0 -64
  184. package/dist/vue-ui-tiremarks-Cp8YEmXh.cjs +0 -1
  185. package/dist/vue-ui-treemap-DJrdEFW5.cjs +0 -1
  186. package/dist/vue-ui-vertical-bar-BfJJqN_z.cjs +0 -4
  187. package/dist/vue-ui-waffle-A2gmRbq0.cjs +0 -1
  188. package/dist/vue-ui-wheel-C9QXzWu1.js +0 -242
  189. package/dist/vue-ui-wheel-DGSh9VKq.cjs +0 -1
  190. package/dist/vue-ui-word-cloud-C2ZaVlfO.js +0 -498
  191. package/dist/vue-ui-word-cloud-DPFB1MYk.cjs +0 -1
  192. package/dist/vue-ui-xy-C-2-aijE.cjs +0 -3
  193. package/dist/vue-ui-xy-canvas-D7wf3xab.cjs +0 -9
@@ -1,12 +1,12 @@
1
- import { computed as p, ref as m, onMounted as T, openBlock as n, createElementBlock as r, normalizeStyle as g, createElementVNode as u, toDisplayString as k, createCommentVNode as h, unref as b, Fragment as D, renderList as z, normalizeClass as A, createBlock as q } from "vue";
2
- import { u as H, c as j, t as X, a as J, p as d, b as K, d as P, o as Q, e as E, g as R, f as I, X as W, v as Y, w as Z, i as ee } from "./index-C8SH0f2u.js";
3
- import { u as U } from "./useNestedProp-lS_T5lM3.js";
4
- import te from "./vue-ui-skeleton-B4eWLjH3.js";
5
- import { _ as le } from "./_plugin-vue_export-helper-CHgC5LLL.js";
6
- const ae = ["xmlns", "viewBox"], oe = ["id"], se = ["stop-color"], ne = ["stop-color"], re = ["stop-color"], ue = {
1
+ import { computed as p, ref as m, watch as I, onMounted as X, openBlock as n, createElementBlock as u, normalizeStyle as g, createElementVNode as c, toDisplayString as k, createCommentVNode as h, unref as _, Fragment as z, renderList as A, normalizeClass as P, createBlock as J } from "vue";
2
+ import { u as K, c as U, t as Q, a as R, p as i, d as w, b as W, o as Y, e as O, g as Z, f as V, X as ee, v as te, w as le, i as ae } from "./index-Cm4Iry5c.js";
3
+ import { u as G } from "./useNestedProp-CurQIHTa.js";
4
+ import oe from "./vue-ui-skeleton-C1oUnz7R.js";
5
+ import { _ as se } from "./_plugin-vue_export-helper-CHgC5LLL.js";
6
+ const ne = ["xmlns", "viewBox"], re = ["id"], ue = ["stop-color"], ie = ["stop-color"], ce = ["stop-color"], de = {
7
7
  id: "stackPill",
8
8
  clipPathUnits: "objectBoundingBox"
9
- }, ie = ["fill"], ce = { "clip-path": "url(#stackPill)" }, de = ["height", "width", "fill"], ve = ["onClick", "x", "width", "height", "fill", "stroke"], ge = ["onClick"], pe = { style: { display: "flex", "flex-direction": "row", "align-items": "center", gap: "4px", "justify-content": "center" } }, he = ["height", "width"], ye = ["fill"], fe = {
9
+ }, ve = ["fill"], ge = { "clip-path": "url(#stackPill)" }, pe = ["height", "width", "fill"], he = ["onClick", "x", "width", "height", "fill", "stroke"], fe = ["onClick"], ye = { style: { display: "flex", "flex-direction": "row", "align-items": "center", gap: "4px", "justify-content": "center" } }, me = ["height", "width"], ke = ["fill"], _e = {
10
10
  __name: "vue-ui-sparkstackbar",
11
11
  props: {
12
12
  config: {
@@ -23,76 +23,92 @@ const ae = ["xmlns", "viewBox"], oe = ["id"], se = ["stop-color"], ne = ["stop-c
23
23
  }
24
24
  },
25
25
  emits: ["selectDatapoint"],
26
- setup(O, { emit: V }) {
27
- const i = O, { vue_ui_sparkstackbar: G } = H(), L = p(() => !!i.dataset && i.dataset.length), N = m(j()), e = p(() => {
28
- const t = U({
29
- userConfig: i.config,
30
- defaultConfig: G
26
+ setup(M, { emit: T }) {
27
+ const r = M, { vue_ui_sparkstackbar: q } = K(), L = p(() => !!r.dataset && r.dataset.length), N = m(U()), e = p({
28
+ get: () => B(),
29
+ set: (t) => t
30
+ });
31
+ function B() {
32
+ const t = G({
33
+ userConfig: r.config,
34
+ defaultConfig: q
31
35
  });
32
36
  return t.theme ? {
33
- ...U({
34
- userConfig: X.vue_ui_sparkstackbar[t.theme] || i.config,
37
+ ...G({
38
+ userConfig: Q.vue_ui_sparkstackbar[t.theme] || r.config,
35
39
  defaultConfig: t
36
40
  }),
37
- customPalette: J[t.theme] || d
41
+ customPalette: R[t.theme] || i
38
42
  } : t;
39
- }), x = p(() => K(e.value.customPalette)), y = m(i.dataset.map((t, a) => ({
43
+ }
44
+ I(() => r.config, (t) => {
45
+ e.value = B(), F();
46
+ }, { deep: !0 }), I(() => r.dataset, (t) => {
47
+ f.value = r.dataset.map((a, l) => ({
48
+ ...a,
49
+ color: a.color ? w(a.color) : b.value[l] || i[l] || i[l % i.length]
50
+ }));
51
+ }, { deep: !0 });
52
+ const b = p(() => W(e.value.customPalette)), f = m(r.dataset.map((t, a) => ({
40
53
  ...t,
41
54
  value: e.value.style.animation.show ? 0 : t.value || 0,
42
- color: t.color ? P(t.color) : x.value[a] || d[a] || d[a % d.length]
43
- }))), _ = m(!0);
44
- T(() => {
45
- if (Q(i.dataset) ? E({
55
+ color: t.color ? w(t.color) : b.value[a] || i[a] || i[a % i.length]
56
+ }))), x = m(!0);
57
+ X(() => {
58
+ if (F(), e.value.style.animation.show) {
59
+ let D = function() {
60
+ o += l / t, o < l ? (f.value = f.value.map((s, d) => ({
61
+ ...s,
62
+ value: s.value += a[d],
63
+ color: s.color ? w(s.color) : b.value[d] || i[d] || i[d % i.length]
64
+ })), requestAnimationFrame(D)) : (x.value = !1, f.value = r.dataset.map((s, d) => ({
65
+ ...s,
66
+ value: s.value || 0,
67
+ color: s.color ? w(s.color) : b.value[d] || i[d] || i[d % i.length],
68
+ id: U()
69
+ })));
70
+ };
71
+ const t = e.value.style.animation.animationFrames, a = r.dataset.map((s, d) => s.value / t), l = r.dataset.map((s) => s.value || 0).reduce((s, d) => s + d, 0);
72
+ let o = 0;
73
+ x.value = !0, D();
74
+ }
75
+ });
76
+ function F() {
77
+ Y(r.dataset) ? O({
46
78
  componentName: "VueUiSparkStackbar",
47
79
  type: "dataset"
48
- }) : i.dataset.forEach((t, a) => {
49
- R({
80
+ }) : r.dataset.forEach((t, a) => {
81
+ Z({
50
82
  datasetObject: t,
51
83
  requiredAttributes: ["name", "value"]
52
84
  }).forEach((l) => {
53
- E({
85
+ O({
54
86
  componentName: "VueUiSparkStackbar",
55
87
  type: "datasetSerieAttribute",
56
88
  property: l,
57
89
  index: a
58
90
  });
59
91
  });
60
- }), e.value.style.animation.show) {
61
- let S = function() {
62
- o += l / t, o < l ? (y.value = y.value.map((s, c) => ({
63
- ...s,
64
- value: s.value += a[c],
65
- color: s.color ? P(s.color) : x.value[c] || d[c] || d[c % d.length]
66
- })), requestAnimationFrame(S)) : (_.value = !1, y.value = i.dataset.map((s, c) => ({
67
- ...s,
68
- value: s.value || 0,
69
- color: s.color ? P(s.color) : x.value[c] || d[c] || d[c % d.length],
70
- id: j()
71
- })));
72
- };
73
- const t = e.value.style.animation.animationFrames, a = i.dataset.map((s, c) => s.value / t), l = i.dataset.map((s) => s.value || 0).reduce((s, c) => s + c, 0);
74
- let o = 0;
75
- _.value = !0, S();
76
- }
77
- });
78
- const f = m({
92
+ });
93
+ }
94
+ const y = m({
79
95
  width: 500,
80
96
  height: 16
81
- }), v = m([]), w = p(() => i.dataset.map((t) => t.value || 0).filter((t, a) => !v.value.includes(a)).reduce((t, a) => t + a, 0)), B = p(() => y.value.map((t, a) => ({
97
+ }), v = m([]), C = p(() => r.dataset.map((t) => t.value || 0).filter((t, a) => !v.value.includes(a)).reduce((t, a) => t + a, 0)), j = p(() => f.value.map((t, a) => ({
82
98
  ...t,
83
99
  value: t.value || 0,
84
- proportion: (t.value || 0) / w.value,
85
- width: (t.value || 0) / w.value * f.value.width,
86
- proportionLabel: I({
87
- v: (t.value || 0) / w.value * 100,
100
+ proportion: (t.value || 0) / C.value,
101
+ width: (t.value || 0) / C.value * y.value.width,
102
+ proportionLabel: V({
103
+ v: (t.value || 0) / C.value * 100,
88
104
  s: "%",
89
105
  r: e.value.style.legend.percentage.rounding
90
106
  })
91
- }))), $ = p(() => B.value.filter((t, a) => !v.value.includes(a)));
92
- function M(t) {
93
- v.value.includes(t) ? v.value = v.value.filter((a) => a !== t) : v.value.length < y.value.length - 1 && v.value.push(t);
107
+ }))), $ = p(() => j.value.filter((t, a) => !v.value.includes(a)));
108
+ function H(t) {
109
+ v.value.includes(t) ? v.value = v.value.filter((a) => a !== t) : v.value.length < f.value.length - 1 && v.value.push(t);
94
110
  }
95
- const C = p(() => {
111
+ const S = p(() => {
96
112
  let t = 0;
97
113
  const a = [];
98
114
  for (let l = 0; l < $.value.length; l += 1)
@@ -102,51 +118,51 @@ const ae = ["xmlns", "viewBox"], oe = ["id"], se = ["stop-color"], ne = ["stop-c
102
118
  }), t += $.value[l].width;
103
119
  return a;
104
120
  });
105
- function F(t, a) {
106
- V("selectDatapoint", { datapoint: t, index: a });
121
+ function E(t, a) {
122
+ T("selectDatapoint", { datapoint: t, index: a });
107
123
  }
108
- return (t, a) => (n(), r("div", {
124
+ return (t, a) => (n(), u("div", {
109
125
  style: g(`width:100%; background:${e.value.style.backgroundColor}`)
110
126
  }, [
111
- e.value.style.title.text ? (n(), r("div", {
127
+ e.value.style.title.text ? (n(), u("div", {
112
128
  key: 0,
113
129
  style: g(`width:calc(100% - 12px);background:${e.value.style.backgroundColor};margin:0 auto;margin:${e.value.style.title.margin};padding: 0 6px;text-align:${e.value.style.title.textAlign}`)
114
130
  }, [
115
- u("div", {
131
+ c("div", {
116
132
  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"}`)
117
133
  }, k(e.value.style.title.text), 5),
118
- e.value.style.title.subtitle.text ? (n(), r("div", {
134
+ e.value.style.title.subtitle.text ? (n(), u("div", {
119
135
  key: 0,
120
136
  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"}`)
121
137
  }, k(e.value.style.title.subtitle.text), 5)) : h("", !0)
122
138
  ], 4)) : h("", !0),
123
- L.value ? (n(), r("svg", {
139
+ L.value ? (n(), u("svg", {
124
140
  key: 1,
125
- xmlns: b(W),
141
+ xmlns: _(ee),
126
142
  width: "100%",
127
- viewBox: `0 0 ${f.value.width} ${f.value.height}`
143
+ viewBox: `0 0 ${y.value.width} ${y.value.height}`
128
144
  }, [
129
- u("defs", null, [
130
- (n(!0), r(D, null, z(C.value, (l, o) => (n(), r("linearGradient", {
145
+ c("defs", null, [
146
+ (n(!0), u(z, null, A(S.value, (l, o) => (n(), u("linearGradient", {
131
147
  key: `stack_gradient_${o}`,
132
148
  gradientTransform: "rotate(90)",
133
149
  id: `stack_gradient_${o}_${N.value}`
134
150
  }, [
135
- u("stop", {
151
+ c("stop", {
136
152
  offset: "0%",
137
153
  "stop-color": l.color
138
- }, null, 8, se),
139
- u("stop", {
154
+ }, null, 8, ue),
155
+ c("stop", {
140
156
  offset: "50%",
141
- "stop-color": `${b(Y)(l.color, 0.05)}${b(Z)[100 - e.value.style.bar.gradient.intensity]}`
142
- }, null, 8, ne),
143
- u("stop", {
157
+ "stop-color": `${_(te)(l.color, 0.05)}${_(le)[100 - e.value.style.bar.gradient.intensity]}`
158
+ }, null, 8, ie),
159
+ c("stop", {
144
160
  offset: "100%",
145
161
  "stop-color": l.color
146
- }, null, 8, re)
147
- ], 8, oe))), 128)),
148
- u("clipPath", ue, [
149
- u("rect", {
162
+ }, null, 8, ce)
163
+ ], 8, re))), 128)),
164
+ c("clipPath", de, [
165
+ c("rect", {
150
166
  x: "0.005",
151
167
  y: "-2",
152
168
  width: "0.99",
@@ -154,33 +170,33 @@ const ae = ["xmlns", "viewBox"], oe = ["id"], se = ["stop-color"], ne = ["stop-c
154
170
  rx: "3",
155
171
  ry: "3",
156
172
  fill: e.value.style.backgroundColor
157
- }, null, 8, ie)
173
+ }, null, 8, ve)
158
174
  ])
159
175
  ]),
160
- u("g", ce, [
161
- u("rect", {
176
+ c("g", ge, [
177
+ c("rect", {
162
178
  x: 0,
163
179
  y: 0,
164
- height: f.value.height,
165
- width: C.value.map((l) => l.width).reduce((l, o) => l + o, 0),
180
+ height: y.value.height,
181
+ width: S.value.map((l) => l.width).reduce((l, o) => l + o, 0),
166
182
  fill: e.value.style.bar.gradient.underlayerColor,
167
- class: A({ animated: !_.value })
168
- }, null, 10, de),
169
- (n(!0), r(D, null, z(C.value, (l, o) => (n(), r("rect", {
183
+ class: P({ animated: !x.value })
184
+ }, null, 10, pe),
185
+ (n(!0), u(z, null, A(S.value, (l, o) => (n(), u("rect", {
170
186
  key: `stack_${o}`,
171
- onClick: () => F(l, o),
187
+ onClick: () => E(l, o),
172
188
  x: l.start,
173
189
  y: 0,
174
190
  width: l.width,
175
- height: f.value.height,
191
+ height: y.value.height,
176
192
  fill: e.value.style.bar.gradient.show ? `url(#stack_gradient_${o}_${N.value})` : l.color,
177
193
  stroke: e.value.style.backgroundColor,
178
194
  "stroke-linecap": "round",
179
- class: A({ animated: !_.value })
180
- }, null, 10, ve))), 128))
195
+ class: P({ animated: !x.value })
196
+ }, null, 10, he))), 128))
181
197
  ])
182
- ], 8, ae)) : h("", !0),
183
- L.value ? h("", !0) : (n(), q(te, {
198
+ ], 8, ne)) : h("", !0),
199
+ L.value ? h("", !0) : (n(), J(oe, {
184
200
  key: 2,
185
201
  config: {
186
202
  type: "sparkStackbar",
@@ -192,45 +208,45 @@ const ae = ["xmlns", "viewBox"], oe = ["id"], se = ["stop-color"], ne = ["stop-c
192
208
  }
193
209
  }
194
210
  }, null, 8, ["config"])),
195
- e.value.style.legend.show ? (n(), r("div", {
211
+ e.value.style.legend.show ? (n(), u("div", {
196
212
  key: 3,
197
213
  style: g(`background:${e.value.style.backgroundColor};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"}`),
198
214
  class: "vue-ui-sparkstackbar-legend"
199
215
  }, [
200
- (n(!0), r(D, null, z(B.value, (l, o) => (n(), r("div", {
216
+ (n(!0), u(z, null, A(j.value, (l, o) => (n(), u("div", {
201
217
  style: g(`font-size:${e.value.style.legend.fontSize}px;`),
202
- class: A({ "vue-ui-sparkstackbar-legend-item": !0, "vue-ui-sparkstackbar-legend-item-unselected": v.value.includes(o) }),
203
- onClick: (S) => {
204
- M(o), F(l, o);
218
+ class: P({ "vue-ui-sparkstackbar-legend-item": !0, "vue-ui-sparkstackbar-legend-item-unselected": v.value.includes(o) }),
219
+ onClick: (D) => {
220
+ H(o), E(l, o);
205
221
  }
206
222
  }, [
207
- u("div", pe, [
208
- (n(), r("svg", {
223
+ c("div", ye, [
224
+ (n(), u("svg", {
209
225
  height: `${e.value.style.legend.fontSize}px`,
210
226
  width: `${e.value.style.legend.fontSize}px`,
211
227
  viewBox: "0 0 10 10"
212
228
  }, [
213
- u("circle", {
229
+ c("circle", {
214
230
  cx: 5,
215
231
  cy: 5,
216
232
  r: 5,
217
233
  fill: l.color
218
- }, null, 8, ye)
219
- ], 8, he)),
220
- u("span", {
234
+ }, null, 8, ke)
235
+ ], 8, me)),
236
+ c("span", {
221
237
  style: g(`color:${e.value.style.legend.name.color}; font-weight:${e.value.style.legend.name.bold ? "bold" : "normal"}`)
222
238
  }, k(l.name), 5),
223
- e.value.style.legend.percentage.show ? (n(), r("span", {
239
+ e.value.style.legend.percentage.show ? (n(), u("span", {
224
240
  key: 0,
225
241
  style: g(`font-weight:${e.value.style.legend.percentage.bold ? "bold" : "normal"};color:${e.value.style.legend.percentage.color}`)
226
242
  }, k(v.value.includes(o) ? " - " : l.proportionLabel), 5)) : h("", !0),
227
- e.value.style.legend.value.show ? (n(), r("span", {
243
+ e.value.style.legend.value.show ? (n(), u("span", {
228
244
  key: 1,
229
245
  style: g(`font-weight:${e.value.style.legend.value.bold ? "bold" : "normal"};color:${e.value.style.legend.value.color}`)
230
- }, " (" + k(b(ee)(
246
+ }, " (" + k(_(ae)(
231
247
  e.value.style.legend.value.formatter,
232
248
  l.value,
233
- b(I)({
249
+ _(V)({
234
250
  p: e.value.style.legend.value.prefix,
235
251
  v: l.value,
236
252
  s: e.value.style.legend.value.suffix,
@@ -239,11 +255,11 @@ const ae = ["xmlns", "viewBox"], oe = ["id"], se = ["stop-color"], ne = ["stop-c
239
255
  { datapoint: l, seriesIndex: o }
240
256
  )) + ") ", 5)) : h("", !0)
241
257
  ])
242
- ], 14, ge))), 256))
258
+ ], 14, fe))), 256))
243
259
  ], 4)) : h("", !0)
244
260
  ], 4));
245
261
  }
246
- }, we = /* @__PURE__ */ le(fe, [["__scopeId", "data-v-86f11bbc"]]);
262
+ }, Se = /* @__PURE__ */ se(_e, [["__scopeId", "data-v-27e88856"]]);
247
263
  export {
248
- we as default
264
+ Se as default
249
265
  };