vue-data-ui 3.17.13 → 3.18.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 (493) hide show
  1. package/README.md +1 -1
  2. package/dist/A11yDataTable-q2-8fSlJ.js +45 -0
  3. package/dist/Arrow-BU2Z7mfz.js +116 -0
  4. package/dist/BaseDraggableDialog-LE75fWYz.js +272 -0
  5. package/dist/BaseIcon-CL6Y7alf.js +499 -0
  6. package/dist/BaseLegendToggle-BvPOFMVZ.js +56 -0
  7. package/dist/BaseScanner-C7dmAref.js +27 -0
  8. package/dist/BaseZoomControls-DSwf4HhS.js +111 -0
  9. package/dist/ColorPicker-BGbMrtup.js +255 -0
  10. package/dist/DataTable-ZG4GX2Zg.js +150 -0
  11. package/dist/Legend-BPb8i4aC.js +114 -0
  12. package/dist/NonSvgPenAndPaper-BT3YMjgo.js +577 -0
  13. package/dist/PackageVersion-B1cPtZ3Q.js +11 -0
  14. package/dist/PenAndPaper-DxBCVZAx.js +461 -0
  15. package/dist/RecursiveCircles-DPpLel6f.js +117 -0
  16. package/dist/RecursiveLabels-DBMJf_to.js +56 -0
  17. package/dist/RecursiveLinks-D06dBL4a.js +78 -0
  18. package/dist/Shape-Dbug7CtK.js +141 -0
  19. package/dist/Slicer-SEdaKYPX.js +1144 -0
  20. package/dist/SlicerPreview-BLlQTUI_.js +1523 -0
  21. package/dist/SparkTooltip-BaONR2nq.js +93 -0
  22. package/dist/Title-ByyzJzpc.js +87 -0
  23. package/dist/Tooltip-V6Z0Ko-1.js +307 -0
  24. package/dist/UserOptions-Gaw1761w.js +1407 -0
  25. package/dist/_plugin-vue_export-helper-Dq1MygBL.js +8 -0
  26. package/dist/canvas-lib-DTaADQOK.js +79 -0
  27. package/dist/components/arrow.js +2 -5
  28. package/dist/components/vue-ui-3d-bar.js +2 -5
  29. package/dist/components/vue-ui-accordion.js +2 -5
  30. package/dist/components/vue-ui-age-pyramid.js +2 -5
  31. package/dist/components/vue-ui-annotator.js +2 -5
  32. package/dist/components/vue-ui-bullet.js +2 -5
  33. package/dist/components/vue-ui-bump.js +2 -5
  34. package/dist/components/vue-ui-candlestick.js +2 -5
  35. package/dist/components/vue-ui-carousel-table.js +2 -5
  36. package/dist/components/vue-ui-chestnut.js +2 -5
  37. package/dist/components/vue-ui-chord.js +2 -5
  38. package/dist/components/vue-ui-circle-pack.js +2 -5
  39. package/dist/components/vue-ui-cursor.js +2 -5
  40. package/dist/components/vue-ui-dag.js +2 -5
  41. package/dist/components/vue-ui-dashboard.js +2 -5
  42. package/dist/components/vue-ui-digits.js +2 -5
  43. package/dist/components/vue-ui-donut-evolution.js +2 -5
  44. package/dist/components/vue-ui-donut.js +2 -5
  45. package/dist/components/vue-ui-dumbbell.js +2 -5
  46. package/dist/components/vue-ui-flow.js +2 -5
  47. package/dist/components/vue-ui-funnel.js +2 -5
  48. package/dist/components/vue-ui-galaxy.js +2 -5
  49. package/dist/components/vue-ui-gauge.js +2 -5
  50. package/dist/components/vue-ui-geo.js +2 -5
  51. package/dist/components/vue-ui-gizmo.js +2 -5
  52. package/dist/components/vue-ui-heatmap.js +2 -5
  53. package/dist/components/vue-ui-history-plot.js +2 -5
  54. package/dist/components/vue-ui-horizontal-bar.js +2 -5
  55. package/dist/components/vue-ui-icon.js +2 -5
  56. package/dist/components/vue-ui-kpi.js +2 -5
  57. package/dist/components/vue-ui-mini-loader.js +2 -5
  58. package/dist/components/vue-ui-molecule.js +2 -5
  59. package/dist/components/vue-ui-mood-radar.js +2 -5
  60. package/dist/components/vue-ui-nested-donuts.js +2 -5
  61. package/dist/components/vue-ui-onion.js +2 -5
  62. package/dist/components/vue-ui-parallel-coordinate-plot.js +2 -5
  63. package/dist/components/vue-ui-pattern-seed.js +2 -5
  64. package/dist/components/vue-ui-pattern.js +2 -5
  65. package/dist/components/vue-ui-quadrant.js +2 -5
  66. package/dist/components/vue-ui-quick-chart.js +2 -5
  67. package/dist/components/vue-ui-radar.js +2 -5
  68. package/dist/components/vue-ui-rating.js +2 -5
  69. package/dist/components/vue-ui-relation-circle.js +2 -5
  70. package/dist/components/vue-ui-ridgeline.js +2 -5
  71. package/dist/components/vue-ui-rings.js +2 -5
  72. package/dist/components/vue-ui-scatter.js +2 -5
  73. package/dist/components/vue-ui-skeleton.js +2 -5
  74. package/dist/components/vue-ui-smiley.js +2 -5
  75. package/dist/components/vue-ui-spark-trend.js +2 -5
  76. package/dist/components/vue-ui-sparkbar.js +2 -5
  77. package/dist/components/vue-ui-sparkgauge.js +2 -5
  78. package/dist/components/vue-ui-sparkhistogram.js +2 -5
  79. package/dist/components/vue-ui-sparkline.js +2 -5
  80. package/dist/components/vue-ui-sparkstackbar.js +2 -5
  81. package/dist/components/vue-ui-stackbar.js +2 -5
  82. package/dist/components/vue-ui-stackline.js +2 -5
  83. package/dist/components/vue-ui-strip-plot.js +2 -5
  84. package/dist/components/vue-ui-table-heatmap.js +2 -5
  85. package/dist/components/vue-ui-table-sparkline.js +2 -5
  86. package/dist/components/vue-ui-table.js +2 -5
  87. package/dist/components/vue-ui-thermometer.js +2 -5
  88. package/dist/components/vue-ui-timer.js +2 -5
  89. package/dist/components/vue-ui-tiremarks.js +2 -5
  90. package/dist/components/vue-ui-treemap.js +2 -5
  91. package/dist/components/vue-ui-vertical-bar.js +2 -5
  92. package/dist/components/vue-ui-waffle.js +2 -5
  93. package/dist/components/vue-ui-wheel.js +2 -5
  94. package/dist/components/vue-ui-word-cloud.js +2 -5
  95. package/dist/components/vue-ui-world.js +2 -5
  96. package/dist/components/vue-ui-xy-canvas.js +2 -5
  97. package/dist/components/vue-ui-xy.js +2 -5
  98. package/dist/dom-to-png-C9UOX1d2.js +237 -0
  99. package/dist/exposedLib-BQjH823l.js +19 -0
  100. package/dist/geoProjections-CQIkC70z.js +146 -0
  101. package/dist/img-NMY-_LiJ.js +74 -0
  102. package/dist/labelUtils-BiSegLOT.js +19 -0
  103. package/dist/lib-B83ZCydz.js +1879 -0
  104. package/dist/patternUtils-B7BWu5bV.js +258 -0
  105. package/dist/pdf-Ey2KFETK.js +90 -0
  106. package/dist/rolldown-runtime-CAFD8bLK.js +11 -0
  107. package/dist/style.css +2 -1
  108. package/dist/types/arrow.d.ts +1 -1
  109. package/dist/types/utils.d.ts +23 -0
  110. package/dist/types/vue-data-ui.d.ts +4766 -630
  111. package/dist/types/vue-ui-3d-bar.d.ts +64 -9
  112. package/dist/types/vue-ui-accordion.d.ts +4 -3
  113. package/dist/types/vue-ui-age-pyramid.d.ts +79 -9
  114. package/dist/types/vue-ui-annotator.d.ts +3 -5
  115. package/dist/types/vue-ui-bullet.d.ts +60 -9
  116. package/dist/types/vue-ui-bump.d.ts +65 -9
  117. package/dist/types/vue-ui-candlestick.d.ts +83 -9
  118. package/dist/types/vue-ui-carousel-table.d.ts +36 -6
  119. package/dist/types/vue-ui-chestnut.d.ts +66 -9
  120. package/dist/types/vue-ui-chord.d.ts +78 -9
  121. package/dist/types/vue-ui-circle-pack.d.ts +86 -9
  122. package/dist/types/vue-ui-cursor.d.ts +4 -2
  123. package/dist/types/vue-ui-dag.d.ts +92 -9
  124. package/dist/types/vue-ui-dashboard.d.ts +43 -6
  125. package/dist/types/vue-ui-digits.d.ts +4 -2
  126. package/dist/types/vue-ui-donut-evolution.d.ts +70 -9
  127. package/dist/types/vue-ui-donut.d.ts +92 -9
  128. package/dist/types/vue-ui-dumbbell.d.ts +65 -9
  129. package/dist/types/vue-ui-flow.d.ts +79 -9
  130. package/dist/types/vue-ui-funnel.d.ts +55 -9
  131. package/dist/types/vue-ui-galaxy.d.ts +83 -9
  132. package/dist/types/vue-ui-gauge.d.ts +64 -9
  133. package/dist/types/vue-ui-geo.d.ts +71 -9
  134. package/dist/types/vue-ui-gizmo.d.ts +17 -6
  135. package/dist/types/vue-ui-heatmap.d.ts +73 -9
  136. package/dist/types/vue-ui-history-plot.d.ts +82 -9
  137. package/dist/types/vue-ui-horizontal-bar.d.ts +84 -9
  138. package/dist/types/vue-ui-icon.d.ts +2 -2
  139. package/dist/types/vue-ui-kpi.d.ts +21 -7
  140. package/dist/types/vue-ui-mini-loader.d.ts +5 -3
  141. package/dist/types/vue-ui-molecule.d.ts +86 -9
  142. package/dist/types/vue-ui-mood-radar.d.ts +66 -9
  143. package/dist/types/vue-ui-nested-donuts.d.ts +80 -9
  144. package/dist/types/vue-ui-onion.d.ts +77 -9
  145. package/dist/types/vue-ui-parallel-coordinate-plot.d.ts +92 -9
  146. package/dist/types/vue-ui-pattern-seed.d.ts +1 -1
  147. package/dist/types/vue-ui-pattern.d.ts +2 -2
  148. package/dist/types/vue-ui-quadrant.d.ts +86 -9
  149. package/dist/types/vue-ui-quick-chart.d.ts +79 -9
  150. package/dist/types/vue-ui-radar.d.ts +83 -9
  151. package/dist/types/vue-ui-rating.d.ts +22 -6
  152. package/dist/types/vue-ui-relation-circle.d.ts +66 -9
  153. package/dist/types/vue-ui-ridgeline.d.ts +69 -9
  154. package/dist/types/vue-ui-rings.d.ts +70 -9
  155. package/dist/types/vue-ui-scatter.d.ts +67 -9
  156. package/dist/types/vue-ui-skeleton.d.ts +3 -2
  157. package/dist/types/vue-ui-smiley.d.ts +3 -2
  158. package/dist/types/vue-ui-spark-trend.d.ts +14 -6
  159. package/dist/types/vue-ui-sparkbar.d.ts +27 -6
  160. package/dist/types/vue-ui-sparkgauge.d.ts +20 -6
  161. package/dist/types/vue-ui-sparkhistogram.d.ts +24 -6
  162. package/dist/types/vue-ui-sparkline.d.ts +35 -6
  163. package/dist/types/vue-ui-sparkstackbar.d.ts +35 -6
  164. package/dist/types/vue-ui-stackbar.d.ts +85 -9
  165. package/dist/types/vue-ui-stackline.d.ts +81 -9
  166. package/dist/types/vue-ui-strip-plot.d.ts +66 -9
  167. package/dist/types/vue-ui-table-heatmap.d.ts +52 -6
  168. package/dist/types/vue-ui-table-sparkline.d.ts +30 -6
  169. package/dist/types/vue-ui-table.d.ts +10 -2
  170. package/dist/types/vue-ui-thermometer.d.ts +46 -9
  171. package/dist/types/vue-ui-timer.d.ts +31 -5
  172. package/dist/types/vue-ui-tiremarks.d.ts +46 -9
  173. package/dist/types/vue-ui-treemap.d.ts +73 -9
  174. package/dist/types/vue-ui-vertical-bar.d.ts +2 -2
  175. package/dist/types/vue-ui-waffle.d.ts +72 -9
  176. package/dist/types/vue-ui-wheel.d.ts +46 -9
  177. package/dist/types/vue-ui-word-cloud.d.ts +73 -9
  178. package/dist/types/vue-ui-world.d.ts +68 -9
  179. package/dist/types/vue-ui-xy-canvas.d.ts +75 -9
  180. package/dist/types/vue-ui-xy.d.ts +108 -10
  181. package/dist/useAutoSizeLabelsInsideViewbox-De0rTecW.js +50 -0
  182. package/dist/useChartAccessibility-Do37qcw2.js +12 -0
  183. package/dist/useConfig-KnOLHtlJ.js +7419 -0
  184. package/dist/useFitSvgText-C-MEdAfe.js +63 -0
  185. package/dist/useNestedProp-CcxL1gUU.js +10 -0
  186. package/dist/useObjectBindings-Dc8Rf6Qy.js +189 -0
  187. package/dist/usePanZoom-B-4M_gmY.js +157 -0
  188. package/dist/usePrefersMotion-BywLbIko.js +15 -0
  189. package/dist/usePrinter-CMLF900n.js +49 -0
  190. package/dist/useResponsive-CrAInupd.js +19 -0
  191. package/dist/useStableElementSize-0I1IpHPl.js +77 -0
  192. package/dist/useSvgExport-Dtu973wa.js +755 -0
  193. package/dist/useTableResponsive-DrM1xqII.js +24 -0
  194. package/dist/useThemeCheck-rFK9Zlb_.js +24 -0
  195. package/dist/useTimeLabelCollider-Dm55Emzg.js +57 -0
  196. package/dist/useTimeLabels-C0x7zUXP.js +272 -0
  197. package/dist/useUserOptionState-CjPJPTg2.js +15 -0
  198. package/dist/utils.js +27 -44
  199. package/dist/vClickOutside-CbX_bC9A.js +13 -0
  200. package/dist/vue-data-ui-D1REqS_k.js +274 -0
  201. package/dist/vue-data-ui.js +76 -167
  202. package/dist/vue-ui-3d-bar-vO_kSCd6.js +1747 -0
  203. package/dist/vue-ui-accordion-Cf-jZELj.js +81 -0
  204. package/dist/vue-ui-age-pyramid-DHXhrP_3.js +1226 -0
  205. package/dist/vue-ui-annotator-B0o6czmF.js +2899 -0
  206. package/dist/vue-ui-bullet-C93-cf0H.js +700 -0
  207. package/dist/vue-ui-bump-C_Szk9AZ.js +1239 -0
  208. package/dist/vue-ui-candlestick-6JdMEJKO.js +1802 -0
  209. package/dist/vue-ui-carousel-table-CZ_HK0Iw.js +445 -0
  210. package/dist/vue-ui-chestnut-B8ixU585.js +2000 -0
  211. package/dist/vue-ui-chord-DC5sLapz.js +1381 -0
  212. package/dist/vue-ui-circle-pack-CsmSEwt3.js +1183 -0
  213. package/dist/vue-ui-cursor-B-QODIL3.js +283 -0
  214. package/dist/vue-ui-dag-C9LYfjS_.js +2899 -0
  215. package/dist/vue-ui-dashboard-D-f4ZaLi.js +503 -0
  216. package/dist/vue-ui-digits-CcB3odN7.js +209 -0
  217. package/dist/vue-ui-donut-DR0ngnZC.js +2396 -0
  218. package/dist/vue-ui-donut-evolution-BXpOscCe.js +1490 -0
  219. package/dist/vue-ui-dumbbell-CB_clJWA.js +1517 -0
  220. package/dist/vue-ui-flow-CUiOAEy1.js +1223 -0
  221. package/dist/vue-ui-funnel-BAlGDK0o.js +767 -0
  222. package/dist/vue-ui-galaxy-DbYNfSHb.js +1062 -0
  223. package/dist/vue-ui-gauge-Cie7jykM.js +910 -0
  224. package/dist/vue-ui-geo-Ce_gBRye.js +1504 -0
  225. package/dist/vue-ui-gizmo-B9POi_SN.js +225 -0
  226. package/dist/vue-ui-heatmap-DFfRSbnk.js +1556 -0
  227. package/dist/vue-ui-history-plot-DHp5WFgx.js +1551 -0
  228. package/dist/vue-ui-horizontal-bar-DI4yoARv.js +1669 -0
  229. package/dist/vue-ui-kpi-oUfso4UP.js +96 -0
  230. package/dist/vue-ui-mini-loader-aZMi1_uX.js +125 -0
  231. package/dist/vue-ui-molecule-D72kzel_.js +912 -0
  232. package/dist/vue-ui-mood-radar-Tw2ZFP7Y.js +1138 -0
  233. package/dist/vue-ui-nested-donuts-Bza1LczX.js +1472 -0
  234. package/dist/vue-ui-onion-BOuuib5d.js +1188 -0
  235. package/dist/vue-ui-parallel-coordinate-plot-BuQUq6-o.js +1413 -0
  236. package/dist/vue-ui-pattern-Bj-IPFr2.js +154 -0
  237. package/dist/vue-ui-pattern-seed-abRweCDE.js +61 -0
  238. package/dist/vue-ui-quadrant-zNFIXNt9.js +1966 -0
  239. package/dist/vue-ui-quick-chart-B1a8QVUn.js +2459 -0
  240. package/dist/vue-ui-radar-VFn-YP_2.js +1214 -0
  241. package/dist/vue-ui-rating-Dxgn21FA.js +343 -0
  242. package/dist/vue-ui-relation-circle-B0sZaCgX.js +914 -0
  243. package/dist/vue-ui-ridgeline-BsBAbg5V.js +1612 -0
  244. package/dist/vue-ui-rings-CDwUzMF-.js +1231 -0
  245. package/dist/vue-ui-scatter-Du_b-zM8.js +2380 -0
  246. package/dist/vue-ui-skeleton-BAq6J_6G.js +2556 -0
  247. package/dist/vue-ui-smiley-CoHvkS0c.js +356 -0
  248. package/dist/vue-ui-spark-trend-BmCcJ17C.js +438 -0
  249. package/dist/vue-ui-sparkbar-9z05IMx8.js +393 -0
  250. package/dist/vue-ui-sparkgauge-BlWri9DP.js +255 -0
  251. package/dist/vue-ui-sparkhistogram-CHZTt8d8.js +560 -0
  252. package/dist/vue-ui-sparkline-DirLW9Nd.js +1503 -0
  253. package/dist/vue-ui-sparkstackbar-Dk6cEI2o.js +660 -0
  254. package/dist/vue-ui-stackbar-DNIrGHkt.js +2235 -0
  255. package/dist/vue-ui-stackline-HoWn_ur2.js +2362 -0
  256. package/dist/vue-ui-strip-plot-Bi8u_fLr.js +1328 -0
  257. package/dist/vue-ui-table-XLjOOfdI.js +1338 -0
  258. package/dist/vue-ui-table-heatmap-DvnFiveI.js +334 -0
  259. package/dist/vue-ui-table-sparkline-CSZf8XxP.js +697 -0
  260. package/dist/vue-ui-thermometer-7eUO_7CP.js +753 -0
  261. package/dist/vue-ui-timer-DCbxsREb.js +439 -0
  262. package/dist/vue-ui-tiremarks-p_sfTufv.js +542 -0
  263. package/dist/vue-ui-treemap-BdZOW7TM.js +1575 -0
  264. package/dist/vue-ui-waffle-Bf9dWWCM.js +1350 -0
  265. package/dist/vue-ui-wheel-CZrIiB0K.js +875 -0
  266. package/dist/vue-ui-word-cloud-BeLjxoRe.js +1644 -0
  267. package/dist/vue-ui-world-D9ahzEQ2.js +14252 -0
  268. package/dist/vue-ui-xy-DrvbVuHO.js +4063 -0
  269. package/dist/vue-ui-xy-canvas-DU7vFrQr.js +1774 -0
  270. package/dist/vue_ui_3d_bar-CXKqO5Ej.js +185 -0
  271. package/dist/vue_ui_age_pyramid-BON8QI6X.js +301 -0
  272. package/dist/vue_ui_bullet-CE5sFT7u.js +186 -0
  273. package/dist/vue_ui_bump-frnXaXul.js +201 -0
  274. package/dist/vue_ui_candlestick-sY6UtOop.js +374 -0
  275. package/dist/vue_ui_chestnut-BiUZFv40.js +305 -0
  276. package/dist/vue_ui_chord-DpyR_b9A.js +275 -0
  277. package/dist/vue_ui_circle_pack-DBKz_Fi_.js +130 -0
  278. package/dist/vue_ui_dag-Ci_MOnvd.js +258 -0
  279. package/dist/vue_ui_donut-Cx2_BGcQ.js +358 -0
  280. package/dist/vue_ui_donut_evolution-CAJefrHs.js +717 -0
  281. package/dist/vue_ui_dumbbell-CClzAZTN.js +304 -0
  282. package/dist/vue_ui_flow-CCHO1Lo9.js +238 -0
  283. package/dist/vue_ui_funnel-h8q2mRpC.js +234 -0
  284. package/dist/vue_ui_galaxy-70vtkEBw.js +265 -0
  285. package/dist/vue_ui_gauge-C17CgfzN.js +178 -0
  286. package/dist/vue_ui_geo-C0UbQ0Lc.js +248 -0
  287. package/dist/vue_ui_heatmap-BqPP3J4M.js +319 -0
  288. package/dist/vue_ui_history_plot-C5nytDHh.js +413 -0
  289. package/dist/vue_ui_horizontal_bar-Bqxorkc_.js +341 -0
  290. package/dist/vue_ui_molecule-Dka4JBOp.js +231 -0
  291. package/dist/vue_ui_mood_radar-Dg4ijm53.js +281 -0
  292. package/dist/vue_ui_nested_donuts-BY9cOoHF.js +273 -0
  293. package/dist/vue_ui_onion-DTV9cup-.js +293 -0
  294. package/dist/vue_ui_parallel_coordinate_plot-CNWrDh96.js +278 -0
  295. package/dist/vue_ui_quadrant-3kjYvxpj.js +428 -0
  296. package/dist/vue_ui_quick_chart--VaYQuM4.js +139 -0
  297. package/dist/vue_ui_radar-Dxx9GJmj.js +306 -0
  298. package/dist/vue_ui_relation_circle-Cr0I2SoU.js +98 -0
  299. package/dist/vue_ui_ridgeline-CAtYca4b.js +767 -0
  300. package/dist/vue_ui_rings-DXC1VeX5.js +320 -0
  301. package/dist/vue_ui_scatter-D2S2j0ap.js +479 -0
  302. package/dist/vue_ui_spark_trend-BHMQ6_1p.js +82 -0
  303. package/dist/vue_ui_sparkbar-BR6hbuDE.js +64 -0
  304. package/dist/vue_ui_sparkgauge-xfPRHnMv.js +90 -0
  305. package/dist/vue_ui_sparkhistogram-CJRENZ1C.js +123 -0
  306. package/dist/vue_ui_sparkline-wgk7yO7E.js +151 -0
  307. package/dist/vue_ui_sparkstackbar-C5qZMmAl.js +175 -0
  308. package/dist/vue_ui_stackbar-BW_C3MXw.js +412 -0
  309. package/dist/vue_ui_stackline-DpI2LnjO.js +426 -0
  310. package/dist/vue_ui_strip_plot-8ZelqC5b.js +301 -0
  311. package/dist/vue_ui_table_heatmap-BGUjA0WA.js +80 -0
  312. package/dist/vue_ui_table_sparkline-i0Q-N_we.js +124 -0
  313. package/dist/vue_ui_thermometer-CuN7Gpez.js +123 -0
  314. package/dist/vue_ui_tiremarks-A6UHC0c3.js +122 -0
  315. package/dist/vue_ui_treemap-BQp06q-g.js +328 -0
  316. package/dist/vue_ui_vertical_bar-CJSD1FZS.js +247 -0
  317. package/dist/vue_ui_waffle-C_Ev4l7B.js +292 -0
  318. package/dist/vue_ui_wheel-DdkTPXJU.js +133 -0
  319. package/dist/vue_ui_word_cloud-B1PbsYPc.js +254 -0
  320. package/dist/vue_ui_xy-BYPqfYyx.js +482 -0
  321. package/dist/vue_ui_xy_canvas-CMHGNrLf.js +408 -0
  322. package/package.json +7 -7
  323. package/dist/A11yDataTable-BpmuNomI.js +0 -54
  324. package/dist/Arrow-dSvLFssU.js +0 -101
  325. package/dist/BaseDraggableDialog-Di8Hlru3.js +0 -249
  326. package/dist/BaseIcon-DX0hTWa-.js +0 -476
  327. package/dist/BaseLegendToggle-cMP8M2u0.js +0 -47
  328. package/dist/BaseScanner-C2j3TsSY.js +0 -36
  329. package/dist/BaseZoomControls-CVSC1-SU.js +0 -123
  330. package/dist/ColorPicker-bAxGcXK0.js +0 -271
  331. package/dist/DataTable-cMnb68Ik.js +0 -145
  332. package/dist/Legend-DGN5lY60.js +0 -104
  333. package/dist/NonSvgPenAndPaper-B6E0zEYe.js +0 -573
  334. package/dist/PackageVersion-BfrCAH6_.js +0 -10
  335. package/dist/PenAndPaper-CJDoB5H9.js +0 -527
  336. package/dist/RecursiveCircles-BE6GoMmo.js +0 -101
  337. package/dist/RecursiveLabels-BhQMS9Sm.js +0 -55
  338. package/dist/RecursiveLinks-BDwyYfP-.js +0 -83
  339. package/dist/Shape-CxJ5_Rre.js +0 -116
  340. package/dist/Slicer-D7UcO8sN.js +0 -1145
  341. package/dist/SlicerPreview-D_CgrN_7.js +0 -1580
  342. package/dist/SparkTooltip-D4bM-kfz.js +0 -68
  343. package/dist/Title-BbKoiBk2.js +0 -88
  344. package/dist/Tooltip-Cvt7Fi0Q.js +0 -299
  345. package/dist/UserOptions-DVduN6X7.js +0 -1474
  346. package/dist/_plugin-vue_export-helper-CHgC5LLL.js +0 -9
  347. package/dist/dom-to-png-DGvx6i5V.js +0 -262
  348. package/dist/exposedLib-sJvY1pST.js +0 -22
  349. package/dist/geoProjections-BFq2sOBY.js +0 -162
  350. package/dist/img-CjTQXS0U.js +0 -57
  351. package/dist/labelUtils-DX9oyq3C.js +0 -26
  352. package/dist/lib-DMzrGQHK.js +0 -2477
  353. package/dist/patternUtils-BINhU4Ky.js +0 -615
  354. package/dist/pdf-C4H4o1Cj.js +0 -88
  355. package/dist/useAutoSizeLabelsInsideViewbox-izlGDfwu.js +0 -55
  356. package/dist/useChartAccessibility-cp6XQtqi.js +0 -15
  357. package/dist/useConfig-CG4HT3wS.js +0 -7901
  358. package/dist/useFitSvgText-2crs6Fv5.js +0 -69
  359. package/dist/useNestedProp-DH0BEVVS.js +0 -13
  360. package/dist/useObjectBindings-Dixg-RIe.js +0 -228
  361. package/dist/usePanZoom-BbDhcKWf.js +0 -141
  362. package/dist/usePrefersMotion-Co0nj1eS.js +0 -17
  363. package/dist/usePrinter-C4t8DdQ-.js +0 -51
  364. package/dist/useResponsive-DfdjqQps.js +0 -195
  365. package/dist/useStableElementSize-C48ZVcZQ.js +0 -77
  366. package/dist/useSvgExport-BTG4hVPO.js +0 -870
  367. package/dist/useTableResponsive-BpfiEtzR.js +0 -26
  368. package/dist/useThemeCheck-C9Ccl7U9.js +0 -36
  369. package/dist/useTimeLabelCollider-D3JeJ6Ye.js +0 -86
  370. package/dist/useTimeLabels-Cv0tD9In.js +0 -307
  371. package/dist/useUserOptionState-B7Ej974k.js +0 -19
  372. package/dist/vClickOutside-C6WiFswA.js +0 -13
  373. package/dist/vue-data-ui-D1ZI7Y4l.js +0 -433
  374. package/dist/vue-ui-3d-bar-DEjKYzI5.js +0 -1824
  375. package/dist/vue-ui-accordion-DFtpH_16.js +0 -92
  376. package/dist/vue-ui-age-pyramid-LiC9hTjP.js +0 -1179
  377. package/dist/vue-ui-annotator-DrKnQoHf.js +0 -2991
  378. package/dist/vue-ui-bullet-DdxEINdq.js +0 -769
  379. package/dist/vue-ui-bump-CdgO1V7z.js +0 -1250
  380. package/dist/vue-ui-candlestick-DxJnPwto.js +0 -1775
  381. package/dist/vue-ui-carousel-table-CMefu5TI.js +0 -487
  382. package/dist/vue-ui-chestnut-BnGN72PO.js +0 -2001
  383. package/dist/vue-ui-chord-DWyar45U.js +0 -1457
  384. package/dist/vue-ui-circle-pack-CQ8vF2XH.js +0 -1076
  385. package/dist/vue-ui-cursor-HHOdkmyB.js +0 -260
  386. package/dist/vue-ui-dag-BDWPBElq.js +0 -3209
  387. package/dist/vue-ui-dashboard-Dg_I3X2a.js +0 -627
  388. package/dist/vue-ui-digits-CZmdir8V.js +0 -211
  389. package/dist/vue-ui-donut-BKegKHxj.js +0 -2608
  390. package/dist/vue-ui-donut-evolution-047dE4Lu.js +0 -1578
  391. package/dist/vue-ui-dumbbell-BL4ZMChj.js +0 -1552
  392. package/dist/vue-ui-flow-BAqtyunQ.js +0 -1279
  393. package/dist/vue-ui-funnel-Pl2sEOZs.js +0 -823
  394. package/dist/vue-ui-galaxy-CBF5Wsax.js +0 -1108
  395. package/dist/vue-ui-gauge-COV_S0Vp.js +0 -955
  396. package/dist/vue-ui-geo-CaPXElPf.js +0 -1510
  397. package/dist/vue-ui-gizmo-Csn7up96.js +0 -238
  398. package/dist/vue-ui-heatmap-Cpb0BYLa.js +0 -1694
  399. package/dist/vue-ui-history-plot-ZZEdzFCE.js +0 -1564
  400. package/dist/vue-ui-horizontal-bar-BonPYUZf.js +0 -1735
  401. package/dist/vue-ui-kpi-DoHhSsDK.js +0 -130
  402. package/dist/vue-ui-mini-loader-DOTBVCLE.js +0 -138
  403. package/dist/vue-ui-molecule-mVYnXouV.js +0 -945
  404. package/dist/vue-ui-mood-radar-DPvwnc3z.js +0 -1197
  405. package/dist/vue-ui-nested-donuts-C7E6TXrZ.js +0 -1702
  406. package/dist/vue-ui-onion-BGIlFhGB.js +0 -1207
  407. package/dist/vue-ui-parallel-coordinate-plot-C6G_A9ua.js +0 -1432
  408. package/dist/vue-ui-pattern-mXZW_pvA.js +0 -146
  409. package/dist/vue-ui-pattern-seed-BcNlxb2i.js +0 -36
  410. package/dist/vue-ui-quadrant-CVpIeYOB.js +0 -1918
  411. package/dist/vue-ui-quick-chart-CcV8qn9-.js +0 -2514
  412. package/dist/vue-ui-radar-G4AV1rBo.js +0 -1259
  413. package/dist/vue-ui-rating-CqPlP88P.js +0 -370
  414. package/dist/vue-ui-relation-circle-CkZ8oFVV.js +0 -856
  415. package/dist/vue-ui-ridgeline-CBTyYn6Q.js +0 -1737
  416. package/dist/vue-ui-rings-CSIOqFiP.js +0 -1256
  417. package/dist/vue-ui-scatter-AuC46ufT.js +0 -2345
  418. package/dist/vue-ui-skeleton-YD6rZjY_.js +0 -2475
  419. package/dist/vue-ui-smiley-CY0WFv2j.js +0 -391
  420. package/dist/vue-ui-spark-trend-D8KGIt-R.js +0 -423
  421. package/dist/vue-ui-sparkbar-BjWGJjzN.js +0 -424
  422. package/dist/vue-ui-sparkgauge-Dab5mss7.js +0 -285
  423. package/dist/vue-ui-sparkhistogram-D0rsmiPh.js +0 -559
  424. package/dist/vue-ui-sparkline-BCaauQuX.js +0 -1550
  425. package/dist/vue-ui-sparkstackbar-NT5yD6xA.js +0 -672
  426. package/dist/vue-ui-stackbar-ChBk_A1c.js +0 -2393
  427. package/dist/vue-ui-stackline-Cujamlze.js +0 -2490
  428. package/dist/vue-ui-strip-plot-CGBumG6I.js +0 -1293
  429. package/dist/vue-ui-table-BX2iMku4.js +0 -1726
  430. package/dist/vue-ui-table-heatmap-KXgXYVXm.js +0 -353
  431. package/dist/vue-ui-table-sparkline-C3NWnry0.js +0 -803
  432. package/dist/vue-ui-thermometer-DvdceZB1.js +0 -743
  433. package/dist/vue-ui-timer-XWAbvuAY.js +0 -504
  434. package/dist/vue-ui-tiremarks-B-YI1RlT.js +0 -578
  435. package/dist/vue-ui-treemap-AzorGfmd.js +0 -1757
  436. package/dist/vue-ui-waffle-CKtUvdTE.js +0 -1442
  437. package/dist/vue-ui-wheel-CnsLEArZ.js +0 -908
  438. package/dist/vue-ui-word-cloud-iAme2ihe.js +0 -1644
  439. package/dist/vue-ui-world-D5rrC9rw.js +0 -14452
  440. package/dist/vue-ui-xy-C_Q9chQe.js +0 -4468
  441. package/dist/vue-ui-xy-canvas-DG0299qE.js +0 -2107
  442. package/dist/vue_ui_3d_bar-CL0iX8Qi.js +0 -22
  443. package/dist/vue_ui_age_pyramid-8H8WSL7J.js +0 -22
  444. package/dist/vue_ui_bullet-Ckqieba5.js +0 -22
  445. package/dist/vue_ui_bump-CIht647H.js +0 -22
  446. package/dist/vue_ui_candlestick-BAMn-VGw.js +0 -22
  447. package/dist/vue_ui_chestnut-BloFvDuV.js +0 -22
  448. package/dist/vue_ui_chord-Bc1_ocwK.js +0 -22
  449. package/dist/vue_ui_circle_pack-CLmw8nHe.js +0 -22
  450. package/dist/vue_ui_dag-ZOwuDBZ8.js +0 -22
  451. package/dist/vue_ui_donut-CA4dgV8J.js +0 -22
  452. package/dist/vue_ui_donut_evolution-DFQU-rqE.js +0 -22
  453. package/dist/vue_ui_dumbbell-BCOHDiPk.js +0 -22
  454. package/dist/vue_ui_flow-BErINgox.js +0 -22
  455. package/dist/vue_ui_funnel-yuaMZ-yb.js +0 -22
  456. package/dist/vue_ui_galaxy-D95AN4FT.js +0 -22
  457. package/dist/vue_ui_gauge-BMEuRC4J.js +0 -22
  458. package/dist/vue_ui_geo--kg4VoVX.js +0 -22
  459. package/dist/vue_ui_heatmap-C9u993qE.js +0 -22
  460. package/dist/vue_ui_history_plot-BCKk1CrQ.js +0 -22
  461. package/dist/vue_ui_horizontal_bar-BEagrV0T.js +0 -22
  462. package/dist/vue_ui_molecule-BtvlINUh.js +0 -22
  463. package/dist/vue_ui_mood_radar-BUs6Fdn8.js +0 -22
  464. package/dist/vue_ui_nested_donuts-DvTrWT_C.js +0 -22
  465. package/dist/vue_ui_onion-CxWH9_OZ.js +0 -22
  466. package/dist/vue_ui_parallel_coordinate_plot-DH3cFJ3n.js +0 -22
  467. package/dist/vue_ui_quadrant-DjRs--Uz.js +0 -22
  468. package/dist/vue_ui_quick_chart-DMCjEjPe.js +0 -22
  469. package/dist/vue_ui_radar-DryGBOrz.js +0 -22
  470. package/dist/vue_ui_relation_circle-CCroen7h.js +0 -22
  471. package/dist/vue_ui_ridgeline-j4rVmpEp.js +0 -22
  472. package/dist/vue_ui_rings-CxOrekqA.js +0 -22
  473. package/dist/vue_ui_scatter-Bu1EAy9H.js +0 -22
  474. package/dist/vue_ui_spark_trend-3BjrSprO.js +0 -22
  475. package/dist/vue_ui_sparkbar-BsMzz5Um.js +0 -22
  476. package/dist/vue_ui_sparkgauge-KnjASOZs.js +0 -22
  477. package/dist/vue_ui_sparkhistogram-GBdzIVvS.js +0 -22
  478. package/dist/vue_ui_sparkline-CQ8DJVJx.js +0 -22
  479. package/dist/vue_ui_sparkstackbar-BSexvOuM.js +0 -22
  480. package/dist/vue_ui_stackbar-CuDC4O4b.js +0 -22
  481. package/dist/vue_ui_stackline-QTh-nuxE.js +0 -22
  482. package/dist/vue_ui_strip_plot-B9ypi_F3.js +0 -22
  483. package/dist/vue_ui_table_heatmap-CkvipPVy.js +0 -16
  484. package/dist/vue_ui_table_sparkline-yQdijcyJ.js +0 -22
  485. package/dist/vue_ui_thermometer-BTmjRBH8.js +0 -22
  486. package/dist/vue_ui_tiremarks-DBotWfi8.js +0 -22
  487. package/dist/vue_ui_treemap-D9-AIkT-.js +0 -22
  488. package/dist/vue_ui_vertical_bar-CELc39b8.js +0 -18
  489. package/dist/vue_ui_waffle-M2h-uJQ_.js +0 -22
  490. package/dist/vue_ui_wheel-LqBz3lv4.js +0 -22
  491. package/dist/vue_ui_word_cloud-mKAtBxHR.js +0 -22
  492. package/dist/vue_ui_xy-esktmpg-.js +0 -22
  493. package/dist/vue_ui_xy_canvas-6BBDSowT.js +0 -22
