vue-data-ui 3.23.0 → 3.23.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (194) 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-D6d8SCp9.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/Slicer-CIk57nL4.js +1163 -0
  15. package/dist/SlicerPreview-wUw1hFwe.js +1703 -0
  16. package/dist/{SparkTooltip-BaYtEKS6.js → SparkTooltip-CjsbIhzi.js} +1 -1
  17. package/dist/{Title-BODtwViI.js → Title-BE3qg9xl.js} +1 -1
  18. package/dist/{Tooltip-CMTGxeYO.js → Tooltip-DhjyfHwz.js} +2 -2
  19. package/dist/{UserOptions-3ujTo3LD.js → UserOptions-Dt98of5H.js} +2 -2
  20. package/dist/components/arrow.js +1 -1
  21. package/dist/components/vue-ui-3d-bar.js +1 -1
  22. package/dist/components/vue-ui-accordion.js +1 -1
  23. package/dist/components/vue-ui-age-pyramid.js +1 -1
  24. package/dist/components/vue-ui-annotator.js +1 -1
  25. package/dist/components/vue-ui-bullet.js +1 -1
  26. package/dist/components/vue-ui-bump.js +1 -1
  27. package/dist/components/vue-ui-candlestick.js +1 -1
  28. package/dist/components/vue-ui-carousel-table.js +1 -1
  29. package/dist/components/vue-ui-chestnut.js +1 -1
  30. package/dist/components/vue-ui-chord.js +1 -1
  31. package/dist/components/vue-ui-circle-pack.js +1 -1
  32. package/dist/components/vue-ui-cursor.js +1 -1
  33. package/dist/components/vue-ui-dag.js +1 -1
  34. package/dist/components/vue-ui-dashboard.js +1 -1
  35. package/dist/components/vue-ui-digits.js +1 -1
  36. package/dist/components/vue-ui-donut-evolution.js +1 -1
  37. package/dist/components/vue-ui-donut.js +1 -1
  38. package/dist/components/vue-ui-dumbbell.js +1 -1
  39. package/dist/components/vue-ui-flow.js +1 -1
  40. package/dist/components/vue-ui-funnel.js +1 -1
  41. package/dist/components/vue-ui-galaxy.js +1 -1
  42. package/dist/components/vue-ui-gauge.js +1 -1
  43. package/dist/components/vue-ui-geo.js +1 -1
  44. package/dist/components/vue-ui-gizmo.js +1 -1
  45. package/dist/components/vue-ui-heatmap.js +1 -1
  46. package/dist/components/vue-ui-hill.js +1 -1
  47. package/dist/components/vue-ui-history-plot.js +1 -1
  48. package/dist/components/vue-ui-horizontal-bar.js +1 -1
  49. package/dist/components/vue-ui-icon.js +1 -1
  50. package/dist/components/vue-ui-kpi.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/composables.js +1 -1
  91. package/dist/{dom-to-png-4tdMNGPX.js → dom-to-png-BYIvdTe8.js} +1 -1
  92. package/dist/{exposedLib-DWLRqRhv.js → exposedLib-C0DPCgFj.js} +7 -4
  93. package/dist/{geoProjections-BCP_PoiB.js → geoProjections-CEo3dVaL.js} +1 -1
  94. package/dist/{img-DIQG5q8T.js → img-Bnokohej.js} +1 -1
  95. package/dist/{labelUtils-C5lnc_xc.js → labelUtils-BeVpDvTJ.js} +1 -1
  96. package/dist/{lib-BuMGJ_a0.js → lib-Bttd6u5E.js} +21 -11
  97. package/dist/{package-BMc_ZieJ.js → package-KvlL5CqE.js} +1 -1
  98. package/dist/{pdf-Cnz4NKM9.js → pdf-CVIDfCrS.js} +1 -1
  99. package/dist/{render-common-Ktg2LZFG.js → render-common-oDYGTc5P.js} +2 -2
  100. package/dist/ssr/vue-ui-donut.js +1 -1
  101. package/dist/ssr/vue-ui-xy.js +1 -1
  102. package/dist/ssr.js +2 -2
  103. package/dist/style.css +1 -1
  104. package/dist/types/vue-data-ui.d.ts +3 -0
  105. package/dist/{useConfig-BilxnBNr.js → useConfig-D3scuR88.js} +7 -1
  106. package/dist/{useNestedProp--NSEmhOH.js → useNestedProp-vPNvh7rV.js} +5 -3
  107. package/dist/{useObjectBindings-Cwq7NcQz.js → useObjectBindings-Brg8mm5J.js} +1 -1
  108. package/dist/{usePrinter-BFvi4jVy.js → usePrinter-DN5bYhTG.js} +2 -2
  109. package/dist/{useSvgExport-Ba9qBr9M.js → useSvgExport-DH-FfcqQ.js} +1 -1
  110. package/dist/{useTimeLabels-B9CEuiLZ.js → useTimeLabels-d2f-W1L4.js} +2 -4
  111. package/dist/{useTooltipPosition-BsRysTrw.js → useTooltipPosition-DifeoeQW.js} +13 -13
  112. package/dist/utils.js +3 -3
  113. package/dist/{vue-data-ui-EsawKe_W.js → vue-data-ui-DGWDPCwC.js} +69 -69
  114. package/dist/vue-data-ui.js +74 -74
  115. package/dist/{vue-ui-3d-bar-RSUS2xpL.js → vue-ui-3d-bar-C_Su9fve.js} +45 -45
  116. package/dist/{vue-ui-accordion-61MlW-Ge.js → vue-ui-accordion-BxGriZik.js} +4 -4
  117. package/dist/{vue-ui-age-pyramid-CgnPWA93.js → vue-ui-age-pyramid-D4k1MkAL.js} +41 -40
  118. package/dist/{vue-ui-annotator-DBRT85HG.js → vue-ui-annotator-CCtnM8Rv.js} +41 -68
  119. package/dist/{vue-ui-bullet-Bc3-WaN1.js → vue-ui-bullet-DLZr2Uk8.js} +21 -21
  120. package/dist/{vue-ui-bump-Dvv3iSKr.js → vue-ui-bump-CcdzJZ9n.js} +32 -32
  121. package/dist/{vue-ui-candlestick-DvvsrIdp.js → vue-ui-candlestick-EEEt7ORC.js} +50 -48
  122. package/dist/{vue-ui-carousel-table-DtsNVim8.js → vue-ui-carousel-table-BicIpNAD.js} +8 -8
  123. package/dist/vue-ui-chestnut-BI7mC5dd.js +2068 -0
  124. package/dist/{vue-ui-chord-xX5gWZy8.js → vue-ui-chord-DXaq8ZMu.js} +46 -46
  125. package/dist/{vue-ui-circle-pack-D8wykmqg.js → vue-ui-circle-pack-XHJBMG51.js} +362 -341
  126. package/dist/{vue-ui-cursor-CxgE6Phh.js → vue-ui-cursor-BqHr0n1Z.js} +4 -4
  127. package/dist/{vue-ui-dag-C9Sf9vH7.js → vue-ui-dag-jMLVoQkb.js} +715 -720
  128. package/dist/{vue-ui-dashboard-bGmaglAj.js → vue-ui-dashboard-DVAUFETR.js} +70 -70
  129. package/dist/{vue-ui-digits-DgDE-_Fn.js → vue-ui-digits-Dy4gG6qm.js} +5 -5
  130. package/dist/{vue-ui-donut-B_n6wF6B.js → vue-ui-donut-C0cWRLbU.js} +48 -47
  131. package/dist/{vue-ui-donut-Bmo149AR.js → vue-ui-donut-CYpxGBhl.js} +18 -17
  132. package/dist/{vue-ui-donut-evolution-D6vH_hfx.js → vue-ui-donut-evolution-DwR47A2r.js} +58 -53
  133. package/dist/{vue-ui-dumbbell-BX4Ao_wR.js → vue-ui-dumbbell-DxVbRjKR.js} +85 -85
  134. package/dist/{vue-ui-flow-Bshw8pT_.js → vue-ui-flow-DWaZF4FS.js} +37 -37
  135. package/dist/{vue-ui-funnel-CjYosIik.js → vue-ui-funnel-Bmpx5GHR.js} +24 -24
  136. package/dist/{vue-ui-galaxy-CvXgy-dy.js → vue-ui-galaxy-CWBP9oH9.js} +151 -151
  137. package/dist/{vue-ui-gauge-CByT0_vF.js → vue-ui-gauge-ByE_txav.js} +20 -20
  138. package/dist/{vue-ui-geo-C-gSZL2q.js → vue-ui-geo-ZA7CBy8f.js} +186 -186
  139. package/dist/{vue-ui-gizmo-CJdxyPID.js → vue-ui-gizmo-SQCou0bQ.js} +4 -4
  140. package/dist/{vue-ui-heatmap-DEEKv8ip.js → vue-ui-heatmap-CHd9gs_p.js} +385 -385
  141. package/dist/vue-ui-hill-BT183G-_.js +1768 -0
  142. package/dist/{vue-ui-history-plot-BhcU94Pt.js → vue-ui-history-plot-BwnlC1mx.js} +511 -510
  143. package/dist/{vue-ui-horizontal-bar-CfFye5tL.js → vue-ui-horizontal-bar-BUar2HUH.js} +235 -235
  144. package/dist/{vue-ui-kpi-DCBnNfTb.js → vue-ui-kpi-BF_9WWoo.js} +4 -4
  145. package/dist/{vue-ui-mini-loader-CtWpqnLW.js → vue-ui-mini-loader-CvfukjXi.js} +3 -3
  146. package/dist/vue-ui-molecule-Bi2CKHer.js +958 -0
  147. package/dist/{vue-ui-mood-radar-sl6DMxqR.js → vue-ui-mood-radar-_zpbmvJs.js} +50 -50
  148. package/dist/{vue-ui-nested-donuts-aS4YzaB3.js → vue-ui-nested-donuts-qHZAJ70u.js} +43 -43
  149. package/dist/vue-ui-onion-CB5RYIy5.js +1258 -0
  150. package/dist/{vue-ui-parallel-coordinate-plot-DE9wTmQQ.js → vue-ui-parallel-coordinate-plot-BUwt-apg.js} +54 -54
  151. package/dist/{vue-ui-quadrant-SaY_RPSE.js → vue-ui-quadrant-CoROD3er.js} +74 -74
  152. package/dist/{vue-ui-quick-chart-CJ9rejnj.js → vue-ui-quick-chart-BcH7eY4-.js} +96 -88
  153. package/dist/{vue-ui-radar-CaNen5Fj.js → vue-ui-radar-DGbaXGme.js} +191 -191
  154. package/dist/{vue-ui-rating--K7rX2an.js → vue-ui-rating-Bo3zD3yW.js} +3 -3
  155. package/dist/{vue-ui-relation-circle-FLs8vOxQ.js → vue-ui-relation-circle-DaU1eTsG.js} +32 -32
  156. package/dist/vue-ui-ridgeline-BCaGcyfk.js +1664 -0
  157. package/dist/{vue-ui-rings-BevKD8P-.js → vue-ui-rings-BJUBn8_b.js} +40 -40
  158. package/dist/{vue-ui-scatter-CNA7jF-o.js → vue-ui-scatter-Pcft1bUt.js} +50 -50
  159. package/dist/{vue-ui-skeleton-B9ZP1w-i.js → vue-ui-skeleton-EeJcGbCo.js} +4 -4
  160. package/dist/{vue-ui-smiley-DYnqqk6u.js → vue-ui-smiley-D0gibt5c.js} +3 -3
  161. package/dist/{vue-ui-spark-trend-R0ebpg-G.js → vue-ui-spark-trend-BRoQ7JpQ.js} +11 -11
  162. package/dist/{vue-ui-sparkbar-DYC3By0v.js → vue-ui-sparkbar-DFp2k7-7.js} +4 -4
  163. package/dist/{vue-ui-sparkgauge-Bw6no-In.js → vue-ui-sparkgauge-D0Bq85Hs.js} +4 -4
  164. package/dist/{vue-ui-sparkhistogram-DvRKy8rq.js → vue-ui-sparkhistogram-BPln7v63.js} +13 -13
  165. package/dist/{vue-ui-sparkline-Dz1uzBos.js → vue-ui-sparkline-C6Q45Dqp.js} +7 -6
  166. package/dist/{vue-ui-sparkstackbar-DlnPdZih.js → vue-ui-sparkstackbar-CjK4bcQg.js} +5 -5
  167. package/dist/{vue-ui-stackbar-B-THcavY.js → vue-ui-stackbar-Ca8EPf3e.js} +83 -80
  168. package/dist/{vue-ui-stackline-3dBPoI0h.js → vue-ui-stackline-Pz5WWlWT.js} +189 -186
  169. package/dist/{vue-ui-strip-plot-ACeYOoHj.js → vue-ui-strip-plot-Dw4MGDSO.js} +66 -66
  170. package/dist/vue-ui-table-Bjg-ujJu.js +1352 -0
  171. package/dist/{vue-ui-table-heatmap-DVwMqzje.js → vue-ui-table-heatmap-ljeYW8Wc.js} +10 -10
  172. package/dist/{vue-ui-table-sparkline-CABJzK8p.js → vue-ui-table-sparkline-iRFmtK5S.js} +8 -8
  173. package/dist/{vue-ui-thermometer-CVQ-H69Q.js → vue-ui-thermometer-D8uiOaeA.js} +26 -26
  174. package/dist/{vue-ui-timer-Bm8LpsnI.js → vue-ui-timer-CYw983oL.js} +6 -6
  175. package/dist/vue-ui-tiremarks-CekiW2Ru.js +559 -0
  176. package/dist/{vue-ui-treemap-DP0Sx8Y8.js → vue-ui-treemap-h4VbnqPA.js} +77 -77
  177. package/dist/{vue-ui-waffle-iPpdk1Bm.js → vue-ui-waffle-cu0w_s6L.js} +41 -41
  178. package/dist/vue-ui-wheel-tLvJadk5.js +892 -0
  179. package/dist/{vue-ui-word-cloud-B2sxtel9.js → vue-ui-word-cloud-BjpGSsod.js} +68 -68
  180. package/dist/{vue-ui-world-BBQZLnzm.js → vue-ui-world-B4fCS3jN.js} +184 -184
  181. package/dist/{vue-ui-xy-DZj5DT-q.js → vue-ui-xy-7ZT9IRD8.js} +60 -60
  182. package/dist/{vue-ui-xy-canvas-BN2u0bOJ.js → vue-ui-xy-canvas-BnLEwBpi.js} +20 -18
  183. package/dist/{vue-ui-xy-ChZg7AtI.js → vue-ui-xy-gyNS0yH0.js} +329 -326
  184. package/package.json +4 -4
  185. package/dist/Slicer-5yIrdoJv.js +0 -1149
  186. package/dist/SlicerPreview-DvjLV2TW.js +0 -1689
  187. package/dist/vue-ui-chestnut-ArloORzP.js +0 -2068
  188. package/dist/vue-ui-hill-D7LYAgAL.js +0 -1768
  189. package/dist/vue-ui-molecule-D3igGyOy.js +0 -958
  190. package/dist/vue-ui-onion-EhPTZpW_.js +0 -1258
  191. package/dist/vue-ui-ridgeline-Beg5hshN.js +0 -1663
  192. package/dist/vue-ui-table-rFy16bp0.js +0 -1347
  193. package/dist/vue-ui-tiremarks-DB3f5qiz.js +0 -559
  194. package/dist/vue-ui-wheel-BJkEYfLj.js +0 -892
