@netless/app-slide 0.2.12 → 0.2.13

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
@@ -28348,7 +28348,7 @@ void main(void){
28348
28348
  }
28349
28349
  var tw = { syncDispatch: "syncDispatch", syncReceive: "syncReceive", syncEventLag: "syncEventLag", renderStart: "renderStart", renderEnd: "renderEnd", renderError: "renderError", slideChange: "slideChange", mainSeqStepStart: "mainSeqStepStart", mainSeqStepEnd: "mainSeqStepEnd", animateStart: "animateStart", animateEnd: "animateEnd", stateChange: "stateChange" }, ew = { taskId: "", url: "", currentSlideIndex: -1, mainSeqStep: -1, mainSeqState: null, mediaState: /* @__PURE__ */ Object.create(null), interactiveSeqState: /* @__PURE__ */ Object.create(null) }, iw = "";
28350
28350
  try {
28351
- iw = "0.7.2";
28351
+ iw = "0.7.3";
28352
28352
  } catch (t2) {
28353
28353
  iw = "dev";
28354
28354
  }
@@ -28474,7 +28474,7 @@ void main(void){
28474
28474
  }, Object.defineProperty(e2.prototype, "dispatchIncrId", { get: function() {
28475
28475
  return this._dispatchIncrId++;
28476
28476
  }, enumerable: false, configurable: true }), e2.prototype.reportError = function(t3, e3) {
28477
- this.emit(tw.renderError, { error: t3, index: e3 }), window.postMessage({ type: "@slide/_error_", errorType: t3.errorType, errorMsg: t3.errorMsg, slideId: this.randomId, slideIndex: e3, customMessage: "@slide/_error_" });
28477
+ this.emit(tw.renderError, { error: t3, index: e3 }), window.postMessage({ type: "@slide/_error_", errorType: t3.errorType, errorMsg: t3.errorMsg, slideId: this.randomId, slideIndex: e3, customMessage: "@slide/_error_" }, "*");
28478
28478
  }, e2.prototype.initSlideConfig = function(t3) {
28479
28479
  return t3.timestamp && (this.timestamp = t3.timestamp), t3.rtcAudio && (Ob.RtcAudioClazz = t3.rtcAudio), this.mode = t3.mode, this.anchor = t3.anchor, this.anchor.appendChild(this.frame), this.enableGlobalClick = !il()(t3.enableGlobalClick) && t3.enableGlobalClick, this.resize = t3.resize || false, this.interactive = t3.interactive, this.frame.style.cssText = t3.fixedFrameSize ? "width:" + t3.fixedFrameSize.width + "px;height:" + t3.fixedFrameSize.height + "px;" : "width:100%;height:100%", this.frame.style.cssText += "display:flex;justify-content:center;align-items:center;visibility:hidden;position:relative;z-index:1;", t3.fixedFrameSize && (this.frameWidth = t3.fixedFrameSize.width, this.frameHeight = t3.fixedFrameSize.height), t3;
28480
28480
  }, e2.prototype.initPlayer = function(t3) {
@@ -28870,7 +28870,7 @@ void main(void){
28870
28870
  case 3:
28871
28871
  return r2 < s2.length ? (o2 = s2[r2], a2 = o2.replace("run_time_log_", ""), [4, nw.getItem(o2)]) : [3, 6];
28872
28872
  case 4:
28873
- l2 = i3.sent(), window.postMessage({ type: "@slide/_report_log_", log: l2, index: parseInt(a2, 10), total: n3.length, customMessage: "@slide/_report_log_", sessionId: t3 }), i3.label = 5;
28873
+ l2 = i3.sent(), window.postMessage({ type: "@slide/_report_log_", log: l2, index: parseInt(a2, 10), total: n3.length, customMessage: "@slide/_report_log_", sessionId: t3 }, "*"), i3.label = 5;
28874
28874
  case 5:
28875
28875
  return r2++, [3, 3];
28876
28876
  case 6:
@@ -31127,7 +31127,7 @@ class SlidePreviewer {
31127
31127
  }
31128
31128
  }
31129
31129
  const usePlugin = /* @__PURE__ */ Slide.Slide.usePlugin.bind(Slide.Slide);
31130
- const version = "0.2.12";
31130
+ const version = "0.2.13";
31131
31131
  const SlideApp = {
31132
31132
  kind: "Slide",
31133
31133
  setup(context) {