vue-data-ui 3.20.1 → 3.20.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (322) hide show
  1. package/dist/A11yDataTable-BCbtxMU6.js +45 -0
  2. package/dist/Arrow-D6j6ocXm.js +116 -0
  3. package/dist/BaseDraggableDialog-4hDW-Rj2.js +272 -0
  4. package/dist/BaseIcon-DfLoHNUj.js +502 -0
  5. package/dist/BaseLegendToggle-C_Db-y7s.js +56 -0
  6. package/dist/BaseScanner-Dr2a1Msy.js +27 -0
  7. package/dist/BaseZoomControls-CG7hI_1P.js +111 -0
  8. package/dist/ColorPicker-Bjwxnvfh.js +255 -0
  9. package/dist/DataTable-B--IN22e.js +150 -0
  10. package/dist/Legend-Cz2uQ5gs.js +114 -0
  11. package/dist/NonSvgPenAndPaper-gLNJ1Lmr.js +577 -0
  12. package/dist/PackageVersion-f0MuYk3R.js +11 -0
  13. package/dist/PenAndPaper-DqrClVfb.js +461 -0
  14. package/dist/RecursiveCircles-D6aDPmoe.js +117 -0
  15. package/dist/RecursiveLabels-D9rfID6q.js +56 -0
  16. package/dist/RecursiveLinks-BygcpDiT.js +78 -0
  17. package/dist/Shape-BPCJfphn.js +141 -0
  18. package/dist/Slicer-SHBj0VaV.js +1144 -0
  19. package/dist/SlicerPreview-DdihbUSJ.js +1668 -0
  20. package/dist/SparkTooltip-CfE6yCad.js +93 -0
  21. package/dist/Title-NWp4qB4K.js +87 -0
  22. package/dist/Tooltip-BENq327o.js +312 -0
  23. package/dist/UserOptions-C1NgoGu6.js +1411 -0
  24. package/dist/_plugin-vue_export-helper-B3ysoDQm.js +8 -0
  25. package/dist/canvas-lib-BOP_HS11.js +79 -0
  26. package/dist/components/arrow.js +2 -0
  27. package/dist/components/vue-ui-3d-bar.js +2 -0
  28. package/dist/components/vue-ui-accordion.js +2 -0
  29. package/dist/components/vue-ui-age-pyramid.js +2 -0
  30. package/dist/components/vue-ui-annotator.js +2 -0
  31. package/dist/components/vue-ui-bullet.js +2 -0
  32. package/dist/components/vue-ui-bump.js +2 -0
  33. package/dist/components/vue-ui-candlestick.js +2 -0
  34. package/dist/components/vue-ui-carousel-table.js +2 -0
  35. package/dist/components/vue-ui-chestnut.js +2 -0
  36. package/dist/components/vue-ui-chord.js +2 -0
  37. package/dist/components/vue-ui-circle-pack.js +2 -0
  38. package/dist/components/vue-ui-cursor.js +2 -0
  39. package/dist/components/vue-ui-dag.js +2 -0
  40. package/dist/components/vue-ui-dashboard.js +2 -0
  41. package/dist/components/vue-ui-digits.js +2 -0
  42. package/dist/components/vue-ui-donut-evolution.js +2 -0
  43. package/dist/components/vue-ui-donut.js +2 -0
  44. package/dist/components/vue-ui-dumbbell.js +2 -0
  45. package/dist/components/vue-ui-flow.js +2 -0
  46. package/dist/components/vue-ui-funnel.js +2 -0
  47. package/dist/components/vue-ui-galaxy.js +2 -0
  48. package/dist/components/vue-ui-gauge.js +2 -0
  49. package/dist/components/vue-ui-geo.js +2 -0
  50. package/dist/components/vue-ui-gizmo.js +2 -0
  51. package/dist/components/vue-ui-heatmap.js +2 -0
  52. package/dist/components/vue-ui-history-plot.js +2 -0
  53. package/dist/components/vue-ui-horizontal-bar.js +2 -0
  54. package/dist/components/vue-ui-icon.js +2 -0
  55. package/dist/components/vue-ui-kpi.js +2 -0
  56. package/dist/components/vue-ui-mini-loader.js +2 -0
  57. package/dist/components/vue-ui-molecule.js +2 -0
  58. package/dist/components/vue-ui-mood-radar.js +2 -0
  59. package/dist/components/vue-ui-nested-donuts.js +2 -0
  60. package/dist/components/vue-ui-onion.js +2 -0
  61. package/dist/components/vue-ui-parallel-coordinate-plot.js +2 -0
  62. package/dist/components/vue-ui-pattern-seed.js +2 -0
  63. package/dist/components/vue-ui-pattern.js +2 -0
  64. package/dist/components/vue-ui-quadrant.js +2 -0
  65. package/dist/components/vue-ui-quick-chart.js +2 -0
  66. package/dist/components/vue-ui-radar.js +2 -0
  67. package/dist/components/vue-ui-rating.js +2 -0
  68. package/dist/components/vue-ui-relation-circle.js +2 -0
  69. package/dist/components/vue-ui-ridgeline.js +2 -0
  70. package/dist/components/vue-ui-rings.js +2 -0
  71. package/dist/components/vue-ui-scatter.js +2 -0
  72. package/dist/components/vue-ui-skeleton.js +2 -0
  73. package/dist/components/vue-ui-smiley.js +2 -0
  74. package/dist/components/vue-ui-spark-trend.js +2 -0
  75. package/dist/components/vue-ui-sparkbar.js +2 -0
  76. package/dist/components/vue-ui-sparkgauge.js +2 -0
  77. package/dist/components/vue-ui-sparkhistogram.js +2 -0
  78. package/dist/components/vue-ui-sparkline.js +2 -0
  79. package/dist/components/vue-ui-sparkstackbar.js +2 -0
  80. package/dist/components/vue-ui-stackbar.js +2 -0
  81. package/dist/components/vue-ui-stackline.js +2 -0
  82. package/dist/components/vue-ui-strip-plot.js +2 -0
  83. package/dist/components/vue-ui-table-heatmap.js +2 -0
  84. package/dist/components/vue-ui-table-sparkline.js +2 -0
  85. package/dist/components/vue-ui-table.js +2 -0
  86. package/dist/components/vue-ui-thermometer.js +2 -0
  87. package/dist/components/vue-ui-timer.js +2 -0
  88. package/dist/components/vue-ui-tiremarks.js +2 -0
  89. package/dist/components/vue-ui-treemap.js +2 -0
  90. package/dist/components/vue-ui-vertical-bar.js +2 -0
  91. package/dist/components/vue-ui-waffle.js +2 -0
  92. package/dist/components/vue-ui-wheel.js +2 -0
  93. package/dist/components/vue-ui-word-cloud.js +2 -0
  94. package/dist/components/vue-ui-world.js +2 -0
  95. package/dist/components/vue-ui-xy-canvas.js +2 -0
  96. package/dist/components/vue-ui-xy.js +2 -0
  97. package/dist/dom-to-png-BYtB4BF3.js +237 -0
  98. package/dist/exposedLib-CI8ji8G-.js +19 -0
  99. package/dist/geoProjections-Czak6Jn1.js +145 -0
  100. package/dist/img-1cKsci8e.js +74 -0
  101. package/dist/labelUtils-CUctkYoA.js +19 -0
  102. package/dist/lib-DUeYQsS0.js +1882 -0
  103. package/dist/llms.txt +232 -0
  104. package/dist/patternUtils-CS7hn6at.js +258 -0
  105. package/dist/pdf-D0eZ99cP.js +90 -0
  106. package/dist/rolldown-runtime-Dy4uBu1J.js +11 -0
  107. package/dist/style.css +2 -0
  108. package/dist/types/arrow.d.ts +4 -0
  109. package/dist/types/utils.d.ts +551 -0
  110. package/dist/types/vue-data-ui.d.ts +17190 -0
  111. package/dist/types/vue-ui-3d-bar.d.ts +93 -0
  112. package/dist/types/vue-ui-accordion.d.ts +11 -0
  113. package/dist/types/vue-ui-age-pyramid.d.ts +108 -0
  114. package/dist/types/vue-ui-annotator.d.ts +34 -0
  115. package/dist/types/vue-ui-bullet.d.ts +85 -0
  116. package/dist/types/vue-ui-bump.d.ts +92 -0
  117. package/dist/types/vue-ui-candlestick.d.ts +106 -0
  118. package/dist/types/vue-ui-carousel-table.d.ts +59 -0
  119. package/dist/types/vue-ui-chestnut.d.ts +98 -0
  120. package/dist/types/vue-ui-chord.d.ts +110 -0
  121. package/dist/types/vue-ui-circle-pack.d.ts +126 -0
  122. package/dist/types/vue-ui-cursor.d.ts +9 -0
  123. package/dist/types/vue-ui-dag.d.ts +125 -0
  124. package/dist/types/vue-ui-dashboard.d.ts +68 -0
  125. package/dist/types/vue-ui-digits.d.ts +12 -0
  126. package/dist/types/vue-ui-donut-evolution.d.ts +96 -0
  127. package/dist/types/vue-ui-donut.d.ts +123 -0
  128. package/dist/types/vue-ui-dumbbell.d.ts +94 -0
  129. package/dist/types/vue-ui-flow.d.ts +106 -0
  130. package/dist/types/vue-ui-funnel.d.ts +79 -0
  131. package/dist/types/vue-ui-galaxy.d.ts +114 -0
  132. package/dist/types/vue-ui-gauge.d.ts +89 -0
  133. package/dist/types/vue-ui-geo.d.ts +94 -0
  134. package/dist/types/vue-ui-gizmo.d.ts +22 -0
  135. package/dist/types/vue-ui-heatmap.d.ts +101 -0
  136. package/dist/types/vue-ui-history-plot.d.ts +114 -0
  137. package/dist/types/vue-ui-horizontal-bar.d.ts +116 -0
  138. package/dist/types/vue-ui-icon.d.ts +15 -0
  139. package/dist/types/vue-ui-kpi.d.ts +25 -0
  140. package/dist/types/vue-ui-mini-loader.d.ts +15 -0
  141. package/dist/types/vue-ui-molecule.d.ts +112 -0
  142. package/dist/types/vue-ui-mood-radar.d.ts +92 -0
  143. package/dist/types/vue-ui-nested-donuts.d.ts +111 -0
  144. package/dist/types/vue-ui-onion.d.ts +106 -0
  145. package/dist/types/vue-ui-parallel-coordinate-plot.d.ts +125 -0
  146. package/dist/types/vue-ui-pattern-seed.d.ts +14 -0
  147. package/dist/types/vue-ui-pattern.d.ts +15 -0
  148. package/dist/types/vue-ui-quadrant.d.ts +125 -0
  149. package/dist/types/vue-ui-quick-chart.d.ts +108 -0
  150. package/dist/types/vue-ui-radar.d.ts +116 -0
  151. package/dist/types/vue-ui-rating.d.ts +42 -0
  152. package/dist/types/vue-ui-relation-circle.d.ts +92 -0
  153. package/dist/types/vue-ui-ridgeline.d.ts +106 -0
  154. package/dist/types/vue-ui-rings.d.ts +98 -0
  155. package/dist/types/vue-ui-scatter.d.ts +97 -0
  156. package/dist/types/vue-ui-skeleton.d.ts +11 -0
  157. package/dist/types/vue-ui-smiley.d.ts +28 -0
  158. package/dist/types/vue-ui-spark-trend.d.ts +19 -0
  159. package/dist/types/vue-ui-sparkbar.d.ts +49 -0
  160. package/dist/types/vue-ui-sparkgauge.d.ts +28 -0
  161. package/dist/types/vue-ui-sparkhistogram.d.ts +46 -0
  162. package/dist/types/vue-ui-sparkline.d.ts +59 -0
  163. package/dist/types/vue-ui-sparkstackbar.d.ts +60 -0
  164. package/dist/types/vue-ui-stackbar.d.ts +118 -0
  165. package/dist/types/vue-ui-stackline.d.ts +114 -0
  166. package/dist/types/vue-ui-strip-plot.d.ts +96 -0
  167. package/dist/types/vue-ui-table-heatmap.d.ts +62 -0
  168. package/dist/types/vue-ui-table-sparkline.d.ts +53 -0
  169. package/dist/types/vue-ui-table.d.ts +38 -0
  170. package/dist/types/vue-ui-thermometer.d.ts +70 -0
  171. package/dist/types/vue-ui-timer.d.ts +49 -0
  172. package/dist/types/vue-ui-tiremarks.d.ts +70 -0
  173. package/dist/types/vue-ui-treemap.d.ts +104 -0
  174. package/dist/types/vue-ui-vertical-bar.d.ts +22 -0
  175. package/dist/types/vue-ui-waffle.d.ts +101 -0
  176. package/dist/types/vue-ui-wheel.d.ts +70 -0
  177. package/dist/types/vue-ui-word-cloud.d.ts +97 -0
  178. package/dist/types/vue-ui-world.d.ts +98 -0
  179. package/dist/types/vue-ui-xy-canvas.d.ts +101 -0
  180. package/dist/types/vue-ui-xy.d.ts +146 -0
  181. package/dist/useAutoSizeLabelsInsideViewbox-BIVntRZp.js +50 -0
  182. package/dist/useChartAccessibility-DYqac8yF.js +12 -0
  183. package/dist/useConfig-DAyQk86L.js +7479 -0
  184. package/dist/useFitSvgText-CT3nmlaS.js +63 -0
  185. package/dist/useNestedProp-CNcoy38D.js +10 -0
  186. package/dist/useObjectBindings-BI7hP-BC.js +189 -0
  187. package/dist/usePanZoom-CYU3B4T3.js +157 -0
  188. package/dist/usePrefersMotion-BC-CsqR1.js +15 -0
  189. package/dist/usePrinter-C1Gqt_Sp.js +49 -0
  190. package/dist/useResponsive-BfnK0KxU.js +19 -0
  191. package/dist/useStableElementSize-C7KADDKj.js +77 -0
  192. package/dist/useSvgExport-SVIsDot8.js +755 -0
  193. package/dist/useTableResponsive-B24Uwt2E.js +24 -0
  194. package/dist/useThemeCheck-C43Tcqmk.js +24 -0
  195. package/dist/useTimeLabelCollider-AEcY4Ioe.js +57 -0
  196. package/dist/useTimeLabels-BmBRv27Y.js +272 -0
  197. package/dist/useUserOptionState-DK-_1ddE.js +15 -0
  198. package/dist/utils.js +28 -0
  199. package/dist/vClickOutside-DUrZWttG.js +13 -0
  200. package/dist/vue-data-ui-C3m9eNp0.js +274 -0
  201. package/dist/vue-data-ui.js +76 -0
  202. package/dist/vue-ui-3d-bar-Bfcitq55.js +1757 -0
  203. package/dist/vue-ui-accordion-Dw4MHKVB.js +81 -0
  204. package/dist/vue-ui-age-pyramid-Dgzd45Ol.js +1238 -0
  205. package/dist/vue-ui-annotator-DLPUAKlm.js +2899 -0
  206. package/dist/vue-ui-bullet-DAeyHSHC.js +710 -0
  207. package/dist/vue-ui-bump-DsiXfIFL.js +1249 -0
  208. package/dist/vue-ui-candlestick-BadEBUcF.js +1826 -0
  209. package/dist/vue-ui-carousel-table-_LCF7RFm.js +455 -0
  210. package/dist/vue-ui-chestnut-BTuAvc7L.js +2010 -0
  211. package/dist/vue-ui-chord-CAyRIJlh.js +1391 -0
  212. package/dist/vue-ui-circle-pack-BWzwg8Qb.js +1608 -0
  213. package/dist/vue-ui-cursor-C6t7nAT4.js +283 -0
  214. package/dist/vue-ui-dag-8Puv77-a.js +2909 -0
  215. package/dist/vue-ui-dashboard-CXDvRu27.js +513 -0
  216. package/dist/vue-ui-digits-BlHqILF0.js +209 -0
  217. package/dist/vue-ui-donut-CclzduCs.js +2410 -0
  218. package/dist/vue-ui-donut-evolution-DEfY2Zvy.js +1510 -0
  219. package/dist/vue-ui-dumbbell-BG5C4Hdg.js +1530 -0
  220. package/dist/vue-ui-flow-B73dHBrL.js +1235 -0
  221. package/dist/vue-ui-funnel-Bn3c5lWX.js +777 -0
  222. package/dist/vue-ui-galaxy-eBY55Fue.js +1077 -0
  223. package/dist/vue-ui-gauge-s8pl305B.js +920 -0
  224. package/dist/vue-ui-geo-Ca2ZPVhH.js +1516 -0
  225. package/dist/vue-ui-gizmo-CBNDeAzT.js +225 -0
  226. package/dist/vue-ui-heatmap-V79kNqUi.js +1568 -0
  227. package/dist/vue-ui-history-plot-jiJh8oaM.js +1554 -0
  228. package/dist/vue-ui-horizontal-bar-60b88qqU.js +1681 -0
  229. package/dist/vue-ui-kpi-DnfazUeY.js +96 -0
  230. package/dist/vue-ui-mini-loader-CyqBt2g4.js +125 -0
  231. package/dist/vue-ui-molecule-BeIVS2yp.js +925 -0
  232. package/dist/vue-ui-mood-radar-DHY1ry9I.js +1148 -0
  233. package/dist/vue-ui-nested-donuts-GNR6O-Z_.js +1487 -0
  234. package/dist/vue-ui-onion-DghkeKRu.js +1200 -0
  235. package/dist/vue-ui-parallel-coordinate-plot-DqfRRSnD.js +1416 -0
  236. package/dist/vue-ui-pattern-DKozfnVn.js +154 -0
  237. package/dist/vue-ui-pattern-seed-BB1honLm.js +61 -0
  238. package/dist/vue-ui-quadrant-BBucQ_8r.js +1978 -0
  239. package/dist/vue-ui-quick-chart-DxxGq-5d.js +2469 -0
  240. package/dist/vue-ui-radar-B0gW_Iur.js +1229 -0
  241. package/dist/vue-ui-rating-BG4lf1z8.js +343 -0
  242. package/dist/vue-ui-relation-circle-C-fNOxJM.js +924 -0
  243. package/dist/vue-ui-ridgeline-CzDR20s3.js +1622 -0
  244. package/dist/vue-ui-rings-DNRdTVqV.js +1246 -0
  245. package/dist/vue-ui-scatter-CRgFebuE.js +2413 -0
  246. package/dist/vue-ui-skeleton-iNzRGgRn.js +2556 -0
  247. package/dist/vue-ui-smiley-G89TxRU-.js +356 -0
  248. package/dist/vue-ui-spark-trend-CPgTOFNY.js +438 -0
  249. package/dist/vue-ui-sparkbar-B4C_YxU-.js +393 -0
  250. package/dist/vue-ui-sparkgauge-DDkSKiba.js +255 -0
  251. package/dist/vue-ui-sparkhistogram-qtb6-Th8.js +560 -0
  252. package/dist/vue-ui-sparkline-TTSEEs7R.js +1507 -0
  253. package/dist/vue-ui-sparkstackbar-DXEnV79Y.js +662 -0
  254. package/dist/vue-ui-stackbar-CwFVpEgH.js +2270 -0
  255. package/dist/vue-ui-stackline-Bph0kD43.js +2398 -0
  256. package/dist/vue-ui-strip-plot-D2_WSwTF.js +1340 -0
  257. package/dist/vue-ui-table-BzmQMHxi.js +1338 -0
  258. package/dist/vue-ui-table-heatmap-CCGjbSzQ.js +344 -0
  259. package/dist/vue-ui-table-sparkline-CXNxbqIw.js +707 -0
  260. package/dist/vue-ui-thermometer-Cqw2_Jpi.js +763 -0
  261. package/dist/vue-ui-timer-BHP_5wgz.js +439 -0
  262. package/dist/vue-ui-tiremarks-D8wFTxXl.js +552 -0
  263. package/dist/vue-ui-treemap-DbSebes7.js +1587 -0
  264. package/dist/vue-ui-waffle-CAIBpbY0.js +1362 -0
  265. package/dist/vue-ui-wheel-B5Cyopnp.js +885 -0
  266. package/dist/vue-ui-word-cloud-BaGDKrKL.js +1656 -0
  267. package/dist/vue-ui-world-DLcVBwLg.js +14264 -0
  268. package/dist/vue-ui-xy-CyP5FAo8.js +4578 -0
  269. package/dist/vue-ui-xy-canvas-BUPnRZ3C.js +1787 -0
  270. package/dist/vue_ui_3d_bar-C4R7o-yX.js +185 -0
  271. package/dist/vue_ui_age_pyramid-BY6c-oX_.js +301 -0
  272. package/dist/vue_ui_bullet-ClzdLoOv.js +186 -0
  273. package/dist/vue_ui_bump-Vl-zYAtG.js +201 -0
  274. package/dist/vue_ui_candlestick-J8jmJvxP.js +374 -0
  275. package/dist/vue_ui_chestnut-D2oUhad6.js +305 -0
  276. package/dist/vue_ui_chord-DPfS1Umc.js +275 -0
  277. package/dist/vue_ui_circle_pack-DZC_rdfn.js +172 -0
  278. package/dist/vue_ui_dag-TsJ_azQq.js +258 -0
  279. package/dist/vue_ui_donut-BDGqG07h.js +358 -0
  280. package/dist/vue_ui_donut_evolution-D1yAAIHr.js +717 -0
  281. package/dist/vue_ui_dumbbell-Bfe_jFyi.js +304 -0
  282. package/dist/vue_ui_flow-BewZjjKG.js +238 -0
  283. package/dist/vue_ui_funnel-_Og4EEkO.js +234 -0
  284. package/dist/vue_ui_galaxy-Ig0cc1_h.js +265 -0
  285. package/dist/vue_ui_gauge-Cf1RZc9q.js +178 -0
  286. package/dist/vue_ui_geo-B8TODs-G.js +248 -0
  287. package/dist/vue_ui_heatmap-B2BBBSWG.js +319 -0
  288. package/dist/vue_ui_history_plot-CuN63VEc.js +413 -0
  289. package/dist/vue_ui_horizontal_bar-C4J4QzXf.js +341 -0
  290. package/dist/vue_ui_molecule-CO9L59SF.js +231 -0
  291. package/dist/vue_ui_mood_radar-BA6LAKhk.js +281 -0
  292. package/dist/vue_ui_nested_donuts-B8csIoVO.js +273 -0
  293. package/dist/vue_ui_onion-1FTFFS46.js +293 -0
  294. package/dist/vue_ui_parallel_coordinate_plot-CBiOBira.js +278 -0
  295. package/dist/vue_ui_quadrant-CDSTKTJz.js +428 -0
  296. package/dist/vue_ui_quick_chart-mZBdml3Z.js +139 -0
  297. package/dist/vue_ui_radar-jafTED5j.js +306 -0
  298. package/dist/vue_ui_relation_circle-D0p4mXmv.js +98 -0
  299. package/dist/vue_ui_ridgeline-VM8_mx4J.js +767 -0
  300. package/dist/vue_ui_rings-BVgD2aMn.js +320 -0
  301. package/dist/vue_ui_scatter-I0POnicu.js +479 -0
  302. package/dist/vue_ui_spark_trend-DxVmpkmC.js +82 -0
  303. package/dist/vue_ui_sparkbar-z6qO--Kf.js +64 -0
  304. package/dist/vue_ui_sparkgauge-BX1MS3bA.js +90 -0
  305. package/dist/vue_ui_sparkhistogram-BRgvKUH6.js +123 -0
  306. package/dist/vue_ui_sparkline-auZhap6Y.js +151 -0
  307. package/dist/vue_ui_sparkstackbar-BOjuQnZd.js +175 -0
  308. package/dist/vue_ui_stackbar-COOrQQdK.js +412 -0
  309. package/dist/vue_ui_stackline-DQqKPA9z.js +460 -0
  310. package/dist/vue_ui_strip_plot-CtJe8_gq.js +301 -0
  311. package/dist/vue_ui_table_heatmap-w8vx5k6f.js +80 -0
  312. package/dist/vue_ui_table_sparkline-DAbkUrNz.js +124 -0
  313. package/dist/vue_ui_thermometer-DxgqWKlE.js +123 -0
  314. package/dist/vue_ui_tiremarks-CdEPieWV.js +122 -0
  315. package/dist/vue_ui_treemap-DoEtkRN6.js +328 -0
  316. package/dist/vue_ui_vertical_bar-CP-MKz1j.js +247 -0
  317. package/dist/vue_ui_waffle-DIARFc7g.js +292 -0
  318. package/dist/vue_ui_wheel-DZ_nR--t.js +133 -0
  319. package/dist/vue_ui_word_cloud-C-qIMNLu.js +254 -0
  320. package/dist/vue_ui_xy-BLUkWEAm.js +482 -0
  321. package/dist/vue_ui_xy_canvas-Cb6dg3eK.js +408 -0
  322. package/package.json +120 -120
