superdoc 1.13.0 → 1.13.1

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,8 +1,8 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
3
  const vue = require("./vue-BkoOkkmT.cjs");
4
- const superdoc = require("./index-8clxyRgd.cjs");
5
- const index = require("./index-Dc_gvtx4.cjs");
4
+ const superdoc = require("./index-CCq26Owl.cjs");
5
+ const index = require("./index-ClQ2DTZb.cjs");
6
6
  function self(vars) {
7
7
  const {
8
8
  opacityDisabled,
@@ -1,6 +1,6 @@
1
1
  import { d as defineComponent, h, T as Transition, p as process$1, w as watchEffect, b as computed, r as ref, e as onMounted, f as onUnmounted, o as openBlock, c as createElementBlock, a as createBaseVNode, g as createVNode, u as unref, i as createCommentVNode } from "./vue-DiPLN5sT.es.js";
2
- import { N as NBaseLoading, u as useSuperdocStore, s as storeToRefs, a as useSelection } from "./index-RjXF1sKR.es.js";
3
- import { o as derived, p as c, q as cB, r as fadeInTransition, s as cM, w as warnOnce, u as useConfig, t as useTheme, v as pxfy, x as createKey, y as useThemeClass, z as useCompitable, B as _export_sfc } from "./index-Dlq64L1l.es.js";
2
+ import { N as NBaseLoading, u as useSuperdocStore, s as storeToRefs, a as useSelection } from "./index-CDnB6b65.es.js";
3
+ import { o as derived, p as c, q as cB, r as fadeInTransition, s as cM, w as warnOnce, u as useConfig, t as useTheme, v as pxfy, x as createKey, y as useThemeClass, z as useCompitable, B as _export_sfc } from "./index-B9Jx-TG0.es.js";
4
4
  function self(vars) {
5
5
  const {
6
6
  opacityDisabled,
@@ -33669,7 +33669,7 @@ class SuperConverter {
33669
33669
  static getStoredSuperdocVersion(docx) {
33670
33670
  return SuperConverter.getStoredCustomProperty(docx, "SuperdocVersion");
33671
33671
  }
33672
- static setStoredSuperdocVersion(docx = this.convertedXml, version = "1.13.0") {
33672
+ static setStoredSuperdocVersion(docx = this.convertedXml, version = "1.13.1") {
33673
33673
  return SuperConverter.setStoredCustomProperty(docx, "SuperdocVersion", version, false);
33674
33674
  }
33675
33675
  /**
@@ -33670,7 +33670,7 @@ class SuperConverter {
33670
33670
  static getStoredSuperdocVersion(docx) {
33671
33671
  return SuperConverter.getStoredCustomProperty(docx, "SuperdocVersion");
33672
33672
  }
33673
- static setStoredSuperdocVersion(docx = this.convertedXml, version = "1.13.0") {
33673
+ static setStoredSuperdocVersion(docx = this.convertedXml, version = "1.13.1") {
33674
33674
  return SuperConverter.setStoredCustomProperty(docx, "SuperdocVersion", version, false);
33675
33675
  }
33676
33676
  /**
@@ -1,4 +1,4 @@
1
- import { g as generateDocxRandomId, T as TextSelection$1, o as objectIncludes, w as wrapTextsInRuns, D as DOMParser$1, c as createDocFromMarkdown, a as createDocFromHTML, F as Fragment, b as chainableEditorState, d as convertMarkdownToHTML, f as findParentNode, e as findParentNodeClosestToPos, h as generateRandom32BitHex, i as generateRandomSigned32BitIntStrId, P as Plugin, j as PluginKey, M as Mapping, N as NodeSelection, k as Selection, l as Slice, m as DOMSerializer, n as Mark$1, p as dropPoint, A as AllSelection, q as Schema$2, s as canSplit, t as resolveRunProperties, u as encodeMarksFromRPr, v as liftTarget, x as replaceStep$1, y as canJoin, z as joinPoint, R as ReplaceAroundStep$1, B as htmlHandler, C as ReplaceStep, E as getResolvedParagraphProperties, G as changeListLevel, H as isList$1, I as updateNumberingProperties, L as ListHelpers, J as inputRulesPlugin, K as TrackDeleteMarkName, O as TrackInsertMarkName, Q as TrackFormatMarkName, U as AddMarkStep, V as RemoveMarkStep, W as CommandService, S as SuperConverter, X as EditorState, Y as unflattenListsInHtml, Z as SelectionRange, _ as Transform, $ as resolveParagraphProperties, a0 as resolveDocxFontFamily, a1 as _getReferencedTableStyles, a2 as resolveTableCellProperties, a3 as decodeRPrFromMarks, a4 as carbonCopy, a5 as calculateResolvedParagraphProperties, a6 as encodeCSSFromPPr, a7 as encodeCSSFromRPr, a8 as generateOrderedListIndex, a9 as docxNumberingHelpers, aa as InputRule, ab as insertNewRelationship, ac as kebabCase$1, ad as getUnderlineCssString, ae as handleClipboardPaste } from "./SuperConverter-BCWk5AhG.es.js";
1
+ import { g as generateDocxRandomId, T as TextSelection$1, o as objectIncludes, w as wrapTextsInRuns, D as DOMParser$1, c as createDocFromMarkdown, a as createDocFromHTML, F as Fragment, b as chainableEditorState, d as convertMarkdownToHTML, f as findParentNode, e as findParentNodeClosestToPos, h as generateRandom32BitHex, i as generateRandomSigned32BitIntStrId, P as Plugin, j as PluginKey, M as Mapping, N as NodeSelection, k as Selection, l as Slice, m as DOMSerializer, n as Mark$1, p as dropPoint, A as AllSelection, q as Schema$2, s as canSplit, t as resolveRunProperties, u as encodeMarksFromRPr, v as liftTarget, x as replaceStep$1, y as canJoin, z as joinPoint, R as ReplaceAroundStep$1, B as htmlHandler, C as ReplaceStep, E as getResolvedParagraphProperties, G as changeListLevel, H as isList$1, I as updateNumberingProperties, L as ListHelpers, J as inputRulesPlugin, K as TrackDeleteMarkName, O as TrackInsertMarkName, Q as TrackFormatMarkName, U as AddMarkStep, V as RemoveMarkStep, W as CommandService, S as SuperConverter, X as EditorState, Y as unflattenListsInHtml, Z as SelectionRange, _ as Transform, $ as resolveParagraphProperties, a0 as resolveDocxFontFamily, a1 as _getReferencedTableStyles, a2 as resolveTableCellProperties, a3 as decodeRPrFromMarks, a4 as carbonCopy, a5 as calculateResolvedParagraphProperties, a6 as encodeCSSFromPPr, a7 as encodeCSSFromRPr, a8 as generateOrderedListIndex, a9 as docxNumberingHelpers, aa as InputRule, ab as insertNewRelationship, ac as kebabCase$1, ad as getUnderlineCssString, ae as handleClipboardPaste } from "./SuperConverter-BfWET8X-.es.js";
2
2
  import { k as twipsToInches, o as inchesToTwips, p as ptToTwips, f as linesToTwips, j as twipsToLines, m as pixelsToTwips, A as resolveOpcTargetPath, E as getArrayBufferFromUrl, h as halfPointToPoints, d as twipsToPixels$2, F as convertSizeToCSS, G as inchesToPixels } from "./helpers-Zjk_AcyH.es.js";
3
3
  import { B as Buffer$3, D as DocxZipper } from "./DocxZipper-D_TE2vfz.es.js";
4
4
  import { p as process$1$2, r as ref, b as computed, c as createElementBlock, F as Fragment$1, U as renderList, O as withModifiers, o as openBlock, Q as normalizeClass, M as toDisplayString, i as createCommentVNode, a as createBaseVNode, V as createApp, e as onMounted, f as onUnmounted, u as unref, S as withDirectives, Y as vModelText, D as nextTick, N as normalizeStyle, B as watch, Z as withKeys, _ as createTextVNode, g as createVNode, h as h$1, $ as readonly, E as getCurrentInstance, l as onBeforeUnmount, s as reactive, m as onBeforeMount, j as inject, a0 as onActivated, a1 as onDeactivated, a2 as Comment, d as defineComponent, k as provide, q as Teleport, t as toRef, a3 as renderSlot, a4 as isVNode, K as shallowRef, w as watchEffect, J as global$2, T as Transition, a5 as mergeProps, a6 as vShow, a7 as cloneVNode, a8 as Text$2, x as markRaw, P as createBlock, L as withCtx, a9 as useCssVars, W as resolveDynamicComponent, aa as normalizeProps, ab as guardReactiveProps } from "./vue-DiPLN5sT.es.js";
@@ -976,7 +976,7 @@ const DEFAULT_ENDPOINT = "https://ingest.superdoc.dev/v1/collect";
976
976
  const COMMUNITY_LICENSE_KEY = "community-and-eval-agplv3";
977
977
  function getSuperdocVersion() {
978
978
  try {
979
- return true ? "1.13.0" : "unknown";
979
+ return true ? "1.13.1" : "unknown";
980
980
  } catch {
981
981
  return "unknown";
982
982
  }
@@ -17084,7 +17084,7 @@ const canUseDOM = () => {
17084
17084
  return false;
17085
17085
  }
17086
17086
  };
17087
- const summaryVersion = "1.13.0";
17087
+ const summaryVersion = "1.13.1";
17088
17088
  const nodeKeys = ["group", "content", "marks", "inline", "atom", "defining", "code", "tableRole", "summary"];
17089
17089
  const markKeys = ["group", "inclusive", "excludes", "spanning", "code"];
17090
17090
  function mapAttributes(attrs) {
@@ -19895,7 +19895,7 @@ class Editor extends EventEmitter {
19895
19895
  * Process collaboration migrations
19896
19896
  */
19897
19897
  processCollaborationMigrations() {
19898
- console.debug("[checkVersionMigrations] Current editor version", "1.13.0");
19898
+ console.debug("[checkVersionMigrations] Current editor version", "1.13.1");
19899
19899
  if (!this.options.ydoc) return;
19900
19900
  const metaMap = this.options.ydoc.getMap("meta");
19901
19901
  let docVersion = metaMap.get("version");
@@ -1,8 +1,8 @@
1
1
  "use strict";
2
- const index = require("./index-Dc_gvtx4.cjs");
2
+ const index = require("./index-ClQ2DTZb.cjs");
3
3
  const blankDocx = require("./blank-docx-DfW3Eeh2.cjs");
4
4
  require("./helpers-CCzma9mJ.cjs");
5
- require("./SuperConverter-BfyuO4lJ.cjs");
5
+ require("./SuperConverter-sfP7jOr1.cjs");
6
6
  const eventemitter3 = require("./eventemitter3-D-UiF04J.cjs");
7
7
  const vue = require("./vue-BkoOkkmT.cjs");
8
8
  require("./jszip.min-oAFpNMh5.cjs");
@@ -8171,7 +8171,7 @@ const _sfc_main = {
8171
8171
  __name: "SuperDoc",
8172
8172
  emits: ["selection-update"],
8173
8173
  setup(__props, { emit: __emit }) {
8174
- const PdfViewer = vue.defineAsyncComponent(() => Promise.resolve().then(() => require("./PdfViewer-Dq6pz8jV.cjs")));
8174
+ const PdfViewer = vue.defineAsyncComponent(() => Promise.resolve().then(() => require("./PdfViewer-BMgW1ZZ0.cjs")));
8175
8175
  const superdocStore = useSuperdocStore();
8176
8176
  const commentsStore = useCommentsStore();
8177
8177
  const {
@@ -21645,7 +21645,7 @@ class SuperDoc extends eventemitter3.EventEmitter {
21645
21645
  this.config.colors = shuffleArray(this.config.colors);
21646
21646
  this.userColorMap = /* @__PURE__ */ new Map();
21647
21647
  this.colorIndex = 0;
21648
- this.version = "1.13.0";
21648
+ this.version = "1.13.1";
21649
21649
  this.#log("🦋 [superdoc] Using SuperDoc version:", this.version);
21650
21650
  this.superdocId = config.superdocId || uuid.v4();
21651
21651
  this.colors = this.config.colors;
@@ -1,7 +1,7 @@
1
- import { D as BIT8, F as MAX_SAFE_INTEGER, G as create, H as BITS7, I as utf8TextDecoder, J as create$1, K as setIfUndefined, L as create$2, O as from, Q as floor$1, R as equalityDeep, U as writeVarUint, V as writeVarString, W as toUint8Array, X as createEncoder, Y as createInjectionKey, Z as toString, $ as throwError, a0 as useSsrAdapter, a1 as configProviderInjectionKey, a2 as cssrAnchorMetaName, a3 as globalStyle, q as cB, p as c, a4 as isMounted, a5 as commonVariables$2, s as cM, a6 as cNotM, a7 as cE, o as derived, a8 as changeColor, a9 as insideModal, aa as insidePopover, ab as resolveWrappedSlot, ac as on, w as warnOnce, u as useConfig, ad as useMergedState, ae as useMemo, t as useTheme, af as useRtl, x as createKey, y as useThemeClass, ag as createId, ah as call, ai as render, aj as messageProviderInjectionKey, ak as messageApiInjectionKey, l as getStarterExtensions, k as getRichTextExtensions, E as Editor, al as fromBase64, am as onChange, an as varStorage, ao as toBase64, ap as createUint8ArrayFromArrayBuffer, aq as offChange, ar as writeVarUint8Array, as as map, at as length, au as isNode, av as min, aw as pow, ax as comments_module_events, ay as getFileObject, az as getTrackChanges, C as CommentsPluginKey, f as TrackChangesBasePluginKey, aA as ellipsisVerticalSvg, aB as xmarkIconSvg, aC as checkIconSvg, aD as caretDownIconSvg, aE as commentIconSvg, B as _export_sfc, aF as NDropdown, d as SuperInput, aG as vClickOutside, P as PresentationEditor, c as SuperEditor, A as AIWriter, aH as NConfigProvider, e as SuperToolbar } from "./index-Dlq64L1l.es.js";
1
+ import { D as BIT8, F as MAX_SAFE_INTEGER, G as create, H as BITS7, I as utf8TextDecoder, J as create$1, K as setIfUndefined, L as create$2, O as from, Q as floor$1, R as equalityDeep, U as writeVarUint, V as writeVarString, W as toUint8Array, X as createEncoder, Y as createInjectionKey, Z as toString, $ as throwError, a0 as useSsrAdapter, a1 as configProviderInjectionKey, a2 as cssrAnchorMetaName, a3 as globalStyle, q as cB, p as c, a4 as isMounted, a5 as commonVariables$2, s as cM, a6 as cNotM, a7 as cE, o as derived, a8 as changeColor, a9 as insideModal, aa as insidePopover, ab as resolveWrappedSlot, ac as on, w as warnOnce, u as useConfig, ad as useMergedState, ae as useMemo, t as useTheme, af as useRtl, x as createKey, y as useThemeClass, ag as createId, ah as call, ai as render, aj as messageProviderInjectionKey, ak as messageApiInjectionKey, l as getStarterExtensions, k as getRichTextExtensions, E as Editor, al as fromBase64, am as onChange, an as varStorage, ao as toBase64, ap as createUint8ArrayFromArrayBuffer, aq as offChange, ar as writeVarUint8Array, as as map, at as length, au as isNode, av as min, aw as pow, ax as comments_module_events, ay as getFileObject, az as getTrackChanges, C as CommentsPluginKey, f as TrackChangesBasePluginKey, aA as ellipsisVerticalSvg, aB as xmarkIconSvg, aC as checkIconSvg, aD as caretDownIconSvg, aE as commentIconSvg, B as _export_sfc, aF as NDropdown, d as SuperInput, aG as vClickOutside, P as PresentationEditor, c as SuperEditor, A as AIWriter, aH as NConfigProvider, e as SuperToolbar } from "./index-B9Jx-TG0.es.js";
2
2
  import { B as BlankDOCX } from "./blank-docx-ABm6XYAA.es.js";
3
3
  import "./helpers-Zjk_AcyH.es.js";
4
- import "./SuperConverter-BCWk5AhG.es.js";
4
+ import "./SuperConverter-BfWET8X-.es.js";
5
5
  import { E as EventEmitter$1 } from "./eventemitter3-DdGu2UnW.es.js";
6
6
  import { j as inject, k as provide, b as computed, l as onBeforeUnmount, p as process$1, m as onBeforeMount, d as defineComponent, h, t as toRef, T as Transition, n as TransitionGroup, w as watchEffect, r as ref, e as onMounted, q as Teleport, F as Fragment, s as reactive, v as effectScope, x as markRaw, y as toRaw, z as isRef, A as isReactive, B as watch, u as unref, C as hasInjectionContext, D as nextTick, E as getCurrentInstance, G as getCurrentScope, H as onScopeDispose, I as toRefs, J as global, K as shallowRef, o as openBlock, c as createElementBlock, g as createVNode, L as withCtx, a as createBaseVNode, M as toDisplayString, N as normalizeStyle, i as createCommentVNode, O as withModifiers, P as createBlock, Q as normalizeClass, R as resolveDirective, S as withDirectives, U as renderList, V as createApp, W as resolveDynamicComponent, X as defineAsyncComponent } from "./vue-DiPLN5sT.es.js";
7
7
  import "./jszip.min-BCZQ7Wq2.es.js";
@@ -8154,7 +8154,7 @@ const _sfc_main = {
8154
8154
  __name: "SuperDoc",
8155
8155
  emits: ["selection-update"],
8156
8156
  setup(__props, { emit: __emit }) {
8157
- const PdfViewer = defineAsyncComponent(() => import("./PdfViewer-D_iK97se.es.js"));
8157
+ const PdfViewer = defineAsyncComponent(() => import("./PdfViewer-Diuw98hQ.es.js"));
8158
8158
  const superdocStore = useSuperdocStore();
8159
8159
  const commentsStore = useCommentsStore();
8160
8160
  const {
@@ -21628,7 +21628,7 @@ class SuperDoc extends EventEmitter$1 {
21628
21628
  this.config.colors = shuffleArray(this.config.colors);
21629
21629
  this.userColorMap = /* @__PURE__ */ new Map();
21630
21630
  this.colorIndex = 0;
21631
- this.version = "1.13.0";
21631
+ this.version = "1.13.1";
21632
21632
  this.#log("🦋 [superdoc] Using SuperDoc version:", this.version);
21633
21633
  this.superdocId = config.superdocId || v4();
21634
21634
  this.colors = this.config.colors;
@@ -1,5 +1,5 @@
1
1
  "use strict";
2
- const superEditor_converter = require("./SuperConverter-BfyuO4lJ.cjs");
2
+ const superEditor_converter = require("./SuperConverter-sfP7jOr1.cjs");
3
3
  const helpers$1 = require("./helpers-CCzma9mJ.cjs");
4
4
  const superEditor_docxZipper = require("./DocxZipper-B6nm2R9-.cjs");
5
5
  const vue = require("./vue-BkoOkkmT.cjs");
@@ -993,7 +993,7 @@ const DEFAULT_ENDPOINT = "https://ingest.superdoc.dev/v1/collect";
993
993
  const COMMUNITY_LICENSE_KEY = "community-and-eval-agplv3";
994
994
  function getSuperdocVersion() {
995
995
  try {
996
- return true ? "1.13.0" : "unknown";
996
+ return true ? "1.13.1" : "unknown";
997
997
  } catch {
998
998
  return "unknown";
999
999
  }
@@ -17101,7 +17101,7 @@ const canUseDOM = () => {
17101
17101
  return false;
17102
17102
  }
17103
17103
  };
17104
- const summaryVersion = "1.13.0";
17104
+ const summaryVersion = "1.13.1";
17105
17105
  const nodeKeys = ["group", "content", "marks", "inline", "atom", "defining", "code", "tableRole", "summary"];
17106
17106
  const markKeys = ["group", "inclusive", "excludes", "spanning", "code"];
17107
17107
  function mapAttributes(attrs) {
@@ -19912,7 +19912,7 @@ class Editor extends EventEmitter {
19912
19912
  * Process collaboration migrations
19913
19913
  */
19914
19914
  processCollaborationMigrations() {
19915
- console.debug("[checkVersionMigrations] Current editor version", "1.13.0");
19915
+ console.debug("[checkVersionMigrations] Current editor version", "1.13.1");
19916
19916
  if (!this.options.ydoc) return;
19917
19917
  const metaMap = this.options.ydoc.getMap("meta");
19918
19918
  let docVersion = metaMap.get("version");
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
3
  require("../chunks/helpers-CCzma9mJ.cjs");
4
- const superEditor_converter = require("../chunks/SuperConverter-BfyuO4lJ.cjs");
4
+ const superEditor_converter = require("../chunks/SuperConverter-sfP7jOr1.cjs");
5
5
  require("../chunks/uuid-R7L08bOx.cjs");
6
6
  exports.SuperConverter = superEditor_converter.SuperConverter;
@@ -1,5 +1,5 @@
1
1
  import "../chunks/helpers-Zjk_AcyH.es.js";
2
- import { S } from "../chunks/SuperConverter-BCWk5AhG.es.js";
2
+ import { S } from "../chunks/SuperConverter-BfWET8X-.es.js";
3
3
  import "../chunks/uuid-CjlX8hrF.es.js";
4
4
  export {
5
5
  S as SuperConverter
@@ -1,10 +1,10 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
- const index = require("./chunks/index-Dc_gvtx4.cjs");
3
+ const index = require("./chunks/index-ClQ2DTZb.cjs");
4
4
  const superEditor_docxZipper = require("./chunks/DocxZipper-B6nm2R9-.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-BfyuO4lJ.cjs");
7
+ const superEditor_converter = require("./chunks/SuperConverter-sfP7jOr1.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-Dlq64L1l.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-Dlq64L1l.es.js";
1
+ import { N as Node, M as Mark } from "./chunks/index-B9Jx-TG0.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-B9Jx-TG0.es.js";
3
3
  import { D } from "./chunks/DocxZipper-D_TE2vfz.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-BCWk5AhG.es.js";
6
+ import { S as S2, r } from "./chunks/SuperConverter-BfWET8X-.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-Dc_gvtx4.cjs");
4
- const superdoc = require("./chunks/index-8clxyRgd.cjs");
3
+ const index = require("./chunks/index-ClQ2DTZb.cjs");
4
+ const superdoc = require("./chunks/index-CCq26Owl.cjs");
5
5
  const blankDocx = require("./chunks/blank-docx-DfW3Eeh2.cjs");
6
- const superEditor_converter = require("./chunks/SuperConverter-BfyuO4lJ.cjs");
6
+ const superEditor_converter = require("./chunks/SuperConverter-sfP7jOr1.cjs");
7
7
  const superEditor_fileZipper = require("./super-editor/file-zipper.cjs");
8
8
  require("./chunks/helpers-CCzma9mJ.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-Dlq64L1l.es.js";
2
- import { D, H, P, S as S2, c, g } from "./chunks/index-RjXF1sKR.es.js";
1
+ import { a, E, b, S, i, ay, k, m, n } from "./chunks/index-B9Jx-TG0.es.js";
2
+ import { D, H, P, S as S2, c, g } from "./chunks/index-CDnB6b65.es.js";
3
3
  import { B } from "./chunks/blank-docx-ABm6XYAA.es.js";
4
- import { S as S3, r } from "./chunks/SuperConverter-BCWk5AhG.es.js";
4
+ import { S as S3, r } from "./chunks/SuperConverter-BfWET8X-.es.js";
5
5
  import { createZip } from "./super-editor/file-zipper.es.js";
6
6
  import "./chunks/helpers-Zjk_AcyH.es.js";
7
7
  import "./chunks/jszip.min-BCZQ7Wq2.es.js";
@@ -34087,7 +34087,7 @@ Please report this to https://github.com/markedjs/marked.`, e) {
34087
34087
  const COMMUNITY_LICENSE_KEY = "community-and-eval-agplv3";
34088
34088
  function getSuperdocVersion() {
34089
34089
  try {
34090
- return true ? "1.13.0" : "unknown";
34090
+ return true ? "1.13.1" : "unknown";
34091
34091
  } catch {
34092
34092
  return "unknown";
34093
34093
  }
@@ -37513,7 +37513,7 @@ Please report this to https://github.com/markedjs/marked.`, e) {
37513
37513
  static getStoredSuperdocVersion(docx) {
37514
37514
  return SuperConverter.getStoredCustomProperty(docx, "SuperdocVersion");
37515
37515
  }
37516
- static setStoredSuperdocVersion(docx = this.convertedXml, version2 = "1.13.0") {
37516
+ static setStoredSuperdocVersion(docx = this.convertedXml, version2 = "1.13.1") {
37517
37517
  return SuperConverter.setStoredCustomProperty(docx, "SuperdocVersion", version2, false);
37518
37518
  }
37519
37519
  /**
@@ -65018,7 +65018,7 @@ ${err.toString()}`);
65018
65018
  return false;
65019
65019
  }
65020
65020
  };
65021
- const summaryVersion = "1.13.0";
65021
+ const summaryVersion = "1.13.1";
65022
65022
  const nodeKeys = ["group", "content", "marks", "inline", "atom", "defining", "code", "tableRole", "summary"];
65023
65023
  const markKeys = ["group", "inclusive", "excludes", "spanning", "code"];
65024
65024
  function mapAttributes(attrs) {
@@ -67829,7 +67829,7 @@ ${err.toString()}`);
67829
67829
  * Process collaboration migrations
67830
67830
  */
67831
67831
  processCollaborationMigrations() {
67832
- console.debug("[checkVersionMigrations] Current editor version", "1.13.0");
67832
+ console.debug("[checkVersionMigrations] Current editor version", "1.13.1");
67833
67833
  if (!this.options.ydoc) return;
67834
67834
  const metaMap = this.options.ydoc.getMap("meta");
67835
67835
  let docVersion = metaMap.get("version");
@@ -171785,7 +171785,7 @@ js: import "konva/skia-backend";
171785
171785
  this.config.colors = shuffleArray(this.config.colors);
171786
171786
  this.userColorMap = /* @__PURE__ */ new Map();
171787
171787
  this.colorIndex = 0;
171788
- this.version = "1.13.0";
171788
+ this.version = "1.13.1";
171789
171789
  this.#log("🦋 [superdoc] Using SuperDoc version:", this.version);
171790
171790
  this.superdocId = config2.superdocId || v4();
171791
171791
  this.colors = this.config.colors;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "superdoc",
3
3
  "type": "module",
4
- "version": "1.13.0",
4
+ "version": "1.13.1",
5
5
  "license": "AGPL-3.0",
6
6
  "repository": {
7
7
  "type": "git",