vue-data-ui 3.2.0 → 3.2.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 (135) hide show
  1. package/dist/{PackageVersion-D242JXMq.js → PackageVersion-BB7joYAK.js} +1 -1
  2. package/dist/{Slicer-BgpOhmb6.js → Slicer-qM5l8BsU.js} +119 -119
  3. package/dist/{Title-pI68ZJsq.js → Title-BIaVNiUQ.js} +1 -1
  4. package/dist/components/vue-ui-3d-bar.js +1 -1
  5. package/dist/components/vue-ui-accordion.js +1 -1
  6. package/dist/components/vue-ui-age-pyramid.js +1 -1
  7. package/dist/components/vue-ui-bullet.js +1 -1
  8. package/dist/components/vue-ui-candlestick.js +1 -1
  9. package/dist/components/vue-ui-carousel-table.js +1 -1
  10. package/dist/components/vue-ui-chestnut.js +1 -1
  11. package/dist/components/vue-ui-chord.js +1 -1
  12. package/dist/components/vue-ui-circle-pack.js +1 -1
  13. package/dist/components/vue-ui-cursor.js +1 -1
  14. package/dist/components/vue-ui-dashboard.js +1 -1
  15. package/dist/components/vue-ui-digits.js +1 -1
  16. package/dist/components/vue-ui-donut-evolution.js +1 -1
  17. package/dist/components/vue-ui-donut.js +1 -1
  18. package/dist/components/vue-ui-dumbbell.js +1 -1
  19. package/dist/components/vue-ui-flow.js +1 -1
  20. package/dist/components/vue-ui-funnel.js +1 -1
  21. package/dist/components/vue-ui-galaxy.js +1 -1
  22. package/dist/components/vue-ui-gauge.js +1 -1
  23. package/dist/components/vue-ui-gizmo.js +1 -1
  24. package/dist/components/vue-ui-heatmap.js +1 -1
  25. package/dist/components/vue-ui-history-plot.js +1 -1
  26. package/dist/components/vue-ui-horizontal-bar.js +1 -1
  27. package/dist/components/vue-ui-kpi.js +1 -1
  28. package/dist/components/vue-ui-mini-loader.js +1 -1
  29. package/dist/components/vue-ui-molecule.js +1 -1
  30. package/dist/components/vue-ui-mood-radar.js +1 -1
  31. package/dist/components/vue-ui-nested-donuts.js +1 -1
  32. package/dist/components/vue-ui-onion.js +1 -1
  33. package/dist/components/vue-ui-parallel-coordinate-plot.js +1 -1
  34. package/dist/components/vue-ui-quadrant.js +1 -1
  35. package/dist/components/vue-ui-quick-chart.js +1 -1
  36. package/dist/components/vue-ui-radar.js +1 -1
  37. package/dist/components/vue-ui-rating.js +1 -1
  38. package/dist/components/vue-ui-relation-circle.js +1 -1
  39. package/dist/components/vue-ui-ridgeline.js +1 -1
  40. package/dist/components/vue-ui-rings.js +1 -1
  41. package/dist/components/vue-ui-scatter.js +1 -1
  42. package/dist/components/vue-ui-skeleton.js +1 -1
  43. package/dist/components/vue-ui-smiley.js +1 -1
  44. package/dist/components/vue-ui-spark-trend.js +1 -1
  45. package/dist/components/vue-ui-sparkbar.js +1 -1
  46. package/dist/components/vue-ui-sparkgauge.js +1 -1
  47. package/dist/components/vue-ui-sparkhistogram.js +1 -1
  48. package/dist/components/vue-ui-sparkline.js +1 -1
  49. package/dist/components/vue-ui-sparkstackbar.js +1 -1
  50. package/dist/components/vue-ui-stackbar.js +1 -1
  51. package/dist/components/vue-ui-strip-plot.js +1 -1
  52. package/dist/components/vue-ui-table-heatmap.js +1 -1
  53. package/dist/components/vue-ui-table-sparkline.js +1 -1
  54. package/dist/components/vue-ui-table.js +1 -1
  55. package/dist/components/vue-ui-thermometer.js +1 -1
  56. package/dist/components/vue-ui-timer.js +1 -1
  57. package/dist/components/vue-ui-tiremarks.js +1 -1
  58. package/dist/components/vue-ui-treemap.js +1 -1
  59. package/dist/components/vue-ui-vertical-bar.js +1 -1
  60. package/dist/components/vue-ui-waffle.js +1 -1
  61. package/dist/components/vue-ui-wheel.js +1 -1
  62. package/dist/components/vue-ui-word-cloud.js +1 -1
  63. package/dist/components/vue-ui-world.js +1 -1
  64. package/dist/components/vue-ui-xy-canvas.js +1 -1
  65. package/dist/components/vue-ui-xy.js +1 -1
  66. package/dist/style.css +1 -1
  67. package/dist/types/vue-data-ui.d.ts +11 -0
  68. package/dist/{useNestedProp-DF7e2h1z.js → useNestedProp-7BbqoAYu.js} +32 -20
  69. package/dist/{vue-data-ui-BQ0WHd6H.js → vue-data-ui-DyqIdFbp.js} +63 -63
  70. package/dist/vue-data-ui.js +64 -64
  71. package/dist/{vue-ui-3d-bar-BNRehnyF.js → vue-ui-3d-bar-BrlJjJDI.js} +3 -3
  72. package/dist/{vue-ui-accordion-D-L73-T2.js → vue-ui-accordion-BSrtaPYx.js} +1 -1
  73. package/dist/{vue-ui-age-pyramid-TVT4PaCQ.js → vue-ui-age-pyramid-BDIMacvP.js} +3 -3
  74. package/dist/{vue-ui-annotator-SoAGIAm-.js → vue-ui-annotator-DGVlVhhy.js} +1 -1
  75. package/dist/{vue-ui-bullet-BQ47U1fM.js → vue-ui-bullet-CIJw4kXd.js} +3 -3
  76. package/dist/{vue-ui-candlestick-DxqNj65Y.js → vue-ui-candlestick-ZjLiyYpC.js} +4 -4
  77. package/dist/{vue-ui-carousel-table-DCenp2Yb.js → vue-ui-carousel-table-_-qalKHa.js} +2 -2
  78. package/dist/{vue-ui-chestnut-CvaTK5g0.js → vue-ui-chestnut-XkX5ANAN.js} +2 -2
  79. package/dist/{vue-ui-chord-BtFHfEyn.js → vue-ui-chord-B1vFXFgp.js} +3 -3
  80. package/dist/{vue-ui-circle-pack-CbwDKath.js → vue-ui-circle-pack-8J10Q6-I.js} +3 -3
  81. package/dist/{vue-ui-cursor-0muOlHSh.js → vue-ui-cursor-CQp6B13J.js} +1 -1
  82. package/dist/{vue-ui-dashboard-BWXIq06l.js → vue-ui-dashboard-CTEYSHVA.js} +63 -63
  83. package/dist/{vue-ui-digits-DOUNtmB0.js → vue-ui-digits-B4aZJw8I.js} +1 -1
  84. package/dist/{vue-ui-donut-75agsMef.js → vue-ui-donut-d_XvnIQB.js} +3 -3
  85. package/dist/{vue-ui-donut-evolution-DCCu-tXT.js → vue-ui-donut-evolution-Bz7fLQru.js} +4 -4
  86. package/dist/{vue-ui-dumbbell-7FKgJlQt.js → vue-ui-dumbbell-fDl24oQq.js} +3 -3
  87. package/dist/{vue-ui-flow-CshaNTgP.js → vue-ui-flow-NYnnPoDX.js} +3 -3
  88. package/dist/{vue-ui-funnel-Xnd-FRVA.js → vue-ui-funnel-BWPIKyW8.js} +3 -3
  89. package/dist/{vue-ui-galaxy-D-MU1xl4.js → vue-ui-galaxy-LabscC7n.js} +3 -3
  90. package/dist/{vue-ui-gauge-NVrFlPvW.js → vue-ui-gauge-DXETakZJ.js} +3 -3
  91. package/dist/{vue-ui-gizmo-zIjavyoS.js → vue-ui-gizmo-DZgMzP_e.js} +2 -2
  92. package/dist/{vue-ui-heatmap-GDVWtrn6.js → vue-ui-heatmap-C6Z5wEkZ.js} +4 -4
  93. package/dist/{vue-ui-history-plot-CxvcqVQY.js → vue-ui-history-plot-CUGzhcjr.js} +3 -3
  94. package/dist/{vue-ui-kpi-D7zdt7-g.js → vue-ui-kpi-DklTxULP.js} +2 -2
  95. package/dist/{vue-ui-mini-loader-CteWqKM_.js → vue-ui-mini-loader-D22vfM5g.js} +1 -1
  96. package/dist/{vue-ui-molecule-CMn9ItPU.js → vue-ui-molecule-BAH7NOZP.js} +2 -2
  97. package/dist/{vue-ui-mood-radar-ClnWru9n.js → vue-ui-mood-radar-DWZKM2u0.js} +3 -3
  98. package/dist/{vue-ui-nested-donuts-DFljgD4E.js → vue-ui-nested-donuts-CxUSyTrT.js} +3 -3
  99. package/dist/{vue-ui-onion-ynotjz5X.js → vue-ui-onion-BfzkGOmQ.js} +3 -3
  100. package/dist/{vue-ui-parallel-coordinate-plot-BS18TbxC.js → vue-ui-parallel-coordinate-plot-Dnl2GBps.js} +3 -3
  101. package/dist/{vue-ui-quadrant-DB5bt4Dh.js → vue-ui-quadrant-C_3l8xWm.js} +3 -3
  102. package/dist/vue-ui-quick-chart-E6QujRg4.js +1892 -0
  103. package/dist/{vue-ui-radar-BfDvRRdJ.js → vue-ui-radar-C_yLoJvR.js} +3 -3
  104. package/dist/{vue-ui-rating-CjoKP6-5.js → vue-ui-rating-Df02iNbL.js} +1 -1
  105. package/dist/{vue-ui-relation-circle-B_j9qaV-.js → vue-ui-relation-circle-CBIXCwQb.js} +3 -3
  106. package/dist/{vue-ui-ridgeline-COAKNQNn.js → vue-ui-ridgeline-euhLcVI0.js} +3 -3
  107. package/dist/{vue-ui-rings-ViCuX090.js → vue-ui-rings-BGxjmMDw.js} +3 -3
  108. package/dist/{vue-ui-scatter-DjtrlQMV.js → vue-ui-scatter-CO4kXKZF.js} +3 -3
  109. package/dist/{vue-ui-skeleton-C7lk4qZ8.js → vue-ui-skeleton-DrCI1AAl.js} +2 -2
  110. package/dist/{vue-ui-smiley-YRRY-yQp.js → vue-ui-smiley-FPLXOxew.js} +1 -1
  111. package/dist/{vue-ui-spark-trend-D2rL-IrB.js → vue-ui-spark-trend-D4dDN0Sc.js} +2 -2
  112. package/dist/{vue-ui-sparkbar-BImswCmL.js → vue-ui-sparkbar-BEXrQvP0.js} +2 -2
  113. package/dist/{vue-ui-sparkgauge-CLS4sHGH.js → vue-ui-sparkgauge-Cp4-BTZu.js} +2 -2
  114. package/dist/{vue-ui-sparkhistogram-DLcoy-5J.js → vue-ui-sparkhistogram-BwmKv4YF.js} +2 -2
  115. package/dist/{vue-ui-sparkline-BlwZF98N.js → vue-ui-sparkline-BXZJ-fUn.js} +2 -2
  116. package/dist/{vue-ui-sparkstackbar-CvlfgjY3.js → vue-ui-sparkstackbar-Cie2g7gk.js} +2 -2
  117. package/dist/{vue-ui-stackbar-JbGg5vfh.js → vue-ui-stackbar-B137wy4q.js} +4 -4
  118. package/dist/{vue-ui-strip-plot-67B5-og6.js → vue-ui-strip-plot-Dd1aHpFW.js} +3 -3
  119. package/dist/{vue-ui-table-DP7udYk-.js → vue-ui-table-CduckNVX.js} +3 -3
  120. package/dist/{vue-ui-table-heatmap-iu6l-6rW.js → vue-ui-table-heatmap-DZAkUjty.js} +1 -1
  121. package/dist/{vue-ui-table-sparkline-kJAE3iUQ.js → vue-ui-table-sparkline-D6oTAFEO.js} +2 -2
  122. package/dist/{vue-ui-thermometer-C_7z6ba0.js → vue-ui-thermometer-BmK3_O7T.js} +3 -3
  123. package/dist/{vue-ui-timer-BKHZtzRY.js → vue-ui-timer-BYw6Z01O.js} +3 -3
  124. package/dist/{vue-ui-tiremarks-CCLFPY-g.js → vue-ui-tiremarks-CWiME7zn.js} +3 -3
  125. package/dist/{vue-ui-treemap-Dw1ygcf6.js → vue-ui-treemap-D8PmfJbw.js} +3 -3
  126. package/dist/{vue-ui-vertical-bar-pLRJQ6-o.js → vue-ui-vertical-bar-DRC047BC.js} +4 -4
  127. package/dist/{vue-ui-waffle-XFGV0gsS.js → vue-ui-waffle-DAaBoyx4.js} +3 -3
  128. package/dist/vue-ui-wheel-DfNXrsTY.js +587 -0
  129. package/dist/{vue-ui-word-cloud-Czs95I-E.js → vue-ui-word-cloud-ByKWZtkV.js} +3 -3
  130. package/dist/{vue-ui-world-DTgxMNzP.js → vue-ui-world-BezpUr_Q.js} +2 -2
  131. package/dist/{vue-ui-xy-Cm3dbAmQ.js → vue-ui-xy-DlcJVA22.js} +415 -415
  132. package/dist/{vue-ui-xy-canvas-Cwiu1ND7.js → vue-ui-xy-canvas-DPfxdanR.js} +5 -5
  133. package/package.json +1 -1
  134. package/dist/vue-ui-quick-chart-Coh62JYO.js +0 -1802
  135. package/dist/vue-ui-wheel-BI7-CsXF.js +0 -380
