vue-data-ui 3.9.21 → 3.9.22
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.
- package/dist/{BaseDraggableDialog-LQz9Nmbj.js → BaseDraggableDialog-BHlNyA0A.js} +1 -1
- package/dist/{BaseIcon-rQpZbUMg.js → BaseIcon-DtXe9QC_.js} +10 -3
- package/dist/{BaseZoomControls-8e6l8HWf.js → BaseZoomControls-Dp7lD8dn.js} +1 -1
- package/dist/{ColorPicker-C-M_3O5E.js → ColorPicker-CnWVxKGw.js} +1 -1
- package/dist/{DataTable-CRLvcC19.js → DataTable-BriHstj2.js} +1 -1
- package/dist/{NonSvgPenAndPaper-DHu-zNDR.js → NonSvgPenAndPaper-C7GKy0EX.js} +2 -2
- package/dist/{PackageVersion-BiGAIrqC.js → PackageVersion-DS0AcLc9.js} +1 -1
- package/dist/{PenAndPaper-D6dHXPfu.js → PenAndPaper-DBbQVgYt.js} +2 -2
- package/dist/{Slicer-iEpMHxAy.js → Slicer-CdBkrOVw.js} +1 -1
- package/dist/{SlicerPreview-Dfih1r3H.js → SlicerPreview-DAWQCjXt.js} +1 -1
- package/dist/UserOptions-CEsHe7Td.js +1347 -0
- package/dist/components/vue-ui-3d-bar.js +1 -1
- package/dist/components/vue-ui-accordion.js +1 -1
- package/dist/components/vue-ui-age-pyramid.js +1 -1
- package/dist/components/vue-ui-annotator.js +1 -1
- package/dist/components/vue-ui-bullet.js +1 -1
- package/dist/components/vue-ui-candlestick.js +1 -1
- package/dist/components/vue-ui-carousel-table.js +1 -1
- package/dist/components/vue-ui-chestnut.js +1 -1
- package/dist/components/vue-ui-chord.js +1 -1
- package/dist/components/vue-ui-circle-pack.js +1 -1
- package/dist/components/vue-ui-cursor.js +1 -1
- package/dist/components/vue-ui-dag.js +1 -1
- package/dist/components/vue-ui-dashboard.js +1 -1
- package/dist/components/vue-ui-donut-evolution.js +1 -1
- package/dist/components/vue-ui-donut.js +1 -1
- package/dist/components/vue-ui-dumbbell.js +1 -1
- package/dist/components/vue-ui-flow.js +1 -1
- package/dist/components/vue-ui-funnel.js +1 -1
- package/dist/components/vue-ui-galaxy.js +1 -1
- package/dist/components/vue-ui-gauge.js +1 -1
- package/dist/components/vue-ui-geo.js +1 -1
- package/dist/components/vue-ui-gizmo.js +1 -1
- package/dist/components/vue-ui-heatmap.js +1 -1
- package/dist/components/vue-ui-history-plot.js +1 -1
- package/dist/components/vue-ui-horizontal-bar.js +1 -1
- package/dist/components/vue-ui-icon.js +1 -1
- package/dist/components/vue-ui-molecule.js +1 -1
- package/dist/components/vue-ui-mood-radar.js +1 -1
- package/dist/components/vue-ui-nested-donuts.js +1 -1
- package/dist/components/vue-ui-onion.js +1 -1
- package/dist/components/vue-ui-parallel-coordinate-plot.js +1 -1
- package/dist/components/vue-ui-quadrant.js +1 -1
- package/dist/components/vue-ui-quick-chart.js +1 -1
- package/dist/components/vue-ui-radar.js +1 -1
- package/dist/components/vue-ui-relation-circle.js +1 -1
- package/dist/components/vue-ui-ridgeline.js +1 -1
- package/dist/components/vue-ui-rings.js +1 -1
- package/dist/components/vue-ui-scatter.js +1 -1
- package/dist/components/vue-ui-skeleton.js +1 -1
- package/dist/components/vue-ui-spark-trend.js +1 -1
- package/dist/components/vue-ui-sparkbar.js +1 -1
- package/dist/components/vue-ui-sparkgauge.js +1 -1
- package/dist/components/vue-ui-sparkhistogram.js +1 -1
- package/dist/components/vue-ui-sparkline.js +1 -1
- package/dist/components/vue-ui-sparkstackbar.js +1 -1
- package/dist/components/vue-ui-stackbar.js +1 -1
- package/dist/components/vue-ui-stackline.js +1 -1
- package/dist/components/vue-ui-strip-plot.js +1 -1
- package/dist/components/vue-ui-table-heatmap.js +1 -1
- package/dist/components/vue-ui-table-sparkline.js +1 -1
- package/dist/components/vue-ui-table.js +1 -1
- package/dist/components/vue-ui-thermometer.js +1 -1
- package/dist/components/vue-ui-timer.js +1 -1
- package/dist/components/vue-ui-tiremarks.js +1 -1
- package/dist/components/vue-ui-treemap.js +1 -1
- package/dist/components/vue-ui-vertical-bar.js +1 -1
- package/dist/components/vue-ui-waffle.js +1 -1
- package/dist/components/vue-ui-wheel.js +1 -1
- package/dist/components/vue-ui-word-cloud.js +1 -1
- package/dist/components/vue-ui-world.js +1 -1
- package/dist/components/vue-ui-xy-canvas.js +1 -1
- package/dist/components/vue-ui-xy.js +1 -1
- package/dist/style.css +1 -1
- package/dist/types/vue-data-ui.d.ts +7 -0
- package/dist/{vue-data-ui-C0zyzSI7.js → vue-data-ui-nqF_cACH.js} +62 -62
- package/dist/vue-data-ui.js +64 -64
- package/dist/{vue-ui-3d-bar-DlUrsPdB.js → vue-ui-3d-bar-DmrhwUsA.js} +1 -1
- package/dist/{vue-ui-accordion-Cy3d_0_S.js → vue-ui-accordion-CDvNAvXX.js} +1 -1
- package/dist/{vue-ui-age-pyramid-CW2CmApD.js → vue-ui-age-pyramid-C0hgxDIF.js} +1 -1
- package/dist/{vue-ui-annotator-DgDMYDKr.js → vue-ui-annotator-koqMAb87.js} +3 -3
- package/dist/{vue-ui-bullet-Dfz8VKqe.js → vue-ui-bullet-BXJCZyhh.js} +1 -1
- package/dist/{vue-ui-candlestick-xyQGCkr8.js → vue-ui-candlestick-3YdnfK3I.js} +2 -2
- package/dist/{vue-ui-carousel-table-eqx_-juF.js → vue-ui-carousel-table-5pBU7CnX.js} +1 -1
- package/dist/{vue-ui-chestnut-DQM73VJP.js → vue-ui-chestnut-BmjwbHgq.js} +1 -1
- package/dist/{vue-ui-chord-ij0fy_Vk.js → vue-ui-chord-C_2QTHYi.js} +1 -1
- package/dist/{vue-ui-circle-pack-iL6dfKsl.js → vue-ui-circle-pack-BeHZwuM4.js} +1 -1
- package/dist/{vue-ui-cursor-BwtAgyzA.js → vue-ui-cursor-YR7_jEcG.js} +1 -1
- package/dist/{vue-ui-dag-DyVpGUMm.js → vue-ui-dag-h6p8aZFf.js} +2 -2
- package/dist/{vue-ui-dashboard-Dp8tt7UQ.js → vue-ui-dashboard-Cl6Jnf6s.js} +60 -60
- package/dist/{vue-ui-donut-evolution-BtSDnqw5.js → vue-ui-donut-evolution-DoQwbNv4.js} +2 -2
- package/dist/{vue-ui-donut-XhYkW3YB.js → vue-ui-donut-n-wyE9bw.js} +1 -1
- package/dist/{vue-ui-dumbbell-Dk9GEs9q.js → vue-ui-dumbbell-BWEAHSG8.js} +1 -1
- package/dist/{vue-ui-flow-Dmadpe5T.js → vue-ui-flow-CRgC7Mlx.js} +1 -1
- package/dist/{vue-ui-funnel-BGZmzIxy.js → vue-ui-funnel-CfIPZ_zB.js} +1 -1
- package/dist/{vue-ui-galaxy-btCfKlLt.js → vue-ui-galaxy-Cp_rz8IL.js} +1 -1
- package/dist/{vue-ui-gauge-CIq10clu.js → vue-ui-gauge-DjJ8LiGL.js} +1 -1
- package/dist/{vue-ui-geo-C72smrB2.js → vue-ui-geo-DUa0LJdd.js} +2 -2
- package/dist/{vue-ui-gizmo-BCy3dErL.js → vue-ui-gizmo-DDMnc-mn.js} +1 -1
- package/dist/{vue-ui-heatmap-DX1asUT7.js → vue-ui-heatmap-Bu78wjql.js} +2 -2
- package/dist/{vue-ui-history-plot-DFtOy7CE.js → vue-ui-history-plot-I7RFpR4m.js} +1 -1
- package/dist/{vue-ui-horizontal-bar-BpN0u8hd.js → vue-ui-horizontal-bar-B76RcVtC.js} +6 -6
- package/dist/{vue-ui-molecule-CETOdJ0z.js → vue-ui-molecule-B0EQor9C.js} +1 -1
- package/dist/{vue-ui-mood-radar-BOq7hUtX.js → vue-ui-mood-radar-BXHszrJ5.js} +1 -1
- package/dist/{vue-ui-nested-donuts-C6Popcf-.js → vue-ui-nested-donuts-Cs09jqNS.js} +1 -1
- package/dist/{vue-ui-onion-BHIySmN4.js → vue-ui-onion-Cd4M3NhO.js} +1 -1
- package/dist/{vue-ui-parallel-coordinate-plot-BAAEnWGD.js → vue-ui-parallel-coordinate-plot-B3jKFKQp.js} +1 -1
- package/dist/{vue-ui-quadrant-JvGjWc7P.js → vue-ui-quadrant-BGdcyL_G.js} +1 -1
- package/dist/{vue-ui-quick-chart-Nffw66GY.js → vue-ui-quick-chart-RISnAtAO.js} +2 -2
- package/dist/{vue-ui-radar-CdjuAdeB.js → vue-ui-radar-CiyUH5vY.js} +1 -1
- package/dist/{vue-ui-relation-circle-Cb3uKDYx.js → vue-ui-relation-circle-GJ2m1KJi.js} +1 -1
- package/dist/{vue-ui-ridgeline-Dgr0nyh1.js → vue-ui-ridgeline-BAukx7WE.js} +1 -1
- package/dist/{vue-ui-rings-Ctkw20nS.js → vue-ui-rings-DStX7GN9.js} +1 -1
- package/dist/{vue-ui-scatter-BpeJpMqR.js → vue-ui-scatter-C06XR1wk.js} +1 -1
- package/dist/{vue-ui-skeleton-C8-nUbeq.js → vue-ui-skeleton-BhhCaDDt.js} +1 -1
- package/dist/{vue-ui-spark-trend-BRayrIQ5.js → vue-ui-spark-trend-D0C6wQaQ.js} +1 -1
- package/dist/{vue-ui-sparkbar-D5UO6Yae.js → vue-ui-sparkbar-BdiOrr_4.js} +1 -1
- package/dist/{vue-ui-sparkgauge-DMvYS_KK.js → vue-ui-sparkgauge-Bn69Wf48.js} +1 -1
- package/dist/{vue-ui-sparkhistogram-CNwDggdT.js → vue-ui-sparkhistogram-B2igFeIs.js} +1 -1
- package/dist/{vue-ui-sparkline-Dh6mAGol.js → vue-ui-sparkline-0VCC5bBB.js} +1 -1
- package/dist/{vue-ui-sparkstackbar-CFhUgaiz.js → vue-ui-sparkstackbar-DXNNFyVU.js} +1 -1
- package/dist/{vue-ui-stackbar-g5Sq_ZTb.js → vue-ui-stackbar-O6Qnmp0y.js} +2 -2
- package/dist/{vue-ui-stackline-CKwIVvUs.js → vue-ui-stackline-DXR5bwam.js} +2 -2
- package/dist/{vue-ui-strip-plot-CvCBxxNn.js → vue-ui-strip-plot-Dbkd9HLL.js} +1 -1
- package/dist/{vue-ui-table-DswHIBiJ.js → vue-ui-table-CY9ofQw5.js} +3 -3
- package/dist/{vue-ui-table-heatmap-Crgh4Fiz.js → vue-ui-table-heatmap-Cl927pNj.js} +1 -1
- package/dist/{vue-ui-table-sparkline-BJGYRzNL.js → vue-ui-table-sparkline-JdC2NOYh.js} +1 -1
- package/dist/{vue-ui-thermometer-46TB3agk.js → vue-ui-thermometer-9e1IkvL9.js} +1 -1
- package/dist/{vue-ui-timer-CgEPlDmY.js → vue-ui-timer-C85qvi3A.js} +2 -2
- package/dist/{vue-ui-tiremarks-DZHVry9u.js → vue-ui-tiremarks-Dvynr7Ca.js} +1 -1
- package/dist/{vue-ui-treemap-3_8JQzd0.js → vue-ui-treemap-B2d4oGJZ.js} +2 -2
- package/dist/{vue-ui-waffle-Ck_wiBzc.js → vue-ui-waffle-B3NfAP3B.js} +1 -1
- package/dist/{vue-ui-wheel-4ZZLizdv.js → vue-ui-wheel-Cti5RCaK.js} +1 -1
- package/dist/{vue-ui-word-cloud-BPA2fseE.js → vue-ui-word-cloud-BGyunVJT.js} +2 -2
- package/dist/{vue-ui-world-K4hMlU7V.js → vue-ui-world-BjGu6FvN.js} +1 -1
- package/dist/{vue-ui-xy-cHQ3KQCE.js → vue-ui-xy-BC1zUOGw.js} +3 -3
- package/dist/{vue-ui-xy-canvas-Qeg6DtP0.js → vue-ui-xy-canvas-ks3CRcLY.js} +4 -4
- package/package.json +1 -1
- package/dist/UserOptions-BlWCqtbi.js +0 -649
|
@@ -1,649 +0,0 @@
|
|
|
1
|
-
import { ref as m, computed as P, onMounted as ee, onBeforeUnmount as te, withDirectives as oe, createElementBlock as s, openBlock as o, normalizeStyle as v, createElementVNode as x, withKeys as ne, withModifiers as le, renderSlot as k, normalizeProps as h, guardReactiveProps as ie, createVNode as se, normalizeClass as d, createCommentVNode as a, Fragment as $, createBlock as f, toDisplayString as c, mergeProps as M, unref as ae } from "vue";
|
|
2
|
-
import { v as ue } from "./vClickOutside-C6WiFswA.js";
|
|
3
|
-
import r from "./BaseIcon-rQpZbUMg.js";
|
|
4
|
-
import D from "./img-CqYIrJ8I.js";
|
|
5
|
-
import { _ as re } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
6
|
-
const fe = ["title"], ve = ["data-open"], ge = {
|
|
7
|
-
__name: "UserOptions",
|
|
8
|
-
props: {
|
|
9
|
-
hasPdf: {
|
|
10
|
-
type: Boolean,
|
|
11
|
-
default: !0
|
|
12
|
-
},
|
|
13
|
-
hasXls: {
|
|
14
|
-
type: Boolean,
|
|
15
|
-
default: !0
|
|
16
|
-
},
|
|
17
|
-
hasImg: {
|
|
18
|
-
type: Boolean,
|
|
19
|
-
default: !1
|
|
20
|
-
},
|
|
21
|
-
hasSvg: {
|
|
22
|
-
type: Boolean,
|
|
23
|
-
default: !1
|
|
24
|
-
},
|
|
25
|
-
hasLabel: {
|
|
26
|
-
type: Boolean,
|
|
27
|
-
default: !1
|
|
28
|
-
},
|
|
29
|
-
isLabelActive: {
|
|
30
|
-
type: Boolean,
|
|
31
|
-
default: !1
|
|
32
|
-
},
|
|
33
|
-
hasTable: {
|
|
34
|
-
type: Boolean,
|
|
35
|
-
default: !1
|
|
36
|
-
},
|
|
37
|
-
hasSort: {
|
|
38
|
-
type: Boolean,
|
|
39
|
-
default: !1
|
|
40
|
-
},
|
|
41
|
-
hasStack: {
|
|
42
|
-
type: Boolean,
|
|
43
|
-
default: !1
|
|
44
|
-
},
|
|
45
|
-
hasTooltip: {
|
|
46
|
-
type: Boolean,
|
|
47
|
-
default: !1
|
|
48
|
-
},
|
|
49
|
-
color: {
|
|
50
|
-
type: String
|
|
51
|
-
},
|
|
52
|
-
backgroundColor: {
|
|
53
|
-
type: String
|
|
54
|
-
},
|
|
55
|
-
isPrinting: {
|
|
56
|
-
type: Boolean,
|
|
57
|
-
default: !1
|
|
58
|
-
},
|
|
59
|
-
isImaging: {
|
|
60
|
-
type: Boolean,
|
|
61
|
-
default: !1
|
|
62
|
-
},
|
|
63
|
-
title: {
|
|
64
|
-
type: String
|
|
65
|
-
},
|
|
66
|
-
uid: {
|
|
67
|
-
type: String
|
|
68
|
-
},
|
|
69
|
-
hasFullscreen: {
|
|
70
|
-
type: Boolean,
|
|
71
|
-
default: !1
|
|
72
|
-
},
|
|
73
|
-
chartElement: {
|
|
74
|
-
type: HTMLElement,
|
|
75
|
-
default: null
|
|
76
|
-
},
|
|
77
|
-
isFullscreen: {
|
|
78
|
-
type: Boolean,
|
|
79
|
-
default: !1
|
|
80
|
-
},
|
|
81
|
-
isStacked: {
|
|
82
|
-
type: Boolean,
|
|
83
|
-
default: !1
|
|
84
|
-
},
|
|
85
|
-
isTooltip: {
|
|
86
|
-
type: Boolean,
|
|
87
|
-
default: !1
|
|
88
|
-
},
|
|
89
|
-
hasAnimation: {
|
|
90
|
-
type: Boolean,
|
|
91
|
-
default: !1
|
|
92
|
-
},
|
|
93
|
-
isAnimation: {
|
|
94
|
-
type: Boolean,
|
|
95
|
-
default: !1
|
|
96
|
-
},
|
|
97
|
-
titles: {
|
|
98
|
-
type: Object,
|
|
99
|
-
default() {
|
|
100
|
-
return {};
|
|
101
|
-
}
|
|
102
|
-
},
|
|
103
|
-
showTooltips: {
|
|
104
|
-
type: Boolean,
|
|
105
|
-
default: !0
|
|
106
|
-
},
|
|
107
|
-
zIndex: {
|
|
108
|
-
type: Number,
|
|
109
|
-
default: 1
|
|
110
|
-
},
|
|
111
|
-
noOffset: {
|
|
112
|
-
type: Boolean,
|
|
113
|
-
default: !0
|
|
114
|
-
},
|
|
115
|
-
position: {
|
|
116
|
-
type: String,
|
|
117
|
-
default: "right"
|
|
118
|
-
},
|
|
119
|
-
offsetX: {
|
|
120
|
-
type: Number,
|
|
121
|
-
default: 0
|
|
122
|
-
},
|
|
123
|
-
hasAnnotator: {
|
|
124
|
-
type: Boolean,
|
|
125
|
-
default: !1
|
|
126
|
-
},
|
|
127
|
-
isAnnotation: {
|
|
128
|
-
type: Boolean,
|
|
129
|
-
default: !1
|
|
130
|
-
},
|
|
131
|
-
callbacks: {
|
|
132
|
-
type: Object,
|
|
133
|
-
default() {
|
|
134
|
-
return {};
|
|
135
|
-
}
|
|
136
|
-
},
|
|
137
|
-
printScale: {
|
|
138
|
-
type: Number,
|
|
139
|
-
default: 2
|
|
140
|
-
},
|
|
141
|
-
tableDialog: {
|
|
142
|
-
type: Boolean,
|
|
143
|
-
default: !1
|
|
144
|
-
},
|
|
145
|
-
hasZoom: {
|
|
146
|
-
type: Boolean,
|
|
147
|
-
default: !1
|
|
148
|
-
},
|
|
149
|
-
isZoom: {
|
|
150
|
-
type: Boolean,
|
|
151
|
-
default: !1
|
|
152
|
-
}
|
|
153
|
-
},
|
|
154
|
-
emits: [
|
|
155
|
-
"generatePdf",
|
|
156
|
-
"generateCsv",
|
|
157
|
-
"generateImage",
|
|
158
|
-
"toggleTable",
|
|
159
|
-
"toggleLabels",
|
|
160
|
-
"toggleSort",
|
|
161
|
-
"toggleFullscreen",
|
|
162
|
-
"toggleStack",
|
|
163
|
-
"toggleTooltip",
|
|
164
|
-
"toggleAnimation",
|
|
165
|
-
"toggleAnnotator",
|
|
166
|
-
"generateSvg",
|
|
167
|
-
"toggleZoom"
|
|
168
|
-
],
|
|
169
|
-
setup(e, { expose: X, emit: N }) {
|
|
170
|
-
const i = e, g = N;
|
|
171
|
-
async function U() {
|
|
172
|
-
if (i.callbacks.pdf) {
|
|
173
|
-
const { imageUri: l, base64: t } = await D({ domElement: i.chartElement, base64: !0, img: !0, scale: i.printScale });
|
|
174
|
-
i.callbacks.pdf({ domElement: i.chartElement, base64: t, imageUri: l });
|
|
175
|
-
} else
|
|
176
|
-
g("generatePdf");
|
|
177
|
-
}
|
|
178
|
-
function j() {
|
|
179
|
-
g("generateCsv", i.callbacks.csv);
|
|
180
|
-
}
|
|
181
|
-
async function V() {
|
|
182
|
-
if (i.callbacks.img) {
|
|
183
|
-
const { imageUri: l, base64: t } = await D({ domElement: i.chartElement, base64: !0, img: !0, scale: i.printScale });
|
|
184
|
-
i.callbacks.img({ domElement: i.chartElement, imageUri: l, base64: t });
|
|
185
|
-
} else
|
|
186
|
-
g("generateImage");
|
|
187
|
-
}
|
|
188
|
-
function K() {
|
|
189
|
-
g("generateSvg", { isCb: !!i.callbacks.svg });
|
|
190
|
-
}
|
|
191
|
-
const C = m(!1);
|
|
192
|
-
function W() {
|
|
193
|
-
i.callbacks.table ? i.callbacks.table() : (C.value = !C.value, g("toggleTable"));
|
|
194
|
-
}
|
|
195
|
-
function q(l) {
|
|
196
|
-
C.value = l;
|
|
197
|
-
}
|
|
198
|
-
X({
|
|
199
|
-
setTableIconState: q
|
|
200
|
-
});
|
|
201
|
-
const y = m(!1), H = m(!0);
|
|
202
|
-
function I() {
|
|
203
|
-
b.value = window.innerWidth > 600, y.value = !y.value, y.value && (H.value = !1);
|
|
204
|
-
}
|
|
205
|
-
function R() {
|
|
206
|
-
i.isPrinting || i.isImaging || (y.value = !1);
|
|
207
|
-
}
|
|
208
|
-
function G() {
|
|
209
|
-
y.value && R();
|
|
210
|
-
}
|
|
211
|
-
const F = m(i.isLabelActive);
|
|
212
|
-
function J() {
|
|
213
|
-
i.callbacks.labels ? i.callbacks.labels() : (F.value = !F.value, g("toggleLabels"));
|
|
214
|
-
}
|
|
215
|
-
const S = m(i.isAnimation);
|
|
216
|
-
function z() {
|
|
217
|
-
i.callbacks.animation ? i.callbacks.animation() : (S.value = !S.value, g("toggleAnimation"));
|
|
218
|
-
}
|
|
219
|
-
const E = m(i.isZoom);
|
|
220
|
-
function O() {
|
|
221
|
-
i.callbacks.zoom ? i.callbacks.zoom() : (E.value = !E.value, g("toggleZoom"));
|
|
222
|
-
}
|
|
223
|
-
const B = P({
|
|
224
|
-
get: () => i.isAnnotation,
|
|
225
|
-
set: (l) => l
|
|
226
|
-
});
|
|
227
|
-
function L() {
|
|
228
|
-
i.callbacks.annotator ? i.callbacks.annotator() : (B.value = !B.value, g("toggleAnnotator"));
|
|
229
|
-
}
|
|
230
|
-
function Q() {
|
|
231
|
-
i.callbacks.sort ? i.callbacks.sort() : g("toggleSort");
|
|
232
|
-
}
|
|
233
|
-
const A = m(i.isStacked);
|
|
234
|
-
function Y() {
|
|
235
|
-
i.callbacks.stack ? i.callbacks.stack() : (A.value = !A.value, g("toggleStack"));
|
|
236
|
-
}
|
|
237
|
-
const T = m(i.isTooltip);
|
|
238
|
-
function p() {
|
|
239
|
-
i.callbacks.tooltip ? i.callbacks.tooltip() : (T.value = !T.value, g("toggleTooltip"));
|
|
240
|
-
}
|
|
241
|
-
const _ = P({
|
|
242
|
-
get: () => i.isFullscreen,
|
|
243
|
-
set: (l) => g("toggleFullscreen", l)
|
|
244
|
-
});
|
|
245
|
-
function Z() {
|
|
246
|
-
if (!i.chartElement) return;
|
|
247
|
-
const l = !i.isFullscreen;
|
|
248
|
-
_.value = l, l ? i.chartElement.requestFullscreen() : document.exitFullscreen();
|
|
249
|
-
}
|
|
250
|
-
function w() {
|
|
251
|
-
const l = !!document.fullscreenElement;
|
|
252
|
-
g("toggleFullscreen", l);
|
|
253
|
-
}
|
|
254
|
-
ee(() => {
|
|
255
|
-
document.addEventListener("fullscreenchange", w);
|
|
256
|
-
}), te(() => {
|
|
257
|
-
document.removeEventListener("fullscreenchange", w);
|
|
258
|
-
});
|
|
259
|
-
const b = m(window.innerWidth > 600), n = m({
|
|
260
|
-
tooltip: !1,
|
|
261
|
-
pdf: !1,
|
|
262
|
-
csv: !1,
|
|
263
|
-
img: !1,
|
|
264
|
-
table: !1,
|
|
265
|
-
labels: !1,
|
|
266
|
-
sort: !1,
|
|
267
|
-
stack: !1,
|
|
268
|
-
fullscreen: !1,
|
|
269
|
-
animation: !1,
|
|
270
|
-
annotator: !1,
|
|
271
|
-
svg: !1,
|
|
272
|
-
zoom: !1
|
|
273
|
-
});
|
|
274
|
-
return (l, t) => oe((o(), s("div", {
|
|
275
|
-
"data-dom-to-png-ignore": "",
|
|
276
|
-
class: "vue-ui-user-options",
|
|
277
|
-
style: v(`z-index: ${e.zIndex}; height: 34px; position: ${e.isFullscreen ? "fixed" : "absolute"}; top: 0; ${e.position === "right" ? `right:${e.isFullscreen ? "12px" : "0"}` : `left:${e.isFullscreen ? "12px" : "0"}`}; padding: 4px; background:transparent;`)
|
|
278
|
-
}, [
|
|
279
|
-
x("div", {
|
|
280
|
-
tabindex: "0",
|
|
281
|
-
title: y.value ? e.titles.close || "" : e.titles.open || "",
|
|
282
|
-
style: v(`width:32px; position: absolute; top: 0;${e.position === "right" ? `right: ${e.offsetX ? e.offsetX : e.noOffset ? 0 : 4}px` : `left: ${e.noOffset ? 0 : 4}px`}; padding: 0 0px; display: flex; align-items:center;justify-content:center;height: 36px; cursor:pointer; background:transparent`),
|
|
283
|
-
onClick: le(I, ["stop"]),
|
|
284
|
-
onKeypress: ne(I, ["enter"])
|
|
285
|
-
}, [
|
|
286
|
-
k(l.$slots, "menuIcon", h(ie({ isOpen: y.value, color: e.color })), () => [
|
|
287
|
-
se(r, {
|
|
288
|
-
name: y.value ? "close" : "menu",
|
|
289
|
-
stroke: e.color,
|
|
290
|
-
"stroke-width": 2
|
|
291
|
-
}, null, 8, ["name", "stroke"])
|
|
292
|
-
], !0)
|
|
293
|
-
], 44, fe),
|
|
294
|
-
x("div", {
|
|
295
|
-
"data-open": y.value,
|
|
296
|
-
class: d({ "vue-ui-user-options-drawer": !0 }),
|
|
297
|
-
style: v(`background:${e.backgroundColor}; ${e.position === "right" ? `right: ${e.offsetX ? e.offsetX : e.noOffset ? 0 : 4}px` : `left: ${e.noOffset ? 0 : 4}px`}`)
|
|
298
|
-
}, [
|
|
299
|
-
e.hasTooltip ? (o(), s("button", {
|
|
300
|
-
key: 0,
|
|
301
|
-
tabindex: "0",
|
|
302
|
-
class: "vue-ui-user-options-button",
|
|
303
|
-
onClick: p,
|
|
304
|
-
onMouseenter: t[0] || (t[0] = (u) => n.value.tooltip = !0),
|
|
305
|
-
onMouseout: t[1] || (t[1] = (u) => n.value.tooltip = !1)
|
|
306
|
-
}, [
|
|
307
|
-
l.$slots.optionTooltip ? k(l.$slots, "optionTooltip", { key: 0 }, void 0, !0) : (o(), s($, { key: 1 }, [
|
|
308
|
-
T.value ? (o(), f(r, {
|
|
309
|
-
key: 0,
|
|
310
|
-
name: "tooltip",
|
|
311
|
-
stroke: e.color,
|
|
312
|
-
style: { "pointer-events": "none" }
|
|
313
|
-
}, null, 8, ["stroke"])) : (o(), f(r, {
|
|
314
|
-
key: 1,
|
|
315
|
-
name: "tooltipDisabled",
|
|
316
|
-
stroke: e.color,
|
|
317
|
-
style: { "pointer-events": "none" }
|
|
318
|
-
}, null, 8, ["stroke"]))
|
|
319
|
-
], 64)),
|
|
320
|
-
b.value && e.titles.tooltip ? (o(), s("div", {
|
|
321
|
-
key: 2,
|
|
322
|
-
dir: "auto",
|
|
323
|
-
class: d({ "button-info-left": e.position === "left", "button-info-right": e.position === "right", "button-info-left-visible": e.position === "left" && n.value.tooltip, "button-info-right-visible": e.position === "right" && n.value.tooltip }),
|
|
324
|
-
style: v({ background: e.backgroundColor, color: e.color })
|
|
325
|
-
}, c(e.titles.tooltip), 7)) : a("", !0)
|
|
326
|
-
], 32)) : a("", !0),
|
|
327
|
-
e.hasPdf ? (o(), s("button", {
|
|
328
|
-
key: 1,
|
|
329
|
-
tabindex: "0",
|
|
330
|
-
class: "vue-ui-user-options-button",
|
|
331
|
-
onClick: U,
|
|
332
|
-
onMouseenter: t[2] || (t[2] = (u) => n.value.pdf = !0),
|
|
333
|
-
onMouseout: t[3] || (t[3] = (u) => n.value.pdf = !1)
|
|
334
|
-
}, [
|
|
335
|
-
l.$slots.optionPdf ? k(l.$slots, "optionPdf", { key: 0 }, void 0, !0) : (o(), s($, { key: 1 }, [
|
|
336
|
-
e.isPrinting ? (o(), f(r, {
|
|
337
|
-
key: 0,
|
|
338
|
-
name: "spin",
|
|
339
|
-
isSpin: "",
|
|
340
|
-
stroke: e.color,
|
|
341
|
-
style: { "pointer-events": "none" }
|
|
342
|
-
}, null, 8, ["stroke"])) : (o(), f(r, {
|
|
343
|
-
key: 1,
|
|
344
|
-
name: "pdf",
|
|
345
|
-
stroke: e.color,
|
|
346
|
-
style: { "pointer-events": "none" }
|
|
347
|
-
}, null, 8, ["stroke"]))
|
|
348
|
-
], 64)),
|
|
349
|
-
b.value && e.titles.pdf ? (o(), s("div", {
|
|
350
|
-
key: 2,
|
|
351
|
-
dir: "auto",
|
|
352
|
-
class: d({ "button-info-left": e.position === "left", "button-info-right": e.position === "right", "button-info-right-visible": e.position === "right" && n.value.pdf, "button-info-left-visible": e.position === "left" && n.value.pdf }),
|
|
353
|
-
style: v({ background: e.backgroundColor, color: e.color })
|
|
354
|
-
}, c(e.titles.pdf), 7)) : a("", !0)
|
|
355
|
-
], 32)) : a("", !0),
|
|
356
|
-
e.hasXls ? (o(), s("button", {
|
|
357
|
-
key: 2,
|
|
358
|
-
tabindex: "0",
|
|
359
|
-
class: "vue-ui-user-options-button",
|
|
360
|
-
onClick: j,
|
|
361
|
-
onMouseenter: t[4] || (t[4] = (u) => n.value.csv = !0),
|
|
362
|
-
onMouseout: t[5] || (t[5] = (u) => n.value.csv = !1)
|
|
363
|
-
}, [
|
|
364
|
-
l.$slots.optionCsv ? k(l.$slots, "optionCsv", { key: 0 }, void 0, !0) : (o(), f(r, {
|
|
365
|
-
key: 1,
|
|
366
|
-
name: "excel",
|
|
367
|
-
stroke: e.color,
|
|
368
|
-
style: { "pointer-events": "none" }
|
|
369
|
-
}, null, 8, ["stroke"])),
|
|
370
|
-
b.value && e.titles.csv ? (o(), s("div", {
|
|
371
|
-
key: 2,
|
|
372
|
-
dir: "auto",
|
|
373
|
-
class: d({ "button-info-left": e.position === "left", "button-info-right": e.position === "right", "button-info-right-visible": e.position === "right" && n.value.csv, "button-info-left-visible": e.position === "left" && n.value.csv }),
|
|
374
|
-
style: v({ background: e.backgroundColor, color: e.color })
|
|
375
|
-
}, c(e.titles.csv), 7)) : a("", !0)
|
|
376
|
-
], 32)) : a("", !0),
|
|
377
|
-
e.hasImg ? (o(), s("button", {
|
|
378
|
-
key: 3,
|
|
379
|
-
tabindex: "0",
|
|
380
|
-
class: "vue-ui-user-options-button",
|
|
381
|
-
onClick: V,
|
|
382
|
-
onMouseenter: t[6] || (t[6] = (u) => n.value.img = !0),
|
|
383
|
-
onMouseout: t[7] || (t[7] = (u) => n.value.img = !1)
|
|
384
|
-
}, [
|
|
385
|
-
l.$slots.optionImg ? k(l.$slots, "optionImg", { key: 0 }, void 0, !0) : (o(), s($, { key: 1 }, [
|
|
386
|
-
e.isImaging ? (o(), f(r, {
|
|
387
|
-
key: 0,
|
|
388
|
-
name: "spin",
|
|
389
|
-
isSpin: "",
|
|
390
|
-
stroke: e.color,
|
|
391
|
-
style: { "pointer-events": "none" }
|
|
392
|
-
}, null, 8, ["stroke"])) : (o(), f(r, {
|
|
393
|
-
key: 1,
|
|
394
|
-
name: "image",
|
|
395
|
-
stroke: e.color,
|
|
396
|
-
style: { "pointer-events": "none" }
|
|
397
|
-
}, null, 8, ["stroke"]))
|
|
398
|
-
], 64)),
|
|
399
|
-
b.value && e.titles.img ? (o(), s("div", {
|
|
400
|
-
key: 2,
|
|
401
|
-
dir: "auto",
|
|
402
|
-
class: d({ "button-info-left": e.position === "left", "button-info-right": e.position === "right", "button-info-right-visible": e.position === "right" && n.value.img, "button-info-left-visible": e.position === "left" && n.value.img }),
|
|
403
|
-
style: v({ background: e.backgroundColor, color: e.color })
|
|
404
|
-
}, c(e.titles.img), 7)) : a("", !0)
|
|
405
|
-
], 32)) : a("", !0),
|
|
406
|
-
e.hasSvg ? (o(), s("button", {
|
|
407
|
-
key: 4,
|
|
408
|
-
tabindex: "0",
|
|
409
|
-
class: "vue-ui-user-options-button",
|
|
410
|
-
onClick: K,
|
|
411
|
-
onMouseenter: t[8] || (t[8] = (u) => n.value.svg = !0),
|
|
412
|
-
onMouseout: t[9] || (t[9] = (u) => n.value.svg = !1)
|
|
413
|
-
}, [
|
|
414
|
-
l.$slots.optionSvg ? k(l.$slots, "optionSvg", { key: 0 }, void 0, !0) : (o(), f(r, {
|
|
415
|
-
key: 1,
|
|
416
|
-
name: "svg",
|
|
417
|
-
stroke: e.color,
|
|
418
|
-
style: { "pointer-events": "none" }
|
|
419
|
-
}, null, 8, ["stroke"])),
|
|
420
|
-
b.value && e.titles.svg ? (o(), s("div", {
|
|
421
|
-
key: 2,
|
|
422
|
-
dir: "auto",
|
|
423
|
-
class: d({ "button-info-left": e.position === "left", "button-info-right": e.position === "right", "button-info-right-visible": e.position === "right" && n.value.svg, "button-info-left-visible": e.position === "left" && n.value.svg }),
|
|
424
|
-
style: v({ background: e.backgroundColor, color: e.color })
|
|
425
|
-
}, c(e.titles.svg), 7)) : a("", !0)
|
|
426
|
-
], 32)) : a("", !0),
|
|
427
|
-
e.hasTable ? (o(), s("button", {
|
|
428
|
-
key: 5,
|
|
429
|
-
tabindex: "0",
|
|
430
|
-
class: "vue-ui-user-options-button",
|
|
431
|
-
onClick: W,
|
|
432
|
-
onMouseenter: t[10] || (t[10] = (u) => n.value.table = !0),
|
|
433
|
-
onMouseout: t[11] || (t[11] = (u) => n.value.table = !1)
|
|
434
|
-
}, [
|
|
435
|
-
l.$slots.optionTable ? k(l.$slots, "optionTable", { key: 0 }, void 0, !0) : (o(), s($, { key: 1 }, [
|
|
436
|
-
e.tableDialog ? (o(), f(r, {
|
|
437
|
-
key: 0,
|
|
438
|
-
name: C.value ? "tableDialogClose" : "tableDialogOpen",
|
|
439
|
-
stroke: e.color,
|
|
440
|
-
style: { "pointer-events": "none" }
|
|
441
|
-
}, null, 8, ["name", "stroke"])) : (o(), f(r, {
|
|
442
|
-
key: 1,
|
|
443
|
-
name: C.value ? "tableClose" : "tableOpen",
|
|
444
|
-
stroke: e.color,
|
|
445
|
-
style: { "pointer-events": "none" }
|
|
446
|
-
}, null, 8, ["name", "stroke"]))
|
|
447
|
-
], 64)),
|
|
448
|
-
b.value && e.titles.table ? (o(), s("div", {
|
|
449
|
-
key: 2,
|
|
450
|
-
dir: "auto",
|
|
451
|
-
class: d({ "button-info-left": e.position === "left", "button-info-right": e.position === "right", "button-info-right-visible": e.position === "right" && n.value.table, "button-info-left-visible": e.position === "left" && n.value.table }),
|
|
452
|
-
style: v({ background: e.backgroundColor, color: e.color })
|
|
453
|
-
}, c(e.titles.table), 7)) : a("", !0)
|
|
454
|
-
], 32)) : a("", !0),
|
|
455
|
-
e.hasLabel ? (o(), s("button", {
|
|
456
|
-
key: 6,
|
|
457
|
-
tabindex: "0",
|
|
458
|
-
class: "vue-ui-user-options-button",
|
|
459
|
-
onClick: J,
|
|
460
|
-
onMouseenter: t[12] || (t[12] = (u) => n.value.labels = !0),
|
|
461
|
-
onMouseout: t[13] || (t[13] = (u) => n.value.labels = !1)
|
|
462
|
-
}, [
|
|
463
|
-
l.$slots.optionLabels ? k(l.$slots, "optionLabels", { key: 0 }, void 0, !0) : (o(), f(r, {
|
|
464
|
-
key: 1,
|
|
465
|
-
name: F.value ? "labelClose" : "labelOpen",
|
|
466
|
-
stroke: e.color,
|
|
467
|
-
style: { "pointer-events": "none" }
|
|
468
|
-
}, null, 8, ["name", "stroke"])),
|
|
469
|
-
b.value && e.titles.labels ? (o(), s("div", {
|
|
470
|
-
key: 2,
|
|
471
|
-
dir: "auto",
|
|
472
|
-
class: d({ "button-info-left": e.position === "left", "button-info-right": e.position === "right", "button-info-right-visible": e.position === "right" && n.value.labels, "button-info-left-visible": e.position === "left" && n.value.labels }),
|
|
473
|
-
style: v({ background: e.backgroundColor, color: e.color })
|
|
474
|
-
}, c(e.titles.labels), 7)) : a("", !0)
|
|
475
|
-
], 32)) : a("", !0),
|
|
476
|
-
e.hasSort ? (o(), s("button", {
|
|
477
|
-
key: 7,
|
|
478
|
-
tabindex: "0",
|
|
479
|
-
class: "vue-ui-user-options-button",
|
|
480
|
-
onClick: Q,
|
|
481
|
-
onMouseenter: t[14] || (t[14] = (u) => n.value.sort = !0),
|
|
482
|
-
onMouseout: t[15] || (t[15] = (u) => n.value.sort = !1)
|
|
483
|
-
}, [
|
|
484
|
-
l.$slots.optionSort ? k(l.$slots, "optionSort", { key: 0 }, void 0, !0) : (o(), f(r, {
|
|
485
|
-
key: 1,
|
|
486
|
-
name: "sort",
|
|
487
|
-
stroke: e.color,
|
|
488
|
-
style: { "pointer-events": "none" }
|
|
489
|
-
}, null, 8, ["stroke"])),
|
|
490
|
-
b.value && e.titles.sort ? (o(), s("div", {
|
|
491
|
-
key: 2,
|
|
492
|
-
dir: "auto",
|
|
493
|
-
class: d({ "button-info-left": e.position === "left", "button-info-right": e.position === "right", "button-info-right-visible": e.position === "right" && n.value.sort, "button-info-left-visible": e.position === "left" && n.value.sort }),
|
|
494
|
-
style: v({ background: e.backgroundColor, color: e.color })
|
|
495
|
-
}, c(e.titles.sort), 7)) : a("", !0)
|
|
496
|
-
], 32)) : a("", !0),
|
|
497
|
-
e.hasStack ? (o(), s("button", {
|
|
498
|
-
key: 8,
|
|
499
|
-
tabindex: "0",
|
|
500
|
-
class: "vue-ui-user-options-button",
|
|
501
|
-
onClick: Y,
|
|
502
|
-
onMouseenter: t[16] || (t[16] = (u) => n.value.stack = !0),
|
|
503
|
-
onMouseout: t[17] || (t[17] = (u) => n.value.stack = !1)
|
|
504
|
-
}, [
|
|
505
|
-
l.$slots.optionStack ? k(l.$slots, "optionStack", h(M({ key: 0 }, { isStack: A.value })), void 0, !0) : (o(), s($, { key: 1 }, [
|
|
506
|
-
A.value ? (o(), f(r, {
|
|
507
|
-
key: 0,
|
|
508
|
-
name: "unstack",
|
|
509
|
-
stroke: e.color,
|
|
510
|
-
style: { "pointer-events": "none" }
|
|
511
|
-
}, null, 8, ["stroke"])) : (o(), f(r, {
|
|
512
|
-
key: 1,
|
|
513
|
-
name: "stack",
|
|
514
|
-
stroke: e.color,
|
|
515
|
-
style: { "pointer-events": "none" }
|
|
516
|
-
}, null, 8, ["stroke"]))
|
|
517
|
-
], 64)),
|
|
518
|
-
b.value && e.titles.stack ? (o(), s("div", {
|
|
519
|
-
key: 2,
|
|
520
|
-
dir: "auto",
|
|
521
|
-
class: d({ "button-info-left": e.position === "left", "button-info-right": e.position === "right", "button-info-right-visible": e.position === "right" && n.value.stack, "button-info-left-visible": e.position === "left" && n.value.stack }),
|
|
522
|
-
style: v({ background: e.backgroundColor, color: e.color })
|
|
523
|
-
}, c(e.titles.stack), 7)) : a("", !0)
|
|
524
|
-
], 32)) : a("", !0),
|
|
525
|
-
e.hasFullscreen ? (o(), s("button", {
|
|
526
|
-
key: 9,
|
|
527
|
-
tabindex: "0",
|
|
528
|
-
class: "vue-ui-user-options-button",
|
|
529
|
-
onMouseenter: t[18] || (t[18] = (u) => n.value.fullscreen = !0),
|
|
530
|
-
onMouseout: t[19] || (t[19] = (u) => n.value.fullscreen = !1),
|
|
531
|
-
onClick: t[20] || (t[20] = (u) => Z(e.isFullscreen ? "out" : "in"))
|
|
532
|
-
}, [
|
|
533
|
-
l.$slots.optionFullscreen ? k(l.$slots, "optionFullscreen", h(M({ key: 0 }, { toggleFullscreen: Z, isFullscreen: e.isFullscreen })), void 0, !0) : (o(), s($, { key: 1 }, [
|
|
534
|
-
e.isFullscreen ? (o(), f(r, {
|
|
535
|
-
key: 0,
|
|
536
|
-
name: "exitFullscreen",
|
|
537
|
-
stroke: e.color,
|
|
538
|
-
style: { "pointer-events": "none" }
|
|
539
|
-
}, null, 8, ["stroke"])) : a("", !0),
|
|
540
|
-
e.isFullscreen ? a("", !0) : (o(), f(r, {
|
|
541
|
-
key: 1,
|
|
542
|
-
name: "fullscreen",
|
|
543
|
-
stroke: e.color,
|
|
544
|
-
style: { "pointer-events": "none" }
|
|
545
|
-
}, null, 8, ["stroke"]))
|
|
546
|
-
], 64)),
|
|
547
|
-
b.value && e.titles.fullscreen ? (o(), s("div", {
|
|
548
|
-
key: 2,
|
|
549
|
-
dir: "auto",
|
|
550
|
-
class: d({ "button-info-left": e.position === "left", "button-info-right": e.position === "right", "button-info-right-visible": e.position === "right" && n.value.fullscreen, "button-info-left-visible": e.position === "left" && n.value.fullscreen }),
|
|
551
|
-
style: v({ background: e.backgroundColor, color: e.color })
|
|
552
|
-
}, c(e.titles.fullscreen), 7)) : a("", !0)
|
|
553
|
-
], 32)) : a("", !0),
|
|
554
|
-
e.hasZoom ? (o(), s("button", {
|
|
555
|
-
key: 10,
|
|
556
|
-
tabindex: "0",
|
|
557
|
-
class: "vue-ui-user-options-button",
|
|
558
|
-
onMouseenter: t[21] || (t[21] = (u) => n.value.zoom = !0),
|
|
559
|
-
onMouseout: t[22] || (t[22] = (u) => n.value.zoom = !1),
|
|
560
|
-
onClick: t[23] || (t[23] = (u) => O())
|
|
561
|
-
}, [
|
|
562
|
-
l.$slots.optionZoom ? k(l.$slots, "optionZoom", h(M({ key: 0 }, { toggleZoom: O, isZoomLocked: !e.isZoom })), void 0, !0) : (o(), s($, { key: 1 }, [
|
|
563
|
-
e.isZoom ? (o(), f(r, {
|
|
564
|
-
key: 0,
|
|
565
|
-
name: "zoomUnlock",
|
|
566
|
-
stroke: e.color,
|
|
567
|
-
style: { "pointer-events": "none" }
|
|
568
|
-
}, null, 8, ["stroke"])) : a("", !0),
|
|
569
|
-
e.isZoom ? a("", !0) : (o(), f(r, {
|
|
570
|
-
key: 1,
|
|
571
|
-
name: "zoomLock",
|
|
572
|
-
stroke: e.color,
|
|
573
|
-
style: { "pointer-events": "none" }
|
|
574
|
-
}, null, 8, ["stroke"]))
|
|
575
|
-
], 64)),
|
|
576
|
-
b.value && e.titles.zoom ? (o(), s("div", {
|
|
577
|
-
key: 2,
|
|
578
|
-
dir: "auto",
|
|
579
|
-
class: d({ "button-info-left": e.position === "left", "button-info-right": e.position === "right", "button-info-right-visible": e.position === "right" && n.value.zoom, "button-info-left-visible": e.position === "left" && n.value.zoom }),
|
|
580
|
-
style: v({ background: e.backgroundColor, color: e.color })
|
|
581
|
-
}, c(e.titles.zoom), 7)) : a("", !0)
|
|
582
|
-
], 32)) : a("", !0),
|
|
583
|
-
e.hasAnimation ? (o(), s("button", {
|
|
584
|
-
key: 11,
|
|
585
|
-
tabindex: "0",
|
|
586
|
-
class: "vue-ui-user-options-button",
|
|
587
|
-
onMouseenter: t[24] || (t[24] = (u) => n.value.animation = !0),
|
|
588
|
-
onMouseout: t[25] || (t[25] = (u) => n.value.animation = !1),
|
|
589
|
-
onClick: z
|
|
590
|
-
}, [
|
|
591
|
-
l.$slots.optionAnimation ? k(l.$slots, "optionAnimation", h(M({ key: 0 }, { toggleAnimation: z, isAnimated: S.value })), void 0, !0) : (o(), s($, { key: 1 }, [
|
|
592
|
-
S.value ? (o(), f(r, {
|
|
593
|
-
key: 0,
|
|
594
|
-
name: "play",
|
|
595
|
-
stroke: e.color,
|
|
596
|
-
style: { "pointer-events": "none" }
|
|
597
|
-
}, null, 8, ["stroke"])) : a("", !0),
|
|
598
|
-
S.value ? a("", !0) : (o(), f(r, {
|
|
599
|
-
key: 1,
|
|
600
|
-
name: "pause",
|
|
601
|
-
stroke: e.color,
|
|
602
|
-
style: { "pointer-events": "none" }
|
|
603
|
-
}, null, 8, ["stroke"]))
|
|
604
|
-
], 64)),
|
|
605
|
-
b.value && e.titles.fullscreen ? (o(), s("div", {
|
|
606
|
-
key: 2,
|
|
607
|
-
dir: "auto",
|
|
608
|
-
class: d({ "button-info-left": e.position === "left", "button-info-right": e.position === "right", "button-info-right-visible": e.position === "right" && n.value.animation, "button-info-left-visible": e.position === "left" && n.value.animation }),
|
|
609
|
-
style: v({ background: e.backgroundColor, color: e.color })
|
|
610
|
-
}, c(e.titles.animation), 7)) : a("", !0)
|
|
611
|
-
], 32)) : a("", !0),
|
|
612
|
-
e.hasAnnotator ? (o(), s("button", {
|
|
613
|
-
key: 12,
|
|
614
|
-
tabindex: "0",
|
|
615
|
-
class: "vue-ui-user-options-button",
|
|
616
|
-
onMouseenter: t[26] || (t[26] = (u) => n.value.annotator = !0),
|
|
617
|
-
onMouseout: t[27] || (t[27] = (u) => n.value.annotator = !1),
|
|
618
|
-
onClick: L
|
|
619
|
-
}, [
|
|
620
|
-
l.$slots.optionAnnotator ? k(l.$slots, "optionAnnotator", h(M({ key: 0 }, { toggleAnnotator: L, isAnnotator: B.value })), void 0, !0) : (o(), s($, { key: 1 }, [
|
|
621
|
-
B.value ? (o(), f(r, {
|
|
622
|
-
key: 0,
|
|
623
|
-
name: "annotatorDisabled",
|
|
624
|
-
stroke: e.color,
|
|
625
|
-
style: { "pointer-events": "none" }
|
|
626
|
-
}, null, 8, ["stroke"])) : a("", !0),
|
|
627
|
-
B.value ? a("", !0) : (o(), f(r, {
|
|
628
|
-
key: 1,
|
|
629
|
-
name: "annotator",
|
|
630
|
-
stroke: e.color,
|
|
631
|
-
style: { "pointer-events": "none" }
|
|
632
|
-
}, null, 8, ["stroke"]))
|
|
633
|
-
], 64)),
|
|
634
|
-
b.value && e.titles.annotator ? (o(), s("div", {
|
|
635
|
-
key: 2,
|
|
636
|
-
dir: "auto",
|
|
637
|
-
class: d({ "button-info-left": e.position === "left", "button-info-right": e.position === "right", "button-info-right-visible": e.position === "right" && n.value.annotator, "button-info-left-visible": e.position === "left" && n.value.annotator }),
|
|
638
|
-
style: v({ background: e.backgroundColor, color: e.color })
|
|
639
|
-
}, c(e.titles.annotator), 7)) : a("", !0)
|
|
640
|
-
], 32)) : a("", !0)
|
|
641
|
-
], 12, ve)
|
|
642
|
-
], 4)), [
|
|
643
|
-
[ae(ue), G]
|
|
644
|
-
]);
|
|
645
|
-
}
|
|
646
|
-
}, ye = /* @__PURE__ */ re(ge, [["__scopeId", "data-v-fd5fc9ca"]]);
|
|
647
|
-
export {
|
|
648
|
-
ye as default
|
|
649
|
-
};
|