vue-data-ui 3.25.5 → 3.25.6

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 (210) hide show
  1. package/dist/{BaseDraggableDialog-BM_R41j8.js → BaseDraggableDialog-Gm4Q30j0.js} +1 -1
  2. package/dist/{BaseIcon-t83PDe9k.js → BaseIcon-D8R6_sKH.js} +5 -5
  3. package/dist/{BaseLegendToggle-__JnV08B.js → BaseLegendToggle-CXQrLjd-.js} +1 -1
  4. package/dist/{BaseZoomControls-Xo16vFa4.js → BaseZoomControls-BTzjVDPM.js} +1 -1
  5. package/dist/{ColorPicker-Bn3MY7eL.js → ColorPicker-CUy15T72.js} +1 -1
  6. package/dist/{DataTable-COIO9gi4.js → DataTable-oiM9uWrQ.js} +1 -1
  7. package/dist/{HillActions-Cl-dNBZR.js → HillActions-Dn8aKOVJ.js} +1 -1
  8. package/dist/{NonSvgPenAndPaper-KXRhcsxM.js → NonSvgPenAndPaper-DFXjpRyl.js} +2 -2
  9. package/dist/{PackageVersion-M2Ws-VwJ.js → PackageVersion-ur6jKRL5.js} +1 -1
  10. package/dist/{PenAndPaper-BgH3m_LP.js → PenAndPaper-KFzKlvbi.js} +2 -2
  11. package/dist/{SlicerPreview-GvsdvE-h.js → SlicerPreview-B6iHOC9L.js} +1 -1
  12. package/dist/{UserOptions-f3Q0nqrj.js → UserOptions-2x4VklMW.js} +1 -1
  13. package/dist/components/vue-ui-3d-bar.js +1 -1
  14. package/dist/components/vue-ui-accordion.js +1 -1
  15. package/dist/components/vue-ui-age-pyramid.js +1 -1
  16. package/dist/components/vue-ui-annotator.js +1 -1
  17. package/dist/components/vue-ui-bullet.js +1 -1
  18. package/dist/components/vue-ui-bump.js +1 -1
  19. package/dist/components/vue-ui-candlestick.js +1 -1
  20. package/dist/components/vue-ui-carousel-table.js +1 -1
  21. package/dist/components/vue-ui-chestnut.js +1 -1
  22. package/dist/components/vue-ui-chord.js +1 -1
  23. package/dist/components/vue-ui-circle-pack.js +1 -1
  24. package/dist/components/vue-ui-cursor.js +1 -1
  25. package/dist/components/vue-ui-dag.js +1 -1
  26. package/dist/components/vue-ui-dashboard.js +1 -1
  27. package/dist/components/vue-ui-digits.js +1 -1
  28. package/dist/components/vue-ui-donut-evolution.js +1 -1
  29. package/dist/components/vue-ui-donut.js +1 -1
  30. package/dist/components/vue-ui-dumbbell.js +1 -1
  31. package/dist/components/vue-ui-flow.js +1 -1
  32. package/dist/components/vue-ui-funnel.js +1 -1
  33. package/dist/components/vue-ui-galaxy.js +1 -1
  34. package/dist/components/vue-ui-gauge.js +1 -1
  35. package/dist/components/vue-ui-geo.js +1 -1
  36. package/dist/components/vue-ui-gizmo.js +1 -1
  37. package/dist/components/vue-ui-heatmap.js +1 -1
  38. package/dist/components/vue-ui-hill.js +1 -1
  39. package/dist/components/vue-ui-history-plot.js +1 -1
  40. package/dist/components/vue-ui-horizontal-bar.js +1 -1
  41. package/dist/components/vue-ui-icon.js +1 -1
  42. package/dist/components/vue-ui-kpi.js +1 -1
  43. package/dist/components/vue-ui-label.js +1 -1
  44. package/dist/components/vue-ui-mini-loader.js +1 -1
  45. package/dist/components/vue-ui-molecule.js +1 -1
  46. package/dist/components/vue-ui-mood-radar.js +1 -1
  47. package/dist/components/vue-ui-nested-donuts.js +1 -1
  48. package/dist/components/vue-ui-onion.js +1 -1
  49. package/dist/components/vue-ui-parallel-coordinate-plot.js +1 -1
  50. package/dist/components/vue-ui-quadrant.js +1 -1
  51. package/dist/components/vue-ui-quick-chart.js +1 -1
  52. package/dist/components/vue-ui-radar.js +1 -1
  53. package/dist/components/vue-ui-rating.js +1 -1
  54. package/dist/components/vue-ui-relation-circle.js +1 -1
  55. package/dist/components/vue-ui-ridgeline.js +1 -1
  56. package/dist/components/vue-ui-rings.js +1 -1
  57. package/dist/components/vue-ui-scatter.js +1 -1
  58. package/dist/components/vue-ui-skeleton.js +1 -1
  59. package/dist/components/vue-ui-smiley.js +1 -1
  60. package/dist/components/vue-ui-spark-trend.js +1 -1
  61. package/dist/components/vue-ui-sparkbar.js +1 -1
  62. package/dist/components/vue-ui-sparkgauge.js +1 -1
  63. package/dist/components/vue-ui-sparkhistogram.js +1 -1
  64. package/dist/components/vue-ui-sparkline.js +1 -1
  65. package/dist/components/vue-ui-sparkstackbar.js +1 -1
  66. package/dist/components/vue-ui-stackbar.js +1 -1
  67. package/dist/components/vue-ui-stackline.js +1 -1
  68. package/dist/components/vue-ui-strip-plot.js +1 -1
  69. package/dist/components/vue-ui-table-heatmap.js +1 -1
  70. package/dist/components/vue-ui-table-sparkline.js +1 -1
  71. package/dist/components/vue-ui-table.js +1 -1
  72. package/dist/components/vue-ui-thermometer.js +1 -1
  73. package/dist/components/vue-ui-timer.js +1 -1
  74. package/dist/components/vue-ui-tiremarks.js +1 -1
  75. package/dist/components/vue-ui-treemap.js +1 -1
  76. package/dist/components/vue-ui-vertical-bar.js +1 -1
  77. package/dist/components/vue-ui-waffle.js +1 -1
  78. package/dist/components/vue-ui-wheel.js +1 -1
  79. package/dist/components/vue-ui-word-cloud.js +1 -1
  80. package/dist/components/vue-ui-world.js +1 -1
  81. package/dist/components/vue-ui-xy-canvas.js +1 -1
  82. package/dist/components/vue-ui-xy.js +1 -1
  83. package/dist/{package-ta2JoIjx.js → package-Dx7M6sYy.js} +1 -1
  84. package/dist/{render-common-bvOuxfN3.js → render-common-DETHvNhl.js} +1 -1
  85. package/dist/ssr/vue-ui-donut.js +1 -1
  86. package/dist/ssr/vue-ui-xy.js +1 -1
  87. package/dist/ssr.js +2 -2
  88. package/dist/style.css +1 -1
  89. package/dist/types/vue-data-ui.d.ts +10 -0
  90. package/dist/{useConfig-C_mX5pOZ.js → useConfig-CIQZ6_r7.js} +11 -1
  91. package/dist/{useObjectBindings-uXpBcVyo.js → useObjectBindings---mHNfbS.js} +2 -2
  92. package/dist/utils.js +1 -1
  93. package/dist/{vue-data-ui-BjdCpsRV.js → vue-data-ui-Dh3_EsHb.js} +70 -70
  94. package/dist/vue-data-ui.js +71 -71
  95. package/dist/vue-ui-3d-bar-i1REAKnM.js +1831 -0
  96. package/dist/{vue-ui-accordion-DRf3NQyH.js → vue-ui-accordion-BSmBUjwZ.js} +2 -2
  97. package/dist/vue-ui-age-pyramid-DuHblCNO.js +1293 -0
  98. package/dist/{vue-ui-annotator-DZ0O8Xa5.js → vue-ui-annotator-CTQHAPho.js} +676 -676
  99. package/dist/vue-ui-bullet-CYLnKrmM.js +702 -0
  100. package/dist/{vue-ui-bump-DoHnD1Xy.js → vue-ui-bump-DhwySwgn.js} +380 -380
  101. package/dist/vue-ui-candlestick-BpiECaDj.js +1859 -0
  102. package/dist/{vue-ui-carousel-table-k1cBJ1i1.js → vue-ui-carousel-table-D-T2yA7-.js} +2 -2
  103. package/dist/vue-ui-chestnut-1MsZ9Q3r.js +2016 -0
  104. package/dist/vue-ui-chord-QBQUSe7r.js +1347 -0
  105. package/dist/vue-ui-circle-pack-ZWEwtesD.js +1635 -0
  106. package/dist/{vue-ui-cursor-CQWLyEx0.js → vue-ui-cursor-CHQcHAHQ.js} +2 -2
  107. package/dist/{vue-ui-dag-BqlsutMj.js → vue-ui-dag-C_inEafb.js} +792 -792
  108. package/dist/{vue-ui-dashboard-Be3MmkgS.js → vue-ui-dashboard-Bs2mBur5.js} +67 -67
  109. package/dist/{vue-ui-digits-BqdfbcKX.js → vue-ui-digits-DwE4MoXI.js} +2 -2
  110. package/dist/vue-ui-donut-BM9dMHXj.js +2415 -0
  111. package/dist/{vue-ui-donut-gzGZ42uH.js → vue-ui-donut-CbOSJmRu.js} +2 -2
  112. package/dist/vue-ui-donut-evolution-C97_RHus.js +1552 -0
  113. package/dist/vue-ui-dumbbell-DwKa5EL5.js +1533 -0
  114. package/dist/vue-ui-flow-DTTr3YL9.js +1217 -0
  115. package/dist/vue-ui-funnel-C4pkBk3D.js +749 -0
  116. package/dist/vue-ui-galaxy-CuAPLOvX.js +1085 -0
  117. package/dist/vue-ui-gauge-DLDULH26.js +934 -0
  118. package/dist/{vue-ui-geo-Ca8kPYr-.js → vue-ui-geo-DXIHhp-G.js} +429 -429
  119. package/dist/{vue-ui-gizmo-wUqHJICb.js → vue-ui-gizmo-PuURiePo.js} +2 -2
  120. package/dist/vue-ui-heatmap-mvWLKB99.js +1555 -0
  121. package/dist/{vue-ui-hill-D6Y9Xy2K.js → vue-ui-hill-DqsVJkmO.js} +470 -470
  122. package/dist/vue-ui-history-plot-BBVLgt9_.js +1698 -0
  123. package/dist/{vue-ui-horizontal-bar-3on3-H3B.js → vue-ui-horizontal-bar-y8Q8PZwT.js} +511 -511
  124. package/dist/{vue-ui-kpi-CUpRRIUf.js → vue-ui-kpi-B2hf3kpp.js} +2 -2
  125. package/dist/{vue-ui-label-DR2qUZOG.js → vue-ui-label-ClMQ5Gez.js} +1 -1
  126. package/dist/{vue-ui-mini-loader-D8W-fERs.js → vue-ui-mini-loader-DtPOVIkK.js} +1 -1
  127. package/dist/vue-ui-molecule-eeW1Pmg8.js +929 -0
  128. package/dist/{vue-ui-mood-radar-TW251icr.js → vue-ui-mood-radar-Dd1qfUiu.js} +376 -376
  129. package/dist/vue-ui-nested-donuts-CUARCr6O.js +1503 -0
  130. package/dist/vue-ui-onion-NoxHP0cG.js +1235 -0
  131. package/dist/{vue-ui-parallel-coordinate-plot-RM25bxtf.js → vue-ui-parallel-coordinate-plot-Cp3pCyxK.js} +407 -407
  132. package/dist/vue-ui-quadrant-C3kQtaeX.js +1967 -0
  133. package/dist/{vue-ui-quick-chart-Cswm3_eI.js → vue-ui-quick-chart-BZq517pL.js} +4 -4
  134. package/dist/vue-ui-radar-DvNrl4uD.js +1374 -0
  135. package/dist/vue-ui-rating-CWFMoYpE.js +359 -0
  136. package/dist/vue-ui-relation-circle-1iS6C0xx.js +905 -0
  137. package/dist/vue-ui-ridgeline-B-EZiPCF.js +1630 -0
  138. package/dist/vue-ui-rings-BXuwrHos.js +1252 -0
  139. package/dist/vue-ui-scatter-ByL-ZZ3B.js +2405 -0
  140. package/dist/{vue-ui-skeleton-D_u8EWeW.js → vue-ui-skeleton-BcU1onF6.js} +698 -698
  141. package/dist/vue-ui-smiley-DJVusLnp.js +376 -0
  142. package/dist/vue-ui-spark-trend-DjS31avb.js +457 -0
  143. package/dist/vue-ui-sparkbar-1Al_TLw1.js +401 -0
  144. package/dist/vue-ui-sparkgauge-CwLo53Y8.js +268 -0
  145. package/dist/vue-ui-sparkhistogram-CGw6SThG.js +589 -0
  146. package/dist/{vue-ui-sparkline-9qkNNZG6.js → vue-ui-sparkline-CSZGBFfI.js} +511 -511
  147. package/dist/vue-ui-sparkstackbar-B8dloLMp.js +738 -0
  148. package/dist/vue-ui-stackbar-FvNd77t1.js +2355 -0
  149. package/dist/vue-ui-stackline-CP7PkqiG.js +2469 -0
  150. package/dist/vue-ui-strip-plot-DSMlDkv1.js +1740 -0
  151. package/dist/{vue-ui-table-heatmap-XmDK1aHJ.js → vue-ui-table-heatmap-DnP3pzh2.js} +2 -2
  152. package/dist/vue-ui-table-rwKtnJKt.js +1352 -0
  153. package/dist/vue-ui-table-sparkline-B6wyEAyC.js +738 -0
  154. package/dist/{vue-ui-thermometer-CLx3SPRv.js → vue-ui-thermometer-D0_KsB-y.js} +192 -192
  155. package/dist/{vue-ui-timer-BDWUNb6t.js → vue-ui-timer-1Z2zginj.js} +153 -153
  156. package/dist/vue-ui-tiremarks-zbl7aooy.js +540 -0
  157. package/dist/vue-ui-treemap-Drs4gK6L.js +1733 -0
  158. package/dist/vue-ui-waffle-DqUVsVNE.js +1621 -0
  159. package/dist/vue-ui-wheel-DLCBPW9t.js +873 -0
  160. package/dist/vue-ui-word-cloud-8Agk9h6c.js +1710 -0
  161. package/dist/{vue-ui-world-C2atz4Xm.js → vue-ui-world-BOBHo7-L.js} +524 -524
  162. package/dist/vue-ui-xy-CSTJzRkk.js +5283 -0
  163. package/dist/{vue-ui-xy-CpA0W6zM.js → vue-ui-xy-Dmk1gQkI.js} +2 -2
  164. package/dist/vue-ui-xy-canvas-DANPuyf4.js +1824 -0
  165. package/dist/{vue_ui_age_pyramid-BY6c-oX_.js → vue_ui_age_pyramid-B2R66DgQ.js} +15 -6
  166. package/package.json +1 -1
  167. package/dist/vue-ui-3d-bar-C0aLR6lw.js +0 -1831
  168. package/dist/vue-ui-age-pyramid-DUcB3lYs.js +0 -1243
  169. package/dist/vue-ui-bullet-DIOCMF2H.js +0 -702
  170. package/dist/vue-ui-candlestick-Cf8TYPl5.js +0 -1859
  171. package/dist/vue-ui-chestnut-BMAuaeif.js +0 -2016
  172. package/dist/vue-ui-chord-DCe2iPjk.js +0 -1347
  173. package/dist/vue-ui-circle-pack-Eb5hS_z3.js +0 -1635
  174. package/dist/vue-ui-donut-CuQVKuZa.js +0 -2415
  175. package/dist/vue-ui-donut-evolution-DckruxZ9.js +0 -1552
  176. package/dist/vue-ui-dumbbell-BYU-hh2E.js +0 -1531
  177. package/dist/vue-ui-flow-DLRcNDLc.js +0 -1217
  178. package/dist/vue-ui-funnel-DjoqNN1U.js +0 -749
  179. package/dist/vue-ui-galaxy-BhR4IOra.js +0 -1085
  180. package/dist/vue-ui-gauge-Cq161Kwp.js +0 -934
  181. package/dist/vue-ui-heatmap-Bl5ymvi9.js +0 -1555
  182. package/dist/vue-ui-history-plot-CvVjsdCL.js +0 -1698
  183. package/dist/vue-ui-molecule-BExVLLgE.js +0 -929
  184. package/dist/vue-ui-nested-donuts-CWzJKr3S.js +0 -1503
  185. package/dist/vue-ui-onion-VaYZQK5i.js +0 -1235
  186. package/dist/vue-ui-quadrant-Dmtwow7n.js +0 -1967
  187. package/dist/vue-ui-radar-C3GYthqu.js +0 -1374
  188. package/dist/vue-ui-rating-CBdDXL80.js +0 -359
  189. package/dist/vue-ui-relation-circle-BA0qy0kp.js +0 -905
  190. package/dist/vue-ui-ridgeline-C5skjBTe.js +0 -1630
  191. package/dist/vue-ui-rings-BJ8yEQMw.js +0 -1252
  192. package/dist/vue-ui-scatter-DXg8ESgr.js +0 -2405
  193. package/dist/vue-ui-smiley-DQOp87rr.js +0 -376
  194. package/dist/vue-ui-spark-trend-CjCufXof.js +0 -457
  195. package/dist/vue-ui-sparkbar-BniEM15a.js +0 -401
  196. package/dist/vue-ui-sparkgauge-BtyCrqTQ.js +0 -268
  197. package/dist/vue-ui-sparkhistogram-DQdn3PW1.js +0 -589
  198. package/dist/vue-ui-sparkstackbar-BXQlOdOk.js +0 -738
  199. package/dist/vue-ui-stackbar-CkjicNDv.js +0 -2355
  200. package/dist/vue-ui-stackline-BB1IZta8.js +0 -2469
  201. package/dist/vue-ui-strip-plot-DGLGuH6e.js +0 -1740
  202. package/dist/vue-ui-table-BXz_HY2g.js +0 -1352
  203. package/dist/vue-ui-table-sparkline-MTEw3imE.js +0 -738
  204. package/dist/vue-ui-tiremarks-DoaypTC-.js +0 -540
  205. package/dist/vue-ui-treemap-Bv7PgpiC.js +0 -1733
  206. package/dist/vue-ui-waffle-z2DhvSAx.js +0 -1621
  207. package/dist/vue-ui-wheel-DYLBJuFb.js +0 -873
  208. package/dist/vue-ui-word-cloud-CbpEhSdL.js +0 -1710
  209. package/dist/vue-ui-xy-B3DQ6t46.js +0 -5283
  210. package/dist/vue-ui-xy-canvas-CJefORWc.js +0 -1824
