@harbour-enterprises/superdoc 0.5.20 → 0.5.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-5EQNVGTw.js → super-editor.es-Dg-Abq7Q.js} +5 -5
- package/dist/chunks/{super-editor.es-5EQNVGTw.js.map → super-editor.es-Dg-Abq7Q.js.map} +1 -1
- package/dist/super-editor/chunks/{converter-DYxnABsy.js → converter-_pm6PkIG.js} +4 -4
- package/dist/super-editor/chunks/{converter-DYxnABsy.js.map → converter-_pm6PkIG.js.map} +1 -1
- package/dist/super-editor/chunks/{docx-zipper-B_HwL9p7.js → docx-zipper-BLn6ie2I.js} +2 -2
- package/dist/super-editor/chunks/{docx-zipper-B_HwL9p7.js.map → docx-zipper-BLn6ie2I.js.map} +1 -1
- package/dist/super-editor/chunks/{editor-BMjT8hYC.js → editor-CLYmQ_oQ.js} +4 -4
- package/dist/super-editor/chunks/{editor-BMjT8hYC.js.map → editor-CLYmQ_oQ.js.map} +1 -1
- package/dist/super-editor/chunks/{toolbar-Cb_Hql6-.js → toolbar-B2MZUvi0.js} +3 -3
- package/dist/super-editor/chunks/{toolbar-Cb_Hql6-.js.map → toolbar-B2MZUvi0.js.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.es.js +1 -1
- package/dist/superdoc.es.js +3 -3
- package/package.json +1 -1
|
@@ -52398,7 +52398,7 @@ function importCommentData({ docx }) {
|
|
|
52398
52398
|
if (!comments) return;
|
|
52399
52399
|
const { elements } = comments;
|
|
52400
52400
|
if (!elements || !elements.length) return;
|
|
52401
|
-
const { elements: allComments } = elements[0];
|
|
52401
|
+
const { elements: allComments = [] } = elements[0];
|
|
52402
52402
|
const extractedComments = allComments.map((el) => {
|
|
52403
52403
|
const { attributes } = el;
|
|
52404
52404
|
const commentId = attributes["w:id"];
|
|
@@ -52803,7 +52803,7 @@ const _SuperConverter = class _SuperConverter2 {
|
|
|
52803
52803
|
return;
|
|
52804
52804
|
}
|
|
52805
52805
|
}
|
|
52806
|
-
static updateDocumentVersion(docx = this.convertedXml, version2 = "0.5.
|
|
52806
|
+
static updateDocumentVersion(docx = this.convertedXml, version2 = "0.5.21") {
|
|
52807
52807
|
const customLocation = "docProps/custom.xml";
|
|
52808
52808
|
if (!docx[customLocation]) {
|
|
52809
52809
|
docx[customLocation] = generateCustomXml();
|
|
@@ -53043,7 +53043,7 @@ function storeSuperdocVersion(docx) {
|
|
|
53043
53043
|
function generateCustomXml() {
|
|
53044
53044
|
return DEFAULT_CUSTOM_XML;
|
|
53045
53045
|
}
|
|
53046
|
-
function generateSuperdocVersion(version2 = "0.5.
|
|
53046
|
+
function generateSuperdocVersion(version2 = "0.5.21") {
|
|
53047
53047
|
return {
|
|
53048
53048
|
type: "element",
|
|
53049
53049
|
name: "property",
|
|
@@ -66865,7 +66865,7 @@ const _Editor = class _Editor2 extends EventEmitter$1 {
|
|
|
66865
66865
|
* @returns {Y.Doc | undefined} Updated Y.Doc if any, otherwise undefined
|
|
66866
66866
|
*/
|
|
66867
66867
|
processCollaborationMigrations() {
|
|
66868
|
-
console.debug("[checkVersionMigrations] Current editor version", "0.5.
|
|
66868
|
+
console.debug("[checkVersionMigrations] Current editor version", "0.5.21");
|
|
66869
66869
|
if (!this.options.ydoc) return;
|
|
66870
66870
|
const metaMap = this.options.ydoc.getMap("meta");
|
|
66871
66871
|
let docVersion = metaMap.get("version");
|
|
@@ -87126,4 +87126,4 @@ export {
|
|
|
87126
87126
|
helpers as k,
|
|
87127
87127
|
index as l
|
|
87128
87128
|
};
|
|
87129
|
-
//# sourceMappingURL=super-editor.es-
|
|
87129
|
+
//# sourceMappingURL=super-editor.es-Dg-Abq7Q.js.map
|