vue-data-ui 2.3.84 → 2.3.86

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 (180) hide show
  1. package/dist/{Arrow-CQ1ubni5.js → Arrow-CJ7hmWgf.js} +1 -1
  2. package/dist/{Arrow-Uk_vwKtL.cjs → Arrow-CebZn6E4.cjs} +1 -1
  3. package/dist/{BaseIcon-B9ZZ6wkT.js → BaseIcon-B9istAKo.js} +1 -1
  4. package/dist/{BaseIcon-CF1HQdM0.cjs → BaseIcon-DnG75_Ol.cjs} +1 -1
  5. package/dist/{DataTable-CEtr89Og.cjs → DataTable-BA_BCbHC.cjs} +1 -1
  6. package/dist/{DataTable-C-iU_7h7.js → DataTable-tSDSY14n.js} +2 -2
  7. package/dist/{Legend-D2ZBCCXe.cjs → Legend-BOY57qwA.cjs} +1 -1
  8. package/dist/{Legend-pU_BwhaW.js → Legend-D3hovFqM.js} +1 -1
  9. package/dist/{Shape-BO_KyCq8.cjs → Shape-D6jrLLku.cjs} +1 -1
  10. package/dist/{Shape-CyM44biU.js → Shape-XiTBfhJM.js} +1 -1
  11. package/dist/{Slicer-CZobytqL.js → Slicer-BMvzmCKt.js} +2 -2
  12. package/dist/{Slicer-BAMZ4wsl.cjs → Slicer-sZ-DArc4.cjs} +1 -1
  13. package/dist/{Title-B1_d29Eh.cjs → Title-Ahj4TYHa.cjs} +1 -1
  14. package/dist/{Title-Bk3h09h9.js → Title-DJ2FNrSN.js} +1 -1
  15. package/dist/{Tooltip-CdB80DsD.js → Tooltip-CQpXRqRC.js} +1 -1
  16. package/dist/{Tooltip-BU4cSEF0.cjs → Tooltip-XhevgJmm.cjs} +1 -1
  17. package/dist/index-CVgBMJU6.cjs +4 -0
  18. package/dist/{index-DI4DaxVG.js → index-D2epy0rJ.js} +4 -1
  19. package/dist/style.css +1 -1
  20. package/dist/types/vue-data-ui.d.cts +3 -0
  21. package/dist/types/vue-data-ui.d.ts +3 -0
  22. package/dist/{useNestedProp-BdsfyHWU.cjs → useNestedProp-B-NmF2LO.cjs} +1 -1
  23. package/dist/{useNestedProp-COsQo-tX.js → useNestedProp-C_ZrJBd9.js} +1 -1
  24. package/dist/usePrinter-B6qtXaHk.js +527 -0
  25. package/dist/usePrinter-DN-6Hoh5.cjs +1 -0
  26. package/dist/{vue-data-ui-kGaLyV0o.cjs → vue-data-ui-DlNasA0G.cjs} +1 -1
  27. package/dist/{vue-data-ui-9nofTL7J.js → vue-data-ui-vegY0BJm.js} +57 -57
  28. package/dist/vue-data-ui.cjs +1 -1
  29. package/dist/vue-data-ui.js +1 -1
  30. package/dist/vue-ui-3d-bar-CqRRjlUU.cjs +19 -0
  31. package/dist/{vue-ui-3d-bar-lKgwKkVj.js → vue-ui-3d-bar-D-0SSMOt.js} +165 -164
  32. package/dist/{vue-ui-accordion-C8ka_Ot0.cjs → vue-ui-accordion-BaV9R6cy.cjs} +1 -1
  33. package/dist/{vue-ui-accordion-DsN9lxvc.js → vue-ui-accordion-DzTB2FL0.js} +3 -3
  34. package/dist/vue-ui-age-pyramid-Bx4BuL3K.cjs +1 -0
  35. package/dist/{vue-ui-age-pyramid-D2lSXDX6.js → vue-ui-age-pyramid-_eo2DGen.js} +68 -67
  36. package/dist/{vue-ui-annotator-DoLG0N5e.js → vue-ui-annotator-8j2dJ0CU.js} +1 -1
  37. package/dist/{vue-ui-annotator-DmfAqbqB.cjs → vue-ui-annotator-CDZtr6tp.cjs} +1 -1
  38. package/dist/{vue-ui-candlestick-vhHV9d6O.js → vue-ui-candlestick-CsF7OSvJ.js} +83 -82
  39. package/dist/vue-ui-candlestick-NypxP0Uu.cjs +2 -0
  40. package/dist/{vue-ui-carousel-table-BmyArloA.js → vue-ui-carousel-table-CMHd2i-6.js} +7 -7
  41. package/dist/{vue-ui-carousel-table-DaQV2SlJ.cjs → vue-ui-carousel-table-CV0eVeRd.cjs} +1 -1
  42. package/dist/{vue-ui-chestnut-DvNW2Y0z.cjs → vue-ui-chestnut-B9miwyAN.cjs} +2 -2
  43. package/dist/{vue-ui-chestnut-DgbbDtL0.js → vue-ui-chestnut-CVftKftk.js} +11 -10
  44. package/dist/{vue-ui-cursor-zXDNHCZv.cjs → vue-ui-cursor-Bsrt107X.cjs} +1 -1
  45. package/dist/{vue-ui-cursor-7-jKCnOY.js → vue-ui-cursor-wujy8n_T.js} +2 -2
  46. package/dist/{vue-ui-dashboard-DMossMh1.cjs → vue-ui-dashboard-BCN0BhjL.cjs} +1 -1
  47. package/dist/{vue-ui-dashboard-B_pnIQ5P.js → vue-ui-dashboard-Cvy0gI52.js} +2 -2
  48. package/dist/{vue-ui-digits-BL8Vyod-.cjs → vue-ui-digits-CnHgzHPI.cjs} +1 -1
  49. package/dist/{vue-ui-digits-C-lpZ-rg.js → vue-ui-digits-J-WrKKHg.js} +2 -2
  50. package/dist/{vue-ui-donut-e-p-l-_7.js → vue-ui-donut-BOhWcHY_.js} +91 -90
  51. package/dist/vue-ui-donut-CZ1iKZq6.cjs +1 -0
  52. package/dist/{vue-ui-donut-evolution-Ol1YS2OF.js → vue-ui-donut-evolution-CSSYuoti.js} +83 -82
  53. package/dist/vue-ui-donut-evolution-DuY2883r.cjs +1 -0
  54. package/dist/{vue-ui-dumbbell-BjTXdj83.js → vue-ui-dumbbell-Cm0Rp_6W.js} +23 -22
  55. package/dist/{vue-ui-dumbbell-CMFNfda1.cjs → vue-ui-dumbbell-i9QcsSVO.cjs} +2 -2
  56. package/dist/{vue-ui-flow-B4mdXrld.js → vue-ui-flow-0m7a1NP7.js} +54 -53
  57. package/dist/vue-ui-flow-DXCBGdQT.cjs +1 -0
  58. package/dist/vue-ui-galaxy-D6GyjAnX.cjs +1 -0
  59. package/dist/{vue-ui-galaxy-Eg1e5SG7.js → vue-ui-galaxy-DCHEdZAl.js} +87 -86
  60. package/dist/{vue-ui-gauge-BTt63SCn.js → vue-ui-gauge-HcM2JJpg.js} +78 -77
  61. package/dist/vue-ui-gauge-wbHQGQro.cjs +1 -0
  62. package/dist/{vue-ui-gizmo-bFlUFJa8.cjs → vue-ui-gizmo-B-zMyi1m.cjs} +1 -1
  63. package/dist/{vue-ui-gizmo-C0aF0qVF.js → vue-ui-gizmo-Bfo_nUnZ.js} +2 -2
  64. package/dist/{vue-ui-heatmap-kiVWYvjC.js → vue-ui-heatmap-CxIHmv0t.js} +170 -169
  65. package/dist/vue-ui-heatmap-Du2vI5Ae.cjs +1 -0
  66. package/dist/{vue-ui-kpi-qw5ofS-z.cjs → vue-ui-kpi-BOe7-M9V.cjs} +1 -1
  67. package/dist/{vue-ui-kpi-DdtZLwfi.js → vue-ui-kpi-DibULfkp.js} +3 -3
  68. package/dist/{vue-ui-mini-loader-B8YrB3X-.cjs → vue-ui-mini-loader-Bv7l-Kx3.cjs} +1 -1
  69. package/dist/{vue-ui-mini-loader-DcL5v-Tv.js → vue-ui-mini-loader-qFRhERid.js} +2 -2
  70. package/dist/{vue-ui-molecule-BpomHzqe.js → vue-ui-molecule-4cIGPnWg.js} +282 -278
  71. package/dist/vue-ui-molecule-eOj3ZjvT.cjs +1 -0
  72. package/dist/{vue-ui-mood-radar-BV9xC9xF.js → vue-ui-mood-radar-BTe21WKk.js} +144 -143
  73. package/dist/vue-ui-mood-radar-tUFqqekd.cjs +1 -0
  74. package/dist/{vue-ui-nested-donuts-D7D20nJu.js → vue-ui-nested-donuts-BVzabOga.js} +65 -64
  75. package/dist/vue-ui-nested-donuts-BigBLrFR.cjs +17 -0
  76. package/dist/{vue-ui-onion-4wR10l5H.js → vue-ui-onion-C3TAKqro.js} +90 -89
  77. package/dist/vue-ui-onion-_ZC3vbIS.cjs +5 -0
  78. package/dist/vue-ui-parallel-coordinate-plot-BiXGkfj7.cjs +8 -0
  79. package/dist/{vue-ui-parallel-coordinate-plot-DA3byJV2.js → vue-ui-parallel-coordinate-plot-CKoCQXqj.js} +40 -39
  80. package/dist/vue-ui-quadrant-B67wGTic.cjs +1 -0
  81. package/dist/{vue-ui-quadrant-D5wvd5h3.js → vue-ui-quadrant-CKnyfJoi.js} +51 -50
  82. package/dist/vue-ui-quick-chart-DEjdx0AB.cjs +15 -0
  83. package/dist/{vue-ui-quick-chart-CTSq5JJE.js → vue-ui-quick-chart-DZDYYnsI.js} +63 -62
  84. package/dist/vue-ui-radar-Cm_QkYGb.cjs +1 -0
  85. package/dist/{vue-ui-radar-OW6awckj.js → vue-ui-radar-v9yayJxu.js} +44 -43
  86. package/dist/{vue-ui-rating-C6gyJWJF.js → vue-ui-rating-Cc_N7qbe.js} +2 -2
  87. package/dist/{vue-ui-rating-3ZVG38br.cjs → vue-ui-rating-DV4cCZbB.cjs} +1 -1
  88. package/dist/{vue-ui-relation-circle-Dr9-ozKG.js → vue-ui-relation-circle-Clqo4kkb.js} +74 -73
  89. package/dist/vue-ui-relation-circle-DcpIVbI6.cjs +1 -0
  90. package/dist/{vue-ui-rings-Ce6tFKrN.js → vue-ui-rings-D27xNq9q.js} +78 -77
  91. package/dist/vue-ui-rings-DTn3t8Ku.cjs +2 -0
  92. package/dist/{vue-ui-scatter-C_3WQPMf.js → vue-ui-scatter-C07Mon-6.js} +53 -52
  93. package/dist/vue-ui-scatter-CXbrqLFm.cjs +1 -0
  94. package/dist/{vue-ui-screenshot-BvE2dsvU.js → vue-ui-screenshot-CsxqbqlJ.js} +1 -1
  95. package/dist/{vue-ui-screenshot-D6N4GbAL.cjs → vue-ui-screenshot-D8TAvQYN.cjs} +1 -1
  96. package/dist/{vue-ui-skeleton-DH4t1hrL.js → vue-ui-skeleton-BLiYyX95.js} +2 -2
  97. package/dist/{vue-ui-skeleton-CkSlhfsB.cjs → vue-ui-skeleton-Br1K3exH.cjs} +1 -1
  98. package/dist/{vue-ui-smiley-C-92SyPZ.js → vue-ui-smiley-BUHatT3Z.js} +2 -2
  99. package/dist/{vue-ui-smiley-CSA28QLT.cjs → vue-ui-smiley-CR_TkSYT.cjs} +1 -1
  100. package/dist/vue-ui-spark-trend-CnUz6s1m.cjs +1 -0
  101. package/dist/{vue-ui-spark-trend-CrElvUcG.js → vue-ui-spark-trend-GY2CfYRt.js} +29 -29
  102. package/dist/vue-ui-sparkbar-DaFwUA6Z.cjs +1 -0
  103. package/dist/{vue-ui-sparkbar-DrbkUcOX.js → vue-ui-sparkbar-tdgek1gv.js} +27 -27
  104. package/dist/{vue-ui-sparkgauge-PSRf_u0V.js → vue-ui-sparkgauge-1zu5KmTA.js} +22 -22
  105. package/dist/vue-ui-sparkgauge-D8P01Hem.cjs +1 -0
  106. package/dist/{vue-ui-sparkhistogram-pZslBri7.js → vue-ui-sparkhistogram-b68QStxA.js} +52 -52
  107. package/dist/vue-ui-sparkhistogram-mg6yuwLH.cjs +1 -0
  108. package/dist/{vue-ui-sparkline-CqgArzCs.cjs → vue-ui-sparkline-CAqav9Gn.cjs} +1 -1
  109. package/dist/{vue-ui-sparkline-BPExupWx.js → vue-ui-sparkline-CMmtp8MK.js} +3 -3
  110. package/dist/{vue-ui-sparkstackbar-i02y9FzO.js → vue-ui-sparkstackbar-Cz8tOM3m.js} +6 -6
  111. package/dist/vue-ui-sparkstackbar-DOrquZvw.cjs +1 -0
  112. package/dist/vue-ui-stackbar-DUa5F_Zl.cjs +6 -0
  113. package/dist/{vue-ui-stackbar-DfXxN_P3.js → vue-ui-stackbar-DeQkP1dj.js} +64 -63
  114. package/dist/vue-ui-strip-plot-KNL9ToYG.cjs +1 -0
  115. package/dist/{vue-ui-strip-plot-BZ-we0b1.js → vue-ui-strip-plot-vqOCzdFV.js} +73 -72
  116. package/dist/{vue-ui-table-Dy26T2oy.cjs → vue-ui-table-BCdHNku5.cjs} +1 -1
  117. package/dist/{vue-ui-table-BqLbMTHt.js → vue-ui-table-DDdVqdHt.js} +1 -1
  118. package/dist/vue-ui-table-heatmap-BJDnZMZN.cjs +1 -0
  119. package/dist/{vue-ui-table-heatmap-KzoqT8nX.js → vue-ui-table-heatmap-DQg_jtYq.js} +27 -26
  120. package/dist/{vue-ui-table-sparkline-BakiSjV4.js → vue-ui-table-sparkline-Bg-VFq7X.js} +25 -24
  121. package/dist/{vue-ui-table-sparkline-BBEsDDnN.cjs → vue-ui-table-sparkline-D8DJxb5J.cjs} +1 -1
  122. package/dist/{vue-ui-thermometer-D7cgRJoy.js → vue-ui-thermometer-CajBbbYc.js} +60 -59
  123. package/dist/vue-ui-thermometer-eYM8DX7u.cjs +1 -0
  124. package/dist/{vue-ui-timer-r4VFny9D.js → vue-ui-timer-D3VRVK-8.js} +4 -4
  125. package/dist/{vue-ui-timer-COLXZ1J1.cjs → vue-ui-timer-RclP4Tql.cjs} +1 -1
  126. package/dist/{vue-ui-tiremarks-DNQpuz8A.js → vue-ui-tiremarks-BT0k_3xi.js} +93 -92
  127. package/dist/vue-ui-tiremarks-Bc8bBBAw.cjs +1 -0
  128. package/dist/{vue-ui-treemap-CsHaQjwu.cjs → vue-ui-treemap-BjWDt2b2.cjs} +1 -1
  129. package/dist/{vue-ui-treemap-CD5GoXrU.js → vue-ui-treemap-DMhe3zCm.js} +14 -13
  130. package/dist/vue-ui-vertical-bar-DWzafNBH.cjs +4 -0
  131. package/dist/{vue-ui-vertical-bar-DRH98pOw.js → vue-ui-vertical-bar-hH9R9V-K.js} +180 -179
  132. package/dist/vue-ui-waffle-BvYE9hAY.cjs +1 -0
  133. package/dist/{vue-ui-waffle-l9NGD_0B.js → vue-ui-waffle-DnNd6Iba.js} +85 -84
  134. package/dist/{vue-ui-wheel-BpqWo_KY.js → vue-ui-wheel-Bx9_m-7W.js} +72 -71
  135. package/dist/vue-ui-wheel-CVBmY6h7.cjs +1 -0
  136. package/dist/vue-ui-word-cloud-3R-mYkIW.cjs +1 -0
  137. package/dist/{vue-ui-word-cloud-DLaAm8t8.js → vue-ui-word-cloud-DUk0Xt8q.js} +109 -108
  138. package/dist/{vue-ui-xy-Ct-9OxiZ.js → vue-ui-xy-FtaqoNK8.js} +401 -405
  139. package/dist/{vue-ui-xy-canvas-BU3nj2M1.js → vue-ui-xy-canvas-Bp4PTl_E.js} +54 -53
  140. package/dist/{vue-ui-xy-canvas-Bub1qCm9.cjs → vue-ui-xy-canvas-Ctw_3PzN.cjs} +2 -2
  141. package/dist/vue-ui-xy-rX-aml0b.cjs +3 -0
  142. package/package.json +1 -1
  143. package/dist/index-Cx-40Fnz.cjs +0 -4
  144. package/dist/usePrinter-D9bNzUQP.js +0 -513
  145. package/dist/usePrinter-DbhL59iY.cjs +0 -1
  146. package/dist/vue-ui-3d-bar-1aTroDle.cjs +0 -19
  147. package/dist/vue-ui-age-pyramid-D8Tr8jvT.cjs +0 -1
  148. package/dist/vue-ui-candlestick-BAuWAMct.cjs +0 -2
  149. package/dist/vue-ui-donut-evolution-DsdzjA88.cjs +0 -1
  150. package/dist/vue-ui-donut-w1eqaTu0.cjs +0 -1
  151. package/dist/vue-ui-flow-oBnzNN4s.cjs +0 -1
  152. package/dist/vue-ui-galaxy-DgxKqf6u.cjs +0 -1
  153. package/dist/vue-ui-gauge-B64pcc54.cjs +0 -1
  154. package/dist/vue-ui-heatmap-cjY0mi4a.cjs +0 -1
  155. package/dist/vue-ui-molecule-B8cYtnHq.cjs +0 -1
  156. package/dist/vue-ui-mood-radar-BA2VVPO5.cjs +0 -1
  157. package/dist/vue-ui-nested-donuts-C3CMWjgk.cjs +0 -17
  158. package/dist/vue-ui-onion-CVp0g8MP.cjs +0 -5
  159. package/dist/vue-ui-parallel-coordinate-plot-CmaHQR6-.cjs +0 -8
  160. package/dist/vue-ui-quadrant-B8ffMNIS.cjs +0 -1
  161. package/dist/vue-ui-quick-chart-hnVT9GKL.cjs +0 -15
  162. package/dist/vue-ui-radar-ySl7KzoX.cjs +0 -1
  163. package/dist/vue-ui-relation-circle-CMW26dvv.cjs +0 -1
  164. package/dist/vue-ui-rings-CR1t6iss.cjs +0 -2
  165. package/dist/vue-ui-scatter-CKtgbptk.cjs +0 -1
  166. package/dist/vue-ui-spark-trend-D4d4Mr24.cjs +0 -1
  167. package/dist/vue-ui-sparkbar-DDqy0UBm.cjs +0 -1
  168. package/dist/vue-ui-sparkgauge-D6cG2rb8.cjs +0 -1
  169. package/dist/vue-ui-sparkhistogram-B9sVdLfh.cjs +0 -1
  170. package/dist/vue-ui-sparkstackbar-BbGJ75_9.cjs +0 -1
  171. package/dist/vue-ui-stackbar-CRbcnnwn.cjs +0 -6
  172. package/dist/vue-ui-strip-plot-oZBXDxc-.cjs +0 -1
  173. package/dist/vue-ui-table-heatmap-BnwiB4id.cjs +0 -1
  174. package/dist/vue-ui-thermometer-E0mrvP4G.cjs +0 -1
  175. package/dist/vue-ui-tiremarks-C15sglnJ.cjs +0 -1
  176. package/dist/vue-ui-vertical-bar-DucujxOR.cjs +0 -4
  177. package/dist/vue-ui-waffle-DhroAZB3.cjs +0 -1
  178. package/dist/vue-ui-wheel-Bd87HcGT.cjs +0 -1
  179. package/dist/vue-ui-word-cloud-D5JLdr9g.cjs +0 -1
  180. package/dist/vue-ui-xy-BHzOpYm9.cjs +0 -3
