vue-data-ui 3.2.1 → 3.2.3

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 (158) hide show
  1. package/dist/{Arrow-cyyFTTnm.js → Arrow-Bb0bGghy.js} +1 -1
  2. package/dist/{BaseDraggableDialog-Bf6A6G_f.js → BaseDraggableDialog-CHhZIht2.js} +2 -2
  3. package/dist/{BaseIcon-D2f9w5Z5.js → BaseIcon-Bz-1GQhu.js} +10 -3
  4. package/dist/ColorPicker-B-WUqMoV.js +238 -0
  5. package/dist/{DataTable-xISHA7Pu.js → DataTable-BvjacRbw.js} +10 -10
  6. package/dist/{Legend-_Rv594VS.js → Legend-BpoFJ8fc.js} +2 -2
  7. package/dist/{NonSvgPenAndPaper-DiM4-9ju.js → NonSvgPenAndPaper-l9giyY1Z.js} +3 -3
  8. package/dist/{PackageVersion-BB7joYAK.js → PackageVersion-oBQ8brnx.js} +1 -1
  9. package/dist/{PenAndPaper-CtDMyIvW.js → PenAndPaper-CR8q353D.js} +3 -3
  10. package/dist/{Shape-BDy56-wS.js → Shape-C_C_OmqR.js} +1 -1
  11. package/dist/{Slicer-qM5l8BsU.js → Slicer-BA2GhOmY.js} +68 -68
  12. package/dist/{SparkTooltip-DOFGBHJ-.js → SparkTooltip-Dz1PDE_h.js} +1 -1
  13. package/dist/{Title-BIaVNiUQ.js → Title-C__lOIPC.js} +1 -1
  14. package/dist/{Tooltip-Clf2K3CF.js → Tooltip-BOXz8skU.js} +1 -1
  15. package/dist/{UserOptions-Bn3u4JQu.js → UserOptions-DsTgvAok.js} +2 -2
  16. package/dist/components/arrow.js +1 -1
  17. package/dist/components/vue-ui-3d-bar.js +1 -1
  18. package/dist/components/vue-ui-accordion.js +1 -1
  19. package/dist/components/vue-ui-age-pyramid.js +1 -1
  20. package/dist/components/vue-ui-annotator.js +5 -0
  21. package/dist/components/vue-ui-bullet.js +1 -1
  22. package/dist/components/vue-ui-candlestick.js +1 -1
  23. package/dist/components/vue-ui-carousel-table.js +1 -1
  24. package/dist/components/vue-ui-chestnut.js +1 -1
  25. package/dist/components/vue-ui-chord.js +1 -1
  26. package/dist/components/vue-ui-circle-pack.js +1 -1
  27. package/dist/components/vue-ui-cursor.js +1 -1
  28. package/dist/components/vue-ui-dashboard.js +1 -1
  29. package/dist/components/vue-ui-digits.js +1 -1
  30. package/dist/components/vue-ui-donut-evolution.js +1 -1
  31. package/dist/components/vue-ui-donut.js +1 -1
  32. package/dist/components/vue-ui-dumbbell.js +1 -1
  33. package/dist/components/vue-ui-flow.js +1 -1
  34. package/dist/components/vue-ui-funnel.js +1 -1
  35. package/dist/components/vue-ui-galaxy.js +1 -1
  36. package/dist/components/vue-ui-gauge.js +1 -1
  37. package/dist/components/vue-ui-gizmo.js +1 -1
  38. package/dist/components/vue-ui-heatmap.js +1 -1
  39. package/dist/components/vue-ui-history-plot.js +1 -1
  40. package/dist/components/vue-ui-horizontal-bar.js +1 -1
  41. package/dist/components/vue-ui-icon.js +1 -1
  42. package/dist/components/vue-ui-kpi.js +1 -1
  43. package/dist/components/vue-ui-mini-loader.js +1 -1
  44. package/dist/components/vue-ui-molecule.js +1 -1
  45. package/dist/components/vue-ui-mood-radar.js +1 -1
  46. package/dist/components/vue-ui-nested-donuts.js +1 -1
  47. package/dist/components/vue-ui-onion.js +1 -1
  48. package/dist/components/vue-ui-parallel-coordinate-plot.js +1 -1
  49. package/dist/components/vue-ui-quadrant.js +1 -1
  50. package/dist/components/vue-ui-quick-chart.js +1 -1
  51. package/dist/components/vue-ui-radar.js +1 -1
  52. package/dist/components/vue-ui-rating.js +1 -1
  53. package/dist/components/vue-ui-relation-circle.js +1 -1
  54. package/dist/components/vue-ui-ridgeline.js +1 -1
  55. package/dist/components/vue-ui-rings.js +1 -1
  56. package/dist/components/vue-ui-scatter.js +1 -1
  57. package/dist/components/vue-ui-skeleton.js +1 -1
  58. package/dist/components/vue-ui-smiley.js +1 -1
  59. package/dist/components/vue-ui-spark-trend.js +1 -1
  60. package/dist/components/vue-ui-sparkbar.js +1 -1
  61. package/dist/components/vue-ui-sparkgauge.js +1 -1
  62. package/dist/components/vue-ui-sparkhistogram.js +1 -1
  63. package/dist/components/vue-ui-sparkline.js +1 -1
  64. package/dist/components/vue-ui-sparkstackbar.js +1 -1
  65. package/dist/components/vue-ui-stackbar.js +1 -1
  66. package/dist/components/vue-ui-strip-plot.js +1 -1
  67. package/dist/components/vue-ui-table-heatmap.js +1 -1
  68. package/dist/components/vue-ui-table-sparkline.js +1 -1
  69. package/dist/components/vue-ui-table.js +1 -1
  70. package/dist/components/vue-ui-thermometer.js +1 -1
  71. package/dist/components/vue-ui-timer.js +1 -1
  72. package/dist/components/vue-ui-tiremarks.js +1 -1
  73. package/dist/components/vue-ui-treemap.js +1 -1
  74. package/dist/components/vue-ui-vertical-bar.js +1 -1
  75. package/dist/components/vue-ui-waffle.js +1 -1
  76. package/dist/components/vue-ui-wheel.js +1 -1
  77. package/dist/components/vue-ui-word-cloud.js +1 -1
  78. package/dist/components/vue-ui-world.js +1 -1
  79. package/dist/components/vue-ui-xy-canvas.js +1 -1
  80. package/dist/components/vue-ui-xy.js +1 -1
  81. package/dist/{dom-to-png-CSg_eTqL.js → dom-to-png-BgvOdfyW.js} +1 -1
  82. package/dist/{img-CH7J0fYg.js → img-DjWwQXVS.js} +1 -1
  83. package/dist/{lib-p5pfHmOX.js → lib-BEpWEyMm.js} +351 -368
  84. package/dist/{pdf-Wd2BQz4D.js → pdf-YD0ShN36.js} +1 -1
  85. package/dist/style.css +1 -1
  86. package/dist/types/vue-data-ui.d.ts +24 -3
  87. package/dist/{useAutoSizeLabelsInsideViewbox-VqESrzQg.js → useAutoSizeLabelsInsideViewbox-BVJkib7z.js} +1 -1
  88. package/dist/{useNestedProp-7BbqoAYu.js → useNestedProp-CLD3Gk9S.js} +24 -7
  89. package/dist/{usePrinter-Yeu5jOfm.js → usePrinter-w23K-ezx.js} +2 -2
  90. package/dist/{vue-data-ui-DyqIdFbp.js → vue-data-ui-hSWsJzdK.js} +64 -64
  91. package/dist/vue-data-ui.js +96 -96
  92. package/dist/{vue-ui-3d-bar-BrlJjJDI.js → vue-ui-3d-bar-B45AYk-O.js} +6 -6
  93. package/dist/vue-ui-accordion-Cv7OaVUI.js +78 -0
  94. package/dist/{vue-ui-age-pyramid-BDIMacvP.js → vue-ui-age-pyramid-CJ66TbYc.js} +6 -6
  95. package/dist/vue-ui-annotator-DOO0qej9.js +2959 -0
  96. package/dist/{vue-ui-bullet-CIJw4kXd.js → vue-ui-bullet-D_V1l1Jt.js} +15 -15
  97. package/dist/{vue-ui-candlestick-ZjLiyYpC.js → vue-ui-candlestick-DrkWrGT2.js} +33 -33
  98. package/dist/{vue-ui-carousel-table-_-qalKHa.js → vue-ui-carousel-table-0zk2YkV7.js} +4 -4
  99. package/dist/{vue-ui-chestnut-XkX5ANAN.js → vue-ui-chestnut-CAGkS9Lt.js} +33 -33
  100. package/dist/{vue-ui-chord-B1vFXFgp.js → vue-ui-chord-CHAaUGaZ.js} +54 -54
  101. package/dist/{vue-ui-circle-pack-8J10Q6-I.js → vue-ui-circle-pack-CBySiQot.js} +31 -31
  102. package/dist/{vue-ui-cursor-CQp6B13J.js → vue-ui-cursor-Cbt_0B5t.js} +2 -2
  103. package/dist/{vue-ui-dashboard-CTEYSHVA.js → vue-ui-dashboard-BAOd1hi1.js} +69 -69
  104. package/dist/{vue-ui-digits-B4aZJw8I.js → vue-ui-digits-ChAz3jSS.js} +2 -2
  105. package/dist/{vue-ui-donut-d_XvnIQB.js → vue-ui-donut-BgYaWImK.js} +8 -8
  106. package/dist/{vue-ui-donut-evolution-Bz7fLQru.js → vue-ui-donut-evolution-UWyvIsbE.js} +55 -55
  107. package/dist/{vue-ui-dumbbell-fDl24oQq.js → vue-ui-dumbbell-B5IHRXdS.js} +7 -7
  108. package/dist/{vue-ui-flow-NYnnPoDX.js → vue-ui-flow-DB4sLZG4.js} +63 -63
  109. package/dist/{vue-ui-funnel-BWPIKyW8.js → vue-ui-funnel-COZLSfZ8.js} +37 -37
  110. package/dist/{vue-ui-galaxy-LabscC7n.js → vue-ui-galaxy-S8pIdU78.js} +46 -46
  111. package/dist/{vue-ui-gauge-DXETakZJ.js → vue-ui-gauge-BVaE3IZt.js} +59 -59
  112. package/dist/{vue-ui-gizmo-DZgMzP_e.js → vue-ui-gizmo-BmJ01zdG.js} +3 -3
  113. package/dist/{vue-ui-heatmap-C6Z5wEkZ.js → vue-ui-heatmap-DiAryN8L.js} +8 -8
  114. package/dist/{vue-ui-history-plot-CUGzhcjr.js → vue-ui-history-plot-eeYk4C28.js} +44 -44
  115. package/dist/{vue-ui-kpi-DklTxULP.js → vue-ui-kpi-D7WXGb3K.js} +3 -3
  116. package/dist/{vue-ui-mini-loader-D22vfM5g.js → vue-ui-mini-loader-CKMzFSG5.js} +5 -5
  117. package/dist/{vue-ui-molecule-BAH7NOZP.js → vue-ui-molecule-daI3rmbc.js} +6 -6
  118. package/dist/{vue-ui-mood-radar-DWZKM2u0.js → vue-ui-mood-radar-CawOBU0s.js} +7 -7
  119. package/dist/{vue-ui-nested-donuts-CxUSyTrT.js → vue-ui-nested-donuts-Ci7qxsh6.js} +70 -70
  120. package/dist/{vue-ui-onion-BfzkGOmQ.js → vue-ui-onion-CUkVuewC.js} +8 -8
  121. package/dist/{vue-ui-parallel-coordinate-plot-Dnl2GBps.js → vue-ui-parallel-coordinate-plot-D7UkjkUV.js} +35 -35
  122. package/dist/{vue-ui-quadrant-C_3l8xWm.js → vue-ui-quadrant-B9VZz5d6.js} +8 -8
  123. package/dist/{vue-ui-quick-chart-E6QujRg4.js → vue-ui-quick-chart-BQgH4Aap.js} +55 -55
  124. package/dist/{vue-ui-radar-C_yLoJvR.js → vue-ui-radar-DvZ8XcZC.js} +54 -54
  125. package/dist/{vue-ui-rating-Df02iNbL.js → vue-ui-rating-C0Ubexdn.js} +2 -2
  126. package/dist/{vue-ui-relation-circle-CBIXCwQb.js → vue-ui-relation-circle-Bal5QL_Z.js} +28 -28
  127. package/dist/{vue-ui-ridgeline-euhLcVI0.js → vue-ui-ridgeline-DbRZFJcN.js} +27 -27
  128. package/dist/{vue-ui-rings-BGxjmMDw.js → vue-ui-rings-BJ_Dmy5i.js} +38 -38
  129. package/dist/{vue-ui-scatter-CO4kXKZF.js → vue-ui-scatter-bljL9Bav.js} +50 -50
  130. package/dist/{vue-ui-skeleton-DrCI1AAl.js → vue-ui-skeleton-DZPi12tE.js} +3 -3
  131. package/dist/{vue-ui-smiley-FPLXOxew.js → vue-ui-smiley-DxC8rN5b.js} +2 -2
  132. package/dist/{vue-ui-spark-trend-D4dDN0Sc.js → vue-ui-spark-trend-CqMF642_.js} +22 -22
  133. package/dist/{vue-ui-sparkbar-BEXrQvP0.js → vue-ui-sparkbar-BcyaivMe.js} +3 -3
  134. package/dist/{vue-ui-sparkgauge-Cp4-BTZu.js → vue-ui-sparkgauge-BkIUpzkZ.js} +3 -3
  135. package/dist/{vue-ui-sparkhistogram-BwmKv4YF.js → vue-ui-sparkhistogram-DnPdJk3e.js} +4 -4
  136. package/dist/{vue-ui-sparkline-BXZJ-fUn.js → vue-ui-sparkline-F7h636hU.js} +29 -29
  137. package/dist/{vue-ui-sparkstackbar-Cie2g7gk.js → vue-ui-sparkstackbar-B-Du5D3w.js} +3 -3
  138. package/dist/{vue-ui-stackbar-B137wy4q.js → vue-ui-stackbar-BNOfLkY2.js} +38 -38
  139. package/dist/{vue-ui-strip-plot-Dd1aHpFW.js → vue-ui-strip-plot-DNPM01M_.js} +7 -7
  140. package/dist/{vue-ui-table-CduckNVX.js → vue-ui-table-__ABUm9x.js} +196 -156
  141. package/dist/{vue-ui-table-heatmap-DZAkUjty.js → vue-ui-table-heatmap-D-iueyM0.js} +14 -14
  142. package/dist/{vue-ui-table-sparkline-D6oTAFEO.js → vue-ui-table-sparkline-B5QdvlV7.js} +5 -5
  143. package/dist/{vue-ui-thermometer-BmK3_O7T.js → vue-ui-thermometer-DID_4Y6w.js} +10 -10
  144. package/dist/{vue-ui-timer-BYw6Z01O.js → vue-ui-timer-CjJmpXoF.js} +27 -27
  145. package/dist/{vue-ui-tiremarks-CWiME7zn.js → vue-ui-tiremarks-wDKOTVny.js} +6 -6
  146. package/dist/{vue-ui-treemap-D8PmfJbw.js → vue-ui-treemap-DFo4w0cb.js} +8 -8
  147. package/dist/{vue-ui-vertical-bar-DRC047BC.js → vue-ui-vertical-bar-BEdckhBh.js} +31 -31
  148. package/dist/{vue-ui-waffle-DAaBoyx4.js → vue-ui-waffle-D5i1Q6tF.js} +75 -75
  149. package/dist/vue-ui-wheel-DJlN8joO.js +620 -0
  150. package/dist/{vue-ui-word-cloud-ByKWZtkV.js → vue-ui-word-cloud-B7Y2UrwO.js} +29 -29
  151. package/dist/{vue-ui-world-BezpUr_Q.js → vue-ui-world-DzF8YW_Q.js} +6 -6
  152. package/dist/{vue-ui-xy-DlcJVA22.js → vue-ui-xy-DGln2YgO.js} +900 -822
  153. package/dist/{vue-ui-xy-canvas-DPfxdanR.js → vue-ui-xy-canvas-DF2Ts-g3.js} +10 -10
  154. package/package.json +3 -3
  155. package/dist/ColorPicker-gaAecgEC.js +0 -135
  156. package/dist/vue-ui-accordion-BSrtaPYx.js +0 -76
  157. package/dist/vue-ui-annotator-DGVlVhhy.js +0 -2182
  158. package/dist/vue-ui-wheel-DfNXrsTY.js +0 -587
@@ -1,587 +0,0 @@
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
- };