@harbour-enterprises/superdoc 0.6.30 → 0.6.31

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.
@@ -53710,7 +53710,7 @@ const _SuperConverter = class _SuperConverter2 {
53710
53710
  return;
53711
53711
  }
53712
53712
  }
53713
- static updateDocumentVersion(docx = this.convertedXml, version2 = "0.6.30") {
53713
+ static updateDocumentVersion(docx = this.convertedXml, version2 = "0.6.31") {
53714
53714
  const customLocation = "docProps/custom.xml";
53715
53715
  if (!docx[customLocation]) {
53716
53716
  docx[customLocation] = generateCustomXml();
@@ -53955,7 +53955,7 @@ function storeSuperdocVersion(docx) {
53955
53955
  function generateCustomXml() {
53956
53956
  return DEFAULT_CUSTOM_XML;
53957
53957
  }
53958
- function generateSuperdocVersion(version2 = "0.6.30") {
53958
+ function generateSuperdocVersion(version2 = "0.6.31") {
53959
53959
  return {
53960
53960
  type: "element",
53961
53961
  name: "property",
@@ -67887,7 +67887,7 @@ const _Editor = class _Editor2 extends EventEmitter$1 {
67887
67887
  * @returns {Y.Doc | undefined} Updated Y.Doc if any, otherwise undefined
67888
67888
  */
67889
67889
  processCollaborationMigrations() {
67890
- console.debug("[checkVersionMigrations] Current editor version", "0.6.30");
67890
+ console.debug("[checkVersionMigrations] Current editor version", "0.6.31");
67891
67891
  if (!this.options.ydoc) return;
67892
67892
  const metaMap = this.options.ydoc.getMap("meta");
67893
67893
  let docVersion = metaMap.get("version");
@@ -91051,6 +91051,7 @@ const _sfc_main$2 = {
91051
91051
  const provider = props.options.collaborationProvider;
91052
91052
  provider.on("synced", () => {
91053
91053
  pollForMetaMapData(ydoc);
91054
+ provider.off("synced");
91054
91055
  });
91055
91056
  }
91056
91057
  };
@@ -91188,7 +91189,7 @@ const _sfc_main$2 = {
91188
91189
  };
91189
91190
  }
91190
91191
  };
91191
- const SuperEditor = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["__scopeId", "data-v-db36d0a9"]]);
91192
+ const SuperEditor = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["__scopeId", "data-v-763b7d81"]]);
91192
91193
  const _sfc_main$1 = {
91193
91194
  __name: "BasicUpload",
91194
91195
  emits: ["file-change"],
@@ -91310,4 +91311,4 @@ export {
91310
91311
  helpers as k,
91311
91312
  index as l
91312
91313
  };
91313
- //# sourceMappingURL=super-editor.es-BW8uepww.js.map
91314
+ //# sourceMappingURL=super-editor.es-DK--9bvx.js.map