@@ -1,16 +1,16 @@
1
- import { computed as p, ref as n, watch as ze, onMounted as Ne, onBeforeUnmount as Ae, openBlock as s, createElementBlock as i, normalizeClass as F, normalizeStyle as H, createBlock as P, createCommentVNode as v, unref as h, createSlots as Oe, withCtx as b, renderSlot as m, normalizeProps as R, guardReactiveProps as U, Fragment as g, renderList as C, createElementVNode as x, toDisplayString as T, mergeProps as Fe, createVNode as We, createTextVNode as Ie, nextTick as Me } from "vue";
2
- import { u as De, c as K, t as Ge, a as Ee, p as L, o as Ve, e as Q, g as be, b as He, d as me, v as Re, C as Ue, f as B, X as Be, i as Z, l as Xe, h as je, x as ge, y as Ye, q as Je, r as qe, E as Ke } from "./index-DI4DaxVG.js";
1
+ import { computed as p, ref as n, watch as ze, onMounted as Ne, onBeforeUnmount as Ae, openBlock as s, createElementBlock as i, normalizeClass as F, normalizeStyle as q, createBlock as P, createCommentVNode as c, unref as h, createSlots as Oe, withCtx as b, renderSlot as m, normalizeProps as H, guardReactiveProps as R, Fragment as g, renderList as C, createElementVNode as x, toDisplayString as T, mergeProps as Fe, createVNode as We, createTextVNode as Ie, nextTick as Me } from "vue";
2
+ import { u as De, c as K, t as Ge, a as Ee, p as L, o as Ve, e as Q, g as be, b as He, d as me, v as Re, C as Ue, f as U, X as Be, i as Z, l as Xe, h as je, x as ge, y as Ye, q as Je, r as qe, E as Ke } from "./index-D2epy0rJ.js";
3
3
  import { t as Qe, u as Ze } from "./useResponsive-NZB-WLRF.js";
