@harbour-enterprises/superdoc 1.13.0-next.3 → 1.13.0-next.4

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.
@@ -1,10 +1,10 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
- const index = require("./chunks/index-C6wGg96l.cjs");
3
+ const index = require("./chunks/index-DyQXEw93.cjs");
4
4
  const superEditor_docxZipper = require("./super-editor/docx-zipper.cjs");
5
5
  const superEditor_fileZipper = require("./super-editor/file-zipper.cjs");
6
6
  const vue = require("./chunks/vue-BkoOkkmT.cjs");
7
- const superEditor_converter = require("./chunks/SuperConverter-BjnzdfRz.cjs");
7
+ const superEditor_converter = require("./chunks/SuperConverter-CbFCp71X.cjs");
8
8
  function isNodeType(node, name) {
9
9
  return node.type.name === name;
10
10
  }
@@ -1,9 +1,9 @@
1
- import { N as Node, M as Mark } from "./chunks/index-CIlQXD5D.es.js";
2
- import { A, a, C, E, b, P, S, _, c, d, e, T, f, i, g, h, j, k, l, m, n } from "./chunks/index-CIlQXD5D.es.js";
1
+ import { N as Node, M as Mark } from "./chunks/index-CqHfbpw2.es.js";
2
+ import { A, a, C, E, b, P, S, _, c, d, e, T, f, i, g, h, j, k, l, m, n } from "./chunks/index-CqHfbpw2.es.js";
3
3
  import { default as default2 } from "./super-editor/docx-zipper.es.js";
4
4
  import { createZip } from "./super-editor/file-zipper.es.js";
5
5
  import { d as defineComponent, o as openBlock, c as createElementBlock, a as createBaseVNode } from "./chunks/vue-DiPLN5sT.es.js";
6
- import { S as S2, r } from "./chunks/SuperConverter-B7RWzYID.es.js";
6
+ import { S as S2, r } from "./chunks/SuperConverter-B_NOnNVB.es.js";
7
7
  function isNodeType(node, name) {
8
8
  return node.type.name === name;
9
9
  }
package/dist/superdoc.cjs CHANGED
@@ -1,9 +1,9 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
- const index = require("./chunks/index-C6wGg96l.cjs");
4
- const superdoc = require("./chunks/index-BZkAxnBF.cjs");
3
+ const index = require("./chunks/index-DyQXEw93.cjs");
4
+ const superdoc = require("./chunks/index--U-7Y4jp.cjs");
5
5
  const blankDocx = require("./chunks/blank-docx-DfW3Eeh2.cjs");
6
- const superEditor_converter = require("./chunks/SuperConverter-BjnzdfRz.cjs");
6
+ const superEditor_converter = require("./chunks/SuperConverter-CbFCp71X.cjs");
7
7
  const superEditor_fileZipper = require("./super-editor/file-zipper.cjs");
8
8
  require("./chunks/helpers-OFep8CYR.cjs");
9
9
  require("./chunks/jszip.min-oAFpNMh5.cjs");
@@ -1,7 +1,7 @@
1
- import { a, E, b, S, i, ay, k, m, n } from "./chunks/index-CIlQXD5D.es.js";
2
- import { D, H, P, S as S2, c, g } from "./chunks/index-BojzLfgF.es.js";
1
+ import { a, E, b, S, i, ay, k, m, n } from "./chunks/index-CqHfbpw2.es.js";
2
+ import { D, H, P, S as S2, c, g } from "./chunks/index-n6o1E4Io.es.js";
3
3
  import { B } from "./chunks/blank-docx-ABm6XYAA.es.js";
4
- import { S as S3, r } from "./chunks/SuperConverter-B7RWzYID.es.js";
4
+ import { S as S3, r } from "./chunks/SuperConverter-B_NOnNVB.es.js";
5
5
  import { createZip } from "./super-editor/file-zipper.es.js";
