@netless/app-slide 0.2.96-alpha.1 → 0.2.96
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 +8 -8
- 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/src/DocsViewer/ResizableContainer.ts +6 -6
package/dist/main.es.js
CHANGED
|
@@ -32199,7 +32199,7 @@ void main(void){
|
|
|
32199
32199
|
this.autoPlay = true, this.commonTimeNode.children[0].commonTimeNode.startTimeNodeForce();
|
|
32200
32200
|
}
|
|
32201
32201
|
incrSeqIndex() {
|
|
32202
|
-
this.currentSeqIndex + 1
|
|
32202
|
+
this.currentSeqIndex + 1 < this.commonTimeNode.children.length && (this.currentSeqIndex += 1);
|
|
32203
32203
|
}
|
|
32204
32204
|
decrSeqIndex() {
|
|
32205
32205
|
this.currentSeqIndex - 1 >= -1 && (this.currentSeqIndex -= 1);
|
|
@@ -36531,7 +36531,7 @@ void main(void){
|
|
|
36531
36531
|
}
|
|
36532
36532
|
var _T = { 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", useraddLink: "useraddLink" }, yT = { taskId: "", url: "", currentSlideIndex: -1, mainSeqStep: -1, mainSeqState: null, mediaState: /* @__PURE__ */ Object.create(null), interactiveSeqState: /* @__PURE__ */ Object.create(null) }, xT = "";
|
|
36533
36533
|
try {
|
|
36534
|
-
xT = "1.4.
|
|
36534
|
+
xT = "1.4.51-alpha.0";
|
|
36535
36535
|
} catch (t2) {
|
|
36536
36536
|
xT = "-dev-";
|
|
36537
36537
|
}
|
|
@@ -39608,11 +39608,11 @@ class ResizableContainer {
|
|
|
39608
39608
|
this.root.appendChild(this.scrollContainer);
|
|
39609
39609
|
if (this.enableResize) {
|
|
39610
39610
|
this.scrollBar = new ScrollBar(this.root, this);
|
|
39611
|
-
this.resizeObserver = new ResizeObserver(() => {
|
|
39612
|
-
this.updateResizableContainer();
|
|
39613
|
-
});
|
|
39614
|
-
this.resizeObserver.observe(this.scrollContainer);
|
|
39615
39611
|
}
|
|
39612
|
+
this.resizeObserver = new ResizeObserver(() => {
|
|
39613
|
+
this.updateResizableContainer();
|
|
39614
|
+
});
|
|
39615
|
+
this.resizeObserver.observe(this.scrollContainer);
|
|
39616
39616
|
}
|
|
39617
39617
|
getTranslate() {
|
|
39618
39618
|
return { x: this.translateX, y: this.translateY };
|
|
@@ -39673,7 +39673,7 @@ class ResizableContainer {
|
|
|
39673
39673
|
if (options.triggerScrollBar) {
|
|
39674
39674
|
(_a = this.scrollBar) == null ? void 0 : _a.handleNormalizeTranslate(x, y);
|
|
39675
39675
|
}
|
|
39676
|
-
if (options.triggerSync) {
|
|
39676
|
+
if (options.triggerSync && this.enableResize && this.context.getIsWritable()) {
|
|
39677
39677
|
this.context.storage.setState({ translateX: this.translateX, translateY: this.translateY });
|
|
39678
39678
|
}
|
|
39679
39679
|
}
|
|
@@ -40355,7 +40355,7 @@ class SlidePreviewer {
|
|
|
40355
40355
|
}
|
|
40356
40356
|
}
|
|
40357
40357
|
const usePlugin = /* @__PURE__ */ Slide.Slide.usePlugin.bind(Slide.Slide);
|
|
40358
|
-
const version = "0.2.96
|
|
40358
|
+
const version = "0.2.96";
|
|
40359
40359
|
const SlideApp = {
|
|
40360
40360
|
kind: "Slide",
|
|
40361
40361
|
setup(context) {
|