4
- import { _ as et } from "./Title-Bk3h09h9.js";
5
- import { u as tt, U as lt } from "./usePrinter-D9bNzUQP.js";
6
- import { _ as at } from "./Tooltip-CdB80DsD.js";
7
- import { D as ot } from "./DataTable-C-iU_7h7.js";
8
- import st from "./vue-ui-skeleton-DH4t1hrL.js";
9
- import { _ as rt } from "./Shape-CyM44biU.js";
10
- import ut from "./vue-ui-accordion-DsN9lxvc.js";
11
- import { u as xe } from "./useNestedProp-COsQo-tX.js";
4
+ import { _ as et } from "./Title-DJ2FNrSN.js";
5
+ import { u as tt, U as lt } from "./usePrinter-B6qtXaHk.js";
6
+ import { _ as at } from "./Tooltip-CQpXRqRC.js";
7
+ import { D as ot } from "./DataTable-tSDSY14n.js";
8
+ import st from "./vue-ui-skeleton-BLiYyX95.js";
9
+ import { _ as rt } from "./Shape-XiTBfhJM.js";
10
+ import ut from "./vue-ui-accordion-DzTB2FL0.js";
11
+ import { u as xe } from "./useNestedProp-C_ZrJBd9.js";
12
12
  import { _ as it } from "./_plugin-vue_export-helper-CHgC5LLL.js";
13
- const nt = ["id"], ct = ["xmlns", "viewBox"], vt = { key: 0 }, ht = { key: 0 }, dt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], pt = { key: 1 }, yt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], ft = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], bt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], mt = ["x", "y", "fill", "font-size"], gt = ["x", "y", "font-size", "fill"], xt = ["fill", "font-size", "transform"], kt = ["fill", "font-size", "x", "y"], Ct = ["x1", "x2", "y1", "y2", "stroke"], wt = ["cx", "cy", "fill"], _t = ["cx", "cy", "fill"], $t = ["id"], Tt = ["stop-color"], Lt = ["stop-color"], St = ["stop-color"], Pt = { key: 0 }, zt = ["x", "y", "font-size", "fill"], Nt = {
13
+ const nt = ["id"], vt = ["xmlns", "viewBox"], ct = { key: 0 }, ht = { key: 0 }, dt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], pt = { key: 1 }, yt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], ft = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], bt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], mt = ["x", "y", "fill", "font-size"], gt = ["x", "y", "font-size", "fill"], xt = ["fill", "font-size", "transform"], kt = ["fill", "font-size", "x", "y"], Ct = ["x1", "x2", "y1", "y2", "stroke"], wt = ["cx", "cy", "fill"], _t = ["cx", "cy", "fill"], $t = ["id"], Tt = ["stop-color"], Lt = ["stop-color"], St = ["stop-color"], Pt = { key: 0 }, zt = ["x", "y", "font-size", "fill"], Nt = {
14
14
  key: 3,
15
15
  class: "vue-data-ui-watermark"
16
16
  }, At = ["innerHTML"], Ot = {
@@ -38,7 +38,7 @@ const nt = ["id"], ct = ["xmlns", "viewBox"], vt = { key: 0 }, ht = { key: 0 },
38
38
  set(t) {
39
39
  return t;
40
40
  }
41
- }), X = n(K()), ee = n(0), j = n(!1), Y = n(""), z = n(null), te = n(null), le = n(!1), ae = n(0), oe = n(0), e = p({
41
+ }), B = n(K()), ee = n(0), X = n(!1), j = n(""), z = n(null), te = n(null), le = n(!1), ae = n(0), oe = n(0), e = p({
42
42
  get: () => se(),
43
43
  set: (t) => t
44
44
  });
@@ -113,10 +113,10 @@ const nt = ["id"], ct = ["xmlns", "viewBox"], vt = { key: 0 }, ht = { key: 0 },
113
113
  Ae(() => {
114
114
  W.value && W.value.disconnect();
115
115
  });
