@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.
@@ -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.37") {
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.37") {
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.37"), !this.options.ydoc) return;
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"));