@harbour-enterprises/superdoc 0.5.7 → 0.5.8
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-Ch98_TZo.js → super-editor.es-CzD_CS_R.js} +6 -5
- package/dist/chunks/{super-editor.es-Ch98_TZo.js.map → super-editor.es-CzD_CS_R.js.map} +1 -1
- package/dist/super-editor/chunks/{converter-IzBqfaH2.js → converter-CSAdyWKD.js} +5 -4
- package/dist/super-editor/chunks/{converter-IzBqfaH2.js.map → converter-CSAdyWKD.js.map} +1 -1
- package/dist/super-editor/chunks/{docx-zipper-DsnuU0zA.js → docx-zipper-CVKONbPs.js} +2 -2
- package/dist/super-editor/chunks/{docx-zipper-DsnuU0zA.js.map → docx-zipper-CVKONbPs.js.map} +1 -1
- package/dist/super-editor/chunks/{editor-DcZ9uvi1.js → editor-CvQTSGbv.js} +4 -4
- package/dist/super-editor/chunks/{editor-DcZ9uvi1.js.map → editor-CvQTSGbv.js.map} +1 -1
- package/dist/super-editor/chunks/{toolbar-Bqx-IeOq.js → toolbar-tClxieqt.js} +3 -3
- package/dist/super-editor/chunks/{toolbar-Bqx-IeOq.js.map → toolbar-tClxieqt.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/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
|
@@ -49761,7 +49761,7 @@ const toIsoNoFractional = (unixMillis) => {
|
|
|
49761
49761
|
const date = new Date(unixMillis || Date.now());
|
|
49762
49762
|
return date.toISOString().replace(/\.\d{3}Z$/, "Z");
|
|
49763
49763
|
};
|
|
49764
|
-
const updateCommentsXml = (commentDefs, commentsXml) => {
|
|
49764
|
+
const updateCommentsXml = (commentDefs = [], commentsXml) => {
|
|
49765
49765
|
const newCommentsXml = carbonCopy(commentsXml);
|
|
49766
49766
|
commentDefs.forEach((commentDef) => {
|
|
49767
49767
|
commentDef.elements[0].elements.unshift(COMMENT_REF);
|
|
@@ -52849,7 +52849,7 @@ const _SuperConverter = class _SuperConverter {
|
|
|
52849
52849
|
return;
|
|
52850
52850
|
}
|
|
52851
52851
|
}
|
|
52852
|
-
static updateDocumentVersion(docx = this.convertedXml, version2 = "0.5.
|
|
52852
|
+
static updateDocumentVersion(docx = this.convertedXml, version2 = "0.5.8") {
|
|
52853
52853
|
const customLocation = "docProps/custom.xml";
|
|
52854
52854
|
if (!docx[customLocation]) {
|
|
52855
52855
|
docx[customLocation] = generateCustomXml();
|
|
@@ -53002,6 +53002,7 @@ _SuperConverter_instances = new WeakSet();
|
|
|
53002
53002
|
updateCommentsFiles_fn = function(exportedCommentDefs, commentsExportType) {
|
|
53003
53003
|
const originalXml = this.convertedXml["word/comments.xml"];
|
|
53004
53004
|
if (!originalXml && commentsExportType === "clean") return;
|
|
53005
|
+
if (!this.convertedXml["word/comments.xml"]) this.convertedXml["word/comments.xml"] = { ...COMMENTS_XML };
|
|
53005
53006
|
const commentsXml = { ...this.convertedXml["word/comments.xml"] };
|
|
53006
53007
|
if (commentsXml && commentsExportType === "clean") {
|
|
53007
53008
|
return this.convertedXml["word/comments.xml"] = { ...COMMENTS_XML };
|
|
@@ -53095,7 +53096,7 @@ function storeSuperdocVersion(docx) {
|
|
|
53095
53096
|
function generateCustomXml() {
|
|
53096
53097
|
return DEFAULT_CUSTOM_XML;
|
|
53097
53098
|
}
|
|
53098
|
-
function generateSuperdocVersion(version2 = "0.5.
|
|
53099
|
+
function generateSuperdocVersion(version2 = "0.5.8") {
|
|
53099
53100
|
return {
|
|
53100
53101
|
type: "element",
|
|
53101
53102
|
name: "property",
|
|
@@ -53167,4 +53168,4 @@ export {
|
|
|
53167
53168
|
twipsToLines as y,
|
|
53168
53169
|
pixelsToTwips as z
|
|
53169
53170
|
};
|
|
53170
|
-
//# sourceMappingURL=converter-
|
|
53171
|
+
//# sourceMappingURL=converter-CSAdyWKD.js.map
|