116
- const { isPrinting: ue, isImaging: ie, generatePdf: ne, generateImage: ce } = tt({
117
- elementId: `strip-plot_${X.value}`,
116
+ const { isPrinting: ue, isImaging: ie, generatePdf: ne, generateImage: ve } = tt({
117
+ elementId: `strip-plot_${B.value}`,
118
118
  fileName: e.value.style.chart.title.text || "vue-ui-strip-plot"
119
- }), ve = p(() => He(e.value.customPalette)), N = n(e.value.useCssAnimation), d = n({
119
+ }), ce = p(() => He(e.value.customPalette)), N = n(e.value.useCssAnimation), d = n({
120
120
  showTable: e.value.table.show,
121
121
  dataLabels: {
122
122
  show: e.value.style.chart.labels.bestPlotLabel.show
@@ -148,12 +148,12 @@ const nt = ["id"], ct = ["xmlns", "viewBox"], vt = { key: 0 }, ht = { key: 0 },
148
148
  return {
149
149
  ...t,
150
150
  id: l,
151
- color: t.color ? me(t.color) : ve.value[o] || L[o] || L[o % L.length],
151
+ color: t.color ? me(t.color) : ce.value[o] || L[o] || L[o % L.length],
152
152
  plots: t.plots.map((r) => ({
153
153
  ...r,
154
154
  value: Re(r.value),
155
155
  parentId: l,
156
- color: t.color ? me(t.color) : ve.value[o] || L[o] || L[o % L.length],
156
+ color: t.color ? me(t.color) : ce.value[o] || L[o] || L[o % L.length],
157
157
  id: K()
158
158
  })).sort((r, u) => r.value - u.value)
159
159
  };
@@ -163,13 +163,13 @@ const nt = ["id"], ct = ["xmlns", "viewBox"], vt = { key: 0 }, ht = { key: 0 },
163
163
  ...l,
164
164
  x: a.value.left + (o + 1) * a.value.stripWidth - a.value.stripWidth / 2
165
165
  }))
166
- }))), $e = p(() => Math.max(...k.value.map((t) => t.plots.length))), J = p(() => {
166
+ }))), $e = p(() => Math.max(...k.value.map((t) => t.plots.length))), Y = p(() => {
167
167
  const t = k.value.flatMap((o) => o.plots.map((l) => l.value));
168
168
  return {
169
169
  max: Math.max(...t),
170
170
  min: Math.min(...t)
171
171
  };
172
- }), _ = p(() => Ue(J.value.min < 0 ? J.value.min : 0, J.value.max, e.value.style.chart.grid.scaleSteps)), Te = p(() => (k.value || []).map((t, o) => ({
172
+ }), _ = p(() => Ue(Y.value.min < 0 ? Y.value.min : 0, Y.value.max, e.value.style.chart.grid.scaleSteps)), Te = p(() => (k.value || []).map((t, o) => ({
173
173
  ...t,
174
174
  plots: t.plots.map((l) => ({
175
175
  ...l,
@@ -180,9 +180,9 @@ const nt = ["id"], ct = ["xmlns", "viewBox"], vt = { key: 0 }, ht = { key: 0 },
180
180
  x1: a.value.left,
181
181
  x2: a.value.right,
182
182
  value: t
183
- }))), q = n(null), c = n(null);
183
+ }))), J = n(null), v = n(null);
184
184
  function Le({ datapoint: t, seriesIndex: o }) {
185
- q.value = { datapoint: t, seriesIndex: o, config: e.value, series: D.value }, j.value = !0, c.value = t;
185
+ J.value = { datapoint: t, seriesIndex: o, config: e.value, series: D.value }, X.value = !0, v.value = t;
186
186
  const l = e.value.style.chart.tooltip.customFormat;
187
187
  if (ge(l) && Ye(() => l({
188
188
  seriesIndex: o,
@@ -190,7 +190,7 @@ const nt = ["id"], ct = ["xmlns", "viewBox"], vt = { key: 0 }, ht = { key: 0 },
190
190
  series: D.value,
191
191
  config: e.value
192
192
  })))
193
- Y.value = l({
193
+ j.value = l({
194
194
  seriesIndex: o,
195
195
  datapoint: t,
196
196
  series: D.value,
@@ -201,14 +201,14 @@ const nt = ["id"], ct = ["xmlns", "viewBox"], vt = { key: 0 }, ht = { key: 0 },
201
201
  r += `<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="${e.value.style.chart.plots.gradient.show ? `url(#${t.parentId})` : t.color}"/></svg>${t.name}</div>`, r += `<div>${Z(
202
202
  e.value.style.chart.labels.formatter,
203
203
  t.value,
204
- B({
204
+ U({
205
205
  p: e.value.style.chart.labels.prefix,
206
206
  v: t.value,
207
207
  s: e.value.style.chart.labels.suffix,
208
208
  r: e.value.style.chart.tooltip.roundingValue
209
209
  }),
210
210
  { datapoint: t, seriesIndex: o }
211
- )}</div>`, Y.value = `<div>${r}</div>`;
211
+ )}</div>`, j.value = `<div>${r}</div>`;
212
212
  }
213
213
  }
214
214
  const G = p(() => {
@@ -231,7 +231,7 @@ const nt = ["id"], ct = ["xmlns", "viewBox"], vt = { key: 0 }, ht = { key: 0 },
231
231
  e.value.table.columnNames.series,
232
232
  e.value.table.columnNames.value
233
233
  ], o = G.value.head.map((u, $) => {
234
- const V = B({
234
+ const V = U({
235
235
  p: e.value.style.chart.labels.prefix,
236
236
  v: G.value.body[$],
237
237
  s: e.value.style.chart.labels.suffix,
@@ -286,7 +286,7 @@ const nt = ["id"], ct = ["xmlns", "viewBox"], vt = { key: 0 }, ht = { key: 0 },
286
286
  getData: Pe,
287
287
  generatePdf: ne,
288
288
  generateCsv: de,
289
- generateImage: ce,
289
+ generateImage: ve,
290
290
  toggleTable: pe,
291
291
  toggleLabels: ye,
292
292
  toggleTooltip: fe
@@ -294,14 +294,14 @@ const nt = ["id"], ct = ["xmlns", "viewBox"], vt = { key: 0 }, ht = { key: 0 },
294
294
  ref_key: "stripPlotChart",
295
295
  ref: z,
296
296
  class: F(`vue-ui-strip-plot ${O.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.value.useCssAnimation ? "" : "vue-ui-dna"}`),
297
- style: H(`font-family:${e.value.style.fontFamily};width:100%; text-align:center;${e.value.style.chart.title.text ? "" : "padding-top:36px"};background:${e.value.style.chart.backgroundColor};${e.value.responsive ? "height:100%" : ""}`),
298
- id: `strip-plot_${X.value}`
297
+ style: q(`font-family:${e.value.style.fontFamily};width:100%; text-align:center;${e.value.style.chart.title.text ? "" : "padding-top:36px"};background:${e.value.style.chart.backgroundColor};${e.value.responsive ? "height:100%" : ""}`),
298
+ id: `strip-plot_${B.value}`
299
299
  }, [
300
300
  e.value.style.chart.title.text ? (s(), i("div", {
301
301
  key: 0,
302
302
  ref_key: "chartTitle",
303
303
  ref: te,
304
- style: H(`width:100%;background:${e.value.style.chart.backgroundColor};padding-bottom:24px`)
304
+ style: "width:100%;background:transparent;padding-bottom:24px"
305
305
  }, [
306
306
  (s(), P(et, {
307
307
  key: `title_${ae.value}`,
@@ -316,7 +316,7 @@ const nt = ["id"], ct = ["xmlns", "viewBox"], vt = { key: 0 }, ht = { key: 0 },
316
316
  }
317
317
  }
318
318
  }, null, 8, ["config"]))
319
- ], 4)) : v("", !0),
319
+ ], 512)) : c("", !0),
320
320
  e.value.userOptions.show && w.value ? (s(), P(lt, {
321
321
  ref: "details",
322
322
  key: `user_option_${ee.value}`,
@@ -324,7 +324,7 @@ const nt = ["id"], ct = ["xmlns", "viewBox"], vt = { key: 0 }, ht = { key: 0 },
324
324
  color: e.value.style.chart.color,
325
325
  isPrinting: h(ue),
326
326
  isImaging: h(ie),
327
- uid: X.value,
327
+ uid: B.value,
328
328
  hasTooltip: e.value.userOptions.buttons.tooltip && e.value.style.chart.tooltip.show,
329
329
  hasPdf: e.value.userOptions.buttons.pdf,
330
330
  hasXls: e.value.userOptions.buttons.csv,
@@ -336,10 +336,11 @@ const nt = ["id"], ct = ["xmlns", "viewBox"], vt = { key: 0 }, ht = { key: 0 },
336
336
  isFullscreen: O.value,
337
337
  titles: { ...e.value.userOptions.buttonTitles },
338
338
  chartElement: z.value,
339
+ position: e.value.userOptions.position,
339
340
  onToggleFullscreen: Se,
340
341
  onGeneratePdf: h(ne),
341
342
  onGenerateCsv: de,
342
- onGenerateImage: h(ce),
343
+ onGenerateImage: h(ve),
343
344
  onToggleTable: pe,
344
345
  onToggleLabels: ye,
345
346
  onToggleTooltip: fe
@@ -389,19 +390,19 @@ const nt = ["id"], ct = ["xmlns", "viewBox"], vt = { key: 0 }, ht = { key: 0 },
389
390
  t.$slots.optionFullscreen ? {
390
391
  name: "optionFullscreen",
391
392
  fn: b(({ toggleFullscreen: l, isFullscreen: r }) => [
392
- m(t.$slots, "optionFullscreen", R(U({ toggleFullscreen: l, isFullscreen: r })), void 0, !0)
393
+ m(t.$slots, "optionFullscreen", H(R({ toggleFullscreen: l, isFullscreen: r })), void 0, !0)
393
394
  ]),
394
395
  key: "6"
395
396
  } : void 0
396
- ]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasTooltip", "hasPdf", "hasXls", "hasImg", "hasTable", "hasLabel", "hasFullscreen", "isTooltip", "isFullscreen", "titles", "chartElement", "onGeneratePdf", "onGenerateImage"])) : v("", !0),
397
+ ]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasTooltip", "hasPdf", "hasXls", "hasImg", "hasTable", "hasLabel", "hasFullscreen", "isTooltip", "isFullscreen", "titles", "chartElement", "position", "onGeneratePdf", "onGenerateImage"])) : c("", !0),
397
398
  w.value ? (s(), i("svg", {
398
399
  key: 2,
399
400
  xmlns: h(Be),
400
401
  class: F({ "vue-data-ui-fullscreen--on": O.value, "vue-data-ui-fulscreen--off": !O.value }),
401
402
  viewBox: `0 0 ${S.value.width <= 0 ? 10 : S.value.width} ${S.value.height <= 0 ? 10 : S.value.height}`,
402
- style: H(`max-width:100%; overflow: visible; background:${e.value.style.chart.backgroundColor};color:${e.value.style.chart.color};`)
403
+ style: q(`max-width:100%; overflow: visible; background:transparent;color:${e.value.style.chart.color};`)
403
404
  }, [
404
- e.value.style.chart.grid.show ? (s(), i("g", vt, [
405
+ e.value.style.chart.grid.show ? (s(), i("g", ct, [
405
406
  e.value.style.chart.grid.horizontalGrid.show ? (s(), i("g", ht, [
406
407
  (s(!0), i(g, null, C(he.value, (l) => (s(), i("line", {
407
408
  x1: l.x1,
@@ -413,7 +414,7 @@ const nt = ["id"], ct = ["xmlns", "viewBox"], vt = { key: 0 }, ht = { key: 0 },
413
414
  "stroke-dasharray": e.value.style.chart.grid.horizontalGrid.strokeDasharray,
414
415
  "stroke-linecap": "round"
415
416
  }, null, 8, dt))), 256))
416
- ])) : v("", !0),
417
+ ])) : c("", !0),
417
418
  e.value.style.chart.grid.verticalGrid.show ? (s(), i("g", pt, [
418
419
  (s(!0), i(g, null, C(k.value, (l, r) => (s(), i("line", {
419
420
  x1: a.value.left + (r + 1) * a.value.stripWidth,
@@ -425,7 +426,7 @@ const nt = ["id"], ct = ["xmlns", "viewBox"], vt = { key: 0 }, ht = { key: 0 },
425
426
  "stroke-dasharray": e.value.style.chart.grid.verticalGrid.strokeDasharray,
426
427
  "stroke-linecap": "round"
427
428
  }, null, 8, yt))), 256))
428
- ])) : v("", !0),
429
+ ])) : c("", !0),
429
430
  x("line", {
430
431
  x1: a.value.left,
431
432
  x2: a.value.left,
@@ -444,7 +445,7 @@ const nt = ["id"], ct = ["xmlns", "viewBox"], vt = { key: 0 }, ht = { key: 0 },
444
445
  "stroke-width": e.value.style.chart.grid.strokeWidth,
445
446
  "stroke-linecap": "round"
446
447
  }, null, 8, bt)
447
- ])) : v("", !0),
448
+ ])) : c("", !0),
448
449
  e.value.style.chart.labels.yAxisLabels.show ? (s(!0), i(g, { key: 1 }, C(he.value, (l, r) => (s(), i("text", {
449
450
  x: l.x1 - e.value.style.chart.labels.yAxisLabels.fontSize / 2 + e.value.style.chart.labels.yAxisLabels.offsetX,
450
451
  y: l.y + e.value.style.chart.labels.yAxisLabels.fontSize / 3,
@@ -454,28 +455,28 @@ const nt = ["id"], ct = ["xmlns", "viewBox"], vt = { key: 0 }, ht = { key: 0 },
454
455
  }, T(h(Z)(
455
456
  e.value.style.chart.labels.formatter,
456
457
  l.value,
457
- h(B)({
458
+ h(U)({
458
459
  p: e.value.style.chart.labels.prefix,
459
460
  v: l.value,
460
461
  s: e.value.style.chart.labels.suffix,
461
462
  r: e.value.style.chart.labels.yAxisLabels.rounding
462
463
  }),
463
464
  { datapoint: l, seriesIndex: r }
464
- )), 9, mt))), 256)) : v("", !0),
465
+ )), 9, mt))), 256)) : c("", !0),
465
466
  e.value.style.chart.labels.xAxisLabels.show ? (s(!0), i(g, { key: 2 }, C(k.value, (l, r) => (s(), i("text", {
466
467
  x: a.value.left + (r + 1) * a.value.stripWidth - a.value.stripWidth / 2,
467
468
  y: a.value.bottom + e.value.style.chart.labels.xAxisLabels.fontSize * 2 + e.value.style.chart.labels.xAxisLabels.offsetY,
468
469
  "font-size": e.value.style.chart.labels.xAxisLabels.fontSize,
469
470
  fill: e.value.style.chart.labels.xAxisLabels.color,
470
471
  "text-anchor": "middle"
471
- }, T(l.name), 9, gt))), 256)) : v("", !0),
472
+ }, T(l.name), 9, gt))), 256)) : c("", !0),
472
473
  e.value.style.chart.labels.axis.yLabel ? (s(), i("text", {
473
474
  key: 3,
474
475
  fill: e.value.style.chart.labels.axis.color,
475
476
  "font-size": e.value.style.chart.labels.axis.fontSize,
476
477
  transform: `translate(${e.value.style.chart.labels.axis.fontSize + e.value.style.chart.labels.axis.yLabelOffsetX}, ${a.value.top + a.value.height / 2}) rotate(-90)`,
477
478
  "text-anchor": "middle"
478
- }, T(e.value.style.chart.labels.axis.yLabel), 9, xt)) : v("", !0),
479
+ }, T(e.value.style.chart.labels.axis.yLabel), 9, xt)) : c("", !0),
479
480
  e.value.style.chart.labels.axis.xLabel ? (s(), i("text", {
480
481
  key: 4,
481
482
  fill: e.value.style.chart.labels.axis.color,
@@ -483,32 +484,32 @@ const nt = ["id"], ct = ["xmlns", "viewBox"], vt = { key: 0 }, ht = { key: 0 },
483
484
  x: a.value.left + a.value.width / 2,
484
485
  y: a.value.absoluteHeight,
485
486
  "text-anchor": "middle"
486
- }, T(e.value.style.chart.labels.axis.xLabel), 9, kt)) : v("", !0),
487
- c.value ? (s(), i(g, { key: 5 }, [
487
+ }, T(e.value.style.chart.labels.axis.xLabel), 9, kt)) : c("", !0),
488
+ v.value ? (s(), i(g, { key: 5 }, [
488
489
  x("line", {
489
490
  x1: a.value.left,
490
491
  x2: a.value.right,
491
- y1: c.value.y,
492
- y2: c.value.y,
493
- stroke: c.value.color,
492
+ y1: v.value.y,
493
+ y2: v.value.y,
494
+ stroke: v.value.color,
494
495
  "stroke-width": 1,
495
496
  class: F({ "select-circle": e.value.useCssAnimation })
496
497
  }, null, 10, Ct),
497
498
  x("circle", {
498
499
  cx: a.value.left,
499
- cy: c.value.y,
500
+ cy: v.value.y,
500
501
  r: 3,
501
- fill: c.value.color,
502
+ fill: v.value.color,
502
503
  class: F({ "select-circle": e.value.useCssAnimation })
503
504
  }, null, 10, wt),
504
505
  x("circle", {
505
506
  cx: a.value.right,
506
- cy: c.value.y,
507
+ cy: v.value.y,
507
508
  r: 3,
508
- fill: c.value.color,
509
+ fill: v.value.color,
509
510
  class: F({ "select-circle": e.value.useCssAnimation })
510
511
  }, null, 10, _t)
511
- ], 64)) : v("", !0),
512
+ ], 64)) : c("", !0),
512
513
  x("defs", null, [
513
514
  (s(!0), i(g, null, C(k.value, (l) => (s(), i("radialGradient", {
514
515
  id: l.id,
@@ -531,49 +532,49 @@ const nt = ["id"], ct = ["xmlns", "viewBox"], vt = { key: 0 }, ht = { key: 0 },
531
532
  (s(!0), i(g, null, C(Te.value, (l, r) => (s(), i(g, null, [
532
533
  (s(!0), i(g, null, C(l.plots, (u, $) => (s(), P(rt, Fe({
533
534
  plot: { x: u.x, y: le.value ? u.y : a.value.top },
534
- radius: c.value && c.value.id === u.id ? M.value * 1.5 : M.value,
535
+ radius: v.value && v.value.id === u.id ? M.value * 1.5 : M.value,
535
536
  shape: e.value.style.chart.plots.shape,
536
537
  stroke: e.value.style.chart.plots.stroke,
537
538
  strokeWidth: e.value.style.chart.plots.strokeWidth,
538
539
  color: e.value.style.chart.plots.gradient.show ? `url(#${l.id})` : l.color,
539
540
  onMouseenter: (V) => Le({ datapoint: u, seriesIndex: $ }),
540
541
  onMouseleave: o[0] || (o[0] = (V) => {
541
- j.value = !1, c.value = null;
542
+ X.value = !1, v.value = null;
542
543
  }),
543
544
  onClick: (V) => we("selectDatapoint", u),
544
- style: `transition: all 0.2s ease-in-out; opacity:${c.value ? c.value.id === u.id ? 1 : 0.2 : e.value.style.chart.plots.opacity};${N.value ? `transition-delay:${$ * 50}ms` : ""}`,
545
+ style: `transition: all 0.2s ease-in-out; opacity:${v.value ? v.value.id === u.id ? 1 : 0.2 : e.value.style.chart.plots.opacity};${N.value ? `transition-delay:${$ * 50}ms` : ""}`,
545
546
  class: { "vue-ui-strip-plot-animated": e.value.useCssAnimation && N.value, "vue-ui-strip-plot-select-circle": e.value.useCssAnimation && !N.value }
546
547
  }, t.$attrs), null, 16, ["plot", "radius", "shape", "stroke", "strokeWidth", "color", "onMouseenter", "onClick", "style", "class"]))), 256)),
547
548
  d.value.dataLabels.show ? (s(), i("g", Pt, [
548
549
  (s(!0), i(g, null, C(l.plots, (u, $) => (s(), i(g, null, [
549
- $ === l.plots.length - 1 || c.value && c.value.id === u.id && !d.value.showTooltip ? (s(), i("text", {
550
+ $ === l.plots.length - 1 || v.value && v.value.id === u.id && !d.value.showTooltip ? (s(), i("text", {
550
551
  key: 0,
551
552
  x: u.x,
552
- y: u.y + e.value.style.chart.labels.bestPlotLabel.offsetY - M.value * (c.value && c.value.id === u.id && !d.value.showTooltip ? 2 : 1.5),
553
+ y: u.y + e.value.style.chart.labels.bestPlotLabel.offsetY - M.value * (v.value && v.value.id === u.id && !d.value.showTooltip ? 2 : 1.5),
553
554
  "font-size": e.value.style.chart.labels.bestPlotLabel.fontSize,
554
555
  fill: e.value.style.chart.labels.bestPlotLabel.color,
555
556
  "text-anchor": "middle",
556
- style: H(`opacity:${e.value.useCssAnimation && N.value ? 0 : 1};transition:opacity 0.2s ease-in;`)
557
+ style: q(`opacity:${e.value.useCssAnimation && N.value ? 0 : 1};transition:opacity 0.2s ease-in;`)
557
558
  }, T(u.name) + " " + T(e.value.style.chart.labels.bestPlotLabel.showValue ? h(Z)(
558
559
  e.value.style.chart.labels.formatter,
559
560
  u.value,
560
- h(B)({
561
+ h(U)({
561
562
  p: `(${e.value.style.chart.labels.prefix}`,
562
563
  v: u.value,
563
564
  s: `${e.value.style.chart.labels.suffix})`,
564
565
  r: e.value.style.chart.labels.bestPlotLabel.rounding
565
566
  }),
566
567
  { datapoint: u, seriesIndex: $ }
567
- ) : ""), 13, zt)) : v("", !0)
568
+ ) : ""), 13, zt)) : c("", !0)
568
569
  ], 64))), 256))
569
- ])) : v("", !0)
570
+ ])) : c("", !0)
570
571
  ], 64))), 256)),
571
572
  m(t.$slots, "svg", { svg: a.value }, void 0, !0)
572
- ], 14, ct)) : v("", !0),
573
+ ], 14, vt)) : c("", !0),
573
574
  t.$slots.watermark ? (s(), i("div", Nt, [
574
- m(t.$slots, "watermark", R(U({ isPrinting: h(ue) || h(ie) })), void 0, !0)
575
- ])) : v("", !0),
576
- w.value ? v("", !0) : (s(), P(st, {
575
+ m(t.$slots, "watermark", H(R({ isPrinting: h(ue) || h(ie) })), void 0, !0)
576
+ ])) : c("", !0),
577
+ w.value ? c("", !0) : (s(), P(st, {
577
578
  key: 4,
578
579
  config: {
579
580
  type: "stripPlot",
@@ -586,7 +587,7 @@ const nt = ["id"], ct = ["xmlns", "viewBox"], vt = { key: 0 }, ht = { key: 0 },
586
587
  }
587
588
  }, null, 8, ["config"])),
