vue-data-ui 2.4.49 → 2.4.51

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 (199) hide show
  1. package/README.md +12 -0
  2. package/dist/{Arrow-CTukks_V.cjs → Arrow-2a_SwBgz.cjs} +1 -1
  3. package/dist/{Arrow-Q0cOmO5p.js → Arrow-BUz63pb2.js} +1 -1
  4. package/dist/{BaseIcon-2ZD3jgGz.cjs → BaseIcon-BASl_NFX.cjs} +1 -1
  5. package/dist/{BaseIcon-CaYP30Aq.js → BaseIcon-CmiukQBl.js} +1 -1
  6. package/dist/{DataTable-CO5C8Cmb.js → DataTable-DGf6RrOJ.js} +2 -2
  7. package/dist/{DataTable-kMUhutQ4.cjs → DataTable-G3ICK-5h.cjs} +1 -1
  8. package/dist/{Legend-FZN9UHoI.js → Legend-BLaZxMge.js} +1 -1
  9. package/dist/{Legend-DPHcmrzd.cjs → Legend-BiuPlEMg.cjs} +1 -1
  10. package/dist/{PackageVersion-rnWHRWGI.cjs → PackageVersion-Bj34UNnQ.cjs} +1 -1
  11. package/dist/{PackageVersion-DYk2hOG1.js → PackageVersion-CxJghxYD.js} +1 -1
  12. package/dist/{PenAndPaper-BQl9-uX0.cjs → PenAndPaper-D9yQnc0e.cjs} +1 -1
  13. package/dist/{PenAndPaper-BfgS_5ux.js → PenAndPaper-ZdZEumki.js} +3 -3
  14. package/dist/{Shape-BqkMzXqo.js → Shape-DIKzzpFm.js} +1 -1
  15. package/dist/{Shape-BblkpCyL.cjs → Shape-yducHWd0.cjs} +1 -1
  16. package/dist/{Slicer-yEeqKUDF.cjs → Slicer-BHS9W4MJ.cjs} +1 -1
  17. package/dist/{Slicer-DlgqsI5C.js → Slicer-Cxdl3cDt.js} +2 -2
  18. package/dist/{Title-5Vedk01J.cjs → Title-Bk_55doC.cjs} +1 -1
  19. package/dist/{Title-DED-PQ7X.js → Title-aSAft5dl.js} +1 -1
  20. package/dist/{Tooltip-DjCKBAC4.cjs → Tooltip-G7ENx87_.cjs} +1 -1
  21. package/dist/{Tooltip-CHseiJu8.js → Tooltip-smutPF--.js} +1 -1
  22. package/dist/{index-igxqCP2w.js → index-BbPeL8Gp.js} +5 -1
  23. package/dist/index-DhDYBLBe.cjs +9 -0
  24. package/dist/style.css +1 -1
  25. package/dist/types/vue-data-ui.d.cts +5 -1
  26. package/dist/types/vue-data-ui.d.ts +5 -1
  27. package/dist/{useNestedProp-CSVnZVwZ.js → useNestedProp-BN8claGG.js} +1 -1
  28. package/dist/{useNestedProp-CwpqC_aE.cjs → useNestedProp-BphUExEh.cjs} +1 -1
  29. package/dist/{usePrinter-DVgxBO4o.cjs → usePrinter-2_QjJFdH.cjs} +1 -1
  30. package/dist/{usePrinter-CnZYDQXB.js → usePrinter-DaybDVqP.js} +1 -1
  31. package/dist/useUserOptionState-BIvW1Kz7.js +17 -0
  32. package/dist/useUserOptionState-BgepsfED.cjs +1 -0
  33. package/dist/{vue-data-ui-BrRTkOqu.cjs → vue-data-ui-C5vsHRHD.cjs} +1 -1
  34. package/dist/{vue-data-ui-B--WWkUM.js → vue-data-ui-Ckbp-yIf.js} +60 -60
  35. package/dist/vue-data-ui.cjs +1 -1
  36. package/dist/vue-data-ui.js +1 -1
  37. package/dist/vue-ui-3d-bar-DUgumRsg.cjs +19 -0
  38. package/dist/{vue-ui-3d-bar-OzzLYbUl.js → vue-ui-3d-bar-wDYs3sVe.js} +345 -339
  39. package/dist/{vue-ui-accordion-lF7yVkiT.js → vue-ui-accordion-5d5iVpr7.js} +3 -3
  40. package/dist/{vue-ui-accordion-CRVWlHxs.cjs → vue-ui-accordion-B7tNzRWB.cjs} +1 -1
  41. package/dist/{vue-ui-age-pyramid-5Vj8AtW1.js → vue-ui-age-pyramid-BH1khaaq.js} +260 -254
  42. package/dist/vue-ui-age-pyramid-Dxx1mVwR.cjs +1 -0
  43. package/dist/{vue-ui-annotator-BmO78L3H.js → vue-ui-annotator-B9VKE_qz.js} +1 -1
  44. package/dist/{vue-ui-annotator-D8Hx1BFF.cjs → vue-ui-annotator-jXkB5XnD.cjs} +1 -1
  45. package/dist/{vue-ui-bullet-DwFD41hN.js → vue-ui-bullet-BLi9CSZw.js} +152 -146
  46. package/dist/vue-ui-bullet-QrXtipbT.cjs +34 -0
  47. package/dist/{vue-ui-candlestick-By609gwn.js → vue-ui-candlestick-Bjz1uFbv.js} +223 -217
  48. package/dist/vue-ui-candlestick-Da4ygGXR.cjs +2 -0
  49. package/dist/{vue-ui-carousel-table-wwMoteEN.js → vue-ui-carousel-table-B6zgTL-W.js} +160 -154
  50. package/dist/vue-ui-carousel-table-Cfif8Oiz.cjs +1 -0
  51. package/dist/vue-ui-chestnut-C_N7EbjQ.cjs +6 -0
  52. package/dist/{vue-ui-chestnut-hqorA5EW.js → vue-ui-chestnut-D5HpkuIa.js} +237 -231
  53. package/dist/{vue-ui-cursor-BCg5VZUb.cjs → vue-ui-cursor-A_siHYBc.cjs} +1 -1
  54. package/dist/{vue-ui-cursor-GSkn7N7Z.js → vue-ui-cursor-DZNIbvR2.js} +2 -2
  55. package/dist/{vue-ui-dashboard-Bkm9bcAc.cjs → vue-ui-dashboard-BfPJyiY9.cjs} +1 -1
  56. package/dist/{vue-ui-dashboard-DIoYWyXB.js → vue-ui-dashboard-DCqe4BZg.js} +2 -2
  57. package/dist/{vue-ui-digits-niqTltAv.js → vue-ui-digits-BEWCnojc.js} +2 -2
  58. package/dist/{vue-ui-digits-CpBBTAI9.cjs → vue-ui-digits-BEhLa3jI.cjs} +1 -1
  59. package/dist/vue-ui-donut-By3QRfkV.cjs +1 -0
  60. package/dist/{vue-ui-donut-evolution-XQp6R0e_.js → vue-ui-donut-evolution-Cu6dmlT2.js} +300 -294
  61. package/dist/vue-ui-donut-evolution-DEABWsj0.cjs +1 -0
  62. package/dist/{vue-ui-donut-DfufBrkk.js → vue-ui-donut-g5ZLhYPx.js} +376 -370
  63. package/dist/vue-ui-dumbbell-Dfb1l5qP.cjs +9 -0
  64. package/dist/{vue-ui-dumbbell-DSS8sHHU.js → vue-ui-dumbbell-bb4-Ep6o.js} +256 -250
  65. package/dist/vue-ui-flow-CCvTnu7z.cjs +1 -0
  66. package/dist/{vue-ui-flow-BBNuPVgI.js → vue-ui-flow-hD0F6mTK.js} +164 -158
  67. package/dist/vue-ui-funnel-DKxAPRi_.cjs +1 -0
  68. package/dist/{vue-ui-funnel-BDGggRXE.js → vue-ui-funnel-hcbE4yky.js} +178 -172
  69. package/dist/{vue-ui-galaxy-6Odi2CwM.js → vue-ui-galaxy-ByKjxVWV.js} +187 -181
  70. package/dist/vue-ui-galaxy-D2kmqwpI.cjs +1 -0
  71. package/dist/vue-ui-gauge-BFA_unjg.cjs +1 -0
  72. package/dist/{vue-ui-gauge-DeYvNVnR.js → vue-ui-gauge-PGirbe6O.js} +220 -214
  73. package/dist/{vue-ui-gizmo-DXQt_8D0.cjs → vue-ui-gizmo-CHMApil6.cjs} +1 -1
  74. package/dist/{vue-ui-gizmo-BcAr2dTN.js → vue-ui-gizmo-ChSfBYZ_.js} +3 -3
  75. package/dist/vue-ui-heatmap-C0VxwPhr.cjs +1 -0
  76. package/dist/{vue-ui-heatmap-Btm1mK6D.js → vue-ui-heatmap-CK3FIWpo.js} +270 -264
  77. package/dist/vue-ui-history-plot-BmGodgUx.cjs +1 -0
  78. package/dist/{vue-ui-history-plot-OY6N31Ka.js → vue-ui-history-plot-EmQ-Byiz.js} +236 -230
  79. package/dist/{vue-ui-kpi-CQIbWQMk.cjs → vue-ui-kpi-BdungaO2.cjs} +1 -1
  80. package/dist/{vue-ui-kpi-D5oNUDVm.js → vue-ui-kpi-DjC68pSz.js} +3 -3
  81. package/dist/{vue-ui-mini-loader-BjqV22Co.js → vue-ui-mini-loader-CzrblCCD.js} +2 -2
  82. package/dist/{vue-ui-mini-loader-ByDKGMAp.cjs → vue-ui-mini-loader-jwL_pZjb.cjs} +1 -1
  83. package/dist/{vue-ui-molecule-FsLf3YTj.js → vue-ui-molecule-DBQJQs4Y.js} +294 -289
  84. package/dist/vue-ui-molecule-Dzh-0SWI.cjs +1 -0
  85. package/dist/{vue-ui-mood-radar-31BX-GNG.js → vue-ui-mood-radar-Ca9wPZpJ.js} +205 -199
  86. package/dist/vue-ui-mood-radar-DV6ZZIXF.cjs +1 -0
  87. package/dist/{vue-ui-nested-donuts-BMJW2oHk.js → vue-ui-nested-donuts-C8at93dN.js} +286 -280
  88. package/dist/vue-ui-nested-donuts-DEdS6dpj.cjs +17 -0
  89. package/dist/{vue-ui-onion-BUpGgnWA.js → vue-ui-onion-B-PXxNu6.js} +198 -192
  90. package/dist/vue-ui-onion-B2ioudP5.cjs +5 -0
  91. package/dist/{vue-ui-parallel-coordinate-plot-9I00rQEM.js → vue-ui-parallel-coordinate-plot-ByM3So9k.js} +236 -230
  92. package/dist/vue-ui-parallel-coordinate-plot-DtJi9cT0.cjs +8 -0
  93. package/dist/{vue-ui-quadrant-CEmoMAL7.js → vue-ui-quadrant-BqOJBcsI.js} +255 -249
  94. package/dist/vue-ui-quadrant-CIr4i6cC.cjs +1 -0
  95. package/dist/{vue-ui-quick-chart-T_oeRTqY.js → vue-ui-quick-chart-BfXxT3KM.js} +474 -466
  96. package/dist/vue-ui-quick-chart-Bt9KA82P.cjs +15 -0
  97. package/dist/{vue-ui-radar-DG_Zir8w.js → vue-ui-radar-BKpD9xDr.js} +256 -250
  98. package/dist/vue-ui-radar-Czmsd_uv.cjs +1 -0
  99. package/dist/{vue-ui-rating-Juprijdi.cjs → vue-ui-rating-BE545aI4.cjs} +1 -1
  100. package/dist/{vue-ui-rating-gswAA28b.js → vue-ui-rating-DQRuqev5.js} +2 -2
  101. package/dist/vue-ui-relation-circle-B1uMTqFP.cjs +1 -0
  102. package/dist/vue-ui-relation-circle-nZ2nBpWX.js +498 -0
  103. package/dist/vue-ui-rings-B7JzZ3ub.cjs +2 -0
  104. package/dist/{vue-ui-rings-D3g-ORch.js → vue-ui-rings-C1PV0873.js} +177 -172
  105. package/dist/vue-ui-scatter-CTI943ks.cjs +1 -0
  106. package/dist/{vue-ui-scatter-DBO-XViT.js → vue-ui-scatter-dgs1m3-2.js} +310 -304
  107. package/dist/{vue-ui-screenshot-3MDyr6v3.cjs → vue-ui-screenshot--cHV0jG3.cjs} +1 -1
  108. package/dist/{vue-ui-screenshot-K0a-DVD6.js → vue-ui-screenshot-Dxj0l8Jg.js} +1 -1
  109. package/dist/{vue-ui-skeleton-CWjNNx-k.js → vue-ui-skeleton-Bniq21d9.js} +3 -3
  110. package/dist/{vue-ui-skeleton-DUNkS05l.cjs → vue-ui-skeleton-lkPDknHn.cjs} +1 -1
  111. package/dist/{vue-ui-smiley-Cbqg-N-L.cjs → vue-ui-smiley-CozXoiti.cjs} +1 -1
  112. package/dist/{vue-ui-smiley-MwX1c6qK.js → vue-ui-smiley-D4DAZIpA.js} +2 -2
  113. package/dist/{vue-ui-spark-trend-CN5JUPhn.cjs → vue-ui-spark-trend-CSqyvI_K.cjs} +1 -1
  114. package/dist/{vue-ui-spark-trend-D9eWTtbE.js → vue-ui-spark-trend-ZqrwhwqS.js} +5 -5
  115. package/dist/{vue-ui-sparkbar-IphZ8jXh.cjs → vue-ui-sparkbar-Bph8KIjk.cjs} +1 -1
  116. package/dist/{vue-ui-sparkbar-CPF7YNDd.js → vue-ui-sparkbar-q0G4GvFm.js} +4 -4
  117. package/dist/{vue-ui-sparkgauge-B29V7ZTv.js → vue-ui-sparkgauge-DA_h9jcN.js} +4 -4
  118. package/dist/{vue-ui-sparkgauge-BRMGqR9Z.cjs → vue-ui-sparkgauge-nSAW83dN.cjs} +1 -1
  119. package/dist/{vue-ui-sparkhistogram-BJTgOWF5.js → vue-ui-sparkhistogram-B1WyBiq_.js} +5 -5
  120. package/dist/{vue-ui-sparkhistogram-rvYaVHmw.cjs → vue-ui-sparkhistogram-BLYhRNpt.cjs} +1 -1
  121. package/dist/{vue-ui-sparkline-BI9jqI0h.cjs → vue-ui-sparkline-PNix1-R9.cjs} +1 -1
  122. package/dist/{vue-ui-sparkline-DX79otAB.js → vue-ui-sparkline-ccfl0s3m.js} +4 -4
  123. package/dist/{vue-ui-sparkstackbar-DuollcwK.cjs → vue-ui-sparkstackbar-DpuvEumy.cjs} +1 -1
  124. package/dist/{vue-ui-sparkstackbar-vP28A6AT.js → vue-ui-sparkstackbar-PNKwVRu8.js} +5 -5
  125. package/dist/{vue-ui-stackbar-DnJEgIaA.js → vue-ui-stackbar-BBYnF8qm.js} +367 -361
  126. package/dist/vue-ui-stackbar-D4AIFoQT.cjs +6 -0
  127. package/dist/vue-ui-strip-plot-ClNxSw9M.cjs +1 -0
  128. package/dist/{vue-ui-strip-plot-DqcHBwd_.js → vue-ui-strip-plot-TVlnzXFq.js} +269 -263
  129. package/dist/{vue-ui-table-BMJ0I5nr.cjs → vue-ui-table-CHdv3KuM.cjs} +1 -1
  130. package/dist/{vue-ui-table-D8cgqIJl.js → vue-ui-table-CsEajH9S.js} +1 -1
  131. package/dist/vue-ui-table-heatmap-BE3UT8U9.cjs +1 -0
  132. package/dist/vue-ui-table-heatmap-CubRipoB.js +262 -0
  133. package/dist/vue-ui-table-sparkline-BeYviUrb.cjs +1 -0
  134. package/dist/{vue-ui-table-sparkline-B_Po0RuC.js → vue-ui-table-sparkline-YV8DUOqh.js} +256 -239
  135. package/dist/vue-ui-thermometer-C6lMWRiF.cjs +1 -0
  136. package/dist/{vue-ui-thermometer-C6nfW6uY.js → vue-ui-thermometer-DmMjSLc1.js} +170 -164
  137. package/dist/{vue-ui-timer-ldINTqND.cjs → vue-ui-timer-DteYgv9y.cjs} +1 -1
  138. package/dist/{vue-ui-timer-CfwmMRdZ.js → vue-ui-timer-DvE_nqd9.js} +5 -5
  139. package/dist/vue-ui-tiremarks-CCrkDgjX.js +323 -0
  140. package/dist/vue-ui-tiremarks-PGGgsNgS.cjs +1 -0
  141. package/dist/vue-ui-treemap-BzRVKqXL.cjs +1 -0
  142. package/dist/{vue-ui-treemap-CwMnkcOi.js → vue-ui-treemap-C4A4spvg.js} +243 -237
  143. package/dist/{vue-ui-vertical-bar-BZR4YOLh.js → vue-ui-vertical-bar-8iL1xiaz.js} +238 -232
  144. package/dist/vue-ui-vertical-bar-B60lSXNq.cjs +4 -0
  145. package/dist/{vue-ui-waffle-D2BccJmB.js → vue-ui-waffle-CaYNz-Kd.js} +316 -310
  146. package/dist/vue-ui-waffle-O8pAEf4X.cjs +1 -0
  147. package/dist/vue-ui-wheel-BRR2rGou.js +305 -0
  148. package/dist/vue-ui-wheel-CnFdB_B1.cjs +1 -0
  149. package/dist/vue-ui-word-cloud-X4mp280j.cjs +1 -0
  150. package/dist/{vue-ui-word-cloud-DiG8DHOr.js → vue-ui-word-cloud-y2GGxwoq.js} +246 -240
  151. package/dist/{vue-ui-xy-DicLnkBA.js → vue-ui-xy-CXoWP8bh.js} +708 -697
  152. package/dist/vue-ui-xy-CbM75yXK.cjs +3 -0
  153. package/dist/{vue-ui-xy-canvas-D6CYL9A8.js → vue-ui-xy-canvas-D7MrUJj7.js} +334 -328
  154. package/dist/vue-ui-xy-canvas-DWvIvSry.cjs +9 -0
  155. package/package.json +1 -1
  156. package/dist/index-BHQZE19X.cjs +0 -9
  157. package/dist/vue-ui-3d-bar-BGVLnjCh.cjs +0 -19
  158. package/dist/vue-ui-age-pyramid-Cv0Rddsx.cjs +0 -1
  159. package/dist/vue-ui-bullet-C0Q2Vs5p.cjs +0 -34
  160. package/dist/vue-ui-candlestick-C7kRHFF3.cjs +0 -2
  161. package/dist/vue-ui-carousel-table-1_Hy8sGL.cjs +0 -1
  162. package/dist/vue-ui-chestnut-D3LGylRp.cjs +0 -6
  163. package/dist/vue-ui-donut-CQEOtlxM.cjs +0 -1
  164. package/dist/vue-ui-donut-evolution-Dg_XJyX8.cjs +0 -1
  165. package/dist/vue-ui-dumbbell-RAkNYRoJ.cjs +0 -9
  166. package/dist/vue-ui-flow-BUmSGSmR.cjs +0 -1
  167. package/dist/vue-ui-funnel-B9HR0owO.cjs +0 -1
  168. package/dist/vue-ui-galaxy-DmsMWB1a.cjs +0 -1
  169. package/dist/vue-ui-gauge-Dvv0v56Z.cjs +0 -1
  170. package/dist/vue-ui-heatmap-DZ02dS5q.cjs +0 -1
  171. package/dist/vue-ui-history-plot-DPQWcN0P.cjs +0 -1
  172. package/dist/vue-ui-molecule-C8O_ViVy.cjs +0 -1
  173. package/dist/vue-ui-mood-radar-4u98wGWl.cjs +0 -1
  174. package/dist/vue-ui-nested-donuts-BPc_OBoe.cjs +0 -17
  175. package/dist/vue-ui-onion-IhkIHn1A.cjs +0 -5
  176. package/dist/vue-ui-parallel-coordinate-plot-DzjggyLA.cjs +0 -8
  177. package/dist/vue-ui-quadrant-EZqQ-7Ev.cjs +0 -1
  178. package/dist/vue-ui-quick-chart-BKUUR-A1.cjs +0 -15
  179. package/dist/vue-ui-radar-QBwo6ybW.cjs +0 -1
  180. package/dist/vue-ui-relation-circle-BWX8zrfH.cjs +0 -1
  181. package/dist/vue-ui-relation-circle-DtnXrnOP.js +0 -492
  182. package/dist/vue-ui-rings-Damuv7g9.cjs +0 -2
  183. package/dist/vue-ui-scatter-RUeAe7Sx.cjs +0 -1
  184. package/dist/vue-ui-stackbar-BumFmZZF.cjs +0 -6
  185. package/dist/vue-ui-strip-plot-DupREfRd.cjs +0 -1
  186. package/dist/vue-ui-table-heatmap-D43pTFli.cjs +0 -1
  187. package/dist/vue-ui-table-heatmap-D4qeClXn.js +0 -256
  188. package/dist/vue-ui-table-sparkline-B7OPOium.cjs +0 -1
  189. package/dist/vue-ui-thermometer-CaV3JF3h.cjs +0 -1
  190. package/dist/vue-ui-tiremarks-BlyxL_IU.cjs +0 -1
  191. package/dist/vue-ui-tiremarks-iNKMnu3P.js +0 -317
  192. package/dist/vue-ui-treemap-YdRDlSHA.cjs +0 -1
  193. package/dist/vue-ui-vertical-bar-Bji3-X8i.cjs +0 -4
  194. package/dist/vue-ui-waffle-rO_LJaHR.cjs +0 -1
  195. package/dist/vue-ui-wheel-BTrpdV-C.cjs +0 -1
  196. package/dist/vue-ui-wheel-GqWFopE1.js +0 -299
  197. package/dist/vue-ui-word-cloud-DD-pKUen.cjs +0 -1
  198. package/dist/vue-ui-xy-C32KNdyx.cjs +0 -3
  199. package/dist/vue-ui-xy-canvas-9e630nJX.cjs +0 -9
