superdoc 1.0.0-beta.7 → 1.0.0-beta.8

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 (27) hide show
  1. package/dist/chunks/{PdfViewer-hAYAlKzI.es.js → PdfViewer-BfEwF25T.es.js} +1 -1
  2. package/dist/chunks/{PdfViewer-T4fTm1XF.cjs → PdfViewer-DJ7BWUbW.cjs} +1 -1
  3. package/dist/chunks/{index-DGYP5Xod.es.js → index-BCZ82zY5.es.js} +3 -3
  4. package/dist/chunks/{index-DV613LhK-CqFLIBmd.cjs → index-DJrRlj1_-E5dmStMF.cjs} +1 -1
  5. package/dist/chunks/{index-DV613LhK-BY095UD2.es.js → index-DJrRlj1_-HA-nVwDO.es.js} +1 -1
  6. package/dist/chunks/{index-CYQjWGo5.cjs → index-DMwWcmrk.cjs} +3 -3
  7. package/dist/chunks/{super-editor.es-DmhQckCV.cjs → super-editor.es-Bo_fWMy6.cjs} +150 -39
  8. package/dist/chunks/{super-editor.es-CcaD69pQ.es.js → super-editor.es-MRWI4sfo.es.js} +150 -39
  9. package/dist/super-editor/ai-writer.es.js +2 -2
  10. package/dist/super-editor/chunks/{converter-BM6gXTRC.js → converter-CflxlFnM.js} +1 -1
  11. package/dist/super-editor/chunks/{docx-zipper-fwXPJGKu.js → docx-zipper-DKWL4mo2.js} +1 -1
  12. package/dist/super-editor/chunks/{editor-RPTrfArg.js → editor-B9V7oJbW.js} +164 -53
  13. package/dist/super-editor/chunks/{index-DV613LhK.js → index-DJrRlj1_.js} +1 -1
  14. package/dist/super-editor/chunks/{toolbar-DacKXz_n.js → toolbar-B5WlPN4s.js} +2 -2
  15. package/dist/super-editor/converter.es.js +1 -1
  16. package/dist/super-editor/docx-zipper.es.js +2 -2
  17. package/dist/super-editor/editor.es.js +3 -3
  18. package/dist/super-editor/file-zipper.es.js +1 -1
  19. package/dist/super-editor/super-editor.es.js +6 -6
  20. package/dist/super-editor/toolbar.es.js +2 -2
  21. package/dist/super-editor.cjs +1 -1
  22. package/dist/super-editor.es.js +1 -1
  23. package/dist/superdoc.cjs +2 -2
  24. package/dist/superdoc.es.js +2 -2
  25. package/dist/superdoc.umd.js +152 -41
  26. package/dist/superdoc.umd.js.map +1 -1
  27. package/package.json +1 -1
