vue-data-ui 2.3.90 → 2.3.92

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 (188) hide show
  1. package/README.md +3 -2
  2. package/dist/{Arrow-C_Fnn6al.js → Arrow-16rQhq4i.js} +1 -1
  3. package/dist/{Arrow-D1pymKl6.cjs → Arrow-CdJD01md.cjs} +1 -1
  4. package/dist/{BaseIcon-BMfi5PnL.js → BaseIcon-CAmYNoaf.js} +1 -1
  5. package/dist/{BaseIcon-CnFXP_n9.cjs → BaseIcon-dYWMubrH.cjs} +1 -1
  6. package/dist/{DataTable-Cmbf3abv.js → DataTable-BXnbua0J.js} +2 -2
  7. package/dist/{DataTable-cOEA6Z37.cjs → DataTable-oa0Srfuc.cjs} +1 -1
  8. package/dist/{Legend-CCq0mNRg.js → Legend-Cr1hulgT.js} +1 -1
  9. package/dist/{Legend-XqP6-7Ac.cjs → Legend-Dhm9_peB.cjs} +1 -1
  10. package/dist/PackageVersion-BVZfgDqm.js +10 -0
  11. package/dist/PackageVersion-BkgJVmj1.cjs +1 -0
  12. package/dist/{Shape-BNocET8E.js → Shape-D75m5xWM.js} +1 -1
  13. package/dist/{Shape-B51JGReT.cjs → Shape-hGbEoQOv.cjs} +1 -1
  14. package/dist/{Slicer-Bc7OWCcl.cjs → Slicer-B7ya0m2Q.cjs} +1 -1
  15. package/dist/{Slicer-BKszZXjM.js → Slicer-Bx8AozB8.js} +2 -2
  16. package/dist/{Title-DlBwa3-X.js → Title-1Sw6EmHy.js} +1 -1
  17. package/dist/{Title-BaR4XyXa.cjs → Title-Bjrh7khe.cjs} +1 -1
  18. package/dist/{Tooltip-CX57w9Q9.cjs → Tooltip-CPATjuur.cjs} +1 -1
  19. package/dist/{Tooltip-w32n-8sY.js → Tooltip-EJf3VBPR.js} +1 -1
  20. package/dist/documentation/installation.md +1 -1
  21. package/dist/index-D09qCApg.cjs +4 -0
  22. package/dist/{index-DQl1TFXa.js → index-DhJby8wL.js} +8 -3
  23. package/dist/style.css +1 -1
  24. package/dist/types/vue-data-ui.d.cts +16 -0
  25. package/dist/types/vue-data-ui.d.ts +16 -0
  26. package/dist/{useNestedProp-DlCe_zZz.cjs → useNestedProp-Bwd7mK1Z.cjs} +1 -1
  27. package/dist/{useNestedProp-lmeFt-ev.js → useNestedProp-CrHvyupb.js} +1 -1
  28. package/dist/{usePrinter-DgKGVvJC.js → usePrinter-Bwm8J3RQ.js} +1 -1
  29. package/dist/{usePrinter-BmXrEJ99.cjs → usePrinter-DdsPm5a4.cjs} +1 -1
  30. package/dist/{vue-data-ui-Byrb_Y3k.js → vue-data-ui-CLxne31S.js} +57 -57
  31. package/dist/{vue-data-ui-DQurgvN8.cjs → vue-data-ui-ZitCqVgG.cjs} +1 -1
  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-DAv5cYGJ.cjs +19 -0
  35. package/dist/{vue-ui-3d-bar-CM_usP2U.js → vue-ui-3d-bar-Dg87_AAm.js} +148 -146
  36. package/dist/{vue-ui-accordion-DRI-fN6I.cjs → vue-ui-accordion-BAHX7KzB.cjs} +1 -1
  37. package/dist/{vue-ui-accordion-CroZrm7T.js → vue-ui-accordion-Cn5Jbplg.js} +3 -3
  38. package/dist/vue-ui-age-pyramid-GzHwQzsH.cjs +1 -0
  39. package/dist/{vue-ui-age-pyramid-BZU-WI_a.js → vue-ui-age-pyramid-PlamQWqC.js} +83 -81
  40. package/dist/{vue-ui-annotator-BpzM25VY.cjs → vue-ui-annotator-DGgQwl-K.cjs} +1 -1
  41. package/dist/{vue-ui-annotator-CsfYgmrC.js → vue-ui-annotator-Dd5KF_cy.js} +1 -1
  42. package/dist/vue-ui-candlestick-BIEB2J1w.cjs +2 -0
  43. package/dist/{vue-ui-candlestick-BPi7aBEf.js → vue-ui-candlestick-DTzwPhV5.js} +113 -111
  44. package/dist/{vue-ui-carousel-table-CpodLcgX.cjs → vue-ui-carousel-table-HNTf5AYY.cjs} +1 -1
  45. package/dist/{vue-ui-carousel-table-tbviS8Fo.js → vue-ui-carousel-table-YEfvPESA.js} +4 -4
  46. package/dist/vue-ui-chestnut-DzjdAYsT.cjs +6 -0
  47. package/dist/{vue-ui-chestnut-ql9yEs6j.js → vue-ui-chestnut-PzMOM7mp.js} +161 -159
  48. package/dist/{vue-ui-cursor-B3w0SgJP.cjs → vue-ui-cursor-C5rsiCdn.cjs} +1 -1
  49. package/dist/{vue-ui-cursor-Dw7_R_Pd.js → vue-ui-cursor-DWea2yXV.js} +2 -2
  50. package/dist/{vue-ui-dashboard-enrB5B3P.cjs → vue-ui-dashboard-BqXhoS8m.cjs} +1 -1
  51. package/dist/{vue-ui-dashboard-DAY0cdat.js → vue-ui-dashboard-CVespiTo.js} +2 -2
  52. package/dist/{vue-ui-digits-DN6CRpXc.js → vue-ui-digits-gNKgZqYU.js} +2 -2
  53. package/dist/{vue-ui-digits-3Q6uZCzD.cjs → vue-ui-digits-wmDN7Vkf.cjs} +1 -1
  54. package/dist/{vue-ui-donut-evolution-CzBvVRKG.js → vue-ui-donut-evolution-Ch6HH0ja.js} +102 -100
  55. package/dist/vue-ui-donut-evolution-DhDxLZ1J.cjs +1 -0
  56. package/dist/vue-ui-donut-n37BZPxr.cjs +1 -0
  57. package/dist/{vue-ui-donut-B3yDJvZI.js → vue-ui-donut-sQunZI1L.js} +118 -116
  58. package/dist/vue-ui-dumbbell-B9Z_pjnG.cjs +9 -0
  59. package/dist/{vue-ui-dumbbell-vQ5YRGwJ.js → vue-ui-dumbbell-lFlZX8Yi.js} +88 -86
  60. package/dist/vue-ui-flow-BaFpUJg-.cjs +1 -0
  61. package/dist/{vue-ui-flow-DAOKURA6.js → vue-ui-flow-CSIOC-JR.js} +65 -63
  62. package/dist/vue-ui-galaxy-BIR5GxIc.cjs +1 -0
  63. package/dist/{vue-ui-galaxy-B86BK1JM.js → vue-ui-galaxy-DL2mnel_.js} +82 -80
  64. package/dist/{vue-ui-gauge-n8TilFo9.js → vue-ui-gauge-BMq7KT3t.js} +56 -54
  65. package/dist/vue-ui-gauge-r_qvpwE7.cjs +1 -0
  66. package/dist/vue-ui-gizmo-DBas_Sw_.cjs +1 -0
  67. package/dist/{vue-ui-gizmo-CFIBlG4V.js → vue-ui-gizmo-Dj7zvNI1.js} +32 -30
  68. package/dist/{vue-ui-heatmap-ZkmD9EAg.js → vue-ui-heatmap-pqBYIrxm.js} +99 -97
  69. package/dist/vue-ui-heatmap-qPgEhAzc.cjs +1 -0
  70. package/dist/{vue-ui-kpi-D6Myg0y1.cjs → vue-ui-kpi-Cmo9J7wp.cjs} +1 -1
  71. package/dist/{vue-ui-kpi-CtJ3t6GX.js → vue-ui-kpi-ZPBinMiF.js} +3 -3
  72. package/dist/{vue-ui-mini-loader-BjJ_YYZj.cjs → vue-ui-mini-loader-Ce-jbgMT.cjs} +1 -1
  73. package/dist/{vue-ui-mini-loader-Cosy9XjR.js → vue-ui-mini-loader-DOTWhLi9.js} +2 -2
  74. package/dist/vue-ui-molecule-D429iwPP.cjs +1 -0
  75. package/dist/{vue-ui-molecule-DTFOBjgC.js → vue-ui-molecule-RDpgNrHQ.js} +77 -75
  76. package/dist/{vue-ui-mood-radar-J_dI9m_i.js → vue-ui-mood-radar-CD5L8WCU.js} +76 -74
  77. package/dist/vue-ui-mood-radar-CdLJxrkT.cjs +1 -0
  78. package/dist/{vue-ui-nested-donuts-CtqU4xxu.js → vue-ui-nested-donuts-A-tid5cQ.js} +112 -110
  79. package/dist/vue-ui-nested-donuts-DyM3uc7x.cjs +17 -0
  80. package/dist/vue-ui-onion-BKql8oal.cjs +5 -0
  81. package/dist/{vue-ui-onion-BMo0Ye54.js → vue-ui-onion-Cap01Ehu.js} +82 -80
  82. package/dist/vue-ui-parallel-coordinate-plot-B0zMgtnq.cjs +8 -0
  83. package/dist/{vue-ui-parallel-coordinate-plot-yKLZbDS5.js → vue-ui-parallel-coordinate-plot-CcDKe4L0.js} +91 -89
  84. package/dist/{vue-ui-quadrant-BrRasVaj.js → vue-ui-quadrant-BDEfAeyJ.js} +141 -139
  85. package/dist/vue-ui-quadrant-CZzdpeQ2.cjs +1 -0
  86. package/dist/{vue-ui-quick-chart-uH33UIjX.js → vue-ui-quick-chart-DlAUYg5u.js} +166 -164
  87. package/dist/vue-ui-quick-chart-DpGYUyhq.cjs +15 -0
  88. package/dist/{vue-ui-radar-BJ3qMHP4.js → vue-ui-radar-CbTln7gs.js} +89 -87
  89. package/dist/vue-ui-radar-oBeaHlpT.cjs +1 -0
  90. package/dist/{vue-ui-rating-BEWaQMBR.cjs → vue-ui-rating-BU7-F3_e.cjs} +1 -1
  91. package/dist/{vue-ui-rating-BFskhiyh.js → vue-ui-rating-BkDncqow.js} +2 -2
  92. package/dist/{vue-ui-relation-circle-DdK4qk0P.js → vue-ui-relation-circle-C5B6UNGd.js} +54 -52
  93. package/dist/vue-ui-relation-circle-IWiJWgcB.cjs +1 -0
  94. package/dist/{vue-ui-rings-BqHSq6Wt.js → vue-ui-rings-BujVUJ90.js} +97 -93
  95. package/dist/{vue-ui-rings-D_T_D6AS.cjs → vue-ui-rings-Df2cRgD8.cjs} +2 -2
  96. package/dist/{vue-ui-scatter-C0gfF6NJ.js → vue-ui-scatter-D6yqZJ7s.js} +132 -130
  97. package/dist/vue-ui-scatter-jFTeM2hW.cjs +1 -0
  98. package/dist/{vue-ui-screenshot-6tOLntj9.js → vue-ui-screenshot-CHAySwpv.js} +1 -1
  99. package/dist/{vue-ui-screenshot-CbvIYfYU.cjs → vue-ui-screenshot-CVu8IM33.cjs} +1 -1
  100. package/dist/{vue-ui-skeleton-BVJGmYjj.js → vue-ui-skeleton-ASX40MGk.js} +423 -388
  101. package/dist/vue-ui-skeleton-CAlTn_Cg.cjs +41 -0
  102. package/dist/{vue-ui-smiley-2EoxEmXW.js → vue-ui-smiley-DGVzhza2.js} +2 -2
  103. package/dist/{vue-ui-smiley-CUgH2tnV.cjs → vue-ui-smiley-dwCqhB0r.cjs} +1 -1
  104. package/dist/vue-ui-spark-trend-A1EHFK_r.cjs +1 -0
  105. package/dist/{vue-ui-spark-trend-DjNPMOkN.js → vue-ui-spark-trend-B7XhDvTj.js} +42 -40
  106. package/dist/{vue-ui-sparkbar-BBm3DE1P.js → vue-ui-sparkbar-BuNcvi66.js} +53 -51
  107. package/dist/vue-ui-sparkbar-CwNjHOjD.cjs +1 -0
  108. package/dist/vue-ui-sparkgauge-ISu154lS.cjs +1 -0
  109. package/dist/{vue-ui-sparkgauge-IIW24eJQ.js → vue-ui-sparkgauge-JY2kB9WX.js} +31 -29
  110. package/dist/vue-ui-sparkhistogram-C8zyC-ii.cjs +1 -0
  111. package/dist/{vue-ui-sparkhistogram-DVXxA6ji.js → vue-ui-sparkhistogram-DyEPWxkP.js} +69 -67
  112. package/dist/vue-ui-sparkline-DL3Thtc4.cjs +1 -0
  113. package/dist/{vue-ui-sparkline-CH89kcaa.js → vue-ui-sparkline-DYC3sdvQ.js} +65 -63
  114. package/dist/{vue-ui-sparkstackbar-Bcod5yu_.js → vue-ui-sparkstackbar-7TmtP3WR.js} +46 -44
  115. package/dist/vue-ui-sparkstackbar-ChIM9bn2.cjs +1 -0
  116. package/dist/{vue-ui-stackbar-Djjcgtyg.js → vue-ui-stackbar-CP5C6Gb_.js} +128 -126
  117. package/dist/vue-ui-stackbar-DrtiSaNc.cjs +6 -0
  118. package/dist/vue-ui-strip-plot-BMYMIHGu.cjs +1 -0
  119. package/dist/{vue-ui-strip-plot-ByPCQ4xk.js → vue-ui-strip-plot-DJQCq_KE.js} +78 -76
  120. package/dist/{vue-ui-table-B6Kpda3o.cjs → vue-ui-table-D6hvgMif.cjs} +1 -1
  121. package/dist/{vue-ui-table-D8Sm2fzX.js → vue-ui-table-IJi0xaVg.js} +1 -1
  122. package/dist/{vue-ui-table-heatmap-DjEN0l12.cjs → vue-ui-table-heatmap-BZNKXZNs.cjs} +1 -1
  123. package/dist/{vue-ui-table-heatmap-mlq_J56h.js → vue-ui-table-heatmap-Ls8_xq0D.js} +4 -4
  124. package/dist/{vue-ui-table-sparkline-DByva7rj.cjs → vue-ui-table-sparkline-BQFK30H1.cjs} +1 -1
  125. package/dist/{vue-ui-table-sparkline-DF29_qZk.js → vue-ui-table-sparkline-BeuvdssX.js} +5 -5
  126. package/dist/vue-ui-thermometer-DKm8SXlE.cjs +1 -0
  127. package/dist/{vue-ui-thermometer-BKf-rGuS.js → vue-ui-thermometer-DPWIvG92.js} +80 -78
  128. package/dist/{vue-ui-timer-B8jW8M60.js → vue-ui-timer-CEzDvZf7.js} +62 -60
  129. package/dist/vue-ui-timer-n6lv7oTx.cjs +64 -0
  130. package/dist/vue-ui-tiremarks-B33mHXZN.cjs +1 -0
  131. package/dist/{vue-ui-tiremarks-riEfve5q.js → vue-ui-tiremarks-BUGoY22W.js} +51 -49
  132. package/dist/vue-ui-treemap-DPxBZUUr.cjs +1 -0
  133. package/dist/{vue-ui-treemap-5F0ynBnb.js → vue-ui-treemap-DmOYjJ_F.js} +93 -91
  134. package/dist/vue-ui-vertical-bar-BJMYX8t4.cjs +4 -0
  135. package/dist/{vue-ui-vertical-bar-CxRBvHZy.js → vue-ui-vertical-bar-BpVKdSY5.js} +110 -108
  136. package/dist/vue-ui-waffle-DGcueccy.cjs +1 -0
  137. package/dist/{vue-ui-waffle-B8G4i5WH.js → vue-ui-waffle-ULg6SwPx.js} +72 -70
  138. package/dist/vue-ui-wheel-CWKq-CFW.cjs +1 -0
  139. package/dist/{vue-ui-wheel-DmzkGeCY.js → vue-ui-wheel-DlmgZd-_.js} +43 -41
  140. package/dist/vue-ui-word-cloud-BhHWdmqP.cjs +1 -0
  141. package/dist/vue-ui-word-cloud-DWyboczt.js +574 -0
  142. package/dist/vue-ui-xy-Cz81fw_E.cjs +3 -0
  143. package/dist/{vue-ui-xy-iUQyB_PL.js → vue-ui-xy-V13Ns1gv.js} +507 -504
  144. package/dist/{vue-ui-xy-canvas-nraUv13Y.js → vue-ui-xy-canvas-B9cRe5gT.js} +10 -10
  145. package/dist/{vue-ui-xy-canvas-CCwtKYgd.cjs → vue-ui-xy-canvas-GiuHOyj5.cjs} +1 -1
  146. package/package.json +1 -1
  147. package/dist/index-B8EMsnjU.cjs +0 -4
  148. package/dist/vue-ui-3d-bar-Ce-Re50D.cjs +0 -19
  149. package/dist/vue-ui-age-pyramid-C08rTXJn.cjs +0 -1
  150. package/dist/vue-ui-candlestick-m8fjxbj-.cjs +0 -2
  151. package/dist/vue-ui-chestnut-Y0gQvbbf.cjs +0 -6
  152. package/dist/vue-ui-donut-CCm7GJsm.cjs +0 -1
  153. package/dist/vue-ui-donut-evolution-DiN8Jm0n.cjs +0 -1
  154. package/dist/vue-ui-dumbbell-lb72j7bY.cjs +0 -9
  155. package/dist/vue-ui-flow-B5Gxaqvl.cjs +0 -1
  156. package/dist/vue-ui-galaxy-Ck5cPkrh.cjs +0 -1
  157. package/dist/vue-ui-gauge-BwIhwSUw.cjs +0 -1
  158. package/dist/vue-ui-gizmo-DrGaoiM_.cjs +0 -1
  159. package/dist/vue-ui-heatmap-BLc6thGZ.cjs +0 -1
  160. package/dist/vue-ui-molecule-CAj1HFit.cjs +0 -1
  161. package/dist/vue-ui-mood-radar-CV2in2wO.cjs +0 -1
  162. package/dist/vue-ui-nested-donuts-4vO23n9z.cjs +0 -17
  163. package/dist/vue-ui-onion-B3mtn6xf.cjs +0 -5
  164. package/dist/vue-ui-parallel-coordinate-plot-DFMbhLY9.cjs +0 -8
  165. package/dist/vue-ui-quadrant-CpJX1Jwa.cjs +0 -1
  166. package/dist/vue-ui-quick-chart-CTxsI2tk.cjs +0 -15
  167. package/dist/vue-ui-radar-DFjsXmJ3.cjs +0 -1
  168. package/dist/vue-ui-relation-circle-DXuKdCih.cjs +0 -1
  169. package/dist/vue-ui-scatter-DPByFMNL.cjs +0 -1
  170. package/dist/vue-ui-skeleton-Bli7jLZ7.cjs +0 -41
  171. package/dist/vue-ui-spark-trend-sfgUJ32Q.cjs +0 -1
  172. package/dist/vue-ui-sparkbar-CKWYzriN.cjs +0 -1
  173. package/dist/vue-ui-sparkgauge-D0q9F9Nz.cjs +0 -1
  174. package/dist/vue-ui-sparkhistogram-CywhBkm2.cjs +0 -1
  175. package/dist/vue-ui-sparkline-Besp8Ffy.cjs +0 -1
  176. package/dist/vue-ui-sparkstackbar-qXm8Ozzm.cjs +0 -1
  177. package/dist/vue-ui-stackbar-D0fGVkCR.cjs +0 -6
  178. package/dist/vue-ui-strip-plot-XDj8rL9m.cjs +0 -1
  179. package/dist/vue-ui-thermometer-C3T56ras.cjs +0 -1
  180. package/dist/vue-ui-timer-B_ZvV1ON.cjs +0 -64
  181. package/dist/vue-ui-tiremarks-DRbSpTgq.cjs +0 -1
  182. package/dist/vue-ui-treemap-CtKUTs2G.cjs +0 -1
  183. package/dist/vue-ui-vertical-bar-BBIWdeXH.cjs +0 -4
  184. package/dist/vue-ui-waffle-9a3C4Nj-.cjs +0 -1
  185. package/dist/vue-ui-wheel-CErxlmqw.cjs +0 -1
  186. package/dist/vue-ui-word-cloud-dMBTVGVk.js +0 -513
  187. package/dist/vue-ui-word-cloud-nmx846H2.cjs +0 -1
  188. package/dist/vue-ui-xy-CLYgZk3Y.cjs +0 -3
