@harbour-enterprises/superdoc 0.9.37 → 0.9.38
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-V5fGSIq_.es.js → super-editor.es-D9KdyC6R.es.js} +4 -4
- package/dist/chunks/{super-editor.es-BBrgCVjX.cjs → super-editor.es-RXOxr2bj.cjs} +10 -10
- package/dist/super-editor/chunks/{converter-DfviVPtg.js → converter-D5xwMp-8.js} +3 -3
- package/dist/super-editor/chunks/{docx-zipper-BCLnHIWQ.js → docx-zipper-Ynx2OU2U.js} +1 -1
- package/dist/super-editor/chunks/{editor-CDXiQc7n.js → editor-CXjTIDHJ.js} +3 -3
- package/dist/super-editor/chunks/{toolbar-CJkPfKKg.js → toolbar-CHBiYZnV.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 +5 -5
- package/dist/superdoc.umd.js.map +1 -1
- package/package.json +1 -1
|
@@ -15417,7 +15417,7 @@ const mT = [
|
|
|
15417
15417
|
};
|
|
15418
15418
|
function wT(t, e, n) {
|
|
15419
15419
|
if (!t) return;
|
|
15420
|
-
const { attributes: r } = t, { paragraphProperties: o = {} } = r, { elements: i = [] } = o, s = t.elements.find((w) => w.name === "w:pPr")?.elements?.find((w) => w.name === "w:pStyle")?.attributes["w:val"], a = sc({ node: t, styleId: s, docx: n });
|
|
15420
|
+
const { attributes: r = {} } = t, { paragraphProperties: o = {} } = r, { elements: i = [] } = o, s = t.elements.find((w) => w.name === "w:pPr")?.elements?.find((w) => w.name === "w:pStyle")?.attributes["w:val"], a = sc({ node: t, styleId: s, docx: n });
|
|
15421
15421
|
if (!a) return {};
|
|
15422
15422
|
const l = a?.elements.find((w) => w.name === "w:numId")?.attributes["w:val"], c = a?.elements.find((w) => w.name === "w:ilvl")?.attributes["w:val"] || i1(s, n), u = i.find((w) => w.name === "w:pStyle")?.attributes["w:val"], {
|
|
15423
15423
|
start: d,
|
|
@@ -16213,7 +16213,7 @@ const ds = class m1 {
|
|
|
16213
16213
|
return;
|
|
16214
16214
|
}
|
|
16215
16215
|
}
|
|
16216
|
-
static updateDocumentVersion(e = this.convertedXml, n = "0.9.
|
|
16216
|
+
static updateDocumentVersion(e = this.convertedXml, n = "0.9.38") {
|
|
16217
16217
|
const r = "docProps/custom.xml";
|
|
16218
16218
|
e[r] || (e[r] = g1());
|
|
16219
16219
|
const o = e["docProps/custom.xml"];
|
|
@@ -16438,7 +16438,7 @@ function t6(t) {
|
|
|
16438
16438
|
function g1() {
|
|
16439
16439
|
return FE;
|
|
16440
16440
|
}
|
|
16441
|
-
function y1(t = 2, e = "0.9.
|
|
16441
|
+
function y1(t = 2, e = "0.9.38") {
|
|
16442
16442
|
return {
|
|
16443
16443
|
type: "element",
|
|
16444
16444
|
name: "property",
|
|
@@ -28908,7 +28908,7 @@ const jD = class fx extends L5 {
|
|
|
28908
28908
|
* @returns {Y.Doc | undefined} Updated Y.Doc if any, otherwise undefined
|
|
28909
28909
|
*/
|
|
28910
28910
|
processCollaborationMigrations() {
|
|
28911
|
-
if (console.debug("[checkVersionMigrations] Current editor version", "0.9.
|
|
28911
|
+
if (console.debug("[checkVersionMigrations] Current editor version", "0.9.38"), !this.options.ydoc) return;
|
|
28912
28912
|
let e = this.options.ydoc.getMap("meta").get("version");
|
|
28913
28913
|
e || (e = "initial"), console.debug("[checkVersionMigrations] Document version", e);
|
|
28914
28914
|
const n = Jy(e) || [], r = this.state.plugins.find((i) => i.key.startsWith("y-sync"));
|