vue-data-ui 3.26.5 → 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 +17969 -17813
  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 -120
  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-BQbcOtfC.js +0 -116
  350. package/dist/BaseDraggableDialog-BCFCiP_6.js +0 -272
  351. package/dist/BaseIcon-CIK6Sqo3.js +0 -484
  352. package/dist/BaseLegendToggle-Doa5rYP2.js +0 -56
  353. package/dist/BaseScanner-Dzc8VT3j.js +0 -30
  354. package/dist/BaseZoomControls-BGQM8B5F.js +0 -111
  355. package/dist/ColorPicker-Cb7qpvFt.js +0 -257
  356. package/dist/DataTable-B6LDCXBz.js +0 -150
  357. package/dist/DefGrad-DVBqDjhO.js +0 -48
  358. package/dist/HillActions-CwdgCb7Q.js +0 -187
  359. package/dist/Legend-D9FGXIbQ.js +0 -156
  360. package/dist/NonSvgPenAndPaper-9T4MSwXC.js +0 -577
  361. package/dist/PackageVersion-CslTvFsC.js +0 -12
  362. package/dist/PenAndPaper-C1EcBgJW.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-BZgQLgu5.js +0 -143
  367. package/dist/SlicerPreview-DyYv_G-_.js +0 -1730
  368. package/dist/SparkTooltip-D4cRlyuq.js +0 -93
  369. package/dist/Title-Bd98RysU.js +0 -87
  370. package/dist/Tooltip-DmQeI5WE.js +0 -312
  371. package/dist/UserOptions-B_yBcZ1-.js +0 -1412
  372. package/dist/_plugin-vue_export-helper-B3ysoDQm.js +0 -8
  373. package/dist/dom-to-png-B_RJohlM.js +0 -237
  374. package/dist/exposedLib-C-JlvWAt.js +0 -28
  375. package/dist/geoProjections-BYthUA8l.js +0 -302
  376. package/dist/img-KURaWjZI.js +0 -129
  377. package/dist/labelUtils-DShv2Mbg.js +0 -19
  378. package/dist/lib-TWIH5fGr.js +0 -2152
  379. package/dist/package-DbTqd5lc.js +0 -4
  380. package/dist/patternUtils-CS7hn6at.js +0 -258
  381. package/dist/pdf-CLl24Afl.js +0 -90
  382. package/dist/render-common-CKv-jztN.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-DObkR9Aa.js +0 -8008
  388. package/dist/useFitSvgText-CXTzBplU.js +0 -65
  389. package/dist/useHints-Dq_w2E8B.js +0 -66
  390. package/dist/useNestedProp-BxOdWM0c.js +0 -12
  391. package/dist/useObjectBindings-CPmyIJxB.js +0 -191
  392. package/dist/usePanZoom-CYU3B4T3.js +0 -157
  393. package/dist/usePrefersMotion-BC-CsqR1.js +0 -15
  394. package/dist/usePrinter-8Y1Rju0Y.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-C3G5Zdl5.js +0 -191
  406. package/dist/vue-ui-3d-bar-Cl6-fBV8.js +0 -1831
  407. package/dist/vue-ui-accordion-AyyZDab3.js +0 -81
  408. package/dist/vue-ui-age-pyramid-DOtWAL8s.js +0 -1305
  409. package/dist/vue-ui-annotator-BCVjlojM.js +0 -3325
  410. package/dist/vue-ui-bullet-B_1Ctjvq.js +0 -702
  411. package/dist/vue-ui-bump-kOK6x4al.js +0 -1242
  412. package/dist/vue-ui-candlestick-KvhjbAxt.js +0 -2144
  413. package/dist/vue-ui-carousel-table-ArMiO0cG.js +0 -467
  414. package/dist/vue-ui-chestnut-DSM0U27X.js +0 -2016
  415. package/dist/vue-ui-chord-64akfaem.js +0 -1347
  416. package/dist/vue-ui-circle-pack-CaR_aNEh.js +0 -1647
  417. package/dist/vue-ui-cursor-DCgqYZiz.js +0 -283
  418. package/dist/vue-ui-dag-8uKK0Rlp.js +0 -2931
  419. package/dist/vue-ui-dashboard-DeccYtSY.js +0 -522
  420. package/dist/vue-ui-digits-BvK7bVuJ.js +0 -217
  421. package/dist/vue-ui-donut-8joMj08Z.js +0 -974
  422. package/dist/vue-ui-donut-CvbfzzdT.js +0 -2427
  423. package/dist/vue-ui-donut-evolution-DgITf95R.js +0 -1869
  424. package/dist/vue-ui-dumbbell-U2L4ZYhB.js +0 -1533
  425. package/dist/vue-ui-flow-DD20fJu_.js +0 -1229
  426. package/dist/vue-ui-funnel-Cx8hVlZV.js +0 -749
  427. package/dist/vue-ui-galaxy-VZFZnHPv.js +0 -1097
  428. package/dist/vue-ui-gauge-Copa7G58.js +0 -934
  429. package/dist/vue-ui-geo-DeDQ6ubl.js +0 -1495
  430. package/dist/vue-ui-gizmo-D5oUKIsP.js +0 -238
  431. package/dist/vue-ui-heatmap-BukWtNsd.js +0 -1613
  432. package/dist/vue-ui-hill-DONFacXR.js +0 -1747
  433. package/dist/vue-ui-history-plot-BMy_y9S6.js +0 -1710
  434. package/dist/vue-ui-horizontal-bar-bcPSs999.js +0 -1723
  435. package/dist/vue-ui-kpi-Bol0OWs3.js +0 -104
  436. package/dist/vue-ui-label-cwjXaEDQ.js +0 -1451
  437. package/dist/vue-ui-mini-loader-kdpasmXb.js +0 -133
  438. package/dist/vue-ui-molecule-BiAI5lbh.js +0 -941
  439. package/dist/vue-ui-mood-radar-f4xXkiBs.js +0 -1111
  440. package/dist/vue-ui-nested-donuts-ZmGGEvRk.js +0 -1515
  441. package/dist/vue-ui-onion-D6IKPpL-.js +0 -1247
  442. package/dist/vue-ui-parallel-coordinate-plot-BbfModz3.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-CueHa1Pm.js +0 -1979
  446. package/dist/vue-ui-quick-chart-C8ZxX1Zw.js +0 -2775
  447. package/dist/vue-ui-radar-BcD7Zqvb.js +0 -1386
  448. package/dist/vue-ui-rating-V_OnJN9Y.js +0 -359
  449. package/dist/vue-ui-relation-circle-DlN4r83K.js +0 -905
  450. package/dist/vue-ui-ridgeline-BlQnTWXi.js +0 -1630
  451. package/dist/vue-ui-rings-Bf9IKwDr.js +0 -1264
  452. package/dist/vue-ui-scatter-arPbS9MH.js +0 -2418
  453. package/dist/vue-ui-skeleton-dyXWT6JX.js +0 -2567
  454. package/dist/vue-ui-smiley-w6nH1I0E.js +0 -376
  455. package/dist/vue-ui-spark-trend-Bso9bwmY.js +0 -457
  456. package/dist/vue-ui-sparkbar-CL06Yt56.js +0 -401
  457. package/dist/vue-ui-sparkgauge-BHDM5Hbr.js +0 -268
  458. package/dist/vue-ui-sparkhistogram-3Tw8PEms.js +0 -589
  459. package/dist/vue-ui-sparkline-znaswFQj.js +0 -2067
  460. package/dist/vue-ui-sparkstackbar-BOzVoWoa.js +0 -750
  461. package/dist/vue-ui-stackbar-BTOvMsP8.js +0 -2755
  462. package/dist/vue-ui-stackline-qcLrNL09.js +0 -2829
  463. package/dist/vue-ui-strip-plot-BLNaCPm8.js +0 -1752
  464. package/dist/vue-ui-table-D295mJIf.js +0 -1352
  465. package/dist/vue-ui-table-heatmap-CXeMKqKz.js +0 -363
  466. package/dist/vue-ui-table-sparkline-BYuwQrwA.js +0 -738
  467. package/dist/vue-ui-thermometer-BwJ0oF-H.js +0 -758
  468. package/dist/vue-ui-timer-BULpjYiI.js +0 -451
  469. package/dist/vue-ui-tiremarks-B7bTeU8h.js +0 -540
  470. package/dist/vue-ui-treemap-DkqDz9W4.js +0 -1745
  471. package/dist/vue-ui-waffle-Cn7WBzqh.js +0 -1633
  472. package/dist/vue-ui-wheel-Cy7kBvEx.js +0 -873
  473. package/dist/vue-ui-word-cloud-tRqc2ZMR.js +0 -1723
  474. package/dist/vue-ui-world-B755-zji.js +0 -3021
  475. package/dist/vue-ui-xy-BiHIJ7rK.js +0 -1387
  476. package/dist/vue-ui-xy-DWYTZz_v.js +0 -5777
  477. package/dist/vue-ui-xy-canvas-DGuMC_Rf.js +0 -2151
  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-DdjDL6aq.js +0 -491
  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,1264 +0,0 @@
