@docx-editor.dev/core 2.4.1 → 2.5.0
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/automation.cjs +1 -1
- package/dist/automation.d.cts +6 -6
- package/dist/automation.d.ts +6 -6
- package/dist/automation.js +1 -1
- package/dist/binding.cjs +1 -1
- package/dist/binding.d.cts +12 -12
- package/dist/binding.d.ts +12 -12
- package/dist/binding.js +1 -1
- package/dist/chunk-2GSRLGUI.cjs +10 -0
- package/dist/chunk-2QIA75K3.js +2 -0
- package/dist/chunk-32NXPFYL.js +5 -0
- package/dist/chunk-3C533HSQ.cjs +18 -0
- package/dist/{chunk-YMIMLEX4.cjs → chunk-3FRSOOND.cjs} +1 -1
- package/dist/chunk-45FL7KH4.js +1 -0
- package/dist/chunk-7GYF33B5.cjs +2 -0
- package/dist/chunk-H3DZP4LE.cjs +5 -0
- package/dist/chunk-IJ4V3LGV.cjs +2 -0
- package/dist/chunk-JDHTCMFA.cjs +2 -0
- package/dist/chunk-L2GMLEHX.cjs +14 -0
- package/dist/chunk-LJIX4ZDF.js +10 -0
- package/dist/chunk-QUZM6LWQ.js +14 -0
- package/dist/chunk-T252F4US.js +18 -0
- package/dist/chunk-UVIUNAQ6.js +2 -0
- package/dist/chunk-YTZIGUXT.js +2 -0
- package/dist/{content-control-walk-CbTqHq6O.d.cts → content-control-walk-BeAFh6Xi.d.cts} +1 -1
- package/dist/{content-control-walk-D06GijR0.d.ts → content-control-walk-CQp8l6eS.d.ts} +1 -1
- package/dist/contracts/editor.d.cts +9 -9
- package/dist/contracts/editor.d.ts +9 -9
- package/dist/contracts/interaction.d.cts +9 -9
- package/dist/contracts/interaction.d.ts +9 -9
- package/dist/contracts/modules.d.cts +5 -5
- package/dist/contracts/modules.d.ts +5 -5
- package/dist/{custom-node-writes-BkMgMXxs.d.ts → custom-node-writes-2clI36T9.d.ts} +22 -7
- package/dist/{custom-node-writes-C5YRoPcc.d.cts → custom-node-writes-CIC_-wad.d.cts} +22 -7
- package/dist/{editor-DYvC9CZs.d.cts → editor-CUul9IuY.d.cts} +22 -5
- package/dist/{editor-D1qHfzOt.d.ts → editor-DIwctMcU.d.ts} +22 -5
- package/dist/editor.cjs +1 -1
- package/dist/editor.css +32 -0
- package/dist/editor.d.cts +24 -24
- package/dist/editor.d.ts +24 -24
- package/dist/editor.js +1 -1
- package/dist/{hf-references-CgEOSw3i.d.cts → hf-references-BPET4tlK.d.cts} +2 -2
- package/dist/{hf-references-BdjsQNE_.d.ts → hf-references-CAp1xTv6.d.ts} +2 -2
- package/dist/{image-resources-DXvPZvXD.d.cts → image-resources-CSlQmPIm.d.cts} +10 -10
- package/dist/{image-resources-BG9DLyW7.d.ts → image-resources-e13t-pgy.d.ts} +10 -10
- package/dist/{index-Bb-QAg_f.d.cts → index-8t44iXTY.d.cts} +79 -14
- package/dist/{index-DpY3WZuP.d.ts → index-BUsYjxF5.d.ts} +79 -14
- package/dist/index.cjs +1 -1
- package/dist/index.d.cts +18 -18
- package/dist/index.d.ts +18 -18
- package/dist/index.js +1 -1
- package/dist/layout.cjs +1 -1
- package/dist/layout.d.cts +114 -50
- package/dist/layout.d.ts +114 -50
- package/dist/layout.js +1 -1
- package/dist/{note-nodes-C6DLxlvj.d.cts → note-nodes-B2wWES2L.d.cts} +1 -1
- package/dist/{note-nodes-BPSTVDMr.d.ts → note-nodes-CZQXU6Fg.d.ts} +1 -1
- package/dist/{review-reads-CQmU9Lcl.d.ts → note-properties-BS66XmcC.d.ts} +91 -67
- package/dist/{review-reads-CxgN62yp.d.cts → note-properties-Dhqkro--.d.cts} +91 -67
- package/dist/{ooxml-package-D_CtywTW.d.ts → ooxml-package-BrxTmTsZ.d.ts} +115 -115
- package/dist/{ooxml-package-CR5us6ad.d.cts → ooxml-package-Cmbe_M04.d.cts} +115 -115
- package/dist/{ooxml-tree-BU0e3DVi.d.cts → ooxml-tree-CG0odFyi.d.cts} +1 -1
- package/dist/{ooxml-tree-BU0e3DVi.d.ts → ooxml-tree-CG0odFyi.d.ts} +1 -1
- package/dist/output.cjs +1 -1
- package/dist/output.d.cts +7 -7
- package/dist/output.d.ts +7 -7
- package/dist/output.js +1 -1
- package/dist/{protocol-CD7slqvl.d.cts → protocol-B5oSt08P.d.cts} +2 -2
- package/dist/{protocol-DsbfgBwA.d.ts → protocol-ooK7PAXz.d.ts} +2 -2
- package/dist/{review-support-DgXTIYBW.d.ts → review-support-Bl9sN8cv.d.ts} +47 -3
- package/dist/{review-support-BJ-YjGmD.d.cts → review-support-CHuJxHmz.d.cts} +47 -3
- package/dist/{revision-projection-DHAkcD_L.d.ts → revision-projection-DRZMzoLD.d.cts} +54 -3
- package/dist/{revision-projection-72ZApe-g.d.cts → revision-projection-u4nT52xT.d.ts} +54 -3
- package/dist/{semantic-cell-selection-DZtyMXkH.d.ts → semantic-cell-selection-CdNQ-a9-.d.cts} +8 -5
- package/dist/{semantic-cell-selection--ezfezTe.d.cts → semantic-cell-selection-Dc-_enhm.d.ts} +8 -5
- package/dist/{semantic-interaction-DrgbgKg6.d.ts → semantic-interaction-CCVwyw2A.d.ts} +2 -30
- package/dist/{semantic-interaction-2yxdv7q0.d.cts → semantic-interaction-DgaWs-5w.d.cts} +2 -30
- package/dist/{semantic-paint-BYjE0Xbl.d.cts → semantic-paint-6iIB4fhx.d.cts} +2 -2
- package/dist/{semantic-paint-BedBxkyY.d.ts → semantic-paint-CKIbFkQ7.d.ts} +2 -2
- package/dist/{semantic-records-CR5hTqMK.d.ts → semantic-records-B-qbrnp2.d.ts} +107 -9
- package/dist/{semantic-records-DSD8WENa.d.cts → semantic-records-Dq8SlCY8.d.cts} +107 -9
- package/dist/{shaped-measurer-BL8g4AcW.d.ts → shaped-measurer-BT4FqYe9.d.ts} +1 -1
- package/dist/{shaped-measurer-CBOTJTV_.d.cts → shaped-measurer-Dx4llNhK.d.cts} +1 -1
- package/dist/store.cjs +1 -1
- package/dist/store.d.cts +254 -231
- package/dist/store.d.ts +254 -231
- package/dist/store.js +1 -1
- package/dist/{tree-op-types-8a6xyRCN.d.ts → tree-op-types-CZw9QhWX.d.ts} +219 -219
- package/dist/{tree-op-types-EZXbR8bW.d.cts → tree-op-types-DOYNkKqD.d.cts} +219 -219
- package/dist/{tree-session-SucW0znF.d.ts → tree-session-CF_EOhTW.d.ts} +14 -8
- package/dist/{tree-session-DrMm8Cj2.d.cts → tree-session-CtK3KgFU.d.cts} +14 -8
- package/dist/{tree-store-BoM6eXaL.d.ts → tree-store-9TaX-L0V.d.ts} +31 -4
- package/dist/{tree-store-UYrGKF_Q.d.cts → tree-store-Jg-q7fyf.d.cts} +31 -4
- package/package.json +3 -3
- package/dist/chunk-33F6TRXO.js +0 -2
- package/dist/chunk-4WWEDTTE.js +0 -2
- package/dist/chunk-BS554B6D.cjs +0 -2
- package/dist/chunk-DQ5HGUWG.cjs +0 -12
- package/dist/chunk-EQO762XH.cjs +0 -10
- package/dist/chunk-F6WNPYOM.js +0 -2
- package/dist/chunk-FL4GWK76.js +0 -12
- package/dist/chunk-GWG5IVVX.cjs +0 -5
- package/dist/chunk-IZIL6BAW.cjs +0 -12
- package/dist/chunk-LIJPSHRA.js +0 -5
- package/dist/chunk-MHDO6HLI.cjs +0 -2
- package/dist/chunk-SG7OH2EK.js +0 -12
- package/dist/chunk-TCX3PVWR.js +0 -10
- package/dist/chunk-YTYKNA6X.cjs +0 -2
- package/dist/chunk-ZACHY6OS.js +0 -1
package/dist/editor.d.cts
CHANGED
|
@@ -1,30 +1,30 @@
|
|
|
1
|
-
import { F as FontConfiguration, E as EditorFontError, a as EditorCommand, C as CanResult, Z as ZoomMode } 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-
|
|
3
|
-
import { L as LayoutShapingOptions } from './shaped-measurer-
|
|
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-
|
|
6
|
-
import { A as AutomationCapabilities, a as AutomationHost } from './protocol-
|
|
1
|
+
import { F as FontConfiguration, E as EditorFontError, a as EditorCommand, C as CanResult, Z as ZoomMode } from './editor-CUul9IuY.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-CUul9IuY.cjs';
|
|
3
|
+
import { L as LayoutShapingOptions } from './shaped-measurer-Dx4llNhK.cjs';
|
|
4
|
+
import { P as PaginatedSurfaceOptions, O as OpenPaginatedResult, a as PaginatedSurface, T as TableCommandPlan, D as DocxEditorInstance } from './index-8t44iXTY.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-8t44iXTY.cjs';
|
|
6
|
+
import { A as AutomationCapabilities, a as AutomationHost } from './protocol-B5oSt08P.cjs';
|
|
7
7
|
export { CollectReviewItems, EditorModule, EditorModuleRegistry, ReviewModuleContribution, resolveEditorModules } from './contracts/modules.cjs';
|
|
8
8
|
import { ColorValue } from './contracts/types.cjs';
|
|
9
|
-
import { h as TreeDocColorValue, d as DrawingPositionInput } from './tree-op-types-
|
|
10
|
-
export { i as IMAGE_WRAP_TARGETS, b as ImageWrapTarget } from './tree-op-types-
|
|
11
|
-
import { f as DocumentThemeColorEntry } from './tree-session-
|
|
12
|
-
import { S as SemanticLayout } from './semantic-records-
|
|
13
|
-
export { T as TextMeasurer } from './semantic-records-
|
|
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-
|
|
15
|
-
export { S as SectionProperties } from './semantic-cell-selection
|
|
16
|
-
export { R as ReviewModelInput } from './review-support-
|
|
17
|
-
export { N as NavigationCommand, S as SemanticPosition, a as SemanticSelection } from './semantic-interaction-
|
|
18
|
-
export { F as FieldShadingMode } from './semantic-paint-
|
|
9
|
+
import { h as TreeDocColorValue, d as DrawingPositionInput } from './tree-op-types-DOYNkKqD.cjs';
|
|
10
|
+
export { i as IMAGE_WRAP_TARGETS, b as ImageWrapTarget } from './tree-op-types-DOYNkKqD.cjs';
|
|
11
|
+
import { f as DocumentThemeColorEntry } from './tree-session-CtK3KgFU.cjs';
|
|
12
|
+
import { S as SemanticLayout } from './semantic-records-Dq8SlCY8.cjs';
|
|
13
|
+
export { T as TextMeasurer } from './semantic-records-Dq8SlCY8.cjs';
|
|
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-CSlQmPIm.cjs';
|
|
15
|
+
export { S as SectionProperties } from './semantic-cell-selection-CdNQ-a9-.cjs';
|
|
16
|
+
export { R as ReviewModelInput } from './review-support-CHuJxHmz.cjs';
|
|
17
|
+
export { N as NavigationCommand, S as SemanticPosition, a as SemanticSelection } from './semantic-interaction-DgaWs-5w.cjs';
|
|
18
|
+
export { F as FieldShadingMode } from './semantic-paint-6iIB4fhx.cjs';
|
|
19
19
|
import './contracts/document.cjs';
|
|
20
|
-
import './revision-projection-
|
|
21
|
-
import './ooxml-tree-
|
|
22
|
-
import './
|
|
23
|
-
import './ooxml-package-
|
|
24
|
-
import './custom-node-writes-
|
|
25
|
-
import './hf-references-
|
|
26
|
-
import './note-nodes-
|
|
27
|
-
import './tree-store-
|
|
20
|
+
import './revision-projection-DRZMzoLD.cjs';
|
|
21
|
+
import './ooxml-tree-CG0odFyi.cjs';
|
|
22
|
+
import './note-properties-Dhqkro--.cjs';
|
|
23
|
+
import './ooxml-package-Cmbe_M04.cjs';
|
|
24
|
+
import './custom-node-writes-CIC_-wad.cjs';
|
|
25
|
+
import './hf-references-BPET4tlK.cjs';
|
|
26
|
+
import './note-nodes-B2wWES2L.cjs';
|
|
27
|
+
import './tree-store-Jg-q7fyf.cjs';
|
|
28
28
|
import 'prosemirror-model';
|
|
29
29
|
|
|
30
30
|
interface LayoutShapingInstrumentation {
|
package/dist/editor.d.ts
CHANGED
|
@@ -1,30 +1,30 @@
|
|
|
1
|
-
import { F as FontConfiguration, E as EditorFontError, a as EditorCommand, C as CanResult, Z as ZoomMode } 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-
|
|
3
|
-
import { L as LayoutShapingOptions } from './shaped-measurer-
|
|
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-
|
|
6
|
-
import { A as AutomationCapabilities, a as AutomationHost } from './protocol-
|
|
1
|
+
import { F as FontConfiguration, E as EditorFontError, a as EditorCommand, C as CanResult, Z as ZoomMode } from './editor-DIwctMcU.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-DIwctMcU.js';
|
|
3
|
+
import { L as LayoutShapingOptions } from './shaped-measurer-BT4FqYe9.js';
|
|
4
|
+
import { P as PaginatedSurfaceOptions, O as OpenPaginatedResult, a as PaginatedSurface, T as TableCommandPlan, D as DocxEditorInstance } from './index-BUsYjxF5.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-BUsYjxF5.js';
|
|
6
|
+
import { A as AutomationCapabilities, a as AutomationHost } from './protocol-ooK7PAXz.js';
|
|
7
7
|
export { CollectReviewItems, EditorModule, EditorModuleRegistry, ReviewModuleContribution, resolveEditorModules } from './contracts/modules.js';
|
|
8
8
|
import { ColorValue } from './contracts/types.js';
|
|
9
|
-
import { h as TreeDocColorValue, d as DrawingPositionInput } from './tree-op-types-
|
|
10
|
-
export { i as IMAGE_WRAP_TARGETS, b as ImageWrapTarget } from './tree-op-types-
|
|
11
|
-
import { f as DocumentThemeColorEntry } from './tree-session-
|
|
12
|
-
import { S as SemanticLayout } from './semantic-records-
|
|
13
|
-
export { T as TextMeasurer } from './semantic-records-
|
|
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-
|
|
15
|
-
export { S as SectionProperties } from './semantic-cell-selection-
|
|
16
|
-
export { R as ReviewModelInput } from './review-support-
|
|
17
|
-
export { N as NavigationCommand, S as SemanticPosition, a as SemanticSelection } from './semantic-interaction-
|
|
18
|
-
export { F as FieldShadingMode } from './semantic-paint-
|
|
9
|
+
import { h as TreeDocColorValue, d as DrawingPositionInput } from './tree-op-types-CZw9QhWX.js';
|
|
10
|
+
export { i as IMAGE_WRAP_TARGETS, b as ImageWrapTarget } from './tree-op-types-CZw9QhWX.js';
|
|
11
|
+
import { f as DocumentThemeColorEntry } from './tree-session-CF_EOhTW.js';
|
|
12
|
+
import { S as SemanticLayout } from './semantic-records-B-qbrnp2.js';
|
|
13
|
+
export { T as TextMeasurer } from './semantic-records-B-qbrnp2.js';
|
|
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-e13t-pgy.js';
|
|
15
|
+
export { S as SectionProperties } from './semantic-cell-selection-Dc-_enhm.js';
|
|
16
|
+
export { R as ReviewModelInput } from './review-support-Bl9sN8cv.js';
|
|
17
|
+
export { N as NavigationCommand, S as SemanticPosition, a as SemanticSelection } from './semantic-interaction-CCVwyw2A.js';
|
|
18
|
+
export { F as FieldShadingMode } from './semantic-paint-CKIbFkQ7.js';
|
|
19
19
|
import './contracts/document.js';
|
|
20
|
-
import './revision-projection-
|
|
21
|
-
import './ooxml-tree-
|
|
22
|
-
import './
|
|
23
|
-
import './ooxml-package-
|
|
24
|
-
import './custom-node-writes-
|
|
25
|
-
import './hf-references-
|
|
26
|
-
import './note-nodes-
|
|
27
|
-
import './tree-store-
|
|
20
|
+
import './revision-projection-u4nT52xT.js';
|
|
21
|
+
import './ooxml-tree-CG0odFyi.js';
|
|
22
|
+
import './note-properties-BS66XmcC.js';
|
|
23
|
+
import './ooxml-package-BrxTmTsZ.js';
|
|
24
|
+
import './custom-node-writes-2clI36T9.js';
|
|
25
|
+
import './hf-references-CAp1xTv6.js';
|
|
26
|
+
import './note-nodes-CZQXU6Fg.js';
|
|
27
|
+
import './tree-store-9TaX-L0V.js';
|
|
28
28
|
import 'prosemirror-model';
|
|
29
29
|
|
|
30
30
|
interface LayoutShapingInstrumentation {
|
package/dist/editor.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export{Ea as AUTO_ZOOM_MODE,Ja 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,Fa as FIT_WIDTH_ZOOM_MODE,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,Da as ZOOM_MAX,Ca as ZOOM_MIN,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,Qa as computeImageResizeResult,T as computeMovedImagePosition,S as computeResizedImageExtentEmu,Ka as createBrowserAutomationHost,Ia as createDocxEditor,i as createFontSource,Ra as createImageOverlayScrollPort,b as createLayoutShaping,G as cropPercentFromCropPermille,E as cropPercentFromPermille,B as cropPercentFromSourceCrop,F as cropPermilleFromCropPercent,D as cropPermilleFromPercent,Na as cssPixelsToLayoutPoints,ua as defaultChromeGroups,Y as defaultTableLabel,c as disposeLayoutShaping,t as dragIndent,R as emuToOverlayPoints,L as executeImageCommand,Sa as finalizeImageOverlayInteraction,va as formattingBarChromeGroups,l as generateRulerTicks,r as handlePosition,U as isStaleImageInteractionCommit,Z as isTableChromeSlot,Ma as layoutPointsToCssPixels,h as loadFonts,y as lowerColorValueForBorder,z as lowerColorValueForFill,Ba as mountPaginatedSurface,Oa as overlayFrameToSheetCssPixels,Q as pointsToEmu,da as probeTableChromeCommand,Pa as resizePreservesAspect,A as resolveColorValueToCss,x as resolveThemeColorHex,Ga as resolveZoomMode,m as rulerPageBox,pa as runSave,na as runTableChromeCommand,ra as runTableCommand,oa as runToolbarCommand,Ha as sameZoomMode,P as selectedDrawingOverlayTargetOf,I as selectedImageStateOf,s as snapTwips,C as sourceCropFromCropPercent,Aa as surfaceExtent,La 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{Ea as AUTO_ZOOM_MODE,Ja 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,Fa as FIT_WIDTH_ZOOM_MODE,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,Da as ZOOM_MAX,Ca as ZOOM_MIN,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,Qa as computeImageResizeResult,T as computeMovedImagePosition,S as computeResizedImageExtentEmu,Ka as createBrowserAutomationHost,Ia as createDocxEditor,i as createFontSource,Ra as createImageOverlayScrollPort,b as createLayoutShaping,G as cropPercentFromCropPermille,E as cropPercentFromPermille,B as cropPercentFromSourceCrop,F as cropPermilleFromCropPercent,D as cropPermilleFromPercent,Na as cssPixelsToLayoutPoints,ua as defaultChromeGroups,Y as defaultTableLabel,c as disposeLayoutShaping,t as dragIndent,R as emuToOverlayPoints,L as executeImageCommand,Sa as finalizeImageOverlayInteraction,va as formattingBarChromeGroups,l as generateRulerTicks,r as handlePosition,U as isStaleImageInteractionCommit,Z as isTableChromeSlot,Ma as layoutPointsToCssPixels,h as loadFonts,y as lowerColorValueForBorder,z as lowerColorValueForFill,Ba as mountPaginatedSurface,Oa as overlayFrameToSheetCssPixels,Q as pointsToEmu,da as probeTableChromeCommand,Pa as resizePreservesAspect,A as resolveColorValueToCss,x as resolveThemeColorHex,Ga as resolveZoomMode,m as rulerPageBox,pa as runSave,na as runTableChromeCommand,ra as runTableCommand,oa as runToolbarCommand,Ha as sameZoomMode,P as selectedDrawingOverlayTargetOf,I as selectedImageStateOf,s as snapTwips,C as sourceCropFromCropPercent,Aa as surfaceExtent,La 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-QUZM6LWQ.js';import'./chunk-2QIA75K3.js';import'./chunk-T252F4US.js';import'./chunk-45FL7KH4.js';import'./chunk-32NXPFYL.js';import'./chunk-UVIUNAQ6.js';import'./chunk-YTZIGUXT.js';export{E as DEFAULT_IMAGE_RESOURCE_LIMITS,vf as DRAWING_REL_FROM_H,wf as DRAWING_REL_FROM_V,Xa as IMAGE_WRAP_TARGETS,yf as positionInputFromPropertiesCommand,xf as propertiesCommandHasPositionFields,F as resolveImageResourceLimits,ob as resolveSvgIntrinsicSize,kb as sniffImageMime,uf as validateDrawingPositionInput,pb as validateRasterHeader,zf as validateSetImagePositionCommand}from'./chunk-LJIX4ZDF.js';import'./chunk-GOEBQ26R.js';export{a as resolveEditorModules}from'./chunk-GQQOL4PV.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { e as OoxmlPart, O as OoxmlNode, a as OoxmlElement } from './ooxml-tree-
|
|
2
|
-
import { O as OoxmlPackage } from './ooxml-package-
|
|
1
|
+
import { e as OoxmlPart, O as OoxmlNode, a as OoxmlElement } from './ooxml-tree-CG0odFyi.cjs';
|
|
2
|
+
import { O as OoxmlPackage } from './ooxml-package-Cmbe_M04.cjs';
|
|
3
3
|
|
|
4
4
|
/** `w:headerReference w:type` vocabulary (ECMA-376 §17.10.5): default, first page, even pages. */
|
|
5
5
|
type HeaderFooterVariant = 'default' | 'first' | 'even';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { e as OoxmlPart, O as OoxmlNode, a as OoxmlElement } from './ooxml-tree-
|
|
2
|
-
import { O as OoxmlPackage } from './ooxml-package-
|
|
1
|
+
import { e as OoxmlPart, O as OoxmlNode, a as OoxmlElement } from './ooxml-tree-CG0odFyi.js';
|
|
2
|
+
import { O as OoxmlPackage } from './ooxml-package-BrxTmTsZ.js';
|
|
3
3
|
|
|
4
4
|
/** `w:headerReference w:type` vocabulary (ECMA-376 §17.10.5): default, first page, even pages. */
|
|
5
5
|
type HeaderFooterVariant = 'default' | 'first' | 'even';
|
|
@@ -1,5 +1,13 @@
|
|
|
1
|
-
import { D as DrawingProjection } from './tree-op-types-
|
|
2
|
-
import { O as OoxmlPackage } from './ooxml-package-
|
|
1
|
+
import { D as DrawingProjection } from './tree-op-types-DOYNkKqD.cjs';
|
|
2
|
+
import { O as OoxmlPackage } from './ooxml-package-Cmbe_M04.cjs';
|
|
3
|
+
|
|
4
|
+
/** Opaque handle — bytes are reachable only through {@link mintValidatedImageBytes}. */
|
|
5
|
+
interface ValidatedImageBytesHandle {
|
|
6
|
+
readonly registryId: number;
|
|
7
|
+
readonly resourceKey: string;
|
|
8
|
+
readonly contentId: string;
|
|
9
|
+
readonly generation: number;
|
|
10
|
+
}
|
|
3
11
|
|
|
4
12
|
/**
|
|
5
13
|
* The engine's trust-boundary caps: recursion depth, element counts, and the rest.
|
|
@@ -55,14 +63,6 @@ declare const DEFAULT_IMAGE_RESOURCE_LIMITS: ImageResourceLimits;
|
|
|
55
63
|
/** Resolve caller overrides into frozen image limits; hard ceilings cannot be raised. */
|
|
56
64
|
declare function resolveImageResourceLimits(overrides?: Partial<ImageResourceLimits>): ImageResourceLimits;
|
|
57
65
|
|
|
58
|
-
/** Opaque handle — bytes are reachable only through {@link mintValidatedImageBytes}. */
|
|
59
|
-
interface ValidatedImageBytesHandle {
|
|
60
|
-
readonly registryId: number;
|
|
61
|
-
readonly resourceKey: string;
|
|
62
|
-
readonly contentId: string;
|
|
63
|
-
readonly generation: number;
|
|
64
|
-
}
|
|
65
|
-
|
|
66
66
|
/**
|
|
67
67
|
* Raster media the decode port measures and any authoring path may write.
|
|
68
68
|
*
|
|
@@ -1,5 +1,13 @@
|
|
|
1
|
-
import { D as DrawingProjection } from './tree-op-types-
|
|
2
|
-
import { O as OoxmlPackage } from './ooxml-package-
|
|
1
|
+
import { D as DrawingProjection } from './tree-op-types-CZw9QhWX.js';
|
|
2
|
+
import { O as OoxmlPackage } from './ooxml-package-BrxTmTsZ.js';
|
|
3
|
+
|
|
4
|
+
/** Opaque handle — bytes are reachable only through {@link mintValidatedImageBytes}. */
|
|
5
|
+
interface ValidatedImageBytesHandle {
|
|
6
|
+
readonly registryId: number;
|
|
7
|
+
readonly resourceKey: string;
|
|
8
|
+
readonly contentId: string;
|
|
9
|
+
readonly generation: number;
|
|
10
|
+
}
|
|
3
11
|
|
|
4
12
|
/**
|
|
5
13
|
* The engine's trust-boundary caps: recursion depth, element counts, and the rest.
|
|
@@ -55,14 +63,6 @@ declare const DEFAULT_IMAGE_RESOURCE_LIMITS: ImageResourceLimits;
|
|
|
55
63
|
/** Resolve caller overrides into frozen image limits; hard ceilings cannot be raised. */
|
|
56
64
|
declare function resolveImageResourceLimits(overrides?: Partial<ImageResourceLimits>): ImageResourceLimits;
|
|
57
65
|
|
|
58
|
-
/** Opaque handle — bytes are reachable only through {@link mintValidatedImageBytes}. */
|
|
59
|
-
interface ValidatedImageBytesHandle {
|
|
60
|
-
readonly registryId: number;
|
|
61
|
-
readonly resourceKey: string;
|
|
62
|
-
readonly contentId: string;
|
|
63
|
-
readonly generation: number;
|
|
64
|
-
}
|
|
65
|
-
|
|
66
66
|
/**
|
|
67
67
|
* Raster media the decode port measures and any authoring path may write.
|
|
68
68
|
*
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import { i as FontSource, j as FontSourceSubstitution, F as FontConfiguration, k as FontFaceRequest, I as ImageContext, D as DocumentSource, Z as ZoomMode, 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-
|
|
2
|
-
import { T as TreeDocOp, d as DrawingPositionInput,
|
|
3
|
-
import { b as ImageDecodePort, S as SupportedImageMime } from './image-resources-
|
|
4
|
-
import { R as RevisionDisplayMode } from './revision-projection-
|
|
5
|
-
import './review-support-
|
|
6
|
-
import { a as SemanticSelection, S as SemanticPosition, N as NavigationCommand } from './semantic-interaction-
|
|
7
|
-
import { R as ResolvedFootnoteProperties, a as ResolvedEndnoteProperties, A as AuthoredNoteProperties, l as ReviewRevisionKind } from './
|
|
8
|
-
import { S as SemanticLayout, C as ContentControlBoundaryRecord, T as TextMeasurer } from './semantic-records-
|
|
9
|
-
import { S as StoryScope, A as ApplyImagePropertiesInput, d as ImageIntentResult, c as InsertImageInput, B as BookmarkIndex } from './custom-node-writes-
|
|
10
|
-
import { C as CellSelection, S as SectionProperties } from './semantic-cell-selection
|
|
1
|
+
import { i as FontSource, j as FontSourceSubstitution, F as FontConfiguration, k as FontFaceRequest, I as ImageContext, D as DocumentSource, Z as ZoomMode, 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-CUul9IuY.cjs';
|
|
2
|
+
import { T as TreeDocOp, d as DrawingPositionInput, l as DrawingTransform, j as DrawingTreeDocOp } from './tree-op-types-DOYNkKqD.cjs';
|
|
3
|
+
import { b as ImageDecodePort, S as SupportedImageMime } from './image-resources-CSlQmPIm.cjs';
|
|
4
|
+
import { R as RevisionDisplayMode } from './revision-projection-DRZMzoLD.cjs';
|
|
5
|
+
import './review-support-CHuJxHmz.cjs';
|
|
6
|
+
import { a as SemanticSelection, S as SemanticPosition, N as NavigationCommand } from './semantic-interaction-DgaWs-5w.cjs';
|
|
7
|
+
import { R as ResolvedFootnoteProperties, a as ResolvedEndnoteProperties, A as AuthoredNoteProperties, l as ReviewRevisionKind } from './note-properties-Dhqkro--.cjs';
|
|
8
|
+
import { S as SemanticLayout, C as ContentControlBoundaryRecord, T as TextMeasurer } from './semantic-records-Dq8SlCY8.cjs';
|
|
9
|
+
import { S as StoryScope, A as ApplyImagePropertiesInput, d as ImageIntentResult, c as InsertImageInput, B as BookmarkIndex } from './custom-node-writes-CIC_-wad.cjs';
|
|
10
|
+
import { C as CellSelection, S as SectionProperties } from './semantic-cell-selection-CdNQ-a9-.cjs';
|
|
11
11
|
import { EditorModule, ReviewModuleContribution } from './contracts/modules.cjs';
|
|
12
12
|
import { Unsubscribe, ExecResult, IndentFormatting } from './contracts/types.cjs';
|
|
13
|
-
import { F as FieldShadingMode, a as DrawingPaintStrings } from './semantic-paint-
|
|
14
|
-
import { T as TreeDocxSession, a as TreeApplyResult } from './tree-session-
|
|
13
|
+
import { F as FieldShadingMode, a as DrawingPaintStrings } from './semantic-paint-6iIB4fhx.cjs';
|
|
14
|
+
import { T as TreeDocxSession, a as TreeApplyResult } from './tree-session-CtK3KgFU.cjs';
|
|
15
15
|
import './contracts/document.cjs';
|
|
16
16
|
|
|
17
17
|
/**
|
|
@@ -1004,6 +1004,14 @@ interface HyperlinkOps {
|
|
|
1004
1004
|
linksInCaretParagraph(): SurfaceHyperlink[];
|
|
1005
1005
|
/** The link the caret sits in, or null. */
|
|
1006
1006
|
linkAtCaret(): SurfaceHyperlink | null;
|
|
1007
|
+
/**
|
|
1008
|
+
* The FIELD link whose painted atom the caret sits on, or null.
|
|
1009
|
+
*
|
|
1010
|
+
* Separate from {@link linkAtCaret} on purpose: a `HYPERLINK` field is not a tree node, so
|
|
1011
|
+
* the typed lane never returns one, and link-create must not mistake a field atom for an
|
|
1012
|
+
* editable link. Resolved from the layout projection, boundary-inclusive.
|
|
1013
|
+
*/
|
|
1014
|
+
fieldLinkAtCaret(): SurfaceHyperlink | null;
|
|
1007
1015
|
/** The link with this node id, or null. */
|
|
1008
1016
|
linkById(linkId: string): SurfaceHyperlink | null;
|
|
1009
1017
|
/**
|
|
@@ -1111,8 +1119,20 @@ interface DocxEditorConfig {
|
|
|
1111
1119
|
* reason. See {@link EditorModule}.
|
|
1112
1120
|
*/
|
|
1113
1121
|
modules?: readonly EditorModule[];
|
|
1114
|
-
/**
|
|
1115
|
-
|
|
1122
|
+
/**
|
|
1123
|
+
* The mode the editor opens in — one prop, matching the toolbar's three-state pill.
|
|
1124
|
+
*
|
|
1125
|
+
* - `'edit'` — opens in editing, even when the document's `w:trackRevisions` asks for
|
|
1126
|
+
* tracked changes; the reader still moves between modes from the toolbar.
|
|
1127
|
+
* - `'suggesting'` — opens in suggesting. It needs what suggesting always needs — a
|
|
1128
|
+
* review module and an {@link DocxEditorConfig.author} — and falls back to editing
|
|
1129
|
+
* with the reason published when either is missing.
|
|
1130
|
+
* - `'view'` — read-only: every mutating command through the facade is refused, and
|
|
1131
|
+
* the toolbar cannot leave viewing.
|
|
1132
|
+
* - Omitted — the DOCUMENT decides: a package carrying `w:trackRevisions` opens in
|
|
1133
|
+
* suggesting, everything else in editing.
|
|
1134
|
+
*/
|
|
1135
|
+
mode?: 'edit' | 'view' | 'suggesting';
|
|
1116
1136
|
/** Override raster decode for insert/replace image commands; defaults to browser/headless. */
|
|
1117
1137
|
imageDecodePort?: ImageDecodePort;
|
|
1118
1138
|
/**
|
|
@@ -1827,6 +1847,21 @@ interface PaginatedSurface {
|
|
|
1827
1847
|
/** One-based page at the caret, or at the centre of the mounted viewport. */
|
|
1828
1848
|
currentPage(mode?: 'viewport' | 'caret'): number;
|
|
1829
1849
|
type(text: string): void;
|
|
1850
|
+
/**
|
|
1851
|
+
* Queue plain typed text for a batched commit at the caret.
|
|
1852
|
+
*
|
|
1853
|
+
* The DOM input lane's entry: keystrokes arriving in a burst append here and land
|
|
1854
|
+
* through ONE `type()` call — one transaction, one undo step, one layout flush —
|
|
1855
|
+
* when the input queue drains. Every surface-level mutation, selection or scope
|
|
1856
|
+
* move, geometry read, composition start and teardown flushes the buffer first.
|
|
1857
|
+
* Code reading `session` directly (its text or its bytes) sits BELOW the buffer
|
|
1858
|
+
* and must call {@link flushPendingInput} first, as the facade's save/detach
|
|
1859
|
+
* paths do. `type()` itself stays synchronous; automation and commands should
|
|
1860
|
+
* keep calling it directly.
|
|
1861
|
+
*/
|
|
1862
|
+
enqueueType(text: string): void;
|
|
1863
|
+
/** Land any queued typed text now, as its own transaction. No-op when empty. */
|
|
1864
|
+
flushPendingInput(): void;
|
|
1830
1865
|
/**
|
|
1831
1866
|
* Insert text whose newlines are PARAGRAPH BOUNDARIES, in one commit.
|
|
1832
1867
|
*
|
|
@@ -2168,6 +2203,36 @@ interface PaginatedSurface {
|
|
|
2168
2203
|
* while the text stayed highlighted.
|
|
2169
2204
|
*/
|
|
2170
2205
|
activeReviewKey(): string | null;
|
|
2206
|
+
/**
|
|
2207
|
+
* Open THIS item, named by key, for as long as `selection` stays the live one.
|
|
2208
|
+
*
|
|
2209
|
+
* Without it the caret is the only evidence of which card is open, and a caret cannot name a
|
|
2210
|
+
* card when two cards cover exactly the same characters: `w:ins` wrapping `w:del` — content
|
|
2211
|
+
* one reviewer added and another struck — gives the insertion and the deletion one identical
|
|
2212
|
+
* range, and every click on either card classified back to whichever the queue happened to
|
|
2213
|
+
* list first. The reader clicked "Deleted" and watched "Added" light up.
|
|
2214
|
+
*
|
|
2215
|
+
* A key, not a position, because the position is precisely what is ambiguous. It holds only
|
|
2216
|
+
* while the selection matches; a pointer or keyboard move hands the answer back to the caret,
|
|
2217
|
+
* which is what lets the reader step out of a card by clicking away from it.
|
|
2218
|
+
*
|
|
2219
|
+
* `selection` is what activation wants installed, and it is installed HERE rather than by a
|
|
2220
|
+
* `setSelection` of the caller's own so that the pin is up before anything is published. The
|
|
2221
|
+
* other order repainted the bands and reported state while the caret was still the only
|
|
2222
|
+
* evidence, so a host saw the wrong twin active for one frame and then a correction. Omit it
|
|
2223
|
+
* to pin against the live selection, which is what a header or note scope has already set.
|
|
2224
|
+
*/
|
|
2225
|
+
activateReview(key: string, selection?: SemanticSelection): void;
|
|
2226
|
+
/**
|
|
2227
|
+
* The key {@link activateReview} pinned, or null once its selection is no longer live.
|
|
2228
|
+
*
|
|
2229
|
+
* Exists so nothing outside the surface keeps its own copy of "the selection came from
|
|
2230
|
+
* opening a card". `selectionPlacement` needs that fact to stay quiet about offering a
|
|
2231
|
+
* comment on text the reader only selected by opening a card over it, and the copy it used to
|
|
2232
|
+
* keep was set on one of activation's three branches, so a header card offered to comment on
|
|
2233
|
+
* itself.
|
|
2234
|
+
*/
|
|
2235
|
+
activatedReviewKey(): string | null;
|
|
2171
2236
|
/**
|
|
2172
2237
|
* Close the open item until the caret next moves.
|
|
2173
2238
|
*
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import { i as FontSource, j as FontSourceSubstitution, F as FontConfiguration, k as FontFaceRequest, I as ImageContext, D as DocumentSource, Z as ZoomMode, 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-
|
|
2
|
-
import { T as TreeDocOp, d as DrawingPositionInput,
|
|
3
|
-
import { b as ImageDecodePort, S as SupportedImageMime } from './image-resources-
|
|
4
|
-
import { R as RevisionDisplayMode } from './revision-projection-
|
|
5
|
-
import './review-support-
|
|
6
|
-
import { a as SemanticSelection, S as SemanticPosition, N as NavigationCommand } from './semantic-interaction-
|
|
7
|
-
import { R as ResolvedFootnoteProperties, a as ResolvedEndnoteProperties, A as AuthoredNoteProperties, l as ReviewRevisionKind } from './
|
|
8
|
-
import { S as SemanticLayout, C as ContentControlBoundaryRecord, T as TextMeasurer } from './semantic-records-
|
|
9
|
-
import { S as StoryScope, A as ApplyImagePropertiesInput, d as ImageIntentResult, c as InsertImageInput, B as BookmarkIndex } from './custom-node-writes-
|
|
10
|
-
import { C as CellSelection, S as SectionProperties } from './semantic-cell-selection-
|
|
1
|
+
import { i as FontSource, j as FontSourceSubstitution, F as FontConfiguration, k as FontFaceRequest, I as ImageContext, D as DocumentSource, Z as ZoomMode, 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-DIwctMcU.js';
|
|
2
|
+
import { T as TreeDocOp, d as DrawingPositionInput, l as DrawingTransform, j as DrawingTreeDocOp } from './tree-op-types-CZw9QhWX.js';
|
|
3
|
+
import { b as ImageDecodePort, S as SupportedImageMime } from './image-resources-e13t-pgy.js';
|
|
4
|
+
import { R as RevisionDisplayMode } from './revision-projection-u4nT52xT.js';
|
|
5
|
+
import './review-support-Bl9sN8cv.js';
|
|
6
|
+
import { a as SemanticSelection, S as SemanticPosition, N as NavigationCommand } from './semantic-interaction-CCVwyw2A.js';
|
|
7
|
+
import { R as ResolvedFootnoteProperties, a as ResolvedEndnoteProperties, A as AuthoredNoteProperties, l as ReviewRevisionKind } from './note-properties-BS66XmcC.js';
|
|
8
|
+
import { S as SemanticLayout, C as ContentControlBoundaryRecord, T as TextMeasurer } from './semantic-records-B-qbrnp2.js';
|
|
9
|
+
import { S as StoryScope, A as ApplyImagePropertiesInput, d as ImageIntentResult, c as InsertImageInput, B as BookmarkIndex } from './custom-node-writes-2clI36T9.js';
|
|
10
|
+
import { C as CellSelection, S as SectionProperties } from './semantic-cell-selection-Dc-_enhm.js';
|
|
11
11
|
import { EditorModule, ReviewModuleContribution } from './contracts/modules.js';
|
|
12
12
|
import { Unsubscribe, ExecResult, IndentFormatting } from './contracts/types.js';
|
|
13
|
-
import { F as FieldShadingMode, a as DrawingPaintStrings } from './semantic-paint-
|
|
14
|
-
import { T as TreeDocxSession, a as TreeApplyResult } from './tree-session-
|
|
13
|
+
import { F as FieldShadingMode, a as DrawingPaintStrings } from './semantic-paint-CKIbFkQ7.js';
|
|
14
|
+
import { T as TreeDocxSession, a as TreeApplyResult } from './tree-session-CF_EOhTW.js';
|
|
15
15
|
import './contracts/document.js';
|
|
16
16
|
|
|
17
17
|
/**
|
|
@@ -1004,6 +1004,14 @@ interface HyperlinkOps {
|
|
|
1004
1004
|
linksInCaretParagraph(): SurfaceHyperlink[];
|
|
1005
1005
|
/** The link the caret sits in, or null. */
|
|
1006
1006
|
linkAtCaret(): SurfaceHyperlink | null;
|
|
1007
|
+
/**
|
|
1008
|
+
* The FIELD link whose painted atom the caret sits on, or null.
|
|
1009
|
+
*
|
|
1010
|
+
* Separate from {@link linkAtCaret} on purpose: a `HYPERLINK` field is not a tree node, so
|
|
1011
|
+
* the typed lane never returns one, and link-create must not mistake a field atom for an
|
|
1012
|
+
* editable link. Resolved from the layout projection, boundary-inclusive.
|
|
1013
|
+
*/
|
|
1014
|
+
fieldLinkAtCaret(): SurfaceHyperlink | null;
|
|
1007
1015
|
/** The link with this node id, or null. */
|
|
1008
1016
|
linkById(linkId: string): SurfaceHyperlink | null;
|
|
1009
1017
|
/**
|
|
@@ -1111,8 +1119,20 @@ interface DocxEditorConfig {
|
|
|
1111
1119
|
* reason. See {@link EditorModule}.
|
|
1112
1120
|
*/
|
|
1113
1121
|
modules?: readonly EditorModule[];
|
|
1114
|
-
/**
|
|
1115
|
-
|
|
1122
|
+
/**
|
|
1123
|
+
* The mode the editor opens in — one prop, matching the toolbar's three-state pill.
|
|
1124
|
+
*
|
|
1125
|
+
* - `'edit'` — opens in editing, even when the document's `w:trackRevisions` asks for
|
|
1126
|
+
* tracked changes; the reader still moves between modes from the toolbar.
|
|
1127
|
+
* - `'suggesting'` — opens in suggesting. It needs what suggesting always needs — a
|
|
1128
|
+
* review module and an {@link DocxEditorConfig.author} — and falls back to editing
|
|
1129
|
+
* with the reason published when either is missing.
|
|
1130
|
+
* - `'view'` — read-only: every mutating command through the facade is refused, and
|
|
1131
|
+
* the toolbar cannot leave viewing.
|
|
1132
|
+
* - Omitted — the DOCUMENT decides: a package carrying `w:trackRevisions` opens in
|
|
1133
|
+
* suggesting, everything else in editing.
|
|
1134
|
+
*/
|
|
1135
|
+
mode?: 'edit' | 'view' | 'suggesting';
|
|
1116
1136
|
/** Override raster decode for insert/replace image commands; defaults to browser/headless. */
|
|
1117
1137
|
imageDecodePort?: ImageDecodePort;
|
|
1118
1138
|
/**
|
|
@@ -1827,6 +1847,21 @@ interface PaginatedSurface {
|
|
|
1827
1847
|
/** One-based page at the caret, or at the centre of the mounted viewport. */
|
|
1828
1848
|
currentPage(mode?: 'viewport' | 'caret'): number;
|
|
1829
1849
|
type(text: string): void;
|
|
1850
|
+
/**
|
|
1851
|
+
* Queue plain typed text for a batched commit at the caret.
|
|
1852
|
+
*
|
|
1853
|
+
* The DOM input lane's entry: keystrokes arriving in a burst append here and land
|
|
1854
|
+
* through ONE `type()` call — one transaction, one undo step, one layout flush —
|
|
1855
|
+
* when the input queue drains. Every surface-level mutation, selection or scope
|
|
1856
|
+
* move, geometry read, composition start and teardown flushes the buffer first.
|
|
1857
|
+
* Code reading `session` directly (its text or its bytes) sits BELOW the buffer
|
|
1858
|
+
* and must call {@link flushPendingInput} first, as the facade's save/detach
|
|
1859
|
+
* paths do. `type()` itself stays synchronous; automation and commands should
|
|
1860
|
+
* keep calling it directly.
|
|
1861
|
+
*/
|
|
1862
|
+
enqueueType(text: string): void;
|
|
1863
|
+
/** Land any queued typed text now, as its own transaction. No-op when empty. */
|
|
1864
|
+
flushPendingInput(): void;
|
|
1830
1865
|
/**
|
|
1831
1866
|
* Insert text whose newlines are PARAGRAPH BOUNDARIES, in one commit.
|
|
1832
1867
|
*
|
|
@@ -2168,6 +2203,36 @@ interface PaginatedSurface {
|
|
|
2168
2203
|
* while the text stayed highlighted.
|
|
2169
2204
|
*/
|
|
2170
2205
|
activeReviewKey(): string | null;
|
|
2206
|
+
/**
|
|
2207
|
+
* Open THIS item, named by key, for as long as `selection` stays the live one.
|
|
2208
|
+
*
|
|
2209
|
+
* Without it the caret is the only evidence of which card is open, and a caret cannot name a
|
|
2210
|
+
* card when two cards cover exactly the same characters: `w:ins` wrapping `w:del` — content
|
|
2211
|
+
* one reviewer added and another struck — gives the insertion and the deletion one identical
|
|
2212
|
+
* range, and every click on either card classified back to whichever the queue happened to
|
|
2213
|
+
* list first. The reader clicked "Deleted" and watched "Added" light up.
|
|
2214
|
+
*
|
|
2215
|
+
* A key, not a position, because the position is precisely what is ambiguous. It holds only
|
|
2216
|
+
* while the selection matches; a pointer or keyboard move hands the answer back to the caret,
|
|
2217
|
+
* which is what lets the reader step out of a card by clicking away from it.
|
|
2218
|
+
*
|
|
2219
|
+
* `selection` is what activation wants installed, and it is installed HERE rather than by a
|
|
2220
|
+
* `setSelection` of the caller's own so that the pin is up before anything is published. The
|
|
2221
|
+
* other order repainted the bands and reported state while the caret was still the only
|
|
2222
|
+
* evidence, so a host saw the wrong twin active for one frame and then a correction. Omit it
|
|
2223
|
+
* to pin against the live selection, which is what a header or note scope has already set.
|
|
2224
|
+
*/
|
|
2225
|
+
activateReview(key: string, selection?: SemanticSelection): void;
|
|
2226
|
+
/**
|
|
2227
|
+
* The key {@link activateReview} pinned, or null once its selection is no longer live.
|
|
2228
|
+
*
|
|
2229
|
+
* Exists so nothing outside the surface keeps its own copy of "the selection came from
|
|
2230
|
+
* opening a card". `selectionPlacement` needs that fact to stay quiet about offering a
|
|
2231
|
+
* comment on text the reader only selected by opening a card over it, and the copy it used to
|
|
2232
|
+
* keep was set on one of activation's three branches, so a header card offered to comment on
|
|
2233
|
+
* itself.
|
|
2234
|
+
*/
|
|
2235
|
+
activatedReviewKey(): string | null;
|
|
2171
2236
|
/**
|
|
2172
2237
|
* Close the open item until the caret next moves.
|
|
2173
2238
|
*
|
package/dist/index.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';var
|
|
1
|
+
'use strict';var chunkL2GMLEHX_cjs=require('./chunk-L2GMLEHX.cjs');require('./chunk-7GYF33B5.cjs'),require('./chunk-3C533HSQ.cjs'),require('./chunk-3FRSOOND.cjs'),require('./chunk-H3DZP4LE.cjs'),require('./chunk-IJ4V3LGV.cjs'),require('./chunk-JDHTCMFA.cjs'),require('./chunk-2GSRLGUI.cjs'),require('./chunk-OHJQ7GPZ.cjs'),require('./chunk-7VQ7YLW3.cjs');Object.defineProperty(exports,"CHROME_GROUPS",{enumerable:true,get:function(){return chunkL2GMLEHX_cjs.sa}});Object.defineProperty(exports,"CHROME_MENUS",{enumerable:true,get:function(){return chunkL2GMLEHX_cjs.wa}});Object.defineProperty(exports,"WORD_DEFAULT_FONT",{enumerable:true,get:function(){return chunkL2GMLEHX_cjs.e}});Object.defineProperty(exports,"blankDocumentBytes",{enumerable:true,get:function(){return chunkL2GMLEHX_cjs.g}});Object.defineProperty(exports,"chromeMenuSlots",{enumerable:true,get:function(){return chunkL2GMLEHX_cjs.xa}});Object.defineProperty(exports,"commandForSlot",{enumerable:true,get:function(){return chunkL2GMLEHX_cjs.ha}});Object.defineProperty(exports,"commandForSlotValue",{enumerable:true,get:function(){return chunkL2GMLEHX_cjs.ja}});Object.defineProperty(exports,"composeFontConfiguration",{enumerable:true,get:function(){return chunkL2GMLEHX_cjs.f}});Object.defineProperty(exports,"createDocxEditor",{enumerable:true,get:function(){return chunkL2GMLEHX_cjs.Ia}});Object.defineProperty(exports,"createFontSource",{enumerable:true,get:function(){return chunkL2GMLEHX_cjs.i}});Object.defineProperty(exports,"loadFonts",{enumerable:true,get:function(){return chunkL2GMLEHX_cjs.h}});Object.defineProperty(exports,"runToolbarCommand",{enumerable:true,get:function(){return chunkL2GMLEHX_cjs.oa}});Object.defineProperty(exports,"toolbarCommandState",{enumerable:true,get:function(){return chunkL2GMLEHX_cjs.la}});
|
package/dist/index.d.cts
CHANGED
|
@@ -1,22 +1,22 @@
|
|
|
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, _ as NotePropertiesSide, $ as NotePropertiesState, a0 as PageSetup, a1 as ResolvedNoteNumbering, a2 as ReviewActivationOptions, a3 as ReviewCommentPlacement, a4 as ReviewCustomPlacement, a5 as ReviewItemPlacement, a6 as ReviewItemPlacementBase, a7 as ReviewItemQuery, a8 as ReviewRevisionPlacement, S as SelectedImageState, a9 as SemanticIdentity, aa as SemanticTarget, T as TableBorderEdgeTarget, m as TableBorderSpec, n as TableBorderStyle, ab as TableBorderTarget, ac as TableCellVerticalAlignment, ad as TableColumnDividerResizeTarget, ae as TableColumnOccurrenceTarget, o as TableContext, af as TableRightEdgeResizeTarget, ag as TableRowOccurrenceTarget, ah as TextMatch, V as ViewScope, ai as ZoomFitTarget, Z as ZoomMode } from './editor-
|
|
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-
|
|
3
|
-
export { I as ImageResourceState, P as PreservedImageMime, R as RenderableImageMime, S as SupportedImageMime, V as ValidatedImageBytesHandle, a as VectorImageMime } from './image-resources-
|
|
4
|
-
export { R as RevisionDisplayMode } from './revision-projection-
|
|
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-
|
|
6
|
-
export { S as SemanticPosition, a as SemanticSelection } from './semantic-interaction-
|
|
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-
|
|
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, _ as NotePropertiesSide, $ as NotePropertiesState, a0 as PageSetup, a1 as ResolvedNoteNumbering, a2 as ReviewActivationOptions, a3 as ReviewCommentPlacement, a4 as ReviewCustomPlacement, a5 as ReviewItemPlacement, a6 as ReviewItemPlacementBase, a7 as ReviewItemQuery, a8 as ReviewRevisionPlacement, S as SelectedImageState, a9 as SemanticIdentity, aa as SemanticTarget, T as TableBorderEdgeTarget, m as TableBorderSpec, n as TableBorderStyle, ab as TableBorderTarget, ac as TableCellVerticalAlignment, ad as TableColumnDividerResizeTarget, ae as TableColumnOccurrenceTarget, o as TableContext, af as TableRightEdgeResizeTarget, ag as TableRowOccurrenceTarget, ah as TextMatch, V as ViewScope, ai as ZoomFitTarget, Z as ZoomMode } from './editor-CUul9IuY.cjs';
|
|
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-DOYNkKqD.cjs';
|
|
3
|
+
export { I as ImageResourceState, P as PreservedImageMime, R as RenderableImageMime, S as SupportedImageMime, V as ValidatedImageBytesHandle, a as VectorImageMime } from './image-resources-CSlQmPIm.cjs';
|
|
4
|
+
export { R as RevisionDisplayMode } from './revision-projection-DRZMzoLD.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-CHuJxHmz.cjs';
|
|
6
|
+
export { S as SemanticPosition, a as SemanticSelection } from './semantic-interaction-DgaWs-5w.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-8t44iXTY.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';
|
|
11
|
-
import './ooxml-tree-
|
|
12
|
-
import './ooxml-package-
|
|
13
|
-
import './semantic-records-
|
|
14
|
-
import './
|
|
15
|
-
import './custom-node-writes-
|
|
16
|
-
import './hf-references-
|
|
17
|
-
import './note-nodes-
|
|
18
|
-
import './tree-store-
|
|
19
|
-
import './semantic-cell-selection
|
|
20
|
-
import './semantic-paint-
|
|
21
|
-
import './tree-session-
|
|
11
|
+
import './ooxml-tree-CG0odFyi.cjs';
|
|
12
|
+
import './ooxml-package-Cmbe_M04.cjs';
|
|
13
|
+
import './semantic-records-Dq8SlCY8.cjs';
|
|
14
|
+
import './note-properties-Dhqkro--.cjs';
|
|
15
|
+
import './custom-node-writes-CIC_-wad.cjs';
|
|
16
|
+
import './hf-references-BPET4tlK.cjs';
|
|
17
|
+
import './note-nodes-B2wWES2L.cjs';
|
|
18
|
+
import './tree-store-Jg-q7fyf.cjs';
|
|
19
|
+
import './semantic-cell-selection-CdNQ-a9-.cjs';
|
|
20
|
+
import './semantic-paint-6iIB4fhx.cjs';
|
|
21
|
+
import './tree-session-CtK3KgFU.cjs';
|
|
22
22
|
import 'prosemirror-model';
|