@netless/app-slide 0.2.40 → 0.2.41

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
@@ -32934,7 +32934,9 @@ void main(void){
32934
32934
  t3.commonTimeNode.startTimeNode(false);
32935
32935
  });
32936
32936
  }), this.commonTimeNode.on("timeNodeEnd", () => {
32937
- this.commonTimeNode.isTimeNodeEnd() && this.isRunning && (this.isRunning = false, this.globalEventHub.emit(`runtime ${this.id} end`), this.emit("end"));
32937
+ this.commonTimeNode.isTimeNodeEnd() && this.isRunning && (this.isRunning = false, this.globalEventHub.emit(`runtime ${this.id} end`), this.emit("end")), this.commonTimeNode.json.presetClass === "exit" && this.commonTimeNode.children.length >= 1 && this.commonTimeNode.children[this.commonTimeNode.children.length - 1] instanceof E_ && this.commonTimeNode.children.forEach((t3) => {
32938
+ t3 instanceof E_ || typeof t3.onSeekToStart != "function" || t3.onSeekToStart();
32939
+ });
32938
32940
  });
32939
32941
  }
32940
32942
  }
@@ -35961,9 +35963,9 @@ void main(void){
35961
35963
  }
35962
35964
  var pT = { 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" }, fT = { taskId: "", url: "", currentSlideIndex: -1, mainSeqStep: -1, mainSeqState: null, mediaState: /* @__PURE__ */ Object.create(null), interactiveSeqState: /* @__PURE__ */ Object.create(null) }, mT = "";
35963
35965
  try {
35964
- mT = "1.1.0";
35966
+ mT = "1.1.1";
35965
35967
  } catch (t2) {
35966
- mT = "dev";
35968
+ mT = "dev-";
35967
35969
  }
35968
35970
  var gT = null;
35969
35971
  try {
@@ -39064,7 +39066,7 @@ class SlidePreviewer {
39064
39066
  }
39065
39067
  }
39066
39068
  const usePlugin = /* @__PURE__ */ Slide.Slide.usePlugin.bind(Slide.Slide);
39067
- const version = "0.2.40";
39069
+ const version = "0.2.41";
39068
39070
  const SlideApp = {
39069
39071
  kind: "Slide",
39070
39072
  setup(context) {