1
- import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
2
- import { $ as t, $t as n, D as r, Et as i, Gt as a, J as o, Jt as ee, Rt as te, S as ne, Vt as s, X as re, at as ie, b as ae, et as oe, ft as se, i as ce, nt as le, qt as ue, t as de, tn as fe, vt as pe, w as me } from "./lib-TWIH5fGr.js";
3
- import { n as he, t as ge } from "./useHints-Dq_w2E8B.js";
4
- import { t as _e } from "./useConfig-DObkR9Aa.js";
5
- import { t as ve } from "./usePrinter-8Y1Rju0Y.js";
6
- import { n as ye, t as be } from "./BaseScanner-Dzc8VT3j.js";
7
- import { t as xe } from "./useNestedProp-BxOdWM0c.js";
8
- import { t as Se } from "./useThemeCheck-C43Tcqmk.js";
9
- import { t as Ce } from "./useChartExport-iwOqiIWX.js";
10
- import { t as we } from "./useTransitions-g_zBREk2.js";
11
- import { t as Te } from "./img-KURaWjZI.js";
12
- import { n as Ee } from "./Title-Bd98RysU.js";
13
- import { t as De } from "./Shape-BZgQLgu5.js";
14
- import { t as Oe } from "./_plugin-vue_export-helper-B3ysoDQm.js";
15
- import { l as ke, t as Ae } from "./useResponsive-ZtArZtUf.js";
16
- import { t as je } from "./DefGrad-DVBqDjhO.js";
17
- import { t as Me } from "./BaseLegendToggle-Doa5rYP2.js";
18
- import { t as Ne } from "./A11yDataTable-DdRsVULz.js";
19
- import { t as Pe } from "./useUserOptionState-DK-_1ddE.js";
20
- import { t as Fe } from "./useChartAccessibility-DYqac8yF.js";
21
- import { t as Ie } from "./labelUtils-DShv2Mbg.js";
22
- import { t as Le } from "./Legend-D9FGXIbQ.js";
23
- import { t as Re } from "./vue_ui_rings-BVgD2aMn.js";
24
- import { Fragment as ze, Teleport as Be, computed as c, createBlock as l, createCommentVNode as u, createElementBlock as d, createElementVNode as f, createSlots as Ve, createTextVNode as He, createVNode as Ue, defineAsyncComponent as p, guardReactiveProps as m, mergeProps as We, nextTick as Ge, normalizeClass as h, normalizeProps as g, normalizeStyle as _, onBeforeUnmount as Ke, onMounted as qe, openBlock as v, ref as y, renderList as Je, renderSlot as b, resolveDynamicComponent as Ye, shallowRef as Xe, toDisplayString as Ze, toRefs as Qe, unref as x, useSlots as $e, watch as et, withCtx as S } from "vue";
25
- //#region src/components/vue-ui-rings.vue
26
- var tt = /* @__PURE__ */ e({ default: () => St }), nt = ["id"], rt = ["id"], it = ["id"], at = { style: { position: "relative" } }, ot = [
27
- "xmlns",
28
- "viewBox",
29
- "aria-describedby"
30
- ], st = ["width", "height"], ct = { key: 1 }, lt = [
31
- "stroke",
32
- "cx",
33
- "cy",
34
- "r",
35
- "fill"
36
- ], ut = [
37
- "stroke",
38
- "stroke-width",
39
- "cx",
40
- "cy",
41
- "r",
42
- "fill"
43
- ], dt = [
44
- "stroke",
45
- "stroke-width",
46
- "cx",
47
- "cy",
48
- "r",
49
- "fill"
50
- ], ft = [
51
- "cx",
52
- "cy",
53
- "r",
54
- "onMouseenter",
55
- "onMouseleave",
56
- "onClick"
57
- ], pt = [
58
- "x",
59
- "y",
60
- "width",
61
- "height",
62
- "fill",
63
- "rx"
64
- ], mt = [
65
- "cx",
66
- "cy",
67
- "r",
68
- "fill",
69
- "stroke"
70
- ], ht = [
71
- "text-anchor",
72
- "font-size",
73
- "fill",
74
- "font-weight",
75
- "transform",
76
- "onMouseenter",
77
- "onMouseleave",
78
- "onClick",
79
- "innerHTML"
80
- ], gt = {
81
- key: 0,
82
- style: {
83
- position: "absolute",
84
- top: "100%",
85
- left: "0",
86
- width: "100%"
87
- },
88
- "data-dom-to-png-ignore": "",
89
- "aria-hidden": "true"
90
- }, _t = {
91
- key: 5,
92
- class: "vue-data-ui-watermark"
93
- }, vt = ["id"], yt = ["onClick"], bt = { key: 0 }, xt = { key: 1 }, St = /*#__PURE__*/ Oe({
94
- __name: "vue-ui-rings",
95
- props: {
96
- config: {
97
- type: Object,
98
- default() {
99
- return {};
100
- }
101
- },
102
- dataset: {
103
- type: Array,
104
- default() {
105
- return [];
106
- }
107
- }
108
- },
109
- emits: ["selectLegend", "copyAlt"],
110
- setup(e, { expose: Oe, emit: tt }) {
111
- let St = p(() => import("./Tooltip-DmQeI5WE.js")), Ct = p(() => import("./BaseIcon-CIK6Sqo3.js").then((e) => e.n)), wt = p(() => import("./vue-ui-accordion-AyyZDab3.js").then((e) => e.n)), Tt = p(() => import("./DataTable-B6LDCXBz.js")), Et = p(() => import("./PenAndPaper-C1EcBgJW.js").then((e) => e.t)), Dt = p(() => import("./UserOptions-B_yBcZ1-.js").then((e) => e.n)), Ot = p(() => import("./PackageVersion-CslTvFsC.js").then((e) => e.t)), kt = p(() => import("./BaseDraggableDialog-BCFCiP_6.js").then((e) => e.n)), { vue_ui_rings: At } = _e(), { isThemeValid: jt, warnInvalidTheme: Mt } = Se(), Nt = $e(), C = e, w = y(!1), Pt = c(() => !!C.dataset && C.dataset.length), T = y(re()), E = y(!1), Ft = y(""), D = y(null), It = y(0), O = y(null), Lt = y(null), Rt = y(null), zt = y(null), Bt = y(null), Vt = y(0), Ht = y(0), Ut = y(0), Wt = y(!1), Gt = y(!1), Kt = y(null), qt = y(null), k = y(null), Jt = y({
112
- x: 0,
113
- y: 0
114
- }), Yt = y("pointer"), Xt = y(!1), A = y(rn()), j = c(() => A.value.userOptions), M = c(() => A.value.style.chart.layout.rings), N = c(() => A.value.style.chart.layout.labels), P = c(() => A.value.style.chart.tooltip), F = c(() => A.value.style.chart);
115
- he({
116
- config: () => A.value,
117
- dataset: () => C.dataset,
118
- component: "VueUiRings",
119
- rules: [
120
- ge.singleSeries,
121
- ge.emptyArray,
122
- {
123
- test: (e) => e.length > 6,
124
- message: [
125
- "👀 The number of series is > 6. Consider:",
126
- "",
127
- "▶️ Grouping small values dynamically into a single \"Other\" series.",
128
- "",
129
- "▶️ Using filters to let users choose a maximum number of series to display.",
130
- "",
131
- "▶️ Using VueUiHorizontalBar instead to make the dataset breakdown easier to read."
132
- ]
133
- }
134
- ]
135
- });
136
- let { transitionEnabled: I } = we({
137
- config: () => A.value.transitions,
138
- dataset: () => C.dataset
139
- }), L = c(() => A.value.userOptions.useCursorPointer), Zt = c(() => fe({
140
- defaultConfig: {
141
- userOptions: { show: !1 },
142
- table: { show: !1 },
143
- style: { chart: {
144
- backgroundColor: "#99999930",
145
- layout: {
146
- rings: {
147
- stroke: "#6A6A6A",
148
- gradient: { underlayerColor: "#FFFFFF" }
149
- },
150
- labels: { dataLabels: { show: !1 } }
151
- },
152
- legend: { backgroundColor: "transparent" }
153
- } }
154
- },
155
- userConfig: A.value.skeletonConfig ?? {}
156
- })), { loading: R, FINAL_DATASET: Qt, manualLoading: $t } = ye({
157
- ...Qe(C),
158
- FINAL_CONFIG: A,
159
- prepareConfig: rn,
160
- skeletonDataset: C.config?.skeletonDataset ?? [
161
- {
162
- name: "_",
163
- values: [13],
164
- color: "#808080"
165
- },
166
- {
167
- name: "_",
168
- values: [8],
169
- color: "#969696"
170
- },
171
- {
172
- name: "_",
173
- values: [5],
174
- color: "#ADADAD"
175
- },
176
- {
177
- name: "_",
178
- values: [3],
179
- color: "#C4C4C4"
180
- },
181
- {
182
- name: "_",
183
- values: [2],
184
- color: "#DBDBDB"
185
- }
186
- ],
187
- skeletonConfig: fe({
188
- defaultConfig: A.value,
189
- userConfig: Zt.value
190
- })
191
- }), { userOptionsVisible: en, setUserOptionsVisibility: tn, keepUserOptionState: nn } = Pe({ config: A.value }), { svgRef: z } = Fe({ config: F.value.title });
192
- function rn() {
193
- let e = xe({
194
- userConfig: C.config,
195
- defaultConfig: At
196
- }), t = e.theme;
197
- if (!t) return e;
198
- if (!jt.value(e)) return Mt(e), e;
199
- let r = xe({
200
- userConfig: Re[t] || C.config,
201
- defaultConfig: e
202
- });
203
- return {
204
- ...xe({
205
- userConfig: C.config,
206
- defaultConfig: r
207
- }),
208
- customPalette: e.customPalette.length ? e.customPalette : n[e.theme] || s
209
- };
210
- }
211
- function an(e) {
212
- let t = oe(e);
213
- return t?.style?.chart && delete t.style.chart.tooltip, JSON.stringify(t);
214
- }
215
- let on = an(C.config);
216
- et(() => C.config, (e, t) => {
217
- let n = an(e), r = n !== on;
218
- on = n;
219
- let i = rn();
220
- if (!r) {
221
- A.value.style.chart.tooltip = i.style.chart.tooltip, U.value.showTooltip = A.value.style.chart.tooltip.show;
222
- return;
223
- }
224
- R.value || (A.value = i), en.value = !A.value.userOptions.showOnChartHover, ln(), Vt.value += 1, Ht.value += 1, Ut.value += 1, U.value.showTable = A.value.table.show, U.value.showTooltip = P.value.show, U.value.showLabels = N.value.dataLabels.show, W.value.width = F.value.size, W.value.height = F.value.size;
225
- }, { deep: !0 });
226
- let sn = c(() => {
227
- let { markers: e } = N.value.dataLabels, t = Y.value / 2, n = U.value.showLabels ? e.position === "left" ? t : -t : 0, r = U.value.showLabels ? W.value.width / 2 - t : 0, i = e.position === "left" ? r : -r;
228
- return {
229
- x: A.value.responsive ? i : n / F.value.size * W.value.width,
230
- y: 0 / F.value.size * W.value.height
231
- };
232
- }), B = c(() => ({
233
- x: W.value.width / 2 + sn.value.x,
234
- y: W.value.height / 2 + sn.value.y
235
- }));
236
- et(() => C.dataset, (e) => {
237
- Array.isArray(e) && e.length > 0 && ($t.value = !1);
238
- }, { deep: !0 });
239
- let V = Xe(null), H = Xe(null);
240
- qe(() => {
241
- Gt.value = !0, ln();
242
- });
243
- let cn = c(() => A.value.debug);
244
- function ln() {
245
- if (te(C.dataset) ? (ie({
246
- componentName: "VueUiRings",
247
- type: "dataset",
248
- debug: cn.value
249
- }), $t.value = !0) : C.dataset.forEach((e, t) => {
250
- e.values.length || (ie({
251
- componentName: "VueUiRings",
252
- type: "dataset",
253
- debug: cn.value
254
- }), $t.value = !0), pe({
255
- datasetObject: e,
256
- requiredAttributes: ["name", "values"]
257
- }).forEach((e) => {
258
- ie({
259
- componentName: "VueUiRings",
260
- type: "datasetSerieAttribute",
261
- property: e,
262
- index: t,
263
- debug: cn.value
264
- });
265
- });
266
- }), te(C.dataset) || ($t.value = A.value.loading), A.value.responsive) {
267
- let e = ke(() => {
268
- Wt.value = !0;
269
- let { width: e, height: t } = Ae({
270
- chart: O.value,
271
- title: F.value.title.text ? Lt.value : null,
272
- legend: F.value.legend.show ? Rt.value : null,
273
- source: zt.value,
274
- noTitle: Bt.value
275
- });
276
- requestAnimationFrame(() => {
277
- W.value.width = e, W.value.height = t - 12, Wt.value = !1;
278
- });
279
- });
280
- V.value && (H.value && V.value.unobserve(H.value), V.value.disconnect()), V.value = new ResizeObserver(e), H.value = O.value.parentNode, V.value.observe(H.value);
281
- }
282
- setTimeout(() => {
283
- w.value = !0;
284
- }, 600);
285
- }
286
- Ke(() => {
287
- V.value && (H.value && V.value.unobserve(H.value), V.value.disconnect());
288
- });
289
- let { isPrinting: un, isImaging: dn, generatePdf: fn, generateImage: pn } = ve({
290
- elementId: `rings_${T.value}`,
291
- fileName: F.value.title.text || "vue-ui-rings",
292
- options: A.value.userOptions.print
293
- }), mn = c(() => A.value.userOptions.show && !F.value.title.text), hn = c(() => me(A.value.customPalette)), U = y({
294
- showTable: A.value.table.show,
295
- showTooltip: P.value.show,
296
- showLabels: N.value.dataLabels.show
297
- });
298
- et(A, () => {
299
- U.value = {
300
- showTable: A.value.table.show,
301
- showTooltip: P.value.show,
302
- showLabels: N.value.dataLabels.show
303
- };
304
- }, { immediate: !0 });
305
- let W = y({
306
- height: F.value.size,
307
- width: F.value.size
308
- }), gn = c(() => Math.min(W.value.height, W.value.width)), _n = tt, G = y([]);
309
- function vn() {
310
- G.value.length ? G.value = [] : En.value.forEach((e) => {
311
- G.value.push(e.uid);
312
- }), yn();
313
- }
314
- function yn() {
315
- _n("selectLegend", J.value.map((e) => ({
316
- name: e.name,
317
- color: e.color,
318
- value: e.value
319
- })));
320
- }
321
- function bn(e) {
322
- if (G.value.includes(e)) G.value = G.value.filter((t) => t !== e);
323
- else {
324
- if (G.value.length === K.value.length - 1) return;
325
- G.value.push(e);
326
- }
327
- yn();
328
- }
329
- function xn(e) {
330
- return K.value.length ? K.value.find((t) => t.name === e) || (cn.value && console.warn(`VueUiRings - Series name not found "${e}"`), null) : (cn.value && console.warn("VueUiRings - There are no series to show."), null);
331
- }
332
- function Sn(e) {
333
- let t = xn(e);
334
- t !== null && G.value.includes(t.uid) && bn(t.uid);
335
- }
336
- function Cn(e) {
337
- let t = xn(e);
338
- t !== null && (G.value.includes(t.uid) || bn(t.uid));
339
- }
340
- let wn = c(() => Math.max(...K.value.filter((e) => !G.value.includes(e.uid)).map(({ value: e }) => e)));
341
- function Tn(e) {
342
- return e / wn.value;
343
- }
344
- let K = c(() => Qt.value.map(({ values: e, name: t, color: n = null }, r) => {
345
- let i = a(e).reduce((e, t) => e + t, 0);
346
- return {
347
- name: t,
348
- color: n || ne(n) || hn.value[r] || s[r] || s[r % s.length],
349
- value: i,
350
- proportion: i / Qt.value.map((e) => (e.values || []).reduce((e, t) => e + t, 0)).reduce((e, t) => e + t, 0),
351
- uid: re(),
352
- absoluteIndex: r
353
- };
354
- })), En = c(() => K.value.map((e, n) => {
355
- let r = ce(N.value.dataLabels.formatter, e.value, t({
356
- p: N.value.dataLabels.prefix,
357
- v: e.value,
358
- s: N.value.dataLabels.suffix,
359
- r: F.value.legend.roundingValue
360
- }), {
361
- datapoint: e,
362
- index: n
363
- }), i = isNaN(e.value / q.value) ? "-" : t({
364
- v: e.value / q.value * 100,
365
- s: "%",
366
- r: F.value.legend.roundingPercentage
367
- }), a = jn({
368
- showVal: F.value.legend.showValue,
369
- showPercentage: F.value.legend.showPercentage,
370
- val: r,
371
- percentage: G.value.includes(e.uid) ? "-%" : i
372
- });
373
- return {
374
- ...e,
375
- shape: "circle",
376
- opacity: G.value.includes(e.uid) ? .5 : 1,
377
- segregate: () => bn(e.uid),
378
- isSegregated: G.value.includes(e.uid),
379
- display: `${e.name}${F.value.legend.showPercentage || F.value.legend.showValue ? ": " : ""}${a}`
380
- };
381
- }).toSorted((e, t) => t.value - e.value)), Dn = c(() => ({
382
- cy: "rings-div-legend",
383
- backgroundColor: F.value.legend.backgroundColor,
384
- color: F.value.legend.color,
385
- fontSize: F.value.legend.fontSize,
386
- paddingBottom: 12,
387
- fontWeight: F.value.legend.bold ? "bold" : ""
388
- })), q = c(() => K.value.filter((e) => !G.value.includes(e.uid)).map(({ value: e }) => e).reduce((e, t) => e + t, 0)), J = c(() => K.value.filter((e) => !G.value.includes(e.uid)).map(({ name: e, value: t, color: n = null, uid: r, absoluteIndex: i }, a) => ({
389
- absoluteIndex: i,
390
- uid: r,
391
- name: e,
392
- color: n || ne(n) || hn.value[a] || s[a] || s[a % s.length],
393
- value: t,
394
- proportion: Tn(t),
395
- percentage: t / q.value * 100,
396
- strokeWidth: M.value.strokeWidth * Tn(t)
397
- })).toSorted((e, t) => t.value - e.value));
398
- function On() {
399
- return J.value.map(({ name: e, color: t, value: n, absoluteValues: r, percentage: i }) => ({
400
- name: e,
401
- color: t,
402
- value: n,
403
- absoluteValues: r,
404
- percentage: i
405
- }));
406
- }
407
- let Y = c(() => gn.value - M.value.strokeWidth * 2);
408
- function kn(e, t) {
409
- A.value.events.datapointClick && A.value.events.datapointClick({
410
- datapoint: e,
411
- seriesIndex: t
412
- });
413
- }
414
- function An(e, t) {
415
- D.value = null, E.value = !1, k.value = null, Yt.value = "pointer", A.value.events.datapointLeave && A.value.events.datapointLeave({
416
- datapoint: e,
417
- seriesIndex: t
418
- });
419
- }
420
- function jn({ val: e, percentage: t, showVal: n, showPercentage: r }) {
421
- let i = N.value.dataLabels;
422
- return Ie({
423
- config: i,
424
- val: e,
425
- percentage: t,
426
- showVal: n,
427
- showPercentage: r
428
- });
429
- }
430
- function Mn(e) {
431
- let n = N.value.dataLabels, r = ce(n.formatter, e.value, t({
432
- p: n.prefix,
433
- v: e.value,
434
- s: n.suffix,
435
- r: n.roundingValue
436
- })), i = t({
437
- v: e.percentage,
438
- s: "%",
439
- r: n.roundingPercentage
440
- });
441
- return `${e.name}\n${jn({
442
- val: r,
443
- percentage: i,
444
- showVal: n.showValue,
445
- showPercentage: n.showPercentage
446
- })}`;
447
- }
448
- function Nn(e) {
449
- return ae(Y.value * e.proportion / 2 * .9 <= 0 ? 1e-4 : Y.value * e.proportion / 2 * .9);
450
- }
451
- function Pn(e, t) {
452
- return t === 0 ? B.value.y : B.value.y + Y.value * J.value[0].proportion / 2 - Y.value * e.proportion / 2 - 2 * (t + 1);
453
- }
454
- function X(e, t) {
455
- let n = N.value.dataLabels.markers.position === "left" ? -(Y.value / 2) : Y.value / 2;
456
- return {
457
- x: B.value.x + n,
458
- y: Pn(e, t) - Nn(e)
459
- };
460
- }
461
- let Fn = y(null);
462
- function In(e, n, r = "pointer") {
463
- if (A.value.events.datapointEnter && A.value.events.datapointEnter({
464
- datapoint: e,
465
- seriesIndex: n
466
- }), G.value.length === C.dataset.length) return;
467
- Fn.value = {
468
- datapoint: e,
469
- seriesIndex: n,
470
- series: J.value,
471
- config: A.value
472
- }, D.value = n, k.value = n, Yt.value = r;
473
- let a = J.value[n], o = P.value.customFormat;
474
- if (i(o) && se(() => o({
475
- seriesIndex: n,
476
- datapoint: e,
477
- series: J.value,
478
- config: A.value
479
- }))) Ft.value = o({
480
- seriesIndex: n,
481
- datapoint: e,
482
- series: J.value,
483
- config: A.value
484
- });
485
- else {
486
- let r = "";
487
- r += `<div style="width:100%;text-align:center;border-bottom:1px solid ${P.value.borderColor};padding-bottom:6px;margin-bottom:3px;">${a.name}</div>`, r += `<div style="display:flex;flex-direction:row;gap:6px;align-items:center;"><svg viewBox="0 0 60 60" height="14" width="14"><circle cx="30" cy="30" r="30" stroke="none" fill="${a.color}" />${Nt.pattern ? `<circle cx="30" cy="30" r="30" stroke="none" fill="url(#pattern_${T.value}_${e.absoluteIndex})" />` : ""}</svg>`, r += `<b>${jn({
488
- showVal: P.value.showValue,
489
- showPercentage: P.value.showPercentage,
490
- val: `<span>${ce(N.value.dataLabels.formatter, a.value, t({
491
- p: N.value.dataLabels.prefix,
492
- v: a.value,
493
- s: N.value.dataLabels.suffix,
494
- r: P.value.roundingValue
495
- }), {
496
- datapoint: e,
497
- seriesIndex: n
498
- })}</span>`,
499
- percentage: t({
500
- v: a.value / q.value * 100,
501
- s: "%",
502
- r: P.value.roundingPercentage
503
- })
504
- })}</b></div>`, Ft.value = r;
505
- }
506
- E.value = !0;
507
- }
508
- let Z = c(() => ({
509
- head: J.value.map((e) => ({
510
- name: e.name,
511
- color: e.color
512
- })),
513
- body: J.value.map((e) => e.value)
514
- })), Q = c(() => {
515
- let e = [
516
- "__SUM__",
517
- t({
518
- p: N.value.dataLabels.prefix,
519
- v: q.value,
520
- s: N.value.dataLabels.suffix,
521
- r: A.value.table.td.roundingValue
522
- }),
523
- "100%"
524
- ], n = Z.value.head.map((e, n) => [
525
- {
526
- color: e.color,
527
- name: e.name
528
- },
529
- t({
530
- p: N.value.dataLabels.prefix,
531
- v: Z.value.body[n],
532
- s: N.value.dataLabels.suffix,
533
- r: A.value.table.td.roundingValue
534
- }),
535
- isNaN(Z.value.body[n] / q.value) ? "-" : (Z.value.body[n] / q.value * 100).toFixed(A.value.table.td.roundingPercentage) + "%"
536
- ]);
537
- return {
538
- head: e,
539
- body: n,
540
- a11yBody: n.map((e) => e.map((e, t) => t === 0 ? e.name : e)),
541
- config: {
542
- th: {
543
- backgroundColor: A.value.table.th.backgroundColor,
544
- color: A.value.table.th.color,
545
- outline: A.value.table.th.outline
546
- },
547
- td: {
548
- backgroundColor: A.value.table.td.backgroundColor,
549
- color: A.value.table.td.color,
550
- outline: A.value.table.td.outline
551
- },
552
- breakpoint: A.value.table.responsiveBreakpoint
553
- },
554
- colNames: [
555
- A.value.table.columnNames.series,
556
- A.value.table.columnNames.value,
557
- A.value.table.columnNames.percentage
558
- ]
559
- };
560
- });
561
- function Ln(e = null) {
562
- Ge(() => {
563
- let t = Z.value.head.map((e, t) => [
564
- [e.name],
565
- [Z.value.body[t]],
566
- [isNaN(Z.value.body[t] / q.value) ? "-" : Z.value.body[t] / q.value * 100]
567
- ]), n = [
568
- [F.value.title.text],
569
- [F.value.title.subtitle.text],
570
- [
571
- [""],
572
- ["val"],
573
- ["%"]
574
- ]
575
- ].concat(t), i = r(n);
576
- e ? e(i) : le({
577
- csvContent: i,
578
- title: F.value.title.text || "vue-ui-rings"
579
- });
580
- });
581
- }
582
- let $ = y(!1);
583
- function Rn(e) {
584
- $.value = e, It.value += 1;
585
- }
586
- function zn() {
587
- U.value.showTable = !U.value.showTable;
588
- }
589
- function Bn() {
590
- U.value.showTooltip = !U.value.showTooltip;
591
- }
592
- function Vn() {
593
- U.value.showLabels = !U.value.showLabels;
594
- }
595
- let Hn = y(!1);
596
- function Un() {
597
- Hn.value = !Hn.value;
598
- }
599
- async function Wn({ scale: e = 2 } = {}) {
600
- if (!O.value) return;
601
- let { width: t, height: n } = O.value.getBoundingClientRect(), r = t / n, { imageUri: i, base64: a } = await Te({
602
- domElement: O.value,
603
- base64: !0,
604
- img: !0,
605
- scale: e
606
- });
607
- return {
608
- imageUri: i,
609
- base64: a,
610
- title: F.value.title.text,
611
- width: t,
612
- height: n,
613
- aspectRatio: r
614
- };
615
- }
616
- let Gn = c(() => {
617
- let e = A.value.table.useDialog && !A.value.table.show, t = U.value.showTable;
618
- return {
619
- component: e ? kt : wt,
620
- title: `${F.value.title.text}${F.value.title.subtitle.text ? `: ${F.value.title.subtitle.text}` : ""}`,
621
- props: e ? {
622
- backgroundColor: A.value.table.th.backgroundColor,
623
- color: A.value.table.th.color,
624
- headerColor: A.value.table.th.color,
625
- headerBg: A.value.table.th.backgroundColor,
626
- isFullscreen: $.value,
627
- fullscreenParent: O.value,
628
- forcedWidth: Math.min(800, window.innerWidth * .8),
629
- isCursorPointer: L.value
630
- } : {
631
- hideDetails: !0,
632
- config: {
633
- open: t,
634
- maxHeight: 1e4,
635
- body: {
636
- backgroundColor: F.value.backgroundColor,
637
- color: F.value.color
638
- },
639
- head: {
640
- backgroundColor: F.value.backgroundColor,
641
- color: F.value.color
642
- }
643
- }
644
- }
645
- };
646
- });
647
- et(() => U.value.showTable, (e) => {
648
- A.value.table.show || (e && A.value.table.useDialog && Kt.value ? Kt.value.open() : "close" in Kt.value && Kt.value.close());
649
- });
650
- function Kn() {
651
- U.value.showTable = !1, qt.value && qt.value.setTableIconState(!1);
652
- }
653
- let qn = c(() => En.value.map((e) => ({
654
- ...e,
655
- name: e.display
656
- }))), Jn = c(() => F.value.backgroundColor), Yn = c(() => F.value.legend), Xn = c(() => F.value.title), { isCallbackImaging: Zn, isCallbackSvg: Qn, generateSvg: $n, onGenerateImage: er } = Ce({
657
- svg: z,
658
- title: Xn,
659
- legend: Yn,
660
- legendItems: qn,
661
- backgroundColor: Jn,
662
- getSvgCallback: () => A.value.userOptions.callbacks.svg,
663
- generateImage: pn
664
- });
665
- async function tr() {
666
- if (_n("copyAlt", {
667
- config: A.value,
668
- dataset: J.value
669
- }), !A.value.userOptions.callbacks.altCopy) {
670
- console.warn("Vue Data UI - A callback must be set for `altCopy` in userOptions.");
671
- return;
672
- }
673
- await Promise.resolve(A.value.userOptions.callbacks.altCopy({
674
- config: A.value,
675
- dataset: J.value
676
- }));
677
- }
678
- function nr() {
679
- k.value = null, Xt.value = !0;
680
- }
681
- function rr() {
682
- k.value = null, Yt.value = "pointer", E.value = !1, D.value = null, Xt.value = !1;
683
- }
684
- function ir(e) {
685
- if (!z.value || Hn.value || document.activeElement !== z.value || !J.value.length || G.value.length === C.dataset.length) return;
686
- let t = ["ArrowLeft", "ArrowUp"].includes(e.key), n = ["ArrowRight", "ArrowDown"].includes(e.key), r = e.key === "Enter" || e.key === " ", i = e.key === "Escape";
687
- if (!t && !n && !r && !i) return;
688
- if (e.preventDefault(), e.stopPropagation(), i) {
689
- k.value = null, Yt.value = "pointer", E.value = !1, D.value = null;
690
- return;
691
- }
692
- if (r) {
693
- if (k.value === null) return;
694
- let e = J.value[k.value];
695
- if (!e) return;
696
- kn(e, k.value);
697
- return;
698
- }
699
- let a = k.value;
700
- a === null || a < 0 || a >= J.value.length ? a = n ? 0 : J.value.length - 1 : n ? (a += 1, a >= J.value.length && (a = 0)) : t && (--a, a < 0 && (a = J.value.length - 1));
701
- let o = J.value[a];
702
- o && (ar(a), In(o, a, "keyboard"));
703
- }
704
- function ar(e) {
705
- if (!Number.isFinite(e) || !z.value) return;
706
- let t = J.value[e];
707
- if (!t) return;
708
- let n = X(t, e), r = z.value.getBoundingClientRect();
709
- Jt.value = {
710
- x: r.left + n.x / W.value.width * r.width,
711
- y: r.top + n.y / W.value.height * r.height
712
- };
713
- }
714
- let or = c(() => ({
715
- headers: Q.value?.colNames ?? [],
716
- rows: Q.value?.a11yBody ?? []
717
- }));
718
- return Oe({
719
- getData: On,
720
- getImage: Wn,
721
- generatePdf: fn,
722
- generateCsv: Ln,
723
- generateImage: pn,
724
- generateSvg: $n,
725
- hideSeries: Cn,
726
- showSeries: Sn,
727
- toggleTable: zn,
728
- toggleTooltip: Bn,
729
- toggleAnnotator: Un,
730
- toggleFullscreen: Rn,
731
- toggleLabels: Vn,
732
- copyAlt: tr
733
- }), (e, t) => (v(), d("div", {
734
- ref_key: "ringsChart",
735
- ref: O,
736
- class: h(`vue-data-ui-component vue-ui-rings ${$.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${A.value.useCssAnimation ? "" : "vue-ui-dna"}`),
737
- style: _(`font-family:${A.value.style.fontFamily};text-align:center;width:100%;background:${F.value.backgroundColor};${A.value.responsive ? "height: 100%" : ""}`),
738
- id: `rings_${T.value}`,
739
- onMouseleave: t[2] ||= (e) => {
740
- D.value = null, E.value = !1, x(tn)(!1);
741
- },
742
- onMouseenter: t[3] ||= () => x(tn)(!0)
743
- }, [
744
- f("div", {
745
- id: `chart-instructions-${T.value}`,
746
- class: "sr-only"
747
- }, [f("p", null, Ze(A.value.a11y.translations.keyboardNavigation), 1)], 8, rt),
748
- or.value?.rows?.length ? (v(), l(Ne, {
749
- key: 0,
750
- uid: T.value,
751
- head: or.value.headers,
752
- body: or.value.rows,
753
- notice: A.value.a11y.translations.tableAvailable,
754
- caption: A.value.a11y.translations.tableCaption
755
- }, null, 8, [
756
- "uid",
757
- "head",
758
- "body",
759
- "notice",
760
- "caption"
761
- ])) : u("", !0),
762
- j.value.buttons.annotator ? (v(), l(x(Et), {
763
- key: 1,
764
- svgRef: x(z),
765
- backgroundColor: F.value.backgroundColor,
766
- color: F.value.color,
767
- active: Hn.value,
768
- isCursorPointer: L.value,
769
- palette: j.value.annotatorPalette,
770
- onClose: Un
771
- }, {
772
- "annotator-action-close": S(() => [b(e.$slots, "annotator-action-close", {}, void 0, !0)]),
773
- "annotator-action-color": S(({ color: t }) => [b(e.$slots, "annotator-action-color", g(m({ color: t })), void 0, !0)]),
774
- "annotator-action-draw": S(({ mode: t }) => [b(e.$slots, "annotator-action-draw", g(m({ mode: t })), void 0, !0)]),
775
- "annotator-action-undo": S(({ disabled: t }) => [b(e.$slots, "annotator-action-undo", g(m({ disabled: t })), void 0, !0)]),
776
- "annotator-action-redo": S(({ disabled: t }) => [b(e.$slots, "annotator-action-redo", g(m({ disabled: t })), void 0, !0)]),
777
- "annotator-action-delete": S(({ disabled: t }) => [b(e.$slots, "annotator-action-delete", g(m({ disabled: t })), void 0, !0)]),
778
- _: 3
779
- }, 8, [
780
- "svgRef",
781
- "backgroundColor",
782
- "color",
783
- "active",
784
- "isCursorPointer",
785
- "palette"
786
- ])) : u("", !0),
787
- mn.value ? (v(), d("div", {
788
- key: 2,
789
- ref_key: "noTitle",
790
- ref: Bt,
791
- class: "vue-data-ui-no-title-space",
792
- style: "height:36px; width: 100%;background:transparent"
793
- }, null, 512)) : u("", !0),
794
- F.value.title.text ? (v(), d("div", {
795
- key: 3,
796
- ref_key: "chartTitle",
797
- ref: Lt,
798
- style: "width:100%;background:transparent"
799
- }, [(v(), l(Ee, {
800
- key: `title_${Vt.value}`,
801
- config: {
802
- title: {
803
- cy: "rings-div-title",
804
- ...F.value.title
805
- },
806
- subtitle: {
807
- cy: "rings-div-subtitle",
808
- ...F.value.title.subtitle
809
- }
810
- }
811
- }, null, 8, ["config"]))], 512)) : u("", !0),
812
- f("div", { id: `legend-top-${T.value}` }, null, 8, it),
813
- j.value.show && Pt.value && (x(nn) || x(en)) ? (v(), l(x(Dt), {
814
- ref_key: "userOptionsRef",
815
- ref: qt,
816
- key: `user_options_${It.value}`,
817
- backgroundColor: F.value.backgroundColor,
818
- color: F.value.color,
819
- isPrinting: x(un),
820
- isImaging: x(dn),
821
- uid: T.value,
822
- hasTooltip: j.value.buttons.tooltip && P.value.show,
823
- hasPdf: j.value.buttons.pdf,
824
- hasXls: j.value.buttons.csv,
825
- hasImg: j.value.buttons.img,
826
- hasSvg: j.value.buttons.svg,
827
- hasTable: j.value.buttons.table,
828
- hasFullscreen: j.value.buttons.fullscreen,
829
- hasAltCopy: j.value.buttons.altCopy,
830
- hasLabel: j.value.buttons.labels,
831
- isTooltip: U.value.showTooltip,
832
- isFullscreen: $.value,
833
- titles: { ...j.value.buttonTitles },
834
- chartElement: O.value,
835
- position: j.value.position,
836
- hasAnnotator: j.value.buttons.annotator,
837
- isAnnotation: Hn.value,
838
- callbacks: j.value.callbacks,
839
- printScale: j.value.print.scale,
840
- tableDialog: A.value.table.useDialog,
841
- isCursorPointer: L.value,
842
- onToggleFullscreen: Rn,
843
- onGeneratePdf: x(fn),
844
- onGenerateCsv: Ln,
845
- onGenerateImage: x(er),
846
- onGenerateSvg: x($n),
847
- onToggleTable: zn,
848
- onToggleTooltip: Bn,
849
- onToggleAnnotator: Un,
850
- onToggleLabels: Vn,
851
- onCopyAlt: tr,
852
- style: _({ visibility: x(nn) ? x(en) ? "visible" : "hidden" : "visible" })
853
- }, Ve({ _: 2 }, [
854
- e.$slots.menuIcon ? {
855
- name: "menuIcon",
856
- fn: S(({ isOpen: t, color: n }) => [b(e.$slots, "menuIcon", g(m({
857
- isOpen: t,
858
- color: n
859
- })), void 0, !0)]),
860
- key: "0"
861
- } : void 0,
862
- e.$slots.optionTooltip ? {
863
- name: "optionTooltip",
864
- fn: S(() => [b(e.$slots, "optionTooltip", {}, void 0, !0)]),
865
- key: "1"
866
- } : void 0,
867
- e.$slots.optionPdf ? {
868
- name: "optionPdf",
869
- fn: S(() => [b(e.$slots, "optionPdf", {}, void 0, !0)]),
870
- key: "2"
871
- } : void 0,
872
- e.$slots.optionCsv ? {
873
- name: "optionCsv",
874
- fn: S(() => [b(e.$slots, "optionCsv", {}, void 0, !0)]),
875
- key: "3"
876
- } : void 0,
877
- e.$slots.optionImg ? {
878
- name: "optionImg",
879
- fn: S(() => [b(e.$slots, "optionImg", {}, void 0, !0)]),
880
- key: "4"
881
- } : void 0,
882
- e.$slots.optionSvg ? {
883
- name: "optionSvg",
884
- fn: S(() => [b(e.$slots, "optionSvg", {}, void 0, !0)]),
885
- key: "5"
886
- } : void 0,
887
- e.$slots.optionTable ? {
888
- name: "optionTable",
889
- fn: S(() => [b(e.$slots, "optionTable", {}, void 0, !0)]),
890
- key: "6"
891
- } : void 0,
892
- e.$slots.optionLabels ? {
893
- name: "optionLabels",
894
- fn: S(() => [b(e.$slots, "optionLabels", {}, void 0, !0)]),
895
- key: "7"
896
- } : void 0,
897
- e.$slots.optionFullscreen ? {
898
- name: "optionFullscreen",
899
- fn: S(({ toggleFullscreen: t, isFullscreen: n }) => [b(e.$slots, "optionFullscreen", g(m({
900
- toggleFullscreen: t,
901
- isFullscreen: n
902
- })), void 0, !0)]),
903
- key: "8"
904
- } : void 0,
905
- e.$slots.optionAnnotator ? {
906
- name: "optionAnnotator",
907
- fn: S(({ toggleAnnotator: t, isAnnotator: n }) => [b(e.$slots, "optionAnnotator", g(m({
908
- toggleAnnotator: t,
909
- isAnnotator: n
910
- })), void 0, !0)]),
911
- key: "9"
912
- } : void 0,
913
- e.$slots.optionAltCopy ? {
914
- name: "optionAltCopy",
915
- fn: S(({ altCopy: t }) => [b(e.$slots, "optionAltCopy", g(m({ altCopy: t })), void 0, !0)]),
916
- key: "10"
917
- } : void 0,
918
- e.$slots["custom-menu-before"] ? {
919
- name: "custom-menu-before",
920
- fn: S(() => [b(e.$slots, "custom-menu-before", {}, void 0, !0)]),
921
- key: "11"
922
- } : void 0,
923
- e.$slots["custom-menu-after"] ? {
924
- name: "custom-menu-after",
925
- fn: S(() => [b(e.$slots, "custom-menu-after", {}, void 0, !0)]),
926
- key: "12"
927
- } : void 0
928
- ]), 1032, /* @__PURE__ */ "backgroundColor.color.isPrinting.isImaging.uid.hasTooltip.hasPdf.hasXls.hasImg.hasSvg.hasTable.hasFullscreen.hasAltCopy.hasLabel.isTooltip.isFullscreen.titles.chartElement.position.hasAnnotator.isAnnotation.callbacks.printScale.tableDialog.isCursorPointer.onGeneratePdf.onGenerateImage.onGenerateSvg.style".split("."))) : u("", !0),
929
- f("div", at, [(v(), d("svg", {
930
- ref_key: "svgRef",
931
- ref: z,
932
- xmlns: x(de),
933
- class: h({
934
- "vue-data-ui-fullscreen--on": $.value,
935
- "vue-data-ui-fulscreen--off": !$.value,
936
- resizing: Wt.value || x(R),
937
- "vue-data-ui-no-transition": !x(I)
938
- }),
939
- viewBox: `0 0 ${W.value.width <= 0 ? 10 : W.value.width} ${W.value.height <= 0 ? 10 : W.value.height}`,
940
- style: _(`max-width:100%;overflow:hidden;background:transparent;color:${F.value.color}`),
941
- "aria-describedby": `chart-instructions-${T.value}`,
942
- tabindex: "0",
943
- onFocus: nr,
944
- onBlur: rr,
945
- onKeydown: ir
946
- }, [
947
- Ue(x(Ot)),
948
- e.$slots["chart-background"] ? (v(), d("foreignObject", {
949
- key: 0,
950
- x: 0,
951
- y: 0,
952
- width: W.value.width <= 0 ? 10 : W.value.width,
953
- height: W.value.height <= 0 ? 10 : W.value.height,
954
- style: { pointerEvents: "none" }
955
- }, [b(e.$slots, "chart-background", {}, void 0, !0)], 8, st)) : u("", !0),
956
- f("defs", null, [(v(!0), d(ze, null, Je(J.value, (e, t) => (v(), l(je, {
957
- t: "radial",
958
- cx: "50%",
959
- cy: "30%",
960
- r: "50%",
961
- fx: "50%",
962
- fy: "50%",
963
- id: `gradient_${T.value}_${t}`,
964
- key: `gradient_${T.value}_${t}`,
965
- stops: [[
966
- "0%",
967
- x(ue)(x(ee)(e.color, .05), 100 - M.value.gradient.intensity),
968
- 1
969
- ], [
970
- "100%",
971
- e.color,
972
- 1
973
- ]]
974
- }, null, 8, ["id", "stops"]))), 128))]),
975
- e.$slots.pattern ? (v(), d("g", ct, [(v(!0), d(ze, null, Je(J.value, (t) => (v(), d("defs", null, [b(e.$slots, "pattern", We({ ref_for: !0 }, {
976
- seriesIndex: t.absoluteIndex,
977
- patternId: `pattern_${T.value}_${t.absoluteIndex}`
978
- }), void 0, !0)]))), 256))])) : u("", !0),
979
- (v(!0), d(ze, null, Je(J.value, (t, n) => (v(), d("g", { key: `r_${t.uid}` }, [
980
- f("circle", {
981
- class: h({
982
- "vue-data-ui-transition": w.value && x(I),
983
- "vue-rings-item-onload": !w.value && A.value.useCssAnimation && !x(R),
984
- "vue-ui-rings-opacity": D.value !== null && D.value !== n
985
- }),
986
- style: _(`animation-delay:${n * 100}ms`),
987
- stroke: M.value.stroke,
988
- cx: B.value.x,
989
- cy: Pn(t, n),
990
- r: Nn(t),
991
- fill: M.value.gradient.underlayerColor
992
- }, null, 14, lt),
993
- f("circle", {
994
- class: h({
995
- "vue-data-ui-transition": w.value && x(I),
996
- "vue-rings-item-onload": !w.value && A.value.useCssAnimation && !x(R),
997
- "vue-ui-rings-shadow": M.value.useShadow,
998
- "vue-ui-rings-blur": D.value !== null && D.value !== n
999
- }),
1000
- style: _(`animation-delay:${n * 100}ms`),
1001
- stroke: M.value.stroke,
1002
- "stroke-width": t.strokeWidth < .5 ? .5 : t.strokeWidth,
1003
- cx: B.value.x,
1004
- cy: Pn(t, n),
1005
- r: Nn(t),
1006
- fill: M.value.gradient.show ? `url(#gradient_${T.value}_${n})` : t.color
1007
- }, null, 14, ut),
1008
- e.$slots.pattern ? (v(), d("circle", {
1009
- key: 0,
1010
- class: h({
1011
- "vue-data-ui-transition": w.value && x(I),
1012
- "vue-rings-item-onload": !w.value && A.value.useCssAnimation && !x(R),
1013
- "vue-ui-rings-shadow": M.value.useShadow,
1014
- "vue-ui-rings-blur": D.value !== null && D.value !== n
1015
- }),
1016
- style: _(`animation-delay:${n * 100}ms`),
1017
- stroke: M.value.stroke,
1018
- "stroke-width": t.strokeWidth < .5 ? .5 : t.strokeWidth,
1019
- cx: B.value.x,
1020
- cy: Pn(t, n),
1021
- r: Nn(t),
1022
- fill: `url(#pattern_${T.value}_${t.absoluteIndex})`
1023
- }, null, 14, dt)) : u("", !0),
1024
- f("circle", {
1025
- stroke: "none",
1026
- cx: B.value.x,
1027
- cy: Pn(t, n),
1028
- r: Nn(t),
1029
- fill: "transparent",
1030
- onMouseenter: (e) => In(t, n, "pointer"),
1031
- onMouseleave: (e) => An(t, n),
1032
- onClick: (e) => kn(t, n)
1033
- }, null, 40, ft),
1034
- U.value.showLabels ? (v(), d(ze, { key: 1 }, [
1035
- f("rect", {
1036
- x: N.value.dataLabels.markers.position === "left" ? X(t, n).x : B.value.x,
1037
- y: X(t, n).y - N.value.dataLabels.markers.strokeWidth / 2,
1038
- width: Math.abs(B.value.x - X(t, n).x),
1039
- height: N.value.dataLabels.markers.strokeWidth,
1040
- fill: N.value.dataLabels.markers.stroke,
1041
- rx: N.value.dataLabels.markers.strokeWidth,
1042
- class: h({
1043
- "vue-data-ui-transition": w.value && x(I),
1044
- "vue-rings-item-onload": !w.value && A.value.useCssAnimation && !x(R),
1045
- "vue-ui-rings-shadow": M.value.useShadow,
1046
- "vue-ui-rings-blur": D.value !== null && D.value !== n
1047
- })
1048
- }, null, 10, pt),
1049
- f("circle", {
1050
- cx: X(t, n).x,
1051
- cy: X(t, n).y,
1052
- r: N.value.dataLabels.markers.radius,
1053
- fill: t.color,
1054
- stroke: F.value.backgroundColor,
1055
- class: h({
1056
- "vue-data-ui-transition": w.value && x(I),
1057
- "vue-rings-item-onload": !w.value && A.value.useCssAnimation && !x(R),
1058
- "vue-ui-rings-shadow": M.value.useShadow,
1059
- "vue-ui-rings-blur": D.value !== null && D.value !== n
1060
- })
1061
- }, null, 10, mt),
1062
- f("text", {
1063
- "text-anchor": N.value.dataLabels.markers.position === "left" ? "end" : "start",
1064
- "font-size": N.value.dataLabels.fontSize,
1065
- fill: N.value.dataLabels.color,
1066
- "font-weight": N.value.dataLabels.bold ? "bold" : "normal",
1067
- class: h({
1068
- "vue-data-ui-transition": w.value && x(I),
1069
- "vue-rings-item-onload": !w.value && A.value.useCssAnimation && !x(R),
1070
- "vue-ui-rings-shadow": M.value.useShadow,
1071
- "vue-ui-rings-blur": D.value !== null && D.value !== n
1072
- }),
1073
- transform: `translate(${X(t, n).x + (N.value.dataLabels.markers.position === "left" ? -N.value.dataLabels.offsetX - 14 : N.value.dataLabels.offsetX) + 6}, ${X(t, n).y + N.value.dataLabels.fontSize / 3})`,
1074
- onMouseenter: (e) => In(t, n, "pointer"),
1075
- onMouseleave: (e) => An(t, n),
1076
- onClick: (e) => kn(t, n),
1077
- innerHTML: x(o)({
1078
- content: Mn(t),
1079
- fontSize: N.value.dataLabels.fontSize,
1080
- fill: N.value.dataLabels.color,
1081
- x: 0,
1082
- y: 0,
1083
- translateY: !0
1084
- })
1085
- }, null, 42, ht)
1086
- ], 64)) : u("", !0)
1087
- ]))), 128)),
1088
- b(e.$slots, "svg", { svg: {
1089
- ...W.value,
1090
- isPrintingImg: x(un) || x(dn) || x(Zn),
1091
- isPrintingSvg: x(Qn)
1092
- } }, void 0, !0)
1093
- ], 46, ot)), e.$slots.hint ? (v(), d("div", gt, [b(e.$slots, "hint", g(m({
1094
- hint: A.value.a11y.translations.keyboardNavigation,
1095
- isVisible: Xt.value
1096
- })), void 0, !0)])) : u("", !0)]),
1097
- e.$slots.watermark ? (v(), d("div", _t, [b(e.$slots, "watermark", g(m({ isPrinting: x(un) || x(dn) || x(Zn) || x(Qn) })), void 0, !0)])) : u("", !0),
1098
- f("div", { id: `legend-bottom-${T.value}` }, null, 8, vt),
1099
- Gt.value && (F.value.legend.show || e.$slots.legend) ? (v(), l(Be, {
1100
- key: 6,
1101
- to: F.value.legend.position === "top" ? `#legend-top-${T.value}` : `#legend-bottom-${T.value}`
1102
- }, [f("div", {
1103
- ref_key: "chartLegend",
1104
- ref: Rt
1105
- }, [b(e.$slots, "legend", { legend: En.value }, () => [F.value.legend.show ? (v(), l(Le, {
1106
- key: `legend_${Ut.value}`,
1107
- legendSet: En.value,
1108
- config: Dn.value,
1109
- isCursorPointer: L.value,
1110
- onClickMarker: t[0] ||= ({ legend: e }) => bn(e.uid)
1111
- }, Ve({
1112
- item: S(({ legend: e, index: t }) => [x(R) ? u("", !0) : (v(), d("div", {
1113
- key: 0,
1114
- onClick: (t) => bn(e.uid),
1115
- style: _(`opacity:${G.value.includes(e.uid) ? .5 : 1}`)
1116
- }, Ze(e.display), 13, yt))]),
1117
- legendToggle: S(() => [En.value.length > 2 && F.value.legend.selectAllToggle.show && !x(R) ? (v(), l(Me, {
1118
- key: 0,
1119
- backgroundColor: F.value.legend.selectAllToggle.backgroundColor,
1120
- color: F.value.legend.selectAllToggle.color,
1121
- fontSize: F.value.legend.fontSize,
1122
- checked: G.value.length > 0,
1123
- isCursorPointer: L.value,
1124
- onToggle: vn
1125
- }, null, 8, [
1126
- "backgroundColor",
1127
- "color",
1128
- "fontSize",
1129
- "checked",
1130
- "isCursorPointer"
1131
- ])) : u("", !0)]),
1132
- _: 2
1133
- }, [e.$slots.pattern ? {
1134
- name: "legend-pattern",
1135
- fn: S(({ legend: e, index: t }) => [Ue(De, {
1136
- shape: e.shape,
1137
- radius: 30,
1138
- stroke: "none",
1139
- plot: {
1140
- x: 30,
1141
- y: 30
1142
- },
1143
- fill: `url(#pattern_${T.value}_${t})`
1144
- }, null, 8, ["shape", "fill"])]),
1145
- key: "0"
1146
- } : void 0]), 1032, [
1147
- "legendSet",
1148
- "config",
1149
- "isCursorPointer"
1150
- ])) : u("", !0)], !0)], 512)], 8, ["to"])) : u("", !0),
1151
- e.$slots.source ? (v(), d("div", {
1152
- key: 7,
1153
- ref_key: "source",
1154
- ref: zt,
1155
- dir: "auto"
1156
- }, [b(e.$slots, "source", {}, void 0, !0)], 512)) : u("", !0),
1157
- Ue(x(St), {
1158
- teleportTo: P.value.teleportTo,
1159
- show: U.value.showTooltip && E.value && G.value.length < C.dataset.length,
1160
- backgroundColor: P.value.backgroundColor,
1161
- color: P.value.color,
1162
- borderRadius: P.value.borderRadius,
1163
- borderColor: P.value.borderColor,
1164
- borderWidth: P.value.borderWidth,
1165
- fontSize: P.value.fontSize,
1166
- backgroundOpacity: P.value.backgroundOpacity,
1167
- position: P.value.position,
1168
- offsetX: P.value.offsetX,
1169
- offsetY: P.value.offsetY,
1170
- parent: O.value,
1171
- content: Ft.value,
1172
- isFullscreen: $.value,
1173
- isCustom: P.value.customFormat && typeof P.value.customFormat == "function",
1174
- smooth: P.value.smooth,
1175
- backdropFilter: P.value.backdropFilter,
1176
- smoothForce: P.value.smoothForce,
1177
- smoothSnapThreshold: P.value.smoothSnapThreshold,
1178
- isA11yMode: Yt.value === "keyboard",
1179
- a11yPosition: Jt.value
1180
- }, {
1181
- "tooltip-before": S(() => [b(e.$slots, "tooltip-before", g(m({ ...Fn.value })), void 0, !0)]),
1182
- tooltip: S(() => [b(e.$slots, "tooltip", g(m({ ...Fn.value })), void 0, !0)]),
1183
- "tooltip-after": S(() => [b(e.$slots, "tooltip-after", g(m({ ...Fn.value })), void 0, !0)]),
1184
- _: 3
1185
- }, 8, [
1186
- "teleportTo",
1187
- "show",
1188
- "backgroundColor",
1189
- "color",
1190
- "borderRadius",
1191
- "borderColor",
1192
- "borderWidth",
1193
- "fontSize",
1194
- "backgroundOpacity",
1195
- "position",
1196
- "offsetX",
1197
- "offsetY",
1198
- "parent",
1199
- "content",
1200
- "isFullscreen",
1201
- "isCustom",
1202
- "smooth",
1203
- "backdropFilter",
1204
- "smoothForce",
1205
- "smoothSnapThreshold",
1206
- "isA11yMode",
1207
- "a11yPosition"
1208
- ]),
1209
- Pt.value && j.value.buttons.table ? (v(), l(Ye(Gn.value.component), We({ key: 8 }, Gn.value.props, {
1210
- ref_key: "tableUnit",
1211
- ref: Kt,
1212
- onClose: Kn
1213
- }), Ve({
1214
- content: S(() => [(v(), l(x(Tt), {
1215
- key: `table_${Ht.value}`,
1216
- colNames: Q.value.colNames,
1217
- head: Q.value.head,
1218
- body: Q.value.body,
1219
- config: Q.value.config,
1220
- title: A.value.table.useDialog ? "" : Gn.value.title,
1221
- withCloseButton: !A.value.table.useDialog,
1222
- isCursorPointer: L.value,
1223
- onClose: Kn
1224
- }, {
1225
- th: S(({ th: e }) => [e === "__SUM__" ? (v(), d("div", bt, [Ue(x(Ct), {
1226
- name: "sigma",
1227
- stroke: Q.value.config.th.color,
1228
- size: 16
1229
- }, null, 8, ["stroke"])])) : (v(), d("div", xt, Ze(e), 1))]),
1230
- td: S(({ td: e }) => [He(Ze(e.name || e), 1)]),
1231
- _: 1
1232
- }, 8, [
1233
- "colNames",
1234
- "head",
1235
- "body",
1236
- "config",
1237
- "title",
1238
- "withCloseButton",
1239
- "isCursorPointer"
1240
- ]))]),
1241
- _: 2
1242
- }, [A.value.table.useDialog ? {
1243
- name: "title",
1244
- fn: S(() => [He(Ze(Gn.value.title), 1)]),
1245
- key: "0"
1246
- } : void 0, A.value.table.useDialog ? {
1247
- name: "actions",
1248
- fn: S(() => [f("button", {
1249
- tabindex: "0",
1250
- class: "vue-ui-user-options-button",
1251
- onClick: t[1] ||= (e) => Ln(j.value.callbacks.csv),
1252
- style: _({ cursor: L.value ? "pointer" : "default" })
1253
- }, [Ue(x(Ct), {
1254
- name: "fileCsv",
1255
- stroke: Gn.value.props.color
1256
- }, null, 8, ["stroke"])], 4)]),
1257
- key: "1"
1258
- } : void 0]), 1040)) : u("", !0),
1259
- b(e.$slots, "skeleton", {}, () => [x(R) ? (v(), l(be, { key: 0 })) : u("", !0)], !0)
1260
- ], 46, nt));
1261
- }
1262
- }, [["__scopeId", "data-v-ada95822"]]);
1263
- //#endregion
1264
- export { tt as n, St as t };