@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.
- package/dist/chunks/{super-editor.es-Du1kHoDA.es.js → super-editor.es-CQRFThWH.es.js} +4 -4
- package/dist/chunks/{super-editor.es-DvREqt6O.cjs → super-editor.es-DRPNP_YX.cjs} +4 -4
- package/dist/super-editor/ai-writer.es.js +1 -1
- package/dist/super-editor/chunks/{converter-CwMvN1V7.js → converter-BeV1PiJu.js} +2 -2
- package/dist/super-editor/chunks/{docx-zipper-CW3YnwaW.js → docx-zipper-qGh2UQO8.js} +1 -1
- package/dist/super-editor/chunks/{editor-CR8riiuL.js → editor-DJF0d36B.js} +4 -4
- package/dist/super-editor/chunks/{toolbar-BZ4Xi416.js → toolbar-DPhBinni.js} +2 -2
- 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 +5 -5
- package/dist/superdoc.umd.js.map +1 -1
- package/package.json +1 -1
|
@@ -16705,7 +16705,7 @@ const gs = class qv {
|
|
|
16705
16705
|
return;
|
|
16706
16706
|
}
|
|
16707
16707
|
}
|
|
16708
|
-
static updateDocumentVersion(e = this.convertedXml, n = "0.11.
|
|
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.
|
|
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.
|
|
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 =
|
|
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)) {
|