superdoc 1.0.0-beta.79 → 1.0.0-beta.80

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.
Files changed (29) hide show
  1. package/dist/chunks/{PdfViewer-DLPMtoVD.es.js → PdfViewer-Cl8-bF2d.es.js} +1 -1
  2. package/dist/chunks/{PdfViewer-Dn5MoKhX.cjs → PdfViewer-otVXTOCF.cjs} +1 -1
  3. package/dist/chunks/{index-X_javC2m.es.js → index-Da8gsiup.es.js} +3 -3
  4. package/dist/chunks/{index-DLvHMUJi.cjs → index-DvRDR0Q1.cjs} +3 -3
  5. package/dist/chunks/{index-lIKPN00V-Bn76jN3g.es.js → index-dhmURjT9-C4FbtHG8.es.js} +1 -1
  6. package/dist/chunks/{index-lIKPN00V-dYKYHttm.cjs → index-dhmURjT9-eBXRY_y8.cjs} +1 -1
  7. package/dist/chunks/{super-editor.es-37HP4-SX.cjs → super-editor.es-BPfJzTNn.cjs} +50 -8
  8. package/dist/chunks/{super-editor.es-eQ24GmlY.es.js → super-editor.es-Bo6Jt_tq.es.js} +50 -8
  9. package/dist/style.css +6 -6
  10. package/dist/super-editor/ai-writer.es.js +2 -2
  11. package/dist/super-editor/chunks/{converter-DqebDh5Y.js → converter-Cww1mCyd.js} +1 -1
  12. package/dist/super-editor/chunks/{docx-zipper-DNBbqIUN.js → docx-zipper-BlOp_CYx.js} +1 -1
  13. package/dist/super-editor/chunks/{editor-BHqPITqs.js → editor-D3MjMYeX.js} +38 -8
  14. package/dist/super-editor/chunks/{index-lIKPN00V.js → index-dhmURjT9.js} +1 -1
  15. package/dist/super-editor/chunks/{toolbar-gYGrkDSx.js → toolbar-CuJJlHlv.js} +2 -2
  16. package/dist/super-editor/converter.es.js +1 -1
  17. package/dist/super-editor/docx-zipper.es.js +2 -2
  18. package/dist/super-editor/editor.es.js +3 -3
  19. package/dist/super-editor/file-zipper.es.js +1 -1
  20. package/dist/super-editor/style.css +6 -6
  21. package/dist/super-editor/super-editor.es.js +19 -7
  22. package/dist/super-editor/toolbar.es.js +2 -2
  23. package/dist/super-editor.cjs +1 -1
  24. package/dist/super-editor.es.js +1 -1
  25. package/dist/superdoc.cjs +2 -2
  26. package/dist/superdoc.es.js +2 -2
  27. package/dist/superdoc.umd.js +52 -10
  28. package/dist/superdoc.umd.js.map +1 -1
  29. package/package.json +1 -1
@@ -1956,10 +1956,10 @@ https://github.com/ProseMirror/prosemirror-tables/blob/master/demo/index.html
1956
1956
  box-shadow: 0 0 4px rgba(74, 144, 226, 0.5);
1957
1957
  }
1958
1958
 
