@harbour-enterprises/superdoc 0.10.38 → 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.
- package/dist/chunks/{super-editor.es-C5F4y-e_.es.js → super-editor.es-D9-v79HC.es.js} +9 -3
- package/dist/chunks/{super-editor.es-DcELIKH5.cjs → super-editor.es-DGK_dSQb.cjs} +3 -3
- package/dist/super-editor/ai-writer.es.js +1 -1
- package/dist/super-editor/chunks/{converter-Bu6ehY4d.js → converter-B9Lnmft1.js} +8 -2
- package/dist/super-editor/chunks/{docx-zipper-CkpZ33hu.js → docx-zipper-CQXtQpOr.js} +1 -1
- package/dist/super-editor/chunks/{editor-Dt1OvJGY.js → editor-uNg5dIX5.js} +3 -3
- package/dist/super-editor/chunks/{toolbar-D5OR8Ne_.js → toolbar-BJxvch0e.js} +2 -2
- package/dist/super-editor/converter.es.js +1 -1
- package/dist/super-editor/core/super-converter/exporter.d.ts.map +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 +10 -4
- package/dist/superdoc.umd.js.map +1 -1
- package/package.json +1 -1
|
@@ -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") {
|
|
@@ -14808,6 +14810,10 @@ po = /* @__PURE__ */ new WeakSet(), dv = function(t, e = falase) {
|
|
|
14808
14810
|
for (let l of r) {
|
|
14809
14811
|
const c = wr(this, po, Bu).call(this, l);
|
|
14810
14812
|
if (!c) continue;
|
|
14813
|
+
if (typeof c == "string") {
|
|
14814
|
+
a.push(c);
|
|
14815
|
+
continue;
|
|
14816
|
+
}
|
|
14811
14817
|
const u = c.filter((d) => d !== "<undefined>" && d !== "</undefined>");
|
|
14812
14818
|
a.push(...u);
|
|
14813
14819
|
}
|
|
@@ -16463,7 +16469,7 @@ const ps = class Ov {
|
|
|
16463
16469
|
return;
|
|
16464
16470
|
}
|
|
16465
16471
|
}
|
|
16466
|
-
static updateDocumentVersion(e = this.convertedXml, n = "0.10.
|
|
16472
|
+
static updateDocumentVersion(e = this.convertedXml, n = "0.10.40") {
|
|
16467
16473
|
const r = "docProps/custom.xml";
|
|
16468
16474
|
e[r] || (e[r] = Mv());
|
|
16469
16475
|
const o = e["docProps/custom.xml"];
|
|
@@ -16724,7 +16730,7 @@ function D$(t) {
|
|
|
16724
16730
|
function Mv() {
|
|
16725
16731
|
return i4;
|
|
16726
16732
|
}
|
|
16727
|
-
function Dv(t = 2, e = "0.10.
|
|
16733
|
+
function Dv(t = 2, e = "0.10.40") {
|
|
16728
16734
|
return {
|
|
16729
16735
|
type: "element",
|
|
16730
16736
|
name: "property",
|
|
@@ -29186,7 +29192,7 @@ const h8 = class $x extends pM {
|
|
|
29186
29192
|
* @returns {Y.Doc | undefined} Updated Y.Doc if any, otherwise undefined
|
|
29187
29193
|
*/
|
|
29188
29194
|
processCollaborationMigrations() {
|
|
29189
|
-
if (console.debug("[checkVersionMigrations] Current editor version", "0.10.
|
|
29195
|
+
if (console.debug("[checkVersionMigrations] Current editor version", "0.10.40"), !this.options.ydoc) return;
|
|
29190
29196
|
let e = this.options.ydoc.getMap("meta").get("version");
|
|
29191
29197
|
e || (e = "initial"), console.debug("[checkVersionMigrations] Document version", e);
|
|
29192
29198
|
const n = iw(e) || [], r = this.state.plugins.find((i) => i.key.startsWith("y-sync"));
|