@beyondwork/docx-react-component 1.0.127 → 1.0.128
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.d.cts +1 -1
- package/dist/api/public-types.d.ts +1 -1
- package/dist/api/v3.cjs +428 -0
- package/dist/api/v3.d.cts +2 -2
- package/dist/api/v3.d.ts +2 -2
- package/dist/api/v3.js +1 -1
- package/dist/{chunk-PUMZWE2D.js → chunk-6EROGFUF.js} +22 -11
- package/dist/{chunk-46KNRA4C.js → chunk-LCYYR57Q.js} +428 -0
- package/dist/core/commands/formatting-commands.d.cts +1 -1
- package/dist/core/commands/formatting-commands.d.ts +1 -1
- package/dist/core/commands/image-commands.d.cts +1 -1
- package/dist/core/commands/image-commands.d.ts +1 -1
- package/dist/core/commands/section-layout-commands.d.cts +1 -1
- package/dist/core/commands/section-layout-commands.d.ts +1 -1
- package/dist/core/commands/style-commands.d.cts +1 -1
- package/dist/core/commands/style-commands.d.ts +1 -1
- package/dist/core/commands/table-structure-commands.d.cts +1 -1
- package/dist/core/commands/table-structure-commands.d.ts +1 -1
- package/dist/core/commands/text-commands.d.cts +1 -1
- package/dist/core/commands/text-commands.d.ts +1 -1
- package/dist/core/selection/mapping.d.cts +1 -1
- package/dist/core/selection/mapping.d.ts +1 -1
- package/dist/core/state/editor-state.d.cts +1 -1
- package/dist/core/state/editor-state.d.ts +1 -1
- package/dist/index.cjs +462 -13
- package/dist/index.d.cts +4 -4
- package/dist/index.d.ts +4 -4
- package/dist/index.js +14 -4
- package/dist/io/docx-session.d.cts +3 -3
- package/dist/io/docx-session.d.ts +3 -3
- package/dist/{loader-CFICtb9m.d.ts → loader-19ct2Be0.d.ts} +2 -2
- package/dist/{loader-DveZOVuC.d.cts → loader-CoXQ2wGd.d.cts} +2 -2
- package/dist/{public-types-Cgl3efbO.d.ts → public-types-7KZsNGE2.d.ts} +92 -0
- package/dist/{public-types-beSYFJRR.d.cts → public-types-B-CskQen.d.cts} +92 -0
- package/dist/public-types.d.cts +1 -1
- package/dist/public-types.d.ts +1 -1
- package/dist/runtime/collab.d.cts +2 -2
- package/dist/runtime/collab.d.ts +2 -2
- package/dist/runtime/document-runtime.cjs +22 -11
- package/dist/runtime/document-runtime.d.cts +1 -1
- package/dist/runtime/document-runtime.d.ts +1 -1
- package/dist/runtime/document-runtime.js +1 -1
- package/dist/{session-B7u82EJF.d.cts → session-B5015J4v.d.cts} +2 -2
- package/dist/{session-BWMJ9jm4.d.ts → session-C2i8-d6v.d.ts} +2 -2
- package/dist/session.d.cts +4 -4
- package/dist/session.d.ts +4 -4
- package/dist/tailwind.d.cts +1 -1
- package/dist/tailwind.d.ts +1 -1
- package/dist/{types-BQjdVZsh.d.cts → types-DNhN0WeN.d.cts} +1 -1
- package/dist/{types-DvvmS5A7.d.ts → types-yvrQuGX9.d.ts} +1 -1
- package/dist/ui-tailwind/editor-surface/search-plugin.d.cts +2 -2
- package/dist/ui-tailwind/editor-surface/search-plugin.d.ts +2 -2
- package/dist/ui-tailwind.d.cts +2 -2
- package/dist/ui-tailwind.d.ts +2 -2
- package/package.json +1 -1
|
@@ -55094,15 +55094,17 @@ function createDocumentRuntime(options) {
|
|
|
55094
55094
|
...resolution.textTarget ? { textTarget: resolution.textTarget } : {}
|
|
55095
55095
|
};
|
|
55096
55096
|
}
|
|
55097
|
-
function prepareFragmentInsertCommandForExecution(command, document2, surface, storyTarget) {
|
|
55097
|
+
function prepareFragmentInsertCommandForExecution(command, document2, surface, storyTarget, selection) {
|
|
55098
55098
|
if (!command.editableTarget) {
|
|
55099
|
-
return { kind: "accepted", selection
|
|
55099
|
+
return { kind: "accepted", selection };
|
|
55100
55100
|
}
|
|
55101
|
+
const preserveCallerSelection = command.editableTarget.listAddress?.operationScope === "list-text";
|
|
55101
55102
|
const resolution = resolveEditableTextTarget({
|
|
55102
55103
|
document: document2,
|
|
55103
55104
|
surface,
|
|
55104
55105
|
target: command.editableTarget,
|
|
55105
55106
|
activeStoryKey: canonicalEditableTargetStoryKey(storyTarget),
|
|
55107
|
+
...preserveCallerSelection ? { selection } : {},
|
|
55106
55108
|
editableTargetCache: editableTargetBlockCache
|
|
55107
55109
|
});
|
|
55108
55110
|
if (resolution.kind === "rejected") {
|
|
@@ -55120,7 +55122,7 @@ function createDocumentRuntime(options) {
|
|
|
55120
55122
|
}
|
|
55121
55123
|
return {
|
|
55122
55124
|
kind: "accepted",
|
|
55123
|
-
selection: createSelectionSnapshot(resolution.range.from, resolution.range.to),
|
|
55125
|
+
selection: preserveCallerSelection ? selection : createSelectionSnapshot(resolution.range.from, resolution.range.to),
|
|
55124
55126
|
...resolution.textTarget ? { textTarget: resolution.textTarget } : {}
|
|
55125
55127
|
};
|
|
55126
55128
|
}
|
|
@@ -55292,7 +55294,8 @@ function createDocumentRuntime(options) {
|
|
|
55292
55294
|
command,
|
|
55293
55295
|
state.document,
|
|
55294
55296
|
cachedRenderSnapshot.surface?.blocks ?? [],
|
|
55295
|
-
activeStory
|
|
55297
|
+
activeStory,
|
|
55298
|
+
commandSelection
|
|
55296
55299
|
);
|
|
55297
55300
|
if (prepared.kind === "rejected") {
|
|
55298
55301
|
return;
|
|
@@ -55455,7 +55458,8 @@ function createDocumentRuntime(options) {
|
|
|
55455
55458
|
command,
|
|
55456
55459
|
replayState.document,
|
|
55457
55460
|
replaySnapshot.surface?.blocks ?? [],
|
|
55458
|
-
replayStory
|
|
55461
|
+
replayStory,
|
|
55462
|
+
replayState.selection
|
|
55459
55463
|
);
|
|
55460
55464
|
if (prepared.kind === "rejected") {
|
|
55461
55465
|
return;
|
|
@@ -55598,7 +55602,8 @@ function createDocumentRuntime(options) {
|
|
|
55598
55602
|
command,
|
|
55599
55603
|
stateForCommand.document,
|
|
55600
55604
|
snapshotForCommand.surface?.blocks ?? [],
|
|
55601
|
-
replayStory
|
|
55605
|
+
replayStory,
|
|
55606
|
+
stateForCommand.selection
|
|
55602
55607
|
);
|
|
55603
55608
|
if (prepared.kind === "rejected") {
|
|
55604
55609
|
continue;
|
|
@@ -56162,7 +56167,7 @@ function createDocumentRuntime(options) {
|
|
|
56162
56167
|
try {
|
|
56163
56168
|
const timestamp = clock();
|
|
56164
56169
|
const selection = target ? createSelectionFromPublicAnchor(target) : state.selection;
|
|
56165
|
-
const editableTarget = editContext?.editableTarget &&
|
|
56170
|
+
const editableTarget = editContext?.editableTarget && isFragmentInsertEditableTarget(editContext.editableTarget) ? editContext.editableTarget : inferEditableTargetForFragmentInsert(
|
|
56166
56171
|
cachedRenderSnapshot.surface?.blocks ?? [],
|
|
56167
56172
|
selection
|
|
56168
56173
|
);
|
|
@@ -57980,7 +57985,7 @@ function createDocumentRuntime(options) {
|
|
|
57980
57985
|
editableTargetCache: editableTargetBlockCache,
|
|
57981
57986
|
activeStorySize: cachedRenderSnapshot.surface?.storySize,
|
|
57982
57987
|
textTarget,
|
|
57983
|
-
preserveNumberingOnSplit: commandForDispatch.type === "paragraph.split" && targetResolution?.kind === "accepted" && editableTarget?.listAddress?.operationScope === "list-text",
|
|
57988
|
+
preserveNumberingOnSplit: (commandForDispatch.type === "paragraph.split" || commandForDispatch.type === "fragment.insert") && targetResolution?.kind === "accepted" && editableTarget?.listAddress?.operationScope === "list-text",
|
|
57984
57989
|
rejectTargetlessTableStructureInsert: true
|
|
57985
57990
|
};
|
|
57986
57991
|
const baseState = selection === state.selection ? state : {
|
|
@@ -58802,7 +58807,7 @@ function canonicalEditableTargetStoryKey(storyTarget) {
|
|
|
58802
58807
|
function inferEditableTargetForFragmentInsert(blocks, selection) {
|
|
58803
58808
|
const position = Math.min(selection.anchor, selection.head);
|
|
58804
58809
|
const target = findEditableTargetAtSurfacePosition(blocks, position);
|
|
58805
|
-
return target &&
|
|
58810
|
+
return target && isFragmentInsertEditableTarget(target) ? target : void 0;
|
|
58806
58811
|
}
|
|
58807
58812
|
function findEditableTargetAtSurfacePosition(blocks, position) {
|
|
58808
58813
|
for (const block of blocks) {
|
|
@@ -58831,8 +58836,14 @@ function findEditableTargetInSurfaceCell(cell, position) {
|
|
|
58831
58836
|
}
|
|
58832
58837
|
return findEditableTargetAtSurfacePosition(cell.content, position);
|
|
58833
58838
|
}
|
|
58834
|
-
function
|
|
58835
|
-
|
|
58839
|
+
function isFragmentInsertEditableTarget(target) {
|
|
58840
|
+
if (target.editability !== "editable" || target.posture.blockers.length > 0 || target.commandFamily !== "text-leaf") {
|
|
58841
|
+
return false;
|
|
58842
|
+
}
|
|
58843
|
+
if (target.listAddress?.operationScope === "list-text") {
|
|
58844
|
+
return true;
|
|
58845
|
+
}
|
|
58846
|
+
return target.kind === "table-cell-paragraph-text" || target.kind === "nested-table-cell-paragraph-text" || target.kind === "sdt-table-cell-paragraph-text";
|
|
58836
58847
|
}
|
|
58837
58848
|
function extractSelectionFragment(document2, selection, activeStory) {
|
|
58838
58849
|
const from = Math.min(selection.anchor, selection.head);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { gz as ActiveStoryTextCommand, gA as CommandAppliedMeta, gB as CreateDocumentRuntimeOptions, gC as DocumentRuntime, gD as DocumentRuntimeEvent, gE as RemoteCommandEnvelope, gF as Unsubscribe, gG as __buildTocInlineNodes, gH as __collectFontLoaderInputUncached, gI as __fontFamiliesEqual, gJ as createDocumentRuntime, gK as getThemeColorResolver } from '../public-types-
|
|
1
|
+
export { gz as ActiveStoryTextCommand, gA as CommandAppliedMeta, gB as CreateDocumentRuntimeOptions, gC as DocumentRuntime, gD as DocumentRuntimeEvent, gE as RemoteCommandEnvelope, gF as Unsubscribe, gG as __buildTocInlineNodes, gH as __collectFontLoaderInputUncached, gI as __fontFamiliesEqual, gJ as createDocumentRuntime, gK as getThemeColorResolver } from '../public-types-B-CskQen.cjs';
|
|
2
2
|
import '../canonical-document-CXCFCbAz.cjs';
|
|
3
3
|
import 'react';
|
|
4
4
|
import 'yjs';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { gz as ActiveStoryTextCommand, gA as CommandAppliedMeta, gB as CreateDocumentRuntimeOptions, gC as DocumentRuntime, gD as DocumentRuntimeEvent, gE as RemoteCommandEnvelope, gF as Unsubscribe, gG as __buildTocInlineNodes, gH as __collectFontLoaderInputUncached, gI as __fontFamiliesEqual, gJ as createDocumentRuntime, gK as getThemeColorResolver } from '../public-types-
|
|
1
|
+
export { gz as ActiveStoryTextCommand, gA as CommandAppliedMeta, gB as CreateDocumentRuntimeOptions, gC as DocumentRuntime, gD as DocumentRuntimeEvent, gE as RemoteCommandEnvelope, gF as Unsubscribe, gG as __buildTocInlineNodes, gH as __collectFontLoaderInputUncached, gI as __fontFamiliesEqual, gJ as createDocumentRuntime, gK as getThemeColorResolver } from '../public-types-7KZsNGE2.js';
|
|
2
2
|
import '../canonical-document-CXCFCbAz.js';
|
|
3
3
|
import 'react';
|
|
4
4
|
import 'yjs';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { C as CanonicalDocument } from './canonical-document-CXCFCbAz.cjs';
|
|
2
|
-
import { a as EditorSessionState, c as ExportResult, P as PersistedEditorSnapshot } from './public-types-
|
|
3
|
-
import { O as OpenOptions, b as OpenResult, a as ExportOptions, R as ReopenBarrier, V as ValidateOptions, d as ValidationReport } from './types-
|
|
2
|
+
import { a as EditorSessionState, c as ExportResult, P as PersistedEditorSnapshot } from './public-types-B-CskQen.cjs';
|
|
3
|
+
import { O as OpenOptions, b as OpenResult, a as ExportOptions, R as ReopenBarrier, V as ValidateOptions, d as ValidationReport } from './types-DNhN0WeN.cjs';
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
6
|
* `DocxSession` — the Layer-01 package/session public entry class.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { C as CanonicalDocument } from './canonical-document-CXCFCbAz.js';
|
|
2
|
-
import { a as EditorSessionState, c as ExportResult, P as PersistedEditorSnapshot } from './public-types-
|
|
3
|
-
import { O as OpenOptions, b as OpenResult, a as ExportOptions, R as ReopenBarrier, V as ValidateOptions, d as ValidationReport } from './types-
|
|
2
|
+
import { a as EditorSessionState, c as ExportResult, P as PersistedEditorSnapshot } from './public-types-7KZsNGE2.js';
|
|
3
|
+
import { O as OpenOptions, b as OpenResult, a as ExportOptions, R as ReopenBarrier, V as ValidateOptions, d as ValidationReport } from './types-yvrQuGX9.js';
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
6
|
* `DocxSession` — the Layer-01 package/session public entry class.
|
package/dist/session.d.cts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export { D as DocxSession, S as SessionNotOpenError, a as SessionNotWiredError } from './session-
|
|
2
|
-
export { L as LoadedDocxEditorSession, l as loadDocxSessionAsync } from './loader-
|
|
3
|
-
export { E as EmbeddedDocumentManifest, a as ExportOptions, O as OpenOptions, b as OpenResult, P as PreservationSnapshot, R as ReopenBarrier, V as ValidateOptions, c as ValidationFinding, d as ValidationReport, i as isReopenBarrier } from './types-
|
|
4
|
-
export { E as EditorHostAdapter, a as EditorSessionState, b as ExportDocxOptions, c as ExportResult, L as LoadStage, P as PersistedEditorSnapshot } from './public-types-
|
|
1
|
+
export { D as DocxSession, S as SessionNotOpenError, a as SessionNotWiredError } from './session-B5015J4v.cjs';
|
|
2
|
+
export { L as LoadedDocxEditorSession, l as loadDocxSessionAsync } from './loader-CoXQ2wGd.cjs';
|
|
3
|
+
export { E as EmbeddedDocumentManifest, a as ExportOptions, O as OpenOptions, b as OpenResult, P as PreservationSnapshot, R as ReopenBarrier, V as ValidateOptions, c as ValidationFinding, d as ValidationReport, i as isReopenBarrier } from './types-DNhN0WeN.cjs';
|
|
4
|
+
export { E as EditorHostAdapter, a as EditorSessionState, b as ExportDocxOptions, c as ExportResult, L as LoadStage, P as PersistedEditorSnapshot } from './public-types-B-CskQen.cjs';
|
|
5
5
|
import './canonical-document-CXCFCbAz.cjs';
|
|
6
6
|
import 'react';
|
|
7
7
|
import 'yjs';
|
package/dist/session.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export { D as DocxSession, S as SessionNotOpenError, a as SessionNotWiredError } from './session-
|
|
2
|
-
export { L as LoadedDocxEditorSession, l as loadDocxSessionAsync } from './loader-
|
|
3
|
-
export { E as EmbeddedDocumentManifest, a as ExportOptions, O as OpenOptions, b as OpenResult, P as PreservationSnapshot, R as ReopenBarrier, V as ValidateOptions, c as ValidationFinding, d as ValidationReport, i as isReopenBarrier } from './types-
|
|
4
|
-
export { E as EditorHostAdapter, a as EditorSessionState, b as ExportDocxOptions, c as ExportResult, L as LoadStage, P as PersistedEditorSnapshot } from './public-types-
|
|
1
|
+
export { D as DocxSession, S as SessionNotOpenError, a as SessionNotWiredError } from './session-C2i8-d6v.js';
|
|
2
|
+
export { L as LoadedDocxEditorSession, l as loadDocxSessionAsync } from './loader-19ct2Be0.js';
|
|
3
|
+
export { E as EmbeddedDocumentManifest, a as ExportOptions, O as OpenOptions, b as OpenResult, P as PreservationSnapshot, R as ReopenBarrier, V as ValidateOptions, c as ValidationFinding, d as ValidationReport, i as isReopenBarrier } from './types-yvrQuGX9.js';
|
|
4
|
+
export { E as EditorHostAdapter, a as EditorSessionState, b as ExportDocxOptions, c as ExportResult, L as LoadStage, P as PersistedEditorSnapshot } from './public-types-7KZsNGE2.js';
|
|
5
5
|
import './canonical-document-CXCFCbAz.js';
|
|
6
6
|
import 'react';
|
|
7
7
|
import 'yjs';
|
package/dist/tailwind.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export { BreakpointMap, CollabAudienceChip, CollabAudienceChipProps, CollabNegotiationActionBar, CollabNegotiationActionBarProps, CollabPresenceStrip, CollabPresenceStripProps, CollabRoleChip, CollabRoleChipProps, CollabSendToSupplierButton, CollabSendToSupplierButtonProps, CollabSendToSupplierModal, CollabSendToSupplierModalProps, CollabSendToSupplierSubmitArgs, CollabTamperBanner, CollabTamperBannerProps, CommandPaletteGroup, CommandPaletteItem, CommentDecorationModel, CommentMarkdownRenderer, CommentMarkdownRendererProps, EditorKeyboardCallbacks, EditorKeyboardContext, MarkupDisplay, RailCardAvatar, RailCardCounter, RailCardProgress, RailCardTone, ReviewRailTab, RevisionDecorationModel, ShellHeaderIconAction, ShellHeaderMode, ShellHeaderModeOption, ShellHeaderPrimaryAction, TwAlertBanner, TwChromeOverlay, TwChromeOverlayProps, TwCommandPalette, TwCommandPaletteMount, TwCommandPaletteMountProps, TwCommandPaletteProps, TwCommentSidebar, TwCommentSidebarProps, TwEditorSurface, TwEditorSurfaceProps, TwHealthPanel, TwInlineToken, TwOpaqueBlock, TwParagraphBlock, TwPasteDropToast, TwPasteDropToastProps, TwRailCard, TwRailCardProps, TwReviewRail, TwReviewRailFooter, TwReviewRailFooterProps, TwReviewRailProps, TwReviewWorkspace, TwReviewWorkspaceProps, TwRevisionSidebar, TwScopeRailLayer, TwScopeRailLayerProps, TwSegmentView, TwSelectionToolbar, TwShellHeader, TwShellHeaderProps, TwStatusBar, TwToolbar, TwToolbarIconButton, TwToolbarProps, TwWorkflowTab, TwWorkflowTabProps, createCommentDecorationModel, createEditorKeyboardHandler, createRevisionDecorationModel, createSelectionSnapshot, getCommentHighlightClass, getCommentRangeState, getRevisionHighlightClass, getRevisionRangeState, isCommandPaletteOpenShortcut, renderTwCaret, resolveBreakpoint, selectionTouchesRange, shouldHideInCleanMode, useContainerBreakpoint } from './ui-tailwind.cjs';
|
|
2
|
-
export { e_ as SessionCapabilities, eI as WorkspaceMode, eJ as ZoomLevel, fh as deriveCapabilities } from './public-types-
|
|
2
|
+
export { e_ as SessionCapabilities, eI as WorkspaceMode, eJ as ZoomLevel, fh as deriveCapabilities } from './public-types-B-CskQen.cjs';
|
|
3
3
|
import 'react/jsx-runtime';
|
|
4
4
|
import 'react';
|
|
5
5
|
import 'yjs';
|
package/dist/tailwind.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export { BreakpointMap, CollabAudienceChip, CollabAudienceChipProps, CollabNegotiationActionBar, CollabNegotiationActionBarProps, CollabPresenceStrip, CollabPresenceStripProps, CollabRoleChip, CollabRoleChipProps, CollabSendToSupplierButton, CollabSendToSupplierButtonProps, CollabSendToSupplierModal, CollabSendToSupplierModalProps, CollabSendToSupplierSubmitArgs, CollabTamperBanner, CollabTamperBannerProps, CommandPaletteGroup, CommandPaletteItem, CommentDecorationModel, CommentMarkdownRenderer, CommentMarkdownRendererProps, EditorKeyboardCallbacks, EditorKeyboardContext, MarkupDisplay, RailCardAvatar, RailCardCounter, RailCardProgress, RailCardTone, ReviewRailTab, RevisionDecorationModel, ShellHeaderIconAction, ShellHeaderMode, ShellHeaderModeOption, ShellHeaderPrimaryAction, TwAlertBanner, TwChromeOverlay, TwChromeOverlayProps, TwCommandPalette, TwCommandPaletteMount, TwCommandPaletteMountProps, TwCommandPaletteProps, TwCommentSidebar, TwCommentSidebarProps, TwEditorSurface, TwEditorSurfaceProps, TwHealthPanel, TwInlineToken, TwOpaqueBlock, TwParagraphBlock, TwPasteDropToast, TwPasteDropToastProps, TwRailCard, TwRailCardProps, TwReviewRail, TwReviewRailFooter, TwReviewRailFooterProps, TwReviewRailProps, TwReviewWorkspace, TwReviewWorkspaceProps, TwRevisionSidebar, TwScopeRailLayer, TwScopeRailLayerProps, TwSegmentView, TwSelectionToolbar, TwShellHeader, TwShellHeaderProps, TwStatusBar, TwToolbar, TwToolbarIconButton, TwToolbarProps, TwWorkflowTab, TwWorkflowTabProps, createCommentDecorationModel, createEditorKeyboardHandler, createRevisionDecorationModel, createSelectionSnapshot, getCommentHighlightClass, getCommentRangeState, getRevisionHighlightClass, getRevisionRangeState, isCommandPaletteOpenShortcut, renderTwCaret, resolveBreakpoint, selectionTouchesRange, shouldHideInCleanMode, useContainerBreakpoint } from './ui-tailwind.js';
|
|
2
|
-
export { e_ as SessionCapabilities, eI as WorkspaceMode, eJ as ZoomLevel, fh as deriveCapabilities } from './public-types-
|
|
2
|
+
export { e_ as SessionCapabilities, eI as WorkspaceMode, eJ as ZoomLevel, fh as deriveCapabilities } from './public-types-7KZsNGE2.js';
|
|
3
3
|
import 'react/jsx-runtime';
|
|
4
4
|
import 'react';
|
|
5
5
|
import 'yjs';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { C as CanonicalDocument, D as DocumentRootNode, d as PreservationStore } from './canonical-document-CXCFCbAz.cjs';
|
|
2
|
-
import { E as EditorHostAdapter, L as LoadStage, o as EditorSurfaceSnapshot, p as LoadSchedulerBackend, a as EditorSessionState, q as CompatibilityReport, r as EditorError, t as ProtectionSnapshot, P as PersistedEditorSnapshot, b as ExportDocxOptions, c as ExportResult } from './public-types-
|
|
2
|
+
import { E as EditorHostAdapter, L as LoadStage, o as EditorSurfaceSnapshot, p as LoadSchedulerBackend, a as EditorSessionState, q as CompatibilityReport, r as EditorError, t as ProtectionSnapshot, P as PersistedEditorSnapshot, b as ExportDocxOptions, c as ExportResult } from './public-types-B-CskQen.cjs';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* Embedded-object classifier (hotfix/ole-digestibility-guard).
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { C as CanonicalDocument, D as DocumentRootNode, d as PreservationStore } from './canonical-document-CXCFCbAz.js';
|
|
2
|
-
import { E as EditorHostAdapter, L as LoadStage, o as EditorSurfaceSnapshot, p as LoadSchedulerBackend, a as EditorSessionState, q as CompatibilityReport, r as EditorError, t as ProtectionSnapshot, P as PersistedEditorSnapshot, b as ExportDocxOptions, c as ExportResult } from './public-types-
|
|
2
|
+
import { E as EditorHostAdapter, L as LoadStage, o as EditorSurfaceSnapshot, p as LoadSchedulerBackend, a as EditorSessionState, q as CompatibilityReport, r as EditorError, t as ProtectionSnapshot, P as PersistedEditorSnapshot, b as ExportDocxOptions, c as ExportResult } from './public-types-7KZsNGE2.js';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* Embedded-object classifier (hotfix/ole-digestibility-guard).
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { EditorState, Transaction, Plugin, PluginKey } from 'prosemirror-state';
|
|
2
|
-
import { j as SearchOptions$1, k as SearchTextOptions } from '../../public-types-
|
|
3
|
-
export { l as SecondaryStorySearchResult, m as createSearchExcerpt, n as findSearchMatches, s as searchSecondaryStories } from '../../public-types-
|
|
2
|
+
import { j as SearchOptions$1, k as SearchTextOptions } from '../../public-types-B-CskQen.cjs';
|
|
3
|
+
export { l as SecondaryStorySearchResult, m as createSearchExcerpt, n as findSearchMatches, s as searchSecondaryStories } from '../../public-types-B-CskQen.cjs';
|
|
4
4
|
import 'react';
|
|
5
5
|
import 'yjs';
|
|
6
6
|
import 'y-protocols/awareness';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { EditorState, Transaction, Plugin, PluginKey } from 'prosemirror-state';
|
|
2
|
-
import { j as SearchOptions$1, k as SearchTextOptions } from '../../public-types-
|
|
3
|
-
export { l as SecondaryStorySearchResult, m as createSearchExcerpt, n as findSearchMatches, s as searchSecondaryStories } from '../../public-types-
|
|
2
|
+
import { j as SearchOptions$1, k as SearchTextOptions } from '../../public-types-7KZsNGE2.js';
|
|
3
|
+
export { l as SecondaryStorySearchResult, m as createSearchExcerpt, n as findSearchMatches, s as searchSecondaryStories } from '../../public-types-7KZsNGE2.js';
|
|
4
4
|
import 'react';
|
|
5
5
|
import 'yjs';
|
|
6
6
|
import 'y-protocols/awareness';
|
package/dist/ui-tailwind.d.cts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
-
import { b$ as CommentSidebarSnapshot, ed as TrackedChangeEntrySnapshot, ee as TrackedChangesSnapshot, c4 as CompatibilityPanelSnapshot, cB as EditorWarning, dn as RuntimeContextAnalyticsSnapshot, eV as ScopeRailSegment, ek as WorkflowBlockedCommandReason, c1 as CommentSidebarThreadSnapshot, eI as WorkspaceMode, eJ as ZoomLevel, eW as ChromePinSurface, eX as PinState, eY as FormattingAlignment, I as InsertTableOptions, dG as SectionBreakType, eZ as InsertImageOptions, dH as SectionLayoutPatch, dI as SectionPageNumberingPatch, cF as HeaderFooterLinkPatch, cx as EditorStoryTarget, R as RuntimeRenderSnapshot, cA as EditorViewStateSnapshot, e_ as SessionCapabilities, e$ as WordReviewEditorLayoutFacet, f0 as GeometryFacet, f1 as WorkflowFacet, f2 as EditorActionHostCallbacks, f3 as TwWorkspaceChromeHostController, f4 as FormattingStateSnapshot, bf as ActiveListContext, dT as StyleCatalogSnapshot, eG as WorkflowScopeSnapshot, cL as InteractionGuardSnapshot, eh as WordReviewEditorChromePreset, eg as WordReviewEditorChromeOptions, bF as CollabSession, b7 as TransportStatus, de as ReviewQueueSnapshot, f5 as UiObjectDragStartInput, f6 as UiObjectDragSession, f7 as ActiveSelectionToolModel, cd as DocumentNavigationSnapshot, f8 as TableStructureContextSnapshot, ei as WordReviewEditorChromeVisibility, f9 as EditorRole, eF as WorkflowScopeMode, dB as ScopeIssueAction, ck as EditorAnchorProjection, cz as EditorUser, h as SelectionSnapshot, dX as SurfaceBlockSnapshot, dY as SurfaceInlineSegment, bZ as CommentPresentationSnapshot, bO as CommentBody, bQ as CommentMention, bM as CommentAttachment, fa as ToolbarChromeItemId, fb as ToolbarChromePlacement, dJ as SelectionToolKind, fc as ScopeRailPosture, fd as ChromePinsState, fe as PublicMeasurementFidelity, ff as FormattingInlineSelectionToolModel, b9 as PresenceSnapshot, b8 as CollabPosture, bN as CommentAudience, cU as MetadataIntegrity, bT as CommentNegotiationEntry, c_ as NegotiationRole, bR as CommentNegotiationAction, d0 as PageLayoutSnapshot, fg as EditableTargetRef } from './public-types-
|
|
3
|
-
export { fh as deriveCapabilities } from './public-types-
|
|
2
|
+
import { b$ as CommentSidebarSnapshot, ed as TrackedChangeEntrySnapshot, ee as TrackedChangesSnapshot, c4 as CompatibilityPanelSnapshot, cB as EditorWarning, dn as RuntimeContextAnalyticsSnapshot, eV as ScopeRailSegment, ek as WorkflowBlockedCommandReason, c1 as CommentSidebarThreadSnapshot, eI as WorkspaceMode, eJ as ZoomLevel, eW as ChromePinSurface, eX as PinState, eY as FormattingAlignment, I as InsertTableOptions, dG as SectionBreakType, eZ as InsertImageOptions, dH as SectionLayoutPatch, dI as SectionPageNumberingPatch, cF as HeaderFooterLinkPatch, cx as EditorStoryTarget, R as RuntimeRenderSnapshot, cA as EditorViewStateSnapshot, e_ as SessionCapabilities, e$ as WordReviewEditorLayoutFacet, f0 as GeometryFacet, f1 as WorkflowFacet, f2 as EditorActionHostCallbacks, f3 as TwWorkspaceChromeHostController, f4 as FormattingStateSnapshot, bf as ActiveListContext, dT as StyleCatalogSnapshot, eG as WorkflowScopeSnapshot, cL as InteractionGuardSnapshot, eh as WordReviewEditorChromePreset, eg as WordReviewEditorChromeOptions, bF as CollabSession, b7 as TransportStatus, de as ReviewQueueSnapshot, f5 as UiObjectDragStartInput, f6 as UiObjectDragSession, f7 as ActiveSelectionToolModel, cd as DocumentNavigationSnapshot, f8 as TableStructureContextSnapshot, ei as WordReviewEditorChromeVisibility, f9 as EditorRole, eF as WorkflowScopeMode, dB as ScopeIssueAction, ck as EditorAnchorProjection, cz as EditorUser, h as SelectionSnapshot, dX as SurfaceBlockSnapshot, dY as SurfaceInlineSegment, bZ as CommentPresentationSnapshot, bO as CommentBody, bQ as CommentMention, bM as CommentAttachment, fa as ToolbarChromeItemId, fb as ToolbarChromePlacement, dJ as SelectionToolKind, fc as ScopeRailPosture, fd as ChromePinsState, fe as PublicMeasurementFidelity, ff as FormattingInlineSelectionToolModel, b9 as PresenceSnapshot, b8 as CollabPosture, bN as CommentAudience, cU as MetadataIntegrity, bT as CommentNegotiationEntry, c_ as NegotiationRole, bR as CommentNegotiationAction, d0 as PageLayoutSnapshot, fg as EditableTargetRef } from './public-types-B-CskQen.cjs';
|
|
3
|
+
export { fh as deriveCapabilities } from './public-types-B-CskQen.cjs';
|
|
4
4
|
import * as React$1 from 'react';
|
|
5
5
|
import React__default, { ReactNode, FocusEventHandler, Ref, KeyboardEvent as KeyboardEvent$1 } from 'react';
|
|
6
6
|
import 'yjs';
|
package/dist/ui-tailwind.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
-
import { b$ as CommentSidebarSnapshot, ed as TrackedChangeEntrySnapshot, ee as TrackedChangesSnapshot, c4 as CompatibilityPanelSnapshot, cB as EditorWarning, dn as RuntimeContextAnalyticsSnapshot, eV as ScopeRailSegment, ek as WorkflowBlockedCommandReason, c1 as CommentSidebarThreadSnapshot, eI as WorkspaceMode, eJ as ZoomLevel, eW as ChromePinSurface, eX as PinState, eY as FormattingAlignment, I as InsertTableOptions, dG as SectionBreakType, eZ as InsertImageOptions, dH as SectionLayoutPatch, dI as SectionPageNumberingPatch, cF as HeaderFooterLinkPatch, cx as EditorStoryTarget, R as RuntimeRenderSnapshot, cA as EditorViewStateSnapshot, e_ as SessionCapabilities, e$ as WordReviewEditorLayoutFacet, f0 as GeometryFacet, f1 as WorkflowFacet, f2 as EditorActionHostCallbacks, f3 as TwWorkspaceChromeHostController, f4 as FormattingStateSnapshot, bf as ActiveListContext, dT as StyleCatalogSnapshot, eG as WorkflowScopeSnapshot, cL as InteractionGuardSnapshot, eh as WordReviewEditorChromePreset, eg as WordReviewEditorChromeOptions, bF as CollabSession, b7 as TransportStatus, de as ReviewQueueSnapshot, f5 as UiObjectDragStartInput, f6 as UiObjectDragSession, f7 as ActiveSelectionToolModel, cd as DocumentNavigationSnapshot, f8 as TableStructureContextSnapshot, ei as WordReviewEditorChromeVisibility, f9 as EditorRole, eF as WorkflowScopeMode, dB as ScopeIssueAction, ck as EditorAnchorProjection, cz as EditorUser, h as SelectionSnapshot, dX as SurfaceBlockSnapshot, dY as SurfaceInlineSegment, bZ as CommentPresentationSnapshot, bO as CommentBody, bQ as CommentMention, bM as CommentAttachment, fa as ToolbarChromeItemId, fb as ToolbarChromePlacement, dJ as SelectionToolKind, fc as ScopeRailPosture, fd as ChromePinsState, fe as PublicMeasurementFidelity, ff as FormattingInlineSelectionToolModel, b9 as PresenceSnapshot, b8 as CollabPosture, bN as CommentAudience, cU as MetadataIntegrity, bT as CommentNegotiationEntry, c_ as NegotiationRole, bR as CommentNegotiationAction, d0 as PageLayoutSnapshot, fg as EditableTargetRef } from './public-types-
|
|
3
|
-
export { fh as deriveCapabilities } from './public-types-
|
|
2
|
+
import { b$ as CommentSidebarSnapshot, ed as TrackedChangeEntrySnapshot, ee as TrackedChangesSnapshot, c4 as CompatibilityPanelSnapshot, cB as EditorWarning, dn as RuntimeContextAnalyticsSnapshot, eV as ScopeRailSegment, ek as WorkflowBlockedCommandReason, c1 as CommentSidebarThreadSnapshot, eI as WorkspaceMode, eJ as ZoomLevel, eW as ChromePinSurface, eX as PinState, eY as FormattingAlignment, I as InsertTableOptions, dG as SectionBreakType, eZ as InsertImageOptions, dH as SectionLayoutPatch, dI as SectionPageNumberingPatch, cF as HeaderFooterLinkPatch, cx as EditorStoryTarget, R as RuntimeRenderSnapshot, cA as EditorViewStateSnapshot, e_ as SessionCapabilities, e$ as WordReviewEditorLayoutFacet, f0 as GeometryFacet, f1 as WorkflowFacet, f2 as EditorActionHostCallbacks, f3 as TwWorkspaceChromeHostController, f4 as FormattingStateSnapshot, bf as ActiveListContext, dT as StyleCatalogSnapshot, eG as WorkflowScopeSnapshot, cL as InteractionGuardSnapshot, eh as WordReviewEditorChromePreset, eg as WordReviewEditorChromeOptions, bF as CollabSession, b7 as TransportStatus, de as ReviewQueueSnapshot, f5 as UiObjectDragStartInput, f6 as UiObjectDragSession, f7 as ActiveSelectionToolModel, cd as DocumentNavigationSnapshot, f8 as TableStructureContextSnapshot, ei as WordReviewEditorChromeVisibility, f9 as EditorRole, eF as WorkflowScopeMode, dB as ScopeIssueAction, ck as EditorAnchorProjection, cz as EditorUser, h as SelectionSnapshot, dX as SurfaceBlockSnapshot, dY as SurfaceInlineSegment, bZ as CommentPresentationSnapshot, bO as CommentBody, bQ as CommentMention, bM as CommentAttachment, fa as ToolbarChromeItemId, fb as ToolbarChromePlacement, dJ as SelectionToolKind, fc as ScopeRailPosture, fd as ChromePinsState, fe as PublicMeasurementFidelity, ff as FormattingInlineSelectionToolModel, b9 as PresenceSnapshot, b8 as CollabPosture, bN as CommentAudience, cU as MetadataIntegrity, bT as CommentNegotiationEntry, c_ as NegotiationRole, bR as CommentNegotiationAction, d0 as PageLayoutSnapshot, fg as EditableTargetRef } from './public-types-7KZsNGE2.js';
|
|
3
|
+
export { fh as deriveCapabilities } from './public-types-7KZsNGE2.js';
|
|
4
4
|
import * as React$1 from 'react';
|
|
5
5
|
import React__default, { ReactNode, FocusEventHandler, Ref, KeyboardEvent as KeyboardEvent$1 } from 'react';
|
|
6
6
|
import 'yjs';
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@beyondwork/docx-react-component",
|
|
3
3
|
"publisher": "beyondwork",
|
|
4
|
-
"version": "1.0.
|
|
4
|
+
"version": "1.0.128",
|
|
5
5
|
"description": "Embeddable React Word (docx) editor with review, comments, tracked changes, and round-trip OOXML fidelity.",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"sideEffects": [
|