vue-data-ui 3.22.13 → 3.23.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 (224) hide show
  1. package/LICENSE +1 -1
  2. package/README.md +13 -1
  3. package/dist/{Arrow-DKx74WtM.js → Arrow-o2qHNvrC.js} +1 -1
  4. package/dist/{BaseDraggableDialog-3n8udWmh.js → BaseDraggableDialog-qTnfhLBz.js} +2 -2
  5. package/dist/{BaseIcon-CP5RWnqt.js → BaseIcon-91MZoczJ.js} +4 -3
  6. package/dist/{BaseLegendToggle-DsWphmIb.js → BaseLegendToggle-CtAPwzr2.js} +1 -1
  7. package/dist/{BaseZoomControls-C9_ygNN4.js → BaseZoomControls-rdzlicuz.js} +2 -2
  8. package/dist/{ColorPicker-3N_HVgXs.js → ColorPicker-CIAkdPrj.js} +2 -2
  9. package/dist/{DataTable-DzPEVvSo.js → DataTable-D4tM9s5Y.js} +2 -2
  10. package/dist/HillActions-BWhxHlrj.js +187 -0
  11. package/dist/{Legend-C0xAnJdO.js → Legend-CQTRlzK-.js} +2 -2
  12. package/dist/{NonSvgPenAndPaper-B_mE5UbR.js → NonSvgPenAndPaper-Cawacw1W.js} +19 -19
  13. package/dist/{PackageVersion-B6Hokxw9.js → PackageVersion--QCMh5k_.js} +1 -1
  14. package/dist/{PenAndPaper-CSMVXpg2.js → PenAndPaper-cE4J8-rA.js} +11 -11
  15. package/dist/{Shape-BfnXr1nJ.js → Shape-BPMV94Ij.js} +3 -3
  16. package/dist/{Slicer-C6qNUmZ4.js → Slicer-5yIrdoJv.js} +15 -15
  17. package/dist/SlicerPreview-DvjLV2TW.js +1689 -0
  18. package/dist/{SparkTooltip-uoUiL_P8.js → SparkTooltip-BaYtEKS6.js} +6 -6
  19. package/dist/Title-BODtwViI.js +87 -0
  20. package/dist/{Tooltip-CA1rtSyl.js → Tooltip-CMTGxeYO.js} +1 -1
  21. package/dist/{UserOptions-DzAFK9cY.js → UserOptions-3ujTo3LD.js} +2 -2
  22. package/dist/components/arrow.js +1 -1
  23. package/dist/components/vue-ui-3d-bar.js +1 -1
  24. package/dist/components/vue-ui-accordion.js +1 -1
  25. package/dist/components/vue-ui-age-pyramid.js +1 -1
  26. package/dist/components/vue-ui-annotator.js +1 -1
  27. package/dist/components/vue-ui-bullet.js +1 -1
  28. package/dist/components/vue-ui-bump.js +1 -1
  29. package/dist/components/vue-ui-candlestick.js +1 -1
  30. package/dist/components/vue-ui-carousel-table.js +1 -1
  31. package/dist/components/vue-ui-chestnut.js +1 -1
  32. package/dist/components/vue-ui-chord.js +1 -1
  33. package/dist/components/vue-ui-circle-pack.js +1 -1
  34. package/dist/components/vue-ui-cursor.js +1 -1
  35. package/dist/components/vue-ui-dag.js +1 -1
  36. package/dist/components/vue-ui-dashboard.js +1 -1
  37. package/dist/components/vue-ui-digits.js +1 -1
  38. package/dist/components/vue-ui-donut-evolution.js +1 -1
  39. package/dist/components/vue-ui-donut.js +1 -1
  40. package/dist/components/vue-ui-dumbbell.js +1 -1
  41. package/dist/components/vue-ui-flow.js +1 -1
  42. package/dist/components/vue-ui-funnel.js +1 -1
  43. package/dist/components/vue-ui-galaxy.js +1 -1
  44. package/dist/components/vue-ui-gauge.js +1 -1
  45. package/dist/components/vue-ui-geo.js +1 -1
  46. package/dist/components/vue-ui-gizmo.js +1 -1
  47. package/dist/components/vue-ui-heatmap.js +1 -1
  48. package/dist/components/vue-ui-hill.js +2 -0
  49. package/dist/components/vue-ui-history-plot.js +1 -1
  50. package/dist/components/vue-ui-horizontal-bar.js +1 -1
  51. package/dist/components/vue-ui-icon.js +1 -1
  52. package/dist/components/vue-ui-kpi.js +1 -1
  53. package/dist/components/vue-ui-mini-loader.js +1 -1
  54. package/dist/components/vue-ui-molecule.js +1 -1
  55. package/dist/components/vue-ui-mood-radar.js +1 -1
  56. package/dist/components/vue-ui-nested-donuts.js +1 -1
  57. package/dist/components/vue-ui-onion.js +1 -1
  58. package/dist/components/vue-ui-parallel-coordinate-plot.js +1 -1
  59. package/dist/components/vue-ui-quadrant.js +1 -1
  60. package/dist/components/vue-ui-quick-chart.js +1 -1
  61. package/dist/components/vue-ui-radar.js +1 -1
  62. package/dist/components/vue-ui-rating.js +1 -1
  63. package/dist/components/vue-ui-relation-circle.js +1 -1
  64. package/dist/components/vue-ui-ridgeline.js +1 -1
  65. package/dist/components/vue-ui-rings.js +1 -1
  66. package/dist/components/vue-ui-scatter.js +1 -1
  67. package/dist/components/vue-ui-skeleton.js +1 -1
  68. package/dist/components/vue-ui-smiley.js +1 -1
  69. package/dist/components/vue-ui-spark-trend.js +1 -1
  70. package/dist/components/vue-ui-sparkbar.js +1 -1
  71. package/dist/components/vue-ui-sparkgauge.js +1 -1
  72. package/dist/components/vue-ui-sparkhistogram.js +1 -1
  73. package/dist/components/vue-ui-sparkline.js +1 -1
  74. package/dist/components/vue-ui-sparkstackbar.js +1 -1
  75. package/dist/components/vue-ui-stackbar.js +1 -1
  76. package/dist/components/vue-ui-stackline.js +1 -1
  77. package/dist/components/vue-ui-strip-plot.js +1 -1
  78. package/dist/components/vue-ui-table-heatmap.js +1 -1
  79. package/dist/components/vue-ui-table-sparkline.js +1 -1
  80. package/dist/components/vue-ui-table.js +1 -1
  81. package/dist/components/vue-ui-thermometer.js +1 -1
  82. package/dist/components/vue-ui-timer.js +1 -1
  83. package/dist/components/vue-ui-tiremarks.js +1 -1
  84. package/dist/components/vue-ui-treemap.js +1 -1
  85. package/dist/components/vue-ui-vertical-bar.js +1 -1
  86. package/dist/components/vue-ui-waffle.js +1 -1
  87. package/dist/components/vue-ui-wheel.js +1 -1
  88. package/dist/components/vue-ui-word-cloud.js +1 -1
  89. package/dist/components/vue-ui-world.js +1 -1
  90. package/dist/components/vue-ui-xy-canvas.js +1 -1
  91. package/dist/components/vue-ui-xy.js +1 -1
  92. package/dist/{dom-to-png-BdAFKZQg.js → dom-to-png-4tdMNGPX.js} +1 -1
  93. package/dist/exposedLib-DWLRqRhv.js +25 -0
  94. package/dist/{img-Bikk1dGb.js → img-DIQG5q8T.js} +1 -1
  95. package/dist/{labelUtils-BUhssos9.js → labelUtils-C5lnc_xc.js} +1 -1
  96. package/dist/{lib-CFm_J26b.js → lib-BuMGJ_a0.js} +216 -173
  97. package/dist/{package-DmDydylu.js → package-BMc_ZieJ.js} +1 -1
  98. package/dist/{pdf-zmz3l2uy.js → pdf-Cnz4NKM9.js} +1 -1
  99. package/dist/{render-common-BIG8JYGK.js → render-common-Ktg2LZFG.js} +21 -21
  100. package/dist/ssr/vue-ui-donut.js +1 -1
  101. package/dist/ssr/vue-ui-xy.js +1 -1
  102. package/dist/ssr.js +2 -2
  103. package/dist/style.css +1 -1
  104. package/dist/types/vue-data-ui.d.ts +493 -0
  105. package/dist/types/vue-ui-hill.d.ts +90 -0
  106. package/dist/useAutoSizeLabelsInsideViewbox-DvDwcwi_.js +122 -0
  107. package/dist/{useConfig-C0V0eG7L.js → useConfig-BilxnBNr.js} +767 -476
  108. package/dist/useHints-Dq_w2E8B.js +66 -0
  109. package/dist/{useNestedProp-BY6DNN3i.js → useNestedProp--NSEmhOH.js} +1 -1
  110. package/dist/{useObjectBindings-Djwpii4d.js → useObjectBindings-Cwq7NcQz.js} +3 -2
  111. package/dist/{usePrinter-BH-xle1O.js → usePrinter-BFvi4jVy.js} +2 -2
  112. package/dist/useTransitions-g_zBREk2.js +39 -0
  113. package/dist/utils.js +14 -14
  114. package/dist/{vue-data-ui-rkzh6EkO.js → vue-data-ui-EsawKe_W.js} +85 -81
  115. package/dist/vue-data-ui.js +77 -76
  116. package/dist/vue-ui-3d-bar-RSUS2xpL.js +1849 -0
  117. package/dist/{vue-ui-accordion-UA88lv4d.js → vue-ui-accordion-61MlW-Ge.js} +4 -4
  118. package/dist/vue-ui-age-pyramid-CgnPWA93.js +1263 -0
  119. package/dist/vue-ui-annotator-DBRT85HG.js +2913 -0
  120. package/dist/vue-ui-bullet-Bc3-WaN1.js +724 -0
  121. package/dist/{vue-ui-bump-BS7RCf0Z.js → vue-ui-bump-Dvv3iSKr.js} +332 -295
  122. package/dist/{vue-ui-candlestick-BZSGDKrM.js → vue-ui-candlestick-DvvsrIdp.js} +464 -440
  123. package/dist/vue-ui-carousel-table-DtsNVim8.js +463 -0
  124. package/dist/vue-ui-chestnut-ArloORzP.js +2068 -0
  125. package/dist/{vue-ui-chord-D6G7ceE-.js → vue-ui-chord-xX5gWZy8.js} +430 -424
  126. package/dist/vue-ui-circle-pack-D8wykmqg.js +1638 -0
  127. package/dist/{vue-ui-cursor-BpN5MsXM.js → vue-ui-cursor-CxgE6Phh.js} +61 -61
  128. package/dist/{vue-ui-dag-BzgOgXzU.js → vue-ui-dag-C9Sf9vH7.js} +924 -916
  129. package/dist/vue-ui-dashboard-bGmaglAj.js +520 -0
  130. package/dist/{vue-ui-digits-OMPrn8fb.js → vue-ui-digits-DgDE-_Fn.js} +58 -50
  131. package/dist/vue-ui-donut-B_n6wF6B.js +2440 -0
  132. package/dist/{vue-ui-donut-Cp5NbZ1r.js → vue-ui-donut-Bmo149AR.js} +113 -113
  133. package/dist/{vue-ui-donut-evolution-DHVi5rOn.js → vue-ui-donut-evolution-D6vH_hfx.js} +528 -447
  134. package/dist/vue-ui-dumbbell-BX4Ao_wR.js +1582 -0
  135. package/dist/{vue-ui-flow-BusUK3H0.js → vue-ui-flow-Bshw8pT_.js} +415 -407
  136. package/dist/vue-ui-funnel-CjYosIik.js +797 -0
  137. package/dist/vue-ui-galaxy-CvXgy-dy.js +1111 -0
  138. package/dist/vue-ui-gauge-CByT0_vF.js +953 -0
  139. package/dist/{vue-ui-geo-CyFgFKlh.js → vue-ui-geo-C-gSZL2q.js} +378 -363
  140. package/dist/{vue-ui-gizmo-DdeXwCQp.js → vue-ui-gizmo-CJdxyPID.js} +57 -49
  141. package/dist/{vue-ui-heatmap-D8-qJ7fg.js → vue-ui-heatmap-DEEKv8ip.js} +498 -490
  142. package/dist/vue-ui-hill-D7LYAgAL.js +1768 -0
  143. package/dist/{vue-ui-history-plot-C2Aqk2ON.js → vue-ui-history-plot-BhcU94Pt.js} +553 -556
  144. package/dist/vue-ui-horizontal-bar-CfFye5tL.js +1733 -0
  145. package/dist/vue-ui-kpi-DCBnNfTb.js +104 -0
  146. package/dist/vue-ui-mini-loader-CtWpqnLW.js +133 -0
  147. package/dist/vue-ui-molecule-D3igGyOy.js +958 -0
  148. package/dist/{vue-ui-mood-radar-BiOjxFEN.js → vue-ui-mood-radar-sl6DMxqR.js} +349 -341
  149. package/dist/{vue-ui-nested-donuts-Cl1HVvDp.js → vue-ui-nested-donuts-aS4YzaB3.js} +449 -413
  150. package/dist/vue-ui-onion-EhPTZpW_.js +1258 -0
  151. package/dist/vue-ui-parallel-coordinate-plot-DE9wTmQQ.js +1455 -0
  152. package/dist/{vue-ui-quadrant-B21LkUc8.js → vue-ui-quadrant-SaY_RPSE.js} +625 -617
  153. package/dist/vue-ui-quick-chart-CJ9rejnj.js +2389 -0
  154. package/dist/{vue-ui-radar-CyzAyVos.js → vue-ui-radar-CaNen5Fj.js} +356 -310
  155. package/dist/vue-ui-rating--K7rX2an.js +360 -0
  156. package/dist/vue-ui-relation-circle-FLs8vOxQ.js +925 -0
  157. package/dist/vue-ui-ridgeline-Beg5hshN.js +1663 -0
  158. package/dist/{vue-ui-rings-FtcdX8xl.js → vue-ui-rings-BevKD8P-.js} +449 -423
  159. package/dist/{vue-ui-scatter-Cp_-2ahf.js → vue-ui-scatter-CNA7jF-o.js} +721 -702
  160. package/dist/{vue-ui-skeleton-COytVrfN.js → vue-ui-skeleton-B9ZP1w-i.js} +395 -387
  161. package/dist/{vue-ui-smiley-Da2jgkb7.js → vue-ui-smiley-DYnqqk6u.js} +128 -120
  162. package/dist/{vue-ui-spark-trend-DC2KUlEY.js → vue-ui-spark-trend-R0ebpg-G.js} +132 -117
  163. package/dist/{vue-ui-sparkbar-DdxQOFIF.js → vue-ui-sparkbar-DYC3By0v.js} +119 -111
  164. package/dist/{vue-ui-sparkgauge-DTA-fORH.js → vue-ui-sparkgauge-Bw6no-In.js} +76 -68
  165. package/dist/vue-ui-sparkhistogram-DvRKy8rq.js +590 -0
  166. package/dist/{vue-ui-sparkline-DcR_N-zT.js → vue-ui-sparkline-Dz1uzBos.js} +389 -364
  167. package/dist/vue-ui-sparkstackbar-DlnPdZih.js +692 -0
  168. package/dist/vue-ui-stackbar-B-THcavY.js +2350 -0
  169. package/dist/vue-ui-stackline-3dBPoI0h.js +2464 -0
  170. package/dist/{vue-ui-strip-plot-NLCwYvyw.js → vue-ui-strip-plot-ACeYOoHj.js} +505 -484
  171. package/dist/vue-ui-table-heatmap-DVwMqzje.js +364 -0
  172. package/dist/{vue-ui-table-AM9brdwU.js → vue-ui-table-rFy16bp0.js} +512 -504
  173. package/dist/{vue-ui-table-sparkline-BE6DAvur.js → vue-ui-table-sparkline-CABJzK8p.js} +207 -181
  174. package/dist/vue-ui-thermometer-CVQ-H69Q.js +777 -0
  175. package/dist/{vue-ui-timer-BZM5ITG9.js → vue-ui-timer-Bm8LpsnI.js} +66 -58
  176. package/dist/{vue-ui-tiremarks-BCncDpHX.js → vue-ui-tiremarks-DB3f5qiz.js} +127 -119
  177. package/dist/vue-ui-treemap-DP0Sx8Y8.js +1760 -0
  178. package/dist/vue-ui-waffle-iPpdk1Bm.js +1412 -0
  179. package/dist/vue-ui-wheel-BJkEYfLj.js +892 -0
  180. package/dist/{vue-ui-word-cloud-D7R7nhk1.js → vue-ui-word-cloud-B2sxtel9.js} +440 -432
  181. package/dist/{vue-ui-world-DZBt-07p.js → vue-ui-world-BBQZLnzm.js} +343 -335
  182. package/dist/vue-ui-xy-ChZg7AtI.js +1364 -0
  183. package/dist/{vue-ui-xy-CluEZ7lS.js → vue-ui-xy-DZj5DT-q.js} +1633 -1587
  184. package/dist/{vue-ui-xy-canvas-7YSYRdwr.js → vue-ui-xy-canvas-BN2u0bOJ.js} +456 -430
  185. package/dist/vue_ui_hill-dnltu0L-.js +368 -0
  186. package/package.json +2 -2
  187. package/dist/SlicerPreview-Cw6WMVhG.js +0 -1689
  188. package/dist/Title-BuPs74IB.js +0 -87
  189. package/dist/exposedLib-Ciw6TGtP.js +0 -25
  190. package/dist/useAutoSizeLabelsInsideViewbox-C9RNjsGv.js +0 -50
  191. package/dist/useMountedDelay-BAjrhRJb.js +0 -14
  192. package/dist/vue-ui-3d-bar-D5xHEWr1.js +0 -1824
  193. package/dist/vue-ui-age-pyramid-CAJg01c7.js +0 -1246
  194. package/dist/vue-ui-annotator-q3ZKx6ua.js +0 -2905
  195. package/dist/vue-ui-bullet-ByeaWGfI.js +0 -709
  196. package/dist/vue-ui-carousel-table-DO5NRXvX.js +0 -455
  197. package/dist/vue-ui-chestnut-BfeSPeEh.js +0 -2042
  198. package/dist/vue-ui-circle-pack-Cqmlw7AV.js +0 -1610
  199. package/dist/vue-ui-dashboard-DLvGJXJY.js +0 -512
  200. package/dist/vue-ui-donut-ZIRebAWc.js +0 -2418
  201. package/dist/vue-ui-dumbbell-gDYjU2oF.js +0 -1564
  202. package/dist/vue-ui-funnel-BtaYaU0r.js +0 -781
  203. package/dist/vue-ui-galaxy-BMp-HzDh.js +0 -1076
  204. package/dist/vue-ui-gauge-CBou0cFE.js +0 -925
  205. package/dist/vue-ui-horizontal-bar-BuwxI7d1.js +0 -1689
  206. package/dist/vue-ui-kpi-ByxoO01r.js +0 -96
  207. package/dist/vue-ui-mini-loader-D9pprk2c.js +0 -125
  208. package/dist/vue-ui-molecule-BqJJq49_.js +0 -932
  209. package/dist/vue-ui-onion-CRQOxurS.js +0 -1199
  210. package/dist/vue-ui-parallel-coordinate-plot-Dhn18RtR.js +0 -1412
  211. package/dist/vue-ui-quick-chart-DAhSXYnp.js +0 -2443
  212. package/dist/vue-ui-rating-DbxK-ftN.js +0 -352
  213. package/dist/vue-ui-relation-circle-Cb33DMZo.js +0 -917
  214. package/dist/vue-ui-ridgeline-D7aArzQk.js +0 -1627
  215. package/dist/vue-ui-sparkhistogram-D1oFTrvt.js +0 -575
  216. package/dist/vue-ui-sparkstackbar-BlFio0lP.js +0 -674
  217. package/dist/vue-ui-stackbar-Cu13EdVa.js +0 -2322
  218. package/dist/vue-ui-stackline-DKL0o_-3.js +0 -2427
  219. package/dist/vue-ui-table-heatmap-CSI482KG.js +0 -338
  220. package/dist/vue-ui-thermometer-D6Czx7Fb.js +0 -769
  221. package/dist/vue-ui-treemap-BOEYCOdk.js +0 -1727
  222. package/dist/vue-ui-waffle-BrM8IHdG.js +0 -1367
  223. package/dist/vue-ui-wheel-BNsajigQ.js +0 -884
  224. package/dist/vue-ui-xy-Dt_1bSBT.js +0 -1364
