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