vue-data-ui 3.25.11 → 3.25.13

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 (205) hide show
  1. package/dist/{Arrow-DLn-pcrh.js → Arrow-BhZDUeMp.js} +1 -1
  2. package/dist/{BaseDraggableDialog-Gm4Q30j0.js → BaseDraggableDialog-Ck6R5Q0K.js} +2 -2
  3. package/dist/{BaseIcon-D8R6_sKH.js → BaseIcon-Dlz7gfx0.js} +1 -1
  4. package/dist/{BaseLegendToggle-CXQrLjd-.js → BaseLegendToggle-DGG65LAR.js} +1 -1
  5. package/dist/{BaseZoomControls-BTzjVDPM.js → BaseZoomControls-BK0PxEa8.js} +2 -2
  6. package/dist/{ColorPicker-CUy15T72.js → ColorPicker-DMTwxvi_.js} +2 -2
  7. package/dist/{DataTable-oiM9uWrQ.js → DataTable-BD1eZ0zB.js} +2 -2
  8. package/dist/{HillActions-Dn8aKOVJ.js → HillActions-CiP2m7Nz.js} +1 -1
  9. package/dist/{Legend-X4kF4PvW.js → Legend-C0Ln0VNe.js} +2 -2
  10. package/dist/{NonSvgPenAndPaper-DFXjpRyl.js → NonSvgPenAndPaper-BjrMLISf.js} +3 -3
  11. package/dist/{PackageVersion-CEvZNFTz.js → PackageVersion-D5QkTJQU.js} +1 -1
  12. package/dist/{PenAndPaper-Cd3nItcO.js → PenAndPaper-XdUD8uB3.js} +3 -3
  13. package/dist/{Shape-CIqU-p2F.js → Shape-VCdxvFV9.js} +3 -3
  14. package/dist/{SlicerPreview-Ccss7Vsq.js → SlicerPreview-BJ4usfYd.js} +21 -21
  15. package/dist/{SparkTooltip-L3SliZbR.js → SparkTooltip-B1gRxPfb.js} +6 -6
  16. package/dist/{Title-CPHi-evi.js → Title-DeqmC-vN.js} +1 -1
  17. package/dist/{Tooltip-hhrkQ3Lk.js → Tooltip-DZ4a3XJQ.js} +1 -1
  18. package/dist/{UserOptions-qo_Tsqci.js → UserOptions-wFD9vo9g.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-BR4imuKV.js → dom-to-png-DdqmzDdY.js} +1 -1
  91. package/dist/exposedLib-BBtjpydc.js +28 -0
  92. package/dist/{img-BkMKbWsI.js → img-W50sC9SC.js} +1 -1
  93. package/dist/{labelUtils-BXX2NzRe.js → labelUtils-Dvm-7rse.js} +1 -1
  94. package/dist/{lib-Dql7cqyA.js → lib-DOpaUOQx.js} +191 -88
  95. package/dist/{package-B10eQN5L.js → package-Cmcke8zR.js} +1 -1
  96. package/dist/{pdf-BSOs_GZz.js → pdf-zGbDDpCi.js} +1 -1
  97. package/dist/{render-common-CZ6-MONw.js → render-common-CG1wuHZY.js} +16 -16
  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 +6 -0
  103. package/dist/{useConfig-D32D002m.js → useConfig-C2uy4ltq.js} +2 -0
  104. package/dist/{useNestedProp-Chvyfpl-.js → useNestedProp-Bux0f4iY.js} +1 -1
  105. package/dist/{useObjectBindings-Cd_WuYIn.js → useObjectBindings-CEuNiBIT.js} +1 -1
  106. package/dist/{usePrinter-hohanNCX.js → usePrinter-BBBooAGP.js} +2 -2
  107. package/dist/utils.js +13 -13
  108. package/dist/{vue-data-ui-zJ1rNxIN.js → vue-data-ui-BVzA0tEV.js} +70 -70
  109. package/dist/vue-data-ui.js +75 -75
  110. package/dist/{vue-ui-3d-bar-CKTAkCAN.js → vue-ui-3d-bar-Ckauu3d4.js} +536 -536
  111. package/dist/{vue-ui-accordion-DmkL8A59.js → vue-ui-accordion-yHZMJLaY.js} +4 -4
  112. package/dist/vue-ui-age-pyramid-BczIt1-U.js +1305 -0
  113. package/dist/{vue-ui-annotator-BLYRy--7.js → vue-ui-annotator-BGB6K6u0.js} +60 -60
  114. package/dist/{vue-ui-bullet-Ck398xn8.js → vue-ui-bullet-BoTsLccZ.js} +84 -84
  115. package/dist/{vue-ui-bump-DyA47yse.js → vue-ui-bump-B5ztSSQO.js} +105 -105
  116. package/dist/{vue-ui-candlestick-DCavjk1j.js → vue-ui-candlestick-BJtdA4Yu.js} +98 -98
  117. package/dist/vue-ui-carousel-table-D-3KSWok.js +467 -0
  118. package/dist/vue-ui-chestnut-W2l-W0_e.js +2016 -0
  119. package/dist/{vue-ui-chord-GgA7QFUH.js → vue-ui-chord-BFPQsMj8.js} +63 -63
  120. package/dist/{vue-ui-circle-pack-BUXTVdy3.js → vue-ui-circle-pack-BtPc1BR3.js} +50 -50
  121. package/dist/{vue-ui-cursor-CEejESe_.js → vue-ui-cursor-CpNOiwkt.js} +61 -61
  122. package/dist/{vue-ui-dag-C1c6scxC.js → vue-ui-dag-i-zPwLcN.js} +44 -44
  123. package/dist/{vue-ui-dashboard-BZBJM7dN.js → vue-ui-dashboard-DtaW9a2P.js} +70 -70
  124. package/dist/{vue-ui-digits-CsougDlU.js → vue-ui-digits-BIlec9af.js} +4 -4
  125. package/dist/{vue-ui-donut-lBgSYKgO.js → vue-ui-donut-Bgf-n95J.js} +551 -551
  126. package/dist/{vue-ui-donut-Be9jKelz.js → vue-ui-donut-CJlBEyxu.js} +203 -203
  127. package/dist/vue-ui-donut-evolution-C0BKntfL.js +1552 -0
  128. package/dist/{vue-ui-dumbbell-CwmA5x9G.js → vue-ui-dumbbell-C112YLkC.js} +87 -87
  129. package/dist/{vue-ui-flow-CRhh8SSN.js → vue-ui-flow-j4bDg9Zd.js} +99 -99
  130. package/dist/{vue-ui-funnel-DH1hW8Gw.js → vue-ui-funnel-CVHpfBCW.js} +40 -40
  131. package/dist/vue-ui-galaxy-ChGpUWh8.js +1097 -0
  132. package/dist/{vue-ui-gauge-CV4-Rn7K.js → vue-ui-gauge-Cp00vXfG.js} +190 -190
  133. package/dist/{vue-ui-geo-BocLrguL.js → vue-ui-geo-B4hDk5NO.js} +12 -12
  134. package/dist/{vue-ui-gizmo-6wKlI5PC.js → vue-ui-gizmo-D6nCCsS4.js} +54 -54
  135. package/dist/vue-ui-heatmap-scVJc1cw.js +1606 -0
  136. package/dist/{vue-ui-hill-CeIZZFf5.js → vue-ui-hill-DnYUHGAK.js} +21 -21
  137. package/dist/vue-ui-history-plot-C5qAMaaW.js +1710 -0
  138. package/dist/{vue-ui-horizontal-bar-D2aw-8tx.js → vue-ui-horizontal-bar-nEG4uvpv.js} +85 -85
  139. package/dist/{vue-ui-kpi-BQ967gzv.js → vue-ui-kpi-DOxId6xg.js} +12 -12
  140. package/dist/{vue-ui-label-Cs4ZlAqr.js → vue-ui-label-BDKY7BI7.js} +4 -4
  141. package/dist/{vue-ui-mini-loader-wGeACd-Y.js → vue-ui-mini-loader-BknVs9VJ.js} +3 -3
  142. package/dist/vue-ui-molecule-_x232mMu.js +941 -0
  143. package/dist/vue-ui-mood-radar-D-F4855V.js +1111 -0
  144. package/dist/{vue-ui-nested-donuts-DT2zkLx2.js → vue-ui-nested-donuts-0E5IllFW.js} +481 -481
  145. package/dist/vue-ui-onion-Eip0S1H7.js +1247 -0
  146. package/dist/vue-ui-parallel-coordinate-plot-DO0sQdJw.js +1444 -0
  147. package/dist/vue-ui-quadrant-CA0ClWfL.js +1979 -0
  148. package/dist/{vue-ui-quick-chart-CkPu6GMh.js → vue-ui-quick-chart-D-VuAoll.js} +169 -169
  149. package/dist/vue-ui-radar-BTD7Y0Ps.js +1386 -0
  150. package/dist/vue-ui-rating-C_Qj6gnP.js +359 -0
  151. package/dist/vue-ui-relation-circle-CcxLBVFV.js +905 -0
  152. package/dist/vue-ui-ridgeline-BZrzbbhb.js +1630 -0
  153. package/dist/{vue-ui-rings-CBtHZ5Pp.js → vue-ui-rings-CO48GOP2.js} +78 -78
  154. package/dist/{vue-ui-scatter-DzePsQEe.js → vue-ui-scatter-DrxUgZbQ.js} +136 -136
  155. package/dist/{vue-ui-skeleton-C347nFnE.js → vue-ui-skeleton-CeKjW4MX.js} +510 -510
  156. package/dist/{vue-ui-smiley-BIjAIpJ9.js → vue-ui-smiley-BvRwx69s.js} +6 -6
  157. package/dist/{vue-ui-spark-trend-Di_7Da43.js → vue-ui-spark-trend-DnujGRyt.js} +96 -96
  158. package/dist/{vue-ui-sparkbar-CbJ-fKc6.js → vue-ui-sparkbar-Cd_uhYGD.js} +113 -113
  159. package/dist/vue-ui-sparkgauge-hT31YEtt.js +268 -0
  160. package/dist/vue-ui-sparkhistogram-PKlTYhKA.js +589 -0
  161. package/dist/vue-ui-sparkline-BSu1uRvP.js +1610 -0
  162. package/dist/{vue-ui-sparkstackbar-IM_l98X-.js → vue-ui-sparkstackbar-R0ij2vi1.js} +183 -183
  163. package/dist/vue-ui-stackbar-BrzzkGFk.js +2369 -0
  164. package/dist/vue-ui-stackline-zEX3gR3y.js +2483 -0
  165. package/dist/{vue-ui-strip-plot-CVV0t6mb.js → vue-ui-strip-plot-DR3N56rS.js} +253 -253
  166. package/dist/{vue-ui-table-nAGCIZKg.js → vue-ui-table-Bg6BeLrf.js} +117 -117
  167. package/dist/{vue-ui-table-heatmap-D5F5bLx5.js → vue-ui-table-heatmap-C1b1Pcp8.js} +95 -95
  168. package/dist/vue-ui-table-sparkline-CkVXyequ.js +738 -0
  169. package/dist/{vue-ui-thermometer-Ccr2ZnzI.js → vue-ui-thermometer-CqkaMF7Z.js} +23 -23
  170. package/dist/{vue-ui-timer-DkW-P6EG.js → vue-ui-timer-CgJvNwBv.js} +13 -13
  171. package/dist/{vue-ui-tiremarks-Bf2anKLr.js → vue-ui-tiremarks-B078YJ9M.js} +30 -30
  172. package/dist/{vue-ui-treemap-Wy61KlkN.js → vue-ui-treemap-Cfjf8mDl.js} +77 -77
  173. package/dist/vue-ui-waffle-BZIcPa0l.js +1633 -0
  174. package/dist/{vue-ui-wheel-DGhu_B8n.js → vue-ui-wheel-CPTm8AHn.js} +185 -185
  175. package/dist/{vue-ui-word-cloud-CdRMst8U.js → vue-ui-word-cloud-DnGblUwj.js} +46 -46
  176. package/dist/{vue-ui-world-Bc4hMzzB.js → vue-ui-world-KkcpeKqp.js} +133 -133
  177. package/dist/vue-ui-xy-C6lVqZnx.js +5367 -0
  178. package/dist/{vue-ui-xy-CbgQs7yW.js → vue-ui-xy-ClCV7xA5.js} +169 -169
  179. package/dist/{vue-ui-xy-canvas-R2xbgDOy.js → vue-ui-xy-canvas-BlpCbXKR.js} +435 -435
  180. package/package.json +1 -1
  181. package/dist/exposedLib-CG3aXJ-v.js +0 -28
  182. package/dist/vue-ui-age-pyramid-SpPactMh.js +0 -1305
  183. package/dist/vue-ui-carousel-table-DCnVD0BJ.js +0 -467
  184. package/dist/vue-ui-chestnut-BDBdizBp.js +0 -2016
  185. package/dist/vue-ui-donut-evolution-vLMhwz4K.js +0 -1552
  186. package/dist/vue-ui-galaxy-CiqILfxR.js +0 -1097
  187. package/dist/vue-ui-heatmap-DGXXRsr4.js +0 -1606
  188. package/dist/vue-ui-history-plot-CporPpg9.js +0 -1710
  189. package/dist/vue-ui-molecule-CvDC9Ht5.js +0 -941
  190. package/dist/vue-ui-mood-radar-BK1va5-H.js +0 -1111
  191. package/dist/vue-ui-onion-DPMikBzZ.js +0 -1247
  192. package/dist/vue-ui-parallel-coordinate-plot-DMPxUL3p.js +0 -1444
  193. package/dist/vue-ui-quadrant-DFkIeJXo.js +0 -1979
  194. package/dist/vue-ui-radar-B3OOLJal.js +0 -1386
  195. package/dist/vue-ui-rating-Criq0ofQ.js +0 -359
  196. package/dist/vue-ui-relation-circle-I6e5UxgY.js +0 -905
  197. package/dist/vue-ui-ridgeline-FmmdCdy9.js +0 -1630
  198. package/dist/vue-ui-sparkgauge-Bb9-yFTb.js +0 -268
  199. package/dist/vue-ui-sparkhistogram-kbbbDVul.js +0 -589
  200. package/dist/vue-ui-sparkline-BF0Fdo6v.js +0 -1587
  201. package/dist/vue-ui-stackbar-CaEXVeo5.js +0 -2369
  202. package/dist/vue-ui-stackline-MgvhcBfm.js +0 -2483
  203. package/dist/vue-ui-table-sparkline-Bf2hjBwq.js +0 -738
  204. package/dist/vue-ui-waffle-CkIFp-AN.js +0 -1633
  205. package/dist/vue-ui-xy-DybWfQrI.js +0 -5298
