@ones-editor/editor 2.5.1-beta.2 → 2.5.1-beta.4
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.js
CHANGED
|
@@ -11147,11 +11147,10 @@ var __publicField = (obj, key, value) => {
|
|
|
11147
11147
|
constructor(options) {
|
|
11148
11148
|
__publicField(this, "cancelScroll", null);
|
|
11149
11149
|
__publicField(this, "options");
|
|
11150
|
-
__publicField(this, "scrollDomInfo");
|
|
11151
11150
|
__publicField(this, "scrolling", false);
|
|
11152
11151
|
__publicField(this, "getScrollingDirection", (e2) => {
|
|
11153
11152
|
const { x, y } = e2;
|
|
11154
|
-
const { top, bottom, left, right } = this.
|
|
11153
|
+
const { top, bottom, left, right } = this.getScrollDomInfo();
|
|
11155
11154
|
const { edge } = this.options;
|
|
11156
11155
|
if (edge.top && y <= edge.top + top) {
|
|
11157
11156
|
return "top";
|
|
@@ -11188,7 +11187,6 @@ var __publicField = (obj, key, value) => {
|
|
|
11188
11187
|
}
|
|
11189
11188
|
});
|
|
11190
11189
|
this.options = options;
|
|
11191
|
-
this.scrollDomInfo = this.getScrollDomInfo();
|
|
11192
11190
|
}
|
|
11193
11191
|
getScrollDomInfo() {
|
|
11194
11192
|
const { scrollElement } = this.options;
|
|
@@ -92125,7 +92123,7 @@ ${data2.plantumlText}
|
|
|
92125
92123
|
}
|
|
92126
92124
|
}
|
|
92127
92125
|
});
|
|
92128
|
-
editor.version = "2.5.1-beta.
|
|
92126
|
+
editor.version = "2.5.1-beta.4";
|
|
92129
92127
|
return editor;
|
|
92130
92128
|
}
|
|
92131
92129
|
function isDoc(doc2) {
|
|
@@ -92238,7 +92236,7 @@ ${data2.plantumlText}
|
|
|
92238
92236
|
}
|
|
92239
92237
|
});
|
|
92240
92238
|
OnesEditorToolbar.register(editor);
|
|
92241
|
-
editor.version = "2.5.1-beta.
|
|
92239
|
+
editor.version = "2.5.1-beta.4";
|
|
92242
92240
|
return editor;
|
|
92243
92241
|
}
|
|
92244
92242
|
async function showDocVersions(editor, options, serverUrl) {
|