@@ -0,0 +1,1148 @@
1
+ import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
2
+ import { Bt as t, Ct as n, D as r, G as i, H as a, J as ee, Mt as o, Nt as te, S as ne, St as re, X as ie, i as ae, t as oe } from "./lib-DUeYQsS0.js";
3
+ import { t as se } from "./useConfig-DAyQk86L.js";
4
+ import { t as ce } from "./usePrinter-C1Gqt_Sp.js";
5
+ import { n as le, t as ue } from "./BaseScanner-Dr2a1Msy.js";
6
+ import { t as de } from "./useSvgExport-SVIsDot8.js";
7
+ import { t as fe } from "./useNestedProp-CNcoy38D.js";
8
+ import { t as pe } from "./useThemeCheck-C43Tcqmk.js";
9
+ import { t as me } from "./img-1cKsci8e.js";
10
+ import { n as he } from "./Title-NWp4qB4K.js";
11
+ import { t as ge } from "./_plugin-vue_export-helper-B3ysoDQm.js";
12
+ import { c as _e } from "./canvas-lib-BOP_HS11.js";
13
+ import { t as ve } from "./useResponsive-BfnK0KxU.js";
14
+ import { t as ye } from "./A11yDataTable-BCbtxMU6.js";
15
+ import { t as be } from "./useUserOptionState-DK-_1ddE.js";
16
+ import { t as xe } from "./useChartAccessibility-DYqac8yF.js";
17
+ import { t as Se } from "./Legend-Cz2uQ5gs.js";
18
+ import { t as Ce } from "./vue_ui_mood_radar-BA6LAKhk.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-DfLoHNUj.js").then((e) => e.n)), bt = p(() => import("./vue-ui-accordion-Dw4MHKVB.js").then((e) => e.n)), xt = p(() => import("./DataTable-B--IN22e.js")), St = p(() => import("./PenAndPaper-DqrClVfb.js").then((e) => e.t)), Ct = p(() => import("./UserOptions-C1NgoGu6.js").then((e) => e.n)), wt = p(() => import("./PackageVersion-f0MuYk3R.js").then((e) => e.t)), Tt = p(() => import("./BaseDraggableDialog-4hDW-Rj2.js").then((e) => e.n)), { vue_ui_mood_radar: Et } = se(), { isThemeValid: Dt, warnInvalidTheme: Ot } = pe(), w = e, kt = Ie, T = v(a()), 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(() => t({
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: t({
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 (n(w.dataset) && ie({
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(() => r({
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: `${ae(P.value.style.chart.layout.dataLabel.formatter, e.value, i({
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 ? "" : ` (${i({
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]) && ie({
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 = ne([
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) : ee({
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, n) {
524
+ return ae(P.value.style.chart.layout.dataLabel.formatter, e, i({
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: n,
531
+ seriesIndex: t
532
+ });
533
+ }
534
+ function On(e) {
535
+ return i({
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
+ e.$slots["custom-menu-before"] ? {
766
+ name: "custom-menu-before",
767
+ fn: S(() => [y(e.$slots, "custom-menu-before", {}, void 0, !0)]),
768
+ key: "9"
769
+ } : void 0,
770
+ e.$slots["custom-menu-after"] ? {
771
+ name: "custom-menu-after",
772
+ fn: S(() => [y(e.$slots, "custom-menu-after", {}, void 0, !0)]),
773
+ key: "10"
774
+ } : void 0
775
+ ]), 1032, [
776
+ "backgroundColor",
777
+ "color",
778
+ "isPrinting",
779
+ "isImaging",
780
+ "uid",
781
+ "hasPdf",
782
+ "hasXls",
783
+ "hasImg",
784
+ "hasSvg",
785
+ "hasTable",
786
+ "hasFullscreen",
787
+ "hasAltCopy",
788
+ "isFullscreen",
789
+ "titles",
790
+ "chartElement",
791
+ "position",
792
+ "hasAnnotator",
793
+ "isAnnotation",
794
+ "callbacks",
795
+ "printScale",
796
+ "tableDialog",
797
+ "isCursorPointer",
798
+ "onGeneratePdf",
799
+ "style"
800
+ ])) : l("", !0),
801
+ d("div", Be, [(_(), u("svg", {
802
+ ref_key: "svgRef",
803
+ ref: L,
804
+ xmlns: x(oe),
805
+ "aria-describedby": `chart-instructions-${T.value}`,
806
+ viewBox: `0 0 ${z.value.width} ${z.value.height}`,
807
+ class: Ae({
808
+ "vue-data-ui-fullscreen--on": Y.value,
809
+ "vue-data-ui-fulscreen--off": !Y.value
810
+ }),
811
+ style: g(`overflow:visible;background:transparent;color:${P.value.style.chart.color}`),
812
+ tabindex: "0",
813
+ onFocus: An,
814
+ onBlur: jn,
815
+ onKeydown: Mn
816
+ }, [
817
+ f(x(wt)),
818
+ e.$slots["chart-background"] ? (_(), u("foreignObject", {
819
+ key: 0,
820
+ x: 0,
821
+ y: 0,
822
+ width: z.value.width,
823
+ height: z.value.height,
824
+ style: { pointerEvents: "none" }
825
+ }, [y(e.$slots, "chart-background", {}, void 0, !0)], 8, He)) : l("", !0),
826
+ d("defs", null, [d("radialGradient", {
827
+ cx: "50%",
828
+ cy: "50%",
829
+ r: "50%",
830
+ fx: "50%",
831
+ fy: "50%",
832
+ id: `mood_radar_gradient_${T.value}`
833
+ }, [d("stop", {
834
+ offset: "0%",
835
+ "stop-color": x(o)(P.value.style.chart.layout.dataPolygon.color, P.value.style.chart.layout.dataPolygon.opacity)
836
+ }, null, 8, We), d("stop", {
837
+ offset: "100%",
838
+ "stop-color": x(o)(x(te)(P.value.style.chart.layout.dataPolygon.color, P.value.style.chart.layout.dataPolygon.gradient.intensity / 100), P.value.style.chart.layout.dataPolygon.opacity)
839
+ }, null, 8, Ge)], 8, Ue)]),
840
+ (_(!0), u(we, null, Me(nn.value.coordinates, (e) => (_(), u("line", {
841
+ x1: z.value.width / 2,
842
+ y1: z.value.height / 2,
843
+ x2: e.x,
844
+ y2: e.y,
845
+ stroke: P.value.style.chart.layout.grid.stroke,
846
+ "stroke-width": P.value.style.chart.layout.grid.strokeWidth
847
+ }, null, 8, Ke))), 256)),
848
+ d("path", {
849
+ d: nn.value.path,
850
+ fill: "none",
851
+ stroke: P.value.style.chart.layout.outerPolygon.stroke,
852
+ "stroke-width": P.value.style.chart.layout.outerPolygon.strokeWidth,
853
+ "stroke-linejoin": "round",
854
+ "stroke-linecap": "round"
855
+ }, null, 8, qe),
856
+ d("g", { transform: B("5") }, [d("path", {
857
+ fill: "none",
858
+ stroke: P.value.style.chart.layout.smileys.colors[5],
859
+ "stroke-width": "1",
860
+ "stroke-linecap": "round",
861
+ 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"
862
+ }, null, 8, Ye), d("circle", {
863
+ role: "button",
864
+ class: "vue-ui-mood-radar-trap",
865
+ cx: "128",
866
+ cy: "25",
867
+ r: "20",
868
+ "aria-label": $("5"),
869
+ fill: D.value === "5" ? x(o)(P.value.style.chart.layout.smileys.colors[5], 20) : "transparent",
870
+ onMouseenter: t[0] ||= (e) => W("5"),
871
+ onMouseleave: t[1] ||= (e) => G("5"),
872
+ onClick: t[2] ||= (e) => K("5")
873
+ }, null, 40, Xe)], 8, Je),
874
+ d("g", { transform: B("4") }, [d("path", {
875
+ fill: "none",
876
+ stroke: P.value.style.chart.layout.smileys.colors[4],
877
+ "stroke-width": "1",
878
+ "stroke-linecap": "round",
879
+ 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"
880
+ }, null, 8, Qe), d("circle", {
881
+ class: "vue-ui-mood-radar-trap",
882
+ cx: "227",
883
+ cy: "95.5",
884
+ r: "20",
885
+ "aria-label": $("4"),
886
+ fill: D.value === "4" ? x(o)(P.value.style.chart.layout.smileys.colors[4], 20) : "transparent",
887
+ onMouseenter: t[3] ||= (e) => W("4"),
888
+ onMouseleave: t[4] ||= (e) => G("4"),
889
+ onClick: t[5] ||= (e) => K("4")
890
+ }, null, 40, $e)], 8, Ze),
891
+ d("g", { transform: B("3") }, [d("path", {
892
+ fill: "none",
893
+ stroke: P.value.style.chart.layout.smileys.colors[3],
894
+ "stroke-width": "1",
895
+ "stroke-linecap": "round",
896
+ 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"
897
+ }, null, 8, tt), d("circle", {
898
+ class: "vue-ui-mood-radar-trap",
899
+ cx: "190",
900
+ cy: "213.5",
901
+ r: "20",
902
+ "aria-label": $("3"),
903
+ fill: D.value === "3" ? x(o)(P.value.style.chart.layout.smileys.colors[3], 20) : "transparent",
904
+ onMouseenter: t[6] ||= (e) => W("3"),
905
+ onMouseleave: t[7] ||= (e) => G("3"),
906
+ onClick: t[8] ||= (e) => K("3")
907
+ }, null, 40, nt)], 8, et),
908
+ d("g", { transform: B("2") }, [d("path", {
909
+ fill: "none",
910
+ stroke: P.value.style.chart.layout.smileys.colors[2],
911
+ "stroke-width": "1",
912
+ "stroke-linecap": "round",
913
+ 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"
914
+ }, null, 8, it), d("circle", {
915
+ class: "vue-ui-mood-radar-trap",
916
+ cx: "65",
917
+ cy: "213.5",
918
+ r: "20",
919
+ "aria-label": $("2"),
920
+ fill: D.value === "2" ? x(o)(P.value.style.chart.layout.smileys.colors[2], 20) : "transparent",
921
+ onMouseenter: t[9] ||= (e) => W("2"),
922
+ onMouseleave: t[10] ||= (e) => G("2"),
923
+ onClick: t[11] ||= (e) => K("2")
924
+ }, null, 40, at)], 8, rt),
925
+ d("g", { transform: B("1") }, [d("path", {
926
+ fill: "none",
927
+ stroke: P.value.style.chart.layout.smileys.colors[1],
928
+ "stroke-width": "1",
929
+ "stroke-linecap": "round",
930
+ 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"
931
+ }, null, 8, st), d("circle", {
932
+ class: "vue-ui-mood-radar-trap",
933
+ cx: "29",
934
+ cy: "95.5",
935
+ r: "20",
936
+ "aria-label": $("1"),
937
+ fill: D.value === "1" ? x(o)(P.value.style.chart.layout.smileys.colors[1], 20) : "transparent",
938
+ onMouseenter: t[12] ||= (e) => W("1"),
939
+ onMouseleave: t[13] ||= (e) => G("1"),
940
+ onClick: t[14] ||= (e) => K("1")
941
+ }, null, 40, ct)], 8, ot),
942
+ d("path", {
943
+ d: x(re)(sn.value.map((e) => e.plots)),
944
+ stroke: P.value.style.chart.layout.dataPolygon.stroke,
945
+ "stroke-width": P.value.style.chart.layout.dataPolygon.strokeWidth,
946
+ "stroke-linecap": "round",
947
+ "stroke-linejoin": "round",
948
+ 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)
949
+ }, null, 8, lt),
950
+ (_(!0), u(we, null, Me(sn.value.map((e) => e.plots), (e, t) => (_(), u("g", {
951
+ class: "vue-ui-mood-radar-trap",
952
+ style: g(`opacity:${D.value == e.key ? "1" : "0"}`)
953
+ }, [
954
+ d("line", {
955
+ x1: e.x,
956
+ y1: e.y,
957
+ x2: z.value.width / 2,
958
+ y2: z.value.height / 2,
959
+ stroke: P.value.style.chart.layout.smileys.colors[e.key]
960
+ }, null, 8, ut),
961
+ d("circle", {
962
+ cx: e.x,
963
+ cy: e.y,
964
+ fill: P.value.style.chart.layout.smileys.colors[e.key],
965
+ r: "3",
966
+ stroke: P.value.style.chart.backgroundColor,
967
+ "stroke-width": .5
968
+ }, null, 8, dt),
969
+ d("circle", {
970
+ cx: z.value.width / 2,
971
+ cy: z.value.height / 2,
972
+ fill: P.value.style.chart.layout.smileys.colors[e.key],
973
+ r: "3",
974
+ stroke: P.value.style.chart.backgroundColor,
975
+ "stroke-width": .5
976
+ }, null, 8, ft),
977
+ d("text", {
978
+ x: z.value.width / 2,
979
+ y: ["5", 5].includes(e.key) ? z.value.height / 2 * 1.13 : z.value.height / 2 * .9375,
980
+ fill: P.value.style.chart.layout.dataLabel.color,
981
+ "font-size": "12",
982
+ "text-anchor": "middle",
983
+ "font-weight": P.value.style.chart.layout.dataLabel.bold ? "bold" : "normal"
984
+ }, b(x(ae)(P.value.style.chart.layout.dataLabel.formatter, e.value, x(i)({
985
+ p: P.value.style.chart.layout.dataLabel.prefix,
986
+ v: e.value,
987
+ s: P.value.style.chart.layout.dataLabel.suffix,
988
+ r: P.value.style.chart.layout.dataLabel.roundingValue
989
+ }), {
990
+ datapoint: e,
991
+ seriesIndex: t
992
+ })), 9, pt),
993
+ d("text", {
994
+ x: z.value.width / 2,
995
+ y: ["5", 5].includes(e.key) ? z.value.height / 2 * 1.273 : z.value.height / 2 * .7968,
996
+ fill: P.value.style.chart.layout.dataLabel.color,
997
+ "font-size": "12",
998
+ "text-anchor": "middle"
999
+ }, " (" + b(x(i)({
1000
+ v: e.value / V.value * 100,
1001
+ s: "%",
1002
+ r: P.value.style.chart.layout.dataLabel.roundingPercentage
1003
+ })) + ") ", 9, mt)
1004
+ ], 4))), 256)),
1005
+ y(e.$slots, "svg", { svg: {
1006
+ ...z.value,
1007
+ isPrintingImg: x(Yt) || x(Xt) || j.value,
1008
+ isPrintingSvg: M.value
1009
+ } }, void 0, !0)
1010
+ ], 46, Ve)), e.$slots.hint ? (_(), u("div", ht, [y(e.$slots, "hint", h(m({
1011
+ hint: P.value.a11y.translations.keyboardNavigation,
1012
+ isVisible: zt.value
1013
+ })), void 0, !0)])) : l("", !0)]),
1014
+ 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),
1015
+ d("div", { id: `legend-bottom-${T.value}` }, null, 8, _t),
1016
+ Lt.value && (P.value.style.chart.legend.show || e.$slots.legend) ? (_(), c(Te, {
1017
+ key: 6,
1018
+ to: P.value.style.chart.legend.position === "top" ? `#legend-top-${T.value}` : `#legend-bottom-${T.value}`
1019
+ }, [d("div", {
1020
+ ref_key: "chartLegend",
1021
+ ref: Ft
1022
+ }, [y(e.$slots, "legend", { legend: H.value }, () => [P.value.style.chart.legend.show ? (_(), c(Se, {
1023
+ legendSet: on.value,
1024
+ config: cn.value,
1025
+ key: `legend_${Nt.value}`,
1026
+ isCursorPointer: F.value,
1027
+ style: {
1028
+ display: "flex",
1029
+ "row-gap": "6px"
1030
+ },
1031
+ onFocusMarker: t[15] ||= ({ legend: e }) => U(e.key)
1032
+ }, {
1033
+ item: S(({ legend: e, index: t }) => [d("div", {
1034
+ role: "button",
1035
+ onClick: () => U(e.key),
1036
+ style: {
1037
+ display: "flex",
1038
+ "flex-direction": "row",
1039
+ gap: "3px",
1040
+ "align-items": "center",
1041
+ margin: "3px 0"
1042
+ },
1043
+ onKeydown: (t) => Nn(t, String(e.key))
1044
+ }, [
1045
+ e.key == 1 ? (_(), c(x(C), {
1046
+ key: 0,
1047
+ strokeWidth: 1,
1048
+ name: "moodSad",
1049
+ stroke: P.value.style.chart.layout.smileys.colors[e.key]
1050
+ }, null, 8, ["stroke"])) : l("", !0),
1051
+ e.key == 2 ? (_(), c(x(C), {
1052
+ key: 1,
1053
+ strokeWidth: 1,
1054
+ name: "moodFlat",
1055
+ stroke: P.value.style.chart.layout.smileys.colors[e.key]
1056
+ }, null, 8, ["stroke"])) : l("", !0),
1057
+ e.key == 3 ? (_(), c(x(C), {
1058
+ key: 2,
1059
+ strokeWidth: 1,
1060
+ name: "moodNeutral",
1061
+ stroke: P.value.style.chart.layout.smileys.colors[e.key]
1062
+ }, null, 8, ["stroke"])) : l("", !0),
1063
+ e.key == 4 ? (_(), c(x(C), {
1064
+ key: 3,
1065
+ strokeWidth: 1,
1066
+ name: "smiley",
1067
+ stroke: P.value.style.chart.layout.smileys.colors[e.key]
1068
+ }, null, 8, ["stroke"])) : l("", !0),
1069
+ e.key == 5 ? (_(), c(x(C), {
1070
+ key: 4,
1071
+ strokeWidth: 1,
1072
+ name: "moodHappy",
1073
+ stroke: P.value.style.chart.layout.smileys.colors[e.key]
1074
+ }, null, 8, ["stroke"])) : l("", !0),
1075
+ x(Ht) ? l("", !0) : (_(), u("span", {
1076
+ key: 5,
1077
+ style: g({ fontWeight: P.value.style.chart.legend.bold ? "bold" : "normal" })
1078
+ }, b(e.display), 5))
1079
+ ], 40, vt)]),
1080
+ _: 1
1081
+ }, 8, [
1082
+ "legendSet",
1083
+ "config",
1084
+ "isCursorPointer"
1085
+ ])) : l("", !0)], !0)], 512)], 8, ["to"])) : l("", !0),
1086
+ e.$slots.source ? (_(), u("div", {
1087
+ key: 7,
1088
+ ref_key: "source",
1089
+ ref: It,
1090
+ dir: "auto"
1091
+ }, [y(e.$slots, "source", {}, void 0, !0)], 512)) : l("", !0),
1092
+ Bt.value && P.value.userOptions.buttons.table ? (_(), c(Ne(Z.value.component), Oe({ key: 8 }, Z.value.props, {
1093
+ ref_key: "tableUnit",
1094
+ ref: A,
1095
+ onClose: hn
1096
+ }), Ee({
1097
+ content: S(() => [f(x(xt), {
1098
+ colNames: J.value.colNames,
1099
+ head: J.value.head,
1100
+ body: J.value.body,
1101
+ config: J.value.config,
1102
+ title: P.value.table.useDialog ? "" : Z.value.title,
1103
+ withCloseButton: !P.value.table.useDialog,
1104
+ isCursorPointer: F.value,
1105
+ onClose: hn
1106
+ }, {
1107
+ th: S(({ th: e }) => [d("div", {
1108
+ innerHTML: e,
1109
+ style: {
1110
+ display: "flex",
1111
+ "align-items": "center"
1112
+ }
1113
+ }, null, 8, yt)]),
1114
+ td: S(({ td: e }) => [De(b(e.name || e), 1)]),
1115
+ _: 1
1116
+ }, 8, [
1117
+ "colNames",
1118
+ "head",
1119
+ "body",
1120
+ "config",
1121
+ "title",
1122
+ "withCloseButton",
1123
+ "isCursorPointer"
1124
+ ])]),
1125
+ _: 2
1126
+ }, [P.value.table.useDialog ? {
1127
+ name: "title",
1128
+ fn: S(() => [De(b(Z.value.title), 1)]),
1129
+ key: "0"
1130
+ } : void 0, P.value.table.useDialog ? {
1131
+ name: "actions",
1132
+ fn: S(() => [d("button", {
1133
+ tabindex: "0",
1134
+ class: "vue-ui-user-options-button",
1135
+ onClick: t[16] ||= (e) => ln(P.value.userOptions.callbacks.csv),
1136
+ style: g({ cursor: F.value ? "pointer" : "default" })
1137
+ }, [f(x(C), {
1138
+ name: "fileCsv",
1139
+ stroke: Z.value.props.color
1140
+ }, null, 8, ["stroke"])], 4)]),
1141
+ key: "1"
1142
+ } : void 0]), 1040)) : l("", !0),
1143
+ y(e.$slots, "skeleton", {}, () => [x(Ht) ? (_(), c(ue, { key: 0 })) : l("", !0)], !0)
1144
+ ], 46, Le));
1145
+ }
1146
+ }, [["__scopeId", "data-v-45f7b76e"]]);
1147
+ //#endregion
1148
+ export { Ie as n, C as t };