@netless/app-slide 0.2.69 → 0.2.70
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.cjs.js +4 -4
- package/dist/main.cjs.js.map +1 -1
- package/dist/main.es.js +5 -5
- package/dist/main.es.js.map +1 -1
- package/dist/main.iife.js +4 -4
- package/dist/main.iife.js.map +1 -1
- package/package.json +2 -2
package/dist/main.es.js
CHANGED
|
@@ -31542,8 +31542,8 @@ void main(void){
|
|
|
31542
31542
|
null === (t2 = this.howl) || void 0 === t2 || t2.pause(this.staticEventId), this.rctClient && (this.rctClient.pause(), this.rctClient.currentTime = 0), this.runningAudio.has(this.url) && this.runningAudio.delete(this.url);
|
|
31543
31543
|
}
|
|
31544
31544
|
destroy() {
|
|
31545
|
-
var t2, e2, i2, n2, r2, o2, s2, a2;
|
|
31546
|
-
null === (t2 = this.howl) || void 0 === t2 || t2.stop(this.staticEventId), null === (e2 = this.howl) || void 0 === e2 || e2.unload(), null === (i2 = this.rctClient) || void 0 === i2 || i2.pause(), null === (n2 = this.rctClient) || void 0 === n2 || n2.destroy(), null === (r2 = this.rctClient) || void 0 === r2 || r2.removeAllListeners("load"), null === (o2 = this.rctClient) || void 0 === o2 || o2.removeAllListeners("play"), null === (s2 = this.rctClient) || void 0 === s2 || s2.removeAllListeners("pause"), null === (a2 = this.rctClient) || void 0 === a2 || a2.removeAllListeners("resumeAllAudioInterruptByAudioSessionChanged"), this.pcmSource.disconnect(), this.runningAudio.has(this.url) && this.runningAudio.delete(this.url);
|
|
31545
|
+
var t2, e2, i2, n2, r2, o2, s2, a2, l2;
|
|
31546
|
+
null === (t2 = this.howl) || void 0 === t2 || t2.stop(this.staticEventId), null === (e2 = this.howl) || void 0 === e2 || e2.unload(), null === (i2 = this.rctClient) || void 0 === i2 || i2.pause(), null === (n2 = this.rctClient) || void 0 === n2 || n2.destroy(), null === (r2 = this.rctClient) || void 0 === r2 || r2.removeAllListeners("load"), null === (o2 = this.rctClient) || void 0 === o2 || o2.removeAllListeners("play"), null === (s2 = this.rctClient) || void 0 === s2 || s2.removeAllListeners("pause"), null === (a2 = this.rctClient) || void 0 === a2 || a2.removeAllListeners("resumeAllAudioInterruptByAudioSessionChanged"), null === (l2 = this.pcmSource) || void 0 === l2 || l2.disconnect(), this.runningAudio.has(this.url) && this.runningAudio.delete(this.url);
|
|
31547
31547
|
}
|
|
31548
31548
|
get currentTime() {
|
|
31549
31549
|
return this.rctClient ? this.rctClient.currentTime : this.howl ? this.howl.seek(this.staticEventId) : -1;
|
|
@@ -36212,7 +36212,7 @@ void main(void){
|
|
|
36212
36212
|
}
|
|
36213
36213
|
var vT = { 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" }, _T = { taskId: "", url: "", currentSlideIndex: -1, mainSeqStep: -1, mainSeqState: null, mediaState: /* @__PURE__ */ Object.create(null), interactiveSeqState: /* @__PURE__ */ Object.create(null) }, yT = "";
|
|
36214
36214
|
try {
|
|
36215
|
-
yT = "1.4.
|
|
36215
|
+
yT = "1.4.29";
|
|
36216
36216
|
} catch (t2) {
|
|
36217
36217
|
yT = "dev";
|
|
36218
36218
|
}
|
|
@@ -36719,7 +36719,7 @@ void main(void){
|
|
|
36719
36719
|
return pT(this, function(s2) {
|
|
36720
36720
|
switch (s2.label) {
|
|
36721
36721
|
case 0:
|
|
36722
|
-
return this.logger.info("frozen with player[" + !!this.player + "]", this.taskId), this.tracker({ name: "frozenSlide", reason: "", result: "", payload: { taskId: this.taskId } }), this.view && this.player ? [4, this.player.clock.waitUntil(function() {
|
|
36722
|
+
return this.logger.info("do frozen with player[" + !!this.player + "]", this.taskId), this.tracker({ name: "frozenSlide", reason: "", result: "", payload: { taskId: this.taskId } }), this.view && this.player ? [4, this.player.clock.waitUntil(function() {
|
|
36723
36723
|
return !o2.isLoading;
|
|
36724
36724
|
}, 6e4)] : [3, 2];
|
|
36725
36725
|
case 1:
|
|
@@ -39501,7 +39501,7 @@ class SlidePreviewer {
|
|
|
39501
39501
|
}
|
|
39502
39502
|
}
|
|
39503
39503
|
const usePlugin = /* @__PURE__ */ Slide.Slide.usePlugin.bind(Slide.Slide);
|
|
39504
|
-
const version = "0.2.
|
|
39504
|
+
const version = "0.2.70";
|
|
39505
39505
|
const SlideApp = {
|
|
39506
39506
|
kind: "Slide",
|
|
39507
39507
|
setup(context) {
|