@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.
@@ -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.62") {
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.62") {
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.62");
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-BsLgPPOs.js.map
58351
+ //# sourceMappingURL=super-editor.es-ChbpDgxj.js.map