@@ -0,0 +1,753 @@
1
+ import { t as e } from "./rolldown-runtime-CAFD8bLK.js";
2
+ import { G as t, H as n, Lt as r, St as i, Tt as a, X as o, i as ee, jt as te, ot as ne, t as re, v as s, x as ie, y as c, zt as ae } from "./lib-B83ZCydz.js";
3
+ import { t as oe } from "./useConfig-KnOLHtlJ.js";
4
+ import { t as se } from "./usePrinter-CMLF900n.js";
5
+ import { n as ce, t as le } from "./BaseScanner-C7dmAref.js";
6
+ import { t as ue } from "./useSvgExport-Dtu973wa.js";
7
+ import { t as l } from "./useNestedProp-CcxL1gUU.js";
8
+ import { t as de } from "./useThemeCheck-rFK9Zlb_.js";
9
+ import { t as fe } from "./img-NMY-_LiJ.js";
10
+ import { n as pe } from "./Title-ByyzJzpc.js";
11
+ import { t as me } from "./_plugin-vue_export-helper-Dq1MygBL.js";
12
+ import { c as he } from "./canvas-lib-DTaADQOK.js";
13
+ import { t as ge } from "./useResponsive-CrAInupd.js";
14
+ import { t as _e } from "./useUserOptionState-CjPJPTg2.js";
15
+ import { t as ve } from "./useChartAccessibility-Do37qcw2.js";
16
+ import { t as ye } from "./useAutoSizeLabelsInsideViewbox-De0rTecW.js";
17
+ import { t as be } from "./usePrefersMotion-BywLbIko.js";
18
+ import { t as xe } from "./vue_ui_thermometer-CuN7Gpez.js";
19
+ import { Fragment as u, computed as d, createBlock as f, createCommentVNode as p, createElementBlock as m, createElementVNode as h, createSlots as Se, createVNode as Ce, defineAsyncComponent as g, guardReactiveProps as _, nextTick as we, normalizeClass as v, normalizeProps as y, normalizeStyle as Te, onMounted as Ee, openBlock as b, ref as x, renderList as De, renderSlot as S, toDisplayString as C, toRefs as Oe, unref as w, useCssVars as ke, watch as Ae, withCtx as T } from "vue";
20
+ //#region src/components/vue-ui-thermometer.vue
21
+ var je = /* @__PURE__ */ e({ default: () => E }), Me = ["id"], Ne = {
22
+ key: 1,
23
+ ref: "noTitle",
24
+ class: "vue-data-ui-no-title-space",
25
+ style: "height:36px; width: 100%;background:transparent"
26
+ }, Pe = [
27
+ "xmlns",
28
+ "viewBox",
29
+ "aria-labelledby",
30
+ "aria-describedby"
31
+ ], Fe = ["id"], Ie = ["id"], Le = ["width", "height"], Re = ["id"], ze = [
32
+ "x",
33
+ "y",
34
+ "width",
35
+ "height",
36
+ "rx",
37
+ "ry"
38
+ ], Be = ["id"], Ve = ["stop-color"], He = ["stop-color"], Ue = ["stop-color"], We = ["clip-path"], Ge = [
39
+ "x",
40
+ "y",
41
+ "height",
42
+ "width"
43
+ ], Ke = [
44
+ "x",
45
+ "y",
46
+ "height",
47
+ "width",
48
+ "fill"
49
+ ], qe = [
50
+ "x1",
51
+ "x2",
52
+ "y1",
53
+ "y2",
54
+ "stroke-width",
55
+ "stroke"
56
+ ], Je = [
57
+ "x1",
58
+ "x2",
59
+ "y1",
60
+ "y2",
61
+ "stroke-width",
62
+ "stroke"
63
+ ], Ye = [
64
+ "x1",
65
+ "x2",
66
+ "y1",
67
+ "y2",
68
+ "stroke-width",
69
+ "stroke"
70
+ ], Xe = [
71
+ "x1",
72
+ "x2",
73
+ "y1",
74
+ "y2",
75
+ "stroke-width",
76
+ "stroke"
77
+ ], Ze = [
78
+ "x1",
79
+ "x2",
80
+ "y1",
81
+ "y2",
82
+ "stroke-width",
83
+ "stroke"
84
+ ], Qe = [
85
+ "x1",
86
+ "x2",
87
+ "y1",
88
+ "y2",
89
+ "stroke-width",
90
+ "stroke"
91
+ ], $e = [
92
+ "x1",
93
+ "x2",
94
+ "y1",
95
+ "y2",
96
+ "stroke-width",
97
+ "stroke"
98
+ ], et = [
99
+ "x1",
100
+ "x2",
101
+ "y1",
102
+ "y2",
103
+ "stroke-width",
104
+ "stroke"
105
+ ], tt = [
106
+ "x",
107
+ "y",
108
+ "height",
109
+ "width"
110
+ ], nt = ["aria-label"], rt = [
111
+ "x",
112
+ "y",
113
+ "height"
114
+ ], it = [
115
+ "y",
116
+ "x",
117
+ "fill",
118
+ "font-size",
119
+ "font-weight"
120
+ ], at = {
121
+ key: 4,
122
+ class: "vue-data-ui-watermark"
123
+ }, E = /* @__PURE__ */ me({
124
+ __name: "vue-ui-thermometer",
125
+ props: {
126
+ dataset: {
127
+ type: Object,
128
+ default() {
129
+ return {};
130
+ }
131
+ },
132
+ config: {
133
+ type: Object,
134
+ default() {
135
+ return {};
136
+ }
137
+ }
138
+ },
139
+ emits: ["copyAlt"],
140
+ setup(e, { expose: me, emit: je }) {
141
+ ke((e) => ({
142
+ v7797ea65: Nt.value,
143
+ v6806eac9: Mt.value,
144
+ v5eb29df6: jt.value
145
+ }));
146
+ let E = g(() => import("./PackageVersion-B1cPtZ3Q.js").then((e) => e.t)), ot = g(() => import("./PenAndPaper-DxBCVZAx.js").then((e) => e.t)), st = g(() => import("./UserOptions-Gaw1761w.js").then((e) => e.n)), { vue_ui_thermometer: ct } = oe(), { isThemeValid: lt, warnInvalidTheme: ut } = de(), dt = be(), D = e, ft = je, O = x(n()), k = x(null), pt = x(0), mt = x(0), ht = x(null), gt = x(null), A = x(null), j = x(null), M = x(!1), N = x(!1), _t = d(() => !!D.dataset && Object.keys(D.dataset).length);
147
+ Ee(() => {
148
+ St();
149
+ });
150
+ let P = x(V()), vt = x(P.value.style.chart.thermometer.width), F = x(P.value.style.chart.height), I = x(P.value.style.chart.width), yt = d(() => P.value.userOptions.useCursorPointer), bt = d(() => ae({
151
+ defaultConfig: {
152
+ userOptions: { show: !1 },
153
+ style: { chart: {
154
+ animation: { use: !1 },
155
+ backgroundColor: "#99999930",
156
+ graduations: { stroke: "#6A6A6A" }
157
+ } }
158
+ },
159
+ userConfig: P.value.skeletonConfig ?? {}
160
+ })), { loading: L, FINAL_DATASET: R } = ce({
161
+ ...Oe(D),
162
+ FINAL_CONFIG: P,
163
+ prepareConfig: V,
164
+ skeletonDataset: D.config?.skeletonDataset ?? {
165
+ value: 0,
166
+ from: -100,
167
+ to: 100,
168
+ steps: 20,
169
+ colors: {
170
+ from: "#A1A1A1",
171
+ to: "#CACACA"
172
+ }
173
+ },
174
+ skeletonConfig: ae({
175
+ defaultConfig: P.value,
176
+ userConfig: bt.value
177
+ })
178
+ }), xt = d(() => !!P.value.debug);
179
+ function St() {
180
+ if (i(D.dataset) ? o({
181
+ componentName: "VueUiThermometer",
182
+ type: "dataset",
183
+ debug: xt.value
184
+ }) : ne({
185
+ datasetObject: D.dataset,
186
+ requiredAttributes: [
187
+ "value",
188
+ "from",
189
+ "to"
190
+ ]
191
+ }).forEach((e) => {
192
+ o({
193
+ componentName: "VueUiThermometer",
194
+ type: "datasetAttribute",
195
+ property: e,
196
+ debug: xt.value
197
+ });
198
+ }), P.value.responsive) {
199
+ let e = he(() => {
200
+ let { width: e, height: t } = ge({
201
+ chart: k.value,
202
+ title: P.value.style.title.text ? ht.value : null,
203
+ source: gt.value
204
+ });
205
+ requestAnimationFrame(() => {
206
+ F.value = Math.max(.1, t - 12), I.value = e, zt();
207
+ });
208
+ });
209
+ A.value && (j.value && A.value.unobserve(j.value), A.value.disconnect()), A.value = new ResizeObserver(e), j.value = k.value, A.value.observe(j.value);
210
+ }
211
+ zt();
212
+ }
213
+ let { userOptionsVisible: z, setUserOptionsVisibility: Ct, keepUserOptionState: wt } = _e({ config: P.value }), { svgRef: B } = ve({ config: P.value.style.title });
214
+ function V() {
215
+ let e = l({
216
+ userConfig: D.config,
217
+ defaultConfig: ct
218
+ }), t = e.theme;
219
+ if (!t) return e;
220
+ if (!lt.value(e)) return ut(e), e;
221
+ let n = l({
222
+ userConfig: xe[t] || D.config,
223
+ defaultConfig: e
224
+ }), i = l({
225
+ userConfig: D.config,
226
+ defaultConfig: n
227
+ });
228
+ return {
229
+ ...i,
230
+ customPalette: i.customPalette.length ? i.customPalette : r[t] || a
231
+ };
232
+ }
233
+ Ae(() => D.config, (e) => {
234
+ P.value = V(), z.value = !P.value.userOptions.showOnChartHover, vt.value = P.value.style.chart.thermometer.width, F.value = P.value.style.chart.height, I.value = P.value.style.chart.width, St(), mt.value += 1;
235
+ }, { deep: !0 });
236
+ let { isPrinting: H, isImaging: U, generatePdf: Tt, generateImage: Et } = se({
237
+ elementId: `thermometer__${O.value}`,
238
+ fileName: P.value.style.title.text || "vue-ui-thermometer",
239
+ options: P.value.userOptions.print
240
+ }), Dt = d(() => P.value.userOptions.show && !P.value.style.title.text), W = d(() => ie(P.value.customPalette)), G = d(() => R.value.steps || 10);
241
+ function K(e, t, n) {
242
+ let r = [], i = Ot(e), a = Ot(t);
243
+ for (let e = 0; e < n; e += 1) {
244
+ let t = q(i.red, a.red, e, n), o = q(i.green, a.green, e, n), ee = q(i.blue, a.blue, e, n), te = `#${kt(t)}${kt(o)}${kt(ee)}`;
245
+ r.push(te);
246
+ }
247
+ return r;
248
+ }
249
+ function Ot(e) {
250
+ let t = e.slice(1);
251
+ return {
252
+ red: parseInt(t.slice(0, 2), 16),
253
+ green: parseInt(t.slice(2, 4), 16),
254
+ blue: parseInt(t.slice(4, 6), 16)
255
+ };
256
+ }
257
+ function q(e, t, n, r) {
258
+ return Math.round(e + (t - e) * n / r);
259
+ }
260
+ function kt(e) {
261
+ return e.toString(16).padStart(2, "0");
262
+ }
263
+ let J = d(() => {
264
+ let e = Math.max(.1, I.value), t = Math.max(.1, F.value), n = P.value.style.chart.padding;
265
+ return {
266
+ width: e,
267
+ left: e / 2 - P.value.style.chart.thermometer.width / 2,
268
+ right: e / 2 + P.value.style.chart.thermometer.width / 2,
269
+ top: n.top,
270
+ bottom: t - n.bottom - n.top,
271
+ height: t,
272
+ thermoHeight: t - n.top - n.bottom,
273
+ thermoWidth: P.value.style.chart.thermometer.width
274
+ };
275
+ }), At = d(() => J.value), Y = d(() => {
276
+ 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;
277
+ 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;
278
+ }), jt = d(() => `${Y.value}px`), Mt = d(() => `${J.value.thermoHeight}px`), Nt = d(() => dt.value ? "0ms" : `${P.value.style.chart.animation.speedMs}ms`), Pt = d(() => {
279
+ if (R.value.colors) {
280
+ if (!R.value.colors.from) return K(W.value[0] || a[0], c(R.value.colors.to), G.value || 10);
281
+ if (!R.value.colors.to) return K(c(R.value.colors.from), W.value[1] || a[1], G.value || 10);
282
+ } else return K(W.value[1] || a[1], W.value[0] || a[0], G.value || 10);
283
+ return K(c(R.value.colors.from), c(R.value.colors.to), G.value || 10);
284
+ }), Ft = d(() => {
285
+ let e = [], t = 0, n = J.value.thermoHeight;
286
+ for (let r = 0; r < n - 1; r += n / G.value) e.push({
287
+ x: J.value.left,
288
+ y: J.value.top + r,
289
+ qYLess: J.value.top + r + n / G.value / 4,
290
+ halfY: J.value.top + r + n / G.value / 2,
291
+ qYMore: J.value.top + r + n / G.value / 4 * 3,
292
+ color: Pt.value[t],
293
+ height: Math.max(.1, n / G.value)
294
+ }), t += 1;
295
+ return e;
296
+ }), X = x(!1);
297
+ function It(e) {
298
+ X.value = e, pt.value += 1;
299
+ }
300
+ let Z = x(!1);
301
+ function Lt() {
302
+ Z.value = !Z.value;
303
+ }
304
+ async function Rt({ scale: e = 2 } = {}) {
305
+ if (!k.value) return;
306
+ let { width: t, height: n } = k.value.getBoundingClientRect(), r = t / n, { imageUri: i, base64: a } = await fe({
307
+ domElement: k.value,
308
+ base64: !0,
309
+ img: !0,
310
+ scale: e
311
+ });
312
+ return {
313
+ imageUri: i,
314
+ base64: a,
315
+ title: P.value.style.title.text,
316
+ width: t,
317
+ height: n,
318
+ aspectRatio: r
319
+ };
320
+ }
321
+ let Q = d({
322
+ get: () => P.value.style.chart.label.fontSize,
323
+ set: (e) => e
324
+ }), { autoSizeLabels: zt } = ye({
325
+ svgRef: B,
326
+ fontSize: P.value.style.chart.label.fontSize,
327
+ minFontSize: P.value.style.chart.label.minFontSize,
328
+ sizeRef: Q,
329
+ labelClass: ".vue-ui-thermometer-label"
330
+ }), Bt = d(() => P.value.style.chart.backgroundColor), { exportSvg: Vt, getSvg: Ht } = ue({
331
+ svg: B,
332
+ title: d(() => P.value.style.title),
333
+ backgroundColor: Bt
334
+ });
335
+ async function Ut({ isCb: e }) {
336
+ N.value = !0, await we();
337
+ try {
338
+ if (e) {
339
+ let { blob: e, url: t, text: n, dataUrl: r } = await Ht();
340
+ await Promise.resolve(P.value.userOptions.callbacks.svg({
341
+ blob: e,
342
+ url: t,
343
+ text: n,
344
+ dataUrl: r
345
+ }));
346
+ } else await Promise.resolve(Vt());
347
+ } finally {
348
+ N.value = !1;
349
+ }
350
+ }
351
+ function Wt(e) {
352
+ if (e?.stage === "start") {
353
+ M.value = !0;
354
+ return;
355
+ }
356
+ if (e?.stage === "end") {
357
+ M.value = !1;
358
+ return;
359
+ }
360
+ Et();
361
+ }
362
+ async function Gt() {
363
+ if (ft("copyAlt", {
364
+ config: P.value,
365
+ dataset: R.value
366
+ }), !P.value.userOptions.callbacks.altCopy) {
367
+ console.warn("Vue Data UI - A callback must be set for `altCopy` in userOptions.");
368
+ return;
369
+ }
370
+ await Promise.resolve(P.value.userOptions.callbacks.altCopy({
371
+ config: P.value,
372
+ dataset: R.value
373
+ }));
374
+ }
375
+ let Kt = d(() => `${O.value}-title`), qt = d(() => `${O.value}-desc`), $ = d(() => ee(P.value.style.chart.label.formatter, R.value.value, t({
376
+ p: P.value.style.chart.label.prefix,
377
+ v: R.value.value,
378
+ s: P.value.style.chart.label.suffix,
379
+ r: P.value.style.chart.label.rounding
380
+ }), { datapoint: R.value })), Jt = d(() => P.value.style.title.text || ""), Yt = d(() => {
381
+ if (L.value) return "...";
382
+ let e = s(R.value.from), t = s(R.value.to);
383
+ return `Thermometer value: ${$.value}. Range: ${e} to ${t}.`;
384
+ });
385
+ return me({
386
+ getImage: Rt,
387
+ generatePdf: Tt,
388
+ generateImage: Et,
389
+ generateSvg: Ut,
390
+ toggleAnnotator: Lt,
391
+ toggleFullscreen: It,
392
+ copyAlt: Gt
393
+ }), (e, t) => (b(), m("div", {
394
+ ref_key: "thermoChart",
395
+ ref: k,
396
+ class: v(`vue-data-ui-component vue-ui-thermometer ${X.value ? "vue-data-ui-wrapper-fullscreen" : ""}`),
397
+ style: Te(`width:100%;background:${P.value.style.chart.backgroundColor};color:${P.value.style.chart.color};font-family:${P.value.style.fontFamily}`),
398
+ id: `thermometer__${O.value}`,
399
+ onMouseenter: t[0] ||= () => w(Ct)(!0),
400
+ onMouseleave: t[1] ||= () => w(Ct)(!1)
401
+ }, [
402
+ P.value.userOptions.buttons.annotator ? (b(), f(w(ot), {
403
+ key: 0,
404
+ svgRef: w(B),
405
+ backgroundColor: P.value.style.chart.backgroundColor,
406
+ color: P.value.style.chart.color,
407
+ active: Z.value,
408
+ isCursorPointer: yt.value,
409
+ onClose: Lt
410
+ }, {
411
+ "annotator-action-close": T(() => [S(e.$slots, "annotator-action-close", {}, void 0, !0)]),
412
+ "annotator-action-color": T(({ color: t }) => [S(e.$slots, "annotator-action-color", y(_({ color: t })), void 0, !0)]),
413
+ "annotator-action-draw": T(({ mode: t }) => [S(e.$slots, "annotator-action-draw", y(_({ mode: t })), void 0, !0)]),
414
+ "annotator-action-undo": T(({ disabled: t }) => [S(e.$slots, "annotator-action-undo", y(_({ disabled: t })), void 0, !0)]),
415
+ "annotator-action-redo": T(({ disabled: t }) => [S(e.$slots, "annotator-action-redo", y(_({ disabled: t })), void 0, !0)]),
416
+ "annotator-action-delete": T(({ disabled: t }) => [S(e.$slots, "annotator-action-delete", y(_({ disabled: t })), void 0, !0)]),
417
+ _: 3
418
+ }, 8, [
419
+ "svgRef",
420
+ "backgroundColor",
421
+ "color",
422
+ "active",
423
+ "isCursorPointer"
424
+ ])) : p("", !0),
425
+ Dt.value ? (b(), m("div", Ne, null, 512)) : p("", !0),
426
+ P.value.style.title.text ? (b(), m("div", {
427
+ key: 2,
428
+ ref_key: "chartTitle",
429
+ ref: ht,
430
+ style: "width:100%"
431
+ }, [(b(), f(pe, {
432
+ key: `title_${mt.value}`,
433
+ config: {
434
+ title: {
435
+ cy: "thermometer-div-title",
436
+ ...P.value.style.title
437
+ },
438
+ subtitle: {
439
+ cy: "thermometer-div-subtitle",
440
+ ...P.value.style.title.subtitle
441
+ }
442
+ }
443
+ }, null, 8, ["config"]))], 512)) : p("", !0),
444
+ P.value.userOptions.show && _t.value && (w(wt) || w(z)) ? (b(), f(w(st), {
445
+ ref: "details",
446
+ key: `user_options_${pt.value}`,
447
+ backgroundColor: P.value.style.chart.backgroundColor,
448
+ color: P.value.style.chart.color,
449
+ isImaging: w(U),
450
+ isPrinting: w(H),
451
+ uid: O.value,
452
+ hasPdf: P.value.userOptions.buttons.pdf,
453
+ hasImg: P.value.userOptions.buttons.img,
454
+ hasSvg: P.value.userOptions.buttons.svg,
455
+ hasFullscreen: P.value.userOptions.buttons.fullscreen,
456
+ hasAltCopy: P.value.userOptions.buttons.altCopy,
457
+ hasXls: !1,
458
+ isFullscreen: X.value,
459
+ titles: { ...P.value.userOptions.buttonTitles },
460
+ chartElement: k.value,
461
+ position: P.value.userOptions.position,
462
+ hasAnnotator: P.value.userOptions.buttons.annotator,
463
+ isAnnotation: Z.value,
464
+ callbacks: P.value.userOptions.callbacks,
465
+ printScale: P.value.userOptions.print.scale,
466
+ isCursorPointer: yt.value,
467
+ onToggleFullscreen: It,
468
+ onGeneratePdf: w(Tt),
469
+ onGenerateImage: Wt,
470
+ onGenerateSvg: Ut,
471
+ onToggleAnnotator: Lt,
472
+ onCopyAlt: Gt,
473
+ style: Te({ visibility: w(wt) ? w(z) ? "visible" : "hidden" : "visible" })
474
+ }, Se({ _: 2 }, [
475
+ e.$slots.menuIcon ? {
476
+ name: "menuIcon",
477
+ fn: T(({ isOpen: t, color: n }) => [S(e.$slots, "menuIcon", y(_({
478
+ isOpen: t,
479
+ color: n
480
+ })), void 0, !0)]),
481
+ key: "0"
482
+ } : void 0,
483
+ e.$slots.optionPdf ? {
484
+ name: "optionPdf",
485
+ fn: T(() => [S(e.$slots, "optionPdf", {}, void 0, !0)]),
486
+ key: "1"
487
+ } : void 0,
488
+ e.$slots.optionImg ? {
489
+ name: "optionImg",
490
+ fn: T(() => [S(e.$slots, "optionImg", {}, void 0, !0)]),
491
+ key: "2"
492
+ } : void 0,
493
+ e.$slots.optionSvg ? {
494
+ name: "optionSvg",
495
+ fn: T(() => [S(e.$slots, "optionSvg", {}, void 0, !0)]),
496
+ key: "3"
497
+ } : void 0,
498
+ e.$slots.optionFullscreen ? {
499
+ name: "optionFullscreen",
500
+ fn: T(({ toggleFullscreen: t, isFullscreen: n }) => [S(e.$slots, "optionFullscreen", y(_({
501
+ toggleFullscreen: t,
502
+ isFullscreen: n
503
+ })), void 0, !0)]),
504
+ key: "4"
505
+ } : void 0,
506
+ e.$slots.optionAnnotator ? {
507
+ name: "optionAnnotator",
508
+ fn: T(({ toggleAnnotator: t, isAnnotator: n }) => [S(e.$slots, "optionAnnotator", y(_({
509
+ toggleAnnotator: t,
510
+ isAnnotator: n
511
+ })), void 0, !0)]),
512
+ key: "5"
513
+ } : void 0,
514
+ e.$slots.optionAltCopy ? {
515
+ name: "optionAltCopy",
516
+ fn: T(({ altCopy: t }) => [S(e.$slots, "optionAltCopy", y(_({ altCopy: t })), void 0, !0)]),
517
+ key: "6"
518
+ } : void 0
519
+ ]), 1032, [
520
+ "backgroundColor",
521
+ "color",
522
+ "isImaging",
523
+ "isPrinting",
524
+ "uid",
525
+ "hasPdf",
526
+ "hasImg",
527
+ "hasSvg",
528
+ "hasFullscreen",
529
+ "hasAltCopy",
530
+ "isFullscreen",
531
+ "titles",
532
+ "chartElement",
533
+ "position",
534
+ "hasAnnotator",
535
+ "isAnnotation",
536
+ "callbacks",
537
+ "printScale",
538
+ "isCursorPointer",
539
+ "onGeneratePdf",
540
+ "style"
541
+ ])) : p("", !0),
542
+ (b(), m("svg", {
543
+ ref_key: "svgRef",
544
+ ref: B,
545
+ xmlns: w(re),
546
+ class: v({
547
+ "vue-data-ui-fullscreen--on": X.value,
548
+ "vue-data-ui-fulscreen--off": !X.value
549
+ }),
550
+ width: "100%",
551
+ viewBox: `0 0 ${J.value.width} ${J.value.height}`,
552
+ style: "background:transparent",
553
+ "aria-labelledby": Kt.value,
554
+ "aria-describedby": qt.value
555
+ }, [
556
+ h("title", { id: Kt.value }, C(Jt.value), 9, Fe),
557
+ h("desc", { id: qt.value }, C(Yt.value), 9, Ie),
558
+ Ce(w(E)),
559
+ e.$slots["chart-background"] ? (b(), m("foreignObject", {
560
+ key: 0,
561
+ x: 0,
562
+ y: 0,
563
+ width: J.value.width,
564
+ height: J.value.height,
565
+ style: { pointerEvents: "none" }
566
+ }, [S(e.$slots, "chart-background", {}, void 0, !0)], 8, Le)) : p("", !0),
567
+ h("defs", null, [h("clipPath", {
568
+ id: `vueUiPill-${O.value}`,
569
+ clipPathUnits: "userSpaceOnUse"
570
+ }, [h("rect", {
571
+ x: J.value.left,
572
+ y: J.value.top,
573
+ width: J.value.thermoWidth,
574
+ height: J.value.thermoHeight,
575
+ rx: J.value.thermoWidth / 2,
576
+ ry: J.value.thermoWidth / 2
577
+ }, null, 8, ze)], 8, Re), (b(!0), m(u, null, De(Ft.value, (e, t) => (b(), m("linearGradient", {
578
+ id: `vueUiThermometerGradient_${t}_${O.value}`,
579
+ x1: "0%",
580
+ y1: "0%",
581
+ x2: "100%",
582
+ y2: "0%"
583
+ }, [
584
+ h("stop", {
585
+ offset: "0%",
586
+ "stop-color": e.color
587
+ }, null, 8, Ve),
588
+ h("stop", {
589
+ offset: "50%",
590
+ "stop-color": w(te)(e.color, 100 - P.value.style.chart.graduations.gradient.intensity)
591
+ }, null, 8, He),
592
+ h("stop", {
593
+ offset: "100%",
594
+ "stop-color": e.color
595
+ }, null, 8, Ue)
596
+ ], 8, Be))), 256))]),
597
+ h("g", { "clip-path": `url(#vueUiPill-${O.value})` }, [
598
+ h("rect", {
599
+ x: J.value.left,
600
+ y: J.value.top,
601
+ height: J.value.thermoHeight,
602
+ width: J.value.thermoWidth,
603
+ fill: "#FFFFFF"
604
+ }, null, 8, Ge),
605
+ (b(!0), m(u, null, De(Ft.value, (e, t) => (b(), m("g", { key: `graduation_${t}` }, [
606
+ h("rect", {
607
+ x: e.x,
608
+ y: e.y,
609
+ height: e.height,
610
+ width: J.value.thermoWidth,
611
+ fill: P.value.style.chart.graduations.gradient.show ? `url(#vueUiThermometerGradient_${t}_${O.value})` : e.color,
612
+ "shape-rendering": "crispEdges"
613
+ }, null, 8, Ke),
614
+ P.value.style.chart.graduations.show && ["both", "left"].includes(P.value.style.chart.graduations.sides) ? (b(), m("line", {
615
+ key: 0,
616
+ x1: e.x,
617
+ x2: e.x + 10,
618
+ y1: e.y,
619
+ y2: e.y,
620
+ "stroke-width": P.value.style.chart.graduations.strokeWidth,
621
+ stroke: P.value.style.chart.graduations.stroke,
622
+ "stroke-linecap": "round"
623
+ }, null, 8, qe)) : p("", !0),
624
+ P.value.style.chart.graduations.showIntermediate ? (b(), m(u, { key: 1 }, [
625
+ P.value.style.chart.graduations.show && ["both", "left"].includes(P.value.style.chart.graduations.sides) ? (b(), m("line", {
626
+ key: 0,
627
+ x1: e.x,
628
+ x2: e.x + 5,
629
+ y1: e.halfY,
630
+ y2: e.halfY,
631
+ "stroke-width": P.value.style.chart.graduations.strokeWidth / 2,
632
+ stroke: P.value.style.chart.graduations.stroke,
633
+ "stroke-linecap": "round"
634
+ }, null, 8, Je)) : p("", !0),
635
+ P.value.style.chart.graduations.show && ["both", "left"].includes(P.value.style.chart.graduations.sides) ? (b(), m("line", {
636
+ key: 1,
637
+ x1: e.x,
638
+ x2: e.x + 2.5,
639
+ y1: e.qYLess,
640
+ y2: e.qYLess,
641
+ "stroke-width": P.value.style.chart.graduations.strokeWidth / 2,
642
+ stroke: P.value.style.chart.graduations.stroke,
643
+ "stroke-linecap": "round"
644
+ }, null, 8, Ye)) : p("", !0),
645
+ P.value.style.chart.graduations.show && ["both", "left"].includes(P.value.style.chart.graduations.sides) ? (b(), m("line", {
646
+ key: 2,
647
+ x1: e.x,
648
+ x2: e.x + 2.5,
649
+ y1: e.qYMore,
650
+ y2: e.qYMore,
651
+ "stroke-width": P.value.style.chart.graduations.strokeWidth / 2,
652
+ stroke: P.value.style.chart.graduations.stroke,
653
+ "stroke-linecap": "round"
654
+ }, null, 8, Xe)) : p("", !0)
655
+ ], 64)) : p("", !0),
656
+ P.value.style.chart.graduations.show && ["both", "right"].includes(P.value.style.chart.graduations.sides) ? (b(), m("line", {
657
+ key: 2,
658
+ x1: J.value.right,
659
+ x2: J.value.right - 10,
660
+ y1: e.y,
661
+ y2: e.y,
662
+ "stroke-width": P.value.style.chart.graduations.strokeWidth,
663
+ stroke: P.value.style.chart.graduations.stroke,
664
+ "stroke-linecap": "round"
665
+ }, null, 8, Ze)) : p("", !0),
666
+ P.value.style.chart.graduations.showIntermediate ? (b(), m(u, { key: 3 }, [
667
+ P.value.style.chart.graduations.show && ["both", "right"].includes(P.value.style.chart.graduations.sides) ? (b(), m("line", {
668
+ key: 0,
669
+ x1: J.value.right,
670
+ x2: J.value.right - 5,
671
+ y1: e.halfY,
672
+ y2: e.halfY,
673
+ "stroke-width": P.value.style.chart.graduations.strokeWidth / 2,
674
+ stroke: P.value.style.chart.graduations.stroke,
675
+ "stroke-linecap": "round"
676
+ }, null, 8, Qe)) : p("", !0),
677
+ P.value.style.chart.graduations.show && ["both", "right"].includes(P.value.style.chart.graduations.sides) ? (b(), m("line", {
678
+ key: 1,
679
+ x1: J.value.right,
680
+ x2: J.value.right - 2.5,
681
+ y1: e.qYLess,
682
+ y2: e.qYLess,
683
+ "stroke-width": P.value.style.chart.graduations.strokeWidth / 2,
684
+ stroke: P.value.style.chart.graduations.stroke,
685
+ "stroke-linecap": "round"
686
+ }, null, 8, $e)) : p("", !0),
687
+ P.value.style.chart.graduations.show && ["both", "right"].includes(P.value.style.chart.graduations.sides) ? (b(), m("line", {
688
+ key: 2,
689
+ x1: J.value.right,
690
+ x2: J.value.right - 2.5,
691
+ y1: e.qYMore,
692
+ y2: e.qYMore,
693
+ "stroke-width": P.value.style.chart.graduations.strokeWidth / 2,
694
+ stroke: P.value.style.chart.graduations.stroke,
695
+ "stroke-linecap": "round"
696
+ }, null, 8, et)) : p("", !0)
697
+ ], 64)) : p("", !0)
698
+ ]))), 128)),
699
+ h("rect", {
700
+ class: v({ "vue-ui-thermometer-temperature": P.value.style.chart.animation.use }),
701
+ x: J.value.left,
702
+ y: J.value.top,
703
+ height: Y.value,
704
+ width: J.value.thermoWidth,
705
+ fill: "#FFFFFF66"
706
+ }, null, 10, tt)
707
+ ], 8, We),
708
+ P.value.style.chart.label.show ? (b(), m("g", {
709
+ key: 1,
710
+ role: "status",
711
+ "aria-live": "polite",
712
+ "aria-label": w(L) ? "Loading data" : $.value
713
+ }, [w(L) ? (b(), m("rect", {
714
+ key: 0,
715
+ x: J.value.left - 60,
716
+ y: Y.value + J.value.top - Q.value / 2,
717
+ width: 50,
718
+ height: Q.value,
719
+ fill: "#6A6A6A40",
720
+ rx: "3"
721
+ }, null, 8, rt)) : (b(), m("text", {
722
+ key: 1,
723
+ "aria-hidden": "true",
724
+ class: v({
725
+ "vue-ui-thermometer-temperature-value": P.value.style.chart.animation.use,
726
+ "vue-ui-thermometer-label": !0
727
+ }),
728
+ y: Y.value + J.value.top + Q.value / 3,
729
+ x: J.value.left - 10,
730
+ "text-anchor": "end",
731
+ fill: P.value.style.chart.label.color,
732
+ "font-size": Q.value,
733
+ "font-weight": P.value.style.chart.label.bold ? "bold" : "normal"
734
+ }, C($.value), 11, it))], 8, nt)) : p("", !0),
735
+ S(e.$slots, "svg", { svg: {
736
+ ...At.value,
737
+ isPrintingImg: w(H) || w(U) || M.value,
738
+ isPrintingSvg: N.value
739
+ } }, void 0, !0)
740
+ ], 10, Pe)),
741
+ e.$slots.watermark ? (b(), m("div", at, [S(e.$slots, "watermark", y(_({ isPrinting: w(H) || w(U) || M.value || N.value })), void 0, !0)])) : p("", !0),
742
+ e.$slots.source ? (b(), m("div", {
743
+ key: 5,
744
+ ref_key: "source",
745
+ ref: gt,
746
+ dir: "auto"
747
+ }, [S(e.$slots, "source", {}, void 0, !0)], 512)) : p("", !0),
748
+ S(e.$slots, "skeleton", {}, () => [w(L) ? (b(), f(le, { key: 0 })) : p("", !0)], !0)
749
+ ], 46, Me));
750
+ }
751
+ }, [["__scopeId", "data-v-981c73ca"]]);
752
+ //#endregion
753
+ export { je as n, E as t };