vue-data-ui 2.4.57 → 2.4.59

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (202) hide show
  1. package/README.md +82 -51
  2. package/dist/{Arrow-BhwhLRcU.cjs → Arrow-Dudbi6k5.cjs} +1 -1
  3. package/dist/{Arrow-DelnKkT1.js → Arrow-DzS4HIXj.js} +1 -1
  4. package/dist/{BaseIcon-9gdEHMWK.js → BaseIcon-BbU81zOd.js} +1 -1
  5. package/dist/{BaseIcon-DujPvdJ_.cjs → BaseIcon-DD3GLrhS.cjs} +1 -1
  6. package/dist/{DataTable-BUflha5V.cjs → DataTable-BHCbVv8x.cjs} +1 -1
  7. package/dist/{DataTable-DgbrnD__.js → DataTable-CFUKU8PU.js} +2 -2
  8. package/dist/{Legend-V3K-4ipN.cjs → Legend-BYngLoV6.cjs} +1 -1
  9. package/dist/{Legend-HooNAKB_.js → Legend-f52bnttJ.js} +1 -1
  10. package/dist/{PackageVersion-S3SzpuwC.js → PackageVersion-C_FFs0BP.js} +1 -1
  11. package/dist/{PackageVersion-dQYEsTLp.cjs → PackageVersion-nr7f_VNw.cjs} +1 -1
  12. package/dist/{PenAndPaper-1h87IVla.cjs → PenAndPaper-C9v0NXEg.cjs} +1 -1
  13. package/dist/{PenAndPaper-v846FwcH.js → PenAndPaper-Dx24BtRW.js} +3 -3
  14. package/dist/{Shape-D7aacHaz.js → Shape-Ct2x6qZx.js} +1 -1
  15. package/dist/{Shape-DV5sH0dX.cjs → Shape-Dkt-vkTl.cjs} +1 -1
  16. package/dist/{Slicer-BRxR5OYL.cjs → Slicer-C0cvEMOy.cjs} +1 -1
  17. package/dist/{Slicer-BXCORSCz.js → Slicer-Duke9qno.js} +2 -2
  18. package/dist/{Title-B-EsW0Q2.cjs → Title-CpfNWbUc.cjs} +1 -1
  19. package/dist/{Title-DLjHHdyq.js → Title-zZtEcB9F.js} +1 -1
  20. package/dist/{Tooltip-BDaa-67h.js → Tooltip-DDJ2Wvjy.js} +1 -1
  21. package/dist/{Tooltip-B7gYRLGN.cjs → Tooltip-DZuVxmLc.cjs} +1 -1
  22. package/dist/documentation/installation.md +48 -48
  23. package/dist/{index-CI-N9klv.js → index-B9RAElpI.js} +2 -2
  24. package/dist/index-DaDv7p0W.cjs +9 -0
  25. package/dist/style.css +1 -1
  26. package/dist/{useNestedProp-D-zaZbSR.cjs → useNestedProp-DkpuL8Iv.cjs} +1 -1
  27. package/dist/{useNestedProp-D1eJ0dvv.js → useNestedProp-DuruL3Nt.js} +1 -1
  28. package/dist/{usePrinter-H2UFIe6n.cjs → usePrinter-BIHu0O5X.cjs} +1 -1
  29. package/dist/{usePrinter-CXc8xCKk.js → usePrinter-CwTAwqtF.js} +1 -1
  30. package/dist/{vue-data-ui-CvfX2D1d.cjs → vue-data-ui-BXCJgMfu.cjs} +1 -1
  31. package/dist/{vue-data-ui-DuXblXhF.js → vue-data-ui-yknmkfFy.js} +60 -60
  32. package/dist/vue-data-ui.cjs +1 -1
  33. package/dist/vue-data-ui.js +1 -1
  34. package/dist/{vue-ui-3d-bar-fvTVGk8O.js → vue-ui-3d-bar-BkbLoUhP.js} +170 -158
  35. package/dist/vue-ui-3d-bar-CHnh8ZH_.cjs +19 -0
  36. package/dist/{vue-ui-accordion-paZXh-GD.cjs → vue-ui-accordion-6Clt339w.cjs} +1 -1
  37. package/dist/{vue-ui-accordion-CYLks1fW.js → vue-ui-accordion-rNA598L6.js} +3 -3
  38. package/dist/{vue-ui-age-pyramid-Ch3nY1Dx.js → vue-ui-age-pyramid-C3o5HfRK.js} +176 -164
  39. package/dist/vue-ui-age-pyramid-CKDDaRj_.cjs +1 -0
  40. package/dist/{vue-ui-annotator-BXbLcJ1L.cjs → vue-ui-annotator-BLilhXfT.cjs} +1 -1
  41. package/dist/{vue-ui-annotator-DGupSF-o.js → vue-ui-annotator-huMOA-QF.js} +1 -1
  42. package/dist/{vue-ui-bullet-BSRXabBe.js → vue-ui-bullet-DxYdog9c.js} +155 -143
  43. package/dist/vue-ui-bullet-yTpejKsw.cjs +34 -0
  44. package/dist/{vue-ui-candlestick-Dww4XHwQ.js → vue-ui-candlestick-3lCgRxr0.js} +96 -84
  45. package/dist/vue-ui-candlestick-CmD40PpS.cjs +2 -0
  46. package/dist/vue-ui-carousel-table-BU8oAq6b.cjs +1 -0
  47. package/dist/{vue-ui-carousel-table-BZs-sxxu.js → vue-ui-carousel-table-D3JIrHMF.js} +97 -95
  48. package/dist/vue-ui-chestnut-BWRUxwWm.cjs +6 -0
  49. package/dist/{vue-ui-chestnut-CnupXXAM.js → vue-ui-chestnut-cWFqbqSU.js} +160 -148
  50. package/dist/{vue-ui-cursor-oqfOA98Q.js → vue-ui-cursor-DjWkFQEI.js} +2 -2
  51. package/dist/{vue-ui-cursor-smlBNiGG.cjs → vue-ui-cursor-DzJmB5h9.cjs} +1 -1
  52. package/dist/{vue-ui-dashboard-BNu7yNYm.js → vue-ui-dashboard-1dycrMNM.js} +2 -2
  53. package/dist/{vue-ui-dashboard-Dw_90R29.cjs → vue-ui-dashboard-BOjdgUEm.cjs} +1 -1
  54. package/dist/{vue-ui-digits-_8FbgFrI.cjs → vue-ui-digits-B8TVsqsB.cjs} +1 -1
  55. package/dist/{vue-ui-digits-qztPrOEN.js → vue-ui-digits-C4NWhIjg.js} +2 -2
  56. package/dist/vue-ui-donut-BPz8gXi5.cjs +1 -0
  57. package/dist/{vue-ui-donut-CK9dINFS.js → vue-ui-donut-CXBxDUoh.js} +291 -279
  58. package/dist/{vue-ui-donut-evolution-DpDpYw3f.js → vue-ui-donut-evolution-BgD7rCFk.js} +285 -273
  59. package/dist/vue-ui-donut-evolution-h3ZgYI48.cjs +1 -0
  60. package/dist/vue-ui-dumbbell-BCyFd1Lf.cjs +9 -0
  61. package/dist/{vue-ui-dumbbell-Dx1I89N9.js → vue-ui-dumbbell-DMp-Waih.js} +159 -147
  62. package/dist/{vue-ui-flow-DJNqydD1.js → vue-ui-flow-D-XBMcpC.js} +162 -150
  63. package/dist/vue-ui-flow-DB3_5wEr.cjs +1 -0
  64. package/dist/vue-ui-funnel-DJVmn_pN.cjs +1 -0
  65. package/dist/{vue-ui-funnel-mP8ftcS5.js → vue-ui-funnel-Dxb6o97C.js} +229 -215
  66. package/dist/{vue-ui-galaxy-3cOLS6lh.js → vue-ui-galaxy-C2eHqbLw.js} +148 -136
  67. package/dist/vue-ui-galaxy-CIBBO623.cjs +1 -0
  68. package/dist/{vue-ui-gauge-CN_zo833.js → vue-ui-gauge-B9M8ICMX.js} +199 -185
  69. package/dist/vue-ui-gauge-C_JArbcd.cjs +1 -0
  70. package/dist/vue-ui-gizmo-ETKRu3P5.cjs +1 -0
  71. package/dist/{vue-ui-gizmo-akkNcCWf.js → vue-ui-gizmo-OGIvFCA4.js} +45 -43
  72. package/dist/{vue-ui-heatmap-B3ClLioV.js → vue-ui-heatmap-C2BobYAF.js} +138 -126
  73. package/dist/vue-ui-heatmap-mPZepJ4V.cjs +1 -0
  74. package/dist/{vue-ui-history-plot-C-EqVFW-.js → vue-ui-history-plot-BtBDW5ha.js} +127 -115
  75. package/dist/vue-ui-history-plot-DgEFbRv3.cjs +1 -0
  76. package/dist/{vue-ui-kpi-C-axCKZx.js → vue-ui-kpi-BCwmp6i5.js} +36 -33
  77. package/dist/vue-ui-kpi-DZGoUp6y.cjs +1 -0
  78. package/dist/{vue-ui-mini-loader-Cal5W_q6.cjs → vue-ui-mini-loader-B_I1k10C.cjs} +1 -1
  79. package/dist/{vue-ui-mini-loader-CsZ1zxJz.js → vue-ui-mini-loader-DWQfo-Ey.js} +2 -2
  80. package/dist/{vue-ui-molecule-BvNh7REY.js → vue-ui-molecule-CpWWvLlc.js} +212 -200
  81. package/dist/vue-ui-molecule-CqHsa4N7.cjs +1 -0
  82. package/dist/{vue-ui-mood-radar-C7v4dBNw.js → vue-ui-mood-radar-B4-AQAyE.js} +123 -111
  83. package/dist/vue-ui-mood-radar-Dx6ICJkv.cjs +1 -0
  84. package/dist/{vue-ui-nested-donuts-C08kpvMd.js → vue-ui-nested-donuts-C-afzEvx.js} +156 -144
  85. package/dist/vue-ui-nested-donuts-C8LG5ony.cjs +17 -0
  86. package/dist/vue-ui-onion-KC_zqQyz.cjs +5 -0
  87. package/dist/{vue-ui-onion-CTLBemDj.js → vue-ui-onion-wBz5dln6.js} +125 -113
  88. package/dist/vue-ui-parallel-coordinate-plot-BK1sUOyd.cjs +8 -0
  89. package/dist/{vue-ui-parallel-coordinate-plot-H1FdP6AE.js → vue-ui-parallel-coordinate-plot-BoiKoaod.js} +159 -147
  90. package/dist/vue-ui-quadrant-BJ3gSVgF.cjs +1 -0
  91. package/dist/{vue-ui-quadrant-Dd-LDy4T.js → vue-ui-quadrant-DY6yUyOl.js} +211 -199
  92. package/dist/{vue-ui-quick-chart-BeNivWrg.js → vue-ui-quick-chart-DBH9CgBI.js} +576 -540
  93. package/dist/vue-ui-quick-chart-OHwPApk1.cjs +15 -0
  94. package/dist/{vue-ui-radar-D9U_vOad.js → vue-ui-radar-DYnmlHtt.js} +183 -171
  95. package/dist/vue-ui-radar-nhy4Pqtc.cjs +1 -0
  96. package/dist/{vue-ui-rating-B7AlAqCY.js → vue-ui-rating-3LUgui--.js} +102 -98
  97. package/dist/vue-ui-rating-wl5jkxb5.cjs +1 -0
  98. package/dist/vue-ui-relation-circle-CGkAsJl8.cjs +1 -0
  99. package/dist/{vue-ui-relation-circle-CT23BNcW.js → vue-ui-relation-circle-Da09K_Ce.js} +129 -117
  100. package/dist/{vue-ui-rings-BZ7FYYxr.js → vue-ui-rings-BuVPBXNc.js} +150 -138
  101. package/dist/vue-ui-rings-DZfhibc4.cjs +2 -0
  102. package/dist/{vue-ui-scatter-DMr8OrC3.js → vue-ui-scatter-Bee79rib.js} +320 -308
  103. package/dist/vue-ui-scatter-ChYAlXb_.cjs +1 -0
  104. package/dist/{vue-ui-screenshot-BFV1qEsF.cjs → vue-ui-screenshot-Blz4fiO2.cjs} +1 -1
  105. package/dist/{vue-ui-screenshot-DHiX35pR.js → vue-ui-screenshot-CCnAaGB3.js} +1 -1
  106. package/dist/{vue-ui-skeleton-BIWgLDDf.cjs → vue-ui-skeleton-B24XJJ2p.cjs} +1 -1
  107. package/dist/{vue-ui-skeleton-owIhXtQF.js → vue-ui-skeleton-DVYD_VSe.js} +3 -3
  108. package/dist/vue-ui-smiley-CXOuAdIj.cjs +2 -0
  109. package/dist/{vue-ui-smiley-CCOQ6zjo.js → vue-ui-smiley-CdrTI5Rh.js} +208 -206
  110. package/dist/vue-ui-spark-trend-B08HYMm5.cjs +1 -0
  111. package/dist/{vue-ui-spark-trend-B56DI3Mc.js → vue-ui-spark-trend-Pd3JNy4G.js} +124 -112
  112. package/dist/{vue-ui-sparkbar-CMkozDkx.js → vue-ui-sparkbar-CTDWiUid.js} +100 -96
  113. package/dist/vue-ui-sparkbar-Dq1hwL7i.cjs +1 -0
  114. package/dist/{vue-ui-sparkgauge-De06LRPj.js → vue-ui-sparkgauge-g0C7wuIH.js} +60 -48
  115. package/dist/vue-ui-sparkgauge-il4rmDdv.cjs +1 -0
  116. package/dist/vue-ui-sparkhistogram-CoRPiLpB.cjs +1 -0
  117. package/dist/{vue-ui-sparkhistogram-CBDd7jIn.js → vue-ui-sparkhistogram-Dk8IYZGB.js} +116 -104
  118. package/dist/vue-ui-sparkline-B_1J2ft2.cjs +1 -0
  119. package/dist/{vue-ui-sparkline-BJejWvTN.js → vue-ui-sparkline-Ca1ai-Mq.js} +124 -112
  120. package/dist/{vue-ui-sparkstackbar-DlnmPom2.js → vue-ui-sparkstackbar-CRGrf5y2.js} +85 -81
  121. package/dist/vue-ui-sparkstackbar-tkiKbZHo.cjs +1 -0
  122. package/dist/{vue-ui-stackbar-19XdLQXB.js → vue-ui-stackbar-QaavE5-F.js} +219 -207
  123. package/dist/vue-ui-stackbar-zk1K5gP3.cjs +6 -0
  124. package/dist/vue-ui-strip-plot-8Ksp5AzD.cjs +1 -0
  125. package/dist/{vue-ui-strip-plot-Bly8GoNP.js → vue-ui-strip-plot-gm_lr5A9.js} +113 -101
  126. package/dist/{vue-ui-table-BisPh85-.cjs → vue-ui-table-CPLd7hXM.cjs} +1 -1
  127. package/dist/{vue-ui-table-BUF6Pyfp.js → vue-ui-table-ceYZ6Wzd.js} +1 -1
  128. package/dist/vue-ui-table-heatmap-CSsYOFf7.cjs +1 -0
  129. package/dist/{vue-ui-table-heatmap-By-MmFiq.js → vue-ui-table-heatmap-CWQIOR58.js} +82 -78
  130. package/dist/{vue-ui-table-sparkline-DG70UNkU.js → vue-ui-table-sparkline-BHkqm0Sf.js} +78 -74
  131. package/dist/vue-ui-table-sparkline-hyL_92AC.cjs +1 -0
  132. package/dist/vue-ui-thermometer-CKiohIHn.cjs +1 -0
  133. package/dist/{vue-ui-thermometer-Vr2IP_p0.js → vue-ui-thermometer-Dvk3S7jR.js} +132 -120
  134. package/dist/vue-ui-timer-BUuk2p4C.cjs +64 -0
  135. package/dist/{vue-ui-timer-CD7gFOjN.js → vue-ui-timer-D0tGj6hK.js} +94 -82
  136. package/dist/{vue-ui-tiremarks-44pO3jx1.js → vue-ui-tiremarks-C2G0Sem6.js} +104 -94
  137. package/dist/vue-ui-tiremarks-Csng3xWI.cjs +1 -0
  138. package/dist/{vue-ui-treemap-CyOUM3-P.js → vue-ui-treemap-3iutCx61.js} +336 -332
  139. package/dist/vue-ui-treemap-CJjATl47.cjs +1 -0
  140. package/dist/{vue-ui-vertical-bar-wngOp0Zc.js → vue-ui-vertical-bar-DZz_tUTV.js} +188 -176
  141. package/dist/vue-ui-vertical-bar-DtuEIajX.cjs +4 -0
  142. package/dist/vue-ui-waffle-B-Uf38ml.cjs +1 -0
  143. package/dist/{vue-ui-waffle-CuN7i0ci.js → vue-ui-waffle-Cr4FGNwb.js} +140 -136
  144. package/dist/vue-ui-wheel-Bijmdum9.cjs +1 -0
  145. package/dist/{vue-ui-wheel-B_gLugLx.js → vue-ui-wheel-Da4DH062.js} +100 -88
  146. package/dist/{vue-ui-word-cloud-DKHGS0my.js → vue-ui-word-cloud-C3o4JBD2.js} +132 -120
  147. package/dist/vue-ui-word-cloud-Cjyh1I0J.cjs +1 -0
  148. package/dist/{vue-ui-xy-BK9R8MrJ.js → vue-ui-xy-BX_3ddck.js} +139 -127
  149. package/dist/{vue-ui-xy-canvas-DaT4HoWD.js → vue-ui-xy-canvas-DqzVCtbZ.js} +231 -227
  150. package/dist/{vue-ui-xy-canvas-gDaRsnBI.cjs → vue-ui-xy-canvas-ObtOgMlV.cjs} +2 -2
  151. package/dist/vue-ui-xy-gClSSwyU.cjs +3 -0
  152. package/package.json +1 -1
  153. package/dist/index-o6tXRhOr.cjs +0 -9
  154. package/dist/vue-ui-3d-bar-zKUnnMOY.cjs +0 -19
  155. package/dist/vue-ui-age-pyramid-Bg8Bexac.cjs +0 -1
  156. package/dist/vue-ui-bullet-DqM9h81O.cjs +0 -34
  157. package/dist/vue-ui-candlestick-C0PkovyK.cjs +0 -2
  158. package/dist/vue-ui-carousel-table-DbXCpYUm.cjs +0 -1
  159. package/dist/vue-ui-chestnut-Be4Lagdr.cjs +0 -6
  160. package/dist/vue-ui-donut-B7orj3vV.cjs +0 -1
  161. package/dist/vue-ui-donut-evolution-BmTzjKlH.cjs +0 -1
  162. package/dist/vue-ui-dumbbell-5yfcA-Of.cjs +0 -9
  163. package/dist/vue-ui-flow-Bar7LG9t.cjs +0 -1
  164. package/dist/vue-ui-funnel-lxHehCUr.cjs +0 -1
  165. package/dist/vue-ui-galaxy-B8zbGikp.cjs +0 -1
  166. package/dist/vue-ui-gauge-Bz1nzveF.cjs +0 -1
  167. package/dist/vue-ui-gizmo-C9XQ-7Sj.cjs +0 -1
  168. package/dist/vue-ui-heatmap-BW6dmp8j.cjs +0 -1
  169. package/dist/vue-ui-history-plot-Mp0zDeR-.cjs +0 -1
  170. package/dist/vue-ui-kpi-D8hh3p8f.cjs +0 -1
  171. package/dist/vue-ui-molecule-RkdIX-iW.cjs +0 -1
  172. package/dist/vue-ui-mood-radar-DLpDoq0G.cjs +0 -1
  173. package/dist/vue-ui-nested-donuts-BO249_PV.cjs +0 -17
  174. package/dist/vue-ui-onion-BjNQgHPX.cjs +0 -5
  175. package/dist/vue-ui-parallel-coordinate-plot-CoeVi-98.cjs +0 -8
  176. package/dist/vue-ui-quadrant-D701bdNz.cjs +0 -1
  177. package/dist/vue-ui-quick-chart-CRNEkxoM.cjs +0 -15
  178. package/dist/vue-ui-radar-3W9NRklj.cjs +0 -1
  179. package/dist/vue-ui-rating-DeuaL_cU.cjs +0 -1
  180. package/dist/vue-ui-relation-circle-B8JtK-JM.cjs +0 -1
  181. package/dist/vue-ui-rings-CZCTLghE.cjs +0 -2
  182. package/dist/vue-ui-scatter-DlA0xU5U.cjs +0 -1
  183. package/dist/vue-ui-smiley-BISneB7t.cjs +0 -2
  184. package/dist/vue-ui-spark-trend-lMzod-5S.cjs +0 -1
  185. package/dist/vue-ui-sparkbar-DcdDLl8l.cjs +0 -1
  186. package/dist/vue-ui-sparkgauge-BhwNRzrD.cjs +0 -1
  187. package/dist/vue-ui-sparkhistogram-D00ahrgs.cjs +0 -1
  188. package/dist/vue-ui-sparkline-CY92qVz0.cjs +0 -1
  189. package/dist/vue-ui-sparkstackbar-BjKL_6dq.cjs +0 -1
  190. package/dist/vue-ui-stackbar-T4VBFpDo.cjs +0 -6
  191. package/dist/vue-ui-strip-plot-CtjbMamo.cjs +0 -1
  192. package/dist/vue-ui-table-heatmap-CPn-jC0n.cjs +0 -1
  193. package/dist/vue-ui-table-sparkline-CIDuWZZs.cjs +0 -1
  194. package/dist/vue-ui-thermometer-CMvk1D7J.cjs +0 -1
  195. package/dist/vue-ui-timer-CUHgN89f.cjs +0 -64
  196. package/dist/vue-ui-tiremarks-w_gxHFeB.cjs +0 -1
  197. package/dist/vue-ui-treemap-CFhTEaxa.cjs +0 -1
  198. package/dist/vue-ui-vertical-bar-C51RKLB8.cjs +0 -4
  199. package/dist/vue-ui-waffle-CXZc4t27.cjs +0 -1
  200. package/dist/vue-ui-wheel-u9Vc7ZTZ.cjs +0 -1
  201. package/dist/vue-ui-word-cloud-tSXyXvd6.cjs +0 -1
  202. package/dist/vue-ui-xy-bX3g4COC.cjs +0 -3
