@ones-editor/editor 2.1.1-beta.37 → 2.1.1-beta.39
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
|
@@ -45779,10 +45779,12 @@ ${codeText}
|
|
|
45779
45779
|
}
|
|
45780
45780
|
}
|
|
45781
45781
|
const commandsChunk = [];
|
|
45782
|
-
allCommandsMap.forEach((
|
|
45782
|
+
Object.keys(allCommandsMap).sort((a, b) => Number(a) - Number(b)).forEach((key) => {
|
|
45783
|
+
var _a2;
|
|
45784
|
+
const value = (_a2 = allCommandsMap.get(Number(key))) != null ? _a2 : [];
|
|
45783
45785
|
commandsChunk.push(value.sort((item1, item2) => {
|
|
45784
|
-
var
|
|
45785
|
-
return ((
|
|
45786
|
+
var _a3, _b2;
|
|
45787
|
+
return ((_a3 = item1.order) != null ? _a3 : 0) - ((_b2 = item2.order) != null ? _b2 : 0);
|
|
45786
45788
|
}));
|
|
45787
45789
|
});
|
|
45788
45790
|
if (commandsChunk.length === 0) {
|
|
@@ -85034,7 +85036,7 @@ ${data2.flowchartText}
|
|
|
85034
85036
|
}
|
|
85035
85037
|
}
|
|
85036
85038
|
});
|
|
85037
|
-
editor.version = "2.1.1-beta.
|
|
85039
|
+
editor.version = "2.1.1-beta.39";
|
|
85038
85040
|
if (Logger$2.level === LogLevel.DEBUG) {
|
|
85039
85041
|
window.setReauthFail = (fail) => {
|
|
85040
85042
|
window.isReauthError = fail;
|
|
@@ -85133,7 +85135,7 @@ ${data2.flowchartText}
|
|
|
85133
85135
|
});
|
|
85134
85136
|
editor.addCustom(DOC_RE_AUTH_KEYS, (editor2) => new DocReAuthCallbacks(editor2));
|
|
85135
85137
|
OnesEditorToolbar.register(editor);
|
|
85136
|
-
editor.version = "2.1.1-beta.
|
|
85138
|
+
editor.version = "2.1.1-beta.39";
|
|
85137
85139
|
return editor;
|
|
85138
85140
|
}
|
|
85139
85141
|
async function showDocVersions(editor, options, serverUrl) {
|