@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.
- package/dist/chunks/{super-editor.es-DUWXIgsn.es.js → super-editor.es-D9-v79HC.es.js} +5 -3
- package/dist/chunks/{super-editor.es-D2YgUudO.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-CEPBSnq_.js → converter-B9Lnmft1.js} +4 -2
- package/dist/super-editor/chunks/{docx-zipper-CuqGO0e3.js → docx-zipper-CQXtQpOr.js} +1 -1
- package/dist/super-editor/chunks/{editor-Bo7MIFVg.js → editor-uNg5dIX5.js} +3 -3
- package/dist/super-editor/chunks/{toolbar-BSB7RK_I.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 +6 -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") {
|
|
@@ -16467,7 +16469,7 @@ const ps = class Ov {
|
|
|
16467
16469
|
return;
|
|
16468
16470
|
}
|
|
16469
16471
|
}
|
|
16470
|
-
static updateDocumentVersion(e = this.convertedXml, n = "0.10.
|
|
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.
|
|
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.
|
|
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"));
|