vue-data-ui 2.3.76 → 2.3.78

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 (161) hide show
  1. package/dist/{Arrow-DY9RKUmG.js → Arrow-BCYtOwX7.js} +1 -1
  2. package/dist/{Arrow-D7M4-bW7.cjs → Arrow-DWkvIpW8.cjs} +1 -1
  3. package/dist/{BaseIcon-rwm-10Hu.js → BaseIcon-BIQXWVMS.js} +1 -1
  4. package/dist/{BaseIcon-DB7Apwv_.cjs → BaseIcon-Bcpzfk34.cjs} +1 -1
  5. package/dist/{DataTable-CsNozyz7.cjs → DataTable-C5TOiC61.cjs} +1 -1
  6. package/dist/{DataTable-e2fnfjXV.js → DataTable-y1lX5jVj.js} +2 -2
  7. package/dist/{Legend-5cQ0xZjK.js → Legend-BLXcdrri.js} +1 -1
  8. package/dist/{Legend-DgFd-O0m.cjs → Legend-CGGD8NhP.cjs} +1 -1
  9. package/dist/{Shape-CiTElr_0.js → Shape-CsoTtJx6.js} +1 -1
  10. package/dist/{Shape-yPECDLiP.cjs → Shape-qJYTY2BC.cjs} +1 -1
  11. package/dist/{Slicer-DaZgCKV7.cjs → Slicer-CZJXKSeE.cjs} +1 -1
  12. package/dist/{Slicer-DwBBu3kB.js → Slicer-DzJZ4axa.js} +12 -12
  13. package/dist/{Title-3EduyW4p.cjs → Title-BSpa3uge.cjs} +1 -1
  14. package/dist/{Title-gUz6GDA3.js → Title-Bx-VO3md.js} +1 -1
  15. package/dist/{Tooltip-DfSM1mNP.js → Tooltip-Dk-cimhQ.js} +23 -23
  16. package/dist/Tooltip-rmhZhv96.cjs +1 -0
  17. package/dist/index-CzjC8LfY.cjs +4 -0
  18. package/dist/{index-CaV1s-yZ.js → index-DP8dqFNd.js} +1147 -1145
  19. package/dist/style.css +1 -1
  20. package/dist/{useNestedProp-tWCzZrLx.js → useNestedProp-B-oZxD4x.js} +1 -1
  21. package/dist/{useNestedProp-CisbRRo_.cjs → useNestedProp-CY7DebVH.cjs} +1 -1
  22. package/dist/{usePrinter-DzTaA1eh.cjs → usePrinter-DiLM6jav.cjs} +1 -1
  23. package/dist/{usePrinter-rvJyT65A.js → usePrinter-DiuHo4LO.js} +1 -1
  24. package/dist/{vue-data-ui-BGkWRPUY.cjs → vue-data-ui-Ce5IFSYA.cjs} +1 -1
  25. package/dist/{vue-data-ui-BO89gTtq.js → vue-data-ui-Ct7n5wkM.js} +57 -57
  26. package/dist/vue-data-ui.cjs +1 -1
  27. package/dist/vue-data-ui.js +9 -9
  28. package/dist/vue-ui-3d-bar-B_i2EoFu.cjs +19 -0
  29. package/dist/{vue-ui-3d-bar-CcTMIHiB.js → vue-ui-3d-bar-O3fB5J7V.js} +342 -342
  30. package/dist/{vue-ui-accordion-CpzGQ63y.js → vue-ui-accordion-Dl8zkZPk.js} +3 -3
  31. package/dist/{vue-ui-accordion-7e4Myhcg.cjs → vue-ui-accordion-DpI7fTKZ.cjs} +1 -1
  32. package/dist/{vue-ui-age-pyramid-D71ZLkVV.js → vue-ui-age-pyramid-BeiREI6d.js} +22 -22
  33. package/dist/vue-ui-age-pyramid-BsAfxkN4.cjs +1 -0
  34. package/dist/{vue-ui-annotator-B8Iu6cYt.js → vue-ui-annotator-0yje27Qq.js} +39 -39
  35. package/dist/{vue-ui-annotator-BKQrweqm.cjs → vue-ui-annotator-DpN-6IwB.cjs} +2 -2
  36. package/dist/{vue-ui-candlestick-Bx4QVkY0.js → vue-ui-candlestick-D9UteVvx.js} +34 -34
  37. package/dist/{vue-ui-candlestick-DAc1FQ-i.cjs → vue-ui-candlestick-lv78wnpS.cjs} +2 -2
  38. package/dist/{vue-ui-carousel-table-uFRqkghO.cjs → vue-ui-carousel-table-Br6FwMKM.cjs} +1 -1
  39. package/dist/{vue-ui-carousel-table-xuQG6bcH.js → vue-ui-carousel-table-jxZ3h5pq.js} +31 -31
  40. package/dist/{vue-ui-chestnut-Bo6rDcU7.js → vue-ui-chestnut-DXuHRJy4.js} +291 -288
  41. package/dist/vue-ui-chestnut-DbYHeNaL.cjs +6 -0
  42. package/dist/{vue-ui-cursor-C0KOqEOq.js → vue-ui-cursor-BzPbdVRJ.js} +20 -20
  43. package/dist/vue-ui-cursor-iss6SJ1Y.cjs +1 -0
  44. package/dist/{vue-ui-dashboard-BT71xS7P.js → vue-ui-dashboard-CGjWuFrI.js} +2 -2
  45. package/dist/{vue-ui-dashboard-0Hsjx-bO.cjs → vue-ui-dashboard-DKT82yQ4.cjs} +1 -1
  46. package/dist/{vue-ui-digits-BRqpKYvD.js → vue-ui-digits-BCguvLxB.js} +2 -2
  47. package/dist/{vue-ui-digits-C2ReH6w0.cjs → vue-ui-digits-BfwDCfYp.cjs} +1 -1
  48. package/dist/{vue-ui-donut-NQW-3prf.js → vue-ui-donut-DJTeGLVG.js} +209 -212
  49. package/dist/{vue-ui-donut-evolution-jbXQQGTc.js → vue-ui-donut-evolution-BaLDZNDG.js} +106 -106
  50. package/dist/vue-ui-donut-evolution-Bil1AIhX.cjs +1 -0
  51. package/dist/vue-ui-donut-uVPdO4UH.cjs +1 -0
  52. package/dist/{vue-ui-dumbbell-Dyz8xdtC.js → vue-ui-dumbbell-BqtDdV5w.js} +17 -17
  53. package/dist/{vue-ui-dumbbell-DXQSg6wa.cjs → vue-ui-dumbbell-DiL3xhKY.cjs} +1 -1
  54. package/dist/{vue-ui-flow-UqSNwH9d.cjs → vue-ui-flow-BVTbbsCK.cjs} +1 -1
  55. package/dist/{vue-ui-flow-BL3JWW1m.js → vue-ui-flow-zfTGon4s.js} +28 -28
  56. package/dist/{vue-ui-galaxy-Dx9nsOuM.js → vue-ui-galaxy-5iRb5sQ-.js} +22 -22
  57. package/dist/{vue-ui-galaxy-DTQWGvRH.cjs → vue-ui-galaxy-GSO_6KIe.cjs} +1 -1
  58. package/dist/vue-ui-gauge-Bz7oLa51.cjs +1 -0
  59. package/dist/{vue-ui-gauge-CLaKGi0-.js → vue-ui-gauge-DljHYdCS.js} +101 -110
  60. package/dist/{vue-ui-gizmo-of-4s5HG.js → vue-ui-gizmo-B-fxFOZy.js} +2 -2
  61. package/dist/{vue-ui-gizmo-Kitfqu0J.cjs → vue-ui-gizmo-KL0OJY2K.cjs} +1 -1
  62. package/dist/{vue-ui-heatmap-BIzjOMXO.js → vue-ui-heatmap-ketn_NV3.js} +17 -17
  63. package/dist/{vue-ui-heatmap-DUw2350O.cjs → vue-ui-heatmap-thMJPCfo.cjs} +1 -1
  64. package/dist/{vue-ui-kpi-By3YPwgo.js → vue-ui-kpi-Bxu8uZ21.js} +3 -3
  65. package/dist/{vue-ui-kpi-DyL2Hcz-.cjs → vue-ui-kpi-e1QWa8D4.cjs} +1 -1
  66. package/dist/{vue-ui-mini-loader-DnK3V2z2.js → vue-ui-mini-loader-BZ_2aV8O.js} +2 -2
  67. package/dist/{vue-ui-mini-loader-C048-8Kd.cjs → vue-ui-mini-loader-paRZQU8H.cjs} +1 -1
  68. package/dist/{vue-ui-molecule-BfhbIqa5.js → vue-ui-molecule-Bpp5unvI.js} +33 -33
  69. package/dist/{vue-ui-molecule-D-ahly6R.cjs → vue-ui-molecule-VOBL4Osc.cjs} +1 -1
  70. package/dist/{vue-ui-mood-radar-DXxEKr3x.js → vue-ui-mood-radar-BY8XP_Q5.js} +129 -132
  71. package/dist/vue-ui-mood-radar-CwtMLwP8.cjs +1 -0
  72. package/dist/{vue-ui-nested-donuts-BdUdHFd-.js → vue-ui-nested-donuts-5uuLi3If.js} +98 -98
  73. package/dist/{vue-ui-nested-donuts-C7qM_FRw.cjs → vue-ui-nested-donuts-CLnVnAiD.cjs} +2 -2
  74. package/dist/{vue-ui-onion-DX3gofXZ.cjs → vue-ui-onion-CMSPSSSG.cjs} +1 -1
  75. package/dist/{vue-ui-onion-D0vF5jBt.js → vue-ui-onion-zDy4ecPl.js} +9 -9
  76. package/dist/{vue-ui-parallel-coordinate-plot-DEx5kFYd.cjs → vue-ui-parallel-coordinate-plot-1PFxiI__.cjs} +1 -1
  77. package/dist/{vue-ui-parallel-coordinate-plot-CTZY-pY8.js → vue-ui-parallel-coordinate-plot-BeEkL7Dq.js} +24 -24
  78. package/dist/vue-ui-quadrant-Cx5z_c90.cjs +1 -0
  79. package/dist/{vue-ui-quadrant-ByY8GP3y.js → vue-ui-quadrant-MCIlbbsW.js} +35 -35
  80. package/dist/{vue-ui-quick-chart-DWZEgUJF.cjs → vue-ui-quick-chart-Xn-47NQG.cjs} +1 -1
  81. package/dist/{vue-ui-quick-chart-DTxJ__7j.js → vue-ui-quick-chart-r6Qa7qg_.js} +69 -69
  82. package/dist/{vue-ui-radar-DEED0rTz.cjs → vue-ui-radar-ANQ1wXFc.cjs} +1 -1
  83. package/dist/{vue-ui-radar-5UBmAU6W.js → vue-ui-radar-DFV5cFkl.js} +39 -39
  84. package/dist/{vue-ui-rating-Ce_Ewqtl.cjs → vue-ui-rating-BVzCbQbv.cjs} +1 -1
  85. package/dist/{vue-ui-rating-Dr6jquxh.js → vue-ui-rating-DYu1EuJF.js} +6 -6
  86. package/dist/{vue-ui-relation-circle-BU8i2miI.js → vue-ui-relation-circle-BAcmDQB_.js} +29 -29
  87. package/dist/vue-ui-relation-circle-DEM6C6Or.cjs +1 -0
  88. package/dist/{vue-ui-rings-Ctl3Jywh.js → vue-ui-rings-BiLlYpgu.js} +31 -31
  89. package/dist/{vue-ui-rings-OQ8a1Ruw.cjs → vue-ui-rings-Ce4G4hat.cjs} +2 -2
  90. package/dist/{vue-ui-scatter-BwJ_koWT.js → vue-ui-scatter-D2ndYfkQ.js} +95 -95
  91. package/dist/vue-ui-scatter-OtlcTCUF.cjs +1 -0
  92. package/dist/{vue-ui-screenshot-BS3L5vhN.js → vue-ui-screenshot-CKCNPn-e.js} +4 -4
  93. package/dist/{vue-ui-screenshot-bAVk3EPl.cjs → vue-ui-screenshot-DTQx4VsM.cjs} +1 -1
  94. package/dist/{vue-ui-skeleton-CvFX_ExX.js → vue-ui-skeleton-B30ZhUV7.js} +96 -96
  95. package/dist/vue-ui-skeleton-CwqzJlQf.cjs +41 -0
  96. package/dist/{vue-ui-smiley-CGYZpNt9.js → vue-ui-smiley-DzLvZR1k.js} +2 -2
  97. package/dist/{vue-ui-smiley-sF8QIso1.cjs → vue-ui-smiley-L6o24M6h.cjs} +1 -1
  98. package/dist/{vue-ui-spark-trend-B4XSSKl9.js → vue-ui-spark-trend-BKsmENbH.js} +21 -21
  99. package/dist/vue-ui-spark-trend-BoWeviHk.cjs +1 -0
  100. package/dist/{vue-ui-sparkbar-BbsJGDMZ.js → vue-ui-sparkbar-DNzZkp8z.js} +10 -10
  101. package/dist/vue-ui-sparkbar-DY3iOLo4.cjs +1 -0
  102. package/dist/{vue-ui-sparkgauge-D4w_i_QJ.js → vue-ui-sparkgauge-B2DngjVP.js} +8 -8
  103. package/dist/{vue-ui-sparkgauge-BKyQoI7C.cjs → vue-ui-sparkgauge-BlZ-lJm4.cjs} +1 -1
  104. package/dist/vue-ui-sparkhistogram-BUBewgdH.cjs +1 -0
  105. package/dist/{vue-ui-sparkhistogram-CYybrW-6.js → vue-ui-sparkhistogram-Co9N3BeQ.js} +111 -101
  106. package/dist/vue-ui-sparkline-BhL0mxXD.cjs +1 -0
  107. package/dist/{vue-ui-sparkline-DjN1SVdO.js → vue-ui-sparkline-Dpqo4aRJ.js} +34 -34
  108. package/dist/{vue-ui-sparkstackbar-BZ2bESBi.cjs → vue-ui-sparkstackbar-DtNbx3EV.cjs} +1 -1
  109. package/dist/{vue-ui-sparkstackbar-BLMhJxaN.js → vue-ui-sparkstackbar-_JwfRxF8.js} +5 -5
  110. package/dist/{vue-ui-stackbar-BTKOHUYc.js → vue-ui-stackbar-BtN7ZM7-.js} +202 -200
  111. package/dist/{vue-ui-stackbar-DRHaJFR8.cjs → vue-ui-stackbar-C7AWHP6m.cjs} +2 -2
  112. package/dist/{vue-ui-strip-plot-o6GTsGAT.js → vue-ui-strip-plot-6L9a7BSw.js} +26 -26
  113. package/dist/{vue-ui-strip-plot-DxQxFbWg.cjs → vue-ui-strip-plot-cgOFTunJ.cjs} +1 -1
  114. package/dist/{vue-ui-table-BFIj1Rgh.cjs → vue-ui-table-4Pf9tmFg.cjs} +1 -1
  115. package/dist/{vue-ui-table-CnquiTpr.js → vue-ui-table-BFYHRMCS.js} +1 -1
  116. package/dist/{vue-ui-table-heatmap-CZRIwv-Q.js → vue-ui-table-heatmap--kPCu8mA.js} +24 -24
  117. package/dist/{vue-ui-table-heatmap-CCGK12Fa.cjs → vue-ui-table-heatmap-CltKb2V9.cjs} +1 -1
  118. package/dist/{vue-ui-table-sparkline-DYmgfHz4.cjs → vue-ui-table-sparkline-B5OjJud8.cjs} +1 -1
  119. package/dist/{vue-ui-table-sparkline-B3zEeq6Z.js → vue-ui-table-sparkline-CsWx1Ksy.js} +26 -26
  120. package/dist/{vue-ui-thermometer-CzPRBt6c.cjs → vue-ui-thermometer-62_4QovL.cjs} +1 -1
  121. package/dist/{vue-ui-thermometer-BopiohUh.js → vue-ui-thermometer-nTD7sp8r.js} +40 -40
  122. package/dist/{vue-ui-timer-Bonw69Lt.cjs → vue-ui-timer-BU0s7Vt9.cjs} +1 -1
  123. package/dist/{vue-ui-timer-C7WkW8hK.js → vue-ui-timer-DMFHjnzA.js} +8 -8
  124. package/dist/{vue-ui-tiremarks-BurRtFv4.js → vue-ui-tiremarks-1X9B1VKM.js} +18 -18
  125. package/dist/{vue-ui-tiremarks-DkIGfq8t.cjs → vue-ui-tiremarks-mwBeBMJY.cjs} +1 -1
  126. package/dist/{vue-ui-treemap-DWy4voIr.js → vue-ui-treemap-CVTwqPFA.js} +29 -29
  127. package/dist/{vue-ui-treemap-CalhJmnp.cjs → vue-ui-treemap-DQmBbm7e.cjs} +1 -1
  128. package/dist/vue-ui-vertical-bar-BXiy8KRC.cjs +4 -0
  129. package/dist/{vue-ui-vertical-bar-CJW1YhtY.js → vue-ui-vertical-bar-Br6Z0A3F.js} +14 -14
  130. package/dist/{vue-ui-waffle-faQMBYNx.cjs → vue-ui-waffle-CLCsHw9j.cjs} +1 -1
  131. package/dist/{vue-ui-waffle-DB7X6nTS.js → vue-ui-waffle-DEXMh07q.js} +84 -84
  132. package/dist/{vue-ui-wheel-CryKap2E.js → vue-ui-wheel-CwjuVi6U.js} +24 -24
  133. package/dist/{vue-ui-wheel-BzjbGP6a.cjs → vue-ui-wheel-DSFKKX65.cjs} +1 -1
  134. package/dist/{vue-ui-word-cloud-COqUkvei.js → vue-ui-word-cloud-BKeD3fHb.js} +19 -19
  135. package/dist/{vue-ui-word-cloud-DJN9I4q4.cjs → vue-ui-word-cloud-DZS4hCeR.cjs} +1 -1
  136. package/dist/vue-ui-xy-B5aCogSL.cjs +3 -0
  137. package/dist/{vue-ui-xy-b1Z_HPsx.js → vue-ui-xy-DA3qqL8u.js} +351 -350
  138. package/dist/{vue-ui-xy-canvas-BgbLnY5B.js → vue-ui-xy-canvas-B7DH4RK5.js} +18 -18
  139. package/dist/vue-ui-xy-canvas-heCdqh5X.cjs +9 -0
  140. package/package.json +1 -1
  141. package/dist/Tooltip-DScSrYXJ.cjs +0 -1
  142. package/dist/index-BTgtr0F8.cjs +0 -4
  143. package/dist/vue-ui-3d-bar-DzmcGuqh.cjs +0 -19
  144. package/dist/vue-ui-age-pyramid-C7qr9EwB.cjs +0 -1
  145. package/dist/vue-ui-chestnut-DJkm72oD.cjs +0 -6
  146. package/dist/vue-ui-cursor-BQbeuW-k.cjs +0 -1
  147. package/dist/vue-ui-donut-evolution-DOe-cwLi.cjs +0 -1
  148. package/dist/vue-ui-donut-v81suIOX.cjs +0 -1
  149. package/dist/vue-ui-gauge-BUB7H0qA.cjs +0 -1
  150. package/dist/vue-ui-mood-radar-DD8R9BpJ.cjs +0 -1
  151. package/dist/vue-ui-quadrant-CgApzie6.cjs +0 -1
  152. package/dist/vue-ui-relation-circle-CRcQ6Zcy.cjs +0 -1
  153. package/dist/vue-ui-scatter-B8StSjt8.cjs +0 -1
  154. package/dist/vue-ui-skeleton-CMQzFTs9.cjs +0 -41
  155. package/dist/vue-ui-spark-trend-CdIoxaqb.cjs +0 -1
  156. package/dist/vue-ui-sparkbar-C3i1K7hi.cjs +0 -1
  157. package/dist/vue-ui-sparkhistogram-CvTYEmbz.cjs +0 -1
  158. package/dist/vue-ui-sparkline-CDowaDRS.cjs +0 -1
  159. package/dist/vue-ui-vertical-bar-rwWp-sai.cjs +0 -4
  160. package/dist/vue-ui-xy-BmA0tspd.cjs +0 -3
  161. package/dist/vue-ui-xy-canvas-DOM2Kq_s.cjs +0 -9
