vue-data-ui 3.19.9 → 3.20.1

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 (322) hide show
  1. package/package.json +120 -120
  2. package/dist/A11yDataTable-q2-8fSlJ.js +0 -45
  3. package/dist/Arrow-Cj6W6Xbi.js +0 -116
  4. package/dist/BaseDraggableDialog-DUUu2E2Q.js +0 -272
  5. package/dist/BaseIcon-DM1x8hQF.js +0 -502
  6. package/dist/BaseLegendToggle-CJTwLGXL.js +0 -56
  7. package/dist/BaseScanner-C7dmAref.js +0 -27
  8. package/dist/BaseZoomControls-BkajQ8q9.js +0 -111
  9. package/dist/ColorPicker-DTQeqKUV.js +0 -255
  10. package/dist/DataTable-DmE8Oo4i.js +0 -150
  11. package/dist/Legend-Gg5Q4Clb.js +0 -114
  12. package/dist/NonSvgPenAndPaper-tvWXeCsd.js +0 -577
  13. package/dist/PackageVersion-Dl9W5zJD.js +0 -11
  14. package/dist/PenAndPaper-DNgm6y3l.js +0 -461
  15. package/dist/RecursiveCircles-DPpLel6f.js +0 -117
  16. package/dist/RecursiveLabels-DBMJf_to.js +0 -56
  17. package/dist/RecursiveLinks-D06dBL4a.js +0 -78
  18. package/dist/Shape-DEGOZ6GG.js +0 -141
  19. package/dist/Slicer-CPWGgGSp.js +0 -1144
  20. package/dist/SlicerPreview-BU3ZeHjR.js +0 -1555
  21. package/dist/SparkTooltip-c2DL7gqD.js +0 -93
  22. package/dist/Title-__gWq2g6.js +0 -87
  23. package/dist/Tooltip-CuWEYGr3.js +0 -312
  24. package/dist/UserOptions-D7zR0tnR.js +0 -1411
  25. package/dist/_plugin-vue_export-helper-Dq1MygBL.js +0 -8
  26. package/dist/canvas-lib-DTaADQOK.js +0 -79
  27. package/dist/components/arrow.js +0 -2
  28. package/dist/components/vue-ui-3d-bar.js +0 -2
  29. package/dist/components/vue-ui-accordion.js +0 -2
  30. package/dist/components/vue-ui-age-pyramid.js +0 -2
  31. package/dist/components/vue-ui-annotator.js +0 -2
  32. package/dist/components/vue-ui-bullet.js +0 -2
  33. package/dist/components/vue-ui-bump.js +0 -2
  34. package/dist/components/vue-ui-candlestick.js +0 -2
  35. package/dist/components/vue-ui-carousel-table.js +0 -2
  36. package/dist/components/vue-ui-chestnut.js +0 -2
  37. package/dist/components/vue-ui-chord.js +0 -2
  38. package/dist/components/vue-ui-circle-pack.js +0 -2
  39. package/dist/components/vue-ui-cursor.js +0 -2
  40. package/dist/components/vue-ui-dag.js +0 -2
  41. package/dist/components/vue-ui-dashboard.js +0 -2
  42. package/dist/components/vue-ui-digits.js +0 -2
  43. package/dist/components/vue-ui-donut-evolution.js +0 -2
  44. package/dist/components/vue-ui-donut.js +0 -2
  45. package/dist/components/vue-ui-dumbbell.js +0 -2
  46. package/dist/components/vue-ui-flow.js +0 -2
  47. package/dist/components/vue-ui-funnel.js +0 -2
  48. package/dist/components/vue-ui-galaxy.js +0 -2
  49. package/dist/components/vue-ui-gauge.js +0 -2
  50. package/dist/components/vue-ui-geo.js +0 -2
  51. package/dist/components/vue-ui-gizmo.js +0 -2
  52. package/dist/components/vue-ui-heatmap.js +0 -2
  53. package/dist/components/vue-ui-history-plot.js +0 -2
  54. package/dist/components/vue-ui-horizontal-bar.js +0 -2
  55. package/dist/components/vue-ui-icon.js +0 -2
  56. package/dist/components/vue-ui-kpi.js +0 -2
  57. package/dist/components/vue-ui-mini-loader.js +0 -2
  58. package/dist/components/vue-ui-molecule.js +0 -2
  59. package/dist/components/vue-ui-mood-radar.js +0 -2
  60. package/dist/components/vue-ui-nested-donuts.js +0 -2
  61. package/dist/components/vue-ui-onion.js +0 -2
  62. package/dist/components/vue-ui-parallel-coordinate-plot.js +0 -2
  63. package/dist/components/vue-ui-pattern-seed.js +0 -2
  64. package/dist/components/vue-ui-pattern.js +0 -2
  65. package/dist/components/vue-ui-quadrant.js +0 -2
  66. package/dist/components/vue-ui-quick-chart.js +0 -2
  67. package/dist/components/vue-ui-radar.js +0 -2
  68. package/dist/components/vue-ui-rating.js +0 -2
  69. package/dist/components/vue-ui-relation-circle.js +0 -2
  70. package/dist/components/vue-ui-ridgeline.js +0 -2
  71. package/dist/components/vue-ui-rings.js +0 -2
  72. package/dist/components/vue-ui-scatter.js +0 -2
  73. package/dist/components/vue-ui-skeleton.js +0 -2
  74. package/dist/components/vue-ui-smiley.js +0 -2
  75. package/dist/components/vue-ui-spark-trend.js +0 -2
  76. package/dist/components/vue-ui-sparkbar.js +0 -2
  77. package/dist/components/vue-ui-sparkgauge.js +0 -2
  78. package/dist/components/vue-ui-sparkhistogram.js +0 -2
  79. package/dist/components/vue-ui-sparkline.js +0 -2
  80. package/dist/components/vue-ui-sparkstackbar.js +0 -2
  81. package/dist/components/vue-ui-stackbar.js +0 -2
  82. package/dist/components/vue-ui-stackline.js +0 -2
  83. package/dist/components/vue-ui-strip-plot.js +0 -2
  84. package/dist/components/vue-ui-table-heatmap.js +0 -2
  85. package/dist/components/vue-ui-table-sparkline.js +0 -2
  86. package/dist/components/vue-ui-table.js +0 -2
  87. package/dist/components/vue-ui-thermometer.js +0 -2
  88. package/dist/components/vue-ui-timer.js +0 -2
  89. package/dist/components/vue-ui-tiremarks.js +0 -2
  90. package/dist/components/vue-ui-treemap.js +0 -2
  91. package/dist/components/vue-ui-vertical-bar.js +0 -2
  92. package/dist/components/vue-ui-waffle.js +0 -2
  93. package/dist/components/vue-ui-wheel.js +0 -2
  94. package/dist/components/vue-ui-word-cloud.js +0 -2
  95. package/dist/components/vue-ui-world.js +0 -2
  96. package/dist/components/vue-ui-xy-canvas.js +0 -2
  97. package/dist/components/vue-ui-xy.js +0 -2
  98. package/dist/dom-to-png-9WSt6hXe.js +0 -237
  99. package/dist/exposedLib-CwWU4zv-.js +0 -19
  100. package/dist/geoProjections-CQIkC70z.js +0 -146
  101. package/dist/img-BjOr008R.js +0 -74
  102. package/dist/labelUtils-Cr97N8E1.js +0 -19
  103. package/dist/lib-BkiwukKO.js +0 -1879
  104. package/dist/llms.txt +0 -232
  105. package/dist/patternUtils-B7BWu5bV.js +0 -258
  106. package/dist/pdf-DSXSFUnK.js +0 -90
  107. package/dist/rolldown-runtime-CAFD8bLK.js +0 -11
  108. package/dist/style.css +0 -2
  109. package/dist/types/arrow.d.ts +0 -4
  110. package/dist/types/utils.d.ts +0 -551
  111. package/dist/types/vue-data-ui.d.ts +0 -15826
  112. package/dist/types/vue-ui-3d-bar.d.ts +0 -78
  113. package/dist/types/vue-ui-accordion.d.ts +0 -11
  114. package/dist/types/vue-ui-age-pyramid.d.ts +0 -95
  115. package/dist/types/vue-ui-annotator.d.ts +0 -12
  116. package/dist/types/vue-ui-bullet.d.ts +0 -72
  117. package/dist/types/vue-ui-bump.d.ts +0 -77
  118. package/dist/types/vue-ui-candlestick.d.ts +0 -93
  119. package/dist/types/vue-ui-carousel-table.d.ts +0 -46
  120. package/dist/types/vue-ui-chestnut.d.ts +0 -79
  121. package/dist/types/vue-ui-chord.d.ts +0 -91
  122. package/dist/types/vue-ui-circle-pack.d.ts +0 -111
  123. package/dist/types/vue-ui-cursor.d.ts +0 -9
  124. package/dist/types/vue-ui-dag.d.ts +0 -106
  125. package/dist/types/vue-ui-dashboard.d.ts +0 -53
  126. package/dist/types/vue-ui-digits.d.ts +0 -12
  127. package/dist/types/vue-ui-donut-evolution.d.ts +0 -81
  128. package/dist/types/vue-ui-donut.d.ts +0 -106
  129. package/dist/types/vue-ui-dumbbell.d.ts +0 -79
  130. package/dist/types/vue-ui-flow.d.ts +0 -93
  131. package/dist/types/vue-ui-funnel.d.ts +0 -66
  132. package/dist/types/vue-ui-galaxy.d.ts +0 -97
  133. package/dist/types/vue-ui-gauge.d.ts +0 -76
  134. package/dist/types/vue-ui-geo.d.ts +0 -81
  135. package/dist/types/vue-ui-gizmo.d.ts +0 -22
  136. package/dist/types/vue-ui-heatmap.d.ts +0 -86
  137. package/dist/types/vue-ui-history-plot.d.ts +0 -97
  138. package/dist/types/vue-ui-horizontal-bar.d.ts +0 -99
  139. package/dist/types/vue-ui-icon.d.ts +0 -15
  140. package/dist/types/vue-ui-kpi.d.ts +0 -25
  141. package/dist/types/vue-ui-mini-loader.d.ts +0 -15
  142. package/dist/types/vue-ui-molecule.d.ts +0 -97
  143. package/dist/types/vue-ui-mood-radar.d.ts +0 -79
  144. package/dist/types/vue-ui-nested-donuts.d.ts +0 -94
  145. package/dist/types/vue-ui-onion.d.ts +0 -91
  146. package/dist/types/vue-ui-parallel-coordinate-plot.d.ts +0 -108
  147. package/dist/types/vue-ui-pattern-seed.d.ts +0 -14
  148. package/dist/types/vue-ui-pattern.d.ts +0 -15
  149. package/dist/types/vue-ui-quadrant.d.ts +0 -102
  150. package/dist/types/vue-ui-quick-chart.d.ts +0 -89
  151. package/dist/types/vue-ui-radar.d.ts +0 -101
  152. package/dist/types/vue-ui-rating.d.ts +0 -31
  153. package/dist/types/vue-ui-relation-circle.d.ts +0 -79
  154. package/dist/types/vue-ui-ridgeline.d.ts +0 -85
  155. package/dist/types/vue-ui-rings.d.ts +0 -83
  156. package/dist/types/vue-ui-scatter.d.ts +0 -82
  157. package/dist/types/vue-ui-skeleton.d.ts +0 -11
  158. package/dist/types/vue-ui-smiley.d.ts +0 -12
  159. package/dist/types/vue-ui-spark-trend.d.ts +0 -19
  160. package/dist/types/vue-ui-sparkbar.d.ts +0 -36
  161. package/dist/types/vue-ui-sparkgauge.d.ts +0 -28
  162. package/dist/types/vue-ui-sparkhistogram.d.ts +0 -33
  163. package/dist/types/vue-ui-sparkline.d.ts +0 -44
  164. package/dist/types/vue-ui-sparkstackbar.d.ts +0 -45
  165. package/dist/types/vue-ui-stackbar.d.ts +0 -97
  166. package/dist/types/vue-ui-stackline.d.ts +0 -93
  167. package/dist/types/vue-ui-strip-plot.d.ts +0 -81
  168. package/dist/types/vue-ui-table-heatmap.d.ts +0 -62
  169. package/dist/types/vue-ui-table-sparkline.d.ts +0 -40
  170. package/dist/types/vue-ui-table.d.ts +0 -25
  171. package/dist/types/vue-ui-thermometer.d.ts +0 -57
  172. package/dist/types/vue-ui-timer.d.ts +0 -36
  173. package/dist/types/vue-ui-tiremarks.d.ts +0 -57
  174. package/dist/types/vue-ui-treemap.d.ts +0 -87
  175. package/dist/types/vue-ui-vertical-bar.d.ts +0 -22
  176. package/dist/types/vue-ui-waffle.d.ts +0 -86
  177. package/dist/types/vue-ui-wheel.d.ts +0 -57
  178. package/dist/types/vue-ui-word-cloud.d.ts +0 -84
  179. package/dist/types/vue-ui-world.d.ts +0 -81
  180. package/dist/types/vue-ui-xy-canvas.d.ts +0 -84
  181. package/dist/types/vue-ui-xy.d.ts +0 -125
  182. package/dist/useAutoSizeLabelsInsideViewbox-dp-3Gg97.js +0 -50
  183. package/dist/useChartAccessibility-Do37qcw2.js +0 -12
  184. package/dist/useConfig-ByaaSKhz.js +0 -7471
  185. package/dist/useFitSvgText-C-MEdAfe.js +0 -63
  186. package/dist/useNestedProp-Ck4hsrpu.js +0 -10
  187. package/dist/useObjectBindings-BR1sGimd.js +0 -189
  188. package/dist/usePanZoom-B-4M_gmY.js +0 -157
  189. package/dist/usePrefersMotion-BywLbIko.js +0 -15
  190. package/dist/usePrinter-X0yWOynH.js +0 -49
  191. package/dist/useResponsive-CrAInupd.js +0 -19
  192. package/dist/useStableElementSize-0I1IpHPl.js +0 -77
  193. package/dist/useSvgExport-Dtu973wa.js +0 -755
  194. package/dist/useTableResponsive-DrM1xqII.js +0 -24
  195. package/dist/useThemeCheck-rFK9Zlb_.js +0 -24
  196. package/dist/useTimeLabelCollider-Dm55Emzg.js +0 -57
  197. package/dist/useTimeLabels-C0x7zUXP.js +0 -272
  198. package/dist/useUserOptionState-CjPJPTg2.js +0 -15
  199. package/dist/utils.js +0 -28
  200. package/dist/vClickOutside-CbX_bC9A.js +0 -13
  201. package/dist/vue-data-ui-nsosW-n5.js +0 -274
  202. package/dist/vue-data-ui.js +0 -76
  203. package/dist/vue-ui-3d-bar-CTvvvgBE.js +0 -1757
  204. package/dist/vue-ui-accordion-BX9WL-QF.js +0 -81
  205. package/dist/vue-ui-age-pyramid-ckZtLlmH.js +0 -1238
  206. package/dist/vue-ui-annotator-Be3VpH8Z.js +0 -2899
  207. package/dist/vue-ui-bullet-3CkhGOSb.js +0 -710
  208. package/dist/vue-ui-bump-LQuPTOlm.js +0 -1249
  209. package/dist/vue-ui-candlestick-BeO06tlH.js +0 -1826
  210. package/dist/vue-ui-carousel-table-nZJ1k6se.js +0 -455
  211. package/dist/vue-ui-chestnut-BWItE1hg.js +0 -2010
  212. package/dist/vue-ui-chord-YflKRyWK.js +0 -1391
  213. package/dist/vue-ui-circle-pack-DyTYvEg3.js +0 -1608
  214. package/dist/vue-ui-cursor-C5_wkWul.js +0 -283
  215. package/dist/vue-ui-dag-mH0baWM3.js +0 -2909
  216. package/dist/vue-ui-dashboard-F7pEuJDh.js +0 -513
  217. package/dist/vue-ui-digits-BYBtwXy_.js +0 -209
  218. package/dist/vue-ui-donut-B3L7jeHL.js +0 -2410
  219. package/dist/vue-ui-donut-evolution-C46h0gLy.js +0 -1510
  220. package/dist/vue-ui-dumbbell-xekp1obI.js +0 -1527
  221. package/dist/vue-ui-flow-BYYyk5KL.js +0 -1235
  222. package/dist/vue-ui-funnel-BfY509t-.js +0 -777
  223. package/dist/vue-ui-galaxy-D061gTYS.js +0 -1077
  224. package/dist/vue-ui-gauge-BRxZNBBS.js +0 -920
  225. package/dist/vue-ui-geo-BwOMFUVr.js +0 -1516
  226. package/dist/vue-ui-gizmo-CQsP8Nd3.js +0 -225
  227. package/dist/vue-ui-heatmap-DOsulVoP.js +0 -1568
  228. package/dist/vue-ui-history-plot-CXW6lF42.js +0 -1559
  229. package/dist/vue-ui-horizontal-bar-CideXtlg.js +0 -1681
  230. package/dist/vue-ui-kpi-CE-JFZ1o.js +0 -96
  231. package/dist/vue-ui-mini-loader-DDJUya9e.js +0 -125
  232. package/dist/vue-ui-molecule-B1Prm5Lk.js +0 -925
  233. package/dist/vue-ui-mood-radar-B29gVcTN.js +0 -1148
  234. package/dist/vue-ui-nested-donuts-Bsx5f9Gv.js +0 -1487
  235. package/dist/vue-ui-onion-MN-PjNJq.js +0 -1200
  236. package/dist/vue-ui-parallel-coordinate-plot-C9zU7MP5.js +0 -1421
  237. package/dist/vue-ui-pattern-Bj-IPFr2.js +0 -154
  238. package/dist/vue-ui-pattern-seed-abRweCDE.js +0 -61
  239. package/dist/vue-ui-quadrant-h-QFG9O4.js +0 -1978
  240. package/dist/vue-ui-quick-chart-PAVz4c9z.js +0 -2469
  241. package/dist/vue-ui-radar-D2pVd53z.js +0 -1229
  242. package/dist/vue-ui-rating-D_QR_A3V.js +0 -343
  243. package/dist/vue-ui-relation-circle-BjB0J53V.js +0 -924
  244. package/dist/vue-ui-ridgeline-DamvqiyJ.js +0 -1622
  245. package/dist/vue-ui-rings-DkHS5dwd.js +0 -1246
  246. package/dist/vue-ui-scatter-dFDowCVQ.js +0 -2413
  247. package/dist/vue-ui-skeleton-zhkS1cmh.js +0 -2556
  248. package/dist/vue-ui-smiley-rFdGxZK6.js +0 -356
  249. package/dist/vue-ui-spark-trend-fQ10-UvM.js +0 -438
  250. package/dist/vue-ui-sparkbar-D5toou8V.js +0 -393
  251. package/dist/vue-ui-sparkgauge-DRZcIPYf.js +0 -255
  252. package/dist/vue-ui-sparkhistogram-YizEqFdN.js +0 -560
  253. package/dist/vue-ui-sparkline-w2nclIW0.js +0 -1507
  254. package/dist/vue-ui-sparkstackbar-CTShNXhW.js +0 -662
  255. package/dist/vue-ui-stackbar-BFLCEsRk.js +0 -2267
  256. package/dist/vue-ui-stackline-CU6s-hhv.js +0 -2395
  257. package/dist/vue-ui-strip-plot-ByaDLFSL.js +0 -1340
  258. package/dist/vue-ui-table-DuA_CfGn.js +0 -1338
  259. package/dist/vue-ui-table-heatmap-BFKyJTr1.js +0 -344
  260. package/dist/vue-ui-table-sparkline-Dfei_QrJ.js +0 -707
  261. package/dist/vue-ui-thermometer-biw3ivMI.js +0 -763
  262. package/dist/vue-ui-timer-9LNNDl4q.js +0 -439
  263. package/dist/vue-ui-tiremarks-kF0Baqia.js +0 -552
  264. package/dist/vue-ui-treemap-BexKMBhz.js +0 -1587
  265. package/dist/vue-ui-waffle-Dq50j_uw.js +0 -1362
  266. package/dist/vue-ui-wheel-BETHlWsO.js +0 -885
  267. package/dist/vue-ui-word-cloud-D1AQtzmT.js +0 -1656
  268. package/dist/vue-ui-world-CcgbuSp_.js +0 -14264
  269. package/dist/vue-ui-xy-BQ1YONCq.js +0 -4219
  270. package/dist/vue-ui-xy-canvas-4ABYnasj.js +0 -1786
  271. package/dist/vue_ui_3d_bar-CXKqO5Ej.js +0 -185
  272. package/dist/vue_ui_age_pyramid-BON8QI6X.js +0 -301
  273. package/dist/vue_ui_bullet-CE5sFT7u.js +0 -186
  274. package/dist/vue_ui_bump-frnXaXul.js +0 -201
  275. package/dist/vue_ui_candlestick-sY6UtOop.js +0 -374
  276. package/dist/vue_ui_chestnut-BiUZFv40.js +0 -305
  277. package/dist/vue_ui_chord-DpyR_b9A.js +0 -275
  278. package/dist/vue_ui_circle_pack-FjH0ZQeb.js +0 -172
  279. package/dist/vue_ui_dag-Ci_MOnvd.js +0 -258
  280. package/dist/vue_ui_donut-Cx2_BGcQ.js +0 -358
  281. package/dist/vue_ui_donut_evolution-CAJefrHs.js +0 -717
  282. package/dist/vue_ui_dumbbell-CClzAZTN.js +0 -304
  283. package/dist/vue_ui_flow-CCHO1Lo9.js +0 -238
  284. package/dist/vue_ui_funnel-h8q2mRpC.js +0 -234
  285. package/dist/vue_ui_galaxy-70vtkEBw.js +0 -265
  286. package/dist/vue_ui_gauge-C17CgfzN.js +0 -178
  287. package/dist/vue_ui_geo-C0UbQ0Lc.js +0 -248
  288. package/dist/vue_ui_heatmap-BqPP3J4M.js +0 -319
  289. package/dist/vue_ui_history_plot-C5nytDHh.js +0 -413
  290. package/dist/vue_ui_horizontal_bar-Bqxorkc_.js +0 -341
  291. package/dist/vue_ui_molecule-Dka4JBOp.js +0 -231
  292. package/dist/vue_ui_mood_radar-Dg4ijm53.js +0 -281
  293. package/dist/vue_ui_nested_donuts-BY9cOoHF.js +0 -273
  294. package/dist/vue_ui_onion-DTV9cup-.js +0 -293
  295. package/dist/vue_ui_parallel_coordinate_plot-CNWrDh96.js +0 -278
  296. package/dist/vue_ui_quadrant-3kjYvxpj.js +0 -428
  297. package/dist/vue_ui_quick_chart--VaYQuM4.js +0 -139
  298. package/dist/vue_ui_radar-Dxx9GJmj.js +0 -306
  299. package/dist/vue_ui_relation_circle-Cr0I2SoU.js +0 -98
  300. package/dist/vue_ui_ridgeline-CAtYca4b.js +0 -767
  301. package/dist/vue_ui_rings-DXC1VeX5.js +0 -320
  302. package/dist/vue_ui_scatter-D2S2j0ap.js +0 -479
  303. package/dist/vue_ui_spark_trend-BHMQ6_1p.js +0 -82
  304. package/dist/vue_ui_sparkbar-BR6hbuDE.js +0 -64
  305. package/dist/vue_ui_sparkgauge-xfPRHnMv.js +0 -90
  306. package/dist/vue_ui_sparkhistogram-CJRENZ1C.js +0 -123
  307. package/dist/vue_ui_sparkline-wgk7yO7E.js +0 -151
  308. package/dist/vue_ui_sparkstackbar-C5qZMmAl.js +0 -175
  309. package/dist/vue_ui_stackbar-BW_C3MXw.js +0 -412
  310. package/dist/vue_ui_stackline-DXxzibUd.js +0 -460
  311. package/dist/vue_ui_strip_plot-8ZelqC5b.js +0 -301
  312. package/dist/vue_ui_table_heatmap-BGUjA0WA.js +0 -80
  313. package/dist/vue_ui_table_sparkline-i0Q-N_we.js +0 -124
  314. package/dist/vue_ui_thermometer-CuN7Gpez.js +0 -123
  315. package/dist/vue_ui_tiremarks-A6UHC0c3.js +0 -122
  316. package/dist/vue_ui_treemap-BQp06q-g.js +0 -328
  317. package/dist/vue_ui_vertical_bar-CJSD1FZS.js +0 -247
  318. package/dist/vue_ui_waffle-C_Ev4l7B.js +0 -292
  319. package/dist/vue_ui_wheel-DdkTPXJU.js +0 -133
  320. package/dist/vue_ui_word_cloud-B1PbsYPc.js +0 -254
  321. package/dist/vue_ui_xy-BYPqfYyx.js +0 -482
  322. package/dist/vue_ui_xy_canvas-CMHGNrLf.js +0 -408
