vue-data-ui 2.12.6 → 2.12.7-beta.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (109) hide show
  1. package/dist/{Arrow-Bd9ZVBnX.js → Arrow-CmqjRRUl.js} +1 -1
  2. package/dist/BaseDraggableDialog-BMlyvt7E.js +180 -0
  3. package/dist/{BaseIcon-CNbwMh_-.js → BaseIcon-CZdMutjs.js} +1 -1
  4. package/dist/{ColorPicker-B_FoQwtO.js → ColorPicker-DvVKgyAl.js} +23 -24
  5. package/dist/{DataTable-Rajdtaf6.js → DataTable-Cv9CIz-a.js} +11 -11
  6. package/dist/{Legend-BxtDQCIv.js → Legend-DFunFf8i.js} +8 -8
  7. package/dist/NonSvgPenAndPaper-pVuHj6_A.js +467 -0
  8. package/dist/PackageVersion-CLY-udAA.js +10 -0
  9. package/dist/{PenAndPaper-BkP3J-Ft.js → PenAndPaper-B9na2mbr.js} +8 -10
  10. package/dist/RecursiveCircles-Dn3TGoL6.js +96 -0
  11. package/dist/RecursiveLabels-NTMB9w5C.js +49 -0
  12. package/dist/RecursiveLinks-ld_gDZH4.js +64 -0
  13. package/dist/{Shape-C69a0f29.js → Shape-D3w9qas1.js} +2 -2
  14. package/dist/{Slicer-7qFdY-bT.js → Slicer-ncY8krrM.js} +2 -2
  15. package/dist/SparkTooltip-CwThutH2.js +68 -0
  16. package/dist/{Title-CzaCeCOm.js → Title-B5qqUI3M.js} +2 -2
  17. package/dist/Tooltip-C9rxJ-Ru.js +149 -0
  18. package/dist/{usePrinter-C5bLp34h.js → UserOptions-Ddy6CuLC.js} +172 -231
  19. package/dist/{dom-to-png-Bm0D0yPL.js → dom-to-png-DDlooC9r.js} +1 -1
  20. package/dist/{img-BN9AzqUr.js → img-m9g7lR5d.js} +1 -1
  21. package/dist/{index-BFzQMJda.js → index-BiHmNd1-.js} +21 -21
  22. package/dist/{pdf-uTbs813M.js → pdf-BqM953uL.js} +1 -1
  23. package/dist/style.css +1 -1
  24. package/dist/useChartAccessibility-9icAAmYg.js +12 -0
  25. package/dist/useMouse-AicQS8Vf.js +13 -0
  26. package/dist/{useNestedProp-v7KPpwuP.js → useNestedProp-tRqS0ZAM.js} +1 -1
  27. package/dist/{usePanZoom-CUkkqW81.js → usePanZoom-BQMvRXEQ.js} +16 -17
  28. package/dist/usePrinter-CRCbl1WG.js +53 -0
  29. package/dist/vClickOutside-C6WiFswA.js +13 -0
  30. package/dist/{vue-data-ui-D1k8FeRp.js → vue-data-ui-D9uTDt73.js} +63 -63
  31. package/dist/vue-data-ui.js +19 -19
  32. package/dist/{vue-ui-3d-bar-DoklA4DT.js → vue-ui-3d-bar-rtuSc8FS.js} +397 -402
  33. package/dist/{vue-ui-accordion-BUz4JIIX.js → vue-ui-accordion-CmCs2yR2.js} +3 -3
  34. package/dist/{vue-ui-age-pyramid-4kyBq-Dy.js → vue-ui-age-pyramid-BrzMSiyu.js} +215 -218
  35. package/dist/{vue-ui-annotator-Bq1ZeFfb.js → vue-ui-annotator-CYxmTpf6.js} +2 -2
  36. package/dist/{vue-ui-bullet-DU10avvA.js → vue-ui-bullet-D25qNQfb.js} +137 -140
  37. package/dist/{vue-ui-candlestick-BI1t3flz.js → vue-ui-candlestick-BuerNa-r.js} +265 -271
  38. package/dist/{vue-ui-carousel-table-VowLf_oc.js → vue-ui-carousel-table-aN0HLsOO.js} +137 -137
  39. package/dist/{vue-ui-chestnut-BHjV3d94.js → vue-ui-chestnut-oUj2ocsZ.js} +397 -400
  40. package/dist/{vue-ui-chord-CPr7r-2_.js → vue-ui-chord-C4evlXYB.js} +356 -365
  41. package/dist/vue-ui-circle-pack-CWrNiKTY.js +656 -0
  42. package/dist/{vue-ui-cursor-C9teAbVI.js → vue-ui-cursor-DgpSttlt.js} +2 -2
  43. package/dist/{vue-ui-dashboard-CwDYB8tP.js → vue-ui-dashboard-BN2ha1Eh.js} +62 -62
  44. package/dist/{vue-ui-digits-CHmkL0hn.js → vue-ui-digits-BhjAxXgm.js} +2 -2
  45. package/dist/vue-ui-donut-D3_z61HI.js +1291 -0
  46. package/dist/vue-ui-donut-evolution-oKtmZPx4.js +864 -0
  47. package/dist/{vue-ui-dumbbell-DTKLLd1N.js → vue-ui-dumbbell-C8Lokx-F.js} +265 -270
  48. package/dist/{vue-ui-flow-BLBhsU2n.js → vue-ui-flow-BVRkH0PS.js} +291 -300
  49. package/dist/{vue-ui-funnel-CIrWdeBk.js → vue-ui-funnel-DFxcmAB5.js} +216 -219
  50. package/dist/{vue-ui-galaxy-ByhKyIV4.js → vue-ui-galaxy-CGE0hlBC.js} +227 -235
  51. package/dist/{vue-ui-gauge-BbfBMpng.js → vue-ui-gauge-B48eMvOR.js} +240 -243
  52. package/dist/{vue-ui-gizmo-BM-_QfHM.js → vue-ui-gizmo-zTKNpjvv.js} +57 -58
  53. package/dist/{vue-ui-heatmap-BA4z4hsw.js → vue-ui-heatmap-UNfTt8SM.js} +239 -242
  54. package/dist/{vue-ui-history-plot-8vM_IUy8.js → vue-ui-history-plot-CbCWmvtg.js} +257 -262
  55. package/dist/{vue-ui-kpi-D57QLK6A.js → vue-ui-kpi-Drf_lrlh.js} +29 -30
  56. package/dist/{vue-ui-mini-loader-CR4c-xJQ.js → vue-ui-mini-loader-DU3G6BVs.js} +2 -2
  57. package/dist/vue-ui-molecule-B5MOXYEA.js +580 -0
  58. package/dist/{vue-ui-mood-radar-Brc9cxoD.js → vue-ui-mood-radar-CC_CVLvn.js} +180 -186
  59. package/dist/{vue-ui-nested-donuts-W3Z5F--L.js → vue-ui-nested-donuts-D_H962kk.js} +366 -374
  60. package/dist/{vue-ui-onion-BNBlGNlF.js → vue-ui-onion-P8k6T724.js} +252 -258
  61. package/dist/{vue-ui-parallel-coordinate-plot-B5G3jyvg.js → vue-ui-parallel-coordinate-plot-B5Los0vX.js} +296 -303
  62. package/dist/{vue-ui-quadrant-CUy9mVIA.js → vue-ui-quadrant-B3wzCTxK.js} +402 -409
  63. package/dist/{vue-ui-quick-chart-D4_8mRXU.js → vue-ui-quick-chart-oucj6hXk.js} +611 -616
  64. package/dist/{vue-ui-radar-BUk56jGL.js → vue-ui-radar-Cjqlyu6d.js} +270 -277
  65. package/dist/{vue-ui-rating-B9TQl5KP.js → vue-ui-rating-gryk_h_6.js} +2 -2
  66. package/dist/vue-ui-relation-circle-ielvWC-1.js +525 -0
  67. package/dist/{vue-ui-ridgeline-Cl06bGom.js → vue-ui-ridgeline-Dydqo68b.js} +321 -326
  68. package/dist/{vue-ui-rings-B6bpFlFp.js → vue-ui-rings-BRBXektJ.js} +262 -269
  69. package/dist/{vue-ui-scatter--WUuVw5G.js → vue-ui-scatter-Df-BM7Ts.js} +372 -379
  70. package/dist/{vue-ui-skeleton-B_YI7Yuc.js → vue-ui-skeleton-CbYQYRvD.js} +19 -19
  71. package/dist/{vue-ui-smiley-Bbam2fDz.js → vue-ui-smiley-BfHaQMaW.js} +2 -2
  72. package/dist/{vue-ui-spark-trend-DavXuwGt.js → vue-ui-spark-trend-z3fUChs_.js} +114 -117
  73. package/dist/{vue-ui-sparkbar-9N1FU9-J.js → vue-ui-sparkbar-ChtFIugH.js} +104 -106
  74. package/dist/{vue-ui-sparkgauge-_9ntq4EK.js → vue-ui-sparkgauge-DtpODCww.js} +72 -74
  75. package/dist/{vue-ui-sparkhistogram-BEzOV4HV.js → vue-ui-sparkhistogram-C3XnYiXI.js} +83 -86
  76. package/dist/vue-ui-sparkline-CoL8jiX8.js +459 -0
  77. package/dist/{vue-ui-sparkstackbar-BSWcs3v0.js → vue-ui-sparkstackbar-CYk3mZJH.js} +102 -105
  78. package/dist/{vue-ui-stackbar-gG5BLlAr.js → vue-ui-stackbar-D9LGbuG5.js} +433 -437
  79. package/dist/{vue-ui-strip-plot-BJouRmxh.js → vue-ui-strip-plot-C5r1Ee2R.js} +245 -252
  80. package/dist/{vue-ui-table-D9Ry8s4N.js → vue-ui-table-DBaT_TfA.js} +3 -3
  81. package/dist/{vue-ui-table-heatmap-Bizzpi31.js → vue-ui-table-heatmap-CYW4YfKN.js} +93 -94
  82. package/dist/{vue-ui-table-sparkline-Dg54Ovs2.js → vue-ui-table-sparkline-Di0MYR4p.js} +212 -212
  83. package/dist/{vue-ui-thermometer-6MSdF_Gm.js → vue-ui-thermometer-BF1btHY2.js} +154 -157
  84. package/dist/{vue-ui-timer-ByaKokk8.js → vue-ui-timer-D9FfRWN5.js} +180 -181
  85. package/dist/vue-ui-tiremarks-CQ0lk8fJ.js +341 -0
  86. package/dist/vue-ui-treemap-1Lx7YRtc.js +947 -0
  87. package/dist/{vue-ui-vertical-bar-CE4oBwBv.js → vue-ui-vertical-bar-DdVVQ1ED.js} +397 -403
  88. package/dist/{vue-ui-waffle-DNEEnY_G.js → vue-ui-waffle-BhnuPiRD.js} +317 -324
  89. package/dist/vue-ui-wheel-BIjJ0fg8.js +335 -0
  90. package/dist/vue-ui-word-cloud-3-r8HwO_.js +642 -0
  91. package/dist/{vue-ui-world-Brhq17TE.js → vue-ui-world-CPIGEswq.js} +430 -442
  92. package/dist/{vue-ui-xy-K2G7QQxG.js → vue-ui-xy-9e_epIN4.js} +845 -846
  93. package/dist/vue-ui-xy-canvas-DcGgQ7s4.js +1206 -0
  94. package/package.json +6 -6
  95. package/dist/BaseDraggableDialog-Bzwlfmy1.js +0 -186
  96. package/dist/PackageVersion-BjrblLPQ.js +0 -10
  97. package/dist/Tooltip-CWmRmhJr.js +0 -158
  98. package/dist/useChartAccessibility-BWojgys7.js +0 -13
  99. package/dist/vue-ui-circle-pack-D_jYpsuD.js +0 -659
  100. package/dist/vue-ui-donut-WRUDvvZa.js +0 -1292
  101. package/dist/vue-ui-donut-evolution-BQxV5D_L.js +0 -871
  102. package/dist/vue-ui-molecule-Bq69N7rC.js +0 -782
  103. package/dist/vue-ui-relation-circle-T6aTibIU.js +0 -528
  104. package/dist/vue-ui-sparkline-D__GCUAz.js +0 -519
  105. package/dist/vue-ui-tiremarks-Z8pjUT1g.js +0 -344
  106. package/dist/vue-ui-treemap-pRJ3be5l.js +0 -956
  107. package/dist/vue-ui-wheel-DWPYZxdT.js +0 -338
  108. package/dist/vue-ui-word-cloud-DAR7R8F8.js +0 -648
  109. package/dist/vue-ui-xy-canvas-ml44sPHS.js +0 -1673
