@harbour-enterprises/superdoc 0.11.20 → 0.11.21

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.
@@ -16705,7 +16705,7 @@ const gs = class qv {
16705
16705
  return;
16706
16706
  }
16707
16707
  }
16708
- static updateDocumentVersion(e = this.convertedXml, n = "0.11.20") {
16708
+ static updateDocumentVersion(e = this.convertedXml, n = "0.11.21") {
16709
16709
  const r = "docProps/custom.xml";
16710
16710
  e[r] || (e[r] = Uv());
16711
16711
  const o = e["docProps/custom.xml"];
@@ -16968,7 +16968,7 @@ function Y$(t) {
16968
16968
  function Uv() {
16969
16969
  return v4;
16970
16970
  }
16971
- function Hv(t = 2, e = "0.11.20") {
16971
+ function Hv(t = 2, e = "0.11.21") {
16972
16972
  return {
16973
16973
  type: "element",
16974
16974
  name: "property",
@@ -29436,7 +29436,7 @@ const I8 = class zx extends _M {
29436
29436
  * @returns {Y.Doc | undefined} Updated Y.Doc if any, otherwise undefined
29437
29437
  */
29438
29438
  processCollaborationMigrations() {
29439
- if (console.debug("[checkVersionMigrations] Current editor version", "0.11.20"), !this.options.ydoc) return;
29439
+ if (console.debug("[checkVersionMigrations] Current editor version", "0.11.21"), !this.options.ydoc) return;
29440
29440
  let e = this.options.ydoc.getMap("meta").get("version");
29441
29441
  e || (e = "initial"), console.debug("[checkVersionMigrations] Document version", e);
29442
29442
  const n = fw(e) || [], r = this.state.plugins.find((i) => i.key.startsWith("y-sync"));
@@ -37868,7 +37868,7 @@ const pR = !1, fR = ct.create({
37868
37868
  const s = i.even, a = i.odd, l = i.first, c = i.default;
37869
37869
  if (i?.titlePg && l && t === 1) return l;
37870
37870
  let u = i.default;
37871
- return t === 1 && (u = l || c), o && (t === 1 && (u = l), t % 2 === 0 ? u = s || c : u = a || c), u;
37871
+ return t === 1 && (u = c), o && (t === 1 && (u = l), t % 2 === 0 ? u = s || c : u = a || c), u;
37872
37872
  }, hR = (t, e, n) => {
37873
37873
  const r = t.storage.pagination.sectionData, o = mR(e, t, r);
37874
37874
  if (!n.eq(o)) {