588
589
  We(at, {
589
- show: d.value.showTooltip && j.value,
590
+ show: d.value.showTooltip && X.value,
590
591
  backgroundColor: e.value.style.chart.tooltip.backgroundColor,
591
592
  color: e.value.style.chart.tooltip.color,
592
593
  borderRadius: e.value.style.chart.tooltip.borderRadius,
@@ -597,14 +598,14 @@ const nt = ["id"], ct = ["xmlns", "viewBox"], vt = { key: 0 }, ht = { key: 0 },
597
598
  position: e.value.style.chart.tooltip.position,
598
599
  offsetY: e.value.style.chart.tooltip.offsetY,
599
600
  parent: z.value,
600
- content: Y.value,
601
+ content: j.value,
601
602
  isCustom: h(ge)(e.value.style.chart.tooltip.customFormat)
602
603
  }, {
603
604
  "tooltip-before": b(() => [
604
- m(t.$slots, "tooltip-before", R(U({ ...q.value })), void 0, !0)
605
+ m(t.$slots, "tooltip-before", H(R({ ...J.value })), void 0, !0)
605
606
  ]),
606
607
  "tooltip-after": b(() => [
607
- m(t.$slots, "tooltip-after", R(U({ ...q.value })), void 0, !0)
608
+ m(t.$slots, "tooltip-after", H(R({ ...J.value })), void 0, !0)
608
609
  ]),
609
610
  _: 3
610
611
  }, 8, ["show", "backgroundColor", "color", "borderRadius", "borderColor", "borderWidth", "fontSize", "backgroundOpacity", "position", "offsetY", "parent", "content", "isCustom"]),
