@pennsieve-viz/tsviewer 1.0.0 → 1.0.1

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 (50) hide show
  1. package/dist/{BFLibraryButton-BiLkvU6m.cjs → BFLibraryButton-BI_luZjc.cjs} +1 -1
  2. package/dist/{BFLibraryButton-C6aAhW1T.js → BFLibraryButton-BP-P5nDS.js} +1 -1
  3. package/dist/{IconSelection-DGTELjPb.cjs → IconSelection-B3B4x81f.cjs} +1 -1
  4. package/dist/{IconSelection-Bud2XLOy.js → IconSelection-DkGAJih_.js} +1 -1
  5. package/dist/{TSAnnotationCanvas-CMZHn8mY.js → TSAnnotationCanvas-CPNo-Z2t.js} +6 -5
  6. package/dist/TSAnnotationCanvas-Cq5fLEeQ.cjs +1 -0
  7. package/dist/TSAnnotationModal-BfpdK288.js +4429 -0
  8. package/dist/TSAnnotationModal-BvPKePsi.cjs +1 -0
  9. package/dist/{TSFilterModal-BtLOK_nq.js → TSFilterModal-BUuabfh0.js} +59 -55
  10. package/dist/TSFilterModal-DXfg6Vbt.cjs +1 -0
  11. package/dist/{TSScrubber-CTjzX-Xq.js → TSScrubber-BWay2z2E.js} +1 -1
  12. package/dist/{TSScrubber-DAnIUBuC.cjs → TSScrubber-DuOBdGF2.cjs} +1 -1
  13. package/dist/TSViewerCanvas-BDAfmQM_.cjs +11 -0
  14. package/dist/{TSViewerCanvas-DkKV70m8.js → TSViewerCanvas-DjV4CQ2G.js} +205 -209
  15. package/dist/{TSViewerLayerWindow-zI_48DIx.js → TSViewerLayerWindow-BuXB_NVG.js} +39 -36
  16. package/dist/TSViewerLayerWindow-C40On1cL.cjs +1 -0
  17. package/dist/TSViewerToolbar-CGLoEe3Z.cjs +1 -0
  18. package/dist/{TSViewerToolbar-BMZIlD4q.js → TSViewerToolbar-gOCiS_4U.js} +92 -88
  19. package/dist/{TsAnnotationDeleteDialog-Iwpo79Pe.js → TsAnnotationDeleteDialog-C3P2teV8.js} +82 -80
  20. package/dist/TsAnnotationDeleteDialog-Dr6JB0ms.cjs +1 -0
  21. package/dist/_commonjsHelpers-DKOUU3wS.cjs +1 -0
  22. package/dist/_commonjsHelpers-DaMA6jEr.js +8 -0
  23. package/dist/base-C3K_VdPK.cjs +12 -0
  24. package/dist/base-Dd-o8fN6.js +1413 -0
  25. package/dist/el-button-B3mito7d.cjs +1 -0
  26. package/dist/el-button-DVykS1Of.js +769 -0
  27. package/dist/el-input-BQKTli-S.cjs +1 -0
  28. package/dist/el-input-BxM2cCbI.js +4667 -0
  29. package/dist/el-input-number-8Z4UFuyU.cjs +1 -0
  30. package/dist/el-input-number-DtWxZ2F-.js +265 -0
  31. package/dist/el-overlay-BJQNirx2.cjs +1 -0
  32. package/dist/el-overlay-DfCO_8B5.js +517 -0
  33. package/dist/{index-CGSfhm_E.cjs → index-CW1sKrzq.cjs} +1 -1
  34. package/dist/index-CiwHOd9w.cjs +1 -0
  35. package/dist/index-CtMh8Ff9.js +22 -0
  36. package/dist/{index-Cexzl5Xu.js → index-D41jNOo7.js} +1 -1
  37. package/dist/index.cjs +1 -1
  38. package/dist/index.js +1 -1
  39. package/dist/{pathOr-Do2dduwx.js → pathOr-CSuna3IF.js} +1 -1
  40. package/dist/{pathOr-D0158Gk1.cjs → pathOr-DWeJPuhG.cjs} +1 -1
  41. package/dist/style.css +1 -1
  42. package/package.json +4 -4
  43. package/dist/TSAnnotationCanvas-C3-VI46n.cjs +0 -1
  44. package/dist/TSAnnotationModal-BcqWVXP_.js +0 -199
  45. package/dist/TSAnnotationModal-DskdoFo4.cjs +0 -1
  46. package/dist/TSFilterModal-DEOWfIi6.cjs +0 -1
  47. package/dist/TSViewerCanvas-Jbu-Kh9F.cjs +0 -11
  48. package/dist/TSViewerLayerWindow-wHkjTl6e.cjs +0 -1
  49. package/dist/TSViewerToolbar-C6yy7GJr.cjs +0 -1
  50. package/dist/TsAnnotationDeleteDialog-Be3AJIyo.cjs +0 -1
