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
@@ -1,1197 +0,0 @@
1
- import { defineAsyncComponent as N, ref as i, computed as d, toRefs as Mt, onMounted as Nt, watch as Be, openBlock as u, createElementBlock as m, normalizeStyle as B, normalizeClass as Ee, createElementVNode as n, toDisplayString as E, createBlock as k, createCommentVNode as f, unref as l, withCtx as y, renderSlot as v, normalizeProps as C, guardReactiveProps as w, createVNode as te, createSlots as Re, Fragment as Ve, renderList as Ke, Teleport as Lt, resolveDynamicComponent as Dt, mergeProps as It, createTextVNode as Ue, nextTick as fe } from "vue";
2
- import { j as Ft, t as je, o as Bt, q as We, A as Et, k as he, l as R, X as Rt, u as T, v as Vt, ah as Kt, a0 as Ut, a1 as jt } from "./lib-DMzrGQHK.js";
3
- import { t as Wt, u as zt } from "./useResponsive-DfdjqQps.js";
4
- import { u as Gt } from "./useConfig-CG4HT3wS.js";
5
- import { u as Ht, B as Xt } from "./BaseScanner-C2j3TsSY.js";
6
- import { u as qt } from "./usePrinter-C4t8DdQ-.js";
7
- import { u as Yt } from "./useSvgExport-BTG4hVPO.js";
8
- import { u as ge } from "./useNestedProp-DH0BEVVS.js";
9
- import { u as Jt } from "./useThemeCheck-C9Ccl7U9.js";
10
- import { u as Qt } from "./useUserOptionState-B7Ej974k.js";
11
- import { u as Zt } from "./useChartAccessibility-cp6XQtqi.js";
12
- import eo from "./img-CjTQXS0U.js";
13
- import to from "./Title-BbKoiBk2.js";
14
- import oo from "./vue_ui_mood_radar-BUs6Fdn8.js";
15
- import ao from "./Legend-DGN5lY60.js";
16
- import { A as lo } from "./A11yDataTable-BpmuNomI.js";
17
- import { _ as no } from "./_plugin-vue_export-helper-CHgC5LLL.js";
18
- const so = ["id"], ro = ["id"], uo = ["id"], io = { style: { position: "relative" } }, co = ["xmlns", "aria-describedby", "viewBox"], vo = ["width", "height"], yo = ["id"], fo = ["stop-color"], ho = ["stop-color"], go = ["x1", "y1", "x2", "y2", "stroke", "stroke-width"], po = ["d", "stroke", "stroke-width"], mo = ["transform"], bo = ["stroke"], ko = ["aria-label", "fill"], Co = ["transform"], wo = ["stroke"], $o = ["aria-label", "fill"], xo = ["transform"], Ao = ["stroke"], Po = ["aria-label", "fill"], To = ["transform"], Oo = ["stroke"], So = ["aria-label", "fill"], _o = ["transform"], Mo = ["stroke"], No = ["aria-label", "fill"], Lo = ["d", "stroke", "stroke-width", "fill"], Do = ["x1", "y1", "x2", "y2", "stroke"], Io = ["cx", "cy", "fill", "stroke"], Fo = ["cx", "cy", "fill", "stroke"], Bo = ["x", "y", "fill", "font-weight"], Eo = ["x", "y", "fill"], Ro = {
19
- key: 0,
20
- style: { position: "absolute", top: "100%", left: "0", width: "100%" },
21
- "data-dom-to-png-ignore": "",
22
- "aria-hidden": "true"
23
- }, Vo = {
24
- key: 5,
25
- class: "vue-data-ui-watermark"
26
- }, Ko = ["id"], Uo = ["onClick", "onKeydown"], jo = ["innerHTML"], Wo = {
27
- __name: "vue-ui-mood-radar",
28
- props: {
29
- config: {
30
- type: Object,
31
- default() {
32
- return {};
33
- }
34
- },
35
- dataset: {
36
- type: Object,
37
- default() {
38
- return {};
39
- }
40
- }
41
- },
42
- emits: ["copyAlt"],
43
- setup(ze, { expose: Ge, emit: He }) {
44
- const L = N(() => import("./BaseIcon-DX0hTWa-.js")), Xe = N(() => import("./vue-ui-accordion-DFtpH_16.js")), qe = N(() => import("./DataTable-cMnb68Ik.js")), Ye = N(
45
- () => import("./PenAndPaper-CJDoB5H9.js")
46
- ), Je = N(
47
- () => import("./UserOptions-DVduN6X7.js")
48
- ), Qe = N(
49
- () => import("./PackageVersion-BfrCAH6_.js")
50
- ), Ze = N(
51
- () => import("./BaseDraggableDialog-Di8Hlru3.js")
52
- ), { vue_ui_mood_radar: et } = Gt(), { isThemeValid: tt, warnInvalidTheme: ot } = Jt(), $ = ze, at = He, b = i(Ft()), A = i(null), p = i(null), pe = i(null), lt = i(0), nt = i(0), me = i(0), be = i(null), ke = i(null), V = i(null), Y = i(null), Ce = i(null), we = i(!1), K = i(null), oe = i(null), J = i(!1), Q = i(!1), O = i(null), ae = i(!1), $e = d(() => !!$.dataset && Object.keys($.dataset).length), e = i(se()), D = d(
53
- () => e.value.userOptions.useCursorPointer
54
- ), st = d(() => je({
55
- defaultConfig: {
56
- userOptions: { show: !1 },
57
- table: { show: !1 },
58
- style: {
59
- chart: {
60
- backgroundColor: "#99999930",
61
- layout: {
62
- grid: {
63
- stroke: "#6A6A6A"
64
- },
65
- outerPolygon: {
66
- stroke: "#6A6A6A"
67
- },
68
- dataPolygon: {
69
- color: "#6A6A6A",
70
- opacity: 30,
71
- stroke: "#6A6A6A"
72
- },
73
- smileys: {
74
- colors: {
75
- 1: "#DBDBDB",
76
- 2: "#C4C4C4",
77
- 3: "#ADADAD",
78
- 4: "#969696",
79
- 5: "#808080"
80
- }
81
- },
82
- dataLabel: {
83
- color: "transparent"
84
- }
85
- },
86
- legend: {
87
- backgroundColor: "transparent"
88
- }
89
- }
90
- }
91
- },
92
- userConfig: e.value.skeletonConfig ?? {}
93
- })), { loading: le, FINAL_DATASET: S } = Ht({
94
- ...Mt($),
95
- FINAL_CONFIG: e,
96
- prepareConfig: se,
97
- callback: () => {
98
- Promise.resolve().then(async () => {
99
- await fe(), _.value.showTable = e.value.table.show;
100
- });
101
- },
102
- skeletonDataset: $.config?.skeletonDataset ?? {
103
- 1: 1,
104
- 2: 1,
105
- 3: 1,
106
- 4: 1,
107
- 5: 1
108
- },
109
- skeletonConfig: je({
110
- defaultConfig: e.value,
111
- userConfig: st.value
112
- })
113
- });
114
- Nt(() => {
115
- we.value = !0, xe();
116
- });
117
- const rt = d(() => e.value.debug);
118
- function xe() {
119
- if (Bt($.dataset) && We({
120
- componentName: "VueUiMoodRadar",
121
- type: "dataset",
122
- debug: rt.value
123
- }), e.value.responsive) {
124
- const t = Wt(() => {
125
- const { width: a, height: o } = zt({
126
- chart: A.value,
127
- title: e.value.style.chart.title.text ? be.value : null,
128
- legend: e.value.style.chart.legend.show ? ke.value : null,
129
- noTitle: pe.value,
130
- source: Ce.value
131
- });
132
- requestAnimationFrame(() => {
133
- r.value.width = a, r.value.height = o - 12;
134
- });
135
- });
136
- V.value && (Y.value && V.value.unobserve(Y.value), V.value.disconnect()), V.value = new ResizeObserver(t), Y.value = A.value.parentNode, V.value.observe(Y.value);
137
- }
138
- }
139
- const { userOptionsVisible: ne, setUserOptionsVisibility: Ae, keepUserOptionState: Pe } = Qt({ config: e.value }), { svgRef: U } = Zt({
140
- config: e.value.style.chart.title
141
- });
142
- function se() {
143
- const t = ge({
144
- userConfig: $.config,
145
- defaultConfig: et
146
- }), a = t.theme;
147
- if (!a) return t;
148
- if (!tt.value(t))
149
- return ot(t), t;
150
- const o = ge({
151
- userConfig: oo[a] || $.config,
152
- defaultConfig: t
153
- });
154
- return ge({
155
- userConfig: $.config,
156
- defaultConfig: o
157
- });
158
- }
159
- Be(
160
- () => $.config,
161
- (t) => {
162
- e.value = se(), ne.value = !e.value.userOptions.showOnChartHover, xe(), lt.value += 1, nt.value += 1, me.value += 1, _.value.showTable = e.value.table.show;
163
- },
164
- { deep: !0 }
165
- );
166
- const { isPrinting: re, isImaging: ue, generatePdf: Te, generateImage: Oe } = qt({
167
- elementId: b.value,
168
- fileName: e.value.style.chart.title.text || "vue-ui-mood-radar",
169
- options: e.value.userOptions.print
170
- }), ut = d(() => e.value.userOptions.show && !e.value.style.chart.title.text), _ = i({
171
- showTable: e.value.table.show
172
- }), r = i({
173
- height: 256,
174
- width: 256
175
- }), it = {
176
- 5: { x: 128, y: 35 },
177
- 4: { x: 218, y: 98.5 },
178
- 3: { x: 185, y: 204 },
179
- 2: { x: 70, y: 204 },
180
- 1: { x: 38.5, y: 98.5 }
181
- }, ct = d(() => {
182
- const t = {};
183
- return ce.value.forEach((a) => {
184
- t[a.key] = { x: a.x, y: a.y };
185
- }), t;
186
- });
187
- function j(t) {
188
- const a = it[t], o = ct.value[t] || a;
189
- return `translate(${o.x - a.x}, ${o.y - a.y})`;
190
- }
191
- const ie = d(() => Et({
192
- plot: { x: r.value.width / 2, y: r.value.height / 2 },
193
- radius: Math.min(r.value.height, r.value.width) * 0.35,
194
- sides: 5,
195
- rotation: 11
196
- }));
197
- function dt({ centerX: t, centerY: a, apexX: o, apexY: s, proportion: g, key: c, value: ee }) {
198
- return {
199
- x: t + (o - t) * g,
200
- y: a + (s - a) * g,
201
- key: c,
202
- value: ee
203
- };
204
- }
205
- const vt = d(() => Math.max(
206
- ...Object.values(S.value).map((t) => isNaN(t) ? 0 : t)
207
- )), x = d(() => Object.values(S.value).reduce(
208
- (t, a) => (isNaN(t) ? 0 : t) + (isNaN(a) ? 0 : a),
209
- 0
210
- )), h = d(() => Object.keys(S.value).map((t, a) => {
211
- const o = typeof S.value[t] != "number" || isNaN(S.value[t]) ? 0 : S.value[t];
212
- return {
213
- index: a,
214
- key: t,
215
- value: o,
216
- proportion: o / x.value,
217
- color: e.value.style.chart.layout.smileys.colors[t]
218
- };
219
- }).sort((t, a) => a.key - t.key)), Se = d(() => h.value.map((t, a) => ({
220
- ...t,
221
- display: `${he(
222
- e.value.style.chart.layout.dataLabel.formatter,
223
- t.value,
224
- R({
225
- p: e.value.style.chart.layout.dataLabel.prefix,
226
- v: t.value,
227
- s: e.value.style.chart.layout.dataLabel.suffix,
228
- r: e.value.style.chart.layout.dataLabel.roundingValue
229
- })
230
- )}${le.value ? "" : ` (${R({
231
- v: t.proportion * 100,
232
- s: "%",
233
- r: e.value.style.chart.legend.roundingPercentage
234
- })})`}`
235
- }))), ce = d(() => (["1", "2", "3", "4", "5"].forEach((t) => {
236
- [null, void 0].includes(S.value[t]) && We({
237
- componentName: "VueUiMoodRadar",
238
- type: "datasetAttribute",
239
- property: t
240
- });
241
- }), ie.value.coordinates.map((t, a) => {
242
- const o = dt({
243
- centerX: r.value.width / 2,
244
- centerY: r.value.height / 2,
245
- apexX: t.x,
246
- apexY: t.y,
247
- proportion: h.value[a].value / vt.value,
248
- key: h.value[a].key,
249
- value: h.value[a].value
250
- });
251
- return {
252
- ...t,
253
- plots: o,
254
- key: h.value[a].key
255
- };
256
- }))), yt = d(() => ({
257
- cy: "mood-radar-legend",
258
- backgroundColor: e.value.style.chart.legend.backgroundColor,
259
- color: e.value.style.chart.legend.color,
260
- fontSize: e.value.style.chart.legend.fontSize,
261
- paddingBottom: 12,
262
- fontWeight: e.value.style.chart.legend.bold ? "bold" : ""
263
- }));
264
- function Z(t) {
265
- t === p.value ? p.value = null : (p.value = t, I(t));
266
- }
267
- function W(t) {
268
- p.value = t;
269
- const a = h.value.find((o) => o.key === t);
270
- e.value.events.datapointEnter && e.value.events.datapointEnter({
271
- datapoint: a,
272
- seriesIndex: a.index
273
- });
274
- }
275
- function z(t) {
276
- p.value = null;
277
- const a = h.value.find((o) => o.key === t);
278
- e.value.events.datapointLeave && e.value.events.datapointLeave({
279
- datapoint: a,
280
- seriesIndex: a.index
281
- });
282
- }
283
- function I(t) {
284
- const a = h.value.find((o) => o.key === t);
285
- e.value.events.datapointClick && e.value.events.datapointClick({
286
- datapoint: a,
287
- seriesIndex: a.index
288
- });
289
- }
290
- const P = d(() => {
291
- const t = h.value.map((o) => ({
292
- name: o.key,
293
- color: o.color
294
- })), a = h.value.map(
295
- (o) => isNaN(o.value) ? 0 : o.value
296
- );
297
- return { head: t, body: a };
298
- });
299
- function de(t = null) {
300
- fe(() => {
301
- const a = P.value.head.map((g, c) => [
302
- [g.name],
303
- [P.value.body[c]],
304
- [
305
- isNaN(P.value.body[c] / x.value) ? "-" : P.value.body[c] / x.value * 100
306
- ]
307
- ]), o = [
308
- [e.value.style.chart.title.text],
309
- [e.value.style.chart.title.subtitle.text],
310
- [[""], ["val"], ["%"]]
311
- ].concat(a), s = Ut(o);
312
- t ? t(s) : jt({
313
- csvContent: s,
314
- title: e.value.style.chart.title.text || "vue-ui-mood-radar"
315
- });
316
- });
317
- }
318
- const G = d(() => {
319
- const t = [
320
- ' <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>',
321
- Number(
322
- x.value.toFixed(e.value.table.td.roundingValue)
323
- ).toLocaleString(),
324
- "100%"
325
- ], a = P.value.head.map((g, c) => [
326
- {
327
- color: g.color,
328
- name: g.name
329
- },
330
- P.value.body[c].toFixed(
331
- e.value.table.td.roundingValue
332
- ),
333
- isNaN(P.value.body[c] / x.value) ? "-" : (P.value.body[c] / x.value * 100).toFixed(
334
- e.value.table.td.roundingPercentage
335
- ) + "%"
336
- ]), o = {
337
- th: {
338
- backgroundColor: e.value.table.th.backgroundColor,
339
- color: e.value.table.th.color,
340
- outline: e.value.table.th.outline
341
- },
342
- td: {
343
- backgroundColor: e.value.table.td.backgroundColor,
344
- color: e.value.table.td.color,
345
- outline: e.value.table.td.outline
346
- },
347
- breakpoint: e.value.table.responsiveBreakpoint
348
- }, s = [
349
- e.value.table.columnNames.series,
350
- e.value.table.columnNames.value,
351
- e.value.table.columnNames.percentage
352
- ];
353
- return {
354
- head: t,
355
- body: a,
356
- config: o,
357
- colNames: s
358
- };
359
- });
360
- function ft() {
361
- return h.value;
362
- }
363
- function _e() {
364
- _.value.showTable = !_.value.showTable;
365
- }
366
- const F = i(!1);
367
- function Me(t) {
368
- F.value = t;
369
- }
370
- const H = i(!1);
371
- function ve() {
372
- H.value = !H.value;
373
- }
374
- async function ht({ scale: t = 2 } = {}) {
375
- if (!A.value) return;
376
- const { width: a, height: o } = A.value.getBoundingClientRect(), s = a / o, { imageUri: g, base64: c } = await eo({
377
- domElement: A.value,
378
- base64: !0,
379
- img: !0,
380
- scale: t
381
- });
382
- return {
383
- imageUri: g,
384
- base64: c,
385
- title: e.value.style.chart.title.text,
386
- width: a,
387
- height: o,
388
- aspectRatio: s
389
- };
390
- }
391
- const X = d(() => {
392
- const t = e.value.table.useDialog && !e.value.table.show, a = _.value.showTable;
393
- return {
394
- component: t ? Ze : Xe,
395
- title: `${e.value.style.chart.title.text}${e.value.style.chart.title.subtitle.text ? `: ${e.value.style.chart.title.subtitle.text}` : ""}`,
396
- props: t ? {
397
- backgroundColor: e.value.table.th.backgroundColor,
398
- color: e.value.table.th.color,
399
- headerColor: e.value.table.th.color,
400
- headerBg: e.value.table.th.backgroundColor,
401
- isFullscreen: F.value,
402
- fullscreenParent: A.value,
403
- forcedWidth: Math.min(800, window.innerWidth * 0.8),
404
- isCursorPointer: D.value
405
- } : {
406
- hideDetails: !0,
407
- config: {
408
- open: a,
409
- maxHeight: 1e4,
410
- body: {
411
- backgroundColor: e.value.style.chart.backgroundColor,
412
- color: e.value.style.chart.color
413
- },
414
- head: {
415
- backgroundColor: e.value.style.chart.backgroundColor,
416
- color: e.value.style.chart.color
417
- }
418
- }
419
- }
420
- };
421
- });
422
- Be(
423
- () => _.value.showTable,
424
- (t) => {
425
- e.value.table.show || (t && e.value.table.useDialog && K.value ? K.value.open() : "close" in K.value && K.value.close());
426
- }
427
- );
428
- function Ne() {
429
- _.value.showTable = !1, oe.value && oe.value.setTableIconState(!1);
430
- }
431
- const gt = d(() => Se.value.map((t) => ({
432
- ...t,
433
- name: t.display,
434
- shape: "circle"
435
- }))), pt = d(() => e.value.style.chart.backgroundColor), mt = d(() => e.value.style.chart.legend), bt = d(() => e.value.style.chart.title), { exportSvg: kt, getSvg: Ct } = Yt({
436
- svg: U,
437
- title: bt,
438
- legend: mt,
439
- legendItems: gt,
440
- backgroundColor: pt
441
- });
442
- async function Le({ isCb: t }) {
443
- Q.value = !0, await fe();
444
- try {
445
- if (t) {
446
- const { blob: a, url: o, text: s, dataUrl: g } = await Ct();
447
- await Promise.resolve(
448
- e.value.userOptions.callbacks.svg({
449
- blob: a,
450
- url: o,
451
- text: s,
452
- dataUrl: g
453
- })
454
- );
455
- } else
456
- await Promise.resolve(kt());
457
- } finally {
458
- Q.value = !1;
459
- }
460
- }
461
- function wt(t) {
462
- if (t?.stage === "start") {
463
- J.value = !0;
464
- return;
465
- }
466
- if (t?.stage === "end") {
467
- J.value = !1;
468
- return;
469
- }
470
- Oe();
471
- }
472
- async function De() {
473
- if (at("copyAlt", {
474
- config: e.value,
475
- dataset: h.value
476
- }), !e.value.userOptions.callbacks.altCopy) {
477
- console.warn(
478
- "Vue Data UI - A callback must be set for `altCopy` in userOptions."
479
- );
480
- return;
481
- }
482
- await Promise.resolve(
483
- e.value.userOptions.callbacks.altCopy({
484
- config: e.value,
485
- dataset: h.value
486
- })
487
- );
488
- }
489
- const M = d(
490
- () => h.value.map((t) => String(t.key))
491
- );
492
- function $t() {
493
- Ae(!0);
494
- }
495
- function xt() {
496
- Ae(!1);
497
- }
498
- function At(t) {
499
- return h.value.find(
500
- (a) => String(a.key) === String(t)
501
- );
502
- }
503
- function Ie(t, a, o) {
504
- return he(
505
- e.value.style.chart.layout.dataLabel.formatter,
506
- t,
507
- R({
508
- p: e.value.style.chart.layout.dataLabel.prefix,
509
- v: t,
510
- s: e.value.style.chart.layout.dataLabel.suffix,
511
- r: e.value.style.chart.layout.dataLabel.roundingValue
512
- }),
513
- { datapoint: o, seriesIndex: a }
514
- );
515
- }
516
- function Fe(t) {
517
- return R({
518
- v: x.value ? t / x.value * 100 : 0,
519
- s: "%",
520
- r: e.value.style.chart.layout.dataLabel.roundingPercentage
521
- });
522
- }
523
- function q(t) {
524
- const a = At(t);
525
- return a ? `${t}, ${Ie(a.value, a.index, a)}, ${Fe(a.value)}` : `${t}`;
526
- }
527
- function Pt(t) {
528
- const a = M.value[t];
529
- a && (O.value = t, p.value = a);
530
- }
531
- function Tt() {
532
- ae.value = !0;
533
- }
534
- function Ot() {
535
- O.value = null, p.value = null, ae.value = !1;
536
- }
537
- function St(t) {
538
- if (!U.value || !M.value.length || H.value || document.activeElement !== U.value) return;
539
- const a = ["ArrowLeft", "ArrowUp"].includes(t.key), o = ["ArrowRight", "ArrowDown"].includes(t.key), s = t.key === "Enter" || t.key === " ", g = t.key === "Escape";
540
- if (!a && !o && !s && !g)
541
- return;
542
- if (t.preventDefault(), t.stopPropagation(), g) {
543
- O.value = null, p.value = null;
544
- return;
545
- }
546
- if (s) {
547
- if (O.value === null) return;
548
- const ee = M.value[O.value];
549
- if (!ee) return;
550
- Z(ee);
551
- return;
552
- }
553
- let c = O.value;
554
- c === null || c < 0 || c >= M.value.length ? c = o ? 0 : M.value.length - 1 : o ? (c += 1, c >= M.value.length && (c = 0)) : a && (c -= 1, c < 0 && (c = M.value.length - 1)), Pt(c);
555
- }
556
- function _t(t, a) {
557
- const o = t.key === "Enter" || t.key === " ", s = t.key === "Escape";
558
- if (!(!o && !s)) {
559
- if (t.preventDefault(), t.stopPropagation(), s) {
560
- O.value = null, p.value = null;
561
- return;
562
- }
563
- Z(String(a));
564
- }
565
- }
566
- const ye = d(() => {
567
- const t = G.value?.colNames ?? [], a = h.value.map((o) => [
568
- String(o.key),
569
- Ie(o.value, o.index, o),
570
- Fe(o.value)
571
- ]);
572
- return { headers: t, rows: a };
573
- });
574
- return Ge({
575
- getData: ft,
576
- getImage: ht,
577
- generatePdf: Te,
578
- generateCsv: de,
579
- generateImage: Oe,
580
- generateSvg: Le,
581
- toggleTable: _e,
582
- toggleAnnotator: ve,
583
- toggleFullscreen: Me,
584
- copyAlt: De
585
- }), (t, a) => (u(), m("div", {
586
- class: Ee(`vue-data-ui-component vue-ui-mood-radar ${F.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.value.useCssAnimation ? "" : "vue-ui-dna"}`),
587
- ref_key: "moodRadarChart",
588
- ref: A,
589
- id: `${b.value}`,
590
- style: B(`font-family:${e.value.style.fontFamily};width:100%; text-align:center;background:${e.value.style.chart.backgroundColor}`),
591
- onMouseenter: $t,
592
- onMouseleave: xt
593
- }, [
594
- n("div", {
595
- id: `chart-instructions-${b.value}`,
596
- class: "sr-only"
597
- }, [
598
- n("p", null, E(e.value.a11y.translations.keyboardNavigation), 1)
599
- ], 8, ro),
600
- ye.value?.rows?.length ? (u(), k(lo, {
601
- key: 0,
602
- uid: b.value,
603
- head: ye.value.headers,
604
- body: ye.value.rows,
605
- notice: e.value.a11y.translations.tableAvailable,
606
- caption: e.value.a11y.translations.tableCaption
607
- }, null, 8, ["uid", "head", "body", "notice", "caption"])) : f("", !0),
608
- e.value.userOptions.buttons.annotator ? (u(), k(l(Ye), {
609
- key: 1,
610
- svgRef: l(U),
611
- backgroundColor: e.value.style.chart.backgroundColor,
612
- color: e.value.style.chart.color,
613
- active: H.value,
614
- isCursorPointer: D.value,
615
- onClose: ve
616
- }, {
617
- "annotator-action-close": y(() => [
618
- v(t.$slots, "annotator-action-close", {}, void 0, !0)
619
- ]),
620
- "annotator-action-color": y(({ color: o }) => [
621
- v(t.$slots, "annotator-action-color", C(w({ color: o })), void 0, !0)
622
- ]),
623
- "annotator-action-draw": y(({ mode: o }) => [
624
- v(t.$slots, "annotator-action-draw", C(w({ mode: o })), void 0, !0)
625
- ]),
626
- "annotator-action-undo": y(({ disabled: o }) => [
627
- v(t.$slots, "annotator-action-undo", C(w({ disabled: o })), void 0, !0)
628
- ]),
629
- "annotator-action-redo": y(({ disabled: o }) => [
630
- v(t.$slots, "annotator-action-redo", C(w({ disabled: o })), void 0, !0)
631
- ]),
632
- "annotator-action-delete": y(({ disabled: o }) => [
633
- v(t.$slots, "annotator-action-delete", C(w({ disabled: o })), void 0, !0)
634
- ]),
635
- _: 3
636
- }, 8, ["svgRef", "backgroundColor", "color", "active", "isCursorPointer"])) : f("", !0),
637
- ut.value ? (u(), m("div", {
638
- key: 2,
639
- ref_key: "noTitle",
640
- ref: pe,
641
- class: "vue-data-ui-no-title-space",
642
- style: "height:36px; width: 100%;background:transparent"
643
- }, null, 512)) : f("", !0),
644
- e.value.style.chart.title.text ? (u(), m("div", {
645
- key: 3,
646
- ref_key: "chartTitle",
647
- ref: be,
648
- style: "width:100%;background:transparent"
649
- }, [
650
- te(to, {
651
- config: {
652
- title: {
653
- cy: "mood-radar-title",
654
- ...e.value.style.chart.title
655
- },
656
- subtitle: {
657
- cy: "mood-radar-subtitle",
658
- ...e.value.style.chart.title.subtitle
659
- }
660
- }
661
- }, null, 8, ["config"])
662
- ], 512)) : f("", !0),
663
- n("div", {
664
- id: `legend-top-${b.value}`
665
- }, null, 8, uo),
666
- e.value.userOptions.show && $e.value && (l(Pe) || l(ne)) ? (u(), k(l(Je), {
667
- key: 4,
668
- ref_key: "userOptionsRef",
669
- ref: oe,
670
- backgroundColor: e.value.style.chart.backgroundColor,
671
- color: e.value.style.chart.color,
672
- isPrinting: l(re),
673
- isImaging: l(ue),
674
- uid: b.value,
675
- hasPdf: e.value.userOptions.buttons.pdf,
676
- hasXls: e.value.userOptions.buttons.csv,
677
- hasImg: e.value.userOptions.buttons.img,
678
- hasSvg: e.value.userOptions.buttons.svg,
679
- hasTable: e.value.userOptions.buttons.table,
680
- hasFullscreen: e.value.userOptions.buttons.fullscreen,
681
- hasAltCopy: e.value.userOptions.buttons.altCopy,
682
- isFullscreen: F.value,
683
- titles: { ...e.value.userOptions.buttonTitles },
684
- chartElement: A.value,
685
- position: e.value.userOptions.position,
686
- hasAnnotator: e.value.userOptions.buttons.annotator,
687
- isAnnotation: H.value,
688
- callbacks: e.value.userOptions.callbacks,
689
- printScale: e.value.userOptions.print.scale,
690
- tableDialog: e.value.table.useDialog,
691
- isCursorPointer: D.value,
692
- onToggleFullscreen: Me,
693
- onGeneratePdf: l(Te),
694
- onGenerateCsv: de,
695
- onGenerateImage: wt,
696
- onGenerateSvg: Le,
697
- onToggleTable: _e,
698
- onToggleAnnotator: ve,
699
- onCopyAlt: De,
700
- style: B({
701
- visibility: l(Pe) ? l(ne) ? "visible" : "hidden" : "visible"
702
- })
703
- }, Re({ _: 2 }, [
704
- t.$slots.menuIcon ? {
705
- name: "menuIcon",
706
- fn: y(({ isOpen: o, color: s }) => [
707
- v(t.$slots, "menuIcon", C(w({ isOpen: o, color: s })), void 0, !0)
708
- ]),
709
- key: "0"
710
- } : void 0,
711
- t.$slots.optionPdf ? {
712
- name: "optionPdf",
713
- fn: y(() => [
714
- v(t.$slots, "optionPdf", {}, void 0, !0)
715
- ]),
716
- key: "1"
717
- } : void 0,
718
- t.$slots.optionCsv ? {
719
- name: "optionCsv",
720
- fn: y(() => [
721
- v(t.$slots, "optionCsv", {}, void 0, !0)
722
- ]),
723
- key: "2"
724
- } : void 0,
725
- t.$slots.optionImg ? {
726
- name: "optionImg",
727
- fn: y(() => [
728
- v(t.$slots, "optionImg", {}, void 0, !0)
729
- ]),
730
- key: "3"
731
- } : void 0,
732
- t.$slots.optionSvg ? {
733
- name: "optionSvg",
734
- fn: y(() => [
735
- v(t.$slots, "optionSvg", {}, void 0, !0)
736
- ]),
737
- key: "4"
738
- } : void 0,
739
- t.$slots.optionTable ? {
740
- name: "optionTable",
741
- fn: y(() => [
742
- v(t.$slots, "optionTable", {}, void 0, !0)
743
- ]),
744
- key: "5"
745
- } : void 0,
746
- t.$slots.optionFullscreen ? {
747
- name: "optionFullscreen",
748
- fn: y(({ toggleFullscreen: o, isFullscreen: s }) => [
749
- v(t.$slots, "optionFullscreen", C(w({ toggleFullscreen: o, isFullscreen: s })), void 0, !0)
750
- ]),
751
- key: "6"
752
- } : void 0,
753
- t.$slots.optionAnnotator ? {
754
- name: "optionAnnotator",
755
- fn: y(({ toggleAnnotator: o, isAnnotator: s }) => [
756
- v(t.$slots, "optionAnnotator", C(w({ toggleAnnotator: o, isAnnotator: s })), void 0, !0)
757
- ]),
758
- key: "7"
759
- } : void 0,
760
- t.$slots.optionAltCopy ? {
761
- name: "optionAltCopy",
762
- fn: y(({ altCopy: o }) => [
763
- v(t.$slots, "optionAltCopy", C(w({ altCopy: o })), void 0, !0)
764
- ]),
765
- key: "8"
766
- } : void 0
767
- ]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasPdf", "hasXls", "hasImg", "hasSvg", "hasTable", "hasFullscreen", "hasAltCopy", "isFullscreen", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "callbacks", "printScale", "tableDialog", "isCursorPointer", "onGeneratePdf", "style"])) : f("", !0),
768
- n("div", io, [
769
- (u(), m("svg", {
770
- ref_key: "svgRef",
771
- ref: U,
772
- xmlns: l(Rt),
773
- "aria-describedby": `chart-instructions-${b.value}`,
774
- viewBox: `0 0 ${r.value.width} ${r.value.height}`,
775
- class: Ee({
776
- "vue-data-ui-fullscreen--on": F.value,
777
- "vue-data-ui-fulscreen--off": !F.value
778
- }),
779
- style: B(`overflow:visible;background:transparent;color:${e.value.style.chart.color}`),
780
- tabindex: "0",
781
- onFocus: Tt,
782
- onBlur: Ot,
783
- onKeydown: St
784
- }, [
785
- te(l(Qe)),
786
- t.$slots["chart-background"] ? (u(), m("foreignObject", {
787
- key: 0,
788
- x: 0,
789
- y: 0,
790
- width: r.value.width,
791
- height: r.value.height,
792
- style: {
793
- pointerEvents: "none"
794
- }
795
- }, [
796
- v(t.$slots, "chart-background", {}, void 0, !0)
797
- ], 8, vo)) : f("", !0),
798
- n("defs", null, [
799
- n("radialGradient", {
800
- cx: "50%",
801
- cy: "50%",
802
- r: "50%",
803
- fx: "50%",
804
- fy: "50%",
805
- id: `mood_radar_gradient_${b.value}`
806
- }, [
807
- n("stop", {
808
- offset: "0%",
809
- "stop-color": l(T)(
810
- e.value.style.chart.layout.dataPolygon.color,
811
- e.value.style.chart.layout.dataPolygon.opacity
812
- )
813
- }, null, 8, fo),
814
- n("stop", {
815
- offset: "100%",
816
- "stop-color": l(T)(
817
- l(Vt)(
818
- e.value.style.chart.layout.dataPolygon.color,
819
- e.value.style.chart.layout.dataPolygon.gradient.intensity / 100
820
- ),
821
- e.value.style.chart.layout.dataPolygon.opacity
822
- )
823
- }, null, 8, ho)
824
- ], 8, yo)
825
- ]),
826
- (u(!0), m(Ve, null, Ke(ie.value.coordinates, (o) => (u(), m("line", {
827
- x1: r.value.width / 2,
828
- y1: r.value.height / 2,
829
- x2: o.x,
830
- y2: o.y,
831
- stroke: e.value.style.chart.layout.grid.stroke,
832
- "stroke-width": e.value.style.chart.layout.grid.strokeWidth
833
- }, null, 8, go))), 256)),
834
- n("path", {
835
- d: ie.value.path,
836
- fill: "none",
837
- stroke: e.value.style.chart.layout.outerPolygon.stroke,
838
- "stroke-width": e.value.style.chart.layout.outerPolygon.strokeWidth,
839
- "stroke-linejoin": "round",
840
- "stroke-linecap": "round"
841
- }, null, 8, po),
842
- n("g", {
843
- transform: j("5")
844
- }, [
845
- n("path", {
846
- fill: "none",
847
- stroke: e.value.style.chart.layout.smileys.colors[5],
848
- "stroke-width": "1",
849
- "stroke-linecap": "round",
850
- 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"
851
- }, null, 8, bo),
852
- n("circle", {
853
- role: "button",
854
- class: "vue-ui-mood-radar-trap",
855
- cx: "128",
856
- cy: "25",
857
- r: "20",
858
- "aria-label": q("5"),
859
- fill: p.value === "5" ? l(T)(
860
- e.value.style.chart.layout.smileys.colors[5],
861
- 20
862
- ) : "transparent",
863
- onMouseenter: a[0] || (a[0] = (o) => W("5")),
864
- onMouseleave: a[1] || (a[1] = (o) => z("5")),
865
- onClick: a[2] || (a[2] = (o) => I("5"))
866
- }, null, 40, ko)
867
- ], 8, mo),
868
- n("g", {
869
- transform: j("4")
870
- }, [
871
- n("path", {
872
- fill: "none",
873
- stroke: e.value.style.chart.layout.smileys.colors[4],
874
- "stroke-width": "1",
875
- "stroke-linecap": "round",
876
- 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"
877
- }, null, 8, wo),
878
- n("circle", {
879
- class: "vue-ui-mood-radar-trap",
880
- cx: "227",
881
- cy: "95.5",
882
- r: "20",
883
- "aria-label": q("4"),
884
- fill: p.value === "4" ? l(T)(
885
- e.value.style.chart.layout.smileys.colors[4],
886
- 20
887
- ) : "transparent",
888
- onMouseenter: a[3] || (a[3] = (o) => W("4")),
889
- onMouseleave: a[4] || (a[4] = (o) => z("4")),
890
- onClick: a[5] || (a[5] = (o) => I("4"))
891
- }, null, 40, $o)
892
- ], 8, Co),
893
- n("g", {
894
- transform: j("3")
895
- }, [
896
- n("path", {
897
- fill: "none",
898
- stroke: e.value.style.chart.layout.smileys.colors[3],
899
- "stroke-width": "1",
900
- "stroke-linecap": "round",
901
- 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"
902
- }, null, 8, Ao),
903
- n("circle", {
904
- class: "vue-ui-mood-radar-trap",
905
- cx: "190",
906
- cy: "213.5",
907
- r: "20",
908
- "aria-label": q("3"),
909
- fill: p.value === "3" ? l(T)(
910
- e.value.style.chart.layout.smileys.colors[3],
911
- 20
912
- ) : "transparent",
913
- onMouseenter: a[6] || (a[6] = (o) => W("3")),
914
- onMouseleave: a[7] || (a[7] = (o) => z("3")),
915
- onClick: a[8] || (a[8] = (o) => I("3"))
916
- }, null, 40, Po)
917
- ], 8, xo),
918
- n("g", {
919
- transform: j("2")
920
- }, [
921
- n("path", {
922
- fill: "none",
923
- stroke: e.value.style.chart.layout.smileys.colors[2],
924
- "stroke-width": "1",
925
- "stroke-linecap": "round",
926
- 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"
927
- }, null, 8, Oo),
928
- n("circle", {
929
- class: "vue-ui-mood-radar-trap",
930
- cx: "65",
931
- cy: "213.5",
932
- r: "20",
933
- "aria-label": q("2"),
934
- fill: p.value === "2" ? l(T)(
935
- e.value.style.chart.layout.smileys.colors[2],
936
- 20
937
- ) : "transparent",
938
- onMouseenter: a[9] || (a[9] = (o) => W("2")),
939
- onMouseleave: a[10] || (a[10] = (o) => z("2")),
940
- onClick: a[11] || (a[11] = (o) => I("2"))
941
- }, null, 40, So)
942
- ], 8, To),
943
- n("g", {
944
- transform: j("1")
945
- }, [
946
- n("path", {
947
- fill: "none",
948
- stroke: e.value.style.chart.layout.smileys.colors[1],
949
- "stroke-width": "1",
950
- "stroke-linecap": "round",
951
- 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"
952
- }, null, 8, Mo),
953
- n("circle", {
954
- class: "vue-ui-mood-radar-trap",
955
- cx: "29",
956
- cy: "95.5",
957
- r: "20",
958
- "aria-label": q("1"),
959
- fill: p.value === "1" ? l(T)(
960
- e.value.style.chart.layout.smileys.colors[1],
961
- 20
962
- ) : "transparent",
963
- onMouseenter: a[12] || (a[12] = (o) => W("1")),
964
- onMouseleave: a[13] || (a[13] = (o) => z("1")),
965
- onClick: a[14] || (a[14] = (o) => I("1"))
966
- }, null, 40, No)
967
- ], 8, _o),
968
- n("path", {
969
- d: l(Kt)(ce.value.map((o) => o.plots)),
970
- stroke: e.value.style.chart.layout.dataPolygon.stroke,
971
- "stroke-width": e.value.style.chart.layout.dataPolygon.strokeWidth,
972
- "stroke-linecap": "round",
973
- "stroke-linejoin": "round",
974
- fill: e.value.style.chart.layout.dataPolygon.gradient.show ? `url(#mood_radar_gradient_${b.value})` : l(T)(
975
- e.value.style.chart.layout.dataPolygon.color,
976
- e.value.style.chart.layout.dataPolygon.opacity
977
- )
978
- }, null, 8, Lo),
979
- (u(!0), m(Ve, null, Ke(ce.value.map((o) => o.plots), (o, s) => (u(), m("g", {
980
- class: "vue-ui-mood-radar-trap",
981
- style: B(`opacity:${p.value == o.key ? "1" : "0"}`)
982
- }, [
983
- n("line", {
984
- x1: o.x,
985
- y1: o.y,
986
- x2: r.value.width / 2,
987
- y2: r.value.height / 2,
988
- stroke: e.value.style.chart.layout.smileys.colors[o.key]
989
- }, null, 8, Do),
990
- n("circle", {
991
- cx: o.x,
992
- cy: o.y,
993
- fill: e.value.style.chart.layout.smileys.colors[o.key],
994
- r: "3",
995
- stroke: e.value.style.chart.backgroundColor,
996
- "stroke-width": 0.5
997
- }, null, 8, Io),
998
- n("circle", {
999
- cx: r.value.width / 2,
1000
- cy: r.value.height / 2,
1001
- fill: e.value.style.chart.layout.smileys.colors[o.key],
1002
- r: "3",
1003
- stroke: e.value.style.chart.backgroundColor,
1004
- "stroke-width": 0.5
1005
- }, null, 8, Fo),
1006
- n("text", {
1007
- x: r.value.width / 2,
1008
- y: ["5", 5].includes(o.key) ? r.value.height / 2 * 1.13 : r.value.height / 2 * 0.9375,
1009
- fill: e.value.style.chart.layout.dataLabel.color,
1010
- "font-size": "12",
1011
- "text-anchor": "middle",
1012
- "font-weight": e.value.style.chart.layout.dataLabel.bold ? "bold" : "normal"
1013
- }, E(l(he)(
1014
- e.value.style.chart.layout.dataLabel.formatter,
1015
- o.value,
1016
- l(R)({
1017
- p: e.value.style.chart.layout.dataLabel.prefix,
1018
- v: o.value,
1019
- s: e.value.style.chart.layout.dataLabel.suffix,
1020
- r: e.value.style.chart.layout.dataLabel.roundingValue
1021
- }),
1022
- { datapoint: o, seriesIndex: s }
1023
- )), 9, Bo),
1024
- n("text", {
1025
- x: r.value.width / 2,
1026
- y: ["5", 5].includes(o.key) ? r.value.height / 2 * 1.273 : r.value.height / 2 * 0.7968,
1027
- fill: e.value.style.chart.layout.dataLabel.color,
1028
- "font-size": "12",
1029
- "text-anchor": "middle"
1030
- }, " (" + E(l(R)({
1031
- v: o.value / x.value * 100,
1032
- s: "%",
1033
- r: e.value.style.chart.layout.dataLabel.roundingPercentage
1034
- })) + ") ", 9, Eo)
1035
- ], 4))), 256)),
1036
- v(t.$slots, "svg", {
1037
- svg: {
1038
- ...r.value,
1039
- isPrintingImg: l(re) | l(ue) | J.value,
1040
- isPrintingSvg: Q.value
1041
- }
1042
- }, void 0, !0)
1043
- ], 46, co)),
1044
- t.$slots.hint ? (u(), m("div", Ro, [
1045
- v(t.$slots, "hint", C(w({
1046
- hint: e.value.a11y.translations.keyboardNavigation,
1047
- isVisible: ae.value
1048
- })), void 0, !0)
1049
- ])) : f("", !0)
1050
- ]),
1051
- t.$slots.watermark ? (u(), m("div", Vo, [
1052
- v(t.$slots, "watermark", C(w({
1053
- isPrinting: l(re) || l(ue) || J.value || Q.value
1054
- })), void 0, !0)
1055
- ])) : f("", !0),
1056
- n("div", {
1057
- id: `legend-bottom-${b.value}`
1058
- }, null, 8, Ko),
1059
- we.value && (e.value.style.chart.legend.show || t.$slots.legend) ? (u(), k(Lt, {
1060
- key: 6,
1061
- to: e.value.style.chart.legend.position === "top" ? `#legend-top-${b.value}` : `#legend-bottom-${b.value}`
1062
- }, [
1063
- n("div", {
1064
- ref_key: "chartLegend",
1065
- ref: ke
1066
- }, [
1067
- v(t.$slots, "legend", { legend: h.value }, () => [
1068
- e.value.style.chart.legend.show ? (u(), k(ao, {
1069
- legendSet: Se.value,
1070
- config: yt.value,
1071
- key: `legend_${me.value}`,
1072
- isCursorPointer: D.value,
1073
- style: { display: "flex", "row-gap": "6px" },
1074
- onFocusMarker: a[15] || (a[15] = ({ legend: o }) => Z(o.key))
1075
- }, {
1076
- item: y(({ legend: o, index: s }) => [
1077
- n("div", {
1078
- role: "button",
1079
- onClick: () => Z(o.key),
1080
- style: { display: "flex", "flex-direction": "row", gap: "3px", "align-items": "center", margin: "3px 0" },
1081
- onKeydown: (g) => _t(g, String(o.key))
1082
- }, [
1083
- o.key == 1 ? (u(), k(l(L), {
1084
- key: 0,
1085
- strokeWidth: 1,
1086
- name: "moodSad",
1087
- stroke: e.value.style.chart.layout.smileys.colors[o.key]
1088
- }, null, 8, ["stroke"])) : f("", !0),
1089
- o.key == 2 ? (u(), k(l(L), {
1090
- key: 1,
1091
- strokeWidth: 1,
1092
- name: "moodFlat",
1093
- stroke: e.value.style.chart.layout.smileys.colors[o.key]
1094
- }, null, 8, ["stroke"])) : f("", !0),
1095
- o.key == 3 ? (u(), k(l(L), {
1096
- key: 2,
1097
- strokeWidth: 1,
1098
- name: "moodNeutral",
1099
- stroke: e.value.style.chart.layout.smileys.colors[o.key]
1100
- }, null, 8, ["stroke"])) : f("", !0),
1101
- o.key == 4 ? (u(), k(l(L), {
1102
- key: 3,
1103
- strokeWidth: 1,
1104
- name: "smiley",
1105
- stroke: e.value.style.chart.layout.smileys.colors[o.key]
1106
- }, null, 8, ["stroke"])) : f("", !0),
1107
- o.key == 5 ? (u(), k(l(L), {
1108
- key: 4,
1109
- strokeWidth: 1,
1110
- name: "moodHappy",
1111
- stroke: e.value.style.chart.layout.smileys.colors[o.key]
1112
- }, null, 8, ["stroke"])) : f("", !0),
1113
- l(le) ? f("", !0) : (u(), m("span", {
1114
- key: 5,
1115
- style: B({
1116
- fontWeight: e.value.style.chart.legend.bold ? "bold" : "normal"
1117
- })
1118
- }, E(o.display), 5))
1119
- ], 40, Uo)
1120
- ]),
1121
- _: 1
1122
- }, 8, ["legendSet", "config", "isCursorPointer"])) : f("", !0)
1123
- ], !0)
1124
- ], 512)
1125
- ], 8, ["to"])) : f("", !0),
1126
- t.$slots.source ? (u(), m("div", {
1127
- key: 7,
1128
- ref_key: "source",
1129
- ref: Ce,
1130
- dir: "auto"
1131
- }, [
1132
- v(t.$slots, "source", {}, void 0, !0)
1133
- ], 512)) : f("", !0),
1134
- $e.value && e.value.userOptions.buttons.table ? (u(), k(Dt(X.value.component), It({ key: 8 }, X.value.props, {
1135
- ref_key: "tableUnit",
1136
- ref: K,
1137
- onClose: Ne
1138
- }), Re({
1139
- content: y(() => [
1140
- te(l(qe), {
1141
- colNames: G.value.colNames,
1142
- head: G.value.head,
1143
- body: G.value.body,
1144
- config: G.value.config,
1145
- title: e.value.table.useDialog ? "" : X.value.title,
1146
- withCloseButton: !e.value.table.useDialog,
1147
- isCursorPointer: D.value,
1148
- onClose: Ne
1149
- }, {
1150
- th: y(({ th: o }) => [
1151
- n("div", {
1152
- innerHTML: o,
1153
- style: { display: "flex", "align-items": "center" }
1154
- }, null, 8, jo)
1155
- ]),
1156
- td: y(({ td: o }) => [
1157
- Ue(E(o.name || o), 1)
1158
- ]),
1159
- _: 1
1160
- }, 8, ["colNames", "head", "body", "config", "title", "withCloseButton", "isCursorPointer"])
1161
- ]),
1162
- _: 2
1163
- }, [
1164
- e.value.table.useDialog ? {
1165
- name: "title",
1166
- fn: y(() => [
1167
- Ue(E(X.value.title), 1)
1168
- ]),
1169
- key: "0"
1170
- } : void 0,
1171
- e.value.table.useDialog ? {
1172
- name: "actions",
1173
- fn: y(() => [
1174
- n("button", {
1175
- tabindex: "0",
1176
- class: "vue-ui-user-options-button",
1177
- onClick: a[16] || (a[16] = (o) => de(e.value.userOptions.callbacks.csv)),
1178
- style: B({ cursor: D.value ? "pointer" : "default" })
1179
- }, [
1180
- te(l(L), {
1181
- name: "fileCsv",
1182
- stroke: X.value.props.color
1183
- }, null, 8, ["stroke"])
1184
- ], 4)
1185
- ]),
1186
- key: "1"
1187
- } : void 0
1188
- ]), 1040)) : f("", !0),
1189
- v(t.$slots, "skeleton", {}, () => [
1190
- l(le) ? (u(), k(Xt, { key: 0 })) : f("", !0)
1191
- ], !0)
1192
- ], 46, so));
1193
- }
1194
- }, ua = /* @__PURE__ */ no(Wo, [["__scopeId", "data-v-2e36027b"]]);
1195
- export {
1196
- ua as default
1197
- };