vue-data-ui 3.26.4 → 3.27.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (200) hide show
  1. package/dist/{Arrow-BW_Fs3gD.js → Arrow-DKO1l8oR.js} +1 -1
  2. package/dist/{BaseDraggableDialog-BniZj4c8.js → BaseDraggableDialog-C50TEJFv.js} +2 -2
  3. package/dist/{BaseIcon-CPBlYfWq.js → BaseIcon-Cx9FD751.js} +1 -1
  4. package/dist/{BaseLegendToggle-CWtURpCj.js → BaseLegendToggle-CP3sddwv.js} +1 -1
  5. package/dist/{BaseZoomControls-jfXIQvEi.js → BaseZoomControls-vNi8YykO.js} +2 -2
  6. package/dist/{ColorPicker-BKndMOAm.js → ColorPicker-hmC2bvwS.js} +2 -2
  7. package/dist/{DataTable-DV4Plrm3.js → DataTable-CjF_An2h.js} +2 -2
  8. package/dist/{HillActions-B45z2DmP.js → HillActions-DqqGB33u.js} +1 -1
  9. package/dist/{Legend-CJzCVAWl.js → Legend-CulFgjUY.js} +2 -2
  10. package/dist/{NonSvgPenAndPaper-B3I_UGDm.js → NonSvgPenAndPaper-BK1v_MfW.js} +3 -3
  11. package/dist/{PackageVersion-DEAYvEjl.js → PackageVersion-D7H9nfK0.js} +1 -1
  12. package/dist/{PenAndPaper-Dv8WPVwA.js → PenAndPaper-CNiuGw6k.js} +3 -3
  13. package/dist/{Shape-BIe6C0HJ.js → Shape-DSwamtmO.js} +1 -1
  14. package/dist/{SlicerPreview-8atniw0P.js → SlicerPreview-k5YerMA9.js} +12 -12
  15. package/dist/{SparkTooltip-DsGcGbm2.js → SparkTooltip-D35KVv6N.js} +6 -6
  16. package/dist/{Title-B4UpMerH.js → Title-BMCuINbv.js} +1 -1
  17. package/dist/{Tooltip-BmfGHn1L.js → Tooltip-C4ZTwkLF.js} +1 -1
  18. package/dist/{UserOptions-C92R4ACT.js → UserOptions-CORYQiif.js} +2 -2
  19. package/dist/components/arrow.js +1 -1
  20. package/dist/components/vue-ui-3d-bar.js +1 -1
  21. package/dist/components/vue-ui-accordion.js +1 -1
  22. package/dist/components/vue-ui-age-pyramid.js +1 -1
  23. package/dist/components/vue-ui-annotator.js +1 -1
  24. package/dist/components/vue-ui-bullet.js +1 -1
  25. package/dist/components/vue-ui-bump.js +1 -1
  26. package/dist/components/vue-ui-candlestick.js +1 -1
  27. package/dist/components/vue-ui-carousel-table.js +1 -1
  28. package/dist/components/vue-ui-chestnut.js +1 -1
  29. package/dist/components/vue-ui-chord.js +1 -1
  30. package/dist/components/vue-ui-circle-pack.js +1 -1
  31. package/dist/components/vue-ui-cursor.js +1 -1
  32. package/dist/components/vue-ui-dag.js +1 -1
  33. package/dist/components/vue-ui-dashboard.js +1 -1
  34. package/dist/components/vue-ui-digits.js +1 -1
  35. package/dist/components/vue-ui-donut-evolution.js +1 -1
  36. package/dist/components/vue-ui-donut.js +1 -1
  37. package/dist/components/vue-ui-dumbbell.js +1 -1
  38. package/dist/components/vue-ui-flow.js +1 -1
  39. package/dist/components/vue-ui-funnel.js +1 -1
  40. package/dist/components/vue-ui-galaxy.js +1 -1
  41. package/dist/components/vue-ui-gauge.js +1 -1
  42. package/dist/components/vue-ui-geo.js +1 -1
  43. package/dist/components/vue-ui-gizmo.js +1 -1
  44. package/dist/components/vue-ui-heatmap.js +1 -1
  45. package/dist/components/vue-ui-hill.js +1 -1
  46. package/dist/components/vue-ui-history-plot.js +1 -1
  47. package/dist/components/vue-ui-horizontal-bar.js +1 -1
  48. package/dist/components/vue-ui-icon.js +1 -1
  49. package/dist/components/vue-ui-kpi.js +1 -1
  50. package/dist/components/vue-ui-label.js +1 -1
  51. package/dist/components/vue-ui-mini-loader.js +1 -1
  52. package/dist/components/vue-ui-molecule.js +1 -1
  53. package/dist/components/vue-ui-mood-radar.js +1 -1
  54. package/dist/components/vue-ui-nested-donuts.js +1 -1
  55. package/dist/components/vue-ui-onion.js +1 -1
  56. package/dist/components/vue-ui-parallel-coordinate-plot.js +1 -1
  57. package/dist/components/vue-ui-quadrant.js +1 -1
  58. package/dist/components/vue-ui-quick-chart.js +1 -1
  59. package/dist/components/vue-ui-radar.js +1 -1
  60. package/dist/components/vue-ui-rating.js +1 -1
  61. package/dist/components/vue-ui-relation-circle.js +1 -1
  62. package/dist/components/vue-ui-ridgeline.js +1 -1
  63. package/dist/components/vue-ui-rings.js +1 -1
  64. package/dist/components/vue-ui-scatter.js +1 -1
  65. package/dist/components/vue-ui-skeleton.js +1 -1
  66. package/dist/components/vue-ui-smiley.js +1 -1
  67. package/dist/components/vue-ui-spark-trend.js +1 -1
  68. package/dist/components/vue-ui-sparkbar.js +1 -1
  69. package/dist/components/vue-ui-sparkgauge.js +1 -1
  70. package/dist/components/vue-ui-sparkhistogram.js +1 -1
  71. package/dist/components/vue-ui-sparkline.js +1 -1
  72. package/dist/components/vue-ui-sparkstackbar.js +1 -1
  73. package/dist/components/vue-ui-stackbar.js +1 -1
  74. package/dist/components/vue-ui-stackline.js +1 -1
  75. package/dist/components/vue-ui-strip-plot.js +1 -1
  76. package/dist/components/vue-ui-table-heatmap.js +1 -1
  77. package/dist/components/vue-ui-table-sparkline.js +1 -1
  78. package/dist/components/vue-ui-table.js +1 -1
  79. package/dist/components/vue-ui-thermometer.js +1 -1
  80. package/dist/components/vue-ui-timer.js +1 -1
  81. package/dist/components/vue-ui-tiremarks.js +1 -1
  82. package/dist/components/vue-ui-treemap.js +1 -1
  83. package/dist/components/vue-ui-vertical-bar.js +1 -1
  84. package/dist/components/vue-ui-waffle.js +1 -1
  85. package/dist/components/vue-ui-wheel.js +1 -1
  86. package/dist/components/vue-ui-word-cloud.js +1 -1
  87. package/dist/components/vue-ui-world.js +1 -1
  88. package/dist/components/vue-ui-xy-canvas.js +1 -1
  89. package/dist/components/vue-ui-xy.js +1 -1
  90. package/dist/{dom-to-png-BL08UcHI.js → dom-to-png-CBusMkua.js} +1 -1
  91. package/dist/{exposedLib-CBUiJ5b-.js → exposedLib-UNxZlnAS.js} +10 -10
  92. package/dist/{img--C0otIB0.js → img-Bb5rHcpO.js} +1 -1
  93. package/dist/{labelUtils-CfQIxXGL.js → labelUtils-Ccn9kK7T.js} +1 -1
  94. package/dist/{lib-DTiqmM1G.js → lib-D4wK6ljP.js} +130 -136
  95. package/dist/{package-Dj6ohGVJ.js → package-DmQufM0G.js} +1 -1
  96. package/dist/{pdf-CbSwKZjC.js → pdf-BzIQHx-F.js} +1 -1
  97. package/dist/{render-common-vuBsglf8.js → render-common-BtfjXdkJ.js} +10 -10
  98. package/dist/ssr/vue-ui-donut.js +1 -1
  99. package/dist/ssr/vue-ui-xy.js +1 -1
  100. package/dist/ssr.js +2 -2
  101. package/dist/style.css +1 -1
  102. package/dist/types/vue-data-ui.d.ts +212 -60
  103. package/dist/types/vue-ui-stackbar.d.ts +10 -0
  104. package/dist/{useConfig-DObkR9Aa.js → useConfig-D_6ZrPMD.js} +82 -0
  105. package/dist/{useNestedProp-D8cRQaVo.js → useNestedProp-DR_8JPol.js} +1 -1
  106. package/dist/{useObjectBindings-CPmyIJxB.js → useObjectBindings-DvasYMGu.js} +2 -2
  107. package/dist/{usePrinter-R2nu9g4B.js → usePrinter-DdW2GSm0.js} +2 -2
  108. package/dist/utils.js +10 -10
  109. package/dist/{vue-data-ui-CijFk00w.js → vue-data-ui-Df7WV80w.js} +70 -70
  110. package/dist/vue-data-ui.js +75 -75
  111. package/dist/{vue-ui-3d-bar-BxmndVBz.js → vue-ui-3d-bar-CJjNPwhG.js} +463 -463
  112. package/dist/{vue-ui-accordion-CxMo-mXC.js → vue-ui-accordion-CaoNWreI.js} +4 -4
  113. package/dist/{vue-ui-age-pyramid-ysX_ySuK.js → vue-ui-age-pyramid-BYcM0uIP.js} +22 -22
  114. package/dist/{vue-ui-annotator-IAqTX-5M.js → vue-ui-annotator-BmqjDjRF.js} +10 -10
  115. package/dist/{vue-ui-bullet-rO5_pB7t.js → vue-ui-bullet-DBOAvpBB.js} +18 -18
  116. package/dist/vue-ui-bump-rPYwDJ4o.js +1242 -0
  117. package/dist/{vue-ui-candlestick-BLxP54W4.js → vue-ui-candlestick-WQHIQNv_.js} +625 -625
  118. package/dist/{vue-ui-carousel-table-DHbt40ze.js → vue-ui-carousel-table-Dojcvt49.js} +106 -106
  119. package/dist/{vue-ui-chestnut-CHHZx5ek.js → vue-ui-chestnut-BdhEByUf.js} +65 -65
  120. package/dist/{vue-ui-chord-WmqFMK4A.js → vue-ui-chord-MF4xF5az.js} +46 -46
  121. package/dist/{vue-ui-circle-pack-D2RXFToP.js → vue-ui-circle-pack-BwDim7G8.js} +26 -26
  122. package/dist/{vue-ui-cursor-CDf6s7AZ.js → vue-ui-cursor-w_5cbpSb.js} +61 -61
  123. package/dist/{vue-ui-dag-Ba3Bkxd7.js → vue-ui-dag-D2EUqeDN.js} +65 -65
  124. package/dist/{vue-ui-dashboard-DKCEm56d.js → vue-ui-dashboard-BLnVXosj.js} +70 -70
  125. package/dist/{vue-ui-digits-B6cSEytP.js → vue-ui-digits-zSqwYWHm.js} +4 -4
  126. package/dist/{vue-ui-donut-BfAlXtvS.js → vue-ui-donut-ZYZfqIhi.js} +117 -117
  127. package/dist/{vue-ui-donut-evolution-C2TYUKag.js → vue-ui-donut-evolution-DtLbWi3h.js} +216 -216
  128. package/dist/vue-ui-donut-nLDLZwig.js +2427 -0
  129. package/dist/{vue-ui-dumbbell-GMQ4JZf_.js → vue-ui-dumbbell-Qgn3wRyI.js} +20 -20
  130. package/dist/{vue-ui-flow-B53jXaVQ.js → vue-ui-flow-iSH6dyGw.js} +109 -109
  131. package/dist/vue-ui-funnel-Cc2z2zS5.js +749 -0
  132. package/dist/{vue-ui-galaxy-CE7LYi8M.js → vue-ui-galaxy-GhuBSU0o.js} +267 -267
  133. package/dist/vue-ui-gauge-BAjBO13a.js +934 -0
  134. package/dist/{vue-ui-geo-B4a2hwYf.js → vue-ui-geo-mwTtvIHY.js} +19 -19
  135. package/dist/{vue-ui-gizmo-CY4cLNcJ.js → vue-ui-gizmo-B5vOOrZX.js} +4 -4
  136. package/dist/vue-ui-heatmap-fimkY1nN.js +1613 -0
  137. package/dist/{vue-ui-hill-CTPzgkCs.js → vue-ui-hill-DPfTt3UE.js} +18 -18
  138. package/dist/{vue-ui-history-plot-CGFijdmp.js → vue-ui-history-plot-B1WgzqTb.js} +53 -53
  139. package/dist/vue-ui-horizontal-bar-Bkp5HQdt.js +1723 -0
  140. package/dist/{vue-ui-kpi-Bu2OpF5d.js → vue-ui-kpi-D-p0CSQh.js} +4 -4
  141. package/dist/{vue-ui-label-CWFQzKOy.js → vue-ui-label-r3-QloJL.js} +65 -65
  142. package/dist/{vue-ui-mini-loader-hdh8SSxW.js → vue-ui-mini-loader-CnrBGAtM.js} +3 -3
  143. package/dist/vue-ui-molecule-BhdAYX_H.js +941 -0
  144. package/dist/vue-ui-mood-radar-CdlnPrQf.js +1111 -0
  145. package/dist/{vue-ui-nested-donuts-DN2PgxeK.js → vue-ui-nested-donuts-DceVEyUc.js} +341 -341
  146. package/dist/{vue-ui-onion-lrDciRpg.js → vue-ui-onion-_L0uEATI.js} +209 -209
  147. package/dist/vue-ui-parallel-coordinate-plot-CbXwIM47.js +1444 -0
  148. package/dist/{vue-ui-quadrant-DrcflMPg.js → vue-ui-quadrant-CDDFLRcX.js} +55 -55
  149. package/dist/{vue-ui-quick-chart-D5ZFV0Aj.js → vue-ui-quick-chart-Dom257hl.js} +377 -377
  150. package/dist/vue-ui-radar-BLdri1bA.js +1386 -0
  151. package/dist/{vue-ui-rating-DxBJXbPW.js → vue-ui-rating-C_iTttXB.js} +25 -25
  152. package/dist/vue-ui-relation-circle-BmxTSgjd.js +905 -0
  153. package/dist/vue-ui-ridgeline-CsUrcVmL.js +1630 -0
  154. package/dist/{vue-ui-rings-6OHcBlOC.js → vue-ui-rings-D_GPkgbD.js} +318 -318
  155. package/dist/vue-ui-scatter-D_C-IhnW.js +2418 -0
  156. package/dist/{vue-ui-skeleton--HlS7ySk.js → vue-ui-skeleton-t7e6KEZ2.js} +60 -60
  157. package/dist/{vue-ui-smiley-ZrM6-QCy.js → vue-ui-smiley-Dl95YWVo.js} +14 -14
  158. package/dist/{vue-ui-spark-trend-CIfpocxI.js → vue-ui-spark-trend-pkZA7u5V.js} +20 -20
  159. package/dist/{vue-ui-sparkbar-Db7Ntacd.js → vue-ui-sparkbar-Ds7OJjhG.js} +77 -77
  160. package/dist/{vue-ui-sparkgauge-DEuNFkU_.js → vue-ui-sparkgauge-US1M88qc.js} +6 -6
  161. package/dist/vue-ui-sparkhistogram-FISVpSvv.js +589 -0
  162. package/dist/{vue-ui-sparkline-CSsnkXMJ.js → vue-ui-sparkline-DvE1dHcs.js} +37 -37
  163. package/dist/{vue-ui-sparkstackbar-BnN7KebI.js → vue-ui-sparkstackbar-CWtF9eG-.js} +39 -39
  164. package/dist/vue-ui-stackbar-fMgrHzZe.js +3273 -0
  165. package/dist/{vue-ui-stackline-CqjwxpU1.js → vue-ui-stackline-CSMuUup2.js} +303 -303
  166. package/dist/vue-ui-strip-plot-TGD2UFHS.js +1752 -0
  167. package/dist/{vue-ui-table-CsMozTrM.js → vue-ui-table-BCEIbg8-.js} +14 -14
  168. package/dist/{vue-ui-table-heatmap-DFcESbBy.js → vue-ui-table-heatmap-CvUcFWMf.js} +9 -9
  169. package/dist/vue-ui-table-sparkline-CoVQ1qGY.js +738 -0
  170. package/dist/vue-ui-thermometer-BYFAZCzh.js +758 -0
  171. package/dist/{vue-ui-timer-CFxvU_q1.js → vue-ui-timer-BKr8RVnn.js} +10 -10
  172. package/dist/{vue-ui-tiremarks-DIjsyNwO.js → vue-ui-tiremarks-BYu3cEoy.js} +35 -35
  173. package/dist/{vue-ui-treemap-BuvFUWJm.js → vue-ui-treemap-BR3rX5_L.js} +50 -50
  174. package/dist/{vue-ui-waffle-B8Knvp7m.js → vue-ui-waffle-mP8g5aQk.js} +275 -275
  175. package/dist/{vue-ui-wheel-2_4BOo6P.js → vue-ui-wheel-CZsSO2R6.js} +187 -187
  176. package/dist/{vue-ui-word-cloud-BEgmAfj1.js → vue-ui-word-cloud-CJ30onqy.js} +35 -35
  177. package/dist/{vue-ui-world-D4WMHq7E.js → vue-ui-world-BZ09DOiF.js} +498 -498
  178. package/dist/{vue-ui-xy-DBLJ8Uhc.js → vue-ui-xy-C3h54loZ.js} +405 -405
  179. package/dist/{vue-ui-xy-canvas-Dv0pk4Wd.js → vue-ui-xy-canvas-BwgK8drp.js} +165 -165
  180. package/dist/{vue-ui-xy-DGIz4MDV.js → vue-ui-xy-jemv5dsf.js} +288 -288
  181. package/dist/{vue_ui_stackbar-DdjDL6aq.js → vue_ui_stackbar-yQyvT4Su.js} +46 -0
  182. package/package.json +1 -1
  183. package/dist/vue-ui-bump-BIyTRpqJ.js +0 -1242
  184. package/dist/vue-ui-donut-DMISY-E8.js +0 -2427
  185. package/dist/vue-ui-funnel-eVH871L3.js +0 -749
  186. package/dist/vue-ui-gauge-D_jNBHjA.js +0 -934
  187. package/dist/vue-ui-heatmap-DW7bo_Um.js +0 -1613
  188. package/dist/vue-ui-horizontal-bar-vPeWNfxO.js +0 -1723
  189. package/dist/vue-ui-molecule-ejjPjG63.js +0 -941
  190. package/dist/vue-ui-mood-radar-pqMAcUWm.js +0 -1111
  191. package/dist/vue-ui-parallel-coordinate-plot-McES6sLT.js +0 -1444
  192. package/dist/vue-ui-radar-DZPVV9cU.js +0 -1386
  193. package/dist/vue-ui-relation-circle-BtESVsB0.js +0 -905
  194. package/dist/vue-ui-ridgeline-CSLuDJWq.js +0 -1630
  195. package/dist/vue-ui-scatter-CKJ87fhp.js +0 -2418
  196. package/dist/vue-ui-sparkhistogram-CQTwLaZi.js +0 -589
  197. package/dist/vue-ui-stackbar-CISQXhoK.js +0 -2660
  198. package/dist/vue-ui-strip-plot-CRZDCNc1.js +0 -1752
  199. package/dist/vue-ui-table-sparkline-CwsrD7te.js +0 -738
  200. package/dist/vue-ui-thermometer-_zSQM0Nk.js +0 -758
