vue-data-ui 3.0.0-next.5 → 3.0.0-next.51

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 (116) hide show
  1. package/dist/{Arrow-6c56sGJ3.js → Arrow-BMGju2_w.js} +1 -1
  2. package/dist/{BaseDraggableDialog-y-BEzdTM.js → BaseDraggableDialog-ttBbgyGA.js} +2 -2
  3. package/dist/{BaseIcon-C-MP5EHV.js → BaseIcon-DBAQZ9vX.js} +1 -1
  4. package/dist/{useLoading-Bt5Doa8m.js → BaseScanner-DIK2NTdp.js} +11 -11
  5. package/dist/{ColorPicker-P7R8vBej.js → ColorPicker-BzrG0PPC.js} +2 -2
  6. package/dist/{DataTable-DD2pZIgh.js → DataTable-CdD7tKpP.js} +2 -2
  7. package/dist/{Legend-DZZeyx5j.js → Legend-BwFrIr1T.js} +2 -2
  8. package/dist/{NonSvgPenAndPaper-uETwt6yC.js → NonSvgPenAndPaper-7fQv8_3z.js} +3 -3
  9. package/dist/{PackageVersion-D3jqYZS6.js → PackageVersion-DQcP7Cwd.js} +1 -1
  10. package/dist/{PenAndPaper-Dy9zUXnw.js → PenAndPaper-Bf9A4qL1.js} +3 -3
  11. package/dist/{Shape-CFp_TwS5.js → Shape-DOpTDQGX.js} +43 -37
  12. package/dist/Slicer-CU5E8-Ee.js +602 -0
  13. package/dist/{SparkTooltip-BMV9aNLi.js → SparkTooltip-DlMDmeF6.js} +7 -7
  14. package/dist/{Title-zqtIOYc5.js → Title-3ACEciQv.js} +1 -1
  15. package/dist/{Tooltip-Bo30Qf34.js → Tooltip-D4AvFVyr.js} +23 -19
  16. package/dist/{UserOptions-Cgrlu96K.js → UserOptions-oB62jZT7.js} +2 -2
  17. package/dist/{dom-to-png-SVXVB8J4.js → dom-to-png-DYbPVI5z.js} +1 -1
  18. package/dist/{img-DJTFe-dE.js → img-Ck7tqm17.js} +1 -1
  19. package/dist/{index-DFSXaw69.js → index-DJKz3EWJ.js} +1598 -1216
  20. package/dist/{pdf-D-ie2h2J.js → pdf-p5i09caM.js} +1 -1
  21. package/dist/style.css +1 -1
  22. package/dist/types/vue-data-ui.d.cts +326 -14
  23. package/dist/types/vue-data-ui.d.ts +326 -14
  24. package/dist/useAutoSizeLabelsInsideViewbox-Cz_aX3xn.js +41 -0
  25. package/dist/{useNestedProp-CV3NndHa.js → useNestedProp-DoTKbeYP.js} +1 -1
  26. package/dist/{usePrinter-DXG9SdJr.js → usePrinter-Iy7FxhyL.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-DhThPvS0.js → vue-data-ui-qsd4viNh.js} +64 -64
  30. package/dist/vue-data-ui.js +30 -29
  31. package/dist/{vue-ui-3d-bar-C1M9fXQl.js → vue-ui-3d-bar-B4Yzjkm9.js} +6 -6
  32. package/dist/{vue-ui-accordion-B-PjY4U8.js → vue-ui-accordion-C0GWT8Ql.js} +3 -3
  33. package/dist/vue-ui-age-pyramid-CpM6j4zn.js +834 -0
  34. package/dist/{vue-ui-annotator-DauoYrzs.js → vue-ui-annotator-BiMqF0-h.js} +2 -2
  35. package/dist/vue-ui-bullet-Ceut2XIO.js +571 -0
  36. package/dist/vue-ui-candlestick-BuTIRR3U.js +999 -0
  37. package/dist/{vue-ui-carousel-table-B7i9TvuL.js → vue-ui-carousel-table-Ci_1ZoKD.js} +4 -4
  38. package/dist/{vue-ui-chestnut-D9HL_oAu.js → vue-ui-chestnut-Cuf0fg9v.js} +5 -5
  39. package/dist/{vue-ui-chord-BaEQ4_bQ.js → vue-ui-chord-BVRIWOiZ.js} +8 -8
  40. package/dist/{vue-ui-circle-pack-DumySU9s.js → vue-ui-circle-pack-BR5cI0BK.js} +26 -26
  41. package/dist/{vue-ui-cursor-D-88A6ue.js → vue-ui-cursor-DoIpdlLl.js} +2 -2
  42. package/dist/{vue-ui-dashboard-Br7MlswR.js → vue-ui-dashboard-BjBuMTeM.js} +62 -62
  43. package/dist/{vue-ui-digits-BMb2ZxN9.js → vue-ui-digits-C_JqOPx0.js} +2 -2
  44. package/dist/{vue-ui-donut-NZIGKCYr.js → vue-ui-donut-DXUQ0UP0.js} +401 -375
  45. package/dist/vue-ui-donut-evolution-BR6Xdy54.js +1075 -0
  46. package/dist/{vue-ui-dumbbell-B7jEqxUu.js → vue-ui-dumbbell-_JfspQwX.js} +7 -7
  47. package/dist/vue-ui-flow-BEnIvnRQ.js +841 -0
  48. package/dist/{vue-ui-funnel-BRfQjCk6.js → vue-ui-funnel-CyuziHMi.js} +6 -6
  49. package/dist/{vue-ui-galaxy-u0oNgjDP.js → vue-ui-galaxy-DcWvmZ6n.js} +60 -58
  50. package/dist/vue-ui-gauge-oN1N7b28.js +791 -0
  51. package/dist/{vue-ui-gizmo-6QSDxdTp.js → vue-ui-gizmo-Mqwbrfln.js} +3 -3
  52. package/dist/vue-ui-heatmap-Dhjk-00-.js +1078 -0
  53. package/dist/vue-ui-history-plot-BSJQ35vE.js +1073 -0
  54. package/dist/{vue-ui-kpi-DwOX2xG0.js → vue-ui-kpi-D0rfVSKA.js} +3 -3
  55. package/dist/{vue-ui-mini-loader-CrAhBt4w.js → vue-ui-mini-loader-Jp6LdxDx.js} +2 -2
  56. package/dist/{vue-ui-molecule-DVPFCYdv.js → vue-ui-molecule-CSXuV9bG.js} +46 -44
  57. package/dist/{vue-ui-mood-radar-BPCedEDi.js → vue-ui-mood-radar-im8oGB8C.js} +7 -7
  58. package/dist/vue-ui-nested-donuts-DnLmjykV.js +1286 -0
  59. package/dist/vue-ui-onion-Bk4zJ_9o.js +776 -0
  60. package/dist/vue-ui-parallel-coordinate-plot-C2595LWs.js +915 -0
  61. package/dist/{vue-ui-quadrant-CRR0XJzp.js → vue-ui-quadrant-BmJdsTsT.js} +59 -57
  62. package/dist/vue-ui-quick-chart-D9TOJnI3.js +1761 -0
  63. package/dist/{vue-ui-radar-Fxk4Nq3_.js → vue-ui-radar-DTm1lF8I.js} +12 -10
  64. package/dist/{vue-ui-rating-EwwvsCi3.js → vue-ui-rating-BdMFk64J.js} +2 -2
  65. package/dist/{vue-ui-relation-circle-DB7plTEJ.js → vue-ui-relation-circle-CPJ8D3Kg.js} +6 -6
  66. package/dist/vue-ui-ridgeline-C4mCCqFj.js +1153 -0
  67. package/dist/vue-ui-rings-CAXGp0RS.js +728 -0
  68. package/dist/vue-ui-scatter-DgFXq8bL.js +1178 -0
  69. package/dist/{vue-ui-skeleton-1OErZL6t.js → vue-ui-skeleton-B-rmcfy0.js} +3 -3
  70. package/dist/{vue-ui-smiley-C_8dvJDX.js → vue-ui-smiley-r_P2OEcO.js} +2 -2
  71. package/dist/{vue-ui-spark-trend-Ds3apeYN.js → vue-ui-spark-trend-DQDvNfRA.js} +6 -6
  72. package/dist/{vue-ui-sparkbar-NpyQVY-J.js → vue-ui-sparkbar-68lw7dCX.js} +3 -3
  73. package/dist/{vue-ui-sparkgauge-BYHhBxke.js → vue-ui-sparkgauge-BymOwBcd.js} +3 -3
  74. package/dist/{vue-ui-sparkhistogram-DFbQ-g2X.js → vue-ui-sparkhistogram-q1Yk5jCv.js} +4 -4
  75. package/dist/vue-ui-sparkline-D8DYc1V7.js +489 -0
  76. package/dist/{vue-ui-sparkstackbar-BxMFKBBt.js → vue-ui-sparkstackbar-DOGkUFjJ.js} +55 -53
  77. package/dist/vue-ui-stackbar-7Xj5uhuM.js +1370 -0
  78. package/dist/{vue-ui-strip-plot-Crml8nCi.js → vue-ui-strip-plot-CAnsn0VI.js} +30 -28
  79. package/dist/{vue-ui-table-C3lxyo1m.js → vue-ui-table-D3CUOPTQ.js} +11 -11
  80. package/dist/{vue-ui-table-heatmap-DYgu1wOK.js → vue-ui-table-heatmap-BZVJgTWg.js} +5 -5
  81. package/dist/{vue-ui-table-sparkline-B_eROo0E.js → vue-ui-table-sparkline-Du1BvydE.js} +4 -4
  82. package/dist/{vue-ui-thermometer-Dn8-68zJ.js → vue-ui-thermometer-CcRtjSqY.js} +6 -6
  83. package/dist/{vue-ui-timer-CREgpYVZ.js → vue-ui-timer-DacMmmiu.js} +5 -5
  84. package/dist/vue-ui-tiremarks-BtYB3Ynv.js +406 -0
  85. package/dist/vue-ui-treemap-ZpdTWlqY.js +1035 -0
  86. package/dist/{vue-ui-vertical-bar-BYtbI3Eq.js → vue-ui-vertical-bar-BTk4W7w-.js} +322 -306
  87. package/dist/vue-ui-waffle-Fa9tb_rV.js +910 -0
  88. package/dist/vue-ui-wheel-4Z4eLQhc.js +379 -0
  89. package/dist/{vue-ui-word-cloud-DBJueUIP.js → vue-ui-word-cloud-DoaJFhqN.js} +12 -10
  90. package/dist/{vue-ui-world-DR6IEkat.js → vue-ui-world-Dz9YUEEG.js} +11 -9
  91. package/dist/vue-ui-xy-D5RVw5D0.js +3760 -0
  92. package/dist/{vue-ui-xy-canvas-C2k2SOVa.js → vue-ui-xy-canvas-DzDX5ysJ.js} +265 -264
  93. package/package.json +1 -1
  94. package/dist/Slicer-Bba4UfIm.js +0 -577
  95. package/dist/vue-ui-age-pyramid-Bt0KEjza.js +0 -746
  96. package/dist/vue-ui-bullet-CWxvbrat.js +0 -513
  97. package/dist/vue-ui-candlestick-BmYaA6wk.js +0 -873
  98. package/dist/vue-ui-donut-evolution-D38U9QxB.js +0 -903
  99. package/dist/vue-ui-flow-k4KjXCTn.js +0 -765
  100. package/dist/vue-ui-gauge-DUpSrOgm.js +0 -738
  101. package/dist/vue-ui-heatmap-CqqXcJ8F.js +0 -877
  102. package/dist/vue-ui-history-plot-BiC39PhQ.js +0 -924
  103. package/dist/vue-ui-nested-donuts-C2kl6581.js +0 -1177
  104. package/dist/vue-ui-onion-Dk3OUNGJ.js +0 -701
  105. package/dist/vue-ui-parallel-coordinate-plot-B-r0h3BM.js +0 -807
  106. package/dist/vue-ui-quick-chart-CS-Uk49C.js +0 -1612
  107. package/dist/vue-ui-ridgeline-D55xotqc.js +0 -969
  108. package/dist/vue-ui-rings-D6gr6DBO.js +0 -685
  109. package/dist/vue-ui-scatter-hFI2YfFt.js +0 -1045
  110. package/dist/vue-ui-sparkline-CiVlvGOI.js +0 -459
  111. package/dist/vue-ui-stackbar-DHsxlaNI.js +0 -1207
  112. package/dist/vue-ui-tiremarks-DrFKdGSj.js +0 -358
  113. package/dist/vue-ui-treemap-C1m-cAh0.js +0 -965
  114. package/dist/vue-ui-waffle-Cr0JqMuU.js +0 -863
  115. package/dist/vue-ui-wheel-CUgfhL9p.js +0 -352
  116. package/dist/vue-ui-xy-BCFKGTws.js +0 -2980