@@ -1,18 +1,18 @@
1
- import { computed as y, ref as d, watch as me, onMounted as Ae, onBeforeUnmount as Re, openBlock as o, createElementBlock as u, normalizeClass as pe, normalizeStyle as L, unref as i, createBlock as R, createCommentVNode as h, withCtx as X, toDisplayString as C, createSlots as Ge, renderSlot as w, normalizeProps as D, guardReactiveProps as B, createVNode as Ee, createElementVNode as p, Fragment as x, renderList as S, mergeProps as G } from "vue";
2
- import { u as Ue, c as We, t as Te, a as je, p as ge, b as Le, o as ke, d as De, e as E, g as be, m as V, I as z, X as Be, s as q, k as Ve, i as H, f as Z, F as J } from "./index-CI-N9klv.js";
1
+ import { computed as y, ref as d, watch as me, onMounted as Ae, onBeforeUnmount as Re, openBlock as o, createElementBlock as u, normalizeClass as ge, normalizeStyle as L, unref as i, createBlock as R, createCommentVNode as h, withCtx as X, toDisplayString as C, createSlots as Ge, renderSlot as w, normalizeProps as D, guardReactiveProps as B, createVNode as Ee, createElementVNode as g, Fragment as x, renderList as S, mergeProps as G } from "vue";
2
+ import { u as Ue, c as We, t as je, a as Te, p as pe, b as Le, o as ke, d as De, e as E, g as be, m as V, I as $, X as Be, s as q, k as Ve, i as H, f as Z, F as J } from "./index-B9RAElpI.js";
3
3
  import { t as qe, u as He } from "./useResponsive-CoxXLe23.js";