@@ -1,15 +1,15 @@
1
- import { computed as p, ref as h, watch as Q, onMounted as ke, onBeforeUnmount as be, openBlock as r, createElementBlock as n, normalizeClass as ee, normalizeStyle as R, createBlock as E, withCtx as I, toDisplayString as S, createCommentVNode as g, unref as c, createSlots as _e, renderSlot as x, normalizeProps as te, guardReactiveProps as ae, createElementVNode as f, Fragment as O, renderList as A } from "vue";
2
- import { u as xe, c as we, t as Fe, a as Se, p as le, b as ze, o as se, d as $e, e as X, g as re, m as oe, X as Ce, w as D, J as N, i as Me, f as Pe, D as ue } from "./index-CaV1s-yZ.js";
1
+ import { computed as p, ref as h, watch as Q, onMounted as ke, onBeforeUnmount as be, openBlock as o, createElementBlock as i, normalizeClass as ee, normalizeStyle as G, createBlock as R, withCtx as I, toDisplayString as S, createCommentVNode as g, unref as c, createSlots as _e, renderSlot as x, normalizeProps as te, guardReactiveProps as ae, createElementVNode as f, Fragment as E, renderList as A } from "vue";
2
+ import { u as xe, c as we, t as Fe, a as Se, p as le, b as ze, o as se, d as Ce, e as O, g as re, m as oe, X as $e, s as j, K as X, i as Me, f as Pe, E as ue } from "./index-DP8dqFNd.js";
3
3
  import { t as Ie, u as Oe } from "./useResponsive-NZB-WLRF.js";
