vue-data-ui 2.4.58 → 2.4.60

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 (202) hide show
  1. package/README.md +82 -51
  2. package/dist/{Arrow-gAjHZoeI.js → Arrow-BLYi22nR.js} +1 -1
  3. package/dist/{Arrow-DyvFEpcu.cjs → Arrow-BoAS4IQq.cjs} +1 -1
  4. package/dist/{BaseIcon-DKQOeA_7.cjs → BaseIcon-BHIQREMO.cjs} +1 -1
  5. package/dist/{BaseIcon-B0g_Fksl.js → BaseIcon-EWtqg17H.js} +1 -1
  6. package/dist/{DataTable-BloVsNyj.js → DataTable-DO8KGCcE.js} +2 -2
  7. package/dist/{DataTable-Bju6hUOX.cjs → DataTable-Dtq94CxH.cjs} +1 -1
  8. package/dist/{Legend-BsPIe_nG.cjs → Legend-CMyzYtIb.cjs} +1 -1
  9. package/dist/{Legend-CdpH9pz7.js → Legend-DGWOCyLt.js} +1 -1
  10. package/dist/{PackageVersion-W3d_oNMs.js → PackageVersion-BSLNI6kk.js} +1 -1
  11. package/dist/{PackageVersion-Bmujq1-q.cjs → PackageVersion-B_1OHk5A.cjs} +1 -1
  12. package/dist/{PenAndPaper-xuFs3BqZ.js → PenAndPaper-CxMtGtJt.js} +3 -3
  13. package/dist/{PenAndPaper-Be8tn5wI.cjs → PenAndPaper-DhXsAnuf.cjs} +1 -1
  14. package/dist/{Shape-CXTDY_Vo.js → Shape-DnqZey62.js} +1 -1
  15. package/dist/{Shape-Cx89w9Ul.cjs → Shape-y66NSXKp.cjs} +1 -1
  16. package/dist/{Slicer-HGyFRIya.cjs → Slicer-CkI4c7ft.cjs} +1 -1
  17. package/dist/{Slicer-ENfxtrty.js → Slicer-D9bKLcPd.js} +2 -2
  18. package/dist/{Title-1u-GspsX.js → Title-CSqO5Y62.js} +1 -1
  19. package/dist/{Title-CNO85jNx.cjs → Title-DjAOcuWO.cjs} +1 -1
  20. package/dist/{Tooltip-DQOeAhx3.cjs → Tooltip-AHTiRuWB.cjs} +1 -1
  21. package/dist/{Tooltip-B-1Q-Tts.js → Tooltip-D_6iYZSH.js} +1 -1
  22. package/dist/documentation/installation.md +48 -48
  23. package/dist/index-CgZGelSi.cjs +9 -0
  24. package/dist/{index-BSzkwF5n.js → index-D7dTQAhm.js} +2 -2
  25. package/dist/style.css +1 -1
  26. package/dist/{useNestedProp-CSKuqs0C.cjs → useNestedProp-BxCE3J3Z.cjs} +1 -1
  27. package/dist/{useNestedProp-BWC_DPZ5.js → useNestedProp-Dqsj7eUX.js} +1 -1
  28. package/dist/{usePrinter-DtwWejoO.js → usePrinter-B_Ihuvge.js} +1 -1
  29. package/dist/{usePrinter-D-iwyLyE.cjs → usePrinter-sTw1FdN_.cjs} +1 -1
  30. package/dist/{vue-data-ui-Com866XF.cjs → vue-data-ui-BttN99Pm.cjs} +1 -1
  31. package/dist/{vue-data-ui-jb1K_VTO.js → vue-data-ui-CcmpjOfT.js} +60 -60
  32. package/dist/vue-data-ui.cjs +1 -1
  33. package/dist/vue-data-ui.js +1 -1
  34. package/dist/vue-ui-3d-bar-8ewYobNj.cjs +19 -0
  35. package/dist/{vue-ui-3d-bar-Cqc5gqnb.js → vue-ui-3d-bar-TVrDBG5I.js} +170 -158
  36. package/dist/{vue-ui-accordion-lCjQo2kd.cjs → vue-ui-accordion-BZH6cz4t.cjs} +1 -1
  37. package/dist/{vue-ui-accordion-CJdfn7N-.js → vue-ui-accordion-lCiFhb8k.js} +3 -3
  38. package/dist/vue-ui-age-pyramid-BqL8zDjt.cjs +1 -0
  39. package/dist/{vue-ui-age-pyramid-D89kDZnF.js → vue-ui-age-pyramid-rHtMf5-R.js} +176 -164
  40. package/dist/{vue-ui-annotator-Cf-zFFmT.js → vue-ui-annotator-DHgSReIY.js} +1 -1
  41. package/dist/{vue-ui-annotator-muK3_F6c.cjs → vue-ui-annotator-fZIPfk7y.cjs} +1 -1
  42. package/dist/vue-ui-bullet-48af9PqJ.cjs +34 -0
  43. package/dist/{vue-ui-bullet-CT5Gkoot.js → vue-ui-bullet-BwhlvcvA.js} +155 -143
  44. package/dist/vue-ui-candlestick-Ce3tBGpX.cjs +2 -0
  45. package/dist/{vue-ui-candlestick-DmsHITZF.js → vue-ui-candlestick-dMIrnPD6.js} +96 -84
  46. package/dist/{vue-ui-carousel-table-N7QL7jRR.js → vue-ui-carousel-table-EcwgqGoI.js} +97 -95
  47. package/dist/vue-ui-carousel-table-ZhjRbt5-.cjs +1 -0
  48. package/dist/vue-ui-chestnut-VbrVVUon.cjs +6 -0
  49. package/dist/{vue-ui-chestnut-C7b1puxs.js → vue-ui-chestnut-vnOyc43k.js} +160 -148
  50. package/dist/{vue-ui-cursor-BOS7Yvio.cjs → vue-ui-cursor-BdXcdH2e.cjs} +1 -1
  51. package/dist/{vue-ui-cursor-CAnOat4M.js → vue-ui-cursor-nMbvzf_R.js} +2 -2
  52. package/dist/{vue-ui-dashboard-OzgTaY3n.js → vue-ui-dashboard-BtaQn50h.js} +2 -2
  53. package/dist/{vue-ui-dashboard-DI22fn9M.cjs → vue-ui-dashboard-CboN2WC8.cjs} +1 -1
  54. package/dist/{vue-ui-digits-DGP4EmpQ.cjs → vue-ui-digits-CUvrlpPz.cjs} +1 -1
  55. package/dist/{vue-ui-digits-DCm2stj-.js → vue-ui-digits-CVfceh4-.js} +2 -2
  56. package/dist/vue-ui-donut-BckYXDZJ.cjs +1 -0
  57. package/dist/{vue-ui-donut-BilWHtZy.js → vue-ui-donut-CgYNthls.js} +292 -280
  58. package/dist/vue-ui-donut-evolution-BhlBp6R-.cjs +1 -0
  59. package/dist/{vue-ui-donut-evolution-DKmnEHH_.js → vue-ui-donut-evolution-Bose25D6.js} +285 -273
  60. package/dist/vue-ui-dumbbell-C2iT17s8.cjs +9 -0
  61. package/dist/{vue-ui-dumbbell-KwkTK5_q.js → vue-ui-dumbbell-CzSlukSu.js} +159 -147
  62. package/dist/vue-ui-flow-DDlFrtkk.cjs +1 -0
  63. package/dist/{vue-ui-flow-BShJPhpa.js → vue-ui-flow-DoDWK84L.js} +162 -150
  64. package/dist/vue-ui-funnel-BfJoFIfh.cjs +1 -0
  65. package/dist/{vue-ui-funnel-D4xk_DsA.js → vue-ui-funnel-CM_ixf98.js} +229 -215
  66. package/dist/vue-ui-galaxy-CP71UAF5.cjs +1 -0
  67. package/dist/{vue-ui-galaxy-Ch3QRiP6.js → vue-ui-galaxy-DlwjTJCx.js} +148 -136
  68. package/dist/{vue-ui-gauge-DZUv5beK.js → vue-ui-gauge-ByfGCK6z.js} +119 -107
  69. package/dist/vue-ui-gauge-LqhfOqH-.cjs +1 -0
  70. package/dist/{vue-ui-gizmo-B39J58Zm.js → vue-ui-gizmo-D8Rq5vzL.js} +45 -43
  71. package/dist/vue-ui-gizmo-DFnOaVHf.cjs +1 -0
  72. package/dist/vue-ui-heatmap-A8qDlc58.cjs +1 -0
  73. package/dist/{vue-ui-heatmap-z8KMf1yo.js → vue-ui-heatmap-BLjVXXW4.js} +138 -126
  74. package/dist/vue-ui-history-plot-Bxi5QRP8.cjs +1 -0
  75. package/dist/{vue-ui-history-plot--Lw1-910.js → vue-ui-history-plot-DXoNlRFZ.js} +127 -115
  76. package/dist/vue-ui-kpi-5cGZ0OBJ.cjs +1 -0
  77. package/dist/{vue-ui-kpi-BgNONvkD.js → vue-ui-kpi-Bbot_WSI.js} +36 -33
  78. package/dist/{vue-ui-mini-loader-BrCuKpE6.js → vue-ui-mini-loader-DOE9WO73.js} +2 -2
  79. package/dist/{vue-ui-mini-loader-DjEyKAQe.cjs → vue-ui-mini-loader-DWX9tRhG.cjs} +1 -1
  80. package/dist/{vue-ui-molecule-C_eF6tga.js → vue-ui-molecule-0TReXB2j.js} +212 -200
  81. package/dist/vue-ui-molecule-CxeFzXS5.cjs +1 -0
  82. package/dist/vue-ui-mood-radar-1jLzXLXZ.cjs +1 -0
  83. package/dist/{vue-ui-mood-radar-Ch_Qkx9d.js → vue-ui-mood-radar-BMFn685U.js} +123 -111
  84. package/dist/vue-ui-nested-donuts-4FVj04vI.cjs +17 -0
  85. package/dist/{vue-ui-nested-donuts-uqfXLRGX.js → vue-ui-nested-donuts-B9rWg9V8.js} +156 -144
  86. package/dist/vue-ui-onion-Br97OxbL.cjs +5 -0
  87. package/dist/{vue-ui-onion-CbYOkmrF.js → vue-ui-onion-CnIF_tv7.js} +125 -113
  88. package/dist/vue-ui-parallel-coordinate-plot-Bi_h0H7e.cjs +8 -0
  89. package/dist/{vue-ui-parallel-coordinate-plot-aLNOckoo.js → vue-ui-parallel-coordinate-plot-D9iHCwiA.js} +159 -147
  90. package/dist/{vue-ui-quadrant-CuPCDHgS.js → vue-ui-quadrant-4wjbqumK.js} +211 -199
  91. package/dist/vue-ui-quadrant-DHDToQ9a.cjs +1 -0
  92. package/dist/vue-ui-quick-chart-CJKM6r9X.cjs +15 -0
  93. package/dist/{vue-ui-quick-chart-DBCH5qM1.js → vue-ui-quick-chart-s6FHOZf8.js} +576 -540
  94. package/dist/vue-ui-radar-DBR2qBM5.cjs +1 -0
  95. package/dist/{vue-ui-radar-BamYIcPL.js → vue-ui-radar-DpT9w1N-.js} +183 -171
  96. package/dist/vue-ui-rating-D1Mbw1G8.cjs +1 -0
  97. package/dist/{vue-ui-rating-DxaSXiPx.js → vue-ui-rating-D31vSe7a.js} +102 -98
  98. package/dist/vue-ui-relation-circle-BNJbqK_A.cjs +1 -0
  99. package/dist/{vue-ui-relation-circle-C9_8YW0u.js → vue-ui-relation-circle-DfP6BpVn.js} +129 -117
  100. package/dist/{vue-ui-rings-DFzPi4m9.js → vue-ui-rings-ChcGuwL9.js} +150 -138
  101. package/dist/vue-ui-rings-CjB8a3kO.cjs +2 -0
  102. package/dist/vue-ui-scatter-jk0N3EwD.cjs +1 -0
  103. package/dist/{vue-ui-scatter-n_jHEngt.js → vue-ui-scatter-wUZ2CBpp.js} +320 -308
  104. package/dist/{vue-ui-screenshot-1_OHWjZv.js → vue-ui-screenshot-Blg3Suvg.js} +1 -1
  105. package/dist/{vue-ui-screenshot-BzY_uB1R.cjs → vue-ui-screenshot-DAFpjSWg.cjs} +1 -1
  106. package/dist/{vue-ui-skeleton-Ojz7f2oH.js → vue-ui-skeleton-BObG0eVD.js} +3 -3
  107. package/dist/{vue-ui-skeleton-DKtNfORj.cjs → vue-ui-skeleton-m4l9jfqA.cjs} +1 -1
  108. package/dist/{vue-ui-smiley-CXvJ3sXA.js → vue-ui-smiley-DuQ3M02e.js} +208 -206
  109. package/dist/vue-ui-smiley-rh3J3TRY.cjs +2 -0
  110. package/dist/vue-ui-spark-trend-DlNNTu2c.cjs +1 -0
  111. package/dist/{vue-ui-spark-trend-uyDT9RJC.js → vue-ui-spark-trend-SMpnQ3VV.js} +124 -112
  112. package/dist/{vue-ui-sparkbar-CxW1vMP2.js → vue-ui-sparkbar-BB6fvRXK.js} +100 -96
  113. package/dist/vue-ui-sparkbar-chnu8aw9.cjs +1 -0
  114. package/dist/{vue-ui-sparkgauge-NmLBla47.js → vue-ui-sparkgauge-Bk_78-YB.js} +60 -48
  115. package/dist/vue-ui-sparkgauge-FONvy7z9.cjs +1 -0
  116. package/dist/vue-ui-sparkhistogram--uyRru2f.cjs +1 -0
  117. package/dist/{vue-ui-sparkhistogram-B8SukBWt.js → vue-ui-sparkhistogram-CIsN7kQ2.js} +116 -104
  118. package/dist/{vue-ui-sparkline-CokyAm9w.js → vue-ui-sparkline-CFvUW--O.js} +124 -112
  119. package/dist/vue-ui-sparkline-i6LHjMJR.cjs +1 -0
  120. package/dist/vue-ui-sparkstackbar-1RvV2xwt.cjs +1 -0
  121. package/dist/{vue-ui-sparkstackbar-QgZq1O55.js → vue-ui-sparkstackbar-DDMsCq0l.js} +85 -81
  122. package/dist/{vue-ui-stackbar-CTvPYXjb.js → vue-ui-stackbar-BSo9t-88.js} +219 -207
  123. package/dist/vue-ui-stackbar-CQgtC1I4.cjs +6 -0
  124. package/dist/vue-ui-strip-plot-BOSoKxsk.cjs +1 -0
  125. package/dist/{vue-ui-strip-plot-DXPoWvNA.js → vue-ui-strip-plot-C99LsMeZ.js} +113 -101
  126. package/dist/{vue-ui-table-Bb3BBVjm.js → vue-ui-table-3M-aoEc7.js} +1 -1
  127. package/dist/{vue-ui-table-8M1ctuqL.cjs → vue-ui-table-M-6G46br.cjs} +1 -1
  128. package/dist/{vue-ui-table-heatmap-Bv0EfTut.js → vue-ui-table-heatmap-BuYlqsq9.js} +82 -78
  129. package/dist/vue-ui-table-heatmap-CoozQ9bU.cjs +1 -0
  130. package/dist/{vue-ui-table-sparkline-Bs72Df0-.js → vue-ui-table-sparkline-Dm5kErGp.js} +78 -74
  131. package/dist/vue-ui-table-sparkline-u0a2YCwp.cjs +1 -0
  132. package/dist/vue-ui-thermometer-DAz_NjaN.cjs +1 -0
  133. package/dist/{vue-ui-thermometer-DRGjTOIy.js → vue-ui-thermometer-DrY5FsCD.js} +132 -120
  134. package/dist/vue-ui-timer-dCCTsApx.cjs +64 -0
  135. package/dist/{vue-ui-timer-DCA2Dkfi.js → vue-ui-timer-meFVXDUZ.js} +94 -82
  136. package/dist/vue-ui-tiremarks-CRKQklZh.cjs +1 -0
  137. package/dist/{vue-ui-tiremarks-CTqweMbJ.js → vue-ui-tiremarks-PaZ-lr2D.js} +104 -94
  138. package/dist/vue-ui-treemap-Bce1C9jk.cjs +1 -0
  139. package/dist/{vue-ui-treemap-tz9AdMu0.js → vue-ui-treemap-RjHcVtc6.js} +336 -332
  140. package/dist/{vue-ui-vertical-bar-BEkWSr_A.js → vue-ui-vertical-bar-C8rC-QBl.js} +188 -176
  141. package/dist/vue-ui-vertical-bar-e7zR_v0M.cjs +4 -0
  142. package/dist/{vue-ui-waffle-DQPO5aOU.js → vue-ui-waffle-BT8Yn0cl.js} +140 -136
  143. package/dist/vue-ui-waffle-BZLPoVht.cjs +1 -0
  144. package/dist/{vue-ui-wheel-B0u6LKiw.js → vue-ui-wheel-Bq75N1i7.js} +100 -88
  145. package/dist/vue-ui-wheel-CT6r7EQR.cjs +1 -0
  146. package/dist/{vue-ui-word-cloud-CEns9_NI.js → vue-ui-word-cloud-BGh6DY8P.js} +132 -120
  147. package/dist/vue-ui-word-cloud-PcOI8TCE.cjs +1 -0
  148. package/dist/vue-ui-xy-BmNqzUPR.cjs +3 -0
  149. package/dist/{vue-ui-xy-DxpIt6dh.js → vue-ui-xy-DuCsguVf.js} +139 -127
  150. package/dist/{vue-ui-xy-canvas-D_Qiy2N1.js → vue-ui-xy-canvas-6qf3rgfa.js} +231 -227
  151. package/dist/{vue-ui-xy-canvas--zS_4x6O.cjs → vue-ui-xy-canvas-BnJBE19B.cjs} +2 -2
  152. package/package.json +1 -1
  153. package/dist/index-DHwfzZfj.cjs +0 -9
  154. package/dist/vue-ui-3d-bar-Dif8_wHk.cjs +0 -19
  155. package/dist/vue-ui-age-pyramid-DHxsu2a1.cjs +0 -1
  156. package/dist/vue-ui-bullet-CKbrouCq.cjs +0 -34
  157. package/dist/vue-ui-candlestick-C3YNgFyO.cjs +0 -2
  158. package/dist/vue-ui-carousel-table-BU1bmZWZ.cjs +0 -1
  159. package/dist/vue-ui-chestnut-BEALHSS3.cjs +0 -6
  160. package/dist/vue-ui-donut-Jjz58SJJ.cjs +0 -1
  161. package/dist/vue-ui-donut-evolution-BtfRmlIq.cjs +0 -1
  162. package/dist/vue-ui-dumbbell-C2LYuBRx.cjs +0 -9
  163. package/dist/vue-ui-flow-3vjkptJR.cjs +0 -1
  164. package/dist/vue-ui-funnel-DyJdIi_i.cjs +0 -1
  165. package/dist/vue-ui-galaxy-BmGIzIeD.cjs +0 -1
  166. package/dist/vue-ui-gauge-LeMSJBEk.cjs +0 -1
  167. package/dist/vue-ui-gizmo-B7Kum6eT.cjs +0 -1
  168. package/dist/vue-ui-heatmap-CqPuEjJ1.cjs +0 -1
  169. package/dist/vue-ui-history-plot-bjMvk_4h.cjs +0 -1
  170. package/dist/vue-ui-kpi-DIuPP4R7.cjs +0 -1
  171. package/dist/vue-ui-molecule-C3wtpoCr.cjs +0 -1
  172. package/dist/vue-ui-mood-radar-BomqP0zI.cjs +0 -1
  173. package/dist/vue-ui-nested-donuts-KRq3Fcqy.cjs +0 -17
  174. package/dist/vue-ui-onion-G4p7rA61.cjs +0 -5
  175. package/dist/vue-ui-parallel-coordinate-plot-B2OIBraO.cjs +0 -8
  176. package/dist/vue-ui-quadrant-DoWeGQSC.cjs +0 -1
  177. package/dist/vue-ui-quick-chart-DR1qF9kr.cjs +0 -15
  178. package/dist/vue-ui-radar-B6M2ZChR.cjs +0 -1
  179. package/dist/vue-ui-rating-HSL7IrbQ.cjs +0 -1
  180. package/dist/vue-ui-relation-circle-CM_QkigI.cjs +0 -1
  181. package/dist/vue-ui-rings-CmD8g04s.cjs +0 -2
  182. package/dist/vue-ui-scatter-D_WxNGoY.cjs +0 -1
  183. package/dist/vue-ui-smiley-sKWpgakD.cjs +0 -2
  184. package/dist/vue-ui-spark-trend-ByxJmVE5.cjs +0 -1
  185. package/dist/vue-ui-sparkbar-DYHuBv3f.cjs +0 -1
  186. package/dist/vue-ui-sparkgauge-CCvUn2R2.cjs +0 -1
  187. package/dist/vue-ui-sparkhistogram-FU-uE07T.cjs +0 -1
  188. package/dist/vue-ui-sparkline-9LU8yp1t.cjs +0 -1
  189. package/dist/vue-ui-sparkstackbar-9k6C-g_r.cjs +0 -1
  190. package/dist/vue-ui-stackbar-Drqz1of9.cjs +0 -6
  191. package/dist/vue-ui-strip-plot-UYP2fk1H.cjs +0 -1
  192. package/dist/vue-ui-table-heatmap-BqQpJ_Ou.cjs +0 -1
  193. package/dist/vue-ui-table-sparkline-D5xemE-q.cjs +0 -1
  194. package/dist/vue-ui-thermometer-DzynFkq0.cjs +0 -1
  195. package/dist/vue-ui-timer-W5dIiOew.cjs +0 -64
  196. package/dist/vue-ui-tiremarks-BbAzwE5q.cjs +0 -1
  197. package/dist/vue-ui-treemap-CEVP7-S2.cjs +0 -1
  198. package/dist/vue-ui-vertical-bar-D_2WzLxJ.cjs +0 -4
  199. package/dist/vue-ui-waffle-BAvqVwhK.cjs +0 -1
  200. package/dist/vue-ui-wheel-Cjnheeql.cjs +0 -1
  201. package/dist/vue-ui-word-cloud-bxF8a7TI.cjs +0 -1
  202. package/dist/vue-ui-xy-BBvVOSPm.cjs +0 -3
