vue-data-ui 3.17.13 → 3.18.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 (493) hide show
  1. package/README.md +1 -1
  2. package/dist/A11yDataTable-q2-8fSlJ.js +45 -0
  3. package/dist/Arrow-Cj6W6Xbi.js +116 -0
  4. package/dist/BaseDraggableDialog-BQcmQAK5.js +272 -0
  5. package/dist/BaseIcon-CEmt3Ifx.js +499 -0
  6. package/dist/BaseLegendToggle-DUIqQmwM.js +56 -0
  7. package/dist/BaseScanner-C7dmAref.js +27 -0
  8. package/dist/BaseZoomControls-Ce1yqas1.js +111 -0
  9. package/dist/ColorPicker-DS_QkH3W.js +255 -0
  10. package/dist/DataTable-BvDJEAma.js +150 -0
  11. package/dist/Legend-Gg5Q4Clb.js +114 -0
  12. package/dist/NonSvgPenAndPaper-D4Gh7O43.js +577 -0
  13. package/dist/PackageVersion-DhDKg-ez.js +11 -0
  14. package/dist/PenAndPaper-DwpL8Z0l.js +461 -0
  15. package/dist/RecursiveCircles-DPpLel6f.js +117 -0
  16. package/dist/RecursiveLabels-DBMJf_to.js +56 -0
  17. package/dist/RecursiveLinks-D06dBL4a.js +78 -0
  18. package/dist/Shape-DEGOZ6GG.js +141 -0
  19. package/dist/Slicer-BlfyiHHD.js +1144 -0
  20. package/dist/SlicerPreview-BPS8mYO2.js +1523 -0
  21. package/dist/SparkTooltip-c2DL7gqD.js +93 -0
  22. package/dist/Title-__gWq2g6.js +87 -0
  23. package/dist/Tooltip-B7lmdbac.js +307 -0
  24. package/dist/UserOptions-DMw8EZEo.js +1407 -0
  25. package/dist/_plugin-vue_export-helper-Dq1MygBL.js +8 -0
  26. package/dist/canvas-lib-DTaADQOK.js +79 -0
  27. package/dist/components/arrow.js +2 -5
  28. package/dist/components/vue-ui-3d-bar.js +2 -5
  29. package/dist/components/vue-ui-accordion.js +2 -5
  30. package/dist/components/vue-ui-age-pyramid.js +2 -5
  31. package/dist/components/vue-ui-annotator.js +2 -5
  32. package/dist/components/vue-ui-bullet.js +2 -5
  33. package/dist/components/vue-ui-bump.js +2 -5
  34. package/dist/components/vue-ui-candlestick.js +2 -5
  35. package/dist/components/vue-ui-carousel-table.js +2 -5
  36. package/dist/components/vue-ui-chestnut.js +2 -5
  37. package/dist/components/vue-ui-chord.js +2 -5
  38. package/dist/components/vue-ui-circle-pack.js +2 -5
  39. package/dist/components/vue-ui-cursor.js +2 -5
  40. package/dist/components/vue-ui-dag.js +2 -5
  41. package/dist/components/vue-ui-dashboard.js +2 -5
  42. package/dist/components/vue-ui-digits.js +2 -5
  43. package/dist/components/vue-ui-donut-evolution.js +2 -5
  44. package/dist/components/vue-ui-donut.js +2 -5
  45. package/dist/components/vue-ui-dumbbell.js +2 -5
  46. package/dist/components/vue-ui-flow.js +2 -5
  47. package/dist/components/vue-ui-funnel.js +2 -5
  48. package/dist/components/vue-ui-galaxy.js +2 -5
  49. package/dist/components/vue-ui-gauge.js +2 -5
  50. package/dist/components/vue-ui-geo.js +2 -5
  51. package/dist/components/vue-ui-gizmo.js +2 -5
  52. package/dist/components/vue-ui-heatmap.js +2 -5
  53. package/dist/components/vue-ui-history-plot.js +2 -5
  54. package/dist/components/vue-ui-horizontal-bar.js +2 -5
  55. package/dist/components/vue-ui-icon.js +2 -5
  56. package/dist/components/vue-ui-kpi.js +2 -5
  57. package/dist/components/vue-ui-mini-loader.js +2 -5
  58. package/dist/components/vue-ui-molecule.js +2 -5
  59. package/dist/components/vue-ui-mood-radar.js +2 -5
  60. package/dist/components/vue-ui-nested-donuts.js +2 -5
  61. package/dist/components/vue-ui-onion.js +2 -5
  62. package/dist/components/vue-ui-parallel-coordinate-plot.js +2 -5
  63. package/dist/components/vue-ui-pattern-seed.js +2 -5
  64. package/dist/components/vue-ui-pattern.js +2 -5
  65. package/dist/components/vue-ui-quadrant.js +2 -5
  66. package/dist/components/vue-ui-quick-chart.js +2 -5
  67. package/dist/components/vue-ui-radar.js +2 -5
  68. package/dist/components/vue-ui-rating.js +2 -5
  69. package/dist/components/vue-ui-relation-circle.js +2 -5
  70. package/dist/components/vue-ui-ridgeline.js +2 -5
  71. package/dist/components/vue-ui-rings.js +2 -5
  72. package/dist/components/vue-ui-scatter.js +2 -5
  73. package/dist/components/vue-ui-skeleton.js +2 -5
  74. package/dist/components/vue-ui-smiley.js +2 -5
  75. package/dist/components/vue-ui-spark-trend.js +2 -5
  76. package/dist/components/vue-ui-sparkbar.js +2 -5
  77. package/dist/components/vue-ui-sparkgauge.js +2 -5
  78. package/dist/components/vue-ui-sparkhistogram.js +2 -5
  79. package/dist/components/vue-ui-sparkline.js +2 -5
  80. package/dist/components/vue-ui-sparkstackbar.js +2 -5
  81. package/dist/components/vue-ui-stackbar.js +2 -5
  82. package/dist/components/vue-ui-stackline.js +2 -5
  83. package/dist/components/vue-ui-strip-plot.js +2 -5
  84. package/dist/components/vue-ui-table-heatmap.js +2 -5
  85. package/dist/components/vue-ui-table-sparkline.js +2 -5
  86. package/dist/components/vue-ui-table.js +2 -5
  87. package/dist/components/vue-ui-thermometer.js +2 -5
  88. package/dist/components/vue-ui-timer.js +2 -5
  89. package/dist/components/vue-ui-tiremarks.js +2 -5
  90. package/dist/components/vue-ui-treemap.js +2 -5
  91. package/dist/components/vue-ui-vertical-bar.js +2 -5
  92. package/dist/components/vue-ui-waffle.js +2 -5
  93. package/dist/components/vue-ui-wheel.js +2 -5
  94. package/dist/components/vue-ui-word-cloud.js +2 -5
  95. package/dist/components/vue-ui-world.js +2 -5
  96. package/dist/components/vue-ui-xy-canvas.js +2 -5
  97. package/dist/components/vue-ui-xy.js +2 -5
  98. package/dist/dom-to-png-9WSt6hXe.js +237 -0
  99. package/dist/exposedLib-CwWU4zv-.js +19 -0
  100. package/dist/geoProjections-CQIkC70z.js +146 -0
  101. package/dist/img-BjOr008R.js +74 -0
  102. package/dist/labelUtils-Cr97N8E1.js +19 -0
  103. package/dist/lib-BkiwukKO.js +1879 -0
  104. package/dist/patternUtils-B7BWu5bV.js +258 -0
  105. package/dist/pdf-DSXSFUnK.js +90 -0
  106. package/dist/rolldown-runtime-CAFD8bLK.js +11 -0
  107. package/dist/style.css +2 -1
  108. package/dist/types/arrow.d.ts +1 -1
  109. package/dist/types/utils.d.ts +23 -0
  110. package/dist/types/vue-data-ui.d.ts +4775 -627
  111. package/dist/types/vue-ui-3d-bar.d.ts +64 -9
  112. package/dist/types/vue-ui-accordion.d.ts +4 -3
  113. package/dist/types/vue-ui-age-pyramid.d.ts +79 -9
  114. package/dist/types/vue-ui-annotator.d.ts +3 -5
  115. package/dist/types/vue-ui-bullet.d.ts +60 -9
  116. package/dist/types/vue-ui-bump.d.ts +65 -9
  117. package/dist/types/vue-ui-candlestick.d.ts +83 -9
  118. package/dist/types/vue-ui-carousel-table.d.ts +36 -6
  119. package/dist/types/vue-ui-chestnut.d.ts +66 -9
  120. package/dist/types/vue-ui-chord.d.ts +78 -9
  121. package/dist/types/vue-ui-circle-pack.d.ts +86 -9
  122. package/dist/types/vue-ui-cursor.d.ts +4 -2
  123. package/dist/types/vue-ui-dag.d.ts +92 -9
  124. package/dist/types/vue-ui-dashboard.d.ts +43 -6
  125. package/dist/types/vue-ui-digits.d.ts +4 -2
  126. package/dist/types/vue-ui-donut-evolution.d.ts +70 -9
  127. package/dist/types/vue-ui-donut.d.ts +92 -9
  128. package/dist/types/vue-ui-dumbbell.d.ts +65 -9
  129. package/dist/types/vue-ui-flow.d.ts +79 -9
  130. package/dist/types/vue-ui-funnel.d.ts +55 -9
  131. package/dist/types/vue-ui-galaxy.d.ts +83 -9
  132. package/dist/types/vue-ui-gauge.d.ts +64 -9
  133. package/dist/types/vue-ui-geo.d.ts +71 -9
  134. package/dist/types/vue-ui-gizmo.d.ts +17 -6
  135. package/dist/types/vue-ui-heatmap.d.ts +73 -9
  136. package/dist/types/vue-ui-history-plot.d.ts +82 -9
  137. package/dist/types/vue-ui-horizontal-bar.d.ts +84 -9
  138. package/dist/types/vue-ui-icon.d.ts +2 -2
  139. package/dist/types/vue-ui-kpi.d.ts +21 -7
  140. package/dist/types/vue-ui-mini-loader.d.ts +5 -3
  141. package/dist/types/vue-ui-molecule.d.ts +86 -9
  142. package/dist/types/vue-ui-mood-radar.d.ts +66 -9
  143. package/dist/types/vue-ui-nested-donuts.d.ts +80 -9
  144. package/dist/types/vue-ui-onion.d.ts +77 -9
  145. package/dist/types/vue-ui-parallel-coordinate-plot.d.ts +92 -9
  146. package/dist/types/vue-ui-pattern-seed.d.ts +1 -1
  147. package/dist/types/vue-ui-pattern.d.ts +2 -2
  148. package/dist/types/vue-ui-quadrant.d.ts +86 -9
  149. package/dist/types/vue-ui-quick-chart.d.ts +79 -9
  150. package/dist/types/vue-ui-radar.d.ts +83 -9
  151. package/dist/types/vue-ui-rating.d.ts +22 -6
  152. package/dist/types/vue-ui-relation-circle.d.ts +66 -9
  153. package/dist/types/vue-ui-ridgeline.d.ts +69 -9
  154. package/dist/types/vue-ui-rings.d.ts +70 -9
  155. package/dist/types/vue-ui-scatter.d.ts +67 -9
  156. package/dist/types/vue-ui-skeleton.d.ts +3 -2
  157. package/dist/types/vue-ui-smiley.d.ts +3 -2
  158. package/dist/types/vue-ui-spark-trend.d.ts +14 -6
  159. package/dist/types/vue-ui-sparkbar.d.ts +27 -6
  160. package/dist/types/vue-ui-sparkgauge.d.ts +20 -6
  161. package/dist/types/vue-ui-sparkhistogram.d.ts +24 -6
  162. package/dist/types/vue-ui-sparkline.d.ts +35 -6
  163. package/dist/types/vue-ui-sparkstackbar.d.ts +35 -6
  164. package/dist/types/vue-ui-stackbar.d.ts +85 -9
  165. package/dist/types/vue-ui-stackline.d.ts +81 -9
  166. package/dist/types/vue-ui-strip-plot.d.ts +66 -9
  167. package/dist/types/vue-ui-table-heatmap.d.ts +52 -6
  168. package/dist/types/vue-ui-table-sparkline.d.ts +30 -6
  169. package/dist/types/vue-ui-table.d.ts +10 -2
  170. package/dist/types/vue-ui-thermometer.d.ts +46 -9
  171. package/dist/types/vue-ui-timer.d.ts +31 -5
  172. package/dist/types/vue-ui-tiremarks.d.ts +46 -9
  173. package/dist/types/vue-ui-treemap.d.ts +73 -9
  174. package/dist/types/vue-ui-vertical-bar.d.ts +2 -2
  175. package/dist/types/vue-ui-waffle.d.ts +72 -9
  176. package/dist/types/vue-ui-wheel.d.ts +46 -9
  177. package/dist/types/vue-ui-word-cloud.d.ts +73 -9
  178. package/dist/types/vue-ui-world.d.ts +68 -9
  179. package/dist/types/vue-ui-xy-canvas.d.ts +75 -9
  180. package/dist/types/vue-ui-xy.d.ts +108 -10
  181. package/dist/useAutoSizeLabelsInsideViewbox-dp-3Gg97.js +50 -0
  182. package/dist/useChartAccessibility-Do37qcw2.js +12 -0
  183. package/dist/useConfig-BV0kTCnO.js +7431 -0
  184. package/dist/useFitSvgText-C-MEdAfe.js +63 -0
  185. package/dist/useNestedProp-Ck4hsrpu.js +10 -0
  186. package/dist/useObjectBindings-Ce_ZZk-f.js +189 -0
  187. package/dist/usePanZoom-B-4M_gmY.js +157 -0
  188. package/dist/usePrefersMotion-BywLbIko.js +15 -0
  189. package/dist/usePrinter-X0yWOynH.js +49 -0
  190. package/dist/useResponsive-CrAInupd.js +19 -0
  191. package/dist/useStableElementSize-0I1IpHPl.js +77 -0
  192. package/dist/useSvgExport-Dtu973wa.js +755 -0
  193. package/dist/useTableResponsive-DrM1xqII.js +24 -0
  194. package/dist/useThemeCheck-rFK9Zlb_.js +24 -0
  195. package/dist/useTimeLabelCollider-Dm55Emzg.js +57 -0
  196. package/dist/useTimeLabels-C0x7zUXP.js +272 -0
  197. package/dist/useUserOptionState-CjPJPTg2.js +15 -0
  198. package/dist/utils.js +27 -44
  199. package/dist/vClickOutside-CbX_bC9A.js +13 -0
  200. package/dist/vue-data-ui-DIh8ayZc.js +274 -0
  201. package/dist/vue-data-ui.js +76 -167
  202. package/dist/vue-ui-3d-bar-BZ8_6ylo.js +1747 -0
  203. package/dist/vue-ui-accordion-cVv18nTV.js +81 -0
  204. package/dist/vue-ui-age-pyramid-BR3i-CgS.js +1226 -0
  205. package/dist/vue-ui-annotator-B9mA_PlF.js +2899 -0
  206. package/dist/vue-ui-bullet-ByJdNLVf.js +700 -0
  207. package/dist/vue-ui-bump-Ps1gkA-F.js +1239 -0
  208. package/dist/vue-ui-candlestick-0C1QFoV4.js +1802 -0
  209. package/dist/vue-ui-carousel-table-1P28pCRK.js +445 -0
  210. package/dist/vue-ui-chestnut-CJOCGWwX.js +2000 -0
  211. package/dist/vue-ui-chord-BpiVJCCm.js +1381 -0
  212. package/dist/vue-ui-circle-pack-C3wvXz1f.js +1183 -0
  213. package/dist/vue-ui-cursor-CNn_3b24.js +283 -0
  214. package/dist/vue-ui-dag-DRVXVCJV.js +2899 -0
  215. package/dist/vue-ui-dashboard-gOXyms0o.js +503 -0
  216. package/dist/vue-ui-digits-DIKyN3z6.js +209 -0
  217. package/dist/vue-ui-donut-RogzKj0G.js +2396 -0
  218. package/dist/vue-ui-donut-evolution-Bxz06Qqf.js +1490 -0
  219. package/dist/vue-ui-dumbbell-D10T4gmB.js +1517 -0
  220. package/dist/vue-ui-flow-OK563Z46.js +1223 -0
  221. package/dist/vue-ui-funnel-nWmbiJu5.js +767 -0
  222. package/dist/vue-ui-galaxy-CtaTlHWZ.js +1062 -0
  223. package/dist/vue-ui-gauge-DWTEHJqX.js +910 -0
  224. package/dist/vue-ui-geo-DUpWvv5m.js +1504 -0
  225. package/dist/vue-ui-gizmo-vddzP4dM.js +225 -0
  226. package/dist/vue-ui-heatmap-CUE_zJQa.js +1556 -0
  227. package/dist/vue-ui-history-plot-CcRg_NgJ.js +1551 -0
  228. package/dist/vue-ui-horizontal-bar-DX5aZOEn.js +1669 -0
  229. package/dist/vue-ui-kpi-B74v84Hu.js +96 -0
  230. package/dist/vue-ui-mini-loader-BcCG6Yqb.js +125 -0
  231. package/dist/vue-ui-molecule-CVdB8rxf.js +912 -0
  232. package/dist/vue-ui-mood-radar-CWDVBOck.js +1138 -0
  233. package/dist/vue-ui-nested-donuts-Be8b5d81.js +1472 -0
  234. package/dist/vue-ui-onion-Cs90yQQZ.js +1188 -0
  235. package/dist/vue-ui-parallel-coordinate-plot-D-mZdTop.js +1413 -0
  236. package/dist/vue-ui-pattern-Bj-IPFr2.js +154 -0
  237. package/dist/vue-ui-pattern-seed-abRweCDE.js +61 -0
  238. package/dist/vue-ui-quadrant-DLD_ZR9M.js +1966 -0
  239. package/dist/vue-ui-quick-chart-UWjZdmzt.js +2459 -0
  240. package/dist/vue-ui-radar-Bxu07MOG.js +1214 -0
  241. package/dist/vue-ui-rating-DA9Bmfyb.js +343 -0
  242. package/dist/vue-ui-relation-circle-O5s1UJtt.js +914 -0
  243. package/dist/vue-ui-ridgeline-C3siN0d_.js +1612 -0
  244. package/dist/vue-ui-rings-DVVDtwhB.js +1231 -0
  245. package/dist/vue-ui-scatter-Cfvh06OC.js +2380 -0
  246. package/dist/vue-ui-skeleton-CxTmGCQp.js +2556 -0
  247. package/dist/vue-ui-smiley-B6nc7b71.js +356 -0
  248. package/dist/vue-ui-spark-trend--39vutfQ.js +438 -0
  249. package/dist/vue-ui-sparkbar-DhCRNOu4.js +393 -0
  250. package/dist/vue-ui-sparkgauge-6Igkqlqs.js +255 -0
  251. package/dist/vue-ui-sparkhistogram-BLEzZSZi.js +560 -0
  252. package/dist/vue-ui-sparkline-ppwKM4aO.js +1503 -0
  253. package/dist/vue-ui-sparkstackbar-uIzSq9Wh.js +660 -0
  254. package/dist/vue-ui-stackbar-CdOkMCbI.js +2235 -0
  255. package/dist/vue-ui-stackline-DifD9OXC.js +2362 -0
  256. package/dist/vue-ui-strip-plot-D1LjIVqK.js +1328 -0
  257. package/dist/vue-ui-table-WDkEyyQ0.js +1338 -0
  258. package/dist/vue-ui-table-heatmap-CfGJVzI3.js +334 -0
  259. package/dist/vue-ui-table-sparkline-BEWWP4Rq.js +697 -0
  260. package/dist/vue-ui-thermometer-CFWOAB8K.js +753 -0
  261. package/dist/vue-ui-timer-D1DQyf9i.js +439 -0
  262. package/dist/vue-ui-tiremarks-IeM3BlPW.js +542 -0
  263. package/dist/vue-ui-treemap-BGZM7ibv.js +1575 -0
  264. package/dist/vue-ui-waffle-a3dFVBk4.js +1350 -0
  265. package/dist/vue-ui-wheel-OnIRQJ8a.js +875 -0
  266. package/dist/vue-ui-word-cloud-C9SkyutR.js +1644 -0
  267. package/dist/vue-ui-world-CEevuFbk.js +14252 -0
  268. package/dist/vue-ui-xy-1hee-IEM.js +4114 -0
  269. package/dist/vue-ui-xy-canvas-D2f0d45c.js +1774 -0
  270. package/dist/vue_ui_3d_bar-CXKqO5Ej.js +185 -0
  271. package/dist/vue_ui_age_pyramid-BON8QI6X.js +301 -0
  272. package/dist/vue_ui_bullet-CE5sFT7u.js +186 -0
  273. package/dist/vue_ui_bump-frnXaXul.js +201 -0
  274. package/dist/vue_ui_candlestick-sY6UtOop.js +374 -0
  275. package/dist/vue_ui_chestnut-BiUZFv40.js +305 -0
  276. package/dist/vue_ui_chord-DpyR_b9A.js +275 -0
  277. package/dist/vue_ui_circle_pack-DBKz_Fi_.js +130 -0
  278. package/dist/vue_ui_dag-Ci_MOnvd.js +258 -0
  279. package/dist/vue_ui_donut-Cx2_BGcQ.js +358 -0
  280. package/dist/vue_ui_donut_evolution-CAJefrHs.js +717 -0
  281. package/dist/vue_ui_dumbbell-CClzAZTN.js +304 -0
  282. package/dist/vue_ui_flow-CCHO1Lo9.js +238 -0
  283. package/dist/vue_ui_funnel-h8q2mRpC.js +234 -0
  284. package/dist/vue_ui_galaxy-70vtkEBw.js +265 -0
  285. package/dist/vue_ui_gauge-C17CgfzN.js +178 -0
  286. package/dist/vue_ui_geo-C0UbQ0Lc.js +248 -0
  287. package/dist/vue_ui_heatmap-BqPP3J4M.js +319 -0
  288. package/dist/vue_ui_history_plot-C5nytDHh.js +413 -0
  289. package/dist/vue_ui_horizontal_bar-Bqxorkc_.js +341 -0
  290. package/dist/vue_ui_molecule-Dka4JBOp.js +231 -0
  291. package/dist/vue_ui_mood_radar-Dg4ijm53.js +281 -0
  292. package/dist/vue_ui_nested_donuts-BY9cOoHF.js +273 -0
  293. package/dist/vue_ui_onion-DTV9cup-.js +293 -0
  294. package/dist/vue_ui_parallel_coordinate_plot-CNWrDh96.js +278 -0
  295. package/dist/vue_ui_quadrant-3kjYvxpj.js +428 -0
  296. package/dist/vue_ui_quick_chart--VaYQuM4.js +139 -0
  297. package/dist/vue_ui_radar-Dxx9GJmj.js +306 -0
  298. package/dist/vue_ui_relation_circle-Cr0I2SoU.js +98 -0
  299. package/dist/vue_ui_ridgeline-CAtYca4b.js +767 -0
  300. package/dist/vue_ui_rings-DXC1VeX5.js +320 -0
  301. package/dist/vue_ui_scatter-D2S2j0ap.js +479 -0
  302. package/dist/vue_ui_spark_trend-BHMQ6_1p.js +82 -0
  303. package/dist/vue_ui_sparkbar-BR6hbuDE.js +64 -0
  304. package/dist/vue_ui_sparkgauge-xfPRHnMv.js +90 -0
  305. package/dist/vue_ui_sparkhistogram-CJRENZ1C.js +123 -0
  306. package/dist/vue_ui_sparkline-wgk7yO7E.js +151 -0
  307. package/dist/vue_ui_sparkstackbar-C5qZMmAl.js +175 -0
  308. package/dist/vue_ui_stackbar-BW_C3MXw.js +412 -0
  309. package/dist/vue_ui_stackline-DpI2LnjO.js +426 -0
  310. package/dist/vue_ui_strip_plot-8ZelqC5b.js +301 -0
  311. package/dist/vue_ui_table_heatmap-BGUjA0WA.js +80 -0
  312. package/dist/vue_ui_table_sparkline-i0Q-N_we.js +124 -0
  313. package/dist/vue_ui_thermometer-CuN7Gpez.js +123 -0
  314. package/dist/vue_ui_tiremarks-A6UHC0c3.js +122 -0
  315. package/dist/vue_ui_treemap-BQp06q-g.js +328 -0
  316. package/dist/vue_ui_vertical_bar-CJSD1FZS.js +247 -0
  317. package/dist/vue_ui_waffle-C_Ev4l7B.js +292 -0
  318. package/dist/vue_ui_wheel-DdkTPXJU.js +133 -0
  319. package/dist/vue_ui_word_cloud-B1PbsYPc.js +254 -0
  320. package/dist/vue_ui_xy-BYPqfYyx.js +482 -0
  321. package/dist/vue_ui_xy_canvas-CMHGNrLf.js +408 -0
  322. package/package.json +7 -7
  323. package/dist/A11yDataTable-BpmuNomI.js +0 -54
  324. package/dist/Arrow-dSvLFssU.js +0 -101
  325. package/dist/BaseDraggableDialog-Di8Hlru3.js +0 -249
  326. package/dist/BaseIcon-DX0hTWa-.js +0 -476
  327. package/dist/BaseLegendToggle-cMP8M2u0.js +0 -47
  328. package/dist/BaseScanner-C2j3TsSY.js +0 -36
  329. package/dist/BaseZoomControls-CVSC1-SU.js +0 -123
  330. package/dist/ColorPicker-bAxGcXK0.js +0 -271
  331. package/dist/DataTable-cMnb68Ik.js +0 -145
  332. package/dist/Legend-DGN5lY60.js +0 -104
  333. package/dist/NonSvgPenAndPaper-B6E0zEYe.js +0 -573
  334. package/dist/PackageVersion-BfrCAH6_.js +0 -10
  335. package/dist/PenAndPaper-CJDoB5H9.js +0 -527
  336. package/dist/RecursiveCircles-BE6GoMmo.js +0 -101
  337. package/dist/RecursiveLabels-BhQMS9Sm.js +0 -55
  338. package/dist/RecursiveLinks-BDwyYfP-.js +0 -83
  339. package/dist/Shape-CxJ5_Rre.js +0 -116
  340. package/dist/Slicer-D7UcO8sN.js +0 -1145
  341. package/dist/SlicerPreview-D_CgrN_7.js +0 -1580
  342. package/dist/SparkTooltip-D4bM-kfz.js +0 -68
  343. package/dist/Title-BbKoiBk2.js +0 -88
  344. package/dist/Tooltip-Cvt7Fi0Q.js +0 -299
  345. package/dist/UserOptions-DVduN6X7.js +0 -1474
  346. package/dist/_plugin-vue_export-helper-CHgC5LLL.js +0 -9
  347. package/dist/dom-to-png-DGvx6i5V.js +0 -262
  348. package/dist/exposedLib-sJvY1pST.js +0 -22
  349. package/dist/geoProjections-BFq2sOBY.js +0 -162
  350. package/dist/img-CjTQXS0U.js +0 -57
  351. package/dist/labelUtils-DX9oyq3C.js +0 -26
  352. package/dist/lib-DMzrGQHK.js +0 -2477
  353. package/dist/patternUtils-BINhU4Ky.js +0 -615
  354. package/dist/pdf-C4H4o1Cj.js +0 -88
  355. package/dist/useAutoSizeLabelsInsideViewbox-izlGDfwu.js +0 -55
  356. package/dist/useChartAccessibility-cp6XQtqi.js +0 -15
  357. package/dist/useConfig-CG4HT3wS.js +0 -7901
  358. package/dist/useFitSvgText-2crs6Fv5.js +0 -69
  359. package/dist/useNestedProp-DH0BEVVS.js +0 -13
  360. package/dist/useObjectBindings-Dixg-RIe.js +0 -228
  361. package/dist/usePanZoom-BbDhcKWf.js +0 -141
  362. package/dist/usePrefersMotion-Co0nj1eS.js +0 -17
  363. package/dist/usePrinter-C4t8DdQ-.js +0 -51
  364. package/dist/useResponsive-DfdjqQps.js +0 -195
  365. package/dist/useStableElementSize-C48ZVcZQ.js +0 -77
  366. package/dist/useSvgExport-BTG4hVPO.js +0 -870
  367. package/dist/useTableResponsive-BpfiEtzR.js +0 -26
  368. package/dist/useThemeCheck-C9Ccl7U9.js +0 -36
  369. package/dist/useTimeLabelCollider-D3JeJ6Ye.js +0 -86
  370. package/dist/useTimeLabels-Cv0tD9In.js +0 -307
  371. package/dist/useUserOptionState-B7Ej974k.js +0 -19
  372. package/dist/vClickOutside-C6WiFswA.js +0 -13
  373. package/dist/vue-data-ui-D1ZI7Y4l.js +0 -433
  374. package/dist/vue-ui-3d-bar-DEjKYzI5.js +0 -1824
  375. package/dist/vue-ui-accordion-DFtpH_16.js +0 -92
  376. package/dist/vue-ui-age-pyramid-LiC9hTjP.js +0 -1179
  377. package/dist/vue-ui-annotator-DrKnQoHf.js +0 -2991
  378. package/dist/vue-ui-bullet-DdxEINdq.js +0 -769
  379. package/dist/vue-ui-bump-CdgO1V7z.js +0 -1250
  380. package/dist/vue-ui-candlestick-DxJnPwto.js +0 -1775
  381. package/dist/vue-ui-carousel-table-CMefu5TI.js +0 -487
  382. package/dist/vue-ui-chestnut-BnGN72PO.js +0 -2001
  383. package/dist/vue-ui-chord-DWyar45U.js +0 -1457
  384. package/dist/vue-ui-circle-pack-CQ8vF2XH.js +0 -1076
  385. package/dist/vue-ui-cursor-HHOdkmyB.js +0 -260
  386. package/dist/vue-ui-dag-BDWPBElq.js +0 -3209
  387. package/dist/vue-ui-dashboard-Dg_I3X2a.js +0 -627
  388. package/dist/vue-ui-digits-CZmdir8V.js +0 -211
  389. package/dist/vue-ui-donut-BKegKHxj.js +0 -2608
  390. package/dist/vue-ui-donut-evolution-047dE4Lu.js +0 -1578
  391. package/dist/vue-ui-dumbbell-BL4ZMChj.js +0 -1552
  392. package/dist/vue-ui-flow-BAqtyunQ.js +0 -1279
  393. package/dist/vue-ui-funnel-Pl2sEOZs.js +0 -823
  394. package/dist/vue-ui-galaxy-CBF5Wsax.js +0 -1108
  395. package/dist/vue-ui-gauge-COV_S0Vp.js +0 -955
  396. package/dist/vue-ui-geo-CaPXElPf.js +0 -1510
  397. package/dist/vue-ui-gizmo-Csn7up96.js +0 -238
  398. package/dist/vue-ui-heatmap-Cpb0BYLa.js +0 -1694
  399. package/dist/vue-ui-history-plot-ZZEdzFCE.js +0 -1564
  400. package/dist/vue-ui-horizontal-bar-BonPYUZf.js +0 -1735
  401. package/dist/vue-ui-kpi-DoHhSsDK.js +0 -130
  402. package/dist/vue-ui-mini-loader-DOTBVCLE.js +0 -138
  403. package/dist/vue-ui-molecule-mVYnXouV.js +0 -945
  404. package/dist/vue-ui-mood-radar-DPvwnc3z.js +0 -1197
  405. package/dist/vue-ui-nested-donuts-C7E6TXrZ.js +0 -1702
  406. package/dist/vue-ui-onion-BGIlFhGB.js +0 -1207
  407. package/dist/vue-ui-parallel-coordinate-plot-C6G_A9ua.js +0 -1432
  408. package/dist/vue-ui-pattern-mXZW_pvA.js +0 -146
  409. package/dist/vue-ui-pattern-seed-BcNlxb2i.js +0 -36
  410. package/dist/vue-ui-quadrant-CVpIeYOB.js +0 -1918
  411. package/dist/vue-ui-quick-chart-CcV8qn9-.js +0 -2514
  412. package/dist/vue-ui-radar-G4AV1rBo.js +0 -1259
  413. package/dist/vue-ui-rating-CqPlP88P.js +0 -370
  414. package/dist/vue-ui-relation-circle-CkZ8oFVV.js +0 -856
  415. package/dist/vue-ui-ridgeline-CBTyYn6Q.js +0 -1737
  416. package/dist/vue-ui-rings-CSIOqFiP.js +0 -1256
  417. package/dist/vue-ui-scatter-AuC46ufT.js +0 -2345
  418. package/dist/vue-ui-skeleton-YD6rZjY_.js +0 -2475
  419. package/dist/vue-ui-smiley-CY0WFv2j.js +0 -391
  420. package/dist/vue-ui-spark-trend-D8KGIt-R.js +0 -423
  421. package/dist/vue-ui-sparkbar-BjWGJjzN.js +0 -424
  422. package/dist/vue-ui-sparkgauge-Dab5mss7.js +0 -285
  423. package/dist/vue-ui-sparkhistogram-D0rsmiPh.js +0 -559
  424. package/dist/vue-ui-sparkline-BCaauQuX.js +0 -1550
  425. package/dist/vue-ui-sparkstackbar-NT5yD6xA.js +0 -672
  426. package/dist/vue-ui-stackbar-ChBk_A1c.js +0 -2393
  427. package/dist/vue-ui-stackline-Cujamlze.js +0 -2490
  428. package/dist/vue-ui-strip-plot-CGBumG6I.js +0 -1293
  429. package/dist/vue-ui-table-BX2iMku4.js +0 -1726
  430. package/dist/vue-ui-table-heatmap-KXgXYVXm.js +0 -353
  431. package/dist/vue-ui-table-sparkline-C3NWnry0.js +0 -803
  432. package/dist/vue-ui-thermometer-DvdceZB1.js +0 -743
  433. package/dist/vue-ui-timer-XWAbvuAY.js +0 -504
  434. package/dist/vue-ui-tiremarks-B-YI1RlT.js +0 -578
  435. package/dist/vue-ui-treemap-AzorGfmd.js +0 -1757
  436. package/dist/vue-ui-waffle-CKtUvdTE.js +0 -1442
  437. package/dist/vue-ui-wheel-CnsLEArZ.js +0 -908
  438. package/dist/vue-ui-word-cloud-iAme2ihe.js +0 -1644
  439. package/dist/vue-ui-world-D5rrC9rw.js +0 -14452
  440. package/dist/vue-ui-xy-C_Q9chQe.js +0 -4468
  441. package/dist/vue-ui-xy-canvas-DG0299qE.js +0 -2107
  442. package/dist/vue_ui_3d_bar-CL0iX8Qi.js +0 -22
  443. package/dist/vue_ui_age_pyramid-8H8WSL7J.js +0 -22
  444. package/dist/vue_ui_bullet-Ckqieba5.js +0 -22
  445. package/dist/vue_ui_bump-CIht647H.js +0 -22
  446. package/dist/vue_ui_candlestick-BAMn-VGw.js +0 -22
  447. package/dist/vue_ui_chestnut-BloFvDuV.js +0 -22
  448. package/dist/vue_ui_chord-Bc1_ocwK.js +0 -22
  449. package/dist/vue_ui_circle_pack-CLmw8nHe.js +0 -22
  450. package/dist/vue_ui_dag-ZOwuDBZ8.js +0 -22
  451. package/dist/vue_ui_donut-CA4dgV8J.js +0 -22
  452. package/dist/vue_ui_donut_evolution-DFQU-rqE.js +0 -22
  453. package/dist/vue_ui_dumbbell-BCOHDiPk.js +0 -22
  454. package/dist/vue_ui_flow-BErINgox.js +0 -22
  455. package/dist/vue_ui_funnel-yuaMZ-yb.js +0 -22
  456. package/dist/vue_ui_galaxy-D95AN4FT.js +0 -22
  457. package/dist/vue_ui_gauge-BMEuRC4J.js +0 -22
  458. package/dist/vue_ui_geo--kg4VoVX.js +0 -22
  459. package/dist/vue_ui_heatmap-C9u993qE.js +0 -22
  460. package/dist/vue_ui_history_plot-BCKk1CrQ.js +0 -22
  461. package/dist/vue_ui_horizontal_bar-BEagrV0T.js +0 -22
  462. package/dist/vue_ui_molecule-BtvlINUh.js +0 -22
  463. package/dist/vue_ui_mood_radar-BUs6Fdn8.js +0 -22
  464. package/dist/vue_ui_nested_donuts-DvTrWT_C.js +0 -22
  465. package/dist/vue_ui_onion-CxWH9_OZ.js +0 -22
  466. package/dist/vue_ui_parallel_coordinate_plot-DH3cFJ3n.js +0 -22
  467. package/dist/vue_ui_quadrant-DjRs--Uz.js +0 -22
  468. package/dist/vue_ui_quick_chart-DMCjEjPe.js +0 -22
  469. package/dist/vue_ui_radar-DryGBOrz.js +0 -22
  470. package/dist/vue_ui_relation_circle-CCroen7h.js +0 -22
  471. package/dist/vue_ui_ridgeline-j4rVmpEp.js +0 -22
  472. package/dist/vue_ui_rings-CxOrekqA.js +0 -22
  473. package/dist/vue_ui_scatter-Bu1EAy9H.js +0 -22
  474. package/dist/vue_ui_spark_trend-3BjrSprO.js +0 -22
  475. package/dist/vue_ui_sparkbar-BsMzz5Um.js +0 -22
  476. package/dist/vue_ui_sparkgauge-KnjASOZs.js +0 -22
  477. package/dist/vue_ui_sparkhistogram-GBdzIVvS.js +0 -22
  478. package/dist/vue_ui_sparkline-CQ8DJVJx.js +0 -22
  479. package/dist/vue_ui_sparkstackbar-BSexvOuM.js +0 -22
  480. package/dist/vue_ui_stackbar-CuDC4O4b.js +0 -22
  481. package/dist/vue_ui_stackline-QTh-nuxE.js +0 -22
  482. package/dist/vue_ui_strip_plot-B9ypi_F3.js +0 -22
  483. package/dist/vue_ui_table_heatmap-CkvipPVy.js +0 -16
  484. package/dist/vue_ui_table_sparkline-yQdijcyJ.js +0 -22
  485. package/dist/vue_ui_thermometer-BTmjRBH8.js +0 -22
  486. package/dist/vue_ui_tiremarks-DBotWfi8.js +0 -22
  487. package/dist/vue_ui_treemap-D9-AIkT-.js +0 -22
  488. package/dist/vue_ui_vertical_bar-CELc39b8.js +0 -18
  489. package/dist/vue_ui_waffle-M2h-uJQ_.js +0 -22
  490. package/dist/vue_ui_wheel-LqBz3lv4.js +0 -22
  491. package/dist/vue_ui_word_cloud-mKAtBxHR.js +0 -22
  492. package/dist/vue_ui_xy-esktmpg-.js +0 -22
  493. package/dist/vue_ui_xy_canvas-6BBDSowT.js +0 -22