@@ -1,14 +1,14 @@
1
1
  import { defineAsyncComponent as L, useSlots as Pt, computed as h, ref as i, toRefs as Ot, watch as J, shallowRef as Je, onMounted as Ft, onBeforeUnmount as Lt, createElementBlock as v, openBlock as s, unref as c, normalizeStyle as ae, normalizeClass as Ke, createBlock as B, createCommentVNode as m, createElementVNode as k, createVNode as oe, createSlots as me, withCtx as y, renderSlot as g, normalizeProps as j, guardReactiveProps as q, Fragment as $, renderList as D, mergeProps as we, toDisplayString as M, Teleport as Bt, resolveDynamicComponent as Dt, createTextVNode as Ze, nextTick as zt } from "vue";
2
2
  import { c as Nt, t as Vt, b as Mt, p as R, o as et, f as ke, g as Rt, e as Et, a as K, d as O, X as Ut, s as Gt, i as Wt, G as jt, h as qt, x as Ht, y as Xt, Q as Yt, z as Qt, A as Jt } from "./lib-p5pfHmOX.js";
3
3
  import { t as Kt, u as Zt } from "./useResponsive-DfdjqQps.js";
4
- import { u as el, a as tt } from "./useNestedProp-DF7e2h1z.js";
4
+ import { u as el, a as tt } from "./useNestedProp-7BbqoAYu.js";
5
5
  import { u as tl, B as ll } from "./BaseScanner-BgWxam9d.js";
