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,24 +1,24 @@
1
- import { computed as h, ref as p, watch as W, onMounted as ce, openBlock as s, createElementBlock as c, normalizeClass as U, normalizeStyle as G, unref as n, createBlock as I, createCommentVNode as y, createSlots as ve, withCtx as F, renderSlot as b, normalizeProps as L, guardReactiveProps as j, createVNode as he, Fragment as Z, renderList as ee, toDisplayString as de } from "vue";
2
- import { u as te } from "./useNestedProp-D1eJ0dvv.js";
3
- import { u as fe, c as pe, t as ye, v as me, o as ge, e as ke, w as ae, X as be, i as _e, f as Ce } from "./index-CI-N9klv.js";
4
- import { _ as $e } from "./Title-DLjHHdyq.js";
5
- import { u as we, U as xe } from "./usePrinter-CXc8xCKk.js";
6
- import Pe from "./vue-ui-skeleton-owIhXtQF.js";
7
- import { _ as Oe } from "./PackageVersion-S3SzpuwC.js";
8
- import { P as Ae } from "./PenAndPaper-v846FwcH.js";
9
- import { u as Ie } from "./useUserOptionState-BIvW1Kz7.js";
10
- import { _ as Fe } from "./_plugin-vue_export-helper-CHgC5LLL.js";
11
- const ze = ["id"], Se = {
1
+ import { computed as h, ref as k, watch as W, onMounted as ie, openBlock as s, createElementBlock as c, normalizeClass as U, normalizeStyle as G, unref as n, createBlock as I, createCommentVNode as d, createSlots as ce, withCtx as F, renderSlot as b, normalizeProps as L, guardReactiveProps as j, createVNode as ve, Fragment as Z, renderList as ee, toDisplayString as he } from "vue";
2
+ import { u as te } from "./useNestedProp-DuruL3Nt.js";
3
+ import { u as de, c as fe, t as pe, v as ye, o as ge, e as me, w as ae, X as ke, i as be, f as _e } from "./index-B9RAElpI.js";
4
+ import { _ as Ce } from "./Title-zZtEcB9F.js";
5
+ import { u as $e, U as we } from "./usePrinter-CwTAwqtF.js";
6
+ import xe from "./vue-ui-skeleton-DVYD_VSe.js";
7
+ import { _ as Pe } from "./PackageVersion-C_FFs0BP.js";
8
+ import { P as Oe } from "./PenAndPaper-Dx24BtRW.js";
9
+ import { u as Ae } from "./useUserOptionState-BIvW1Kz7.js";
10
+ import { _ as Ie } from "./_plugin-vue_export-helper-CHgC5LLL.js";
11
+ const Fe = ["id"], ze = {
12
12
  key: 2,
13
13
  style: "width:100%;background:transparent;padding-bottom:12px"
14
- }, Ne = ["xmlns", "viewBox"], Me = { key: 0 }, Te = ["d", "stroke-width", "stroke"], Ue = { key: 1 }, Ge = ["x1", "y1", "x2", "y2", "stroke-width", "stroke"], Le = ["x", "y", "font-size", "fill", "font-weight", "text-anchor"], je = {
14
+ }, Se = ["xmlns", "viewBox"], Ne = ["width", "height"], Me = { key: 1 }, Te = ["d", "stroke-width", "stroke"], Ue = { key: 2 }, Ge = ["x1", "y1", "x2", "y2", "stroke-width", "stroke"], Le = ["x", "y", "font-size", "fill", "font-weight", "text-anchor"], je = {
15
15
  key: 5,
16
16
  class: "vue-data-ui-watermark"
17
- }, Be = {
17
+ }, Ee = {
18
18
  key: 6,
19
19
  ref: "source",
20
20
  dir: "auto"
21
- }, Ee = {
21
+ }, Be = {
22
22
  __name: "vue-ui-tiremarks",
23
23
  props: {
24
24
  config: {
@@ -34,48 +34,48 @@ const ze = ["id"], Se = {
34
34
  }
35
35
  }
36
36
  },
37
- setup(le, { expose: oe }) {
38
- const d = le, { vue_ui_tiremarks: se } = fe(), z = h(() => !!d.dataset && Object.keys(d.dataset).length), S = p(pe()), N = p(null), re = p(null), B = p(0), E = p(0), e = h({
37
+ setup(oe, { expose: le }) {
38
+ const f = oe, { vue_ui_tiremarks: se } = de(), z = h(() => !!f.dataset && Object.keys(f.dataset).length), S = k(fe()), N = k(null), re = k(null), E = k(0), B = k(0), e = h({
39
39
  get: () => H(),
40
40
  set: (t) => t
41
- }), { userOptionsVisible: M, setUserOptionsVisibility: X, keepUserOptionState: D } = Ie({ config: e.value });
41
+ }), { userOptionsVisible: M, setUserOptionsVisibility: X, keepUserOptionState: D } = Ae({ config: e.value });
42
42
  function H() {
43
43
  const t = te({
44
- userConfig: d.config,
44
+ userConfig: f.config,
45
45
  defaultConfig: se
46
46
  });
47
47
  return t.theme ? {
48
48
  ...te({
49
- userConfig: ye.vue_ui_tiremarks[t.theme] || d.config,
49
+ userConfig: pe.vue_ui_tiremarks[t.theme] || f.config,
50
50
  defaultConfig: t
51
51
  })
52
52
  } : t;
53
53
  }
54
- W(() => d.config, (t) => {
55
- e.value = H(), M.value = !e.value.showOnChartHover, K(), E.value += 1;
54
+ W(() => f.config, (t) => {
55
+ e.value = H(), M.value = !e.value.showOnChartHover, K(), B.value += 1;
56
56
  }, { deep: !0 });
57
- const { isPrinting: R, isImaging: V, generatePdf: Y, generateImage: q } = we({
57
+ const { isPrinting: R, isImaging: V, generatePdf: Y, generateImage: q } = $e({
58
58
  elementId: S.value,
59
59
  fileName: e.value.style.chart.title.text || "vue-ui-tiremarks"
60
- }), ne = h(() => e.value.userOptions.show && !e.value.style.chart.title.text), u = p(e.value.style.chart.animation.use ? 0 : me(d.dataset.percentage));
61
- W(() => d.dataset, (t) => {
60
+ }), ne = h(() => e.value.userOptions.show && !e.value.style.chart.title.text), u = k(e.value.style.chart.animation.use ? 0 : ye(f.dataset.percentage));
61
+ W(() => f.dataset, (t) => {
62
62
  e.value.style.chart.animation.use ? J(t.percentage) : u.value = t.percentage || 0;
63
- }, { deep: !0 }), ce(() => {
63
+ }, { deep: !0 }), ie(() => {
64
64
  K();
65
65
  });
66
66
  function J(t) {
67
67
  let r = e.value.style.chart.animation.speed;
68
68
  const a = Math.abs(t - u.value) / (r * 120);
69
- function o() {
70
- u.value < t ? u.value = Math.min(u.value + a, t) : u.value > t && (u.value = Math.max(u.value - a, t)), u.value !== t && requestAnimationFrame(o);
69
+ function l() {
70
+ u.value < t ? u.value = Math.min(u.value + a, t) : u.value > t && (u.value = Math.max(u.value - a, t)), u.value !== t && requestAnimationFrame(l);
71
71
  }
72
- o();
72
+ l();
73
73
  }
74
74
  function K() {
75
- ge(d.dataset) && ke({
75
+ ge(f.dataset) && me({
76
76
  componentName: "VueUiTiremarks",
77
77
  type: "dataset"
78
- }), J(d.dataset.percentage || 0);
78
+ }), J(f.dataset.percentage || 0);
79
79
  }
80
80
  const _ = h(() => e.value.style.chart.layout.display === "vertical"), i = h(() => {
81
81
  const t = {
@@ -95,48 +95,46 @@ const ze = ["id"], Se = {
95
95
  left: e.value.style.chart.percentage.horizontalPosition === "left" ? t.left : 3,
96
96
  right: e.value.style.chart.percentage.horizontalPosition === "right" ? t.right : 10
97
97
  };
98
- }), P = h(() => Object.values(i.value).reduce((t, r) => t + r, 0)), l = h(() => ({
98
+ }), P = h(() => Object.values(i.value).reduce((t, r) => t + r, 0)), o = h(() => ({
99
99
  height: _.value ? 312 : 56,
100
100
  width: _.value ? 56 : 312
101
- })), ue = p(100);
102
- h(() => d.dataset.percentage / ue.value);
103
- const v = h(() => _.value ? {
104
- mark: (l.value.height - P.value) / 100 * 0.5,
105
- space: (l.value.height - P.value) / 100 * 0.5
101
+ })), v = h(() => _.value ? {
102
+ mark: (o.value.height - P.value) / 100 * 0.5,
103
+ space: (o.value.height - P.value) / 100 * 0.5
106
104
  } : {
107
- mark: (l.value.width - P.value) / 100 * 0.5,
108
- space: (l.value.width - P.value) / 100 * 0.5
105
+ mark: (o.value.width - P.value) / 100 * 0.5,
106
+ space: (o.value.width - P.value) / 100 * 0.5
109
107
  }), Q = h(() => {
110
108
  const t = [];
111
109
  for (let a = 0; a < 100; a += 1) {
112
- const o = e.value.style.chart.layout.ticks.gradient.show ? ae(e.value.style.chart.layout.activeColor, a / 100 * (e.value.style.chart.layout.ticks.gradient.shiftHueIntensity / 100)) : e.value.style.chart.layout.activeColor;
110
+ const l = e.value.style.chart.layout.ticks.gradient.show ? ae(e.value.style.chart.layout.activeColor, a / 100 * (e.value.style.chart.layout.ticks.gradient.shiftHueIntensity / 100)) : e.value.style.chart.layout.activeColor;
113
111
  if (_.value) {
114
- const $ = e.value.style.chart.layout.crescendo ? (100 - a) * (l.value.width - i.value.left - i.value.right) / 100 / 3 : 0, f = i.value.left + 4 + $, m = l.value.width - i.value.right - 4 - $, g = l.value.height - i.value.bottom - a * v.value.mark - a * v.value.space - v.value.mark, k = l.value.height - i.value.bottom - a * v.value.mark - a * v.value.space - v.value.mark, w = (m - f) / e.value.style.chart.layout.curveAngleX, x = e.value.style.chart.layout.curveAngleY * ((1 + a) / 100);
112
+ const $ = e.value.style.chart.layout.crescendo ? (100 - a) * (o.value.width - i.value.left - i.value.right) / 100 / 3 : 0, p = i.value.left + 4 + $, y = o.value.width - i.value.right - 4 - $, g = o.value.height - i.value.bottom - a * v.value.mark - a * v.value.space - v.value.mark, m = o.value.height - i.value.bottom - a * v.value.mark - a * v.value.space - v.value.mark, w = (y - p) / e.value.style.chart.layout.curveAngleX, x = e.value.style.chart.layout.curveAngleY * ((1 + a) / 100);
115
113
  t.push({
116
- x1: f,
117
- x2: m,
114
+ x1: p,
115
+ x2: y,
118
116
  y1: g,
119
- y2: k,
120
- curve: `M ${f} ${g} C ${f + w} ${g - x}, ${m - w} ${k - x}, ${m} ${k}`,
121
- color: o
117
+ y2: m,
118
+ curve: `M ${p} ${g} C ${p + w} ${g - x}, ${y - w} ${m - x}, ${y} ${m}`,
119
+ color: l
122
120
  });
123
121
  } else {
124
- const $ = e.value.style.chart.layout.crescendo ? (100 - a) * (l.value.height - i.value.top - i.value.bottom) / 100 / 3 : 0, f = i.value.left + a * v.value.mark + a * v.value.space - v.value.mark, m = f, g = i.value.top + 4 + $, k = l.value.height - i.value.bottom - 4 - $, w = e.value.style.chart.layout.curveAngleY * ((1 + a) / 100), x = (k - g) / e.value.style.chart.layout.curveAngleX;
122
+ const $ = e.value.style.chart.layout.crescendo ? (100 - a) * (o.value.height - i.value.top - i.value.bottom) / 100 / 3 : 0, p = i.value.left + a * v.value.mark + a * v.value.space - v.value.mark, y = p, g = i.value.top + 4 + $, m = o.value.height - i.value.bottom - 4 - $, w = e.value.style.chart.layout.curveAngleY * ((1 + a) / 100), x = (m - g) / e.value.style.chart.layout.curveAngleX;
125
123
  t.push({
126
- x1: f,
127
- x2: m,
124
+ x1: p,
125
+ x2: y,
128
126
  y1: g,
129
- y2: k,
130
- curve: `M ${f} ${g} C ${f + w} ${g + x}, ${m + w} ${k - x}, ${m} ${k}`,
131
- color: o
127
+ y2: m,
128
+ curve: `M ${p} ${g} C ${p + w} ${g + x}, ${y + w} ${m - x}, ${y} ${m}`,
129
+ color: l
132
130
  });
133
131
  }
134
132
  }
135
133
  return t;
136
134
  }), C = h(() => {
137
135
  let t, r, a;
138
- const o = e.value.style.chart.percentage.fontSize / 3;
139
- return _.value ? e.value.style.chart.percentage.verticalPosition === "top" ? (t = l.value.width / 2, r = i.value.top / 2, a = "middle") : e.value.style.chart.percentage.verticalPosition === "bottom" && (t = l.value.width / 2, r = l.value.height - i.value.bottom / 2 + o, a = "middle") : e.value.style.chart.percentage.horizontalPosition === "left" ? (t = 4, r = l.value.height / 2 + o, a = "start") : e.value.style.chart.percentage.horizontalPosition === "right" && (t = l.value.width - i.value.right + 8, r = l.value.height / 2 + o, a = "start"), {
136
+ const l = e.value.style.chart.percentage.fontSize / 3;
137
+ return _.value ? e.value.style.chart.percentage.verticalPosition === "top" ? (t = o.value.width / 2, r = i.value.top / 2, a = "middle") : e.value.style.chart.percentage.verticalPosition === "bottom" && (t = o.value.width / 2, r = o.value.height - i.value.bottom / 2 + l, a = "middle") : e.value.style.chart.percentage.horizontalPosition === "left" ? (t = 4, r = o.value.height / 2 + l, a = "start") : e.value.style.chart.percentage.horizontalPosition === "right" && (t = o.value.width - i.value.right + 8, r = o.value.height / 2 + l, a = "start"), {
140
138
  x: t,
141
139
  y: r,
142
140
  textAnchor: a,
@@ -144,15 +142,15 @@ const ze = ["id"], Se = {
144
142
  fontSize: e.value.style.chart.percentage.fontSize,
145
143
  fill: e.value.style.chart.percentage.color
146
144
  };
147
- }), O = p(!1);
148
- function ie(t) {
149
- O.value = t, B.value += 1;
145
+ }), O = k(!1);
146
+ function ue(t) {
147
+ O.value = t, E.value += 1;
150
148
  }
151
- const A = p(!1);
149
+ const A = k(!1);
152
150
  function T() {
153
151
  A.value = !A.value;
154
152
  }
155
- return oe({
153
+ return le({
156
154
  generatePdf: Y,
157
155
  generateImage: q,
158
156
  toggleAnnotator: T
@@ -165,24 +163,24 @@ const ze = ["id"], Se = {
165
163
  onMouseenter: r[0] || (r[0] = () => n(X)(!0)),
166
164
  onMouseleave: r[1] || (r[1] = () => n(X)(!1))
167
165
  }, [
168
- e.value.userOptions.buttons.annotator ? (s(), I(Ae, {
166
+ e.value.userOptions.buttons.annotator ? (s(), I(Oe, {
169
167
  key: 0,
170
168
  parent: N.value,
171
169
  backgroundColor: e.value.style.chart.backgroundColor,
172
170
  color: e.value.style.chart.color,
173
171
  active: A.value,
174
172
  onClose: T
175
- }, null, 8, ["parent", "backgroundColor", "color", "active"])) : y("", !0),
173
+ }, null, 8, ["parent", "backgroundColor", "color", "active"])) : d("", !0),
176
174
  ne.value ? (s(), c("div", {
177
175
  key: 1,
178
176
  ref_key: "noTitle",
179
177
  ref: re,
180
178
  class: "vue-data-ui-no-title-space",
181
179
  style: "height:36px; width: 100%;background:transparent"
182
- }, null, 512)) : y("", !0),
183
- e.value.style.chart.title.text ? (s(), c("div", Se, [
184
- (s(), I($e, {
185
- key: `title_${E.value}`,
180
+ }, null, 512)) : d("", !0),
181
+ e.value.style.chart.title.text ? (s(), c("div", ze, [
182
+ (s(), I(Ce, {
183
+ key: `title_${B.value}`,
186
184
  config: {
187
185
  title: {
188
186
  cy: "wheel-title",
@@ -194,10 +192,10 @@ const ze = ["id"], Se = {
194
192
  }
195
193
  }
196
194
  }, null, 8, ["config"]))
197
- ])) : y("", !0),
198
- e.value.userOptions.show && z.value && (n(D) || n(M)) ? (s(), I(xe, {
195
+ ])) : d("", !0),
196
+ e.value.userOptions.show && z.value && (n(D) || n(M)) ? (s(), I(we, {
199
197
  ref: "details",
200
- key: `user_options_${B.value}`,
198
+ key: `user_options_${E.value}`,
201
199
  backgroundColor: e.value.style.chart.backgroundColor,
202
200
  color: e.value.style.chart.color,
203
201
  isPrinting: n(R),
@@ -213,14 +211,14 @@ const ze = ["id"], Se = {
213
211
  position: e.value.userOptions.position,
214
212
  hasAnnotator: e.value.userOptions.buttons.annotator,
215
213
  isAnnotation: A.value,
216
- onToggleFullscreen: ie,
214
+ onToggleFullscreen: ue,
217
215
  onGeneratePdf: n(Y),
218
216
  onGenerateImage: n(q),
219
217
  onToggleAnnotator: T,
220
218
  style: G({
221
219
  visibility: n(D) ? n(M) ? "visible" : "hidden" : "visible"
222
220
  })
223
- }, ve({ _: 2 }, [
221
+ }, ce({ _: 2 }, [
224
222
  t.$slots.optionPdf ? {
225
223
  name: "optionPdf",
226
224
  fn: F(() => [
@@ -237,73 +235,85 @@ const ze = ["id"], Se = {
237
235
  } : void 0,
238
236
  t.$slots.optionFullscreen ? {
239
237
  name: "optionFullscreen",
240
- fn: F(({ toggleFullscreen: a, isFullscreen: o }) => [
241
- b(t.$slots, "optionFullscreen", L(j({ toggleFullscreen: a, isFullscreen: o })), void 0, !0)
238
+ fn: F(({ toggleFullscreen: a, isFullscreen: l }) => [
239
+ b(t.$slots, "optionFullscreen", L(j({ toggleFullscreen: a, isFullscreen: l })), void 0, !0)
242
240
  ]),
243
241
  key: "2"
244
242
  } : void 0,
245
243
  t.$slots.optionAnnotator ? {
246
244
  name: "optionAnnotator",
247
- fn: F(({ toggleAnnotator: a, isAnnotator: o }) => [
248
- b(t.$slots, "optionAnnotator", L(j({ toggleAnnotator: a, isAnnotator: o })), void 0, !0)
245
+ fn: F(({ toggleAnnotator: a, isAnnotator: l }) => [
246
+ b(t.$slots, "optionAnnotator", L(j({ toggleAnnotator: a, isAnnotator: l })), void 0, !0)
249
247
  ]),
250
248
  key: "3"
251
249
  } : void 0
252
- ]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasPdf", "hasImg", "hasFullscreen", "isFullscreen", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "onGeneratePdf", "onGenerateImage", "style"])) : y("", !0),
250
+ ]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasPdf", "hasImg", "hasFullscreen", "isFullscreen", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "onGeneratePdf", "onGenerateImage", "style"])) : d("", !0),
253
251
  z.value ? (s(), c("svg", {
254
252
  key: 4,
255
- xmlns: n(be),
253
+ xmlns: n(ke),
256
254
  class: U({ "vue-data-ui-fullscreen--on": O.value, "vue-data-ui-fulscreen--off": !O.value }),
257
- viewBox: `0 0 ${l.value.width} ${l.value.height}`,
255
+ viewBox: `0 0 ${o.value.width} ${o.value.height}`,
258
256
  style: G(`max-width:100%; overflow: visible; background:transparent;color:${e.value.style.chart.color}`)
259
257
  }, [
260
- he(Oe),
258
+ ve(Pe),
259
+ t.$slots["chart-background"] ? (s(), c("foreignObject", {
260
+ key: 0,
261
+ x: 0,
262
+ y: 0,
263
+ width: o.value.width,
264
+ height: o.value.height,
265
+ style: {
266
+ pointerEvents: "none"
267
+ }
268
+ }, [
269
+ b(t.$slots, "chart-background", {}, void 0, !0)
270
+ ], 8, Ne)) : d("", !0),
261
271
  e.value.style.chart.layout.curved ? (s(), c("g", Me, [
262
- (s(!0), c(Z, null, ee(Q.value, (a, o) => (s(), c("path", {
272
+ (s(!0), c(Z, null, ee(Q.value, (a, l) => (s(), c("path", {
263
273
  d: a.curve,
264
274
  "stroke-width": v.value.mark,
265
- stroke: u.value >= o ? a.color : e.value.style.chart.layout.inactiveColor,
275
+ stroke: u.value >= l ? a.color : e.value.style.chart.layout.inactiveColor,
266
276
  "stroke-linecap": "round",
267
277
  fill: "none",
268
- class: U({ "vue-ui-tick-animated": e.value.style.chart.animation.use && o <= u.value })
278
+ class: U({ "vue-ui-tick-animated": e.value.style.chart.animation.use && l <= u.value })
269
279
  }, null, 10, Te))), 256))
270
280
  ])) : (s(), c("g", Ue, [
271
- (s(!0), c(Z, null, ee(Q.value, (a, o) => (s(), c("line", {
281
+ (s(!0), c(Z, null, ee(Q.value, (a, l) => (s(), c("line", {
272
282
  x1: a.x1,
273
283
  y1: a.y1,
274
284
  x2: a.x2,
275
285
  y2: a.y2,
276
286
  "stroke-width": v.value.mark,
277
- stroke: u.value >= o ? a.color : e.value.style.chart.layout.inactiveColor,
287
+ stroke: u.value >= l ? a.color : e.value.style.chart.layout.inactiveColor,
278
288
  "stroke-linecap": "round"
279
289
  }, null, 8, Ge))), 256))
280
290
  ])),
281
291
  e.value.style.chart.percentage.show ? (s(), c("text", {
282
- key: 2,
292
+ key: 3,
283
293
  x: C.value.x,
284
294
  y: C.value.y,
285
295
  "font-size": C.value.fontSize,
286
296
  fill: e.value.style.chart.layout.ticks.gradient.show && e.value.style.chart.percentage.useGradientColor ? n(ae)(e.value.style.chart.layout.activeColor, u.value / 100 * (e.value.style.chart.layout.ticks.gradient.shiftHueIntensity / 100)) : e.value.style.chart.percentage.color,
287
297
  "font-weight": C.value.bold ? "bold" : "normal",
288
298
  "text-anchor": C.value.textAnchor
289
- }, de(n(_e)(
299
+ }, he(n(be)(
290
300
  e.value.style.chart.percentage.formatter,
291
301
  u.value,
292
- n(Ce)({
302
+ n(_e)({
293
303
  v: u.value,
294
304
  s: "%",
295
305
  r: e.value.style.chart.percentage.rounding
296
306
  })
297
- )), 9, Le)) : y("", !0),
298
- b(t.$slots, "svg", { svg: l.value }, void 0, !0)
299
- ], 14, Ne)) : y("", !0),
307
+ )), 9, Le)) : d("", !0),
308
+ b(t.$slots, "svg", { svg: o.value }, void 0, !0)
309
+ ], 14, Se)) : d("", !0),
300
310
  t.$slots.watermark ? (s(), c("div", je, [
301
311
  b(t.$slots, "watermark", L(j({ isPrinting: n(R) || n(V) })), void 0, !0)
302
- ])) : y("", !0),
303
- t.$slots.source ? (s(), c("div", Be, [
312
+ ])) : d("", !0),
313
+ t.$slots.source ? (s(), c("div", Ee, [
304
314
  b(t.$slots, "source", {}, void 0, !0)
305
- ], 512)) : y("", !0),
306
- z.value ? y("", !0) : (s(), I(Pe, {
315
+ ], 512)) : d("", !0),
316
+ z.value ? d("", !0) : (s(), I(xe, {
307
317
  key: 7,
308
318
  config: {
309
319
  type: "tiremarks",
@@ -315,9 +325,9 @@ const ze = ["id"], Se = {
315
325
  }
316
326
  }
317
327
  }, null, 8, ["config"]))
318
- ], 46, ze));
328
+ ], 46, Fe));
319
329
  }
320
- }, We = /* @__PURE__ */ Fe(Ee, [["__scopeId", "data-v-abf7fd42"]]);
330
+ }, We = /* @__PURE__ */ Ie(Be, [["__scopeId", "data-v-60aa805a"]]);
321
331
  export {
322
332
  We as default
323
333
  };
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),L=require("./useNestedProp-DkpuL8Iv.cjs"),c=require("./index-DaDv7p0W.cjs"),J=require("./Title-CpfNWbUc.cjs"),j=require("./usePrinter-BIHu0O5X.cjs"),K=require("./vue-ui-skeleton-B24XJJ2p.cjs"),Q=require("./PackageVersion-nr7f_VNw.cjs"),W=require("./PenAndPaper-C9v0NXEg.cjs"),Z=require("./useUserOptionState-BgepsfED.cjs"),ee=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),te=["id"],oe={key:2,style:"width:100%;background:transparent;padding-bottom:12px"},ae=["xmlns","viewBox"],le=["width","height"],re={key:1},ne=["d","stroke-width","stroke"],se={key:2},ue=["x1","y1","x2","y2","stroke-width","stroke"],ie=["x","y","font-size","fill","font-weight","text-anchor"],ce={key:5,class:"vue-data-ui-watermark"},ve={key:6,ref:"source",dir:"auto"},de={__name:"vue-ui-tiremarks",props:{config:{type:Object,default(){return{}}},dataset:{type:Object,default(){return{}}}},setup(G,{expose:H}){const v=G,{vue_ui_tiremarks:D}=c.useConfig(),$=e.computed(()=>!!v.dataset&&Object.keys(v.dataset).length),B=e.ref(c.createUid()),P=e.ref(null),R=e.ref(null),O=e.ref(0),A=e.ref(0),t=e.computed({get:()=>E(),set:o=>o}),{userOptionsVisible:x,setUserOptionsVisibility:N,keepUserOptionState:z}=Z.useUserOptionState({config:t.value});function E(){const o=L.useNestedProp({userConfig:v.config,defaultConfig:D});return o.theme?{...L.useNestedProp({userConfig:c.themes.vue_ui_tiremarks[o.theme]||v.config,defaultConfig:o})}:o}e.watch(()=>v.config,o=>{t.value=E(),x.value=!t.value.showOnChartHover,M(),A.value+=1},{deep:!0});const{isPrinting:I,isImaging:F,generatePdf:V,generateImage:q}=j.usePrinter({elementId:B.value,fileName:t.value.style.chart.title.text||"vue-ui-tiremarks"}),X=e.computed(()=>t.value.userOptions.show&&!t.value.style.chart.title.text),s=e.ref(t.value.style.chart.animation.use?0:c.checkNaN(v.dataset.percentage));e.watch(()=>v.dataset,o=>{t.value.style.chart.animation.use?T(o.percentage):s.value=o.percentage||0},{deep:!0}),e.onMounted(()=>{M()});function T(o){let n=t.value.style.chart.animation.speed;const a=Math.abs(o-s.value)/(n*120);function r(){s.value<o?s.value=Math.min(s.value+a,o):s.value>o&&(s.value=Math.max(s.value-a,o)),s.value!==o&&requestAnimationFrame(r)}r()}function M(){c.objectIsEmpty(v.dataset)&&c.error({componentName:"VueUiTiremarks",type:"dataset"}),T(v.dataset.percentage||0)}const f=e.computed(()=>t.value.style.chart.layout.display==="vertical"),u=e.computed(()=>{const o={top:48,left:64,right:64,bottom:48};return f.value?{top:t.value.style.chart.percentage.verticalPosition==="top"?o.top:3,left:3,right:3,bottom:t.value.style.chart.percentage.verticalPosition==="bottom"?o.bottom:3}:{top:0,bottom:0,left:t.value.style.chart.percentage.horizontalPosition==="left"?o.left:3,right:t.value.style.chart.percentage.horizontalPosition==="right"?o.right:10}}),C=e.computed(()=>Object.values(u.value).reduce((o,n)=>o+n,0)),l=e.computed(()=>({height:f.value?312:56,width:f.value?56:312})),i=e.computed(()=>f.value?{mark:(l.value.height-C.value)/100*.5,space:(l.value.height-C.value)/100*.5}:{mark:(l.value.width-C.value)/100*.5,space:(l.value.width-C.value)/100*.5}),U=e.computed(()=>{const o=[];for(let a=0;a<100;a+=1){const r=t.value.style.chart.layout.ticks.gradient.show?c.shiftHue(t.value.style.chart.layout.activeColor,a/100*(t.value.style.chart.layout.ticks.gradient.shiftHueIntensity/100)):t.value.style.chart.layout.activeColor;if(f.value){const y=t.value.style.chart.layout.crescendo?(100-a)*(l.value.width-u.value.left-u.value.right)/100/3:0,d=u.value.left+4+y,h=l.value.width-u.value.right-4-y,p=l.value.height-u.value.bottom-a*i.value.mark-a*i.value.space-i.value.mark,m=l.value.height-u.value.bottom-a*i.value.mark-a*i.value.space-i.value.mark,k=(h-d)/t.value.style.chart.layout.curveAngleX,b=t.value.style.chart.layout.curveAngleY*((1+a)/100);o.push({x1:d,x2:h,y1:p,y2:m,curve:`M ${d} ${p} C ${d+k} ${p-b}, ${h-k} ${m-b}, ${h} ${m}`,color:r})}else{const y=t.value.style.chart.layout.crescendo?(100-a)*(l.value.height-u.value.top-u.value.bottom)/100/3:0,d=u.value.left+a*i.value.mark+a*i.value.space-i.value.mark,h=d,p=u.value.top+4+y,m=l.value.height-u.value.bottom-4-y,k=t.value.style.chart.layout.curveAngleY*((1+a)/100),b=(m-p)/t.value.style.chart.layout.curveAngleX;o.push({x1:d,x2:h,y1:p,y2:m,curve:`M ${d} ${p} C ${d+k} ${p+b}, ${h+k} ${m-b}, ${h} ${m}`,color:r})}}return o}),g=e.computed(()=>{let o,n,a;const r=t.value.style.chart.percentage.fontSize/3;return f.value?t.value.style.chart.percentage.verticalPosition==="top"?(o=l.value.width/2,n=u.value.top/2,a="middle"):t.value.style.chart.percentage.verticalPosition==="bottom"&&(o=l.value.width/2,n=l.value.height-u.value.bottom/2+r,a="middle"):t.value.style.chart.percentage.horizontalPosition==="left"?(o=4,n=l.value.height/2+r,a="start"):t.value.style.chart.percentage.horizontalPosition==="right"&&(o=l.value.width-u.value.right+8,n=l.value.height/2+r,a="start"),{x:o,y:n,textAnchor:a,bold:t.value.style.chart.percentage.bold,fontSize:t.value.style.chart.percentage.fontSize,fill:t.value.style.chart.percentage.color}}),_=e.ref(!1);function Y(o){_.value=o,O.value+=1}const w=e.ref(!1);function S(){w.value=!w.value}return H({generatePdf:V,generateImage:q,toggleAnnotator:S}),(o,n)=>(e.openBlock(),e.createElementBlock("div",{ref_key:"tiremarksChart",ref:P,class:e.normalizeClass(`vue-ui-tiremarks ${t.value.useCssAnimation?"":"vue-ui-dna"}`),style:e.normalizeStyle(`font-family:${t.value.style.fontFamily};width:100%; text-align:center;background:${t.value.style.chart.backgroundColor}`),id:B.value,onMouseenter:n[0]||(n[0]=()=>e.unref(N)(!0)),onMouseleave:n[1]||(n[1]=()=>e.unref(N)(!1))},[t.value.userOptions.buttons.annotator?(e.openBlock(),e.createBlock(W.PenAndPaper,{key:0,parent:P.value,backgroundColor:t.value.style.chart.backgroundColor,color:t.value.style.chart.color,active:w.value,onClose:S},null,8,["parent","backgroundColor","color","active"])):e.createCommentVNode("",!0),X.value?(e.openBlock(),e.createElementBlock("div",{key:1,ref_key:"noTitle",ref:R,class:"vue-data-ui-no-title-space",style:"height:36px; width: 100%;background:transparent"},null,512)):e.createCommentVNode("",!0),t.value.style.chart.title.text?(e.openBlock(),e.createElementBlock("div",oe,[(e.openBlock(),e.createBlock(J._sfc_main,{key:`title_${A.value}`,config:{title:{cy:"wheel-title",...t.value.style.chart.title},subtitle:{cy:"wheel-subtitle",...t.value.style.chart.title.subtitle}}},null,8,["config"]))])):e.createCommentVNode("",!0),t.value.userOptions.show&&$.value&&(e.unref(z)||e.unref(x))?(e.openBlock(),e.createBlock(j.UserOptions,{ref:"details",key:`user_options_${O.value}`,backgroundColor:t.value.style.chart.backgroundColor,color:t.value.style.chart.color,isPrinting:e.unref(I),isImaging:e.unref(F),uid:B.value,hasPdf:t.value.userOptions.buttons.pdf,hasImg:t.value.userOptions.buttons.img,hasFullscreen:t.value.userOptions.buttons.fullscreen,hasXls:!1,isFullscreen:_.value,titles:{...t.value.userOptions.buttonTitles},chartElement:P.value,position:t.value.userOptions.position,hasAnnotator:t.value.userOptions.buttons.annotator,isAnnotation:w.value,onToggleFullscreen:Y,onGeneratePdf:e.unref(V),onGenerateImage:e.unref(q),onToggleAnnotator:S,style:e.normalizeStyle({visibility:e.unref(z)?e.unref(x)?"visible":"hidden":"visible"})},e.createSlots({_:2},[o.$slots.optionPdf?{name:"optionPdf",fn:e.withCtx(()=>[e.renderSlot(o.$slots,"optionPdf",{},void 0,!0)]),key:"0"}:void 0,o.$slots.optionImg?{name:"optionImg",fn:e.withCtx(()=>[e.renderSlot(o.$slots,"optionImg",{},void 0,!0)]),key:"1"}:void 0,o.$slots.optionFullscreen?{name:"optionFullscreen",fn:e.withCtx(({toggleFullscreen:a,isFullscreen:r})=>[e.renderSlot(o.$slots,"optionFullscreen",e.normalizeProps(e.guardReactiveProps({toggleFullscreen:a,isFullscreen:r})),void 0,!0)]),key:"2"}:void 0,o.$slots.optionAnnotator?{name:"optionAnnotator",fn:e.withCtx(({toggleAnnotator:a,isAnnotator:r})=>[e.renderSlot(o.$slots,"optionAnnotator",e.normalizeProps(e.guardReactiveProps({toggleAnnotator:a,isAnnotator:r})),void 0,!0)]),key:"3"}:void 0]),1032,["backgroundColor","color","isPrinting","isImaging","uid","hasPdf","hasImg","hasFullscreen","isFullscreen","titles","chartElement","position","hasAnnotator","isAnnotation","onGeneratePdf","onGenerateImage","style"])):e.createCommentVNode("",!0),$.value?(e.openBlock(),e.createElementBlock("svg",{key:4,xmlns:e.unref(c.XMLNS),class:e.normalizeClass({"vue-data-ui-fullscreen--on":_.value,"vue-data-ui-fulscreen--off":!_.value}),viewBox:`0 0 ${l.value.width} ${l.value.height}`,style:e.normalizeStyle(`max-width:100%; overflow: visible; background:transparent;color:${t.value.style.chart.color}`)},[e.createVNode(Q._sfc_main),o.$slots["chart-background"]?(e.openBlock(),e.createElementBlock("foreignObject",{key:0,x:0,y:0,width:l.value.width,height:l.value.height,style:{pointerEvents:"none"}},[e.renderSlot(o.$slots,"chart-background",{},void 0,!0)],8,le)):e.createCommentVNode("",!0),t.value.style.chart.layout.curved?(e.openBlock(),e.createElementBlock("g",re,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(U.value,(a,r)=>(e.openBlock(),e.createElementBlock("path",{d:a.curve,"stroke-width":i.value.mark,stroke:s.value>=r?a.color:t.value.style.chart.layout.inactiveColor,"stroke-linecap":"round",fill:"none",class:e.normalizeClass({"vue-ui-tick-animated":t.value.style.chart.animation.use&&r<=s.value})},null,10,ne))),256))])):(e.openBlock(),e.createElementBlock("g",se,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(U.value,(a,r)=>(e.openBlock(),e.createElementBlock("line",{x1:a.x1,y1:a.y1,x2:a.x2,y2:a.y2,"stroke-width":i.value.mark,stroke:s.value>=r?a.color:t.value.style.chart.layout.inactiveColor,"stroke-linecap":"round"},null,8,ue))),256))])),t.value.style.chart.percentage.show?(e.openBlock(),e.createElementBlock("text",{key:3,x:g.value.x,y:g.value.y,"font-size":g.value.fontSize,fill:t.value.style.chart.layout.ticks.gradient.show&&t.value.style.chart.percentage.useGradientColor?e.unref(c.shiftHue)(t.value.style.chart.layout.activeColor,s.value/100*(t.value.style.chart.layout.ticks.gradient.shiftHueIntensity/100)):t.value.style.chart.percentage.color,"font-weight":g.value.bold?"bold":"normal","text-anchor":g.value.textAnchor},e.toDisplayString(e.unref(c.applyDataLabel)(t.value.style.chart.percentage.formatter,s.value,e.unref(c.dataLabel)({v:s.value,s:"%",r:t.value.style.chart.percentage.rounding}))),9,ie)):e.createCommentVNode("",!0),e.renderSlot(o.$slots,"svg",{svg:l.value},void 0,!0)],14,ae)):e.createCommentVNode("",!0),o.$slots.watermark?(e.openBlock(),e.createElementBlock("div",ce,[e.renderSlot(o.$slots,"watermark",e.normalizeProps(e.guardReactiveProps({isPrinting:e.unref(I)||e.unref(F)})),void 0,!0)])):e.createCommentVNode("",!0),o.$slots.source?(e.openBlock(),e.createElementBlock("div",ve,[e.renderSlot(o.$slots,"source",{},void 0,!0)],512)):e.createCommentVNode("",!0),$.value?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(K.default,{key:7,config:{type:"tiremarks",style:{backgroundColor:t.value.style.chart.backgroundColor,tiremarks:{color:"#CCCCCC"}}}},null,8,["config"]))],46,te))}},he=ee._export_sfc(de,[["__scopeId","data-v-60aa805a"]]);exports.default=he;