@ones-editor/editor 2.1.0-beta.4 → 2.1.0-beta.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/@ones-editor/tsconfig.tsbuildinfo +1 -1
- package/dist/index.js +7 -11
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -56035,17 +56035,13 @@ $$${mathData.mathjaxText}$$
|
|
|
56035
56035
|
});
|
|
56036
56036
|
__publicField(this, "groupCommands", (allCommands) => {
|
|
56037
56037
|
var _a, _b;
|
|
56038
|
-
const allCommandsMap = /* @__PURE__ */ new Map(
|
|
56038
|
+
const allCommandsMap = /* @__PURE__ */ new Map();
|
|
56039
56039
|
for (let i = 0; i < allCommands.length; i++) {
|
|
56040
|
-
const
|
|
56041
|
-
if (
|
|
56042
|
-
(
|
|
56043
|
-
continue;
|
|
56044
|
-
}
|
|
56045
|
-
if (allCommandsMap.has(group)) {
|
|
56046
|
-
(_b = allCommandsMap.get(group)) == null ? void 0 : _b.push(allCommands[i]);
|
|
56040
|
+
const groupOrder = (_a = allCommands[i].groupOrder) != null ? _a : 0;
|
|
56041
|
+
if (allCommandsMap.has(groupOrder)) {
|
|
56042
|
+
(_b = allCommandsMap.get(groupOrder)) == null ? void 0 : _b.push(allCommands[i]);
|
|
56047
56043
|
} else {
|
|
56048
|
-
allCommandsMap.set(
|
|
56044
|
+
allCommandsMap.set(groupOrder, [allCommands[i]]);
|
|
56049
56045
|
}
|
|
56050
56046
|
}
|
|
56051
56047
|
const commandsChunk = [];
|
|
@@ -82900,7 +82896,7 @@ ${data2.flowchartText}
|
|
|
82900
82896
|
}
|
|
82901
82897
|
}
|
|
82902
82898
|
});
|
|
82903
|
-
editor.version = "2.1.0-beta.
|
|
82899
|
+
editor.version = "2.1.0-beta.5";
|
|
82904
82900
|
if (Logger$2.level === LogLevel.DEBUG) {
|
|
82905
82901
|
window.setReauthFail = (fail) => {
|
|
82906
82902
|
window.isReauthError = fail;
|
|
@@ -82995,7 +82991,7 @@ ${data2.flowchartText}
|
|
|
82995
82991
|
if (!clientType.isMobile) {
|
|
82996
82992
|
OnesEditorToolbar.register(editor);
|
|
82997
82993
|
}
|
|
82998
|
-
editor.version = "2.1.0-beta.
|
|
82994
|
+
editor.version = "2.1.0-beta.5";
|
|
82999
82995
|
return editor;
|
|
83000
82996
|
}
|
|
83001
82997
|
async function showDocVersions(editor, options, serverUrl) {
|