@@ -1,1111 +0,0 @@
1
- import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
2
- import { $ as t, D as n, M as r, Nt as i, Pt as a, Ut as o, Wt as ee, X as s, Zt as te, i as ne, nt as re, q as ie, t as ae } from "./lib-Dql7cqyA.js";
3
- import { n as oe, t as se } from "./useHints-Dq_w2E8B.js";
4
- import { t as ce } from "./useConfig-D32D002m.js";
5
- import { t as le } from "./usePrinter-hohanNCX.js";
6
- import { n as ue, t as de } from "./BaseScanner-Dzc8VT3j.js";
7
- import { t as fe } from "./useNestedProp-Chvyfpl-.js";
8
- import { t as pe } from "./useThemeCheck-C43Tcqmk.js";
9
- import { t as me } from "./useChartExport-iwOqiIWX.js";
10
- import { t as he } from "./img-BkMKbWsI.js";
11
- import { n as ge } from "./Title-CPHi-evi.js";
12
- import { t as _e } from "./_plugin-vue_export-helper-B3ysoDQm.js";
13
- import { l as ve, t as ye } from "./useResponsive-ZtArZtUf.js";
14
- import { t as be } from "./DefGrad-DVBqDjhO.js";
15
- import { t as xe } from "./A11yDataTable-DdRsVULz.js";
16
- import { t as Se } from "./useUserOptionState-DK-_1ddE.js";
17
- import { t as Ce } from "./useChartAccessibility-DYqac8yF.js";
18
- import { t as we } from "./Legend-X4kF4PvW.js";
19
- import { t as Te } from "./vue_ui_mood_radar-BA6LAKhk.js";
20
- import { Fragment as Ee, Teleport as De, computed as c, createBlock as l, createCommentVNode as u, createElementBlock as d, createElementVNode as f, createSlots as Oe, createTextVNode as ke, createVNode as p, defineAsyncComponent as m, guardReactiveProps as h, mergeProps as Ae, nextTick as je, normalizeClass as Me, normalizeProps as g, normalizeStyle as _, onMounted as Ne, openBlock as v, ref as y, renderList as Pe, renderSlot as b, resolveDynamicComponent as Fe, toDisplayString as x, toRefs as Ie, unref as S, watch as Le, withCtx as C } from "vue";
21
- //#region src/components/vue-ui-mood-radar.vue
22
- var Re = /* @__PURE__ */ e({ default: () => w }), ze = ["id"], Be = ["id"], Ve = ["id"], He = { style: { position: "relative" } }, Ue = [
23
- "xmlns",
24
- "aria-describedby",
25
- "viewBox"
26
- ], We = ["width", "height"], Ge = [
27
- "x1",
28
- "y1",
29
- "x2",
30
- "y2",
31
- "stroke",
32
- "stroke-width"
33
- ], Ke = [
34
- "d",
35
- "stroke",
36
- "stroke-width"
37
- ], qe = ["transform"], Je = ["stroke"], Ye = ["aria-label", "fill"], Xe = ["transform"], Ze = ["stroke"], Qe = ["aria-label", "fill"], $e = ["transform"], et = ["stroke"], tt = ["aria-label", "fill"], nt = ["transform"], rt = ["stroke"], it = ["aria-label", "fill"], at = ["transform"], ot = ["stroke"], st = ["aria-label", "fill"], ct = [
38
- "d",
39
- "stroke",
40
- "stroke-width",
41
- "fill"
42
- ], lt = [
43
- "x1",
44
- "y1",
45
- "x2",
46
- "y2",
47
- "stroke"
48
- ], ut = [
49
- "cx",
50
- "cy",
51
- "fill",
52
- "stroke"
53
- ], dt = [
54
- "cx",
55
- "cy",
56
- "fill",
57
- "stroke"
58
- ], ft = [
59
- "x",
60
- "y",
61
- "fill",
62
- "font-weight"
63
- ], pt = [
64
- "x",
65
- "y",
66
- "fill"
67
- ], mt = {
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
- }, ht = {
78
- key: 5,
79
- class: "vue-data-ui-watermark"
80
- }, gt = ["id"], _t = ["onClick", "onKeydown"], vt = { key: 0 }, yt = { key: 1 }, w = /*#__PURE__*/ _e({
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: _e, emit: Re }) {
98
- let w = m(() => import("./BaseIcon-D8R6_sKH.js").then((e) => e.n)), bt = m(() => import("./vue-ui-accordion-DmkL8A59.js").then((e) => e.n)), xt = m(() => import("./DataTable-oiM9uWrQ.js")), St = m(() => import("./PenAndPaper-Cd3nItcO.js").then((e) => e.t)), Ct = m(() => import("./UserOptions-qo_Tsqci.js").then((e) => e.n)), wt = m(() => import("./PackageVersion-CEvZNFTz.js").then((e) => e.t)), Tt = m(() => import("./BaseDraggableDialog-Gm4Q30j0.js").then((e) => e.n)), { vue_ui_mood_radar: Et } = ce(), { isThemeValid: Dt, warnInvalidTheme: Ot } = pe(), T = e, kt = Re, E = y(ie()), D = y(null), O = y(null), At = y(null), jt = y(0), Mt = y(0), Nt = y(0), Pt = y(null), Ft = y(null), k = y(null), It = y(null), Lt = y(null), Rt = y(!1), A = y(null), zt = y(null), j = y(null), Bt = y(!1), Vt = c(() => !!T.dataset && Object.keys(T.dataset).length), M = y(Yt()), N = c(() => M.value.userOptions), P = c(() => M.value.style.chart.layout.smileys), F = c(() => M.value.style.chart.layout), I = c(() => M.value.style.chart);
99
- oe({
100
- config: () => M.value,
101
- dataset: () => T.dataset,
102
- component: "VueUiMoodRadar",
103
- rules: [se.noHint]
104
- });
105
- let L = c(() => M.value.userOptions.useCursorPointer), Ht = c(() => te({
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: M.value.skeletonConfig ?? {}
132
- })), { loading: Ut, FINAL_DATASET: R } = ue({
133
- ...Ie(T),
134
- FINAL_CONFIG: M,
135
- prepareConfig: Yt,
136
- callback: () => {
137
- Promise.resolve().then(async () => {
138
- await je(), B.value.showTable = M.value.table.show;
139
- });
140
- },
141
- skeletonDataset: T.config?.skeletonDataset ?? {
142
- 1: 1,
143
- 2: 1,
144
- 3: 1,
145
- 4: 1,
146
- 5: 1
147
- },
148
- skeletonConfig: te({
149
- defaultConfig: M.value,
150
- userConfig: Ht.value
151
- })
152
- });
153
- Ne(() => {
154
- Rt.value = !0, Gt();
155
- });
156
- let Wt = c(() => M.value.debug);
157
- function Gt() {
158
- if (a(T.dataset) && re({
159
- componentName: "VueUiMoodRadar",
160
- type: "dataset",
161
- debug: Wt.value
162
- }), M.value.responsive) {
163
- let e = ve(() => {
164
- let { width: e, height: t } = ye({
165
- chart: D.value,
166
- title: I.value.title.text ? Pt.value : null,
167
- legend: I.value.legend.show ? Ft.value : null,
168
- noTitle: At.value,
169
- source: Lt.value
170
- });
171
- requestAnimationFrame(() => {
172
- V.value.width = e, V.value.height = t - 12;
173
- });
174
- });
175
- k.value && (It.value && k.value.unobserve(It.value), k.value.disconnect()), k.value = new ResizeObserver(e), It.value = D.value.parentNode, k.value.observe(It.value);
176
- }
177
- }
178
- let { userOptionsVisible: Kt, setUserOptionsVisibility: qt, keepUserOptionState: Jt } = Se({ config: M.value }), { svgRef: z } = Ce({ config: I.value.title });
179
- function Yt() {
180
- let e = fe({
181
- userConfig: T.config,
182
- defaultConfig: Et
183
- }), t = e.theme;
184
- if (!t) return e;
185
- if (!Dt.value(e)) return Ot(e), e;
186
- let n = fe({
187
- userConfig: Te[t] || T.config,
188
- defaultConfig: e
189
- });
190
- return fe({
191
- userConfig: T.config,
192
- defaultConfig: n
193
- });
194
- }
195
- Le(() => T.config, (e) => {
196
- M.value = Yt(), Kt.value = !M.value.userOptions.showOnChartHover, Gt(), jt.value += 1, Mt.value += 1, Nt.value += 1, B.value.showTable = M.value.table.show;
197
- }, { deep: !0 });
198
- let { isPrinting: Xt, isImaging: Zt, generatePdf: Qt, generateImage: $t } = le({
199
- elementId: E.value,
200
- fileName: I.value.title.text || "vue-ui-mood-radar",
201
- options: M.value.userOptions.print
202
- }), en = c(() => M.value.userOptions.show && !I.value.title.text), B = y({ showTable: M.value.table.show }), V = y({
203
- height: 256,
204
- width: 256
205
- }), tn = {
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
- }, nn = c(() => {
227
- let e = {};
228
- return cn.value.forEach((t) => {
229
- e[t.key] = {
230
- x: t.x,
231
- y: t.y
232
- };
233
- }), e;
234
- });
235
- function H(e) {
236
- let t = tn[e], n = nn.value[e] || t;
237
- return `translate(${n.x - t.x}, ${n.y - t.y})`;
238
- }
239
- let rn = c(() => r({
240
- plot: {
241
- x: V.value.width / 2,
242
- y: V.value.height / 2
243
- },
244
- radius: Math.min(V.value.height, V.value.width) * .35,
245
- sides: 5,
246
- rotation: 11
247
- }));
248
- function an({ centerX: e, centerY: t, apexX: n, apexY: r, proportion: i, key: a, value: o }) {
249
- return {
250
- x: e + (n - e) * i,
251
- y: t + (r - t) * i,
252
- key: a,
253
- value: o
254
- };
255
- }
256
- let on = c(() => Math.max(...Object.values(R.value).map((e) => isNaN(e) ? 0 : e))), U = c(() => Object.values(R.value).reduce((e, t) => (isNaN(e) ? 0 : e) + (isNaN(t) ? 0 : t), 0)), W = c(() => Object.keys(R.value).map((e, t) => {
257
- let n = typeof R.value[e] != "number" || isNaN(R.value[e]) ? 0 : R.value[e];
258
- return {
259
- index: t,
260
- key: e,
261
- value: n,
262
- proportion: n / U.value,
263
- color: P.value.colors[e]
264
- };
265
- }).map((e) => ({
266
- ...e,
267
- onSelect: () => G(e.key)
268
- })).sort((e, t) => t.key - e.key)), sn = c(() => W.value.map((e, t) => ({
269
- ...e,
270
- display: `${ne(F.value.dataLabel.formatter, e.value, s({
271
- p: F.value.dataLabel.prefix,
272
- v: e.value,
273
- s: F.value.dataLabel.suffix,
274
- r: F.value.dataLabel.roundingValue
275
- }))}${Ut.value ? "" : ` (${s({
276
- v: e.proportion * 100,
277
- s: "%",
278
- r: I.value.legend.roundingPercentage
279
- })})`}`
280
- }))), cn = c(() => ([
281
- "1",
282
- "2",
283
- "3",
284
- "4",
285
- "5"
286
- ].forEach((e) => {
287
- [null, void 0].includes(R.value[e]) && re({
288
- componentName: "VueUiMoodRadar",
289
- type: "datasetAttribute",
290
- property: e,
291
- debug: Wt.value
292
- });
293
- }), rn.value.coordinates.map((e, t) => {
294
- let n = an({
295
- centerX: V.value.width / 2,
296
- centerY: V.value.height / 2,
297
- apexX: e.x,
298
- apexY: e.y,
299
- proportion: W.value[t].value / on.value,
300
- key: W.value[t].key,
301
- value: W.value[t].value
302
- });
303
- return {
304
- ...e,
305
- plots: n,
306
- key: W.value[t].key
307
- };
308
- }))), ln = c(() => ({
309
- cy: "mood-radar-legend",
310
- backgroundColor: I.value.legend.backgroundColor,
311
- color: I.value.legend.color,
312
- fontSize: I.value.legend.fontSize,
313
- paddingBottom: 12,
314
- fontWeight: I.value.legend.bold ? "bold" : ""
315
- }));
316
- function G(e) {
317
- e === O.value ? O.value = null : (O.value = e, J(e));
318
- }
319
- function K(e) {
320
- O.value = e;
321
- let t = W.value.find((t) => t.key === e);
322
- M.value.events.datapointEnter && M.value.events.datapointEnter({
323
- datapoint: t,
324
- seriesIndex: t.index
325
- });
326
- }
327
- function q(e) {
328
- O.value = null;
329
- let t = W.value.find((t) => t.key === e);
330
- M.value.events.datapointLeave && M.value.events.datapointLeave({
331
- datapoint: t,
332
- seriesIndex: t.index
333
- });
334
- }
335
- function J(e) {
336
- let t = W.value.find((t) => t.key === e);
337
- M.value.events.datapointClick && M.value.events.datapointClick({
338
- datapoint: t,
339
- seriesIndex: t.index
340
- });
341
- }
342
- let Y = c(() => ({
343
- head: W.value.map((e) => ({
344
- name: e.key,
345
- color: e.color
346
- })),
347
- body: W.value.map((e) => isNaN(e.value) ? 0 : e.value)
348
- }));
349
- function un(e = null) {
350
- je(() => {
351
- let r = Y.value.head.map((e, t) => [
352
- [e.name],
353
- [Y.value.body[t]],
354
- [isNaN(Y.value.body[t] / U.value) ? "-" : Y.value.body[t] / U.value * 100]
355
- ]), i = [
356
- [I.value.title.text],
357
- [I.value.title.subtitle.text],
358
- [
359
- [""],
360
- ["val"],
361
- ["%"]
362
- ]
363
- ].concat(r), a = n(i);
364
- e ? e(a) : t({
365
- csvContent: a,
366
- title: I.value.title.text || "vue-ui-mood-radar"
367
- });
368
- });
369
- }
370
- let X = c(() => ({
371
- head: [
372
- "__SUM__",
373
- Number(U.value.toFixed(M.value.table.td.roundingValue)).toLocaleString(),
374
- "100%"
375
- ],
376
- body: Y.value.head.map((e, t) => [
377
- {
378
- color: e.color,
379
- name: e.name
380
- },
381
- Y.value.body[t].toFixed(M.value.table.td.roundingValue),
382
- isNaN(Y.value.body[t] / U.value) ? "-" : (Y.value.body[t] / U.value * 100).toFixed(M.value.table.td.roundingPercentage) + "%"
383
- ]),
384
- config: {
385
- th: {
386
- backgroundColor: M.value.table.th.backgroundColor,
387
- color: M.value.table.th.color,
388
- outline: M.value.table.th.outline
389
- },
390
- td: {
391
- backgroundColor: M.value.table.td.backgroundColor,
392
- color: M.value.table.td.color,
393
- outline: M.value.table.td.outline
394
- },
395
- breakpoint: M.value.table.responsiveBreakpoint
396
- },
397
- colNames: [
398
- M.value.table.columnNames.series,
399
- M.value.table.columnNames.value,
400
- M.value.table.columnNames.percentage
401
- ]
402
- }));
403
- function dn() {
404
- return W.value;
405
- }
406
- function fn() {
407
- B.value.showTable = !B.value.showTable;
408
- }
409
- let Z = y(!1);
410
- function pn(e) {
411
- Z.value = e;
412
- }
413
- let Q = y(!1);
414
- function mn() {
415
- Q.value = !Q.value;
416
- }
417
- async function hn({ scale: e = 2 } = {}) {
418
- if (!D.value) return;
419
- let { width: t, height: n } = D.value.getBoundingClientRect(), r = t / n, { imageUri: i, base64: a } = await he({
420
- domElement: D.value,
421
- base64: !0,
422
- img: !0,
423
- scale: e
424
- });
425
- return {
426
- imageUri: i,
427
- base64: a,
428
- title: I.value.title.text,
429
- width: t,
430
- height: n,
431
- aspectRatio: r
432
- };
433
- }
434
- let gn = c(() => {
435
- let e = M.value.table.useDialog && !M.value.table.show, t = B.value.showTable;
436
- return {
437
- component: e ? Tt : bt,
438
- title: `${I.value.title.text}${I.value.title.subtitle.text ? `: ${I.value.title.subtitle.text}` : ""}`,
439
- props: e ? {
440
- backgroundColor: M.value.table.th.backgroundColor,
441
- color: M.value.table.th.color,
442
- headerColor: M.value.table.th.color,
443
- headerBg: M.value.table.th.backgroundColor,
444
- isFullscreen: Z.value,
445
- fullscreenParent: D.value,
446
- forcedWidth: Math.min(800, window.innerWidth * .8),
447
- isCursorPointer: L.value
448
- } : {
449
- hideDetails: !0,
450
- config: {
451
- open: t,
452
- maxHeight: 1e4,
453
- body: {
454
- backgroundColor: I.value.backgroundColor,
455
- color: I.value.color
456
- },
457
- head: {
458
- backgroundColor: I.value.backgroundColor,
459
- color: I.value.color
460
- }
461
- }
462
- }
463
- };
464
- });
465
- Le(() => B.value.showTable, (e) => {
466
- M.value.table.show || (e && M.value.table.useDialog && A.value ? A.value.open() : "close" in A.value && A.value.close());
467
- });
468
- function _n() {
469
- B.value.showTable = !1, zt.value && zt.value.setTableIconState(!1);
470
- }
471
- let vn = c(() => sn.value.map((e) => ({
472
- ...e,
473
- name: e.display,
474
- shape: "circle"
475
- }))), yn = c(() => I.value.backgroundColor), bn = c(() => I.value.legend), xn = c(() => I.value.title), { isCallbackImaging: Sn, isCallbackSvg: Cn, generateSvg: wn, onGenerateImage: Tn } = me({
476
- svg: z,
477
- title: xn,
478
- legend: bn,
479
- legendItems: vn,
480
- backgroundColor: yn,
481
- getSvgCallback: () => M.value.userOptions.callbacks.svg,
482
- generateImage: $t
483
- });
484
- async function En() {
485
- if (kt("copyAlt", {
486
- config: M.value,
487
- dataset: W.value
488
- }), !M.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(M.value.userOptions.callbacks.altCopy({
493
- config: M.value,
494
- dataset: W.value
495
- }));
496
- }
497
- let $ = c(() => W.value.map((e) => String(e.key)));
498
- function Dn() {
499
- qt(!0);
500
- }
501
- function On() {
502
- qt(!1);
503
- }
504
- function kn(e) {
505
- return W.value.find((t) => String(t.key) === String(e));
506
- }
507
- function An(e, t, n) {
508
- return ne(F.value.dataLabel.formatter, e, s({
509
- p: F.value.dataLabel.prefix,
510
- v: e,
511
- s: F.value.dataLabel.suffix,
512
- r: F.value.dataLabel.roundingValue
513
- }), {
514
- datapoint: n,
515
- seriesIndex: t
516
- });
517
- }
518
- function jn(e) {
519
- return s({
520
- v: U.value ? e / U.value * 100 : 0,
521
- s: "%",
522
- r: F.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 && (j.value = e, O.value = t);
532
- }
533
- function Pn() {
534
- Bt.value = !0;
535
- }
536
- function Fn() {
537
- j.value = null, O.value = null, Bt.value = !1;
538
- }
539
- function In(e) {
540
- if (!z.value || !$.value.length || Q.value || document.activeElement !== z.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
- j.value = null, O.value = null;
545
- return;
546
- }
547
- if (r) {
548
- if (j.value === null) return;
549
- let e = $.value[j.value];
550
- if (!e) return;
551
- G(e);
552
- return;
553
- }
554
- let a = j.value;
555
- a === null || a < 0 || a >= $.value.length ? a = n ? 0 : $.value.length - 1 : n ? (a += 1, a >= $.value.length && (a = 0)) : t && (--a, a < 0 && (a = $.value.length - 1)), Nn(a);
556
- }
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
- j.value = null, O.value = null;
562
- return;
563
- }
564
- G(String(t));
565
- }
566
- }
567
- let Rn = c(() => ({
568
- headers: X.value?.colNames ?? [],
569
- rows: W.value.map((e) => [
570
- String(e.key),
571
- An(e.value, e.index, e),
572
- jn(e.value)
573
- ])
574
- }));
575
- return _e({
576
- getData: dn,
577
- getImage: hn,
578
- generatePdf: Qt,
579
- generateCsv: un,
580
- generateImage: $t,
581
- generateSvg: wn,
582
- toggleTable: fn,
583
- toggleAnnotator: mn,
584
- toggleFullscreen: pn,
585
- copyAlt: En
586
- }), (e, t) => (v(), d("div", {
587
- class: Me(`vue-data-ui-component vue-ui-mood-radar ${Z.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${M.value.useCssAnimation ? "" : "vue-ui-dna"}`),
588
- ref_key: "moodRadarChart",
589
- ref: D,
590
- id: `${E.value}`,
591
- style: _(`font-family:${M.value.style.fontFamily};width:100%; text-align:center;background:${I.value.backgroundColor}`),
592
- onMouseenter: Dn,
593
- onMouseleave: On
594
- }, [
595
- f("div", {
596
- id: `chart-instructions-${E.value}`,
597
- class: "sr-only"
598
- }, [f("p", null, x(M.value.a11y.translations.keyboardNavigation), 1)], 8, Be),
599
- Rn.value?.rows?.length ? (v(), l(xe, {
600
- key: 0,
601
- uid: E.value,
602
- head: Rn.value.headers,
603
- body: Rn.value.rows,
604
- notice: M.value.a11y.translations.tableAvailable,
605
- caption: M.value.a11y.translations.tableCaption
606
- }, null, 8, [
607
- "uid",
608
- "head",
609
- "body",
610
- "notice",
611
- "caption"
612
- ])) : u("", !0),
613
- N.value.buttons.annotator ? (v(), l(S(St), {
614
- key: 1,
615
- svgRef: S(z),
616
- backgroundColor: I.value.backgroundColor,
617
- color: I.value.color,
618
- active: Q.value,
619
- isCursorPointer: L.value,
620
- palette: N.value.annotatorPalette,
621
- onClose: mn
622
- }, {
623
- "annotator-action-close": C(() => [b(e.$slots, "annotator-action-close", {}, void 0, !0)]),
624
- "annotator-action-color": C(({ color: t }) => [b(e.$slots, "annotator-action-color", g(h({ color: t })), void 0, !0)]),
625
- "annotator-action-draw": C(({ mode: t }) => [b(e.$slots, "annotator-action-draw", g(h({ mode: t })), void 0, !0)]),
626
- "annotator-action-undo": C(({ disabled: t }) => [b(e.$slots, "annotator-action-undo", g(h({ disabled: t })), void 0, !0)]),
627
- "annotator-action-redo": C(({ disabled: t }) => [b(e.$slots, "annotator-action-redo", g(h({ disabled: t })), void 0, !0)]),
628
- "annotator-action-delete": C(({ disabled: t }) => [b(e.$slots, "annotator-action-delete", g(h({ disabled: t })), void 0, !0)]),
629
- _: 3
630
- }, 8, [
631
- "svgRef",
632
- "backgroundColor",
633
- "color",
634
- "active",
635
- "isCursorPointer",
636
- "palette"
637
- ])) : u("", !0),
638
- en.value ? (v(), d("div", {
639
- key: 2,
640
- ref_key: "noTitle",
641
- ref: At,
642
- class: "vue-data-ui-no-title-space",
643
- style: "height:36px; width: 100%;background:transparent"
644
- }, null, 512)) : u("", !0),
645
- I.value.title.text ? (v(), d("div", {
646
- key: 3,
647
- ref_key: "chartTitle",
648
- ref: Pt,
649
- style: "width:100%;background:transparent"
650
- }, [p(ge, { config: {
651
- title: {
652
- cy: "mood-radar-title",
653
- ...I.value.title
654
- },
655
- subtitle: {
656
- cy: "mood-radar-subtitle",
657
- ...I.value.title.subtitle
658
- }
659
- } }, null, 8, ["config"])], 512)) : u("", !0),
660
- f("div", { id: `legend-top-${E.value}` }, null, 8, Ve),
661
- N.value.show && Vt.value && (S(Jt) || S(Kt)) ? (v(), l(S(Ct), {
662
- key: 4,
663
- ref_key: "userOptionsRef",
664
- ref: zt,
665
- backgroundColor: I.value.backgroundColor,
666
- color: I.value.color,
667
- isPrinting: S(Xt),
668
- isImaging: S(Zt),
669
- uid: E.value,
670
- hasPdf: N.value.buttons.pdf,
671
- hasXls: N.value.buttons.csv,
672
- hasImg: N.value.buttons.img,
673
- hasSvg: N.value.buttons.svg,
674
- hasTable: N.value.buttons.table,
675
- hasFullscreen: N.value.buttons.fullscreen,
676
- hasAltCopy: N.value.buttons.altCopy,
677
- isFullscreen: Z.value,
678
- titles: { ...N.value.buttonTitles },
679
- chartElement: D.value,
680
- position: N.value.position,
681
- hasAnnotator: N.value.buttons.annotator,
682
- isAnnotation: Q.value,
683
- callbacks: N.value.callbacks,
684
- printScale: N.value.print.scale,
685
- tableDialog: M.value.table.useDialog,
686
- isCursorPointer: L.value,
687
- onToggleFullscreen: pn,
688
- onGeneratePdf: S(Qt),
689
- onGenerateCsv: un,
690
- onGenerateImage: S(Tn),
691
- onGenerateSvg: S(wn),
692
- onToggleTable: fn,
693
- onToggleAnnotator: mn,
694
- onCopyAlt: En,
695
- style: _({ visibility: S(Jt) ? S(Kt) ? "visible" : "hidden" : "visible" })
696
- }, Oe({ _: 2 }, [
697
- e.$slots.menuIcon ? {
698
- name: "menuIcon",
699
- fn: C(({ isOpen: t, color: n }) => [b(e.$slots, "menuIcon", g(h({
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: C(() => [b(e.$slots, "optionPdf", {}, void 0, !0)]),
708
- key: "1"
709
- } : void 0,
710
- e.$slots.optionCsv ? {
711
- name: "optionCsv",
712
- fn: C(() => [b(e.$slots, "optionCsv", {}, void 0, !0)]),
713
- key: "2"
714
- } : void 0,
715
- e.$slots.optionImg ? {
716
- name: "optionImg",
717
- fn: C(() => [b(e.$slots, "optionImg", {}, void 0, !0)]),
718
- key: "3"
719
- } : void 0,
720
- e.$slots.optionSvg ? {
721
- name: "optionSvg",
722
- fn: C(() => [b(e.$slots, "optionSvg", {}, void 0, !0)]),
723
- key: "4"
724
- } : void 0,
725
- e.$slots.optionTable ? {
726
- name: "optionTable",
727
- fn: C(() => [b(e.$slots, "optionTable", {}, void 0, !0)]),
728
- key: "5"
729
- } : void 0,
730
- e.$slots.optionFullscreen ? {
731
- name: "optionFullscreen",
732
- fn: C(({ toggleFullscreen: t, isFullscreen: n }) => [b(e.$slots, "optionFullscreen", g(h({
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: C(({ toggleAnnotator: t, isAnnotator: n }) => [b(e.$slots, "optionAnnotator", g(h({
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: C(({ altCopy: t }) => [b(e.$slots, "optionAltCopy", g(h({ altCopy: t })), void 0, !0)]),
749
- key: "8"
750
- } : void 0,
751
- e.$slots["custom-menu-before"] ? {
752
- name: "custom-menu-before",
753
- fn: C(() => [b(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: C(() => [b(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("."))) : u("", !0),
762
- f("div", He, [(v(), d("svg", {
763
- ref_key: "svgRef",
764
- ref: z,
765
- xmlns: S(ae),
766
- "aria-describedby": `chart-instructions-${E.value}`,
767
- viewBox: `0 0 ${V.value.width} ${V.value.height}`,
768
- class: Me({
769
- "vue-data-ui-fullscreen--on": Z.value,
770
- "vue-data-ui-fulscreen--off": !Z.value
771
- }),
772
- style: _(`overflow:visible;background:transparent;color:${I.value.color}`),
773
- tabindex: "0",
774
- onFocus: Pn,
775
- onBlur: Fn,
776
- onKeydown: In
777
- }, [
778
- p(S(wt)),
779
- e.$slots["chart-background"] ? (v(), d("foreignObject", {
780
- key: 0,
781
- x: 0,
782
- y: 0,
783
- width: V.value.width,
784
- height: V.value.height,
785
- style: { pointerEvents: "none" }
786
- }, [b(e.$slots, "chart-background", {}, void 0, !0)], 8, We)) : u("", !0),
787
- f("defs", null, [p(be, {
788
- t: "radial",
789
- cx: "50%",
790
- cy: "50%",
791
- r: "50%",
792
- fx: "50%",
793
- fy: "50%",
794
- id: `mood_radar_gradient_${E.value}`,
795
- stops: [[
796
- "0%",
797
- S(o)(F.value.dataPolygon.color, F.value.dataPolygon.opacity),
798
- 1
799
- ], [
800
- "100%",
801
- S(o)(S(ee)(F.value.dataPolygon.color, F.value.dataPolygon.gradient.intensity / 100), F.value.dataPolygon.opacity),
802
- 1
803
- ]]
804
- }, null, 8, ["id", "stops"])]),
805
- (v(!0), d(Ee, null, Pe(rn.value.coordinates, (e) => (v(), d("line", {
806
- x1: V.value.width / 2,
807
- y1: V.value.height / 2,
808
- x2: e.x,
809
- y2: e.y,
810
- stroke: F.value.grid.stroke,
811
- "stroke-width": F.value.grid.strokeWidth
812
- }, null, 8, Ge))), 256)),
813
- f("path", {
814
- d: rn.value.path,
815
- fill: "none",
816
- stroke: F.value.outerPolygon.stroke,
817
- "stroke-width": F.value.outerPolygon.strokeWidth,
818
- "stroke-linejoin": "round",
819
- "stroke-linecap": "round"
820
- }, null, 8, Ke),
821
- f("g", { transform: H("5") }, [f("path", {
822
- fill: "none",
823
- stroke: P.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, Je), f("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: O.value === "5" ? S(o)(P.value.colors[5], 20) : "transparent",
835
- onMouseenter: t[0] ||= (e) => K("5"),
836
- onMouseleave: t[1] ||= (e) => q("5"),
837
- onClick: t[2] ||= (e) => J("5")
838
- }, null, 40, Ye)], 8, qe),
839
- f("g", { transform: H("4") }, [f("path", {
840
- fill: "none",
841
- stroke: P.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, Ze), f("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: O.value === "4" ? S(o)(P.value.colors[4], 20) : "transparent",
852
- onMouseenter: t[3] ||= (e) => K("4"),
853
- onMouseleave: t[4] ||= (e) => q("4"),
854
- onClick: t[5] ||= (e) => J("4")
855
- }, null, 40, Qe)], 8, Xe),
856
- f("g", { transform: H("3") }, [f("path", {
857
- fill: "none",
858
- stroke: P.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, et), f("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: O.value === "3" ? S(o)(P.value.colors[3], 20) : "transparent",
869
- onMouseenter: t[6] ||= (e) => K("3"),
870
- onMouseleave: t[7] ||= (e) => q("3"),
871
- onClick: t[8] ||= (e) => J("3")
872
- }, null, 40, tt)], 8, $e),
873
- f("g", { transform: H("2") }, [f("path", {
874
- fill: "none",
875
- stroke: P.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, rt), f("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: O.value === "2" ? S(o)(P.value.colors[2], 20) : "transparent",
886
- onMouseenter: t[9] ||= (e) => K("2"),
887
- onMouseleave: t[10] ||= (e) => q("2"),
888
- onClick: t[11] ||= (e) => J("2")
889
- }, null, 40, it)], 8, nt),
890
- f("g", { transform: H("1") }, [f("path", {
891
- fill: "none",
892
- stroke: P.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, ot), f("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: O.value === "1" ? S(o)(P.value.colors[1], 20) : "transparent",
903
- onMouseenter: t[12] ||= (e) => K("1"),
904
- onMouseleave: t[13] ||= (e) => q("1"),
905
- onClick: t[14] ||= (e) => J("1")
906
- }, null, 40, st)], 8, at),
907
- f("path", {
908
- d: S(i)(cn.value.map((e) => e.plots)),
909
- stroke: F.value.dataPolygon.stroke,
910
- "stroke-width": F.value.dataPolygon.strokeWidth,
911
- "stroke-linecap": "round",
912
- "stroke-linejoin": "round",
913
- fill: F.value.dataPolygon.gradient.show ? `url(#mood_radar_gradient_${E.value})` : S(o)(F.value.dataPolygon.color, F.value.dataPolygon.opacity)
914
- }, null, 8, ct),
915
- (v(!0), d(Ee, null, Pe(cn.value.map((e) => e.plots), (e, t) => (v(), d("g", {
916
- class: "vue-ui-mood-radar-trap",
917
- style: _(`opacity:${O.value == e.key ? "1" : "0"}`)
918
- }, [
919
- f("line", {
920
- x1: e.x,
921
- y1: e.y,
922
- x2: V.value.width / 2,
923
- y2: V.value.height / 2,
924
- stroke: P.value.colors[e.key]
925
- }, null, 8, lt),
926
- f("circle", {
927
- cx: e.x,
928
- cy: e.y,
929
- fill: P.value.colors[e.key],
930
- r: "3",
931
- stroke: I.value.backgroundColor,
932
- "stroke-width": .5
933
- }, null, 8, ut),
934
- f("circle", {
935
- cx: V.value.width / 2,
936
- cy: V.value.height / 2,
937
- fill: P.value.colors[e.key],
938
- r: "3",
939
- stroke: I.value.backgroundColor,
940
- "stroke-width": .5
941
- }, null, 8, dt),
942
- f("text", {
943
- x: V.value.width / 2,
944
- y: ["5", 5].includes(e.key) ? V.value.height / 2 * 1.13 : V.value.height / 2 * .9375,
945
- fill: F.value.dataLabel.color,
946
- "font-size": "12",
947
- "text-anchor": "middle",
948
- "font-weight": F.value.dataLabel.bold ? "bold" : "normal"
949
- }, x(S(ne)(F.value.dataLabel.formatter, e.value, S(s)({
950
- p: F.value.dataLabel.prefix,
951
- v: e.value,
952
- s: F.value.dataLabel.suffix,
953
- r: F.value.dataLabel.roundingValue
954
- }), {
955
- datapoint: e,
956
- seriesIndex: t
957
- })), 9, ft),
958
- f("text", {
959
- x: V.value.width / 2,
960
- y: ["5", 5].includes(e.key) ? V.value.height / 2 * 1.273 : V.value.height / 2 * .7968,
961
- fill: F.value.dataLabel.color,
962
- "font-size": "12",
963
- "text-anchor": "middle"
964
- }, " (" + x(S(s)({
965
- v: e.value / U.value * 100,
966
- s: "%",
967
- r: F.value.dataLabel.roundingPercentage
968
- })) + ") ", 9, pt)
969
- ], 4))), 256)),
970
- b(e.$slots, "svg", { svg: {
971
- ...V.value,
972
- isPrintingImg: S(Xt) || S(Zt) || S(Sn),
973
- isPrintingSvg: S(Cn)
974
- } }, void 0, !0)
975
- ], 46, Ue)), e.$slots.hint ? (v(), d("div", mt, [b(e.$slots, "hint", g(h({
976
- hint: M.value.a11y.translations.keyboardNavigation,
977
- isVisible: Bt.value
978
- })), void 0, !0)])) : u("", !0)]),
979
- e.$slots.watermark ? (v(), d("div", ht, [b(e.$slots, "watermark", g(h({ isPrinting: S(Xt) || S(Zt) || S(Sn) || S(Cn) })), void 0, !0)])) : u("", !0),
980
- f("div", { id: `legend-bottom-${E.value}` }, null, 8, gt),
981
- Rt.value && (I.value.legend.show || e.$slots.legend) ? (v(), l(De, {
982
- key: 6,
983
- to: I.value.legend.position === "top" ? `#legend-top-${E.value}` : `#legend-bottom-${E.value}`
984
- }, [f("div", {
985
- ref_key: "chartLegend",
986
- ref: Ft
987
- }, [b(e.$slots, "legend", { legend: W.value }, () => [I.value.legend.show ? (v(), l(we, {
988
- legendSet: sn.value,
989
- config: ln.value,
990
- key: `legend_${Nt.value}`,
991
- isCursorPointer: L.value,
992
- style: {
993
- display: "flex",
994
- "row-gap": "6px"
995
- },
996
- onFocusMarker: t[15] ||= ({ legend: e }) => G(e.key)
997
- }, {
998
- item: C(({ legend: e, index: t }) => [f("div", {
999
- role: "button",
1000
- onClick: () => G(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 ? (v(), l(S(w), {
1011
- key: 0,
1012
- strokeWidth: 1,
1013
- name: "moodSad",
1014
- stroke: P.value.colors[e.key]
1015
- }, null, 8, ["stroke"])) : u("", !0),
1016
- e.key == 2 ? (v(), l(S(w), {
1017
- key: 1,
1018
- strokeWidth: 1,
1019
- name: "moodFlat",
1020
- stroke: P.value.colors[e.key]
1021
- }, null, 8, ["stroke"])) : u("", !0),
1022
- e.key == 3 ? (v(), l(S(w), {
1023
- key: 2,
1024
- strokeWidth: 1,
1025
- name: "moodNeutral",
1026
- stroke: P.value.colors[e.key]
1027
- }, null, 8, ["stroke"])) : u("", !0),
1028
- e.key == 4 ? (v(), l(S(w), {
1029
- key: 3,
1030
- strokeWidth: 1,
1031
- name: "smiley",
1032
- stroke: P.value.colors[e.key]
1033
- }, null, 8, ["stroke"])) : u("", !0),
1034
- e.key == 5 ? (v(), l(S(w), {
1035
- key: 4,
1036
- strokeWidth: 1,
1037
- name: "moodHappy",
1038
- stroke: P.value.colors[e.key]
1039
- }, null, 8, ["stroke"])) : u("", !0),
1040
- S(Ut) ? u("", !0) : (v(), d("span", {
1041
- key: 5,
1042
- style: _({ fontWeight: I.value.legend.bold ? "bold" : "normal" })
1043
- }, x(e.display), 5))
1044
- ], 40, _t)]),
1045
- _: 1
1046
- }, 8, [
1047
- "legendSet",
1048
- "config",
1049
- "isCursorPointer"
1050
- ])) : u("", !0)], !0)], 512)], 8, ["to"])) : u("", !0),
1051
- e.$slots.source ? (v(), d("div", {
1052
- key: 7,
1053
- ref_key: "source",
1054
- ref: Lt,
1055
- dir: "auto"
1056
- }, [b(e.$slots, "source", {}, void 0, !0)], 512)) : u("", !0),
1057
- Vt.value && N.value.buttons.table ? (v(), l(Fe(gn.value.component), Ae({ key: 8 }, gn.value.props, {
1058
- ref_key: "tableUnit",
1059
- ref: A,
1060
- onClose: _n
1061
- }), Oe({
1062
- content: C(() => [p(S(xt), {
1063
- colNames: X.value.colNames,
1064
- head: X.value.head,
1065
- body: X.value.body,
1066
- config: X.value.config,
1067
- title: M.value.table.useDialog ? "" : gn.value.title,
1068
- withCloseButton: !M.value.table.useDialog,
1069
- isCursorPointer: L.value,
1070
- onClose: _n
1071
- }, {
1072
- th: C(({ th: e }) => [e === "__SUM__" ? (v(), d("div", vt, [p(S(w), {
1073
- name: "sigma",
1074
- stroke: X.value.config.th.color,
1075
- size: 16
1076
- }, null, 8, ["stroke"])])) : (v(), d("div", yt, x(e), 1))]),
1077
- td: C(({ td: e }) => [ke(x(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
- }, [M.value.table.useDialog ? {
1090
- name: "title",
1091
- fn: C(() => [ke(x(gn.value.title), 1)]),
1092
- key: "0"
1093
- } : void 0, M.value.table.useDialog ? {
1094
- name: "actions",
1095
- fn: C(() => [f("button", {
1096
- tabindex: "0",
1097
- class: "vue-ui-user-options-button",
1098
- onClick: t[16] ||= (e) => un(N.value.callbacks.csv),
1099
- style: _({ cursor: L.value ? "pointer" : "default" })
1100
- }, [p(S(w), {
1101
- name: "fileCsv",
1102
- stroke: gn.value.props.color
1103
- }, null, 8, ["stroke"])], 4)]),
1104
- key: "1"
1105
- } : void 0]), 1040)) : u("", !0),
1106
- b(e.$slots, "skeleton", {}, () => [S(Ut) ? (v(), l(de, { key: 0 })) : u("", !0)], !0)
1107
- ], 46, ze));
1108
- }
1109
- }, [["__scopeId", "data-v-02a8ef9b"]]);
1110
- //#endregion
1111
- export { Re as n, w as t };