@harbour-enterprises/superdoc 0.10.52 → 0.10.53
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-C7TOrAd0.es.js → super-editor.es-D8i8HaSd.es.js} +5 -4
- package/dist/chunks/{super-editor.es-D2PVfIIY.cjs → super-editor.es-sAfJIZkX.cjs} +4 -4
- package/dist/super-editor/ai-writer.es.js +3 -2
- package/dist/super-editor/chunks/{converter-WM8wcLCV.js → converter-BYBZ1O4h.js} +2 -2
- package/dist/super-editor/chunks/{docx-zipper-CrGV_M63.js → docx-zipper-CM4pITBO.js} +1 -1
- package/dist/super-editor/chunks/{editor-B3Ut75Qp.js → editor-BOY7rOTL.js} +3 -3
- package/dist/super-editor/chunks/{toolbar-CQqIamY5.js → toolbar-BpDnHGzG.js} +2 -2
- package/dist/super-editor/components/toolbar/ai-helpers.d.ts.map +1 -1
- package/dist/super-editor/converter.es.js +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 -5
- package/dist/superdoc.umd.js.map +1 -1
- package/package.json +1 -1
|
@@ -16530,7 +16530,7 @@ const hs = class Ov {
|
|
|
16530
16530
|
return;
|
|
16531
16531
|
}
|
|
16532
16532
|
}
|
|
16533
|
-
static updateDocumentVersion(e = this.convertedXml, n = "0.10.
|
|
16533
|
+
static updateDocumentVersion(e = this.convertedXml, n = "0.10.53") {
|
|
16534
16534
|
const r = "docProps/custom.xml";
|
|
16535
16535
|
e[r] || (e[r] = Mv());
|
|
16536
16536
|
const o = e["docProps/custom.xml"];
|
|
@@ -16791,7 +16791,7 @@ function L$(t) {
|
|
|
16791
16791
|
function Mv() {
|
|
16792
16792
|
return s4;
|
|
16793
16793
|
}
|
|
16794
|
-
function Dv(t = 2, e = "0.10.
|
|
16794
|
+
function Dv(t = 2, e = "0.10.53") {
|
|
16795
16795
|
return {
|
|
16796
16796
|
type: "element",
|
|
16797
16797
|
name: "property",
|
|
@@ -29263,7 +29263,7 @@ const b8 = class Tx extends wM {
|
|
|
29263
29263
|
* @returns {Y.Doc | undefined} Updated Y.Doc if any, otherwise undefined
|
|
29264
29264
|
*/
|
|
29265
29265
|
processCollaborationMigrations() {
|
|
29266
|
-
if (console.debug("[checkVersionMigrations] Current editor version", "0.10.
|
|
29266
|
+
if (console.debug("[checkVersionMigrations] Current editor version", "0.10.53"), !this.options.ydoc) return;
|
|
29267
29267
|
let e = this.options.ydoc.getMap("meta").get("version");
|
|
29268
29268
|
e || (e = "initial"), console.debug("[checkVersionMigrations] Document version", e);
|
|
29269
29269
|
const n = sw(e) || [], r = this.state.plugins.find((i) => i.key.startsWith("y-sync"));
|
|
@@ -45102,7 +45102,8 @@ async function dS(t, e = {}) {
|
|
|
45102
45102
|
const i = await fetch(r, {
|
|
45103
45103
|
method: "POST",
|
|
45104
45104
|
headers: o,
|
|
45105
|
-
body: JSON.stringify(t)
|
|
45105
|
+
body: JSON.stringify(t),
|
|
45106
|
+
credentials: "include"
|
|
45106
45107
|
});
|
|
45107
45108
|
if (!i.ok) {
|
|
45108
45109
|
const s = await i.text();
|