@netless/app-slide 0.1.4 → 0.1.5
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/index.d.ts +2 -0
- package/dist/main.cjs.js +2 -2
- 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 +2 -2
- package/dist/main.iife.js.map +1 -1
- package/package.json +1 -1
- package/src/SlideController/index.ts +1 -1
- package/src/index.ts +2 -0
package/dist/main.es.js
CHANGED
|
@@ -36875,7 +36875,7 @@ class SlideController {
|
|
|
36875
36875
|
return this.slide.slideState.currentSlideIndex;
|
|
36876
36876
|
}
|
|
36877
36877
|
createSlide(anchor) {
|
|
36878
|
-
var _a, _b, _c, _d, _e, _f;
|
|
36878
|
+
var _a, _b, _c, _d, _e, _f, _g, _h;
|
|
36879
36879
|
const slide = new Slide.Slide({
|
|
36880
36880
|
anchor,
|
|
36881
36881
|
interactive: true,
|
|
@@ -36886,10 +36886,10 @@ class SlideController {
|
|
|
36886
36886
|
renderOptions: {
|
|
36887
36887
|
minFPS: ((_a = this.context.getAppOptions()) == null ? void 0 : _a.minFPS) || 25,
|
|
36888
36888
|
maxFPS: ((_b = this.context.getAppOptions()) == null ? void 0 : _b.maxFPS) || 30,
|
|
36889
|
-
autoFPS: true,
|
|
36890
|
-
autoResolution: (
|
|
36891
|
-
resolution: (
|
|
36892
|
-
transactionBgColor: ((
|
|
36889
|
+
autoFPS: (_d = (_c = this.context.getAppOptions()) == null ? void 0 : _c.autoFPS) != null ? _d : true,
|
|
36890
|
+
autoResolution: (_f = (_e = this.context.getAppOptions()) == null ? void 0 : _e.autoResolution) != null ? _f : true,
|
|
36891
|
+
resolution: (_g = this.context.getAppOptions()) == null ? void 0 : _g.resolution,
|
|
36892
|
+
transactionBgColor: ((_h = this.context.getAppOptions()) == null ? void 0 : _h.bgColor) || cachedGetBgColor(anchor)
|
|
36893
36893
|
},
|
|
36894
36894
|
timestamp: this.timestamp
|
|
36895
36895
|
});
|
|
@@ -38245,7 +38245,7 @@ class SlidePreviewer {
|
|
|
38245
38245
|
return `${this.namespace}-${className}`;
|
|
38246
38246
|
}
|
|
38247
38247
|
}
|
|
38248
|
-
const version = "0.1.
|
|
38248
|
+
const version = "0.1.5";
|
|
38249
38249
|
const SlideApp = {
|
|
38250
38250
|
kind: "Slide",
|
|
38251
38251
|
setup(context) {
|