vue-data-ui 3.27.0 → 3.27.1

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 (531) hide show
  1. package/dist/A11yDataTable-DWNlWXzs.js +1 -0
  2. package/dist/Arrow-C2W0uGrq.js +1 -0
  3. package/dist/BaseDraggableDialog-D_tuHEjO.js +1 -0
  4. package/dist/BaseIcon-DdIyewwY.js +1 -0
  5. package/dist/BaseLegendToggle-Bq5FjyuI.js +1 -0
  6. package/dist/BaseScanner-8NdoBs7B.js +1 -0
  7. package/dist/BaseZoomControls-DoYifY2y.js +1 -0
  8. package/dist/ColorPicker-MLwiwxl5.js +1 -0
  9. package/dist/DataTable-WNecJMcY.js +1 -0
  10. package/dist/DefGrad-DKMq1REY.js +1 -0
  11. package/dist/HillActions-CHg1AQ3p.js +1 -0
  12. package/dist/Legend-D8YoT1RJ.js +1 -0
  13. package/dist/NonSvgPenAndPaper-CqtJpZKh.js +1 -0
  14. package/dist/PackageVersion-CdkxOy58.js +1 -0
  15. package/dist/PenAndPaper-IMw576MC.js +1 -0
  16. package/dist/RecursiveCircles-BftI1kwF.js +1 -0
  17. package/dist/RecursiveLabels-B0d04xSj.js +1 -0
  18. package/dist/RecursiveLinks-CZtG6uWg.js +1 -0
  19. package/dist/Shape-Bp9YNtPc.js +1 -0
  20. package/dist/SlicerPreview-CNUciSbY.js +1 -0
  21. package/dist/SparkTooltip-C5JMcBXT.js +1 -0
  22. package/dist/Title-BGYFqulv.js +1 -0
  23. package/dist/Tooltip-Cus2-XNQ.js +1 -0
  24. package/dist/UserOptions-DTxMeZv3.js +1 -0
  25. package/dist/_plugin-vue_export-helper-BDNMzG2s.js +1 -0
  26. package/dist/annotationSlots-BRR85CqJ.js +1 -0
  27. package/dist/chartImage-CIvU_04o.js +1 -0
  28. package/dist/components/arrow.js +1 -2
  29. package/dist/components/vue-ui-3d-bar.js +1 -2
  30. package/dist/components/vue-ui-accordion.js +1 -2
  31. package/dist/components/vue-ui-age-pyramid.js +1 -2
  32. package/dist/components/vue-ui-annotator.js +1 -2
  33. package/dist/components/vue-ui-bullet.js +1 -2
  34. package/dist/components/vue-ui-bump.js +1 -2
  35. package/dist/components/vue-ui-candlestick.js +1 -2
  36. package/dist/components/vue-ui-carousel-table.js +1 -2
  37. package/dist/components/vue-ui-chestnut.js +1 -2
  38. package/dist/components/vue-ui-chord.js +1 -2
  39. package/dist/components/vue-ui-circle-pack.js +1 -2
  40. package/dist/components/vue-ui-cursor.js +1 -2
  41. package/dist/components/vue-ui-dag.js +1 -2
  42. package/dist/components/vue-ui-dashboard.js +1 -2
  43. package/dist/components/vue-ui-digits.js +1 -2
  44. package/dist/components/vue-ui-donut-evolution.js +1 -2
  45. package/dist/components/vue-ui-donut.js +1 -2
  46. package/dist/components/vue-ui-dumbbell.js +1 -2
  47. package/dist/components/vue-ui-flow.js +1 -2
  48. package/dist/components/vue-ui-funnel.js +1 -2
  49. package/dist/components/vue-ui-galaxy.js +1 -2
  50. package/dist/components/vue-ui-gauge.js +1 -2
  51. package/dist/components/vue-ui-geo.js +1 -2
  52. package/dist/components/vue-ui-gizmo.js +1 -2
  53. package/dist/components/vue-ui-heatmap.js +1 -2
  54. package/dist/components/vue-ui-hill.js +1 -2
  55. package/dist/components/vue-ui-history-plot.js +1 -2
  56. package/dist/components/vue-ui-horizontal-bar.js +1 -2
  57. package/dist/components/vue-ui-icon.js +1 -2
  58. package/dist/components/vue-ui-kpi.js +1 -2
  59. package/dist/components/vue-ui-label.js +1 -2
  60. package/dist/components/vue-ui-mini-loader.js +1 -2
  61. package/dist/components/vue-ui-molecule.js +1 -2
  62. package/dist/components/vue-ui-mood-radar.js +1 -2
  63. package/dist/components/vue-ui-nested-donuts.js +1 -2
  64. package/dist/components/vue-ui-onion.js +1 -2
  65. package/dist/components/vue-ui-parallel-coordinate-plot.js +1 -2
  66. package/dist/components/vue-ui-pattern-seed.js +1 -2
  67. package/dist/components/vue-ui-pattern.js +1 -2
  68. package/dist/components/vue-ui-quadrant.js +1 -2
  69. package/dist/components/vue-ui-quick-chart.js +1 -2
  70. package/dist/components/vue-ui-radar.js +1 -2
  71. package/dist/components/vue-ui-rating.js +1 -2
  72. package/dist/components/vue-ui-relation-circle.js +1 -2
  73. package/dist/components/vue-ui-ridgeline.js +1 -2
  74. package/dist/components/vue-ui-rings.js +1 -2
  75. package/dist/components/vue-ui-scatter.js +1 -2
  76. package/dist/components/vue-ui-skeleton.js +1 -2
  77. package/dist/components/vue-ui-smiley.js +1 -2
  78. package/dist/components/vue-ui-spark-trend.js +1 -2
  79. package/dist/components/vue-ui-sparkbar.js +1 -2
  80. package/dist/components/vue-ui-sparkgauge.js +1 -2
  81. package/dist/components/vue-ui-sparkhistogram.js +1 -2
  82. package/dist/components/vue-ui-sparkline.js +1 -2
  83. package/dist/components/vue-ui-sparkstackbar.js +1 -2
  84. package/dist/components/vue-ui-stackbar.js +1 -2
  85. package/dist/components/vue-ui-stackline.js +1 -2
  86. package/dist/components/vue-ui-strip-plot.js +1 -2
  87. package/dist/components/vue-ui-table-heatmap.js +1 -2
  88. package/dist/components/vue-ui-table-sparkline.js +1 -2
  89. package/dist/components/vue-ui-table.js +1 -2
  90. package/dist/components/vue-ui-thermometer.js +1 -2
  91. package/dist/components/vue-ui-timer.js +1 -2
  92. package/dist/components/vue-ui-tiremarks.js +1 -2
  93. package/dist/components/vue-ui-treemap.js +1 -2
  94. package/dist/components/vue-ui-vertical-bar.js +1 -2
  95. package/dist/components/vue-ui-waffle.js +1 -2
  96. package/dist/components/vue-ui-wheel.js +1 -2
  97. package/dist/components/vue-ui-word-cloud.js +1 -2
  98. package/dist/components/vue-ui-world.js +1 -2
  99. package/dist/components/vue-ui-xy-canvas.js +1 -2
  100. package/dist/components/vue-ui-xy.js +1 -2
  101. package/dist/composables.js +1 -5
  102. package/dist/dom-to-png-D8t3Bm7s.js +3 -0
  103. package/dist/exposedLib-DHtyEc_G.js +1 -0
  104. package/dist/geoProjections-Bvj-eMvq.js +1 -0
  105. package/dist/img-DiT4ivZ5.js +1 -0
  106. package/dist/labelUtils-CG3uVXoZ.js +1 -0
  107. package/dist/lib-CV_IANZ6.js +12 -0
  108. package/dist/package-DE5cU1Rg.js +1 -0
  109. package/dist/patternUtils-_q3ArM3g.js +1 -0
  110. package/dist/pdf-BQSB1V3H.js +1 -0
  111. package/dist/render-common-BdZ5aRyn.js +1 -0
  112. package/dist/resolveChartConfig-DZg-korK.js +1 -0
  113. package/dist/rolldown-runtime-DK3Fl9T5.js +1 -0
  114. package/dist/ssr/vue-ui-donut.js +1 -2
  115. package/dist/ssr/vue-ui-xy.js +1 -2
  116. package/dist/ssr.js +1 -3
  117. package/dist/style.css +1 -1
  118. package/dist/tableIntegration-CNoJ1CIY.js +1 -0
  119. package/dist/types/composables.d.ts +12 -12
  120. package/dist/types/ssr.d.ts +84 -84
  121. package/dist/types/utils.d.ts +82 -73
  122. package/dist/types/vue-data-ui.d.ts +17961 -17958
  123. package/dist/types/vue-ui-3d-bar.d.ts +24 -91
  124. package/dist/types/vue-ui-accordion.d.ts +2 -10
  125. package/dist/types/vue-ui-age-pyramid.d.ts +27 -106
  126. package/dist/types/vue-ui-annotator.d.ts +12 -88
  127. package/dist/types/vue-ui-bullet.d.ts +21 -83
  128. package/dist/types/vue-ui-bump.d.ts +23 -90
  129. package/dist/types/vue-ui-candlestick.d.ts +27 -108
  130. package/dist/types/vue-ui-carousel-table.d.ts +11 -57
  131. package/dist/types/vue-ui-chestnut.d.ts +27 -96
  132. package/dist/types/vue-ui-chord.d.ts +31 -108
  133. package/dist/types/vue-ui-circle-pack.d.ts +30 -124
  134. package/dist/types/vue-ui-cursor.d.ts +2 -8
  135. package/dist/types/vue-ui-dag.d.ts +35 -125
  136. package/dist/types/vue-ui-dashboard.d.ts +18 -66
  137. package/dist/types/vue-ui-digits.d.ts +2 -11
  138. package/dist/types/vue-ui-donut-evolution.d.ts +31 -100
  139. package/dist/types/vue-ui-donut.d.ts +31 -121
  140. package/dist/types/vue-ui-dumbbell.d.ts +24 -92
  141. package/dist/types/vue-ui-flow.d.ts +28 -104
  142. package/dist/types/vue-ui-funnel.d.ts +18 -77
  143. package/dist/types/vue-ui-galaxy.d.ts +30 -112
  144. package/dist/types/vue-ui-gauge.d.ts +22 -87
  145. package/dist/types/vue-ui-geo.d.ts +22 -92
  146. package/dist/types/vue-ui-gizmo.d.ts +5 -20
  147. package/dist/types/vue-ui-heatmap.d.ts +25 -101
  148. package/dist/types/vue-ui-hill.d.ts +22 -88
  149. package/dist/types/vue-ui-history-plot.d.ts +30 -112
  150. package/dist/types/vue-ui-horizontal-bar.d.ts +30 -114
  151. package/dist/types/vue-ui-icon.d.ts +1 -13
  152. package/dist/types/vue-ui-kpi.d.ts +5 -23
  153. package/dist/types/vue-ui-label.d.ts +11 -48
  154. package/dist/types/vue-ui-mini-loader.d.ts +4 -13
  155. package/dist/types/vue-ui-molecule.d.ts +27 -110
  156. package/dist/types/vue-ui-mood-radar.d.ts +23 -90
  157. package/dist/types/vue-ui-nested-donuts.d.ts +28 -109
  158. package/dist/types/vue-ui-onion.d.ts +26 -104
  159. package/dist/types/vue-ui-parallel-coordinate-plot.d.ts +34 -123
  160. package/dist/types/vue-ui-pattern-seed.d.ts +1 -14
  161. package/dist/types/vue-ui-pattern.d.ts +1 -13
  162. package/dist/types/vue-ui-quadrant.d.ts +33 -123
  163. package/dist/types/vue-ui-quick-chart.d.ts +30 -110
  164. package/dist/types/vue-ui-radar.d.ts +31 -114
  165. package/dist/types/vue-ui-rating.d.ts +8 -40
  166. package/dist/types/vue-ui-relation-circle.d.ts +26 -90
  167. package/dist/types/vue-ui-ridgeline.d.ts +27 -104
  168. package/dist/types/vue-ui-rings.d.ts +21 -96
  169. package/dist/types/vue-ui-scatter.d.ts +22 -95
  170. package/dist/types/vue-ui-skeleton.d.ts +2 -10
  171. package/dist/types/vue-ui-smiley.d.ts +6 -26
  172. package/dist/types/vue-ui-spark-trend.d.ts +2 -18
  173. package/dist/types/vue-ui-sparkbar.d.ts +10 -47
  174. package/dist/types/vue-ui-sparkgauge.d.ts +5 -26
  175. package/dist/types/vue-ui-sparkhistogram.d.ts +12 -44
  176. package/dist/types/vue-ui-sparkline.d.ts +16 -61
  177. package/dist/types/vue-ui-sparkstackbar.d.ts +13 -58
  178. package/dist/types/vue-ui-stackbar.d.ts +36 -130
  179. package/dist/types/vue-ui-stackline.d.ts +29 -116
  180. package/dist/types/vue-ui-strip-plot.d.ts +22 -96
  181. package/dist/types/vue-ui-table-heatmap.d.ts +14 -60
  182. package/dist/types/vue-ui-table-sparkline.d.ts +12 -51
  183. package/dist/types/vue-ui-table.d.ts +9 -36
  184. package/dist/types/vue-ui-thermometer.d.ts +14 -68
  185. package/dist/types/vue-ui-timer.d.ts +10 -47
  186. package/dist/types/vue-ui-tiremarks.d.ts +14 -68
  187. package/dist/types/vue-ui-treemap.d.ts +26 -105
  188. package/dist/types/vue-ui-vertical-bar.d.ts +8 -19
  189. package/dist/types/vue-ui-waffle.d.ts +23 -99
  190. package/dist/types/vue-ui-wheel.d.ts +14 -68
  191. package/dist/types/vue-ui-word-cloud.d.ts +20 -95
  192. package/dist/types/vue-ui-world.d.ts +22 -96
  193. package/dist/types/vue-ui-xy-canvas.d.ts +24 -101
  194. package/dist/types/vue-ui-xy.d.ts +42 -146
  195. package/dist/unpackTheme-CNsFKCeq.js +1 -0
  196. package/dist/useAutoSizeLabelsInsideViewbox-AIRF0PlD.js +1 -0
  197. package/dist/useChartAccessibility-DOMuYJfm.js +1 -0
  198. package/dist/useChartExport-DtPNpc9M.js +1 -0
  199. package/dist/useConfig-CKdzPrcf.js +1 -0
  200. package/dist/useFitSvgText-C1QC4P5G.js +1 -0
  201. package/dist/useHints-BH9r_0Vd.js +6 -0
  202. package/dist/useNestedProp-CB186vF2.js +1 -0
  203. package/dist/useObjectBindings-Dse7YyAf.js +1 -0
  204. package/dist/usePanZoom-BdjP5Suc.js +1 -0
  205. package/dist/usePrefersMotion-XLHwega2.js +1 -0
  206. package/dist/usePrinter-hLW3cv4N.js +1 -0
  207. package/dist/useResponsive-D2CPcpda.js +1 -0
  208. package/dist/useStableElementSize-CegFbRlF.js +1 -0
  209. package/dist/useTableResponsive-uSz_qZOB.js +1 -0
  210. package/dist/useThemeCheck-BKNRbGeC.js +1 -0
  211. package/dist/useTimeLabelCollider-XQf_S7-z.js +1 -0
  212. package/dist/useTimeLabels-Das5O74F.js +1 -0
  213. package/dist/useTooltipPosition-aoV8pZZ9.js +1 -0
  214. package/dist/useTransitions-DfSHzsdz.js +1 -0
  215. package/dist/useUserOptionState-CXlFnwPv.js +1 -0
  216. package/dist/userOptionsSlots-DYuo-E5m.js +1 -0
  217. package/dist/utils.js +1 -30
  218. package/dist/vClickOutside-BxNzkY17.js +1 -0
  219. package/dist/vue-data-ui-DyYgLIZN.js +1 -0
  220. package/dist/vue-data-ui.js +1 -79
  221. package/dist/vue-ui-3d-bar-BZAoyWkc.js +19 -0
  222. package/dist/vue-ui-accordion-BNvevckx.js +1 -0
  223. package/dist/vue-ui-age-pyramid-DkA6vpU3.js +1 -0
  224. package/dist/vue-ui-annotator-DuQME4Hh.js +331 -0
  225. package/dist/vue-ui-bullet-BVs8JX8S.js +34 -0
  226. package/dist/vue-ui-bump-DYdm3EvF.js +10 -0
  227. package/dist/vue-ui-candlestick-DZgxl4mW.js +22 -0
  228. package/dist/vue-ui-carousel-table-BB7DsTUt.js +1 -0
  229. package/dist/vue-ui-chestnut-Bo1h5rBt.js +1 -0
  230. package/dist/vue-ui-chord-B6_veyvO.js +21 -0
  231. package/dist/vue-ui-circle-pack-Bm7e2YNh.js +13 -0
  232. package/dist/vue-ui-cursor-TidZDuSh.js +1 -0
  233. package/dist/vue-ui-dag-BiN_AnLo.js +9 -0
  234. package/dist/vue-ui-dashboard-zepAVN_W.js +1 -0
  235. package/dist/vue-ui-digits-CXKKmfGj.js +42 -0
  236. package/dist/vue-ui-donut-CKkBtyPK.js +22 -0
  237. package/dist/vue-ui-donut-DLDUpjDU.js +47 -0
  238. package/dist/vue-ui-donut-evolution-BxMTdE5G.js +2 -0
  239. package/dist/vue-ui-dumbbell-C8rNwdz0.js +9 -0
  240. package/dist/vue-ui-flow-Dru76A2O.js +3 -0
  241. package/dist/vue-ui-funnel-D_u1h5S9.js +1 -0
  242. package/dist/vue-ui-galaxy-sBEH18Xj.js +1 -0
  243. package/dist/vue-ui-gauge-Do3RN8ne.js +1 -0
  244. package/dist/vue-ui-geo-DDbtx_iJ.js +1 -0
  245. package/dist/vue-ui-gizmo-eic6xLjB.js +1 -0
  246. package/dist/vue-ui-heatmap-DlmJRsM8.js +1 -0
  247. package/dist/vue-ui-hill-C5oiuIXh.js +1 -0
  248. package/dist/vue-ui-history-plot-BJjnkWcT.js +2 -0
  249. package/dist/vue-ui-horizontal-bar-BRDBJEl1.js +4 -0
  250. package/dist/vue-ui-kpi-C-eed3jO.js +1 -0
  251. package/dist/vue-ui-label-B4pkXBxc.js +7 -0
  252. package/dist/vue-ui-mini-loader-CElmv_iF.js +1 -0
  253. package/dist/vue-ui-molecule-BeyQWZU9.js +1 -0
  254. package/dist/vue-ui-mood-radar-Bh0kHfiZ.js +1 -0
  255. package/dist/vue-ui-nested-donuts-FlnJfDaF.js +19 -0
  256. package/dist/vue-ui-onion-BjhSpjtW.js +5 -0
  257. package/dist/vue-ui-parallel-coordinate-plot-CHV6XDti.js +9 -0
  258. package/dist/vue-ui-pattern-DrPCu32G.js +1 -0
  259. package/dist/vue-ui-pattern-seed-B8YjAAEH.js +1 -0
  260. package/dist/vue-ui-quadrant-BaKSTJDv.js +2 -0
  261. package/dist/vue-ui-quick-chart-Nc2mVlle.js +17 -0
  262. package/dist/vue-ui-radar-BzUfkLlC.js +1 -0
  263. package/dist/vue-ui-rating-BwWXvbAg.js +1 -0
  264. package/dist/vue-ui-relation-circle-nAZEg-BL.js +1 -0
  265. package/dist/vue-ui-ridgeline-DxLZg1E2.js +2 -0
  266. package/dist/vue-ui-rings-BOti0NGb.js +1 -0
  267. package/dist/vue-ui-scatter-CCNMggyo.js +9 -0
  268. package/dist/vue-ui-skeleton-DI7pcimU.js +41 -0
  269. package/dist/vue-ui-smiley-D70sJZWl.js +1 -0
  270. package/dist/vue-ui-spark-trend-BVtfEalS.js +1 -0
  271. package/dist/vue-ui-sparkbar-CdsLI7Ke.js +1 -0
  272. package/dist/vue-ui-sparkgauge-wmj5Wnnp.js +1 -0
  273. package/dist/vue-ui-sparkhistogram-D8S_P_P4.js +1 -0
  274. package/dist/vue-ui-sparkline-BjsJnS_9.js +1 -0
  275. package/dist/vue-ui-sparkstackbar-ZN8LXzoV.js +1 -0
  276. package/dist/vue-ui-stackbar-Dx_EN3pT.js +29 -0
  277. package/dist/vue-ui-stackline-DW-oxJvA.js +39 -0
  278. package/dist/vue-ui-strip-plot-D7kjJ3Qh.js +2 -0
  279. package/dist/vue-ui-table-CaFVLHxE.js +14 -0
  280. package/dist/vue-ui-table-heatmap-Ctf7Rhqo.js +1 -0
  281. package/dist/vue-ui-table-sparkline-C0I0cXBS.js +1 -0
  282. package/dist/vue-ui-thermometer-B6og15Al.js +1 -0
  283. package/dist/vue-ui-timer-DgXvO2Q7.js +64 -0
  284. package/dist/vue-ui-tiremarks-Dh6fZ454.js +1 -0
  285. package/dist/vue-ui-treemap-7JuvN6P_.js +1 -0
  286. package/dist/vue-ui-waffle-BqvGzfse.js +1 -0
  287. package/dist/vue-ui-wheel-SdwJqKA7.js +1 -0
  288. package/dist/vue-ui-word-cloud-1WVV_k12.js +4 -0
  289. package/dist/vue-ui-world-DjMy_utm.js +19 -0
  290. package/dist/vue-ui-xy-DaozHMfg.js +31 -0
  291. package/dist/vue-ui-xy-canvas-CegvS9RR.js +9 -0
  292. package/dist/vue-ui-xy-rGHSI1am.js +24 -0
  293. package/dist/vue_ui_3d_bar-DmAve5Ri.js +1 -0
  294. package/dist/vue_ui_age_pyramid-CL0Ef8Ov.js +1 -0
  295. package/dist/vue_ui_bullet-CwVYkpjd.js +1 -0
  296. package/dist/vue_ui_bump-KJL9GYr4.js +1 -0
  297. package/dist/vue_ui_candlestick-DKvha_Ab.js +1 -0
  298. package/dist/vue_ui_chestnut-BxxivKN7.js +1 -0
  299. package/dist/vue_ui_chord-Fq6VBRT1.js +1 -0
  300. package/dist/vue_ui_circle_pack-CfXkXi7v.js +1 -0
  301. package/dist/vue_ui_dag-1b_dLSym.js +1 -0
  302. package/dist/vue_ui_donut-T5PeOqvf.js +1 -0
  303. package/dist/vue_ui_donut_evolution-CVoh3twl.js +1 -0
  304. package/dist/vue_ui_dumbbell-BMcxK0N3.js +1 -0
  305. package/dist/vue_ui_flow-kvV56Es9.js +1 -0
  306. package/dist/vue_ui_funnel-CaEV5hG7.js +1 -0
  307. package/dist/vue_ui_galaxy-B94QInxc.js +1 -0
  308. package/dist/vue_ui_gauge-BJhb6yqE.js +1 -0
  309. package/dist/vue_ui_geo-DL1SMQHp.js +1 -0
  310. package/dist/vue_ui_heatmap-kh5NMmwf.js +1 -0
  311. package/dist/vue_ui_hill-DQi4pQCG.js +1 -0
  312. package/dist/vue_ui_history_plot-soyqUW4Y.js +1 -0
  313. package/dist/vue_ui_horizontal_bar-C4ulIxeT.js +1 -0
  314. package/dist/vue_ui_label-dtPqyFsj.js +1 -0
  315. package/dist/vue_ui_molecule-Bw1UW1Na.js +1 -0
  316. package/dist/vue_ui_mood_radar-CXaBdJnv.js +1 -0
  317. package/dist/vue_ui_nested_donuts-CRtGsJcz.js +1 -0
  318. package/dist/vue_ui_onion-C9BedU_-.js +1 -0
  319. package/dist/vue_ui_parallel_coordinate_plot-Cs_xXAG5.js +1 -0
  320. package/dist/vue_ui_quadrant-BUv-SqzP.js +1 -0
  321. package/dist/vue_ui_quick_chart-BRfcRW6Z.js +1 -0
  322. package/dist/vue_ui_radar-68iK9Fam.js +1 -0
  323. package/dist/vue_ui_relation_circle-Dkv-cSB6.js +1 -0
  324. package/dist/vue_ui_ridgeline-Di26JtQu.js +1 -0
  325. package/dist/vue_ui_rings-BcDDXHpQ.js +1 -0
  326. package/dist/vue_ui_scatter-C50uFYQL.js +1 -0
  327. package/dist/vue_ui_spark_trend-BOM3zo64.js +1 -0
  328. package/dist/vue_ui_sparkbar-Bpx7QrFq.js +1 -0
  329. package/dist/vue_ui_sparkgauge-D2Hk6bvS.js +1 -0
  330. package/dist/vue_ui_sparkhistogram-ChwOkoMb.js +1 -0
  331. package/dist/vue_ui_sparkline-CvL_e9L8.js +1 -0
  332. package/dist/vue_ui_sparkstackbar-Chtog7hC.js +1 -0
  333. package/dist/vue_ui_stackbar-BkBIi_bL.js +1 -0
  334. package/dist/vue_ui_stackline-D7b63K84.js +1 -0
  335. package/dist/vue_ui_strip_plot-CwMowrhT.js +1 -0
  336. package/dist/vue_ui_table_heatmap-vfeY6r97.js +1 -0
  337. package/dist/vue_ui_table_sparkline-Dlfbza49.js +1 -0
  338. package/dist/vue_ui_thermometer-CRijq6H6.js +1 -0
  339. package/dist/vue_ui_tiremarks-8HFfABNF.js +1 -0
  340. package/dist/vue_ui_treemap-Bv4Rdl5_.js +1 -0
  341. package/dist/vue_ui_vertical_bar-BLyflvlz.js +1 -0
  342. package/dist/vue_ui_waffle-BbBLSluB.js +1 -0
  343. package/dist/vue_ui_wheel-C-479bvJ.js +1 -0
  344. package/dist/vue_ui_word_cloud-DBiJtSyL.js +1 -0
  345. package/dist/vue_ui_xy-CJBM9F6W.js +1 -0
  346. package/dist/vue_ui_xy_canvas-CT-FN9rU.js +1 -0
  347. package/package.json +2 -2
  348. package/dist/A11yDataTable-DdRsVULz.js +0 -45
  349. package/dist/Arrow-DKO1l8oR.js +0 -116
  350. package/dist/BaseDraggableDialog-C50TEJFv.js +0 -272
  351. package/dist/BaseIcon-Cx9FD751.js +0 -484
  352. package/dist/BaseLegendToggle-CP3sddwv.js +0 -56
  353. package/dist/BaseScanner-Dzc8VT3j.js +0 -30
  354. package/dist/BaseZoomControls-vNi8YykO.js +0 -111
  355. package/dist/ColorPicker-hmC2bvwS.js +0 -257
  356. package/dist/DataTable-CjF_An2h.js +0 -150
  357. package/dist/DefGrad-DVBqDjhO.js +0 -48
  358. package/dist/HillActions-DqqGB33u.js +0 -187
  359. package/dist/Legend-CulFgjUY.js +0 -156
  360. package/dist/NonSvgPenAndPaper-BK1v_MfW.js +0 -577
  361. package/dist/PackageVersion-D7H9nfK0.js +0 -12
  362. package/dist/PenAndPaper-CNiuGw6k.js +0 -906
  363. package/dist/RecursiveCircles-D6aDPmoe.js +0 -117
  364. package/dist/RecursiveLabels-D9rfID6q.js +0 -56
  365. package/dist/RecursiveLinks-BygcpDiT.js +0 -78
  366. package/dist/Shape-DSwamtmO.js +0 -143
  367. package/dist/SlicerPreview-k5YerMA9.js +0 -1730
  368. package/dist/SparkTooltip-D35KVv6N.js +0 -93
  369. package/dist/Title-BMCuINbv.js +0 -87
  370. package/dist/Tooltip-C4ZTwkLF.js +0 -312
  371. package/dist/UserOptions-CORYQiif.js +0 -1412
  372. package/dist/_plugin-vue_export-helper-B3ysoDQm.js +0 -8
  373. package/dist/dom-to-png-CBusMkua.js +0 -237
  374. package/dist/exposedLib-UNxZlnAS.js +0 -28
  375. package/dist/geoProjections-BYthUA8l.js +0 -302
  376. package/dist/img-Bb5rHcpO.js +0 -129
  377. package/dist/labelUtils-Ccn9kK7T.js +0 -19
  378. package/dist/lib-D4wK6ljP.js +0 -2146
  379. package/dist/package-DmQufM0G.js +0 -4
  380. package/dist/patternUtils-CS7hn6at.js +0 -258
  381. package/dist/pdf-BzIQHx-F.js +0 -90
  382. package/dist/render-common-BtfjXdkJ.js +0 -152
  383. package/dist/rolldown-runtime-Dy4uBu1J.js +0 -11
  384. package/dist/useAutoSizeLabelsInsideViewbox-DvDwcwi_.js +0 -122
  385. package/dist/useChartAccessibility-DYqac8yF.js +0 -12
  386. package/dist/useChartExport-iwOqiIWX.js +0 -803
  387. package/dist/useConfig-D_6ZrPMD.js +0 -8090
  388. package/dist/useFitSvgText-CXTzBplU.js +0 -65
  389. package/dist/useHints-Dq_w2E8B.js +0 -66
  390. package/dist/useNestedProp-DR_8JPol.js +0 -12
  391. package/dist/useObjectBindings-DvasYMGu.js +0 -191
  392. package/dist/usePanZoom-CYU3B4T3.js +0 -157
  393. package/dist/usePrefersMotion-BC-CsqR1.js +0 -15
  394. package/dist/usePrinter-DdW2GSm0.js +0 -49
  395. package/dist/useResponsive-ZtArZtUf.js +0 -97
  396. package/dist/useStableElementSize-C7KADDKj.js +0 -77
  397. package/dist/useTableResponsive-BAqJPR68.js +0 -25
  398. package/dist/useThemeCheck-C43Tcqmk.js +0 -24
  399. package/dist/useTimeLabelCollider-AEcY4Ioe.js +0 -57
  400. package/dist/useTimeLabels-d2f-W1L4.js +0 -270
  401. package/dist/useTooltipPosition-BCrtQa9H.js +0 -189
  402. package/dist/useTransitions-g_zBREk2.js +0 -39
  403. package/dist/useUserOptionState-DK-_1ddE.js +0 -15
  404. package/dist/vClickOutside-DUrZWttG.js +0 -13
  405. package/dist/vue-data-ui-Df7WV80w.js +0 -191
  406. package/dist/vue-ui-3d-bar-CJjNPwhG.js +0 -1831
  407. package/dist/vue-ui-accordion-CaoNWreI.js +0 -81
  408. package/dist/vue-ui-age-pyramid-BYcM0uIP.js +0 -1305
  409. package/dist/vue-ui-annotator-BmqjDjRF.js +0 -3325
  410. package/dist/vue-ui-bullet-DBOAvpBB.js +0 -702
  411. package/dist/vue-ui-bump-rPYwDJ4o.js +0 -1242
  412. package/dist/vue-ui-candlestick-WQHIQNv_.js +0 -2144
  413. package/dist/vue-ui-carousel-table-Dojcvt49.js +0 -467
  414. package/dist/vue-ui-chestnut-BdhEByUf.js +0 -2016
  415. package/dist/vue-ui-chord-MF4xF5az.js +0 -1347
  416. package/dist/vue-ui-circle-pack-BwDim7G8.js +0 -1647
  417. package/dist/vue-ui-cursor-w_5cbpSb.js +0 -283
  418. package/dist/vue-ui-dag-D2EUqeDN.js +0 -2931
  419. package/dist/vue-ui-dashboard-BLnVXosj.js +0 -522
  420. package/dist/vue-ui-digits-zSqwYWHm.js +0 -217
  421. package/dist/vue-ui-donut-ZYZfqIhi.js +0 -974
  422. package/dist/vue-ui-donut-evolution-DtLbWi3h.js +0 -1869
  423. package/dist/vue-ui-donut-nLDLZwig.js +0 -2427
  424. package/dist/vue-ui-dumbbell-Qgn3wRyI.js +0 -1533
  425. package/dist/vue-ui-flow-iSH6dyGw.js +0 -1229
  426. package/dist/vue-ui-funnel-Cc2z2zS5.js +0 -749
  427. package/dist/vue-ui-galaxy-GhuBSU0o.js +0 -1097
  428. package/dist/vue-ui-gauge-BAjBO13a.js +0 -934
  429. package/dist/vue-ui-geo-mwTtvIHY.js +0 -1495
  430. package/dist/vue-ui-gizmo-B5vOOrZX.js +0 -238
  431. package/dist/vue-ui-heatmap-fimkY1nN.js +0 -1613
  432. package/dist/vue-ui-hill-DPfTt3UE.js +0 -1747
  433. package/dist/vue-ui-history-plot-B1WgzqTb.js +0 -1710
  434. package/dist/vue-ui-horizontal-bar-Bkp5HQdt.js +0 -1723
  435. package/dist/vue-ui-kpi-D-p0CSQh.js +0 -104
  436. package/dist/vue-ui-label-r3-QloJL.js +0 -1451
  437. package/dist/vue-ui-mini-loader-CnrBGAtM.js +0 -133
  438. package/dist/vue-ui-molecule-BhdAYX_H.js +0 -941
  439. package/dist/vue-ui-mood-radar-CdlnPrQf.js +0 -1111
  440. package/dist/vue-ui-nested-donuts-DceVEyUc.js +0 -1515
  441. package/dist/vue-ui-onion-_L0uEATI.js +0 -1247
  442. package/dist/vue-ui-parallel-coordinate-plot-CbXwIM47.js +0 -1444
  443. package/dist/vue-ui-pattern-DKozfnVn.js +0 -154
  444. package/dist/vue-ui-pattern-seed-BB1honLm.js +0 -61
  445. package/dist/vue-ui-quadrant-CDDFLRcX.js +0 -1979
  446. package/dist/vue-ui-quick-chart-Dom257hl.js +0 -2775
  447. package/dist/vue-ui-radar-BLdri1bA.js +0 -1386
  448. package/dist/vue-ui-rating-C_iTttXB.js +0 -359
  449. package/dist/vue-ui-relation-circle-BmxTSgjd.js +0 -905
  450. package/dist/vue-ui-ridgeline-CsUrcVmL.js +0 -1630
  451. package/dist/vue-ui-rings-D_GPkgbD.js +0 -1264
  452. package/dist/vue-ui-scatter-D_C-IhnW.js +0 -2418
  453. package/dist/vue-ui-skeleton-t7e6KEZ2.js +0 -2567
  454. package/dist/vue-ui-smiley-Dl95YWVo.js +0 -376
  455. package/dist/vue-ui-spark-trend-pkZA7u5V.js +0 -457
  456. package/dist/vue-ui-sparkbar-Ds7OJjhG.js +0 -401
  457. package/dist/vue-ui-sparkgauge-US1M88qc.js +0 -268
  458. package/dist/vue-ui-sparkhistogram-FISVpSvv.js +0 -589
  459. package/dist/vue-ui-sparkline-DvE1dHcs.js +0 -2067
  460. package/dist/vue-ui-sparkstackbar-CWtF9eG-.js +0 -750
  461. package/dist/vue-ui-stackbar-fMgrHzZe.js +0 -3273
  462. package/dist/vue-ui-stackline-CSMuUup2.js +0 -2829
  463. package/dist/vue-ui-strip-plot-TGD2UFHS.js +0 -1752
  464. package/dist/vue-ui-table-BCEIbg8-.js +0 -1352
  465. package/dist/vue-ui-table-heatmap-CvUcFWMf.js +0 -363
  466. package/dist/vue-ui-table-sparkline-CoVQ1qGY.js +0 -738
  467. package/dist/vue-ui-thermometer-BYFAZCzh.js +0 -758
  468. package/dist/vue-ui-timer-BKr8RVnn.js +0 -451
  469. package/dist/vue-ui-tiremarks-BYu3cEoy.js +0 -540
  470. package/dist/vue-ui-treemap-BR3rX5_L.js +0 -1745
  471. package/dist/vue-ui-waffle-mP8g5aQk.js +0 -1633
  472. package/dist/vue-ui-wheel-CZsSO2R6.js +0 -873
  473. package/dist/vue-ui-word-cloud-CJ30onqy.js +0 -1723
  474. package/dist/vue-ui-world-BZ09DOiF.js +0 -3021
  475. package/dist/vue-ui-xy-C3h54loZ.js +0 -1387
  476. package/dist/vue-ui-xy-canvas-BwgK8drp.js +0 -2151
  477. package/dist/vue-ui-xy-jemv5dsf.js +0 -5777
  478. package/dist/vue_ui_3d_bar-C4R7o-yX.js +0 -185
  479. package/dist/vue_ui_age_pyramid-B2R66DgQ.js +0 -310
  480. package/dist/vue_ui_bullet-ClzdLoOv.js +0 -186
  481. package/dist/vue_ui_bump-Vl-zYAtG.js +0 -201
  482. package/dist/vue_ui_candlestick-BXSQY82k.js +0 -461
  483. package/dist/vue_ui_chestnut-D2oUhad6.js +0 -305
  484. package/dist/vue_ui_chord-DPfS1Umc.js +0 -275
  485. package/dist/vue_ui_circle_pack-DZC_rdfn.js +0 -172
  486. package/dist/vue_ui_dag-TsJ_azQq.js +0 -258
  487. package/dist/vue_ui_donut-BDGqG07h.js +0 -358
  488. package/dist/vue_ui_donut_evolution-C6951a2f.js +0 -745
  489. package/dist/vue_ui_dumbbell-Bfe_jFyi.js +0 -304
  490. package/dist/vue_ui_flow-BewZjjKG.js +0 -238
  491. package/dist/vue_ui_funnel-_Og4EEkO.js +0 -234
  492. package/dist/vue_ui_galaxy-Ig0cc1_h.js +0 -265
  493. package/dist/vue_ui_gauge-Cf1RZc9q.js +0 -178
  494. package/dist/vue_ui_geo-B8TODs-G.js +0 -248
  495. package/dist/vue_ui_heatmap-B2BBBSWG.js +0 -319
  496. package/dist/vue_ui_hill-dnltu0L-.js +0 -368
  497. package/dist/vue_ui_history_plot-CuN63VEc.js +0 -413
  498. package/dist/vue_ui_horizontal_bar-C4J4QzXf.js +0 -341
  499. package/dist/vue_ui_label-B0QoxQrJ.js +0 -115
  500. package/dist/vue_ui_molecule-CO9L59SF.js +0 -231
  501. package/dist/vue_ui_mood_radar-BA6LAKhk.js +0 -281
  502. package/dist/vue_ui_nested_donuts-B8csIoVO.js +0 -273
  503. package/dist/vue_ui_onion-1FTFFS46.js +0 -293
  504. package/dist/vue_ui_parallel_coordinate_plot-CBiOBira.js +0 -278
  505. package/dist/vue_ui_quadrant-CDSTKTJz.js +0 -428
  506. package/dist/vue_ui_quick_chart-DByCqSYE.js +0 -180
  507. package/dist/vue_ui_radar-jafTED5j.js +0 -306
  508. package/dist/vue_ui_relation_circle-D0p4mXmv.js +0 -98
  509. package/dist/vue_ui_ridgeline-VM8_mx4J.js +0 -767
  510. package/dist/vue_ui_rings-BVgD2aMn.js +0 -320
  511. package/dist/vue_ui_scatter-I0POnicu.js +0 -479
  512. package/dist/vue_ui_spark_trend-DxVmpkmC.js +0 -82
  513. package/dist/vue_ui_sparkbar-z6qO--Kf.js +0 -64
  514. package/dist/vue_ui_sparkgauge-BX1MS3bA.js +0 -90
  515. package/dist/vue_ui_sparkhistogram-BRgvKUH6.js +0 -123
  516. package/dist/vue_ui_sparkline-b9pEUyGF.js +0 -183
  517. package/dist/vue_ui_sparkstackbar-BOjuQnZd.js +0 -175
  518. package/dist/vue_ui_stackbar-yQyvT4Su.js +0 -537
  519. package/dist/vue_ui_stackline-Bh0RuInt.js +0 -539
  520. package/dist/vue_ui_strip_plot-BaHbnnwN.js +0 -308
  521. package/dist/vue_ui_table_heatmap-w8vx5k6f.js +0 -80
  522. package/dist/vue_ui_table_sparkline-DAbkUrNz.js +0 -124
  523. package/dist/vue_ui_thermometer-DxgqWKlE.js +0 -123
  524. package/dist/vue_ui_tiremarks-CdEPieWV.js +0 -122
  525. package/dist/vue_ui_treemap-DoEtkRN6.js +0 -328
  526. package/dist/vue_ui_vertical_bar-CP-MKz1j.js +0 -247
  527. package/dist/vue_ui_waffle-DE_DiSVP.js +0 -299
  528. package/dist/vue_ui_wheel-DZ_nR--t.js +0 -133
  529. package/dist/vue_ui_word_cloud-C-qIMNLu.js +0 -254
  530. package/dist/vue_ui_xy-CcJADijP.js +0 -614
  531. package/dist/vue_ui_xy_canvas-DrNSzYWq.js +0 -487
