vue-data-ui 3.27.0 → 3.27.1-beta.0

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-CJeSufxg.js +1 -0
  3. package/dist/BaseDraggableDialog-T1gEsQid.js +1 -0
  4. package/dist/BaseIcon-Cz30ODFA.js +1 -0
  5. package/dist/BaseLegendToggle-Dn_tNvn4.js +1 -0
  6. package/dist/BaseScanner-8NdoBs7B.js +1 -0
  7. package/dist/BaseZoomControls-xq3tWD3j.js +1 -0
  8. package/dist/ColorPicker-CUjEw53A.js +1 -0
  9. package/dist/DataTable-DSUA5M9p.js +1 -0
  10. package/dist/DefGrad-DKMq1REY.js +1 -0
  11. package/dist/HillActions-DdvXld3a.js +1 -0
  12. package/dist/Legend-DokTll4u.js +1 -0
  13. package/dist/NonSvgPenAndPaper-BLzQuIm6.js +1 -0
  14. package/dist/PackageVersion-D6pKL176.js +1 -0
  15. package/dist/PenAndPaper-DvJJaeU2.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-tkp65OcG.js +1 -0
  20. package/dist/SlicerPreview-GFRs2EWB.js +1 -0
  21. package/dist/SparkTooltip-BlJLvizH.js +1 -0
  22. package/dist/Title-BRAjxtjG.js +1 -0
  23. package/dist/Tooltip-BUXB0i6z.js +1 -0
  24. package/dist/UserOptions-D65t74CM.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-NwZO-elv.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-Cp3WLHmJ.js +3 -0
  103. package/dist/exposedLib-CMTeSmyW.js +1 -0
  104. package/dist/geoProjections-Bvj-eMvq.js +1 -0
  105. package/dist/img-8sM3sVWU.js +1 -0
  106. package/dist/labelUtils-Djp5nJtN.js +1 -0
  107. package/dist/lib-zDxoqrgo.js +12 -0
  108. package/dist/package-DIR2F6AE.js +1 -0
  109. package/dist/patternUtils-_q3ArM3g.js +1 -0
  110. package/dist/pdf-Dlv_ks7R.js +1 -0
  111. package/dist/render-common-DOYi0f4Z.js +1 -0
  112. package/dist/resolveChartConfig-BSo1Oe9n.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-CT9phgWx.js +1 -0
  203. package/dist/useObjectBindings-DM3xDKV3.js +1 -0
  204. package/dist/usePanZoom-BdjP5Suc.js +1 -0
  205. package/dist/usePrefersMotion-XLHwega2.js +1 -0
  206. package/dist/usePrinter-CnyKPIFM.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-BG41UScx.js +1 -0
  220. package/dist/vue-data-ui.js +1 -79
  221. package/dist/vue-ui-3d-bar-DiaiNy-k.js +19 -0
  222. package/dist/vue-ui-accordion-Dy5OVFKr.js +1 -0
  223. package/dist/vue-ui-age-pyramid-OeUr1yxi.js +1 -0
  224. package/dist/vue-ui-annotator-DA_xAFql.js +331 -0
  225. package/dist/vue-ui-bullet-B9lcCTVb.js +34 -0
  226. package/dist/vue-ui-bump-DYajIrva.js +10 -0
  227. package/dist/vue-ui-candlestick-CdAZuNxo.js +22 -0
  228. package/dist/vue-ui-carousel-table-ihGH0LDH.js +1 -0
  229. package/dist/vue-ui-chestnut-B2aNXFNO.js +1 -0
  230. package/dist/vue-ui-chord-fAckHfOW.js +21 -0
  231. package/dist/vue-ui-circle-pack-BWHVImkS.js +13 -0
  232. package/dist/vue-ui-cursor-DdXKXmhr.js +1 -0
  233. package/dist/vue-ui-dag-a0fNoIcJ.js +9 -0
  234. package/dist/vue-ui-dashboard-DkdYMB7n.js +1 -0
  235. package/dist/vue-ui-digits-CL9SuIEI.js +42 -0
  236. package/dist/vue-ui-donut-BaEodt-3.js +22 -0
  237. package/dist/vue-ui-donut-DaYxdQmP.js +47 -0
  238. package/dist/vue-ui-donut-evolution-T8cRXKRQ.js +2 -0
  239. package/dist/vue-ui-dumbbell-B6HJxEZp.js +9 -0
  240. package/dist/vue-ui-flow-BlTCVFr3.js +3 -0
  241. package/dist/vue-ui-funnel-WgLFJadZ.js +1 -0
  242. package/dist/vue-ui-galaxy-B3nuI6E8.js +1 -0
  243. package/dist/vue-ui-gauge-BwTP65O4.js +1 -0
  244. package/dist/vue-ui-geo-CX3yH18H.js +1 -0
  245. package/dist/vue-ui-gizmo-CNHcBsku.js +1 -0
  246. package/dist/vue-ui-heatmap-CTdeoar7.js +1 -0
  247. package/dist/vue-ui-hill-DR5k8GWZ.js +1 -0
  248. package/dist/vue-ui-history-plot-C-9uH-Uj.js +2 -0
  249. package/dist/vue-ui-horizontal-bar-qqF7pL7U.js +4 -0
  250. package/dist/vue-ui-kpi-DVcLXGqG.js +1 -0
  251. package/dist/vue-ui-label-D1Aog-zO.js +7 -0
  252. package/dist/vue-ui-mini-loader-CX0Dx9tT.js +1 -0
  253. package/dist/vue-ui-molecule-B13qVX71.js +1 -0
  254. package/dist/vue-ui-mood-radar-C1BtB8lg.js +1 -0
  255. package/dist/vue-ui-nested-donuts-B90yrlJG.js +19 -0
  256. package/dist/vue-ui-onion-UMVO2DE_.js +5 -0
  257. package/dist/vue-ui-parallel-coordinate-plot-C0ofFivm.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-CPG6yAiu.js +2 -0
  261. package/dist/vue-ui-quick-chart-BTPb-Iz8.js +17 -0
  262. package/dist/vue-ui-radar-Hd-pE9ih.js +1 -0
  263. package/dist/vue-ui-rating-C_YxQYa_.js +1 -0
  264. package/dist/vue-ui-relation-circle-CHYG7ZJl.js +1 -0
  265. package/dist/vue-ui-ridgeline-DS1Gvljt.js +2 -0
  266. package/dist/vue-ui-rings-B-Hb13Uu.js +1 -0
  267. package/dist/vue-ui-scatter-BTgvOmuo.js +9 -0
  268. package/dist/vue-ui-skeleton-B-Acw3CC.js +41 -0
  269. package/dist/vue-ui-smiley-Ciwqt6ek.js +1 -0
  270. package/dist/vue-ui-spark-trend-CYqy6c0S.js +1 -0
  271. package/dist/vue-ui-sparkbar-CTXIgjmP.js +1 -0
  272. package/dist/vue-ui-sparkgauge-CObOL6s2.js +1 -0
  273. package/dist/vue-ui-sparkhistogram-ClFyDez-.js +1 -0
  274. package/dist/vue-ui-sparkline-DP_nYlW8.js +1 -0
  275. package/dist/vue-ui-sparkstackbar-B2f0ePMg.js +1 -0
  276. package/dist/vue-ui-stackbar-nMWHZ-f0.js +29 -0
  277. package/dist/vue-ui-stackline-B95y6Zc5.js +39 -0
  278. package/dist/vue-ui-strip-plot-gFNC4r-X.js +2 -0
  279. package/dist/vue-ui-table-Br2JgD_L.js +14 -0
  280. package/dist/vue-ui-table-heatmap-Btu2ejF4.js +1 -0
  281. package/dist/vue-ui-table-sparkline-B9mYHAxp.js +1 -0
  282. package/dist/vue-ui-thermometer-C6u1eLfo.js +1 -0
  283. package/dist/vue-ui-timer-DLgsfB1U.js +64 -0
  284. package/dist/vue-ui-tiremarks-8B9uE1Bx.js +1 -0
  285. package/dist/vue-ui-treemap-C4Mot-Os.js +1 -0
  286. package/dist/vue-ui-waffle-BwcwNpf7.js +1 -0
  287. package/dist/vue-ui-wheel-B3OGCXg7.js +1 -0
  288. package/dist/vue-ui-word-cloud-BPIyMBXq.js +4 -0
  289. package/dist/vue-ui-world-Cp0DeauH.js +19 -0
  290. package/dist/vue-ui-xy-BOE1jvUS.js +31 -0
  291. package/dist/vue-ui-xy-DSyKSn4L.js +24 -0
  292. package/dist/vue-ui-xy-canvas-CaxxiKSa.js +9 -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-nzVwNQYv.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-Da1GwklM.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,873 +0,0 @@