@@ -1,69 +1,70 @@
1
1
  import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
2
- import { At as t, Bt as n, E as r, K as i, Q as a, Y as o, et as ee, i as te, j as ne, kt as re, qt as ie, t as ae, zt as s } from "./lib-CFm_J26b.js";
3
- import { t as oe } from "./useConfig-C0V0eG7L.js";
4
- import { t as se } from "./usePrinter-BH-xle1O.js";
5
- import { n as ce, t as le } from "./BaseScanner-DZvpgOjM.js";
6
- import { t as ue } from "./useSvgExport-Ba9qBr9M.js";
7
- import { t as de } from "./useNestedProp-BY6DNN3i.js";
8
- import { t as fe } from "./useThemeCheck-C43Tcqmk.js";
9
- import { t as pe } from "./img-Bikk1dGb.js";
10
- import { n as me } from "./Title-BuPs74IB.js";
11
- import { t as he } from "./_plugin-vue_export-helper-B3ysoDQm.js";
12
- import { l as ge, t as _e } from "./useResponsive-ZtArZtUf.js";
13
- import { t as ve } from "./DefGrad-DVBqDjhO.js";
14
- import { t as ye } from "./A11yDataTable-DdRsVULz.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-C0xAnJdO.js";
18
- import { t as Ce } from "./vue_ui_mood_radar-BA6LAKhk.js";
19
- import { Fragment as we, Teleport as Te, computed as c, createBlock as l, createCommentVNode as u, createElementBlock as d, createElementVNode as f, createSlots as Ee, createTextVNode as De, createVNode as p, defineAsyncComponent as m, guardReactiveProps as h, mergeProps as Oe, nextTick as ke, normalizeClass as Ae, normalizeProps as g, normalizeStyle as _, onMounted as je, openBlock as v, ref as y, renderList as Me, renderSlot as b, resolveDynamicComponent as Ne, toDisplayString as x, toRefs as Pe, unref as S, watch as Fe, withCtx as C } from "vue";
2
+ import { $ as t, At as n, Bt as r, D as i, Jt as a, M as ee, Vt as te, X as o, i as ne, jt as re, q as ie, t as ae, tt as oe } from "./lib-BuMGJ_a0.js";
3
+ import { n as se, t as ce } from "./useHints-Dq_w2E8B.js";
4
+ import { t as le } from "./useConfig-BilxnBNr.js";
5
+ import { t as ue } from "./usePrinter-BFvi4jVy.js";
6
+ import { n as de, t as fe } from "./BaseScanner-DZvpgOjM.js";
7
+ import { t as pe } from "./useSvgExport-Ba9qBr9M.js";
8
+ import { t as me } from "./useNestedProp--NSEmhOH.js";
9
+ import { t as he } from "./useThemeCheck-C43Tcqmk.js";
10
+ import { t as ge } from "./img-DIQG5q8T.js";
11
+ import { n as _e } from "./Title-BODtwViI.js";
12
+ import { t as ve } from "./_plugin-vue_export-helper-B3ysoDQm.js";
13
+ import { l as ye, t as be } from "./useResponsive-ZtArZtUf.js";
14
+ import { t as xe } from "./DefGrad-DVBqDjhO.js";
15
+ import { t as Se } from "./A11yDataTable-DdRsVULz.js";
16
+ import { t as Ce } from "./useUserOptionState-DK-_1ddE.js";
17
+ import { t as we } from "./useChartAccessibility-DYqac8yF.js";
18
+ import { t as Te } from "./Legend-CQTRlzK-.js";
19
+ import { t as Ee } from "./vue_ui_mood_radar-BA6LAKhk.js";
20
+ import { Fragment as De, Teleport as Oe, computed as s, createBlock as c, createCommentVNode as l, createElementBlock as u, createElementVNode as d, createSlots as ke, createTextVNode as Ae, createVNode as f, defineAsyncComponent as p, guardReactiveProps as m, mergeProps as je, nextTick as Me, normalizeClass as Ne, normalizeProps as h, normalizeStyle as g, onMounted as Pe, openBlock as _, ref as v, renderList as Fe, renderSlot as y, resolveDynamicComponent as Ie, toDisplayString as b, toRefs as Le, unref as x, watch as Re, withCtx as S } from "vue";
20
21
  //#region src/components/vue-ui-mood-radar.vue