4
- import { u as Ze, U as Je } from "./usePrinter-CXc8xCKk.js";
5
- import Ke from "./vue-ui-skeleton-owIhXtQF.js";
6
- import { _ as Qe } from "./Title-DLjHHdyq.js";
7
- import { u as xe } from "./useNestedProp-D1eJ0dvv.js";
8
- import { _ as et } from "./PackageVersion-S3SzpuwC.js";
9
- import { P as tt } from "./PenAndPaper-v846FwcH.js";
4
+ import { u as Ze, U as Je } from "./usePrinter-CwTAwqtF.js";
5
+ import Ke from "./vue-ui-skeleton-DVYD_VSe.js";
6
+ import { _ as Qe } from "./Title-zZtEcB9F.js";
7
+ import { u as xe } from "./useNestedProp-DuruL3Nt.js";
8
+ import { _ as et } from "./PackageVersion-C_FFs0BP.js";
9
+ import { P as tt } from "./PenAndPaper-Dx24BtRW.js";
10
10
  import { u as at } from "./useUserOptionState-BIvW1Kz7.js";
11
11
  import { _ as lt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
12
- const st = ["id"], rt = { key: 0 }, ot = ["xmlns", "viewBox"], ut = ["id"], nt = ["stop-color"], it = ["stop-color"], ct = ["stop-color"], vt = ["id"], ht = ["stdDeviation"], dt = ["d", "fill", "stroke"], yt = ["id", "d"], ft = ["fill", "font-size", "font-weight"], mt = ["href", "startOffset"], pt = ["x", "y", "text-anchor", "fill", "font-size", "font-weight"], gt = ["d", "filter"], kt = ["stroke", "stroke-width"], bt = ["stroke", "stroke-width"], xt = ["stroke", "stroke-width"], _t = ["stroke", "stroke-width"], wt = { key: 4 }, St = ["x", "y", "text-anchor", "font-size", "font-weight", "fill"], zt = ["x", "y", "font-size", "font-weight", "fill"], $t = { key: 6 }, Ft = ["x1", "y1", "x2", "y2", "stroke", "stroke-width"], Ct = ["x1", "y1", "x2", "y2", "stroke", "stroke-width"], Ot = ["x1", "y1", "x2", "y2", "stroke-width", "filter"], Mt = { key: 7 }, Pt = ["d", "fill", "stroke", "stroke-width"], Nt = ["cx", "cy", "fill", "r", "stroke-width", "stroke"], Xt = ["x", "y", "font-size", "fill"], Yt = {
12
+ const st = ["id"], rt = { key: 0 }, ot = ["xmlns", "viewBox"], ut = ["width", "height"], nt = ["id"], it = ["stop-color"], ct = ["stop-color"], vt = ["stop-color"], ht = ["id"], dt = ["stdDeviation"], yt = ["d", "fill", "stroke"], ft = ["id", "d"], mt = ["fill", "font-size", "font-weight"], gt = ["href", "startOffset"], pt = ["x", "y", "text-anchor", "fill", "font-size", "font-weight"], kt = ["d", "filter"], bt = ["stroke", "stroke-width"], xt = ["stroke", "stroke-width"], _t = ["stroke", "stroke-width"], wt = ["stroke", "stroke-width"], St = { key: 5 }, $t = ["x", "y", "text-anchor", "font-size", "font-weight", "fill"], zt = ["x", "y", "font-size", "font-weight", "fill"], Ft = { key: 7 }, Ct = ["x1", "y1", "x2", "y2", "stroke", "stroke-width"], Ot = ["x1", "y1", "x2", "y2", "stroke", "stroke-width"], Mt = ["x1", "y1", "x2", "y2", "stroke-width", "filter"], Pt = { key: 8 }, Nt = ["d", "fill", "stroke", "stroke-width"], Xt = ["cx", "cy", "fill", "r", "stroke-width", "stroke"], Yt = ["x", "y", "font-size", "fill"], It = {
13
13
  key: 5,
14
14
  class: "vue-data-ui-watermark"
15
- }, It = {
15
+ }, At = {
16
16
  __name: "vue-ui-gauge",
17
17
  props: {
18
18
  config: {
@@ -31,28 +31,28 @@ const st = ["id"], rt = { key: 0 }, ot = ["xmlns", "viewBox"], ut = ["id"], nt =
31
31
  setup(U, { expose: _e }) {
32
32
  const v = U, { vue_ui_gauge: we } = Ue(), Y = y(() => !!v.dataset && Object.keys(v.dataset).length > 0 && v.dataset.series && v.dataset.series.length), _ = d(We()), Se = d(null), K = d(0), O = d(null), Q = d(null), ee = d(null), te = d(null), ae = d(null), le = d(0), e = y({
33
33
  get: () => oe(),
34
- set: (a) => a
34
+ set: (t) => t
35
35
  }), { userOptionsVisible: W, setUserOptionsVisibility: se, keepUserOptionState: re } = at({ config: e.value });
36
- me(() => v.config, (a) => {
36
+ me(() => v.config, (t) => {
37
37
  e.value = oe(), W.value = !e.value.showOnChartHover, he(), le.value += 1;
38
38
  }, { deep: !0 });
39
39
  function oe() {
40
- const a = xe({
40
+ const t = xe({
41
41
  userConfig: v.config,
42
42
  defaultConfig: we
43
43
  });
44
- return a.theme ? {
44
+ return t.theme ? {
45
45
  ...xe({
46
- userConfig: Te.vue_ui_gauge[a.theme] || v.config,
47
- defaultConfig: a
46
+ userConfig: je.vue_ui_gauge[t.theme] || v.config,
47
+ defaultConfig: t
48
48
  }),
49
- customPalette: je[a.theme] || ge
50
- } : a;
49
+ customPalette: Te[t.theme] || pe
50
+ } : t;
51
51
  }
52
52
  const { isPrinting: ue, isImaging: ne, generatePdf: ie, generateImage: ce } = Ze({
53
53
  elementId: `vue-ui-gauge_${_.value}`,
54
54
  fileName: e.value.style.chart.title.text || "vue-ui-gauge"
55
- }), ze = y(() => e.value.userOptions.show && !e.value.style.chart.title.text), $e = y(() => Le(e.value.customPalette)), $ = y(() => {
55
+ }), $e = y(() => e.value.userOptions.show && !e.value.style.chart.title.text), ze = y(() => Le(e.value.customPalette)), z = y(() => {
56
56
  if (!Y.value || ke(v.dataset.series || {}))
57
57
  return {
58
58
  value: 0,
@@ -63,26 +63,26 @@ const st = ["id"], rt = { key: 0 }, ot = ["xmlns", "viewBox"], ut = ["id"], nt =
63
63
  }
64
64
  ]
65
65
  };
66
- const a = [];
67
- (v.dataset.series || []).forEach((t) => {
68
- a.push(t.from || 1e-7), a.push(t.to || 1e-7);
66
+ const t = [];
67
+ (v.dataset.series || []).forEach((a) => {
68
+ t.push(a.from || 1e-7), t.push(a.to || 1e-7);
69
69
  });
70
- const s = Math.max(...a);
70
+ const s = Math.max(...t);
71
71
  return {
72
72
  ...v.dataset,
73
- series: (v.dataset.series || []).map((t, r) => ({
74
- ...t,
75
- color: De(t.color) || $e.value[r] || ge[r],
76
- value: ((t.to || 0) - (t.from || 0)) / s * 100
73
+ series: (v.dataset.series || []).map((a, r) => ({
74
+ ...a,
75
+ color: De(a.color) || ze.value[r] || pe[r],
76
+ value: ((a.to || 0) - (a.from || 0)) / s * 100
77
77
  }))
78
78
  };
79
- }), g = d(512), l = d({
79
+ }), p = d(512), l = d({
80
80
  height: 358.4,
81
- width: g.value,
81
+ width: p.value,
82
82
  top: 0,
83
83
  bottom: 358.4,
84
84
  centerX: 179.2,
85
- centerY: g.value / 2,
85
+ centerY: p.value / 2,
86
86
  labelFontSize: 18,
87
87
  legendFontSize: e.value.style.chart.legend.fontSize,
88
88
  pointerRadius: e.value.style.chart.layout.pointer.circle.radius,
@@ -91,25 +91,27 @@ const st = ["id"], rt = { key: 0 }, ot = ["xmlns", "viewBox"], ut = ["id"], nt =
91
91
  pointerStrokeWidth: e.value.style.chart.layout.pointer.strokeWidth,
92
92
  markerOffset: e.value.style.chart.layout.markers.offsetY + 3,
93
93
  segmentFontSize: e.value.style.chart.layout.segmentNames.fontSize
94
- }), M = d(0), P = d(0), f = d(e.value.style.chart.animation.use ? 0 : v.dataset.value);
94
+ }), M = d(0), P = d(0), f = d(
95
+ e.value.style.chart.animation.use ? Math.min(...v.dataset.series.map((t) => t.from)) : v.dataset.value
96
+ );
95
97
  me(() => v.dataset.value, () => {
96
98
  de(v.dataset.value);
97
99
  });
98
100
  const n = y(() => {
99
- const a = l.value.width / 2, s = c.value.base, t = Math.PI * ((f.value + 0 - P.value) / (M.value - P.value)) + Math.PI;
101
+ const t = l.value.width / 2, s = c.value.base, a = Math.PI * ((f.value + 0 - P.value) / (M.value - P.value)) + Math.PI;
100
102
  return {
101
- x1: a,
103
+ x1: t,
102
104
  y1: s,
103
- x2: a + c.value.pointerSize * l.value.pointerSize * 0.9 * Math.cos(t),
104
- y2: s + c.value.pointerSize * l.value.pointerSize * 0.9 * Math.sin(t)
105
+ x2: t + c.value.pointerSize * l.value.pointerSize * 0.9 * Math.cos(a),
106
+ y2: s + c.value.pointerSize * l.value.pointerSize * 0.9 * Math.sin(a)
105
107
  };
106
108
  }), ve = y(() => {
107
- const a = l.value.width / 2, s = c.value.base, t = Math.PI * ((f.value + 0 - P.value) / (M.value - P.value)) + Math.PI, r = a + c.value.pointerSize * l.value.pointerSize * 0.9 * Math.cos(t), k = s + c.value.pointerSize * l.value.pointerSize * 0.9 * Math.sin(t), b = l.value.pointerRadius, Ne = a + b * Math.cos(t + Math.PI / 2), Xe = s + b * Math.sin(t + Math.PI / 2), Ye = a + b * Math.cos(t - Math.PI / 2), Ie = s + b * Math.sin(t - Math.PI / 2);
109
+ const t = l.value.width / 2, s = c.value.base, a = Math.PI * ((f.value + 0 - P.value) / (M.value - P.value)) + Math.PI, r = t + c.value.pointerSize * l.value.pointerSize * 0.9 * Math.cos(a), k = s + c.value.pointerSize * l.value.pointerSize * 0.9 * Math.sin(a), b = l.value.pointerRadius, Ne = t + b * Math.cos(a + Math.PI / 2), Xe = s + b * Math.sin(a + Math.PI / 2), Ye = t + b * Math.cos(a - Math.PI / 2), Ie = s + b * Math.sin(a - Math.PI / 2);
108
110
  return isNaN(r) ? null : `M ${r},${k} ${Ne},${Xe} ${Ye},${Ie} Z`;
109
- }), T = y(() => {
110
- for (let a = 0; a < $.value.series.length; a += 1) {
111
- const { color: s, from: t, to: r } = $.value.series[a];
112
- if (f.value >= t && f.value <= r)
111
+ }), j = y(() => {
112
+ for (let t = 0; t < z.value.series.length; t += 1) {
113
+ const { color: s, from: a, to: r } = z.value.series[t];
114
+ if (f.value >= a && f.value <= r)
113
115
  return s;
114
116
  }
115
117
  return "#2D353C";
@@ -121,21 +123,21 @@ const st = ["id"], rt = { key: 0 }, ot = ["xmlns", "viewBox"], ut = ["id"], nt =
121
123
  }) : (be({
122
124
  datasetObject: v.dataset,
123
125
  requiredAttributes: ["value", "series"]
124
- }).forEach((a) => {
126
+ }).forEach((t) => {
125
127
  E({
126
128
  componentName: "VueUiGauge",
127
129
  type: "datasetAttribute",
128
- property: a
130
+ property: t
129
131
  });
130
- }), Object.hasOwn(v.dataset, "series") && (v.dataset.series.length ? v.dataset.series.forEach((a, s) => {
132
+ }), Object.hasOwn(v.dataset, "series") && (v.dataset.series.length ? v.dataset.series.forEach((t, s) => {
131
133
  be({
132
- datasetObject: a,
134
+ datasetObject: t,
133
135
  requiredAttributes: ["from", "to"]
134
- }).forEach((t) => {
136
+ }).forEach((a) => {
135
137
  E({
136
138
  componentName: "VueUiGauge",
137
139
  type: "datasetSerieAttribute",
138
- property: t,
140
+ property: a,
139
141
  index: s
140
142
  });
141
143
  });
@@ -144,35 +146,35 @@ const st = ["id"], rt = { key: 0 }, ot = ["xmlns", "viewBox"], ut = ["id"], nt =
144
146
  type: "datasetAttributeEmpty",
145
147
  property: "series"
146
148
  }))), de(v.dataset.value || 0), e.value.responsive) {
147
- const a = qe(() => {
148
- const { width: s, height: t } = He({
149
+ const t = qe(() => {
150
+ const { width: s, height: a } = He({
149
151
  chart: O.value,
150
152
  title: e.value.style.chart.title.text ? Q.value : null,
151
153
  legend: ee.value,
152
154
  source: te.value,
153
155
  noTitle: ae.value
154
156
  });
155
- l.value.width = s, l.value.height = t, l.value.centerX = s / 2, l.value.centerY = g.value / 2 / 358.4 * t, l.value.bottom = t, l.value.labelFontSize = 18 / g.value * Math.min(t, s) < 10 ? 10 : 18 / g.value * Math.min(t, s), l.value.legendFontSize = e.value.style.chart.legend.fontSize / g.value * Math.min(t, s) < 14 ? 14 : e.value.style.chart.legend.fontSize / g.value * Math.min(t, s), l.value.pointerRadius = e.value.style.chart.layout.pointer.circle.radius / g.value * Math.min(t, s), l.value.trackSize = e.value.style.chart.layout.track.size / g.value * Math.min(t, s), l.value.pointerStrokeWidth = J({
156
- relator: Math.min(s, t),
157
- adjuster: g.value,
157
+ l.value.width = s, l.value.height = a, l.value.centerX = s / 2, l.value.centerY = p.value / 2 / 358.4 * a, l.value.bottom = a, l.value.labelFontSize = 18 / p.value * Math.min(a, s) < 10 ? 10 : 18 / p.value * Math.min(a, s), l.value.legendFontSize = e.value.style.chart.legend.fontSize / p.value * Math.min(a, s) < 14 ? 14 : e.value.style.chart.legend.fontSize / p.value * Math.min(a, s), l.value.pointerRadius = e.value.style.chart.layout.pointer.circle.radius / p.value * Math.min(a, s), l.value.trackSize = e.value.style.chart.layout.track.size / p.value * Math.min(a, s), l.value.pointerStrokeWidth = J({
158
+ relator: Math.min(s, a),
159
+ adjuster: p.value,
158
160
  source: e.value.style.chart.layout.pointer.strokeWidth,
159
161
  threshold: 2,
160
162
  fallback: 2
161
163
  }), l.value.markerOffset = J({
162
- relator: Math.max(s, t),
163
- adjuster: g.value,
164
+ relator: Math.max(s, a),
165
+ adjuster: p.value,
164
166
  source: e.value.style.chart.layout.markers.offsetY + 3,
165
167
  threshold: 2,
166
168
  fallback: 2
167
169
  }), l.value.segmentFontSize = J({
168
- relator: Math.min(s, t),
169
- adjuster: g.value,
170
+ relator: Math.min(s, a),
171
+ adjuster: p.value,
170
172
  source: e.value.style.chart.layout.segmentNames.fontSize,
171
173
  threshold: 8,
172
174
  fallback: 8
173
175
  });
174
176
  });
175
- I.value = new ResizeObserver(a), I.value.observe(O.value.parentNode);
177
+ I.value = new ResizeObserver(t), I.value.observe(O.value.parentNode);
176
178
  }
177
179
  }
178
180
  Ae(() => {
@@ -180,29 +182,29 @@ const st = ["id"], rt = { key: 0 }, ot = ["xmlns", "viewBox"], ut = ["id"], nt =
180
182
  }), Re(() => {
181
183
  I.value && I.value.disconnect();
182
184
  });
183
- function de(a) {
185
+ function de(t) {
184
186
  const s = [];
185
- ($.value.series || []).forEach((b) => {
187
+ (z.value.series || []).forEach((b) => {
186
188
  s.push(b.from || 0), s.push(b.to || 0);
187
189
  }), M.value = Math.max(...s), P.value = Math.min(...s);
188
- let t = e.value.style.chart.animation.speed;
189
- const r = Math.abs(a - f.value) / (t * 60);
190
+ let a = e.value.style.chart.animation.speed;
191
+ const r = Math.abs(t - f.value) / (a * 60);
190
192
  function k() {
191
- f.value < a ? f.value = Math.min(f.value + r, a) : f.value > a && (f.value = Math.max(f.value - r, a)), f.value !== a && requestAnimationFrame(k);
193
+ f.value < t ? f.value = Math.min(f.value + r, t) : f.value > t && (f.value = Math.max(f.value - r, t)), f.value !== t && requestAnimationFrame(k);
192
194
  }
193
195
  k();
194
196
  }
195
197
  const c = y(() => {
196
- const a = e.value.responsive ? Math.min(l.value.width, l.value.height) : l.value.width, s = 2.5 / e.value.style.chart.layout.radiusRatio;
198
+ const t = e.value.responsive ? Math.min(l.value.width, l.value.height) : l.value.width, s = 2.5 / e.value.style.chart.layout.radiusRatio;
197
199
  return {
198
- arcs: a / s,
199
- gradients: a / (s * 1.1),
200
+ arcs: t / s,
201
+ gradients: t / (s * 1.1),
200
202
  base: e.value.responsive ? l.value.height / 2 : l.value.height * 0.7,
201
203
  ratingBase: e.value.responsive ? l.value.height / 2 + l.value.height / 4 : l.value.height * 0.9,
202
204
  pointerSize: e.value.responsive ? Math.min(l.value.width, l.value.height) / 3 : l.value.width / 3.2
203
205
  };
204
206
  }), m = y(() => V(
205
- { series: $.value.series },
207
+ { series: z.value.series },
206
208
  l.value.width / 2,
207
209
  c.value.base,
208
210
  c.value.arcs,
@@ -214,7 +216,7 @@ const st = ["id"], rt = { key: 0 }, ot = ["xmlns", "viewBox"], ut = ["id"], nt =
214
216
  109.9495,
215
217
  40 * l.value.trackSize
216
218
  )), Fe = y(() => V(
217
- { series: $.value.series },
219
+ { series: z.value.series },
218
220
  l.value.width / 2,
219
221
  c.value.base,
220
222
  c.value.arcs * e.value.style.chart.layout.segmentNames.offsetRatio,
@@ -225,46 +227,46 @@ const st = ["id"], rt = { key: 0 }, ot = ["xmlns", "viewBox"], ut = ["id"], nt =
225
227
  180,
226
228
  109.9495,
227
229
  40 * l.value.trackSize
228
- )), F = y(() => m.value.map((a) => c.value.arcs * e.value.style.chart.layout.segmentNames.offsetRatio * (a.nameOffsetRatio || 1))), ye = y(() => {
229
- const { x: a, y: s } = z({
230
+ )), F = y(() => m.value.map((t) => c.value.arcs * e.value.style.chart.layout.segmentNames.offsetRatio * (t.nameOffsetRatio || 1))), ye = y(() => {
231
+ const { x: t, y: s } = $({
230
232
  initX: m.value[0].firstSeparator.x,
231
233
  initY: m.value[0].firstSeparator.y,
232
234
  centerX: n.value.x1,
233
235
  centerY: n.value.y1,
234
236
  offset: -e.value.style.chart.layout.segmentSeparators.offsetIn
235
- }), { x: t, y: r } = z({
237
+ }), { x: a, y: r } = $({
236
238
  initX: m.value[0].startX,
237
239
  initY: m.value[0].startY,
238
240
  centerX: n.value.x1,
239
241
  centerY: n.value.y1,
240
242
  offset: e.value.style.chart.layout.segmentSeparators.offsetOut
241
243
  });
242
- return { x1: a, y1: s, x2: t, y2: r };
243
- }), fe = y(() => m.value.map((a) => {
244
- const { x: s, y: t } = z({
245
- initX: a.separator.x,
246
- initY: a.separator.y,
244
+ return { x1: t, y1: s, x2: a, y2: r };
245
+ }), fe = y(() => m.value.map((t) => {
246
+ const { x: s, y: a } = $({
247
+ initX: t.separator.x,
248
+ initY: t.separator.y,
247
249
  centerX: n.value.x1,
248
250
  centerY: n.value.y1,
249
251
  offset: -e.value.style.chart.layout.segmentSeparators.offsetIn
250
- }), { x: r, y: k } = z({
251
- initX: a.endX,
252
- initY: a.endY,
252
+ }), { x: r, y: k } = $({
253
+ initX: t.endX,
254
+ initY: t.endY,
253
255
  centerX: n.value.x1,
254
256
  centerY: n.value.y1,
255
257
  offset: e.value.style.chart.layout.segmentSeparators.offsetOut
256
258
  });
257
- return { x1: s, y1: t, x2: r, y2: k };
259
+ return { x1: s, y1: a, x2: r, y2: k };
258
260
  }));
259
- function Ce(a) {
260
- if (a.reduce((k, b) => k + b, 0) > 100)
261
+ function Ce(t) {
262
+ if (t.reduce((k, b) => k + b, 0) > 100)
261
263
  throw new Error("Total % must not exceed 100");
262
- const t = 50;
264
+ const a = 50;
263
265
  let r = 0;
264
- return a.map((k) => (r += k, `${r / 100 * t - k / 4}%`));
266
+ return t.map((k) => (r += k, `${r / 100 * a - k / 4}%`));
265
267
  }
266
- const Oe = y(() => Ce(m.value.map((a) => a.proportion * 100))), Me = y(() => V(
267
- { series: $.value.series },
268
+ const Oe = y(() => Ce(m.value.map((t) => t.proportion * 100))), Me = y(() => V(
269
+ { series: z.value.series },
268
270
  l.value.width / 2,
269
271
  c.value.base,
270
272
  c.value.gradients,
@@ -276,19 +278,19 @@ const st = ["id"], rt = { key: 0 }, ot = ["xmlns", "viewBox"], ut = ["id"], nt =
276
278
  110.02,
277
279
  2 * l.value.trackSize
278
280
  )), N = d(!1);
279
- function Pe(a) {
280
- N.value = a, K.value += 1;
281
+ function Pe(t) {
282
+ N.value = t, K.value += 1;
281
283
  }
282
284
  const A = d(!1);
283
- function j() {
285
+ function T() {
284
286
  A.value = !A.value;
285
287
  }
286
288
  return _e({
287
289
  generatePdf: ie,
288
290
  generateImage: ce,
289
- toggleAnnotator: j
290
- }), (a, s) => (o(), u("div", {
291
- class: pe(`vue-ui-gauge ${N.value ? "vue-data-ui-wrapper-fullscreen" : ""}`),
291
+ toggleAnnotator: T
292
+ }), (t, s) => (o(), u("div", {
293
+ class: ge(`vue-ui-gauge ${N.value ? "vue-data-ui-wrapper-fullscreen" : ""}`),
292
294
  ref_key: "gaugeChart",
293
295
  ref: O,
294
296
  id: `vue-ui-gauge_${_.value}`,
@@ -302,9 +304,9 @@ const st = ["id"], rt = { key: 0 }, ot = ["xmlns", "viewBox"], ut = ["id"], nt =
302
304
  backgroundColor: e.value.style.chart.backgroundColor,
303
305
  color: e.value.style.chart.color,
304
306
  active: A.value,
305
- onClose: j
307
+ onClose: T
306
308
  }, null, 8, ["parent", "backgroundColor", "color", "active"])) : h("", !0),
307
- ze.value ? (o(), u("div", {
309
+ $e.value ? (o(), u("div", {
308
310
  key: 1,
309
311
  ref_key: "noTitle",
310
312
  ref: ae,
@@ -358,36 +360,36 @@ const st = ["id"], rt = { key: 0 }, ot = ["xmlns", "viewBox"], ut = ["id"], nt =
358
360
  onToggleFullscreen: Pe,
359
361
  onGeneratePdf: i(ie),
360
362
  onGenerateImage: i(ce),
361
- onToggleAnnotator: j,
363
+ onToggleAnnotator: T,
362
364
  style: L({
363
365
  visibility: i(re) ? i(W) ? "visible" : "hidden" : "visible"
364
366
  })
365
367
  }, Ge({ _: 2 }, [
366
- a.$slots.optionPdf ? {
368
+ t.$slots.optionPdf ? {
367
369
  name: "optionPdf",
368
370
  fn: X(() => [
369
- w(a.$slots, "optionPdf", {}, void 0, !0)
371
+ w(t.$slots, "optionPdf", {}, void 0, !0)
370
372
  ]),
371
373
  key: "0"
372
374
  } : void 0,
373
- a.$slots.optionImg ? {
375
+ t.$slots.optionImg ? {
374
376
  name: "optionImg",
375
377
  fn: X(() => [
376
- w(a.$slots, "optionImg", {}, void 0, !0)
378
+ w(t.$slots, "optionImg", {}, void 0, !0)
377
379
  ]),
378
380
  key: "1"
379
381
  } : void 0,
380
- a.$slots.optionFullscreen ? {
382
+ t.$slots.optionFullscreen ? {
381
383
  name: "optionFullscreen",
382
- fn: X(({ toggleFullscreen: t, isFullscreen: r }) => [
383
- w(a.$slots, "optionFullscreen", D(B({ toggleFullscreen: t, isFullscreen: r })), void 0, !0)
384
+ fn: X(({ toggleFullscreen: a, isFullscreen: r }) => [
385
+ w(t.$slots, "optionFullscreen", D(B({ toggleFullscreen: a, isFullscreen: r })), void 0, !0)
384
386
  ]),
385
387
  key: "2"
386
388
  } : void 0,
387
- a.$slots.optionAnnotator ? {
389
+ t.$slots.optionAnnotator ? {
388
390
  name: "optionAnnotator",
389
- fn: X(({ toggleAnnotator: t, isAnnotator: r }) => [
390
- w(a.$slots, "optionAnnotator", D(B({ toggleAnnotator: t, isAnnotator: r })), void 0, !0)
391
+ fn: X(({ toggleAnnotator: a, isAnnotator: r }) => [
392
+ w(t.$slots, "optionAnnotator", D(B({ toggleAnnotator: a, isAnnotator: r })), void 0, !0)
391
393
  ]),
392
394
  key: "3"
393
395
  } : void 0
@@ -395,13 +397,25 @@ const st = ["id"], rt = { key: 0 }, ot = ["xmlns", "viewBox"], ut = ["id"], nt =
395
397
  Y.value ? (o(), u("svg", {
396
398
  key: 4,
397
399
  xmlns: i(Be),
398
- class: pe({ "vue-data-ui-fullscreen--on": N.value, "vue-data-ui-fulscreen--off": !N.value }),
400
+ class: ge({ "vue-data-ui-fullscreen--on": N.value, "vue-data-ui-fulscreen--off": !N.value }),
399
401
  viewBox: `0 0 ${l.value.width <= 0 ? 10 : l.value.width} ${l.value.height <= 0 ? 10 : l.value.height}`,
400
402
  style: L(`max-width:100%;overflow:hidden !important;background:transparent;color:${e.value.style.chart.color}`)
401
403
  }, [
402
404
  Ee(et),
403
- p("defs", null, [
404
- p("radialGradient", {
405
+ t.$slots["chart-background"] ? (o(), u("foreignObject", {
406
+ key: 0,
407
+ x: 0,
408
+ y: 0,
409
+ width: l.value.width <= 0 ? 10 : l.value.width,
410
+ height: l.value.height <= 0 ? 10 : l.value.height,
411
+ style: {
412
+ pointerEvents: "none"
413
+ }
414
+ }, [
415
+ w(t.$slots, "chart-background", {}, void 0, !0)
416
+ ], 8, ut)) : h("", !0),
417
+ g("defs", null, [
418
+ g("radialGradient", {
405
419
  id: `gradient_${_.value}`,
406
420
  cx: "50%",
407
421
  cy: "50%",
@@ -409,138 +423,138 @@ const st = ["id"], rt = { key: 0 }, ot = ["xmlns", "viewBox"], ut = ["id"], nt =
409
423
  fx: "50%",
410
424
  fy: "50%"
411
425
  }, [
412
- p("stop", {
426
+ g("stop", {
413
427
  offset: "0%",
414
428
  "stop-color": i(q)("#FFFFFF", 1)
415
- }, null, 8, nt),
416
- p("stop", {
429
+ }, null, 8, it),
430
+ g("stop", {
417
431
  offset: "80%",
418
432
  "stop-color": i(q)("#FFFFFF", e.value.style.chart.layout.track.gradientIntensity)
419
- }, null, 8, it),
420
- p("stop", {
433
+ }, null, 8, ct),
434
+ g("stop", {
421
435
  offset: "100%",
422
436
  "stop-color": i(q)("#FFFFFF", 1)
423
- }, null, 8, ct)
424
- ], 8, ut)
437
+ }, null, 8, vt)
438
+ ], 8, nt)
425
439
  ]),
426
- p("defs", null, [
427
- p("filter", {
440
+ g("defs", null, [
441
+ g("filter", {
428
442
  id: `blur_${_.value}`,
429
443
  x: "-50%",
430
444
  y: "-50%",
431
445
  width: "200%",
432
446
  height: "200%"
433
447
  }, [
434
- p("feGaussianBlur", {
448
+ g("feGaussianBlur", {
435
449
  in: "SourceGraphic",
436
450
  stdDeviation: 100 / e.value.style.chart.layout.track.gradientIntensity
437
- }, null, 8, ht)
438
- ], 8, vt)
451
+ }, null, 8, dt)
452
+ ], 8, ht)
439
453
  ]),
440
- (o(!0), u(x, null, S(m.value, (t, r) => (o(), u("path", {
454
+ (o(!0), u(x, null, S(m.value, (a, r) => (o(), u("path", {
441
455
  key: `arc_${r}`,
442
- d: t.arcSlice,
443
- fill: t.color,
456
+ d: a.arcSlice,
457
+ fill: a.color,
444
458
  stroke: e.value.style.chart.backgroundColor,
445
459
  "stroke-linecap": "round"
446
- }, null, 8, dt))), 128)),
447
- e.value.style.chart.layout.segmentNames.show && e.value.style.chart.layout.segmentNames.curved ? (o(), u(x, { key: 0 }, [
448
- (o(!0), u(x, null, S(m.value, (t, r) => (o(), u("path", {
460
+ }, null, 8, yt))), 128)),
461
+ e.value.style.chart.layout.segmentNames.show && e.value.style.chart.layout.segmentNames.curved ? (o(), u(x, { key: 1 }, [
462
+ (o(!0), u(x, null, S(m.value, (a, r) => (o(), u("path", {
449
463
  id: `curve_${_.value}_${r}`,
450
464
  d: `M ${n.value.x1},${n.value.y1} m -${F.value[r]},0 a ${F.value[r]},${F.value[r]} 0 1,1 ${2 * F.value[r]},0 a ${F.value[r]},${F.value[r]} 0 1,1 -${2 * F.value[r]},0`,
451
465
  fill: "transparent"
452
- }, null, 8, yt))), 256)),
453
- (o(!0), u(x, null, S(m.value, (t, r) => (o(), u("text", {
454
- fill: e.value.style.chart.layout.segmentNames.useSerieColor ? t.color : e.value.style.chart.layout.segmentNames.color,
466
+ }, null, 8, ft))), 256)),
467
+ (o(!0), u(x, null, S(m.value, (a, r) => (o(), u("text", {
468
+ fill: e.value.style.chart.layout.segmentNames.useSerieColor ? a.color : e.value.style.chart.layout.segmentNames.color,
455
469
  "font-size": l.value.segmentFontSize,
456
470
  "font-weight": e.value.style.chart.layout.segmentNames.bold ? "bold" : "normal",
457
471
  "text-anchor": "middle"
458
472
  }, [
459
- p("textPath", {
473
+ g("textPath", {
460
474
  href: `#curve_${_.value}_${r}`,
461
475
  startOffset: Oe.value[r]
462
- }, C(t.name || ""), 9, mt)
463
- ], 8, ft))), 256))
476
+ }, C(a.name || ""), 9, gt)
477
+ ], 8, mt))), 256))
464
478
  ], 64)) : h("", !0),
465
- e.value.style.chart.layout.segmentNames.show && !e.value.style.chart.layout.segmentNames.curved ? (o(!0), u(x, { key: 1 }, S(Fe.value, (t, r) => (o(), u("text", {
466
- x: t.center.endX,
467
- y: t.center.endY,
468
- "text-anchor": i(Ve)(t, !1, 12).anchor,
469
- fill: e.value.style.chart.layout.segmentNames.useSerieColor ? t.color : e.value.style.chart.layout.segmentNames.color,
479
+ e.value.style.chart.layout.segmentNames.show && !e.value.style.chart.layout.segmentNames.curved ? (o(!0), u(x, { key: 2 }, S(Fe.value, (a, r) => (o(), u("text", {
480
+ x: a.center.endX,
481
+ y: a.center.endY,
482
+ "text-anchor": i(Ve)(a, !1, 12).anchor,
483
+ fill: e.value.style.chart.layout.segmentNames.useSerieColor ? a.color : e.value.style.chart.layout.segmentNames.color,
470
484
  "font-size": l.value.segmentFontSize,
471
485
  "font-weight": e.value.style.chart.layout.segmentNames.bold ? "bold" : "normal"
472
- }, C(t.name || ""), 9, pt))), 256)) : h("", !0),
473
- e.value.style.chart.layout.track.useGradient ? (o(!0), u(x, { key: 2 }, S(Me.value, (t, r) => (o(), u("path", {
486
+ }, C(a.name || ""), 9, pt))), 256)) : h("", !0),
487
+ e.value.style.chart.layout.track.useGradient ? (o(!0), u(x, { key: 3 }, S(Me.value, (a, r) => (o(), u("path", {
474
488
  key: `arc_${r}`,
475
- d: t.arcSlice,
489
+ d: a.arcSlice,
476
490
  fill: "#FFFFFF",
477
491
  stroke: "none",
478
492
  "stroke-linecap": "round",
479
493
  filter: `url(#blur_${_.value})`
480
- }, null, 8, gt))), 128)) : h("", !0),
481
- e.value.style.chart.layout.segmentSeparators.show ? (o(), u(x, { key: 3 }, [
482
- p("line", G(ye.value, {
494
+ }, null, 8, kt))), 128)) : h("", !0),
495
+ e.value.style.chart.layout.segmentSeparators.show ? (o(), u(x, { key: 4 }, [
496
+ g("line", G(ye.value, {
483
497
  stroke: e.value.style.chart.backgroundColor,
484
498
  "stroke-width": e.value.style.chart.layout.segmentSeparators.strokeWidth + 2,
485
499
  "stroke-linecap": "round"
486
- }), null, 16, kt),
487
- p("line", G(ye.value, {
500
+ }), null, 16, bt),
501
+ g("line", G(ye.value, {
488
502
  stroke: e.value.style.chart.layout.segmentSeparators.stroke,
489
503
  "stroke-width": e.value.style.chart.layout.segmentSeparators.strokeWidth,
490
504
  "stroke-linecap": "round"
491
- }), null, 16, bt),
492
- (o(!0), u(x, null, S(fe.value, (t) => (o(), u("line", G(t, {
505
+ }), null, 16, xt),
506
+ (o(!0), u(x, null, S(fe.value, (a) => (o(), u("line", G(a, {
493
507
  stroke: e.value.style.chart.backgroundColor,
494
508
  "stroke-width": e.value.style.chart.layout.segmentSeparators.strokeWidth + 2,
495
509
  "stroke-linecap": "round"
496
- }), null, 16, xt))), 256)),
497
- (o(!0), u(x, null, S(fe.value, (t) => (o(), u("line", G(t, {
510
+ }), null, 16, _t))), 256)),
511
+ (o(!0), u(x, null, S(fe.value, (a) => (o(), u("line", G(a, {
498
512
  stroke: e.value.style.chart.layout.segmentSeparators.stroke,
499
513
  "stroke-width": e.value.style.chart.layout.segmentSeparators.strokeWidth,
500
514
  "stroke-linecap": "round"
501
- }), null, 16, _t))), 256))
515
+ }), null, 16, wt))), 256))
502
516
  ], 64)) : h("", !0),
503
- e.value.style.chart.layout.markers.show ? (o(), u("g", wt, [
504
- (o(!0), u(x, null, S(m.value, (t, r) => (o(), u("text", {
505
- x: i(z)({
517
+ e.value.style.chart.layout.markers.show ? (o(), u("g", St, [
518
+ (o(!0), u(x, null, S(m.value, (a, r) => (o(), u("text", {
519
+ x: i($)({
506
520
  centerX: n.value.x1,
507
521
  centerY: c.value.base,
508
- initX: t.center.startX,
509
- initY: t.center.startY,
522
+ initX: a.center.startX,
523
+ initY: a.center.startY,
510
524
  offset: l.value.markerOffset
511
525
  }).x,
512
- y: i(z)({
526
+ y: i($)({
513
527
  centerX: n.value.x1,
514
528
  centerY: c.value.base,
515
- initX: t.center.startX,
516
- initY: t.center.startY,
529
+ initX: a.center.startX,
530
+ initY: a.center.startY,
517
531
  offset: l.value.markerOffset
518
532
  }).y,
519
- "text-anchor": t.center.startX < n.value.x1 - 5 ? "end" : t.center.startX > n.value.x1 + 5 ? "start" : "middle",
533
+ "text-anchor": a.center.startX < n.value.x1 - 5 ? "end" : a.center.startX > n.value.x1 + 5 ? "start" : "middle",
520
534
  "font-size": l.value.labelFontSize * e.value.style.chart.layout.markers.fontSizeRatio,
521
535
  "font-weight": `${e.value.style.chart.layout.markers.bold ? "bold" : "normal"}`,
522
536
  fill: e.value.style.chart.layout.markers.color
523
537
  }, C(i(H)(
524
538
  e.value.style.chart.layout.markers.formatter,
525
- t.from,
539
+ a.from,
526
540
  i(Z)({
527
541
  p: e.value.style.chart.layout.markers.prefix,
528
- v: t.from,
542
+ v: a.from,
529
543
  s: e.value.style.chart.layout.markers.suffix,
530
544
  r: e.value.style.chart.layout.markers.roundingValue
531
545
  })
532
- )), 9, St))), 256))
546
+ )), 9, $t))), 256))
533
547
  ])) : h("", !0),
534
548
  e.value.style.chart.layout.markers.show ? (o(), u("text", {
535
- key: 5,
536
- x: i(z)({
549
+ key: 6,
550
+ x: i($)({
537
551
  centerX: l.value.width / 2,
538
552
  centerY: c.value.base,
539
553
  initX: m.value.at(-1).endX,
540
554
  initY: m.value.at(-1).endY,
541
555
  offset: l.value.markerOffset
542
556
  }).x,
543
- y: i(z)({
557
+ y: i($)({
544
558
  centerX: l.value.width / 2,
545
559
  centerY: c.value.base,
546
560
  initX: m.value.at(-1).endX,
@@ -561,7 +575,7 @@ const st = ["id"], rt = { key: 0 }, ot = ["xmlns", "viewBox"], ut = ["id"], nt =
561
575
  r: e.value.style.chart.layout.markers.roundingValue
562
576
  })
563
577
  )), 9, zt)) : h("", !0),
564
- e.value.style.chart.layout.pointer.type === "rounded" ? (o(), u("g", $t, [
578
+ e.value.style.chart.layout.pointer.type === "rounded" ? (o(), u("g", Ft, [
565
579
  isNaN(n.value.x2) ? h("", !0) : (o(), u("line", {
566
580
  key: 0,
567
581
  x1: n.value.x1,
@@ -571,17 +585,17 @@ const st = ["id"], rt = { key: 0 }, ot = ["xmlns", "viewBox"], ut = ["id"], nt =
571
585
  stroke: e.value.style.chart.layout.pointer.stroke,
572
586
  "stroke-width": l.value.pointerStrokeWidth,
573
587
  "stroke-linecap": "round"
574
- }, null, 8, Ft)),
588
+ }, null, 8, Ct)),
575
589
  isNaN(n.value.x2) ? h("", !0) : (o(), u("line", {
576
590
  key: 1,
577
591
  x1: n.value.x1,
578
592
  y1: n.value.y1,
579
593
  x2: n.value.x2,
580
594
  y2: n.value.y2,
581
- stroke: e.value.style.chart.layout.pointer.useRatingColor ? T.value : e.value.style.chart.layout.pointer.color,
595
+ stroke: e.value.style.chart.layout.pointer.useRatingColor ? j.value : e.value.style.chart.layout.pointer.color,
582
596
  "stroke-linecap": "round",
583
597
  "stroke-width": l.value.pointerStrokeWidth * 0.7
584
- }, null, 8, Ct)),
598
+ }, null, 8, Ot)),
585
599
  !isNaN(n.value.x2) && e.value.style.chart.layout.track.useGradient ? (o(), u("line", {
586
600
  key: 2,
587
601
  x1: n.value.x1,
@@ -592,33 +606,33 @@ const st = ["id"], rt = { key: 0 }, ot = ["xmlns", "viewBox"], ut = ["id"], nt =
592
606
  "stroke-linecap": "round",
593
607
  "stroke-width": l.value.pointerStrokeWidth * 0.3,
594
608
  filter: `url(#blur_${_.value})`
595
- }, null, 8, Ot)) : h("", !0)
596
- ])) : (o(), u("g", Mt, [
609
+ }, null, 8, Mt)) : h("", !0)
610
+ ])) : (o(), u("g", Pt, [
597
611
  ve.value ? (o(), u("path", {
598
612
  key: 0,
599
613
  d: ve.value,
600
- fill: e.value.style.chart.layout.pointer.useRatingColor ? T.value : e.value.style.chart.layout.pointer.color,
614
+ fill: e.value.style.chart.layout.pointer.useRatingColor ? j.value : e.value.style.chart.layout.pointer.color,
601
615
  stroke: e.value.style.chart.layout.pointer.stroke,
602
616
  "stroke-width": e.value.style.chart.layout.pointer.circle.strokeWidth,
603
617
  "stroke-linejoin": "round"
604
- }, null, 8, Pt)) : h("", !0)
618
+ }, null, 8, Nt)) : h("", !0)
605
619
  ])),
606
- p("circle", {
620
+ g("circle", {
607
621
  cx: l.value.width / 2,
608
622
  cy: c.value.base,
609
623
  fill: e.value.style.chart.layout.pointer.circle.color,
610
624
  r: l.value.pointerRadius <= 0 ? 1e-4 : l.value.pointerRadius,
611
625
  "stroke-width": e.value.style.chart.layout.pointer.circle.strokeWidth,
612
626
  stroke: e.value.style.chart.layout.pointer.circle.stroke
613
- }, null, 8, Nt),
627
+ }, null, 8, Xt),
614
628
  e.value.style.chart.legend.show ? (o(), u("text", {
615
- key: 8,
629
+ key: 9,
616
630
  x: l.value.width / 2,
617
631
  y: c.value.ratingBase,
618
632
  "text-anchor": "middle",
619
633
  "font-size": l.value.legendFontSize,
620
634
  "font-weight": "bold",
621
- fill: e.value.style.chart.legend.useRatingColor ? T.value : e.value.style.chart.legend.color
635
+ fill: e.value.style.chart.legend.useRatingColor ? j.value : e.value.style.chart.legend.color
622
636
  }, C(i(H)(
623
637
  e.value.style.chart.legend.formatter,
624
638
  f.value,
@@ -628,11 +642,11 @@ const st = ["id"], rt = { key: 0 }, ot = ["xmlns", "viewBox"], ut = ["id"], nt =
628
642
  s: e.value.style.chart.legend.suffix,
629
643
  r: e.value.style.chart.legend.roundingValue
630
644
  })
631
- )), 9, Xt)) : h("", !0),
632
- w(a.$slots, "svg", { svg: l.value }, void 0, !0)
645
+ )), 9, Yt)) : h("", !0),
646
+ w(t.$slots, "svg", { svg: l.value }, void 0, !0)
633
647
  ], 14, ot)) : h("", !0),
634
- a.$slots.watermark ? (o(), u("div", Yt, [
635
- w(a.$slots, "watermark", D(B({ isPrinting: i(ue) || i(ne) })), void 0, !0)
648
+ t.$slots.watermark ? (o(), u("div", It, [
649
+ w(t.$slots, "watermark", D(B({ isPrinting: i(ue) || i(ne) })), void 0, !0)
636
650
  ])) : h("", !0),
637
651
  Y.value ? h("", !0) : (o(), R(Ke, {
638
652
  key: 6,
@@ -646,23 +660,23 @@ const st = ["id"], rt = { key: 0 }, ot = ["xmlns", "viewBox"], ut = ["id"], nt =
646
660
  }
647
661
  }
648
662
  }, null, 8, ["config"])),
649
- p("div", {
663
+ g("div", {
650
664
  ref_key: "chartLegend",
651
665
  ref: ee
652
666
  }, [
653
- w(a.$slots, "legend", { legend: $.value }, void 0, !0)
667
+ w(t.$slots, "legend", { legend: z.value }, void 0, !0)
654
668
  ], 512),
655
- a.$slots.source ? (o(), u("div", {
669
+ t.$slots.source ? (o(), u("div", {
656
670
  key: 7,
657
671
  ref_key: "source",
658
672
  ref: te,
659
673
  dir: "auto"
660
674
  }, [
661
- w(a.$slots, "source", {}, void 0, !0)
675
+ w(t.$slots, "source", {}, void 0, !0)
662
676
  ], 512)) : h("", !0)
663
677
  ], 46, st));
664
678
  }
665
- }, Vt = /* @__PURE__ */ lt(It, [["__scopeId", "data-v-8de26327"]]);
679
+ }, qt = /* @__PURE__ */ lt(At, [["__scopeId", "data-v-2c21fd75"]]);
666
680
  export {
667
- Vt as default
681
+ qt as default
668
682
  };