superdoc 1.0.0-beta.101 → 1.0.0-beta.102

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 (28) hide show
  1. package/dist/chunks/{PdfViewer-Cd9VR_tI.es.js → PdfViewer-BFqkSyYx.es.js} +1 -1
  2. package/dist/chunks/{PdfViewer-DZWkMtTG.cjs → PdfViewer-X1sOA7hm.cjs} +1 -1
  3. package/dist/chunks/{index-BzQ_CQ_p.es.js → index-BP1yyX4N.es.js} +3 -3
  4. package/dist/chunks/{index-BavMv0sW.cjs → index-f4ON3m7j.cjs} +3 -3
  5. package/dist/chunks/{index-N8gZUeSO-BneVBXkH.cjs → index-nVrA3URL-BssoM7VE.cjs} +1 -1
  6. package/dist/chunks/{index-N8gZUeSO-Dxit0pPr.es.js → index-nVrA3URL-vs_NmI3L.es.js} +1 -1
  7. package/dist/chunks/{super-editor.es-BGncr3MA.cjs → super-editor.es-B7Xuihea.cjs} +66 -33
  8. package/dist/chunks/{super-editor.es-0IwuILla.es.js → super-editor.es-BM69n_BR.es.js} +66 -33
  9. package/dist/packages/superdoc/src/core/SuperDoc.d.ts.map +1 -1
  10. package/dist/super-editor/ai-writer.es.js +2 -2
  11. package/dist/super-editor/chunks/{converter---tUwTA4.js → converter-NrpPx2Xr.js} +12 -6
  12. package/dist/super-editor/chunks/{docx-zipper-B8zS8jbu.js → docx-zipper-oyKPvmaC.js} +1 -1
  13. package/dist/super-editor/chunks/{editor-3H6s48L7.js → editor-Dnw031hl.js} +52 -25
  14. package/dist/super-editor/chunks/{index-N8gZUeSO.js → index-nVrA3URL.js} +1 -1
  15. package/dist/super-editor/chunks/{toolbar-FxiK-_cI.js → toolbar-OrlYExrD.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/super-editor.es.js +10 -10
  21. package/dist/super-editor/toolbar.es.js +2 -2
  22. package/dist/super-editor.cjs +1 -1
  23. package/dist/super-editor.es.js +1 -1
  24. package/dist/superdoc.cjs +2 -2
  25. package/dist/superdoc.es.js +2 -2
  26. package/dist/superdoc.umd.js +68 -35
  27. package/dist/superdoc.umd.js.map +1 -1
  28. 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, _selectionOverlay, _activeEditorHost, _activeDecorationContainer, _activeRegion, _borderLine, _dimmingOverlay, _EditorOverlayManager_instances, findDecorationContainer_fn, ensureEditorHost_fn, positionEditorHost_fn, hideDimmingOverlay_fn, showHeaderFooterBorder_fn, hideHeaderFooterBorder_fn, _instances, _options, _editor3, _visibleHost, _viewportHost, _painterHost, _selectionOverlay2, _hiddenHost, _layoutOptions, _layoutState, _domPainter, _pageGeometryHelper, _dragHandlerCleanup, _layoutError, _layoutErrorState, _errorBanner, _errorBannerMessage, _telemetryEmitter, _renderScheduled, _pendingDocChange, _isRerendering, _selectionUpdateScheduled, _remoteCursorUpdateScheduled, _rafHandle, _editorListeners, _sectionMetadata, _documentMode, _inputBridge, _trackedChangesMode, _trackedChangesEnabled, _trackedChangesOverrides, _headerFooterManager, _headerFooterAdapter, _headerFooterIdentifier, _multiSectionIdentifier, _headerLayoutResults, _footerLayoutResults, _headerLayoutsByRId, _footerLayoutsByRId, _headerDecorationProvider, _footerDecorationProvider, _headerFooterManagerCleanups, _headerRegions, _footerRegions, _session, _activeHeaderFooterEditor, _overlayManager, _hoverOverlay, _hoverTooltip, _modeBanner, _ariaLiveRegion, _hoverRegion, _clickCount, _lastClickTime, _lastClickPosition, _lastSelectedImageBlockId, _dragAnchor, _isDragging, _dragExtensionMode, _cellAnchor, _cellDragMode, _remoteCursorState, _remoteCursorElements, _remoteCursorDirty, _remoteCursorOverlay, _localSelectionLayer, _awarenessCleanup, _scrollCleanup, _scrollTimeout, _lastRemoteCursorRenderTime, _remoteCursorThrottleTimeout, _PresentationEditor_instances, collectCommentPositions_fn, aggregateLayoutBounds_fn, safeCleanup_fn, setupEditorListeners_fn, setupCollaborationCursors_fn, updateLocalAwarenessCursor_fn, normalizeAwarenessStates_fn, getFallbackColor_fn, getValidatedColor_fn, scheduleRemoteCursorUpdate_fn, scheduleRemoteCursorReRender_fn, updateRemoteCursors_fn, renderRemoteCursors_fn, renderRemoteCaret_fn, renderRemoteCursorLabel_fn, renderRemoteSelection_fn, setupPointerHandlers_fn, setupDragHandlers_fn, focusEditorAfterImageSelection_fn, setupInputBridge_fn, initHeaderFooterRegistry_fn, _handlePointerDown, getFirstTextPosition_fn, registerPointerClick_fn, getCellPosFromTableHit_fn, getTablePosFromHit_fn, shouldUseCellSelection_fn, setCellAnchor_fn, clearCellAnchor_fn, hitTestTable_fn, selectWordAt_fn, selectParagraphAt_fn, calculateExtendedSelection_fn, isWordCharacter_fn, _handlePointerMove, _handlePointerLeave, _handlePointerUp, _handleDragOver, _handleDrop, _handleDoubleClick, _handleKeyDown, focusHeaderFooterShortcut_fn, scheduleRerender_fn, flushRerenderQueue_fn, rerender_fn, ensurePainter_fn, scheduleSelectionUpdate_fn, updateSelection_fn, resolveLayoutOptions_fn, buildHeaderFooterInput_fn, computeHeaderFooterConstraints_fn, layoutPerRIdHeaderFooters_fn, updateDecorationProviders_fn, createDecorationProvider_fn, findHeaderFooterPageForPageNumber_fn, computeDecorationBox_fn, computeExpectedSectionType_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, createDefaultHeaderFooter_fn, getPageElement_fn, scrollPageIntoView_fn, computeAnchorMap_fn, waitForPageMount_fn, getEffectivePageGap_fn, getBodyPageHeight_fn, getHeaderFooterPageHeight_fn, applyDomCorrectionToRects_fn, renderCellSelectionOverlay_fn, renderSelectionRects_fn, renderHoverRegion_fn, clearHoverRegion_fn, renderCaretOverlay_fn, getHeaderFooterContext_fn, computeHeaderFooterSelectionRects_fn, syncTrackedChangesPreferences_fn, deriveTrackedChangesMode_fn, deriveTrackedChangesEnabled_fn, getTrackChangesPluginState_fn, computeDefaultLayoutDefaults_fn, parseColumns_fn, inchesToPx_fn, applyZoom_fn, createLayoutMetrics_fn, getPageOffsetX_fn, convertPageLocalToOverlayCoords_fn, computeDomCaretPageLocal_fn, normalizeClientPoint_fn, computeCaretLayoutRectGeometry_fn, computeCaretLayoutRect_fn, computeCaretLayoutRectFromDOM_fn, computeTableCaretLayoutRect_fn, findLineContainingPos_fn, lineHeightBeforeIndex_fn, getCurrentPageIndex_fn, findRegionForPage_fn, handleLayoutError_fn, decorateError_fn, showLayoutErrorBanner_fn, dismissErrorBanner_fn, createHiddenHost_fn, _windowRoot, _layoutSurfaces, _getTargetDom, _isEditable, _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, checkShouldUpdate_fn, updateHTMLAttributes_fn, updateDOMStyles_fn, resolveNeighborParagraphProperties_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, _VectorShapeView_instances, ensureParentPositioned_fn, _ShapeGroupView_instances, ensureParentPositioned_fn2;
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 changeListLevel, O as findParentNode, Q as isList, U as updateNumberingProperties, V as ListHelpers, W as isMacOS, X as isIOS, Y as getSchemaTypeByName, Z as inputRulesPlugin, _ as TrackDeleteMarkName$1, $ as TrackInsertMarkName$1, a0 as v4, a1 as TrackFormatMarkName$1, 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 SelectionRange, ak as Transform, al as resolveParagraphProperties, am as _getReferencedTableStyles, an as parseSizeUnit, ao as minMax, ap as updateDOMAttributes, aq as findChildren$5, ar as generateRandomSigned32BitIntStrId, as as decodeRPrFromMarks, at as calculateResolvedParagraphProperties, au as resolveRunProperties, av as encodeCSSFromPPr, aw as twipsToPixels$2, ax as encodeCSSFromRPr, ay as generateOrderedListIndex, az as docxNumberingHelpers, aA as InputRule, aB as convertSizeToCSS, aC as findParentNodeClosestToPos, aD as isInTable$1, aE as generateDocxRandomId, aF as insertNewRelationship, aG as inchesToPixels, aH as kebabCase, aI as getUnderlineCssString } from "./converter---tUwTA4.js";
16
- import { D as DocxZipper } from "./docx-zipper-B8zS8jbu.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 changeListLevel, O as findParentNode, Q as isList, U as updateNumberingProperties, V as ListHelpers, W as isMacOS, X as isIOS, Y as getSchemaTypeByName, Z as inputRulesPlugin, _ as TrackDeleteMarkName$1, $ as TrackInsertMarkName$1, a0 as v4, a1 as TrackFormatMarkName$1, 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 SelectionRange, ak as Transform, al as resolveParagraphProperties, am as _getReferencedTableStyles, an as parseSizeUnit, ao as minMax, ap as updateDOMAttributes, aq as findChildren$5, ar as generateRandomSigned32BitIntStrId, as as decodeRPrFromMarks, at as calculateResolvedParagraphProperties, au as resolveRunProperties, av as encodeCSSFromPPr, aw as twipsToPixels$2, ax as encodeCSSFromRPr, ay as generateOrderedListIndex, az as docxNumberingHelpers, aA as InputRule, aB as convertSizeToCSS, aC as findParentNodeClosestToPos, aD as isInTable$1, aE as generateDocxRandomId, aF as insertNewRelationship, aG as inchesToPixels, aH as kebabCase, aI as getUnderlineCssString } from "./converter-NrpPx2Xr.js";
16
+ import { D as DocxZipper } from "./docx-zipper-oyKPvmaC.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() {
@@ -9098,6 +9098,14 @@ const toggleNode = (typeOrName, toggleTypeOrName, attrs = {}) => ({ state, comma
9098
9098
  const selectAll = () => ({ state, dispatch }) => selectAll$1(state, dispatch);
9099
9099
  const deleteSelection = () => ({ state, tr, dispatch }) => {
9100
9100
  const { from: from2, to, empty: empty2 } = state.selection;
9101
+ if (typeof document !== "undefined" && document.getSelection) {
9102
+ const currentDomSelection = document.getSelection();
9103
+ const selectedLength = currentDomSelection?.toString?.().length;
9104
+ const isCollapsed = currentDomSelection?.isCollapsed;
9105
+ if (!isCollapsed && selectedLength === 1) {
9106
+ return false;
9107
+ }
9108
+ }
9101
9109
  if (empty2) {
9102
9110
  return deleteSelection$1(state, dispatch);
9103
9111
  }
@@ -11406,12 +11414,14 @@ const prepareCommentsForImport = (doc2, tr, schema, converter) => {
11406
11414
  importedId: node.attrs["w:id"]
11407
11415
  });
11408
11416
  if (type.name === "commentRangeStart") {
11409
- toMark.push({
11410
- commentId: resolvedCommentId,
11411
- importedId,
11412
- internal,
11413
- start: pos
11414
- });
11417
+ if (!matchingImportedComment?.isDone) {
11418
+ toMark.push({
11419
+ commentId: resolvedCommentId,
11420
+ importedId,
11421
+ internal,
11422
+ start: pos
11423
+ });
11424
+ }
11415
11425
  ensureFallbackComment({
11416
11426
  converter,
11417
11427
  matchingImportedComment,
@@ -13952,7 +13962,7 @@ const isHeadless = (editor) => {
13952
13962
  const shouldSkipNodeView = (editor) => {
13953
13963
  return isHeadless(editor);
13954
13964
  };
13955
- const summaryVersion = "1.0.0-beta.101";
13965
+ const summaryVersion = "1.0.0-beta.102";
13956
13966
  const nodeKeys = ["group", "content", "marks", "inline", "atom", "defining", "code", "tableRole", "summary"];
13957
13967
  const markKeys = ["group", "inclusive", "excludes", "spanning", "code"];
13958
13968
  function mapAttributes(attrs) {
@@ -14744,7 +14754,7 @@ const _Editor = class _Editor extends EventEmitter {
14744
14754
  { default: remarkStringify },
14745
14755
  { default: remarkGfm }
14746
14756
  ] = await Promise.all([
14747
- import("./index-N8gZUeSO.js"),
14757
+ import("./index-nVrA3URL.js"),
14748
14758
  import("./index-DRCvimau.js"),
14749
14759
  import("./index-C_x_N6Uh.js"),
14750
14760
  import("./index-D_sWOSiG.js"),
@@ -14949,7 +14959,7 @@ const _Editor = class _Editor extends EventEmitter {
14949
14959
  * Process collaboration migrations
14950
14960
  */
14951
14961
  processCollaborationMigrations() {
14952
- console.debug("[checkVersionMigrations] Current editor version", "1.0.0-beta.101");
14962
+ console.debug("[checkVersionMigrations] Current editor version", "1.0.0-beta.102");
14953
14963
  if (!this.options.ydoc) return;
14954
14964
  const metaMap = this.options.ydoc.getMap("meta");
14955
14965
  let docVersion = metaMap.get("version");
@@ -53643,14 +53653,19 @@ const createCell = (cellType, cellContent = null) => {
53643
53653
  }
53644
53654
  return cellType.createAndFill();
53645
53655
  };
53646
- const createTableBorders = ({ size = 0.66665, color = "#000000" } = {}) => {
53656
+ const createTableBorders = (borderSpec = {}) => {
53657
+ borderSpec = {
53658
+ size: 0.66665,
53659
+ color: "#000000",
53660
+ ...borderSpec
53661
+ };
53647
53662
  return {
53648
- top: { size, color },
53649
- left: { size, color },
53650
- bottom: { size, color },
53651
- right: { size, color },
53652
- insideH: { size, color },
53653
- insideV: { size, color }
53663
+ top: borderSpec,
53664
+ left: borderSpec,
53665
+ bottom: borderSpec,
53666
+ right: borderSpec,
53667
+ insideH: borderSpec,
53668
+ insideV: borderSpec
53654
53669
  };
53655
53670
  };
53656
53671
  const createTable = (schema, rowsCount, colsCount, withHeaderRow, cellContent = null) => {
@@ -53778,12 +53793,17 @@ const deleteTableWhenSelected = ({ editor }) => {
53778
53793
  editor.commands.deleteTable();
53779
53794
  return true;
53780
53795
  };
53781
- const createCellBorders = ({ size = 0.66665, color = "#000000" } = {}) => {
53796
+ const createCellBorders = (borderSpec = {}) => {
53797
+ borderSpec = {
53798
+ size: 0.66665,
53799
+ color: "#000000",
53800
+ ...borderSpec
53801
+ };
53782
53802
  return {
53783
- top: { size, color },
53784
- left: { size, color },
53785
- bottom: { size, color },
53786
- right: { size, color }
53803
+ top: borderSpec,
53804
+ left: borderSpec,
53805
+ bottom: borderSpec,
53806
+ right: borderSpec
53787
53807
  };
53788
53808
  };
53789
53809
  function cellAround($pos) {
@@ -54550,13 +54570,20 @@ const Table = Node$1.create({
54550
54570
  if (["tableCell", "tableHeader"].includes(node.type.name)) {
54551
54571
  tr.setNodeMarkup(pos, void 0, {
54552
54572
  ...node.attrs,
54553
- borders: createCellBorders({ size: 0 })
54573
+ borders: createCellBorders({ size: 0, space: 0, val: "none", color: "auto" })
54554
54574
  });
54555
54575
  }
54556
54576
  });
54557
54577
  tr.setNodeMarkup(table.pos, void 0, {
54558
54578
  ...table.node.attrs,
54559
- borders: createTableBorders({ size: 0 })
54579
+ borders: createTableBorders({ size: 0 }),
54580
+ // TODO: This works around the issue that table borders are duplicated between
54581
+ // the attributes of the table and the tableProperties attribute.
54582
+ // This can be removed when the redundancy is eliminated.
54583
+ tableProperties: {
54584
+ ...table.node.attrs.tableProperties,
54585
+ borders: createTableBorders({ size: 0, space: 0, val: "none", color: "auto" })
54586
+ }
54560
54587
  });
54561
54588
  return true;
54562
54589
  }
@@ -1,4 +1,4 @@
1
- import { aK as getDefaultExportFromCjs } from "./converter---tUwTA4.js";
1
+ import { aK as getDefaultExportFromCjs } from "./converter-NrpPx2Xr.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, onMounted, onBeforeUnmount, createVNode, readonly, watch, 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---tUwTA4.js";
3
- import { _ as _export_sfc, u as useHighContrastMode, g as global$1 } from "./editor-3H6s48L7.js";
2
+ import { p as process$1 } from "./converter-NrpPx2Xr.js";
3
+ import { _ as _export_sfc, u as useHighContrastMode, g as global$1 } from "./editor-Dnw031hl.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---tUwTA4.js";
1
+ import { ac } from "./chunks/converter-NrpPx2Xr.js";
2
2
  export {
3
3
  ac as SuperConverter
4
4
  };
@@ -1,5 +1,5 @@
1
- import "./chunks/converter---tUwTA4.js";
2
- import { D } from "./chunks/docx-zipper-B8zS8jbu.js";
1
+ import "./chunks/converter-NrpPx2Xr.js";
2
+ import { D } from "./chunks/docx-zipper-oyKPvmaC.js";
3
3
  export {
4
4
  D as default
5
5
  };
@@ -1,6 +1,6 @@
1
- import { E } from "./chunks/editor-3H6s48L7.js";
2
- import "./chunks/converter---tUwTA4.js";
3
- import "./chunks/docx-zipper-B8zS8jbu.js";
1
+ import { E } from "./chunks/editor-Dnw031hl.js";
2
+ import "./chunks/converter-NrpPx2Xr.js";
3
+ import "./chunks/docx-zipper-oyKPvmaC.js";
4
4
  export {
5
5
  E as Editor
6
6
  };
@@ -1,4 +1,4 @@
1
- import { J as JSZip } from "./chunks/docx-zipper-B8zS8jbu.js";
1
+ import { J as JSZip } from "./chunks/docx-zipper-oyKPvmaC.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 { 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, at as calculateResolvedParagraphProperties, a7 as twipsToLines, Q as isList, an as parseSizeUnit, a8 as pixelsToTwips, aP as getFileObject, P as PluginKey, a as Plugin } from "./chunks/converter---tUwTA4.js";
13
- import { ac, i, a9, aQ } from "./chunks/converter---tUwTA4.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-3H6s48L7.js";
15
- import { F, I, G, T, B, H, C } from "./chunks/editor-3H6s48L7.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, at as calculateResolvedParagraphProperties, a7 as twipsToLines, Q as isList, an as parseSizeUnit, a8 as pixelsToTwips, aP as getFileObject, P as PluginKey, a as Plugin } from "./chunks/converter-NrpPx2Xr.js";
13
+ import { ac, i, a9, aQ } from "./chunks/converter-NrpPx2Xr.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-Dnw031hl.js";
15
+ import { F, I, G, T, B, H, C } from "./chunks/editor-Dnw031hl.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-FxiK-_cI.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-OrlYExrD.js";
18
18
  import AIWriter from "./ai-writer.es.js";
19
- import { D } from "./chunks/docx-zipper-B8zS8jbu.js";
19
+ import { D } from "./chunks/docx-zipper-oyKPvmaC.js";
20
20
  import { createZip } from "./file-zipper.es.js";
21
21
  var eventemitter3 = { exports: {} };
22
22
  var hasRequiredEventemitter3;
@@ -1872,7 +1872,7 @@ const makeDefaultItems = ({
1872
1872
  }
1873
1873
  },
1874
1874
  {
1875
- label: toolbarTexts2.transparentBorders,
1875
+ label: toolbarTexts2.removeBorders,
1876
1876
  command: "deleteCellAndTableBorders",
1877
1877
  icon: toolbarIcons2.deleteBorders,
1878
1878
  bottomBorder: true,
@@ -2453,7 +2453,7 @@ const toolbarTexts = {
2453
2453
  deleteRow: "Delete row",
2454
2454
  deleteColumn: "Delete column",
2455
2455
  deleteTable: "Delete table",
2456
- transparentBorders: "Transparent borders",
2456
+ removeBorders: "Remove borders",
2457
2457
  mergeCells: "Merge cells",
2458
2458
  splitCell: "Split cell",
2459
2459
  fixTables: "Fix tables",
@@ -3576,7 +3576,7 @@ const TEXTS = {
3576
3576
  deleteRow: "Delete row",
3577
3577
  deleteColumn: "Delete column",
3578
3578
  deleteTable: "Delete table",
3579
- transparentBorders: "Transparent borders",
3579
+ removeBorders: "Remove borders",
3580
3580
  mergeCells: "Merge cells",
3581
3581
  splitCell: "Split cell",
3582
3582
  fixTables: "Fix tables",
@@ -3659,7 +3659,7 @@ const tableActionsOptions = [
3659
3659
  }
3660
3660
  },
3661
3661
  {
3662
- label: TEXTS.transparentBorders,
3662
+ label: TEXTS.removeBorders,
3663
3663
  command: "deleteCellAndTableBorders",
3664
3664
  icon: ICONS.deleteBorders,
3665
3665
  bottomBorder: true,
@@ -1,6 +1,6 @@
1
1
  import "vue";
2
- import { T } from "./chunks/toolbar-FxiK-_cI.js";
3
- import "./chunks/editor-3H6s48L7.js";
2
+ import { T } from "./chunks/toolbar-OrlYExrD.js";
3
+ import "./chunks/editor-Dnw031hl.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-BGncr3MA.cjs");
3
+ const superEditor_es = require("./chunks/super-editor.es-B7Xuihea.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-0IwuILla.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-BM69n_BR.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-BGncr3MA.cjs");
4
- const superdoc = require("./chunks/index-BavMv0sW.cjs");
3
+ const superEditor_es = require("./chunks/super-editor.es-B7Xuihea.cjs");
4
+ const superdoc = require("./chunks/index-f4ON3m7j.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-0IwuILla.es.js";
2
- import { D, H, P, S as S2, m, l } from "./chunks/index-BzQ_CQ_p.es.js";
1
+ import { a, E, b, S, d, i, j, n, r, p, q } from "./chunks/super-editor.es-BM69n_BR.es.js";
2
+ import { D, H, P, S as S2, m, l } from "./chunks/index-BP1yyX4N.es.js";
3
3
  import { B } from "./chunks/blank-docx-ABm6XYAA.es.js";
4
4
  export {
5
5
  a as AnnotatorHelpers,
@@ -39793,7 +39793,7 @@ Please report this to https://github.com/markedjs/marked.`, e) {
39793
39793
  const trackedDeletedText = attributes["custom:trackedDeletedText"] !== "null" ? attributes["custom:trackedDeletedText"] : null;
39794
39794
  const date = new Date(createdDate);
39795
39795
  const unixTimestampMs = date.getTime();
39796
- const parsedComment = nodeListHandler.handler({
39796
+ const parsedElements = nodeListHandler.handler({
39797
39797
  nodes: el.elements,
39798
39798
  nodeListHandler,
39799
39799
  docx,
@@ -39801,7 +39801,7 @@ Please report this to https://github.com/markedjs/marked.`, e) {
39801
39801
  converter,
39802
39802
  path: [el]
39803
39803
  });
39804
- const { attrs } = parsedComment[0];
39804
+ const { attrs } = parsedElements[0];
39805
39805
  const paraId = attrs["w14:paraId"];
39806
39806
  return {
39807
39807
  commentId: internalId || v4$1(),
@@ -39809,7 +39809,8 @@ Please report this to https://github.com/markedjs/marked.`, e) {
39809
39809
  creatorName: authorName,
39810
39810
  creatorEmail: authorEmail,
39811
39811
  createdTime: unixTimestampMs,
39812
- textJson: parsedComment[0],
39812
+ textJson: parsedElements[0],
39813
+ elements: parsedElements,
39813
39814
  initials,
39814
39815
  paraId,
39815
39816
  trackedChange,
@@ -39835,7 +39836,12 @@ Please report this to https://github.com/markedjs/marked.`, e) {
39835
39836
  const { elements = [] } = initialElements[0] ?? {};
39836
39837
  const commentEx = elements.filter((el) => el.name === "w15:commentEx");
39837
39838
  return comments.map((comment2) => {
39838
- const extendedDef = commentEx.find((ce2) => ce2.attributes["w15:paraId"] === comment2.paraId);
39839
+ const extendedDef = commentEx.find((ce2) => {
39840
+ const isIncludedInCommentElements = comment2.elements?.some(
39841
+ (el) => el.attrs?.["w14:paraId"] === ce2.attributes["w15:paraId"]
39842
+ );
39843
+ return isIncludedInCommentElements;
39844
+ });
39839
39845
  if (!extendedDef) return { ...comment2, isDone: comment2.isDone ?? false };
39840
39846
  const { isDone, paraIdParent } = getExtendedDetails(extendedDef);
39841
39847
  let parentComment;
@@ -41956,7 +41962,7 @@ Please report this to https://github.com/markedjs/marked.`, e) {
41956
41962
  name: "w16cex:commentExtensible",
41957
41963
  attributes: {
41958
41964
  "w16cex:durableId": newDurableId,
41959
- "w16cex:dateUtc": toIsoNoFractional()
41965
+ "w16cex:dateUtc": toIsoNoFractional(comment2.createdTime)
41960
41966
  }
41961
41967
  };
41962
41968
  extensibleUpdated.elements[0].elements.push(newExtensible);
@@ -42422,7 +42428,7 @@ Please report this to https://github.com/markedjs/marked.`, e) {
42422
42428
  static getStoredSuperdocVersion(docx) {
42423
42429
  return _SuperConverter2.getStoredCustomProperty(docx, "SuperdocVersion");
42424
42430
  }
42425
- static setStoredSuperdocVersion(docx = this.convertedXml, version2 = "1.0.0-beta.101") {
42431
+ static setStoredSuperdocVersion(docx = this.convertedXml, version2 = "1.0.0-beta.102") {
42426
42432
  return _SuperConverter2.setStoredCustomProperty(docx, "SuperdocVersion", version2, false);
42427
42433
  }
42428
42434
  /**
@@ -62675,6 +62681,14 @@ Please report this to https://github.com/markedjs/marked.`, e) {
62675
62681
  const selectAll = () => ({ state: state2, dispatch }) => selectAll$1(state2, dispatch);
62676
62682
  const deleteSelection = () => ({ state: state2, tr, dispatch }) => {
62677
62683
  const { from: from2, to, empty: empty2 } = state2.selection;
62684
+ if (typeof document !== "undefined" && document.getSelection) {
62685
+ const currentDomSelection = document.getSelection();
62686
+ const selectedLength = currentDomSelection?.toString?.().length;
62687
+ const isCollapsed = currentDomSelection?.isCollapsed;
62688
+ if (!isCollapsed && selectedLength === 1) {
62689
+ return false;
62690
+ }
62691
+ }
62678
62692
  if (empty2) {
62679
62693
  return deleteSelection$1(state2, dispatch);
62680
62694
  }
@@ -64974,12 +64988,14 @@ Please report this to https://github.com/markedjs/marked.`, e) {
64974
64988
  importedId: node2.attrs["w:id"]
64975
64989
  });
64976
64990
  if (type2.name === "commentRangeStart") {
64977
- toMark.push({
64978
- commentId: resolvedCommentId,
64979
- importedId,
64980
- internal,
64981
- start: pos
64982
- });
64991
+ if (!matchingImportedComment?.isDone) {
64992
+ toMark.push({
64993
+ commentId: resolvedCommentId,
64994
+ importedId,
64995
+ internal,
64996
+ start: pos
64997
+ });
64998
+ }
64983
64999
  ensureFallbackComment({
64984
65000
  converter,
64985
65001
  matchingImportedComment,
@@ -67497,7 +67513,7 @@ Please report this to https://github.com/markedjs/marked.`, e) {
67497
67513
  const shouldSkipNodeView = (editor) => {
67498
67514
  return isHeadless(editor);
67499
67515
  };
67500
- const summaryVersion = "1.0.0-beta.101";
67516
+ const summaryVersion = "1.0.0-beta.102";
67501
67517
  const nodeKeys = ["group", "content", "marks", "inline", "atom", "defining", "code", "tableRole", "summary"];
67502
67518
  const markKeys = ["group", "inclusive", "excludes", "spanning", "code"];
67503
67519
  function mapAttributes(attrs) {
@@ -68286,7 +68302,7 @@ Please report this to https://github.com/markedjs/marked.`, e) {
68286
68302
  { default: remarkStringify2 },
68287
68303
  { default: remarkGfm2 }
68288
68304
  ] = await Promise.all([
68289
- Promise.resolve().then(() => indexN8gZUeSO),
68305
+ Promise.resolve().then(() => indexNVrA3URL),
68290
68306
  Promise.resolve().then(() => indexDRCvimau),
68291
68307
  Promise.resolve().then(() => indexC_x_N6Uh),
68292
68308
  Promise.resolve().then(() => indexD_sWOSiG),
@@ -68491,7 +68507,7 @@ Please report this to https://github.com/markedjs/marked.`, e) {
68491
68507
  * Process collaboration migrations
68492
68508
  */
68493
68509
  processCollaborationMigrations() {
68494
- console.debug("[checkVersionMigrations] Current editor version", "1.0.0-beta.101");
68510
+ console.debug("[checkVersionMigrations] Current editor version", "1.0.0-beta.102");
68495
68511
  if (!this.options.ydoc) return;
68496
68512
  const metaMap = this.options.ydoc.getMap("meta");
68497
68513
  let docVersion = metaMap.get("version");
@@ -106003,14 +106019,19 @@ ${l}
106003
106019
  }
106004
106020
  return cellType.createAndFill();
106005
106021
  };
106006
- const createTableBorders = ({ size: size2 = 0.66665, color: color2 = "#000000" } = {}) => {
106022
+ const createTableBorders = (borderSpec = {}) => {
106023
+ borderSpec = {
106024
+ size: 0.66665,
106025
+ color: "#000000",
106026
+ ...borderSpec
106027
+ };
106007
106028
  return {
106008
- top: { size: size2, color: color2 },
106009
- left: { size: size2, color: color2 },
106010
- bottom: { size: size2, color: color2 },
106011
- right: { size: size2, color: color2 },
106012
- insideH: { size: size2, color: color2 },
106013
- insideV: { size: size2, color: color2 }
106029
+ top: borderSpec,
106030
+ left: borderSpec,
106031
+ bottom: borderSpec,
106032
+ right: borderSpec,
106033
+ insideH: borderSpec,
106034
+ insideV: borderSpec
106014
106035
  };
106015
106036
  };
106016
106037
  const createTable = (schema, rowsCount, colsCount, withHeaderRow, cellContent = null) => {
@@ -106138,12 +106159,17 @@ ${l}
106138
106159
  editor.commands.deleteTable();
106139
106160
  return true;
106140
106161
  };
106141
- const createCellBorders = ({ size: size2 = 0.66665, color: color2 = "#000000" } = {}) => {
106162
+ const createCellBorders = (borderSpec = {}) => {
106163
+ borderSpec = {
106164
+ size: 0.66665,
106165
+ color: "#000000",
106166
+ ...borderSpec
106167
+ };
106142
106168
  return {
106143
- top: { size: size2, color: color2 },
106144
- left: { size: size2, color: color2 },
106145
- bottom: { size: size2, color: color2 },
106146
- right: { size: size2, color: color2 }
106169
+ top: borderSpec,
106170
+ left: borderSpec,
106171
+ bottom: borderSpec,
106172
+ right: borderSpec
106147
106173
  };
106148
106174
  };
106149
106175
  function cellAround($pos) {
@@ -106910,13 +106936,20 @@ ${l}
106910
106936
  if (["tableCell", "tableHeader"].includes(node2.type.name)) {
106911
106937
  tr.setNodeMarkup(pos, void 0, {
106912
106938
  ...node2.attrs,
106913
- borders: createCellBorders({ size: 0 })
106939
+ borders: createCellBorders({ size: 0, space: 0, val: "none", color: "auto" })
106914
106940
  });
106915
106941
  }
106916
106942
  });
106917
106943
  tr.setNodeMarkup(table2.pos, void 0, {
106918
106944
  ...table2.node.attrs,
106919
- borders: createTableBorders({ size: 0 })
106945
+ borders: createTableBorders({ size: 0 }),
106946
+ // TODO: This works around the issue that table borders are duplicated between
106947
+ // the attributes of the table and the tableProperties attribute.
106948
+ // This can be removed when the redundancy is eliminated.
106949
+ tableProperties: {
106950
+ ...table2.node.attrs.tableProperties,
106951
+ borders: createTableBorders({ size: 0, space: 0, val: "none", color: "auto" })
106952
+ }
106920
106953
  });
106921
106954
  return true;
106922
106955
  }
@@ -130918,7 +130951,7 @@ ${style2}
130918
130951
  }
130919
130952
  },
130920
130953
  {
130921
- label: toolbarTexts2.transparentBorders,
130954
+ label: toolbarTexts2.removeBorders,
130922
130955
  command: "deleteCellAndTableBorders",
130923
130956
  icon: toolbarIcons2.deleteBorders,
130924
130957
  bottomBorder: true,
@@ -131499,7 +131532,7 @@ ${style2}
131499
131532
  deleteRow: "Delete row",
131500
131533
  deleteColumn: "Delete column",
131501
131534
  deleteTable: "Delete table",
131502
- transparentBorders: "Transparent borders",
131535
+ removeBorders: "Remove borders",
131503
131536
  mergeCells: "Merge cells",
131504
131537
  splitCell: "Split cell",
131505
131538
  fixTables: "Fix tables",
@@ -132537,7 +132570,7 @@ ${style2}
132537
132570
  deleteRow: "Delete row",
132538
132571
  deleteColumn: "Delete column",
132539
132572
  deleteTable: "Delete table",
132540
- transparentBorders: "Transparent borders",
132573
+ removeBorders: "Remove borders",
132541
132574
  mergeCells: "Merge cells",
132542
132575
  splitCell: "Split cell",
132543
132576
  fixTables: "Fix tables",
@@ -132620,7 +132653,7 @@ ${style2}
132620
132653
  }
132621
132654
  },
132622
132655
  {
132623
- label: TEXTS.transparentBorders,
132656
+ label: TEXTS.removeBorders,
132624
132657
  command: "deleteCellAndTableBorders",
132625
132658
  icon: ICONS.deleteBorders,
132626
132659
  bottomBorder: true,
@@ -152765,7 +152798,7 @@ ${style2}
152765
152798
  this.config.colors = shuffleArray(this.config.colors);
152766
152799
  this.userColorMap = /* @__PURE__ */ new Map();
152767
152800
  this.colorIndex = 0;
152768
- this.version = "1.0.0-beta.101";
152801
+ this.version = "1.0.0-beta.102";
152769
152802
  this.#log("🦋 [superdoc] Using SuperDoc version:", this.version);
152770
152803
  this.superdocId = config2.superdocId || v4();
152771
152804
  this.colors = this.config.colors;
@@ -155237,7 +155270,7 @@ ${style2}
155237
155270
  value && typeof value === "object" && "byteLength" in value && "byteOffset" in value
155238
155271
  );
155239
155272
  }
155240
- const indexN8gZUeSO = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
155273
+ const indexNVrA3URL = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
155241
155274
  __proto__: null,
155242
155275
  unified
155243
155276
  }, Symbol.toStringTag, { value: "Module" }));