superdoc 1.0.0-beta.23 → 1.0.0-beta.25
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.
- package/dist/chunks/{PdfViewer-umOKwA1g.es.js → PdfViewer-BVPqzLRr.es.js} +1 -1
- package/dist/chunks/{PdfViewer-C9mryfp4.cjs → PdfViewer-B_b1S0cq.cjs} +1 -1
- package/dist/chunks/{index-DyY842H4.es.js → index-BNgZh6cO.es.js} +3 -3
- package/dist/chunks/{index-Q-l_lwcU.cjs → index-CAu2UMbk.cjs} +3 -3
- package/dist/chunks/{index-DYBG7Xab-CoI6fike.cjs → index-DaO6etOu-BRg0AkWm.cjs} +1 -1
- package/dist/chunks/{index-DYBG7Xab-mIeLdlWI.es.js → index-DaO6etOu-q79j2FtK.es.js} +1 -1
- package/dist/chunks/{super-editor.es-Cj9Sb-Qv.es.js → super-editor.es-CuuQj6Tq.es.js} +5607 -108
- package/dist/chunks/{super-editor.es-49DW4_-r.cjs → super-editor.es-DKaflcGg.cjs} +5607 -108
- package/dist/super-editor/ai-writer.es.js +2 -2
- package/dist/super-editor/chunks/{converter-DJyfDFNm.js → converter-Dn182kJr.js} +5512 -48
- package/dist/super-editor/chunks/{docx-zipper-C-9Tqy8I.js → docx-zipper-tDtilNOa.js} +1 -1
- package/dist/super-editor/chunks/{editor-f37DOCIX.js → editor-BvjJRCmh.js} +78 -31
- package/dist/super-editor/chunks/{index-DYBG7Xab.js → index-DaO6etOu.js} +1 -1
- package/dist/super-editor/chunks/{toolbar-Devgq8w3.js → toolbar-BLcc745U.js} +2 -2
- package/dist/super-editor/converter.es.js +1 -1
- package/dist/super-editor/docx-zipper.es.js +2 -2
- package/dist/super-editor/editor.es.js +3 -3
- package/dist/super-editor/file-zipper.es.js +1 -1
- package/dist/super-editor/super-editor.es.js +6 -6
- package/dist/super-editor/toolbar.es.js +2 -2
- package/dist/super-editor.cjs +1 -1
- package/dist/super-editor.es.js +1 -1
- package/dist/superdoc.cjs +2 -2
- package/dist/superdoc.es.js +2 -2
- package/dist/superdoc.umd.js +5648 -149
- package/dist/superdoc.umd.js.map +1 -1
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { p as process$1, aJ as commonjsGlobal, B as Buffer, aK as getDefaultExportFromCjs, aL as getContentTypesFromXml, aM as xmljs } from "./converter-
|
|
1
|
+
import { p as process$1, aJ as commonjsGlobal, B as Buffer, aK as getDefaultExportFromCjs, aL as getContentTypesFromXml, aM as xmljs } from "./converter-Dn182kJr.js";
|
|
2
2
|
function commonjsRequire(path) {
|
|
3
3
|
throw new Error('Could not dynamically require "' + path + '". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.');
|
|
4
4
|
}
|
|
@@ -9,11 +9,11 @@ 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 __privateSet = (obj, member, value, setter) => (__accessCheck(obj, member, "write to private field"), setter ? setter.call(obj, value) : member.set(obj, value), value);
|
|
11
11
|
var __privateMethod = (obj, member, method) => (__accessCheck(obj, member, "access private method"), method);
|
|
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, _EditorOverlayManager_instances, findDecorationContainer_fn, ensureEditorHost_fn, positionEditorHost_fn, showHeaderFooterBorder_fn, hideHeaderFooterBorder_fn, _instances, _options, _editor3, _visibleHost, _viewportHost, _painterHost, _selectionOverlay2, _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, _multiSectionIdentifier, _headerLayoutResults, _footerLayoutResults, _headerLayoutsByRId, _footerLayoutsByRId, _headerDecorationProvider, _footerDecorationProvider, _headerFooterManagerCleanups, _headerRegions, _footerRegions, _session, _activeHeaderFooterEditor, _overlayManager, _hoverOverlay, _hoverTooltip, _modeBanner, _ariaLiveRegion, _hoverRegion, _clickCount, _lastClickTime, _lastClickPosition, _lastSelectedImageBlockId, _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, layoutPerRIdHeaderFooters_fn, updateDecorationProviders_fn, createDecorationProvider_fn, findHeaderFooterPageForPageNumber_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, createDefaultHeaderFooter_fn, getPageElement_fn, scrollPageIntoView_fn, waitForPageMount_fn, getBodyPageHeight_fn, getHeaderFooterPageHeight_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, convertPageLocalToOverlayCoords_fn, normalizeClientPoint_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;
|
|
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, _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, _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, layoutPerRIdHeaderFooters_fn, updateDecorationProviders_fn, createDecorationProvider_fn, findHeaderFooterPageForPageNumber_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, createDefaultHeaderFooter_fn, getPageElement_fn, scrollPageIntoView_fn, waitForPageMount_fn, getBodyPageHeight_fn, getHeaderFooterPageHeight_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, convertPageLocalToOverlayCoords_fn, normalizeClientPoint_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, $ 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 decodeRPrFromMarks, ar as calculateResolvedParagraphProperties, as as encodeCSSFromPPr, at as twipsToPixels$2, au as resolveRunProperties, av as encodeCSSFromRPr, aw as generateOrderedListIndex, ax as docxNumberingHelpers, ay as InputRule, az as convertSizeToCSS, aA as SelectionRange, aB as Transform, aC as findParentNodeClosestToPos, aD as isInTable$1, aE as generateDocxRandomId, aF as insertNewRelationship, aG as inchesToPixels, aH as kebabCase, aI as getUnderlineCssString } from "./converter-
|
|
16
|
-
import { D as DocxZipper } from "./docx-zipper-
|
|
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, $ 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 decodeRPrFromMarks, ar as calculateResolvedParagraphProperties, as as encodeCSSFromPPr, at as twipsToPixels$2, au as resolveRunProperties, av as encodeCSSFromRPr, aw as generateOrderedListIndex, ax as docxNumberingHelpers, ay as InputRule, az as convertSizeToCSS, aA as SelectionRange, aB as Transform, aC as findParentNodeClosestToPos, aD as isInTable$1, aE as generateDocxRandomId, aF as insertNewRelationship, aG as inchesToPixels, aH as kebabCase, aI as getUnderlineCssString } from "./converter-Dn182kJr.js";
|
|
16
|
+
import { D as DocxZipper } from "./docx-zipper-tDtilNOa.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() {
|
|
@@ -12650,8 +12650,14 @@ const updateYdocDocxData = async (editor, ydoc) => {
|
|
|
12650
12650
|
}
|
|
12651
12651
|
const newXml = await editor.exportDocx({ getUpdatedDocs: true });
|
|
12652
12652
|
if (!newXml || typeof newXml !== "object") return;
|
|
12653
|
+
let hasChanges = false;
|
|
12653
12654
|
Object.keys(newXml).forEach((key2) => {
|
|
12654
12655
|
const fileIndex = docx.findIndex((item) => item.name === key2);
|
|
12656
|
+
const existingContent = fileIndex > -1 ? docx[fileIndex].content : null;
|
|
12657
|
+
if (existingContent === newXml[key2]) {
|
|
12658
|
+
return;
|
|
12659
|
+
}
|
|
12660
|
+
hasChanges = true;
|
|
12655
12661
|
if (fileIndex > -1) {
|
|
12656
12662
|
docx.splice(fileIndex, 1);
|
|
12657
12663
|
}
|
|
@@ -12660,12 +12666,14 @@ const updateYdocDocxData = async (editor, ydoc) => {
|
|
|
12660
12666
|
content: newXml[key2]
|
|
12661
12667
|
});
|
|
12662
12668
|
});
|
|
12663
|
-
|
|
12664
|
-
(
|
|
12665
|
-
|
|
12666
|
-
|
|
12667
|
-
|
|
12668
|
-
|
|
12669
|
+
if (hasChanges || !docxValue) {
|
|
12670
|
+
ydoc.transact(
|
|
12671
|
+
() => {
|
|
12672
|
+
metaMap.set("docx", docx);
|
|
12673
|
+
},
|
|
12674
|
+
{ event: "docx-update", user: editor.options.user }
|
|
12675
|
+
);
|
|
12676
|
+
}
|
|
12669
12677
|
} catch (error) {
|
|
12670
12678
|
console.warn("[collaboration] Failed to update Ydoc docx data", error);
|
|
12671
12679
|
}
|
|
@@ -13905,7 +13913,7 @@ const isHeadless = (editor) => {
|
|
|
13905
13913
|
const shouldSkipNodeView = (editor) => {
|
|
13906
13914
|
return isHeadless(editor);
|
|
13907
13915
|
};
|
|
13908
|
-
const summaryVersion = "1.0.0-beta.
|
|
13916
|
+
const summaryVersion = "1.0.0-beta.25";
|
|
13909
13917
|
const nodeKeys = ["group", "content", "marks", "inline", "atom", "defining", "code", "tableRole", "summary"];
|
|
13910
13918
|
const markKeys = ["group", "inclusive", "excludes", "spanning", "code"];
|
|
13911
13919
|
function mapAttributes(attrs) {
|
|
@@ -14697,7 +14705,7 @@ const _Editor = class _Editor extends EventEmitter {
|
|
|
14697
14705
|
{ default: remarkStringify },
|
|
14698
14706
|
{ default: remarkGfm }
|
|
14699
14707
|
] = await Promise.all([
|
|
14700
|
-
import("./index-
|
|
14708
|
+
import("./index-DaO6etOu.js"),
|
|
14701
14709
|
import("./index-DRCvimau.js"),
|
|
14702
14710
|
import("./index-C_x_N6Uh.js"),
|
|
14703
14711
|
import("./index-D_sWOSiG.js"),
|
|
@@ -14902,7 +14910,7 @@ const _Editor = class _Editor extends EventEmitter {
|
|
|
14902
14910
|
* Process collaboration migrations
|
|
14903
14911
|
*/
|
|
14904
14912
|
processCollaborationMigrations() {
|
|
14905
|
-
console.debug("[checkVersionMigrations] Current editor version", "1.0.0-beta.
|
|
14913
|
+
console.debug("[checkVersionMigrations] Current editor version", "1.0.0-beta.25");
|
|
14906
14914
|
if (!this.options.ydoc) return;
|
|
14907
14915
|
const metaMap = this.options.ydoc.getMap("meta");
|
|
14908
14916
|
let docVersion = metaMap.get("version");
|
|
@@ -15258,7 +15266,9 @@ createConverter_fn = function() {
|
|
|
15258
15266
|
debug: true,
|
|
15259
15267
|
telemetry: this.options.telemetry,
|
|
15260
15268
|
fileSource: this.options.fileSource,
|
|
15261
|
-
documentId: this.options.documentId
|
|
15269
|
+
documentId: this.options.documentId,
|
|
15270
|
+
mockWindow: this.options.mockWindow ?? null,
|
|
15271
|
+
mockDocument: this.options.mockDocument ?? null
|
|
15262
15272
|
});
|
|
15263
15273
|
}
|
|
15264
15274
|
};
|
|
@@ -20515,10 +20525,18 @@ function isInlineImage(node) {
|
|
|
20515
20525
|
const attrs = node.attrs ?? {};
|
|
20516
20526
|
const wrap = attrs.wrap;
|
|
20517
20527
|
const rawWrapType = wrap?.type;
|
|
20518
|
-
if (rawWrapType === "Inline")
|
|
20519
|
-
|
|
20520
|
-
|
|
20521
|
-
if (
|
|
20528
|
+
if (rawWrapType === "Inline") {
|
|
20529
|
+
return true;
|
|
20530
|
+
}
|
|
20531
|
+
if (rawWrapType && rawWrapType !== "Inline") {
|
|
20532
|
+
return false;
|
|
20533
|
+
}
|
|
20534
|
+
if (attrs.inline === true) {
|
|
20535
|
+
return true;
|
|
20536
|
+
}
|
|
20537
|
+
if (attrs.display === "inline") {
|
|
20538
|
+
return true;
|
|
20539
|
+
}
|
|
20522
20540
|
return false;
|
|
20523
20541
|
}
|
|
20524
20542
|
function imageNodeToRun(node, positions, activeSdt) {
|
|
@@ -20975,7 +20993,8 @@ function paragraphToFlowBlocks$1(para, nextBlockId, positions, defaultFont, defa
|
|
|
20975
20993
|
return;
|
|
20976
20994
|
}
|
|
20977
20995
|
if (node.type === "image") {
|
|
20978
|
-
|
|
20996
|
+
const isInline2 = isInlineImage(node);
|
|
20997
|
+
if (isInline2) {
|
|
20979
20998
|
const imageRun = imageNodeToRun(node, positions, activeSdt);
|
|
20980
20999
|
if (imageRun) {
|
|
20981
21000
|
currentRuns.push(imageRun);
|
|
@@ -25153,7 +25172,7 @@ function layoutDocument(blocks, measures, options = {}) {
|
|
|
25153
25172
|
let effectiveBlock = block;
|
|
25154
25173
|
const ahead = nextSectionPropsAtBreak.get(index2);
|
|
25155
25174
|
const hasSectionIndex = typeof effectiveBlock.attrs?.sectionIndex === "number";
|
|
25156
|
-
if (ahead && effectiveBlock.attrs?.source === "sectPr" && !hasSectionIndex) {
|
|
25175
|
+
if (ahead && effectiveBlock.attrs?.source === "sectPr" && !hasSectionIndex && ahead) {
|
|
25157
25176
|
effectiveBlock = {
|
|
25158
25177
|
...effectiveBlock,
|
|
25159
25178
|
margins: ahead.margins ? { ...effectiveBlock.margins ?? {}, ...ahead.margins } : effectiveBlock.margins ?? {},
|
|
@@ -25633,6 +25652,11 @@ const hashRuns = (block) => {
|
|
|
25633
25652
|
const trackedMode = block.attrs && "trackedChangesMode" in block.attrs && block.attrs.trackedChangesMode || "review";
|
|
25634
25653
|
const trackedEnabled = resolveTrackedChangesEnabled(block.attrs, true);
|
|
25635
25654
|
const runsHash = block.runs.map((run) => {
|
|
25655
|
+
if (run.kind === "image") {
|
|
25656
|
+
const imgRun = run;
|
|
25657
|
+
const srcHash = imgRun.src.slice(0, 50);
|
|
25658
|
+
return `img:${srcHash}:${imgRun.width}x${imgRun.height}`;
|
|
25659
|
+
}
|
|
25636
25660
|
const text = normalizeText(
|
|
25637
25661
|
"src" in run || run.kind === "lineBreak" || run.kind === "break" ? "" : run.text ?? ""
|
|
25638
25662
|
);
|
|
@@ -35933,7 +35957,7 @@ class EditorOverlayManager {
|
|
|
35933
35957
|
* @throws {Error} If painterHost is not connected to the DOM
|
|
35934
35958
|
* @throws {Error} If visibleHost is not connected to the DOM
|
|
35935
35959
|
*/
|
|
35936
|
-
constructor(
|
|
35960
|
+
constructor(_painterHost2, _visibleHost2, selectionOverlay = null) {
|
|
35937
35961
|
__privateAdd(this, _EditorOverlayManager_instances);
|
|
35938
35962
|
/** Selection overlay element (for hiding during editing) */
|
|
35939
35963
|
__privateAdd(this, _selectionOverlay);
|
|
@@ -35945,19 +35969,21 @@ class EditorOverlayManager {
|
|
|
35945
35969
|
__privateAdd(this, _activeRegion, null);
|
|
35946
35970
|
/** Full-width border line element (MS Word style) */
|
|
35947
35971
|
__privateAdd(this, _borderLine, null);
|
|
35948
|
-
|
|
35972
|
+
/** Dimming overlay element (for dimming body content during editing) */
|
|
35973
|
+
__privateAdd(this, _dimmingOverlay, null);
|
|
35974
|
+
if (!(_painterHost2 instanceof HTMLElement)) {
|
|
35949
35975
|
throw new TypeError("painterHost must be an HTMLElement");
|
|
35950
35976
|
}
|
|
35951
|
-
if (!(
|
|
35977
|
+
if (!(_visibleHost2 instanceof HTMLElement)) {
|
|
35952
35978
|
throw new TypeError("visibleHost must be an HTMLElement");
|
|
35953
35979
|
}
|
|
35954
35980
|
if (selectionOverlay !== null && !(selectionOverlay instanceof HTMLElement)) {
|
|
35955
35981
|
throw new TypeError("selectionOverlay must be an HTMLElement or null");
|
|
35956
35982
|
}
|
|
35957
|
-
if (!
|
|
35983
|
+
if (!_painterHost2.isConnected) {
|
|
35958
35984
|
throw new Error("painterHost must be connected to the DOM");
|
|
35959
35985
|
}
|
|
35960
|
-
if (!
|
|
35986
|
+
if (!_visibleHost2.isConnected) {
|
|
35961
35987
|
throw new Error("visibleHost must be connected to the DOM");
|
|
35962
35988
|
}
|
|
35963
35989
|
__privateSet(this, _selectionOverlay, selectionOverlay);
|
|
@@ -36144,6 +36170,7 @@ _activeEditorHost = new WeakMap();
|
|
|
36144
36170
|
_activeDecorationContainer = new WeakMap();
|
|
36145
36171
|
_activeRegion = new WeakMap();
|
|
36146
36172
|
_borderLine = new WeakMap();
|
|
36173
|
+
_dimmingOverlay = new WeakMap();
|
|
36147
36174
|
_EditorOverlayManager_instances = new WeakSet();
|
|
36148
36175
|
/**
|
|
36149
36176
|
* Finds the decoration container element for a given region kind.
|
|
@@ -36231,6 +36258,17 @@ positionEditorHost_fn = function(editorHost, region, decorationContainer, _zoom)
|
|
|
36231
36258
|
}
|
|
36232
36259
|
}
|
|
36233
36260
|
};
|
|
36261
|
+
/**
|
|
36262
|
+
* Hides and removes the dimming overlay.
|
|
36263
|
+
* @internal Reserved for future implementation of body dimming during header/footer editing.
|
|
36264
|
+
*/
|
|
36265
|
+
// eslint-disable-next-line no-unused-private-class-members
|
|
36266
|
+
hideDimmingOverlay_fn = function() {
|
|
36267
|
+
if (__privateGet(this, _dimmingOverlay)) {
|
|
36268
|
+
__privateGet(this, _dimmingOverlay).remove();
|
|
36269
|
+
__privateSet(this, _dimmingOverlay, null);
|
|
36270
|
+
}
|
|
36271
|
+
};
|
|
36234
36272
|
/**
|
|
36235
36273
|
* Shows a full-width border line at the bottom of the header or top of the footer.
|
|
36236
36274
|
* This creates the MS Word style visual indicator spanning edge-to-edge of the page.
|
|
@@ -50063,7 +50101,14 @@ function addImageRelationship({ editor, path }) {
|
|
|
50063
50101
|
}
|
|
50064
50102
|
}
|
|
50065
50103
|
const key = new PluginKey("ImageRegistration");
|
|
50066
|
-
const
|
|
50104
|
+
const needsImageRegistration = (node) => {
|
|
50105
|
+
if (!node || node.type?.name !== "image") return false;
|
|
50106
|
+
const src = node.attrs?.src;
|
|
50107
|
+
if (typeof src !== "string" || src.length === 0) return false;
|
|
50108
|
+
if (src.startsWith("word/media")) return false;
|
|
50109
|
+
if (src.startsWith("data:") && node.attrs?.rId) return false;
|
|
50110
|
+
return true;
|
|
50111
|
+
};
|
|
50067
50112
|
const ImageRegistrationPlugin = ({ editor }) => {
|
|
50068
50113
|
const { view } = editor;
|
|
50069
50114
|
return new Plugin({
|
|
@@ -50098,7 +50143,7 @@ const ImageRegistrationPlugin = ({ editor }) => {
|
|
|
50098
50143
|
stepMap.map(step.from, -1),
|
|
50099
50144
|
stepMap.map(step.to, 1),
|
|
50100
50145
|
(node, pos) => {
|
|
50101
|
-
if (node.type.name === "image" &&
|
|
50146
|
+
if (node.type.name === "image" && needsImageRegistration(node)) {
|
|
50102
50147
|
const id = {};
|
|
50103
50148
|
foundImages.push({ node, pos, id });
|
|
50104
50149
|
} else {
|
|
@@ -50151,7 +50196,7 @@ const handleNodePath = (foundImages, editor, state) => {
|
|
|
50151
50196
|
existingFileNames.add(uniqueFileName);
|
|
50152
50197
|
const mediaPath = buildMediaPath(uniqueFileName);
|
|
50153
50198
|
mediaStore[mediaPath] = src;
|
|
50154
|
-
const path = mediaPath.startsWith(
|
|
50199
|
+
const path = mediaPath.startsWith("word/") ? mediaPath.slice(5) : mediaPath;
|
|
50155
50200
|
const rId = addImageRelationship({ editor, path });
|
|
50156
50201
|
tr.setNodeMarkup(pos, void 0, {
|
|
50157
50202
|
...node.attrs,
|
|
@@ -50563,19 +50608,21 @@ const Image = Node$1.create({
|
|
|
50563
50608
|
*/
|
|
50564
50609
|
simplePos: { rendered: false },
|
|
50565
50610
|
extension: { rendered: false },
|
|
50611
|
+
// Preserve original EMF/WMF format info when converting to SVG for display.
|
|
50612
|
+
// Used during DOCX export to restore the original metafile format.
|
|
50613
|
+
originalExtension: { rendered: false },
|
|
50614
|
+
originalSrc: { rendered: false },
|
|
50566
50615
|
shouldStretch: {
|
|
50567
50616
|
default: false,
|
|
50568
50617
|
rendered: false
|
|
50569
50618
|
},
|
|
50570
50619
|
size: {
|
|
50571
50620
|
default: {},
|
|
50572
|
-
renderDOM: ({ size,
|
|
50621
|
+
renderDOM: ({ size, shouldStretch }) => {
|
|
50573
50622
|
let style = "";
|
|
50574
50623
|
let { width, height } = size ?? {};
|
|
50575
50624
|
if (width) style += `width: ${width}px;`;
|
|
50576
|
-
if (height &&
|
|
50577
|
-
style += `height: ${height}px; border: 1px solid black; position: absolute;`;
|
|
50578
|
-
else if (height && shouldStretch) {
|
|
50625
|
+
if (height && shouldStretch) {
|
|
50579
50626
|
style += `height: ${height}px; object-fit: fill;`;
|
|
50580
50627
|
} else if (height) style += "height: auto;";
|
|
50581
50628
|
return { style };
|
|
@@ -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-
|
|
3
|
-
import { _ as _export_sfc, u as useHighContrastMode, g as global$1 } from "./editor-
|
|
2
|
+
import { p as process$1 } from "./converter-Dn182kJr.js";
|
|
3
|
+
import { _ as _export_sfc, u as useHighContrastMode, g as global$1 } from "./editor-BvjJRCmh.js";
|
|
4
4
|
const sanitizeNumber = (value, defaultNumber) => {
|
|
5
5
|
let sanitized = value.replace(/[^0-9.]/g, "");
|
|
6
6
|
sanitized = parseFloat(sanitized);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { E } from "./chunks/editor-
|
|
2
|
-
import "./chunks/converter-
|
|
3
|
-
import "./chunks/docx-zipper-
|
|
1
|
+
import { E } from "./chunks/editor-BvjJRCmh.js";
|
|
2
|
+
import "./chunks/converter-Dn182kJr.js";
|
|
3
|
+
import "./chunks/docx-zipper-tDtilNOa.js";
|
|
4
4
|
export {
|
|
5
5
|
E as Editor
|
|
6
6
|
};
|
|
@@ -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-
|
|
13
|
-
import { ac, i, a9, aQ } from "./chunks/converter-
|
|
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-
|
|
15
|
-
import { z, F, B, T, w, C, x } from "./chunks/editor-
|
|
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-Dn182kJr.js";
|
|
13
|
+
import { ac, i, a9, aQ } from "./chunks/converter-Dn182kJr.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-BvjJRCmh.js";
|
|
15
|
+
import { z, F, B, T, w, C, x } from "./chunks/editor-BvjJRCmh.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, 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-
|
|
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-BLcc745U.js";
|
|
18
18
|
import AIWriter from "./ai-writer.es.js";
|
|
19
|
-
import { D } from "./chunks/docx-zipper-
|
|
19
|
+
import { D } from "./chunks/docx-zipper-tDtilNOa.js";
|
|
20
20
|
import { createZip } from "./file-zipper.es.js";
|
|
21
21
|
var eventemitter3 = { exports: {} };
|
|
22
22
|
var hasRequiredEventemitter3;
|
package/dist/super-editor.cjs
CHANGED
|
@@ -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-
|
|
3
|
+
const superEditor_es = require("./chunks/super-editor.es-DKaflcGg.cjs");
|
|
4
4
|
require("./chunks/vue-jWLMl8Ts.cjs");
|
|
5
5
|
exports.AIWriter = superEditor_es.AIWriter;
|
|
6
6
|
exports.AnnotatorHelpers = superEditor_es.AnnotatorHelpers;
|
package/dist/super-editor.es.js
CHANGED
|
@@ -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-
|
|
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-CuuQj6Tq.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-
|
|
4
|
-
const superdoc = require("./chunks/index-
|
|
3
|
+
const superEditor_es = require("./chunks/super-editor.es-DKaflcGg.cjs");
|
|
4
|
+
const superdoc = require("./chunks/index-CAu2UMbk.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;
|
package/dist/superdoc.es.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { a, E, b, S, d, i, j, n, r, p, q } from "./chunks/super-editor.es-
|
|
2
|
-
import { D, H, P, S as S2, m, l } from "./chunks/index-
|
|
1
|
+
import { a, E, b, S, d, i, j, n, r, p, q } from "./chunks/super-editor.es-CuuQj6Tq.es.js";
|
|
2
|
+
import { D, H, P, S as S2, m, l } from "./chunks/index-BNgZh6cO.es.js";
|
|
3
3
|
import { B } from "./chunks/blank-docx-ABm6XYAA.es.js";
|
|
4
4
|
export {
|
|
5
5
|
a as AnnotatorHelpers,
|