@harbour-enterprises/superdoc 0.10.39 → 0.10.40

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.
@@ -14799,6 +14799,8 @@ po = /* @__PURE__ */ new WeakSet(), dv = function(t, e = falase) {
14799
14799
  const s = n && (!r || !r.length);
14800
14800
  s ? i += " />" : i += ">";
14801
14801
  let a = [i];
14802
+ if (!n && t.type === "text")
14803
+ return t.text;
14802
14804
  if (n === "w:instrText")
14803
14805
  a.push(r[0].text);
14804
14806
  else if (n === "w:t" || n === "w:delText") {
@@ -16467,7 +16469,7 @@ const ps = class Ov {
16467
16469
  return;
16468
16470
  }
16469
16471
  }
16470
- static updateDocumentVersion(e = this.convertedXml, n = "0.10.39") {
16472
+ static updateDocumentVersion(e = this.convertedXml, n = "0.10.40") {
16471
16473
  const r = "docProps/custom.xml";
16472
16474
  e[r] || (e[r] = Mv());
16473
16475
  const o = e["docProps/custom.xml"];
@@ -16728,7 +16730,7 @@ function D$(t) {
16728
16730
  function Mv() {
16729
16731
  return i4;
16730
16732
  }
16731
- function Dv(t = 2, e = "0.10.39") {
16733
+ function Dv(t = 2, e = "0.10.40") {
16732
16734
  return {
16733
16735
  type: "element",
16734
16736
  name: "property",
@@ -29190,7 +29192,7 @@ const h8 = class $x extends pM {
29190
29192
  * @returns {Y.Doc | undefined} Updated Y.Doc if any, otherwise undefined
29191
29193
  */
29192
29194
  processCollaborationMigrations() {
29193
- if (console.debug("[checkVersionMigrations] Current editor version", "0.10.39"), !this.options.ydoc) return;
29195
+ if (console.debug("[checkVersionMigrations] Current editor version", "0.10.40"), !this.options.ydoc) return;
29194
29196
  let e = this.options.ydoc.getMap("meta").get("version");
29195
29197
  e || (e = "initial"), console.debug("[checkVersionMigrations] Document version", e);
29196
29198
  const n = iw(e) || [], r = this.state.plugins.find((i) => i.key.startsWith("y-sync"));