@@ -1,338 +0,0 @@
1
- import { computed as f, ref as c, watch as J, onMounted as he, onBeforeUnmount as de, createElementBlock as v, openBlock as n, unref as s, normalizeStyle as S, createBlock as _, createCommentVNode as h, createSlots as ye, withCtx as g, renderSlot as y, normalizeProps as $, guardReactiveProps as O, normalizeClass as z, createVNode as fe, Fragment as K, renderList as Q, toDisplayString as pe } from "vue";
2
- import { u as ge, c as me, a as ke, o as we, e as be, w as Z, m as Ce, X as _e, i as $e, v as ee, f as Oe } from "./index-BFzQMJda.js";
3
- import { _ as Ie } from "./Title-CzaCeCOm.js";
4
- import { u as xe, U as Ae } from "./usePrinter-C5bLp34h.js";
5
- import { t as Fe, u as Pe } from "./useResponsive-JZ9xq-JV.js";
6
- import Se from "./vue-ui-skeleton-B_YI7Yuc.js";
7
- import { u as te } from "./useNestedProp-v7KPpwuP.js";
8
- import { _ as ze } from "./PackageVersion-BjrblLPQ.js";
9
- import { _ as Me } from "./PenAndPaper-BkP3J-Ft.js";
10
- import { u as Te } from "./useUserOptionState-BIvW1Kz7.js";
11
- import { u as Ne } from "./useChartAccessibility-BWojgys7.js";
12
- import { _ as Re } from "./_plugin-vue_export-helper-CHgC5LLL.js";
13
- const Ue = ["id"], Xe = ["xmlns", "viewBox"], Le = ["width", "height"], Be = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-linecap"], Ee = ["d", "fill"], Ge = ["cx", "cy", "r", "stroke", "stroke-width"], je = ["x", "y", "font-size", "fill", "font-weight"], De = {
14
- key: 5,
15
- class: "vue-data-ui-watermark"
16
- }, Ye = {
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(ae, { expose: le }) {
33
- const { vue_ui_wheel: oe } = ge(), d = ae, I = f(() => !!d.dataset && Object.keys(d.dataset).length), x = c(me()), se = c(null), M = c(0), m = c(null), T = c(null), N = c(null), R = c(null), U = c(0), e = f({
34
- get: () => E(),
35
- set: (t) => t
36
- }), { userOptionsVisible: A, setUserOptionsVisibility: X, keepUserOptionState: L } = Te({ config: e.value }), { svgRef: B } = Ne({ config: e.value.style.chart.title });
37
- function E() {
38
- const t = te({
39
- userConfig: d.config,
40
- defaultConfig: oe
41
- });
42
- return t.theme ? {
43
- ...te({
44
- userConfig: ke.vue_ui_wheel[t.theme] || d.config,
45
- defaultConfig: t
46
- })
47
- } : t;
48
- }
49
- J(() => d.config, (t) => {
50
- e.value = E(), A.value = !e.value.userOptions.showOnChartHover, W(), U.value += 1;
51
- }, { deep: !0 });
52
- const { isPrinting: G, isImaging: j, generatePdf: D, generateImage: Y } = xe({
53
- elementId: x.value,
54
- fileName: e.value.style.chart.title.text || "vue-ui-wheel",
55
- options: e.value.userOptions.print
56
- }), ne = f(() => e.value.userOptions.show && !e.value.style.chart.title.text), l = c({
57
- size: 360,
58
- height: 360,
59
- width: 360
60
- }), F = c(e.value.style.chart.layout.percentage.fontSize), u = f(() => ({
61
- radius: Math.min(l.value.width, l.value.height) * 0.9 / 2,
62
- centerX: l.value.width / 2,
63
- centerY: l.value.height / 2
64
- }));
65
- function H(t, o = 1) {
66
- return {
67
- x: u.value.centerX + u.value.radius * Math.cos(29.85 + t * Math.PI / 180) * o,
68
- y: u.value.centerY + u.value.radius * Math.sin(29.85 + t * Math.PI / 180) * o
69
- };
70
- }
71
- const r = c(e.value.style.chart.animation.use ? 0 : d.dataset.percentage || 0);
72
- J(() => d.dataset, (t) => {
73
- e.value.style.chart.animation.use ? q(t.percentage) : r.value = t.percentage || 0;
74
- }, { deep: !0 });
75
- const k = c(null);
76
- he(() => {
77
- W();
78
- });
79
- function W() {
80
- if (we(d.dataset) && be({
81
- componentName: "VueUiWheel",
82
- type: "dataset"
83
- }), q(d.dataset.percentage || 0), e.value.responsive) {
84
- const t = Fe(() => {
85
- const { width: o, height: a } = Pe({
86
- chart: m.value,
87
- title: e.value.style.chart.title.text ? T.value : null,
88
- source: N.value,
89
- noTitle: R.value
90
- });
91
- requestAnimationFrame(() => {
92
- l.value.width = o, l.value.height = a, F.value = e.value.style.chart.layout.percentage.fontSize / 360 * Math.min(o, a);
93
- });
94
- });
95
- k.value = new ResizeObserver(t), k.value.observe(m.value.parentNode);
96
- }
97
- }
98
- de(() => {
99
- k.value && k.value.disconnect();
100
- });
101
- function q(t) {
102
- let o = e.value.style.chart.animation.speed;
103
- const a = Math.abs(t - r.value) / (o * 120);
104
- function i() {
105
- r.value < t ? r.value = Math.min(r.value + a, t) : r.value > t && (r.value = Math.max(r.value - a, t)), r.value !== t && requestAnimationFrame(i);
106
- }
107
- i();
108
- }
109
- const p = f(() => Math.max(100, e.value.style.chart.layout.wheel.ticks.quantity)), w = f(() => 100 / p.value), V = f(() => {
110
- const t = [];
111
- for (let o = 0; o < p.value; o += 1) {
112
- const a = r.value > o * w.value ? e.value.style.chart.layout.wheel.ticks.activeColor : e.value.style.chart.layout.wheel.ticks.inactiveColor, { x: i, y: ie } = H(l.value.size / p.value * o), { x: ce, y: ve } = H(l.value.size / p.value * o, e.value.style.chart.layout.wheel.ticks.sizeRatio);
113
- t.push({
114
- x1: i,
115
- y1: ie,
116
- x2: ce,
117
- y2: ve,
118
- color: e.value.style.chart.layout.wheel.ticks.gradient.show ? Z(a, o * w.value / p.value * (e.value.style.chart.layout.wheel.ticks.gradient.shiftHueIntensity / 100)) : a
119
- });
120
- }
121
- return t;
122
- }), ue = f(() => Ce({ series: V.value.map((t) => ({
123
- name: "",
124
- value: 1,
125
- color: t.color
126
- })) }, u.value.centerX, u.value.centerY, u.value.radius, u.value.radius, 1.99999, 2, 1, 360, 105.25, u.value.radius * (1 - e.value.style.chart.layout.wheel.ticks.sizeRatio))), b = c(!1);
127
- function re(t) {
128
- b.value = t, M.value += 1;
129
- }
130
- const C = c(!1);
131
- function P() {
132
- C.value = !C.value;
133
- }
134
- return le({
135
- generatePdf: D,
136
- generateImage: Y,
137
- toggleAnnotator: P
138
- }), (t, o) => (n(), v("div", {
139
- class: "vue-ui-wheel",
140
- ref_key: "wheelChart",
141
- ref: m,
142
- id: x.value,
143
- style: S(`font-family:${e.value.style.fontFamily};width:100%; text-align:center;background:${e.value.style.chart.backgroundColor};${e.value.responsive ? "height:100%" : ""}`),
144
- onMouseenter: o[0] || (o[0] = () => s(X)(!0)),
145
- onMouseleave: o[1] || (o[1] = () => s(X)(!1))
146
- }, [
147
- e.value.userOptions.buttons.annotator ? (n(), _(Me, {
148
- key: 0,
149
- svgRef: s(B),
150
- backgroundColor: e.value.style.chart.backgroundColor,
151
- color: e.value.style.chart.color,
152
- active: C.value,
153
- onClose: P
154
- }, null, 8, ["svgRef", "backgroundColor", "color", "active"])) : h("", !0),
155
- ne.value ? (n(), v("div", {
156
- key: 1,
157
- ref_key: "noTitle",
158
- ref: R,
159
- class: "vue-data-ui-no-title-space",
160
- style: "height:36px; width: 100%;background:transparent"
161
- }, null, 512)) : h("", !0),
162
- e.value.style.chart.title.text ? (n(), v("div", {
163
- key: 2,
164
- ref_key: "chartTitle",
165
- ref: T,
166
- style: "width:100%;background:transparent;padding-bottom:12px"
167
- }, [
168
- (n(), _(Ie, {
169
- key: `title_${U.value}`,
170
- config: {
171
- title: {
172
- cy: "wheel-title",
173
- ...e.value.style.chart.title
174
- },
175
- subtitle: {
176
- cy: "wheel-subtitle",
177
- ...e.value.style.chart.title.subtitle
178
- }
179
- }
180
- }, null, 8, ["config"]))
181
- ], 512)) : h("", !0),
182
- e.value.userOptions.show && I.value && (s(L) || s(A)) ? (n(), _(Ae, {
183
- ref_key: "details",
184
- ref: se,
185
- key: `user_options_${M.value}`,
186
- backgroundColor: e.value.style.chart.backgroundColor,
187
- color: e.value.style.chart.color,
188
- isPrinting: s(G),
189
- isImaging: s(j),
190
- uid: x.value,
191
- hasPdf: e.value.userOptions.buttons.pdf,
192
- hasImg: e.value.userOptions.buttons.img,
193
- hasFullscreen: e.value.userOptions.buttons.fullscreen,
194
- hasXls: !1,
195
- isFullscreen: b.value,
196
- position: e.value.userOptions.position,
197
- titles: { ...e.value.userOptions.buttonTitles },
198
- hasAnnotator: e.value.userOptions.buttons.annotator,
199
- isAnnotation: C.value,
200
- chartElement: m.value,
201
- onToggleFullscreen: re,
202
- onGeneratePdf: s(D),
203
- onGenerateImage: s(Y),
204
- onToggleAnnotator: P,
205
- style: S({
206
- visibility: s(L) ? s(A) ? "visible" : "hidden" : "visible"
207
- })
208
- }, ye({ _: 2 }, [
209
- t.$slots.menuIcon ? {
210
- name: "menuIcon",
211
- fn: g(({ isOpen: a, color: i }) => [
212
- y(t.$slots, "menuIcon", $(O({ isOpen: a, color: i })), void 0, !0)
213
- ]),
214
- key: "0"
215
- } : void 0,
216
- t.$slots.optionPdf ? {
217
- name: "optionPdf",
218
- fn: g(() => [
219
- y(t.$slots, "optionPdf", {}, void 0, !0)
220
- ]),
221
- key: "1"
222
- } : void 0,
223
- t.$slots.optionImg ? {
224
- name: "optionImg",
225
- fn: g(() => [
226
- y(t.$slots, "optionImg", {}, void 0, !0)
227
- ]),
228
- key: "2"
229
- } : void 0,
230
- t.$slots.optionFullscreen ? {
231
- name: "optionFullscreen",
232
- fn: g(({ toggleFullscreen: a, isFullscreen: i }) => [
233
- y(t.$slots, "optionFullscreen", $(O({ toggleFullscreen: a, isFullscreen: i })), void 0, !0)
234
- ]),
235
- key: "3"
236
- } : void 0,
237
- t.$slots.optionAnnotator ? {
238
- name: "optionAnnotator",
239
- fn: g(({ toggleAnnotator: a, isAnnotator: i }) => [
240
- y(t.$slots, "optionAnnotator", $(O({ toggleAnnotator: a, isAnnotator: i })), void 0, !0)
241
- ]),
242
- key: "4"
243
- } : void 0
244
- ]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasPdf", "hasImg", "hasFullscreen", "isFullscreen", "position", "titles", "hasAnnotator", "isAnnotation", "chartElement", "onGeneratePdf", "onGenerateImage", "style"])) : h("", !0),
245
- I.value ? (n(), v("svg", {
246
- key: 4,
247
- ref_key: "svgRef",
248
- ref: B,
249
- xmlns: s(_e),
250
- class: z({ "vue-data-ui-fullscreen--on": b.value, "vue-data-ui-fulscreen--off": !b.value }),
251
- viewBox: `0 0 ${l.value.width <= 0 ? 10 : l.value.width} ${l.value.height <= 0 ? 10 : l.value.height}`,
252
- style: S(`max-width:100%;overflow:visible;background:transparent;color:${e.value.style.chart.color}`)
253
- }, [
254
- fe(ze),
255
- t.$slots["chart-background"] ? (n(), v("foreignObject", {
256
- key: 0,
257
- x: 0,
258
- y: 0,
259
- width: l.value.width <= 0 ? 10 : l.value.width,
260
- height: l.value.height <= 0 ? 10 : l.value.height,
261
- style: {
262
- pointerEvents: "none"
263
- }
264
- }, [
265
- y(t.$slots, "chart-background", {}, void 0, !0)
266
- ], 8, Le)) : h("", !0),
267
- e.value.style.chart.layout.wheel.ticks.type === "classic" ? (n(!0), v(K, { key: 1 }, Q(V.value, (a, i) => (n(), v("line", {
268
- x1: a.x1,
269
- x2: a.x2,
270
- y1: a.y1,
271
- y2: a.y2,
272
- stroke: a.color,
273
- "stroke-width": e.value.style.chart.layout.wheel.ticks.strokeWidth / 360 * Math.min(l.value.width, l.value.height),
274
- "stroke-linecap": e.value.style.chart.layout.wheel.ticks.rounded ? "round" : "butt",
275
- class: z({ "vue-ui-tick-animated": e.value.style.chart.animation.use && i * w.value <= r.value })
276
- }, null, 10, Be))), 256)) : (n(!0), v(K, { key: 2 }, Q(ue.value, (a, i) => (n(), v("path", {
277
- d: a.arcSlice,
278
- fill: a.color,
279
- class: z({ "vue-ui-tick-animated": e.value.style.chart.animation.use && i * w.value <= r.value })
280
- }, null, 10, Ee))), 256)),
281
- e.value.style.chart.layout.innerCircle.show ? (n(), v("circle", {
282
- key: 3,
283
- cx: u.value.centerX,
284
- cy: u.value.centerY,
285
- r: u.value.radius * 0.8 <= 0 ? 1e-4 : u.value.radius * 0.8,
286
- stroke: e.value.style.chart.layout.innerCircle.stroke,
287
- "stroke-width": e.value.style.chart.layout.innerCircle.strokeWidth,
288
- fill: "none"
289
- }, null, 8, Ge)) : h("", !0),
290
- e.value.style.chart.layout.percentage.show ? (n(), v("text", {
291
- key: 4,
292
- x: u.value.centerX,
293
- y: u.value.centerY + F.value / 3,
294
- "font-size": F.value,
295
- fill: e.value.style.chart.layout.wheel.ticks.gradient.show ? s(Z)(e.value.style.chart.layout.wheel.ticks.activeColor, r.value / 100 * (e.value.style.chart.layout.wheel.ticks.gradient.shiftHueIntensity / 100)) : e.value.style.chart.layout.wheel.ticks.activeColor,
296
- "text-anchor": "middle",
297
- "font-weight": e.value.style.chart.layout.percentage.bold ? "bold" : "normal",
298
- style: { "font-variant-numeric": "tabluar-nums" }
299
- }, pe(s($e)(
300
- e.value.style.chart.layout.percentage.formatter,
301
- s(ee)(r.value),
302
- s(Oe)({
303
- v: s(ee)(r.value),
304
- s: "%",
305
- r: e.value.style.chart.layout.percentage.rounding
306
- })
307
- )), 9, je)) : h("", !0),
308
- y(t.$slots, "svg", { svg: l.value }, void 0, !0)
309
- ], 14, Xe)) : h("", !0),
310
- t.$slots.watermark ? (n(), v("div", De, [
311
- y(t.$slots, "watermark", $(O({ isPrinting: s(G) || s(j) })), void 0, !0)
312
- ])) : h("", !0),
313
- t.$slots.source ? (n(), v("div", {
314
- key: 6,
315
- ref_key: "source",
316
- ref: N,
317
- dir: "auto"
318
- }, [
319
- y(t.$slots, "source", {}, void 0, !0)
320
- ], 512)) : h("", !0),
321
- I.value ? h("", !0) : (n(), _(Se, {
322
- key: 7,
323
- config: {
324
- type: "wheel",
325
- style: {
326
- backgroundColor: e.value.style.chart.backgroundColor,
327
- wheel: {
328
- color: "#CCCCCC"
329
- }
330
- }
331
- }
332
- }, null, 8, ["config"]))
333
- ], 44, Ue));
334
- }
335
- }, ot = /* @__PURE__ */ Re(Ye, [["__scopeId", "data-v-0ab72261"]]);
336
- export {
337
- ot as default
338
- };