@pennsieve-viz/tsviewer 1.0.31 → 1.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (33) hide show
  1. package/dist/{BFLibraryButton-Dec5fit3.js → BFLibraryButton-CjW78KwZ.js} +1 -1
  2. package/dist/{BFLibraryButton-CnSdxNr1.cjs → BFLibraryButton-DGI5G53e.cjs} +1 -1
  3. package/dist/{IconSelection-CxtyAEya.cjs → IconSelection-BJc1giuT.cjs} +1 -1
  4. package/dist/{IconSelection-C_zQHxVs.js → IconSelection-ChXlHpsu.js} +1 -1
  5. package/dist/TSAnnotationCanvas-CfyqYTnB.js +730 -0
  6. package/dist/TSAnnotationCanvas-DhskkXWf.cjs +1 -0
  7. package/dist/{TSAnnotationModal-Bvz6Hr6c.cjs → TSAnnotationModal-Bde2b3U0.cjs} +1 -1
  8. package/dist/{TSAnnotationModal-Crb5zX1P.js → TSAnnotationModal-KX-_Afb3.js} +42 -42
  9. package/dist/{TSFilterModal-DdNCo0nH.js → TSFilterModal-BMSEMK8Y.js} +3 -3
  10. package/dist/{TSFilterModal-BA7WXDk1.cjs → TSFilterModal-RgvcihE6.cjs} +1 -1
  11. package/dist/TSScrubber-C90JS4pD.cjs +1 -0
  12. package/dist/{TSScrubber-BsoGLy_L.js → TSScrubber-DqCc3Zp7.js} +39 -39
  13. package/dist/{TSViewerCanvas-ByhDLibl.js → TSViewerCanvas-3TTYdC6T.js} +13 -13
  14. package/dist/{TSViewerCanvas-D_i1FrqG.cjs → TSViewerCanvas-BUlYMq9z.cjs} +2 -2
  15. package/dist/{TSViewerLayerWindow-Cf4J_lK_.js → TSViewerLayerWindow-B94J9tDk.js} +2 -2
  16. package/dist/{TSViewerLayerWindow-4ckQFmUZ.cjs → TSViewerLayerWindow-C5Va7dH9.cjs} +1 -1
  17. package/dist/{TSViewerToolbar-BLOSD8fd.cjs → TSViewerToolbar-B1q33g4K.cjs} +1 -1
  18. package/dist/{TSViewerToolbar-BxAiyYi7.js → TSViewerToolbar-ECRy1rzk.js} +6 -6
  19. package/dist/{TsAnnotationDeleteDialog-Dm0rbNQr.js → TsAnnotationDeleteDialog-3aMg8Pa_.js} +3 -3
  20. package/dist/{TsAnnotationDeleteDialog-B_ZIUOh2.cjs → TsAnnotationDeleteDialog-O-NFN0pa.cjs} +1 -1
  21. package/dist/index-B-qad683.cjs +1 -0
  22. package/dist/index-ZGQLYYRT.js +1459 -0
  23. package/dist/index.cjs +1 -1
  24. package/dist/index.js +7 -3
  25. package/dist/{pathOr-D8CyYHmd.cjs → pathOr-BHBhJmTE.cjs} +1 -1
  26. package/dist/{pathOr-CC_5pAvC.js → pathOr-Byg6zMXz.js} +1 -1
  27. package/dist/style.css +1 -1
  28. package/package.json +1 -1
  29. package/dist/TSAnnotationCanvas-BuYjJ340.cjs +0 -1
  30. package/dist/TSAnnotationCanvas-DV93mqhV.js +0 -778
  31. package/dist/TSScrubber-KnkoGu88.cjs +0 -1
  32. package/dist/index-C3ilckwx.js +0 -1318
  33. package/dist/index-D8lvFC22.cjs +0 -1
@@ -1,6 +1,6 @@
1
- import { ref, onUnmounted, readonly, reactive, computed, watch, onMounted, createElementBlock, openBlock, createElementVNode, renderSlot, normalizeStyle, defineAsyncComponent, nextTick, createVNode, withCtx, unref } from "vue";
1
+ import { ref, onUnmounted, readonly, reactive, computed, watch, inject, onMounted, createElementBlock, openBlock, createElementVNode, renderSlot, normalizeStyle, defineAsyncComponent, nextTick, createVNode, withCtx, unref } from "vue";
2
2
  import { storeToRefs } from "pinia";
3
- import { n as nth, b as _curry2, d as _xfBase, l as _reduced, e as _dispatchable, h as useToken, p as propOr, g as _export_sfc, u as useViewerStore, m as propEq } from "./index-C3ilckwx.js";
3
+ import { n as nth, b as _curry2, d as _xfBase, l as _reduced, e as _dispatchable, u as useToken, p as propOr, g as _export_sfc, h as createViewerStore, m as propEq } from "./index-ZGQLYYRT.js";
4
4
  import { c as commonjsGlobal, g as getDefaultExportFromCjs } from "./_commonjsHelpers-DaMA6jEr.js";