6
6
  import { u as al } from "./usePrinter-Yeu5jOfm.js";
7
7
  import { u as ol } from "./useUserOptionState-BIvW1Kz7.js";
8
8
  import { u as ul } from "./useChartAccessibility-9icAAmYg.js";
9
9
  import sl from "./img-CH7J0fYg.js";
10
10
  import { _ as nl } from "./Shape-BDy56-wS.js";
11
- import rl from "./Title-pI68ZJsq.js";
11
+ import rl from "./Title-BIaVNiUQ.js";
12
12
  import { t as il } from "./themes-D3cUNuKw.js";
13
13
  import vl from "./Legend-_Rv594VS.js";
14
14
  import { _ as cl } from "./_plugin-vue_export-helper-CHgC5LLL.js";
@@ -33,7 +33,7 @@ const dl = ["id"], hl = ["id"], pl = ["xmlns", "viewBox"], fl = ["id"], yl = ["s
33
33
  },
34
34
  emits: ["selectLegend"],
35
35
  setup(lt, { expose: at, emit: ot }) {
36
- const ut = L(() => import("./Tooltip-Clf2K3CF.js")), st = L(() => import("./BaseIcon-D2f9w5Z5.js")), nt = L(() => import("./DataTable-xISHA7Pu.js")), rt = L(() => import("./vue-ui-accordion-D-L73-T2.js")), it = L(() => import("./UserOptions-Bn3u4JQu.js")), vt = L(() => import("./PenAndPaper-CtDMyIvW.js")), ct = L(() => import("./PackageVersion-D242JXMq.js")), dt = L(() => import("./BaseDraggableDialog-Bf6A6G_f.js")), { vue_ui_waffle: ht } = el(), w = lt, pt = Pt(), ue = h(() => !!w.dataset && w.dataset.length), b = i(Nt()), se = i(!1), ne = i(""), E = i(null), xe = i(0), I = i(null), Ce = i(null), $e = i(null), Ie = i(null), Te = i(null), _e = i(0), Ae = i(0), Se = i(0), Pe = i(!1), H = i(null), re = i(null), e = i(ce()), { loading: Oe, FINAL_DATASET: Z, manualLoading: ie } = tl({
36
+ const ut = L(() => import("./Tooltip-Clf2K3CF.js")), st = L(() => import("./BaseIcon-D2f9w5Z5.js")), nt = L(() => import("./DataTable-xISHA7Pu.js")), rt = L(() => import("./vue-ui-accordion-BSrtaPYx.js")), it = L(() => import("./UserOptions-Bn3u4JQu.js")), vt = L(() => import("./PenAndPaper-CtDMyIvW.js")), ct = L(() => import("./PackageVersion-BB7joYAK.js")), dt = L(() => import("./BaseDraggableDialog-Bf6A6G_f.js")), { vue_ui_waffle: ht } = el(), w = lt, pt = Pt(), ue = h(() => !!w.dataset && w.dataset.length), b = i(Nt()), se = i(!1), ne = i(""), E = i(null), xe = i(0), I = i(null), Ce = i(null), $e = i(null), Ie = i(null), Te = i(null), _e = i(0), Ae = i(0), Se = i(0), Pe = i(!1), H = i(null), re = i(null), e = i(ce()), { loading: Oe, FINAL_DATASET: Z, manualLoading: ie } = tl({
37
37
  ...Ot(w),
38
38
  FINAL_CONFIG: e,
39
39
  prepareConfig: ce,
@@ -0,0 +1,587 @@
1
+ import { useCssVars as wt, computed as g, defineAsyncComponent as ve, ref as b, toRefs as bt, watch as We, shallowRef as Xe, onMounted as xt, onBeforeUnmount as Ct, createElementBlock as r, openBlock as n, unref as c, normalizeStyle as de, normalizeClass as W, createBlock as te, createCommentVNode as A, createSlots as Mt, withCtx as G, renderSlot as _, normalizeProps as ae, guardReactiveProps as le, createVNode as At, Fragment as X, renderList as H, toDisplayString as $t } from "vue";
2
+ import { c as _t, t as It, o as Rt, f as zt, i as q, n as St, X as Pt, a as Ot, q as Ne, d as Dt } from "./lib-p5pfHmOX.js";
3
+ import { t as Ft, u as Tt } from "./useResponsive-DfdjqQps.js";
4
+ import { u as Wt, a as Le } from "./useNestedProp-7BbqoAYu.js";
5
+ import { u as Xt } from "./usePrinter-Yeu5jOfm.js";
6
+ import { u as Nt } from "./useUserOptionState-BIvW1Kz7.js";
7
+ import { u as Lt } from "./useChartAccessibility-9icAAmYg.js";
8
+ import { t as Yt } from "./themes-D3cUNuKw.js";
9
+ import Bt from "./Title-BIaVNiUQ.js";
10
+ import Ut from "./img-CH7J0fYg.js";
11
+ import { u as Et, B as jt } from "./BaseScanner-BgWxam9d.js";
12
+ import { _ as Gt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
13
+ const Ht = ["id"], qt = ["xmlns", "viewBox"], Vt = ["x", "y", "width", "height"], Zt = { key: 0 }, Jt = ["x1", "y1", "x2", "y2", "stroke", "stroke-width", "stroke-linecap"], Kt = { key: 1 }, Qt = ["d", "fill", "stroke", "stroke-width"], ea = ["d", "fill", "stroke", "stroke-width"], ta = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-linecap"], aa = ["d", "fill", "stroke", "stroke-width"], la = ["d", "stroke", "stroke-width"], sa = ["cx", "cy", "r", "stroke", "stroke-width"], oa = { key: 5 }, na = ["x", "y", "height"], ua = ["x", "y", "font-size", "fill", "font-weight", "stroke", "stroke-width"], ia = {
14
+ key: 4,
15
+ class: "vue-data-ui-watermark"
16
+ }, ra = {
17
+ __name: "vue-ui-wheel",
18
+ props: {
19
+ config: {
20
+ type: Object,
21
+ default() {
22
+ return {};
23
+ }
24
+ },
25
+ dataset: {
26
+ type: Object,
27
+ default() {
28
+ return {};
29
+ }
30
+ }
31
+ },
32
+ setup(Ye, { expose: Be }) {
33
+ wt((t) => ({
34
+ f3b568d0: lt.value,
35
+ "083efa04": st.value,
36
+ "083f34de": ot.value
37
+ }));
38
+ const Ue = ve(() => import("./PenAndPaper-CtDMyIvW.js")), Ee = ve(() => import("./UserOptions-Bn3u4JQu.js")), je = ve(() => import("./PackageVersion-BB7joYAK.js")), { vue_ui_wheel: Ge } = Wt(), P = Ye, He = g(() => !!P.dataset && Object.keys(P.dataset).length), se = b(_t()), qe = b(null), ye = b(0), O = b(null), ke = b(null), fe = b(null), pe = b(null), ge = b(0), e = b(ue()), { loading: me, FINAL_DATASET: oe } = Et({
39
+ ...bt(P),
40
+ FINAL_CONFIG: e,
41
+ prepareConfig: ue,
42
+ skeletonDataset: { percentage: 50 },
43
+ skeletonConfig: It({
44
+ defaultConfig: e.value,
45
+ userConfig: {
46
+ userOptions: { show: !1 },
47
+ style: {
48
+ chart: {
49
+ backgroundColor: "#99999930",
50
+ animation: { use: !1 },
51
+ layout: {
52
+ wheel: {
53
+ ticks: {
54
+ activeColor: "#6A6A6A80",
55
+ inactiveColor: "#CACACA80"
56
+ }
57
+ },
58
+ innerCircle: {
59
+ stroke: "#CACACA80"
60
+ }
61
+ }
62
+ }
63
+ }
64
+ }
65
+ })
66
+ }), { userOptionsVisible: ne, setUserOptionsVisibility: we, keepUserOptionState: be } = Nt({ config: e.value }), { svgRef: xe } = Lt({ config: e.value.style.chart.title });
67
+ function ue() {
68
+ const t = Le({
69
+ userConfig: P.config,
70
+ defaultConfig: Ge
71
+ });
72
+ return t.theme ? {
73
+ ...Le({
74
+ userConfig: Yt.vue_ui_wheel[t.theme] || P.config,
75
+ defaultConfig: t
76
+ })
77
+ } : t;
78
+ }
79
+ We(() => P.config, (t) => {
80
+ e.value = ue(), ne.value = !e.value.userOptions.showOnChartHover, Ie(), ge.value += 1;
81
+ }, { deep: !0 });
82
+ const { isPrinting: Ce, isImaging: Me, generatePdf: Ae, generateImage: $e } = Xt({
83
+ elementId: se.value,
84
+ fileName: e.value.style.chart.title.text || "vue-ui-wheel",
85
+ options: e.value.userOptions.print
86
+ }), Ve = g(() => e.value.userOptions.show && !e.value.style.chart.title.text), u = b({
87
+ size: 360,
88
+ height: 360,
89
+ width: 360
90
+ }), B = b(e.value.style.chart.layout.percentage.fontSize), i = g(() => ({
91
+ radius: Math.min(u.value.width, u.value.height) * 0.9 / 2 * e.value.style.chart.layout.wheel.radiusRatio,
92
+ centerX: u.value.width / 2,
93
+ centerY: u.value.height / 2
94
+ }));
95
+ function _e(t, l = 1) {
96
+ return {
97
+ x: i.value.centerX + i.value.radius * Math.cos(29.85 + t * Math.PI / 180) * l,
98
+ y: i.value.centerY + i.value.radius * Math.sin(29.85 + t * Math.PI / 180) * l
99
+ };
100
+ }
101
+ const d = b(e.value.style.chart.animation.use ? 0 : oe.value.percentage || 0);
102
+ We(() => oe.value, (t) => {
103
+ e.value.style.chart.animation.use ? Oe(t.percentage) : d.value = t.percentage || 0;
104
+ }, { deep: !0 });
105
+ const I = Xe(null), N = Xe(null);
106
+ xt(() => {
107
+ Ie();
108
+ });
109
+ const Ze = g(() => !!e.value.debug);
110
+ function Ie() {
111
+ if (Rt(P.dataset) && zt({
112
+ componentName: "VueUiWheel",
113
+ type: "dataset",
114
+ debug: Ze.value
115
+ }), e.value.responsive) {
116
+ const t = Ft(() => {
117
+ const { width: l, height: a } = Tt({
118
+ chart: O.value,
119
+ title: e.value.style.chart.title.text ? ke.value : null,
120
+ source: fe.value,
121
+ noTitle: pe.value
122
+ });
123
+ requestAnimationFrame(() => {
124
+ u.value.width = l, u.value.height = a, B.value = e.value.style.chart.layout.percentage.fontSize / 360 * Math.min(l, a);
125
+ });
126
+ });
127
+ I.value && (N.value && I.value.unobserve(N.value), I.value.disconnect()), I.value = new ResizeObserver(t), N.value = O.value.parentNode, I.value.observe(N.value);
128
+ }
129
+ Oe(oe.value.percentage || 0);
130
+ }
131
+ Ct(() => {
132
+ I.value && (N.value && I.value.unobserve(N.value), I.value.disconnect());
133
+ });
134
+ function V([t, l, a], s) {
135
+ const o = Math.cos(s), h = Math.sin(s);
136
+ return [t, l * o - a * h, l * h + a * o];
137
+ }
138
+ function Z([t, l, a], s) {
139
+ const o = s / (s - a);
140
+ return [t * o, l * o, a, o];
141
+ }
142
+ function Re(t, l) {
143
+ const a = t.replace("#", ""), s = parseInt(a.substring(0, 2), 16), o = parseInt(a.substring(2, 4), 16), h = parseInt(a.substring(4, 6), 16), y = 1 - Math.min(1, Math.max(0, e.value.style.chart.layout.wheel.ticks.shadeColorRatio3d)) * l, v = Math.max(0, Math.min(255, Math.round(s * y))), p = Math.max(0, Math.min(255, Math.round(o * y))), x = Math.max(0, Math.min(255, Math.round(h * y)));
144
+ return `#${v.toString(16).padStart(2, "0")}${p.toString(16).padStart(2, "0")}${x.toString(16).padStart(2, "0")}`;
145
+ }
146
+ function Je({
147
+ cx: t,
148
+ cy: l,
149
+ radius: a,
150
+ innerRatio: s = 0.8,
151
+ count: o = 120,
152
+ startDeg: h = 0,
153
+ axDeg: m = 50,
154
+ // tilt angle (bigger = more perspective)
155
+ f: y = 520,
156
+ // focal length (smaller = stronger perspective)
157
+ baseStroke: v = 5,
158
+ activeColor: p,
159
+ inactiveColor: x,
160
+ getActive: C
161
+ }) {
162
+ const k = m * Math.PI / 180, M = a, D = a * s, $ = [];
163
+ for (let f = 0; f < o; f += 1) {
164
+ const w = (f / o * 360 + h) * Math.PI / 180, L = t + M * Math.cos(w), F = l + M * Math.sin(w), T = t + D * Math.cos(w), U = l + D * Math.sin(w), E = [L - t, F - l, 0], ee = [T - t, U - l, 0], [Te, re, j] = V(E, k), [ce, he, Y] = V(ee, k), [nt, ut, , it] = Z([Te, re, j], y), [rt, ct, , ca] = Z([ce, he, Y], y), ht = t + nt, vt = l + ut, dt = t + rt, yt = l + ct, kt = (Math.max(j, Y) - -M * Math.sin(k)) / (2 * M * Math.sin(k) || 1), ft = C ? C(f) : !0, pt = e.value.style.chart.layout.wheel.ticks.gradient.show ? q(p, f * S.value / z.value * (e.value.style.chart.layout.wheel.ticks.gradient.shiftHueIntensity / 100)) : p, gt = Re(ft ? pt : x, kt), mt = Math.max(1.25, v * it * (Math.min(u.value.width, u.value.height) / 360));
165
+ $.push({ i: f, x1: ht, y1: vt, x2: dt, y2: yt, stroke: mt, color: gt, z: Math.max(j, Y) });
166
+ }
167
+ return $.sort((f, w) => f.z - w.z), $;
168
+ }
169
+ const Ke = g(() => {
170
+ if (!e.value.layout === "3d") return null;
171
+ const t = z.value, l = e.value.style.chart.layout.wheel.ticks.gradient.show ? q(e.value.style.chart.layout.wheel.ticks.activeColor, 0) : e.value.style.chart.layout.wheel.ticks.activeColor, a = e.value.style.chart.layout.wheel.ticks.inactiveColor, s = e.value.style.chart.layout.wheel.ticks.strokeWidth;
172
+ return Je({
173
+ cx: i.value.centerX,
174
+ cy: i.value.centerY,
175
+ radius: i.value.radius,
176
+ innerRatio: e.value.style.chart.layout.wheel.ticks.sizeRatio,
177
+ count: t,
178
+ startDeg: -90,
179
+ axDeg: e.value.style.chart.layout.wheel.tiltAngle3d,
180
+ f: Math.min(u.value.width, u.value.height) * 1.45,
181
+ baseStroke: s,
182
+ activeColor: l,
183
+ inactiveColor: a,
184
+ getActive: (o) => d.value > o * S.value
185
+ });
186
+ });
187
+ function ze({ cx: t, cy: l, r: a, count: s = 180, startDeg: o = -90, axDeg: h = 50, f: m }) {
188
+ const y = h * Math.PI / 180, v = [];
189
+ let p = 0;
190
+ for (let k = 0; k < s; k += 1) {
191
+ const M = (k / s * 360 + o) * Math.PI / 180, D = [a * Math.cos(M), a * Math.sin(M), 0], [$, f, w] = V(D, y), [L, F, , T] = Z([$, f, w], m);
192
+ p += T, v.push([t + L, l + F]);
193
+ }
194
+ let x = `M ${v[0][0]} ${v[0][1]}`;
195
+ for (let k = 1; k < v.length; k += 1)
196
+ x += ` L ${v[k][0]} ${v[k][1]}`;
197
+ x += " Z";
198
+ const C = p / s;
199
+ return { d: x, avgScale: C, pts: v };
200
+ }
201
+ const R = g(() => {
202
+ if (e.value.layout !== "3d") return null;
203
+ const t = Math.min(u.value.width, u.value.height) * 1.45, l = e.value.style.chart.layout.wheel.tiltAngle3d, a = i.value.radius, { pts: s } = ze({
204
+ cx: i.value.centerX,
205
+ cy: i.value.centerY,
206
+ r: a,
207
+ startDeg: -90,
208
+ axDeg: l,
209
+ f: t
210
+ });
211
+ let o = 1 / 0, h = 1 / 0, m = -1 / 0, y = -1 / 0;
212
+ for (const [v, p] of s)
213
+ v < o && (o = v), p < h && (h = p), v > m && (m = v), p > y && (y = p);
214
+ return {
215
+ x: o,
216
+ y: h,
217
+ w: m - o,
218
+ h: y - h
219
+ };
220
+ });
221
+ function Qe(t) {
222
+ const l = Math.min(u.value.width, u.value.height) * 1.45, { d: a, avgScale: s } = ze({
223
+ cx: i.value.centerX,
224
+ cy: i.value.centerY,
225
+ r: t,
226
+ startDeg: -90,
227
+ axDeg: e.value.style.chart.layout.wheel.tiltAngle3d,
228
+ f: l
229
+ }), h = (e.value.style.chart.layout.innerCircle.strokeWidth || 1) * s;
230
+ return {
231
+ d: a,
232
+ stroke: e.value.style.chart.layout.innerCircle.stroke,
233
+ strokeWidth: h
234
+ };
235
+ }
236
+ const Se = g(() => Qe(Math.max(0, i.value.radius * 0.8 * e.value.style.chart.layout.innerCircle.radiusRatio)));
237
+ function J({ cx: t, cy: l, r: a, aRad: s, ax: o, f: h }) {
238
+ const m = [a * Math.cos(s), a * Math.sin(s), 0], [y, v, p] = V(m, o), [x, C, , k] = Z([y, v, p], h);
239
+ return { x: t + x, y: l + C, z: p, s: k };
240
+ }
241
+ function et({
242
+ cx: t,
243
+ cy: l,
244
+ radius: a,
245
+ innerRatio: s = 0.8,
246
+ count: o = 120,
247
+ startDeg: h = -87,
248
+ axDeg: m = 45,
249
+ f: y = 600,
250
+ activeColor: v,
251
+ inactiveColor: p,
252
+ getActive: x
253
+ }) {
254
+ const C = m * Math.PI / 180, k = a, M = a * s, D = 2 * Math.PI / o, $ = [];
255
+ for (let f = 0; f < o; f += 1) {
256
+ const w = h * Math.PI / 180 + D * f, L = w + D * Math.min(1, e.value.style.chart.layout.wheel.ticks.spacingRatio3d), F = J({ cx: t, cy: l, r: k, aRad: w, ax: C, f: y }), T = J({ cx: t, cy: l, r: k, aRad: L, ax: C, f: y }), U = J({ cx: t, cy: l, r: M, aRad: L, ax: C, f: y }), E = J({ cx: t, cy: l, r: M, aRad: w, ax: C, f: y }), ee = (F.z + T.z + E.z + U.z) / 4, re = (x ? x(f) : !0) ? e.value.style.chart.layout.wheel.ticks.gradient.show ? q(
257
+ e.value.style.chart.layout.wheel.ticks.activeColor,
258
+ f * (100 / o) / 100 * (e.value.style.chart.layout.wheel.ticks.gradient.shiftHueIntensity / 100)
259
+ ) : v : p, j = (() => {
260
+ const Y = k * Math.sin(C) || 1;
261
+ return (ee - -Y) / (2 * Y);
262
+ })(), ce = Re(re, j), he = `M ${F.x} ${F.y} L ${T.x} ${T.y} L ${U.x} ${U.y} L ${E.x} ${E.y} Z`;
263
+ $.push({ i: f, d: he, fill: ce, z: ee });
264
+ }
265
+ return $.sort((f, w) => f.z - w.z), $;
266
+ }
267
+ const Pe = g(() => {
268
+ if (e.value.layout !== "3d") return null;
269
+ const t = z.value;
270
+ return et({
271
+ cx: i.value.centerX,
272
+ cy: i.value.centerY,
273
+ radius: i.value.radius,
274
+ innerRatio: e.value.style.chart.layout.wheel.ticks.sizeRatio,
275
+ count: t,
276
+ startDeg: -90,
277
+ axDeg: e.value.style.chart.layout.wheel.tiltAngle3d,
278
+ f: Math.min(u.value.width, u.value.height) * 1.45,
279
+ activeColor: e.value.style.chart.layout.wheel.ticks.activeColor,
280
+ inactiveColor: e.value.style.chart.layout.wheel.ticks.inactiveColor,
281
+ getActive: (l) => d.value > l * (100 / t)
282
+ });
283
+ });
284
+ function Oe(t) {
285
+ let l = e.value.style.chart.animation.speed;
286
+ const a = Math.abs(t - d.value) / (l * 120);
287
+ function s() {
288
+ d.value < t ? d.value = Math.min(d.value + a, t) : d.value > t && (d.value = Math.max(d.value - a, t)), d.value !== t && requestAnimationFrame(s);
289
+ }
290
+ s();
291
+ }
292
+ const z = g(() => (e.value.debug && e.value.style.chart.layout.wheel.ticks.quantity < 12 && console.warn("VueUiWheel - The minimal number of ticks is 12"), Math.max(12, e.value.style.chart.layout.wheel.ticks.quantity))), S = g(() => 100 / z.value), De = g(() => {
293
+ const t = [];
294
+ for (let l = 0; l < z.value; l += 1) {
295
+ const a = d.value > l * S.value ? e.value.style.chart.layout.wheel.ticks.activeColor : e.value.style.chart.layout.wheel.ticks.inactiveColor, { x: s, y: o } = _e(u.value.size / z.value * l), { x: h, y: m } = _e(u.value.size / z.value * l, e.value.style.chart.layout.wheel.ticks.sizeRatio);
296
+ t.push({
297
+ x1: s,
298
+ y1: o,
299
+ x2: h,
300
+ y2: m,
301
+ color: e.value.style.chart.layout.wheel.ticks.gradient.show ? q(a, l * S.value / z.value * (e.value.style.chart.layout.wheel.ticks.gradient.shiftHueIntensity / 100)) : a
302
+ });
303
+ }
304
+ return t;
305
+ }), tt = g(() => St({ series: De.value.map((t) => ({
306
+ name: "",
307
+ value: 1,
308
+ color: t.color
309
+ })) }, i.value.centerX, i.value.centerY, i.value.radius, i.value.radius, 1.99999, 2, 1, 360, 105.25, i.value.radius * (1 - e.value.style.chart.layout.wheel.ticks.sizeRatio))), K = b(!1);
310
+ function Fe(t) {
311
+ K.value = t, ye.value += 1;
312
+ }
313
+ const Q = b(!1);
314
+ function ie() {
315
+ Q.value = !Q.value;
316
+ }
317
+ async function at({ scale: t = 2 } = {}) {
318
+ if (!O.value) return;
319
+ const { width: l, height: a } = O.value.getBoundingClientRect(), s = l / a, { imageUri: o, base64: h } = await Ut({ domElement: O.value, base64: !0, img: !0, scale: t });
320
+ return {
321
+ imageUri: o,
322
+ base64: h,
323
+ title: e.value.style.chart.title.text,
324
+ width: l,
325
+ height: a,
326
+ aspectRatio: s
327
+ };
328
+ }
329
+ const lt = g(() => e.value.style.chart.layout.wheel.ticks.strokeWidth * 2), st = g(() => e.value.style.chart.layout.wheel.ticks.strokeWidth * 2 * 0.75), ot = g(() => e.value.style.chart.layout.wheel.ticks.strokeWidth);
330
+ return Be({
331
+ getImage: at,
332
+ generatePdf: Ae,
333
+ generateImage: $e,
334
+ toggleAnnotator: ie,
335
+ toggleFullscreen: Fe
336
+ }), (t, l) => (n(), r("div", {
337
+ class: W(["vue-ui-wheel", { "vue-ui-wheel-3d-wrap": e.value.layout === "3d" }]),
338
+ ref_key: "wheelChart",
339
+ ref: O,
340
+ id: se.value,
341
+ style: de(`font-family:${e.value.style.fontFamily};width:100%; text-align:center;background:${e.value.style.chart.backgroundColor};${e.value.responsive ? "height:100%" : ""}`),
342
+ onMouseenter: l[0] || (l[0] = () => c(we)(!0)),
343
+ onMouseleave: l[1] || (l[1] = () => c(we)(!1))
344
+ }, [
345
+ e.value.userOptions.buttons.annotator ? (n(), te(c(Ue), {
346
+ key: 0,
347
+ svgRef: c(xe),
348
+ backgroundColor: e.value.style.chart.backgroundColor,
349
+ color: e.value.style.chart.color,
350
+ active: Q.value,
351
+ onClose: ie
352
+ }, null, 8, ["svgRef", "backgroundColor", "color", "active"])) : A("", !0),
353
+ Ve.value ? (n(), r("div", {
354
+ key: 1,
355
+ ref_key: "noTitle",
356
+ ref: pe,
357
+ class: "vue-data-ui-no-title-space",
358
+ style: "height:36px; width: 100%;background:transparent"
359
+ }, null, 512)) : A("", !0),
360
+ e.value.style.chart.title.text ? (n(), r("div", {
361
+ key: 2,
362
+ ref_key: "chartTitle",
363
+ ref: ke,
364
+ style: "width:100%;background:transparent;padding-bottom:12px"
365
+ }, [
366
+ (n(), te(Bt, {
367
+ key: `title_${ge.value}`,
368
+ config: {
369
+ title: {
370
+ cy: "wheel-title",
371
+ ...e.value.style.chart.title
372
+ },
373
+ subtitle: {
374
+ cy: "wheel-subtitle",
375
+ ...e.value.style.chart.title.subtitle
376
+ }
377
+ }
378
+ }, null, 8, ["config"]))
379
+ ], 512)) : A("", !0),
380
+ e.value.userOptions.show && He.value && (c(be) || c(ne)) ? (n(), te(c(Ee), {
381
+ ref_key: "details",
382
+ ref: qe,
383
+ key: `user_options_${ye.value}`,
384
+ backgroundColor: e.value.style.chart.backgroundColor,
385
+ color: e.value.style.chart.color,
386
+ isPrinting: c(Ce),
387
+ isImaging: c(Me),
388
+ uid: se.value,
389
+ hasPdf: e.value.userOptions.buttons.pdf,
390
+ hasImg: e.value.userOptions.buttons.img,
391
+ hasFullscreen: e.value.userOptions.buttons.fullscreen,
392
+ hasXls: !1,
393
+ isFullscreen: K.value,
394
+ position: e.value.userOptions.position,
395
+ titles: { ...e.value.userOptions.buttonTitles },
396
+ hasAnnotator: e.value.userOptions.buttons.annotator,
397
+ isAnnotation: Q.value,
398
+ chartElement: O.value,
399
+ callbacks: e.value.userOptions.callbacks,
400
+ printScale: e.value.userOptions.print.scale,
401
+ onToggleFullscreen: Fe,
402
+ onGeneratePdf: c(Ae),
403
+ onGenerateImage: c($e),
404
+ onToggleAnnotator: ie,
405
+ style: de({
406
+ visibility: c(be) ? c(ne) ? "visible" : "hidden" : "visible"
407
+ })
408
+ }, Mt({ _: 2 }, [
409
+ t.$slots.menuIcon ? {
410
+ name: "menuIcon",
411
+ fn: G(({ isOpen: a, color: s }) => [
412
+ _(t.$slots, "menuIcon", ae(le({ isOpen: a, color: s })), void 0, !0)
413
+ ]),
414
+ key: "0"
415
+ } : void 0,
416
+ t.$slots.optionPdf ? {
417
+ name: "optionPdf",
418
+ fn: G(() => [
419
+ _(t.$slots, "optionPdf", {}, void 0, !0)
420
+ ]),
421
+ key: "1"
422
+ } : void 0,
423
+ t.$slots.optionImg ? {
424
+ name: "optionImg",
425
+ fn: G(() => [
426
+ _(t.$slots, "optionImg", {}, void 0, !0)
427
+ ]),
428
+ key: "2"
429
+ } : void 0,
430
+ t.$slots.optionFullscreen ? {
431
+ name: "optionFullscreen",
432
+ fn: G(({ toggleFullscreen: a, isFullscreen: s }) => [
433
+ _(t.$slots, "optionFullscreen", ae(le({ toggleFullscreen: a, isFullscreen: s })), void 0, !0)
434
+ ]),
435
+ key: "3"
436
+ } : void 0,
437
+ t.$slots.optionAnnotator ? {
438
+ name: "optionAnnotator",
439
+ fn: G(({ toggleAnnotator: a, isAnnotator: s }) => [
440
+ _(t.$slots, "optionAnnotator", ae(le({ toggleAnnotator: a, isAnnotator: s })), void 0, !0)
441
+ ]),
442
+ key: "4"
443
+ } : void 0
444
+ ]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasPdf", "hasImg", "hasFullscreen", "isFullscreen", "position", "titles", "hasAnnotator", "isAnnotation", "chartElement", "callbacks", "printScale", "onGeneratePdf", "onGenerateImage", "style"])) : A("", !0),
445
+ (n(), r("svg", {
446
+ ref_key: "svgRef",
447
+ ref: xe,
448
+ xmlns: c(Pt),
449
+ class: W({ "vue-data-ui-fullscreen--on": K.value, "vue-data-ui-fulscreen--off": !K.value, "vue-ui-wheel-3d-svg": e.value.layout === "3d" }),
450
+ viewBox: e.value.layout === "3d" && !e.value.responsive ? `${R.value?.x - 10} ${R.value?.y ?? 0} ${R.value?.w + 20} ${R.value?.h ?? Math.max(10, u.value.height)}` : `0 0 ${Math.max(10, u.value.width)} ${Math.max(10, u.value.height)}`,
451
+ style: de(`max-width:100%;overflow:visible;background:transparent;color:${e.value.style.chart.color}`)
452
+ }, [
453
+ At(c(je)),
454
+ t.$slots["chart-background"] ? (n(), r("foreignObject", {
455
+ key: 0,
456
+ x: e.value.layout === "3d" && !e.value.responsive ? R.value?.x - 10 : 0,
457
+ y: e.value.layout === "3d" && !e.value.responsive ? R.value?.y ?? 0 : 0,
458
+ width: e.value.layout === "3d" && !e.value.responsive ? R.value?.w + 20 : Math.max(10, u.value.width),
459
+ height: e.value.layout === "3d" && !e.value.responsive ? R.value?.h ?? Math.max(10, u.value.height) : Math.max(10, u.value.height),
460
+ style: {
461
+ pointerEvents: "none"
462
+ }
463
+ }, [
464
+ _(t.$slots, "chart-background", {}, void 0, !0)
465
+ ], 8, Vt)) : A("", !0),
466
+ e.value.layout === "3d" ? (n(), r(X, { key: 1 }, [
467
+ e.value.style.chart.layout.wheel.ticks.type === "classic" ? (n(), r("g", Zt, [
468
+ (n(!0), r(X, null, H(Ke.value || [], (a) => (n(), r("line", {
469
+ key: a.i,
470
+ x1: a.x1,
471
+ y1: a.y1,
472
+ x2: a.x2,
473
+ y2: a.y2,
474
+ stroke: a.color,
475
+ "stroke-width": e.value.style.chart.layout.wheel.ticks.strokeWidth / 360 * Math.min(u.value.width, u.value.height),
476
+ "stroke-linecap": e.value.style.chart.layout.wheel.ticks.rounded ? "round" : "butt",
477
+ class: W({ "vue-ui-wheel-tick": !0, "vue-ui-tick-animated": e.value.style.chart.animation.use && a.i * S.value <= d.value })
478
+ }, null, 10, Jt))), 128))
479
+ ])) : (n(), r("g", Kt, [
480
+ (n(!0), r(X, null, H(Pe.value || [], (a) => (n(), r("path", {
481
+ key: a.i,
482
+ d: a.d,
483
+ fill: e.value.style.chart.layout.wheel.ticks.inactiveColor,
484
+ stroke: e.value.style.chart.layout.wheel.ticks.stroke,
485
+ "stroke-width": e.value.style.chart.layout.wheel.ticks.strokeWidth,
486
+ "stroke-linecap": "round",
487
+ "stroke-linejoin": "round",
488
+ class: "vue-ui-wheel-tick"
489
+ }, null, 8, Qt))), 128)),
490
+ (n(!0), r(X, null, H(Pe.value || [], (a) => (n(), r("path", {
491
+ key: a.i,
492
+ d: a.d,
493
+ fill: a.fill,
494
+ stroke: e.value.style.chart.layout.wheel.ticks.stroke,
495
+ "stroke-width": e.value.style.chart.layout.wheel.ticks.strokeWidth,
496
+ "stroke-linecap": "round",
497
+ "stroke-linejoin": "round",
498
+ class: W({ "vue-ui-wheel-tick": !0, "vue-ui-tick-animated-3d": e.value.style.chart.animation.use && a.i * S.value <= d.value })
499
+ }, null, 10, ea))), 128))
500
+ ]))
501
+ ], 64)) : (n(), r(X, { key: 2 }, [
502
+ e.value.style.chart.layout.wheel.ticks.type === "classic" ? (n(!0), r(X, { key: 0 }, H(De.value, (a, s) => (n(), r("line", {
503
+ x1: a.x1,
504
+ x2: a.x2,
505
+ y1: a.y1,
506
+ y2: a.y2,
507
+ stroke: a.color,
508
+ "stroke-width": e.value.style.chart.layout.wheel.ticks.strokeWidth / 360 * Math.min(u.value.width, u.value.height),
509
+ "stroke-linecap": e.value.style.chart.layout.wheel.ticks.rounded ? "round" : "butt",
510
+ class: W({ "vue-ui-wheel-tick": !0, "vue-ui-tick-animated": e.value.style.chart.animation.use && s * S.value <= d.value })
511
+ }, null, 10, ta))), 256)) : (n(!0), r(X, { key: 1 }, H(tt.value, (a, s) => (n(), r("path", {
512
+ d: a.arcSlice,
513
+ fill: a.color,
514
+ class: W({ "vue-ui-wheel-tick": !0, "vue-ui-tick-animated": e.value.style.chart.animation.use && s * S.value <= d.value }),
515
+ stroke: e.value.style.chart.layout.wheel.ticks.stroke,
516
+ "stroke-width": e.value.style.chart.layout.wheel.ticks.strokeWidth
517
+ }, null, 10, aa))), 256))
518
+ ], 64)),
519
+ e.value.layout === "3d" && Se.value ? (n(), r("path", {
520
+ key: 3,
521
+ class: "vue-ui-wheel-inner-circle",
522
+ d: Se.value.d,
523
+ stroke: e.value.style.chart.layout.innerCircle.stroke,
524
+ "stroke-width": e.value.style.chart.layout.innerCircle.strokeWidth,
525
+ fill: "none"
526
+ }, null, 8, la)) : e.value.style.chart.layout.innerCircle.show ? (n(), r("circle", {
527
+ key: 4,
528
+ class: "vue-ui-wheel-inner-circle",
529
+ cx: i.value.centerX,
530
+ cy: i.value.centerY,
531
+ r: Math.max(0, i.value.radius * e.value.style.chart.layout.innerCircle.radiusRatio * 0.8),
532
+ stroke: e.value.style.chart.layout.innerCircle.stroke,
533
+ "stroke-width": e.value.style.chart.layout.innerCircle.strokeWidth,
534
+ fill: "none"
535
+ }, null, 8, sa)) : A("", !0),
536
+ e.value.style.chart.layout.percentage.show ? (n(), r("g", oa, [
537
+ c(me) ? (n(), r("rect", {
538
+ key: 0,
539
+ x: i.value.centerX - 40,
540
+ y: i.value.centerY - B.value / 2,
541
+ width: 80,
542
+ height: B.value,
543
+ fill: "#6A6A6A80",
544
+ rx: "3"
545
+ }, null, 8, na)) : (n(), r("text", {
546
+ key: 1,
547
+ x: i.value.centerX + e.value.style.chart.layout.percentage.offsetX,
548
+ y: i.value.centerY + B.value / 3 + e.value.style.chart.layout.percentage.offsetY,
549
+ "font-size": B.value,
550
+ fill: e.value.style.chart.layout.wheel.ticks.gradient.show ? c(q)(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,
551
+ "text-anchor": "middle",
552
+ "font-weight": e.value.style.chart.layout.percentage.bold ? "bold" : "normal",
553
+ style: { "font-variant-numeric": "tabluar-nums" },
554
+ stroke: e.value.style.chart.layout.percentage.stroke,
555
+ "stroke-width": e.value.style.chart.layout.percentage.strokeWidth,
556
+ "paint-order": "stroke fill",
557
+ class: W({ "vue-ui-wheel-label": e.value.layout === "3d" })
558
+ }, $t(c(Ot)(
559
+ e.value.style.chart.layout.percentage.formatter,
560
+ c(Ne)(d.value),
561
+ c(Dt)({
562
+ v: c(Ne)(d.value),
563
+ s: "%",
564
+ r: e.value.style.chart.layout.percentage.rounding
565
+ })
566
+ )), 11, ua))
567
+ ])) : A("", !0),
568
+ _(t.$slots, "svg", { svg: u.value }, void 0, !0)
569
+ ], 14, qt)),
570
+ t.$slots.watermark ? (n(), r("div", ia, [
571
+ _(t.$slots, "watermark", ae(le({ isPrinting: c(Ce) || c(Me) })), void 0, !0)
572
+ ])) : A("", !0),
573
+ t.$slots.source ? (n(), r("div", {
574
+ key: 5,
575
+ ref_key: "source",
576
+ ref: fe,
577
+ dir: "auto"
578
+ }, [
579
+ _(t.$slots, "source", {}, void 0, !0)
580
+ ], 512)) : A("", !0),
581
+ c(me) ? (n(), te(jt, { key: 6 })) : A("", !0)
582
+ ], 46, Ht));
583
+ }
584
+ }, Ma = /* @__PURE__ */ Gt(ra, [["__scopeId", "data-v-58a3fb91"]]);
585
+ export {
586
+ Ma as default
587
+ };
@@ -1,13 +1,13 @@
1
1
  import { useCssVars as it, defineAsyncComponent as j, computed as ae, ref as m, toRefs as ut, watch as oe, shallowRef as We, onMounted as rt, onBeforeUnmount as ct, createElementBlock as _, openBlock as k, unref as u, normalizeStyle as ye, createBlock as le, createCommentVNode as W, createVNode as we, createSlots as Xe, withCtx as S, renderSlot as F, normalizeProps as ne, guardReactiveProps as se, normalizeClass as Ee, createElementVNode as ke, Fragment as vt, renderList as dt, toDisplayString as Me, resolveDynamicComponent as mt, mergeProps as ht, createTextVNode as Ue, nextTick as Le } from "vue";
2
2
  import { d as ft, t as pt, u as gt } from "./useResponsive-DfdjqQps.js";
3
3
  import { c as Ye, t as bt, aj as yt, q as wt, b as kt, p as Ce, o as je, f as qe, g as Ct, d as xt, X as $t, x as Tt, y as St, z as Ft } from "./lib-p5pfHmOX.js";
4
- import { u as Mt, a as Ge } from "./useNestedProp-DF7e2h1z.js";
4
+ import { u as Mt, a as Ge } from "./useNestedProp-7BbqoAYu.js";
5
5
  import { u as Pt, B as At } from "./BaseScanner-BgWxam9d.js";
6
6
  import { u as Ot } from "./usePrinter-Yeu5jOfm.js";
7
7
  import { u as It } from "./useUserOptionState-BIvW1Kz7.js";
8
8
  import { u as zt } from "./useChartAccessibility-9icAAmYg.js";
9
9
  import Dt from "./img-CH7J0fYg.js";
10
- import Nt from "./Title-pI68ZJsq.js";
10
+ import Nt from "./Title-BIaVNiUQ.js";
11
11
  import { t as _t } from "./themes-D3cUNuKw.js";
12
12
  import { u as Bt } from "./usePanZoom-BVca3eMk.js";
13
13
  import { _ as Rt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
@@ -151,7 +151,7 @@ const Et = ["id"], Ut = ["xmlns", "viewBox"], Lt = ["width", "height"], Yt = ["t
151
151
  it((t) => ({
152
152
  "20b7b35f": t.slicerColor
153
153
  }));
154
- const v = j(() => import("./Tooltip-Clf2K3CF.js")), h = j(() => import("./BaseIcon-D2f9w5Z5.js")), d = j(() => import("./vue-ui-accordion-D-L73-T2.js")), f = j(() => import("./DataTable-xISHA7Pu.js")), l = j(() => import("./PenAndPaper-CtDMyIvW.js")), o = j(() => import("./UserOptions-Bn3u4JQu.js")), s = j(() => import("./PackageVersion-D242JXMq.js")), x = j(() => import("./BaseDraggableDialog-Bf6A6G_f.js")), { vue_ui_word_cloud: M } = Mt(), r = C, y = ae({
154
+ const v = j(() => import("./Tooltip-Clf2K3CF.js")), h = j(() => import("./BaseIcon-D2f9w5Z5.js")), d = j(() => import("./vue-ui-accordion-BSrtaPYx.js")), f = j(() => import("./DataTable-xISHA7Pu.js")), l = j(() => import("./PenAndPaper-CtDMyIvW.js")), o = j(() => import("./UserOptions-Bn3u4JQu.js")), s = j(() => import("./PackageVersion-BB7joYAK.js")), x = j(() => import("./BaseDraggableDialog-Bf6A6G_f.js")), { vue_ui_word_cloud: M } = Mt(), r = C, y = ae({
155
155
  get() {
156
156
  return !!r.dataset && r.dataset.length;
157
157
  },
@@ -1,5 +1,5 @@
1
1
  import { defineAsyncComponent as D, computed as x, ref as F, onMounted as Q2, toRefs as J2, watch as _1, createElementBlock as T, openBlock as M, unref as f, normalizeStyle as C1, normalizeClass as y2, createBlock as X, createCommentVNode as S, renderSlot as L, createElementVNode as w, createVNode as k1, createSlots as E1, withCtx as $, normalizeProps as u1, guardReactiveProps as p1, withModifiers as e4, Fragment as h1, renderList as c2, mergeProps as m2, createTextVNode as w1, toDisplayString as v1, Teleport as t4, resolveDynamicComponent as o4, nextTick as a4 } from "vue";
2
- import { u as n4, a as r4 } from "./useNestedProp-DF7e2h1z.js";
2
+ import { u as n4, a as r4 } from "./useNestedProp-7BbqoAYu.js";
3
3
  import { c as d2, t as i4, e as s4, h as T1, p as f1, X as l4, m as u4, r as g2, a as h2, d as v2, D as S1, a2 as p4, x as y4, y as c4, z as m4 } from "./lib-p5pfHmOX.js";
4
4
  import { u as d4, B as g4 } from "./BaseScanner-BgWxam9d.js";
5
5
  import { u as h4 } from "./usePrinter-Yeu5jOfm.js";
@@ -179,7 +179,7 @@ const T4 = {
179
179
  },
180
180
  emits: ["selectDatapoint", "selectLegend"],
181
181
  setup(y, { expose: i, emit: s }) {
182
- const l = D(() => import("./Title-pI68ZJsq.js")), g = D(() => import("./Legend-_Rv594VS.js")), r = D(() => import("./Tooltip-Clf2K3CF.js")), P = D(() => import("./BaseIcon-D2f9w5Z5.js")), m = D(() => import("./vue-ui-accordion-D-L73-T2.js")), n = D(() => import("./DataTable-xISHA7Pu.js")), d = D(() => import("./PenAndPaper-CtDMyIvW.js")), p = D(() => import("./UserOptions-Bn3u4JQu.js")), v = D(() => import("./PackageVersion-D242JXMq.js")), c = D(() => import("./BaseDraggableDialog-Bf6A6G_f.js")), { vue_ui_world: _ } = n4(), h = y, A = s, C = x({
182
+ const l = D(() => import("./Title-BIaVNiUQ.js")), g = D(() => import("./Legend-_Rv594VS.js")), r = D(() => import("./Tooltip-Clf2K3CF.js")), P = D(() => import("./BaseIcon-D2f9w5Z5.js")), m = D(() => import("./vue-ui-accordion-BSrtaPYx.js")), n = D(() => import("./DataTable-xISHA7Pu.js")), d = D(() => import("./PenAndPaper-CtDMyIvW.js")), p = D(() => import("./UserOptions-Bn3u4JQu.js")), v = D(() => import("./PackageVersion-BB7joYAK.js")), c = D(() => import("./BaseDraggableDialog-Bf6A6G_f.js")), { vue_ui_world: _ } = n4(), h = y, A = s, C = x({
183
183
  get() {
184
184
  return !!m1.value;
185
185
  },