@beyondwork/docx-react-component 1.0.124 → 1.0.126
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/api/public-types.cjs +147 -35
- package/dist/api/public-types.d.cts +2 -2
- package/dist/api/public-types.d.ts +2 -2
- package/dist/api/public-types.js +3 -3
- package/dist/api/v3.cjs +796 -102
- package/dist/api/v3.d.cts +3 -3
- package/dist/api/v3.d.ts +3 -3
- package/dist/api/v3.js +10 -10
- package/dist/{canonical-document-CG2TgAzj.d.cts → canonical-document-CXCFCbAz.d.cts} +2 -0
- package/dist/{canonical-document-CG2TgAzj.d.ts → canonical-document-CXCFCbAz.d.ts} +2 -0
- package/dist/{chunk-PFYUJU3Q.js → chunk-2QL5DAKF.js} +98 -43
- package/dist/{chunk-4IPEZYQX.js → chunk-4EENH4FG.js} +1 -1
- package/dist/{chunk-BOHHIVQ2.js → chunk-4G3OS2H6.js} +3 -3
- package/dist/{chunk-A74Y5NE4.js → chunk-4YJVRIUB.js} +52 -21
- package/dist/{chunk-FNWKE74J.js → chunk-5DGKFNQT.js} +5 -1
- package/dist/{chunk-RSYN6FTS.js → chunk-6F5QW44A.js} +2 -2
- package/dist/{chunk-ZMRO6P3A.js → chunk-6IGWPAR4.js} +505 -44
- package/dist/{chunk-KOHQFZMM.js → chunk-BYSRJ4FE.js} +1 -1
- package/dist/{chunk-H6IL5ABU.js → chunk-CXSYRB37.js} +64 -20
- package/dist/{chunk-32ZAOQ54.js → chunk-D5HYZQTG.js} +1 -1
- package/dist/{chunk-TY4DIJO3.js → chunk-ESJ2MES5.js} +1 -1
- package/dist/{chunk-Q76XPPTA.js → chunk-FPRWV54X.js} +101 -14
- package/dist/{chunk-MPH4ZQS4.js → chunk-GL7XRYBY.js} +624 -87
- package/dist/{chunk-IR7QV2BX.js → chunk-KV435YXO.js} +2 -2
- package/dist/{chunk-N4VIXI2Z.js → chunk-MWSBGJQO.js} +137 -18
- package/dist/{chunk-7PC6XUNO.js → chunk-TQDQU2E3.js} +2 -2
- package/dist/{chunk-4B74ETJI.js → chunk-V6XVZFFH.js} +2 -2
- package/dist/{chunk-NAMAWCXN.js → chunk-YD2JE54B.js} +1 -1
- package/dist/{chunk-ZRHLLPSJ.js → chunk-YHZHPXDB.js} +85 -18
- package/dist/{chunk-HXHQA4BU.js → chunk-YIYM4ZAP.js} +1 -1
- package/dist/{chunk-LGWNN3L2.js → chunk-ZDOAUP3V.js} +2 -2
- package/dist/compare.d.cts +1 -1
- package/dist/compare.d.ts +1 -1
- package/dist/core/commands/formatting-commands.d.cts +2 -2
- package/dist/core/commands/formatting-commands.d.ts +2 -2
- package/dist/core/commands/image-commands.cjs +65 -20
- package/dist/core/commands/image-commands.d.cts +2 -2
- package/dist/core/commands/image-commands.d.ts +2 -2
- package/dist/core/commands/image-commands.js +5 -5
- package/dist/core/commands/section-layout-commands.d.cts +2 -2
- package/dist/core/commands/section-layout-commands.d.ts +2 -2
- package/dist/core/commands/style-commands.d.cts +2 -2
- package/dist/core/commands/style-commands.d.ts +2 -2
- package/dist/core/commands/table-structure-commands.cjs +65 -20
- package/dist/core/commands/table-structure-commands.d.cts +2 -2
- package/dist/core/commands/table-structure-commands.d.ts +2 -2
- package/dist/core/commands/table-structure-commands.js +4 -4
- package/dist/core/commands/text-commands.cjs +66 -21
- package/dist/core/commands/text-commands.d.cts +2 -2
- package/dist/core/commands/text-commands.d.ts +2 -2
- package/dist/core/commands/text-commands.js +5 -5
- package/dist/core/selection/mapping.d.cts +2 -2
- package/dist/core/selection/mapping.d.ts +2 -2
- package/dist/core/state/editor-state.d.cts +2 -2
- package/dist/core/state/editor-state.d.ts +2 -2
- package/dist/index.cjs +1677 -240
- package/dist/index.d.cts +5 -5
- package/dist/index.d.ts +5 -5
- package/dist/index.js +62 -25
- package/dist/io/docx-session.cjs +51 -20
- package/dist/io/docx-session.d.cts +4 -4
- package/dist/io/docx-session.d.ts +4 -4
- package/dist/io/docx-session.js +4 -4
- package/dist/legal.cjs +36 -12
- package/dist/legal.d.cts +1 -1
- package/dist/legal.d.ts +1 -1
- package/dist/legal.js +3 -3
- package/dist/{loader-D9y4ZRjj.d.ts → loader-CS9-9KFa.d.ts} +3 -3
- package/dist/{loader-D9KCtj4m.d.cts → loader-OoWJ1_17.d.cts} +3 -3
- package/dist/{public-types-CNnMHZM9.d.ts → public-types-BP3vqJR5.d.cts} +157 -11
- package/dist/{public-types-DajNGKV4.d.cts → public-types-DdcHqcow.d.ts} +157 -11
- package/dist/public-types.cjs +147 -35
- package/dist/public-types.d.cts +2 -2
- package/dist/public-types.d.ts +2 -2
- package/dist/public-types.js +3 -3
- package/dist/runtime/collab.d.cts +3 -3
- package/dist/runtime/collab.d.ts +3 -3
- package/dist/runtime/document-runtime.cjs +945 -134
- package/dist/runtime/document-runtime.d.cts +2 -2
- package/dist/runtime/document-runtime.d.ts +2 -2
- package/dist/runtime/document-runtime.js +14 -14
- package/dist/{session-DyQGlryH.d.cts → session-Cq-fzx3B.d.cts} +3 -3
- package/dist/{session-DEmaOEjA.d.ts → session-DyFQt8Ph.d.ts} +3 -3
- package/dist/session.cjs +51 -20
- package/dist/session.d.cts +5 -5
- package/dist/session.d.ts +5 -5
- package/dist/session.js +5 -5
- package/dist/tailwind.cjs +238 -73
- package/dist/tailwind.d.cts +2 -2
- package/dist/tailwind.d.ts +2 -2
- package/dist/tailwind.js +7 -7
- package/dist/{types-CxE1aZiv.d.cts → types-Bg7D-GD3.d.cts} +2 -2
- package/dist/{types-DjJNaE9c.d.ts → types-bJAgMq1M.d.ts} +2 -2
- package/dist/ui-tailwind/editor-surface/search-plugin.d.cts +3 -3
- package/dist/ui-tailwind/editor-surface/search-plugin.d.ts +3 -3
- package/dist/ui-tailwind/editor-surface/search-plugin.js +4 -4
- package/dist/ui-tailwind.cjs +238 -73
- package/dist/ui-tailwind.d.cts +3 -3
- package/dist/ui-tailwind.d.ts +3 -3
- package/dist/ui-tailwind.js +7 -7
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { b0 as TextCommandAck, b1 as TextCommandRefreshClass, b2 as WordReviewEditorProps, b3 as WordReviewEditorRef, a as EditorSessionState, P as PersistedEditorSnapshot, b4 as validatePersistedEditorSnapshot, b5 as PayloadSigner, b6 as PayloadSignature, b7 as TransportStatus, b8 as CollabPosture, b9 as PresenceSnapshot, ba as AwarenessIdentity, bb as ExternalCustody, bc as ExternalCustodyResolver, bd as ExternalCustodyRestoredContent, be as RuntimePageGraph, o as EditorSurfaceSnapshot, q as CompatibilityReport } from './public-types-
|
|
2
|
-
export { bf as ActiveListContext, bg as ActiveNoteContext, bh as AddCommentParams, bi as AddCommentReplyResult, bj as AddCommentResult, bk as AiExplanationScopeInput, bl as AiExplanationScopeResult, J as ApiV3, bm as AttachPayloadArgs, bn as AuthorKind, bo as AutosaveConfig, bp as AutosaveState, bq as AwarenessPeer, br as BatchEditEntryResult, bs as BatchEditOperation, bt as BatchEditOptions, bu as BatchEditResult, bv as CaretAffinity, bw as ChangeAnchor, bx as ChangeFilter, by as ChartPreviewResolveParams, bz as ChartSnapshot, bA as ChartSnapshotBubbleSeries, bB as ChartSnapshotData, bC as ChartSnapshotScatterSeries, bD as ChartSnapshotSeries, bE as CollabBlockReason, bF as CollabSession, bG as CollabSessionBridge, bH as CollabSessionEvent, bI as CollabSessionEventOrIntegrity, bJ as CollabSessionFacet, bK as CollabSessionOptions, bL as CommandStateSnapshot, bM as CommentAttachment, bN as CommentAudience, bO as CommentBody, bP as CommentLabel, bQ as CommentMention, bR as CommentNegotiationAction, bS as CommentNegotiationActionType, bT as CommentNegotiationEntry, bU as CommentNegotiationSnapshot, bV as CommentNegotiationState, bW as CommentPresentation, bX as CommentPresentationAction, bY as CommentPresentationReply, bZ as CommentPresentationSnapshot, b_ as CommentReaction, b$ as CommentSidebarSnapshot, c0 as CommentSidebarThreadEntrySnapshot, c1 as CommentSidebarThreadSnapshot, c2 as CompatibilityFeatureClass, c3 as CompatibilityFeatureEntry, c4 as CompatibilityPanelSnapshot, a5 as CreateApiV3Opts, c5 as CreateCollabSessionBridgeOptions, c6 as DispatchContext, c7 as DispatchResult, c8 as DocumentChunkKind, c9 as DocumentChunkSnapshot, ca as DocumentHeadingSnapshot, cb as DocumentLocationSnapshot, cc as DocumentLocationSource, cd as DocumentNavigationSnapshot, ce as DocumentOutlineHeadingSnapshot, cf as DocumentOutlineSnapshot, cg as DocumentPageSnapshot, ch as DocumentSectionSnapshot, ci as DocumentStats, cj as DocumentTextToken, ck as EditorAnchorProjection, cl as EditorDatastoreAdapter, r as EditorError, cm as EditorErrorCode, E as EditorHostAdapter, cn as EditorStateBlob, as as EditorStateLocation, ar as EditorStateNamespace, co as EditorStatePartLoadFailure, cp as EditorStatePartPersistFailure, cq as EditorStatePersister, cr as EditorStatePolicy, cs as EditorStatePolicyEntry, ct as EditorStatePolicyMigration, cu as EditorStateResolveErrorMode, cv as EditorStateResolver, cw as EditorStateStorageRef, cx as EditorStoryTarget, cy as EditorTelemetryEvent, cz as EditorUser, cA as EditorViewStateSnapshot, cB as EditorWarning, cC as EditorWarningCode, b as ExportDocxOptions, c as ExportResult, cD as ExternalCustodyArchivePayload, cE as ExternalDocumentSource, cF as HeaderFooterLinkPatch, cG as HostAnnotationItem, cH as HostAnnotationKind, cI as HostAnnotationOverlay, cJ as HostAnnotationSnapshot, cK as ISSUE_METADATA_ID, cL as InteractionGuardSnapshot, cM as IssueMetadataValue, cN as IssueMode, cO as IssueOwner, cP as IssueSeverity, cQ as LayoutMeasurement, cR as LoadRequest, cS as LoadResult, cT as LoadSourcePolicy, cU as MetadataIntegrity, cV as MetadataPersistenceMode, cW as MetadataResolverMissingError, cX as NegotiationBlockReason, cY as NegotiationCounterProposal, cZ as NegotiationHistoryRow, c_ as NegotiationRole, c$ as NegotiationVote, d0 as PageLayoutSnapshot, d1 as PageRegionHitTest, d2 as Participant, d3 as ParticipantRole, d4 as ParticipantRoster, d5 as PayloadVerifier, d6 as REVIEW_ACTION_METADATA_ID, d7 as RestorePointCheckpointType, d8 as RestorePointSnapshot, d9 as RestoreResult, da as ReviewActionKind, db as ReviewActionMetadataValue, dc as ReviewQueueItem, dd as ReviewQueueItemKind, de as ReviewQueueSnapshot, df as ReviewWorkItemSnapshot, dg as ReviewWorkSnapshot, dh as RuntimeContextAnalyticsActionHint, di as RuntimeContextAnalyticsBadge, dj as RuntimeContextAnalyticsCounts, dk as RuntimeContextAnalyticsProvenance, dl as RuntimeContextAnalyticsQuery, dm as RuntimeContextAnalyticsScopeKind, dn as RuntimeContextAnalyticsSnapshot, dp as RuntimeContextAnalyticsState, dq as RuntimeContextAnalyticsUnavailableField, R as RuntimeRenderSnapshot, dr as RuntimeSendToExternalArgs, ds as RuntimeSendToExternalResult, dt as SELECTION_TOOL_REGISTRY, du as SaveExportParams, dv as SaveExportResult, dw as SaveSessionParams, dx as SaveSessionResult, dy as SaveSnapshotParams, dz as SaveSnapshotResult, dA as ScopeCardModel, dB as ScopeIssueAction, dC as ScopeMetadataPersistence, dD as ScopeMetadataResolver, dE as ScopeMetadataStorageRef, dF as ScopeTagTouch, dG as SectionBreakType, dH as SectionLayoutPatch, dI as SectionPageNumberingPatch, h as SelectionSnapshot, dJ as SelectionToolKind, dK as SelectionToolRegistryEntry, dL as SendToExternalCallArgs, dM as SignatureAlgorithm, dN as SnapshotRefreshChangeKind, dO as SnapshotRefreshHints, dP as SnapshotRefreshInvalidateTarget, dQ as SnapshotRefreshStaleTarget, dR as StoryTextStreamSnapshot, dS as StyleCatalogEntrySnapshot, dT as StyleCatalogSnapshot, dU as SuggestionEntrySnapshot, dV as SuggestionGroup, dW as SuggestionsSnapshot, dX as SurfaceBlockSnapshot, dY as SurfaceInlineSegment, dZ as SurfaceTableCellSnapshot, d_ as SurfaceTableRowSnapshot, d$ as SurfaceTextMark, e0 as TamperGate, e1 as TamperGateArgs, e2 as TamperGateAttachArgs, e3 as TamperGateEvent, e4 as TamperGateGuardResult, e5 as TextCommandAckKind, e6 as TextProjection, e7 as TextProjectionLine, e8 as TextProjectionOptions, e9 as TextProjectionStoryEntry, ea as TocEntrySnapshot, eb as TocRegionSnapshot, ec as TocSnapshot, ed as TrackedChangeEntrySnapshot, ee as TrackedChangesSnapshot, ef as ViewMode, eg as WordReviewEditorChromeOptions, eh as WordReviewEditorChromePreset, ei as WordReviewEditorChromeVisibility, ej as WordReviewEditorEvent, ek as WorkflowBlockedCommandReason, el as WorkflowCandidateRange, em as WorkflowCandidateRangeOptions, en as WorkflowCommentMarkup, eo as WorkflowFieldMarkup, ep as WorkflowHighlightMarkup, eq as WorkflowMarkupBase, er as WorkflowMarkupItem, es as WorkflowMarkupKind, et as WorkflowMarkupSnapshot, eu as WorkflowMetadataDefinition, ev as WorkflowMetadataEntry, ew as WorkflowMetadataMarkup, ex as WorkflowMetadataPersistence, ey as WorkflowMetadataSnapshot, ez as WorkflowOpaqueFragmentMarkup, eA as WorkflowOverlay, eB as WorkflowOverlayPatch, eC as WorkflowProtectedRangeMarkup, eD as WorkflowRevisionMarkup, eE as WorkflowScope, eF as WorkflowScopeMode, eG as WorkflowScopeSnapshot, eH as WorkflowWorkItem, eI as WorkspaceMode, eJ as ZoomLevel, ap as createApiV3, eK as createCollabSession, eL as createCollabSessionBridge, eM as createCollabSessionFacet, eN as createHmacSigner, eO as createHmacVerifier, eP as createTamperGate, eQ as resolveSelectionToolRegistry, eR as runtimeSendToExternal, eS as sendToExternal, eT as signWorkflowPayloadXml, eU as verifyWorkflowPayloadXml } from './public-types-
|
|
1
|
+
import { b0 as TextCommandAck, b1 as TextCommandRefreshClass, b2 as WordReviewEditorProps, b3 as WordReviewEditorRef, a as EditorSessionState, P as PersistedEditorSnapshot, b4 as validatePersistedEditorSnapshot, b5 as PayloadSigner, b6 as PayloadSignature, b7 as TransportStatus, b8 as CollabPosture, b9 as PresenceSnapshot, ba as AwarenessIdentity, bb as ExternalCustody, bc as ExternalCustodyResolver, bd as ExternalCustodyRestoredContent, be as RuntimePageGraph, o as EditorSurfaceSnapshot, q as CompatibilityReport } from './public-types-BP3vqJR5.cjs';
|
|
2
|
+
export { bf as ActiveListContext, bg as ActiveNoteContext, bh as AddCommentParams, bi as AddCommentReplyResult, bj as AddCommentResult, bk as AiExplanationScopeInput, bl as AiExplanationScopeResult, J as ApiV3, bm as AttachPayloadArgs, bn as AuthorKind, bo as AutosaveConfig, bp as AutosaveState, bq as AwarenessPeer, br as BatchEditEntryResult, bs as BatchEditOperation, bt as BatchEditOptions, bu as BatchEditResult, bv as CaretAffinity, bw as ChangeAnchor, bx as ChangeFilter, by as ChartPreviewResolveParams, bz as ChartSnapshot, bA as ChartSnapshotBubbleSeries, bB as ChartSnapshotData, bC as ChartSnapshotScatterSeries, bD as ChartSnapshotSeries, bE as CollabBlockReason, bF as CollabSession, bG as CollabSessionBridge, bH as CollabSessionEvent, bI as CollabSessionEventOrIntegrity, bJ as CollabSessionFacet, bK as CollabSessionOptions, bL as CommandStateSnapshot, bM as CommentAttachment, bN as CommentAudience, bO as CommentBody, bP as CommentLabel, bQ as CommentMention, bR as CommentNegotiationAction, bS as CommentNegotiationActionType, bT as CommentNegotiationEntry, bU as CommentNegotiationSnapshot, bV as CommentNegotiationState, bW as CommentPresentation, bX as CommentPresentationAction, bY as CommentPresentationReply, bZ as CommentPresentationSnapshot, b_ as CommentReaction, b$ as CommentSidebarSnapshot, c0 as CommentSidebarThreadEntrySnapshot, c1 as CommentSidebarThreadSnapshot, c2 as CompatibilityFeatureClass, c3 as CompatibilityFeatureEntry, c4 as CompatibilityPanelSnapshot, a5 as CreateApiV3Opts, c5 as CreateCollabSessionBridgeOptions, c6 as DispatchContext, c7 as DispatchResult, c8 as DocumentChunkKind, c9 as DocumentChunkSnapshot, ca as DocumentHeadingSnapshot, cb as DocumentLocationSnapshot, cc as DocumentLocationSource, cd as DocumentNavigationSnapshot, ce as DocumentOutlineHeadingSnapshot, cf as DocumentOutlineSnapshot, cg as DocumentPageSnapshot, ch as DocumentSectionSnapshot, ci as DocumentStats, cj as DocumentTextToken, ck as EditorAnchorProjection, cl as EditorDatastoreAdapter, r as EditorError, cm as EditorErrorCode, E as EditorHostAdapter, cn as EditorStateBlob, as as EditorStateLocation, ar as EditorStateNamespace, co as EditorStatePartLoadFailure, cp as EditorStatePartPersistFailure, cq as EditorStatePersister, cr as EditorStatePolicy, cs as EditorStatePolicyEntry, ct as EditorStatePolicyMigration, cu as EditorStateResolveErrorMode, cv as EditorStateResolver, cw as EditorStateStorageRef, cx as EditorStoryTarget, cy as EditorTelemetryEvent, cz as EditorUser, cA as EditorViewStateSnapshot, cB as EditorWarning, cC as EditorWarningCode, b as ExportDocxOptions, c as ExportResult, cD as ExternalCustodyArchivePayload, cE as ExternalDocumentSource, cF as HeaderFooterLinkPatch, cG as HostAnnotationItem, cH as HostAnnotationKind, cI as HostAnnotationOverlay, cJ as HostAnnotationSnapshot, cK as ISSUE_METADATA_ID, cL as InteractionGuardSnapshot, cM as IssueMetadataValue, cN as IssueMode, cO as IssueOwner, cP as IssueSeverity, cQ as LayoutMeasurement, cR as LoadRequest, cS as LoadResult, cT as LoadSourcePolicy, cU as MetadataIntegrity, cV as MetadataPersistenceMode, cW as MetadataResolverMissingError, cX as NegotiationBlockReason, cY as NegotiationCounterProposal, cZ as NegotiationHistoryRow, c_ as NegotiationRole, c$ as NegotiationVote, d0 as PageLayoutSnapshot, d1 as PageRegionHitTest, d2 as Participant, d3 as ParticipantRole, d4 as ParticipantRoster, d5 as PayloadVerifier, d6 as REVIEW_ACTION_METADATA_ID, d7 as RestorePointCheckpointType, d8 as RestorePointSnapshot, d9 as RestoreResult, da as ReviewActionKind, db as ReviewActionMetadataValue, dc as ReviewQueueItem, dd as ReviewQueueItemKind, de as ReviewQueueSnapshot, df as ReviewWorkItemSnapshot, dg as ReviewWorkSnapshot, dh as RuntimeContextAnalyticsActionHint, di as RuntimeContextAnalyticsBadge, dj as RuntimeContextAnalyticsCounts, dk as RuntimeContextAnalyticsProvenance, dl as RuntimeContextAnalyticsQuery, dm as RuntimeContextAnalyticsScopeKind, dn as RuntimeContextAnalyticsSnapshot, dp as RuntimeContextAnalyticsState, dq as RuntimeContextAnalyticsUnavailableField, R as RuntimeRenderSnapshot, dr as RuntimeSendToExternalArgs, ds as RuntimeSendToExternalResult, dt as SELECTION_TOOL_REGISTRY, du as SaveExportParams, dv as SaveExportResult, dw as SaveSessionParams, dx as SaveSessionResult, dy as SaveSnapshotParams, dz as SaveSnapshotResult, dA as ScopeCardModel, dB as ScopeIssueAction, dC as ScopeMetadataPersistence, dD as ScopeMetadataResolver, dE as ScopeMetadataStorageRef, dF as ScopeTagTouch, dG as SectionBreakType, dH as SectionLayoutPatch, dI as SectionPageNumberingPatch, h as SelectionSnapshot, dJ as SelectionToolKind, dK as SelectionToolRegistryEntry, dL as SendToExternalCallArgs, dM as SignatureAlgorithm, dN as SnapshotRefreshChangeKind, dO as SnapshotRefreshHints, dP as SnapshotRefreshInvalidateTarget, dQ as SnapshotRefreshStaleTarget, dR as StoryTextStreamSnapshot, dS as StyleCatalogEntrySnapshot, dT as StyleCatalogSnapshot, dU as SuggestionEntrySnapshot, dV as SuggestionGroup, dW as SuggestionsSnapshot, dX as SurfaceBlockSnapshot, dY as SurfaceInlineSegment, dZ as SurfaceTableCellSnapshot, d_ as SurfaceTableRowSnapshot, d$ as SurfaceTextMark, e0 as TamperGate, e1 as TamperGateArgs, e2 as TamperGateAttachArgs, e3 as TamperGateEvent, e4 as TamperGateGuardResult, e5 as TextCommandAckKind, e6 as TextProjection, e7 as TextProjectionLine, e8 as TextProjectionOptions, e9 as TextProjectionStoryEntry, ea as TocEntrySnapshot, eb as TocRegionSnapshot, ec as TocSnapshot, ed as TrackedChangeEntrySnapshot, ee as TrackedChangesSnapshot, ef as ViewMode, eg as WordReviewEditorChromeOptions, eh as WordReviewEditorChromePreset, ei as WordReviewEditorChromeVisibility, ej as WordReviewEditorEvent, ek as WorkflowBlockedCommandReason, el as WorkflowCandidateRange, em as WorkflowCandidateRangeOptions, en as WorkflowCommentMarkup, eo as WorkflowFieldMarkup, ep as WorkflowHighlightMarkup, eq as WorkflowMarkupBase, er as WorkflowMarkupItem, es as WorkflowMarkupKind, et as WorkflowMarkupSnapshot, eu as WorkflowMetadataDefinition, ev as WorkflowMetadataEntry, ew as WorkflowMetadataMarkup, ex as WorkflowMetadataPersistence, ey as WorkflowMetadataSnapshot, ez as WorkflowOpaqueFragmentMarkup, eA as WorkflowOverlay, eB as WorkflowOverlayPatch, eC as WorkflowProtectedRangeMarkup, eD as WorkflowRevisionMarkup, eE as WorkflowScope, eF as WorkflowScopeMode, eG as WorkflowScopeSnapshot, eH as WorkflowWorkItem, eI as WorkspaceMode, eJ as ZoomLevel, ap as createApiV3, eK as createCollabSession, eL as createCollabSessionBridge, eM as createCollabSessionFacet, eN as createHmacSigner, eO as createHmacVerifier, eP as createTamperGate, eQ as resolveSelectionToolRegistry, eR as runtimeSendToExternal, eS as sendToExternal, eT as signWorkflowPayloadXml, eU as verifyWorkflowPayloadXml } from './public-types-BP3vqJR5.cjs';
|
|
3
3
|
import React__default from 'react';
|
|
4
|
-
export { D as DocxSession, S as SessionNotOpenError, a as SessionNotWiredError } from './session-
|
|
5
|
-
export { E as EmbeddedDocumentManifest, a as ExportOptions, O as OpenOptions, b as OpenResult, P as PreservationSnapshot, V as ValidateOptions, c as ValidationFinding, d as ValidationReport } from './types-
|
|
4
|
+
export { D as DocxSession, S as SessionNotOpenError, a as SessionNotWiredError } from './session-Cq-fzx3B.cjs';
|
|
5
|
+
export { E as EmbeddedDocumentManifest, a as ExportOptions, O as OpenOptions, b as OpenResult, P as PreservationSnapshot, V as ValidateOptions, c as ValidationFinding, d as ValidationReport } from './types-Bg7D-GD3.cjs';
|
|
6
6
|
import { Awareness } from 'y-protocols/awareness';
|
|
7
|
-
import { C as CanonicalDocument } from './canonical-document-
|
|
7
|
+
import { C as CanonicalDocument } from './canonical-document-CXCFCbAz.cjs';
|
|
8
8
|
import 'yjs';
|
|
9
9
|
import 'prosemirror-state';
|
|
10
10
|
import 'prosemirror-model';
|
package/dist/index.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { b0 as TextCommandAck, b1 as TextCommandRefreshClass, b2 as WordReviewEditorProps, b3 as WordReviewEditorRef, a as EditorSessionState, P as PersistedEditorSnapshot, b4 as validatePersistedEditorSnapshot, b5 as PayloadSigner, b6 as PayloadSignature, b7 as TransportStatus, b8 as CollabPosture, b9 as PresenceSnapshot, ba as AwarenessIdentity, bb as ExternalCustody, bc as ExternalCustodyResolver, bd as ExternalCustodyRestoredContent, be as RuntimePageGraph, o as EditorSurfaceSnapshot, q as CompatibilityReport } from './public-types-
|
|
2
|
-
export { bf as ActiveListContext, bg as ActiveNoteContext, bh as AddCommentParams, bi as AddCommentReplyResult, bj as AddCommentResult, bk as AiExplanationScopeInput, bl as AiExplanationScopeResult, J as ApiV3, bm as AttachPayloadArgs, bn as AuthorKind, bo as AutosaveConfig, bp as AutosaveState, bq as AwarenessPeer, br as BatchEditEntryResult, bs as BatchEditOperation, bt as BatchEditOptions, bu as BatchEditResult, bv as CaretAffinity, bw as ChangeAnchor, bx as ChangeFilter, by as ChartPreviewResolveParams, bz as ChartSnapshot, bA as ChartSnapshotBubbleSeries, bB as ChartSnapshotData, bC as ChartSnapshotScatterSeries, bD as ChartSnapshotSeries, bE as CollabBlockReason, bF as CollabSession, bG as CollabSessionBridge, bH as CollabSessionEvent, bI as CollabSessionEventOrIntegrity, bJ as CollabSessionFacet, bK as CollabSessionOptions, bL as CommandStateSnapshot, bM as CommentAttachment, bN as CommentAudience, bO as CommentBody, bP as CommentLabel, bQ as CommentMention, bR as CommentNegotiationAction, bS as CommentNegotiationActionType, bT as CommentNegotiationEntry, bU as CommentNegotiationSnapshot, bV as CommentNegotiationState, bW as CommentPresentation, bX as CommentPresentationAction, bY as CommentPresentationReply, bZ as CommentPresentationSnapshot, b_ as CommentReaction, b$ as CommentSidebarSnapshot, c0 as CommentSidebarThreadEntrySnapshot, c1 as CommentSidebarThreadSnapshot, c2 as CompatibilityFeatureClass, c3 as CompatibilityFeatureEntry, c4 as CompatibilityPanelSnapshot, a5 as CreateApiV3Opts, c5 as CreateCollabSessionBridgeOptions, c6 as DispatchContext, c7 as DispatchResult, c8 as DocumentChunkKind, c9 as DocumentChunkSnapshot, ca as DocumentHeadingSnapshot, cb as DocumentLocationSnapshot, cc as DocumentLocationSource, cd as DocumentNavigationSnapshot, ce as DocumentOutlineHeadingSnapshot, cf as DocumentOutlineSnapshot, cg as DocumentPageSnapshot, ch as DocumentSectionSnapshot, ci as DocumentStats, cj as DocumentTextToken, ck as EditorAnchorProjection, cl as EditorDatastoreAdapter, r as EditorError, cm as EditorErrorCode, E as EditorHostAdapter, cn as EditorStateBlob, as as EditorStateLocation, ar as EditorStateNamespace, co as EditorStatePartLoadFailure, cp as EditorStatePartPersistFailure, cq as EditorStatePersister, cr as EditorStatePolicy, cs as EditorStatePolicyEntry, ct as EditorStatePolicyMigration, cu as EditorStateResolveErrorMode, cv as EditorStateResolver, cw as EditorStateStorageRef, cx as EditorStoryTarget, cy as EditorTelemetryEvent, cz as EditorUser, cA as EditorViewStateSnapshot, cB as EditorWarning, cC as EditorWarningCode, b as ExportDocxOptions, c as ExportResult, cD as ExternalCustodyArchivePayload, cE as ExternalDocumentSource, cF as HeaderFooterLinkPatch, cG as HostAnnotationItem, cH as HostAnnotationKind, cI as HostAnnotationOverlay, cJ as HostAnnotationSnapshot, cK as ISSUE_METADATA_ID, cL as InteractionGuardSnapshot, cM as IssueMetadataValue, cN as IssueMode, cO as IssueOwner, cP as IssueSeverity, cQ as LayoutMeasurement, cR as LoadRequest, cS as LoadResult, cT as LoadSourcePolicy, cU as MetadataIntegrity, cV as MetadataPersistenceMode, cW as MetadataResolverMissingError, cX as NegotiationBlockReason, cY as NegotiationCounterProposal, cZ as NegotiationHistoryRow, c_ as NegotiationRole, c$ as NegotiationVote, d0 as PageLayoutSnapshot, d1 as PageRegionHitTest, d2 as Participant, d3 as ParticipantRole, d4 as ParticipantRoster, d5 as PayloadVerifier, d6 as REVIEW_ACTION_METADATA_ID, d7 as RestorePointCheckpointType, d8 as RestorePointSnapshot, d9 as RestoreResult, da as ReviewActionKind, db as ReviewActionMetadataValue, dc as ReviewQueueItem, dd as ReviewQueueItemKind, de as ReviewQueueSnapshot, df as ReviewWorkItemSnapshot, dg as ReviewWorkSnapshot, dh as RuntimeContextAnalyticsActionHint, di as RuntimeContextAnalyticsBadge, dj as RuntimeContextAnalyticsCounts, dk as RuntimeContextAnalyticsProvenance, dl as RuntimeContextAnalyticsQuery, dm as RuntimeContextAnalyticsScopeKind, dn as RuntimeContextAnalyticsSnapshot, dp as RuntimeContextAnalyticsState, dq as RuntimeContextAnalyticsUnavailableField, R as RuntimeRenderSnapshot, dr as RuntimeSendToExternalArgs, ds as RuntimeSendToExternalResult, dt as SELECTION_TOOL_REGISTRY, du as SaveExportParams, dv as SaveExportResult, dw as SaveSessionParams, dx as SaveSessionResult, dy as SaveSnapshotParams, dz as SaveSnapshotResult, dA as ScopeCardModel, dB as ScopeIssueAction, dC as ScopeMetadataPersistence, dD as ScopeMetadataResolver, dE as ScopeMetadataStorageRef, dF as ScopeTagTouch, dG as SectionBreakType, dH as SectionLayoutPatch, dI as SectionPageNumberingPatch, h as SelectionSnapshot, dJ as SelectionToolKind, dK as SelectionToolRegistryEntry, dL as SendToExternalCallArgs, dM as SignatureAlgorithm, dN as SnapshotRefreshChangeKind, dO as SnapshotRefreshHints, dP as SnapshotRefreshInvalidateTarget, dQ as SnapshotRefreshStaleTarget, dR as StoryTextStreamSnapshot, dS as StyleCatalogEntrySnapshot, dT as StyleCatalogSnapshot, dU as SuggestionEntrySnapshot, dV as SuggestionGroup, dW as SuggestionsSnapshot, dX as SurfaceBlockSnapshot, dY as SurfaceInlineSegment, dZ as SurfaceTableCellSnapshot, d_ as SurfaceTableRowSnapshot, d$ as SurfaceTextMark, e0 as TamperGate, e1 as TamperGateArgs, e2 as TamperGateAttachArgs, e3 as TamperGateEvent, e4 as TamperGateGuardResult, e5 as TextCommandAckKind, e6 as TextProjection, e7 as TextProjectionLine, e8 as TextProjectionOptions, e9 as TextProjectionStoryEntry, ea as TocEntrySnapshot, eb as TocRegionSnapshot, ec as TocSnapshot, ed as TrackedChangeEntrySnapshot, ee as TrackedChangesSnapshot, ef as ViewMode, eg as WordReviewEditorChromeOptions, eh as WordReviewEditorChromePreset, ei as WordReviewEditorChromeVisibility, ej as WordReviewEditorEvent, ek as WorkflowBlockedCommandReason, el as WorkflowCandidateRange, em as WorkflowCandidateRangeOptions, en as WorkflowCommentMarkup, eo as WorkflowFieldMarkup, ep as WorkflowHighlightMarkup, eq as WorkflowMarkupBase, er as WorkflowMarkupItem, es as WorkflowMarkupKind, et as WorkflowMarkupSnapshot, eu as WorkflowMetadataDefinition, ev as WorkflowMetadataEntry, ew as WorkflowMetadataMarkup, ex as WorkflowMetadataPersistence, ey as WorkflowMetadataSnapshot, ez as WorkflowOpaqueFragmentMarkup, eA as WorkflowOverlay, eB as WorkflowOverlayPatch, eC as WorkflowProtectedRangeMarkup, eD as WorkflowRevisionMarkup, eE as WorkflowScope, eF as WorkflowScopeMode, eG as WorkflowScopeSnapshot, eH as WorkflowWorkItem, eI as WorkspaceMode, eJ as ZoomLevel, ap as createApiV3, eK as createCollabSession, eL as createCollabSessionBridge, eM as createCollabSessionFacet, eN as createHmacSigner, eO as createHmacVerifier, eP as createTamperGate, eQ as resolveSelectionToolRegistry, eR as runtimeSendToExternal, eS as sendToExternal, eT as signWorkflowPayloadXml, eU as verifyWorkflowPayloadXml } from './public-types-
|
|
1
|
+
import { b0 as TextCommandAck, b1 as TextCommandRefreshClass, b2 as WordReviewEditorProps, b3 as WordReviewEditorRef, a as EditorSessionState, P as PersistedEditorSnapshot, b4 as validatePersistedEditorSnapshot, b5 as PayloadSigner, b6 as PayloadSignature, b7 as TransportStatus, b8 as CollabPosture, b9 as PresenceSnapshot, ba as AwarenessIdentity, bb as ExternalCustody, bc as ExternalCustodyResolver, bd as ExternalCustodyRestoredContent, be as RuntimePageGraph, o as EditorSurfaceSnapshot, q as CompatibilityReport } from './public-types-DdcHqcow.js';
|
|
2
|
+
export { bf as ActiveListContext, bg as ActiveNoteContext, bh as AddCommentParams, bi as AddCommentReplyResult, bj as AddCommentResult, bk as AiExplanationScopeInput, bl as AiExplanationScopeResult, J as ApiV3, bm as AttachPayloadArgs, bn as AuthorKind, bo as AutosaveConfig, bp as AutosaveState, bq as AwarenessPeer, br as BatchEditEntryResult, bs as BatchEditOperation, bt as BatchEditOptions, bu as BatchEditResult, bv as CaretAffinity, bw as ChangeAnchor, bx as ChangeFilter, by as ChartPreviewResolveParams, bz as ChartSnapshot, bA as ChartSnapshotBubbleSeries, bB as ChartSnapshotData, bC as ChartSnapshotScatterSeries, bD as ChartSnapshotSeries, bE as CollabBlockReason, bF as CollabSession, bG as CollabSessionBridge, bH as CollabSessionEvent, bI as CollabSessionEventOrIntegrity, bJ as CollabSessionFacet, bK as CollabSessionOptions, bL as CommandStateSnapshot, bM as CommentAttachment, bN as CommentAudience, bO as CommentBody, bP as CommentLabel, bQ as CommentMention, bR as CommentNegotiationAction, bS as CommentNegotiationActionType, bT as CommentNegotiationEntry, bU as CommentNegotiationSnapshot, bV as CommentNegotiationState, bW as CommentPresentation, bX as CommentPresentationAction, bY as CommentPresentationReply, bZ as CommentPresentationSnapshot, b_ as CommentReaction, b$ as CommentSidebarSnapshot, c0 as CommentSidebarThreadEntrySnapshot, c1 as CommentSidebarThreadSnapshot, c2 as CompatibilityFeatureClass, c3 as CompatibilityFeatureEntry, c4 as CompatibilityPanelSnapshot, a5 as CreateApiV3Opts, c5 as CreateCollabSessionBridgeOptions, c6 as DispatchContext, c7 as DispatchResult, c8 as DocumentChunkKind, c9 as DocumentChunkSnapshot, ca as DocumentHeadingSnapshot, cb as DocumentLocationSnapshot, cc as DocumentLocationSource, cd as DocumentNavigationSnapshot, ce as DocumentOutlineHeadingSnapshot, cf as DocumentOutlineSnapshot, cg as DocumentPageSnapshot, ch as DocumentSectionSnapshot, ci as DocumentStats, cj as DocumentTextToken, ck as EditorAnchorProjection, cl as EditorDatastoreAdapter, r as EditorError, cm as EditorErrorCode, E as EditorHostAdapter, cn as EditorStateBlob, as as EditorStateLocation, ar as EditorStateNamespace, co as EditorStatePartLoadFailure, cp as EditorStatePartPersistFailure, cq as EditorStatePersister, cr as EditorStatePolicy, cs as EditorStatePolicyEntry, ct as EditorStatePolicyMigration, cu as EditorStateResolveErrorMode, cv as EditorStateResolver, cw as EditorStateStorageRef, cx as EditorStoryTarget, cy as EditorTelemetryEvent, cz as EditorUser, cA as EditorViewStateSnapshot, cB as EditorWarning, cC as EditorWarningCode, b as ExportDocxOptions, c as ExportResult, cD as ExternalCustodyArchivePayload, cE as ExternalDocumentSource, cF as HeaderFooterLinkPatch, cG as HostAnnotationItem, cH as HostAnnotationKind, cI as HostAnnotationOverlay, cJ as HostAnnotationSnapshot, cK as ISSUE_METADATA_ID, cL as InteractionGuardSnapshot, cM as IssueMetadataValue, cN as IssueMode, cO as IssueOwner, cP as IssueSeverity, cQ as LayoutMeasurement, cR as LoadRequest, cS as LoadResult, cT as LoadSourcePolicy, cU as MetadataIntegrity, cV as MetadataPersistenceMode, cW as MetadataResolverMissingError, cX as NegotiationBlockReason, cY as NegotiationCounterProposal, cZ as NegotiationHistoryRow, c_ as NegotiationRole, c$ as NegotiationVote, d0 as PageLayoutSnapshot, d1 as PageRegionHitTest, d2 as Participant, d3 as ParticipantRole, d4 as ParticipantRoster, d5 as PayloadVerifier, d6 as REVIEW_ACTION_METADATA_ID, d7 as RestorePointCheckpointType, d8 as RestorePointSnapshot, d9 as RestoreResult, da as ReviewActionKind, db as ReviewActionMetadataValue, dc as ReviewQueueItem, dd as ReviewQueueItemKind, de as ReviewQueueSnapshot, df as ReviewWorkItemSnapshot, dg as ReviewWorkSnapshot, dh as RuntimeContextAnalyticsActionHint, di as RuntimeContextAnalyticsBadge, dj as RuntimeContextAnalyticsCounts, dk as RuntimeContextAnalyticsProvenance, dl as RuntimeContextAnalyticsQuery, dm as RuntimeContextAnalyticsScopeKind, dn as RuntimeContextAnalyticsSnapshot, dp as RuntimeContextAnalyticsState, dq as RuntimeContextAnalyticsUnavailableField, R as RuntimeRenderSnapshot, dr as RuntimeSendToExternalArgs, ds as RuntimeSendToExternalResult, dt as SELECTION_TOOL_REGISTRY, du as SaveExportParams, dv as SaveExportResult, dw as SaveSessionParams, dx as SaveSessionResult, dy as SaveSnapshotParams, dz as SaveSnapshotResult, dA as ScopeCardModel, dB as ScopeIssueAction, dC as ScopeMetadataPersistence, dD as ScopeMetadataResolver, dE as ScopeMetadataStorageRef, dF as ScopeTagTouch, dG as SectionBreakType, dH as SectionLayoutPatch, dI as SectionPageNumberingPatch, h as SelectionSnapshot, dJ as SelectionToolKind, dK as SelectionToolRegistryEntry, dL as SendToExternalCallArgs, dM as SignatureAlgorithm, dN as SnapshotRefreshChangeKind, dO as SnapshotRefreshHints, dP as SnapshotRefreshInvalidateTarget, dQ as SnapshotRefreshStaleTarget, dR as StoryTextStreamSnapshot, dS as StyleCatalogEntrySnapshot, dT as StyleCatalogSnapshot, dU as SuggestionEntrySnapshot, dV as SuggestionGroup, dW as SuggestionsSnapshot, dX as SurfaceBlockSnapshot, dY as SurfaceInlineSegment, dZ as SurfaceTableCellSnapshot, d_ as SurfaceTableRowSnapshot, d$ as SurfaceTextMark, e0 as TamperGate, e1 as TamperGateArgs, e2 as TamperGateAttachArgs, e3 as TamperGateEvent, e4 as TamperGateGuardResult, e5 as TextCommandAckKind, e6 as TextProjection, e7 as TextProjectionLine, e8 as TextProjectionOptions, e9 as TextProjectionStoryEntry, ea as TocEntrySnapshot, eb as TocRegionSnapshot, ec as TocSnapshot, ed as TrackedChangeEntrySnapshot, ee as TrackedChangesSnapshot, ef as ViewMode, eg as WordReviewEditorChromeOptions, eh as WordReviewEditorChromePreset, ei as WordReviewEditorChromeVisibility, ej as WordReviewEditorEvent, ek as WorkflowBlockedCommandReason, el as WorkflowCandidateRange, em as WorkflowCandidateRangeOptions, en as WorkflowCommentMarkup, eo as WorkflowFieldMarkup, ep as WorkflowHighlightMarkup, eq as WorkflowMarkupBase, er as WorkflowMarkupItem, es as WorkflowMarkupKind, et as WorkflowMarkupSnapshot, eu as WorkflowMetadataDefinition, ev as WorkflowMetadataEntry, ew as WorkflowMetadataMarkup, ex as WorkflowMetadataPersistence, ey as WorkflowMetadataSnapshot, ez as WorkflowOpaqueFragmentMarkup, eA as WorkflowOverlay, eB as WorkflowOverlayPatch, eC as WorkflowProtectedRangeMarkup, eD as WorkflowRevisionMarkup, eE as WorkflowScope, eF as WorkflowScopeMode, eG as WorkflowScopeSnapshot, eH as WorkflowWorkItem, eI as WorkspaceMode, eJ as ZoomLevel, ap as createApiV3, eK as createCollabSession, eL as createCollabSessionBridge, eM as createCollabSessionFacet, eN as createHmacSigner, eO as createHmacVerifier, eP as createTamperGate, eQ as resolveSelectionToolRegistry, eR as runtimeSendToExternal, eS as sendToExternal, eT as signWorkflowPayloadXml, eU as verifyWorkflowPayloadXml } from './public-types-DdcHqcow.js';
|
|
3
3
|
import React__default from 'react';
|
|
4
|
-
export { D as DocxSession, S as SessionNotOpenError, a as SessionNotWiredError } from './session-
|
|
5
|
-
export { E as EmbeddedDocumentManifest, a as ExportOptions, O as OpenOptions, b as OpenResult, P as PreservationSnapshot, V as ValidateOptions, c as ValidationFinding, d as ValidationReport } from './types-
|
|
4
|
+
export { D as DocxSession, S as SessionNotOpenError, a as SessionNotWiredError } from './session-DyFQt8Ph.js';
|
|
5
|
+
export { E as EmbeddedDocumentManifest, a as ExportOptions, O as OpenOptions, b as OpenResult, P as PreservationSnapshot, V as ValidateOptions, c as ValidationFinding, d as ValidationReport } from './types-bJAgMq1M.js';
|
|
6
6
|
import { Awareness } from 'y-protocols/awareness';
|
|
7
|
-
import { C as CanonicalDocument } from './canonical-document-
|
|
7
|
+
import { C as CanonicalDocument } from './canonical-document-CXCFCbAz.js';
|
|
8
8
|
import 'yjs';
|
|
9
9
|
import 'prosemirror-state';
|
|
10
10
|
import 'prosemirror-model';
|
package/dist/index.js
CHANGED
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
createSearchPlugin,
|
|
5
5
|
performSearch,
|
|
6
6
|
searchPluginKey
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-4EENH4FG.js";
|
|
8
8
|
import {
|
|
9
9
|
CODE_METADATA_TABLE,
|
|
10
10
|
KNOWN_DIAGNOSTIC_CODES,
|
|
@@ -26,7 +26,7 @@ import {
|
|
|
26
26
|
splitListParagraph,
|
|
27
27
|
toggleBulletedList,
|
|
28
28
|
toggleNumberedList
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-GL7XRYBY.js";
|
|
30
30
|
import {
|
|
31
31
|
applyParagraphStyleToDocument
|
|
32
32
|
} from "./chunk-6EXNNAO6.js";
|
|
@@ -37,7 +37,7 @@ import {
|
|
|
37
37
|
setSectionPageNumberingAtSectionIndex,
|
|
38
38
|
updateSectionLayoutAtSectionIndex
|
|
39
39
|
} from "./chunk-M6XR534O.js";
|
|
40
|
-
import "./chunk-
|
|
40
|
+
import "./chunk-YD2JE54B.js";
|
|
41
41
|
import {
|
|
42
42
|
createRuntimeCollabSync,
|
|
43
43
|
createRuntimeCommandAppliedBridge
|
|
@@ -45,7 +45,7 @@ import {
|
|
|
45
45
|
import {
|
|
46
46
|
insertPageBreak,
|
|
47
47
|
insertTable
|
|
48
|
-
} from "./chunk-
|
|
48
|
+
} from "./chunk-4G3OS2H6.js";
|
|
49
49
|
import {
|
|
50
50
|
getFormattingStateFromRenderSnapshot
|
|
51
51
|
} from "./chunk-Y4XZCMCS.js";
|
|
@@ -53,14 +53,15 @@ import {
|
|
|
53
53
|
insertImage,
|
|
54
54
|
repositionFloatingImage,
|
|
55
55
|
resizeImage
|
|
56
|
-
} from "./chunk-
|
|
57
|
-
import "./chunk-
|
|
56
|
+
} from "./chunk-6F5QW44A.js";
|
|
57
|
+
import "./chunk-KV435YXO.js";
|
|
58
58
|
import {
|
|
59
59
|
getTableStructureContext,
|
|
60
60
|
tableStructureActionHandleForTarget
|
|
61
|
-
} from "./chunk-
|
|
62
|
-
import "./chunk-
|
|
61
|
+
} from "./chunk-ZDOAUP3V.js";
|
|
62
|
+
import "./chunk-BYSRJ4FE.js";
|
|
63
63
|
import {
|
|
64
|
+
MOUNTED_SURFACE_VIEWPORT_BLOCK_THRESHOLD,
|
|
64
65
|
OverlayAnchorBridgeProvider,
|
|
65
66
|
PAGE_CHROME_DEFAULTS,
|
|
66
67
|
SELECTION_TOOL_REGISTRY,
|
|
@@ -83,8 +84,9 @@ import {
|
|
|
83
84
|
resolveScrollTopForAnchor,
|
|
84
85
|
resolveSelectionToolRegistry,
|
|
85
86
|
shouldRenderAbsoluteFloatingImageInPageOverlay,
|
|
86
|
-
shouldRenderSelectionToolKind
|
|
87
|
-
|
|
87
|
+
shouldRenderSelectionToolKind,
|
|
88
|
+
shouldUseMountedSurfaceViewportCulling
|
|
89
|
+
} from "./chunk-2QL5DAKF.js";
|
|
88
90
|
import {
|
|
89
91
|
PREDICTED_LANE_COUNTERS,
|
|
90
92
|
createInertGeometryFacet,
|
|
@@ -92,7 +94,7 @@ import {
|
|
|
92
94
|
incrementInvalidationCounter,
|
|
93
95
|
recordPerfSample,
|
|
94
96
|
startPerfProbe
|
|
95
|
-
} from "./chunk-
|
|
97
|
+
} from "./chunk-MWSBGJQO.js";
|
|
96
98
|
import {
|
|
97
99
|
composeSeriesColor,
|
|
98
100
|
computeStructuralHash,
|
|
@@ -106,12 +108,12 @@ import {
|
|
|
106
108
|
resolveColor,
|
|
107
109
|
tryReadLaycacheEnvelope,
|
|
108
110
|
writeEnvelopeToOpcPackage
|
|
109
|
-
} from "./chunk-
|
|
111
|
+
} from "./chunk-6IGWPAR4.js";
|
|
110
112
|
import {
|
|
111
113
|
findTextMatches,
|
|
112
114
|
parseCanonicalFragmentFromWordML,
|
|
113
115
|
searchDocument
|
|
114
|
-
} from "./chunk-
|
|
116
|
+
} from "./chunk-FPRWV54X.js";
|
|
115
117
|
import {
|
|
116
118
|
clearLocalCursorState,
|
|
117
119
|
getCursorColorForUser,
|
|
@@ -121,7 +123,7 @@ import {
|
|
|
121
123
|
import {
|
|
122
124
|
resolveChromePreset,
|
|
123
125
|
resolveChromeVisibilityForPreset
|
|
124
|
-
} from "./chunk-
|
|
126
|
+
} from "./chunk-YIYM4ZAP.js";
|
|
125
127
|
import {
|
|
126
128
|
CAPABILITY_BY_ID,
|
|
127
129
|
ISSUE_METADATA_ID,
|
|
@@ -137,7 +139,7 @@ import {
|
|
|
137
139
|
deriveCapabilities,
|
|
138
140
|
sanitizeMarkdown,
|
|
139
141
|
sha256Hex
|
|
140
|
-
} from "./chunk-
|
|
142
|
+
} from "./chunk-YHZHPXDB.js";
|
|
141
143
|
import "./chunk-KFCQYZXR.js";
|
|
142
144
|
import "./chunk-QIO6V46H.js";
|
|
143
145
|
import {
|
|
@@ -145,7 +147,7 @@ import {
|
|
|
145
147
|
getStoryBlocks,
|
|
146
148
|
replaceStoryBlocks,
|
|
147
149
|
stableChartId
|
|
148
|
-
} from "./chunk-
|
|
150
|
+
} from "./chunk-CXSYRB37.js";
|
|
149
151
|
import "./chunk-CX42VC67.js";
|
|
150
152
|
import {
|
|
151
153
|
createDefaultCanonicalDocument,
|
|
@@ -156,14 +158,14 @@ import {
|
|
|
156
158
|
SessionNotOpenError,
|
|
157
159
|
SessionNotWiredError,
|
|
158
160
|
isReopenBarrier
|
|
159
|
-
} from "./chunk-
|
|
161
|
+
} from "./chunk-TQDQU2E3.js";
|
|
160
162
|
import {
|
|
161
163
|
createHmacSigner,
|
|
162
164
|
createHmacVerifier,
|
|
163
165
|
loadDocxSessionSync,
|
|
164
166
|
signWorkflowPayloadXml,
|
|
165
167
|
verifyWorkflowPayloadXml
|
|
166
|
-
} from "./chunk-
|
|
168
|
+
} from "./chunk-V6XVZFFH.js";
|
|
167
169
|
import {
|
|
168
170
|
EDITOR_SESSION_STATE_VERSION,
|
|
169
171
|
assertEditorSessionState,
|
|
@@ -172,8 +174,8 @@ import {
|
|
|
172
174
|
editorSessionStateFromPersistedSnapshot,
|
|
173
175
|
persistedSnapshotFromEditorSessionState,
|
|
174
176
|
validateEditorSessionState
|
|
175
|
-
} from "./chunk-
|
|
176
|
-
import "./chunk-
|
|
177
|
+
} from "./chunk-ESJ2MES5.js";
|
|
178
|
+
import "./chunk-4YJVRIUB.js";
|
|
177
179
|
import {
|
|
178
180
|
decodePersistedSourcePackageBytes,
|
|
179
181
|
hasValidPersistedSourcePackageDigest
|
|
@@ -185,7 +187,7 @@ import {
|
|
|
185
187
|
collectEditableTargetRefs,
|
|
186
188
|
createHeaderFooterStoryKey,
|
|
187
189
|
createNoteStoryKey
|
|
188
|
-
} from "./chunk-
|
|
190
|
+
} from "./chunk-5DGKFNQT.js";
|
|
189
191
|
import {
|
|
190
192
|
readOpcPackage
|
|
191
193
|
} from "./chunk-OL2UEHRP.js";
|
|
@@ -305,7 +307,8 @@ function applyListAwareTextCommand(context, command, deps) {
|
|
|
305
307
|
const result = indentListItems(
|
|
306
308
|
context.localDocument,
|
|
307
309
|
[paragraphContext.paragraphIndex],
|
|
308
|
-
|
|
310
|
+
listCommandContext(context),
|
|
311
|
+
listCommandTargetOptions(context, paragraphContext)
|
|
309
312
|
);
|
|
310
313
|
return createListMutationResult(result, context.localSnapshot.selection, deps);
|
|
311
314
|
}
|
|
@@ -313,7 +316,8 @@ function applyListAwareTextCommand(context, command, deps) {
|
|
|
313
316
|
const result = outdentListItems(
|
|
314
317
|
context.localDocument,
|
|
315
318
|
[paragraphContext.paragraphIndex],
|
|
316
|
-
|
|
319
|
+
listCommandContext(context),
|
|
320
|
+
listCommandTargetOptions(context, paragraphContext)
|
|
317
321
|
);
|
|
318
322
|
return createListMutationResult(result, context.localSnapshot.selection, deps);
|
|
319
323
|
}
|
|
@@ -324,7 +328,8 @@ function applyListAwareTextCommand(context, command, deps) {
|
|
|
324
328
|
const result = backspaceAtListStart(
|
|
325
329
|
context.localDocument,
|
|
326
330
|
paragraphContext.paragraphIndex,
|
|
327
|
-
|
|
331
|
+
listCommandContext(context),
|
|
332
|
+
listCommandTargetOptions(context, paragraphContext)
|
|
328
333
|
);
|
|
329
334
|
return result.handled ? createListMutationResult(result, context.localSnapshot.selection, deps) : null;
|
|
330
335
|
}
|
|
@@ -336,14 +341,30 @@ function applyListAwareTextCommand(context, command, deps) {
|
|
|
336
341
|
context.localDocument,
|
|
337
342
|
paragraphContext.paragraphIndex,
|
|
338
343
|
true,
|
|
339
|
-
|
|
344
|
+
listCommandContext(context),
|
|
345
|
+
listCommandTargetOptions(context, paragraphContext)
|
|
340
346
|
);
|
|
347
|
+
if (result.blockedReason) {
|
|
348
|
+
return createListMutationResult(result, context.localSnapshot.selection, deps);
|
|
349
|
+
}
|
|
341
350
|
return result.action === "split" ? null : createListMutationResult(result, context.localSnapshot.selection, deps);
|
|
342
351
|
}
|
|
343
352
|
default:
|
|
344
353
|
return null;
|
|
345
354
|
}
|
|
346
355
|
}
|
|
356
|
+
function listCommandContext(context) {
|
|
357
|
+
return {
|
|
358
|
+
timestamp: context.timestamp,
|
|
359
|
+
...context.activeStory.kind === "main" ? { activeStoryKey: "main" } : {}
|
|
360
|
+
};
|
|
361
|
+
}
|
|
362
|
+
function listCommandTargetOptions(context, paragraphContext) {
|
|
363
|
+
if (context.activeStory.kind !== "main" || !paragraphContext.paragraph.editableTarget) {
|
|
364
|
+
return {};
|
|
365
|
+
}
|
|
366
|
+
return { editableTargets: [paragraphContext.paragraph.editableTarget] };
|
|
367
|
+
}
|
|
347
368
|
function createListMutationResult(result, selection, deps) {
|
|
348
369
|
return {
|
|
349
370
|
changed: result.affectedParagraphIndexes.length > 0,
|
|
@@ -3498,6 +3519,9 @@ function createRuntime(args, handlers = {}) {
|
|
|
3498
3519
|
)
|
|
3499
3520
|
));
|
|
3500
3521
|
const runtimeSessionState = snapshotExportResolution?.barrier ? applySessionExportBarrier(initialSessionState, snapshotExportResolution.barrier) : initialSessionState;
|
|
3522
|
+
const initialSurfaceViewportBlockRanges = getMountedInitialSurfaceViewportBlockRanges(
|
|
3523
|
+
runtimeSessionState
|
|
3524
|
+
);
|
|
3501
3525
|
const baseRuntime = createDocumentRuntime({
|
|
3502
3526
|
documentId: args.documentId,
|
|
3503
3527
|
initialSessionState: runtimeSessionState,
|
|
@@ -3509,6 +3533,7 @@ function createRuntime(args, handlers = {}) {
|
|
|
3509
3533
|
fatalError: docxSession?.fatalError,
|
|
3510
3534
|
protectionSnapshot: docxSession?.protectionSnapshot,
|
|
3511
3535
|
...args.source.preloadedLaycacheGraph ? { seedLayoutCache: args.source.preloadedLaycacheGraph } : {},
|
|
3536
|
+
...initialSurfaceViewportBlockRanges ? { initialSurfaceViewportBlockRanges } : {},
|
|
3512
3537
|
exportDocx: async (sessionState, options) => {
|
|
3513
3538
|
if (docxSession) {
|
|
3514
3539
|
return docxSession.exportDocx(sessionState, options);
|
|
@@ -3591,6 +3616,18 @@ function createRuntime(args, handlers = {}) {
|
|
|
3591
3616
|
});
|
|
3592
3617
|
return runtime;
|
|
3593
3618
|
}
|
|
3619
|
+
function getMountedInitialSurfaceViewportBlockRanges(sessionState) {
|
|
3620
|
+
const blockCount = sessionState.canonicalDocument.content.children.length;
|
|
3621
|
+
if (!shouldUseMountedSurfaceViewportCulling(blockCount)) {
|
|
3622
|
+
return void 0;
|
|
3623
|
+
}
|
|
3624
|
+
return Object.freeze([
|
|
3625
|
+
Object.freeze({
|
|
3626
|
+
start: 0,
|
|
3627
|
+
end: MOUNTED_SURFACE_VIEWPORT_BLOCK_THRESHOLD
|
|
3628
|
+
})
|
|
3629
|
+
]);
|
|
3630
|
+
}
|
|
3594
3631
|
function createLoadingSnapshot(documentId, readOnly, sourceLabel) {
|
|
3595
3632
|
return {
|
|
3596
3633
|
documentId,
|
package/dist/io/docx-session.cjs
CHANGED
|
@@ -14149,7 +14149,8 @@ function resolveContentType(path, contentTypes) {
|
|
|
14149
14149
|
// src/io/ooxml/parse-bookmark-references.ts
|
|
14150
14150
|
var HYPERLINK_ANCHOR_RE = /<(?:\w+:)?hyperlink\b[^>]*\bw:anchor\s*=\s*"([^"]*)"/gi;
|
|
14151
14151
|
var INSTR_TEXT_RE = /<(?:\w+:)?instrText\b[^>]*>([\s\S]*?)<\/(?:\w+:)?instrText>/gi;
|
|
14152
|
-
var
|
|
14152
|
+
var FLD_SIMPLE_INSTR_DOUBLE_RE = /<(?:\w+:)?fldSimple\b[^>]*?\b(?:w:)?instr\s*=\s*"([^"]*)"/gi;
|
|
14153
|
+
var FLD_SIMPLE_INSTR_SINGLE_RE = /<(?:\w+:)?fldSimple\b[^>]*?\b(?:w:)?instr\s*=\s*'([^']*)'/gi;
|
|
14153
14154
|
var TOC_FIELD_RE = /\bTOC\b/;
|
|
14154
14155
|
var REFLIKE_FIELD_RE = /\b(?:HYPERLINK|REF|PAGEREF|NOTEREF)\s+([A-Za-z0-9_:.\-]+)/g;
|
|
14155
14156
|
var DATA_BINDING_RE = /<(?:\w+:)?dataBinding\b/i;
|
|
@@ -14168,11 +14169,22 @@ function scanBookmarkReferences(documentXml, callerAllowlist = []) {
|
|
|
14168
14169
|
}
|
|
14169
14170
|
INSTR_TEXT_RE.lastIndex = 0;
|
|
14170
14171
|
while ((m = INSTR_TEXT_RE.exec(documentXml)) !== null) {
|
|
14171
|
-
|
|
14172
|
+
const instrText = m[1] ?? "";
|
|
14173
|
+
scanFieldInstruction(instrText, retained, () => {
|
|
14174
|
+
retainAllToc = true;
|
|
14175
|
+
});
|
|
14176
|
+
}
|
|
14177
|
+
FLD_SIMPLE_INSTR_DOUBLE_RE.lastIndex = 0;
|
|
14178
|
+
while ((m = FLD_SIMPLE_INSTR_DOUBLE_RE.exec(documentXml)) !== null) {
|
|
14179
|
+
scanFieldInstruction(decodeXmlAttribute(m[1] ?? ""), retained, () => {
|
|
14180
|
+
retainAllToc = true;
|
|
14181
|
+
});
|
|
14172
14182
|
}
|
|
14173
|
-
|
|
14174
|
-
while ((m =
|
|
14175
|
-
|
|
14183
|
+
FLD_SIMPLE_INSTR_SINGLE_RE.lastIndex = 0;
|
|
14184
|
+
while ((m = FLD_SIMPLE_INSTR_SINGLE_RE.exec(documentXml)) !== null) {
|
|
14185
|
+
scanFieldInstruction(decodeXmlAttribute(m[1] ?? ""), retained, () => {
|
|
14186
|
+
retainAllToc = true;
|
|
14187
|
+
});
|
|
14176
14188
|
}
|
|
14177
14189
|
retainRevisionBoundedBookmarks(documentXml, retained);
|
|
14178
14190
|
return {
|
|
@@ -14181,14 +14193,16 @@ function scanBookmarkReferences(documentXml, callerAllowlist = []) {
|
|
|
14181
14193
|
retainAll
|
|
14182
14194
|
};
|
|
14183
14195
|
}
|
|
14184
|
-
function
|
|
14185
|
-
|
|
14196
|
+
function scanFieldInstruction(instrText, retained, retainToc) {
|
|
14197
|
+
if (TOC_FIELD_RE.test(instrText)) retainToc();
|
|
14186
14198
|
REFLIKE_FIELD_RE.lastIndex = 0;
|
|
14187
14199
|
let r;
|
|
14188
14200
|
while ((r = REFLIKE_FIELD_RE.exec(instrText)) !== null) {
|
|
14189
14201
|
if (r[1]) retained.add(r[1]);
|
|
14190
14202
|
}
|
|
14191
|
-
|
|
14203
|
+
}
|
|
14204
|
+
function decodeXmlAttribute(value) {
|
|
14205
|
+
return value.replace(/"/g, '"').replace(/'/g, "'").replace(/</g, "<").replace(/>/g, ">").replace(/&/g, "&");
|
|
14192
14206
|
}
|
|
14193
14207
|
function retainRevisionBoundedBookmarks(documentXml, retained) {
|
|
14194
14208
|
const starts = /* @__PURE__ */ new Map();
|
|
@@ -14541,18 +14555,23 @@ function parseNumberingXml(xml, context) {
|
|
|
14541
14555
|
const abstractDefinitions = {};
|
|
14542
14556
|
const instances = {};
|
|
14543
14557
|
const numPicBullets = {};
|
|
14558
|
+
const topLevelOrdinals = /* @__PURE__ */ new Map();
|
|
14544
14559
|
for (const child of numberingElement.children) {
|
|
14545
14560
|
if (child.type !== "element") {
|
|
14546
14561
|
continue;
|
|
14547
14562
|
}
|
|
14548
|
-
|
|
14563
|
+
const childName = localName(child.name);
|
|
14564
|
+
const childOrdinal = (topLevelOrdinals.get(childName) ?? 0) + 1;
|
|
14565
|
+
topLevelOrdinals.set(childName, childOrdinal);
|
|
14566
|
+
const childXmlPath = `/numbering[1]/${childName}[${childOrdinal}]`;
|
|
14567
|
+
if (childName === "numPicBullet") {
|
|
14549
14568
|
const rawId = readStringAttr(child, "w:numPicBulletId");
|
|
14550
14569
|
if (rawId) {
|
|
14551
|
-
numPicBullets[rawId] = readNumPicBullet(child, rawId, context);
|
|
14570
|
+
numPicBullets[rawId] = readNumPicBullet(child, rawId, context, childXmlPath);
|
|
14552
14571
|
}
|
|
14553
14572
|
continue;
|
|
14554
14573
|
}
|
|
14555
|
-
switch (
|
|
14574
|
+
switch (childName) {
|
|
14556
14575
|
case "abstractNum": {
|
|
14557
14576
|
const rawId = readStringAttr(child, "w:abstractNumId");
|
|
14558
14577
|
if (!rawId) {
|
|
@@ -14572,7 +14591,7 @@ function parseNumberingXml(xml, context) {
|
|
|
14572
14591
|
const numStyleLink = numStyleLinkEl ? readStringAttr(numStyleLinkEl, "w:val") : void 0;
|
|
14573
14592
|
abstractDefinitions[abstractNumberingId] = {
|
|
14574
14593
|
abstractNumberingId,
|
|
14575
|
-
...context?.partPath !== void 0 ? { sourceRef: createNumberingSourceRef(context.partPath, "abstractNum", rawId) } : {},
|
|
14594
|
+
...context?.partPath !== void 0 ? { sourceRef: createNumberingSourceRef(context.partPath, "abstractNum", rawId, childXmlPath) } : {},
|
|
14576
14595
|
levels: readLevels(child),
|
|
14577
14596
|
...nsid ? { nsid } : {},
|
|
14578
14597
|
...multiLevelType ? { multiLevelType } : {},
|
|
@@ -14592,7 +14611,7 @@ function parseNumberingXml(xml, context) {
|
|
|
14592
14611
|
const numberingInstanceId = toCanonicalNumberingInstanceId(rawId);
|
|
14593
14612
|
instances[numberingInstanceId] = {
|
|
14594
14613
|
numberingInstanceId,
|
|
14595
|
-
...context?.partPath !== void 0 ? { sourceRef: createNumberingSourceRef(context.partPath, "num", rawId) } : {},
|
|
14614
|
+
...context?.partPath !== void 0 ? { sourceRef: createNumberingSourceRef(context.partPath, "num", rawId, childXmlPath) } : {},
|
|
14596
14615
|
abstractNumberingId: toCanonicalAbstractNumberingId(rawAbstractId),
|
|
14597
14616
|
overrides: readOverrides(child)
|
|
14598
14617
|
};
|
|
@@ -14606,15 +14625,16 @@ function parseNumberingXml(xml, context) {
|
|
|
14606
14625
|
...Object.keys(numPicBullets).length > 0 ? { numPicBullets } : {}
|
|
14607
14626
|
};
|
|
14608
14627
|
}
|
|
14609
|
-
function createNumberingSourceRef(partPath, element, rawId) {
|
|
14628
|
+
function createNumberingSourceRef(partPath, element, rawId, xmlPath) {
|
|
14610
14629
|
return {
|
|
14611
14630
|
sourceId: `part:${partPath}#${element}:${rawId}`,
|
|
14612
14631
|
partPath,
|
|
14613
14632
|
storyKind: "numbering",
|
|
14614
|
-
element
|
|
14633
|
+
element,
|
|
14634
|
+
...xmlPath !== void 0 ? { xmlPath } : {}
|
|
14615
14635
|
};
|
|
14616
14636
|
}
|
|
14617
|
-
function readNumPicBullet(node, numPicBulletId, context) {
|
|
14637
|
+
function readNumPicBullet(node, numPicBulletId, context, xmlPath) {
|
|
14618
14638
|
let widthEmu;
|
|
14619
14639
|
let heightEmu;
|
|
14620
14640
|
let mediaId;
|
|
@@ -14677,6 +14697,7 @@ function readNumPicBullet(node, numPicBulletId, context) {
|
|
|
14677
14697
|
}
|
|
14678
14698
|
return {
|
|
14679
14699
|
numPicBulletId,
|
|
14700
|
+
...context?.partPath !== void 0 ? { sourceRef: createNumberingSourceRef(context.partPath, "numPicBullet", numPicBulletId, xmlPath) } : {},
|
|
14680
14701
|
rawXml: serializeXmlElementToString(node),
|
|
14681
14702
|
...widthEmu !== void 0 ? { widthEmu } : {},
|
|
14682
14703
|
...heightEmu !== void 0 ? { heightEmu } : {},
|
|
@@ -18649,7 +18670,11 @@ function parseBodyChild(node, sourceXml, relationshipMap, relationships, mediaPa
|
|
|
18649
18670
|
switch (localName(child.name)) {
|
|
18650
18671
|
case "pPr":
|
|
18651
18672
|
styleId = readParagraphStyleId(child);
|
|
18652
|
-
numbering = readParagraphNumbering(
|
|
18673
|
+
numbering = readParagraphNumbering(
|
|
18674
|
+
child,
|
|
18675
|
+
sourcePartPath,
|
|
18676
|
+
`${sourceXmlPath}/pPr[${countPriorElementSiblingsByName(node, child) + 1}]`
|
|
18677
|
+
);
|
|
18653
18678
|
alignment = readParagraphAlignment(child);
|
|
18654
18679
|
spacing = readParagraphSpacing2(child);
|
|
18655
18680
|
contextualSpacing = readOptionalOnOffParagraphProperty(child, "contextualSpacing");
|
|
@@ -19732,7 +19757,7 @@ function readParagraphStyleId(node) {
|
|
|
19732
19757
|
}
|
|
19733
19758
|
return void 0;
|
|
19734
19759
|
}
|
|
19735
|
-
function readParagraphNumbering(node, sourcePartPath) {
|
|
19760
|
+
function readParagraphNumbering(node, sourcePartPath, sourceXmlPath) {
|
|
19736
19761
|
const numberingProperties = node.children.find(
|
|
19737
19762
|
(child) => child.type === "element" && localName(child.name) === "numPr"
|
|
19738
19763
|
);
|
|
@@ -19752,16 +19777,22 @@ function readParagraphNumbering(node, sourcePartPath) {
|
|
|
19752
19777
|
}
|
|
19753
19778
|
return {
|
|
19754
19779
|
numberingInstanceId: toCanonicalNumberingInstanceId(rawInstanceId),
|
|
19755
|
-
sourceRef: createElementSourceRef(
|
|
19780
|
+
sourceRef: createElementSourceRef(
|
|
19781
|
+
sourcePartPath,
|
|
19782
|
+
"numPr",
|
|
19783
|
+
numberingProperties,
|
|
19784
|
+
sourceXmlPath !== void 0 ? `${sourceXmlPath}/numPr[${countPriorElementSiblingsByName(node, numberingProperties) + 1}]` : void 0
|
|
19785
|
+
),
|
|
19756
19786
|
level: Number.parseInt(rawLevel, 10)
|
|
19757
19787
|
};
|
|
19758
19788
|
}
|
|
19759
|
-
function createElementSourceRef(partPath, element, node) {
|
|
19789
|
+
function createElementSourceRef(partPath, element, node, xmlPath) {
|
|
19760
19790
|
return {
|
|
19761
19791
|
sourceId: `part:${partPath}#${element}:${node.start}`,
|
|
19762
19792
|
partPath,
|
|
19763
19793
|
storyKind: storyKindFromPartPath(partPath),
|
|
19764
19794
|
element,
|
|
19795
|
+
...xmlPath !== void 0 ? { xmlPath } : {},
|
|
19765
19796
|
startOffset: node.start,
|
|
19766
19797
|
endOffset: node.end
|
|
19767
19798
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export { a as LoadDocxEditorSessionAsyncOptions, b as LoadDocxEditorSessionOptions, L as LoadedDocxEditorSession, l as loadDocxEditorSessionAsync } from '../loader-
|
|
2
|
-
import { R as RevisionStoryTargetRecord, O as OpaqueFragmentRecord } from '../canonical-document-
|
|
3
|
-
import { a$ as EditorAnchorProjection } from '../public-types-
|
|
4
|
-
import '../types-
|
|
1
|
+
export { a as LoadDocxEditorSessionAsyncOptions, b as LoadDocxEditorSessionOptions, L as LoadedDocxEditorSession, l as loadDocxEditorSessionAsync } from '../loader-OoWJ1_17.cjs';
|
|
2
|
+
import { R as RevisionStoryTargetRecord, O as OpaqueFragmentRecord } from '../canonical-document-CXCFCbAz.cjs';
|
|
3
|
+
import { a$ as EditorAnchorProjection } from '../public-types-BP3vqJR5.cjs';
|
|
4
|
+
import '../types-Bg7D-GD3.cjs';
|
|
5
5
|
import 'react';
|
|
6
6
|
import 'yjs';
|
|
7
7
|
import 'y-protocols/awareness';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export { a as LoadDocxEditorSessionAsyncOptions, b as LoadDocxEditorSessionOptions, L as LoadedDocxEditorSession, l as loadDocxEditorSessionAsync } from '../loader-
|
|
2
|
-
import { R as RevisionStoryTargetRecord, O as OpaqueFragmentRecord } from '../canonical-document-
|
|
3
|
-
import { a$ as EditorAnchorProjection } from '../public-types-
|
|
4
|
-
import '../types-
|
|
1
|
+
export { a as LoadDocxEditorSessionAsyncOptions, b as LoadDocxEditorSessionOptions, L as LoadedDocxEditorSession, l as loadDocxEditorSessionAsync } from '../loader-CS9-9KFa.js';
|
|
2
|
+
import { R as RevisionStoryTargetRecord, O as OpaqueFragmentRecord } from '../canonical-document-CXCFCbAz.js';
|
|
3
|
+
import { a$ as EditorAnchorProjection } from '../public-types-DdcHqcow.js';
|
|
4
|
+
import '../types-bJAgMq1M.js';
|
|
5
5
|
import 'react';
|
|
6
6
|
import 'yjs';
|
|
7
7
|
import 'y-protocols/awareness';
|
package/dist/io/docx-session.js
CHANGED
|
@@ -2,11 +2,11 @@ import {
|
|
|
2
2
|
loadDocxSessionAsync,
|
|
3
3
|
normalizeImportedCommentThreads,
|
|
4
4
|
stripCommentMarkup
|
|
5
|
-
} from "../chunk-
|
|
6
|
-
import "../chunk-
|
|
7
|
-
import "../chunk-
|
|
5
|
+
} from "../chunk-V6XVZFFH.js";
|
|
6
|
+
import "../chunk-ESJ2MES5.js";
|
|
7
|
+
import "../chunk-4YJVRIUB.js";
|
|
8
8
|
import "../chunk-4BJ6K26R.js";
|
|
9
|
-
import "../chunk-
|
|
9
|
+
import "../chunk-5DGKFNQT.js";
|
|
10
10
|
import "../chunk-OL2UEHRP.js";
|
|
11
11
|
import "../chunk-EB6M3GE6.js";
|
|
12
12
|
import "../chunk-IHE7YOAY.js";
|