vue-data-ui 2.2.90 → 2.2.91

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 (58) hide show
  1. package/dist/data-table-d-VcuH-r.js +1488 -0
  2. package/dist/{index.es-Cgqo-FBk.js → index.es-Dc9Fd4o6.js} +1 -1
  3. package/dist/legend-DJCYLsl_.js +61 -0
  4. package/dist/style.css +1 -1
  5. package/dist/themes-lgjsYHsH.js +4967 -0
  6. package/dist/title-BF-9Qcni.js +56 -0
  7. package/dist/tooltip-D85WEOKi.js +94 -0
  8. package/dist/user-options-DZgCz8UA.js +415 -0
  9. package/dist/vue-data-ui.js +455 -61
  10. package/dist/vue-ui-3d-bar-DW7kGJSz.js +20360 -0
  11. package/dist/vue-ui-age-pyramid-4hcuKpFY.js +781 -0
  12. package/dist/vue-ui-annotator-C83FVvl8.js +2175 -0
  13. package/dist/vue-ui-candlestick-diclGj95.js +807 -0
  14. package/dist/vue-ui-chestnut-ACetHLdG.js +1049 -0
  15. package/dist/vue-ui-cursor-Rx7UNaYT.js +229 -0
  16. package/dist/vue-ui-dashboard-B3PlN0ks.js +231 -0
  17. package/dist/vue-ui-digits-CxMXID42.js +154 -0
  18. package/dist/vue-ui-donut-DMiwVXNd.js +1534 -0
  19. package/dist/vue-ui-dumbbell-B_X1T8TR.js +621 -0
  20. package/dist/vue-ui-flow-B72wzQ6V.js +451 -0
  21. package/dist/vue-ui-galaxy-DXX5yivT.js +482 -0
  22. package/dist/vue-ui-gauge-Cs9PDurH.js +466 -0
  23. package/dist/vue-ui-heatmap-PcoNSLdN.js +581 -0
  24. package/dist/vue-ui-kpi-DchEmPtB.js +55 -0
  25. package/dist/vue-ui-mini-loader-DltJLkqy.js +131 -0
  26. package/dist/vue-ui-molecule-CWvukBzs.js +746 -0
  27. package/dist/vue-ui-mood-radar-DEfdtIi8.js +544 -0
  28. package/dist/vue-ui-nested-donuts-9URpqgXE.js +768 -0
  29. package/dist/vue-ui-onion-C0eowUT6.js +551 -0
  30. package/dist/vue-ui-parallel-coordinate-plot-Bc_pAaPJ.js +647 -0
  31. package/dist/vue-ui-quadrant-_ddVAm9V.js +1174 -0
  32. package/dist/vue-ui-quick-chart-Cio0hDYO.js +1310 -0
  33. package/dist/vue-ui-radar-Dyg38i33.js +853 -0
  34. package/dist/vue-ui-rating-CE1Lmwd2.js +271 -0
  35. package/dist/vue-ui-relation-circle-BMlB3k3d.js +303 -0
  36. package/dist/vue-ui-rings-BuXeijvb.js +507 -0
  37. package/dist/vue-ui-scatter-B1hZfOua.js +870 -0
  38. package/dist/vue-ui-screenshot-0QXgxzGs.js +160 -0
  39. package/dist/vue-ui-smiley-B7kR7exr.js +763 -0
  40. package/dist/vue-ui-spark-trend-BmL2KiYL.js +245 -0
  41. package/dist/vue-ui-sparkgauge-BMzFv14L.js +158 -0
  42. package/dist/vue-ui-sparkhistogram-DWpOXqHm.js +243 -0
  43. package/dist/vue-ui-sparkstackbar-DB9VQXlc.js +244 -0
  44. package/dist/vue-ui-strip-plot-DyN6P0JO.js +614 -0
  45. package/dist/vue-ui-table-DM3zL89q.js +2180 -0
  46. package/dist/vue-ui-table-heatmap-gWx0Nslu.js +237 -0
  47. package/dist/vue-ui-thermometer-Bcqv5kd_.js +384 -0
  48. package/dist/vue-ui-timer-BIFxjujK.js +451 -0
  49. package/dist/vue-ui-tiremarks-zBwHpED_.js +248 -0
  50. package/dist/vue-ui-treemap-BaplVc_z.js +719 -0
  51. package/dist/vue-ui-vertical-bar-CdK6ZJPM.js +734 -0
  52. package/dist/vue-ui-waffle-COOzH7M3.js +635 -0
  53. package/dist/vue-ui-wheel-BEpuVTBk.js +226 -0
  54. package/dist/vue-ui-word-cloud-DNqxAAiX.js +344 -0
  55. package/dist/vue-ui-xy-_mHq-czW.js +2058 -0
  56. package/dist/vue-ui-xy-canvas-DqX8Gee5.js +1003 -0
  57. package/package.json +1 -1
  58. package/dist/index-DZlxUin4.js +0 -57288
