vue-data-ui 2.4.57 → 2.4.59

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-BhwhLRcU.cjs → Arrow-Dudbi6k5.cjs} +1 -1
  3. package/dist/{Arrow-DelnKkT1.js → Arrow-DzS4HIXj.js} +1 -1
  4. package/dist/{BaseIcon-9gdEHMWK.js → BaseIcon-BbU81zOd.js} +1 -1
  5. package/dist/{BaseIcon-DujPvdJ_.cjs → BaseIcon-DD3GLrhS.cjs} +1 -1
  6. package/dist/{DataTable-BUflha5V.cjs → DataTable-BHCbVv8x.cjs} +1 -1
  7. package/dist/{DataTable-DgbrnD__.js → DataTable-CFUKU8PU.js} +2 -2
  8. package/dist/{Legend-V3K-4ipN.cjs → Legend-BYngLoV6.cjs} +1 -1
  9. package/dist/{Legend-HooNAKB_.js → Legend-f52bnttJ.js} +1 -1
  10. package/dist/{PackageVersion-S3SzpuwC.js → PackageVersion-C_FFs0BP.js} +1 -1
  11. package/dist/{PackageVersion-dQYEsTLp.cjs → PackageVersion-nr7f_VNw.cjs} +1 -1
  12. package/dist/{PenAndPaper-1h87IVla.cjs → PenAndPaper-C9v0NXEg.cjs} +1 -1
  13. package/dist/{PenAndPaper-v846FwcH.js → PenAndPaper-Dx24BtRW.js} +3 -3
  14. package/dist/{Shape-D7aacHaz.js → Shape-Ct2x6qZx.js} +1 -1
  15. package/dist/{Shape-DV5sH0dX.cjs → Shape-Dkt-vkTl.cjs} +1 -1
  16. package/dist/{Slicer-BRxR5OYL.cjs → Slicer-C0cvEMOy.cjs} +1 -1
  17. package/dist/{Slicer-BXCORSCz.js → Slicer-Duke9qno.js} +2 -2
  18. package/dist/{Title-B-EsW0Q2.cjs → Title-CpfNWbUc.cjs} +1 -1
  19. package/dist/{Title-DLjHHdyq.js → Title-zZtEcB9F.js} +1 -1
  20. package/dist/{Tooltip-BDaa-67h.js → Tooltip-DDJ2Wvjy.js} +1 -1
  21. package/dist/{Tooltip-B7gYRLGN.cjs → Tooltip-DZuVxmLc.cjs} +1 -1
  22. package/dist/documentation/installation.md +48 -48
  23. package/dist/{index-CI-N9klv.js → index-B9RAElpI.js} +2 -2
  24. package/dist/index-DaDv7p0W.cjs +9 -0
  25. package/dist/style.css +1 -1
  26. package/dist/{useNestedProp-D-zaZbSR.cjs → useNestedProp-DkpuL8Iv.cjs} +1 -1
  27. package/dist/{useNestedProp-D1eJ0dvv.js → useNestedProp-DuruL3Nt.js} +1 -1
  28. package/dist/{usePrinter-H2UFIe6n.cjs → usePrinter-BIHu0O5X.cjs} +1 -1
  29. package/dist/{usePrinter-CXc8xCKk.js → usePrinter-CwTAwqtF.js} +1 -1
  30. package/dist/{vue-data-ui-CvfX2D1d.cjs → vue-data-ui-BXCJgMfu.cjs} +1 -1
  31. package/dist/{vue-data-ui-DuXblXhF.js → vue-data-ui-yknmkfFy.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-fvTVGk8O.js → vue-ui-3d-bar-BkbLoUhP.js} +170 -158
  35. package/dist/vue-ui-3d-bar-CHnh8ZH_.cjs +19 -0
  36. package/dist/{vue-ui-accordion-paZXh-GD.cjs → vue-ui-accordion-6Clt339w.cjs} +1 -1
  37. package/dist/{vue-ui-accordion-CYLks1fW.js → vue-ui-accordion-rNA598L6.js} +3 -3
  38. package/dist/{vue-ui-age-pyramid-Ch3nY1Dx.js → vue-ui-age-pyramid-C3o5HfRK.js} +176 -164
  39. package/dist/vue-ui-age-pyramid-CKDDaRj_.cjs +1 -0
  40. package/dist/{vue-ui-annotator-BXbLcJ1L.cjs → vue-ui-annotator-BLilhXfT.cjs} +1 -1
  41. package/dist/{vue-ui-annotator-DGupSF-o.js → vue-ui-annotator-huMOA-QF.js} +1 -1
  42. package/dist/{vue-ui-bullet-BSRXabBe.js → vue-ui-bullet-DxYdog9c.js} +155 -143
  43. package/dist/vue-ui-bullet-yTpejKsw.cjs +34 -0
  44. package/dist/{vue-ui-candlestick-Dww4XHwQ.js → vue-ui-candlestick-3lCgRxr0.js} +96 -84
  45. package/dist/vue-ui-candlestick-CmD40PpS.cjs +2 -0
  46. package/dist/vue-ui-carousel-table-BU8oAq6b.cjs +1 -0
  47. package/dist/{vue-ui-carousel-table-BZs-sxxu.js → vue-ui-carousel-table-D3JIrHMF.js} +97 -95
  48. package/dist/vue-ui-chestnut-BWRUxwWm.cjs +6 -0
  49. package/dist/{vue-ui-chestnut-CnupXXAM.js → vue-ui-chestnut-cWFqbqSU.js} +160 -148
  50. package/dist/{vue-ui-cursor-oqfOA98Q.js → vue-ui-cursor-DjWkFQEI.js} +2 -2
  51. package/dist/{vue-ui-cursor-smlBNiGG.cjs → vue-ui-cursor-DzJmB5h9.cjs} +1 -1
  52. package/dist/{vue-ui-dashboard-BNu7yNYm.js → vue-ui-dashboard-1dycrMNM.js} +2 -2
  53. package/dist/{vue-ui-dashboard-Dw_90R29.cjs → vue-ui-dashboard-BOjdgUEm.cjs} +1 -1
  54. package/dist/{vue-ui-digits-_8FbgFrI.cjs → vue-ui-digits-B8TVsqsB.cjs} +1 -1
  55. package/dist/{vue-ui-digits-qztPrOEN.js → vue-ui-digits-C4NWhIjg.js} +2 -2
  56. package/dist/vue-ui-donut-BPz8gXi5.cjs +1 -0
  57. package/dist/{vue-ui-donut-CK9dINFS.js → vue-ui-donut-CXBxDUoh.js} +291 -279
  58. package/dist/{vue-ui-donut-evolution-DpDpYw3f.js → vue-ui-donut-evolution-BgD7rCFk.js} +285 -273
  59. package/dist/vue-ui-donut-evolution-h3ZgYI48.cjs +1 -0
  60. package/dist/vue-ui-dumbbell-BCyFd1Lf.cjs +9 -0
  61. package/dist/{vue-ui-dumbbell-Dx1I89N9.js → vue-ui-dumbbell-DMp-Waih.js} +159 -147
  62. package/dist/{vue-ui-flow-DJNqydD1.js → vue-ui-flow-D-XBMcpC.js} +162 -150
  63. package/dist/vue-ui-flow-DB3_5wEr.cjs +1 -0
  64. package/dist/vue-ui-funnel-DJVmn_pN.cjs +1 -0
  65. package/dist/{vue-ui-funnel-mP8ftcS5.js → vue-ui-funnel-Dxb6o97C.js} +229 -215
  66. package/dist/{vue-ui-galaxy-3cOLS6lh.js → vue-ui-galaxy-C2eHqbLw.js} +148 -136
  67. package/dist/vue-ui-galaxy-CIBBO623.cjs +1 -0
  68. package/dist/{vue-ui-gauge-CN_zo833.js → vue-ui-gauge-B9M8ICMX.js} +199 -185
  69. package/dist/vue-ui-gauge-C_JArbcd.cjs +1 -0
  70. package/dist/vue-ui-gizmo-ETKRu3P5.cjs +1 -0
  71. package/dist/{vue-ui-gizmo-akkNcCWf.js → vue-ui-gizmo-OGIvFCA4.js} +45 -43
  72. package/dist/{vue-ui-heatmap-B3ClLioV.js → vue-ui-heatmap-C2BobYAF.js} +138 -126
  73. package/dist/vue-ui-heatmap-mPZepJ4V.cjs +1 -0
  74. package/dist/{vue-ui-history-plot-C-EqVFW-.js → vue-ui-history-plot-BtBDW5ha.js} +127 -115
  75. package/dist/vue-ui-history-plot-DgEFbRv3.cjs +1 -0
  76. package/dist/{vue-ui-kpi-C-axCKZx.js → vue-ui-kpi-BCwmp6i5.js} +36 -33
  77. package/dist/vue-ui-kpi-DZGoUp6y.cjs +1 -0
  78. package/dist/{vue-ui-mini-loader-Cal5W_q6.cjs → vue-ui-mini-loader-B_I1k10C.cjs} +1 -1
  79. package/dist/{vue-ui-mini-loader-CsZ1zxJz.js → vue-ui-mini-loader-DWQfo-Ey.js} +2 -2
  80. package/dist/{vue-ui-molecule-BvNh7REY.js → vue-ui-molecule-CpWWvLlc.js} +212 -200
  81. package/dist/vue-ui-molecule-CqHsa4N7.cjs +1 -0
  82. package/dist/{vue-ui-mood-radar-C7v4dBNw.js → vue-ui-mood-radar-B4-AQAyE.js} +123 -111
  83. package/dist/vue-ui-mood-radar-Dx6ICJkv.cjs +1 -0
  84. package/dist/{vue-ui-nested-donuts-C08kpvMd.js → vue-ui-nested-donuts-C-afzEvx.js} +156 -144
  85. package/dist/vue-ui-nested-donuts-C8LG5ony.cjs +17 -0
  86. package/dist/vue-ui-onion-KC_zqQyz.cjs +5 -0
  87. package/dist/{vue-ui-onion-CTLBemDj.js → vue-ui-onion-wBz5dln6.js} +125 -113
  88. package/dist/vue-ui-parallel-coordinate-plot-BK1sUOyd.cjs +8 -0
  89. package/dist/{vue-ui-parallel-coordinate-plot-H1FdP6AE.js → vue-ui-parallel-coordinate-plot-BoiKoaod.js} +159 -147
  90. package/dist/vue-ui-quadrant-BJ3gSVgF.cjs +1 -0
  91. package/dist/{vue-ui-quadrant-Dd-LDy4T.js → vue-ui-quadrant-DY6yUyOl.js} +211 -199
  92. package/dist/{vue-ui-quick-chart-BeNivWrg.js → vue-ui-quick-chart-DBH9CgBI.js} +576 -540
  93. package/dist/vue-ui-quick-chart-OHwPApk1.cjs +15 -0
  94. package/dist/{vue-ui-radar-D9U_vOad.js → vue-ui-radar-DYnmlHtt.js} +183 -171
  95. package/dist/vue-ui-radar-nhy4Pqtc.cjs +1 -0
  96. package/dist/{vue-ui-rating-B7AlAqCY.js → vue-ui-rating-3LUgui--.js} +102 -98
  97. package/dist/vue-ui-rating-wl5jkxb5.cjs +1 -0
  98. package/dist/vue-ui-relation-circle-CGkAsJl8.cjs +1 -0
  99. package/dist/{vue-ui-relation-circle-CT23BNcW.js → vue-ui-relation-circle-Da09K_Ce.js} +129 -117
  100. package/dist/{vue-ui-rings-BZ7FYYxr.js → vue-ui-rings-BuVPBXNc.js} +150 -138
  101. package/dist/vue-ui-rings-DZfhibc4.cjs +2 -0
  102. package/dist/{vue-ui-scatter-DMr8OrC3.js → vue-ui-scatter-Bee79rib.js} +320 -308
  103. package/dist/vue-ui-scatter-ChYAlXb_.cjs +1 -0
  104. package/dist/{vue-ui-screenshot-BFV1qEsF.cjs → vue-ui-screenshot-Blz4fiO2.cjs} +1 -1
  105. package/dist/{vue-ui-screenshot-DHiX35pR.js → vue-ui-screenshot-CCnAaGB3.js} +1 -1
  106. package/dist/{vue-ui-skeleton-BIWgLDDf.cjs → vue-ui-skeleton-B24XJJ2p.cjs} +1 -1
  107. package/dist/{vue-ui-skeleton-owIhXtQF.js → vue-ui-skeleton-DVYD_VSe.js} +3 -3
  108. package/dist/vue-ui-smiley-CXOuAdIj.cjs +2 -0
  109. package/dist/{vue-ui-smiley-CCOQ6zjo.js → vue-ui-smiley-CdrTI5Rh.js} +208 -206
  110. package/dist/vue-ui-spark-trend-B08HYMm5.cjs +1 -0
  111. package/dist/{vue-ui-spark-trend-B56DI3Mc.js → vue-ui-spark-trend-Pd3JNy4G.js} +124 -112
  112. package/dist/{vue-ui-sparkbar-CMkozDkx.js → vue-ui-sparkbar-CTDWiUid.js} +100 -96
  113. package/dist/vue-ui-sparkbar-Dq1hwL7i.cjs +1 -0
  114. package/dist/{vue-ui-sparkgauge-De06LRPj.js → vue-ui-sparkgauge-g0C7wuIH.js} +60 -48
  115. package/dist/vue-ui-sparkgauge-il4rmDdv.cjs +1 -0
  116. package/dist/vue-ui-sparkhistogram-CoRPiLpB.cjs +1 -0
  117. package/dist/{vue-ui-sparkhistogram-CBDd7jIn.js → vue-ui-sparkhistogram-Dk8IYZGB.js} +116 -104
  118. package/dist/vue-ui-sparkline-B_1J2ft2.cjs +1 -0
  119. package/dist/{vue-ui-sparkline-BJejWvTN.js → vue-ui-sparkline-Ca1ai-Mq.js} +124 -112
  120. package/dist/{vue-ui-sparkstackbar-DlnmPom2.js → vue-ui-sparkstackbar-CRGrf5y2.js} +85 -81
  121. package/dist/vue-ui-sparkstackbar-tkiKbZHo.cjs +1 -0
  122. package/dist/{vue-ui-stackbar-19XdLQXB.js → vue-ui-stackbar-QaavE5-F.js} +219 -207
  123. package/dist/vue-ui-stackbar-zk1K5gP3.cjs +6 -0
  124. package/dist/vue-ui-strip-plot-8Ksp5AzD.cjs +1 -0
  125. package/dist/{vue-ui-strip-plot-Bly8GoNP.js → vue-ui-strip-plot-gm_lr5A9.js} +113 -101
  126. package/dist/{vue-ui-table-BisPh85-.cjs → vue-ui-table-CPLd7hXM.cjs} +1 -1
  127. package/dist/{vue-ui-table-BUF6Pyfp.js → vue-ui-table-ceYZ6Wzd.js} +1 -1
  128. package/dist/vue-ui-table-heatmap-CSsYOFf7.cjs +1 -0
  129. package/dist/{vue-ui-table-heatmap-By-MmFiq.js → vue-ui-table-heatmap-CWQIOR58.js} +82 -78
  130. package/dist/{vue-ui-table-sparkline-DG70UNkU.js → vue-ui-table-sparkline-BHkqm0Sf.js} +78 -74
  131. package/dist/vue-ui-table-sparkline-hyL_92AC.cjs +1 -0
  132. package/dist/vue-ui-thermometer-CKiohIHn.cjs +1 -0
  133. package/dist/{vue-ui-thermometer-Vr2IP_p0.js → vue-ui-thermometer-Dvk3S7jR.js} +132 -120
  134. package/dist/vue-ui-timer-BUuk2p4C.cjs +64 -0
  135. package/dist/{vue-ui-timer-CD7gFOjN.js → vue-ui-timer-D0tGj6hK.js} +94 -82
  136. package/dist/{vue-ui-tiremarks-44pO3jx1.js → vue-ui-tiremarks-C2G0Sem6.js} +104 -94
  137. package/dist/vue-ui-tiremarks-Csng3xWI.cjs +1 -0
  138. package/dist/{vue-ui-treemap-CyOUM3-P.js → vue-ui-treemap-3iutCx61.js} +336 -332
  139. package/dist/vue-ui-treemap-CJjATl47.cjs +1 -0
  140. package/dist/{vue-ui-vertical-bar-wngOp0Zc.js → vue-ui-vertical-bar-DZz_tUTV.js} +188 -176
  141. package/dist/vue-ui-vertical-bar-DtuEIajX.cjs +4 -0
  142. package/dist/vue-ui-waffle-B-Uf38ml.cjs +1 -0
  143. package/dist/{vue-ui-waffle-CuN7i0ci.js → vue-ui-waffle-Cr4FGNwb.js} +140 -136
  144. package/dist/vue-ui-wheel-Bijmdum9.cjs +1 -0
  145. package/dist/{vue-ui-wheel-B_gLugLx.js → vue-ui-wheel-Da4DH062.js} +100 -88
  146. package/dist/{vue-ui-word-cloud-DKHGS0my.js → vue-ui-word-cloud-C3o4JBD2.js} +132 -120
  147. package/dist/vue-ui-word-cloud-Cjyh1I0J.cjs +1 -0
  148. package/dist/{vue-ui-xy-BK9R8MrJ.js → vue-ui-xy-BX_3ddck.js} +139 -127
  149. package/dist/{vue-ui-xy-canvas-DaT4HoWD.js → vue-ui-xy-canvas-DqzVCtbZ.js} +231 -227
  150. package/dist/{vue-ui-xy-canvas-gDaRsnBI.cjs → vue-ui-xy-canvas-ObtOgMlV.cjs} +2 -2
  151. package/dist/vue-ui-xy-gClSSwyU.cjs +3 -0
  152. package/package.json +1 -1
  153. package/dist/index-o6tXRhOr.cjs +0 -9
  154. package/dist/vue-ui-3d-bar-zKUnnMOY.cjs +0 -19
  155. package/dist/vue-ui-age-pyramid-Bg8Bexac.cjs +0 -1
  156. package/dist/vue-ui-bullet-DqM9h81O.cjs +0 -34
  157. package/dist/vue-ui-candlestick-C0PkovyK.cjs +0 -2
  158. package/dist/vue-ui-carousel-table-DbXCpYUm.cjs +0 -1
  159. package/dist/vue-ui-chestnut-Be4Lagdr.cjs +0 -6
  160. package/dist/vue-ui-donut-B7orj3vV.cjs +0 -1
  161. package/dist/vue-ui-donut-evolution-BmTzjKlH.cjs +0 -1
  162. package/dist/vue-ui-dumbbell-5yfcA-Of.cjs +0 -9
  163. package/dist/vue-ui-flow-Bar7LG9t.cjs +0 -1
  164. package/dist/vue-ui-funnel-lxHehCUr.cjs +0 -1
  165. package/dist/vue-ui-galaxy-B8zbGikp.cjs +0 -1
  166. package/dist/vue-ui-gauge-Bz1nzveF.cjs +0 -1
  167. package/dist/vue-ui-gizmo-C9XQ-7Sj.cjs +0 -1
  168. package/dist/vue-ui-heatmap-BW6dmp8j.cjs +0 -1
  169. package/dist/vue-ui-history-plot-Mp0zDeR-.cjs +0 -1
  170. package/dist/vue-ui-kpi-D8hh3p8f.cjs +0 -1
  171. package/dist/vue-ui-molecule-RkdIX-iW.cjs +0 -1
  172. package/dist/vue-ui-mood-radar-DLpDoq0G.cjs +0 -1
  173. package/dist/vue-ui-nested-donuts-BO249_PV.cjs +0 -17
  174. package/dist/vue-ui-onion-BjNQgHPX.cjs +0 -5
  175. package/dist/vue-ui-parallel-coordinate-plot-CoeVi-98.cjs +0 -8
  176. package/dist/vue-ui-quadrant-D701bdNz.cjs +0 -1
  177. package/dist/vue-ui-quick-chart-CRNEkxoM.cjs +0 -15
  178. package/dist/vue-ui-radar-3W9NRklj.cjs +0 -1
  179. package/dist/vue-ui-rating-DeuaL_cU.cjs +0 -1
  180. package/dist/vue-ui-relation-circle-B8JtK-JM.cjs +0 -1
  181. package/dist/vue-ui-rings-CZCTLghE.cjs +0 -2
  182. package/dist/vue-ui-scatter-DlA0xU5U.cjs +0 -1
  183. package/dist/vue-ui-smiley-BISneB7t.cjs +0 -2
  184. package/dist/vue-ui-spark-trend-lMzod-5S.cjs +0 -1
  185. package/dist/vue-ui-sparkbar-DcdDLl8l.cjs +0 -1
  186. package/dist/vue-ui-sparkgauge-BhwNRzrD.cjs +0 -1
  187. package/dist/vue-ui-sparkhistogram-D00ahrgs.cjs +0 -1
  188. package/dist/vue-ui-sparkline-CY92qVz0.cjs +0 -1
  189. package/dist/vue-ui-sparkstackbar-BjKL_6dq.cjs +0 -1
  190. package/dist/vue-ui-stackbar-T4VBFpDo.cjs +0 -6
  191. package/dist/vue-ui-strip-plot-CtjbMamo.cjs +0 -1
  192. package/dist/vue-ui-table-heatmap-CPn-jC0n.cjs +0 -1
  193. package/dist/vue-ui-table-sparkline-CIDuWZZs.cjs +0 -1
  194. package/dist/vue-ui-thermometer-CMvk1D7J.cjs +0 -1
  195. package/dist/vue-ui-timer-CUHgN89f.cjs +0 -64
  196. package/dist/vue-ui-tiremarks-w_gxHFeB.cjs +0 -1
  197. package/dist/vue-ui-treemap-CFhTEaxa.cjs +0 -1
  198. package/dist/vue-ui-vertical-bar-C51RKLB8.cjs +0 -4
  199. package/dist/vue-ui-waffle-CXZc4t27.cjs +0 -1
  200. package/dist/vue-ui-wheel-u9Vc7ZTZ.cjs +0 -1
  201. package/dist/vue-ui-word-cloud-tSXyXvd6.cjs +0 -1
  202. package/dist/vue-ui-xy-bX3g4COC.cjs +0 -3
