@netless/app-slide 0.2.71-alpha.5 → 0.2.71
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 +3 -3
- package/dist/main.cjs.js.map +1 -1
- package/dist/main.es.js +6 -6
- package/dist/main.es.js.map +1 -1
- package/dist/main.iife.js +3 -3
- package/dist/main.iife.js.map +1 -1
- package/package.json +2 -2
package/dist/main.es.js
CHANGED
|
@@ -31506,8 +31506,8 @@ void main(void){
|
|
|
31506
31506
|
})) : window.__pcmProxy ? (this.domAudio = document.createElement("audio"), this.domAudio.src = t2, this.domAudio.crossOrigin = "anonymous", this.domAudio.addEventListener("pause", () => {
|
|
31507
31507
|
this.emit("pause");
|
|
31508
31508
|
}), this.pcmSource = window.__pcmProxy.connect(this.domAudio), this.domAudio.addEventListener("playing", () => {
|
|
31509
|
-
|
|
31510
|
-
})
|
|
31509
|
+
this.emit("load"), this.startTimeChangeEmit(), this.emit("play");
|
|
31510
|
+
})) : (this.howl = new c_.Howl({ src: [t2], html5: null == n2 ? void 0 : n2.enableWebAudio }), [this.staticEventId] = this.howl._getSoundIds(), this.howl.load(), this.howl.on("load", () => {
|
|
31511
31511
|
this.isHowlLoadEmit = true, this.emit("load");
|
|
31512
31512
|
}), this.howl.on("pause", () => this.emit("pause")), this.howl.on("play", () => {
|
|
31513
31513
|
this.isHowlLoadEmit || this.emit("load"), this.isHowlEnd = false, this.startTimeChangeEmit(), this.emit("play");
|
|
@@ -31543,7 +31543,7 @@ void main(void){
|
|
|
31543
31543
|
}
|
|
31544
31544
|
destroy() {
|
|
31545
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(),
|
|
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) : this.domAudio ? this.domAudio.currentTime : -1;
|
|
@@ -36212,9 +36212,9 @@ 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.31-alpha.
|
|
36215
|
+
yT = "1.4.31-alpha.3";
|
|
36216
36216
|
} catch (t2) {
|
|
36217
|
-
yT = "-dev
|
|
36217
|
+
yT = "-dev";
|
|
36218
36218
|
}
|
|
36219
36219
|
var xT = null;
|
|
36220
36220
|
try {
|
|
@@ -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.71
|
|
39504
|
+
const version = "0.2.71";
|
|
39505
39505
|
const SlideApp = {
|
|
39506
39506
|
kind: "Slide",
|
|
39507
39507
|
setup(context) {
|