6
6
  import "./chunks/helpers-BqdwtJE0.es.js";
7
7
  import "./chunks/jszip.min-BCZQ7Wq2.es.js";
@@ -34378,7 +34378,7 @@ Please report this to https://github.com/markedjs/marked.`, e) {
34378
34378
  const COMMUNITY_LICENSE_KEY = "community-and-eval-agplv3";
34379
34379
  function getSuperdocVersion() {
34380
34380
  try {
34381
- return true ? "1.13.0-next.3" : "unknown";
34381
+ return true ? "1.13.0-next.4" : "unknown";
34382
34382
  } catch {
34383
34383
  return "unknown";
34384
34384
  }
@@ -37650,7 +37650,7 @@ Please report this to https://github.com/markedjs/marked.`, e) {
37650
37650
  static getStoredSuperdocVersion(docx) {
37651
37651
  return SuperConverter.getStoredCustomProperty(docx, "SuperdocVersion");
37652
37652
  }
37653
- static setStoredSuperdocVersion(docx = this.convertedXml, version2 = "1.13.0-next.3") {
37653
+ static setStoredSuperdocVersion(docx = this.convertedXml, version2 = "1.13.0-next.4") {
37654
37654
  return SuperConverter.setStoredCustomProperty(docx, "SuperdocVersion", version2, false);
37655
37655
  }
37656
37656
  /**
@@ -65160,7 +65160,7 @@ ${err.toString()}`);
65160
65160
  return false;
65161
65161
  }
65162
65162
  };
65163
- const summaryVersion = "1.13.0-next.3";
65163
+ const summaryVersion = "1.13.0-next.4";
65164
65164
  const nodeKeys = ["group", "content", "marks", "inline", "atom", "defining", "code", "tableRole", "summary"];
65165
65165
  const markKeys = ["group", "inclusive", "excludes", "spanning", "code"];
65166
65166
  function mapAttributes(attrs) {
@@ -67968,7 +67968,7 @@ ${err.toString()}`);
67968
67968
  * Process collaboration migrations
67969
67969
  */
67970
67970
  processCollaborationMigrations() {
67971
- console.debug("[checkVersionMigrations] Current editor version", "1.13.0-next.3");
67971
+ console.debug("[checkVersionMigrations] Current editor version", "1.13.0-next.4");
67972
67972
  if (!this.options.ydoc) return;
67973
67973
  const metaMap = this.options.ydoc.getMap("meta");
67974
67974
  let docVersion = metaMap.get("version");
@@ -101907,8 +101907,7 @@ ${o}
101907
101907
  caretEl.style.width = `${options.cursorStyles.CARET_WIDTH}px`;
101908
101908
  caretEl.style.borderLeft = `${options.cursorStyles.CARET_WIDTH}px solid ${color2}`;
101909
101909
  caretEl.style.pointerEvents = "none";
101910
- caretEl.style.transition = "transform 50ms ease-out, height 50ms ease-out, opacity 100ms ease-out";
101911
- caretEl.style.willChange = "transform";
101910
+ caretEl.style.transition = "opacity 100ms ease-out";
101912
101911
  caretEl.setAttribute("data-client-id", options.cursor.clientId.toString());
101913
101912
  caretEl.setAttribute("aria-hidden", "true");
101914
101913
  if (options.presence?.showLabels !== false) {
@@ -171931,7 +171930,7 @@ js: import "konva/skia-backend";
171931
171930
  this.config.colors = shuffleArray(this.config.colors);
171932
171931
  this.userColorMap = /* @__PURE__ */ new Map();
171933
171932
  this.colorIndex = 0;
171934
- this.version = "1.13.0-next.3";
171933
+ this.version = "1.13.0-next.4";
171935
171934
  this.#log("🦋 [superdoc] Using SuperDoc version:", this.version);
171936
171935
  this.superdocId = config2.superdocId || v4();
171937
171936
  this.colors = this.config.colors;