vue-data-ui 3.17.13 → 3.18.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (493) hide show
  1. package/README.md +1 -1
  2. package/dist/A11yDataTable-q2-8fSlJ.js +45 -0
  3. package/dist/Arrow-BU2Z7mfz.js +116 -0
  4. package/dist/BaseDraggableDialog-LE75fWYz.js +272 -0
  5. package/dist/BaseIcon-CL6Y7alf.js +499 -0
  6. package/dist/BaseLegendToggle-BvPOFMVZ.js +56 -0
  7. package/dist/BaseScanner-C7dmAref.js +27 -0
  8. package/dist/BaseZoomControls-DSwf4HhS.js +111 -0
  9. package/dist/ColorPicker-BGbMrtup.js +255 -0
  10. package/dist/DataTable-ZG4GX2Zg.js +150 -0
  11. package/dist/Legend-BPb8i4aC.js +114 -0
  12. package/dist/NonSvgPenAndPaper-BT3YMjgo.js +577 -0
  13. package/dist/PackageVersion-B1cPtZ3Q.js +11 -0
  14. package/dist/PenAndPaper-DxBCVZAx.js +461 -0
  15. package/dist/RecursiveCircles-DPpLel6f.js +117 -0
  16. package/dist/RecursiveLabels-DBMJf_to.js +56 -0
  17. package/dist/RecursiveLinks-D06dBL4a.js +78 -0
  18. package/dist/Shape-Dbug7CtK.js +141 -0
  19. package/dist/Slicer-SEdaKYPX.js +1144 -0
  20. package/dist/SlicerPreview-BLlQTUI_.js +1523 -0
  21. package/dist/SparkTooltip-BaONR2nq.js +93 -0
  22. package/dist/Title-ByyzJzpc.js +87 -0
  23. package/dist/Tooltip-V6Z0Ko-1.js +307 -0
  24. package/dist/UserOptions-Gaw1761w.js +1407 -0
  25. package/dist/_plugin-vue_export-helper-Dq1MygBL.js +8 -0
  26. package/dist/canvas-lib-DTaADQOK.js +79 -0
  27. package/dist/components/arrow.js +2 -5
  28. package/dist/components/vue-ui-3d-bar.js +2 -5
  29. package/dist/components/vue-ui-accordion.js +2 -5
  30. package/dist/components/vue-ui-age-pyramid.js +2 -5
  31. package/dist/components/vue-ui-annotator.js +2 -5
  32. package/dist/components/vue-ui-bullet.js +2 -5
  33. package/dist/components/vue-ui-bump.js +2 -5
  34. package/dist/components/vue-ui-candlestick.js +2 -5
  35. package/dist/components/vue-ui-carousel-table.js +2 -5
  36. package/dist/components/vue-ui-chestnut.js +2 -5
  37. package/dist/components/vue-ui-chord.js +2 -5
  38. package/dist/components/vue-ui-circle-pack.js +2 -5
  39. package/dist/components/vue-ui-cursor.js +2 -5
  40. package/dist/components/vue-ui-dag.js +2 -5
  41. package/dist/components/vue-ui-dashboard.js +2 -5
  42. package/dist/components/vue-ui-digits.js +2 -5
  43. package/dist/components/vue-ui-donut-evolution.js +2 -5
  44. package/dist/components/vue-ui-donut.js +2 -5
  45. package/dist/components/vue-ui-dumbbell.js +2 -5
  46. package/dist/components/vue-ui-flow.js +2 -5
  47. package/dist/components/vue-ui-funnel.js +2 -5
  48. package/dist/components/vue-ui-galaxy.js +2 -5
  49. package/dist/components/vue-ui-gauge.js +2 -5
  50. package/dist/components/vue-ui-geo.js +2 -5
  51. package/dist/components/vue-ui-gizmo.js +2 -5
  52. package/dist/components/vue-ui-heatmap.js +2 -5
  53. package/dist/components/vue-ui-history-plot.js +2 -5
  54. package/dist/components/vue-ui-horizontal-bar.js +2 -5
  55. package/dist/components/vue-ui-icon.js +2 -5
  56. package/dist/components/vue-ui-kpi.js +2 -5
  57. package/dist/components/vue-ui-mini-loader.js +2 -5
  58. package/dist/components/vue-ui-molecule.js +2 -5
  59. package/dist/components/vue-ui-mood-radar.js +2 -5
  60. package/dist/components/vue-ui-nested-donuts.js +2 -5
  61. package/dist/components/vue-ui-onion.js +2 -5
  62. package/dist/components/vue-ui-parallel-coordinate-plot.js +2 -5
  63. package/dist/components/vue-ui-pattern-seed.js +2 -5
  64. package/dist/components/vue-ui-pattern.js +2 -5
  65. package/dist/components/vue-ui-quadrant.js +2 -5
  66. package/dist/components/vue-ui-quick-chart.js +2 -5
  67. package/dist/components/vue-ui-radar.js +2 -5
  68. package/dist/components/vue-ui-rating.js +2 -5
  69. package/dist/components/vue-ui-relation-circle.js +2 -5
  70. package/dist/components/vue-ui-ridgeline.js +2 -5
  71. package/dist/components/vue-ui-rings.js +2 -5
  72. package/dist/components/vue-ui-scatter.js +2 -5
  73. package/dist/components/vue-ui-skeleton.js +2 -5
  74. package/dist/components/vue-ui-smiley.js +2 -5
  75. package/dist/components/vue-ui-spark-trend.js +2 -5
  76. package/dist/components/vue-ui-sparkbar.js +2 -5
  77. package/dist/components/vue-ui-sparkgauge.js +2 -5
  78. package/dist/components/vue-ui-sparkhistogram.js +2 -5
  79. package/dist/components/vue-ui-sparkline.js +2 -5
  80. package/dist/components/vue-ui-sparkstackbar.js +2 -5
  81. package/dist/components/vue-ui-stackbar.js +2 -5
  82. package/dist/components/vue-ui-stackline.js +2 -5
  83. package/dist/components/vue-ui-strip-plot.js +2 -5
  84. package/dist/components/vue-ui-table-heatmap.js +2 -5
  85. package/dist/components/vue-ui-table-sparkline.js +2 -5
  86. package/dist/components/vue-ui-table.js +2 -5
  87. package/dist/components/vue-ui-thermometer.js +2 -5
  88. package/dist/components/vue-ui-timer.js +2 -5
  89. package/dist/components/vue-ui-tiremarks.js +2 -5
  90. package/dist/components/vue-ui-treemap.js +2 -5
  91. package/dist/components/vue-ui-vertical-bar.js +2 -5
  92. package/dist/components/vue-ui-waffle.js +2 -5
  93. package/dist/components/vue-ui-wheel.js +2 -5
  94. package/dist/components/vue-ui-word-cloud.js +2 -5
  95. package/dist/components/vue-ui-world.js +2 -5
  96. package/dist/components/vue-ui-xy-canvas.js +2 -5
  97. package/dist/components/vue-ui-xy.js +2 -5
  98. package/dist/dom-to-png-C9UOX1d2.js +237 -0
  99. package/dist/exposedLib-BQjH823l.js +19 -0
  100. package/dist/geoProjections-CQIkC70z.js +146 -0
  101. package/dist/img-NMY-_LiJ.js +74 -0
  102. package/dist/labelUtils-BiSegLOT.js +19 -0
  103. package/dist/lib-B83ZCydz.js +1879 -0
  104. package/dist/patternUtils-B7BWu5bV.js +258 -0
  105. package/dist/pdf-Ey2KFETK.js +90 -0
  106. package/dist/rolldown-runtime-CAFD8bLK.js +11 -0
  107. package/dist/style.css +2 -1
  108. package/dist/types/arrow.d.ts +1 -1
  109. package/dist/types/utils.d.ts +23 -0
  110. package/dist/types/vue-data-ui.d.ts +4766 -630
  111. package/dist/types/vue-ui-3d-bar.d.ts +64 -9
  112. package/dist/types/vue-ui-accordion.d.ts +4 -3
  113. package/dist/types/vue-ui-age-pyramid.d.ts +79 -9
  114. package/dist/types/vue-ui-annotator.d.ts +3 -5
  115. package/dist/types/vue-ui-bullet.d.ts +60 -9
  116. package/dist/types/vue-ui-bump.d.ts +65 -9
  117. package/dist/types/vue-ui-candlestick.d.ts +83 -9
  118. package/dist/types/vue-ui-carousel-table.d.ts +36 -6
  119. package/dist/types/vue-ui-chestnut.d.ts +66 -9
  120. package/dist/types/vue-ui-chord.d.ts +78 -9
  121. package/dist/types/vue-ui-circle-pack.d.ts +86 -9
  122. package/dist/types/vue-ui-cursor.d.ts +4 -2
  123. package/dist/types/vue-ui-dag.d.ts +92 -9
  124. package/dist/types/vue-ui-dashboard.d.ts +43 -6
  125. package/dist/types/vue-ui-digits.d.ts +4 -2
  126. package/dist/types/vue-ui-donut-evolution.d.ts +70 -9
  127. package/dist/types/vue-ui-donut.d.ts +92 -9
  128. package/dist/types/vue-ui-dumbbell.d.ts +65 -9
  129. package/dist/types/vue-ui-flow.d.ts +79 -9
  130. package/dist/types/vue-ui-funnel.d.ts +55 -9
  131. package/dist/types/vue-ui-galaxy.d.ts +83 -9
  132. package/dist/types/vue-ui-gauge.d.ts +64 -9
  133. package/dist/types/vue-ui-geo.d.ts +71 -9
  134. package/dist/types/vue-ui-gizmo.d.ts +17 -6
  135. package/dist/types/vue-ui-heatmap.d.ts +73 -9
  136. package/dist/types/vue-ui-history-plot.d.ts +82 -9
  137. package/dist/types/vue-ui-horizontal-bar.d.ts +84 -9
  138. package/dist/types/vue-ui-icon.d.ts +2 -2
  139. package/dist/types/vue-ui-kpi.d.ts +21 -7
  140. package/dist/types/vue-ui-mini-loader.d.ts +5 -3
  141. package/dist/types/vue-ui-molecule.d.ts +86 -9
  142. package/dist/types/vue-ui-mood-radar.d.ts +66 -9
  143. package/dist/types/vue-ui-nested-donuts.d.ts +80 -9
  144. package/dist/types/vue-ui-onion.d.ts +77 -9
  145. package/dist/types/vue-ui-parallel-coordinate-plot.d.ts +92 -9
  146. package/dist/types/vue-ui-pattern-seed.d.ts +1 -1
  147. package/dist/types/vue-ui-pattern.d.ts +2 -2
  148. package/dist/types/vue-ui-quadrant.d.ts +86 -9
  149. package/dist/types/vue-ui-quick-chart.d.ts +79 -9
  150. package/dist/types/vue-ui-radar.d.ts +83 -9
  151. package/dist/types/vue-ui-rating.d.ts +22 -6
  152. package/dist/types/vue-ui-relation-circle.d.ts +66 -9
  153. package/dist/types/vue-ui-ridgeline.d.ts +69 -9
  154. package/dist/types/vue-ui-rings.d.ts +70 -9
  155. package/dist/types/vue-ui-scatter.d.ts +67 -9
  156. package/dist/types/vue-ui-skeleton.d.ts +3 -2
  157. package/dist/types/vue-ui-smiley.d.ts +3 -2
  158. package/dist/types/vue-ui-spark-trend.d.ts +14 -6
  159. package/dist/types/vue-ui-sparkbar.d.ts +27 -6
  160. package/dist/types/vue-ui-sparkgauge.d.ts +20 -6
  161. package/dist/types/vue-ui-sparkhistogram.d.ts +24 -6
  162. package/dist/types/vue-ui-sparkline.d.ts +35 -6
  163. package/dist/types/vue-ui-sparkstackbar.d.ts +35 -6
  164. package/dist/types/vue-ui-stackbar.d.ts +85 -9
  165. package/dist/types/vue-ui-stackline.d.ts +81 -9
  166. package/dist/types/vue-ui-strip-plot.d.ts +66 -9
  167. package/dist/types/vue-ui-table-heatmap.d.ts +52 -6
  168. package/dist/types/vue-ui-table-sparkline.d.ts +30 -6
  169. package/dist/types/vue-ui-table.d.ts +10 -2
  170. package/dist/types/vue-ui-thermometer.d.ts +46 -9
  171. package/dist/types/vue-ui-timer.d.ts +31 -5
  172. package/dist/types/vue-ui-tiremarks.d.ts +46 -9
  173. package/dist/types/vue-ui-treemap.d.ts +73 -9
  174. package/dist/types/vue-ui-vertical-bar.d.ts +2 -2
  175. package/dist/types/vue-ui-waffle.d.ts +72 -9
  176. package/dist/types/vue-ui-wheel.d.ts +46 -9
  177. package/dist/types/vue-ui-word-cloud.d.ts +73 -9
  178. package/dist/types/vue-ui-world.d.ts +68 -9
  179. package/dist/types/vue-ui-xy-canvas.d.ts +75 -9
  180. package/dist/types/vue-ui-xy.d.ts +108 -10
  181. package/dist/useAutoSizeLabelsInsideViewbox-De0rTecW.js +50 -0
  182. package/dist/useChartAccessibility-Do37qcw2.js +12 -0
  183. package/dist/useConfig-KnOLHtlJ.js +7419 -0
  184. package/dist/useFitSvgText-C-MEdAfe.js +63 -0
  185. package/dist/useNestedProp-CcxL1gUU.js +10 -0
  186. package/dist/useObjectBindings-Dc8Rf6Qy.js +189 -0
  187. package/dist/usePanZoom-B-4M_gmY.js +157 -0
  188. package/dist/usePrefersMotion-BywLbIko.js +15 -0
  189. package/dist/usePrinter-CMLF900n.js +49 -0
  190. package/dist/useResponsive-CrAInupd.js +19 -0
  191. package/dist/useStableElementSize-0I1IpHPl.js +77 -0
  192. package/dist/useSvgExport-Dtu973wa.js +755 -0
  193. package/dist/useTableResponsive-DrM1xqII.js +24 -0
  194. package/dist/useThemeCheck-rFK9Zlb_.js +24 -0
  195. package/dist/useTimeLabelCollider-Dm55Emzg.js +57 -0
  196. package/dist/useTimeLabels-C0x7zUXP.js +272 -0
  197. package/dist/useUserOptionState-CjPJPTg2.js +15 -0
  198. package/dist/utils.js +27 -44
  199. package/dist/vClickOutside-CbX_bC9A.js +13 -0
  200. package/dist/vue-data-ui-D1REqS_k.js +274 -0
  201. package/dist/vue-data-ui.js +76 -167
  202. package/dist/vue-ui-3d-bar-vO_kSCd6.js +1747 -0
  203. package/dist/vue-ui-accordion-Cf-jZELj.js +81 -0
  204. package/dist/vue-ui-age-pyramid-DHXhrP_3.js +1226 -0
  205. package/dist/vue-ui-annotator-B0o6czmF.js +2899 -0
  206. package/dist/vue-ui-bullet-C93-cf0H.js +700 -0
  207. package/dist/vue-ui-bump-C_Szk9AZ.js +1239 -0
  208. package/dist/vue-ui-candlestick-6JdMEJKO.js +1802 -0
  209. package/dist/vue-ui-carousel-table-CZ_HK0Iw.js +445 -0
  210. package/dist/vue-ui-chestnut-B8ixU585.js +2000 -0
  211. package/dist/vue-ui-chord-DC5sLapz.js +1381 -0
  212. package/dist/vue-ui-circle-pack-CsmSEwt3.js +1183 -0
  213. package/dist/vue-ui-cursor-B-QODIL3.js +283 -0
  214. package/dist/vue-ui-dag-C9LYfjS_.js +2899 -0
  215. package/dist/vue-ui-dashboard-D-f4ZaLi.js +503 -0
  216. package/dist/vue-ui-digits-CcB3odN7.js +209 -0
  217. package/dist/vue-ui-donut-DR0ngnZC.js +2396 -0
  218. package/dist/vue-ui-donut-evolution-BXpOscCe.js +1490 -0
  219. package/dist/vue-ui-dumbbell-CB_clJWA.js +1517 -0
  220. package/dist/vue-ui-flow-CUiOAEy1.js +1223 -0
  221. package/dist/vue-ui-funnel-BAlGDK0o.js +767 -0
  222. package/dist/vue-ui-galaxy-DbYNfSHb.js +1062 -0
  223. package/dist/vue-ui-gauge-Cie7jykM.js +910 -0
  224. package/dist/vue-ui-geo-Ce_gBRye.js +1504 -0
  225. package/dist/vue-ui-gizmo-B9POi_SN.js +225 -0
  226. package/dist/vue-ui-heatmap-DFfRSbnk.js +1556 -0
  227. package/dist/vue-ui-history-plot-DHp5WFgx.js +1551 -0
  228. package/dist/vue-ui-horizontal-bar-DI4yoARv.js +1669 -0
  229. package/dist/vue-ui-kpi-oUfso4UP.js +96 -0
  230. package/dist/vue-ui-mini-loader-aZMi1_uX.js +125 -0
  231. package/dist/vue-ui-molecule-D72kzel_.js +912 -0
  232. package/dist/vue-ui-mood-radar-Tw2ZFP7Y.js +1138 -0
  233. package/dist/vue-ui-nested-donuts-Bza1LczX.js +1472 -0
  234. package/dist/vue-ui-onion-BOuuib5d.js +1188 -0
  235. package/dist/vue-ui-parallel-coordinate-plot-BuQUq6-o.js +1413 -0
  236. package/dist/vue-ui-pattern-Bj-IPFr2.js +154 -0
  237. package/dist/vue-ui-pattern-seed-abRweCDE.js +61 -0
  238. package/dist/vue-ui-quadrant-zNFIXNt9.js +1966 -0
  239. package/dist/vue-ui-quick-chart-B1a8QVUn.js +2459 -0
  240. package/dist/vue-ui-radar-VFn-YP_2.js +1214 -0
  241. package/dist/vue-ui-rating-Dxgn21FA.js +343 -0
  242. package/dist/vue-ui-relation-circle-B0sZaCgX.js +914 -0
  243. package/dist/vue-ui-ridgeline-BsBAbg5V.js +1612 -0
  244. package/dist/vue-ui-rings-CDwUzMF-.js +1231 -0
  245. package/dist/vue-ui-scatter-Du_b-zM8.js +2380 -0
  246. package/dist/vue-ui-skeleton-BAq6J_6G.js +2556 -0
  247. package/dist/vue-ui-smiley-CoHvkS0c.js +356 -0
  248. package/dist/vue-ui-spark-trend-BmCcJ17C.js +438 -0
  249. package/dist/vue-ui-sparkbar-9z05IMx8.js +393 -0
  250. package/dist/vue-ui-sparkgauge-BlWri9DP.js +255 -0
  251. package/dist/vue-ui-sparkhistogram-CHZTt8d8.js +560 -0
  252. package/dist/vue-ui-sparkline-DirLW9Nd.js +1503 -0
  253. package/dist/vue-ui-sparkstackbar-Dk6cEI2o.js +660 -0
  254. package/dist/vue-ui-stackbar-DNIrGHkt.js +2235 -0
  255. package/dist/vue-ui-stackline-HoWn_ur2.js +2362 -0
  256. package/dist/vue-ui-strip-plot-Bi8u_fLr.js +1328 -0
  257. package/dist/vue-ui-table-XLjOOfdI.js +1338 -0
  258. package/dist/vue-ui-table-heatmap-DvnFiveI.js +334 -0
  259. package/dist/vue-ui-table-sparkline-CSZf8XxP.js +697 -0
  260. package/dist/vue-ui-thermometer-7eUO_7CP.js +753 -0
  261. package/dist/vue-ui-timer-DCbxsREb.js +439 -0
  262. package/dist/vue-ui-tiremarks-p_sfTufv.js +542 -0
  263. package/dist/vue-ui-treemap-BdZOW7TM.js +1575 -0
  264. package/dist/vue-ui-waffle-Bf9dWWCM.js +1350 -0
  265. package/dist/vue-ui-wheel-CZrIiB0K.js +875 -0
  266. package/dist/vue-ui-word-cloud-BeLjxoRe.js +1644 -0
  267. package/dist/vue-ui-world-D9ahzEQ2.js +14252 -0
  268. package/dist/vue-ui-xy-DrvbVuHO.js +4063 -0
  269. package/dist/vue-ui-xy-canvas-DU7vFrQr.js +1774 -0
  270. package/dist/vue_ui_3d_bar-CXKqO5Ej.js +185 -0
  271. package/dist/vue_ui_age_pyramid-BON8QI6X.js +301 -0
  272. package/dist/vue_ui_bullet-CE5sFT7u.js +186 -0
  273. package/dist/vue_ui_bump-frnXaXul.js +201 -0
  274. package/dist/vue_ui_candlestick-sY6UtOop.js +374 -0
  275. package/dist/vue_ui_chestnut-BiUZFv40.js +305 -0
  276. package/dist/vue_ui_chord-DpyR_b9A.js +275 -0
  277. package/dist/vue_ui_circle_pack-DBKz_Fi_.js +130 -0
  278. package/dist/vue_ui_dag-Ci_MOnvd.js +258 -0
  279. package/dist/vue_ui_donut-Cx2_BGcQ.js +358 -0
  280. package/dist/vue_ui_donut_evolution-CAJefrHs.js +717 -0
  281. package/dist/vue_ui_dumbbell-CClzAZTN.js +304 -0
  282. package/dist/vue_ui_flow-CCHO1Lo9.js +238 -0
  283. package/dist/vue_ui_funnel-h8q2mRpC.js +234 -0
  284. package/dist/vue_ui_galaxy-70vtkEBw.js +265 -0
  285. package/dist/vue_ui_gauge-C17CgfzN.js +178 -0
  286. package/dist/vue_ui_geo-C0UbQ0Lc.js +248 -0
  287. package/dist/vue_ui_heatmap-BqPP3J4M.js +319 -0
  288. package/dist/vue_ui_history_plot-C5nytDHh.js +413 -0
  289. package/dist/vue_ui_horizontal_bar-Bqxorkc_.js +341 -0
  290. package/dist/vue_ui_molecule-Dka4JBOp.js +231 -0
  291. package/dist/vue_ui_mood_radar-Dg4ijm53.js +281 -0
  292. package/dist/vue_ui_nested_donuts-BY9cOoHF.js +273 -0
  293. package/dist/vue_ui_onion-DTV9cup-.js +293 -0
  294. package/dist/vue_ui_parallel_coordinate_plot-CNWrDh96.js +278 -0
  295. package/dist/vue_ui_quadrant-3kjYvxpj.js +428 -0
  296. package/dist/vue_ui_quick_chart--VaYQuM4.js +139 -0
  297. package/dist/vue_ui_radar-Dxx9GJmj.js +306 -0
  298. package/dist/vue_ui_relation_circle-Cr0I2SoU.js +98 -0
  299. package/dist/vue_ui_ridgeline-CAtYca4b.js +767 -0
  300. package/dist/vue_ui_rings-DXC1VeX5.js +320 -0
  301. package/dist/vue_ui_scatter-D2S2j0ap.js +479 -0
  302. package/dist/vue_ui_spark_trend-BHMQ6_1p.js +82 -0
  303. package/dist/vue_ui_sparkbar-BR6hbuDE.js +64 -0
  304. package/dist/vue_ui_sparkgauge-xfPRHnMv.js +90 -0
  305. package/dist/vue_ui_sparkhistogram-CJRENZ1C.js +123 -0
  306. package/dist/vue_ui_sparkline-wgk7yO7E.js +151 -0
  307. package/dist/vue_ui_sparkstackbar-C5qZMmAl.js +175 -0
  308. package/dist/vue_ui_stackbar-BW_C3MXw.js +412 -0
  309. package/dist/vue_ui_stackline-DpI2LnjO.js +426 -0
  310. package/dist/vue_ui_strip_plot-8ZelqC5b.js +301 -0
  311. package/dist/vue_ui_table_heatmap-BGUjA0WA.js +80 -0
  312. package/dist/vue_ui_table_sparkline-i0Q-N_we.js +124 -0
  313. package/dist/vue_ui_thermometer-CuN7Gpez.js +123 -0
  314. package/dist/vue_ui_tiremarks-A6UHC0c3.js +122 -0
  315. package/dist/vue_ui_treemap-BQp06q-g.js +328 -0
  316. package/dist/vue_ui_vertical_bar-CJSD1FZS.js +247 -0
  317. package/dist/vue_ui_waffle-C_Ev4l7B.js +292 -0
  318. package/dist/vue_ui_wheel-DdkTPXJU.js +133 -0
  319. package/dist/vue_ui_word_cloud-B1PbsYPc.js +254 -0
  320. package/dist/vue_ui_xy-BYPqfYyx.js +482 -0
  321. package/dist/vue_ui_xy_canvas-CMHGNrLf.js +408 -0
  322. package/package.json +7 -7
  323. package/dist/A11yDataTable-BpmuNomI.js +0 -54
  324. package/dist/Arrow-dSvLFssU.js +0 -101
  325. package/dist/BaseDraggableDialog-Di8Hlru3.js +0 -249
  326. package/dist/BaseIcon-DX0hTWa-.js +0 -476
  327. package/dist/BaseLegendToggle-cMP8M2u0.js +0 -47
  328. package/dist/BaseScanner-C2j3TsSY.js +0 -36
  329. package/dist/BaseZoomControls-CVSC1-SU.js +0 -123
  330. package/dist/ColorPicker-bAxGcXK0.js +0 -271
  331. package/dist/DataTable-cMnb68Ik.js +0 -145
  332. package/dist/Legend-DGN5lY60.js +0 -104
  333. package/dist/NonSvgPenAndPaper-B6E0zEYe.js +0 -573
  334. package/dist/PackageVersion-BfrCAH6_.js +0 -10
  335. package/dist/PenAndPaper-CJDoB5H9.js +0 -527
  336. package/dist/RecursiveCircles-BE6GoMmo.js +0 -101
  337. package/dist/RecursiveLabels-BhQMS9Sm.js +0 -55
  338. package/dist/RecursiveLinks-BDwyYfP-.js +0 -83
  339. package/dist/Shape-CxJ5_Rre.js +0 -116
  340. package/dist/Slicer-D7UcO8sN.js +0 -1145
  341. package/dist/SlicerPreview-D_CgrN_7.js +0 -1580
  342. package/dist/SparkTooltip-D4bM-kfz.js +0 -68
  343. package/dist/Title-BbKoiBk2.js +0 -88
  344. package/dist/Tooltip-Cvt7Fi0Q.js +0 -299
  345. package/dist/UserOptions-DVduN6X7.js +0 -1474
  346. package/dist/_plugin-vue_export-helper-CHgC5LLL.js +0 -9
  347. package/dist/dom-to-png-DGvx6i5V.js +0 -262
  348. package/dist/exposedLib-sJvY1pST.js +0 -22
  349. package/dist/geoProjections-BFq2sOBY.js +0 -162
  350. package/dist/img-CjTQXS0U.js +0 -57
  351. package/dist/labelUtils-DX9oyq3C.js +0 -26
  352. package/dist/lib-DMzrGQHK.js +0 -2477
  353. package/dist/patternUtils-BINhU4Ky.js +0 -615
  354. package/dist/pdf-C4H4o1Cj.js +0 -88
  355. package/dist/useAutoSizeLabelsInsideViewbox-izlGDfwu.js +0 -55
  356. package/dist/useChartAccessibility-cp6XQtqi.js +0 -15
  357. package/dist/useConfig-CG4HT3wS.js +0 -7901
  358. package/dist/useFitSvgText-2crs6Fv5.js +0 -69
  359. package/dist/useNestedProp-DH0BEVVS.js +0 -13
  360. package/dist/useObjectBindings-Dixg-RIe.js +0 -228
  361. package/dist/usePanZoom-BbDhcKWf.js +0 -141
  362. package/dist/usePrefersMotion-Co0nj1eS.js +0 -17
  363. package/dist/usePrinter-C4t8DdQ-.js +0 -51
  364. package/dist/useResponsive-DfdjqQps.js +0 -195
  365. package/dist/useStableElementSize-C48ZVcZQ.js +0 -77
  366. package/dist/useSvgExport-BTG4hVPO.js +0 -870
  367. package/dist/useTableResponsive-BpfiEtzR.js +0 -26
  368. package/dist/useThemeCheck-C9Ccl7U9.js +0 -36
  369. package/dist/useTimeLabelCollider-D3JeJ6Ye.js +0 -86
  370. package/dist/useTimeLabels-Cv0tD9In.js +0 -307
  371. package/dist/useUserOptionState-B7Ej974k.js +0 -19
  372. package/dist/vClickOutside-C6WiFswA.js +0 -13
  373. package/dist/vue-data-ui-D1ZI7Y4l.js +0 -433
  374. package/dist/vue-ui-3d-bar-DEjKYzI5.js +0 -1824
  375. package/dist/vue-ui-accordion-DFtpH_16.js +0 -92
  376. package/dist/vue-ui-age-pyramid-LiC9hTjP.js +0 -1179
  377. package/dist/vue-ui-annotator-DrKnQoHf.js +0 -2991
  378. package/dist/vue-ui-bullet-DdxEINdq.js +0 -769
  379. package/dist/vue-ui-bump-CdgO1V7z.js +0 -1250
  380. package/dist/vue-ui-candlestick-DxJnPwto.js +0 -1775
  381. package/dist/vue-ui-carousel-table-CMefu5TI.js +0 -487
  382. package/dist/vue-ui-chestnut-BnGN72PO.js +0 -2001
  383. package/dist/vue-ui-chord-DWyar45U.js +0 -1457
  384. package/dist/vue-ui-circle-pack-CQ8vF2XH.js +0 -1076
  385. package/dist/vue-ui-cursor-HHOdkmyB.js +0 -260
  386. package/dist/vue-ui-dag-BDWPBElq.js +0 -3209
  387. package/dist/vue-ui-dashboard-Dg_I3X2a.js +0 -627
  388. package/dist/vue-ui-digits-CZmdir8V.js +0 -211
  389. package/dist/vue-ui-donut-BKegKHxj.js +0 -2608
  390. package/dist/vue-ui-donut-evolution-047dE4Lu.js +0 -1578
  391. package/dist/vue-ui-dumbbell-BL4ZMChj.js +0 -1552
  392. package/dist/vue-ui-flow-BAqtyunQ.js +0 -1279
  393. package/dist/vue-ui-funnel-Pl2sEOZs.js +0 -823
  394. package/dist/vue-ui-galaxy-CBF5Wsax.js +0 -1108
  395. package/dist/vue-ui-gauge-COV_S0Vp.js +0 -955
  396. package/dist/vue-ui-geo-CaPXElPf.js +0 -1510
  397. package/dist/vue-ui-gizmo-Csn7up96.js +0 -238
  398. package/dist/vue-ui-heatmap-Cpb0BYLa.js +0 -1694
  399. package/dist/vue-ui-history-plot-ZZEdzFCE.js +0 -1564
  400. package/dist/vue-ui-horizontal-bar-BonPYUZf.js +0 -1735
  401. package/dist/vue-ui-kpi-DoHhSsDK.js +0 -130
  402. package/dist/vue-ui-mini-loader-DOTBVCLE.js +0 -138
  403. package/dist/vue-ui-molecule-mVYnXouV.js +0 -945
  404. package/dist/vue-ui-mood-radar-DPvwnc3z.js +0 -1197
  405. package/dist/vue-ui-nested-donuts-C7E6TXrZ.js +0 -1702
  406. package/dist/vue-ui-onion-BGIlFhGB.js +0 -1207
  407. package/dist/vue-ui-parallel-coordinate-plot-C6G_A9ua.js +0 -1432
  408. package/dist/vue-ui-pattern-mXZW_pvA.js +0 -146
  409. package/dist/vue-ui-pattern-seed-BcNlxb2i.js +0 -36
  410. package/dist/vue-ui-quadrant-CVpIeYOB.js +0 -1918
  411. package/dist/vue-ui-quick-chart-CcV8qn9-.js +0 -2514
  412. package/dist/vue-ui-radar-G4AV1rBo.js +0 -1259
  413. package/dist/vue-ui-rating-CqPlP88P.js +0 -370
  414. package/dist/vue-ui-relation-circle-CkZ8oFVV.js +0 -856
  415. package/dist/vue-ui-ridgeline-CBTyYn6Q.js +0 -1737
  416. package/dist/vue-ui-rings-CSIOqFiP.js +0 -1256
  417. package/dist/vue-ui-scatter-AuC46ufT.js +0 -2345
  418. package/dist/vue-ui-skeleton-YD6rZjY_.js +0 -2475
  419. package/dist/vue-ui-smiley-CY0WFv2j.js +0 -391
  420. package/dist/vue-ui-spark-trend-D8KGIt-R.js +0 -423
  421. package/dist/vue-ui-sparkbar-BjWGJjzN.js +0 -424
  422. package/dist/vue-ui-sparkgauge-Dab5mss7.js +0 -285
  423. package/dist/vue-ui-sparkhistogram-D0rsmiPh.js +0 -559
  424. package/dist/vue-ui-sparkline-BCaauQuX.js +0 -1550
  425. package/dist/vue-ui-sparkstackbar-NT5yD6xA.js +0 -672
  426. package/dist/vue-ui-stackbar-ChBk_A1c.js +0 -2393
  427. package/dist/vue-ui-stackline-Cujamlze.js +0 -2490
  428. package/dist/vue-ui-strip-plot-CGBumG6I.js +0 -1293
  429. package/dist/vue-ui-table-BX2iMku4.js +0 -1726
  430. package/dist/vue-ui-table-heatmap-KXgXYVXm.js +0 -353
  431. package/dist/vue-ui-table-sparkline-C3NWnry0.js +0 -803
  432. package/dist/vue-ui-thermometer-DvdceZB1.js +0 -743
  433. package/dist/vue-ui-timer-XWAbvuAY.js +0 -504
  434. package/dist/vue-ui-tiremarks-B-YI1RlT.js +0 -578
  435. package/dist/vue-ui-treemap-AzorGfmd.js +0 -1757
  436. package/dist/vue-ui-waffle-CKtUvdTE.js +0 -1442
  437. package/dist/vue-ui-wheel-CnsLEArZ.js +0 -908
  438. package/dist/vue-ui-word-cloud-iAme2ihe.js +0 -1644
  439. package/dist/vue-ui-world-D5rrC9rw.js +0 -14452
  440. package/dist/vue-ui-xy-C_Q9chQe.js +0 -4468
  441. package/dist/vue-ui-xy-canvas-DG0299qE.js +0 -2107
  442. package/dist/vue_ui_3d_bar-CL0iX8Qi.js +0 -22
  443. package/dist/vue_ui_age_pyramid-8H8WSL7J.js +0 -22
  444. package/dist/vue_ui_bullet-Ckqieba5.js +0 -22
  445. package/dist/vue_ui_bump-CIht647H.js +0 -22
  446. package/dist/vue_ui_candlestick-BAMn-VGw.js +0 -22
  447. package/dist/vue_ui_chestnut-BloFvDuV.js +0 -22
  448. package/dist/vue_ui_chord-Bc1_ocwK.js +0 -22
  449. package/dist/vue_ui_circle_pack-CLmw8nHe.js +0 -22
  450. package/dist/vue_ui_dag-ZOwuDBZ8.js +0 -22
  451. package/dist/vue_ui_donut-CA4dgV8J.js +0 -22
  452. package/dist/vue_ui_donut_evolution-DFQU-rqE.js +0 -22
  453. package/dist/vue_ui_dumbbell-BCOHDiPk.js +0 -22
  454. package/dist/vue_ui_flow-BErINgox.js +0 -22
  455. package/dist/vue_ui_funnel-yuaMZ-yb.js +0 -22
  456. package/dist/vue_ui_galaxy-D95AN4FT.js +0 -22
  457. package/dist/vue_ui_gauge-BMEuRC4J.js +0 -22
  458. package/dist/vue_ui_geo--kg4VoVX.js +0 -22
  459. package/dist/vue_ui_heatmap-C9u993qE.js +0 -22
  460. package/dist/vue_ui_history_plot-BCKk1CrQ.js +0 -22
  461. package/dist/vue_ui_horizontal_bar-BEagrV0T.js +0 -22
  462. package/dist/vue_ui_molecule-BtvlINUh.js +0 -22
  463. package/dist/vue_ui_mood_radar-BUs6Fdn8.js +0 -22
  464. package/dist/vue_ui_nested_donuts-DvTrWT_C.js +0 -22
  465. package/dist/vue_ui_onion-CxWH9_OZ.js +0 -22
  466. package/dist/vue_ui_parallel_coordinate_plot-DH3cFJ3n.js +0 -22
  467. package/dist/vue_ui_quadrant-DjRs--Uz.js +0 -22
  468. package/dist/vue_ui_quick_chart-DMCjEjPe.js +0 -22
  469. package/dist/vue_ui_radar-DryGBOrz.js +0 -22
  470. package/dist/vue_ui_relation_circle-CCroen7h.js +0 -22
  471. package/dist/vue_ui_ridgeline-j4rVmpEp.js +0 -22
  472. package/dist/vue_ui_rings-CxOrekqA.js +0 -22
  473. package/dist/vue_ui_scatter-Bu1EAy9H.js +0 -22
  474. package/dist/vue_ui_spark_trend-3BjrSprO.js +0 -22
  475. package/dist/vue_ui_sparkbar-BsMzz5Um.js +0 -22
  476. package/dist/vue_ui_sparkgauge-KnjASOZs.js +0 -22
  477. package/dist/vue_ui_sparkhistogram-GBdzIVvS.js +0 -22
  478. package/dist/vue_ui_sparkline-CQ8DJVJx.js +0 -22
  479. package/dist/vue_ui_sparkstackbar-BSexvOuM.js +0 -22
  480. package/dist/vue_ui_stackbar-CuDC4O4b.js +0 -22
  481. package/dist/vue_ui_stackline-QTh-nuxE.js +0 -22
  482. package/dist/vue_ui_strip_plot-B9ypi_F3.js +0 -22
  483. package/dist/vue_ui_table_heatmap-CkvipPVy.js +0 -16
  484. package/dist/vue_ui_table_sparkline-yQdijcyJ.js +0 -22
  485. package/dist/vue_ui_thermometer-BTmjRBH8.js +0 -22
  486. package/dist/vue_ui_tiremarks-DBotWfi8.js +0 -22
  487. package/dist/vue_ui_treemap-D9-AIkT-.js +0 -22
  488. package/dist/vue_ui_vertical_bar-CELc39b8.js +0 -18
  489. package/dist/vue_ui_waffle-M2h-uJQ_.js +0 -22
  490. package/dist/vue_ui_wheel-LqBz3lv4.js +0 -22
  491. package/dist/vue_ui_word_cloud-mKAtBxHR.js +0 -22
  492. package/dist/vue_ui_xy-esktmpg-.js +0 -22
  493. package/dist/vue_ui_xy_canvas-6BBDSowT.js +0 -22