@@ -12,8 +12,8 @@ var __privateMethod = (obj, member, method) => (__accessCheck(obj, member, "acce
12
12
  var _Attribute_static, getGlobalAttributes_fn, getNodeAndMarksAttributes_fn, _Schema_static, createNodesSchema_fn, createMarksSchema_fn, _events, _ExtensionService_instances, setupExtensions_fn, attachEditorEvents_fn, _editor, _stateValidators, _xmlValidators, _requiredNodeTypes, _requiredMarkTypes, _SuperValidator_instances, initializeValidators_fn, collectValidatorRequirements_fn, analyzeDocument_fn, dispatchWithFallback_fn, _commandService, _Editor_instances, initContainerElement_fn, init_fn, initRichText_fn, onFocus_fn, checkHeadless_fn, registerCopyHandler_fn, insertNewFileData_fn, getPluginKeyName_fn, createExtensionService_fn, createCommandService_fn, createConverter_fn, initMedia_fn, initFonts_fn, checkFonts_fn, determineUnsupportedFonts_fn, createSchema_fn, generatePmData_fn, createView_fn, onCollaborationReady_fn, initComments_fn, dispatchTransaction_fn, handleNodeSelection_fn, prepareDocumentForImport_fn, prepareDocumentForExport_fn, endCollaboration_fn, validateDocumentInit_fn, validateDocumentExport_fn, initDevTools_fn, _map, _editor2, _descriptors, _collections, _editorEntries, _maxCachedEditors, _editorAccessOrder, _pendingCreations, _cacheHits, _cacheMisses, _evictions, _HeaderFooterEditorManager_instances, hasConverter_fn, extractCollections_fn, collectDescriptors_fn, teardownMissingEditors_fn, teardownEditors_fn, createEditor_fn, createEditorContainer_fn, registerConverterEditor_fn, unregisterConverterEditor_fn, updateAccessOrder_fn, enforceCacheSizeLimit_fn, _manager, _mediaFiles, _blockCache, _HeaderFooterLayoutAdapter_instances, getBlocks_fn, getConverterContext_fn, _instances, _options, _editor3, _visibleHost, _viewportHost, _painterHost, _selectionOverlay, _hiddenHost, _layoutOptions, _layoutState, _domPainter, _layoutError, _layoutErrorState, _errorBanner, _errorBannerMessage, _telemetryEmitter, _renderScheduled, _pendingDocChange, _isRerendering, _selectionUpdateScheduled, _remoteCursorUpdateScheduled, _rafHandle, _editorListeners, _sectionMetadata, _documentMode, _inputBridge, _trackedChangesMode, _trackedChangesEnabled, _trackedChangesOverrides, _headerFooterManager, _headerFooterAdapter, _headerFooterIdentifier, _headerLayoutResults, _footerLayoutResults, _headerDecorationProvider, _footerDecorationProvider, _headerFooterManagerCleanups, _headerRegions, _footerRegions, _session, _activeHeaderFooterEditor, _hoverOverlay, _hoverTooltip, _modeBanner, _ariaLiveRegion, _hoverRegion, _clickCount, _lastClickTime, _lastClickPosition, _remoteCursorState, _remoteCursorDirty, _remoteCursorOverlay, _localSelectionLayer, _awarenessCleanup, _scrollCleanup, _remoteCursorRafHandle, _scrollTimeout, _PresentationEditor_instances, aggregateLayoutBounds_fn, safeCleanup_fn, setupEditorListeners_fn, setupCollaborationCursors_fn, normalizeAwarenessStates_fn, getFallbackColor_fn, getValidatedColor_fn, scheduleRemoteCursorUpdate_fn, scheduleRemoteCursorReRender_fn, updateRemoteCursors_fn, renderRemoteCursors_fn, renderRemoteCaret_fn, renderRemoteCursorLabel_fn, renderRemoteSelection_fn, setupPointerHandlers_fn, setupInputBridge_fn, initHeaderFooterRegistry_fn, _handlePointerDown, getFirstTextPosition_fn, registerPointerClick_fn, selectWordAt_fn, selectParagraphAt_fn, isWordCharacter_fn, _handlePointerMove, _handlePointerLeave, _handleDoubleClick, _handleKeyDown, focusHeaderFooterShortcut_fn, scheduleRerender_fn, flushRerenderQueue_fn, rerender_fn, ensurePainter_fn, scheduleSelectionUpdate_fn, updateSelection_fn, resolveLayoutOptions_fn, buildHeaderFooterInput_fn, computeHeaderFooterConstraints_fn, updateDecorationProviders_fn, createDecorationProvider_fn, computeDecorationBox_fn, rebuildHeaderFooterRegions_fn, hitTestHeaderFooterRegion_fn, pointInRegion_fn, activateHeaderFooterRegion_fn, enterHeaderFooterMode_fn, exitHeaderFooterMode_fn, getActiveDomTarget_fn, emitHeaderFooterModeChanged_fn, emitHeaderFooterEditingContext_fn, updateAwarenessSession_fn, updateModeBanner_fn, announce_fn, validateHeaderFooterEditPermission_fn, emitHeaderFooterEditBlocked_fn, resolveDescriptorForRegion_fn, getBodyPageHeight_fn, getHeaderFooterPageHeight_fn, renderSelectionRects_fn, renderHoverRegion_fn, clearHoverRegion_fn, renderCaretOverlay_fn, getHeaderFooterContext_fn, computeHeaderFooterSelectionRects_fn, computeHeaderFooterCaretRect_fn, syncTrackedChangesPreferences_fn, deriveTrackedChangesMode_fn, deriveTrackedChangesEnabled_fn, getTrackChangesPluginState_fn, computeDefaultLayoutDefaults_fn, parseColumns_fn, inchesToPx_fn, applyZoom_fn, createLayoutMetrics_fn, convertPageLocalToOverlayCoords_fn, normalizeClientPoint_fn, computeCaretLayoutRect_fn, findLineContainingPos_fn, lineHeightBeforeIndex_fn, getCurrentPageIndex_fn, findRegionForPage_fn, handleLayoutError_fn, decorateError_fn, showLayoutErrorBanner_fn, dismissErrorBanner_fn, createHiddenHost_fn, _windowRoot, _layoutSurfaces, _getTargetDom, _onTargetChanged, _listeners, _currentTarget, _destroyed, _useWindowFallback, _PresentationInputBridge_instances, addListener_fn, dispatchToTarget_fn, forwardKeyboardEvent_fn, forwardTextEvent_fn, forwardCompositionEvent_fn, forwardContextMenu_fn, isEventOnActiveTarget_fn, shouldSkipSurface_fn, isInLayoutSurface_fn, getListenerTargets_fn, isPlainCharacterKey_fn, _DocumentSectionView_instances, init_fn2, addToolTip_fn, _ParagraphNodeView_instances, updateHTMLAttributes_fn, updateDOMStyles_fn, updateListStyles_fn, initList_fn, checkIsList_fn, createMarker_fn, createSeparator_fn, calculateTabSeparatorStyle_fn, calculateMarkerStyle_fn, removeList_fn, getParagraphContext_fn, scheduleAnimation_fn, cancelScheduledAnimation_fn, _FieldAnnotationView_instances, createAnnotation_fn, _AutoPageNumberNodeView_instances, renderDom_fn, scheduleUpdateNodeStyle_fn;
13
13
  import * as Y from "yjs";
14
14
  import { UndoManager, Item as Item$1, ContentType, Text as Text$1, XmlElement, encodeStateAsUpdate } from "yjs";
15
- import { P as PluginKey, a as Plugin, M as Mapping, N as NodeSelection, S as Selection, T as TextSelection, b as Slice, D as DOMSerializer, F as Fragment, c as DOMParser$1, d as Mark$1, e as dropPoint, A as AllSelection, p as process$1, B as Buffer2, f as callOrGet, g as getExtensionConfigField, h as getMarkType, i as getMarksFromSelection, j as getNodeType, k as getSchemaTypeNameByName, l as Schema$1, m as cleanSchemaItem, n as canSplit, o as defaultBlockAt$1, q as liftTarget, r as canJoin, s as joinPoint, t as replaceStep$1, R as ReplaceAroundStep$1, u as isTextSelection, v as getMarkRange, w as isMarkActive, x as isNodeActive, y as deleteProps, z as processContent, C as htmlHandler, E as ReplaceStep, G as twipsToInches, H as inchesToTwips, I as ptToTwips, J as getResolvedParagraphProperties, K as linesToTwips, L as ListHelpers, O as updateNumberingProperties, Q as changeListLevel, U as findParentNode, V as isList, W as isMacOS, X as isIOS, Y as getSchemaTypeByName, Z as inputRulesPlugin, _ as TrackDeleteMarkName, $ as TrackInsertMarkName, a0 as v4, a1 as TrackFormatMarkName, a2 as comments_module_events, a3 as findMark, a4 as objectIncludes, a5 as AddMarkStep, a6 as RemoveMarkStep, a7 as twipsToLines, a8 as pixelsToTwips, a9 as helpers, aa as posToDOMRect, ab as CommandService, ac as SuperConverter, ad as createDocument, ae as createDocFromMarkdown, af as createDocFromHTML, ag as EditorState, ah as isActive, ai as unflattenListsInHtml, aj as resolveParagraphProperties, ak as _getReferencedTableStyles, al as parseSizeUnit, am as minMax, an as updateDOMAttributes, ao as findChildren$5, ap as generateRandomSigned32BitIntStrId, aq as calculateResolvedParagraphProperties, ar as encodeCSSFromPPr, as as twipsToPixels$2, at as resolveRunProperties, au as encodeCSSFromRPr, av as generateOrderedListIndex, aw as docxNumberingHelpers, ax as InputRule, ay as convertSizeToCSS, az as SelectionRange, aA as Transform, aB as findParentNodeClosestToPos, aC as isInTable$1, aD as generateDocxRandomId, aE as insertNewRelationship, aF as inchesToPixels, aG as kebabCase, aH as getUnderlineCssString } from "./converter-BM6gXTRC.js";
16
- import { D as DocxZipper } from "./docx-zipper-fwXPJGKu.js";
15
+ import { P as PluginKey, a as Plugin, M as Mapping, N as NodeSelection, S as Selection, T as TextSelection, b as Slice, D as DOMSerializer, F as Fragment, c as DOMParser$1, d as Mark$1, e as dropPoint, A as AllSelection, p as process$1, B as Buffer2, f as callOrGet, g as getExtensionConfigField, h as getMarkType, i as getMarksFromSelection, j as getNodeType, k as getSchemaTypeNameByName, l as Schema$1, m as cleanSchemaItem, n as canSplit, o as defaultBlockAt$1, q as liftTarget, r as canJoin, s as joinPoint, t as replaceStep$1, R as ReplaceAroundStep$1, u as isTextSelection, v as getMarkRange, w as isMarkActive, x as isNodeActive, y as deleteProps, z as processContent, C as htmlHandler, E as ReplaceStep, G as twipsToInches, H as inchesToTwips, I as ptToTwips, J as getResolvedParagraphProperties, K as linesToTwips, L as ListHelpers, O as updateNumberingProperties, Q as changeListLevel, U as findParentNode, V as isList, W as isMacOS, X as isIOS, Y as getSchemaTypeByName, Z as inputRulesPlugin, _ as TrackDeleteMarkName, $ as TrackInsertMarkName, a0 as v4, a1 as TrackFormatMarkName, a2 as comments_module_events, a3 as findMark, a4 as objectIncludes, a5 as AddMarkStep, a6 as RemoveMarkStep, a7 as twipsToLines, a8 as pixelsToTwips, a9 as helpers, aa as posToDOMRect, ab as CommandService, ac as SuperConverter, ad as createDocument, ae as createDocFromMarkdown, af as createDocFromHTML, ag as EditorState, ah as isActive, ai as unflattenListsInHtml, aj as resolveParagraphProperties, ak as _getReferencedTableStyles, al as parseSizeUnit, am as minMax, an as updateDOMAttributes, ao as findChildren$5, ap as generateRandomSigned32BitIntStrId, aq as calculateResolvedParagraphProperties, ar as encodeCSSFromPPr, as as twipsToPixels$2, at as resolveRunProperties, au as encodeCSSFromRPr, av as generateOrderedListIndex, aw as docxNumberingHelpers, ax as InputRule, ay as convertSizeToCSS, az as SelectionRange, aA as Transform, aB as findParentNodeClosestToPos, aC as isInTable$1, aD as generateDocxRandomId, aE as insertNewRelationship, aF as inchesToPixels, aG as kebabCase, aH as getUnderlineCssString } from "./converter-CflxlFnM.js";
16
+ import { D as DocxZipper } from "./docx-zipper-DKWL4mo2.js";
17
17
  import { ref, computed, createElementBlock, openBlock, withModifiers, Fragment as Fragment$1, renderList, normalizeClass, createCommentVNode, toDisplayString, createElementVNode, createApp } from "vue";
18
18
  var GOOD_LEAF_SIZE = 200;
19
19
  var RopeSequence = function RopeSequence2() {
@@ -13553,7 +13553,7 @@ const isHeadless = (editor) => {
13553
13553
  const shouldSkipNodeView = (editor) => {
13554
13554
  return isHeadless(editor);
13555
13555
  };
13556
- const summaryVersion = "1.0.0-beta.7";
13556
+ const summaryVersion = "1.0.0-beta.8";
13557
13557
  const nodeKeys = ["group", "content", "marks", "inline", "atom", "defining", "code", "tableRole", "summary"];
13558
13558
  const markKeys = ["group", "inclusive", "excludes", "spanning", "code"];
13559
13559
  function mapAttributes(attrs) {
@@ -14335,7 +14335,7 @@ const _Editor = class _Editor extends EventEmitter {
14335
14335
  { default: remarkStringify },
14336
14336
  { default: remarkGfm }
14337
14337
  ] = await Promise.all([
14338
- import("./index-DV613LhK.js"),
14338
+ import("./index-DJrRlj1_.js"),
14339
14339
  import("./index-DRCvimau.js"),
14340
14340
  import("./index-C_x_N6Uh.js"),
14341
14341
  import("./index-D_sWOSiG.js"),
@@ -14540,7 +14540,7 @@ const _Editor = class _Editor extends EventEmitter {
14540
14540
  * Process collaboration migrations
14541
14541
  */
14542
14542
  processCollaborationMigrations() {
14543
- console.debug("[checkVersionMigrations] Current editor version", "1.0.0-beta.7");
14543
+ console.debug("[checkVersionMigrations] Current editor version", "1.0.0-beta.8");
14544
14544
  if (!this.options.ydoc) return;
14545
14545
  const metaMap = this.options.ydoc.getMap("meta");
14546
14546
  let docVersion = metaMap.get("version");
@@ -18180,8 +18180,6 @@ function calculateTabWidth(params2) {
18180
18180
  const beforeWidth = measureText2 ? measureText2(before) : 0;
18181
18181
  width -= beforeWidth;
18182
18182
  }
18183
- } else if (alignment === "bar") {
18184
- width = 0;
18185
18183
  }
18186
18184
  if (width < 1) {
18187
18185
  return fallbackWidth();
@@ -23178,11 +23176,11 @@ class HeaderFooterLayoutCache {
23178
23176
  }
23179
23177
  }
23180
23178
  const sharedHeaderFooterCache = new HeaderFooterLayoutCache();
23181
- async function layoutHeaderFooterWithCache(sections, constraints, measureBlock2, cache = sharedHeaderFooterCache) {
23179
+ async function layoutHeaderFooterWithCache(sections, constraints, measureBlock2, cache2 = sharedHeaderFooterCache) {
23182
23180
  const result = {};
23183
23181
  for (const [type, blocks] of Object.entries(sections)) {
23184
23182
  if (!blocks || blocks.length === 0) continue;
23185
- const measures = await cache.measureBlocks(blocks, constraints, measureBlock2);
23183
+ const measures = await cache2.measureBlocks(blocks, constraints, measureBlock2);
23186
23184
  const layout = layoutHeaderFooter(blocks, measures, constraints);
23187
23185
  result[type] = { blocks, measures, layout };
23188
23186
  }
@@ -23224,14 +23222,14 @@ function measureRunSliceWidth(run, fromChar, toChar) {
23224
23222
  return metrics.width;
23225
23223
  }
23226
23224
  function lineHeightForRuns(runs, fromRun, toRun) {
23227
- let maxSize = 0;
23225
+ let maxSize2 = 0;
23228
23226
  for (let i = fromRun; i <= toRun; i += 1) {
23229
23227
  const run = runs[i];
23230
23228
  const textRun = run && isTextRun(run) ? run : null;
23231
23229
  const size = textRun?.fontSize ?? 16;
23232
- if (size > maxSize) maxSize = size;
23230
+ if (size > maxSize2) maxSize2 = size;
23233
23231
  }
23234
- return maxSize * 1.2;
23232
+ return maxSize2 * 1.2;
23235
23233
  }
23236
23234
  function remeasureParagraph(block, maxWidth) {
23237
23235
  const runs = block.runs ?? [];
@@ -28834,6 +28832,45 @@ function normalizeRotation(rotation) {
28834
28832
  function degToRad(degrees) {
28835
28833
  return degrees * Math.PI / 180;
28836
28834
  }
28835
+ const defaultMaxSize = 5e3;
28836
+ let maxSize = defaultMaxSize;
28837
+ const cache$1 = /* @__PURE__ */ new Map();
28838
+ const makeKey = (text, font, letterSpacing) => {
28839
+ return `${text}|${font}|${letterSpacing || 0}`;
28840
+ };
28841
+ function getMeasuredTextWidth(text, font, letterSpacing, ctx2) {
28842
+ if (text.length > 32e3) {
28843
+ text = text.substring(0, 32e3);
28844
+ }
28845
+ const key2 = makeKey(text, font, letterSpacing);
28846
+ const hit = cache$1.get(key2);
28847
+ if (hit !== void 0) {
28848
+ cache$1.delete(key2);
28849
+ cache$1.set(key2, hit);
28850
+ return hit.width;
28851
+ }
28852
+ try {
28853
+ ctx2.font = font;
28854
+ const metrics = ctx2.measureText(text);
28855
+ const advanceWidth = metrics.width;
28856
+ const paintedWidth = (metrics.actualBoundingBoxLeft || 0) + (metrics.actualBoundingBoxRight || 0);
28857
+ const baseWidth = Math.max(advanceWidth, paintedWidth);
28858
+ const extra = letterSpacing ? Math.max(0, text.length - 1) * letterSpacing : 0;
28859
+ const width = baseWidth + extra;
28860
+ cache$1.set(key2, { width });
28861
+ evictIfNeeded();
28862
+ return width;
28863
+ } catch {
28864
+ return 0;
28865
+ }
28866
+ }
28867
+ function evictIfNeeded() {
28868
+ while (cache$1.size > maxSize) {
28869
+ const oldestKey = cache$1.keys().next().value;
28870
+ if (oldestKey === void 0) break;
28871
+ cache$1.delete(oldestKey);
28872
+ }
28873
+ }
28837
28874
  const { computeTabStops } = Engines;
28838
28875
  let canvasContext = null;
28839
28876
  const DEFAULT_TAB_INTERVAL_TWIPS = 720;
@@ -28878,8 +28915,7 @@ function measureText(text, font, ctx2, _fontFamily, _letterSpacing) {
28878
28915
  const metrics = ctx2.measureText(text);
28879
28916
  const advanceWidth = metrics.width;
28880
28917
  const paintedWidth = (metrics.actualBoundingBoxLeft || 0) + (metrics.actualBoundingBoxRight || 0);
28881
- const baseWidth = Math.max(advanceWidth, paintedWidth);
28882
- return baseWidth;
28918
+ return Math.max(advanceWidth, paintedWidth);
28883
28919
  }
28884
28920
  const MIN_SINGLE_LINE_PX = 12 * 96 / 72;
28885
28921
  function calculateTypographyMetrics(fontSize, spacing) {
@@ -29460,13 +29496,9 @@ const getPrimaryRun = (paragraph) => {
29460
29496
  };
29461
29497
  };
29462
29498
  const measureRunWidth = (text, font, ctx2, run) => {
29463
- const baseWidth = measureText(text, font, ctx2);
29464
- const letterSpacing = run.kind !== "tab" ? run.letterSpacing : void 0;
29465
- if (!letterSpacing) {
29466
- return baseWidth;
29467
- }
29468
- const extra = Math.max(0, text.length - 1) * letterSpacing;
29469
- return roundValue(baseWidth + extra);
29499
+ const letterSpacing = run.kind !== "tab" ? run.letterSpacing || 0 : 0;
29500
+ const width = getMeasuredTextWidth(text, font, letterSpacing, ctx2);
29501
+ return roundValue(width);
29470
29502
  };
29471
29503
  const appendSegment = (segments, runIndex, fromChar, toChar, width, x) => {
29472
29504
  if (!segments) return;
@@ -36530,20 +36562,20 @@ function calculateTabStyle(nodeSize2, view, pos, blockParent2, paragraphContext,
36530
36562
  const tabHeight = paragraphContext.tabHeight;
36531
36563
  paragraphContext.accumulatedTabWidth = accumulatedTabWidth + tabWidth;
36532
36564
  return `width: ${tabWidth}px; height: ${tabHeight}; ${extraStyles}`;
36533
- } catch (error) {
36565
+ } catch {
36534
36566
  return null;
36535
36567
  }
36536
36568
  }
36537
- function findParagraphContext($pos, cache, helpers2) {
36569
+ function findParagraphContext($pos, cache2, helpers2) {
36538
36570
  for (let depth = $pos.depth; depth >= 0; depth--) {
36539
36571
  const node = $pos.node(depth);
36540
36572
  if (node?.type?.name === "paragraph") {
36541
36573
  const startPos = $pos.start(depth);
36542
- if (!cache.has(startPos)) {
36574
+ if (!cache2.has(startPos)) {
36543
36575
  const paragraphContext = extractParagraphContext(node, startPos, helpers2, depth);
36544
- cache.set(startPos, paragraphContext);
36576
+ cache2.set(startPos, paragraphContext);
36545
36577
  }
36546
- return cache.get(startPos);
36578
+ return cache2.get(startPos);
36547
36579
  }
36548
36580
  }
36549
36581
  return null;
@@ -37672,6 +37704,19 @@ const CommentsMark = Mark.create({
37672
37704
  return [CommentMarkName, Attribute.mergeAttributes(this.options.htmlAttributes, htmlAttributes)];
37673
37705
  }
37674
37706
  });
37707
+ let cache = /* @__PURE__ */ new WeakMap();
37708
+ function getParagraphContext(paragraph, startPos, helpers2, revision, compute) {
37709
+ const cached = cache.get(paragraph);
37710
+ if (cached && cached.revision === revision) {
37711
+ return cached.context;
37712
+ }
37713
+ const context = compute(paragraph, startPos, helpers2);
37714
+ cache.set(paragraph, { revision, context });
37715
+ return context;
37716
+ }
37717
+ function clearAllParagraphContexts() {
37718
+ cache = /* @__PURE__ */ new WeakMap();
37719
+ }
37675
37720
  const leaderStyles = {
37676
37721
  dot: "border-bottom: 1px dotted black;",
37677
37722
  heavy: "border-bottom: 2px solid black;",
@@ -37688,6 +37733,14 @@ function createLayoutRequest(doc2, paragraphPos, view, helpers2, revision, parag
37688
37733
  if (!paragraphContext) return null;
37689
37734
  const paragraphId = paragraphIdFromPos(paragraphContext.startPos);
37690
37735
  const paragraphNode = paragraphContext.paragraph;
37736
+ const cachedContext = getParagraphContext(
37737
+ paragraphNode,
37738
+ paragraphContext.startPos,
37739
+ helpers2,
37740
+ revision,
37741
+ () => extractParagraphContext(paragraphNode, paragraphContext.startPos, helpers2, paragraphContext.paragraphDepth)
37742
+ );
37743
+ const effectiveContext = cachedContext || paragraphContext;
37691
37744
  const { entries } = flattenParagraph(paragraphNode, paragraphContext.startPos);
37692
37745
  const spans = [];
37693
37746
  let tabIndex = 0;
@@ -37715,13 +37768,13 @@ function createLayoutRequest(doc2, paragraphPos, view, helpers2, revision, parag
37715
37768
  });
37716
37769
  }
37717
37770
  });
37718
- const tabStops = Array.isArray(paragraphContext.tabStops) ? [...paragraphContext.tabStops] : [];
37719
- const hangingPx = twipsToPixels(Number(paragraphContext.indent?.hanging) || 0);
37720
- if (hangingPx > 0 && paragraphContext.indentWidth != null) {
37721
- tabStops.unshift({ val: "start", pos: paragraphContext.indentWidth + hangingPx, leader: "none" });
37771
+ const tabStops = Array.isArray(effectiveContext.tabStops) ? [...effectiveContext.tabStops] : [];
37772
+ const hangingPx = twipsToPixels(Number(effectiveContext.indent?.hanging) || 0);
37773
+ if (hangingPx > 0 && effectiveContext.indentWidth != null) {
37774
+ tabStops.unshift({ val: "start", pos: effectiveContext.indentWidth + hangingPx, leader: "none" });
37722
37775
  }
37723
- const paragraphWidth = getBlockNodeWidth(view, paragraphContext.startPos) ?? defaultLineLength;
37724
- const indentWidth = paragraphContext.indentWidth ?? getIndentWidth(view, paragraphContext.startPos, paragraphContext.indent);
37776
+ const paragraphWidth = getBlockNodeWidth(view, effectiveContext.startPos) ?? defaultLineLength;
37777
+ const indentWidth = effectiveContext.indentWidth ?? getIndentWidth(view, effectiveContext.startPos, effectiveContext.indent);
37725
37778
  return {
37726
37779
  paragraphId,
37727
37780
  revision,
@@ -37729,9 +37782,9 @@ function createLayoutRequest(doc2, paragraphPos, view, helpers2, revision, parag
37729
37782
  defaultTabDistance,
37730
37783
  defaultLineLength,
37731
37784
  indents: {
37732
- left: twipsToPixels(Number(paragraphContext.indent?.left) || 0),
37733
- right: twipsToPixels(Number(paragraphContext.indent?.right) || 0),
37734
- firstLine: twipsToPixels(Number(paragraphContext.indent?.firstLine) || 0),
37785
+ left: twipsToPixels(Number(effectiveContext.indent?.left) || 0),
37786
+ right: twipsToPixels(Number(effectiveContext.indent?.right) || 0),
37787
+ firstLine: twipsToPixels(Number(effectiveContext.indent?.firstLine) || 0),
37735
37788
  hanging: hangingPx
37736
37789
  },
37737
37790
  tabStops,
@@ -37896,31 +37949,58 @@ const TabNode = Node$1.create({
37896
37949
  key: new PluginKey("tabPlugin"),
37897
37950
  state: {
37898
37951
  init() {
37899
- return { decorations: false, revision: 0 };
37952
+ const initialDecorations = buildInitialDecorations(view.state.doc, view, helpers2, 0);
37953
+ return { decorations: initialDecorations, revision: 0 };
37900
37954
  },
37901
37955
  apply(tr, { decorations, revision }, _oldState, newState) {
37902
- if (!decorations) {
37903
- const newDecorations2 = buildDecorations(newState.doc, view, helpers2, 0);
37904
- return { decorations: newDecorations2, revision: 0 };
37905
- }
37956
+ const currentDecorations = decorations && decorations.map ? decorations.map(tr.mapping, tr.doc) : DecorationSet.empty;
37906
37957
  if (!tr.docChanged || tr.getMeta("blockNodeInitialUpdate")) {
37907
- return { decorations, revision };
37958
+ return { decorations: currentDecorations, revision };
37908
37959
  }
37909
- const nextRevision = revision + 1;
37910
- const newDecorations = buildDecorations(newState.doc, view, helpers2, nextRevision);
37911
- return { decorations: newDecorations, revision: nextRevision };
37960
+ const affectedParagraphs = getAffectedParagraphStarts(tr, newState);
37961
+ if (affectedParagraphs.size === 0) {
37962
+ return { decorations: currentDecorations, revision };
37963
+ }
37964
+ let nextDecorations = currentDecorations;
37965
+ affectedParagraphs.forEach((pos) => {
37966
+ const paragraph = newState.doc.nodeAt(pos);
37967
+ if (!paragraph || paragraph.type.name !== "paragraph") return;
37968
+ const from2 = pos;
37969
+ const to = pos + paragraph.nodeSize;
37970
+ const existing = nextDecorations.find(from2, to);
37971
+ if (existing?.length) {
37972
+ nextDecorations = nextDecorations.remove(existing);
37973
+ }
37974
+ const paragraphDecorations = buildParagraphDecorations(
37975
+ newState.doc,
37976
+ pos + 1,
37977
+ paragraph,
37978
+ view,
37979
+ helpers2,
37980
+ revision + 1
37981
+ );
37982
+ nextDecorations = nextDecorations.add(newState.doc, paragraphDecorations);
37983
+ });
37984
+ return { decorations: nextDecorations, revision: revision + 1 };
37912
37985
  }
37913
37986
  },
37914
37987
  props: {
37915
37988
  decorations(state) {
37916
37989
  return this.getState(state).decorations;
37917
37990
  }
37991
+ },
37992
+ view() {
37993
+ return {
37994
+ destroy() {
37995
+ clearAllParagraphContexts();
37996
+ }
37997
+ };
37918
37998
  }
37919
37999
  });
37920
38000
  return [tabPlugin];
37921
38001
  }
37922
38002
  });
37923
- function buildDecorations(doc2, view, helpers2, revision) {
38003
+ function buildInitialDecorations(doc2, view, helpers2, revision) {
37924
38004
  const decorations = [];
37925
38005
  doc2.descendants((node, pos) => {
37926
38006
  if (node.type.name !== "paragraph") return;
@@ -37941,6 +38021,37 @@ function buildDecorations(doc2, view, helpers2, revision) {
37941
38021
  });
37942
38022
  return DecorationSet.create(doc2, decorations);
37943
38023
  }
38024
+ function buildParagraphDecorations(doc2, paragraphContentPos, paragraphNode, view, helpers2, revision) {
38025
+ const request = createLayoutRequest(doc2, paragraphContentPos, view, helpers2, revision);
38026
+ if (!request) return [];
38027
+ const result = calculateTabLayout(request, void 0, view);
38028
+ return applyLayoutResult(result, paragraphNode, paragraphContentPos - 1);
38029
+ }
38030
+ function getAffectedParagraphStarts(tr, newState) {
38031
+ const affected = /* @__PURE__ */ new Set();
38032
+ tr.steps.forEach((step, index2) => {
38033
+ if (step.from == null && step.to == null) return;
38034
+ let fromPos = step.from;
38035
+ let toPos = step.to;
38036
+ if (typeof fromPos !== "number" || typeof toPos !== "number") return;
38037
+ for (let i = index2; i < tr.steps.length; i++) {
38038
+ const stepMap = tr.steps[i].getMap();
38039
+ fromPos = stepMap.map(fromPos, -1);
38040
+ toPos = stepMap.map(toPos, 1);
38041
+ }
38042
+ if (fromPos < 0 || toPos < 0 || fromPos > newState.doc.content.size || toPos > newState.doc.content.size) {
38043
+ return;
38044
+ }
38045
+ newState.doc.nodesBetween(fromPos, toPos, (node, pos) => {
38046
+ if (node.type.name === "paragraph") {
38047
+ affected.add(pos);
38048
+ return false;
38049
+ }
38050
+ return true;
38051
+ });
38052
+ });
38053
+ return affected;
38054
+ }
37944
38055
  const LineBreak = Node$1.create({
37945
38056
  name: "lineBreak",
37946
38057
  group: "inline",
@@ -38315,24 +38426,24 @@ const createColGroup = (node, cellMinWidth, overrideCol, overrideValue) => {
38315
38426
  var readFromCache;
38316
38427
  var addToCache;
38317
38428
  if (typeof WeakMap != "undefined") {
38318
- let cache = /* @__PURE__ */ new WeakMap();
38319
- readFromCache = (key2) => cache.get(key2);
38429
+ let cache2 = /* @__PURE__ */ new WeakMap();
38430
+ readFromCache = (key2) => cache2.get(key2);
38320
38431
  addToCache = (key2, value) => {
38321
- cache.set(key2, value);
38432
+ cache2.set(key2, value);
38322
38433
  return value;
38323
38434
  };
38324
38435
  } else {
38325
- const cache = [];
38436
+ const cache2 = [];
38326
38437
  const cacheSize = 10;
38327
38438
  let cachePos = 0;
38328
38439
  readFromCache = (key2) => {
38329
- for (let i = 0; i < cache.length; i += 2)
38330
- if (cache[i] == key2) return cache[i + 1];
38440
+ for (let i = 0; i < cache2.length; i += 2)
38441
+ if (cache2[i] == key2) return cache2[i + 1];
38331
38442
  };
38332
38443
  addToCache = (key2, value) => {
38333
38444
  if (cachePos == cacheSize) cachePos = 0;
38334
- cache[cachePos++] = key2;
38335
- return cache[cachePos++] = value;
38445
+ cache2[cachePos++] = key2;
38446
+ return cache2[cachePos++] = value;
38336
38447
  };
38337
38448
  }
38338
38449
  var TableMap = class {
@@ -1,4 +1,4 @@
1
- import { aJ as getDefaultExportFromCjs } from "./converter-BM6gXTRC.js";
1
+ import { aJ as getDefaultExportFromCjs } from "./converter-CflxlFnM.js";
2
2
  import { V as VFile } from "./index-CvBqQJbG.js";
3
3
  function bail(error) {
4
4
  if (error) {
@@ -1,6 +1,6 @@
1
1
  import { computed, createElementBlock, openBlock, createElementVNode, createCommentVNode, normalizeClass, normalizeStyle, ref, withKeys, unref, withModifiers, createBlock, toDisplayString, withDirectives, vModelText, nextTick, getCurrentInstance, createVNode, readonly, watch, onMounted, onBeforeUnmount, reactive, onBeforeMount, inject, onActivated, onDeactivated, createTextVNode, Fragment, Comment, defineComponent, provide, h, Teleport, toRef, renderSlot, isVNode, shallowRef, watchEffect, mergeProps, Transition, vShow, cloneVNode, Text, renderList, withCtx } from "vue";
2
- import { p as process$1 } from "./converter-BM6gXTRC.js";
3
- import { _ as _export_sfc, u as useHighContrastMode, g as global$1 } from "./editor-RPTrfArg.js";
2
+ import { p as process$1 } from "./converter-CflxlFnM.js";
3
+ import { _ as _export_sfc, u as useHighContrastMode, g as global$1 } from "./editor-B9V7oJbW.js";
4
4
  const sanitizeNumber = (value, defaultNumber) => {
5
5
  let sanitized = value.replace(/[^0-9.]/g, "");
6
6
  sanitized = parseFloat(sanitized);
@@ -1,4 +1,4 @@
1
- import { ac } from "./chunks/converter-BM6gXTRC.js";
1
+ import { ac } from "./chunks/converter-CflxlFnM.js";
2
2
  export {
3
3
  ac as SuperConverter
4
4
  };
@@ -1,5 +1,5 @@
1
- import "./chunks/converter-BM6gXTRC.js";
2
- import { D } from "./chunks/docx-zipper-fwXPJGKu.js";
1
+ import "./chunks/converter-CflxlFnM.js";
2
+ import { D } from "./chunks/docx-zipper-DKWL4mo2.js";
3
3
  export {
4
4
  D as default
5
5
  };
@@ -1,6 +1,6 @@
1
- import { E } from "./chunks/editor-RPTrfArg.js";
2
- import "./chunks/converter-BM6gXTRC.js";
3
- import "./chunks/docx-zipper-fwXPJGKu.js";
1
+ import { E } from "./chunks/editor-B9V7oJbW.js";
2
+ import "./chunks/converter-CflxlFnM.js";
3
+ import "./chunks/docx-zipper-DKWL4mo2.js";
4
4
  export {
5
5
  E as Editor
6
6
  };
@@ -1,4 +1,4 @@
1
- import { J as JSZip } from "./chunks/docx-zipper-fwXPJGKu.js";
1
+ import { J as JSZip } from "./chunks/docx-zipper-DKWL4mo2.js";
2
2
  async function createZip(blobs, fileNames) {
3
3
  const zip = new JSZip();
4
4
  blobs.forEach((blob, index) => {
@@ -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 { aJ as getDefaultExportFromCjs, a0 as v4, T as TextSelection$1, v as getMarkRange, aM as vClickOutside, aN as getActiveFormatting, aC as isInTable, U as findParentNode, aq as calculateResolvedParagraphProperties, a7 as twipsToLines, V as isList, al as parseSizeUnit, a8 as pixelsToTwips, aO as getFileObject, aP as translator, aQ as translator$1, aR as translator$2, aS as translator$3, aT as translator$4, aU as translator$5, aV as translator$6, aW as translator$7, aX as translator$8, aY as translator$9, aZ as translator$a, a_ as translator$b, a$ as translator$c, b0 as translator$d, b1 as translator$e, b2 as commentRangeEndTranslator, b3 as commentRangeStartTranslator, b4 as translator$f, b5 as translator$g, b6 as translator$h, b7 as translator$i, b8 as translator$j, b9 as translator$k, ba as translator$l, bb as translator$m, bc as translator$n, bd as translator$o, be as translator$p, bf as translator$q, bg as translator$r, bh as translator$s, bi as translator$t, bj as translator$u, bk as translator$v, bl as translator$w, bm as translator$x, bn as translator$y, bo as translator$z, bp as translator$A, bq as translator$B, br as translator$C, bs as translator$D, bt as translator$E, bu as translator$F, bv as translator$G, bw as translator$H, bx as translator$I, by as translator$J, bz as translator$K, bA as translator$L, bB as translator$M, bC as translator$N, bD as translator$O, bE as translator$P, bF as translator$Q, bG as translator$R, bH as translator$S, bI as translator$T, bJ as translator$U, bK as translator$V, bL as translator$W, bM as translator$X, bN as translator$Y, bO as translator$Z, bP as translator$_, bQ as translator$$, bR as translator$10, bS as translator$11, bT as translator$12, bU as translator$13, bV as translator$14, bW as translator$15, bX as translator$16, bY as translator$17, bZ as translator$18, b_ as translator$19, b$ as translator$1a, c0 as translator$1b, c1 as translator$1c, c2 as translator$1d, c3 as translator$1e, c4 as translator$1f, c5 as translator$1g, c6 as translator$1h, c7 as translator$1i, c8 as translator$1j, P as PluginKey, a as Plugin } from "./chunks/converter-BM6gXTRC.js";
13
- import { ac, i, a9 } from "./chunks/converter-BM6gXTRC.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 measureCache, n as isHeadless, E as Editor, o as getStarterExtensions, P as PresentationEditor, p as Placeholder, q as getRichTextExtensions, D as DecorationSet, t as Decoration, M as Mark, v as Extension, A as Attribute, N as Node } from "./chunks/editor-RPTrfArg.js";
15
- import { z, F, B, T, w, C, x } from "./chunks/editor-RPTrfArg.js";
12
+ import { aJ as getDefaultExportFromCjs, a0 as v4, T as TextSelection$1, v as getMarkRange, aM as vClickOutside, aN as getActiveFormatting, aC as isInTable, U as findParentNode, aq as calculateResolvedParagraphProperties, a7 as twipsToLines, V as isList, al as parseSizeUnit, a8 as pixelsToTwips, aO as getFileObject, aP as translator, aQ as translator$1, aR as translator$2, aS as translator$3, aT as translator$4, aU as translator$5, aV as translator$6, aW as translator$7, aX as translator$8, aY as translator$9, aZ as translator$a, a_ as translator$b, a$ as translator$c, b0 as translator$d, b1 as translator$e, b2 as commentRangeEndTranslator, b3 as commentRangeStartTranslator, b4 as translator$f, b5 as translator$g, b6 as translator$h, b7 as translator$i, b8 as translator$j, b9 as translator$k, ba as translator$l, bb as translator$m, bc as translator$n, bd as translator$o, be as translator$p, bf as translator$q, bg as translator$r, bh as translator$s, bi as translator$t, bj as translator$u, bk as translator$v, bl as translator$w, bm as translator$x, bn as translator$y, bo as translator$z, bp as translator$A, bq as translator$B, br as translator$C, bs as translator$D, bt as translator$E, bu as translator$F, bv as translator$G, bw as translator$H, bx as translator$I, by as translator$J, bz as translator$K, bA as translator$L, bB as translator$M, bC as translator$N, bD as translator$O, bE as translator$P, bF as translator$Q, bG as translator$R, bH as translator$S, bI as translator$T, bJ as translator$U, bK as translator$V, bL as translator$W, bM as translator$X, bN as translator$Y, bO as translator$Z, bP as translator$_, bQ as translator$$, bR as translator$10, bS as translator$11, bT as translator$12, bU as translator$13, bV as translator$14, bW as translator$15, bX as translator$16, bY as translator$17, bZ as translator$18, b_ as translator$19, b$ as translator$1a, c0 as translator$1b, c1 as translator$1c, c2 as translator$1d, c3 as translator$1e, c4 as translator$1f, c5 as translator$1g, c6 as translator$1h, c7 as translator$1i, c8 as translator$1j, P as PluginKey, a as Plugin } from "./chunks/converter-CflxlFnM.js";
13
+ import { ac, i, a9 } from "./chunks/converter-CflxlFnM.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 measureCache, n as isHeadless, E as Editor, o as getStarterExtensions, P as PresentationEditor, p as Placeholder, q as getRichTextExtensions, D as DecorationSet, t as Decoration, M as Mark, v as Extension, A as Attribute, N as Node } from "./chunks/editor-B9V7oJbW.js";
15
+ import { z, F, B, T, w, C, x } from "./chunks/editor-B9V7oJbW.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, shallowRef, createBlock, 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-DacKXz_n.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-B5WlPN4s.js";
18
18
  import AIWriter from "./ai-writer.es.js";
19
- import { D } from "./chunks/docx-zipper-fwXPJGKu.js";
19
+ import { D } from "./chunks/docx-zipper-DKWL4mo2.js";
20
20
  import { createZip } from "./file-zipper.es.js";
21
21
  var eventemitter3 = { exports: {} };
22
22
  var hasRequiredEventemitter3;
@@ -1,6 +1,6 @@
1
1
  import "vue";
2
- import { T } from "./chunks/toolbar-DacKXz_n.js";
3
- import "./chunks/editor-RPTrfArg.js";
2
+ import { T } from "./chunks/toolbar-B5WlPN4s.js";
3
+ import "./chunks/editor-B9V7oJbW.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-DmhQckCV.cjs");
3
+ const superEditor_es = require("./chunks/super-editor.es-Bo_fWMy6.cjs");
4
4
  require("./chunks/vue-ARQSyfaw.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-CcaD69pQ.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-MRWI4sfo.es.js";
2
2
  import "./chunks/vue-CztqUvm1.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-DmhQckCV.cjs");
4
- const superdoc = require("./chunks/index-CYQjWGo5.cjs");
3
+ const superEditor_es = require("./chunks/super-editor.es-Bo_fWMy6.cjs");
4
+ const superdoc = require("./chunks/index-DMwWcmrk.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-CcaD69pQ.es.js";
2
- import { D, H, P, S as S2, m, l } from "./chunks/index-DGYP5Xod.es.js";
1
+ import { a, E, b, S, d, i, j, n, r, p, q } from "./chunks/super-editor.es-MRWI4sfo.es.js";
2
+ import { D, H, P, S as S2, m, l } from "./chunks/index-BCZ82zY5.es.js";
3
3
  import { B } from "./chunks/blank-docx-ABm6XYAA.es.js";
4
4
  export {
5
5
  a as AnnotatorHelpers,