@@ -1,7 +1,7 @@
1
1
  import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
2
2
  import { $ as t, D as n, M as r, Nt as i, Pt as a, Ut as o, Wt as ee, X as s, Zt as te, i as ne, nt as re, q as ie, t as ae } from "./lib-Dql7cqyA.js";
3
3
  import { n as oe, t as se } from "./useHints-Dq_w2E8B.js";
4
- import { t as ce } from "./useConfig-C_mX5pOZ.js";
4
+ import { t as ce } from "./useConfig-CIQZ6_r7.js";
5
5
  import { t as le } from "./usePrinter-DISD7q5m.js";
6
6
  import { n as ue, t as de } from "./BaseScanner-DZvpgOjM.js";
7
7
  import { t as fe } from "./useNestedProp-Chvyfpl-.js";
@@ -95,14 +95,14 @@ var Re = /* @__PURE__ */ e({ default: () => w }), ze = ["id"], Be = ["id"], Ve =
95
95
  },
96
96
  emits: ["copyAlt"],
97
97
  setup(e, { expose: _e, emit: Re }) {
98
- let w = m(() => import("./BaseIcon-t83PDe9k.js").then((e) => e.n)), bt = m(() => import("./vue-ui-accordion-DRf3NQyH.js").then((e) => e.n)), xt = m(() => import("./DataTable-COIO9gi4.js")), St = m(() => import("./PenAndPaper-BgH3m_LP.js").then((e) => e.t)), Ct = m(() => import("./UserOptions-f3Q0nqrj.js").then((e) => e.n)), wt = m(() => import("./PackageVersion-M2Ws-VwJ.js").then((e) => e.t)), Tt = m(() => import("./BaseDraggableDialog-BM_R41j8.js").then((e) => e.n)), { vue_ui_mood_radar: Et } = ce(), { isThemeValid: Dt, warnInvalidTheme: Ot } = pe(), T = e, kt = Re, E = y(ie()), D = y(null), O = y(null), At = y(null), jt = y(0), Mt = y(0), Nt = y(0), Pt = y(null), Ft = y(null), k = y(null), A = y(null), It = y(null), Lt = y(!1), j = y(null), Rt = y(null), M = y(null), N = y(!1), zt = c(() => !!T.dataset && Object.keys(T.dataset).length), P = y(qt());
98
+ let w = m(() => import("./BaseIcon-D8R6_sKH.js").then((e) => e.n)), bt = m(() => import("./vue-ui-accordion-BSmBUjwZ.js").then((e) => e.n)), xt = m(() => import("./DataTable-oiM9uWrQ.js")), St = m(() => import("./PenAndPaper-KFzKlvbi.js").then((e) => e.t)), Ct = m(() => import("./UserOptions-2x4VklMW.js").then((e) => e.n)), wt = m(() => import("./PackageVersion-ur6jKRL5.js").then((e) => e.t)), Tt = m(() => import("./BaseDraggableDialog-Gm4Q30j0.js").then((e) => e.n)), { vue_ui_mood_radar: Et } = ce(), { isThemeValid: Dt, warnInvalidTheme: Ot } = pe(), T = e, kt = Re, E = y(ie()), D = y(null), O = y(null), At = y(null), jt = y(0), Mt = y(0), Nt = y(0), Pt = y(null), Ft = y(null), k = y(null), It = y(null), Lt = y(null), Rt = y(!1), A = y(null), zt = y(null), j = y(null), Bt = y(!1), Vt = c(() => !!T.dataset && Object.keys(T.dataset).length), M = y(Yt()), N = c(() => M.value.userOptions), P = c(() => M.value.style.chart.layout.smileys), F = c(() => M.value.style.chart.layout), I = c(() => M.value.style.chart);
99
99
  oe({
100
- config: () => P.value,
100
+ config: () => M.value,
101
101
  dataset: () => T.dataset,
102
102
  component: "VueUiMoodRadar",
103
103
  rules: [se.noHint]
104
104
  });
105
- let F = c(() => P.value.userOptions.useCursorPointer), Bt = c(() => te({
105
+ let L = c(() => M.value.userOptions.useCursorPointer), Ht = c(() => te({
106
106
  defaultConfig: {
107
107
  userOptions: { show: !1 },
108
108
  table: { show: !1 },
@@ -128,14 +128,14 @@ var Re = /* @__PURE__ */ e({ default: () => w }), ze = ["id"], Be = ["id"], Ve =
128
128
  legend: { backgroundColor: "transparent" }
129
129
  } }
130
130
  },
131
- userConfig: P.value.skeletonConfig ?? {}
132
- })), { loading: Vt, FINAL_DATASET: I } = ue({
131
+ userConfig: M.value.skeletonConfig ?? {}
132
+ })), { loading: Ut, FINAL_DATASET: R } = ue({
133
133
  ...Ie(T),
134
- FINAL_CONFIG: P,
135
- prepareConfig: qt,
134
+ FINAL_CONFIG: M,
135
+ prepareConfig: Yt,
136
136
  callback: () => {
137
137
  Promise.resolve().then(async () => {
138
- await je(), R.value.showTable = P.value.table.show;
138
+ await je(), B.value.showTable = M.value.table.show;
139
139
  });
140
140
  },
141
141
  skeletonDataset: T.config?.skeletonDataset ?? {
@@ -146,37 +146,37 @@ var Re = /* @__PURE__ */ e({ default: () => w }), ze = ["id"], Be = ["id"], Ve =
146
146
  5: 1
147
147
  },
148
148
  skeletonConfig: te({
149
- defaultConfig: P.value,
150
- userConfig: Bt.value
149
+ defaultConfig: M.value,
150
+ userConfig: Ht.value
151
151
  })
152
152
  });
153
153
  Ne(() => {
154
- Lt.value = !0, Ut();
154
+ Rt.value = !0, Gt();
155
155
  });
156
- let Ht = c(() => P.value.debug);
157
- function Ut() {
156
+ let Wt = c(() => M.value.debug);
157
+ function Gt() {
158
158
  if (a(T.dataset) && re({
159
159
  componentName: "VueUiMoodRadar",
160
160
  type: "dataset",
161
- debug: Ht.value
162
- }), P.value.responsive) {
161
+ debug: Wt.value
162
+ }), M.value.responsive) {
163
163
  let e = ve(() => {
164
164
  let { width: e, height: t } = ye({
165
165
  chart: D.value,
166
- title: P.value.style.chart.title.text ? Pt.value : null,
167
- legend: P.value.style.chart.legend.show ? Ft.value : null,
166
+ title: I.value.title.text ? Pt.value : null,
167
+ legend: I.value.legend.show ? Ft.value : null,
168
168
  noTitle: At.value,
169
- source: It.value
169
+ source: Lt.value
170
170
  });
171
171
  requestAnimationFrame(() => {
172
- z.value.width = e, z.value.height = t - 12;
172
+ V.value.width = e, V.value.height = t - 12;
173
173
  });
174
174
  });
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);
175
+ k.value && (It.value && k.value.unobserve(It.value), k.value.disconnect()), k.value = new ResizeObserver(e), It.value = D.value.parentNode, k.value.observe(It.value);
176
176
  }
