vue-data-ui 3.23.0 → 3.23.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (206) hide show
  1. package/dist/{Arrow-o2qHNvrC.js → Arrow-CF0VFcBH.js} +1 -1
  2. package/dist/{BaseDraggableDialog-qTnfhLBz.js → BaseDraggableDialog-LoqqwRtV.js} +2 -2
  3. package/dist/{BaseIcon-91MZoczJ.js → BaseIcon-BfndwIWE.js} +1 -1
  4. package/dist/{BaseLegendToggle-CtAPwzr2.js → BaseLegendToggle-DZVucLnv.js} +1 -1
  5. package/dist/{BaseZoomControls-rdzlicuz.js → BaseZoomControls-BZvCnZEi.js} +2 -2
  6. package/dist/{ColorPicker-CIAkdPrj.js → ColorPicker--ayG2YHf.js} +2 -2
  7. package/dist/{DataTable-D4tM9s5Y.js → DataTable-BbKgJ5UI.js} +2 -2
  8. package/dist/{HillActions-BWhxHlrj.js → HillActions-BD9j_sOU.js} +1 -1
  9. package/dist/{Legend-CQTRlzK-.js → Legend-CQxUgOd-.js} +2 -2
  10. package/dist/{NonSvgPenAndPaper-Cawacw1W.js → NonSvgPenAndPaper-4ypecDg1.js} +6 -6
  11. package/dist/{PackageVersion--QCMh5k_.js → PackageVersion-DXU7nRr9.js} +1 -1
  12. package/dist/{PenAndPaper-cE4J8-rA.js → PenAndPaper-DAE-tnEQ.js} +6 -6
  13. package/dist/{Shape-BPMV94Ij.js → Shape-C21CMlWS.js} +1 -1
  14. package/dist/SlicerPreview-wUw1hFwe.js +1703 -0
  15. package/dist/{SparkTooltip-BaYtEKS6.js → SparkTooltip-CjsbIhzi.js} +1 -1
  16. package/dist/{Title-BODtwViI.js → Title-BE3qg9xl.js} +1 -1
  17. package/dist/{Tooltip-CMTGxeYO.js → Tooltip-DhjyfHwz.js} +2 -2
  18. package/dist/{UserOptions-3ujTo3LD.js → UserOptions-Dt98of5H.js} +2 -2
  19. package/dist/components/arrow.js +1 -1
  20. package/dist/components/vue-ui-3d-bar.js +1 -1
  21. package/dist/components/vue-ui-accordion.js +1 -1
  22. package/dist/components/vue-ui-age-pyramid.js +1 -1
  23. package/dist/components/vue-ui-annotator.js +1 -1
  24. package/dist/components/vue-ui-bullet.js +1 -1
  25. package/dist/components/vue-ui-bump.js +1 -1
  26. package/dist/components/vue-ui-candlestick.js +1 -1
  27. package/dist/components/vue-ui-carousel-table.js +1 -1
  28. package/dist/components/vue-ui-chestnut.js +1 -1
  29. package/dist/components/vue-ui-chord.js +1 -1
  30. package/dist/components/vue-ui-circle-pack.js +1 -1
  31. package/dist/components/vue-ui-cursor.js +1 -1
  32. package/dist/components/vue-ui-dag.js +1 -1
  33. package/dist/components/vue-ui-dashboard.js +1 -1
  34. package/dist/components/vue-ui-digits.js +1 -1
  35. package/dist/components/vue-ui-donut-evolution.js +1 -1
  36. package/dist/components/vue-ui-donut.js +1 -1
  37. package/dist/components/vue-ui-dumbbell.js +1 -1
  38. package/dist/components/vue-ui-flow.js +1 -1
  39. package/dist/components/vue-ui-funnel.js +1 -1
  40. package/dist/components/vue-ui-galaxy.js +1 -1
  41. package/dist/components/vue-ui-gauge.js +1 -1
  42. package/dist/components/vue-ui-geo.js +1 -1
  43. package/dist/components/vue-ui-gizmo.js +1 -1
  44. package/dist/components/vue-ui-heatmap.js +1 -1
  45. package/dist/components/vue-ui-hill.js +1 -1
  46. package/dist/components/vue-ui-history-plot.js +1 -1
  47. package/dist/components/vue-ui-horizontal-bar.js +1 -1
  48. package/dist/components/vue-ui-icon.js +1 -1
  49. package/dist/components/vue-ui-kpi.js +1 -1
  50. package/dist/components/vue-ui-mini-loader.js +1 -1
  51. package/dist/components/vue-ui-molecule.js +1 -1
  52. package/dist/components/vue-ui-mood-radar.js +1 -1
  53. package/dist/components/vue-ui-nested-donuts.js +1 -1
  54. package/dist/components/vue-ui-onion.js +1 -1
  55. package/dist/components/vue-ui-parallel-coordinate-plot.js +1 -1
  56. package/dist/components/vue-ui-quadrant.js +1 -1
  57. package/dist/components/vue-ui-quick-chart.js +1 -1
  58. package/dist/components/vue-ui-radar.js +1 -1
  59. package/dist/components/vue-ui-rating.js +1 -1
  60. package/dist/components/vue-ui-relation-circle.js +1 -1
  61. package/dist/components/vue-ui-ridgeline.js +1 -1
  62. package/dist/components/vue-ui-rings.js +1 -1
  63. package/dist/components/vue-ui-scatter.js +1 -1
  64. package/dist/components/vue-ui-skeleton.js +1 -1
  65. package/dist/components/vue-ui-smiley.js +1 -1
  66. package/dist/components/vue-ui-spark-trend.js +1 -1
  67. package/dist/components/vue-ui-sparkbar.js +1 -1
  68. package/dist/components/vue-ui-sparkgauge.js +1 -1
  69. package/dist/components/vue-ui-sparkhistogram.js +1 -1
  70. package/dist/components/vue-ui-sparkline.js +1 -1
  71. package/dist/components/vue-ui-sparkstackbar.js +1 -1
  72. package/dist/components/vue-ui-stackbar.js +1 -1
  73. package/dist/components/vue-ui-stackline.js +1 -1
  74. package/dist/components/vue-ui-strip-plot.js +1 -1
  75. package/dist/components/vue-ui-table-heatmap.js +1 -1
  76. package/dist/components/vue-ui-table-sparkline.js +1 -1
  77. package/dist/components/vue-ui-table.js +1 -1
  78. package/dist/components/vue-ui-thermometer.js +1 -1
  79. package/dist/components/vue-ui-timer.js +1 -1
  80. package/dist/components/vue-ui-tiremarks.js +1 -1
  81. package/dist/components/vue-ui-treemap.js +1 -1
  82. package/dist/components/vue-ui-vertical-bar.js +1 -1
  83. package/dist/components/vue-ui-waffle.js +1 -1
  84. package/dist/components/vue-ui-wheel.js +1 -1
  85. package/dist/components/vue-ui-word-cloud.js +1 -1
  86. package/dist/components/vue-ui-world.js +1 -1
  87. package/dist/components/vue-ui-xy-canvas.js +1 -1
  88. package/dist/components/vue-ui-xy.js +1 -1
  89. package/dist/composables.js +1 -1
  90. package/dist/{dom-to-png-4tdMNGPX.js → dom-to-png-BYIvdTe8.js} +1 -1
  91. package/dist/{exposedLib-DWLRqRhv.js → exposedLib-C0DPCgFj.js} +7 -4
  92. package/dist/{geoProjections-BCP_PoiB.js → geoProjections-CEo3dVaL.js} +1 -1
  93. package/dist/{img-DIQG5q8T.js → img-Bnokohej.js} +1 -1
  94. package/dist/{labelUtils-C5lnc_xc.js → labelUtils-BeVpDvTJ.js} +1 -1
  95. package/dist/{lib-BuMGJ_a0.js → lib-Bttd6u5E.js} +21 -11
  96. package/dist/{package-BMc_ZieJ.js → package-bsfpO6y3.js} +1 -1
  97. package/dist/{pdf-Cnz4NKM9.js → pdf-CVIDfCrS.js} +1 -1
  98. package/dist/{render-common-Ktg2LZFG.js → render-common-C0PEe9so.js} +2 -2
  99. package/dist/ssr/vue-ui-donut.js +1 -1
  100. package/dist/ssr/vue-ui-xy.js +1 -1
  101. package/dist/ssr.js +2 -2
  102. package/dist/style.css +1 -1
  103. package/dist/types/vue-data-ui.d.ts +9 -0
  104. package/dist/{useSvgExport-Ba9qBr9M.js → useChartExport-DNiwdPmb.js} +48 -2
  105. package/dist/{useConfig-BilxnBNr.js → useConfig-DlNpz6P8.js} +13 -1
  106. package/dist/{useNestedProp--NSEmhOH.js → useNestedProp-vPNvh7rV.js} +5 -3
  107. package/dist/{useObjectBindings-Cwq7NcQz.js → useObjectBindings-BeWS5v0i.js} +1 -1
  108. package/dist/{usePrinter-BFvi4jVy.js → usePrinter-DN5bYhTG.js} +2 -2
  109. package/dist/{useTimeLabels-B9CEuiLZ.js → useTimeLabels-d2f-W1L4.js} +2 -4
  110. package/dist/{useTooltipPosition-BsRysTrw.js → useTooltipPosition-DifeoeQW.js} +13 -13
  111. package/dist/utils.js +3 -3
  112. package/dist/{vue-data-ui-EsawKe_W.js → vue-data-ui-BNxtW8pK.js} +69 -69
  113. package/dist/vue-data-ui.js +74 -74
  114. package/dist/{vue-ui-3d-bar-RSUS2xpL.js → vue-ui-3d-bar-BYumVxZG.js} +147 -165
  115. package/dist/{vue-ui-accordion-61MlW-Ge.js → vue-ui-accordion-DegI2lzR.js} +4 -4
  116. package/dist/vue-ui-age-pyramid-tJx_hCsS.js +1241 -0
  117. package/dist/{vue-ui-annotator-DBRT85HG.js → vue-ui-annotator-DfG79D4r.js} +41 -68
  118. package/dist/vue-ui-bullet-DrWG4jRy.js +700 -0
  119. package/dist/{vue-ui-bump-Dvv3iSKr.js → vue-ui-bump-mKysp0KO.js} +222 -272
  120. package/dist/vue-ui-candlestick-PgKcBZdy.js +1837 -0
  121. package/dist/vue-ui-carousel-table-DRvycNBl.js +467 -0
  122. package/dist/{vue-ui-chestnut-ArloORzP.js → vue-ui-chestnut-Dpklo-VE.js} +311 -365
  123. package/dist/vue-ui-chord-7PPVH_iG.js +1345 -0
  124. package/dist/vue-ui-circle-pack-DW4Os6_8.js +1636 -0
  125. package/dist/{vue-ui-cursor-CxgE6Phh.js → vue-ui-cursor-DIt7vOwc.js} +4 -4
  126. package/dist/{vue-ui-dag-C9Sf9vH7.js → vue-ui-dag-Cl0WdSLb.js} +812 -840
  127. package/dist/{vue-ui-dashboard-bGmaglAj.js → vue-ui-dashboard-BwxRLR4E.js} +70 -70
  128. package/dist/{vue-ui-digits-DgDE-_Fn.js → vue-ui-digits-Bp1OH_t1.js} +5 -5
  129. package/dist/{vue-ui-donut-B_n6wF6B.js → vue-ui-donut-BZUT7QYt.js} +352 -377
  130. package/dist/vue-ui-donut-evolution-CQy3ZKXk.js +1549 -0
  131. package/dist/{vue-ui-donut-Bmo149AR.js → vue-ui-donut-y6tOAVyY.js} +18 -17
  132. package/dist/{vue-ui-dumbbell-BX4Ao_wR.js → vue-ui-dumbbell-BtKZcAOV.js} +370 -420
  133. package/dist/{vue-ui-flow-Bshw8pT_.js → vue-ui-flow-BF_cndsv.js} +191 -216
  134. package/dist/vue-ui-funnel-z3AeiDu6.js +750 -0
  135. package/dist/{vue-ui-galaxy-CvXgy-dy.js → vue-ui-galaxy-ClWaSOmM.js} +276 -302
  136. package/dist/vue-ui-gauge-CJstpakj.js +932 -0
  137. package/dist/{vue-ui-geo-C-gSZL2q.js → vue-ui-geo-B1tOD3HC.js} +398 -449
  138. package/dist/{vue-ui-gizmo-CJdxyPID.js → vue-ui-gizmo-foatosAv.js} +4 -4
  139. package/dist/{vue-ui-heatmap-DEEKv8ip.js → vue-ui-heatmap-By33A9dZ.js} +479 -502
  140. package/dist/{vue-ui-hill-D7LYAgAL.js → vue-ui-hill-ewqkK9s5.js} +570 -593
  141. package/dist/vue-ui-history-plot-FEIwXlsz.js +1698 -0
  142. package/dist/{vue-ui-horizontal-bar-CfFye5tL.js → vue-ui-horizontal-bar-D51sAeVu.js} +307 -332
  143. package/dist/{vue-ui-kpi-DCBnNfTb.js → vue-ui-kpi-y3EkgqJQ.js} +4 -4
  144. package/dist/{vue-ui-mini-loader-CtWpqnLW.js → vue-ui-mini-loader-CtTewZJG.js} +3 -3
  145. package/dist/vue-ui-molecule-paWHp18h.js +935 -0
  146. package/dist/{vue-ui-mood-radar-sl6DMxqR.js → vue-ui-mood-radar-wBRTZI5k.js} +341 -390
  147. package/dist/vue-ui-nested-donuts-CB-HOLo2.js +1503 -0
  148. package/dist/vue-ui-onion-B2Q2n55x.js +1233 -0
  149. package/dist/{vue-ui-parallel-coordinate-plot-DE9wTmQQ.js → vue-ui-parallel-coordinate-plot-GpkXiIZA.js} +189 -214
  150. package/dist/{vue-ui-quadrant-SaY_RPSE.js → vue-ui-quadrant-DOPuejDE.js} +254 -284
  151. package/dist/{vue-ui-quick-chart-CJ9rejnj.js → vue-ui-quick-chart-CgHX9njq.js} +108 -109
  152. package/dist/{vue-ui-radar-CaNen5Fj.js → vue-ui-radar-BLvG-_zE.js} +407 -434
  153. package/dist/{vue-ui-rating--K7rX2an.js → vue-ui-rating-BDVSVFA0.js} +10 -11
  154. package/dist/vue-ui-relation-circle-plOXwxJ5.js +903 -0
  155. package/dist/vue-ui-ridgeline-BbrnXvBo.js +1614 -0
  156. package/dist/{vue-ui-rings-BevKD8P-.js → vue-ui-rings-B3cKfMWy.js} +419 -444
  157. package/dist/vue-ui-scatter-BY7waF2T.js +2403 -0
  158. package/dist/{vue-ui-skeleton-B9ZP1w-i.js → vue-ui-skeleton-DwKxd7fk.js} +4 -4
  159. package/dist/{vue-ui-smiley-DYnqqk6u.js → vue-ui-smiley-5iHJeTPc.js} +64 -65
  160. package/dist/{vue-ui-spark-trend-R0ebpg-G.js → vue-ui-spark-trend-MpvrV5Wd.js} +11 -11
  161. package/dist/{vue-ui-sparkbar-DYC3By0v.js → vue-ui-sparkbar-s-2rBmEz.js} +97 -100
  162. package/dist/{vue-ui-sparkgauge-Bw6no-In.js → vue-ui-sparkgauge-B-BYVv4p.js} +4 -4
  163. package/dist/{vue-ui-sparkhistogram-DvRKy8rq.js → vue-ui-sparkhistogram-D7D4NHdi.js} +18 -19
  164. package/dist/{vue-ui-sparkline-Dz1uzBos.js → vue-ui-sparkline-RbeYtLWp.js} +11 -11
  165. package/dist/{vue-ui-sparkstackbar-DlnPdZih.js → vue-ui-sparkstackbar-ohN7mtbg.js} +194 -198
  166. package/dist/{vue-ui-stackbar-B-THcavY.js → vue-ui-stackbar-D2bpvQYt.js} +530 -552
  167. package/dist/{vue-ui-stackline-3dBPoI0h.js → vue-ui-stackline-Bo1oE8yq.js} +592 -614
  168. package/dist/vue-ui-strip-plot-CZ-C4a5x.js +1734 -0
  169. package/dist/vue-ui-table-3PPiJPV6.js +1352 -0
  170. package/dist/{vue-ui-table-heatmap-DVwMqzje.js → vue-ui-table-heatmap-D1bbPXKG.js} +56 -57
  171. package/dist/{vue-ui-table-sparkline-CABJzK8p.js → vue-ui-table-sparkline-l1cUX3ny.js} +13 -15
  172. package/dist/{vue-ui-thermometer-CVQ-H69Q.js → vue-ui-thermometer-DltAELO7.js} +240 -261
  173. package/dist/{vue-ui-timer-Bm8LpsnI.js → vue-ui-timer-DWNdx47q.js} +6 -6
  174. package/dist/vue-ui-tiremarks-GYhji_fa.js +538 -0
  175. package/dist/{vue-ui-treemap-DP0Sx8Y8.js → vue-ui-treemap-DjNlnOG5.js} +521 -547
  176. package/dist/vue-ui-waffle-BAA9EX6O.js +1386 -0
  177. package/dist/vue-ui-wheel-DrefGLos.js +871 -0
  178. package/dist/{vue-ui-word-cloud-B2sxtel9.js → vue-ui-word-cloud-CQZ8AyOi.js} +382 -405
  179. package/dist/{vue-ui-world-BBQZLnzm.js → vue-ui-world-Y7a3VEjq.js} +426 -451
  180. package/dist/{vue-ui-xy-DZj5DT-q.js → vue-ui-xy-CJcdttNL.js} +879 -905
  181. package/dist/{vue-ui-xy-ChZg7AtI.js → vue-ui-xy-DPxtkYGc.js} +329 -326
  182. package/dist/{vue-ui-xy-canvas-BN2u0bOJ.js → vue-ui-xy-canvas-1rbwMA1m.js} +30 -27
  183. package/package.json +4 -4
  184. package/dist/Slicer-5yIrdoJv.js +0 -1149
  185. package/dist/SlicerPreview-DvjLV2TW.js +0 -1689
  186. package/dist/vue-ui-age-pyramid-CgnPWA93.js +0 -1263
  187. package/dist/vue-ui-bullet-Bc3-WaN1.js +0 -724
  188. package/dist/vue-ui-candlestick-DvvsrIdp.js +0 -1864
  189. package/dist/vue-ui-carousel-table-DtsNVim8.js +0 -463
  190. package/dist/vue-ui-chord-xX5gWZy8.js +0 -1396
  191. package/dist/vue-ui-circle-pack-D8wykmqg.js +0 -1638
  192. package/dist/vue-ui-donut-evolution-D6vH_hfx.js +0 -1598
  193. package/dist/vue-ui-funnel-CjYosIik.js +0 -797
  194. package/dist/vue-ui-gauge-CByT0_vF.js +0 -953
  195. package/dist/vue-ui-history-plot-BhcU94Pt.js +0 -1722
  196. package/dist/vue-ui-molecule-D3igGyOy.js +0 -958
  197. package/dist/vue-ui-nested-donuts-aS4YzaB3.js +0 -1528
  198. package/dist/vue-ui-onion-EhPTZpW_.js +0 -1258
  199. package/dist/vue-ui-relation-circle-FLs8vOxQ.js +0 -925
  200. package/dist/vue-ui-ridgeline-Beg5hshN.js +0 -1663
  201. package/dist/vue-ui-scatter-CNA7jF-o.js +0 -2428
  202. package/dist/vue-ui-strip-plot-ACeYOoHj.js +0 -1757
  203. package/dist/vue-ui-table-rFy16bp0.js +0 -1347
  204. package/dist/vue-ui-tiremarks-DB3f5qiz.js +0 -559
  205. package/dist/vue-ui-waffle-iPpdk1Bm.js +0 -1412
  206. package/dist/vue-ui-wheel-BJkEYfLj.js +0 -892
