vue-data-ui 3.6.0 → 3.7.1

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 (199) hide show
  1. package/README.md +26 -26
  2. package/dist/{Arrow-BGVin3AS.js → Arrow-CWYIBV-7.js} +1 -1
  3. package/dist/{BaseDraggableDialog-DhKIof09.js → BaseDraggableDialog-CRF94NJQ.js} +2 -2
  4. package/dist/{BaseIcon-DLFL0M4-.js → BaseIcon-CofSxalQ.js} +1 -1
  5. package/dist/{ColorPicker-CjIJvLdc.js → ColorPicker-e1-OSGlQ.js} +10 -10
  6. package/dist/{DataTable-UCyd_BQI.js → DataTable-CHaOCmsE.js} +2 -2
  7. package/dist/{Legend-D9ZTJKjh.js → Legend-Web3GjlR.js} +2 -2
  8. package/dist/{NonSvgPenAndPaper-a2UzZL0y.js → NonSvgPenAndPaper-CjYFLlns.js} +3 -3
  9. package/dist/{PackageVersion-D_4Hr4S4.js → PackageVersion-C82JCJOX.js} +1 -1
  10. package/dist/{PenAndPaper-BJSMejV9.js → PenAndPaper-HCZQTkqi.js} +20 -20
  11. package/dist/{Shape-CNXKB8O0.js → Shape-DE6X_t31.js} +3 -3
  12. package/dist/{Slicer-CJfhtoVn.js → Slicer-BFBBG6xv.js} +23 -23
  13. package/dist/{SlicerPreview-wXjV4LWO.js → SlicerPreview-D76aSViW.js} +2 -2
  14. package/dist/{SparkTooltip-BEewz-_Q.js → SparkTooltip-B2rpVWE1.js} +6 -6
  15. package/dist/{Title-Bb1VWCtR.js → Title-DfFUb9hd.js} +1 -1
  16. package/dist/{Tooltip-oWCO1HKy.js → Tooltip-WD0Ros6G.js} +1 -1
  17. package/dist/{UserOptions-BqmUW9Kp.js → UserOptions-B3I-s3Lw.js} +2 -2
  18. package/dist/components/arrow.js +1 -1
  19. package/dist/components/vue-ui-3d-bar.js +3 -3
  20. package/dist/components/vue-ui-accordion.js +1 -1
  21. package/dist/components/vue-ui-age-pyramid.js +3 -3
  22. package/dist/components/vue-ui-annotator.js +1 -1
  23. package/dist/components/vue-ui-bullet.js +3 -3
  24. package/dist/components/vue-ui-candlestick.js +3 -3
  25. package/dist/components/vue-ui-carousel-table.js +1 -1
  26. package/dist/components/vue-ui-chestnut.js +3 -3
  27. package/dist/components/vue-ui-chord.js +3 -3
  28. package/dist/components/vue-ui-circle-pack.js +3 -3
  29. package/dist/components/vue-ui-cursor.js +1 -1
  30. package/dist/components/vue-ui-dashboard.js +1 -1
  31. package/dist/components/vue-ui-digits.js +1 -1
  32. package/dist/components/vue-ui-donut-evolution.js +2 -2
  33. package/dist/components/vue-ui-donut.js +3 -3
  34. package/dist/components/vue-ui-dumbbell.js +3 -3
  35. package/dist/components/vue-ui-flow.js +3 -3
  36. package/dist/components/vue-ui-funnel.js +2 -2
  37. package/dist/components/vue-ui-galaxy.js +1 -1
  38. package/dist/components/vue-ui-gauge.js +1 -1
  39. package/dist/components/vue-ui-gizmo.js +1 -1
  40. package/dist/components/vue-ui-heatmap.js +1 -1
  41. package/dist/components/vue-ui-history-plot.js +3 -3
  42. package/dist/components/vue-ui-horizontal-bar.js +3 -3
  43. package/dist/components/vue-ui-icon.js +1 -1
  44. package/dist/components/vue-ui-kpi.js +1 -1
  45. package/dist/components/vue-ui-mini-loader.js +1 -1
  46. package/dist/components/vue-ui-molecule.js +3 -3
  47. package/dist/components/vue-ui-mood-radar.js +3 -3
  48. package/dist/components/vue-ui-nested-donuts.js +2 -2
  49. package/dist/components/vue-ui-onion.js +3 -3
  50. package/dist/components/vue-ui-parallel-coordinate-plot.js +1 -1
  51. package/dist/components/vue-ui-quadrant.js +3 -3
  52. package/dist/components/vue-ui-quick-chart.js +3 -3
  53. package/dist/components/vue-ui-radar.js +3 -3
  54. package/dist/components/vue-ui-rating.js +1 -1
  55. package/dist/components/vue-ui-relation-circle.js +3 -3
  56. package/dist/components/vue-ui-ridgeline.js +3 -3
  57. package/dist/components/vue-ui-rings.js +3 -3
  58. package/dist/components/vue-ui-scatter.js +3 -3
  59. package/dist/components/vue-ui-skeleton.js +1 -1
  60. package/dist/components/vue-ui-smiley.js +1 -1
  61. package/dist/components/vue-ui-spark-trend.js +1 -1
  62. package/dist/components/vue-ui-sparkbar.js +2 -2
  63. package/dist/components/vue-ui-sparkgauge.js +3 -3
  64. package/dist/components/vue-ui-sparkhistogram.js +3 -3
  65. package/dist/components/vue-ui-sparkline.js +3 -3
  66. package/dist/components/vue-ui-sparkstackbar.js +2 -2
  67. package/dist/components/vue-ui-stackbar.js +3 -3
  68. package/dist/components/vue-ui-stackline.js +1 -1
  69. package/dist/components/vue-ui-strip-plot.js +3 -3
  70. package/dist/components/vue-ui-table-heatmap.js +1 -1
  71. package/dist/components/vue-ui-table-sparkline.js +2 -2
  72. package/dist/components/vue-ui-table.js +1 -1
  73. package/dist/components/vue-ui-thermometer.js +3 -3
  74. package/dist/components/vue-ui-timer.js +1 -1
  75. package/dist/components/vue-ui-tiremarks.js +2 -2
  76. package/dist/components/vue-ui-treemap.js +3 -3
  77. package/dist/components/vue-ui-vertical-bar.js +1 -1
  78. package/dist/components/vue-ui-waffle.js +2 -2
  79. package/dist/components/vue-ui-wheel.js +1 -1
  80. package/dist/components/vue-ui-word-cloud.js +3 -3
  81. package/dist/components/vue-ui-world.js +1 -1
  82. package/dist/components/vue-ui-xy-canvas.js +3 -3
  83. package/dist/components/vue-ui-xy.js +3 -3
  84. package/dist/{dom-to-png--BNgrTZV.js → dom-to-png-CH2DfsJe.js} +1 -1
  85. package/dist/{img-BecE5qXd.js → img-DUzJeMlr.js} +1 -1
  86. package/dist/{lib-C_mNZmhD.js → lib-C5BH09_g.js} +111 -110
  87. package/dist/{pdf-DuG5j3Wv.js → pdf-BSWQncok.js} +1 -1
  88. package/dist/style.css +1 -1
  89. package/dist/types/vue-data-ui.d.ts +2 -0
  90. package/dist/{useAutoSizeLabelsInsideViewbox-BhzfwQ_k.js → useAutoSizeLabelsInsideViewbox-DOALwU4q.js} +7 -7
  91. package/dist/{useNestedProp-CIoDlpHu.js → useNestedProp-CWo6bftQ.js} +1 -1
  92. package/dist/{usePrinter-DTzqpYKF.js → usePrinter-DCJzEiS8.js} +2 -2
  93. package/dist/useThemeCheck-DGJ31Vi5.js +32 -0
  94. package/dist/{useTimeLabels-BGFjWgrv.js → useTimeLabels-C5qMhpbe.js} +50 -49
  95. package/dist/{vue-data-ui-BWuOXu_s.js → vue-data-ui-d-OXgGG3.js} +78 -78
  96. package/dist/vue-data-ui.js +225 -205
  97. package/dist/{vue-ui-3d-bar-BNQAuLqF.js → vue-ui-3d-bar-BLbSbx2V.js} +546 -517
  98. package/dist/{vue-ui-accordion-SSLXLlNz.js → vue-ui-accordion-DSdZUn2C.js} +3 -3
  99. package/dist/vue-ui-age-pyramid-DQ-xc-if.js +960 -0
  100. package/dist/{vue-ui-annotator-34Ld0u5M.js → vue-ui-annotator-DRaH8hXn.js} +7 -7
  101. package/dist/vue-ui-bullet-BvMdxLkK.js +657 -0
  102. package/dist/{vue-ui-candlestick-BcChw-8c.js → vue-ui-candlestick-DIWeygxV.js} +596 -561
  103. package/dist/{vue-ui-carousel-table-Cp_od0lI.js → vue-ui-carousel-table-DM2HJFMH.js} +48 -48
  104. package/dist/{vue-ui-chestnut-DTaIsP72.js → vue-ui-chestnut-DNOG6dqY.js} +534 -505
  105. package/dist/vue-ui-chord-D2wPt2JV.js +1182 -0
  106. package/dist/vue-ui-circle-pack-D_GDv7OV.js +832 -0
  107. package/dist/{vue-ui-cursor-lW-dVs_k.js → vue-ui-cursor-BMe8ZiV6.js} +2 -2
  108. package/dist/{vue-ui-dashboard-DIymn9Cx.js → vue-ui-dashboard-BMby447A.js} +140 -140
  109. package/dist/{vue-ui-digits-YHA3fA0j.js → vue-ui-digits-D382I0-w.js} +2 -2
  110. package/dist/{vue-ui-donut-BaDmbWLh.js → vue-ui-donut-BqiNPW3q.js} +634 -602
  111. package/dist/vue-ui-donut-evolution-BL7HtdsP.js +1243 -0
  112. package/dist/vue-ui-dumbbell-BlTDnM8L.js +1258 -0
  113. package/dist/vue-ui-flow-BxIv20FH.js +1026 -0
  114. package/dist/vue-ui-funnel-Tnjg4srR.js +743 -0
  115. package/dist/vue-ui-galaxy-CYDVXdNj.js +837 -0
  116. package/dist/vue-ui-gauge-DAcpazK7.js +864 -0
  117. package/dist/{vue-ui-gizmo-E33_xZte.js → vue-ui-gizmo-Bg2TpPwm.js} +3 -3
  118. package/dist/{vue-ui-heatmap-DJXMvFPp.js → vue-ui-heatmap-BPEE_cLi.js} +501 -466
  119. package/dist/vue-ui-history-plot-BhfbLer8.js +1239 -0
  120. package/dist/{vue-ui-kpi-C-XuLBVQ.js → vue-ui-kpi-CKMZDc3n.js} +3 -3
  121. package/dist/{vue-ui-mini-loader-DawncJvl.js → vue-ui-mini-loader-BN72OfS0.js} +2 -2
  122. package/dist/vue-ui-molecule-DnzXYuUi.js +782 -0
  123. package/dist/vue-ui-mood-radar-CXyQEfeM.js +930 -0
  124. package/dist/vue-ui-nested-donuts-Dq8JoU5d.js +1454 -0
  125. package/dist/vue-ui-onion-D0KUHi-Z.js +944 -0
  126. package/dist/vue-ui-parallel-coordinate-plot-DNc2L4Rg.js +1080 -0
  127. package/dist/{vue-ui-quadrant-B2bLWyCm.js → vue-ui-quadrant-Cp8loNVN.js} +510 -481
  128. package/dist/{vue-ui-quick-chart-J_RmCwI_.js → vue-ui-quick-chart-kuTdgAKG.js} +795 -758
  129. package/dist/vue-ui-radar-x2Ry_IGa.js +1013 -0
  130. package/dist/{vue-ui-rating-CBS8zaQd.js → vue-ui-rating-DtzmtJwF.js} +26 -26
  131. package/dist/vue-ui-relation-circle-DbYE9UHq.js +671 -0
  132. package/dist/vue-ui-ridgeline-yaMl8iIE.js +1302 -0
  133. package/dist/vue-ui-rings-BowsO9I8.js +884 -0
  134. package/dist/vue-ui-scatter-C_nz0A4x.js +1619 -0
  135. package/dist/{vue-ui-skeleton-DsrlMELy.js → vue-ui-skeleton-DdXq2gl1.js} +3 -3
  136. package/dist/{vue-ui-smiley-P_8WIBDD.js → vue-ui-smiley-OYyM-ukP.js} +2 -2
  137. package/dist/vue-ui-spark-trend-BLticwHl.js +364 -0
  138. package/dist/vue-ui-sparkbar-DC2sDr9_.js +381 -0
  139. package/dist/vue-ui-sparkgauge-BENUfyuR.js +260 -0
  140. package/dist/vue-ui-sparkhistogram-BY0jsNsc.js +411 -0
  141. package/dist/vue-ui-sparkline-fS36LGCB.js +549 -0
  142. package/dist/vue-ui-sparkstackbar-C59ocU83.js +470 -0
  143. package/dist/vue-ui-stackbar-BtWWtzDp.js +1867 -0
  144. package/dist/vue-ui-stackline-CsGEHOOr.js +1963 -0
  145. package/dist/{vue-ui-strip-plot-CTtivaxm.js → vue-ui-strip-plot-n_rEdwkM.js} +343 -314
  146. package/dist/{vue-ui-table-CHt3AQiq.js → vue-ui-table-Kv2YL5OU.js} +5 -5
  147. package/dist/vue-ui-table-heatmap-vQEFrjCX.js +307 -0
  148. package/dist/{vue-ui-table-sparkline-D5MckwMl.js → vue-ui-table-sparkline-B8CCAdco.js} +292 -263
  149. package/dist/vue-ui-thermometer-C1Hr_LrY.js +613 -0
  150. package/dist/{vue-ui-timer-B-Xa6ALH.js → vue-ui-timer-CmnO99_j.js} +25 -25
  151. package/dist/vue-ui-tiremarks-DbZbhw6Q.js +477 -0
  152. package/dist/vue-ui-treemap-BGMpUu5v.js +1359 -0
  153. package/dist/{vue-ui-vertical-bar-D9XQe_ud.js → vue-ui-vertical-bar-CWlGQoB3.js} +520 -485
  154. package/dist/{vue-ui-waffle-Bk98w86A.js → vue-ui-waffle-BVVrMghT.js} +376 -347
  155. package/dist/vue-ui-wheel-B2pFBeKR.js +690 -0
  156. package/dist/vue-ui-word-cloud-BqKSDn2J.js +904 -0
  157. package/dist/{vue-ui-world-xOY__pp8.js → vue-ui-world-glj9mQAg.js} +57 -57
  158. package/dist/vue-ui-xy-BdXV4naK.js +3455 -0
  159. package/dist/vue-ui-xy-canvas-Cr13t9M5.js +1599 -0
  160. package/dist/vue_ui_vertical_bar-CELc39b8.js +18 -0
  161. package/package.json +5 -5
  162. package/dist/themes-DH-N_ePR.js +0 -54
  163. package/dist/vue-ui-age-pyramid-DsOlpJBh.js +0 -933
  164. package/dist/vue-ui-bullet-Ci4lO4_W.js +0 -630
  165. package/dist/vue-ui-chord-BKC--Nbq.js +0 -1153
  166. package/dist/vue-ui-circle-pack-B3sfU0Vo.js +0 -803
  167. package/dist/vue-ui-donut-evolution-BqUzmyW2.js +0 -1208
  168. package/dist/vue-ui-dumbbell-CWKTrzsm.js +0 -1231
  169. package/dist/vue-ui-flow-SMbuDPdL.js +0 -991
  170. package/dist/vue-ui-funnel-3fRlMBzq.js +0 -716
  171. package/dist/vue-ui-galaxy-CFZ1xYD5.js +0 -808
  172. package/dist/vue-ui-gauge-DJpbjfpL.js +0 -835
  173. package/dist/vue-ui-history-plot-CvPMx5Lg.js +0 -1204
  174. package/dist/vue-ui-molecule-CasngKZI.js +0 -753
  175. package/dist/vue-ui-mood-radar-DGz2TQi4.js +0 -903
  176. package/dist/vue-ui-nested-donuts-Bjjz2sWG.js +0 -1419
  177. package/dist/vue-ui-onion-DwTIY6i1.js +0 -915
  178. package/dist/vue-ui-parallel-coordinate-plot-DedxvtPN.js +0 -1051
  179. package/dist/vue-ui-radar-D1rz2RnH.js +0 -984
  180. package/dist/vue-ui-relation-circle-DUfRwwo1.js +0 -641
  181. package/dist/vue-ui-ridgeline-DKPWMWRc.js +0 -1273
  182. package/dist/vue-ui-rings-BY0EQGLb.js +0 -855
  183. package/dist/vue-ui-scatter-ky9p5Pgh.js +0 -1590
  184. package/dist/vue-ui-spark-trend-DkJn_3FI.js +0 -337
  185. package/dist/vue-ui-sparkbar-qB1fmgej.js +0 -352
  186. package/dist/vue-ui-sparkgauge-BezFN_Rc.js +0 -233
  187. package/dist/vue-ui-sparkhistogram-DGt5b8FR.js +0 -384
  188. package/dist/vue-ui-sparkline-D7Wx1ejg.js +0 -514
  189. package/dist/vue-ui-sparkstackbar-DtO7-yim.js +0 -441
  190. package/dist/vue-ui-stackbar-Dr48I48D.js +0 -1832
  191. package/dist/vue-ui-stackline-Juns5Yh4.js +0 -1928
  192. package/dist/vue-ui-table-heatmap-Cn-56b5F.js +0 -282
  193. package/dist/vue-ui-thermometer-BOidpwAZ.js +0 -584
  194. package/dist/vue-ui-tiremarks-BsTyVS2P.js +0 -450
  195. package/dist/vue-ui-treemap-BWTaY91B.js +0 -1330
  196. package/dist/vue-ui-wheel-nj73b_Dc.js +0 -663
  197. package/dist/vue-ui-word-cloud-Dcaogr-D.js +0 -875
  198. package/dist/vue-ui-xy-BT67faLv.js +0 -3424
  199. package/dist/vue-ui-xy-canvas-BoB7-4QK.js +0 -1564