@@ -1,26 +1,27 @@
1
- import { useCssVars as Me, computed as h, ref as p, watch as be, onMounted as Se, openBlock as s, createElementBlock as n, normalizeClass as U, normalizeStyle as m, createBlock as Y, createCommentVNode as c, unref as i, createSlots as Ne, withCtx as k, renderSlot as x, normalizeProps as j, guardReactiveProps as W, Fragment as A, renderList as S, createElementVNode as u, toDisplayString as f, createVNode as me, withKeys as Oe, createTextVNode as Fe, nextTick as Ve } from "vue";
2
- import { u as Pe, o as Ie, e as xe, c as le, t as Be, L as Re, g as Ee, M as ae, X as Ge, F as oe, i as F, f as N, v as z, x as Xe, y as He, q as De, r as Ue } from "./index-DQl1TFXa.js";
3
- import { _ as Ye } from "./Title-DlBwa3-X.js";
4
- import { u as je, U as We } from "./usePrinter-DgKGVvJC.js";
5
- import { _ as qe } from "./Tooltip-w32n-8sY.js";
6
- import Ke from "./vue-ui-skeleton-BVJGmYjj.js";
7
- import Je from "./BaseIcon-BMfi5PnL.js";
8
- import Qe from "./vue-ui-accordion-CroZrm7T.js";
9
- import { u as we } from "./useNestedProp-lmeFt-ev.js";
10
- import { _ as Ze } from "./_plugin-vue_export-helper-CHgC5LLL.js";
11
- const et = ["id"], tt = {
1
+ import { useCssVars as Me, computed as h, ref as p, watch as me, onMounted as Se, openBlock as s, createElementBlock as n, normalizeClass as U, normalizeStyle as m, createBlock as Y, createCommentVNode as c, unref as i, createSlots as Ne, withCtx as k, renderSlot as x, normalizeProps as j, guardReactiveProps as W, createVNode as le, Fragment as A, renderList as S, createElementVNode as u, toDisplayString as f, withKeys as Oe, createTextVNode as Fe, nextTick as Ve } from "vue";
2
+ import { u as Pe, o as Ie, e as xe, c as ae, t as Be, L as Re, g as Ee, M as oe, X as Ge, F as se, i as F, f as N, v as z, x as Xe, y as He, q as De, r as Ue } from "./index-DhJby8wL.js";
3
+ import { _ as Ye } from "./Title-1Sw6EmHy.js";
4
+ import { u as je, U as We } from "./usePrinter-Bwm8J3RQ.js";
5
+ import { _ as qe } from "./Tooltip-EJf3VBPR.js";
6
+ import Ke from "./vue-ui-skeleton-ASX40MGk.js";
7
+ import Je from "./BaseIcon-CAmYNoaf.js";
8
+ import Qe from "./vue-ui-accordion-Cn5Jbplg.js";
9
+ import { u as we } from "./useNestedProp-CrHvyupb.js";
10
+ import { _ as Ze } from "./PackageVersion-BVZfgDqm.js";
11
+ import { _ as et } from "./_plugin-vue_export-helper-CHgC5LLL.js";
12
+ const tt = ["id"], lt = {
12
13
  key: 0,
13
14
  style: "width:100%;background:transparent"
14
- }, lt = ["xmlns", "viewBox"], at = ["x", "y", "width", "height", "fill", "stroke", "stroke-width"], ot = ["x", "y", "width", "height", "fill", "stroke", "stroke-width"], st = ["font-size", "font-weight", "fill", "x", "y"], ut = ["x", "y", "width", "height", "onMouseover"], nt = { key: 0 }, it = ["font-size", "fill", "x", "y", "font-weight"], rt = { key: 0 }, vt = ["text-anchor", "font-size", "fill", "font-weight", "transform"], dt = { key: 1 }, yt = ["x", "y", "width", "height", "stroke", "stroke-width"], ct = { key: 2 }, ht = ["id"], pt = ["stop-color"], gt = ["stop-color"], ft = ["x", "y", "font-size", "fill"], bt = ["x", "y", "height", "rx", "fill"], mt = ["x", "y", "font-size", "fill"], xt = ["stroke", "x1", "x2", "y1", "y2"], wt = ["fill", "d"], _t = { key: 3 }, kt = {
15
+ }, at = ["xmlns", "viewBox"], ot = ["x", "y", "width", "height", "fill", "stroke", "stroke-width"], st = ["x", "y", "width", "height", "fill", "stroke", "stroke-width"], ut = ["font-size", "font-weight", "fill", "x", "y"], nt = ["x", "y", "width", "height", "onMouseover"], it = { key: 0 }, rt = ["font-size", "fill", "x", "y", "font-weight"], vt = { key: 0 }, dt = ["text-anchor", "font-size", "fill", "font-weight", "transform"], yt = { key: 1 }, ct = ["x", "y", "width", "height", "stroke", "stroke-width"], ht = { key: 2 }, pt = ["id"], gt = ["stop-color"], ft = ["stop-color"], bt = ["x", "y", "font-size", "fill"], mt = ["x", "y", "height", "rx", "fill"], xt = ["x", "y", "font-size", "fill"], wt = ["stroke", "x1", "x2", "y1", "y2"], _t = ["fill", "d"], kt = { key: 3 }, $t = {
15
16
  id: "colorScaleHorizontal",
16
17
  x1: "0%",
17
18
  x2: "100%",
18
19
  y1: "0%",
19
20
  y2: "0%"
20
- }, $t = ["stop-color"], Ct = ["stop-color"], Lt = ["x", "y", "width", "height", "rx"], At = ["x", "y", "font-size", "fill"], zt = ["x", "y", "font-size", "fill"], Tt = ["stroke", "x1", "x2", "y1", "y2"], Mt = ["fill", "d"], St = {
21
+ }, Ct = ["stop-color"], Lt = ["stop-color"], At = ["x", "y", "width", "height", "rx"], zt = ["x", "y", "font-size", "fill"], Tt = ["x", "y", "font-size", "fill"], Mt = ["stroke", "x1", "x2", "y1", "y2"], St = ["fill", "d"], Nt = {
21
22
  key: 3,
22
23
  class: "vue-data-ui-watermark"
23
- }, Nt = { class: "vue-ui-data-table" }, Ot = { key: 0 }, Ft = ["data-cell"], Vt = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, Pt = ["data-cell"], It = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, Bt = {
24
+ }, Ot = { class: "vue-ui-data-table" }, Ft = { key: 0 }, Vt = ["data-cell"], Pt = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, It = ["data-cell"], Bt = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, Rt = {
24
25
  __name: "vue-ui-heatmap",
25
26
  props: {
26
27
  config: {
@@ -39,18 +40,18 @@ const et = ["id"], tt = {
39
40
  setup(G, { expose: _e }) {
40
41
  const r = G;
41
42
  Me((t) => ({
42
- 52850410: t.tdo
43
+ "1678b056": t.tdo
43
44
  }));
44
45
  const { vue_ui_heatmap: ke } = Pe(), X = h(() => !!r.dataset && r.dataset.length);
45
46
  Ie(r.dataset) && xe({
46
47
  componentName: "VueUiHeatmap",
47
48
  type: "dataset"
48
49
  });
49
- const V = p(le()), q = p(null), $e = p(null), K = p(!1), J = p(""), se = p(void 0), P = p(null), ue = p(0), ne = p(null), ie = p(!1), re = p(0), e = h({
50
- get: () => ve(),
50
+ const V = p(ae()), q = p(null), $e = p(null), K = p(!1), J = p(""), ue = p(void 0), P = p(null), ne = p(0), ie = p(null), re = p(!1), ve = p(0), e = h({
51
+ get: () => de(),
51
52
  set: (t) => t
52
53
  });
53
- function ve() {
54
+ function de() {
54
55
  const t = we({
55
56
  userConfig: r.config,
56
57
  defaultConfig: ke
@@ -63,12 +64,12 @@ const et = ["id"], tt = {
63
64
  })
64
65
  } : a = t, r.config && Re(r.config, "style.layout.dataLabels.xAxis.showOnlyAtModulo") ? a.style.layout.dataLabels.xAxis.showOnlyAtModulo = r.config.style.layout.dataLabels.xAxis.showOnlyAtModulo : a.style.layout.dataLabels.xAxis.showOnlyAtModulo = null, a;
65
66
  }
66
- be(() => r.config, (t) => {
67
- e.value = ve(), Q(), re.value += 1;
68
- }, { deep: !0 }), be(() => r.dataset, () => {
67
+ me(() => r.config, (t) => {
68
+ e.value = de(), Q(), ve.value += 1;
69
+ }, { deep: !0 }), me(() => r.dataset, () => {
69
70
  Q();
70
71
  }, { deep: !0 });
71
- const { isPrinting: de, isImaging: ye, generatePdf: ce, generateImage: he } = je({
72
+ const { isPrinting: ye, isImaging: ce, generatePdf: he, generateImage: pe } = je({
72
73
  elementId: `heatmap__${V.value}`,
73
74
  fileName: e.value.style.title.text || "vue-ui-heatmap"
74
75
  }), w = p({
@@ -78,9 +79,9 @@ const et = ["id"], tt = {
78
79
  function Le() {
79
80
  new ResizeObserver((a) => {
80
81
  a.forEach((o) => {
81
- ie.value = o.contentRect.width < Ce.value;
82
+ re.value = o.contentRect.width < Ce.value;
82
83
  });
83
- }).observe(ne.value);
84
+ }).observe(ie.value);
84
85
  }
85
86
  Se(Q);
86
87
  function Q() {
@@ -128,26 +129,26 @@ const et = ["id"], tt = {
128
129
  ...t,
129
130
  temperatures: (t.values || []).map((a, o) => a >= M.value ? {
130
131
  side: "up",
131
- color: ae(e.value.style.layout.cells.colors.cold, e.value.style.layout.cells.colors.hot, T.value, b.value, a),
132
+ color: oe(e.value.style.layout.cells.colors.cold, e.value.style.layout.cells.colors.hot, T.value, b.value, a),
132
133
  ratio: Math.abs(Math.abs(a - M.value) / Math.abs(b.value - M.value)) > 1 ? 1 : Math.abs(Math.abs(a - M.value) / Math.abs(b.value - M.value)),
133
134
  value: a,
134
135
  yAxisName: t.name,
135
136
  xAxisName: $.value.xLabels[o],
136
- id: `vue-data-ui-heatmap-cell-${le()}`
137
+ id: `vue-data-ui-heatmap-cell-${ae()}`
137
138
  } : {
138
139
  side: "down",
139
140
  ratio: Math.abs(1 - Math.abs(a) / Math.abs(M.value)) > 1 ? 1 : Math.abs(1 - Math.abs(a) / Math.abs(M.value)),
140
- color: ae(e.value.style.layout.cells.colors.cold, e.value.style.layout.cells.colors.hot, T.value, b.value, a),
141
+ color: oe(e.value.style.layout.cells.colors.cold, e.value.style.layout.cells.colors.hot, T.value, b.value, a),
141
142
  value: a,
142
143
  yAxisName: t.name,
143
144
  xAxisName: $.value.xLabels[o],
144
- id: `vue-data-ui-heatmap-cell-${le()}`
145
+ id: `vue-data-ui-heatmap-cell-${ae()}`
145
146
  })
146
147
  })))), C = p(null), I = p(null);
147
148
  function Ae(t, a, o, v) {
148
149
  P.value = { x: o, y: v };
149
150
  const { value: y, yAxisName: g, xAxisName: L, id: Te } = t;
150
- se.value = Te, C.value = y, I.value = {
151
+ ue.value = Te, C.value = y, I.value = {
151
152
  datapoint: t,
152
153
  seriesIndex: a,
153
154
  series: D.value,
@@ -165,7 +166,7 @@ const et = ["id"], tt = {
165
166
  seriesIndex: a,
166
167
  series: D.value,
167
168
  config: e.value
168
- }) : (ee += `<div>${g} ${L ? `${L}` : ""}</div>`, ee += `<div style="margin-top:6px;padding-top:6px;border-top:1px solid ${e.value.style.tooltip.borderColor};font-weight:bold;display:flex;flex-direction:row;gap:12px;align-items:center;justify-content:center"><span style="color:${ae(e.value.style.layout.cells.colors.cold, e.value.style.layout.cells.colors.hot, T.value, b.value, y)}">⬤</span><span>${isNaN(y) ? "-" : F(
169
+ }) : (ee += `<div>${g} ${L ? `${L}` : ""}</div>`, ee += `<div style="margin-top:6px;padding-top:6px;border-top:1px solid ${e.value.style.tooltip.borderColor};font-weight:bold;display:flex;flex-direction:row;gap:12px;align-items:center;justify-content:center"><span style="color:${oe(e.value.style.layout.cells.colors.cold, e.value.style.layout.cells.colors.hot, T.value, b.value, y)}">⬤</span><span>${isNaN(y) ? "-" : F(
169
170
  e.value.style.layout.cells.value.formatter,
170
171
  y,
171
172
  N({
@@ -184,7 +185,7 @@ const et = ["id"], tt = {
184
185
  })), a = r.dataset.map((o) => o.values);
185
186
  return { head: t, body: a };
186
187
  });
187
- function pe() {
188
+ function ge() {
188
189
  Ve(() => {
189
190
  const t = ["", ...r.dataset.map((y, g) => y.name)], a = [];
190
191
  for (let y = 0; y < $.value.xLabels.length; y += 1) {
@@ -199,20 +200,20 @@ const et = ["id"], tt = {
199
200
  }
200
201
  const E = p(!1);
201
202
  function ze(t) {
202
- E.value = t, ue.value += 1;
203
+ E.value = t, ne.value += 1;
203
204
  }
204
- function ge() {
205
+ function fe() {
205
206
  w.value.showTable = !w.value.showTable;
206
207
  }
207
- function fe() {
208
+ function be() {
208
209
  w.value.showTooltip = !w.value.showTooltip;
209
210
  }
210
211
  return _e({
211
- generatePdf: ce,
212
- generateCsv: pe,
213
- generateImage: he,
214
- toggleTable: ge,
215
- toggleTooltip: fe
212
+ generatePdf: he,
213
+ generateCsv: ge,
214
+ generateImage: pe,
215
+ toggleTable: fe,
216
+ toggleTooltip: be
216
217
  }), (t, a) => (s(), n("div", {
217
218
  ref_key: "heatmapChart",
218
219
  ref: q,
@@ -220,9 +221,9 @@ const et = ["id"], tt = {
220
221
  style: m(`font-family:${e.value.style.fontFamily};width:100%; text-align:center;${e.value.style.title.text ? "" : "padding-top:36px"};background:${e.value.style.backgroundColor}`),
221
222
  id: `heatmap__${V.value}`
222
223
  }, [
223
- e.value.style.title.text ? (s(), n("div", tt, [
224
+ e.value.style.title.text ? (s(), n("div", lt, [
224
225
  (s(), Y(Ye, {
225
- key: `title_${re.value}`,
226
+ key: `title_${ve.value}`,
226
227
  config: {
227
228
  title: {
228
229
  cy: "heatmap-div-title",
@@ -238,11 +239,11 @@ const et = ["id"], tt = {
238
239
  e.value.userOptions.show && X.value ? (s(), Y(We, {
239
240
  ref_key: "details",
240
241
  ref: $e,
241
- key: `user_options_${ue.value}`,
242
+ key: `user_options_${ne.value}`,
242
243
  backgroundColor: e.value.style.backgroundColor,
243
244
  color: e.value.style.color,
244
- isImaging: i(ye),
245
- isPrinting: i(de),
245
+ isImaging: i(ce),
246
+ isPrinting: i(ye),
246
247
  uid: V.value,
247
248
  hasTooltip: e.value.userOptions.buttons.tooltip && e.value.style.tooltip.show,
248
249
  hasPdf: e.value.userOptions.buttons.pdf,
@@ -256,11 +257,11 @@ const et = ["id"], tt = {
256
257
  chartElement: q.value,
257
258
  position: e.value.userOptions.position,
258
259
  onToggleFullscreen: ze,
259
- onGeneratePdf: i(ce),
260
- onGenerateCsv: pe,
261
- onGenerateImage: i(he),
262
- onToggleTable: ge,
263
- onToggleTooltip: fe
260
+ onGeneratePdf: i(he),
261
+ onGenerateCsv: ge,
262
+ onGenerateImage: i(pe),
263
+ onToggleTable: fe,
264
+ onToggleTooltip: be
264
265
  }, Ne({ _: 2 }, [
265
266
  t.$slots.optionTooltip ? {
266
267
  name: "optionTooltip",
@@ -312,6 +313,7 @@ const et = ["id"], tt = {
312
313
  viewBox: `0 0 ${_.value.width} ${_.value.heightWithLegend}`,
313
314
  style: m(`max-width:100%;overflow:visible;background:transparent;color:${e.value.style.color}`)
314
315
  }, [
316
+ le(Ze),
315
317
  (s(!0), n(A, null, S(D.value, (o, v) => (s(), n("g", null, [
316
318
  (s(!0), n(A, null, S(o.temperatures, (y, g) => (s(), n("g", null, [
317
319
  u("rect", {
@@ -322,7 +324,7 @@ const et = ["id"], tt = {
322
324
  fill: e.value.style.layout.cells.colors.underlayer,
323
325
  stroke: e.value.style.backgroundColor,
324
326
  "stroke-width": e.value.style.layout.cells.spacing
325
- }, null, 8, at),
327
+ }, null, 8, ot),
326
328
  u("rect", {
327
329
  x: l.value.left + d.value.width * g + e.value.style.layout.cells.spacing / 2,
328
330
  y: l.value.top + d.value.height * v + e.value.style.layout.cells.spacing / 2,
@@ -331,13 +333,13 @@ const et = ["id"], tt = {
331
333
  fill: y.color,
332
334
  stroke: e.value.style.backgroundColor,
333
335
  "stroke-width": e.value.style.layout.cells.spacing
334
- }, null, 8, ot),
336
+ }, null, 8, st),
335
337
  e.value.style.layout.cells.value.show ? (s(), n("text", {
336
338
  key: 0,
337
339
  "text-anchor": "middle",
338
340
  "font-size": e.value.style.layout.cells.value.fontSize,
339
341
  "font-weight": e.value.style.layout.cells.value.bold ? "bold" : "normal",
340
- fill: i(oe)(y.color),
342
+ fill: i(se)(y.color),
341
343
  x: l.value.left + d.value.width * g + d.value.width / 2,
342
344
  y: l.value.top + d.value.height * v + d.value.height / 2 + e.value.style.layout.cells.value.fontSize / 3
343
345
  }, f(i(F)(
@@ -350,7 +352,7 @@ const et = ["id"], tt = {
350
352
  r: e.value.style.layout.cells.value.roundingValue
351
353
  }),
352
354
  { datapoint: y }
353
- )), 9, st)) : c("", !0)
355
+ )), 9, ut)) : c("", !0)
354
356
  ]))), 256)),
355
357
  (s(!0), n(A, null, S(o.temperatures, (y, g) => (s(), n("g", null, [
356
358
  u("rect", {
@@ -362,11 +364,11 @@ const et = ["id"], tt = {
362
364
  stroke: "none",
363
365
  onMouseover: (L) => Ae(y, v, l.value.left + d.value.width * g, l.value.top + d.value.height * v),
364
366
  onMouseout: a[0] || (a[0] = (L) => {
365
- K.value = !1, se.value = void 0, C.value = null, P.value = null;
367
+ K.value = !1, ue.value = void 0, C.value = null, P.value = null;
366
368
  })
367
- }, null, 40, ut)
369
+ }, null, 40, nt)
368
370
  ]))), 256)),
369
- e.value.style.layout.dataLabels.yAxis.show ? (s(), n("g", nt, [
371
+ e.value.style.layout.dataLabels.yAxis.show ? (s(), n("g", it, [
370
372
  u("text", {
371
373
  "font-size": e.value.style.layout.dataLabels.yAxis.fontSize,
372
374
  fill: e.value.style.layout.dataLabels.yAxis.color,
@@ -374,10 +376,10 @@ const et = ["id"], tt = {
374
376
  y: l.value.top + d.value.height * v + d.value.height / 2 + e.value.style.layout.dataLabels.yAxis.fontSize / 3 + e.value.style.layout.dataLabels.yAxis.offsetY,
375
377
  "text-anchor": "end",
376
378
  "font-weight": e.value.style.layout.dataLabels.yAxis.bold ? "bold" : "normal"
377
- }, f($.value.yLabels[v]), 9, it)
379
+ }, f($.value.yLabels[v]), 9, rt)
378
380
  ])) : c("", !0)
379
381
  ]))), 256)),
380
- e.value.style.layout.dataLabels.xAxis.show ? (s(), n("g", rt, [
382
+ e.value.style.layout.dataLabels.xAxis.show ? (s(), n("g", vt, [
381
383
  (s(!0), n(A, null, S($.value.xLabels, (o, v) => (s(), n(A, null, [
382
384
  !e.value.style.layout.dataLabels.xAxis.showOnlyAtModulo || e.value.style.layout.dataLabels.xAxis.showOnlyAtModulo && v % e.value.style.layout.dataLabels.xAxis.showOnlyAtModulo === 0 ? (s(), n("text", {
383
385
  key: 0,
@@ -386,10 +388,10 @@ const et = ["id"], tt = {
386
388
  fill: e.value.style.layout.dataLabels.xAxis.color,
387
389
  "font-weight": e.value.style.layout.dataLabels.xAxis.bold ? "bold" : "normal",
388
390
  transform: `translate(${l.value.left + d.value.width / 2 + l.value.width / $.value.xLabels.length * v + e.value.style.layout.dataLabels.xAxis.offsetX}, ${l.value.top + e.value.style.layout.dataLabels.xAxis.offsetY - 6}), rotate(${e.value.style.layout.dataLabels.xAxis.rotation})`
389
- }, f(o), 9, vt)) : c("", !0)
391
+ }, f(o), 9, dt)) : c("", !0)
390
392
  ], 64))), 256))
391
393
  ])) : c("", !0),
392
- P.value ? (s(), n("g", dt, [
394
+ P.value ? (s(), n("g", yt, [
393
395
  u("rect", {
394
396
  style: { "pointer-events": "none" },
395
397
  x: P.value.x - e.value.style.layout.cells.selected.border / 2 + e.value.style.layout.cells.spacing,
@@ -400,9 +402,9 @@ const et = ["id"], tt = {
400
402
  stroke: e.value.style.layout.cells.selected.color,
401
403
  "stroke-width": e.value.style.layout.cells.selected.border,
402
404
  rx: 1
403
- }, null, 8, yt)
405
+ }, null, 8, ct)
404
406
  ])) : c("", !0),
405
- e.value.style.legend.show && H.value === "right" ? (s(), n("g", ct, [
407
+ e.value.style.legend.show && H.value === "right" ? (s(), n("g", ht, [
406
408
  u("defs", null, [
407
409
  u("linearGradient", {
408
410
  id: `colorScaleVertical_${V.value}`,
@@ -412,12 +414,12 @@ const et = ["id"], tt = {
412
414
  u("stop", {
413
415
  offset: "0%",
414
416
  "stop-color": e.value.style.layout.cells.colors.hot
415
- }, null, 8, pt),
417
+ }, null, 8, gt),
416
418
  u("stop", {
417
419
  offset: "100%",
418
420
  "stop-color": e.value.style.layout.cells.colors.cold
419
- }, null, 8, gt)
420
- ], 8, ht)
421
+ }, null, 8, ft)
422
+ ], 8, pt)
421
423
  ]),
422
424
  u("text", {
423
425
  x: l.value.right + 36 + 18,
@@ -434,7 +436,7 @@ const et = ["id"], tt = {
434
436
  s: e.value.style.layout.dataLabels.suffix,
435
437
  r: e.value.style.legend.roundingValue
436
438
  })
437
- )), 9, ft),
439
+ )), 9, bt),
438
440
  u("rect", {
439
441
  x: l.value.right + 36,
440
442
  y: l.value.top,
@@ -442,7 +444,7 @@ const et = ["id"], tt = {
442
444
  height: Z.value,
443
445
  rx: e.value.style.legend.scaleBorderRadius,
444
446
  fill: `url(#colorScaleVertical_${V.value})`
445
- }, null, 8, bt),
447
+ }, null, 8, mt),
446
448
  u("text", {
447
449
  x: l.value.right + 36 + 18,
448
450
  y: l.value.top + Z.value + e.value.style.legend.fontSize * 2.5,
@@ -458,34 +460,34 @@ const et = ["id"], tt = {
458
460
  s: e.value.style.layout.dataLabels.suffix,
459
461
  r: e.value.style.legend.roundingValue
460
462
  })
461
- )), 9, mt),
463
+ )), 9, xt),
462
464
  C.value !== null ? (s(), n("line", {
463
465
  key: 0,
464
- stroke: i(oe)(I.value.datapoint.color),
466
+ stroke: i(se)(I.value.datapoint.color),
465
467
  "stroke-width": "2",
466
468
  x1: l.value.right + 36,
467
469
  x2: l.value.right + 72,
468
470
  y1: B.value,
469
471
  y2: B.value
470
- }, null, 8, xt)) : c("", !0),
472
+ }, null, 8, wt)) : c("", !0),
471
473
  C.value !== null ? (s(), n("path", {
472
474
  key: 1,
473
475
  fill: e.value.style.color,
474
476
  stroke: "none",
475
477
  d: `M ${l.value.right + 36},${B.value} ${l.value.right + 26},${B.value - 8} ${l.value.right + 26},${B.value + 8}z`
476
- }, null, 8, wt)) : c("", !0)
478
+ }, null, 8, _t)) : c("", !0)
477
479
  ])) : c("", !0),
478
- e.value.style.legend.show && H.value === "bottom" ? (s(), n("g", _t, [
480
+ e.value.style.legend.show && H.value === "bottom" ? (s(), n("g", kt, [
479
481
  u("defs", null, [
480
- u("linearGradient", kt, [
482
+ u("linearGradient", $t, [
481
483
  u("stop", {
482
484
  offset: "0%",
483
485
  "stop-color": e.value.style.layout.cells.colors.cold
484
- }, null, 8, $t),
486
+ }, null, 8, Ct),
485
487
  u("stop", {
486
488
  offset: "100%",
487
489
  "stop-color": e.value.style.layout.cells.colors.hot
488
- }, null, 8, Ct)
490
+ }, null, 8, Lt)
489
491
  ])
490
492
  ]),
491
493
  u("rect", {
@@ -495,7 +497,7 @@ const et = ["id"], tt = {
495
497
  height: e.value.style.layout.cells.height,
496
498
  rx: e.value.style.legend.scaleBorderRadius > e.value.style.layout.cells.height / 2 ? e.value.style.layout.cells.height / 2 : e.value.style.legend.scaleBorderRadius,
497
499
  fill: "url(#colorScaleHorizontal)"
498
- }, null, 8, Lt),
500
+ }, null, 8, At),
499
501
  u("text", {
500
502
  x: l.value.left,
501
503
  y: l.value.bottom + e.value.style.layout.cells.height * 2 + e.value.style.legend.fontSize * 2,
@@ -511,7 +513,7 @@ const et = ["id"], tt = {
511
513
  s: e.value.style.layout.dataLabels.suffix,
512
514
  r: e.value.style.legend.roundingValue
513
515
  })
514
- )), 9, At),
516
+ )), 9, zt),
515
517
  u("text", {
516
518
  x: l.value.right,
517
519
  y: l.value.bottom + e.value.style.layout.cells.height * 2 + e.value.style.legend.fontSize * 2,
@@ -527,27 +529,27 @@ const et = ["id"], tt = {
527
529
  s: e.value.style.layout.dataLabels.suffix,
528
530
  r: e.value.style.legend.roundingValue
529
531
  })
530
- )), 9, zt),
532
+ )), 9, Tt),
531
533
  C.value !== null ? (s(), n("line", {
532
534
  key: 0,
533
- stroke: i(oe)(I.value.datapoint.color),
535
+ stroke: i(se)(I.value.datapoint.color),
534
536
  "stroke-width": "2",
535
537
  x1: R.value,
536
538
  x2: R.value,
537
539
  y1: l.value.bottom + e.value.style.layout.cells.height,
538
540
  y2: l.value.bottom + e.value.style.layout.cells.height * 2
539
- }, null, 8, Tt)) : c("", !0),
541
+ }, null, 8, Mt)) : c("", !0),
540
542
  C.value !== null ? (s(), n("path", {
541
543
  key: 1,
542
544
  fill: e.value.style.color,
543
545
  stroke: "none",
544
546
  d: `M ${R.value},${l.value.bottom + e.value.style.layout.cells.height} ${R.value - 12},${l.value.bottom + e.value.style.layout.cells.height - 20} ${R.value + 12},${l.value.bottom + e.value.style.layout.cells.height - 20}z`
545
- }, null, 8, Mt)) : c("", !0)
547
+ }, null, 8, St)) : c("", !0)
546
548
  ])) : c("", !0),
547
549
  x(t.$slots, "svg", { svg: _.value }, void 0, !0)
548
- ], 14, lt)) : c("", !0),
549
- t.$slots.watermark ? (s(), n("div", St, [
550
- x(t.$slots, "watermark", j(W({ isPrinting: i(de) || i(ye) })), void 0, !0)
550
+ ], 14, at)) : c("", !0),
551
+ t.$slots.watermark ? (s(), n("div", Nt, [
552
+ x(t.$slots, "watermark", j(W({ isPrinting: i(ye) || i(ce) })), void 0, !0)
551
553
  ])) : c("", !0),
552
554
  X.value ? c("", !0) : (s(), Y(Ke, {
553
555
  key: 4,
@@ -561,7 +563,7 @@ const et = ["id"], tt = {
561
563
  }
562
564
  }
563
565
  }, null, 8, ["config"])),
564
- me(qe, {
566
+ le(qe, {
565
567
  show: w.value.showTooltip && K.value,
566
568
  backgroundColor: e.value.style.tooltip.backgroundColor,
567
569
  color: e.value.style.tooltip.color,
@@ -603,12 +605,12 @@ const et = ["id"], tt = {
603
605
  content: k(() => [
604
606
  u("div", {
605
607
  ref_key: "tableContainer",
606
- ref: ne,
608
+ ref: ie,
607
609
  class: "vue-ui-heatmap-table"
608
610
  }, [
609
611
  u("div", {
610
612
  style: "width:100%;overflow-x:auto;padding-top:36px;position:relative",
611
- class: U({ "vue-ui-responsive": ie.value })
613
+ class: U({ "vue-ui-responsive": re.value })
612
614
  }, [
613
615
  u("div", {
614
616
  role: "button",
@@ -617,18 +619,18 @@ const et = ["id"], tt = {
617
619
  onClick: a[1] || (a[1] = (o) => w.value.showTable = !1),
618
620
  onKeypress: a[2] || (a[2] = Oe((o) => w.value.showTable = !1, ["enter"]))
619
621
  }, [
620
- me(Je, {
622
+ le(Je, {
621
623
  name: "close",
622
624
  stroke: e.value.table.th.color,
623
625
  "stroke-width": 2
624
626
  }, null, 8, ["stroke"])
625
627
  ], 36),
626
- u("table", Nt, [
628
+ u("table", Ot, [
627
629
  u("caption", {
628
630
  style: m(`backgroundColor:${e.value.table.th.backgroundColor};color:${e.value.table.th.color};outline:${e.value.table.th.outline}`)
629
631
  }, [
630
632
  Fe(f(e.value.style.title.text) + " ", 1),
631
- e.value.style.title.subtitle.text ? (s(), n("span", Ot, f(e.value.style.title.subtitle.text), 1)) : c("", !0)
633
+ e.value.style.title.subtitle.text ? (s(), n("span", Ft, f(e.value.style.title.subtitle.text), 1)) : c("", !0)
632
634
  ], 4),
633
635
  u("thead", null, [
634
636
  u("tr", {
@@ -655,15 +657,15 @@ const et = ["id"], tt = {
655
657
  class: "vue-ui-data-table__tbody__td",
656
658
  style: m(`outline:${e.value.table.td.outline}`)
657
659
  }, [
658
- u("div", Vt, f(o), 1)
659
- ], 12, Ft),
660
+ u("div", Pt, f(o), 1)
661
+ ], 12, Vt),
660
662
  (s(!0), n(A, null, S(G.dataset, (y, g) => (s(), n("td", {
661
663
  class: "vue-ui-data-table__tbody__td",
662
664
  "data-cell": G.dataset[g].name,
663
665
  style: m(`outline:${e.value.table.td.outline}`)
664
666
  }, [
665
- u("div", It, f(isNaN(y.values[v]) ? "-" : i(N)({ p: e.value.style.layout.dataLabels.prefix, v: y.values[v], s: e.value.style.layout.dataLabels.suffix, r: e.value.table.td.roundingValue })), 1)
666
- ], 12, Pt))), 256))
667
+ u("div", Bt, f(isNaN(y.values[v]) ? "-" : i(N)({ p: e.value.style.layout.dataLabels.prefix, v: y.values[v], s: e.value.style.layout.dataLabels.suffix, r: e.value.table.td.roundingValue })), 1)
668
+ ], 12, It))), 256))
667
669
  ], 6))), 256))
668
670
  ])
669
671
  ])
@@ -672,9 +674,9 @@ const et = ["id"], tt = {
672
674
  ]),
673
675
  _: 1
674
676
  }, 8, ["config"])) : c("", !0)
675
- ], 14, et));
677
+ ], 14, tt));
676
678
  }