@@ -0,0 +1,871 @@
1
+ import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
2
+ import { Jt as t, Ot as n, Vt as r, X as i, b as a, i as o, jt as s, kt as c, q as l, t as u, tt as d } from "./lib-Bttd6u5E.js";
3
+ import { n as f, t as p } from "./useHints-Dq_w2E8B.js";
4
+ import { t as m } from "./useConfig-DlNpz6P8.js";
5
+ import { t as h } from "./usePrinter-DN5bYhTG.js";
6
+ import { n as g, t as _ } from "./BaseScanner-DZvpgOjM.js";
7
+ import { t as v } from "./useNestedProp-vPNvh7rV.js";
8
+ import { t as y } from "./useThemeCheck-C43Tcqmk.js";
9
+ import { t as b } from "./useChartExport-DNiwdPmb.js";
10
+ import { t as x } from "./img-Bnokohej.js";
11
+ import { n as ee } from "./Title-BE3qg9xl.js";
12
+ import { t as S } from "./_plugin-vue_export-helper-B3ysoDQm.js";
13
+ import { l as C, t as te } from "./useResponsive-ZtArZtUf.js";
14
+ import { t as ne } from "./useUserOptionState-DK-_1ddE.js";
15
+ import { t as re } from "./useChartAccessibility-DYqac8yF.js";
16
+ import { t as ie } from "./usePrefersMotion-BC-CsqR1.js";
17
+ import { t as ae } from "./vue_ui_wheel-DZ_nR--t.js";
18
+ import { Fragment as w, computed as T, createBlock as E, createCommentVNode as D, createElementBlock as O, createElementVNode as oe, createSlots as se, createVNode as ce, defineAsyncComponent as le, guardReactiveProps as k, normalizeClass as A, normalizeProps as j, normalizeStyle as ue, onBeforeUnmount as de, onMounted as fe, openBlock as M, ref as N, renderList as P, renderSlot as F, shallowRef as pe, toDisplayString as me, toRefs as he, unref as I, useCssVars as ge, watch as _e, withCtx as L } from "vue";
19
+ //#region src/components/vue-ui-wheel.vue
20
+ var ve = /* @__PURE__ */ e({ default: () => ze }), ye = ["id"], be = [
21
+ "xmlns",
22
+ "viewBox",
23
+ "aria-labelledby",
24
+ "aria-describedby"
25
+ ], xe = ["id"], Se = ["id"], Ce = [
26
+ "x",
27
+ "y",
28
+ "width",
29
+ "height"
30
+ ], we = [
31
+ "d",
32
+ "stroke",
33
+ "stroke-width"
34
+ ], Te = [
35
+ "cx",
36
+ "cy",
37
+ "r",
38
+ "stroke",
39
+ "stroke-width"
40
+ ], Ee = { key: 0 }, De = [
41
+ "x1",
42
+ "y1",
43
+ "x2",
44
+ "y2",
45
+ "stroke",
46
+ "stroke-width",
47
+ "stroke-linecap"
48
+ ], Oe = [
49
+ "x1",
50
+ "y1",
51
+ "x2",
52
+ "y2",
53
+ "stroke",
54
+ "stroke-width",
55
+ "stroke-linecap"
56
+ ], ke = { key: 1 }, Ae = [
57
+ "d",
58
+ "fill",
59
+ "stroke",
60
+ "stroke-width"
61
+ ], je = [
62
+ "d",
63
+ "fill",
64
+ "stroke",
65
+ "stroke-width"
66
+ ], Me = [
67
+ "d",
68
+ "fill",
69
+ "stroke",
70
+ "stroke-width"
71
+ ], Ne = [
72
+ "x1",
73
+ "x2",
74
+ "y1",
75
+ "y2",
76
+ "stroke",
77
+ "stroke-width",
78
+ "stroke-linecap"
79
+ ], Pe = [
80
+ "d",
81
+ "fill",
82
+ "stroke",
83
+ "stroke-width"
84
+ ], Fe = ["aria-label"], Ie = [
85
+ "x",
86
+ "y",
87
+ "height"
88
+ ], Le = [
89
+ "x",
90
+ "y",
91
+ "font-size",
92
+ "fill",
93
+ "font-weight",
94
+ "stroke",
95
+ "stroke-width"
96
+ ], Re = {
97
+ key: 4,
98
+ class: "vue-data-ui-watermark"
99
+ }, ze = /*#__PURE__*/ S({
100
+ __name: "vue-ui-wheel",
101
+ props: {
102
+ config: {
103
+ type: Object,
104
+ default() {
105
+ return {};
106
+ }
107
+ },
108
+ dataset: {
109
+ type: Object,
110
+ default() {
111
+ return {};
112
+ }
113
+ }
114
+ },
115
+ emits: ["copyAlt"],
116
+ setup(e, { expose: S, emit: ve }) {
117
+ ge((e) => ({
118
+ v79c1e0f9: Pt.value,
119
+ v52b4fc9f: Ft.value,
120
+ v52b4df32: It.value
121
+ }));
122
+ let ze = le(() => import("./PenAndPaper-DAE-tnEQ.js").then((e) => e.t)), Be = le(() => import("./UserOptions-Dt98of5H.js").then((e) => e.n)), Ve = le(() => import("./PackageVersion-DXU7nRr9.js").then((e) => e.t)), { vue_ui_wheel: He } = m(), { isThemeValid: Ue, warnInvalidTheme: We } = y(), R = ie(), z = e, Ge = ve, Ke = T(() => !!z.dataset && Object.keys(z.dataset).length), B = N(l()), qe = N(null), Je = N(0), V = N(null), Ye = N(null), Xe = N(null), Ze = N(null), Qe = N(0), H = N(ot());
123
+ f({
124
+ config: () => H.value,
125
+ dataset: () => z.dataset,
126
+ component: "VueUiWheel",
127
+ rules: [p.noHint]
128
+ });
129
+ let $e = T(() => H.value.userOptions.useCursorPointer), et = T(() => t({
130
+ defaultConfig: {
131
+ userOptions: { show: !1 },
132
+ style: { chart: {
133
+ backgroundColor: "#99999930",
134
+ animation: { use: !1 },
135
+ layout: {
136
+ wheel: { ticks: {
137
+ activeColor: "#6A6A6A80",
138
+ inactiveColor: "#CACACA80"
139
+ } },
140
+ innerCircle: { stroke: "#CACACA80" }
141
+ }
142
+ } }
143
+ },
144
+ userConfig: H.value.skeletonConfig ?? {}
145
+ })), { loading: tt, FINAL_DATASET: U } = g({
146
+ ...he(z),
147
+ FINAL_CONFIG: H,
148
+ prepareConfig: ot,
149
+ skeletonDataset: z.config?.skeletonDataset ?? { percentage: 50 },
150
+ skeletonConfig: t({
151
+ defaultConfig: H.value,
152
+ userConfig: et.value
153
+ })
154
+ }), { userOptionsVisible: nt, setUserOptionsVisibility: rt, keepUserOptionState: it } = ne({ config: H.value }), { svgRef: at } = re({ config: H.value.style.chart.title });
155
+ function ot() {
156
+ let e = v({
157
+ userConfig: z.config,
158
+ defaultConfig: He
159
+ }), t = e.theme;
160
+ if (!t) return e;
161
+ if (!Ue.value(e)) return We(e), e;
162
+ let n = v({
163
+ userConfig: ae[t] || z.config,
164
+ defaultConfig: e
165
+ });
166
+ return v({
167
+ userConfig: z.config,
168
+ defaultConfig: n
169
+ });
170
+ }
171
+ _e(() => z.config, (e) => {
172
+ H.value = ot(), nt.value = !H.value.userOptions.showOnChartHover, mt(), Qe.value += 1;
173
+ }, { deep: !0 });
174
+ let { isPrinting: st, isImaging: ct, generatePdf: lt, generateImage: ut } = h({
175
+ elementId: B.value,
176
+ fileName: H.value.style.chart.title.text || "vue-ui-wheel",
177
+ options: H.value.userOptions.print
178
+ }), dt = T(() => H.value.userOptions.show && !H.value.style.chart.title.text), W = N({
179
+ size: 360,
180
+ height: 360,
181
+ width: 360
182
+ }), G = N(H.value.style.chart.layout.percentage.fontSize), K = T(() => ({
183
+ radius: Math.min(W.value.width, W.value.height) * .9 / 2 * H.value.style.chart.layout.wheel.radiusRatio,
184
+ centerX: W.value.width / 2,
185
+ centerY: W.value.height / 2
186
+ }));
187
+ function ft(e, t = 1) {
188
+ let n = 29.85;
189
+ return {
190
+ x: K.value.centerX + K.value.radius * Math.cos(n + e * Math.PI / 180) * t,
191
+ y: K.value.centerY + K.value.radius * Math.sin(n + e * Math.PI / 180) * t
192
+ };
193
+ }
194
+ let q = N(H.value.style.chart.animation.use && !R.value ? 0 : U.value.percentage || 0);
195
+ _e(() => U.value, (e) => {
196
+ H.value.style.chart.animation.use && !R.value ? Et(e.percentage) : q.value = e.percentage || 0;
197
+ }, { deep: !0 });
198
+ let J = pe(null), Y = pe(null);
199
+ fe(() => {
200
+ mt();
201
+ });
202
+ let pt = T(() => H.value.debug);
203
+ function mt() {
204
+ if (s(z.dataset) && d({
205
+ componentName: "VueUiWheel",
206
+ type: "dataset",
207
+ debug: pt.value
208
+ }), H.value.responsive) {
209
+ let e = C(() => {
210
+ let { width: e, height: t } = te({
211
+ chart: V.value,
212
+ title: H.value.style.chart.title.text ? Ye.value : null,
213
+ source: Xe.value,
214
+ noTitle: Ze.value
215
+ });
216
+ requestAnimationFrame(() => {
217
+ W.value.width = e, W.value.height = t, G.value = H.value.style.chart.layout.percentage.fontSize / 360 * Math.min(e, t);
218
+ });
219
+ });
220
+ J.value && (Y.value && J.value.unobserve(Y.value), J.value.disconnect()), J.value = new ResizeObserver(e), Y.value = V.value.parentNode, J.value.observe(Y.value);
221
+ }
222
+ Et(U.value.percentage || 0), H.value.style.chart.animation.use && !R.value || (q.value = U.value.percentage || 0);
223
+ }
224
+ de(() => {
225
+ J.value && (Y.value && J.value.unobserve(Y.value), J.value.disconnect());
226
+ });
227
+ function ht([e, t, n], r) {
228
+ let i = Math.cos(r), a = Math.sin(r);
229
+ return [
230
+ e,
231
+ t * i - n * a,
232
+ t * a + n * i
233
+ ];
234
+ }
235
+ function gt([e, t, n], r) {
236
+ let i = r / (r - n);
237
+ return [
238
+ e * i,
239
+ t * i,
240
+ n,
241
+ i
242
+ ];
243
+ }
244
+ function _t(e, t) {
245
+ let n = e.replace("#", ""), r = parseInt(n.substring(0, 2), 16), i = parseInt(n.substring(2, 4), 16), a = parseInt(n.substring(4, 6), 16), o = 1 - Math.min(1, Math.max(0, H.value.style.chart.layout.wheel.ticks.shadeColorRatio3d)) * t, s = Math.max(0, Math.min(255, Math.round(r * o))), c = Math.max(0, Math.min(255, Math.round(i * o))), l = Math.max(0, Math.min(255, Math.round(a * o)));
246
+ return `#${s.toString(16).padStart(2, "0")}${c.toString(16).padStart(2, "0")}${l.toString(16).padStart(2, "0")}`;
247
+ }
248
+ function vt({ cx: e, cy: t, radius: n, innerRatio: i = .8, count: a = 120, startDeg: o = 0, axDeg: s = 50, f: c = 520, baseStroke: l = 5, activeColor: u, inactiveColor: d, getActive: f }) {
249
+ let p = s * Math.PI / 180, m = n, h = n * i, g = [];
250
+ for (let n = 0; n < a; n += 1) {
251
+ let i = (n / a * 360 + o) * Math.PI / 180, s = e + m * Math.cos(i), _ = t + m * Math.sin(i), v = e + h * Math.cos(i), y = t + h * Math.sin(i), b = [
252
+ s - e,
253
+ _ - t,
254
+ 0
255
+ ], x = [
256
+ v - e,
257
+ y - t,
258
+ 0
259
+ ], [ee, S, C] = ht(b, p), [te, ne, re] = ht(x, p), [ie, ae, , w] = gt([
260
+ ee,
261
+ S,
262
+ C
263
+ ], c), [T, E, , D] = gt([
264
+ te,
265
+ ne,
266
+ re
267
+ ], c), O = e + ie, oe = t + ae, se = e + T, ce = t + E, le = (Math.max(C, re) - -m * Math.sin(p)) / (2 * m * Math.sin(p) || 1), k = !f || f(n), A = H.value.style.chart.layout.wheel.ticks.gradient.show ? r(u, n * Q.value / Z.value * (H.value.style.chart.layout.wheel.ticks.gradient.shiftHueIntensity / 100)) : u, j = _t(k ? A : d, le), ue = Math.max(1.25, l * w * (Math.min(W.value.width, W.value.height) / 360));
268
+ g.push({
269
+ i: n,
270
+ x1: O,
271
+ y1: oe,
272
+ x2: se,
273
+ y2: ce,
274
+ stroke: ue,
275
+ color: j,
276
+ z: Math.max(C, re)
277
+ });
278
+ }
279
+ return g.sort((e, t) => e.z - t.z), g;
280
+ }
281
+ let yt = T(() => {
282
+ if (!H.value.layout === "3d") return null;
283
+ let e = Z.value, t = H.value.style.chart.layout.wheel.ticks.gradient.show ? r(H.value.style.chart.layout.wheel.ticks.activeColor, 0) : H.value.style.chart.layout.wheel.ticks.activeColor, n = H.value.style.chart.layout.wheel.ticks.inactiveColor, i = H.value.style.chart.layout.wheel.ticks.strokeWidth;
284
+ return vt({
285
+ cx: K.value.centerX,
286
+ cy: K.value.centerY,
287
+ radius: K.value.radius,
288
+ innerRatio: H.value.style.chart.layout.wheel.ticks.sizeRatio,
289
+ count: e,
290
+ startDeg: -90,
291
+ axDeg: H.value.style.chart.layout.wheel.tiltAngle3d,
292
+ f: Math.min(W.value.width, W.value.height) * 1.45,
293
+ baseStroke: i,
294
+ activeColor: t,
295
+ inactiveColor: n,
296
+ getActive: (e) => q.value > e * Q.value
297
+ });
298
+ });
299
+ function bt({ cx: e, cy: t, r: n, count: r = 180, startDeg: i = -90, axDeg: a = 50, f: o }) {
300
+ let s = a * Math.PI / 180, c = [], l = 0;
301
+ for (let a = 0; a < r; a += 1) {
302
+ let u = (a / r * 360 + i) * Math.PI / 180, [d, f, p] = ht([
303
+ n * Math.cos(u),
304
+ n * Math.sin(u),
305
+ 0
306
+ ], s), [m, h, , g] = gt([
307
+ d,
308
+ f,
309
+ p
310
+ ], o);
311
+ l += g, c.push([e + m, t + h]);
312
+ }
313
+ let u = `M ${c[0][0]} ${c[0][1]}`;
314
+ for (let e = 1; e < c.length; e += 1) u += ` L ${c[e][0]} ${c[e][1]}`;
315
+ u += " Z";
316
+ let d = l / r;
317
+ return {
318
+ d: u,
319
+ avgScale: d,
320
+ pts: c
321
+ };
322
+ }
323
+ let X = T(() => {
324
+ if (H.value.layout !== "3d") return null;
325
+ let e = Math.min(W.value.width, W.value.height) * 1.45, t = H.value.style.chart.layout.wheel.tiltAngle3d, n = K.value.radius, { pts: r, avgScale: i } = (() => {
326
+ let r = n, i = t, { d: a, avgScale: o, pts: s } = bt({
327
+ cx: K.value.centerX,
328
+ cy: K.value.centerY,
329
+ r,
330
+ startDeg: -90,
331
+ axDeg: i,
332
+ f: e
333
+ });
334
+ return {
335
+ pts: s,
336
+ avgScale: o
337
+ };
338
+ })(), a = Infinity, o = Infinity, s = -Infinity, c = -Infinity;
339
+ for (let [e, t] of r) e < a && (a = e), t < o && (o = t), e > s && (s = e), t > c && (c = t);
340
+ let l = H.value.style.chart.layout.wheel.ticks.strokeWidth / 360 * Math.min(W.value.width, W.value.height), u = H.value.style.chart.layout.innerCircle.strokeWidth || 0, d = .5 * Math.max(l, u * (i || 1)), f = Math.max(0, Number(H.value.style.chart.layout.wheel.ticks.depth3d) || 0), p = d;
341
+ return {
342
+ x: a - p,
343
+ y: o - f - p,
344
+ w: s - a + 2 * p,
345
+ h: c - (o - f) + 2 * p
346
+ };
347
+ });
348
+ function xt(e) {
349
+ let t = Math.min(W.value.width, W.value.height) * 1.45, { d: n, avgScale: r } = bt({
350
+ cx: K.value.centerX,
351
+ cy: K.value.centerY,
352
+ r: e,
353
+ startDeg: -90,
354
+ axDeg: H.value.style.chart.layout.wheel.tiltAngle3d,
355
+ f: t
356
+ }), i = (H.value.style.chart.layout.innerCircle.strokeWidth || 1) * r;
357
+ return {
358
+ d: n,
359
+ stroke: H.value.style.chart.layout.innerCircle.stroke,
360
+ strokeWidth: i
361
+ };
362
+ }
363
+ let St = T(() => xt(Math.max(0, K.value.radius * .8 * H.value.style.chart.layout.innerCircle.radiusRatio)));
364
+ function Ct({ cx: e, cy: t, r: n, aRad: r, ax: i, f: a }) {
365
+ let [o, s, c] = ht([
366
+ n * Math.cos(r),
367
+ n * Math.sin(r),
368
+ 0
369
+ ], i), [l, u, , d] = gt([
370
+ o,
371
+ s,
372
+ c
373
+ ], a);
374
+ return {
375
+ x: e + l,
376
+ y: t + u,
377
+ z: c,
378
+ s: d
379
+ };
380
+ }
381
+ function wt({ cx: e, cy: t, radius: n, innerRatio: i = .8, count: a = 120, startDeg: o = -87, axDeg: s = 45, f: c = 600, activeColor: l, inactiveColor: u, getActive: d, Y: f = 0 }) {
382
+ let p = s * Math.PI / 180, m = n, h = n * i, g = 2 * Math.PI / a, _ = [];
383
+ for (let n = 0; n < a; n += 1) {
384
+ let i = o * Math.PI / 180 + g * n, s = i + g * Math.min(1, H.value.style.chart.layout.wheel.ticks.spacingRatio3d), v = Ct({
385
+ cx: e,
386
+ cy: t + f,
387
+ r: m,
388
+ aRad: i,
389
+ ax: p,
390
+ f: c
391
+ }), y = Ct({
392
+ cx: e,
393
+ cy: t + f,
394
+ r: m,
395
+ aRad: s,
396
+ ax: p,
397
+ f: c
398
+ }), b = Ct({
399
+ cx: e,
400
+ cy: t + f,
401
+ r: h,
402
+ aRad: s,
403
+ ax: p,
404
+ f: c
405
+ }), x = Ct({
406
+ cx: e,
407
+ cy: t + f,
408
+ r: h,
409
+ aRad: i,
410
+ ax: p,
411
+ f: c
412
+ }), ee = (v.z + y.z + x.z + b.z) / 4, S = _t(!d || d(n) ? H.value.style.chart.layout.wheel.ticks.gradient.show ? r(H.value.style.chart.layout.wheel.ticks.activeColor, 100 / a * n / 100 * (H.value.style.chart.layout.wheel.ticks.gradient.shiftHueIntensity / 100)) : l : u, (() => {
413
+ let e = m * Math.sin(p) || 1;
414
+ return (ee - -e) / (2 * e);
415
+ })()), C = `M ${v.x} ${v.y} L ${y.x} ${y.y} L ${b.x} ${b.y} L ${x.x} ${x.y} Z`;
416
+ _.push({
417
+ i: n,
418
+ d: C,
419
+ fill: S,
420
+ z: ee
421
+ });
422
+ }
423
+ return _.sort((e, t) => e.z - t.z), _;
424
+ }
425
+ let Tt = T(() => {
426
+ if (H.value.layout !== "3d") return null;
427
+ let e = Z.value;
428
+ return (t) => wt({
429
+ cx: K.value.centerX,
430
+ cy: K.value.centerY,
431
+ radius: K.value.radius,
432
+ innerRatio: H.value.style.chart.layout.wheel.ticks.sizeRatio,
433
+ count: e,
434
+ startDeg: -90,
435
+ axDeg: H.value.style.chart.layout.wheel.tiltAngle3d,
436
+ f: Math.min(W.value.width, W.value.height) * 1.45,
437
+ activeColor: H.value.style.chart.layout.wheel.ticks.activeColor,
438
+ inactiveColor: H.value.style.chart.layout.wheel.ticks.inactiveColor,
439
+ getActive: (t) => q.value > 100 / e * t,
440
+ Y: t
441
+ });
442
+ });
443
+ function Et(e) {
444
+ let t = H.value.style.chart.animation.speed, n = Math.abs(e - q.value) / (t * 120);
445
+ function r() {
446
+ q.value < e ? q.value = Math.min(q.value + n, e) : q.value > e && (q.value = Math.max(q.value - n, e)), q.value !== e && requestAnimationFrame(r);
447
+ }
448
+ r();
449
+ }
450
+ let Z = T(() => (pt.value && H.value.style.chart.layout.wheel.ticks.quantity < 12 && console.warn("VueUiWheel - The min number of ticks is 12"), pt.value && H.value.style.chart.layout.wheel.ticks.quantity > 200 && console.warn("VueUiWheel - The max number of ticks is 200"), Math.max(12, Math.min(H.value.style.chart.layout.wheel.ticks.quantity, 200)))), Q = T(() => 100 / Z.value), Dt = T(() => {
451
+ let e = [];
452
+ for (let t = 0; t < Z.value; t += 1) {
453
+ let n = q.value > t * Q.value ? H.value.style.chart.layout.wheel.ticks.activeColor : H.value.style.chart.layout.wheel.ticks.inactiveColor, { x: i, y: a } = ft(W.value.size / Z.value * t), { x: o, y: s } = ft(W.value.size / Z.value * t, H.value.style.chart.layout.wheel.ticks.sizeRatio);
454
+ e.push({
455
+ x1: i,
456
+ y1: a,
457
+ x2: o,
458
+ y2: s,
459
+ color: H.value.style.chart.layout.wheel.ticks.gradient.show ? r(n, t * Q.value / Z.value * (H.value.style.chart.layout.wheel.ticks.gradient.shiftHueIntensity / 100)) : n
460
+ });
461
+ }
462
+ return e;
463
+ }), Ot = T(() => c({ series: Dt.value.map((e) => ({
464
+ name: "",
465
+ value: 1,
466
+ color: e.color
467
+ })) }, K.value.centerX, K.value.centerY, K.value.radius, K.value.radius, 1.99999, 2, 1, 360, 105.25, K.value.radius * (1 - H.value.style.chart.layout.wheel.ticks.sizeRatio))), kt = N(!1);
468
+ function At(e) {
469
+ kt.value = e, Je.value += 1;
470
+ }
471
+ let jt = N(!1);
472
+ function Mt() {
473
+ jt.value = !jt.value;
474
+ }
475
+ async function Nt({ scale: e = 2 } = {}) {
476
+ if (!V.value) return;
477
+ let { width: t, height: n } = V.value.getBoundingClientRect(), r = t / n, { imageUri: i, base64: a } = await x({
478
+ domElement: V.value,
479
+ base64: !0,
480
+ img: !0,
481
+ scale: e
482
+ });
483
+ return {
484
+ imageUri: i,
485
+ base64: a,
486
+ title: H.value.style.chart.title.text,
487
+ width: t,
488
+ height: n,
489
+ aspectRatio: r
490
+ };
491
+ }
492
+ let Pt = T(() => H.value.style.chart.layout.wheel.ticks.strokeWidth * 2), Ft = T(() => H.value.style.chart.layout.wheel.ticks.strokeWidth * 2 * .75), It = T(() => H.value.style.chart.layout.wheel.ticks.strokeWidth), $ = T(() => Math.max(1, Math.min(20, H.value.style.chart.layout.wheel.ticks.depth3d))), Lt = T(() => H.value.style.chart.backgroundColor), Rt = T(() => H.value.style.chart.title), { isCallbackImaging: zt, isCallbackSvg: Bt, generateSvg: Vt, onGenerateImage: Ht } = b({
493
+ svg: at,
494
+ title: Rt,
495
+ legend: null,
496
+ legendItems: null,
497
+ backgroundColor: Lt,
498
+ stretchTitle: !0,
499
+ getSvgCallback: () => H.value.userOptions.callbacks.svg,
500
+ generateImage: ut
501
+ });
502
+ async function Ut() {
503
+ if (Ge("copyAlt", {
504
+ config: H.value,
505
+ dataset: U.value
506
+ }), !H.value.userOptions.callbacks.altCopy) {
507
+ console.warn("Vue Data UI - A callback must be set for `altCopy` in userOptions.");
508
+ return;
509
+ }
510
+ await Promise.resolve(H.value.userOptions.callbacks.altCopy({
511
+ config: H.value,
512
+ dataset: U.value
513
+ }));
514
+ }
515
+ let Wt = T(() => `${B.value}-title`), Gt = T(() => `${B.value}-desc`), Kt = T(() => o(H.value.style.chart.layout.percentage.formatter, a(q.value), i({
516
+ v: a(q.value),
517
+ s: "%",
518
+ r: H.value.style.chart.layout.percentage.rounding
519
+ }))), qt = T(() => H.value.style.chart.title.text || ""), Jt = T(() => tt.value ? "..." : `${Kt.value}`);
520
+ return S({
521
+ getImage: Nt,
522
+ generatePdf: lt,
523
+ generateImage: ut,
524
+ generateSvg: Vt,
525
+ toggleAnnotator: Mt,
526
+ toggleFullscreen: At,
527
+ copyAlt: Ut
528
+ }), (e, t) => (M(), O("div", {
529
+ class: A(["vue-ui-wheel", {
530
+ "vue-data-ui-component": !0,
531
+ "vue-ui-wheel-3d-wrap": H.value.layout === "3d"
532
+ }]),
533
+ ref_key: "wheelChart",
534
+ ref: V,
535
+ id: B.value,
536
+ style: ue(`font-family:${H.value.style.fontFamily};width:100%; text-align:center;background:${H.value.style.chart.backgroundColor};${H.value.responsive ? "height:100%" : ""}`),
537
+ onMouseenter: t[0] ||= () => I(rt)(!0),
538
+ onMouseleave: t[1] ||= () => I(rt)(!1)
539
+ }, [
540
+ H.value.userOptions.buttons.annotator ? (M(), E(I(ze), {
541
+ key: 0,
542
+ svgRef: I(at),
543
+ backgroundColor: H.value.style.chart.backgroundColor,
544
+ color: H.value.style.chart.color,
545
+ active: jt.value,
546
+ isCursorPointer: $e.value,
547
+ onClose: Mt
548
+ }, {
549
+ "annotator-action-close": L(() => [F(e.$slots, "annotator-action-close", {}, void 0, !0)]),
550
+ "annotator-action-color": L(({ color: t }) => [F(e.$slots, "annotator-action-color", j(k({ color: t })), void 0, !0)]),
551
+ "annotator-action-draw": L(({ mode: t }) => [F(e.$slots, "annotator-action-draw", j(k({ mode: t })), void 0, !0)]),
552
+ "annotator-action-undo": L(({ disabled: t }) => [F(e.$slots, "annotator-action-undo", j(k({ disabled: t })), void 0, !0)]),
553
+ "annotator-action-redo": L(({ disabled: t }) => [F(e.$slots, "annotator-action-redo", j(k({ disabled: t })), void 0, !0)]),
554
+ "annotator-action-delete": L(({ disabled: t }) => [F(e.$slots, "annotator-action-delete", j(k({ disabled: t })), void 0, !0)]),
555
+ _: 3
556
+ }, 8, [
557
+ "svgRef",
558
+ "backgroundColor",
559
+ "color",
560
+ "active",
561
+ "isCursorPointer"
562
+ ])) : D("", !0),
563
+ dt.value ? (M(), O("div", {
564
+ key: 1,
565
+ ref_key: "noTitle",
566
+ ref: Ze,
567
+ class: "vue-data-ui-no-title-space",
568
+ style: "height:36px; width: 100%;background:transparent"
569
+ }, null, 512)) : D("", !0),
570
+ H.value.style.chart.title.text ? (M(), O("div", {
571
+ key: 2,
572
+ ref_key: "chartTitle",
573
+ ref: Ye,
574
+ style: "width:100%;background:transparent;padding-bottom:12px"
575
+ }, [(M(), E(ee, {
576
+ key: `title_${Qe.value}`,
577
+ config: {
578
+ title: {
579
+ cy: "wheel-title",
580
+ ...H.value.style.chart.title
581
+ },
582
+ subtitle: {
583
+ cy: "wheel-subtitle",
584
+ ...H.value.style.chart.title.subtitle
585
+ }
586
+ }
587
+ }, null, 8, ["config"]))], 512)) : D("", !0),
588
+ H.value.userOptions.show && Ke.value && (I(it) || I(nt)) ? (M(), E(I(Be), {
589
+ ref_key: "details",
590
+ ref: qe,
591
+ key: `user_options_${Je.value}`,
592
+ backgroundColor: H.value.style.chart.backgroundColor,
593
+ color: H.value.style.chart.color,
594
+ isPrinting: I(st),
595
+ isImaging: I(ct),
596
+ uid: B.value,
597
+ hasPdf: H.value.userOptions.buttons.pdf,
598
+ hasImg: H.value.userOptions.buttons.img,
599
+ hasSvg: H.value.userOptions.buttons.svg,
600
+ hasFullscreen: H.value.userOptions.buttons.fullscreen,
601
+ hasAltCopy: H.value.userOptions.buttons.altCopy,
602
+ hasXls: !1,
603
+ isFullscreen: kt.value,
604
+ position: H.value.userOptions.position,
605
+ titles: { ...H.value.userOptions.buttonTitles },
606
+ hasAnnotator: H.value.userOptions.buttons.annotator,
607
+ isAnnotation: jt.value,
608
+ chartElement: V.value,
609
+ callbacks: H.value.userOptions.callbacks,
610
+ printScale: H.value.userOptions.print.scale,
611
+ isCursorPointer: $e.value,
612
+ onToggleFullscreen: At,
613
+ onGeneratePdf: I(lt),
614
+ onGenerateImage: I(Ht),
615
+ onGenerateSvg: I(Vt),
616
+ onToggleAnnotator: Mt,
617
+ onCopyAlt: Ut,
618
+ style: ue({ visibility: I(it) ? I(nt) ? "visible" : "hidden" : "visible" })
619
+ }, se({ _: 2 }, [
620
+ e.$slots.menuIcon ? {
621
+ name: "menuIcon",
622
+ fn: L(({ isOpen: t, color: n }) => [F(e.$slots, "menuIcon", j(k({
623
+ isOpen: t,
624
+ color: n
625
+ })), void 0, !0)]),
626
+ key: "0"
627
+ } : void 0,
628
+ e.$slots.optionPdf ? {
629
+ name: "optionPdf",
630
+ fn: L(() => [F(e.$slots, "optionPdf", {}, void 0, !0)]),
631
+ key: "1"
632
+ } : void 0,
633
+ e.$slots.optionImg ? {
634
+ name: "optionImg",
635
+ fn: L(() => [F(e.$slots, "optionImg", {}, void 0, !0)]),
636
+ key: "2"
637
+ } : void 0,
638
+ e.$slots.optionSvg ? {
639
+ name: "optionSvg",
640
+ fn: L(() => [F(e.$slots, "optionSvg", {}, void 0, !0)]),
641
+ key: "3"
642
+ } : void 0,
643
+ e.$slots.optionFullscreen ? {
644
+ name: "optionFullscreen",
645
+ fn: L(({ toggleFullscreen: t, isFullscreen: n }) => [F(e.$slots, "optionFullscreen", j(k({
646
+ toggleFullscreen: t,
647
+ isFullscreen: n
648
+ })), void 0, !0)]),
649
+ key: "4"
650
+ } : void 0,
651
+ e.$slots.optionAnnotator ? {
652
+ name: "optionAnnotator",
653
+ fn: L(({ toggleAnnotator: t, isAnnotator: n }) => [F(e.$slots, "optionAnnotator", j(k({
654
+ toggleAnnotator: t,
655
+ isAnnotator: n
656
+ })), void 0, !0)]),
657
+ key: "5"
658
+ } : void 0,
659
+ e.$slots.optionAltCopy ? {
660
+ name: "optionAltCopy",
661
+ fn: L(({ altCopy: t }) => [F(e.$slots, "optionAltCopy", j(k({ altCopy: t })), void 0, !0)]),
662
+ key: "6"
663
+ } : void 0,
664
+ e.$slots["custom-menu-before"] ? {
665
+ name: "custom-menu-before",
666
+ fn: L(() => [F(e.$slots, "custom-menu-before", {}, void 0, !0)]),
667
+ key: "7"
668
+ } : void 0,
669
+ e.$slots["custom-menu-after"] ? {
670
+ name: "custom-menu-after",
671
+ fn: L(() => [F(e.$slots, "custom-menu-after", {}, void 0, !0)]),
672
+ key: "8"
673
+ } : void 0
674
+ ]), 1032, [
675
+ "backgroundColor",
676
+ "color",
677
+ "isPrinting",
678
+ "isImaging",
679
+ "uid",
680
+ "hasPdf",
681
+ "hasImg",
682
+ "hasSvg",
683
+ "hasFullscreen",
684
+ "hasAltCopy",
685
+ "isFullscreen",
686
+ "position",
687
+ "titles",
688
+ "hasAnnotator",
689
+ "isAnnotation",
690
+ "chartElement",
691
+ "callbacks",
692
+ "printScale",
693
+ "isCursorPointer",
694
+ "onGeneratePdf",
695
+ "onGenerateImage",
696
+ "onGenerateSvg",
697
+ "style"
698
+ ])) : D("", !0),
699
+ (M(), O("svg", {
700
+ ref_key: "svgRef",
701
+ ref: at,
702
+ xmlns: I(u),
703
+ class: A({
704
+ "vue-data-ui-fullscreen--on": kt.value,
705
+ "vue-data-ui-fulscreen--off": !kt.value,
706
+ "vue-ui-wheel-3d-svg": H.value.layout === "3d"
707
+ }),
708
+ viewBox: H.value.layout === "3d" && !H.value.responsive ? `${X.value?.x - 10} ${X.value?.y ?? 0} ${X.value?.w + 20 ?? Math.max(10, W.value.width)} ${X.value?.h ?? Math.max(10, W.value.height)}` : `0 0 ${Math.max(10, W.value.width)} ${Math.max(10, W.value.height)}`,
709
+ style: ue(`max-width:100%;overflow:visible;background:transparent;color:${H.value.style.chart.color}`),
710
+ role: "img",
711
+ "aria-labelledby": Wt.value,
712
+ "aria-describedby": Gt.value
713
+ }, [
714
+ oe("title", { id: Wt.value }, me(qt.value), 9, xe),
715
+ oe("desc", { id: Gt.value }, me(Jt.value), 9, Se),
716
+ ce(I(Ve)),
717
+ e.$slots["chart-background"] ? (M(), O("foreignObject", {
718
+ key: 0,
719
+ x: H.value.layout === "3d" && !H.value.responsive ? X.value?.x - 10 : 0,
720
+ y: H.value.layout === "3d" && !H.value.responsive ? X.value?.y ?? 0 : 0,
721
+ width: H.value.layout === "3d" && !H.value.responsive ? X.value?.w + 20 ?? Math.max(10, W.value.width) : Math.max(10, W.value.width),
722
+ height: H.value.layout === "3d" && !H.value.responsive ? X.value?.h ?? Math.max(10, W.value.height) : Math.max(10, W.value.height),
723
+ style: { pointerEvents: "none" }
724
+ }, [F(e.$slots, "chart-background", {}, void 0, !0)], 8, Ce)) : D("", !0),
725
+ H.value.layout === "3d" && St.value ? (M(), O("path", {
726
+ key: 1,
727
+ class: "vue-ui-wheel-inner-circle",
728
+ d: St.value.d,
729
+ stroke: H.value.style.chart.layout.innerCircle.stroke,
730
+ "stroke-width": H.value.style.chart.layout.innerCircle.strokeWidth,
731
+ fill: "none"
732
+ }, null, 8, we)) : H.value.style.chart.layout.innerCircle.show ? (M(), O("circle", {
733
+ key: 2,
734
+ class: "vue-ui-wheel-inner-circle",
735
+ cx: K.value.centerX,
736
+ cy: K.value.centerY,
737
+ r: Math.max(0, K.value.radius * H.value.style.chart.layout.innerCircle.radiusRatio * .8),
738
+ stroke: H.value.style.chart.layout.innerCircle.stroke,
739
+ "stroke-width": H.value.style.chart.layout.innerCircle.strokeWidth,
740
+ fill: "none"
741
+ }, null, 8, Te)) : D("", !0),
742
+ H.value.layout === "3d" ? (M(), O(w, { key: 3 }, [H.value.style.chart.layout.wheel.ticks.type === "classic" ? (M(), O("g", Ee, [(M(!0), O(w, null, P($.value, (e) => (M(), O("g", null, [(M(!0), O(w, null, P(yt.value || [], (t) => (M(), O("line", {
743
+ key: t.i,
744
+ x1: t.x1,
745
+ y1: t.y1 - e,
746
+ x2: t.x2,
747
+ y2: t.y2 - e,
748
+ stroke: I(n)(t.color, .25 * e / 5),
749
+ "stroke-width": H.value.style.chart.layout.wheel.ticks.strokeWidth / 360 * Math.min(W.value.width, W.value.height),
750
+ "stroke-linecap": H.value.style.chart.layout.wheel.ticks.rounded ? "round" : "butt",
751
+ class: A({
752
+ "vue-ui-wheel-tick": !0,
753
+ "vue-ui-tick-animated": H.value.style.chart.animation.use && !I(R) && t.i * Q.value <= q.value
754
+ })
755
+ }, null, 10, De))), 128))]))), 256)), (M(!0), O(w, null, P(yt.value || [], (e) => (M(), O("line", {
756
+ key: e.i,
757
+ x1: e.x1,
758
+ y1: e.y1 - $.value,
759
+ x2: e.x2,
760
+ y2: e.y2 - $.value,
761
+ stroke: e.color,
762
+ "stroke-width": H.value.style.chart.layout.wheel.ticks.strokeWidth / 360 * Math.min(W.value.width, W.value.height),
763
+ "stroke-linecap": H.value.style.chart.layout.wheel.ticks.rounded ? "round" : "butt",
764
+ class: A({
765
+ "vue-ui-wheel-tick": !0,
766
+ "vue-ui-tick-animated": H.value.style.chart.animation.use && !I(R) && e.i * Q.value <= q.value
767
+ })
768
+ }, null, 10, Oe))), 128))])) : (M(), O("g", ke, [(M(!0), O(w, null, P($.value, (e) => (M(), O("g", null, [(M(!0), O(w, null, P(Tt.value(-e) || [], (e) => (M(), O("path", {
769
+ key: e.i,
770
+ d: e.d,
771
+ fill: H.value.style.chart.layout.wheel.ticks.inactiveColor,
772
+ stroke: H.value.style.chart.layout.wheel.ticks.stroke,
773
+ "stroke-width": H.value.style.chart.layout.wheel.ticks.strokeWidth,
774
+ "stroke-linecap": "round",
775
+ "stroke-linejoin": "round",
776
+ class: "vue-ui-wheel-tick"
777
+ }, null, 8, Ae))), 128)), (M(!0), O(w, null, P(Tt.value(-e) || [], (t) => (M(), O("path", {
778
+ key: t.i,
779
+ d: t.d,
780
+ fill: I(n)(t.fill, .5 * e / $.value),
781
+ stroke: H.value.style.chart.layout.wheel.ticks.stroke,
782
+ "stroke-width": H.value.style.chart.layout.wheel.ticks.strokeWidth,
783
+ "stroke-linecap": "round",
784
+ "stroke-linejoin": "round",
785
+ class: A({
786
+ "vue-ui-wheel-tick": !0,
787
+ "vue-ui-tick-animated-3d": H.value.style.chart.animation.use && !I(R) && t.i * Q.value <= q.value
788
+ })
789
+ }, null, 10, je))), 128))]))), 256)), oe("g", null, [(M(!0), O(w, null, P(Tt.value(-$.value) || [], (e) => (M(), O("path", {
790
+ key: e.i,
791
+ d: e.d,
792
+ fill: e.fill,
793
+ stroke: H.value.style.chart.layout.wheel.ticks.stroke,
794
+ "stroke-width": H.value.style.chart.layout.wheel.ticks.strokeWidth,
795
+ "stroke-linecap": "round",
796
+ "stroke-linejoin": "round",
797
+ class: A({
798
+ "vue-ui-wheel-tick": !0,
799
+ "vue-ui-tick-animated-3d": H.value.style.chart.animation.use && !I(R) && e.i * Q.value <= q.value
800
+ })
801
+ }, null, 10, Me))), 128))])]))], 64)) : (M(), O(w, { key: 4 }, [H.value.style.chart.layout.wheel.ticks.type === "classic" ? (M(!0), O(w, { key: 0 }, P(Dt.value, (e, t) => (M(), O("line", {
802
+ x1: e.x1,
803
+ x2: e.x2,
804
+ y1: e.y1,
805
+ y2: e.y2,
806
+ stroke: e.color,
807
+ "stroke-width": H.value.style.chart.layout.wheel.ticks.strokeWidth / 360 * Math.min(W.value.width, W.value.height),
808
+ "stroke-linecap": H.value.style.chart.layout.wheel.ticks.rounded ? "round" : "butt",
809
+ class: A({
810
+ "vue-ui-wheel-tick": !0,
811
+ "vue-ui-tick-animated": H.value.style.chart.animation.use && !I(R) && t * Q.value <= q.value
812
+ })
813
+ }, null, 10, Ne))), 256)) : (M(!0), O(w, { key: 1 }, P(Ot.value, (e, t) => (M(), O("path", {
814
+ d: e.arcSlice,
815
+ fill: e.color,
816
+ class: A({
817
+ "vue-ui-wheel-tick": !0,
818
+ "vue-ui-tick-animated": H.value.style.chart.animation.use && !I(R) && t * Q.value <= q.value
819
+ }),
820
+ stroke: H.value.style.chart.layout.wheel.ticks.stroke,
821
+ "stroke-width": H.value.style.chart.layout.wheel.ticks.strokeWidth
822
+ }, null, 10, Pe))), 256))], 64)),
823
+ H.value.style.chart.layout.percentage.show ? (M(), O("g", {
824
+ key: 5,
825
+ role: "status",
826
+ "aria-live": "polite",
827
+ "aria-label": I(tt) ? "..." : Kt.value
828
+ }, [I(tt) ? (M(), O("rect", {
829
+ key: 0,
830
+ x: K.value.centerX - 40,
831
+ y: K.value.centerY - G.value / 2,
832
+ width: 80,
833
+ height: G.value,
834
+ fill: "#6A6A6A80",
835
+ rx: "3"
836
+ }, null, 8, Ie)) : (M(), O("text", {
837
+ key: 1,
838
+ "aria-hidden": "true",
839
+ x: K.value.centerX + H.value.style.chart.layout.percentage.offsetX,
840
+ y: K.value.centerY + G.value / 3 + H.value.style.chart.layout.percentage.offsetY,
841
+ "font-size": G.value,
842
+ fill: H.value.style.chart.layout.wheel.ticks.gradient.show ? I(r)(H.value.style.chart.layout.wheel.ticks.activeColor, q.value / 100 * (H.value.style.chart.layout.wheel.ticks.gradient.shiftHueIntensity / 100)) : H.value.style.chart.layout.wheel.ticks.activeColor,
843
+ "text-anchor": "middle",
844
+ "font-weight": H.value.style.chart.layout.percentage.bold ? "bold" : "normal",
845
+ style: { "font-variant-numeric": "tabluar-nums" },
846
+ stroke: H.value.style.chart.layout.percentage.stroke,
847
+ "stroke-width": H.value.style.chart.layout.percentage.strokeWidth,
848
+ "stroke-linecap": "round",
849
+ "stroke-linejoin": "round",
850
+ "paint-order": "stroke fill",
851
+ class: A({ "vue-ui-wheel-label": H.value.layout === "3d" })
852
+ }, me(Kt.value), 11, Le))], 8, Fe)) : D("", !0),
853
+ F(e.$slots, "svg", { svg: {
854
+ ...W.value,
855
+ isPrintingImg: I(st) || I(ct) || I(zt),
856
+ isPrintingSvg: I(Bt)
857
+ } }, void 0, !0)
858
+ ], 14, be)),
859
+ e.$slots.watermark ? (M(), O("div", Re, [F(e.$slots, "watermark", j(k({ isPrinting: I(st) || I(ct) || I(zt) || I(Bt) })), void 0, !0)])) : D("", !0),
860
+ e.$slots.source ? (M(), O("div", {
861
+ key: 5,
862
+ ref_key: "source",
863
+ ref: Xe,
864
+ dir: "auto"
865
+ }, [F(e.$slots, "source", {}, void 0, !0)], 512)) : D("", !0),
866
+ F(e.$slots, "skeleton", {}, () => [I(tt) ? (M(), E(_, { key: 0 })) : D("", !0)], !0)
867
+ ], 46, ye));
868
+ }
869
+ }, [["__scopeId", "data-v-8b3cd2bd"]]);
870
+ //#endregion
871
+ export { ve as n, ze as t };