@@ -0,0 +1,1138 @@
1
+ import { t as e } from "./rolldown-runtime-CAFD8bLK.js";
2
+ import { D as t, G as n, H as r, J as i, Mt as a, S as ee, St as te, X as ne, i as re, jt as o, t as ie, xt as ae, zt as oe } from "./lib-B83ZCydz.js";
3
+ import { t as se } from "./useConfig-KnOLHtlJ.js";
4
+ import { t as ce } from "./usePrinter-CMLF900n.js";
5
+ import { n as le, t as ue } from "./BaseScanner-C7dmAref.js";
6
+ import { t as de } from "./useSvgExport-Dtu973wa.js";
7
+ import { t as fe } from "./useNestedProp-CcxL1gUU.js";
8
+ import { t as pe } from "./useThemeCheck-rFK9Zlb_.js";
9
+ import { t as me } from "./img-NMY-_LiJ.js";
10
+ import { n as he } from "./Title-ByyzJzpc.js";
11
+ import { t as ge } from "./_plugin-vue_export-helper-Dq1MygBL.js";
12
+ import { c as _e } from "./canvas-lib-DTaADQOK.js";
13
+ import { t as ve } from "./useResponsive-CrAInupd.js";
14
+ import { t as ye } from "./A11yDataTable-q2-8fSlJ.js";
15
+ import { t as be } from "./useUserOptionState-CjPJPTg2.js";
16
+ import { t as xe } from "./useChartAccessibility-Do37qcw2.js";
17
+ import { t as Se } from "./Legend-BPb8i4aC.js";
18
+ import { t as Ce } from "./vue_ui_mood_radar-Dg4ijm53.js";
19
+ import { Fragment as we, Teleport as Te, computed as s, createBlock as c, createCommentVNode as l, createElementBlock as u, createElementVNode as d, createSlots as Ee, createTextVNode as De, createVNode as f, defineAsyncComponent as p, guardReactiveProps as m, mergeProps as Oe, nextTick as ke, normalizeClass as Ae, normalizeProps as h, normalizeStyle as g, onMounted as je, openBlock as _, ref as v, renderList as Me, renderSlot as y, resolveDynamicComponent as Ne, toDisplayString as b, toRefs as Pe, unref as x, watch as Fe, withCtx as S } from "vue";
20
+ //#region src/components/vue-ui-mood-radar.vue
21
+ var Ie = /* @__PURE__ */ e({ default: () => C }), Le = ["id"], Re = ["id"], ze = ["id"], Be = { style: { position: "relative" } }, Ve = [
22
+ "xmlns",
23
+ "aria-describedby",
24
+ "viewBox"
25
+ ], He = ["width", "height"], Ue = ["id"], We = ["stop-color"], Ge = ["stop-color"], Ke = [
26
+ "x1",
27
+ "y1",
28
+ "x2",
29
+ "y2",
30
+ "stroke",
31
+ "stroke-width"
32
+ ], qe = [
33
+ "d",
34
+ "stroke",
35
+ "stroke-width"
36
+ ], Je = ["transform"], Ye = ["stroke"], Xe = ["aria-label", "fill"], Ze = ["transform"], Qe = ["stroke"], $e = ["aria-label", "fill"], et = ["transform"], tt = ["stroke"], nt = ["aria-label", "fill"], rt = ["transform"], it = ["stroke"], at = ["aria-label", "fill"], ot = ["transform"], st = ["stroke"], ct = ["aria-label", "fill"], lt = [
37
+ "d",
38
+ "stroke",
39
+ "stroke-width",
40
+ "fill"
41
+ ], ut = [
42
+ "x1",
43
+ "y1",
44
+ "x2",
45
+ "y2",
46
+ "stroke"
47
+ ], dt = [
48
+ "cx",
49
+ "cy",
50
+ "fill",
51
+ "stroke"
52
+ ], ft = [
53
+ "cx",
54
+ "cy",
55
+ "fill",
56
+ "stroke"
57
+ ], pt = [
58
+ "x",
59
+ "y",
60
+ "fill",
61
+ "font-weight"
62
+ ], mt = [
63
+ "x",
64
+ "y",
65
+ "fill"
66
+ ], ht = {
67
+ key: 0,
68
+ style: {
69
+ position: "absolute",
70
+ top: "100%",
71
+ left: "0",
72
+ width: "100%"
73
+ },
74
+ "data-dom-to-png-ignore": "",
75
+ "aria-hidden": "true"
76
+ }, gt = {
77
+ key: 5,
78
+ class: "vue-data-ui-watermark"
79
+ }, _t = ["id"], vt = ["onClick", "onKeydown"], yt = ["innerHTML"], C = /* @__PURE__ */ ge({
80
+ __name: "vue-ui-mood-radar",
81
+ props: {
82
+ config: {
83
+ type: Object,
84
+ default() {
85
+ return {};
86
+ }
87
+ },
88
+ dataset: {
89
+ type: Object,
90
+ default() {
91
+ return {};
92
+ }
93
+ }
94
+ },
95
+ emits: ["copyAlt"],
96
+ setup(e, { expose: ge, emit: Ie }) {
97
+ let C = p(() => import("./BaseIcon-CL6Y7alf.js").then((e) => e.n)), bt = p(() => import("./vue-ui-accordion-Cf-jZELj.js").then((e) => e.n)), xt = p(() => import("./DataTable-ZG4GX2Zg.js")), St = p(() => import("./PenAndPaper-DxBCVZAx.js").then((e) => e.t)), Ct = p(() => import("./UserOptions-Gaw1761w.js").then((e) => e.n)), wt = p(() => import("./PackageVersion-B1cPtZ3Q.js").then((e) => e.t)), Tt = p(() => import("./BaseDraggableDialog-LE75fWYz.js").then((e) => e.n)), { vue_ui_mood_radar: Et } = se(), { isThemeValid: Dt, warnInvalidTheme: Ot } = pe(), w = e, kt = Ie, T = v(r()), E = v(null), D = v(null), At = v(null), jt = v(0), Mt = v(0), Nt = v(0), Pt = v(null), Ft = v(null), O = v(null), k = v(null), It = v(null), Lt = v(!1), A = v(null), Rt = v(null), j = v(!1), M = v(!1), N = v(null), zt = v(!1), Bt = s(() => !!w.dataset && Object.keys(w.dataset).length), P = v(Jt()), F = s(() => P.value.userOptions.useCursorPointer), Vt = s(() => oe({
98
+ defaultConfig: {
99
+ userOptions: { show: !1 },
100
+ table: { show: !1 },
101
+ style: { chart: {
102
+ backgroundColor: "#99999930",
103
+ layout: {
104
+ grid: { stroke: "#6A6A6A" },
105
+ outerPolygon: { stroke: "#6A6A6A" },
106
+ dataPolygon: {
107
+ color: "#6A6A6A",
108
+ opacity: 30,
109
+ stroke: "#6A6A6A"
110
+ },
111
+ smileys: { colors: {
112
+ 1: "#DBDBDB",
113
+ 2: "#C4C4C4",
114
+ 3: "#ADADAD",
115
+ 4: "#969696",
116
+ 5: "#808080"
117
+ } },
118
+ dataLabel: { color: "transparent" }
119
+ },
120
+ legend: { backgroundColor: "transparent" }
121
+ } }
122
+ },
123
+ userConfig: P.value.skeletonConfig ?? {}
124
+ })), { loading: Ht, FINAL_DATASET: I } = le({
125
+ ...Pe(w),
126
+ FINAL_CONFIG: P,
127
+ prepareConfig: Jt,
128
+ callback: () => {
129
+ Promise.resolve().then(async () => {
130
+ await ke(), R.value.showTable = P.value.table.show;
131
+ });
132
+ },
133
+ skeletonDataset: w.config?.skeletonDataset ?? {
134
+ 1: 1,
135
+ 2: 1,
136
+ 3: 1,
137
+ 4: 1,
138
+ 5: 1
139
+ },
140
+ skeletonConfig: oe({
141
+ defaultConfig: P.value,
142
+ userConfig: Vt.value
143
+ })
144
+ });
145
+ je(() => {
146
+ Lt.value = !0, Wt();
147
+ });
148
+ let Ut = s(() => P.value.debug);
149
+ function Wt() {
150
+ if (te(w.dataset) && ne({
151
+ componentName: "VueUiMoodRadar",
152
+ type: "dataset",
153
+ debug: Ut.value
154
+ }), P.value.responsive) {
155
+ let e = _e(() => {
156
+ let { width: e, height: t } = ve({
157
+ chart: E.value,
158
+ title: P.value.style.chart.title.text ? Pt.value : null,
159
+ legend: P.value.style.chart.legend.show ? Ft.value : null,
160
+ noTitle: At.value,
161
+ source: It.value
162
+ });
163
+ requestAnimationFrame(() => {
164
+ z.value.width = e, z.value.height = t - 12;
165
+ });
166
+ });
167
+ O.value && (k.value && O.value.unobserve(k.value), O.value.disconnect()), O.value = new ResizeObserver(e), k.value = E.value.parentNode, O.value.observe(k.value);
168
+ }
169
+ }
170
+ let { userOptionsVisible: Gt, setUserOptionsVisibility: Kt, keepUserOptionState: qt } = be({ config: P.value }), { svgRef: L } = xe({ config: P.value.style.chart.title });
171
+ function Jt() {
172
+ let e = fe({
173
+ userConfig: w.config,
174
+ defaultConfig: Et
175
+ }), t = e.theme;
176
+ if (!t) return e;
177
+ if (!Dt.value(e)) return Ot(e), e;
178
+ let n = fe({
179
+ userConfig: Ce[t] || w.config,
180
+ defaultConfig: e
181
+ });
182
+ return fe({
183
+ userConfig: w.config,
184
+ defaultConfig: n
185
+ });
186
+ }
187
+ Fe(() => w.config, (e) => {
188
+ P.value = Jt(), Gt.value = !P.value.userOptions.showOnChartHover, Wt(), jt.value += 1, Mt.value += 1, Nt.value += 1, R.value.showTable = P.value.table.show;
189
+ }, { deep: !0 });
190
+ let { isPrinting: Yt, isImaging: Xt, generatePdf: Zt, generateImage: Qt } = ce({
191
+ elementId: T.value,
192
+ fileName: P.value.style.chart.title.text || "vue-ui-mood-radar",
193
+ options: P.value.userOptions.print
194
+ }), $t = s(() => P.value.userOptions.show && !P.value.style.chart.title.text), R = v({ showTable: P.value.table.show }), z = v({
195
+ height: 256,
196
+ width: 256
197
+ }), en = {
198
+ 5: {
199
+ x: 128,
200
+ y: 35
201
+ },
202
+ 4: {
203
+ x: 218,
204
+ y: 98.5
205
+ },
206
+ 3: {
207
+ x: 185,
208
+ y: 204
209
+ },
210
+ 2: {
211
+ x: 70,
212
+ y: 204
213
+ },
214
+ 1: {
215
+ x: 38.5,
216
+ y: 98.5
217
+ }
218
+ }, tn = s(() => {
219
+ let e = {};
220
+ return sn.value.forEach((t) => {
221
+ e[t.key] = {
222
+ x: t.x,
223
+ y: t.y
224
+ };
225
+ }), e;
226
+ });
227
+ function B(e) {
228
+ let t = en[e], n = tn.value[e] || t;
229
+ return `translate(${n.x - t.x}, ${n.y - t.y})`;
230
+ }
231
+ let nn = s(() => t({
232
+ plot: {
233
+ x: z.value.width / 2,
234
+ y: z.value.height / 2
235
+ },
236
+ radius: Math.min(z.value.height, z.value.width) * .35,
237
+ sides: 5,
238
+ rotation: 11
239
+ }));
240
+ function rn({ centerX: e, centerY: t, apexX: n, apexY: r, proportion: i, key: a, value: ee }) {
241
+ return {
242
+ x: e + (n - e) * i,
243
+ y: t + (r - t) * i,
244
+ key: a,
245
+ value: ee
246
+ };
247
+ }
248
+ let an = s(() => Math.max(...Object.values(I.value).map((e) => isNaN(e) ? 0 : e))), V = s(() => Object.values(I.value).reduce((e, t) => (isNaN(e) ? 0 : e) + (isNaN(t) ? 0 : t), 0)), H = s(() => Object.keys(I.value).map((e, t) => {
249
+ let n = typeof I.value[e] != "number" || isNaN(I.value[e]) ? 0 : I.value[e];
250
+ return {
251
+ index: t,
252
+ key: e,
253
+ value: n,
254
+ proportion: n / V.value,
255
+ color: P.value.style.chart.layout.smileys.colors[e]
256
+ };
257
+ }).map((e) => ({
258
+ ...e,
259
+ onSelect: () => U(e.key)
260
+ })).sort((e, t) => t.key - e.key)), on = s(() => H.value.map((e, t) => ({
261
+ ...e,
262
+ display: `${re(P.value.style.chart.layout.dataLabel.formatter, e.value, n({
263
+ p: P.value.style.chart.layout.dataLabel.prefix,
264
+ v: e.value,
265
+ s: P.value.style.chart.layout.dataLabel.suffix,
266
+ r: P.value.style.chart.layout.dataLabel.roundingValue
267
+ }))}${Ht.value ? "" : ` (${n({
268
+ v: e.proportion * 100,
269
+ s: "%",
270
+ r: P.value.style.chart.legend.roundingPercentage
271
+ })})`}`
272
+ }))), sn = s(() => ([
273
+ "1",
274
+ "2",
275
+ "3",
276
+ "4",
277
+ "5"
278
+ ].forEach((e) => {
279
+ [null, void 0].includes(I.value[e]) && ne({
280
+ componentName: "VueUiMoodRadar",
281
+ type: "datasetAttribute",
282
+ property: e
283
+ });
284
+ }), nn.value.coordinates.map((e, t) => {
285
+ let n = rn({
286
+ centerX: z.value.width / 2,
287
+ centerY: z.value.height / 2,
288
+ apexX: e.x,
289
+ apexY: e.y,
290
+ proportion: H.value[t].value / an.value,
291
+ key: H.value[t].key,
292
+ value: H.value[t].value
293
+ });
294
+ return {
295
+ ...e,
296
+ plots: n,
297
+ key: H.value[t].key
298
+ };
299
+ }))), cn = s(() => ({
300
+ cy: "mood-radar-legend",
301
+ backgroundColor: P.value.style.chart.legend.backgroundColor,
302
+ color: P.value.style.chart.legend.color,
303
+ fontSize: P.value.style.chart.legend.fontSize,
304
+ paddingBottom: 12,
305
+ fontWeight: P.value.style.chart.legend.bold ? "bold" : ""
306
+ }));
307
+ function U(e) {
308
+ e === D.value ? D.value = null : (D.value = e, K(e));
309
+ }
310
+ function W(e) {
311
+ D.value = e;
312
+ let t = H.value.find((t) => t.key === e);
313
+ P.value.events.datapointEnter && P.value.events.datapointEnter({
314
+ datapoint: t,
315
+ seriesIndex: t.index
316
+ });
317
+ }
318
+ function G(e) {
319
+ D.value = null;
320
+ let t = H.value.find((t) => t.key === e);
321
+ P.value.events.datapointLeave && P.value.events.datapointLeave({
322
+ datapoint: t,
323
+ seriesIndex: t.index
324
+ });
325
+ }
326
+ function K(e) {
327
+ let t = H.value.find((t) => t.key === e);
328
+ P.value.events.datapointClick && P.value.events.datapointClick({
329
+ datapoint: t,
330
+ seriesIndex: t.index
331
+ });
332
+ }
333
+ let q = s(() => ({
334
+ head: H.value.map((e) => ({
335
+ name: e.key,
336
+ color: e.color
337
+ })),
338
+ body: H.value.map((e) => isNaN(e.value) ? 0 : e.value)
339
+ }));
340
+ function ln(e = null) {
341
+ ke(() => {
342
+ let t = q.value.head.map((e, t) => [
343
+ [e.name],
344
+ [q.value.body[t]],
345
+ [isNaN(q.value.body[t] / V.value) ? "-" : q.value.body[t] / V.value * 100]
346
+ ]), n = ee([
347
+ [P.value.style.chart.title.text],
348
+ [P.value.style.chart.title.subtitle.text],
349
+ [
350
+ [""],
351
+ ["val"],
352
+ ["%"]
353
+ ]
354
+ ].concat(t));
355
+ e ? e(n) : i({
356
+ csvContent: n,
357
+ title: P.value.style.chart.title.text || "vue-ui-mood-radar"
358
+ });
359
+ });
360
+ }
361
+ let J = s(() => ({
362
+ head: [
363
+ " <svg xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" viewBox=\"0 0 24 24\" stroke-width=\"1.5\" stroke=\"currentColor\" fill=\"none\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><path stroke=\"none\" d=\"M0 0h24v24H0z\" fill=\"none\"/><path d=\"M18 16v2a1 1 0 0 1 -1 1h-11l6 -7l-6 -7h11a1 1 0 0 1 1 1v2\" /></svg>",
364
+ Number(V.value.toFixed(P.value.table.td.roundingValue)).toLocaleString(),
365
+ "100%"
366
+ ],
367
+ body: q.value.head.map((e, t) => [
368
+ {
369
+ color: e.color,
370
+ name: e.name
371
+ },
372
+ q.value.body[t].toFixed(P.value.table.td.roundingValue),
373
+ isNaN(q.value.body[t] / V.value) ? "-" : (q.value.body[t] / V.value * 100).toFixed(P.value.table.td.roundingPercentage) + "%"
374
+ ]),
375
+ config: {
376
+ th: {
377
+ backgroundColor: P.value.table.th.backgroundColor,
378
+ color: P.value.table.th.color,
379
+ outline: P.value.table.th.outline
380
+ },
381
+ td: {
382
+ backgroundColor: P.value.table.td.backgroundColor,
383
+ color: P.value.table.td.color,
384
+ outline: P.value.table.td.outline
385
+ },
386
+ breakpoint: P.value.table.responsiveBreakpoint
387
+ },
388
+ colNames: [
389
+ P.value.table.columnNames.series,
390
+ P.value.table.columnNames.value,
391
+ P.value.table.columnNames.percentage
392
+ ]
393
+ }));
394
+ function un() {
395
+ return H.value;
396
+ }
397
+ function dn() {
398
+ R.value.showTable = !R.value.showTable;
399
+ }
400
+ let Y = v(!1);
401
+ function fn(e) {
402
+ Y.value = e;
403
+ }
404
+ let X = v(!1);
405
+ function pn() {
406
+ X.value = !X.value;
407
+ }
408
+ async function mn({ scale: e = 2 } = {}) {
409
+ if (!E.value) return;
410
+ let { width: t, height: n } = E.value.getBoundingClientRect(), r = t / n, { imageUri: i, base64: a } = await me({
411
+ domElement: E.value,
412
+ base64: !0,
413
+ img: !0,
414
+ scale: e
415
+ });
416
+ return {
417
+ imageUri: i,
418
+ base64: a,
419
+ title: P.value.style.chart.title.text,
420
+ width: t,
421
+ height: n,
422
+ aspectRatio: r
423
+ };
424
+ }
425
+ let Z = s(() => {
426
+ let e = P.value.table.useDialog && !P.value.table.show, t = R.value.showTable;
427
+ return {
428
+ component: e ? Tt : bt,
429
+ title: `${P.value.style.chart.title.text}${P.value.style.chart.title.subtitle.text ? `: ${P.value.style.chart.title.subtitle.text}` : ""}`,
430
+ props: e ? {
431
+ backgroundColor: P.value.table.th.backgroundColor,
432
+ color: P.value.table.th.color,
433
+ headerColor: P.value.table.th.color,
434
+ headerBg: P.value.table.th.backgroundColor,
435
+ isFullscreen: Y.value,
436
+ fullscreenParent: E.value,
437
+ forcedWidth: Math.min(800, window.innerWidth * .8),
438
+ isCursorPointer: F.value
439
+ } : {
440
+ hideDetails: !0,
441
+ config: {
442
+ open: t,
443
+ maxHeight: 1e4,
444
+ body: {
445
+ backgroundColor: P.value.style.chart.backgroundColor,
446
+ color: P.value.style.chart.color
447
+ },
448
+ head: {
449
+ backgroundColor: P.value.style.chart.backgroundColor,
450
+ color: P.value.style.chart.color
451
+ }
452
+ }
453
+ }
454
+ };
455
+ });
456
+ Fe(() => R.value.showTable, (e) => {
457
+ P.value.table.show || (e && P.value.table.useDialog && A.value ? A.value.open() : "close" in A.value && A.value.close());
458
+ });
459
+ function hn() {
460
+ R.value.showTable = !1, Rt.value && Rt.value.setTableIconState(!1);
461
+ }
462
+ let gn = s(() => on.value.map((e) => ({
463
+ ...e,
464
+ name: e.display,
465
+ shape: "circle"
466
+ }))), _n = s(() => P.value.style.chart.backgroundColor), vn = s(() => P.value.style.chart.legend), { exportSvg: yn, getSvg: bn } = de({
467
+ svg: L,
468
+ title: s(() => P.value.style.chart.title),
469
+ legend: vn,
470
+ legendItems: gn,
471
+ backgroundColor: _n
472
+ });
473
+ async function xn({ isCb: e }) {
474
+ M.value = !0, await ke();
475
+ try {
476
+ if (e) {
477
+ let { blob: e, url: t, text: n, dataUrl: r } = await bn();
478
+ await Promise.resolve(P.value.userOptions.callbacks.svg({
479
+ blob: e,
480
+ url: t,
481
+ text: n,
482
+ dataUrl: r
483
+ }));
484
+ } else await Promise.resolve(yn());
485
+ } finally {
486
+ M.value = !1;
487
+ }
488
+ }
489
+ function Sn(e) {
490
+ if (e?.stage === "start") {
491
+ j.value = !0;
492
+ return;
493
+ }
494
+ if (e?.stage === "end") {
495
+ j.value = !1;
496
+ return;
497
+ }
498
+ Qt();
499
+ }
500
+ async function Cn() {
501
+ if (kt("copyAlt", {
502
+ config: P.value,
503
+ dataset: H.value
504
+ }), !P.value.userOptions.callbacks.altCopy) {
505
+ console.warn("Vue Data UI - A callback must be set for `altCopy` in userOptions.");
506
+ return;
507
+ }
508
+ await Promise.resolve(P.value.userOptions.callbacks.altCopy({
509
+ config: P.value,
510
+ dataset: H.value
511
+ }));
512
+ }
513
+ let Q = s(() => H.value.map((e) => String(e.key)));
514
+ function wn() {
515
+ Kt(!0);
516
+ }
517
+ function Tn() {
518
+ Kt(!1);
519
+ }
520
+ function En(e) {
521
+ return H.value.find((t) => String(t.key) === String(e));
522
+ }
523
+ function Dn(e, t, r) {
524
+ return re(P.value.style.chart.layout.dataLabel.formatter, e, n({
525
+ p: P.value.style.chart.layout.dataLabel.prefix,
526
+ v: e,
527
+ s: P.value.style.chart.layout.dataLabel.suffix,
528
+ r: P.value.style.chart.layout.dataLabel.roundingValue
529
+ }), {
530
+ datapoint: r,
531
+ seriesIndex: t
532
+ });
533
+ }
534
+ function On(e) {
535
+ return n({
536
+ v: V.value ? e / V.value * 100 : 0,
537
+ s: "%",
538
+ r: P.value.style.chart.layout.dataLabel.roundingPercentage
539
+ });
540
+ }
541
+ function $(e) {
542
+ let t = En(e);
543
+ return t ? `${e}, ${Dn(t.value, t.index, t)}, ${On(t.value)}` : `${e}`;
544
+ }
545
+ function kn(e) {
546
+ let t = Q.value[e];
547
+ t && (N.value = e, D.value = t);
548
+ }
549
+ function An() {
550
+ zt.value = !0;
551
+ }
552
+ function jn() {
553
+ N.value = null, D.value = null, zt.value = !1;
554
+ }
555
+ function Mn(e) {
556
+ if (!L.value || !Q.value.length || X.value || document.activeElement !== L.value) return;
557
+ let t = ["ArrowLeft", "ArrowUp"].includes(e.key), n = ["ArrowRight", "ArrowDown"].includes(e.key), r = e.key === "Enter" || e.key === " ", i = e.key === "Escape";
558
+ if (!t && !n && !r && !i) return;
559
+ if (e.preventDefault(), e.stopPropagation(), i) {
560
+ N.value = null, D.value = null;
561
+ return;
562
+ }
563
+ if (r) {
564
+ if (N.value === null) return;
565
+ let e = Q.value[N.value];
566
+ if (!e) return;
567
+ U(e);
568
+ return;
569
+ }
570
+ let a = N.value;
571
+ a === null || a < 0 || a >= Q.value.length ? a = n ? 0 : Q.value.length - 1 : n ? (a += 1, a >= Q.value.length && (a = 0)) : t && (--a, a < 0 && (a = Q.value.length - 1)), kn(a);
572
+ }
573
+ function Nn(e, t) {
574
+ let n = e.key === "Enter" || e.key === " ", r = e.key === "Escape";
575
+ if (!(!n && !r)) {
576
+ if (e.preventDefault(), e.stopPropagation(), r) {
577
+ N.value = null, D.value = null;
578
+ return;
579
+ }
580
+ U(String(t));
581
+ }
582
+ }
583
+ let Pn = s(() => ({
584
+ headers: J.value?.colNames ?? [],
585
+ rows: H.value.map((e) => [
586
+ String(e.key),
587
+ Dn(e.value, e.index, e),
588
+ On(e.value)
589
+ ])
590
+ }));
591
+ return ge({
592
+ getData: un,
593
+ getImage: mn,
594
+ generatePdf: Zt,
595
+ generateCsv: ln,
596
+ generateImage: Qt,
597
+ generateSvg: xn,
598
+ toggleTable: dn,
599
+ toggleAnnotator: pn,
600
+ toggleFullscreen: fn,
601
+ copyAlt: Cn
602
+ }), (e, t) => (_(), u("div", {
603
+ class: Ae(`vue-data-ui-component vue-ui-mood-radar ${Y.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${P.value.useCssAnimation ? "" : "vue-ui-dna"}`),
604
+ ref_key: "moodRadarChart",
605
+ ref: E,
606
+ id: `${T.value}`,
607
+ style: g(`font-family:${P.value.style.fontFamily};width:100%; text-align:center;background:${P.value.style.chart.backgroundColor}`),
608
+ onMouseenter: wn,
609
+ onMouseleave: Tn
610
+ }, [
611
+ d("div", {
612
+ id: `chart-instructions-${T.value}`,
613
+ class: "sr-only"
614
+ }, [d("p", null, b(P.value.a11y.translations.keyboardNavigation), 1)], 8, Re),
615
+ Pn.value?.rows?.length ? (_(), c(ye, {
616
+ key: 0,
617
+ uid: T.value,
618
+ head: Pn.value.headers,
619
+ body: Pn.value.rows,
620
+ notice: P.value.a11y.translations.tableAvailable,
621
+ caption: P.value.a11y.translations.tableCaption
622
+ }, null, 8, [
623
+ "uid",
624
+ "head",
625
+ "body",
626
+ "notice",
627
+ "caption"
628
+ ])) : l("", !0),
629
+ P.value.userOptions.buttons.annotator ? (_(), c(x(St), {
630
+ key: 1,
631
+ svgRef: x(L),
632
+ backgroundColor: P.value.style.chart.backgroundColor,
633
+ color: P.value.style.chart.color,
634
+ active: X.value,
635
+ isCursorPointer: F.value,
636
+ onClose: pn
637
+ }, {
638
+ "annotator-action-close": S(() => [y(e.$slots, "annotator-action-close", {}, void 0, !0)]),
639
+ "annotator-action-color": S(({ color: t }) => [y(e.$slots, "annotator-action-color", h(m({ color: t })), void 0, !0)]),
640
+ "annotator-action-draw": S(({ mode: t }) => [y(e.$slots, "annotator-action-draw", h(m({ mode: t })), void 0, !0)]),
641
+ "annotator-action-undo": S(({ disabled: t }) => [y(e.$slots, "annotator-action-undo", h(m({ disabled: t })), void 0, !0)]),
642
+ "annotator-action-redo": S(({ disabled: t }) => [y(e.$slots, "annotator-action-redo", h(m({ disabled: t })), void 0, !0)]),
643
+ "annotator-action-delete": S(({ disabled: t }) => [y(e.$slots, "annotator-action-delete", h(m({ disabled: t })), void 0, !0)]),
644
+ _: 3
645
+ }, 8, [
646
+ "svgRef",
647
+ "backgroundColor",
648
+ "color",
649
+ "active",
650
+ "isCursorPointer"
651
+ ])) : l("", !0),
652
+ $t.value ? (_(), u("div", {
653
+ key: 2,
654
+ ref_key: "noTitle",
655
+ ref: At,
656
+ class: "vue-data-ui-no-title-space",
657
+ style: "height:36px; width: 100%;background:transparent"
658
+ }, null, 512)) : l("", !0),
659
+ P.value.style.chart.title.text ? (_(), u("div", {
660
+ key: 3,
661
+ ref_key: "chartTitle",
662
+ ref: Pt,
663
+ style: "width:100%;background:transparent"
664
+ }, [f(he, { config: {
665
+ title: {
666
+ cy: "mood-radar-title",
667
+ ...P.value.style.chart.title
668
+ },
669
+ subtitle: {
670
+ cy: "mood-radar-subtitle",
671
+ ...P.value.style.chart.title.subtitle
672
+ }
673
+ } }, null, 8, ["config"])], 512)) : l("", !0),
674
+ d("div", { id: `legend-top-${T.value}` }, null, 8, ze),
675
+ P.value.userOptions.show && Bt.value && (x(qt) || x(Gt)) ? (_(), c(x(Ct), {
676
+ key: 4,
677
+ ref_key: "userOptionsRef",
678
+ ref: Rt,
679
+ backgroundColor: P.value.style.chart.backgroundColor,
680
+ color: P.value.style.chart.color,
681
+ isPrinting: x(Yt),
682
+ isImaging: x(Xt),
683
+ uid: T.value,
684
+ hasPdf: P.value.userOptions.buttons.pdf,
685
+ hasXls: P.value.userOptions.buttons.csv,
686
+ hasImg: P.value.userOptions.buttons.img,
687
+ hasSvg: P.value.userOptions.buttons.svg,
688
+ hasTable: P.value.userOptions.buttons.table,
689
+ hasFullscreen: P.value.userOptions.buttons.fullscreen,
690
+ hasAltCopy: P.value.userOptions.buttons.altCopy,
691
+ isFullscreen: Y.value,
692
+ titles: { ...P.value.userOptions.buttonTitles },
693
+ chartElement: E.value,
694
+ position: P.value.userOptions.position,
695
+ hasAnnotator: P.value.userOptions.buttons.annotator,
696
+ isAnnotation: X.value,
697
+ callbacks: P.value.userOptions.callbacks,
698
+ printScale: P.value.userOptions.print.scale,
699
+ tableDialog: P.value.table.useDialog,
700
+ isCursorPointer: F.value,
701
+ onToggleFullscreen: fn,
702
+ onGeneratePdf: x(Zt),
703
+ onGenerateCsv: ln,
704
+ onGenerateImage: Sn,
705
+ onGenerateSvg: xn,
706
+ onToggleTable: dn,
707
+ onToggleAnnotator: pn,
708
+ onCopyAlt: Cn,
709
+ style: g({ visibility: x(qt) ? x(Gt) ? "visible" : "hidden" : "visible" })
710
+ }, Ee({ _: 2 }, [
711
+ e.$slots.menuIcon ? {
712
+ name: "menuIcon",
713
+ fn: S(({ isOpen: t, color: n }) => [y(e.$slots, "menuIcon", h(m({
714
+ isOpen: t,
715
+ color: n
716
+ })), void 0, !0)]),
717
+ key: "0"
718
+ } : void 0,
719
+ e.$slots.optionPdf ? {
720
+ name: "optionPdf",
721
+ fn: S(() => [y(e.$slots, "optionPdf", {}, void 0, !0)]),
722
+ key: "1"
723
+ } : void 0,
724
+ e.$slots.optionCsv ? {
725
+ name: "optionCsv",
726
+ fn: S(() => [y(e.$slots, "optionCsv", {}, void 0, !0)]),
727
+ key: "2"
728
+ } : void 0,
729
+ e.$slots.optionImg ? {
730
+ name: "optionImg",
731
+ fn: S(() => [y(e.$slots, "optionImg", {}, void 0, !0)]),
732
+ key: "3"
733
+ } : void 0,
734
+ e.$slots.optionSvg ? {
735
+ name: "optionSvg",
736
+ fn: S(() => [y(e.$slots, "optionSvg", {}, void 0, !0)]),
737
+ key: "4"
738
+ } : void 0,
739
+ e.$slots.optionTable ? {
740
+ name: "optionTable",
741
+ fn: S(() => [y(e.$slots, "optionTable", {}, void 0, !0)]),
742
+ key: "5"
743
+ } : void 0,
744
+ e.$slots.optionFullscreen ? {
745
+ name: "optionFullscreen",
746
+ fn: S(({ toggleFullscreen: t, isFullscreen: n }) => [y(e.$slots, "optionFullscreen", h(m({
747
+ toggleFullscreen: t,
748
+ isFullscreen: n
749
+ })), void 0, !0)]),
750
+ key: "6"
751
+ } : void 0,
752
+ e.$slots.optionAnnotator ? {
753
+ name: "optionAnnotator",
754
+ fn: S(({ toggleAnnotator: t, isAnnotator: n }) => [y(e.$slots, "optionAnnotator", h(m({
755
+ toggleAnnotator: t,
756
+ isAnnotator: n
757
+ })), void 0, !0)]),
758
+ key: "7"
759
+ } : void 0,
760
+ e.$slots.optionAltCopy ? {
761
+ name: "optionAltCopy",
762
+ fn: S(({ altCopy: t }) => [y(e.$slots, "optionAltCopy", h(m({ altCopy: t })), void 0, !0)]),
763
+ key: "8"
764
+ } : void 0
765
+ ]), 1032, [
766
+ "backgroundColor",
767
+ "color",
768
+ "isPrinting",
769
+ "isImaging",
770
+ "uid",
771
+ "hasPdf",
772
+ "hasXls",
773
+ "hasImg",
774
+ "hasSvg",
775
+ "hasTable",
776
+ "hasFullscreen",
777
+ "hasAltCopy",
778
+ "isFullscreen",
779
+ "titles",
780
+ "chartElement",
781
+ "position",
782
+ "hasAnnotator",
783
+ "isAnnotation",
784
+ "callbacks",
785
+ "printScale",
786
+ "tableDialog",
787
+ "isCursorPointer",
788
+ "onGeneratePdf",
789
+ "style"
790
+ ])) : l("", !0),
791
+ d("div", Be, [(_(), u("svg", {
792
+ ref_key: "svgRef",
793
+ ref: L,
794
+ xmlns: x(ie),
795
+ "aria-describedby": `chart-instructions-${T.value}`,
796
+ viewBox: `0 0 ${z.value.width} ${z.value.height}`,
797
+ class: Ae({
798
+ "vue-data-ui-fullscreen--on": Y.value,
799
+ "vue-data-ui-fulscreen--off": !Y.value
800
+ }),
801
+ style: g(`overflow:visible;background:transparent;color:${P.value.style.chart.color}`),
802
+ tabindex: "0",
803
+ onFocus: An,
804
+ onBlur: jn,
805
+ onKeydown: Mn
806
+ }, [
807
+ f(x(wt)),
808
+ e.$slots["chart-background"] ? (_(), u("foreignObject", {
809
+ key: 0,
810
+ x: 0,
811
+ y: 0,
812
+ width: z.value.width,
813
+ height: z.value.height,
814
+ style: { pointerEvents: "none" }
815
+ }, [y(e.$slots, "chart-background", {}, void 0, !0)], 8, He)) : l("", !0),
816
+ d("defs", null, [d("radialGradient", {
817
+ cx: "50%",
818
+ cy: "50%",
819
+ r: "50%",
820
+ fx: "50%",
821
+ fy: "50%",
822
+ id: `mood_radar_gradient_${T.value}`
823
+ }, [d("stop", {
824
+ offset: "0%",
825
+ "stop-color": x(o)(P.value.style.chart.layout.dataPolygon.color, P.value.style.chart.layout.dataPolygon.opacity)
826
+ }, null, 8, We), d("stop", {
827
+ offset: "100%",
828
+ "stop-color": x(o)(x(a)(P.value.style.chart.layout.dataPolygon.color, P.value.style.chart.layout.dataPolygon.gradient.intensity / 100), P.value.style.chart.layout.dataPolygon.opacity)
829
+ }, null, 8, Ge)], 8, Ue)]),
830
+ (_(!0), u(we, null, Me(nn.value.coordinates, (e) => (_(), u("line", {
831
+ x1: z.value.width / 2,
832
+ y1: z.value.height / 2,
833
+ x2: e.x,
834
+ y2: e.y,
835
+ stroke: P.value.style.chart.layout.grid.stroke,
836
+ "stroke-width": P.value.style.chart.layout.grid.strokeWidth
837
+ }, null, 8, Ke))), 256)),
838
+ d("path", {
839
+ d: nn.value.path,
840
+ fill: "none",
841
+ stroke: P.value.style.chart.layout.outerPolygon.stroke,
842
+ "stroke-width": P.value.style.chart.layout.outerPolygon.strokeWidth,
843
+ "stroke-linejoin": "round",
844
+ "stroke-linecap": "round"
845
+ }, null, 8, qe),
846
+ d("g", { transform: B("5") }, [d("path", {
847
+ fill: "none",
848
+ stroke: P.value.style.chart.layout.smileys.colors[5],
849
+ "stroke-width": "1",
850
+ "stroke-linecap": "round",
851
+ d: "M119 25A1 1 0 00137 25 1 1 0 00119 25M123 26C124 33 132 33 133 26L123 26M123 22A1 1 0 00126 22 1 1 0 00123 22M130 22A1 1 0 00133 22 1 1 0 00130 22"
852
+ }, null, 8, Ye), d("circle", {
853
+ role: "button",
854
+ class: "vue-ui-mood-radar-trap",
855
+ cx: "128",
856
+ cy: "25",
857
+ r: "20",
858
+ "aria-label": $("5"),
859
+ fill: D.value === "5" ? x(o)(P.value.style.chart.layout.smileys.colors[5], 20) : "transparent",
860
+ onMouseenter: t[0] ||= (e) => W("5"),
861
+ onMouseleave: t[1] ||= (e) => G("5"),
862
+ onClick: t[2] ||= (e) => K("5")
863
+ }, null, 40, Xe)], 8, Je),
864
+ d("g", { transform: B("4") }, [d("path", {
865
+ fill: "none",
866
+ stroke: P.value.style.chart.layout.smileys.colors[4],
867
+ "stroke-width": "1",
868
+ "stroke-linecap": "round",
869
+ d: "M218 95A1 1 0 00236 95 1 1 0 00218 95M222 97C225 99 229 99 232 97M222 92A1 1 0 00225 92 1 1 0 00222 92M229 92A1 1 0 00232 92 1 1 0 00229 92"
870
+ }, null, 8, Qe), d("circle", {
871
+ class: "vue-ui-mood-radar-trap",
872
+ cx: "227",
873
+ cy: "95.5",
874
+ r: "20",
875
+ "aria-label": $("4"),
876
+ fill: D.value === "4" ? x(o)(P.value.style.chart.layout.smileys.colors[4], 20) : "transparent",
877
+ onMouseenter: t[3] ||= (e) => W("4"),
878
+ onMouseleave: t[4] ||= (e) => G("4"),
879
+ onClick: t[5] ||= (e) => K("4")
880
+ }, null, 40, $e)], 8, Ze),
881
+ d("g", { transform: B("3") }, [d("path", {
882
+ fill: "none",
883
+ stroke: P.value.style.chart.layout.smileys.colors[3],
884
+ "stroke-width": "1",
885
+ "stroke-linecap": "round",
886
+ d: "M181 213A1 1 0 00199 213 1 1 0 00181 213M185 210A1 1 0 00188 210 1 1 0 00185 210M192 210A1 1 0 00195 210 1 1 0 00192 210M185 215 195 215"
887
+ }, null, 8, tt), d("circle", {
888
+ class: "vue-ui-mood-radar-trap",
889
+ cx: "190",
890
+ cy: "213.5",
891
+ r: "20",
892
+ "aria-label": $("3"),
893
+ fill: D.value === "3" ? x(o)(P.value.style.chart.layout.smileys.colors[3], 20) : "transparent",
894
+ onMouseenter: t[6] ||= (e) => W("3"),
895
+ onMouseleave: t[7] ||= (e) => G("3"),
896
+ onClick: t[8] ||= (e) => K("3")
897
+ }, null, 40, nt)], 8, et),
898
+ d("g", { transform: B("2") }, [d("path", {
899
+ fill: "none",
900
+ stroke: P.value.style.chart.layout.smileys.colors[2],
901
+ "stroke-width": "1",
902
+ "stroke-linecap": "round",
903
+ d: "M56 213A1 1 0 0074 213 1 1 0 0056 213M60 216C63 214 67 214 70 216M60 210A1 1 0 0063 210 1 1 0 0060 210M67 210A1 1 0 0070 210 1 1 0 0067 210"
904
+ }, null, 8, it), d("circle", {
905
+ class: "vue-ui-mood-radar-trap",
906
+ cx: "65",
907
+ cy: "213.5",
908
+ r: "20",
909
+ "aria-label": $("2"),
910
+ fill: D.value === "2" ? x(o)(P.value.style.chart.layout.smileys.colors[2], 20) : "transparent",
911
+ onMouseenter: t[9] ||= (e) => W("2"),
912
+ onMouseleave: t[10] ||= (e) => G("2"),
913
+ onClick: t[11] ||= (e) => K("2")
914
+ }, null, 40, at)], 8, rt),
915
+ d("g", { transform: B("1") }, [d("path", {
916
+ fill: "none",
917
+ stroke: P.value.style.chart.layout.smileys.colors[1],
918
+ "stroke-width": "1",
919
+ "stroke-linecap": "round",
920
+ d: "M20 96A1 1 0 0038 96 1 1 0 0020 96M24 100C25 95 33 95 34 100L24 100M24 93A1 1 0 0027 93 1 1 0 0024 93M31 93A1 1 0 0034 93 1 1 0 0031 93"
921
+ }, null, 8, st), d("circle", {
922
+ class: "vue-ui-mood-radar-trap",
923
+ cx: "29",
924
+ cy: "95.5",
925
+ r: "20",
926
+ "aria-label": $("1"),
927
+ fill: D.value === "1" ? x(o)(P.value.style.chart.layout.smileys.colors[1], 20) : "transparent",
928
+ onMouseenter: t[12] ||= (e) => W("1"),
929
+ onMouseleave: t[13] ||= (e) => G("1"),
930
+ onClick: t[14] ||= (e) => K("1")
931
+ }, null, 40, ct)], 8, ot),
932
+ d("path", {
933
+ d: x(ae)(sn.value.map((e) => e.plots)),
934
+ stroke: P.value.style.chart.layout.dataPolygon.stroke,
935
+ "stroke-width": P.value.style.chart.layout.dataPolygon.strokeWidth,
936
+ "stroke-linecap": "round",
937
+ "stroke-linejoin": "round",
938
+ fill: P.value.style.chart.layout.dataPolygon.gradient.show ? `url(#mood_radar_gradient_${T.value})` : x(o)(P.value.style.chart.layout.dataPolygon.color, P.value.style.chart.layout.dataPolygon.opacity)
939
+ }, null, 8, lt),
940
+ (_(!0), u(we, null, Me(sn.value.map((e) => e.plots), (e, t) => (_(), u("g", {
941
+ class: "vue-ui-mood-radar-trap",
942
+ style: g(`opacity:${D.value == e.key ? "1" : "0"}`)
943
+ }, [
944
+ d("line", {
945
+ x1: e.x,
946
+ y1: e.y,
947
+ x2: z.value.width / 2,
948
+ y2: z.value.height / 2,
949
+ stroke: P.value.style.chart.layout.smileys.colors[e.key]
950
+ }, null, 8, ut),
951
+ d("circle", {
952
+ cx: e.x,
953
+ cy: e.y,
954
+ fill: P.value.style.chart.layout.smileys.colors[e.key],
955
+ r: "3",
956
+ stroke: P.value.style.chart.backgroundColor,
957
+ "stroke-width": .5
958
+ }, null, 8, dt),
959
+ d("circle", {
960
+ cx: z.value.width / 2,
961
+ cy: z.value.height / 2,
962
+ fill: P.value.style.chart.layout.smileys.colors[e.key],
963
+ r: "3",
964
+ stroke: P.value.style.chart.backgroundColor,
965
+ "stroke-width": .5
966
+ }, null, 8, ft),
967
+ d("text", {
968
+ x: z.value.width / 2,
969
+ y: ["5", 5].includes(e.key) ? z.value.height / 2 * 1.13 : z.value.height / 2 * .9375,
970
+ fill: P.value.style.chart.layout.dataLabel.color,
971
+ "font-size": "12",
972
+ "text-anchor": "middle",
973
+ "font-weight": P.value.style.chart.layout.dataLabel.bold ? "bold" : "normal"
974
+ }, b(x(re)(P.value.style.chart.layout.dataLabel.formatter, e.value, x(n)({
975
+ p: P.value.style.chart.layout.dataLabel.prefix,
976
+ v: e.value,
977
+ s: P.value.style.chart.layout.dataLabel.suffix,
978
+ r: P.value.style.chart.layout.dataLabel.roundingValue
979
+ }), {
980
+ datapoint: e,
981
+ seriesIndex: t
982
+ })), 9, pt),
983
+ d("text", {
984
+ x: z.value.width / 2,
985
+ y: ["5", 5].includes(e.key) ? z.value.height / 2 * 1.273 : z.value.height / 2 * .7968,
986
+ fill: P.value.style.chart.layout.dataLabel.color,
987
+ "font-size": "12",
988
+ "text-anchor": "middle"
989
+ }, " (" + b(x(n)({
990
+ v: e.value / V.value * 100,
991
+ s: "%",
992
+ r: P.value.style.chart.layout.dataLabel.roundingPercentage
993
+ })) + ") ", 9, mt)
994
+ ], 4))), 256)),
995
+ y(e.$slots, "svg", { svg: {
996
+ ...z.value,
997
+ isPrintingImg: x(Yt) || x(Xt) || j.value,
998
+ isPrintingSvg: M.value
999
+ } }, void 0, !0)
1000
+ ], 46, Ve)), e.$slots.hint ? (_(), u("div", ht, [y(e.$slots, "hint", h(m({
1001
+ hint: P.value.a11y.translations.keyboardNavigation,
1002
+ isVisible: zt.value
1003
+ })), void 0, !0)])) : l("", !0)]),
1004
+ e.$slots.watermark ? (_(), u("div", gt, [y(e.$slots, "watermark", h(m({ isPrinting: x(Yt) || x(Xt) || j.value || M.value })), void 0, !0)])) : l("", !0),
1005
+ d("div", { id: `legend-bottom-${T.value}` }, null, 8, _t),
1006
+ Lt.value && (P.value.style.chart.legend.show || e.$slots.legend) ? (_(), c(Te, {
1007
+ key: 6,
1008
+ to: P.value.style.chart.legend.position === "top" ? `#legend-top-${T.value}` : `#legend-bottom-${T.value}`
1009
+ }, [d("div", {
1010
+ ref_key: "chartLegend",
1011
+ ref: Ft
1012
+ }, [y(e.$slots, "legend", { legend: H.value }, () => [P.value.style.chart.legend.show ? (_(), c(Se, {
1013
+ legendSet: on.value,
1014
+ config: cn.value,
1015
+ key: `legend_${Nt.value}`,
1016
+ isCursorPointer: F.value,
1017
+ style: {
1018
+ display: "flex",
1019
+ "row-gap": "6px"
1020
+ },
1021
+ onFocusMarker: t[15] ||= ({ legend: e }) => U(e.key)
1022
+ }, {
1023
+ item: S(({ legend: e, index: t }) => [d("div", {
1024
+ role: "button",
1025
+ onClick: () => U(e.key),
1026
+ style: {
1027
+ display: "flex",
1028
+ "flex-direction": "row",
1029
+ gap: "3px",
1030
+ "align-items": "center",
1031
+ margin: "3px 0"
1032
+ },
1033
+ onKeydown: (t) => Nn(t, String(e.key))
1034
+ }, [
1035
+ e.key == 1 ? (_(), c(x(C), {
1036
+ key: 0,
1037
+ strokeWidth: 1,
1038
+ name: "moodSad",
1039
+ stroke: P.value.style.chart.layout.smileys.colors[e.key]
1040
+ }, null, 8, ["stroke"])) : l("", !0),
1041
+ e.key == 2 ? (_(), c(x(C), {
1042
+ key: 1,
1043
+ strokeWidth: 1,
1044
+ name: "moodFlat",
1045
+ stroke: P.value.style.chart.layout.smileys.colors[e.key]
1046
+ }, null, 8, ["stroke"])) : l("", !0),
1047
+ e.key == 3 ? (_(), c(x(C), {
1048
+ key: 2,
1049
+ strokeWidth: 1,
1050
+ name: "moodNeutral",
1051
+ stroke: P.value.style.chart.layout.smileys.colors[e.key]
1052
+ }, null, 8, ["stroke"])) : l("", !0),
1053
+ e.key == 4 ? (_(), c(x(C), {
1054
+ key: 3,
1055
+ strokeWidth: 1,
1056
+ name: "smiley",
1057
+ stroke: P.value.style.chart.layout.smileys.colors[e.key]
1058
+ }, null, 8, ["stroke"])) : l("", !0),
1059
+ e.key == 5 ? (_(), c(x(C), {
1060
+ key: 4,
1061
+ strokeWidth: 1,
1062
+ name: "moodHappy",
1063
+ stroke: P.value.style.chart.layout.smileys.colors[e.key]
1064
+ }, null, 8, ["stroke"])) : l("", !0),
1065
+ x(Ht) ? l("", !0) : (_(), u("span", {
1066
+ key: 5,
1067
+ style: g({ fontWeight: P.value.style.chart.legend.bold ? "bold" : "normal" })
1068
+ }, b(e.display), 5))
1069
+ ], 40, vt)]),
1070
+ _: 1
1071
+ }, 8, [
1072
+ "legendSet",
1073
+ "config",
1074
+ "isCursorPointer"
1075
+ ])) : l("", !0)], !0)], 512)], 8, ["to"])) : l("", !0),
1076
+ e.$slots.source ? (_(), u("div", {
1077
+ key: 7,
1078
+ ref_key: "source",
1079
+ ref: It,
1080
+ dir: "auto"
1081
+ }, [y(e.$slots, "source", {}, void 0, !0)], 512)) : l("", !0),
1082
+ Bt.value && P.value.userOptions.buttons.table ? (_(), c(Ne(Z.value.component), Oe({ key: 8 }, Z.value.props, {
1083
+ ref_key: "tableUnit",
1084
+ ref: A,
1085
+ onClose: hn
1086
+ }), Ee({
1087
+ content: S(() => [f(x(xt), {
1088
+ colNames: J.value.colNames,
1089
+ head: J.value.head,
1090
+ body: J.value.body,
1091
+ config: J.value.config,
1092
+ title: P.value.table.useDialog ? "" : Z.value.title,
1093
+ withCloseButton: !P.value.table.useDialog,
1094
+ isCursorPointer: F.value,
1095
+ onClose: hn
1096
+ }, {
1097
+ th: S(({ th: e }) => [d("div", {
1098
+ innerHTML: e,
1099
+ style: {
1100
+ display: "flex",
1101
+ "align-items": "center"
1102
+ }
1103
+ }, null, 8, yt)]),
1104
+ td: S(({ td: e }) => [De(b(e.name || e), 1)]),
1105
+ _: 1
1106
+ }, 8, [
1107
+ "colNames",
1108
+ "head",
1109
+ "body",
1110
+ "config",
1111
+ "title",
1112
+ "withCloseButton",
1113
+ "isCursorPointer"
1114
+ ])]),
1115
+ _: 2
1116
+ }, [P.value.table.useDialog ? {
1117
+ name: "title",
1118
+ fn: S(() => [De(b(Z.value.title), 1)]),
1119
+ key: "0"
1120
+ } : void 0, P.value.table.useDialog ? {
1121
+ name: "actions",
1122
+ fn: S(() => [d("button", {
1123
+ tabindex: "0",
1124
+ class: "vue-ui-user-options-button",
1125
+ onClick: t[16] ||= (e) => ln(P.value.userOptions.callbacks.csv),
1126
+ style: g({ cursor: F.value ? "pointer" : "default" })
1127
+ }, [f(x(C), {
1128
+ name: "fileCsv",
1129
+ stroke: Z.value.props.color
1130
+ }, null, 8, ["stroke"])], 4)]),
1131
+ key: "1"
1132
+ } : void 0]), 1040)) : l("", !0),
1133
+ y(e.$slots, "skeleton", {}, () => [x(Ht) ? (_(), c(ue, { key: 0 })) : l("", !0)], !0)
1134
+ ], 46, Le));
1135
+ }
1136
+ }, [["__scopeId", "data-v-3257af7c"]]);
1137
+ //#endregion
1138
+ export { Ie as n, C as t };