vue-data-ui 3.6.0 → 3.7.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (199) hide show
  1. package/README.md +26 -26
  2. package/dist/{Arrow-BGVin3AS.js → Arrow-CWYIBV-7.js} +1 -1
  3. package/dist/{BaseDraggableDialog-DhKIof09.js → BaseDraggableDialog-CRF94NJQ.js} +2 -2
  4. package/dist/{BaseIcon-DLFL0M4-.js → BaseIcon-CofSxalQ.js} +1 -1
  5. package/dist/{ColorPicker-CjIJvLdc.js → ColorPicker-e1-OSGlQ.js} +10 -10
  6. package/dist/{DataTable-UCyd_BQI.js → DataTable-CHaOCmsE.js} +2 -2
  7. package/dist/{Legend-D9ZTJKjh.js → Legend-Web3GjlR.js} +2 -2
  8. package/dist/{NonSvgPenAndPaper-a2UzZL0y.js → NonSvgPenAndPaper-CjYFLlns.js} +3 -3
  9. package/dist/{PackageVersion-D_4Hr4S4.js → PackageVersion-Bq_mtsqr.js} +1 -1
  10. package/dist/{PenAndPaper-BJSMejV9.js → PenAndPaper-HCZQTkqi.js} +20 -20
  11. package/dist/{Shape-CNXKB8O0.js → Shape-DE6X_t31.js} +3 -3
  12. package/dist/{Slicer-CJfhtoVn.js → Slicer-BFBBG6xv.js} +23 -23
  13. package/dist/{SlicerPreview-wXjV4LWO.js → SlicerPreview-D76aSViW.js} +2 -2
  14. package/dist/{SparkTooltip-BEewz-_Q.js → SparkTooltip-B2rpVWE1.js} +6 -6
  15. package/dist/{Title-Bb1VWCtR.js → Title-DfFUb9hd.js} +1 -1
  16. package/dist/{Tooltip-oWCO1HKy.js → Tooltip-WD0Ros6G.js} +1 -1
  17. package/dist/{UserOptions-BqmUW9Kp.js → UserOptions-B3I-s3Lw.js} +2 -2
  18. package/dist/components/arrow.js +1 -1
  19. package/dist/components/vue-ui-3d-bar.js +3 -3
  20. package/dist/components/vue-ui-accordion.js +1 -1
  21. package/dist/components/vue-ui-age-pyramid.js +3 -3
  22. package/dist/components/vue-ui-annotator.js +1 -1
  23. package/dist/components/vue-ui-bullet.js +3 -3
  24. package/dist/components/vue-ui-candlestick.js +3 -3
  25. package/dist/components/vue-ui-carousel-table.js +1 -1
  26. package/dist/components/vue-ui-chestnut.js +3 -3
  27. package/dist/components/vue-ui-chord.js +3 -3
  28. package/dist/components/vue-ui-circle-pack.js +3 -3
  29. package/dist/components/vue-ui-cursor.js +1 -1
  30. package/dist/components/vue-ui-dashboard.js +1 -1
  31. package/dist/components/vue-ui-digits.js +1 -1
  32. package/dist/components/vue-ui-donut-evolution.js +2 -2
  33. package/dist/components/vue-ui-donut.js +3 -3
  34. package/dist/components/vue-ui-dumbbell.js +3 -3
  35. package/dist/components/vue-ui-flow.js +3 -3
  36. package/dist/components/vue-ui-funnel.js +2 -2
  37. package/dist/components/vue-ui-galaxy.js +1 -1
  38. package/dist/components/vue-ui-gauge.js +1 -1
  39. package/dist/components/vue-ui-gizmo.js +1 -1
  40. package/dist/components/vue-ui-heatmap.js +1 -1
  41. package/dist/components/vue-ui-history-plot.js +3 -3
  42. package/dist/components/vue-ui-horizontal-bar.js +3 -3
  43. package/dist/components/vue-ui-icon.js +1 -1
  44. package/dist/components/vue-ui-kpi.js +1 -1
  45. package/dist/components/vue-ui-mini-loader.js +1 -1
  46. package/dist/components/vue-ui-molecule.js +3 -3
  47. package/dist/components/vue-ui-mood-radar.js +3 -3
  48. package/dist/components/vue-ui-nested-donuts.js +2 -2
  49. package/dist/components/vue-ui-onion.js +3 -3
  50. package/dist/components/vue-ui-parallel-coordinate-plot.js +1 -1
  51. package/dist/components/vue-ui-quadrant.js +3 -3
  52. package/dist/components/vue-ui-quick-chart.js +3 -3
  53. package/dist/components/vue-ui-radar.js +3 -3
  54. package/dist/components/vue-ui-rating.js +1 -1
  55. package/dist/components/vue-ui-relation-circle.js +3 -3
  56. package/dist/components/vue-ui-ridgeline.js +3 -3
  57. package/dist/components/vue-ui-rings.js +3 -3
  58. package/dist/components/vue-ui-scatter.js +3 -3
  59. package/dist/components/vue-ui-skeleton.js +1 -1
  60. package/dist/components/vue-ui-smiley.js +1 -1
  61. package/dist/components/vue-ui-spark-trend.js +1 -1
  62. package/dist/components/vue-ui-sparkbar.js +2 -2
  63. package/dist/components/vue-ui-sparkgauge.js +3 -3
  64. package/dist/components/vue-ui-sparkhistogram.js +3 -3
  65. package/dist/components/vue-ui-sparkline.js +3 -3
  66. package/dist/components/vue-ui-sparkstackbar.js +2 -2
  67. package/dist/components/vue-ui-stackbar.js +3 -3
  68. package/dist/components/vue-ui-stackline.js +1 -1
  69. package/dist/components/vue-ui-strip-plot.js +3 -3
  70. package/dist/components/vue-ui-table-heatmap.js +1 -1
  71. package/dist/components/vue-ui-table-sparkline.js +2 -2
  72. package/dist/components/vue-ui-table.js +1 -1
  73. package/dist/components/vue-ui-thermometer.js +3 -3
  74. package/dist/components/vue-ui-timer.js +1 -1
  75. package/dist/components/vue-ui-tiremarks.js +2 -2
  76. package/dist/components/vue-ui-treemap.js +3 -3
  77. package/dist/components/vue-ui-vertical-bar.js +1 -1
  78. package/dist/components/vue-ui-waffle.js +2 -2
  79. package/dist/components/vue-ui-wheel.js +1 -1
  80. package/dist/components/vue-ui-word-cloud.js +3 -3
  81. package/dist/components/vue-ui-world.js +1 -1
  82. package/dist/components/vue-ui-xy-canvas.js +3 -3
  83. package/dist/components/vue-ui-xy.js +3 -3
  84. package/dist/{dom-to-png--BNgrTZV.js → dom-to-png-CH2DfsJe.js} +1 -1
  85. package/dist/{img-BecE5qXd.js → img-DUzJeMlr.js} +1 -1
  86. package/dist/{lib-C_mNZmhD.js → lib-C5BH09_g.js} +111 -110
  87. package/dist/{pdf-DuG5j3Wv.js → pdf-BSWQncok.js} +1 -1
  88. package/dist/style.css +1 -1
  89. package/dist/types/vue-data-ui.d.ts +1 -0
  90. package/dist/{useAutoSizeLabelsInsideViewbox-BhzfwQ_k.js → useAutoSizeLabelsInsideViewbox-DOALwU4q.js} +7 -7
  91. package/dist/{useNestedProp-CIoDlpHu.js → useNestedProp-CWo6bftQ.js} +1 -1
  92. package/dist/{usePrinter-DTzqpYKF.js → usePrinter-DCJzEiS8.js} +2 -2
  93. package/dist/useThemeCheck-DGJ31Vi5.js +32 -0
  94. package/dist/{useTimeLabels-BGFjWgrv.js → useTimeLabels-C5qMhpbe.js} +50 -49
  95. package/dist/{vue-data-ui-BWuOXu_s.js → vue-data-ui-ByLTJx5V.js} +78 -78
  96. package/dist/vue-data-ui.js +225 -205
  97. package/dist/{vue-ui-3d-bar-BNQAuLqF.js → vue-ui-3d-bar-Dkds4k5N.js} +546 -517
  98. package/dist/{vue-ui-accordion-SSLXLlNz.js → vue-ui-accordion-DSdZUn2C.js} +3 -3
  99. package/dist/vue-ui-age-pyramid-C-fwZRYE.js +960 -0
  100. package/dist/{vue-ui-annotator-34Ld0u5M.js → vue-ui-annotator-DRaH8hXn.js} +7 -7
  101. package/dist/vue-ui-bullet-BKVJRjGh.js +657 -0
  102. package/dist/{vue-ui-candlestick-BcChw-8c.js → vue-ui-candlestick-BKFWHU4O.js} +596 -561
  103. package/dist/{vue-ui-carousel-table-Cp_od0lI.js → vue-ui-carousel-table-VmPH6y2g.js} +48 -48
  104. package/dist/{vue-ui-chestnut-DTaIsP72.js → vue-ui-chestnut-DpMHe-OI.js} +534 -505
  105. package/dist/vue-ui-chord-Djdr0PY_.js +1182 -0
  106. package/dist/vue-ui-circle-pack-CyUqNJQt.js +832 -0
  107. package/dist/{vue-ui-cursor-lW-dVs_k.js → vue-ui-cursor-BMe8ZiV6.js} +2 -2
  108. package/dist/{vue-ui-dashboard-DIymn9Cx.js → vue-ui-dashboard-eBXj-KCw.js} +140 -140
  109. package/dist/{vue-ui-digits-YHA3fA0j.js → vue-ui-digits-D382I0-w.js} +2 -2
  110. package/dist/{vue-ui-donut-BaDmbWLh.js → vue-ui-donut-BLb0kj_P.js} +634 -602
  111. package/dist/vue-ui-donut-evolution-BqrldXpI.js +1243 -0
  112. package/dist/vue-ui-dumbbell-BuZT5a-d.js +1258 -0
  113. package/dist/vue-ui-flow-LLp6ntEP.js +1026 -0
  114. package/dist/vue-ui-funnel-pILUR-OG.js +743 -0
  115. package/dist/vue-ui-galaxy-X6yiw8kx.js +837 -0
  116. package/dist/vue-ui-gauge-DBh-vFb9.js +864 -0
  117. package/dist/{vue-ui-gizmo-E33_xZte.js → vue-ui-gizmo-DtyEukIP.js} +3 -3
  118. package/dist/{vue-ui-heatmap-DJXMvFPp.js → vue-ui-heatmap-mkD6QkXo.js} +501 -466
  119. package/dist/vue-ui-history-plot-CyTaBaxA.js +1239 -0
  120. package/dist/{vue-ui-kpi-C-XuLBVQ.js → vue-ui-kpi-CKMZDc3n.js} +3 -3
  121. package/dist/{vue-ui-mini-loader-DawncJvl.js → vue-ui-mini-loader-BN72OfS0.js} +2 -2
  122. package/dist/vue-ui-molecule-UzQ3o5HW.js +782 -0
  123. package/dist/vue-ui-mood-radar-C2zkRLGy.js +930 -0
  124. package/dist/vue-ui-nested-donuts-B5OpvmJ9.js +1454 -0
  125. package/dist/vue-ui-onion-DbhIOGtF.js +944 -0
  126. package/dist/vue-ui-parallel-coordinate-plot-Dv_T4mWW.js +1080 -0
  127. package/dist/{vue-ui-quadrant-B2bLWyCm.js → vue-ui-quadrant-CG6_CWsQ.js} +510 -481
  128. package/dist/{vue-ui-quick-chart-J_RmCwI_.js → vue-ui-quick-chart-DOeRhk7r.js} +795 -758
  129. package/dist/vue-ui-radar-DdHa9Hsh.js +1013 -0
  130. package/dist/{vue-ui-rating-CBS8zaQd.js → vue-ui-rating-DtzmtJwF.js} +26 -26
  131. package/dist/vue-ui-relation-circle-B5lL4l9w.js +670 -0
  132. package/dist/vue-ui-ridgeline-3pk4Mlft.js +1302 -0
  133. package/dist/vue-ui-rings-DhyrjrZi.js +884 -0
  134. package/dist/vue-ui-scatter-DKCD70mi.js +1619 -0
  135. package/dist/{vue-ui-skeleton-DsrlMELy.js → vue-ui-skeleton-CzzdmraB.js} +3 -3
  136. package/dist/{vue-ui-smiley-P_8WIBDD.js → vue-ui-smiley-OYyM-ukP.js} +2 -2
  137. package/dist/vue-ui-spark-trend-BMTcxeCT.js +364 -0
  138. package/dist/vue-ui-sparkbar-DVk1JiPL.js +381 -0
  139. package/dist/vue-ui-sparkgauge-Cq9Nw_xu.js +260 -0
  140. package/dist/vue-ui-sparkhistogram-PFHlCE_k.js +411 -0
  141. package/dist/vue-ui-sparkline-BHHwO_cV.js +549 -0
  142. package/dist/vue-ui-sparkstackbar-BosVkkiC.js +470 -0
  143. package/dist/vue-ui-stackbar-Djk5CPUy.js +1867 -0
  144. package/dist/vue-ui-stackline-mU4CSol9.js +1963 -0
  145. package/dist/{vue-ui-strip-plot-CTtivaxm.js → vue-ui-strip-plot-CZQSL0GK.js} +343 -314
  146. package/dist/{vue-ui-table-CHt3AQiq.js → vue-ui-table-DMM090pe.js} +5 -5
  147. package/dist/vue-ui-table-heatmap-vQEFrjCX.js +307 -0
  148. package/dist/{vue-ui-table-sparkline-D5MckwMl.js → vue-ui-table-sparkline-CQJc0mJY.js} +292 -263
  149. package/dist/vue-ui-thermometer-D1uxoVeZ.js +613 -0
  150. package/dist/{vue-ui-timer-B-Xa6ALH.js → vue-ui-timer-jTnS3ES5.js} +25 -25
  151. package/dist/vue-ui-tiremarks-Bv-oIFVV.js +477 -0
  152. package/dist/vue-ui-treemap-B9MVtunp.js +1359 -0
  153. package/dist/{vue-ui-vertical-bar-D9XQe_ud.js → vue-ui-vertical-bar-BSbDj5qZ.js} +520 -485
  154. package/dist/{vue-ui-waffle-Bk98w86A.js → vue-ui-waffle-DIALVfvc.js} +376 -347
  155. package/dist/vue-ui-wheel-aUhrFpGk.js +690 -0
  156. package/dist/vue-ui-word-cloud-DZmMWsUu.js +904 -0
  157. package/dist/{vue-ui-world-xOY__pp8.js → vue-ui-world-CVLlgp2f.js} +57 -57
  158. package/dist/vue-ui-xy-Cy7mOurZ.js +3455 -0
  159. package/dist/vue-ui-xy-canvas-Cr13t9M5.js +1599 -0
  160. package/dist/vue_ui_vertical_bar-CELc39b8.js +18 -0
  161. package/package.json +5 -5
  162. package/dist/themes-DH-N_ePR.js +0 -54
  163. package/dist/vue-ui-age-pyramid-DsOlpJBh.js +0 -933
  164. package/dist/vue-ui-bullet-Ci4lO4_W.js +0 -630
  165. package/dist/vue-ui-chord-BKC--Nbq.js +0 -1153
  166. package/dist/vue-ui-circle-pack-B3sfU0Vo.js +0 -803
  167. package/dist/vue-ui-donut-evolution-BqUzmyW2.js +0 -1208
  168. package/dist/vue-ui-dumbbell-CWKTrzsm.js +0 -1231
  169. package/dist/vue-ui-flow-SMbuDPdL.js +0 -991
  170. package/dist/vue-ui-funnel-3fRlMBzq.js +0 -716
  171. package/dist/vue-ui-galaxy-CFZ1xYD5.js +0 -808
  172. package/dist/vue-ui-gauge-DJpbjfpL.js +0 -835
  173. package/dist/vue-ui-history-plot-CvPMx5Lg.js +0 -1204
  174. package/dist/vue-ui-molecule-CasngKZI.js +0 -753
  175. package/dist/vue-ui-mood-radar-DGz2TQi4.js +0 -903
  176. package/dist/vue-ui-nested-donuts-Bjjz2sWG.js +0 -1419
  177. package/dist/vue-ui-onion-DwTIY6i1.js +0 -915
  178. package/dist/vue-ui-parallel-coordinate-plot-DedxvtPN.js +0 -1051
  179. package/dist/vue-ui-radar-D1rz2RnH.js +0 -984
  180. package/dist/vue-ui-relation-circle-DUfRwwo1.js +0 -641
  181. package/dist/vue-ui-ridgeline-DKPWMWRc.js +0 -1273
  182. package/dist/vue-ui-rings-BY0EQGLb.js +0 -855
  183. package/dist/vue-ui-scatter-ky9p5Pgh.js +0 -1590
  184. package/dist/vue-ui-spark-trend-DkJn_3FI.js +0 -337
  185. package/dist/vue-ui-sparkbar-qB1fmgej.js +0 -352
  186. package/dist/vue-ui-sparkgauge-BezFN_Rc.js +0 -233
  187. package/dist/vue-ui-sparkhistogram-DGt5b8FR.js +0 -384
  188. package/dist/vue-ui-sparkline-D7Wx1ejg.js +0 -514
  189. package/dist/vue-ui-sparkstackbar-DtO7-yim.js +0 -441
  190. package/dist/vue-ui-stackbar-Dr48I48D.js +0 -1832
  191. package/dist/vue-ui-stackline-Juns5Yh4.js +0 -1928
  192. package/dist/vue-ui-table-heatmap-Cn-56b5F.js +0 -282
  193. package/dist/vue-ui-thermometer-BOidpwAZ.js +0 -584
  194. package/dist/vue-ui-tiremarks-BsTyVS2P.js +0 -450
  195. package/dist/vue-ui-treemap-BWTaY91B.js +0 -1330
  196. package/dist/vue-ui-wheel-nj73b_Dc.js +0 -663
  197. package/dist/vue-ui-word-cloud-Dcaogr-D.js +0 -875
  198. package/dist/vue-ui-xy-BT67faLv.js +0 -3424
  199. package/dist/vue-ui-xy-canvas-BoB7-4QK.js +0 -1564