4
- import { u as Xe, U as Ne } from "./usePrinter-rvJyT65A.js";
5
- import Ye from "./vue-ui-skeleton-CvFX_ExX.js";
6
- import { _ as Ge } from "./Title-gUz6GDA3.js";
7
- import { u as ne } from "./useNestedProp-tWCzZrLx.js";
4
+ import { u as Xe, U as Ne } from "./usePrinter-DiuHo4LO.js";
5
+ import Ye from "./vue-ui-skeleton-B30ZhUV7.js";
6
+ import { _ as Ge } from "./Title-Bx-VO3md.js";
7
+ import { u as ne } from "./useNestedProp-B-oZxD4x.js";
8
8
  import { _ as Re } from "./_plugin-vue_export-helper-CHgC5LLL.js";
9
- const Ee = ["id"], Ae = { key: 0 }, De = ["xmlns", "viewBox"], je = ["id"], Ue = ["stop-color"], Be = ["stop-color"], Le = ["stop-color"], We = ["id"], Te = ["stdDeviation"], Ve = ["d", "fill", "stroke"], qe = ["d", "filter"], He = ["y", "width", "height", "fill"], Je = ["x", "y", "text-anchor", "font-size", "font-weight", "fill"], Ze = ["x", "y", "font-size", "font-weight", "fill"], Ke = { key: 1 }, Qe = ["x1", "y1", "x2", "y2", "stroke", "stroke-width"], et = ["x1", "y1", "x2", "y2", "stroke", "stroke-width"], tt = ["x1", "y1", "x2", "y2", "stroke-width", "filter"], at = { key: 2 }, lt = ["d", "fill", "stroke", "stroke-width"], st = ["cx", "cy", "fill", "r", "stroke-width", "stroke"], rt = ["x", "y", "font-size", "fill"], ot = {
9
+ const Ee = ["id"], Ae = { key: 0 }, je = ["xmlns", "viewBox"], De = ["id"], Ue = ["stop-color"], Be = ["stop-color"], Le = ["stop-color"], We = ["id"], Te = ["stdDeviation"], Ve = ["d", "fill", "stroke"], qe = ["d", "filter"], He = ["x", "y", "text-anchor", "font-size", "font-weight", "fill"], Ke = ["x", "y", "font-size", "font-weight", "fill"], Ze = { key: 1 }, Je = ["x1", "y1", "x2", "y2", "stroke", "stroke-width"], Qe = ["x1", "y1", "x2", "y2", "stroke", "stroke-width"], et = ["x1", "y1", "x2", "y2", "stroke-width", "filter"], tt = { key: 2 }, at = ["d", "fill", "stroke", "stroke-width"], lt = ["cx", "cy", "fill", "r", "stroke-width", "stroke"], st = ["x", "y", "font-size", "fill"], rt = {
10
10
  key: 3,
11
11
  class: "vue-data-ui-watermark"
12
- }, ut = {
12
+ }, ot = {
13
13
  __name: "vue-ui-gauge",
14
14
  props: {
15
15
  config: {
@@ -25,22 +25,22 @@ const Ee = ["id"], Ae = { key: 0 }, De = ["xmlns", "viewBox"], je = ["id"], Ue =
25
25
  }
26
26
  }
27
27
  },
28
- setup(Y, { expose: ie }) {
29
- const o = Y, { vue_ui_gauge: ce } = xe(), z = p(() => !!o.dataset && Object.keys(o.dataset).length > 0 && o.dataset.series && o.dataset.series.length), m = h(we()), ve = h(null), j = h(0), $ = h(null), U = h(null), B = h(null), L = h(0), e = p({
28
+ setup(N, { expose: ie }) {
29
+ const r = N, { vue_ui_gauge: ce } = xe(), z = p(() => !!r.dataset && Object.keys(r.dataset).length > 0 && r.dataset.series && r.dataset.series.length), m = h(we()), ve = h(null), D = h(0), C = h(null), U = h(null), B = h(null), L = h(0), e = p({
30
30
  get: () => W(),
31
31
  set: (a) => a
32
32
  });
33
- Q(() => o.config, (a) => {
33
+ Q(() => r.config, (a) => {
34
34
  e.value = W(), Z(), L.value += 1;
35
35
  }, { deep: !0 });
36
36
  function W() {
37
37
  const a = ne({
38
- userConfig: o.config,
38
+ userConfig: r.config,
39
39
  defaultConfig: ce
40
40
  });
41
41
  return a.theme ? {
42
42
  ...ne({
43
- userConfig: Fe.vue_ui_gauge[a.theme] || o.config,
43
+ userConfig: Fe.vue_ui_gauge[a.theme] || r.config,
44
44
  defaultConfig: a
45
45
  }),
46
46
  customPalette: Se[a.theme] || le
@@ -50,7 +50,7 @@ const Ee = ["id"], Ae = { key: 0 }, De = ["xmlns", "viewBox"], je = ["id"], Ue =
50
50
  elementId: `vue-ui-gauge_${m.value}`,
51
51
  fileName: e.value.style.chart.title.text || "vue-ui-gauge"
52
52
  }), de = p(() => ze(e.value.customPalette)), b = p(() => {
53
- if (!z.value || se(o.dataset.series || {}))
53
+ if (!z.value || se(r.dataset.series || {}))
54
54
  return {
55
55
  value: 0,
56
56
  series: [
@@ -61,15 +61,15 @@ const Ee = ["id"], Ae = { key: 0 }, De = ["xmlns", "viewBox"], je = ["id"], Ue =
61
61
  ]
62
62
  };
63
63
  const a = [];
64
- (o.dataset.series || []).forEach((l) => {
64
+ (r.dataset.series || []).forEach((l) => {
65
65
  a.push(l.from || 0), a.push(l.to || 0);
66
66
  });
67
67
  const s = Math.max(...a);
68
68
  return {
69
- ...o.dataset,
70
- series: (o.dataset.series || []).map((l, i) => ({
69
+ ...r.dataset,
70
+ series: (r.dataset.series || []).map((l, n) => ({
71
71
  ...l,
72
- color: $e(l.color) || de.value[i] || le[i],
72
+ color: Ce(l.color) || de.value[n] || le[n],
73
73
  value: ((l.to || 0) - (l.from || 0)) / s * 100
74
74
  }))
75
75
  };
@@ -87,62 +87,62 @@ const Ee = ["id"], Ae = { key: 0 }, De = ["xmlns", "viewBox"], je = ["id"], Ue =
87
87
  pointerSize: e.value.style.chart.layout.pointer.size,
88
88
  pointerStrokeWidth: e.value.style.chart.layout.pointer.strokeWidth,
89
89
  markerOffset: e.value.style.chart.layout.markers.offsetY + 3
90
- }), C = h(0), w = h(0), v = h(e.value.style.chart.animation.use ? 0 : o.dataset.value);
91
- Q(() => o.dataset.value, () => {
92
- K(o.dataset.value);
90
+ }), $ = h(0), w = h(0), v = h(e.value.style.chart.animation.use ? 0 : r.dataset.value);
91
+ Q(() => r.dataset.value, () => {
92
+ J(r.dataset.value);
93
93
  });
94
94
  const d = p(() => {
95
- const a = t.value.width / 2, s = u.value.base, l = Math.PI * ((v.value + 0 - w.value) / (C.value - w.value)) + Math.PI;
95
+ const a = t.value.width / 2, s = u.value.base, l = Math.PI * ((v.value + 0 - w.value) / ($.value - w.value)) + Math.PI;
96
96
  return {
97
97
  x1: a,
98
98
  y1: s,
99
99
  x2: a + u.value.pointerSize * t.value.pointerSize * 0.9 * Math.cos(l),
100
100
  y2: s + u.value.pointerSize * t.value.pointerSize * 0.9 * Math.sin(l)
101
101
  };
102
- }), J = p(() => {
103
- const a = t.value.width / 2, s = u.value.base, l = Math.PI * ((v.value + 0 - w.value) / (C.value - w.value)) + Math.PI, i = a + u.value.pointerSize * t.value.pointerSize * 0.9 * Math.cos(l), P = s + u.value.pointerSize * t.value.pointerSize * 0.9 * Math.sin(l), k = t.value.pointerRadius, ye = a + k * Math.cos(l + Math.PI / 2), ge = s + k * Math.sin(l + Math.PI / 2), pe = a + k * Math.cos(l - Math.PI / 2), me = s + k * Math.sin(l - Math.PI / 2);
104
- return isNaN(i) ? null : `M ${i},${P} ${ye},${ge} ${pe},${me} Z`;
105
- }), G = p(() => {
102
+ }), K = p(() => {
103
+ const a = t.value.width / 2, s = u.value.base, l = Math.PI * ((v.value + 0 - w.value) / ($.value - w.value)) + Math.PI, n = a + u.value.pointerSize * t.value.pointerSize * 0.9 * Math.cos(l), P = s + u.value.pointerSize * t.value.pointerSize * 0.9 * Math.sin(l), k = t.value.pointerRadius, ye = a + k * Math.cos(l + Math.PI / 2), ge = s + k * Math.sin(l + Math.PI / 2), pe = a + k * Math.cos(l - Math.PI / 2), me = s + k * Math.sin(l - Math.PI / 2);
104
+ return isNaN(n) ? null : `M ${n},${P} ${ye},${ge} ${pe},${me} Z`;
105
+ }), Y = p(() => {
106
106
  for (let a = 0; a < b.value.series.length; a += 1) {
107
- const { color: s, from: l, to: i } = b.value.series[a];
108
- if (v.value >= l && v.value <= i)
107
+ const { color: s, from: l, to: n } = b.value.series[a];
108
+ if (v.value >= l && v.value <= n)
109
109
  return s;
110
110
  }
111
111
  return "#2D353C";
112
112
  }), M = h(null);
113
113
  function Z() {
114
- if (se(o.dataset) ? X({
114
+ if (se(r.dataset) ? O({
115
115
  componentName: "VueUiGauge",
116
116
  type: "dataset"
117
117
  }) : (re({
118
- datasetObject: o.dataset,
118
+ datasetObject: r.dataset,
119
119
  requiredAttributes: ["value", "series"]
120
120
  }).forEach((a) => {
121
- X({
121
+ O({
122
122
  componentName: "VueUiGauge",
123
123
  type: "datasetAttribute",
124
124
  property: a
125
125
  });
126
- }), Object.hasOwn(o.dataset, "series") && (o.dataset.series.length ? o.dataset.series.forEach((a, s) => {
126
+ }), Object.hasOwn(r.dataset, "series") && (r.dataset.series.length ? r.dataset.series.forEach((a, s) => {
127
127
  re({
128
128
  datasetObject: a,
129
129
  requiredAttributes: ["from", "to"]
130
130
  }).forEach((l) => {
131
- X({
131
+ O({
132
132
  componentName: "VueUiGauge",
133
133
  type: "datasetSerieAttribute",
134
134
  property: l,
135
135
  index: s
136
136
  });
137
137
  });
138
- }) : X({
138
+ }) : O({
139
139
  componentName: "VueUiGauge",
140
140
  type: "datasetAttributeEmpty",
141
141
  property: "series"
142
- }))), K(o.dataset.value || 0), e.value.responsive) {
142
+ }))), J(r.dataset.value || 0), e.value.responsive) {
143
143
  const a = Ie(() => {
144
144
  const { width: s, height: l } = Oe({
145
- chart: $.value,
145
+ chart: C.value,
146
146
  title: e.value.style.chart.title.text ? U.value : null,
147
147
  legend: B.value
148
148
  });
@@ -160,7 +160,7 @@ const Ee = ["id"], Ae = { key: 0 }, De = ["xmlns", "viewBox"], je = ["id"], Ue =
160
160
  fallback: 2
161
161
  });
162
162
  });
163
- M.value = new ResizeObserver(a), M.value.observe($.value.parentNode);
163
+ M.value = new ResizeObserver(a), M.value.observe(C.value.parentNode);
164
164
  }
165
165
  }
166
166
  ke(() => {
@@ -168,15 +168,15 @@ const Ee = ["id"], Ae = { key: 0 }, De = ["xmlns", "viewBox"], je = ["id"], Ue =
168
168
  }), be(() => {
169
169
  M.value && M.value.disconnect();
170
170
  });
171
- function K(a) {
171
+ function J(a) {
172
172
  const s = [];
173
173
  (b.value.series || []).forEach((k) => {
174
174
  s.push(k.from || 0), s.push(k.to || 0);
175
- }), C.value = Math.max(...s), w.value = Math.min(...s);
175
+ }), $.value = Math.max(...s), w.value = Math.min(...s);
176
176
  let l = e.value.style.chart.animation.speed;
177
- const i = Math.abs(a - v.value) / (l * 60);
177
+ const n = Math.abs(a - v.value) / (l * 60);
178
178
  function P() {
179
- v.value < a ? v.value = Math.min(v.value + i, a) : v.value > a && (v.value = Math.max(v.value - i, a)), v.value !== a && requestAnimationFrame(P);
179
+ v.value < a ? v.value = Math.min(v.value + n, a) : v.value > a && (v.value = Math.max(v.value - n, a)), v.value !== a && requestAnimationFrame(P);
180
180
  }
181
181
  P();
182
182
  }
@@ -207,33 +207,33 @@ const Ee = ["id"], Ae = { key: 0 }, De = ["xmlns", "viewBox"], je = ["id"], Ue =
207
207
  u.value.base,
208
208
  u.value.gradients,
209
209
  u.value.gradients,
210
- 1,
210
+ 0.95,
211
211
  1,
212
212
  1,
213
213
  180,
214
- 109.9495,
214
+ 110.02,
215
215
  2 * t.value.trackSize
216
216
  )), F = h(!1);
217
217
  function fe(a) {
218
- F.value = a, j.value += 1;
218
+ F.value = a, D.value += 1;
219
219
  }
220
220
  return ie({
221
221
  generatePdf: q,
222
222
  generateImage: H
223
- }), (a, s) => (r(), n("div", {
223
+ }), (a, s) => (o(), i("div", {
224
224
  class: ee(`vue-ui-gauge ${F.value ? "vue-data-ui-wrapper-fullscreen" : ""}`),
225
225
  ref_key: "gaugeChart",
226
- ref: $,
226
+ ref: C,
227
227
  id: `vue-ui-gauge_${m.value}`,
228
- style: R(`font-family:${e.value.style.fontFamily};width:100%; text-align:center;background:${e.value.style.chart.backgroundColor};${e.value.responsive ? "height: 100%" : ""}`)
228
+ style: G(`font-family:${e.value.style.fontFamily};width:100%; text-align:center;background:${e.value.style.chart.backgroundColor};${e.value.responsive ? "height: 100%" : ""}`)
229
229
  }, [
230
- e.value.style.chart.title.text ? (r(), n("div", {
230
+ e.value.style.chart.title.text ? (o(), i("div", {
231
231
  key: 0,
232
232
  ref_key: "chartTitle",
233
233
  ref: U,
234
- style: R(`width:100%;background:${e.value.style.chart.backgroundColor};padding-bottom:12px`)
234
+ style: G(`width:100%;background:${e.value.style.chart.backgroundColor};padding-bottom:12px`)
235
235
  }, [
236
- (r(), E(Ge, {
236
+ (o(), R(Ge, {
237
237
  key: `title_${L.value}`,
238
238
  config: {
239
239
  title: {
@@ -247,15 +247,15 @@ const Ee = ["id"], Ae = { key: 0 }, De = ["xmlns", "viewBox"], je = ["id"], Ue =
247
247
  }
248
248
  }, {
249
249
  default: I(() => [
250
- e.value.translations.base && Y.dataset.base ? (r(), n("span", Ae, S(e.value.translations.base) + ": " + S(Y.dataset.base), 1)) : g("", !0)
250
+ e.value.translations.base && N.dataset.base ? (o(), i("span", Ae, S(e.value.translations.base) + ": " + S(N.dataset.base), 1)) : g("", !0)
251
251
  ]),
252
252
  _: 1
253
253
  }, 8, ["config"]))
254
254
  ], 4)) : g("", !0),
255
- e.value.userOptions.show && z.value ? (r(), E(Ne, {
255
+ e.value.userOptions.show && z.value ? (o(), R(Ne, {
256
256
  ref_key: "details",
257
257
  ref: ve,
258
- key: `user_options_${j.value}`,
258
+ key: `user_options_${D.value}`,
259
259
  backgroundColor: e.value.style.chart.backgroundColor,
260
260
  color: e.value.style.chart.color,
261
261
  isImaging: c(V),
@@ -267,7 +267,7 @@ const Ee = ["id"], Ae = { key: 0 }, De = ["xmlns", "viewBox"], je = ["id"], Ue =
267
267
  hasFullscreen: e.value.userOptions.buttons.fullscreen,
268
268
  isFullscreen: F.value,
269
269
  titles: { ...e.value.userOptions.buttonTitles },
270
- chartElement: $.value,
270
+ chartElement: C.value,
271
271
  onToggleFullscreen: fe,
272
272
  onGeneratePdf: c(q),
273
273
  onGenerateImage: c(H)
@@ -288,18 +288,18 @@ const Ee = ["id"], Ae = { key: 0 }, De = ["xmlns", "viewBox"], je = ["id"], Ue =
288
288
  } : void 0,
289
289
  a.$slots.optionFullscreen ? {
290
290
  name: "optionFullscreen",
291
- fn: I(({ toggleFullscreen: l, isFullscreen: i }) => [
292
- x(a.$slots, "optionFullscreen", te(ae({ toggleFullscreen: l, isFullscreen: i })), void 0, !0)
291
+ fn: I(({ toggleFullscreen: l, isFullscreen: n }) => [
292
+ x(a.$slots, "optionFullscreen", te(ae({ toggleFullscreen: l, isFullscreen: n })), void 0, !0)
293
293
  ]),
294
294
  key: "2"
295
295
  } : void 0
296
296
  ]), 1032, ["backgroundColor", "color", "isImaging", "isPrinting", "uid", "hasPdf", "hasImg", "hasFullscreen", "isFullscreen", "titles", "chartElement", "onGeneratePdf", "onGenerateImage"])) : g("", !0),
297
- z.value ? (r(), n("svg", {
297
+ z.value ? (o(), i("svg", {
298
298
  key: 2,
299
- xmlns: c(Ce),
299
+ xmlns: c($e),
300
300
  class: ee({ "vue-data-ui-fullscreen--on": F.value, "vue-data-ui-fulscreen--off": !F.value }),
301
301
  viewBox: `0 0 ${t.value.width <= 0 ? 10 : t.value.width} ${t.value.height <= 0 ? 10 : t.value.height}`,
302
- style: R(`max-width:100%;overflow:hidden !important;background:${e.value.style.chart.backgroundColor};color:${e.value.style.chart.color}`)
302
+ style: G(`max-width:100%;overflow:hidden !important;background:${e.value.style.chart.backgroundColor};color:${e.value.style.chart.color}`)
303
303
  }, [
304
304
  f("defs", null, [
305
305
  f("radialGradient", {
@@ -312,17 +312,17 @@ const Ee = ["id"], Ae = { key: 0 }, De = ["xmlns", "viewBox"], je = ["id"], Ue =
312
312
  }, [
313
313
  f("stop", {
314
314
  offset: "0%",
315
- "stop-color": `#FFFFFF${c(D)[1]}`
315
+ "stop-color": c(j)("#FFFFFF", 1)
316
316
  }, null, 8, Ue),
317
317
  f("stop", {
318
318
  offset: "80%",
319
- "stop-color": `#FFFFFF${c(D)[e.value.style.chart.layout.track.gradientIntensity]}`
319
+ "stop-color": c(j)("#FFFFFF", e.value.style.chart.layout.track.gradientIntensity)
320
320
  }, null, 8, Be),
321
321
  f("stop", {
322
322
  offset: "100%",
323
- "stop-color": `#FFFFFF${c(D)[1]}`
323
+ "stop-color": c(j)("#FFFFFF", 1)
324
324
  }, null, 8, Le)
325
- ], 8, je)
325
+ ], 8, De)
326
326
  ]),
327
327
  f("defs", null, [
328
328
  f("filter", {
@@ -338,39 +338,30 @@ const Ee = ["id"], Ae = { key: 0 }, De = ["xmlns", "viewBox"], je = ["id"], Ue =
338
338
  }, null, 8, Te)
339
339
  ], 8, We)
340
340
  ]),
341
- (r(!0), n(O, null, A(_.value, (l, i) => (r(), n("path", {
342
- key: `arc_${i}`,
341
+ (o(!0), i(E, null, A(_.value, (l, n) => (o(), i("path", {
342
+ key: `arc_${n}`,
343
343
  d: l.arcSlice,
344
344
  fill: l.color,
345
345
  stroke: e.value.style.chart.backgroundColor,
346
346
  "stroke-linecap": "round"
347
347
  }, null, 8, Ve))), 128)),
348
- e.value.style.chart.layout.track.useGradient ? (r(), n(O, { key: 0 }, [
349
- (r(!0), n(O, null, A(he.value, (l, i) => (r(), n("path", {
350
- key: `arc_${i}`,
351
- d: l.arcSlice,
352
- fill: "#FFFFFF",
353
- stroke: "none",
354
- "stroke-linecap": "round",
355
- filter: `url(#blur_${m.value})`
356
- }, null, 8, qe))), 128)),
357
- f("rect", {
358
- x: 0,
359
- y: u.value.base,
360
- width: t.value.width <= 0 ? 1e-4 : t.value.width,
361
- height: t.value.height * 0.3 <= 0 ? 1e-4 : t.value.height * 0.3,
362
- fill: e.value.style.chart.backgroundColor
363
- }, null, 8, He)
364
- ], 64)) : g("", !0),
365
- (r(!0), n(O, null, A(_.value, (l, i) => (r(), n("text", {
366
- x: c(N)({
348
+ e.value.style.chart.layout.track.useGradient ? (o(!0), i(E, { key: 0 }, A(he.value, (l, n) => (o(), i("path", {
349
+ key: `arc_${n}`,
350
+ d: l.arcSlice,
351
+ fill: "#FFFFFF",
352
+ stroke: "none",
353
+ "stroke-linecap": "round",
354
+ filter: `url(#blur_${m.value})`
355
+ }, null, 8, qe))), 128)) : g("", !0),
356
+ (o(!0), i(E, null, A(_.value, (l, n) => (o(), i("text", {
357
+ x: c(X)({
367
358
  centerX: t.value.width / 2,
368
359
  centerY: u.value.base,
369
360
  initX: l.center.startX,
370
361
  initY: l.center.startY,
371
362
  offset: t.value.markerOffset
372
363
  }).x,
373
- y: c(N)({
364
+ y: c(X)({
374
365
  centerX: t.value.width / 2,
375
366
  centerY: u.value.base,
376
367
  initX: l.center.startX,
@@ -381,16 +372,16 @@ const Ee = ["id"], Ae = { key: 0 }, De = ["xmlns", "viewBox"], je = ["id"], Ue =
381
372
  "font-size": t.value.labelFontSize * e.value.style.chart.layout.markers.fontSizeRatio,
382
373
  "font-weight": `${e.value.style.chart.layout.markers.bold ? "bold" : "normal"}`,
383
374
  fill: e.value.style.chart.layout.markers.color
384
- }, S(l.from.toFixed(e.value.style.chart.layout.markers.roundingValue)), 9, Je))), 256)),
375
+ }, S(l.from.toFixed(e.value.style.chart.layout.markers.roundingValue)), 9, He))), 256)),
385
376
  f("text", {
386
- x: c(N)({
377
+ x: c(X)({
387
378
  centerX: t.value.width / 2,
388
379
  centerY: u.value.base,
389
380
  initX: _.value.at(-1).endX,
390
381
  initY: _.value.at(-1).endY,
391
382
  offset: t.value.markerOffset
392
383
  }).x,
393
- y: c(N)({
384
+ y: c(X)({
394
385
  centerX: t.value.width / 2,
395
386
  centerY: u.value.base,
396
387
  initX: _.value.at(-1).endX,
@@ -401,9 +392,9 @@ const Ee = ["id"], Ae = { key: 0 }, De = ["xmlns", "viewBox"], je = ["id"], Ue =
401
392
  "font-size": t.value.labelFontSize * e.value.style.chart.layout.markers.fontSizeRatio,
402
393
  "font-weight": `${e.value.style.chart.layout.markers.bold ? "bold" : "normal"}`,
403
394
  fill: e.value.style.chart.layout.markers.color
404
- }, S(C.value.toFixed(e.value.style.chart.layout.markers.roundingValue)), 9, Ze),
405
- e.value.style.chart.layout.pointer.type === "rounded" ? (r(), n("g", Ke, [
406
- isNaN(d.value.x2) ? g("", !0) : (r(), n("line", {
395
+ }, S($.value.toFixed(e.value.style.chart.layout.markers.roundingValue)), 9, Ke),
396
+ e.value.style.chart.layout.pointer.type === "rounded" ? (o(), i("g", Ze, [
397
+ isNaN(d.value.x2) ? g("", !0) : (o(), i("line", {
407
398
  key: 0,
408
399
  x1: d.value.x1,
409
400
  y1: d.value.y1,
@@ -412,18 +403,18 @@ const Ee = ["id"], Ae = { key: 0 }, De = ["xmlns", "viewBox"], je = ["id"], Ue =
412
403
  stroke: e.value.style.chart.layout.pointer.stroke,
413
404
  "stroke-width": t.value.pointerStrokeWidth,
414
405
  "stroke-linecap": "round"
415
- }, null, 8, Qe)),
416
- isNaN(d.value.x2) ? g("", !0) : (r(), n("line", {
406
+ }, null, 8, Je)),
407
+ isNaN(d.value.x2) ? g("", !0) : (o(), i("line", {
417
408
  key: 1,
418
409
  x1: d.value.x1,
419
410
  y1: d.value.y1,
420
411
  x2: d.value.x2,
421
412
  y2: d.value.y2,
422
- stroke: e.value.style.chart.layout.pointer.useRatingColor ? G.value : e.value.style.chart.layout.pointer.color,
413
+ stroke: e.value.style.chart.layout.pointer.useRatingColor ? Y.value : e.value.style.chart.layout.pointer.color,
423
414
  "stroke-linecap": "round",
424
415
  "stroke-width": t.value.pointerStrokeWidth * 0.7
425
- }, null, 8, et)),
426
- !isNaN(d.value.x2) && e.value.style.chart.layout.track.useGradient ? (r(), n("line", {
416
+ }, null, 8, Qe)),
417
+ !isNaN(d.value.x2) && e.value.style.chart.layout.track.useGradient ? (o(), i("line", {
427
418
  key: 2,
428
419
  x1: d.value.x1,
429
420
  y1: d.value.y1,
@@ -433,16 +424,16 @@ const Ee = ["id"], Ae = { key: 0 }, De = ["xmlns", "viewBox"], je = ["id"], Ue =
433
424
  "stroke-linecap": "round",
434
425
  "stroke-width": t.value.pointerStrokeWidth * 0.3,
435
426
  filter: `url(#blur_${m.value})`
436
- }, null, 8, tt)) : g("", !0)
437
- ])) : (r(), n("g", at, [
438
- J.value ? (r(), n("path", {
427
+ }, null, 8, et)) : g("", !0)
428
+ ])) : (o(), i("g", tt, [
429
+ K.value ? (o(), i("path", {
439
430
  key: 0,
440
- d: J.value,
441
- fill: e.value.style.chart.layout.pointer.useRatingColor ? G.value : e.value.style.chart.layout.pointer.color,
431
+ d: K.value,
432
+ fill: e.value.style.chart.layout.pointer.useRatingColor ? Y.value : e.value.style.chart.layout.pointer.color,
442
433
  stroke: e.value.style.chart.layout.pointer.stroke,
443
434
  "stroke-width": e.value.style.chart.layout.pointer.circle.strokeWidth,
444
435
  "stroke-linejoin": "round"
445
- }, null, 8, lt)) : g("", !0)
436
+ }, null, 8, at)) : g("", !0)
446
437
  ])),
447
438
  f("circle", {
448
439
  cx: t.value.width / 2,
@@ -451,14 +442,14 @@ const Ee = ["id"], Ae = { key: 0 }, De = ["xmlns", "viewBox"], je = ["id"], Ue =
451
442
  r: t.value.pointerRadius <= 0 ? 1e-4 : t.value.pointerRadius,
452
443
  "stroke-width": e.value.style.chart.layout.pointer.circle.strokeWidth,
453
444
  stroke: e.value.style.chart.layout.pointer.circle.stroke
454
- }, null, 8, st),
445
+ }, null, 8, lt),
455
446
  f("text", {
456
447
  x: t.value.width / 2,
457
448
  y: u.value.ratingBase,
458
449
  "text-anchor": "middle",
459
450
  "font-size": t.value.legendFontSize,
460
451
  "font-weight": "bold",
461
- fill: e.value.style.chart.legend.useRatingColor ? G.value : e.value.style.chart.legend.color
452
+ fill: e.value.style.chart.legend.useRatingColor ? Y.value : e.value.style.chart.legend.color
462
453
  }, S(c(Me)(
463
454
  e.value.style.chart.legend.formatter,
464
455
  v.value,
@@ -468,13 +459,13 @@ const Ee = ["id"], Ae = { key: 0 }, De = ["xmlns", "viewBox"], je = ["id"], Ue =
468
459
  s: e.value.style.chart.legend.suffix,
469
460
  r: e.value.style.chart.legend.roundingValue
470
461
  })
471
- )), 9, rt),
462
+ )), 9, st),
472
463
  x(a.$slots, "svg", { svg: t.value }, void 0, !0)
473
- ], 14, De)) : g("", !0),
474
- a.$slots.watermark ? (r(), n("div", ot, [
464
+ ], 14, je)) : g("", !0),
465
+ a.$slots.watermark ? (o(), i("div", rt, [
475
466
  x(a.$slots, "watermark", te(ae({ isPrinting: c(T) || c(V) })), void 0, !0)
476
467
  ])) : g("", !0),
477
- z.value ? g("", !0) : (r(), E(Ye, {
468
+ z.value ? g("", !0) : (o(), R(Ye, {
478
469
  key: 4,
479
470
  config: {
480
471
  type: "gauge",
@@ -494,7 +485,7 @@ const Ee = ["id"], Ae = { key: 0 }, De = ["xmlns", "viewBox"], je = ["id"], Ue =
494
485
  ], 512)
495
486
  ], 14, Ee));
496
487
  }
497
- }, gt = /* @__PURE__ */ Re(ut, [["__scopeId", "data-v-4bb1fc5d"]]);
488
+ }, yt = /* @__PURE__ */ Re(ot, [["__scopeId", "data-v-0b442e48"]]);
498
489
  export {
499
- gt as default
490
+ yt as default
500
491
  };
@@ -1,6 +1,6 @@
1
1
  import { ref as x, onMounted as C, computed as c, watch as z, openBlock as a, createElementBlock as s, normalizeStyle as G, createElementVNode as t, createCommentVNode as r, Fragment as g, toDisplayString as y, unref as d } from "vue";
2
- import { u as L, c as b, e as N, i as p, f as k } from "./index-CaV1s-yZ.js";
3
- import { u as $ } from "./useNestedProp-tWCzZrLx.js";
2
+ import { u as L, c as b, e as N, i as p, f as k } from "./index-DP8dqFNd.js";
3
+ import { u as $ } from "./useNestedProp-B-oZxD4x.js";
4
4
  const F = ["viewBox", "width"], B = { key: 0 }, P = ["id"], D = ["stop-color"], I = ["stop-color"], M = ["stroke"], U = ["stroke"], V = ["width", "fill"], E = ["fill"], O = { key: 0 }, S = ["id"], A = /* @__PURE__ */ t("feGaussianBlur", {
5
5
  in: "SourceGraphic",
6
6
  stdDeviation: 1
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),a=require("./index-BTgtr0F8.cjs"),m=require("./useNestedProp-CisbRRo_.cjs"),k=["viewBox","width"],_={key:0},p=["id"],v=["stop-color"],g=["stop-color"],y=["stroke"],C=["stroke"],N=["width","fill"],w=["fill"],x={key:0},B=["id"],E=e.createElementVNode("feGaussianBlur",{in:"SourceGraphic",stdDeviation:1},null,-1),V=[E],b=["stroke"],L=["stroke","stroke-dasharray","stroke-dashoffset"],z=["filter"],G=["stroke","stroke-dasharray","stroke-dashoffset"],F=["fill"],$={__name:"vue-ui-gizmo",props:{config:{type:Object,default(){return{}}},dataset:{type:Number,default:0}},setup(i){const o=i,{vue_ui_gizmo:f}=a.useConfig(),n=e.ref(a.createUid());e.onMounted(()=>{c()});function c(){!o.dataset&&o.dataset!==0&&a.error({componentName:"VueUiGizmo",type:"dataset"}),o.dataset<0&&console.warn("VueUiGizmo: dataset cannot be negative.")}const t=e.computed({get:()=>d(),set:r=>r});function d(){return m.useNestedProp({userConfig:o.config,defaultConfig:f})}e.watch(()=>o.config,r=>{t.value=d(),c()},{deep:!0});const u=e.computed(()=>({battery:{width:t.value.showPercentage?140:80,height:50},gauge:{width:80,height:80}})[t.value.type]),l=e.computed(()=>{const s=2*Math.PI*35,h=s-o.dataset/100*s;return{dasharray:`${s} ${s}`,dashoffset:h}});return(r,s)=>(e.openBlock(),e.createElementBlock("svg",{class:"vue-ui-gizmo",viewBox:`0 0 ${u.value.width} ${u.value.height}`,width:t.value.size,style:e.normalizeStyle({background:"transparent",fontFamily:t.value.fontFamily})},[t.value.useGradient?(e.openBlock(),e.createElementBlock("defs",_,[e.createElementVNode("linearGradient",{id:`gizmo_gradient_${n.value}`,x1:"0%",x2:"100%",y1:"0%",y2:"0%"},[e.createElementVNode("stop",{offset:"0%","stop-color":t.value.gradientColor},null,8,v),e.createElementVNode("stop",{offset:"100%","stop-color":t.value.color},null,8,g)],8,p)])):e.createCommentVNode("",!0),t.value.type==="battery"?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createElementVNode("path",{d:"M 5 10 L 5 40 C 5 43 7 45 9 45 L 65 45 C 68 45 70 43 70 40 L 70 38 C 73 38 75 38 75 33 L 75 17 C 75 12 73 12 70 12 L 70 10 C 70 7 68 5 65 5 L 10 5 C 7 5 5 7 5 10",stroke:t.value.stroke,"stroke-width":2,fill:"none"},null,8,y),e.createElementVNode("path",{d:"M 70 16 L 70 34",stroke:t.value.stroke,"stroke-width":2,fill:"none",style:{opacity:"0.5"}},null,8,C),e.createElementVNode("rect",{x:10,y:10,height:30,width:55*(i.dataset/100),fill:t.value.useGradient?`url(#gizmo_gradient_${n.value})`:t.value.color,rx:2},null,8,N),t.value.showPercentage?(e.openBlock(),e.createElementBlock("text",{key:0,x:85,y:32,"text-anchor":"start","font-size":"20",fill:t.value.textColor},e.toDisplayString(e.unref(a.applyDataLabel)(t.value.formatter,o.dataset,e.unref(a.dataLabel)({v:o.dataset,s:"%"}))),9,w)):e.createCommentVNode("",!0)],64)):e.createCommentVNode("",!0),t.value.type==="gauge"?(e.openBlock(),e.createElementBlock(e.Fragment,{key:2},[t.value.useGradient?(e.openBlock(),e.createElementBlock("defs",x,[e.createElementVNode("filter",{id:`blur_${n.value}`,x:"-50%",y:"-50%",width:"200%",height:"200%"},V,8,B)])):e.createCommentVNode("",!0),e.createElementVNode("circle",{cx:40,cy:40,r:35,stroke:t.value.stroke,"stroke-width":2*4,fill:"none"},null,8,b),e.createElementVNode("circle",{cx:40,cy:40,r:35,stroke:t.value.color,"stroke-width":2*4,"stroke-dasharray":l.value.dasharray,"stroke-dashoffset":l.value.dashoffset,"stroke-linecap":"round",fill:"none",style:{transform:"rotate(-90deg)","transform-origin":"50% 50%"}},null,8,L),t.value.useGradient?(e.openBlock(),e.createElementBlock("g",{key:1,filter:`url(#blur_${n.value})`},[e.createElementVNode("circle",{cx:40,cy:40,r:35,stroke:t.value.gradientColor,"stroke-width":1,fill:"none","stroke-dasharray":l.value.dasharray,"stroke-dashoffset":l.value.dashoffset,style:{transform:"rotate(-90deg)","transform-origin":"50% 50%"}},null,8,G)],8,z)):e.createCommentVNode("",!0),t.value.showPercentage?(e.openBlock(),e.createElementBlock("text",{key:2,x:40,y:47,"text-anchor":"middle","font-size":"20",fill:t.value.textColor},e.toDisplayString(e.unref(a.applyDataLabel)(t.value.formatter,o.dataset,e.unref(a.dataLabel)({v:o.dataset,s:"%"}))),9,F)):e.createCommentVNode("",!0)],64)):e.createCommentVNode("",!0)],12,k))}};exports.default=$;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),a=require("./index-CzjC8LfY.cjs"),m=require("./useNestedProp-CY7DebVH.cjs"),k=["viewBox","width"],_={key:0},p=["id"],v=["stop-color"],g=["stop-color"],y=["stroke"],C=["stroke"],N=["width","fill"],w=["fill"],x={key:0},B=["id"],E=e.createElementVNode("feGaussianBlur",{in:"SourceGraphic",stdDeviation:1},null,-1),V=[E],b=["stroke"],L=["stroke","stroke-dasharray","stroke-dashoffset"],z=["filter"],G=["stroke","stroke-dasharray","stroke-dashoffset"],F=["fill"],$={__name:"vue-ui-gizmo",props:{config:{type:Object,default(){return{}}},dataset:{type:Number,default:0}},setup(i){const o=i,{vue_ui_gizmo:f}=a.useConfig(),n=e.ref(a.createUid());e.onMounted(()=>{c()});function c(){!o.dataset&&o.dataset!==0&&a.error({componentName:"VueUiGizmo",type:"dataset"}),o.dataset<0&&console.warn("VueUiGizmo: dataset cannot be negative.")}const t=e.computed({get:()=>d(),set:r=>r});function d(){return m.useNestedProp({userConfig:o.config,defaultConfig:f})}e.watch(()=>o.config,r=>{t.value=d(),c()},{deep:!0});const u=e.computed(()=>({battery:{width:t.value.showPercentage?140:80,height:50},gauge:{width:80,height:80}})[t.value.type]),l=e.computed(()=>{const s=2*Math.PI*35,h=s-o.dataset/100*s;return{dasharray:`${s} ${s}`,dashoffset:h}});return(r,s)=>(e.openBlock(),e.createElementBlock("svg",{class:"vue-ui-gizmo",viewBox:`0 0 ${u.value.width} ${u.value.height}`,width:t.value.size,style:e.normalizeStyle({background:"transparent",fontFamily:t.value.fontFamily})},[t.value.useGradient?(e.openBlock(),e.createElementBlock("defs",_,[e.createElementVNode("linearGradient",{id:`gizmo_gradient_${n.value}`,x1:"0%",x2:"100%",y1:"0%",y2:"0%"},[e.createElementVNode("stop",{offset:"0%","stop-color":t.value.gradientColor},null,8,v),e.createElementVNode("stop",{offset:"100%","stop-color":t.value.color},null,8,g)],8,p)])):e.createCommentVNode("",!0),t.value.type==="battery"?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createElementVNode("path",{d:"M 5 10 L 5 40 C 5 43 7 45 9 45 L 65 45 C 68 45 70 43 70 40 L 70 38 C 73 38 75 38 75 33 L 75 17 C 75 12 73 12 70 12 L 70 10 C 70 7 68 5 65 5 L 10 5 C 7 5 5 7 5 10",stroke:t.value.stroke,"stroke-width":2,fill:"none"},null,8,y),e.createElementVNode("path",{d:"M 70 16 L 70 34",stroke:t.value.stroke,"stroke-width":2,fill:"none",style:{opacity:"0.5"}},null,8,C),e.createElementVNode("rect",{x:10,y:10,height:30,width:55*(i.dataset/100),fill:t.value.useGradient?`url(#gizmo_gradient_${n.value})`:t.value.color,rx:2},null,8,N),t.value.showPercentage?(e.openBlock(),e.createElementBlock("text",{key:0,x:85,y:32,"text-anchor":"start","font-size":"20",fill:t.value.textColor},e.toDisplayString(e.unref(a.applyDataLabel)(t.value.formatter,o.dataset,e.unref(a.dataLabel)({v:o.dataset,s:"%"}))),9,w)):e.createCommentVNode("",!0)],64)):e.createCommentVNode("",!0),t.value.type==="gauge"?(e.openBlock(),e.createElementBlock(e.Fragment,{key:2},[t.value.useGradient?(e.openBlock(),e.createElementBlock("defs",x,[e.createElementVNode("filter",{id:`blur_${n.value}`,x:"-50%",y:"-50%",width:"200%",height:"200%"},V,8,B)])):e.createCommentVNode("",!0),e.createElementVNode("circle",{cx:40,cy:40,r:35,stroke:t.value.stroke,"stroke-width":2*4,fill:"none"},null,8,b),e.createElementVNode("circle",{cx:40,cy:40,r:35,stroke:t.value.color,"stroke-width":2*4,"stroke-dasharray":l.value.dasharray,"stroke-dashoffset":l.value.dashoffset,"stroke-linecap":"round",fill:"none",style:{transform:"rotate(-90deg)","transform-origin":"50% 50%"}},null,8,L),t.value.useGradient?(e.openBlock(),e.createElementBlock("g",{key:1,filter:`url(#blur_${n.value})`},[e.createElementVNode("circle",{cx:40,cy:40,r:35,stroke:t.value.gradientColor,"stroke-width":1,fill:"none","stroke-dasharray":l.value.dasharray,"stroke-dashoffset":l.value.dashoffset,style:{transform:"rotate(-90deg)","transform-origin":"50% 50%"}},null,8,G)],8,z)):e.createCommentVNode("",!0),t.value.showPercentage?(e.openBlock(),e.createElementBlock("text",{key:2,x:40,y:47,"text-anchor":"middle","font-size":"20",fill:t.value.textColor},e.toDisplayString(e.unref(a.applyDataLabel)(t.value.formatter,o.dataset,e.unref(a.dataLabel)({v:o.dataset,s:"%"}))),9,F)):e.createCommentVNode("",!0)],64)):e.createCommentVNode("",!0)],12,k))}};exports.default=$;
@@ -1,12 +1,12 @@
1
1
  import { useCssVars as Me, computed as h, ref as g, 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 te, t as Be, K as Re, g as Ee, L as ae, X as Ge, E as oe, i as F, f as N, s as z, x as Xe, y as He, q as De, r as Ue } from "./index-CaV1s-yZ.js";
3
- import { _ as Ye } from "./Title-gUz6GDA3.js";
4
- import { u as je, U as We } from "./usePrinter-rvJyT65A.js";
5
- import { _ as Ke } from "./Tooltip-DfSM1mNP.js";
6
- import qe from "./vue-ui-skeleton-CvFX_ExX.js";
7
- import Je from "./BaseIcon-rwm-10Hu.js";
8
- import Qe from "./vue-ui-accordion-CpzGQ63y.js";
9
- import { u as we } from "./useNestedProp-tWCzZrLx.js";
2
+ import { u as Pe, o as Ie, e as xe, c as te, 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-DP8dqFNd.js";
3
+ import { _ as Ye } from "./Title-Bx-VO3md.js";
4
+ import { u as je, U as We } from "./usePrinter-DiuHo4LO.js";
5
+ import { _ as qe } from "./Tooltip-Dk-cimhQ.js";
6
+ import Ke from "./vue-ui-skeleton-B30ZhUV7.js";
7
+ import Je from "./BaseIcon-BIQXWVMS.js";
8
+ import Qe from "./vue-ui-accordion-Dl8zkZPk.js";
9
+ import { u as we } from "./useNestedProp-B-oZxD4x.js";
10
10
  import { _ as Ze } from "./_plugin-vue_export-helper-CHgC5LLL.js";
11
11
  const el = ["id"], ll = ["xmlns", "viewBox"], tl = ["x", "y", "width", "height", "fill", "stroke", "stroke-width"], al = ["x", "y", "width", "height", "fill", "stroke", "stroke-width"], ol = ["font-size", "font-weight", "fill", "x", "y"], sl = ["x", "y", "width", "height", "onMouseover"], ul = { key: 0 }, nl = ["font-size", "fill", "x", "y", "font-weight"], il = { key: 0 }, rl = ["text-anchor", "font-size", "fill", "font-weight", "transform"], vl = { key: 1 }, dl = ["x", "y", "width", "height", "stroke", "stroke-width"], yl = { key: 2 }, cl = ["id"], hl = ["stop-color"], gl = ["stop-color"], pl = ["x", "y", "font-size", "fill"], fl = ["x", "y", "height", "rx", "fill"], bl = ["x", "y", "font-size", "fill"], ml = ["stroke", "x1", "x2", "y1", "y2"], xl = ["fill", "d"], wl = { key: 3 }, _l = {
12
12
  id: "colorScaleHorizontal",
@@ -43,7 +43,7 @@ const el = ["id"], ll = ["xmlns", "viewBox"], tl = ["x", "y", "width", "height",
43
43
  componentName: "VueUiHeatmap",
44
44
  type: "dataset"
45
45
  });
46
- const V = g(te()), K = g(null), $e = g(null), q = g(!1), J = g(""), se = g(void 0), P = g(null), ue = g(0), ne = g(null), ie = g(!1), re = g(0), e = h({
46
+ const V = g(te()), q = g(null), $e = g(null), K = g(!1), J = g(""), se = g(void 0), P = g(null), ue = g(0), ne = g(null), ie = g(!1), re = g(0), e = h({
47
47
  get: () => ve(),
48
48
  set: (l) => l
49
49
  });
@@ -149,7 +149,7 @@ const el = ["id"], ll = ["xmlns", "viewBox"], tl = ["x", "y", "width", "height",
149
149
  seriesIndex: a,
150
150
  series: D.value,
151
151
  config: e.value
152
- }, q.value = !0;
152
+ }, K.value = !0;
153
153
  let ee = "";
154
154
  const le = e.value.style.tooltip.customFormat;
155
155
  Xe(le) && He(() => le({
@@ -212,7 +212,7 @@ const el = ["id"], ll = ["xmlns", "viewBox"], tl = ["x", "y", "width", "height",
212
212
  toggleTooltip: fe
213
213
  }), (l, a) => (s(), n("div", {
214
214
  ref_key: "heatmapChart",
215
- ref: K,
215
+ ref: q,
216
216
  class: U(`vue-ui-heatmap ${E.value ? "vue-data-ui-wrapper-fullscreen" : ""}`),
217
217
  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}`),
218
218
  id: `heatmap__${V.value}`
@@ -253,7 +253,7 @@ const el = ["id"], ll = ["xmlns", "viewBox"], tl = ["x", "y", "width", "height",
253
253
  isFullscreen: E.value,
254
254
  isTooltip: w.value.showTooltip,
255
255
  titles: { ...e.value.userOptions.buttonTitles },
256
- chartElement: K.value,
256
+ chartElement: q.value,
257
257
  onToggleFullscreen: ze,
258
258
  onGeneratePdf: i(ce),
259
259
  onGenerateCsv: ge,
@@ -361,7 +361,7 @@ const el = ["id"], ll = ["xmlns", "viewBox"], tl = ["x", "y", "width", "height",
361
361
  stroke: "none",
362
362
  onMouseover: (L) => Ae(y, v, t.value.left + d.value.width * p, t.value.top + d.value.height * v),
363
363
  onMouseout: a[0] || (a[0] = (L) => {
364
- q.value = !1, se.value = void 0, C.value = null, P.value = null;
364
+ K.value = !1, se.value = void 0, C.value = null, P.value = null;
365
365
  })
366
366
  }, null, 40, sl)
367
367
  ]))), 256)),
@@ -548,7 +548,7 @@ const el = ["id"], ll = ["xmlns", "viewBox"], tl = ["x", "y", "width", "height",
548
548
  l.$slots.watermark ? (s(), n("div", Ml, [
549
549
  x(l.$slots, "watermark", j(W({ isPrinting: i(de) || i(ye) })), void 0, !0)
550
550
  ])) : c("", !0),
551
- X.value ? c("", !0) : (s(), Y(qe, {
551
+ X.value ? c("", !0) : (s(), Y(Ke, {
552
552
  key: 4,
553
553
  config: {
554
554
  type: "heatmap",
@@ -560,8 +560,8 @@ const el = ["id"], ll = ["xmlns", "viewBox"], tl = ["x", "y", "width", "height",
560
560
  }
561
561
  }
562
562
  }, null, 8, ["config"])),
563
- me(Ke, {
564
- show: w.value.showTooltip && q.value,
563
+ me(qe, {
564
+ show: w.value.showTooltip && K.value,
565
565
  backgroundColor: e.value.style.tooltip.backgroundColor,
566
566
  color: e.value.style.tooltip.color,
567
567
  borderRadius: e.value.style.tooltip.borderRadius,
@@ -571,7 +571,7 @@ const el = ["id"], ll = ["xmlns", "viewBox"], tl = ["x", "y", "width", "height",
571
571
  backgroundOpacity: e.value.style.tooltip.backgroundOpacity,
572
572
  position: e.value.style.tooltip.position,
573
573
  offsetY: e.value.style.tooltip.offsetY,
574
- parent: K.value,
574
+ parent: q.value,
575
575
  content: J.value,
576
576
  isCustom: e.value.style.tooltip.customFormat && typeof e.value.style.tooltip.customFormat == "function"
577
577
  }, {