@@ -1,7 +1,10 @@
1
- import { createElementBlock as C, openBlock as d, renderSlot as _, resolveComponent as t, createBlock as F, withCtx as a, createElementVNode as l, createVNode as i, createTextVNode as s, Fragment as y, renderList as h, normalizeStyle as A, toDisplayString as S } from "vue";
2
- import { g as B } from "./index-Cexzl5Xu.js";
3
- import k from "./BFLibraryButton-C6aAhW1T.js";
4
- const D = {
1
+ import "./base-Dd-o8fN6.js";
2
+ import { E as f } from "./el-overlay-DfCO_8B5.js";
3
+ import { g as _, a as y, b as h } from "./el-input-BxM2cCbI.js";
4
+ import { createElementBlock as F, openBlock as s, renderSlot as S, resolveComponent as A, createBlock as u, withCtx as a, createElementVNode as l, createVNode as r, createTextVNode as i, Fragment as E, renderList as k, normalizeStyle as D, toDisplayString as L } from "vue";
5
+ import { g as C } from "./index-D41jNOo7.js";
6
+ import V from "./BFLibraryButton-BP-P5nDS.js";
7
+ const w = {
5
8
  name: "CircleIcon",
6
9
  props: {
7
10
  icon: {
@@ -20,17 +23,17 @@ const D = {
20
23
  default: "#71747C"
21
24
  }
22
25
  }
23
- }, L = { class: "circle-icon" };
24
- function V(n, e, c, v, m, r) {
25
- return d(), C("div", L, [
26
- _(n.$slots, "icon", {}, void 0, !0)
26
+ }, $ = { class: "circle-icon" };
27
+ function O(n, e, c, B, m, t) {
28
+ return s(), F("div", $, [
29
+ S(n.$slots, "icon", {}, void 0, !0)
27
30
  ]);
28
31
  }
29
- const w = /* @__PURE__ */ B(D, [["render", V], ["__scopeId", "data-v-46dcef49"]]), E = {
32
+ const I = /* @__PURE__ */ C(w, [["render", O], ["__scopeId", "data-v-46dcef49"]]), N = {
30
33
  name: "AnnotationLayerWindow",
31
34
  components: {
32
- CircleIcon: w,
33
- BfLibraryButton: k
35
+ CircleIcon: I,
36
+ BfLibraryButton: V
34
37
  },
35
38
  props: {
36
39
  visible: {
@@ -177,47 +180,47 @@ const w = /* @__PURE__ */ B(D, [["render", V], ["__scopeId", "data-v-46dcef49"]]
177
180
  this.close();
178
181
  }
179
182
  }
180
- }, $ = { slot: "body" }, N = { class: "input-section" }, O = { class: "input-section" }, G = { class: "color-option" }, I = { style: { float: "right", color: "#8492a6", "font-size": "13px" } }, T = { slot: "footer" }, x = { class: "button-wrapper" }, R = { class: "buttons" };
181
- function U(n, e, c, v, m, r) {
182
- const p = t("el-input"), b = t("el-option"), g = t("el-select"), u = t("bf-library-button"), f = t("el-dialog");
183
- return d(), F(f, {
183
+ }, G = { slot: "body" }, T = { class: "input-section" }, x = { class: "input-section" }, R = { class: "color-option" }, U = { style: { float: "right", color: "#8492a6", "font-size": "13px" } }, z = { slot: "footer" }, M = { class: "button-wrapper" }, P = { class: "buttons" };
184
+ function W(n, e, c, B, m, t) {
185
+ const p = _, v = h, b = y, d = A("bf-library-button"), g = f;
186
+ return s(), u(g, {
184
187
  "onUpdate:modelValue": e[2] || (e[2] = (o) => c.visible = o),
185
188
  "model-value": c.visible,
186
- onClose: r.close,
189
+ onClose: t.close,
187
190
  class: "timeseries-annotation-layer-modal",
188
191
  ref: "timeseries-filter-modal",
189
192
  title: "Annotation Layers"
190
193
  }, {
191
194
  default: a(() => [
192
- l("div", $, [
193
- l("div", N, [
194
- e[3] || (e[3] = s(" Layer Name: ", -1)),
195
- i(p, {
195
+ l("div", G, [
196
+ l("div", T, [
197
+ e[3] || (e[3] = i(" Layer Name: ", -1)),
198
+ r(p, {
196
199
  placeholder: "Add a Layer Name",
197
200
  modelValue: n.name,
198
201
  "onUpdate:modelValue": e[0] || (e[0] = (o) => n.name = o),
199
202
  ref: "input"
200
203
  }, null, 8, ["modelValue"])
201
204
  ]),
202
- l("div", O, [
203
- e[4] || (e[4] = s(" Select Color: ", -1)),
204
- i(g, {
205
+ l("div", x, [
206
+ e[4] || (e[4] = i(" Select Color: ", -1)),
207
+ r(b, {
205
208
  modelValue: n.selectedColor,
206
209
  "onUpdate:modelValue": e[1] || (e[1] = (o) => n.selectedColor = o),
207
210
  placeholder: "Select"
208
211
  }, {
209
212
  default: a(() => [
210
- (d(!0), C(y, null, h(n.colorOptions, (o) => (d(), F(b, {
213
+ (s(!0), F(E, null, k(n.colorOptions, (o) => (s(), u(v, {
211
214
  key: o.value,
212
215
  label: o.label,
213
216
  value: o.value
214
217
  }, {
215
218
  default: a(() => [
216
- l("div", G, [
219
+ l("div", R, [
217
220
  l("div", {
218
- style: A({ backgroundColor: o.value, height: "30px", width: "30px", borderRadius: "50%" })
221
+ style: D({ backgroundColor: o.value, height: "30px", width: "30px", borderRadius: "50%" })
219
222
  }, null, 4),
220
- l("div", I, S(o.label), 1)
223
+ l("div", U, L(o.label), 1)
221
224
  ])
222
225
  ]),
223
226
  _: 2
@@ -229,18 +232,18 @@ function U(n, e, c, v, m, r) {
229
232
  ])
230
233
  ]),
231
234
  footer: a(() => [
232
- l("div", T, [
233
- l("div", x, [
234
- l("div", R, [
235
- i(u, { onClick: r.handleFormCancel }, {
235
+ l("div", z, [
236
+ l("div", M, [
237
+ l("div", P, [
238
+ r(d, { onClick: t.handleFormCancel }, {
236
239
  default: a(() => [...e[5] || (e[5] = [
237
- s("Cancel ", -1)
240
+ i("Cancel ", -1)
238
241
  ])]),
239
242
  _: 1
240
243
  }, 8, ["onClick"]),
241
- i(u, { onClick: r.handleFormSubmit }, {
244
+ r(d, { onClick: t.handleFormSubmit }, {
242
245
  default: a(() => [...e[6] || (e[6] = [
243
- s("Save ", -1)
246
+ i("Save ", -1)
244
247
  ])]),
245
248
  _: 1
246
249
  }, 8, ["onClick"])
@@ -251,7 +254,7 @@ function U(n, e, c, v, m, r) {
251
254
  _: 1
252
255
  }, 8, ["model-value", "onClose"]);
253
256
  }
254
- const W = /* @__PURE__ */ B(E, [["render", U], ["__scopeId", "data-v-117509d0"]]);
257
+ const Q = /* @__PURE__ */ C(N, [["render", W], ["__scopeId", "data-v-117509d0"]]);
255
258
  export {
256
- W as default
259
+ Q as default
257
260
  };
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require("./base-C3K_VdPK.cjs");const m=require("./el-overlay-BJQNirx2.cjs"),r=require("./el-input-BQKTli-S.cjs"),e=require("vue"),c=require("./index-CW1sKrzq.cjs"),v=require("./BFLibraryButton-BI_luZjc.cjs"),p={name:"CircleIcon",props:{icon:{type:String},height:{type:String,default:"16"},width:{type:String,default:"16"},currentColor:{type:String,default:"#71747C"}}},b={class:"circle-icon"};function g(t,o,a,d,s,n){return e.openBlock(),e.createElementBlock("div",b,[e.renderSlot(t.$slots,"icon",{},void 0,!0)])}const _=c._export_sfc(p,[["render",g],["__scopeId","data-v-46dcef49"]]),f={name:"AnnotationLayerWindow",components:{CircleIcon:_,BfLibraryButton:v.default},props:{visible:{type:Boolean,default:!1}},data:function(){return{name:"",selectedColor:"",colorOptions:[{label:"Green",value:"#18BA62",iconBgColor:"#18BA62"},{label:"Gold",value:"#FFBC27",iconBgColor:"#FFBC27"},{label:"Red",value:"#E94B4B",iconBgColor:"#E94B4B"},{label:"Light Blue",value:"#2760FF",iconBgColor:"#2760FF"},{label:"Magenta",value:"#FF4FFF",iconBgColor:"#FF4FFF"},{label:"Cyan",value:"#50FFFF",iconBgColor:"#50FFFF"},{label:"Yellow",value:"#FFFF4E",iconBgColor:"#FFFF4E"},{label:"Purple",value:"#512BAF",iconBgColor:"#512BAF"},{label:"Lavendar",value:"#8A6ECF",iconBgColor:"#8A6ECF"},{label:"Teal",value:"#389BAD",iconBgColor:"#389BAD"},{label:"Dark Green",value:"#187D46",iconBgColor:"#187D46"},{label:"Brick Red",value:"#B12800",iconBgColor:"#B12800"},{label:"Dark Blue",value:"#0C2475",iconBgColor:"#0C2475"},{label:"Bright Orange",value:"#FF5321",iconBgColor:"#FF5321"},{label:"Pink",value:"#FF99CC",iconBgColor:"#FF99CC"},{label:"Tan",value:"#DCC180",iconBgColor:"#DCC180"},{label:"Medium Blue",value:"#0D4EFF",iconBgColor:"#0D4EFF"},{label:"Orange",value:"#FF6C21",iconBgColor:"#FF6C21"},{label:"Black",value:"#000000",iconBgColor:"#000000"},{label:"Gray",value:"#9B9B9B",iconBgColor:"#9B9B9B"},{label:"Lime",value:"#00FF00",iconBgColor:"#00FF00"},{label:"Salmon",value:"#FA8072",iconBgColor:"#FA8072"},{label:"Olive",value:"#808000",iconBgColor:"#808000"},{label:"Sienna",value:"#A0522D",iconBgColor:"#A0522D"}]}},methods:{close:function(){this.$emit("close-window")},handleFormSubmit:function(){this.$emit("createLayer",{name:this.name,color:this.selectedColor})},handleFormCancel:function(){this.close()}}},y={slot:"body"},V={class:"input-section"},h={class:"input-section"},E={class:"color-option"},k={style:{float:"right",color:"#8492a6","font-size":"13px"}},N={slot:"footer"},S={class:"button-wrapper"},w={class:"buttons"};function A(t,o,a,d,s,n){const u=r.ElInput,C=r.ElOption,F=r.ElSelect,i=e.resolveComponent("bf-library-button"),B=m.ElDialog;return e.openBlock(),e.createBlock(B,{"onUpdate:modelValue":o[2]||(o[2]=l=>a.visible=l),"model-value":a.visible,onClose:n.close,class:"timeseries-annotation-layer-modal",ref:"timeseries-filter-modal",title:"Annotation Layers"},{default:e.withCtx(()=>[e.createElementVNode("div",y,[e.createElementVNode("div",V,[o[3]||(o[3]=e.createTextVNode(" Layer Name: ",-1)),e.createVNode(u,{placeholder:"Add a Layer Name",modelValue:t.name,"onUpdate:modelValue":o[0]||(o[0]=l=>t.name=l),ref:"input"},null,8,["modelValue"])]),e.createElementVNode("div",h,[o[4]||(o[4]=e.createTextVNode(" Select Color: ",-1)),e.createVNode(F,{modelValue:t.selectedColor,"onUpdate:modelValue":o[1]||(o[1]=l=>t.selectedColor=l),placeholder:"Select"},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.colorOptions,l=>(e.openBlock(),e.createBlock(C,{key:l.value,label:l.label,value:l.value},{default:e.withCtx(()=>[e.createElementVNode("div",E,[e.createElementVNode("div",{style:e.normalizeStyle({backgroundColor:l.value,height:"30px",width:"30px",borderRadius:"50%"})},null,4),e.createElementVNode("div",k,e.toDisplayString(l.label),1)])]),_:2},1032,["label","value"]))),128))]),_:1},8,["modelValue"])])])]),footer:e.withCtx(()=>[e.createElementVNode("div",N,[e.createElementVNode("div",S,[e.createElementVNode("div",w,[e.createVNode(i,{onClick:n.handleFormCancel},{default:e.withCtx(()=>[...o[5]||(o[5]=[e.createTextVNode("Cancel ",-1)])]),_:1},8,["onClick"]),e.createVNode(i,{onClick:n.handleFormSubmit},{default:e.withCtx(()=>[...o[6]||(o[6]=[e.createTextVNode("Save ",-1)])]),_:1},8,["onClick"])])])])]),_:1},8,["model-value","onClose"])}const D=c._export_sfc(f,[["render",A],["__scopeId","data-v-117509d0"]]);exports.default=D;
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require("./base-C3K_VdPK.cjs");const v=require("./el-input-BQKTli-S.cjs"),w=require("./el-button-B3mito7d.cjs"),F=require("./el-input-number-8Z4UFuyU.cjs"),e=require("vue"),s=require("./index-CW1sKrzq.cjs"),q={name:"IconPreviousPage",props:{width:{type:Number,default:12},height:{type:Number,default:12},color:{type:String,default:"currentColor"}}},O=["width","height","fill"];function D(c,n,t,l,r,i){return e.openBlock(),e.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",width:t.width,height:t.height,fill:t.color,viewBox:"0 0 12 12"},[...n[0]||(n[0]=[e.createElementVNode("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)])],8,O)}const R=s._export_sfc(q,[["render",D]]),U={name:"IconNextAnnotationLeftFacing",props:{width:{type:Number,default:24},height:{type:Number,default:14},color:{type:String,default:"currentColor"}}},j=["width","height","fill"];function G(c,n,t,l,r,i){return e.openBlock(),e.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",width:t.width,height:t.height,fill:t.color,viewBox:"0 0 24 14"},[...n[0]||(n[0]=[e.createElementVNode("defs",null,[e.createElementVNode("path",{pid:"0",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",id:"svgicon-next-annotation-left-facing-a"})],-1),e.createElementVNode("g",{_fill:"none","fill-rule":"evenodd"},[e.createElementVNode("g",{transform:"matrix(-1 0 0 1 6 0)"},[e.createElementVNode("mask",{id:"svgicon-next-annotation-left-facing-b",_fill:"#fff"},[e.createElementVNode("use",{"xlink:href":"#svgicon-next-annotation-left-facing-a"})]),e.createElementVNode("use",{_fill:"#000","fill-rule":"nonzero","xlink:href":"#svgicon-next-annotation-left-facing-a"}),e.createElementVNode("g",{mask:"url(#svgicon-next-annotation-left-facing-b)",_fill:"#000"},[e.createElementVNode("path",{pid:"1",d:"M-2 0H8v10H-2z"})])]),e.createElementVNode("g",{_fill:"#000"},[e.createElementVNode("path",{pid:"2",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"})])],-1)])],8,j)}const X=s._export_sfc(U,[["render",G]]),J={name:"IconNextAnnotationRightFacing",props:{width:{type:Number,default:24},height:{type:Number,default:14},color:{type:String,default:"currentColor"}}},K=["width","height","fill"];function Q(c,n,t,l,r,i){return e.openBlock(),e.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",width:t.width,height:t.height,fill:t.color,viewBox:"0 0 24 14"},[...n[0]||(n[0]=[e.createElementVNode("defs",null,[e.createElementVNode("path",{pid:"0",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",id:"svgicon-next-annotation-right-facing-a"})],-1),e.createElementVNode("g",{_fill:"none","fill-rule":"evenodd"},[e.createElementVNode("g",{transform:"translate(18)"},[e.createElementVNode("mask",{id:"svgicon-next-annotation-right-facing-b",_fill:"#fff"},[e.createElementVNode("use",{"xlink:href":"#svgicon-next-annotation-right-facing-a"})]),e.createElementVNode("use",{_fill:"#000","fill-rule":"nonzero","xlink:href":"#svgicon-next-annotation-right-facing-a"}),e.createElementVNode("g",{mask:"url(#svgicon-next-annotation-right-facing-b)",_fill:"#000"},[e.createElementVNode("path",{pid:"1",d:"M-2 0H8v10H-2z"})])]),e.createElementVNode("g",{_fill:"#000"},[e.createElementVNode("path",{pid:"2",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"})])],-1)])],8,K)}const W=s._export_sfc(J,[["render",Q]]),Y={name:"IconNextPage",props:{width:{type:Number,default:16},height:{type:Number,default:16},color:{type:String,default:"currentColor"}}},ee=["width","height","fill"];function te(c,n,t,l,r,i){return e.openBlock(),e.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",width:t.width,height:t.height,fill:t.color,viewBox:"0 0 12 12"},[...n[0]||(n[0]=[e.createElementVNode("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)])],8,ee)}const ne=s._export_sfc(Y,[["render",te]]),oe={name:"IconStopwatch",props:{width:{type:Number,default:15},height:{type:Number,default:16},color:{type:String,default:"currentColor"}}},le=["width","height","fill"];function ae(c,n,t,l,r,i){return e.openBlock(),e.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",width:t.width,height:t.height,fill:t.color,viewBox:"0 0 15 16"},[...n[0]||(n[0]=[e.createElementVNode("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)])],8,le)}const re=s._export_sfc(oe,[["render",ae]]),ie={name:"IconControllerPlay",props:{width:{type:Number,default:10},height:{type:Number,default:12},color:{type:String,default:"currentColor"}}},ce=["width","height","fill"];function de(c,n,t,l,r,i){return e.openBlock(),e.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",width:t.width,height:t.height,fill:t.color,viewBox:"0 0 20 12"},[...n[0]||(n[0]=[e.createElementVNode("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)])],8,ce)}const se=s._export_sfc(ie,[["render",de]]),ue={name:"IconControllerPause",props:{width:{type:Number,default:10},height:{type:Number,default:12},color:{type:String,default:"currentColor"}}},me=["width","height","fill"];function he(c,n,t,l,r,i){return e.openBlock(),e.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",width:t.width,height:t.height,fill:t.color,viewBox:"0 0 20 12"},[...n[0]||(n[0]=[e.createElementVNode("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)])],8,me)}const ge=s._export_sfc(ue,[["render",he]]),pe={class:"timeseries-viewer-toolbar"},fe={id:"left-controls"},ve={id:"center-controls"},Ce={id:"right-controls"},_e={__name:"TSViewerToolbar",props:{constants:{type:Object,required:!0},duration:{type:Number,required:!0},start:{type:Number,required:!0}},emits:["pageBack","pageForward","incrementZoom","decrementZoom","updateDuration","nextAnnotation","previousAnnotation","setStart"],setup(c,{emit:n}){const t=c,l=n,r=e.ref(!0),i=e.ref(!0),g=e.ref(!0);e.ref(0);const m=e.ref(!1),h=e.ref(null),p=e.ref(null),f=e.ref(150),N=e.ref(1e6),x=[{value:.5,label:"0.5x"},{value:1,label:"1x"},{value:2,label:"2x"},{value:5,label:"5x"},{value:10,label:"10x"}],V=e.computed(()=>m.value===!0?ge:se),C=e.computed({get(){return t.duration/1e6},set(u){l("updateDuration",u)}}),b=()=>{i.value=!i.value},k=()=>{r.value=!r.value},E=()=>{g.value=!g.value},y=()=>{m.value===!1?S():Z()},M=()=>{l("pageBack")},B=()=>{l("pageForward")},$=()=>{l("incrementZoom")},z=()=>{l("decrementZoom")},L=()=>{l("nextAnnotation")},P=()=>{l("previousAnnotation")},S=()=>{m.value=!0;const u=()=>{l("setStart",t.start+N.value*h.value),p.value=setTimeout(u,f.value)};p.value=setTimeout(u,f.value)},Z=()=>{m.value=!1,f.value=150,clearInterval(p.value)};return e.onMounted(()=>{h.value=1}),(u,o)=>{const d=v.ElTooltip,H=F.ElInputNumber,_=w.ElButton,I=w.ElButtonGroup,T=v.ElOption,A=v.ElSelect;return e.openBlock(),e.createElementBlock("div",pe,[e.createElementVNode("div",fe,[e.createVNode(d,{placement:"top-end",content:"Toggle Time Zoom Controls"},{default:e.withCtx(()=>[e.createElementVNode("button",{class:"btn-icon",onClick:o[0]||(o[0]=a=>b())})]),_:1}),i.value?(e.openBlock(),e.createBlock(H,{key:0,modelValue:C.value,"onUpdate:modelValue":o[1]||(o[1]=a=>C.value=a),precision:1,step:5,max:c.constants.MAXDURATION,"controls-position":"right"},null,8,["modelValue","max"])):e.createCommentVNode("",!0),e.createVNode(d,{placement:"top-end",content:"Toggle Vertical Zoom Controls"},{default:e.withCtx(()=>[e.createElementVNode("button",{class:"btn-icon",onClick:o[2]||(o[2]=a=>k())})]),_:1}),r.value?(e.openBlock(),e.createBlock(I,{key:1},{default:e.withCtx(()=>[e.createVNode(_,{icon:"el-icon-plus",size:"small",onClick:$}),e.createVNode(_,{icon:"el-icon-minus",size:"small",onClick:z})]),_:1})):e.createCommentVNode("",!0)]),e.createElementVNode("div",ve,[e.createVNode(d,{placement:"top-end",content:"Page Back"},{default:e.withCtx(()=>[e.createElementVNode("button",{class:"btn-icon",onClick:o[3]||(o[3]=a=>M())},[e.createVNode(R,{height:12,width:12})])]),_:1}),e.createVNode(d,{placement:"top-end",content:"Previous Annotation"},{default:e.withCtx(()=>[e.createElementVNode("button",{class:"btn-icon",onClick:o[4]||(o[4]=a=>P())},[e.createVNode(X,{height:12,width:18})])]),_:1}),e.createVNode(d,{placement:"top-end",content:"Automatic Forward"},{default:e.withCtx(()=>[e.createElementVNode("button",{class:"btn-icon",onClick:o[5]||(o[5]=a=>y())},[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(V.value),{height:12,width:18}))])]),_:1}),e.createVNode(d,{placement:"top-end",content:"Next Annotation"},{default:e.withCtx(()=>[e.createElementVNode("button",{class:"btn-icon",onClick:o[6]||(o[6]=a=>L())},[e.createVNode(W,{name:"next-annotation-right-facing",height:12,width:18})])]),_:1}),e.createVNode(d,{placement:"top-end",content:"Next Page"},{default:e.withCtx(()=>[e.createElementVNode("button",{class:"btn-icon",onClick:o[7]||(o[7]=a=>B())},[e.createVNode(ne,{name:"icon-next-page",height:12,width:18})])]),_:1})]),e.createElementVNode("div",Ce,[e.createVNode(d,{placement:"top-end",content:"Toggle Play Back Speed Controls"},{default:e.withCtx(()=>[e.createElementVNode("button",{class:"btn-icon",onClick:o[8]||(o[8]=a=>E())},[e.createVNode(re,{height:20,width:22})])]),_:1}),g.value?(e.openBlock(),e.createBlock(A,{key:0,modelValue:h.value,"onUpdate:modelValue":o[9]||(o[9]=a=>h.value=a),placeholder:"Select",size:"small",class:"playSelect"},{default:e.withCtx(()=>[(e.openBlock(),e.createElementBlock(e.Fragment,null,e.renderList(x,a=>e.createVNode(T,{key:a.value,label:a.label,value:a.value},null,8,["label","value"])),64))]),_:1},8,["modelValue"])):e.createCommentVNode("",!0)])])}}},we=s._export_sfc(_e,[["__scopeId","data-v-5b412e2a"]]);exports.default=we;
@@ -1,6 +1,10 @@
1
- import { createElementBlock as g, openBlock as r, createElementVNode as t, ref as h, computed as z, onMounted as X, resolveComponent as m, createVNode as l, createBlock as _, createCommentVNode as M, withCtx as u, resolveDynamicComponent as G, Fragment as J, renderList as K } from "vue";
2
- import { g as p } from "./index-Cexzl5Xu.js";
3
- const Q = {
1
+ import "./base-Dd-o8fN6.js";
2
+ import { E as j, a as G, b as X } from "./el-input-BxM2cCbI.js";
3
+ import { E as J, a as K } from "./el-button-DVykS1Of.js";
4
+ import { E as Q } from "./el-input-number-DtWxZ2F-.js";
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 { g as m } from "./index-D41jNOo7.js";
7
+ const nt = {
4
8
  name: "IconPreviousPage",
5
9
  props: {
6
10
  width: {
@@ -16,8 +20,8 @@ const Q = {
16
20
  default: "currentColor"
17
21
  }
18
22
  }
19
- }, W = ["width", "height", "fill"];
20
- function Y(d, n, e, i, s, c) {
23
+ }, ot = ["width", "height", "fill"];
24
+ function lt(d, n, e, i, s, c) {
21
25
  return r(), g("svg", {
22
26
  xmlns: "http://www.w3.org/2000/svg",
23
27
  width: e.width,
@@ -26,9 +30,9 @@ function Y(d, n, e, i, s, c) {
26
30
  viewBox: "0 0 12 12"
27
31
  }, [...n[0] || (n[0] = [
28
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)
29
- ])], 8, W);
33
+ ])], 8, ot);
30
34
  }
31
- const tt = /* @__PURE__ */ p(Q, [["render", Y]]), et = {
35
+ const it = /* @__PURE__ */ m(nt, [["render", lt]]), at = {
32
36
  name: "IconNextAnnotationLeftFacing",
33
37
  props: {
34
38
  width: {
@@ -44,8 +48,8 @@ const tt = /* @__PURE__ */ p(Q, [["render", Y]]), et = {
44
48
  default: "currentColor"
45
49
  }
46
50
  }
47
- }, nt = ["width", "height", "fill"];
48
- function ot(d, n, e, i, s, c) {
51
+ }, rt = ["width", "height", "fill"];
52
+ function st(d, n, e, i, s, c) {
49
53
  return r(), g("svg", {
50
54
  xmlns: "http://www.w3.org/2000/svg",
51
55
  width: e.width,
@@ -93,9 +97,9 @@ function ot(d, n, e, i, s, c) {
93
97
  })
94
98
  ])
95
99
  ], -1)
96
- ])], 8, nt);
100
+ ])], 8, rt);
97
101
  }
98
- const lt = /* @__PURE__ */ p(et, [["render", ot]]), it = {
102
+ const ct = /* @__PURE__ */ m(at, [["render", st]]), ut = {
99
103
  name: "IconNextAnnotationRightFacing",
100
104
  props: {
101
105
  width: {
@@ -111,8 +115,8 @@ const lt = /* @__PURE__ */ p(et, [["render", ot]]), it = {
111
115
  default: "currentColor"
112
116
  }
113
117
  }
114
- }, at = ["width", "height", "fill"];
115
- function rt(d, n, e, i, s, c) {
118
+ }, dt = ["width", "height", "fill"];
119
+ function ht(d, n, e, i, s, c) {
116
120
  return r(), g("svg", {
117
121
  xmlns: "http://www.w3.org/2000/svg",
118
122
  width: e.width,
@@ -160,9 +164,9 @@ function rt(d, n, e, i, s, c) {
160
164
  })
161
165
  ])
162
166
  ], -1)
163
- ])], 8, at);
167
+ ])], 8, dt);
164
168
  }
165
- const st = /* @__PURE__ */ p(it, [["render", rt]]), ct = {
169
+ const gt = /* @__PURE__ */ m(ut, [["render", ht]]), ft = {
166
170
  name: "IconNextPage",
167
171
  props: {
168
172
  width: {
@@ -178,8 +182,8 @@ const st = /* @__PURE__ */ p(it, [["render", rt]]), ct = {
178
182
  default: "currentColor"
179
183
  }
180
184
  }
181
- }, ut = ["width", "height", "fill"];
182
- function dt(d, n, e, i, s, c) {
185
+ }, mt = ["width", "height", "fill"];
186
+ function pt(d, n, e, i, s, c) {
183
187
  return r(), g("svg", {
184
188
  xmlns: "http://www.w3.org/2000/svg",
185
189
  width: e.width,
@@ -188,9 +192,9 @@ function dt(d, n, e, i, s, c) {
188
192
  viewBox: "0 0 12 12"
189
193
  }, [...n[0] || (n[0] = [
190
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)
191
- ])], 8, ut);
195
+ ])], 8, mt);
192
196
  }
193
- const ht = /* @__PURE__ */ p(ct, [["render", dt]]), gt = {
197
+ const vt = /* @__PURE__ */ m(ft, [["render", pt]]), Ct = {
194
198
  name: "IconStopwatch",
195
199
  props: {
196
200
  width: {
@@ -206,8 +210,8 @@ const ht = /* @__PURE__ */ p(ct, [["render", dt]]), gt = {
206
210
  default: "currentColor"
207
211
  }
208
212
  }
209
- }, ft = ["width", "height", "fill"];
210
- function pt(d, n, e, i, s, c) {
213
+ }, wt = ["width", "height", "fill"];
214
+ function _t(d, n, e, i, s, c) {
211
215
  return r(), g("svg", {
212
216
  xmlns: "http://www.w3.org/2000/svg",
213
217
  width: e.width,
@@ -216,9 +220,9 @@ function pt(d, n, e, i, s, c) {
216
220
  viewBox: "0 0 15 16"
217
221
  }, [...n[0] || (n[0] = [
218
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)
219
- ])], 8, ft);
223
+ ])], 8, wt);
220
224
  }
221
- const mt = /* @__PURE__ */ p(gt, [["render", pt]]), vt = {
225
+ const xt = /* @__PURE__ */ m(Ct, [["render", _t]]), bt = {
222
226
  name: "IconControllerPlay",
223
227
  props: {
224
228
  width: {
@@ -234,8 +238,8 @@ const mt = /* @__PURE__ */ p(gt, [["render", pt]]), vt = {
234
238
  default: "currentColor"
235
239
  }
236
240
  }
237
- }, Ct = ["width", "height", "fill"];
238
- function wt(d, n, e, i, s, c) {
241
+ }, yt = ["width", "height", "fill"];
242
+ function Mt(d, n, e, i, s, c) {
239
243
  return r(), g("svg", {
240
244
  xmlns: "http://www.w3.org/2000/svg",
241
245
  width: e.width,
@@ -244,9 +248,9 @@ function wt(d, n, e, i, s, c) {
244
248
  viewBox: "0 0 20 12"
245
249
  }, [...n[0] || (n[0] = [
246
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)
247
- ])], 8, Ct);
251
+ ])], 8, yt);
248
252
  }
249
- const _t = /* @__PURE__ */ p(vt, [["render", wt]]), xt = {
253
+ const $t = /* @__PURE__ */ m(bt, [["render", Mt]]), kt = {
250
254
  name: "IconControllerPause",
251
255
  props: {
252
256
  width: {
@@ -262,8 +266,8 @@ const _t = /* @__PURE__ */ p(vt, [["render", wt]]), xt = {
262
266
  default: "currentColor"
263
267
  }
264
268
  }
265
- }, bt = ["width", "height", "fill"];
266
- function yt(d, n, e, i, s, c) {
269
+ }, zt = ["width", "height", "fill"];
270
+ function Lt(d, n, e, i, s, c) {
267
271
  return r(), g("svg", {
268
272
  xmlns: "http://www.w3.org/2000/svg",
269
273
  width: e.width,
@@ -272,9 +276,9 @@ function yt(d, n, e, i, s, c) {
272
276
  viewBox: "0 0 20 12"
273
277
  }, [...n[0] || (n[0] = [
274
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)
275
- ])], 8, bt);
279
+ ])], 8, zt);
276
280
  }
277
- const Mt = /* @__PURE__ */ p(xt, [["render", yt]]), $t = { class: "timeseries-viewer-toolbar" }, kt = { id: "left-controls" }, zt = { id: "center-controls" }, Lt = { id: "right-controls" }, Nt = {
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 = {
278
282
  __name: "TSViewerToolbar",
279
283
  props: {
280
284
  constants: {
@@ -301,9 +305,9 @@ const Mt = /* @__PURE__ */ p(xt, [["render", yt]]), $t = { class: "timeseries-vi
301
305
  "setStart"
302
306
  ],
303
307
  setup(d, { emit: n }) {
304
- const e = d, i = n, s = h(!0), c = h(!0), x = h(!0);
308
+ const e = d, i = n, s = h(!0), c = h(!0), _ = h(!0);
305
309
  h(0);
306
- const C = h(!1), w = h(null), b = h(null), y = h(150), L = h(1e6), N = [
310
+ const v = h(!1), C = h(null), x = h(null), b = h(150), z = h(1e6), L = [
307
311
  {
308
312
  value: 0.5,
309
313
  label: "0.5x"
@@ -324,50 +328,50 @@ const Mt = /* @__PURE__ */ p(xt, [["render", yt]]), $t = { class: "timeseries-vi
324
328
  value: 10,
325
329
  label: "10x"
326
330
  }
327
- ], P = z(() => C.value === !0 ? Mt : _t), $ = z({
331
+ ], N = k(() => v.value === !0 ? Nt : $t), M = k({
328
332
  // getter
329
333
  get() {
330
334
  return e.duration / 1e6;
331
335
  },
332
336
  // setter
333
- set(v) {
334
- i("updateDuration", v);
337
+ set(p) {
338
+ i("updateDuration", p);
335
339
  }
336
- }), Z = () => {
340
+ }), P = () => {
337
341
  c.value = !c.value;
338
- }, H = () => {
342
+ }, Z = () => {
339
343
  s.value = !s.value;
344
+ }, H = () => {
345
+ _.value = !_.value;
340
346
  }, S = () => {
341
- x.value = !x.value;
347
+ v.value === !1 ? F() : D();
342
348
  }, I = () => {
343
- C.value === !1 ? q() : O();
344
- }, V = () => {
345
349
  i("pageBack");
346
- }, A = () => {
350
+ }, V = () => {
347
351
  i("pageForward");
348
352
  }, B = () => {
349
353
  i("incrementZoom");
350
354
  }, T = () => {
351
355
  i("decrementZoom");
352
- }, F = () => {
356
+ }, A = () => {
353
357
  i("nextAnnotation");
354
- }, D = () => {
358
+ }, E = () => {
355
359
  i("previousAnnotation");
356
- }, q = () => {
357
- C.value = !0;
358
- const v = () => {
359
- i("setStart", e.start + L.value * w.value), b.value = setTimeout(v, y.value);
360
+ }, F = () => {
361
+ v.value = !0;
362
+ const p = () => {
363
+ i("setStart", e.start + z.value * C.value), x.value = setTimeout(p, b.value);
360
364
  };
361
- b.value = setTimeout(v, y.value);
362
- }, O = () => {
363
- C.value = !1, y.value = 150, clearInterval(b.value);
365
+ x.value = setTimeout(p, b.value);
366
+ }, D = () => {
367
+ v.value = !1, b.value = 150, clearInterval(x.value);
364
368
  };
365
- return X(() => {
366
- w.value = 1;
367
- }), (v, o) => {
368
- const f = m("el-tooltip"), R = m("el-input-number"), k = m("el-button"), U = m("el-button-group"), E = m("el-option"), j = m("el-select");
369
- return r(), g("div", $t, [
370
- t("div", kt, [
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, [
371
375
  l(f, {
372
376
  placement: "top-end",
373
377
  content: "Toggle Time Zoom Controls"
@@ -375,20 +379,20 @@ const Mt = /* @__PURE__ */ p(xt, [["render", yt]]), $t = { class: "timeseries-vi
375
379
  default: u(() => [
376
380
  t("button", {
377
381
  class: "btn-icon",
378
- onClick: o[0] || (o[0] = (a) => Z())
382
+ onClick: o[0] || (o[0] = (a) => P())
379
383
  })
380
384
  ]),
381
385
  _: 1
382
386
  }),
383
- c.value ? (r(), _(R, {
387
+ c.value ? (r(), w(O, {
384
388
  key: 0,
385
- modelValue: $.value,
386
- "onUpdate:modelValue": o[1] || (o[1] = (a) => $.value = a),
389
+ modelValue: M.value,
390
+ "onUpdate:modelValue": o[1] || (o[1] = (a) => M.value = a),
387
391
  precision: 1,
388
392
  step: 5,
389
393
  max: d.constants.MAXDURATION,
390
394
  "controls-position": "right"
391
- }, null, 8, ["modelValue", "max"])) : M("", !0),
395
+ }, null, 8, ["modelValue", "max"])) : y("", !0),
392
396
  l(f, {
393
397
  placement: "top-end",
394
398
  content: "Toggle Vertical Zoom Controls"
@@ -396,28 +400,28 @@ const Mt = /* @__PURE__ */ p(xt, [["render", yt]]), $t = { class: "timeseries-vi
396
400
  default: u(() => [
397
401
  t("button", {
398
402
  class: "btn-icon",
399
- onClick: o[2] || (o[2] = (a) => H())
403
+ onClick: o[2] || (o[2] = (a) => Z())
400
404
  })
401
405
  ]),
402
406
  _: 1
403
407
  }),
404
- s.value ? (r(), _(U, { key: 1 }, {
408
+ s.value ? (r(), w(q, { key: 1 }, {
405
409
  default: u(() => [
406
- l(k, {
410
+ l($, {
407
411
  icon: "el-icon-plus",
408
412
  size: "small",
409
413
  onClick: B
410
414
  }),
411
- l(k, {
415
+ l($, {
412
416
  icon: "el-icon-minus",
413
417
  size: "small",
414
418
  onClick: T
415
419
  })
416
420
  ]),
417
421
  _: 1
418
- })) : M("", !0)
422
+ })) : y("", !0)
419
423
  ]),
420
- t("div", zt, [
424
+ t("div", Ht, [
421
425
  l(f, {
422
426
  placement: "top-end",
423
427
  content: "Page Back"
@@ -425,9 +429,9 @@ const Mt = /* @__PURE__ */ p(xt, [["render", yt]]), $t = { class: "timeseries-vi
425
429
  default: u(() => [
426
430
  t("button", {
427
431
  class: "btn-icon",
428
- onClick: o[3] || (o[3] = (a) => V())
432
+ onClick: o[3] || (o[3] = (a) => I())
429
433
  }, [
430
- l(tt, {
434
+ l(it, {
431
435
  height: 12,
432
436
  width: 12
433
437
  })
@@ -442,9 +446,9 @@ const Mt = /* @__PURE__ */ p(xt, [["render", yt]]), $t = { class: "timeseries-vi
442
446
  default: u(() => [
443
447
  t("button", {
444
448
  class: "btn-icon",
445
- onClick: o[4] || (o[4] = (a) => D())
449
+ onClick: o[4] || (o[4] = (a) => E())
446
450
  }, [
447
- l(lt, {
451
+ l(ct, {
448
452
  height: 12,
449
453
  width: 18
450
454
  })
@@ -459,9 +463,9 @@ const Mt = /* @__PURE__ */ p(xt, [["render", yt]]), $t = { class: "timeseries-vi
459
463
  default: u(() => [
460
464
  t("button", {
461
465
  class: "btn-icon",
462
- onClick: o[5] || (o[5] = (a) => I())
466
+ onClick: o[5] || (o[5] = (a) => S())
463
467
  }, [
464
- (r(), _(G(P.value), {
468
+ (r(), w(Y(N.value), {
465
469
  height: 12,
466
470
  width: 18
467
471
  }))
@@ -476,9 +480,9 @@ const Mt = /* @__PURE__ */ p(xt, [["render", yt]]), $t = { class: "timeseries-vi
476
480
  default: u(() => [
477
481
  t("button", {
478
482
  class: "btn-icon",
479
- onClick: o[6] || (o[6] = (a) => F())
483
+ onClick: o[6] || (o[6] = (a) => A())
480
484
  }, [
481
- l(st, {
485
+ l(gt, {
482
486
  name: "next-annotation-right-facing",
483
487
  height: 12,
484
488
  width: 18
@@ -494,9 +498,9 @@ const Mt = /* @__PURE__ */ p(xt, [["render", yt]]), $t = { class: "timeseries-vi
494
498
  default: u(() => [
495
499
  t("button", {
496
500
  class: "btn-icon",
497
- onClick: o[7] || (o[7] = (a) => A())
501
+ onClick: o[7] || (o[7] = (a) => V())
498
502
  }, [
499
- l(ht, {
503
+ l(vt, {
500
504
  name: "icon-next-page",
501
505
  height: 12,
502
506
  width: 18
@@ -506,7 +510,7 @@ const Mt = /* @__PURE__ */ p(xt, [["render", yt]]), $t = { class: "timeseries-vi
506
510
  _: 1
507
511
  })
508
512
  ]),
509
- t("div", Lt, [
513
+ t("div", St, [
510
514
  l(f, {
511
515
  placement: "top-end",
512
516
  content: "Toggle Play Back Speed Controls"
@@ -514,9 +518,9 @@ const Mt = /* @__PURE__ */ p(xt, [["render", yt]]), $t = { class: "timeseries-vi
514
518
  default: u(() => [
515
519
  t("button", {
516
520
  class: "btn-icon",
517
- onClick: o[8] || (o[8] = (a) => S())
521
+ onClick: o[8] || (o[8] = (a) => H())
518
522
  }, [
519
- l(mt, {
523
+ l(xt, {
520
524
  height: 20,
521
525
  width: 22
522
526
  })
@@ -524,28 +528,28 @@ const Mt = /* @__PURE__ */ p(xt, [["render", yt]]), $t = { class: "timeseries-vi
524
528
  ]),
525
529
  _: 1
526
530
  }),
527
- x.value ? (r(), _(j, {
531
+ _.value ? (r(), w(U, {
528
532
  key: 0,
529
- modelValue: w.value,
530
- "onUpdate:modelValue": o[9] || (o[9] = (a) => w.value = a),
533
+ modelValue: C.value,
534
+ "onUpdate:modelValue": o[9] || (o[9] = (a) => C.value = a),
531
535
  placeholder: "Select",
532
536
  size: "small",
533
537
  class: "playSelect"
534
538
  }, {
535
539
  default: u(() => [
536
- (r(), g(J, null, K(N, (a) => l(E, {
540
+ (r(), g(tt, null, et(L, (a) => l(R, {
537
541
  key: a.value,
538
542
  label: a.label,
539
543
  value: a.value
540
544
  }, null, 8, ["label", "value"])), 64))
541
545
  ]),
542
546
  _: 1
543
- }, 8, ["modelValue"])) : M("", !0)
547
+ }, 8, ["modelValue"])) : y("", !0)
544
548
  ])
545
549
  ]);
546
550
  };
547
551
  }
548
- }, Ht = /* @__PURE__ */ p(Nt, [["__scopeId", "data-v-5b412e2a"]]);
552
+ }, Dt = /* @__PURE__ */ m(It, [["__scopeId", "data-v-5b412e2a"]]);
549
553
  export {
550
- Ht as default
554
+ Dt as default
551
555
  };