@@ -0,0 +1,690 @@
1
+ import { useCssVars as Tt, computed as g, defineAsyncComponent as fe, ref as $, toRefs as Wt, watch as je, shallowRef as Ue, onMounted as Bt, onBeforeUnmount as Et, createElementBlock as n, openBlock as s, unref as c, normalizeStyle as ge, normalizeClass as P, createBlock as ne, createCommentVNode as z, withCtx as I, renderSlot as w, normalizeProps as R, guardReactiveProps as F, createSlots as Nt, createVNode as Xt, Fragment as _, renderList as T, createElementVNode as jt, toDisplayString as Ut } from "vue";
2
+ import { c as Lt, t as Ht, o as Yt, g as Gt, h as K, Z as Vt, X as qt, n as Le, a as Zt, M as He, d as Jt } from "./lib-C5BH09_g.js";
3
+ import { t as Kt, u as Qt } from "./useResponsive-DfdjqQps.js";
4
+ import { u as ea, a as pe } from "./useNestedProp-CWo6bftQ.js";
5
+ import { u as ta, B as aa } from "./BaseScanner-BgWxam9d.js";
6
+ import { u as la } from "./usePrinter-DCJzEiS8.js";
7
+ import { u as oa } from "./useSvgExport-DrjCWun4.js";
8
+ import { u as sa } from "./useThemeCheck-DGJ31Vi5.js";
9
+ import { u as na } from "./useUserOptionState-BIvW1Kz7.js";
10
+ import { u as ra } from "./useChartAccessibility-9icAAmYg.js";
11
+ import ia from "./img-DUzJeMlr.js";
12
+ import ua from "./Title-DfFUb9hd.js";
13
+ import { _ as ca } from "./_plugin-vue_export-helper-CHgC5LLL.js";
14
+ const Ye = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", layout: { wheel: { ticks: { inactiveColor: "#4A4A4A" } }, innerCircle: { stroke: "#3A3A3A" } }, title: { color: "#CCCCCC", subtitle: { color: "#757575" } } } } }, Ge = { style: { chart: { backgroundColor: "#FFF8E1", color: "#424242", layout: { wheel: { ticks: { inactiveColor: "#5D403760", activeColor: "#D32F2F", gradient: { shiftHueIntensity: 0 } } }, innerCircle: { stroke: "#5D403760" } }, title: { color: "#424242", subtitle: { color: "#757575" } } } } }, Ve = { style: { chart: { backgroundColor: "#1E1E1E", color: "#BDBDBD", layout: { wheel: { ticks: { inactiveColor: "#5D403780", activeColor: "#D32F2F", gradient: { shiftHueIntensity: 0 } } }, innerCircle: { stroke: "#5D403760" } }, title: { color: "#FFF8E1", subtitle: { color: "#BDBDBD" } } } } }, qe = { style: { chart: { backgroundColor: "#1A1A1A", color: "#99AA99", layout: { wheel: { ticks: { rounded: !1, inactiveColor: "#333333", activeColor: "#66CC66", gradient: { shiftHueIntensity: 15 } } }, innerCircle: { show: !1 } }, title: { color: "#66CC66", subtitle: { color: "#99AA99" } } } } }, Ze = { style: { chart: { backgroundColor: "#fbfafa", color: "#8A9892", layout: { wheel: { ticks: { inactiveColor: "#F7EDE2", activeColor: "#B1A7AD", gradient: { shiftHueIntensity: 100 } } }, innerCircle: { show: !1 } }, title: { color: "#8A9892", subtitle: { color: "#99AA99" } } } } }, Je = { style: { chart: { backgroundColor: "#f6f6fb", color: "#50606C", layout: { wheel: { ticks: { rounded: !1, inactiveColor: "#BBCBC7", activeColor: "#6C94A0", gradient: { shiftHueIntensity: 10 } } }, innerCircle: { stroke: "#BBCBC7" } }, title: { color: "#50606C", subtitle: { color: "#718890" } } } } }, Ke = {
15
+ default: {},
16
+ dark: Ye,
17
+ celebration: Ge,
18
+ celebrationNight: Ve,
19
+ hack: qe,
20
+ zen: Ze,
21
+ concrete: Je
22
+ }, Ya = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
23
+ __proto__: null,
24
+ celebration: Ge,
25
+ celebrationNight: Ve,
26
+ concrete: Je,
27
+ dark: Ye,
28
+ default: Ke,
29
+ hack: qe,
30
+ zen: Ze
31
+ }, Symbol.toStringTag, { value: "Module" })), ha = ["id"], va = ["xmlns", "viewBox"], da = ["x", "y", "width", "height"], ya = ["d", "stroke", "stroke-width"], ka = ["cx", "cy", "r", "stroke", "stroke-width"], fa = { key: 0 }, ga = ["x1", "y1", "x2", "y2", "stroke", "stroke-width", "stroke-linecap"], pa = ["x1", "y1", "x2", "y2", "stroke", "stroke-width", "stroke-linecap"], ma = { key: 1 }, wa = ["d", "fill", "stroke", "stroke-width"], Ca = ["d", "fill", "stroke", "stroke-width"], ba = ["d", "fill", "stroke", "stroke-width"], xa = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-linecap"], Ma = ["d", "fill", "stroke", "stroke-width"], Aa = { key: 5 }, $a = ["x", "y", "height"], Sa = ["x", "y", "font-size", "fill", "font-weight", "stroke", "stroke-width"], Ia = {
32
+ key: 4,
33
+ class: "vue-data-ui-watermark"
34
+ }, _a = {
35
+ __name: "vue-ui-wheel",
36
+ props: {
37
+ config: {
38
+ type: Object,
39
+ default() {
40
+ return {};
41
+ }
42
+ },
43
+ dataset: {
44
+ type: Object,
45
+ default() {
46
+ return {};
47
+ }
48
+ }
49
+ },
50
+ setup(Qe, { expose: et }) {
51
+ Tt((a) => ({
52
+ v5a57364b: ft.value,
53
+ v04e37e71: gt.value,
54
+ v04e36104: pt.value
55
+ }));
56
+ const tt = fe(() => import("./PenAndPaper-HCZQTkqi.js")), at = fe(() => import("./UserOptions-B3I-s3Lw.js")), lt = fe(() => import("./PackageVersion-Bq_mtsqr.js")), { vue_ui_wheel: ot } = ea(), { isThemeValid: st, warnInvalidTheme: nt } = sa(), W = Qe, rt = g(() => !!W.dataset && Object.keys(W.dataset).length), re = $(Lt()), it = $(null), me = $(0), X = $(null), we = $(null), Ce = $(null), be = $(null), xe = $(0), e = $(he()), { loading: Me, FINAL_DATASET: ie } = ta({
57
+ ...Wt(W),
58
+ FINAL_CONFIG: e,
59
+ prepareConfig: he,
60
+ skeletonDataset: { percentage: 50 },
61
+ skeletonConfig: Ht({
62
+ defaultConfig: e.value,
63
+ userConfig: {
64
+ userOptions: { show: !1 },
65
+ style: {
66
+ chart: {
67
+ backgroundColor: "#99999930",
68
+ animation: { use: !1 },
69
+ layout: {
70
+ wheel: {
71
+ ticks: {
72
+ activeColor: "#6A6A6A80",
73
+ inactiveColor: "#CACACA80"
74
+ }
75
+ },
76
+ innerCircle: {
77
+ stroke: "#CACACA80"
78
+ }
79
+ }
80
+ }
81
+ }
82
+ }
83
+ })
84
+ }), { userOptionsVisible: ue, setUserOptionsVisibility: Ae, keepUserOptionState: $e } = na({ config: e.value }), { svgRef: ce } = ra({ config: e.value.style.chart.title });
85
+ function he() {
86
+ const a = pe({
87
+ userConfig: W.config,
88
+ defaultConfig: ot
89
+ }), o = a.theme;
90
+ if (!o) return a;
91
+ if (!st.value(a))
92
+ return nt(a), a;
93
+ const t = pe({
94
+ userConfig: Ke[o] || W.config,
95
+ defaultConfig: a
96
+ });
97
+ return pe({
98
+ userConfig: W.config,
99
+ defaultConfig: t
100
+ });
101
+ }
102
+ je(() => W.config, (a) => {
103
+ e.value = he(), ue.value = !e.value.userOptions.showOnChartHover, Oe(), xe.value += 1;
104
+ }, { deep: !0 });
105
+ const { isPrinting: Se, isImaging: Ie, generatePdf: _e, generateImage: De } = la({
106
+ elementId: re.value,
107
+ fileName: e.value.style.chart.title.text || "vue-ui-wheel",
108
+ options: e.value.userOptions.print
109
+ }), ut = g(() => e.value.userOptions.show && !e.value.style.chart.title.text), r = $({
110
+ size: 360,
111
+ height: 360,
112
+ width: 360
113
+ }), Y = $(e.value.style.chart.layout.percentage.fontSize), u = g(() => ({
114
+ radius: Math.min(r.value.width, r.value.height) * 0.9 / 2 * e.value.style.chart.layout.wheel.radiusRatio,
115
+ centerX: r.value.width / 2,
116
+ centerY: r.value.height / 2
117
+ }));
118
+ function ze(a, o = 1) {
119
+ return {
120
+ x: u.value.centerX + u.value.radius * Math.cos(29.85 + a * Math.PI / 180) * o,
121
+ y: u.value.centerY + u.value.radius * Math.sin(29.85 + a * Math.PI / 180) * o
122
+ };
123
+ }
124
+ const d = $(e.value.style.chart.animation.use ? 0 : ie.value.percentage || 0);
125
+ je(() => ie.value, (a) => {
126
+ e.value.style.chart.animation.use ? We(a.percentage) : d.value = a.percentage || 0;
127
+ }, { deep: !0 });
128
+ const B = Ue(null), U = Ue(null);
129
+ Bt(() => {
130
+ Oe();
131
+ });
132
+ const ct = g(() => !!e.value.debug);
133
+ function Oe() {
134
+ if (Yt(W.dataset) && Gt({
135
+ componentName: "VueUiWheel",
136
+ type: "dataset",
137
+ debug: ct.value
138
+ }), e.value.responsive) {
139
+ const a = Kt(() => {
140
+ const { width: o, height: t } = Qt({
141
+ chart: X.value,
142
+ title: e.value.style.chart.title.text ? we.value : null,
143
+ source: Ce.value,
144
+ noTitle: be.value
145
+ });
146
+ requestAnimationFrame(() => {
147
+ r.value.width = o, r.value.height = t, Y.value = e.value.style.chart.layout.percentage.fontSize / 360 * Math.min(o, t);
148
+ });
149
+ });
150
+ B.value && (U.value && B.value.unobserve(U.value), B.value.disconnect()), B.value = new ResizeObserver(a), U.value = X.value.parentNode, B.value.observe(U.value);
151
+ }
152
+ We(ie.value.percentage || 0);
153
+ }
154
+ Et(() => {
155
+ B.value && (U.value && B.value.unobserve(U.value), B.value.disconnect());
156
+ });
157
+ function Q([a, o, t], l) {
158
+ const i = Math.cos(l), v = Math.sin(l);
159
+ return [a, o * i - t * v, o * v + t * i];
160
+ }
161
+ function ee([a, o, t], l) {
162
+ const i = l / (l - t);
163
+ return [a * i, o * i, t, i];
164
+ }
165
+ function Pe(a, o) {
166
+ const t = a.replace("#", ""), l = parseInt(t.substring(0, 2), 16), i = parseInt(t.substring(2, 4), 16), v = parseInt(t.substring(4, 6), 16), y = 1 - Math.min(1, Math.max(0, e.value.style.chart.layout.wheel.ticks.shadeColorRatio3d)) * o, k = Math.max(0, Math.min(255, Math.round(l * y))), x = Math.max(0, Math.min(255, Math.round(i * y))), M = Math.max(0, Math.min(255, Math.round(v * y)));
167
+ return `#${k.toString(16).padStart(2, "0")}${x.toString(16).padStart(2, "0")}${M.toString(16).padStart(2, "0")}`;
168
+ }
169
+ function ht({
170
+ cx: a,
171
+ cy: o,
172
+ radius: t,
173
+ innerRatio: l = 0.8,
174
+ count: i = 120,
175
+ startDeg: v = 0,
176
+ axDeg: C = 50,
177
+ f: y = 520,
178
+ baseStroke: k = 5,
179
+ activeColor: x,
180
+ inactiveColor: M,
181
+ getActive: S
182
+ }) {
183
+ const h = C * Math.PI / 180, p = t, A = t * l, b = [];
184
+ for (let m = 0; m < i; m += 1) {
185
+ const f = (m / i * 360 + v) * Math.PI / 180, O = a + p * Math.cos(f), H = o + p * Math.sin(f), j = a + A * Math.cos(f), G = o + A * Math.sin(f), V = [O - a, H - o, 0], q = [j - a, G - o, 0], [oe, Xe, Z] = Q(V, h), [ye, ke, J] = Q(q, h), [se, xt, , Mt] = ee([oe, Xe, Z], y), [At, $t, , za] = ee([ye, ke, J], y), St = a + se, It = o + xt, _t = a + At, Dt = o + $t, zt = (Math.max(Z, J) - -p * Math.sin(h)) / (2 * p * Math.sin(h) || 1), Ot = S ? S(m) : !0, Pt = e.value.style.chart.layout.wheel.ticks.gradient.show ? K(x, m * D.value / N.value * (e.value.style.chart.layout.wheel.ticks.gradient.shiftHueIntensity / 100)) : x, Rt = Pe(Ot ? Pt : M, zt), Ft = Math.max(1.25, k * Mt * (Math.min(r.value.width, r.value.height) / 360));
186
+ b.push({ i: m, x1: St, y1: It, x2: _t, y2: Dt, stroke: Ft, color: Rt, z: Math.max(Z, J) });
187
+ }
188
+ return b.sort((m, f) => m.z - f.z), b;
189
+ }
190
+ const Re = g(() => {
191
+ if (!e.value.layout === "3d") return null;
192
+ const a = N.value, o = e.value.style.chart.layout.wheel.ticks.gradient.show ? K(e.value.style.chart.layout.wheel.ticks.activeColor, 0) : e.value.style.chart.layout.wheel.ticks.activeColor, t = e.value.style.chart.layout.wheel.ticks.inactiveColor, l = e.value.style.chart.layout.wheel.ticks.strokeWidth;
193
+ return ht({
194
+ cx: u.value.centerX,
195
+ cy: u.value.centerY,
196
+ radius: u.value.radius,
197
+ innerRatio: e.value.style.chart.layout.wheel.ticks.sizeRatio,
198
+ count: a,
199
+ startDeg: -90,
200
+ axDeg: e.value.style.chart.layout.wheel.tiltAngle3d,
201
+ f: Math.min(r.value.width, r.value.height) * 1.45,
202
+ baseStroke: l,
203
+ activeColor: o,
204
+ inactiveColor: t,
205
+ getActive: (i) => d.value > i * D.value
206
+ });
207
+ });
208
+ function Fe({ cx: a, cy: o, r: t, count: l = 180, startDeg: i = -90, axDeg: v = 50, f: C }) {
209
+ const y = v * Math.PI / 180, k = [];
210
+ let x = 0;
211
+ for (let h = 0; h < l; h += 1) {
212
+ const p = (h / l * 360 + i) * Math.PI / 180, A = [t * Math.cos(p), t * Math.sin(p), 0], [b, m, f] = Q(A, y), [O, H, , j] = ee([b, m, f], C);
213
+ x += j, k.push([a + O, o + H]);
214
+ }
215
+ let M = `M ${k[0][0]} ${k[0][1]}`;
216
+ for (let h = 1; h < k.length; h += 1)
217
+ M += ` L ${k[h][0]} ${k[h][1]}`;
218
+ M += " Z";
219
+ const S = x / l;
220
+ return { d: M, avgScale: S, pts: k };
221
+ }
222
+ const E = g(() => {
223
+ if (e.value.layout !== "3d") return null;
224
+ const a = Math.min(r.value.width, r.value.height) * 1.45, o = e.value.style.chart.layout.wheel.tiltAngle3d, t = u.value.radius, { pts: l, avgScale: i } = (() => {
225
+ const A = t, b = o, { avgScale: m, pts: f } = Fe({
226
+ cx: u.value.centerX,
227
+ cy: u.value.centerY,
228
+ r: A,
229
+ startDeg: -90,
230
+ axDeg: b,
231
+ f: a
232
+ });
233
+ return { pts: f, avgScale: m };
234
+ })();
235
+ let v = 1 / 0, C = 1 / 0, y = -1 / 0, k = -1 / 0;
236
+ for (const [A, b] of l)
237
+ A < v && (v = A), b < C && (C = b), A > y && (y = A), b > k && (k = b);
238
+ const x = e.value.style.chart.layout.wheel.ticks.strokeWidth / 360 * Math.min(r.value.width, r.value.height), M = e.value.style.chart.layout.innerCircle.strokeWidth || 0, S = 0.5 * Math.max(x, M * (i || 1)), h = Math.max(0, Number(e.value.style.chart.layout.wheel.ticks.depth3d) || 0), p = S;
239
+ return {
240
+ x: v - p,
241
+ y: C - h - p,
242
+ w: y - v + 2 * p,
243
+ h: k - (C - h) + 2 * p
244
+ };
245
+ });
246
+ function vt(a) {
247
+ const o = Math.min(r.value.width, r.value.height) * 1.45, { d: t, avgScale: l } = Fe({
248
+ cx: u.value.centerX,
249
+ cy: u.value.centerY,
250
+ r: a,
251
+ startDeg: -90,
252
+ axDeg: e.value.style.chart.layout.wheel.tiltAngle3d,
253
+ f: o
254
+ }), v = (e.value.style.chart.layout.innerCircle.strokeWidth || 1) * l;
255
+ return {
256
+ d: t,
257
+ stroke: e.value.style.chart.layout.innerCircle.stroke,
258
+ strokeWidth: v
259
+ };
260
+ }
261
+ const Te = g(() => vt(Math.max(0, u.value.radius * 0.8 * e.value.style.chart.layout.innerCircle.radiusRatio)));
262
+ function te({ cx: a, cy: o, r: t, aRad: l, ax: i, f: v }) {
263
+ const C = [t * Math.cos(l), t * Math.sin(l), 0], [y, k, x] = Q(C, i), [M, S, , h] = ee([y, k, x], v);
264
+ return { x: a + M, y: o + S, z: x, s: h };
265
+ }
266
+ function dt({
267
+ cx: a,
268
+ cy: o,
269
+ radius: t,
270
+ innerRatio: l = 0.8,
271
+ count: i = 120,
272
+ startDeg: v = -87,
273
+ axDeg: C = 45,
274
+ f: y = 600,
275
+ activeColor: k,
276
+ inactiveColor: x,
277
+ getActive: M,
278
+ Y: S = 0
279
+ }) {
280
+ const h = C * Math.PI / 180, p = t, A = t * l, b = 2 * Math.PI / i, m = [];
281
+ for (let f = 0; f < i; f += 1) {
282
+ const O = v * Math.PI / 180 + b * f, H = O + b * Math.min(1, e.value.style.chart.layout.wheel.ticks.spacingRatio3d), j = te({ cx: a, cy: o + S, r: p, aRad: O, ax: h, f: y }), G = te({ cx: a, cy: o + S, r: p, aRad: H, ax: h, f: y }), V = te({ cx: a, cy: o + S, r: A, aRad: H, ax: h, f: y }), q = te({ cx: a, cy: o + S, r: A, aRad: O, ax: h, f: y }), oe = (j.z + G.z + q.z + V.z) / 4, Z = (M ? M(f) : !0) ? e.value.style.chart.layout.wheel.ticks.gradient.show ? K(
283
+ e.value.style.chart.layout.wheel.ticks.activeColor,
284
+ f * (100 / i) / 100 * (e.value.style.chart.layout.wheel.ticks.gradient.shiftHueIntensity / 100)
285
+ ) : k : x, ye = (() => {
286
+ const se = p * Math.sin(h) || 1;
287
+ return (oe - -se) / (2 * se);
288
+ })(), ke = Pe(Z, ye), J = `M ${j.x} ${j.y} L ${G.x} ${G.y} L ${V.x} ${V.y} L ${q.x} ${q.y} Z`;
289
+ m.push({ i: f, d: J, fill: ke, z: oe });
290
+ }
291
+ return m.sort((f, O) => f.z - O.z), m;
292
+ }
293
+ const ve = g(() => {
294
+ if (e.value.layout !== "3d") return null;
295
+ const a = N.value;
296
+ return (o) => dt({
297
+ cx: u.value.centerX,
298
+ cy: u.value.centerY,
299
+ radius: u.value.radius,
300
+ innerRatio: e.value.style.chart.layout.wheel.ticks.sizeRatio,
301
+ count: a,
302
+ startDeg: -90,
303
+ axDeg: e.value.style.chart.layout.wheel.tiltAngle3d,
304
+ f: Math.min(r.value.width, r.value.height) * 1.45,
305
+ activeColor: e.value.style.chart.layout.wheel.ticks.activeColor,
306
+ inactiveColor: e.value.style.chart.layout.wheel.ticks.inactiveColor,
307
+ getActive: (t) => d.value > t * (100 / a),
308
+ Y: o
309
+ });
310
+ });
311
+ function We(a) {
312
+ let o = e.value.style.chart.animation.speed;
313
+ const t = Math.abs(a - d.value) / (o * 120);
314
+ function l() {
315
+ d.value < a ? d.value = Math.min(d.value + t, a) : d.value > a && (d.value = Math.max(d.value - t, a)), d.value !== a && requestAnimationFrame(l);
316
+ }
317
+ l();
318
+ }
319
+ const N = g(() => (e.value.debug && e.value.style.chart.layout.wheel.ticks.quantity < 12 && console.warn("VueUiWheel - The min number of ticks is 12"), e.value.debug && e.value.style.chart.layout.wheel.ticks.quantity > 200 && console.warn("VueUiWheel - The max number of ticks is 200"), Math.max(12, Math.min(e.value.style.chart.layout.wheel.ticks.quantity, 200)))), D = g(() => 100 / N.value), Be = g(() => {
320
+ const a = [];
321
+ for (let o = 0; o < N.value; o += 1) {
322
+ const t = d.value > o * D.value ? e.value.style.chart.layout.wheel.ticks.activeColor : e.value.style.chart.layout.wheel.ticks.inactiveColor, { x: l, y: i } = ze(r.value.size / N.value * o), { x: v, y: C } = ze(r.value.size / N.value * o, e.value.style.chart.layout.wheel.ticks.sizeRatio);
323
+ a.push({
324
+ x1: l,
325
+ y1: i,
326
+ x2: v,
327
+ y2: C,
328
+ color: e.value.style.chart.layout.wheel.ticks.gradient.show ? K(t, o * D.value / N.value * (e.value.style.chart.layout.wheel.ticks.gradient.shiftHueIntensity / 100)) : t
329
+ });
330
+ }
331
+ return a;
332
+ }), yt = g(() => Vt({ series: Be.value.map((a) => ({
333
+ name: "",
334
+ value: 1,
335
+ color: a.color
336
+ })) }, u.value.centerX, u.value.centerY, u.value.radius, u.value.radius, 1.99999, 2, 1, 360, 105.25, u.value.radius * (1 - e.value.style.chart.layout.wheel.ticks.sizeRatio))), ae = $(!1);
337
+ function Ee(a) {
338
+ ae.value = a, me.value += 1;
339
+ }
340
+ const le = $(!1);
341
+ function de() {
342
+ le.value = !le.value;
343
+ }
344
+ async function kt({ scale: a = 2 } = {}) {
345
+ if (!X.value) return;
346
+ const { width: o, height: t } = X.value.getBoundingClientRect(), l = o / t, { imageUri: i, base64: v } = await ia({ domElement: X.value, base64: !0, img: !0, scale: a });
347
+ return {
348
+ imageUri: i,
349
+ base64: v,
350
+ title: e.value.style.chart.title.text,
351
+ width: o,
352
+ height: t,
353
+ aspectRatio: l
354
+ };
355
+ }
356
+ const ft = g(() => e.value.style.chart.layout.wheel.ticks.strokeWidth * 2), gt = g(() => e.value.style.chart.layout.wheel.ticks.strokeWidth * 2 * 0.75), pt = g(() => e.value.style.chart.layout.wheel.ticks.strokeWidth), L = g(() => Math.max(1, Math.min(20, e.value.style.chart.layout.wheel.ticks.depth3d))), mt = g(() => e.value.style.chart.backgroundColor), wt = g(() => e.value.style.chart.title), { exportSvg: Ct, getSvg: bt } = oa({
357
+ svg: ce,
358
+ title: wt,
359
+ backgroundColor: mt,
360
+ stretchTitle: !0
361
+ });
362
+ async function Ne({ isCb: a }) {
363
+ if (a) {
364
+ const { blob: o, url: t, text: l, dataUrl: i } = await bt();
365
+ e.value.userOptions.callbacks.svg({ blob: o, url: t, text: l, dataUrl: i });
366
+ } else
367
+ Ct();
368
+ }
369
+ return et({
370
+ getImage: kt,
371
+ generatePdf: _e,
372
+ generateImage: De,
373
+ generateSvg: Ne,
374
+ toggleAnnotator: de,
375
+ toggleFullscreen: Ee
376
+ }), (a, o) => (s(), n("div", {
377
+ class: P(["vue-ui-wheel", { "vue-data-ui-component": !0, "vue-ui-wheel-3d-wrap": e.value.layout === "3d" }]),
378
+ ref_key: "wheelChart",
379
+ ref: X,
380
+ id: re.value,
381
+ style: ge(`font-family:${e.value.style.fontFamily};width:100%; text-align:center;background:${e.value.style.chart.backgroundColor};${e.value.responsive ? "height:100%" : ""}`),
382
+ onMouseenter: o[0] || (o[0] = () => c(Ae)(!0)),
383
+ onMouseleave: o[1] || (o[1] = () => c(Ae)(!1))
384
+ }, [
385
+ e.value.userOptions.buttons.annotator ? (s(), ne(c(tt), {
386
+ key: 0,
387
+ svgRef: c(ce),
388
+ backgroundColor: e.value.style.chart.backgroundColor,
389
+ color: e.value.style.chart.color,
390
+ active: le.value,
391
+ onClose: de
392
+ }, {
393
+ "annotator-action-close": I(() => [
394
+ w(a.$slots, "annotator-action-close", {}, void 0, !0)
395
+ ]),
396
+ "annotator-action-color": I(({ color: t }) => [
397
+ w(a.$slots, "annotator-action-color", R(F({ color: t })), void 0, !0)
398
+ ]),
399
+ "annotator-action-draw": I(({ mode: t }) => [
400
+ w(a.$slots, "annotator-action-draw", R(F({ mode: t })), void 0, !0)
401
+ ]),
402
+ "annotator-action-undo": I(({ disabled: t }) => [
403
+ w(a.$slots, "annotator-action-undo", R(F({ disabled: t })), void 0, !0)
404
+ ]),
405
+ "annotator-action-redo": I(({ disabled: t }) => [
406
+ w(a.$slots, "annotator-action-redo", R(F({ disabled: t })), void 0, !0)
407
+ ]),
408
+ "annotator-action-delete": I(({ disabled: t }) => [
409
+ w(a.$slots, "annotator-action-delete", R(F({ disabled: t })), void 0, !0)
410
+ ]),
411
+ _: 3
412
+ }, 8, ["svgRef", "backgroundColor", "color", "active"])) : z("", !0),
413
+ ut.value ? (s(), n("div", {
414
+ key: 1,
415
+ ref_key: "noTitle",
416
+ ref: be,
417
+ class: "vue-data-ui-no-title-space",
418
+ style: "height:36px; width: 100%;background:transparent"
419
+ }, null, 512)) : z("", !0),
420
+ e.value.style.chart.title.text ? (s(), n("div", {
421
+ key: 2,
422
+ ref_key: "chartTitle",
423
+ ref: we,
424
+ style: "width:100%;background:transparent;padding-bottom:12px"
425
+ }, [
426
+ (s(), ne(ua, {
427
+ key: `title_${xe.value}`,
428
+ config: {
429
+ title: {
430
+ cy: "wheel-title",
431
+ ...e.value.style.chart.title
432
+ },
433
+ subtitle: {
434
+ cy: "wheel-subtitle",
435
+ ...e.value.style.chart.title.subtitle
436
+ }
437
+ }
438
+ }, null, 8, ["config"]))
439
+ ], 512)) : z("", !0),
440
+ e.value.userOptions.show && rt.value && (c($e) || c(ue)) ? (s(), ne(c(at), {
441
+ ref_key: "details",
442
+ ref: it,
443
+ key: `user_options_${me.value}`,
444
+ backgroundColor: e.value.style.chart.backgroundColor,
445
+ color: e.value.style.chart.color,
446
+ isPrinting: c(Se),
447
+ isImaging: c(Ie),
448
+ uid: re.value,
449
+ hasPdf: e.value.userOptions.buttons.pdf,
450
+ hasImg: e.value.userOptions.buttons.img,
451
+ hasSvg: e.value.userOptions.buttons.svg,
452
+ hasFullscreen: e.value.userOptions.buttons.fullscreen,
453
+ hasXls: !1,
454
+ isFullscreen: ae.value,
455
+ position: e.value.userOptions.position,
456
+ titles: { ...e.value.userOptions.buttonTitles },
457
+ hasAnnotator: e.value.userOptions.buttons.annotator,
458
+ isAnnotation: le.value,
459
+ chartElement: X.value,
460
+ callbacks: e.value.userOptions.callbacks,
461
+ printScale: e.value.userOptions.print.scale,
462
+ onToggleFullscreen: Ee,
463
+ onGeneratePdf: c(_e),
464
+ onGenerateImage: c(De),
465
+ onGenerateSvg: Ne,
466
+ onToggleAnnotator: de,
467
+ style: ge({
468
+ visibility: c($e) ? c(ue) ? "visible" : "hidden" : "visible"
469
+ })
470
+ }, Nt({ _: 2 }, [
471
+ a.$slots.menuIcon ? {
472
+ name: "menuIcon",
473
+ fn: I(({ isOpen: t, color: l }) => [
474
+ w(a.$slots, "menuIcon", R(F({ isOpen: t, color: l })), void 0, !0)
475
+ ]),
476
+ key: "0"
477
+ } : void 0,
478
+ a.$slots.optionPdf ? {
479
+ name: "optionPdf",
480
+ fn: I(() => [
481
+ w(a.$slots, "optionPdf", {}, void 0, !0)
482
+ ]),
483
+ key: "1"
484
+ } : void 0,
485
+ a.$slots.optionImg ? {
486
+ name: "optionImg",
487
+ fn: I(() => [
488
+ w(a.$slots, "optionImg", {}, void 0, !0)
489
+ ]),
490
+ key: "2"
491
+ } : void 0,
492
+ a.$slots.optionSvg ? {
493
+ name: "optionSvg",
494
+ fn: I(() => [
495
+ w(a.$slots, "optionSvg", {}, void 0, !0)
496
+ ]),
497
+ key: "3"
498
+ } : void 0,
499
+ a.$slots.optionFullscreen ? {
500
+ name: "optionFullscreen",
501
+ fn: I(({ toggleFullscreen: t, isFullscreen: l }) => [
502
+ w(a.$slots, "optionFullscreen", R(F({ toggleFullscreen: t, isFullscreen: l })), void 0, !0)
503
+ ]),
504
+ key: "4"
505
+ } : void 0,
506
+ a.$slots.optionAnnotator ? {
507
+ name: "optionAnnotator",
508
+ fn: I(({ toggleAnnotator: t, isAnnotator: l }) => [
509
+ w(a.$slots, "optionAnnotator", R(F({ toggleAnnotator: t, isAnnotator: l })), void 0, !0)
510
+ ]),
511
+ key: "5"
512
+ } : void 0
513
+ ]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasPdf", "hasImg", "hasSvg", "hasFullscreen", "isFullscreen", "position", "titles", "hasAnnotator", "isAnnotation", "chartElement", "callbacks", "printScale", "onGeneratePdf", "onGenerateImage", "style"])) : z("", !0),
514
+ (s(), n("svg", {
515
+ ref_key: "svgRef",
516
+ ref: ce,
517
+ xmlns: c(qt),
518
+ class: P({ "vue-data-ui-fullscreen--on": ae.value, "vue-data-ui-fulscreen--off": !ae.value, "vue-ui-wheel-3d-svg": e.value.layout === "3d" }),
519
+ viewBox: e.value.layout === "3d" && !e.value.responsive ? `${E.value?.x - 10} ${E.value?.y ?? 0} ${E.value?.w + 20} ${E.value?.h ?? Math.max(10, r.value.height)}` : `0 0 ${Math.max(10, r.value.width)} ${Math.max(10, r.value.height)}`,
520
+ style: ge(`max-width:100%;overflow:visible;background:transparent;color:${e.value.style.chart.color}`)
521
+ }, [
522
+ Xt(c(lt)),
523
+ a.$slots["chart-background"] ? (s(), n("foreignObject", {
524
+ key: 0,
525
+ x: e.value.layout === "3d" && !e.value.responsive ? E.value?.x - 10 : 0,
526
+ y: e.value.layout === "3d" && !e.value.responsive ? E.value?.y ?? 0 : 0,
527
+ width: e.value.layout === "3d" && !e.value.responsive ? E.value?.w + 20 : Math.max(10, r.value.width),
528
+ height: e.value.layout === "3d" && !e.value.responsive ? E.value?.h ?? Math.max(10, r.value.height) : Math.max(10, r.value.height),
529
+ style: {
530
+ pointerEvents: "none"
531
+ }
532
+ }, [
533
+ w(a.$slots, "chart-background", {}, void 0, !0)
534
+ ], 8, da)) : z("", !0),
535
+ e.value.layout === "3d" && Te.value ? (s(), n("path", {
536
+ key: 1,
537
+ class: "vue-ui-wheel-inner-circle",
538
+ d: Te.value.d,
539
+ stroke: e.value.style.chart.layout.innerCircle.stroke,
540
+ "stroke-width": e.value.style.chart.layout.innerCircle.strokeWidth,
541
+ fill: "none"
542
+ }, null, 8, ya)) : e.value.style.chart.layout.innerCircle.show ? (s(), n("circle", {
543
+ key: 2,
544
+ class: "vue-ui-wheel-inner-circle",
545
+ cx: u.value.centerX,
546
+ cy: u.value.centerY,
547
+ r: Math.max(0, u.value.radius * e.value.style.chart.layout.innerCircle.radiusRatio * 0.8),
548
+ stroke: e.value.style.chart.layout.innerCircle.stroke,
549
+ "stroke-width": e.value.style.chart.layout.innerCircle.strokeWidth,
550
+ fill: "none"
551
+ }, null, 8, ka)) : z("", !0),
552
+ e.value.layout === "3d" ? (s(), n(_, { key: 3 }, [
553
+ e.value.style.chart.layout.wheel.ticks.type === "classic" ? (s(), n("g", fa, [
554
+ (s(!0), n(_, null, T(L.value, (t) => (s(), n("g", null, [
555
+ (s(!0), n(_, null, T(Re.value || [], (l) => (s(), n("line", {
556
+ key: l.i,
557
+ x1: l.x1,
558
+ y1: l.y1 - t,
559
+ x2: l.x2,
560
+ y2: l.y2 - t,
561
+ stroke: c(Le)(l.color, 0.25 * t / 5),
562
+ "stroke-width": e.value.style.chart.layout.wheel.ticks.strokeWidth / 360 * Math.min(r.value.width, r.value.height),
563
+ "stroke-linecap": e.value.style.chart.layout.wheel.ticks.rounded ? "round" : "butt",
564
+ class: P({ "vue-ui-wheel-tick": !0, "vue-ui-tick-animated": e.value.style.chart.animation.use && l.i * D.value <= d.value })
565
+ }, null, 10, ga))), 128))
566
+ ]))), 256)),
567
+ (s(!0), n(_, null, T(Re.value || [], (t) => (s(), n("line", {
568
+ key: t.i,
569
+ x1: t.x1,
570
+ y1: t.y1 - L.value,
571
+ x2: t.x2,
572
+ y2: t.y2 - L.value,
573
+ stroke: t.color,
574
+ "stroke-width": e.value.style.chart.layout.wheel.ticks.strokeWidth / 360 * Math.min(r.value.width, r.value.height),
575
+ "stroke-linecap": e.value.style.chart.layout.wheel.ticks.rounded ? "round" : "butt",
576
+ class: P({ "vue-ui-wheel-tick": !0, "vue-ui-tick-animated": e.value.style.chart.animation.use && t.i * D.value <= d.value })
577
+ }, null, 10, pa))), 128))
578
+ ])) : (s(), n("g", ma, [
579
+ (s(!0), n(_, null, T(L.value, (t) => (s(), n("g", null, [
580
+ (s(!0), n(_, null, T(ve.value(-t) || [], (l) => (s(), n("path", {
581
+ key: l.i,
582
+ d: l.d,
583
+ fill: e.value.style.chart.layout.wheel.ticks.inactiveColor,
584
+ stroke: e.value.style.chart.layout.wheel.ticks.stroke,
585
+ "stroke-width": e.value.style.chart.layout.wheel.ticks.strokeWidth,
586
+ "stroke-linecap": "round",
587
+ "stroke-linejoin": "round",
588
+ class: "vue-ui-wheel-tick"
589
+ }, null, 8, wa))), 128)),
590
+ (s(!0), n(_, null, T(ve.value(-t) || [], (l) => (s(), n("path", {
591
+ key: l.i,
592
+ d: l.d,
593
+ fill: c(Le)(l.fill, 0.5 * t / L.value),
594
+ stroke: e.value.style.chart.layout.wheel.ticks.stroke,
595
+ "stroke-width": e.value.style.chart.layout.wheel.ticks.strokeWidth,
596
+ "stroke-linecap": "round",
597
+ "stroke-linejoin": "round",
598
+ class: P({ "vue-ui-wheel-tick": !0, "vue-ui-tick-animated-3d": e.value.style.chart.animation.use && l.i * D.value <= d.value })
599
+ }, null, 10, Ca))), 128))
600
+ ]))), 256)),
601
+ jt("g", null, [
602
+ (s(!0), n(_, null, T(ve.value(-L.value) || [], (t) => (s(), n("path", {
603
+ key: t.i,
604
+ d: t.d,
605
+ fill: t.fill,
606
+ stroke: e.value.style.chart.layout.wheel.ticks.stroke,
607
+ "stroke-width": e.value.style.chart.layout.wheel.ticks.strokeWidth,
608
+ "stroke-linecap": "round",
609
+ "stroke-linejoin": "round",
610
+ class: P({ "vue-ui-wheel-tick": !0, "vue-ui-tick-animated-3d": e.value.style.chart.animation.use && t.i * D.value <= d.value })
611
+ }, null, 10, ba))), 128))
612
+ ])
613
+ ]))
614
+ ], 64)) : (s(), n(_, { key: 4 }, [
615
+ e.value.style.chart.layout.wheel.ticks.type === "classic" ? (s(!0), n(_, { key: 0 }, T(Be.value, (t, l) => (s(), n("line", {
616
+ x1: t.x1,
617
+ x2: t.x2,
618
+ y1: t.y1,
619
+ y2: t.y2,
620
+ stroke: t.color,
621
+ "stroke-width": e.value.style.chart.layout.wheel.ticks.strokeWidth / 360 * Math.min(r.value.width, r.value.height),
622
+ "stroke-linecap": e.value.style.chart.layout.wheel.ticks.rounded ? "round" : "butt",
623
+ class: P({ "vue-ui-wheel-tick": !0, "vue-ui-tick-animated": e.value.style.chart.animation.use && l * D.value <= d.value })
624
+ }, null, 10, xa))), 256)) : (s(!0), n(_, { key: 1 }, T(yt.value, (t, l) => (s(), n("path", {
625
+ d: t.arcSlice,
626
+ fill: t.color,
627
+ class: P({ "vue-ui-wheel-tick": !0, "vue-ui-tick-animated": e.value.style.chart.animation.use && l * D.value <= d.value }),
628
+ stroke: e.value.style.chart.layout.wheel.ticks.stroke,
629
+ "stroke-width": e.value.style.chart.layout.wheel.ticks.strokeWidth
630
+ }, null, 10, Ma))), 256))
631
+ ], 64)),
632
+ e.value.style.chart.layout.percentage.show ? (s(), n("g", Aa, [
633
+ c(Me) ? (s(), n("rect", {
634
+ key: 0,
635
+ x: u.value.centerX - 40,
636
+ y: u.value.centerY - Y.value / 2,
637
+ width: 80,
638
+ height: Y.value,
639
+ fill: "#6A6A6A80",
640
+ rx: "3"
641
+ }, null, 8, $a)) : (s(), n("text", {
642
+ key: 1,
643
+ x: u.value.centerX + e.value.style.chart.layout.percentage.offsetX,
644
+ y: u.value.centerY + Y.value / 3 + e.value.style.chart.layout.percentage.offsetY,
645
+ "font-size": Y.value,
646
+ fill: e.value.style.chart.layout.wheel.ticks.gradient.show ? c(K)(e.value.style.chart.layout.wheel.ticks.activeColor, d.value / 100 * (e.value.style.chart.layout.wheel.ticks.gradient.shiftHueIntensity / 100)) : e.value.style.chart.layout.wheel.ticks.activeColor,
647
+ "text-anchor": "middle",
648
+ "font-weight": e.value.style.chart.layout.percentage.bold ? "bold" : "normal",
649
+ style: { "font-variant-numeric": "tabluar-nums" },
650
+ stroke: e.value.style.chart.layout.percentage.stroke,
651
+ "stroke-width": e.value.style.chart.layout.percentage.strokeWidth,
652
+ "stroke-linecap": "round",
653
+ "stroke-linejoin": "round",
654
+ "paint-order": "stroke fill",
655
+ class: P({ "vue-ui-wheel-label": e.value.layout === "3d" })
656
+ }, Ut(c(Zt)(
657
+ e.value.style.chart.layout.percentage.formatter,
658
+ c(He)(d.value),
659
+ c(Jt)({
660
+ v: c(He)(d.value),
661
+ s: "%",
662
+ r: e.value.style.chart.layout.percentage.rounding
663
+ })
664
+ )), 11, Sa))
665
+ ])) : z("", !0),
666
+ w(a.$slots, "svg", { svg: r.value }, void 0, !0)
667
+ ], 14, va)),
668
+ a.$slots.watermark ? (s(), n("div", Ia, [
669
+ w(a.$slots, "watermark", R(F({ isPrinting: c(Se) || c(Ie) })), void 0, !0)
670
+ ])) : z("", !0),
671
+ a.$slots.source ? (s(), n("div", {
672
+ key: 5,
673
+ ref_key: "source",
674
+ ref: Ce,
675
+ dir: "auto"
676
+ }, [
677
+ w(a.$slots, "source", {}, void 0, !0)
678
+ ], 512)) : z("", !0),
679
+ c(Me) ? (s(), ne(aa, { key: 6 })) : z("", !0)
680
+ ], 46, ha));
681
+ }
682
+ }, Da = /* @__PURE__ */ ca(_a, [["__scopeId", "data-v-a1178806"]]), Ga = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
683
+ __proto__: null,
684
+ default: Da
685
+ }, Symbol.toStringTag, { value: "Module" }));
686
+ export {
687
+ Ya as a,
688
+ Ga as b,
689
+ Da as v
690
+ };