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,344 +0,0 @@
1
- import { computed as h, ref as b, watch as Z, onMounted as ce, createElementBlock as c, openBlock as s, unref as r, normalizeStyle as G, normalizeClass as L, createBlock as F, createCommentVNode as d, createSlots as ve, withCtx as O, renderSlot as y, normalizeProps as z, guardReactiveProps as S, createVNode as he, Fragment as ee, renderList as te, toDisplayString as de } from "vue";
2
- import { u as ae } from "./useNestedProp-v7KPpwuP.js";
3
- import { u as fe, c as ge, a as ye, v as pe, o as me, e as ke, w as oe, X as be, i as _e, f as Ce } from "./index-BFzQMJda.js";
4
- import { _ as $e } from "./Title-CzaCeCOm.js";
5
- import { u as we, U as xe } from "./usePrinter-C5bLp34h.js";
6
- import Oe from "./vue-ui-skeleton-B_YI7Yuc.js";
7
- import { _ as Pe } from "./PackageVersion-BjrblLPQ.js";
8
- import { _ as Ae } from "./PenAndPaper-BkP3J-Ft.js";
9
- import { u as Ie } from "./useUserOptionState-BIvW1Kz7.js";
10
- import { u as Fe } from "./useChartAccessibility-BWojgys7.js";
11
- import { _ as ze } from "./_plugin-vue_export-helper-CHgC5LLL.js";
12
- const Se = ["id"], Ne = {
13
- key: 2,
14
- style: "width:100%;background:transparent;padding-bottom:12px"
15
- }, Me = ["xmlns", "viewBox"], Te = ["width", "height"], Ue = { key: 1 }, Ge = ["d", "stroke-width", "stroke"], Le = { key: 2 }, je = ["x1", "y1", "x2", "y2", "stroke-width", "stroke"], Ee = ["x", "y", "font-size", "fill", "font-weight", "text-anchor"], Re = {
16
- key: 5,
17
- class: "vue-data-ui-watermark"
18
- }, Be = {
19
- key: 6,
20
- ref: "source",
21
- dir: "auto"
22
- }, Xe = {
23
- __name: "vue-ui-tiremarks",
24
- props: {
25
- config: {
26
- type: Object,
27
- default() {
28
- return {};
29
- }
30
- },
31
- dataset: {
32
- type: Object,
33
- default() {
34
- return {};
35
- }
36
- }
37
- },
38
- setup(le, { expose: se }) {
39
- const { vue_ui_tiremarks: re } = fe(), f = le, N = h(() => !!f.dataset && Object.keys(f.dataset).length), M = b(ge()), j = b(null), ne = b(null), E = b(0), R = b(0), e = h({
40
- get: () => H(),
41
- set: (t) => t
42
- }), { userOptionsVisible: T, setUserOptionsVisibility: B, keepUserOptionState: X } = Ie({ config: e.value }), { svgRef: D } = Fe({ config: e.value.style.chart.title });
43
- function H() {
44
- const t = ae({
45
- userConfig: f.config,
46
- defaultConfig: re
47
- });
48
- return t.theme ? {
49
- ...ae({
50
- userConfig: ye.vue_ui_tiremarks[t.theme] || f.config,
51
- defaultConfig: t
52
- })
53
- } : t;
54
- }
55
- Z(() => f.config, (t) => {
56
- e.value = H(), T.value = !e.value.userOptions.showOnChartHover, Q(), R.value += 1;
57
- }, { deep: !0 });
58
- const { isPrinting: V, isImaging: Y, generatePdf: q, generateImage: J } = we({
59
- elementId: M.value,
60
- fileName: e.value.style.chart.title.text || "vue-ui-tiremarks",
61
- options: e.value.userOptions.print
62
- }), ue = h(() => e.value.userOptions.show && !e.value.style.chart.title.text), u = b(e.value.style.chart.animation.use ? 0 : pe(f.dataset.percentage));
63
- Z(() => f.dataset, (t) => {
64
- e.value.style.chart.animation.use ? K(t.percentage) : u.value = t.percentage || 0;
65
- }, { deep: !0 }), ce(() => {
66
- Q();
67
- });
68
- function K(t) {
69
- let n = e.value.style.chart.animation.speed;
70
- const a = Math.abs(t - u.value) / (n * 120);
71
- function l() {
72
- u.value < t ? u.value = Math.min(u.value + a, t) : u.value > t && (u.value = Math.max(u.value - a, t)), u.value !== t && requestAnimationFrame(l);
73
- }
74
- l();
75
- }
76
- function Q() {
77
- me(f.dataset) && ke({
78
- componentName: "VueUiTiremarks",
79
- type: "dataset"
80
- }), K(f.dataset.percentage || 0);
81
- }
82
- const _ = h(() => e.value.style.chart.layout.display === "vertical"), i = h(() => {
83
- const t = {
84
- top: 48,
85
- left: 64,
86
- right: 64,
87
- bottom: 48
88
- };
89
- return _.value ? {
90
- top: e.value.style.chart.percentage.verticalPosition === "top" ? t.top : 3,
91
- left: 3,
92
- right: 3,
93
- bottom: e.value.style.chart.percentage.verticalPosition === "bottom" ? t.bottom : 3
94
- } : {
95
- top: 0,
96
- bottom: 0,
97
- left: e.value.style.chart.percentage.horizontalPosition === "left" ? t.left : 3,
98
- right: e.value.style.chart.percentage.horizontalPosition === "right" ? t.right : 10
99
- };
100
- }), P = h(() => Object.values(i.value).reduce((t, n) => t + n, 0)), o = h(() => ({
101
- height: _.value ? 312 : 56,
102
- width: _.value ? 56 : 312
103
- })), v = h(() => _.value ? {
104
- mark: (o.value.height - P.value) / 100 * 0.5,
105
- space: (o.value.height - P.value) / 100 * 0.5
106
- } : {
107
- mark: (o.value.width - P.value) / 100 * 0.5,
108
- space: (o.value.width - P.value) / 100 * 0.5
109
- }), W = h(() => {
110
- const t = [];
111
- for (let a = 0; a < 100; a += 1) {
112
- const l = e.value.style.chart.layout.ticks.gradient.show ? oe(e.value.style.chart.layout.activeColor, a / 100 * (e.value.style.chart.layout.ticks.gradient.shiftHueIntensity / 100)) : e.value.style.chart.layout.activeColor;
113
- if (_.value) {
114
- const $ = e.value.style.chart.layout.crescendo ? (100 - a) * (o.value.width - i.value.left - i.value.right) / 100 / 3 : 0, g = i.value.left + 4 + $, p = o.value.width - i.value.right - 4 - $, m = o.value.height - i.value.bottom - a * v.value.mark - a * v.value.space - v.value.mark, k = o.value.height - i.value.bottom - a * v.value.mark - a * v.value.space - v.value.mark, w = (p - g) / e.value.style.chart.layout.curveAngleX, x = e.value.style.chart.layout.curveAngleY * ((1 + a) / 100);
115
- t.push({
116
- x1: g,
117
- x2: p,
118
- y1: m,
119
- y2: k,
120
- curve: `M ${g} ${m} C ${g + w} ${m - x}, ${p - w} ${k - x}, ${p} ${k}`,
121
- color: l
122
- });
123
- } else {
124
- const $ = e.value.style.chart.layout.crescendo ? (100 - a) * (o.value.height - i.value.top - i.value.bottom) / 100 / 3 : 0, g = i.value.left + a * v.value.mark + a * v.value.space - v.value.mark, p = g, m = i.value.top + 4 + $, k = o.value.height - i.value.bottom - 4 - $, w = e.value.style.chart.layout.curveAngleY * ((1 + a) / 100), x = (k - m) / e.value.style.chart.layout.curveAngleX;
125
- t.push({
126
- x1: g,
127
- x2: p,
128
- y1: m,
129
- y2: k,
130
- curve: `M ${g} ${m} C ${g + w} ${m + x}, ${p + w} ${k - x}, ${p} ${k}`,
131
- color: l
132
- });
133
- }
134
- }
135
- return t;
136
- }), C = h(() => {
137
- let t, n, a;
138
- const l = e.value.style.chart.percentage.fontSize / 3;
139
- return _.value ? e.value.style.chart.percentage.verticalPosition === "top" ? (t = o.value.width / 2, n = i.value.top / 2, a = "middle") : e.value.style.chart.percentage.verticalPosition === "bottom" && (t = o.value.width / 2, n = o.value.height - i.value.bottom / 2 + l, a = "middle") : e.value.style.chart.percentage.horizontalPosition === "left" ? (t = 4, n = o.value.height / 2 + l, a = "start") : e.value.style.chart.percentage.horizontalPosition === "right" && (t = o.value.width - i.value.right + 8, n = o.value.height / 2 + l, a = "start"), {
140
- x: t,
141
- y: n,
142
- textAnchor: a,
143
- bold: e.value.style.chart.percentage.bold,
144
- fontSize: e.value.style.chart.percentage.fontSize,
145
- fill: e.value.style.chart.percentage.color
146
- };
147
- }), A = b(!1);
148
- function ie(t) {
149
- A.value = t, E.value += 1;
150
- }
151
- const I = b(!1);
152
- function U() {
153
- I.value = !I.value;
154
- }
155
- return se({
156
- generatePdf: q,
157
- generateImage: J,
158
- toggleAnnotator: U
159
- }), (t, n) => (s(), c("div", {
160
- ref_key: "tiremarksChart",
161
- ref: j,
162
- class: L(`vue-ui-tiremarks ${e.value.useCssAnimation ? "" : "vue-ui-dna"}`),
163
- style: G(`font-family:${e.value.style.fontFamily};width:100%; text-align:center;background:${e.value.style.chart.backgroundColor}`),
164
- id: M.value,
165
- onMouseenter: n[0] || (n[0] = () => r(B)(!0)),
166
- onMouseleave: n[1] || (n[1] = () => r(B)(!1))
167
- }, [
168
- e.value.userOptions.buttons.annotator ? (s(), F(Ae, {
169
- key: 0,
170
- svgRef: r(D),
171
- backgroundColor: e.value.style.chart.backgroundColor,
172
- color: e.value.style.chart.color,
173
- active: I.value,
174
- onClose: U
175
- }, null, 8, ["svgRef", "backgroundColor", "color", "active"])) : d("", !0),
176
- ue.value ? (s(), c("div", {
177
- key: 1,
178
- ref_key: "noTitle",
179
- ref: ne,
180
- class: "vue-data-ui-no-title-space",
181
- style: "height:36px; width: 100%;background:transparent"
182
- }, null, 512)) : d("", !0),
183
- e.value.style.chart.title.text ? (s(), c("div", Ne, [
184
- (s(), F($e, {
185
- key: `title_${R.value}`,
186
- config: {
187
- title: {
188
- cy: "wheel-title",
189
- ...e.value.style.chart.title
190
- },
191
- subtitle: {
192
- cy: "wheel-subtitle",
193
- ...e.value.style.chart.title.subtitle
194
- }
195
- }
196
- }, null, 8, ["config"]))
197
- ])) : d("", !0),
198
- e.value.userOptions.show && N.value && (r(X) || r(T)) ? (s(), F(xe, {
199
- ref: "details",
200
- key: `user_options_${E.value}`,
201
- backgroundColor: e.value.style.chart.backgroundColor,
202
- color: e.value.style.chart.color,
203
- isPrinting: r(V),
204
- isImaging: r(Y),
205
- uid: M.value,
206
- hasPdf: e.value.userOptions.buttons.pdf,
207
- hasImg: e.value.userOptions.buttons.img,
208
- hasFullscreen: e.value.userOptions.buttons.fullscreen,
209
- hasXls: !1,
210
- isFullscreen: A.value,
211
- titles: { ...e.value.userOptions.buttonTitles },
212
- chartElement: j.value,
213
- position: e.value.userOptions.position,
214
- hasAnnotator: e.value.userOptions.buttons.annotator,
215
- isAnnotation: I.value,
216
- onToggleFullscreen: ie,
217
- onGeneratePdf: r(q),
218
- onGenerateImage: r(J),
219
- onToggleAnnotator: U,
220
- style: G({
221
- visibility: r(X) ? r(T) ? "visible" : "hidden" : "visible"
222
- })
223
- }, ve({ _: 2 }, [
224
- t.$slots.menuIcon ? {
225
- name: "menuIcon",
226
- fn: O(({ isOpen: a, color: l }) => [
227
- y(t.$slots, "menuIcon", z(S({ isOpen: a, color: l })), void 0, !0)
228
- ]),
229
- key: "0"
230
- } : void 0,
231
- t.$slots.optionPdf ? {
232
- name: "optionPdf",
233
- fn: O(() => [
234
- y(t.$slots, "optionPdf", {}, void 0, !0)
235
- ]),
236
- key: "1"
237
- } : void 0,
238
- t.$slots.optionImg ? {
239
- name: "optionImg",
240
- fn: O(() => [
241
- y(t.$slots, "optionImg", {}, void 0, !0)
242
- ]),
243
- key: "2"
244
- } : void 0,
245
- t.$slots.optionFullscreen ? {
246
- name: "optionFullscreen",
247
- fn: O(({ toggleFullscreen: a, isFullscreen: l }) => [
248
- y(t.$slots, "optionFullscreen", z(S({ toggleFullscreen: a, isFullscreen: l })), void 0, !0)
249
- ]),
250
- key: "3"
251
- } : void 0,
252
- t.$slots.optionAnnotator ? {
253
- name: "optionAnnotator",
254
- fn: O(({ toggleAnnotator: a, isAnnotator: l }) => [
255
- y(t.$slots, "optionAnnotator", z(S({ toggleAnnotator: a, isAnnotator: l })), void 0, !0)
256
- ]),
257
- key: "4"
258
- } : void 0
259
- ]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasPdf", "hasImg", "hasFullscreen", "isFullscreen", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "onGeneratePdf", "onGenerateImage", "style"])) : d("", !0),
260
- N.value ? (s(), c("svg", {
261
- key: 4,
262
- ref_key: "svgRef",
263
- ref: D,
264
- xmlns: r(be),
265
- class: L({ "vue-data-ui-fullscreen--on": A.value, "vue-data-ui-fulscreen--off": !A.value }),
266
- viewBox: `0 0 ${o.value.width} ${o.value.height}`,
267
- style: G(`max-width:100%; overflow: visible; background:transparent;color:${e.value.style.chart.color}`)
268
- }, [
269
- he(Pe),
270
- t.$slots["chart-background"] ? (s(), c("foreignObject", {
271
- key: 0,
272
- x: 0,
273
- y: 0,
274
- width: o.value.width,
275
- height: o.value.height,
276
- style: {
277
- pointerEvents: "none"
278
- }
279
- }, [
280
- y(t.$slots, "chart-background", {}, void 0, !0)
281
- ], 8, Te)) : d("", !0),
282
- e.value.style.chart.layout.curved ? (s(), c("g", Ue, [
283
- (s(!0), c(ee, null, te(W.value, (a, l) => (s(), c("path", {
284
- d: a.curve,
285
- "stroke-width": v.value.mark,
286
- stroke: u.value >= l ? a.color : e.value.style.chart.layout.inactiveColor,
287
- "stroke-linecap": "round",
288
- fill: "none",
289
- class: L({ "vue-ui-tick-animated": e.value.style.chart.animation.use && l <= u.value })
290
- }, null, 10, Ge))), 256))
291
- ])) : (s(), c("g", Le, [
292
- (s(!0), c(ee, null, te(W.value, (a, l) => (s(), c("line", {
293
- x1: a.x1,
294
- y1: a.y1,
295
- x2: a.x2,
296
- y2: a.y2,
297
- "stroke-width": v.value.mark,
298
- stroke: u.value >= l ? a.color : e.value.style.chart.layout.inactiveColor,
299
- "stroke-linecap": "round"
300
- }, null, 8, je))), 256))
301
- ])),
302
- e.value.style.chart.percentage.show ? (s(), c("text", {
303
- key: 3,
304
- x: C.value.x,
305
- y: C.value.y,
306
- "font-size": C.value.fontSize,
307
- fill: e.value.style.chart.layout.ticks.gradient.show && e.value.style.chart.percentage.useGradientColor ? r(oe)(e.value.style.chart.layout.activeColor, u.value / 100 * (e.value.style.chart.layout.ticks.gradient.shiftHueIntensity / 100)) : e.value.style.chart.percentage.color,
308
- "font-weight": C.value.bold ? "bold" : "normal",
309
- "text-anchor": C.value.textAnchor
310
- }, de(r(_e)(
311
- e.value.style.chart.percentage.formatter,
312
- u.value,
313
- r(Ce)({
314
- v: u.value,
315
- s: "%",
316
- r: e.value.style.chart.percentage.rounding
317
- })
318
- )), 9, Ee)) : d("", !0),
319
- y(t.$slots, "svg", { svg: o.value }, void 0, !0)
320
- ], 14, Me)) : d("", !0),
321
- t.$slots.watermark ? (s(), c("div", Re, [
322
- y(t.$slots, "watermark", z(S({ isPrinting: r(V) || r(Y) })), void 0, !0)
323
- ])) : d("", !0),
324
- t.$slots.source ? (s(), c("div", Be, [
325
- y(t.$slots, "source", {}, void 0, !0)
326
- ], 512)) : d("", !0),
327
- N.value ? d("", !0) : (s(), F(Oe, {
328
- key: 7,
329
- config: {
330
- type: "tiremarks",
331
- style: {
332
- backgroundColor: e.value.style.chart.backgroundColor,
333
- tiremarks: {
334
- color: "#CCCCCC"
335
- }
336
- }
337
- }
338
- }, null, 8, ["config"]))
339
- ], 46, Se));
340
- }
341
- }, tt = /* @__PURE__ */ ze(Xe, [["__scopeId", "data-v-fac4c918"]]);
342
- export {
343
- tt as default
344
- };