@@ -1,17 +1,18 @@
1
- import { computed as y, ref as d, watch as he, onMounted as Xe, onBeforeUnmount as Ye, openBlock as o, createElementBlock as u, normalizeClass as de, normalizeStyle as ye, createBlock as R, createCommentVNode as h, withCtx as X, toDisplayString as C, unref as c, createSlots as Ie, renderSlot as w, normalizeProps as L, guardReactiveProps as D, createVNode as Ae, createElementVNode as g, Fragment as _, renderList as S, mergeProps as G } from "vue";
2
- import { u as Re, c as Ge, t as Ee, a as We, p as fe, b as Te, o as me, d as je, e as E, g as ge, m as U, I as z, X as Le, s as B, k as De, i as V, f as q, F as H } from "./index-igxqCP2w.js";
3
- import { t as Ue, u as Be } from "./useResponsive-CoxXLe23.js";
4
- import { u as Ve, U as qe } from "./usePrinter-CnZYDQXB.js";
5
- import He from "./vue-ui-skeleton-CWjNNx-k.js";
6
- import { _ as Ze } from "./Title-DED-PQ7X.js";
7
- import { u as pe } from "./useNestedProp-CSVnZVwZ.js";
8
- import { _ as Je } from "./PackageVersion-DYk2hOG1.js";
9
- import { P as Ke } from "./PenAndPaper-BfgS_5ux.js";
10
- import { _ as Qe } from "./_plugin-vue_export-helper-CHgC5LLL.js";
11
- const et = ["id"], tt = { key: 0 }, at = ["xmlns", "viewBox"], lt = ["id"], rt = ["stop-color"], st = ["stop-color"], ot = ["stop-color"], ut = ["id"], nt = ["stdDeviation"], it = ["d", "fill", "stroke"], ct = ["id", "d"], vt = ["fill", "font-size", "font-weight"], ht = ["href", "startOffset"], dt = ["x", "y", "text-anchor", "fill", "font-size", "font-weight"], yt = ["d", "filter"], ft = ["stroke", "stroke-width"], mt = ["stroke", "stroke-width"], gt = ["stroke", "stroke-width"], pt = ["stroke", "stroke-width"], kt = { key: 4 }, bt = ["x", "y", "text-anchor", "font-size", "font-weight", "fill"], _t = ["x", "y", "font-size", "font-weight", "fill"], xt = { key: 6 }, wt = ["x1", "y1", "x2", "y2", "stroke", "stroke-width"], St = ["x1", "y1", "x2", "y2", "stroke", "stroke-width"], zt = ["x1", "y1", "x2", "y2", "stroke-width", "filter"], $t = { key: 7 }, Ft = ["d", "fill", "stroke", "stroke-width"], Ct = ["cx", "cy", "fill", "r", "stroke-width", "stroke"], Pt = ["x", "y", "font-size", "fill"], Mt = {
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 j, unref as i, createBlock as R, createCommentVNode as h, withCtx as X, toDisplayString as C, createSlots as Ge, renderSlot as w, normalizeProps as L, guardReactiveProps as D, 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 B, I as z, X as Be, s as V, k as Ve, i as q, f as H, F as Z } from "./index-BbPeL8Gp.js";
3
+ import { t as qe, u as He } from "./useResponsive-CoxXLe23.js";
4
+ import { u as Ze, U as Je } from "./usePrinter-DaybDVqP.js";
5
+ import Ke from "./vue-ui-skeleton-Bniq21d9.js";
6
+ import { _ as Qe } from "./Title-aSAft5dl.js";
7
+ import { u as xe } from "./useNestedProp-BN8claGG.js";
8
+ import { _ as et } from "./PackageVersion-CxJghxYD.js";
9
+ import { P as tt } from "./PenAndPaper-ZdZEumki.js";
10
+ import { u as at } from "./useUserOptionState-BIvW1Kz7.js";
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"], Mt = ["x1", "y1", "x2", "y2", "stroke-width", "filter"], Ot = { key: 7 }, Pt = ["d", "fill", "stroke", "stroke-width"], Nt = ["cx", "cy", "fill", "r", "stroke-width", "stroke"], Xt = ["x", "y", "font-size", "fill"], Yt = {
12
13
  key: 5,