@@ -1,920 +0,0 @@
1
- import { t as e } from "./rolldown-runtime-CAFD8bLK.js";
2
- import { B as t, C as n, Ct as r, G as i, H as a, Lt as ee, Rt as o, St as s, Tt as te, X as c, bt as l, i as u, jt as ne, ot as re, t as ie, u as ae, v as oe, x as se, y as ce, zt as le } from "./lib-BkiwukKO.js";
3
- import { t as ue } from "./useConfig-ByaaSKhz.js";
4
- import { t as de } from "./usePrinter-X0yWOynH.js";
5
- import { n as fe, t as pe } from "./BaseScanner-C7dmAref.js";
6
- import { t as me } from "./useSvgExport-Dtu973wa.js";
7
- import { t as he } from "./useNestedProp-Ck4hsrpu.js";
8
- import { t as ge } from "./useThemeCheck-rFK9Zlb_.js";
9
- import { t as _e } from "./img-BjOr008R.js";
10
- import { n as ve } from "./Title-__gWq2g6.js";
11
- import { t as ye } from "./_plugin-vue_export-helper-Dq1MygBL.js";
12
- import { c as be } from "./canvas-lib-DTaADQOK.js";
13
- import { t as xe } from "./useResponsive-CrAInupd.js";
14
- import { t as Se } from "./useUserOptionState-CjPJPTg2.js";
15
- import { t as Ce } from "./useChartAccessibility-Do37qcw2.js";
16
- import { t as we } from "./useAutoSizeLabelsInsideViewbox-dp-3Gg97.js";
17
- import { t as Te } from "./vue_ui_gauge-C17CgfzN.js";
18
- import { Fragment as d, computed as f, createBlock as p, createCommentVNode as m, createElementBlock as h, createElementVNode as g, createSlots as Ee, createVNode as De, defineAsyncComponent as _, guardReactiveProps as v, mergeProps as y, nextTick as Oe, normalizeClass as ke, normalizeProps as b, normalizeStyle as Ae, onBeforeUnmount as je, onMounted as Me, openBlock as x, ref as S, renderList as C, renderSlot as w, shallowRef as Ne, toDisplayString as T, toRefs as Pe, unref as E, watch as Fe, withCtx as D } from "vue";
19
- //#region src/components/vue-ui-gauge.vue
20
- var Ie = /* @__PURE__ */ e({ default: () => vt }), Le = ["id"], Re = { key: 0 }, ze = ["xmlns", "viewBox"], Be = ["width", "height"], Ve = ["id"], He = ["stop-color"], Ue = ["stop-color"], We = ["stop-color"], Ge = ["id"], Ke = ["stdDeviation"], qe = { key: 1 }, Je = [
21
- "d",
22
- "fill",
23
- "stroke"
24
- ], Ye = [
25
- "d",
26
- "fill",
27
- "stroke"
28
- ], Xe = ["d", "fill"], Ze = ["id", "d"], Qe = [
29
- "fill",
30
- "font-size",
31
- "font-weight"
32
- ], $e = ["href", "startOffset"], et = [
33
- "text-anchor",
34
- "fill",
35
- "font-size",
36
- "font-weight",
37
- "innerHTML"
38
- ], tt = ["d", "filter"], nt = ["stroke", "stroke-width"], rt = ["stroke", "stroke-width"], it = ["stroke", "stroke-width"], at = ["stroke", "stroke-width"], ot = { key: 8 }, st = [
39
- "x",
40
- "y",
41
- "text-anchor",
42
- "font-size",
43
- "font-weight",
44
- "fill"
45
- ], ct = [
46
- "x",
47
- "y",
48
- "font-size",
49
- "font-weight",
50
- "fill"
51
- ], lt = { key: 0 }, ut = [
52
- "x1",
53
- "y1",
54
- "x2",
55
- "y2",
56
- "stroke",
57
- "stroke-width"
58
- ], dt = [
59
- "x1",
60
- "y1",
61
- "x2",
62
- "y2",
63
- "stroke",
64
- "stroke-width"
65
- ], ft = [
66
- "x1",
67
- "y1",
68
- "x2",
69
- "y2",
70
- "stroke-width",
71
- "filter"
72
- ], pt = { key: 1 }, mt = [
73
- "d",
74
- "fill",
75
- "stroke",
76
- "stroke-width"
77
- ], ht = [
78
- "cx",
79
- "cy",
80
- "fill",
81
- "r",
82
- "stroke-width",
83
- "stroke"
84
- ], gt = [
85
- "x",
86
- "y",
87
- "font-size",
88
- "fill"
89
- ], _t = {
90
- key: 4,
91
- class: "vue-data-ui-watermark"
92
- }, vt = /* @__PURE__ */ ye({
93
- __name: "vue-ui-gauge",
94
- props: {
95
- config: {
96
- type: Object,
97
- default() {
98
- return {};
99
- }
100
- },
101
- dataset: {
102
- type: Object,
103
- default() {
104
- return {};
105
- }
106
- }
107
- },
108
- emits: ["copyAlt"],
109
- setup(e, { expose: ye, emit: Ie }) {
110
- let vt = _(() => import("./PenAndPaper-DNgm6y3l.js").then((e) => e.t)), yt = _(() => import("./UserOptions-D7zR0tnR.js").then((e) => e.n)), bt = _(() => import("./PackageVersion-Dl9W5zJD.js").then((e) => e.t)), { vue_ui_gauge: xt } = ue(), { isThemeValid: St, warnInvalidTheme: Ct } = ge(), O = e, wt = Ie, Tt = f(() => !!O.dataset && Object.keys(O.dataset).length > 0 && O.dataset.series && O.dataset.series.length), k = S(a()), Et = S(null), Dt = S(0), A = S(null), Ot = S(null), kt = S(null), At = S(null), jt = S(null), Mt = S(0), j = S(!1), M = S(!1), N = S(zt()), Nt = f(() => N.value.userOptions.useCursorPointer), Pt = f(() => le({
111
- defaultConfig: {
112
- userOptions: { show: !1 },
113
- style: { chart: {
114
- backgroundColor: "#99999930",
115
- animation: { use: !1 },
116
- layout: {
117
- markers: { show: !1 },
118
- segmentSeparators: { stroke: "#6A6A6A" },
119
- segmentNames: { show: !1 },
120
- indicatorArc: { fill: "#6A6A6A50" },
121
- pointer: {
122
- stroke: "#6A6A6A",
123
- useRatingColor: !0,
124
- circle: {
125
- stroke: "#6A6A6A",
126
- color: "#6A6A6A"
127
- }
128
- }
129
- },
130
- legend: { show: !1 }
131
- } }
132
- },
133
- userConfig: N.value.skeletonConfig ?? {}
134
- })), { loading: Ft, FINAL_DATASET: P, manualLoading: F } = fe({
135
- ...Pe(O),
136
- FINAL_CONFIG: N,
137
- prepareConfig: zt,
138
- callback: () => {
139
- Promise.resolve().then(async () => {
140
- await Oe();
141
- });
142
- },
143
- skeletonDataset: O.config?.skeletonDataset ?? {
144
- value: 0,
145
- series: [{
146
- from: -1,
147
- to: 0,
148
- name: "_",
149
- color: "#A1A1A1"
150
- }, {
151
- from: 0,
152
- to: 1,
153
- name: "__",
154
- color: "#CACACA"
155
- }]
156
- },
157
- skeletonConfig: le({
158
- defaultConfig: N.value,
159
- userConfig: Pt.value
160
- })
161
- }), { userOptionsVisible: It, setUserOptionsVisibility: Lt, keepUserOptionState: Rt } = Se({ config: N.value }), { svgRef: I } = Ce({ config: N.value.style.chart.title });
162
- Fe(() => O.config, (e) => {
163
- Ft.value || (N.value = zt()), It.value = !N.value.userOptions.showOnChartHover, Yt(), Mt.value += 1;
164
- }, { deep: !0 }), Fe(() => O.dataset, (e) => {
165
- Yt(), e && Object.keys(e).length > 0 && (F.value = N.value?.loading ?? !1);
166
- }, {
167
- deep: !0,
168
- immediate: !1
169
- });
170
- function zt() {
171
- let e = he({
172
- userConfig: O.config,
173
- defaultConfig: xt
174
- }), t = e.theme;
175
- if (!t) return e;
176
- if (!St.value(e)) return Ct(e), e;
177
- let n = he({
178
- userConfig: Te[t] || O.config,
179
- defaultConfig: e
180
- }), r = he({
181
- userConfig: O.config,
182
- defaultConfig: n
183
- });
184
- return {
185
- ...r,
186
- customPalette: r.customPalette.length ? r.customPalette : ee[t] || te
187
- };
188
- }
189
- let { isPrinting: Bt, isImaging: Vt, generatePdf: Ht, generateImage: Ut } = de({
190
- elementId: `vue-ui-gauge_${k.value}`,
191
- fileName: N.value.style.chart.title.text || "vue-ui-gauge",
192
- options: N.value.userOptions.print
193
- }), Wt = f(() => N.value.userOptions.show && !N.value.style.chart.title.text), Gt = f(() => se(N.value.customPalette)), L = f(() => {
194
- if (s(P.value.series || {})) return {
195
- value: 0,
196
- series: [{
197
- from: 0,
198
- to: 0
199
- }]
200
- };
201
- let e = [];
202
- (P.value.series || []).forEach((t) => {
203
- e.push(t.from || 1e-7), e.push(t.to || 1e-7);
204
- });
205
- let t = Math.max(...e);
206
- return {
207
- ...P.value,
208
- series: (P.value.series || []).map((e, n) => ({
209
- ...e,
210
- color: ce(e.color) || Gt.value[n] || te[n],
211
- value: ((e.to || 0) - (e.from || 0)) / t * 100
212
- }))
213
- };
214
- }), R = S(512), z = S({
215
- height: 358.4,
216
- width: R.value,
217
- top: 0,
218
- bottom: 358.4,
219
- centerX: 179.2,
220
- centerY: R.value / 2,
221
- labelFontSize: 18,
222
- legendFontSize: N.value.style.chart.legend.fontSize,
223
- pointerRadius: N.value.style.chart.layout.pointer.circle.radius,
224
- trackSize: N.value.style.chart.layout.track.size,
225
- pointerSize: N.value.style.chart.layout.pointer.size,
226
- pointerStrokeWidth: N.value.style.chart.layout.pointer.strokeWidth,
227
- markerOffset: N.value.style.chart.layout.markers.offsetY + 3,
228
- segmentFontSize: N.value.style.chart.layout.segmentNames.fontSize
229
- }), B = S(0), V = S(0), H = S(N.value.style.chart.animation.use ? Math.min(...P.value.series.map((e) => e.from)) : P.value.value);
230
- Fe(() => P.value.value, () => {
231
- Xt(P.value.value);
232
- });
233
- let U = f(() => {
234
- let e = z.value.width / 2, t = J.value.base, n = Math.PI * ((H.value + 0 - V.value) / (B.value - V.value)) + Math.PI;
235
- return {
236
- x1: e,
237
- y1: t,
238
- x2: e + J.value.pointerSize * z.value.pointerSize * .9 * Math.cos(n),
239
- y2: t + J.value.pointerSize * z.value.pointerSize * .9 * Math.sin(n)
240
- };
241
- }), Kt = f(() => {
242
- let e = z.value.width / 2, t = J.value.base, n = Math.PI * ((H.value + 0 - V.value) / (B.value - V.value)) + Math.PI, r = e + J.value.pointerSize * z.value.pointerSize * .9 * Math.cos(n), i = t + J.value.pointerSize * z.value.pointerSize * .9 * Math.sin(n), a = z.value.pointerRadius, ee = e + a * Math.cos(n + Math.PI / 2), o = t + a * Math.sin(n + Math.PI / 2), s = e + a * Math.cos(n - Math.PI / 2), te = t + a * Math.sin(n - Math.PI / 2);
243
- return isNaN(r) ? null : `M ${r},${i} ${ee},${o} ${s},${te} Z`;
244
- }), qt = f(() => {
245
- for (let e = 0; e < L.value.series.length; e += 1) {
246
- let { color: t, from: n, to: r } = L.value.series[e];
247
- if (H.value >= n && H.value <= r) return t;
248
- }
249
- return "#2D353C";
250
- }), W = Ne(null), G = Ne(null), K = f({
251
- get: () => z.value.segmentFontSize,
252
- set: (e) => e
253
- }), { autoSizeLabels: Jt } = we({
254
- svgRef: I,
255
- fontSize: z.value.segmentFontSize,
256
- minFontSize: N.value.style.chart.layout.segmentNames.minFontSize,
257
- sizeRef: K,
258
- labelClass: ".vue-ui-gauge-label-flat"
259
- }), q = f(() => !!N.value.debug);
260
- function Yt() {
261
- let e = !1;
262
- if (s(O.dataset) ? (c({
263
- componentName: "VueUiGauge",
264
- type: "dataset",
265
- debug: q.value
266
- }), F.value = !0, e = !0) : (re({
267
- datasetObject: O.dataset,
268
- requiredAttributes: ["value", "series"]
269
- }).forEach((t) => {
270
- c({
271
- componentName: "VueUiGauge",
272
- type: "datasetAttribute",
273
- property: t,
274
- debug: q.value
275
- }), F.value = !0, e = !0;
276
- }), Object.hasOwn(O.dataset, "series") && (O.dataset.series.length ? O.dataset.series.forEach((t, n) => {
277
- re({
278
- datasetObject: t,
279
- requiredAttributes: ["from", "to"]
280
- }).forEach((t) => {
281
- c({
282
- componentName: "VueUiGauge",
283
- type: "datasetSerieAttribute",
284
- property: t,
285
- index: n,
286
- debug: q.value
287
- }), F.value = !0, e = !0;
288
- });
289
- }) : (c({
290
- componentName: "VueUiGauge",
291
- type: "datasetAttributeEmpty",
292
- property: "series",
293
- debug: q.value
294
- }), F.value = !0, e = !0))), F.value = e, Xt(P.value.value || 0), N.value.responsive) {
295
- let e = be(() => {
296
- let { width: e, height: t } = xe({
297
- chart: A.value,
298
- title: N.value.style.chart.title.text ? Ot.value : null,
299
- legend: kt.value,
300
- source: At.value,
301
- noTitle: jt.value
302
- });
303
- t -= 12, requestAnimationFrame(() => {
304
- z.value.width = e, z.value.height = t, z.value.centerX = e / 2, z.value.centerY = R.value / 2 / 358.4 * t, z.value.bottom = t, z.value.labelFontSize = 18 / R.value * Math.min(t, e) < 10 ? 10 : 18 / R.value * Math.min(t, e), z.value.legendFontSize = N.value.style.chart.legend.fontSize / R.value * Math.min(t, e) < 14 ? 14 : N.value.style.chart.legend.fontSize / R.value * Math.min(t, e), z.value.pointerRadius = N.value.style.chart.layout.pointer.circle.radius / R.value * Math.min(t, e), z.value.trackSize = N.value.style.chart.layout.track.size / R.value * Math.min(t, e), z.value.pointerStrokeWidth = o({
305
- relator: Math.min(e, t),
306
- adjuster: R.value,
307
- source: N.value.style.chart.layout.pointer.strokeWidth,
308
- threshold: 2,
309
- fallback: 2
310
- }), z.value.markerOffset = o({
311
- relator: Math.max(e, t),
312
- adjuster: R.value,
313
- source: N.value.style.chart.layout.markers.offsetY + 3,
314
- threshold: 2,
315
- fallback: 2
316
- }), z.value.segmentFontSize = o({
317
- relator: Math.min(e, t),
318
- adjuster: R.value,
319
- source: N.value.style.chart.layout.segmentNames.fontSize,
320
- threshold: 8,
321
- fallback: 8
322
- });
323
- }), Jt();
324
- });
325
- W.value && (G.value && W.value.unobserve(G.value), W.value.disconnect()), W.value = new ResizeObserver(e), G.value = A.value.parentNode, W.value.observe(G.value);
326
- }
327
- Jt();
328
- }
329
- Me(() => {
330
- Yt();
331
- }), je(() => {
332
- W.value && (G.value && W.value.unobserve(G.value), W.value.disconnect());
333
- });
334
- function Xt(e) {
335
- let t = [];
336
- (L.value.series || []).forEach((e) => {
337
- t.push(e.from || 0), t.push(e.to || 0);
338
- }), B.value = Math.max(...t), V.value = Math.min(...t);
339
- let n = N.value.style.chart.animation.speed, r = Math.abs(e - H.value) / (n * 60);
340
- function i() {
341
- H.value < e ? H.value = Math.min(H.value + r, e) : H.value > e && (H.value = Math.max(H.value - r, e)), H.value !== e && requestAnimationFrame(i);
342
- }
343
- i();
344
- }
345
- let J = f(() => {
346
- let e = N.value.responsive ? Math.min(z.value.width, z.value.height) : z.value.width, t = 2.5 / N.value.style.chart.layout.radiusRatio;
347
- return {
348
- arcs: e / t,
349
- gradients: e / (t * 1.1),
350
- base: N.value.responsive ? z.value.height / 1.618 : z.value.height * .7,
351
- ratingBase: N.value.responsive ? z.value.height / 2 + z.value.height / 4 : z.value.height * .9,
352
- pointerSize: N.value.responsive ? Math.min(z.value.width, z.value.height) / 3 : z.value.width / 3.2
353
- };
354
- }), Y = f(() => l({ series: L.value.series }, z.value.width / 2, J.value.base, J.value.arcs, J.value.arcs, 1, 1, 1, 180, 109.9495, 40 * z.value.trackSize)), Zt = f(() => l({ series: L.value.series }, z.value.width / 2, J.value.base, J.value.arcs * N.value.style.chart.layout.segmentNames.offsetRatio, J.value.arcs * N.value.style.chart.layout.segmentNames.offsetRatio, 1, 1, 1, 180, 109.9495, 40 * z.value.trackSize)), X = f(() => Y.value.map((e) => J.value.arcs * N.value.style.chart.layout.segmentNames.offsetRatio * (e.nameOffsetRatio || 1))), Qt = f(() => {
355
- let { x: e, y: t } = r({
356
- initX: Y.value[0].firstSeparator.x,
357
- initY: Y.value[0].firstSeparator.y,
358
- centerX: U.value.x1,
359
- centerY: U.value.y1,
360
- offset: -N.value.style.chart.layout.segmentSeparators.offsetIn
361
- }), { x: n, y: i } = r({
362
- initX: Y.value[0].startX,
363
- initY: Y.value[0].startY,
364
- centerX: U.value.x1,
365
- centerY: U.value.y1,
366
- offset: N.value.style.chart.layout.segmentSeparators.offsetOut
367
- });
368
- return {
369
- x1: e,
370
- y1: t,
371
- x2: n,
372
- y2: i
373
- };
374
- }), $t = f(() => Y.value.map((e) => {
375
- let { x: t, y: n } = r({
376
- initX: e.separator.x,
377
- initY: e.separator.y,
378
- centerX: U.value.x1,
379
- centerY: U.value.y1,
380
- offset: -N.value.style.chart.layout.segmentSeparators.offsetIn
381
- }), { x: i, y: a } = r({
382
- initX: e.endX,
383
- initY: e.endY,
384
- centerX: U.value.x1,
385
- centerY: U.value.y1,
386
- offset: N.value.style.chart.layout.segmentSeparators.offsetOut
387
- });
388
- return {
389
- x1: t,
390
- y1: n,
391
- x2: i,
392
- y2: a
393
- };
394
- }));
395
- function en(e) {
396
- if (e.reduce((e, t) => e + t, 0) > 100) throw Error("Total % must not exceed 100");
397
- let t = 0;
398
- return e.map((e) => (t += e, `${t / 100 * 50 - e / 4}%`));
399
- }
400
- let tn = f(() => en(Y.value.map((e) => e.proportion * 100))), nn = f(() => l({ series: L.value.series }, z.value.width / 2, J.value.base, J.value.gradients, J.value.gradients, .95, 1, 1, 180, 110.02, 2 * z.value.trackSize)), rn = f(() => {
401
- let e = V.value >= 0 ? -V.value : Math.abs(V.value);
402
- return n({
403
- radius: N.value.style.chart.layout.indicatorArc.radius * z.value.trackSize,
404
- centerX: z.value.width / 2,
405
- centerY: J.value.base,
406
- percentage: oe((H.value + e) / (B.value + e))
407
- });
408
- }), Z = S(!1);
409
- function an(e) {
410
- Z.value = e, Dt.value += 1;
411
- }
412
- let Q = S(!1);
413
- function $() {
414
- Q.value = !Q.value;
415
- }
416
- async function on({ scale: e = 2 } = {}) {
417
- if (!A.value) return;
418
- let { width: t, height: n } = A.value.getBoundingClientRect(), r = t / n, { imageUri: i, base64: a } = await _e({
419
- domElement: A.value,
420
- base64: !0,
421
- img: !0,
422
- scale: e
423
- });
424
- return {
425
- imageUri: i,
426
- base64: a,
427
- title: N.value.style.chart.title.text,
428
- width: t,
429
- height: n,
430
- aspectRatio: r
431
- };
432
- }
433
- let sn = f(() => N.value.style.chart.backgroundColor), { exportSvg: cn, getSvg: ln } = me({
434
- svg: I,
435
- title: f(() => N.value.style.chart.title),
436
- backgroundColor: sn
437
- });
438
- async function un({ isCb: e }) {
439
- M.value = !0, await Oe();
440
- try {
441
- if (e) {
442
- let { blob: e, url: t, text: n, dataUrl: r } = await ln();
443
- await Promise.resolve(N.value.userOptions.callbacks.svg({
444
- blob: e,
445
- url: t,
446
- text: n,
447
- dataUrl: r
448
- }));
449
- } else await Promise.resolve(cn());
450
- } finally {
451
- M.value = !1;
452
- }
453
- }
454
- function dn(e) {
455
- if (e?.stage === "start") {
456
- j.value = !0;
457
- return;
458
- }
459
- if (e?.stage === "end") {
460
- j.value = !1;
461
- return;
462
- }
463
- Ut();
464
- }
465
- async function fn() {
466
- if (wt("copyAlt", {
467
- config: N.value,
468
- dataset: L.value
469
- }), !N.value.userOptions.callbacks.altCopy) {
470
- console.warn("Vue Data UI - A callback must be set for `altCopy` in userOptions.");
471
- return;
472
- }
473
- await Promise.resolve(N.value.userOptions.callbacks.altCopy({
474
- config: N.value,
475
- dataset: L.value
476
- }));
477
- }
478
- return ye({
479
- getImage: on,
480
- generatePdf: Ht,
481
- generateImage: Ut,
482
- generateSvg: un,
483
- toggleAnnotator: $,
484
- toggleFullscreen: an,
485
- copyAlt: fn
486
- }), (e, n) => (x(), h("div", {
487
- class: ke(`vue-data-ui-component vue-ui-gauge ${Z.value ? "vue-data-ui-wrapper-fullscreen" : ""}`),
488
- ref_key: "gaugeChart",
489
- ref: A,
490
- id: `vue-ui-gauge_${k.value}`,
491
- style: Ae(`font-family:${N.value.style.fontFamily};width:100%; text-align:center;background:${N.value.style.chart.backgroundColor};${N.value.responsive ? "height: 100%" : ""}`),
492
- onMouseenter: n[0] ||= () => E(Lt)(!0),
493
- onMouseleave: n[1] ||= () => E(Lt)(!1)
494
- }, [
495
- N.value.userOptions.buttons.annotator ? (x(), p(E(vt), {
496
- key: 0,
497
- svgRef: E(I),
498
- backgroundColor: N.value.style.chart.backgroundColor,
499
- color: N.value.style.chart.color,
500
- active: Q.value,
501
- isCursorPointer: Nt.value,
502
- onClose: $
503
- }, {
504
- "annotator-action-close": D(() => [w(e.$slots, "annotator-action-close", {}, void 0, !0)]),
505
- "annotator-action-color": D(({ color: t }) => [w(e.$slots, "annotator-action-color", b(v({ color: t })), void 0, !0)]),
506
- "annotator-action-draw": D(({ mode: t }) => [w(e.$slots, "annotator-action-draw", b(v({ mode: t })), void 0, !0)]),
507
- "annotator-action-undo": D(({ disabled: t }) => [w(e.$slots, "annotator-action-undo", b(v({ disabled: t })), void 0, !0)]),
508
- "annotator-action-redo": D(({ disabled: t }) => [w(e.$slots, "annotator-action-redo", b(v({ disabled: t })), void 0, !0)]),
509
- "annotator-action-delete": D(({ disabled: t }) => [w(e.$slots, "annotator-action-delete", b(v({ disabled: t })), void 0, !0)]),
510
- _: 3
511
- }, 8, [
512
- "svgRef",
513
- "backgroundColor",
514
- "color",
515
- "active",
516
- "isCursorPointer"
517
- ])) : m("", !0),
518
- Wt.value ? (x(), h("div", {
519
- key: 1,
520
- ref_key: "noTitle",
521
- ref: jt,
522
- class: "vue-data-ui-no-title-space",
523
- style: "height:36px; width: 100%;background:transparent"
524
- }, null, 512)) : m("", !0),
525
- N.value.style.chart.title.text ? (x(), h("div", {
526
- key: 2,
527
- ref_key: "chartTitle",
528
- ref: Ot,
529
- style: "width:100%;background:transparent;padding-bottom:12px"
530
- }, [(x(), p(ve, {
531
- key: `title_${Mt.value}`,
532
- config: {
533
- title: {
534
- cy: "gauge-div-title",
535
- ...N.value.style.chart.title
536
- },
537
- subtitle: {
538
- cy: "gauge-div-subtitle",
539
- ...N.value.style.chart.title.subtitle
540
- }
541
- }
542
- }, {
543
- default: D(() => [N.value.translations.base && E(P).base ? (x(), h("span", Re, T(N.value.translations.base) + ": " + T(E(P).base), 1)) : m("", !0)]),
544
- _: 1
545
- }, 8, ["config"]))], 512)) : m("", !0),
546
- N.value.userOptions.show && Tt.value && (E(Rt) || E(It)) ? (x(), p(E(yt), {
547
- ref_key: "details",
548
- ref: Et,
549
- key: `user_options_${Dt.value}`,
550
- backgroundColor: N.value.style.chart.backgroundColor,
551
- color: N.value.style.chart.color,
552
- isImaging: E(Vt),
553
- isPrinting: E(Bt),
554
- uid: k.value,
555
- hasXls: !1,
556
- hasPdf: N.value.userOptions.buttons.pdf,
557
- hasImg: N.value.userOptions.buttons.img,
558
- hasSvg: N.value.userOptions.buttons.svg,
559
- hasFullscreen: N.value.userOptions.buttons.fullscreen,
560
- hasAltCopy: N.value.userOptions.buttons.altCopy,
561
- isFullscreen: Z.value,
562
- titles: { ...N.value.userOptions.buttonTitles },
563
- chartElement: A.value,
564
- callbacks: N.value.userOptions.callbacks,
565
- printScale: N.value.userOptions.print.scale,
566
- position: N.value.userOptions.position,
567
- hasAnnotator: N.value.userOptions.buttons.annotator,
568
- isAnnotation: Q.value,
569
- isCursorPointer: Nt.value,
570
- onToggleFullscreen: an,
571
- onGeneratePdf: E(Ht),
572
- onGenerateImage: dn,
573
- onGenerateSvg: un,
574
- onToggleAnnotator: $,
575
- onCopyAlt: fn,
576
- style: Ae({ visibility: E(Rt) ? E(It) ? "visible" : "hidden" : "visible" })
577
- }, Ee({ _: 2 }, [
578
- e.$slots.menuIcon ? {
579
- name: "menuIcon",
580
- fn: D(({ isOpen: t, color: n }) => [w(e.$slots, "menuIcon", b(v({
581
- isOpen: t,
582
- color: n
583
- })), void 0, !0)]),
584
- key: "0"
585
- } : void 0,
586
- e.$slots.optionPdf ? {
587
- name: "optionPdf",
588
- fn: D(() => [w(e.$slots, "optionPdf", {}, void 0, !0)]),
589
- key: "1"
590
- } : void 0,
591
- e.$slots.optionImg ? {
592
- name: "optionImg",
593
- fn: D(() => [w(e.$slots, "optionImg", {}, void 0, !0)]),
594
- key: "2"
595
- } : void 0,
596
- e.$slots.optionSvg ? {
597
- name: "optionSvg",
598
- fn: D(() => [w(e.$slots, "optionSvg", {}, void 0, !0)]),
599
- key: "3"
600
- } : void 0,
601
- e.$slots.optionFullscreen ? {
602
- name: "optionFullscreen",
603
- fn: D(({ toggleFullscreen: t, isFullscreen: n }) => [w(e.$slots, "optionFullscreen", b(v({
604
- toggleFullscreen: t,
605
- isFullscreen: n
606
- })), void 0, !0)]),
607
- key: "4"
608
- } : void 0,
609
- e.$slots.optionAnnotator ? {
610
- name: "optionAnnotator",
611
- fn: D(({ toggleAnnotator: t, isAnnotator: n }) => [w(e.$slots, "optionAnnotator", b(v({
612
- toggleAnnotator: t,
613
- isAnnotator: n
614
- })), void 0, !0)]),
615
- key: "5"
616
- } : void 0,
617
- e.$slots.optionAltCopy ? {
618
- name: "optionAltCopy",
619
- fn: D(({ altCopy: t }) => [w(e.$slots, "optionAltCopy", b(v({ altCopy: t })), void 0, !0)]),
620
- key: "6"
621
- } : void 0,
622
- e.$slots["custom-menu-before"] ? {
623
- name: "custom-menu-before",
624
- fn: D(() => [w(e.$slots, "custom-menu-before", {}, void 0, !0)]),
625
- key: "7"
626
- } : void 0,
627
- e.$slots["custom-menu-after"] ? {
628
- name: "custom-menu-after",
629
- fn: D(() => [w(e.$slots, "custom-menu-after", {}, void 0, !0)]),
630
- key: "8"
631
- } : void 0
632
- ]), 1032, [
633
- "backgroundColor",
634
- "color",
635
- "isImaging",
636
- "isPrinting",
637
- "uid",
638
- "hasPdf",
639
- "hasImg",
640
- "hasSvg",
641
- "hasFullscreen",
642
- "hasAltCopy",
643
- "isFullscreen",
644
- "titles",
645
- "chartElement",
646
- "callbacks",
647
- "printScale",
648
- "position",
649
- "hasAnnotator",
650
- "isAnnotation",
651
- "isCursorPointer",
652
- "onGeneratePdf",
653
- "style"
654
- ])) : m("", !0),
655
- (x(), h("svg", {
656
- ref_key: "svgRef",
657
- ref: I,
658
- xmlns: E(ie),
659
- class: ke({
660
- "vue-data-ui-fullscreen--on": Z.value,
661
- "vue-data-ui-fulscreen--off": !Z.value
662
- }),
663
- viewBox: `0 0 ${z.value.width <= 0 ? 10 : z.value.width} ${z.value.height <= 0 ? 10 : z.value.height}`,
664
- style: Ae(`max-width:100%;overflow:hidden !important;background:transparent;color:${N.value.style.chart.color}`)
665
- }, [
666
- De(E(bt)),
667
- e.$slots["chart-background"] ? (x(), h("foreignObject", {
668
- key: 0,
669
- x: 0,
670
- y: 0,
671
- width: z.value.width <= 0 ? 10 : z.value.width,
672
- height: z.value.height <= 0 ? 10 : z.value.height,
673
- style: { pointerEvents: "none" }
674
- }, [w(e.$slots, "chart-background", {}, void 0, !0)], 8, Be)) : m("", !0),
675
- g("defs", null, [g("radialGradient", {
676
- id: `gradient_${k.value}`,
677
- cx: "50%",
678
- cy: "50%",
679
- r: "50%",
680
- fx: "50%",
681
- fy: "50%"
682
- }, [
683
- g("stop", {
684
- offset: "0%",
685
- "stop-color": E(ne)("#FFFFFF", 1)
686
- }, null, 8, He),
687
- g("stop", {
688
- offset: "80%",
689
- "stop-color": E(ne)("#FFFFFF", N.value.style.chart.layout.track.gradientIntensity)
690
- }, null, 8, Ue),
691
- g("stop", {
692
- offset: "100%",
693
- "stop-color": E(ne)("#FFFFFF", 1)
694
- }, null, 8, We)
695
- ], 8, Ve)]),
696
- g("defs", null, [g("filter", {
697
- id: `blur_${k.value}`,
698
- x: "-50%",
699
- y: "-50%",
700
- width: "200%",
701
- height: "200%"
702
- }, [g("feGaussianBlur", {
703
- in: "SourceGraphic",
704
- stdDeviation: 100 / N.value.style.chart.layout.track.gradientIntensity
705
- }, null, 8, Ke)], 8, Ge)]),
706
- e.$slots.pattern ? (x(), h("g", qe, [(x(!0), h(d, null, C(Y.value, (t, n) => (x(), h("defs", null, [w(e.$slots, "pattern", y({ ref_for: !0 }, {
707
- seriesIndex: n,
708
- patternId: `pattern_${k.value}_${n}`
709
- }), void 0, !0)]))), 256))])) : m("", !0),
710
- (x(!0), h(d, null, C(Y.value, (e, t) => (x(), h("path", {
711
- key: `arc_${t}`,
712
- d: e.arcSlice,
713
- fill: e.color,
714
- stroke: N.value.style.chart.backgroundColor,
715
- "stroke-linecap": "round"
716
- }, null, 8, Je))), 128)),
717
- e.$slots.pattern ? (x(!0), h(d, { key: 2 }, C(Y.value, (e, t) => (x(), h("path", {
718
- key: `arc_${t}`,
719
- d: e.arcSlice,
720
- fill: `url(#pattern_${k.value}_${t})`,
721
- stroke: N.value.style.chart.backgroundColor,
722
- "stroke-linecap": "round"
723
- }, null, 8, Ye))), 128)) : m("", !0),
724
- N.value.style.chart.layout.indicatorArc.show ? (x(), h("path", {
725
- key: 3,
726
- d: rn.value,
727
- fill: N.value.style.chart.layout.indicatorArc.fill
728
- }, null, 8, Xe)) : m("", !0),
729
- N.value.style.chart.layout.segmentNames.show && N.value.style.chart.layout.segmentNames.curved ? (x(), h(d, { key: 4 }, [(x(!0), h(d, null, C(Y.value, (e, t) => (x(), h("path", {
730
- id: `curve_${k.value}_${t}`,
731
- d: `M ${U.value.x1},${U.value.y1} m -${X.value[t]},0 a ${X.value[t]},${X.value[t]} 0 1,1 ${2 * X.value[t]},0 a ${X.value[t]},${X.value[t]} 0 1,1 -${2 * X.value[t]},0`,
732
- fill: "transparent"
733
- }, null, 8, Ze))), 256)), (x(!0), h(d, null, C(Y.value, (e, t) => (x(), h("text", {
734
- fill: N.value.style.chart.layout.segmentNames.useSerieColor ? e.color : N.value.style.chart.layout.segmentNames.color,
735
- "font-size": K.value,
736
- "font-weight": N.value.style.chart.layout.segmentNames.bold ? "bold" : "normal",
737
- "text-anchor": "middle"
738
- }, [g("textPath", {
739
- href: `#curve_${k.value}_${t}`,
740
- startOffset: tn.value[t]
741
- }, T(e.name || ""), 9, $e)], 8, Qe))), 256))], 64)) : m("", !0),
742
- N.value.style.chart.layout.segmentNames.show && !N.value.style.chart.layout.segmentNames.curved ? (x(!0), h(d, { key: 5 }, C(Zt.value, (e, n) => (x(), h("text", {
743
- class: "vue-ui-gauge-label-flat",
744
- "text-anchor": E(ae)(e, !1, 12).anchor,
745
- fill: N.value.style.chart.layout.segmentNames.useSerieColor ? e.color : N.value.style.chart.layout.segmentNames.color,
746
- "font-size": K.value,
747
- "font-weight": N.value.style.chart.layout.segmentNames.bold ? "bold" : "normal",
748
- innerHTML: E(t)({
749
- content: String(e.name ?? ""),
750
- fontSize: K.value,
751
- fill: N.value.style.chart.layout.segmentNames.useSerieColor ? e.color : N.value.style.chart.layout.segmentNames.color,
752
- x: e.center.endX,
753
- y: e.center.endY
754
- })
755
- }, null, 8, et))), 256)) : m("", !0),
756
- N.value.style.chart.layout.track.useGradient ? (x(!0), h(d, { key: 6 }, C(nn.value, (e, t) => (x(), h("path", {
757
- key: `arc_${t}`,
758
- d: e.arcSlice,
759
- fill: "#FFFFFF",
760
- stroke: "none",
761
- "stroke-linecap": "round",
762
- filter: `url(#blur_${k.value})`
763
- }, null, 8, tt))), 128)) : m("", !0),
764
- N.value.style.chart.layout.segmentSeparators.show ? (x(), h(d, { key: 7 }, [
765
- g("line", y(Qt.value, {
766
- stroke: N.value.style.chart.backgroundColor,
767
- "stroke-width": N.value.style.chart.layout.segmentSeparators.strokeWidth + 2,
768
- "stroke-linecap": "round"
769
- }), null, 16, nt),
770
- g("line", y(Qt.value, {
771
- stroke: N.value.style.chart.layout.segmentSeparators.stroke,
772
- "stroke-width": N.value.style.chart.layout.segmentSeparators.strokeWidth,
773
- "stroke-linecap": "round"
774
- }), null, 16, rt),
775
- (x(!0), h(d, null, C($t.value, (e) => (x(), h("line", y({ ref_for: !0 }, e, {
776
- stroke: N.value.style.chart.backgroundColor,
777
- "stroke-width": N.value.style.chart.layout.segmentSeparators.strokeWidth + 2,
778
- "stroke-linecap": "round"
779
- }), null, 16, it))), 256)),
780
- (x(!0), h(d, null, C($t.value, (e) => (x(), h("line", y({ ref_for: !0 }, e, {
781
- stroke: N.value.style.chart.layout.segmentSeparators.stroke,
782
- "stroke-width": N.value.style.chart.layout.segmentSeparators.strokeWidth,
783
- "stroke-linecap": "round"
784
- }), null, 16, at))), 256))
785
- ], 64)) : m("", !0),
786
- N.value.style.chart.layout.markers.show ? (x(), h("g", ot, [(x(!0), h(d, null, C(Y.value, (e, t) => (x(), h("text", {
787
- x: E(r)({
788
- centerX: U.value.x1,
789
- centerY: J.value.base,
790
- initX: e.center.startX,
791
- initY: e.center.startY,
792
- offset: z.value.markerOffset
793
- }).x,
794
- y: E(r)({
795
- centerX: U.value.x1,
796
- centerY: J.value.base,
797
- initX: e.center.startX,
798
- initY: e.center.startY,
799
- offset: z.value.markerOffset
800
- }).y,
801
- "text-anchor": e.center.startX < U.value.x1 - 5 ? "end" : e.center.startX > U.value.x1 + 5 ? "start" : "middle",
802
- "font-size": z.value.labelFontSize * N.value.style.chart.layout.markers.fontSizeRatio,
803
- "font-weight": `${N.value.style.chart.layout.markers.bold ? "bold" : "normal"}`,
804
- fill: N.value.style.chart.layout.markers.color
805
- }, T(E(u)(N.value.style.chart.layout.markers.formatter, e.from, E(i)({
806
- p: N.value.style.chart.layout.markers.prefix,
807
- v: e.from,
808
- s: N.value.style.chart.layout.markers.suffix,
809
- r: N.value.style.chart.layout.markers.roundingValue
810
- }))), 9, st))), 256))])) : m("", !0),
811
- N.value.style.chart.layout.markers.show ? (x(), h("text", {
812
- key: 9,
813
- x: E(r)({
814
- centerX: z.value.width / 2,
815
- centerY: J.value.base,
816
- initX: Y.value.at(-1).endX,
817
- initY: Y.value.at(-1).endY,
818
- offset: z.value.markerOffset
819
- }).x,
820
- y: E(r)({
821
- centerX: z.value.width / 2,
822
- centerY: J.value.base,
823
- initX: Y.value.at(-1).endX,
824
- initY: Y.value.at(-1).endY,
825
- offset: z.value.markerOffset
826
- }).y,
827
- "text-anchor": "start",
828
- "font-size": z.value.labelFontSize * N.value.style.chart.layout.markers.fontSizeRatio,
829
- "font-weight": `${N.value.style.chart.layout.markers.bold ? "bold" : "normal"}`,
830
- fill: N.value.style.chart.layout.markers.color
831
- }, T(E(u)(N.value.style.chart.layout.markers.formatter, B.value, E(i)({
832
- p: N.value.style.chart.layout.markers.prefix,
833
- v: B.value,
834
- s: N.value.style.chart.layout.markers.suffix,
835
- r: N.value.style.chart.layout.markers.roundingValue
836
- }))), 9, ct)) : m("", !0),
837
- N.value.style.chart.layout.pointer.show ? (x(), h(d, { key: 10 }, [N.value.style.chart.layout.pointer.type === "rounded" ? (x(), h("g", lt, [
838
- isNaN(U.value.x2) ? m("", !0) : (x(), h("line", {
839
- key: 0,
840
- x1: U.value.x1,
841
- y1: U.value.y1,
842
- x2: U.value.x2,
843
- y2: U.value.y2,
844
- stroke: N.value.style.chart.layout.pointer.stroke,
845
- "stroke-width": z.value.pointerStrokeWidth,
846
- "stroke-linecap": "round"
847
- }, null, 8, ut)),
848
- isNaN(U.value.x2) ? m("", !0) : (x(), h("line", {
849
- key: 1,
850
- x1: U.value.x1,
851
- y1: U.value.y1,
852
- x2: U.value.x2,
853
- y2: U.value.y2,
854
- stroke: N.value.style.chart.layout.pointer.useRatingColor ? qt.value : N.value.style.chart.layout.pointer.color,
855
- "stroke-linecap": "round",
856
- "stroke-width": z.value.pointerStrokeWidth * .7
857
- }, null, 8, dt)),
858
- !isNaN(U.value.x2) && N.value.style.chart.layout.track.useGradient ? (x(), h("line", {
859
- key: 2,
860
- x1: U.value.x1,
861
- y1: U.value.y1,
862
- x2: U.value.x2,
863
- y2: U.value.y2,
864
- stroke: "white",
865
- "stroke-linecap": "round",
866
- "stroke-width": z.value.pointerStrokeWidth * .3,
867
- filter: `url(#blur_${k.value})`
868
- }, null, 8, ft)) : m("", !0)
869
- ])) : (x(), h("g", pt, [Kt.value ? (x(), h("path", {
870
- key: 0,
871
- d: Kt.value,
872
- fill: N.value.style.chart.layout.pointer.useRatingColor ? qt.value : N.value.style.chart.layout.pointer.color,
873
- stroke: N.value.style.chart.layout.pointer.stroke,
874
- "stroke-width": N.value.style.chart.layout.pointer.circle.strokeWidth,
875
- "stroke-linejoin": "round"
876
- }, null, 8, mt)) : m("", !0)])), g("circle", {
877
- cx: z.value.width / 2,
878
- cy: J.value.base,
879
- fill: N.value.style.chart.layout.pointer.circle.color,
880
- r: z.value.pointerRadius <= 0 ? 1e-4 : z.value.pointerRadius,
881
- "stroke-width": N.value.style.chart.layout.pointer.circle.strokeWidth,
882
- stroke: N.value.style.chart.layout.pointer.circle.stroke
883
- }, null, 8, ht)], 64)) : m("", !0),
884
- N.value.style.chart.legend.show ? (x(), h("text", {
885
- key: 11,
886
- x: z.value.width / 2,
887
- y: J.value.ratingBase,
888
- "text-anchor": "middle",
889
- "font-size": z.value.legendFontSize,
890
- "font-weight": "bold",
891
- fill: N.value.style.chart.legend.useRatingColor ? qt.value : N.value.style.chart.legend.color
892
- }, T(E(u)(N.value.style.chart.legend.formatter, H.value, E(i)({
893
- p: N.value.style.chart.legend.prefix + (N.value.style.chart.legend.showPlusSymbol && H.value > 0 ? "+" : ""),
894
- v: H.value,
895
- s: N.value.style.chart.legend.suffix,
896
- r: N.value.style.chart.legend.roundingValue
897
- }))), 9, gt)) : m("", !0),
898
- w(e.$slots, "svg", { svg: {
899
- ...z.value,
900
- isPrintingImg: E(Bt) || E(Vt) || j.value,
901
- isPrintingSvg: M.value
902
- } }, void 0, !0)
903
- ], 14, ze)),
904
- e.$slots.watermark ? (x(), h("div", _t, [w(e.$slots, "watermark", b(v({ isPrinting: E(Bt) || E(Vt) || j.value || M.value })), void 0, !0)])) : m("", !0),
905
- g("div", {
906
- ref_key: "chartLegend",
907
- ref: kt
908
- }, [w(e.$slots, "legend", { legend: L.value }, void 0, !0)], 512),
909
- e.$slots.source ? (x(), h("div", {
910
- key: 5,
911
- ref_key: "source",
912
- ref: At,
913
- dir: "auto"
914
- }, [w(e.$slots, "source", {}, void 0, !0)], 512)) : m("", !0),
915
- w(e.$slots, "skeleton", {}, () => [E(Ft) ? (x(), p(pe, { key: 0 })) : m("", !0)], !0)
916
- ], 46, Le));
917
- }
918
- }, [["__scopeId", "data-v-a2cc058b"]]);
919
- //#endregion
920
- export { Ie as n, vt as t };