@harbour-enterprises/superdoc 0.9.15 → 0.9.16
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/chunks/{super-editor.es-DuYBhMYe.es.js → super-editor.es-DHMvsb6g.es.js} +4 -4
- package/dist/chunks/{super-editor.es-DvZXJuGP.cjs → super-editor.es-TCX4UBkY.cjs} +2 -2
- package/dist/super-editor/chunks/{converter-Rx70Oyy_.js → converter-MQO9fSne.js} +620 -620
- package/dist/super-editor/chunks/{docx-zipper-C3CdrwGR.js → docx-zipper-BP5RW1jI.js} +1 -1
- package/dist/super-editor/chunks/{editor-BmA670kK.js → editor-7ArOKaK2.js} +3 -3
- package/dist/super-editor/chunks/{toolbar-DARtdvYp.js → toolbar-CQXO2s93.js} +2 -2
- package/dist/super-editor/converter.es.js +1 -1
- package/dist/super-editor/docx-zipper.es.js +2 -2
- package/dist/super-editor/editor.es.js +3 -3
- package/dist/super-editor/file-zipper.es.js +1 -1
- package/dist/super-editor/super-editor.es.js +6 -6
- package/dist/super-editor/toolbar.es.js +2 -2
- package/dist/super-editor.cjs +1 -1
- package/dist/super-editor.es.js +1 -1
- package/dist/superdoc.cjs +2 -2
- package/dist/superdoc.es.js +3 -3
- package/dist/superdoc.umd.js +713 -713
- package/dist/superdoc.umd.js.map +1 -1
- package/package.json +1 -1
|
@@ -16022,7 +16022,7 @@ function Wg(t, e, n, r, o) {
|
|
|
16022
16022
|
}
|
|
16023
16023
|
function RT(t) {
|
|
16024
16024
|
let e = t["word/numbering.xml"];
|
|
16025
|
-
e || (e = Pv);
|
|
16025
|
+
(!e || !e.elements?.length || !e.elements[0].elements?.length) && (e = Pv);
|
|
16026
16026
|
const n = e.elements[0].elements, r = n.filter((a) => a.name === "w:abstractNum"), o = n.filter((a) => a.name === "w:num"), i = {};
|
|
16027
16027
|
r.forEach((a) => {
|
|
16028
16028
|
const l = Number(a.attributes["w:abstractNumId"]);
|
|
@@ -16063,7 +16063,7 @@ const cs = class a1 {
|
|
|
16063
16063
|
return;
|
|
16064
16064
|
}
|
|
16065
16065
|
}
|
|
16066
|
-
static updateDocumentVersion(e = this.convertedXml, n = "0.9.
|
|
16066
|
+
static updateDocumentVersion(e = this.convertedXml, n = "0.9.16") {
|
|
16067
16067
|
const r = "docProps/custom.xml";
|
|
16068
16068
|
e[r] || (e[r] = l1());
|
|
16069
16069
|
const o = e["docProps/custom.xml"];
|
|
@@ -16288,7 +16288,7 @@ function LT(t) {
|
|
|
16288
16288
|
function l1() {
|
|
16289
16289
|
return EE;
|
|
16290
16290
|
}
|
|
16291
|
-
function c1(t = 2, e = "0.9.
|
|
16291
|
+
function c1(t = 2, e = "0.9.16") {
|
|
16292
16292
|
return {
|
|
16293
16293
|
type: "element",
|
|
16294
16294
|
name: "property",
|
|
@@ -28727,7 +28727,7 @@ const x_ = class ox extends b5 {
|
|
|
28727
28727
|
* @returns {Y.Doc | undefined} Updated Y.Doc if any, otherwise undefined
|
|
28728
28728
|
*/
|
|
28729
28729
|
processCollaborationMigrations() {
|
|
28730
|
-
if (console.debug("[checkVersionMigrations] Current editor version", "0.9.
|
|
28730
|
+
if (console.debug("[checkVersionMigrations] Current editor version", "0.9.16"), !this.options.ydoc) return;
|
|
28731
28731
|
let e = this.options.ydoc.getMap("meta").get("version");
|
|
28732
28732
|
e || (e = "initial"), console.debug("[checkVersionMigrations] Document version", e);
|
|
28733
28733
|
const n = Wy(e) || [], r = this.state.plugins.find((i) => i.key.startsWith("y-sync"));
|