@harbour-enterprises/superdoc 1.20.0-next.7 → 1.20.0-next.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.
- package/dist/chunks/{SuperConverter-cKQtheZB.es.js → SuperConverter-AG9DJtqj.es.js} +1 -1
- package/dist/chunks/{SuperConverter-Cw5vRwji.cjs → SuperConverter-BZpqMj00.cjs} +1 -1
- package/dist/chunks/{src-BGGF4uL9.es.js → src-B0mML5_l.es.js} +4 -4
- package/dist/chunks/{src-BCZyf2Tf.cjs → src-BuoIbDqH.cjs} +4 -4
- package/dist/super-editor/converter.cjs +1 -1
- package/dist/super-editor/converter.es.js +1 -1
- package/dist/super-editor/src/core/Attribute.d.ts +2 -2
- package/dist/super-editor/src/core/Editor.d.ts +3 -3
- package/dist/super-editor/src/core/InputRule.d.ts +2 -2
- package/dist/super-editor/src/core/Node.d.ts +3 -3
- package/dist/super-editor/src/core/PositionTracker.d.ts +2 -2
- package/dist/super-editor/src/core/commands/changeListLevel.d.ts +2 -2
- package/dist/super-editor/src/core/commands/findPreviousTextDeleteRange.d.ts +1 -1
- package/dist/super-editor/src/core/commands/insertContentAt.d.ts +3 -3
- package/dist/super-editor/src/core/commands/list-helpers/find-node-position.d.ts +1 -1
- package/dist/super-editor/src/core/commands/list-helpers/test-helpers.d.ts +1 -1
- package/dist/super-editor/src/core/commands/removeNumberingProperties.d.ts +1 -1
- package/dist/super-editor/src/core/commands/tests/commandTestUtils.d.ts +1 -1
- package/dist/super-editor/src/core/commands/tests/test-schema.d.ts +1 -1
- package/dist/super-editor/src/core/commands/updateAttributes.d.ts +3 -3
- package/dist/super-editor/src/core/helpers/applyPatch.d.ts +2 -2
- package/dist/super-editor/src/core/helpers/catchAllSchema.d.ts +1 -1
- package/dist/super-editor/src/core/helpers/findParentNode.d.ts +1 -1
- package/dist/super-editor/src/core/helpers/findParentNodeClosestToPos.d.ts +2 -2
- package/dist/super-editor/src/core/helpers/getMarkRange.d.ts +1 -1
- package/dist/super-editor/src/core/helpers/getMarkType.d.ts +1 -1
- package/dist/super-editor/src/core/helpers/getMarksFromSelection.d.ts +2 -2
- package/dist/super-editor/src/core/helpers/getNodeType.d.ts +1 -1
- package/dist/super-editor/src/core/helpers/getSchemaTypeNameByName.d.ts +1 -1
- package/dist/super-editor/src/core/helpers/importMarkdown.d.ts +1 -1
- package/dist/super-editor/src/core/helpers/isTextSelection.d.ts +1 -1
- package/dist/super-editor/src/core/helpers/list-numbering-helpers.d.ts +2 -2
- package/dist/super-editor/src/core/helpers/markdown/proseMirrorToMdast.d.ts +1 -1
- package/dist/super-editor/src/core/helpers/markdown/types.d.ts +1 -1
- package/dist/super-editor/src/core/helpers/syncParagraphRunProperties.d.ts +4 -4
- package/dist/super-editor/src/core/inputRules/paste-link-normalizer.d.ts +1 -1
- package/dist/super-editor/src/core/presentation-editor/PresentationEditor.d.ts +2 -2
- package/dist/super-editor/src/core/presentation-editor/dom/DecorationBridge.d.ts +1 -1
- package/dist/super-editor/src/core/presentation-editor/input/ClickSelectionUtilities.d.ts +2 -2
- package/dist/super-editor/src/core/presentation-editor/layout/EpochPositionMapper.d.ts +1 -1
- package/dist/super-editor/src/core/presentation-editor/layout/FootnotesBuilder.d.ts +1 -1
- package/dist/super-editor/src/core/presentation-editor/remote-cursors/RemoteCursorAwareness.d.ts +1 -1
- package/dist/super-editor/src/core/presentation-editor/remote-cursors/RemoteCursorManager.d.ts +1 -1
- package/dist/super-editor/src/core/presentation-editor/tables/TableSelectionUtilities.d.ts +1 -1
- package/dist/super-editor/src/core/presentation-editor/utils/A11ySupport.d.ts +1 -1
- package/dist/super-editor/src/core/presentation-editor/utils/CommentPositionCollection.d.ts +1 -1
- package/dist/super-editor/src/core/presentation-editor/utils/PositionMapFromPm.d.ts +1 -1
- package/dist/super-editor/src/core/presentation-editor/utils/SchemaNodeTypes.d.ts +1 -1
- package/dist/super-editor/src/core/renderers/EditorRenderer.d.ts +2 -2
- package/dist/super-editor/src/core/renderers/ProseMirrorRenderer.d.ts +1 -1
- package/dist/super-editor/src/core/schema-summary.d.ts +1 -1
- package/dist/super-editor/src/core/super-validator/super-validator.d.ts +2 -2
- package/dist/super-editor/src/core/super-validator/types.d.ts +3 -3
- package/dist/super-editor/src/core/super-validator/validators/state/nodes/image/image-validator.d.ts +2 -2
- package/dist/super-editor/src/core/super-validator/validators/state/nodes/image/rules/image-rid.d.ts +1 -1
- package/dist/super-editor/src/core/super-validator/validators/state/nodes/link/link-validator.d.ts +1 -1
- package/dist/super-editor/src/core/super-validator/validators/state/nodes/link/rules/link-rid.d.ts +1 -1
- package/dist/super-editor/src/core/types/ChainedCommands.d.ts +2 -2
- package/dist/super-editor/src/core/types/EditorConfig.d.ts +1 -1
- package/dist/super-editor/src/core/types/EditorEvents.d.ts +1 -1
- package/dist/super-editor/src/core/types/index.d.ts +1 -1
- package/dist/super-editor/src/document-api-adapters/helpers/adapter-utils.d.ts +1 -1
- package/dist/super-editor/src/document-api-adapters/helpers/authority-resolver.d.ts +1 -1
- package/dist/super-editor/src/document-api-adapters/helpers/bookmark-resolver.d.ts +1 -1
- package/dist/super-editor/src/document-api-adapters/helpers/caption-resolver.d.ts +1 -1
- package/dist/super-editor/src/document-api-adapters/helpers/citation-resolver.d.ts +1 -1
- package/dist/super-editor/src/document-api-adapters/helpers/content-controls/target-resolution.d.ts +1 -1
- package/dist/super-editor/src/document-api-adapters/helpers/crossref-resolver.d.ts +1 -1
- package/dist/super-editor/src/document-api-adapters/helpers/field-resolver.d.ts +1 -1
- package/dist/super-editor/src/document-api-adapters/helpers/footnote-resolver.d.ts +1 -1
- package/dist/super-editor/src/document-api-adapters/helpers/hyperlink-mutation-helper.d.ts +1 -1
- package/dist/super-editor/src/document-api-adapters/helpers/image-resolver.d.ts +1 -1
- package/dist/super-editor/src/document-api-adapters/helpers/index-resolver.d.ts +1 -1
- package/dist/super-editor/src/document-api-adapters/helpers/inline-address-resolver.d.ts +1 -1
- package/dist/super-editor/src/document-api-adapters/helpers/mutation-helpers.d.ts +1 -1
- package/dist/super-editor/src/document-api-adapters/helpers/node-address-resolver.d.ts +1 -1
- package/dist/super-editor/src/document-api-adapters/helpers/node-info-mapper.d.ts +1 -1
- package/dist/super-editor/src/document-api-adapters/helpers/sd-projection.d.ts +1 -1
- package/dist/super-editor/src/document-api-adapters/helpers/sections-resolver.d.ts +1 -1
- package/dist/super-editor/src/document-api-adapters/helpers/table-target-resolver.d.ts +1 -1
- package/dist/super-editor/src/document-api-adapters/helpers/text-offset-resolver.d.ts +1 -1
- package/dist/super-editor/src/document-api-adapters/helpers/toc-entry-builder.d.ts +1 -1
- package/dist/super-editor/src/document-api-adapters/helpers/toc-entry-node-id.d.ts +1 -1
- package/dist/super-editor/src/document-api-adapters/helpers/toc-entry-resolver.d.ts +1 -1
- package/dist/super-editor/src/document-api-adapters/helpers/toc-node-id.d.ts +1 -1
- package/dist/super-editor/src/document-api-adapters/helpers/toc-resolver.d.ts +1 -1
- package/dist/super-editor/src/document-api-adapters/helpers/transaction-meta.d.ts +1 -1
- package/dist/super-editor/src/document-api-adapters/plan-engine/executor-registry.types.d.ts +2 -2
- package/dist/super-editor/src/document-api-adapters/plan-engine/executor.d.ts +2 -2
- package/dist/super-editor/src/document-api-adapters/structural-write-engine/nesting-guard.d.ts +1 -1
- package/dist/super-editor/src/document-api-adapters/structural-write-engine/node-materializer.d.ts +1 -1
- package/dist/super-editor/src/document-api-adapters/structural-write-engine/placement-resolver.d.ts +1 -1
- package/dist/super-editor/src/document-api-adapters/structural-write-engine/target-resolver.d.ts +1 -1
- package/dist/super-editor/src/extensions/ai/ai-plugin.d.ts +1 -1
- package/dist/super-editor/src/extensions/block-node/block-node.d.ts +3 -3
- package/dist/super-editor/src/extensions/chart/chart-immutability-plugin.d.ts +1 -1
- package/dist/super-editor/src/extensions/comment/helpers/comment-target-resolver.d.ts +4 -4
- package/dist/super-editor/src/extensions/context-menu/context-menu.d.ts +1 -1
- package/dist/super-editor/src/extensions/custom-selection/custom-selection.d.ts +1 -1
- package/dist/super-editor/src/extensions/diffing/algorithm/comment-diffing.d.ts +1 -1
- package/dist/super-editor/src/extensions/diffing/algorithm/diff-utils.d.ts +1 -1
- package/dist/super-editor/src/extensions/diffing/algorithm/generic-diffing.d.ts +1 -1
- package/dist/super-editor/src/extensions/diffing/algorithm/inline-diffing.d.ts +1 -1
- package/dist/super-editor/src/extensions/diffing/algorithm/paragraph-diffing.d.ts +1 -1
- package/dist/super-editor/src/extensions/diffing/computeDiff.d.ts +1 -1
- package/dist/super-editor/src/extensions/diffing/replay/marks-from-diff.d.ts +2 -2
- package/dist/super-editor/src/extensions/diffing/replay/replay-doc.d.ts +2 -2
- package/dist/super-editor/src/extensions/diffing/replay/replay-inline.d.ts +2 -2
- package/dist/super-editor/src/extensions/diffing/replay/replay-non-paragraph.d.ts +2 -2
- package/dist/super-editor/src/extensions/diffing/replay/replay-paragraph.d.ts +2 -2
- package/dist/super-editor/src/extensions/diffing/replayDiffs.d.ts +3 -3
- package/dist/super-editor/src/extensions/diffing/service/canonicalize.d.ts +1 -1
- package/dist/super-editor/src/extensions/diffing/service/diff-service.d.ts +2 -2
- package/dist/super-editor/src/extensions/field-annotation/FieldAnnotationPlugin.d.ts +1 -1
- package/dist/super-editor/src/extensions/image/imageHelpers/imagePositionPlugin.d.ts +3 -3
- package/dist/super-editor/src/extensions/image/imageHelpers/imageRegistrationPlugin.d.ts +4 -4
- package/dist/super-editor/src/extensions/linked-styles/plugin.d.ts +1 -1
- package/dist/super-editor/src/extensions/noderesizer/noderesizer.d.ts +1 -1
- package/dist/super-editor/src/extensions/paragraph/ParagraphNodeView.d.ts +5 -5
- package/dist/super-editor/src/extensions/paragraph/dropcapPlugin.d.ts +2 -2
- package/dist/super-editor/src/extensions/paragraph/leadingCaretPlugin.d.ts +1 -1
- package/dist/super-editor/src/extensions/paragraph/numberingPlugin.d.ts +1 -1
- package/dist/super-editor/src/extensions/paragraph/paragraph.d.ts +1 -1
- package/dist/super-editor/src/extensions/run/calculateInlineRunPropertiesPlugin.d.ts +2 -2
- package/dist/super-editor/src/extensions/run/cleanupEmptyRunsPlugin.d.ts +1 -1
- package/dist/super-editor/src/extensions/run/commands/split-run.d.ts +1 -1
- package/dist/super-editor/src/extensions/run/wrapTextInRunsPlugin.d.ts +1 -1
- package/dist/super-editor/src/extensions/search/SearchIndex.d.ts +4 -4
- package/dist/super-editor/src/extensions/search/prosemirror-search-patched.d.ts +3 -3
- package/dist/super-editor/src/extensions/search/search.d.ts +3 -3
- package/dist/super-editor/src/extensions/structured-content/structured-content-lock-plugin.d.ts +1 -1
- package/dist/super-editor/src/extensions/structured-content/structured-content-select-plugin.d.ts +1 -1
- package/dist/super-editor/src/extensions/structured-content/structuredContentHelpers/getStructuredContentBlockTags.d.ts +2 -2
- package/dist/super-editor/src/extensions/structured-content/structuredContentHelpers/getStructuredContentByGroup.d.ts +2 -2
- package/dist/super-editor/src/extensions/structured-content/structuredContentHelpers/getStructuredContentInlineTags.d.ts +2 -2
- package/dist/super-editor/src/extensions/structured-content/structuredContentHelpers/getStructuredContentTablesById.d.ts +2 -2
- package/dist/super-editor/src/extensions/structured-content/structuredContentHelpers/getStructuredContentTags.d.ts +2 -2
- package/dist/super-editor/src/extensions/structured-content/structuredContentHelpers/getStructuredContentTagsById.d.ts +2 -2
- package/dist/super-editor/src/extensions/tab/helpers/paragraphContextCache.d.ts +2 -2
- package/dist/super-editor/src/extensions/tab/helpers/tabAdapter.d.ts +4 -4
- package/dist/super-editor/src/extensions/tab/helpers/tabDecorations.d.ts +1 -1
- package/dist/super-editor/src/extensions/tab/types.d.ts +1 -1
- package/dist/super-editor/src/extensions/table/table.d.ts +10 -10
- package/dist/super-editor/src/extensions/table/tableHelpers/appendRows.d.ts +16 -16
- package/dist/super-editor/src/extensions/table/tableHelpers/toggleHeaderRow.d.ts +1 -1
- package/dist/super-editor/src/extensions/track-changes/permission-helpers.d.ts +2 -2
- package/dist/super-editor/src/extensions/track-changes/plugins/trackChangesBasePlugin.d.ts +2 -2
- package/dist/super-editor/src/extensions/track-changes/trackChangesHelpers/addMarkStep.d.ts +1 -1
- package/dist/super-editor/src/extensions/track-changes/trackChangesHelpers/getTrackChanges.d.ts +1 -1
- package/dist/super-editor/src/extensions/track-changes/trackChangesHelpers/removeMarkStep.d.ts +1 -1
- package/dist/super-editor/src/extensions/track-changes/trackChangesHelpers/replaceAroundStep.d.ts +7 -7
- package/dist/super-editor/src/extensions/track-changes/trackChangesHelpers/replaceStep.d.ts +1 -1
- package/dist/super-editor/src/extensions/track-changes/trackChangesHelpers/testUtils.d.ts +1 -1
- package/dist/super-editor/src/extensions/types/block-node-commands.d.ts +1 -1
- package/dist/super-editor/src/extensions/types/specialized-commands.d.ts +1 -1
- package/dist/super-editor/src/extensions/vertical-navigation/vertical-navigation.d.ts +1 -1
- package/dist/super-editor/src/index.d.ts +8 -5
- package/dist/super-editor/src/tests/helpers/paragraphReference.d.ts +1 -1
- package/dist/super-editor/src/types.d.ts +0 -1
- package/dist/super-editor/src/utils/rangeUtils.d.ts +3 -3
- package/dist/super-editor.cjs +2 -2
- package/dist/super-editor.es.js +2 -2
- package/dist/superdoc/src/index.d.ts +0 -1
- package/dist/superdoc/src/types.d.ts +1 -1
- package/dist/superdoc.cjs +3 -3
- package/dist/superdoc.es.js +3 -3
- package/dist/superdoc.umd.js +5 -5
- package/package.json +3 -3
- package/dist/_internal-shims.d.ts +0 -623
|
@@ -73092,7 +73092,7 @@ var SuperConverter = class SuperConverter {
|
|
|
73092
73092
|
static getStoredSuperdocVersion(docx) {
|
|
73093
73093
|
return SuperConverter.getStoredCustomProperty(docx, "SuperdocVersion");
|
|
73094
73094
|
}
|
|
73095
|
-
static setStoredSuperdocVersion(docx = this.convertedXml, version = "1.20.0-next.
|
|
73095
|
+
static setStoredSuperdocVersion(docx = this.convertedXml, version = "1.20.0-next.8") {
|
|
73096
73096
|
return SuperConverter.setStoredCustomProperty(docx, "SuperdocVersion", version, false);
|
|
73097
73097
|
}
|
|
73098
73098
|
static generateWordTimestamp() {
|
|
@@ -74739,7 +74739,7 @@ var SuperConverter = class SuperConverter {
|
|
|
74739
74739
|
static getStoredSuperdocVersion(docx) {
|
|
74740
74740
|
return SuperConverter.getStoredCustomProperty(docx, "SuperdocVersion");
|
|
74741
74741
|
}
|
|
74742
|
-
static setStoredSuperdocVersion(docx = this.convertedXml, version = "1.20.0-next.
|
|
74742
|
+
static setStoredSuperdocVersion(docx = this.convertedXml, version = "1.20.0-next.8") {
|
|
74743
74743
|
return SuperConverter.setStoredCustomProperty(docx, "SuperdocVersion", version, false);
|
|
74744
74744
|
}
|
|
74745
74745
|
static generateWordTimestamp() {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { a as __toCommonJS, n as __esmMin, r as __export, t as __commonJSMin } from "./rolldown-runtime-B2q5OVn9.es.js";
|
|
2
|
-
import { $ as yUndoPluginKey, $n as buildStructuralReceipt, $t as isTextSelection, A as generateOrderedListIndex, An as generateRandomSigned32BitIntStrId, Ar as callOrGet, At as deleteColumn, B as restoreRevision, Bn as resolveTableProperties, Bt as tableNodeTypes, C as numberingPartDescriptor, Cn as dropPoint, Cr as DocumentApiValidationError, Ct as calculateResolvedParagraphProperties, D as updateNumberingProperties, Dn as convertBordersToOoxmlFormat, Dr as Schema$1, Dt as addColumnAfter, E as changeListLevel, En as replaceStep$1, Er as Fragment$1, Et as TableMap, F as registerInvalidationHandler, Fn as DEFAULT_TBL_LOOK, Ft as mergeCells, G as getPart, Gn as resolvePreferredNewTableStyleId, Gt as Decoration, H as PlanError, Hn as TABLE_FALLBACK_CELL_PADDING, Ht as toggleHeaderCell, I as checkRevision, In as resolveDocxFontFamily, It as selectedRect, J as setPart, Jn as TrackFormatMarkName, Jt as isActive, K as hasPart, Kn as getUnderlineCssString, Kt as DecorationSet, L as getRevision, Ln as resolveParagraphProperties, Lt as setCellAttr, M as mutatePart, Mn as encodeCSSFromPPr, Mt as deleteTable, N as mutateParts, Nn as encodeCSSFromRPr, Nt as fixTables, O as isList, On as isLegacySchemaDefaultBorders, Or as Slice, Ot as addColumnBefore, P as clearPartCacheStale, Pn as encodeMarksFromRPr, Pt as goToNextCell, Q as ySyncPluginKey, Qn as isStructuralInsertInput, Qt as getMarkRange, R as incrementRevision, Rn as resolveRunProperties, Rt as splitCell, S as rebuildRawNumberingFromTranslated, Sn as canSplit, Sr as DELETABLE_BLOCK_NODE_TYPES, St as mergeRanges, T as removeLvlOverride, Tn as liftTarget, Tr as DOMSerializer, Tt as CellSelection, U as planError, Un as isKnownTableStyleId, Ut as keydownHandler, V as trackRevisions, Vn as TABLE_FALLBACK_BORDERS, Vt as toggleHeader, W as clonePart, Wn as resolveExistingTableEffectiveStyleId, Wt as keymap, X as registerPartDescriptor, Xn as createDocumentApi, Xt as getSchemaTypeNameByName, Y as hasPartDescriptor, Yn as TrackInsertMarkName, Yt as isNodeActive, Z as yCursorPluginKey, Zn as isStructuralReplaceInput, Zt as isMarkActive, _ as handleClipboardPaste, _n as RemoveMarkStep, _r as SNIPPET_MAX_LENGTH, _t as getSelectionFormattingState, a as translator$2, an as cleanSchemaItem, ar as PROPERTY_REGISTRY, at as undoDepth, b as unflattenListsInHtml, bn as Transform, br as MARK_KEYS, bt as clampRange, c as parseXmlToJson, cn as AllSelection, cr as INLINE_PROPERTY_BY_KEY, ct as sanitizeHref, d as processContent, dn as Plugin, dr as DEFAULT_NESTING_POLICY, dt as posToDOMRect, en as findParentNode, er as textReceiptToSDReceipt, et as closeHistory, f as createDocFromMarkdown, fn as PluginKey, fr as DEFAULT_PLACEMENT, ft as findChildren$1, g as InputRule, gn as Mapping, gr as SNIPPET_CONTEXT_CHARS, gt as getMarksFromSelection, h as createDocFromHTML, hn as AddMarkStep, hr as buildResolvedHandle, ht as getFormattingStateAtPos, in as getNodeType, ir as isPublicMutationStepOp, it as undo, j as findOrCreateRelationship, jn as decodeRPrFromMarks, jr as getExtensionConfigField, jt as deleteRow, k as docxNumberingHelpers, kn as generateDocxRandomId, kr as minMax, kt as columnResizing, l as helpers_exports, ln as EditorState, lr as INLINE_PROPERTY_KEY_SET, lt as CommandService, m as readImageDimensionsFromDataUri, mn as TextSelection$1, mr as buildDiscoveryResult, mt as findMark$1, n as translateStyleDefinitions, nn as defaultBlockAt$1, nr as CAPABILITY_REASON_CODES, nt as redo, o as translator$1, on as getSchemaTypeByName, or as COMMAND_CATALOG, ot as UrlValidationConstants, p as markdownToPmFragment, pn as Selection, pr as buildDiscoveryItem, pt as getActiveFormatting, q as removePart, qn as TrackDeleteMarkName, qt as EditorView, r as kebabCase, rn as getMarkType, rr as PUBLIC_MUTATION_STEP_OP_IDS, rt as redoDepth, s as translator, sn as createDocument, sr as OPERATION_IDS, st as encodeTooltip, t as SuperConverter, tn as findParentNodeClosestToPos, tr as derivePropertyStateFromDirect, tt as history, u as updateDOMAttributes, un as NodeSelection, ur as INLINE_PROPERTY_REGISTRY, ut as isInTable, v as htmlHandler, vn as ReplaceAroundStep$1, vr as MAX_PLAN_RESOLVED_TARGETS, vt as calculateInlineRunPropertiesPlugin, w as syncNumberingToXmlTree, wn as joinPoint, wr as DOMParser$1, wt as getResolvedParagraphProperties, x as ListHelpers, xn as canJoin, xr as SELECTION_EDGE_NODE_TYPES, xt as collectChangedRangesThroughTransactions, y as inputRulesPlugin, yn as ReplaceStep, yr as MAX_PLAN_STEPS, yt as extractTableInfo, z as initRevision, zn as resolveTableCellProperties, zt as tableEditing } from "./SuperConverter-
|
|
2
|
+
import { $ as yUndoPluginKey, $n as buildStructuralReceipt, $t as isTextSelection, A as generateOrderedListIndex, An as generateRandomSigned32BitIntStrId, Ar as callOrGet, At as deleteColumn, B as restoreRevision, Bn as resolveTableProperties, Bt as tableNodeTypes, C as numberingPartDescriptor, Cn as dropPoint, Cr as DocumentApiValidationError, Ct as calculateResolvedParagraphProperties, D as updateNumberingProperties, Dn as convertBordersToOoxmlFormat, Dr as Schema$1, Dt as addColumnAfter, E as changeListLevel, En as replaceStep$1, Er as Fragment$1, Et as TableMap, F as registerInvalidationHandler, Fn as DEFAULT_TBL_LOOK, Ft as mergeCells, G as getPart, Gn as resolvePreferredNewTableStyleId, Gt as Decoration, H as PlanError, Hn as TABLE_FALLBACK_CELL_PADDING, Ht as toggleHeaderCell, I as checkRevision, In as resolveDocxFontFamily, It as selectedRect, J as setPart, Jn as TrackFormatMarkName, Jt as isActive, K as hasPart, Kn as getUnderlineCssString, Kt as DecorationSet, L as getRevision, Ln as resolveParagraphProperties, Lt as setCellAttr, M as mutatePart, Mn as encodeCSSFromPPr, Mt as deleteTable, N as mutateParts, Nn as encodeCSSFromRPr, Nt as fixTables, O as isList, On as isLegacySchemaDefaultBorders, Or as Slice, Ot as addColumnBefore, P as clearPartCacheStale, Pn as encodeMarksFromRPr, Pt as goToNextCell, Q as ySyncPluginKey, Qn as isStructuralInsertInput, Qt as getMarkRange, R as incrementRevision, Rn as resolveRunProperties, Rt as splitCell, S as rebuildRawNumberingFromTranslated, Sn as canSplit, Sr as DELETABLE_BLOCK_NODE_TYPES, St as mergeRanges, T as removeLvlOverride, Tn as liftTarget, Tr as DOMSerializer, Tt as CellSelection, U as planError, Un as isKnownTableStyleId, Ut as keydownHandler, V as trackRevisions, Vn as TABLE_FALLBACK_BORDERS, Vt as toggleHeader, W as clonePart, Wn as resolveExistingTableEffectiveStyleId, Wt as keymap, X as registerPartDescriptor, Xn as createDocumentApi, Xt as getSchemaTypeNameByName, Y as hasPartDescriptor, Yn as TrackInsertMarkName, Yt as isNodeActive, Z as yCursorPluginKey, Zn as isStructuralReplaceInput, Zt as isMarkActive, _ as handleClipboardPaste, _n as RemoveMarkStep, _r as SNIPPET_MAX_LENGTH, _t as getSelectionFormattingState, a as translator$2, an as cleanSchemaItem, ar as PROPERTY_REGISTRY, at as undoDepth, b as unflattenListsInHtml, bn as Transform, br as MARK_KEYS, bt as clampRange, c as parseXmlToJson, cn as AllSelection, cr as INLINE_PROPERTY_BY_KEY, ct as sanitizeHref, d as processContent, dn as Plugin, dr as DEFAULT_NESTING_POLICY, dt as posToDOMRect, en as findParentNode, er as textReceiptToSDReceipt, et as closeHistory, f as createDocFromMarkdown, fn as PluginKey, fr as DEFAULT_PLACEMENT, ft as findChildren$1, g as InputRule, gn as Mapping, gr as SNIPPET_CONTEXT_CHARS, gt as getMarksFromSelection, h as createDocFromHTML, hn as AddMarkStep, hr as buildResolvedHandle, ht as getFormattingStateAtPos, in as getNodeType, ir as isPublicMutationStepOp, it as undo, j as findOrCreateRelationship, jn as decodeRPrFromMarks, jr as getExtensionConfigField, jt as deleteRow, k as docxNumberingHelpers, kn as generateDocxRandomId, kr as minMax, kt as columnResizing, l as helpers_exports, ln as EditorState, lr as INLINE_PROPERTY_KEY_SET, lt as CommandService, m as readImageDimensionsFromDataUri, mn as TextSelection$1, mr as buildDiscoveryResult, mt as findMark$1, n as translateStyleDefinitions, nn as defaultBlockAt$1, nr as CAPABILITY_REASON_CODES, nt as redo, o as translator$1, on as getSchemaTypeByName, or as COMMAND_CATALOG, ot as UrlValidationConstants, p as markdownToPmFragment, pn as Selection, pr as buildDiscoveryItem, pt as getActiveFormatting, q as removePart, qn as TrackDeleteMarkName, qt as EditorView, r as kebabCase, rn as getMarkType, rr as PUBLIC_MUTATION_STEP_OP_IDS, rt as redoDepth, s as translator, sn as createDocument, sr as OPERATION_IDS, st as encodeTooltip, t as SuperConverter, tn as findParentNodeClosestToPos, tr as derivePropertyStateFromDirect, tt as history, u as updateDOMAttributes, un as NodeSelection, ur as INLINE_PROPERTY_REGISTRY, ut as isInTable, v as htmlHandler, vn as ReplaceAroundStep$1, vr as MAX_PLAN_RESOLVED_TARGETS, vt as calculateInlineRunPropertiesPlugin, w as syncNumberingToXmlTree, wn as joinPoint, wr as DOMParser$1, wt as getResolvedParagraphProperties, x as ListHelpers, xn as canJoin, xr as SELECTION_EDGE_NODE_TYPES, xt as collectChangedRangesThroughTransactions, y as inputRulesPlugin, yn as ReplaceStep, yr as MAX_PLAN_STEPS, yt as extractTableInfo, z as initRevision, zn as resolveTableCellProperties, zt as tableEditing } from "./SuperConverter-AG9DJtqj.es.js";
|
|
3
3
|
import { a as init_dist$2, i as global$1, n as init_dist, o as Buffer$1, r as process$1, s as init_dist$1 } from "./jszip-ChlR43oI.es.js";
|
|
4
4
|
import { n as v4_default } from "./uuid-qzgm05fK.es.js";
|
|
5
5
|
import { A as ptToTwips, C as linesToTwips, D as pixelsToTwips, F as twipsToInches, I as twipsToLines, L as twipsToPixels, b as inchesToPixels, c as convertSizeToCSS, h as getArrayBufferFromUrl, j as resolveOpcTargetPath, t as COMMENT_FILE_BASENAMES, x as inchesToTwips } from "./constants-ep1_Gwqi.es.js";
|
|
@@ -2491,7 +2491,7 @@ var v_click_outside_default = {
|
|
|
2491
2491
|
var DEFAULT_ENDPOINT = "https://ingest.superdoc.dev/v1/collect";
|
|
2492
2492
|
function getSuperdocVersion() {
|
|
2493
2493
|
try {
|
|
2494
|
-
return "1.20.0-next.
|
|
2494
|
+
return "1.20.0-next.8";
|
|
2495
2495
|
} catch {
|
|
2496
2496
|
return "unknown";
|
|
2497
2497
|
}
|
|
@@ -15621,7 +15621,7 @@ const canUseDOM = () => {
|
|
|
15621
15621
|
return false;
|
|
15622
15622
|
}
|
|
15623
15623
|
};
|
|
15624
|
-
var summaryVersion = "1.20.0-next.
|
|
15624
|
+
var summaryVersion = "1.20.0-next.8";
|
|
15625
15625
|
var nodeKeys = [
|
|
15626
15626
|
"group",
|
|
15627
15627
|
"content",
|
|
@@ -45939,7 +45939,7 @@ var Editor = class Editor extends EventEmitter$1 {
|
|
|
45939
45939
|
return migrations.length > 0;
|
|
45940
45940
|
}
|
|
45941
45941
|
processCollaborationMigrations() {
|
|
45942
|
-
console.debug("[checkVersionMigrations] Current editor version", "1.20.0-next.
|
|
45942
|
+
console.debug("[checkVersionMigrations] Current editor version", "1.20.0-next.8");
|
|
45943
45943
|
if (!this.options.ydoc) return;
|
|
45944
45944
|
let docVersion = this.options.ydoc.getMap("meta").get("version");
|
|
45945
45945
|
if (!docVersion) docVersion = "initial";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
const require_rolldown_runtime = require("./rolldown-runtime-Dp2H1eGw.cjs");
|
|
2
|
-
const require_SuperConverter = require("./SuperConverter-
|
|
2
|
+
const require_SuperConverter = require("./SuperConverter-BZpqMj00.cjs");
|
|
3
3
|
const require_jszip = require("./jszip-DCT9QYaK.cjs");
|
|
4
4
|
const require_uuid = require("./uuid-BZOhSkTa.cjs");
|
|
5
5
|
const require_constants = require("./constants-BQKY2Lbp.cjs");
|
|
@@ -2510,7 +2510,7 @@ var DEFAULT_ENDPOINT = "https://ingest.superdoc.dev/v1/collect";
|
|
|
2510
2510
|
const COMMUNITY_LICENSE_KEY = "community-and-eval-agplv3";
|
|
2511
2511
|
function getSuperdocVersion() {
|
|
2512
2512
|
try {
|
|
2513
|
-
return "1.20.0-next.
|
|
2513
|
+
return "1.20.0-next.8";
|
|
2514
2514
|
} catch {
|
|
2515
2515
|
return "unknown";
|
|
2516
2516
|
}
|
|
@@ -15642,7 +15642,7 @@ const canUseDOM = () => {
|
|
|
15642
15642
|
return false;
|
|
15643
15643
|
}
|
|
15644
15644
|
};
|
|
15645
|
-
var summaryVersion = "1.20.0-next.
|
|
15645
|
+
var summaryVersion = "1.20.0-next.8";
|
|
15646
15646
|
var nodeKeys = [
|
|
15647
15647
|
"group",
|
|
15648
15648
|
"content",
|
|
@@ -45965,7 +45965,7 @@ var Editor = class Editor extends EventEmitter$1 {
|
|
|
45965
45965
|
return migrations.length > 0;
|
|
45966
45966
|
}
|
|
45967
45967
|
processCollaborationMigrations() {
|
|
45968
|
-
console.debug("[checkVersionMigrations] Current editor version", "1.20.0-next.
|
|
45968
|
+
console.debug("[checkVersionMigrations] Current editor version", "1.20.0-next.8");
|
|
45969
45969
|
if (!this.options.ydoc) return;
|
|
45970
45970
|
let docVersion = this.options.ydoc.getMap("meta").get("version");
|
|
45971
45971
|
if (!docVersion) docVersion = "initial";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
2
|
const require_rolldown_runtime = require("../chunks/rolldown-runtime-Dp2H1eGw.cjs");
|
|
3
|
-
const require_SuperConverter = require("../chunks/SuperConverter-
|
|
3
|
+
const require_SuperConverter = require("../chunks/SuperConverter-BZpqMj00.cjs");
|
|
4
4
|
require("../chunks/jszip-DCT9QYaK.cjs");
|
|
5
5
|
require("../chunks/xml-js-BSBcz9nt.cjs");
|
|
6
6
|
require("../chunks/constants-BQKY2Lbp.cjs");
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as SuperConverter } from "../chunks/SuperConverter-
|
|
1
|
+
import { t as SuperConverter } from "../chunks/SuperConverter-AG9DJtqj.es.js";
|
|
2
2
|
import "../chunks/jszip-ChlR43oI.es.js";
|
|
3
3
|
import "../chunks/xml-js-BtmJ6bNs.es.js";
|
|
4
4
|
import "../chunks/constants-ep1_Gwqi.es.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Node as PmNode, Mark as PmMark, MarkType, NodeType, ParseRule as PmParseRule } from 'prosemirror-model';
|
|
2
|
-
import { EditorState } from 'prosemirror-state';
|
|
1
|
+
import { Node as PmNode, Mark as PmMark, MarkType, NodeType, ParseRule as PmParseRule } from '../../../../node_modules/.pnpm/prosemirror-model@1.25.4/node_modules/prosemirror-model/dist/index.js';
|
|
2
|
+
import { EditorState } from '../../../../node_modules/.pnpm/prosemirror-state@1.4.4/node_modules/prosemirror-state/dist/index.js';
|
|
3
3
|
/**
|
|
4
4
|
* Primitive attribute value types
|
|
5
5
|
*/
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { EditorState, Transaction, Plugin } from 'prosemirror-state';
|
|
2
|
-
import { EditorView as PmEditorView } from 'prosemirror-view';
|
|
3
|
-
import { Node as PmNode, Schema } from 'prosemirror-model';
|
|
1
|
+
import { EditorState, Transaction, Plugin } from '../../../../node_modules/.pnpm/prosemirror-state@1.4.4/node_modules/prosemirror-state/dist/index.js';
|
|
2
|
+
import { EditorView as PmEditorView } from '../../../../node_modules/.pnpm/prosemirror-view@1.41.6/node_modules/prosemirror-view/dist/index.js';
|
|
3
|
+
import { Node as PmNode, Schema } from '../../../../node_modules/.pnpm/prosemirror-model@1.25.4/node_modules/prosemirror-model/dist/index.js';
|
|
4
4
|
import { EditorOptions, User, FieldValue, DocxFileEntry } from './types/EditorConfig.js';
|
|
5
5
|
import { EditorHelpers, ExtensionStorage, ProseMirrorJSON, PageStyles, Toolbar } from './types/EditorTypes.js';
|
|
6
6
|
import { ChainableCommandObject, CanObject, EditorCommands } from './types/ChainedCommands.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Plugin, EditorState, Transaction } from 'prosemirror-state';
|
|
2
|
-
import { EditorView } from 'prosemirror-view';
|
|
1
|
+
import { Plugin, EditorState, Transaction } from '../../../../node_modules/.pnpm/prosemirror-state@1.4.4/node_modules/prosemirror-state/dist/index.js';
|
|
2
|
+
import { EditorView } from '../../../../node_modules/.pnpm/prosemirror-view@1.41.6/node_modules/prosemirror-view/dist/index.js';
|
|
3
3
|
import { Editor } from './Editor.js';
|
|
4
4
|
/**
|
|
5
5
|
* Match result from input rule matching
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { MaybeGetter } from './utilities/callOrGet.js';
|
|
2
|
-
import { NodeType, ParseRule, DOMOutputSpec, Node as PmNode } from 'prosemirror-model';
|
|
3
|
-
import { Plugin } from 'prosemirror-state';
|
|
4
|
-
import { NodeView, EditorView, Decoration, DecorationSource } from 'prosemirror-view';
|
|
2
|
+
import { NodeType, ParseRule, DOMOutputSpec, Node as PmNode } from '../../../../node_modules/.pnpm/prosemirror-model@1.25.4/node_modules/prosemirror-model/dist/index.js';
|
|
3
|
+
import { Plugin } from '../../../../node_modules/.pnpm/prosemirror-state@1.4.4/node_modules/prosemirror-state/dist/index.js';
|
|
4
|
+
import { NodeView, EditorView, Decoration, DecorationSource } from '../../../../node_modules/.pnpm/prosemirror-view@1.41.6/node_modules/prosemirror-view/dist/index.js';
|
|
5
5
|
import { InputRule } from './InputRule.js';
|
|
6
6
|
import { Editor } from './Editor.js';
|
|
7
7
|
import { Command } from './types/ChainedCommands.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Plugin, PluginKey } from 'prosemirror-state';
|
|
2
|
-
import { DecorationSet } from 'prosemirror-view';
|
|
1
|
+
import { Plugin, PluginKey } from '../../../../node_modules/.pnpm/prosemirror-state@1.4.4/node_modules/prosemirror-state/dist/index.js';
|
|
2
|
+
import { DecorationSet } from '../../../../node_modules/.pnpm/prosemirror-view@1.41.6/node_modules/prosemirror-view/dist/index.js';
|
|
3
3
|
import { Editor } from './Editor.js';
|
|
4
4
|
export type TrackedRangeSpec = {
|
|
5
5
|
id: string;
|
|
@@ -10,6 +10,6 @@
|
|
|
10
10
|
export function updateNumberingProperties(newNumberingProperties: {
|
|
11
11
|
numId: number;
|
|
12
12
|
ilvl: number;
|
|
13
|
-
} | null, paragraphNode: import('prosemirror-model').Node, pos: number, editor: import('../Editor').Editor, tr: import('prosemirror-state').Transaction): void;
|
|
14
|
-
export function changeListLevel(delta: number, editor: import('../Editor').Editor, tr: import('prosemirror-state').Transaction): boolean;
|
|
13
|
+
} | null, paragraphNode: import('../../../../../node_modules/.pnpm/prosemirror-model@1.25.4/node_modules/prosemirror-model/dist/index.js').Node, pos: number, editor: import('../Editor').Editor, tr: import('../../../../../node_modules/.pnpm/prosemirror-state@1.4.4/node_modules/prosemirror-state/dist/index.js').Transaction): void;
|
|
14
|
+
export function changeListLevel(delta: number, editor: import('../Editor').Editor, tr: import('../../../../../node_modules/.pnpm/prosemirror-state@1.4.4/node_modules/prosemirror-state/dist/index.js').Transaction): boolean;
|
|
15
15
|
//# sourceMappingURL=changeListLevel.d.ts.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export function findPreviousTextDeleteRange(doc: import('prosemirror-model').Node, cursorPos: number, minPos: number): {
|
|
1
|
+
export function findPreviousTextDeleteRange(doc: import('../../../../../node_modules/.pnpm/prosemirror-model@1.25.4/node_modules/prosemirror-model/dist/index.js').Node, cursorPos: number, minPos: number): {
|
|
2
2
|
from: number;
|
|
3
3
|
to: number;
|
|
4
4
|
} | null;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export function insertContentAt(position: import('prosemirror-model').ResolvedPos | number | {
|
|
1
|
+
export function insertContentAt(position: import('../../../../../node_modules/.pnpm/prosemirror-model@1.25.4/node_modules/prosemirror-model/dist/index.js').ResolvedPos | number | {
|
|
2
2
|
from: number;
|
|
3
3
|
to: number;
|
|
4
4
|
}, value: string | Array<string | {
|
|
@@ -10,6 +10,6 @@ export function insertContentAt(position: import('prosemirror-model').ResolvedPo
|
|
|
10
10
|
applyPasteRules?: boolean | undefined;
|
|
11
11
|
parseOptions?: Object | undefined;
|
|
12
12
|
}): boolean;
|
|
13
|
-
export type ProseMirrorNode = import('prosemirror-model').Node;
|
|
14
|
-
export type ProseMirrorFragment = import('prosemirror-model').Fragment;
|
|
13
|
+
export type ProseMirrorNode = import('../../../../../node_modules/.pnpm/prosemirror-model@1.25.4/node_modules/prosemirror-model/dist/index.js').Node;
|
|
14
|
+
export type ProseMirrorFragment = import('../../../../../node_modules/.pnpm/prosemirror-model@1.25.4/node_modules/prosemirror-model/dist/index.js').Fragment;
|
|
15
15
|
//# sourceMappingURL=insertContentAt.d.ts.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export function findNodePosition(doc: import('prosemirror-model').Node, targetNode: import('prosemirror-model').Node): number | null;
|
|
1
|
+
export function findNodePosition(doc: import('../../../../../../node_modules/.pnpm/prosemirror-model@1.25.4/node_modules/prosemirror-model/dist/index.js').Node, targetNode: import('../../../../../../node_modules/.pnpm/prosemirror-model@1.25.4/node_modules/prosemirror-model/dist/index.js').Node): number | null;
|
|
2
2
|
//# sourceMappingURL=find-node-position.d.ts.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { EditorState } from 'prosemirror-state';
|
|
1
|
+
import { EditorState } from '../../../../../../node_modules/.pnpm/prosemirror-state@1.4.4/node_modules/prosemirror-state/dist/index.js';
|
|
2
2
|
export function createEditor(docNode: any, schema: any): {
|
|
3
3
|
editor: {
|
|
4
4
|
schema: any;
|
|
@@ -8,5 +8,5 @@ export function removeNumberingProperties({ checkType }?: {
|
|
|
8
8
|
* @param {import('prosemirror-model').Node} node
|
|
9
9
|
* @returns {boolean}
|
|
10
10
|
*/
|
|
11
|
-
export function isVisuallyEmptyParagraph(node: import('prosemirror-model').Node): boolean;
|
|
11
|
+
export function isVisuallyEmptyParagraph(node: import('../../../../../node_modules/.pnpm/prosemirror-model@1.25.4/node_modules/prosemirror-model/dist/index.js').Node): boolean;
|
|
12
12
|
//# sourceMappingURL=removeNumberingProperties.d.ts.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { EditorState } from 'prosemirror-state';
|
|
1
|
+
import { EditorState } from '../../../../../../node_modules/.pnpm/prosemirror-state@1.4.4/node_modules/prosemirror-state/dist/index.js';
|
|
2
2
|
export function createState(doc: any): EditorState;
|
|
3
3
|
export function setSelection(state: any, pos: any, end?: any): any;
|
|
4
4
|
export function createDispatch(): {
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { Schema } from 'prosemirror-model';
|
|
1
|
+
import { Schema } from '../../../../../../node_modules/.pnpm/prosemirror-model@1.25.4/node_modules/prosemirror-model/dist/index.js';
|
|
2
2
|
export const testSchema: Schema<"text" | "doc" | "paragraph" | "tab" | "listItem" | "bulletList" | "orderedList", never>;
|
|
3
3
|
//# sourceMappingURL=test-schema.d.ts.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export function updateAttributes(typeOrName: any | any | string, attrs?: Record<string, any>): (params: {
|
|
2
|
-
tr: import('prosemirror-state').Transaction;
|
|
3
|
-
state: import('prosemirror-state').EditorState;
|
|
4
|
-
dispatch?: (tr: import('prosemirror-state').Transaction) => void;
|
|
2
|
+
tr: import('../../../../../node_modules/.pnpm/prosemirror-state@1.4.4/node_modules/prosemirror-state/dist/index.js').Transaction;
|
|
3
|
+
state: import('../../../../../node_modules/.pnpm/prosemirror-state@1.4.4/node_modules/prosemirror-state/dist/index.js').EditorState;
|
|
4
|
+
dispatch?: (tr: import('../../../../../node_modules/.pnpm/prosemirror-state@1.4.4/node_modules/prosemirror-state/dist/index.js').Transaction) => void;
|
|
5
5
|
}) => boolean;
|
|
6
6
|
//# sourceMappingURL=updateAttributes.d.ts.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Node as PMNode, Mark } from 'prosemirror-model';
|
|
2
|
-
import { EditorState, Transaction } from 'prosemirror-state';
|
|
1
|
+
import { Node as PMNode, Mark } from '../../../../../node_modules/.pnpm/prosemirror-model@1.25.4/node_modules/prosemirror-model/dist/index.js';
|
|
2
|
+
import { EditorState, Transaction } from '../../../../../node_modules/.pnpm/prosemirror-state@1.4.4/node_modules/prosemirror-state/dist/index.js';
|
|
3
3
|
/** Result of computing the change range between two strings */
|
|
4
4
|
export interface ChangeRange {
|
|
5
5
|
/** Number of characters matching at the start */
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Schema } from 'prosemirror-model';
|
|
1
|
+
import { Schema } from '../../../../../node_modules/.pnpm/prosemirror-model@1.25.4/node_modules/prosemirror-model/dist/index.js';
|
|
2
2
|
/**
|
|
3
3
|
* Returns a cached copy of the given schema with a catch-all node appended.
|
|
4
4
|
* The catch-all node matches any element not already handled by the real schema,
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export function findParentNode(predicate: (arg0: import('prosemirror-model').Node) => boolean): (arg0: Object) => ParentNodeInfo | null;
|
|
1
|
+
export function findParentNode(predicate: (arg0: import('../../../../../node_modules/.pnpm/prosemirror-model@1.25.4/node_modules/prosemirror-model/dist/index.js').Node) => boolean): (arg0: Object) => ParentNodeInfo | null;
|
|
2
2
|
export type ParentNodeInfo = import('./findParentNodeClosestToPos').ParentNodeInfo;
|
|
3
3
|
//# sourceMappingURL=findParentNode.d.ts.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export function findParentNodeClosestToPos($pos: import('prosemirror-model').ResolvedPos, predicate: (arg0: import('prosemirror-model').Node) => boolean): ParentNodeInfo | null;
|
|
1
|
+
export function findParentNodeClosestToPos($pos: import('../../../../../node_modules/.pnpm/prosemirror-model@1.25.4/node_modules/prosemirror-model/dist/index.js').ResolvedPos, predicate: (arg0: import('../../../../../node_modules/.pnpm/prosemirror-model@1.25.4/node_modules/prosemirror-model/dist/index.js').Node) => boolean): ParentNodeInfo | null;
|
|
2
2
|
export type ParentNodeInfo = {
|
|
3
3
|
/**
|
|
4
4
|
* - The position of the parent node.
|
|
@@ -15,6 +15,6 @@ export type ParentNodeInfo = {
|
|
|
15
15
|
/**
|
|
16
16
|
* - The parent node.
|
|
17
17
|
*/
|
|
18
|
-
node: import('prosemirror-model').Node;
|
|
18
|
+
node: import('../../../../../node_modules/.pnpm/prosemirror-model@1.25.4/node_modules/prosemirror-model/dist/index.js').Node;
|
|
19
19
|
};
|
|
20
20
|
//# sourceMappingURL=findParentNodeClosestToPos.d.ts.map
|
|
@@ -5,5 +5,5 @@
|
|
|
5
5
|
* @param {Object} attrs - The attributes of the mark
|
|
6
6
|
* @returns {Object} The range of the mark in the document
|
|
7
7
|
*/
|
|
8
|
-
export function getMarkRange($pos: import('prosemirror-model').ResolvedPos, type: import('prosemirror-model').MarkType, attrs?: Object): Object;
|
|
8
|
+
export function getMarkRange($pos: import('../../../../../node_modules/.pnpm/prosemirror-model@1.25.4/node_modules/prosemirror-model/dist/index.js').ResolvedPos, type: import('../../../../../node_modules/.pnpm/prosemirror-model@1.25.4/node_modules/prosemirror-model/dist/index.js').MarkType, attrs?: Object): Object;
|
|
9
9
|
//# sourceMappingURL=getMarkRange.d.ts.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { Schema, MarkType } from 'prosemirror-model';
|
|
1
|
+
import { Schema, MarkType } from '../../../../../node_modules/.pnpm/prosemirror-model@1.25.4/node_modules/prosemirror-model/dist/index.js';
|
|
2
2
|
export function getMarkType(nameOrType: string | MarkType, schema: Schema): MarkType;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { EditorState } from 'prosemirror-state';
|
|
2
|
-
import { Mark } from 'prosemirror-model';
|
|
1
|
+
import { EditorState } from '../../../../../node_modules/.pnpm/prosemirror-state@1.4.4/node_modules/prosemirror-state/dist/index.js';
|
|
2
|
+
import { Mark } from '../../../../../node_modules/.pnpm/prosemirror-model@1.25.4/node_modules/prosemirror-model/dist/index.js';
|
|
3
3
|
export function getMarksFromSelection(state: EditorState): Mark[];
|
|
4
4
|
export function getSelectionFormattingState(
|
|
5
5
|
state: EditorState,
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { Schema, NodeType } from 'prosemirror-model';
|
|
1
|
+
import { Schema, NodeType } from '../../../../../node_modules/.pnpm/prosemirror-model@1.25.4/node_modules/prosemirror-model/dist/index.js';
|
|
2
2
|
export function getNodeType(nameOrType: string | NodeType, schema: Schema): NodeType;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { Schema } from 'prosemirror-model';
|
|
1
|
+
import { Schema } from '../../../../../node_modules/.pnpm/prosemirror-model@1.25.4/node_modules/prosemirror-model/dist/index.js';
|
|
2
2
|
export function getSchemaTypeNameByName(name: string, schema: Schema): 'node' | 'mark' | null;
|
|
@@ -18,5 +18,5 @@ export function createDocFromMarkdown(markdown: string, editor: import('../Edito
|
|
|
18
18
|
document?: Document | null | undefined;
|
|
19
19
|
onUnsupportedContent?: ((items: import('./catchAllSchema.js').UnsupportedContentItem[]) => void) | null | undefined;
|
|
20
20
|
warnOnUnsupportedContent?: boolean | undefined;
|
|
21
|
-
}): import('prosemirror-model').Node;
|
|
21
|
+
}): import('../../../../../node_modules/.pnpm/prosemirror-model@1.25.4/node_modules/prosemirror-model/dist/index.js').Node;
|
|
22
22
|
//# sourceMappingURL=importMarkdown.d.ts.map
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { TextSelection } from 'prosemirror-state';
|
|
1
|
+
import { TextSelection } from '../../../../../node_modules/.pnpm/prosemirror-state@1.4.4/node_modules/prosemirror-state/dist/index.js';
|
|
2
2
|
export function isTextSelection(value: any): value is TextSelection;
|
|
3
3
|
//# sourceMappingURL=isTextSelection.d.ts.map
|
|
@@ -9,7 +9,7 @@ export function generateNewListDefinition({ numId, listType, level, start, text,
|
|
|
9
9
|
markerFontFamily?: string | undefined;
|
|
10
10
|
editor: import('../Editor').Editor;
|
|
11
11
|
}): Object;
|
|
12
|
-
export function changeNumIdSameAbstract(numId: number, level: number, listType: import('prosemirror-model').NodeType, editor: import('../Editor').Editor): number;
|
|
12
|
+
export function changeNumIdSameAbstract(numId: number, level: number, listType: import('../../../../../node_modules/.pnpm/prosemirror-model@1.25.4/node_modules/prosemirror-model/dist/index.js').NodeType, editor: import('../Editor').Editor): number;
|
|
13
13
|
export function getBasicNumIdTag(numId: number, abstractId: number): Object;
|
|
14
14
|
export function getNewListId(editor: import('../Editor').Editor, grouping?: string): number;
|
|
15
15
|
export function getListDefinitionDetails({ numId, level, listType, editor, tries }: {
|
|
@@ -51,7 +51,7 @@ export function createSchemaOrderedListNode({ level, numId, editor, contentNode
|
|
|
51
51
|
export function createNewList({ listType, tr, editor }: {
|
|
52
52
|
listType: string | Object;
|
|
53
53
|
editor: import('../Editor').Editor;
|
|
54
|
-
tr: import('prosemirror-state').Transaction;
|
|
54
|
+
tr: import('../../../../../node_modules/.pnpm/prosemirror-state@1.4.4/node_modules/prosemirror-state/dist/index.js').Transaction;
|
|
55
55
|
}): boolean;
|
|
56
56
|
export function replaceListWithNode({ tr, from, to, newNode }: {
|
|
57
57
|
tr: any;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Node as PmNode } from 'prosemirror-model';
|
|
1
|
+
import { Node as PmNode } from '../../../../../../node_modules/.pnpm/prosemirror-model@1.25.4/node_modules/prosemirror-model/dist/index.js';
|
|
2
2
|
import { Root } from 'mdast';
|
|
3
3
|
import { Editor } from '../../Editor.js';
|
|
4
4
|
/**
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Node as PmNode, Fragment, Schema } from 'prosemirror-model';
|
|
1
|
+
import { Node as PmNode, Fragment, Schema } from '../../../../../../node_modules/.pnpm/prosemirror-model@1.25.4/node_modules/prosemirror-model/dist/index.js';
|
|
2
2
|
import { Editor } from '../../Editor.js';
|
|
3
3
|
export interface MarkdownConversionOptions {
|
|
4
4
|
/** When true, skip side-effects like numbering allocation (for dry-run validation). */
|
|
@@ -5,8 +5,8 @@
|
|
|
5
5
|
* @param {import('prosemirror-state').Transaction} tr
|
|
6
6
|
* @param {import('prosemirror-model').Mark | { type: import('prosemirror-model').MarkType | { name: string } | string, attrs?: Record<string, unknown> }} mark
|
|
7
7
|
*/
|
|
8
|
-
export function addParagraphRunProperty(tr: import('prosemirror-state').Transaction, mark: import('prosemirror-model').Mark | {
|
|
9
|
-
type: import('prosemirror-model').MarkType | {
|
|
8
|
+
export function addParagraphRunProperty(tr: import('../../../../../node_modules/.pnpm/prosemirror-state@1.4.4/node_modules/prosemirror-state/dist/index.js').Transaction, mark: import('../../../../../node_modules/.pnpm/prosemirror-model@1.25.4/node_modules/prosemirror-model/dist/index.js').Mark | {
|
|
9
|
+
type: import('../../../../../node_modules/.pnpm/prosemirror-model@1.25.4/node_modules/prosemirror-model/dist/index.js').MarkType | {
|
|
10
10
|
name: string;
|
|
11
11
|
} | string;
|
|
12
12
|
attrs?: Record<string, unknown>;
|
|
@@ -18,8 +18,8 @@ export function addParagraphRunProperty(tr: import('prosemirror-state').Transact
|
|
|
18
18
|
* @param {import('prosemirror-state').Transaction} tr
|
|
19
19
|
* @param {import('prosemirror-model').Mark | { type: import('prosemirror-model').MarkType | { name: string } | string, attrs?: Record<string, unknown> }} mark
|
|
20
20
|
*/
|
|
21
|
-
export function removeParagraphRunProperty(tr: import('prosemirror-state').Transaction, mark: import('prosemirror-model').Mark | {
|
|
22
|
-
type: import('prosemirror-model').MarkType | {
|
|
21
|
+
export function removeParagraphRunProperty(tr: import('../../../../../node_modules/.pnpm/prosemirror-state@1.4.4/node_modules/prosemirror-state/dist/index.js').Transaction, mark: import('../../../../../node_modules/.pnpm/prosemirror-model@1.25.4/node_modules/prosemirror-model/dist/index.js').Mark | {
|
|
22
|
+
type: import('../../../../../node_modules/.pnpm/prosemirror-model@1.25.4/node_modules/prosemirror-model/dist/index.js').MarkType | {
|
|
23
23
|
name: string;
|
|
24
24
|
} | string;
|
|
25
25
|
attrs?: Record<string, unknown>;
|
|
@@ -64,7 +64,7 @@ export function handlePlainTextUrlPaste(editor: object, view: object, plainText:
|
|
|
64
64
|
* @param {object} editor SuperEditor instance
|
|
65
65
|
* @param {Array<string | { scheme: string }>} [protocols] Extra allowed protocols (auto-resolved from editor if omitted)
|
|
66
66
|
*/
|
|
67
|
-
export function normalizePastedLinks(tr: import('prosemirror-state').Transaction, editor: object, protocols?: Array<string | {
|
|
67
|
+
export function normalizePastedLinks(tr: import('../../../../../node_modules/.pnpm/prosemirror-state@1.4.4/node_modules/prosemirror-state/dist/index.js').Transaction, editor: object, protocols?: Array<string | {
|
|
68
68
|
scheme: string;
|
|
69
69
|
}>): void;
|
|
70
70
|
/**
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { EditorState, Transaction } from 'prosemirror-state';
|
|
1
|
+
import { EditorState, Transaction } from '../../../../../node_modules/.pnpm/prosemirror-state@1.4.4/node_modules/prosemirror-state/dist/index.js';
|
|
2
2
|
import { Editor } from '../Editor.js';
|
|
3
3
|
import { EventEmitter } from '../EventEmitter.js';
|
|
4
4
|
import { PositionHit } from '@superdoc/layout-bridge';
|
|
@@ -66,7 +66,7 @@ export declare class PresentationEditor extends EventEmitter {
|
|
|
66
66
|
* presentationEditor.commands.bold();
|
|
67
67
|
* ```
|
|
68
68
|
*/
|
|
69
|
-
get commands(): import('
|
|
69
|
+
get commands(): import('packages/superdoc/src/types.js').EditorCommands;
|
|
70
70
|
/**
|
|
71
71
|
* Get the ProseMirror editor state for the currently active editor (header/footer-aware).
|
|
72
72
|
*
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { EditorState, Transaction } from 'prosemirror-state';
|
|
1
|
+
import { EditorState, Transaction } from '../../../../../../node_modules/.pnpm/prosemirror-state@1.4.4/node_modules/prosemirror-state/dist/index.js';
|
|
2
2
|
import { DomPositionIndex } from './DomPositionIndex.js';
|
|
3
3
|
/**
|
|
4
4
|
* Bridges ProseMirror plugin decorations onto DomPainter-rendered elements.
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Node as ProseMirrorNode } from 'prosemirror-model';
|
|
2
|
-
import { EditorState } from 'prosemirror-state';
|
|
1
|
+
import { Node as ProseMirrorNode } from '../../../../../../node_modules/.pnpm/prosemirror-model@1.25.4/node_modules/prosemirror-model/dist/index.js';
|
|
2
|
+
import { EditorState } from '../../../../../../node_modules/.pnpm/prosemirror-state@1.4.4/node_modules/prosemirror-state/dist/index.js';
|
|
3
3
|
/**
|
|
4
4
|
* State tracking for rapid multi-click detection (double-click, triple-click, etc.).
|
|
5
5
|
* @property clickCount - The current sequential click count
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { EditorState } from 'prosemirror-state';
|
|
1
|
+
import { EditorState } from '../../../../../../node_modules/.pnpm/prosemirror-state@1.4.4/node_modules/prosemirror-state/dist/index.js';
|
|
2
2
|
import { ConverterContext } from '@superdoc/pm-adapter';
|
|
3
3
|
import { FootnoteReference, FootnotesLayoutInput } from '../types.js';
|
|
4
4
|
export type { FootnoteReference, FootnotesLayoutInput };
|
package/dist/super-editor/src/core/presentation-editor/remote-cursors/RemoteCursorAwareness.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { EditorState } from 'prosemirror-state';
|
|
1
|
+
import { EditorState } from '../../../../../../node_modules/.pnpm/prosemirror-state@1.4.4/node_modules/prosemirror-state/dist/index.js';
|
|
2
2
|
import { RemoteCursorState } from '../types.js';
|
|
3
3
|
/**
|
|
4
4
|
* Minimal interface for Yjs awareness object.
|
package/dist/super-editor/src/core/presentation-editor/remote-cursors/RemoteCursorManager.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { EditorState } from 'prosemirror-state';
|
|
1
|
+
import { EditorState } from '../../../../../../node_modules/.pnpm/prosemirror-state@1.4.4/node_modules/prosemirror-state/dist/index.js';
|
|
2
2
|
import { FlowBlock, Layout, Measure } from '@superdoc/contracts';
|
|
3
3
|
import { PageGeometryHelper } from '@superdoc/layout-bridge';
|
|
4
4
|
import { RemoteCursorState, PresenceOptions, AwarenessWithSetField } from '../types.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Node as ProseMirrorNode } from 'prosemirror-model';
|
|
1
|
+
import { Node as ProseMirrorNode } from '../../../../../../node_modules/.pnpm/prosemirror-model@1.25.4/node_modules/prosemirror-model/dist/index.js';
|
|
2
2
|
import { FlowBlock, Layout, Measure } from '@superdoc/contracts';
|
|
3
3
|
import { PageGeometryHelper, TableHitResult } from '@superdoc/layout-bridge';
|
|
4
4
|
/**
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { EditorState } from 'prosemirror-state';
|
|
1
|
+
import { EditorState } from '../../../../../../node_modules/.pnpm/prosemirror-state@1.4.4/node_modules/prosemirror-state/dist/index.js';
|
|
2
2
|
/**
|
|
3
3
|
* Synchronizes ARIA attributes on the hidden ProseMirror editor element for accessibility.
|
|
4
4
|
*
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Node as ProseMirrorNode } from 'prosemirror-model';
|
|
1
|
+
import { Node as ProseMirrorNode } from '../../../../../../node_modules/.pnpm/prosemirror-model@1.25.4/node_modules/prosemirror-model/dist/index.js';
|
|
2
2
|
export type CommentPosition = {
|
|
3
3
|
threadId: string;
|
|
4
4
|
start: number;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Node as PMNode } from 'prosemirror-model';
|
|
1
|
+
import { Node as PMNode } from '../../../../../../node_modules/.pnpm/prosemirror-model@1.25.4/node_modules/prosemirror-model/dist/index.js';
|
|
2
2
|
/**
|
|
3
3
|
* Represents a ProseMirror position range with inclusive start and exclusive end.
|
|
4
4
|
*/
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { EditorState, Transaction } from 'prosemirror-state';
|
|
2
|
-
import { EditorView as PmEditorView, EditorProps } from 'prosemirror-view';
|
|
1
|
+
import { EditorState, Transaction } from '../../../../../node_modules/.pnpm/prosemirror-state@1.4.4/node_modules/prosemirror-state/dist/index.js';
|
|
2
|
+
import { EditorView as PmEditorView, EditorProps } from '../../../../../node_modules/.pnpm/prosemirror-view@1.41.6/node_modules/prosemirror-view/dist/index.js';
|
|
3
3
|
import { Editor } from '../Editor.js';
|
|
4
4
|
import { EditorOptions } from '../types/EditorConfig.js';
|
|
5
5
|
/**
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { EditorView } from 'prosemirror-view';
|
|
1
|
+
import { EditorView } from '../../../../../node_modules/.pnpm/prosemirror-view@1.41.6/node_modules/prosemirror-view/dist/index.js';
|
|
2
2
|
import { EditorRenderer, EditorRendererAttachParams } from './EditorRenderer.js';
|
|
3
3
|
import { Editor } from '../Editor.js';
|
|
4
4
|
import { EditorOptions } from '../types/EditorConfig.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Schema } from 'prosemirror-model';
|
|
1
|
+
import { Schema } from '../../../../node_modules/.pnpm/prosemirror-model@1.25.4/node_modules/prosemirror-model/dist/index.js';
|
|
2
2
|
import { SchemaSummaryJSON } from './types/EditorSchema.js';
|
|
3
3
|
export declare function buildSchemaSummary(schema: Schema, schemaVersion?: string): SchemaSummaryJSON;
|
|
4
4
|
//# sourceMappingURL=schema-summary.d.ts.map
|
|
@@ -54,6 +54,6 @@ export type SuperValidatorOptions = import('./types.js').SuperValidatorOptions;
|
|
|
54
54
|
export type Editor = import('./types.js').Editor;
|
|
55
55
|
export type ValidatorLogger = import('./types.js').ValidatorLogger;
|
|
56
56
|
export type StateValidator = import('./types.js').StateValidator;
|
|
57
|
-
export type Mark = import('prosemirror-model').Mark;
|
|
58
|
-
export type Node = import('prosemirror-model').Node;
|
|
57
|
+
export type Mark = import('../../../../../node_modules/.pnpm/prosemirror-model@1.25.4/node_modules/prosemirror-model/dist/index.js').Mark;
|
|
58
|
+
export type Node = import('../../../../../node_modules/.pnpm/prosemirror-model@1.25.4/node_modules/prosemirror-model/dist/index.js').Node;
|
|
59
59
|
//# sourceMappingURL=super-validator.d.ts.map
|
|
@@ -26,7 +26,7 @@ export type ValidatorLogger = {
|
|
|
26
26
|
export type StateValidator = Function;
|
|
27
27
|
export type XmlValidator = Function;
|
|
28
28
|
export type ElementInfo = {
|
|
29
|
-
node?: import('prosemirror-model').Node | undefined;
|
|
29
|
+
node?: import('../../../../../node_modules/.pnpm/prosemirror-model@1.25.4/node_modules/prosemirror-model/dist/index.js').Node | undefined;
|
|
30
30
|
pos: number;
|
|
31
31
|
/**
|
|
32
32
|
* - For marks
|
|
@@ -39,7 +39,7 @@ export type ElementInfo = {
|
|
|
39
39
|
/**
|
|
40
40
|
* - For marks
|
|
41
41
|
*/
|
|
42
|
-
mark?: import('prosemirror-model').Mark | undefined;
|
|
42
|
+
mark?: import('../../../../../node_modules/.pnpm/prosemirror-model@1.25.4/node_modules/prosemirror-model/dist/index.js').Mark | undefined;
|
|
43
43
|
};
|
|
44
44
|
export type DocumentAnalysis = Record<string, ElementInfo[]>;
|
|
45
45
|
export type ValidatorRequirements = {
|
|
@@ -52,7 +52,7 @@ export type ValidatorRequirements = {
|
|
|
52
52
|
*/
|
|
53
53
|
marks?: string[] | undefined;
|
|
54
54
|
};
|
|
55
|
-
export type ValidatorFn = (arg0: import('prosemirror-state').Transaction, arg1: DocumentAnalysis) => {
|
|
55
|
+
export type ValidatorFn = (arg0: import('../../../../../node_modules/.pnpm/prosemirror-state@1.4.4/node_modules/prosemirror-state/dist/index.js').Transaction, arg1: DocumentAnalysis) => {
|
|
56
56
|
modified: boolean;
|
|
57
57
|
results: string[];
|
|
58
58
|
};
|