vue-data-ui 3.0.0-next.6 → 3.0.0-next.61

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 (126) hide show
  1. package/dist/{Arrow-Ul64M9UV.js → Arrow-CTQyTL3_.js} +1 -1
  2. package/dist/{BaseDraggableDialog-Q2ajCztp.js → BaseDraggableDialog-BmcSbNWl.js} +2 -2
  3. package/dist/{BaseIcon-BKR7AGeP.js → BaseIcon-E-K7hXbm.js} +1 -1
  4. package/dist/{ColorPicker-BagIs8-K.js → ColorPicker-BZSE2TU-.js} +2 -2
  5. package/dist/{DataTable-CDwApkI_.js → DataTable-B5DjuhMR.js} +2 -2
  6. package/dist/{Legend-BSLj7tYc.js → Legend-zE2FGq08.js} +2 -2
  7. package/dist/{NonSvgPenAndPaper-DjJe5fXu.js → NonSvgPenAndPaper-DI_RgDTc.js} +3 -3
  8. package/dist/{PackageVersion-BsKpz6KS.js → PackageVersion-Bdp5L-7L.js} +1 -1
  9. package/dist/{PenAndPaper-BYRk8xrS.js → PenAndPaper-AGK10PP8.js} +3 -3
  10. package/dist/{Shape-DK7zYTKa.js → Shape-WLqGGUwB.js} +43 -37
  11. package/dist/Slicer-BztBbYcP.js +602 -0
  12. package/dist/{SparkTooltip-Dy2sVTb_.js → SparkTooltip-DJJKq5GE.js} +1 -1
  13. package/dist/{Title-Cednydse.js → Title-C6NLfPnz.js} +1 -1
  14. package/dist/{Tooltip-DJlwW-XP.js → Tooltip-p-yn5Kd2.js} +23 -19
  15. package/dist/{UserOptions-DxIzWere.js → UserOptions-DWW9T1IK.js} +2 -2
  16. package/dist/{dom-to-png-lZcM-YfK.js → dom-to-png-4P9Z65Z4.js} +1 -1
  17. package/dist/{img-DqlIAUF6.js → img-fg88maiR.js} +1 -1
  18. package/dist/{index-BQcLOx39.js → index-BRenDuve.js} +1732 -1135
  19. package/dist/{pdf-CjIXhsyg.js → pdf-BuhR1JTC.js} +1 -1
  20. package/dist/style.css +1 -1
  21. package/dist/types/vue-data-ui.d.cts +493 -21
  22. package/dist/types/vue-data-ui.d.ts +493 -21
  23. package/dist/useAutoSizeLabelsInsideViewbox-BkBqjBrr.js +41 -0
  24. package/dist/useNestedProp-iKx-oGDH.js +13 -0
  25. package/dist/usePanZoom-BVca3eMk.js +122 -0
  26. package/dist/{usePrinter-BRY5saEA.js → usePrinter-Co_j432s.js} +2 -2
  27. package/dist/useTimeLabelCollider-CIsgDrl9.js +78 -0
  28. package/dist/{useTimeLabels-Mrr0jrpL.js → useTimeLabels-DkzmKfZn.js} +211 -152
  29. package/dist/{vue-data-ui-CWRlSsiN.js → vue-data-ui-CUDfDclz.js} +105 -100
  30. package/dist/vue-data-ui.js +23 -22
  31. package/dist/vue-ui-3d-bar-DWL8tnZS.js +1323 -0
  32. package/dist/{vue-ui-accordion-Df-5BRRg.js → vue-ui-accordion-CYDiGhBw.js} +3 -3
  33. package/dist/vue-ui-age-pyramid-d31eHPpI.js +834 -0
  34. package/dist/{vue-ui-annotator-BxC5dcIv.js → vue-ui-annotator-dkOqfvKt.js} +2 -2
  35. package/dist/vue-ui-bullet-D4tBc3eh.js +571 -0
  36. package/dist/vue-ui-candlestick-GoQ4LBVC.js +999 -0
  37. package/dist/{vue-ui-carousel-table-NTDzafWQ.js → vue-ui-carousel-table-Bp3MJfzX.js} +29 -29
  38. package/dist/{vue-ui-chestnut-k21Qqjjq.js → vue-ui-chestnut-D3fzDYcV.js} +5 -5
  39. package/dist/{vue-ui-chord-BVoA6nfI.js → vue-ui-chord-CntRIJ55.js} +8 -8
  40. package/dist/{vue-ui-circle-pack-CEBgImRX.js → vue-ui-circle-pack-BMuynHUs.js} +24 -24
  41. package/dist/{vue-ui-cursor-BQcz8xw2.js → vue-ui-cursor-KR7TU5mQ.js} +2 -2
  42. package/dist/{vue-ui-dashboard-CyzEpJoI.js → vue-ui-dashboard-C6OQIu4w.js} +62 -62
  43. package/dist/{vue-ui-digits-Dafw1UsT.js → vue-ui-digits-6KV8lh1Q.js} +2 -2
  44. package/dist/{vue-ui-donut-DKfux8XT.js → vue-ui-donut-Dg0b9Sag.js} +320 -308
  45. package/dist/vue-ui-donut-evolution-BqDGpZwn.js +1075 -0
  46. package/dist/vue-ui-dumbbell-BvTH-vpa.js +1119 -0
  47. package/dist/vue-ui-flow-DY0brMkH.js +841 -0
  48. package/dist/{vue-ui-funnel-CuN8HWwP.js → vue-ui-funnel-Z2nxFAoy.js} +16 -16
  49. package/dist/{vue-ui-galaxy-BHCLFlmy.js → vue-ui-galaxy-Dho2szS3.js} +60 -58
  50. package/dist/vue-ui-gauge-0FV4JwS3.js +791 -0
  51. package/dist/{vue-ui-gizmo-DHEEfdp9.js → vue-ui-gizmo-CxuU2BQY.js} +3 -3
  52. package/dist/vue-ui-heatmap-FFmRSZ9u.js +1078 -0
  53. package/dist/vue-ui-history-plot-CUH155Yu.js +1073 -0
  54. package/dist/{vue-ui-kpi-C4i2w_Yd.js → vue-ui-kpi-Dmpm_ZZb.js} +7 -7
  55. package/dist/{vue-ui-mini-loader-BeetGv_m.js → vue-ui-mini-loader-DPsQQimr.js} +2 -2
  56. package/dist/{vue-ui-molecule-F_gDXjJr.js → vue-ui-molecule-BNSTyoBk.js} +53 -51
  57. package/dist/{vue-ui-mood-radar-BJMOEqlu.js → vue-ui-mood-radar-Db-qlLKm.js} +15 -15
  58. package/dist/vue-ui-nested-donuts-BMECUS7j.js +1286 -0
  59. package/dist/vue-ui-onion-CARHtDjI.js +776 -0
  60. package/dist/vue-ui-parallel-coordinate-plot-C7pL6x10.js +915 -0
  61. package/dist/{vue-ui-quadrant-DTyRC1_v.js → vue-ui-quadrant-BdtVr-y2.js} +59 -57
  62. package/dist/vue-ui-quick-chart-D7uobNWx.js +1761 -0
  63. package/dist/{vue-ui-radar-De2iznwo.js → vue-ui-radar-VoD-Lot7.js} +30 -28
  64. package/dist/{vue-ui-rating-CarXXyD-.js → vue-ui-rating-DZ89nAiD.js} +2 -2
  65. package/dist/{vue-ui-relation-circle-CKkK9D4E.js → vue-ui-relation-circle-B2z8YXgB.js} +6 -6
  66. package/dist/vue-ui-ridgeline-DfFSJ747.js +1153 -0
  67. package/dist/vue-ui-rings-Dyt5QafW.js +728 -0
  68. package/dist/vue-ui-scatter-BFFRDlp-.js +1178 -0
  69. package/dist/{vue-ui-skeleton-C7maR60-.js → vue-ui-skeleton-DU2RLC8J.js} +3 -3
  70. package/dist/{vue-ui-smiley-DzCCn5Oc.js → vue-ui-smiley-Bud0unLv.js} +26 -26
  71. package/dist/{vue-ui-spark-trend-Db-Fnp8C.js → vue-ui-spark-trend-BD6UWRMn.js} +3 -3
  72. package/dist/vue-ui-sparkbar-I4wpToMO.js +351 -0
  73. package/dist/{vue-ui-sparkgauge-DAQ4zozy.js → vue-ui-sparkgauge-Dih6jl_u.js} +3 -3
  74. package/dist/vue-ui-sparkhistogram-DBJcd-6V.js +444 -0
  75. package/dist/vue-ui-sparkline-B64MPZBB.js +489 -0
  76. package/dist/vue-ui-sparkstackbar-CtdHM2gY.js +421 -0
  77. package/dist/vue-ui-stackbar-Bee1NxIb.js +1370 -0
  78. package/dist/vue-ui-strip-plot-CmC5Byn1.js +915 -0
  79. package/dist/{vue-ui-table-Dck8Pyg9.js → vue-ui-table-DyScQo_p.js} +11 -11
  80. package/dist/{vue-ui-table-heatmap-DknIGf9_.js → vue-ui-table-heatmap-DLtEbgnG.js} +5 -5
  81. package/dist/{vue-ui-table-sparkline-G4HAzUt6.js → vue-ui-table-sparkline-CSOSu5lF.js} +14 -14
  82. package/dist/vue-ui-thermometer-DvWCyvgp.js +541 -0
  83. package/dist/{vue-ui-timer-Dmr-HCSc.js → vue-ui-timer-DIe7TbGV.js} +5 -5
  84. package/dist/vue-ui-tiremarks-DFAFKdig.js +406 -0
  85. package/dist/vue-ui-treemap-Car9RQI6.js +1035 -0
  86. package/dist/{vue-ui-vertical-bar--QFtoFje.js → vue-ui-vertical-bar-I05hhnAv.js} +318 -302
  87. package/dist/vue-ui-waffle-DyY-UYli.js +910 -0
  88. package/dist/vue-ui-wheel-Bb4GPN1q.js +379 -0
  89. package/dist/vue-ui-word-cloud-8Xl-ixz8.js +765 -0
  90. package/dist/{vue-ui-world-BcK_brDq.js → vue-ui-world-DpgHCDon.js} +11 -9
  91. package/dist/vue-ui-xy-B5GeHpC1.js +3760 -0
  92. package/dist/{vue-ui-xy-canvas--88oKdGN.js → vue-ui-xy-canvas-CJpbS5qD.js} +265 -264
  93. package/package.json +1 -1
  94. package/dist/Slicer-B_Hb6qSk.js +0 -577
  95. package/dist/useNestedProp-DefBVltl.js +0 -13
  96. package/dist/usePanZoom-BQMvRXEQ.js +0 -115
  97. package/dist/vue-ui-3d-bar-CJMZqDo1.js +0 -1227
  98. package/dist/vue-ui-age-pyramid-B6WAMtPk.js +0 -746
  99. package/dist/vue-ui-bullet-NmtltFbU.js +0 -513
  100. package/dist/vue-ui-candlestick-BzqQtynP.js +0 -873
  101. package/dist/vue-ui-donut-evolution-D7cNk_6l.js +0 -903
  102. package/dist/vue-ui-dumbbell--H80zebk.js +0 -753
  103. package/dist/vue-ui-flow-lk_HU5NB.js +0 -765
  104. package/dist/vue-ui-gauge-DWlCh2_B.js +0 -738
  105. package/dist/vue-ui-heatmap-BK6BNOY_.js +0 -877
  106. package/dist/vue-ui-history-plot-CGF6lE-7.js +0 -924
  107. package/dist/vue-ui-nested-donuts-BX0Z0rb1.js +0 -1177
  108. package/dist/vue-ui-onion-BhjUET_W.js +0 -701
  109. package/dist/vue-ui-parallel-coordinate-plot-n7QPVLrW.js +0 -807
  110. package/dist/vue-ui-quick-chart-5xX-yBIY.js +0 -1612
  111. package/dist/vue-ui-ridgeline-DQ8RQf3E.js +0 -969
  112. package/dist/vue-ui-rings-Cze6OsmO.js +0 -685
  113. package/dist/vue-ui-scatter-CwI3_Dn7.js +0 -1045
  114. package/dist/vue-ui-sparkbar-C6wsNMMO.js +0 -301
  115. package/dist/vue-ui-sparkhistogram-CMEaO0CW.js +0 -313
  116. package/dist/vue-ui-sparkline-R7pfxRWN.js +0 -459
  117. package/dist/vue-ui-sparkstackbar-DV_XqJQ2.js +0 -381
  118. package/dist/vue-ui-stackbar-gReSujA_.js +0 -1207
  119. package/dist/vue-ui-strip-plot-8fsm3nn2.js +0 -761
  120. package/dist/vue-ui-thermometer-BIkXa4hY.js +0 -495
  121. package/dist/vue-ui-tiremarks-YWbRk0dm.js +0 -358
  122. package/dist/vue-ui-treemap-D2OnG3Fh.js +0 -965
  123. package/dist/vue-ui-waffle-BdaCXuWc.js +0 -863
  124. package/dist/vue-ui-wheel-Bw3XSa8N.js +0 -352
  125. package/dist/vue-ui-word-cloud-BH8UZH_J.js +0 -659
  126. package/dist/vue-ui-xy-Be--zwe9.js +0 -2980