@@ -1,934 +0,0 @@
1
- import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
2
- import { $ as t, Bt as n, Ht as r, It as i, J as a, Jt as o, O as ee, S as te, X as ne, at as s, b as re, en as ie, f as ae, i as oe, nn as se, t as ce, tn as le, w as ue, yt as de, zt as fe } from "./lib-D4wK6ljP.js";
3
- import { n as pe } from "./useHints-Dq_w2E8B.js";
4
- import { t as me } from "./useConfig-D_6ZrPMD.js";
5
- import { t as he } from "./usePrinter-DdW2GSm0.js";
6
- import { n as ge, t as _e } from "./BaseScanner-Dzc8VT3j.js";
7
- import { t as ve } from "./useNestedProp-DR_8JPol.js";
8
- import { t as ye } from "./useThemeCheck-C43Tcqmk.js";
9
- import { t as be } from "./useChartExport-iwOqiIWX.js";
10
- import { t as xe } from "./img-Bb5rHcpO.js";
11
- import { n as Se } from "./Title-BMCuINbv.js";
12
- import { t as Ce } from "./_plugin-vue_export-helper-B3ysoDQm.js";
13
- import { l as we, t as Te } from "./useResponsive-ZtArZtUf.js";
14
- import { t as Ee } from "./DefGrad-DVBqDjhO.js";
15
- import { t as De } from "./useUserOptionState-DK-_1ddE.js";
16
- import { t as Oe } from "./useChartAccessibility-DYqac8yF.js";
17
- import { t as ke } from "./usePrefersMotion-BC-CsqR1.js";
18
- import { t as Ae } from "./useAutoSizeLabelsInsideViewbox-DvDwcwi_.js";
19
- import { t as je } from "./vue_ui_gauge-Cf1RZc9q.js";
20
- import { Fragment as c, computed as l, createBlock as u, createCommentVNode as d, createElementBlock as f, createElementVNode as p, createSlots as Me, createVNode as Ne, defineAsyncComponent as Pe, guardReactiveProps as m, mergeProps as h, nextTick as Fe, normalizeClass as Ie, normalizeProps as g, normalizeStyle as Le, onBeforeUnmount as Re, onMounted as ze, openBlock as _, ref as v, renderList as y, renderSlot as b, shallowRef as Be, toDisplayString as x, toRefs as Ve, unref as S, watch as He, withCtx as C } from "vue";
21
- //#region src/components/vue-ui-gauge.vue
22
- var Ue = /* @__PURE__ */ e({ default: () => xt }), We = ["id"], Ge = { key: 0 }, Ke = ["xmlns", "viewBox"], qe = ["width", "height"], Je = ["id"], Ye = ["stdDeviation"], Xe = { key: 1 }, Ze = [
23
- "d",
24
- "fill",
25
- "stroke"
26
- ], Qe = [
27
- "d",
28
- "fill",
29
- "stroke"
30
- ], $e = ["d", "fill"], et = ["id", "d"], tt = [
31
- "fill",
32
- "font-size",
33
- "font-weight"
34
- ], nt = ["href", "startOffset"], rt = [
35
- "text-anchor",
36
- "fill",
37
- "font-size",
38
- "font-weight",
39
- "innerHTML"
40
- ], it = ["d", "filter"], at = ["stroke", "stroke-width"], ot = ["stroke", "stroke-width"], st = ["stroke", "stroke-width"], ct = ["stroke", "stroke-width"], lt = { key: 8 }, ut = [
41
- "x",
42
- "y",
43
- "text-anchor",
44
- "font-size",
45
- "font-weight",
46
- "fill"
47
- ], dt = [
48
- "x",
49
- "y",
50
- "font-size",
51
- "font-weight",
52
- "fill"
53
- ], ft = { key: 0 }, pt = [
54
- "x1",
55
- "y1",
56
- "x2",
57
- "y2",
58
- "stroke",
59
- "stroke-width"
60
- ], mt = [
61
- "x1",
62
- "y1",
63
- "x2",
64
- "y2",
65
- "stroke",
66
- "stroke-width"
67
- ], ht = [
68
- "x1",
69
- "y1",
70
- "x2",
71
- "y2",
72
- "stroke-width",
73
- "filter"
74
- ], gt = { key: 1 }, _t = [
75
- "d",
76
- "fill",
77
- "stroke",
78
- "stroke-width"
79
- ], vt = [
80
- "cx",
81
- "cy",
82
- "fill",
83
- "r",
84
- "stroke-width",
85
- "stroke"
86
- ], yt = [
87
- "x",
88
- "y",
89
- "font-size",
90
- "fill"
91
- ], bt = {
92
- key: 4,
93
- class: "vue-data-ui-watermark"
94
- }, xt = /*#__PURE__*/ Ce({
95
- __name: "vue-ui-gauge",
96
- props: {
97
- config: {
98
- type: Object,
99
- default() {
100
- return {};
101
- }
102
- },
103
- dataset: {
104
- type: Object,
105
- default() {
106
- return {};
107
- }
108
- }
109
- },
110
- emits: ["copyAlt"],
111
- setup(e, { expose: Ce, emit: Ue }) {
112
- let xt = Pe(() => import("./PenAndPaper-CNiuGw6k.js").then((e) => e.t)), St = Pe(() => import("./UserOptions-CORYQiif.js").then((e) => e.n)), Ct = Pe(() => import("./PackageVersion-D7H9nfK0.js").then((e) => e.t)), { vue_ui_gauge: wt } = me(), { isThemeValid: Tt, warnInvalidTheme: Et } = ye(), Dt = ke(), w = e, Ot = Ue, kt = l(() => !!w.dataset && Object.keys(w.dataset).length > 0 && w.dataset.series && w.dataset.series.length), T = v(ne()), At = v(null), jt = v(0), E = v(null), Mt = v(null), Nt = v(null), Pt = v(null), Ft = v(null), It = v(0), D = v(Ut()), O = l(() => D.value.style.chart.layout.segmentSeparators), k = l(() => D.value.style.chart.layout.segmentNames), A = l(() => D.value.style.chart.layout.markers), j = l(() => D.value.style.chart.layout.pointer), M = l(() => D.value.style.chart.layout), N = l(() => D.value.style.chart);
113
- pe({
114
- config: () => D.value,
115
- dataset: () => w.dataset,
116
- component: "VueUiGauge",
117
- rules: [{
118
- test: (e) => e?.series && e.series?.length > 6,
119
- message: [
120
- "👀 The number of steps is > 6, which can make the chart hard to read and labels overlap. Consider:",
121
- "",
122
- "▶️ Using broader steps."
123
- ]
124
- }]
125
- });
126
- let Lt = l(() => D.value.userOptions.useCursorPointer), Rt = l(() => se({
127
- defaultConfig: {
128
- userOptions: { show: !1 },
129
- style: { chart: {
130
- backgroundColor: "#99999930",
131
- animation: { use: !1 },
132
- layout: {
133
- markers: { show: !1 },
134
- segmentSeparators: { stroke: "#6A6A6A" },
135
- segmentNames: { show: !1 },
136
- indicatorArc: { fill: "#6A6A6A50" },
137
- pointer: {
138
- stroke: "#6A6A6A",
139
- useRatingColor: !0,
140
- circle: {
141
- stroke: "#6A6A6A",
142
- color: "#6A6A6A"
143
- }
144
- }
145
- },
146
- legend: { show: !1 }
147
- } }
148
- },
149
- userConfig: D.value.skeletonConfig ?? {}
150
- })), { loading: zt, FINAL_DATASET: P, manualLoading: F } = ge({
151
- ...Ve(w),
152
- FINAL_CONFIG: D,
153
- prepareConfig: Ut,
154
- callback: () => {
155
- Promise.resolve().then(async () => {
156
- await Fe();
157
- });
158
- },
159
- skeletonDataset: w.config?.skeletonDataset ?? {
160
- value: 0,
161
- series: [{
162
- from: -1,
163
- to: 0,
164
- name: "_",
165
- color: "#A1A1A1"
166
- }, {
167
- from: 0,
168
- to: 1,
169
- name: "__",
170
- color: "#CACACA"
171
- }]
172
- },
173
- skeletonConfig: se({
174
- defaultConfig: D.value,
175
- userConfig: Rt.value
176
- })
177
- }), { userOptionsVisible: Bt, setUserOptionsVisibility: Vt, keepUserOptionState: Ht } = De({ config: D.value }), { svgRef: I } = Oe({ config: N.value.title });
178
- He(() => w.config, (e) => {
179
- zt.value || (D.value = Ut()), Bt.value = !D.value.userOptions.showOnChartHover, en(), It.value += 1;
180
- }, { deep: !0 }), He(() => w.dataset, (e) => {
181
- en(), e && Object.keys(e).length > 0 && (F.value = D.value?.loading ?? !1);
182
- }, {
183
- deep: !0,
184
- immediate: !1
185
- });
186
- function Ut() {
187
- let e = ve({
188
- userConfig: w.config,
189
- defaultConfig: wt
190
- }), t = e.theme;
191
- if (!t) return e;
192
- if (!Tt.value(e)) return Et(e), e;
193
- let n = ve({
194
- userConfig: je[t] || w.config,
195
- defaultConfig: e
196
- }), i = ve({
197
- userConfig: w.config,
198
- defaultConfig: n
199
- });
200
- return {
201
- ...i,
202
- customPalette: i.customPalette.length ? i.customPalette : ie[t] || r
203
- };
204
- }
205
- let { isPrinting: Wt, isImaging: Gt, generatePdf: Kt, generateImage: qt } = he({
206
- elementId: `vue-ui-gauge_${T.value}`,
207
- fileName: N.value.title.text || "vue-ui-gauge",
208
- options: D.value.userOptions.print
209
- }), Jt = l(() => D.value.userOptions.show && !N.value.title.text), Yt = l(() => ue(D.value.customPalette)), L = l(() => {
210
- if (fe(P.value.series || {})) return {
211
- value: 0,
212
- series: [{
213
- from: 0,
214
- to: 0
215
- }]
216
- };
217
- let e = [];
218
- (P.value.series || []).forEach((t) => {
219
- e.push(t.from || 1e-7), e.push(t.to || 1e-7);
220
- });
221
- let t = Math.max(...e);
222
- return {
223
- ...P.value,
224
- series: (P.value.series || []).map((e, n) => ({
225
- ...e,
226
- color: te(e.color) || Yt.value[n] || r[n],
227
- value: ((e.to || 0) - (e.from || 0)) / t * 100
228
- }))
229
- };
230
- }), R = v(512), z = v({
231
- height: 358.4,
232
- width: R.value,
233
- top: 0,
234
- bottom: 358.4,
235
- centerX: 179.2,
236
- centerY: R.value / 2,
237
- labelFontSize: 18,
238
- legendFontSize: N.value.legend.fontSize,
239
- pointerRadius: j.value.circle.radius,
240
- trackSize: M.value.track.size,
241
- pointerSize: j.value.size,
242
- pointerStrokeWidth: j.value.strokeWidth,
243
- markerOffset: A.value.offsetY + 3,
244
- segmentFontSize: k.value.fontSize
245
- }), B = v(0), V = v(0), H = l(() => N.value.animation.use && !Dt.value), U = v(H.value ? Math.min(...P.value.series.map((e) => e.from)) : P.value.value), W = null;
246
- function Xt() {
247
- W !== null && (cancelAnimationFrame(W), W = null);
248
- }
249
- He(H, (e) => {
250
- e || (Xt(), U.value = P.value.value);
251
- }), He(() => P.value.value, () => {
252
- tn(P.value.value);
253
- });
254
- let G = l(() => {
255
- let e = z.value.width / 2, t = X.value.base, n = Math.PI * ((U.value + 0 - V.value) / (B.value - V.value)) + Math.PI;
256
- return {
257
- x1: e,
258
- y1: t,
259
- x2: e + X.value.pointerSize * z.value.pointerSize * .9 * Math.cos(n),
260
- y2: t + X.value.pointerSize * z.value.pointerSize * .9 * Math.sin(n)
261
- };
262
- }), Zt = l(() => {
263
- let e = z.value.width / 2, t = X.value.base, n = Math.PI * ((U.value + 0 - V.value) / (B.value - V.value)) + Math.PI, r = e + X.value.pointerSize * z.value.pointerSize * .9 * Math.cos(n), i = t + X.value.pointerSize * z.value.pointerSize * .9 * Math.sin(n), a = z.value.pointerRadius, o = e + a * Math.cos(n + Math.PI / 2), ee = t + a * Math.sin(n + Math.PI / 2), te = e + a * Math.cos(n - Math.PI / 2), ne = t + a * Math.sin(n - Math.PI / 2);
264
- return isNaN(r) ? null : `M ${r},${i} ${o},${ee} ${te},${ne} Z`;
265
- }), Qt = l(() => {
266
- for (let e = 0; e < L.value.series.length; e += 1) {
267
- let { color: t, from: n, to: r } = L.value.series[e];
268
- if (U.value >= n && U.value <= r) return t;
269
- }
270
- return "#2D353C";
271
- }), K = Be(null), q = Be(null), J = l({
272
- get: () => z.value.segmentFontSize,
273
- set: (e) => e
274
- }), { autoSizeLabels: $t } = Ae({
275
- svgRef: I,
276
- fontSize: z.value.segmentFontSize,
277
- minFontSize: k.value.minFontSize,
278
- sizeRef: J,
279
- labelClass: ".vue-ui-gauge-label-flat"
280
- }), Y = l(() => D.value.debug);
281
- function en() {
282
- let e = !1;
283
- if (fe(w.dataset) ? (s({
284
- componentName: "VueUiGauge",
285
- type: "dataset",
286
- debug: Y.value
287
- }), F.value = !0, e = !0) : (de({
288
- datasetObject: w.dataset,
289
- requiredAttributes: ["value", "series"]
290
- }).forEach((t) => {
291
- s({
292
- componentName: "VueUiGauge",
293
- type: "datasetAttribute",
294
- property: t,
295
- debug: Y.value
296
- }), F.value = !0, e = !0;
297
- }), Object.hasOwn(w.dataset, "series") && (w.dataset.series.length ? w.dataset.series.forEach((t, n) => {
298
- de({
299
- datasetObject: t,
300
- requiredAttributes: ["from", "to"]
301
- }).forEach((t) => {
302
- s({
303
- componentName: "VueUiGauge",
304
- type: "datasetSerieAttribute",
305
- property: t,
306
- index: n,
307
- debug: Y.value
308
- }), F.value = !0, e = !0;
309
- });
310
- }) : (s({
311
- componentName: "VueUiGauge",
312
- type: "datasetAttributeEmpty",
313
- property: "series",
314
- debug: Y.value
315
- }), F.value = !0, e = !0))), F.value = e, tn(P.value.value || 0), D.value.responsive) {
316
- let e = we(() => {
317
- let { width: e, height: t } = Te({
318
- chart: E.value,
319
- title: N.value.title.text ? Mt.value : null,
320
- legend: Nt.value,
321
- source: Pt.value,
322
- noTitle: Ft.value
323
- });
324
- t -= 12, requestAnimationFrame(() => {
325
- z.value.width = e, z.value.height = t, z.value.centerX = e / 2, z.value.centerY = R.value / 2 / 358.4 * t, z.value.bottom = t, z.value.labelFontSize = 18 / R.value * Math.min(t, e) < 10 ? 10 : 18 / R.value * Math.min(t, e), z.value.legendFontSize = N.value.legend.fontSize / R.value * Math.min(t, e) < 14 ? 14 : N.value.legend.fontSize / R.value * Math.min(t, e), z.value.pointerRadius = j.value.circle.radius / R.value * Math.min(t, e), z.value.trackSize = M.value.track.size / R.value * Math.min(t, e), z.value.pointerStrokeWidth = le({
326
- relator: Math.min(e, t),
327
- adjuster: R.value,
328
- source: j.value.strokeWidth,
329
- threshold: 2,
330
- fallback: 2
331
- }), z.value.markerOffset = le({
332
- relator: Math.max(e, t),
333
- adjuster: R.value,
334
- source: A.value.offsetY + 3,
335
- threshold: 2,
336
- fallback: 2
337
- }), z.value.segmentFontSize = le({
338
- relator: Math.min(e, t),
339
- adjuster: R.value,
340
- source: k.value.fontSize,
341
- threshold: 8,
342
- fallback: 8
343
- });
344
- }), $t();
345
- });
346
- K.value && (q.value && K.value.unobserve(q.value), K.value.disconnect()), K.value = new ResizeObserver(e), q.value = E.value.parentNode, K.value.observe(q.value);
347
- }
348
- $t();
349
- }
350
- ze(() => {
351
- en();
352
- }), Re(() => {
353
- Xt(), K.value && (q.value && K.value.unobserve(q.value), K.value.disconnect());
354
- });
355
- function tn(e) {
356
- let t = [];
357
- if ((L.value.series || []).forEach((e) => {
358
- t.push(e.from || 0), t.push(e.to || 0);
359
- }), B.value = Math.max(...t), V.value = Math.min(...t), Xt(), !H.value) {
360
- U.value = e;
361
- return;
362
- }
363
- let n = N.value.animation.speed, r = Math.abs(e - U.value) / (n * 60);
364
- function i() {
365
- if (!H.value) {
366
- U.value = e, W = null;
367
- return;
368
- }
369
- U.value < e ? U.value = Math.min(U.value + r, e) : U.value > e && (U.value = Math.max(U.value - r, e)), W = U.value === e ? null : requestAnimationFrame(i);
370
- }
371
- i();
372
- }
373
- let X = l(() => {
374
- let e = D.value.responsive ? Math.min(z.value.width, z.value.height) : z.value.width, t = 2.5 / M.value.radiusRatio;
375
- return {
376
- arcs: e / t,
377
- gradients: e / (t * 1.1),
378
- base: D.value.responsive ? z.value.height / 1.618 : z.value.height * .7,
379
- ratingBase: D.value.responsive ? z.value.height / 2 + z.value.height / 4 : z.value.height * .9,
380
- pointerSize: D.value.responsive ? Math.min(z.value.width, z.value.height) / 3 : z.value.width / 3.2
381
- };
382
- }), Z = l(() => i({ series: L.value.series }, z.value.width / 2, X.value.base, X.value.arcs, X.value.arcs, 1, 1, 1, 180, 109.9495, 40 * z.value.trackSize)), nn = l(() => i({ series: L.value.series }, z.value.width / 2, X.value.base, X.value.arcs * k.value.offsetRatio, X.value.arcs * k.value.offsetRatio, 1, 1, 1, 180, 109.9495, 40 * z.value.trackSize)), Q = l(() => Z.value.map((e) => X.value.arcs * k.value.offsetRatio * (e.nameOffsetRatio || 1))), rn = l(() => {
383
- let { x: e, y: t } = n({
384
- initX: Z.value[0].firstSeparator.x,
385
- initY: Z.value[0].firstSeparator.y,
386
- centerX: G.value.x1,
387
- centerY: G.value.y1,
388
- offset: -O.value.offsetIn
389
- }), { x: r, y: i } = n({
390
- initX: Z.value[0].startX,
391
- initY: Z.value[0].startY,
392
- centerX: G.value.x1,
393
- centerY: G.value.y1,
394
- offset: O.value.offsetOut
395
- });
396
- return {
397
- x1: e,
398
- y1: t,
399
- x2: r,
400
- y2: i
401
- };
402
- }), an = l(() => Z.value.map((e) => {
403
- let { x: t, y: r } = n({
404
- initX: e.separator.x,
405
- initY: e.separator.y,
406
- centerX: G.value.x1,
407
- centerY: G.value.y1,
408
- offset: -O.value.offsetIn
409
- }), { x: i, y: a } = n({
410
- initX: e.endX,
411
- initY: e.endY,
412
- centerX: G.value.x1,
413
- centerY: G.value.y1,
414
- offset: O.value.offsetOut
415
- });
416
- return {
417
- x1: t,
418
- y1: r,
419
- x2: i,
420
- y2: a
421
- };
422
- }));
423
- function on(e) {
424
- if (e.reduce((e, t) => e + t, 0) > 100) throw Error("Total % must not exceed 100");
425
- let t = 0;
426
- return e.map((e) => (t += e, `${t / 100 * 50 - e / 4}%`));
427
- }
428
- let sn = l(() => on(Z.value.map((e) => e.proportion * 100))), cn = l(() => i({ series: L.value.series }, z.value.width / 2, X.value.base, X.value.gradients, X.value.gradients, .95, 1, 1, 180, 110.02, 2 * z.value.trackSize)), ln = l(() => {
429
- let e = V.value >= 0 ? -V.value : Math.abs(V.value);
430
- return ee({
431
- radius: M.value.indicatorArc.radius * z.value.trackSize,
432
- centerX: z.value.width / 2,
433
- centerY: X.value.base,
434
- percentage: re((U.value + e) / (B.value + e))
435
- });
436
- }), $ = v(!1);
437
- function un(e) {
438
- $.value = e, jt.value += 1;
439
- }
440
- let dn = v(!1);
441
- function fn() {
442
- dn.value = !dn.value;
443
- }
444
- async function pn({ scale: e = 2 } = {}) {
445
- if (!E.value) return;
446
- let { width: t, height: n } = E.value.getBoundingClientRect(), r = t / n, { imageUri: i, base64: a } = await xe({
447
- domElement: E.value,
448
- base64: !0,
449
- img: !0,
450
- scale: e
451
- });
452
- return {
453
- imageUri: i,
454
- base64: a,
455
- title: N.value.title.text,
456
- width: t,
457
- height: n,
458
- aspectRatio: r
459
- };
460
- }
461
- let mn = l(() => N.value.backgroundColor), hn = l(() => N.value.title), { isCallbackImaging: gn, isCallbackSvg: _n, generateSvg: vn, onGenerateImage: yn } = be({
462
- svg: I,
463
- title: hn,
464
- legend: null,
465
- legendItems: null,
466
- backgroundColor: mn,
467
- getSvgCallback: () => D.value.userOptions.callbacks.svg,
468
- generateImage: qt
469
- });
470
- async function bn() {
471
- if (Ot("copyAlt", {
472
- config: D.value,
473
- dataset: L.value
474
- }), !D.value.userOptions.callbacks.altCopy) {
475
- console.warn("Vue Data UI - A callback must be set for `altCopy` in userOptions.");
476
- return;
477
- }
478
- await Promise.resolve(D.value.userOptions.callbacks.altCopy({
479
- config: D.value,
480
- dataset: L.value
481
- }));
482
- }
483
- return Ce({
484
- getImage: pn,
485
- generatePdf: Kt,
486
- generateImage: qt,
487
- generateSvg: vn,
488
- toggleAnnotator: fn,
489
- toggleFullscreen: un,
490
- copyAlt: bn
491
- }), (e, r) => (_(), f("div", {
492
- class: Ie(`vue-data-ui-component vue-ui-gauge ${$.value ? "vue-data-ui-wrapper-fullscreen" : ""}`),
493
- ref_key: "gaugeChart",
494
- ref: E,
495
- id: `vue-ui-gauge_${T.value}`,
496
- style: Le(`font-family:${D.value.style.fontFamily};width:100%; text-align:center;background:${N.value.backgroundColor};${D.value.responsive ? "height: 100%" : ""}`),
497
- onMouseenter: r[0] ||= () => S(Vt)(!0),
498
- onMouseleave: r[1] ||= () => S(Vt)(!1)
499
- }, [
500
- D.value.userOptions.buttons.annotator ? (_(), u(S(xt), {
501
- key: 0,
502
- svgRef: S(I),
503
- backgroundColor: N.value.backgroundColor,
504
- color: N.value.color,
505
- active: dn.value,
506
- isCursorPointer: Lt.value,
507
- palette: D.value.userOptions.annotatorPalette,
508
- onClose: fn
509
- }, {
510
- "annotator-action-close": C(() => [b(e.$slots, "annotator-action-close", {}, void 0, !0)]),
511
- "annotator-action-color": C(({ color: t }) => [b(e.$slots, "annotator-action-color", g(m({ color: t })), void 0, !0)]),
512
- "annotator-action-draw": C(({ mode: t }) => [b(e.$slots, "annotator-action-draw", g(m({ mode: t })), void 0, !0)]),
513
- "annotator-action-undo": C(({ disabled: t }) => [b(e.$slots, "annotator-action-undo", g(m({ disabled: t })), void 0, !0)]),
514
- "annotator-action-redo": C(({ disabled: t }) => [b(e.$slots, "annotator-action-redo", g(m({ disabled: t })), void 0, !0)]),
515
- "annotator-action-delete": C(({ disabled: t }) => [b(e.$slots, "annotator-action-delete", g(m({ disabled: t })), void 0, !0)]),
516
- _: 3
517
- }, 8, [
518
- "svgRef",
519
- "backgroundColor",
520
- "color",
521
- "active",
522
- "isCursorPointer",
523
- "palette"
524
- ])) : d("", !0),
525
- Jt.value ? (_(), f("div", {
526
- key: 1,
527
- ref_key: "noTitle",
528
- ref: Ft,
529
- class: "vue-data-ui-no-title-space",
530
- style: "height:36px; width: 100%;background:transparent"
531
- }, null, 512)) : d("", !0),
532
- N.value.title.text ? (_(), f("div", {
533
- key: 2,
534
- ref_key: "chartTitle",
535
- ref: Mt,
536
- style: "width:100%;background:transparent;padding-bottom:12px"
537
- }, [(_(), u(Se, {
538
- key: `title_${It.value}`,
539
- config: {
540
- title: {
541
- cy: "gauge-div-title",
542
- ...N.value.title
543
- },
544
- subtitle: {
545
- cy: "gauge-div-subtitle",
546
- ...N.value.title.subtitle
547
- }
548
- }
549
- }, {
550
- default: C(() => [D.value.translations.base && S(P).base ? (_(), f("span", Ge, x(D.value.translations.base) + ": " + x(S(P).base), 1)) : d("", !0)]),
551
- _: 1
552
- }, 8, ["config"]))], 512)) : d("", !0),
553
- D.value.userOptions.show && kt.value && (S(Ht) || S(Bt)) ? (_(), u(S(St), {
554
- ref_key: "details",
555
- ref: At,
556
- key: `user_options_${jt.value}`,
557
- backgroundColor: N.value.backgroundColor,
558
- color: N.value.color,
559
- isImaging: S(Gt),
560
- isPrinting: S(Wt),
561
- uid: T.value,
562
- hasXls: !1,
563
- hasPdf: D.value.userOptions.buttons.pdf,
564
- hasImg: D.value.userOptions.buttons.img,
565
- hasSvg: D.value.userOptions.buttons.svg,
566
- hasFullscreen: D.value.userOptions.buttons.fullscreen,
567
- hasAltCopy: D.value.userOptions.buttons.altCopy,
568
- isFullscreen: $.value,
569
- titles: { ...D.value.userOptions.buttonTitles },
570
- chartElement: E.value,
571
- callbacks: D.value.userOptions.callbacks,
572
- printScale: D.value.userOptions.print.scale,
573
- position: D.value.userOptions.position,
574
- hasAnnotator: D.value.userOptions.buttons.annotator,
575
- isAnnotation: dn.value,
576
- isCursorPointer: Lt.value,
577
- onToggleFullscreen: un,
578
- onGeneratePdf: S(Kt),
579
- onGenerateImage: S(yn),
580
- onGenerateSvg: S(vn),
581
- onToggleAnnotator: fn,
582
- onCopyAlt: bn,
583
- style: Le({ visibility: S(Ht) ? S(Bt) ? "visible" : "hidden" : "visible" })
584
- }, Me({ _: 2 }, [
585
- e.$slots.menuIcon ? {
586
- name: "menuIcon",
587
- fn: C(({ isOpen: t, color: n }) => [b(e.$slots, "menuIcon", g(m({
588
- isOpen: t,
589
- color: n
590
- })), void 0, !0)]),
591
- key: "0"
592
- } : void 0,
593
- e.$slots.optionPdf ? {
594
- name: "optionPdf",
595
- fn: C(() => [b(e.$slots, "optionPdf", {}, void 0, !0)]),
596
- key: "1"
597
- } : void 0,
598
- e.$slots.optionImg ? {
599
- name: "optionImg",
600
- fn: C(() => [b(e.$slots, "optionImg", {}, void 0, !0)]),
601
- key: "2"
602
- } : void 0,
603
- e.$slots.optionSvg ? {
604
- name: "optionSvg",
605
- fn: C(() => [b(e.$slots, "optionSvg", {}, void 0, !0)]),
606
- key: "3"
607
- } : void 0,
608
- e.$slots.optionFullscreen ? {
609
- name: "optionFullscreen",
610
- fn: C(({ toggleFullscreen: t, isFullscreen: n }) => [b(e.$slots, "optionFullscreen", g(m({
611
- toggleFullscreen: t,
612
- isFullscreen: n
613
- })), void 0, !0)]),
614
- key: "4"
615
- } : void 0,
616
- e.$slots.optionAnnotator ? {
617
- name: "optionAnnotator",
618
- fn: C(({ toggleAnnotator: t, isAnnotator: n }) => [b(e.$slots, "optionAnnotator", g(m({
619
- toggleAnnotator: t,
620
- isAnnotator: n
621
- })), void 0, !0)]),
622
- key: "5"
623
- } : void 0,
624
- e.$slots.optionAltCopy ? {
625
- name: "optionAltCopy",
626
- fn: C(({ altCopy: t }) => [b(e.$slots, "optionAltCopy", g(m({ altCopy: t })), void 0, !0)]),
627
- key: "6"
628
- } : void 0,
629
- e.$slots["custom-menu-before"] ? {
630
- name: "custom-menu-before",
631
- fn: C(() => [b(e.$slots, "custom-menu-before", {}, void 0, !0)]),
632
- key: "7"
633
- } : void 0,
634
- e.$slots["custom-menu-after"] ? {
635
- name: "custom-menu-after",
636
- fn: C(() => [b(e.$slots, "custom-menu-after", {}, void 0, !0)]),
637
- key: "8"
638
- } : void 0
639
- ]), 1032, [
640
- "backgroundColor",
641
- "color",
642
- "isImaging",
643
- "isPrinting",
644
- "uid",
645
- "hasPdf",
646
- "hasImg",
647
- "hasSvg",
648
- "hasFullscreen",
649
- "hasAltCopy",
650
- "isFullscreen",
651
- "titles",
652
- "chartElement",
653
- "callbacks",
654
- "printScale",
655
- "position",
656
- "hasAnnotator",
657
- "isAnnotation",
658
- "isCursorPointer",
659
- "onGeneratePdf",
660
- "onGenerateImage",
661
- "onGenerateSvg",
662
- "style"
663
- ])) : d("", !0),
664
- (_(), f("svg", {
665
- ref_key: "svgRef",
666
- ref: I,
667
- xmlns: S(ce),
668
- class: Ie({
669
- "vue-data-ui-fullscreen--on": $.value,
670
- "vue-data-ui-fulscreen--off": !$.value
671
- }),
672
- viewBox: `0 0 ${z.value.width <= 0 ? 10 : z.value.width} ${z.value.height <= 0 ? 10 : z.value.height}`,
673
- style: Le(`max-width:100%;overflow:hidden !important;background:transparent;color:${N.value.color}`)
674
- }, [
675
- Ne(S(Ct)),
676
- e.$slots["chart-background"] ? (_(), f("foreignObject", {
677
- key: 0,
678
- x: 0,
679
- y: 0,
680
- width: z.value.width <= 0 ? 10 : z.value.width,
681
- height: z.value.height <= 0 ? 10 : z.value.height,
682
- style: { pointerEvents: "none" }
683
- }, [b(e.$slots, "chart-background", {}, void 0, !0)], 8, qe)) : d("", !0),
684
- p("defs", null, [Ne(Ee, {
685
- t: "radial",
686
- id: `gradient_${T.value}`,
687
- cx: "50%",
688
- cy: "50%",
689
- r: "50%",
690
- fx: "50%",
691
- fy: "50%",
692
- stops: [
693
- [
694
- "0%",
695
- S(o)("#FFFFFF", 1),
696
- 1
697
- ],
698
- [
699
- "80%",
700
- S(o)("#FFFFFF", M.value.track.gradientIntensity),
701
- 1
702
- ],
703
- [
704
- "100%",
705
- S(o)("#FFFFFF", 1),
706
- 1
707
- ]
708
- ]
709
- }, null, 8, ["id", "stops"])]),
710
- p("defs", null, [p("filter", {
711
- id: `blur_${T.value}`,
712
- x: "-50%",
713
- y: "-50%",
714
- width: "200%",
715
- height: "200%"
716
- }, [p("feGaussianBlur", {
717
- in: "SourceGraphic",
718
- stdDeviation: 100 / M.value.track.gradientIntensity
719
- }, null, 8, Ye)], 8, Je)]),
720
- e.$slots.pattern ? (_(), f("g", Xe, [(_(!0), f(c, null, y(Z.value, (t, n) => (_(), f("defs", null, [b(e.$slots, "pattern", h({ ref_for: !0 }, {
721
- seriesIndex: n,
722
- patternId: `pattern_${T.value}_${n}`
723
- }), void 0, !0)]))), 256))])) : d("", !0),
724
- (_(!0), f(c, null, y(Z.value, (e, t) => (_(), f("path", {
725
- key: `arc_${t}`,
726
- d: e.arcSlice,
727
- fill: e.color,
728
- stroke: N.value.backgroundColor,
729
- "stroke-linecap": "round"
730
- }, null, 8, Ze))), 128)),
731
- e.$slots.pattern ? (_(!0), f(c, { key: 2 }, y(Z.value, (e, t) => (_(), f("path", {
732
- key: `arc_${t}`,
733
- d: e.arcSlice,
734
- fill: `url(#pattern_${T.value}_${t})`,
735
- stroke: N.value.backgroundColor,
736
- "stroke-linecap": "round"
737
- }, null, 8, Qe))), 128)) : d("", !0),
738
- M.value.indicatorArc.show ? (_(), f("path", {
739
- key: 3,
740
- d: ln.value,
741
- fill: M.value.indicatorArc.fill
742
- }, null, 8, $e)) : d("", !0),
743
- k.value.show && k.value.curved ? (_(), f(c, { key: 4 }, [(_(!0), f(c, null, y(Z.value, (e, t) => (_(), f("path", {
744
- id: `curve_${T.value}_${t}`,
745
- d: `M ${G.value.x1},${G.value.y1} m -${Q.value[t]},0 a ${Q.value[t]},${Q.value[t]} 0 1,1 ${2 * Q.value[t]},0 a ${Q.value[t]},${Q.value[t]} 0 1,1 -${2 * Q.value[t]},0`,
746
- fill: "transparent"
747
- }, null, 8, et))), 256)), (_(!0), f(c, null, y(Z.value, (e, t) => (_(), f("text", {
748
- fill: k.value.useSerieColor ? e.color : k.value.color,
749
- "font-size": J.value,
750
- "font-weight": k.value.bold ? "bold" : "normal",
751
- "text-anchor": "middle"
752
- }, [p("textPath", {
753
- href: `#curve_${T.value}_${t}`,
754
- startOffset: sn.value[t]
755
- }, x(e.name || ""), 9, nt)], 8, tt))), 256))], 64)) : d("", !0),
756
- k.value.show && !k.value.curved ? (_(!0), f(c, { key: 5 }, y(nn.value, (e, t) => (_(), f("text", {
757
- class: "vue-ui-gauge-label-flat",
758
- "text-anchor": S(ae)(e, !1, 12).anchor,
759
- fill: k.value.useSerieColor ? e.color : k.value.color,
760
- "font-size": J.value,
761
- "font-weight": k.value.bold ? "bold" : "normal",
762
- innerHTML: S(a)({
763
- content: String(e.name ?? ""),
764
- fontSize: J.value,
765
- fill: k.value.useSerieColor ? e.color : k.value.color,
766
- x: e.center.endX,
767
- y: e.center.endY
768
- })
769
- }, null, 8, rt))), 256)) : d("", !0),
770
- M.value.track.useGradient ? (_(!0), f(c, { key: 6 }, y(cn.value, (e, t) => (_(), f("path", {
771
- key: `arc_${t}`,
772
- d: e.arcSlice,
773
- fill: "#FFFFFF",
774
- stroke: "none",
775
- "stroke-linecap": "round",
776
- filter: `url(#blur_${T.value})`
777
- }, null, 8, it))), 128)) : d("", !0),
778
- O.value.show ? (_(), f(c, { key: 7 }, [
779
- p("line", h(rn.value, {
780
- stroke: N.value.backgroundColor,
781
- "stroke-width": O.value.strokeWidth + 2,
782
- "stroke-linecap": "round"
783
- }), null, 16, at),
784
- p("line", h(rn.value, {
785
- stroke: O.value.stroke,
786
- "stroke-width": O.value.strokeWidth,
787
- "stroke-linecap": "round"
788
- }), null, 16, ot),
789
- (_(!0), f(c, null, y(an.value, (e) => (_(), f("line", h({ ref_for: !0 }, e, {
790
- stroke: N.value.backgroundColor,
791
- "stroke-width": O.value.strokeWidth + 2,
792
- "stroke-linecap": "round"
793
- }), null, 16, st))), 256)),
794
- (_(!0), f(c, null, y(an.value, (e) => (_(), f("line", h({ ref_for: !0 }, e, {
795
- stroke: O.value.stroke,
796
- "stroke-width": O.value.strokeWidth,
797
- "stroke-linecap": "round"
798
- }), null, 16, ct))), 256))
799
- ], 64)) : d("", !0),
800
- A.value.show ? (_(), f("g", lt, [(_(!0), f(c, null, y(Z.value, (e, r) => (_(), f("text", {
801
- x: S(n)({
802
- centerX: G.value.x1,
803
- centerY: X.value.base,
804
- initX: e.center.startX,
805
- initY: e.center.startY,
806
- offset: z.value.markerOffset
807
- }).x,
808
- y: S(n)({
809
- centerX: G.value.x1,
810
- centerY: X.value.base,
811
- initX: e.center.startX,
812
- initY: e.center.startY,
813
- offset: z.value.markerOffset
814
- }).y,
815
- "text-anchor": e.center.startX < G.value.x1 - 5 ? "end" : e.center.startX > G.value.x1 + 5 ? "start" : "middle",
816
- "font-size": z.value.labelFontSize * A.value.fontSizeRatio,
817
- "font-weight": `${A.value.bold ? "bold" : "normal"}`,
818
- fill: A.value.color
819
- }, x(S(oe)(A.value.formatter, e.from, S(t)({
820
- p: A.value.prefix,
821
- v: e.from,
822
- s: A.value.suffix,
823
- r: A.value.roundingValue
824
- }))), 9, ut))), 256))])) : d("", !0),
825
- A.value.show ? (_(), f("text", {
826
- key: 9,
827
- x: S(n)({
828
- centerX: z.value.width / 2,
829
- centerY: X.value.base,
830
- initX: Z.value.at(-1).endX,
831
- initY: Z.value.at(-1).endY,
832
- offset: z.value.markerOffset
833
- }).x,
834
- y: S(n)({
835
- centerX: z.value.width / 2,
836
- centerY: X.value.base,
837
- initX: Z.value.at(-1).endX,
838
- initY: Z.value.at(-1).endY,
839
- offset: z.value.markerOffset
840
- }).y,
841
- "text-anchor": "start",
842
- "font-size": z.value.labelFontSize * A.value.fontSizeRatio,
843
- "font-weight": `${A.value.bold ? "bold" : "normal"}`,
844
- fill: A.value.color
845
- }, x(S(oe)(A.value.formatter, B.value, S(t)({
846
- p: A.value.prefix,
847
- v: B.value,
848
- s: A.value.suffix,
849
- r: A.value.roundingValue
850
- }))), 9, dt)) : d("", !0),
851
- j.value.show ? (_(), f(c, { key: 10 }, [j.value.type === "rounded" ? (_(), f("g", ft, [
852
- isNaN(G.value.x2) ? d("", !0) : (_(), f("line", {
853
- key: 0,
854
- x1: G.value.x1,
855
- y1: G.value.y1,
856
- x2: G.value.x2,
857
- y2: G.value.y2,
858
- stroke: j.value.stroke,
859
- "stroke-width": z.value.pointerStrokeWidth,
860
- "stroke-linecap": "round"
861
- }, null, 8, pt)),
862
- isNaN(G.value.x2) ? d("", !0) : (_(), f("line", {
863
- key: 1,
864
- x1: G.value.x1,
865
- y1: G.value.y1,
866
- x2: G.value.x2,
867
- y2: G.value.y2,
868
- stroke: j.value.useRatingColor ? Qt.value : j.value.color,
869
- "stroke-linecap": "round",
870
- "stroke-width": z.value.pointerStrokeWidth * .7
871
- }, null, 8, mt)),
872
- !isNaN(G.value.x2) && M.value.track.useGradient ? (_(), f("line", {
873
- key: 2,
874
- x1: G.value.x1,
875
- y1: G.value.y1,
876
- x2: G.value.x2,
877
- y2: G.value.y2,
878
- stroke: "white",
879
- "stroke-linecap": "round",
880
- "stroke-width": z.value.pointerStrokeWidth * .3,
881
- filter: `url(#blur_${T.value})`
882
- }, null, 8, ht)) : d("", !0)
883
- ])) : (_(), f("g", gt, [Zt.value ? (_(), f("path", {
884
- key: 0,
885
- d: Zt.value,
886
- fill: j.value.useRatingColor ? Qt.value : j.value.color,
887
- stroke: j.value.stroke,
888
- "stroke-width": j.value.circle.strokeWidth,
889
- "stroke-linejoin": "round"
890
- }, null, 8, _t)) : d("", !0)])), p("circle", {
891
- cx: z.value.width / 2,
892
- cy: X.value.base,
893
- fill: j.value.circle.color,
894
- r: z.value.pointerRadius <= 0 ? 1e-4 : z.value.pointerRadius,
895
- "stroke-width": j.value.circle.strokeWidth,
896
- stroke: j.value.circle.stroke
897
- }, null, 8, vt)], 64)) : d("", !0),
898
- N.value.legend.show ? (_(), f("text", {
899
- key: 11,
900
- x: z.value.width / 2,
901
- y: X.value.ratingBase,
902
- "text-anchor": "middle",
903
- "font-size": z.value.legendFontSize,
904
- "font-weight": "bold",
905
- fill: N.value.legend.useRatingColor ? Qt.value : N.value.legend.color
906
- }, x(S(oe)(N.value.legend.formatter, U.value, S(t)({
907
- p: N.value.legend.prefix + (N.value.legend.showPlusSymbol && U.value > 0 ? "+" : ""),
908
- v: U.value,
909
- s: N.value.legend.suffix,
910
- r: N.value.legend.roundingValue
911
- }))), 9, yt)) : d("", !0),
912
- b(e.$slots, "svg", { svg: {
913
- ...z.value,
914
- isPrintingImg: S(Wt) || S(Gt) || S(gn),
915
- isPrintingSvg: S(_n)
916
- } }, void 0, !0)
917
- ], 14, Ke)),
918
- e.$slots.watermark ? (_(), f("div", bt, [b(e.$slots, "watermark", g(m({ isPrinting: S(Wt) || S(Gt) || S(gn) || S(_n) })), void 0, !0)])) : d("", !0),
919
- p("div", {
920
- ref_key: "chartLegend",
921
- ref: Nt
922
- }, [b(e.$slots, "legend", { legend: L.value }, void 0, !0)], 512),
923
- e.$slots.source ? (_(), f("div", {
924
- key: 5,
925
- ref_key: "source",
926
- ref: Pt,
927
- dir: "auto"
928
- }, [b(e.$slots, "source", {}, void 0, !0)], 512)) : d("", !0),
929
- b(e.$slots, "skeleton", {}, () => [S(zt) ? (_(), u(_e, { key: 0 })) : d("", !0)], !0)
930
- ], 46, We));
931
- }
932
- }, [["__scopeId", "data-v-6cef38b5"]]);
933
- //#endregion
934
- export { Ue as n, xt as t };