@@ -0,0 +1,910 @@
1
+ import { t as e } from "./rolldown-runtime-CAFD8bLK.js";
2
+ import { B as t, C as n, Ct as r, G as i, H as a, Lt as ee, Rt as o, St as s, Tt as te, X as c, bt as l, i as u, jt as ne, ot as re, t as ie, u as ae, v as oe, x as se, y as ce, zt as le } from "./lib-BkiwukKO.js";
3
+ import { t as ue } from "./useConfig-BV0kTCnO.js";
4
+ import { t as de } from "./usePrinter-X0yWOynH.js";
5
+ import { n as fe, t as pe } from "./BaseScanner-C7dmAref.js";
6
+ import { t as me } from "./useSvgExport-Dtu973wa.js";
7
+ import { t as he } from "./useNestedProp-Ck4hsrpu.js";
8
+ import { t as ge } from "./useThemeCheck-rFK9Zlb_.js";
9
+ import { t as _e } from "./img-BjOr008R.js";
10
+ import { n as ve } from "./Title-__gWq2g6.js";
11
+ import { t as ye } from "./_plugin-vue_export-helper-Dq1MygBL.js";
12
+ import { c as be } from "./canvas-lib-DTaADQOK.js";
13
+ import { t as xe } from "./useResponsive-CrAInupd.js";
14
+ import { t as Se } from "./useUserOptionState-CjPJPTg2.js";
15
+ import { t as Ce } from "./useChartAccessibility-Do37qcw2.js";
16
+ import { t as we } from "./useAutoSizeLabelsInsideViewbox-dp-3Gg97.js";
17
+ import { t as Te } from "./vue_ui_gauge-C17CgfzN.js";
18
+ import { Fragment as d, computed as f, createBlock as p, createCommentVNode as m, createElementBlock as h, createElementVNode as g, createSlots as Ee, createVNode as De, defineAsyncComponent as _, guardReactiveProps as v, mergeProps as y, nextTick as Oe, normalizeClass as ke, normalizeProps as b, normalizeStyle as Ae, onBeforeUnmount as je, onMounted as Me, openBlock as x, ref as S, renderList as C, renderSlot as w, shallowRef as Ne, toDisplayString as T, toRefs as Pe, unref as E, watch as Fe, withCtx as D } from "vue";
19
+ //#region src/components/vue-ui-gauge.vue
20
+ var Ie = /* @__PURE__ */ e({ default: () => vt }), Le = ["id"], Re = { key: 0 }, ze = ["xmlns", "viewBox"], Be = ["width", "height"], Ve = ["id"], He = ["stop-color"], Ue = ["stop-color"], We = ["stop-color"], Ge = ["id"], Ke = ["stdDeviation"], qe = { key: 1 }, Je = [
21
+ "d",
22
+ "fill",
23
+ "stroke"
24
+ ], Ye = [
25
+ "d",
26
+ "fill",
27
+ "stroke"
28
+ ], Xe = ["d", "fill"], Ze = ["id", "d"], Qe = [
29
+ "fill",
30
+ "font-size",
31
+ "font-weight"
32
+ ], $e = ["href", "startOffset"], et = [
33
+ "text-anchor",
34
+ "fill",
35
+ "font-size",
36
+ "font-weight",
37
+ "innerHTML"
38
+ ], tt = ["d", "filter"], nt = ["stroke", "stroke-width"], rt = ["stroke", "stroke-width"], it = ["stroke", "stroke-width"], at = ["stroke", "stroke-width"], ot = { key: 8 }, st = [
39
+ "x",
40
+ "y",
41
+ "text-anchor",
42
+ "font-size",
43
+ "font-weight",
44
+ "fill"
45
+ ], ct = [
46
+ "x",
47
+ "y",
48
+ "font-size",
49
+ "font-weight",
50
+ "fill"
51
+ ], lt = { key: 0 }, ut = [
52
+ "x1",
53
+ "y1",
54
+ "x2",
55
+ "y2",
56
+ "stroke",
57
+ "stroke-width"
58
+ ], dt = [
59
+ "x1",
60
+ "y1",
61
+ "x2",
62
+ "y2",
63
+ "stroke",
64
+ "stroke-width"
65
+ ], ft = [
66
+ "x1",
67
+ "y1",
68
+ "x2",
69
+ "y2",
70
+ "stroke-width",
71
+ "filter"
72
+ ], pt = { key: 1 }, mt = [
73
+ "d",
74
+ "fill",
75
+ "stroke",
76
+ "stroke-width"
77
+ ], ht = [
78
+ "cx",
79
+ "cy",
80
+ "fill",
81
+ "r",
82
+ "stroke-width",
83
+ "stroke"
84
+ ], gt = [
85
+ "x",
86
+ "y",
87
+ "font-size",
88
+ "fill"
89
+ ], _t = {
90
+ key: 4,
91
+ class: "vue-data-ui-watermark"
92
+ }, vt = /* @__PURE__ */ ye({
93
+ __name: "vue-ui-gauge",
94
+ props: {
95
+ config: {
96
+ type: Object,
97
+ default() {
98
+ return {};
99
+ }
100
+ },
101
+ dataset: {
102
+ type: Object,
103
+ default() {
104
+ return {};
105
+ }
106
+ }
107
+ },
108
+ emits: ["copyAlt"],
109
+ setup(e, { expose: ye, emit: Ie }) {
110
+ let vt = _(() => import("./PenAndPaper-DwpL8Z0l.js").then((e) => e.t)), yt = _(() => import("./UserOptions-DMw8EZEo.js").then((e) => e.n)), bt = _(() => import("./PackageVersion-DhDKg-ez.js").then((e) => e.t)), { vue_ui_gauge: xt } = ue(), { isThemeValid: St, warnInvalidTheme: Ct } = ge(), O = e, wt = Ie, Tt = f(() => !!O.dataset && Object.keys(O.dataset).length > 0 && O.dataset.series && O.dataset.series.length), k = S(a()), Et = S(null), Dt = S(0), A = S(null), Ot = S(null), kt = S(null), At = S(null), jt = S(null), Mt = S(0), j = S(!1), M = S(!1), N = S(zt()), Nt = f(() => N.value.userOptions.useCursorPointer), Pt = f(() => le({
111
+ defaultConfig: {
112
+ userOptions: { show: !1 },
113
+ style: { chart: {
114
+ backgroundColor: "#99999930",
115
+ animation: { use: !1 },
116
+ layout: {
117
+ markers: { show: !1 },
118
+ segmentSeparators: { stroke: "#6A6A6A" },
119
+ segmentNames: { show: !1 },
120
+ indicatorArc: { fill: "#6A6A6A50" },
121
+ pointer: {
122
+ stroke: "#6A6A6A",
123
+ useRatingColor: !0,
124
+ circle: {
125
+ stroke: "#6A6A6A",
126
+ color: "#6A6A6A"
127
+ }
128
+ }
129
+ },
130
+ legend: { show: !1 }
131
+ } }
132
+ },
133
+ userConfig: N.value.skeletonConfig ?? {}
134
+ })), { loading: Ft, FINAL_DATASET: P, manualLoading: F } = fe({
135
+ ...Pe(O),
136
+ FINAL_CONFIG: N,
137
+ prepareConfig: zt,
138
+ callback: () => {
139
+ Promise.resolve().then(async () => {
140
+ await Oe();
141
+ });
142
+ },
143
+ skeletonDataset: O.config?.skeletonDataset ?? {
144
+ value: 0,
145
+ series: [{
146
+ from: -1,
147
+ to: 0,
148
+ name: "_",
149
+ color: "#A1A1A1"
150
+ }, {
151
+ from: 0,
152
+ to: 1,
153
+ name: "__",
154
+ color: "#CACACA"
155
+ }]
156
+ },
157
+ skeletonConfig: le({
158
+ defaultConfig: N.value,
159
+ userConfig: Pt.value
160
+ })
161
+ }), { userOptionsVisible: It, setUserOptionsVisibility: Lt, keepUserOptionState: Rt } = Se({ config: N.value }), { svgRef: I } = Ce({ config: N.value.style.chart.title });
162
+ Fe(() => O.config, (e) => {
163
+ Ft.value || (N.value = zt()), It.value = !N.value.userOptions.showOnChartHover, Yt(), Mt.value += 1;
164
+ }, { deep: !0 }), Fe(() => O.dataset, (e) => {
165
+ Yt(), e && Object.keys(e).length > 0 && (F.value = N.value?.loading ?? !1);
166
+ }, {
167
+ deep: !0,
168
+ immediate: !1
169
+ });
170
+ function zt() {
171
+ let e = he({
172
+ userConfig: O.config,
173
+ defaultConfig: xt
174
+ }), t = e.theme;
175
+ if (!t) return e;
176
+ if (!St.value(e)) return Ct(e), e;
177
+ let n = he({
178
+ userConfig: Te[t] || O.config,
179
+ defaultConfig: e
180
+ }), r = he({
181
+ userConfig: O.config,
182
+ defaultConfig: n
183
+ });
184
+ return {
185
+ ...r,
186
+ customPalette: r.customPalette.length ? r.customPalette : ee[t] || te
187
+ };
188
+ }
189
+ let { isPrinting: Bt, isImaging: Vt, generatePdf: Ht, generateImage: Ut } = de({
190
+ elementId: `vue-ui-gauge_${k.value}`,
191
+ fileName: N.value.style.chart.title.text || "vue-ui-gauge",
192
+ options: N.value.userOptions.print
193
+ }), Wt = f(() => N.value.userOptions.show && !N.value.style.chart.title.text), Gt = f(() => se(N.value.customPalette)), L = f(() => {
194
+ if (s(P.value.series || {})) return {
195
+ value: 0,
196
+ series: [{
197
+ from: 0,
198
+ to: 0
199
+ }]
200
+ };
201
+ let e = [];
202
+ (P.value.series || []).forEach((t) => {
203
+ e.push(t.from || 1e-7), e.push(t.to || 1e-7);
204
+ });
205
+ let t = Math.max(...e);
206
+ return {
207
+ ...P.value,
208
+ series: (P.value.series || []).map((e, n) => ({
209
+ ...e,
210
+ color: ce(e.color) || Gt.value[n] || te[n],
211
+ value: ((e.to || 0) - (e.from || 0)) / t * 100
212
+ }))
213
+ };
214
+ }), R = S(512), z = S({
215
+ height: 358.4,
216
+ width: R.value,
217
+ top: 0,
218
+ bottom: 358.4,
219
+ centerX: 179.2,
220
+ centerY: R.value / 2,
221
+ labelFontSize: 18,
222
+ legendFontSize: N.value.style.chart.legend.fontSize,
223
+ pointerRadius: N.value.style.chart.layout.pointer.circle.radius,
224
+ trackSize: N.value.style.chart.layout.track.size,
225
+ pointerSize: N.value.style.chart.layout.pointer.size,
226
+ pointerStrokeWidth: N.value.style.chart.layout.pointer.strokeWidth,
227
+ markerOffset: N.value.style.chart.layout.markers.offsetY + 3,
228
+ segmentFontSize: N.value.style.chart.layout.segmentNames.fontSize
229
+ }), B = S(0), V = S(0), H = S(N.value.style.chart.animation.use ? Math.min(...P.value.series.map((e) => e.from)) : P.value.value);
230
+ Fe(() => P.value.value, () => {
231
+ Xt(P.value.value);
232
+ });
233
+ let U = f(() => {
234
+ let e = z.value.width / 2, t = J.value.base, n = Math.PI * ((H.value + 0 - V.value) / (B.value - V.value)) + Math.PI;
235
+ return {
236
+ x1: e,
237
+ y1: t,
238
+ x2: e + J.value.pointerSize * z.value.pointerSize * .9 * Math.cos(n),
239
+ y2: t + J.value.pointerSize * z.value.pointerSize * .9 * Math.sin(n)
240
+ };
241
+ }), Kt = f(() => {
242
+ let e = z.value.width / 2, t = J.value.base, n = Math.PI * ((H.value + 0 - V.value) / (B.value - V.value)) + Math.PI, r = e + J.value.pointerSize * z.value.pointerSize * .9 * Math.cos(n), i = t + J.value.pointerSize * z.value.pointerSize * .9 * Math.sin(n), a = z.value.pointerRadius, ee = e + a * Math.cos(n + Math.PI / 2), o = t + a * Math.sin(n + Math.PI / 2), s = e + a * Math.cos(n - Math.PI / 2), te = t + a * Math.sin(n - Math.PI / 2);
243
+ return isNaN(r) ? null : `M ${r},${i} ${ee},${o} ${s},${te} Z`;
244
+ }), qt = f(() => {
245
+ for (let e = 0; e < L.value.series.length; e += 1) {
246
+ let { color: t, from: n, to: r } = L.value.series[e];
247
+ if (H.value >= n && H.value <= r) return t;
248
+ }
249
+ return "#2D353C";
250
+ }), W = Ne(null), G = Ne(null), K = f({
251
+ get: () => z.value.segmentFontSize,
252
+ set: (e) => e
253
+ }), { autoSizeLabels: Jt } = we({
254
+ svgRef: I,
255
+ fontSize: z.value.segmentFontSize,
256
+ minFontSize: N.value.style.chart.layout.segmentNames.minFontSize,
257
+ sizeRef: K,
258
+ labelClass: ".vue-ui-gauge-label-flat"
259
+ }), q = f(() => !!N.value.debug);
260
+ function Yt() {
261
+ let e = !1;
262
+ if (s(O.dataset) ? (c({
263
+ componentName: "VueUiGauge",
264
+ type: "dataset",
265
+ debug: q.value
266
+ }), F.value = !0, e = !0) : (re({
267
+ datasetObject: O.dataset,
268
+ requiredAttributes: ["value", "series"]
269
+ }).forEach((t) => {
270
+ c({
271
+ componentName: "VueUiGauge",
272
+ type: "datasetAttribute",
273
+ property: t,
274
+ debug: q.value
275
+ }), F.value = !0, e = !0;
276
+ }), Object.hasOwn(O.dataset, "series") && (O.dataset.series.length ? O.dataset.series.forEach((t, n) => {
277
+ re({
278
+ datasetObject: t,
279
+ requiredAttributes: ["from", "to"]
280
+ }).forEach((t) => {
281
+ c({
282
+ componentName: "VueUiGauge",
283
+ type: "datasetSerieAttribute",
284
+ property: t,
285
+ index: n,
286
+ debug: q.value
287
+ }), F.value = !0, e = !0;
288
+ });
289
+ }) : (c({
290
+ componentName: "VueUiGauge",
291
+ type: "datasetAttributeEmpty",
292
+ property: "series",
293
+ debug: q.value
294
+ }), F.value = !0, e = !0))), F.value = e, Xt(P.value.value || 0), N.value.responsive) {
295
+ let e = be(() => {
296
+ let { width: e, height: t } = xe({
297
+ chart: A.value,
298
+ title: N.value.style.chart.title.text ? Ot.value : null,
299
+ legend: kt.value,
300
+ source: At.value,
301
+ noTitle: jt.value
302
+ });
303
+ t -= 12, requestAnimationFrame(() => {
304
+ 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.style.chart.legend.fontSize / R.value * Math.min(t, e) < 14 ? 14 : N.value.style.chart.legend.fontSize / R.value * Math.min(t, e), z.value.pointerRadius = N.value.style.chart.layout.pointer.circle.radius / R.value * Math.min(t, e), z.value.trackSize = N.value.style.chart.layout.track.size / R.value * Math.min(t, e), z.value.pointerStrokeWidth = o({
305
+ relator: Math.min(e, t),
306
+ adjuster: R.value,
307
+ source: N.value.style.chart.layout.pointer.strokeWidth,
308
+ threshold: 2,
309
+ fallback: 2
310
+ }), z.value.markerOffset = o({
311
+ relator: Math.max(e, t),
312
+ adjuster: R.value,
313
+ source: N.value.style.chart.layout.markers.offsetY + 3,
314
+ threshold: 2,
315
+ fallback: 2
316
+ }), z.value.segmentFontSize = o({
317
+ relator: Math.min(e, t),
318
+ adjuster: R.value,
319
+ source: N.value.style.chart.layout.segmentNames.fontSize,
320
+ threshold: 8,
321
+ fallback: 8
322
+ });
323
+ }), Jt();
324
+ });
325
+ W.value && (G.value && W.value.unobserve(G.value), W.value.disconnect()), W.value = new ResizeObserver(e), G.value = A.value.parentNode, W.value.observe(G.value);
326
+ }
327
+ Jt();
328
+ }
329
+ Me(() => {
330
+ Yt();
331
+ }), je(() => {
332
+ W.value && (G.value && W.value.unobserve(G.value), W.value.disconnect());
333
+ });
334
+ function Xt(e) {
335
+ let t = [];
336
+ (L.value.series || []).forEach((e) => {
337
+ t.push(e.from || 0), t.push(e.to || 0);
338
+ }), B.value = Math.max(...t), V.value = Math.min(...t);
339
+ let n = N.value.style.chart.animation.speed, r = Math.abs(e - H.value) / (n * 60);
340
+ function i() {
341
+ H.value < e ? H.value = Math.min(H.value + r, e) : H.value > e && (H.value = Math.max(H.value - r, e)), H.value !== e && requestAnimationFrame(i);
342
+ }
343
+ i();
344
+ }
345
+ let J = f(() => {
346
+ let e = N.value.responsive ? Math.min(z.value.width, z.value.height) : z.value.width, t = 2.5 / N.value.style.chart.layout.radiusRatio;
347
+ return {
348
+ arcs: e / t,
349
+ gradients: e / (t * 1.1),
350
+ base: N.value.responsive ? z.value.height / 1.618 : z.value.height * .7,
351
+ ratingBase: N.value.responsive ? z.value.height / 2 + z.value.height / 4 : z.value.height * .9,
352
+ pointerSize: N.value.responsive ? Math.min(z.value.width, z.value.height) / 3 : z.value.width / 3.2
353
+ };
354
+ }), Y = f(() => l({ series: L.value.series }, z.value.width / 2, J.value.base, J.value.arcs, J.value.arcs, 1, 1, 1, 180, 109.9495, 40 * z.value.trackSize)), Zt = f(() => l({ series: L.value.series }, z.value.width / 2, J.value.base, J.value.arcs * N.value.style.chart.layout.segmentNames.offsetRatio, J.value.arcs * N.value.style.chart.layout.segmentNames.offsetRatio, 1, 1, 1, 180, 109.9495, 40 * z.value.trackSize)), X = f(() => Y.value.map((e) => J.value.arcs * N.value.style.chart.layout.segmentNames.offsetRatio * (e.nameOffsetRatio || 1))), Qt = f(() => {
355
+ let { x: e, y: t } = r({
356
+ initX: Y.value[0].firstSeparator.x,
357
+ initY: Y.value[0].firstSeparator.y,
358
+ centerX: U.value.x1,
359
+ centerY: U.value.y1,
360
+ offset: -N.value.style.chart.layout.segmentSeparators.offsetIn
361
+ }), { x: n, y: i } = r({
362
+ initX: Y.value[0].startX,
363
+ initY: Y.value[0].startY,
364
+ centerX: U.value.x1,
365
+ centerY: U.value.y1,
366
+ offset: N.value.style.chart.layout.segmentSeparators.offsetOut
367
+ });
368
+ return {
369
+ x1: e,
370
+ y1: t,
371
+ x2: n,
372
+ y2: i
373
+ };
374
+ }), $t = f(() => Y.value.map((e) => {
375
+ let { x: t, y: n } = r({
376
+ initX: e.separator.x,
377
+ initY: e.separator.y,
378
+ centerX: U.value.x1,
379
+ centerY: U.value.y1,
380
+ offset: -N.value.style.chart.layout.segmentSeparators.offsetIn
381
+ }), { x: i, y: a } = r({
382
+ initX: e.endX,
383
+ initY: e.endY,
384
+ centerX: U.value.x1,
385
+ centerY: U.value.y1,
386
+ offset: N.value.style.chart.layout.segmentSeparators.offsetOut
387
+ });
388
+ return {
389
+ x1: t,
390
+ y1: n,
391
+ x2: i,
392
+ y2: a
393
+ };
394
+ }));
395
+ function en(e) {
396
+ if (e.reduce((e, t) => e + t, 0) > 100) throw Error("Total % must not exceed 100");
397
+ let t = 0;
398
+ return e.map((e) => (t += e, `${t / 100 * 50 - e / 4}%`));
399
+ }
400
+ let tn = f(() => en(Y.value.map((e) => e.proportion * 100))), nn = f(() => l({ series: L.value.series }, z.value.width / 2, J.value.base, J.value.gradients, J.value.gradients, .95, 1, 1, 180, 110.02, 2 * z.value.trackSize)), rn = f(() => {
401
+ let e = V.value >= 0 ? -V.value : Math.abs(V.value);
402
+ return n({
403
+ radius: N.value.style.chart.layout.indicatorArc.radius * z.value.trackSize,
404
+ centerX: z.value.width / 2,
405
+ centerY: J.value.base,
406
+ percentage: oe((H.value + e) / (B.value + e))
407
+ });
408
+ }), Z = S(!1);
409
+ function an(e) {
410
+ Z.value = e, Dt.value += 1;
411
+ }
412
+ let Q = S(!1);
413
+ function $() {
414
+ Q.value = !Q.value;
415
+ }
416
+ async function on({ scale: e = 2 } = {}) {
417
+ if (!A.value) return;
418
+ let { width: t, height: n } = A.value.getBoundingClientRect(), r = t / n, { imageUri: i, base64: a } = await _e({
419
+ domElement: A.value,
420
+ base64: !0,
421
+ img: !0,
422
+ scale: e
423
+ });
424
+ return {
425
+ imageUri: i,
426
+ base64: a,
427
+ title: N.value.style.chart.title.text,
428
+ width: t,
429
+ height: n,
430
+ aspectRatio: r
431
+ };
432
+ }
433
+ let sn = f(() => N.value.style.chart.backgroundColor), { exportSvg: cn, getSvg: ln } = me({
434
+ svg: I,
435
+ title: f(() => N.value.style.chart.title),
436
+ backgroundColor: sn
437
+ });
438
+ async function un({ isCb: e }) {
439
+ M.value = !0, await Oe();
440
+ try {
441
+ if (e) {
442
+ let { blob: e, url: t, text: n, dataUrl: r } = await ln();
443
+ await Promise.resolve(N.value.userOptions.callbacks.svg({
444
+ blob: e,
445
+ url: t,
446
+ text: n,
447
+ dataUrl: r
448
+ }));
449
+ } else await Promise.resolve(cn());
450
+ } finally {
451
+ M.value = !1;
452
+ }
453
+ }
454
+ function dn(e) {
455
+ if (e?.stage === "start") {
456
+ j.value = !0;
457
+ return;
458
+ }
459
+ if (e?.stage === "end") {
460
+ j.value = !1;
461
+ return;
462
+ }
463
+ Ut();
464
+ }
465
+ async function fn() {
466
+ if (wt("copyAlt", {
467
+ config: N.value,
468
+ dataset: L.value
469
+ }), !N.value.userOptions.callbacks.altCopy) {
470
+ console.warn("Vue Data UI - A callback must be set for `altCopy` in userOptions.");
471
+ return;
472
+ }
473
+ await Promise.resolve(N.value.userOptions.callbacks.altCopy({
474
+ config: N.value,
475
+ dataset: L.value
476
+ }));
477
+ }
478
+ return ye({
479
+ getImage: on,
480
+ generatePdf: Ht,
481
+ generateImage: Ut,
482
+ generateSvg: un,
483
+ toggleAnnotator: $,
484
+ toggleFullscreen: an,
485
+ copyAlt: fn
486
+ }), (e, n) => (x(), h("div", {
487
+ class: ke(`vue-data-ui-component vue-ui-gauge ${Z.value ? "vue-data-ui-wrapper-fullscreen" : ""}`),
488
+ ref_key: "gaugeChart",
489
+ ref: A,
490
+ id: `vue-ui-gauge_${k.value}`,
491
+ style: Ae(`font-family:${N.value.style.fontFamily};width:100%; text-align:center;background:${N.value.style.chart.backgroundColor};${N.value.responsive ? "height: 100%" : ""}`),
492
+ onMouseenter: n[0] ||= () => E(Lt)(!0),
493
+ onMouseleave: n[1] ||= () => E(Lt)(!1)
494
+ }, [
495
+ N.value.userOptions.buttons.annotator ? (x(), p(E(vt), {
496
+ key: 0,
497
+ svgRef: E(I),
498
+ backgroundColor: N.value.style.chart.backgroundColor,
499
+ color: N.value.style.chart.color,
500
+ active: Q.value,
501
+ isCursorPointer: Nt.value,
502
+ onClose: $
503
+ }, {
504
+ "annotator-action-close": D(() => [w(e.$slots, "annotator-action-close", {}, void 0, !0)]),
505
+ "annotator-action-color": D(({ color: t }) => [w(e.$slots, "annotator-action-color", b(v({ color: t })), void 0, !0)]),
506
+ "annotator-action-draw": D(({ mode: t }) => [w(e.$slots, "annotator-action-draw", b(v({ mode: t })), void 0, !0)]),
507
+ "annotator-action-undo": D(({ disabled: t }) => [w(e.$slots, "annotator-action-undo", b(v({ disabled: t })), void 0, !0)]),
508
+ "annotator-action-redo": D(({ disabled: t }) => [w(e.$slots, "annotator-action-redo", b(v({ disabled: t })), void 0, !0)]),
509
+ "annotator-action-delete": D(({ disabled: t }) => [w(e.$slots, "annotator-action-delete", b(v({ disabled: t })), void 0, !0)]),
510
+ _: 3
511
+ }, 8, [
512
+ "svgRef",
513
+ "backgroundColor",
514
+ "color",
515
+ "active",
516
+ "isCursorPointer"
517
+ ])) : m("", !0),
518
+ Wt.value ? (x(), h("div", {
519
+ key: 1,
520
+ ref_key: "noTitle",
521
+ ref: jt,
522
+ class: "vue-data-ui-no-title-space",
523
+ style: "height:36px; width: 100%;background:transparent"
524
+ }, null, 512)) : m("", !0),
525
+ N.value.style.chart.title.text ? (x(), h("div", {
526
+ key: 2,
527
+ ref_key: "chartTitle",
528
+ ref: Ot,
529
+ style: "width:100%;background:transparent;padding-bottom:12px"
530
+ }, [(x(), p(ve, {
531
+ key: `title_${Mt.value}`,
532
+ config: {
533
+ title: {
534
+ cy: "gauge-div-title",
535
+ ...N.value.style.chart.title
536
+ },
537
+ subtitle: {
538
+ cy: "gauge-div-subtitle",
539
+ ...N.value.style.chart.title.subtitle
540
+ }
541
+ }
542
+ }, {
543
+ default: D(() => [N.value.translations.base && E(P).base ? (x(), h("span", Re, T(N.value.translations.base) + ": " + T(E(P).base), 1)) : m("", !0)]),
544
+ _: 1
545
+ }, 8, ["config"]))], 512)) : m("", !0),
546
+ N.value.userOptions.show && Tt.value && (E(Rt) || E(It)) ? (x(), p(E(yt), {
547
+ ref_key: "details",
548
+ ref: Et,
549
+ key: `user_options_${Dt.value}`,
550
+ backgroundColor: N.value.style.chart.backgroundColor,
551
+ color: N.value.style.chart.color,
552
+ isImaging: E(Vt),
553
+ isPrinting: E(Bt),
554
+ uid: k.value,
555
+ hasXls: !1,
556
+ hasPdf: N.value.userOptions.buttons.pdf,
557
+ hasImg: N.value.userOptions.buttons.img,
558
+ hasSvg: N.value.userOptions.buttons.svg,
559
+ hasFullscreen: N.value.userOptions.buttons.fullscreen,
560
+ hasAltCopy: N.value.userOptions.buttons.altCopy,
561
+ isFullscreen: Z.value,
562
+ titles: { ...N.value.userOptions.buttonTitles },
563
+ chartElement: A.value,
564
+ callbacks: N.value.userOptions.callbacks,
565
+ printScale: N.value.userOptions.print.scale,
566
+ position: N.value.userOptions.position,
567
+ hasAnnotator: N.value.userOptions.buttons.annotator,
568
+ isAnnotation: Q.value,
569
+ isCursorPointer: Nt.value,
570
+ onToggleFullscreen: an,
571
+ onGeneratePdf: E(Ht),
572
+ onGenerateImage: dn,
573
+ onGenerateSvg: un,
574
+ onToggleAnnotator: $,
575
+ onCopyAlt: fn,
576
+ style: Ae({ visibility: E(Rt) ? E(It) ? "visible" : "hidden" : "visible" })
577
+ }, Ee({ _: 2 }, [
578
+ e.$slots.menuIcon ? {
579
+ name: "menuIcon",
580
+ fn: D(({ isOpen: t, color: n }) => [w(e.$slots, "menuIcon", b(v({
581
+ isOpen: t,
582
+ color: n
583
+ })), void 0, !0)]),
584
+ key: "0"
585
+ } : void 0,
586
+ e.$slots.optionPdf ? {
587
+ name: "optionPdf",
588
+ fn: D(() => [w(e.$slots, "optionPdf", {}, void 0, !0)]),
589
+ key: "1"
590
+ } : void 0,
591
+ e.$slots.optionImg ? {
592
+ name: "optionImg",
593
+ fn: D(() => [w(e.$slots, "optionImg", {}, void 0, !0)]),
594
+ key: "2"
595
+ } : void 0,
596
+ e.$slots.optionSvg ? {
597
+ name: "optionSvg",
598
+ fn: D(() => [w(e.$slots, "optionSvg", {}, void 0, !0)]),
599
+ key: "3"
600
+ } : void 0,
601
+ e.$slots.optionFullscreen ? {
602
+ name: "optionFullscreen",
603
+ fn: D(({ toggleFullscreen: t, isFullscreen: n }) => [w(e.$slots, "optionFullscreen", b(v({
604
+ toggleFullscreen: t,
605
+ isFullscreen: n
606
+ })), void 0, !0)]),
607
+ key: "4"
608
+ } : void 0,
609
+ e.$slots.optionAnnotator ? {
610
+ name: "optionAnnotator",
611
+ fn: D(({ toggleAnnotator: t, isAnnotator: n }) => [w(e.$slots, "optionAnnotator", b(v({
612
+ toggleAnnotator: t,
613
+ isAnnotator: n
614
+ })), void 0, !0)]),
615
+ key: "5"
616
+ } : void 0,
617
+ e.$slots.optionAltCopy ? {
618
+ name: "optionAltCopy",
619
+ fn: D(({ altCopy: t }) => [w(e.$slots, "optionAltCopy", b(v({ altCopy: t })), void 0, !0)]),
620
+ key: "6"
621
+ } : void 0
622
+ ]), 1032, [
623
+ "backgroundColor",
624
+ "color",
625
+ "isImaging",
626
+ "isPrinting",
627
+ "uid",
628
+ "hasPdf",
629
+ "hasImg",
630
+ "hasSvg",
631
+ "hasFullscreen",
632
+ "hasAltCopy",
633
+ "isFullscreen",
634
+ "titles",
635
+ "chartElement",
636
+ "callbacks",
637
+ "printScale",
638
+ "position",
639
+ "hasAnnotator",
640
+ "isAnnotation",
641
+ "isCursorPointer",
642
+ "onGeneratePdf",
643
+ "style"
644
+ ])) : m("", !0),
645
+ (x(), h("svg", {
646
+ ref_key: "svgRef",
647
+ ref: I,
648
+ xmlns: E(ie),
649
+ class: ke({
650
+ "vue-data-ui-fullscreen--on": Z.value,
651
+ "vue-data-ui-fulscreen--off": !Z.value
652
+ }),
653
+ viewBox: `0 0 ${z.value.width <= 0 ? 10 : z.value.width} ${z.value.height <= 0 ? 10 : z.value.height}`,
654
+ style: Ae(`max-width:100%;overflow:hidden !important;background:transparent;color:${N.value.style.chart.color}`)
655
+ }, [
656
+ De(E(bt)),
657
+ e.$slots["chart-background"] ? (x(), h("foreignObject", {
658
+ key: 0,
659
+ x: 0,
660
+ y: 0,
661
+ width: z.value.width <= 0 ? 10 : z.value.width,
662
+ height: z.value.height <= 0 ? 10 : z.value.height,
663
+ style: { pointerEvents: "none" }
664
+ }, [w(e.$slots, "chart-background", {}, void 0, !0)], 8, Be)) : m("", !0),
665
+ g("defs", null, [g("radialGradient", {
666
+ id: `gradient_${k.value}`,
667
+ cx: "50%",
668
+ cy: "50%",
669
+ r: "50%",
670
+ fx: "50%",
671
+ fy: "50%"
672
+ }, [
673
+ g("stop", {
674
+ offset: "0%",
675
+ "stop-color": E(ne)("#FFFFFF", 1)
676
+ }, null, 8, He),
677
+ g("stop", {
678
+ offset: "80%",
679
+ "stop-color": E(ne)("#FFFFFF", N.value.style.chart.layout.track.gradientIntensity)
680
+ }, null, 8, Ue),
681
+ g("stop", {
682
+ offset: "100%",
683
+ "stop-color": E(ne)("#FFFFFF", 1)
684
+ }, null, 8, We)
685
+ ], 8, Ve)]),
686
+ g("defs", null, [g("filter", {
687
+ id: `blur_${k.value}`,
688
+ x: "-50%",
689
+ y: "-50%",
690
+ width: "200%",
691
+ height: "200%"
692
+ }, [g("feGaussianBlur", {
693
+ in: "SourceGraphic",
694
+ stdDeviation: 100 / N.value.style.chart.layout.track.gradientIntensity
695
+ }, null, 8, Ke)], 8, Ge)]),
696
+ e.$slots.pattern ? (x(), h("g", qe, [(x(!0), h(d, null, C(Y.value, (t, n) => (x(), h("defs", null, [w(e.$slots, "pattern", y({ ref_for: !0 }, {
697
+ seriesIndex: n,
698
+ patternId: `pattern_${k.value}_${n}`
699
+ }), void 0, !0)]))), 256))])) : m("", !0),
700
+ (x(!0), h(d, null, C(Y.value, (e, t) => (x(), h("path", {
701
+ key: `arc_${t}`,
702
+ d: e.arcSlice,
703
+ fill: e.color,
704
+ stroke: N.value.style.chart.backgroundColor,
705
+ "stroke-linecap": "round"
706
+ }, null, 8, Je))), 128)),
707
+ e.$slots.pattern ? (x(!0), h(d, { key: 2 }, C(Y.value, (e, t) => (x(), h("path", {
708
+ key: `arc_${t}`,
709
+ d: e.arcSlice,
710
+ fill: `url(#pattern_${k.value}_${t})`,
711
+ stroke: N.value.style.chart.backgroundColor,
712
+ "stroke-linecap": "round"
713
+ }, null, 8, Ye))), 128)) : m("", !0),
714
+ N.value.style.chart.layout.indicatorArc.show ? (x(), h("path", {
715
+ key: 3,
716
+ d: rn.value,
717
+ fill: N.value.style.chart.layout.indicatorArc.fill
718
+ }, null, 8, Xe)) : m("", !0),
719
+ N.value.style.chart.layout.segmentNames.show && N.value.style.chart.layout.segmentNames.curved ? (x(), h(d, { key: 4 }, [(x(!0), h(d, null, C(Y.value, (e, t) => (x(), h("path", {
720
+ id: `curve_${k.value}_${t}`,
721
+ d: `M ${U.value.x1},${U.value.y1} m -${X.value[t]},0 a ${X.value[t]},${X.value[t]} 0 1,1 ${2 * X.value[t]},0 a ${X.value[t]},${X.value[t]} 0 1,1 -${2 * X.value[t]},0`,
722
+ fill: "transparent"
723
+ }, null, 8, Ze))), 256)), (x(!0), h(d, null, C(Y.value, (e, t) => (x(), h("text", {
724
+ fill: N.value.style.chart.layout.segmentNames.useSerieColor ? e.color : N.value.style.chart.layout.segmentNames.color,
725
+ "font-size": K.value,
726
+ "font-weight": N.value.style.chart.layout.segmentNames.bold ? "bold" : "normal",
727
+ "text-anchor": "middle"
728
+ }, [g("textPath", {
729
+ href: `#curve_${k.value}_${t}`,
730
+ startOffset: tn.value[t]
731
+ }, T(e.name || ""), 9, $e)], 8, Qe))), 256))], 64)) : m("", !0),
732
+ N.value.style.chart.layout.segmentNames.show && !N.value.style.chart.layout.segmentNames.curved ? (x(!0), h(d, { key: 5 }, C(Zt.value, (e, n) => (x(), h("text", {
733
+ class: "vue-ui-gauge-label-flat",
734
+ "text-anchor": E(ae)(e, !1, 12).anchor,
735
+ fill: N.value.style.chart.layout.segmentNames.useSerieColor ? e.color : N.value.style.chart.layout.segmentNames.color,
736
+ "font-size": K.value,
737
+ "font-weight": N.value.style.chart.layout.segmentNames.bold ? "bold" : "normal",
738
+ innerHTML: E(t)({
739
+ content: String(e.name ?? ""),
740
+ fontSize: K.value,
741
+ fill: N.value.style.chart.layout.segmentNames.useSerieColor ? e.color : N.value.style.chart.layout.segmentNames.color,
742
+ x: e.center.endX,
743
+ y: e.center.endY
744
+ })
745
+ }, null, 8, et))), 256)) : m("", !0),
746
+ N.value.style.chart.layout.track.useGradient ? (x(!0), h(d, { key: 6 }, C(nn.value, (e, t) => (x(), h("path", {
747
+ key: `arc_${t}`,
748
+ d: e.arcSlice,
749
+ fill: "#FFFFFF",
750
+ stroke: "none",
751
+ "stroke-linecap": "round",
752
+ filter: `url(#blur_${k.value})`
753
+ }, null, 8, tt))), 128)) : m("", !0),
754
+ N.value.style.chart.layout.segmentSeparators.show ? (x(), h(d, { key: 7 }, [
755
+ g("line", y(Qt.value, {
756
+ stroke: N.value.style.chart.backgroundColor,
757
+ "stroke-width": N.value.style.chart.layout.segmentSeparators.strokeWidth + 2,
758
+ "stroke-linecap": "round"
759
+ }), null, 16, nt),
760
+ g("line", y(Qt.value, {
761
+ stroke: N.value.style.chart.layout.segmentSeparators.stroke,
762
+ "stroke-width": N.value.style.chart.layout.segmentSeparators.strokeWidth,
763
+ "stroke-linecap": "round"
764
+ }), null, 16, rt),
765
+ (x(!0), h(d, null, C($t.value, (e) => (x(), h("line", y({ ref_for: !0 }, e, {
766
+ stroke: N.value.style.chart.backgroundColor,
767
+ "stroke-width": N.value.style.chart.layout.segmentSeparators.strokeWidth + 2,
768
+ "stroke-linecap": "round"
769
+ }), null, 16, it))), 256)),
770
+ (x(!0), h(d, null, C($t.value, (e) => (x(), h("line", y({ ref_for: !0 }, e, {
771
+ stroke: N.value.style.chart.layout.segmentSeparators.stroke,
772
+ "stroke-width": N.value.style.chart.layout.segmentSeparators.strokeWidth,
773
+ "stroke-linecap": "round"
774
+ }), null, 16, at))), 256))
775
+ ], 64)) : m("", !0),
776
+ N.value.style.chart.layout.markers.show ? (x(), h("g", ot, [(x(!0), h(d, null, C(Y.value, (e, t) => (x(), h("text", {
777
+ x: E(r)({
778
+ centerX: U.value.x1,
779
+ centerY: J.value.base,
780
+ initX: e.center.startX,
781
+ initY: e.center.startY,
782
+ offset: z.value.markerOffset
783
+ }).x,
784
+ y: E(r)({
785
+ centerX: U.value.x1,
786
+ centerY: J.value.base,
787
+ initX: e.center.startX,
788
+ initY: e.center.startY,
789
+ offset: z.value.markerOffset
790
+ }).y,
791
+ "text-anchor": e.center.startX < U.value.x1 - 5 ? "end" : e.center.startX > U.value.x1 + 5 ? "start" : "middle",
792
+ "font-size": z.value.labelFontSize * N.value.style.chart.layout.markers.fontSizeRatio,
793
+ "font-weight": `${N.value.style.chart.layout.markers.bold ? "bold" : "normal"}`,
794
+ fill: N.value.style.chart.layout.markers.color
795
+ }, T(E(u)(N.value.style.chart.layout.markers.formatter, e.from, E(i)({
796
+ p: N.value.style.chart.layout.markers.prefix,
797
+ v: e.from,
798
+ s: N.value.style.chart.layout.markers.suffix,
799
+ r: N.value.style.chart.layout.markers.roundingValue
800
+ }))), 9, st))), 256))])) : m("", !0),
801
+ N.value.style.chart.layout.markers.show ? (x(), h("text", {
802
+ key: 9,
803
+ x: E(r)({
804
+ centerX: z.value.width / 2,
805
+ centerY: J.value.base,
806
+ initX: Y.value.at(-1).endX,
807
+ initY: Y.value.at(-1).endY,
808
+ offset: z.value.markerOffset
809
+ }).x,
810
+ y: E(r)({
811
+ centerX: z.value.width / 2,
812
+ centerY: J.value.base,
813
+ initX: Y.value.at(-1).endX,
814
+ initY: Y.value.at(-1).endY,
815
+ offset: z.value.markerOffset
816
+ }).y,
817
+ "text-anchor": "start",
818
+ "font-size": z.value.labelFontSize * N.value.style.chart.layout.markers.fontSizeRatio,
819
+ "font-weight": `${N.value.style.chart.layout.markers.bold ? "bold" : "normal"}`,
820
+ fill: N.value.style.chart.layout.markers.color
821
+ }, T(E(u)(N.value.style.chart.layout.markers.formatter, B.value, E(i)({
822
+ p: N.value.style.chart.layout.markers.prefix,
823
+ v: B.value,
824
+ s: N.value.style.chart.layout.markers.suffix,
825
+ r: N.value.style.chart.layout.markers.roundingValue
826
+ }))), 9, ct)) : m("", !0),
827
+ N.value.style.chart.layout.pointer.show ? (x(), h(d, { key: 10 }, [N.value.style.chart.layout.pointer.type === "rounded" ? (x(), h("g", lt, [
828
+ isNaN(U.value.x2) ? m("", !0) : (x(), h("line", {
829
+ key: 0,
830
+ x1: U.value.x1,
831
+ y1: U.value.y1,
832
+ x2: U.value.x2,
833
+ y2: U.value.y2,
834
+ stroke: N.value.style.chart.layout.pointer.stroke,
835
+ "stroke-width": z.value.pointerStrokeWidth,
836
+ "stroke-linecap": "round"
837
+ }, null, 8, ut)),
838
+ isNaN(U.value.x2) ? m("", !0) : (x(), h("line", {
839
+ key: 1,
840
+ x1: U.value.x1,
841
+ y1: U.value.y1,
842
+ x2: U.value.x2,
843
+ y2: U.value.y2,
844
+ stroke: N.value.style.chart.layout.pointer.useRatingColor ? qt.value : N.value.style.chart.layout.pointer.color,
845
+ "stroke-linecap": "round",
846
+ "stroke-width": z.value.pointerStrokeWidth * .7
847
+ }, null, 8, dt)),
848
+ !isNaN(U.value.x2) && N.value.style.chart.layout.track.useGradient ? (x(), h("line", {
849
+ key: 2,
850
+ x1: U.value.x1,
851
+ y1: U.value.y1,
852
+ x2: U.value.x2,
853
+ y2: U.value.y2,
854
+ stroke: "white",
855
+ "stroke-linecap": "round",
856
+ "stroke-width": z.value.pointerStrokeWidth * .3,
857
+ filter: `url(#blur_${k.value})`
858
+ }, null, 8, ft)) : m("", !0)
859
+ ])) : (x(), h("g", pt, [Kt.value ? (x(), h("path", {
860
+ key: 0,
861
+ d: Kt.value,
862
+ fill: N.value.style.chart.layout.pointer.useRatingColor ? qt.value : N.value.style.chart.layout.pointer.color,
863
+ stroke: N.value.style.chart.layout.pointer.stroke,
864
+ "stroke-width": N.value.style.chart.layout.pointer.circle.strokeWidth,
865
+ "stroke-linejoin": "round"
866
+ }, null, 8, mt)) : m("", !0)])), g("circle", {
867
+ cx: z.value.width / 2,
868
+ cy: J.value.base,
869
+ fill: N.value.style.chart.layout.pointer.circle.color,
870
+ r: z.value.pointerRadius <= 0 ? 1e-4 : z.value.pointerRadius,
871
+ "stroke-width": N.value.style.chart.layout.pointer.circle.strokeWidth,
872
+ stroke: N.value.style.chart.layout.pointer.circle.stroke
873
+ }, null, 8, ht)], 64)) : m("", !0),
874
+ N.value.style.chart.legend.show ? (x(), h("text", {
875
+ key: 11,
876
+ x: z.value.width / 2,
877
+ y: J.value.ratingBase,
878
+ "text-anchor": "middle",
879
+ "font-size": z.value.legendFontSize,
880
+ "font-weight": "bold",
881
+ fill: N.value.style.chart.legend.useRatingColor ? qt.value : N.value.style.chart.legend.color
882
+ }, T(E(u)(N.value.style.chart.legend.formatter, H.value, E(i)({
883
+ p: N.value.style.chart.legend.prefix + (N.value.style.chart.legend.showPlusSymbol && H.value > 0 ? "+" : ""),
884
+ v: H.value,
885
+ s: N.value.style.chart.legend.suffix,
886
+ r: N.value.style.chart.legend.roundingValue
887
+ }))), 9, gt)) : m("", !0),
888
+ w(e.$slots, "svg", { svg: {
889
+ ...z.value,
890
+ isPrintingImg: E(Bt) || E(Vt) || j.value,
891
+ isPrintingSvg: M.value
892
+ } }, void 0, !0)
893
+ ], 14, ze)),
894
+ e.$slots.watermark ? (x(), h("div", _t, [w(e.$slots, "watermark", b(v({ isPrinting: E(Bt) || E(Vt) || j.value || M.value })), void 0, !0)])) : m("", !0),
895
+ g("div", {
896
+ ref_key: "chartLegend",
897
+ ref: kt
898
+ }, [w(e.$slots, "legend", { legend: L.value }, void 0, !0)], 512),
899
+ e.$slots.source ? (x(), h("div", {
900
+ key: 5,
901
+ ref_key: "source",
902
+ ref: At,
903
+ dir: "auto"
904
+ }, [w(e.$slots, "source", {}, void 0, !0)], 512)) : m("", !0),
905
+ w(e.$slots, "skeleton", {}, () => [E(Ft) ? (x(), p(pe, { key: 0 })) : m("", !0)], !0)
906
+ ], 46, Le));
907
+ }
908
+ }, [["__scopeId", "data-v-24fb9a06"]]);
909
+ //#endregion
910
+ export { Ie as n, vt as t };