@netless/app-slide 0.0.57 → 0.0.58
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 +75 -75
- package/dist/main.cjs.js.map +1 -1
- package/dist/main.es.js +6 -8
- package/dist/main.es.js.map +1 -1
- package/dist/main.iife.js +64 -64
- package/dist/main.iife.js.map +1 -1
- package/package.json +1 -1
- package/src/SlideController/index.ts +6 -8
package/dist/main.es.js
CHANGED
|
@@ -36686,13 +36686,11 @@ class SlideController {
|
|
|
36686
36686
|
}
|
|
36687
36687
|
};
|
|
36688
36688
|
this.magixEventListener = (ev) => {
|
|
36689
|
-
|
|
36690
|
-
|
|
36691
|
-
|
|
36692
|
-
|
|
36693
|
-
|
|
36694
|
-
this.slide.emit(Slide.SLIDE_EVENTS.syncReceive, payload);
|
|
36695
|
-
}
|
|
36689
|
+
const { type, payload } = ev.payload;
|
|
36690
|
+
if (type === Slide.SLIDE_EVENTS.syncDispatch) {
|
|
36691
|
+
this.syncStateOnce();
|
|
36692
|
+
log("[Slide] receive", payload);
|
|
36693
|
+
this.slide.emit(Slide.SLIDE_EVENTS.syncReceive, payload);
|
|
36696
36694
|
}
|
|
36697
36695
|
};
|
|
36698
36696
|
this.onStateChange = (state) => {
|
|
@@ -38185,7 +38183,7 @@ class SlidePreviewer {
|
|
|
38185
38183
|
return `${this.namespace}-${className}`;
|
|
38186
38184
|
}
|
|
38187
38185
|
}
|
|
38188
|
-
const version = "0.0.
|
|
38186
|
+
const version = "0.0.58";
|
|
38189
38187
|
const SlideApp = {
|
|
38190
38188
|
kind: "Slide",
|
|
38191
38189
|
setup(context) {
|