@netless/app-slide 0.2.53 → 0.2.54

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/main.es.js CHANGED
@@ -31258,7 +31258,7 @@ void main(void){
31258
31258
  t3.stopPropagation(), this.hide();
31259
31259
  }, this.mediaTimeUpdate = () => o_(this, void 0, void 0, function* () {
31260
31260
  const t3 = this.media.currentTime - this.start;
31261
- if (console.log("duration", this.duration, "current", t3), this.duration > 0 && (Math.abs(t3 - this.duration) < 0.3 || t3 > this.duration) && (yield this.pauseMedia(), this.medianIsEnd = true, this.jumpToTime(), this.ctx.eventHub.emit(zy.mediaStop, { id: this.targetId }), this.onClickCancelFullScreenButtonHandle()), this.currentTime.innerText = l_.formatTime(t3), this.currentProgress.style.flex = (t3 / this.duration).toString(), this.bookmarkList && this.bookmarkList.length > 0) {
31261
+ if (this.duration > 0 && (Math.abs(t3 - this.duration) < 0.3 || t3 > this.duration) && (yield this.pauseMedia(), this.medianIsEnd = true, this.jumpToTime(), this.ctx.eventHub.emit(zy.mediaStop, { id: this.targetId }), this.onClickCancelFullScreenButtonHandle()), this.currentTime.innerText = l_.formatTime(t3), this.currentProgress.style.flex = (t3 / this.duration).toString(), this.bookmarkList && this.bookmarkList.length > 0) {
31262
31262
  const t4 = this.bookmarkList[this.pickBookmarkIndex];
31263
31263
  t4 && t4.time.toFixed(0) === this.media.currentTime.toFixed(0) && (this.ctx.timingEventHub.emit(`shape ${this.shapeId} onMediaBookmark ${t4.name}`), this.pickBookmarkIndex += 1);
31264
31264
  }
@@ -36008,7 +36008,7 @@ void main(void){
36008
36008
  }
36009
36009
  var fT = { syncDispatch: "syncDispatch", syncReceive: "syncReceive", syncEventLag: "syncEventLag", renderStart: "renderStart", renderEnd: "renderEnd", renderError: "renderError", slideChange: "slideChange", mainSeqStepStart: "mainSeqStepStart", mainSeqStepEnd: "mainSeqStepEnd", animateStart: "animateStart", animateEnd: "animateEnd", stateChange: "stateChange", slideStepEnd: "slideEnd", slideStepStart: "slideStart" }, mT = { taskId: "", url: "", currentSlideIndex: -1, mainSeqStep: -1, mainSeqState: null, mediaState: /* @__PURE__ */ Object.create(null), interactiveSeqState: /* @__PURE__ */ Object.create(null) }, gT = "";
36010
36010
  try {
36011
- gT = "1.2.2-alpha.6";
36011
+ gT = "1.2.1";
36012
36012
  } catch (t2) {
36013
36013
  gT = "dev -";
36014
36014
  }
@@ -39161,7 +39161,7 @@ class SlidePreviewer {
39161
39161
  }
39162
39162
  }
39163
39163
  const usePlugin = /* @__PURE__ */ Slide.Slide.usePlugin.bind(Slide.Slide);
39164
- const version = "0.2.53";
39164
+ const version = "0.2.54";
39165
39165
  const SlideApp = {
39166
39166
  kind: "Slide",
39167
39167
  setup(context) {