@@ -1,17 +1,17 @@
1
- import { computed as m, ref as d, watch as Y, onMounted as se, openBlock as s, createElementBlock as r, normalizeStyle as v, createElementVNode as p, toDisplayString as w, createCommentVNode as y, unref as C, createVNode as G, Fragment as x, renderList as $, normalizeClass as F, createBlock as re, withCtx as q, renderSlot as j, normalizeProps as H, guardReactiveProps as X } from "vue";
2
- import { u as ne, c as J, t as ue, a as ie, p as i, d as N, b as ce, o as de, e as K, g as ve, f as E, X as pe, s as ge, w as fe, i as Q, x as he } from "./index-BSzkwF5n.js";
3
- import { u as Z } from "./useNestedProp-BWC_DPZ5.js";
4
- import ye from "./vue-ui-skeleton-Ojz7f2oH.js";
5
- import { _ as me } from "./PackageVersion-W3d_oNMs.js";
6
- import { _ as be } from "./Tooltip-B-1Q-Tts.js";
7
- import { _ as ke } from "./_plugin-vue_export-helper-CHgC5LLL.js";
8
- const _e = ["xmlns", "viewBox"], we = ["id"], Ce = ["stop-color"], xe = ["stop-color"], $e = ["stop-color"], Se = {
1
+ import { useSlots as ne, onMounted as Y, computed as m, ref as d, watch as G, openBlock as s, createElementBlock as r, normalizeStyle as v, createElementVNode as p, toDisplayString as w, createCommentVNode as y, unref as C, createVNode as q, Fragment as x, renderList as $, normalizeClass as F, createBlock as ue, withCtx as H, renderSlot as U, normalizeProps as X, guardReactiveProps as J } from "vue";
2
+ import { u as ie, c as K, t as ce, a as de, p as i, d as N, b as ve, o as pe, e as Q, g as ge, f as V, X as fe, s as he, w as ye, i as Z, x as me } from "./index-D7dTQAhm.js";
3
+ import { u as ee } from "./useNestedProp-Dqsj7eUX.js";
4
+ import ke from "./vue-ui-skeleton-BObG0eVD.js";
5
+ import { _ as be } from "./PackageVersion-BSLNI6kk.js";
6
+ import { _ as _e } from "./Tooltip-D_6iYZSH.js";
7
+ import { _ as we } from "./_plugin-vue_export-helper-CHgC5LLL.js";
8
+ const Ce = ["xmlns", "viewBox"], xe = ["id"], $e = ["stop-color"], Se = ["stop-color"], ze = ["stop-color"], Pe = {
9
9
  id: "stackPill",
10
10
  clipPathUnits: "objectBoundingBox"
11
- }, ze = ["fill"], Pe = {
11
+ }, De = ["fill"], Fe = {
12
12
  key: 0,
13
13
  "clip-path": "url(#stackPill)"
14
- }, De = ["x", "width", "height", "fill"], Fe = ["x", "width", "height", "fill", "stroke"], Ne = ["onClick", "x", "width", "height", "onMouseenter"], Ae = ["width", "height", "rx"], Le = ["onClick"], Be = { style: { display: "flex", "flex-direction": "row", "align-items": "center", gap: "4px", "justify-content": "center" } }, Oe = ["height", "width"], je = ["fill"], Ee = {
14
+ }, Ne = ["x", "width", "height", "fill"], Ae = ["x", "width", "height", "fill", "stroke"], Le = ["onClick", "x", "width", "height", "onMouseenter"], Be = ["width", "height", "rx"], Oe = ["onClick"], Ue = { style: { display: "flex", "flex-direction": "row", "align-items": "center", gap: "4px", "justify-content": "center" } }, Ve = ["height", "width"], je = ["fill"], Ee = {
15
15
  key: 4,
16
16
  ref: "source",
17
17
  dir: "auto"
@@ -32,49 +32,53 @@ const _e = ["xmlns", "viewBox"], we = ["id"], Ce = ["stop-color"], xe = ["stop-c
32
32
  }
33
33
  },
34
34
  emits: ["selectDatapoint"],
35
- setup(ee, { emit: te }) {
36
- const u = ee, { vue_ui_sparkstackbar: le } = ne(), M = m(() => !!u.dataset && u.dataset.length), T = d(null), U = d(J()), A = d(!1), L = d(""), e = m({
37
- get: () => V(),
35
+ setup(te, { emit: le }) {
36
+ const u = te, { vue_ui_sparkstackbar: oe } = ie(), ae = ne();
37
+ Y(() => {
38
+ ae["chart-background"] && console.warn("VueUiSparkStackbar does not support the #chart-background slot.");
39
+ });
40
+ const j = m(() => !!u.dataset && u.dataset.length), E = d(null), M = d(K()), A = d(!1), L = d(""), e = m({
41
+ get: () => T(),
38
42
  set: (t) => t
39
43
  });
40
- function V() {
41
- const t = Z({
44
+ function T() {
45
+ const t = ee({
42
46
  userConfig: u.config,
43
- defaultConfig: le
47
+ defaultConfig: oe
44
48
  });
45
49
  return t.theme ? {
46
- ...Z({
47
- userConfig: ue.vue_ui_sparkstackbar[t.theme] || u.config,
50
+ ...ee({
51
+ userConfig: ce.vue_ui_sparkstackbar[t.theme] || u.config,
48
52
  defaultConfig: t
49
53
  }),
50
- customPalette: ie[t.theme] || i
54
+ customPalette: de[t.theme] || i
51
55
  } : t;
52
56
  }
53
- Y(() => u.config, (t) => {
54
- e.value = V(), I();
55
- }, { deep: !0 }), Y(() => u.dataset, (t) => {
56
- b.value = u.dataset.map((a, l) => ({
57
+ G(() => u.config, (t) => {
58
+ e.value = T(), I();
59
+ }, { deep: !0 }), G(() => u.dataset, (t) => {
60
+ k.value = u.dataset.map((a, l) => ({
57
61
  ...a,
58
62
  color: a.color ? N(a.color) : S.value[l] || i[l] || i[l % i.length]
59
63
  }));
60
64
  }, { deep: !0 });
61
- const S = m(() => ce(e.value.customPalette)), b = d(u.dataset.map((t, a) => ({
65
+ const S = m(() => ve(e.value.customPalette)), k = d(u.dataset.map((t, a) => ({
62
66
  ...t,
63
67
  value: e.value.style.animation.show ? 0 : t.value || 0,
64
68
  color: t.color ? N(t.color) : S.value[a] || i[a] || i[a % i.length]
65
69
  }))), _ = d(!0);
66
- se(() => {
70
+ Y(() => {
67
71
  if (I(), e.value.style.animation.show) {
68
72
  let h = function() {
69
- o += l / t, o < l ? (b.value = b.value.map((n, c) => ({
73
+ o += l / t, o < l ? (k.value = k.value.map((n, c) => ({
70
74
  ...n,
71
75
  value: n.value += a[c],
72
76
  color: n.color ? N(n.color) : S.value[c] || i[c] || i[c % i.length]
73
- })), requestAnimationFrame(h)) : (_.value = !1, b.value = u.dataset.map((n, c) => ({
77
+ })), requestAnimationFrame(h)) : (_.value = !1, k.value = u.dataset.map((n, c) => ({
74
78
  ...n,
75
79
  value: n.value || 0,
76
80
  color: n.color ? N(n.color) : S.value[c] || i[c] || i[c % i.length],
77
- id: J()
81
+ id: K()
78
82
  })));
79
83
  };
80
84
  const t = e.value.style.animation.animationFrames, a = u.dataset.map((n, c) => n.value / t), l = u.dataset.map((n) => n.value || 0).reduce((n, c) => n + c, 0);
@@ -83,15 +87,15 @@ const _e = ["xmlns", "viewBox"], we = ["id"], Ce = ["stop-color"], xe = ["stop-c
83
87
  }
84
88
  });
85
89
  function I() {
86
- de(u.dataset) ? K({
90
+ pe(u.dataset) ? Q({
87
91
  componentName: "VueUiSparkStackbar",
88
92
  type: "dataset"
89
93
  }) : u.dataset.forEach((t, a) => {
90
- ve({
94
+ ge({
91
95
  datasetObject: t,
92
96
  requiredAttributes: ["name", "value"]
93
97
  }).forEach((l) => {
94
- K({
98
+ Q({
95
99
  componentName: "VueUiSparkStackbar",
96
100
  type: "datasetSerieAttribute",
97
101
  property: l,
@@ -103,22 +107,22 @@ const _e = ["xmlns", "viewBox"], we = ["id"], Ce = ["stop-color"], xe = ["stop-c
103
107
  const g = d({
104
108
  width: 500,
105
109
  height: 16
106
- }), f = d([]), R = m(() => u.dataset.map((t) => t.value || 0).filter((t, a) => !f.value.includes(a)).reduce((t, a) => t + a, 0)), z = m(() => b.value.map((t, a) => {
110
+ }), f = d([]), R = m(() => u.dataset.map((t) => t.value || 0).filter((t, a) => !f.value.includes(a)).reduce((t, a) => t + a, 0)), z = m(() => k.value.map((t, a) => {
107
111
  const l = t.value || 0, o = l / R.value, h = isNaN(o) ? 0 : o, n = h * g.value.width;
108
112
  return {
109
113
  ...t,
110
114
  value: l,
111
115
  proportion: h,
112
116
  width: n,
113
- proportionLabel: E({
117
+ proportionLabel: V({
114
118
  v: h * 100,
115
119
  s: "%",
116
120
  r: e.value.style.legend.percentage.rounding
117
121
  })
118
122
  };
119
123
  })), B = m(() => z.value.filter((t, a) => !f.value.includes(a)));
120
- function oe(t) {
121
- f.value.includes(t) ? f.value = f.value.filter((a) => a !== t) : f.value.length < b.value.length - 1 && f.value.push(t);
124
+ function se(t) {
125
+ f.value.includes(t) ? f.value = f.value.filter((a) => a !== t) : f.value.length < k.value.length - 1 && f.value.push(t);
122
126
  }
123
127
  const P = m(() => {
124
128
  let t = 0;
@@ -131,15 +135,15 @@ const _e = ["xmlns", "viewBox"], we = ["id"], Ce = ["stop-color"], xe = ["stop-c
131
135
  return a;
132
136
  });
133
137
  function W(t, a) {
134
- te("selectDatapoint", { datapoint: t, index: a });
138
+ le("selectDatapoint", { datapoint: t, index: a });
135
139
  }
136
- const O = d(null), D = d(!1), k = d(null);
137
- function ae({ datapoint: t, seriesIndex: a }) {
140
+ const O = d(null), D = d(!1), b = d(null);
141
+ function re({ datapoint: t, seriesIndex: a }) {
138
142
  if (!e.value.style.tooltip.show)
139
143
  return;
140
- O.value = { datapoint: t, seriesIndex: a, config: e.value, series: z.value }, A.value = !0, k.value = a;
144
+ O.value = { datapoint: t, seriesIndex: a, config: e.value, series: z.value }, A.value = !0, b.value = a;
141
145
  const l = e.value.style.tooltip.customFormat;
142
- if (he(l))
146
+ if (me(l))
143
147
  try {
144
148
  const o = l({
145
149
  seriesIndex: a,
@@ -153,10 +157,10 @@ const _e = ["xmlns", "viewBox"], we = ["id"], Ce = ["stop-color"], xe = ["stop-c
153
157
  }
154
158
  if (!D.value) {
155
159
  let o = "";
156
- o += `<div style="width:100%;text-align:center;border-bottom:1px solid ${e.value.style.tooltip.borderColor};padding-bottom:6px;margin-bottom:3px;">${t.name}</div>`, o += `<div style="display:flex;flex-direction:row;gap:6px;align-items:center;"><svg viewBox="0 0 12 12" height="14" width="14"><circle cx="6" cy="6" r="6" stroke="none" fill="${t.color}"/></svg>`, o += `<b>${t.proportionLabel}</b>`, o += `<span>(${Q(
160
+ o += `<div style="width:100%;text-align:center;border-bottom:1px solid ${e.value.style.tooltip.borderColor};padding-bottom:6px;margin-bottom:3px;">${t.name}</div>`, o += `<div style="display:flex;flex-direction:row;gap:6px;align-items:center;"><svg viewBox="0 0 12 12" height="14" width="14"><circle cx="6" cy="6" r="6" stroke="none" fill="${t.color}"/></svg>`, o += `<b>${t.proportionLabel}</b>`, o += `<span>(${Z(
157
161
  e.value.style.legend.value.formatter,
158
162
  t.value,
159
- E({
163
+ V({
160
164
  p: e.value.style.legend.value.prefix,
161
165
  v: t.value,
162
166
  s: e.value.style.legend.value.suffix,
@@ -171,7 +175,7 @@ const _e = ["xmlns", "viewBox"], we = ["id"], Ce = ["stop-color"], xe = ["stop-c
171
175
  }
172
176
  return (t, a) => (s(), r("div", {
173
177
  ref_key: "sparkstackbarChart",
174
- ref: T,
178
+ ref: E,
175
179
  style: v(`width:100%; background:${e.value.style.backgroundColor}`)
176
180
  }, [
177
181
  e.value.style.title.text ? (s(), r("div", {
@@ -186,33 +190,33 @@ const _e = ["xmlns", "viewBox"], we = ["id"], Ce = ["stop-color"], xe = ["stop-c
186
190
  style: v(`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"}`)
187
191
  }, w(e.value.style.title.subtitle.text), 5)) : y("", !0)
188
192
  ], 4)) : y("", !0),
189
- M.value ? (s(), r("svg", {
193
+ j.value ? (s(), r("svg", {
190
194
  key: 1,
191
- xmlns: C(pe),
195
+ xmlns: C(fe),
192
196
  width: "100%",
193
197
  viewBox: `0 0 ${g.value.width} ${g.value.height}`
194
198
  }, [
195
- G(me),
199
+ q(be),
196
200
  p("defs", null, [
197
201
  (s(!0), r(x, null, $(P.value, (l, o) => (s(), r("linearGradient", {
198
202
  key: `stack_gradient_${o}`,
199
203
  gradientTransform: "rotate(90)",
200
- id: `stack_gradient_${o}_${U.value}`
204
+ id: `stack_gradient_${o}_${M.value}`
201
205
  }, [
202
206
  p("stop", {
203
207
  offset: "0%",
204
208
  "stop-color": l.color
205
- }, null, 8, Ce),
209
+ }, null, 8, $e),
206
210
  p("stop", {
207
211
  offset: "50%",
208
- "stop-color": C(ge)(C(fe)(l.color, 0.05), 100 - e.value.style.bar.gradient.intensity)
209
- }, null, 8, xe),
212
+ "stop-color": C(he)(C(ye)(l.color, 0.05), 100 - e.value.style.bar.gradient.intensity)
213
+ }, null, 8, Se),
210
214
  p("stop", {
211
215
  offset: "100%",
212
216
  "stop-color": l.color
213
- }, null, 8, $e)
214
- ], 8, we))), 128)),
215
- p("clipPath", Se, [
217
+ }, null, 8, ze)
218
+ ], 8, xe))), 128)),
219
+ p("clipPath", Pe, [
216
220
  p("rect", {
217
221
  x: "0.005",
218
222
  y: "-2",
@@ -221,10 +225,10 @@ const _e = ["xmlns", "viewBox"], we = ["id"], Ce = ["stop-color"], xe = ["stop-c
221
225
  rx: "3",
222
226
  ry: "3",
223
227
  fill: e.value.style.backgroundColor
224
- }, null, 8, ze)
228
+ }, null, 8, De)
225
229
  ])
226
230
  ]),
227
- R.value > 0 ? (s(), r("g", Pe, [
231
+ R.value > 0 ? (s(), r("g", Fe, [
228
232
  (s(!0), r(x, null, $(P.value, (l, o) => (s(), r("rect", {
229
233
  key: `stack_underlayer_${o}`,
230
234
  x: l.start,
@@ -234,23 +238,23 @@ const _e = ["xmlns", "viewBox"], we = ["id"], Ce = ["stop-color"], xe = ["stop-c
234
238
  fill: e.value.style.bar.gradient.underlayerColor,
235
239
  class: F({ animated: !_.value }),
236
240
  style: v({
237
- opacity: k.value !== null && e.value.style.tooltip.show ? k.value === o ? 1 : 0.5 : 1
241
+ opacity: b.value !== null && e.value.style.tooltip.show ? b.value === o ? 1 : 0.5 : 1
238
242
  })
239
- }, null, 14, De))), 128)),
243
+ }, null, 14, Ne))), 128)),
240
244
  (s(!0), r(x, null, $(P.value, (l, o) => (s(), r("rect", {
241
245
  key: `stack_${o}`,
242
246
  x: l.start,
243
247
  y: 0,
244
248
  width: l.width,
245
249
  height: g.value.height,
246
- fill: e.value.style.bar.gradient.show ? `url(#stack_gradient_${o}_${U.value})` : l.color,
250
+ fill: e.value.style.bar.gradient.show ? `url(#stack_gradient_${o}_${M.value})` : l.color,
247
251
  stroke: e.value.style.backgroundColor,
248
252
  "stroke-linecap": "round",
249
253
  class: F({ animated: !_.value }),
250
254
  style: v({
251
- opacity: k.value !== null && e.value.style.tooltip.show ? k.value === o ? 1 : 0.5 : 1
255
+ opacity: b.value !== null && e.value.style.tooltip.show ? b.value === o ? 1 : 0.5 : 1
252
256
  })
253
- }, null, 14, Fe))), 128)),
257
+ }, null, 14, Ae))), 128)),
254
258
  (s(!0), r(x, null, $(P.value, (l, o) => (s(), r("rect", {
255
259
  key: `stack_trap_${o}`,
256
260
  onClick: () => W(l, o),
@@ -261,11 +265,11 @@ const _e = ["xmlns", "viewBox"], we = ["id"], Ce = ["stop-color"], xe = ["stop-c
261
265
  fill: "transparent",
262
266
  stroke: "none",
263
267
  class: F({ animated: !_.value }),
264
- onMouseenter: () => ae({ datapoint: l, seriesIndex: o }),
268
+ onMouseenter: () => re({ datapoint: l, seriesIndex: o }),
265
269
  onMouseleave: a[0] || (a[0] = (h) => {
266
- A.value = !1, k.value = null;
270
+ A.value = !1, b.value = null;
267
271
  })
268
- }, null, 42, Ne))), 128))
272
+ }, null, 42, Le))), 128))
269
273
  ])) : (s(), r("rect", {
270
274
  key: 1,
271
275
  x: 2,
@@ -276,9 +280,9 @@ const _e = ["xmlns", "viewBox"], we = ["id"], Ce = ["stop-color"], xe = ["stop-c
276
280
  "stroke-width": "2",
277
281
  fill: "transparent",
278
282
  rx: (g.value.height - 4) / 2
279
- }, null, 8, Ae))
280
- ], 8, _e)) : y("", !0),
281
- M.value ? y("", !0) : (s(), re(ye, {
283
+ }, null, 8, Be))
284
+ ], 8, Ce)) : y("", !0),
285
+ j.value ? y("", !0) : (s(), ue(ke, {
282
286
  key: 2,
283
287
  config: {
284
288
  type: "sparkStackbar",
@@ -299,10 +303,10 @@ const _e = ["xmlns", "viewBox"], we = ["id"], Ce = ["stop-color"], xe = ["stop-c
299
303
  style: v(`font-size:${e.value.style.legend.fontSize}px;`),
300
304
  class: F({ "vue-ui-sparkstackbar-legend-item": !0, "vue-ui-sparkstackbar-legend-item-unselected": f.value.includes(o) }),
301
305
  onClick: (h) => {
302
- oe(o), W(l, o);
306
+ se(o), W(l, o);
303
307
  }
304
308
  }, [
305
- p("div", Be, [
309
+ p("div", Ue, [
306
310
  (s(), r("svg", {
307
311
  height: `${e.value.style.legend.fontSize}px`,
308
312
  width: `${e.value.style.legend.fontSize}px`,
@@ -314,7 +318,7 @@ const _e = ["xmlns", "viewBox"], we = ["id"], Ce = ["stop-color"], xe = ["stop-c
314
318
  r: 5,
315
319
  fill: l.color
316
320
  }, null, 8, je)
317
- ], 8, Oe)),
321
+ ], 8, Ve)),
318
322
  p("span", {
319
323
  style: v(`color:${e.value.style.legend.name.color}; font-weight:${e.value.style.legend.name.bold ? "bold" : "normal"}`)
320
324
  }, w(l.name), 5),
@@ -325,10 +329,10 @@ const _e = ["xmlns", "viewBox"], we = ["id"], Ce = ["stop-color"], xe = ["stop-c
325
329
  e.value.style.legend.value.show ? (s(), r("span", {
326
330
  key: 1,
327
331
  style: v(`font-weight:${e.value.style.legend.value.bold ? "bold" : "normal"};color:${e.value.style.legend.value.color}`)
328
- }, " (" + w(C(Q)(
332
+ }, " (" + w(C(Z)(
329
333
  e.value.style.legend.value.formatter,
330
334
  l.value,
331
- C(E)({
335
+ C(V)({
332
336
  p: e.value.style.legend.value.prefix,
333
337
  v: l.value,
334
338
  s: e.value.style.legend.value.suffix,
@@ -337,11 +341,11 @@ const _e = ["xmlns", "viewBox"], we = ["id"], Ce = ["stop-color"], xe = ["stop-c
337
341
  { datapoint: l, seriesIndex: o }
338
342
  )) + ") ", 5)) : y("", !0)
339
343
  ])
340
- ], 14, Le))), 256))
344
+ ], 14, Oe))), 256))
341
345
  ], 4)) : y("", !0),
342
- G(be, {
346
+ q(_e, {
343
347
  show: A.value && e.value.style.tooltip.show,
344
- parent: T.value,
348
+ parent: E.value,
345
349
  backgroundColor: e.value.style.tooltip.backgroundColor,
346
350
  color: e.value.style.tooltip.color,
347
351
  fontSize: e.value.style.tooltip.fontSize,
@@ -355,20 +359,20 @@ const _e = ["xmlns", "viewBox"], we = ["id"], Ce = ["stop-color"], xe = ["stop-c
355
359
  offsetY: -124 + e.value.style.tooltip.offsetY,
356
360
  blockShiftY: !0
357
361
  }, {
358
- "tooltip-before": q(() => [
359
- j(t.$slots, "tooltip-before", H(X({ ...O.value })), void 0, !0)
362
+ "tooltip-before": H(() => [
363
+ U(t.$slots, "tooltip-before", X(J({ ...O.value })), void 0, !0)
360
364
  ]),
361
- "tooltip-after": q(() => [
362
- j(t.$slots, "tooltip-after", H(X({ ...O.value })), void 0, !0)
365
+ "tooltip-after": H(() => [
366
+ U(t.$slots, "tooltip-after", X(J({ ...O.value })), void 0, !0)
363
367
  ]),
364
368
  _: 3
365
369
  }, 8, ["show", "parent", "backgroundColor", "color", "fontSize", "borderRadius", "borderColor", "borderWidth", "backgroundOpacity", "position", "content", "isCustom", "offsetY"]),
366
370
  t.$slots.source ? (s(), r("div", Ee, [
367
- j(t.$slots, "source", {}, void 0, !0)
371
+ U(t.$slots, "source", {}, void 0, !0)
368
372
  ], 512)) : y("", !0)
369
373
  ], 4));
370
374
  }
371
- }, Ge = /* @__PURE__ */ ke(Me, [["__scopeId", "data-v-233900f7"]]);
375
+ }, He = /* @__PURE__ */ we(Me, [["__scopeId", "data-v-72244c73"]]);
372
376
  export {
373
- Ge as default
377
+ He as default
374
378
  };