@@ -1,352 +0,0 @@
1
- import { defineAsyncComponent as $, computed as p, ref as c, watch as te, shallowRef as ae, onMounted as we, onBeforeUnmount as be, createElementBlock as v, openBlock as s, unref as l, normalizeStyle as N, createBlock as I, createCommentVNode as h, createSlots as Ce, withCtx as w, renderSlot as y, normalizeProps as _, guardReactiveProps as x, normalizeClass as R, createVNode as Oe, Fragment as le, renderList as ne, toDisplayString as $e } from "vue";
2
- import { u as Ie, c as _e, a as xe, o as Ae, e as Pe, w as oe, m as Fe, X as Se, i as ze, v as se, f as Me } from "./index-BQcLOx39.js";
3
- import { t as Te, u as Ne } from "./useResponsive-DfdjqQps.js";
4
- import { u as ue } from "./useNestedProp-DefBVltl.js";
5
- import { u as Re } from "./usePrinter-BRY5saEA.js";
6
- import { u as Ue } from "./useUserOptionState-BIvW1Kz7.js";
7
- import { u as Ee } from "./useChartAccessibility-9icAAmYg.js";
8
- import Xe from "./Title-Cednydse.js";
9
- import Be from "./img-DqlIAUF6.js";
10
- import { _ as Le } from "./_plugin-vue_export-helper-CHgC5LLL.js";
11
- const Ge = ["id"], je = ["xmlns", "viewBox"], De = ["width", "height"], Ye = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-linecap"], He = ["d", "fill"], We = ["cx", "cy", "r", "stroke", "stroke-width"], qe = ["x", "y", "font-size", "fill", "font-weight"], Ve = {
12
- key: 5,
13
- class: "vue-data-ui-watermark"
14
- }, Je = {
15
- __name: "vue-ui-wheel",
16
- props: {
17
- config: {
18
- type: Object,
19
- default() {
20
- return {};
21
- }
22
- },
23
- dataset: {
24
- type: Object,
25
- default() {
26
- return {};
27
- }
28
- }
29
- },
30
- setup(re, { expose: ie }) {
31
- const ce = $(() => import("./PenAndPaper-BYRk8xrS.js")), ve = $(() => import("./vue-ui-skeleton-C7maR60-.js")), he = $(() => import("./UserOptions-DxIzWere.js")), de = $(() => import("./PackageVersion-BsKpz6KS.js")), { vue_ui_wheel: ye } = Ie(), d = re, A = p(() => !!d.dataset && Object.keys(d.dataset).length), P = c(_e()), fe = c(null), U = c(0), g = c(null), E = c(null), X = c(null), B = c(null), L = c(0), e = p({
32
- get: () => Y(),
33
- set: (t) => t
34
- }), { userOptionsVisible: F, setUserOptionsVisibility: G, keepUserOptionState: j } = Ue({ config: e.value }), { svgRef: D } = Ee({ config: e.value.style.chart.title });
35
- function Y() {
36
- const t = ue({
37
- userConfig: d.config,
38
- defaultConfig: ye
39
- });
40
- return t.theme ? {
41
- ...ue({
42
- userConfig: xe.vue_ui_wheel[t.theme] || d.config,
43
- defaultConfig: t
44
- })
45
- } : t;
46
- }
47
- te(() => d.config, (t) => {
48
- e.value = Y(), F.value = !e.value.userOptions.showOnChartHover, K(), L.value += 1;
49
- }, { deep: !0 });
50
- const { isPrinting: H, isImaging: W, generatePdf: q, generateImage: V } = Re({
51
- elementId: P.value,
52
- fileName: e.value.style.chart.title.text || "vue-ui-wheel",
53
- options: e.value.userOptions.print
54
- }), pe = p(() => e.value.userOptions.show && !e.value.style.chart.title.text), o = c({
55
- size: 360,
56
- height: 360,
57
- width: 360
58
- }), S = c(e.value.style.chart.layout.percentage.fontSize), r = p(() => ({
59
- radius: Math.min(o.value.width, o.value.height) * 0.9 / 2,
60
- centerX: o.value.width / 2,
61
- centerY: o.value.height / 2
62
- }));
63
- function J(t, n = 1) {
64
- return {
65
- x: r.value.centerX + r.value.radius * Math.cos(29.85 + t * Math.PI / 180) * n,
66
- y: r.value.centerY + r.value.radius * Math.sin(29.85 + t * Math.PI / 180) * n
67
- };
68
- }
69
- const i = c(e.value.style.chart.animation.use ? 0 : d.dataset.percentage || 0);
70
- te(() => d.dataset, (t) => {
71
- e.value.style.chart.animation.use ? Q(t.percentage) : i.value = t.percentage || 0;
72
- }, { deep: !0 });
73
- const f = ae(null), m = ae(null);
74
- we(() => {
75
- K();
76
- });
77
- function K() {
78
- if (Ae(d.dataset) && Pe({
79
- componentName: "VueUiWheel",
80
- type: "dataset"
81
- }), Q(d.dataset.percentage || 0), e.value.responsive) {
82
- const t = Te(() => {
83
- const { width: n, height: a } = Ne({
84
- chart: g.value,
85
- title: e.value.style.chart.title.text ? E.value : null,
86
- source: X.value,
87
- noTitle: B.value
88
- });
89
- requestAnimationFrame(() => {
90
- o.value.width = n, o.value.height = a, S.value = e.value.style.chart.layout.percentage.fontSize / 360 * Math.min(n, a);
91
- });
92
- });
93
- f.value && (m.value && f.value.unobserve(m.value), f.value.disconnect()), f.value = new ResizeObserver(t), m.value = g.value.parentNode, f.value.observe(m.value);
94
- }
95
- }
96
- be(() => {
97
- f.value && (m.value && f.value.unobserve(m.value), f.value.disconnect());
98
- });
99
- function Q(t) {
100
- let n = e.value.style.chart.animation.speed;
101
- const a = Math.abs(t - i.value) / (n * 120);
102
- function u() {
103
- i.value < t ? i.value = Math.min(i.value + a, t) : i.value > t && (i.value = Math.max(i.value - a, t)), i.value !== t && requestAnimationFrame(u);
104
- }
105
- u();
106
- }
107
- const k = p(() => Math.max(100, e.value.style.chart.layout.wheel.ticks.quantity)), b = p(() => 100 / k.value), Z = p(() => {
108
- const t = [];
109
- for (let n = 0; n < k.value; n += 1) {
110
- const a = i.value > n * b.value ? e.value.style.chart.layout.wheel.ticks.activeColor : e.value.style.chart.layout.wheel.ticks.inactiveColor, { x: u, y: M } = J(o.value.size / k.value * n), { x: T, y: ke } = J(o.value.size / k.value * n, e.value.style.chart.layout.wheel.ticks.sizeRatio);
111
- t.push({
112
- x1: u,
113
- y1: M,
114
- x2: T,
115
- y2: ke,
116
- color: e.value.style.chart.layout.wheel.ticks.gradient.show ? oe(a, n * b.value / k.value * (e.value.style.chart.layout.wheel.ticks.gradient.shiftHueIntensity / 100)) : a
117
- });
118
- }
119
- return t;
120
- }), ge = p(() => Fe({ series: Z.value.map((t) => ({
121
- name: "",
122
- value: 1,
123
- color: t.color
124
- })) }, r.value.centerX, r.value.centerY, r.value.radius, r.value.radius, 1.99999, 2, 1, 360, 105.25, r.value.radius * (1 - e.value.style.chart.layout.wheel.ticks.sizeRatio))), C = c(!1);
125
- function ee(t) {
126
- C.value = t, U.value += 1;
127
- }
128
- const O = c(!1);
129
- function z() {
130
- O.value = !O.value;
131
- }
132
- async function me({ scale: t = 2 } = {}) {
133
- if (!g.value) return;
134
- const { width: n, height: a } = g.value.getBoundingClientRect(), u = n / a, { imageUri: M, base64: T } = await Be({ domElement: g.value, base64: !0, img: !0, scale: t });
135
- return {
136
- imageUri: M,
137
- base64: T,
138
- title: e.value.style.chart.title.text,
139
- width: n,
140
- height: a,
141
- aspectRatio: u
142
- };
143
- }
144
- return ie({
145
- getImage: me,
146
- generatePdf: q,
147
- generateImage: V,
148
- toggleAnnotator: z,
149
- toggleFullscreen: ee
150
- }), (t, n) => (s(), v("div", {
151
- class: "vue-ui-wheel",
152
- ref_key: "wheelChart",
153
- ref: g,
154
- id: P.value,
155
- style: N(`font-family:${e.value.style.fontFamily};width:100%; text-align:center;background:${e.value.style.chart.backgroundColor};${e.value.responsive ? "height:100%" : ""}`),
156
- onMouseenter: n[0] || (n[0] = () => l(G)(!0)),
157
- onMouseleave: n[1] || (n[1] = () => l(G)(!1))
158
- }, [
159
- e.value.userOptions.buttons.annotator ? (s(), I(l(ce), {
160
- key: 0,
161
- svgRef: l(D),
162
- backgroundColor: e.value.style.chart.backgroundColor,
163
- color: e.value.style.chart.color,
164
- active: O.value,
165
- onClose: z
166
- }, null, 8, ["svgRef", "backgroundColor", "color", "active"])) : h("", !0),
167
- pe.value ? (s(), v("div", {
168
- key: 1,
169
- ref_key: "noTitle",
170
- ref: B,
171
- class: "vue-data-ui-no-title-space",
172
- style: "height:36px; width: 100%;background:transparent"
173
- }, null, 512)) : h("", !0),
174
- e.value.style.chart.title.text ? (s(), v("div", {
175
- key: 2,
176
- ref_key: "chartTitle",
177
- ref: E,
178
- style: "width:100%;background:transparent;padding-bottom:12px"
179
- }, [
180
- (s(), I(Xe, {
181
- key: `title_${L.value}`,
182
- config: {
183
- title: {
184
- cy: "wheel-title",
185
- ...e.value.style.chart.title
186
- },
187
- subtitle: {
188
- cy: "wheel-subtitle",
189
- ...e.value.style.chart.title.subtitle
190
- }
191
- }
192
- }, null, 8, ["config"]))
193
- ], 512)) : h("", !0),
194
- e.value.userOptions.show && A.value && (l(j) || l(F)) ? (s(), I(l(he), {
195
- ref_key: "details",
196
- ref: fe,
197
- key: `user_options_${U.value}`,
198
- backgroundColor: e.value.style.chart.backgroundColor,
199
- color: e.value.style.chart.color,
200
- isPrinting: l(H),
201
- isImaging: l(W),
202
- uid: P.value,
203
- hasPdf: e.value.userOptions.buttons.pdf,
204
- hasImg: e.value.userOptions.buttons.img,
205
- hasFullscreen: e.value.userOptions.buttons.fullscreen,
206
- hasXls: !1,
207
- isFullscreen: C.value,
208
- position: e.value.userOptions.position,
209
- titles: { ...e.value.userOptions.buttonTitles },
210
- hasAnnotator: e.value.userOptions.buttons.annotator,
211
- isAnnotation: O.value,
212
- chartElement: g.value,
213
- callbacks: e.value.userOptions.callbacks,
214
- printScale: e.value.userOptions.print.scale,
215
- onToggleFullscreen: ee,
216
- onGeneratePdf: l(q),
217
- onGenerateImage: l(V),
218
- onToggleAnnotator: z,
219
- style: N({
220
- visibility: l(j) ? l(F) ? "visible" : "hidden" : "visible"
221
- })
222
- }, Ce({ _: 2 }, [
223
- t.$slots.menuIcon ? {
224
- name: "menuIcon",
225
- fn: w(({ isOpen: a, color: u }) => [
226
- y(t.$slots, "menuIcon", _(x({ isOpen: a, color: u })), void 0, !0)
227
- ]),
228
- key: "0"
229
- } : void 0,
230
- t.$slots.optionPdf ? {
231
- name: "optionPdf",
232
- fn: w(() => [
233
- y(t.$slots, "optionPdf", {}, void 0, !0)
234
- ]),
235
- key: "1"
236
- } : void 0,
237
- t.$slots.optionImg ? {
238
- name: "optionImg",
239
- fn: w(() => [
240
- y(t.$slots, "optionImg", {}, void 0, !0)
241
- ]),
242
- key: "2"
243
- } : void 0,
244
- t.$slots.optionFullscreen ? {
245
- name: "optionFullscreen",
246
- fn: w(({ toggleFullscreen: a, isFullscreen: u }) => [
247
- y(t.$slots, "optionFullscreen", _(x({ toggleFullscreen: a, isFullscreen: u })), void 0, !0)
248
- ]),
249
- key: "3"
250
- } : void 0,
251
- t.$slots.optionAnnotator ? {
252
- name: "optionAnnotator",
253
- fn: w(({ toggleAnnotator: a, isAnnotator: u }) => [
254
- y(t.$slots, "optionAnnotator", _(x({ toggleAnnotator: a, isAnnotator: u })), void 0, !0)
255
- ]),
256
- key: "4"
257
- } : void 0
258
- ]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasPdf", "hasImg", "hasFullscreen", "isFullscreen", "position", "titles", "hasAnnotator", "isAnnotation", "chartElement", "callbacks", "printScale", "onGeneratePdf", "onGenerateImage", "style"])) : h("", !0),
259
- A.value ? (s(), v("svg", {
260
- key: 4,
261
- ref_key: "svgRef",
262
- ref: D,
263
- xmlns: l(Se),
264
- class: R({ "vue-data-ui-fullscreen--on": C.value, "vue-data-ui-fulscreen--off": !C.value }),
265
- viewBox: `0 0 ${o.value.width <= 0 ? 10 : o.value.width} ${o.value.height <= 0 ? 10 : o.value.height}`,
266
- style: N(`max-width:100%;overflow:visible;background:transparent;color:${e.value.style.chart.color}`)
267
- }, [
268
- Oe(l(de)),
269
- t.$slots["chart-background"] ? (s(), v("foreignObject", {
270
- key: 0,
271
- x: 0,
272
- y: 0,
273
- width: o.value.width <= 0 ? 10 : o.value.width,
274
- height: o.value.height <= 0 ? 10 : o.value.height,
275
- style: {
276
- pointerEvents: "none"
277
- }
278
- }, [
279
- y(t.$slots, "chart-background", {}, void 0, !0)
280
- ], 8, De)) : h("", !0),
281
- e.value.style.chart.layout.wheel.ticks.type === "classic" ? (s(!0), v(le, { key: 1 }, ne(Z.value, (a, u) => (s(), v("line", {
282
- x1: a.x1,
283
- x2: a.x2,
284
- y1: a.y1,
285
- y2: a.y2,
286
- stroke: a.color,
287
- "stroke-width": e.value.style.chart.layout.wheel.ticks.strokeWidth / 360 * Math.min(o.value.width, o.value.height),
288
- "stroke-linecap": e.value.style.chart.layout.wheel.ticks.rounded ? "round" : "butt",
289
- class: R({ "vue-ui-tick-animated": e.value.style.chart.animation.use && u * b.value <= i.value })
290
- }, null, 10, Ye))), 256)) : (s(!0), v(le, { key: 2 }, ne(ge.value, (a, u) => (s(), v("path", {
291
- d: a.arcSlice,
292
- fill: a.color,
293
- class: R({ "vue-ui-tick-animated": e.value.style.chart.animation.use && u * b.value <= i.value })
294
- }, null, 10, He))), 256)),
295
- e.value.style.chart.layout.innerCircle.show ? (s(), v("circle", {
296
- key: 3,
297
- cx: r.value.centerX,
298
- cy: r.value.centerY,
299
- r: r.value.radius * 0.8 <= 0 ? 1e-4 : r.value.radius * 0.8,
300
- stroke: e.value.style.chart.layout.innerCircle.stroke,
301
- "stroke-width": e.value.style.chart.layout.innerCircle.strokeWidth,
302
- fill: "none"
303
- }, null, 8, We)) : h("", !0),
304
- e.value.style.chart.layout.percentage.show ? (s(), v("text", {
305
- key: 4,
306
- x: r.value.centerX,
307
- y: r.value.centerY + S.value / 3,
308
- "font-size": S.value,
309
- fill: e.value.style.chart.layout.wheel.ticks.gradient.show ? l(oe)(e.value.style.chart.layout.wheel.ticks.activeColor, i.value / 100 * (e.value.style.chart.layout.wheel.ticks.gradient.shiftHueIntensity / 100)) : e.value.style.chart.layout.wheel.ticks.activeColor,
310
- "text-anchor": "middle",
311
- "font-weight": e.value.style.chart.layout.percentage.bold ? "bold" : "normal",
312
- style: { "font-variant-numeric": "tabluar-nums" }
313
- }, $e(l(ze)(
314
- e.value.style.chart.layout.percentage.formatter,
315
- l(se)(i.value),
316
- l(Me)({
317
- v: l(se)(i.value),
318
- s: "%",
319
- r: e.value.style.chart.layout.percentage.rounding
320
- })
321
- )), 9, qe)) : h("", !0),
322
- y(t.$slots, "svg", { svg: o.value }, void 0, !0)
323
- ], 14, je)) : h("", !0),
324
- t.$slots.watermark ? (s(), v("div", Ve, [
325
- y(t.$slots, "watermark", _(x({ isPrinting: l(H) || l(W) })), void 0, !0)
326
- ])) : h("", !0),
327
- t.$slots.source ? (s(), v("div", {
328
- key: 6,
329
- ref_key: "source",
330
- ref: X,
331
- dir: "auto"
332
- }, [
333
- y(t.$slots, "source", {}, void 0, !0)
334
- ], 512)) : h("", !0),
335
- A.value ? h("", !0) : (s(), I(l(ve), {
336
- key: 7,
337
- config: {
338
- type: "wheel",
339
- style: {
340
- backgroundColor: e.value.style.chart.backgroundColor,
341
- wheel: {
342
- color: "#CCCCCC"
343
- }
344
- }
345
- }
346
- }, null, 8, ["config"]))
347
- ], 44, Ge));
348
- }
349
- }, ut = /* @__PURE__ */ Le(Je, [["__scopeId", "data-v-e7d09662"]]);
350
- export {
351
- ut as default
352
- };