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,758 +0,0 @@
1
- import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
2
- import { $ as t, $t as n, Rt as r, S as i, Vt as a, X as ee, at as o, b as s, i as te, qt as ne, t as re, tn as ie, vt as ae, w as oe } from "./lib-TWIH5fGr.js";
3
- import { n as se, t as ce } from "./useHints-Dq_w2E8B.js";
4
- import { t as le } from "./useConfig-DObkR9Aa.js";
5
- import { t as ue } from "./usePrinter-8Y1Rju0Y.js";
6
- import { n as de, t as fe } from "./BaseScanner-Dzc8VT3j.js";
7
- import { t as c } from "./useNestedProp-BxOdWM0c.js";
8
- import { t as pe } from "./useThemeCheck-C43Tcqmk.js";
9
- import { t as me } from "./useChartExport-iwOqiIWX.js";
10
- import { t as he } from "./img-KURaWjZI.js";
11
- import { n as ge } from "./Title-Bd98RysU.js";
12
- import { t as _e } from "./_plugin-vue_export-helper-B3ysoDQm.js";
13
- import { l as ve, t as ye } from "./useResponsive-ZtArZtUf.js";
14
- import { t as be } from "./DefGrad-DVBqDjhO.js";
15
- import { t as xe } from "./useUserOptionState-DK-_1ddE.js";
16
- import { t as Se } from "./useChartAccessibility-DYqac8yF.js";
17
- import { t as Ce } from "./usePrefersMotion-BC-CsqR1.js";
18
- import { t as we } from "./useAutoSizeLabelsInsideViewbox-DvDwcwi_.js";
19
- import { t as Te } from "./vue_ui_thermometer-DxgqWKlE.js";
20
- import { Fragment as l, computed as u, createBlock as d, createCommentVNode as f, createElementBlock as p, createElementVNode as m, createSlots as Ee, createVNode as De, defineAsyncComponent as h, guardReactiveProps as g, normalizeClass as _, normalizeProps as v, normalizeStyle as Oe, onMounted as ke, openBlock as y, ref as b, renderList as Ae, renderSlot as x, toDisplayString as S, toRefs as je, unref as C, useCssVars as Me, watch as Ne, withCtx as w } from "vue";
21
- //#region src/components/vue-ui-thermometer.vue
22
- var Pe = /* @__PURE__ */ e({ default: () => T }), Fe = ["id"], Ie = {
23
- key: 1,
24
- ref: "noTitle",
25
- class: "vue-data-ui-no-title-space",
26
- style: "height:36px; width: 100%;background:transparent"
27
- }, Le = [
28
- "xmlns",
29
- "viewBox",
30
- "aria-labelledby",
31
- "aria-describedby"
32
- ], Re = ["id"], ze = ["id"], Be = ["width", "height"], Ve = ["id"], He = [
33
- "x",
34
- "y",
35
- "width",
36
- "height",
37
- "rx",
38
- "ry"
39
- ], Ue = ["clip-path"], We = [
40
- "x",
41
- "y",
42
- "height",
43
- "width"
44
- ], Ge = [
45
- "x",
46
- "y",
47
- "height",
48
- "width",
49
- "fill"
50
- ], Ke = [
51
- "x1",
52
- "x2",
53
- "y1",
54
- "y2",
55
- "stroke-width",
56
- "stroke"
57
- ], qe = [
58
- "x1",
59
- "x2",
60
- "y1",
61
- "y2",
62
- "stroke-width",
63
- "stroke"
64
- ], Je = [
65
- "x1",
66
- "x2",
67
- "y1",
68
- "y2",
69
- "stroke-width",
70
- "stroke"
71
- ], Ye = [
72
- "x1",
73
- "x2",
74
- "y1",
75
- "y2",
76
- "stroke-width",
77
- "stroke"
78
- ], Xe = [
79
- "x1",
80
- "x2",
81
- "y1",
82
- "y2",
83
- "stroke-width",
84
- "stroke"
85
- ], Ze = [
86
- "x1",
87
- "x2",
88
- "y1",
89
- "y2",
90
- "stroke-width",
91
- "stroke"
92
- ], Qe = [
93
- "x1",
94
- "x2",
95
- "y1",
96
- "y2",
97
- "stroke-width",
98
- "stroke"
99
- ], $e = [
100
- "x1",
101
- "x2",
102
- "y1",
103
- "y2",
104
- "stroke-width",
105
- "stroke"
106
- ], et = [
107
- "x",
108
- "y",
109
- "height",
110
- "width"
111
- ], tt = ["aria-label"], nt = [
112
- "x",
113
- "y",
114
- "height"
115
- ], rt = [
116
- "y",
117
- "x",
118
- "fill",
119
- "font-size",
120
- "font-weight"
121
- ], it = {
122
- key: 4,
123
- class: "vue-data-ui-watermark"
124
- }, T = /*#__PURE__*/ _e({
125
- __name: "vue-ui-thermometer",
126
- props: {
127
- dataset: {
128
- type: Object,
129
- default() {
130
- return {};
131
- }
132
- },
133
- config: {
134
- type: Object,
135
- default() {
136
- return {};
137
- }
138
- }
139
- },
140
- emits: ["copyAlt"],
141
- setup(e, { expose: _e, emit: Pe }) {
142
- Me((e) => ({
143
- v48e818f7: Mt.value,
144
- v7e86e312: jt.value,
145
- v7e395524: At.value
146
- }));
147
- let T = h(() => import("./PackageVersion-CslTvFsC.js").then((e) => e.t)), at = h(() => import("./PenAndPaper-C1EcBgJW.js").then((e) => e.t)), ot = h(() => import("./UserOptions-B_yBcZ1-.js").then((e) => e.n)), { vue_ui_thermometer: st } = le(), { isThemeValid: ct, warnInvalidTheme: lt } = pe(), ut = Ce(), E = e, dt = Pe, D = b(ee()), O = b(null), ft = b(0), pt = b(0), mt = b(null), ht = b(null), k = b(null), A = b(null), gt = u(() => !!E.dataset && Object.keys(E.dataset).length);
148
- ke(() => {
149
- xt();
150
- });
151
- let j = b(V()), M = u(() => j.value.userOptions), N = u(() => j.value.style.chart.graduations), P = u(() => j.value.style.chart);
152
- se({
153
- config: () => j.value,
154
- dataset: () => E.dataset,
155
- component: "VueUiThermometer",
156
- rules: [ce.noHint]
157
- });
158
- let _t = b(P.value.thermometer.width), F = b(P.value.height), I = b(P.value.width), vt = u(() => j.value.userOptions.useCursorPointer), yt = u(() => ie({
159
- defaultConfig: {
160
- userOptions: { show: !1 },
161
- style: { chart: {
162
- animation: { use: !1 },
163
- backgroundColor: "#99999930",
164
- graduations: { stroke: "#6A6A6A" }
165
- } }
166
- },
167
- userConfig: j.value.skeletonConfig ?? {}
168
- })), { loading: L, FINAL_DATASET: R } = de({
169
- ...je(E),
170
- FINAL_CONFIG: j,
171
- prepareConfig: V,
172
- skeletonDataset: E.config?.skeletonDataset ?? {
173
- value: 0,
174
- from: -100,
175
- to: 100,
176
- steps: 20,
177
- colors: {
178
- from: "#A1A1A1",
179
- to: "#CACACA"
180
- }
181
- },
182
- skeletonConfig: ie({
183
- defaultConfig: j.value,
184
- userConfig: yt.value
185
- })
186
- }), bt = u(() => j.value.debug);
187
- function xt() {
188
- if (r(E.dataset) ? o({
189
- componentName: "VueUiThermometer",
190
- type: "dataset",
191
- debug: bt.value
192
- }) : ae({
193
- datasetObject: E.dataset,
194
- requiredAttributes: [
195
- "value",
196
- "from",
197
- "to"
198
- ]
199
- }).forEach((e) => {
200
- o({
201
- componentName: "VueUiThermometer",
202
- type: "datasetAttribute",
203
- property: e,
204
- debug: bt.value
205
- });
206
- }), j.value.responsive) {
207
- let e = ve(() => {
208
- let { width: e, height: t } = ye({
209
- chart: O.value,
210
- title: j.value.style.title.text ? mt.value : null,
211
- source: ht.value
212
- });
213
- requestAnimationFrame(() => {
214
- F.value = Math.max(.1, t - 12), I.value = e, Rt();
215
- });
216
- });
217
- k.value && (A.value && k.value.unobserve(A.value), k.value.disconnect()), k.value = new ResizeObserver(e), A.value = O.value, k.value.observe(A.value);
218
- }
219
- Rt();
220
- }
221
- let { userOptionsVisible: z, setUserOptionsVisibility: St, keepUserOptionState: Ct } = xe({ config: j.value }), { svgRef: B } = Se({ config: j.value.style.title });
222
- function V() {
223
- let e = c({
224
- userConfig: E.config,
225
- defaultConfig: st
226
- }), t = e.theme;
227
- if (!t) return e;
228
- if (!ct.value(e)) return lt(e), e;
229
- let r = c({
230
- userConfig: Te[t] || E.config,
231
- defaultConfig: e
232
- }), i = c({
233
- userConfig: E.config,
234
- defaultConfig: r
235
- });
236
- return {
237
- ...i,
238
- customPalette: i.customPalette.length ? i.customPalette : n[t] || a
239
- };
240
- }
241
- Ne(() => E.config, (e) => {
242
- j.value = V(), z.value = !j.value.userOptions.showOnChartHover, _t.value = P.value.thermometer.width, F.value = P.value.height, I.value = P.value.width, xt(), pt.value += 1;
243
- }, { deep: !0 });
244
- let { isPrinting: H, isImaging: U, generatePdf: wt, generateImage: Tt } = ue({
245
- elementId: `thermometer__${D.value}`,
246
- fileName: j.value.style.title.text || "vue-ui-thermometer",
247
- options: j.value.userOptions.print
248
- }), Et = u(() => j.value.userOptions.show && !j.value.style.title.text), W = u(() => oe(j.value.customPalette)), G = u(() => R.value.steps || 10);
249
- function K(e, t, n) {
250
- let r = [], i = Dt(e), a = Dt(t);
251
- for (let e = 0; e < n; e += 1) {
252
- let t = q(i.red, a.red, e, n), ee = q(i.green, a.green, e, n), o = q(i.blue, a.blue, e, n), s = `#${Ot(t)}${Ot(ee)}${Ot(o)}`;
253
- r.push(s);
254
- }
255
- return r;
256
- }
257
- function Dt(e) {
258
- let t = e.slice(1);
259
- return {
260
- red: parseInt(t.slice(0, 2), 16),
261
- green: parseInt(t.slice(2, 4), 16),
262
- blue: parseInt(t.slice(4, 6), 16)
263
- };
264
- }
265
- function q(e, t, n, r) {
266
- return Math.round(e + (t - e) * n / r);
267
- }
268
- function Ot(e) {
269
- return e.toString(16).padStart(2, "0");
270
- }
271
- let J = u(() => {
272
- let e = Math.max(.1, I.value), t = Math.max(.1, F.value), n = P.value.padding;
273
- return {
274
- width: e,
275
- left: e / 2 - P.value.thermometer.width / 2,
276
- right: e / 2 + P.value.thermometer.width / 2,
277
- top: n.top,
278
- bottom: t - n.bottom - n.top,
279
- height: t,
280
- thermoHeight: t - n.top - n.bottom,
281
- thermoWidth: P.value.thermometer.width
282
- };
283
- }), kt = u(() => J.value), Y = u(() => {
284
- let e = s(R.value.from) < 0 ? Math.abs(s(R.value.from)) : s(R.value.from), t = s(R.value.to) < 0 ? Math.abs(s(R.value.to)) : s(R.value.to), n = 0;
285
- return n = s(R.value.to) > 0 ? e + t : e > t ? e - t : t - e, (1 - (Math.abs(s(R.value.from)) + s(R.value.value)) / n) * J.value.thermoHeight;
286
- }), At = u(() => `${Y.value}px`), jt = u(() => `${J.value.thermoHeight}px`), Mt = u(() => ut.value ? "0ms" : `${P.value.animation.speedMs}ms`), Nt = u(() => {
287
- if (R.value.colors) {
288
- if (!R.value.colors.from) return K(W.value[0] || a[0], i(R.value.colors.to), G.value || 10);
289
- if (!R.value.colors.to) return K(i(R.value.colors.from), W.value[1] || a[1], G.value || 10);
290
- } else return K(W.value[1] || a[1], W.value[0] || a[0], G.value || 10);
291
- return K(i(R.value.colors.from), i(R.value.colors.to), G.value || 10);
292
- }), Pt = u(() => {
293
- let e = [], t = 0, n = J.value.thermoHeight;
294
- for (let r = 0; r < n - 1; r += n / G.value) e.push({
295
- x: J.value.left,
296
- y: J.value.top + r,
297
- qYLess: J.value.top + r + n / G.value / 4,
298
- halfY: J.value.top + r + n / G.value / 2,
299
- qYMore: J.value.top + r + n / G.value / 4 * 3,
300
- color: Nt.value[t],
301
- height: Math.max(.1, n / G.value)
302
- }), t += 1;
303
- return e;
304
- }), X = b(!1);
305
- function Ft(e) {
306
- X.value = e, ft.value += 1;
307
- }
308
- let Z = b(!1);
309
- function It() {
310
- Z.value = !Z.value;
311
- }
312
- async function Lt({ scale: e = 2 } = {}) {
313
- if (!O.value) return;
314
- let { width: t, height: n } = O.value.getBoundingClientRect(), r = t / n, { imageUri: i, base64: a } = await he({
315
- domElement: O.value,
316
- base64: !0,
317
- img: !0,
318
- scale: e
319
- });
320
- return {
321
- imageUri: i,
322
- base64: a,
323
- title: j.value.style.title.text,
324
- width: t,
325
- height: n,
326
- aspectRatio: r
327
- };
328
- }
329
- let Q = u({
330
- get: () => P.value.label.fontSize,
331
- set: (e) => e
332
- }), { autoSizeLabels: Rt } = we({
333
- svgRef: B,
334
- fontSize: P.value.label.fontSize,
335
- minFontSize: P.value.label.minFontSize,
336
- sizeRef: Q,
337
- labelClass: ".vue-ui-thermometer-label"
338
- }), zt = u(() => P.value.backgroundColor), Bt = u(() => j.value.style.title), { isCallbackImaging: Vt, isCallbackSvg: Ht, generateSvg: Ut, onGenerateImage: Wt } = me({
339
- svg: B,
340
- title: Bt,
341
- legend: null,
342
- legendItems: null,
343
- backgroundColor: zt,
344
- getSvgCallback: () => j.value.userOptions.callbacks.svg,
345
- generateImage: Tt
346
- });
347
- async function Gt() {
348
- if (dt("copyAlt", {
349
- config: j.value,
350
- dataset: R.value
351
- }), !j.value.userOptions.callbacks.altCopy) {
352
- console.warn("Vue Data UI - A callback must be set for `altCopy` in userOptions.");
353
- return;
354
- }
355
- await Promise.resolve(j.value.userOptions.callbacks.altCopy({
356
- config: j.value,
357
- dataset: R.value
358
- }));
359
- }
360
- let Kt = u(() => `${D.value}-title`), qt = u(() => `${D.value}-desc`), $ = u(() => te(P.value.label.formatter, R.value.value, t({
361
- p: P.value.label.prefix,
362
- v: R.value.value,
363
- s: P.value.label.suffix,
364
- r: P.value.label.rounding
365
- }), { datapoint: R.value })), Jt = u(() => j.value.style.title.text || ""), Yt = u(() => {
366
- if (L.value) return "...";
367
- let e = s(R.value.from), t = s(R.value.to);
368
- return `Thermometer value: ${$.value}. Range: ${e} to ${t}.`;
369
- });
370
- return _e({
371
- getImage: Lt,
372
- generatePdf: wt,
373
- generateImage: Tt,
374
- generateSvg: Ut,
375
- toggleAnnotator: It,
376
- toggleFullscreen: Ft,
377
- copyAlt: Gt
378
- }), (e, t) => (y(), p("div", {
379
- ref_key: "thermoChart",
380
- ref: O,
381
- class: _(`vue-data-ui-component vue-ui-thermometer ${X.value ? "vue-data-ui-wrapper-fullscreen" : ""}`),
382
- style: Oe(`width:100%;background:${P.value.backgroundColor};color:${P.value.color};font-family:${j.value.style.fontFamily}`),
383
- id: `thermometer__${D.value}`,
384
- onMouseenter: t[0] ||= () => C(St)(!0),
385
- onMouseleave: t[1] ||= () => C(St)(!1)
386
- }, [
387
- M.value.buttons.annotator ? (y(), d(C(at), {
388
- key: 0,
389
- svgRef: C(B),
390
- backgroundColor: P.value.backgroundColor,
391
- color: P.value.color,
392
- active: Z.value,
393
- isCursorPointer: vt.value,
394
- palette: M.value.annotatorPalette,
395
- onClose: It
396
- }, {
397
- "annotator-action-close": w(() => [x(e.$slots, "annotator-action-close", {}, void 0, !0)]),
398
- "annotator-action-color": w(({ color: t }) => [x(e.$slots, "annotator-action-color", v(g({ color: t })), void 0, !0)]),
399
- "annotator-action-draw": w(({ mode: t }) => [x(e.$slots, "annotator-action-draw", v(g({ mode: t })), void 0, !0)]),
400
- "annotator-action-undo": w(({ disabled: t }) => [x(e.$slots, "annotator-action-undo", v(g({ disabled: t })), void 0, !0)]),
401
- "annotator-action-redo": w(({ disabled: t }) => [x(e.$slots, "annotator-action-redo", v(g({ disabled: t })), void 0, !0)]),
402
- "annotator-action-delete": w(({ disabled: t }) => [x(e.$slots, "annotator-action-delete", v(g({ disabled: t })), void 0, !0)]),
403
- _: 3
404
- }, 8, [
405
- "svgRef",
406
- "backgroundColor",
407
- "color",
408
- "active",
409
- "isCursorPointer",
410
- "palette"
411
- ])) : f("", !0),
412
- Et.value ? (y(), p("div", Ie, null, 512)) : f("", !0),
413
- j.value.style.title.text ? (y(), p("div", {
414
- key: 2,
415
- ref_key: "chartTitle",
416
- ref: mt,
417
- style: "width:100%"
418
- }, [(y(), d(ge, {
419
- key: `title_${pt.value}`,
420
- config: {
421
- title: {
422
- cy: "thermometer-div-title",
423
- ...j.value.style.title
424
- },
425
- subtitle: {
426
- cy: "thermometer-div-subtitle",
427
- ...j.value.style.title.subtitle
428
- }
429
- }
430
- }, null, 8, ["config"]))], 512)) : f("", !0),
431
- M.value.show && gt.value && (C(Ct) || C(z)) ? (y(), d(C(ot), {
432
- ref: "details",
433
- key: `user_options_${ft.value}`,
434
- backgroundColor: P.value.backgroundColor,
435
- color: P.value.color,
436
- isImaging: C(U),
437
- isPrinting: C(H),
438
- uid: D.value,
439
- hasPdf: M.value.buttons.pdf,
440
- hasImg: M.value.buttons.img,
441
- hasSvg: M.value.buttons.svg,
442
- hasFullscreen: M.value.buttons.fullscreen,
443
- hasAltCopy: M.value.buttons.altCopy,
444
- hasXls: !1,
445
- isFullscreen: X.value,
446
- titles: { ...M.value.buttonTitles },
447
- chartElement: O.value,
448
- position: M.value.position,
449
- hasAnnotator: M.value.buttons.annotator,
450
- isAnnotation: Z.value,
451
- callbacks: M.value.callbacks,
452
- printScale: M.value.print.scale,
453
- isCursorPointer: vt.value,
454
- onToggleFullscreen: Ft,
455
- onGeneratePdf: C(wt),
456
- onGenerateImage: C(Wt),
457
- onGenerateSvg: C(Ut),
458
- onToggleAnnotator: It,
459
- onCopyAlt: Gt,
460
- style: Oe({ visibility: C(Ct) ? C(z) ? "visible" : "hidden" : "visible" })
461
- }, Ee({ _: 2 }, [
462
- e.$slots.menuIcon ? {
463
- name: "menuIcon",
464
- fn: w(({ isOpen: t, color: n }) => [x(e.$slots, "menuIcon", v(g({
465
- isOpen: t,
466
- color: n
467
- })), void 0, !0)]),
468
- key: "0"
469
- } : void 0,
470
- e.$slots.optionPdf ? {
471
- name: "optionPdf",
472
- fn: w(() => [x(e.$slots, "optionPdf", {}, void 0, !0)]),
473
- key: "1"
474
- } : void 0,
475
- e.$slots.optionImg ? {
476
- name: "optionImg",
477
- fn: w(() => [x(e.$slots, "optionImg", {}, void 0, !0)]),
478
- key: "2"
479
- } : void 0,
480
- e.$slots.optionSvg ? {
481
- name: "optionSvg",
482
- fn: w(() => [x(e.$slots, "optionSvg", {}, void 0, !0)]),
483
- key: "3"
484
- } : void 0,
485
- e.$slots.optionFullscreen ? {
486
- name: "optionFullscreen",
487
- fn: w(({ toggleFullscreen: t, isFullscreen: n }) => [x(e.$slots, "optionFullscreen", v(g({
488
- toggleFullscreen: t,
489
- isFullscreen: n
490
- })), void 0, !0)]),
491
- key: "4"
492
- } : void 0,
493
- e.$slots.optionAnnotator ? {
494
- name: "optionAnnotator",
495
- fn: w(({ toggleAnnotator: t, isAnnotator: n }) => [x(e.$slots, "optionAnnotator", v(g({
496
- toggleAnnotator: t,
497
- isAnnotator: n
498
- })), void 0, !0)]),
499
- key: "5"
500
- } : void 0,
501
- e.$slots.optionAltCopy ? {
502
- name: "optionAltCopy",
503
- fn: w(({ altCopy: t }) => [x(e.$slots, "optionAltCopy", v(g({ altCopy: t })), void 0, !0)]),
504
- key: "6"
505
- } : void 0,
506
- e.$slots["custom-menu-before"] ? {
507
- name: "custom-menu-before",
508
- fn: w(() => [x(e.$slots, "custom-menu-before", {}, void 0, !0)]),
509
- key: "7"
510
- } : void 0,
511
- e.$slots["custom-menu-after"] ? {
512
- name: "custom-menu-after",
513
- fn: w(() => [x(e.$slots, "custom-menu-after", {}, void 0, !0)]),
514
- key: "8"
515
- } : void 0
516
- ]), 1032, [
517
- "backgroundColor",
518
- "color",
519
- "isImaging",
520
- "isPrinting",
521
- "uid",
522
- "hasPdf",
523
- "hasImg",
524
- "hasSvg",
525
- "hasFullscreen",
526
- "hasAltCopy",
527
- "isFullscreen",
528
- "titles",
529
- "chartElement",
530
- "position",
531
- "hasAnnotator",
532
- "isAnnotation",
533
- "callbacks",
534
- "printScale",
535
- "isCursorPointer",
536
- "onGeneratePdf",
537
- "onGenerateImage",
538
- "onGenerateSvg",
539
- "style"
540
- ])) : f("", !0),
541
- (y(), p("svg", {
542
- ref_key: "svgRef",
543
- ref: B,
544
- xmlns: C(re),
545
- class: _({
546
- "vue-data-ui-fullscreen--on": X.value,
547
- "vue-data-ui-fulscreen--off": !X.value
548
- }),
549
- width: "100%",
550
- viewBox: `0 0 ${J.value.width} ${J.value.height}`,
551
- style: "background:transparent",
552
- "aria-labelledby": Kt.value,
553
- "aria-describedby": qt.value
554
- }, [
555
- m("title", { id: Kt.value }, S(Jt.value), 9, Re),
556
- m("desc", { id: qt.value }, S(Yt.value), 9, ze),
557
- De(C(T)),
558
- e.$slots["chart-background"] ? (y(), p("foreignObject", {
559
- key: 0,
560
- x: 0,
561
- y: 0,
562
- width: J.value.width,
563
- height: J.value.height,
564
- style: { pointerEvents: "none" }
565
- }, [x(e.$slots, "chart-background", {}, void 0, !0)], 8, Be)) : f("", !0),
566
- m("defs", null, [m("clipPath", {
567
- id: `vueUiPill-${D.value}`,
568
- clipPathUnits: "userSpaceOnUse"
569
- }, [m("rect", {
570
- x: J.value.left,
571
- y: J.value.top,
572
- width: J.value.thermoWidth,
573
- height: J.value.thermoHeight,
574
- rx: J.value.thermoWidth / 2,
575
- ry: J.value.thermoWidth / 2
576
- }, null, 8, He)], 8, Ve), (y(!0), p(l, null, Ae(Pt.value, (e, t) => (y(), d(be, {
577
- t: "linear",
578
- id: `vueUiThermometerGradient_${t}_${D.value}`,
579
- key: `t_${t}_${D.value}`,
580
- x1: "0%",
581
- y1: "0%",
582
- x2: "100%",
583
- y2: "0%",
584
- stops: [
585
- [
586
- "0%",
587
- e.color,
588
- 1
589
- ],
590
- [
591
- "50%",
592
- C(ne)(e.color, 100 - N.value.gradient.intensity),
593
- 1
594
- ],
595
- [
596
- "100%",
597
- e.color,
598
- 1
599
- ]
600
- ]
601
- }, null, 8, ["id", "stops"]))), 128))]),
602
- m("g", { "clip-path": `url(#vueUiPill-${D.value})` }, [
603
- m("rect", {
604
- x: J.value.left,
605
- y: J.value.top,
606
- height: J.value.thermoHeight,
607
- width: J.value.thermoWidth,
608
- fill: "#FFFFFF"
609
- }, null, 8, We),
610
- (y(!0), p(l, null, Ae(Pt.value, (e, t) => (y(), p("g", { key: `graduation_${t}` }, [
611
- m("rect", {
612
- x: e.x,
613
- y: e.y,
614
- height: e.height,
615
- width: J.value.thermoWidth,
616
- fill: N.value.gradient.show ? `url(#vueUiThermometerGradient_${t}_${D.value})` : e.color,
617
- "shape-rendering": "crispEdges"
618
- }, null, 8, Ge),
619
- N.value.show && ["both", "left"].includes(N.value.sides) ? (y(), p("line", {
620
- key: 0,
621
- x1: e.x,
622
- x2: e.x + 10,
623
- y1: e.y,
624
- y2: e.y,
625
- "stroke-width": N.value.strokeWidth,
626
- stroke: N.value.stroke,
627
- "stroke-linecap": "round"
628
- }, null, 8, Ke)) : f("", !0),
629
- N.value.showIntermediate ? (y(), p(l, { key: 1 }, [
630
- N.value.show && ["both", "left"].includes(N.value.sides) ? (y(), p("line", {
631
- key: 0,
632
- x1: e.x,
633
- x2: e.x + 5,
634
- y1: e.halfY,
635
- y2: e.halfY,
636
- "stroke-width": N.value.strokeWidth / 2,
637
- stroke: N.value.stroke,
638
- "stroke-linecap": "round"
639
- }, null, 8, qe)) : f("", !0),
640
- N.value.show && ["both", "left"].includes(N.value.sides) ? (y(), p("line", {
641
- key: 1,
642
- x1: e.x,
643
- x2: e.x + 2.5,
644
- y1: e.qYLess,
645
- y2: e.qYLess,
646
- "stroke-width": N.value.strokeWidth / 2,
647
- stroke: N.value.stroke,
648
- "stroke-linecap": "round"
649
- }, null, 8, Je)) : f("", !0),
650
- N.value.show && ["both", "left"].includes(N.value.sides) ? (y(), p("line", {
651
- key: 2,
652
- x1: e.x,
653
- x2: e.x + 2.5,
654
- y1: e.qYMore,
655
- y2: e.qYMore,
656
- "stroke-width": N.value.strokeWidth / 2,
657
- stroke: N.value.stroke,
658
- "stroke-linecap": "round"
659
- }, null, 8, Ye)) : f("", !0)
660
- ], 64)) : f("", !0),
661
- N.value.show && ["both", "right"].includes(N.value.sides) ? (y(), p("line", {
662
- key: 2,
663
- x1: J.value.right,
664
- x2: J.value.right - 10,
665
- y1: e.y,
666
- y2: e.y,
667
- "stroke-width": N.value.strokeWidth,
668
- stroke: N.value.stroke,
669
- "stroke-linecap": "round"
670
- }, null, 8, Xe)) : f("", !0),
671
- N.value.showIntermediate ? (y(), p(l, { key: 3 }, [
672
- N.value.show && ["both", "right"].includes(N.value.sides) ? (y(), p("line", {
673
- key: 0,
674
- x1: J.value.right,
675
- x2: J.value.right - 5,
676
- y1: e.halfY,
677
- y2: e.halfY,
678
- "stroke-width": N.value.strokeWidth / 2,
679
- stroke: N.value.stroke,
680
- "stroke-linecap": "round"
681
- }, null, 8, Ze)) : f("", !0),
682
- N.value.show && ["both", "right"].includes(N.value.sides) ? (y(), p("line", {
683
- key: 1,
684
- x1: J.value.right,
685
- x2: J.value.right - 2.5,
686
- y1: e.qYLess,
687
- y2: e.qYLess,
688
- "stroke-width": N.value.strokeWidth / 2,
689
- stroke: N.value.stroke,
690
- "stroke-linecap": "round"
691
- }, null, 8, Qe)) : f("", !0),
692
- N.value.show && ["both", "right"].includes(N.value.sides) ? (y(), p("line", {
693
- key: 2,
694
- x1: J.value.right,
695
- x2: J.value.right - 2.5,
696
- y1: e.qYMore,
697
- y2: e.qYMore,
698
- "stroke-width": N.value.strokeWidth / 2,
699
- stroke: N.value.stroke,
700
- "stroke-linecap": "round"
701
- }, null, 8, $e)) : f("", !0)
702
- ], 64)) : f("", !0)
703
- ]))), 128)),
704
- m("rect", {
705
- class: _({ "vue-ui-thermometer-temperature": P.value.animation.use }),
706
- x: J.value.left,
707
- y: J.value.top,
708
- height: Y.value,
709
- width: J.value.thermoWidth,
710
- fill: "#FFFFFF66"
711
- }, null, 10, et)
712
- ], 8, Ue),
713
- P.value.label.show ? (y(), p("g", {
714
- key: 1,
715
- role: "status",
716
- "aria-live": "polite",
717
- "aria-label": C(L) ? "Loading data" : $.value
718
- }, [C(L) ? (y(), p("rect", {
719
- key: 0,
720
- x: J.value.left - 60,
721
- y: Y.value + J.value.top - Q.value / 2,
722
- width: 50,
723
- height: Q.value,
724
- fill: "#6A6A6A40",
725
- rx: "3"
726
- }, null, 8, nt)) : (y(), p("text", {
727
- key: 1,
728
- "aria-hidden": "true",
729
- class: _({
730
- "vue-ui-thermometer-temperature-value": P.value.animation.use,
731
- "vue-ui-thermometer-label": !0
732
- }),
733
- y: Y.value + J.value.top + Q.value / 3,
734
- x: J.value.left - 10,
735
- "text-anchor": "end",
736
- fill: P.value.label.color,
737
- "font-size": Q.value,
738
- "font-weight": P.value.label.bold ? "bold" : "normal"
739
- }, S($.value), 11, rt))], 8, tt)) : f("", !0),
740
- x(e.$slots, "svg", { svg: {
741
- ...kt.value,
742
- isPrintingImg: C(H) || C(U) || C(Vt),
743
- isPrintingSvg: C(Ht)
744
- } }, void 0, !0)
745
- ], 10, Le)),
746
- e.$slots.watermark ? (y(), p("div", it, [x(e.$slots, "watermark", v(g({ isPrinting: C(H) || C(U) || C(Vt) || C(Ht) })), void 0, !0)])) : f("", !0),
747
- e.$slots.source ? (y(), p("div", {
748
- key: 5,
749
- ref_key: "source",
750
- ref: ht,
751
- dir: "auto"
752
- }, [x(e.$slots, "source", {}, void 0, !0)], 512)) : f("", !0),
753
- x(e.$slots, "skeleton", {}, () => [C(L) ? (y(), d(fe, { key: 0 })) : f("", !0)], !0)
754
- ], 46, Fe));
755
- }
756
- }, [["__scopeId", "data-v-d16e0f9d"]]);
757
- //#endregion
758
- export { Pe as n, T as t };