177
177
  }
178
- let { userOptionsVisible: Wt, setUserOptionsVisibility: Gt, keepUserOptionState: Kt } = Se({ config: P.value }), { svgRef: L } = Ce({ config: P.value.style.chart.title });
179
- function qt() {
178
+ let { userOptionsVisible: Kt, setUserOptionsVisibility: qt, keepUserOptionState: Jt } = Se({ config: M.value }), { svgRef: z } = Ce({ config: I.value.title });
179
+ function Yt() {
180
180
  let e = fe({
181
181
  userConfig: T.config,
182
182
  defaultConfig: Et
@@ -193,16 +193,16 @@ var Re = /* @__PURE__ */ e({ default: () => w }), ze = ["id"], Be = ["id"], Ve =
193
193
  });
194
194
  }
195
195
  Le(() => T.config, (e) => {
196
- P.value = qt(), Wt.value = !P.value.userOptions.showOnChartHover, Ut(), jt.value += 1, Mt.value += 1, Nt.value += 1, R.value.showTable = P.value.table.show;
196
+ M.value = Yt(), Kt.value = !M.value.userOptions.showOnChartHover, Gt(), jt.value += 1, Mt.value += 1, Nt.value += 1, B.value.showTable = M.value.table.show;
197
197
  }, { deep: !0 });
198
- let { isPrinting: Jt, isImaging: Yt, generatePdf: Xt, generateImage: Zt } = le({
198
+ let { isPrinting: Xt, isImaging: Zt, generatePdf: Qt, generateImage: $t } = le({
199
199
  elementId: E.value,
200
- fileName: P.value.style.chart.title.text || "vue-ui-mood-radar",
201
- options: P.value.userOptions.print
202
- }), Qt = c(() => P.value.userOptions.show && !P.value.style.chart.title.text), R = y({ showTable: P.value.table.show }), z = y({
200
+ fileName: I.value.title.text || "vue-ui-mood-radar",
201
+ options: M.value.userOptions.print
202
+ }), en = c(() => M.value.userOptions.show && !I.value.title.text), B = y({ showTable: M.value.table.show }), V = y({
203
203
  height: 256,
204
204
  width: 256
205
- }), $t = {
205
+ }), tn = {
206
206
  5: {
207
207
  x: 128,
208
208
  y: 35
@@ -223,29 +223,29 @@ var Re = /* @__PURE__ */ e({ default: () => w }), ze = ["id"], Be = ["id"], Ve =
223
223
  x: 38.5,
224
224
  y: 98.5
225
225
  }
226
- }, en = c(() => {
226
+ }, nn = c(() => {
227
227
  let e = {};
228
- return on.value.forEach((t) => {
228
+ return cn.value.forEach((t) => {
229
229
  e[t.key] = {
230
230
  x: t.x,
231
231
  y: t.y
232
232
  };
233
233
  }), e;
234
234
  });
235
- function B(e) {
236
- let t = $t[e], n = en.value[e] || t;
235
+ function H(e) {
236
+ let t = tn[e], n = nn.value[e] || t;
237
237
  return `translate(${n.x - t.x}, ${n.y - t.y})`;
238
238
  }
239
- let tn = c(() => r({
239
+ let rn = c(() => r({
240
240
  plot: {
241
- x: z.value.width / 2,
242
- y: z.value.height / 2
241
+ x: V.value.width / 2,
242
+ y: V.value.height / 2
243
243
  },
244
- radius: Math.min(z.value.height, z.value.width) * .35,
244
+ radius: Math.min(V.value.height, V.value.width) * .35,
245
245
  sides: 5,
246
246
  rotation: 11
247
247
  }));
248
- function nn({ centerX: e, centerY: t, apexX: n, apexY: r, proportion: i, key: a, value: o }) {
248
+ function an({ centerX: e, centerY: t, apexX: n, apexY: r, proportion: i, key: a, value: o }) {
249
249
  return {
250
250
  x: e + (n - e) * i,
251
251
  y: t + (r - t) * i,
@@ -253,108 +253,108 @@ var Re = /* @__PURE__ */ e({ default: () => w }), ze = ["id"], Be = ["id"], Ve =
253
253
  value: o
254
254
  };
255
255
  }
256
- let rn = 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
- let n = typeof I.value[e] != "number" || isNaN(I.value[e]) ? 0 : I.value[e];
256
+ let on = c(() => Math.max(...Object.values(R.value).map((e) => isNaN(e) ? 0 : e))), U = c(() => Object.values(R.value).reduce((e, t) => (isNaN(e) ? 0 : e) + (isNaN(t) ? 0 : t), 0)), W = c(() => Object.keys(R.value).map((e, t) => {
257
+ let n = typeof R.value[e] != "number" || isNaN(R.value[e]) ? 0 : R.value[e];
258
258
  return {
259
259
  index: t,
260
260
  key: e,
261
261
  value: n,
262
- proportion: n / V.value,
263
- color: P.value.style.chart.layout.smileys.colors[e]
262
+ proportion: n / U.value,
263
+ color: P.value.colors[e]
264
264
  };
265
265
  }).map((e) => ({
266
266
  ...e,
267
- onSelect: () => U(e.key)
268
- })).sort((e, t) => t.key - e.key)), an = c(() => H.value.map((e, t) => ({
267
+ onSelect: () => G(e.key)
268
+ })).sort((e, t) => t.key - e.key)), sn = c(() => W.value.map((e, t) => ({
269
269
  ...e,
270
- display: `${ne(P.value.style.chart.layout.dataLabel.formatter, e.value, s({
271
- p: P.value.style.chart.layout.dataLabel.prefix,
270
+ display: `${ne(F.value.dataLabel.formatter, e.value, s({
271
+ p: F.value.dataLabel.prefix,
272
272
  v: e.value,
273
- s: P.value.style.chart.layout.dataLabel.suffix,
274
- r: P.value.style.chart.layout.dataLabel.roundingValue
275
- }))}${Vt.value ? "" : ` (${s({
273
+ s: F.value.dataLabel.suffix,
274
+ r: F.value.dataLabel.roundingValue
275
+ }))}${Ut.value ? "" : ` (${s({
276
276
  v: e.proportion * 100,
277
277
  s: "%",
278
- r: P.value.style.chart.legend.roundingPercentage
278
+ r: I.value.legend.roundingPercentage
279
279
  })})`}`
280
- }))), on = c(() => ([
280
+ }))), cn = 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]) && re({
287
+ [null, void 0].includes(R.value[e]) && re({
288
288
  componentName: "VueUiMoodRadar",
289
289
  type: "datasetAttribute",
290
290
  property: e,
291
- debug: Ht.value
291
+ debug: Wt.value
292
292
  });
293
- }), tn.value.coordinates.map((e, t) => {
294
- let n = nn({
295
- centerX: z.value.width / 2,
296
- centerY: z.value.height / 2,
293
+ }), rn.value.coordinates.map((e, t) => {
294
+ let n = an({
295
+ centerX: V.value.width / 2,
296
+ centerY: V.value.height / 2,
297
297
  apexX: e.x,
298
298
  apexY: e.y,
299
- proportion: H.value[t].value / rn.value,
300
- key: H.value[t].key,
301
- value: H.value[t].value
299
+ proportion: W.value[t].value / on.value,
300
+ key: W.value[t].key,
301
+ value: W.value[t].value
302
302
  });
303
303
  return {
304
304
  ...e,
305
305
  plots: n,
306
- key: H.value[t].key
306
+ key: W.value[t].key
307
307
  };
308
- }))), sn = c(() => ({
308
+ }))), ln = c(() => ({
309
309
  cy: "mood-radar-legend",
310
- backgroundColor: P.value.style.chart.legend.backgroundColor,
311
- color: P.value.style.chart.legend.color,
312
- fontSize: P.value.style.chart.legend.fontSize,
310
+ backgroundColor: I.value.legend.backgroundColor,
311
+ color: I.value.legend.color,
312
+ fontSize: I.value.legend.fontSize,
313
313
  paddingBottom: 12,
314
- fontWeight: P.value.style.chart.legend.bold ? "bold" : ""
314
+ fontWeight: I.value.legend.bold ? "bold" : ""
315
315
  }));
316
- function U(e) {
317
- e === O.value ? O.value = null : (O.value = e, K(e));
316
+ function G(e) {
317
+ e === O.value ? O.value = null : (O.value = e, J(e));
318
318
  }
319
- function W(e) {
319
+ function K(e) {
320
320
  O.value = e;
321
- let t = H.value.find((t) => t.key === e);
322
- P.value.events.datapointEnter && P.value.events.datapointEnter({
321
+ let t = W.value.find((t) => t.key === e);
322
+ M.value.events.datapointEnter && M.value.events.datapointEnter({
323
323
  datapoint: t,
324
324
  seriesIndex: t.index
325
325
  });
326
326
  }
327
- function G(e) {
327
+ function q(e) {
328
328
  O.value = null;
329
- let t = H.value.find((t) => t.key === e);
330
- P.value.events.datapointLeave && P.value.events.datapointLeave({
329
+ let t = W.value.find((t) => t.key === e);
330
+ M.value.events.datapointLeave && M.value.events.datapointLeave({
331
331
  datapoint: t,
332
332
  seriesIndex: t.index
333
333
  });
334
334
  }
335
- function K(e) {
336
- let t = H.value.find((t) => t.key === e);
337
- P.value.events.datapointClick && P.value.events.datapointClick({
335
+ function J(e) {
336
+ let t = W.value.find((t) => t.key === e);
337
+ M.value.events.datapointClick && M.value.events.datapointClick({
338
338
  datapoint: t,
339
339
  seriesIndex: t.index
340
340
  });
341
341
  }
342
- let q = c(() => ({
343
- head: H.value.map((e) => ({
342
+ let Y = c(() => ({
343
+ head: W.value.map((e) => ({
344
344
  name: e.key,
345
345
  color: e.color
346
346
  })),
347
- body: H.value.map((e) => isNaN(e.value) ? 0 : e.value)
347
+ body: W.value.map((e) => isNaN(e.value) ? 0 : e.value)
348
348
  }));
349
- function cn(e = null) {
349
+ function un(e = null) {
350
350
  je(() => {
351
- let r = q.value.head.map((e, t) => [
351
+ let r = Y.value.head.map((e, t) => [
352
352
  [e.name],
353
- [q.value.body[t]],
354
- [isNaN(q.value.body[t] / V.value) ? "-" : q.value.body[t] / V.value * 100]
353
+ [Y.value.body[t]],
354
+ [isNaN(Y.value.body[t] / U.value) ? "-" : Y.value.body[t] / U.value * 100]
355
355
  ]), i = [
356
- [P.value.style.chart.title.text],
357
- [P.value.style.chart.title.subtitle.text],
356
+ [I.value.title.text],
357
+ [I.value.title.subtitle.text],
358
358
  [
359
359
  [""],
360
360
  ["val"],
@@ -363,58 +363,58 @@ var Re = /* @__PURE__ */ e({ default: () => w }), ze = ["id"], Be = ["id"], Ve =
363
363
  ].concat(r), a = n(i);
364
364
  e ? e(a) : t({
365
365
  csvContent: a,
366
- title: P.value.style.chart.title.text || "vue-ui-mood-radar"
366
+ title: I.value.title.text || "vue-ui-mood-radar"
367
367
  });
368
368
  });
369
369
  }
370
- let J = c(() => ({
370
+ let X = c(() => ({
371
371
  head: [
372
372
  "__SUM__",
373
- Number(V.value.toFixed(P.value.table.td.roundingValue)).toLocaleString(),
373
+ Number(U.value.toFixed(M.value.table.td.roundingValue)).toLocaleString(),
374
374
  "100%"
375
375
  ],
376
- body: q.value.head.map((e, t) => [
376
+ body: Y.value.head.map((e, t) => [
377
377
  {
378
378
  color: e.color,
379
379
  name: e.name
380
380
  },
381
- q.value.body[t].toFixed(P.value.table.td.roundingValue),
382
- isNaN(q.value.body[t] / V.value) ? "-" : (q.value.body[t] / V.value * 100).toFixed(P.value.table.td.roundingPercentage) + "%"
381
+ Y.value.body[t].toFixed(M.value.table.td.roundingValue),
382
+ isNaN(Y.value.body[t] / U.value) ? "-" : (Y.value.body[t] / U.value * 100).toFixed(M.value.table.td.roundingPercentage) + "%"
383
383
  ]),
384
384
  config: {
385
385
  th: {
386
- backgroundColor: P.value.table.th.backgroundColor,
387
- color: P.value.table.th.color,
388
- outline: P.value.table.th.outline
386
+ backgroundColor: M.value.table.th.backgroundColor,
387
+ color: M.value.table.th.color,
388
+ outline: M.value.table.th.outline
389
389
  },
390
390
  td: {
391
- backgroundColor: P.value.table.td.backgroundColor,
392
- color: P.value.table.td.color,
393
- outline: P.value.table.td.outline
391
+ backgroundColor: M.value.table.td.backgroundColor,
392
+ color: M.value.table.td.color,
393
+ outline: M.value.table.td.outline
394
394
  },
395
- breakpoint: P.value.table.responsiveBreakpoint
395
+ breakpoint: M.value.table.responsiveBreakpoint
396
396
  },
397
397
  colNames: [
398
- P.value.table.columnNames.series,
399
- P.value.table.columnNames.value,
400
- P.value.table.columnNames.percentage
398
+ M.value.table.columnNames.series,
399
+ M.value.table.columnNames.value,
400
+ M.value.table.columnNames.percentage
401
401
  ]
402
402
  }));
403
- function ln() {
404
- return H.value;
403
+ function dn() {
404
+ return W.value;
405
405
  }
406
- function un() {
407
- R.value.showTable = !R.value.showTable;
406
+ function fn() {
407
+ B.value.showTable = !B.value.showTable;
408
408
  }
409
- let Y = y(!1);
410
- function dn(e) {
411
- Y.value = e;
409
+ let Z = y(!1);
410
+ function pn(e) {
411
+ Z.value = e;
412
412
  }
413
- let X = y(!1);
414
- function fn() {
415
- X.value = !X.value;
413
+ let Q = y(!1);
414
+ function mn() {
415
+ Q.value = !Q.value;
416
416
  }
417
- async function pn({ scale: e = 2 } = {}) {
417
+ async function hn({ scale: e = 2 } = {}) {
418
418
  if (!D.value) return;
419
419
  let { width: t, height: n } = D.value.getBoundingClientRect(), r = t / n, { imageUri: i, base64: a } = await he({
420
420
  domElement: D.value,
@@ -425,184 +425,184 @@ var Re = /* @__PURE__ */ e({ default: () => w }), ze = ["id"], Be = ["id"], Ve =
425
425
  return {
426
426
  imageUri: i,
427
427
  base64: a,
428
- title: P.value.style.chart.title.text,
428
+ title: I.value.title.text,
429
429
  width: t,
430
430
  height: n,
431
431
  aspectRatio: r
432
432
  };
433
433
  }
434
- let Z = c(() => {
435
- let e = P.value.table.useDialog && !P.value.table.show, t = R.value.showTable;
434
+ let gn = c(() => {
435
+ let e = M.value.table.useDialog && !M.value.table.show, t = B.value.showTable;
436
436
  return {
437
437
  component: e ? Tt : bt,
438
- title: `${P.value.style.chart.title.text}${P.value.style.chart.title.subtitle.text ? `: ${P.value.style.chart.title.subtitle.text}` : ""}`,
438
+ title: `${I.value.title.text}${I.value.title.subtitle.text ? `: ${I.value.title.subtitle.text}` : ""}`,
439
439
  props: e ? {
440
- backgroundColor: P.value.table.th.backgroundColor,
441
- color: P.value.table.th.color,
442
- headerColor: P.value.table.th.color,
443
- headerBg: P.value.table.th.backgroundColor,
444
- isFullscreen: Y.value,
440
+ backgroundColor: M.value.table.th.backgroundColor,
441
+ color: M.value.table.th.color,
442
+ headerColor: M.value.table.th.color,
443
+ headerBg: M.value.table.th.backgroundColor,
444
+ isFullscreen: Z.value,
445
445
  fullscreenParent: D.value,
446
446
  forcedWidth: Math.min(800, window.innerWidth * .8),
447
- isCursorPointer: F.value
447
+ isCursorPointer: L.value
448
448
  } : {
449
449
  hideDetails: !0,
450
450
  config: {
451
451
  open: t,
452
452
  maxHeight: 1e4,
453
453
  body: {
454
- backgroundColor: P.value.style.chart.backgroundColor,
455
- color: P.value.style.chart.color
454
+ backgroundColor: I.value.backgroundColor,
455
+ color: I.value.color
456
456
  },
457
457
  head: {
458
- backgroundColor: P.value.style.chart.backgroundColor,
459
- color: P.value.style.chart.color
458
+ backgroundColor: I.value.backgroundColor,
459
+ color: I.value.color
460
460
  }
461
461
  }
462
462
  }
463
463
  };
464
464
  });
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());
465
+ Le(() => B.value.showTable, (e) => {
466
+ M.value.table.show || (e && M.value.table.useDialog && A.value ? A.value.open() : "close" in A.value && A.value.close());
467
467
  });
468
- function mn() {
469
- R.value.showTable = !1, Rt.value && Rt.value.setTableIconState(!1);
468
+ function _n() {
469
+ B.value.showTable = !1, zt.value && zt.value.setTableIconState(!1);
470
470
  }
471
- let hn = c(() => an.value.map((e) => ({
471
+ let vn = c(() => sn.value.map((e) => ({
472
472
  ...e,
473
473
  name: e.display,
474
474
  shape: "circle"
475
- }))), gn = c(() => P.value.style.chart.backgroundColor), _n = c(() => P.value.style.chart.legend), vn = c(() => P.value.style.chart.title), { isCallbackImaging: yn, isCallbackSvg: bn, generateSvg: xn, onGenerateImage: Sn } = me({
476
- svg: L,
477
- title: vn,
478
- legend: _n,
479
- legendItems: hn,
480
- backgroundColor: gn,
481
- getSvgCallback: () => P.value.userOptions.callbacks.svg,
482
- generateImage: Zt
475
+ }))), yn = c(() => I.value.backgroundColor), bn = c(() => I.value.legend), xn = c(() => I.value.title), { isCallbackImaging: Sn, isCallbackSvg: Cn, generateSvg: wn, onGenerateImage: Tn } = me({
476
+ svg: z,
477
+ title: xn,
478
+ legend: bn,
479
+ legendItems: vn,
480
+ backgroundColor: yn,
481
+ getSvgCallback: () => M.value.userOptions.callbacks.svg,
482
+ generateImage: $t
483
483
  });
484
- async function Cn() {
484
+ async function En() {
485
485
  if (kt("copyAlt", {
486
- config: P.value,
487
- dataset: H.value
488
- }), !P.value.userOptions.callbacks.altCopy) {
486
+ config: M.value,
487
+ dataset: W.value
488
+ }), !M.value.userOptions.callbacks.altCopy) {
489
489
  console.warn("Vue Data UI - A callback must be set for `altCopy` in userOptions.");
490
490
  return;
491
491
  }
492
- await Promise.resolve(P.value.userOptions.callbacks.altCopy({
493
- config: P.value,
494
- dataset: H.value
492
+ await Promise.resolve(M.value.userOptions.callbacks.altCopy({
493
+ config: M.value,
494
+ dataset: W.value
495
495
  }));
496
496
  }
497
- let Q = c(() => H.value.map((e) => String(e.key)));
498
- function wn() {
499
- Gt(!0);
497
+ let $ = c(() => W.value.map((e) => String(e.key)));
498
+ function Dn() {
499
+ qt(!0);
500
500
  }
501
- function Tn() {
502
- Gt(!1);
501
+ function On() {
502
+ qt(!1);
503
503
  }
504
- function En(e) {
505
- return H.value.find((t) => String(t.key) === String(e));
504
+ function kn(e) {
505
+ return W.value.find((t) => String(t.key) === String(e));
506
506
  }
507
- function Dn(e, t, n) {
508
- return ne(P.value.style.chart.layout.dataLabel.formatter, e, s({
509
- p: P.value.style.chart.layout.dataLabel.prefix,
507
+ function An(e, t, n) {
508
+ return ne(F.value.dataLabel.formatter, e, s({
509
+ p: F.value.dataLabel.prefix,
510
510
  v: e,
511
- s: P.value.style.chart.layout.dataLabel.suffix,
512
- r: P.value.style.chart.layout.dataLabel.roundingValue
511
+ s: F.value.dataLabel.suffix,
512
+ r: F.value.dataLabel.roundingValue
513
513
  }), {
514
514
  datapoint: n,
515
515
  seriesIndex: t
516
516
  });
517
517
  }
518
- function On(e) {
518
+ function jn(e) {
519
519
  return s({
520
- v: V.value ? e / V.value * 100 : 0,
520
+ v: U.value ? e / U.value * 100 : 0,
521
521
  s: "%",
522
- r: P.value.style.chart.layout.dataLabel.roundingPercentage
522
+ r: F.value.dataLabel.roundingPercentage
523
523
  });
524
524
  }
525
- function $(e) {
526
- let t = En(e);
527
- return t ? `${e}, ${Dn(t.value, t.index, t)}, ${On(t.value)}` : `${e}`;
525
+ function Mn(e) {
526
+ let t = kn(e);
527
+ return t ? `${e}, ${An(t.value, t.index, t)}, ${jn(t.value)}` : `${e}`;
528
528
  }
529
- function kn(e) {
530
- let t = Q.value[e];
531
- t && (M.value = e, O.value = t);
529
+ function Nn(e) {
530
+ let t = $.value[e];
531
+ t && (j.value = e, O.value = t);
532
532
  }
533
- function An() {
534
- N.value = !0;
533
+ function Pn() {
534
+ Bt.value = !0;
535
535
  }
536
- function jn() {
537
- M.value = null, O.value = null, N.value = !1;
536
+ function Fn() {
537
+ j.value = null, O.value = null, Bt.value = !1;
538
538
  }
539
- function Mn(e) {
540
- if (!L.value || !Q.value.length || X.value || document.activeElement !== L.value) return;
539
+ function In(e) {
540
+ if (!z.value || !$.value.length || Q.value || document.activeElement !== z.value) return;
541
541
  let t = ["ArrowLeft", "ArrowUp"].includes(e.key), n = ["ArrowRight", "ArrowDown"].includes(e.key), r = e.key === "Enter" || e.key === " ", i = e.key === "Escape";
542
542
  if (!t && !n && !r && !i) return;
543
543
  if (e.preventDefault(), e.stopPropagation(), i) {
544
- M.value = null, O.value = null;
544
+ j.value = null, O.value = null;
545
545
  return;
546
546
  }
547
547
  if (r) {
548
- if (M.value === null) return;
549
- let e = Q.value[M.value];
548
+ if (j.value === null) return;
549
+ let e = $.value[j.value];
550
550
  if (!e) return;
551
- U(e);
551
+ G(e);
552
552
  return;
553
553
  }
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)), kn(a);
554
+ let a = j.value;
555
+ a === null || a < 0 || a >= $.value.length ? a = n ? 0 : $.value.length - 1 : n ? (a += 1, a >= $.value.length && (a = 0)) : t && (--a, a < 0 && (a = $.value.length - 1)), Nn(a);
556
556
  }
557
- function Nn(e, t) {
557
+ function Ln(e, t) {
558
558
  let n = e.key === "Enter" || e.key === " ", r = e.key === "Escape";
559
559
  if (!(!n && !r)) {
560
560
  if (e.preventDefault(), e.stopPropagation(), r) {
561
- M.value = null, O.value = null;
561
+ j.value = null, O.value = null;
562
562
  return;
563
563
  }
564
- U(String(t));
564
+ G(String(t));
565
565
  }
566
566
  }
567
- let Pn = c(() => ({
568
- headers: J.value?.colNames ?? [],
569
- rows: H.value.map((e) => [
567
+ let Rn = c(() => ({
568
+ headers: X.value?.colNames ?? [],
569
+ rows: W.value.map((e) => [
570
570
  String(e.key),
571
- Dn(e.value, e.index, e),
572
- On(e.value)
571
+ An(e.value, e.index, e),
572
+ jn(e.value)
573
573
  ])
574
574
  }));
575
575
  return _e({
576
- getData: ln,
577
- getImage: pn,
578
- generatePdf: Xt,
579
- generateCsv: cn,
580
- generateImage: Zt,
581
- generateSvg: xn,
582
- toggleTable: un,
583
- toggleAnnotator: fn,
584
- toggleFullscreen: dn,
585
- copyAlt: Cn
576
+ getData: dn,
577
+ getImage: hn,
578
+ generatePdf: Qt,
579
+ generateCsv: un,
580
+ generateImage: $t,
581
+ generateSvg: wn,
582
+ toggleTable: fn,
583
+ toggleAnnotator: mn,
584
+ toggleFullscreen: pn,
585
+ copyAlt: En
586
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"}`),
587
+ class: Me(`vue-data-ui-component vue-ui-mood-radar ${Z.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${M.value.useCssAnimation ? "" : "vue-ui-dna"}`),
588
588
  ref_key: "moodRadarChart",
589
589
  ref: D,
590
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: wn,
593
- onMouseleave: Tn
591
+ style: _(`font-family:${M.value.style.fontFamily};width:100%; text-align:center;background:${I.value.backgroundColor}`),
592
+ onMouseenter: Dn,
593
+ onMouseleave: On
594
594
  }, [
595
595
  f("div", {
596
596
  id: `chart-instructions-${E.value}`,
597
597
  class: "sr-only"
598
- }, [f("p", null, x(P.value.a11y.translations.keyboardNavigation), 1)], 8, Be),
599
- Pn.value?.rows?.length ? (v(), l(xe, {
598
+ }, [f("p", null, x(M.value.a11y.translations.keyboardNavigation), 1)], 8, Be),
599
+ Rn.value?.rows?.length ? (v(), l(xe, {
600
600
  key: 0,
601
601
  uid: E.value,
602
- head: Pn.value.headers,
603
- body: Pn.value.rows,
604
- notice: P.value.a11y.translations.tableAvailable,
605
- caption: P.value.a11y.translations.tableCaption
602
+ head: Rn.value.headers,
603
+ body: Rn.value.rows,
604
+ notice: M.value.a11y.translations.tableAvailable,
605
+ caption: M.value.a11y.translations.tableCaption
606
606
  }, null, 8, [
607
607
  "uid",
608
608
  "head",
@@ -610,15 +610,15 @@ var Re = /* @__PURE__ */ e({ default: () => w }), ze = ["id"], Be = ["id"], Ve =
610
610
  "notice",
611
611
  "caption"
612
612
  ])) : u("", !0),
613
- P.value.userOptions.buttons.annotator ? (v(), l(S(St), {
613
+ N.value.buttons.annotator ? (v(), l(S(St), {
614
614
  key: 1,
615
- svgRef: S(L),
616
- backgroundColor: P.value.style.chart.backgroundColor,
617
- color: P.value.style.chart.color,
618
- active: X.value,
619
- isCursorPointer: F.value,
620
- palette: P.value.userOptions.annotatorPalette,
621
- onClose: fn
615
+ svgRef: S(z),
616
+ backgroundColor: I.value.backgroundColor,
617
+ color: I.value.color,
618
+ active: Q.value,
619
+ isCursorPointer: L.value,
620
+ palette: N.value.annotatorPalette,
621
+ onClose: mn
622
622
  }, {
623
623
  "annotator-action-close": C(() => [b(e.$slots, "annotator-action-close", {}, void 0, !0)]),
624
624
  "annotator-action-color": C(({ color: t }) => [b(e.$slots, "annotator-action-color", g(h({ color: t })), void 0, !0)]),
@@ -635,14 +635,14 @@ var Re = /* @__PURE__ */ e({ default: () => w }), ze = ["id"], Be = ["id"], Ve =
635
635
  "isCursorPointer",
636
636
  "palette"
637
637
  ])) : u("", !0),
638
- Qt.value ? (v(), d("div", {
638
+ en.value ? (v(), d("div", {
639
639
  key: 2,
640
640
  ref_key: "noTitle",
641
641
  ref: At,
642
642
  class: "vue-data-ui-no-title-space",
643
643
  style: "height:36px; width: 100%;background:transparent"
644
644
  }, null, 512)) : u("", !0),
645
- P.value.style.chart.title.text ? (v(), d("div", {
645
+ I.value.title.text ? (v(), d("div", {
646
646
  key: 3,
647
647
  ref_key: "chartTitle",
648
648
  ref: Pt,
@@ -650,49 +650,49 @@ var Re = /* @__PURE__ */ e({ default: () => w }), ze = ["id"], Be = ["id"], Ve =
650
650
  }, [p(ge, { config: {
651
651
  title: {
652
652
  cy: "mood-radar-title",
653
- ...P.value.style.chart.title
653
+ ...I.value.title
654
654
  },
655
655
  subtitle: {
656
656
  cy: "mood-radar-subtitle",
657
- ...P.value.style.chart.title.subtitle
657
+ ...I.value.title.subtitle
658
658
  }
659
659
  } }, null, 8, ["config"])], 512)) : u("", !0),
660
660
  f("div", { id: `legend-top-${E.value}` }, null, 8, Ve),
661
- P.value.userOptions.show && zt.value && (S(Kt) || S(Wt)) ? (v(), l(S(Ct), {
661
+ N.value.show && Vt.value && (S(Jt) || S(Kt)) ? (v(), l(S(Ct), {
662
662
  key: 4,
663
663
  ref_key: "userOptionsRef",
664
- ref: Rt,
665
- backgroundColor: P.value.style.chart.backgroundColor,
666
- color: P.value.style.chart.color,
667
- isPrinting: S(Jt),
668
- isImaging: S(Yt),
664
+ ref: zt,
665
+ backgroundColor: I.value.backgroundColor,
666
+ color: I.value.color,
667
+ isPrinting: S(Xt),
668
+ isImaging: S(Zt),
669
669
  uid: E.value,
670
- hasPdf: P.value.userOptions.buttons.pdf,
671
- hasXls: P.value.userOptions.buttons.csv,
672
- hasImg: P.value.userOptions.buttons.img,
673
- hasSvg: P.value.userOptions.buttons.svg,
674
- hasTable: P.value.userOptions.buttons.table,
675
- hasFullscreen: P.value.userOptions.buttons.fullscreen,
676
- hasAltCopy: P.value.userOptions.buttons.altCopy,
677
- isFullscreen: Y.value,
678
- titles: { ...P.value.userOptions.buttonTitles },
670
+ hasPdf: N.value.buttons.pdf,
671
+ hasXls: N.value.buttons.csv,
672
+ hasImg: N.value.buttons.img,
673
+ hasSvg: N.value.buttons.svg,
674
+ hasTable: N.value.buttons.table,
675
+ hasFullscreen: N.value.buttons.fullscreen,
676
+ hasAltCopy: N.value.buttons.altCopy,
677
+ isFullscreen: Z.value,
678
+ titles: { ...N.value.buttonTitles },
679
679
  chartElement: D.value,
680
- position: P.value.userOptions.position,
681
- hasAnnotator: P.value.userOptions.buttons.annotator,
682
- isAnnotation: X.value,
683
- callbacks: P.value.userOptions.callbacks,
684
- printScale: P.value.userOptions.print.scale,
685
- tableDialog: P.value.table.useDialog,
686
- isCursorPointer: F.value,
687
- onToggleFullscreen: dn,
688
- onGeneratePdf: S(Xt),
689
- onGenerateCsv: cn,
690
- onGenerateImage: S(Sn),
691
- onGenerateSvg: S(xn),
692
- onToggleTable: un,
693
- onToggleAnnotator: fn,
694
- onCopyAlt: Cn,
695
- style: _({ visibility: S(Kt) ? S(Wt) ? "visible" : "hidden" : "visible" })
680
+ position: N.value.position,
681
+ hasAnnotator: N.value.buttons.annotator,
682
+ isAnnotation: Q.value,
683
+ callbacks: N.value.callbacks,
684
+ printScale: N.value.print.scale,
685
+ tableDialog: M.value.table.useDialog,
686
+ isCursorPointer: L.value,
687
+ onToggleFullscreen: pn,
688
+ onGeneratePdf: S(Qt),
689
+ onGenerateCsv: un,
690
+ onGenerateImage: S(Tn),
691
+ onGenerateSvg: S(wn),
692
+ onToggleTable: fn,
693
+ onToggleAnnotator: mn,
694
+ onCopyAlt: En,
695
+ style: _({ visibility: S(Jt) ? S(Kt) ? "visible" : "hidden" : "visible" })
696
696
  }, Oe({ _: 2 }, [
697
697
  e.$slots.menuIcon ? {
698
698
  name: "menuIcon",
@@ -761,27 +761,27 @@ var Re = /* @__PURE__ */ e({ default: () => w }), ze = ["id"], Be = ["id"], Ve =
761
761
  ]), 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),
762
762
  f("div", He, [(v(), d("svg", {
763
763
  ref_key: "svgRef",
764
- ref: L,
764
+ ref: z,
765
765
  xmlns: S(ae),
766
766
  "aria-describedby": `chart-instructions-${E.value}`,
767
- viewBox: `0 0 ${z.value.width} ${z.value.height}`,
767
+ viewBox: `0 0 ${V.value.width} ${V.value.height}`,
768
768
  class: Me({
769
- "vue-data-ui-fullscreen--on": Y.value,
770
- "vue-data-ui-fulscreen--off": !Y.value
769
+ "vue-data-ui-fullscreen--on": Z.value,
770
+ "vue-data-ui-fulscreen--off": !Z.value
771
771
  }),
772
- style: _(`overflow:visible;background:transparent;color:${P.value.style.chart.color}`),
772
+ style: _(`overflow:visible;background:transparent;color:${I.value.color}`),
773
773
  tabindex: "0",
774
- onFocus: An,
775
- onBlur: jn,
776
- onKeydown: Mn
774
+ onFocus: Pn,
775
+ onBlur: Fn,
776
+ onKeydown: In
777
777
  }, [
778
778
  p(S(wt)),
779
779
  e.$slots["chart-background"] ? (v(), d("foreignObject", {
780
780
  key: 0,
781
781
  x: 0,
782
782
  y: 0,
783
- width: z.value.width,
784
- height: z.value.height,
783
+ width: V.value.width,
784
+ height: V.value.height,
785
785
  style: { pointerEvents: "none" }
786
786
  }, [b(e.$slots, "chart-background", {}, void 0, !0)], 8, We)) : u("", !0),
787
787
  f("defs", null, [p(be, {
@@ -794,33 +794,33 @@ var Re = /* @__PURE__ */ e({ default: () => w }), ze = ["id"], Be = ["id"], Ve =
794
794
  id: `mood_radar_gradient_${E.value}`,
795
795
  stops: [[
796
796
  "0%",
797
- S(o)(P.value.style.chart.layout.dataPolygon.color, P.value.style.chart.layout.dataPolygon.opacity),
797
+ S(o)(F.value.dataPolygon.color, F.value.dataPolygon.opacity),
798
798
  1
799
799
  ], [
800
800
  "100%",
801
- S(o)(S(ee)(P.value.style.chart.layout.dataPolygon.color, P.value.style.chart.layout.dataPolygon.gradient.intensity / 100), P.value.style.chart.layout.dataPolygon.opacity),
801
+ S(o)(S(ee)(F.value.dataPolygon.color, F.value.dataPolygon.gradient.intensity / 100), F.value.dataPolygon.opacity),
802
802
  1
803
803
  ]]
804
804
  }, null, 8, ["id", "stops"])]),
805
- (v(!0), d(Ee, null, Pe(tn.value.coordinates, (e) => (v(), d("line", {
806
- x1: z.value.width / 2,
807
- y1: z.value.height / 2,
805
+ (v(!0), d(Ee, null, Pe(rn.value.coordinates, (e) => (v(), d("line", {
806
+ x1: V.value.width / 2,
807
+ y1: V.value.height / 2,
808
808
  x2: e.x,
809
809
  y2: e.y,
810
- stroke: P.value.style.chart.layout.grid.stroke,
811
- "stroke-width": P.value.style.chart.layout.grid.strokeWidth
810
+ stroke: F.value.grid.stroke,
811
+ "stroke-width": F.value.grid.strokeWidth
812
812
  }, null, 8, Ge))), 256)),
813
813
  f("path", {
814
- d: tn.value.path,
814
+ d: rn.value.path,
815
815
  fill: "none",
816
- stroke: P.value.style.chart.layout.outerPolygon.stroke,
817
- "stroke-width": P.value.style.chart.layout.outerPolygon.strokeWidth,
816
+ stroke: F.value.outerPolygon.stroke,
817
+ "stroke-width": F.value.outerPolygon.strokeWidth,
818
818
  "stroke-linejoin": "round",
819
819
  "stroke-linecap": "round"
820
820
  }, null, 8, Ke),
821
- f("g", { transform: B("5") }, [f("path", {
821
+ f("g", { transform: H("5") }, [f("path", {
822
822
  fill: "none",
823
- stroke: P.value.style.chart.layout.smileys.colors[5],
823
+ stroke: P.value.colors[5],
824
824
  "stroke-width": "1",
825
825
  "stroke-linecap": "round",
826
826
  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"
@@ -830,15 +830,15 @@ var Re = /* @__PURE__ */ e({ default: () => w }), ze = ["id"], Be = ["id"], Ve =
830
830
  cx: "128",
831
831
  cy: "25",
832
832
  r: "20",
833
- "aria-label": $("5"),
834
- fill: O.value === "5" ? S(o)(P.value.style.chart.layout.smileys.colors[5], 20) : "transparent",
835
- onMouseenter: t[0] ||= (e) => W("5"),
836
- onMouseleave: t[1] ||= (e) => G("5"),
837
- onClick: t[2] ||= (e) => K("5")
833
+ "aria-label": Mn("5"),
834
+ fill: O.value === "5" ? S(o)(P.value.colors[5], 20) : "transparent",
835
+ onMouseenter: t[0] ||= (e) => K("5"),
836
+ onMouseleave: t[1] ||= (e) => q("5"),
837
+ onClick: t[2] ||= (e) => J("5")
838
838
  }, null, 40, Ye)], 8, qe),
839
- f("g", { transform: B("4") }, [f("path", {
839
+ f("g", { transform: H("4") }, [f("path", {
840
840
  fill: "none",
841
- stroke: P.value.style.chart.layout.smileys.colors[4],
841
+ stroke: P.value.colors[4],
842
842
  "stroke-width": "1",
843
843
  "stroke-linecap": "round",
844
844
  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"
@@ -847,15 +847,15 @@ var Re = /* @__PURE__ */ e({ default: () => w }), ze = ["id"], Be = ["id"], Ve =
847
847
  cx: "227",
848
848
  cy: "95.5",
849
849
  r: "20",
850
- "aria-label": $("4"),
851
- fill: O.value === "4" ? S(o)(P.value.style.chart.layout.smileys.colors[4], 20) : "transparent",
852
- onMouseenter: t[3] ||= (e) => W("4"),
853
- onMouseleave: t[4] ||= (e) => G("4"),
854
- onClick: t[5] ||= (e) => K("4")
850
+ "aria-label": Mn("4"),
851
+ fill: O.value === "4" ? S(o)(P.value.colors[4], 20) : "transparent",
852
+ onMouseenter: t[3] ||= (e) => K("4"),
853
+ onMouseleave: t[4] ||= (e) => q("4"),
854
+ onClick: t[5] ||= (e) => J("4")
855
855
  }, null, 40, Qe)], 8, Xe),
856
- f("g", { transform: B("3") }, [f("path", {
856
+ f("g", { transform: H("3") }, [f("path", {
857
857
  fill: "none",
858
- stroke: P.value.style.chart.layout.smileys.colors[3],
858
+ stroke: P.value.colors[3],
859
859
  "stroke-width": "1",
860
860
  "stroke-linecap": "round",
861
861
  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"
@@ -864,15 +864,15 @@ var Re = /* @__PURE__ */ e({ default: () => w }), ze = ["id"], Be = ["id"], Ve =
864
864
  cx: "190",
865
865
  cy: "213.5",
866
866
  r: "20",
867
- "aria-label": $("3"),
868
- fill: O.value === "3" ? S(o)(P.value.style.chart.layout.smileys.colors[3], 20) : "transparent",
869
- onMouseenter: t[6] ||= (e) => W("3"),
870
- onMouseleave: t[7] ||= (e) => G("3"),
871
- onClick: t[8] ||= (e) => K("3")
867
+ "aria-label": Mn("3"),
868
+ fill: O.value === "3" ? S(o)(P.value.colors[3], 20) : "transparent",
869
+ onMouseenter: t[6] ||= (e) => K("3"),
870
+ onMouseleave: t[7] ||= (e) => q("3"),
871
+ onClick: t[8] ||= (e) => J("3")
872
872
  }, null, 40, tt)], 8, $e),
873
- f("g", { transform: B("2") }, [f("path", {
873
+ f("g", { transform: H("2") }, [f("path", {
874
874
  fill: "none",
875
- stroke: P.value.style.chart.layout.smileys.colors[2],
875
+ stroke: P.value.colors[2],
876
876
  "stroke-width": "1",
877
877
  "stroke-linecap": "round",
878
878
  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"
@@ -881,15 +881,15 @@ var Re = /* @__PURE__ */ e({ default: () => w }), ze = ["id"], Be = ["id"], Ve =
881
881
  cx: "65",
882
882
  cy: "213.5",
883
883
  r: "20",
884
- "aria-label": $("2"),
885
- fill: O.value === "2" ? S(o)(P.value.style.chart.layout.smileys.colors[2], 20) : "transparent",
886
- onMouseenter: t[9] ||= (e) => W("2"),
887
- onMouseleave: t[10] ||= (e) => G("2"),
888
- onClick: t[11] ||= (e) => K("2")
884
+ "aria-label": Mn("2"),
885
+ fill: O.value === "2" ? S(o)(P.value.colors[2], 20) : "transparent",
886
+ onMouseenter: t[9] ||= (e) => K("2"),
887
+ onMouseleave: t[10] ||= (e) => q("2"),
888
+ onClick: t[11] ||= (e) => J("2")
889
889
  }, null, 40, it)], 8, nt),
890
- f("g", { transform: B("1") }, [f("path", {
890
+ f("g", { transform: H("1") }, [f("path", {
891
891
  fill: "none",
892
- stroke: P.value.style.chart.layout.smileys.colors[1],
892
+ stroke: P.value.colors[1],
893
893
  "stroke-width": "1",
894
894
  "stroke-linecap": "round",
895
895
  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"
@@ -898,106 +898,106 @@ var Re = /* @__PURE__ */ e({ default: () => w }), ze = ["id"], Be = ["id"], Ve =
898
898
  cx: "29",
899
899
  cy: "95.5",
900
900
  r: "20",
901
- "aria-label": $("1"),
902
- fill: O.value === "1" ? S(o)(P.value.style.chart.layout.smileys.colors[1], 20) : "transparent",
903
- onMouseenter: t[12] ||= (e) => W("1"),
904
- onMouseleave: t[13] ||= (e) => G("1"),
905
- onClick: t[14] ||= (e) => K("1")
901
+ "aria-label": Mn("1"),
902
+ fill: O.value === "1" ? S(o)(P.value.colors[1], 20) : "transparent",
903
+ onMouseenter: t[12] ||= (e) => K("1"),
904
+ onMouseleave: t[13] ||= (e) => q("1"),
905
+ onClick: t[14] ||= (e) => J("1")
906
906
  }, null, 40, st)], 8, at),
907
907
  f("path", {
908
- d: S(i)(on.value.map((e) => e.plots)),
909
- stroke: P.value.style.chart.layout.dataPolygon.stroke,
910
- "stroke-width": P.value.style.chart.layout.dataPolygon.strokeWidth,
908
+ d: S(i)(cn.value.map((e) => e.plots)),
909
+ stroke: F.value.dataPolygon.stroke,
910
+ "stroke-width": F.value.dataPolygon.strokeWidth,
911
911
  "stroke-linecap": "round",
912
912
  "stroke-linejoin": "round",
913
- fill: P.value.style.chart.layout.dataPolygon.gradient.show ? `url(#mood_radar_gradient_${E.value})` : S(o)(P.value.style.chart.layout.dataPolygon.color, P.value.style.chart.layout.dataPolygon.opacity)
913
+ fill: F.value.dataPolygon.gradient.show ? `url(#mood_radar_gradient_${E.value})` : S(o)(F.value.dataPolygon.color, F.value.dataPolygon.opacity)
914
914
  }, null, 8, ct),
915
- (v(!0), d(Ee, null, Pe(on.value.map((e) => e.plots), (e, t) => (v(), d("g", {
915
+ (v(!0), d(Ee, null, Pe(cn.value.map((e) => e.plots), (e, t) => (v(), d("g", {
916
916
  class: "vue-ui-mood-radar-trap",
917
917
  style: _(`opacity:${O.value == e.key ? "1" : "0"}`)
918
918
  }, [
919
919
  f("line", {
920
920
  x1: e.x,
921
921
  y1: e.y,
922
- x2: z.value.width / 2,
923
- y2: z.value.height / 2,
924
- stroke: P.value.style.chart.layout.smileys.colors[e.key]
922
+ x2: V.value.width / 2,
923
+ y2: V.value.height / 2,
924
+ stroke: P.value.colors[e.key]
925
925
  }, null, 8, lt),
926
926
  f("circle", {
927
927
  cx: e.x,
928
928
  cy: e.y,
929
- fill: P.value.style.chart.layout.smileys.colors[e.key],
929
+ fill: P.value.colors[e.key],
930
930
  r: "3",
931
- stroke: P.value.style.chart.backgroundColor,
931
+ stroke: I.value.backgroundColor,
932
932
  "stroke-width": .5
933
933
  }, null, 8, ut),
934
934
  f("circle", {
935
- cx: z.value.width / 2,
936
- cy: z.value.height / 2,
937
- fill: P.value.style.chart.layout.smileys.colors[e.key],
935
+ cx: V.value.width / 2,
936
+ cy: V.value.height / 2,
937
+ fill: P.value.colors[e.key],
938
938
  r: "3",
939
- stroke: P.value.style.chart.backgroundColor,
939
+ stroke: I.value.backgroundColor,
940
940
  "stroke-width": .5
941
941
  }, null, 8, dt),
942
942
  f("text", {
943
- x: z.value.width / 2,
944
- y: ["5", 5].includes(e.key) ? z.value.height / 2 * 1.13 : z.value.height / 2 * .9375,
945
- fill: P.value.style.chart.layout.dataLabel.color,
943
+ x: V.value.width / 2,
944
+ y: ["5", 5].includes(e.key) ? V.value.height / 2 * 1.13 : V.value.height / 2 * .9375,
945
+ fill: F.value.dataLabel.color,
946
946
  "font-size": "12",
947
947
  "text-anchor": "middle",
948
- "font-weight": P.value.style.chart.layout.dataLabel.bold ? "bold" : "normal"
949
- }, x(S(ne)(P.value.style.chart.layout.dataLabel.formatter, e.value, S(s)({
950
- p: P.value.style.chart.layout.dataLabel.prefix,
948
+ "font-weight": F.value.dataLabel.bold ? "bold" : "normal"
949
+ }, x(S(ne)(F.value.dataLabel.formatter, e.value, S(s)({
950
+ p: F.value.dataLabel.prefix,
951
951
  v: e.value,
952
- s: P.value.style.chart.layout.dataLabel.suffix,
953
- r: P.value.style.chart.layout.dataLabel.roundingValue
952
+ s: F.value.dataLabel.suffix,
953
+ r: F.value.dataLabel.roundingValue
954
954
  }), {
955
955
  datapoint: e,
956
956
  seriesIndex: t
957
957
  })), 9, ft),
958
958
  f("text", {
959
- x: z.value.width / 2,
960
- y: ["5", 5].includes(e.key) ? z.value.height / 2 * 1.273 : z.value.height / 2 * .7968,
961
- fill: P.value.style.chart.layout.dataLabel.color,
959
+ x: V.value.width / 2,
960
+ y: ["5", 5].includes(e.key) ? V.value.height / 2 * 1.273 : V.value.height / 2 * .7968,
961
+ fill: F.value.dataLabel.color,
962
962
  "font-size": "12",
963
963
  "text-anchor": "middle"
964
964
  }, " (" + x(S(s)({
965
- v: e.value / V.value * 100,
965
+ v: e.value / U.value * 100,
966
966
  s: "%",
967
- r: P.value.style.chart.layout.dataLabel.roundingPercentage
967
+ r: F.value.dataLabel.roundingPercentage
968
968
  })) + ") ", 9, pt)
969
969
  ], 4))), 256)),
970
970
  b(e.$slots, "svg", { svg: {
971
- ...z.value,
972
- isPrintingImg: S(Jt) || S(Yt) || S(yn),
973
- isPrintingSvg: S(bn)
971
+ ...V.value,
972
+ isPrintingImg: S(Xt) || S(Zt) || S(Sn),
973
+ isPrintingSvg: S(Cn)
974
974
  } }, void 0, !0)
975
975
  ], 46, Ue)), e.$slots.hint ? (v(), d("div", mt, [b(e.$slots, "hint", g(h({
976
- hint: P.value.a11y.translations.keyboardNavigation,
977
- isVisible: N.value
976
+ hint: M.value.a11y.translations.keyboardNavigation,
977
+ isVisible: Bt.value
978
978
  })), void 0, !0)])) : u("", !0)]),
979
- e.$slots.watermark ? (v(), d("div", ht, [b(e.$slots, "watermark", g(h({ isPrinting: S(Jt) || S(Yt) || S(yn) || S(bn) })), void 0, !0)])) : u("", !0),
979
+ e.$slots.watermark ? (v(), d("div", ht, [b(e.$slots, "watermark", g(h({ isPrinting: S(Xt) || S(Zt) || S(Sn) || S(Cn) })), void 0, !0)])) : u("", !0),
980
980
  f("div", { id: `legend-bottom-${E.value}` }, null, 8, gt),
981
- Lt.value && (P.value.style.chart.legend.show || e.$slots.legend) ? (v(), l(De, {
981
+ Rt.value && (I.value.legend.show || e.$slots.legend) ? (v(), l(De, {
982
982
  key: 6,
983
- to: P.value.style.chart.legend.position === "top" ? `#legend-top-${E.value}` : `#legend-bottom-${E.value}`
983
+ to: I.value.legend.position === "top" ? `#legend-top-${E.value}` : `#legend-bottom-${E.value}`
984
984
  }, [f("div", {
985
985
  ref_key: "chartLegend",
986
986
  ref: Ft
987
- }, [b(e.$slots, "legend", { legend: H.value }, () => [P.value.style.chart.legend.show ? (v(), l(we, {
988
- legendSet: an.value,
989
- config: sn.value,
987
+ }, [b(e.$slots, "legend", { legend: W.value }, () => [I.value.legend.show ? (v(), l(we, {
988
+ legendSet: sn.value,
989
+ config: ln.value,
990
990
  key: `legend_${Nt.value}`,
991
- isCursorPointer: F.value,
991
+ isCursorPointer: L.value,
992
992
  style: {
993
993
  display: "flex",
994
994
  "row-gap": "6px"
995
995
  },
996
- onFocusMarker: t[15] ||= ({ legend: e }) => U(e.key)
996
+ onFocusMarker: t[15] ||= ({ legend: e }) => G(e.key)
997
997
  }, {
998
998
  item: C(({ legend: e, index: t }) => [f("div", {
999
999
  role: "button",
1000
- onClick: () => U(e.key),
1000
+ onClick: () => G(e.key),
1001
1001
  style: {
1002
1002
  display: "flex",
1003
1003
  "flex-direction": "row",
@@ -1005,41 +1005,41 @@ var Re = /* @__PURE__ */ e({ default: () => w }), ze = ["id"], Be = ["id"], Ve =
1005
1005
  "align-items": "center",
1006
1006
  margin: "3px 0"
1007
1007
  },
1008
- onKeydown: (t) => Nn(t, String(e.key))
1008
+ onKeydown: (t) => Ln(t, String(e.key))
1009
1009
  }, [
1010
1010
  e.key == 1 ? (v(), l(S(w), {
1011
1011
  key: 0,
1012
1012
  strokeWidth: 1,
1013
1013
  name: "moodSad",
1014
- stroke: P.value.style.chart.layout.smileys.colors[e.key]
1014
+ stroke: P.value.colors[e.key]
1015
1015
  }, null, 8, ["stroke"])) : u("", !0),
1016
1016
  e.key == 2 ? (v(), l(S(w), {
1017
1017
  key: 1,
1018
1018
  strokeWidth: 1,
1019
1019
  name: "moodFlat",
1020
- stroke: P.value.style.chart.layout.smileys.colors[e.key]
1020
+ stroke: P.value.colors[e.key]
1021
1021
  }, null, 8, ["stroke"])) : u("", !0),
1022
1022
  e.key == 3 ? (v(), l(S(w), {
1023
1023
  key: 2,
1024
1024
  strokeWidth: 1,
1025
1025
  name: "moodNeutral",
1026
- stroke: P.value.style.chart.layout.smileys.colors[e.key]
1026
+ stroke: P.value.colors[e.key]
1027
1027
  }, null, 8, ["stroke"])) : u("", !0),
1028
1028
  e.key == 4 ? (v(), l(S(w), {
1029
1029
  key: 3,
1030
1030
  strokeWidth: 1,
1031
1031
  name: "smiley",
1032
- stroke: P.value.style.chart.layout.smileys.colors[e.key]
1032
+ stroke: P.value.colors[e.key]
1033
1033
  }, null, 8, ["stroke"])) : u("", !0),
1034
1034
  e.key == 5 ? (v(), l(S(w), {
1035
1035
  key: 4,
1036
1036
  strokeWidth: 1,
1037
1037
  name: "moodHappy",
1038
- stroke: P.value.style.chart.layout.smileys.colors[e.key]
1038
+ stroke: P.value.colors[e.key]
1039
1039
  }, null, 8, ["stroke"])) : u("", !0),
1040
- S(Vt) ? u("", !0) : (v(), d("span", {
1040
+ S(Ut) ? u("", !0) : (v(), d("span", {
1041
1041
  key: 5,
1042
- style: _({ fontWeight: P.value.style.chart.legend.bold ? "bold" : "normal" })
1042
+ style: _({ fontWeight: I.value.legend.bold ? "bold" : "normal" })
1043
1043
  }, x(e.display), 5))
1044
1044
  ], 40, _t)]),
1045
1045
  _: 1
@@ -1051,27 +1051,27 @@ var Re = /* @__PURE__ */ e({ default: () => w }), ze = ["id"], Be = ["id"], Ve =
1051
1051
  e.$slots.source ? (v(), d("div", {
1052
1052
  key: 7,
1053
1053
  ref_key: "source",
1054
- ref: It,
1054
+ ref: Lt,
1055
1055
  dir: "auto"
1056
1056
  }, [b(e.$slots, "source", {}, void 0, !0)], 512)) : u("", !0),
1057
- zt.value && P.value.userOptions.buttons.table ? (v(), l(Fe(Z.value.component), Ae({ key: 8 }, Z.value.props, {
1057
+ Vt.value && N.value.buttons.table ? (v(), l(Fe(gn.value.component), Ae({ key: 8 }, gn.value.props, {
1058
1058
  ref_key: "tableUnit",
1059
- ref: j,
1060
- onClose: mn
1059
+ ref: A,
1060
+ onClose: _n
1061
1061
  }), Oe({
1062
1062
  content: C(() => [p(S(xt), {
1063
- colNames: J.value.colNames,
1064
- head: J.value.head,
1065
- body: J.value.body,
1066
- config: J.value.config,
1067
- title: P.value.table.useDialog ? "" : Z.value.title,
1068
- withCloseButton: !P.value.table.useDialog,
1069
- isCursorPointer: F.value,
1070
- onClose: mn
1063
+ colNames: X.value.colNames,
1064
+ head: X.value.head,
1065
+ body: X.value.body,
1066
+ config: X.value.config,
1067
+ title: M.value.table.useDialog ? "" : gn.value.title,
1068
+ withCloseButton: !M.value.table.useDialog,
1069
+ isCursorPointer: L.value,
1070
+ onClose: _n
1071
1071
  }, {
1072
1072
  th: C(({ th: e }) => [e === "__SUM__" ? (v(), d("div", vt, [p(S(w), {
1073
1073
  name: "sigma",
1074
- stroke: J.value.config.th.color,
1074
+ stroke: X.value.config.th.color,
1075
1075
  size: 16
1076
1076
  }, null, 8, ["stroke"])])) : (v(), d("div", yt, x(e), 1))]),
1077
1077
  td: C(({ td: e }) => [ke(x(e.name || e), 1)]),
@@ -1086,26 +1086,26 @@ var Re = /* @__PURE__ */ e({ default: () => w }), ze = ["id"], Be = ["id"], Ve =
1086
1086
  "isCursorPointer"
1087
1087
  ])]),
1088
1088
  _: 2
1089
- }, [P.value.table.useDialog ? {
1089
+ }, [M.value.table.useDialog ? {
1090
1090
  name: "title",
1091
- fn: C(() => [ke(x(Z.value.title), 1)]),
1091
+ fn: C(() => [ke(x(gn.value.title), 1)]),
1092
1092
  key: "0"
1093
- } : void 0, P.value.table.useDialog ? {
1093
+ } : void 0, M.value.table.useDialog ? {
1094
1094
  name: "actions",
1095
1095
  fn: C(() => [f("button", {
1096
1096
  tabindex: "0",
1097
1097
  class: "vue-ui-user-options-button",
1098
- onClick: t[16] ||= (e) => cn(P.value.userOptions.callbacks.csv),
1099
- style: _({ cursor: F.value ? "pointer" : "default" })
1098
+ onClick: t[16] ||= (e) => un(N.value.callbacks.csv),
1099
+ style: _({ cursor: L.value ? "pointer" : "default" })
1100
1100
  }, [p(S(w), {
1101
1101
  name: "fileCsv",
1102
- stroke: Z.value.props.color
1102
+ stroke: gn.value.props.color
1103
1103
  }, null, 8, ["stroke"])], 4)]),
1104
1104
  key: "1"
1105
1105
  } : void 0]), 1040)) : u("", !0),
1106
- b(e.$slots, "skeleton", {}, () => [S(Vt) ? (v(), l(de, { key: 0 })) : u("", !0)], !0)
1106
+ b(e.$slots, "skeleton", {}, () => [S(Ut) ? (v(), l(de, { key: 0 })) : u("", !0)], !0)
1107
1107
  ], 46, ze));
1108
1108
  }
1109
- }, [["__scopeId", "data-v-523b4360"]]);
1109
+ }, [["__scopeId", "data-v-02a8ef9b"]]);
1110
1110
  //#endregion
1111
1111
  export { Re as n, w as t };