tsviewer 1.0.27 → 1.0.28
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/BFButton-V2zgKAQA.mjs +72 -0
- package/dist/IconSelection-BGj1-2Pf.mjs +37 -0
- package/dist/TSAnnotationCanvas-DS-_o3gh.mjs +732 -0
- package/dist/TSAnnotationModal-BKwEWORY.mjs +4429 -0
- package/dist/TSFilterModal-DjKgP7Y2.mjs +238 -0
- package/dist/TSScrubber-BZo4SyGm.mjs +380 -0
- package/dist/TSViewerCanvas-CeGKq-zQ.mjs +5737 -0
- package/dist/TSViewerLayerWindow-laXtlKCp.mjs +262 -0
- package/dist/TSViewerToolbar-CQ4uNXil.mjs +555 -0
- package/dist/TsAnnotationDeleteDialog-CoPkyAmW.mjs +249 -0
- package/dist/_commonjsHelpers-DaMA6jEr.mjs +8 -0
- package/dist/base-CIy5gWpu.mjs +1413 -0
- package/dist/el-button-B2d_HO4x.mjs +769 -0
- package/dist/el-input-DNjlHApm.mjs +4667 -0
- package/dist/el-input-number-CAzspsnM.mjs +265 -0
- package/dist/el-overlay-_Fd7WVZL.mjs +517 -0
- package/dist/index-BtnXpu3W.mjs +902 -0
- package/dist/index-ClxLs_jS.mjs +22 -0
- package/dist/pathOr-DE7WGRqe.mjs +18 -0
- package/dist/request_composable-DV-ftNZG.mjs +212 -0
- package/dist/tsviewer.css +1 -1
- package/dist/tsviewer.es.js +4 -20932
- package/dist/tsviewer.umd.js +17 -17
- package/dist/useToken-CJWB6KGF.mjs +16 -0
- package/package.json +2 -2
|
@@ -0,0 +1,555 @@
|
|
|
1
|
+
import "./base-CIy5gWpu.mjs";
|
|
2
|
+
import { E as j, a as G, b as X } from "./el-input-DNjlHApm.mjs";
|
|
3
|
+
import { E as J, a as K } from "./el-button-B2d_HO4x.mjs";
|
|
4
|
+
import { E as Q } from "./el-input-number-CAzspsnM.mjs";
|
|
5
|
+
import { createElementBlock as g, openBlock as r, createElementVNode as t, ref as h, computed as k, onMounted as W, createVNode as l, createBlock as w, createCommentVNode as y, withCtx as u, resolveDynamicComponent as Y, Fragment as tt, renderList as et } from "vue";
|
|
6
|
+
import { e as m } from "./index-BtnXpu3W.mjs";
|
|
7
|
+
const nt = {
|
|
8
|
+
name: "IconPreviousPage",
|
|
9
|
+
props: {
|
|
10
|
+
width: {
|
|
11
|
+
type: Number,
|
|
12
|
+
default: 12
|
|
13
|
+
},
|
|
14
|
+
height: {
|
|
15
|
+
type: Number,
|
|
16
|
+
default: 12
|
|
17
|
+
},
|
|
18
|
+
color: {
|
|
19
|
+
type: String,
|
|
20
|
+
default: "currentColor"
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
}, ot = ["width", "height", "fill"];
|
|
24
|
+
function lt(d, n, e, i, s, c) {
|
|
25
|
+
return r(), g("svg", {
|
|
26
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
27
|
+
width: e.width,
|
|
28
|
+
height: e.height,
|
|
29
|
+
fill: e.color,
|
|
30
|
+
viewBox: "0 0 12 12"
|
|
31
|
+
}, n[0] || (n[0] = [
|
|
32
|
+
t("path", { d: "M10.959,0.571 L3.756,5.52 C3.756,5.52 3.477,5.721 3.477,6.001 C3.477,6.281 3.756,6.48 3.756,6.48 L10.959,11.431 C11.531,11.811 12,11.53 12,10.805 L12,1.196 C12,0.469 11.531,0.188 10.959,0.571 Z M2,0 L1,0 C0.447,0 0,0.048 0,0.6 L0,11.4 C0,11.952 0.447,12 1,12 L2,12 C2.553,12 3,11.952 3,11.4 L3,0.6 C3,0.048 2.553,0 2,0 Z" }, null, -1)
|
|
33
|
+
]), 8, ot);
|
|
34
|
+
}
|
|
35
|
+
const it = /* @__PURE__ */ m(nt, [["render", lt]]), at = {
|
|
36
|
+
name: "IconNextAnnotationLeftFacing",
|
|
37
|
+
props: {
|
|
38
|
+
width: {
|
|
39
|
+
type: Number,
|
|
40
|
+
default: 24
|
|
41
|
+
},
|
|
42
|
+
height: {
|
|
43
|
+
type: Number,
|
|
44
|
+
default: 14
|
|
45
|
+
},
|
|
46
|
+
color: {
|
|
47
|
+
type: String,
|
|
48
|
+
default: "currentColor"
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
}, rt = ["width", "height", "fill"];
|
|
52
|
+
function st(d, n, e, i, s, c) {
|
|
53
|
+
return r(), g("svg", {
|
|
54
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
55
|
+
width: e.width,
|
|
56
|
+
height: e.height,
|
|
57
|
+
fill: e.color,
|
|
58
|
+
viewBox: "0 0 24 14"
|
|
59
|
+
}, n[0] || (n[0] = [
|
|
60
|
+
t("defs", null, [
|
|
61
|
+
t("path", {
|
|
62
|
+
pid: "0",
|
|
63
|
+
d: "M4 5L.859 1.58a.695.695 0 0 1 0-.978.68.68 0 0 1 .969 0l3.83 3.908a.697.697 0 0 1 0 .979l-3.83 3.908a.68.68 0 0 1-.969 0 .695.695 0 0 1 0-.978L4 5z",
|
|
64
|
+
id: "svgicon-next-annotation-left-facing-a"
|
|
65
|
+
})
|
|
66
|
+
], -1),
|
|
67
|
+
t("g", {
|
|
68
|
+
_fill: "none",
|
|
69
|
+
"fill-rule": "evenodd"
|
|
70
|
+
}, [
|
|
71
|
+
t("g", { transform: "matrix(-1 0 0 1 6 0)" }, [
|
|
72
|
+
t("mask", {
|
|
73
|
+
id: "svgicon-next-annotation-left-facing-b",
|
|
74
|
+
_fill: "#fff"
|
|
75
|
+
}, [
|
|
76
|
+
t("use", { "xlink:href": "#svgicon-next-annotation-left-facing-a" })
|
|
77
|
+
]),
|
|
78
|
+
t("use", {
|
|
79
|
+
_fill: "#000",
|
|
80
|
+
"fill-rule": "nonzero",
|
|
81
|
+
"xlink:href": "#svgicon-next-annotation-left-facing-a"
|
|
82
|
+
}),
|
|
83
|
+
t("g", {
|
|
84
|
+
mask: "url(#svgicon-next-annotation-left-facing-b)",
|
|
85
|
+
_fill: "#000"
|
|
86
|
+
}, [
|
|
87
|
+
t("path", {
|
|
88
|
+
pid: "1",
|
|
89
|
+
d: "M-2 0H8v10H-2z"
|
|
90
|
+
})
|
|
91
|
+
])
|
|
92
|
+
]),
|
|
93
|
+
t("g", { _fill: "#000" }, [
|
|
94
|
+
t("path", {
|
|
95
|
+
pid: "2",
|
|
96
|
+
d: "M23.986 10.906l-5.6-2.506 2.303 5.6.63-2.611zM10 8.4h1.4v1.4H10zM12.8 8.4h1.4v1.4h-1.4zM15.6 8.4H17v1.4h-1.4zM10 5.6h1.4V7H10zM10 2.8h1.4v1.4H10zM18.4 5.6h1.4V7h-1.4zM18.4 2.8h1.4v1.4h-1.4zM10 0h1.4v1.4H10zM12.8 0h1.4v1.4h-1.4zM15.6 0H17v1.4h-1.4zM18.4 0h1.4v1.4h-1.4z"
|
|
97
|
+
})
|
|
98
|
+
])
|
|
99
|
+
], -1)
|
|
100
|
+
]), 8, rt);
|
|
101
|
+
}
|
|
102
|
+
const ct = /* @__PURE__ */ m(at, [["render", st]]), ut = {
|
|
103
|
+
name: "IconNextAnnotationRightFacing",
|
|
104
|
+
props: {
|
|
105
|
+
width: {
|
|
106
|
+
type: Number,
|
|
107
|
+
default: 24
|
|
108
|
+
},
|
|
109
|
+
height: {
|
|
110
|
+
type: Number,
|
|
111
|
+
default: 14
|
|
112
|
+
},
|
|
113
|
+
color: {
|
|
114
|
+
type: String,
|
|
115
|
+
default: "currentColor"
|
|
116
|
+
}
|
|
117
|
+
}
|
|
118
|
+
}, dt = ["width", "height", "fill"];
|
|
119
|
+
function ht(d, n, e, i, s, c) {
|
|
120
|
+
return r(), g("svg", {
|
|
121
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
122
|
+
width: e.width,
|
|
123
|
+
height: e.height,
|
|
124
|
+
fill: e.color,
|
|
125
|
+
viewBox: "0 0 24 14"
|
|
126
|
+
}, n[0] || (n[0] = [
|
|
127
|
+
t("defs", null, [
|
|
128
|
+
t("path", {
|
|
129
|
+
pid: "0",
|
|
130
|
+
d: "M4 5L.859 1.58a.695.695 0 0 1 0-.978.68.68 0 0 1 .969 0l3.83 3.908a.697.697 0 0 1 0 .979l-3.83 3.908a.68.68 0 0 1-.969 0 .695.695 0 0 1 0-.978L4 5z",
|
|
131
|
+
id: "svgicon-next-annotation-right-facing-a"
|
|
132
|
+
})
|
|
133
|
+
], -1),
|
|
134
|
+
t("g", {
|
|
135
|
+
_fill: "none",
|
|
136
|
+
"fill-rule": "evenodd"
|
|
137
|
+
}, [
|
|
138
|
+
t("g", { transform: "translate(18)" }, [
|
|
139
|
+
t("mask", {
|
|
140
|
+
id: "svgicon-next-annotation-right-facing-b",
|
|
141
|
+
_fill: "#fff"
|
|
142
|
+
}, [
|
|
143
|
+
t("use", { "xlink:href": "#svgicon-next-annotation-right-facing-a" })
|
|
144
|
+
]),
|
|
145
|
+
t("use", {
|
|
146
|
+
_fill: "#000",
|
|
147
|
+
"fill-rule": "nonzero",
|
|
148
|
+
"xlink:href": "#svgicon-next-annotation-right-facing-a"
|
|
149
|
+
}),
|
|
150
|
+
t("g", {
|
|
151
|
+
mask: "url(#svgicon-next-annotation-right-facing-b)",
|
|
152
|
+
_fill: "#000"
|
|
153
|
+
}, [
|
|
154
|
+
t("path", {
|
|
155
|
+
pid: "1",
|
|
156
|
+
d: "M-2 0H8v10H-2z"
|
|
157
|
+
})
|
|
158
|
+
])
|
|
159
|
+
]),
|
|
160
|
+
t("g", { _fill: "#000" }, [
|
|
161
|
+
t("path", {
|
|
162
|
+
pid: "2",
|
|
163
|
+
d: "M13.986 10.906L8.386 8.4l2.303 5.6.63-2.611zM0 8.4h1.4v1.4H0zM2.8 8.4h1.4v1.4H2.8zM5.6 8.4H7v1.4H5.6zM0 5.6h1.4V7H0zM0 2.8h1.4v1.4H0zM8.4 5.6h1.4V7H8.4zM8.4 2.8h1.4v1.4H8.4zM0 0h1.4v1.4H0zM2.8 0h1.4v1.4H2.8zM5.6 0H7v1.4H5.6zM8.4 0h1.4v1.4H8.4z"
|
|
164
|
+
})
|
|
165
|
+
])
|
|
166
|
+
], -1)
|
|
167
|
+
]), 8, dt);
|
|
168
|
+
}
|
|
169
|
+
const gt = /* @__PURE__ */ m(ut, [["render", ht]]), ft = {
|
|
170
|
+
name: "IconNextPage",
|
|
171
|
+
props: {
|
|
172
|
+
width: {
|
|
173
|
+
type: Number,
|
|
174
|
+
default: 16
|
|
175
|
+
},
|
|
176
|
+
height: {
|
|
177
|
+
type: Number,
|
|
178
|
+
default: 16
|
|
179
|
+
},
|
|
180
|
+
color: {
|
|
181
|
+
type: String,
|
|
182
|
+
default: "currentColor"
|
|
183
|
+
}
|
|
184
|
+
}
|
|
185
|
+
}, mt = ["width", "height", "fill"];
|
|
186
|
+
function pt(d, n, e, i, s, c) {
|
|
187
|
+
return r(), g("svg", {
|
|
188
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
189
|
+
width: e.width,
|
|
190
|
+
height: e.height,
|
|
191
|
+
fill: e.color,
|
|
192
|
+
viewBox: "0 0 12 12"
|
|
193
|
+
}, n[0] || (n[0] = [
|
|
194
|
+
t("path", { d: "M8.244,5.52 L1.041,0.571 C0.469,0.188 0,0.469 0,1.196 L0,10.805 C0,11.53 0.469,11.811 1.041,11.43 L8.244,6.479 C8.244,6.479 8.523,6.28 8.523,6.001 C8.523,5.721 8.244,5.52 8.244,5.52 Z M10,0 L11,0 C11.553,0 12,0.048 12,0.6 L12,11.4 C12,11.952 11.553,12 11,12 L10,12 C9.447,12 9,11.952 9,11.4 L9,0.6 C9,0.048 9.447,0 10,0 Z" }, null, -1)
|
|
195
|
+
]), 8, mt);
|
|
196
|
+
}
|
|
197
|
+
const vt = /* @__PURE__ */ m(ft, [["render", pt]]), Ct = {
|
|
198
|
+
name: "IconStopwatch",
|
|
199
|
+
props: {
|
|
200
|
+
width: {
|
|
201
|
+
type: Number,
|
|
202
|
+
default: 15
|
|
203
|
+
},
|
|
204
|
+
height: {
|
|
205
|
+
type: Number,
|
|
206
|
+
default: 16
|
|
207
|
+
},
|
|
208
|
+
color: {
|
|
209
|
+
type: String,
|
|
210
|
+
default: "currentColor"
|
|
211
|
+
}
|
|
212
|
+
}
|
|
213
|
+
}, wt = ["width", "height", "fill"];
|
|
214
|
+
function _t(d, n, e, i, s, c) {
|
|
215
|
+
return r(), g("svg", {
|
|
216
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
217
|
+
width: e.width,
|
|
218
|
+
height: e.height,
|
|
219
|
+
fill: e.color,
|
|
220
|
+
viewBox: "0 0 15 16"
|
|
221
|
+
}, n[0] || (n[0] = [
|
|
222
|
+
t("path", { d: "M5.1008,5.396 C4.7432,5.616 6.0584,8.7896 6.3792,9.3064 C6.6592,9.7616 7.2536,9.9 7.7056,9.6216 C8.16,9.34 8.3016,8.7464 8.0216,8.2936 C7.704,7.7752 5.4576,5.1752 5.1008,5.396 Z M4.8328,1.9216 C5.5752,1.6632 6.3704,1.52 7.2,1.52 C8.0296,1.52 8.8248,1.6632 9.5672,1.9216 C9.8304,2.0128 10.1792,1.8296 10.0248,1.4328 C9.912,1.1448 9.8032,0.8632 9.7592,0.7488 C9.6544,0.4776 9.2792,0.2536 9.116,0.2168 C8.4984,0.0776 7.8584,0 7.2,0 C6.5416,0 5.9016,0.0776 5.2832,0.2168 C5.12,0.2536 4.7456,0.4776 4.6408,0.7488 C4.5968,0.8632 4.4872,1.1448 4.3752,1.4328 C4.2208,1.8296 4.5696,2.0136 4.8328,1.9216 Z M14.4784,2.5488 C14.3248,2.3648 14.1616,2.1848 13.988,2.0112 C13.8152,1.8376 13.6352,1.6752 13.452,1.5208 C13.3296,1.4176 12.9696,1.3336 12.7416,1.5616 C12.5144,1.7896 11.4232,2.8792 11.4232,2.8792 C11.7448,3.1096 12.0576,3.3632 12.3472,3.652 C12.6368,3.9408 12.8888,4.2536 13.12,4.576 C13.12,4.576 14.2104,3.4864 14.4376,3.2584 C14.6664,3.0296 14.5824,2.6704 14.4784,2.5488 Z M7.2,2.32 C3.62,2.32 0.7192,5.2208 0.7192,8.8 C0.7192,12.38 3.62,15.2808 7.2,15.2808 C10.7784,15.2808 13.68,12.38 13.68,8.8 C13.68,5.2216 10.7784,2.32 7.2,2.32 Z M7.2,13.6808 C4.5056,13.6808 2.32,11.496 2.32,8.8008 C2.32,6.1056 4.5048,3.9208 7.2,3.9208 C9.8952,3.9208 12.0808,6.1056 12.0808,8.8008 C12.0808,11.4952 9.8952,13.6808 7.2,13.6808 Z" }, null, -1)
|
|
223
|
+
]), 8, wt);
|
|
224
|
+
}
|
|
225
|
+
const xt = /* @__PURE__ */ m(Ct, [["render", _t]]), bt = {
|
|
226
|
+
name: "IconControllerPlay",
|
|
227
|
+
props: {
|
|
228
|
+
width: {
|
|
229
|
+
type: Number,
|
|
230
|
+
default: 10
|
|
231
|
+
},
|
|
232
|
+
height: {
|
|
233
|
+
type: Number,
|
|
234
|
+
default: 12
|
|
235
|
+
},
|
|
236
|
+
color: {
|
|
237
|
+
type: String,
|
|
238
|
+
default: "currentColor"
|
|
239
|
+
}
|
|
240
|
+
}
|
|
241
|
+
}, yt = ["width", "height", "fill"];
|
|
242
|
+
function Mt(d, n, e, i, s, c) {
|
|
243
|
+
return r(), g("svg", {
|
|
244
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
245
|
+
width: e.width,
|
|
246
|
+
height: e.height,
|
|
247
|
+
fill: e.color,
|
|
248
|
+
viewBox: "0 0 20 12"
|
|
249
|
+
}, n[0] || (n[0] = [
|
|
250
|
+
t("path", { d: "M10,6.001 C10,6.3 9.695,6.515 9.695,6.515 L1.134,11.818 C0.51,12.227 0,11.924 0,11.149 L0,0.852 C0,0.075 0.51,-0.226 1.135,0.182 L9.696,5.487 C9.695,5.487 10,5.702 10,6.001 Z" }, null, -1)
|
|
251
|
+
]), 8, yt);
|
|
252
|
+
}
|
|
253
|
+
const $t = /* @__PURE__ */ m(bt, [["render", Mt]]), kt = {
|
|
254
|
+
name: "IconControllerPause",
|
|
255
|
+
props: {
|
|
256
|
+
width: {
|
|
257
|
+
type: Number,
|
|
258
|
+
default: 10
|
|
259
|
+
},
|
|
260
|
+
height: {
|
|
261
|
+
type: Number,
|
|
262
|
+
default: 12
|
|
263
|
+
},
|
|
264
|
+
color: {
|
|
265
|
+
type: String,
|
|
266
|
+
default: "currentColor"
|
|
267
|
+
}
|
|
268
|
+
}
|
|
269
|
+
}, zt = ["width", "height", "fill"];
|
|
270
|
+
function Lt(d, n, e, i, s, c) {
|
|
271
|
+
return r(), g("svg", {
|
|
272
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
273
|
+
width: e.width,
|
|
274
|
+
height: e.height,
|
|
275
|
+
fill: e.color,
|
|
276
|
+
viewBox: "0 0 20 12"
|
|
277
|
+
}, n[0] || (n[0] = [
|
|
278
|
+
t("path", { d: "M2,0 C2.553,0 3,0.048 3,0.6 L3,11.4 C3,11.952 2.553,12 2,12 L1,12 C0.447,12 0,11.952 0,11.4 L0,0.6 C0,0.048 0.447,0 1,0 L2,0 Z M9,0 C9.553,0 10,0.048 10,0.6 L10,11.4 C10,11.952 9.553,12 9,12 L8,12 C7.447,12 7,11.952 7,11.4 L7,0.6 C7,0.048 7.447,0 8,0 L9,0 Z" }, null, -1)
|
|
279
|
+
]), 8, zt);
|
|
280
|
+
}
|
|
281
|
+
const Nt = /* @__PURE__ */ m(kt, [["render", Lt]]), Pt = { class: "timeseries-viewer-toolbar" }, Zt = { id: "left-controls" }, Ht = { id: "center-controls" }, St = { id: "right-controls" }, It = {
|
|
282
|
+
__name: "TSViewerToolbar",
|
|
283
|
+
props: {
|
|
284
|
+
constants: {
|
|
285
|
+
type: Object,
|
|
286
|
+
required: !0
|
|
287
|
+
},
|
|
288
|
+
duration: {
|
|
289
|
+
type: Number,
|
|
290
|
+
required: !0
|
|
291
|
+
},
|
|
292
|
+
start: {
|
|
293
|
+
type: Number,
|
|
294
|
+
required: !0
|
|
295
|
+
}
|
|
296
|
+
},
|
|
297
|
+
emits: [
|
|
298
|
+
"pageBack",
|
|
299
|
+
"pageForward",
|
|
300
|
+
"incrementZoom",
|
|
301
|
+
"decrementZoom",
|
|
302
|
+
"updateDuration",
|
|
303
|
+
"nextAnnotation",
|
|
304
|
+
"previousAnnotation",
|
|
305
|
+
"setStart"
|
|
306
|
+
],
|
|
307
|
+
setup(d, { emit: n }) {
|
|
308
|
+
const e = d, i = n, s = h(!0), c = h(!0), _ = h(!0);
|
|
309
|
+
h(0);
|
|
310
|
+
const v = h(!1), C = h(null), x = h(null), b = h(150), z = h(1e6), L = [
|
|
311
|
+
{
|
|
312
|
+
value: 0.5,
|
|
313
|
+
label: "0.5x"
|
|
314
|
+
},
|
|
315
|
+
{
|
|
316
|
+
value: 1,
|
|
317
|
+
label: "1x"
|
|
318
|
+
},
|
|
319
|
+
{
|
|
320
|
+
value: 2,
|
|
321
|
+
label: "2x"
|
|
322
|
+
},
|
|
323
|
+
{
|
|
324
|
+
value: 5,
|
|
325
|
+
label: "5x"
|
|
326
|
+
},
|
|
327
|
+
{
|
|
328
|
+
value: 10,
|
|
329
|
+
label: "10x"
|
|
330
|
+
}
|
|
331
|
+
], N = k(() => v.value === !0 ? Nt : $t), M = k({
|
|
332
|
+
// getter
|
|
333
|
+
get() {
|
|
334
|
+
return e.duration / 1e6;
|
|
335
|
+
},
|
|
336
|
+
// setter
|
|
337
|
+
set(p) {
|
|
338
|
+
i("updateDuration", p);
|
|
339
|
+
}
|
|
340
|
+
}), P = () => {
|
|
341
|
+
c.value = !c.value;
|
|
342
|
+
}, Z = () => {
|
|
343
|
+
s.value = !s.value;
|
|
344
|
+
}, H = () => {
|
|
345
|
+
_.value = !_.value;
|
|
346
|
+
}, S = () => {
|
|
347
|
+
v.value === !1 ? F() : D();
|
|
348
|
+
}, I = () => {
|
|
349
|
+
i("pageBack");
|
|
350
|
+
}, V = () => {
|
|
351
|
+
i("pageForward");
|
|
352
|
+
}, B = () => {
|
|
353
|
+
i("incrementZoom");
|
|
354
|
+
}, T = () => {
|
|
355
|
+
i("decrementZoom");
|
|
356
|
+
}, A = () => {
|
|
357
|
+
i("nextAnnotation");
|
|
358
|
+
}, E = () => {
|
|
359
|
+
i("previousAnnotation");
|
|
360
|
+
}, F = () => {
|
|
361
|
+
v.value = !0;
|
|
362
|
+
const p = () => {
|
|
363
|
+
i("setStart", e.start + z.value * C.value), x.value = setTimeout(p, b.value);
|
|
364
|
+
};
|
|
365
|
+
x.value = setTimeout(p, b.value);
|
|
366
|
+
}, D = () => {
|
|
367
|
+
v.value = !1, b.value = 150, clearInterval(x.value);
|
|
368
|
+
};
|
|
369
|
+
return W(() => {
|
|
370
|
+
C.value = 1;
|
|
371
|
+
}), (p, o) => {
|
|
372
|
+
const f = j, O = Q, $ = K, q = J, R = X, U = G;
|
|
373
|
+
return r(), g("div", Pt, [
|
|
374
|
+
t("div", Zt, [
|
|
375
|
+
l(f, {
|
|
376
|
+
placement: "top-end",
|
|
377
|
+
content: "Toggle Time Zoom Controls"
|
|
378
|
+
}, {
|
|
379
|
+
default: u(() => [
|
|
380
|
+
t("button", {
|
|
381
|
+
class: "btn-icon",
|
|
382
|
+
onClick: o[0] || (o[0] = (a) => P())
|
|
383
|
+
})
|
|
384
|
+
]),
|
|
385
|
+
_: 1
|
|
386
|
+
}),
|
|
387
|
+
c.value ? (r(), w(O, {
|
|
388
|
+
key: 0,
|
|
389
|
+
modelValue: M.value,
|
|
390
|
+
"onUpdate:modelValue": o[1] || (o[1] = (a) => M.value = a),
|
|
391
|
+
precision: 1,
|
|
392
|
+
step: 5,
|
|
393
|
+
max: d.constants.MAXDURATION,
|
|
394
|
+
"controls-position": "right"
|
|
395
|
+
}, null, 8, ["modelValue", "max"])) : y("", !0),
|
|
396
|
+
l(f, {
|
|
397
|
+
placement: "top-end",
|
|
398
|
+
content: "Toggle Vertical Zoom Controls"
|
|
399
|
+
}, {
|
|
400
|
+
default: u(() => [
|
|
401
|
+
t("button", {
|
|
402
|
+
class: "btn-icon",
|
|
403
|
+
onClick: o[2] || (o[2] = (a) => Z())
|
|
404
|
+
})
|
|
405
|
+
]),
|
|
406
|
+
_: 1
|
|
407
|
+
}),
|
|
408
|
+
s.value ? (r(), w(q, { key: 1 }, {
|
|
409
|
+
default: u(() => [
|
|
410
|
+
l($, {
|
|
411
|
+
icon: "el-icon-plus",
|
|
412
|
+
size: "small",
|
|
413
|
+
onClick: B
|
|
414
|
+
}),
|
|
415
|
+
l($, {
|
|
416
|
+
icon: "el-icon-minus",
|
|
417
|
+
size: "small",
|
|
418
|
+
onClick: T
|
|
419
|
+
})
|
|
420
|
+
]),
|
|
421
|
+
_: 1
|
|
422
|
+
})) : y("", !0)
|
|
423
|
+
]),
|
|
424
|
+
t("div", Ht, [
|
|
425
|
+
l(f, {
|
|
426
|
+
placement: "top-end",
|
|
427
|
+
content: "Page Back"
|
|
428
|
+
}, {
|
|
429
|
+
default: u(() => [
|
|
430
|
+
t("button", {
|
|
431
|
+
class: "btn-icon",
|
|
432
|
+
onClick: o[3] || (o[3] = (a) => I())
|
|
433
|
+
}, [
|
|
434
|
+
l(it, {
|
|
435
|
+
height: 12,
|
|
436
|
+
width: 12
|
|
437
|
+
})
|
|
438
|
+
])
|
|
439
|
+
]),
|
|
440
|
+
_: 1
|
|
441
|
+
}),
|
|
442
|
+
l(f, {
|
|
443
|
+
placement: "top-end",
|
|
444
|
+
content: "Previous Annotation"
|
|
445
|
+
}, {
|
|
446
|
+
default: u(() => [
|
|
447
|
+
t("button", {
|
|
448
|
+
class: "btn-icon",
|
|
449
|
+
onClick: o[4] || (o[4] = (a) => E())
|
|
450
|
+
}, [
|
|
451
|
+
l(ct, {
|
|
452
|
+
height: 12,
|
|
453
|
+
width: 18
|
|
454
|
+
})
|
|
455
|
+
])
|
|
456
|
+
]),
|
|
457
|
+
_: 1
|
|
458
|
+
}),
|
|
459
|
+
l(f, {
|
|
460
|
+
placement: "top-end",
|
|
461
|
+
content: "Automatic Forward"
|
|
462
|
+
}, {
|
|
463
|
+
default: u(() => [
|
|
464
|
+
t("button", {
|
|
465
|
+
class: "btn-icon",
|
|
466
|
+
onClick: o[5] || (o[5] = (a) => S())
|
|
467
|
+
}, [
|
|
468
|
+
(r(), w(Y(N.value), {
|
|
469
|
+
height: 12,
|
|
470
|
+
width: 18
|
|
471
|
+
}))
|
|
472
|
+
])
|
|
473
|
+
]),
|
|
474
|
+
_: 1
|
|
475
|
+
}),
|
|
476
|
+
l(f, {
|
|
477
|
+
placement: "top-end",
|
|
478
|
+
content: "Next Annotation"
|
|
479
|
+
}, {
|
|
480
|
+
default: u(() => [
|
|
481
|
+
t("button", {
|
|
482
|
+
class: "btn-icon",
|
|
483
|
+
onClick: o[6] || (o[6] = (a) => A())
|
|
484
|
+
}, [
|
|
485
|
+
l(gt, {
|
|
486
|
+
name: "next-annotation-right-facing",
|
|
487
|
+
height: 12,
|
|
488
|
+
width: 18
|
|
489
|
+
})
|
|
490
|
+
])
|
|
491
|
+
]),
|
|
492
|
+
_: 1
|
|
493
|
+
}),
|
|
494
|
+
l(f, {
|
|
495
|
+
placement: "top-end",
|
|
496
|
+
content: "Next Page"
|
|
497
|
+
}, {
|
|
498
|
+
default: u(() => [
|
|
499
|
+
t("button", {
|
|
500
|
+
class: "btn-icon",
|
|
501
|
+
onClick: o[7] || (o[7] = (a) => V())
|
|
502
|
+
}, [
|
|
503
|
+
l(vt, {
|
|
504
|
+
name: "icon-next-page",
|
|
505
|
+
height: 12,
|
|
506
|
+
width: 18
|
|
507
|
+
})
|
|
508
|
+
])
|
|
509
|
+
]),
|
|
510
|
+
_: 1
|
|
511
|
+
})
|
|
512
|
+
]),
|
|
513
|
+
t("div", St, [
|
|
514
|
+
l(f, {
|
|
515
|
+
placement: "top-end",
|
|
516
|
+
content: "Toggle Play Back Speed Controls"
|
|
517
|
+
}, {
|
|
518
|
+
default: u(() => [
|
|
519
|
+
t("button", {
|
|
520
|
+
class: "btn-icon",
|
|
521
|
+
onClick: o[8] || (o[8] = (a) => H())
|
|
522
|
+
}, [
|
|
523
|
+
l(xt, {
|
|
524
|
+
height: 20,
|
|
525
|
+
width: 22
|
|
526
|
+
})
|
|
527
|
+
])
|
|
528
|
+
]),
|
|
529
|
+
_: 1
|
|
530
|
+
}),
|
|
531
|
+
_.value ? (r(), w(U, {
|
|
532
|
+
key: 0,
|
|
533
|
+
modelValue: C.value,
|
|
534
|
+
"onUpdate:modelValue": o[9] || (o[9] = (a) => C.value = a),
|
|
535
|
+
placeholder: "Select",
|
|
536
|
+
size: "small",
|
|
537
|
+
class: "playSelect"
|
|
538
|
+
}, {
|
|
539
|
+
default: u(() => [
|
|
540
|
+
(r(), g(tt, null, et(L, (a) => l(R, {
|
|
541
|
+
key: a.value,
|
|
542
|
+
label: a.label,
|
|
543
|
+
value: a.value
|
|
544
|
+
}, null, 8, ["label", "value"])), 64))
|
|
545
|
+
]),
|
|
546
|
+
_: 1
|
|
547
|
+
}, 8, ["modelValue"])) : y("", !0)
|
|
548
|
+
])
|
|
549
|
+
]);
|
|
550
|
+
};
|
|
551
|
+
}
|
|
552
|
+
}, Dt = /* @__PURE__ */ m(It, [["__scopeId", "data-v-344cff0e"]]);
|
|
553
|
+
export {
|
|
554
|
+
Dt as default
|
|
555
|
+
};
|