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,540 +0,0 @@
1
- import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
2
- import { $ as t, Jt as n, Rt as r, X as i, at as a, b as o, i as s, t as c, tn as l } from "./lib-TWIH5fGr.js";
3
- import { n as ee, t as te } from "./useHints-Dq_w2E8B.js";
4
- import { t as ne } from "./useConfig-DObkR9Aa.js";
5
- import { t as re } from "./usePrinter-8Y1Rju0Y.js";
6
- import { n as ie, t as ae } from "./BaseScanner-Dzc8VT3j.js";
7
- import { t as u } from "./useNestedProp-BxOdWM0c.js";
8
- import { t as oe } from "./useThemeCheck-C43Tcqmk.js";
9
- import { t as se } from "./useChartExport-iwOqiIWX.js";
10
- import { t as ce } from "./img-KURaWjZI.js";
11
- import { n as le } from "./Title-Bd98RysU.js";
12
- import { t as ue } from "./_plugin-vue_export-helper-B3ysoDQm.js";
13
- import { l as de, t as fe } from "./useResponsive-ZtArZtUf.js";
14
- import { t as pe } from "./useUserOptionState-DK-_1ddE.js";
15
- import { t as me } from "./useChartAccessibility-DYqac8yF.js";
16
- import { t as he } from "./usePrefersMotion-BC-CsqR1.js";
17
- import { t as ge } from "./vue_ui_tiremarks-CdEPieWV.js";
18
- import { Fragment as _e, computed as d, createBlock as f, createCommentVNode as p, createElementBlock as m, createElementVNode as ve, createSlots as ye, createVNode as be, defineAsyncComponent as xe, guardReactiveProps as h, normalizeClass as g, normalizeProps as _, normalizeStyle as v, onMounted as Se, openBlock as y, ref as b, renderList as Ce, renderSlot as x, toDisplayString as S, toRefs as we, unref as C, watch as Te, withCtx as w } from "vue";
19
- //#region src/components/vue-ui-tiremarks.vue
20
- var Ee = /* @__PURE__ */ e({ default: () => T }), De = ["id"], Oe = [
21
- "xmlns",
22
- "viewBox",
23
- "aria-labelledby",
24
- "aria-describedby"
25
- ], ke = ["id"], Ae = ["id"], je = ["width", "height"], Me = { key: 1 }, Ne = [
26
- "d",
27
- "stroke-width",
28
- "stroke"
29
- ], Pe = { key: 2 }, Fe = [
30
- "x1",
31
- "y1",
32
- "x2",
33
- "y2",
34
- "stroke-width",
35
- "stroke"
36
- ], Ie = ["aria-label"], Le = [
37
- "x",
38
- "y",
39
- "height"
40
- ], Re = [
41
- "x",
42
- "y",
43
- "font-size",
44
- "fill",
45
- "font-weight",
46
- "text-anchor"
47
- ], ze = {
48
- key: 4,
49
- class: "vue-data-ui-watermark"
50
- }, T = /*#__PURE__*/ ue({
51
- __name: "vue-ui-tiremarks",
52
- props: {
53
- config: {
54
- type: Object,
55
- default() {
56
- return {};
57
- }
58
- },
59
- dataset: {
60
- type: Object,
61
- default() {
62
- return {};
63
- }
64
- }
65
- },
66
- emits: ["copyAlt"],
67
- setup(e, { expose: ue, emit: Ee }) {
68
- let T = xe(() => import("./PenAndPaper-C1EcBgJW.js").then((e) => e.t)), Be = xe(() => import("./UserOptions-B_yBcZ1-.js").then((e) => e.n)), Ve = xe(() => import("./PackageVersion-CslTvFsC.js").then((e) => e.t)), { vue_ui_tiremarks: He } = ne(), { isThemeValid: Ue, warnInvalidTheme: We } = oe(), E = he(), D = e, Ge = Ee, Ke = d(() => !!D.dataset && Object.keys(D.dataset).length), O = b(i()), k = b(null), qe = b(null), Je = b(null), Ye = b(null), Xe = b(0), Ze = b(0), A = b(null), j = b(null), M = b(B()), N = d(() => M.value.userOptions), P = d(() => M.value.style.chart.layout), F = d(() => M.value.style.chart);
69
- ee({
70
- config: () => M.value,
71
- dataset: () => D.dataset,
72
- component: "VueUiTiremarks",
73
- rules: [te.noHint]
74
- });
75
- let Qe = d(() => M.value.userOptions.useCursorPointer), $e = d(() => l({
76
- defaultConfig: {
77
- userOptions: { show: !1 },
78
- style: { chart: {
79
- backgroundColor: "#99999930",
80
- animation: { use: !1 },
81
- layout: {
82
- activeColor: "#6A6A6A80",
83
- inactiveColor: "#CACACA80",
84
- ticks: { gradient: { show: !1 } }
85
- }
86
- } }
87
- },
88
- userConfig: M.value.skeletonConfig ?? {}
89
- })), { loading: I, FINAL_DATASET: L } = ie({
90
- ...we(D),
91
- FINAL_CONFIG: M,
92
- prepareConfig: B,
93
- skeletonDataset: D.config?.skeletonDataset ?? { percentage: 50 },
94
- skeletonConfig: l({
95
- defaultConfig: M.value,
96
- userConfig: $e.value
97
- })
98
- }), { userOptionsVisible: R, setUserOptionsVisibility: et, keepUserOptionState: tt } = pe({ config: M.value }), { svgRef: z } = me({ config: F.value.title });
99
- function B() {
100
- let e = u({
101
- userConfig: D.config,
102
- defaultConfig: He
103
- }), t = e.theme;
104
- if (!t) return e;
105
- if (!Ue.value(e)) return We(e), e;
106
- let n = u({
107
- userConfig: ge[t] || D.config,
108
- defaultConfig: e
109
- });
110
- return u({
111
- userConfig: D.config,
112
- defaultConfig: n
113
- });
114
- }
115
- Te(() => D.config, (e) => {
116
- M.value = B(), R.value = !M.value.userOptions.showOnChartHover, q.value = F.value.width, J.value = F.value.height, st(), Ze.value += 1;
117
- }, { deep: !0 });
118
- let { isPrinting: V, isImaging: H, generatePdf: nt, generateImage: rt } = re({
119
- elementId: O.value,
120
- fileName: F.value.title.text || "vue-ui-tiremarks",
121
- options: M.value.userOptions.print
122
- }), it = d(() => M.value.userOptions.show && !F.value.title.text), U = b(F.value.animation.use && !E.value ? 0 : o(L.value.percentage));
123
- Te(() => L.value, (e) => {
124
- F.value.animation.use && !E.value ? at(e.percentage) : U.value = e.percentage || 0;
125
- }, { deep: !0 }), Se(() => {
126
- st();
127
- });
128
- function at(e) {
129
- let t = F.value.animation.speed, n = Math.abs(e - U.value) / (t * 120);
130
- function r() {
131
- U.value < e ? U.value = Math.min(U.value + n, e) : U.value > e && (U.value = Math.max(U.value - n, e)), U.value !== e && requestAnimationFrame(r);
132
- }
133
- r();
134
- }
135
- let ot = d(() => M.value.debug);
136
- function st() {
137
- if (r(D.dataset) && a({
138
- componentName: "VueUiTiremarks",
139
- type: "dataset",
140
- debug: ot.value
141
- }), M.value.responsive) {
142
- let e = de(() => {
143
- let { width: e, height: t } = fe({
144
- chart: k.value,
145
- title: F.value.title.text ? Je.value : null,
146
- source: Ye.value
147
- });
148
- requestAnimationFrame(() => {
149
- q.value = Math.max(.1, e), J.value = Math.max(.1, t - 12);
150
- });
151
- });
152
- A.value && (j.value && A.value.unobserve(j.value), A.value.disconnect()), A.value = new ResizeObserver(e), j.value = k.value.parentNode, A.value.observe(j.value);
153
- }
154
- at(L.value.percentage || 0);
155
- }
156
- let W = d(() => P.value.display === "vertical"), G = d(() => {
157
- let e = F.value.percentage.show, t = {
158
- top: e ? 48 : 12,
159
- left: e ? 64 : 16,
160
- right: e ? 64 : 16,
161
- bottom: e ? 48 : 12
162
- };
163
- return W.value ? {
164
- top: F.value.percentage.verticalPosition === "top" ? t.top : 3,
165
- left: 3,
166
- right: 3,
167
- bottom: F.value.percentage.verticalPosition === "bottom" ? t.bottom : 3
168
- } : {
169
- top: 0,
170
- bottom: 0,
171
- left: F.value.percentage.horizontalPosition === "left" ? t.left : 16,
172
- right: F.value.percentage.horizontalPosition === "right" ? t.right : 10
173
- };
174
- }), K = d(() => Object.values(G.value).reduce((e, t) => e + t, 0)), q = b(F.value.width), J = b(F.value.height), Y = d(() => ({
175
- height: J.value,
176
- width: q.value
177
- })), ct = d(() => ({
178
- horizontal: {
179
- x: Z.value.x + (F.value.percentage.horizontalPosition === "left" ? 6 : 3),
180
- y: Y.value.height / 2 - Z.value.fontSize / 2
181
- },
182
- vertical: {
183
- x: Y.value.width / 2 - 20,
184
- y: Z.value.y - Z.value.fontSize / 2
185
- }
186
- })[P.value.display]), X = d(() => W.value ? {
187
- mark: (Y.value.height - K.value) / 100 * .5,
188
- space: (Y.value.height - K.value) / 100 * .5
189
- } : {
190
- mark: (Y.value.width - K.value) / 100 * .5,
191
- space: (Y.value.width - K.value) / 100 * .5
192
- }), lt = d(() => {
193
- let e = [];
194
- for (let t = 0; t < 100; t += 1) {
195
- let r = P.value.ticks.gradient.show ? n(P.value.activeColor, t / 100 * (P.value.ticks.gradient.shiftHueIntensity / 100)) : P.value.activeColor;
196
- if (W.value) {
197
- let n = P.value.crescendo ? (100 - t) * (Y.value.width - G.value.left - G.value.right) / 100 / 3 : 0, i = G.value.left + 4 + n, a = Y.value.width - G.value.right - 4 - n, o = Y.value.height - G.value.bottom - t * X.value.mark - t * X.value.space - X.value.mark, s = Y.value.height - G.value.bottom - t * X.value.mark - t * X.value.space - X.value.mark, c = (a - i) / P.value.curveAngleX, l = P.value.curveAngleY * ((1 + t) / 100);
198
- e.push({
199
- x1: i,
200
- x2: a,
201
- y1: o,
202
- y2: s,
203
- curve: `M ${i} ${o} C ${i + c} ${o - l}, ${a - c} ${s - l}, ${a} ${s}`,
204
- color: r
205
- });
206
- } else {
207
- let n = P.value.crescendo ? (100 - t) * (Y.value.height - G.value.top - G.value.bottom) / 100 / 3 : 0, i = G.value.left + t * X.value.mark + t * X.value.space - X.value.mark, a = i, o = G.value.top + 4 + n, s = Y.value.height - G.value.bottom - 4 - n, c = P.value.curveAngleY * ((1 + t) / 100), l = (s - o) / P.value.curveAngleX;
208
- e.push({
209
- x1: i,
210
- x2: a,
211
- y1: o,
212
- y2: s,
213
- curve: `M ${i} ${o} C ${i + c} ${o + l}, ${a + c} ${s - l}, ${a} ${s}`,
214
- color: r
215
- });
216
- }
217
- }
218
- return e;
219
- }), Z = d(() => {
220
- let e, t, n, r = F.value.percentage.fontSize / 3;
221
- return W.value ? F.value.percentage.verticalPosition === "top" ? (e = Y.value.width / 2, t = G.value.top / 2, n = "middle") : F.value.percentage.verticalPosition === "bottom" && (e = Y.value.width / 2, t = Y.value.height - G.value.bottom / 2 + r, n = "middle") : F.value.percentage.horizontalPosition === "left" ? (e = 4, t = Y.value.height / 2 + r, n = "start") : F.value.percentage.horizontalPosition === "right" && (e = Y.value.width - G.value.right + 8, t = Y.value.height / 2 + r, n = "start"), {
222
- x: e,
223
- y: t,
224
- textAnchor: n,
225
- bold: F.value.percentage.bold,
226
- fontSize: F.value.percentage.fontSize,
227
- fill: F.value.percentage.color
228
- };
229
- }), Q = b(!1);
230
- function ut(e) {
231
- Q.value = e, Xe.value += 1;
232
- }
233
- let $ = b(!1);
234
- function dt() {
235
- $.value = !$.value;
236
- }
237
- async function ft({ scale: e = 2 } = {}) {
238
- if (!k.value) return;
239
- let { width: t, height: n } = k.value.getBoundingClientRect(), r = t / n, { imageUri: i, base64: a } = await ce({
240
- domElement: k.value,
241
- base64: !0,
242
- img: !0,
243
- scale: e
244
- });
245
- return {
246
- imageUri: i,
247
- base64: a,
248
- title: F.value.title.text,
249
- width: t,
250
- height: n,
251
- aspectRatio: r
252
- };
253
- }
254
- let pt = d(() => F.value.backgroundColor), mt = d(() => F.value.title), { isCallbackImaging: ht, isCallbackSvg: gt, generateSvg: _t, onGenerateImage: vt } = se({
255
- svg: z,
256
- title: mt,
257
- legend: null,
258
- legendItems: null,
259
- backgroundColor: pt,
260
- getSvgCallback: () => M.value.userOptions.callbacks.svg,
261
- generateImage: rt
262
- });
263
- async function yt() {
264
- if (Ge("copyAlt", {
265
- config: M.value,
266
- dataset: L.value
267
- }), !M.value.userOptions.callbacks.altCopy) {
268
- console.warn("Vue Data UI - A callback must be set for `altCopy` in userOptions.");
269
- return;
270
- }
271
- await Promise.resolve(M.value.userOptions.callbacks.altCopy({
272
- config: M.value,
273
- dataset: L.value
274
- }));
275
- }
276
- let bt = d(() => `${O.value}-title`), xt = d(() => `${O.value}-desc`), St = d(() => s(F.value.percentage.formatter, U.value, t({
277
- v: U.value,
278
- s: "%",
279
- r: F.value.percentage.rounding
280
- }))), Ct = d(() => F.value.title.text || ""), wt = d(() => I.value ? "Loading data" : `Value: ${St.value}`);
281
- return ue({
282
- getImage: ft,
283
- generatePdf: nt,
284
- generateImage: rt,
285
- generateSvg: _t,
286
- toggleAnnotator: dt,
287
- toggleFullscreen: ut,
288
- copyAlt: yt
289
- }), (e, t) => (y(), m("div", {
290
- ref_key: "tiremarksChart",
291
- ref: k,
292
- class: g(`vue-data-ui-component vue-ui-tiremarks ${M.value.useCssAnimation ? "" : "vue-ui-dna"}`),
293
- style: v(`font-family:${M.value.style.fontFamily};width:100%; text-align:center;background:${F.value.backgroundColor}`),
294
- id: O.value,
295
- onMouseenter: t[0] ||= () => C(et)(!0),
296
- onMouseleave: t[1] ||= () => C(et)(!1)
297
- }, [
298
- N.value.buttons.annotator ? (y(), f(C(T), {
299
- key: 0,
300
- svgRef: C(z),
301
- backgroundColor: F.value.backgroundColor,
302
- color: F.value.color,
303
- active: $.value,
304
- isCursorPointer: Qe.value,
305
- palette: N.value.annotatorPalette,
306
- onClose: dt
307
- }, {
308
- "annotator-action-close": w(() => [x(e.$slots, "annotator-action-close", {}, void 0, !0)]),
309
- "annotator-action-color": w(({ color: t }) => [x(e.$slots, "annotator-action-color", _(h({ color: t })), void 0, !0)]),
310
- "annotator-action-draw": w(({ mode: t }) => [x(e.$slots, "annotator-action-draw", _(h({ mode: t })), void 0, !0)]),
311
- "annotator-action-undo": w(({ disabled: t }) => [x(e.$slots, "annotator-action-undo", _(h({ disabled: t })), void 0, !0)]),
312
- "annotator-action-redo": w(({ disabled: t }) => [x(e.$slots, "annotator-action-redo", _(h({ disabled: t })), void 0, !0)]),
313
- "annotator-action-delete": w(({ disabled: t }) => [x(e.$slots, "annotator-action-delete", _(h({ disabled: t })), void 0, !0)]),
314
- _: 3
315
- }, 8, [
316
- "svgRef",
317
- "backgroundColor",
318
- "color",
319
- "active",
320
- "isCursorPointer",
321
- "palette"
322
- ])) : p("", !0),
323
- it.value ? (y(), m("div", {
324
- key: 1,
325
- ref_key: "noTitle",
326
- ref: qe,
327
- class: "vue-data-ui-no-title-space",
328
- style: "height:36px; width: 100%;background:transparent"
329
- }, null, 512)) : p("", !0),
330
- F.value.title.text ? (y(), m("div", {
331
- key: 2,
332
- ref_key: "chartTitle",
333
- ref: Je,
334
- style: "width:100%;background:transparent;padding-bottom:12px"
335
- }, [(y(), f(le, {
336
- key: `title_${Ze.value}`,
337
- config: {
338
- title: {
339
- cy: "wheel-title",
340
- ...F.value.title
341
- },
342
- subtitle: {
343
- cy: "wheel-subtitle",
344
- ...F.value.title.subtitle
345
- }
346
- }
347
- }, null, 8, ["config"]))], 512)) : p("", !0),
348
- N.value.show && Ke.value && (C(tt) || C(R)) ? (y(), f(C(Be), {
349
- ref: "details",
350
- key: `user_options_${Xe.value}`,
351
- backgroundColor: F.value.backgroundColor,
352
- color: F.value.color,
353
- isPrinting: C(V),
354
- isImaging: C(H),
355
- uid: O.value,
356
- hasPdf: N.value.buttons.pdf,
357
- hasImg: N.value.buttons.img,
358
- hasSvg: N.value.buttons.svg,
359
- hasFullscreen: N.value.buttons.fullscreen,
360
- hasAltCopy: N.value.buttons.altCopy,
361
- hasXls: !1,
362
- isFullscreen: Q.value,
363
- titles: { ...N.value.buttonTitles },
364
- chartElement: k.value,
365
- position: N.value.position,
366
- hasAnnotator: N.value.buttons.annotator,
367
- isAnnotation: $.value,
368
- callbacks: N.value.callbacks,
369
- printScale: N.value.print.scale,
370
- isCursorPointer: Qe.value,
371
- onToggleFullscreen: ut,
372
- onGeneratePdf: C(nt),
373
- onGenerateImage: C(vt),
374
- onGenerateSvg: C(_t),
375
- onToggleAnnotator: dt,
376
- onCopyAlt: yt,
377
- style: v({ visibility: C(tt) ? C(R) ? "visible" : "hidden" : "visible" })
378
- }, ye({ _: 2 }, [
379
- e.$slots.menuIcon ? {
380
- name: "menuIcon",
381
- fn: w(({ isOpen: t, color: n }) => [x(e.$slots, "menuIcon", _(h({
382
- isOpen: t,
383
- color: n
384
- })), void 0, !0)]),
385
- key: "0"
386
- } : void 0,
387
- e.$slots.optionPdf ? {
388
- name: "optionPdf",
389
- fn: w(() => [x(e.$slots, "optionPdf", {}, void 0, !0)]),
390
- key: "1"
391
- } : void 0,
392
- e.$slots.optionImg ? {
393
- name: "optionImg",
394
- fn: w(() => [x(e.$slots, "optionImg", {}, void 0, !0)]),
395
- key: "2"
396
- } : void 0,
397
- e.$slots.optionSvg ? {
398
- name: "optionSvg",
399
- fn: w(() => [x(e.$slots, "optionSvg", {}, void 0, !0)]),
400
- key: "3"
401
- } : void 0,
402
- e.$slots.optionFullscreen ? {
403
- name: "optionFullscreen",
404
- fn: w(({ toggleFullscreen: t, isFullscreen: n }) => [x(e.$slots, "optionFullscreen", _(h({
405
- toggleFullscreen: t,
406
- isFullscreen: n
407
- })), void 0, !0)]),
408
- key: "4"
409
- } : void 0,
410
- e.$slots.optionAnnotator ? {
411
- name: "optionAnnotator",
412
- fn: w(({ toggleAnnotator: t, isAnnotator: n }) => [x(e.$slots, "optionAnnotator", _(h({
413
- toggleAnnotator: t,
414
- isAnnotator: n
415
- })), void 0, !0)]),
416
- key: "5"
417
- } : void 0,
418
- e.$slots.optionAltCopy ? {
419
- name: "optionAltCopy",
420
- fn: w(({ altCopy: t }) => [x(e.$slots, "optionAltCopy", _(h({ altCopy: t })), void 0, !0)]),
421
- key: "6"
422
- } : void 0,
423
- e.$slots["custom-menu-before"] ? {
424
- name: "custom-menu-before",
425
- fn: w(() => [x(e.$slots, "custom-menu-before", {}, void 0, !0)]),
426
- key: "7"
427
- } : void 0,
428
- e.$slots["custom-menu-after"] ? {
429
- name: "custom-menu-after",
430
- fn: w(() => [x(e.$slots, "custom-menu-after", {}, void 0, !0)]),
431
- key: "8"
432
- } : void 0
433
- ]), 1032, [
434
- "backgroundColor",
435
- "color",
436
- "isPrinting",
437
- "isImaging",
438
- "uid",
439
- "hasPdf",
440
- "hasImg",
441
- "hasSvg",
442
- "hasFullscreen",
443
- "hasAltCopy",
444
- "isFullscreen",
445
- "titles",
446
- "chartElement",
447
- "position",
448
- "hasAnnotator",
449
- "isAnnotation",
450
- "callbacks",
451
- "printScale",
452
- "isCursorPointer",
453
- "onGeneratePdf",
454
- "onGenerateImage",
455
- "onGenerateSvg",
456
- "style"
457
- ])) : p("", !0),
458
- (y(), m("svg", {
459
- ref_key: "svgRef",
460
- ref: z,
461
- xmlns: C(c),
462
- class: g({
463
- "vue-data-ui-fullscreen--on": Q.value,
464
- "vue-data-ui-fulscreen--off": !Q.value
465
- }),
466
- viewBox: `0 0 ${q.value} ${J.value}`,
467
- style: v(`max-width:100%; overflow: visible; background:transparent;color:${F.value.color}`),
468
- role: "img",
469
- "aria-labelledby": bt.value,
470
- "aria-describedby": xt.value
471
- }, [
472
- ve("title", { id: bt.value }, S(Ct.value), 9, ke),
473
- ve("desc", { id: xt.value }, S(wt.value), 9, Ae),
474
- be(C(Ve)),
475
- e.$slots["chart-background"] ? (y(), m("foreignObject", {
476
- key: 0,
477
- x: 0,
478
- y: 0,
479
- width: Y.value.width,
480
- height: Y.value.height,
481
- style: { pointerEvents: "none" }
482
- }, [x(e.$slots, "chart-background", {}, void 0, !0)], 8, je)) : p("", !0),
483
- P.value.curved ? (y(), m("g", Me, [(y(!0), m(_e, null, Ce(lt.value, (e, t) => (y(), m("path", {
484
- d: e.curve,
485
- "stroke-width": X.value.mark,
486
- stroke: U.value >= t ? e.color : P.value.inactiveColor,
487
- "stroke-linecap": "round",
488
- fill: "none",
489
- class: g({ "vue-ui-tick-animated": F.value.animation.use && !C(E) && t <= U.value })
490
- }, null, 10, Ne))), 256))])) : (y(), m("g", Pe, [(y(!0), m(_e, null, Ce(lt.value, (e, t) => (y(), m("line", {
491
- x1: e.x1,
492
- y1: e.y1,
493
- x2: e.x2,
494
- y2: e.y2,
495
- "stroke-width": X.value.mark,
496
- stroke: U.value >= t ? e.color : P.value.inactiveColor,
497
- "stroke-linecap": "round"
498
- }, null, 8, Fe))), 256))])),
499
- F.value.percentage.show ? (y(), m("g", {
500
- key: 3,
501
- role: "status",
502
- "aria-live": "polite",
503
- "aria-label": C(I) ? "..." : `${St.value}`
504
- }, [C(I) ? (y(), m("rect", {
505
- key: 0,
506
- x: ct.value.x,
507
- y: ct.value.y,
508
- width: 40,
509
- height: Z.value.fontSize,
510
- fill: "#6A6A6A80",
511
- rx: 3
512
- }, null, 8, Le)) : (y(), m("text", {
513
- key: 1,
514
- "aria-hidden": "true",
515
- x: Z.value.x,
516
- y: Z.value.y,
517
- "font-size": Z.value.fontSize,
518
- fill: P.value.ticks.gradient.show && F.value.percentage.useGradientColor ? C(n)(P.value.activeColor, U.value / 100 * (P.value.ticks.gradient.shiftHueIntensity / 100)) : F.value.percentage.color,
519
- "font-weight": Z.value.bold ? "bold" : "normal",
520
- "text-anchor": Z.value.textAnchor
521
- }, S(St.value), 9, Re))], 8, Ie)) : p("", !0),
522
- x(e.$slots, "svg", { svg: {
523
- ...Y.value,
524
- isPrintingImg: C(V) || C(H) || C(ht),
525
- isPrintingSvg: C(gt)
526
- } }, void 0, !0)
527
- ], 14, Oe)),
528
- e.$slots.watermark ? (y(), m("div", ze, [x(e.$slots, "watermark", _(h({ isPrinting: C(V) || C(H) || C(ht) || C(gt) })), void 0, !0)])) : p("", !0),
529
- e.$slots.source ? (y(), m("div", {
530
- key: 5,
531
- ref_key: "source",
532
- ref: Ye,
533
- dir: "auto"
534
- }, [x(e.$slots, "source", {}, void 0, !0)], 512)) : p("", !0),
535
- x(e.$slots, "skeleton", {}, () => [C(I) ? (y(), f(ae, { key: 0 })) : p("", !0)], !0)
536
- ], 46, De));
537
- }
538
- }, [["__scopeId", "data-v-5a0a85a9"]]);
539
- //#endregion
540
- export { Ee as n, T as t };