13
14
  class: "vue-data-ui-watermark"
14
- }, Nt = {
15
+ }, It = {
15
16
  __name: "vue-ui-gauge",
16
17
  props: {
17
18
  config: {
@@ -27,32 +28,32 @@ const et = ["id"], tt = { key: 0 }, at = ["xmlns", "viewBox"], lt = ["id"], rt =
27
28
  }
28
29
  }
29
30
  },
30
- setup(W, { expose: ke }) {
31
- const v = W, { vue_ui_gauge: be } = Re(), Y = y(() => !!v.dataset && Object.keys(v.dataset).length > 0 && v.dataset.series && v.dataset.series.length), x = d(Ge()), _e = d(null), Z = d(0), P = d(null), J = d(null), K = d(null), Q = d(null), ee = d(null), te = d(0), e = y({
32
- get: () => ae(),
31
+ setup(U, { expose: _e }) {
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), J = d(0), M = d(null), K = d(null), Q = d(null), ee = d(null), te = d(null), ae = d(0), e = y({
33
+ get: () => oe(),
33
34
  set: (a) => a
34
- });
35
- he(() => v.config, (a) => {
36
- e.value = ae(), ne(), te.value += 1;
35
+ }), { userOptionsVisible: le, setUserOptionsVisibility: se, keepUserOptionState: re } = at({ config: e.value });
36
+ me(() => v.config, (a) => {
37
+ e.value = oe(), he(), ae.value += 1;
37
38
  }, { deep: !0 });
38
- function ae() {
39
- const a = pe({
39
+ function oe() {
40
+ const a = xe({
40
41
  userConfig: v.config,
41
- defaultConfig: be
42
+ defaultConfig: we
42
43
  });
43
44
  return a.theme ? {
44
- ...pe({
45
- userConfig: Ee.vue_ui_gauge[a.theme] || v.config,
45
+ ...xe({
46
+ userConfig: Te.vue_ui_gauge[a.theme] || v.config,
46
47
  defaultConfig: a
47
48
  }),
48
- customPalette: We[a.theme] || fe
49
+ customPalette: je[a.theme] || ge
49
50
  } : a;
50
51
  }
51
- const { isPrinting: le, isImaging: re, generatePdf: se, generateImage: oe } = Ve({
52
- elementId: `vue-ui-gauge_${x.value}`,
52
+ const { isPrinting: ue, isImaging: ne, generatePdf: ie, generateImage: ce } = Ze({
53
+ elementId: `vue-ui-gauge_${_.value}`,
53
54
  fileName: e.value.style.chart.title.text || "vue-ui-gauge"
54
- }), xe = y(() => e.value.userOptions.show && !e.value.style.chart.title.text), we = y(() => Te(e.value.customPalette)), $ = y(() => {
55
- if (!Y.value || me(v.dataset.series || {}))
55
+ }), ze = y(() => e.value.userOptions.show && !e.value.style.chart.title.text), $e = y(() => Le(e.value.customPalette)), $ = y(() => {
56
+ if (!Y.value || ke(v.dataset.series || {}))
56
57
  return {
57
58
  value: 0,
58
59
  series: [
@@ -71,17 +72,17 @@ const et = ["id"], tt = { key: 0 }, at = ["xmlns", "viewBox"], lt = ["id"], rt =
71
72
  ...v.dataset,
72
73
  series: (v.dataset.series || []).map((t, r) => ({
73
74
  ...t,
74
- color: je(t.color) || we.value[r] || fe[r],
75
+ color: De(t.color) || $e.value[r] || ge[r],
75
76
  value: ((t.to || 0) - (t.from || 0)) / s * 100
76
77
  }))
77
78
  };
78
- }), p = d(512), l = d({
79
+ }), g = d(512), l = d({
79
80
  height: 358.4,
80
- width: p.value,
81
+ width: g.value,
81
82
  top: 0,
82
83
  bottom: 358.4,
83
84
  centerX: 179.2,
84
- centerY: p.value / 2,
85
+ centerY: g.value / 2,
85
86
  labelFontSize: 18,
86
87
  legendFontSize: e.value.style.chart.legend.fontSize,
87
88
  pointerRadius: e.value.style.chart.layout.pointer.circle.radius,
@@ -90,22 +91,22 @@ const et = ["id"], tt = { key: 0 }, at = ["xmlns", "viewBox"], lt = ["id"], rt =
90
91
  pointerStrokeWidth: e.value.style.chart.layout.pointer.strokeWidth,
91
92
  markerOffset: e.value.style.chart.layout.markers.offsetY + 3,
92
93
  segmentFontSize: e.value.style.chart.layout.segmentNames.fontSize
93
- }), M = d(0), N = d(0), f = d(e.value.style.chart.animation.use ? 0 : v.dataset.value);
94
- he(() => v.dataset.value, () => {
95
- ie(v.dataset.value);
94
+ }), O = d(0), P = d(0), f = d(e.value.style.chart.animation.use ? 0 : v.dataset.value);
95
+ me(() => v.dataset.value, () => {
96
+ de(v.dataset.value);
96
97
  });
97
98
  const n = y(() => {
98
- const a = l.value.width / 2, s = i.value.base, t = Math.PI * ((f.value + 0 - N.value) / (M.value - N.value)) + Math.PI;
99
+ const a = l.value.width / 2, s = c.value.base, t = Math.PI * ((f.value + 0 - P.value) / (O.value - P.value)) + Math.PI;
99
100
  return {
100
101
  x1: a,
101
102
  y1: s,
102
- x2: a + i.value.pointerSize * l.value.pointerSize * 0.9 * Math.cos(t),
103
- y2: s + i.value.pointerSize * l.value.pointerSize * 0.9 * Math.sin(t)
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)
104
105
  };
105
- }), ue = y(() => {
106
- const a = l.value.width / 2, s = i.value.base, t = Math.PI * ((f.value + 0 - N.value) / (M.value - N.value)) + Math.PI, r = a + i.value.pointerSize * l.value.pointerSize * 0.9 * Math.cos(t), k = s + i.value.pointerSize * l.value.pointerSize * 0.9 * Math.sin(t), b = l.value.pointerRadius, Pe = a + b * Math.cos(t + Math.PI / 2), Me = s + b * Math.sin(t + Math.PI / 2), Ne = a + b * Math.cos(t - Math.PI / 2), Oe = s + b * Math.sin(t - Math.PI / 2);
107
- return isNaN(r) ? null : `M ${r},${k} ${Pe},${Me} ${Ne},${Oe} Z`;
108
- }), T = y(() => {
106
+ }), ve = y(() => {
107
+ const a = l.value.width / 2, s = c.value.base, t = Math.PI * ((f.value + 0 - P.value) / (O.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);
108
+ return isNaN(r) ? null : `M ${r},${k} ${Ne},${Xe} ${Ye},${Ie} Z`;
109
+ }), W = y(() => {
109
110
  for (let a = 0; a < $.value.series.length; a += 1) {
110
111
  const { color: s, from: t, to: r } = $.value.series[a];
111
112
  if (f.value >= t && f.value <= r)
@@ -113,11 +114,11 @@ const et = ["id"], tt = { key: 0 }, at = ["xmlns", "viewBox"], lt = ["id"], rt =
113
114
  }
114
115
  return "#2D353C";
115
116
  }), I = d(null);
116
- function ne() {
117
- if (me(v.dataset) ? E({
117
+ function he() {
118
+ if (ke(v.dataset) ? E({
118
119
  componentName: "VueUiGauge",
119
120
  type: "dataset"
120
- }) : (ge({
121
+ }) : (be({
121
122
  datasetObject: v.dataset,
122
123
  requiredAttributes: ["value", "series"]
123
124
  }).forEach((a) => {
@@ -127,7 +128,7 @@ const et = ["id"], tt = { key: 0 }, at = ["xmlns", "viewBox"], lt = ["id"], rt =
127
128
  property: a
128
129
  });
129
130
  }), Object.hasOwn(v.dataset, "series") && (v.dataset.series.length ? v.dataset.series.forEach((a, s) => {
130
- ge({
131
+ be({
131
132
  datasetObject: a,
132
133
  requiredAttributes: ["from", "to"]
133
134
  }).forEach((t) => {
@@ -142,48 +143,48 @@ const et = ["id"], tt = { key: 0 }, at = ["xmlns", "viewBox"], lt = ["id"], rt =
142
143
  componentName: "VueUiGauge",
143
144
  type: "datasetAttributeEmpty",
144
145
  property: "series"
145
- }))), ie(v.dataset.value || 0), e.value.responsive) {
146
- const a = Ue(() => {
147
- const { width: s, height: t } = Be({
148
- chart: P.value,
149
- title: e.value.style.chart.title.text ? J.value : null,
150
- legend: K.value,
151
- source: Q.value,
152
- noTitle: ee.value
146
+ }))), de(v.dataset.value || 0), e.value.responsive) {
147
+ const a = qe(() => {
148
+ const { width: s, height: t } = He({
149
+ chart: M.value,
150
+ title: e.value.style.chart.title.text ? K.value : null,
151
+ legend: Q.value,
152
+ source: ee.value,
153
+ noTitle: te.value
153
154
  });
154
- l.value.width = s, l.value.height = t, l.value.centerX = s / 2, l.value.centerY = p.value / 2 / 358.4 * t, l.value.bottom = t, l.value.labelFontSize = 18 / p.value * Math.min(t, s) < 10 ? 10 : 18 / p.value * Math.min(t, s), l.value.legendFontSize = e.value.style.chart.legend.fontSize / p.value * Math.min(t, s) < 14 ? 14 : e.value.style.chart.legend.fontSize / p.value * Math.min(t, s), l.value.pointerRadius = e.value.style.chart.layout.pointer.circle.radius / p.value * Math.min(t, s), l.value.trackSize = e.value.style.chart.layout.track.size / p.value * Math.min(t, s), l.value.pointerStrokeWidth = H({
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 = Z({
155
156
  relator: Math.min(s, t),
156
- adjuster: p.value,
157
+ adjuster: g.value,
157
158
  source: e.value.style.chart.layout.pointer.strokeWidth,
158
159
  threshold: 2,
159
160
  fallback: 2
160
- }), l.value.markerOffset = H({
161
+ }), l.value.markerOffset = Z({
161
162
  relator: Math.max(s, t),
162
- adjuster: p.value,
163
+ adjuster: g.value,
163
164
  source: e.value.style.chart.layout.markers.offsetY + 3,
164
165
  threshold: 2,
165
166
  fallback: 2
166
- }), l.value.segmentFontSize = H({
167
+ }), l.value.segmentFontSize = Z({
167
168
  relator: Math.min(s, t),
168
- adjuster: p.value,
169
+ adjuster: g.value,
169
170
  source: e.value.style.chart.layout.segmentNames.fontSize,
170
171
  threshold: 8,
171
172
  fallback: 8
172
173
  });
173
174
  });
174
- I.value = new ResizeObserver(a), I.value.observe(P.value.parentNode);
175
+ I.value = new ResizeObserver(a), I.value.observe(M.value.parentNode);
175
176
  }
176
177
  }
177
- Xe(() => {
178
- ne();
179
- }), Ye(() => {
178
+ Ae(() => {
179
+ he();
180
+ }), Re(() => {
180
181
  I.value && I.value.disconnect();
181
182
  });
182
- function ie(a) {
183
+ function de(a) {
183
184
  const s = [];
184
185
  ($.value.series || []).forEach((b) => {
185
186
  s.push(b.from || 0), s.push(b.to || 0);
186
- }), M.value = Math.max(...s), N.value = Math.min(...s);
187
+ }), O.value = Math.max(...s), P.value = Math.min(...s);
187
188
  let t = e.value.style.chart.animation.speed;
188
189
  const r = Math.abs(a - f.value) / (t * 60);
189
190
  function k() {
@@ -191,7 +192,7 @@ const et = ["id"], tt = { key: 0 }, at = ["xmlns", "viewBox"], lt = ["id"], rt =
191
192
  }
192
193
  k();
193
194
  }
194
- const i = y(() => {
195
+ const c = y(() => {
195
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;
196
197
  return {
197
198
  arcs: a / s,
@@ -200,31 +201,31 @@ const et = ["id"], tt = { key: 0 }, at = ["xmlns", "viewBox"], lt = ["id"], rt =
200
201
  ratingBase: e.value.responsive ? l.value.height / 2 + l.value.height / 4 : l.value.height * 0.9,
201
202
  pointerSize: e.value.responsive ? Math.min(l.value.width, l.value.height) / 3 : l.value.width / 3.2
202
203
  };
203
- }), m = y(() => U(
204
+ }), m = y(() => B(
204
205
  { series: $.value.series },
205
206
  l.value.width / 2,
206
- i.value.base,
207
- i.value.arcs,
208
- i.value.arcs,
207
+ c.value.base,
208
+ c.value.arcs,
209
+ c.value.arcs,
209
210
  1,
210
211
  1,
211
212
  1,
212
213
  180,
213
214
  109.9495,
214
215
  40 * l.value.trackSize
215
- )), Se = y(() => U(
216
+ )), Fe = y(() => B(
216
217
  { series: $.value.series },
217
218
  l.value.width / 2,
218
- i.value.base,
219
- i.value.arcs * e.value.style.chart.layout.segmentNames.offsetRatio,
220
- i.value.arcs * e.value.style.chart.layout.segmentNames.offsetRatio,
219
+ c.value.base,
220
+ c.value.arcs * e.value.style.chart.layout.segmentNames.offsetRatio,
221
+ c.value.arcs * e.value.style.chart.layout.segmentNames.offsetRatio,
221
222
  1,
222
223
  1,
223
224
  1,
224
225
  180,
225
226
  109.9495,
226
227
  40 * l.value.trackSize
227
- )), F = y(() => m.value.map((a) => i.value.arcs * e.value.style.chart.layout.segmentNames.offsetRatio * (a.nameOffsetRatio || 1))), ce = y(() => {
228
+ )), F = y(() => m.value.map((a) => c.value.arcs * e.value.style.chart.layout.segmentNames.offsetRatio * (a.nameOffsetRatio || 1))), ye = y(() => {
228
229
  const { x: a, y: s } = z({
229
230
  initX: m.value[0].firstSeparator.x,
230
231
  initY: m.value[0].firstSeparator.y,
@@ -239,7 +240,7 @@ const et = ["id"], tt = { key: 0 }, at = ["xmlns", "viewBox"], lt = ["id"], rt =
239
240
  offset: e.value.style.chart.layout.segmentSeparators.offsetOut
240
241
  });
241
242
  return { x1: a, y1: s, x2: t, y2: r };
242
- }), ve = y(() => m.value.map((a) => {
243
+ }), fe = y(() => m.value.map((a) => {
243
244
  const { x: s, y: t } = z({
244
245
  initX: a.separator.x,
245
246
  initY: a.separator.y,
@@ -255,67 +256,69 @@ const et = ["id"], tt = { key: 0 }, at = ["xmlns", "viewBox"], lt = ["id"], rt =
255
256
  });
256
257
  return { x1: s, y1: t, x2: r, y2: k };
257
258
  }));
258
- function ze(a) {
259
+ function Ce(a) {
259
260
  if (a.reduce((k, b) => k + b, 0) > 100)
260
261
  throw new Error("Total % must not exceed 100");
261
262
  const t = 50;
262
263
  let r = 0;
263
264
  return a.map((k) => (r += k, `${r / 100 * t - k / 4}%`));
264
265
  }
265
- const $e = y(() => ze(m.value.map((a) => a.proportion * 100))), Fe = y(() => U(
266
+ const Me = y(() => Ce(m.value.map((a) => a.proportion * 100))), Oe = y(() => B(
266
267
  { series: $.value.series },
267
268
  l.value.width / 2,
268
- i.value.base,
269
- i.value.gradients,
270
- i.value.gradients,
269
+ c.value.base,
270
+ c.value.gradients,
271
+ c.value.gradients,
271
272
  0.95,
272
273
  1,
273
274
  1,
274
275
  180,
275
276
  110.02,
276
277
  2 * l.value.trackSize
277
- )), O = d(!1);
278
- function Ce(a) {
279
- O.value = a, Z.value += 1;
278
+ )), N = d(!1);
279
+ function Pe(a) {
280
+ N.value = a, J.value += 1;
280
281
  }
281
282
  const A = d(!1);
282
- function j() {
283
+ function T() {
283
284
  A.value = !A.value;
284
285
  }
285
- return ke({
286
- generatePdf: se,
287
- generateImage: oe,
288
- toggleAnnotator: j
286
+ return _e({
287
+ generatePdf: ie,
288
+ generateImage: ce,
289
+ toggleAnnotator: T
289
290
  }), (a, s) => (o(), u("div", {
290
- class: de(`vue-ui-gauge ${O.value ? "vue-data-ui-wrapper-fullscreen" : ""}`),
291
+ class: pe(`vue-ui-gauge ${N.value ? "vue-data-ui-wrapper-fullscreen" : ""}`),
291
292
  ref_key: "gaugeChart",
292
- ref: P,
293
- id: `vue-ui-gauge_${x.value}`,
294
- style: ye(`font-family:${e.value.style.fontFamily};width:100%; text-align:center;background:${e.value.style.chart.backgroundColor};${e.value.responsive ? "height: 100%" : ""}`)
293
+ ref: M,
294
+ id: `vue-ui-gauge_${_.value}`,
295
+ style: j(`font-family:${e.value.style.fontFamily};width:100%; text-align:center;background:${e.value.style.chart.backgroundColor};${e.value.responsive ? "height: 100%" : ""}`),
296
+ onMouseenter: s[0] || (s[0] = () => i(se)(!0)),
297
+ onMouseleave: s[1] || (s[1] = () => i(se)(!1))
295
298
  }, [
296
- e.value.userOptions.buttons.annotator ? (o(), R(Ke, {
299
+ e.value.userOptions.buttons.annotator ? (o(), R(tt, {
297
300
  key: 0,
298
- parent: P.value,
301
+ parent: M.value,
299
302
  backgroundColor: e.value.style.chart.backgroundColor,
300
303
  color: e.value.style.chart.color,
301
304
  active: A.value,
302
- onClose: j
305
+ onClose: T
303
306
  }, null, 8, ["parent", "backgroundColor", "color", "active"])) : h("", !0),
304
- xe.value ? (o(), u("div", {
307
+ ze.value ? (o(), u("div", {
305
308
  key: 1,
306
309
  ref_key: "noTitle",
307
- ref: ee,
310
+ ref: te,
308
311
  class: "vue-data-ui-no-title-space",
309
312
  style: "height:36px; width: 100%;background:transparent"
310
313
  }, null, 512)) : h("", !0),
311
314
  e.value.style.chart.title.text ? (o(), u("div", {
312
315
  key: 2,
313
316
  ref_key: "chartTitle",
314
- ref: J,
317
+ ref: K,
315
318
  style: "width:100%;background:transparent;padding-bottom:12px"
316
319
  }, [
317
- (o(), R(Ze, {
318
- key: `title_${te.value}`,
320
+ (o(), R(Qe, {
321
+ key: `title_${ae.value}`,
319
322
  config: {
320
323
  title: {
321
324
  cy: "gauge-div-title",
@@ -328,35 +331,38 @@ const et = ["id"], tt = { key: 0 }, at = ["xmlns", "viewBox"], lt = ["id"], rt =
328
331
  }
329
332
  }, {
330
333
  default: X(() => [
331
- e.value.translations.base && W.dataset.base ? (o(), u("span", tt, C(e.value.translations.base) + ": " + C(W.dataset.base), 1)) : h("", !0)
334
+ e.value.translations.base && U.dataset.base ? (o(), u("span", rt, C(e.value.translations.base) + ": " + C(U.dataset.base), 1)) : h("", !0)
332
335
  ]),
333
336
  _: 1
334
337
  }, 8, ["config"]))
335
338
  ], 512)) : h("", !0),
336
- e.value.userOptions.show && Y.value ? (o(), R(qe, {
339
+ e.value.userOptions.show && Y.value && (i(re) || i(le)) ? (o(), R(Je, {
337
340
  ref_key: "details",
338
- ref: _e,
339
- key: `user_options_${Z.value}`,
341
+ ref: Se,
342
+ key: `user_options_${J.value}`,
340
343
  backgroundColor: e.value.style.chart.backgroundColor,
341
344
  color: e.value.style.chart.color,
342
- isImaging: c(re),
343
- isPrinting: c(le),
344
- uid: x.value,
345
+ isImaging: i(ne),
346
+ isPrinting: i(ue),
347
+ uid: _.value,
345
348
  hasXls: !1,
346
349
  hasPdf: e.value.userOptions.buttons.pdf,
347
350
  hasImg: e.value.userOptions.buttons.img,
348
351
  hasFullscreen: e.value.userOptions.buttons.fullscreen,
349
- isFullscreen: O.value,
352
+ isFullscreen: N.value,
350
353
  titles: { ...e.value.userOptions.buttonTitles },
351
- chartElement: P.value,
354
+ chartElement: M.value,
352
355
  position: e.value.userOptions.position,
353
356
  hasAnnotator: e.value.userOptions.buttons.annotator,
354
357
  isAnnotation: A.value,
355
- onToggleFullscreen: Ce,
356
- onGeneratePdf: c(se),
357
- onGenerateImage: c(oe),
358
- onToggleAnnotator: j
359
- }, Ie({ _: 2 }, [
358
+ onToggleFullscreen: Pe,
359
+ onGeneratePdf: i(ie),
360
+ onGenerateImage: i(ce),
361
+ onToggleAnnotator: T,
362
+ style: j({
363
+ visibility: i(re) ? i(le) ? "visible" : "hidden" : "visible"
364
+ })
365
+ }, Ge({ _: 2 }, [
360
366
  a.$slots.optionPdf ? {
361
367
  name: "optionPdf",
362
368
  fn: X(() => [
@@ -385,127 +391,127 @@ const et = ["id"], tt = { key: 0 }, at = ["xmlns", "viewBox"], lt = ["id"], rt =
385
391
  ]),
386
392
  key: "3"
387
393
  } : void 0
388
- ]), 1032, ["backgroundColor", "color", "isImaging", "isPrinting", "uid", "hasPdf", "hasImg", "hasFullscreen", "isFullscreen", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "onGeneratePdf", "onGenerateImage"])) : h("", !0),
394
+ ]), 1032, ["backgroundColor", "color", "isImaging", "isPrinting", "uid", "hasPdf", "hasImg", "hasFullscreen", "isFullscreen", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "onGeneratePdf", "onGenerateImage", "style"])) : h("", !0),
389
395
  Y.value ? (o(), u("svg", {
390
396
  key: 4,
391
- xmlns: c(Le),
392
- class: de({ "vue-data-ui-fullscreen--on": O.value, "vue-data-ui-fulscreen--off": !O.value }),
397
+ xmlns: i(Be),
398
+ class: pe({ "vue-data-ui-fullscreen--on": N.value, "vue-data-ui-fulscreen--off": !N.value }),
393
399
  viewBox: `0 0 ${l.value.width <= 0 ? 10 : l.value.width} ${l.value.height <= 0 ? 10 : l.value.height}`,
394
- style: ye(`max-width:100%;overflow:hidden !important;background:transparent;color:${e.value.style.chart.color}`)
400
+ style: j(`max-width:100%;overflow:hidden !important;background:transparent;color:${e.value.style.chart.color}`)
395
401
  }, [
396
- Ae(Je),
397
- g("defs", null, [
398
- g("radialGradient", {
399
- id: `gradient_${x.value}`,
402
+ Ee(et),
403
+ p("defs", null, [
404
+ p("radialGradient", {
405
+ id: `gradient_${_.value}`,
400
406
  cx: "50%",
401
407
  cy: "50%",
402
408
  r: "50%",
403
409
  fx: "50%",
404
410
  fy: "50%"
405
411
  }, [
406
- g("stop", {
412
+ p("stop", {
407
413
  offset: "0%",
408
- "stop-color": c(B)("#FFFFFF", 1)
409
- }, null, 8, rt),
410
- g("stop", {
414
+ "stop-color": i(V)("#FFFFFF", 1)
415
+ }, null, 8, nt),
416
+ p("stop", {
411
417
  offset: "80%",
412
- "stop-color": c(B)("#FFFFFF", e.value.style.chart.layout.track.gradientIntensity)
413
- }, null, 8, st),
414
- g("stop", {
418
+ "stop-color": i(V)("#FFFFFF", e.value.style.chart.layout.track.gradientIntensity)
419
+ }, null, 8, it),
420
+ p("stop", {
415
421
  offset: "100%",
416
- "stop-color": c(B)("#FFFFFF", 1)
417
- }, null, 8, ot)
418
- ], 8, lt)
422
+ "stop-color": i(V)("#FFFFFF", 1)
423
+ }, null, 8, ct)
424
+ ], 8, ut)
419
425
  ]),
420
- g("defs", null, [
421
- g("filter", {
422
- id: `blur_${x.value}`,
426
+ p("defs", null, [
427
+ p("filter", {
428
+ id: `blur_${_.value}`,
423
429
  x: "-50%",
424
430
  y: "-50%",
425
431
  width: "200%",
426
432
  height: "200%"
427
433
  }, [
428
- g("feGaussianBlur", {
434
+ p("feGaussianBlur", {
429
435
  in: "SourceGraphic",
430
436
  stdDeviation: 100 / e.value.style.chart.layout.track.gradientIntensity
431
- }, null, 8, nt)
432
- ], 8, ut)
437
+ }, null, 8, ht)
438
+ ], 8, vt)
433
439
  ]),
434
- (o(!0), u(_, null, S(m.value, (t, r) => (o(), u("path", {
440
+ (o(!0), u(x, null, S(m.value, (t, r) => (o(), u("path", {
435
441
  key: `arc_${r}`,
436
442
  d: t.arcSlice,
437
443
  fill: t.color,
438
444
  stroke: e.value.style.chart.backgroundColor,
439
445
  "stroke-linecap": "round"
440
- }, null, 8, it))), 128)),
441
- e.value.style.chart.layout.segmentNames.show && e.value.style.chart.layout.segmentNames.curved ? (o(), u(_, { key: 0 }, [
442
- (o(!0), u(_, null, S(m.value, (t, r) => (o(), u("path", {
443
- id: `curve_${x.value}_${r}`,
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", {
449
+ id: `curve_${_.value}_${r}`,
444
450
  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`,
445
451
  fill: "transparent"
446
- }, null, 8, ct))), 256)),
447
- (o(!0), u(_, null, S(m.value, (t, r) => (o(), u("text", {
452
+ }, null, 8, yt))), 256)),
453
+ (o(!0), u(x, null, S(m.value, (t, r) => (o(), u("text", {
448
454
  fill: e.value.style.chart.layout.segmentNames.useSerieColor ? t.color : e.value.style.chart.layout.segmentNames.color,
449
455
  "font-size": l.value.segmentFontSize,
450
456
  "font-weight": e.value.style.chart.layout.segmentNames.bold ? "bold" : "normal",
451
457
  "text-anchor": "middle"
452
458
  }, [
453
- g("textPath", {
454
- href: `#curve_${x.value}_${r}`,
455
- startOffset: $e.value[r]
456
- }, C(t.name || ""), 9, ht)
457
- ], 8, vt))), 256))
459
+ p("textPath", {
460
+ href: `#curve_${_.value}_${r}`,
461
+ startOffset: Me.value[r]
462
+ }, C(t.name || ""), 9, mt)
463
+ ], 8, ft))), 256))
458
464
  ], 64)) : h("", !0),
459
- e.value.style.chart.layout.segmentNames.show && !e.value.style.chart.layout.segmentNames.curved ? (o(!0), u(_, { key: 1 }, S(Se.value, (t, r) => (o(), u("text", {
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", {
460
466
  x: t.center.endX,
461
467
  y: t.center.endY,
462
- "text-anchor": c(De)(t, !1, 12).anchor,
468
+ "text-anchor": i(Ve)(t, !1, 12).anchor,
463
469
  fill: e.value.style.chart.layout.segmentNames.useSerieColor ? t.color : e.value.style.chart.layout.segmentNames.color,
464
470
  "font-size": l.value.segmentFontSize,
465
471
  "font-weight": e.value.style.chart.layout.segmentNames.bold ? "bold" : "normal"
466
- }, C(t.name || ""), 9, dt))), 256)) : h("", !0),
467
- e.value.style.chart.layout.track.useGradient ? (o(!0), u(_, { key: 2 }, S(Fe.value, (t, r) => (o(), u("path", {
472
+ }, C(t.name || ""), 9, pt))), 256)) : h("", !0),
473
+ e.value.style.chart.layout.track.useGradient ? (o(!0), u(x, { key: 2 }, S(Oe.value, (t, r) => (o(), u("path", {
468
474
  key: `arc_${r}`,
469
475
  d: t.arcSlice,
470
476
  fill: "#FFFFFF",
471
477
  stroke: "none",
472
478
  "stroke-linecap": "round",
473
- filter: `url(#blur_${x.value})`
474
- }, null, 8, yt))), 128)) : h("", !0),
475
- e.value.style.chart.layout.segmentSeparators.show ? (o(), u(_, { key: 3 }, [
476
- g("line", G(ce.value, {
479
+ 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, {
477
483
  stroke: e.value.style.chart.backgroundColor,
478
484
  "stroke-width": e.value.style.chart.layout.segmentSeparators.strokeWidth + 2,
479
485
  "stroke-linecap": "round"
480
- }), null, 16, ft),
481
- g("line", G(ce.value, {
486
+ }), null, 16, kt),
487
+ p("line", G(ye.value, {
482
488
  stroke: e.value.style.chart.layout.segmentSeparators.stroke,
483
489
  "stroke-width": e.value.style.chart.layout.segmentSeparators.strokeWidth,
484
490
  "stroke-linecap": "round"
485
- }), null, 16, mt),
486
- (o(!0), u(_, null, S(ve.value, (t) => (o(), u("line", G(t, {
491
+ }), null, 16, bt),
492
+ (o(!0), u(x, null, S(fe.value, (t) => (o(), u("line", G(t, {
487
493
  stroke: e.value.style.chart.backgroundColor,
488
494
  "stroke-width": e.value.style.chart.layout.segmentSeparators.strokeWidth + 2,
489
495
  "stroke-linecap": "round"
490
- }), null, 16, gt))), 256)),
491
- (o(!0), u(_, null, S(ve.value, (t) => (o(), u("line", G(t, {
496
+ }), null, 16, xt))), 256)),
497
+ (o(!0), u(x, null, S(fe.value, (t) => (o(), u("line", G(t, {
492
498
  stroke: e.value.style.chart.layout.segmentSeparators.stroke,
493
499
  "stroke-width": e.value.style.chart.layout.segmentSeparators.strokeWidth,
494
500
  "stroke-linecap": "round"
495
- }), null, 16, pt))), 256))
501
+ }), null, 16, _t))), 256))
496
502
  ], 64)) : h("", !0),
497
- e.value.style.chart.layout.markers.show ? (o(), u("g", kt, [
498
- (o(!0), u(_, null, S(m.value, (t, r) => (o(), u("text", {
499
- x: c(z)({
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)({
500
506
  centerX: n.value.x1,
501
- centerY: i.value.base,
507
+ centerY: c.value.base,
502
508
  initX: t.center.startX,
503
509
  initY: t.center.startY,
504
510
  offset: l.value.markerOffset
505
511
  }).x,
506
- y: c(z)({
512
+ y: i(z)({
507
513
  centerX: n.value.x1,
508
- centerY: i.value.base,
514
+ centerY: c.value.base,
509
515
  initX: t.center.startX,
510
516
  initY: t.center.startY,
511
517
  offset: l.value.markerOffset
@@ -514,29 +520,29 @@ const et = ["id"], tt = { key: 0 }, at = ["xmlns", "viewBox"], lt = ["id"], rt =
514
520
  "font-size": l.value.labelFontSize * e.value.style.chart.layout.markers.fontSizeRatio,
515
521
  "font-weight": `${e.value.style.chart.layout.markers.bold ? "bold" : "normal"}`,
516
522
  fill: e.value.style.chart.layout.markers.color
517
- }, C(c(V)(
523
+ }, C(i(q)(
518
524
  e.value.style.chart.layout.markers.formatter,
519
525
  t.from,
520
- c(q)({
526
+ i(H)({
521
527
  p: e.value.style.chart.layout.markers.prefix,
522
528
  v: t.from,
523
529
  s: e.value.style.chart.layout.markers.suffix,
524
530
  r: e.value.style.chart.layout.markers.roundingValue
525
531
  })
526
- )), 9, bt))), 256))
532
+ )), 9, St))), 256))
527
533
  ])) : h("", !0),
528
534
  e.value.style.chart.layout.markers.show ? (o(), u("text", {
529
535
  key: 5,
530
- x: c(z)({
536
+ x: i(z)({
531
537
  centerX: l.value.width / 2,
532
- centerY: i.value.base,
538
+ centerY: c.value.base,
533
539
  initX: m.value.at(-1).endX,
534
540
  initY: m.value.at(-1).endY,
535
541
  offset: l.value.markerOffset
536
542
  }).x,
537
- y: c(z)({
543
+ y: i(z)({
538
544
  centerX: l.value.width / 2,
539
- centerY: i.value.base,
545
+ centerY: c.value.base,
540
546
  initX: m.value.at(-1).endX,
541
547
  initY: m.value.at(-1).endY,
542
548
  offset: l.value.markerOffset
@@ -545,17 +551,17 @@ const et = ["id"], tt = { key: 0 }, at = ["xmlns", "viewBox"], lt = ["id"], rt =
545
551
  "font-size": l.value.labelFontSize * e.value.style.chart.layout.markers.fontSizeRatio,
546
552
  "font-weight": `${e.value.style.chart.layout.markers.bold ? "bold" : "normal"}`,
547
553
  fill: e.value.style.chart.layout.markers.color
548
- }, C(c(V)(
554
+ }, C(i(q)(
549
555
  e.value.style.chart.layout.markers.formatter,
550
- M.value,
551
- c(q)({
556
+ O.value,
557
+ i(H)({
552
558
  p: e.value.style.chart.layout.markers.prefix,
553
- v: M.value,
559
+ v: O.value,
554
560
  s: e.value.style.chart.layout.markers.suffix,
555
561
  r: e.value.style.chart.layout.markers.roundingValue
556
562
  })
557
- )), 9, _t)) : h("", !0),
558
- e.value.style.chart.layout.pointer.type === "rounded" ? (o(), u("g", xt, [
563
+ )), 9, zt)) : h("", !0),
564
+ e.value.style.chart.layout.pointer.type === "rounded" ? (o(), u("g", $t, [
559
565
  isNaN(n.value.x2) ? h("", !0) : (o(), u("line", {
560
566
  key: 0,
561
567
  x1: n.value.x1,
@@ -565,17 +571,17 @@ const et = ["id"], tt = { key: 0 }, at = ["xmlns", "viewBox"], lt = ["id"], rt =
565
571
  stroke: e.value.style.chart.layout.pointer.stroke,
566
572
  "stroke-width": l.value.pointerStrokeWidth,
567
573
  "stroke-linecap": "round"
568
- }, null, 8, wt)),
574
+ }, null, 8, Ft)),
569
575
  isNaN(n.value.x2) ? h("", !0) : (o(), u("line", {
570
576
  key: 1,
571
577
  x1: n.value.x1,
572
578
  y1: n.value.y1,
573
579
  x2: n.value.x2,
574
580
  y2: n.value.y2,
575
- stroke: e.value.style.chart.layout.pointer.useRatingColor ? T.value : e.value.style.chart.layout.pointer.color,
581
+ stroke: e.value.style.chart.layout.pointer.useRatingColor ? W.value : e.value.style.chart.layout.pointer.color,
576
582
  "stroke-linecap": "round",
577
583
  "stroke-width": l.value.pointerStrokeWidth * 0.7
578
- }, null, 8, St)),
584
+ }, null, 8, Ct)),
579
585
  !isNaN(n.value.x2) && e.value.style.chart.layout.track.useGradient ? (o(), u("line", {
580
586
  key: 2,
581
587
  x1: n.value.x1,
@@ -585,50 +591,50 @@ const et = ["id"], tt = { key: 0 }, at = ["xmlns", "viewBox"], lt = ["id"], rt =
585
591
  stroke: "white",
586
592
  "stroke-linecap": "round",
587
593
  "stroke-width": l.value.pointerStrokeWidth * 0.3,
588
- filter: `url(#blur_${x.value})`
589
- }, null, 8, zt)) : h("", !0)
590
- ])) : (o(), u("g", $t, [
591
- ue.value ? (o(), u("path", {
594
+ filter: `url(#blur_${_.value})`
595
+ }, null, 8, Mt)) : h("", !0)
596
+ ])) : (o(), u("g", Ot, [
597
+ ve.value ? (o(), u("path", {
592
598
  key: 0,
593
- d: ue.value,
594
- fill: e.value.style.chart.layout.pointer.useRatingColor ? T.value : e.value.style.chart.layout.pointer.color,
599
+ d: ve.value,
600
+ fill: e.value.style.chart.layout.pointer.useRatingColor ? W.value : e.value.style.chart.layout.pointer.color,
595
601
  stroke: e.value.style.chart.layout.pointer.stroke,
596
602
  "stroke-width": e.value.style.chart.layout.pointer.circle.strokeWidth,
597
603
  "stroke-linejoin": "round"
598
- }, null, 8, Ft)) : h("", !0)
604
+ }, null, 8, Pt)) : h("", !0)
599
605
  ])),
600
- g("circle", {
606
+ p("circle", {
601
607
  cx: l.value.width / 2,
602
- cy: i.value.base,
608
+ cy: c.value.base,
603
609
  fill: e.value.style.chart.layout.pointer.circle.color,
604
610
  r: l.value.pointerRadius <= 0 ? 1e-4 : l.value.pointerRadius,
605
611
  "stroke-width": e.value.style.chart.layout.pointer.circle.strokeWidth,
606
612
  stroke: e.value.style.chart.layout.pointer.circle.stroke
607
- }, null, 8, Ct),
613
+ }, null, 8, Nt),
608
614
  e.value.style.chart.legend.show ? (o(), u("text", {
609
615
  key: 8,
610
616
  x: l.value.width / 2,
611
- y: i.value.ratingBase,
617
+ y: c.value.ratingBase,
612
618
  "text-anchor": "middle",
613
619
  "font-size": l.value.legendFontSize,
614
620
  "font-weight": "bold",
615
- fill: e.value.style.chart.legend.useRatingColor ? T.value : e.value.style.chart.legend.color
616
- }, C(c(V)(
621
+ fill: e.value.style.chart.legend.useRatingColor ? W.value : e.value.style.chart.legend.color
622
+ }, C(i(q)(
617
623
  e.value.style.chart.legend.formatter,
618
624
  f.value,
619
- c(q)({
625
+ i(H)({
620
626
  p: e.value.style.chart.legend.prefix + (e.value.style.chart.legend.showPlusSymbol && f.value > 0 ? "+" : ""),
621
627
  v: f.value,
622
628
  s: e.value.style.chart.legend.suffix,
623
629
  r: e.value.style.chart.legend.roundingValue
624
630
  })
625
- )), 9, Pt)) : h("", !0),
631
+ )), 9, Xt)) : h("", !0),
626
632
  w(a.$slots, "svg", { svg: l.value }, void 0, !0)
627
- ], 14, at)) : h("", !0),
628
- a.$slots.watermark ? (o(), u("div", Mt, [
629
- w(a.$slots, "watermark", L(D({ isPrinting: c(le) || c(re) })), void 0, !0)
633
+ ], 14, ot)) : h("", !0),
634
+ a.$slots.watermark ? (o(), u("div", Yt, [
635
+ w(a.$slots, "watermark", L(D({ isPrinting: i(ue) || i(ne) })), void 0, !0)
630
636
  ])) : h("", !0),
631
- Y.value ? h("", !0) : (o(), R(He, {
637
+ Y.value ? h("", !0) : (o(), R(Ke, {
632
638
  key: 6,
633
639
  config: {
634
640
  type: "gauge",
@@ -640,23 +646,23 @@ const et = ["id"], tt = { key: 0 }, at = ["xmlns", "viewBox"], lt = ["id"], rt =
640
646
  }
641
647
  }
642
648
  }, null, 8, ["config"])),
643
- g("div", {
649
+ p("div", {
644
650
  ref_key: "chartLegend",
645
- ref: K
651
+ ref: Q
646
652
  }, [
647
653
  w(a.$slots, "legend", { legend: $.value }, void 0, !0)
648
654
  ], 512),
649
655
  a.$slots.source ? (o(), u("div", {
650
656
  key: 7,
651
657
  ref_key: "source",
652
- ref: Q,
658
+ ref: ee,
653
659
  dir: "auto"
654
660
  }, [
655
661
  w(a.$slots, "source", {}, void 0, !0)
656
662
  ], 512)) : h("", !0)
657
- ], 14, et));
663
+ ], 46, st));
658
664
  }
659
- }, jt = /* @__PURE__ */ Qe(Nt, [["__scopeId", "data-v-cb288169"]]);
665
+ }, Vt = /* @__PURE__ */ lt(It, [["__scopeId", "data-v-f28783d9"]]);
660
666
  export {
661
- jt as default
667
+ Vt as default
662
668
  };