@docx-editor.dev/core 2.1.1 → 2.1.2
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/binding.d.cts +3 -3
- package/dist/binding.d.ts +3 -3
- package/dist/{chunk-RKNH4ZFT.js → chunk-3HEU7MHP.js} +5 -5
- package/dist/{chunk-F2VQQW5R.cjs → chunk-EDLUMMQN.cjs} +5 -5
- package/dist/contracts/editor.d.cts +2 -2
- package/dist/contracts/editor.d.ts +2 -2
- package/dist/contracts/interaction.d.cts +2 -2
- package/dist/contracts/interaction.d.ts +2 -2
- package/dist/contracts/modules.d.cts +2 -2
- package/dist/contracts/modules.d.ts +2 -2
- package/dist/{editor-B93PggnR.d.cts → editor-BGBZn9c9.d.cts} +43 -4
- package/dist/{editor-CFsSrxGR.d.ts → editor-DQRRxKMG.d.ts} +43 -4
- package/dist/editor.cjs +1 -1
- package/dist/editor.css +146 -119
- package/dist/editor.d.cts +6 -6
- package/dist/editor.d.ts +6 -6
- package/dist/editor.js +1 -1
- package/dist/{index-DTbKoFJL.d.ts → index-BzqHsd4Y.d.ts} +3 -3
- package/dist/{index-DQhDm4o0.d.cts → index-DptRpcqa.d.cts} +3 -3
- package/dist/index.cjs +1 -1
- package/dist/index.d.cts +4 -4
- package/dist/index.d.ts +4 -4
- package/dist/index.js +1 -1
- package/dist/layout.d.cts +1 -1
- package/dist/layout.d.ts +1 -1
- package/dist/{review-support-nsLXC9jf.d.ts → review-support-B9ykYpoZ.d.ts} +12 -0
- package/dist/{review-support-D64Wu236.d.cts → review-support-rsyGP5-9.d.cts} +12 -0
- package/dist/{tree-session-BtVFXsF6.d.ts → tree-session-CMA7n4Rm.d.ts} +1 -1
- package/dist/{tree-session-DxIOHUOD.d.cts → tree-session-Cow6LjPn.d.cts} +1 -1
- package/package.json +2 -2
package/dist/editor.d.cts
CHANGED
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
import { F as FontConfiguration, E as EditorFontError, a as EditorCommand, C as CanResult } from './editor-
|
|
2
|
-
export { I as ImageContext, b as ImageCropPercent, c as ImageCropPermille, S as SelectedImageState, d as cropPercentFromCropPermille, e as cropPercentFromPermille, f as cropPercentFromSourceCrop, g as cropPermilleFromCropPercent, h as cropPermilleFromPercent, s as sourceCropFromCropPercent, v as validateImageCropPercent } from './editor-
|
|
1
|
+
import { F as FontConfiguration, E as EditorFontError, a as EditorCommand, C as CanResult } from './editor-BGBZn9c9.cjs';
|
|
2
|
+
export { I as ImageContext, b as ImageCropPercent, c as ImageCropPermille, S as SelectedImageState, d as cropPercentFromCropPermille, e as cropPercentFromPermille, f as cropPercentFromSourceCrop, g as cropPermilleFromCropPercent, h as cropPermilleFromPercent, s as sourceCropFromCropPercent, v as validateImageCropPercent } from './editor-BGBZn9c9.cjs';
|
|
3
3
|
import { L as LayoutShapingOptions } from './shaped-measurer-AFnFxoot.cjs';
|
|
4
|
-
import { P as PaginatedSurfaceOptions, O as OpenPaginatedResult, a as PaginatedSurface, T as TableCommandPlan, D as DocxEditorInstance } from './index-
|
|
5
|
-
export { A as AnchorFrameOrigin, C as CHROME_GROUPS, b as CHROME_MENUS, c as CHROME_UNAVAILABLE_KEY, d as ChromeControl, e as ChromeControlId, f as ChromeControlState, g as ChromeGroup, h as ChromeGroupId, i as ChromeMenu, j as ChromeMenuEntry, k as ChromeMenuId, l as ChromeMenuItemEntry, m as ChromeMenuSeparatorEntry, n as ChromeMenuSubmenuEntry, o as ChromeSlotId, p as DEFAULT_TABLE_CHROME_DRAFT, q as DocxEditorConfig, E as EMU_PER_POINT, F as FinalizedImageOverlayInteraction, r as FontConfigurationBase, s as FontConfigurationFragment, t as FontLoadFailure, u as FontLoadFailureReason, v as FontMeasurementState, w as FontResolutionRequest, x as FontResolver, y as FontUrlSource, H as HyperlinkActivation, z as HyperlinkChromeHandlers, B as HyperlinkOps, I as IMAGE_OVERLAY_NUDGE_PT, G as IMAGE_OVERLAY_NUDGE_SHIFT_PT, J as ImageInteractionSession, K as ImageOverlayScrollPort, L as ImageResizeHandle, M as ImageResizeResult, N as LoadFontsRequest, Q as LoadFontsResult, R as MAX_RESOLVER_FAMILIES, S as OverlayFrameRect, U as PaginatedSurfaceState, V as RunTableChromeCommandResult, W as SelectedDrawingOverlayTarget, X as SurfaceFormatting, Y as SurfaceHyperlink, Z as SurfaceNavigation, _ as SurfaceOverlayCoordinates, $ as TABLE_BORDER_STYLE_OPTIONS, a0 as TABLE_BORDER_TARGET_OPTIONS, a1 as TABLE_BORDER_WIDTH_OPTIONS, a2 as TABLE_CHROME_SLOT_IDS, a3 as TableBorderStyleOption, a4 as TableBorderTargetOption, a5 as TableBorderTargetValue, a6 as TableBorderWidthOption, a7 as TableChromeDraft, a8 as TableChromePick, a9 as TableChromeSlotId, aa as TableInteractionLabelKey, ab as ToolbarCommandState, ac as WORD_DEFAULT_FONT, ad as applyTableChromePick, ae as blankDocumentBytes, af as canExecuteImageCommand, ag as captureImageMutationPreconditions, ah as chromeControlCount, ai as chromeMenuSlots, aj as chromeProbeForSlot, ak as chromeSlotId, al as commandForSlot, am as commandForSlotValue, an as commandForTableChromeSlotValue, ao as composeFontConfiguration, ap as computeImageResizeResult, aq as computeMovedImagePosition, ar as computeResizedImageExtentEmu, as as createDocxEditor, at as createFontSource, au as createImageOverlayScrollPort, av as cssPixelsToLayoutPoints, aw as defaultChromeGroups, ax as defaultTableLabel, ay as emuToOverlayPoints, az as executeImageCommand, aA as finalizeImageOverlayInteraction, aB as formattingBarChromeGroups, aC as isStaleImageInteractionCommit, aD as isTableChromeSlot, aE as layoutPointsToCssPixels, aF as loadFonts, aG as overlayFrameToSheetCssPixels, aH as pointsToEmu, aI as probeTableChromeCommand, aJ as resizePreservesAspect, aK as runSave, aL as runTableChromeCommand, aM as runTableCommand, aN as runToolbarCommand, aO as selectedDrawingOverlayTargetOf, aP as selectedImageStateOf, aQ as surfacePaintScale, aR as tableChromeIconPaths, aS as tableChromeLabelKeyForTarget, aT as tableChromeToolbarState, aU as tableChromeVisible, aV as tableCommandToolbarState, aW as toolbarCommandState, aX as toolbarCommandStates } from './index-
|
|
4
|
+
import { P as PaginatedSurfaceOptions, O as OpenPaginatedResult, a as PaginatedSurface, T as TableCommandPlan, D as DocxEditorInstance } from './index-DptRpcqa.cjs';
|
|
5
|
+
export { A as AnchorFrameOrigin, C as CHROME_GROUPS, b as CHROME_MENUS, c as CHROME_UNAVAILABLE_KEY, d as ChromeControl, e as ChromeControlId, f as ChromeControlState, g as ChromeGroup, h as ChromeGroupId, i as ChromeMenu, j as ChromeMenuEntry, k as ChromeMenuId, l as ChromeMenuItemEntry, m as ChromeMenuSeparatorEntry, n as ChromeMenuSubmenuEntry, o as ChromeSlotId, p as DEFAULT_TABLE_CHROME_DRAFT, q as DocxEditorConfig, E as EMU_PER_POINT, F as FinalizedImageOverlayInteraction, r as FontConfigurationBase, s as FontConfigurationFragment, t as FontLoadFailure, u as FontLoadFailureReason, v as FontMeasurementState, w as FontResolutionRequest, x as FontResolver, y as FontUrlSource, H as HyperlinkActivation, z as HyperlinkChromeHandlers, B as HyperlinkOps, I as IMAGE_OVERLAY_NUDGE_PT, G as IMAGE_OVERLAY_NUDGE_SHIFT_PT, J as ImageInteractionSession, K as ImageOverlayScrollPort, L as ImageResizeHandle, M as ImageResizeResult, N as LoadFontsRequest, Q as LoadFontsResult, R as MAX_RESOLVER_FAMILIES, S as OverlayFrameRect, U as PaginatedSurfaceState, V as RunTableChromeCommandResult, W as SelectedDrawingOverlayTarget, X as SurfaceFormatting, Y as SurfaceHyperlink, Z as SurfaceNavigation, _ as SurfaceOverlayCoordinates, $ as TABLE_BORDER_STYLE_OPTIONS, a0 as TABLE_BORDER_TARGET_OPTIONS, a1 as TABLE_BORDER_WIDTH_OPTIONS, a2 as TABLE_CHROME_SLOT_IDS, a3 as TableBorderStyleOption, a4 as TableBorderTargetOption, a5 as TableBorderTargetValue, a6 as TableBorderWidthOption, a7 as TableChromeDraft, a8 as TableChromePick, a9 as TableChromeSlotId, aa as TableInteractionLabelKey, ab as ToolbarCommandState, ac as WORD_DEFAULT_FONT, ad as applyTableChromePick, ae as blankDocumentBytes, af as canExecuteImageCommand, ag as captureImageMutationPreconditions, ah as chromeControlCount, ai as chromeMenuSlots, aj as chromeProbeForSlot, ak as chromeSlotId, al as commandForSlot, am as commandForSlotValue, an as commandForTableChromeSlotValue, ao as composeFontConfiguration, ap as computeImageResizeResult, aq as computeMovedImagePosition, ar as computeResizedImageExtentEmu, as as createDocxEditor, at as createFontSource, au as createImageOverlayScrollPort, av as cssPixelsToLayoutPoints, aw as defaultChromeGroups, ax as defaultTableLabel, ay as emuToOverlayPoints, az as executeImageCommand, aA as finalizeImageOverlayInteraction, aB as formattingBarChromeGroups, aC as isStaleImageInteractionCommit, aD as isTableChromeSlot, aE as layoutPointsToCssPixels, aF as loadFonts, aG as overlayFrameToSheetCssPixels, aH as pointsToEmu, aI as probeTableChromeCommand, aJ as resizePreservesAspect, aK as runSave, aL as runTableChromeCommand, aM as runTableCommand, aN as runToolbarCommand, aO as selectedDrawingOverlayTargetOf, aP as selectedImageStateOf, aQ as surfacePaintScale, aR as tableChromeIconPaths, aS as tableChromeLabelKeyForTarget, aT as tableChromeToolbarState, aU as tableChromeVisible, aV as tableCommandToolbarState, aW as toolbarCommandState, aX as toolbarCommandStates } from './index-DptRpcqa.cjs';
|
|
6
6
|
import { A as AutomationCapabilities, a as AutomationHost } from './protocol-FAz_nPm_.cjs';
|
|
7
7
|
export { CollectReviewItems, EditorModule, EditorModuleRegistry, ReviewModuleContribution, resolveEditorModules } from './contracts/modules.cjs';
|
|
8
8
|
import { ColorValue } from './contracts/types.cjs';
|
|
9
9
|
import { h as TreeDocColorValue, d as DrawingPositionInput } from './tree-op-types-UOXlRUqQ.cjs';
|
|
10
10
|
export { i as IMAGE_WRAP_TARGETS, b as ImageWrapTarget } from './tree-op-types-UOXlRUqQ.cjs';
|
|
11
|
-
import { f as DocumentThemeColorEntry } from './tree-session-
|
|
11
|
+
import { f as DocumentThemeColorEntry } from './tree-session-Cow6LjPn.cjs';
|
|
12
12
|
import { S as SemanticLayout } from './semantic-records-COVFW5aS.cjs';
|
|
13
13
|
export { T as TextMeasurer } from './semantic-records-COVFW5aS.cjs';
|
|
14
14
|
export { D as DEFAULT_IMAGE_RESOURCE_LIMITS, b as ImageDecodePort, c as ImageResourceLimits, R as RenderableImageMime, S as SupportedImageMime, a as VectorImageMime, r as resolveImageResourceLimits, d as resolveSvgIntrinsicSize, s as sniffImageMime, v as validateRasterHeader } from './image-resources-DwpNnTg3.cjs';
|
|
15
15
|
export { S as SectionProperties } from './semantic-cell-selection-DwLB71fF.cjs';
|
|
16
|
-
export { R as ReviewModelInput } from './review-support-
|
|
16
|
+
export { R as ReviewModelInput } from './review-support-rsyGP5-9.cjs';
|
|
17
17
|
export { N as NavigationCommand, S as SemanticPosition, a as SemanticSelection } from './semantic-interaction-DqcEonqD.cjs';
|
|
18
18
|
import './contracts/document.cjs';
|
|
19
19
|
import './revision-projection-72ZApe-g.cjs';
|
package/dist/editor.d.ts
CHANGED
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
import { F as FontConfiguration, E as EditorFontError, a as EditorCommand, C as CanResult } from './editor-
|
|
2
|
-
export { I as ImageContext, b as ImageCropPercent, c as ImageCropPermille, S as SelectedImageState, d as cropPercentFromCropPermille, e as cropPercentFromPermille, f as cropPercentFromSourceCrop, g as cropPermilleFromCropPercent, h as cropPermilleFromPercent, s as sourceCropFromCropPercent, v as validateImageCropPercent } from './editor-
|
|
1
|
+
import { F as FontConfiguration, E as EditorFontError, a as EditorCommand, C as CanResult } from './editor-DQRRxKMG.js';
|
|
2
|
+
export { I as ImageContext, b as ImageCropPercent, c as ImageCropPermille, S as SelectedImageState, d as cropPercentFromCropPermille, e as cropPercentFromPermille, f as cropPercentFromSourceCrop, g as cropPermilleFromCropPercent, h as cropPermilleFromPercent, s as sourceCropFromCropPercent, v as validateImageCropPercent } from './editor-DQRRxKMG.js';
|
|
3
3
|
import { L as LayoutShapingOptions } from './shaped-measurer-CZXL-a6v.js';
|
|
4
|
-
import { P as PaginatedSurfaceOptions, O as OpenPaginatedResult, a as PaginatedSurface, T as TableCommandPlan, D as DocxEditorInstance } from './index-
|
|
5
|
-
export { A as AnchorFrameOrigin, C as CHROME_GROUPS, b as CHROME_MENUS, c as CHROME_UNAVAILABLE_KEY, d as ChromeControl, e as ChromeControlId, f as ChromeControlState, g as ChromeGroup, h as ChromeGroupId, i as ChromeMenu, j as ChromeMenuEntry, k as ChromeMenuId, l as ChromeMenuItemEntry, m as ChromeMenuSeparatorEntry, n as ChromeMenuSubmenuEntry, o as ChromeSlotId, p as DEFAULT_TABLE_CHROME_DRAFT, q as DocxEditorConfig, E as EMU_PER_POINT, F as FinalizedImageOverlayInteraction, r as FontConfigurationBase, s as FontConfigurationFragment, t as FontLoadFailure, u as FontLoadFailureReason, v as FontMeasurementState, w as FontResolutionRequest, x as FontResolver, y as FontUrlSource, H as HyperlinkActivation, z as HyperlinkChromeHandlers, B as HyperlinkOps, I as IMAGE_OVERLAY_NUDGE_PT, G as IMAGE_OVERLAY_NUDGE_SHIFT_PT, J as ImageInteractionSession, K as ImageOverlayScrollPort, L as ImageResizeHandle, M as ImageResizeResult, N as LoadFontsRequest, Q as LoadFontsResult, R as MAX_RESOLVER_FAMILIES, S as OverlayFrameRect, U as PaginatedSurfaceState, V as RunTableChromeCommandResult, W as SelectedDrawingOverlayTarget, X as SurfaceFormatting, Y as SurfaceHyperlink, Z as SurfaceNavigation, _ as SurfaceOverlayCoordinates, $ as TABLE_BORDER_STYLE_OPTIONS, a0 as TABLE_BORDER_TARGET_OPTIONS, a1 as TABLE_BORDER_WIDTH_OPTIONS, a2 as TABLE_CHROME_SLOT_IDS, a3 as TableBorderStyleOption, a4 as TableBorderTargetOption, a5 as TableBorderTargetValue, a6 as TableBorderWidthOption, a7 as TableChromeDraft, a8 as TableChromePick, a9 as TableChromeSlotId, aa as TableInteractionLabelKey, ab as ToolbarCommandState, ac as WORD_DEFAULT_FONT, ad as applyTableChromePick, ae as blankDocumentBytes, af as canExecuteImageCommand, ag as captureImageMutationPreconditions, ah as chromeControlCount, ai as chromeMenuSlots, aj as chromeProbeForSlot, ak as chromeSlotId, al as commandForSlot, am as commandForSlotValue, an as commandForTableChromeSlotValue, ao as composeFontConfiguration, ap as computeImageResizeResult, aq as computeMovedImagePosition, ar as computeResizedImageExtentEmu, as as createDocxEditor, at as createFontSource, au as createImageOverlayScrollPort, av as cssPixelsToLayoutPoints, aw as defaultChromeGroups, ax as defaultTableLabel, ay as emuToOverlayPoints, az as executeImageCommand, aA as finalizeImageOverlayInteraction, aB as formattingBarChromeGroups, aC as isStaleImageInteractionCommit, aD as isTableChromeSlot, aE as layoutPointsToCssPixels, aF as loadFonts, aG as overlayFrameToSheetCssPixels, aH as pointsToEmu, aI as probeTableChromeCommand, aJ as resizePreservesAspect, aK as runSave, aL as runTableChromeCommand, aM as runTableCommand, aN as runToolbarCommand, aO as selectedDrawingOverlayTargetOf, aP as selectedImageStateOf, aQ as surfacePaintScale, aR as tableChromeIconPaths, aS as tableChromeLabelKeyForTarget, aT as tableChromeToolbarState, aU as tableChromeVisible, aV as tableCommandToolbarState, aW as toolbarCommandState, aX as toolbarCommandStates } from './index-
|
|
4
|
+
import { P as PaginatedSurfaceOptions, O as OpenPaginatedResult, a as PaginatedSurface, T as TableCommandPlan, D as DocxEditorInstance } from './index-BzqHsd4Y.js';
|
|
5
|
+
export { A as AnchorFrameOrigin, C as CHROME_GROUPS, b as CHROME_MENUS, c as CHROME_UNAVAILABLE_KEY, d as ChromeControl, e as ChromeControlId, f as ChromeControlState, g as ChromeGroup, h as ChromeGroupId, i as ChromeMenu, j as ChromeMenuEntry, k as ChromeMenuId, l as ChromeMenuItemEntry, m as ChromeMenuSeparatorEntry, n as ChromeMenuSubmenuEntry, o as ChromeSlotId, p as DEFAULT_TABLE_CHROME_DRAFT, q as DocxEditorConfig, E as EMU_PER_POINT, F as FinalizedImageOverlayInteraction, r as FontConfigurationBase, s as FontConfigurationFragment, t as FontLoadFailure, u as FontLoadFailureReason, v as FontMeasurementState, w as FontResolutionRequest, x as FontResolver, y as FontUrlSource, H as HyperlinkActivation, z as HyperlinkChromeHandlers, B as HyperlinkOps, I as IMAGE_OVERLAY_NUDGE_PT, G as IMAGE_OVERLAY_NUDGE_SHIFT_PT, J as ImageInteractionSession, K as ImageOverlayScrollPort, L as ImageResizeHandle, M as ImageResizeResult, N as LoadFontsRequest, Q as LoadFontsResult, R as MAX_RESOLVER_FAMILIES, S as OverlayFrameRect, U as PaginatedSurfaceState, V as RunTableChromeCommandResult, W as SelectedDrawingOverlayTarget, X as SurfaceFormatting, Y as SurfaceHyperlink, Z as SurfaceNavigation, _ as SurfaceOverlayCoordinates, $ as TABLE_BORDER_STYLE_OPTIONS, a0 as TABLE_BORDER_TARGET_OPTIONS, a1 as TABLE_BORDER_WIDTH_OPTIONS, a2 as TABLE_CHROME_SLOT_IDS, a3 as TableBorderStyleOption, a4 as TableBorderTargetOption, a5 as TableBorderTargetValue, a6 as TableBorderWidthOption, a7 as TableChromeDraft, a8 as TableChromePick, a9 as TableChromeSlotId, aa as TableInteractionLabelKey, ab as ToolbarCommandState, ac as WORD_DEFAULT_FONT, ad as applyTableChromePick, ae as blankDocumentBytes, af as canExecuteImageCommand, ag as captureImageMutationPreconditions, ah as chromeControlCount, ai as chromeMenuSlots, aj as chromeProbeForSlot, ak as chromeSlotId, al as commandForSlot, am as commandForSlotValue, an as commandForTableChromeSlotValue, ao as composeFontConfiguration, ap as computeImageResizeResult, aq as computeMovedImagePosition, ar as computeResizedImageExtentEmu, as as createDocxEditor, at as createFontSource, au as createImageOverlayScrollPort, av as cssPixelsToLayoutPoints, aw as defaultChromeGroups, ax as defaultTableLabel, ay as emuToOverlayPoints, az as executeImageCommand, aA as finalizeImageOverlayInteraction, aB as formattingBarChromeGroups, aC as isStaleImageInteractionCommit, aD as isTableChromeSlot, aE as layoutPointsToCssPixels, aF as loadFonts, aG as overlayFrameToSheetCssPixels, aH as pointsToEmu, aI as probeTableChromeCommand, aJ as resizePreservesAspect, aK as runSave, aL as runTableChromeCommand, aM as runTableCommand, aN as runToolbarCommand, aO as selectedDrawingOverlayTargetOf, aP as selectedImageStateOf, aQ as surfacePaintScale, aR as tableChromeIconPaths, aS as tableChromeLabelKeyForTarget, aT as tableChromeToolbarState, aU as tableChromeVisible, aV as tableCommandToolbarState, aW as toolbarCommandState, aX as toolbarCommandStates } from './index-BzqHsd4Y.js';
|
|
6
6
|
import { A as AutomationCapabilities, a as AutomationHost } from './protocol-BWVA3Q1p.js';
|
|
7
7
|
export { CollectReviewItems, EditorModule, EditorModuleRegistry, ReviewModuleContribution, resolveEditorModules } from './contracts/modules.js';
|
|
8
8
|
import { ColorValue } from './contracts/types.js';
|
|
9
9
|
import { h as TreeDocColorValue, d as DrawingPositionInput } from './tree-op-types-DWLCllG7.js';
|
|
10
10
|
export { i as IMAGE_WRAP_TARGETS, b as ImageWrapTarget } from './tree-op-types-DWLCllG7.js';
|
|
11
|
-
import { f as DocumentThemeColorEntry } from './tree-session-
|
|
11
|
+
import { f as DocumentThemeColorEntry } from './tree-session-CMA7n4Rm.js';
|
|
12
12
|
import { S as SemanticLayout } from './semantic-records-zTC0_1zi.js';
|
|
13
13
|
export { T as TextMeasurer } from './semantic-records-zTC0_1zi.js';
|
|
14
14
|
export { D as DEFAULT_IMAGE_RESOURCE_LIMITS, b as ImageDecodePort, c as ImageResourceLimits, R as RenderableImageMime, S as SupportedImageMime, a as VectorImageMime, r as resolveImageResourceLimits, d as resolveSvgIntrinsicSize, s as sniffImageMime, v as validateRasterHeader } from './image-resources-C_YnqPhn.js';
|
|
15
15
|
export { S as SectionProperties } from './semantic-cell-selection-D_8RbPII.js';
|
|
16
|
-
export { R as ReviewModelInput } from './review-support-
|
|
16
|
+
export { R as ReviewModelInput } from './review-support-B9ykYpoZ.js';
|
|
17
17
|
export { N as NavigationCommand, S as SemanticPosition, a as SemanticSelection } from './semantic-interaction-CXH2wFqi.js';
|
|
18
18
|
import './contracts/document.js';
|
|
19
19
|
import './revision-projection-DHAkcD_L.js';
|
package/dist/editor.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export{Da as BROWSER_AUTOMATION_CAPABILITIES,sa as CHROME_GROUPS,wa as CHROME_MENUS,za as CHROME_UNAVAILABLE_KEY,W as DEFAULT_TABLE_CHROME_DRAFT,O as EMU_PER_POINT,M as IMAGE_OVERLAY_NUDGE_PT,N as IMAGE_OVERLAY_NUDGE_SHIFT_PT,d as MAX_RESOLVER_FAMILIES,k as PX_PER_CM,j as PX_PER_INCH,q as SNAP_TWIPS_CM,p as SNAP_TWIPS_INCH,aa as TABLE_BORDER_STYLE_OPTIONS,$ as TABLE_BORDER_TARGET_OPTIONS,ba as TABLE_BORDER_WIDTH_OPTIONS,X as TABLE_CHROME_SLOT_IDS,o as TWIPS_PER_CM,n as TWIPS_PER_INCH,e as WORD_DEFAULT_FONT,ca as applyTableChromePick,w as applyThemeShade,v as applyThemeTint,g as blankDocumentBytes,K as canExecuteImageCommand,J as captureImageMutationPreconditions,ya as chromeControlCount,xa as chromeMenuSlots,ga as chromeProbeForSlot,ta as chromeSlotId,ha as commandForSlot,ja as commandForSlotValue,ia as commandForTableChromeSlotValue,f as composeFontConfiguration,Ka as computeImageResizeResult,T as computeMovedImagePosition,S as computeResizedImageExtentEmu,Ea as createBrowserAutomationHost,Ca as createDocxEditor,i as createFontSource,La as createImageOverlayScrollPort,b as createLayoutShaping,G as cropPercentFromCropPermille,E as cropPercentFromPermille,B as cropPercentFromSourceCrop,F as cropPermilleFromCropPercent,D as cropPermilleFromPercent,Ha as cssPixelsToLayoutPoints,ua as defaultChromeGroups,Y as defaultTableLabel,c as disposeLayoutShaping,t as dragIndent,R as emuToOverlayPoints,L as executeImageCommand,Ma as finalizeImageOverlayInteraction,va as formattingBarChromeGroups,l as generateRulerTicks,r as handlePosition,U as isStaleImageInteractionCommit,Z as isTableChromeSlot,Ga as layoutPointsToCssPixels,h as loadFonts,y as lowerColorValueForBorder,z as lowerColorValueForFill,Ba as mountPaginatedSurface,Ia as overlayFrameToSheetCssPixels,Q as pointsToEmu,da as probeTableChromeCommand,Ja as resizePreservesAspect,A as resolveColorValueToCss,x as resolveThemeColorHex,m as rulerPageBox,pa as runSave,na as runTableChromeCommand,ra as runTableCommand,oa as runToolbarCommand,P as selectedDrawingOverlayTargetOf,I as selectedImageStateOf,s as snapTwips,C as sourceCropFromCropPercent,Aa as surfaceExtent,Fa as surfacePaintScale,fa as tableChromeIconPaths,ea as tableChromeLabelKeyForTarget,ka as tableChromeToolbarState,_ as tableChromeVisible,V as tableCommandState,qa as tableCommandToolbarState,a as toEditorFontError,la as toolbarCommandState,ma as toolbarCommandStates,H as validateImageCropPercent,u as validateThemeModifier}from'./chunk-
|
|
1
|
+
export{Da as BROWSER_AUTOMATION_CAPABILITIES,sa as CHROME_GROUPS,wa as CHROME_MENUS,za as CHROME_UNAVAILABLE_KEY,W as DEFAULT_TABLE_CHROME_DRAFT,O as EMU_PER_POINT,M as IMAGE_OVERLAY_NUDGE_PT,N as IMAGE_OVERLAY_NUDGE_SHIFT_PT,d as MAX_RESOLVER_FAMILIES,k as PX_PER_CM,j as PX_PER_INCH,q as SNAP_TWIPS_CM,p as SNAP_TWIPS_INCH,aa as TABLE_BORDER_STYLE_OPTIONS,$ as TABLE_BORDER_TARGET_OPTIONS,ba as TABLE_BORDER_WIDTH_OPTIONS,X as TABLE_CHROME_SLOT_IDS,o as TWIPS_PER_CM,n as TWIPS_PER_INCH,e as WORD_DEFAULT_FONT,ca as applyTableChromePick,w as applyThemeShade,v as applyThemeTint,g as blankDocumentBytes,K as canExecuteImageCommand,J as captureImageMutationPreconditions,ya as chromeControlCount,xa as chromeMenuSlots,ga as chromeProbeForSlot,ta as chromeSlotId,ha as commandForSlot,ja as commandForSlotValue,ia as commandForTableChromeSlotValue,f as composeFontConfiguration,Ka as computeImageResizeResult,T as computeMovedImagePosition,S as computeResizedImageExtentEmu,Ea as createBrowserAutomationHost,Ca as createDocxEditor,i as createFontSource,La as createImageOverlayScrollPort,b as createLayoutShaping,G as cropPercentFromCropPermille,E as cropPercentFromPermille,B as cropPercentFromSourceCrop,F as cropPermilleFromCropPercent,D as cropPermilleFromPercent,Ha as cssPixelsToLayoutPoints,ua as defaultChromeGroups,Y as defaultTableLabel,c as disposeLayoutShaping,t as dragIndent,R as emuToOverlayPoints,L as executeImageCommand,Ma as finalizeImageOverlayInteraction,va as formattingBarChromeGroups,l as generateRulerTicks,r as handlePosition,U as isStaleImageInteractionCommit,Z as isTableChromeSlot,Ga as layoutPointsToCssPixels,h as loadFonts,y as lowerColorValueForBorder,z as lowerColorValueForFill,Ba as mountPaginatedSurface,Ia as overlayFrameToSheetCssPixels,Q as pointsToEmu,da as probeTableChromeCommand,Ja as resizePreservesAspect,A as resolveColorValueToCss,x as resolveThemeColorHex,m as rulerPageBox,pa as runSave,na as runTableChromeCommand,ra as runTableCommand,oa as runToolbarCommand,P as selectedDrawingOverlayTargetOf,I as selectedImageStateOf,s as snapTwips,C as sourceCropFromCropPercent,Aa as surfaceExtent,Fa as surfacePaintScale,fa as tableChromeIconPaths,ea as tableChromeLabelKeyForTarget,ka as tableChromeToolbarState,_ as tableChromeVisible,V as tableCommandState,qa as tableCommandToolbarState,a as toEditorFontError,la as toolbarCommandState,ma as toolbarCommandStates,H as validateImageCropPercent,u as validateThemeModifier}from'./chunk-3HEU7MHP.js';import'./chunk-QRAUDDVY.js';import'./chunk-STCITBJK.js';import'./chunk-6WIIHJFY.js';import'./chunk-TBBXCC7D.js';import'./chunk-4WWEDTTE.js';import'./chunk-2DTQDAN7.js';export{D as DEFAULT_IMAGE_RESOURCE_LIMITS,lf as DRAWING_REL_FROM_H,mf as DRAWING_REL_FROM_V,Wa as IMAGE_WRAP_TARGETS,of as positionInputFromPropertiesCommand,nf as propertiesCommandHasPositionFields,E as resolveImageResourceLimits,mb as resolveSvgIntrinsicSize,ib as sniffImageMime,kf as validateDrawingPositionInput,nb as validateRasterHeader,pf as validateSetImagePositionCommand}from'./chunk-Y7TA7TPF.js';import'./chunk-REZUWYB7.js';export{a as resolveEditorModules}from'./chunk-GQQOL4PV.js';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { i as FontSource, j as FontSourceSubstitution, F as FontConfiguration, k as FontFaceRequest, I as ImageContext, D as DocumentSource, E as EditorFontError, l as Editor, a as EditorCommand, C as CanResult, S as SelectedImageState, V as ViewScope, T as TableBorderEdgeTarget, m as TableBorderSpec, n as TableBorderStyle, o as TableContext } from './editor-
|
|
1
|
+
import { i as FontSource, j as FontSourceSubstitution, F as FontConfiguration, k as FontFaceRequest, I as ImageContext, D as DocumentSource, E as EditorFontError, l as Editor, a as EditorCommand, C as CanResult, S as SelectedImageState, V as ViewScope, T as TableBorderEdgeTarget, m as TableBorderSpec, n as TableBorderStyle, o as TableContext } from './editor-DQRRxKMG.js';
|
|
2
2
|
import { T as TreeDocOp, d as DrawingPositionInput, k as DrawingTransform, m as DrawingTreeDocOp } from './tree-op-types-DWLCllG7.js';
|
|
3
3
|
import { b as ImageDecodePort, S as SupportedImageMime } from './image-resources-C_YnqPhn.js';
|
|
4
4
|
import { R as RevisionDisplayMode } from './revision-projection-DHAkcD_L.js';
|
|
5
|
-
import './review-support-
|
|
5
|
+
import './review-support-B9ykYpoZ.js';
|
|
6
6
|
import { a as SemanticSelection, S as SemanticPosition, N as NavigationCommand } from './semantic-interaction-CXH2wFqi.js';
|
|
7
7
|
import { R as ResolvedFootnoteProperties, a as ResolvedEndnoteProperties, A as AuthoredNoteProperties, l as ReviewRevisionKind } from './review-reads-CsoXSvUg.js';
|
|
8
8
|
import { S as SemanticLayout, C as ContentControlBoundaryRecord, T as TextMeasurer } from './semantic-records-zTC0_1zi.js';
|
|
@@ -11,7 +11,7 @@ import { C as CellSelection, S as SectionProperties } from './semantic-cell-sele
|
|
|
11
11
|
import { EditorModule, ReviewModuleContribution } from './contracts/modules.js';
|
|
12
12
|
import { Unsubscribe, ExecResult, IndentFormatting } from './contracts/types.js';
|
|
13
13
|
import { D as DrawingPaintStrings } from './semantic-paint-drawings-B5Wk2so5.js';
|
|
14
|
-
import { T as TreeDocxSession, a as TreeApplyResult } from './tree-session-
|
|
14
|
+
import { T as TreeDocxSession, a as TreeApplyResult } from './tree-session-CMA7n4Rm.js';
|
|
15
15
|
import './contracts/document.js';
|
|
16
16
|
|
|
17
17
|
/**
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { i as FontSource, j as FontSourceSubstitution, F as FontConfiguration, k as FontFaceRequest, I as ImageContext, D as DocumentSource, E as EditorFontError, l as Editor, a as EditorCommand, C as CanResult, S as SelectedImageState, V as ViewScope, T as TableBorderEdgeTarget, m as TableBorderSpec, n as TableBorderStyle, o as TableContext } from './editor-
|
|
1
|
+
import { i as FontSource, j as FontSourceSubstitution, F as FontConfiguration, k as FontFaceRequest, I as ImageContext, D as DocumentSource, E as EditorFontError, l as Editor, a as EditorCommand, C as CanResult, S as SelectedImageState, V as ViewScope, T as TableBorderEdgeTarget, m as TableBorderSpec, n as TableBorderStyle, o as TableContext } from './editor-BGBZn9c9.cjs';
|
|
2
2
|
import { T as TreeDocOp, d as DrawingPositionInput, k as DrawingTransform, m as DrawingTreeDocOp } from './tree-op-types-UOXlRUqQ.cjs';
|
|
3
3
|
import { b as ImageDecodePort, S as SupportedImageMime } from './image-resources-DwpNnTg3.cjs';
|
|
4
4
|
import { R as RevisionDisplayMode } from './revision-projection-72ZApe-g.cjs';
|
|
5
|
-
import './review-support-
|
|
5
|
+
import './review-support-rsyGP5-9.cjs';
|
|
6
6
|
import { a as SemanticSelection, S as SemanticPosition, N as NavigationCommand } from './semantic-interaction-DqcEonqD.cjs';
|
|
7
7
|
import { R as ResolvedFootnoteProperties, a as ResolvedEndnoteProperties, A as AuthoredNoteProperties, l as ReviewRevisionKind } from './review-reads-qW0jvdF1.cjs';
|
|
8
8
|
import { S as SemanticLayout, C as ContentControlBoundaryRecord, T as TextMeasurer } from './semantic-records-COVFW5aS.cjs';
|
|
@@ -11,7 +11,7 @@ import { C as CellSelection, S as SectionProperties } from './semantic-cell-sele
|
|
|
11
11
|
import { EditorModule, ReviewModuleContribution } from './contracts/modules.cjs';
|
|
12
12
|
import { Unsubscribe, ExecResult, IndentFormatting } from './contracts/types.cjs';
|
|
13
13
|
import { D as DrawingPaintStrings } from './semantic-paint-drawings-x8g44lD_.cjs';
|
|
14
|
-
import { T as TreeDocxSession, a as TreeApplyResult } from './tree-session-
|
|
14
|
+
import { T as TreeDocxSession, a as TreeApplyResult } from './tree-session-Cow6LjPn.cjs';
|
|
15
15
|
import './contracts/document.cjs';
|
|
16
16
|
|
|
17
17
|
/**
|
package/dist/index.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';var
|
|
1
|
+
'use strict';var chunkEDLUMMQN_cjs=require('./chunk-EDLUMMQN.cjs');require('./chunk-3JKQE4QJ.cjs'),require('./chunk-TSXT537P.cjs'),require('./chunk-PC76F2HR.cjs'),require('./chunk-O2WQY7IT.cjs'),require('./chunk-BS554B6D.cjs'),require('./chunk-JQFDLZXQ.cjs'),require('./chunk-BZK64YU3.cjs'),require('./chunk-HBL3NNH5.cjs'),require('./chunk-7VQ7YLW3.cjs');Object.defineProperty(exports,"CHROME_GROUPS",{enumerable:true,get:function(){return chunkEDLUMMQN_cjs.sa}});Object.defineProperty(exports,"CHROME_MENUS",{enumerable:true,get:function(){return chunkEDLUMMQN_cjs.wa}});Object.defineProperty(exports,"WORD_DEFAULT_FONT",{enumerable:true,get:function(){return chunkEDLUMMQN_cjs.e}});Object.defineProperty(exports,"blankDocumentBytes",{enumerable:true,get:function(){return chunkEDLUMMQN_cjs.g}});Object.defineProperty(exports,"chromeMenuSlots",{enumerable:true,get:function(){return chunkEDLUMMQN_cjs.xa}});Object.defineProperty(exports,"commandForSlot",{enumerable:true,get:function(){return chunkEDLUMMQN_cjs.ha}});Object.defineProperty(exports,"commandForSlotValue",{enumerable:true,get:function(){return chunkEDLUMMQN_cjs.ja}});Object.defineProperty(exports,"composeFontConfiguration",{enumerable:true,get:function(){return chunkEDLUMMQN_cjs.f}});Object.defineProperty(exports,"createDocxEditor",{enumerable:true,get:function(){return chunkEDLUMMQN_cjs.Ca}});Object.defineProperty(exports,"createFontSource",{enumerable:true,get:function(){return chunkEDLUMMQN_cjs.i}});Object.defineProperty(exports,"loadFonts",{enumerable:true,get:function(){return chunkEDLUMMQN_cjs.h}});Object.defineProperty(exports,"runToolbarCommand",{enumerable:true,get:function(){return chunkEDLUMMQN_cjs.oa}});Object.defineProperty(exports,"toolbarCommandState",{enumerable:true,get:function(){return chunkEDLUMMQN_cjs.la}});
|
package/dist/index.d.cts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
export { A as AuthoredNoteNumbering, C as CanResult, p as DocumentChange, q as DocumentEditingMode, r as DocumentHandle, D as DocumentSource, l as Editor, a as EditorCommand, t as EditorCommandShape, u as EditorCommands, w as EditorError, x as EditorEvents, E as EditorFontError, y as EditorFontErrorCode, z as EditorHeaderFooterCommands, B as EditorNoteCommands, G as EditorPosition, H as EditorQueries, J as EditorQuery, K as EditorQueryResults, L as EditorScope, M as EditorSelection, N as EditorSnapshot, F as FontConfiguration, k as FontFaceRequest, i as FontSource, j as FontSourceSubstitution, O as FurnitureVariant, P as HeaderFooterSlotArgs, Q as HeaderFooterState, R as HyperlinkInfo, I as ImageContext, b as ImageCropPercent, U as InteractionAffinity, W as InteractionOutcome, X as InteractionOutcomeCode, Y as NoteKind, Z as NotePropertiesSide, _ as NotePropertiesState, $ as PageSetup, a0 as ResolvedNoteNumbering, a1 as
|
|
1
|
+
export { A as AuthoredNoteNumbering, C as CanResult, p as DocumentChange, q as DocumentEditingMode, r as DocumentHandle, D as DocumentSource, l as Editor, a as EditorCommand, t as EditorCommandShape, u as EditorCommands, w as EditorError, x as EditorEvents, E as EditorFontError, y as EditorFontErrorCode, z as EditorHeaderFooterCommands, B as EditorNoteCommands, G as EditorPosition, H as EditorQueries, J as EditorQuery, K as EditorQueryResults, L as EditorScope, M as EditorSelection, N as EditorSnapshot, F as FontConfiguration, k as FontFaceRequest, i as FontSource, j as FontSourceSubstitution, O as FurnitureVariant, P as HeaderFooterSlotArgs, Q as HeaderFooterState, R as HyperlinkInfo, I as ImageContext, b as ImageCropPercent, U as InteractionAffinity, W as InteractionOutcome, X as InteractionOutcomeCode, Y as NoteKind, Z as NotePropertiesSide, _ as NotePropertiesState, $ as PageSetup, a0 as ResolvedNoteNumbering, a1 as ReviewActivationOptions, a2 as ReviewCommentPlacement, a3 as ReviewCustomPlacement, a4 as ReviewItemPlacement, a5 as ReviewItemPlacementBase, a6 as ReviewItemQuery, a7 as ReviewRevisionPlacement, S as SelectedImageState, a8 as SemanticIdentity, a9 as SemanticTarget, T as TableBorderEdgeTarget, m as TableBorderSpec, n as TableBorderStyle, aa as TableBorderTarget, ab as TableCellVerticalAlignment, ac as TableColumnDividerResizeTarget, ad as TableColumnOccurrenceTarget, o as TableContext, ae as TableRightEdgeResizeTarget, af as TableRowOccurrenceTarget, ag as TextMatch, V as ViewScope } from './editor-BGBZn9c9.cjs';
|
|
2
2
|
export { f as DrawingHorizontalReferenceFrame, c as DrawingKind, e as DrawingLocks, d as DrawingPositionInput, g as DrawingVerticalReferenceFrame, b as ImageWrapTarget, R as RevisionAddress } from './tree-op-types-UOXlRUqQ.cjs';
|
|
3
3
|
export { I as ImageResourceState, P as PreservedImageMime, R as RenderableImageMime, S as SupportedImageMime, V as ValidatedImageBytesHandle, a as VectorImageMime } from './image-resources-DwpNnTg3.cjs';
|
|
4
4
|
export { R as RevisionDisplayMode } from './revision-projection-72ZApe-g.cjs';
|
|
5
|
-
export { C as CommentRecord, c as ReviewCommentItem, d as ReviewCustomItem, a as ReviewItem, R as ReviewModelInput, e as ReviewPosition, f as ReviewRange, b as ReviewRevisionItem, g as ReviewRevisionKind } from './review-support-
|
|
5
|
+
export { C as CommentRecord, c as ReviewCommentItem, d as ReviewCustomItem, a as ReviewItem, R as ReviewModelInput, e as ReviewPosition, f as ReviewRange, b as ReviewRevisionItem, g as ReviewRevisionKind } from './review-support-rsyGP5-9.cjs';
|
|
6
6
|
export { S as SemanticPosition, a as SemanticSelection } from './semantic-interaction-DqcEonqD.cjs';
|
|
7
|
-
export { C as CHROME_GROUPS, b as CHROME_MENUS, i as ChromeMenu, j as ChromeMenuEntry, k as ChromeMenuId, l as ChromeMenuItemEntry, m as ChromeMenuSeparatorEntry, n as ChromeMenuSubmenuEntry, o as ChromeSlotId, q as DocxEditorConfig, D as DocxEditorInstance, r as FontConfigurationBase, s as FontConfigurationFragment, t as FontLoadFailure, u as FontLoadFailureReason, v as FontMeasurementState, w as FontResolutionRequest, x as FontResolver, y as FontUrlSource, H as HyperlinkActivation, z as HyperlinkChromeHandlers, N as LoadFontsRequest, Q as LoadFontsResult, Y as SurfaceHyperlink, ab as ToolbarCommandState, ac as WORD_DEFAULT_FONT, ae as blankDocumentBytes, ai as chromeMenuSlots, al as commandForSlot, am as commandForSlotValue, ao as composeFontConfiguration, as as createDocxEditor, at as createFontSource, aF as loadFonts, aN as runToolbarCommand, aW as toolbarCommandState } from './index-
|
|
7
|
+
export { C as CHROME_GROUPS, b as CHROME_MENUS, i as ChromeMenu, j as ChromeMenuEntry, k as ChromeMenuId, l as ChromeMenuItemEntry, m as ChromeMenuSeparatorEntry, n as ChromeMenuSubmenuEntry, o as ChromeSlotId, q as DocxEditorConfig, D as DocxEditorInstance, r as FontConfigurationBase, s as FontConfigurationFragment, t as FontLoadFailure, u as FontLoadFailureReason, v as FontMeasurementState, w as FontResolutionRequest, x as FontResolver, y as FontUrlSource, H as HyperlinkActivation, z as HyperlinkChromeHandlers, N as LoadFontsRequest, Q as LoadFontsResult, Y as SurfaceHyperlink, ab as ToolbarCommandState, ac as WORD_DEFAULT_FONT, ae as blankDocumentBytes, ai as chromeMenuSlots, al as commandForSlot, am as commandForSlotValue, ao as composeFontConfiguration, as as createDocxEditor, at as createFontSource, aF as loadFonts, aN as runToolbarCommand, aW as toolbarCommandState } from './index-DptRpcqa.cjs';
|
|
8
8
|
export { Block, ColorValue, ContainerRef, ContentControl, ContentControlFilter, ContentControlType, DocAnchor, DocAnchorRange, DocComment, DocLocation, DocRange, DocTarget, DocumentBody, DocxDocument, DocxDocumentJSON, ExecErrorCode, ExecResult, Extent, FontDefinition, HeaderFooterSet, IndentFormatting, NumberingRef, PageMargins, Paragraph, Point, Rect, Revision, RevisionType, Run, RunFormatting, Section, SectionProperties, StyleDefinition, StyleDefinitions, Table, TableCell, TableRow, Theme, ThemeColorScheme, Unsubscribe, Watermark } from './contracts/types.cjs';
|
|
9
9
|
export { ApplyResult, ContentControlSummary, DocEdit, DocEdits, DocQueries, DocQuery, DocQueryResults, ParagraphSummary } from './contracts/document.cjs';
|
|
10
10
|
export { CollectReviewItems, EditorModule, ReviewModuleContribution } from './contracts/modules.cjs';
|
|
@@ -18,5 +18,5 @@ import './note-nodes-C6DLxlvj.cjs';
|
|
|
18
18
|
import './tree-store-B1lEkdXc.cjs';
|
|
19
19
|
import './semantic-cell-selection-DwLB71fF.cjs';
|
|
20
20
|
import './semantic-paint-drawings-x8g44lD_.cjs';
|
|
21
|
-
import './tree-session-
|
|
21
|
+
import './tree-session-Cow6LjPn.cjs';
|
|
22
22
|
import 'prosemirror-model';
|
package/dist/index.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
export { A as AuthoredNoteNumbering, C as CanResult, p as DocumentChange, q as DocumentEditingMode, r as DocumentHandle, D as DocumentSource, l as Editor, a as EditorCommand, t as EditorCommandShape, u as EditorCommands, w as EditorError, x as EditorEvents, E as EditorFontError, y as EditorFontErrorCode, z as EditorHeaderFooterCommands, B as EditorNoteCommands, G as EditorPosition, H as EditorQueries, J as EditorQuery, K as EditorQueryResults, L as EditorScope, M as EditorSelection, N as EditorSnapshot, F as FontConfiguration, k as FontFaceRequest, i as FontSource, j as FontSourceSubstitution, O as FurnitureVariant, P as HeaderFooterSlotArgs, Q as HeaderFooterState, R as HyperlinkInfo, I as ImageContext, b as ImageCropPercent, U as InteractionAffinity, W as InteractionOutcome, X as InteractionOutcomeCode, Y as NoteKind, Z as NotePropertiesSide, _ as NotePropertiesState, $ as PageSetup, a0 as ResolvedNoteNumbering, a1 as
|
|
1
|
+
export { A as AuthoredNoteNumbering, C as CanResult, p as DocumentChange, q as DocumentEditingMode, r as DocumentHandle, D as DocumentSource, l as Editor, a as EditorCommand, t as EditorCommandShape, u as EditorCommands, w as EditorError, x as EditorEvents, E as EditorFontError, y as EditorFontErrorCode, z as EditorHeaderFooterCommands, B as EditorNoteCommands, G as EditorPosition, H as EditorQueries, J as EditorQuery, K as EditorQueryResults, L as EditorScope, M as EditorSelection, N as EditorSnapshot, F as FontConfiguration, k as FontFaceRequest, i as FontSource, j as FontSourceSubstitution, O as FurnitureVariant, P as HeaderFooterSlotArgs, Q as HeaderFooterState, R as HyperlinkInfo, I as ImageContext, b as ImageCropPercent, U as InteractionAffinity, W as InteractionOutcome, X as InteractionOutcomeCode, Y as NoteKind, Z as NotePropertiesSide, _ as NotePropertiesState, $ as PageSetup, a0 as ResolvedNoteNumbering, a1 as ReviewActivationOptions, a2 as ReviewCommentPlacement, a3 as ReviewCustomPlacement, a4 as ReviewItemPlacement, a5 as ReviewItemPlacementBase, a6 as ReviewItemQuery, a7 as ReviewRevisionPlacement, S as SelectedImageState, a8 as SemanticIdentity, a9 as SemanticTarget, T as TableBorderEdgeTarget, m as TableBorderSpec, n as TableBorderStyle, aa as TableBorderTarget, ab as TableCellVerticalAlignment, ac as TableColumnDividerResizeTarget, ad as TableColumnOccurrenceTarget, o as TableContext, ae as TableRightEdgeResizeTarget, af as TableRowOccurrenceTarget, ag as TextMatch, V as ViewScope } from './editor-DQRRxKMG.js';
|
|
2
2
|
export { f as DrawingHorizontalReferenceFrame, c as DrawingKind, e as DrawingLocks, d as DrawingPositionInput, g as DrawingVerticalReferenceFrame, b as ImageWrapTarget, R as RevisionAddress } from './tree-op-types-DWLCllG7.js';
|
|
3
3
|
export { I as ImageResourceState, P as PreservedImageMime, R as RenderableImageMime, S as SupportedImageMime, V as ValidatedImageBytesHandle, a as VectorImageMime } from './image-resources-C_YnqPhn.js';
|
|
4
4
|
export { R as RevisionDisplayMode } from './revision-projection-DHAkcD_L.js';
|
|
5
|
-
export { C as CommentRecord, c as ReviewCommentItem, d as ReviewCustomItem, a as ReviewItem, R as ReviewModelInput, e as ReviewPosition, f as ReviewRange, b as ReviewRevisionItem, g as ReviewRevisionKind } from './review-support-
|
|
5
|
+
export { C as CommentRecord, c as ReviewCommentItem, d as ReviewCustomItem, a as ReviewItem, R as ReviewModelInput, e as ReviewPosition, f as ReviewRange, b as ReviewRevisionItem, g as ReviewRevisionKind } from './review-support-B9ykYpoZ.js';
|
|
6
6
|
export { S as SemanticPosition, a as SemanticSelection } from './semantic-interaction-CXH2wFqi.js';
|
|
7
|
-
export { C as CHROME_GROUPS, b as CHROME_MENUS, i as ChromeMenu, j as ChromeMenuEntry, k as ChromeMenuId, l as ChromeMenuItemEntry, m as ChromeMenuSeparatorEntry, n as ChromeMenuSubmenuEntry, o as ChromeSlotId, q as DocxEditorConfig, D as DocxEditorInstance, r as FontConfigurationBase, s as FontConfigurationFragment, t as FontLoadFailure, u as FontLoadFailureReason, v as FontMeasurementState, w as FontResolutionRequest, x as FontResolver, y as FontUrlSource, H as HyperlinkActivation, z as HyperlinkChromeHandlers, N as LoadFontsRequest, Q as LoadFontsResult, Y as SurfaceHyperlink, ab as ToolbarCommandState, ac as WORD_DEFAULT_FONT, ae as blankDocumentBytes, ai as chromeMenuSlots, al as commandForSlot, am as commandForSlotValue, ao as composeFontConfiguration, as as createDocxEditor, at as createFontSource, aF as loadFonts, aN as runToolbarCommand, aW as toolbarCommandState } from './index-
|
|
7
|
+
export { C as CHROME_GROUPS, b as CHROME_MENUS, i as ChromeMenu, j as ChromeMenuEntry, k as ChromeMenuId, l as ChromeMenuItemEntry, m as ChromeMenuSeparatorEntry, n as ChromeMenuSubmenuEntry, o as ChromeSlotId, q as DocxEditorConfig, D as DocxEditorInstance, r as FontConfigurationBase, s as FontConfigurationFragment, t as FontLoadFailure, u as FontLoadFailureReason, v as FontMeasurementState, w as FontResolutionRequest, x as FontResolver, y as FontUrlSource, H as HyperlinkActivation, z as HyperlinkChromeHandlers, N as LoadFontsRequest, Q as LoadFontsResult, Y as SurfaceHyperlink, ab as ToolbarCommandState, ac as WORD_DEFAULT_FONT, ae as blankDocumentBytes, ai as chromeMenuSlots, al as commandForSlot, am as commandForSlotValue, ao as composeFontConfiguration, as as createDocxEditor, at as createFontSource, aF as loadFonts, aN as runToolbarCommand, aW as toolbarCommandState } from './index-BzqHsd4Y.js';
|
|
8
8
|
export { Block, ColorValue, ContainerRef, ContentControl, ContentControlFilter, ContentControlType, DocAnchor, DocAnchorRange, DocComment, DocLocation, DocRange, DocTarget, DocumentBody, DocxDocument, DocxDocumentJSON, ExecErrorCode, ExecResult, Extent, FontDefinition, HeaderFooterSet, IndentFormatting, NumberingRef, PageMargins, Paragraph, Point, Rect, Revision, RevisionType, Run, RunFormatting, Section, SectionProperties, StyleDefinition, StyleDefinitions, Table, TableCell, TableRow, Theme, ThemeColorScheme, Unsubscribe, Watermark } from './contracts/types.js';
|
|
9
9
|
export { ApplyResult, ContentControlSummary, DocEdit, DocEdits, DocQueries, DocQuery, DocQueryResults, ParagraphSummary } from './contracts/document.js';
|
|
10
10
|
export { CollectReviewItems, EditorModule, ReviewModuleContribution } from './contracts/modules.js';
|
|
@@ -18,5 +18,5 @@ import './note-nodes-BPSTVDMr.js';
|
|
|
18
18
|
import './tree-store-BscFPB7x.js';
|
|
19
19
|
import './semantic-cell-selection-D_8RbPII.js';
|
|
20
20
|
import './semantic-paint-drawings-B5Wk2so5.js';
|
|
21
|
-
import './tree-session-
|
|
21
|
+
import './tree-session-CMA7n4Rm.js';
|
|
22
22
|
import 'prosemirror-model';
|
package/dist/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export{sa as CHROME_GROUPS,wa as CHROME_MENUS,e as WORD_DEFAULT_FONT,g as blankDocumentBytes,xa as chromeMenuSlots,ha as commandForSlot,ja as commandForSlotValue,f as composeFontConfiguration,Ca as createDocxEditor,i as createFontSource,h as loadFonts,oa as runToolbarCommand,la as toolbarCommandState}from'./chunk-
|
|
1
|
+
export{sa as CHROME_GROUPS,wa as CHROME_MENUS,e as WORD_DEFAULT_FONT,g as blankDocumentBytes,xa as chromeMenuSlots,ha as commandForSlot,ja as commandForSlotValue,f as composeFontConfiguration,Ca as createDocxEditor,i as createFontSource,h as loadFonts,oa as runToolbarCommand,la as toolbarCommandState}from'./chunk-3HEU7MHP.js';import'./chunk-QRAUDDVY.js';import'./chunk-STCITBJK.js';import'./chunk-6WIIHJFY.js';import'./chunk-TBBXCC7D.js';import'./chunk-4WWEDTTE.js';import'./chunk-2DTQDAN7.js';import'./chunk-Y7TA7TPF.js';import'./chunk-REZUWYB7.js';import'./chunk-GQQOL4PV.js';
|
package/dist/layout.d.cts
CHANGED
|
@@ -13,7 +13,7 @@ export { D as DEFAULT_REVISION_DISPLAY_MODE, a as RevisionAttribution, b as Revi
|
|
|
13
13
|
import { a as SectionColumns } from './semantic-cell-selection-DwLB71fF.cjs';
|
|
14
14
|
export { C as CellSelection, D as DEFAULT_SECTION_PROPERTIES, b as DEFAULT_VERTICAL_WEIGHT, c as DocumentSection, d as DocumentSectionsEnumeration, e as DrawingOverlayFrame, H as HitPoint, f as HitTestOptions, M as MAX_DOCUMENT_SECTIONS, P as PlacedCell, g as SectionBreakType, h as SectionColumnDefinition, i as SectionMargins, j as SectionPageNumbering, S as SectionProperties, k as SemanticHit, l as SemanticHitDrawing, T as TableCellAddress, m as TableCellContext, n as caretBoxOnLine, o as cellSelectionBetween, p as cellSelectionRects, q as cellSelectionText, r as contentControlAtPoint, s as enumerateDocumentSections, t as enumerateDocumentSectionsBounded, u as findDrawingOverlayFrameInLayout, v as geometryOfSection, w as hitTestPage, x as hitTestSheet, y as isFurniturePoint, z as lineEndOffset, A as pageAtY, B as paragraphSectionNode, E as paragraphsInCells, F as parsePageNumbering, G as parseSectionProperties, I as readSectionProperties, J as spanOffsetX, K as spansInCells, L as tableContextAt } from './semantic-cell-selection-DwLB71fF.cjs';
|
|
15
15
|
export { M as MAX_SDT_NESTING, c as collectFlowBlocks, a as contentControlContentChildren, i as isContentControl, b as isContentControlContent } from './content-control-walk-CbTqHq6O.cjs';
|
|
16
|
-
export { h as CommentAnchor, i as CommentPosition, C as CommentRecord, j as CommentThreadState, c as ReviewCommentItem, d as ReviewCustomItem, a as ReviewItem, R as ReviewModelInput, k as ReviewParagraphAnchor, e as ReviewPosition, f as ReviewRange, b as ReviewRevisionItem, g as ReviewRevisionKind, W as W15_NAMESPACE_URI, l as activeReviewItem, m as commentBodyText, n as commentInitials, o as firstReviewRange, r as reviewAnchorIndex, p as reviewItemGeometry, q as reviewItemKey, s as reviewItemPositionRank, t as reviewItemRanges, u as reviewItemsAt, v as reviewThreadRootOf } from './review-support-
|
|
16
|
+
export { h as CommentAnchor, i as CommentPosition, C as CommentRecord, j as CommentThreadState, c as ReviewCommentItem, d as ReviewCustomItem, a as ReviewItem, R as ReviewModelInput, k as ReviewParagraphAnchor, e as ReviewPosition, f as ReviewRange, b as ReviewRevisionItem, g as ReviewRevisionKind, W as W15_NAMESPACE_URI, l as activeReviewItem, m as commentBodyText, n as commentInitials, o as firstReviewRange, r as reviewAnchorIndex, p as reviewItemGeometry, q as reviewItemKey, s as reviewItemPositionRank, t as reviewItemRanges, u as reviewItemsAt, v as reviewThreadRootOf } from './review-support-rsyGP5-9.cjs';
|
|
17
17
|
import { T as TreeModelChange } from './tree-store-B1lEkdXc.cjs';
|
|
18
18
|
export { b as CaretAtOptions, C as CaretGeometry, K as KeyedRange, M as MoveCaretOptions, N as NavigationCommand, c as SelectionRect, S as SemanticPosition, a as SemanticSelection, d as caretAt, e as caretStops, f as caretStopsForBlocks, g as compositionAnchor, h as contentControlAtSemantic, i as contentControlsInLayout, j as documentOrder, k as hitTestSemantic, l as keyedRangeRects, m as moveCaret, p as paragraphTextFromLayout, s as selectionRects, n as spansInSelection, w as wordBoundary } from './semantic-interaction-DqcEonqD.cjs';
|
|
19
19
|
import './image-resources-DwpNnTg3.cjs';
|
package/dist/layout.d.ts
CHANGED
|
@@ -13,7 +13,7 @@ export { D as DEFAULT_REVISION_DISPLAY_MODE, a as RevisionAttribution, b as Revi
|
|
|
13
13
|
import { a as SectionColumns } from './semantic-cell-selection-D_8RbPII.js';
|
|
14
14
|
export { C as CellSelection, D as DEFAULT_SECTION_PROPERTIES, b as DEFAULT_VERTICAL_WEIGHT, c as DocumentSection, d as DocumentSectionsEnumeration, e as DrawingOverlayFrame, H as HitPoint, f as HitTestOptions, M as MAX_DOCUMENT_SECTIONS, P as PlacedCell, g as SectionBreakType, h as SectionColumnDefinition, i as SectionMargins, j as SectionPageNumbering, S as SectionProperties, k as SemanticHit, l as SemanticHitDrawing, T as TableCellAddress, m as TableCellContext, n as caretBoxOnLine, o as cellSelectionBetween, p as cellSelectionRects, q as cellSelectionText, r as contentControlAtPoint, s as enumerateDocumentSections, t as enumerateDocumentSectionsBounded, u as findDrawingOverlayFrameInLayout, v as geometryOfSection, w as hitTestPage, x as hitTestSheet, y as isFurniturePoint, z as lineEndOffset, A as pageAtY, B as paragraphSectionNode, E as paragraphsInCells, F as parsePageNumbering, G as parseSectionProperties, I as readSectionProperties, J as spanOffsetX, K as spansInCells, L as tableContextAt } from './semantic-cell-selection-D_8RbPII.js';
|
|
15
15
|
export { M as MAX_SDT_NESTING, c as collectFlowBlocks, a as contentControlContentChildren, i as isContentControl, b as isContentControlContent } from './content-control-walk-D06GijR0.js';
|
|
16
|
-
export { h as CommentAnchor, i as CommentPosition, C as CommentRecord, j as CommentThreadState, c as ReviewCommentItem, d as ReviewCustomItem, a as ReviewItem, R as ReviewModelInput, k as ReviewParagraphAnchor, e as ReviewPosition, f as ReviewRange, b as ReviewRevisionItem, g as ReviewRevisionKind, W as W15_NAMESPACE_URI, l as activeReviewItem, m as commentBodyText, n as commentInitials, o as firstReviewRange, r as reviewAnchorIndex, p as reviewItemGeometry, q as reviewItemKey, s as reviewItemPositionRank, t as reviewItemRanges, u as reviewItemsAt, v as reviewThreadRootOf } from './review-support-
|
|
16
|
+
export { h as CommentAnchor, i as CommentPosition, C as CommentRecord, j as CommentThreadState, c as ReviewCommentItem, d as ReviewCustomItem, a as ReviewItem, R as ReviewModelInput, k as ReviewParagraphAnchor, e as ReviewPosition, f as ReviewRange, b as ReviewRevisionItem, g as ReviewRevisionKind, W as W15_NAMESPACE_URI, l as activeReviewItem, m as commentBodyText, n as commentInitials, o as firstReviewRange, r as reviewAnchorIndex, p as reviewItemGeometry, q as reviewItemKey, s as reviewItemPositionRank, t as reviewItemRanges, u as reviewItemsAt, v as reviewThreadRootOf } from './review-support-B9ykYpoZ.js';
|
|
17
17
|
import { T as TreeModelChange } from './tree-store-BscFPB7x.js';
|
|
18
18
|
export { b as CaretAtOptions, C as CaretGeometry, K as KeyedRange, M as MoveCaretOptions, N as NavigationCommand, c as SelectionRect, S as SemanticPosition, a as SemanticSelection, d as caretAt, e as caretStops, f as caretStopsForBlocks, g as compositionAnchor, h as contentControlAtSemantic, i as contentControlsInLayout, j as documentOrder, k as hitTestSemantic, l as keyedRangeRects, m as moveCaret, p as paragraphTextFromLayout, s as selectionRects, n as spansInSelection, w as wordBoundary } from './semantic-interaction-CXH2wFqi.js';
|
|
19
19
|
import './image-resources-C_YnqPhn.js';
|
|
@@ -193,6 +193,18 @@ interface ReviewCustomItem {
|
|
|
193
193
|
readonly title: string;
|
|
194
194
|
/** Card body, from the definition's `reviewCard` hook. */
|
|
195
195
|
readonly detail?: string;
|
|
196
|
+
/**
|
|
197
|
+
* Glyph for this node in the collapsed rail, as an SVG path in a `0 -960 960 960` viewBox.
|
|
198
|
+
*
|
|
199
|
+
* A PATH rather than a rendered node because this item crosses core, which is DOM-free and
|
|
200
|
+
* React-free — the same reason `title` and `detail` are strings. A host that wants arbitrary
|
|
201
|
+
* markup overrides the `Markers` part's `icon` instead, which lives in the adapter where JSX
|
|
202
|
+
* belongs. Absent falls back to the generic custom-node glyph.
|
|
203
|
+
*
|
|
204
|
+
* HOST-AUTHORED, never file data: it is interpolated into an SVG `d` attribute, and a path
|
|
205
|
+
* taken from a document would be attacker-controlled markup.
|
|
206
|
+
*/
|
|
207
|
+
readonly icon?: string;
|
|
196
208
|
readonly range: ReviewRange | null;
|
|
197
209
|
}
|
|
198
210
|
/**
|
|
@@ -193,6 +193,18 @@ interface ReviewCustomItem {
|
|
|
193
193
|
readonly title: string;
|
|
194
194
|
/** Card body, from the definition's `reviewCard` hook. */
|
|
195
195
|
readonly detail?: string;
|
|
196
|
+
/**
|
|
197
|
+
* Glyph for this node in the collapsed rail, as an SVG path in a `0 -960 960 960` viewBox.
|
|
198
|
+
*
|
|
199
|
+
* A PATH rather than a rendered node because this item crosses core, which is DOM-free and
|
|
200
|
+
* React-free — the same reason `title` and `detail` are strings. A host that wants arbitrary
|
|
201
|
+
* markup overrides the `Markers` part's `icon` instead, which lives in the adapter where JSX
|
|
202
|
+
* belongs. Absent falls back to the generic custom-node glyph.
|
|
203
|
+
*
|
|
204
|
+
* HOST-AUTHORED, never file data: it is interpolated into an SVG `d` attribute, and a path
|
|
205
|
+
* taken from a document would be attacker-controlled markup.
|
|
206
|
+
*/
|
|
207
|
+
readonly icon?: string;
|
|
196
208
|
readonly range: ReviewRange | null;
|
|
197
209
|
}
|
|
198
210
|
/**
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { S as SupportedImageMime, b as ImageDecodePort } from './image-resources-C_YnqPhn.js';
|
|
2
2
|
import { S as StoryScope, a as StoryTargetRejection, D as DocumentTrackingSettings, I as InsertCustomNodeWrite, C as CustomNodeWriteResult, b as CustomNodeSweepOutcome, E as EmbeddedFont, B as BookmarkIndex, L as ListKind, c as InsertImageInput, d as ImageIntentResult, R as ReplaceImageOptions, A as ApplyImagePropertiesInput } from './custom-node-writes-ttKuYd0M.js';
|
|
3
3
|
import { Node } from 'prosemirror-model';
|
|
4
|
-
import { a as ReviewItem } from './review-support-
|
|
4
|
+
import { a as ReviewItem } from './review-support-B9ykYpoZ.js';
|
|
5
5
|
import { ReviewModuleContribution } from './contracts/modules.js';
|
|
6
6
|
import { e as OoxmlPart, O as OoxmlNode, a as OoxmlElement } from './ooxml-tree-BU0e3DVi.js';
|
|
7
7
|
import { O as OoxmlPackage, b as OoxmlPackageRejection } from './ooxml-package-D_CtywTW.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { S as SupportedImageMime, b as ImageDecodePort } from './image-resources-DwpNnTg3.cjs';
|
|
2
2
|
import { S as StoryScope, a as StoryTargetRejection, D as DocumentTrackingSettings, I as InsertCustomNodeWrite, C as CustomNodeWriteResult, b as CustomNodeSweepOutcome, E as EmbeddedFont, B as BookmarkIndex, L as ListKind, c as InsertImageInput, d as ImageIntentResult, R as ReplaceImageOptions, A as ApplyImagePropertiesInput } from './custom-node-writes-YqISlSRl.cjs';
|
|
3
3
|
import { Node } from 'prosemirror-model';
|
|
4
|
-
import { a as ReviewItem } from './review-support-
|
|
4
|
+
import { a as ReviewItem } from './review-support-rsyGP5-9.cjs';
|
|
5
5
|
import { ReviewModuleContribution } from './contracts/modules.cjs';
|
|
6
6
|
import { e as OoxmlPart, O as OoxmlNode, a as OoxmlElement } from './ooxml-tree-BU0e3DVi.cjs';
|
|
7
7
|
import { O as OoxmlPackage, b as OoxmlPackageRejection } from './ooxml-package-CR5us6ad.cjs';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@docx-editor.dev/core",
|
|
3
|
-
"version": "2.1.
|
|
3
|
+
"version": "2.1.2",
|
|
4
4
|
"description": "Framework-agnostic core for docx-editor.dev: OOXML parse/serialize, the canonical document tree, layout and paint, and the Editor contract the adapters render.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"exports": {
|
|
@@ -85,7 +85,7 @@
|
|
|
85
85
|
"directory": "packages/core"
|
|
86
86
|
},
|
|
87
87
|
"dependencies": {
|
|
88
|
-
"@docx-editor.dev/i18n": "^2.1.
|
|
88
|
+
"@docx-editor.dev/i18n": "^2.1.2",
|
|
89
89
|
"bidi-js": "1.0.3",
|
|
90
90
|
"emf-converter": "2.0.2",
|
|
91
91
|
"fast-xml-parser": "^5.10.1",
|