1959
- .editor-element[data-v-cb3fe66f] {
1959
+ .editor-element[data-v-209a1e8b] {
1960
1960
  position: relative;
1961
1961
  }
1962
- .super-editor-container[data-v-cb3fe66f] {
1962
+ .super-editor-container[data-v-209a1e8b] {
1963
1963
  width: auto;
1964
1964
  height: auto;
1965
1965
  min-width: 8in;
@@ -1968,14 +1968,14 @@ https://github.com/ProseMirror/prosemirror-tables/blob/master/demo/index.html
1968
1968
  display: flex;
1969
1969
  flex-direction: column;
1970
1970
  }
1971
- .ruler[data-v-cb3fe66f] {
1971
+ .ruler[data-v-209a1e8b] {
1972
1972
  margin-bottom: 2px;
1973
1973
  }
1974
- .super-editor[data-v-cb3fe66f] {
1974
+ .super-editor[data-v-209a1e8b] {
1975
1975
  color: initial;
1976
1976
  overflow: hidden;
1977
1977
  }
1978
- .placeholder-editor[data-v-cb3fe66f] {
1978
+ .placeholder-editor[data-v-209a1e8b] {
1979
1979
  position: absolute;
1980
1980
  top: 0;
1981
1981
  left: 0;
@@ -1987,7 +1987,7 @@ https://github.com/ProseMirror/prosemirror-tables/blob/master/demo/index.html
1987
1987
  background-color: white;
1988
1988
  box-sizing: border-box;
1989
1989
  }
1990
- .placeholder-title[data-v-cb3fe66f] {
1990
+ .placeholder-title[data-v-209a1e8b] {
1991
1991
  display: flex;
1992
1992
  justify-content: center;
1993
1993
  margin-bottom: 40px;
@@ -9,14 +9,14 @@ var __privateGet = (obj, member, getter) => (__accessCheck(obj, member, "read fr
9
9
  var __privateAdd = (obj, member, value) => member.has(obj) ? __typeError("Cannot add the same private member more than once") : member instanceof WeakSet ? member.add(obj) : member.set(obj, value);
10
10
  var __privateMethod = (obj, member, method) => (__accessCheck(obj, member, "access private method"), method);
11
11
  var _MARK_TOGGLE_NAMES, _SuperToolbar_instances, initToolbarGroups_fn, _interceptedCommands, makeToolbarItems_fn, initDefaultFonts_fn, updateHighlightColors_fn, deactivateAll_fn, updateToolbarHistory_fn, enrichTrackedChanges_fn, runCommandWithArgumentOnly_fn, syncStickyMarksFromState_fn, restoreStickyMarksIfNeeded_fn, ensureStoredMarksForMarkToggle_fn;
12
- import { aK as getDefaultExportFromCjs, a0 as v4, T as TextSelection$1, v as getMarkRange, aN as vClickOutside, aO as getActiveFormatting, aD as isInTable, O as findParentNode, ar as calculateResolvedParagraphProperties, a7 as twipsToLines, Q as isList, al as parseSizeUnit, a8 as pixelsToTwips, aP as getFileObject, P as PluginKey, a as Plugin } from "./chunks/converter-DqebDh5Y.js";
13
- import { ac, i, a9, aQ } from "./chunks/converter-DqebDh5Y.js";
14
- import { _ as _export_sfc, u as useHighContrastMode, a as getQuickFormatList, b as generateLinkedStyleString, c as getFileOpener, d as checkAndProcessImage, r as replaceSelectionWithImagePlaceholder, e as uploadAndInsertImage, f as collectTrackedChanges, i as isTrackedChangeActionAllowed, y as yUndoPluginKey, h as undoDepth, j as redoDepth, k as getEditorSurfaceElement, l as collectTrackedChangesForContext, s as shouldBypassContextMenu, S as SlashMenuPluginKey, m as generateRulerDefinition, n as clampHandlePosition, o as calculateMarginFromHandle, p as measureCache, q as isHeadless, E as Editor, t as getStarterExtensions, P as PresentationEditor, v as Placeholder, w as getRichTextExtensions, D as DecorationSet, x as Decoration, M as Mark, z as Extension, A as Attribute, N as Node } from "./chunks/editor-BHqPITqs.js";
15
- import { F, I, G, T, B, H, C } from "./chunks/editor-BHqPITqs.js";
12
+ import { aK as getDefaultExportFromCjs, a0 as v4, T as TextSelection$1, v as getMarkRange, aN as vClickOutside, aO as getActiveFormatting, aD as isInTable, O as findParentNode, ar as calculateResolvedParagraphProperties, a7 as twipsToLines, Q as isList, al as parseSizeUnit, a8 as pixelsToTwips, aP as getFileObject, P as PluginKey, a as Plugin } from "./chunks/converter-Cww1mCyd.js";
13
+ import { ac, i, a9, aQ } from "./chunks/converter-Cww1mCyd.js";
14
+ import { _ as _export_sfc, u as useHighContrastMode, a as getQuickFormatList, b as generateLinkedStyleString, c as getFileOpener, d as checkAndProcessImage, r as replaceSelectionWithImagePlaceholder, e as uploadAndInsertImage, f as collectTrackedChanges, i as isTrackedChangeActionAllowed, y as yUndoPluginKey, h as undoDepth, j as redoDepth, k as getEditorSurfaceElement, l as collectTrackedChangesForContext, s as shouldBypassContextMenu, S as SlashMenuPluginKey, m as generateRulerDefinition, n as clampHandlePosition, o as calculateMarginFromHandle, p as measureCache, q as isHeadless, E as Editor, t as getStarterExtensions, P as PresentationEditor, v as Placeholder, w as getRichTextExtensions, D as DecorationSet, x as Decoration, M as Mark, z as Extension, A as Attribute, N as Node } from "./chunks/editor-D3MjMYeX.js";
15
+ import { F, I, G, T, B, H, C } from "./chunks/editor-D3MjMYeX.js";
16
16
  import { ref, onMounted, createElementBlock, openBlock, normalizeClass, unref, Fragment, renderList, createElementVNode, withModifiers, toDisplayString, createCommentVNode, normalizeStyle, computed, watch, withDirectives, withKeys, vModelText, createTextVNode, createVNode, h, createApp, markRaw, nextTick, onBeforeUnmount, defineComponent, reactive, onUnmounted, renderSlot, useCssVars, shallowRef, createBlock, Teleport, withCtx, resolveDynamicComponent, normalizeProps, guardReactiveProps } from "vue";
17
- import { t as toolbarIcons, s as sanitizeNumber, T as Toolbar, p as plusIconSvg, a as trashIconSvg, b as borderNoneIconSvg, c as arrowsToDotIconSvg, d as arrowsLeftRightIconSvg, w as wrenchIconSvg, m as magicWandIcon, e as checkIconSvg$1, x as xMarkIconSvg, l as linkIconSvg, f as tableIconSvg, g as scissorsIconSvg, h as copyIconSvg, i as pasteIconSvg, u as useMessage, N as NSkeleton } from "./chunks/toolbar-gYGrkDSx.js";
17
+ import { t as toolbarIcons, s as sanitizeNumber, T as Toolbar, p as plusIconSvg, a as trashIconSvg, b as borderNoneIconSvg, c as arrowsToDotIconSvg, d as arrowsLeftRightIconSvg, w as wrenchIconSvg, m as magicWandIcon, e as checkIconSvg$1, x as xMarkIconSvg, l as linkIconSvg, f as tableIconSvg, g as scissorsIconSvg, h as copyIconSvg, i as pasteIconSvg, u as useMessage, N as NSkeleton } from "./chunks/toolbar-CuJJlHlv.js";
18
18
  import AIWriter from "./ai-writer.es.js";
19
- import { D } from "./chunks/docx-zipper-DNBbqIUN.js";
19
+ import { D } from "./chunks/docx-zipper-BlOp_CYx.js";
20
20
  import { createZip } from "./file-zipper.es.js";
21
21
  var eventemitter3 = { exports: {} };
22
22
  var hasRequiredEventemitter3;
@@ -6217,6 +6217,12 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
6217
6217
  };
6218
6218
  const updateImageResizeOverlay = (event) => {
6219
6219
  if (!editorElem.value) return;
6220
+ if (!(event.target instanceof Element)) {
6221
+ imageResizeState.visible = false;
6222
+ imageResizeState.imageElement = null;
6223
+ imageResizeState.blockId = null;
6224
+ return;
6225
+ }
6220
6226
  let target = event.target;
6221
6227
  while (target && target !== document.body) {
6222
6228
  if (target.classList?.contains("superdoc-image-resize-overlay") || target.closest?.(".superdoc-image-resize-overlay")) {
@@ -6228,6 +6234,12 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
6228
6234
  imageResizeState.blockId = target.getAttribute("data-sd-block-id");
6229
6235
  return;
6230
6236
  }
6237
+ if (target.classList?.contains("superdoc-inline-image") && target.hasAttribute("data-image-metadata")) {
6238
+ imageResizeState.visible = true;
6239
+ imageResizeState.imageElement = target;
6240
+ imageResizeState.blockId = target.getAttribute("data-pm-start");
6241
+ return;
6242
+ }
6231
6243
  target = target.parentElement;
6232
6244
  }
6233
6245
  imageResizeState.visible = false;
@@ -6607,7 +6619,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
6607
6619
  };
6608
6620
  }
6609
6621
  });
6610
- const SuperEditor = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["__scopeId", "data-v-cb3fe66f"]]);
6622
+ const SuperEditor = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["__scopeId", "data-v-209a1e8b"]]);
6611
6623
  const _hoisted_1 = ["innerHTML"];
6612
6624
  const _sfc_main = {
6613
6625
  __name: "SuperInput",
@@ -1,6 +1,6 @@
1
1
  import "vue";
2
- import { T } from "./chunks/toolbar-gYGrkDSx.js";
3
- import "./chunks/editor-BHqPITqs.js";
2
+ import { T } from "./chunks/toolbar-CuJJlHlv.js";
3
+ import "./chunks/editor-D3MjMYeX.js";
4
4
  export {
5
5
  T as default
6
6
  };
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
- const superEditor_es = require("./chunks/super-editor.es-37HP4-SX.cjs");
3
+ const superEditor_es = require("./chunks/super-editor.es-BPfJzTNn.cjs");
4
4
  require("./chunks/vue-jWLMl8Ts.cjs");
5
5
  exports.AIWriter = superEditor_es.AIWriter;
6
6
  exports.AnnotatorHelpers = superEditor_es.AnnotatorHelpers;
@@ -1,4 +1,4 @@
1
- import { A, a, _, C, D, E, b, P, S, c, d, e, f, g, T, h, i, j, k, l, m, n, o, p, r, q } from "./chunks/super-editor.es-eQ24GmlY.es.js";
1
+ import { A, a, _, C, D, E, b, P, S, c, d, e, f, g, T, h, i, j, k, l, m, n, o, p, r, q } from "./chunks/super-editor.es-Bo6Jt_tq.es.js";
2
2
  import "./chunks/vue-Dysv_7z5.es.js";
3
3
  export {
4
4
  A as AIWriter,
package/dist/superdoc.cjs CHANGED
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
- const superEditor_es = require("./chunks/super-editor.es-37HP4-SX.cjs");
4
- const superdoc = require("./chunks/index-DLvHMUJi.cjs");
3
+ const superEditor_es = require("./chunks/super-editor.es-BPfJzTNn.cjs");
4
+ const superdoc = require("./chunks/index-DvRDR0Q1.cjs");
5
5
  const blankDocx = require("./chunks/blank-docx-DfW3Eeh2.cjs");
6
6
  exports.AnnotatorHelpers = superEditor_es.AnnotatorHelpers;
7
7
  exports.Editor = superEditor_es.Editor;
@@ -1,5 +1,5 @@
1
- import { a, E, b, S, d, i, j, n, r, p, q } from "./chunks/super-editor.es-eQ24GmlY.es.js";
2
- import { D, H, P, S as S2, m, l } from "./chunks/index-X_javC2m.es.js";
1
+ import { a, E, b, S, d, i, j, n, r, p, q } from "./chunks/super-editor.es-Bo6Jt_tq.es.js";
2
+ import { D, H, P, S as S2, m, l } from "./chunks/index-Da8gsiup.es.js";
3
3
  import { B } from "./chunks/blank-docx-ABm6XYAA.es.js";
4
4
  export {
5
5
  a as AnnotatorHelpers,
@@ -42327,7 +42327,7 @@ Please report this to https://github.com/markedjs/marked.`, e) {
42327
42327
  static getStoredSuperdocVersion(docx) {
42328
42328
  return _SuperConverter2.getStoredCustomProperty(docx, "SuperdocVersion");
42329
42329
  }
42330
- static setStoredSuperdocVersion(docx = this.convertedXml, version2 = "1.0.0-beta.79") {
42330
+ static setStoredSuperdocVersion(docx = this.convertedXml, version2 = "1.0.0-beta.80") {
42331
42331
  return _SuperConverter2.setStoredCustomProperty(docx, "SuperdocVersion", version2, false);
42332
42332
  }
42333
42333
  /**
@@ -67373,7 +67373,7 @@ Please report this to https://github.com/markedjs/marked.`, e) {
67373
67373
  const shouldSkipNodeView = (editor) => {
67374
67374
  return isHeadless(editor);
67375
67375
  };
67376
- const summaryVersion = "1.0.0-beta.79";
67376
+ const summaryVersion = "1.0.0-beta.80";
67377
67377
  const nodeKeys = ["group", "content", "marks", "inline", "atom", "defining", "code", "tableRole", "summary"];
67378
67378
  const markKeys = ["group", "inclusive", "excludes", "spanning", "code"];
67379
67379
  function mapAttributes(attrs) {
@@ -68162,7 +68162,7 @@ Please report this to https://github.com/markedjs/marked.`, e) {
68162
68162
  { default: remarkStringify2 },
68163
68163
  { default: remarkGfm2 }
68164
68164
  ] = await Promise.all([
68165
- Promise.resolve().then(() => indexLIKPN00V),
68165
+ Promise.resolve().then(() => indexDhmURjT9),
68166
68166
  Promise.resolve().then(() => indexDRCvimau),
68167
68167
  Promise.resolve().then(() => indexC_x_N6Uh),
68168
68168
  Promise.resolve().then(() => indexD_sWOSiG),
@@ -68367,7 +68367,7 @@ Please report this to https://github.com/markedjs/marked.`, e) {
68367
68367
  * Process collaboration migrations
68368
68368
  */
68369
68369
  processCollaborationMigrations() {
68370
- console.debug("[checkVersionMigrations] Current editor version", "1.0.0-beta.79");
68370
+ console.debug("[checkVersionMigrations] Current editor version", "1.0.0-beta.80");
68371
68371
  if (!this.options.ydoc) return;
68372
68372
  const metaMap = this.options.ydoc.getMap("meta");
68373
68373
  let docVersion = metaMap.get("version");
@@ -80065,6 +80065,9 @@ ${l}
80065
80065
  const SAFE_ANCHOR_PATTERN = /^[A-Za-z0-9._-]+$/;
80066
80066
  const MAX_DATA_URL_LENGTH = 10 * 1024 * 1024;
80067
80067
  const VALID_IMAGE_DATA_URL = /^data:image\/(png|jpeg|jpg|gif|svg\+xml|webp|bmp|ico|tiff?);base64,/i;
80068
+ const MAX_RESIZE_MULTIPLIER = 3;
80069
+ const FALLBACK_MAX_DIMENSION = 1e3;
80070
+ const MIN_IMAGE_DIMENSION = 20;
80068
80071
  const AMBIGUOUS_LINK_PATTERNS = /^(click here|read more|more|link|here|this|download|view)$/i;
80069
80072
  const TRACK_CHANGE_BASE_CLASS = {
80070
80073
  insert: "track-insert-dec",
@@ -82011,14 +82014,25 @@ ${l}
82011
82014
  * - Only allows safe image MIME types (png, jpeg, gif, etc.) with base64 encoding
82012
82015
  * - Non-data URLs are sanitized through sanitizeUrl to prevent XSS
82013
82016
  *
82017
+ * METADATA ATTRIBUTE:
82018
+ * - Adds `data-image-metadata` attribute to enable interactive resizing via ImageResizeOverlay
82019
+ * - Metadata includes: originalWidth, originalHeight, aspectRatio, min/max dimensions
82020
+ * - Only added when run.width > 0 && run.height > 0 to prevent invalid metadata
82021
+ * - Max dimensions: 3x original size or 1000px (whichever is larger)
82022
+ * - Min dimensions: 20px to ensure visibility and interactivity
82023
+ *
82014
82024
  * @param run - The ImageRun to render containing image source, dimensions, and spacing
82015
82025
  * @returns HTMLElement (img) or null if src is missing or invalid
82016
82026
  *
82017
82027
  * @example
82018
82028
  * ```typescript
82019
- * // Valid data URL
82029
+ * // Valid data URL with metadata
82020
82030
  * renderImageRun({ kind: 'image', src: 'data:image/png;base64,iVBORw...', width: 100, height: 100 })
82021
- * // Returns: <img> element
82031
+ * // Returns: <img> element with data-image-metadata attribute
82032
+ *
82033
+ * // Invalid dimensions - no metadata
82034
+ * renderImageRun({ kind: 'image', src: 'data:image/png;base64,iVBORw...', width: 0, height: 0 })
82035
+ * // Returns: <img> element WITHOUT data-image-metadata attribute
82022
82036
  *
82023
82037
  * // Invalid MIME type
82024
82038
  * renderImageRun({ kind: 'image', src: 'data:text/html;base64,PHNjcmlwdD4...', width: 100, height: 100 })
@@ -82026,7 +82040,7 @@ ${l}
82026
82040
  *
82027
82041
  * // HTTP URL
82028
82042
  * renderImageRun({ kind: 'image', src: 'https://example.com/image.png', width: 100, height: 100 })
82029
- * // Returns: <img> element (after sanitization)
82043
+ * // Returns: <img> element (after sanitization) with data-image-metadata attribute
82030
82044
  * ```
82031
82045
  */
82032
82046
  renderImageRun(run2) {
@@ -82054,6 +82068,22 @@ ${l}
82054
82068
  }
82055
82069
  img2.width = run2.width;
82056
82070
  img2.height = run2.height;
82071
+ if (run2.width > 0 && run2.height > 0) {
82072
+ const aspectRatio = run2.width / run2.height;
82073
+ const inlineImageMetadata = {
82074
+ originalWidth: run2.width,
82075
+ originalHeight: run2.height,
82076
+ // Max dimensions: MAX_RESIZE_MULTIPLIER x original size or FALLBACK_MAX_DIMENSION, whichever is larger
82077
+ // This provides generous constraints while preventing excessive scaling
82078
+ maxWidth: Math.max(run2.width * MAX_RESIZE_MULTIPLIER, FALLBACK_MAX_DIMENSION),
82079
+ maxHeight: Math.max(run2.height * MAX_RESIZE_MULTIPLIER, FALLBACK_MAX_DIMENSION),
82080
+ aspectRatio,
82081
+ // Min dimensions: MIN_IMAGE_DIMENSION to ensure images remain visible and interactive
82082
+ minWidth: MIN_IMAGE_DIMENSION,
82083
+ minHeight: MIN_IMAGE_DIMENSION
82084
+ };
82085
+ img2.setAttribute("data-image-metadata", JSON.stringify(inlineImageMetadata));
82086
+ }
82057
82087
  img2.alt = run2.alt ?? "";
82058
82088
  if (run2.title) {
82059
82089
  img2.title = run2.title;
@@ -132822,6 +132852,12 @@ ${style2}
132822
132852
  };
132823
132853
  const updateImageResizeOverlay = (event) => {
132824
132854
  if (!editorElem.value) return;
132855
+ if (!(event.target instanceof Element)) {
132856
+ imageResizeState.visible = false;
132857
+ imageResizeState.imageElement = null;
132858
+ imageResizeState.blockId = null;
132859
+ return;
132860
+ }
132825
132861
  let target = event.target;
132826
132862
  while (target && target !== document.body) {
132827
132863
  if (target.classList?.contains("superdoc-image-resize-overlay") || target.closest?.(".superdoc-image-resize-overlay")) {
@@ -132833,6 +132869,12 @@ ${style2}
132833
132869
  imageResizeState.blockId = target.getAttribute("data-sd-block-id");
132834
132870
  return;
132835
132871
  }
132872
+ if (target.classList?.contains("superdoc-inline-image") && target.hasAttribute("data-image-metadata")) {
132873
+ imageResizeState.visible = true;
132874
+ imageResizeState.imageElement = target;
132875
+ imageResizeState.blockId = target.getAttribute("data-pm-start");
132876
+ return;
132877
+ }
132836
132878
  target = target.parentElement;
132837
132879
  }
132838
132880
  imageResizeState.visible = false;
@@ -133212,7 +133254,7 @@ ${style2}
133212
133254
  };
133213
133255
  }
133214
133256
  });
133215
- const SuperEditor = /* @__PURE__ */ _export_sfc$1(_sfc_main$1$1, [["__scopeId", "data-v-cb3fe66f"]]);
133257
+ const SuperEditor = /* @__PURE__ */ _export_sfc$1(_sfc_main$1$1, [["__scopeId", "data-v-209a1e8b"]]);
133216
133258
  const _hoisted_1$h = ["innerHTML"];
133217
133259
  const _sfc_main$i = {
133218
133260
  __name: "SuperInput",
@@ -150432,7 +150474,7 @@ ${style2}
150432
150474
  this.config.colors = shuffleArray(this.config.colors);
150433
150475
  this.userColorMap = /* @__PURE__ */ new Map();
150434
150476
  this.colorIndex = 0;
150435
- this.version = "1.0.0-beta.79";
150477
+ this.version = "1.0.0-beta.80";
150436
150478
  this.#log("🦋 [superdoc] Using SuperDoc version:", this.version);
150437
150479
  this.superdocId = config2.superdocId || v4();
150438
150480
  this.colors = this.config.colors;
@@ -152904,7 +152946,7 @@ ${style2}
152904
152946
  value && typeof value === "object" && "byteLength" in value && "byteOffset" in value
152905
152947
  );
152906
152948
  }
152907
- const indexLIKPN00V = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
152949
+ const indexDhmURjT9 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
152908
152950
  __proto__: null,
152909
152951
  unified
152910
152952
  }, Symbol.toStringTag, { value: "Module" }));