21
- var Ie = /* @__PURE__ */ e({ default: () => w }), Le = ["id"], Re = ["id"], ze = ["id"], Be = { style: { position: "relative" } }, Ve = [
22
+ var ze = /* @__PURE__ */ e({ default: () => C }), Be = ["id"], Ve = ["id"], He = ["id"], Ue = { style: { position: "relative" } }, We = [
22
23
  "xmlns",
23
24
  "aria-describedby",
24
25
  "viewBox"
25
- ], He = ["width", "height"], Ue = [
26
+ ], Ge = ["width", "height"], Ke = [
26
27
  "x1",
27
28
  "y1",
28
29
  "x2",
29
30
  "y2",
30
31
  "stroke",
31
32
  "stroke-width"
32
- ], We = [
33
+ ], qe = [
33
34
  "d",
34
35
  "stroke",
35
36
  "stroke-width"
36
- ], Ge = ["transform"], Ke = ["stroke"], qe = ["aria-label", "fill"], 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 = [
37
+ ], 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
38
  "d",
38
39
  "stroke",
39
40
  "stroke-width",
40
41
  "fill"
41
- ], st = [
42
+ ], ut = [
42
43
  "x1",
43
44
  "y1",
44
45
  "x2",
45
46
  "y2",
46
47
  "stroke"
47
- ], ct = [
48
+ ], dt = [
48
49
  "cx",
49
50
  "cy",
50
51
  "fill",
51
52
  "stroke"
52
- ], lt = [
53
+ ], ft = [
53
54
  "cx",
54
55
  "cy",
55
56
  "fill",
56
57
  "stroke"
57
- ], ut = [
58
+ ], pt = [
58
59
  "x",
59
60
  "y",
60
61
  "fill",
61
62
  "font-weight"
62
- ], dt = [
63
+ ], mt = [
63
64
  "x",
64
65
  "y",
65
66
  "fill"
66
- ], ft = {
67
+ ], ht = {
67
68
  key: 0,
68
69
  style: {
69
70
  position: "absolute",
@@ -73,10 +74,10 @@ var Ie = /* @__PURE__ */ e({ default: () => w }), Le = ["id"], Re = ["id"], ze =
73
74
  },
74
75
  "data-dom-to-png-ignore": "",
75
76
  "aria-hidden": "true"
76
- }, pt = {
77
+ }, gt = {
77
78
  key: 5,
78
79
  class: "vue-data-ui-watermark"
79
- }, mt = ["id"], ht = ["onClick", "onKeydown"], gt = ["innerHTML"], w = /*#__PURE__*/ he({
80
+ }, _t = ["id"], vt = ["onClick", "onKeydown"], yt = ["innerHTML"], C = /*#__PURE__*/ ve({
80
81
  __name: "vue-ui-mood-radar",
81
82
  props: {
82
83
  config: {
@@ -93,8 +94,15 @@ var Ie = /* @__PURE__ */ e({ default: () => w }), Le = ["id"], Re = ["id"], ze =
93
94
  }
94
95
  },
95
96
  emits: ["copyAlt"],
96
- setup(e, { expose: he, emit: Ie }) {
97
- let w = m(() => import("./BaseIcon-CP5RWnqt.js").then((e) => e.n)), _t = m(() => import("./vue-ui-accordion-UA88lv4d.js").then((e) => e.n)), vt = m(() => import("./DataTable-DzPEVvSo.js")), yt = m(() => import("./PenAndPaper-CSMVXpg2.js").then((e) => e.t)), bt = m(() => import("./UserOptions-DzAFK9cY.js").then((e) => e.n)), xt = m(() => import("./PackageVersion-B6Hokxw9.js").then((e) => e.t)), St = m(() => import("./BaseDraggableDialog-3n8udWmh.js").then((e) => e.n)), { vue_ui_mood_radar: Ct } = oe(), { isThemeValid: wt, warnInvalidTheme: Tt } = fe(), T = e, Et = Ie, E = y(i()), D = y(null), O = y(null), Dt = y(null), Ot = y(0), kt = y(0), At = y(0), jt = y(null), Mt = y(null), k = y(null), A = y(null), Nt = y(null), Pt = y(!1), j = y(null), Ft = y(null), M = y(!1), It = y(!1), N = y(null), Lt = y(!1), Rt = c(() => !!T.dataset && Object.keys(T.dataset).length), P = y(Kt()), F = c(() => P.value.userOptions.useCursorPointer), zt = c(() => ie({
97
+ setup(e, { expose: ve, emit: ze }) {
98
+ let C = p(() => import("./BaseIcon-91MZoczJ.js").then((e) => e.n)), bt = p(() => import("./vue-ui-accordion-61MlW-Ge.js").then((e) => e.n)), xt = p(() => import("./DataTable-D4tM9s5Y.js")), St = p(() => import("./PenAndPaper-cE4J8-rA.js").then((e) => e.t)), Ct = p(() => import("./UserOptions-3ujTo3LD.js").then((e) => e.n)), wt = p(() => import("./PackageVersion--QCMh5k_.js").then((e) => e.t)), Tt = p(() => import("./BaseDraggableDialog-qTnfhLBz.js").then((e) => e.n)), { vue_ui_mood_radar: Et } = le(), { isThemeValid: Dt, warnInvalidTheme: Ot } = he(), w = e, kt = ze, T = v(ie()), 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());
99
+ se({
100
+ config: () => P.value,
101
+ dataset: () => w.dataset,
102
+ component: "VueUiMoodRadar",
103
+ rules: [ce.noHint]
104
+ });
105
+ let F = s(() => P.value.userOptions.useCursorPointer), Vt = s(() => a({
98
106
  defaultConfig: {
99
107
  userOptions: { show: !1 },
100
108
  table: { show: !1 },
@@ -121,80 +129,80 @@ var Ie = /* @__PURE__ */ e({ default: () => w }), Le = ["id"], Re = ["id"], ze =
121
129
  } }
122
130
  },
123
131
  userConfig: P.value.skeletonConfig ?? {}
124
- })), { loading: Bt, FINAL_DATASET: I } = ce({
125
- ...Pe(T),
132
+ })), { loading: Ht, FINAL_DATASET: I } = de({
133
+ ...Le(w),
126
134
  FINAL_CONFIG: P,
127
- prepareConfig: Kt,
135
+ prepareConfig: Jt,
128
136
  callback: () => {
129
137
  Promise.resolve().then(async () => {
130
- await ke(), R.value.showTable = P.value.table.show;
138
+ await Me(), R.value.showTable = P.value.table.show;
131
139
  });
132
140
  },
133
- skeletonDataset: T.config?.skeletonDataset ?? {
141
+ skeletonDataset: w.config?.skeletonDataset ?? {
134
142
  1: 1,
135
143
  2: 1,
136
144
  3: 1,
137
145
  4: 1,
138
146
  5: 1
139
147
  },
140
- skeletonConfig: ie({
148
+ skeletonConfig: a({
141
149
  defaultConfig: P.value,
142
- userConfig: zt.value
150
+ userConfig: Vt.value
143
151
  })
144
152
  });
145
- je(() => {
146
- Pt.value = !0, Ht();
153
+ Pe(() => {
154
+ Lt.value = !0, Wt();
147
155
  });
148
- let Vt = c(() => P.value.debug);
149
- function Ht() {
150
- if (t(T.dataset) && ee({
156
+ let Ut = s(() => P.value.debug);
157
+ function Wt() {
158
+ if (re(w.dataset) && oe({
151
159
  componentName: "VueUiMoodRadar",
152
160
  type: "dataset",
153
- debug: Vt.value
161
+ debug: Ut.value
154
162
  }), P.value.responsive) {
155
- let e = ge(() => {
156
- let { width: e, height: t } = _e({
157
- chart: D.value,
158
- title: P.value.style.chart.title.text ? jt.value : null,
159
- legend: P.value.style.chart.legend.show ? Mt.value : null,
160
- noTitle: Dt.value,
161
- source: Nt.value
163
+ let e = ye(() => {
164
+ let { width: e, height: t } = be({
165
+ chart: E.value,
166
+ title: P.value.style.chart.title.text ? Pt.value : null,
167
+ legend: P.value.style.chart.legend.show ? Ft.value : null,
168
+ noTitle: At.value,
169
+ source: It.value
162
170
  });
163
171
  requestAnimationFrame(() => {
164
172
  z.value.width = e, z.value.height = t - 12;
165
173
  });
166
174
  });
167
- k.value && (A.value && k.value.unobserve(A.value), k.value.disconnect()), k.value = new ResizeObserver(e), A.value = D.value.parentNode, k.value.observe(A.value);
175
+ 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
176
  }
169
177
  }
170
- let { userOptionsVisible: Ut, setUserOptionsVisibility: Wt, keepUserOptionState: Gt } = be({ config: P.value }), { svgRef: L } = xe({ config: P.value.style.chart.title });
171
- function Kt() {
172
- let e = de({
173
- userConfig: T.config,
174
- defaultConfig: Ct
178
+ let { userOptionsVisible: Gt, setUserOptionsVisibility: Kt, keepUserOptionState: qt } = Ce({ config: P.value }), { svgRef: L } = we({ config: P.value.style.chart.title });
179
+ function Jt() {
180
+ let e = me({
181
+ userConfig: w.config,
182
+ defaultConfig: Et
175
183
  }), t = e.theme;
176
184
  if (!t) return e;
177
- if (!wt.value(e)) return Tt(e), e;
178
- let n = de({
179
- userConfig: Ce[t] || T.config,
185
+ if (!Dt.value(e)) return Ot(e), e;
186
+ let n = me({
187
+ userConfig: Ee[t] || w.config,
180
188
  defaultConfig: e
181
189
  });
182
- return de({
183
- userConfig: T.config,
190
+ return me({
191
+ userConfig: w.config,
184
192
  defaultConfig: n
185
193
  });
186
194
  }
187
- Fe(() => T.config, (e) => {
188
- P.value = Kt(), Ut.value = !P.value.userOptions.showOnChartHover, Ht(), Ot.value += 1, kt.value += 1, At.value += 1, R.value.showTable = P.value.table.show;
195
+ Re(() => w.config, (e) => {
196
+ 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
197
  }, { deep: !0 });
190
- let { isPrinting: qt, isImaging: Jt, generatePdf: Yt, generateImage: Xt } = se({
191
- elementId: E.value,
198
+ let { isPrinting: Yt, isImaging: Xt, generatePdf: Zt, generateImage: Qt } = ue({
199
+ elementId: T.value,
192
200
  fileName: P.value.style.chart.title.text || "vue-ui-mood-radar",
193
201
  options: P.value.userOptions.print
194
- }), Zt = c(() => P.value.userOptions.show && !P.value.style.chart.title.text), R = y({ showTable: P.value.table.show }), z = y({
202
+ }), $t = s(() => P.value.userOptions.show && !P.value.style.chart.title.text), R = v({ showTable: P.value.table.show }), z = v({
195
203
  height: 256,
196
204
  width: 256
197
- }), Qt = {
205
+ }), en = {
198
206
  5: {
199
207
  x: 128,
200
208
  y: 35
@@ -215,9 +223,9 @@ var Ie = /* @__PURE__ */ e({ default: () => w }), Le = ["id"], Re = ["id"], ze =
215
223
  x: 38.5,
216
224
  y: 98.5
217
225
  }
218
- }, $t = c(() => {
226
+ }, tn = s(() => {
219
227
  let e = {};
220
- return an.value.forEach((t) => {
228
+ return sn.value.forEach((t) => {
221
229
  e[t.key] = {
222
230
  x: t.x,
223
231
  y: t.y
@@ -225,10 +233,10 @@ var Ie = /* @__PURE__ */ e({ default: () => w }), Le = ["id"], Re = ["id"], ze =
225
233
  }), e;
226
234
  });
227
235
  function B(e) {
228
- let t = Qt[e], n = $t.value[e] || t;
236
+ let t = en[e], n = tn.value[e] || t;
229
237
  return `translate(${n.x - t.x}, ${n.y - t.y})`;
230
238
  }
231
- let en = c(() => ne({
239
+ let nn = s(() => ee({
232
240
  plot: {
233
241
  x: z.value.width / 2,
234
242
  y: z.value.height / 2
@@ -237,15 +245,15 @@ var Ie = /* @__PURE__ */ e({ default: () => w }), Le = ["id"], Re = ["id"], ze =
237
245
  sides: 5,
238
246
  rotation: 11
239
247
  }));
240
- function tn({ centerX: e, centerY: t, apexX: n, apexY: r, proportion: i, key: a, value: o }) {
248
+ function rn({ centerX: e, centerY: t, apexX: n, apexY: r, proportion: i, key: a, value: ee }) {
241
249
  return {
242
250
  x: e + (n - e) * i,
243
251
  y: t + (r - t) * i,
244
252
  key: a,
245
- value: o
253
+ value: ee
246
254
  };
247
255
  }
248
- let nn = c(() => Math.max(...Object.values(I.value).map((e) => isNaN(e) ? 0 : e))), V = c(() => Object.values(I.value).reduce((e, t) => (isNaN(e) ? 0 : e) + (isNaN(t) ? 0 : t), 0)), H = c(() => Object.keys(I.value).map((e, t) => {
256
+ 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
257
  let n = typeof I.value[e] != "number" || isNaN(I.value[e]) ? 0 : I.value[e];
250
258
  return {
251
259
  index: t,
@@ -257,37 +265,37 @@ var Ie = /* @__PURE__ */ e({ default: () => w }), Le = ["id"], Re = ["id"], ze =
257
265
  }).map((e) => ({
258
266
  ...e,
259
267
  onSelect: () => U(e.key)
260
- })).sort((e, t) => t.key - e.key)), rn = c(() => H.value.map((e, t) => ({
268
+ })).sort((e, t) => t.key - e.key)), on = s(() => H.value.map((e, t) => ({
261
269
  ...e,
262
- display: `${te(P.value.style.chart.layout.dataLabel.formatter, e.value, o({
270
+ display: `${ne(P.value.style.chart.layout.dataLabel.formatter, e.value, o({
263
271
  p: P.value.style.chart.layout.dataLabel.prefix,
264
272
  v: e.value,
265
273
  s: P.value.style.chart.layout.dataLabel.suffix,
266
274
  r: P.value.style.chart.layout.dataLabel.roundingValue
267
- }))}${Bt.value ? "" : ` (${o({
275
+ }))}${Ht.value ? "" : ` (${o({
268
276
  v: e.proportion * 100,
269
277
  s: "%",
270
278
  r: P.value.style.chart.legend.roundingPercentage
271
279
  })})`}`
272
- }))), an = c(() => ([
280
+ }))), sn = s(() => ([
273
281
  "1",
274
282
  "2",
275
283
  "3",
276
284
  "4",
277
285
  "5"
278
286
  ].forEach((e) => {
279
- [null, void 0].includes(I.value[e]) && ee({
287
+ [null, void 0].includes(I.value[e]) && oe({
280
288
  componentName: "VueUiMoodRadar",
281
289
  type: "datasetAttribute",
282
290
  property: e
283
291
  });
284
- }), en.value.coordinates.map((e, t) => {
285
- let n = tn({
292
+ }), nn.value.coordinates.map((e, t) => {
293
+ let n = rn({
286
294
  centerX: z.value.width / 2,
287
295
  centerY: z.value.height / 2,
288
296
  apexX: e.x,
289
297
  apexY: e.y,
290
- proportion: H.value[t].value / nn.value,
298
+ proportion: H.value[t].value / an.value,
291
299
  key: H.value[t].key,
292
300
  value: H.value[t].value
293
301
  });
@@ -296,7 +304,7 @@ var Ie = /* @__PURE__ */ e({ default: () => w }), Le = ["id"], Re = ["id"], ze =
296
304
  plots: n,
297
305
  key: H.value[t].key
298
306
  };
299
- }))), on = c(() => ({
307
+ }))), cn = s(() => ({
300
308
  cy: "mood-radar-legend",
301
309
  backgroundColor: P.value.style.chart.legend.backgroundColor,
302
310
  color: P.value.style.chart.legend.color,
@@ -305,10 +313,10 @@ var Ie = /* @__PURE__ */ e({ default: () => w }), Le = ["id"], Re = ["id"], ze =
305
313
  fontWeight: P.value.style.chart.legend.bold ? "bold" : ""
306
314
  }));
307
315
  function U(e) {
308
- e === O.value ? O.value = null : (O.value = e, K(e));
316
+ e === D.value ? D.value = null : (D.value = e, K(e));
309
317
  }
310
318
  function W(e) {
311
- O.value = e;
319
+ D.value = e;
312
320
  let t = H.value.find((t) => t.key === e);
313
321
  P.value.events.datapointEnter && P.value.events.datapointEnter({
314
322
  datapoint: t,
@@ -316,7 +324,7 @@ var Ie = /* @__PURE__ */ e({ default: () => w }), Le = ["id"], Re = ["id"], ze =
316
324
  });
317
325
  }
318
326
  function G(e) {
319
- O.value = null;
327
+ D.value = null;
320
328
  let t = H.value.find((t) => t.key === e);
321
329
  P.value.events.datapointLeave && P.value.events.datapointLeave({
322
330
  datapoint: t,
@@ -330,20 +338,20 @@ var Ie = /* @__PURE__ */ e({ default: () => w }), Le = ["id"], Re = ["id"], ze =
330
338
  seriesIndex: t.index
331
339
  });
332
340
  }
333
- let q = c(() => ({
341
+ let q = s(() => ({
334
342
  head: H.value.map((e) => ({
335
343
  name: e.key,
336
344
  color: e.color
337
345
  })),
338
346
  body: H.value.map((e) => isNaN(e.value) ? 0 : e.value)
339
347
  }));
340
- function sn(e = null) {
341
- ke(() => {
342
- let t = q.value.head.map((e, t) => [
348
+ function ln(e = null) {
349
+ Me(() => {
350
+ let n = q.value.head.map((e, t) => [
343
351
  [e.name],
344
352
  [q.value.body[t]],
345
353
  [isNaN(q.value.body[t] / V.value) ? "-" : q.value.body[t] / V.value * 100]
346
- ]), n = r([
354
+ ]), r = i([
347
355
  [P.value.style.chart.title.text],
348
356
  [P.value.style.chart.title.subtitle.text],
349
357
  [
@@ -351,14 +359,14 @@ var Ie = /* @__PURE__ */ e({ default: () => w }), Le = ["id"], Re = ["id"], ze =
351
359
  ["val"],
352
360
  ["%"]
353
361
  ]
354
- ].concat(t));
355
- e ? e(n) : a({
356
- csvContent: n,
362
+ ].concat(n));
363
+ e ? e(r) : t({
364
+ csvContent: r,
357
365
  title: P.value.style.chart.title.text || "vue-ui-mood-radar"
358
366
  });
359
367
  });
360
368
  }
361
- let J = c(() => ({
369
+ let J = s(() => ({
362
370
  head: [
363
371
  " <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
372
  Number(V.value.toFixed(P.value.table.td.roundingValue)).toLocaleString(),
@@ -391,24 +399,24 @@ var Ie = /* @__PURE__ */ e({ default: () => w }), Le = ["id"], Re = ["id"], ze =
391
399
  P.value.table.columnNames.percentage
392
400
  ]
393
401
  }));
394
- function cn() {
402
+ function un() {
395
403
  return H.value;
396
404
  }
397
- function ln() {
405
+ function dn() {
398
406
  R.value.showTable = !R.value.showTable;
399
407
  }
400
- let Y = y(!1);
401
- function un(e) {
408
+ let Y = v(!1);
409
+ function fn(e) {
402
410
  Y.value = e;
403
411
  }
404
- let X = y(!1);
405
- function dn() {
412
+ let X = v(!1);
413
+ function pn() {
406
414
  X.value = !X.value;
407
415
  }
408
- async function fn({ scale: e = 2 } = {}) {
409
- if (!D.value) return;
410
- let { width: t, height: n } = D.value.getBoundingClientRect(), r = t / n, { imageUri: i, base64: a } = await pe({
411
- domElement: D.value,
416
+ async function mn({ scale: e = 2 } = {}) {
417
+ if (!E.value) return;
418
+ let { width: t, height: n } = E.value.getBoundingClientRect(), r = t / n, { imageUri: i, base64: a } = await ge({
419
+ domElement: E.value,
412
420
  base64: !0,
413
421
  img: !0,
414
422
  scale: e
@@ -422,10 +430,10 @@ var Ie = /* @__PURE__ */ e({ default: () => w }), Le = ["id"], Re = ["id"], ze =
422
430
  aspectRatio: r
423
431
  };
424
432
  }
425
- let Z = c(() => {
433
+ let Z = s(() => {
426
434
  let e = P.value.table.useDialog && !P.value.table.show, t = R.value.showTable;
427
435
  return {
428
- component: e ? St : _t,
436
+ component: e ? Tt : bt,
429
437
  title: `${P.value.style.chart.title.text}${P.value.style.chart.title.subtitle.text ? `: ${P.value.style.chart.title.subtitle.text}` : ""}`,
430
438
  props: e ? {
431
439
  backgroundColor: P.value.table.th.backgroundColor,
@@ -433,7 +441,7 @@ var Ie = /* @__PURE__ */ e({ default: () => w }), Le = ["id"], Re = ["id"], ze =
433
441
  headerColor: P.value.table.th.color,
434
442
  headerBg: P.value.table.th.backgroundColor,
435
443
  isFullscreen: Y.value,
436
- fullscreenParent: D.value,
444
+ fullscreenParent: E.value,
437
445
  forcedWidth: Math.min(800, window.innerWidth * .8),
438
446
  isCursorPointer: F.value
439
447
  } : {
@@ -453,52 +461,52 @@ var Ie = /* @__PURE__ */ e({ default: () => w }), Le = ["id"], Re = ["id"], ze =
453
461
  }
454
462
  };
455
463
  });
456
- Fe(() => R.value.showTable, (e) => {
457
- P.value.table.show || (e && P.value.table.useDialog && j.value ? j.value.open() : "close" in j.value && j.value.close());
464
+ Re(() => R.value.showTable, (e) => {
465
+ P.value.table.show || (e && P.value.table.useDialog && A.value ? A.value.open() : "close" in A.value && A.value.close());
458
466
  });
459
- function pn() {
460
- R.value.showTable = !1, Ft.value && Ft.value.setTableIconState(!1);
467
+ function hn() {
468
+ R.value.showTable = !1, Rt.value && Rt.value.setTableIconState(!1);
461
469
  }
462
- let mn = c(() => rn.value.map((e) => ({
470
+ let gn = s(() => on.value.map((e) => ({
463
471
  ...e,
464
472
  name: e.display,
465
473
  shape: "circle"
466
- }))), hn = c(() => P.value.style.chart.backgroundColor), gn = c(() => P.value.style.chart.legend), { exportSvg: _n, getSvg: vn } = ue({
474
+ }))), _n = s(() => P.value.style.chart.backgroundColor), vn = s(() => P.value.style.chart.legend), { exportSvg: yn, getSvg: bn } = pe({
467
475
  svg: L,
468
- title: c(() => P.value.style.chart.title),
469
- legend: gn,
470
- legendItems: mn,
471
- backgroundColor: hn
476
+ title: s(() => P.value.style.chart.title),
477
+ legend: vn,
478
+ legendItems: gn,
479
+ backgroundColor: _n
472
480
  });
473
- async function yn({ isCb: e }) {
474
- It.value = !0, await ke();
481
+ async function xn({ isCb: e }) {
482
+ M.value = !0, await Me();
475
483
  try {
476
484
  if (e) {
477
- let { blob: e, url: t, text: n, dataUrl: r } = await vn();
485
+ let { blob: e, url: t, text: n, dataUrl: r } = await bn();
478
486
  await Promise.resolve(P.value.userOptions.callbacks.svg({
479
487
  blob: e,
480
488
  url: t,
481
489
  text: n,
482
490
  dataUrl: r
483
491
  }));
484
- } else await Promise.resolve(_n());
492
+ } else await Promise.resolve(yn());
485
493
  } finally {
486
- It.value = !1;
494
+ M.value = !1;
487
495
  }
488
496
  }
489
- function bn(e) {
497
+ function Sn(e) {
490
498
  if (e?.stage === "start") {
491
- M.value = !0;
499
+ j.value = !0;
492
500
  return;
493
501
  }
494
502
  if (e?.stage === "end") {
495
- M.value = !1;
503
+ j.value = !1;
496
504
  return;
497
505
  }
498
- Xt();
506
+ Qt();
499
507
  }
500
- async function xn() {
501
- if (Et("copyAlt", {
508
+ async function Cn() {
509
+ if (kt("copyAlt", {
502
510
  config: P.value,
503
511
  dataset: H.value
504
512
  }), !P.value.userOptions.callbacks.altCopy) {
@@ -510,18 +518,18 @@ var Ie = /* @__PURE__ */ e({ default: () => w }), Le = ["id"], Re = ["id"], ze =
510
518
  dataset: H.value
511
519
  }));
512
520
  }
513
- let Q = c(() => H.value.map((e) => String(e.key)));
514
- function Sn() {
515
- Wt(!0);
521
+ let Q = s(() => H.value.map((e) => String(e.key)));
522
+ function wn() {
523
+ Kt(!0);
516
524
  }
517
- function Cn() {
518
- Wt(!1);
525
+ function Tn() {
526
+ Kt(!1);
519
527
  }
520
- function wn(e) {
528
+ function En(e) {
521
529
  return H.value.find((t) => String(t.key) === String(e));
522
530
  }
523
- function Tn(e, t, n) {
524
- return te(P.value.style.chart.layout.dataLabel.formatter, e, o({
531
+ function Dn(e, t, n) {
532
+ return ne(P.value.style.chart.layout.dataLabel.formatter, e, o({
525
533
  p: P.value.style.chart.layout.dataLabel.prefix,
526
534
  v: e,
527
535
  s: P.value.style.chart.layout.dataLabel.suffix,
@@ -531,7 +539,7 @@ var Ie = /* @__PURE__ */ e({ default: () => w }), Le = ["id"], Re = ["id"], ze =
531
539
  seriesIndex: t
532
540
  });
533
541
  }
534
- function En(e) {
542
+ function On(e) {
535
543
  return o({
536
544
  v: V.value ? e / V.value * 100 : 0,
537
545
  s: "%",
@@ -539,25 +547,25 @@ var Ie = /* @__PURE__ */ e({ default: () => w }), Le = ["id"], Re = ["id"], ze =
539
547
  });
540
548
  }
541
549
  function $(e) {
542
- let t = wn(e);
543
- return t ? `${e}, ${Tn(t.value, t.index, t)}, ${En(t.value)}` : `${e}`;
550
+ let t = En(e);
551
+ return t ? `${e}, ${Dn(t.value, t.index, t)}, ${On(t.value)}` : `${e}`;
544
552
  }
545
- function Dn(e) {
553
+ function kn(e) {
546
554
  let t = Q.value[e];
547
- t && (N.value = e, O.value = t);
555
+ t && (N.value = e, D.value = t);
548
556
  }
549
- function On() {
550
- Lt.value = !0;
557
+ function An() {
558
+ zt.value = !0;
551
559
  }
552
- function kn() {
553
- N.value = null, O.value = null, Lt.value = !1;
560
+ function jn() {
561
+ N.value = null, D.value = null, zt.value = !1;
554
562
  }
555
- function An(e) {
563
+ function Mn(e) {
556
564
  if (!L.value || !Q.value.length || X.value || document.activeElement !== L.value) return;
557
565
  let t = ["ArrowLeft", "ArrowUp"].includes(e.key), n = ["ArrowRight", "ArrowDown"].includes(e.key), r = e.key === "Enter" || e.key === " ", i = e.key === "Escape";
558
566
  if (!t && !n && !r && !i) return;
559
567
  if (e.preventDefault(), e.stopPropagation(), i) {
560
- N.value = null, O.value = null;
568
+ N.value = null, D.value = null;
561
569
  return;
562
570
  }
563
571
  if (r) {
@@ -568,55 +576,55 @@ var Ie = /* @__PURE__ */ e({ default: () => w }), Le = ["id"], Re = ["id"], ze =
568
576
  return;
569
577
  }
570
578
  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)), Dn(a);
579
+ 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
580
  }
573
- function jn(e, t) {
581
+ function Nn(e, t) {
574
582
  let n = e.key === "Enter" || e.key === " ", r = e.key === "Escape";
575
583
  if (!(!n && !r)) {
576
584
  if (e.preventDefault(), e.stopPropagation(), r) {
577
- N.value = null, O.value = null;
585
+ N.value = null, D.value = null;
578
586
  return;
579
587
  }
580
588
  U(String(t));
581
589
  }
582
590
  }
583
- let Mn = c(() => ({
591
+ let Pn = s(() => ({
584
592
  headers: J.value?.colNames ?? [],
585
593
  rows: H.value.map((e) => [
586
594
  String(e.key),
587
- Tn(e.value, e.index, e),
588
- En(e.value)
595
+ Dn(e.value, e.index, e),
596
+ On(e.value)
589
597
  ])
590
598
  }));
591
- return he({
592
- getData: cn,
593
- getImage: fn,
594
- generatePdf: Yt,
595
- generateCsv: sn,
596
- generateImage: Xt,
597
- generateSvg: yn,
598
- toggleTable: ln,
599
- toggleAnnotator: dn,
600
- toggleFullscreen: un,
601
- copyAlt: xn
602
- }), (e, t) => (v(), d("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"}`),
599
+ return ve({
600
+ getData: un,
601
+ getImage: mn,
602
+ generatePdf: Zt,
603
+ generateCsv: ln,
604
+ generateImage: Qt,
605
+ generateSvg: xn,
606
+ toggleTable: dn,
607
+ toggleAnnotator: pn,
608
+ toggleFullscreen: fn,
609
+ copyAlt: Cn
610
+ }), (e, t) => (_(), u("div", {
611
+ class: Ne(`vue-data-ui-component vue-ui-mood-radar ${Y.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${P.value.useCssAnimation ? "" : "vue-ui-dna"}`),
604
612
  ref_key: "moodRadarChart",
605
- ref: D,
606
- id: `${E.value}`,
607
- style: _(`font-family:${P.value.style.fontFamily};width:100%; text-align:center;background:${P.value.style.chart.backgroundColor}`),
608
- onMouseenter: Sn,
609
- onMouseleave: Cn
613
+ ref: E,
614
+ id: `${T.value}`,
615
+ style: g(`font-family:${P.value.style.fontFamily};width:100%; text-align:center;background:${P.value.style.chart.backgroundColor}`),
616
+ onMouseenter: wn,
617
+ onMouseleave: Tn
610
618
  }, [
611
- f("div", {
612
- id: `chart-instructions-${E.value}`,
619
+ d("div", {
620
+ id: `chart-instructions-${T.value}`,
613
621
  class: "sr-only"
614
- }, [f("p", null, x(P.value.a11y.translations.keyboardNavigation), 1)], 8, Re),
615
- Mn.value?.rows?.length ? (v(), l(ye, {
622
+ }, [d("p", null, b(P.value.a11y.translations.keyboardNavigation), 1)], 8, Ve),
623
+ Pn.value?.rows?.length ? (_(), c(Se, {
616
624
  key: 0,
617
- uid: E.value,
618
- head: Mn.value.headers,
619
- body: Mn.value.rows,
625
+ uid: T.value,
626
+ head: Pn.value.headers,
627
+ body: Pn.value.rows,
620
628
  notice: P.value.a11y.translations.tableAvailable,
621
629
  caption: P.value.a11y.translations.tableCaption
622
630
  }, null, 8, [
@@ -625,22 +633,22 @@ var Ie = /* @__PURE__ */ e({ default: () => w }), Le = ["id"], Re = ["id"], ze =
625
633
  "body",
626
634
  "notice",
627
635
  "caption"
628
- ])) : u("", !0),
629
- P.value.userOptions.buttons.annotator ? (v(), l(S(yt), {
636
+ ])) : l("", !0),
637
+ P.value.userOptions.buttons.annotator ? (_(), c(x(St), {
630
638
  key: 1,
631
- svgRef: S(L),
639
+ svgRef: x(L),
632
640
  backgroundColor: P.value.style.chart.backgroundColor,
633
641
  color: P.value.style.chart.color,
634
642
  active: X.value,
635
643
  isCursorPointer: F.value,
636
- onClose: dn
644
+ onClose: pn
637
645
  }, {
638
- "annotator-action-close": C(() => [b(e.$slots, "annotator-action-close", {}, void 0, !0)]),
639
- "annotator-action-color": C(({ color: t }) => [b(e.$slots, "annotator-action-color", g(h({ color: t })), void 0, !0)]),
640
- "annotator-action-draw": C(({ mode: t }) => [b(e.$slots, "annotator-action-draw", g(h({ mode: t })), void 0, !0)]),
641
- "annotator-action-undo": C(({ disabled: t }) => [b(e.$slots, "annotator-action-undo", g(h({ disabled: t })), void 0, !0)]),
642
- "annotator-action-redo": C(({ disabled: t }) => [b(e.$slots, "annotator-action-redo", g(h({ disabled: t })), void 0, !0)]),
643
- "annotator-action-delete": C(({ disabled: t }) => [b(e.$slots, "annotator-action-delete", g(h({ disabled: t })), void 0, !0)]),
646
+ "annotator-action-close": S(() => [y(e.$slots, "annotator-action-close", {}, void 0, !0)]),
647
+ "annotator-action-color": S(({ color: t }) => [y(e.$slots, "annotator-action-color", h(m({ color: t })), void 0, !0)]),
648
+ "annotator-action-draw": S(({ mode: t }) => [y(e.$slots, "annotator-action-draw", h(m({ mode: t })), void 0, !0)]),
649
+ "annotator-action-undo": S(({ disabled: t }) => [y(e.$slots, "annotator-action-undo", h(m({ disabled: t })), void 0, !0)]),
650
+ "annotator-action-redo": S(({ disabled: t }) => [y(e.$slots, "annotator-action-redo", h(m({ disabled: t })), void 0, !0)]),
651
+ "annotator-action-delete": S(({ disabled: t }) => [y(e.$slots, "annotator-action-delete", h(m({ disabled: t })), void 0, !0)]),
644
652
  _: 3
645
653
  }, 8, [
646
654
  "svgRef",
@@ -648,20 +656,20 @@ var Ie = /* @__PURE__ */ e({ default: () => w }), Le = ["id"], Re = ["id"], ze =
648
656
  "color",
649
657
  "active",
650
658
  "isCursorPointer"
651
- ])) : u("", !0),
652
- Zt.value ? (v(), d("div", {
659
+ ])) : l("", !0),
660
+ $t.value ? (_(), u("div", {
653
661
  key: 2,
654
662
  ref_key: "noTitle",
655
- ref: Dt,
663
+ ref: At,
656
664
  class: "vue-data-ui-no-title-space",
657
665
  style: "height:36px; width: 100%;background:transparent"
658
- }, null, 512)) : u("", !0),
659
- P.value.style.chart.title.text ? (v(), d("div", {
666
+ }, null, 512)) : l("", !0),
667
+ P.value.style.chart.title.text ? (_(), u("div", {
660
668
  key: 3,
661
669
  ref_key: "chartTitle",
662
- ref: jt,
670
+ ref: Pt,
663
671
  style: "width:100%;background:transparent"
664
- }, [p(me, { config: {
672
+ }, [f(_e, { config: {
665
673
  title: {
666
674
  cy: "mood-radar-title",
667
675
  ...P.value.style.chart.title
@@ -670,17 +678,17 @@ var Ie = /* @__PURE__ */ e({ default: () => w }), Le = ["id"], Re = ["id"], ze =
670
678
  cy: "mood-radar-subtitle",
671
679
  ...P.value.style.chart.title.subtitle
672
680
  }
673
- } }, null, 8, ["config"])], 512)) : u("", !0),
674
- f("div", { id: `legend-top-${E.value}` }, null, 8, ze),
675
- P.value.userOptions.show && Rt.value && (S(Gt) || S(Ut)) ? (v(), l(S(bt), {
681
+ } }, null, 8, ["config"])], 512)) : l("", !0),
682
+ d("div", { id: `legend-top-${T.value}` }, null, 8, He),
683
+ P.value.userOptions.show && Bt.value && (x(qt) || x(Gt)) ? (_(), c(x(Ct), {
676
684
  key: 4,
677
685
  ref_key: "userOptionsRef",
678
- ref: Ft,
686
+ ref: Rt,
679
687
  backgroundColor: P.value.style.chart.backgroundColor,
680
688
  color: P.value.style.chart.color,
681
- isPrinting: S(qt),
682
- isImaging: S(Jt),
683
- uid: E.value,
689
+ isPrinting: x(Yt),
690
+ isImaging: x(Xt),
691
+ uid: T.value,
684
692
  hasPdf: P.value.userOptions.buttons.pdf,
685
693
  hasXls: P.value.userOptions.buttons.csv,
686
694
  hasImg: P.value.userOptions.buttons.img,
@@ -690,7 +698,7 @@ var Ie = /* @__PURE__ */ e({ default: () => w }), Le = ["id"], Re = ["id"], ze =
690
698
  hasAltCopy: P.value.userOptions.buttons.altCopy,
691
699
  isFullscreen: Y.value,
692
700
  titles: { ...P.value.userOptions.buttonTitles },
693
- chartElement: D.value,
701
+ chartElement: E.value,
694
702
  position: P.value.userOptions.position,
695
703
  hasAnnotator: P.value.userOptions.buttons.annotator,
696
704
  isAnnotation: X.value,
@@ -698,19 +706,19 @@ var Ie = /* @__PURE__ */ e({ default: () => w }), Le = ["id"], Re = ["id"], ze =
698
706
  printScale: P.value.userOptions.print.scale,
699
707
  tableDialog: P.value.table.useDialog,
700
708
  isCursorPointer: F.value,
701
- onToggleFullscreen: un,
702
- onGeneratePdf: S(Yt),
703
- onGenerateCsv: sn,
704
- onGenerateImage: bn,
705
- onGenerateSvg: yn,
706
- onToggleTable: ln,
707
- onToggleAnnotator: dn,
708
- onCopyAlt: xn,
709
- style: _({ visibility: S(Gt) ? S(Ut) ? "visible" : "hidden" : "visible" })
710
- }, Ee({ _: 2 }, [
709
+ onToggleFullscreen: fn,
710
+ onGeneratePdf: x(Zt),
711
+ onGenerateCsv: ln,
712
+ onGenerateImage: Sn,
713
+ onGenerateSvg: xn,
714
+ onToggleTable: dn,
715
+ onToggleAnnotator: pn,
716
+ onCopyAlt: Cn,
717
+ style: g({ visibility: x(qt) ? x(Gt) ? "visible" : "hidden" : "visible" })
718
+ }, ke({ _: 2 }, [
711
719
  e.$slots.menuIcon ? {
712
720
  name: "menuIcon",
713
- fn: C(({ isOpen: t, color: n }) => [b(e.$slots, "menuIcon", g(h({
721
+ fn: S(({ isOpen: t, color: n }) => [y(e.$slots, "menuIcon", h(m({
714
722
  isOpen: t,
715
723
  color: n
716
724
  })), void 0, !0)]),
@@ -718,32 +726,32 @@ var Ie = /* @__PURE__ */ e({ default: () => w }), Le = ["id"], Re = ["id"], ze =
718
726
  } : void 0,
719
727
  e.$slots.optionPdf ? {
720
728
  name: "optionPdf",
721
- fn: C(() => [b(e.$slots, "optionPdf", {}, void 0, !0)]),
729
+ fn: S(() => [y(e.$slots, "optionPdf", {}, void 0, !0)]),
722
730
  key: "1"
723
731
  } : void 0,
724
732
  e.$slots.optionCsv ? {
725
733
  name: "optionCsv",
726
- fn: C(() => [b(e.$slots, "optionCsv", {}, void 0, !0)]),
734
+ fn: S(() => [y(e.$slots, "optionCsv", {}, void 0, !0)]),
727
735
  key: "2"
728
736
  } : void 0,
729
737
  e.$slots.optionImg ? {
730
738
  name: "optionImg",
731
- fn: C(() => [b(e.$slots, "optionImg", {}, void 0, !0)]),
739
+ fn: S(() => [y(e.$slots, "optionImg", {}, void 0, !0)]),
732
740
  key: "3"
733
741
  } : void 0,
734
742
  e.$slots.optionSvg ? {
735
743
  name: "optionSvg",
736
- fn: C(() => [b(e.$slots, "optionSvg", {}, void 0, !0)]),
744
+ fn: S(() => [y(e.$slots, "optionSvg", {}, void 0, !0)]),
737
745
  key: "4"
738
746
  } : void 0,
739
747
  e.$slots.optionTable ? {
740
748
  name: "optionTable",
741
- fn: C(() => [b(e.$slots, "optionTable", {}, void 0, !0)]),
749
+ fn: S(() => [y(e.$slots, "optionTable", {}, void 0, !0)]),
742
750
  key: "5"
743
751
  } : void 0,
744
752
  e.$slots.optionFullscreen ? {
745
753
  name: "optionFullscreen",
746
- fn: C(({ toggleFullscreen: t, isFullscreen: n }) => [b(e.$slots, "optionFullscreen", g(h({
754
+ fn: S(({ toggleFullscreen: t, isFullscreen: n }) => [y(e.$slots, "optionFullscreen", h(m({
747
755
  toggleFullscreen: t,
748
756
  isFullscreen: n
749
757
  })), void 0, !0)]),
@@ -751,7 +759,7 @@ var Ie = /* @__PURE__ */ e({ default: () => w }), Le = ["id"], Re = ["id"], ze =
751
759
  } : void 0,
752
760
  e.$slots.optionAnnotator ? {
753
761
  name: "optionAnnotator",
754
- fn: C(({ toggleAnnotator: t, isAnnotator: n }) => [b(e.$slots, "optionAnnotator", g(h({
762
+ fn: S(({ toggleAnnotator: t, isAnnotator: n }) => [y(e.$slots, "optionAnnotator", h(m({
755
763
  toggleAnnotator: t,
756
764
  isAnnotator: n
757
765
  })), void 0, !0)]),
@@ -759,17 +767,17 @@ var Ie = /* @__PURE__ */ e({ default: () => w }), Le = ["id"], Re = ["id"], ze =
759
767
  } : void 0,
760
768
  e.$slots.optionAltCopy ? {
761
769
  name: "optionAltCopy",
762
- fn: C(({ altCopy: t }) => [b(e.$slots, "optionAltCopy", g(h({ altCopy: t })), void 0, !0)]),
770
+ fn: S(({ altCopy: t }) => [y(e.$slots, "optionAltCopy", h(m({ altCopy: t })), void 0, !0)]),
763
771
  key: "8"
764
772
  } : void 0,
765
773
  e.$slots["custom-menu-before"] ? {
766
774
  name: "custom-menu-before",
767
- fn: C(() => [b(e.$slots, "custom-menu-before", {}, void 0, !0)]),
775
+ fn: S(() => [y(e.$slots, "custom-menu-before", {}, void 0, !0)]),
768
776
  key: "9"
769
777
  } : void 0,
770
778
  e.$slots["custom-menu-after"] ? {
771
779
  name: "custom-menu-after",
772
- fn: C(() => [b(e.$slots, "custom-menu-after", {}, void 0, !0)]),
780
+ fn: S(() => [y(e.$slots, "custom-menu-after", {}, void 0, !0)]),
773
781
  key: "10"
774
782
  } : void 0
775
783
  ]), 1032, [
@@ -797,195 +805,195 @@ var Ie = /* @__PURE__ */ e({ default: () => w }), Le = ["id"], Re = ["id"], ze =
797
805
  "isCursorPointer",
798
806
  "onGeneratePdf",
799
807
  "style"
800
- ])) : u("", !0),
801
- f("div", Be, [(v(), d("svg", {
808
+ ])) : l("", !0),
809
+ d("div", Ue, [(_(), u("svg", {
802
810
  ref_key: "svgRef",
803
811
  ref: L,
804
- xmlns: S(ae),
805
- "aria-describedby": `chart-instructions-${E.value}`,
812
+ xmlns: x(ae),
813
+ "aria-describedby": `chart-instructions-${T.value}`,
806
814
  viewBox: `0 0 ${z.value.width} ${z.value.height}`,
807
- class: Ae({
815
+ class: Ne({
808
816
  "vue-data-ui-fullscreen--on": Y.value,
809
817
  "vue-data-ui-fulscreen--off": !Y.value
810
818
  }),
811
- style: _(`overflow:visible;background:transparent;color:${P.value.style.chart.color}`),
819
+ style: g(`overflow:visible;background:transparent;color:${P.value.style.chart.color}`),
812
820
  tabindex: "0",
813
- onFocus: On,
814
- onBlur: kn,
815
- onKeydown: An
821
+ onFocus: An,
822
+ onBlur: jn,
823
+ onKeydown: Mn
816
824
  }, [
817
- p(S(xt)),
818
- e.$slots["chart-background"] ? (v(), d("foreignObject", {
825
+ f(x(wt)),
826
+ e.$slots["chart-background"] ? (_(), u("foreignObject", {
819
827
  key: 0,
820
828
  x: 0,
821
829
  y: 0,
822
830
  width: z.value.width,
823
831
  height: z.value.height,
824
832
  style: { pointerEvents: "none" }
825
- }, [b(e.$slots, "chart-background", {}, void 0, !0)], 8, He)) : u("", !0),
826
- f("defs", null, [p(ve, {
833
+ }, [y(e.$slots, "chart-background", {}, void 0, !0)], 8, Ge)) : l("", !0),
834
+ d("defs", null, [f(xe, {
827
835
  t: "radial",
828
836
  cx: "50%",
829
837
  cy: "50%",
830
838
  r: "50%",
831
839
  fx: "50%",
832
840
  fy: "50%",
833
- id: `mood_radar_gradient_${E.value}`,
841
+ id: `mood_radar_gradient_${T.value}`,
834
842
  stops: [[
835
843
  "0%",
836
- S(s)(P.value.style.chart.layout.dataPolygon.color, P.value.style.chart.layout.dataPolygon.opacity),
844
+ x(r)(P.value.style.chart.layout.dataPolygon.color, P.value.style.chart.layout.dataPolygon.opacity),
837
845
  1
838
846
  ], [
839
847
  "100%",
840
- S(s)(S(n)(P.value.style.chart.layout.dataPolygon.color, P.value.style.chart.layout.dataPolygon.gradient.intensity / 100), P.value.style.chart.layout.dataPolygon.opacity),
848
+ x(r)(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),
841
849
  1
842
850
  ]]
843
851
  }, null, 8, ["id", "stops"])]),
844
- (v(!0), d(we, null, Me(en.value.coordinates, (e) => (v(), d("line", {
852
+ (_(!0), u(De, null, Fe(nn.value.coordinates, (e) => (_(), u("line", {
845
853
  x1: z.value.width / 2,
846
854
  y1: z.value.height / 2,
847
855
  x2: e.x,
848
856
  y2: e.y,
849
857
  stroke: P.value.style.chart.layout.grid.stroke,
850
858
  "stroke-width": P.value.style.chart.layout.grid.strokeWidth
851
- }, null, 8, Ue))), 256)),
852
- f("path", {
853
- d: en.value.path,
859
+ }, null, 8, Ke))), 256)),
860
+ d("path", {
861
+ d: nn.value.path,
854
862
  fill: "none",
855
863
  stroke: P.value.style.chart.layout.outerPolygon.stroke,
856
864
  "stroke-width": P.value.style.chart.layout.outerPolygon.strokeWidth,
857
865
  "stroke-linejoin": "round",
858
866
  "stroke-linecap": "round"
859
- }, null, 8, We),
860
- f("g", { transform: B("5") }, [f("path", {
867
+ }, null, 8, qe),
868
+ d("g", { transform: B("5") }, [d("path", {
861
869
  fill: "none",
862
870
  stroke: P.value.style.chart.layout.smileys.colors[5],
863
871
  "stroke-width": "1",
864
872
  "stroke-linecap": "round",
865
873
  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"
866
- }, null, 8, Ke), f("circle", {
874
+ }, null, 8, Ye), d("circle", {
867
875
  role: "button",
868
876
  class: "vue-ui-mood-radar-trap",
869
877
  cx: "128",
870
878
  cy: "25",
871
879
  r: "20",
872
880
  "aria-label": $("5"),
873
- fill: O.value === "5" ? S(s)(P.value.style.chart.layout.smileys.colors[5], 20) : "transparent",
881
+ fill: D.value === "5" ? x(r)(P.value.style.chart.layout.smileys.colors[5], 20) : "transparent",
874
882
  onMouseenter: t[0] ||= (e) => W("5"),
875
883
  onMouseleave: t[1] ||= (e) => G("5"),
876
884
  onClick: t[2] ||= (e) => K("5")
877
- }, null, 40, qe)], 8, Ge),
878
- f("g", { transform: B("4") }, [f("path", {
885
+ }, null, 40, Xe)], 8, Je),
886
+ d("g", { transform: B("4") }, [d("path", {
879
887
  fill: "none",
880
888
  stroke: P.value.style.chart.layout.smileys.colors[4],
881
889
  "stroke-width": "1",
882
890
  "stroke-linecap": "round",
883
891
  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"
884
- }, null, 8, Ye), f("circle", {
892
+ }, null, 8, Qe), d("circle", {
885
893
  class: "vue-ui-mood-radar-trap",
886
894
  cx: "227",
887
895
  cy: "95.5",
888
896
  r: "20",
889
897
  "aria-label": $("4"),
890
- fill: O.value === "4" ? S(s)(P.value.style.chart.layout.smileys.colors[4], 20) : "transparent",
898
+ fill: D.value === "4" ? x(r)(P.value.style.chart.layout.smileys.colors[4], 20) : "transparent",
891
899
  onMouseenter: t[3] ||= (e) => W("4"),
892
900
  onMouseleave: t[4] ||= (e) => G("4"),
893
901
  onClick: t[5] ||= (e) => K("4")
894
- }, null, 40, Xe)], 8, Je),
895
- f("g", { transform: B("3") }, [f("path", {
902
+ }, null, 40, $e)], 8, Ze),
903
+ d("g", { transform: B("3") }, [d("path", {
896
904
  fill: "none",
897
905
  stroke: P.value.style.chart.layout.smileys.colors[3],
898
906
  "stroke-width": "1",
899
907
  "stroke-linecap": "round",
900
908
  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"
901
- }, null, 8, Qe), f("circle", {
909
+ }, null, 8, tt), d("circle", {
902
910
  class: "vue-ui-mood-radar-trap",
903
911
  cx: "190",
904
912
  cy: "213.5",
905
913
  r: "20",
906
914
  "aria-label": $("3"),
907
- fill: O.value === "3" ? S(s)(P.value.style.chart.layout.smileys.colors[3], 20) : "transparent",
915
+ fill: D.value === "3" ? x(r)(P.value.style.chart.layout.smileys.colors[3], 20) : "transparent",
908
916
  onMouseenter: t[6] ||= (e) => W("3"),
909
917
  onMouseleave: t[7] ||= (e) => G("3"),
910
918
  onClick: t[8] ||= (e) => K("3")
911
- }, null, 40, $e)], 8, Ze),
912
- f("g", { transform: B("2") }, [f("path", {
919
+ }, null, 40, nt)], 8, et),
920
+ d("g", { transform: B("2") }, [d("path", {
913
921
  fill: "none",
914
922
  stroke: P.value.style.chart.layout.smileys.colors[2],
915
923
  "stroke-width": "1",
916
924
  "stroke-linecap": "round",
917
925
  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"
918
- }, null, 8, tt), f("circle", {
926
+ }, null, 8, it), d("circle", {
919
927
  class: "vue-ui-mood-radar-trap",
920
928
  cx: "65",
921
929
  cy: "213.5",
922
930
  r: "20",
923
931
  "aria-label": $("2"),
924
- fill: O.value === "2" ? S(s)(P.value.style.chart.layout.smileys.colors[2], 20) : "transparent",
932
+ fill: D.value === "2" ? x(r)(P.value.style.chart.layout.smileys.colors[2], 20) : "transparent",
925
933
  onMouseenter: t[9] ||= (e) => W("2"),
926
934
  onMouseleave: t[10] ||= (e) => G("2"),
927
935
  onClick: t[11] ||= (e) => K("2")
928
- }, null, 40, nt)], 8, et),
929
- f("g", { transform: B("1") }, [f("path", {
936
+ }, null, 40, at)], 8, rt),
937
+ d("g", { transform: B("1") }, [d("path", {
930
938
  fill: "none",
931
939
  stroke: P.value.style.chart.layout.smileys.colors[1],
932
940
  "stroke-width": "1",
933
941
  "stroke-linecap": "round",
934
942
  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"
935
- }, null, 8, it), f("circle", {
943
+ }, null, 8, st), d("circle", {
936
944
  class: "vue-ui-mood-radar-trap",
937
945
  cx: "29",
938
946
  cy: "95.5",
939
947
  r: "20",
940
948
  "aria-label": $("1"),
941
- fill: O.value === "1" ? S(s)(P.value.style.chart.layout.smileys.colors[1], 20) : "transparent",
949
+ fill: D.value === "1" ? x(r)(P.value.style.chart.layout.smileys.colors[1], 20) : "transparent",
942
950
  onMouseenter: t[12] ||= (e) => W("1"),
943
951
  onMouseleave: t[13] ||= (e) => G("1"),
944
952
  onClick: t[14] ||= (e) => K("1")
945
- }, null, 40, at)], 8, rt),
946
- f("path", {
947
- d: S(re)(an.value.map((e) => e.plots)),
953
+ }, null, 40, ct)], 8, ot),
954
+ d("path", {
955
+ d: x(n)(sn.value.map((e) => e.plots)),
948
956
  stroke: P.value.style.chart.layout.dataPolygon.stroke,
949
957
  "stroke-width": P.value.style.chart.layout.dataPolygon.strokeWidth,
950
958
  "stroke-linecap": "round",
951
959
  "stroke-linejoin": "round",
952
- fill: P.value.style.chart.layout.dataPolygon.gradient.show ? `url(#mood_radar_gradient_${E.value})` : S(s)(P.value.style.chart.layout.dataPolygon.color, P.value.style.chart.layout.dataPolygon.opacity)
953
- }, null, 8, ot),
954
- (v(!0), d(we, null, Me(an.value.map((e) => e.plots), (e, t) => (v(), d("g", {
960
+ fill: P.value.style.chart.layout.dataPolygon.gradient.show ? `url(#mood_radar_gradient_${T.value})` : x(r)(P.value.style.chart.layout.dataPolygon.color, P.value.style.chart.layout.dataPolygon.opacity)
961
+ }, null, 8, lt),
962
+ (_(!0), u(De, null, Fe(sn.value.map((e) => e.plots), (e, t) => (_(), u("g", {
955
963
  class: "vue-ui-mood-radar-trap",
956
- style: _(`opacity:${O.value == e.key ? "1" : "0"}`)
964
+ style: g(`opacity:${D.value == e.key ? "1" : "0"}`)
957
965
  }, [
958
- f("line", {
966
+ d("line", {
959
967
  x1: e.x,
960
968
  y1: e.y,
961
969
  x2: z.value.width / 2,
962
970
  y2: z.value.height / 2,
963
971
  stroke: P.value.style.chart.layout.smileys.colors[e.key]
964
- }, null, 8, st),
965
- f("circle", {
972
+ }, null, 8, ut),
973
+ d("circle", {
966
974
  cx: e.x,
967
975
  cy: e.y,
968
976
  fill: P.value.style.chart.layout.smileys.colors[e.key],
969
977
  r: "3",
970
978
  stroke: P.value.style.chart.backgroundColor,
971
979
  "stroke-width": .5
972
- }, null, 8, ct),
973
- f("circle", {
980
+ }, null, 8, dt),
981
+ d("circle", {
974
982
  cx: z.value.width / 2,
975
983
  cy: z.value.height / 2,
976
984
  fill: P.value.style.chart.layout.smileys.colors[e.key],
977
985
  r: "3",
978
986
  stroke: P.value.style.chart.backgroundColor,
979
987
  "stroke-width": .5
980
- }, null, 8, lt),
981
- f("text", {
988
+ }, null, 8, ft),
989
+ d("text", {
982
990
  x: z.value.width / 2,
983
991
  y: ["5", 5].includes(e.key) ? z.value.height / 2 * 1.13 : z.value.height / 2 * .9375,
984
992
  fill: P.value.style.chart.layout.dataLabel.color,
985
993
  "font-size": "12",
986
994
  "text-anchor": "middle",
987
995
  "font-weight": P.value.style.chart.layout.dataLabel.bold ? "bold" : "normal"
988
- }, x(S(te)(P.value.style.chart.layout.dataLabel.formatter, e.value, S(o)({
996
+ }, b(x(ne)(P.value.style.chart.layout.dataLabel.formatter, e.value, x(o)({
989
997
  p: P.value.style.chart.layout.dataLabel.prefix,
990
998
  v: e.value,
991
999
  s: P.value.style.chart.layout.dataLabel.suffix,
@@ -993,40 +1001,40 @@ var Ie = /* @__PURE__ */ e({ default: () => w }), Le = ["id"], Re = ["id"], ze =
993
1001
  }), {
994
1002
  datapoint: e,
995
1003
  seriesIndex: t
996
- })), 9, ut),
997
- f("text", {
1004
+ })), 9, pt),
1005
+ d("text", {
998
1006
  x: z.value.width / 2,
999
1007
  y: ["5", 5].includes(e.key) ? z.value.height / 2 * 1.273 : z.value.height / 2 * .7968,
1000
1008
  fill: P.value.style.chart.layout.dataLabel.color,
1001
1009
  "font-size": "12",
1002
1010
  "text-anchor": "middle"
1003
- }, " (" + x(S(o)({
1011
+ }, " (" + b(x(o)({
1004
1012
  v: e.value / V.value * 100,
1005
1013
  s: "%",
1006
1014
  r: P.value.style.chart.layout.dataLabel.roundingPercentage
1007
- })) + ") ", 9, dt)
1015
+ })) + ") ", 9, mt)
1008
1016
  ], 4))), 256)),
1009
- b(e.$slots, "svg", { svg: {
1017
+ y(e.$slots, "svg", { svg: {
1010
1018
  ...z.value,
1011
- isPrintingImg: S(qt) || S(Jt) || M.value,
1012
- isPrintingSvg: It.value
1019
+ isPrintingImg: x(Yt) || x(Xt) || j.value,
1020
+ isPrintingSvg: M.value
1013
1021
  } }, void 0, !0)
1014
- ], 46, Ve)), e.$slots.hint ? (v(), d("div", ft, [b(e.$slots, "hint", g(h({
1022
+ ], 46, We)), e.$slots.hint ? (_(), u("div", ht, [y(e.$slots, "hint", h(m({
1015
1023
  hint: P.value.a11y.translations.keyboardNavigation,
1016
- isVisible: Lt.value
1017
- })), void 0, !0)])) : u("", !0)]),
1018
- e.$slots.watermark ? (v(), d("div", pt, [b(e.$slots, "watermark", g(h({ isPrinting: S(qt) || S(Jt) || M.value || It.value })), void 0, !0)])) : u("", !0),
1019
- f("div", { id: `legend-bottom-${E.value}` }, null, 8, mt),
1020
- Pt.value && (P.value.style.chart.legend.show || e.$slots.legend) ? (v(), l(Te, {
1024
+ isVisible: zt.value
1025
+ })), void 0, !0)])) : l("", !0)]),
1026
+ 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),
1027
+ d("div", { id: `legend-bottom-${T.value}` }, null, 8, _t),
1028
+ Lt.value && (P.value.style.chart.legend.show || e.$slots.legend) ? (_(), c(Oe, {
1021
1029
  key: 6,
1022
- to: P.value.style.chart.legend.position === "top" ? `#legend-top-${E.value}` : `#legend-bottom-${E.value}`
1023
- }, [f("div", {
1030
+ to: P.value.style.chart.legend.position === "top" ? `#legend-top-${T.value}` : `#legend-bottom-${T.value}`
1031
+ }, [d("div", {
1024
1032
  ref_key: "chartLegend",
1025
- ref: Mt
1026
- }, [b(e.$slots, "legend", { legend: H.value }, () => [P.value.style.chart.legend.show ? (v(), l(Se, {
1027
- legendSet: rn.value,
1028
- config: on.value,
1029
- key: `legend_${At.value}`,
1033
+ ref: Ft
1034
+ }, [y(e.$slots, "legend", { legend: H.value }, () => [P.value.style.chart.legend.show ? (_(), c(Te, {
1035
+ legendSet: on.value,
1036
+ config: cn.value,
1037
+ key: `legend_${Nt.value}`,
1030
1038
  isCursorPointer: F.value,
1031
1039
  style: {
1032
1040
  display: "flex",
@@ -1034,7 +1042,7 @@ var Ie = /* @__PURE__ */ e({ default: () => w }), Le = ["id"], Re = ["id"], ze =
1034
1042
  },
1035
1043
  onFocusMarker: t[15] ||= ({ legend: e }) => U(e.key)
1036
1044
  }, {
1037
- item: C(({ legend: e, index: t }) => [f("div", {
1045
+ item: S(({ legend: e, index: t }) => [d("div", {
1038
1046
  role: "button",
1039
1047
  onClick: () => U(e.key),
1040
1048
  style: {
@@ -1044,61 +1052,61 @@ var Ie = /* @__PURE__ */ e({ default: () => w }), Le = ["id"], Re = ["id"], ze =
1044
1052
  "align-items": "center",
1045
1053
  margin: "3px 0"
1046
1054
  },
1047
- onKeydown: (t) => jn(t, String(e.key))
1055
+ onKeydown: (t) => Nn(t, String(e.key))
1048
1056
  }, [
1049
- e.key == 1 ? (v(), l(S(w), {
1057
+ e.key == 1 ? (_(), c(x(C), {
1050
1058
  key: 0,
1051
1059
  strokeWidth: 1,
1052
1060
  name: "moodSad",
1053
1061
  stroke: P.value.style.chart.layout.smileys.colors[e.key]
1054
- }, null, 8, ["stroke"])) : u("", !0),
1055
- e.key == 2 ? (v(), l(S(w), {
1062
+ }, null, 8, ["stroke"])) : l("", !0),
1063
+ e.key == 2 ? (_(), c(x(C), {
1056
1064
  key: 1,
1057
1065
  strokeWidth: 1,
1058
1066
  name: "moodFlat",
1059
1067
  stroke: P.value.style.chart.layout.smileys.colors[e.key]
1060
- }, null, 8, ["stroke"])) : u("", !0),
1061
- e.key == 3 ? (v(), l(S(w), {
1068
+ }, null, 8, ["stroke"])) : l("", !0),
1069
+ e.key == 3 ? (_(), c(x(C), {
1062
1070
  key: 2,
1063
1071
  strokeWidth: 1,
1064
1072
  name: "moodNeutral",
1065
1073
  stroke: P.value.style.chart.layout.smileys.colors[e.key]
1066
- }, null, 8, ["stroke"])) : u("", !0),
1067
- e.key == 4 ? (v(), l(S(w), {
1074
+ }, null, 8, ["stroke"])) : l("", !0),
1075
+ e.key == 4 ? (_(), c(x(C), {
1068
1076
  key: 3,
1069
1077
  strokeWidth: 1,
1070
1078
  name: "smiley",
1071
1079
  stroke: P.value.style.chart.layout.smileys.colors[e.key]
1072
- }, null, 8, ["stroke"])) : u("", !0),
1073
- e.key == 5 ? (v(), l(S(w), {
1080
+ }, null, 8, ["stroke"])) : l("", !0),
1081
+ e.key == 5 ? (_(), c(x(C), {
1074
1082
  key: 4,
1075
1083
  strokeWidth: 1,
1076
1084
  name: "moodHappy",
1077
1085
  stroke: P.value.style.chart.layout.smileys.colors[e.key]
1078
- }, null, 8, ["stroke"])) : u("", !0),
1079
- S(Bt) ? u("", !0) : (v(), d("span", {
1086
+ }, null, 8, ["stroke"])) : l("", !0),
1087
+ x(Ht) ? l("", !0) : (_(), u("span", {
1080
1088
  key: 5,
1081
- style: _({ fontWeight: P.value.style.chart.legend.bold ? "bold" : "normal" })
1082
- }, x(e.display), 5))
1083
- ], 40, ht)]),
1089
+ style: g({ fontWeight: P.value.style.chart.legend.bold ? "bold" : "normal" })
1090
+ }, b(e.display), 5))
1091
+ ], 40, vt)]),
1084
1092
  _: 1
1085
1093
  }, 8, [
1086
1094
  "legendSet",
1087
1095
  "config",
1088
1096
  "isCursorPointer"
1089
- ])) : u("", !0)], !0)], 512)], 8, ["to"])) : u("", !0),
1090
- e.$slots.source ? (v(), d("div", {
1097
+ ])) : l("", !0)], !0)], 512)], 8, ["to"])) : l("", !0),
1098
+ e.$slots.source ? (_(), u("div", {
1091
1099
  key: 7,
1092
1100
  ref_key: "source",
1093
- ref: Nt,
1101
+ ref: It,
1094
1102
  dir: "auto"
1095
- }, [b(e.$slots, "source", {}, void 0, !0)], 512)) : u("", !0),
1096
- Rt.value && P.value.userOptions.buttons.table ? (v(), l(Ne(Z.value.component), Oe({ key: 8 }, Z.value.props, {
1103
+ }, [y(e.$slots, "source", {}, void 0, !0)], 512)) : l("", !0),
1104
+ Bt.value && P.value.userOptions.buttons.table ? (_(), c(Ie(Z.value.component), je({ key: 8 }, Z.value.props, {
1097
1105
  ref_key: "tableUnit",
1098
- ref: j,
1099
- onClose: pn
1100
- }), Ee({
1101
- content: C(() => [p(S(vt), {
1106
+ ref: A,
1107
+ onClose: hn
1108
+ }), ke({
1109
+ content: S(() => [f(x(xt), {
1102
1110
  colNames: J.value.colNames,
1103
1111
  head: J.value.head,
1104
1112
  body: J.value.body,
@@ -1106,16 +1114,16 @@ var Ie = /* @__PURE__ */ e({ default: () => w }), Le = ["id"], Re = ["id"], ze =
1106
1114
  title: P.value.table.useDialog ? "" : Z.value.title,
1107
1115
  withCloseButton: !P.value.table.useDialog,
1108
1116
  isCursorPointer: F.value,
1109
- onClose: pn
1117
+ onClose: hn
1110
1118
  }, {
1111
- th: C(({ th: e }) => [f("div", {
1119
+ th: S(({ th: e }) => [d("div", {
1112
1120
  innerHTML: e,
1113
1121
  style: {
1114
1122
  display: "flex",
1115
1123
  "align-items": "center"
1116
1124
  }
1117
- }, null, 8, gt)]),
1118
- td: C(({ td: e }) => [De(x(e.name || e), 1)]),
1125
+ }, null, 8, yt)]),
1126
+ td: S(({ td: e }) => [Ae(b(e.name || e), 1)]),
1119
1127
  _: 1
1120
1128
  }, 8, [
1121
1129
  "colNames",
@@ -1129,24 +1137,24 @@ var Ie = /* @__PURE__ */ e({ default: () => w }), Le = ["id"], Re = ["id"], ze =
1129
1137
  _: 2
1130
1138
  }, [P.value.table.useDialog ? {
1131
1139
  name: "title",
1132
- fn: C(() => [De(x(Z.value.title), 1)]),
1140
+ fn: S(() => [Ae(b(Z.value.title), 1)]),
1133
1141
  key: "0"
1134
1142
  } : void 0, P.value.table.useDialog ? {
1135
1143
  name: "actions",
1136
- fn: C(() => [f("button", {
1144
+ fn: S(() => [d("button", {
1137
1145
  tabindex: "0",
1138
1146
  class: "vue-ui-user-options-button",
1139
- onClick: t[16] ||= (e) => sn(P.value.userOptions.callbacks.csv),
1140
- style: _({ cursor: F.value ? "pointer" : "default" })
1141
- }, [p(S(w), {
1147
+ onClick: t[16] ||= (e) => ln(P.value.userOptions.callbacks.csv),
1148
+ style: g({ cursor: F.value ? "pointer" : "default" })
1149
+ }, [f(x(C), {
1142
1150
  name: "fileCsv",
1143
1151
  stroke: Z.value.props.color
1144
1152
  }, null, 8, ["stroke"])], 4)]),
1145
1153
  key: "1"
1146
- } : void 0]), 1040)) : u("", !0),
1147
- b(e.$slots, "skeleton", {}, () => [S(Bt) ? (v(), l(le, { key: 0 })) : u("", !0)], !0)
1148
- ], 46, Le));
1154
+ } : void 0]), 1040)) : l("", !0),
1155
+ y(e.$slots, "skeleton", {}, () => [x(Ht) ? (_(), c(fe, { key: 0 })) : l("", !0)], !0)
1156
+ ], 46, Be));
1149
1157
  }
1150
- }, [["__scopeId", "data-v-6e8506cb"]]);
1158
+ }, [["__scopeId", "data-v-3dfc2f00"]]);
1151
1159
  //#endregion
1152
- export { Ie as n, w as t };
1160
+ export { ze as n, C as t };