5
5
  var head = /* @__PURE__ */ nth(0), XFind = /* @__PURE__ */ (function() {
6
6
  function f(c, v) {
@@ -4908,9 +4908,9 @@ const _hoisted_1$1 = { class: "timeseries-plot-canvas" }, _hoisted_2$1 = ["width
4908
4908
  duration: { type: Number, required: !0 },
4909
4909
  constants: { type: Object, required: !0 },
4910
4910
  rsPeriod: { type: Number, required: !0 },
4911
- ts_start: { type: Number, default: null },
4912
- ts_end: { type: Number, default: null },
4913
- globalZoomMult: { type: Number, default: 1 },
4911
+ ts_start: { type: Number, required: !0 },
4912
+ ts_end: { type: Number, required: !0 },
4913
+ globalZoomMult: { type: Number, required: !0 },
4914
4914
  activeViewer: { type: Object, required: !0 }
4915
4915
  },
4916
4916
  emits: ["channelsInitialized", "setGlobalZoom"],
@@ -4918,7 +4918,7 @@ const _hoisted_1$1 = { class: "timeseries-plot-canvas" }, _hoisted_2$1 = ["width
4918
4918
  const u = f, o = v, i = computed(() => u.activeViewer || {}), e = computed(() => {
4919
4919
  var A;
4920
4920
  return ((A = i.value) == null ? void 0 : A.channels) || [];
4921
- }), r = useViewerStore(), {
4921
+ }), r = inject("viewerStore", () => createViewerStore("default"), !0), {
4922
4922
  viewerChannels: t,
4923
4923
  viewerMontageScheme: n,
4924
4924
  workspaceMontages: d
@@ -5232,7 +5232,7 @@ const _hoisted_1$1 = { class: "timeseries-plot-canvas" }, _hoisted_2$1 = ["width
5232
5232
  }, null, 12, _hoisted_3$1)
5233
5233
  ]));
5234
5234
  }
5235
- }, TSPlotCanvas = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["__scopeId", "data-v-fda6d3b3"]]), _hoisted_1 = { class: "timeseries-viewer-canvas" }, _hoisted_2 = { id: "canvasWrapper" }, _hoisted_3 = ["width", "height"], _hoisted_4 = ["width", "height"], _hoisted_5 = ["width", "height"], _hoisted_6 = ["width", "height"], _sfc_main = {
5235
+ }, TSPlotCanvas = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["__scopeId", "data-v-0147997e"]]), _hoisted_1 = { class: "timeseries-viewer-canvas" }, _hoisted_2 = { id: "canvasWrapper" }, _hoisted_3 = ["width", "height"], _hoisted_4 = ["width", "height"], _hoisted_5 = ["width", "height"], _hoisted_6 = ["width", "height"], _sfc_main = {
5236
5236
  __name: "TSViewerCanvas",
5237
5237
  props: {
5238
5238
  windowHeight: Number,
@@ -5241,10 +5241,10 @@ const _hoisted_1$1 = { class: "timeseries-plot-canvas" }, _hoisted_2$1 = ["width
5241
5241
  start: Number,
5242
5242
  cHeight: Number,
5243
5243
  cWidth: Number,
5244
- globalZoomMult: { type: Number, default: 1 },
5244
+ globalZoomMult: Number,
5245
5245
  constants: Object,
5246
- tsStart: { type: Number, default: null },
5247
- tsEnd: { type: Number, default: null },
5246
+ tsStart: Number,
5247
+ tsEnd: Number,
5248
5248
  cursorLoc: Number,
5249
5249
  activeViewer: { type: Object, required: !0 }
5250
5250
  },
@@ -5260,8 +5260,8 @@ const _hoisted_1$1 = { class: "timeseries-plot-canvas" }, _hoisted_2$1 = ["width
5260
5260
  ],
5261
5261
  setup(f, { expose: c, emit: v }) {
5262
5262
  const u = defineAsyncComponent(
5263
- () => import("./TSAnnotationCanvas-DV93mqhV.js")
5264
- ), o = f, i = v, e = useViewerStore(), { viewerChannels: r, viewerAnnotations: t, viewerActiveTool: n, viewerSelectedChannels: d } = storeToRefs(e), s = ref(null), l = ref(null), a = ref(null), h = ref(null), m = ref(null), R = ref(null);
5263
+ () => import("./TSAnnotationCanvas-CfyqYTnB.js")
5264
+ ), o = f, i = v, e = inject("viewerStore", () => createViewerStore("default"), !0), { viewerChannels: r, viewerAnnotations: t, viewerActiveTool: n, viewerSelectedChannels: d } = storeToRefs(e), s = ref(null), l = ref(null), a = ref(null), h = ref(null), m = ref(null), R = ref(null);
5265
5265
  reactive({});
5266
5266
  const g = ref(0), y = ref(0), O = ref(0), b = ref(1), E = ref(!1), I = ref(!1), M = ref("pointer");
5267
5267
  ref(!1);
@@ -5754,7 +5754,7 @@ const _hoisted_1$1 = { class: "timeseries-plot-canvas" }, _hoisted_2$1 = ["width
5754
5754
  ])
5755
5755
  ]));
5756
5756
  }
5757
- }, TSViewerCanvas = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-c0266cf3"]]), TSViewerCanvas$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5757
+ }, TSViewerCanvas = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-dea6f1e7"]]), TSViewerCanvas$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5758
5758
  __proto__: null,
5759
5759
  default: TSViewerCanvas
5760
5760
  }, Symbol.toStringTag, { value: "Module" }));