@harbour-enterprises/superdoc 0.6.62 → 0.6.63
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-BsLgPPOs.js → super-editor.es-ChbpDgxj.js} +7 -4
- package/dist/chunks/super-editor.es-ChbpDgxj.js.map +1 -0
- package/dist/super-editor/chunks/{converter-BmYPM7j8.js → converter-DvoY_Ajb.js} +6 -3
- package/dist/super-editor/chunks/{converter-BmYPM7j8.js.map → converter-DvoY_Ajb.js.map} +1 -1
- package/dist/super-editor/chunks/{docx-zipper-CL-WWt46.js → docx-zipper-BwzO_Kan.js} +2 -2
- package/dist/super-editor/chunks/{docx-zipper-CL-WWt46.js.map → docx-zipper-BwzO_Kan.js.map} +1 -1
- package/dist/super-editor/chunks/{editor-DTlFmtf7.js → editor-Dlpffdvx.js} +4 -4
- package/dist/super-editor/chunks/{editor-DTlFmtf7.js.map → editor-Dlpffdvx.js.map} +1 -1
- package/dist/super-editor/chunks/{toolbar-COzWERLK.js → toolbar-DJKYESky.js} +3 -3
- package/dist/super-editor/chunks/{toolbar-COzWERLK.js.map → toolbar-DJKYESky.js.map} +1 -1
- package/dist/super-editor/converter.es.js +1 -1
- package/dist/super-editor/core/super-converter/exporter.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/dist/superdoc.umd.js +7 -4
- package/dist/superdoc.umd.js.map +1 -1
- package/package.json +1 -1
- package/dist/chunks/super-editor.es-BsLgPPOs.js.map +0 -1
|
@@ -17692,6 +17692,9 @@ function translateList(params2) {
|
|
|
17692
17692
|
...listNode.attrs
|
|
17693
17693
|
};
|
|
17694
17694
|
const outputNode = exportSchemaToJson({ ...params2, node: paragraphNode });
|
|
17695
|
+
if (!outputNode.elements) {
|
|
17696
|
+
outputNode.elements = [];
|
|
17697
|
+
}
|
|
17695
17698
|
const propsElementIndex = outputNode.elements.findIndex((e) => e.name === "w:pPr");
|
|
17696
17699
|
const listProps = getListParagraphProperties(listNode, level, type2, propsElementIndex > -1);
|
|
17697
17700
|
const content3 = outputNode.elements.filter((e) => e.name !== "w:pPr");
|
|
@@ -20596,7 +20599,7 @@ const _SuperConverter = class _SuperConverter2 {
|
|
|
20596
20599
|
return;
|
|
20597
20600
|
}
|
|
20598
20601
|
}
|
|
20599
|
-
static updateDocumentVersion(docx = this.convertedXml, version = "0.6.
|
|
20602
|
+
static updateDocumentVersion(docx = this.convertedXml, version = "0.6.63") {
|
|
20600
20603
|
const customLocation = "docProps/custom.xml";
|
|
20601
20604
|
if (!docx[customLocation]) {
|
|
20602
20605
|
docx[customLocation] = generateCustomXml();
|
|
@@ -20859,7 +20862,7 @@ function storeSuperdocVersion(docx) {
|
|
|
20859
20862
|
function generateCustomXml() {
|
|
20860
20863
|
return DEFAULT_CUSTOM_XML;
|
|
20861
20864
|
}
|
|
20862
|
-
function generateSuperdocVersion(pid = 2, version = "0.6.
|
|
20865
|
+
function generateSuperdocVersion(pid = 2, version = "0.6.63") {
|
|
20863
20866
|
return {
|
|
20864
20867
|
type: "element",
|
|
20865
20868
|
name: "property",
|
|
@@ -34882,7 +34885,7 @@ const _Editor = class _Editor2 extends EventEmitter$1 {
|
|
|
34882
34885
|
* @returns {Y.Doc | undefined} Updated Y.Doc if any, otherwise undefined
|
|
34883
34886
|
*/
|
|
34884
34887
|
processCollaborationMigrations() {
|
|
34885
|
-
console.debug("[checkVersionMigrations] Current editor version", "0.6.
|
|
34888
|
+
console.debug("[checkVersionMigrations] Current editor version", "0.6.63");
|
|
34886
34889
|
if (!this.options.ydoc) return;
|
|
34887
34890
|
const metaMap = this.options.ydoc.getMap("meta");
|
|
34888
34891
|
let docVersion = metaMap.get("version");
|
|
@@ -58345,4 +58348,4 @@ export {
|
|
|
58345
58348
|
helpers as k,
|
|
58346
58349
|
index as l
|
|
58347
58350
|
};
|
|
58348
|
-
//# sourceMappingURL=super-editor.es-
|
|
58351
|
+
//# sourceMappingURL=super-editor.es-ChbpDgxj.js.map
|