@@ -0,0 +1,930 @@
1
+ import { defineAsyncComponent as T, ref as i, computed as v, toRefs as gt, onMounted as ht, watch as Ae, createElementBlock as h, openBlock as s, unref as a, normalizeStyle as j, normalizeClass as we, createBlock as k, createCommentVNode as y, createElementVNode as n, withCtx as c, renderSlot as d, normalizeProps as C, guardReactiveProps as A, createVNode as G, createSlots as Fe, Fragment as xe, renderList as $e, toDisplayString as V, Teleport as ft, resolveDynamicComponent as pt, mergeProps as bt, createTextVNode as Pe, nextTick as De } from "vue";
2
+ import { c as kt, t as mt, o as Ct, g as _e, e as At, a as Te, d as H, X as wt, s as $, h as Ft, ac as xt, u as $t, q as Pt } from "./lib-C5BH09_g.js";
3
+ import { t as Dt, u as _t } from "./useResponsive-DfdjqQps.js";
4
+ import { u as Tt, a as oe } from "./useNestedProp-CWo6bftQ.js";
5
+ import { u as Mt, B as Bt } from "./BaseScanner-BgWxam9d.js";
6
+ import { u as Ot } from "./usePrinter-DCJzEiS8.js";
7
+ import { u as Et } from "./useSvgExport-DrjCWun4.js";
8
+ import { u as Nt } from "./useThemeCheck-DGJ31Vi5.js";
9
+ import { u as Lt } from "./useUserOptionState-BIvW1Kz7.js";
10
+ import { u as St } from "./useChartAccessibility-9icAAmYg.js";
11
+ import It from "./img-DUzJeMlr.js";
12
+ import Rt from "./Title-DfFUb9hd.js";
13
+ import jt from "./Legend-Web3GjlR.js";
14
+ import { _ as Vt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
15
+ const Me = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", layout: { grid: { stroke: "#4A4A4A" }, outerPolygon: { stroke: "#5A5A5A" }, dataLabel: { color: "#CCCCCC" } }, legend: { backgroundColor: "#1A1A1A", color: "#CCCCCC" }, title: { color: "#CCCCCC", subtitle: { color: "#757575" } } } }, table: { th: { backgroundColor: "#1A1A1A", color: "#CCCCCC" }, td: { backgroundColor: "#1A1A1A", color: "#CCCCCC" } } }, Be = { style: { chart: { backgroundColor: "#FFF8E1", color: "#424242", layout: { grid: { stroke: "#5D403780" }, outerPolygon: { stroke: "#5D4037" }, dataPolygon: { color: "#D32F2F", stroke: "#D32F2F" }, smileys: { colors: { 1: "#FFC107", 2: "#FF9800", 3: "#F57C00", 4: "#E64A19", 5: "#D32F2F" } }, dataLabel: { color: "#424242" } }, legend: { backgroundColor: "#FFF8E1", color: "#424242" }, title: { color: "#424242", subtitle: { color: "#757575" } } } }, table: { th: { backgroundColor: "#FFF8E1", color: "#424242" }, td: { backgroundColor: "#FFF8E1", color: "#424242" } } }, Oe = { style: { chart: { backgroundColor: "#1E1E1E", color: "#BDBDBD", layout: { grid: { stroke: "#5D403780" }, outerPolygon: { stroke: "#5D4037" }, dataPolygon: { color: "#D32F2F", stroke: "#D32F2F" }, smileys: { colors: { 1: "#FFC107", 2: "#FF9800", 3: "#F57C00", 4: "#E64A19", 5: "#D32F2F" } }, dataLabel: { color: "#BDBDBD" } }, legend: { backgroundColor: "#1E1E1E", color: "#BDBDBD" }, title: { color: "#FFF8E1", subtitle: { color: "#BDBDBD" } } } }, table: { th: { backgroundColor: "#FFF8E1", color: "#424242" }, td: { backgroundColor: "#FFF8E1", color: "#424242" } } }, Ee = { style: { chart: { backgroundColor: "#1A1A1A", color: "#99AA99", layout: { grid: { stroke: "#333333" }, outerPolygon: { stroke: "#334C33" }, dataPolygon: { color: "#33B333", stroke: "#00FF00" }, smileys: { colors: { 1: "#336633", 2: "#338033", 3: "#339933", 4: "#33E633", 5: "#00FF00" } }, dataLabel: { color: "#00FF00" } }, legend: { backgroundColor: "#1A1A1A", color: "#99AA99" }, title: { color: "#66CC66", subtitle: { color: "#99AA99" } } } }, table: { th: { backgroundColor: "#1A1A1A", color: "#99AA99" }, td: { backgroundColor: "#1A1A1A", color: "#AACCAA" } } }, Ne = { style: { chart: { backgroundColor: "#fbfafa", color: "#8A9892", layout: { grid: { stroke: "#C5B8A7" }, outerPolygon: { strokeWidth: 0 }, dataPolygon: { color: "#858480", stroke: "#C09E85" }, smileys: { colors: { 1: "#C09E85", 2: "#DCB482", 3: "#DFCA99", 4: "#E0CFC3", 5: "#B9B99D" } }, dataLabel: { color: "#606C5A" } }, legend: { backgroundColor: "#fbfafa", color: "#99AA99" }, title: { color: "#8A9892", subtitle: { color: "#99AA99" } } } }, table: { th: { backgroundColor: "#fbfafa", color: "#8F837A" }, td: { backgroundColor: "#fbfafa", color: "#8F837A" } } }, Le = { style: { chart: { backgroundColor: "#f6f6fb", color: "#50606C", layout: { grid: { stroke: "#61747E" }, outerPolygon: { stroke: "#50606C" }, dataPolygon: { color: "#A3C4BE", stroke: "#92B0B5" }, smileys: { colors: { 1: "#5C6B5B", 2: "#4A6A75", 3: "#6C94A0", 4: "#7DA9B5", 5: "#8EBFCA" } }, dataLabel: { color: "#50606C" } }, legend: { backgroundColor: "#f6f6fb", color: "#61747E" }, title: { color: "#50606C", subtitle: { color: "#718890" } } } }, table: { th: { backgroundColor: "#f6f6fb", color: "#50606C" }, td: { backgroundColor: "#f6f6fb", color: "#50606C" } } }, Se = {
16
+ default: {},
17
+ dark: Me,
18
+ celebration: Be,
19
+ celebrationNight: Oe,
20
+ hack: Ee,
21
+ zen: Ne,
22
+ concrete: Le
23
+ }, Ro = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
24
+ __proto__: null,
25
+ celebration: Be,
26
+ celebrationNight: Oe,
27
+ concrete: Le,
28
+ dark: Me,
29
+ default: Se,
30
+ hack: Ee,
31
+ zen: Ne
32
+ }, Symbol.toStringTag, { value: "Module" })), zt = ["id"], Ut = ["id"], Wt = ["xmlns", "viewBox"], Gt = ["width", "height"], Ht = ["id"], Xt = ["stop-color"], Kt = ["stop-color"], qt = ["x1", "y1", "x2", "y2", "stroke", "stroke-width"], Yt = ["d", "stroke", "stroke-width"], Jt = ["transform"], Qt = ["stroke"], Zt = ["fill"], eo = ["transform"], to = ["stroke"], oo = ["fill"], lo = ["transform"], ao = ["stroke"], no = ["fill"], ro = ["transform"], so = ["stroke"], uo = ["fill"], io = ["transform"], co = ["stroke"], vo = ["fill"], yo = ["d", "stroke", "stroke-width", "fill"], go = ["x1", "y1", "x2", "y2", "stroke"], ho = ["cx", "cy", "fill", "stroke"], fo = ["cx", "cy", "fill", "stroke"], po = ["x", "y", "fill", "font-weight"], bo = ["x", "y", "fill"], ko = {
33
+ key: 4,
34
+ class: "vue-data-ui-watermark"
35
+ }, mo = ["id"], Co = ["onClick"], Ao = ["innerHTML"], wo = {
36
+ __name: "vue-ui-mood-radar",
37
+ props: {
38
+ config: {
39
+ type: Object,
40
+ default() {
41
+ return {};
42
+ }
43
+ },
44
+ dataset: {
45
+ type: Object,
46
+ default() {
47
+ return {};
48
+ }
49
+ }
50
+ },
51
+ setup(Ie, { expose: Re }) {
52
+ const M = T(() => import("./BaseIcon-CofSxalQ.js")), je = T(() => import("./vue-ui-accordion-DSdZUn2C.js")), Ve = T(() => import("./DataTable-CHaOCmsE.js")), ze = T(() => import("./PenAndPaper-HCZQTkqi.js")), Ue = T(() => import("./UserOptions-B3I-s3Lw.js")), We = T(() => import("./PackageVersion-C82JCJOX.js")), Ge = T(() => import("./BaseDraggableDialog-CRF94NJQ.js")), { vue_ui_mood_radar: He } = Tt(), { isThemeValid: Xe, warnInvalidTheme: Ke } = Nt(), w = Ie, m = i(kt()), F = i(null), f = i(null), le = i(null), qe = i(0), Ye = i(0), ae = i(0), ne = i(null), re = i(null), E = i(null), z = i(null), se = i(null), ue = i(!1), N = i(null), X = i(null), ie = v(() => !!w.dataset && Object.keys(w.dataset).length), e = i(J()), { loading: K, FINAL_DATASET: P } = Mt({
53
+ ...gt(w),
54
+ FINAL_CONFIG: e,
55
+ prepareConfig: J,
56
+ callback: () => {
57
+ Promise.resolve().then(async () => {
58
+ await De(), D.value.showTable = e.value.table.show;
59
+ });
60
+ },
61
+ skeletonDataset: {
62
+ 1: 1,
63
+ 2: 1,
64
+ 3: 1,
65
+ 4: 1,
66
+ 5: 1
67
+ },
68
+ skeletonConfig: mt({
69
+ defaultConfig: e.value,
70
+ userConfig: {
71
+ userOptions: { show: !1 },
72
+ table: { show: !1 },
73
+ style: {
74
+ chart: {
75
+ backgroundColor: "#99999930",
76
+ layout: {
77
+ grid: {
78
+ stroke: "#6A6A6A"
79
+ },
80
+ outerPolygon: {
81
+ stroke: "#6A6A6A"
82
+ },
83
+ dataPolygon: {
84
+ color: "#6A6A6A",
85
+ opacity: 30,
86
+ stroke: "#6A6A6A"
87
+ },
88
+ smileys: {
89
+ colors: {
90
+ 1: "#DBDBDB",
91
+ 2: "#C4C4C4",
92
+ 3: "#ADADAD",
93
+ 4: "#969696",
94
+ 5: "#808080"
95
+ }
96
+ },
97
+ dataLabel: {
98
+ color: "transparent"
99
+ }
100
+ },
101
+ legend: {
102
+ backgroundColor: "transparent"
103
+ }
104
+ }
105
+ }
106
+ }
107
+ })
108
+ });
109
+ ht(() => {
110
+ ue.value = !0, ce();
111
+ });
112
+ const Je = v(() => e.value.debug);
113
+ function ce() {
114
+ if (Ct(w.dataset) && _e({
115
+ componentName: "VueUiMoodRadar",
116
+ type: "dataset",
117
+ debug: Je.value
118
+ }), e.value.responsive) {
119
+ const t = Dt(() => {
120
+ const { width: l, height: o } = _t({
121
+ chart: F.value,
122
+ title: e.value.style.chart.title.text ? ne.value : null,
123
+ legend: e.value.style.chart.legend.show ? re.value : null,
124
+ noTitle: le.value,
125
+ source: se.value
126
+ });
127
+ requestAnimationFrame(() => {
128
+ r.value.width = l, r.value.height = o - 12;
129
+ });
130
+ });
131
+ E.value && (z.value && E.value.unobserve(z.value), E.value.disconnect()), E.value = new ResizeObserver(t), z.value = F.value.parentNode, E.value.observe(z.value);
132
+ }
133
+ }
134
+ const { userOptionsVisible: q, setUserOptionsVisibility: de, keepUserOptionState: ve } = Lt({ config: e.value }), { svgRef: Y } = St({ config: e.value.style.chart.title });
135
+ function J() {
136
+ const t = oe({
137
+ userConfig: w.config,
138
+ defaultConfig: He
139
+ }), l = t.theme;
140
+ if (!l) return t;
141
+ if (!Xe.value(t))
142
+ return Ke(t), t;
143
+ const o = oe({
144
+ userConfig: Se[l] || w.config,
145
+ defaultConfig: t
146
+ });
147
+ return oe({
148
+ userConfig: w.config,
149
+ defaultConfig: o
150
+ });
151
+ }
152
+ Ae(() => w.config, (t) => {
153
+ e.value = J(), q.value = !e.value.userOptions.showOnChartHover, ce(), qe.value += 1, Ye.value += 1, ae.value += 1, D.value.showTable = e.value.table.show;
154
+ }, { deep: !0 });
155
+ const { isPrinting: ye, isImaging: ge, generatePdf: he, generateImage: fe } = Ot({
156
+ elementId: m.value,
157
+ fileName: e.value.style.chart.title.text || "vue-ui-mood-radar",
158
+ options: e.value.userOptions.print
159
+ }), Qe = v(() => e.value.userOptions.show && !e.value.style.chart.title.text), D = i({
160
+ showTable: e.value.table.show
161
+ }), r = i({
162
+ height: 256,
163
+ width: 256
164
+ }), Ze = {
165
+ 5: { x: 128, y: 35 },
166
+ 4: { x: 218, y: 98.5 },
167
+ 3: { x: 185, y: 204 },
168
+ 2: { x: 70, y: 204 },
169
+ 1: { x: 38.5, y: 98.5 }
170
+ }, et = v(() => {
171
+ const t = {};
172
+ return Z.value.forEach((l) => {
173
+ t[l.key] = { x: l.x, y: l.y };
174
+ }), t;
175
+ });
176
+ function L(t) {
177
+ const l = Ze[t], o = et.value[t] || l;
178
+ return `translate(${o.x - l.x}, ${o.y - l.y})`;
179
+ }
180
+ const Q = v(() => At({
181
+ plot: { x: r.value.width / 2, y: r.value.height / 2 },
182
+ radius: Math.min(r.value.height, r.value.width) * 0.35,
183
+ sides: 5,
184
+ rotation: 11
185
+ }));
186
+ function tt({ centerX: t, centerY: l, apexX: o, apexY: u, proportion: p, key: b, value: yt }) {
187
+ return {
188
+ x: t + (o - t) * p,
189
+ y: l + (u - l) * p,
190
+ key: b,
191
+ value: yt
192
+ };
193
+ }
194
+ const ot = v(() => Math.max(...Object.values(P.value).map((t) => isNaN(t) ? 0 : t))), _ = v(() => Object.values(P.value).reduce((t, l) => (isNaN(t) ? 0 : t) + (isNaN(l) ? 0 : l), 0)), g = v(() => Object.keys(P.value).map((t, l) => {
195
+ const o = typeof P.value[t] != "number" || isNaN(P.value[t]) ? 0 : P.value[t];
196
+ return {
197
+ index: l,
198
+ key: t,
199
+ value: o,
200
+ proportion: o / _.value,
201
+ color: e.value.style.chart.layout.smileys.colors[t]
202
+ };
203
+ }).sort((t, l) => l.key - t.key)), pe = v(() => g.value.map((t, l) => ({
204
+ ...t,
205
+ display: `${Te(
206
+ e.value.style.chart.layout.dataLabel.formatter,
207
+ t.value,
208
+ H({
209
+ p: e.value.style.chart.layout.dataLabel.prefix,
210
+ v: t.value,
211
+ s: e.value.style.chart.layout.dataLabel.suffix,
212
+ r: e.value.style.chart.layout.dataLabel.roundingValue
213
+ })
214
+ )}${K.value ? "" : ` (${H({
215
+ v: t.proportion * 100,
216
+ s: "%",
217
+ r: e.value.style.chart.legend.roundingPercentage
218
+ })})`}`
219
+ }))), Z = v(() => (["1", "2", "3", "4", "5"].forEach((t) => {
220
+ [null, void 0].includes(P.value[t]) && _e({
221
+ componentName: "VueUiMoodRadar",
222
+ type: "datasetAttribute",
223
+ property: t
224
+ });
225
+ }), Q.value.coordinates.map((t, l) => {
226
+ const o = tt({
227
+ centerX: r.value.width / 2,
228
+ centerY: r.value.height / 2,
229
+ apexX: t.x,
230
+ apexY: t.y,
231
+ proportion: g.value[l].value / ot.value,
232
+ key: g.value[l].key,
233
+ value: g.value[l].value
234
+ });
235
+ return {
236
+ ...t,
237
+ plots: o,
238
+ key: g.value[l].key
239
+ };
240
+ }))), lt = v(() => ({
241
+ cy: "mood-radar-legend",
242
+ backgroundColor: e.value.style.chart.legend.backgroundColor,
243
+ color: e.value.style.chart.legend.color,
244
+ fontSize: e.value.style.chart.legend.fontSize,
245
+ paddingBottom: 12,
246
+ fontWeight: e.value.style.chart.legend.bold ? "bold" : ""
247
+ }));
248
+ function at(t) {
249
+ t === f.value ? f.value = null : (f.value = t, B(t));
250
+ }
251
+ function S(t) {
252
+ f.value = t;
253
+ const l = g.value.find((o) => o.key === t);
254
+ e.value.events.datapointEnter && e.value.events.datapointEnter({ datapoint: l, seriesIndex: l.index });
255
+ }
256
+ function I(t) {
257
+ f.value = null;
258
+ const l = g.value.find((o) => o.key === t);
259
+ e.value.events.datapointLeave && e.value.events.datapointLeave({ datapoint: l, seriesIndex: l.index });
260
+ }
261
+ function B(t) {
262
+ const l = g.value.find((o) => o.key === t);
263
+ e.value.events.datapointClick && e.value.events.datapointClick({ datapoint: l, seriesIndex: l.index });
264
+ }
265
+ const x = v(() => {
266
+ const t = g.value.map((o) => ({
267
+ name: o.key,
268
+ color: o.color
269
+ })), l = g.value.map((o) => isNaN(o.value) ? 0 : o.value);
270
+ return { head: t, body: l };
271
+ });
272
+ function ee(t = null) {
273
+ De(() => {
274
+ const l = x.value.head.map((p, b) => [[
275
+ p.name
276
+ ], [x.value.body[b]], [isNaN(x.value.body[b] / _.value) ? "-" : x.value.body[b] / _.value * 100]]), o = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [[""], ["val"], ["%"]]].concat(l), u = $t(o);
277
+ t ? t(u) : Pt({ csvContent: u, title: e.value.style.chart.title.text || "vue-ui-mood-radar" });
278
+ });
279
+ }
280
+ const U = v(() => {
281
+ const t = [
282
+ ' <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>',
283
+ Number(_.value.toFixed(e.value.table.td.roundingValue)).toLocaleString(),
284
+ "100%"
285
+ ], l = x.value.head.map((p, b) => [
286
+ {
287
+ color: p.color,
288
+ name: p.name
289
+ },
290
+ x.value.body[b].toFixed(e.value.table.td.roundingValue),
291
+ isNaN(x.value.body[b] / _.value) ? "-" : (x.value.body[b] / _.value * 100).toFixed(e.value.table.td.roundingPercentage) + "%"
292
+ ]), o = {
293
+ th: {
294
+ backgroundColor: e.value.table.th.backgroundColor,
295
+ color: e.value.table.th.color,
296
+ outline: e.value.table.th.outline
297
+ },
298
+ td: {
299
+ backgroundColor: e.value.table.td.backgroundColor,
300
+ color: e.value.table.td.color,
301
+ outline: e.value.table.td.outline
302
+ },
303
+ breakpoint: e.value.table.responsiveBreakpoint
304
+ }, u = [
305
+ e.value.table.columnNames.series,
306
+ e.value.table.columnNames.value,
307
+ e.value.table.columnNames.percentage
308
+ ];
309
+ return {
310
+ head: t,
311
+ body: l,
312
+ config: o,
313
+ colNames: u
314
+ };
315
+ });
316
+ function nt() {
317
+ return g.value;
318
+ }
319
+ function be() {
320
+ D.value.showTable = !D.value.showTable;
321
+ }
322
+ const O = i(!1);
323
+ function ke(t) {
324
+ O.value = t;
325
+ }
326
+ const W = i(!1);
327
+ function te() {
328
+ W.value = !W.value;
329
+ }
330
+ async function rt({ scale: t = 2 } = {}) {
331
+ if (!F.value) return;
332
+ const { width: l, height: o } = F.value.getBoundingClientRect(), u = l / o, { imageUri: p, base64: b } = await It({ domElement: F.value, base64: !0, img: !0, scale: t });
333
+ return {
334
+ imageUri: p,
335
+ base64: b,
336
+ title: e.value.style.chart.title.text,
337
+ width: l,
338
+ height: o,
339
+ aspectRatio: u
340
+ };
341
+ }
342
+ const R = v(() => {
343
+ const t = e.value.table.useDialog && !e.value.table.show, l = D.value.showTable;
344
+ return {
345
+ component: t ? Ge : je,
346
+ title: `${e.value.style.chart.title.text}${e.value.style.chart.title.subtitle.text ? `: ${e.value.style.chart.title.subtitle.text}` : ""}`,
347
+ props: t ? {
348
+ backgroundColor: e.value.table.th.backgroundColor,
349
+ color: e.value.table.th.color,
350
+ headerColor: e.value.table.th.color,
351
+ headerBg: e.value.table.th.backgroundColor,
352
+ isFullscreen: O.value,
353
+ fullscreenParent: F.value,
354
+ forcedWidth: Math.min(800, window.innerWidth * 0.8)
355
+ } : {
356
+ hideDetails: !0,
357
+ config: {
358
+ open: l,
359
+ maxHeight: 1e4,
360
+ body: {
361
+ backgroundColor: e.value.style.chart.backgroundColor,
362
+ color: e.value.style.chart.color
363
+ },
364
+ head: {
365
+ backgroundColor: e.value.style.chart.backgroundColor,
366
+ color: e.value.style.chart.color
367
+ }
368
+ }
369
+ }
370
+ };
371
+ });
372
+ Ae(() => D.value.showTable, (t) => {
373
+ e.value.table.show || (t && e.value.table.useDialog && N.value ? N.value.open() : "close" in N.value && N.value.close());
374
+ });
375
+ function me() {
376
+ D.value.showTable = !1, X.value && X.value.setTableIconState(!1);
377
+ }
378
+ const st = v(() => pe.value.map((t) => ({
379
+ ...t,
380
+ name: t.display,
381
+ shape: "circle"
382
+ }))), ut = v(() => e.value.style.chart.backgroundColor), it = v(() => e.value.style.chart.legend), ct = v(() => e.value.style.chart.title), { exportSvg: dt, getSvg: vt } = Et({
383
+ svg: Y,
384
+ title: ct,
385
+ legend: it,
386
+ legendItems: st,
387
+ backgroundColor: ut
388
+ });
389
+ async function Ce({ isCb: t }) {
390
+ if (t) {
391
+ const { blob: l, url: o, text: u, dataUrl: p } = await vt();
392
+ e.value.userOptions.callbacks.svg({ blob: l, url: o, text: u, dataUrl: p });
393
+ } else
394
+ dt();
395
+ }
396
+ return Re({
397
+ getData: nt,
398
+ getImage: rt,
399
+ generatePdf: he,
400
+ generateCsv: ee,
401
+ generateImage: fe,
402
+ generateSvg: Ce,
403
+ toggleTable: be,
404
+ toggleAnnotator: te,
405
+ toggleFullscreen: ke
406
+ }), (t, l) => (s(), h("div", {
407
+ class: we(`vue-data-ui-component vue-ui-mood-radar ${O.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.value.useCssAnimation ? "" : "vue-ui-dna"}`),
408
+ ref_key: "moodRadarChart",
409
+ ref: F,
410
+ id: `${m.value}`,
411
+ style: j(`font-family:${e.value.style.fontFamily};width:100%; text-align:center;background:${e.value.style.chart.backgroundColor}`),
412
+ onMouseenter: l[16] || (l[16] = () => a(de)(!0)),
413
+ onMouseleave: l[17] || (l[17] = () => a(de)(!1))
414
+ }, [
415
+ e.value.userOptions.buttons.annotator ? (s(), k(a(ze), {
416
+ key: 0,
417
+ svgRef: a(Y),
418
+ backgroundColor: e.value.style.chart.backgroundColor,
419
+ color: e.value.style.chart.color,
420
+ active: W.value,
421
+ onClose: te
422
+ }, {
423
+ "annotator-action-close": c(() => [
424
+ d(t.$slots, "annotator-action-close", {}, void 0, !0)
425
+ ]),
426
+ "annotator-action-color": c(({ color: o }) => [
427
+ d(t.$slots, "annotator-action-color", C(A({ color: o })), void 0, !0)
428
+ ]),
429
+ "annotator-action-draw": c(({ mode: o }) => [
430
+ d(t.$slots, "annotator-action-draw", C(A({ mode: o })), void 0, !0)
431
+ ]),
432
+ "annotator-action-undo": c(({ disabled: o }) => [
433
+ d(t.$slots, "annotator-action-undo", C(A({ disabled: o })), void 0, !0)
434
+ ]),
435
+ "annotator-action-redo": c(({ disabled: o }) => [
436
+ d(t.$slots, "annotator-action-redo", C(A({ disabled: o })), void 0, !0)
437
+ ]),
438
+ "annotator-action-delete": c(({ disabled: o }) => [
439
+ d(t.$slots, "annotator-action-delete", C(A({ disabled: o })), void 0, !0)
440
+ ]),
441
+ _: 3
442
+ }, 8, ["svgRef", "backgroundColor", "color", "active"])) : y("", !0),
443
+ Qe.value ? (s(), h("div", {
444
+ key: 1,
445
+ ref_key: "noTitle",
446
+ ref: le,
447
+ class: "vue-data-ui-no-title-space",
448
+ style: "height:36px; width: 100%;background:transparent"
449
+ }, null, 512)) : y("", !0),
450
+ e.value.style.chart.title.text ? (s(), h("div", {
451
+ key: 2,
452
+ ref_key: "chartTitle",
453
+ ref: ne,
454
+ style: "width:100%;background:transparent"
455
+ }, [
456
+ G(Rt, {
457
+ config: {
458
+ title: {
459
+ cy: "mood-radar-title",
460
+ ...e.value.style.chart.title
461
+ },
462
+ subtitle: {
463
+ cy: "mood-radar-subtitle",
464
+ ...e.value.style.chart.title.subtitle
465
+ }
466
+ }
467
+ }, null, 8, ["config"])
468
+ ], 512)) : y("", !0),
469
+ n("div", {
470
+ id: `legend-top-${m.value}`
471
+ }, null, 8, Ut),
472
+ e.value.userOptions.show && ie.value && (a(ve) || a(q)) ? (s(), k(a(Ue), {
473
+ key: 3,
474
+ ref_key: "userOptionsRef",
475
+ ref: X,
476
+ backgroundColor: e.value.style.chart.backgroundColor,
477
+ color: e.value.style.chart.color,
478
+ isPrinting: a(ye),
479
+ isImaging: a(ge),
480
+ uid: m.value,
481
+ hasPdf: e.value.userOptions.buttons.pdf,
482
+ hasXls: e.value.userOptions.buttons.csv,
483
+ hasImg: e.value.userOptions.buttons.img,
484
+ hasSvg: e.value.userOptions.buttons.svg,
485
+ hasTable: e.value.userOptions.buttons.table,
486
+ hasFullscreen: e.value.userOptions.buttons.fullscreen,
487
+ isFullscreen: O.value,
488
+ titles: { ...e.value.userOptions.buttonTitles },
489
+ chartElement: F.value,
490
+ position: e.value.userOptions.position,
491
+ hasAnnotator: e.value.userOptions.buttons.annotator,
492
+ isAnnotation: W.value,
493
+ callbacks: e.value.userOptions.callbacks,
494
+ printScale: e.value.userOptions.print.scale,
495
+ tableDialog: e.value.table.useDialog,
496
+ onToggleFullscreen: ke,
497
+ onGeneratePdf: a(he),
498
+ onGenerateCsv: ee,
499
+ onGenerateImage: a(fe),
500
+ onGenerateSvg: Ce,
501
+ onToggleTable: be,
502
+ onToggleAnnotator: te,
503
+ style: j({
504
+ visibility: a(ve) ? a(q) ? "visible" : "hidden" : "visible"
505
+ })
506
+ }, Fe({ _: 2 }, [
507
+ t.$slots.menuIcon ? {
508
+ name: "menuIcon",
509
+ fn: c(({ isOpen: o, color: u }) => [
510
+ d(t.$slots, "menuIcon", C(A({ isOpen: o, color: u })), void 0, !0)
511
+ ]),
512
+ key: "0"
513
+ } : void 0,
514
+ t.$slots.optionPdf ? {
515
+ name: "optionPdf",
516
+ fn: c(() => [
517
+ d(t.$slots, "optionPdf", {}, void 0, !0)
518
+ ]),
519
+ key: "1"
520
+ } : void 0,
521
+ t.$slots.optionCsv ? {
522
+ name: "optionCsv",
523
+ fn: c(() => [
524
+ d(t.$slots, "optionCsv", {}, void 0, !0)
525
+ ]),
526
+ key: "2"
527
+ } : void 0,
528
+ t.$slots.optionImg ? {
529
+ name: "optionImg",
530
+ fn: c(() => [
531
+ d(t.$slots, "optionImg", {}, void 0, !0)
532
+ ]),
533
+ key: "3"
534
+ } : void 0,
535
+ t.$slots.optionSvg ? {
536
+ name: "optionSvg",
537
+ fn: c(() => [
538
+ d(t.$slots, "optionSvg", {}, void 0, !0)
539
+ ]),
540
+ key: "4"
541
+ } : void 0,
542
+ t.$slots.optionTable ? {
543
+ name: "optionTable",
544
+ fn: c(() => [
545
+ d(t.$slots, "optionTable", {}, void 0, !0)
546
+ ]),
547
+ key: "5"
548
+ } : void 0,
549
+ t.$slots.optionFullscreen ? {
550
+ name: "optionFullscreen",
551
+ fn: c(({ toggleFullscreen: o, isFullscreen: u }) => [
552
+ d(t.$slots, "optionFullscreen", C(A({ toggleFullscreen: o, isFullscreen: u })), void 0, !0)
553
+ ]),
554
+ key: "6"
555
+ } : void 0,
556
+ t.$slots.optionAnnotator ? {
557
+ name: "optionAnnotator",
558
+ fn: c(({ toggleAnnotator: o, isAnnotator: u }) => [
559
+ d(t.$slots, "optionAnnotator", C(A({ toggleAnnotator: o, isAnnotator: u })), void 0, !0)
560
+ ]),
561
+ key: "7"
562
+ } : void 0
563
+ ]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasPdf", "hasXls", "hasImg", "hasSvg", "hasTable", "hasFullscreen", "isFullscreen", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "callbacks", "printScale", "tableDialog", "onGeneratePdf", "onGenerateImage", "style"])) : y("", !0),
564
+ (s(), h("svg", {
565
+ ref_key: "svgRef",
566
+ ref: Y,
567
+ xmlns: a(wt),
568
+ viewBox: `0 0 ${r.value.width} ${r.value.height}`,
569
+ class: we({ "vue-data-ui-fullscreen--on": O.value, "vue-data-ui-fulscreen--off": !O.value }),
570
+ style: j(`overflow:visible;background:transparent;color:${e.value.style.chart.color}`)
571
+ }, [
572
+ G(a(We)),
573
+ t.$slots["chart-background"] ? (s(), h("foreignObject", {
574
+ key: 0,
575
+ x: 0,
576
+ y: 0,
577
+ width: r.value.width,
578
+ height: r.value.height,
579
+ style: {
580
+ pointerEvents: "none"
581
+ }
582
+ }, [
583
+ d(t.$slots, "chart-background", {}, void 0, !0)
584
+ ], 8, Gt)) : y("", !0),
585
+ n("defs", null, [
586
+ n("radialGradient", {
587
+ cx: "50%",
588
+ cy: "50%",
589
+ r: "50%",
590
+ fx: "50%",
591
+ fy: "50%",
592
+ id: `mood_radar_gradient_${m.value}`
593
+ }, [
594
+ n("stop", {
595
+ offset: "0%",
596
+ "stop-color": a($)(e.value.style.chart.layout.dataPolygon.color, e.value.style.chart.layout.dataPolygon.opacity)
597
+ }, null, 8, Xt),
598
+ n("stop", {
599
+ offset: "100%",
600
+ "stop-color": a($)(a(Ft)(e.value.style.chart.layout.dataPolygon.color, e.value.style.chart.layout.dataPolygon.gradient.intensity / 100), e.value.style.chart.layout.dataPolygon.opacity)
601
+ }, null, 8, Kt)
602
+ ], 8, Ht)
603
+ ]),
604
+ (s(!0), h(xe, null, $e(Q.value.coordinates, (o) => (s(), h("line", {
605
+ x1: r.value.width / 2,
606
+ y1: r.value.height / 2,
607
+ x2: o.x,
608
+ y2: o.y,
609
+ stroke: e.value.style.chart.layout.grid.stroke,
610
+ "stroke-width": e.value.style.chart.layout.grid.strokeWidth
611
+ }, null, 8, qt))), 256)),
612
+ n("path", {
613
+ d: Q.value.path,
614
+ fill: "none",
615
+ stroke: e.value.style.chart.layout.outerPolygon.stroke,
616
+ "stroke-width": e.value.style.chart.layout.outerPolygon.strokeWidth,
617
+ "stroke-linejoin": "round",
618
+ "stroke-linecap": "round"
619
+ }, null, 8, Yt),
620
+ n("g", {
621
+ transform: L("5")
622
+ }, [
623
+ n("path", {
624
+ fill: "none",
625
+ stroke: e.value.style.chart.layout.smileys.colors[5],
626
+ "stroke-width": "1",
627
+ "stroke-linecap": "round",
628
+ 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"
629
+ }, null, 8, Qt),
630
+ n("circle", {
631
+ class: "vue-ui-mood-radar-trap",
632
+ cx: "128",
633
+ cy: "25",
634
+ r: "20",
635
+ fill: f.value === "5" ? a($)(e.value.style.chart.layout.smileys.colors[5], 20) : "transparent",
636
+ onMouseenter: l[0] || (l[0] = (o) => S("5")),
637
+ onMouseleave: l[1] || (l[1] = (o) => I("5")),
638
+ onClick: l[2] || (l[2] = (o) => B("5"))
639
+ }, null, 40, Zt)
640
+ ], 8, Jt),
641
+ n("g", {
642
+ transform: L("4")
643
+ }, [
644
+ n("path", {
645
+ fill: "none",
646
+ stroke: e.value.style.chart.layout.smileys.colors[4],
647
+ "stroke-width": "1",
648
+ "stroke-linecap": "round",
649
+ 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"
650
+ }, null, 8, to),
651
+ n("circle", {
652
+ class: "vue-ui-mood-radar-trap",
653
+ cx: "227",
654
+ cy: "95.5",
655
+ r: "20",
656
+ fill: f.value === "4" ? a($)(e.value.style.chart.layout.smileys.colors[4], 20) : "transparent",
657
+ onMouseenter: l[3] || (l[3] = (o) => S("4")),
658
+ onMouseleave: l[4] || (l[4] = (o) => I("4")),
659
+ onClick: l[5] || (l[5] = (o) => B("4"))
660
+ }, null, 40, oo)
661
+ ], 8, eo),
662
+ n("g", {
663
+ transform: L("3")
664
+ }, [
665
+ n("path", {
666
+ fill: "none",
667
+ stroke: e.value.style.chart.layout.smileys.colors[3],
668
+ "stroke-width": "1",
669
+ "stroke-linecap": "round",
670
+ 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"
671
+ }, null, 8, ao),
672
+ n("circle", {
673
+ class: "vue-ui-mood-radar-trap",
674
+ cx: "190",
675
+ cy: "213.5",
676
+ r: "20",
677
+ fill: f.value === "3" ? a($)(e.value.style.chart.layout.smileys.colors[3], 20) : "transparent",
678
+ onMouseenter: l[6] || (l[6] = (o) => S("3")),
679
+ onMouseleave: l[7] || (l[7] = (o) => I("3")),
680
+ onClick: l[8] || (l[8] = (o) => B("3"))
681
+ }, null, 40, no)
682
+ ], 8, lo),
683
+ n("g", {
684
+ transform: L("2")
685
+ }, [
686
+ n("path", {
687
+ fill: "none",
688
+ stroke: e.value.style.chart.layout.smileys.colors[2],
689
+ "stroke-width": "1",
690
+ "stroke-linecap": "round",
691
+ 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"
692
+ }, null, 8, so),
693
+ n("circle", {
694
+ class: "vue-ui-mood-radar-trap",
695
+ cx: "65",
696
+ cy: "213.5",
697
+ r: "20",
698
+ fill: f.value === "2" ? a($)(e.value.style.chart.layout.smileys.colors[2], 20) : "transparent",
699
+ onMouseenter: l[9] || (l[9] = (o) => S("2")),
700
+ onMouseleave: l[10] || (l[10] = (o) => I("2")),
701
+ onClick: l[11] || (l[11] = (o) => B("2"))
702
+ }, null, 40, uo)
703
+ ], 8, ro),
704
+ n("g", {
705
+ transform: L("1")
706
+ }, [
707
+ n("path", {
708
+ fill: "none",
709
+ stroke: e.value.style.chart.layout.smileys.colors[1],
710
+ "stroke-width": "1",
711
+ "stroke-linecap": "round",
712
+ 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"
713
+ }, null, 8, co),
714
+ n("circle", {
715
+ class: "vue-ui-mood-radar-trap",
716
+ cx: "29",
717
+ cy: "95.5",
718
+ r: "20",
719
+ fill: f.value === "1" ? a($)(e.value.style.chart.layout.smileys.colors[1], 20) : "transparent",
720
+ onMouseenter: l[12] || (l[12] = (o) => S("1")),
721
+ onMouseleave: l[13] || (l[13] = (o) => I("1")),
722
+ onClick: l[14] || (l[14] = (o) => B("1"))
723
+ }, null, 40, vo)
724
+ ], 8, io),
725
+ n("path", {
726
+ d: a(xt)(Z.value.map((o) => o.plots)),
727
+ stroke: e.value.style.chart.layout.dataPolygon.stroke,
728
+ "stroke-width": e.value.style.chart.layout.dataPolygon.strokeWidth,
729
+ "stroke-linecap": "round",
730
+ "stroke-linejoin": "round",
731
+ fill: e.value.style.chart.layout.dataPolygon.gradient.show ? `url(#mood_radar_gradient_${m.value})` : a($)(e.value.style.chart.layout.dataPolygon.color, e.value.style.chart.layout.dataPolygon.opacity)
732
+ }, null, 8, yo),
733
+ (s(!0), h(xe, null, $e(Z.value.map((o) => o.plots), (o, u) => (s(), h("g", {
734
+ class: "vue-ui-mood-radar-trap",
735
+ style: j(`opacity:${f.value == o.key ? "1" : "0"}`)
736
+ }, [
737
+ n("line", {
738
+ x1: o.x,
739
+ y1: o.y,
740
+ x2: r.value.width / 2,
741
+ y2: r.value.height / 2,
742
+ stroke: e.value.style.chart.layout.smileys.colors[o.key]
743
+ }, null, 8, go),
744
+ n("circle", {
745
+ cx: o.x,
746
+ cy: o.y,
747
+ fill: e.value.style.chart.layout.smileys.colors[o.key],
748
+ r: "3",
749
+ stroke: e.value.style.chart.backgroundColor,
750
+ "stroke-width": 0.5
751
+ }, null, 8, ho),
752
+ n("circle", {
753
+ cx: r.value.width / 2,
754
+ cy: r.value.height / 2,
755
+ fill: e.value.style.chart.layout.smileys.colors[o.key],
756
+ r: "3",
757
+ stroke: e.value.style.chart.backgroundColor,
758
+ "stroke-width": 0.5
759
+ }, null, 8, fo),
760
+ n("text", {
761
+ x: r.value.width / 2,
762
+ y: ["5", 5].includes(o.key) ? r.value.height / 2 * 1.13 : r.value.height / 2 * 0.9375,
763
+ fill: e.value.style.chart.layout.dataLabel.color,
764
+ "font-size": "12",
765
+ "text-anchor": "middle",
766
+ "font-weight": e.value.style.chart.layout.dataLabel.bold ? "bold" : "normal"
767
+ }, V(a(Te)(
768
+ e.value.style.chart.layout.dataLabel.formatter,
769
+ o.value,
770
+ a(H)({
771
+ p: e.value.style.chart.layout.dataLabel.prefix,
772
+ v: o.value,
773
+ s: e.value.style.chart.layout.dataLabel.suffix,
774
+ r: e.value.style.chart.layout.dataLabel.roundingValue
775
+ }),
776
+ { datapoint: o, seriesIndex: u }
777
+ )), 9, po),
778
+ n("text", {
779
+ x: r.value.width / 2,
780
+ y: ["5", 5].includes(o.key) ? r.value.height / 2 * 1.273 : r.value.height / 2 * 0.7968,
781
+ fill: e.value.style.chart.layout.dataLabel.color,
782
+ "font-size": "12",
783
+ "text-anchor": "middle"
784
+ }, " (" + V(a(H)({
785
+ v: o.value / _.value * 100,
786
+ s: "%",
787
+ r: e.value.style.chart.layout.dataLabel.roundingPercentage
788
+ })) + ") ", 9, bo)
789
+ ], 4))), 256)),
790
+ d(t.$slots, "svg", { svg: r.value }, void 0, !0)
791
+ ], 14, Wt)),
792
+ t.$slots.watermark ? (s(), h("div", ko, [
793
+ d(t.$slots, "watermark", C(A({ isPrinting: a(ye) || a(ge) })), void 0, !0)
794
+ ])) : y("", !0),
795
+ n("div", {
796
+ id: `legend-bottom-${m.value}`
797
+ }, null, 8, mo),
798
+ ue.value ? (s(), k(ft, {
799
+ key: 5,
800
+ to: e.value.style.chart.legend.position === "top" ? `#legend-top-${m.value}` : `#legend-bottom-${m.value}`
801
+ }, [
802
+ n("div", {
803
+ ref_key: "chartLegend",
804
+ ref: re
805
+ }, [
806
+ e.value.style.chart.legend.show ? (s(), k(jt, {
807
+ legendSet: pe.value,
808
+ config: lt.value,
809
+ key: `legend_${ae.value}`,
810
+ style: { display: "flex", "row-gap": "6px" }
811
+ }, {
812
+ item: c(({ legend: o, index: u }) => [
813
+ n("div", {
814
+ onClick: () => at(o.key),
815
+ style: { display: "flex", "flex-direction": "row", gap: "3px", "align-items": "center", margin: "3px 0" }
816
+ }, [
817
+ o.key == 1 ? (s(), k(a(M), {
818
+ key: 0,
819
+ strokeWidth: 1,
820
+ name: "moodSad",
821
+ stroke: e.value.style.chart.layout.smileys.colors[o.key]
822
+ }, null, 8, ["stroke"])) : y("", !0),
823
+ o.key == 2 ? (s(), k(a(M), {
824
+ key: 1,
825
+ strokeWidth: 1,
826
+ name: "moodFlat",
827
+ stroke: e.value.style.chart.layout.smileys.colors[o.key]
828
+ }, null, 8, ["stroke"])) : y("", !0),
829
+ o.key == 3 ? (s(), k(a(M), {
830
+ key: 2,
831
+ strokeWidth: 1,
832
+ name: "moodNeutral",
833
+ stroke: e.value.style.chart.layout.smileys.colors[o.key]
834
+ }, null, 8, ["stroke"])) : y("", !0),
835
+ o.key == 4 ? (s(), k(a(M), {
836
+ key: 3,
837
+ strokeWidth: 1,
838
+ name: "smiley",
839
+ stroke: e.value.style.chart.layout.smileys.colors[o.key]
840
+ }, null, 8, ["stroke"])) : y("", !0),
841
+ o.key == 5 ? (s(), k(a(M), {
842
+ key: 4,
843
+ strokeWidth: 1,
844
+ name: "moodHappy",
845
+ stroke: e.value.style.chart.layout.smileys.colors[o.key]
846
+ }, null, 8, ["stroke"])) : y("", !0),
847
+ a(K) ? y("", !0) : (s(), h("span", {
848
+ key: 5,
849
+ style: j({ fontWeight: e.value.style.chart.legend.bold ? "bold" : "normal" })
850
+ }, V(o.display), 5))
851
+ ], 8, Co)
852
+ ]),
853
+ _: 1
854
+ }, 8, ["legendSet", "config"])) : y("", !0),
855
+ d(t.$slots, "legend", { legend: g.value }, void 0, !0)
856
+ ], 512)
857
+ ], 8, ["to"])) : y("", !0),
858
+ t.$slots.source ? (s(), h("div", {
859
+ key: 6,
860
+ ref_key: "source",
861
+ ref: se,
862
+ dir: "auto"
863
+ }, [
864
+ d(t.$slots, "source", {}, void 0, !0)
865
+ ], 512)) : y("", !0),
866
+ ie.value && e.value.userOptions.buttons.table ? (s(), k(pt(R.value.component), bt({ key: 7 }, R.value.props, {
867
+ ref_key: "tableUnit",
868
+ ref: N,
869
+ onClose: me
870
+ }), Fe({
871
+ content: c(() => [
872
+ G(a(Ve), {
873
+ colNames: U.value.colNames,
874
+ head: U.value.head,
875
+ body: U.value.body,
876
+ config: U.value.config,
877
+ title: e.value.table.useDialog ? "" : R.value.title,
878
+ withCloseButton: !e.value.table.useDialog,
879
+ onClose: me
880
+ }, {
881
+ th: c(({ th: o }) => [
882
+ n("div", {
883
+ innerHTML: o,
884
+ style: { display: "flex", "align-items": "center" }
885
+ }, null, 8, Ao)
886
+ ]),
887
+ td: c(({ td: o }) => [
888
+ Pe(V(o.name || o), 1)
889
+ ]),
890
+ _: 1
891
+ }, 8, ["colNames", "head", "body", "config", "title", "withCloseButton"])
892
+ ]),
893
+ _: 2
894
+ }, [
895
+ e.value.table.useDialog ? {
896
+ name: "title",
897
+ fn: c(() => [
898
+ Pe(V(R.value.title), 1)
899
+ ]),
900
+ key: "0"
901
+ } : void 0,
902
+ e.value.table.useDialog ? {
903
+ name: "actions",
904
+ fn: c(() => [
905
+ n("button", {
906
+ tabindex: "0",
907
+ class: "vue-ui-user-options-button",
908
+ onClick: l[15] || (l[15] = (o) => ee(e.value.userOptions.callbacks.csv))
909
+ }, [
910
+ G(a(M), {
911
+ name: "excel",
912
+ stroke: R.value.props.color
913
+ }, null, 8, ["stroke"])
914
+ ])
915
+ ]),
916
+ key: "1"
917
+ } : void 0
918
+ ]), 1040)) : y("", !0),
919
+ a(K) ? (s(), k(Bt, { key: 8 })) : y("", !0)
920
+ ], 46, zt));
921
+ }
922
+ }, Fo = /* @__PURE__ */ Vt(wo, [["__scopeId", "data-v-104510a1"]]), jo = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
923
+ __proto__: null,
924
+ default: Fo
925
+ }, Symbol.toStringTag, { value: "Module" }));
926
+ export {
927
+ Ro as a,
928
+ jo as b,
929
+ Fo as v
930
+ };