@harbour-enterprises/superdoc 0.6.63 → 0.6.65
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/{index-CYNgdiE-.js → index-CcNvnGm3.js} +3 -3
- package/dist/chunks/{index-CYNgdiE-.js.map → index-CcNvnGm3.js.map} +1 -1
- package/dist/chunks/{index-C9_loHlV.js → index-DBjNbkhD.js} +2 -2
- package/dist/chunks/{index-C9_loHlV.js.map → index-DBjNbkhD.js.map} +1 -1
- package/dist/chunks/{super-editor.es-ChbpDgxj.js → super-editor.es-DNiT_SsU.js} +19 -23
- package/dist/chunks/super-editor.es-DNiT_SsU.js.map +1 -0
- package/dist/chunks/{url-BEZ_vydO.js → url-BHuhE1Tt.js} +2 -2
- package/dist/chunks/{url-BEZ_vydO.js.map → url-BHuhE1Tt.js.map} +1 -1
- package/dist/chunks/{xml-js-thotvZIi.js → xml-js-ib3MF-Jw.js} +76 -90
- package/dist/chunks/{xml-js-thotvZIi.js.map → xml-js-ib3MF-Jw.js.map} +1 -1
- package/dist/super-editor/chunks/{converter-DvoY_Ajb.js → converter-BvHlOZbx.js} +18 -22
- package/dist/super-editor/chunks/{converter-DvoY_Ajb.js.map → converter-BvHlOZbx.js.map} +1 -1
- package/dist/super-editor/chunks/{docx-zipper-BwzO_Kan.js → docx-zipper-CPq_chZJ.js} +2 -2
- package/dist/super-editor/chunks/{docx-zipper-BwzO_Kan.js.map → docx-zipper-CPq_chZJ.js.map} +1 -1
- package/dist/super-editor/chunks/{editor-Dlpffdvx.js → editor-CY48l30A.js} +4 -4
- package/dist/super-editor/chunks/{editor-Dlpffdvx.js.map → editor-CY48l30A.js.map} +1 -1
- package/dist/super-editor/chunks/{toolbar-DJKYESky.js → toolbar-DPRHDD5b.js} +3 -3
- package/dist/super-editor/chunks/{toolbar-DJKYESky.js.map → toolbar-DPRHDD5b.js.map} +1 -1
- package/dist/super-editor/converter.es.js +1 -1
- package/dist/super-editor/core/super-converter/SuperConverter.d.ts.map +1 -1
- package/dist/super-editor/core/super-converter/exporter.d.ts.map +1 -1
- package/dist/super-editor/core/super-converter/v2/exporter/commentsExporter.d.ts +2 -2
- package/dist/super-editor/core/super-converter/v2/exporter/commentsExporter.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.es.js +1 -1
- package/dist/superdoc.es.js +6 -6
- package/dist/superdoc.umd.js +19 -23
- package/dist/superdoc.umd.js.map +1 -1
- package/package.json +3 -1
- package/dist/chunks/super-editor.es-ChbpDgxj.js.map +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SuperConverter.d.ts","sourceRoot":"","sources":["../../../src/core/super-converter/SuperConverter.js"],"names":[],"mappings":"AAaA;IACE;;;;;;;;;;;;;;;;;;OAuBG;IAEH;;;;;;;;;;SAiBE;IAEF;;;;;;OAMG;IAEH,6BAAsF;IAiFtF,gDAoBC;IAED,6DAqBC;IA1HD,0BAuDC;IArDC,WAAmC;IAGnC,iBAAuB;IACvB,wBAA8B;IAG9B,iBAAsB;IACtB,UAA8B;IAC9B,WAAgC;IAEhC,eAAoB;IACpB,gBAAkB;IAGlB,4BAAoC;IAGpC,SAAsB;IAItB,eAAqB;IACrB,gBAAsB;IAGtB,iBAAuB;IAGvB,YAAiB;IACjB;;;;;MAAsE;IACtE,YAAiB;IACjB;;;;;MAAsE;IAGtE,oBAAsB;IAGtB,UAAwB;IAExB,0BAAiC;IACjC,0BAA4B;IAG5B,eAA0C;IAC1C,wBAA8B;IAG9B,gBAA4C;IAC5C,gBAA4C;IAM9C,qBAgBC;IAED,8BAEC;IA+CD;;;;;;;;;;MAqCC;IAED,8BAwBC;IAED;;;;;;MAWC;IAED;;;MAgBC;IAED,2EAcC;IAED,gDAGC;IAED,
|
|
1
|
+
{"version":3,"file":"SuperConverter.d.ts","sourceRoot":"","sources":["../../../src/core/super-converter/SuperConverter.js"],"names":[],"mappings":"AAaA;IACE;;;;;;;;;;;;;;;;;;OAuBG;IAEH;;;;;;;;;;SAiBE;IAEF;;;;;;OAMG;IAEH,6BAAsF;IAiFtF,gDAoBC;IAED,6DAqBC;IA1HD,0BAuDC;IArDC,WAAmC;IAGnC,iBAAuB;IACvB,wBAA8B;IAG9B,iBAAsB;IACtB,UAA8B;IAC9B,WAAgC;IAEhC,eAAoB;IACpB,gBAAkB;IAGlB,4BAAoC;IAGpC,SAAsB;IAItB,eAAqB;IACrB,gBAAsB;IAGtB,iBAAuB;IAGvB,YAAiB;IACjB;;;;;MAAsE;IACtE,YAAiB;IACjB;;;;;MAAsE;IAGtE,oBAAsB;IAGtB,UAAwB;IAExB,0BAAiC;IACjC,0BAA4B;IAG5B,eAA0C;IAC1C,wBAA8B;IAG9B,gBAA4C;IAC5C,gBAA4C;IAM9C,qBAgBC;IAED,8BAEC;IA+CD;;;;;;;;;;MAqCC;IAED,8BAwBC;IAED;;;;;;MAWC;IAED;;;MAgBC;IAED,2EAcC;IAED,gDAGC;IAED,oJAwDC;;CAwDF"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"exporter.d.ts","sourceRoot":"","sources":["../../../src/core/super-converter/exporter.js"],"names":[],"mappings":"AAkBA;;;;;GAKG;AAEH;;;;;;;;;;;;GAYG;AAEH;;;GAGG;AAEH;;;GAGG;AAEH;;;;GAIG;AAEH;;;;;GAKG;AACH,2CAHW,YAAY,GACV,YAAY,CAkCxB;AA8BD;;;;;GAKG;AACH,qDAFa,YAAY,CAyBxB;
|
|
1
|
+
{"version":3,"file":"exporter.d.ts","sourceRoot":"","sources":["../../../src/core/super-converter/exporter.js"],"names":[],"mappings":"AAkBA;;;;;GAKG;AAEH;;;;;;;;;;;;GAYG;AAEH;;;GAGG;AAEH;;;GAGG;AAEH;;;;GAIG;AAEH;;;;;GAKG;AACH,2CAHW,YAAY,GACV,YAAY,CAkCxB;AA8BD;;;;;GAKG;AACH,qDAFa,YAAY,CAyBxB;AA46CD;;;;;;EAMC;AAED;IACE,4BAEC;IADC,eAA0B;IAG5B,gDAIC;;CA4DF;;;;;;;;;;;;;mBA3nDa,KAAQ;;;;;;UAKR,MAAM;;;;aACN,KAAK,CAAC,UAAU,CAAC;;;;;;;;;;;;;UAMjB,MAAM;;;;cACN,KAAK,CAAC,YAAY,CAAC;;;;;;;;;;;;;;;;;;;;;;UAgBnB,MAAM"}
|
|
@@ -18,8 +18,8 @@ export function generateConvertedXmlWithCommentFiles(convertedXml: any): any;
|
|
|
18
18
|
export function getCommentsFilesConverted(converter: any, convertedXml: any): any;
|
|
19
19
|
export function removeCommentsFilesFromConvertedXml(convertedXml: any): any;
|
|
20
20
|
export function generateRelationship(target: string): any;
|
|
21
|
-
export function prepareCommentsXmlFilesForExport({ convertedXml, defs, commentsWithParaIds, exportType, converter,
|
|
21
|
+
export function prepareCommentsXmlFilesForExport({ convertedXml, defs, commentsWithParaIds, exportType, converter, }: any): {
|
|
22
22
|
documentXml: any;
|
|
23
|
-
relationships: any;
|
|
23
|
+
relationships: any[];
|
|
24
24
|
};
|
|
25
25
|
//# sourceMappingURL=commentsExporter.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"commentsExporter.d.ts","sourceRoot":"","sources":["../../../../../src/core/super-converter/v2/exporter/commentsExporter.js"],"names":[],"mappings":"AAKA;;;;;GAKG;AACH,kEA+BC;AA0BM,yDAMN;AAWM,8DAHI,MAAM,yBA4BhB;AASM,kCAHI,MAAM,GACJ,MAAM,GAAG,IAAI,CAQzB;AAQM,8CAHI,MAAM,GACJ,MAAM,CAKlB;AAUM,+CAJI,KAAQ,yBAyBlB;AAUM,wFA0BN;AAYM,sGAkCN;AAQM,0CAEN;AAQM,qCAFM,MAAM,CAYlB;AASM,6EAQN;AASM,kFAeN;AAQM,4EASN;AASM,0DAIN;AASM;;;
|
|
1
|
+
{"version":3,"file":"commentsExporter.d.ts","sourceRoot":"","sources":["../../../../../src/core/super-converter/v2/exporter/commentsExporter.js"],"names":[],"mappings":"AAKA;;;;;GAKG;AACH,kEA+BC;AA0BM,yDAMN;AAWM,8DAHI,MAAM,yBA4BhB;AASM,kCAHI,MAAM,GACJ,MAAM,GAAG,IAAI,CAQzB;AAQM,8CAHI,MAAM,GACJ,MAAM,CAKlB;AAUM,+CAJI,KAAQ,yBAyBlB;AAUM,wFA0BN;AAYM,sGAkCN;AAQM,0CAEN;AAQM,qCAFM,MAAM,CAYlB;AASM,6EAQN;AASM,kFAeN;AAQM,4EASN;AASM,0DAIN;AASM;;;EAiDN"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { E } from "./chunks/editor-
|
|
2
|
-
import "./chunks/converter-
|
|
3
|
-
import "./chunks/docx-zipper-
|
|
1
|
+
import { E } from "./chunks/editor-CY48l30A.js";
|
|
2
|
+
import "./chunks/converter-BvHlOZbx.js";
|
|
3
|
+
import "./chunks/docx-zipper-CPq_chZJ.js";
|
|
4
4
|
export {
|
|
5
5
|
E as Editor
|
|
6
6
|
};
|
|
@@ -9,13 +9,13 @@ var __privateGet = (obj, member, getter) => (__accessCheck(obj, member, "read fr
|
|
|
9
9
|
var __privateAdd = (obj, member, value) => member.has(obj) ? __typeError("Cannot add the same private member more than once") : member instanceof WeakSet ? member.add(obj) : member.set(obj, value);
|
|
10
10
|
var __privateMethod = (obj, member, method) => (__accessCheck(obj, member, "access private method"), method);
|
|
11
11
|
var _interceptedCommands, _SuperToolbar_instances, makeToolbarItems_fn, initDefaultFonts_fn, updateHighlightColors_fn, deactivateAll_fn, updateToolbarHistory_fn, runCommandWithArgumentOnly_fn;
|
|
12
|
-
import { _ as _export_sfc, a as getQuickFormatList, b as generateLinkedStyleString, I as ImagePlaceholderPluginKey, f as findPlaceholder, c as findParentNode, d as getActiveFormatting, i as isInTable, u as undoDepth, r as redoDepth, E as Editor, e as getStarterExtensions, P as Placeholder, h as getRichTextExtensions } from "./chunks/editor-
|
|
13
|
-
import { k, m, j, l } from "./chunks/editor-
|
|
14
|
-
import { L as getDefaultExportFromCjs, v as v4, T as TextSelection, Q as vClickOutside } from "./chunks/converter-
|
|
15
|
-
import { B } from "./chunks/converter-
|
|
12
|
+
import { _ as _export_sfc, a as getQuickFormatList, b as generateLinkedStyleString, I as ImagePlaceholderPluginKey, f as findPlaceholder, c as findParentNode, d as getActiveFormatting, i as isInTable, u as undoDepth, r as redoDepth, E as Editor, e as getStarterExtensions, P as Placeholder, h as getRichTextExtensions } from "./chunks/editor-CY48l30A.js";
|
|
13
|
+
import { k, m, j, l } from "./chunks/editor-CY48l30A.js";
|
|
14
|
+
import { L as getDefaultExportFromCjs, v as v4, T as TextSelection, Q as vClickOutside } from "./chunks/converter-BvHlOZbx.js";
|
|
15
|
+
import { B } from "./chunks/converter-BvHlOZbx.js";
|
|
16
16
|
import { ref, createElementBlock, openBlock, createElementVNode, unref, getCurrentInstance, computed, watch, onMounted, createCommentVNode, withDirectives, withKeys, normalizeClass, withModifiers, vModelText, createTextVNode, toDisplayString, Fragment, renderList, normalizeStyle, createVNode, h, createApp, reactive, onUnmounted, shallowRef, onBeforeUnmount, createBlock } from "vue";
|
|
17
|
-
import { t as toolbarIcons, s as sanitizeNumber, T as Toolbar, N as NSkeleton } from "./chunks/toolbar-
|
|
18
|
-
import { D } from "./chunks/docx-zipper-
|
|
17
|
+
import { t as toolbarIcons, s as sanitizeNumber, T as Toolbar, N as NSkeleton } from "./chunks/toolbar-DPRHDD5b.js";
|
|
18
|
+
import { D } from "./chunks/docx-zipper-CPq_chZJ.js";
|
|
19
19
|
import { createZip } from "./file-zipper.es.js";
|
|
20
20
|
var eventemitter3 = { exports: {} };
|
|
21
21
|
(function(module) {
|
package/dist/super-editor.es.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _, D, E, S, a, b, c, T, d, i, g, e, f, h, j, k, l } from "./chunks/super-editor.es-
|
|
1
|
+
import { _, D, E, S, a, b, c, T, d, i, g, e, f, h, j, k, l } from "./chunks/super-editor.es-DNiT_SsU.js";
|
|
2
2
|
import "./chunks/vue-CUQGd1xF.js";
|
|
3
3
|
export {
|
|
4
4
|
_ as BasicUpload,
|
package/dist/superdoc.es.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { E as Editor, h as getRichTextExtensions, b as SuperInput, a as SuperEditor, c as SuperToolbar, d as createZip } from "./chunks/super-editor.es-
|
|
2
|
-
import { S, i, k, l } from "./chunks/super-editor.es-
|
|
1
|
+
import { E as Editor, h as getRichTextExtensions, b as SuperInput, a as SuperEditor, c as SuperToolbar, d as createZip } from "./chunks/super-editor.es-DNiT_SsU.js";
|
|
2
|
+
import { S, i, k, l } from "./chunks/super-editor.es-DNiT_SsU.js";
|
|
3
3
|
import { Y as effectScope, r as ref, Z as markRaw, p as process$1, _ as toRaw, a as computed, $ as isRef, a0 as isReactive, B as toRef, i as inject, l as getCurrentInstance, j as watch, v as unref, a1 as hasInjectionContext, L as reactive, R as nextTick, a2 as getCurrentScope, a3 as onScopeDispose, a4 as toRefs, g as global$1, N as shallowRef, M as readonly, f as onMounted, h as onBeforeUnmount, e as onBeforeMount, U as onActivated, m as onDeactivated, y as createTextVNode, F as Fragment, Q as Comment, k as defineComponent, C as provide, G as withDirectives, A as h, V as Teleport, S as renderSlot, W as isVNode, K as watchEffect, O as Transition, D as mergeProps, P as vShow, J as cloneVNode, T as Text, b as createElementBlock, o as openBlock, t as toDisplayString, u as createVNode, x as withCtx, E as createBaseVNode, z as normalizeStyle, s as createCommentVNode, q as createBlock, w as withModifiers, n as normalizeClass, a5 as resolveDirective, d as renderList, c as createApp, a6 as resolveDynamicComponent } from "./chunks/vue-CUQGd1xF.js";
|
|
4
4
|
import { B as Buffer$2 } from "./chunks/jszip-DlHbx6j5.js";
|
|
5
5
|
import { b } from "./chunks/blank-docx-BagxM198.js";
|
|
@@ -22655,13 +22655,13 @@ var __webpack_exports__$1 = globalThis.pdfjsLib = {};
|
|
|
22655
22655
|
"./chunks/empty-smM22Y5N.js"
|
|
22656
22656
|
), http = await import(
|
|
22657
22657
|
/*webpackIgnore: true*/
|
|
22658
|
-
"./chunks/index-
|
|
22658
|
+
"./chunks/index-CcNvnGm3.js"
|
|
22659
22659
|
).then((n) => n.i), https = await import(
|
|
22660
22660
|
/*webpackIgnore: true*/
|
|
22661
|
-
"./chunks/index-
|
|
22661
|
+
"./chunks/index-DBjNbkhD.js"
|
|
22662
22662
|
).then((n) => n.i), url = await import(
|
|
22663
22663
|
/*webpackIgnore: true*/
|
|
22664
|
-
"./chunks/url-
|
|
22664
|
+
"./chunks/url-BHuhE1Tt.js"
|
|
22665
22665
|
).then((n) => n.u);
|
|
22666
22666
|
let canvas, path2d;
|
|
22667
22667
|
try {
|
|
@@ -45708,7 +45708,7 @@ class SuperDoc extends EventEmitter {
|
|
|
45708
45708
|
this.config.colors = shuffleArray(this.config.colors);
|
|
45709
45709
|
this.userColorMap = /* @__PURE__ */ new Map();
|
|
45710
45710
|
this.colorIndex = 0;
|
|
45711
|
-
this.version = "0.6.
|
|
45711
|
+
this.version = "0.6.65";
|
|
45712
45712
|
console.debug("🦋 [superdoc] Using SuperDoc version:", this.version);
|
|
45713
45713
|
this.superdocId = config.superdocId || v4();
|
|
45714
45714
|
this.colors = this.config.colors;
|
package/dist/superdoc.umd.js
CHANGED
|
@@ -24709,9 +24709,9 @@
|
|
|
24709
24709
|
defs,
|
|
24710
24710
|
commentsWithParaIds,
|
|
24711
24711
|
exportType,
|
|
24712
|
-
converter
|
|
24713
|
-
relationships = []
|
|
24712
|
+
converter
|
|
24714
24713
|
}) => {
|
|
24714
|
+
const relationships = [];
|
|
24715
24715
|
if (exportType === "clean") {
|
|
24716
24716
|
const documentXml = removeCommentsFilesFromConvertedXml(convertedXml);
|
|
24717
24717
|
return { documentXml, relationships };
|
|
@@ -25005,7 +25005,7 @@
|
|
|
25005
25005
|
}
|
|
25006
25006
|
function addNewImageRelationship(params2, imagePath) {
|
|
25007
25007
|
const newId = "rId" + generateDocxRandomId();
|
|
25008
|
-
|
|
25008
|
+
const newRel = {
|
|
25009
25009
|
type: "element",
|
|
25010
25010
|
name: "Relationship",
|
|
25011
25011
|
attributes: {
|
|
@@ -25013,7 +25013,8 @@
|
|
|
25013
25013
|
Type: "http://schemas.openxmlformats.org/officeDocument/2006/relationships/image",
|
|
25014
25014
|
Target: imagePath
|
|
25015
25015
|
}
|
|
25016
|
-
}
|
|
25016
|
+
};
|
|
25017
|
+
params2.relationships.push(newRel);
|
|
25017
25018
|
return newId;
|
|
25018
25019
|
}
|
|
25019
25020
|
function translateList(params2) {
|
|
@@ -27936,7 +27937,7 @@
|
|
|
27936
27937
|
return;
|
|
27937
27938
|
}
|
|
27938
27939
|
}
|
|
27939
|
-
static updateDocumentVersion(docx = this.convertedXml, version2 = "0.6.
|
|
27940
|
+
static updateDocumentVersion(docx = this.convertedXml, version2 = "0.6.65") {
|
|
27940
27941
|
const customLocation = "docProps/custom.xml";
|
|
27941
27942
|
if (!docx[customLocation]) {
|
|
27942
27943
|
docx[customLocation] = generateCustomXml();
|
|
@@ -28073,15 +28074,13 @@
|
|
|
28073
28074
|
...params2.media,
|
|
28074
28075
|
...this.media
|
|
28075
28076
|
});
|
|
28076
|
-
const { documentXml, relationships } = __privateMethod$2(this, _SuperConverter_instances, prepareCommentsXmlFilesForExport_fn).call(this, {
|
|
28077
|
+
const { documentXml: updatedXml, relationships } = __privateMethod$2(this, _SuperConverter_instances, prepareCommentsXmlFilesForExport_fn).call(this, {
|
|
28077
28078
|
defs: params2.exportedCommentDefs,
|
|
28078
28079
|
exportType: commentsExportType,
|
|
28079
|
-
commentsWithParaIds
|
|
28080
|
-
relationships: params2.relationships
|
|
28080
|
+
commentsWithParaIds
|
|
28081
28081
|
});
|
|
28082
|
-
this.convertedXml =
|
|
28083
|
-
|
|
28084
|
-
__privateMethod$2(this, _SuperConverter_instances, exportProcessNewRelationships_fn).call(this, updatedRelationships);
|
|
28082
|
+
this.convertedXml = { ...this.convertedXml, ...updatedXml };
|
|
28083
|
+
__privateMethod$2(this, _SuperConverter_instances, exportProcessNewRelationships_fn).call(this, [...params2.relationships, ...relationships]);
|
|
28085
28084
|
storeSuperdocVersion(this.convertedXml);
|
|
28086
28085
|
return xml;
|
|
28087
28086
|
}
|
|
@@ -28100,20 +28099,17 @@
|
|
|
28100
28099
|
exportProcessNewRelationships_fn = function(rels = []) {
|
|
28101
28100
|
const relsData = this.convertedXml["word/_rels/document.xml.rels"];
|
|
28102
28101
|
const relationships = relsData.elements.find((x) => x.name === "Relationships");
|
|
28103
|
-
const newRels = [
|
|
28102
|
+
const newRels = [];
|
|
28104
28103
|
let largestId = Math.max(...relationships.elements.map((el) => Number(el.attributes.Id.replace("rId", ""))));
|
|
28105
28104
|
rels.forEach((rel) => {
|
|
28106
28105
|
const existingTarget = relationships.elements.find((el) => el.attributes.Target === rel.attributes.Target);
|
|
28107
|
-
if (existingTarget)
|
|
28108
|
-
|
|
28109
|
-
|
|
28110
|
-
}
|
|
28111
|
-
rel.attributes.Target = rel.attributes?.Target?.replace(/&/g, "&").replace(/-/g, "-");
|
|
28112
|
-
rel.attributes.Id = `rId${++largestId}`;
|
|
28106
|
+
if (existingTarget) return;
|
|
28107
|
+
rel.attributes.Target = rel.attributes?.Target?.replace(/&/g, "&");
|
|
28108
|
+
const existingId = rel.attributes.Id;
|
|
28109
|
+
rel.attributes.Id = existingId.length > 6 ? existingId : `rId${++largestId}`;
|
|
28113
28110
|
newRels.push(rel);
|
|
28114
28111
|
});
|
|
28115
|
-
relationships.elements = newRels;
|
|
28116
|
-
console.debug("New relationships added", newRels, relsData);
|
|
28112
|
+
relationships.elements = [...relationships.elements, ...newRels];
|
|
28117
28113
|
this.convertedXml["word/_rels/document.xml.rels"] = relsData;
|
|
28118
28114
|
};
|
|
28119
28115
|
exportProcessMediaFiles_fn = async function(media) {
|
|
@@ -28199,7 +28195,7 @@
|
|
|
28199
28195
|
function generateCustomXml() {
|
|
28200
28196
|
return DEFAULT_CUSTOM_XML;
|
|
28201
28197
|
}
|
|
28202
|
-
function generateSuperdocVersion(pid = 2, version2 = "0.6.
|
|
28198
|
+
function generateSuperdocVersion(pid = 2, version2 = "0.6.65") {
|
|
28203
28199
|
return {
|
|
28204
28200
|
type: "element",
|
|
28205
28201
|
name: "property",
|
|
@@ -42222,7 +42218,7 @@
|
|
|
42222
42218
|
* @returns {Y.Doc | undefined} Updated Y.Doc if any, otherwise undefined
|
|
42223
42219
|
*/
|
|
42224
42220
|
processCollaborationMigrations() {
|
|
42225
|
-
console.debug("[checkVersionMigrations] Current editor version", "0.6.
|
|
42221
|
+
console.debug("[checkVersionMigrations] Current editor version", "0.6.65");
|
|
42226
42222
|
if (!this.options.ydoc) return;
|
|
42227
42223
|
const metaMap = this.options.ydoc.getMap("meta");
|
|
42228
42224
|
let docVersion = metaMap.get("version");
|
|
@@ -110368,7 +110364,7 @@ ${style2}
|
|
|
110368
110364
|
this.config.colors = shuffleArray(this.config.colors);
|
|
110369
110365
|
this.userColorMap = /* @__PURE__ */ new Map();
|
|
110370
110366
|
this.colorIndex = 0;
|
|
110371
|
-
this.version = "0.6.
|
|
110367
|
+
this.version = "0.6.65";
|
|
110372
110368
|
console.debug("🦋 [superdoc] Using SuperDoc version:", this.version);
|
|
110373
110369
|
this.superdocId = config.superdocId || v4();
|
|
110374
110370
|
this.colors = this.config.colors;
|