@@ -1,1111 +0,0 @@
1
- import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
2
- import { $ as t, D as n, It as r, Jt as i, M as a, Rt as ee, X as te, at as ne, i as re, nt as ie, qt as o, t as ae, tn as oe } from "./lib-DTiqmM1G.js";
3
- import { n as se, t as ce } from "./useHints-Dq_w2E8B.js";
4
- import { t as le } from "./useConfig-DObkR9Aa.js";
5
- import { t as ue } from "./usePrinter-R2nu9g4B.js";
6
- import { n as de, t as fe } from "./BaseScanner-Dzc8VT3j.js";
7
- import { t as pe } from "./useNestedProp-D8cRQaVo.js";
8
- import { t as me } from "./useThemeCheck-C43Tcqmk.js";
9
- import { t as he } from "./useChartExport-iwOqiIWX.js";
10
- import { t as ge } from "./img--C0otIB0.js";
11
- import { n as _e } from "./Title-B4UpMerH.js";
12
- import { t as ve } from "./_plugin-vue_export-helper-B3ysoDQm.js";
13
- import { l as ye, t as be } from "./useResponsive-ZtArZtUf.js";
14
- import { t as xe } from "./DefGrad-DVBqDjhO.js";
15
- import { t as Se } from "./A11yDataTable-DdRsVULz.js";
16
- import { t as Ce } from "./useUserOptionState-DK-_1ddE.js";
17
- import { t as we } from "./useChartAccessibility-DYqac8yF.js";
18
- import { t as Te } from "./Legend-CJzCVAWl.js";
19
- import { t as Ee } from "./vue_ui_mood_radar-BA6LAKhk.js";
20
- import { Fragment as De, Teleport as Oe, computed as s, createBlock as c, createCommentVNode as l, createElementBlock as u, createElementVNode as d, createSlots as ke, createTextVNode as Ae, createVNode as f, defineAsyncComponent as p, guardReactiveProps as m, mergeProps as je, nextTick as Me, normalizeClass as Ne, normalizeProps as h, normalizeStyle as g, onMounted as Pe, openBlock as _, ref as v, renderList as Fe, renderSlot as y, resolveDynamicComponent as Ie, toDisplayString as b, toRefs as Le, unref as x, watch as Re, withCtx as S } from "vue";
21
- //#region src/components/vue-ui-mood-radar.vue
22
- var ze = /* @__PURE__ */ e({ default: () => C }), Be = ["id"], Ve = ["id"], He = ["id"], Ue = { style: { position: "relative" } }, We = [
23
- "xmlns",
24
- "aria-describedby",
25
- "viewBox"
26
- ], Ge = ["width", "height"], Ke = [
27
- "x1",
28
- "y1",
29
- "x2",
30
- "y2",
31
- "stroke",
32
- "stroke-width"
33
- ], qe = [
34
- "d",
35
- "stroke",
36
- "stroke-width"
37
- ], Je = ["transform"], Ye = ["stroke"], Xe = ["aria-label", "fill"], Ze = ["transform"], Qe = ["stroke"], $e = ["aria-label", "fill"], et = ["transform"], tt = ["stroke"], nt = ["aria-label", "fill"], rt = ["transform"], it = ["stroke"], at = ["aria-label", "fill"], ot = ["transform"], st = ["stroke"], ct = ["aria-label", "fill"], lt = [
38
- "d",
39
- "stroke",
40
- "stroke-width",
41
- "fill"
42
- ], ut = [
43
- "x1",
44
- "y1",
45
- "x2",
46
- "y2",
47
- "stroke"
48
- ], dt = [
49
- "cx",
50
- "cy",
51
- "fill",
52
- "stroke"
53
- ], ft = [
54
- "cx",
55
- "cy",
56
- "fill",
57
- "stroke"
58
- ], pt = [
59
- "x",
60
- "y",
61
- "fill",
62
- "font-weight"
63
- ], mt = [
64
- "x",
65
- "y",
66
- "fill"
67
- ], ht = {
68
- key: 0,
69
- style: {
70
- position: "absolute",
71
- top: "100%",
72
- left: "0",
73
- width: "100%"
74
- },
75
- "data-dom-to-png-ignore": "",
76
- "aria-hidden": "true"
77
- }, gt = {
78
- key: 5,
79
- class: "vue-data-ui-watermark"
80
- }, _t = ["id"], vt = ["onClick", "onKeydown"], yt = { key: 0 }, bt = { key: 1 }, C = /*#__PURE__*/ ve({
81
- __name: "vue-ui-mood-radar",
82
- props: {
83
- config: {
84
- type: Object,
85
- default() {
86
- return {};
87
- }
88
- },
89
- dataset: {
90
- type: Object,
91
- default() {
92
- return {};
93
- }
94
- }
95
- },
96
- emits: ["copyAlt"],
97
- setup(e, { expose: ve, emit: ze }) {
98
- let C = p(() => import("./BaseIcon-CPBlYfWq.js").then((e) => e.n)), xt = p(() => import("./vue-ui-accordion-CxMo-mXC.js").then((e) => e.n)), St = p(() => import("./DataTable-DV4Plrm3.js")), Ct = p(() => import("./PenAndPaper-Dv8WPVwA.js").then((e) => e.t)), wt = p(() => import("./UserOptions-C92R4ACT.js").then((e) => e.n)), Tt = p(() => import("./PackageVersion-DEAYvEjl.js").then((e) => e.t)), Et = p(() => import("./BaseDraggableDialog-BniZj4c8.js").then((e) => e.n)), { vue_ui_mood_radar: Dt } = le(), { isThemeValid: Ot, warnInvalidTheme: kt } = me(), w = e, At = ze, T = v(te()), E = v(null), D = v(null), jt = v(null), Mt = v(0), Nt = v(0), Pt = v(0), Ft = v(null), It = v(null), O = v(null), Lt = v(null), Rt = v(null), zt = v(!1), k = v(null), Bt = v(null), A = v(null), Vt = v(!1), Ht = s(() => !!w.dataset && Object.keys(w.dataset).length), j = v(Xt()), M = s(() => j.value.userOptions), N = s(() => j.value.style.chart.layout.smileys), P = s(() => j.value.style.chart.layout), F = s(() => j.value.style.chart);
99
- se({
100
- config: () => j.value,
101
- dataset: () => w.dataset,
102
- component: "VueUiMoodRadar",
103
- rules: [ce.noHint]
104
- });
105
- let I = s(() => j.value.userOptions.useCursorPointer), Ut = s(() => oe({
106
- defaultConfig: {
107
- userOptions: { show: !1 },
108
- table: { show: !1 },
109
- style: { chart: {
110
- backgroundColor: "#99999930",
111
- layout: {
112
- grid: { stroke: "#6A6A6A" },
113
- outerPolygon: { stroke: "#6A6A6A" },
114
- dataPolygon: {
115
- color: "#6A6A6A",
116
- opacity: 30,
117
- stroke: "#6A6A6A"
118
- },
119
- smileys: { colors: {
120
- 1: "#DBDBDB",
121
- 2: "#C4C4C4",
122
- 3: "#ADADAD",
123
- 4: "#969696",
124
- 5: "#808080"
125
- } },
126
- dataLabel: { color: "transparent" }
127
- },
128
- legend: { backgroundColor: "transparent" }
129
- } }
130
- },
131
- userConfig: j.value.skeletonConfig ?? {}
132
- })), { loading: Wt, FINAL_DATASET: L } = de({
133
- ...Le(w),
134
- FINAL_CONFIG: j,
135
- prepareConfig: Xt,
136
- callback: () => {
137
- Promise.resolve().then(async () => {
138
- await Me(), z.value.showTable = j.value.table.show;
139
- });
140
- },
141
- skeletonDataset: w.config?.skeletonDataset ?? {
142
- 1: 1,
143
- 2: 1,
144
- 3: 1,
145
- 4: 1,
146
- 5: 1
147
- },
148
- skeletonConfig: oe({
149
- defaultConfig: j.value,
150
- userConfig: Ut.value
151
- })
152
- });
153
- Pe(() => {
154
- zt.value = !0, Kt();
155
- });
156
- let Gt = s(() => j.value.debug);
157
- function Kt() {
158
- if (ee(w.dataset) && ne({
159
- componentName: "VueUiMoodRadar",
160
- type: "dataset",
161
- debug: Gt.value
162
- }), j.value.responsive) {
163
- let e = ye(() => {
164
- let { width: e, height: t } = be({
165
- chart: E.value,
166
- title: F.value.title.text ? Ft.value : null,
167
- legend: F.value.legend.show ? It.value : null,
168
- noTitle: jt.value,
169
- source: Rt.value
170
- });
171
- requestAnimationFrame(() => {
172
- B.value.width = e, B.value.height = t - 12;
173
- });
174
- });
175
- O.value && (Lt.value && O.value.unobserve(Lt.value), O.value.disconnect()), O.value = new ResizeObserver(e), Lt.value = E.value.parentNode, O.value.observe(Lt.value);
176
- }
177
- }
178
- let { userOptionsVisible: qt, setUserOptionsVisibility: Jt, keepUserOptionState: Yt } = Ce({ config: j.value }), { svgRef: R } = we({ config: F.value.title });
179
- function Xt() {
180
- let e = pe({
181
- userConfig: w.config,
182
- defaultConfig: Dt
183
- }), t = e.theme;
184
- if (!t) return e;
185
- if (!Ot.value(e)) return kt(e), e;
186
- let n = pe({
187
- userConfig: Ee[t] || w.config,
188
- defaultConfig: e
189
- });
190
- return pe({
191
- userConfig: w.config,
192
- defaultConfig: n
193
- });
194
- }
195
- Re(() => w.config, (e) => {
196
- j.value = Xt(), qt.value = !j.value.userOptions.showOnChartHover, Kt(), Mt.value += 1, Nt.value += 1, Pt.value += 1, z.value.showTable = j.value.table.show;
197
- }, { deep: !0 });
198
- let { isPrinting: Zt, isImaging: Qt, generatePdf: $t, generateImage: en } = ue({
199
- elementId: T.value,
200
- fileName: F.value.title.text || "vue-ui-mood-radar",
201
- options: j.value.userOptions.print
202
- }), tn = s(() => j.value.userOptions.show && !F.value.title.text), z = v({ showTable: j.value.table.show }), B = v({
203
- height: 256,
204
- width: 256
205
- }), nn = {
206
- 5: {
207
- x: 128,
208
- y: 35
209
- },
210
- 4: {
211
- x: 218,
212
- y: 98.5
213
- },
214
- 3: {
215
- x: 185,
216
- y: 204
217
- },
218
- 2: {
219
- x: 70,
220
- y: 204
221
- },
222
- 1: {
223
- x: 38.5,
224
- y: 98.5
225
- }
226
- }, rn = s(() => {
227
- let e = {};
228
- return ln.value.forEach((t) => {
229
- e[t.key] = {
230
- x: t.x,
231
- y: t.y
232
- };
233
- }), e;
234
- });
235
- function V(e) {
236
- let t = nn[e], n = rn.value[e] || t;
237
- return `translate(${n.x - t.x}, ${n.y - t.y})`;
238
- }
239
- let an = s(() => a({
240
- plot: {
241
- x: B.value.width / 2,
242
- y: B.value.height / 2
243
- },
244
- radius: Math.min(B.value.height, B.value.width) * .35,
245
- sides: 5,
246
- rotation: 11
247
- }));
248
- function on({ centerX: e, centerY: t, apexX: n, apexY: r, proportion: i, key: a, value: ee }) {
249
- return {
250
- x: e + (n - e) * i,
251
- y: t + (r - t) * i,
252
- key: a,
253
- value: ee
254
- };
255
- }
256
- let sn = s(() => Math.max(...Object.values(L.value).map((e) => isNaN(e) ? 0 : e))), H = s(() => Object.values(L.value).reduce((e, t) => (isNaN(e) ? 0 : e) + (isNaN(t) ? 0 : t), 0)), U = s(() => Object.keys(L.value).map((e, t) => {
257
- let n = typeof L.value[e] != "number" || isNaN(L.value[e]) ? 0 : L.value[e];
258
- return {
259
- index: t,
260
- key: e,
261
- value: n,
262
- proportion: n / H.value,
263
- color: N.value.colors[e]
264
- };
265
- }).map((e) => ({
266
- ...e,
267
- onSelect: () => W(e.key)
268
- })).sort((e, t) => t.key - e.key)), cn = s(() => U.value.map((e, n) => ({
269
- ...e,
270
- display: `${re(P.value.dataLabel.formatter, e.value, t({
271
- p: P.value.dataLabel.prefix,
272
- v: e.value,
273
- s: P.value.dataLabel.suffix,
274
- r: P.value.dataLabel.roundingValue
275
- }))}${Wt.value ? "" : ` (${t({
276
- v: e.proportion * 100,
277
- s: "%",
278
- r: F.value.legend.roundingPercentage
279
- })})`}`
280
- }))), ln = s(() => ([
281
- "1",
282
- "2",
283
- "3",
284
- "4",
285
- "5"
286
- ].forEach((e) => {
287
- [null, void 0].includes(L.value[e]) && ne({
288
- componentName: "VueUiMoodRadar",
289
- type: "datasetAttribute",
290
- property: e,
291
- debug: Gt.value
292
- });
293
- }), an.value.coordinates.map((e, t) => {
294
- let n = on({
295
- centerX: B.value.width / 2,
296
- centerY: B.value.height / 2,
297
- apexX: e.x,
298
- apexY: e.y,
299
- proportion: U.value[t].value / sn.value,
300
- key: U.value[t].key,
301
- value: U.value[t].value
302
- });
303
- return {
304
- ...e,
305
- plots: n,
306
- key: U.value[t].key
307
- };
308
- }))), un = s(() => ({
309
- cy: "mood-radar-legend",
310
- backgroundColor: F.value.legend.backgroundColor,
311
- color: F.value.legend.color,
312
- fontSize: F.value.legend.fontSize,
313
- paddingBottom: 12,
314
- fontWeight: F.value.legend.bold ? "bold" : ""
315
- }));
316
- function W(e) {
317
- e === D.value ? D.value = null : (D.value = e, q(e));
318
- }
319
- function G(e) {
320
- D.value = e;
321
- let t = U.value.find((t) => t.key === e);
322
- j.value.events.datapointEnter && j.value.events.datapointEnter({
323
- datapoint: t,
324
- seriesIndex: t.index
325
- });
326
- }
327
- function K(e) {
328
- D.value = null;
329
- let t = U.value.find((t) => t.key === e);
330
- j.value.events.datapointLeave && j.value.events.datapointLeave({
331
- datapoint: t,
332
- seriesIndex: t.index
333
- });
334
- }
335
- function q(e) {
336
- let t = U.value.find((t) => t.key === e);
337
- j.value.events.datapointClick && j.value.events.datapointClick({
338
- datapoint: t,
339
- seriesIndex: t.index
340
- });
341
- }
342
- let J = s(() => ({
343
- head: U.value.map((e) => ({
344
- name: e.key,
345
- color: e.color
346
- })),
347
- body: U.value.map((e) => isNaN(e.value) ? 0 : e.value)
348
- }));
349
- function dn(e = null) {
350
- Me(() => {
351
- let t = J.value.head.map((e, t) => [
352
- [e.name],
353
- [J.value.body[t]],
354
- [isNaN(J.value.body[t] / H.value) ? "-" : J.value.body[t] / H.value * 100]
355
- ]), r = [
356
- [F.value.title.text],
357
- [F.value.title.subtitle.text],
358
- [
359
- [""],
360
- ["val"],
361
- ["%"]
362
- ]
363
- ].concat(t), i = n(r);
364
- e ? e(i) : ie({
365
- csvContent: i,
366
- title: F.value.title.text || "vue-ui-mood-radar"
367
- });
368
- });
369
- }
370
- let Y = s(() => ({
371
- head: [
372
- "__SUM__",
373
- Number(H.value.toFixed(j.value.table.td.roundingValue)).toLocaleString(),
374
- "100%"
375
- ],
376
- body: J.value.head.map((e, t) => [
377
- {
378
- color: e.color,
379
- name: e.name
380
- },
381
- J.value.body[t].toFixed(j.value.table.td.roundingValue),
382
- isNaN(J.value.body[t] / H.value) ? "-" : (J.value.body[t] / H.value * 100).toFixed(j.value.table.td.roundingPercentage) + "%"
383
- ]),
384
- config: {
385
- th: {
386
- backgroundColor: j.value.table.th.backgroundColor,
387
- color: j.value.table.th.color,
388
- outline: j.value.table.th.outline
389
- },
390
- td: {
391
- backgroundColor: j.value.table.td.backgroundColor,
392
- color: j.value.table.td.color,
393
- outline: j.value.table.td.outline
394
- },
395
- breakpoint: j.value.table.responsiveBreakpoint
396
- },
397
- colNames: [
398
- j.value.table.columnNames.series,
399
- j.value.table.columnNames.value,
400
- j.value.table.columnNames.percentage
401
- ]
402
- }));
403
- function fn() {
404
- return U.value;
405
- }
406
- function pn() {
407
- z.value.showTable = !z.value.showTable;
408
- }
409
- let X = v(!1);
410
- function mn(e) {
411
- X.value = e;
412
- }
413
- let Z = v(!1);
414
- function hn() {
415
- Z.value = !Z.value;
416
- }
417
- async function gn({ scale: e = 2 } = {}) {
418
- if (!E.value) return;
419
- let { width: t, height: n } = E.value.getBoundingClientRect(), r = t / n, { imageUri: i, base64: a } = await ge({
420
- domElement: E.value,
421
- base64: !0,
422
- img: !0,
423
- scale: e
424
- });
425
- return {
426
- imageUri: i,
427
- base64: a,
428
- title: F.value.title.text,
429
- width: t,
430
- height: n,
431
- aspectRatio: r
432
- };
433
- }
434
- let Q = s(() => {
435
- let e = j.value.table.useDialog && !j.value.table.show, t = z.value.showTable;
436
- return {
437
- component: e ? Et : xt,
438
- title: `${F.value.title.text}${F.value.title.subtitle.text ? `: ${F.value.title.subtitle.text}` : ""}`,
439
- props: e ? {
440
- backgroundColor: j.value.table.th.backgroundColor,
441
- color: j.value.table.th.color,
442
- headerColor: j.value.table.th.color,
443
- headerBg: j.value.table.th.backgroundColor,
444
- isFullscreen: X.value,
445
- fullscreenParent: E.value,
446
- forcedWidth: Math.min(800, window.innerWidth * .8),
447
- isCursorPointer: I.value
448
- } : {
449
- hideDetails: !0,
450
- config: {
451
- open: t,
452
- maxHeight: 1e4,
453
- body: {
454
- backgroundColor: F.value.backgroundColor,
455
- color: F.value.color
456
- },
457
- head: {
458
- backgroundColor: F.value.backgroundColor,
459
- color: F.value.color
460
- }
461
- }
462
- }
463
- };
464
- });
465
- Re(() => z.value.showTable, (e) => {
466
- j.value.table.show || (e && j.value.table.useDialog && k.value ? k.value.open() : "close" in k.value && k.value.close());
467
- });
468
- function _n() {
469
- z.value.showTable = !1, Bt.value && Bt.value.setTableIconState(!1);
470
- }
471
- let vn = s(() => cn.value.map((e) => ({
472
- ...e,
473
- name: e.display,
474
- shape: "circle"
475
- }))), yn = s(() => F.value.backgroundColor), bn = s(() => F.value.legend), xn = s(() => F.value.title), { isCallbackImaging: Sn, isCallbackSvg: Cn, generateSvg: wn, onGenerateImage: Tn } = he({
476
- svg: R,
477
- title: xn,
478
- legend: bn,
479
- legendItems: vn,
480
- backgroundColor: yn,
481
- getSvgCallback: () => j.value.userOptions.callbacks.svg,
482
- generateImage: en
483
- });
484
- async function En() {
485
- if (At("copyAlt", {
486
- config: j.value,
487
- dataset: U.value
488
- }), !j.value.userOptions.callbacks.altCopy) {
489
- console.warn("Vue Data UI - A callback must be set for `altCopy` in userOptions.");
490
- return;
491
- }
492
- await Promise.resolve(j.value.userOptions.callbacks.altCopy({
493
- config: j.value,
494
- dataset: U.value
495
- }));
496
- }
497
- let $ = s(() => U.value.map((e) => String(e.key)));
498
- function Dn() {
499
- Jt(!0);
500
- }
501
- function On() {
502
- Jt(!1);
503
- }
504
- function kn(e) {
505
- return U.value.find((t) => String(t.key) === String(e));
506
- }
507
- function An(e, n, r) {
508
- return re(P.value.dataLabel.formatter, e, t({
509
- p: P.value.dataLabel.prefix,
510
- v: e,
511
- s: P.value.dataLabel.suffix,
512
- r: P.value.dataLabel.roundingValue
513
- }), {
514
- datapoint: r,
515
- seriesIndex: n
516
- });
517
- }
518
- function jn(e) {
519
- return t({
520
- v: H.value ? e / H.value * 100 : 0,
521
- s: "%",
522
- r: P.value.dataLabel.roundingPercentage
523
- });
524
- }
525
- function Mn(e) {
526
- let t = kn(e);
527
- return t ? `${e}, ${An(t.value, t.index, t)}, ${jn(t.value)}` : `${e}`;
528
- }
529
- function Nn(e) {
530
- let t = $.value[e];
531
- t && (A.value = e, D.value = t);
532
- }
533
- function Pn() {
534
- Vt.value = !0;
535
- }
536
- function Fn() {
537
- A.value = null, D.value = null, Vt.value = !1;
538
- }
539
- function In(e) {
540
- if (!R.value || !$.value.length || Z.value || document.activeElement !== R.value) return;
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
- if (!t && !n && !r && !i) return;
543
- if (e.preventDefault(), e.stopPropagation(), i) {
544
- A.value = null, D.value = null;
545
- return;
546
- }
547
- if (r) {
548
- if (A.value === null) return;
549
- let e = $.value[A.value];
550
- if (!e) return;
551
- W(e);
552
- return;
553
- }
554
- let a = A.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
- }
557
- function Ln(e, t) {
558
- let n = e.key === "Enter" || e.key === " ", r = e.key === "Escape";
559
- if (n || r) {
560
- if (e.preventDefault(), e.stopPropagation(), r) {
561
- A.value = null, D.value = null;
562
- return;
563
- }
564
- W(String(t));
565
- }
566
- }
567
- let Rn = s(() => ({
568
- headers: Y.value?.colNames ?? [],
569
- rows: U.value.map((e) => [
570
- String(e.key),
571
- An(e.value, e.index, e),
572
- jn(e.value)
573
- ])
574
- }));
575
- return ve({
576
- getData: fn,
577
- getImage: gn,
578
- generatePdf: $t,
579
- generateCsv: dn,
580
- generateImage: en,
581
- generateSvg: wn,
582
- toggleTable: pn,
583
- toggleAnnotator: hn,
584
- toggleFullscreen: mn,
585
- copyAlt: En
586
- }), (e, n) => (_(), u("div", {
587
- class: Ne(`vue-data-ui-component vue-ui-mood-radar ${X.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${j.value.useCssAnimation ? "" : "vue-ui-dna"}`),
588
- ref_key: "moodRadarChart",
589
- ref: E,
590
- id: `${T.value}`,
591
- style: g(`font-family:${j.value.style.fontFamily};width:100%; text-align:center;background:${F.value.backgroundColor}`),
592
- onMouseenter: Dn,
593
- onMouseleave: On
594
- }, [
595
- d("div", {
596
- id: `chart-instructions-${T.value}`,
597
- class: "sr-only"
598
- }, [d("p", null, b(j.value.a11y.translations.keyboardNavigation), 1)], 8, Ve),
599
- Rn.value?.rows?.length ? (_(), c(Se, {
600
- key: 0,
601
- uid: T.value,
602
- head: Rn.value.headers,
603
- body: Rn.value.rows,
604
- notice: j.value.a11y.translations.tableAvailable,
605
- caption: j.value.a11y.translations.tableCaption
606
- }, null, 8, [
607
- "uid",
608
- "head",
609
- "body",
610
- "notice",
611
- "caption"
612
- ])) : l("", !0),
613
- M.value.buttons.annotator ? (_(), c(x(Ct), {
614
- key: 1,
615
- svgRef: x(R),
616
- backgroundColor: F.value.backgroundColor,
617
- color: F.value.color,
618
- active: Z.value,
619
- isCursorPointer: I.value,
620
- palette: M.value.annotatorPalette,
621
- onClose: hn
622
- }, {
623
- "annotator-action-close": S(() => [y(e.$slots, "annotator-action-close", {}, void 0, !0)]),
624
- "annotator-action-color": S(({ color: t }) => [y(e.$slots, "annotator-action-color", h(m({ color: t })), void 0, !0)]),
625
- "annotator-action-draw": S(({ mode: t }) => [y(e.$slots, "annotator-action-draw", h(m({ mode: t })), void 0, !0)]),
626
- "annotator-action-undo": S(({ disabled: t }) => [y(e.$slots, "annotator-action-undo", h(m({ disabled: t })), void 0, !0)]),
627
- "annotator-action-redo": S(({ disabled: t }) => [y(e.$slots, "annotator-action-redo", h(m({ disabled: t })), void 0, !0)]),
628
- "annotator-action-delete": S(({ disabled: t }) => [y(e.$slots, "annotator-action-delete", h(m({ disabled: t })), void 0, !0)]),
629
- _: 3
630
- }, 8, [
631
- "svgRef",
632
- "backgroundColor",
633
- "color",
634
- "active",
635
- "isCursorPointer",
636
- "palette"
637
- ])) : l("", !0),
638
- tn.value ? (_(), u("div", {
639
- key: 2,
640
- ref_key: "noTitle",
641
- ref: jt,
642
- class: "vue-data-ui-no-title-space",
643
- style: "height:36px; width: 100%;background:transparent"
644
- }, null, 512)) : l("", !0),
645
- F.value.title.text ? (_(), u("div", {
646
- key: 3,
647
- ref_key: "chartTitle",
648
- ref: Ft,
649
- style: "width:100%;background:transparent"
650
- }, [f(_e, { config: {
651
- title: {
652
- cy: "mood-radar-title",
653
- ...F.value.title
654
- },
655
- subtitle: {
656
- cy: "mood-radar-subtitle",
657
- ...F.value.title.subtitle
658
- }
659
- } }, null, 8, ["config"])], 512)) : l("", !0),
660
- d("div", { id: `legend-top-${T.value}` }, null, 8, He),
661
- M.value.show && Ht.value && (x(Yt) || x(qt)) ? (_(), c(x(wt), {
662
- key: 4,
663
- ref_key: "userOptionsRef",
664
- ref: Bt,
665
- backgroundColor: F.value.backgroundColor,
666
- color: F.value.color,
667
- isPrinting: x(Zt),
668
- isImaging: x(Qt),
669
- uid: T.value,
670
- hasPdf: M.value.buttons.pdf,
671
- hasXls: M.value.buttons.csv,
672
- hasImg: M.value.buttons.img,
673
- hasSvg: M.value.buttons.svg,
674
- hasTable: M.value.buttons.table,
675
- hasFullscreen: M.value.buttons.fullscreen,
676
- hasAltCopy: M.value.buttons.altCopy,
677
- isFullscreen: X.value,
678
- titles: { ...M.value.buttonTitles },
679
- chartElement: E.value,
680
- position: M.value.position,
681
- hasAnnotator: M.value.buttons.annotator,
682
- isAnnotation: Z.value,
683
- callbacks: M.value.callbacks,
684
- printScale: M.value.print.scale,
685
- tableDialog: j.value.table.useDialog,
686
- isCursorPointer: I.value,
687
- onToggleFullscreen: mn,
688
- onGeneratePdf: x($t),
689
- onGenerateCsv: dn,
690
- onGenerateImage: x(Tn),
691
- onGenerateSvg: x(wn),
692
- onToggleTable: pn,
693
- onToggleAnnotator: hn,
694
- onCopyAlt: En,
695
- style: g({ visibility: x(Yt) ? x(qt) ? "visible" : "hidden" : "visible" })
696
- }, ke({ _: 2 }, [
697
- e.$slots.menuIcon ? {
698
- name: "menuIcon",
699
- fn: S(({ isOpen: t, color: n }) => [y(e.$slots, "menuIcon", h(m({
700
- isOpen: t,
701
- color: n
702
- })), void 0, !0)]),
703
- key: "0"
704
- } : void 0,
705
- e.$slots.optionPdf ? {
706
- name: "optionPdf",
707
- fn: S(() => [y(e.$slots, "optionPdf", {}, void 0, !0)]),
708
- key: "1"
709
- } : void 0,
710
- e.$slots.optionCsv ? {
711
- name: "optionCsv",
712
- fn: S(() => [y(e.$slots, "optionCsv", {}, void 0, !0)]),
713
- key: "2"
714
- } : void 0,
715
- e.$slots.optionImg ? {
716
- name: "optionImg",
717
- fn: S(() => [y(e.$slots, "optionImg", {}, void 0, !0)]),
718
- key: "3"
719
- } : void 0,
720
- e.$slots.optionSvg ? {
721
- name: "optionSvg",
722
- fn: S(() => [y(e.$slots, "optionSvg", {}, void 0, !0)]),
723
- key: "4"
724
- } : void 0,
725
- e.$slots.optionTable ? {
726
- name: "optionTable",
727
- fn: S(() => [y(e.$slots, "optionTable", {}, void 0, !0)]),
728
- key: "5"
729
- } : void 0,
730
- e.$slots.optionFullscreen ? {
731
- name: "optionFullscreen",
732
- fn: S(({ toggleFullscreen: t, isFullscreen: n }) => [y(e.$slots, "optionFullscreen", h(m({
733
- toggleFullscreen: t,
734
- isFullscreen: n
735
- })), void 0, !0)]),
736
- key: "6"
737
- } : void 0,
738
- e.$slots.optionAnnotator ? {
739
- name: "optionAnnotator",
740
- fn: S(({ toggleAnnotator: t, isAnnotator: n }) => [y(e.$slots, "optionAnnotator", h(m({
741
- toggleAnnotator: t,
742
- isAnnotator: n
743
- })), void 0, !0)]),
744
- key: "7"
745
- } : void 0,
746
- e.$slots.optionAltCopy ? {
747
- name: "optionAltCopy",
748
- fn: S(({ altCopy: t }) => [y(e.$slots, "optionAltCopy", h(m({ altCopy: t })), void 0, !0)]),
749
- key: "8"
750
- } : void 0,
751
- e.$slots["custom-menu-before"] ? {
752
- name: "custom-menu-before",
753
- fn: S(() => [y(e.$slots, "custom-menu-before", {}, void 0, !0)]),
754
- key: "9"
755
- } : void 0,
756
- e.$slots["custom-menu-after"] ? {
757
- name: "custom-menu-after",
758
- fn: S(() => [y(e.$slots, "custom-menu-after", {}, void 0, !0)]),
759
- key: "10"
760
- } : void 0
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("."))) : l("", !0),
762
- d("div", Ue, [(_(), u("svg", {
763
- ref_key: "svgRef",
764
- ref: R,
765
- xmlns: x(ae),
766
- "aria-describedby": `chart-instructions-${T.value}`,
767
- viewBox: `0 0 ${B.value.width} ${B.value.height}`,
768
- class: Ne({
769
- "vue-data-ui-fullscreen--on": X.value,
770
- "vue-data-ui-fulscreen--off": !X.value
771
- }),
772
- style: g(`overflow:visible;background:transparent;color:${F.value.color}`),
773
- tabindex: "0",
774
- onFocus: Pn,
775
- onBlur: Fn,
776
- onKeydown: In
777
- }, [
778
- f(x(Tt)),
779
- e.$slots["chart-background"] ? (_(), u("foreignObject", {
780
- key: 0,
781
- x: 0,
782
- y: 0,
783
- width: B.value.width,
784
- height: B.value.height,
785
- style: { pointerEvents: "none" }
786
- }, [y(e.$slots, "chart-background", {}, void 0, !0)], 8, Ge)) : l("", !0),
787
- d("defs", null, [f(xe, {
788
- t: "radial",
789
- cx: "50%",
790
- cy: "50%",
791
- r: "50%",
792
- fx: "50%",
793
- fy: "50%",
794
- id: `mood_radar_gradient_${T.value}`,
795
- stops: [[
796
- "0%",
797
- x(o)(P.value.dataPolygon.color, P.value.dataPolygon.opacity),
798
- 1
799
- ], [
800
- "100%",
801
- x(o)(x(i)(P.value.dataPolygon.color, P.value.dataPolygon.gradient.intensity / 100), P.value.dataPolygon.opacity),
802
- 1
803
- ]]
804
- }, null, 8, ["id", "stops"])]),
805
- (_(!0), u(De, null, Fe(an.value.coordinates, (e) => (_(), u("line", {
806
- x1: B.value.width / 2,
807
- y1: B.value.height / 2,
808
- x2: e.x,
809
- y2: e.y,
810
- stroke: P.value.grid.stroke,
811
- "stroke-width": P.value.grid.strokeWidth
812
- }, null, 8, Ke))), 256)),
813
- d("path", {
814
- d: an.value.path,
815
- fill: "none",
816
- stroke: P.value.outerPolygon.stroke,
817
- "stroke-width": P.value.outerPolygon.strokeWidth,
818
- "stroke-linejoin": "round",
819
- "stroke-linecap": "round"
820
- }, null, 8, qe),
821
- d("g", { transform: V("5") }, [d("path", {
822
- fill: "none",
823
- stroke: N.value.colors[5],
824
- "stroke-width": "1",
825
- "stroke-linecap": "round",
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"
827
- }, null, 8, Ye), d("circle", {
828
- role: "button",
829
- class: "vue-ui-mood-radar-trap",
830
- cx: "128",
831
- cy: "25",
832
- r: "20",
833
- "aria-label": Mn("5"),
834
- fill: D.value === "5" ? x(o)(N.value.colors[5], 20) : "transparent",
835
- onMouseenter: n[0] ||= (e) => G("5"),
836
- onMouseleave: n[1] ||= (e) => K("5"),
837
- onClick: n[2] ||= (e) => q("5")
838
- }, null, 40, Xe)], 8, Je),
839
- d("g", { transform: V("4") }, [d("path", {
840
- fill: "none",
841
- stroke: N.value.colors[4],
842
- "stroke-width": "1",
843
- "stroke-linecap": "round",
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"
845
- }, null, 8, Qe), d("circle", {
846
- class: "vue-ui-mood-radar-trap",
847
- cx: "227",
848
- cy: "95.5",
849
- r: "20",
850
- "aria-label": Mn("4"),
851
- fill: D.value === "4" ? x(o)(N.value.colors[4], 20) : "transparent",
852
- onMouseenter: n[3] ||= (e) => G("4"),
853
- onMouseleave: n[4] ||= (e) => K("4"),
854
- onClick: n[5] ||= (e) => q("4")
855
- }, null, 40, $e)], 8, Ze),
856
- d("g", { transform: V("3") }, [d("path", {
857
- fill: "none",
858
- stroke: N.value.colors[3],
859
- "stroke-width": "1",
860
- "stroke-linecap": "round",
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"
862
- }, null, 8, tt), d("circle", {
863
- class: "vue-ui-mood-radar-trap",
864
- cx: "190",
865
- cy: "213.5",
866
- r: "20",
867
- "aria-label": Mn("3"),
868
- fill: D.value === "3" ? x(o)(N.value.colors[3], 20) : "transparent",
869
- onMouseenter: n[6] ||= (e) => G("3"),
870
- onMouseleave: n[7] ||= (e) => K("3"),
871
- onClick: n[8] ||= (e) => q("3")
872
- }, null, 40, nt)], 8, et),
873
- d("g", { transform: V("2") }, [d("path", {
874
- fill: "none",
875
- stroke: N.value.colors[2],
876
- "stroke-width": "1",
877
- "stroke-linecap": "round",
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"
879
- }, null, 8, it), d("circle", {
880
- class: "vue-ui-mood-radar-trap",
881
- cx: "65",
882
- cy: "213.5",
883
- r: "20",
884
- "aria-label": Mn("2"),
885
- fill: D.value === "2" ? x(o)(N.value.colors[2], 20) : "transparent",
886
- onMouseenter: n[9] ||= (e) => G("2"),
887
- onMouseleave: n[10] ||= (e) => K("2"),
888
- onClick: n[11] ||= (e) => q("2")
889
- }, null, 40, at)], 8, rt),
890
- d("g", { transform: V("1") }, [d("path", {
891
- fill: "none",
892
- stroke: N.value.colors[1],
893
- "stroke-width": "1",
894
- "stroke-linecap": "round",
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"
896
- }, null, 8, st), d("circle", {
897
- class: "vue-ui-mood-radar-trap",
898
- cx: "29",
899
- cy: "95.5",
900
- r: "20",
901
- "aria-label": Mn("1"),
902
- fill: D.value === "1" ? x(o)(N.value.colors[1], 20) : "transparent",
903
- onMouseenter: n[12] ||= (e) => G("1"),
904
- onMouseleave: n[13] ||= (e) => K("1"),
905
- onClick: n[14] ||= (e) => q("1")
906
- }, null, 40, ct)], 8, ot),
907
- d("path", {
908
- d: x(r)(ln.value.map((e) => e.plots)),
909
- stroke: P.value.dataPolygon.stroke,
910
- "stroke-width": P.value.dataPolygon.strokeWidth,
911
- "stroke-linecap": "round",
912
- "stroke-linejoin": "round",
913
- fill: P.value.dataPolygon.gradient.show ? `url(#mood_radar_gradient_${T.value})` : x(o)(P.value.dataPolygon.color, P.value.dataPolygon.opacity)
914
- }, null, 8, lt),
915
- (_(!0), u(De, null, Fe(ln.value.map((e) => e.plots), (e, n) => (_(), u("g", {
916
- class: "vue-ui-mood-radar-trap",
917
- style: g(`opacity:${D.value == e.key ? "1" : "0"}`)
918
- }, [
919
- d("line", {
920
- x1: e.x,
921
- y1: e.y,
922
- x2: B.value.width / 2,
923
- y2: B.value.height / 2,
924
- stroke: N.value.colors[e.key]
925
- }, null, 8, ut),
926
- d("circle", {
927
- cx: e.x,
928
- cy: e.y,
929
- fill: N.value.colors[e.key],
930
- r: "3",
931
- stroke: F.value.backgroundColor,
932
- "stroke-width": .5
933
- }, null, 8, dt),
934
- d("circle", {
935
- cx: B.value.width / 2,
936
- cy: B.value.height / 2,
937
- fill: N.value.colors[e.key],
938
- r: "3",
939
- stroke: F.value.backgroundColor,
940
- "stroke-width": .5
941
- }, null, 8, ft),
942
- d("text", {
943
- x: B.value.width / 2,
944
- y: ["5", 5].includes(e.key) ? B.value.height / 2 * 1.13 : B.value.height / 2 * .9375,
945
- fill: P.value.dataLabel.color,
946
- "font-size": "12",
947
- "text-anchor": "middle",
948
- "font-weight": P.value.dataLabel.bold ? "bold" : "normal"
949
- }, b(x(re)(P.value.dataLabel.formatter, e.value, x(t)({
950
- p: P.value.dataLabel.prefix,
951
- v: e.value,
952
- s: P.value.dataLabel.suffix,
953
- r: P.value.dataLabel.roundingValue
954
- }), {
955
- datapoint: e,
956
- seriesIndex: n
957
- })), 9, pt),
958
- d("text", {
959
- x: B.value.width / 2,
960
- y: ["5", 5].includes(e.key) ? B.value.height / 2 * 1.273 : B.value.height / 2 * .7968,
961
- fill: P.value.dataLabel.color,
962
- "font-size": "12",
963
- "text-anchor": "middle"
964
- }, " (" + b(x(t)({
965
- v: e.value / H.value * 100,
966
- s: "%",
967
- r: P.value.dataLabel.roundingPercentage
968
- })) + ") ", 9, mt)
969
- ], 4))), 256)),
970
- y(e.$slots, "svg", { svg: {
971
- ...B.value,
972
- isPrintingImg: x(Zt) || x(Qt) || x(Sn),
973
- isPrintingSvg: x(Cn)
974
- } }, void 0, !0)
975
- ], 46, We)), e.$slots.hint ? (_(), u("div", ht, [y(e.$slots, "hint", h(m({
976
- hint: j.value.a11y.translations.keyboardNavigation,
977
- isVisible: Vt.value
978
- })), void 0, !0)])) : l("", !0)]),
979
- e.$slots.watermark ? (_(), u("div", gt, [y(e.$slots, "watermark", h(m({ isPrinting: x(Zt) || x(Qt) || x(Sn) || x(Cn) })), void 0, !0)])) : l("", !0),
980
- d("div", { id: `legend-bottom-${T.value}` }, null, 8, _t),
981
- zt.value && (F.value.legend.show || e.$slots.legend) ? (_(), c(Oe, {
982
- key: 6,
983
- to: F.value.legend.position === "top" ? `#legend-top-${T.value}` : `#legend-bottom-${T.value}`
984
- }, [d("div", {
985
- ref_key: "chartLegend",
986
- ref: It
987
- }, [y(e.$slots, "legend", { legend: U.value }, () => [F.value.legend.show ? (_(), c(Te, {
988
- legendSet: cn.value,
989
- config: un.value,
990
- key: `legend_${Pt.value}`,
991
- isCursorPointer: I.value,
992
- style: {
993
- display: "flex",
994
- "row-gap": "6px"
995
- },
996
- onFocusMarker: n[15] ||= ({ legend: e }) => W(e.key)
997
- }, {
998
- item: S(({ legend: e, index: t }) => [d("div", {
999
- role: "button",
1000
- onClick: () => W(e.key),
1001
- style: {
1002
- display: "flex",
1003
- "flex-direction": "row",
1004
- gap: "3px",
1005
- "align-items": "center",
1006
- margin: "3px 0"
1007
- },
1008
- onKeydown: (t) => Ln(t, String(e.key))
1009
- }, [
1010
- e.key == 1 ? (_(), c(x(C), {
1011
- key: 0,
1012
- strokeWidth: 1,
1013
- name: "moodSad",
1014
- stroke: N.value.colors[e.key]
1015
- }, null, 8, ["stroke"])) : l("", !0),
1016
- e.key == 2 ? (_(), c(x(C), {
1017
- key: 1,
1018
- strokeWidth: 1,
1019
- name: "moodFlat",
1020
- stroke: N.value.colors[e.key]
1021
- }, null, 8, ["stroke"])) : l("", !0),
1022
- e.key == 3 ? (_(), c(x(C), {
1023
- key: 2,
1024
- strokeWidth: 1,
1025
- name: "moodNeutral",
1026
- stroke: N.value.colors[e.key]
1027
- }, null, 8, ["stroke"])) : l("", !0),
1028
- e.key == 4 ? (_(), c(x(C), {
1029
- key: 3,
1030
- strokeWidth: 1,
1031
- name: "smiley",
1032
- stroke: N.value.colors[e.key]
1033
- }, null, 8, ["stroke"])) : l("", !0),
1034
- e.key == 5 ? (_(), c(x(C), {
1035
- key: 4,
1036
- strokeWidth: 1,
1037
- name: "moodHappy",
1038
- stroke: N.value.colors[e.key]
1039
- }, null, 8, ["stroke"])) : l("", !0),
1040
- x(Wt) ? l("", !0) : (_(), u("span", {
1041
- key: 5,
1042
- style: g({ fontWeight: F.value.legend.bold ? "bold" : "normal" })
1043
- }, b(e.display), 5))
1044
- ], 40, vt)]),
1045
- _: 1
1046
- }, 8, [
1047
- "legendSet",
1048
- "config",
1049
- "isCursorPointer"
1050
- ])) : l("", !0)], !0)], 512)], 8, ["to"])) : l("", !0),
1051
- e.$slots.source ? (_(), u("div", {
1052
- key: 7,
1053
- ref_key: "source",
1054
- ref: Rt,
1055
- dir: "auto"
1056
- }, [y(e.$slots, "source", {}, void 0, !0)], 512)) : l("", !0),
1057
- Ht.value && M.value.buttons.table ? (_(), c(Ie(Q.value.component), je({ key: 8 }, Q.value.props, {
1058
- ref_key: "tableUnit",
1059
- ref: k,
1060
- onClose: _n
1061
- }), ke({
1062
- content: S(() => [f(x(St), {
1063
- colNames: Y.value.colNames,
1064
- head: Y.value.head,
1065
- body: Y.value.body,
1066
- config: Y.value.config,
1067
- title: j.value.table.useDialog ? "" : Q.value.title,
1068
- withCloseButton: !j.value.table.useDialog,
1069
- isCursorPointer: I.value,
1070
- onClose: _n
1071
- }, {
1072
- th: S(({ th: e }) => [e === "__SUM__" ? (_(), u("div", yt, [f(x(C), {
1073
- name: "sigma",
1074
- stroke: Y.value.config.th.color,
1075
- size: 16
1076
- }, null, 8, ["stroke"])])) : (_(), u("div", bt, b(e), 1))]),
1077
- td: S(({ td: e }) => [Ae(b(e.name || e), 1)]),
1078
- _: 1
1079
- }, 8, [
1080
- "colNames",
1081
- "head",
1082
- "body",
1083
- "config",
1084
- "title",
1085
- "withCloseButton",
1086
- "isCursorPointer"
1087
- ])]),
1088
- _: 2
1089
- }, [j.value.table.useDialog ? {
1090
- name: "title",
1091
- fn: S(() => [Ae(b(Q.value.title), 1)]),
1092
- key: "0"
1093
- } : void 0, j.value.table.useDialog ? {
1094
- name: "actions",
1095
- fn: S(() => [d("button", {
1096
- tabindex: "0",
1097
- class: "vue-ui-user-options-button",
1098
- onClick: n[16] ||= (e) => dn(M.value.callbacks.csv),
1099
- style: g({ cursor: I.value ? "pointer" : "default" })
1100
- }, [f(x(C), {
1101
- name: "fileCsv",
1102
- stroke: Q.value.props.color
1103
- }, null, 8, ["stroke"])], 4)]),
1104
- key: "1"
1105
- } : void 0]), 1040)) : l("", !0),
1106
- y(e.$slots, "skeleton", {}, () => [x(Wt) ? (_(), c(fe, { key: 0 })) : l("", !0)], !0)
1107
- ], 46, Be));
1108
- }
1109
- }, [["__scopeId", "data-v-02a8ef9b"]]);
1110
- //#endregion
1111
- export { ze as n, C as t };