@@ -647,10 +648,10 @@ const nt = ["id"], ct = ["xmlns", "viewBox"], vt = { key: 0 }, ht = { key: 0 },
647
648
  }, 8, ["colNames", "head", "body", "config", "title"]))
648
649
  ]),
649
650
  _: 1
650
- }, 8, ["config"])) : v("", !0)
651
+ }, 8, ["config"])) : c("", !0)
651
652
  ], 14, nt));
652
653
  }
653
- }, Xt = /* @__PURE__ */ it(Ot, [["__scopeId", "data-v-0d98d4cb"]]);
654
+ }, Xt = /* @__PURE__ */ it(Ot, [["__scopeId", "data-v-773b4af1"]]);
654
655
  export {
655
656
  Xt as default
656
657
  };
@@ -1,4 +1,4 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const g=require("./index-Cx-40Fnz.cjs"),e=require("vue"),b=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),C={name:"vue-ui-table",props:{config:{type:Object,default(){return{}}},dataset:{type:Object,default(){return{}}}},data(){return{uid:`vue-ui-table-${Math.random()}`,bodyCopy:JSON.parse(JSON.stringify(this.dataset.body)).map((l,o)=>({...l,absoluteIndex:o})),buttonTimeout:null,canMoveChart:!1,chart:{height:316,type:"bar",width:512},constants:{ASC:1,BAR:"bar",DATE:"date",DESC:-1,DONUT:"donut",LINE:"line",NUMERIC:"numeric",PERCENTAGE:"percentage",TEXT:"text"},clientX:100,clientY:100,cssClass:{CELL:"smart-td-selected",FIRST_TD:"smart-td-selected-first",LAST_TD:"smart-td-selected-last",ROW:"smart-td-selected-neighbor"},currentDonut:void 0,currentFilter:void 0,currentSearch:void 0,currentSelectionSpan:{col:void 0,rows:[]},currentPage:0,dates:{},filteredDatesIndexes:{},hasNaN:{},iconColor:"#2D353C",iconSize:20,immutableRangeFilters:{},isExportRequest:!1,isLoading:!1,itemsPerPage:this.config.rowsPerPage?this.config.rowsPerPage:25,multiselects:{},paginatorOptions:[...new Set([10,25,50,100,250,500,this.config.rowsPerPage?this.config.rowsPerPage:25,this.dataset.body.length])].sort((l,o)=>l-o),palette:g.palette,percentages:{},rafId:null,rangeFilters:{},searches:{},selectedColumn:void 0,selectedDonutCategory:void 0,selectedPlot:void 0,showChart:!1,showDonutOptions:!1,sorts:{},tableBody:JSON.parse(JSON.stringify(this.dataset.body)).map((l,o)=>({...l,absoluteIndex:o})),tableHead:JSON.parse(JSON.stringify(this.dataset.header)).map(l=>({average:Object.hasOwn(l,"average")?l.average:!1,decimals:Object.hasOwn(l,"decimals")?l.decimals:0,isMultiselect:Object.hasOwn(l,"isMultiselect")?l.isMultiselect:!1,isPercentage:Object.hasOwn(l,"isPercentage")?l.isPercentage:!1,isSearch:Object.hasOwn(l,"isSearch")?l.isSearch:!1,isSort:Object.hasOwn(l,"isSort")?l.isSort:!1,name:l.name,percentageTo:Object.hasOwn(l,"percentageTo")?l.percentageTo:void 0,prefix:Object.hasOwn(l,"prefix")?l.prefix:"",rangeFilter:Object.hasOwn(l,"rangeFilter")?l.rangeFilter:!1,suffix:Object.hasOwn(l,"suffix")?l.suffix:"",sum:Object.hasOwn(l,"sum")?l.sum:!1,type:l.type}))}},mounted(){if(this.dataset.header.length===0)throw new Error(`vue-ui-table error: missing header data.
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const g=require("./index-CVgBMJU6.cjs"),e=require("vue"),b=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),C={name:"vue-ui-table",props:{config:{type:Object,default(){return{}}},dataset:{type:Object,default(){return{}}}},data(){return{uid:`vue-ui-table-${Math.random()}`,bodyCopy:JSON.parse(JSON.stringify(this.dataset.body)).map((l,o)=>({...l,absoluteIndex:o})),buttonTimeout:null,canMoveChart:!1,chart:{height:316,type:"bar",width:512},constants:{ASC:1,BAR:"bar",DATE:"date",DESC:-1,DONUT:"donut",LINE:"line",NUMERIC:"numeric",PERCENTAGE:"percentage",TEXT:"text"},clientX:100,clientY:100,cssClass:{CELL:"smart-td-selected",FIRST_TD:"smart-td-selected-first",LAST_TD:"smart-td-selected-last",ROW:"smart-td-selected-neighbor"},currentDonut:void 0,currentFilter:void 0,currentSearch:void 0,currentSelectionSpan:{col:void 0,rows:[]},currentPage:0,dates:{},filteredDatesIndexes:{},hasNaN:{},iconColor:"#2D353C",iconSize:20,immutableRangeFilters:{},isExportRequest:!1,isLoading:!1,itemsPerPage:this.config.rowsPerPage?this.config.rowsPerPage:25,multiselects:{},paginatorOptions:[...new Set([10,25,50,100,250,500,this.config.rowsPerPage?this.config.rowsPerPage:25,this.dataset.body.length])].sort((l,o)=>l-o),palette:g.palette,percentages:{},rafId:null,rangeFilters:{},searches:{},selectedColumn:void 0,selectedDonutCategory:void 0,selectedPlot:void 0,showChart:!1,showDonutOptions:!1,sorts:{},tableBody:JSON.parse(JSON.stringify(this.dataset.body)).map((l,o)=>({...l,absoluteIndex:o})),tableHead:JSON.parse(JSON.stringify(this.dataset.header)).map(l=>({average:Object.hasOwn(l,"average")?l.average:!1,decimals:Object.hasOwn(l,"decimals")?l.decimals:0,isMultiselect:Object.hasOwn(l,"isMultiselect")?l.isMultiselect:!1,isPercentage:Object.hasOwn(l,"isPercentage")?l.isPercentage:!1,isSearch:Object.hasOwn(l,"isSearch")?l.isSearch:!1,isSort:Object.hasOwn(l,"isSort")?l.isSort:!1,name:l.name,percentageTo:Object.hasOwn(l,"percentageTo")?l.percentageTo:void 0,prefix:Object.hasOwn(l,"prefix")?l.prefix:"",rangeFilter:Object.hasOwn(l,"rangeFilter")?l.rangeFilter:!1,suffix:Object.hasOwn(l,"suffix")?l.suffix:"",sum:Object.hasOwn(l,"sum")?l.sum:!1,type:l.type}))}},mounted(){if(this.dataset.header.length===0)throw new Error(`vue-ui-table error: missing header data.
2
2
  Provide an array of objects of type:
3
3
  {
4
4
  name: string;
@@ -1,4 +1,4 @@
1
- import { p as D, u as x, A as G, m as M, d as T, B as E, q as z, r as B, W as H } from "./index-DI4DaxVG.js";
1
+ import { p as D, u as x, A as G, m as M, d as T, B as E, q as z, r as B, W as H } from "./index-D2epy0rJ.js";
2
2
  import { openBlock as i, createElementBlock as c, normalizeStyle as g, createElementVNode as a, toDisplayString as u, Fragment as b, renderList as _, normalizeClass as f, createTextVNode as I, createCommentVNode as N, withDirectives as k, vModelText as w, withKeys as S, withModifiers as O, vModelSelect as P, createStaticVNode as R, pushScopeId as U, popScopeId as V } from "vue";
3
3
  import { _ as j } from "./_plugin-vue_export-helper-CHgC5LLL.js";
4
4
  const X = {
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),r=require("./index-CVgBMJU6.cjs"),P=require("./useNestedProp-B-NmF2LO.cjs"),B=require("./usePrinter-DN-6Hoh5.cjs"),O=require("./Shape-D6jrLLku.cjs"),T=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),M=["id"],G={role:"cell"},q={role:"row"},U=["data-cell"],L={key:0,style:{display:"flex","flex-direction":"row",gap:"2px","align-items":"center"}},A=["height","width"],D={key:0,role:"cell","data-cell":"sum"},H={key:1,role:"cell","data-cell":"average"},X={key:2,role:"cell","data-cell":"median"},W={__name:"vue-ui-table-heatmap",props:{config:{type:Object,default(){return{}}},dataset:{type:Array,default(){return[]}}},setup(I,{expose:$}){const d=I;e.useCssVars(t=>({"67436fce":z.value,"0c1550ae":F.value}));const{vue_ui_table_heatmap:w}=r.useConfig(),p=e.ref(r.createUid()),s=e.ref(!1),c=e.ref(null),m=e.ref(!1),v=e.ref(0),o=e.computed({get:()=>f(),set:t=>t});function f(){const t=P.useNestedProp({userConfig:d.config,defaultConfig:w});return t.theme?{...P.useNestedProp({userConfig:r.themes.vue_ui_table_heatmap[t.theme]||d.config,defaultConfig:t})}:t}e.watch(()=>d.config,t=>{o.value=f(),y()},{deep:!0});const{isPrinting:N,isImaging:x,generatePdf:g,generateImage:h}=B.usePrinter({elementId:`table_heatmap_${p.value}`,fileName:"vue-ui-table-heatmap"}),E=e.computed(()=>o.value.table.responsiveBreakpoint),S=e.computed(()=>!!d.dataset&&d.dataset.length);e.onMounted(()=>{y()});function y(){r.objectIsEmpty(d.dataset)&&r.error({componentName:"VueUiTableHeatmap",type:"dataset"});const t=new ResizeObserver(l=>{l.forEach(n=>{s.value=n.contentRect.width<E.value})});c.value&&t.observe(c.value)}const k=e.computed(()=>d.dataset.map(t=>{const l=t.values.map(a=>isNaN(a)?0:a),n=l.reduce((a,i)=>a+i,0);return{...t,values:l,serieExtremes:{max:Math.max(...l),min:Math.min(...l)},sum:n,average:n/l.length,median:r.calcMedian(l),displayValues:[t.name,...t.values],id:r.createUid()}})),b=e.computed(()=>{const t=k.value.flatMap(l=>l.values);return{min:Math.min(...t),max:Math.max(...t)}});function V(t,l){const n=o.value.style.heatmapColors.useIndividualScale;return r.interpolateColorHex(o.value.style.heatmapColors.min,o.value.style.heatmapColors.max,n?l.min:b.value.min,n?l.max:b.value.max,t)}const C=e.computed(()=>k.value.map(t=>({...t,colors:t.displayValues.map(l=>isNaN(l)?o.value.style.backgroundColor:V(l,t.serieExtremes))}))),F=e.computed(()=>o.value.style.backgroundColor),z=e.computed(()=>`${o.value.table.borderWidth}px`);function _(){e.nextTick(()=>{const t=C.value.map(a=>[[a.name],a.displayValues,[a.sum],[a.average],[a.median]]),l=[[[""],o.value.table.head.values,["sum"],["average"],["median"]]].concat(t),n=r.createCsvContent(l);r.downloadCsv({csvContent:n,title:"vue-ui-table-heatmap"})})}function R(t){m.value=t,v.value+=1}return $({generatePdf:g,generateCsv:_,generateImage:h}),(t,l)=>(e.openBlock(),e.createElementBlock("div",{ref_key:"tableContainer",ref:c,style:e.normalizeStyle(`width:100%; overflow-x:auto; container-type: inline-size;padding-top:${o.value.userOptions.show?"36px":""}; ${m.value?"vue-data-ui-wrapper-fullscreen":""}; position:relative;`),class:e.normalizeClass({"vue-ui-responsive":s.value}),id:`table_heatmap_${p.value}`},[o.value.userOptions.show&&S.value?(e.openBlock(),e.createBlock(B.UserOptions,{ref:"details",key:`user_option_${v.value}`,backgroundColor:o.value.style.backgroundColor,color:o.value.style.color,isPrinting:e.unref(N),isImaging:e.unref(x),uid:p.value,hasPdf:o.value.userOptions.buttons.pdf,hasXls:o.value.userOptions.buttons.csv,hasImg:o.value.userOptions.buttons.img,hasFullscreen:o.value.userOptions.buttons.fullscreen,isFullscreen:m.value,titles:{...o.value.userOptions.buttonTitles},chartElement:c.value,position:o.value.userOptions.position,onToggleFullscreen:R,onGeneratePdf:e.unref(g),onGenerateCsv:_,onGenerateImage:e.unref(h)},e.createSlots({_:2},[t.$slots.optionPdf?{name:"optionPdf",fn:e.withCtx(()=>[e.renderSlot(t.$slots,"optionPdf",{},void 0,!0)]),key:"0"}:void 0,t.$slots.optionCsv?{name:"optionCsv",fn:e.withCtx(()=>[e.renderSlot(t.$slots,"optionCsv",{},void 0,!0)]),key:"1"}:void 0,t.$slots.optionImg?{name:"optionImg",fn:e.withCtx(()=>[e.renderSlot(t.$slots,"optionImg",{},void 0,!0)]),key:"2"}:void 0,t.$slots.optionFullscreen?{name:"optionFullscreen",fn:e.withCtx(({toggleFullscreen:n,isFullscreen:a})=>[e.renderSlot(t.$slots,"optionFullscreen",e.normalizeProps(e.guardReactiveProps({toggleFullscreen:n,isFullscreen:a})),void 0,!0)]),key:"3"}:void 0]),1032,["backgroundColor","color","isPrinting","isImaging","uid","hasPdf","hasXls","hasImg","hasFullscreen","isFullscreen","titles","chartElement","position","onGeneratePdf","onGenerateImage"])):e.createCommentVNode("",!0),e.createElementVNode("table",{class:e.normalizeClass({"vue-ui-table-heatmap":!0}),style:e.normalizeStyle(`width:100%;font-family:${o.value.style.fontFamily};background:${o.value.style.backgroundColor};`)},[e.createElementVNode("caption",null,[e.renderSlot(t.$slots,"caption",{},void 0,!0)]),e.createElementVNode("thead",null,[e.createElementVNode("tr",{role:"row",style:e.normalizeStyle(`background:${o.value.table.head.backgroundColor};color:${o.value.table.head.color}`)},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.value.table.head.values,(n,a)=>(e.openBlock(),e.createElementBlock("th",G,[e.renderSlot(t.$slots,"head",e.normalizeProps(e.guardReactiveProps({value:n,rowIndex:a,type:typeof n,isResponsive:s.value})),void 0,!0)]))),256))],4)]),e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(C.value,(n,a)=>(e.openBlock(),e.createElementBlock("tr",q,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(n.displayValues,(i,u)=>(e.openBlock(),e.createElementBlock("td",{role:"cell","data-cell":o.value.table.head.values[u]},[n.color&&u===0?(e.openBlock(),e.createElementBlock("div",L,[n.color?(e.openBlock(),e.createElementBlock("svg",{key:0,height:o.value.style.shapeSize,width:o.value.style.shapeSize,viewBox:"0 0 20 20",style:{background:"none",overflow:"visible"}},[e.createVNode(O._sfc_main,{plot:{x:10,y:10},color:n.color,radius:9,shape:n.shape||"circle"},null,8,["color","shape"])],8,A)):e.createCommentVNode("",!0),e.renderSlot(t.$slots,"rowTitle",e.normalizeProps(e.guardReactiveProps({value:i,rowIndex:a,colIndex:u,type:typeof i,isResponsive:s.value})),void 0,!0)])):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[u===0?e.renderSlot(t.$slots,"rowTitle",e.normalizeProps(e.mergeProps({key:0},{value:i,rowIndex:a,colIndex:u,type:typeof i,isResponsive:s.value})),void 0,!0):e.createCommentVNode("",!0),u>0?e.renderSlot(t.$slots,"cell",e.normalizeProps(e.mergeProps({key:1},{value:i,rowIndex:a,colIndex:u,type:typeof i,isResponsive:s.value,color:n.colors[u],textColor:e.unref(r.adaptColorToBackground)(n.colors[u])})),void 0,!0):e.createCommentVNode("",!0)],64))],8,U))),256)),o.value.table.showSum?(e.openBlock(),e.createElementBlock("td",D,[e.renderSlot(t.$slots,"sum",e.normalizeProps(e.guardReactiveProps({value:n.sum,rowIndex:a,isResponsive:s.value})),void 0,!0)])):e.createCommentVNode("",!0),o.value.table.showAverage?(e.openBlock(),e.createElementBlock("td",H,[e.renderSlot(t.$slots,"average",e.normalizeProps(e.guardReactiveProps({value:n.average,rowIndex:a,isResponsive:s.value})),void 0,!0)])):e.createCommentVNode("",!0),o.value.table.showMedian?(e.openBlock(),e.createElementBlock("td",X,[e.renderSlot(t.$slots,"median",e.normalizeProps(e.guardReactiveProps({value:n.median,rowIndex:a,isResponsive:s.value})),void 0,!0)])):e.createCommentVNode("",!0)]))),256))])],4)],14,M))}},J=T._export_sfc(W,[["__scopeId","data-v-2bd72dde"]]);exports.default=J;
@@ -1,8 +1,8 @@
1
- import { useCssVars as Q, ref as h, computed as c, watch as Y, onMounted as Z, openBlock as s, createElementBlock as l, normalizeStyle as $, normalizeClass as z, createBlock as j, unref as g, createSlots as ee, withCtx as C, renderSlot as r, normalizeProps as v, guardReactiveProps as f, createCommentVNode as m, createElementVNode as y, Fragment as _, renderList as w, createVNode as te, mergeProps as E, nextTick as ae } from "vue";
2
- import { u as oe, c as G, t as ne, o as se, e as le, V as re, F as ue, M as ie, q as de, r as ce } from "./index-DI4DaxVG.js";
3
- import { u as S } from "./useNestedProp-COsQo-tX.js";
4
- import { u as ve, U as pe } from "./usePrinter-D9bNzUQP.js";
5
- import { _ as me } from "./Shape-CyM44biU.js";
1
+ import { useCssVars as Q, ref as h, computed as c, watch as Y, onMounted as Z, openBlock as s, createElementBlock as l, normalizeStyle as $, normalizeClass as z, createBlock as j, unref as g, createSlots as ee, withCtx as C, renderSlot as r, normalizeProps as p, guardReactiveProps as f, createCommentVNode as m, createElementVNode as y, Fragment as _, renderList as w, createVNode as te, mergeProps as E, nextTick as ae } from "vue";
2
+ import { u as oe, c as G, t as ne, o as se, e as le, V as re, F as ue, M as ie, q as de, r as ce } from "./index-D2epy0rJ.js";
3
+ import { u as S } from "./useNestedProp-C_ZrJBd9.js";
4
+ import { u as pe, U as ve } from "./usePrinter-B6qtXaHk.js";
5
+ import { _ as me } from "./Shape-XiTBfhJM.js";
6
6
  import { _ as fe } from "./_plugin-vue_export-helper-CHgC5LLL.js";