1
- import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
2
- import { $ as t, Ft as n, It as r, X as i, Yt as a, at as o, b as s, i as c, nn as l, t as u, zt as d } from "./lib-D4wK6ljP.js";
3
- import { n as f, t as p } from "./useHints-Dq_w2E8B.js";
4
- import { t as m } from "./useConfig-D_6ZrPMD.js";
5
- import { t as h } from "./usePrinter-DdW2GSm0.js";
6
- import { n as g, t as _ } from "./BaseScanner-Dzc8VT3j.js";
7
- import { t as v } from "./useNestedProp-DR_8JPol.js";
8
- import { t as ee } from "./useThemeCheck-C43Tcqmk.js";
9
- import { t as te } from "./useChartExport-iwOqiIWX.js";
10
- import { t as y } from "./img-Bb5rHcpO.js";
11
- import { n as ne } from "./Title-BMCuINbv.js";
12
- import { t as re } from "./_plugin-vue_export-helper-B3ysoDQm.js";
13
- import { l as b, t as ie } from "./useResponsive-ZtArZtUf.js";
14
- import { t as ae } from "./useUserOptionState-DK-_1ddE.js";
15
- import { t as oe } from "./useChartAccessibility-DYqac8yF.js";
16
- import { t as se } from "./usePrefersMotion-BC-CsqR1.js";
17
- import { t as ce } from "./vue_ui_wheel-DZ_nR--t.js";
18
- import { Fragment as x, computed as S, createBlock as le, createCommentVNode as C, createElementBlock as w, createElementVNode as ue, createSlots as de, createVNode as fe, defineAsyncComponent as pe, guardReactiveProps as T, normalizeClass as E, normalizeProps as D, normalizeStyle as me, onBeforeUnmount as he, onMounted as ge, openBlock as O, ref as k, renderList as A, renderSlot as j, shallowRef as _e, toDisplayString as ve, toRefs as ye, unref as M, useCssVars as be, watch as xe, withCtx as N } from "vue";
19
- //#region src/components/vue-ui-wheel.vue
20
- var Se = /* @__PURE__ */ e({ default: () => Ue }), Ce = ["id"], we = [
21
- "xmlns",
22
- "viewBox",
23
- "aria-labelledby",
24
- "aria-describedby"
25
- ], Te = ["id"], Ee = ["id"], De = [
26
- "x",
27
- "y",
28
- "width",
29
- "height"
30
- ], Oe = [
31
- "d",
32
- "stroke",
33
- "stroke-width"
34
- ], ke = [
35
- "cx",
36
- "cy",
37
- "r",
38
- "stroke",
39
- "stroke-width"
40
- ], Ae = { key: 0 }, je = [
41
- "x1",
42
- "y1",
43
- "x2",
44
- "y2",
45
- "stroke",
46
- "stroke-width",
47
- "stroke-linecap"
48
- ], Me = [
49
- "x1",
50
- "y1",
51
- "x2",
52
- "y2",
53
- "stroke",
54
- "stroke-width",
55
- "stroke-linecap"
56
- ], Ne = { key: 1 }, Pe = [
57
- "d",
58
- "fill",
59
- "stroke",
60
- "stroke-width"
61
- ], Fe = [
62
- "d",
63
- "fill",
64
- "stroke",
65
- "stroke-width"
66
- ], Ie = [
67
- "d",
68
- "fill",
69
- "stroke",
70
- "stroke-width"
71
- ], Le = [
72
- "x1",
73
- "x2",
74
- "y1",
75
- "y2",
76
- "stroke",
77
- "stroke-width",
78
- "stroke-linecap"
79
- ], Re = [
80
- "d",
81
- "fill",
82
- "stroke",
83
- "stroke-width"
84
- ], ze = ["aria-label"], Be = [
85
- "x",
86
- "y",
87
- "height"
88
- ], Ve = [
89
- "x",
90
- "y",
91
- "font-size",
92
- "fill",
93
- "font-weight",
94
- "stroke",
95
- "stroke-width"
96
- ], He = {
97
- key: 4,
98
- class: "vue-data-ui-watermark"
99
- }, Ue = /*#__PURE__*/ re({
100
- __name: "vue-ui-wheel",
101
- props: {
102
- config: {
103
- type: Object,
104
- default() {
105
- return {};
106
- }
107
- },
108
- dataset: {
109
- type: Object,
110
- default() {
111
- return {};
112
- }
113
- }
114
- },
115
- emits: ["copyAlt"],
116
- setup(e, { expose: re, emit: Se }) {
117
- be((e) => ({
118
- v78b20c9c: Rt.value,
119
- v2df1b502: zt.value,
120
- v2df19795: Bt.value
121
- }));
122
- let Ue = pe(() => import("./PenAndPaper-CNiuGw6k.js").then((e) => e.t)), We = pe(() => import("./UserOptions-CORYQiif.js").then((e) => e.n)), Ge = pe(() => import("./PackageVersion-D7H9nfK0.js").then((e) => e.t)), { vue_ui_wheel: Ke } = m(), { isThemeValid: qe, warnInvalidTheme: Je } = ee(), P = se(), F = e, Ye = Se, Xe = S(() => !!F.dataset && Object.keys(F.dataset).length), I = k(i()), Ze = k(null), Qe = k(0), L = k(null), $e = k(null), et = k(null), tt = k(null), nt = k(0), R = k(ut()), z = S(() => R.value.userOptions), B = S(() => R.value.style.chart.layout.wheel.ticks), V = S(() => R.value.style.chart.layout.wheel), H = S(() => R.value.style.chart);
123
- f({
124
- config: () => R.value,
125
- dataset: () => F.dataset,
126
- component: "VueUiWheel",
127
- rules: [p.noHint]
128
- });
129
- let rt = S(() => R.value.userOptions.useCursorPointer), it = S(() => l({
130
- defaultConfig: {
131
- userOptions: { show: !1 },
132
- style: { chart: {
133
- backgroundColor: "#99999930",
134
- animation: { use: !1 },
135
- layout: {
136
- wheel: { ticks: {
137
- activeColor: "#6A6A6A80",
138
- inactiveColor: "#CACACA80"
139
- } },
140
- innerCircle: { stroke: "#CACACA80" }
141
- }
142
- } }
143
- },
144
- userConfig: R.value.skeletonConfig ?? {}
145
- })), { loading: at, FINAL_DATASET: U } = g({
146
- ...ye(F),
147
- FINAL_CONFIG: R,
148
- prepareConfig: ut,
149
- skeletonDataset: F.config?.skeletonDataset ?? { percentage: 50 },
150
- skeletonConfig: l({
151
- defaultConfig: R.value,
152
- userConfig: it.value
153
- })
154
- }), { userOptionsVisible: ot, setUserOptionsVisibility: st, keepUserOptionState: ct } = ae({ config: R.value }), { svgRef: lt } = oe({ config: H.value.title });
155
- function ut() {
156
- let e = v({
157
- userConfig: F.config,
158
- defaultConfig: Ke
159
- }), t = e.theme;
160
- if (!t) return e;
161
- if (!qe.value(e)) return Je(e), e;
162
- let n = v({
163
- userConfig: ce[t] || F.config,
164
- defaultConfig: e
165
- });
166
- return v({
167
- userConfig: F.config,
168
- defaultConfig: n
169
- });
170
- }
171
- xe(() => F.config, (e) => {
172
- R.value = ut(), ot.value = !R.value.userOptions.showOnChartHover, vt(), nt.value += 1;
173
- }, { deep: !0 });
174
- let { isPrinting: dt, isImaging: ft, generatePdf: pt, generateImage: mt } = h({
175
- elementId: I.value,
176
- fileName: H.value.title.text || "vue-ui-wheel",
177
- options: R.value.userOptions.print
178
- }), ht = S(() => R.value.userOptions.show && !H.value.title.text), W = k({
179
- size: 360,
180
- height: 360,
181
- width: 360
182
- }), G = k(H.value.layout.percentage.fontSize), K = S(() => ({
183
- radius: Math.min(W.value.width, W.value.height) * .9 / 2 * V.value.radiusRatio,
184
- centerX: W.value.width / 2,
185
- centerY: W.value.height / 2
186
- }));
187
- function gt(e, t = 1) {
188
- let n = 29.85;
189
- return {
190
- x: K.value.centerX + K.value.radius * Math.cos(n + e * Math.PI / 180) * t,
191
- y: K.value.centerY + K.value.radius * Math.sin(n + e * Math.PI / 180) * t
192
- };
193
- }
194
- let q = k(H.value.animation.use && !P.value ? 0 : U.value.percentage || 0);
195
- xe(() => U.value, (e) => {
196
- H.value.animation.use && !P.value ? At(e.percentage) : q.value = e.percentage || 0;
197
- }, { deep: !0 });
198
- let J = _e(null), Y = _e(null);
199
- ge(() => {
200
- vt();
201
- });
202
- let _t = S(() => R.value.debug);
203
- function vt() {
204
- if (d(F.dataset) && o({
205
- componentName: "VueUiWheel",
206
- type: "dataset",
207
- debug: _t.value
208
- }), R.value.responsive) {
209
- let e = b(() => {
210
- let { width: e, height: t } = ie({
211
- chart: L.value,
212
- title: H.value.title.text ? $e.value : null,
213
- source: et.value,
214
- noTitle: tt.value
215
- });
216
- requestAnimationFrame(() => {
217
- W.value.width = e, W.value.height = t, G.value = H.value.layout.percentage.fontSize / 360 * Math.min(e, t);
218
- });
219
- });
220
- J.value && (Y.value && J.value.unobserve(Y.value), J.value.disconnect()), J.value = new ResizeObserver(e), Y.value = L.value.parentNode, J.value.observe(Y.value);
221
- }
222
- At(U.value.percentage || 0), H.value.animation.use && !P.value || (q.value = U.value.percentage || 0);
223
- }
224
- he(() => {
225
- J.value && (Y.value && J.value.unobserve(Y.value), J.value.disconnect());
226
- });
227
- function yt([e, t, n], r) {
228
- let i = Math.cos(r), a = Math.sin(r);
229
- return [
230
- e,
231
- t * i - n * a,
232
- t * a + n * i
233
- ];
234
- }
235
- function bt([e, t, n], r) {
236
- let i = r / (r - n);
237
- return [
238
- e * i,
239
- t * i,
240
- n,
241
- i
242
- ];
243
- }
244
- function xt(e, t) {
245
- let n = e.replace("#", ""), r = parseInt(n.substring(0, 2), 16), i = parseInt(n.substring(2, 4), 16), a = parseInt(n.substring(4, 6), 16), o = 1 - Math.min(1, Math.max(0, B.value.shadeColorRatio3d)) * t, s = Math.max(0, Math.min(255, Math.round(r * o))), c = Math.max(0, Math.min(255, Math.round(i * o))), l = Math.max(0, Math.min(255, Math.round(a * o)));
246
- return `#${s.toString(16).padStart(2, "0")}${c.toString(16).padStart(2, "0")}${l.toString(16).padStart(2, "0")}`;
247
- }
248
- function St({ cx: e, cy: t, radius: n, innerRatio: r = .8, count: i = 120, startDeg: o = 0, axDeg: s = 50, f: c = 520, baseStroke: l = 5, activeColor: u, inactiveColor: d, getActive: f }) {
249
- let p = s * Math.PI / 180, m = n, h = n * r, g = [];
250
- for (let n = 0; n < i; n += 1) {
251
- let r = (n / i * 360 + o) * Math.PI / 180, s = e + m * Math.cos(r), _ = t + m * Math.sin(r), v = e + h * Math.cos(r), ee = t + h * Math.sin(r), te = [
252
- s - e,
253
- _ - t,
254
- 0
255
- ], y = [
256
- v - e,
257
- ee - t,
258
- 0
259
- ], [ne, re, b] = yt(te, p), [ie, ae, oe] = yt(y, p), [se, ce, , x] = bt([
260
- ne,
261
- re,
262
- b
263
- ], c), [S, le, , C] = bt([
264
- ie,
265
- ae,
266
- oe
267
- ], c), w = e + se, ue = t + ce, de = e + S, fe = t + le, pe = (Math.max(b, oe) - -m * Math.sin(p)) / (2 * m * Math.sin(p) || 1), T = !f || f(n), E = B.value.gradient.show ? a(u, n * Q.value / Z.value * (B.value.gradient.shiftHueIntensity / 100)) : u, D = xt(T ? E : d, pe), me = Math.max(1.25, l * x * (Math.min(W.value.width, W.value.height) / 360));
268
- g.push({
269
- i: n,
270
- x1: w,
271
- y1: ue,
272
- x2: de,
273
- y2: fe,
274
- stroke: me,
275
- color: D,
276
- z: Math.max(b, oe)
277
- });
278
- }
279
- return g.sort((e, t) => e.z - t.z), g;
280
- }
281
- let Ct = S(() => {
282
- if (!R.value.layout === "3d") return null;
283
- let e = Z.value, t = B.value.gradient.show ? a(B.value.activeColor, 0) : B.value.activeColor, n = B.value.inactiveColor, r = B.value.strokeWidth;
284
- return St({
285
- cx: K.value.centerX,
286
- cy: K.value.centerY,
287
- radius: K.value.radius,
288
- innerRatio: B.value.sizeRatio,
289
- count: e,
290
- startDeg: -90,
291
- axDeg: V.value.tiltAngle3d,
292
- f: Math.min(W.value.width, W.value.height) * 1.45,
293
- baseStroke: r,
294
- activeColor: t,
295
- inactiveColor: n,
296
- getActive: (e) => q.value > e * Q.value
297
- });
298
- });
299
- function wt({ cx: e, cy: t, r: n, count: r = 180, startDeg: i = -90, axDeg: a = 50, f: o }) {
300
- let s = a * Math.PI / 180, c = [], l = 0;
301
- for (let a = 0; a < r; a += 1) {
302
- let u = (a / r * 360 + i) * Math.PI / 180, [d, f, p] = yt([
303
- n * Math.cos(u),
304
- n * Math.sin(u),
305
- 0
306
- ], s), [m, h, , g] = bt([
307
- d,
308
- f,
309
- p
310
- ], o);
311
- l += g, c.push([e + m, t + h]);
312
- }
313
- let u = `M ${c[0][0]} ${c[0][1]}`;
314
- for (let e = 1; e < c.length; e += 1) u += ` L ${c[e][0]} ${c[e][1]}`;
315
- u += " Z";
316
- let d = l / r;
317
- return {
318
- d: u,
319
- avgScale: d,
320
- pts: c
321
- };
322
- }
323
- let X = S(() => {
324
- if (R.value.layout !== "3d") return null;
325
- let e = Math.min(W.value.width, W.value.height) * 1.45, t = V.value.tiltAngle3d, n = K.value.radius, { pts: r, avgScale: i } = (() => {
326
- let r = n, i = t, { d: a, avgScale: o, pts: s } = wt({
327
- cx: K.value.centerX,
328
- cy: K.value.centerY,
329
- r,
330
- startDeg: -90,
331
- axDeg: i,
332
- f: e
333
- });
334
- return {
335
- pts: s,
336
- avgScale: o
337
- };
338
- })(), a = Infinity, o = Infinity, s = -Infinity, c = -Infinity;
339
- for (let [e, t] of r) e < a && (a = e), t < o && (o = t), e > s && (s = e), t > c && (c = t);
340
- let l = B.value.strokeWidth / 360 * Math.min(W.value.width, W.value.height), u = H.value.layout.innerCircle.strokeWidth || 0, d = .5 * Math.max(l, u * (i || 1)), f = Math.max(0, Number(B.value.depth3d) || 0), p = d;
341
- return {
342
- x: a - p,
343
- y: o - f - p,
344
- w: s - a + 2 * p,
345
- h: c - (o - f) + 2 * p
346
- };
347
- });
348
- function Tt(e) {
349
- let t = Math.min(W.value.width, W.value.height) * 1.45, { d: n, avgScale: r } = wt({
350
- cx: K.value.centerX,
351
- cy: K.value.centerY,
352
- r: e,
353
- startDeg: -90,
354
- axDeg: V.value.tiltAngle3d,
355
- f: t
356
- }), i = (H.value.layout.innerCircle.strokeWidth || 1) * r;
357
- return {
358
- d: n,
359
- stroke: H.value.layout.innerCircle.stroke,
360
- strokeWidth: i
361
- };
362
- }
363
- let Et = S(() => Tt(Math.max(0, K.value.radius * .8 * H.value.layout.innerCircle.radiusRatio)));
364
- function Dt({ cx: e, cy: t, r: n, aRad: r, ax: i, f: a }) {
365
- let [o, s, c] = yt([
366
- n * Math.cos(r),
367
- n * Math.sin(r),
368
- 0
369
- ], i), [l, u, , d] = bt([
370
- o,
371
- s,
372
- c
373
- ], a);
374
- return {
375
- x: e + l,
376
- y: t + u,
377
- z: c,
378
- s: d
379
- };
380
- }
381
- function Ot({ cx: e, cy: t, radius: n, innerRatio: r = .8, count: i = 120, startDeg: o = -87, axDeg: s = 45, f: c = 600, activeColor: l, inactiveColor: u, getActive: d, Y: f = 0 }) {
382
- let p = s * Math.PI / 180, m = n, h = n * r, g = 2 * Math.PI / i, _ = [];
383
- for (let n = 0; n < i; n += 1) {
384
- let r = o * Math.PI / 180 + g * n, s = r + g * Math.min(1, B.value.spacingRatio3d), v = Dt({
385
- cx: e,
386
- cy: t + f,
387
- r: m,
388
- aRad: r,
389
- ax: p,
390
- f: c
391
- }), ee = Dt({
392
- cx: e,
393
- cy: t + f,
394
- r: m,
395
- aRad: s,
396
- ax: p,
397
- f: c
398
- }), te = Dt({
399
- cx: e,
400
- cy: t + f,
401
- r: h,
402
- aRad: s,
403
- ax: p,
404
- f: c
405
- }), y = Dt({
406
- cx: e,
407
- cy: t + f,
408
- r: h,
409
- aRad: r,
410
- ax: p,
411
- f: c
412
- }), ne = (v.z + ee.z + y.z + te.z) / 4, re = xt(!d || d(n) ? B.value.gradient.show ? a(B.value.activeColor, 100 / i * n / 100 * (B.value.gradient.shiftHueIntensity / 100)) : l : u, (() => {
413
- let e = m * Math.sin(p) || 1;
414
- return (ne - -e) / (2 * e);
415
- })()), b = `M ${v.x} ${v.y} L ${ee.x} ${ee.y} L ${te.x} ${te.y} L ${y.x} ${y.y} Z`;
416
- _.push({
417
- i: n,
418
- d: b,
419
- fill: re,
420
- z: ne
421
- });
422
- }
423
- return _.sort((e, t) => e.z - t.z), _;
424
- }
425
- let kt = S(() => {
426
- if (R.value.layout !== "3d") return null;
427
- let e = Z.value;
428
- return (t) => Ot({
429
- cx: K.value.centerX,
430
- cy: K.value.centerY,
431
- radius: K.value.radius,
432
- innerRatio: B.value.sizeRatio,
433
- count: e,
434
- startDeg: -90,
435
- axDeg: V.value.tiltAngle3d,
436
- f: Math.min(W.value.width, W.value.height) * 1.45,
437
- activeColor: B.value.activeColor,
438
- inactiveColor: B.value.inactiveColor,
439
- getActive: (t) => q.value > 100 / e * t,
440
- Y: t
441
- });
442
- });
443
- function At(e) {
444
- let t = H.value.animation.speed, n = Math.abs(e - q.value) / (t * 120);
445
- function r() {
446
- q.value < e ? q.value = Math.min(q.value + n, e) : q.value > e && (q.value = Math.max(q.value - n, e)), q.value !== e && requestAnimationFrame(r);
447
- }
448
- r();
449
- }
450
- let Z = S(() => (_t.value && B.value.quantity < 12 && console.warn("VueUiWheel - The min number of ticks is 12"), _t.value && B.value.quantity > 200 && console.warn("VueUiWheel - The max number of ticks is 200"), Math.max(12, Math.min(B.value.quantity, 200)))), Q = S(() => 100 / Z.value), jt = S(() => {
451
- let e = [];
452
- for (let t = 0; t < Z.value; t += 1) {
453
- let n = q.value > t * Q.value ? B.value.activeColor : B.value.inactiveColor, { x: r, y: i } = gt(W.value.size / Z.value * t), { x: o, y: s } = gt(W.value.size / Z.value * t, B.value.sizeRatio);
454
- e.push({
455
- x1: r,
456
- y1: i,
457
- x2: o,
458
- y2: s,
459
- color: B.value.gradient.show ? a(n, t * Q.value / Z.value * (B.value.gradient.shiftHueIntensity / 100)) : n
460
- });
461
- }
462
- return e;
463
- }), Mt = S(() => r({ series: jt.value.map((e) => ({
464
- name: "",
465
- value: 1,
466
- color: e.color
467
- })) }, K.value.centerX, K.value.centerY, K.value.radius, K.value.radius, 1.99999, 2, 1, 360, 105.25, K.value.radius * (1 - B.value.sizeRatio))), Nt = k(!1);
468
- function Pt(e) {
469
- Nt.value = e, Qe.value += 1;
470
- }
471
- let Ft = k(!1);
472
- function It() {
473
- Ft.value = !Ft.value;
474
- }
475
- async function Lt({ scale: e = 2 } = {}) {
476
- if (!L.value) return;
477
- let { width: t, height: n } = L.value.getBoundingClientRect(), r = t / n, { imageUri: i, base64: a } = await y({
478
- domElement: L.value,
479
- base64: !0,
480
- img: !0,
481
- scale: e
482
- });
483
- return {
484
- imageUri: i,
485
- base64: a,
486
- title: H.value.title.text,
487
- width: t,
488
- height: n,
489
- aspectRatio: r
490
- };
491
- }
492
- let Rt = S(() => B.value.strokeWidth * 2), zt = S(() => B.value.strokeWidth * 2 * .75), Bt = S(() => B.value.strokeWidth), $ = S(() => Math.max(1, Math.min(20, B.value.depth3d))), Vt = S(() => H.value.backgroundColor), Ht = S(() => H.value.title), { isCallbackImaging: Ut, isCallbackSvg: Wt, generateSvg: Gt, onGenerateImage: Kt } = te({
493
- svg: lt,
494
- title: Ht,
495
- legend: null,
496
- legendItems: null,
497
- backgroundColor: Vt,
498
- stretchTitle: !0,
499
- getSvgCallback: () => R.value.userOptions.callbacks.svg,
500
- generateImage: mt
501
- });
502
- async function qt() {
503
- if (Ye("copyAlt", {
504
- config: R.value,
505
- dataset: U.value
506
- }), !R.value.userOptions.callbacks.altCopy) {
507
- console.warn("Vue Data UI - A callback must be set for `altCopy` in userOptions.");
508
- return;
509
- }
510
- await Promise.resolve(R.value.userOptions.callbacks.altCopy({
511
- config: R.value,
512
- dataset: U.value
513
- }));
514
- }
515
- let Jt = S(() => `${I.value}-title`), Yt = S(() => `${I.value}-desc`), Xt = S(() => c(H.value.layout.percentage.formatter, s(q.value), t({
516
- v: s(q.value),
517
- s: "%",
518
- r: H.value.layout.percentage.rounding
519
- }))), Zt = S(() => H.value.title.text || ""), Qt = S(() => at.value ? "..." : `${Xt.value}`);
520
- return re({
521
- getImage: Lt,
522
- generatePdf: pt,
523
- generateImage: mt,
524
- generateSvg: Gt,
525
- toggleAnnotator: It,
526
- toggleFullscreen: Pt,
527
- copyAlt: qt
528
- }), (e, t) => (O(), w("div", {
529
- class: E(["vue-ui-wheel", {
530
- "vue-data-ui-component": !0,
531
- "vue-ui-wheel-3d-wrap": R.value.layout === "3d"
532
- }]),
533
- ref_key: "wheelChart",
534
- ref: L,
535
- id: I.value,
536
- style: me(`font-family:${R.value.style.fontFamily};width:100%; text-align:center;background:${H.value.backgroundColor};${R.value.responsive ? "height:100%" : ""}`),
537
- onMouseenter: t[0] ||= () => M(st)(!0),
538
- onMouseleave: t[1] ||= () => M(st)(!1)
539
- }, [
540
- z.value.buttons.annotator ? (O(), le(M(Ue), {
541
- key: 0,
542
- svgRef: M(lt),
543
- backgroundColor: H.value.backgroundColor,
544
- color: H.value.color,
545
- active: Ft.value,
546
- isCursorPointer: rt.value,
547
- palette: z.value.annotatorPalette,
548
- onClose: It
549
- }, {
550
- "annotator-action-close": N(() => [j(e.$slots, "annotator-action-close", {}, void 0, !0)]),
551
- "annotator-action-color": N(({ color: t }) => [j(e.$slots, "annotator-action-color", D(T({ color: t })), void 0, !0)]),
552
- "annotator-action-draw": N(({ mode: t }) => [j(e.$slots, "annotator-action-draw", D(T({ mode: t })), void 0, !0)]),
553
- "annotator-action-undo": N(({ disabled: t }) => [j(e.$slots, "annotator-action-undo", D(T({ disabled: t })), void 0, !0)]),
554
- "annotator-action-redo": N(({ disabled: t }) => [j(e.$slots, "annotator-action-redo", D(T({ disabled: t })), void 0, !0)]),
555
- "annotator-action-delete": N(({ disabled: t }) => [j(e.$slots, "annotator-action-delete", D(T({ disabled: t })), void 0, !0)]),
556
- _: 3
557
- }, 8, [
558
- "svgRef",
559
- "backgroundColor",
560
- "color",
561
- "active",
562
- "isCursorPointer",
563
- "palette"
564
- ])) : C("", !0),
565
- ht.value ? (O(), w("div", {
566
- key: 1,
567
- ref_key: "noTitle",
568
- ref: tt,
569
- class: "vue-data-ui-no-title-space",
570
- style: "height:36px; width: 100%;background:transparent"
571
- }, null, 512)) : C("", !0),
572
- H.value.title.text ? (O(), w("div", {
573
- key: 2,
574
- ref_key: "chartTitle",
575
- ref: $e,
576
- style: "width:100%;background:transparent;padding-bottom:12px"
577
- }, [(O(), le(ne, {
578
- key: `title_${nt.value}`,
579
- config: {
580
- title: {
581
- cy: "wheel-title",
582
- ...H.value.title
583
- },
584
- subtitle: {
585
- cy: "wheel-subtitle",
586
- ...H.value.title.subtitle
587
- }
588
- }
589
- }, null, 8, ["config"]))], 512)) : C("", !0),
590
- z.value.show && Xe.value && (M(ct) || M(ot)) ? (O(), le(M(We), {
591
- ref_key: "details",
592
- ref: Ze,
593
- key: `user_options_${Qe.value}`,
594
- backgroundColor: H.value.backgroundColor,
595
- color: H.value.color,
596
- isPrinting: M(dt),
597
- isImaging: M(ft),
598
- uid: I.value,
599
- hasPdf: z.value.buttons.pdf,
600
- hasImg: z.value.buttons.img,
601
- hasSvg: z.value.buttons.svg,
602
- hasFullscreen: z.value.buttons.fullscreen,
603
- hasAltCopy: z.value.buttons.altCopy,
604
- hasXls: !1,
605
- isFullscreen: Nt.value,
606
- position: z.value.position,
607
- titles: { ...z.value.buttonTitles },
608
- hasAnnotator: z.value.buttons.annotator,
609
- isAnnotation: Ft.value,
610
- chartElement: L.value,
611
- callbacks: z.value.callbacks,
612
- printScale: z.value.print.scale,
613
- isCursorPointer: rt.value,
614
- onToggleFullscreen: Pt,
615
- onGeneratePdf: M(pt),
616
- onGenerateImage: M(Kt),
617
- onGenerateSvg: M(Gt),
618
- onToggleAnnotator: It,
619
- onCopyAlt: qt,
620
- style: me({ visibility: M(ct) ? M(ot) ? "visible" : "hidden" : "visible" })
621
- }, de({ _: 2 }, [
622
- e.$slots.menuIcon ? {
623
- name: "menuIcon",
624
- fn: N(({ isOpen: t, color: n }) => [j(e.$slots, "menuIcon", D(T({
625
- isOpen: t,
626
- color: n
627
- })), void 0, !0)]),
628
- key: "0"
629
- } : void 0,
630
- e.$slots.optionPdf ? {
631
- name: "optionPdf",
632
- fn: N(() => [j(e.$slots, "optionPdf", {}, void 0, !0)]),
633
- key: "1"
634
- } : void 0,
635
- e.$slots.optionImg ? {
636
- name: "optionImg",
637
- fn: N(() => [j(e.$slots, "optionImg", {}, void 0, !0)]),
638
- key: "2"
639
- } : void 0,
640
- e.$slots.optionSvg ? {
641
- name: "optionSvg",
642
- fn: N(() => [j(e.$slots, "optionSvg", {}, void 0, !0)]),
643
- key: "3"
644
- } : void 0,
645
- e.$slots.optionFullscreen ? {
646
- name: "optionFullscreen",
647
- fn: N(({ toggleFullscreen: t, isFullscreen: n }) => [j(e.$slots, "optionFullscreen", D(T({
648
- toggleFullscreen: t,
649
- isFullscreen: n
650
- })), void 0, !0)]),
651
- key: "4"
652
- } : void 0,
653
- e.$slots.optionAnnotator ? {
654
- name: "optionAnnotator",
655
- fn: N(({ toggleAnnotator: t, isAnnotator: n }) => [j(e.$slots, "optionAnnotator", D(T({
656
- toggleAnnotator: t,
657
- isAnnotator: n
658
- })), void 0, !0)]),
659
- key: "5"
660
- } : void 0,
661
- e.$slots.optionAltCopy ? {
662
- name: "optionAltCopy",
663
- fn: N(({ altCopy: t }) => [j(e.$slots, "optionAltCopy", D(T({ altCopy: t })), void 0, !0)]),
664
- key: "6"
665
- } : void 0,
666
- e.$slots["custom-menu-before"] ? {
667
- name: "custom-menu-before",
668
- fn: N(() => [j(e.$slots, "custom-menu-before", {}, void 0, !0)]),
669
- key: "7"
670
- } : void 0,
671
- e.$slots["custom-menu-after"] ? {
672
- name: "custom-menu-after",
673
- fn: N(() => [j(e.$slots, "custom-menu-after", {}, void 0, !0)]),
674
- key: "8"
675
- } : void 0
676
- ]), 1032, [
677
- "backgroundColor",
678
- "color",
679
- "isPrinting",
680
- "isImaging",
681
- "uid",
682
- "hasPdf",
683
- "hasImg",
684
- "hasSvg",
685
- "hasFullscreen",
686
- "hasAltCopy",
687
- "isFullscreen",
688
- "position",
689
- "titles",
690
- "hasAnnotator",
691
- "isAnnotation",
692
- "chartElement",
693
- "callbacks",
694
- "printScale",
695
- "isCursorPointer",
696
- "onGeneratePdf",
697
- "onGenerateImage",
698
- "onGenerateSvg",
699
- "style"
700
- ])) : C("", !0),
701
- (O(), w("svg", {
702
- ref_key: "svgRef",
703
- ref: lt,
704
- xmlns: M(u),
705
- class: E({
706
- "vue-data-ui-fullscreen--on": Nt.value,
707
- "vue-data-ui-fulscreen--off": !Nt.value,
708
- "vue-ui-wheel-3d-svg": R.value.layout === "3d"
709
- }),
710
- viewBox: R.value.layout === "3d" && !R.value.responsive ? `${X.value?.x - 10} ${X.value?.y ?? 0} ${X.value?.w + 20 ?? Math.max(10, W.value.width)} ${X.value?.h ?? Math.max(10, W.value.height)}` : `0 0 ${Math.max(10, W.value.width)} ${Math.max(10, W.value.height)}`,
711
- style: me(`max-width:100%;overflow:visible;background:transparent;color:${H.value.color}`),
712
- role: "img",
713
- "aria-labelledby": Jt.value,
714
- "aria-describedby": Yt.value
715
- }, [
716
- ue("title", { id: Jt.value }, ve(Zt.value), 9, Te),
717
- ue("desc", { id: Yt.value }, ve(Qt.value), 9, Ee),
718
- fe(M(Ge)),
719
- e.$slots["chart-background"] ? (O(), w("foreignObject", {
720
- key: 0,
721
- x: R.value.layout === "3d" && !R.value.responsive ? X.value?.x - 10 : 0,
722
- y: R.value.layout === "3d" && !R.value.responsive ? X.value?.y ?? 0 : 0,
723
- width: R.value.layout === "3d" && !R.value.responsive ? X.value?.w + 20 ?? Math.max(10, W.value.width) : Math.max(10, W.value.width),
724
- height: R.value.layout === "3d" && !R.value.responsive ? X.value?.h ?? Math.max(10, W.value.height) : Math.max(10, W.value.height),
725
- style: { pointerEvents: "none" }
726
- }, [j(e.$slots, "chart-background", {}, void 0, !0)], 8, De)) : C("", !0),
727
- R.value.layout === "3d" && Et.value ? (O(), w("path", {
728
- key: 1,
729
- class: "vue-ui-wheel-inner-circle",
730
- d: Et.value.d,
731
- stroke: H.value.layout.innerCircle.stroke,
732
- "stroke-width": H.value.layout.innerCircle.strokeWidth,
733
- fill: "none"
734
- }, null, 8, Oe)) : H.value.layout.innerCircle.show ? (O(), w("circle", {
735
- key: 2,
736
- class: "vue-ui-wheel-inner-circle",
737
- cx: K.value.centerX,
738
- cy: K.value.centerY,
739
- r: Math.max(0, K.value.radius * H.value.layout.innerCircle.radiusRatio * .8),
740
- stroke: H.value.layout.innerCircle.stroke,
741
- "stroke-width": H.value.layout.innerCircle.strokeWidth,
742
- fill: "none"
743
- }, null, 8, ke)) : C("", !0),
744
- R.value.layout === "3d" ? (O(), w(x, { key: 3 }, [B.value.type === "classic" ? (O(), w("g", Ae, [(O(!0), w(x, null, A($.value, (e) => (O(), w("g", null, [(O(!0), w(x, null, A(Ct.value || [], (t) => (O(), w("line", {
745
- key: t.i,
746
- x1: t.x1,
747
- y1: t.y1 - e,
748
- x2: t.x2,
749
- y2: t.y2 - e,
750
- stroke: M(n)(t.color, .25 * e / 5),
751
- "stroke-width": B.value.strokeWidth / 360 * Math.min(W.value.width, W.value.height),
752
- "stroke-linecap": B.value.rounded ? "round" : "butt",
753
- class: E({
754
- "vue-ui-wheel-tick": !0,
755
- "vue-ui-tick-animated": H.value.animation.use && !M(P) && t.i * Q.value <= q.value
756
- })
757
- }, null, 10, je))), 128))]))), 256)), (O(!0), w(x, null, A(Ct.value || [], (e) => (O(), w("line", {
758
- key: e.i,
759
- x1: e.x1,
760
- y1: e.y1 - $.value,
761
- x2: e.x2,
762
- y2: e.y2 - $.value,
763
- stroke: e.color,
764
- "stroke-width": B.value.strokeWidth / 360 * Math.min(W.value.width, W.value.height),
765
- "stroke-linecap": B.value.rounded ? "round" : "butt",
766
- class: E({
767
- "vue-ui-wheel-tick": !0,
768
- "vue-ui-tick-animated": H.value.animation.use && !M(P) && e.i * Q.value <= q.value
769
- })
770
- }, null, 10, Me))), 128))])) : (O(), w("g", Ne, [(O(!0), w(x, null, A($.value, (e) => (O(), w("g", null, [(O(!0), w(x, null, A(kt.value(-e) || [], (e) => (O(), w("path", {
771
- key: e.i,
772
- d: e.d,
773
- fill: B.value.inactiveColor,
774
- stroke: B.value.stroke,
775
- "stroke-width": B.value.strokeWidth,
776
- "stroke-linecap": "round",
777
- "stroke-linejoin": "round",
778
- class: "vue-ui-wheel-tick"
779
- }, null, 8, Pe))), 128)), (O(!0), w(x, null, A(kt.value(-e) || [], (t) => (O(), w("path", {
780
- key: t.i,
781
- d: t.d,
782
- fill: M(n)(t.fill, .5 * e / $.value),
783
- stroke: B.value.stroke,
784
- "stroke-width": B.value.strokeWidth,
785
- "stroke-linecap": "round",
786
- "stroke-linejoin": "round",
787
- class: E({
788
- "vue-ui-wheel-tick": !0,
789
- "vue-ui-tick-animated-3d": H.value.animation.use && !M(P) && t.i * Q.value <= q.value
790
- })
791
- }, null, 10, Fe))), 128))]))), 256)), ue("g", null, [(O(!0), w(x, null, A(kt.value(-$.value) || [], (e) => (O(), w("path", {
792
- key: e.i,
793
- d: e.d,
794
- fill: e.fill,
795
- stroke: B.value.stroke,
796
- "stroke-width": B.value.strokeWidth,
797
- "stroke-linecap": "round",
798
- "stroke-linejoin": "round",
799
- class: E({
800
- "vue-ui-wheel-tick": !0,
801
- "vue-ui-tick-animated-3d": H.value.animation.use && !M(P) && e.i * Q.value <= q.value
802
- })
803
- }, null, 10, Ie))), 128))])]))], 64)) : (O(), w(x, { key: 4 }, [B.value.type === "classic" ? (O(!0), w(x, { key: 0 }, A(jt.value, (e, t) => (O(), w("line", {
804
- x1: e.x1,
805
- x2: e.x2,
806
- y1: e.y1,
807
- y2: e.y2,
808
- stroke: e.color,
809
- "stroke-width": B.value.strokeWidth / 360 * Math.min(W.value.width, W.value.height),
810
- "stroke-linecap": B.value.rounded ? "round" : "butt",
811
- class: E({
812
- "vue-ui-wheel-tick": !0,
813
- "vue-ui-tick-animated": H.value.animation.use && !M(P) && t * Q.value <= q.value
814
- })
815
- }, null, 10, Le))), 256)) : (O(!0), w(x, { key: 1 }, A(Mt.value, (e, t) => (O(), w("path", {
816
- d: e.arcSlice,
817
- fill: e.color,
818
- class: E({
819
- "vue-ui-wheel-tick": !0,
820
- "vue-ui-tick-animated": H.value.animation.use && !M(P) && t * Q.value <= q.value
821
- }),
822
- stroke: B.value.stroke,
823
- "stroke-width": B.value.strokeWidth
824
- }, null, 10, Re))), 256))], 64)),
825
- H.value.layout.percentage.show ? (O(), w("g", {
826
- key: 5,
827
- role: "status",
828
- "aria-live": "polite",
829
- "aria-label": M(at) ? "..." : Xt.value
830
- }, [M(at) ? (O(), w("rect", {
831
- key: 0,
832
- x: K.value.centerX - 40,
833
- y: K.value.centerY - G.value / 2,
834
- width: 80,
835
- height: G.value,
836
- fill: "#6A6A6A80",
837
- rx: "3"
838
- }, null, 8, Be)) : (O(), w("text", {
839
- key: 1,
840
- "aria-hidden": "true",
841
- x: K.value.centerX + H.value.layout.percentage.offsetX,
842
- y: K.value.centerY + G.value / 3 + H.value.layout.percentage.offsetY,
843
- "font-size": G.value,
844
- fill: B.value.gradient.show ? M(a)(B.value.activeColor, q.value / 100 * (B.value.gradient.shiftHueIntensity / 100)) : B.value.activeColor,
845
- "text-anchor": "middle",
846
- "font-weight": H.value.layout.percentage.bold ? "bold" : "normal",
847
- style: { "font-variant-numeric": "tabluar-nums" },
848
- stroke: H.value.layout.percentage.stroke,
849
- "stroke-width": H.value.layout.percentage.strokeWidth,
850
- "stroke-linecap": "round",
851
- "stroke-linejoin": "round",
852
- "paint-order": "stroke fill",
853
- class: E({ "vue-ui-wheel-label": R.value.layout === "3d" })
854
- }, ve(Xt.value), 11, Ve))], 8, ze)) : C("", !0),
855
- j(e.$slots, "svg", { svg: {
856
- ...W.value,
857
- isPrintingImg: M(dt) || M(ft) || M(Ut),
858
- isPrintingSvg: M(Wt)
859
- } }, void 0, !0)
860
- ], 14, we)),
861
- e.$slots.watermark ? (O(), w("div", He, [j(e.$slots, "watermark", D(T({ isPrinting: M(dt) || M(ft) || M(Ut) || M(Wt) })), void 0, !0)])) : C("", !0),
862
- e.$slots.source ? (O(), w("div", {
863
- key: 5,
864
- ref_key: "source",
865
- ref: et,
866
- dir: "auto"
867
- }, [j(e.$slots, "source", {}, void 0, !0)], 512)) : C("", !0),
868
- j(e.$slots, "skeleton", {}, () => [M(at) ? (O(), le(_, { key: 0 })) : C("", !0)], !0)
869
- ], 46, Ce));
870
- }
871
- }, [["__scopeId", "data-v-ed4341f8"]]);
872
- //#endregion
873
- export { Se as n, Ue as t };