@@ -0,0 +1,379 @@
1
+ import { defineAsyncComponent as N, computed as y, ref as v, toRefs as Ce, watch as ae, shallowRef as le, onMounted as Ae, onBeforeUnmount as _e, createElementBlock as c, openBlock as o, unref as l, normalizeStyle as R, createBlock as O, createCommentVNode as h, createSlots as Oe, withCtx as b, renderSlot as d, normalizeProps as I, guardReactiveProps as $, normalizeClass as U, createVNode as Ie, Fragment as ne, renderList as se, toDisplayString as $e } from "vue";
2
+ import { u as xe, c as Pe, v as Se, a as Fe, o as ze, e as Te, x as oe, m as Me, X as Ne, i as Re, w as ue, f as Ue } from "./index-DJKz3EWJ.js";
3
+ import { t as Be, u as Ee } from "./useResponsive-DfdjqQps.js";
4
+ import { u as ie } from "./useNestedProp-DoTKbeYP.js";
5
+ import { u as Le } from "./usePrinter-Iy7FxhyL.js";
6
+ import { u as Xe } from "./useUserOptionState-BIvW1Kz7.js";
7
+ import { u as De } from "./useChartAccessibility-9icAAmYg.js";
8
+ import Ge from "./Title-3ACEciQv.js";
9
+ import Ye from "./img-Ck7tqm17.js";
10
+ import { u as je, B as He } from "./BaseScanner-DIK2NTdp.js";
11
+ import { _ as We } from "./_plugin-vue_export-helper-CHgC5LLL.js";
12
+ const qe = ["id"], Ve = ["xmlns", "viewBox"], Je = ["width", "height"], Ke = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-linecap"], Qe = ["d", "fill"], Ze = ["cx", "cy", "r", "stroke", "stroke-width"], et = { key: 4 }, tt = ["x", "y", "height"], at = ["x", "y", "font-size", "fill", "font-weight"], lt = {
13
+ key: 4,
14
+ class: "vue-data-ui-watermark"
15
+ }, nt = {
16
+ __name: "vue-ui-wheel",
17
+ props: {
18
+ config: {
19
+ type: Object,
20
+ default() {
21
+ return {};
22
+ }
23
+ },
24
+ dataset: {
25
+ type: Object,
26
+ default() {
27
+ return {};
28
+ }
29
+ }
30
+ },
31
+ setup(re, { expose: ce }) {
32
+ const ve = N(() => import("./PenAndPaper-Bf9A4qL1.js")), he = N(() => import("./UserOptions-oB62jZT7.js")), de = N(() => import("./PackageVersion-DQcP7Cwd.js")), { vue_ui_wheel: fe } = xe(), g = re, ye = y(() => !!g.dataset && Object.keys(g.dataset).length), x = v(Pe()), ge = v(null), B = v(0), p = v(null), E = v(null), L = v(null), X = v(null), D = v(0), e = v(F()), { loading: G, FINAL_DATASET: P } = je({
33
+ ...Ce(g),
34
+ FINAL_CONFIG: e,
35
+ prepareConfig: F,
36
+ skeletonDataset: { percentage: 50 },
37
+ skeletonConfig: Se({
38
+ defaultConfig: e.value,
39
+ userConfig: {
40
+ userOptions: { show: !1 },
41
+ style: {
42
+ chart: {
43
+ backgroundColor: "#99999930",
44
+ animation: { use: !1 },
45
+ layout: {
46
+ wheel: {
47
+ ticks: {
48
+ activeColor: "#6A6A6A80",
49
+ inactiveColor: "#CACACA80"
50
+ }
51
+ },
52
+ innerCircle: {
53
+ stroke: "#CACACA80"
54
+ }
55
+ }
56
+ }
57
+ }
58
+ }
59
+ })
60
+ }), { userOptionsVisible: S, setUserOptionsVisibility: Y, keepUserOptionState: j } = Xe({ config: e.value }), { svgRef: H } = De({ config: e.value.style.chart.title });
61
+ function F() {
62
+ const t = ie({
63
+ userConfig: g.config,
64
+ defaultConfig: fe
65
+ });
66
+ return t.theme ? {
67
+ ...ie({
68
+ userConfig: Fe.vue_ui_wheel[t.theme] || g.config,
69
+ defaultConfig: t
70
+ })
71
+ } : t;
72
+ }
73
+ ae(() => g.config, (t) => {
74
+ e.value = F(), S.value = !e.value.userOptions.showOnChartHover, Q(), D.value += 1;
75
+ }, { deep: !0 });
76
+ const { isPrinting: W, isImaging: q, generatePdf: V, generateImage: J } = Le({
77
+ elementId: x.value,
78
+ fileName: e.value.style.chart.title.text || "vue-ui-wheel",
79
+ options: e.value.userOptions.print
80
+ }), pe = y(() => e.value.userOptions.show && !e.value.style.chart.title.text), s = v({
81
+ size: 360,
82
+ height: 360,
83
+ width: 360
84
+ }), k = v(e.value.style.chart.layout.percentage.fontSize), u = y(() => ({
85
+ radius: Math.min(s.value.width, s.value.height) * 0.9 / 2,
86
+ centerX: s.value.width / 2,
87
+ centerY: s.value.height / 2
88
+ }));
89
+ function K(t, n = 1) {
90
+ return {
91
+ x: u.value.centerX + u.value.radius * Math.cos(29.85 + t * Math.PI / 180) * n,
92
+ y: u.value.centerY + u.value.radius * Math.sin(29.85 + t * Math.PI / 180) * n
93
+ };
94
+ }
95
+ const r = v(e.value.style.chart.animation.use ? 0 : P.value.percentage || 0);
96
+ ae(() => P.value, (t) => {
97
+ e.value.style.chart.animation.use ? Z(t.percentage) : r.value = t.percentage || 0;
98
+ }, { deep: !0 });
99
+ const f = le(null), m = le(null);
100
+ Ae(() => {
101
+ Q();
102
+ });
103
+ const me = y(() => !!e.value.debug);
104
+ function Q() {
105
+ if (ze(g.dataset) && Te({
106
+ componentName: "VueUiWheel",
107
+ type: "dataset",
108
+ debug: me.value
109
+ }), e.value.responsive) {
110
+ const t = Be(() => {
111
+ const { width: n, height: a } = Ee({
112
+ chart: p.value,
113
+ title: e.value.style.chart.title.text ? E.value : null,
114
+ source: L.value,
115
+ noTitle: X.value
116
+ });
117
+ requestAnimationFrame(() => {
118
+ s.value.width = n, s.value.height = a, k.value = e.value.style.chart.layout.percentage.fontSize / 360 * Math.min(n, a);
119
+ });
120
+ });
121
+ f.value && (m.value && f.value.unobserve(m.value), f.value.disconnect()), f.value = new ResizeObserver(t), m.value = p.value.parentNode, f.value.observe(m.value);
122
+ }
123
+ Z(P.value.percentage || 0);
124
+ }
125
+ _e(() => {
126
+ f.value && (m.value && f.value.unobserve(m.value), f.value.disconnect());
127
+ });
128
+ function Z(t) {
129
+ let n = e.value.style.chart.animation.speed;
130
+ const a = Math.abs(t - r.value) / (n * 120);
131
+ function i() {
132
+ 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);
133
+ }
134
+ i();
135
+ }
136
+ const w = y(() => Math.max(100, e.value.style.chart.layout.wheel.ticks.quantity)), C = y(() => 100 / w.value), ee = y(() => {
137
+ const t = [];
138
+ for (let n = 0; n < w.value; n += 1) {
139
+ const a = r.value > n * C.value ? e.value.style.chart.layout.wheel.ticks.activeColor : e.value.style.chart.layout.wheel.ticks.inactiveColor, { x: i, y: T } = K(s.value.size / w.value * n), { x: M, y: be } = K(s.value.size / w.value * n, e.value.style.chart.layout.wheel.ticks.sizeRatio);
140
+ t.push({
141
+ x1: i,
142
+ y1: T,
143
+ x2: M,
144
+ y2: be,
145
+ color: e.value.style.chart.layout.wheel.ticks.gradient.show ? oe(a, n * C.value / w.value * (e.value.style.chart.layout.wheel.ticks.gradient.shiftHueIntensity / 100)) : a
146
+ });
147
+ }
148
+ return t;
149
+ }), ke = y(() => Me({ series: ee.value.map((t) => ({
150
+ name: "",
151
+ value: 1,
152
+ color: t.color
153
+ })) }, 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))), A = v(!1);
154
+ function te(t) {
155
+ A.value = t, B.value += 1;
156
+ }
157
+ const _ = v(!1);
158
+ function z() {
159
+ _.value = !_.value;
160
+ }
161
+ async function we({ scale: t = 2 } = {}) {
162
+ if (!p.value) return;
163
+ const { width: n, height: a } = p.value.getBoundingClientRect(), i = n / a, { imageUri: T, base64: M } = await Ye({ domElement: p.value, base64: !0, img: !0, scale: t });
164
+ return {
165
+ imageUri: T,
166
+ base64: M,
167
+ title: e.value.style.chart.title.text,
168
+ width: n,
169
+ height: a,
170
+ aspectRatio: i
171
+ };
172
+ }
173
+ return ce({
174
+ getImage: we,
175
+ generatePdf: V,
176
+ generateImage: J,
177
+ toggleAnnotator: z,
178
+ toggleFullscreen: te
179
+ }), (t, n) => (o(), c("div", {
180
+ class: "vue-ui-wheel",
181
+ ref_key: "wheelChart",
182
+ ref: p,
183
+ id: x.value,
184
+ style: R(`font-family:${e.value.style.fontFamily};width:100%; text-align:center;background:${e.value.style.chart.backgroundColor};${e.value.responsive ? "height:100%" : ""}`),
185
+ onMouseenter: n[0] || (n[0] = () => l(Y)(!0)),
186
+ onMouseleave: n[1] || (n[1] = () => l(Y)(!1))
187
+ }, [
188
+ e.value.userOptions.buttons.annotator ? (o(), O(l(ve), {
189
+ key: 0,
190
+ svgRef: l(H),
191
+ backgroundColor: e.value.style.chart.backgroundColor,
192
+ color: e.value.style.chart.color,
193
+ active: _.value,
194
+ onClose: z
195
+ }, null, 8, ["svgRef", "backgroundColor", "color", "active"])) : h("", !0),
196
+ pe.value ? (o(), c("div", {
197
+ key: 1,
198
+ ref_key: "noTitle",
199
+ ref: X,
200
+ class: "vue-data-ui-no-title-space",
201
+ style: "height:36px; width: 100%;background:transparent"
202
+ }, null, 512)) : h("", !0),
203
+ e.value.style.chart.title.text ? (o(), c("div", {
204
+ key: 2,
205
+ ref_key: "chartTitle",
206
+ ref: E,
207
+ style: "width:100%;background:transparent;padding-bottom:12px"
208
+ }, [
209
+ (o(), O(Ge, {
210
+ key: `title_${D.value}`,
211
+ config: {
212
+ title: {
213
+ cy: "wheel-title",
214
+ ...e.value.style.chart.title
215
+ },
216
+ subtitle: {
217
+ cy: "wheel-subtitle",
218
+ ...e.value.style.chart.title.subtitle
219
+ }
220
+ }
221
+ }, null, 8, ["config"]))
222
+ ], 512)) : h("", !0),
223
+ e.value.userOptions.show && ye.value && (l(j) || l(S)) ? (o(), O(l(he), {
224
+ ref_key: "details",
225
+ ref: ge,
226
+ key: `user_options_${B.value}`,
227
+ backgroundColor: e.value.style.chart.backgroundColor,
228
+ color: e.value.style.chart.color,
229
+ isPrinting: l(W),
230
+ isImaging: l(q),
231
+ uid: x.value,
232
+ hasPdf: e.value.userOptions.buttons.pdf,
233
+ hasImg: e.value.userOptions.buttons.img,
234
+ hasFullscreen: e.value.userOptions.buttons.fullscreen,
235
+ hasXls: !1,
236
+ isFullscreen: A.value,
237
+ position: e.value.userOptions.position,
238
+ titles: { ...e.value.userOptions.buttonTitles },
239
+ hasAnnotator: e.value.userOptions.buttons.annotator,
240
+ isAnnotation: _.value,
241
+ chartElement: p.value,
242
+ callbacks: e.value.userOptions.callbacks,
243
+ printScale: e.value.userOptions.print.scale,
244
+ onToggleFullscreen: te,
245
+ onGeneratePdf: l(V),
246
+ onGenerateImage: l(J),
247
+ onToggleAnnotator: z,
248
+ style: R({
249
+ visibility: l(j) ? l(S) ? "visible" : "hidden" : "visible"
250
+ })
251
+ }, Oe({ _: 2 }, [
252
+ t.$slots.menuIcon ? {
253
+ name: "menuIcon",
254
+ fn: b(({ isOpen: a, color: i }) => [
255
+ d(t.$slots, "menuIcon", I($({ isOpen: a, color: i })), void 0, !0)
256
+ ]),
257
+ key: "0"
258
+ } : void 0,
259
+ t.$slots.optionPdf ? {
260
+ name: "optionPdf",
261
+ fn: b(() => [
262
+ d(t.$slots, "optionPdf", {}, void 0, !0)
263
+ ]),
264
+ key: "1"
265
+ } : void 0,
266
+ t.$slots.optionImg ? {
267
+ name: "optionImg",
268
+ fn: b(() => [
269
+ d(t.$slots, "optionImg", {}, void 0, !0)
270
+ ]),
271
+ key: "2"
272
+ } : void 0,
273
+ t.$slots.optionFullscreen ? {
274
+ name: "optionFullscreen",
275
+ fn: b(({ toggleFullscreen: a, isFullscreen: i }) => [
276
+ d(t.$slots, "optionFullscreen", I($({ toggleFullscreen: a, isFullscreen: i })), void 0, !0)
277
+ ]),
278
+ key: "3"
279
+ } : void 0,
280
+ t.$slots.optionAnnotator ? {
281
+ name: "optionAnnotator",
282
+ fn: b(({ toggleAnnotator: a, isAnnotator: i }) => [
283
+ d(t.$slots, "optionAnnotator", I($({ toggleAnnotator: a, isAnnotator: i })), void 0, !0)
284
+ ]),
285
+ key: "4"
286
+ } : void 0
287
+ ]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasPdf", "hasImg", "hasFullscreen", "isFullscreen", "position", "titles", "hasAnnotator", "isAnnotation", "chartElement", "callbacks", "printScale", "onGeneratePdf", "onGenerateImage", "style"])) : h("", !0),
288
+ (o(), c("svg", {
289
+ ref_key: "svgRef",
290
+ ref: H,
291
+ xmlns: l(Ne),
292
+ class: U({ "vue-data-ui-fullscreen--on": A.value, "vue-data-ui-fulscreen--off": !A.value }),
293
+ viewBox: `0 0 ${s.value.width <= 0 ? 10 : s.value.width} ${s.value.height <= 0 ? 10 : s.value.height}`,
294
+ style: R(`max-width:100%;overflow:visible;background:transparent;color:${e.value.style.chart.color}`)
295
+ }, [
296
+ Ie(l(de)),
297
+ t.$slots["chart-background"] ? (o(), c("foreignObject", {
298
+ key: 0,
299
+ x: 0,
300
+ y: 0,
301
+ width: s.value.width <= 0 ? 10 : s.value.width,
302
+ height: s.value.height <= 0 ? 10 : s.value.height,
303
+ style: {
304
+ pointerEvents: "none"
305
+ }
306
+ }, [
307
+ d(t.$slots, "chart-background", {}, void 0, !0)
308
+ ], 8, Je)) : h("", !0),
309
+ e.value.style.chart.layout.wheel.ticks.type === "classic" ? (o(!0), c(ne, { key: 1 }, se(ee.value, (a, i) => (o(), c("line", {
310
+ x1: a.x1,
311
+ x2: a.x2,
312
+ y1: a.y1,
313
+ y2: a.y2,
314
+ stroke: a.color,
315
+ "stroke-width": e.value.style.chart.layout.wheel.ticks.strokeWidth / 360 * Math.min(s.value.width, s.value.height),
316
+ "stroke-linecap": e.value.style.chart.layout.wheel.ticks.rounded ? "round" : "butt",
317
+ class: U({ "vue-ui-tick-animated": e.value.style.chart.animation.use && i * C.value <= r.value })
318
+ }, null, 10, Ke))), 256)) : (o(!0), c(ne, { key: 2 }, se(ke.value, (a, i) => (o(), c("path", {
319
+ d: a.arcSlice,
320
+ fill: a.color,
321
+ class: U({ "vue-ui-tick-animated": e.value.style.chart.animation.use && i * C.value <= r.value })
322
+ }, null, 10, Qe))), 256)),
323
+ e.value.style.chart.layout.innerCircle.show ? (o(), c("circle", {
324
+ key: 3,
325
+ cx: u.value.centerX,
326
+ cy: u.value.centerY,
327
+ r: u.value.radius * 0.8 <= 0 ? 1e-4 : u.value.radius * 0.8,
328
+ stroke: e.value.style.chart.layout.innerCircle.stroke,
329
+ "stroke-width": e.value.style.chart.layout.innerCircle.strokeWidth,
330
+ fill: "none"
331
+ }, null, 8, Ze)) : h("", !0),
332
+ e.value.style.chart.layout.percentage.show ? (o(), c("g", et, [
333
+ l(G) ? (o(), c("rect", {
334
+ key: 0,
335
+ x: u.value.centerX - 40,
336
+ y: u.value.centerY - k.value / 2,
337
+ width: 80,
338
+ height: k.value,
339
+ fill: "#6A6A6A80",
340
+ rx: "3"
341
+ }, null, 8, tt)) : (o(), c("text", {
342
+ key: 1,
343
+ x: u.value.centerX,
344
+ y: u.value.centerY + k.value / 3,
345
+ "font-size": k.value,
346
+ fill: e.value.style.chart.layout.wheel.ticks.gradient.show ? l(oe)(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,
347
+ "text-anchor": "middle",
348
+ "font-weight": e.value.style.chart.layout.percentage.bold ? "bold" : "normal",
349
+ style: { "font-variant-numeric": "tabluar-nums" }
350
+ }, $e(l(Re)(
351
+ e.value.style.chart.layout.percentage.formatter,
352
+ l(ue)(r.value),
353
+ l(Ue)({
354
+ v: l(ue)(r.value),
355
+ s: "%",
356
+ r: e.value.style.chart.layout.percentage.rounding
357
+ })
358
+ )), 9, at))
359
+ ])) : h("", !0),
360
+ d(t.$slots, "svg", { svg: s.value }, void 0, !0)
361
+ ], 14, Ve)),
362
+ t.$slots.watermark ? (o(), c("div", lt, [
363
+ d(t.$slots, "watermark", I($({ isPrinting: l(W) || l(q) })), void 0, !0)
364
+ ])) : h("", !0),
365
+ t.$slots.source ? (o(), c("div", {
366
+ key: 5,
367
+ ref_key: "source",
368
+ ref: L,
369
+ dir: "auto"
370
+ }, [
371
+ d(t.$slots, "source", {}, void 0, !0)
372
+ ], 512)) : h("", !0),
373
+ l(G) ? (o(), O(He, { key: 6 })) : h("", !0)
374
+ ], 44, qe));
375
+ }
376
+ }, gt = /* @__PURE__ */ We(nt, [["__scopeId", "data-v-11683b00"]]);
377
+ export {
378
+ gt as default
379
+ };
@@ -1,13 +1,13 @@
1
1
  import { useCssVars as Ue, defineAsyncComponent as H, computed as se, ref as g, watch as be, shallowRef as Me, onMounted as De, onBeforeUnmount as Ge, createElementBlock as N, openBlock as T, unref as r, normalizeStyle as he, createBlock as ie, createCommentVNode as Y, createVNode as we, createSlots as Le, withCtx as A, renderSlot as M, normalizeProps as Q, guardReactiveProps as ee, normalizeClass as Pe, createElementVNode as ke, Fragment as He, renderList as je, toDisplayString as ze, createTextVNode as qe, nextTick as Oe } from "vue";
2
- import { u as Ze, c as Ae, al as Je, v as Ke, t as Qe, p as me, a as et, o as tt, e as Ie, g as ot, f as at, X as lt, q as nt, r as st, x as it } from "./index-DFSXaw69.js";
2
+ import { u as Ze, c as Ae, am as Je, w as Ke, t as Qe, p as me, a as et, o as tt, e as Ie, g as ot, f as at, X as lt, q as nt, r as st, y as it } from "./index-DJKz3EWJ.js";
3
3
  import { t as rt, u as ut, d as ct } from "./useResponsive-DfdjqQps.js";
4
- import { u as Ne } from "./useNestedProp-CV3NndHa.js";
5
- import { u as dt } from "./usePrinter-DXG9SdJr.js";
4
+ import { u as Ne } from "./useNestedProp-DoTKbeYP.js";
5
+ import { u as dt } from "./usePrinter-Iy7FxhyL.js";
6
6
  import { u as vt } from "./useUserOptionState-BIvW1Kz7.js";
7
7
  import { u as ht } from "./useChartAccessibility-9icAAmYg.js";
8
8
  import { u as mt } from "./usePanZoom-BQMvRXEQ.js";
9
- import ft from "./Title-zqtIOYc5.js";
10
- import pt from "./img-DJTFe-dE.js";
9
+ import ft from "./Title-3ACEciQv.js";
10
+ import pt from "./img-Ck7tqm17.js";
11
11
  import { _ as gt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
12
12
  function yt(C, p) {
13
13
  const { width: u, height: f } = C, m = p.getImageData(0, 0, u, f).data;
@@ -147,9 +147,9 @@ const kt = ["id"], Ct = ["xmlns", "viewBox"], xt = ["width", "height"], $t = ["t
147
147
  },
148
148
  setup(C, { expose: p }) {
149
149
  Ue((t) => ({
150
- "50cddfce": t.slicerColor
150
+ a75532be: t.slicerColor
151
151
  }));
152
- const u = H(() => import("./vue-ui-accordion-B-PjY4U8.js")), f = H(() => import("./BaseIcon-C-MP5EHV.js")), c = H(() => import("./DataTable-DD2pZIgh.js")), m = H(() => import("./PackageVersion-D3jqYZS6.js")), l = H(() => import("./PenAndPaper-Dy9zUXnw.js")), a = H(() => import("./Tooltip-Bo30Qf34.js")), i = H(() => import("./UserOptions-Cgrlu96K.js")), { vue_ui_word_cloud: x } = Ze(), d = C, h = se({
152
+ const u = H(() => import("./vue-ui-accordion-C0GWT8Ql.js")), f = H(() => import("./BaseIcon-DBAQZ9vX.js")), c = H(() => import("./DataTable-CdD7tKpP.js")), m = H(() => import("./PackageVersion-DQcP7Cwd.js")), l = H(() => import("./PenAndPaper-Bf9A4qL1.js")), a = H(() => import("./Tooltip-D4AvFVyr.js")), i = H(() => import("./UserOptions-oB62jZT7.js")), { vue_ui_word_cloud: x } = Ze(), d = C, h = se({
153
153
  get() {
154
154
  return !!d.dataset && d.dataset.length;
155
155
  },
@@ -593,7 +593,9 @@ const kt = ["id"], Ct = ["xmlns", "viewBox"], xt = ["width", "height"], $t = ["t
593
593
  offsetY: e.value.style.chart.tooltip.offsetY,
594
594
  parent: S.value,
595
595
  content: ge.value,
596
- isCustom: ne.value
596
+ isCustom: ne.value,
597
+ smooth: e.value.style.chart.tooltip.smooth,
598
+ backdropFilter: e.value.style.chart.tooltip.backdropFilter
597
599
  }, {
598
600
  "tooltip-before": A(() => [
599
601
  M(t.$slots, "tooltip-before", Q(ee({ ...ye.value })), void 0, !0)
@@ -602,7 +604,7 @@ const kt = ["id"], Ct = ["xmlns", "viewBox"], xt = ["width", "height"], $t = ["t
602
604
  M(t.$slots, "tooltip-after", Q(ee({ ...ye.value })), void 0, !0)
603
605
  ]),
604
606
  _: 3
605
- }, 8, ["show", "backgroundColor", "color", "fontSize", "borderRadius", "borderColor", "borderWidth", "backgroundOpacity", "position", "offsetY", "parent", "content", "isCustom"]),
607
+ }, 8, ["show", "backgroundColor", "color", "fontSize", "borderRadius", "borderColor", "borderWidth", "backgroundOpacity", "position", "offsetY", "parent", "content", "isCustom", "smooth", "backdropFilter"]),
606
608
  t.$slots.source ? (T(), N("div", {
607
609
  key: 6,
608
610
  ref_key: "source",
@@ -653,7 +655,7 @@ const kt = ["id"], Ct = ["xmlns", "viewBox"], xt = ["width", "height"], $t = ["t
653
655
  }, 8, ["config"])) : Y("", !0)
654
656
  ], 44, kt));
655
657
  }
656
- }, Et = /* @__PURE__ */ gt(zt, [["__scopeId", "data-v-8c6de0fa"]]);
658
+ }, Et = /* @__PURE__ */ gt(zt, [["__scopeId", "data-v-a27ac136"]]);
657
659
  export {
658
660
  Et as default
659
661
  };