@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
|
@@ -52440,7 +52440,7 @@ function importCommentData({ docx }) {
|
|
|
52440
52440
|
if (!comments) return;
|
|
52441
52441
|
const { elements } = comments;
|
|
52442
52442
|
if (!elements || !elements.length) return;
|
|
52443
|
-
const { elements: allComments } = elements[0];
|
|
52443
|
+
const { elements: allComments = [] } = elements[0];
|
|
52444
52444
|
const extractedComments = allComments.map((el) => {
|
|
52445
52445
|
const { attributes } = el;
|
|
52446
52446
|
const commentId = attributes["w:id"];
|
|
@@ -52845,7 +52845,7 @@ const _SuperConverter = class _SuperConverter {
|
|
|
52845
52845
|
return;
|
|
52846
52846
|
}
|
|
52847
52847
|
}
|
|
52848
|
-
static updateDocumentVersion(docx = this.convertedXml, version2 = "0.5.
|
|
52848
|
+
static updateDocumentVersion(docx = this.convertedXml, version2 = "0.5.21") {
|
|
52849
52849
|
const customLocation = "docProps/custom.xml";
|
|
52850
52850
|
if (!docx[customLocation]) {
|
|
52851
52851
|
docx[customLocation] = generateCustomXml();
|
|
@@ -53092,7 +53092,7 @@ function storeSuperdocVersion(docx) {
|
|
|
53092
53092
|
function generateCustomXml() {
|
|
53093
53093
|
return DEFAULT_CUSTOM_XML;
|
|
53094
53094
|
}
|
|
53095
|
-
function generateSuperdocVersion(version2 = "0.5.
|
|
53095
|
+
function generateSuperdocVersion(version2 = "0.5.21") {
|
|
53096
53096
|
return {
|
|
53097
53097
|
type: "element",
|
|
53098
53098
|
name: "property",
|
|
@@ -53164,4 +53164,4 @@ export {
|
|
|
53164
53164
|
twipsToLines as y,
|
|
53165
53165
|
pixelsToTwips as z
|
|
53166
53166
|
};
|
|
53167
|
-
//# sourceMappingURL=converter-
|
|
53167
|
+
//# sourceMappingURL=converter-_pm6PkIG.js.map
|