677
- }, qt = /* @__PURE__ */ Ze(Bt, [["__scopeId", "data-v-ba280e32"]]);
679
+ }, Jt = /* @__PURE__ */ et(Rt, [["__scopeId", "data-v-c67467bd"]]);
678
680
  export {
679
- qt as default
681
+ Jt as default
680
682
  };
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),o=require("./index-D09qCApg.cjs"),ne=require("./Title-Bjrh7khe.cjs"),J=require("./usePrinter-DdsPm5a4.cjs"),re=require("./Tooltip-CPATjuur.cjs"),ie=require("./vue-ui-skeleton-CAlTn_Cg.cjs"),de=require("./BaseIcon-dYWMubrH.cjs"),ce=require("./vue-ui-accordion-BAHX7KzB.cjs"),Q=require("./useNestedProp-Bwd7mK1Z.cjs"),ve=require("./PackageVersion-BkgJVmj1.cjs"),ye=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),pe=["id"],he={key:0,style:"width:100%;background:transparent"},ge=["xmlns","viewBox"],fe=["x","y","width","height","fill","stroke","stroke-width"],me=["x","y","width","height","fill","stroke","stroke-width"],be=["font-size","font-weight","fill","x","y"],xe=["x","y","width","height","onMouseover"],ke={key:0},we=["font-size","fill","x","y","font-weight"],_e={key:0},Ce=["text-anchor","font-size","fill","font-weight","transform"],Ne={key:1},Le=["x","y","width","height","stroke","stroke-width"],Be={key:2},Ve=["id"],$e=["stop-color"],Ee=["stop-color"],Se=["x","y","font-size","fill"],ze=["x","y","height","rx","fill"],Ae=["x","y","font-size","fill"],Te=["stroke","x1","x2","y1","y2"],Me=["fill","d"],Pe={key:3},Fe={id:"colorScaleHorizontal",x1:"0%",x2:"100%",y1:"0%",y2:"0%"},Oe=["stop-color"],De=["stop-color"],Ie=["x","y","width","height","rx"],Re=["x","y","font-size","fill"],qe=["x","y","font-size","fill"],He=["stroke","x1","x2","y1","y2"],Ue=["fill","d"],Ge={key:3,class:"vue-data-ui-watermark"},Xe={class:"vue-ui-data-table"},je={key:0},Ye=["data-cell"],We={style:{display:"flex","align-items":"center",gap:"5px","justify-content":"flex-end",width:"100%","padding-right":"3px"}},Ke=["data-cell"],Je={style:{display:"flex","align-items":"center",gap:"5px","justify-content":"flex-end",width:"100%","padding-right":"3px"}},Qe={__name:"vue-ui-heatmap",props:{config:{type:Object,default(){return{}}},dataset:{type:Array,default(){return[]}}},setup(B,{expose:Z}){const n=B;e.useCssVars(l=>({"1678b056":l.tdo}));const{vue_ui_heatmap:ee}=o.useConfig(),V=e.computed(()=>!!n.dataset&&n.dataset.length);o.objectIsEmpty(n.dataset)&&o.error({componentName:"VueUiHeatmap",type:"dataset"});const k=e.ref(o.createUid()),S=e.ref(null),te=e.ref(null),z=e.ref(!1),A=e.ref(""),O=e.ref(void 0),w=e.ref(null),D=e.ref(0),I=e.ref(null),R=e.ref(!1),q=e.ref(0),t=e.computed({get:()=>H(),set:l=>l});function H(){const l=Q.useNestedProp({userConfig:n.config,defaultConfig:ee});let s={};return l.theme?s={...Q.useNestedProp({userConfig:o.themes.vue_ui_heatmap[l.theme]||n.config,defaultConfig:l})}:s=l,n.config&&o.hasDeepProperty(n.config,"style.layout.dataLabels.xAxis.showOnlyAtModulo")?s.style.layout.dataLabels.xAxis.showOnlyAtModulo=n.config.style.layout.dataLabels.xAxis.showOnlyAtModulo:s.style.layout.dataLabels.xAxis.showOnlyAtModulo=null,s}e.watch(()=>n.config,l=>{t.value=H(),T(),q.value+=1},{deep:!0}),e.watch(()=>n.dataset,()=>{T()},{deep:!0});const{isPrinting:U,isImaging:G,generatePdf:X,generateImage:j}=J.usePrinter({elementId:`heatmap__${k.value}`,fileName:t.value.style.title.text||"vue-ui-heatmap"}),y=e.ref({showTable:t.value.table.show,showTooltip:t.value.style.tooltip.show}),le=e.computed(()=>t.value.table.responsiveBreakpoint);function ae(){new ResizeObserver(s=>{s.forEach(u=>{R.value=u.contentRect.width<le.value})}).observe(I.value)}e.onMounted(T);function T(){ae()}const x=e.computed(()=>Math.max(...n.dataset.flatMap(l=>(l.values||[]).length))),p=e.computed(()=>{const l=t.value.style.layout.padding.top+t.value.style.layout.padding.bottom+n.dataset.length*t.value.style.layout.cells.height,s=t.value.style.layout.padding.left+t.value.style.layout.padding.right+(x.value<n.dataset.length?n.dataset.length:x.value)*t.value.style.layout.cells.height,u=l+(t.value.style.legend.show?t.value.style.legend.position==="right"?0:t.value.style.layout.cells.height*2:0);return{height:l,heightWithLegend:u,width:s}}),$=e.computed(()=>t.value.style.legend.position),a=e.computed(()=>({top:t.value.style.layout.padding.top,left:t.value.style.layout.padding.left,right:p.value.width-t.value.style.layout.padding.right-($.value==="right"&&t.value.style.legend.show?92:0),bottom:p.value.height-t.value.style.layout.padding.bottom,height:p.value.height-t.value.style.layout.padding.top-t.value.style.layout.padding.bottom,width:p.value.width-t.value.style.layout.padding.right-t.value.style.layout.padding.left-($.value==="right"&&t.value.style.legend.show?92:0)})),M=e.computed(()=>i.value.height*n.dataset.length),v=e.computed(()=>Math.max(...n.dataset.flatMap(l=>l.values))),m=e.computed(()=>Math.min(...n.dataset.flatMap(l=>l.values))),b=e.computed(()=>{const l=n.dataset.flatMap(u=>u.values);return l.reduce((u,r)=>u+r,0)/l.length}),i=e.computed(()=>({width:a.value.width/x.value,height:a.value.width/(x.value<n.dataset.length?n.dataset.length:x.value)})),h=e.computed(()=>{const l=t.value.style.layout.dataLabels.yAxis.values.length?t.value.style.layout.dataLabels.yAxis.values:n.dataset.map(u=>u.name),s=t.value.style.layout.dataLabels.xAxis.values;return{yLabels:l,xLabels:s.slice(0,x.value)}}),E=e.computed(()=>(n.dataset.forEach((l,s)=>{o.getMissingDatasetAttributes({datasetObject:l,requiredAttributes:["values"]}).forEach(u=>{o.error({componentName:"VueUiHeatmap",type:"datasetSerieAttribute",property:"values",index:s})})}),n.dataset.map(l=>({...l,temperatures:(l.values||[]).map((s,u)=>s>=b.value?{side:"up",color:o.interpolateColorHex(t.value.style.layout.cells.colors.cold,t.value.style.layout.cells.colors.hot,m.value,v.value,s),ratio:Math.abs(Math.abs(s-b.value)/Math.abs(v.value-b.value))>1?1:Math.abs(Math.abs(s-b.value)/Math.abs(v.value-b.value)),value:s,yAxisName:l.name,xAxisName:h.value.xLabels[u],id:`vue-data-ui-heatmap-cell-${o.createUid()}`}:{side:"down",ratio:Math.abs(1-Math.abs(s)/Math.abs(b.value))>1?1:Math.abs(1-Math.abs(s)/Math.abs(b.value)),color:o.interpolateColorHex(t.value.style.layout.cells.colors.cold,t.value.style.layout.cells.colors.hot,m.value,v.value,s),value:s,yAxisName:l.name,xAxisName:h.value.xLabels[u],id:`vue-data-ui-heatmap-cell-${o.createUid()}`})})))),g=e.ref(null),_=e.ref(null);function oe(l,s,u,r){w.value={x:u,y:r};const{value:d,yAxisName:c,xAxisName:f,id:ue}=l;O.value=ue,g.value=d,_.value={datapoint:l,seriesIndex:s,series:E.value,config:t.value},z.value=!0;let P="";const F=t.value.style.tooltip.customFormat;o.isFunction(F)&&o.functionReturnsString(()=>F({datapoint:l,seriesIndex:s,series:E.value,config:t.value}))?A.value=F({datapoint:l,seriesIndex:s,series:E.value,config:t.value}):(P+=`<div>${c} ${f?`${f}`:""}</div>`,P+=`<div style="margin-top:6px;padding-top:6px;border-top:1px solid ${t.value.style.tooltip.borderColor};font-weight:bold;display:flex;flex-direction:row;gap:12px;align-items:center;justify-content:center"><span style="color:${o.interpolateColorHex(t.value.style.layout.cells.colors.cold,t.value.style.layout.cells.colors.hot,m.value,v.value,d)}">⬤</span><span>${isNaN(d)?"-":o.applyDataLabel(t.value.style.layout.cells.value.formatter,d,o.dataLabel({p:t.value.style.layout.dataLabels.prefix,v:d,s:t.value.style.layout.dataLabels.suffix,r:t.value.style.tooltip.roundingValue}),{datapoint:l,seriesIndex:s})}</span></div>`,A.value=`<div style="font-size:${t.value.style.tooltip.fontSize}px">${P}</div>`)}const C=e.computed(()=>a.value.top+M.value*(1-g.value/v.value)),N=e.computed(()=>a.value.left+(p.value.width-a.value.left-t.value.style.layout.padding.right)*(g.value/v.value));e.computed(()=>{const l=n.dataset.map(u=>({name:u.name})),s=n.dataset.map(u=>u.values);return{head:l,body:s}});function Y(){e.nextTick(()=>{const l=["",...n.dataset.map((d,c)=>d.name)],s=[];for(let d=0;d<h.value.xLabels.length;d+=1){const c=[h.value.xLabels[d]];for(let f=0;f<n.dataset.length;f+=1)c.push([n.dataset[f].values[d]]);s.push(c)}const u=[[t.value.style.title.text],[t.value.style.title.subtitle.text],[[""],[""],[""]]].concat([l]).concat(s),r=o.createCsvContent(u);o.downloadCsv({csvContent:r,title:t.value.style.title.text||"vue-ui-heatmap"})})}const L=e.ref(!1);function se(l){L.value=l,D.value+=1}function W(){y.value.showTable=!y.value.showTable}function K(){y.value.showTooltip=!y.value.showTooltip}return Z({generatePdf:X,generateCsv:Y,generateImage:j,toggleTable:W,toggleTooltip:K}),(l,s)=>(e.openBlock(),e.createElementBlock("div",{ref_key:"heatmapChart",ref:S,class:e.normalizeClass(`vue-ui-heatmap ${L.value?"vue-data-ui-wrapper-fullscreen":""}`),style:e.normalizeStyle(`font-family:${t.value.style.fontFamily};width:100%; text-align:center;${t.value.style.title.text?"":"padding-top:36px"};background:${t.value.style.backgroundColor}`),id:`heatmap__${k.value}`},[t.value.style.title.text?(e.openBlock(),e.createElementBlock("div",he,[(e.openBlock(),e.createBlock(ne._sfc_main,{key:`title_${q.value}`,config:{title:{cy:"heatmap-div-title",...t.value.style.title},subtitle:{cy:"heatmap-div-subtitle",...t.value.style.title.subtitle}}},null,8,["config"]))])):e.createCommentVNode("",!0),t.value.userOptions.show&&V.value?(e.openBlock(),e.createBlock(J.UserOptions,{ref_key:"details",ref:te,key:`user_options_${D.value}`,backgroundColor:t.value.style.backgroundColor,color:t.value.style.color,isImaging:e.unref(G),isPrinting:e.unref(U),uid:k.value,hasTooltip:t.value.userOptions.buttons.tooltip&&t.value.style.tooltip.show,hasPdf:t.value.userOptions.buttons.pdf,hasImg:t.value.userOptions.buttons.img,hasXls:t.value.userOptions.buttons.csv,hasTable:t.value.userOptions.buttons.table,hasFullscreen:t.value.userOptions.buttons.fullscreen,isFullscreen:L.value,isTooltip:y.value.showTooltip,titles:{...t.value.userOptions.buttonTitles},chartElement:S.value,position:t.value.userOptions.position,onToggleFullscreen:se,onGeneratePdf:e.unref(X),onGenerateCsv:Y,onGenerateImage:e.unref(j),onToggleTable:W,onToggleTooltip:K},e.createSlots({_:2},[l.$slots.optionTooltip?{name:"optionTooltip",fn:e.withCtx(()=>[e.renderSlot(l.$slots,"optionTooltip",{},void 0,!0)]),key:"0"}:void 0,l.$slots.optionPdf?{name:"optionPdf",fn:e.withCtx(()=>[e.renderSlot(l.$slots,"optionPdf",{},void 0,!0)]),key:"1"}:void 0,l.$slots.optionCsv?{name:"optionCsv",fn:e.withCtx(()=>[e.renderSlot(l.$slots,"optionCsv",{},void 0,!0)]),key:"2"}:void 0,l.$slots.optionImg?{name:"optionImg",fn:e.withCtx(()=>[e.renderSlot(l.$slots,"optionImg",{},void 0,!0)]),key:"3"}:void 0,l.$slots.optionTable?{name:"optionTable",fn:e.withCtx(()=>[e.renderSlot(l.$slots,"optionTable",{},void 0,!0)]),key:"4"}:void 0,l.$slots.optionFullscreen?{name:"optionFullscreen",fn:e.withCtx(({toggleFullscreen:u,isFullscreen:r})=>[e.renderSlot(l.$slots,"optionFullscreen",e.normalizeProps(e.guardReactiveProps({toggleFullscreen:u,isFullscreen:r})),void 0,!0)]),key:"5"}:void 0]),1032,["backgroundColor","color","isImaging","isPrinting","uid","hasTooltip","hasPdf","hasImg","hasXls","hasTable","hasFullscreen","isFullscreen","isTooltip","titles","chartElement","position","onGeneratePdf","onGenerateImage"])):e.createCommentVNode("",!0),V.value?(e.openBlock(),e.createElementBlock("svg",{key:2,xmlns:e.unref(o.XMLNS),class:e.normalizeClass({"vue-data-ui-fullscreen--on":L.value,"vue-data-ui-fulscreen--off":!L.value}),viewBox:`0 0 ${p.value.width} ${p.value.heightWithLegend}`,style:e.normalizeStyle(`max-width:100%;overflow:visible;background:transparent;color:${t.value.style.color}`)},[e.createVNode(ve._sfc_main),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(E.value,(u,r)=>(e.openBlock(),e.createElementBlock("g",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(u.temperatures,(d,c)=>(e.openBlock(),e.createElementBlock("g",null,[e.createElementVNode("rect",{x:a.value.left+i.value.width*c+t.value.style.layout.cells.spacing/2,y:a.value.top+i.value.height*r+t.value.style.layout.cells.spacing/2,width:i.value.width-t.value.style.layout.cells.spacing,height:i.value.height-t.value.style.layout.cells.spacing,fill:t.value.style.layout.cells.colors.underlayer,stroke:t.value.style.backgroundColor,"stroke-width":t.value.style.layout.cells.spacing},null,8,fe),e.createElementVNode("rect",{x:a.value.left+i.value.width*c+t.value.style.layout.cells.spacing/2,y:a.value.top+i.value.height*r+t.value.style.layout.cells.spacing/2,width:i.value.width-t.value.style.layout.cells.spacing,height:i.value.height-t.value.style.layout.cells.spacing,fill:d.color,stroke:t.value.style.backgroundColor,"stroke-width":t.value.style.layout.cells.spacing},null,8,me),t.value.style.layout.cells.value.show?(e.openBlock(),e.createElementBlock("text",{key:0,"text-anchor":"middle","font-size":t.value.style.layout.cells.value.fontSize,"font-weight":t.value.style.layout.cells.value.bold?"bold":"normal",fill:e.unref(o.adaptColorToBackground)(d.color),x:a.value.left+i.value.width*c+i.value.width/2,y:a.value.top+i.value.height*r+i.value.height/2+t.value.style.layout.cells.value.fontSize/3},e.toDisplayString(e.unref(o.applyDataLabel)(t.value.style.layout.cells.value.formatter,d.value,e.unref(o.dataLabel)({p:t.value.style.layout.dataLabels.prefix,v:d.value,s:t.value.style.layout.dataLabels.suffix,r:t.value.style.layout.cells.value.roundingValue}),{datapoint:d})),9,be)):e.createCommentVNode("",!0)]))),256)),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(u.temperatures,(d,c)=>(e.openBlock(),e.createElementBlock("g",null,[e.createElementVNode("rect",{x:a.value.left+i.value.width*c,y:a.value.top+i.value.height*r,width:i.value.width,height:i.value.height,fill:"transparent",stroke:"none",onMouseover:f=>oe(d,r,a.value.left+i.value.width*c,a.value.top+i.value.height*r),onMouseout:s[0]||(s[0]=f=>{z.value=!1,O.value=void 0,g.value=null,w.value=null})},null,40,xe)]))),256)),t.value.style.layout.dataLabels.yAxis.show?(e.openBlock(),e.createElementBlock("g",ke,[e.createElementVNode("text",{"font-size":t.value.style.layout.dataLabels.yAxis.fontSize,fill:t.value.style.layout.dataLabels.yAxis.color,x:a.value.left+t.value.style.layout.dataLabels.yAxis.offsetX-6,y:a.value.top+i.value.height*r+i.value.height/2+t.value.style.layout.dataLabels.yAxis.fontSize/3+t.value.style.layout.dataLabels.yAxis.offsetY,"text-anchor":"end","font-weight":t.value.style.layout.dataLabels.yAxis.bold?"bold":"normal"},e.toDisplayString(h.value.yLabels[r]),9,we)])):e.createCommentVNode("",!0)]))),256)),t.value.style.layout.dataLabels.xAxis.show?(e.openBlock(),e.createElementBlock("g",_e,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(h.value.xLabels,(u,r)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[!t.value.style.layout.dataLabels.xAxis.showOnlyAtModulo||t.value.style.layout.dataLabels.xAxis.showOnlyAtModulo&&r%t.value.style.layout.dataLabels.xAxis.showOnlyAtModulo===0?(e.openBlock(),e.createElementBlock("text",{key:0,"text-anchor":t.value.style.layout.dataLabels.xAxis.rotation===0?"middle":t.value.style.layout.dataLabels.xAxis.rotation<0?"start":"end","font-size":t.value.style.layout.dataLabels.xAxis.fontSize,fill:t.value.style.layout.dataLabels.xAxis.color,"font-weight":t.value.style.layout.dataLabels.xAxis.bold?"bold":"normal",transform:`translate(${a.value.left+i.value.width/2+a.value.width/h.value.xLabels.length*r+t.value.style.layout.dataLabels.xAxis.offsetX}, ${a.value.top+t.value.style.layout.dataLabels.xAxis.offsetY-6}), rotate(${t.value.style.layout.dataLabels.xAxis.rotation})`},e.toDisplayString(u),9,Ce)):e.createCommentVNode("",!0)],64))),256))])):e.createCommentVNode("",!0),w.value?(e.openBlock(),e.createElementBlock("g",Ne,[e.createElementVNode("rect",{style:{"pointer-events":"none"},x:w.value.x-t.value.style.layout.cells.selected.border/2+t.value.style.layout.cells.spacing,y:w.value.y-t.value.style.layout.cells.selected.border/2+t.value.style.layout.cells.spacing,width:i.value.width-t.value.style.layout.cells.spacing+t.value.style.layout.cells.selected.border-t.value.style.layout.cells.spacing,height:i.value.height-t.value.style.layout.cells.spacing+t.value.style.layout.cells.selected.border-t.value.style.layout.cells.spacing,fill:"transparent",stroke:t.value.style.layout.cells.selected.color,"stroke-width":t.value.style.layout.cells.selected.border,rx:1},null,8,Le)])):e.createCommentVNode("",!0),t.value.style.legend.show&&$.value==="right"?(e.openBlock(),e.createElementBlock("g",Be,[e.createElementVNode("defs",null,[e.createElementVNode("linearGradient",{id:`colorScaleVertical_${k.value}`,x2:"0%",y2:"100%"},[e.createElementVNode("stop",{offset:"0%","stop-color":t.value.style.layout.cells.colors.hot},null,8,$e),e.createElementVNode("stop",{offset:"100%","stop-color":t.value.style.layout.cells.colors.cold},null,8,Ee)],8,Ve)]),e.createElementVNode("text",{x:a.value.right+36+18,y:a.value.top-t.value.style.legend.fontSize*1.5,"text-anchor":"middle","font-size":t.value.style.legend.fontSize*2,fill:t.value.style.legend.color},e.toDisplayString(e.unref(o.applyDataLabel)(t.value.style.layout.cells.value.formatter,e.unref(o.checkNaN)(v.value),e.unref(o.dataLabel)({p:t.value.style.layout.dataLabels.prefix,v:e.unref(o.checkNaN)(v.value),s:t.value.style.layout.dataLabels.suffix,r:t.value.style.legend.roundingValue}))),9,Se),e.createElementVNode("rect",{x:a.value.right+36,y:a.value.top,width:36,height:M.value,rx:t.value.style.legend.scaleBorderRadius,fill:`url(#colorScaleVertical_${k.value})`},null,8,ze),e.createElementVNode("text",{x:a.value.right+36+18,y:a.value.top+M.value+t.value.style.legend.fontSize*2.5,"text-anchor":"middle","font-size":t.value.style.legend.fontSize*2,fill:t.value.style.legend.color},e.toDisplayString(e.unref(o.applyDataLabel)(t.value.style.layout.cells.value.formatter,e.unref(o.checkNaN)(m.value),e.unref(o.dataLabel)({p:t.value.style.layout.dataLabels.prefix,v:e.unref(o.checkNaN)(m.value),s:t.value.style.layout.dataLabels.suffix,r:t.value.style.legend.roundingValue}))),9,Ae),g.value!==null?(e.openBlock(),e.createElementBlock("line",{key:0,stroke:e.unref(o.adaptColorToBackground)(_.value.datapoint.color),"stroke-width":"2",x1:a.value.right+36,x2:a.value.right+72,y1:C.value,y2:C.value},null,8,Te)):e.createCommentVNode("",!0),g.value!==null?(e.openBlock(),e.createElementBlock("path",{key:1,fill:t.value.style.color,stroke:"none",d:`M ${a.value.right+36},${C.value} ${a.value.right+26},${C.value-8} ${a.value.right+26},${C.value+8}z`},null,8,Me)):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0),t.value.style.legend.show&&$.value==="bottom"?(e.openBlock(),e.createElementBlock("g",Pe,[e.createElementVNode("defs",null,[e.createElementVNode("linearGradient",Fe,[e.createElementVNode("stop",{offset:"0%","stop-color":t.value.style.layout.cells.colors.cold},null,8,Oe),e.createElementVNode("stop",{offset:"100%","stop-color":t.value.style.layout.cells.colors.hot},null,8,De)])]),e.createElementVNode("rect",{x:a.value.left,y:a.value.bottom+t.value.style.layout.cells.height,width:p.value.width-a.value.left-t.value.style.layout.padding.right,height:t.value.style.layout.cells.height,rx:t.value.style.legend.scaleBorderRadius>t.value.style.layout.cells.height/2?t.value.style.layout.cells.height/2:t.value.style.legend.scaleBorderRadius,fill:"url(#colorScaleHorizontal)"},null,8,Ie),e.createElementVNode("text",{x:a.value.left,y:a.value.bottom+t.value.style.layout.cells.height*2+t.value.style.legend.fontSize*2,"text-anchor":"start","font-size":t.value.style.legend.fontSize*2,fill:t.value.style.legend.color},e.toDisplayString(e.unref(o.applyDataLabel)(t.value.style.layout.cells.value.formatter,e.unref(o.checkNaN)(m.value),e.unref(o.dataLabel)({p:t.value.style.layout.dataLabels.prefix,v:e.unref(o.checkNaN)(m.value),s:t.value.style.layout.dataLabels.suffix,r:t.value.style.legend.roundingValue}))),9,Re),e.createElementVNode("text",{x:a.value.right,y:a.value.bottom+t.value.style.layout.cells.height*2+t.value.style.legend.fontSize*2,"text-anchor":"end","font-size":t.value.style.legend.fontSize*2,fill:t.value.style.legend.color},e.toDisplayString(e.unref(o.applyDataLabel)(t.value.style.layout.cells.value.formatter,e.unref(o.checkNaN)(v.value),e.unref(o.dataLabel)({p:t.value.style.layout.dataLabels.prefix,v:e.unref(o.checkNaN)(v.value),s:t.value.style.layout.dataLabels.suffix,r:t.value.style.legend.roundingValue}))),9,qe),g.value!==null?(e.openBlock(),e.createElementBlock("line",{key:0,stroke:e.unref(o.adaptColorToBackground)(_.value.datapoint.color),"stroke-width":"2",x1:N.value,x2:N.value,y1:a.value.bottom+t.value.style.layout.cells.height,y2:a.value.bottom+t.value.style.layout.cells.height*2},null,8,He)):e.createCommentVNode("",!0),g.value!==null?(e.openBlock(),e.createElementBlock("path",{key:1,fill:t.value.style.color,stroke:"none",d:`M ${N.value},${a.value.bottom+t.value.style.layout.cells.height} ${N.value-12},${a.value.bottom+t.value.style.layout.cells.height-20} ${N.value+12},${a.value.bottom+t.value.style.layout.cells.height-20}z`},null,8,Ue)):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0),e.renderSlot(l.$slots,"svg",{svg:p.value},void 0,!0)],14,ge)):e.createCommentVNode("",!0),l.$slots.watermark?(e.openBlock(),e.createElementBlock("div",Ge,[e.renderSlot(l.$slots,"watermark",e.normalizeProps(e.guardReactiveProps({isPrinting:e.unref(U)||e.unref(G)})),void 0,!0)])):e.createCommentVNode("",!0),V.value?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(ie.default,{key:4,config:{type:"heatmap",style:{backgroundColor:t.value.style.backgroundColor,heatmap:{color:"#CCCCCC"}}}},null,8,["config"])),e.createVNode(re._sfc_main,{show:y.value.showTooltip&&z.value,backgroundColor:t.value.style.tooltip.backgroundColor,color:t.value.style.tooltip.color,borderRadius:t.value.style.tooltip.borderRadius,borderColor:t.value.style.tooltip.borderColor,borderWidth:t.value.style.tooltip.borderWidth,fontSize:t.value.style.tooltip.fontSize,backgroundOpacity:t.value.style.tooltip.backgroundOpacity,position:t.value.style.tooltip.position,offsetY:t.value.style.tooltip.offsetY,parent:S.value,content:A.value,isCustom:t.value.style.tooltip.customFormat&&typeof t.value.style.tooltip.customFormat=="function"},{"tooltip-before":e.withCtx(()=>[e.renderSlot(l.$slots,"tooltip-before",e.normalizeProps(e.guardReactiveProps({..._.value})),void 0,!0)]),"tooltip-after":e.withCtx(()=>[e.renderSlot(l.$slots,"tooltip-after",e.normalizeProps(e.guardReactiveProps({..._.value})),void 0,!0)]),_:3},8,["show","backgroundColor","color","borderRadius","borderColor","borderWidth","fontSize","backgroundOpacity","position","offsetY","parent","content","isCustom"]),V.value?(e.openBlock(),e.createBlock(ce.default,{key:5,hideDetails:"",config:{open:y.value.showTable,maxHeight:1e4,body:{backgroundColor:t.value.style.backgroundColor,color:t.value.style.color},head:{backgroundColor:t.value.style.backgroundColor,color:t.value.style.color}}},{content:e.withCtx(()=>[e.createElementVNode("div",{ref_key:"tableContainer",ref:I,class:"vue-ui-heatmap-table"},[e.createElementVNode("div",{style:"width:100%;overflow-x:auto;padding-top:36px;position:relative",class:e.normalizeClass({"vue-ui-responsive":R.value})},[e.createElementVNode("div",{role:"button",tabindex:"0",style:e.normalizeStyle(`width:32px; position: absolute; top: 0; left:4px; padding: 0 0px; display: flex; align-items:center;justify-content:center;height: 36px; width: 32px; cursor:pointer; background:${t.value.table.th.backgroundColor};`),onClick:s[1]||(s[1]=u=>y.value.showTable=!1),onKeypress:s[2]||(s[2]=e.withKeys(u=>y.value.showTable=!1,["enter"]))},[e.createVNode(de.default,{name:"close",stroke:t.value.table.th.color,"stroke-width":2},null,8,["stroke"])],36),e.createElementVNode("table",Xe,[e.createElementVNode("caption",{style:e.normalizeStyle(`backgroundColor:${t.value.table.th.backgroundColor};color:${t.value.table.th.color};outline:${t.value.table.th.outline}`)},[e.createTextVNode(e.toDisplayString(t.value.style.title.text)+" ",1),t.value.style.title.subtitle.text?(e.openBlock(),e.createElementBlock("span",je,e.toDisplayString(t.value.style.title.subtitle.text),1)):e.createCommentVNode("",!0)],4),e.createElementVNode("thead",null,[e.createElementVNode("tr",{role:"row",style:e.normalizeStyle(`background:${t.value.table.th.backgroundColor};color:${t.value.table.th.color}`)},[e.createElementVNode("th",{style:e.normalizeStyle(`outline:${t.value.table.th.outline};padding-right:6px`)},null,4),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(B.dataset,(u,r)=>(e.openBlock(),e.createElementBlock("th",{align:"right",style:e.normalizeStyle(`outline:${t.value.table.th.outline};padding-right:6px`)},e.toDisplayString(u.name),5))),256))],4)]),e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(h.value.xLabels,(u,r)=>(e.openBlock(),e.createElementBlock("tr",{role:"row",class:e.normalizeClass({"vue-ui-data-table__tbody__row":!0,"vue-ui-data-table__tbody__row-even":r%2===0,"vue-ui-data-table__tbody__row-odd":r%2!==0}),style:e.normalizeStyle(`background:${t.value.table.td.backgroundColor};color:${t.value.table.td.color}`)},[e.createElementVNode("td",{"data-cell":t.value.table.colNames.xAxis,class:"vue-ui-data-table__tbody__td",style:e.normalizeStyle(`outline:${t.value.table.td.outline}`)},[e.createElementVNode("div",We,e.toDisplayString(u),1)],12,Ye),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(B.dataset,(d,c)=>(e.openBlock(),e.createElementBlock("td",{class:"vue-ui-data-table__tbody__td","data-cell":B.dataset[c].name,style:e.normalizeStyle(`outline:${t.value.table.td.outline}`)},[e.createElementVNode("div",Je,e.toDisplayString(isNaN(d.values[r])?"-":e.unref(o.dataLabel)({p:t.value.style.layout.dataLabels.prefix,v:d.values[r],s:t.value.style.layout.dataLabels.suffix,r:t.value.table.td.roundingValue})),1)],12,Ke))),256))],6))),256))])])],2)],512)]),_:1},8,["config"])):e.createCommentVNode("",!0)],14,pe))}},Ze=ye._export_sfc(Qe,[["__scopeId","data-v-c67467bd"]]);exports.default=Ze;
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("vue"),g=require("./useNestedProp-DlCe_zZz.cjs"),u=require("./index-B8EMsnjU.cjs"),p=require("./vue-ui-digits-3Q6uZCzD.cjs"),y={__name:"vue-ui-kpi",props:{config:{type:Object,default(){return{}}},dataset:{type:Number,default:0}},setup(n){const o=n,{vue_ui_kpi:m}=u.useConfig(),e=a.computed({get:()=>i(),set:t=>t});function i(){return g.useNestedProp({userConfig:o.config,defaultConfig:m})}a.watch(()=>o.config,t=>{e.value=i(),r()},{deep:!0});const f=a.ref((typeof o.dataset=="number",o.dataset)),l=a.ref(e.value.useAnimation?e.value.animationValueStart:f.value),s=t=>{const v=e.value.animationFrames,c=Math.abs(t-l.value)/v;function d(){l.value<t?l.value=Math.min(l.value+c,t):l.value>t&&(l.value=Math.max(l.value-c,t)),l.value!==t&&requestAnimationFrame(d)}d()};a.onMounted(()=>{r()});function r(){e.value.useAnimation?(l.value=e.value.animationValueStart,s(o.dataset)):l.value=o.dataset}return a.watch(()=>o.dataset,t=>{e.value.useAnimation?s(t):l.value=t}),(t,v)=>(a.openBlock(),a.createElementBlock("div",{class:a.normalizeClass(`vue-ui-kpi ${e.value.layoutClass}`),style:a.normalizeStyle(`background:${e.value.backgroundColor}; ${e.value.layoutCss}`)},[a.createElementVNode("div",{class:a.normalizeClass(`vue-ui-kpi-title ${e.value.titleClass}`),style:a.normalizeStyle(`font-family: ${e.value.fontFamily}; font-size:${e.value.titleFontSize}px; color:${e.value.titleColor}; font-weight:${e.value.titleBold?"bold":"normal"}; ${e.value.titleCss}`)},[a.renderSlot(t.$slots,"title",{comment:n.dataset}),a.createTextVNode(" "+a.toDisplayString(e.value.title),1)],6),a.renderSlot(t.$slots,"comment-before",{comment:n.dataset}),a.createElementVNode("div",{class:a.normalizeClass(`vue-ui-kpi-value ${e.value.valueClass}`),style:a.normalizeStyle(`font-family: ${e.value.fontFamily}; font-size:${e.value.valueFontSize}px; color:${e.value.valueColor}; font-weight:${e.value.valueBold?"bold":"normal"}; ${e.value.valueCss}`)},[a.renderSlot(t.$slots,"value",{comment:n.dataset}),e.value.analogDigits.show?(a.openBlock(),a.createElementBlock("div",{key:0,style:a.normalizeStyle({height:e.value.analogDigits.height+"px"})},[a.createVNode(p.default,{dataset:Number(l.value.toFixed(e.value.valueRounding)),config:{backgroundColor:e.value.backgroundColor,digits:{color:e.value.analogDigits.color,skeletonColor:e.value.analogDigits.skeletonColor}}},null,8,["dataset","config"])],4)):(a.openBlock(),a.createElementBlock(a.Fragment,{key:1},[a.createTextVNode(a.toDisplayString(a.unref(u.applyDataLabel)(e.value.formatter,l.value,a.unref(u.dataLabel)({p:e.value.prefix,v:l.value,s:e.value.suffix,r:e.value.valueRounding}))),1)],64))],6),a.renderSlot(t.$slots,"comment-after",{comment:n.dataset})],6))}};exports.default=y;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("vue"),g=require("./useNestedProp-Bwd7mK1Z.cjs"),u=require("./index-D09qCApg.cjs"),p=require("./vue-ui-digits-wmDN7Vkf.cjs"),y={__name:"vue-ui-kpi",props:{config:{type:Object,default(){return{}}},dataset:{type:Number,default:0}},setup(n){const o=n,{vue_ui_kpi:m}=u.useConfig(),e=a.computed({get:()=>i(),set:t=>t});function i(){return g.useNestedProp({userConfig:o.config,defaultConfig:m})}a.watch(()=>o.config,t=>{e.value=i(),r()},{deep:!0});const f=a.ref((typeof o.dataset=="number",o.dataset)),l=a.ref(e.value.useAnimation?e.value.animationValueStart:f.value),s=t=>{const v=e.value.animationFrames,c=Math.abs(t-l.value)/v;function d(){l.value<t?l.value=Math.min(l.value+c,t):l.value>t&&(l.value=Math.max(l.value-c,t)),l.value!==t&&requestAnimationFrame(d)}d()};a.onMounted(()=>{r()});function r(){e.value.useAnimation?(l.value=e.value.animationValueStart,s(o.dataset)):l.value=o.dataset}return a.watch(()=>o.dataset,t=>{e.value.useAnimation?s(t):l.value=t}),(t,v)=>(a.openBlock(),a.createElementBlock("div",{class:a.normalizeClass(`vue-ui-kpi ${e.value.layoutClass}`),style:a.normalizeStyle(`background:${e.value.backgroundColor}; ${e.value.layoutCss}`)},[a.createElementVNode("div",{class:a.normalizeClass(`vue-ui-kpi-title ${e.value.titleClass}`),style:a.normalizeStyle(`font-family: ${e.value.fontFamily}; font-size:${e.value.titleFontSize}px; color:${e.value.titleColor}; font-weight:${e.value.titleBold?"bold":"normal"}; ${e.value.titleCss}`)},[a.renderSlot(t.$slots,"title",{comment:n.dataset}),a.createTextVNode(" "+a.toDisplayString(e.value.title),1)],6),a.renderSlot(t.$slots,"comment-before",{comment:n.dataset}),a.createElementVNode("div",{class:a.normalizeClass(`vue-ui-kpi-value ${e.value.valueClass}`),style:a.normalizeStyle(`font-family: ${e.value.fontFamily}; font-size:${e.value.valueFontSize}px; color:${e.value.valueColor}; font-weight:${e.value.valueBold?"bold":"normal"}; ${e.value.valueCss}`)},[a.renderSlot(t.$slots,"value",{comment:n.dataset}),e.value.analogDigits.show?(a.openBlock(),a.createElementBlock("div",{key:0,style:a.normalizeStyle({height:e.value.analogDigits.height+"px"})},[a.createVNode(p.default,{dataset:Number(l.value.toFixed(e.value.valueRounding)),config:{backgroundColor:e.value.backgroundColor,digits:{color:e.value.analogDigits.color,skeletonColor:e.value.analogDigits.skeletonColor}}},null,8,["dataset","config"])],4)):(a.openBlock(),a.createElementBlock(a.Fragment,{key:1},[a.createTextVNode(a.toDisplayString(a.unref(u.applyDataLabel)(e.value.formatter,l.value,a.unref(u.dataLabel)({p:e.value.prefix,v:l.value,s:e.value.suffix,r:e.value.valueRounding}))),1)],64))],6),a.renderSlot(t.$slots,"comment-after",{comment:n.dataset})],6))}};exports.default=y;
@@ -1,7 +1,7 @@
1
1
  import { computed as N, watch as p, ref as C, onMounted as D, openBlock as i, createElementBlock as s, normalizeClass as v, normalizeStyle as u, createElementVNode as $, renderSlot as n, createTextVNode as y, toDisplayString as k, createVNode as S, Fragment as x, unref as h } from "vue";
2
- import { u as z } from "./useNestedProp-lmeFt-ev.js";
3
- import { u as A, i as w, f as B } from "./index-DQl1TFXa.js";
4
- import L from "./vue-ui-digits-DN6CRpXc.js";
2
+ import { u as z } from "./useNestedProp-CrHvyupb.js";
3
+ import { u as A, i as w, f as B } from "./index-DhJby8wL.js";
4
+ import L from "./vue-ui-digits-gNKgZqYU.js";
5
5
  const T = {
6
6
  __name: "vue-ui-kpi",
7
7
  props: {