@harbour-enterprises/superdoc 0.10.49 → 0.10.50

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.
@@ -16547,7 +16547,7 @@ const hs = class Mv {
16547
16547
  return;
16548
16548
  }
16549
16549
  }
16550
- static updateDocumentVersion(e = this.convertedXml, n = "0.10.49") {
16550
+ static updateDocumentVersion(e = this.convertedXml, n = "0.10.50") {
16551
16551
  const r = "docProps/custom.xml";
16552
16552
  e[r] || (e[r] = Dv());
16553
16553
  const o = e["docProps/custom.xml"];
@@ -16808,7 +16808,7 @@ function BT(t) {
16808
16808
  function Dv() {
16809
16809
  return a4;
16810
16810
  }
16811
- function _v(t = 2, e = "0.10.49") {
16811
+ function _v(t = 2, e = "0.10.50") {
16812
16812
  return {
16813
16813
  type: "element",
16814
16814
  name: "property",
@@ -29280,7 +29280,7 @@ const v8 = class Ox extends bM {
29280
29280
  * @returns {Y.Doc | undefined} Updated Y.Doc if any, otherwise undefined
29281
29281
  */
29282
29282
  processCollaborationMigrations() {
29283
- if (console.debug("[checkVersionMigrations] Current editor version", "0.10.49"), !this.options.ydoc) return;
29283
+ if (console.debug("[checkVersionMigrations] Current editor version", "0.10.50"), !this.options.ydoc) return;
29284
29284
  let e = this.options.ydoc.getMap("meta").get("version");
29285
29285
  e || (e = "initial"), console.debug("[checkVersionMigrations] Document version", e);
29286
29286
  const n = sw(e) || [], r = this.state.plugins.find((i) => i.key.startsWith("y-sync"));
@@ -29392,7 +29392,7 @@ rd = function() {
29392
29392
  let t;
29393
29393
  try {
29394
29394
  const { mode: e, fragment: n, isHeadless: r, content: o, loadFromSchema: i } = this.options;
29395
- e === "docx" ? (t = cx(this.converter, this.schema, this), t = Fe(this, We, uw).call(this, t), this.options.html && (t = Fe(this, We, od).call(this, this.options.html)), n && r && (t = lM(n, this.schema))) : (e === "text" || e === "html") && (i ? t = this.schema.nodeFromJSON(o) : o ? t = Fe(this, We, od).call(this, o) : t = this.schema.topNodeType.createAndFill());
29395
+ e === "docx" ? (t = cx(this.converter, this.schema, this), t = Fe(this, We, uw).call(this, t), this.options.html && (t = Fe(this, We, od).call(this, this.options.html)), n && (t = lM(n, this.schema))) : (e === "text" || e === "html") && (i ? t = this.schema.nodeFromJSON(o) : o ? t = Fe(this, We, od).call(this, o) : t = this.schema.topNodeType.createAndFill());
29396
29396
  } catch (e) {
29397
29397
  console.error(e), this.emit("contentError", { editor: this, error: e });
29398
29398
  }