@@ -0,0 +1,892 @@
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-D3scuR88.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 "./useSvgExport-DH-FfcqQ.js";
8
+ import { t as y } from "./useNestedProp-vPNvh7rV.js";
9
+ import { t as b } from "./useThemeCheck-C43Tcqmk.js";
10
+ import { t as x } from "./img-Bnokohej.js";
11
+ import { n as S } from "./Title-BE3qg9xl.js";
12
+ import { t as ee } 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, nextTick as ue, normalizeClass as A, normalizeProps as j, normalizeStyle as de, onBeforeUnmount as fe, onMounted as pe, openBlock as M, ref as N, renderList as P, renderSlot as F, shallowRef as me, toDisplayString as he, toRefs as ge, unref as I, useCssVars as _e, watch as ve, withCtx as L } from "vue";
19
+ //#region src/components/vue-ui-wheel.vue
20
+ var ye = /* @__PURE__ */ e({ default: () => Be }), be = ["id"], xe = [
21
+ "xmlns",
22
+ "viewBox",
23
+ "aria-labelledby",
24
+ "aria-describedby"
25
+ ], Se = ["id"], Ce = ["id"], we = [
26
+ "x",
27
+ "y",
28
+ "width",
29
+ "height"
30
+ ], Te = [
31
+ "d",
32
+ "stroke",
33
+ "stroke-width"
34
+ ], Ee = [
35
+ "cx",
36
+ "cy",
37
+ "r",
38
+ "stroke",
39
+ "stroke-width"
40
+ ], De = { key: 0 }, Oe = [
41
+ "x1",
42
+ "y1",
43
+ "x2",
44
+ "y2",
45
+ "stroke",
46
+ "stroke-width",
47
+ "stroke-linecap"
48
+ ], ke = [
49
+ "x1",
50
+ "y1",
51
+ "x2",
52
+ "y2",
53
+ "stroke",
54
+ "stroke-width",
55
+ "stroke-linecap"
56
+ ], Ae = { key: 1 }, je = [
57
+ "d",
58
+ "fill",
59
+ "stroke",
60
+ "stroke-width"
61
+ ], Me = [
62
+ "d",
63
+ "fill",
64
+ "stroke",
65
+ "stroke-width"
66
+ ], Ne = [
67
+ "d",
68
+ "fill",
69
+ "stroke",
70
+ "stroke-width"
71
+ ], Pe = [
72
+ "x1",
73
+ "x2",
74
+ "y1",
75
+ "y2",
76
+ "stroke",
77
+ "stroke-width",
78
+ "stroke-linecap"
79
+ ], Fe = [
80
+ "d",
81
+ "fill",
82
+ "stroke",
83
+ "stroke-width"
84
+ ], Ie = ["aria-label"], Le = [
85
+ "x",
86
+ "y",
87
+ "height"
88
+ ], Re = [
89
+ "x",
90
+ "y",
91
+ "font-size",
92
+ "fill",
93
+ "font-weight",
94
+ "stroke",
95
+ "stroke-width"
96
+ ], ze = {
97
+ key: 4,
98
+ class: "vue-data-ui-watermark"
99
+ }, Be = /*#__PURE__*/ ee({
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: ee, emit: ye }) {
117
+ _e((e) => ({
118
+ v6abdd623: Lt.value,
119
+ v51a03449: Rt.value,
120
+ v51a016dc: zt.value
121
+ }));
122
+ let Be = le(() => import("./PenAndPaper-DAE-tnEQ.js").then((e) => e.t)), Ve = le(() => import("./UserOptions-Dt98of5H.js").then((e) => e.n)), He = le(() => import("./PackageVersion-D6d8SCp9.js").then((e) => e.t)), { vue_ui_wheel: Ue } = m(), { isThemeValid: We, warnInvalidTheme: Ge } = b(), R = ie(), z = e, Ke = ye, qe = T(() => !!z.dataset && Object.keys(z.dataset).length), B = N(l()), Je = N(null), Ye = N(0), V = N(null), Xe = N(null), Ze = N(null), Qe = N(null), $e = N(0), et = N(!1), tt = N(!1), H = N(lt());
123
+ f({
124
+ config: () => H.value,
125
+ dataset: () => z.dataset,
126
+ component: "VueUiWheel",
127
+ rules: [p.noHint]
128
+ });
129
+ let nt = T(() => H.value.userOptions.useCursorPointer), rt = 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: it, FINAL_DATASET: U } = g({
146
+ ...ge(z),
147
+ FINAL_CONFIG: H,
148
+ prepareConfig: lt,
149
+ skeletonDataset: z.config?.skeletonDataset ?? { percentage: 50 },
150
+ skeletonConfig: t({
151
+ defaultConfig: H.value,
152
+ userConfig: rt.value
153
+ })
154
+ }), { userOptionsVisible: at, setUserOptionsVisibility: ot, keepUserOptionState: st } = ne({ config: H.value }), { svgRef: ct } = re({ config: H.value.style.chart.title });
155
+ function lt() {
156
+ let e = y({
157
+ userConfig: z.config,
158
+ defaultConfig: Ue
159
+ }), t = e.theme;
160
+ if (!t) return e;
161
+ if (!We.value(e)) return Ge(e), e;
162
+ let n = y({
163
+ userConfig: ae[t] || z.config,
164
+ defaultConfig: e
165
+ });
166
+ return y({
167
+ userConfig: z.config,
168
+ defaultConfig: n
169
+ });
170
+ }
171
+ ve(() => z.config, (e) => {
172
+ H.value = lt(), at.value = !H.value.userOptions.showOnChartHover, _t(), $e.value += 1;
173
+ }, { deep: !0 });
174
+ let { isPrinting: ut, isImaging: dt, generatePdf: ft, generateImage: pt } = h({
175
+ elementId: B.value,
176
+ fileName: H.value.style.chart.title.text || "vue-ui-wheel",
177
+ options: H.value.userOptions.print
178
+ }), mt = 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 ht(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
+ ve(() => U.value, (e) => {
196
+ H.value.style.chart.animation.use && !R.value ? kt(e.percentage) : q.value = e.percentage || 0;
197
+ }, { deep: !0 });
198
+ let J = me(null), Y = me(null);
199
+ pe(() => {
200
+ _t();
201
+ });
202
+ let gt = T(() => !!H.value.debug);
203
+ function _t() {
204
+ if (s(z.dataset) && d({
205
+ componentName: "VueUiWheel",
206
+ type: "dataset",
207
+ debug: gt.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 ? Xe.value : null,
213
+ source: Ze.value,
214
+ noTitle: Qe.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
+ kt(U.value.percentage || 0), H.value.style.chart.animation.use && !R.value || (q.value = U.value.percentage || 0);
223
+ }
224
+ fe(() => {
225
+ J.value && (Y.value && J.value.unobserve(Y.value), J.value.disconnect());
226
+ });
227
+ function vt([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 yt([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 bt(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 xt({ 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
+ ], [S, ee, C] = vt(b, p), [te, ne, re] = vt(x, p), [ie, ae, , w] = yt([
260
+ S,
261
+ ee,
262
+ C
263
+ ], c), [T, E, , D] = yt([
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), ue = 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, A = bt(k ? ue : d, le), j = 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: j,
275
+ color: A,
276
+ z: Math.max(C, re)
277
+ });
278
+ }
279
+ return g.sort((e, t) => e.z - t.z), g;
280
+ }
281
+ let St = 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 xt({
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 Ct({ 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] = vt([
303
+ n * Math.cos(u),
304
+ n * Math.sin(u),
305
+ 0
306
+ ], s), [m, h, , g] = yt([
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 } = Ct({
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 wt(e) {
349
+ let t = Math.min(W.value.width, W.value.height) * 1.45, { d: n, avgScale: r } = Ct({
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 Tt = T(() => wt(Math.max(0, K.value.radius * .8 * H.value.style.chart.layout.innerCircle.radiusRatio)));
364
+ function Et({ cx: e, cy: t, r: n, aRad: r, ax: i, f: a }) {
365
+ let [o, s, c] = vt([
366
+ n * Math.cos(r),
367
+ n * Math.sin(r),
368
+ 0
369
+ ], i), [l, u, , d] = yt([
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 Dt({ 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 = Et({
385
+ cx: e,
386
+ cy: t + f,
387
+ r: m,
388
+ aRad: i,
389
+ ax: p,
390
+ f: c
391
+ }), y = Et({
392
+ cx: e,
393
+ cy: t + f,
394
+ r: m,
395
+ aRad: s,
396
+ ax: p,
397
+ f: c
398
+ }), b = Et({
399
+ cx: e,
400
+ cy: t + f,
401
+ r: h,
402
+ aRad: s,
403
+ ax: p,
404
+ f: c
405
+ }), x = Et({
406
+ cx: e,
407
+ cy: t + f,
408
+ r: h,
409
+ aRad: i,
410
+ ax: p,
411
+ f: c
412
+ }), S = (v.z + y.z + x.z + b.z) / 4, ee = bt(!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 (S - -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: ee,
420
+ z: S
421
+ });
422
+ }
423
+ return _.sort((e, t) => e.z - t.z), _;
424
+ }
425
+ let Ot = T(() => {
426
+ if (H.value.layout !== "3d") return null;
427
+ let e = Z.value;
428
+ return (t) => Dt({
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 kt(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(() => (H.value.debug && H.value.style.chart.layout.wheel.ticks.quantity < 12 && console.warn("VueUiWheel - The min number of ticks is 12"), H.value.debug && 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), At = 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 } = ht(W.value.size / Z.value * t), { x: o, y: s } = ht(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
+ }), jt = T(() => c({ series: At.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))), Mt = N(!1);
468
+ function Nt(e) {
469
+ Mt.value = e, Ye.value += 1;
470
+ }
471
+ let Pt = N(!1);
472
+ function Ft() {
473
+ Pt.value = !Pt.value;
474
+ }
475
+ async function It({ 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 Lt = T(() => H.value.style.chart.layout.wheel.ticks.strokeWidth * 2), Rt = T(() => H.value.style.chart.layout.wheel.ticks.strokeWidth * 2 * .75), zt = T(() => H.value.style.chart.layout.wheel.ticks.strokeWidth), $ = T(() => Math.max(1, Math.min(20, H.value.style.chart.layout.wheel.ticks.depth3d))), Bt = T(() => H.value.style.chart.backgroundColor), Vt = T(() => H.value.style.chart.title), { exportSvg: Ht, getSvg: Ut } = v({
493
+ svg: ct,
494
+ title: Vt,
495
+ backgroundColor: Bt,
496
+ stretchTitle: !0
497
+ });
498
+ async function Wt({ isCb: e }) {
499
+ tt.value = !0, await ue();
500
+ try {
501
+ if (e) {
502
+ let { blob: e, url: t, text: n, dataUrl: r } = await Ut();
503
+ await Promise.resolve(H.value.userOptions.callbacks.svg({
504
+ blob: e,
505
+ url: t,
506
+ text: n,
507
+ dataUrl: r
508
+ }));
509
+ } else await Promise.resolve(Ht());
510
+ } finally {
511
+ tt.value = !1;
512
+ }
513
+ }
514
+ function Gt(e) {
515
+ if (e?.stage === "start") {
516
+ et.value = !0;
517
+ return;
518
+ }
519
+ if (e?.stage === "end") {
520
+ et.value = !1;
521
+ return;
522
+ }
523
+ pt();
524
+ }
525
+ async function Kt() {
526
+ if (Ke("copyAlt", {
527
+ config: H.value,
528
+ dataset: U.value
529
+ }), !H.value.userOptions.callbacks.altCopy) {
530
+ console.warn("Vue Data UI - A callback must be set for `altCopy` in userOptions.");
531
+ return;
532
+ }
533
+ await Promise.resolve(H.value.userOptions.callbacks.altCopy({
534
+ config: H.value,
535
+ dataset: U.value
536
+ }));
537
+ }
538
+ let qt = T(() => `${B.value}-title`), Jt = T(() => `${B.value}-desc`), Yt = T(() => o(H.value.style.chart.layout.percentage.formatter, a(q.value), i({
539
+ v: a(q.value),
540
+ s: "%",
541
+ r: H.value.style.chart.layout.percentage.rounding
542
+ }))), Xt = T(() => H.value.style.chart.title.text || ""), Zt = T(() => it.value ? "..." : `${Yt.value}`);
543
+ return ee({
544
+ getImage: It,
545
+ generatePdf: ft,
546
+ generateImage: pt,
547
+ generateSvg: Wt,
548
+ toggleAnnotator: Ft,
549
+ toggleFullscreen: Nt,
550
+ copyAlt: Kt
551
+ }), (e, t) => (M(), O("div", {
552
+ class: A(["vue-ui-wheel", {
553
+ "vue-data-ui-component": !0,
554
+ "vue-ui-wheel-3d-wrap": H.value.layout === "3d"
555
+ }]),
556
+ ref_key: "wheelChart",
557
+ ref: V,
558
+ id: B.value,
559
+ style: de(`font-family:${H.value.style.fontFamily};width:100%; text-align:center;background:${H.value.style.chart.backgroundColor};${H.value.responsive ? "height:100%" : ""}`),
560
+ onMouseenter: t[0] ||= () => I(ot)(!0),
561
+ onMouseleave: t[1] ||= () => I(ot)(!1)
562
+ }, [
563
+ H.value.userOptions.buttons.annotator ? (M(), E(I(Be), {
564
+ key: 0,
565
+ svgRef: I(ct),
566
+ backgroundColor: H.value.style.chart.backgroundColor,
567
+ color: H.value.style.chart.color,
568
+ active: Pt.value,
569
+ isCursorPointer: nt.value,
570
+ onClose: Ft
571
+ }, {
572
+ "annotator-action-close": L(() => [F(e.$slots, "annotator-action-close", {}, void 0, !0)]),
573
+ "annotator-action-color": L(({ color: t }) => [F(e.$slots, "annotator-action-color", j(k({ color: t })), void 0, !0)]),
574
+ "annotator-action-draw": L(({ mode: t }) => [F(e.$slots, "annotator-action-draw", j(k({ mode: t })), void 0, !0)]),
575
+ "annotator-action-undo": L(({ disabled: t }) => [F(e.$slots, "annotator-action-undo", j(k({ disabled: t })), void 0, !0)]),
576
+ "annotator-action-redo": L(({ disabled: t }) => [F(e.$slots, "annotator-action-redo", j(k({ disabled: t })), void 0, !0)]),
577
+ "annotator-action-delete": L(({ disabled: t }) => [F(e.$slots, "annotator-action-delete", j(k({ disabled: t })), void 0, !0)]),
578
+ _: 3
579
+ }, 8, [
580
+ "svgRef",
581
+ "backgroundColor",
582
+ "color",
583
+ "active",
584
+ "isCursorPointer"
585
+ ])) : D("", !0),
586
+ mt.value ? (M(), O("div", {
587
+ key: 1,
588
+ ref_key: "noTitle",
589
+ ref: Qe,
590
+ class: "vue-data-ui-no-title-space",
591
+ style: "height:36px; width: 100%;background:transparent"
592
+ }, null, 512)) : D("", !0),
593
+ H.value.style.chart.title.text ? (M(), O("div", {
594
+ key: 2,
595
+ ref_key: "chartTitle",
596
+ ref: Xe,
597
+ style: "width:100%;background:transparent;padding-bottom:12px"
598
+ }, [(M(), E(S, {
599
+ key: `title_${$e.value}`,
600
+ config: {
601
+ title: {
602
+ cy: "wheel-title",
603
+ ...H.value.style.chart.title
604
+ },
605
+ subtitle: {
606
+ cy: "wheel-subtitle",
607
+ ...H.value.style.chart.title.subtitle
608
+ }
609
+ }
610
+ }, null, 8, ["config"]))], 512)) : D("", !0),
611
+ H.value.userOptions.show && qe.value && (I(st) || I(at)) ? (M(), E(I(Ve), {
612
+ ref_key: "details",
613
+ ref: Je,
614
+ key: `user_options_${Ye.value}`,
615
+ backgroundColor: H.value.style.chart.backgroundColor,
616
+ color: H.value.style.chart.color,
617
+ isPrinting: I(ut),
618
+ isImaging: I(dt),
619
+ uid: B.value,
620
+ hasPdf: H.value.userOptions.buttons.pdf,
621
+ hasImg: H.value.userOptions.buttons.img,
622
+ hasSvg: H.value.userOptions.buttons.svg,
623
+ hasFullscreen: H.value.userOptions.buttons.fullscreen,
624
+ hasAltCopy: H.value.userOptions.buttons.altCopy,
625
+ hasXls: !1,
626
+ isFullscreen: Mt.value,
627
+ position: H.value.userOptions.position,
628
+ titles: { ...H.value.userOptions.buttonTitles },
629
+ hasAnnotator: H.value.userOptions.buttons.annotator,
630
+ isAnnotation: Pt.value,
631
+ chartElement: V.value,
632
+ callbacks: H.value.userOptions.callbacks,
633
+ printScale: H.value.userOptions.print.scale,
634
+ isCursorPointer: nt.value,
635
+ onToggleFullscreen: Nt,
636
+ onGeneratePdf: I(ft),
637
+ onGenerateImage: Gt,
638
+ onGenerateSvg: Wt,
639
+ onToggleAnnotator: Ft,
640
+ onCopyAlt: Kt,
641
+ style: de({ visibility: I(st) ? I(at) ? "visible" : "hidden" : "visible" })
642
+ }, se({ _: 2 }, [
643
+ e.$slots.menuIcon ? {
644
+ name: "menuIcon",
645
+ fn: L(({ isOpen: t, color: n }) => [F(e.$slots, "menuIcon", j(k({
646
+ isOpen: t,
647
+ color: n
648
+ })), void 0, !0)]),
649
+ key: "0"
650
+ } : void 0,
651
+ e.$slots.optionPdf ? {
652
+ name: "optionPdf",
653
+ fn: L(() => [F(e.$slots, "optionPdf", {}, void 0, !0)]),
654
+ key: "1"
655
+ } : void 0,
656
+ e.$slots.optionImg ? {
657
+ name: "optionImg",
658
+ fn: L(() => [F(e.$slots, "optionImg", {}, void 0, !0)]),
659
+ key: "2"
660
+ } : void 0,
661
+ e.$slots.optionSvg ? {
662
+ name: "optionSvg",
663
+ fn: L(() => [F(e.$slots, "optionSvg", {}, void 0, !0)]),
664
+ key: "3"
665
+ } : void 0,
666
+ e.$slots.optionFullscreen ? {
667
+ name: "optionFullscreen",
668
+ fn: L(({ toggleFullscreen: t, isFullscreen: n }) => [F(e.$slots, "optionFullscreen", j(k({
669
+ toggleFullscreen: t,
670
+ isFullscreen: n
671
+ })), void 0, !0)]),
672
+ key: "4"
673
+ } : void 0,
674
+ e.$slots.optionAnnotator ? {
675
+ name: "optionAnnotator",
676
+ fn: L(({ toggleAnnotator: t, isAnnotator: n }) => [F(e.$slots, "optionAnnotator", j(k({
677
+ toggleAnnotator: t,
678
+ isAnnotator: n
679
+ })), void 0, !0)]),
680
+ key: "5"
681
+ } : void 0,
682
+ e.$slots.optionAltCopy ? {
683
+ name: "optionAltCopy",
684
+ fn: L(({ altCopy: t }) => [F(e.$slots, "optionAltCopy", j(k({ altCopy: t })), void 0, !0)]),
685
+ key: "6"
686
+ } : void 0,
687
+ e.$slots["custom-menu-before"] ? {
688
+ name: "custom-menu-before",
689
+ fn: L(() => [F(e.$slots, "custom-menu-before", {}, void 0, !0)]),
690
+ key: "7"
691
+ } : void 0,
692
+ e.$slots["custom-menu-after"] ? {
693
+ name: "custom-menu-after",
694
+ fn: L(() => [F(e.$slots, "custom-menu-after", {}, void 0, !0)]),
695
+ key: "8"
696
+ } : void 0
697
+ ]), 1032, [
698
+ "backgroundColor",
699
+ "color",
700
+ "isPrinting",
701
+ "isImaging",
702
+ "uid",
703
+ "hasPdf",
704
+ "hasImg",
705
+ "hasSvg",
706
+ "hasFullscreen",
707
+ "hasAltCopy",
708
+ "isFullscreen",
709
+ "position",
710
+ "titles",
711
+ "hasAnnotator",
712
+ "isAnnotation",
713
+ "chartElement",
714
+ "callbacks",
715
+ "printScale",
716
+ "isCursorPointer",
717
+ "onGeneratePdf",
718
+ "style"
719
+ ])) : D("", !0),
720
+ (M(), O("svg", {
721
+ ref_key: "svgRef",
722
+ ref: ct,
723
+ xmlns: I(u),
724
+ class: A({
725
+ "vue-data-ui-fullscreen--on": Mt.value,
726
+ "vue-data-ui-fulscreen--off": !Mt.value,
727
+ "vue-ui-wheel-3d-svg": H.value.layout === "3d"
728
+ }),
729
+ 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)}`,
730
+ style: de(`max-width:100%;overflow:visible;background:transparent;color:${H.value.style.chart.color}`),
731
+ role: "img",
732
+ "aria-labelledby": qt.value,
733
+ "aria-describedby": Jt.value
734
+ }, [
735
+ oe("title", { id: qt.value }, he(Xt.value), 9, Se),
736
+ oe("desc", { id: Jt.value }, he(Zt.value), 9, Ce),
737
+ ce(I(He)),
738
+ e.$slots["chart-background"] ? (M(), O("foreignObject", {
739
+ key: 0,
740
+ x: H.value.layout === "3d" && !H.value.responsive ? X.value?.x - 10 : 0,
741
+ y: H.value.layout === "3d" && !H.value.responsive ? X.value?.y ?? 0 : 0,
742
+ width: H.value.layout === "3d" && !H.value.responsive ? X.value?.w + 20 ?? Math.max(10, W.value.width) : Math.max(10, W.value.width),
743
+ height: H.value.layout === "3d" && !H.value.responsive ? X.value?.h ?? Math.max(10, W.value.height) : Math.max(10, W.value.height),
744
+ style: { pointerEvents: "none" }
745
+ }, [F(e.$slots, "chart-background", {}, void 0, !0)], 8, we)) : D("", !0),
746
+ H.value.layout === "3d" && Tt.value ? (M(), O("path", {
747
+ key: 1,
748
+ class: "vue-ui-wheel-inner-circle",
749
+ d: Tt.value.d,
750
+ stroke: H.value.style.chart.layout.innerCircle.stroke,
751
+ "stroke-width": H.value.style.chart.layout.innerCircle.strokeWidth,
752
+ fill: "none"
753
+ }, null, 8, Te)) : H.value.style.chart.layout.innerCircle.show ? (M(), O("circle", {
754
+ key: 2,
755
+ class: "vue-ui-wheel-inner-circle",
756
+ cx: K.value.centerX,
757
+ cy: K.value.centerY,
758
+ r: Math.max(0, K.value.radius * H.value.style.chart.layout.innerCircle.radiusRatio * .8),
759
+ stroke: H.value.style.chart.layout.innerCircle.stroke,
760
+ "stroke-width": H.value.style.chart.layout.innerCircle.strokeWidth,
761
+ fill: "none"
762
+ }, null, 8, Ee)) : D("", !0),
763
+ H.value.layout === "3d" ? (M(), O(w, { key: 3 }, [H.value.style.chart.layout.wheel.ticks.type === "classic" ? (M(), O("g", De, [(M(!0), O(w, null, P($.value, (e) => (M(), O("g", null, [(M(!0), O(w, null, P(St.value || [], (t) => (M(), O("line", {
764
+ key: t.i,
765
+ x1: t.x1,
766
+ y1: t.y1 - e,
767
+ x2: t.x2,
768
+ y2: t.y2 - e,
769
+ stroke: I(n)(t.color, .25 * e / 5),
770
+ "stroke-width": H.value.style.chart.layout.wheel.ticks.strokeWidth / 360 * Math.min(W.value.width, W.value.height),
771
+ "stroke-linecap": H.value.style.chart.layout.wheel.ticks.rounded ? "round" : "butt",
772
+ class: A({
773
+ "vue-ui-wheel-tick": !0,
774
+ "vue-ui-tick-animated": H.value.style.chart.animation.use && !I(R) && t.i * Q.value <= q.value
775
+ })
776
+ }, null, 10, Oe))), 128))]))), 256)), (M(!0), O(w, null, P(St.value || [], (e) => (M(), O("line", {
777
+ key: e.i,
778
+ x1: e.x1,
779
+ y1: e.y1 - $.value,
780
+ x2: e.x2,
781
+ y2: e.y2 - $.value,
782
+ stroke: e.color,
783
+ "stroke-width": H.value.style.chart.layout.wheel.ticks.strokeWidth / 360 * Math.min(W.value.width, W.value.height),
784
+ "stroke-linecap": H.value.style.chart.layout.wheel.ticks.rounded ? "round" : "butt",
785
+ class: A({
786
+ "vue-ui-wheel-tick": !0,
787
+ "vue-ui-tick-animated": H.value.style.chart.animation.use && !I(R) && e.i * Q.value <= q.value
788
+ })
789
+ }, null, 10, ke))), 128))])) : (M(), O("g", Ae, [(M(!0), O(w, null, P($.value, (e) => (M(), O("g", null, [(M(!0), O(w, null, P(Ot.value(-e) || [], (e) => (M(), O("path", {
790
+ key: e.i,
791
+ d: e.d,
792
+ fill: H.value.style.chart.layout.wheel.ticks.inactiveColor,
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: "vue-ui-wheel-tick"
798
+ }, null, 8, je))), 128)), (M(!0), O(w, null, P(Ot.value(-e) || [], (t) => (M(), O("path", {
799
+ key: t.i,
800
+ d: t.d,
801
+ fill: I(n)(t.fill, .5 * e / $.value),
802
+ stroke: H.value.style.chart.layout.wheel.ticks.stroke,
803
+ "stroke-width": H.value.style.chart.layout.wheel.ticks.strokeWidth,
804
+ "stroke-linecap": "round",
805
+ "stroke-linejoin": "round",
806
+ class: A({
807
+ "vue-ui-wheel-tick": !0,
808
+ "vue-ui-tick-animated-3d": H.value.style.chart.animation.use && !I(R) && t.i * Q.value <= q.value
809
+ })
810
+ }, null, 10, Me))), 128))]))), 256)), oe("g", null, [(M(!0), O(w, null, P(Ot.value(-$.value) || [], (e) => (M(), O("path", {
811
+ key: e.i,
812
+ d: e.d,
813
+ fill: e.fill,
814
+ stroke: H.value.style.chart.layout.wheel.ticks.stroke,
815
+ "stroke-width": H.value.style.chart.layout.wheel.ticks.strokeWidth,
816
+ "stroke-linecap": "round",
817
+ "stroke-linejoin": "round",
818
+ class: A({
819
+ "vue-ui-wheel-tick": !0,
820
+ "vue-ui-tick-animated-3d": H.value.style.chart.animation.use && !I(R) && e.i * Q.value <= q.value
821
+ })
822
+ }, null, 10, Ne))), 128))])]))], 64)) : (M(), O(w, { key: 4 }, [H.value.style.chart.layout.wheel.ticks.type === "classic" ? (M(!0), O(w, { key: 0 }, P(At.value, (e, t) => (M(), O("line", {
823
+ x1: e.x1,
824
+ x2: e.x2,
825
+ y1: e.y1,
826
+ y2: e.y2,
827
+ stroke: e.color,
828
+ "stroke-width": H.value.style.chart.layout.wheel.ticks.strokeWidth / 360 * Math.min(W.value.width, W.value.height),
829
+ "stroke-linecap": H.value.style.chart.layout.wheel.ticks.rounded ? "round" : "butt",
830
+ class: A({
831
+ "vue-ui-wheel-tick": !0,
832
+ "vue-ui-tick-animated": H.value.style.chart.animation.use && !I(R) && t * Q.value <= q.value
833
+ })
834
+ }, null, 10, Pe))), 256)) : (M(!0), O(w, { key: 1 }, P(jt.value, (e, t) => (M(), O("path", {
835
+ d: e.arcSlice,
836
+ fill: e.color,
837
+ class: A({
838
+ "vue-ui-wheel-tick": !0,
839
+ "vue-ui-tick-animated": H.value.style.chart.animation.use && !I(R) && t * Q.value <= q.value
840
+ }),
841
+ stroke: H.value.style.chart.layout.wheel.ticks.stroke,
842
+ "stroke-width": H.value.style.chart.layout.wheel.ticks.strokeWidth
843
+ }, null, 10, Fe))), 256))], 64)),
844
+ H.value.style.chart.layout.percentage.show ? (M(), O("g", {
845
+ key: 5,
846
+ role: "status",
847
+ "aria-live": "polite",
848
+ "aria-label": I(it) ? "..." : Yt.value
849
+ }, [I(it) ? (M(), O("rect", {
850
+ key: 0,
851
+ x: K.value.centerX - 40,
852
+ y: K.value.centerY - G.value / 2,
853
+ width: 80,
854
+ height: G.value,
855
+ fill: "#6A6A6A80",
856
+ rx: "3"
857
+ }, null, 8, Le)) : (M(), O("text", {
858
+ key: 1,
859
+ "aria-hidden": "true",
860
+ x: K.value.centerX + H.value.style.chart.layout.percentage.offsetX,
861
+ y: K.value.centerY + G.value / 3 + H.value.style.chart.layout.percentage.offsetY,
862
+ "font-size": G.value,
863
+ 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,
864
+ "text-anchor": "middle",
865
+ "font-weight": H.value.style.chart.layout.percentage.bold ? "bold" : "normal",
866
+ style: { "font-variant-numeric": "tabluar-nums" },
867
+ stroke: H.value.style.chart.layout.percentage.stroke,
868
+ "stroke-width": H.value.style.chart.layout.percentage.strokeWidth,
869
+ "stroke-linecap": "round",
870
+ "stroke-linejoin": "round",
871
+ "paint-order": "stroke fill",
872
+ class: A({ "vue-ui-wheel-label": H.value.layout === "3d" })
873
+ }, he(Yt.value), 11, Re))], 8, Ie)) : D("", !0),
874
+ F(e.$slots, "svg", { svg: {
875
+ ...W.value,
876
+ isPrintingImg: I(ut) || I(dt) || et.value,
877
+ isPrintingSvg: tt.value
878
+ } }, void 0, !0)
879
+ ], 14, xe)),
880
+ e.$slots.watermark ? (M(), O("div", ze, [F(e.$slots, "watermark", j(k({ isPrinting: I(ut) || I(dt) || et.value || tt.value })), void 0, !0)])) : D("", !0),
881
+ e.$slots.source ? (M(), O("div", {
882
+ key: 5,
883
+ ref_key: "source",
884
+ ref: Ze,
885
+ dir: "auto"
886
+ }, [F(e.$slots, "source", {}, void 0, !0)], 512)) : D("", !0),
887
+ F(e.$slots, "skeleton", {}, () => [I(it) ? (M(), E(_, { key: 0 })) : D("", !0)], !0)
888
+ ], 46, be));
889
+ }
890
+ }, [["__scopeId", "data-v-8da34f59"]]);
891
+ //#endregion
892
+ export { ye as n, Be as t };