7
7
  const he = ["id"], ge = { role: "cell" }, ye = { role: "row" }, be = ["data-cell"], Ce = {
8
8
  key: 0,
@@ -36,10 +36,10 @@ const he = ["id"], ge = { role: "cell" }, ye = { role: "row" }, be = ["data-cell
36
36
  }
37
37
  },
38
38
  setup(B, { expose: U }) {
39
- const p = B;
39
+ const v = B;
40
40
  Q((e) => ({
41
- "14b82aea": J.value,
42
- "1a1f24c5": q.value
41
+ "67436fce": J.value,
42
+ "0c1550ae": q.value
43
43
  }));
44
44
  const { vue_ui_table_heatmap: A } = oe(), k = h(G()), u = h(!1), b = h(null), I = h(!1), x = h(0), t = c({
45
45
  get: () => F(),
@@ -47,28 +47,28 @@ const he = ["id"], ge = { role: "cell" }, ye = { role: "row" }, be = ["data-cell
47
47
  });
48
48
  function F() {
49
49
  const e = S({
50
- userConfig: p.config,
50
+ userConfig: v.config,
51
51
  defaultConfig: A
52
52
  });
53
53
  return e.theme ? {
54
54
  ...S({
55
- userConfig: ne.vue_ui_table_heatmap[e.theme] || p.config,
55
+ userConfig: ne.vue_ui_table_heatmap[e.theme] || v.config,
56
56
  defaultConfig: e
57
57
  })
58
58
  } : e;
59
59
  }
60
- Y(() => p.config, (e) => {
60
+ Y(() => v.config, (e) => {
61
61
  t.value = F(), O();
62
62
  }, { deep: !0 });
63
- const { isPrinting: D, isImaging: H, generatePdf: P, generateImage: N } = ve({
63
+ const { isPrinting: D, isImaging: H, generatePdf: P, generateImage: N } = pe({
64
64
  elementId: `table_heatmap_${k.value}`,
65
65
  fileName: "vue-ui-table-heatmap"
66
- }), L = c(() => t.value.table.responsiveBreakpoint), X = c(() => !!p.dataset && p.dataset.length);
66
+ }), L = c(() => t.value.table.responsiveBreakpoint), X = c(() => !!v.dataset && v.dataset.length);
67
67
  Z(() => {
68
68
  O();
69
69
  });
70
70
  function O() {
71
- se(p.dataset) && le({
71
+ se(v.dataset) && le({
72
72
  componentName: "VueUiTableHeatmap",
73
73
  type: "dataset"
74
74
  });
@@ -79,7 +79,7 @@ const he = ["id"], ge = { role: "cell" }, ye = { role: "row" }, be = ["data-cell
79
79
  });
80
80
  b.value && e.observe(b.value);
81
81
  }
82
- const R = c(() => p.dataset.map((e) => {
82
+ const R = c(() => v.dataset.map((e) => {
83
83
  const n = e.values.map((o) => isNaN(o) ? 0 : o), a = n.reduce((o, d) => o + d, 0);
84
84
  return {
85
85
  ...e,
@@ -135,7 +135,7 @@ const he = ["id"], ge = { role: "cell" }, ye = { role: "row" }, be = ["data-cell
135
135
  class: z({ "vue-ui-responsive": u.value }),
136
136
  id: `table_heatmap_${k.value}`
137
137
  }, [
138
- t.value.userOptions.show && X.value ? (s(), j(pe, {
138
+ t.value.userOptions.show && X.value ? (s(), j(ve, {
139
139
  ref: "details",
140
140
  key: `user_option_${x.value}`,
141
141
  backgroundColor: t.value.style.backgroundColor,
@@ -150,6 +150,7 @@ const he = ["id"], ge = { role: "cell" }, ye = { role: "row" }, be = ["data-cell
150
150
  isFullscreen: I.value,
151
151
  titles: { ...t.value.userOptions.buttonTitles },
152
152
  chartElement: b.value,
153
+ position: t.value.userOptions.position,
153
154
  onToggleFullscreen: K,
154
155
  onGeneratePdf: g(P),
155
156
  onGenerateCsv: T,
@@ -179,11 +180,11 @@ const he = ["id"], ge = { role: "cell" }, ye = { role: "row" }, be = ["data-cell
179
180
  e.$slots.optionFullscreen ? {
180
181
  name: "optionFullscreen",
181
182
  fn: C(({ toggleFullscreen: a, isFullscreen: o }) => [
182
- r(e.$slots, "optionFullscreen", v(f({ toggleFullscreen: a, isFullscreen: o })), void 0, !0)
183
+ r(e.$slots, "optionFullscreen", p(f({ toggleFullscreen: a, isFullscreen: o })), void 0, !0)
183
184
  ]),
184
185
  key: "3"
185
186
  } : void 0
186
- ]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasPdf", "hasXls", "hasImg", "hasFullscreen", "isFullscreen", "titles", "chartElement", "onGeneratePdf", "onGenerateImage"])) : m("", !0),
187
+ ]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasPdf", "hasXls", "hasImg", "hasFullscreen", "isFullscreen", "titles", "chartElement", "position", "onGeneratePdf", "onGenerateImage"])) : m("", !0),
187
188
  y("table", {
188
189
  class: z({ "vue-ui-table-heatmap": !0 }),
189
190
  style: $(`width:100%;font-family:${t.value.style.fontFamily};background:${t.value.style.backgroundColor};`)
@@ -197,7 +198,7 @@ const he = ["id"], ge = { role: "cell" }, ye = { role: "row" }, be = ["data-cell
197
198
  style: $(`background:${t.value.table.head.backgroundColor};color:${t.value.table.head.color}`)
198
199
  }, [
199
200
  (s(!0), l(_, null, w(t.value.table.head.values, (a, o) => (s(), l("th", ge, [
200
- r(e.$slots, "head", v(f({ value: a, rowIndex: o, type: typeof a, isResponsive: u.value })), void 0, !0)
201
+ r(e.$slots, "head", p(f({ value: a, rowIndex: o, type: typeof a, isResponsive: u.value })), void 0, !0)
201
202
  ]))), 256))
202
203
  ], 4)
203
204
  ]),
@@ -222,27 +223,27 @@ const he = ["id"], ge = { role: "cell" }, ye = { role: "row" }, be = ["data-cell
222
223
  shape: a.shape || "circle"
223
224
  }, null, 8, ["color", "shape"])
224
225
  ], 8, _e)) : m("", !0),
225
- r(e.$slots, "rowTitle", v(f({ value: d, rowIndex: o, colIndex: i, type: typeof d, isResponsive: u.value })), void 0, !0)
226
+ r(e.$slots, "rowTitle", p(f({ value: d, rowIndex: o, colIndex: i, type: typeof d, isResponsive: u.value })), void 0, !0)
226
227
  ])) : (s(), l(_, { key: 1 }, [
227
- i === 0 ? r(e.$slots, "rowTitle", v(E({ key: 0 }, { value: d, rowIndex: o, colIndex: i, type: typeof d, isResponsive: u.value })), void 0, !0) : m("", !0),
228
- i > 0 ? r(e.$slots, "cell", v(E({ key: 1 }, { value: d, rowIndex: o, colIndex: i, type: typeof d, isResponsive: u.value, color: a.colors[i], textColor: g(ue)(a.colors[i]) })), void 0, !0) : m("", !0)
228
+ i === 0 ? r(e.$slots, "rowTitle", p(E({ key: 0 }, { value: d, rowIndex: o, colIndex: i, type: typeof d, isResponsive: u.value })), void 0, !0) : m("", !0),
229
+ i > 0 ? r(e.$slots, "cell", p(E({ key: 1 }, { value: d, rowIndex: o, colIndex: i, type: typeof d, isResponsive: u.value, color: a.colors[i], textColor: g(ue)(a.colors[i]) })), void 0, !0) : m("", !0)
229
230
  ], 64))
230
231
  ], 8, be))), 256)),
231
232
  t.value.table.showSum ? (s(), l("td", ke, [
232
- r(e.$slots, "sum", v(f({ value: a.sum, rowIndex: o, isResponsive: u.value })), void 0, !0)
233
+ r(e.$slots, "sum", p(f({ value: a.sum, rowIndex: o, isResponsive: u.value })), void 0, !0)
233
234
  ])) : m("", !0),
234
235
  t.value.table.showAverage ? (s(), l("td", Ie, [
235
- r(e.$slots, "average", v(f({ value: a.average, rowIndex: o, isResponsive: u.value })), void 0, !0)
236
+ r(e.$slots, "average", p(f({ value: a.average, rowIndex: o, isResponsive: u.value })), void 0, !0)
236
237
  ])) : m("", !0),
237
238
  t.value.table.showMedian ? (s(), l("td", $e, [
238
- r(e.$slots, "median", v(f({ value: a.median, rowIndex: o, isResponsive: u.value })), void 0, !0)
239
+ r(e.$slots, "median", p(f({ value: a.median, rowIndex: o, isResponsive: u.value })), void 0, !0)
239
240
  ])) : m("", !0)
240
241
  ]))), 256))
241
242
  ])
242
243
  ], 4)
243
244
  ], 14, he));
244
245
  }
245
- }, Ve = /* @__PURE__ */ fe(we, [["__scopeId", "data-v-2371a39f"]]);
246
+ }, Ve = /* @__PURE__ */ fe(we, [["__scopeId", "data-v-2bd72dde"]]);
246
247
  export {
247
248
  Ve as default
248
249
  };