vue-data-ui 3.19.9 → 3.20.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 (326) hide show
  1. package/dist/{A11yDataTable-q2-8fSlJ.js → A11yDataTable-BCbtxMU6.js} +1 -1
  2. package/dist/{Arrow-Cj6W6Xbi.js → Arrow-D6j6ocXm.js} +1 -1
  3. package/dist/{BaseDraggableDialog-DUUu2E2Q.js → BaseDraggableDialog-4hDW-Rj2.js} +4 -4
  4. package/dist/{BaseIcon-DM1x8hQF.js → BaseIcon-DfLoHNUj.js} +3 -3
  5. package/dist/{BaseLegendToggle-CJTwLGXL.js → BaseLegendToggle-C_Db-y7s.js} +2 -2
  6. package/dist/{BaseScanner-C7dmAref.js → BaseScanner-Dr2a1Msy.js} +1 -1
  7. package/dist/{BaseZoomControls-BkajQ8q9.js → BaseZoomControls-CG7hI_1P.js} +3 -3
  8. package/dist/{ColorPicker-DTQeqKUV.js → ColorPicker-Bjwxnvfh.js} +4 -4
  9. package/dist/{DataTable-DmE8Oo4i.js → DataTable-B--IN22e.js} +3 -3
  10. package/dist/{Legend-Gg5Q4Clb.js → Legend-Cz2uQ5gs.js} +4 -4
  11. package/dist/{NonSvgPenAndPaper-tvWXeCsd.js → NonSvgPenAndPaper-gLNJ1Lmr.js} +28 -28
  12. package/dist/{PackageVersion-Dl9W5zJD.js → PackageVersion-xcyrdRmY.js} +2 -2
  13. package/dist/{PenAndPaper-DNgm6y3l.js → PenAndPaper-DqrClVfb.js} +11 -11
  14. package/dist/{Shape-DEGOZ6GG.js → Shape-BPCJfphn.js} +1 -1
  15. package/dist/{Slicer-CPWGgGSp.js → Slicer-SHBj0VaV.js} +19 -19
  16. package/dist/{SlicerPreview-BU3ZeHjR.js → SlicerPreview-DdihbUSJ.js} +474 -361
  17. package/dist/{SparkTooltip-c2DL7gqD.js → SparkTooltip-CfE6yCad.js} +7 -7
  18. package/dist/{Title-__gWq2g6.js → Title-NWp4qB4K.js} +2 -2
  19. package/dist/{Tooltip-CuWEYGr3.js → Tooltip-BENq327o.js} +1 -1
  20. package/dist/{UserOptions-D7zR0tnR.js → UserOptions-C1NgoGu6.js} +5 -5
  21. package/dist/components/arrow.js +1 -1
  22. package/dist/components/vue-ui-3d-bar.js +1 -1
  23. package/dist/components/vue-ui-accordion.js +1 -1
  24. package/dist/components/vue-ui-age-pyramid.js +1 -1
  25. package/dist/components/vue-ui-annotator.js +1 -1
  26. package/dist/components/vue-ui-bullet.js +1 -1
  27. package/dist/components/vue-ui-bump.js +1 -1
  28. package/dist/components/vue-ui-candlestick.js +1 -1
  29. package/dist/components/vue-ui-carousel-table.js +1 -1
  30. package/dist/components/vue-ui-chestnut.js +1 -1
  31. package/dist/components/vue-ui-chord.js +1 -1
  32. package/dist/components/vue-ui-circle-pack.js +1 -1
  33. package/dist/components/vue-ui-cursor.js +1 -1
  34. package/dist/components/vue-ui-dag.js +1 -1
  35. package/dist/components/vue-ui-dashboard.js +1 -1
  36. package/dist/components/vue-ui-digits.js +1 -1
  37. package/dist/components/vue-ui-donut-evolution.js +1 -1
  38. package/dist/components/vue-ui-donut.js +1 -1
  39. package/dist/components/vue-ui-dumbbell.js +1 -1
  40. package/dist/components/vue-ui-flow.js +1 -1
  41. package/dist/components/vue-ui-funnel.js +1 -1
  42. package/dist/components/vue-ui-galaxy.js +1 -1
  43. package/dist/components/vue-ui-gauge.js +1 -1
  44. package/dist/components/vue-ui-geo.js +1 -1
  45. package/dist/components/vue-ui-gizmo.js +1 -1
  46. package/dist/components/vue-ui-heatmap.js +1 -1
  47. package/dist/components/vue-ui-history-plot.js +1 -1
  48. package/dist/components/vue-ui-horizontal-bar.js +1 -1
  49. package/dist/components/vue-ui-icon.js +1 -1
  50. package/dist/components/vue-ui-kpi.js +1 -1
  51. package/dist/components/vue-ui-mini-loader.js +1 -1
  52. package/dist/components/vue-ui-molecule.js +1 -1
  53. package/dist/components/vue-ui-mood-radar.js +1 -1
  54. package/dist/components/vue-ui-nested-donuts.js +1 -1
  55. package/dist/components/vue-ui-onion.js +1 -1
  56. package/dist/components/vue-ui-parallel-coordinate-plot.js +1 -1
  57. package/dist/components/vue-ui-pattern-seed.js +1 -1
  58. package/dist/components/vue-ui-pattern.js +1 -1
  59. package/dist/components/vue-ui-quadrant.js +1 -1
  60. package/dist/components/vue-ui-quick-chart.js +1 -1
  61. package/dist/components/vue-ui-radar.js +1 -1
  62. package/dist/components/vue-ui-rating.js +1 -1
  63. package/dist/components/vue-ui-relation-circle.js +1 -1
  64. package/dist/components/vue-ui-ridgeline.js +1 -1
  65. package/dist/components/vue-ui-rings.js +1 -1
  66. package/dist/components/vue-ui-scatter.js +1 -1
  67. package/dist/components/vue-ui-skeleton.js +1 -1
  68. package/dist/components/vue-ui-smiley.js +1 -1
  69. package/dist/components/vue-ui-spark-trend.js +1 -1
  70. package/dist/components/vue-ui-sparkbar.js +1 -1
  71. package/dist/components/vue-ui-sparkgauge.js +1 -1
  72. package/dist/components/vue-ui-sparkhistogram.js +1 -1
  73. package/dist/components/vue-ui-sparkline.js +1 -1
  74. package/dist/components/vue-ui-sparkstackbar.js +1 -1
  75. package/dist/components/vue-ui-stackbar.js +1 -1
  76. package/dist/components/vue-ui-stackline.js +1 -1
  77. package/dist/components/vue-ui-strip-plot.js +1 -1
  78. package/dist/components/vue-ui-table-heatmap.js +1 -1
  79. package/dist/components/vue-ui-table-sparkline.js +1 -1
  80. package/dist/components/vue-ui-table.js +1 -1
  81. package/dist/components/vue-ui-thermometer.js +1 -1
  82. package/dist/components/vue-ui-timer.js +1 -1
  83. package/dist/components/vue-ui-tiremarks.js +1 -1
  84. package/dist/components/vue-ui-treemap.js +1 -1
  85. package/dist/components/vue-ui-vertical-bar.js +1 -1
  86. package/dist/components/vue-ui-waffle.js +1 -1
  87. package/dist/components/vue-ui-wheel.js +1 -1
  88. package/dist/components/vue-ui-word-cloud.js +1 -1
  89. package/dist/components/vue-ui-world.js +1 -1
  90. package/dist/components/vue-ui-xy-canvas.js +1 -1
  91. package/dist/components/vue-ui-xy.js +1 -1
  92. package/dist/{dom-to-png-9WSt6hXe.js → dom-to-png-BYtB4BF3.js} +1 -1
  93. package/dist/exposedLib-CI8ji8G-.js +19 -0
  94. package/dist/{geoProjections-CQIkC70z.js → geoProjections-Czak6Jn1.js} +3 -4
  95. package/dist/{img-BjOr008R.js → img-1cKsci8e.js} +2 -2
  96. package/dist/{labelUtils-Cr97N8E1.js → labelUtils-CUctkYoA.js} +1 -1
  97. package/dist/{lib-BkiwukKO.js → lib-DUeYQsS0.js} +4 -1
  98. package/dist/{pdf-DSXSFUnK.js → pdf-D0eZ99cP.js} +1 -1
  99. package/dist/style.css +1 -1
  100. package/dist/types/vue-data-ui.d.ts +1557 -193
  101. package/dist/types/vue-ui-3d-bar.d.ts +16 -1
  102. package/dist/types/vue-ui-age-pyramid.d.ts +14 -1
  103. package/dist/types/vue-ui-annotator.d.ts +28 -6
  104. package/dist/types/vue-ui-bullet.d.ts +14 -1
  105. package/dist/types/vue-ui-bump.d.ts +16 -1
  106. package/dist/types/vue-ui-candlestick.d.ts +16 -3
  107. package/dist/types/vue-ui-carousel-table.d.ts +14 -1
  108. package/dist/types/vue-ui-chestnut.d.ts +20 -1
  109. package/dist/types/vue-ui-chord.d.ts +20 -1
  110. package/dist/types/vue-ui-circle-pack.d.ts +16 -1
  111. package/dist/types/vue-ui-dag.d.ts +20 -1
  112. package/dist/types/vue-ui-dashboard.d.ts +16 -1
  113. package/dist/types/vue-ui-donut-evolution.d.ts +16 -1
  114. package/dist/types/vue-ui-donut.d.ts +18 -1
  115. package/dist/types/vue-ui-dumbbell.d.ts +16 -1
  116. package/dist/types/vue-ui-flow.d.ts +14 -1
  117. package/dist/types/vue-ui-funnel.d.ts +14 -1
  118. package/dist/types/vue-ui-galaxy.d.ts +18 -1
  119. package/dist/types/vue-ui-gauge.d.ts +14 -1
  120. package/dist/types/vue-ui-geo.d.ts +14 -1
  121. package/dist/types/vue-ui-heatmap.d.ts +16 -1
  122. package/dist/types/vue-ui-history-plot.d.ts +18 -1
  123. package/dist/types/vue-ui-horizontal-bar.d.ts +18 -1
  124. package/dist/types/vue-ui-molecule.d.ts +16 -1
  125. package/dist/types/vue-ui-mood-radar.d.ts +14 -1
  126. package/dist/types/vue-ui-nested-donuts.d.ts +18 -1
  127. package/dist/types/vue-ui-onion.d.ts +16 -1
  128. package/dist/types/vue-ui-parallel-coordinate-plot.d.ts +18 -1
  129. package/dist/types/vue-ui-quadrant.d.ts +24 -1
  130. package/dist/types/vue-ui-quick-chart.d.ts +20 -1
  131. package/dist/types/vue-ui-radar.d.ts +16 -1
  132. package/dist/types/vue-ui-rating.d.ts +12 -1
  133. package/dist/types/vue-ui-relation-circle.d.ts +14 -1
  134. package/dist/types/vue-ui-ridgeline.d.ts +22 -1
  135. package/dist/types/vue-ui-rings.d.ts +16 -1
  136. package/dist/types/vue-ui-scatter.d.ts +16 -1
  137. package/dist/types/vue-ui-smiley.d.ts +22 -6
  138. package/dist/types/vue-ui-sparkbar.d.ts +14 -1
  139. package/dist/types/vue-ui-sparkhistogram.d.ts +14 -1
  140. package/dist/types/vue-ui-sparkline.d.ts +16 -1
  141. package/dist/types/vue-ui-sparkstackbar.d.ts +16 -1
  142. package/dist/types/vue-ui-stackbar.d.ts +22 -1
  143. package/dist/types/vue-ui-stackline.d.ts +22 -1
  144. package/dist/types/vue-ui-strip-plot.d.ts +16 -1
  145. package/dist/types/vue-ui-table-sparkline.d.ts +14 -1
  146. package/dist/types/vue-ui-table.d.ts +17 -4
  147. package/dist/types/vue-ui-thermometer.d.ts +14 -1
  148. package/dist/types/vue-ui-timer.d.ts +14 -1
  149. package/dist/types/vue-ui-tiremarks.d.ts +14 -1
  150. package/dist/types/vue-ui-treemap.d.ts +18 -1
  151. package/dist/types/vue-ui-waffle.d.ts +16 -1
  152. package/dist/types/vue-ui-wheel.d.ts +14 -1
  153. package/dist/types/vue-ui-word-cloud.d.ts +14 -1
  154. package/dist/types/vue-ui-world.d.ts +18 -1
  155. package/dist/types/vue-ui-xy-canvas.d.ts +18 -1
  156. package/dist/types/vue-ui-xy.d.ts +22 -1
  157. package/dist/{useAutoSizeLabelsInsideViewbox-dp-3Gg97.js → useAutoSizeLabelsInsideViewbox-BIVntRZp.js} +1 -1
  158. package/dist/{useConfig-ByaaSKhz.js → useConfig-DAyQk86L.js} +9 -1
  159. package/dist/{useNestedProp-Ck4hsrpu.js → useNestedProp-CNcoy38D.js} +2 -2
  160. package/dist/{useObjectBindings-BR1sGimd.js → useObjectBindings-BI7hP-BC.js} +53 -53
  161. package/dist/{usePrinter-X0yWOynH.js → usePrinter-C1Gqt_Sp.js} +2 -2
  162. package/dist/utils.js +4 -4
  163. package/dist/{vue-data-ui-nsosW-n5.js → vue-data-ui-qpQv-4uP.js} +69 -69
  164. package/dist/vue-data-ui.js +75 -75
  165. package/dist/{vue-ui-3d-bar-CTvvvgBE.js → vue-ui-3d-bar-C8cputoI.js} +312 -312
  166. package/dist/{vue-ui-accordion-BX9WL-QF.js → vue-ui-accordion-Dw4MHKVB.js} +6 -6
  167. package/dist/vue-ui-age-pyramid-Cv2Ndbb5.js +1238 -0
  168. package/dist/{vue-ui-annotator-Be3VpH8Z.js → vue-ui-annotator-DLPUAKlm.js} +66 -66
  169. package/dist/vue-ui-bullet-DLxmtMJ9.js +710 -0
  170. package/dist/{vue-ui-bump-LQuPTOlm.js → vue-ui-bump-DVaqtZbd.js} +260 -260
  171. package/dist/{vue-ui-candlestick-BeO06tlH.js → vue-ui-candlestick-CkApimw1.js} +81 -81
  172. package/dist/vue-ui-carousel-table-CbfIBWl3.js +455 -0
  173. package/dist/vue-ui-chestnut-CQT4nCFL.js +2010 -0
  174. package/dist/vue-ui-chord-8IjSrg6f.js +1391 -0
  175. package/dist/{vue-ui-circle-pack-DyTYvEg3.js → vue-ui-circle-pack-B1CpTtpw.js} +51 -51
  176. package/dist/{vue-ui-cursor-C5_wkWul.js → vue-ui-cursor-NaTj5i2-.js} +6 -6
  177. package/dist/{vue-ui-dag-mH0baWM3.js → vue-ui-dag-DH4ocx0S.js} +46 -46
  178. package/dist/{vue-ui-dashboard-F7pEuJDh.js → vue-ui-dashboard-Ckff1yim.js} +73 -73
  179. package/dist/{vue-ui-digits-BYBtwXy_.js → vue-ui-digits-DwLlJqbW.js} +6 -6
  180. package/dist/vue-ui-donut-DQdIdwRU.js +2410 -0
  181. package/dist/{vue-ui-donut-evolution-C46h0gLy.js → vue-ui-donut-evolution-MfM5kK6w.js} +417 -417
  182. package/dist/vue-ui-dumbbell-B2T4vlK-.js +1530 -0
  183. package/dist/{vue-ui-flow-BYYyk5KL.js → vue-ui-flow-CJh6f72m.js} +107 -107
  184. package/dist/vue-ui-funnel-C9gfXNCr.js +777 -0
  185. package/dist/{vue-ui-galaxy-D061gTYS.js → vue-ui-galaxy-pBR_FESJ.js} +302 -302
  186. package/dist/vue-ui-gauge-CAemxCGl.js +920 -0
  187. package/dist/{vue-ui-geo-BwOMFUVr.js → vue-ui-geo-BDQqaukJ.js} +35 -35
  188. package/dist/{vue-ui-gizmo-CQsP8Nd3.js → vue-ui-gizmo-B1ppjqPj.js} +63 -63
  189. package/dist/{vue-ui-heatmap-DOsulVoP.js → vue-ui-heatmap-BiC9xp8L.js} +259 -259
  190. package/dist/vue-ui-history-plot-iAPjlOja.js +1554 -0
  191. package/dist/vue-ui-horizontal-bar-CcgClgLg.js +1681 -0
  192. package/dist/{vue-ui-kpi-CE-JFZ1o.js → vue-ui-kpi-CJ5oyYLS.js} +6 -6
  193. package/dist/{vue-ui-mini-loader-DDJUya9e.js → vue-ui-mini-loader-CyqBt2g4.js} +5 -5
  194. package/dist/vue-ui-molecule-Cg9ZHa6b.js +925 -0
  195. package/dist/{vue-ui-mood-radar-B29gVcTN.js → vue-ui-mood-radar-N8osOTFR.js} +36 -36
  196. package/dist/vue-ui-nested-donuts-CwH3wKgX.js +1487 -0
  197. package/dist/{vue-ui-onion-MN-PjNJq.js → vue-ui-onion-C56gFjO6.js} +294 -294
  198. package/dist/{vue-ui-parallel-coordinate-plot-C9zU7MP5.js → vue-ui-parallel-coordinate-plot-C-jj819p.js} +123 -128
  199. package/dist/{vue-ui-pattern-seed-abRweCDE.js → vue-ui-pattern-seed-BB1honLm.js} +1 -1
  200. package/dist/{vue-ui-quadrant-h-QFG9O4.js → vue-ui-quadrant-DYc9xZY3.js} +443 -443
  201. package/dist/{vue-ui-quick-chart-PAVz4c9z.js → vue-ui-quick-chart-BG7kK_-q.js} +193 -193
  202. package/dist/{vue-ui-radar-D2pVd53z.js → vue-ui-radar-CgKog9Xw.js} +77 -77
  203. package/dist/{vue-ui-rating-D_QR_A3V.js → vue-ui-rating-BG4lf1z8.js} +41 -41
  204. package/dist/vue-ui-relation-circle-D-rUk-0P.js +924 -0
  205. package/dist/{vue-ui-ridgeline-DamvqiyJ.js → vue-ui-ridgeline-DPrlVJTW.js} +376 -376
  206. package/dist/{vue-ui-rings-DkHS5dwd.js → vue-ui-rings-CIvvHHsF.js} +107 -107
  207. package/dist/vue-ui-scatter-CeBQJbGx.js +2413 -0
  208. package/dist/{vue-ui-skeleton-zhkS1cmh.js → vue-ui-skeleton-BKoa_G6d.js} +44 -44
  209. package/dist/{vue-ui-smiley-rFdGxZK6.js → vue-ui-smiley-G89TxRU-.js} +14 -14
  210. package/dist/{vue-ui-spark-trend-fQ10-UvM.js → vue-ui-spark-trend-DGOrPr9I.js} +121 -121
  211. package/dist/{vue-ui-sparkbar-D5toou8V.js → vue-ui-sparkbar-BVumo-YD.js} +107 -107
  212. package/dist/{vue-ui-sparkgauge-DRZcIPYf.js → vue-ui-sparkgauge-BoCwdQcu.js} +56 -56
  213. package/dist/{vue-ui-sparkhistogram-YizEqFdN.js → vue-ui-sparkhistogram-4qXY1LXW.js} +112 -112
  214. package/dist/vue-ui-sparkline-C0kzXrwI.js +1507 -0
  215. package/dist/vue-ui-sparkstackbar-DG7hz_KM.js +662 -0
  216. package/dist/{vue-ui-stackbar-BFLCEsRk.js → vue-ui-stackbar-Dnq4l5xs.js} +296 -293
  217. package/dist/vue-ui-stackline-CaNOHQYl.js +2398 -0
  218. package/dist/{vue-ui-strip-plot-ByaDLFSL.js → vue-ui-strip-plot-D2CcJw_5.js} +79 -79
  219. package/dist/{vue-ui-table-DuA_CfGn.js → vue-ui-table-NBQrkVnO.js} +84 -84
  220. package/dist/{vue-ui-table-heatmap-BFKyJTr1.js → vue-ui-table-heatmap-CCGjbSzQ.js} +22 -22
  221. package/dist/{vue-ui-table-sparkline-Dfei_QrJ.js → vue-ui-table-sparkline-BZDkOEEl.js} +125 -125
  222. package/dist/vue-ui-thermometer-BXyHOQ7T.js +763 -0
  223. package/dist/{vue-ui-timer-9LNNDl4q.js → vue-ui-timer-CcLK1wbi.js} +29 -29
  224. package/dist/{vue-ui-tiremarks-kF0Baqia.js → vue-ui-tiremarks-B6txvBg-.js} +25 -25
  225. package/dist/{vue-ui-treemap-BexKMBhz.js → vue-ui-treemap-O3SBpD3K.js} +416 -416
  226. package/dist/{vue-ui-waffle-Dq50j_uw.js → vue-ui-waffle-DN5zG3b0.js} +289 -289
  227. package/dist/{vue-ui-wheel-BETHlWsO.js → vue-ui-wheel-CxnJGXkX.js} +134 -134
  228. package/dist/{vue-ui-word-cloud-D1AQtzmT.js → vue-ui-word-cloud-CM5yPCXb.js} +54 -54
  229. package/dist/{vue-ui-world-CcgbuSp_.js → vue-ui-world-DCPgXKxh.js} +447 -447
  230. package/dist/{vue-ui-xy-canvas-4ABYnasj.js → vue-ui-xy-canvas-BUPnRZ3C.js} +89 -88
  231. package/dist/vue-ui-xy-lfMIx0wK.js +4578 -0
  232. package/dist/{vue_ui_3d_bar-CXKqO5Ej.js → vue_ui_3d_bar-C4R7o-yX.js} +1 -1
  233. package/dist/{vue_ui_age_pyramid-BON8QI6X.js → vue_ui_age_pyramid-BY6c-oX_.js} +1 -1
  234. package/dist/{vue_ui_bullet-CE5sFT7u.js → vue_ui_bullet-ClzdLoOv.js} +1 -1
  235. package/dist/{vue_ui_bump-frnXaXul.js → vue_ui_bump-Vl-zYAtG.js} +1 -1
  236. package/dist/{vue_ui_candlestick-sY6UtOop.js → vue_ui_candlestick-J8jmJvxP.js} +1 -1
  237. package/dist/{vue_ui_chestnut-BiUZFv40.js → vue_ui_chestnut-D2oUhad6.js} +1 -1
  238. package/dist/{vue_ui_chord-DpyR_b9A.js → vue_ui_chord-DPfS1Umc.js} +1 -1
  239. package/dist/{vue_ui_circle_pack-FjH0ZQeb.js → vue_ui_circle_pack-DZC_rdfn.js} +1 -1
  240. package/dist/{vue_ui_dag-Ci_MOnvd.js → vue_ui_dag-TsJ_azQq.js} +1 -1
  241. package/dist/{vue_ui_donut-Cx2_BGcQ.js → vue_ui_donut-BDGqG07h.js} +1 -1
  242. package/dist/{vue_ui_donut_evolution-CAJefrHs.js → vue_ui_donut_evolution-D1yAAIHr.js} +1 -1
  243. package/dist/{vue_ui_dumbbell-CClzAZTN.js → vue_ui_dumbbell-Bfe_jFyi.js} +1 -1
  244. package/dist/{vue_ui_flow-CCHO1Lo9.js → vue_ui_flow-BewZjjKG.js} +1 -1
  245. package/dist/{vue_ui_funnel-h8q2mRpC.js → vue_ui_funnel-_Og4EEkO.js} +1 -1
  246. package/dist/{vue_ui_galaxy-70vtkEBw.js → vue_ui_galaxy-Ig0cc1_h.js} +1 -1
  247. package/dist/{vue_ui_gauge-C17CgfzN.js → vue_ui_gauge-Cf1RZc9q.js} +1 -1
  248. package/dist/{vue_ui_geo-C0UbQ0Lc.js → vue_ui_geo-B8TODs-G.js} +1 -1
  249. package/dist/{vue_ui_heatmap-BqPP3J4M.js → vue_ui_heatmap-B2BBBSWG.js} +1 -1
  250. package/dist/{vue_ui_history_plot-C5nytDHh.js → vue_ui_history_plot-CuN63VEc.js} +1 -1
  251. package/dist/{vue_ui_horizontal_bar-Bqxorkc_.js → vue_ui_horizontal_bar-C4J4QzXf.js} +1 -1
  252. package/dist/{vue_ui_molecule-Dka4JBOp.js → vue_ui_molecule-CO9L59SF.js} +1 -1
  253. package/dist/{vue_ui_mood_radar-Dg4ijm53.js → vue_ui_mood_radar-BA6LAKhk.js} +1 -1
  254. package/dist/{vue_ui_nested_donuts-BY9cOoHF.js → vue_ui_nested_donuts-B8csIoVO.js} +1 -1
  255. package/dist/{vue_ui_onion-DTV9cup-.js → vue_ui_onion-1FTFFS46.js} +1 -1
  256. package/dist/{vue_ui_parallel_coordinate_plot-CNWrDh96.js → vue_ui_parallel_coordinate_plot-CBiOBira.js} +1 -1
  257. package/dist/{vue_ui_quadrant-3kjYvxpj.js → vue_ui_quadrant-CDSTKTJz.js} +1 -1
  258. package/dist/{vue_ui_quick_chart--VaYQuM4.js → vue_ui_quick_chart-mZBdml3Z.js} +1 -1
  259. package/dist/{vue_ui_radar-Dxx9GJmj.js → vue_ui_radar-jafTED5j.js} +1 -1
  260. package/dist/{vue_ui_relation_circle-Cr0I2SoU.js → vue_ui_relation_circle-D0p4mXmv.js} +1 -1
  261. package/dist/{vue_ui_ridgeline-CAtYca4b.js → vue_ui_ridgeline-VM8_mx4J.js} +1 -1
  262. package/dist/{vue_ui_rings-DXC1VeX5.js → vue_ui_rings-BVgD2aMn.js} +1 -1
  263. package/dist/{vue_ui_scatter-D2S2j0ap.js → vue_ui_scatter-I0POnicu.js} +1 -1
  264. package/dist/{vue_ui_spark_trend-BHMQ6_1p.js → vue_ui_spark_trend-DxVmpkmC.js} +1 -1
  265. package/dist/{vue_ui_sparkbar-BR6hbuDE.js → vue_ui_sparkbar-z6qO--Kf.js} +1 -1
  266. package/dist/{vue_ui_sparkgauge-xfPRHnMv.js → vue_ui_sparkgauge-BX1MS3bA.js} +1 -1
  267. package/dist/{vue_ui_sparkhistogram-CJRENZ1C.js → vue_ui_sparkhistogram-BRgvKUH6.js} +1 -1
  268. package/dist/{vue_ui_sparkline-wgk7yO7E.js → vue_ui_sparkline-auZhap6Y.js} +1 -1
  269. package/dist/{vue_ui_sparkstackbar-C5qZMmAl.js → vue_ui_sparkstackbar-BOjuQnZd.js} +1 -1
  270. package/dist/{vue_ui_stackbar-BW_C3MXw.js → vue_ui_stackbar-COOrQQdK.js} +1 -1
  271. package/dist/{vue_ui_stackline-DXxzibUd.js → vue_ui_stackline-DQqKPA9z.js} +1 -1
  272. package/dist/{vue_ui_strip_plot-8ZelqC5b.js → vue_ui_strip_plot-CtJe8_gq.js} +1 -1
  273. package/dist/{vue_ui_table_heatmap-BGUjA0WA.js → vue_ui_table_heatmap-w8vx5k6f.js} +1 -1
  274. package/dist/{vue_ui_table_sparkline-i0Q-N_we.js → vue_ui_table_sparkline-DAbkUrNz.js} +1 -1
  275. package/dist/{vue_ui_thermometer-CuN7Gpez.js → vue_ui_thermometer-DxgqWKlE.js} +1 -1
  276. package/dist/{vue_ui_tiremarks-A6UHC0c3.js → vue_ui_tiremarks-CdEPieWV.js} +1 -1
  277. package/dist/{vue_ui_treemap-BQp06q-g.js → vue_ui_treemap-DoEtkRN6.js} +1 -1
  278. package/dist/{vue_ui_waffle-C_Ev4l7B.js → vue_ui_waffle-DIARFc7g.js} +1 -1
  279. package/dist/{vue_ui_wheel-DdkTPXJU.js → vue_ui_wheel-DZ_nR--t.js} +1 -1
  280. package/dist/{vue_ui_word_cloud-B1PbsYPc.js → vue_ui_word_cloud-C-qIMNLu.js} +1 -1
  281. package/dist/{vue_ui_xy-BYPqfYyx.js → vue_ui_xy-BLUkWEAm.js} +1 -1
  282. package/dist/{vue_ui_xy_canvas-CMHGNrLf.js → vue_ui_xy_canvas-Cb6dg3eK.js} +1 -1
  283. package/package.json +6 -6
  284. package/dist/exposedLib-CwWU4zv-.js +0 -19
  285. package/dist/vue-ui-age-pyramid-ckZtLlmH.js +0 -1238
  286. package/dist/vue-ui-bullet-3CkhGOSb.js +0 -710
  287. package/dist/vue-ui-carousel-table-nZJ1k6se.js +0 -455
  288. package/dist/vue-ui-chestnut-BWItE1hg.js +0 -2010
  289. package/dist/vue-ui-chord-YflKRyWK.js +0 -1391
  290. package/dist/vue-ui-donut-B3L7jeHL.js +0 -2410
  291. package/dist/vue-ui-dumbbell-xekp1obI.js +0 -1527
  292. package/dist/vue-ui-funnel-BfY509t-.js +0 -777
  293. package/dist/vue-ui-gauge-BRxZNBBS.js +0 -920
  294. package/dist/vue-ui-history-plot-CXW6lF42.js +0 -1559
  295. package/dist/vue-ui-horizontal-bar-CideXtlg.js +0 -1681
  296. package/dist/vue-ui-molecule-B1Prm5Lk.js +0 -925
  297. package/dist/vue-ui-nested-donuts-Bsx5f9Gv.js +0 -1487
  298. package/dist/vue-ui-relation-circle-BjB0J53V.js +0 -924
  299. package/dist/vue-ui-scatter-dFDowCVQ.js +0 -2413
  300. package/dist/vue-ui-sparkline-w2nclIW0.js +0 -1507
  301. package/dist/vue-ui-sparkstackbar-CTShNXhW.js +0 -662
  302. package/dist/vue-ui-stackline-CU6s-hhv.js +0 -2395
  303. package/dist/vue-ui-thermometer-biw3ivMI.js +0 -763
  304. package/dist/vue-ui-xy-BQ1YONCq.js +0 -4219
  305. /package/dist/{RecursiveCircles-DPpLel6f.js → RecursiveCircles-D6aDPmoe.js} +0 -0
  306. /package/dist/{RecursiveLabels-DBMJf_to.js → RecursiveLabels-D9rfID6q.js} +0 -0
  307. /package/dist/{RecursiveLinks-D06dBL4a.js → RecursiveLinks-BygcpDiT.js} +0 -0
  308. /package/dist/{_plugin-vue_export-helper-Dq1MygBL.js → _plugin-vue_export-helper-B3ysoDQm.js} +0 -0
  309. /package/dist/{canvas-lib-DTaADQOK.js → canvas-lib-BOP_HS11.js} +0 -0
  310. /package/dist/{patternUtils-B7BWu5bV.js → patternUtils-CS7hn6at.js} +0 -0
  311. /package/dist/{rolldown-runtime-CAFD8bLK.js → rolldown-runtime-Dy4uBu1J.js} +0 -0
  312. /package/dist/{useChartAccessibility-Do37qcw2.js → useChartAccessibility-DYqac8yF.js} +0 -0
  313. /package/dist/{useFitSvgText-C-MEdAfe.js → useFitSvgText-CT3nmlaS.js} +0 -0
  314. /package/dist/{usePanZoom-B-4M_gmY.js → usePanZoom-CYU3B4T3.js} +0 -0
  315. /package/dist/{usePrefersMotion-BywLbIko.js → usePrefersMotion-BC-CsqR1.js} +0 -0
  316. /package/dist/{useResponsive-CrAInupd.js → useResponsive-BfnK0KxU.js} +0 -0
  317. /package/dist/{useStableElementSize-0I1IpHPl.js → useStableElementSize-C7KADDKj.js} +0 -0
  318. /package/dist/{useSvgExport-Dtu973wa.js → useSvgExport-SVIsDot8.js} +0 -0
  319. /package/dist/{useTableResponsive-DrM1xqII.js → useTableResponsive-B24Uwt2E.js} +0 -0
  320. /package/dist/{useThemeCheck-rFK9Zlb_.js → useThemeCheck-C43Tcqmk.js} +0 -0
  321. /package/dist/{useTimeLabelCollider-Dm55Emzg.js → useTimeLabelCollider-AEcY4Ioe.js} +0 -0
  322. /package/dist/{useTimeLabels-C0x7zUXP.js → useTimeLabels-BmBRv27Y.js} +0 -0
  323. /package/dist/{useUserOptionState-CjPJPTg2.js → useUserOptionState-DK-_1ddE.js} +0 -0
  324. /package/dist/{vClickOutside-CbX_bC9A.js → vClickOutside-DUrZWttG.js} +0 -0
  325. /package/dist/{vue-ui-pattern-Bj-IPFr2.js → vue-ui-pattern-DKozfnVn.js} +0 -0
  326. /package/dist/{vue_ui_vertical_bar-CJSD1FZS.js → vue_ui_vertical_bar-CP-MKz1j.js} +0 -0
@@ -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 };