@@ -0,0 +1,56 @@
1
+ import { openBlock as n, createElementBlock as r, Fragment as s, createElementVNode as f, normalizeStyle as i, unref as e, toDisplayString as c, createCommentVNode as u } from "vue";
2
+ import { t as a, c as d } from "./data-table-d-VcuH-r.js";
3
+ function p({ defaultConfig: o, userConfig: l }) {
4
+ if (!Object.keys(l || {}).length)
5
+ return o;
6
+ const t = a({
7
+ defaultConfig: o,
8
+ userConfig: l
9
+ });
10
+ return d(t);
11
+ }
12
+ const y = {
13
+ __name: "Title",
14
+ props: {
15
+ config: {
16
+ type: Object,
17
+ default() {
18
+ return {};
19
+ }
20
+ }
21
+ },
22
+ setup(o) {
23
+ const t = p({
24
+ userConfig: o.config,
25
+ defaultConfig: {
26
+ title: {
27
+ cy: "",
28
+ text: "",
29
+ color: "",
30
+ fontSize: 20,
31
+ bold: !0
32
+ },
33
+ subtitle: {
34
+ cy: "",
35
+ text: "",
36
+ color: "",
37
+ fontSize: 14,
38
+ bold: !1
39
+ }
40
+ }
41
+ });
42
+ return (b, m) => (n(), r(s, null, [
43
+ f("div", {
44
+ style: i(`width: 100%; text-align:center;color:${e(t).title.color};font-size:${e(t).title.fontSize}px;font-weight:${e(t).title.bold ? "bold" : ""}`)
45
+ }, c(e(t).title.text), 5),
46
+ e(t).subtitle.text ? (n(), r("div", {
47
+ key: 0,
48
+ style: i(`width: 100%; text-align:center;color:${e(t).subtitle.color};font-size:${e(t).subtitle.fontSize}px;font-weight:${e(t).subtitle.bold ? "bold" : ""}`)
49
+ }, c(e(t).subtitle.text), 5)) : u("", !0)
50
+ ], 64));
51
+ }
52
+ };
53
+ export {
54
+ y as _,
55
+ p as u
56
+ };
@@ -0,0 +1,94 @@
1
+ import { ref as u, onMounted as f, onUnmounted as m, computed as y, openBlock as b, createElementBlock as v, normalizeClass as p, normalizeStyle as g, unref as $, renderSlot as a, createElementVNode as h, createCommentVNode as x } from "vue";
2
+ import { o as C } from "./data-table-d-VcuH-r.js";
3
+ function S({ tooltip: e, chart: o, clientPosition: t }) {
4
+ const l = u(0), r = u(48);
5
+ if (e && o) {
6
+ const { width: n, height: i } = e.getBoundingClientRect(), { right: d, left: s, bottom: c } = o.getBoundingClientRect();
7
+ t.x + n / 2 > d ? l.value = -n : t.x - n / 2 < s ? l.value = 0 : l.value = -n / 2, t.y + i > c && (r.value = -i - 48);
8
+ }
9
+ return {
10
+ top: t.y + r.value,
11
+ left: t.x + l.value
12
+ };
13
+ }
14
+ function k(e, o, t) {
15
+ f(() => e.addEventListener(o, t)), m(() => e.removeEventListener(o, t));
16
+ }
17
+ function w() {
18
+ const e = u(0), o = u(0);
19
+ return k(window, "mousemove", (t) => {
20
+ e.value = t.clientX, o.value = t.clientY;
21
+ }), { x: e, y: o };
22
+ }
23
+ const B = ["innerHTML"], z = {
24
+ __name: "Tooltip",
25
+ props: {
26
+ backgroundColor: {
27
+ type: String,
28
+ default: "#FFFFFF"
29
+ },
30
+ color: {
31
+ type: String,
32
+ default: "#000000"
33
+ },
34
+ content: String,
35
+ maxWidth: {
36
+ type: String,
37
+ default: "300px"
38
+ },
39
+ parent: {
40
+ type: Object
41
+ },
42
+ show: {
43
+ type: Boolean,
44
+ default: !1
45
+ },
46
+ isCustom: {
47
+ type: Boolean,
48
+ default: !1
49
+ },
50
+ fontSize: {
51
+ type: [Number, String],
52
+ default: 14
53
+ },
54
+ borderRadius: {
55
+ type: Number,
56
+ default: 4
57
+ },
58
+ borderColor: {
59
+ type: String,
60
+ default: "#e1e5e8"
61
+ },
62
+ borderWidth: {
63
+ type: Number,
64
+ default: 1
65
+ },
66
+ backgroundOpacity: {
67
+ type: Number,
68
+ default: 100
69
+ }
70
+ },
71
+ setup(e) {
72
+ const o = e, t = u(null), l = u(w()), r = y(() => S({
73
+ tooltip: t.value,
74
+ chart: o.parent,
75
+ clientPosition: l.value
76
+ }));
77
+ return (n, i) => e.show ? (b(), v("div", {
78
+ key: 0,
79
+ ref_key: "tooltip",
80
+ ref: t,
81
+ class: p({ "vue-data-ui-custom-tooltip": e.isCustom, "vue-data-ui-tooltip": !e.isCustom }),
82
+ style: g(`top:${r.value.top}px;left:${r.value.left}px;${e.isCustom ? "" : `background:${e.backgroundColor}${$(C)[e.backgroundOpacity]};color:${e.color};max-width:${e.maxWidth};font-size:${e.fontSize}px`};border-radius:${e.borderRadius}px;border:${e.borderWidth}px solid ${e.borderColor};`)
83
+ }, [
84
+ a(n.$slots, "tooltip-before"),
85
+ a(n.$slots, "default"),
86
+ h("div", { innerHTML: e.content }, null, 8, B),
87
+ a(n.$slots, "tooltip-after")
88
+ ], 6)) : x("", !0);
89
+ }
90
+ };
91
+ export {
92
+ z as _,
93
+ w as u
94
+ };
@@ -0,0 +1,415 @@
1
+ import { ref as c, onMounted as j, onBeforeUnmount as A, withDirectives as W, openBlock as o, createElementBlock as s, normalizeStyle as d, createElementVNode as L, withModifiers as X, withKeys as q, createVNode as H, normalizeClass as g, renderSlot as y, Fragment as C, createBlock as r, toDisplayString as m, createCommentVNode as u, normalizeProps as G, mergeProps as J, unref as Q } from "vue";
2
+ import { _ as R, B as i } from "./data-table-d-VcuH-r.js";
3
+ const Y = {
4
+ beforeMount(e, v) {
5
+ e.clickOutsideEvent = function(f) {
6
+ e === f.target || e.contains(f.target) || v.value(f);
7
+ }, document.addEventListener("click", e.clickOutsideEvent);
8
+ },
9
+ unmounted(e) {
10
+ document.removeEventListener("click", e.clickOutsideEvent);
11
+ }
12
+ }, Z = ["title", "onClick", "onKeypress"], x = ["data-open"], _ = {
13
+ __name: "UserOptions",
14
+ props: {
15
+ hasPdf: {
16
+ type: Boolean,
17
+ default: !0
18
+ },
19
+ hasXls: {
20
+ type: Boolean,
21
+ default: !0
22
+ },
23
+ hasImg: {
24
+ type: Boolean,
25
+ default: !1
26
+ },
27
+ hasLabel: {
28
+ type: Boolean,
29
+ default: !1
30
+ },
31
+ isLabelActive: {
32
+ type: Boolean,
33
+ default: !1
34
+ },
35
+ hasTable: {
36
+ type: Boolean,
37
+ default: !1
38
+ },
39
+ hasSort: {
40
+ type: Boolean,
41
+ default: !1
42
+ },
43
+ hasStack: {
44
+ type: Boolean,
45
+ default: !1
46
+ },
47
+ hasTooltip: {
48
+ type: Boolean,
49
+ default: !1
50
+ },
51
+ color: {
52
+ type: String
53
+ },
54
+ backgroundColor: {
55
+ type: String
56
+ },
57
+ isPrinting: {
58
+ type: Boolean,
59
+ default: !1
60
+ },
61
+ isImaging: {
62
+ type: Boolean,
63
+ default: !1
64
+ },
65
+ title: {
66
+ type: String
67
+ },
68
+ uid: {
69
+ type: String
70
+ },
71
+ hasFullscreen: {
72
+ type: Boolean,
73
+ default: !1
74
+ },
75
+ chartElement: {
76
+ type: HTMLElement,
77
+ default: null
78
+ },
79
+ isFullscreen: {
80
+ type: Boolean,
81
+ default: !1
82
+ },
83
+ isStacked: {
84
+ type: Boolean,
85
+ default: !1
86
+ },
87
+ isTooltip: {
88
+ type: Boolean,
89
+ default: !1
90
+ },
91
+ titles: {
92
+ type: Object,
93
+ default() {
94
+ return {};
95
+ }
96
+ },
97
+ showTooltips: {
98
+ type: Boolean,
99
+ default: !0
100
+ }
101
+ },
102
+ emits: ["generatePdf", "generateCsv", "generateImage", "toggleTable", "toggleLabels", "toggleSort", "toggleFullscreen", "toggleStack", "toggleTooltip"],
103
+ setup(e, { emit: v }) {
104
+ const f = e;
105
+ function E() {
106
+ v("generatePdf");
107
+ }
108
+ function P() {
109
+ v("generateCsv");
110
+ }
111
+ function O() {
112
+ v("generateImage");
113
+ }
114
+ const p = c(!1);
115
+ function w() {
116
+ p.value = !p.value, v("toggleTable");
117
+ }
118
+ const $ = c(!1), h = c(!0);
119
+ function T() {
120
+ b.value = window.innerWidth > 600, $.value = !$.value, $.value && (h.value = !1);
121
+ }
122
+ function z() {
123
+ f.isPrinting || f.isImaging || ($.value = !1);
124
+ }
125
+ function D() {
126
+ $.value && z();
127
+ }
128
+ const S = c(f.isLabelActive);
129
+ function U() {
130
+ S.value = !S.value, v("toggleLabels");
131
+ }
132
+ function K() {
133
+ v("toggleSort");
134
+ }
135
+ const B = c(f.isStacked);
136
+ function N() {
137
+ B.value = !B.value, v("toggleStack");
138
+ }
139
+ const M = c(f.isTooltip);
140
+ function V() {
141
+ M.value = !M.value, v("toggleTooltip");
142
+ }
143
+ const k = c(!1);
144
+ function F(n) {
145
+ f.chartElement && (n === "in" ? (k.value = !0, f.chartElement.requestFullscreen(), v("toggleFullscreen", !0)) : (k.value = !1, document && document.exitFullscreen(), v("toggleFullscreen", !1)));
146
+ }
147
+ function I(n) {
148
+ document.fullscreenElement ? k.value = !0 : k.value = !1;
149
+ }
150
+ j(() => {
151
+ document.addEventListener("fullscreenchange", I);
152
+ }), A(() => {
153
+ document.removeEventListener("fullscreenchange", I);
154
+ });
155
+ const b = c(window.innerWidth > 600), l = c({
156
+ tooltip: !1,
157
+ pdf: !1,
158
+ csv: !1,
159
+ img: !1,
160
+ table: !1,
161
+ labels: !1,
162
+ sort: !1,
163
+ stack: !1,
164
+ fullscreen: !1
165
+ });
166
+ return (n, t) => W((o(), s("div", {
167
+ "data-html2canvas-ignore": "",
168
+ class: "vue-ui-user-options",
169
+ style: d(`height: 34px; position: ${k.value ? "fixed" : "absolute"}; top: 0; right:${k.value ? "12px" : "0"}; padding: 4px; background:transparent; z-index: 1`)
170
+ }, [
171
+ L("div", {
172
+ tabindex: "0",
173
+ title: $.value ? e.titles.close || "" : e.titles.open || "",
174
+ style: d(`width:32px; position: absolute; top: 0; right:4px; padding: 0 0px; display: flex; align-items:center;justify-content:center;height: 36px; cursor:pointer; background:${e.backgroundColor};`),
175
+ onClick: X(T, ["stop"]),
176
+ onKeypress: q(T, ["enter"])
177
+ }, [
178
+ H(i, {
179
+ name: $.value ? "close" : "menu",
180
+ stroke: "#CCCCCC",
181
+ "stroke-width": 2
182
+ }, null, 8, ["name"])
183
+ ], 44, Z),
184
+ L("div", {
185
+ "data-open": $.value,
186
+ class: g({ "vue-ui-user-options-drawer": !0 }),
187
+ style: d(`background:${e.backgroundColor};`)
188
+ }, [
189
+ e.hasTooltip ? (o(), s("button", {
190
+ key: 0,
191
+ tabindex: "0",
192
+ class: "vue-ui-user-options-button",
193
+ onClick: V,
194
+ onMouseenter: t[0] || (t[0] = (a) => l.value.tooltip = !0),
195
+ onMouseout: t[1] || (t[1] = (a) => l.value.tooltip = !1)
196
+ }, [
197
+ n.$slots.optionTooltip ? y(n.$slots, "optionTooltip", { key: 0 }, void 0, !0) : (o(), s(C, { key: 1 }, [
198
+ M.value ? (o(), r(i, {
199
+ key: 0,
200
+ name: "tooltip",
201
+ stroke: e.color,
202
+ style: { "pointer-events": "none" }
203
+ }, null, 8, ["stroke"])) : (o(), r(i, {
204
+ key: 1,
205
+ name: "tooltipDisabled",
206
+ stroke: e.color,
207
+ style: { "pointer-events": "none" }
208
+ }, null, 8, ["stroke"]))
209
+ ], 64)),
210
+ b.value && e.titles.tooltip && !n.$slots.optionTooltip ? (o(), s("div", {
211
+ key: 2,
212
+ class: g({ "button-info": !0, "button-info-visible": l.value.tooltip }),
213
+ style: d({ background: e.backgroundColor })
214
+ }, m(e.titles.tooltip), 7)) : u("", !0)
215
+ ], 32)) : u("", !0),
216
+ e.hasPdf ? (o(), s("button", {
217
+ key: 1,
218
+ tabindex: "0",
219
+ class: "vue-ui-user-options-button",
220
+ onClick: E,
221
+ onMouseenter: t[2] || (t[2] = (a) => l.value.pdf = !0),
222
+ onMouseout: t[3] || (t[3] = (a) => l.value.pdf = !1)
223
+ }, [
224
+ n.$slots.optionPdf ? y(n.$slots, "optionPdf", { key: 0 }, void 0, !0) : (o(), s(C, { key: 1 }, [
225
+ e.isPrinting ? (o(), r(i, {
226
+ key: 0,
227
+ name: "spin",
228
+ isSpin: "",
229
+ stroke: e.color,
230
+ style: { "pointer-events": "none" }
231
+ }, null, 8, ["stroke"])) : (o(), r(i, {
232
+ key: 1,
233
+ name: "pdf",
234
+ stroke: e.color,
235
+ style: { "pointer-events": "none" }
236
+ }, null, 8, ["stroke"]))
237
+ ], 64)),
238
+ b.value && e.titles.pdf && !n.$slots.optionPdf ? (o(), s("div", {
239
+ key: 2,
240
+ class: g({ "button-info": !0, "button-info-visible": l.value.pdf }),
241
+ style: d({ background: e.backgroundColor })
242
+ }, m(e.titles.pdf), 7)) : u("", !0)
243
+ ], 32)) : u("", !0),
244
+ e.hasXls ? (o(), s("button", {
245
+ key: 2,
246
+ tabindex: "0",
247
+ class: "vue-ui-user-options-button",
248
+ onClick: P,
249
+ onMouseenter: t[4] || (t[4] = (a) => l.value.csv = !0),
250
+ onMouseout: t[5] || (t[5] = (a) => l.value.csv = !1)
251
+ }, [
252
+ n.$slots.optionCsv ? y(n.$slots, "optionCsv", { key: 0 }, void 0, !0) : (o(), r(i, {
253
+ key: 1,
254
+ name: "excel",
255
+ stroke: e.color,
256
+ style: { "pointer-events": "none" }
257
+ }, null, 8, ["stroke"])),
258
+ b.value && e.titles.csv && !n.$slots.optionCsv ? (o(), s("div", {
259
+ key: 2,
260
+ class: g({ "button-info": !0, "button-info-visible": l.value.csv }),
261
+ style: d({ background: e.backgroundColor })
262
+ }, m(e.titles.csv), 7)) : u("", !0)
263
+ ], 32)) : u("", !0),
264
+ e.hasImg ? (o(), s("button", {
265
+ key: 3,
266
+ tabindex: "0",
267
+ class: "vue-ui-user-options-button",
268
+ onClick: O,
269
+ onMouseenter: t[6] || (t[6] = (a) => l.value.img = !0),
270
+ onMouseout: t[7] || (t[7] = (a) => l.value.img = !1)
271
+ }, [
272
+ n.$slots.optionImg ? y(n.$slots, "optionImg", { key: 0 }, void 0, !0) : (o(), s(C, { key: 1 }, [
273
+ e.isImaging ? (o(), r(i, {
274
+ key: 0,
275
+ name: "spin",
276
+ isSpin: "",
277
+ stroke: e.color,
278
+ style: { "pointer-events": "none" }
279
+ }, null, 8, ["stroke"])) : (o(), r(i, {
280
+ key: 1,
281
+ name: "image",
282
+ stroke: e.color,
283
+ style: { "pointer-events": "none" }
284
+ }, null, 8, ["stroke"]))
285
+ ], 64)),
286
+ b.value && e.titles.img && !n.$slots.optionImg ? (o(), s("div", {
287
+ key: 2,
288
+ class: g({ "button-info": !0, "button-info-visible": l.value.img }),
289
+ style: d({ background: e.backgroundColor })
290
+ }, m(e.titles.img), 7)) : u("", !0)
291
+ ], 32)) : u("", !0),
292
+ e.hasTable ? (o(), s("button", {
293
+ key: 4,
294
+ tabindex: "0",
295
+ class: "vue-ui-user-options-button",
296
+ onClick: w,
297
+ onMouseenter: t[8] || (t[8] = (a) => l.value.table = !0),
298
+ onMouseout: t[9] || (t[9] = (a) => l.value.table = !1)
299
+ }, [
300
+ n.$slots.optionTable ? y(n.$slots, "optionTable", { key: 0 }, void 0, !0) : (o(), r(i, {
301
+ key: 1,
302
+ name: p.value ? "tableClose" : "tableOpen",
303
+ stroke: e.color,
304
+ style: { "pointer-events": "none" }
305
+ }, null, 8, ["name", "stroke"])),
306
+ b.value && e.titles.table && !n.$slots.optionTable ? (o(), s("div", {
307
+ key: 2,
308
+ class: g({ "button-info": !0, "button-info-visible": l.value.table }),
309
+ style: d({ background: e.backgroundColor })
310
+ }, m(e.titles.table), 7)) : u("", !0)
311
+ ], 32)) : u("", !0),
312
+ e.hasLabel ? (o(), s("button", {
313
+ key: 5,
314
+ tabindex: "0",
315
+ class: "vue-ui-user-options-button",
316
+ onClick: U,
317
+ onMouseenter: t[10] || (t[10] = (a) => l.value.labels = !0),
318
+ onMouseout: t[11] || (t[11] = (a) => l.value.labels = !1)
319
+ }, [
320
+ n.$slots.optionLabels ? y(n.$slots, "optionLabels", { key: 0 }, void 0, !0) : (o(), r(i, {
321
+ key: 1,
322
+ name: S.value ? "labelClose" : "labelOpen",
323
+ stroke: e.color,
324
+ style: { "pointer-events": "none" }
325
+ }, null, 8, ["name", "stroke"])),
326
+ b.value && e.titles.labels && !n.$slots.optionLabels ? (o(), s("div", {
327
+ key: 2,
328
+ class: g({ "button-info": !0, "button-info-visible": l.value.labels }),
329
+ style: d({ background: e.backgroundColor })
330
+ }, m(e.titles.labels), 7)) : u("", !0)
331
+ ], 32)) : u("", !0),
332
+ e.hasSort ? (o(), s("button", {
333
+ key: 6,
334
+ tabindex: "0",
335
+ class: "vue-ui-user-options-button",
336
+ onClick: K,
337
+ onMouseenter: t[12] || (t[12] = (a) => l.value.sort = !0),
338
+ onMouseout: t[13] || (t[13] = (a) => l.value.sort = !1)
339
+ }, [
340
+ n.$slots.optionSort ? y(n.$slots, "optionSort", { key: 0 }, void 0, !0) : (o(), r(i, {
341
+ key: 1,
342
+ name: "sort",
343
+ stroke: e.color,
344
+ style: { "pointer-events": "none" }
345
+ }, null, 8, ["stroke"])),
346
+ b.value && e.titles.sort && !n.$slots.optionSort ? (o(), s("div", {
347
+ key: 2,
348
+ class: g({ "button-info": !0, "button-info-visible": l.value.sort }),
349
+ style: d({ background: e.backgroundColor })
350
+ }, m(e.titles.sort), 7)) : u("", !0)
351
+ ], 32)) : u("", !0),
352
+ e.hasStack ? (o(), s("button", {
353
+ key: 7,
354
+ tabindex: "0",
355
+ class: "vue-ui-user-options-button",
356
+ onClick: N,
357
+ onMouseenter: t[14] || (t[14] = (a) => l.value.stack = !0),
358
+ onMouseout: t[15] || (t[15] = (a) => l.value.stack = !1)
359
+ }, [
360
+ n.$slots.optionStack ? y(n.$slots, "optionStack", { key: 0 }, void 0, !0) : (o(), s(C, { key: 1 }, [
361
+ B.value ? (o(), r(i, {
362
+ key: 0,
363
+ name: "unstack",
364
+ stroke: e.color,
365
+ style: { "pointer-events": "none" }
366
+ }, null, 8, ["stroke"])) : (o(), r(i, {
367
+ key: 1,
368
+ name: "stack",
369
+ stroke: e.color,
370
+ style: { "pointer-events": "none" }
371
+ }, null, 8, ["stroke"]))
372
+ ], 64)),
373
+ b.value && e.titles.stack && !n.$slots.optionStack ? (o(), s("div", {
374
+ key: 2,
375
+ class: g({ "button-info": !0, "button-info-visible": l.value.stack }),
376
+ style: d({ background: e.backgroundColor })
377
+ }, m(e.titles.stack), 7)) : u("", !0)
378
+ ], 32)) : u("", !0),
379
+ e.hasFullscreen ? (o(), s("button", {
380
+ key: 8,
381
+ tabindex: "0",
382
+ class: "vue-ui-user-options-button",
383
+ onMouseenter: t[16] || (t[16] = (a) => l.value.fullscreen = !0),
384
+ onMouseout: t[17] || (t[17] = (a) => l.value.fullscreen = !1),
385
+ onClick: t[18] || (t[18] = (a) => F(k.value ? "out" : "in"))
386
+ }, [
387
+ n.$slots.optionFullscreen ? y(n.$slots, "optionFullscreen", G(J({ key: 0 }, { toggleFullscreen: F, isFullscreen: k.value })), void 0, !0) : (o(), s(C, { key: 1 }, [
388
+ k.value ? (o(), r(i, {
389
+ key: 0,
390
+ name: "exitFullscreen",
391
+ stroke: e.color,
392
+ style: { "pointer-events": "none" }
393
+ }, null, 8, ["stroke"])) : u("", !0),
394
+ k.value ? u("", !0) : (o(), r(i, {
395
+ key: 1,
396
+ name: "fullscreen",
397
+ stroke: e.color,
398
+ style: { "pointer-events": "none" }
399
+ }, null, 8, ["stroke"]))
400
+ ], 64)),
401
+ b.value && e.titles.fullscreen && !n.$slots.optionFullscreen ? (o(), s("div", {
402
+ key: 2,
403
+ class: g({ "button-info": !0, "button-info-visible": l.value.fullscreen }),
404
+ style: d({ background: e.backgroundColor })
405
+ }, m(e.titles.fullscreen), 7)) : u("", !0)
406
+ ], 32)) : u("", !0)
407
+ ], 12, x)
408
+ ], 4)), [
409
+ [Q(Y), D]
410
+ ]);
411
+ }
412
+ }, oe = /* @__PURE__ */ R(_, [["__scopeId", "data-v-857d2388"]]);
413
+ export {
414
+ oe as U
415
+ };