@@ -1,30 +1,30 @@
1
- import { useCssVars as j, ref as g, computed as p, watch as ee, onMounted as te, openBlock as n, createElementBlock as l, normalizeStyle as C, normalizeClass as E, unref as u, createBlock as ae, createSlots as oe, withCtx as k, renderSlot as r, normalizeProps as c, guardReactiveProps as h, createCommentVNode as m, createElementVNode as y, Fragment as _, renderList as x, createVNode as se, mergeProps as G, nextTick as ne } from "vue";
2
- import { u as le, c as B, t as re, o as ue, e as ie, $ as de, G as ve, N as pe, q as ce, r as me } from "./index-CI-N9klv.js";
3
- import { u as A } from "./useNestedProp-D1eJ0dvv.js";
4
- import { u as fe, U as he } from "./usePrinter-CXc8xCKk.js";
5
- import { _ as ge } from "./Shape-D7aacHaz.js";
6
- import { u as ye } from "./useUserOptionState-BIvW1Kz7.js";
7
- import { _ as be } from "./_plugin-vue_export-helper-CHgC5LLL.js";
8
- const Ce = ["id"], ke = { role: "cell" }, _e = { role: "row" }, $e = ["data-cell"], Ie = {
1
+ import { useCssVars as te, ref as g, useSlots as ae, onMounted as E, computed as v, watch as oe, openBlock as n, createElementBlock as l, normalizeStyle as C, normalizeClass as G, unref as u, createBlock as se, createSlots as ne, withCtx as k, renderSlot as r, normalizeProps as c, guardReactiveProps as h, createCommentVNode as m, createElementVNode as b, Fragment as _, renderList as x, createVNode as le, mergeProps as B, nextTick as re } from "vue";
2
+ import { u as ue, c as H, t as ie, o as de, e as pe, $ as ve, G as ce, N as me, q as fe, r as he } from "./index-B9RAElpI.js";
3
+ import { u as A } from "./useNestedProp-DuruL3Nt.js";
4
+ import { u as ge, U as be } from "./usePrinter-CwTAwqtF.js";
5
+ import { _ as ye } from "./Shape-Ct2x6qZx.js";
6
+ import { u as Ce } from "./useUserOptionState-BIvW1Kz7.js";
7
+ import { _ as ke } from "./_plugin-vue_export-helper-CHgC5LLL.js";
8
+ const _e = ["id"], $e = { role: "cell" }, Ie = { role: "row" }, we = ["data-cell"], xe = {
9
9
  key: 0,
10
10
  style: { display: "flex", "flex-direction": "row", gap: "2px", "align-items": "center" }
11
- }, we = ["height", "width"], xe = {
11
+ }, Oe = ["height", "width"], Fe = {
12
12
  key: 0,
13
13
  role: "cell",
14
14
  "data-cell": "sum"
15
- }, Oe = {
15
+ }, Pe = {
16
16
  key: 1,
17
17
  role: "cell",
18
18
  "data-cell": "average"
19
- }, Fe = {
19
+ }, Ne = {
20
20
  key: 2,
21
21
  role: "cell",
22
22
  "data-cell": "median"
23
- }, Pe = {
23
+ }, Ve = {
24
24
  key: 1,
25
25
  ref: "source",
26
26
  dir: "auto"
27
- }, Ne = {
27
+ }, Re = {
28
28
  __name: "vue-ui-table-heatmap",
29
29
  props: {
30
30
  config: {
@@ -40,52 +40,56 @@ const Ce = ["id"], ke = { role: "cell" }, _e = { role: "row" }, $e = ["data-cell
40
40
  }
41
41
  }
42
42
  },
43
- setup(D, { expose: H }) {
43
+ setup(D, { expose: L }) {
44
44
  const f = D;
45
- j((e) => ({
46
- "71b0617e": Y.value,
47
- "08e6c59c": Q.value
45
+ te((e) => ({
46
+ "51ba93f2": j.value,
47
+ "63946c66": Z.value
48
48
  }));
49
- const { vue_ui_table_heatmap: L } = le(), $ = g(B()), i = g(!1), b = g(null), I = g(!1), O = g(0), t = p({
49
+ const { vue_ui_table_heatmap: X } = ue(), $ = g(H()), i = g(!1), y = g(null), I = g(!1), O = g(0), W = ae();
50
+ E(() => {
51
+ W["chart-background"] && console.warn("VueUiTableHeatmap does not support the #chart-background slot.");
52
+ });
53
+ const t = v({
50
54
  get: () => N(),
51
55
  set: (e) => e
52
- }), { userOptionsVisible: w, setUserOptionsVisibility: F, keepUserOptionState: P } = ye({ config: t.value });
56
+ }), { userOptionsVisible: w, setUserOptionsVisibility: F, keepUserOptionState: P } = Ce({ config: t.value });
53
57
  function N() {
54
58
  const e = A({
55
59
  userConfig: f.config,
56
- defaultConfig: L
60
+ defaultConfig: X
57
61
  });
58
62
  return e.theme ? {
59
63
  ...A({
60
- userConfig: re.vue_ui_table_heatmap[e.theme] || f.config,
64
+ userConfig: ie.vue_ui_table_heatmap[e.theme] || f.config,
61
65
  defaultConfig: e
62
66
  })
63
67
  } : e;
64
68
  }
65
- ee(() => f.config, (e) => {
69
+ oe(() => f.config, (e) => {
66
70
  t.value = N(), w.value = !t.value.showOnChartHover, M();
67
71
  }, { deep: !0 });
68
- const { isPrinting: X, isImaging: W, generatePdf: R, generateImage: V } = fe({
72
+ const { isPrinting: q, isImaging: J, generatePdf: V, generateImage: R } = ge({
69
73
  elementId: `table_heatmap_${$.value}`,
70
74
  fileName: "vue-ui-table-heatmap"
71
- }), q = p(() => t.value.table.responsiveBreakpoint), J = p(() => !!f.dataset && f.dataset.length);
72
- te(() => {
75
+ }), K = v(() => t.value.table.responsiveBreakpoint), Q = v(() => !!f.dataset && f.dataset.length);
76
+ E(() => {
73
77
  M();
74
78
  });
75
79
  function M() {
76
- ue(f.dataset) && ie({
80
+ de(f.dataset) && pe({
77
81
  componentName: "VueUiTableHeatmap",
78
82
  type: "dataset"
79
83
  });
80
84
  const e = new ResizeObserver((o) => {
81
85
  o.forEach((a) => {
82
- i.value = a.contentRect.width < q.value;
86
+ i.value = a.contentRect.width < K.value;
83
87
  });
84
88
  });
85
- b.value && e.observe(b.value);
89
+ y.value && e.observe(y.value);
86
90
  }
87
- const S = p(() => f.dataset.map((e) => {
88
- const o = e.values.map((s) => isNaN(s) ? 0 : s), a = o.reduce((s, v) => s + v, 0);
91
+ const S = v(() => f.dataset.map((e) => {
92
+ const o = e.values.map((s) => isNaN(s) ? 0 : s), a = o.reduce((s, p) => s + p, 0);
89
93
  return {
90
94
  ...e,
91
95
  values: o,
@@ -95,60 +99,60 @@ const Ce = ["id"], ke = { role: "cell" }, _e = { role: "row" }, $e = ["data-cell
95
99
  },
96
100
  sum: a,
97
101
  average: a / o.length,
98
- median: de(o),
102
+ median: ve(o),
99
103
  displayValues: [e.name, ...e.values],
100
- id: B()
104
+ id: H()
101
105
  };
102
- })), T = p(() => {
106
+ })), T = v(() => {
103
107
  const e = S.value.flatMap((o) => o.values);
104
108
  return {
105
109
  min: Math.min(...e),
106
110
  max: Math.max(...e)
107
111
  };
108
112
  });
109
- function K(e, o) {
113
+ function Y(e, o) {
110
114
  const a = t.value.style.heatmapColors.useIndividualScale;
111
- return pe(t.value.style.heatmapColors.min, t.value.style.heatmapColors.max, a ? o.min : T.value.min, a ? o.max : T.value.max, e);
115
+ return me(t.value.style.heatmapColors.min, t.value.style.heatmapColors.max, a ? o.min : T.value.min, a ? o.max : T.value.max, e);
112
116
  }
113
- const U = p(() => S.value.map((e) => ({
117
+ const U = v(() => S.value.map((e) => ({
114
118
  ...e,
115
- colors: e.displayValues.map((o) => isNaN(o) ? t.value.style.backgroundColor : K(o, e.serieExtremes))
116
- }))), Q = p(() => t.value.style.backgroundColor), Y = p(() => `${t.value.table.borderWidth}px`);
119
+ colors: e.displayValues.map((o) => isNaN(o) ? t.value.style.backgroundColor : Y(o, e.serieExtremes))
120
+ }))), Z = v(() => t.value.style.backgroundColor), j = v(() => `${t.value.table.borderWidth}px`);
117
121
  function z() {
118
- ne(() => {
122
+ re(() => {
119
123
  const e = U.value.map((s) => [
120
124
  [s.name],
121
125
  s.displayValues,
122
126
  [s.sum],
123
127
  [s.average],
124
128
  [s.median]
125
- ]), o = [[[""], t.value.table.head.values, ["sum"], ["average"], ["median"]]].concat(e), a = ce(o);
126
- me({ csvContent: a, title: "vue-ui-table-heatmap" });
129
+ ]), o = [[[""], t.value.table.head.values, ["sum"], ["average"], ["median"]]].concat(e), a = fe(o);
130
+ he({ csvContent: a, title: "vue-ui-table-heatmap" });
127
131
  });
128
132
  }
129
- function Z(e) {
133
+ function ee(e) {
130
134
  I.value = e, O.value += 1;
131
135
  }
132
- return H({
133
- generatePdf: R,
136
+ return L({
137
+ generatePdf: V,
134
138
  generateCsv: z,
135
- generateImage: V
139
+ generateImage: R
136
140
  }), (e, o) => (n(), l("div", {
137
141
  ref_key: "tableContainer",
138
- ref: b,
142
+ ref: y,
139
143
  style: C(`width:100%; overflow-x:auto; container-type: inline-size;padding-top:${t.value.userOptions.show ? "36px" : ""}; ${I.value ? "vue-data-ui-wrapper-fullscreen" : ""}; position:relative;`),
140
- class: E({ "vue-ui-responsive": i.value }),
144
+ class: G({ "vue-ui-responsive": i.value }),
141
145
  id: `table_heatmap_${$.value}`,
142
146
  onMouseenter: o[0] || (o[0] = () => u(F)(!0)),
143
147
  onMouseleave: o[1] || (o[1] = () => u(F)(!1))
144
148
  }, [
145
- t.value.userOptions.show && J.value && (u(P) || u(w)) ? (n(), ae(he, {
149
+ t.value.userOptions.show && Q.value && (u(P) || u(w)) ? (n(), se(be, {
146
150
  ref: "details",
147
151
  key: `user_option_${O.value}`,
148
152
  backgroundColor: t.value.style.backgroundColor,
149
153
  color: t.value.style.color,
150
- isPrinting: u(X),
151
- isImaging: u(W),
154
+ isPrinting: u(q),
155
+ isImaging: u(J),
152
156
  uid: $.value,
153
157
  hasPdf: t.value.userOptions.buttons.pdf,
154
158
  hasXls: t.value.userOptions.buttons.csv,
@@ -156,16 +160,16 @@ const Ce = ["id"], ke = { role: "cell" }, _e = { role: "row" }, $e = ["data-cell
156
160
  hasFullscreen: t.value.userOptions.buttons.fullscreen,
157
161
  isFullscreen: I.value,
158
162
  titles: { ...t.value.userOptions.buttonTitles },
159
- chartElement: b.value,
163
+ chartElement: y.value,
160
164
  position: t.value.userOptions.position,
161
- onToggleFullscreen: Z,
162
- onGeneratePdf: u(R),
165
+ onToggleFullscreen: ee,
166
+ onGeneratePdf: u(V),
163
167
  onGenerateCsv: z,
164
- onGenerateImage: u(V),
168
+ onGenerateImage: u(R),
165
169
  style: C({
166
170
  visibility: u(P) ? u(w) ? "visible" : "hidden" : "visible"
167
171
  })
168
- }, oe({ _: 2 }, [
172
+ }, ne({ _: 2 }, [
169
173
  e.$slots.optionPdf ? {
170
174
  name: "optionPdf",
171
175
  fn: k(() => [
@@ -195,30 +199,30 @@ const Ce = ["id"], ke = { role: "cell" }, _e = { role: "row" }, $e = ["data-cell
195
199
  key: "3"
196
200
  } : void 0
197
201
  ]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasPdf", "hasXls", "hasImg", "hasFullscreen", "isFullscreen", "titles", "chartElement", "position", "onGeneratePdf", "onGenerateImage", "style"])) : m("", !0),
198
- y("table", {
199
- class: E({ "vue-ui-table-heatmap": !0 }),
202
+ b("table", {
203
+ class: G({ "vue-ui-table-heatmap": !0 }),
200
204
  style: C(`width:100%;font-family:${t.value.style.fontFamily};background:${t.value.style.backgroundColor};`)
201
205
  }, [
202
- y("caption", null, [
206
+ b("caption", null, [
203
207
  r(e.$slots, "caption", {}, void 0, !0)
204
208
  ]),
205
- y("thead", null, [
206
- y("tr", {
209
+ b("thead", null, [
210
+ b("tr", {
207
211
  role: "row",
208
212
  style: C(`background:${t.value.table.head.backgroundColor};color:${t.value.table.head.color}`)
209
213
  }, [
210
- (n(!0), l(_, null, x(t.value.table.head.values, (a, s) => (n(), l("th", ke, [
214
+ (n(!0), l(_, null, x(t.value.table.head.values, (a, s) => (n(), l("th", $e, [
211
215
  r(e.$slots, "head", c(h({ value: a, rowIndex: s, type: typeof a, isResponsive: i.value })), void 0, !0)
212
216
  ]))), 256))
213
217
  ], 4)
214
218
  ]),
215
- y("tbody", null, [
216
- (n(!0), l(_, null, x(U.value, (a, s) => (n(), l("tr", _e, [
217
- (n(!0), l(_, null, x(a.displayValues, (v, d) => (n(), l("td", {
219
+ b("tbody", null, [
220
+ (n(!0), l(_, null, x(U.value, (a, s) => (n(), l("tr", Ie, [
221
+ (n(!0), l(_, null, x(a.displayValues, (p, d) => (n(), l("td", {
218
222
  role: "cell",
219
223
  "data-cell": t.value.table.head.values[d]
220
224
  }, [
221
- a.color && d === 0 ? (n(), l("div", Ie, [
225
+ a.color && d === 0 ? (n(), l("div", xe, [
222
226
  a.color ? (n(), l("svg", {
223
227
  key: 0,
224
228
  height: t.value.style.shapeSize,
@@ -226,37 +230,37 @@ const Ce = ["id"], ke = { role: "cell" }, _e = { role: "row" }, $e = ["data-cell
226
230
  viewBox: "0 0 20 20",
227
231
  style: { background: "none", overflow: "visible" }
228
232
  }, [
229
- se(ge, {
233
+ le(ye, {
230
234
  plot: { x: 10, y: 10 },
231
235
  color: a.color,
232
236
  radius: 9,
233
237
  shape: a.shape || "circle"
234
238
  }, null, 8, ["color", "shape"])
235
- ], 8, we)) : m("", !0),
236
- r(e.$slots, "rowTitle", c(h({ value: v, rowIndex: s, colIndex: d, type: typeof v, isResponsive: i.value })), void 0, !0)
239
+ ], 8, Oe)) : m("", !0),
240
+ r(e.$slots, "rowTitle", c(h({ value: p, rowIndex: s, colIndex: d, type: typeof p, isResponsive: i.value })), void 0, !0)
237
241
  ])) : (n(), l(_, { key: 1 }, [
238
- d === 0 ? r(e.$slots, "rowTitle", c(G({ key: 0 }, { value: v, rowIndex: s, colIndex: d, type: typeof v, isResponsive: i.value })), void 0, !0) : m("", !0),
239
- d > 0 ? r(e.$slots, "cell", c(G({ key: 1 }, { value: v, rowIndex: s, colIndex: d, type: typeof v, isResponsive: i.value, color: a.colors[d], textColor: u(ve)(a.colors[d]) })), void 0, !0) : m("", !0)
242
+ d === 0 ? r(e.$slots, "rowTitle", c(B({ key: 0 }, { value: p, rowIndex: s, colIndex: d, type: typeof p, isResponsive: i.value })), void 0, !0) : m("", !0),
243
+ d > 0 ? r(e.$slots, "cell", c(B({ key: 1 }, { value: p, rowIndex: s, colIndex: d, type: typeof p, isResponsive: i.value, color: a.colors[d], textColor: u(ce)(a.colors[d]) })), void 0, !0) : m("", !0)
240
244
  ], 64))
241
- ], 8, $e))), 256)),
242
- t.value.table.showSum ? (n(), l("td", xe, [
245
+ ], 8, we))), 256)),
246
+ t.value.table.showSum ? (n(), l("td", Fe, [
243
247
  r(e.$slots, "sum", c(h({ value: a.sum, rowIndex: s, isResponsive: i.value })), void 0, !0)
244
248
  ])) : m("", !0),
245
- t.value.table.showAverage ? (n(), l("td", Oe, [
249
+ t.value.table.showAverage ? (n(), l("td", Pe, [
246
250
  r(e.$slots, "average", c(h({ value: a.average, rowIndex: s, isResponsive: i.value })), void 0, !0)
247
251
  ])) : m("", !0),
248
- t.value.table.showMedian ? (n(), l("td", Fe, [
252
+ t.value.table.showMedian ? (n(), l("td", Ne, [
249
253
  r(e.$slots, "median", c(h({ value: a.median, rowIndex: s, isResponsive: i.value })), void 0, !0)
250
254
  ])) : m("", !0)
251
255
  ]))), 256))
252
256
  ])
253
257
  ], 4),
254
- e.$slots.source ? (n(), l("div", Pe, [
258
+ e.$slots.source ? (n(), l("div", Ve, [
255
259
  r(e.$slots, "source", {}, void 0, !0)
256
260
  ], 512)) : m("", !0)
257
- ], 46, Ce));
261
+ ], 46, _e));
258
262
  }
259
- }, Ee = /* @__PURE__ */ be(Ne, [["__scopeId", "data-v-d7c8a9cf"]]);
263
+ }, Be = /* @__PURE__ */ ke(Re, [["__scopeId", "data-v-4469b342"]]);
260
264
  export {
261
- Ee as default
265
+ Be as default
262
266
  };